@rxap/forms 21.0.1 → 22.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/classes/RxapFormArray.html +153 -107
- package/compodoc/classes/RxapFormControl.html +158 -110
- package/compodoc/classes/RxapFormGroup.html +217 -169
- package/compodoc/dependencies.html +7 -7
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +9960 -8724
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ControlValueAccessor.html +5 -5
- package/docs/html/classes/FormArrayControlManager.html +2 -2
- package/docs/html/classes/FormControlErrorDirective.html +3 -3
- package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/html/classes/FormControlNameDirective.html +42 -33
- package/docs/html/classes/FormDirective.html +48 -48
- package/docs/html/classes/FormGroupNameDirective.html +28 -28
- package/docs/html/classes/FormLoadedDirective.html +2 -2
- package/docs/html/classes/FormLoadingDirective.html +2 -2
- package/docs/html/classes/FormLoadingErrorDirective.html +2 -2
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +2 -2
- package/docs/html/classes/FormSubmitInvalidDirective.html +2 -2
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +2 -2
- package/docs/html/classes/FormSubmittingDirective.html +2 -2
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +65 -63
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +60 -58
- package/docs/html/classes/RxapFormGroup.html +62 -60
- package/docs/html/enums/MetadataKeys.html +2 -2
- package/docs/html/functions/ControlAsyncValidator.html +1 -1
- package/docs/html/functions/ControlChange.html +1 -1
- package/docs/html/functions/ControlSetValue.html +1 -1
- package/docs/html/functions/ControlValidator.html +1 -1
- package/docs/html/functions/IsArray.html +1 -1
- package/docs/html/functions/IsBoolean.html +1 -1
- package/docs/html/functions/IsComplex.html +1 -1
- package/docs/html/functions/IsDate.html +1 -1
- package/docs/html/functions/IsEmail.html +1 -1
- package/docs/html/functions/IsEnum.html +1 -1
- package/docs/html/functions/IsIP.html +1 -1
- package/docs/html/functions/IsInt.html +1 -1
- package/docs/html/functions/IsNumber-1.html +2 -2
- package/docs/html/functions/IsObject.html +1 -1
- package/docs/html/functions/IsPhoneNumber.html +1 -1
- package/docs/html/functions/IsPort.html +1 -1
- package/docs/html/functions/IsString.html +1 -1
- package/docs/html/functions/IsUUID.html +1 -1
- package/docs/html/functions/IsUrl.html +1 -1
- package/docs/html/functions/RxapForm.html +1 -1
- package/docs/html/functions/ToFormMethod.html +1 -1
- package/docs/html/functions/ToFormSubmitMethod.html +2 -2
- package/docs/html/functions/UseFormArrayControl.html +1 -1
- package/docs/html/functions/UseFormArrayGroup.html +1 -1
- package/docs/html/functions/UseFormControl.html +1 -1
- package/docs/html/functions/UseFormGroup.html +1 -1
- package/docs/html/functions/_IsNumber.html +1 -1
- package/docs/html/functions/controlDisabledWhile.html +1 -1
- package/docs/html/functions/controlDisabled_.html +1 -1
- package/docs/html/functions/controlEnabledWhile.html +1 -1
- package/docs/html/functions/controlEnabled_.html +1 -1
- package/docs/html/functions/controlErrorChanges_.html +1 -1
- package/docs/html/functions/controlReadonly_.html +1 -1
- package/docs/html/functions/controlStatusChanges_.html +1 -1
- package/docs/html/functions/controlValueChanges_.html +1 -1
- package/docs/html/functions/disableControl.html +1 -1
- package/docs/html/functions/enableControl.html +1 -1
- package/docs/html/functions/hasErrorAndDirty.html +1 -1
- package/docs/html/functions/hasErrorAndTouched.html +1 -1
- package/docs/html/functions/isNumber.html +2 -2
- package/docs/html/functions/markAllDirty.html +1 -1
- package/docs/html/functions/markAllPristine.html +1 -1
- package/docs/html/functions/markAllUntouched.html +1 -1
- package/docs/html/functions/mergeControlValidators.html +1 -1
- package/docs/html/functions/selectControlValue_.html +1 -1
- package/docs/html/functions/validateControlOn.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AbstractControl.html +54 -54
- package/docs/html/interfaces/AbstractControlOptions.html +4 -4
- package/docs/html/interfaces/BoxedValue.html +2 -2
- package/docs/html/interfaces/ComplexityOptions.html +2 -2
- package/docs/html/interfaces/ControlOptions.html +3 -3
- package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/html/interfaces/FormArrayOptions.html +4 -4
- package/docs/html/interfaces/FormDefinition.html +6 -6
- package/docs/html/interfaces/FormDefinitionArray.html +42 -42
- package/docs/html/interfaces/FormDefinitionMetadata.html +5 -5
- package/docs/html/interfaces/FormGroupOptions.html +4 -4
- package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/html/interfaces/FormLoadMethod.html +2 -2
- package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/FormOptions.html +4 -4
- package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/InjectableValidator.html +2 -2
- package/docs/html/interfaces/IsNumberOptions.html +3 -3
- package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +4 -4
- package/docs/html/interfaces/_RxapAbstractControlOptions.html +4 -4
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AsyncValidator.html +1 -1
- package/docs/html/types/AsyncValidatorFn.html +1 -1
- package/docs/html/types/ChangeFn.html +1 -1
- package/docs/html/types/ControlEventOptions.html +1 -1
- package/docs/html/types/ControlInsertedFn.html +1 -1
- package/docs/html/types/ControlPath.html +1 -1
- package/docs/html/types/ControlRemovedFn.html +1 -1
- package/docs/html/types/ControlState.html +1 -1
- package/docs/html/types/EmitEvent.html +1 -1
- package/docs/html/types/ExtractAbstractControl.html +1 -1
- package/docs/html/types/ExtractStrings.html +1 -1
- package/docs/html/types/FormBuilderFn.html +1 -1
- package/docs/html/types/FormType.html +1 -1
- package/docs/html/types/KeyValueControls.html +1 -1
- package/docs/html/types/OnlySelf.html +1 -1
- package/docs/html/types/OrBoxedValue.html +1 -1
- package/docs/html/types/RxapAbstractControlOptions.html +1 -1
- package/docs/html/types/SetValueFn.html +1 -1
- package/docs/html/types/ValidationErrors.html +1 -1
- package/docs/html/types/Validator.html +1 -1
- package/docs/html/types/ValidatorFn.html +1 -1
- package/docs/html/types/ValidatorOrOpts.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RxapValidators.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ControlValueAccessor.md +8 -8
- package/docs/markdown/classes/FormArrayControlManager.md +5 -5
- package/docs/markdown/classes/FormControlErrorDirective.md +5 -5
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +3 -3
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +3 -3
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +3 -3
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +3 -3
- package/docs/markdown/classes/FormControlNameDirective.md +154 -36
- package/docs/markdown/classes/FormDirective.md +93 -93
- package/docs/markdown/classes/FormGroupNameDirective.md +30 -30
- package/docs/markdown/classes/FormLoadedDirective.md +3 -3
- package/docs/markdown/classes/FormLoadingDirective.md +3 -3
- package/docs/markdown/classes/FormLoadingErrorDirective.md +3 -3
- package/docs/markdown/classes/FormResetDirective.md +7 -7
- package/docs/markdown/classes/FormSubmitDirective.md +14 -14
- package/docs/markdown/classes/FormSubmitFailedDirective.md +3 -3
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +3 -3
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +3 -3
- package/docs/markdown/classes/FormSubmittingDirective.md +3 -3
- package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
- package/docs/markdown/classes/RxapFormArray.md +134 -109
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +129 -104
- package/docs/markdown/classes/RxapFormGroup.md +148 -123
- package/docs/markdown/enumerations/MetadataKeys.md +10 -10
- package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
- package/docs/markdown/functions/ControlChange.md +2 -2
- package/docs/markdown/functions/ControlSetValue.md +2 -2
- package/docs/markdown/functions/ControlValidator.md +2 -2
- package/docs/markdown/functions/IsArray.md +2 -2
- package/docs/markdown/functions/IsBoolean.md +2 -2
- package/docs/markdown/functions/IsComplex.md +2 -2
- package/docs/markdown/functions/IsDate.md +2 -2
- package/docs/markdown/functions/IsEmail.md +2 -2
- package/docs/markdown/functions/IsEnum.md +2 -2
- package/docs/markdown/functions/IsIP.md +2 -2
- package/docs/markdown/functions/IsInt.md +2 -2
- package/docs/markdown/functions/IsNumber-2.md +2 -2
- package/docs/markdown/functions/IsNumber.md +2 -2
- package/docs/markdown/functions/IsObject.md +2 -2
- package/docs/markdown/functions/IsPhoneNumber.md +2 -2
- package/docs/markdown/functions/IsPort.md +2 -2
- package/docs/markdown/functions/IsString.md +2 -2
- package/docs/markdown/functions/IsUUID.md +2 -2
- package/docs/markdown/functions/IsUrl.md +2 -2
- package/docs/markdown/functions/RxapForm.md +2 -2
- package/docs/markdown/functions/ToFormMethod.md +2 -2
- package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
- package/docs/markdown/functions/UseFormArrayControl.md +2 -2
- package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
- package/docs/markdown/functions/UseFormControl.md +2 -2
- package/docs/markdown/functions/UseFormGroup.md +2 -2
- package/docs/markdown/functions/controlDisabled$.md +2 -2
- package/docs/markdown/functions/controlDisabledWhile.md +2 -2
- package/docs/markdown/functions/controlEnabled$.md +2 -2
- package/docs/markdown/functions/controlEnabledWhile.md +2 -2
- package/docs/markdown/functions/controlErrorChanges$.md +2 -2
- package/docs/markdown/functions/controlReadonly$.md +2 -2
- package/docs/markdown/functions/controlStatusChanges$.md +2 -2
- package/docs/markdown/functions/controlValueChanges$.md +2 -2
- package/docs/markdown/functions/disableControl.md +2 -2
- package/docs/markdown/functions/enableControl.md +2 -2
- package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
- package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
- package/docs/markdown/functions/isNumber-1.md +2 -2
- package/docs/markdown/functions/markAllDirty.md +2 -2
- package/docs/markdown/functions/markAllPristine.md +2 -2
- package/docs/markdown/functions/markAllUntouched.md +2 -2
- package/docs/markdown/functions/mergeControlValidators.md +2 -2
- package/docs/markdown/functions/selectControlValue$.md +2 -2
- package/docs/markdown/functions/validateControlOn.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AbstractControl.md +98 -76
- package/docs/markdown/interfaces/AbstractControlOptions.md +5 -5
- package/docs/markdown/interfaces/BoxedValue.md +4 -4
- package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
- package/docs/markdown/interfaces/ControlOptions.md +10 -10
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +14 -14
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +48 -48
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +13 -13
- package/docs/markdown/interfaces/FormGroupOptions.md +11 -11
- package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/FormOptions.md +11 -11
- package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/InjectableValidator.md +4 -4
- package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
- package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
- package/docs/markdown/interfaces/RxapAbstractControlOptions.md +10 -10
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +11 -11
- package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
- package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ChangeFn.md +2 -2
- package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
- package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlPath.md +2 -2
- package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlState.md +2 -2
- package/docs/markdown/type-aliases/EmitEvent.md +2 -2
- package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
- package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
- package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
- package/docs/markdown/type-aliases/FormType.md +2 -2
- package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
- package/docs/markdown/type-aliases/OnlySelf.md +2 -2
- package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
- package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
- package/docs/markdown/type-aliases/SetValueFn.md +2 -2
- package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
- package/docs/markdown/type-aliases/Validator.md +2 -2
- package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RxapValidators.md +2 -2
- package/docs/wiki/Class.ControlValueAccessor.md +7 -7
- package/docs/wiki/Class.FormArrayControlManager.md +4 -4
- package/docs/wiki/Class.FormControlErrorDirective.md +4 -4
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +2 -2
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +2 -2
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +2 -2
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +2 -2
- package/docs/wiki/Class.FormControlNameDirective.md +153 -35
- package/docs/wiki/Class.FormDirective.md +92 -92
- package/docs/wiki/Class.FormGroupNameDirective.md +29 -29
- package/docs/wiki/Class.FormLoadedDirective.md +2 -2
- package/docs/wiki/Class.FormLoadingDirective.md +2 -2
- package/docs/wiki/Class.FormLoadingErrorDirective.md +2 -2
- package/docs/wiki/Class.FormResetDirective.md +6 -6
- package/docs/wiki/Class.FormSubmitDirective.md +13 -13
- package/docs/wiki/Class.FormSubmitFailedDirective.md +2 -2
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +2 -2
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +2 -2
- package/docs/wiki/Class.FormSubmittingDirective.md +2 -2
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +133 -108
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +128 -103
- package/docs/wiki/Class.RxapFormGroup.md +147 -122
- package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
- package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
- package/docs/wiki/Function.ControlChange.md +1 -1
- package/docs/wiki/Function.ControlSetValue.md +1 -1
- package/docs/wiki/Function.ControlValidator.md +1 -1
- package/docs/wiki/Function.IsArray.md +1 -1
- package/docs/wiki/Function.IsBoolean.md +1 -1
- package/docs/wiki/Function.IsComplex.md +1 -1
- package/docs/wiki/Function.IsDate.md +1 -1
- package/docs/wiki/Function.IsEmail.md +1 -1
- package/docs/wiki/Function.IsEnum.md +1 -1
- package/docs/wiki/Function.IsIP.md +1 -1
- package/docs/wiki/Function.IsInt.md +1 -1
- package/docs/wiki/Function.IsNumber.md +1 -1
- package/docs/wiki/Function.IsObject.md +1 -1
- package/docs/wiki/Function.IsPhoneNumber.md +1 -1
- package/docs/wiki/Function.IsPort.md +1 -1
- package/docs/wiki/Function.IsString.md +1 -1
- package/docs/wiki/Function.IsUUID.md +1 -1
- package/docs/wiki/Function.IsUrl.md +1 -1
- package/docs/wiki/Function.RxapForm.md +1 -1
- package/docs/wiki/Function.ToFormMethod.md +1 -1
- package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
- package/docs/wiki/Function.UseFormArrayControl.md +1 -1
- package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
- package/docs/wiki/Function.UseFormControl.md +1 -1
- package/docs/wiki/Function.UseFormGroup.md +1 -1
- package/docs/wiki/Function._IsNumber.md +1 -1
- package/docs/wiki/Function.controlDisabled$.md +1 -1
- package/docs/wiki/Function.controlDisabledWhile.md +1 -1
- package/docs/wiki/Function.controlEnabled$.md +1 -1
- package/docs/wiki/Function.controlEnabledWhile.md +1 -1
- package/docs/wiki/Function.controlErrorChanges$.md +1 -1
- package/docs/wiki/Function.controlReadonly$.md +1 -1
- package/docs/wiki/Function.controlStatusChanges$.md +1 -1
- package/docs/wiki/Function.controlValueChanges$.md +1 -1
- package/docs/wiki/Function.disableControl.md +1 -1
- package/docs/wiki/Function.enableControl.md +1 -1
- package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
- package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
- package/docs/wiki/Function.isNumber.md +1 -1
- package/docs/wiki/Function.markAllDirty.md +1 -1
- package/docs/wiki/Function.markAllPristine.md +1 -1
- package/docs/wiki/Function.markAllUntouched.md +1 -1
- package/docs/wiki/Function.mergeControlValidators.md +1 -1
- package/docs/wiki/Function.selectControlValue$.md +1 -1
- package/docs/wiki/Function.validateControlOn.md +1 -1
- package/docs/wiki/Interface.AbstractControl.md +97 -75
- package/docs/wiki/Interface.AbstractControlOptions.md +4 -4
- package/docs/wiki/Interface.BoxedValue.md +3 -3
- package/docs/wiki/Interface.ComplexityOptions.md +11 -11
- package/docs/wiki/Interface.ControlOptions.md +9 -9
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +13 -13
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +47 -47
- package/docs/wiki/Interface.FormDefinitionMetadata.md +12 -12
- package/docs/wiki/Interface.FormGroupOptions.md +10 -10
- package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.FormOptions.md +10 -10
- package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.InjectableValidator.md +3 -3
- package/docs/wiki/Interface.IsNumberOptions.md +5 -5
- package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
- package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +10 -10
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +9 -9
- package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
- package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
- package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlPath.md +1 -1
- package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlState.md +1 -1
- package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
- package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
- package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
- package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
- package/docs/wiki/TypeAlias.FormType.md +1 -1
- package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
- package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
- package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
- package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
- package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
- package/docs/wiki/TypeAlias.Validator.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RxapValidators.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-forms.mjs +2655 -2537
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +17 -17
- package/types/rxap-forms.d.ts +954 -910
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/forms
|
|
1
|
+
[**@rxap/forms v22.0.0-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: RxapFormArray\<T, E, Parent\>
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L55)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com
|
|
|
30
30
|
|
|
31
31
|
> **new RxapFormArray**\<`T`, `E`, `Parent`\>(`controls`, `options`): [`RxapFormArray`](RxapFormArray.md)\<`T`, `E`, `Parent`\>
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
33
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:140](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L140)
|
|
34
34
|
|
|
35
35
|
#### Parameters
|
|
36
36
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:131](https://gitlab.co
|
|
|
56
56
|
|
|
57
57
|
> `readonly` **controlId**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
59
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:127](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L127)
|
|
60
60
|
|
|
61
61
|
#### Implementation of
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:118](https://gitlab.co
|
|
|
68
68
|
|
|
69
69
|
> **controls**: [`AbstractControl`](../interfaces/AbstractControl.md)\<`T`\>[]
|
|
70
70
|
|
|
71
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
71
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:141](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L141)
|
|
72
72
|
|
|
73
73
|
#### Inherited from
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:132](https://gitlab.co
|
|
|
80
80
|
|
|
81
81
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
82
82
|
|
|
83
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
83
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:133](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L133)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:124](https://gitlab.co
|
|
|
88
88
|
|
|
89
89
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
90
90
|
|
|
91
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.com/rxap/packages/-/blob/
|
|
91
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L112)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -96,26 +96,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.co
|
|
|
96
96
|
|
|
97
97
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:114](https://gitlab.com/rxap/packages/-/blob/
|
|
100
|
-
|
|
101
|
-
***
|
|
102
|
-
|
|
103
|
-
### errors
|
|
104
|
-
|
|
105
|
-
> `readonly` **errors**: `null` \| `E`
|
|
106
|
-
|
|
107
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:115](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/forms/src/lib/form-array.ts#L115)
|
|
108
|
-
|
|
109
|
-
An object containing any errors generated by failing validation,
|
|
110
|
-
or null if there are no errors.
|
|
111
|
-
|
|
112
|
-
#### Implementation of
|
|
113
|
-
|
|
114
|
-
[`AbstractControl`](../interfaces/AbstractControl.md).[`errors`](../interfaces/AbstractControl.md#errors)
|
|
115
|
-
|
|
116
|
-
#### Overrides
|
|
117
|
-
|
|
118
|
-
`UntypedFormArray.errors`
|
|
99
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:114](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L114)
|
|
119
100
|
|
|
120
101
|
***
|
|
121
102
|
|
|
@@ -123,7 +104,7 @@ or null if there are no errors.
|
|
|
123
104
|
|
|
124
105
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
125
106
|
|
|
126
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
107
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:126](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L126)
|
|
127
108
|
|
|
128
109
|
***
|
|
129
110
|
|
|
@@ -131,7 +112,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:117](https://gitlab.co
|
|
|
131
112
|
|
|
132
113
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
133
114
|
|
|
134
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
115
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2700
|
|
135
116
|
|
|
136
117
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
137
118
|
It emits for value, status, pristine or touched changes.
|
|
@@ -161,7 +142,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
161
142
|
|
|
162
143
|
> `readonly` **status**: [`ControlState`](../type-aliases/ControlState.md)
|
|
163
144
|
|
|
164
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:111](https://gitlab.com/rxap/packages/-/blob/
|
|
145
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:111](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L111)
|
|
165
146
|
|
|
166
147
|
The validation status of the control.
|
|
167
148
|
|
|
@@ -186,7 +167,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
186
167
|
|
|
187
168
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
|
|
188
169
|
|
|
189
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
170
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:125](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L125)
|
|
190
171
|
|
|
191
172
|
***
|
|
192
173
|
|
|
@@ -194,7 +175,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:116](https://gitlab.co
|
|
|
194
175
|
|
|
195
176
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../type-aliases/ControlState.md)\>
|
|
196
177
|
|
|
197
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:113](https://gitlab.com/rxap/packages/-/blob/
|
|
178
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:113](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L113)
|
|
198
179
|
|
|
199
180
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
200
181
|
recalculates.
|
|
@@ -218,7 +199,7 @@ recalculates.
|
|
|
218
199
|
|
|
219
200
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
220
201
|
|
|
221
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
202
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:129](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L129)
|
|
222
203
|
|
|
223
204
|
***
|
|
224
205
|
|
|
@@ -226,7 +207,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:120](https://gitlab.co
|
|
|
226
207
|
|
|
227
208
|
> `readonly` **value**: `T`[]
|
|
228
209
|
|
|
229
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:95](https://gitlab.com/rxap/packages/-/blob/
|
|
210
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:95](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L95)
|
|
230
211
|
|
|
231
212
|
The current value of the control.
|
|
232
213
|
|
|
@@ -252,7 +233,7 @@ with a key-value pair for each member of the group.
|
|
|
252
233
|
|
|
253
234
|
> `readonly` **value$**: `Observable`\<`T`[]\>
|
|
254
235
|
|
|
255
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.com/rxap/packages/-/blob/
|
|
236
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L109)
|
|
256
237
|
|
|
257
238
|
***
|
|
258
239
|
|
|
@@ -260,7 +241,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.co
|
|
|
260
241
|
|
|
261
242
|
> `readonly` **valueChanges**: `Observable`\<`T`[]\>
|
|
262
243
|
|
|
263
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:107](https://gitlab.com/rxap/packages/-/blob/
|
|
244
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:107](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L107)
|
|
264
245
|
|
|
265
246
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
266
247
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -288,7 +269,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
288
269
|
|
|
289
270
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
290
271
|
|
|
291
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
272
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2580
|
|
292
273
|
|
|
293
274
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
294
275
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -302,7 +283,7 @@ See `Validators.compose()` for additional information.
|
|
|
302
283
|
|
|
303
284
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
304
285
|
|
|
305
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
286
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2581
|
|
306
287
|
|
|
307
288
|
##### Parameters
|
|
308
289
|
|
|
@@ -330,7 +311,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
|
330
311
|
|
|
331
312
|
> **get** **controlPath**(): `string`
|
|
332
313
|
|
|
333
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com/rxap/packages/-/blob/
|
|
314
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L81)
|
|
334
315
|
|
|
335
316
|
##### Returns
|
|
336
317
|
|
|
@@ -344,7 +325,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com
|
|
|
344
325
|
|
|
345
326
|
> **get** **dirty**(): `boolean`
|
|
346
327
|
|
|
347
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
328
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2670
|
|
348
329
|
|
|
349
330
|
A control is `dirty` if the user has changed the value
|
|
350
331
|
in the UI.
|
|
@@ -372,7 +353,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
372
353
|
|
|
373
354
|
> **get** **disabled**(): `boolean`
|
|
374
355
|
|
|
375
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
356
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2635
|
|
376
357
|
|
|
377
358
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
378
359
|
|
|
@@ -406,7 +387,7 @@ True if the control is disabled, false otherwise.
|
|
|
406
387
|
|
|
407
388
|
> **get** **enabled**(): `boolean`
|
|
408
389
|
|
|
409
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
390
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2645
|
|
410
391
|
|
|
411
392
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
412
393
|
|
|
@@ -431,13 +412,57 @@ false if the status is 'DISABLED'.
|
|
|
431
412
|
|
|
432
413
|
***
|
|
433
414
|
|
|
415
|
+
### errors
|
|
416
|
+
|
|
417
|
+
#### Get Signature
|
|
418
|
+
|
|
419
|
+
> **get** **errors**(): `null` \| `E`
|
|
420
|
+
|
|
421
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:115](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L115)
|
|
422
|
+
|
|
423
|
+
An object containing any errors generated by failing validation,
|
|
424
|
+
or null if there are no errors.
|
|
425
|
+
|
|
426
|
+
##### Returns
|
|
427
|
+
|
|
428
|
+
`null` \| `E`
|
|
429
|
+
|
|
430
|
+
#### Set Signature
|
|
431
|
+
|
|
432
|
+
> **set** **errors**(`value`): `void`
|
|
433
|
+
|
|
434
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:121](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L121)
|
|
435
|
+
|
|
436
|
+
An object containing any errors generated by failing validation,
|
|
437
|
+
or null if there are no errors.
|
|
438
|
+
|
|
439
|
+
##### Parameters
|
|
440
|
+
|
|
441
|
+
###### value
|
|
442
|
+
|
|
443
|
+
`null` | `E`
|
|
444
|
+
|
|
445
|
+
##### Returns
|
|
446
|
+
|
|
447
|
+
`void`
|
|
448
|
+
|
|
449
|
+
#### Implementation of
|
|
450
|
+
|
|
451
|
+
[`AbstractControl`](../interfaces/AbstractControl.md).[`errors`](../interfaces/AbstractControl.md#errors)
|
|
452
|
+
|
|
453
|
+
#### Overrides
|
|
454
|
+
|
|
455
|
+
`UntypedFormArray.errors`
|
|
456
|
+
|
|
457
|
+
***
|
|
458
|
+
|
|
434
459
|
### fullControlPath
|
|
435
460
|
|
|
436
461
|
#### Get Signature
|
|
437
462
|
|
|
438
463
|
> **get** **fullControlPath**(): `string`
|
|
439
464
|
|
|
440
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com/rxap/packages/-/blob/
|
|
465
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L97)
|
|
441
466
|
|
|
442
467
|
##### Returns
|
|
443
468
|
|
|
@@ -455,7 +480,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com
|
|
|
455
480
|
|
|
456
481
|
> **get** **invalid**(): `boolean`
|
|
457
482
|
|
|
458
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
483
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2614
|
|
459
484
|
|
|
460
485
|
A control is `invalid` when its `status` is `INVALID`.
|
|
461
486
|
|
|
@@ -486,7 +511,7 @@ false otherwise.
|
|
|
486
511
|
|
|
487
512
|
> **get** **length**(): `number`
|
|
488
513
|
|
|
489
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
514
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1177
|
|
490
515
|
|
|
491
516
|
Length of the control array.
|
|
492
517
|
|
|
@@ -506,7 +531,7 @@ Length of the control array.
|
|
|
506
531
|
|
|
507
532
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
508
533
|
|
|
509
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
534
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2585
|
|
510
535
|
|
|
511
536
|
The parent control.
|
|
512
537
|
|
|
@@ -530,7 +555,7 @@ The parent control.
|
|
|
530
555
|
|
|
531
556
|
> **get** **pending**(): `boolean`
|
|
532
557
|
|
|
533
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
558
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2623
|
|
534
559
|
|
|
535
560
|
A control is `pending` when its `status` is `PENDING`.
|
|
536
561
|
|
|
@@ -561,7 +586,7 @@ false otherwise.
|
|
|
561
586
|
|
|
562
587
|
> **get** **pristine**(): `boolean`
|
|
563
588
|
|
|
564
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
589
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2660
|
|
565
590
|
|
|
566
591
|
A control is `pristine` if the user has not yet changed
|
|
567
592
|
the value in the UI.
|
|
@@ -577,7 +602,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
577
602
|
|
|
578
603
|
> **set** **pristine**(`value`): `void`
|
|
579
604
|
|
|
580
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
605
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
581
606
|
|
|
582
607
|
##### Parameters
|
|
583
608
|
|
|
@@ -605,7 +630,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
|
605
630
|
|
|
606
631
|
> **get** **readonly**(): `boolean`
|
|
607
632
|
|
|
608
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
633
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L63)
|
|
609
634
|
|
|
610
635
|
##### Returns
|
|
611
636
|
|
|
@@ -615,7 +640,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com
|
|
|
615
640
|
|
|
616
641
|
> **set** **readonly**(`value`): `void`
|
|
617
642
|
|
|
618
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com/rxap/packages/-/blob/
|
|
643
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L67)
|
|
619
644
|
|
|
620
645
|
##### Parameters
|
|
621
646
|
|
|
@@ -639,7 +664,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com
|
|
|
639
664
|
|
|
640
665
|
> **get** **root**(): `AbstractControl`
|
|
641
666
|
|
|
642
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
667
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3212
|
|
643
668
|
|
|
644
669
|
Retrieves the top-level ancestor of this control.
|
|
645
670
|
|
|
@@ -663,7 +688,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
663
688
|
|
|
664
689
|
> **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`\>
|
|
665
690
|
|
|
666
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com/rxap/packages/-/blob/
|
|
691
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L75)
|
|
667
692
|
|
|
668
693
|
**`Internal`**
|
|
669
694
|
|
|
@@ -683,7 +708,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com
|
|
|
683
708
|
|
|
684
709
|
> **get** **touched**(): `boolean`
|
|
685
710
|
|
|
686
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
711
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
687
712
|
|
|
688
713
|
True if the control is marked as `touched`.
|
|
689
714
|
|
|
@@ -698,7 +723,7 @@ a `blur` event on it.
|
|
|
698
723
|
|
|
699
724
|
> **set** **touched**(`value`): `void`
|
|
700
725
|
|
|
701
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
726
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2678
|
|
702
727
|
|
|
703
728
|
##### Parameters
|
|
704
729
|
|
|
@@ -726,7 +751,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
|
726
751
|
|
|
727
752
|
> **get** **untouched**(): `boolean`
|
|
728
753
|
|
|
729
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
754
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2686
|
|
730
755
|
|
|
731
756
|
True if the control has not been marked as touched
|
|
732
757
|
|
|
@@ -753,7 +778,7 @@ a `blur` event on it.
|
|
|
753
778
|
|
|
754
779
|
> **get** **updateOn**(): `FormHooks`
|
|
755
780
|
|
|
756
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
781
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2727
|
|
757
782
|
|
|
758
783
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
759
784
|
the event on which the control updates itself).
|
|
@@ -780,7 +805,7 @@ Default value: `'change'`
|
|
|
780
805
|
|
|
781
806
|
> **get** **valid**(): `boolean`
|
|
782
807
|
|
|
783
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
808
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2605
|
|
784
809
|
|
|
785
810
|
A control is `valid` when its `status` is `VALID`.
|
|
786
811
|
|
|
@@ -811,7 +836,7 @@ false otherwise.
|
|
|
811
836
|
|
|
812
837
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
813
838
|
|
|
814
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
839
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
815
840
|
|
|
816
841
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
817
842
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -825,7 +850,7 @@ See `Validators.compose()` for additional information.
|
|
|
825
850
|
|
|
826
851
|
> **set** **validator**(`validatorFn`): `void`
|
|
827
852
|
|
|
828
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
853
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
829
854
|
|
|
830
855
|
##### Parameters
|
|
831
856
|
|
|
@@ -851,7 +876,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
|
851
876
|
|
|
852
877
|
> **addAsyncValidators**(`validators`): `void`
|
|
853
878
|
|
|
854
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
879
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2774
|
|
855
880
|
|
|
856
881
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
857
882
|
validators.
|
|
@@ -887,7 +912,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
887
912
|
|
|
888
913
|
> **addValidators**(`validators`): `void`
|
|
889
914
|
|
|
890
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
915
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2762
|
|
891
916
|
|
|
892
917
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
893
918
|
|
|
@@ -924,7 +949,7 @@ The new validator function or functions to add to this control.
|
|
|
924
949
|
|
|
925
950
|
> **at**(`index`): [`AbstractControl`](../interfaces/AbstractControl.md)\<`T`\>
|
|
926
951
|
|
|
927
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
952
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:155](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L155)
|
|
928
953
|
|
|
929
954
|
Get the `AbstractControl` at the given `index` in the array.
|
|
930
955
|
|
|
@@ -952,7 +977,7 @@ undefined. This behavior is the same as `Array.at(index)`.
|
|
|
952
977
|
|
|
953
978
|
> **clear**(`options`?): `void`
|
|
954
979
|
|
|
955
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
980
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1346
|
|
956
981
|
|
|
957
982
|
Remove all controls in the `FormArray`.
|
|
958
983
|
|
|
@@ -1012,7 +1037,7 @@ while (arr.length) {
|
|
|
1012
1037
|
|
|
1013
1038
|
> **clearAsyncValidators**(): `void`
|
|
1014
1039
|
|
|
1015
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1040
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2861
|
|
1016
1041
|
|
|
1017
1042
|
Empties out the async validator list.
|
|
1018
1043
|
|
|
@@ -1037,7 +1062,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1037
1062
|
|
|
1038
1063
|
> **clearValidators**(): `void`
|
|
1039
1064
|
|
|
1040
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1065
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2853
|
|
1041
1066
|
|
|
1042
1067
|
Empties out the synchronous validator list.
|
|
1043
1068
|
|
|
@@ -1062,7 +1087,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1062
1087
|
|
|
1063
1088
|
> **disable**(`opts`?): `void`
|
|
1064
1089
|
|
|
1065
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1090
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3029
|
|
1066
1091
|
|
|
1067
1092
|
Disables the control. This means the control is exempt from validation checks and
|
|
1068
1093
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -1112,7 +1137,7 @@ When false, no events are emitted.
|
|
|
1112
1137
|
|
|
1113
1138
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
1114
1139
|
|
|
1115
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1140
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:216](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L216)
|
|
1116
1141
|
|
|
1117
1142
|
#### Parameters
|
|
1118
1143
|
|
|
@@ -1134,7 +1159,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:207](https://gitlab.co
|
|
|
1134
1159
|
|
|
1135
1160
|
> **enable**(`opts`?): `void`
|
|
1136
1161
|
|
|
1137
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1162
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3051
|
|
1138
1163
|
|
|
1139
1164
|
Enables the control. This means the control is included in validation checks and
|
|
1140
1165
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -1185,7 +1210,7 @@ When false, no events are emitted.
|
|
|
1185
1210
|
|
|
1186
1211
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
1187
1212
|
|
|
1188
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1213
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:223](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L223)
|
|
1189
1214
|
|
|
1190
1215
|
#### Parameters
|
|
1191
1216
|
|
|
@@ -1209,7 +1234,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:214](https://gitlab.co
|
|
|
1209
1234
|
|
|
1210
1235
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1211
1236
|
|
|
1212
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1237
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3142
|
|
1213
1238
|
|
|
1214
1239
|
Retrieves a child control given the control's name or path.
|
|
1215
1240
|
|
|
@@ -1241,7 +1266,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1241
1266
|
|
|
1242
1267
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1243
1268
|
|
|
1244
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1269
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3149
|
|
1245
1270
|
|
|
1246
1271
|
Retrieves a child control given the control's name or path.
|
|
1247
1272
|
|
|
@@ -1276,7 +1301,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1276
1301
|
|
|
1277
1302
|
> **getError**\<`K`\>(`errorCode`, `path`?): `null` \| `E`\[`K`\]
|
|
1278
1303
|
|
|
1279
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1304
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:420](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L420)
|
|
1280
1305
|
|
|
1281
1306
|
#### Type Parameters
|
|
1282
1307
|
|
|
@@ -1339,7 +1364,7 @@ It can be provided to this method in one of two formats:
|
|
|
1339
1364
|
|
|
1340
1365
|
> **getRawValue**(): `T`[]
|
|
1341
1366
|
|
|
1342
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1367
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:159](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L159)
|
|
1343
1368
|
|
|
1344
1369
|
The aggregate value of the array, including any disabled controls.
|
|
1345
1370
|
|
|
@@ -1363,7 +1388,7 @@ Reports all values regardless of disabled status.
|
|
|
1363
1388
|
|
|
1364
1389
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1365
1390
|
|
|
1366
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1391
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2845
|
|
1367
1392
|
|
|
1368
1393
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1369
1394
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1397,7 +1422,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1397
1422
|
|
|
1398
1423
|
> **hasError**(`errorCode`, `path`?): `boolean`
|
|
1399
1424
|
|
|
1400
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1425
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:412](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L412)
|
|
1401
1426
|
|
|
1402
1427
|
#### Parameters
|
|
1403
1428
|
|
|
@@ -1459,7 +1484,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1459
1484
|
|
|
1460
1485
|
> **hasErrorAndDirty**(`errorCode`, `path`?): `boolean`
|
|
1461
1486
|
|
|
1462
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1487
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:326](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L326)
|
|
1463
1488
|
|
|
1464
1489
|
#### Parameters
|
|
1465
1490
|
|
|
@@ -1481,7 +1506,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:317](https://gitlab.co
|
|
|
1481
1506
|
|
|
1482
1507
|
> **hasErrorAndTouched**(`errorCode`, `path`?): `boolean`
|
|
1483
1508
|
|
|
1484
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1509
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:274](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L274)
|
|
1485
1510
|
|
|
1486
1511
|
#### Parameters
|
|
1487
1512
|
|
|
@@ -1503,7 +1528,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:265](https://gitlab.co
|
|
|
1503
1528
|
|
|
1504
1529
|
> **hasValidator**(`validator`): `boolean`
|
|
1505
1530
|
|
|
1506
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1531
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
1507
1532
|
|
|
1508
1533
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1509
1534
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1550,7 +1575,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1550
1575
|
|
|
1551
1576
|
> **insert**(`index`, `control`): `void`
|
|
1552
1577
|
|
|
1553
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1578
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:163](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L163)
|
|
1554
1579
|
|
|
1555
1580
|
Insert a new `AbstractControl` at the given `index` in the array.
|
|
1556
1581
|
|
|
@@ -1584,7 +1609,7 @@ Form control to be inserted
|
|
|
1584
1609
|
|
|
1585
1610
|
> **insertAt**(`index`?, `state`?, `options`?): `void`
|
|
1586
1611
|
|
|
1587
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1612
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:178](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L178)
|
|
1588
1613
|
|
|
1589
1614
|
inserts a new control at the specified index. If the index is undefined
|
|
1590
1615
|
the new control will be added to the end.
|
|
@@ -1619,7 +1644,7 @@ the new control will be added to the end.
|
|
|
1619
1644
|
|
|
1620
1645
|
> **markAllAsDirty**(): `void`
|
|
1621
1646
|
|
|
1622
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1647
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:242](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L242)
|
|
1623
1648
|
|
|
1624
1649
|
Marks the control and all its descendant controls as `dirty`.
|
|
1625
1650
|
|
|
@@ -1646,7 +1671,7 @@ Marks the control and all its descendant controls as `dirty`.
|
|
|
1646
1671
|
|
|
1647
1672
|
> **markAllAsPristine**(): `void`
|
|
1648
1673
|
|
|
1649
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1674
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:246](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L246)
|
|
1650
1675
|
|
|
1651
1676
|
#### Returns
|
|
1652
1677
|
|
|
@@ -1658,7 +1683,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:237](https://gitlab.co
|
|
|
1658
1683
|
|
|
1659
1684
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1660
1685
|
|
|
1661
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1686
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2914
|
|
1662
1687
|
|
|
1663
1688
|
Marks the control and all its descendant controls as `touched`.
|
|
1664
1689
|
|
|
@@ -1699,7 +1724,7 @@ When false, no events are emitted.
|
|
|
1699
1724
|
|
|
1700
1725
|
> **markAllAsUntouched**(): `void`
|
|
1701
1726
|
|
|
1702
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1727
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:264](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L264)
|
|
1703
1728
|
|
|
1704
1729
|
#### Returns
|
|
1705
1730
|
|
|
@@ -1711,7 +1736,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:255](https://gitlab.co
|
|
|
1711
1736
|
|
|
1712
1737
|
> **markAsDirty**(`opts`?): `void`
|
|
1713
1738
|
|
|
1714
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1739
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:383](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L383)
|
|
1715
1740
|
|
|
1716
1741
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1717
1742
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1755,7 +1780,7 @@ When false, no events are emitted.
|
|
|
1755
1780
|
|
|
1756
1781
|
> **markAsPending**(`opts`?): `void`
|
|
1757
1782
|
|
|
1758
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1783
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3008
|
|
1759
1784
|
|
|
1760
1785
|
Marks the control as `pending`.
|
|
1761
1786
|
|
|
@@ -1804,7 +1829,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1804
1829
|
|
|
1805
1830
|
> **markAsPristine**(`opts`?): `void`
|
|
1806
1831
|
|
|
1807
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1832
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:378](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L378)
|
|
1808
1833
|
|
|
1809
1834
|
Marks the control as `pristine`.
|
|
1810
1835
|
|
|
@@ -1851,7 +1876,7 @@ When false, no events are emitted.
|
|
|
1851
1876
|
|
|
1852
1877
|
> **markAsTouched**(`opts`?): `void`
|
|
1853
1878
|
|
|
1854
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1879
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:368](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L368)
|
|
1855
1880
|
|
|
1856
1881
|
Marks the control as `touched`. A control is touched by focus and
|
|
1857
1882
|
blur events that do not change the value.
|
|
@@ -1895,7 +1920,7 @@ When false, no events are emitted.
|
|
|
1895
1920
|
|
|
1896
1921
|
> **markAsUntouched**(`opts`?): `void`
|
|
1897
1922
|
|
|
1898
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1923
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:373](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L373)
|
|
1899
1924
|
|
|
1900
1925
|
Marks the control as `untouched`.
|
|
1901
1926
|
|
|
@@ -1941,7 +1966,7 @@ When false, no events are emitted.
|
|
|
1941
1966
|
|
|
1942
1967
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1943
1968
|
|
|
1944
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1969
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:234](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L234)
|
|
1945
1970
|
|
|
1946
1971
|
#### Parameters
|
|
1947
1972
|
|
|
@@ -1959,7 +1984,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:225](https://gitlab.co
|
|
|
1959
1984
|
|
|
1960
1985
|
> **mergeValidators**(`validators`): `void`
|
|
1961
1986
|
|
|
1962
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1987
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:230](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L230)
|
|
1963
1988
|
|
|
1964
1989
|
#### Parameters
|
|
1965
1990
|
|
|
@@ -1977,7 +2002,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:221](https://gitlab.co
|
|
|
1977
2002
|
|
|
1978
2003
|
> **patchValue**(`valueOrObservable`, `options`?): `void` \| `Subscription`
|
|
1979
2004
|
|
|
1980
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2005
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:313](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L313)
|
|
1981
2006
|
|
|
1982
2007
|
Patches the value of the `FormArray`. It accepts an array that matches the
|
|
1983
2008
|
structure of the control, and does its best to match the values to the correct
|
|
@@ -2038,7 +2063,7 @@ console.log(arr.value); // ['Nancy', null]
|
|
|
2038
2063
|
|
|
2039
2064
|
> **push**(`control`, `options`?): `void`
|
|
2040
2065
|
|
|
2041
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2066
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:350](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L350)
|
|
2042
2067
|
|
|
2043
2068
|
Insert a new `AbstractControl` at the end of the array.
|
|
2044
2069
|
|
|
@@ -2076,7 +2101,7 @@ NOTE: Pushing to the FormArray will not mark it dirty. If you want to mark if di
|
|
|
2076
2101
|
|
|
2077
2102
|
> **removeAsyncValidators**(`validators`): `void`
|
|
2078
2103
|
|
|
2079
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2104
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2814
|
|
2080
2105
|
|
|
2081
2106
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
2082
2107
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -2112,7 +2137,7 @@ The asynchronous validator or validators to remove.
|
|
|
2112
2137
|
|
|
2113
2138
|
> **removeAt**(`index`, `opts`?): `void`
|
|
2114
2139
|
|
|
2115
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2140
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:333](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L333)
|
|
2116
2141
|
|
|
2117
2142
|
Remove the control at the given `index` in the array.
|
|
2118
2143
|
|
|
@@ -2144,7 +2169,7 @@ Index in the array to remove the control. If `index` is negative, wraps around
|
|
|
2144
2169
|
|
|
2145
2170
|
> **removeValidators**(`validators`): `void`
|
|
2146
2171
|
|
|
2147
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2172
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2802
|
|
2148
2173
|
|
|
2149
2174
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
2150
2175
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -2196,7 +2221,7 @@ When you add or remove a validator at run time, you must call
|
|
|
2196
2221
|
|
|
2197
2222
|
> **reset**(`value`?, `options`?): `void`
|
|
2198
2223
|
|
|
2199
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2224
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:388](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L388)
|
|
2200
2225
|
|
|
2201
2226
|
Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the
|
|
2202
2227
|
value of all descendants to null or null maps.
|
|
@@ -2272,7 +2297,7 @@ console.log(arr.at(0).status); // 'DISABLED'
|
|
|
2272
2297
|
|
|
2273
2298
|
> **select**\<`R`\>(`mapFn`): `Observable`\<`R`\>
|
|
2274
2299
|
|
|
2275
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2300
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:151](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L151)
|
|
2276
2301
|
|
|
2277
2302
|
#### Type Parameters
|
|
2278
2303
|
|
|
@@ -2294,7 +2319,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:142](https://gitlab.co
|
|
|
2294
2319
|
|
|
2295
2320
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2296
2321
|
|
|
2297
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2322
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:402](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L402)
|
|
2298
2323
|
|
|
2299
2324
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
2300
2325
|
overwrites any existing asynchronous validators.
|
|
@@ -2333,7 +2358,7 @@ using `addAsyncValidators()` method instead.
|
|
|
2333
2358
|
|
|
2334
2359
|
> **setControl**(`index`, `control`, `options`?): `void`
|
|
2335
2360
|
|
|
2336
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2361
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:361](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L361)
|
|
2337
2362
|
|
|
2338
2363
|
Replace an existing control.
|
|
2339
2364
|
|
|
@@ -2377,7 +2402,7 @@ replaced with a new one. When false, no events are emitted.
|
|
|
2377
2402
|
|
|
2378
2403
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
2379
2404
|
|
|
2380
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2405
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:357](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L357)
|
|
2381
2406
|
|
|
2382
2407
|
#### Parameters
|
|
2383
2408
|
|
|
@@ -2399,7 +2424,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:348](https://gitlab.co
|
|
|
2399
2424
|
|
|
2400
2425
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
2401
2426
|
|
|
2402
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2427
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:346](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L346)
|
|
2403
2428
|
|
|
2404
2429
|
#### Parameters
|
|
2405
2430
|
|
|
@@ -2421,7 +2446,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:337](https://gitlab.co
|
|
|
2421
2446
|
|
|
2422
2447
|
> **setErrors**(`errors`, `opts`): `void`
|
|
2423
2448
|
|
|
2424
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2449
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:416](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L416)
|
|
2425
2450
|
|
|
2426
2451
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
2427
2452
|
|
|
@@ -2480,7 +2505,7 @@ expect(login.valid).toEqual(true);
|
|
|
2480
2505
|
|
|
2481
2506
|
> **setParent**(`parent`): `void`
|
|
2482
2507
|
|
|
2483
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2508
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3061
|
|
2484
2509
|
|
|
2485
2510
|
Sets the parent of the control
|
|
2486
2511
|
|
|
@@ -2510,7 +2535,7 @@ The new parent.
|
|
|
2510
2535
|
|
|
2511
2536
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2512
2537
|
|
|
2513
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2538
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:392](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L392)
|
|
2514
2539
|
|
|
2515
2540
|
Sets the synchronous validators that are active on this control. Calling
|
|
2516
2541
|
this overwrites any existing synchronous validators.
|
|
@@ -2549,7 +2574,7 @@ using `addValidators()` method instead.
|
|
|
2549
2574
|
|
|
2550
2575
|
> **setValue**(`valueOrObservable`, `options`?): `void` \| `Subscription`
|
|
2551
2576
|
|
|
2552
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2577
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:250](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L250)
|
|
2553
2578
|
|
|
2554
2579
|
Sets the value of the `FormArray`. It accepts an array that matches
|
|
2555
2580
|
the structure of the control.
|
|
@@ -2612,7 +2637,7 @@ console.log(arr.value); // ['Nancy', 'Drew']
|
|
|
2612
2637
|
|
|
2613
2638
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2614
2639
|
|
|
2615
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2640
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3096
|
|
2616
2641
|
|
|
2617
2642
|
Recalculates the value and validation status of the control.
|
|
2618
2643
|
|
|
@@ -2661,7 +2686,7 @@ When false, no events are emitted.
|
|
|
2661
2686
|
|
|
2662
2687
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2663
2688
|
|
|
2664
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2689
|
+
Defined in: [packages/angular/forms/src/lib/form-array.ts:268](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/forms/src/lib/form-array.ts#L268)
|
|
2665
2690
|
|
|
2666
2691
|
#### Parameters
|
|
2667
2692
|
|