@rxap/forms 21.0.1-dev.1 → 22.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/compodoc/changelog.html +29 -0
- package/compodoc/classes/RxapFormArray.html +153 -107
- package/compodoc/classes/RxapFormControl.html +158 -110
- package/compodoc/classes/RxapFormGroup.html +217 -169
- package/compodoc/dependencies.html +12 -12
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +9960 -8724
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ControlValueAccessor.html +5 -5
- package/docs/html/classes/FormArrayControlManager.html +2 -2
- package/docs/html/classes/FormControlErrorDirective.html +3 -3
- package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/html/classes/FormControlNameDirective.html +42 -33
- package/docs/html/classes/FormDirective.html +48 -48
- package/docs/html/classes/FormGroupNameDirective.html +28 -28
- package/docs/html/classes/FormLoadedDirective.html +2 -2
- package/docs/html/classes/FormLoadingDirective.html +2 -2
- package/docs/html/classes/FormLoadingErrorDirective.html +2 -2
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +2 -2
- package/docs/html/classes/FormSubmitInvalidDirective.html +2 -2
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +2 -2
- package/docs/html/classes/FormSubmittingDirective.html +2 -2
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +65 -63
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +60 -58
- package/docs/html/classes/RxapFormGroup.html +62 -60
- package/docs/html/enums/MetadataKeys.html +2 -2
- package/docs/html/functions/ControlAsyncValidator.html +1 -1
- package/docs/html/functions/ControlChange.html +1 -1
- package/docs/html/functions/ControlSetValue.html +1 -1
- package/docs/html/functions/ControlValidator.html +1 -1
- package/docs/html/functions/IsArray.html +1 -1
- package/docs/html/functions/IsBoolean.html +1 -1
- package/docs/html/functions/IsComplex.html +1 -1
- package/docs/html/functions/IsDate.html +1 -1
- package/docs/html/functions/IsEmail.html +1 -1
- package/docs/html/functions/IsEnum.html +1 -1
- package/docs/html/functions/IsIP.html +1 -1
- package/docs/html/functions/IsInt.html +1 -1
- package/docs/html/functions/IsNumber-1.html +2 -2
- package/docs/html/functions/IsObject.html +1 -1
- package/docs/html/functions/IsPhoneNumber.html +1 -1
- package/docs/html/functions/IsPort.html +1 -1
- package/docs/html/functions/IsString.html +1 -1
- package/docs/html/functions/IsUUID.html +1 -1
- package/docs/html/functions/IsUrl.html +1 -1
- package/docs/html/functions/RxapForm.html +1 -1
- package/docs/html/functions/ToFormMethod.html +1 -1
- package/docs/html/functions/ToFormSubmitMethod.html +2 -2
- package/docs/html/functions/UseFormArrayControl.html +1 -1
- package/docs/html/functions/UseFormArrayGroup.html +1 -1
- package/docs/html/functions/UseFormControl.html +1 -1
- package/docs/html/functions/UseFormGroup.html +1 -1
- package/docs/html/functions/_IsNumber.html +1 -1
- package/docs/html/functions/controlDisabledWhile.html +1 -1
- package/docs/html/functions/controlDisabled_.html +1 -1
- package/docs/html/functions/controlEnabledWhile.html +1 -1
- package/docs/html/functions/controlEnabled_.html +1 -1
- package/docs/html/functions/controlErrorChanges_.html +1 -1
- package/docs/html/functions/controlReadonly_.html +1 -1
- package/docs/html/functions/controlStatusChanges_.html +1 -1
- package/docs/html/functions/controlValueChanges_.html +1 -1
- package/docs/html/functions/disableControl.html +1 -1
- package/docs/html/functions/enableControl.html +1 -1
- package/docs/html/functions/hasErrorAndDirty.html +1 -1
- package/docs/html/functions/hasErrorAndTouched.html +1 -1
- package/docs/html/functions/isNumber.html +2 -2
- package/docs/html/functions/markAllDirty.html +1 -1
- package/docs/html/functions/markAllPristine.html +1 -1
- package/docs/html/functions/markAllUntouched.html +1 -1
- package/docs/html/functions/mergeControlValidators.html +1 -1
- package/docs/html/functions/selectControlValue_.html +1 -1
- package/docs/html/functions/validateControlOn.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AbstractControl.html +54 -54
- package/docs/html/interfaces/AbstractControlOptions.html +4 -4
- package/docs/html/interfaces/BoxedValue.html +2 -2
- package/docs/html/interfaces/ComplexityOptions.html +2 -2
- package/docs/html/interfaces/ControlOptions.html +3 -3
- package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/html/interfaces/FormArrayOptions.html +4 -4
- package/docs/html/interfaces/FormDefinition.html +6 -6
- package/docs/html/interfaces/FormDefinitionArray.html +42 -42
- package/docs/html/interfaces/FormDefinitionMetadata.html +5 -5
- package/docs/html/interfaces/FormGroupOptions.html +4 -4
- package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/html/interfaces/FormLoadMethod.html +2 -2
- package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/FormOptions.html +4 -4
- package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/InjectableValidator.html +2 -2
- package/docs/html/interfaces/IsNumberOptions.html +3 -3
- package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
- package/docs/html/interfaces/_RxapAbstractControlOptions.html +4 -4
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AsyncValidator.html +1 -1
- package/docs/html/types/AsyncValidatorFn.html +1 -1
- package/docs/html/types/ChangeFn.html +1 -1
- package/docs/html/types/ControlEventOptions.html +1 -1
- package/docs/html/types/ControlInsertedFn.html +1 -1
- package/docs/html/types/ControlPath.html +1 -1
- package/docs/html/types/ControlRemovedFn.html +1 -1
- package/docs/html/types/ControlState.html +1 -1
- package/docs/html/types/EmitEvent.html +1 -1
- package/docs/html/types/ExtractAbstractControl.html +1 -1
- package/docs/html/types/ExtractStrings.html +1 -1
- package/docs/html/types/FormBuilderFn.html +1 -1
- package/docs/html/types/FormType.html +1 -1
- package/docs/html/types/KeyValueControls.html +1 -1
- package/docs/html/types/OnlySelf.html +1 -1
- package/docs/html/types/OrBoxedValue.html +1 -1
- package/docs/html/types/RxapAbstractControlOptions.html +1 -1
- package/docs/html/types/SetValueFn.html +1 -1
- package/docs/html/types/ValidationErrors.html +1 -1
- package/docs/html/types/Validator.html +1 -1
- package/docs/html/types/ValidatorFn.html +1 -1
- package/docs/html/types/ValidatorOrOpts.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RxapValidators.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ControlValueAccessor.md +8 -8
- package/docs/markdown/classes/FormArrayControlManager.md +5 -5
- package/docs/markdown/classes/FormControlErrorDirective.md +5 -5
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +3 -3
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +3 -3
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +3 -3
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +3 -3
- package/docs/markdown/classes/FormControlNameDirective.md +154 -36
- package/docs/markdown/classes/FormDirective.md +93 -93
- package/docs/markdown/classes/FormGroupNameDirective.md +30 -30
- package/docs/markdown/classes/FormLoadedDirective.md +3 -3
- package/docs/markdown/classes/FormLoadingDirective.md +3 -3
- package/docs/markdown/classes/FormLoadingErrorDirective.md +3 -3
- package/docs/markdown/classes/FormResetDirective.md +7 -7
- package/docs/markdown/classes/FormSubmitDirective.md +14 -14
- package/docs/markdown/classes/FormSubmitFailedDirective.md +3 -3
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +3 -3
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +3 -3
- package/docs/markdown/classes/FormSubmittingDirective.md +3 -3
- package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
- package/docs/markdown/classes/RxapFormArray.md +134 -109
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +129 -104
- package/docs/markdown/classes/RxapFormGroup.md +148 -123
- package/docs/markdown/enumerations/MetadataKeys.md +10 -10
- package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
- package/docs/markdown/functions/ControlChange.md +2 -2
- package/docs/markdown/functions/ControlSetValue.md +2 -2
- package/docs/markdown/functions/ControlValidator.md +2 -2
- package/docs/markdown/functions/IsArray.md +2 -2
- package/docs/markdown/functions/IsBoolean.md +2 -2
- package/docs/markdown/functions/IsComplex.md +2 -2
- package/docs/markdown/functions/IsDate.md +2 -2
- package/docs/markdown/functions/IsEmail.md +2 -2
- package/docs/markdown/functions/IsEnum.md +2 -2
- package/docs/markdown/functions/IsIP.md +2 -2
- package/docs/markdown/functions/IsInt.md +2 -2
- package/docs/markdown/functions/IsNumber-2.md +2 -2
- package/docs/markdown/functions/IsNumber.md +2 -2
- package/docs/markdown/functions/IsObject.md +2 -2
- package/docs/markdown/functions/IsPhoneNumber.md +2 -2
- package/docs/markdown/functions/IsPort.md +2 -2
- package/docs/markdown/functions/IsString.md +2 -2
- package/docs/markdown/functions/IsUUID.md +2 -2
- package/docs/markdown/functions/IsUrl.md +2 -2
- package/docs/markdown/functions/RxapForm.md +2 -2
- package/docs/markdown/functions/ToFormMethod.md +2 -2
- package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
- package/docs/markdown/functions/UseFormArrayControl.md +2 -2
- package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
- package/docs/markdown/functions/UseFormControl.md +2 -2
- package/docs/markdown/functions/UseFormGroup.md +2 -2
- package/docs/markdown/functions/controlDisabled$.md +2 -2
- package/docs/markdown/functions/controlDisabledWhile.md +2 -2
- package/docs/markdown/functions/controlEnabled$.md +2 -2
- package/docs/markdown/functions/controlEnabledWhile.md +2 -2
- package/docs/markdown/functions/controlErrorChanges$.md +2 -2
- package/docs/markdown/functions/controlReadonly$.md +2 -2
- package/docs/markdown/functions/controlStatusChanges$.md +2 -2
- package/docs/markdown/functions/controlValueChanges$.md +2 -2
- package/docs/markdown/functions/disableControl.md +2 -2
- package/docs/markdown/functions/enableControl.md +2 -2
- package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
- package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
- package/docs/markdown/functions/isNumber-1.md +2 -2
- package/docs/markdown/functions/markAllDirty.md +2 -2
- package/docs/markdown/functions/markAllPristine.md +2 -2
- package/docs/markdown/functions/markAllUntouched.md +2 -2
- package/docs/markdown/functions/mergeControlValidators.md +2 -2
- package/docs/markdown/functions/selectControlValue$.md +2 -2
- package/docs/markdown/functions/validateControlOn.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AbstractControl.md +98 -76
- package/docs/markdown/interfaces/AbstractControlOptions.md +5 -5
- package/docs/markdown/interfaces/BoxedValue.md +4 -4
- package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
- package/docs/markdown/interfaces/ControlOptions.md +10 -10
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +14 -14
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +48 -48
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +13 -13
- package/docs/markdown/interfaces/FormGroupOptions.md +11 -11
- package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/FormOptions.md +11 -11
- package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/InjectableValidator.md +4 -4
- package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
- package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
- package/docs/markdown/interfaces/RxapAbstractControlOptions.md +10 -10
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +11 -11
- package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
- package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ChangeFn.md +2 -2
- package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
- package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlPath.md +2 -2
- package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlState.md +2 -2
- package/docs/markdown/type-aliases/EmitEvent.md +2 -2
- package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
- package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
- package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
- package/docs/markdown/type-aliases/FormType.md +2 -2
- package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
- package/docs/markdown/type-aliases/OnlySelf.md +2 -2
- package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
- package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
- package/docs/markdown/type-aliases/SetValueFn.md +2 -2
- package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
- package/docs/markdown/type-aliases/Validator.md +2 -2
- package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RxapValidators.md +2 -2
- package/docs/wiki/Class.ControlValueAccessor.md +7 -7
- package/docs/wiki/Class.FormArrayControlManager.md +4 -4
- package/docs/wiki/Class.FormControlErrorDirective.md +4 -4
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +2 -2
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +2 -2
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +2 -2
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +2 -2
- package/docs/wiki/Class.FormControlNameDirective.md +153 -35
- package/docs/wiki/Class.FormDirective.md +92 -92
- package/docs/wiki/Class.FormGroupNameDirective.md +29 -29
- package/docs/wiki/Class.FormLoadedDirective.md +2 -2
- package/docs/wiki/Class.FormLoadingDirective.md +2 -2
- package/docs/wiki/Class.FormLoadingErrorDirective.md +2 -2
- package/docs/wiki/Class.FormResetDirective.md +6 -6
- package/docs/wiki/Class.FormSubmitDirective.md +13 -13
- package/docs/wiki/Class.FormSubmitFailedDirective.md +2 -2
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +2 -2
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +2 -2
- package/docs/wiki/Class.FormSubmittingDirective.md +2 -2
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +133 -108
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +128 -103
- package/docs/wiki/Class.RxapFormGroup.md +147 -122
- package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
- package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
- package/docs/wiki/Function.ControlChange.md +1 -1
- package/docs/wiki/Function.ControlSetValue.md +1 -1
- package/docs/wiki/Function.ControlValidator.md +1 -1
- package/docs/wiki/Function.IsArray.md +1 -1
- package/docs/wiki/Function.IsBoolean.md +1 -1
- package/docs/wiki/Function.IsComplex.md +1 -1
- package/docs/wiki/Function.IsDate.md +1 -1
- package/docs/wiki/Function.IsEmail.md +1 -1
- package/docs/wiki/Function.IsEnum.md +1 -1
- package/docs/wiki/Function.IsIP.md +1 -1
- package/docs/wiki/Function.IsInt.md +1 -1
- package/docs/wiki/Function.IsNumber.md +1 -1
- package/docs/wiki/Function.IsObject.md +1 -1
- package/docs/wiki/Function.IsPhoneNumber.md +1 -1
- package/docs/wiki/Function.IsPort.md +1 -1
- package/docs/wiki/Function.IsString.md +1 -1
- package/docs/wiki/Function.IsUUID.md +1 -1
- package/docs/wiki/Function.IsUrl.md +1 -1
- package/docs/wiki/Function.RxapForm.md +1 -1
- package/docs/wiki/Function.ToFormMethod.md +1 -1
- package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
- package/docs/wiki/Function.UseFormArrayControl.md +1 -1
- package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
- package/docs/wiki/Function.UseFormControl.md +1 -1
- package/docs/wiki/Function.UseFormGroup.md +1 -1
- package/docs/wiki/Function._IsNumber.md +1 -1
- package/docs/wiki/Function.controlDisabled$.md +1 -1
- package/docs/wiki/Function.controlDisabledWhile.md +1 -1
- package/docs/wiki/Function.controlEnabled$.md +1 -1
- package/docs/wiki/Function.controlEnabledWhile.md +1 -1
- package/docs/wiki/Function.controlErrorChanges$.md +1 -1
- package/docs/wiki/Function.controlReadonly$.md +1 -1
- package/docs/wiki/Function.controlStatusChanges$.md +1 -1
- package/docs/wiki/Function.controlValueChanges$.md +1 -1
- package/docs/wiki/Function.disableControl.md +1 -1
- package/docs/wiki/Function.enableControl.md +1 -1
- package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
- package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
- package/docs/wiki/Function.isNumber.md +1 -1
- package/docs/wiki/Function.markAllDirty.md +1 -1
- package/docs/wiki/Function.markAllPristine.md +1 -1
- package/docs/wiki/Function.markAllUntouched.md +1 -1
- package/docs/wiki/Function.mergeControlValidators.md +1 -1
- package/docs/wiki/Function.selectControlValue$.md +1 -1
- package/docs/wiki/Function.validateControlOn.md +1 -1
- package/docs/wiki/Interface.AbstractControl.md +97 -75
- package/docs/wiki/Interface.AbstractControlOptions.md +4 -4
- package/docs/wiki/Interface.BoxedValue.md +3 -3
- package/docs/wiki/Interface.ComplexityOptions.md +11 -11
- package/docs/wiki/Interface.ControlOptions.md +9 -9
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +13 -13
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +47 -47
- package/docs/wiki/Interface.FormDefinitionMetadata.md +12 -12
- package/docs/wiki/Interface.FormGroupOptions.md +10 -10
- package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.FormOptions.md +10 -10
- package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.InjectableValidator.md +3 -3
- package/docs/wiki/Interface.IsNumberOptions.md +5 -5
- package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
- package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +10 -10
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +9 -9
- package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
- package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
- package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlPath.md +1 -1
- package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlState.md +1 -1
- package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
- package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
- package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
- package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
- package/docs/wiki/TypeAlias.FormType.md +1 -1
- package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
- package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
- package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
- package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
- package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
- package/docs/wiki/TypeAlias.Validator.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RxapValidators.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-forms.mjs +2655 -2537
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +27 -27
- package/types/rxap-forms.d.ts +954 -910
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapFormControl\<T, E, Parent\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L44)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.c
|
|
|
22
22
|
|
|
23
23
|
> **new RxapFormControl**\<`T`, `E`, `Parent`\>(`formState`, `options`): [`RxapFormControl`](../wiki/Class.RxapFormControl)\<`T`, `E`, `Parent`\>
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
25
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:138](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L138)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:129](https://gitlab.
|
|
|
48
48
|
|
|
49
49
|
> `protected` **\_initialState**: [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
51
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:78](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L78)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:69](https://gitlab.c
|
|
|
56
56
|
|
|
57
57
|
> `readonly` **controlId**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
59
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:107](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L107)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:98](https://gitlab.c
|
|
|
64
64
|
|
|
65
65
|
> **defaultValue**: `any`
|
|
66
66
|
|
|
67
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
67
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1606
|
|
68
68
|
|
|
69
69
|
The default value of this FormControl, used whenever the control is reset without an explicit
|
|
70
70
|
value. See FormControlOptions#nonNullable for more information on configuring
|
|
@@ -80,7 +80,7 @@ a default value.
|
|
|
80
80
|
|
|
81
81
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
82
82
|
|
|
83
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
83
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L87)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:78](https://gitlab.c
|
|
|
88
88
|
|
|
89
89
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
90
90
|
|
|
91
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
91
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L92)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -96,22 +96,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.c
|
|
|
96
96
|
|
|
97
97
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
100
|
-
|
|
101
|
-
***
|
|
102
|
-
|
|
103
|
-
### errors
|
|
104
|
-
|
|
105
|
-
> `readonly` **errors**: `null` \| `E`
|
|
106
|
-
|
|
107
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/be7e221de2deba638078b6c685a94021679a1a5b/packages/angular/forms/src/lib/form-control.ts#L59)
|
|
108
|
-
|
|
109
|
-
An object containing any errors generated by failing validation,
|
|
110
|
-
or null if there are no errors.
|
|
111
|
-
|
|
112
|
-
#### Overrides
|
|
113
|
-
|
|
114
|
-
`UntypedFormControl.errors`
|
|
99
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L93)
|
|
115
100
|
|
|
116
101
|
***
|
|
117
102
|
|
|
@@ -119,7 +104,7 @@ or null if there are no errors.
|
|
|
119
104
|
|
|
120
105
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
121
106
|
|
|
122
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
107
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:105](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L105)
|
|
123
108
|
|
|
124
109
|
***
|
|
125
110
|
|
|
@@ -127,7 +112,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:96](https://gitlab.c
|
|
|
127
112
|
|
|
128
113
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
129
114
|
|
|
130
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
115
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2700
|
|
131
116
|
|
|
132
117
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
133
118
|
It emits for value, status, pristine or touched changes.
|
|
@@ -153,7 +138,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
153
138
|
|
|
154
139
|
> `readonly` **readonly$**: `Observable`\<`boolean`\>
|
|
155
140
|
|
|
156
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
141
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:112](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L112)
|
|
157
142
|
|
|
158
143
|
***
|
|
159
144
|
|
|
@@ -161,7 +146,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:103](https://gitlab.
|
|
|
161
146
|
|
|
162
147
|
> `readonly` **stateChanges**: `Subject`\<`void`\>
|
|
163
148
|
|
|
164
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
149
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:111](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L111)
|
|
165
150
|
|
|
166
151
|
***
|
|
167
152
|
|
|
@@ -169,7 +154,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.
|
|
|
169
154
|
|
|
170
155
|
> `readonly` **status**: [`ControlState`](../wiki/TypeAlias.ControlState)
|
|
171
156
|
|
|
172
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
157
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:73](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L73)
|
|
173
158
|
|
|
174
159
|
The validation status of the control.
|
|
175
160
|
|
|
@@ -190,7 +175,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
190
175
|
|
|
191
176
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
192
177
|
|
|
193
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
178
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:104](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L104)
|
|
194
179
|
|
|
195
180
|
***
|
|
196
181
|
|
|
@@ -198,7 +183,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.c
|
|
|
198
183
|
|
|
199
184
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
200
185
|
|
|
201
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
186
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:74](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L74)
|
|
202
187
|
|
|
203
188
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
204
189
|
recalculates.
|
|
@@ -218,7 +203,7 @@ recalculates.
|
|
|
218
203
|
|
|
219
204
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
220
205
|
|
|
221
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
206
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:84](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L84)
|
|
222
207
|
|
|
223
208
|
***
|
|
224
209
|
|
|
@@ -226,7 +211,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.c
|
|
|
226
211
|
|
|
227
212
|
> `readonly` **value**: `T`
|
|
228
213
|
|
|
229
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
214
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L58)
|
|
230
215
|
|
|
231
216
|
The current value of the control.
|
|
232
217
|
|
|
@@ -248,7 +233,7 @@ with a key-value pair for each member of the group.
|
|
|
248
233
|
|
|
249
234
|
> `readonly` **value$**: `Observable`\<`T`\>
|
|
250
235
|
|
|
251
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
236
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:91](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L91)
|
|
252
237
|
|
|
253
238
|
***
|
|
254
239
|
|
|
@@ -256,7 +241,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:82](https://gitlab.c
|
|
|
256
241
|
|
|
257
242
|
> `readonly` **valueChanges**: `Observable`\<`T`\>
|
|
258
243
|
|
|
259
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
244
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:71](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L71)
|
|
260
245
|
|
|
261
246
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
262
247
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -280,7 +265,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
280
265
|
|
|
281
266
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
282
267
|
|
|
283
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
268
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2580
|
|
284
269
|
|
|
285
270
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
286
271
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -294,7 +279,7 @@ See `Validators.compose()` for additional information.
|
|
|
294
279
|
|
|
295
280
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
296
281
|
|
|
297
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
282
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2581
|
|
298
283
|
|
|
299
284
|
##### Parameters
|
|
300
285
|
|
|
@@ -318,7 +303,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
|
318
303
|
|
|
319
304
|
> **get** **controlPath**(): `string`
|
|
320
305
|
|
|
321
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
306
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:114](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L114)
|
|
322
307
|
|
|
323
308
|
##### Returns
|
|
324
309
|
|
|
@@ -332,7 +317,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:105](https://gitlab.
|
|
|
332
317
|
|
|
333
318
|
> **get** **dirty**(): `boolean`
|
|
334
319
|
|
|
335
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
320
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2670
|
|
336
321
|
|
|
337
322
|
A control is `dirty` if the user has changed the value
|
|
338
323
|
in the UI.
|
|
@@ -356,7 +341,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
356
341
|
|
|
357
342
|
> **get** **disabled**(): `boolean`
|
|
358
343
|
|
|
359
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
344
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2635
|
|
360
345
|
|
|
361
346
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
362
347
|
|
|
@@ -386,7 +371,7 @@ True if the control is disabled, false otherwise.
|
|
|
386
371
|
|
|
387
372
|
> **get** **enabled**(): `boolean`
|
|
388
373
|
|
|
389
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
374
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2645
|
|
390
375
|
|
|
391
376
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
392
377
|
|
|
@@ -407,13 +392,53 @@ false if the status is 'DISABLED'.
|
|
|
407
392
|
|
|
408
393
|
***
|
|
409
394
|
|
|
395
|
+
### errors
|
|
396
|
+
|
|
397
|
+
#### Get Signature
|
|
398
|
+
|
|
399
|
+
> **get** **errors**(): `null` \| `E`
|
|
400
|
+
|
|
401
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L59)
|
|
402
|
+
|
|
403
|
+
An object containing any errors generated by failing validation,
|
|
404
|
+
or null if there are no errors.
|
|
405
|
+
|
|
406
|
+
##### Returns
|
|
407
|
+
|
|
408
|
+
`null` \| `E`
|
|
409
|
+
|
|
410
|
+
#### Set Signature
|
|
411
|
+
|
|
412
|
+
> **set** **errors**(`value`): `void`
|
|
413
|
+
|
|
414
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L65)
|
|
415
|
+
|
|
416
|
+
An object containing any errors generated by failing validation,
|
|
417
|
+
or null if there are no errors.
|
|
418
|
+
|
|
419
|
+
##### Parameters
|
|
420
|
+
|
|
421
|
+
###### value
|
|
422
|
+
|
|
423
|
+
`null` | `E`
|
|
424
|
+
|
|
425
|
+
##### Returns
|
|
426
|
+
|
|
427
|
+
`void`
|
|
428
|
+
|
|
429
|
+
#### Overrides
|
|
430
|
+
|
|
431
|
+
`UntypedFormControl.errors`
|
|
432
|
+
|
|
433
|
+
***
|
|
434
|
+
|
|
410
435
|
### fullControlPath
|
|
411
436
|
|
|
412
437
|
#### Get Signature
|
|
413
438
|
|
|
414
439
|
> **get** **fullControlPath**(): `string`
|
|
415
440
|
|
|
416
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
441
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:128](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L128)
|
|
417
442
|
|
|
418
443
|
##### Returns
|
|
419
444
|
|
|
@@ -427,7 +452,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:119](https://gitlab.
|
|
|
427
452
|
|
|
428
453
|
> **get** **initialState**(): [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
429
454
|
|
|
430
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
455
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L75)
|
|
431
456
|
|
|
432
457
|
##### Returns
|
|
433
458
|
|
|
@@ -441,7 +466,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.c
|
|
|
441
466
|
|
|
442
467
|
> **get** **invalid**(): `boolean`
|
|
443
468
|
|
|
444
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
469
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2614
|
|
445
470
|
|
|
446
471
|
A control is `invalid` when its `status` is `INVALID`.
|
|
447
472
|
|
|
@@ -468,7 +493,7 @@ false otherwise.
|
|
|
468
493
|
|
|
469
494
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
470
495
|
|
|
471
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
496
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2585
|
|
472
497
|
|
|
473
498
|
The parent control.
|
|
474
499
|
|
|
@@ -488,7 +513,7 @@ The parent control.
|
|
|
488
513
|
|
|
489
514
|
> **get** **pending**(): `boolean`
|
|
490
515
|
|
|
491
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
516
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2623
|
|
492
517
|
|
|
493
518
|
A control is `pending` when its `status` is `PENDING`.
|
|
494
519
|
|
|
@@ -515,7 +540,7 @@ false otherwise.
|
|
|
515
540
|
|
|
516
541
|
> **get** **pristine**(): `boolean`
|
|
517
542
|
|
|
518
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
543
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2660
|
|
519
544
|
|
|
520
545
|
A control is `pristine` if the user has not yet changed
|
|
521
546
|
the value in the UI.
|
|
@@ -531,7 +556,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
531
556
|
|
|
532
557
|
> **set** **pristine**(`value`): `void`
|
|
533
558
|
|
|
534
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
559
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
535
560
|
|
|
536
561
|
##### Parameters
|
|
537
562
|
|
|
@@ -555,7 +580,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
|
555
580
|
|
|
556
581
|
> **get** **readonly**(): `boolean`
|
|
557
582
|
|
|
558
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
583
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L95)
|
|
559
584
|
|
|
560
585
|
##### Returns
|
|
561
586
|
|
|
@@ -565,7 +590,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:86](https://gitlab.c
|
|
|
565
590
|
|
|
566
591
|
> **set** **readonly**(`value`): `void`
|
|
567
592
|
|
|
568
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
593
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L99)
|
|
569
594
|
|
|
570
595
|
##### Parameters
|
|
571
596
|
|
|
@@ -585,7 +610,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:90](https://gitlab.c
|
|
|
585
610
|
|
|
586
611
|
> **get** **root**(): `AbstractControl`
|
|
587
612
|
|
|
588
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
613
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3212
|
|
589
614
|
|
|
590
615
|
Retrieves the top-level ancestor of this control.
|
|
591
616
|
|
|
@@ -605,7 +630,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
605
630
|
|
|
606
631
|
> **get** **rxapFormDefinition**(): `undefined` \| `Partial`\<[`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>
|
|
607
632
|
|
|
608
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
633
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L52)
|
|
609
634
|
|
|
610
635
|
**`Internal`**
|
|
611
636
|
|
|
@@ -621,7 +646,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.c
|
|
|
621
646
|
|
|
622
647
|
> **get** **touched**(): `boolean`
|
|
623
648
|
|
|
624
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
649
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
625
650
|
|
|
626
651
|
True if the control is marked as `touched`.
|
|
627
652
|
|
|
@@ -636,7 +661,7 @@ a `blur` event on it.
|
|
|
636
661
|
|
|
637
662
|
> **set** **touched**(`value`): `void`
|
|
638
663
|
|
|
639
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
664
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2678
|
|
640
665
|
|
|
641
666
|
##### Parameters
|
|
642
667
|
|
|
@@ -660,7 +685,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
|
660
685
|
|
|
661
686
|
> **get** **untouched**(): `boolean`
|
|
662
687
|
|
|
663
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
688
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2686
|
|
664
689
|
|
|
665
690
|
True if the control has not been marked as touched
|
|
666
691
|
|
|
@@ -683,7 +708,7 @@ a `blur` event on it.
|
|
|
683
708
|
|
|
684
709
|
> **get** **updateOn**(): `FormHooks`
|
|
685
710
|
|
|
686
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
711
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2727
|
|
687
712
|
|
|
688
713
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
689
714
|
the event on which the control updates itself).
|
|
@@ -706,7 +731,7 @@ Default value: `'change'`
|
|
|
706
731
|
|
|
707
732
|
> **get** **valid**(): `boolean`
|
|
708
733
|
|
|
709
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
734
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2605
|
|
710
735
|
|
|
711
736
|
A control is `valid` when its `status` is `VALID`.
|
|
712
737
|
|
|
@@ -733,7 +758,7 @@ false otherwise.
|
|
|
733
758
|
|
|
734
759
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
735
760
|
|
|
736
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
761
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
737
762
|
|
|
738
763
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
739
764
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -747,7 +772,7 @@ See `Validators.compose()` for additional information.
|
|
|
747
772
|
|
|
748
773
|
> **set** **validator**(`validatorFn`): `void`
|
|
749
774
|
|
|
750
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
775
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
751
776
|
|
|
752
777
|
##### Parameters
|
|
753
778
|
|
|
@@ -769,7 +794,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
|
769
794
|
|
|
770
795
|
> **addAsyncValidators**(`validators`): `void`
|
|
771
796
|
|
|
772
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
797
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2774
|
|
773
798
|
|
|
774
799
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
775
800
|
validators.
|
|
@@ -801,7 +826,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
801
826
|
|
|
802
827
|
> **addValidators**(`validators`): `void`
|
|
803
828
|
|
|
804
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
829
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2762
|
|
805
830
|
|
|
806
831
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
807
832
|
|
|
@@ -834,7 +859,7 @@ The new validator function or functions to add to this control.
|
|
|
834
859
|
|
|
835
860
|
> **clearAsyncValidators**(): `void`
|
|
836
861
|
|
|
837
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
862
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2861
|
|
838
863
|
|
|
839
864
|
Empties out the async validator list.
|
|
840
865
|
|
|
@@ -855,7 +880,7 @@ When you add or remove a validator at run time, you must call
|
|
|
855
880
|
|
|
856
881
|
> **clearValidators**(): `void`
|
|
857
882
|
|
|
858
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
883
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2853
|
|
859
884
|
|
|
860
885
|
Empties out the synchronous validator list.
|
|
861
886
|
|
|
@@ -876,7 +901,7 @@ When you add or remove a validator at run time, you must call
|
|
|
876
901
|
|
|
877
902
|
> **disable**(`opts`?): `void`
|
|
878
903
|
|
|
879
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
904
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3029
|
|
880
905
|
|
|
881
906
|
Disables the control. This means the control is exempt from validation checks and
|
|
882
907
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -922,7 +947,7 @@ When false, no events are emitted.
|
|
|
922
947
|
|
|
923
948
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
924
949
|
|
|
925
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
950
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:200](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L200)
|
|
926
951
|
|
|
927
952
|
#### Parameters
|
|
928
953
|
|
|
@@ -944,7 +969,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:191](https://gitlab.
|
|
|
944
969
|
|
|
945
970
|
> **enable**(`opts`?): `void`
|
|
946
971
|
|
|
947
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
972
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3051
|
|
948
973
|
|
|
949
974
|
Enables the control. This means the control is included in validation checks and
|
|
950
975
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -991,7 +1016,7 @@ When false, no events are emitted.
|
|
|
991
1016
|
|
|
992
1017
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
993
1018
|
|
|
994
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1019
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:207](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L207)
|
|
995
1020
|
|
|
996
1021
|
#### Parameters
|
|
997
1022
|
|
|
@@ -1015,7 +1040,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:198](https://gitlab.
|
|
|
1015
1040
|
|
|
1016
1041
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1017
1042
|
|
|
1018
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1043
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3142
|
|
1019
1044
|
|
|
1020
1045
|
Retrieves a child control given the control's name or path.
|
|
1021
1046
|
|
|
@@ -1043,7 +1068,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1043
1068
|
|
|
1044
1069
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1045
1070
|
|
|
1046
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1071
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3149
|
|
1047
1072
|
|
|
1048
1073
|
Retrieves a child control given the control's name or path.
|
|
1049
1074
|
|
|
@@ -1074,7 +1099,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1074
1099
|
|
|
1075
1100
|
> **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
|
|
1076
1101
|
|
|
1077
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1102
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:288](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L288)
|
|
1078
1103
|
|
|
1079
1104
|
#### Type Parameters
|
|
1080
1105
|
|
|
@@ -1126,7 +1151,7 @@ It can be provided to this method in one of two formats:
|
|
|
1126
1151
|
|
|
1127
1152
|
> **getRawValue**(): `any`
|
|
1128
1153
|
|
|
1129
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1154
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1693
|
|
1130
1155
|
|
|
1131
1156
|
For a simple FormControl, the raw value is equivalent to the value.
|
|
1132
1157
|
|
|
@@ -1144,7 +1169,7 @@ For a simple FormControl, the raw value is equivalent to the value.
|
|
|
1144
1169
|
|
|
1145
1170
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1146
1171
|
|
|
1147
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1172
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2845
|
|
1148
1173
|
|
|
1149
1174
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1150
1175
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1174,7 +1199,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1174
1199
|
|
|
1175
1200
|
> **hasError**\<`K`\>(`errorCode`): `boolean`
|
|
1176
1201
|
|
|
1177
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1202
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:292](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L292)
|
|
1178
1203
|
|
|
1179
1204
|
#### Type Parameters
|
|
1180
1205
|
|
|
@@ -1229,7 +1254,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1229
1254
|
|
|
1230
1255
|
> **hasErrorAndDirty**(`error`): `boolean`
|
|
1231
1256
|
|
|
1232
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1257
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:308](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L308)
|
|
1233
1258
|
|
|
1234
1259
|
#### Parameters
|
|
1235
1260
|
|
|
@@ -1247,7 +1272,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:299](https://gitlab.
|
|
|
1247
1272
|
|
|
1248
1273
|
> **hasErrorAndTouched**(`error`): `boolean`
|
|
1249
1274
|
|
|
1250
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1275
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:304](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L304)
|
|
1251
1276
|
|
|
1252
1277
|
#### Parameters
|
|
1253
1278
|
|
|
@@ -1265,7 +1290,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:295](https://gitlab.
|
|
|
1265
1290
|
|
|
1266
1291
|
> **hasValidator**(`validator`): `boolean`
|
|
1267
1292
|
|
|
1268
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1293
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
1269
1294
|
|
|
1270
1295
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1271
1296
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1308,7 +1333,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1308
1333
|
|
|
1309
1334
|
> **markAllAsDirty**(): `void`
|
|
1310
1335
|
|
|
1311
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1336
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:247](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L247)
|
|
1312
1337
|
|
|
1313
1338
|
Marks the control and all its descendant controls as `dirty`.
|
|
1314
1339
|
|
|
@@ -1331,7 +1356,7 @@ Marks the control and all its descendant controls as `dirty`.
|
|
|
1331
1356
|
|
|
1332
1357
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1333
1358
|
|
|
1334
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1359
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2914
|
|
1335
1360
|
|
|
1336
1361
|
Marks the control and all its descendant controls as `touched`.
|
|
1337
1362
|
|
|
@@ -1368,7 +1393,7 @@ When false, no events are emitted.
|
|
|
1368
1393
|
|
|
1369
1394
|
> **markAsDirty**(`opts`?): `void`
|
|
1370
1395
|
|
|
1371
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1396
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:242](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L242)
|
|
1372
1397
|
|
|
1373
1398
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1374
1399
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1408,7 +1433,7 @@ When false, no events are emitted.
|
|
|
1408
1433
|
|
|
1409
1434
|
> **markAsPending**(`opts`?): `void`
|
|
1410
1435
|
|
|
1411
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1436
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3008
|
|
1412
1437
|
|
|
1413
1438
|
Marks the control as `pending`.
|
|
1414
1439
|
|
|
@@ -1453,7 +1478,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1453
1478
|
|
|
1454
1479
|
> **markAsPristine**(`opts`?): `void`
|
|
1455
1480
|
|
|
1456
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1481
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:237](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L237)
|
|
1457
1482
|
|
|
1458
1483
|
Marks the control as `pristine`.
|
|
1459
1484
|
|
|
@@ -1496,7 +1521,7 @@ When false, no events are emitted.
|
|
|
1496
1521
|
|
|
1497
1522
|
> **markAsTouched**(`opts`?): `void`
|
|
1498
1523
|
|
|
1499
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1524
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:227](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L227)
|
|
1500
1525
|
|
|
1501
1526
|
Marks the control as `touched`. A control is touched by focus and
|
|
1502
1527
|
blur events that do not change the value.
|
|
@@ -1536,7 +1561,7 @@ When false, no events are emitted.
|
|
|
1536
1561
|
|
|
1537
1562
|
> **markAsUntouched**(`opts`?): `void`
|
|
1538
1563
|
|
|
1539
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1564
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:232](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L232)
|
|
1540
1565
|
|
|
1541
1566
|
Marks the control as `untouched`.
|
|
1542
1567
|
|
|
@@ -1578,7 +1603,7 @@ When false, no events are emitted.
|
|
|
1578
1603
|
|
|
1579
1604
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1580
1605
|
|
|
1581
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1606
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:218](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L218)
|
|
1582
1607
|
|
|
1583
1608
|
#### Parameters
|
|
1584
1609
|
|
|
@@ -1596,7 +1621,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:209](https://gitlab.
|
|
|
1596
1621
|
|
|
1597
1622
|
> **mergeValidators**(`validators`): `void`
|
|
1598
1623
|
|
|
1599
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1624
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:214](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L214)
|
|
1600
1625
|
|
|
1601
1626
|
#### Parameters
|
|
1602
1627
|
|
|
@@ -1616,7 +1641,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:205](https://gitlab.
|
|
|
1616
1641
|
|
|
1617
1642
|
> **patchValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
1618
1643
|
|
|
1619
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1644
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:175](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L175)
|
|
1620
1645
|
|
|
1621
1646
|
Patches the value of a control.
|
|
1622
1647
|
|
|
@@ -1650,7 +1675,7 @@ FormControl#setValue for options
|
|
|
1650
1675
|
|
|
1651
1676
|
> **patchValue**(`valueOrObservable`, `options`?): `void`
|
|
1652
1677
|
|
|
1653
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1678
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:179](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L179)
|
|
1654
1679
|
|
|
1655
1680
|
##### Parameters
|
|
1656
1681
|
|
|
@@ -1676,7 +1701,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:170](https://gitlab.
|
|
|
1676
1701
|
|
|
1677
1702
|
> **registerOnChange**(`fn`): `void`
|
|
1678
1703
|
|
|
1679
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1704
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1699
|
|
1680
1705
|
|
|
1681
1706
|
Register a listener for change events.
|
|
1682
1707
|
|
|
@@ -1702,7 +1727,7 @@ The method that is called when the value changes
|
|
|
1702
1727
|
|
|
1703
1728
|
> **registerOnDisabledChange**(`fn`): `void`
|
|
1704
1729
|
|
|
1705
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1730
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1705
|
|
1706
1731
|
|
|
1707
1732
|
Register a listener for disabled events.
|
|
1708
1733
|
|
|
@@ -1728,7 +1753,7 @@ The method that is called when the disabled status changes.
|
|
|
1728
1753
|
|
|
1729
1754
|
> **registerOnSetValue**(`setValueFn`): `void`
|
|
1730
1755
|
|
|
1731
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1756
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:320](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L320)
|
|
1732
1757
|
|
|
1733
1758
|
#### Parameters
|
|
1734
1759
|
|
|
@@ -1746,7 +1771,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:311](https://gitlab.
|
|
|
1746
1771
|
|
|
1747
1772
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1748
1773
|
|
|
1749
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1774
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2814
|
|
1750
1775
|
|
|
1751
1776
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1752
1777
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1778,7 +1803,7 @@ The asynchronous validator or validators to remove.
|
|
|
1778
1803
|
|
|
1779
1804
|
> **removeValidators**(`validators`): `void`
|
|
1780
1805
|
|
|
1781
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1806
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2802
|
|
1782
1807
|
|
|
1783
1808
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1784
1809
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1826,7 +1851,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1826
1851
|
|
|
1827
1852
|
> **reset**(`formState`?, `options`?): `void`
|
|
1828
1853
|
|
|
1829
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1854
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:251](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L251)
|
|
1830
1855
|
|
|
1831
1856
|
Resets the form control, marking it `pristine` and `untouched`, and resetting
|
|
1832
1857
|
the value. The new value will be the provided value (if passed), `null`, or the initial value
|
|
@@ -1884,7 +1909,7 @@ When false, no events are emitted.
|
|
|
1884
1909
|
|
|
1885
1910
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
1886
1911
|
|
|
1887
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1912
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:274](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L274)
|
|
1888
1913
|
|
|
1889
1914
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1890
1915
|
overwrites any existing asynchronous validators.
|
|
@@ -1919,7 +1944,7 @@ using `addAsyncValidators()` method instead.
|
|
|
1919
1944
|
|
|
1920
1945
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
1921
1946
|
|
|
1922
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1947
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:316](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L316)
|
|
1923
1948
|
|
|
1924
1949
|
#### Parameters
|
|
1925
1950
|
|
|
@@ -1941,7 +1966,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:307](https://gitlab.
|
|
|
1941
1966
|
|
|
1942
1967
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
1943
1968
|
|
|
1944
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1969
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:312](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L312)
|
|
1945
1970
|
|
|
1946
1971
|
#### Parameters
|
|
1947
1972
|
|
|
@@ -1963,7 +1988,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:303](https://gitlab.
|
|
|
1963
1988
|
|
|
1964
1989
|
> **setError**(`key`, `value`, `opts`): `void`
|
|
1965
1990
|
|
|
1966
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1991
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:300](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L300)
|
|
1967
1992
|
|
|
1968
1993
|
#### Parameters
|
|
1969
1994
|
|
|
@@ -1989,7 +2014,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:291](https://gitlab.
|
|
|
1989
2014
|
|
|
1990
2015
|
> **setErrors**(`errors`, `opts`): `void`
|
|
1991
2016
|
|
|
1992
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2017
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:296](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L296)
|
|
1993
2018
|
|
|
1994
2019
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1995
2020
|
|
|
@@ -2044,7 +2069,7 @@ expect(login.valid).toEqual(true);
|
|
|
2044
2069
|
|
|
2045
2070
|
> **setParent**(`parent`): `void`
|
|
2046
2071
|
|
|
2047
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2072
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3061
|
|
2048
2073
|
|
|
2049
2074
|
Sets the parent of the control
|
|
2050
2075
|
|
|
@@ -2070,7 +2095,7 @@ The new parent.
|
|
|
2070
2095
|
|
|
2071
2096
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2072
2097
|
|
|
2073
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2098
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:264](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L264)
|
|
2074
2099
|
|
|
2075
2100
|
Sets the synchronous validators that are active on this control. Calling
|
|
2076
2101
|
this overwrites any existing synchronous validators.
|
|
@@ -2107,7 +2132,7 @@ using `addValidators()` method instead.
|
|
|
2107
2132
|
|
|
2108
2133
|
> **setValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
2109
2134
|
|
|
2110
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2135
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:153](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L153)
|
|
2111
2136
|
|
|
2112
2137
|
Sets a new value for the form control.
|
|
2113
2138
|
|
|
@@ -2150,7 +2175,7 @@ event to update the model.
|
|
|
2150
2175
|
|
|
2151
2176
|
> **setValue**(`valueOrObservable`, `options`?): `void`
|
|
2152
2177
|
|
|
2153
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2178
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:157](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L157)
|
|
2154
2179
|
|
|
2155
2180
|
##### Parameters
|
|
2156
2181
|
|
|
@@ -2176,7 +2201,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:148](https://gitlab.
|
|
|
2176
2201
|
|
|
2177
2202
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2178
2203
|
|
|
2179
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2204
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3096
|
|
2180
2205
|
|
|
2181
2206
|
Recalculates the value and validation status of the control.
|
|
2182
2207
|
|
|
@@ -2221,7 +2246,7 @@ When false, no events are emitted.
|
|
|
2221
2246
|
|
|
2222
2247
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2223
2248
|
|
|
2224
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2249
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:284](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-control.ts#L284)
|
|
2225
2250
|
|
|
2226
2251
|
#### Parameters
|
|
2227
2252
|
|