@rxap/forms 19.1.0-dev.1 → 19.1.0-dev.3
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 +64 -58
- package/compodoc/directives/FormDirective.html +1 -1
- package/compodoc/interfaces/FormLoadFailedMethod.html +4 -4
- package/compodoc/interfaces/FormLoadMethod.html +5 -5
- package/compodoc/interfaces/FormLoadSuccessfulMethod.html +4 -4
- package/compodoc/interfaces/FormSubmitFailedMethod.html +4 -4
- package/compodoc/interfaces/FormSubmitMethod.html +19 -6
- package/compodoc/interfaces/FormSubmitSuccessfulMethod.html +4 -4
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +6892 -6679
- 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 +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 +46 -46
- 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 +15 -11
- 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 +18 -10
- 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 +3 -3
- package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +3 -3
- package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +3 -3
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +3 -3
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +3 -3
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +3 -3
- 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 +45 -45
- 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 +14 -10
- 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 +17 -9
- 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 +2 -2
- package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +2 -2
- package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +2 -2
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
- package/docs/wiki/Variable.RxapValidators.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-forms.mjs +9 -5
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/lib/directives/models.d.ts +6 -6
- package/lib/directives/tokens.d.ts +6 -6
- 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.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
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **form-array:** handle control insertion edge case ([97c1e1c](https://gitlab.com/rxap/packages/commit/97c1e1c15eea4276267dc1dfc54a530d28a6818f))
|
|
11
|
+
|
|
12
|
+
# [19.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.1...@rxap/forms@19.1.0-dev.2) (2025-08-12)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **forms:** add initial state support to submit and load methods ([4fc75a3](https://gitlab.com/rxap/packages/commit/4fc75a333ef09fdf1c3f7480d05f609122e554d5))
|
|
17
|
+
|
|
6
18
|
# [19.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.0...@rxap/forms@19.1.0-dev.1) (2025-08-12)
|
|
7
19
|
|
|
8
20
|
### Features
|
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.2...@rxap/forms@19.1.0-dev.3">19.1.0-dev.3</a> (2025-08-18)</h1>
|
|
89
|
+
<h3>Bug Fixes</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>form-array:</strong> handle control insertion edge case (<a href="https://gitlab.com/rxap/packages/commit/97c1e1c15eea4276267dc1dfc54a530d28a6818f">97c1e1c</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.1...@rxap/forms@19.1.0-dev.2">19.1.0-dev.2</a> (2025-08-12)</h1>
|
|
94
|
+
<h3>Features</h3>
|
|
95
|
+
<ul>
|
|
96
|
+
<li><strong>forms:</strong> add initial state support to submit and load methods (<a href="https://gitlab.com/rxap/packages/commit/4fc75a333ef09fdf1c3f7480d05f609122e554d5">4fc75a3</a>)</li>
|
|
97
|
+
</ul>
|
|
88
98
|
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/forms@19.1.0-dev.0...@rxap/forms@19.1.0-dev.1">19.1.0-dev.1</a> (2025-08-12)</h1>
|
|
89
99
|
<h3>Features</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="199"
|
|
979
|
+
class="link-to-prism">src/lib/form-array.ts:199</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="206"
|
|
1060
|
+
class="link-to-prism">src/lib/form-array.ts:206</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="398"
|
|
1142
|
+
class="link-to-prism">src/lib/form-array.ts:398</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="390"
|
|
1272
|
+
class="link-to-prism">src/lib/form-array.ts:390</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="309"
|
|
1353
|
+
class="link-to-prism">src/lib/form-array.ts:309</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="257"
|
|
1434
|
+
class="link-to-prism">src/lib/form-array.ts:257</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="225"
|
|
1706
|
+
class="link-to-prism">src/lib/form-array.ts:225</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="229"
|
|
1745
|
+
class="link-to-prism">src/lib/form-array.ts:229</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="247"
|
|
1784
|
+
class="link-to-prism">src/lib/form-array.ts:247</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="361"
|
|
1824
|
+
class="link-to-prism">src/lib/form-array.ts:361</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="356"
|
|
1894
|
+
class="link-to-prism">src/lib/form-array.ts:356</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="346"
|
|
1964
|
+
class="link-to-prism">src/lib/form-array.ts:346</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="351"
|
|
2034
|
+
class="link-to-prism">src/lib/form-array.ts:351</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="217"
|
|
2103
|
+
class="link-to-prism">src/lib/form-array.ts:217</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="213"
|
|
2172
|
+
class="link-to-prism">src/lib/form-array.ts:213</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="296"
|
|
2242
|
+
class="link-to-prism">src/lib/form-array.ts:296</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="328"
|
|
2324
|
+
class="link-to-prism">src/lib/form-array.ts:328</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="316"
|
|
2406
|
+
class="link-to-prism">src/lib/form-array.ts:316</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="366"
|
|
2476
|
+
class="link-to-prism">src/lib/form-array.ts:366</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="380"
|
|
2635
|
+
class="link-to-prism">src/lib/form-array.ts:380</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="339"
|
|
2722
|
+
class="link-to-prism">src/lib/form-array.ts:339</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="335"
|
|
2815
|
+
class="link-to-prism">src/lib/form-array.ts:335</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="324"
|
|
2901
|
+
class="link-to-prism">src/lib/form-array.ts:324</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="394"
|
|
2988
|
+
class="link-to-prism">src/lib/form-array.ts:394</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="370"
|
|
3076
|
+
class="link-to-prism">src/lib/form-array.ts:370</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="233"
|
|
3163
|
+
class="link-to-prism">src/lib/form-array.ts:233</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="251"
|
|
3244
|
+
class="link-to-prism">src/lib/form-array.ts:251</a></div>
|
|
3245
3245
|
</td>
|
|
3246
3246
|
</tr>
|
|
3247
3247
|
|
|
@@ -3585,16 +3585,22 @@ export class RxapFormArray<T = any,
|
|
|
3585
3585
|
*/
|
|
3586
3586
|
public insertAt(index?: number, state?: T, options?: ControlEventOptions): void {
|
|
3587
3587
|
const insertIndex = index ?? this.controls.length;
|
|
3588
|
+
const length = this.controls.length;
|
|
3588
3589
|
const controlOrDefinition = this._builder(state, {
|
|
3589
3590
|
controlId: insertIndex.toFixed(0),
|
|
3590
3591
|
});
|
|
3591
3592
|
|
|
3592
3593
|
this._controlInsertedFn(insertIndex, controlOrDefinition);
|
|
3593
3594
|
|
|
3594
|
-
if (
|
|
3595
|
-
//
|
|
3596
|
-
|
|
3597
|
-
|
|
3595
|
+
if (length === this.controls.length && insertIndex !== length) {
|
|
3596
|
+
// the _controlInsertedFn has not yet added the new control to the form array
|
|
3597
|
+
if (insertIndex < this.controls.length) {
|
|
3598
|
+
// update the control ids for all controls, that are moved.
|
|
3599
|
+
for (let i = insertIndex; i < this.controls.length; i++) {
|
|
3600
|
+
Reflect.set(this.controls[i], 'controlId', (
|
|
3601
|
+
i + 1
|
|
3602
|
+
).toFixed(0));
|
|
3603
|
+
}
|
|
3598
3604
|
}
|
|
3599
3605
|
}
|
|
3600
3606
|
|
|
@@ -2490,7 +2490,7 @@ export class FormDirective<T = any>
|
|
|
2490
2490
|
this.submitting$.enable();
|
|
2491
2491
|
this.submitError$.next(null);
|
|
2492
2492
|
try {
|
|
2493
|
-
const resultOrPromise = this.submitMethod.call(value, this.context());
|
|
2493
|
+
const resultOrPromise = this.submitMethod.call(value, this.context(), this.initial());
|
|
2494
2494
|
if (isPromise(resultOrPromise)) {
|
|
2495
2495
|
resultOrPromise
|
|
2496
2496
|
.then((result) => {
|
|
@@ -242,12 +242,12 @@
|
|
|
242
242
|
MethodWithParameters,
|
|
243
243
|
} from '@rxap/pattern';
|
|
244
244
|
|
|
245
|
-
export interface FormSubmitMethod<
|
|
246
|
-
call(parameters:
|
|
245
|
+
export interface FormSubmitMethod<FormSate = any, Context = any, Initial = any> extends MethodWithParameters<any, FormSate> {
|
|
246
|
+
call(parameters: FormSate, context?: Context | null, initial?: Initial | null): any | Promise<any>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export interface FormLoadMethod<
|
|
250
|
-
call(data: { context:
|
|
249
|
+
export interface FormLoadMethod<FormState = any, Context = any, Initial = any> extends Method<FormState> {
|
|
250
|
+
call(data: { context: Context | null, initial: Initial | null }): FormState | Promise<FormState>;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
export interface FormLoadFailedMethod extends MethodWithParameters {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
</table>
|
|
222
222
|
</div>
|
|
223
223
|
<div class="io-description">
|
|
224
|
-
<b>Returns : </b> <code>
|
|
224
|
+
<b>Returns : </b> <code>FormState | Promise</code>
|
|
225
225
|
|
|
226
226
|
</div>
|
|
227
227
|
<div class="io-description">
|
|
@@ -242,12 +242,12 @@
|
|
|
242
242
|
MethodWithParameters,
|
|
243
243
|
} from '@rxap/pattern';
|
|
244
244
|
|
|
245
|
-
export interface FormSubmitMethod<
|
|
246
|
-
call(parameters:
|
|
245
|
+
export interface FormSubmitMethod<FormSate = any, Context = any, Initial = any> extends MethodWithParameters<any, FormSate> {
|
|
246
|
+
call(parameters: FormSate, context?: Context | null, initial?: Initial | null): any | Promise<any>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export interface FormLoadMethod<
|
|
250
|
-
call(data: { context:
|
|
249
|
+
export interface FormLoadMethod<FormState = any, Context = any, Initial = any> extends Method<FormState> {
|
|
250
|
+
call(data: { context: Context | null, initial: Initial | null }): FormState | Promise<FormState>;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
export interface FormLoadFailedMethod extends MethodWithParameters {
|
|
@@ -242,12 +242,12 @@
|
|
|
242
242
|
MethodWithParameters,
|
|
243
243
|
} from '@rxap/pattern';
|
|
244
244
|
|
|
245
|
-
export interface FormSubmitMethod<
|
|
246
|
-
call(parameters:
|
|
245
|
+
export interface FormSubmitMethod<FormSate = any, Context = any, Initial = any> extends MethodWithParameters<any, FormSate> {
|
|
246
|
+
call(parameters: FormSate, context?: Context | null, initial?: Initial | null): any | Promise<any>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export interface FormLoadMethod<
|
|
250
|
-
call(data: { context:
|
|
249
|
+
export interface FormLoadMethod<FormState = any, Context = any, Initial = any> extends Method<FormState> {
|
|
250
|
+
call(data: { context: Context | null, initial: Initial | null }): FormState | Promise<FormState>;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
export interface FormLoadFailedMethod extends MethodWithParameters {
|
|
@@ -242,12 +242,12 @@
|
|
|
242
242
|
MethodWithParameters,
|
|
243
243
|
} from '@rxap/pattern';
|
|
244
244
|
|
|
245
|
-
export interface FormSubmitMethod<
|
|
246
|
-
call(parameters:
|
|
245
|
+
export interface FormSubmitMethod<FormSate = any, Context = any, Initial = any> extends MethodWithParameters<any, FormSate> {
|
|
246
|
+
call(parameters: FormSate, context?: Context | null, initial?: Initial | null): any | Promise<any>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export interface FormLoadMethod<
|
|
250
|
-
call(data: { context:
|
|
249
|
+
export interface FormLoadMethod<FormState = any, Context = any, Initial = any> extends Method<FormState> {
|
|
250
|
+
call(data: { context: Context | null, initial: Initial | null }): FormState | Promise<FormState>;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
export interface FormLoadFailedMethod extends MethodWithParameters {
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
</tr>
|
|
178
178
|
<tr>
|
|
179
179
|
<td class="col-md-4">
|
|
180
|
-
<code>call(parameters:
|
|
180
|
+
<code>call(parameters: FormSate, context?: Context | null, initial?: Initial | null)</code>
|
|
181
181
|
</td>
|
|
182
182
|
</tr>
|
|
183
183
|
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
<tr>
|
|
209
209
|
<td>parameters</td>
|
|
210
210
|
<td>
|
|
211
|
-
<code>
|
|
211
|
+
<code>FormSate</code>
|
|
212
212
|
</td>
|
|
213
213
|
|
|
214
214
|
<td>
|
|
@@ -220,6 +220,19 @@
|
|
|
220
220
|
<tr>
|
|
221
221
|
<td>context</td>
|
|
222
222
|
<td>
|
|
223
|
+
<code>Context | null</code>
|
|
224
|
+
</td>
|
|
225
|
+
|
|
226
|
+
<td>
|
|
227
|
+
Yes
|
|
228
|
+
</td>
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
</tr>
|
|
232
|
+
<tr>
|
|
233
|
+
<td>initial</td>
|
|
234
|
+
<td>
|
|
235
|
+
<code>Initial | null</code>
|
|
223
236
|
</td>
|
|
224
237
|
|
|
225
238
|
<td>
|
|
@@ -253,12 +266,12 @@
|
|
|
253
266
|
MethodWithParameters,
|
|
254
267
|
} from '@rxap/pattern';
|
|
255
268
|
|
|
256
|
-
export interface FormSubmitMethod<
|
|
257
|
-
call(parameters:
|
|
269
|
+
export interface FormSubmitMethod<FormSate = any, Context = any, Initial = any> extends MethodWithParameters<any, FormSate> {
|
|
270
|
+
call(parameters: FormSate, context?: Context | null, initial?: Initial | null): any | Promise<any>;
|
|
258
271
|
}
|
|
259
272
|
|
|
260
|
-
export interface FormLoadMethod<
|
|
261
|
-
call(data: { context:
|
|
273
|
+
export interface FormLoadMethod<FormState = any, Context = any, Initial = any> extends Method<FormState> {
|
|
274
|
+
call(data: { context: Context | null, initial: Initial | null }): FormState | Promise<FormState>;
|
|
262
275
|
}
|
|
263
276
|
|
|
264
277
|
export interface FormLoadFailedMethod extends MethodWithParameters {
|
|
@@ -242,12 +242,12 @@
|
|
|
242
242
|
MethodWithParameters,
|
|
243
243
|
} from '@rxap/pattern';
|
|
244
244
|
|
|
245
|
-
export interface FormSubmitMethod<
|
|
246
|
-
call(parameters:
|
|
245
|
+
export interface FormSubmitMethod<FormSate = any, Context = any, Initial = any> extends MethodWithParameters<any, FormSate> {
|
|
246
|
+
call(parameters: FormSate, context?: Context | null, initial?: Initial | null): any | Promise<any>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export interface FormLoadMethod<
|
|
250
|
-
call(data: { context:
|
|
249
|
+
export interface FormLoadMethod<FormState = any, Context = any, Initial = any> extends Method<FormState> {
|
|
250
|
+
call(data: { context: Context | null, initial: Initial | null }): FormState | Promise<FormState>;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
export interface FormLoadFailedMethod extends MethodWithParameters {
|