Hierarchy (view full)

Constructors

Properties

dirty: boolean
hidden: BooleanField<void>

Следует использовать setHidden и isHidden

@universe-platform/record 2.0.0

modelId: number
name: StringField<void>
observabilitySet: Set<ReactiveProp>
onChangeDirty: (() => void)
onValidation: ((_validationResult: IValidationResult) => void)
phantom: boolean
supplementary: ArrayField<any, void>
validationResult: IValidationResult
value: AnyField<any>

Accessors

  • get isHidden(): boolean
  • Returns boolean

  • get isValueEmpty(): boolean
  • Returns boolean

Methods

  • This method is called at the final stage of model initialization

    Returns void

  • The method calls before the model initialization begins

    Returns void

  • Cloning model data

    Type Parameters

    Parameters

    • OptionalincludeSystemProps: boolean

      phantom, dirty, original values

    Returns T

    T

  • Parameters

    Returns string

  • This method is called at the validation. If there is logical errors in model, here will be list of them

    Returns string[]

  • Returns whether a new record is selected

    Returns boolean

  • Sets the phantom attribute cascadingly for the model

    Parameters

    • phantom: boolean

    Returns void

  • Make some of the system properties reactive in the current model

    Parameters

    Returns void

  • Make some of the system properties reactive cascading throughout the model

    Parameters

    Returns void