@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapFormArray\<T, E, Parent\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
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)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:55](https://gitlab.com
|
|
|
26
26
|
|
|
27
27
|
> **new RxapFormArray**\<`T`, `E`, `Parent`\>(`controls`, `options`): [`RxapFormArray`](../wiki/Class.RxapFormArray)\<`T`, `E`, `Parent`\>
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
29
|
+
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)
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:131](https://gitlab.co
|
|
|
52
52
|
|
|
53
53
|
> `readonly` **controlId**: `string`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
55
|
+
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)
|
|
56
56
|
|
|
57
57
|
#### Implementation of
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:118](https://gitlab.co
|
|
|
64
64
|
|
|
65
65
|
> **controls**: [`AbstractControl`](../wiki/Interface.AbstractControl)\<`T`\>[]
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
67
|
+
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)
|
|
68
68
|
|
|
69
69
|
#### Inherited from
|
|
70
70
|
|
|
@@ -76,7 +76,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:132](https://gitlab.co
|
|
|
76
76
|
|
|
77
77
|
> `readonly` **dirty$**: `Observable`\<`boolean`\>
|
|
78
78
|
|
|
79
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
79
|
+
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)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -84,7 +84,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:124](https://gitlab.co
|
|
|
84
84
|
|
|
85
85
|
> `readonly` **disabled$**: `Observable`\<`boolean`\>
|
|
86
86
|
|
|
87
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.com/rxap/packages/-/blob/
|
|
87
|
+
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)
|
|
88
88
|
|
|
89
89
|
***
|
|
90
90
|
|
|
@@ -92,26 +92,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:112](https://gitlab.co
|
|
|
92
92
|
|
|
93
93
|
> `readonly` **enabled$**: `Observable`\<`boolean`\>
|
|
94
94
|
|
|
95
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:114](https://gitlab.com/rxap/packages/-/blob/
|
|
96
|
-
|
|
97
|
-
***
|
|
98
|
-
|
|
99
|
-
### errors
|
|
100
|
-
|
|
101
|
-
> `readonly` **errors**: `null` \| `E`
|
|
102
|
-
|
|
103
|
-
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)
|
|
104
|
-
|
|
105
|
-
An object containing any errors generated by failing validation,
|
|
106
|
-
or null if there are no errors.
|
|
107
|
-
|
|
108
|
-
#### Implementation of
|
|
109
|
-
|
|
110
|
-
[`AbstractControl`](../wiki/Interface.AbstractControl).[`errors`](../wiki/Interface.AbstractControl#errors)
|
|
111
|
-
|
|
112
|
-
#### Overrides
|
|
113
|
-
|
|
114
|
-
`UntypedFormArray.errors`
|
|
95
|
+
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)
|
|
115
96
|
|
|
116
97
|
***
|
|
117
98
|
|
|
@@ -119,7 +100,7 @@ or null if there are no errors.
|
|
|
119
100
|
|
|
120
101
|
> `readonly` **errors$**: `Observable`\<`null` \| `E`\>
|
|
121
102
|
|
|
122
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
103
|
+
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)
|
|
123
104
|
|
|
124
105
|
***
|
|
125
106
|
|
|
@@ -127,7 +108,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:117](https://gitlab.co
|
|
|
127
108
|
|
|
128
109
|
> `readonly` **events**: `Observable`\<`ControlEvent`\<`any`\>\>
|
|
129
110
|
|
|
130
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
111
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2700
|
|
131
112
|
|
|
132
113
|
A multicasting observable that emits an event every time the state of the control changes.
|
|
133
114
|
It emits for value, status, pristine or touched changes.
|
|
@@ -157,7 +138,7 @@ For other event types, the events are emitted after the parent control has been
|
|
|
157
138
|
|
|
158
139
|
> `readonly` **status**: [`ControlState`](../wiki/TypeAlias.ControlState)
|
|
159
140
|
|
|
160
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:111](https://gitlab.com/rxap/packages/-/blob/
|
|
141
|
+
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)
|
|
161
142
|
|
|
162
143
|
The validation status of the control.
|
|
163
144
|
|
|
@@ -182,7 +163,7 @@ both valid AND invalid or invalid AND disabled.
|
|
|
182
163
|
|
|
183
164
|
> `readonly` **status$**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
184
165
|
|
|
185
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
166
|
+
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)
|
|
186
167
|
|
|
187
168
|
***
|
|
188
169
|
|
|
@@ -190,7 +171,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:116](https://gitlab.co
|
|
|
190
171
|
|
|
191
172
|
> `readonly` **statusChanges**: `Observable`\<[`ControlState`](../wiki/TypeAlias.ControlState)\>
|
|
192
173
|
|
|
193
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:113](https://gitlab.com/rxap/packages/-/blob/
|
|
174
|
+
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)
|
|
194
175
|
|
|
195
176
|
A multicasting observable that emits an event every time the validation `status` of the control
|
|
196
177
|
recalculates.
|
|
@@ -214,7 +195,7 @@ recalculates.
|
|
|
214
195
|
|
|
215
196
|
> `readonly` **touch$**: `Observable`\<`boolean`\>
|
|
216
197
|
|
|
217
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
198
|
+
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)
|
|
218
199
|
|
|
219
200
|
***
|
|
220
201
|
|
|
@@ -222,7 +203,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:120](https://gitlab.co
|
|
|
222
203
|
|
|
223
204
|
> `readonly` **value**: `T`[]
|
|
224
205
|
|
|
225
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:95](https://gitlab.com/rxap/packages/-/blob/
|
|
206
|
+
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)
|
|
226
207
|
|
|
227
208
|
The current value of the control.
|
|
228
209
|
|
|
@@ -248,7 +229,7 @@ with a key-value pair for each member of the group.
|
|
|
248
229
|
|
|
249
230
|
> `readonly` **value$**: `Observable`\<`T`[]\>
|
|
250
231
|
|
|
251
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.com/rxap/packages/-/blob/
|
|
232
|
+
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)
|
|
252
233
|
|
|
253
234
|
***
|
|
254
235
|
|
|
@@ -256,7 +237,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:109](https://gitlab.co
|
|
|
256
237
|
|
|
257
238
|
> `readonly` **valueChanges**: `Observable`\<`T`[]\>
|
|
258
239
|
|
|
259
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:107](https://gitlab.com/rxap/packages/-/blob/
|
|
240
|
+
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)
|
|
260
241
|
|
|
261
242
|
A multicasting observable that emits an event every time the value of the control changes, in
|
|
262
243
|
the UI or programmatically. It also emits an event each time you call enable() or disable()
|
|
@@ -284,7 +265,7 @@ event might result in getting a value that has not been updated yet. Subscribe t
|
|
|
284
265
|
|
|
285
266
|
> **get** **asyncValidator**(): `null` \| `AsyncValidatorFn`
|
|
286
267
|
|
|
287
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
268
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2580
|
|
288
269
|
|
|
289
270
|
Returns the function that is used to determine the validity of this control asynchronously.
|
|
290
271
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -298,7 +279,7 @@ See `Validators.compose()` for additional information.
|
|
|
298
279
|
|
|
299
280
|
> **set** **asyncValidator**(`asyncValidatorFn`): `void`
|
|
300
281
|
|
|
301
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
282
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2581
|
|
302
283
|
|
|
303
284
|
##### Parameters
|
|
304
285
|
|
|
@@ -326,7 +307,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
|
326
307
|
|
|
327
308
|
> **get** **controlPath**(): `string`
|
|
328
309
|
|
|
329
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com/rxap/packages/-/blob/
|
|
310
|
+
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)
|
|
330
311
|
|
|
331
312
|
##### Returns
|
|
332
313
|
|
|
@@ -340,7 +321,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:81](https://gitlab.com
|
|
|
340
321
|
|
|
341
322
|
> **get** **dirty**(): `boolean`
|
|
342
323
|
|
|
343
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
324
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2670
|
|
344
325
|
|
|
345
326
|
A control is `dirty` if the user has changed the value
|
|
346
327
|
in the UI.
|
|
@@ -368,7 +349,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
368
349
|
|
|
369
350
|
> **get** **disabled**(): `boolean`
|
|
370
351
|
|
|
371
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
352
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2635
|
|
372
353
|
|
|
373
354
|
A control is `disabled` when its `status` is `DISABLED`.
|
|
374
355
|
|
|
@@ -402,7 +383,7 @@ True if the control is disabled, false otherwise.
|
|
|
402
383
|
|
|
403
384
|
> **get** **enabled**(): `boolean`
|
|
404
385
|
|
|
405
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
386
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2645
|
|
406
387
|
|
|
407
388
|
A control is `enabled` as long as its `status` is not `DISABLED`.
|
|
408
389
|
|
|
@@ -427,13 +408,57 @@ false if the status is 'DISABLED'.
|
|
|
427
408
|
|
|
428
409
|
***
|
|
429
410
|
|
|
411
|
+
### errors
|
|
412
|
+
|
|
413
|
+
#### Get Signature
|
|
414
|
+
|
|
415
|
+
> **get** **errors**(): `null` \| `E`
|
|
416
|
+
|
|
417
|
+
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)
|
|
418
|
+
|
|
419
|
+
An object containing any errors generated by failing validation,
|
|
420
|
+
or null if there are no errors.
|
|
421
|
+
|
|
422
|
+
##### Returns
|
|
423
|
+
|
|
424
|
+
`null` \| `E`
|
|
425
|
+
|
|
426
|
+
#### Set Signature
|
|
427
|
+
|
|
428
|
+
> **set** **errors**(`value`): `void`
|
|
429
|
+
|
|
430
|
+
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)
|
|
431
|
+
|
|
432
|
+
An object containing any errors generated by failing validation,
|
|
433
|
+
or null if there are no errors.
|
|
434
|
+
|
|
435
|
+
##### Parameters
|
|
436
|
+
|
|
437
|
+
###### value
|
|
438
|
+
|
|
439
|
+
`null` | `E`
|
|
440
|
+
|
|
441
|
+
##### Returns
|
|
442
|
+
|
|
443
|
+
`void`
|
|
444
|
+
|
|
445
|
+
#### Implementation of
|
|
446
|
+
|
|
447
|
+
[`AbstractControl`](../wiki/Interface.AbstractControl).[`errors`](../wiki/Interface.AbstractControl#errors)
|
|
448
|
+
|
|
449
|
+
#### Overrides
|
|
450
|
+
|
|
451
|
+
`UntypedFormArray.errors`
|
|
452
|
+
|
|
453
|
+
***
|
|
454
|
+
|
|
430
455
|
### fullControlPath
|
|
431
456
|
|
|
432
457
|
#### Get Signature
|
|
433
458
|
|
|
434
459
|
> **get** **fullControlPath**(): `string`
|
|
435
460
|
|
|
436
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com/rxap/packages/-/blob/
|
|
461
|
+
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)
|
|
437
462
|
|
|
438
463
|
##### Returns
|
|
439
464
|
|
|
@@ -451,7 +476,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:97](https://gitlab.com
|
|
|
451
476
|
|
|
452
477
|
> **get** **invalid**(): `boolean`
|
|
453
478
|
|
|
454
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
479
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2614
|
|
455
480
|
|
|
456
481
|
A control is `invalid` when its `status` is `INVALID`.
|
|
457
482
|
|
|
@@ -482,7 +507,7 @@ false otherwise.
|
|
|
482
507
|
|
|
483
508
|
> **get** **length**(): `number`
|
|
484
509
|
|
|
485
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
510
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1177
|
|
486
511
|
|
|
487
512
|
Length of the control array.
|
|
488
513
|
|
|
@@ -502,7 +527,7 @@ Length of the control array.
|
|
|
502
527
|
|
|
503
528
|
> **get** **parent**(): `null` \| `FormGroup`\<`any`\> \| `FormArray`\<`any`\>
|
|
504
529
|
|
|
505
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
530
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2585
|
|
506
531
|
|
|
507
532
|
The parent control.
|
|
508
533
|
|
|
@@ -526,7 +551,7 @@ The parent control.
|
|
|
526
551
|
|
|
527
552
|
> **get** **pending**(): `boolean`
|
|
528
553
|
|
|
529
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
554
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2623
|
|
530
555
|
|
|
531
556
|
A control is `pending` when its `status` is `PENDING`.
|
|
532
557
|
|
|
@@ -557,7 +582,7 @@ false otherwise.
|
|
|
557
582
|
|
|
558
583
|
> **get** **pristine**(): `boolean`
|
|
559
584
|
|
|
560
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
585
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2660
|
|
561
586
|
|
|
562
587
|
A control is `pristine` if the user has not yet changed
|
|
563
588
|
the value in the UI.
|
|
@@ -573,7 +598,7 @@ Programmatic changes to a control's value do not mark it dirty.
|
|
|
573
598
|
|
|
574
599
|
> **set** **pristine**(`value`): `void`
|
|
575
600
|
|
|
576
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
601
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2661
|
|
577
602
|
|
|
578
603
|
##### Parameters
|
|
579
604
|
|
|
@@ -601,7 +626,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2652
|
|
|
601
626
|
|
|
602
627
|
> **get** **readonly**(): `boolean`
|
|
603
628
|
|
|
604
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
629
|
+
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)
|
|
605
630
|
|
|
606
631
|
##### Returns
|
|
607
632
|
|
|
@@ -611,7 +636,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:63](https://gitlab.com
|
|
|
611
636
|
|
|
612
637
|
> **set** **readonly**(`value`): `void`
|
|
613
638
|
|
|
614
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com/rxap/packages/-/blob/
|
|
639
|
+
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)
|
|
615
640
|
|
|
616
641
|
##### Parameters
|
|
617
642
|
|
|
@@ -635,7 +660,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:67](https://gitlab.com
|
|
|
635
660
|
|
|
636
661
|
> **get** **root**(): `AbstractControl`
|
|
637
662
|
|
|
638
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
663
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3212
|
|
639
664
|
|
|
640
665
|
Retrieves the top-level ancestor of this control.
|
|
641
666
|
|
|
@@ -659,7 +684,7 @@ Retrieves the top-level ancestor of this control.
|
|
|
659
684
|
|
|
660
685
|
> **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`\>
|
|
661
686
|
|
|
662
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com/rxap/packages/-/blob/
|
|
687
|
+
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)
|
|
663
688
|
|
|
664
689
|
**`Internal`**
|
|
665
690
|
|
|
@@ -679,7 +704,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:75](https://gitlab.com
|
|
|
679
704
|
|
|
680
705
|
> **get** **touched**(): `boolean`
|
|
681
706
|
|
|
682
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
707
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2677
|
|
683
708
|
|
|
684
709
|
True if the control is marked as `touched`.
|
|
685
710
|
|
|
@@ -694,7 +719,7 @@ a `blur` event on it.
|
|
|
694
719
|
|
|
695
720
|
> **set** **touched**(`value`): `void`
|
|
696
721
|
|
|
697
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
722
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2678
|
|
698
723
|
|
|
699
724
|
##### Parameters
|
|
700
725
|
|
|
@@ -722,7 +747,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2669
|
|
|
722
747
|
|
|
723
748
|
> **get** **untouched**(): `boolean`
|
|
724
749
|
|
|
725
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
750
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2686
|
|
726
751
|
|
|
727
752
|
True if the control has not been marked as touched
|
|
728
753
|
|
|
@@ -749,7 +774,7 @@ a `blur` event on it.
|
|
|
749
774
|
|
|
750
775
|
> **get** **updateOn**(): `FormHooks`
|
|
751
776
|
|
|
752
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
777
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2727
|
|
753
778
|
|
|
754
779
|
Reports the update strategy of the `AbstractControl` (meaning
|
|
755
780
|
the event on which the control updates itself).
|
|
@@ -776,7 +801,7 @@ Default value: `'change'`
|
|
|
776
801
|
|
|
777
802
|
> **get** **valid**(): `boolean`
|
|
778
803
|
|
|
779
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
804
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2605
|
|
780
805
|
|
|
781
806
|
A control is `valid` when its `status` is `VALID`.
|
|
782
807
|
|
|
@@ -807,7 +832,7 @@ false otherwise.
|
|
|
807
832
|
|
|
808
833
|
> **get** **validator**(): `null` \| `ValidatorFn`
|
|
809
834
|
|
|
810
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
835
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2573
|
|
811
836
|
|
|
812
837
|
Returns the function that is used to determine the validity of this control synchronously.
|
|
813
838
|
If multiple validators have been added, this will be a single composed function.
|
|
@@ -821,7 +846,7 @@ See `Validators.compose()` for additional information.
|
|
|
821
846
|
|
|
822
847
|
> **set** **validator**(`validatorFn`): `void`
|
|
823
848
|
|
|
824
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
849
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2574
|
|
825
850
|
|
|
826
851
|
##### Parameters
|
|
827
852
|
|
|
@@ -847,7 +872,7 @@ Defined in: node\_modules/@angular/forms/types/forms.d.ts:2567
|
|
|
847
872
|
|
|
848
873
|
> **addAsyncValidators**(`validators`): `void`
|
|
849
874
|
|
|
850
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
875
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2774
|
|
851
876
|
|
|
852
877
|
Add an asynchronous validator or validators to this control, without affecting other
|
|
853
878
|
validators.
|
|
@@ -883,7 +908,7 @@ The new asynchronous validator function or functions to add to this control.
|
|
|
883
908
|
|
|
884
909
|
> **addValidators**(`validators`): `void`
|
|
885
910
|
|
|
886
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
911
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2762
|
|
887
912
|
|
|
888
913
|
Add a synchronous validator or validators to this control, without affecting other validators.
|
|
889
914
|
|
|
@@ -920,7 +945,7 @@ The new validator function or functions to add to this control.
|
|
|
920
945
|
|
|
921
946
|
> **at**(`index`): [`AbstractControl`](../wiki/Interface.AbstractControl)\<`T`\>
|
|
922
947
|
|
|
923
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
948
|
+
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)
|
|
924
949
|
|
|
925
950
|
Get the `AbstractControl` at the given `index` in the array.
|
|
926
951
|
|
|
@@ -948,7 +973,7 @@ undefined. This behavior is the same as `Array.at(index)`.
|
|
|
948
973
|
|
|
949
974
|
> **clear**(`options`?): `void`
|
|
950
975
|
|
|
951
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
976
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:1346
|
|
952
977
|
|
|
953
978
|
Remove all controls in the `FormArray`.
|
|
954
979
|
|
|
@@ -1008,7 +1033,7 @@ while (arr.length) {
|
|
|
1008
1033
|
|
|
1009
1034
|
> **clearAsyncValidators**(): `void`
|
|
1010
1035
|
|
|
1011
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1036
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2861
|
|
1012
1037
|
|
|
1013
1038
|
Empties out the async validator list.
|
|
1014
1039
|
|
|
@@ -1033,7 +1058,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1033
1058
|
|
|
1034
1059
|
> **clearValidators**(): `void`
|
|
1035
1060
|
|
|
1036
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1061
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2853
|
|
1037
1062
|
|
|
1038
1063
|
Empties out the synchronous validator list.
|
|
1039
1064
|
|
|
@@ -1058,7 +1083,7 @@ When you add or remove a validator at run time, you must call
|
|
|
1058
1083
|
|
|
1059
1084
|
> **disable**(`opts`?): `void`
|
|
1060
1085
|
|
|
1061
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1086
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3029
|
|
1062
1087
|
|
|
1063
1088
|
Disables the control. This means the control is exempt from validation checks and
|
|
1064
1089
|
excluded from the aggregate value of any parent. Its status is `DISABLED`.
|
|
@@ -1108,7 +1133,7 @@ When false, no events are emitted.
|
|
|
1108
1133
|
|
|
1109
1134
|
> **disabledWhile**(`observable`, `options`?): `Subscription`
|
|
1110
1135
|
|
|
1111
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1136
|
+
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)
|
|
1112
1137
|
|
|
1113
1138
|
#### Parameters
|
|
1114
1139
|
|
|
@@ -1130,7 +1155,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:207](https://gitlab.co
|
|
|
1130
1155
|
|
|
1131
1156
|
> **enable**(`opts`?): `void`
|
|
1132
1157
|
|
|
1133
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1158
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3051
|
|
1134
1159
|
|
|
1135
1160
|
Enables the control. This means the control is included in validation checks and
|
|
1136
1161
|
the aggregate value of its parent. Its status recalculates based on its value and
|
|
@@ -1181,7 +1206,7 @@ When false, no events are emitted.
|
|
|
1181
1206
|
|
|
1182
1207
|
> **enabledWhile**(`observable`, `options`?): `Subscription`
|
|
1183
1208
|
|
|
1184
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1209
|
+
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)
|
|
1185
1210
|
|
|
1186
1211
|
#### Parameters
|
|
1187
1212
|
|
|
@@ -1205,7 +1230,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:214](https://gitlab.co
|
|
|
1205
1230
|
|
|
1206
1231
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1207
1232
|
|
|
1208
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1233
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3142
|
|
1209
1234
|
|
|
1210
1235
|
Retrieves a child control given the control's name or path.
|
|
1211
1236
|
|
|
@@ -1237,7 +1262,7 @@ This signature for get supports strings and `const` arrays (`.get(['foo', 'bar']
|
|
|
1237
1262
|
|
|
1238
1263
|
> **get**\<`P`\>(`path`): `null` \| `AbstractControl`\<`ɵGetProperty`\<`any`, `P`\>, `ɵGetProperty`\<`any`, `P`\>, `any`\>
|
|
1239
1264
|
|
|
1240
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1265
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3149
|
|
1241
1266
|
|
|
1242
1267
|
Retrieves a child control given the control's name or path.
|
|
1243
1268
|
|
|
@@ -1272,7 +1297,7 @@ information will not be as robust, so prefer to pass a `readonly` array if possi
|
|
|
1272
1297
|
|
|
1273
1298
|
> **getError**\<`K`\>(`errorCode`, `path`?): `null` \| `E`\[`K`\]
|
|
1274
1299
|
|
|
1275
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1300
|
+
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)
|
|
1276
1301
|
|
|
1277
1302
|
#### Type Parameters
|
|
1278
1303
|
|
|
@@ -1335,7 +1360,7 @@ It can be provided to this method in one of two formats:
|
|
|
1335
1360
|
|
|
1336
1361
|
> **getRawValue**(): `T`[]
|
|
1337
1362
|
|
|
1338
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1363
|
+
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)
|
|
1339
1364
|
|
|
1340
1365
|
The aggregate value of the array, including any disabled controls.
|
|
1341
1366
|
|
|
@@ -1359,7 +1384,7 @@ Reports all values regardless of disabled status.
|
|
|
1359
1384
|
|
|
1360
1385
|
> **hasAsyncValidator**(`validator`): `boolean`
|
|
1361
1386
|
|
|
1362
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1387
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2845
|
|
1363
1388
|
|
|
1364
1389
|
Check whether an asynchronous validator function is present on this control. The provided
|
|
1365
1390
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1393,7 +1418,7 @@ Whether the provided asynchronous validator was found on this control.
|
|
|
1393
1418
|
|
|
1394
1419
|
> **hasError**(`errorCode`, `path`?): `boolean`
|
|
1395
1420
|
|
|
1396
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1421
|
+
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)
|
|
1397
1422
|
|
|
1398
1423
|
#### Parameters
|
|
1399
1424
|
|
|
@@ -1455,7 +1480,7 @@ If no path is given, this method checks for the error on the current control.
|
|
|
1455
1480
|
|
|
1456
1481
|
> **hasErrorAndDirty**(`errorCode`, `path`?): `boolean`
|
|
1457
1482
|
|
|
1458
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1483
|
+
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)
|
|
1459
1484
|
|
|
1460
1485
|
#### Parameters
|
|
1461
1486
|
|
|
@@ -1477,7 +1502,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:317](https://gitlab.co
|
|
|
1477
1502
|
|
|
1478
1503
|
> **hasErrorAndTouched**(`errorCode`, `path`?): `boolean`
|
|
1479
1504
|
|
|
1480
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1505
|
+
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)
|
|
1481
1506
|
|
|
1482
1507
|
#### Parameters
|
|
1483
1508
|
|
|
@@ -1499,7 +1524,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:265](https://gitlab.co
|
|
|
1499
1524
|
|
|
1500
1525
|
> **hasValidator**(`validator`): `boolean`
|
|
1501
1526
|
|
|
1502
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1527
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2836
|
|
1503
1528
|
|
|
1504
1529
|
Check whether a synchronous validator function is present on this control. The provided
|
|
1505
1530
|
validator must be a reference to the exact same function that was provided.
|
|
@@ -1546,7 +1571,7 @@ expect(ctrl.hasValidator(Validators.min(3))).toEqual(false)
|
|
|
1546
1571
|
|
|
1547
1572
|
> **insert**(`index`, `control`): `void`
|
|
1548
1573
|
|
|
1549
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1574
|
+
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)
|
|
1550
1575
|
|
|
1551
1576
|
Insert a new `AbstractControl` at the given `index` in the array.
|
|
1552
1577
|
|
|
@@ -1580,7 +1605,7 @@ Form control to be inserted
|
|
|
1580
1605
|
|
|
1581
1606
|
> **insertAt**(`index`?, `state`?, `options`?): `void`
|
|
1582
1607
|
|
|
1583
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1608
|
+
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)
|
|
1584
1609
|
|
|
1585
1610
|
inserts a new control at the specified index. If the index is undefined
|
|
1586
1611
|
the new control will be added to the end.
|
|
@@ -1615,7 +1640,7 @@ the new control will be added to the end.
|
|
|
1615
1640
|
|
|
1616
1641
|
> **markAllAsDirty**(): `void`
|
|
1617
1642
|
|
|
1618
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1643
|
+
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)
|
|
1619
1644
|
|
|
1620
1645
|
Marks the control and all its descendant controls as `dirty`.
|
|
1621
1646
|
|
|
@@ -1642,7 +1667,7 @@ Marks the control and all its descendant controls as `dirty`.
|
|
|
1642
1667
|
|
|
1643
1668
|
> **markAllAsPristine**(): `void`
|
|
1644
1669
|
|
|
1645
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1670
|
+
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)
|
|
1646
1671
|
|
|
1647
1672
|
#### Returns
|
|
1648
1673
|
|
|
@@ -1654,7 +1679,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:237](https://gitlab.co
|
|
|
1654
1679
|
|
|
1655
1680
|
> **markAllAsTouched**(`opts`?): `void`
|
|
1656
1681
|
|
|
1657
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1682
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2914
|
|
1658
1683
|
|
|
1659
1684
|
Marks the control and all its descendant controls as `touched`.
|
|
1660
1685
|
|
|
@@ -1695,7 +1720,7 @@ When false, no events are emitted.
|
|
|
1695
1720
|
|
|
1696
1721
|
> **markAllAsUntouched**(): `void`
|
|
1697
1722
|
|
|
1698
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1723
|
+
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)
|
|
1699
1724
|
|
|
1700
1725
|
#### Returns
|
|
1701
1726
|
|
|
@@ -1707,7 +1732,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:255](https://gitlab.co
|
|
|
1707
1732
|
|
|
1708
1733
|
> **markAsDirty**(`opts`?): `void`
|
|
1709
1734
|
|
|
1710
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1735
|
+
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)
|
|
1711
1736
|
|
|
1712
1737
|
Marks the control as `dirty`. A control becomes dirty when
|
|
1713
1738
|
the control's value is changed through the UI; compare `markAsTouched`.
|
|
@@ -1751,7 +1776,7 @@ When false, no events are emitted.
|
|
|
1751
1776
|
|
|
1752
1777
|
> **markAsPending**(`opts`?): `void`
|
|
1753
1778
|
|
|
1754
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
1779
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3008
|
|
1755
1780
|
|
|
1756
1781
|
Marks the control as `pending`.
|
|
1757
1782
|
|
|
@@ -1800,7 +1825,7 @@ and the `events` observable emits a `StatusChangeEvent` with the `status` proper
|
|
|
1800
1825
|
|
|
1801
1826
|
> **markAsPristine**(`opts`?): `void`
|
|
1802
1827
|
|
|
1803
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1828
|
+
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)
|
|
1804
1829
|
|
|
1805
1830
|
Marks the control as `pristine`.
|
|
1806
1831
|
|
|
@@ -1847,7 +1872,7 @@ When false, no events are emitted.
|
|
|
1847
1872
|
|
|
1848
1873
|
> **markAsTouched**(`opts`?): `void`
|
|
1849
1874
|
|
|
1850
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1875
|
+
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)
|
|
1851
1876
|
|
|
1852
1877
|
Marks the control as `touched`. A control is touched by focus and
|
|
1853
1878
|
blur events that do not change the value.
|
|
@@ -1891,7 +1916,7 @@ When false, no events are emitted.
|
|
|
1891
1916
|
|
|
1892
1917
|
> **markAsUntouched**(`opts`?): `void`
|
|
1893
1918
|
|
|
1894
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1919
|
+
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)
|
|
1895
1920
|
|
|
1896
1921
|
Marks the control as `untouched`.
|
|
1897
1922
|
|
|
@@ -1937,7 +1962,7 @@ When false, no events are emitted.
|
|
|
1937
1962
|
|
|
1938
1963
|
> **mergeAsyncValidators**(`validators`): `void`
|
|
1939
1964
|
|
|
1940
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1965
|
+
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)
|
|
1941
1966
|
|
|
1942
1967
|
#### Parameters
|
|
1943
1968
|
|
|
@@ -1955,7 +1980,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:225](https://gitlab.co
|
|
|
1955
1980
|
|
|
1956
1981
|
> **mergeValidators**(`validators`): `void`
|
|
1957
1982
|
|
|
1958
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
1983
|
+
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)
|
|
1959
1984
|
|
|
1960
1985
|
#### Parameters
|
|
1961
1986
|
|
|
@@ -1973,7 +1998,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:221](https://gitlab.co
|
|
|
1973
1998
|
|
|
1974
1999
|
> **patchValue**(`valueOrObservable`, `options`?): `void` \| `Subscription`
|
|
1975
2000
|
|
|
1976
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2001
|
+
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)
|
|
1977
2002
|
|
|
1978
2003
|
Patches the value of the `FormArray`. It accepts an array that matches the
|
|
1979
2004
|
structure of the control, and does its best to match the values to the correct
|
|
@@ -2034,7 +2059,7 @@ console.log(arr.value); // ['Nancy', null]
|
|
|
2034
2059
|
|
|
2035
2060
|
> **push**(`control`, `options`?): `void`
|
|
2036
2061
|
|
|
2037
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2062
|
+
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)
|
|
2038
2063
|
|
|
2039
2064
|
Insert a new `AbstractControl` at the end of the array.
|
|
2040
2065
|
|
|
@@ -2072,7 +2097,7 @@ NOTE: Pushing to the FormArray will not mark it dirty. If you want to mark if di
|
|
|
2072
2097
|
|
|
2073
2098
|
> **removeAsyncValidators**(`validators`): `void`
|
|
2074
2099
|
|
|
2075
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2100
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2814
|
|
2076
2101
|
|
|
2077
2102
|
Remove an asynchronous validator from this control, without affecting other validators.
|
|
2078
2103
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -2108,7 +2133,7 @@ The asynchronous validator or validators to remove.
|
|
|
2108
2133
|
|
|
2109
2134
|
> **removeAt**(`index`, `opts`?): `void`
|
|
2110
2135
|
|
|
2111
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2136
|
+
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)
|
|
2112
2137
|
|
|
2113
2138
|
Remove the control at the given `index` in the array.
|
|
2114
2139
|
|
|
@@ -2140,7 +2165,7 @@ Index in the array to remove the control. If `index` is negative, wraps around
|
|
|
2140
2165
|
|
|
2141
2166
|
> **removeValidators**(`validators`): `void`
|
|
2142
2167
|
|
|
2143
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2168
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:2802
|
|
2144
2169
|
|
|
2145
2170
|
Remove a synchronous validator from this control, without affecting other validators.
|
|
2146
2171
|
Validators are compared by function reference; you must pass a reference to the exact same
|
|
@@ -2192,7 +2217,7 @@ When you add or remove a validator at run time, you must call
|
|
|
2192
2217
|
|
|
2193
2218
|
> **reset**(`value`?, `options`?): `void`
|
|
2194
2219
|
|
|
2195
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2220
|
+
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)
|
|
2196
2221
|
|
|
2197
2222
|
Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the
|
|
2198
2223
|
value of all descendants to null or null maps.
|
|
@@ -2268,7 +2293,7 @@ console.log(arr.at(0).status); // 'DISABLED'
|
|
|
2268
2293
|
|
|
2269
2294
|
> **select**\<`R`\>(`mapFn`): `Observable`\<`R`\>
|
|
2270
2295
|
|
|
2271
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2296
|
+
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)
|
|
2272
2297
|
|
|
2273
2298
|
#### Type Parameters
|
|
2274
2299
|
|
|
@@ -2290,7 +2315,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:142](https://gitlab.co
|
|
|
2290
2315
|
|
|
2291
2316
|
> **setAsyncValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2292
2317
|
|
|
2293
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2318
|
+
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)
|
|
2294
2319
|
|
|
2295
2320
|
Sets the asynchronous validators that are active on this control. Calling this
|
|
2296
2321
|
overwrites any existing asynchronous validators.
|
|
@@ -2329,7 +2354,7 @@ using `addAsyncValidators()` method instead.
|
|
|
2329
2354
|
|
|
2330
2355
|
> **setControl**(`index`, `control`, `options`?): `void`
|
|
2331
2356
|
|
|
2332
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2357
|
+
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)
|
|
2333
2358
|
|
|
2334
2359
|
Replace an existing control.
|
|
2335
2360
|
|
|
@@ -2373,7 +2398,7 @@ replaced with a new one. When false, no events are emitted.
|
|
|
2373
2398
|
|
|
2374
2399
|
> **setDisable**(`disable`, `opts`?): `void`
|
|
2375
2400
|
|
|
2376
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2401
|
+
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)
|
|
2377
2402
|
|
|
2378
2403
|
#### Parameters
|
|
2379
2404
|
|
|
@@ -2395,7 +2420,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:348](https://gitlab.co
|
|
|
2395
2420
|
|
|
2396
2421
|
> **setEnable**(`enable`, `opts`?): `void`
|
|
2397
2422
|
|
|
2398
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2423
|
+
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)
|
|
2399
2424
|
|
|
2400
2425
|
#### Parameters
|
|
2401
2426
|
|
|
@@ -2417,7 +2442,7 @@ Defined in: [packages/angular/forms/src/lib/form-array.ts:337](https://gitlab.co
|
|
|
2417
2442
|
|
|
2418
2443
|
> **setErrors**(`errors`, `opts`): `void`
|
|
2419
2444
|
|
|
2420
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2445
|
+
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)
|
|
2421
2446
|
|
|
2422
2447
|
Sets errors on a form control when running validations manually, rather than automatically.
|
|
2423
2448
|
|
|
@@ -2476,7 +2501,7 @@ expect(login.valid).toEqual(true);
|
|
|
2476
2501
|
|
|
2477
2502
|
> **setParent**(`parent`): `void`
|
|
2478
2503
|
|
|
2479
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2504
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3061
|
|
2480
2505
|
|
|
2481
2506
|
Sets the parent of the control
|
|
2482
2507
|
|
|
@@ -2506,7 +2531,7 @@ The new parent.
|
|
|
2506
2531
|
|
|
2507
2532
|
> **setValidators**(`newValidator`, `updateValueAndValidity`): `void`
|
|
2508
2533
|
|
|
2509
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2534
|
+
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)
|
|
2510
2535
|
|
|
2511
2536
|
Sets the synchronous validators that are active on this control. Calling
|
|
2512
2537
|
this overwrites any existing synchronous validators.
|
|
@@ -2545,7 +2570,7 @@ using `addValidators()` method instead.
|
|
|
2545
2570
|
|
|
2546
2571
|
> **setValue**(`valueOrObservable`, `options`?): `void` \| `Subscription`
|
|
2547
2572
|
|
|
2548
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2573
|
+
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)
|
|
2549
2574
|
|
|
2550
2575
|
Sets the value of the `FormArray`. It accepts an array that matches
|
|
2551
2576
|
the structure of the control.
|
|
@@ -2608,7 +2633,7 @@ console.log(arr.value); // ['Nancy', 'Drew']
|
|
|
2608
2633
|
|
|
2609
2634
|
> **updateValueAndValidity**(`opts`?): `void`
|
|
2610
2635
|
|
|
2611
|
-
Defined in: node\_modules/@angular/forms/types/forms.d.ts:
|
|
2636
|
+
Defined in: node\_modules/@angular/forms/types/forms.d.ts:3096
|
|
2612
2637
|
|
|
2613
2638
|
Recalculates the value and validation status of the control.
|
|
2614
2639
|
|
|
@@ -2657,7 +2682,7 @@ When false, no events are emitted.
|
|
|
2657
2682
|
|
|
2658
2683
|
> **validateOn**(`observableValidation`): `Subscription`
|
|
2659
2684
|
|
|
2660
|
-
Defined in: [packages/angular/forms/src/lib/form-array.ts:
|
|
2685
|
+
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)
|
|
2661
2686
|
|
|
2662
2687
|
#### Parameters
|
|
2663
2688
|
|