@rxap/forms 21.0.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 +8 -0
- package/compodoc/changelog.html +7 -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 +7 -7
- 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 +17 -17
- package/types/rxap-forms.d.ts +954 -910
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/forms
|
|
1
|
+
[**@rxap/forms v22.0.0-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: RxapFormControl\<T, E, Parent\>
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
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)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.c
|
|
|
26
26
|
|
|
27
27
|
> **new RxapFormControl**\<`T`, `E`, `Parent`\>(`formState`, `options`): [`RxapFormControl`](RxapFormControl.md)\<`T`, `E`, `Parent`\>
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
29
|
+
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)
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:129](https://gitlab.
|
|
|
52
52
|
|
|
53
53
|
> `protected` **\_initialState**: [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
55
|
+
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)
|
|
56
56
|
|
|
57
57
|
***
|
|
58
58
|
|
|
@@ -60,7 +60,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:69](https://gitlab.c
|
|
|
60
60
|
|
|
61
61
|
> `readonly` **controlId**: `string`
|
|
62
62
|
|
|
63
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
63
|
+
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)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
@@ -68,7 +68,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:98](https://gitlab.c
|
|
|
68
68
|
|
|
69
69
|
> **defaultValue**: `any`
|
|
70
70
|
|
|
71
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
71
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1606
|
|
72
72
|
|
|
73
73
|
The default value of this FormControl, used whenever the control is reset without an explicit
|
|
74
74
|
value. See FormControlOptions#nonNullable for more information on configuring
|
|
@@ -84,7 +84,7 @@ a default value.
|
|
|
84
84
|
|
|
85
85
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
86
86
|
|
|
87
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
87
|
+
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)
|
|
88
88
|
|
|
89
89
|
***
|
|
90
90
|
|
|
@@ -92,7 +92,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:78](https://gitlab.c
|
|
|
92
92
|
|
|
93
93
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
94
94
|
|
|
95
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
95
|
+
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)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -100,22 +100,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.c
|
|
|
100
100
|
|
|
101
101
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
102
102
|
|
|
103
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
104
|
-
|
|
105
|
-
***
|
|
106
|
-
|
|
107
|
-
### errors
|
|
108
|
-
|
|
109
|
-
> `readonly` **errors**: `null` \| `E`
|
|
110
|
-
|
|
111
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/forms/src/lib/form-control.ts#L59)
|
|
112
|
-
|
|
113
|
-
An object containing any errors generated by failing validation,
|
|
114
|
-
or null if there are no errors.
|
|
115
|
-
|
|
116
|
-
#### Overrides
|
|
117
|
-
|
|
118
|
-
`UntypedFormControl.errors`
|
|
103
|
+
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)
|
|
119
104
|
|
|
120
105
|
***
|
|
121
106
|
|
|
@@ -123,7 +108,7 @@ or null if there are no errors.
|
|
|
123
108
|
|
|
124
109
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
125
110
|
|
|
126
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
111
|
+
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)
|
|
127
112
|
|
|
128
113
|
***
|
|
129
114
|
|
|
@@ -131,7 +116,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:96](https://gitlab.c
|
|
|
131
116
|
|
|
132
117
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
133
118
|
|
|
134
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
119
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2700
|
|
135
120
|
|
|
136
121
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
137
122
|
It emits for value, status, pristine or touched changes.
|
|
@@ -157,7 +142,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
157
142
|
|
|
158
143
|
> `readonly` **readonly$**: `Observable`\<`boolean`\>
|
|
159
144
|
|
|
160
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
145
|
+
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)
|
|
161
146
|
|
|
162
147
|
***
|
|
163
148
|
|
|
@@ -165,7 +150,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:103](https://gitlab.
|
|
|
165
150
|
|
|
166
151
|
> `readonly` **stateChanges**: `Subject`\<`void`\>
|
|
167
152
|
|
|
168
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
153
|
+
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)
|
|
169
154
|
|
|
170
155
|
***
|
|
171
156
|
|
|
@@ -173,7 +158,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.
|
|
|
173
158
|
|
|
174
159
|
> `readonly` **status**: [`ControlState`](../type-aliases/ControlState.md)
|
|
175
160
|
|
|
176
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
161
|
+
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)
|
|
177
162
|
|
|
178
163
|
The validation status of the control.
|
|
179
164
|
|
|
@@ -194,7 +179,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
194
179
|
|
|
195
180
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
|
|
196
181
|
|
|
197
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
182
|
+
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)
|
|
198
183
|
|
|
199
184
|
***
|
|
200
185
|
|
|
@@ -202,7 +187,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.c
|
|
|
202
187
|
|
|
203
188
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
|
|
204
189
|
|
|
205
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
190
|
+
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)
|
|
206
191
|
|
|
207
192
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
208
193
|
recalculates.
|
|
@@ -222,7 +207,7 @@ recalculates.
|
|
|
222
207
|
|
|
223
208
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
224
209
|
|
|
225
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
210
|
+
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)
|
|
226
211
|
|
|
227
212
|
***
|
|
228
213
|
|
|
@@ -230,7 +215,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.c
|
|
|
230
215
|
|
|
231
216
|
> `readonly` **value**: `T`
|
|
232
217
|
|
|
233
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
218
|
+
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)
|
|
234
219
|
|
|
235
220
|
The current value of the control.
|
|
236
221
|
|
|
@@ -252,7 +237,7 @@ with a key-value pair for each member of the group.
|
|
|
252
237
|
|
|
253
238
|
> `readonly` **value$**: `Observable`\<`T`\>
|
|
254
239
|
|
|
255
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
240
|
+
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)
|
|
256
241
|
|
|
257
242
|
***
|
|
258
243
|
|
|
@@ -260,7 +245,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:82](https://gitlab.c
|
|
|
260
245
|
|
|
261
246
|
> `readonly` **valueChanges**: `Observable`\<`T`\>
|
|
262
247
|
|
|
263
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
248
|
+
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)
|
|
264
249
|
|
|
265
250
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
266
251
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -284,7 +269,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
284
269
|
|
|
285
270
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
286
271
|
|
|
287
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
272
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2580
|
|
288
273
|
|
|
289
274
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
290
275
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -298,7 +283,7 @@ See `Validators.compose()` for additional information.
|
|
|
298
283
|
|
|
299
284
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
300
285
|
|
|
301
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
286
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2581
|
|
302
287
|
|
|
303
288
|
##### Parameters
|
|
304
289
|
|
|
@@ -322,7 +307,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
|
322
307
|
|
|
323
308
|
> **get** **controlPath**(): `string`
|
|
324
309
|
|
|
325
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
310
|
+
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)
|
|
326
311
|
|
|
327
312
|
##### Returns
|
|
328
313
|
|
|
@@ -336,7 +321,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:105](https://gitlab.
|
|
|
336
321
|
|
|
337
322
|
> **get** **dirty**(): `boolean`
|
|
338
323
|
|
|
339
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
324
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2670
|
|
340
325
|
|
|
341
326
|
A control is `dirty` if the user has changed the value
|
|
342
327
|
in the UI.
|
|
@@ -360,7 +345,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
360
345
|
|
|
361
346
|
> **get** **disabled**(): `boolean`
|
|
362
347
|
|
|
363
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
348
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2635
|
|
364
349
|
|
|
365
350
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
366
351
|
|
|
@@ -390,7 +375,7 @@ True if the control is disabled, false otherwise.
|
|
|
390
375
|
|
|
391
376
|
> **get** **enabled**(): `boolean`
|
|
392
377
|
|
|
393
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
378
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2645
|
|
394
379
|
|
|
395
380
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
396
381
|
|
|
@@ -411,13 +396,53 @@ false if the status is 'DISABLED'.
|
|
|
411
396
|
|
|
412
397
|
***
|
|
413
398
|
|
|
399
|
+
### errors
|
|
400
|
+
|
|
401
|
+
#### Get Signature
|
|
402
|
+
|
|
403
|
+
> **get** **errors**(): `null` \| `E`
|
|
404
|
+
|
|
405
|
+
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)
|
|
406
|
+
|
|
407
|
+
An object containing any errors generated by failing validation,
|
|
408
|
+
or null if there are no errors.
|
|
409
|
+
|
|
410
|
+
##### Returns
|
|
411
|
+
|
|
412
|
+
`null` \| `E`
|
|
413
|
+
|
|
414
|
+
#### Set Signature
|
|
415
|
+
|
|
416
|
+
> **set** **errors**(`value`): `void`
|
|
417
|
+
|
|
418
|
+
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)
|
|
419
|
+
|
|
420
|
+
An object containing any errors generated by failing validation,
|
|
421
|
+
or null if there are no errors.
|
|
422
|
+
|
|
423
|
+
##### Parameters
|
|
424
|
+
|
|
425
|
+
###### value
|
|
426
|
+
|
|
427
|
+
`null` | `E`
|
|
428
|
+
|
|
429
|
+
##### Returns
|
|
430
|
+
|
|
431
|
+
`void`
|
|
432
|
+
|
|
433
|
+
#### Overrides
|
|
434
|
+
|
|
435
|
+
`UntypedFormControl.errors`
|
|
436
|
+
|
|
437
|
+
***
|
|
438
|
+
|
|
414
439
|
### fullControlPath
|
|
415
440
|
|
|
416
441
|
#### Get Signature
|
|
417
442
|
|
|
418
443
|
> **get** **fullControlPath**(): `string`
|
|
419
444
|
|
|
420
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
445
|
+
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)
|
|
421
446
|
|
|
422
447
|
##### Returns
|
|
423
448
|
|
|
@@ -431,7 +456,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:119](https://gitlab.
|
|
|
431
456
|
|
|
432
457
|
> **get** **initialState**(): [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
|
|
433
458
|
|
|
434
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
459
|
+
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)
|
|
435
460
|
|
|
436
461
|
##### Returns
|
|
437
462
|
|
|
@@ -445,7 +470,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.c
|
|
|
445
470
|
|
|
446
471
|
> **get** **invalid**(): `boolean`
|
|
447
472
|
|
|
448
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
473
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2614
|
|
449
474
|
|
|
450
475
|
A control is `invalid` when its `status` is `INVALID`.
|
|
451
476
|
|
|
@@ -472,7 +497,7 @@ false otherwise.
|
|
|
472
497
|
|
|
473
498
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
474
499
|
|
|
475
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
500
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2585
|
|
476
501
|
|
|
477
502
|
The parent control.
|
|
478
503
|
|
|
@@ -492,7 +517,7 @@ The parent control.
|
|
|
492
517
|
|
|
493
518
|
> **get** **pending**(): `boolean`
|
|
494
519
|
|
|
495
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
520
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2623
|
|
496
521
|
|
|
497
522
|
A control is `pending` when its `status` is `PENDING`.
|
|
498
523
|
|
|
@@ -519,7 +544,7 @@ false otherwise.
|
|
|
519
544
|
|
|
520
545
|
> **get** **pristine**(): `boolean`
|
|
521
546
|
|
|
522
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
547
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2660
|
|
523
548
|
|
|
524
549
|
A control is `pristine` if the user has not yet changed
|
|
525
550
|
the value in the UI.
|
|
@@ -535,7 +560,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
535
560
|
|
|
536
561
|
> **set** **pristine**(`value`): `void`
|
|
537
562
|
|
|
538
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
563
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
539
564
|
|
|
540
565
|
##### Parameters
|
|
541
566
|
|
|
@@ -559,7 +584,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
|
559
584
|
|
|
560
585
|
> **get** **readonly**(): `boolean`
|
|
561
586
|
|
|
562
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
587
|
+
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)
|
|
563
588
|
|
|
564
589
|
##### Returns
|
|
565
590
|
|
|
@@ -569,7 +594,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:86](https://gitlab.c
|
|
|
569
594
|
|
|
570
595
|
> **set** **readonly**(`value`): `void`
|
|
571
596
|
|
|
572
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
597
|
+
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)
|
|
573
598
|
|
|
574
599
|
##### Parameters
|
|
575
600
|
|
|
@@ -589,7 +614,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:90](https://gitlab.c
|
|
|
589
614
|
|
|
590
615
|
> **get** **root**(): `AbstractControl`
|
|
591
616
|
|
|
592
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
617
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3212
|
|
593
618
|
|
|
594
619
|
Retrieves the top-level ancestor of this control.
|
|
595
620
|
|
|
@@ -609,7 +634,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
609
634
|
|
|
610
635
|
> **get** **rxapFormDefinition**(): `undefined` \| `Partial`\<[`FormDefinition`](../interfaces/FormDefinition.md)\<`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`](../interfaces/FormDefinition.md)\<`Parent`, `any`, `any`\>
|
|
611
636
|
|
|
612
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
637
|
+
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)
|
|
613
638
|
|
|
614
639
|
**`Internal`**
|
|
615
640
|
|
|
@@ -625,7 +650,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.c
|
|
|
625
650
|
|
|
626
651
|
> **get** **touched**(): `boolean`
|
|
627
652
|
|
|
628
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
653
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
629
654
|
|
|
630
655
|
True if the control is marked as `touched`.
|
|
631
656
|
|
|
@@ -640,7 +665,7 @@ a `blur` event on it.
|
|
|
640
665
|
|
|
641
666
|
> **set** **touched**(`value`): `void`
|
|
642
667
|
|
|
643
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
668
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2678
|
|
644
669
|
|
|
645
670
|
##### Parameters
|
|
646
671
|
|
|
@@ -664,7 +689,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
|
664
689
|
|
|
665
690
|
> **get** **untouched**(): `boolean`
|
|
666
691
|
|
|
667
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
692
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2686
|
|
668
693
|
|
|
669
694
|
True if the control has not been marked as touched
|
|
670
695
|
|
|
@@ -687,7 +712,7 @@ a `blur` event on it.
|
|
|
687
712
|
|
|
688
713
|
> **get** **updateOn**(): `FormHooks`
|
|
689
714
|
|
|
690
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
715
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2727
|
|
691
716
|
|
|
692
717
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
693
718
|
the event on which the control updates itself).
|
|
@@ -710,7 +735,7 @@ Default value: `'change'`
|
|
|
710
735
|
|
|
711
736
|
> **get** **valid**(): `boolean`
|
|
712
737
|
|
|
713
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
738
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2605
|
|
714
739
|
|
|
715
740
|
A control is `valid` when its `status` is `VALID`.
|
|
716
741
|
|
|
@@ -737,7 +762,7 @@ false otherwise.
|
|
|
737
762
|
|
|
738
763
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
739
764
|
|
|
740
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
765
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
741
766
|
|
|
742
767
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
743
768
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -751,7 +776,7 @@ See `Validators.compose()` for additional information.
|
|
|
751
776
|
|
|
752
777
|
> **set** **validator**(`validatorFn`): `void`
|
|
753
778
|
|
|
754
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
779
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
755
780
|
|
|
756
781
|
##### Parameters
|
|
757
782
|
|
|
@@ -773,7 +798,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
|
773
798
|
|
|
774
799
|
> **addAsyncValidators**(`validators`): `void`
|
|
775
800
|
|
|
776
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
801
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2774
|
|
777
802
|
|
|
778
803
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
779
804
|
validators.
|
|
@@ -805,7 +830,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
805
830
|
|
|
806
831
|
> **addValidators**(`validators`): `void`
|
|
807
832
|
|
|
808
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
833
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2762
|
|
809
834
|
|
|
810
835
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
811
836
|
|
|
@@ -838,7 +863,7 @@ The new validator function or functions to add to this control.
|
|
|
838
863
|
|
|
839
864
|
> **clearAsyncValidators**(): `void`
|
|
840
865
|
|
|
841
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
866
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2861
|
|
842
867
|
|
|
843
868
|
Empties out the async validator list.
|
|
844
869
|
|
|
@@ -859,7 +884,7 @@ When you add or remove a validator at run time, you must call
|
|
|
859
884
|
|
|
860
885
|
> **clearValidators**(): `void`
|
|
861
886
|
|
|
862
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
887
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2853
|
|
863
888
|
|
|
864
889
|
Empties out the synchronous validator list.
|
|
865
890
|
|
|
@@ -880,7 +905,7 @@ When you add or remove a validator at run time, you must call
|
|
|
880
905
|
|
|
881
906
|
> **disable**(`opts`?): `void`
|
|
882
907
|
|
|
883
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
908
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3029
|
|
884
909
|
|
|
885
910
|
Disables the control. This means the control is exempt from validation checks and
|
|
886
911
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -926,7 +951,7 @@ When false, no events are emitted.
|
|
|
926
951
|
|
|
927
952
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
928
953
|
|
|
929
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
954
|
+
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)
|
|
930
955
|
|
|
931
956
|
#### Parameters
|
|
932
957
|
|
|
@@ -948,7 +973,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:191](https://gitlab.
|
|
|
948
973
|
|
|
949
974
|
> **enable**(`opts`?): `void`
|
|
950
975
|
|
|
951
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
976
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3051
|
|
952
977
|
|
|
953
978
|
Enables the control. This means the control is included in validation checks and
|
|
954
979
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -995,7 +1020,7 @@ When false, no events are emitted.
|
|
|
995
1020
|
|
|
996
1021
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
997
1022
|
|
|
998
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1023
|
+
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)
|
|
999
1024
|
|
|
1000
1025
|
#### Parameters
|
|
1001
1026
|
|
|
@@ -1019,7 +1044,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:198](https://gitlab.
|
|
|
1019
1044
|
|
|
1020
1045
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1021
1046
|
|
|
1022
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1047
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3142
|
|
1023
1048
|
|
|
1024
1049
|
Retrieves a child control given the control's name or path.
|
|
1025
1050
|
|
|
@@ -1047,7 +1072,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1047
1072
|
|
|
1048
1073
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1049
1074
|
|
|
1050
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1075
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3149
|
|
1051
1076
|
|
|
1052
1077
|
Retrieves a child control given the control's name or path.
|
|
1053
1078
|
|
|
@@ -1078,7 +1103,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1078
1103
|
|
|
1079
1104
|
> **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
|
|
1080
1105
|
|
|
1081
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1106
|
+
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)
|
|
1082
1107
|
|
|
1083
1108
|
#### Type Parameters
|
|
1084
1109
|
|
|
@@ -1130,7 +1155,7 @@ It can be provided to this method in one of two formats:
|
|
|
1130
1155
|
|
|
1131
1156
|
> **getRawValue**(): `any`
|
|
1132
1157
|
|
|
1133
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1158
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1693
|
|
1134
1159
|
|
|
1135
1160
|
For a simple FormControl, the raw value is equivalent to the value.
|
|
1136
1161
|
|
|
@@ -1148,7 +1173,7 @@ For a simple FormControl, the raw value is equivalent to the value.
|
|
|
1148
1173
|
|
|
1149
1174
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1150
1175
|
|
|
1151
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1176
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2845
|
|
1152
1177
|
|
|
1153
1178
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1154
1179
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1178,7 +1203,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1178
1203
|
|
|
1179
1204
|
> **hasError**\<`K`\>(`errorCode`): `boolean`
|
|
1180
1205
|
|
|
1181
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1206
|
+
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)
|
|
1182
1207
|
|
|
1183
1208
|
#### Type Parameters
|
|
1184
1209
|
|
|
@@ -1233,7 +1258,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1233
1258
|
|
|
1234
1259
|
> **hasErrorAndDirty**(`error`): `boolean`
|
|
1235
1260
|
|
|
1236
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1261
|
+
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)
|
|
1237
1262
|
|
|
1238
1263
|
#### Parameters
|
|
1239
1264
|
|
|
@@ -1251,7 +1276,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:299](https://gitlab.
|
|
|
1251
1276
|
|
|
1252
1277
|
> **hasErrorAndTouched**(`error`): `boolean`
|
|
1253
1278
|
|
|
1254
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1279
|
+
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)
|
|
1255
1280
|
|
|
1256
1281
|
#### Parameters
|
|
1257
1282
|
|
|
@@ -1269,7 +1294,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:295](https://gitlab.
|
|
|
1269
1294
|
|
|
1270
1295
|
> **hasValidator**(`validator`): `boolean`
|
|
1271
1296
|
|
|
1272
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1297
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
1273
1298
|
|
|
1274
1299
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1275
1300
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1312,7 +1337,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1312
1337
|
|
|
1313
1338
|
> **markAllAsDirty**(): `void`
|
|
1314
1339
|
|
|
1315
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1340
|
+
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)
|
|
1316
1341
|
|
|
1317
1342
|
Marks the control and all its descendant controls as `dirty`.
|
|
1318
1343
|
|
|
@@ -1335,7 +1360,7 @@ Marks the control and all its descendant controls as `dirty`.
|
|
|
1335
1360
|
|
|
1336
1361
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1337
1362
|
|
|
1338
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1363
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2914
|
|
1339
1364
|
|
|
1340
1365
|
Marks the control and all its descendant controls as `touched`.
|
|
1341
1366
|
|
|
@@ -1372,7 +1397,7 @@ When false, no events are emitted.
|
|
|
1372
1397
|
|
|
1373
1398
|
> **markAsDirty**(`opts`?): `void`
|
|
1374
1399
|
|
|
1375
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1400
|
+
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)
|
|
1376
1401
|
|
|
1377
1402
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1378
1403
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1412,7 +1437,7 @@ When false, no events are emitted.
|
|
|
1412
1437
|
|
|
1413
1438
|
> **markAsPending**(`opts`?): `void`
|
|
1414
1439
|
|
|
1415
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1440
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3008
|
|
1416
1441
|
|
|
1417
1442
|
Marks the control as `pending`.
|
|
1418
1443
|
|
|
@@ -1457,7 +1482,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1457
1482
|
|
|
1458
1483
|
> **markAsPristine**(`opts`?): `void`
|
|
1459
1484
|
|
|
1460
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1485
|
+
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)
|
|
1461
1486
|
|
|
1462
1487
|
Marks the control as `pristine`.
|
|
1463
1488
|
|
|
@@ -1500,7 +1525,7 @@ When false, no events are emitted.
|
|
|
1500
1525
|
|
|
1501
1526
|
> **markAsTouched**(`opts`?): `void`
|
|
1502
1527
|
|
|
1503
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1528
|
+
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)
|
|
1504
1529
|
|
|
1505
1530
|
Marks the control as `touched`. A control is touched by focus and
|
|
1506
1531
|
blur events that do not change the value.
|
|
@@ -1540,7 +1565,7 @@ When false, no events are emitted.
|
|
|
1540
1565
|
|
|
1541
1566
|
> **markAsUntouched**(`opts`?): `void`
|
|
1542
1567
|
|
|
1543
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1568
|
+
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)
|
|
1544
1569
|
|
|
1545
1570
|
Marks the control as `untouched`.
|
|
1546
1571
|
|
|
@@ -1582,7 +1607,7 @@ When false, no events are emitted.
|
|
|
1582
1607
|
|
|
1583
1608
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1584
1609
|
|
|
1585
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1610
|
+
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)
|
|
1586
1611
|
|
|
1587
1612
|
#### Parameters
|
|
1588
1613
|
|
|
@@ -1600,7 +1625,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:209](https://gitlab.
|
|
|
1600
1625
|
|
|
1601
1626
|
> **mergeValidators**(`validators`): `void`
|
|
1602
1627
|
|
|
1603
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1628
|
+
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)
|
|
1604
1629
|
|
|
1605
1630
|
#### Parameters
|
|
1606
1631
|
|
|
@@ -1620,7 +1645,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:205](https://gitlab.
|
|
|
1620
1645
|
|
|
1621
1646
|
> **patchValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
1622
1647
|
|
|
1623
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1648
|
+
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)
|
|
1624
1649
|
|
|
1625
1650
|
Patches the value of a control.
|
|
1626
1651
|
|
|
@@ -1654,7 +1679,7 @@ FormControl#setValue for options
|
|
|
1654
1679
|
|
|
1655
1680
|
> **patchValue**(`valueOrObservable`, `options`?): `void`
|
|
1656
1681
|
|
|
1657
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1682
|
+
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)
|
|
1658
1683
|
|
|
1659
1684
|
##### Parameters
|
|
1660
1685
|
|
|
@@ -1680,7 +1705,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:170](https://gitlab.
|
|
|
1680
1705
|
|
|
1681
1706
|
> **registerOnChange**(`fn`): `void`
|
|
1682
1707
|
|
|
1683
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1708
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1699
|
|
1684
1709
|
|
|
1685
1710
|
Register a listener for change events.
|
|
1686
1711
|
|
|
@@ -1706,7 +1731,7 @@ The method that is called when the value changes
|
|
|
1706
1731
|
|
|
1707
1732
|
> **registerOnDisabledChange**(`fn`): `void`
|
|
1708
1733
|
|
|
1709
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1734
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1705
|
|
1710
1735
|
|
|
1711
1736
|
Register a listener for disabled events.
|
|
1712
1737
|
|
|
@@ -1732,7 +1757,7 @@ The method that is called when the disabled status changes.
|
|
|
1732
1757
|
|
|
1733
1758
|
> **registerOnSetValue**(`setValueFn`): `void`
|
|
1734
1759
|
|
|
1735
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1760
|
+
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)
|
|
1736
1761
|
|
|
1737
1762
|
#### Parameters
|
|
1738
1763
|
|
|
@@ -1750,7 +1775,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:311](https://gitlab.
|
|
|
1750
1775
|
|
|
1751
1776
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1752
1777
|
|
|
1753
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1778
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2814
|
|
1754
1779
|
|
|
1755
1780
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1756
1781
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1782,7 +1807,7 @@ The asynchronous validator or validators to remove.
|
|
|
1782
1807
|
|
|
1783
1808
|
> **removeValidators**(`validators`): `void`
|
|
1784
1809
|
|
|
1785
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1810
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2802
|
|
1786
1811
|
|
|
1787
1812
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1788
1813
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1830,7 +1855,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1830
1855
|
|
|
1831
1856
|
> **reset**(`formState`?, `options`?): `void`
|
|
1832
1857
|
|
|
1833
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1858
|
+
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)
|
|
1834
1859
|
|
|
1835
1860
|
Resets the form control, marking it `pristine` and `untouched`, and resetting
|
|
1836
1861
|
the value. The new value will be the provided value (if passed), `null`, or the initial value
|
|
@@ -1888,7 +1913,7 @@ When false, no events are emitted.
|
|
|
1888
1913
|
|
|
1889
1914
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
1890
1915
|
|
|
1891
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1916
|
+
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)
|
|
1892
1917
|
|
|
1893
1918
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1894
1919
|
overwrites any existing asynchronous validators.
|
|
@@ -1923,7 +1948,7 @@ using `addAsyncValidators()` method instead.
|
|
|
1923
1948
|
|
|
1924
1949
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
1925
1950
|
|
|
1926
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1951
|
+
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)
|
|
1927
1952
|
|
|
1928
1953
|
#### Parameters
|
|
1929
1954
|
|
|
@@ -1945,7 +1970,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:307](https://gitlab.
|
|
|
1945
1970
|
|
|
1946
1971
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
1947
1972
|
|
|
1948
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1973
|
+
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)
|
|
1949
1974
|
|
|
1950
1975
|
#### Parameters
|
|
1951
1976
|
|
|
@@ -1967,7 +1992,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:303](https://gitlab.
|
|
|
1967
1992
|
|
|
1968
1993
|
> **setError**(`key`, `value`, `opts`): `void`
|
|
1969
1994
|
|
|
1970
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1995
|
+
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)
|
|
1971
1996
|
|
|
1972
1997
|
#### Parameters
|
|
1973
1998
|
|
|
@@ -1993,7 +2018,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:291](https://gitlab.
|
|
|
1993
2018
|
|
|
1994
2019
|
> **setErrors**(`errors`, `opts`): `void`
|
|
1995
2020
|
|
|
1996
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2021
|
+
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)
|
|
1997
2022
|
|
|
1998
2023
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1999
2024
|
|
|
@@ -2048,7 +2073,7 @@ expect(login.valid).toEqual(true);
|
|
|
2048
2073
|
|
|
2049
2074
|
> **setParent**(`parent`): `void`
|
|
2050
2075
|
|
|
2051
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2076
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3061
|
|
2052
2077
|
|
|
2053
2078
|
Sets the parent of the control
|
|
2054
2079
|
|
|
@@ -2074,7 +2099,7 @@ The new parent.
|
|
|
2074
2099
|
|
|
2075
2100
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2076
2101
|
|
|
2077
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2102
|
+
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)
|
|
2078
2103
|
|
|
2079
2104
|
Sets the synchronous validators that are active on this control. Calling
|
|
2080
2105
|
this overwrites any existing synchronous validators.
|
|
@@ -2111,7 +2136,7 @@ using `addValidators()` method instead.
|
|
|
2111
2136
|
|
|
2112
2137
|
> **setValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
2113
2138
|
|
|
2114
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2139
|
+
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)
|
|
2115
2140
|
|
|
2116
2141
|
Sets a new value for the form control.
|
|
2117
2142
|
|
|
@@ -2154,7 +2179,7 @@ event to update the model.
|
|
|
2154
2179
|
|
|
2155
2180
|
> **setValue**(`valueOrObservable`, `options`?): `void`
|
|
2156
2181
|
|
|
2157
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2182
|
+
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)
|
|
2158
2183
|
|
|
2159
2184
|
##### Parameters
|
|
2160
2185
|
|
|
@@ -2180,7 +2205,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:148](https://gitlab.
|
|
|
2180
2205
|
|
|
2181
2206
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2182
2207
|
|
|
2183
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2208
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3096
|
|
2184
2209
|
|
|
2185
2210
|
Recalculates the value and validation status of the control.
|
|
2186
2211
|
|
|
@@ -2225,7 +2250,7 @@ When false, no events are emitted.
|
|
|
2225
2250
|
|
|
2226
2251
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2227
2252
|
|
|
2228
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2253
|
+
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)
|
|
2229
2254
|
|
|
2230
2255
|
#### Parameters
|
|
2231
2256
|
|