@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
|
# Interface: AbstractControl\<T\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L71)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -18,22 +18,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:71](https://gitlab.com/rxap
|
|
|
18
18
|
|
|
19
19
|
> `optional` **controlId**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap/packages/-/blob/
|
|
22
|
-
|
|
23
|
-
***
|
|
24
|
-
|
|
25
|
-
### errors
|
|
26
|
-
|
|
27
|
-
> `readonly` **errors**: `null` \| `ValidationErrors`
|
|
28
|
-
|
|
29
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2643
|
|
30
|
-
|
|
31
|
-
An object containing any errors generated by failing validation,
|
|
32
|
-
or null if there are no errors.
|
|
33
|
-
|
|
34
|
-
#### Inherited from
|
|
35
|
-
|
|
36
|
-
`NgAbstractControl.errors`
|
|
21
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:73](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L73)
|
|
37
22
|
|
|
38
23
|
***
|
|
39
24
|
|
|
@@ -41,7 +26,7 @@ or null if there are no errors.
|
|
|
41
26
|
|
|
42
27
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
43
28
|
|
|
44
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
29
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2700
|
|
45
30
|
|
|
46
31
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
47
32
|
It emits for value, status, pristine or touched changes.
|
|
@@ -67,7 +52,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
67
52
|
|
|
68
53
|
> `optional` **fullControlPath**: `string`
|
|
69
54
|
|
|
70
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L74)
|
|
71
56
|
|
|
72
57
|
***
|
|
73
58
|
|
|
@@ -75,7 +60,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:74](https://gitlab.com/rxap
|
|
|
75
60
|
|
|
76
61
|
> `optional` **readonly**: `boolean`
|
|
77
62
|
|
|
78
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap/packages/-/blob/
|
|
63
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L76)
|
|
79
64
|
|
|
80
65
|
***
|
|
81
66
|
|
|
@@ -83,7 +68,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:76](https://gitlab.com/rxap
|
|
|
83
68
|
|
|
84
69
|
> `optional` **rxapFormDefinition**: [`FormDefinition`](../wiki/Interface.FormDefinition)\<`any`, `any`, `any`\>
|
|
85
70
|
|
|
86
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap/packages/-/blob/
|
|
71
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L75)
|
|
87
72
|
|
|
88
73
|
***
|
|
89
74
|
|
|
@@ -91,7 +76,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:75](https://gitlab.com/rxap
|
|
|
91
76
|
|
|
92
77
|
> `optional` **stateChanges**: `Subject`\<`any`\>
|
|
93
78
|
|
|
94
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap/packages/-/blob/
|
|
79
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L77)
|
|
95
80
|
|
|
96
81
|
***
|
|
97
82
|
|
|
@@ -99,7 +84,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:77](https://gitlab.com/rxap
|
|
|
99
84
|
|
|
100
85
|
> `readonly` **statusChanges**: `Observable`\<`FormControlStatus`\>
|
|
101
86
|
|
|
102
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
87
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2720
|
|
103
88
|
|
|
104
89
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
105
90
|
recalculates.
|
|
@@ -119,7 +104,7 @@ recalculates.
|
|
|
119
104
|
|
|
120
105
|
> **value**: `T`
|
|
121
106
|
|
|
122
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:72](https://gitlab.com/rxap/packages/-/blob/
|
|
107
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:72](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L72)
|
|
123
108
|
|
|
124
109
|
The current value of the control.
|
|
125
110
|
|
|
@@ -141,7 +126,7 @@ with a key-value pair for each member of the group.
|
|
|
141
126
|
|
|
142
127
|
> `readonly` **valueChanges**: `Observable`\<`any`\>
|
|
143
128
|
|
|
144
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
129
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2712
|
|
145
130
|
|
|
146
131
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
147
132
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -165,7 +150,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
165
150
|
|
|
166
151
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
167
152
|
|
|
168
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
153
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2580
|
|
169
154
|
|
|
170
155
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
171
156
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -179,7 +164,7 @@ See `Validators.compose()` for additional information.
|
|
|
179
164
|
|
|
180
165
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
181
166
|
|
|
182
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
167
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2581
|
|
183
168
|
|
|
184
169
|
##### Parameters
|
|
185
170
|
|
|
@@ -203,7 +188,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
|
203
188
|
|
|
204
189
|
> **get** **dirty**(): `boolean`
|
|
205
190
|
|
|
206
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
191
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2670
|
|
207
192
|
|
|
208
193
|
A control is `dirty` if the user has changed the value
|
|
209
194
|
in the UI.
|
|
@@ -227,7 +212,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
227
212
|
|
|
228
213
|
> **get** **disabled**(): `boolean`
|
|
229
214
|
|
|
230
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
215
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2635
|
|
231
216
|
|
|
232
217
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
233
218
|
|
|
@@ -257,7 +242,7 @@ True if the control is disabled, false otherwise.
|
|
|
257
242
|
|
|
258
243
|
> **get** **enabled**(): `boolean`
|
|
259
244
|
|
|
260
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
245
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2645
|
|
261
246
|
|
|
262
247
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
263
248
|
|
|
@@ -278,13 +263,50 @@ false if the status is 'DISABLED'.
|
|
|
278
263
|
|
|
279
264
|
***
|
|
280
265
|
|
|
266
|
+
### errors
|
|
267
|
+
|
|
268
|
+
#### Get Signature
|
|
269
|
+
|
|
270
|
+
> **get** **errors**(): `null` \| `ValidationErrors`
|
|
271
|
+
|
|
272
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2650
|
|
273
|
+
|
|
274
|
+
An object containing any errors generated by failing validation,
|
|
275
|
+
or null if there are no errors.
|
|
276
|
+
|
|
277
|
+
##### Returns
|
|
278
|
+
|
|
279
|
+
`null` \| `ValidationErrors`
|
|
280
|
+
|
|
281
|
+
#### Set Signature
|
|
282
|
+
|
|
283
|
+
> **set** **errors**(`value`): `void`
|
|
284
|
+
|
|
285
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2651
|
|
286
|
+
|
|
287
|
+
##### Parameters
|
|
288
|
+
|
|
289
|
+
###### value
|
|
290
|
+
|
|
291
|
+
`null` | `ValidationErrors`
|
|
292
|
+
|
|
293
|
+
##### Returns
|
|
294
|
+
|
|
295
|
+
`void`
|
|
296
|
+
|
|
297
|
+
#### Inherited from
|
|
298
|
+
|
|
299
|
+
`NgAbstractControl.errors`
|
|
300
|
+
|
|
301
|
+
***
|
|
302
|
+
|
|
281
303
|
### invalid
|
|
282
304
|
|
|
283
305
|
#### Get Signature
|
|
284
306
|
|
|
285
307
|
> **get** **invalid**(): `boolean`
|
|
286
308
|
|
|
287
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
309
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2614
|
|
288
310
|
|
|
289
311
|
A control is `invalid` when its `status` is `INVALID`.
|
|
290
312
|
|
|
@@ -311,7 +333,7 @@ false otherwise.
|
|
|
311
333
|
|
|
312
334
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
313
335
|
|
|
314
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
336
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2585
|
|
315
337
|
|
|
316
338
|
The parent control.
|
|
317
339
|
|
|
@@ -331,7 +353,7 @@ The parent control.
|
|
|
331
353
|
|
|
332
354
|
> **get** **pending**(): `boolean`
|
|
333
355
|
|
|
334
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
356
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2623
|
|
335
357
|
|
|
336
358
|
A control is `pending` when its `status` is `PENDING`.
|
|
337
359
|
|
|
@@ -358,7 +380,7 @@ false otherwise.
|
|
|
358
380
|
|
|
359
381
|
> **get** **pristine**(): `boolean`
|
|
360
382
|
|
|
361
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
383
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2660
|
|
362
384
|
|
|
363
385
|
A control is `pristine` if the user has not yet changed
|
|
364
386
|
the value in the UI.
|
|
@@ -374,7 +396,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
374
396
|
|
|
375
397
|
> **set** **pristine**(`value`): `void`
|
|
376
398
|
|
|
377
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
399
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
378
400
|
|
|
379
401
|
##### Parameters
|
|
380
402
|
|
|
@@ -398,7 +420,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
|
398
420
|
|
|
399
421
|
> **get** **root**(): `AbstractControl`
|
|
400
422
|
|
|
401
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
423
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3212
|
|
402
424
|
|
|
403
425
|
Retrieves the top-level ancestor of this control.
|
|
404
426
|
|
|
@@ -418,7 +440,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
418
440
|
|
|
419
441
|
> **get** **status**(): `FormControlStatus`
|
|
420
442
|
|
|
421
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
443
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2594
|
|
422
444
|
|
|
423
445
|
The validation status of the control.
|
|
424
446
|
|
|
@@ -437,7 +459,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
437
459
|
|
|
438
460
|
> **set** **status**(`value`): `void`
|
|
439
461
|
|
|
440
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
462
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2595
|
|
441
463
|
|
|
442
464
|
##### Parameters
|
|
443
465
|
|
|
@@ -461,7 +483,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2588
|
|
|
461
483
|
|
|
462
484
|
> **get** **touched**(): `boolean`
|
|
463
485
|
|
|
464
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
486
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
465
487
|
|
|
466
488
|
True if the control is marked as `touched`.
|
|
467
489
|
|
|
@@ -476,7 +498,7 @@ a `blur` event on it.
|
|
|
476
498
|
|
|
477
499
|
> **set** **touched**(`value`): `void`
|
|
478
500
|
|
|
479
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
501
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2678
|
|
480
502
|
|
|
481
503
|
##### Parameters
|
|
482
504
|
|
|
@@ -500,7 +522,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
|
500
522
|
|
|
501
523
|
> **get** **untouched**(): `boolean`
|
|
502
524
|
|
|
503
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
525
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2686
|
|
504
526
|
|
|
505
527
|
True if the control has not been marked as touched
|
|
506
528
|
|
|
@@ -523,7 +545,7 @@ a `blur` event on it.
|
|
|
523
545
|
|
|
524
546
|
> **get** **updateOn**(): `FormHooks`
|
|
525
547
|
|
|
526
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
548
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2727
|
|
527
549
|
|
|
528
550
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
529
551
|
the event on which the control updates itself).
|
|
@@ -546,7 +568,7 @@ Default value: `'change'`
|
|
|
546
568
|
|
|
547
569
|
> **get** **valid**(): `boolean`
|
|
548
570
|
|
|
549
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
571
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2605
|
|
550
572
|
|
|
551
573
|
A control is `valid` when its `status` is `VALID`.
|
|
552
574
|
|
|
@@ -573,7 +595,7 @@ false otherwise.
|
|
|
573
595
|
|
|
574
596
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
575
597
|
|
|
576
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
598
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
577
599
|
|
|
578
600
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
579
601
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -587,7 +609,7 @@ See `Validators.compose()` for additional information.
|
|
|
587
609
|
|
|
588
610
|
> **set** **validator**(`validatorFn`): `void`
|
|
589
611
|
|
|
590
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
612
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
591
613
|
|
|
592
614
|
##### Parameters
|
|
593
615
|
|
|
@@ -609,7 +631,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
|
609
631
|
|
|
610
632
|
> **addAsyncValidators**(`validators`): `void`
|
|
611
633
|
|
|
612
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
634
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2774
|
|
613
635
|
|
|
614
636
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
615
637
|
validators.
|
|
@@ -641,7 +663,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
641
663
|
|
|
642
664
|
> **addValidators**(`validators`): `void`
|
|
643
665
|
|
|
644
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
666
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2762
|
|
645
667
|
|
|
646
668
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
647
669
|
|
|
@@ -674,7 +696,7 @@ The new validator function or functions to add to this control.
|
|
|
674
696
|
|
|
675
697
|
> **clearAsyncValidators**(): `void`
|
|
676
698
|
|
|
677
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
699
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2861
|
|
678
700
|
|
|
679
701
|
Empties out the async validator list.
|
|
680
702
|
|
|
@@ -695,7 +717,7 @@ When you add or remove a validator at run time, you must call
|
|
|
695
717
|
|
|
696
718
|
> **clearValidators**(): `void`
|
|
697
719
|
|
|
698
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
720
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2853
|
|
699
721
|
|
|
700
722
|
Empties out the synchronous validator list.
|
|
701
723
|
|
|
@@ -716,7 +738,7 @@ When you add or remove a validator at run time, you must call
|
|
|
716
738
|
|
|
717
739
|
> **disable**(`opts`?): `void`
|
|
718
740
|
|
|
719
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
741
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3029
|
|
720
742
|
|
|
721
743
|
Disables the control. This means the control is exempt from validation checks and
|
|
722
744
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -762,7 +784,7 @@ When false, no events are emitted.
|
|
|
762
784
|
|
|
763
785
|
> **enable**(`opts`?): `void`
|
|
764
786
|
|
|
765
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
787
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3051
|
|
766
788
|
|
|
767
789
|
Enables the control. This means the control is included in validation checks and
|
|
768
790
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -811,7 +833,7 @@ When false, no events are emitted.
|
|
|
811
833
|
|
|
812
834
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
813
835
|
|
|
814
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
836
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3142
|
|
815
837
|
|
|
816
838
|
Retrieves a child control given the control's name or path.
|
|
817
839
|
|
|
@@ -839,7 +861,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
839
861
|
|
|
840
862
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
841
863
|
|
|
842
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
864
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3149
|
|
843
865
|
|
|
844
866
|
Retrieves a child control given the control's name or path.
|
|
845
867
|
|
|
@@ -870,7 +892,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
870
892
|
|
|
871
893
|
> **getError**(`errorCode`, `path`?): `any`
|
|
872
894
|
|
|
873
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
895
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3177
|
|
874
896
|
|
|
875
897
|
#### Parameters
|
|
876
898
|
|
|
@@ -925,7 +947,7 @@ It can be provided to this method in one of two formats:
|
|
|
925
947
|
|
|
926
948
|
> **getRawValue**(): `any`
|
|
927
949
|
|
|
928
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
950
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3078
|
|
929
951
|
|
|
930
952
|
The raw value of this control. For most control implementations, the raw value will include
|
|
931
953
|
disabled children.
|
|
@@ -944,7 +966,7 @@ disabled children.
|
|
|
944
966
|
|
|
945
967
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
946
968
|
|
|
947
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
969
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2845
|
|
948
970
|
|
|
949
971
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
950
972
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -974,7 +996,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
974
996
|
|
|
975
997
|
> **hasError**(`errorCode`, `path`?): `boolean`
|
|
976
998
|
|
|
977
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
999
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3208
|
|
978
1000
|
|
|
979
1001
|
#### Parameters
|
|
980
1002
|
|
|
@@ -1032,7 +1054,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1032
1054
|
|
|
1033
1055
|
> **hasValidator**(`validator`): `boolean`
|
|
1034
1056
|
|
|
1035
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1057
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
1036
1058
|
|
|
1037
1059
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1038
1060
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1075,7 +1097,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1075
1097
|
|
|
1076
1098
|
> **markAllAsDirty**(`opts`?): `void`
|
|
1077
1099
|
|
|
1078
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1100
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2898
|
|
1079
1101
|
|
|
1080
1102
|
Marks the control and all its descendant controls as `dirty`.
|
|
1081
1103
|
|
|
@@ -1112,7 +1134,7 @@ When false, no events are emitted.
|
|
|
1112
1134
|
|
|
1113
1135
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1114
1136
|
|
|
1115
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1137
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2914
|
|
1116
1138
|
|
|
1117
1139
|
Marks the control and all its descendant controls as `touched`.
|
|
1118
1140
|
|
|
@@ -1149,7 +1171,7 @@ When false, no events are emitted.
|
|
|
1149
1171
|
|
|
1150
1172
|
> **markAsDirty**(`opts`?): `void`
|
|
1151
1173
|
|
|
1152
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1174
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2961
|
|
1153
1175
|
|
|
1154
1176
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1155
1177
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1195,7 +1217,7 @@ When false, no events are emitted.
|
|
|
1195
1217
|
|
|
1196
1218
|
> **markAsPending**(`opts`?): `void`
|
|
1197
1219
|
|
|
1198
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1220
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3008
|
|
1199
1221
|
|
|
1200
1222
|
Marks the control as `pending`.
|
|
1201
1223
|
|
|
@@ -1240,7 +1262,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1240
1262
|
|
|
1241
1263
|
> **markAsPristine**(`opts`?): `void`
|
|
1242
1264
|
|
|
1243
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1265
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2987
|
|
1244
1266
|
|
|
1245
1267
|
Marks the control as `pristine`.
|
|
1246
1268
|
|
|
@@ -1289,7 +1311,7 @@ When false, no events are emitted.
|
|
|
1289
1311
|
|
|
1290
1312
|
> **markAsTouched**(`opts`?): `void`
|
|
1291
1313
|
|
|
1292
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1314
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2881
|
|
1293
1315
|
|
|
1294
1316
|
Marks the control as `touched`. A control is touched by focus and
|
|
1295
1317
|
blur events that do not change the value.
|
|
@@ -1335,7 +1357,7 @@ When false, no events are emitted.
|
|
|
1335
1357
|
|
|
1336
1358
|
> **markAsUntouched**(`opts`?): `void`
|
|
1337
1359
|
|
|
1338
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1360
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2938
|
|
1339
1361
|
|
|
1340
1362
|
Marks the control as `untouched`.
|
|
1341
1363
|
|
|
@@ -1383,7 +1405,7 @@ When false, no events are emitted.
|
|
|
1383
1405
|
|
|
1384
1406
|
> `abstract` **patchValue**(`value`, `options`?): `void`
|
|
1385
1407
|
|
|
1386
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1408
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3069
|
|
1387
1409
|
|
|
1388
1410
|
Patches the value of the control. Abstract method (implemented in sub-classes).
|
|
1389
1411
|
|
|
@@ -1411,7 +1433,7 @@ Patches the value of the control. Abstract method (implemented in sub-classes).
|
|
|
1411
1433
|
|
|
1412
1434
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1413
1435
|
|
|
1414
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1436
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2814
|
|
1415
1437
|
|
|
1416
1438
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1417
1439
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1443,7 +1465,7 @@ The asynchronous validator or validators to remove.
|
|
|
1443
1465
|
|
|
1444
1466
|
> **removeValidators**(`validators`): `void`
|
|
1445
1467
|
|
|
1446
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1468
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2802
|
|
1447
1469
|
|
|
1448
1470
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1449
1471
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1491,7 +1513,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1491
1513
|
|
|
1492
1514
|
> `abstract` **reset**(`value`?, `options`?): `void`
|
|
1493
1515
|
|
|
1494
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1516
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3073
|
|
1495
1517
|
|
|
1496
1518
|
Resets the control. Abstract method (implemented in sub-classes).
|
|
1497
1519
|
|
|
@@ -1519,7 +1541,7 @@ Resets the control. Abstract method (implemented in sub-classes).
|
|
|
1519
1541
|
|
|
1520
1542
|
> **setAsyncValidators**(`validators`): `void`
|
|
1521
1543
|
|
|
1522
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1544
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2749
|
|
1523
1545
|
|
|
1524
1546
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1525
1547
|
overwrites any existing asynchronous validators.
|
|
@@ -1550,7 +1572,7 @@ using `addAsyncValidators()` method instead.
|
|
|
1550
1572
|
|
|
1551
1573
|
> **setErrors**(`errors`, `opts`?): `void`
|
|
1552
1574
|
|
|
1553
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1575
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3134
|
|
1554
1576
|
|
|
1555
1577
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1556
1578
|
|
|
@@ -1607,7 +1629,7 @@ expect(login.valid).toEqual(true);
|
|
|
1607
1629
|
|
|
1608
1630
|
> **setParent**(`parent`): `void`
|
|
1609
1631
|
|
|
1610
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1632
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3061
|
|
1611
1633
|
|
|
1612
1634
|
Sets the parent of the control
|
|
1613
1635
|
|
|
@@ -1633,7 +1655,7 @@ The new parent.
|
|
|
1633
1655
|
|
|
1634
1656
|
> **setValidators**(`validators`): `void`
|
|
1635
1657
|
|
|
1636
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1658
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2738
|
|
1637
1659
|
|
|
1638
1660
|
Sets the synchronous validators that are active on this control. Calling
|
|
1639
1661
|
this overwrites any existing synchronous validators.
|
|
@@ -1664,7 +1686,7 @@ using `addValidators()` method instead.
|
|
|
1664
1686
|
|
|
1665
1687
|
> `abstract` **setValue**(`value`, `options`?): `void`
|
|
1666
1688
|
|
|
1667
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1689
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3065
|
|
1668
1690
|
|
|
1669
1691
|
Sets the value of the control. Abstract method (implemented in sub-classes).
|
|
1670
1692
|
|
|
@@ -1692,7 +1714,7 @@ Sets the value of the control. Abstract method (implemented in sub-classes).
|
|
|
1692
1714
|
|
|
1693
1715
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
1694
1716
|
|
|
1695
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1717
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3096
|
|
1696
1718
|
|
|
1697
1719
|
Recalculates the value and validation status of the control.
|
|
1698
1720
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: AbstractControlOptions\<T, E\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:21](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:21](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L21)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:21](https://gitlab.com/rxap
|
|
|
20
20
|
|
|
21
21
|
> `optional` **asyncValidators**: `null` \| [`AsyncValidatorFn`](../wiki/TypeAlias.AsyncValidatorFn)\<`T`, `E`\> \| [`AsyncValidatorFn`](../wiki/TypeAlias.AsyncValidatorFn)\<`T`, `E`\>[]
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
23
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:23](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L23)
|
|
24
24
|
|
|
25
25
|
#### Description
|
|
26
26
|
|
|
@@ -36,7 +36,7 @@ The list of async validators applied to control.
|
|
|
36
36
|
|
|
37
37
|
> `optional` **updateOn**: `"change"` \| `"blur"` \| `"submit"`
|
|
38
38
|
|
|
39
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
39
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2399
|
|
40
40
|
|
|
41
41
|
#### Description
|
|
42
42
|
|
|
@@ -52,7 +52,7 @@ The event name for control to update upon.
|
|
|
52
52
|
|
|
53
53
|
> `optional` **validators**: `null` \| [`ValidatorFn`](../wiki/TypeAlias.ValidatorFn)\<`T`, `E`\> \| [`ValidatorFn`](../wiki/TypeAlias.ValidatorFn)\<`T`, `E`\>[]
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:22](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L22)
|
|
56
56
|
|
|
57
57
|
#### Description
|
|
58
58
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: BoxedValue\<T\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:92](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:92](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L92)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/angular/forms/src/lib/types.ts:92](https://gitlab.com/rxap
|
|
|
14
14
|
|
|
15
15
|
> `optional` **disabled**: `boolean`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:94](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:94](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L94)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,4 +22,4 @@ Defined in: [packages/angular/forms/src/lib/types.ts:94](https://gitlab.com/rxap
|
|
|
22
22
|
|
|
23
23
|
> **value**: `T`
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:93](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:93](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/types.ts#L93)
|