@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapFormControl\<T, E, Parent\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L44)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:44](https://gitlab.c
|
|
|
22
22
|
|
|
23
23
|
> **new RxapFormControl**\<`T`, `E`, `Parent`\>(`formState`, `options`): [`RxapFormControl`](../wiki/Class.RxapFormControl)\<`T`, `E`, `Parent`\>
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
25
|
+
Defined in: [packages/angular/forms/src/lib/form-control.ts:129](https://gitlab.com/rxap/packages/-/blob/8ec0363efd99a5768158de4f8c24157795132f4b/packages/angular/forms/src/lib/form-control.ts#L129)
|
|
26
26
|
|
|
27
27
|
#### Parameters
|
|
28
28
|
|
|
@@ -44,11 +44,19 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:126](https://gitlab.
|
|
|
44
44
|
|
|
45
45
|
## Properties
|
|
46
46
|
|
|
47
|
+
### \_initialState
|
|
48
|
+
|
|
49
|
+
> `protected` **\_initialState**: [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
50
|
+
|
|
51
|
+
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)
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
47
55
|
### controlId
|
|
48
56
|
|
|
49
57
|
> `readonly` **controlId**: `string`
|
|
50
58
|
|
|
51
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
59
|
+
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)
|
|
52
60
|
|
|
53
61
|
***
|
|
54
62
|
|
|
@@ -56,7 +64,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:95](https://gitlab.c
|
|
|
56
64
|
|
|
57
65
|
> `readonly` **defaultValue**: `any`
|
|
58
66
|
|
|
59
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
67
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3329
|
|
60
68
|
|
|
61
69
|
The default value of this FormControl, used whenever the control is reset without an explicit
|
|
62
70
|
value. See FormControlOptions#nonNullable for more information on configuring
|
|
@@ -72,7 +80,7 @@ a default value.
|
|
|
72
80
|
|
|
73
81
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
74
82
|
|
|
75
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
83
|
+
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)
|
|
76
84
|
|
|
77
85
|
***
|
|
78
86
|
|
|
@@ -80,7 +88,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:75](https://gitlab.c
|
|
|
80
88
|
|
|
81
89
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
82
90
|
|
|
83
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
91
|
+
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)
|
|
84
92
|
|
|
85
93
|
***
|
|
86
94
|
|
|
@@ -88,7 +96,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:80](https://gitlab.c
|
|
|
88
96
|
|
|
89
97
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
90
98
|
|
|
91
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
99
|
+
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)
|
|
92
100
|
|
|
93
101
|
***
|
|
94
102
|
|
|
@@ -96,7 +104,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:81](https://gitlab.c
|
|
|
96
104
|
|
|
97
105
|
> `readonly` **errors**: `null` \| `E`
|
|
98
106
|
|
|
99
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:59](https://gitlab.com/rxap/packages/-/blob/
|
|
107
|
+
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)
|
|
100
108
|
|
|
101
109
|
An object containing any errors generated by failing validation,
|
|
102
110
|
or null if there are no errors.
|
|
@@ -111,7 +119,7 @@ or null if there are no errors.
|
|
|
111
119
|
|
|
112
120
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
113
121
|
|
|
114
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
122
|
+
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)
|
|
115
123
|
|
|
116
124
|
***
|
|
117
125
|
|
|
@@ -119,7 +127,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:93](https://gitlab.c
|
|
|
119
127
|
|
|
120
128
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
121
129
|
|
|
122
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
130
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2278
|
|
123
131
|
|
|
124
132
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
125
133
|
It emits for value, status, pristine or touched changes.
|
|
@@ -137,19 +145,11 @@ For other event types, the events are emitted after the parent control has been
|
|
|
137
145
|
|
|
138
146
|
***
|
|
139
147
|
|
|
140
|
-
### initialState
|
|
141
|
-
|
|
142
|
-
> `readonly` **initialState**: [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
143
|
-
|
|
144
|
-
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)
|
|
145
|
-
|
|
146
|
-
***
|
|
147
|
-
|
|
148
148
|
### readonly$
|
|
149
149
|
|
|
150
150
|
> `readonly` **readonly$**: `Observable`\<`boolean`\>
|
|
151
151
|
|
|
152
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
152
|
+
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)
|
|
153
153
|
|
|
154
154
|
***
|
|
155
155
|
|
|
@@ -157,7 +157,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:100](https://gitlab.
|
|
|
157
157
|
|
|
158
158
|
> `readonly` **stateChanges**: `Subject`\<`void`\>
|
|
159
159
|
|
|
160
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
160
|
+
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)
|
|
161
161
|
|
|
162
162
|
***
|
|
163
163
|
|
|
@@ -165,7 +165,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:99](https://gitlab.c
|
|
|
165
165
|
|
|
166
166
|
> `readonly` **status**: [`ControlState`](../wiki/TypeAlias.ControlState)
|
|
167
167
|
|
|
168
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:64](https://gitlab.com/rxap/packages/-/blob/
|
|
168
|
+
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)
|
|
169
169
|
|
|
170
170
|
The validation status of the control.
|
|
171
171
|
|
|
@@ -186,7 +186,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
186
186
|
|
|
187
187
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
188
188
|
|
|
189
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
189
|
+
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)
|
|
190
190
|
|
|
191
191
|
***
|
|
192
192
|
|
|
@@ -194,7 +194,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:92](https://gitlab.c
|
|
|
194
194
|
|
|
195
195
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
196
196
|
|
|
197
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
197
|
+
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)
|
|
198
198
|
|
|
199
199
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
200
200
|
recalculates.
|
|
@@ -214,7 +214,7 @@ recalculates.
|
|
|
214
214
|
|
|
215
215
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
216
216
|
|
|
217
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
217
|
+
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)
|
|
218
218
|
|
|
219
219
|
***
|
|
220
220
|
|
|
@@ -222,7 +222,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:72](https://gitlab.c
|
|
|
222
222
|
|
|
223
223
|
> `readonly` **value**: `T`
|
|
224
224
|
|
|
225
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
225
|
+
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)
|
|
226
226
|
|
|
227
227
|
The current value of the control.
|
|
228
228
|
|
|
@@ -243,7 +243,7 @@ with a key-value pair for each member of the group.
|
|
|
243
243
|
|
|
244
244
|
> `readonly` **value$**: `Observable`\<`T`\>
|
|
245
245
|
|
|
246
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
246
|
+
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)
|
|
247
247
|
|
|
248
248
|
***
|
|
249
249
|
|
|
@@ -251,7 +251,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:79](https://gitlab.c
|
|
|
251
251
|
|
|
252
252
|
> `readonly` **valueChanges**: `Observable`\<`T`\>
|
|
253
253
|
|
|
254
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:62](https://gitlab.com/rxap/packages/-/blob/
|
|
254
|
+
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)
|
|
255
255
|
|
|
256
256
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
257
257
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -275,7 +275,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
275
275
|
|
|
276
276
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
277
277
|
|
|
278
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
278
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2161
|
|
279
279
|
|
|
280
280
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
281
281
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -289,7 +289,7 @@ See `Validators.compose()` for additional information.
|
|
|
289
289
|
|
|
290
290
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
291
291
|
|
|
292
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
292
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2162
|
|
293
293
|
|
|
294
294
|
##### Parameters
|
|
295
295
|
|
|
@@ -313,7 +313,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:80
|
|
|
313
313
|
|
|
314
314
|
> **get** **controlPath**(): `string`
|
|
315
315
|
|
|
316
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
316
|
+
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)
|
|
317
317
|
|
|
318
318
|
##### Returns
|
|
319
319
|
|
|
@@ -327,7 +327,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:102](https://gitlab.
|
|
|
327
327
|
|
|
328
328
|
> **get** **dirty**(): `boolean`
|
|
329
329
|
|
|
330
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
330
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2249
|
|
331
331
|
|
|
332
332
|
A control is `dirty` if the user has changed the value
|
|
333
333
|
in the UI.
|
|
@@ -351,7 +351,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
351
351
|
|
|
352
352
|
> **get** **disabled**(): `boolean`
|
|
353
353
|
|
|
354
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
354
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2216
|
|
355
355
|
|
|
356
356
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
357
357
|
|
|
@@ -381,7 +381,7 @@ True if the control is disabled, false otherwise.
|
|
|
381
381
|
|
|
382
382
|
> **get** **enabled**(): `boolean`
|
|
383
383
|
|
|
384
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
384
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2226
|
|
385
385
|
|
|
386
386
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
387
387
|
|
|
@@ -408,7 +408,7 @@ false if the status is 'DISABLED'.
|
|
|
408
408
|
|
|
409
409
|
> **get** **fullControlPath**(): `string`
|
|
410
410
|
|
|
411
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
411
|
+
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)
|
|
412
412
|
|
|
413
413
|
##### Returns
|
|
414
414
|
|
|
@@ -416,13 +416,27 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:116](https://gitlab.
|
|
|
416
416
|
|
|
417
417
|
***
|
|
418
418
|
|
|
419
|
+
### initialState
|
|
420
|
+
|
|
421
|
+
#### Get Signature
|
|
422
|
+
|
|
423
|
+
> **get** **initialState**(): [`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
424
|
+
|
|
425
|
+
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)
|
|
426
|
+
|
|
427
|
+
##### Returns
|
|
428
|
+
|
|
429
|
+
[`OrBoxedValue`](../wiki/TypeAlias.OrBoxedValue)\<`T`\>
|
|
430
|
+
|
|
431
|
+
***
|
|
432
|
+
|
|
419
433
|
### invalid
|
|
420
434
|
|
|
421
435
|
#### Get Signature
|
|
422
436
|
|
|
423
437
|
> **get** **invalid**(): `boolean`
|
|
424
438
|
|
|
425
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
439
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2195
|
|
426
440
|
|
|
427
441
|
A control is `invalid` when its `status` is `INVALID`.
|
|
428
442
|
|
|
@@ -449,7 +463,7 @@ false otherwise.
|
|
|
449
463
|
|
|
450
464
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
451
465
|
|
|
452
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
466
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2166
|
|
453
467
|
|
|
454
468
|
The parent control.
|
|
455
469
|
|
|
@@ -469,7 +483,7 @@ The parent control.
|
|
|
469
483
|
|
|
470
484
|
> **get** **pending**(): `boolean`
|
|
471
485
|
|
|
472
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
486
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2204
|
|
473
487
|
|
|
474
488
|
A control is `pending` when its `status` is `PENDING`.
|
|
475
489
|
|
|
@@ -496,7 +510,7 @@ false otherwise.
|
|
|
496
510
|
|
|
497
511
|
> **get** **pristine**(): `boolean`
|
|
498
512
|
|
|
499
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
513
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2239
|
|
500
514
|
|
|
501
515
|
A control is `pristine` if the user has not yet changed
|
|
502
516
|
the value in the UI.
|
|
@@ -512,7 +526,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
512
526
|
|
|
513
527
|
> **set** **pristine**(`value`): `void`
|
|
514
528
|
|
|
515
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
529
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2240
|
|
516
530
|
|
|
517
531
|
##### Parameters
|
|
518
532
|
|
|
@@ -536,7 +550,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:158
|
|
|
536
550
|
|
|
537
551
|
> **get** **readonly**(): `boolean`
|
|
538
552
|
|
|
539
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
553
|
+
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)
|
|
540
554
|
|
|
541
555
|
##### Returns
|
|
542
556
|
|
|
@@ -546,7 +560,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:83](https://gitlab.c
|
|
|
546
560
|
|
|
547
561
|
> **set** **readonly**(`value`): `void`
|
|
548
562
|
|
|
549
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
563
|
+
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)
|
|
550
564
|
|
|
551
565
|
##### Parameters
|
|
552
566
|
|
|
@@ -566,7 +580,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:87](https://gitlab.c
|
|
|
566
580
|
|
|
567
581
|
> **get** **root**(): `AbstractControl`
|
|
568
582
|
|
|
569
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
583
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2758
|
|
570
584
|
|
|
571
585
|
Retrieves the top-level ancestor of this control.
|
|
572
586
|
|
|
@@ -586,7 +600,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
586
600
|
|
|
587
601
|
> **get** **rxapFormDefinition**(): `undefined` \| `Partial`\<[`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>\> & \{ \[K in string \| number \| symbol\]: Parent\[K\] extends U\[\] ? FormDefinitionArray\<FormType\<U\>\> \| FormDefinitionArray\<RxapFormControl\<U, any, any\>\> \| RxapFormArray\<U, any, any\> \| RxapFormControl\<any\[any\], any, any\> : Parent\[K\] extends Record\<string, any\> ? Partial\<FormDefinition\<any\[any\], any, any\>\> & \{ \[K in string \| number \| symbol\]: any\[any\]\[K\] extends U\[\] ? FormDefinitionArray\<(...)\> \| FormDefinitionArray\<(...)\> \| RxapFormArray\<(...), (...), (...)\> \| RxapFormControl\<(...), (...), (...)\> : (...)\[(...)\] extends Record\<(...), (...)\> ? (...) \| (...) : RxapFormControl\<(...), (...), (...)\> \} & Partial\<FormDefinition\<any\[any\], any, any\>\> \| RxapFormControl\<any\[any\], any, any\> : RxapFormControl\<NonEmpty\<Parent\[K\]\>, any, any\> \} & [`FormDefinition`](../wiki/Interface.FormDefinition)\<`Parent`, `any`, `any`\>
|
|
588
602
|
|
|
589
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
603
|
+
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)
|
|
590
604
|
|
|
591
605
|
**`Internal`**
|
|
592
606
|
|
|
@@ -602,7 +616,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:52](https://gitlab.c
|
|
|
602
616
|
|
|
603
617
|
> **get** **touched**(): `boolean`
|
|
604
618
|
|
|
605
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
619
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2256
|
|
606
620
|
|
|
607
621
|
True if the control is marked as `touched`.
|
|
608
622
|
|
|
@@ -617,7 +631,7 @@ a `blur` event on it.
|
|
|
617
631
|
|
|
618
632
|
> **set** **touched**(`value`): `void`
|
|
619
633
|
|
|
620
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
634
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2257
|
|
621
635
|
|
|
622
636
|
##### Parameters
|
|
623
637
|
|
|
@@ -641,7 +655,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:175
|
|
|
641
655
|
|
|
642
656
|
> **get** **untouched**(): `boolean`
|
|
643
657
|
|
|
644
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
658
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2265
|
|
645
659
|
|
|
646
660
|
True if the control has not been marked as touched
|
|
647
661
|
|
|
@@ -664,7 +678,7 @@ a `blur` event on it.
|
|
|
664
678
|
|
|
665
679
|
> **get** **updateOn**(): `FormHooks`
|
|
666
680
|
|
|
667
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
681
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2305
|
|
668
682
|
|
|
669
683
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
670
684
|
the event on which the control updates itself).
|
|
@@ -687,7 +701,7 @@ Default value: `'change'`
|
|
|
687
701
|
|
|
688
702
|
> **get** **valid**(): `boolean`
|
|
689
703
|
|
|
690
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
704
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2186
|
|
691
705
|
|
|
692
706
|
A control is `valid` when its `status` is `VALID`.
|
|
693
707
|
|
|
@@ -714,7 +728,7 @@ false otherwise.
|
|
|
714
728
|
|
|
715
729
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
716
730
|
|
|
717
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
731
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2154
|
|
718
732
|
|
|
719
733
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
720
734
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -728,7 +742,7 @@ See `Validators.compose()` for additional information.
|
|
|
728
742
|
|
|
729
743
|
> **set** **validator**(`validatorFn`): `void`
|
|
730
744
|
|
|
731
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
745
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2155
|
|
732
746
|
|
|
733
747
|
##### Parameters
|
|
734
748
|
|
|
@@ -750,7 +764,7 @@ Defined in: node\_modules/@angular/forms/index.d.ts:73
|
|
|
750
764
|
|
|
751
765
|
> **addAsyncValidators**(`validators`): `void`
|
|
752
766
|
|
|
753
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
767
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2352
|
|
754
768
|
|
|
755
769
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
756
770
|
validators.
|
|
@@ -782,7 +796,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
782
796
|
|
|
783
797
|
> **addValidators**(`validators`): `void`
|
|
784
798
|
|
|
785
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
799
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2340
|
|
786
800
|
|
|
787
801
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
788
802
|
|
|
@@ -815,7 +829,7 @@ The new validator function or functions to add to this control.
|
|
|
815
829
|
|
|
816
830
|
> **clearAsyncValidators**(): `void`
|
|
817
831
|
|
|
818
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
832
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2443
|
|
819
833
|
|
|
820
834
|
Empties out the async validator list.
|
|
821
835
|
|
|
@@ -836,7 +850,7 @@ When you add or remove a validator at run time, you must call
|
|
|
836
850
|
|
|
837
851
|
> **clearValidators**(): `void`
|
|
838
852
|
|
|
839
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
853
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2435
|
|
840
854
|
|
|
841
855
|
Empties out the synchronous validator list.
|
|
842
856
|
|
|
@@ -857,7 +871,7 @@ When you add or remove a validator at run time, you must call
|
|
|
857
871
|
|
|
858
872
|
> **disable**(`opts`?): `void`
|
|
859
873
|
|
|
860
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
874
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2580
|
|
861
875
|
|
|
862
876
|
Disables the control. This means the control is exempt from validation checks and
|
|
863
877
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -903,7 +917,7 @@ When false, no events are emitted.
|
|
|
903
917
|
|
|
904
918
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
905
919
|
|
|
906
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
920
|
+
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)
|
|
907
921
|
|
|
908
922
|
#### Parameters
|
|
909
923
|
|
|
@@ -925,7 +939,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:181](https://gitlab.
|
|
|
925
939
|
|
|
926
940
|
> **enable**(`opts`?): `void`
|
|
927
941
|
|
|
928
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
942
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2602
|
|
929
943
|
|
|
930
944
|
Enables the control. This means the control is included in validation checks and
|
|
931
945
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -972,7 +986,7 @@ When false, no events are emitted.
|
|
|
972
986
|
|
|
973
987
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
974
988
|
|
|
975
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
989
|
+
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)
|
|
976
990
|
|
|
977
991
|
#### Parameters
|
|
978
992
|
|
|
@@ -996,7 +1010,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:188](https://gitlab.
|
|
|
996
1010
|
|
|
997
1011
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
|
|
998
1012
|
|
|
999
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1013
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2688
|
|
1000
1014
|
|
|
1001
1015
|
Retrieves a child control given the control's name or path.
|
|
1002
1016
|
|
|
@@ -1024,7 +1038,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1024
1038
|
|
|
1025
1039
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>\>
|
|
1026
1040
|
|
|
1027
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1041
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2695
|
|
1028
1042
|
|
|
1029
1043
|
Retrieves a child control given the control's name or path.
|
|
1030
1044
|
|
|
@@ -1055,7 +1069,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1055
1069
|
|
|
1056
1070
|
> **getError**\<`K`\>(`errorCode`): `null` \| `E`\[`K`\]
|
|
1057
1071
|
|
|
1058
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1072
|
+
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)
|
|
1059
1073
|
|
|
1060
1074
|
#### Type Parameters
|
|
1061
1075
|
|
|
@@ -1107,7 +1121,7 @@ It can be provided to this method in one of two formats:
|
|
|
1107
1121
|
|
|
1108
1122
|
> **getRawValue**(): `any`
|
|
1109
1123
|
|
|
1110
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1124
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3414
|
|
1111
1125
|
|
|
1112
1126
|
For a simple FormControl, the raw value is equivalent to the value.
|
|
1113
1127
|
|
|
@@ -1125,7 +1139,7 @@ For a simple FormControl, the raw value is equivalent to the value.
|
|
|
1125
1139
|
|
|
1126
1140
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1127
1141
|
|
|
1128
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1142
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2427
|
|
1129
1143
|
|
|
1130
1144
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1131
1145
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1155,7 +1169,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1155
1169
|
|
|
1156
1170
|
> **hasError**\<`K`\>(`errorCode`): `boolean`
|
|
1157
1171
|
|
|
1158
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1172
|
+
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)
|
|
1159
1173
|
|
|
1160
1174
|
#### Type Parameters
|
|
1161
1175
|
|
|
@@ -1210,7 +1224,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1210
1224
|
|
|
1211
1225
|
> **hasErrorAndDirty**(`error`): `boolean`
|
|
1212
1226
|
|
|
1213
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1227
|
+
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)
|
|
1214
1228
|
|
|
1215
1229
|
#### Parameters
|
|
1216
1230
|
|
|
@@ -1228,7 +1242,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:289](https://gitlab.
|
|
|
1228
1242
|
|
|
1229
1243
|
> **hasErrorAndTouched**(`error`): `boolean`
|
|
1230
1244
|
|
|
1231
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1245
|
+
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)
|
|
1232
1246
|
|
|
1233
1247
|
#### Parameters
|
|
1234
1248
|
|
|
@@ -1246,7 +1260,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:285](https://gitlab.
|
|
|
1246
1260
|
|
|
1247
1261
|
> **hasValidator**(`validator`): `boolean`
|
|
1248
1262
|
|
|
1249
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1263
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2418
|
|
1250
1264
|
|
|
1251
1265
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1252
1266
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1291,7 +1305,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1291
1305
|
|
|
1292
1306
|
> **markAllAsDirty**(): `void`
|
|
1293
1307
|
|
|
1294
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1308
|
+
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)
|
|
1295
1309
|
|
|
1296
1310
|
#### Returns
|
|
1297
1311
|
|
|
@@ -1303,7 +1317,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:228](https://gitlab.
|
|
|
1303
1317
|
|
|
1304
1318
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1305
1319
|
|
|
1306
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1320
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2474
|
|
1307
1321
|
|
|
1308
1322
|
Marks the control and all its descendant controls as `touched`.
|
|
1309
1323
|
|
|
@@ -1339,7 +1353,7 @@ When false, no events are emitted.
|
|
|
1339
1353
|
|
|
1340
1354
|
> **markAsDirty**(`opts`?): `void`
|
|
1341
1355
|
|
|
1342
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1356
|
+
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)
|
|
1343
1357
|
|
|
1344
1358
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1345
1359
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1378,7 +1392,7 @@ When false, no events are emitted.
|
|
|
1378
1392
|
|
|
1379
1393
|
> **markAsPending**(`opts`?): `void`
|
|
1380
1394
|
|
|
1381
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1395
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2559
|
|
1382
1396
|
|
|
1383
1397
|
Marks the control as `pending`.
|
|
1384
1398
|
|
|
@@ -1423,7 +1437,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1423
1437
|
|
|
1424
1438
|
> **markAsPristine**(`opts`?): `void`
|
|
1425
1439
|
|
|
1426
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1440
|
+
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)
|
|
1427
1441
|
|
|
1428
1442
|
Marks the control as `pristine`.
|
|
1429
1443
|
|
|
@@ -1465,7 +1479,7 @@ When false, no events are emitted.
|
|
|
1465
1479
|
|
|
1466
1480
|
> **markAsTouched**(`opts`?): `void`
|
|
1467
1481
|
|
|
1468
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1482
|
+
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)
|
|
1469
1483
|
|
|
1470
1484
|
Marks the control as `touched`. A control is touched by focus and
|
|
1471
1485
|
blur events that do not change the value.
|
|
@@ -1504,7 +1518,7 @@ When false, no events are emitted.
|
|
|
1504
1518
|
|
|
1505
1519
|
> **markAsUntouched**(`opts`?): `void`
|
|
1506
1520
|
|
|
1507
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1521
|
+
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)
|
|
1508
1522
|
|
|
1509
1523
|
Marks the control as `untouched`.
|
|
1510
1524
|
|
|
@@ -1545,7 +1559,7 @@ When false, no events are emitted.
|
|
|
1545
1559
|
|
|
1546
1560
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1547
1561
|
|
|
1548
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1562
|
+
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)
|
|
1549
1563
|
|
|
1550
1564
|
#### Parameters
|
|
1551
1565
|
|
|
@@ -1563,7 +1577,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:199](https://gitlab.
|
|
|
1563
1577
|
|
|
1564
1578
|
> **mergeValidators**(`validators`): `void`
|
|
1565
1579
|
|
|
1566
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1580
|
+
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)
|
|
1567
1581
|
|
|
1568
1582
|
#### Parameters
|
|
1569
1583
|
|
|
@@ -1583,7 +1597,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:195](https://gitlab.
|
|
|
1583
1597
|
|
|
1584
1598
|
> **patchValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
1585
1599
|
|
|
1586
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1600
|
+
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)
|
|
1587
1601
|
|
|
1588
1602
|
Patches the value of a control.
|
|
1589
1603
|
|
|
@@ -1617,7 +1631,7 @@ FormControl#setValue for options
|
|
|
1617
1631
|
|
|
1618
1632
|
> **patchValue**(`valueOrObservable`, `options`?): `void`
|
|
1619
1633
|
|
|
1620
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1634
|
+
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)
|
|
1621
1635
|
|
|
1622
1636
|
##### Parameters
|
|
1623
1637
|
|
|
@@ -1643,7 +1657,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:167](https://gitlab.
|
|
|
1643
1657
|
|
|
1644
1658
|
> **registerOnChange**(`fn`): `void`
|
|
1645
1659
|
|
|
1646
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1660
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3420
|
|
1647
1661
|
|
|
1648
1662
|
Register a listener for change events.
|
|
1649
1663
|
|
|
@@ -1669,7 +1683,7 @@ The method that is called when the value changes
|
|
|
1669
1683
|
|
|
1670
1684
|
> **registerOnDisabledChange**(`fn`): `void`
|
|
1671
1685
|
|
|
1672
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1686
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:3426
|
|
1673
1687
|
|
|
1674
1688
|
Register a listener for disabled events.
|
|
1675
1689
|
|
|
@@ -1695,7 +1709,7 @@ The method that is called when the disabled status changes.
|
|
|
1695
1709
|
|
|
1696
1710
|
> **registerOnSetValue**(`setValueFn`): `void`
|
|
1697
1711
|
|
|
1698
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1712
|
+
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)
|
|
1699
1713
|
|
|
1700
1714
|
#### Parameters
|
|
1701
1715
|
|
|
@@ -1713,7 +1727,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:301](https://gitlab.
|
|
|
1713
1727
|
|
|
1714
1728
|
> **removeAsyncValidators**(`validators`): `void`
|
|
1715
1729
|
|
|
1716
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1730
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2394
|
|
1717
1731
|
|
|
1718
1732
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
1719
1733
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1745,7 +1759,7 @@ The asynchronous validator or validators to remove.
|
|
|
1745
1759
|
|
|
1746
1760
|
> **removeValidators**(`validators`): `void`
|
|
1747
1761
|
|
|
1748
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
1762
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2382
|
|
1749
1763
|
|
|
1750
1764
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
1751
1765
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -1795,7 +1809,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1795
1809
|
|
|
1796
1810
|
> **reset**(`formState`?, `options`?): `void`
|
|
1797
1811
|
|
|
1798
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1812
|
+
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)
|
|
1799
1813
|
|
|
1800
1814
|
Resets the form control, marking it `pristine` and `untouched`, and resetting
|
|
1801
1815
|
the value. The new value will be the provided value (if passed), `null`, or the initial value
|
|
@@ -1852,7 +1866,7 @@ When false, no events are emitted.
|
|
|
1852
1866
|
|
|
1853
1867
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
1854
1868
|
|
|
1855
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1869
|
+
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)
|
|
1856
1870
|
|
|
1857
1871
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
1858
1872
|
overwrites any existing asynchronous validators.
|
|
@@ -1887,7 +1901,7 @@ using `addAsyncValidators()` method instead.
|
|
|
1887
1901
|
|
|
1888
1902
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
1889
1903
|
|
|
1890
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1904
|
+
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)
|
|
1891
1905
|
|
|
1892
1906
|
#### Parameters
|
|
1893
1907
|
|
|
@@ -1909,7 +1923,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:297](https://gitlab.
|
|
|
1909
1923
|
|
|
1910
1924
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
1911
1925
|
|
|
1912
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1926
|
+
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)
|
|
1913
1927
|
|
|
1914
1928
|
#### Parameters
|
|
1915
1929
|
|
|
@@ -1931,7 +1945,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:293](https://gitlab.
|
|
|
1931
1945
|
|
|
1932
1946
|
> **setError**(`key`, `value`, `opts`): `void`
|
|
1933
1947
|
|
|
1934
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1948
|
+
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)
|
|
1935
1949
|
|
|
1936
1950
|
#### Parameters
|
|
1937
1951
|
|
|
@@ -1957,7 +1971,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:281](https://gitlab.
|
|
|
1957
1971
|
|
|
1958
1972
|
> **setErrors**(`errors`, `opts`): `void`
|
|
1959
1973
|
|
|
1960
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
1974
|
+
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)
|
|
1961
1975
|
|
|
1962
1976
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
1963
1977
|
|
|
@@ -2010,7 +2024,7 @@ expect(login.valid).toEqual(true);
|
|
|
2010
2024
|
|
|
2011
2025
|
> **setParent**(`parent`): `void`
|
|
2012
2026
|
|
|
2013
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
2027
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2612
|
|
2014
2028
|
|
|
2015
2029
|
Sets the parent of the control
|
|
2016
2030
|
|
|
@@ -2036,7 +2050,7 @@ The new parent.
|
|
|
2036
2050
|
|
|
2037
2051
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2038
2052
|
|
|
2039
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2053
|
+
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)
|
|
2040
2054
|
|
|
2041
2055
|
Sets the synchronous validators that are active on this control. Calling
|
|
2042
2056
|
this overwrites any existing synchronous validators.
|
|
@@ -2073,7 +2087,7 @@ using `addValidators()` method instead.
|
|
|
2073
2087
|
|
|
2074
2088
|
> **setValue**(`valueOrObservable`, `options`?): `Subscription`
|
|
2075
2089
|
|
|
2076
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2090
|
+
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)
|
|
2077
2091
|
|
|
2078
2092
|
Sets a new value for the form control.
|
|
2079
2093
|
|
|
@@ -2116,7 +2130,7 @@ event to update the model.
|
|
|
2116
2130
|
|
|
2117
2131
|
> **setValue**(`valueOrObservable`, `options`?): `void`
|
|
2118
2132
|
|
|
2119
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2133
|
+
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)
|
|
2120
2134
|
|
|
2121
2135
|
##### Parameters
|
|
2122
2136
|
|
|
@@ -2142,7 +2156,7 @@ Defined in: [packages/angular/forms/src/lib/form-control.ts:145](https://gitlab.
|
|
|
2142
2156
|
|
|
2143
2157
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2144
2158
|
|
|
2145
|
-
Defined in: node\_modules/@angular/forms/index.d.ts:
|
|
2159
|
+
Defined in: node\_modules/@angular/forms/index.d.ts:2644
|
|
2146
2160
|
|
|
2147
2161
|
Recalculates the value and validation status of the control.
|
|
2148
2162
|
|
|
@@ -2183,7 +2197,7 @@ When false, no events are emitted.
|
|
|
2183
2197
|
|
|
2184
2198
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2185
2199
|
|
|
2186
|
-
Defined in: [packages/angular/forms/src/lib/form-control.ts:
|
|
2200
|
+
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)
|
|
2187
2201
|
|
|
2188
2202
|
#### Parameters
|
|
2189
2203
|
|