@rxap/forms 19.1.0-dev.3 → 19.1.0-dev.5
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 +12 -0
- package/compodoc/changelog.html +10 -0
- package/compodoc/classes/RxapFormArray.html +97 -72
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +5083 -5064
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/classes/ControlValueAccessor.html +5 -5
- package/docs/html/classes/FormArrayControlManager.html +2 -2
- package/docs/html/classes/FormControlErrorDirective.html +5 -5
- package/docs/html/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/html/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/html/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/html/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/html/classes/FormControlNameDirective.html +6 -6
- package/docs/html/classes/FormDirective.html +15 -15
- package/docs/html/classes/FormGroupNameDirective.html +6 -6
- package/docs/html/classes/FormLoadedDirective.html +4 -4
- package/docs/html/classes/FormLoadingDirective.html +4 -4
- package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
- package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
- package/docs/html/classes/FormSubmittingDirective.html +4 -4
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +35 -35
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +30 -30
- package/docs/html/classes/RxapFormGroup.html +35 -35
- package/docs/html/classes/RxapFormsModule.html +2 -2
- package/docs/html/enums/MetadataKeys.html +2 -2
- package/docs/html/functions/ControlAsyncValidator.html +1 -1
- package/docs/html/functions/ControlChange.html +1 -1
- package/docs/html/functions/ControlSetValue.html +1 -1
- package/docs/html/functions/ControlValidator.html +1 -1
- package/docs/html/functions/IsArray.html +1 -1
- package/docs/html/functions/IsBoolean.html +1 -1
- package/docs/html/functions/IsComplex.html +1 -1
- package/docs/html/functions/IsDate.html +1 -1
- package/docs/html/functions/IsEmail.html +1 -1
- package/docs/html/functions/IsEnum.html +1 -1
- package/docs/html/functions/IsIP.html +1 -1
- package/docs/html/functions/IsInt.html +1 -1
- package/docs/html/functions/IsNumber-1.html +2 -2
- package/docs/html/functions/IsObject.html +1 -1
- package/docs/html/functions/IsPhoneNumber.html +1 -1
- package/docs/html/functions/IsPort.html +1 -1
- package/docs/html/functions/IsString.html +1 -1
- package/docs/html/functions/IsUUID.html +1 -1
- package/docs/html/functions/IsUrl.html +1 -1
- package/docs/html/functions/RxapForm.html +1 -1
- package/docs/html/functions/ToFormMethod.html +1 -1
- package/docs/html/functions/ToFormSubmitMethod.html +2 -2
- package/docs/html/functions/UseFormArrayControl.html +1 -1
- package/docs/html/functions/UseFormArrayGroup.html +1 -1
- package/docs/html/functions/UseFormControl.html +1 -1
- package/docs/html/functions/UseFormGroup.html +1 -1
- package/docs/html/functions/_IsNumber.html +1 -1
- package/docs/html/functions/controlDisabledWhile.html +1 -1
- package/docs/html/functions/controlDisabled_.html +1 -1
- package/docs/html/functions/controlEnabledWhile.html +1 -1
- package/docs/html/functions/controlEnabled_.html +1 -1
- package/docs/html/functions/controlErrorChanges_.html +1 -1
- package/docs/html/functions/controlReadonly_.html +1 -1
- package/docs/html/functions/controlStatusChanges_.html +1 -1
- package/docs/html/functions/controlValueChanges_.html +1 -1
- package/docs/html/functions/disableControl.html +1 -1
- package/docs/html/functions/enableControl.html +1 -1
- package/docs/html/functions/hasErrorAndDirty.html +1 -1
- package/docs/html/functions/hasErrorAndTouched.html +1 -1
- package/docs/html/functions/isNumber.html +2 -2
- package/docs/html/functions/markAllDirty.html +1 -1
- package/docs/html/functions/markAllPristine.html +1 -1
- package/docs/html/functions/markAllUntouched.html +1 -1
- package/docs/html/functions/mergeControlValidators.html +1 -1
- package/docs/html/functions/selectControlValue_.html +1 -1
- package/docs/html/functions/validateControlOn.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AbstractControl.html +5 -5
- package/docs/html/interfaces/AbstractControlOptions.html +3 -3
- 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 +3 -3
- package/docs/html/interfaces/FormDefinition.html +6 -6
- package/docs/html/interfaces/FormDefinitionArray.html +3 -3
- package/docs/html/interfaces/FormDefinitionMetadata.html +3 -3
- package/docs/html/interfaces/FormGroupOptions.html +3 -3
- 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 +3 -3
- 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 +3 -3
- package/docs/html/interfaces/_RxapAbstractControlOptions.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AsyncValidator.html +1 -1
- package/docs/html/types/AsyncValidatorFn.html +1 -1
- package/docs/html/types/ChangeFn.html +1 -1
- package/docs/html/types/ControlEventOptions.html +1 -1
- package/docs/html/types/ControlInsertedFn.html +1 -1
- package/docs/html/types/ControlPath.html +1 -1
- package/docs/html/types/ControlRemovedFn.html +1 -1
- package/docs/html/types/ControlState.html +1 -1
- package/docs/html/types/EmitEvent.html +1 -1
- package/docs/html/types/ExtractAbstractControl.html +1 -1
- package/docs/html/types/ExtractStrings.html +1 -1
- package/docs/html/types/FormBuilderFn.html +1 -1
- package/docs/html/types/FormType.html +1 -1
- package/docs/html/types/KeyValueControls.html +1 -1
- package/docs/html/types/OnlySelf.html +1 -1
- package/docs/html/types/OrBoxedValue.html +1 -1
- package/docs/html/types/RxapAbstractControlOptions.html +1 -1
- package/docs/html/types/SetValueFn.html +1 -1
- package/docs/html/types/ValidationErrors.html +1 -1
- package/docs/html/types/Validator.html +1 -1
- package/docs/html/types/ValidatorFn.html +1 -1
- package/docs/html/types/ValidatorOrOpts.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RxapValidators.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ControlValueAccessor.md +8 -8
- package/docs/markdown/classes/FormArrayControlManager.md +5 -5
- package/docs/markdown/classes/FormControlErrorDirective.md +7 -7
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlNameDirective.md +5 -5
- package/docs/markdown/classes/FormDirective.md +42 -42
- package/docs/markdown/classes/FormGroupNameDirective.md +5 -5
- package/docs/markdown/classes/FormLoadedDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
- package/docs/markdown/classes/FormResetDirective.md +8 -8
- package/docs/markdown/classes/FormSubmitDirective.md +15 -15
- package/docs/markdown/classes/FormSubmitFailedDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitInvalidDirective.md +5 -5
- package/docs/markdown/classes/FormSubmitSuccessfulDirective.md +5 -5
- package/docs/markdown/classes/FormSubmittingDirective.md +5 -5
- package/docs/markdown/classes/ParentControlContainerDirective.md +2 -2
- package/docs/markdown/classes/RxapFormArray.md +59 -55
- package/docs/markdown/classes/RxapFormBuilder.md +4 -4
- package/docs/markdown/classes/RxapFormControl.md +50 -50
- package/docs/markdown/classes/RxapFormGroup.md +74 -74
- package/docs/markdown/classes/RxapFormsModule.md +2 -2
- package/docs/markdown/enumerations/MetadataKeys.md +10 -10
- package/docs/markdown/functions/ControlAsyncValidator.md +2 -2
- package/docs/markdown/functions/ControlChange.md +2 -2
- package/docs/markdown/functions/ControlSetValue.md +2 -2
- package/docs/markdown/functions/ControlValidator.md +2 -2
- package/docs/markdown/functions/IsArray.md +2 -2
- package/docs/markdown/functions/IsBoolean.md +2 -2
- package/docs/markdown/functions/IsComplex.md +2 -2
- package/docs/markdown/functions/IsDate.md +2 -2
- package/docs/markdown/functions/IsEmail.md +2 -2
- package/docs/markdown/functions/IsEnum.md +2 -2
- package/docs/markdown/functions/IsIP.md +2 -2
- package/docs/markdown/functions/IsInt.md +2 -2
- package/docs/markdown/functions/IsNumber-2.md +2 -2
- package/docs/markdown/functions/IsNumber.md +2 -2
- package/docs/markdown/functions/IsObject.md +2 -2
- package/docs/markdown/functions/IsPhoneNumber.md +2 -2
- package/docs/markdown/functions/IsPort.md +2 -2
- package/docs/markdown/functions/IsString.md +2 -2
- package/docs/markdown/functions/IsUUID.md +2 -2
- package/docs/markdown/functions/IsUrl.md +2 -2
- package/docs/markdown/functions/RxapForm.md +2 -2
- package/docs/markdown/functions/ToFormMethod.md +2 -2
- package/docs/markdown/functions/ToFormSubmitMethod.md +2 -2
- package/docs/markdown/functions/UseFormArrayControl.md +2 -2
- package/docs/markdown/functions/UseFormArrayGroup.md +2 -2
- package/docs/markdown/functions/UseFormControl.md +2 -2
- package/docs/markdown/functions/UseFormGroup.md +2 -2
- package/docs/markdown/functions/controlDisabled$.md +2 -2
- package/docs/markdown/functions/controlDisabledWhile.md +2 -2
- package/docs/markdown/functions/controlEnabled$.md +2 -2
- package/docs/markdown/functions/controlEnabledWhile.md +2 -2
- package/docs/markdown/functions/controlErrorChanges$.md +2 -2
- package/docs/markdown/functions/controlReadonly$.md +2 -2
- package/docs/markdown/functions/controlStatusChanges$.md +2 -2
- package/docs/markdown/functions/controlValueChanges$.md +2 -2
- package/docs/markdown/functions/disableControl.md +2 -2
- package/docs/markdown/functions/enableControl.md +2 -2
- package/docs/markdown/functions/hasErrorAndDirty.md +2 -2
- package/docs/markdown/functions/hasErrorAndTouched.md +2 -2
- package/docs/markdown/functions/isNumber-1.md +2 -2
- package/docs/markdown/functions/markAllDirty.md +2 -2
- package/docs/markdown/functions/markAllPristine.md +2 -2
- package/docs/markdown/functions/markAllUntouched.md +2 -2
- package/docs/markdown/functions/mergeControlValidators.md +2 -2
- package/docs/markdown/functions/selectControlValue$.md +2 -2
- package/docs/markdown/functions/validateControlOn.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AbstractControl.md +8 -8
- package/docs/markdown/interfaces/AbstractControlOptions.md +4 -4
- package/docs/markdown/interfaces/BoxedValue.md +4 -4
- package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
- package/docs/markdown/interfaces/ControlOptions.md +9 -9
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +11 -11
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +3 -3
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +10 -10
- package/docs/markdown/interfaces/FormGroupOptions.md +8 -8
- 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 +8 -8
- 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 +7 -7
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +8 -8
- 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 +6 -6
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlNameDirective.md +4 -4
- package/docs/wiki/Class.FormDirective.md +41 -41
- package/docs/wiki/Class.FormGroupNameDirective.md +4 -4
- package/docs/wiki/Class.FormLoadedDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
- package/docs/wiki/Class.FormResetDirective.md +7 -7
- package/docs/wiki/Class.FormSubmitDirective.md +14 -14
- package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
- package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +58 -54
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +49 -49
- package/docs/wiki/Class.RxapFormGroup.md +73 -73
- package/docs/wiki/Class.RxapFormsModule.md +1 -1
- package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
- package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
- package/docs/wiki/Function.ControlChange.md +1 -1
- package/docs/wiki/Function.ControlSetValue.md +1 -1
- package/docs/wiki/Function.ControlValidator.md +1 -1
- package/docs/wiki/Function.IsArray.md +1 -1
- package/docs/wiki/Function.IsBoolean.md +1 -1
- package/docs/wiki/Function.IsComplex.md +1 -1
- package/docs/wiki/Function.IsDate.md +1 -1
- package/docs/wiki/Function.IsEmail.md +1 -1
- package/docs/wiki/Function.IsEnum.md +1 -1
- package/docs/wiki/Function.IsIP.md +1 -1
- package/docs/wiki/Function.IsInt.md +1 -1
- package/docs/wiki/Function.IsNumber.md +1 -1
- package/docs/wiki/Function.IsObject.md +1 -1
- package/docs/wiki/Function.IsPhoneNumber.md +1 -1
- package/docs/wiki/Function.IsPort.md +1 -1
- package/docs/wiki/Function.IsString.md +1 -1
- package/docs/wiki/Function.IsUUID.md +1 -1
- package/docs/wiki/Function.IsUrl.md +1 -1
- package/docs/wiki/Function.RxapForm.md +1 -1
- package/docs/wiki/Function.ToFormMethod.md +1 -1
- package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
- package/docs/wiki/Function.UseFormArrayControl.md +1 -1
- package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
- package/docs/wiki/Function.UseFormControl.md +1 -1
- package/docs/wiki/Function.UseFormGroup.md +1 -1
- package/docs/wiki/Function._IsNumber.md +1 -1
- package/docs/wiki/Function.controlDisabled$.md +1 -1
- package/docs/wiki/Function.controlDisabledWhile.md +1 -1
- package/docs/wiki/Function.controlEnabled$.md +1 -1
- package/docs/wiki/Function.controlEnabledWhile.md +1 -1
- package/docs/wiki/Function.controlErrorChanges$.md +1 -1
- package/docs/wiki/Function.controlReadonly$.md +1 -1
- package/docs/wiki/Function.controlStatusChanges$.md +1 -1
- package/docs/wiki/Function.controlValueChanges$.md +1 -1
- package/docs/wiki/Function.disableControl.md +1 -1
- package/docs/wiki/Function.enableControl.md +1 -1
- package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
- package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
- package/docs/wiki/Function.isNumber.md +1 -1
- package/docs/wiki/Function.markAllDirty.md +1 -1
- package/docs/wiki/Function.markAllPristine.md +1 -1
- package/docs/wiki/Function.markAllUntouched.md +1 -1
- package/docs/wiki/Function.mergeControlValidators.md +1 -1
- package/docs/wiki/Function.selectControlValue$.md +1 -1
- package/docs/wiki/Function.validateControlOn.md +1 -1
- package/docs/wiki/Interface.AbstractControl.md +7 -7
- package/docs/wiki/Interface.AbstractControlOptions.md +3 -3
- package/docs/wiki/Interface.BoxedValue.md +3 -3
- package/docs/wiki/Interface.ComplexityOptions.md +11 -11
- package/docs/wiki/Interface.ControlOptions.md +8 -8
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +10 -10
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +2 -2
- package/docs/wiki/Interface.FormDefinitionMetadata.md +9 -9
- package/docs/wiki/Interface.FormGroupOptions.md +7 -7
- 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 +7 -7
- 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 +7 -7
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +6 -6
- 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 +31 -14
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/lib/form-array.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [19.1.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.4...@rxap/forms@19.1.0-dev.5) (2025-08-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **form-array:** improve removeAt logic to handle validations ([cb73bac](https://gitlab.com/rxap/packages/commit/cb73bac8884ffdd51e109da3d584dcca7e1e2d38))
|
|
11
|
+
|
|
12
|
+
# [19.1.0-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.3...@rxap/forms@19.1.0-dev.4) (2025-08-18)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **form-array:** correct control insertion logic and ID updates ([fc949e3](https://gitlab.com/rxap/packages/commit/fc949e312c243075d47ab7fc4d31432bbf6880a7))
|
|
17
|
+
|
|
6
18
|
# [19.1.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.2...@rxap/forms@19.1.0-dev.3) (2025-08-18)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,16 @@
|
|
|
85
85
|
<h1>Change Log</h1>
|
|
86
86
|
<p>All notable changes to this project will be documented in this file.
|
|
87
87
|
See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
|
|
88
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.4...@rxap/forms@19.1.0-dev.5">19.1.0-dev.5</a> (2025-08-18)</h1>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>form-array:</strong> improve removeAt logic to handle validations (<a href="https://gitlab.com/rxap/packages/commit/cb73bac8884ffdd51e109da3d584dcca7e1e2d38">cb73bac</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.3...@rxap/forms@19.1.0-dev.4">19.1.0-dev.4</a> (2025-08-18)</h1>
|
|
94
|
+
<h3>Bug Fixes</h3>
|
|
95
|
+
<ul>
|
|
96
|
+
<li><strong>form-array:</strong> correct control insertion logic and ID updates (<a href="https://gitlab.com/rxap/packages/commit/fc949e312c243075d47ab7fc4d31432bbf6880a7">fc949e3</a>)</li>
|
|
97
|
+
</ul>
|
|
88
98
|
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.2...@rxap/forms@19.1.0-dev.3">19.1.0-dev.3</a> (2025-08-18)</h1>
|
|
89
99
|
<h3>Bug Fixes</h3>
|
|
90
100
|
<ul>
|
|
@@ -975,8 +975,8 @@
|
|
|
975
975
|
|
|
976
976
|
<tr>
|
|
977
977
|
<td class="col-md-4">
|
|
978
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
979
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
978
|
+
<div class="io-line">Defined in <a href="" data-line="207"
|
|
979
|
+
class="link-to-prism">src/lib/form-array.ts:207</a></div>
|
|
980
980
|
</td>
|
|
981
981
|
</tr>
|
|
982
982
|
|
|
@@ -1056,8 +1056,8 @@
|
|
|
1056
1056
|
|
|
1057
1057
|
<tr>
|
|
1058
1058
|
<td class="col-md-4">
|
|
1059
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1060
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1059
|
+
<div class="io-line">Defined in <a href="" data-line="214"
|
|
1060
|
+
class="link-to-prism">src/lib/form-array.ts:214</a></div>
|
|
1061
1061
|
</td>
|
|
1062
1062
|
</tr>
|
|
1063
1063
|
|
|
@@ -1138,8 +1138,8 @@
|
|
|
1138
1138
|
|
|
1139
1139
|
<tr>
|
|
1140
1140
|
<td class="col-md-4">
|
|
1141
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1142
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1141
|
+
<div class="io-line">Defined in <a href="" data-line="411"
|
|
1142
|
+
class="link-to-prism">src/lib/form-array.ts:411</a></div>
|
|
1143
1143
|
</td>
|
|
1144
1144
|
</tr>
|
|
1145
1145
|
|
|
@@ -1268,8 +1268,8 @@
|
|
|
1268
1268
|
|
|
1269
1269
|
<tr>
|
|
1270
1270
|
<td class="col-md-4">
|
|
1271
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1272
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1271
|
+
<div class="io-line">Defined in <a href="" data-line="403"
|
|
1272
|
+
class="link-to-prism">src/lib/form-array.ts:403</a></div>
|
|
1273
1273
|
</td>
|
|
1274
1274
|
</tr>
|
|
1275
1275
|
|
|
@@ -1349,8 +1349,8 @@
|
|
|
1349
1349
|
|
|
1350
1350
|
<tr>
|
|
1351
1351
|
<td class="col-md-4">
|
|
1352
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1353
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1352
|
+
<div class="io-line">Defined in <a href="" data-line="317"
|
|
1353
|
+
class="link-to-prism">src/lib/form-array.ts:317</a></div>
|
|
1354
1354
|
</td>
|
|
1355
1355
|
</tr>
|
|
1356
1356
|
|
|
@@ -1430,8 +1430,8 @@
|
|
|
1430
1430
|
|
|
1431
1431
|
<tr>
|
|
1432
1432
|
<td class="col-md-4">
|
|
1433
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1434
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1433
|
+
<div class="io-line">Defined in <a href="" data-line="265"
|
|
1434
|
+
class="link-to-prism">src/lib/form-array.ts:265</a></div>
|
|
1435
1435
|
</td>
|
|
1436
1436
|
</tr>
|
|
1437
1437
|
|
|
@@ -1702,8 +1702,8 @@ the new control will be added to the end.</p>
|
|
|
1702
1702
|
|
|
1703
1703
|
<tr>
|
|
1704
1704
|
<td class="col-md-4">
|
|
1705
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1706
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1705
|
+
<div class="io-line">Defined in <a href="" data-line="233"
|
|
1706
|
+
class="link-to-prism">src/lib/form-array.ts:233</a></div>
|
|
1707
1707
|
</td>
|
|
1708
1708
|
</tr>
|
|
1709
1709
|
|
|
@@ -1741,8 +1741,8 @@ the new control will be added to the end.</p>
|
|
|
1741
1741
|
|
|
1742
1742
|
<tr>
|
|
1743
1743
|
<td class="col-md-4">
|
|
1744
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1745
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1744
|
+
<div class="io-line">Defined in <a href="" data-line="237"
|
|
1745
|
+
class="link-to-prism">src/lib/form-array.ts:237</a></div>
|
|
1746
1746
|
</td>
|
|
1747
1747
|
</tr>
|
|
1748
1748
|
|
|
@@ -1780,8 +1780,8 @@ the new control will be added to the end.</p>
|
|
|
1780
1780
|
|
|
1781
1781
|
<tr>
|
|
1782
1782
|
<td class="col-md-4">
|
|
1783
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1784
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1783
|
+
<div class="io-line">Defined in <a href="" data-line="255"
|
|
1784
|
+
class="link-to-prism">src/lib/form-array.ts:255</a></div>
|
|
1785
1785
|
</td>
|
|
1786
1786
|
</tr>
|
|
1787
1787
|
|
|
@@ -1820,8 +1820,8 @@ the new control will be added to the end.</p>
|
|
|
1820
1820
|
|
|
1821
1821
|
<tr>
|
|
1822
1822
|
<td class="col-md-4">
|
|
1823
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1824
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1823
|
+
<div class="io-line">Defined in <a href="" data-line="374"
|
|
1824
|
+
class="link-to-prism">src/lib/form-array.ts:374</a></div>
|
|
1825
1825
|
</td>
|
|
1826
1826
|
</tr>
|
|
1827
1827
|
|
|
@@ -1890,8 +1890,8 @@ the new control will be added to the end.</p>
|
|
|
1890
1890
|
|
|
1891
1891
|
<tr>
|
|
1892
1892
|
<td class="col-md-4">
|
|
1893
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1894
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1893
|
+
<div class="io-line">Defined in <a href="" data-line="369"
|
|
1894
|
+
class="link-to-prism">src/lib/form-array.ts:369</a></div>
|
|
1895
1895
|
</td>
|
|
1896
1896
|
</tr>
|
|
1897
1897
|
|
|
@@ -1960,8 +1960,8 @@ the new control will be added to the end.</p>
|
|
|
1960
1960
|
|
|
1961
1961
|
<tr>
|
|
1962
1962
|
<td class="col-md-4">
|
|
1963
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1964
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
1963
|
+
<div class="io-line">Defined in <a href="" data-line="359"
|
|
1964
|
+
class="link-to-prism">src/lib/form-array.ts:359</a></div>
|
|
1965
1965
|
</td>
|
|
1966
1966
|
</tr>
|
|
1967
1967
|
|
|
@@ -2030,8 +2030,8 @@ the new control will be added to the end.</p>
|
|
|
2030
2030
|
|
|
2031
2031
|
<tr>
|
|
2032
2032
|
<td class="col-md-4">
|
|
2033
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2034
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2033
|
+
<div class="io-line">Defined in <a href="" data-line="364"
|
|
2034
|
+
class="link-to-prism">src/lib/form-array.ts:364</a></div>
|
|
2035
2035
|
</td>
|
|
2036
2036
|
</tr>
|
|
2037
2037
|
|
|
@@ -2099,8 +2099,8 @@ the new control will be added to the end.</p>
|
|
|
2099
2099
|
|
|
2100
2100
|
<tr>
|
|
2101
2101
|
<td class="col-md-4">
|
|
2102
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2103
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2102
|
+
<div class="io-line">Defined in <a href="" data-line="225"
|
|
2103
|
+
class="link-to-prism">src/lib/form-array.ts:225</a></div>
|
|
2104
2104
|
</td>
|
|
2105
2105
|
</tr>
|
|
2106
2106
|
|
|
@@ -2168,8 +2168,8 @@ the new control will be added to the end.</p>
|
|
|
2168
2168
|
|
|
2169
2169
|
<tr>
|
|
2170
2170
|
<td class="col-md-4">
|
|
2171
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2172
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2171
|
+
<div class="io-line">Defined in <a href="" data-line="221"
|
|
2172
|
+
class="link-to-prism">src/lib/form-array.ts:221</a></div>
|
|
2173
2173
|
</td>
|
|
2174
2174
|
</tr>
|
|
2175
2175
|
|
|
@@ -2238,8 +2238,8 @@ the new control will be added to the end.</p>
|
|
|
2238
2238
|
|
|
2239
2239
|
<tr>
|
|
2240
2240
|
<td class="col-md-4">
|
|
2241
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2242
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2241
|
+
<div class="io-line">Defined in <a href="" data-line="304"
|
|
2242
|
+
class="link-to-prism">src/lib/form-array.ts:304</a></div>
|
|
2243
2243
|
</td>
|
|
2244
2244
|
</tr>
|
|
2245
2245
|
|
|
@@ -2320,8 +2320,8 @@ the new control will be added to the end.</p>
|
|
|
2320
2320
|
|
|
2321
2321
|
<tr>
|
|
2322
2322
|
<td class="col-md-4">
|
|
2323
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2324
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2323
|
+
<div class="io-line">Defined in <a href="" data-line="341"
|
|
2324
|
+
class="link-to-prism">src/lib/form-array.ts:341</a></div>
|
|
2325
2325
|
</td>
|
|
2326
2326
|
</tr>
|
|
2327
2327
|
|
|
@@ -2395,15 +2395,15 @@ the new control will be added to the end.</p>
|
|
|
2395
2395
|
<tr>
|
|
2396
2396
|
<td class="col-md-4">
|
|
2397
2397
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
2398
|
-
<code>removeAt(index: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>)</code>
|
|
2398
|
+
<code>removeAt(index: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, opts?: <a href="../undefineds/ControlEventOptions.html" target="_self">ControlEventOptions</a>)</code>
|
|
2399
2399
|
</td>
|
|
2400
2400
|
</tr>
|
|
2401
2401
|
|
|
2402
2402
|
|
|
2403
2403
|
<tr>
|
|
2404
2404
|
<td class="col-md-4">
|
|
2405
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2406
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2405
|
+
<div class="io-line">Defined in <a href="" data-line="324"
|
|
2406
|
+
class="link-to-prism">src/lib/form-array.ts:324</a></div>
|
|
2407
2407
|
</td>
|
|
2408
2408
|
</tr>
|
|
2409
2409
|
|
|
@@ -2434,6 +2434,18 @@ the new control will be added to the end.</p>
|
|
|
2434
2434
|
</td>
|
|
2435
2435
|
|
|
2436
2436
|
|
|
2437
|
+
</tr>
|
|
2438
|
+
<tr>
|
|
2439
|
+
<td>opts</td>
|
|
2440
|
+
<td>
|
|
2441
|
+
<code><a href="../miscellaneous/typealiases.html#ControlEventOptions" target="_self" >ControlEventOptions</a></code>
|
|
2442
|
+
</td>
|
|
2443
|
+
|
|
2444
|
+
<td>
|
|
2445
|
+
Yes
|
|
2446
|
+
</td>
|
|
2447
|
+
|
|
2448
|
+
|
|
2437
2449
|
</tr>
|
|
2438
2450
|
</tbody>
|
|
2439
2451
|
</table>
|
|
@@ -2472,8 +2484,8 @@ the new control will be added to the end.</p>
|
|
|
2472
2484
|
|
|
2473
2485
|
<tr>
|
|
2474
2486
|
<td class="col-md-4">
|
|
2475
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2476
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2487
|
+
<div class="io-line">Defined in <a href="" data-line="379"
|
|
2488
|
+
class="link-to-prism">src/lib/form-array.ts:379</a></div>
|
|
2477
2489
|
</td>
|
|
2478
2490
|
</tr>
|
|
2479
2491
|
|
|
@@ -2631,8 +2643,8 @@ the new control will be added to the end.</p>
|
|
|
2631
2643
|
|
|
2632
2644
|
<tr>
|
|
2633
2645
|
<td class="col-md-4">
|
|
2634
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2635
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2646
|
+
<div class="io-line">Defined in <a href="" data-line="393"
|
|
2647
|
+
class="link-to-prism">src/lib/form-array.ts:393</a></div>
|
|
2636
2648
|
</td>
|
|
2637
2649
|
</tr>
|
|
2638
2650
|
|
|
@@ -2718,8 +2730,8 @@ the new control will be added to the end.</p>
|
|
|
2718
2730
|
|
|
2719
2731
|
<tr>
|
|
2720
2732
|
<td class="col-md-4">
|
|
2721
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2722
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2733
|
+
<div class="io-line">Defined in <a href="" data-line="352"
|
|
2734
|
+
class="link-to-prism">src/lib/form-array.ts:352</a></div>
|
|
2723
2735
|
</td>
|
|
2724
2736
|
</tr>
|
|
2725
2737
|
|
|
@@ -2811,8 +2823,8 @@ the new control will be added to the end.</p>
|
|
|
2811
2823
|
|
|
2812
2824
|
<tr>
|
|
2813
2825
|
<td class="col-md-4">
|
|
2814
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2815
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2826
|
+
<div class="io-line">Defined in <a href="" data-line="348"
|
|
2827
|
+
class="link-to-prism">src/lib/form-array.ts:348</a></div>
|
|
2816
2828
|
</td>
|
|
2817
2829
|
</tr>
|
|
2818
2830
|
|
|
@@ -2897,8 +2909,8 @@ the new control will be added to the end.</p>
|
|
|
2897
2909
|
|
|
2898
2910
|
<tr>
|
|
2899
2911
|
<td class="col-md-4">
|
|
2900
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2901
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2912
|
+
<div class="io-line">Defined in <a href="" data-line="337"
|
|
2913
|
+
class="link-to-prism">src/lib/form-array.ts:337</a></div>
|
|
2902
2914
|
</td>
|
|
2903
2915
|
</tr>
|
|
2904
2916
|
|
|
@@ -2984,8 +2996,8 @@ the new control will be added to the end.</p>
|
|
|
2984
2996
|
|
|
2985
2997
|
<tr>
|
|
2986
2998
|
<td class="col-md-4">
|
|
2987
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2988
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
2999
|
+
<div class="io-line">Defined in <a href="" data-line="407"
|
|
3000
|
+
class="link-to-prism">src/lib/form-array.ts:407</a></div>
|
|
2989
3001
|
</td>
|
|
2990
3002
|
</tr>
|
|
2991
3003
|
|
|
@@ -3072,8 +3084,8 @@ the new control will be added to the end.</p>
|
|
|
3072
3084
|
|
|
3073
3085
|
<tr>
|
|
3074
3086
|
<td class="col-md-4">
|
|
3075
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3076
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
3087
|
+
<div class="io-line">Defined in <a href="" data-line="383"
|
|
3088
|
+
class="link-to-prism">src/lib/form-array.ts:383</a></div>
|
|
3077
3089
|
</td>
|
|
3078
3090
|
</tr>
|
|
3079
3091
|
|
|
@@ -3159,8 +3171,8 @@ the new control will be added to the end.</p>
|
|
|
3159
3171
|
|
|
3160
3172
|
<tr>
|
|
3161
3173
|
<td class="col-md-4">
|
|
3162
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3163
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
3174
|
+
<div class="io-line">Defined in <a href="" data-line="241"
|
|
3175
|
+
class="link-to-prism">src/lib/form-array.ts:241</a></div>
|
|
3164
3176
|
</td>
|
|
3165
3177
|
</tr>
|
|
3166
3178
|
|
|
@@ -3240,8 +3252,8 @@ the new control will be added to the end.</p>
|
|
|
3240
3252
|
|
|
3241
3253
|
<tr>
|
|
3242
3254
|
<td class="col-md-4">
|
|
3243
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3244
|
-
class="link-to-prism">src/lib/form-array.ts:
|
|
3255
|
+
<div class="io-line">Defined in <a href="" data-line="259"
|
|
3256
|
+
class="link-to-prism">src/lib/form-array.ts:259</a></div>
|
|
3245
3257
|
</td>
|
|
3246
3258
|
</tr>
|
|
3247
3259
|
|
|
@@ -3592,24 +3604,32 @@ export class RxapFormArray<T = any,
|
|
|
3592
3604
|
|
|
3593
3605
|
this._controlInsertedFn(insertIndex, controlOrDefinition);
|
|
3594
3606
|
|
|
3595
|
-
if (
|
|
3596
|
-
// the
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
i + 1
|
|
3602
|
-
).toFixed(0));
|
|
3603
|
-
}
|
|
3607
|
+
if (insertIndex < this.controls.length) {
|
|
3608
|
+
// update the control ids for all controls, that are moved.
|
|
3609
|
+
for (let i = insertIndex; i < this.controls.length; i++) {
|
|
3610
|
+
Reflect.set(this.controls[i], 'controlId', (
|
|
3611
|
+
i + 1
|
|
3612
|
+
).toFixed(0));
|
|
3604
3613
|
}
|
|
3605
3614
|
}
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3615
|
+
if (length === this.controls.length) {
|
|
3616
|
+
// the _controlInsertedFn has not yet added the new control to the form array
|
|
3617
|
+
// call the super insert after the update, bc the insert method will
|
|
3618
|
+
// trigger a change detection
|
|
3619
|
+
if (controlOrDefinition instanceof NgAbstractControl) {
|
|
3620
|
+
super.insert(insertIndex, controlOrDefinition, options);
|
|
3621
|
+
} else {
|
|
3622
|
+
super.insert(insertIndex, controlOrDefinition.rxapFormGroup!, options);
|
|
3623
|
+
}
|
|
3611
3624
|
} else {
|
|
3612
|
-
|
|
3625
|
+
if (controlOrDefinition instanceof NgAbstractControl) {
|
|
3626
|
+
controlOrDefinition.setParent(this);
|
|
3627
|
+
(controlOrDefinition as any)['_registerOnCollectionChange']?.((this as any)['_onCollectionChange']);
|
|
3628
|
+
} else {
|
|
3629
|
+
controlOrDefinition.rxapFormGroup!.setParent(this);
|
|
3630
|
+
(controlOrDefinition.rxapFormGroup as any)['_registerOnCollectionChange']?.((this as any)['_onCollectionChange']);
|
|
3631
|
+
}
|
|
3632
|
+
this.updateValueAndValidity({ emitEvent: options?.emitEvent });
|
|
3613
3633
|
}
|
|
3614
3634
|
}
|
|
3615
3635
|
|
|
@@ -3730,12 +3750,17 @@ export class RxapFormArray<T = any,
|
|
|
3730
3750
|
return hasErrorAndDirty(this, errorCode, path);
|
|
3731
3751
|
}
|
|
3732
3752
|
|
|
3733
|
-
public override removeAt(index: number) {
|
|
3753
|
+
public override removeAt(index: number, opts?: ControlEventOptions) {
|
|
3734
3754
|
if (isDevMode()) {
|
|
3735
3755
|
console.warn('It is not recommend to use the FormArray.removeAt method');
|
|
3736
3756
|
}
|
|
3737
|
-
|
|
3757
|
+
const length = this.controls.length;
|
|
3738
3758
|
this._controlRemovedFn(index);
|
|
3759
|
+
if (length === this.controls.length) {
|
|
3760
|
+
super.removeAt(index);
|
|
3761
|
+
} else {
|
|
3762
|
+
this.updateValueAndValidity({ emitEvent: opts?.emitEvent });
|
|
3763
|
+
}
|
|
3739
3764
|
}
|
|
3740
3765
|
|
|
3741
3766
|
public setEnable(enable = true, opts?: ControlEventOptions) {
|