@rxap/forms 19.0.4-dev.0 → 19.0.4-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 +4 -0
- package/compodoc/changelog.html +2 -0
- package/compodoc/dependencies.html +8 -8
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +0 -178
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1045 -1700
- package/docs/html/assets/navigation.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 +15 -15
- package/docs/html/classes/FormGroupNameDirective.html +6 -6
- package/docs/html/classes/FormLoadedDirective.html +4 -4
- package/docs/html/classes/FormLoadingDirective.html +4 -4
- package/docs/html/classes/FormLoadingErrorDirective.html +4 -4
- package/docs/html/classes/FormResetDirective.html +2 -2
- package/docs/html/classes/FormSubmitDirective.html +3 -3
- package/docs/html/classes/FormSubmitFailedDirective.html +4 -4
- package/docs/html/classes/FormSubmitInvalidDirective.html +4 -4
- package/docs/html/classes/FormSubmitSuccessfulDirective.html +4 -4
- package/docs/html/classes/FormSubmittingDirective.html +4 -4
- package/docs/html/classes/ParentControlContainerDirective.html +2 -2
- package/docs/html/classes/RxapFormArray.html +34 -34
- package/docs/html/classes/RxapFormBuilder.html +2 -2
- package/docs/html/classes/RxapFormControl.html +30 -30
- package/docs/html/classes/RxapFormGroup.html +35 -35
- package/docs/html/classes/RxapFormsModule.html +2 -2
- package/docs/html/enums/MetadataKeys.html +2 -2
- package/docs/html/functions/ControlAsyncValidator.html +1 -1
- package/docs/html/functions/ControlChange.html +1 -1
- package/docs/html/functions/ControlSetValue.html +1 -1
- package/docs/html/functions/ControlValidator.html +1 -1
- package/docs/html/functions/IsArray.html +1 -1
- package/docs/html/functions/IsBoolean.html +1 -1
- package/docs/html/functions/IsComplex.html +1 -1
- package/docs/html/functions/IsDate.html +1 -1
- package/docs/html/functions/IsEmail.html +1 -1
- package/docs/html/functions/IsEnum.html +1 -1
- package/docs/html/functions/IsIP.html +1 -1
- package/docs/html/functions/IsInt.html +1 -1
- package/docs/html/functions/IsNumber-1.html +2 -2
- package/docs/html/functions/IsObject.html +1 -1
- package/docs/html/functions/IsPhoneNumber.html +1 -1
- package/docs/html/functions/IsPort.html +1 -1
- package/docs/html/functions/IsString.html +1 -1
- package/docs/html/functions/IsUUID.html +1 -1
- package/docs/html/functions/IsUrl.html +1 -1
- package/docs/html/functions/RxapForm.html +1 -1
- package/docs/html/functions/ToFormMethod.html +1 -1
- package/docs/html/functions/ToFormSubmitMethod.html +2 -2
- package/docs/html/functions/UseFormArrayControl.html +1 -1
- package/docs/html/functions/UseFormArrayGroup.html +1 -1
- package/docs/html/functions/UseFormControl.html +1 -1
- package/docs/html/functions/UseFormGroup.html +1 -1
- package/docs/html/functions/_IsNumber.html +1 -1
- package/docs/html/functions/controlDisabledWhile.html +1 -1
- package/docs/html/functions/controlDisabled_.html +1 -1
- package/docs/html/functions/controlEnabledWhile.html +1 -1
- package/docs/html/functions/controlEnabled_.html +1 -1
- package/docs/html/functions/controlErrorChanges_.html +1 -1
- package/docs/html/functions/controlReadonly_.html +1 -1
- package/docs/html/functions/controlStatusChanges_.html +1 -1
- package/docs/html/functions/controlValueChanges_.html +1 -1
- package/docs/html/functions/disableControl.html +1 -1
- package/docs/html/functions/enableControl.html +1 -1
- package/docs/html/functions/hasErrorAndDirty.html +1 -1
- package/docs/html/functions/hasErrorAndTouched.html +1 -1
- package/docs/html/functions/isNumber.html +2 -2
- package/docs/html/functions/markAllDirty.html +1 -1
- package/docs/html/functions/markAllPristine.html +1 -1
- package/docs/html/functions/markAllUntouched.html +1 -1
- package/docs/html/functions/mergeControlValidators.html +1 -1
- package/docs/html/functions/selectControlValue_.html +1 -1
- package/docs/html/functions/validateControlOn.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AbstractControl.html +5 -5
- package/docs/html/interfaces/AbstractControlOptions.html +3 -3
- package/docs/html/interfaces/BoxedValue.html +2 -2
- package/docs/html/interfaces/ComplexityOptions.html +2 -2
- package/docs/html/interfaces/ControlOptions.html +3 -3
- package/docs/html/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/html/interfaces/FormArrayOptions.html +3 -3
- package/docs/html/interfaces/FormDefinition.html +6 -6
- package/docs/html/interfaces/FormDefinitionArray.html +3 -3
- package/docs/html/interfaces/FormDefinitionMetadata.html +3 -3
- package/docs/html/interfaces/FormGroupOptions.html +3 -3
- package/docs/html/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/html/interfaces/FormLoadMethod.html +2 -2
- package/docs/html/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/FormOptions.html +3 -3
- package/docs/html/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitMethod.html +2 -2
- package/docs/html/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/html/interfaces/InjectableValidator.html +2 -2
- package/docs/html/interfaces/IsNumberOptions.html +3 -3
- package/docs/html/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/html/interfaces/RxapAbstractControlOptionsWithDefinition.html +3 -3
- package/docs/html/interfaces/_RxapAbstractControlOptions.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AsyncValidator.html +1 -1
- package/docs/html/types/AsyncValidatorFn.html +1 -1
- package/docs/html/types/ChangeFn.html +1 -1
- package/docs/html/types/ControlEventOptions.html +1 -1
- package/docs/html/types/ControlInsertedFn.html +1 -1
- package/docs/html/types/ControlPath.html +1 -1
- package/docs/html/types/ControlRemovedFn.html +1 -1
- package/docs/html/types/ControlState.html +1 -1
- package/docs/html/types/EmitEvent.html +1 -1
- package/docs/html/types/ExtractAbstractControl.html +1 -1
- package/docs/html/types/ExtractStrings.html +1 -1
- package/docs/html/types/FormBuilderFn.html +1 -1
- package/docs/html/types/FormType.html +1 -1
- package/docs/html/types/KeyValueControls.html +1 -1
- package/docs/html/types/OnlySelf.html +1 -1
- package/docs/html/types/OrBoxedValue.html +1 -1
- package/docs/html/types/RxapAbstractControlOptions.html +1 -1
- package/docs/html/types/SetValueFn.html +1 -1
- package/docs/html/types/ValidationErrors.html +1 -1
- package/docs/html/types/Validator.html +1 -1
- package/docs/html/types/ValidatorFn.html +1 -1
- package/docs/html/types/ValidatorOrOpts.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/html/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/html/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/html/variables/RxapValidators.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ControlValueAccessor.md +8 -8
- package/docs/markdown/classes/FormArrayControlManager.md +5 -5
- package/docs/markdown/classes/FormControlErrorDirective.md +7 -7
- package/docs/markdown/classes/FormControlMarkDirtyDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkPristineDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkTouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlMarkUntouchedDirective.md +4 -4
- package/docs/markdown/classes/FormControlNameDirective.md +5 -5
- package/docs/markdown/classes/FormDirective.md +42 -42
- package/docs/markdown/classes/FormGroupNameDirective.md +5 -5
- package/docs/markdown/classes/FormLoadedDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingDirective.md +5 -5
- package/docs/markdown/classes/FormLoadingErrorDirective.md +5 -5
- package/docs/markdown/classes/FormResetDirective.md +8 -8
- package/docs/markdown/classes/FormSubmitDirective.md +12 -12
- 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 -4
- package/docs/markdown/interfaces/AbstractControl.md +8 -8
- package/docs/markdown/interfaces/AbstractControlOptions.md +4 -4
- package/docs/markdown/interfaces/BoxedValue.md +4 -4
- package/docs/markdown/interfaces/ComplexityOptions.md +12 -12
- package/docs/markdown/interfaces/ControlOptions.md +9 -9
- package/docs/markdown/interfaces/ControlSetValueOptions.md +4 -4
- package/docs/markdown/interfaces/FormArrayOptions.md +11 -11
- package/docs/markdown/interfaces/FormDefinition.md +7 -7
- package/docs/markdown/interfaces/FormDefinitionArray.md +3 -3
- package/docs/markdown/interfaces/FormDefinitionMetadata.md +10 -10
- package/docs/markdown/interfaces/FormGroupOptions.md +8 -8
- package/docs/markdown/interfaces/FormLoadFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadMethod.md +4 -4
- package/docs/markdown/interfaces/FormLoadSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/FormOptions.md +8 -8
- package/docs/markdown/interfaces/FormSubmitFailedMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitMethod.md +4 -4
- package/docs/markdown/interfaces/FormSubmitSuccessfulMethod.md +4 -4
- package/docs/markdown/interfaces/InjectableValidator.md +4 -4
- package/docs/markdown/interfaces/IsNumberOptions.md +6 -6
- package/docs/markdown/interfaces/NgValidatorsErrors.md +9 -9
- package/docs/markdown/interfaces/RxapAbstractControlOptions.md +7 -7
- package/docs/markdown/interfaces/RxapAbstractControlOptionsWithDefinition.md +8 -8
- package/docs/markdown/type-aliases/AsyncValidator.md +2 -2
- package/docs/markdown/type-aliases/AsyncValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ChangeFn.md +2 -2
- package/docs/markdown/type-aliases/ControlEventOptions.md +2 -2
- package/docs/markdown/type-aliases/ControlInsertedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlPath.md +2 -2
- package/docs/markdown/type-aliases/ControlRemovedFn.md +2 -2
- package/docs/markdown/type-aliases/ControlState.md +2 -2
- package/docs/markdown/type-aliases/EmitEvent.md +2 -2
- package/docs/markdown/type-aliases/ExtractAbstractControl.md +2 -2
- package/docs/markdown/type-aliases/ExtractStrings.md +2 -2
- package/docs/markdown/type-aliases/FormBuilderFn.md +2 -2
- package/docs/markdown/type-aliases/FormType.md +2 -2
- package/docs/markdown/type-aliases/KeyValueControls.md +2 -2
- package/docs/markdown/type-aliases/OnlySelf.md +2 -2
- package/docs/markdown/type-aliases/OrBoxedValue.md +2 -2
- package/docs/markdown/type-aliases/RxapAbstractControlOptions.md +2 -2
- package/docs/markdown/type-aliases/SetValueFn.md +2 -2
- package/docs/markdown/type-aliases/ValidationErrors.md +2 -2
- package/docs/markdown/type-aliases/Validator.md +2 -2
- package/docs/markdown/type-aliases/ValidatorFn.md +2 -2
- package/docs/markdown/type-aliases/ValidatorOrOpts.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_DEFINITION_BUILDER.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_INITIAL_STATE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +2 -2
- package/docs/markdown/variables/RxapValidators.md +2 -2
- package/docs/wiki/Class.ControlValueAccessor.md +7 -7
- package/docs/wiki/Class.FormArrayControlManager.md +4 -4
- package/docs/wiki/Class.FormControlErrorDirective.md +6 -6
- package/docs/wiki/Class.FormControlMarkDirtyDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkPristineDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkTouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlMarkUntouchedDirective.md +3 -3
- package/docs/wiki/Class.FormControlNameDirective.md +4 -4
- package/docs/wiki/Class.FormDirective.md +41 -41
- package/docs/wiki/Class.FormGroupNameDirective.md +4 -4
- package/docs/wiki/Class.FormLoadedDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingDirective.md +4 -4
- package/docs/wiki/Class.FormLoadingErrorDirective.md +4 -4
- package/docs/wiki/Class.FormResetDirective.md +7 -7
- package/docs/wiki/Class.FormSubmitDirective.md +11 -11
- package/docs/wiki/Class.FormSubmitFailedDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitInvalidDirective.md +4 -4
- package/docs/wiki/Class.FormSubmitSuccessfulDirective.md +4 -4
- package/docs/wiki/Class.FormSubmittingDirective.md +4 -4
- package/docs/wiki/Class.ParentControlContainerDirective.md +1 -1
- package/docs/wiki/Class.RxapFormArray.md +53 -53
- package/docs/wiki/Class.RxapFormBuilder.md +3 -3
- package/docs/wiki/Class.RxapFormControl.md +49 -49
- package/docs/wiki/Class.RxapFormGroup.md +73 -73
- package/docs/wiki/Class.RxapFormsModule.md +1 -1
- package/docs/wiki/Enumeration.MetadataKeys.md +9 -9
- package/docs/wiki/Function.ControlAsyncValidator.md +1 -1
- package/docs/wiki/Function.ControlChange.md +1 -1
- package/docs/wiki/Function.ControlSetValue.md +1 -1
- package/docs/wiki/Function.ControlValidator.md +1 -1
- package/docs/wiki/Function.IsArray.md +1 -1
- package/docs/wiki/Function.IsBoolean.md +1 -1
- package/docs/wiki/Function.IsComplex.md +1 -1
- package/docs/wiki/Function.IsDate.md +1 -1
- package/docs/wiki/Function.IsEmail.md +1 -1
- package/docs/wiki/Function.IsEnum.md +1 -1
- package/docs/wiki/Function.IsIP.md +1 -1
- package/docs/wiki/Function.IsInt.md +1 -1
- package/docs/wiki/Function.IsNumber.md +1 -1
- package/docs/wiki/Function.IsObject.md +1 -1
- package/docs/wiki/Function.IsPhoneNumber.md +1 -1
- package/docs/wiki/Function.IsPort.md +1 -1
- package/docs/wiki/Function.IsString.md +1 -1
- package/docs/wiki/Function.IsUUID.md +1 -1
- package/docs/wiki/Function.IsUrl.md +1 -1
- package/docs/wiki/Function.RxapForm.md +1 -1
- package/docs/wiki/Function.ToFormMethod.md +1 -1
- package/docs/wiki/Function.ToFormSubmitMethod.md +1 -1
- package/docs/wiki/Function.UseFormArrayControl.md +1 -1
- package/docs/wiki/Function.UseFormArrayGroup.md +1 -1
- package/docs/wiki/Function.UseFormControl.md +1 -1
- package/docs/wiki/Function.UseFormGroup.md +1 -1
- package/docs/wiki/Function._IsNumber.md +1 -1
- package/docs/wiki/Function.controlDisabled$.md +1 -1
- package/docs/wiki/Function.controlDisabledWhile.md +1 -1
- package/docs/wiki/Function.controlEnabled$.md +1 -1
- package/docs/wiki/Function.controlEnabledWhile.md +1 -1
- package/docs/wiki/Function.controlErrorChanges$.md +1 -1
- package/docs/wiki/Function.controlReadonly$.md +1 -1
- package/docs/wiki/Function.controlStatusChanges$.md +1 -1
- package/docs/wiki/Function.controlValueChanges$.md +1 -1
- package/docs/wiki/Function.disableControl.md +1 -1
- package/docs/wiki/Function.enableControl.md +1 -1
- package/docs/wiki/Function.hasErrorAndDirty.md +1 -1
- package/docs/wiki/Function.hasErrorAndTouched.md +1 -1
- package/docs/wiki/Function.isNumber.md +1 -1
- package/docs/wiki/Function.markAllDirty.md +1 -1
- package/docs/wiki/Function.markAllPristine.md +1 -1
- package/docs/wiki/Function.markAllUntouched.md +1 -1
- package/docs/wiki/Function.mergeControlValidators.md +1 -1
- package/docs/wiki/Function.selectControlValue$.md +1 -1
- package/docs/wiki/Function.validateControlOn.md +1 -1
- package/docs/wiki/Interface.AbstractControl.md +7 -7
- package/docs/wiki/Interface.AbstractControlOptions.md +3 -3
- package/docs/wiki/Interface.BoxedValue.md +3 -3
- package/docs/wiki/Interface.ComplexityOptions.md +11 -11
- package/docs/wiki/Interface.ControlOptions.md +8 -8
- package/docs/wiki/Interface.ControlSetValueOptions.md +3 -3
- package/docs/wiki/Interface.FormArrayOptions.md +10 -10
- package/docs/wiki/Interface.FormDefinition.md +6 -6
- package/docs/wiki/Interface.FormDefinitionArray.md +2 -2
- package/docs/wiki/Interface.FormDefinitionMetadata.md +9 -9
- package/docs/wiki/Interface.FormGroupOptions.md +7 -7
- package/docs/wiki/Interface.FormLoadFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadMethod.md +3 -3
- package/docs/wiki/Interface.FormLoadSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.FormOptions.md +7 -7
- package/docs/wiki/Interface.FormSubmitFailedMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitMethod.md +3 -3
- package/docs/wiki/Interface.FormSubmitSuccessfulMethod.md +3 -3
- package/docs/wiki/Interface.InjectableValidator.md +3 -3
- package/docs/wiki/Interface.IsNumberOptions.md +5 -5
- package/docs/wiki/Interface.NgValidatorsErrors.md +8 -8
- package/docs/wiki/Interface.RxapAbstractControlOptionsWithDefinition.md +7 -7
- package/docs/wiki/Interface._RxapAbstractControlOptions.md +6 -6
- package/docs/wiki/TypeAlias.AsyncValidator.md +1 -1
- package/docs/wiki/TypeAlias.AsyncValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ChangeFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlEventOptions.md +1 -1
- package/docs/wiki/TypeAlias.ControlInsertedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlPath.md +1 -1
- package/docs/wiki/TypeAlias.ControlRemovedFn.md +1 -1
- package/docs/wiki/TypeAlias.ControlState.md +1 -1
- package/docs/wiki/TypeAlias.EmitEvent.md +1 -1
- package/docs/wiki/TypeAlias.ExtractAbstractControl.md +1 -1
- package/docs/wiki/TypeAlias.ExtractStrings.md +1 -1
- package/docs/wiki/TypeAlias.FormBuilderFn.md +1 -1
- package/docs/wiki/TypeAlias.FormType.md +1 -1
- package/docs/wiki/TypeAlias.KeyValueControls.md +1 -1
- package/docs/wiki/TypeAlias.OnlySelf.md +1 -1
- package/docs/wiki/TypeAlias.OrBoxedValue.md +1 -1
- package/docs/wiki/TypeAlias.RxapAbstractControlOptions.md +1 -1
- package/docs/wiki/TypeAlias.SetValueFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidationErrors.md +1 -1
- package/docs/wiki/TypeAlias.Validator.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorFn.md +1 -1
- package/docs/wiki/TypeAlias.ValidatorOrOpts.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_DEFINITION_BUILDER.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_INITIAL_STATE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_LOAD_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_FAILED_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.md +1 -1
- package/docs/wiki/Variable.RxapValidators.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -2
- package/docs/wiki/globals.md +1 -3
- package/fesm2022/rxap-forms.mjs +2 -36
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +18 -18
- package/docs/html/functions/ToMethodWithInjectionContext.html +0 -1
- package/docs/html/functions/ToMethodWithInjectionContextFactory.html +0 -1
- package/docs/markdown/functions/ToMethodWithInjectionContext.md +0 -37
- package/docs/markdown/functions/ToMethodWithInjectionContextFactory.md +0 -43
- package/docs/wiki/Function.ToMethodWithInjectionContext.md +0 -33
- package/docs/wiki/Function.ToMethodWithInjectionContextFactory.md +0 -39
- package/lib/utilities.d.ts +0 -4
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **KeyValueControls**\<`T`\>: `{ [K in keyof T]: T[K] extends RxapFormControl<T[K]> ? RxapFormControl<T[K]> : T[K] extends RxapFormGroup<T[K]> ? RxapFormGroup<T[K]> : T[K] extends RxapFormArray<ArrayType<T[K]>> ? RxapFormArray<ArrayType<T[K]>> : AbstractControl<T[K]> }`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:100](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:100](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L100)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **OnlySelf**: `Pick`\<[`ControlOptions`](../wiki/Interface.ControlOptions), `"onlySelf"`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:65](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L65)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **OrBoxedValue**\<`T`\>: `T` \| [`BoxedValue`](../wiki/Interface.BoxedValue)\<`T`\> \| () => `T`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:96](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:96](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L96)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **RxapAbstractControlOptions**\<`T`\>: [`_RxapAbstractControlOptions`](../wiki/Interface._RxapAbstractControlOptions) & `T`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/model.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/model.ts:45](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/model.ts#L45)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **SetValueFn**\<`T`\>: (`value`, `options`?) => `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/model.ts:119](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/model.ts:119](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/model.ts#L119)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ValidationErrors**\<`T`\>: `T`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:15](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L15)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **Validator**: [`ValidatorFn`](../wiki/TypeAlias.ValidatorFn) \| [`ValidatorFn`](../wiki/TypeAlias.ValidatorFn)[]
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:28](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:28](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L28)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ValidatorFn**\<`T`, `E`\>: (`control`) => [`ValidationErrors`](../wiki/TypeAlias.ValidationErrors)\<`E`\> \| `null`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:16](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L16)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> **ValidatorOrOpts**: [`ValidatorFn`](../wiki/TypeAlias.ValidatorFn) \| [`ValidatorFn`](../wiki/TypeAlias.ValidatorFn)[] \| [`AbstractControlOptions`](../wiki/Interface.AbstractControlOptions) \| `null`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/types.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/types.ts:26](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/types.ts#L26)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_CONTEXT**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/tokens.ts#L4)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_DEFINITION**: `InjectionToken`\<[`FormDefinition`](../wiki/Interface.FormDefinition)\<`any`, `any`, `any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L9)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_DEFINITION\_BUILDER**: `InjectionToken`\<[`RxapFormBuilder`](../wiki/Class.RxapFormBuilder)\<`any`, [`FormType`](../wiki/TypeAlias.FormType)\<`any`\>\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:11](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L11)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_INITIAL\_STATE**: `InjectionToken`\<`unknown`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/tokens.ts#L3)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_LOAD\_FAILED\_METHOD**: `InjectionToken`\<[`FormLoadMethod`](../wiki/Interface.FormLoadMethod)\<`any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L22)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_LOAD\_METHOD**: `InjectionToken`\<[`FormLoadMethod`](../wiki/Interface.FormLoadMethod)\<`any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:20](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L20)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_LOAD\_SUCCESSFUL\_METHOD**: `InjectionToken`\<[`FormLoadMethod`](../wiki/Interface.FormLoadMethod)\<`any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:24](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L24)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_SUBMIT\_FAILED\_METHOD**: `InjectionToken`\<[`FormSubmitMethod`](../wiki/Interface.FormSubmitMethod)\<`any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:15](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L15)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_SUBMIT\_METHOD**: `InjectionToken`\<[`FormSubmitMethod`](../wiki/Interface.FormSubmitMethod)\<`any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:13](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L13)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_FORM\_SUBMIT\_SUCCESSFUL\_METHOD**: `InjectionToken`\<[`FormSubmitMethod`](../wiki/Interface.FormSubmitMethod)\<`any`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/directives/tokens.ts:17](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/directives/tokens.ts#L17)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RxapValidators**: `object`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/forms/src/lib/validators/index.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/forms/src/lib/validators/index.ts:17](https://gitlab.com/rxap/packages/-/blob/8b57a83e5e2b112c82a6d37b4e6b77fd365cbf05/packages/angular/forms/src/lib/validators/index.ts#L17)
|
|
8
8
|
|
|
9
9
|
## Type declaration
|
|
10
10
|
|
package/docs/wiki/_Sidebar.md
CHANGED
|
@@ -140,8 +140,6 @@
|
|
|
140
140
|
- [selectControlValue$](../wiki/Function.selectControlValue$)
|
|
141
141
|
- [ToFormMethod](../wiki/Function.ToFormMethod)
|
|
142
142
|
- [ToFormSubmitMethod](../wiki/Function.ToFormSubmitMethod)
|
|
143
|
-
- [ToMethodWithInjectionContext](../wiki/Function.ToMethodWithInjectionContext)
|
|
144
|
-
- [ToMethodWithInjectionContextFactory](../wiki/Function.ToMethodWithInjectionContextFactory)
|
|
145
143
|
- [UseFormArrayControl](../wiki/Function.UseFormArrayControl)
|
|
146
144
|
- [UseFormArrayGroup](../wiki/Function.UseFormArrayGroup)
|
|
147
145
|
- [UseFormControl](../wiki/Function.UseFormControl)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @rxap/forms v19.0.4-dev.
|
|
1
|
+
# @rxap/forms v19.0.4-dev.1
|
|
2
2
|
|
|
3
3
|
## Enumerations
|
|
4
4
|
|
|
@@ -140,8 +140,6 @@
|
|
|
140
140
|
- [selectControlValue$](../wiki/Function.selectControlValue$)
|
|
141
141
|
- [ToFormMethod](../wiki/Function.ToFormMethod)
|
|
142
142
|
- [~~ToFormSubmitMethod~~](../wiki/Function.ToFormSubmitMethod)
|
|
143
|
-
- [ToMethodWithInjectionContext](../wiki/Function.ToMethodWithInjectionContext)
|
|
144
|
-
- [ToMethodWithInjectionContextFactory](../wiki/Function.ToMethodWithInjectionContextFactory)
|
|
145
143
|
- [UseFormArrayControl](../wiki/Function.UseFormArrayControl)
|
|
146
144
|
- [UseFormArrayGroup](../wiki/Function.UseFormArrayGroup)
|
|
147
145
|
- [UseFormControl](../wiki/Function.UseFormControl)
|
package/fesm2022/rxap-forms.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isEmail, isIP, isMobilePhone, isPort, isURL, isUUID } from '@rxap/validator';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Directive, Host, SkipSelf, Input, HostListener, forwardRef, Optional, Self, Inject, InjectionToken, isDevMode, Injector, input, EventEmitter, ChangeDetectorRef, Output, HostBinding, TemplateRef, ViewContainerRef, NgModule
|
|
3
|
+
import { Directive, Host, SkipSelf, Input, HostListener, forwardRef, Optional, Self, Inject, InjectionToken, isDevMode, Injector, input, EventEmitter, ChangeDetectorRef, Output, HostBinding, TemplateRef, ViewContainerRef, NgModule } from '@angular/core';
|
|
4
4
|
import * as i1 from '@angular/forms';
|
|
5
5
|
import { FormControlName, NG_VALIDATORS, NG_ASYNC_VALIDATORS, NG_VALUE_ACCESSOR, NgControl, FormGroupName, ControlContainer, UntypedFormArray, AbstractControl, UntypedFormGroup, UntypedFormControl, Validators, FormGroupDirective } from '@angular/forms';
|
|
6
6
|
import { startWith, filter, tap, map, distinctUntilChanged, debounceTime, take } from 'rxjs/operators';
|
|
@@ -2892,40 +2892,6 @@ class ControlValueAccessor {
|
|
|
2892
2892
|
const RXAP_FORM_INITIAL_STATE = new InjectionToken('rxap/forms/initial-state');
|
|
2893
2893
|
const RXAP_FORM_CONTEXT = new InjectionToken('rxap/forms/context');
|
|
2894
2894
|
|
|
2895
|
-
// TODO : create a @rxap/ngx-utilities package and move this function there
|
|
2896
|
-
function ToMethodWithInjectionContext(call, injector, metadata = { id: 'to-method' }) {
|
|
2897
|
-
return {
|
|
2898
|
-
call: (parameters, ...args) => new Promise((resolve, reject) => {
|
|
2899
|
-
if (!injector) {
|
|
2900
|
-
throw new Error('The injector is not defined. Can not run the method in the injection context.');
|
|
2901
|
-
}
|
|
2902
|
-
runInInjectionContext(injector, () => {
|
|
2903
|
-
try {
|
|
2904
|
-
const result = call(parameters, ...args);
|
|
2905
|
-
if (isPromise(result)) {
|
|
2906
|
-
result.then(resolve).catch(reject);
|
|
2907
|
-
}
|
|
2908
|
-
else {
|
|
2909
|
-
resolve(result);
|
|
2910
|
-
}
|
|
2911
|
-
}
|
|
2912
|
-
catch (e) {
|
|
2913
|
-
reject(e);
|
|
2914
|
-
}
|
|
2915
|
-
});
|
|
2916
|
-
}),
|
|
2917
|
-
metadata
|
|
2918
|
-
};
|
|
2919
|
-
}
|
|
2920
|
-
function ToMethodWithInjectionContextFactory(call, metadata = { id: 'to-method' }) {
|
|
2921
|
-
return (injector) => {
|
|
2922
|
-
if (!injector) {
|
|
2923
|
-
throw new Error('The injector is not defined. Ensure the factory is used in conjunction with deps: [ INJECTOR ]');
|
|
2924
|
-
}
|
|
2925
|
-
return ToMethodWithInjectionContext(call, injector, metadata);
|
|
2926
|
-
};
|
|
2927
|
-
}
|
|
2928
|
-
|
|
2929
2895
|
// region validators
|
|
2930
2896
|
// endregion
|
|
2931
2897
|
|
|
@@ -2933,5 +2899,5 @@ function ToMethodWithInjectionContextFactory(call, metadata = { id: 'to-method'
|
|
|
2933
2899
|
* Generated bundle index. Do not edit.
|
|
2934
2900
|
*/
|
|
2935
2901
|
|
|
2936
|
-
export { ControlAsyncValidator, ControlChange, ControlSetValue, ControlValidator, ControlValueAccessor, FormArrayControlManager, FormControlErrorDirective, FormControlMarkDirtyDirective, FormControlMarkPristineDirective, FormControlMarkTouchedDirective, FormControlMarkUntouchedDirective, FormControlNameDirective, FormDirective, FormGroupNameDirective, FormLoadedDirective, FormLoadingDirective, FormLoadingErrorDirective, FormResetDirective, FormSubmitDirective, FormSubmitFailedDirective, FormSubmitInvalidDirective, FormSubmitSuccessfulDirective, FormSubmittingDirective, IsArray, IsBoolean, IsComplex, IsDate, IsEmail, IsEnum, IsIP, IsInt, IsNumber, IsObject, IsPhoneNumber, IsPort, IsString, IsUUID, IsUrl, MetadataKeys, ParentControlContainerDirective, RXAP_FORM_CONTEXT, RXAP_FORM_DEFINITION, RXAP_FORM_DEFINITION_BUILDER, RXAP_FORM_INITIAL_STATE, RXAP_FORM_LOAD_FAILED_METHOD, RXAP_FORM_LOAD_METHOD, RXAP_FORM_LOAD_SUCCESSFUL_METHOD, RXAP_FORM_SUBMIT_FAILED_METHOD, RXAP_FORM_SUBMIT_METHOD, RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD, RxapForm, RxapFormArray, RxapFormBuilder, RxapFormControl, RxapFormGroup, RxapFormsModule, RxapValidators, ToFormMethod, ToFormSubmitMethod,
|
|
2902
|
+
export { ControlAsyncValidator, ControlChange, ControlSetValue, ControlValidator, ControlValueAccessor, FormArrayControlManager, FormControlErrorDirective, FormControlMarkDirtyDirective, FormControlMarkPristineDirective, FormControlMarkTouchedDirective, FormControlMarkUntouchedDirective, FormControlNameDirective, FormDirective, FormGroupNameDirective, FormLoadedDirective, FormLoadingDirective, FormLoadingErrorDirective, FormResetDirective, FormSubmitDirective, FormSubmitFailedDirective, FormSubmitInvalidDirective, FormSubmitSuccessfulDirective, FormSubmittingDirective, IsArray, IsBoolean, IsComplex, IsDate, IsEmail, IsEnum, IsIP, IsInt, IsNumber, IsObject, IsPhoneNumber, IsPort, IsString, IsUUID, IsUrl, MetadataKeys, ParentControlContainerDirective, RXAP_FORM_CONTEXT, RXAP_FORM_DEFINITION, RXAP_FORM_DEFINITION_BUILDER, RXAP_FORM_INITIAL_STATE, RXAP_FORM_LOAD_FAILED_METHOD, RXAP_FORM_LOAD_METHOD, RXAP_FORM_LOAD_SUCCESSFUL_METHOD, RXAP_FORM_SUBMIT_FAILED_METHOD, RXAP_FORM_SUBMIT_METHOD, RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD, RxapForm, RxapFormArray, RxapFormBuilder, RxapFormControl, RxapFormGroup, RxapFormsModule, RxapValidators, ToFormMethod, ToFormSubmitMethod, UseFormArrayControl, UseFormArrayGroup, UseFormControl, UseFormGroup, _IsNumber, controlDisabled$, controlDisabledWhile, controlEnabled$, controlEnabledWhile, controlErrorChanges$, controlReadonly$, controlStatusChanges$, controlValueChanges$, disableControl, enableControl, hasErrorAndDirty, hasErrorAndTouched, isNumber, markAllDirty, markAllPristine, markAllUntouched, mergeControlValidators, selectControlValue$, validateControlOn };
|
|
2937
2903
|
//# sourceMappingURL=rxap-forms.mjs.map
|