@rxap/forms 19.1.0-dev.5 → 19.2.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 +10 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/classes/RxapFormControl.html +144 -109
- package/compodoc/dependencies.html +3 -3
- package/compodoc/directives/FormDirective.html +3 -3
- package/compodoc/interfaces/AbstractControl.html +2 -1
- package/compodoc/interfaces/AbstractControlOptions.html +2 -1
- package/compodoc/interfaces/BoxedValue.html +2 -1
- package/compodoc/interfaces/ControlOptions.html +47 -1
- package/compodoc/interfaces/NgValidatorsErrors.html +2 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/typealiases.html +1 -1
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +5629 -5550
- 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 +5 -5
- 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 +33 -31
- package/docs/html/classes/FormDirective.html +46 -44
- package/docs/html/classes/FormGroupNameDirective.html +28 -26
- package/docs/html/classes/FormLoadedDirective.html +4 -4
- package/docs/html/classes/FormLoadingDirective.html +4 -4
- package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
- package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
- package/docs/html/classes/FormSubmittingDirective.html +4 -4
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +59 -59
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +57 -56
- package/docs/html/classes/RxapFormGroup.html +56 -56
- package/docs/html/classes/RxapFormsModule.html +2 -2
- 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 +51 -51
- 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 +4 -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 +3 -3
- 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 +7 -7
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlNameDirective.md +39 -39
- package/docs/markdown/classes/FormDirective.md +87 -87
- package/docs/markdown/classes/FormGroupNameDirective.md +34 -34
- package/docs/markdown/classes/FormLoadedDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
- package/docs/markdown/classes/FormResetDirective.md +8 -8
- package/docs/markdown/classes/FormSubmitDirective.md +15 -15
- package/docs/markdown/classes/FormSubmitFailedDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +5 -5
- package/docs/markdown/classes/FormSubmittingDirective.md +5 -5
- package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
- package/docs/markdown/classes/RxapFormArray.md +91 -91
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +110 -96
- package/docs/markdown/classes/RxapFormGroup.md +109 -109
- package/docs/markdown/classes/RxapFormsModule.md +2 -2
- 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 +61 -61
- 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 +17 -9
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +15 -15
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +3 -3
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +14 -14
- package/docs/markdown/interfaces/FormGroupOptions.md +12 -12
- 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 +12 -12
- 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 +11 -11
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +12 -12
- 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 +3 -3
- 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 +6 -6
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlNameDirective.md +38 -38
- package/docs/wiki/Class.FormDirective.md +86 -86
- package/docs/wiki/Class.FormGroupNameDirective.md +33 -33
- package/docs/wiki/Class.FormLoadedDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
- package/docs/wiki/Class.FormResetDirective.md +7 -7
- package/docs/wiki/Class.FormSubmitDirective.md +14 -14
- package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
- package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +90 -90
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +109 -95
- package/docs/wiki/Class.RxapFormGroup.md +108 -108
- package/docs/wiki/Class.RxapFormsModule.md +1 -1
- 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 +60 -60
- 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 +16 -8
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +14 -14
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +2 -2
- package/docs/wiki/Interface.FormDefinitionMetadata.md +13 -13
- package/docs/wiki/Interface.FormGroupOptions.md +11 -11
- 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 +11 -11
- 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 +11 -11
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +10 -10
- 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 +2 -2
- 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 +74 -63
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/lib/form-control.d.ts +2 -1
- package/lib/types.d.ts +2 -1
- package/package.json +13 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/forms v19.
|
|
1
|
+
[**@rxap/forms v19.2.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/8ec0363efd99a5768158de4f8c24157795132f4b/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:129](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L129)
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
@@ -48,11 +48,19 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.
|
|
|
48
48
|
|
|
49
49
|
## Properties
|
|
50
50
|
|
|
51
|
+
### \_initialState
|
|
52
|
+
|
|
53
|
+
> `protected` **\_initialState**: [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
|
|
54
|
+
|
|
55
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:69](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L69)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
51
59
|
### controlId
|
|
52
60
|
|
|
53
61
|
> `readonly` **controlId**: `string`
|
|
54
62
|
|
|
55
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
63
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:98](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L98)
|
|
56
64
|
|
|
57
65
|
***
|
|
58
66
|
|
|
@@ -60,7 +68,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.c
|
|
|
60
68
|
|
|
61
69
|
> `readonly` **defaultValue**: `any`
|
|
62
70
|
|
|
63
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
71
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3329
|
|
64
72
|
|
|
65
73
|
The default value of this FormControl, used whenever the control is reset without an explicit
|
|
66
74
|
value. See FormControlOptions#nonNullable for more information on configuring
|
|
@@ -76,7 +84,7 @@ a default value.
|
|
|
76
84
|
|
|
77
85
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
78
86
|
|
|
79
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
87
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:78](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L78)
|
|
80
88
|
|
|
81
89
|
***
|
|
82
90
|
|
|
@@ -84,7 +92,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.c
|
|
|
84
92
|
|
|
85
93
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
86
94
|
|
|
87
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
95
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L83)
|
|
88
96
|
|
|
89
97
|
***
|
|
90
98
|
|
|
@@ -92,7 +100,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.c
|
|
|
92
100
|
|
|
93
101
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
94
102
|
|
|
95
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
103
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:84](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L84)
|
|
96
104
|
|
|
97
105
|
***
|
|
98
106
|
|
|
@@ -100,7 +108,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.c
|
|
|
100
108
|
|
|
101
109
|
> `readonly` **errors**: `null` \| `E`
|
|
102
110
|
|
|
103
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/
|
|
111
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L59)
|
|
104
112
|
|
|
105
113
|
An object containing any errors generated by failing validation,
|
|
106
114
|
or null if there are no errors.
|
|
@@ -115,7 +123,7 @@ or null if there are no errors.
|
|
|
115
123
|
|
|
116
124
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
117
125
|
|
|
118
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
126
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:96](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L96)
|
|
119
127
|
|
|
120
128
|
***
|
|
121
129
|
|
|
@@ -123,7 +131,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.c
|
|
|
123
131
|
|
|
124
132
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
125
133
|
|
|
126
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
134
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2278
|
|
127
135
|
|
|
128
136
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
129
137
|
It emits for value, status, pristine or touched changes.
|
|
@@ -141,19 +149,11 @@ For other event types, the events are emitted after the parent control has been
|
|
|
141
149
|
|
|
142
150
|
***
|
|
143
151
|
|
|
144
|
-
### initialState
|
|
145
|
-
|
|
146
|
-
> `readonly` **initialState**: [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
|
|
147
|
-
|
|
148
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.com/rxap/packages/-/blob/184eb42c0ec9d714f9234754ede4c2c4f97a418c/packages/angular/forms/src/lib/form-control.ts#L66)
|
|
149
|
-
|
|
150
|
-
***
|
|
151
|
-
|
|
152
152
|
### readonly$
|
|
153
153
|
|
|
154
154
|
> `readonly` **readonly$**: `Observable`\<`boolean`\>
|
|
155
155
|
|
|
156
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
156
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:103](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L103)
|
|
157
157
|
|
|
158
158
|
***
|
|
159
159
|
|
|
@@ -161,7 +161,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.
|
|
|
161
161
|
|
|
162
162
|
> `readonly` **stateChanges**: `Subject`\<`void`\>
|
|
163
163
|
|
|
164
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
164
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L102)
|
|
165
165
|
|
|
166
166
|
***
|
|
167
167
|
|
|
@@ -169,7 +169,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.c
|
|
|
169
169
|
|
|
170
170
|
> `readonly` **status**: [`ControlState`](../type-aliases/ControlState.md)
|
|
171
171
|
|
|
172
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/
|
|
172
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L64)
|
|
173
173
|
|
|
174
174
|
The validation status of the control.
|
|
175
175
|
|
|
@@ -190,7 +190,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
190
190
|
|
|
191
191
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
|
|
192
192
|
|
|
193
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
193
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L95)
|
|
194
194
|
|
|
195
195
|
***
|
|
196
196
|
|
|
@@ -198,7 +198,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.c
|
|
|
198
198
|
|
|
199
199
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
|
|
200
200
|
|
|
201
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
201
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L65)
|
|
202
202
|
|
|
203
203
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
204
204
|
recalculates.
|
|
@@ -218,7 +218,7 @@ recalculates.
|
|
|
218
218
|
|
|
219
219
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
220
220
|
|
|
221
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
221
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L75)
|
|
222
222
|
|
|
223
223
|
***
|
|
224
224
|
|
|
@@ -226,7 +226,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.c
|
|
|
226
226
|
|
|
227
227
|
> `readonly` **value**: `T`
|
|
228
228
|
|
|
229
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
229
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L58)
|
|
230
230
|
|
|
231
231
|
The current value of the control.
|
|
232
232
|
|
|
@@ -247,7 +247,7 @@ with a key-value pair for each member of the group.
|
|
|
247
247
|
|
|
248
248
|
> `readonly` **value$**: `Observable`\<`T`\>
|
|
249
249
|
|
|
250
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
250
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:82](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L82)
|
|
251
251
|
|
|
252
252
|
***
|
|
253
253
|
|
|
@@ -255,7 +255,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.c
|
|
|
255
255
|
|
|
256
256
|
> `readonly` **valueChanges**: `Observable`\<`T`\>
|
|
257
257
|
|
|
258
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/
|
|
258
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L62)
|
|
259
259
|
|
|
260
260
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
261
261
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -279,7 +279,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
279
279
|
|
|
280
280
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
281
281
|
|
|
282
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
282
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2161
|
|
283
283
|
|
|
284
284
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
285
285
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -293,7 +293,7 @@ See `Validators.compose()` for additional information.
|
|
|
293
293
|
|
|
294
294
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
295
295
|
|
|
296
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
296
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2162
|
|
297
297
|
|
|
298
298
|
##### Parameters
|
|
299
299
|
|
|
@@ -317,7 +317,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:80
|
|
|
317
317
|
|
|
318
318
|
> **get** **controlPath**(): `string`
|
|
319
319
|
|
|
320
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
320
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:105](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L105)
|
|
321
321
|
|
|
322
322
|
##### Returns
|
|
323
323
|
|
|
@@ -331,7 +331,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.
|
|
|
331
331
|
|
|
332
332
|
> **get** **dirty**(): `boolean`
|
|
333
333
|
|
|
334
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
334
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2249
|
|
335
335
|
|
|
336
336
|
A control is `dirty` if the user has changed the value
|
|
337
337
|
in the UI.
|
|
@@ -355,7 +355,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
355
355
|
|
|
356
356
|
> **get** **disabled**(): `boolean`
|
|
357
357
|
|
|
358
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
358
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2216
|
|
359
359
|
|
|
360
360
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
361
361
|
|
|
@@ -385,7 +385,7 @@ True if the control is disabled, false otherwise.
|
|
|
385
385
|
|
|
386
386
|
> **get** **enabled**(): `boolean`
|
|
387
387
|
|
|
388
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
388
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2226
|
|
389
389
|
|
|
390
390
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
391
391
|
|
|
@@ -412,7 +412,7 @@ false if the status is 'DISABLED'.
|
|
|
412
412
|
|
|
413
413
|
> **get** **fullControlPath**(): `string`
|
|
414
414
|
|
|
415
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
415
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:119](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L119)
|
|
416
416
|
|
|
417
417
|
##### Returns
|
|
418
418
|
|
|
@@ -420,13 +420,27 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:116](https://gitlab.
|
|
|
420
420
|
|
|
421
421
|
***
|
|
422
422
|
|
|
423
|
+
### initialState
|
|
424
|
+
|
|
425
|
+
#### Get Signature
|
|
426
|
+
|
|
427
|
+
> **get** **initialState**(): [`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
|
|
428
|
+
|
|
429
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:66](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L66)
|
|
430
|
+
|
|
431
|
+
##### Returns
|
|
432
|
+
|
|
433
|
+
[`OrBoxedValue`](../type-aliases/OrBoxedValue.md)\<`T`\>
|
|
434
|
+
|
|
435
|
+
***
|
|
436
|
+
|
|
423
437
|
### invalid
|
|
424
438
|
|
|
425
439
|
#### Get Signature
|
|
426
440
|
|
|
427
441
|
> **get** **invalid**(): `boolean`
|
|
428
442
|
|
|
429
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
443
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2195
|
|
430
444
|
|
|
431
445
|
A control is `invalid` when its `status` is `INVALID`.
|
|
432
446
|
|
|
@@ -453,7 +467,7 @@ false otherwise.
|
|
|
453
467
|
|
|
454
468
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
455
469
|
|
|
456
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
470
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2166
|
|
457
471
|
|
|
458
472
|
The parent control.
|
|
459
473
|
|
|
@@ -473,7 +487,7 @@ The parent control.
|
|
|
473
487
|
|
|
474
488
|
> **get** **pending**(): `boolean`
|
|
475
489
|
|
|
476
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
490
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2204
|
|
477
491
|
|
|
478
492
|
A control is `pending` when its `status` is `PENDING`.
|
|
479
493
|
|
|
@@ -500,7 +514,7 @@ false otherwise.
|
|
|
500
514
|
|
|
501
515
|
> **get** **pristine**(): `boolean`
|
|
502
516
|
|
|
503
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
517
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2239
|
|
504
518
|
|
|
505
519
|
A control is `pristine` if the user has not yet changed
|
|
506
520
|
the value in the UI.
|
|
@@ -516,7 +530,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
516
530
|
|
|
517
531
|
> **set** **pristine**(`value`): `void`
|
|
518
532
|
|
|
519
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
533
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2240
|
|
520
534
|
|
|
521
535
|
##### Parameters
|
|
522
536
|
|
|
@@ -540,7 +554,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:158
|
|
|
540
554
|
|
|
541
555
|
> **get** **readonly**(): `boolean`
|
|
542
556
|
|
|
543
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
557
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:86](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L86)
|
|
544
558
|
|
|
545
559
|
##### Returns
|
|
546
560
|
|
|
@@ -550,7 +564,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.c
|
|
|
550
564
|
|
|
551
565
|
> **set** **readonly**(`value`): `void`
|
|
552
566
|
|
|
553
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
567
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:90](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L90)
|
|
554
568
|
|
|
555
569
|
##### Parameters
|
|
556
570
|
|
|
@@ -570,7 +584,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.c
|
|
|
570
584
|
|
|
571
585
|
> **get** **root**(): `AbstractControl`
|
|
572
586
|
|
|
573
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
587
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2758
|
|
574
588
|
|
|
575
589
|
Retrieves the top-level ancestor of this control.
|
|
576
590
|
|
|
@@ -590,7 +604,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
590
604
|
|
|
591
605
|
> **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`\>
|
|
592
606
|
|
|
593
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
607
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L52)
|
|
594
608
|
|
|
595
609
|
**`Internal`**
|
|
596
610
|
|
|
@@ -606,7 +620,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.c
|
|
|
606
620
|
|
|
607
621
|
> **get** **touched**(): `boolean`
|
|
608
622
|
|
|
609
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
623
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2256
|
|
610
624
|
|
|
611
625
|
True if the control is marked as `touched`.
|
|
612
626
|
|
|
@@ -621,7 +635,7 @@ a `blur` event on it.
|
|
|
621
635
|
|
|
622
636
|
> **set** **touched**(`value`): `void`
|
|
623
637
|
|
|
624
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
638
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2257
|
|
625
639
|
|
|
626
640
|
##### Parameters
|
|
627
641
|
|
|
@@ -645,7 +659,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:175
|
|
|
645
659
|
|
|
646
660
|
> **get** **untouched**(): `boolean`
|
|
647
661
|
|
|
648
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
662
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2265
|
|
649
663
|
|
|
650
664
|
True if the control has not been marked as touched
|
|
651
665
|
|
|
@@ -668,7 +682,7 @@ a `blur` event on it.
|
|
|
668
682
|
|
|
669
683
|
> **get** **updateOn**(): `FormHooks`
|
|
670
684
|
|
|
671
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
685
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2305
|
|
672
686
|
|
|
673
687
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
674
688
|
the event on which the control updates itself).
|
|
@@ -691,7 +705,7 @@ Default value: `'change'`
|
|
|
691
705
|
|
|
692
706
|
> **get** **valid**(): `boolean`
|
|
693
707
|
|
|
694
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
708
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2186
|
|
695
709
|
|
|
696
710
|
A control is `valid` when its `status` is `VALID`.
|
|
697
711
|
|
|
@@ -718,7 +732,7 @@ false otherwise.
|
|
|
718
732
|
|
|
719
733
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
720
734
|
|
|
721
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
735
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2154
|
|
722
736
|
|
|
723
737
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
724
738
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -732,7 +746,7 @@ See `Validators.compose()` for additional information.
|
|
|
732
746
|
|
|
733
747
|
> **set** **validator**(`validatorFn`): `void`
|
|
734
748
|
|
|
735
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
749
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2155
|
|
736
750
|
|
|
737
751
|
##### Parameters
|
|
738
752
|
|
|
@@ -754,7 +768,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:73
|
|
|
754
768
|
|
|
755
769
|
> **addAsyncValidators**(`validators`): `void`
|
|
756
770
|
|
|
757
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
771
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2352
|
|
758
772
|
|
|
759
773
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
760
774
|
validators.
|
|
@@ -786,7 +800,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
786
800
|
|
|
787
801
|
> **addValidators**(`validators`): `void`
|
|
788
802
|
|
|
789
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
803
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2340
|
|
790
804
|
|
|
791
805
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
792
806
|
|
|
@@ -819,7 +833,7 @@ The new validator function or functions to add to this control.
|
|
|
819
833
|
|
|
820
834
|
> **clearAsyncValidators**(): `void`
|
|
821
835
|
|
|
822
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
836
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2443
|
|
823
837
|
|
|
824
838
|
Empties out the async validator list.
|
|
825
839
|
|
|
@@ -840,7 +854,7 @@ When you add or remove a validator at run time, you must call
|
|
|
840
854
|
|
|
841
855
|
> **clearValidators**(): `void`
|
|
842
856
|
|
|
843
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
857
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2435
|
|
844
858
|
|
|
845
859
|
Empties out the synchronous validator list.
|
|
846
860
|
|
|
@@ -861,7 +875,7 @@ When you add or remove a validator at run time, you must call
|
|
|
861
875
|
|
|
862
876
|
> **disable**(`opts`?): `void`
|
|
863
877
|
|
|
864
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
878
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2580
|
|
865
879
|
|
|
866
880
|
Disables the control. This means the control is exempt from validation checks and
|
|
867
881
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -907,7 +921,7 @@ When false, no events are emitted.
|
|
|
907
921
|
|
|
908
922
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
909
923
|
|
|
910
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
924
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:191](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L191)
|
|
911
925
|
|
|
912
926
|
#### Parameters
|
|
913
927
|
|
|
@@ -929,7 +943,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.
|
|
|
929
943
|
|
|
930
944
|
> **enable**(`opts`?): `void`
|
|
931
945
|
|
|
932
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
946
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2602
|
|
933
947
|
|
|
934
948
|
Enables the control. This means the control is included in validation checks and
|
|
935
949
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -976,7 +990,7 @@ When false, no events are emitted.
|
|
|
976
990
|
|
|
977
991
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
978
992
|
|
|
979
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
993
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:198](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L198)
|
|
980
994
|
|
|
981
995
|
#### Parameters
|
|
982
996
|
|
|
@@ -1000,7 +1014,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.
|
|
|
1000
1014
|
|
|
1001
1015
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
|
|
1002
1016
|
|
|
1003
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1017
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2688
|
|
1004
1018
|
|
|
1005
1019
|
Retrieves a child control given the control's name or path.
|
|
1006
1020
|
|
|
@@ -1028,7 +1042,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1028
1042
|
|
|
1029
1043
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
|
|
1030
1044
|
|
|
1031
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1045
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2695
|
|
1032
1046
|
|
|
1033
1047
|
Retrieves a child control given the control's name or path.
|
|
1034
1048
|
|
|
@@ -1059,7 +1073,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1059
1073
|
|
|
1060
1074
|
> **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
|
|
1061
1075
|
|
|
1062
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1076
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:279](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L279)
|
|
1063
1077
|
|
|
1064
1078
|
#### Type Parameters
|
|
1065
1079
|
|
|
@@ -1111,7 +1125,7 @@ It can be provided to this method in one of two formats:
|
|
|
1111
1125
|
|
|
1112
1126
|
> **getRawValue**(): `any`
|
|
1113
1127
|
|
|
1114
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1128
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3414
|
|
1115
1129
|
|
|
1116
1130
|
For a simple FormControl, the raw value is equivalent to the value.
|
|
1117
1131
|
|
|
@@ -1129,7 +1143,7 @@ For a simple FormControl, the raw value is equivalent to the value.
|
|
|
1129
1143
|
|
|
1130
1144
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1131
1145
|
|
|
1132
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1146
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2427
|
|
1133
1147
|
|
|
1134
1148
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1135
1149
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1159,7 +1173,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1159
1173
|
|
|
1160
1174
|
> **hasError**\<`K`\>(`errorCode`): `boolean`
|
|
1161
1175
|
|
|
1162
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1176
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:283](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L283)
|
|
1163
1177
|
|
|
1164
1178
|
#### Type Parameters
|
|
1165
1179
|
|
|
@@ -1214,7 +1228,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1214
1228
|
|
|
1215
1229
|
> **hasErrorAndDirty**(`error`): `boolean`
|
|
1216
1230
|
|
|
1217
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1231
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:299](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L299)
|
|
1218
1232
|
|
|
1219
1233
|
#### Parameters
|
|
1220
1234
|
|
|
@@ -1232,7 +1246,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.
|
|
|
1232
1246
|
|
|
1233
1247
|
> **hasErrorAndTouched**(`error`): `boolean`
|
|
1234
1248
|
|
|
1235
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1249
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:295](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L295)
|
|
1236
1250
|
|
|
1237
1251
|
#### Parameters
|
|
1238
1252
|
|
|
@@ -1250,7 +1264,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.
|
|
|
1250
1264
|
|
|
1251
1265
|
> **hasValidator**(`validator`): `boolean`
|
|
1252
1266
|
|
|
1253
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1267
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2418
|
|
1254
1268
|
|
|
1255
1269
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1256
1270
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1295,7 +1309,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1295
1309
|
|
|
1296
1310
|
> **markAllAsDirty**(): `void`
|
|
1297
1311
|
|
|
1298
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1312
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:238](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L238)
|
|
1299
1313
|
|
|
1300
1314
|
#### Returns
|
|
1301
1315
|
|
|
@@ -1307,7 +1321,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.
|
|
|
1307
1321
|
|
|
1308
1322
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1309
1323
|
|
|
1310
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1324
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2474
|
|
1311
1325
|
|
|
1312
1326
|
Marks the control and all its descendant controls as `touched`.
|
|
1313
1327
|
|
|
@@ -1343,7 +1357,7 @@ When false, no events are emitted.
|
|
|
1343
1357
|
|
|
1344
1358
|
> **markAsDirty**(`opts`?): `void`
|
|
1345
1359
|
|
|
1346
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1360
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:233](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L233)
|
|
1347
1361
|
|
|
1348
1362
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1349
1363
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1382,7 +1396,7 @@ When false, no events are emitted.
|
|
|
1382
1396
|
|
|
1383
1397
|
> **markAsPending**(`opts`?): `void`
|
|
1384
1398
|
|
|
1385
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1399
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2559
|
|
1386
1400
|
|
|
1387
1401
|
Marks the control as `pending`.
|
|
1388
1402
|
|
|
@@ -1427,7 +1441,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1427
1441
|
|
|
1428
1442
|
> **markAsPristine**(`opts`?): `void`
|
|
1429
1443
|
|
|
1430
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1444
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L228)
|
|
1431
1445
|
|
|
1432
1446
|
Marks the control as `pristine`.
|
|
1433
1447
|
|
|
@@ -1469,7 +1483,7 @@ When false, no events are emitted.
|
|
|
1469
1483
|
|
|
1470
1484
|
> **markAsTouched**(`opts`?): `void`
|
|
1471
1485
|
|
|
1472
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1486
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:218](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L218)
|
|
1473
1487
|
|
|
1474
1488
|
Marks the control as `touched`. A control is touched by focus and
|
|
1475
1489
|
blur events that do not change the value.
|
|
@@ -1508,7 +1522,7 @@ When false, no events are emitted.
|
|
|
1508
1522
|
|
|
1509
1523
|
> **markAsUntouched**(`opts`?): `void`
|
|
1510
1524
|
|
|
1511
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1525
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:223](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L223)
|
|
1512
1526
|
|
|
1513
1527
|
Marks the control as `untouched`.
|
|
1514
1528
|
|
|
@@ -1549,7 +1563,7 @@ When false, no events are emitted.
|
|
|
1549
1563
|
|
|
1550
1564
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1551
1565
|
|
|
1552
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1566
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:209](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L209)
|
|
1553
1567
|
|
|
1554
1568
|
#### Parameters
|
|
1555
1569
|
|
|
@@ -1567,7 +1581,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.
|
|
|
1567
1581
|
|
|
1568
1582
|
> **mergeValidators**(`validators`): `void`
|
|
1569
1583
|
|
|
1570
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1584
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:205](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L205)
|
|
1571
1585
|
|
|
1572
1586
|
#### Parameters
|
|
1573
1587
|
|
|
@@ -1587,7 +1601,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.
|
|
|
1587
1601
|
|
|
1588
1602
|
> **patchValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
1589
1603
|
|
|
1590
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1604
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:166](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L166)
|
|
1591
1605
|
|
|
1592
1606
|
Patches the value of a control.
|
|
1593
1607
|
|
|
@@ -1621,7 +1635,7 @@ FormControl#setValue for options
|
|
|
1621
1635
|
|
|
1622
1636
|
> **patchValue**(`valueOrObservable`, `options`?): `void`
|
|
1623
1637
|
|
|
1624
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1638
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:170](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L170)
|
|
1625
1639
|
|
|
1626
1640
|
##### Parameters
|
|
1627
1641
|
|
|
@@ -1647,7 +1661,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.
|
|
|
1647
1661
|
|
|
1648
1662
|
> **registerOnChange**(`fn`): `void`
|
|
1649
1663
|
|
|
1650
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1664
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3420
|
|
1651
1665
|
|
|
1652
1666
|
Register a listener for change events.
|
|
1653
1667
|
|
|
@@ -1673,7 +1687,7 @@ The method that is called when the value changes
|
|
|
1673
1687
|
|
|
1674
1688
|
> **registerOnDisabledChange**(`fn`): `void`
|
|
1675
1689
|
|
|
1676
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1690
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3426
|
|
1677
1691
|
|
|
1678
1692
|
Register a listener for disabled events.
|
|
1679
1693
|
|
|
@@ -1699,7 +1713,7 @@ The method that is called when the disabled status changes.
|
|
|
1699
1713
|
|
|
1700
1714
|
> **registerOnSetValue**(`setValueFn`): `void`
|
|
1701
1715
|
|
|
1702
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1716
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:311](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L311)
|
|
1703
1717
|
|
|
1704
1718
|
#### Parameters
|
|
1705
1719
|
|
|
@@ -1717,7 +1731,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.
|
|
|
1717
1731
|
|
|
1718
1732
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1719
1733
|
|
|
1720
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1734
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2394
|
|
1721
1735
|
|
|
1722
1736
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1723
1737
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1749,7 +1763,7 @@ The asynchronous validator or validators to remove.
|
|
|
1749
1763
|
|
|
1750
1764
|
> **removeValidators**(`validators`): `void`
|
|
1751
1765
|
|
|
1752
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1766
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2382
|
|
1753
1767
|
|
|
1754
1768
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1755
1769
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1799,7 +1813,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1799
1813
|
|
|
1800
1814
|
> **reset**(`formState`?, `options`?): `void`
|
|
1801
1815
|
|
|
1802
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1816
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:242](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L242)
|
|
1803
1817
|
|
|
1804
1818
|
Resets the form control, marking it `pristine` and `untouched`, and resetting
|
|
1805
1819
|
the value. The new value will be the provided value (if passed), `null`, or the initial value
|
|
@@ -1856,7 +1870,7 @@ When false, no events are emitted.
|
|
|
1856
1870
|
|
|
1857
1871
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
1858
1872
|
|
|
1859
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1873
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:265](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L265)
|
|
1860
1874
|
|
|
1861
1875
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1862
1876
|
overwrites any existing asynchronous validators.
|
|
@@ -1891,7 +1905,7 @@ using `addAsyncValidators()` method instead.
|
|
|
1891
1905
|
|
|
1892
1906
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
1893
1907
|
|
|
1894
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1908
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:307](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L307)
|
|
1895
1909
|
|
|
1896
1910
|
#### Parameters
|
|
1897
1911
|
|
|
@@ -1913,7 +1927,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.
|
|
|
1913
1927
|
|
|
1914
1928
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
1915
1929
|
|
|
1916
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1930
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:303](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L303)
|
|
1917
1931
|
|
|
1918
1932
|
#### Parameters
|
|
1919
1933
|
|
|
@@ -1935,7 +1949,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.
|
|
|
1935
1949
|
|
|
1936
1950
|
> **setError**(`key`, `value`, `opts`): `void`
|
|
1937
1951
|
|
|
1938
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1952
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:291](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L291)
|
|
1939
1953
|
|
|
1940
1954
|
#### Parameters
|
|
1941
1955
|
|
|
@@ -1961,7 +1975,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.
|
|
|
1961
1975
|
|
|
1962
1976
|
> **setErrors**(`errors`, `opts`): `void`
|
|
1963
1977
|
|
|
1964
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1978
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:287](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L287)
|
|
1965
1979
|
|
|
1966
1980
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1967
1981
|
|
|
@@ -2014,7 +2028,7 @@ expect(login.valid).toEqual(true);
|
|
|
2014
2028
|
|
|
2015
2029
|
> **setParent**(`parent`): `void`
|
|
2016
2030
|
|
|
2017
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
2031
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2612
|
|
2018
2032
|
|
|
2019
2033
|
Sets the parent of the control
|
|
2020
2034
|
|
|
@@ -2040,7 +2054,7 @@ The new parent.
|
|
|
2040
2054
|
|
|
2041
2055
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2042
2056
|
|
|
2043
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2057
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:255](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L255)
|
|
2044
2058
|
|
|
2045
2059
|
Sets the synchronous validators that are active on this control. Calling
|
|
2046
2060
|
this overwrites any existing synchronous validators.
|
|
@@ -2077,7 +2091,7 @@ using `addValidators()` method instead.
|
|
|
2077
2091
|
|
|
2078
2092
|
> **setValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
2079
2093
|
|
|
2080
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2094
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:144](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L144)
|
|
2081
2095
|
|
|
2082
2096
|
Sets a new value for the form control.
|
|
2083
2097
|
|
|
@@ -2120,7 +2134,7 @@ event to update the model.
|
|
|
2120
2134
|
|
|
2121
2135
|
> **setValue**(`valueOrObservable`, `options`?): `void`
|
|
2122
2136
|
|
|
2123
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2137
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:148](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L148)
|
|
2124
2138
|
|
|
2125
2139
|
##### Parameters
|
|
2126
2140
|
|
|
@@ -2146,7 +2160,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.
|
|
|
2146
2160
|
|
|
2147
2161
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2148
2162
|
|
|
2149
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
2163
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2644
|
|
2150
2164
|
|
|
2151
2165
|
Recalculates the value and validation status of the control.
|
|
2152
2166
|
|
|
@@ -2187,7 +2201,7 @@ When false, no events are emitted.
|
|
|
2187
2201
|
|
|
2188
2202
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2189
2203
|
|
|
2190
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2204
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:275](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L275)
|
|
2191
2205
|
|
|
2192
2206
|
#### Parameters
|
|
2193
2207
|
|