@rxap/forms 19.1.0-dev.3 → 19.1.0-dev.4
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 +6 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/classes/RxapFormArray.html +77 -69
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1104 -1104
- 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 +34 -34
- 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 +54 -54
- 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 +53 -53
- 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 +23 -12
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.4](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.3...@rxap/forms@19.1.0-dev.4) (2025-08-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **form-array:** correct control insertion logic and ID updates ([fc949e3](https://gitlab.com/rxap/packages/commit/fc949e312c243075d47ab7fc4d31432bbf6880a7))
|
|
11
|
+
|
|
6
12
|
# [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
13
|
|
|
8
14
|
### Bug Fixes
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,11 @@
|
|
|
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.3...@rxap/forms@19.1.0-dev.4">19.1.0-dev.4</a> (2025-08-18)</h1>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>form-array:</strong> correct control insertion logic and ID updates (<a href="https://gitlab.com/rxap/packages/commit/fc949e312c243075d47ab7fc4d31432bbf6880a7">fc949e3</a>)</li>
|
|
92
|
+
</ul>
|
|
88
93
|
<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
94
|
<h3>Bug Fixes</h3>
|
|
90
95
|
<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="406"
|
|
1142
|
+
class="link-to-prism">src/lib/form-array.ts:406</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="398"
|
|
1272
|
+
class="link-to-prism">src/lib/form-array.ts:398</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="369"
|
|
1824
|
+
class="link-to-prism">src/lib/form-array.ts:369</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="364"
|
|
1894
|
+
class="link-to-prism">src/lib/form-array.ts:364</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="354"
|
|
1964
|
+
class="link-to-prism">src/lib/form-array.ts:354</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="359"
|
|
2034
|
+
class="link-to-prism">src/lib/form-array.ts:359</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="336"
|
|
2324
|
+
class="link-to-prism">src/lib/form-array.ts:336</a></div>
|
|
2325
2325
|
</td>
|
|
2326
2326
|
</tr>
|
|
2327
2327
|
|
|
@@ -2402,8 +2402,8 @@ the new control will be added to the end.</p>
|
|
|
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
|
|
|
@@ -2472,8 +2472,8 @@ the new control will be added to the end.</p>
|
|
|
2472
2472
|
|
|
2473
2473
|
<tr>
|
|
2474
2474
|
<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:
|
|
2475
|
+
<div class="io-line">Defined in <a href="" data-line="374"
|
|
2476
|
+
class="link-to-prism">src/lib/form-array.ts:374</a></div>
|
|
2477
2477
|
</td>
|
|
2478
2478
|
</tr>
|
|
2479
2479
|
|
|
@@ -2631,8 +2631,8 @@ the new control will be added to the end.</p>
|
|
|
2631
2631
|
|
|
2632
2632
|
<tr>
|
|
2633
2633
|
<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:
|
|
2634
|
+
<div class="io-line">Defined in <a href="" data-line="388"
|
|
2635
|
+
class="link-to-prism">src/lib/form-array.ts:388</a></div>
|
|
2636
2636
|
</td>
|
|
2637
2637
|
</tr>
|
|
2638
2638
|
|
|
@@ -2718,8 +2718,8 @@ the new control will be added to the end.</p>
|
|
|
2718
2718
|
|
|
2719
2719
|
<tr>
|
|
2720
2720
|
<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:
|
|
2721
|
+
<div class="io-line">Defined in <a href="" data-line="347"
|
|
2722
|
+
class="link-to-prism">src/lib/form-array.ts:347</a></div>
|
|
2723
2723
|
</td>
|
|
2724
2724
|
</tr>
|
|
2725
2725
|
|
|
@@ -2811,8 +2811,8 @@ the new control will be added to the end.</p>
|
|
|
2811
2811
|
|
|
2812
2812
|
<tr>
|
|
2813
2813
|
<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:
|
|
2814
|
+
<div class="io-line">Defined in <a href="" data-line="343"
|
|
2815
|
+
class="link-to-prism">src/lib/form-array.ts:343</a></div>
|
|
2816
2816
|
</td>
|
|
2817
2817
|
</tr>
|
|
2818
2818
|
|
|
@@ -2897,8 +2897,8 @@ the new control will be added to the end.</p>
|
|
|
2897
2897
|
|
|
2898
2898
|
<tr>
|
|
2899
2899
|
<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:
|
|
2900
|
+
<div class="io-line">Defined in <a href="" data-line="332"
|
|
2901
|
+
class="link-to-prism">src/lib/form-array.ts:332</a></div>
|
|
2902
2902
|
</td>
|
|
2903
2903
|
</tr>
|
|
2904
2904
|
|
|
@@ -2984,8 +2984,8 @@ the new control will be added to the end.</p>
|
|
|
2984
2984
|
|
|
2985
2985
|
<tr>
|
|
2986
2986
|
<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:
|
|
2987
|
+
<div class="io-line">Defined in <a href="" data-line="402"
|
|
2988
|
+
class="link-to-prism">src/lib/form-array.ts:402</a></div>
|
|
2989
2989
|
</td>
|
|
2990
2990
|
</tr>
|
|
2991
2991
|
|
|
@@ -3072,8 +3072,8 @@ the new control will be added to the end.</p>
|
|
|
3072
3072
|
|
|
3073
3073
|
<tr>
|
|
3074
3074
|
<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:
|
|
3075
|
+
<div class="io-line">Defined in <a href="" data-line="378"
|
|
3076
|
+
class="link-to-prism">src/lib/form-array.ts:378</a></div>
|
|
3077
3077
|
</td>
|
|
3078
3078
|
</tr>
|
|
3079
3079
|
|
|
@@ -3159,8 +3159,8 @@ the new control will be added to the end.</p>
|
|
|
3159
3159
|
|
|
3160
3160
|
<tr>
|
|
3161
3161
|
<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:
|
|
3162
|
+
<div class="io-line">Defined in <a href="" data-line="241"
|
|
3163
|
+
class="link-to-prism">src/lib/form-array.ts:241</a></div>
|
|
3164
3164
|
</td>
|
|
3165
3165
|
</tr>
|
|
3166
3166
|
|
|
@@ -3240,8 +3240,8 @@ the new control will be added to the end.</p>
|
|
|
3240
3240
|
|
|
3241
3241
|
<tr>
|
|
3242
3242
|
<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:
|
|
3243
|
+
<div class="io-line">Defined in <a href="" data-line="259"
|
|
3244
|
+
class="link-to-prism">src/lib/form-array.ts:259</a></div>
|
|
3245
3245
|
</td>
|
|
3246
3246
|
</tr>
|
|
3247
3247
|
|
|
@@ -3592,24 +3592,32 @@ export class RxapFormArray<T = any,
|
|
|
3592
3592
|
|
|
3593
3593
|
this._controlInsertedFn(insertIndex, controlOrDefinition);
|
|
3594
3594
|
|
|
3595
|
-
if (
|
|
3596
|
-
// the
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
i + 1
|
|
3602
|
-
).toFixed(0));
|
|
3603
|
-
}
|
|
3595
|
+
if (insertIndex < this.controls.length) {
|
|
3596
|
+
// update the control ids for all controls, that are moved.
|
|
3597
|
+
for (let i = insertIndex; i < this.controls.length; i++) {
|
|
3598
|
+
Reflect.set(this.controls[i], 'controlId', (
|
|
3599
|
+
i + 1
|
|
3600
|
+
).toFixed(0));
|
|
3604
3601
|
}
|
|
3605
3602
|
}
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3603
|
+
if (length === this.controls.length) {
|
|
3604
|
+
// the _controlInsertedFn has not yet added the new control to the form array
|
|
3605
|
+
// call the super insert after the update, bc the insert method will
|
|
3606
|
+
// trigger a change detection
|
|
3607
|
+
if (controlOrDefinition instanceof NgAbstractControl) {
|
|
3608
|
+
super.insert(insertIndex, controlOrDefinition, options);
|
|
3609
|
+
} else {
|
|
3610
|
+
super.insert(insertIndex, controlOrDefinition.rxapFormGroup!, options);
|
|
3611
|
+
}
|
|
3611
3612
|
} else {
|
|
3612
|
-
|
|
3613
|
+
if (controlOrDefinition instanceof NgAbstractControl) {
|
|
3614
|
+
controlOrDefinition.setParent(this);
|
|
3615
|
+
(controlOrDefinition as any)['_registerOnCollectionChange']?.((this as any)['_onCollectionChange']);
|
|
3616
|
+
} else {
|
|
3617
|
+
controlOrDefinition.rxapFormGroup!.setParent(this);
|
|
3618
|
+
(controlOrDefinition.rxapFormGroup as any)['_registerOnCollectionChange']?.((this as any)['_onCollectionChange']);
|
|
3619
|
+
}
|
|
3620
|
+
this.updateValueAndValidity({ emitEvent: options?.emitEvent });
|
|
3613
3621
|
}
|
|
3614
3622
|
}
|
|
3615
3623
|
|