@rxap/forms 19.1.0 → 19.2.0-dev.1
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 +46 -0
- package/compodoc/changelog.html +44 -0
- package/compodoc/classes/RxapFormControl.html +144 -109
- package/compodoc/dependencies.html +8 -8
- package/compodoc/directives/FormDirective.html +3 -3
- package/compodoc/interfaces/AbstractControl.html +2 -1
- package/compodoc/interfaces/AbstractControlOptions.html +2 -1
- package/compodoc/interfaces/BoxedValue.html +2 -1
- package/compodoc/interfaces/ControlOptions.html +47 -1
- package/compodoc/interfaces/NgValidatorsErrors.html +2 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/typealiases.html +1 -1
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +4890 -4805
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ControlValueAccessor.html +5 -5
- package/docs/html/classes/FormArrayControlManager.html +2 -2
- package/docs/html/classes/FormControlErrorDirective.html +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 +17 -17
- 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 +33 -32
- 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 +4 -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 +71 -57
- 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 +17 -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 +3 -3
- 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 +70 -56
- 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 +16 -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 +2 -2
- 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 +16 -5
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/lib/form-control.d.ts +2 -1
- package/lib/types.d.ts +2 -1
- package/package.json +17 -18
|
@@ -145,6 +145,10 @@
|
|
|
145
145
|
<tr>
|
|
146
146
|
<td class="col-md-4">
|
|
147
147
|
<ul class="index-list">
|
|
148
|
+
<li>
|
|
149
|
+
<span class="modifier">Protected</span>
|
|
150
|
+
<a href="#_initialState" >_initialState</a>
|
|
151
|
+
</li>
|
|
148
152
|
<li>
|
|
149
153
|
<span class="modifier">Readonly</span>
|
|
150
154
|
<a href="#controlId" >controlId</a>
|
|
@@ -170,10 +174,6 @@
|
|
|
170
174
|
<span class="modifier">Readonly</span>
|
|
171
175
|
<a href="#errors$" >errors$</a>
|
|
172
176
|
</li>
|
|
173
|
-
<li>
|
|
174
|
-
<span class="modifier">Readonly</span>
|
|
175
|
-
<a href="#initialState" >initialState</a>
|
|
176
|
-
</li>
|
|
177
177
|
<li>
|
|
178
178
|
<span class="modifier">Readonly</span>
|
|
179
179
|
<a href="#readonly$" >readonly$</a>
|
|
@@ -370,6 +370,9 @@
|
|
|
370
370
|
<tr>
|
|
371
371
|
<td class="col-md-4">
|
|
372
372
|
<ul class="index-list">
|
|
373
|
+
<li>
|
|
374
|
+
<a href="#initialState" >initialState</a>
|
|
375
|
+
</li>
|
|
373
376
|
<li>
|
|
374
377
|
<a href="#readonly" >readonly</a>
|
|
375
378
|
</li>
|
|
@@ -397,7 +400,7 @@
|
|
|
397
400
|
</tr>
|
|
398
401
|
<tr>
|
|
399
402
|
<td class="col-md-4">
|
|
400
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
403
|
+
<div class="io-line">Defined in <a href="" data-line="127" class="link-to-prism">src/lib/form-control.ts:127</a></div>
|
|
401
404
|
</td>
|
|
402
405
|
</tr>
|
|
403
406
|
|
|
@@ -451,6 +454,33 @@
|
|
|
451
454
|
<h3 id="inputs">
|
|
452
455
|
Properties
|
|
453
456
|
</h3>
|
|
457
|
+
<table class="table table-sm table-bordered">
|
|
458
|
+
<tbody>
|
|
459
|
+
<tr>
|
|
460
|
+
<td class="col-md-4">
|
|
461
|
+
<a name="_initialState"></a>
|
|
462
|
+
<span class="name">
|
|
463
|
+
<span class="modifier">Protected</span>
|
|
464
|
+
<span ><b>_initialState</b></span>
|
|
465
|
+
<a href="#_initialState"><span class="icon ion-ios-link"></span></a>
|
|
466
|
+
</span>
|
|
467
|
+
</td>
|
|
468
|
+
</tr>
|
|
469
|
+
<tr>
|
|
470
|
+
<td class="col-md-4">
|
|
471
|
+
<i>Type : </i> <code><a href="../interfaces/BoxedValue.html" target="_self" >OrBoxedValue<T></a></code>
|
|
472
|
+
|
|
473
|
+
</td>
|
|
474
|
+
</tr>
|
|
475
|
+
<tr>
|
|
476
|
+
<td class="col-md-4">
|
|
477
|
+
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/form-control.ts:69</a></div>
|
|
478
|
+
</td>
|
|
479
|
+
</tr>
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
</tbody>
|
|
483
|
+
</table>
|
|
454
484
|
<table class="table table-sm table-bordered">
|
|
455
485
|
<tbody>
|
|
456
486
|
<tr>
|
|
@@ -471,7 +501,7 @@
|
|
|
471
501
|
</tr>
|
|
472
502
|
<tr>
|
|
473
503
|
<td class="col-md-4">
|
|
474
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
504
|
+
<div class="io-line">Defined in <a href="" data-line="98" class="link-to-prism">src/lib/form-control.ts:98</a></div>
|
|
475
505
|
</td>
|
|
476
506
|
</tr>
|
|
477
507
|
|
|
@@ -499,7 +529,7 @@
|
|
|
499
529
|
</tr>
|
|
500
530
|
<tr>
|
|
501
531
|
<td class="col-md-4">
|
|
502
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
532
|
+
<div class="io-line">Defined in <a href="" data-line="78" class="link-to-prism">src/lib/form-control.ts:78</a></div>
|
|
503
533
|
</td>
|
|
504
534
|
</tr>
|
|
505
535
|
|
|
@@ -525,7 +555,7 @@
|
|
|
525
555
|
</tr>
|
|
526
556
|
<tr>
|
|
527
557
|
<td class="col-md-4">
|
|
528
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
558
|
+
<div class="io-line">Defined in <a href="" data-line="83" class="link-to-prism">src/lib/form-control.ts:83</a></div>
|
|
529
559
|
</td>
|
|
530
560
|
</tr>
|
|
531
561
|
|
|
@@ -551,7 +581,7 @@
|
|
|
551
581
|
</tr>
|
|
552
582
|
<tr>
|
|
553
583
|
<td class="col-md-4">
|
|
554
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
584
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/form-control.ts:84</a></div>
|
|
555
585
|
</td>
|
|
556
586
|
</tr>
|
|
557
587
|
|
|
@@ -605,34 +635,7 @@
|
|
|
605
635
|
</tr>
|
|
606
636
|
<tr>
|
|
607
637
|
<td class="col-md-4">
|
|
608
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
609
|
-
</td>
|
|
610
|
-
</tr>
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
</tbody>
|
|
614
|
-
</table>
|
|
615
|
-
<table class="table table-sm table-bordered">
|
|
616
|
-
<tbody>
|
|
617
|
-
<tr>
|
|
618
|
-
<td class="col-md-4">
|
|
619
|
-
<a name="initialState"></a>
|
|
620
|
-
<span class="name">
|
|
621
|
-
<span class="modifier">Readonly</span>
|
|
622
|
-
<span ><b>initialState</b></span>
|
|
623
|
-
<a href="#initialState"><span class="icon ion-ios-link"></span></a>
|
|
624
|
-
</span>
|
|
625
|
-
</td>
|
|
626
|
-
</tr>
|
|
627
|
-
<tr>
|
|
628
|
-
<td class="col-md-4">
|
|
629
|
-
<i>Type : </i> <code><a href="../interfaces/BoxedValue.html" target="_self" >OrBoxedValue<T></a></code>
|
|
630
|
-
|
|
631
|
-
</td>
|
|
632
|
-
</tr>
|
|
633
|
-
<tr>
|
|
634
|
-
<td class="col-md-4">
|
|
635
|
-
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/form-control.ts:66</a></div>
|
|
638
|
+
<div class="io-line">Defined in <a href="" data-line="96" class="link-to-prism">src/lib/form-control.ts:96</a></div>
|
|
636
639
|
</td>
|
|
637
640
|
</tr>
|
|
638
641
|
|
|
@@ -658,7 +661,7 @@
|
|
|
658
661
|
</tr>
|
|
659
662
|
<tr>
|
|
660
663
|
<td class="col-md-4">
|
|
661
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
664
|
+
<div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">src/lib/form-control.ts:103</a></div>
|
|
662
665
|
</td>
|
|
663
666
|
</tr>
|
|
664
667
|
|
|
@@ -684,7 +687,7 @@
|
|
|
684
687
|
</tr>
|
|
685
688
|
<tr>
|
|
686
689
|
<td class="col-md-4">
|
|
687
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
690
|
+
<div class="io-line">Defined in <a href="" data-line="102" class="link-to-prism">src/lib/form-control.ts:102</a></div>
|
|
688
691
|
</td>
|
|
689
692
|
</tr>
|
|
690
693
|
|
|
@@ -738,7 +741,7 @@
|
|
|
738
741
|
</tr>
|
|
739
742
|
<tr>
|
|
740
743
|
<td class="col-md-4">
|
|
741
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
744
|
+
<div class="io-line">Defined in <a href="" data-line="95" class="link-to-prism">src/lib/form-control.ts:95</a></div>
|
|
742
745
|
</td>
|
|
743
746
|
</tr>
|
|
744
747
|
|
|
@@ -794,7 +797,7 @@
|
|
|
794
797
|
</tr>
|
|
795
798
|
<tr>
|
|
796
799
|
<td class="col-md-4">
|
|
797
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
800
|
+
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/lib/form-control.ts:75</a></div>
|
|
798
801
|
</td>
|
|
799
802
|
</tr>
|
|
800
803
|
|
|
@@ -854,7 +857,7 @@
|
|
|
854
857
|
</tr>
|
|
855
858
|
<tr>
|
|
856
859
|
<td class="col-md-4">
|
|
857
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
860
|
+
<div class="io-line">Defined in <a href="" data-line="82" class="link-to-prism">src/lib/form-control.ts:82</a></div>
|
|
858
861
|
</td>
|
|
859
862
|
</tr>
|
|
860
863
|
|
|
@@ -918,8 +921,8 @@
|
|
|
918
921
|
|
|
919
922
|
<tr>
|
|
920
923
|
<td class="col-md-4">
|
|
921
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
922
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
924
|
+
<div class="io-line">Defined in <a href="" data-line="191"
|
|
925
|
+
class="link-to-prism">src/lib/form-control.ts:191</a></div>
|
|
923
926
|
</td>
|
|
924
927
|
</tr>
|
|
925
928
|
|
|
@@ -999,8 +1002,8 @@
|
|
|
999
1002
|
|
|
1000
1003
|
<tr>
|
|
1001
1004
|
<td class="col-md-4">
|
|
1002
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1003
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1005
|
+
<div class="io-line">Defined in <a href="" data-line="198"
|
|
1006
|
+
class="link-to-prism">src/lib/form-control.ts:198</a></div>
|
|
1004
1007
|
</td>
|
|
1005
1008
|
</tr>
|
|
1006
1009
|
|
|
@@ -1081,8 +1084,8 @@
|
|
|
1081
1084
|
|
|
1082
1085
|
<tr>
|
|
1083
1086
|
<td class="col-md-4">
|
|
1084
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1085
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1087
|
+
<div class="io-line">Defined in <a href="" data-line="279"
|
|
1088
|
+
class="link-to-prism">src/lib/form-control.ts:279</a></div>
|
|
1086
1089
|
</td>
|
|
1087
1090
|
</tr>
|
|
1088
1091
|
|
|
@@ -1159,8 +1162,8 @@
|
|
|
1159
1162
|
|
|
1160
1163
|
<tr>
|
|
1161
1164
|
<td class="col-md-4">
|
|
1162
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1163
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1165
|
+
<div class="io-line">Defined in <a href="" data-line="283"
|
|
1166
|
+
class="link-to-prism">src/lib/form-control.ts:283</a></div>
|
|
1164
1167
|
</td>
|
|
1165
1168
|
</tr>
|
|
1166
1169
|
|
|
@@ -1236,8 +1239,8 @@
|
|
|
1236
1239
|
|
|
1237
1240
|
<tr>
|
|
1238
1241
|
<td class="col-md-4">
|
|
1239
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1240
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1242
|
+
<div class="io-line">Defined in <a href="" data-line="299"
|
|
1243
|
+
class="link-to-prism">src/lib/form-control.ts:299</a></div>
|
|
1241
1244
|
</td>
|
|
1242
1245
|
</tr>
|
|
1243
1246
|
|
|
@@ -1305,8 +1308,8 @@
|
|
|
1305
1308
|
|
|
1306
1309
|
<tr>
|
|
1307
1310
|
<td class="col-md-4">
|
|
1308
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1309
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1311
|
+
<div class="io-line">Defined in <a href="" data-line="295"
|
|
1312
|
+
class="link-to-prism">src/lib/form-control.ts:295</a></div>
|
|
1310
1313
|
</td>
|
|
1311
1314
|
</tr>
|
|
1312
1315
|
|
|
@@ -1374,8 +1377,8 @@
|
|
|
1374
1377
|
|
|
1375
1378
|
<tr>
|
|
1376
1379
|
<td class="col-md-4">
|
|
1377
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1378
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1380
|
+
<div class="io-line">Defined in <a href="" data-line="238"
|
|
1381
|
+
class="link-to-prism">src/lib/form-control.ts:238</a></div>
|
|
1379
1382
|
</td>
|
|
1380
1383
|
</tr>
|
|
1381
1384
|
|
|
@@ -1414,8 +1417,8 @@
|
|
|
1414
1417
|
|
|
1415
1418
|
<tr>
|
|
1416
1419
|
<td class="col-md-4">
|
|
1417
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1418
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1420
|
+
<div class="io-line">Defined in <a href="" data-line="233"
|
|
1421
|
+
class="link-to-prism">src/lib/form-control.ts:233</a></div>
|
|
1419
1422
|
</td>
|
|
1420
1423
|
</tr>
|
|
1421
1424
|
|
|
@@ -1484,8 +1487,8 @@
|
|
|
1484
1487
|
|
|
1485
1488
|
<tr>
|
|
1486
1489
|
<td class="col-md-4">
|
|
1487
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1488
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1490
|
+
<div class="io-line">Defined in <a href="" data-line="228"
|
|
1491
|
+
class="link-to-prism">src/lib/form-control.ts:228</a></div>
|
|
1489
1492
|
</td>
|
|
1490
1493
|
</tr>
|
|
1491
1494
|
|
|
@@ -1554,8 +1557,8 @@
|
|
|
1554
1557
|
|
|
1555
1558
|
<tr>
|
|
1556
1559
|
<td class="col-md-4">
|
|
1557
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1558
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1560
|
+
<div class="io-line">Defined in <a href="" data-line="218"
|
|
1561
|
+
class="link-to-prism">src/lib/form-control.ts:218</a></div>
|
|
1559
1562
|
</td>
|
|
1560
1563
|
</tr>
|
|
1561
1564
|
|
|
@@ -1624,8 +1627,8 @@
|
|
|
1624
1627
|
|
|
1625
1628
|
<tr>
|
|
1626
1629
|
<td class="col-md-4">
|
|
1627
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1628
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1630
|
+
<div class="io-line">Defined in <a href="" data-line="223"
|
|
1631
|
+
class="link-to-prism">src/lib/form-control.ts:223</a></div>
|
|
1629
1632
|
</td>
|
|
1630
1633
|
</tr>
|
|
1631
1634
|
|
|
@@ -1693,8 +1696,8 @@
|
|
|
1693
1696
|
|
|
1694
1697
|
<tr>
|
|
1695
1698
|
<td class="col-md-4">
|
|
1696
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1697
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1699
|
+
<div class="io-line">Defined in <a href="" data-line="209"
|
|
1700
|
+
class="link-to-prism">src/lib/form-control.ts:209</a></div>
|
|
1698
1701
|
</td>
|
|
1699
1702
|
</tr>
|
|
1700
1703
|
|
|
@@ -1762,8 +1765,8 @@
|
|
|
1762
1765
|
|
|
1763
1766
|
<tr>
|
|
1764
1767
|
<td class="col-md-4">
|
|
1765
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1766
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1768
|
+
<div class="io-line">Defined in <a href="" data-line="205"
|
|
1769
|
+
class="link-to-prism">src/lib/form-control.ts:205</a></div>
|
|
1767
1770
|
</td>
|
|
1768
1771
|
</tr>
|
|
1769
1772
|
|
|
@@ -1832,8 +1835,8 @@
|
|
|
1832
1835
|
|
|
1833
1836
|
<tr>
|
|
1834
1837
|
<td class="col-md-4">
|
|
1835
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1836
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1838
|
+
<div class="io-line">Defined in <a href="" data-line="166"
|
|
1839
|
+
class="link-to-prism">src/lib/form-control.ts:166</a></div>
|
|
1837
1840
|
</td>
|
|
1838
1841
|
</tr>
|
|
1839
1842
|
|
|
@@ -1914,8 +1917,8 @@
|
|
|
1914
1917
|
|
|
1915
1918
|
<tr>
|
|
1916
1919
|
<td class="col-md-4">
|
|
1917
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1918
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
1920
|
+
<div class="io-line">Defined in <a href="" data-line="170"
|
|
1921
|
+
class="link-to-prism">src/lib/form-control.ts:170</a></div>
|
|
1919
1922
|
</td>
|
|
1920
1923
|
</tr>
|
|
1921
1924
|
|
|
@@ -1989,15 +1992,15 @@
|
|
|
1989
1992
|
<tr>
|
|
1990
1993
|
<td class="col-md-4">
|
|
1991
1994
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
1992
|
-
<code>patchValue(valueOrObservable:
|
|
1995
|
+
<code>patchValue(valueOrObservable: T | Observable<T>, options?: <a href="../interfaces/ControlOptions.html" target="_self">ControlOptions</a>)</code>
|
|
1993
1996
|
</td>
|
|
1994
1997
|
</tr>
|
|
1995
1998
|
|
|
1996
1999
|
|
|
1997
2000
|
<tr>
|
|
1998
2001
|
<td class="col-md-4">
|
|
1999
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2000
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2002
|
+
<div class="io-line">Defined in <a href="" data-line="171"
|
|
2003
|
+
class="link-to-prism">src/lib/form-control.ts:171</a></div>
|
|
2001
2004
|
</td>
|
|
2002
2005
|
</tr>
|
|
2003
2006
|
|
|
@@ -2020,7 +2023,7 @@
|
|
|
2020
2023
|
<tr>
|
|
2021
2024
|
<td>valueOrObservable</td>
|
|
2022
2025
|
<td>
|
|
2023
|
-
|
|
2026
|
+
<code>T | Observable<T></code>
|
|
2024
2027
|
</td>
|
|
2025
2028
|
|
|
2026
2029
|
<td>
|
|
@@ -2077,8 +2080,8 @@
|
|
|
2077
2080
|
|
|
2078
2081
|
<tr>
|
|
2079
2082
|
<td class="col-md-4">
|
|
2080
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2081
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2083
|
+
<div class="io-line">Defined in <a href="" data-line="311"
|
|
2084
|
+
class="link-to-prism">src/lib/form-control.ts:311</a></div>
|
|
2082
2085
|
</td>
|
|
2083
2086
|
</tr>
|
|
2084
2087
|
|
|
@@ -2147,8 +2150,8 @@
|
|
|
2147
2150
|
|
|
2148
2151
|
<tr>
|
|
2149
2152
|
<td class="col-md-4">
|
|
2150
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2151
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2153
|
+
<div class="io-line">Defined in <a href="" data-line="242"
|
|
2154
|
+
class="link-to-prism">src/lib/form-control.ts:242</a></div>
|
|
2152
2155
|
</td>
|
|
2153
2156
|
</tr>
|
|
2154
2157
|
|
|
@@ -2229,8 +2232,8 @@
|
|
|
2229
2232
|
|
|
2230
2233
|
<tr>
|
|
2231
2234
|
<td class="col-md-4">
|
|
2232
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2233
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2235
|
+
<div class="io-line">Defined in <a href="" data-line="265"
|
|
2236
|
+
class="link-to-prism">src/lib/form-control.ts:265</a></div>
|
|
2234
2237
|
</td>
|
|
2235
2238
|
</tr>
|
|
2236
2239
|
|
|
@@ -2315,8 +2318,8 @@
|
|
|
2315
2318
|
|
|
2316
2319
|
<tr>
|
|
2317
2320
|
<td class="col-md-4">
|
|
2318
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2319
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2321
|
+
<div class="io-line">Defined in <a href="" data-line="307"
|
|
2322
|
+
class="link-to-prism">src/lib/form-control.ts:307</a></div>
|
|
2320
2323
|
</td>
|
|
2321
2324
|
</tr>
|
|
2322
2325
|
|
|
@@ -2401,8 +2404,8 @@
|
|
|
2401
2404
|
|
|
2402
2405
|
<tr>
|
|
2403
2406
|
<td class="col-md-4">
|
|
2404
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2405
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2407
|
+
<div class="io-line">Defined in <a href="" data-line="303"
|
|
2408
|
+
class="link-to-prism">src/lib/form-control.ts:303</a></div>
|
|
2406
2409
|
</td>
|
|
2407
2410
|
</tr>
|
|
2408
2411
|
|
|
@@ -2487,8 +2490,8 @@
|
|
|
2487
2490
|
|
|
2488
2491
|
<tr>
|
|
2489
2492
|
<td class="col-md-4">
|
|
2490
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2491
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2493
|
+
<div class="io-line">Defined in <a href="" data-line="291"
|
|
2494
|
+
class="link-to-prism">src/lib/form-control.ts:291</a></div>
|
|
2492
2495
|
</td>
|
|
2493
2496
|
</tr>
|
|
2494
2497
|
|
|
@@ -2589,8 +2592,8 @@
|
|
|
2589
2592
|
|
|
2590
2593
|
<tr>
|
|
2591
2594
|
<td class="col-md-4">
|
|
2592
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2593
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2595
|
+
<div class="io-line">Defined in <a href="" data-line="287"
|
|
2596
|
+
class="link-to-prism">src/lib/form-control.ts:287</a></div>
|
|
2594
2597
|
</td>
|
|
2595
2598
|
</tr>
|
|
2596
2599
|
|
|
@@ -2677,8 +2680,8 @@
|
|
|
2677
2680
|
|
|
2678
2681
|
<tr>
|
|
2679
2682
|
<td class="col-md-4">
|
|
2680
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2681
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2683
|
+
<div class="io-line">Defined in <a href="" data-line="255"
|
|
2684
|
+
class="link-to-prism">src/lib/form-control.ts:255</a></div>
|
|
2682
2685
|
</td>
|
|
2683
2686
|
</tr>
|
|
2684
2687
|
|
|
@@ -2764,8 +2767,8 @@
|
|
|
2764
2767
|
|
|
2765
2768
|
<tr>
|
|
2766
2769
|
<td class="col-md-4">
|
|
2767
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2768
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2770
|
+
<div class="io-line">Defined in <a href="" data-line="144"
|
|
2771
|
+
class="link-to-prism">src/lib/form-control.ts:144</a></div>
|
|
2769
2772
|
</td>
|
|
2770
2773
|
</tr>
|
|
2771
2774
|
|
|
@@ -2846,8 +2849,8 @@
|
|
|
2846
2849
|
|
|
2847
2850
|
<tr>
|
|
2848
2851
|
<td class="col-md-4">
|
|
2849
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2850
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2852
|
+
<div class="io-line">Defined in <a href="" data-line="148"
|
|
2853
|
+
class="link-to-prism">src/lib/form-control.ts:148</a></div>
|
|
2851
2854
|
</td>
|
|
2852
2855
|
</tr>
|
|
2853
2856
|
|
|
@@ -2928,8 +2931,8 @@
|
|
|
2928
2931
|
|
|
2929
2932
|
<tr>
|
|
2930
2933
|
<td class="col-md-4">
|
|
2931
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
2932
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
2934
|
+
<div class="io-line">Defined in <a href="" data-line="149"
|
|
2935
|
+
class="link-to-prism">src/lib/form-control.ts:149</a></div>
|
|
2933
2936
|
</td>
|
|
2934
2937
|
</tr>
|
|
2935
2938
|
|
|
@@ -3009,8 +3012,8 @@
|
|
|
3009
3012
|
|
|
3010
3013
|
<tr>
|
|
3011
3014
|
<td class="col-md-4">
|
|
3012
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3013
|
-
class="link-to-prism">src/lib/form-control.ts:
|
|
3015
|
+
<div class="io-line">Defined in <a href="" data-line="275"
|
|
3016
|
+
class="link-to-prism">src/lib/form-control.ts:275</a></div>
|
|
3014
3017
|
</td>
|
|
3015
3018
|
</tr>
|
|
3016
3019
|
|
|
@@ -3066,6 +3069,28 @@
|
|
|
3066
3069
|
<h3 id="accessors">
|
|
3067
3070
|
Accessors
|
|
3068
3071
|
</h3>
|
|
3072
|
+
<table class="table table-sm table-bordered">
|
|
3073
|
+
<tbody>
|
|
3074
|
+
<tr>
|
|
3075
|
+
<td class="col-md-4">
|
|
3076
|
+
<a name="initialState"></a>
|
|
3077
|
+
<span class="name"><b>initialState</b><a href="#initialState"><span class="icon ion-ios-link"></span></a></span>
|
|
3078
|
+
</td>
|
|
3079
|
+
</tr>
|
|
3080
|
+
|
|
3081
|
+
<tr>
|
|
3082
|
+
<td class="col-md-4">
|
|
3083
|
+
<span class="accessor"><b>get</b><code>initialState()</code></span>
|
|
3084
|
+
</td>
|
|
3085
|
+
</tr>
|
|
3086
|
+
<tr>
|
|
3087
|
+
<td class="col-md-4">
|
|
3088
|
+
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/form-control.ts:66</a></div>
|
|
3089
|
+
</td>
|
|
3090
|
+
</tr>
|
|
3091
|
+
|
|
3092
|
+
</tbody>
|
|
3093
|
+
</table>
|
|
3069
3094
|
<table class="table table-sm table-bordered">
|
|
3070
3095
|
<tbody>
|
|
3071
3096
|
<tr>
|
|
@@ -3082,7 +3107,7 @@
|
|
|
3082
3107
|
</tr>
|
|
3083
3108
|
<tr>
|
|
3084
3109
|
<td class="col-md-4">
|
|
3085
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3110
|
+
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/form-control.ts:86</a></div>
|
|
3086
3111
|
</td>
|
|
3087
3112
|
</tr>
|
|
3088
3113
|
|
|
@@ -3093,7 +3118,7 @@
|
|
|
3093
3118
|
</tr>
|
|
3094
3119
|
<tr>
|
|
3095
3120
|
<td class="col-md-4">
|
|
3096
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3121
|
+
<div class="io-line">Defined in <a href="" data-line="90" class="link-to-prism">src/lib/form-control.ts:90</a></div>
|
|
3097
3122
|
</td>
|
|
3098
3123
|
</tr>
|
|
3099
3124
|
<tr>
|
|
@@ -3151,7 +3176,7 @@
|
|
|
3151
3176
|
</tr>
|
|
3152
3177
|
<tr>
|
|
3153
3178
|
<td class="col-md-4">
|
|
3154
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3179
|
+
<div class="io-line">Defined in <a href="" data-line="105" class="link-to-prism">src/lib/form-control.ts:105</a></div>
|
|
3155
3180
|
</td>
|
|
3156
3181
|
</tr>
|
|
3157
3182
|
|
|
@@ -3173,7 +3198,7 @@
|
|
|
3173
3198
|
</tr>
|
|
3174
3199
|
<tr>
|
|
3175
3200
|
<td class="col-md-4">
|
|
3176
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
3201
|
+
<div class="io-line">Defined in <a href="" data-line="119" class="link-to-prism">src/lib/form-control.ts:119</a></div>
|
|
3177
3202
|
</td>
|
|
3178
3203
|
</tr>
|
|
3179
3204
|
|
|
@@ -3249,7 +3274,10 @@ export class RxapFormControl<
|
|
|
3249
3274
|
// @ts-expect-error overwrite the public type
|
|
3250
3275
|
override readonly status!: ControlState;
|
|
3251
3276
|
override readonly statusChanges!: Observable<ControlState>;
|
|
3252
|
-
|
|
3277
|
+
get initialState(): OrBoxedValue<T> {
|
|
3278
|
+
return this._initialState;
|
|
3279
|
+
}
|
|
3280
|
+
protected _initialState!: OrBoxedValue<T>;
|
|
3253
3281
|
private _readonly = false;
|
|
3254
3282
|
|
|
3255
3283
|
private touchChanges = new Subject<boolean>();
|
|
@@ -3321,7 +3349,7 @@ export class RxapFormControl<
|
|
|
3321
3349
|
if (options.readonly) {
|
|
3322
3350
|
this.readonly = true;
|
|
3323
3351
|
}
|
|
3324
|
-
this.
|
|
3352
|
+
this._initialState = formState;
|
|
3325
3353
|
}
|
|
3326
3354
|
|
|
3327
3355
|
public override setValue(
|
|
@@ -3352,16 +3380,23 @@ export class RxapFormControl<
|
|
|
3352
3380
|
): Subscription;
|
|
3353
3381
|
public override patchValue(valueOrObservable: T, options?: ControlOptions): void;
|
|
3354
3382
|
public override patchValue(
|
|
3355
|
-
valueOrObservable:
|
|
3383
|
+
valueOrObservable: T | Observable<T>,
|
|
3356
3384
|
options?: ControlOptions,
|
|
3357
3385
|
): Subscription | void {
|
|
3358
3386
|
if (isObservable(valueOrObservable)) {
|
|
3359
|
-
return valueOrObservable.subscribe(
|
|
3360
|
-
|
|
3387
|
+
return valueOrObservable.subscribe(value => {
|
|
3388
|
+
super.patchValue(value, options);
|
|
3389
|
+
if (options?.setInitialValue) {
|
|
3390
|
+
this._initialState = value;
|
|
3391
|
+
}
|
|
3392
|
+
},
|
|
3361
3393
|
);
|
|
3362
3394
|
}
|
|
3363
3395
|
|
|
3364
3396
|
super.patchValue(valueOrObservable, options);
|
|
3397
|
+
if (options?.setInitialValue) {
|
|
3398
|
+
this._initialState = valueOrObservable;
|
|
3399
|
+
}
|
|
3365
3400
|
}
|
|
3366
3401
|
|
|
3367
3402
|
public disabledWhile(
|
|
@@ -119,21 +119,21 @@
|
|
|
119
119
|
<li>
|
|
120
120
|
<b>@angular/router</b> : ^19.2.1</li>
|
|
121
121
|
<li>
|
|
122
|
-
<b>@rxap/definition</b> : ^19.0.
|
|
122
|
+
<b>@rxap/definition</b> : ^19.0.5-dev.0</li>
|
|
123
123
|
<li>
|
|
124
|
-
<b>@rxap/directives</b> : ^19.
|
|
124
|
+
<b>@rxap/directives</b> : ^19.2.0-dev.0</li>
|
|
125
125
|
<li>
|
|
126
|
-
<b>@rxap/pattern</b> : ^1.1.
|
|
126
|
+
<b>@rxap/pattern</b> : ^1.1.15-dev.0</li>
|
|
127
127
|
<li>
|
|
128
|
-
<b>@rxap/reflect-metadata</b> : ^1.0.
|
|
128
|
+
<b>@rxap/reflect-metadata</b> : ^1.0.17-dev.1</li>
|
|
129
129
|
<li>
|
|
130
|
-
<b>@rxap/rxjs</b> : ^1.1.
|
|
130
|
+
<b>@rxap/rxjs</b> : ^1.1.17-dev.0</li>
|
|
131
131
|
<li>
|
|
132
|
-
<b>@rxap/services</b> : ^19.0.
|
|
132
|
+
<b>@rxap/services</b> : ^19.1.0-dev.0</li>
|
|
133
133
|
<li>
|
|
134
|
-
<b>@rxap/utilities</b> : ^16.5.
|
|
134
|
+
<b>@rxap/utilities</b> : ^16.5.1-dev.1</li>
|
|
135
135
|
<li>
|
|
136
|
-
<b>@rxap/validator</b> : ^3.0.
|
|
136
|
+
<b>@rxap/validator</b> : ^3.0.14-dev.0</li>
|
|
137
137
|
<li>
|
|
138
138
|
<b>rxjs</b> : ^7.8.1</li>
|
|
139
139
|
</ul>
|