@rxap/form-system 19.1.0-dev.0 → 19.1.0-dev.2
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/ExtractOptionsMethodMixin.html +6 -3
- package/compodoc/dependencies.html +5 -5
- package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +47 -35
- package/compodoc/directives/OptionsFromMethodDirective.html +124 -30
- package/compodoc/injectables/NoopResolveMethod.html +29 -17
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +27 -15
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +27 -15
- package/compodoc/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +27 -15
- package/compodoc/interfaces/OptionsFromMethodDirectiveSettings.html +38 -8
- package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +38 -8
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/typealiases.html +21 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +3917 -3549
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AutocompleteOptionsFromMethodDirective.html +8 -6
- package/docs/html/classes/ControlDataSource.html +13 -13
- package/docs/html/classes/ControlHideShowDirective.html +4 -4
- package/docs/html/classes/ExtractControlFromParentMixin.html +2 -2
- package/docs/html/classes/ExtractControlMixin.html +2 -2
- package/docs/html/classes/ExtractDataSourcesMixin.html +2 -2
- package/docs/html/classes/ExtractFormDefinitionMixin.html +2 -2
- package/docs/html/classes/ExtractFunctionMixin.html +2 -2
- package/docs/html/classes/ExtractFunctionsMixin.html +2 -2
- package/docs/html/classes/ExtractIsValueFunctionMixin.html +2 -2
- package/docs/html/classes/ExtractMethodMixin.html +2 -2
- package/docs/html/classes/ExtractMethodsMixin.html +2 -2
- package/docs/html/classes/ExtractOptionsDataSourceMixin.html +2 -2
- package/docs/html/classes/ExtractOptionsMethodMixin.html +2 -2
- package/docs/html/classes/ExtractRemoteMethodsMixin.html +2 -2
- package/docs/html/classes/ExtractResolveMethodMixin.html +2 -2
- package/docs/html/classes/ExtractToDisplayFunctionMixin.html +2 -2
- package/docs/html/classes/ForFormArrayItemsDirective.html +4 -4
- package/docs/html/classes/FormArrayAddItemButtonDirective.html +4 -4
- package/docs/html/classes/FormArrayItemButton.html +4 -4
- package/docs/html/classes/FormArrayItemRemoveButtonDirective.html +5 -5
- package/docs/html/classes/FormArrayItemRestoreButtonDirective.html +4 -4
- package/docs/html/classes/FormArrayRemovableDirective.html +4 -4
- package/docs/html/classes/FormSystemControlDirective.html +8 -8
- package/docs/html/classes/FormSystemDirectivesModule.html +2 -2
- package/docs/html/classes/InputSelectOptionsDirective.html +4 -4
- package/docs/html/classes/IsEqualToDirective.html +4 -4
- package/docs/html/classes/IsSelectableValueDirective.html +3 -3
- package/docs/html/classes/NoopResolveMethod.html +2 -2
- package/docs/html/classes/OptionsFromMethodDirective.html +10 -5
- package/docs/html/classes/OptionsFromRemoteMethodDirective.html +4 -4
- package/docs/html/classes/RxapFormSystemError.html +5 -5
- package/docs/html/classes/SubmitContextFormAdapter.html +10 -10
- package/docs/html/classes/TestNgControl.html +4 -4
- package/docs/html/enums/FormSystemMetadataKeys.html +2 -2
- package/docs/html/functions/ApplyUseFunctionAdapters.html +1 -1
- package/docs/html/functions/ApplyUseMethodAdapters.html +1 -1
- package/docs/html/functions/ComposeOptionsTransformers.html +1 -1
- package/docs/html/functions/FormContextFromActivatedRouteFactory.html +1 -1
- package/docs/html/functions/ResolveByUuidParameter.html +1 -1
- package/docs/html/functions/ResolveByUuidResultFactory.html +1 -1
- package/docs/html/functions/SubmitContextFormAdapterFactory.html +1 -1
- package/docs/html/functions/UseAutocompleteIsValueFunction.html +1 -1
- package/docs/html/functions/UseAutocompleteOptionsMethod.html +1 -1
- package/docs/html/functions/UseAutocompleteResolveMethod.html +1 -1
- package/docs/html/functions/UseAutocompleteToDisplayFunction.html +1 -1
- package/docs/html/functions/UseComponent.html +1 -1
- package/docs/html/functions/UseDataSource.html +1 -1
- package/docs/html/functions/UseFormComponent.html +2 -2
- package/docs/html/functions/UseFunction.html +1 -1
- package/docs/html/functions/UseHideFunction.html +1 -1
- package/docs/html/functions/UseIsValueFunction.html +1 -1
- package/docs/html/functions/UseMethod.html +1 -1
- package/docs/html/functions/UseOptionsDataSource.html +1 -1
- package/docs/html/functions/UseOptionsMethod.html +1 -1
- package/docs/html/functions/UseOptionsRemoteMethod.html +1 -1
- package/docs/html/functions/UseRemoteMethod.html +1 -1
- package/docs/html/functions/UseResolveMethod.html +1 -1
- package/docs/html/functions/UseShowFunction.html +1 -1
- package/docs/html/functions/UseToDisplayFunction.html +1 -1
- package/docs/html/functions/controlDataSource-1.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/ControlHideShowOptions.html +2 -2
- package/docs/html/interfaces/ControlWithDataSource.html +2 -2
- package/docs/html/interfaces/ForFormArrayItemsDirectiveContext.html +2 -2
- package/docs/html/interfaces/InputSelectOptionsSettings.html +4 -4
- package/docs/html/interfaces/InputSelectOptionsTemplateContext.html +2 -2
- package/docs/html/interfaces/OptionsFromMethodDirectiveSettings.html +1 -1
- package/docs/html/interfaces/OptionsFromMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/OptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/UseDataSourceSettings.html +2 -2
- package/docs/html/interfaces/UseDataSourceValue.html +3 -3
- package/docs/html/interfaces/UseFunctionConfig.html +2 -2
- package/docs/html/interfaces/UseFunctionDefinition.html +2 -2
- package/docs/html/interfaces/UseMethodConfig.html +2 -2
- package/docs/html/interfaces/UseMethodDefinition.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/ControlHideShowFunction.html +1 -1
- package/docs/html/types/FunctionParameterAdapterFunction.html +1 -1
- package/docs/html/types/FunctionResultAdapterFunction.html +1 -1
- package/docs/html/types/MethodParameterAdapterFunction.html +1 -1
- package/docs/html/types/MethodResultAdapterFunction.html +1 -1
- package/docs/html/types/OptionsMethod.html +1 -0
- package/docs/html/types/UseFunctionType.html +1 -1
- package/docs/html/types/UseOptionsDataSourceSettings.html +1 -1
- package/docs/html/variables/DATA_SOURCE_NAME.html +1 -1
- package/docs/html/variables/IS_VALUE_FUNCTION_NAME.html +1 -1
- package/docs/html/variables/OPTIONS_METHOD_NAME.html +1 -1
- package/docs/html/variables/REMOTE_METHOD_NAME.html +1 -1
- package/docs/html/variables/RESOLVE_METHOD_NAME.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTROL_SOURCE.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.html +1 -1
- package/docs/html/variables/RXAP_USE_FUNCTION.html +1 -1
- package/docs/html/variables/RXAP_USE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_USE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.html +1 -1
- package/docs/html/variables/TO_DISPLAY_FUNCTION_NAME.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AutocompleteOptionsFromMethodDirective.md +63 -39
- package/docs/markdown/classes/ControlDataSource.md +51 -51
- package/docs/markdown/classes/ControlHideShowDirective.md +9 -9
- package/docs/markdown/classes/ExtractControlFromParentMixin.md +3 -3
- package/docs/markdown/classes/ExtractControlMixin.md +6 -6
- package/docs/markdown/classes/ExtractDataSourcesMixin.md +3 -3
- package/docs/markdown/classes/ExtractFormDefinitionMixin.md +3 -3
- package/docs/markdown/classes/ExtractFunctionMixin.md +5 -5
- package/docs/markdown/classes/ExtractFunctionsMixin.md +3 -3
- package/docs/markdown/classes/ExtractIsValueFunctionMixin.md +11 -11
- package/docs/markdown/classes/ExtractMethodMixin.md +5 -5
- package/docs/markdown/classes/ExtractMethodsMixin.md +3 -3
- package/docs/markdown/classes/ExtractOptionsDataSourceMixin.md +16 -16
- package/docs/markdown/classes/ExtractOptionsMethodMixin.md +11 -11
- package/docs/markdown/classes/ExtractRemoteMethodsMixin.md +3 -3
- package/docs/markdown/classes/ExtractResolveMethodMixin.md +11 -11
- package/docs/markdown/classes/ExtractToDisplayFunctionMixin.md +11 -11
- package/docs/markdown/classes/ForFormArrayItemsDirective.md +5 -5
- package/docs/markdown/classes/FormArrayAddItemButtonDirective.md +12 -12
- package/docs/markdown/classes/FormArrayItemButton.md +19 -19
- package/docs/markdown/classes/FormArrayItemRemoveButtonDirective.md +20 -20
- package/docs/markdown/classes/FormArrayItemRestoreButtonDirective.md +19 -19
- package/docs/markdown/classes/FormArrayRemovableDirective.md +10 -10
- package/docs/markdown/classes/FormSystemControlDirective.md +12 -12
- package/docs/markdown/classes/FormSystemDirectivesModule.md +2 -2
- package/docs/markdown/classes/InputSelectOptionsDirective.md +27 -27
- package/docs/markdown/classes/IsEqualToDirective.md +5 -5
- package/docs/markdown/classes/IsSelectableValueDirective.md +18 -18
- package/docs/markdown/classes/NoopResolveMethod.md +3 -3
- package/docs/markdown/classes/OptionsFromMethodDirective.md +60 -28
- package/docs/markdown/classes/OptionsFromRemoteMethodDirective.md +9 -9
- package/docs/markdown/classes/RxapFormSystemError.md +13 -13
- package/docs/markdown/classes/SubmitContextFormAdapter.md +32 -32
- package/docs/markdown/classes/TestNgControl.md +5 -5
- package/docs/markdown/enumerations/FormSystemMetadataKeys.md +6 -6
- package/docs/markdown/functions/ApplyUseFunctionAdapters.md +2 -2
- package/docs/markdown/functions/ApplyUseMethodAdapters.md +2 -2
- package/docs/markdown/functions/ComposeOptionsTransformers.md +2 -2
- package/docs/markdown/functions/FormContextFromActivatedRouteFactory.md +2 -2
- package/docs/markdown/functions/ResolveByUuidParameter.md +2 -2
- package/docs/markdown/functions/ResolveByUuidResultFactory.md +2 -2
- package/docs/markdown/functions/SubmitContextFormAdapterFactory.md +2 -2
- package/docs/markdown/functions/UseAutocompleteIsValueFunction.md +2 -2
- package/docs/markdown/functions/UseAutocompleteOptionsMethod.md +4 -4
- package/docs/markdown/functions/UseAutocompleteResolveMethod.md +2 -2
- package/docs/markdown/functions/UseAutocompleteToDisplayFunction.md +2 -2
- package/docs/markdown/functions/UseComponent.md +2 -2
- package/docs/markdown/functions/UseDataSource.md +2 -2
- package/docs/markdown/functions/UseFormComponent.md +2 -2
- package/docs/markdown/functions/UseFunction.md +2 -2
- package/docs/markdown/functions/UseHideFunction.md +2 -2
- package/docs/markdown/functions/UseIsValueFunction.md +3 -3
- package/docs/markdown/functions/UseMethod.md +2 -2
- package/docs/markdown/functions/UseOptionsDataSource.md +2 -2
- package/docs/markdown/functions/UseOptionsMethod.md +8 -4
- package/docs/markdown/functions/UseOptionsRemoteMethod.md +2 -2
- package/docs/markdown/functions/UseRemoteMethod.md +2 -2
- package/docs/markdown/functions/UseResolveMethod.md +3 -3
- package/docs/markdown/functions/UseShowFunction.md +2 -2
- package/docs/markdown/functions/UseToDisplayFunction.md +3 -3
- package/docs/markdown/functions/controlDataSource.md +2 -2
- package/docs/markdown/globals.md +3 -2
- package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/ControlHideShowOptions.md +3 -3
- package/docs/markdown/interfaces/ControlWithDataSource.md +3 -3
- package/docs/markdown/interfaces/ForFormArrayItemsDirectiveContext.md +9 -9
- package/docs/markdown/interfaces/InputSelectOptionsSettings.md +6 -6
- package/docs/markdown/interfaces/InputSelectOptionsTemplateContext.md +3 -3
- package/docs/markdown/interfaces/OptionsFromMethodDirectiveSettings.md +2 -2
- package/docs/markdown/interfaces/OptionsFromMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/OptionsFromRemoteMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/UseDataSourceSettings.md +3 -3
- package/docs/markdown/interfaces/UseDataSourceValue.md +5 -5
- package/docs/markdown/interfaces/UseFunctionConfig.md +3 -3
- package/docs/markdown/interfaces/UseFunctionDefinition.md +4 -4
- package/docs/markdown/interfaces/UseMethodConfig.md +3 -3
- package/docs/markdown/interfaces/UseMethodDefinition.md +4 -4
- package/docs/markdown/type-aliases/ControlHideShowFunction.md +2 -2
- package/docs/markdown/type-aliases/FunctionParameterAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/FunctionResultAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/MethodParameterAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/MethodResultAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/OptionsMethod.md +15 -0
- package/docs/markdown/type-aliases/UseFunctionType.md +2 -2
- package/docs/markdown/type-aliases/UseOptionsDataSourceSettings.md +2 -2
- package/docs/markdown/variables/DATA_SOURCE_NAME.md +2 -2
- package/docs/markdown/variables/IS_VALUE_FUNCTION_NAME.md +2 -2
- package/docs/markdown/variables/OPTIONS_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/REMOTE_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/RESOLVE_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTROL_SOURCE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_USE_FUNCTION.md +2 -2
- package/docs/markdown/variables/RXAP_USE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_USE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +2 -2
- package/docs/markdown/variables/TO_DISPLAY_FUNCTION_NAME.md +2 -2
- package/docs/wiki/Class.AutocompleteOptionsFromMethodDirective.md +62 -38
- package/docs/wiki/Class.ControlDataSource.md +50 -50
- package/docs/wiki/Class.ControlHideShowDirective.md +8 -8
- package/docs/wiki/Class.ExtractControlFromParentMixin.md +2 -2
- package/docs/wiki/Class.ExtractControlMixin.md +5 -5
- package/docs/wiki/Class.ExtractDataSourcesMixin.md +2 -2
- package/docs/wiki/Class.ExtractFormDefinitionMixin.md +2 -2
- package/docs/wiki/Class.ExtractFunctionMixin.md +4 -4
- package/docs/wiki/Class.ExtractFunctionsMixin.md +2 -2
- package/docs/wiki/Class.ExtractIsValueFunctionMixin.md +10 -10
- package/docs/wiki/Class.ExtractMethodMixin.md +4 -4
- package/docs/wiki/Class.ExtractMethodsMixin.md +2 -2
- package/docs/wiki/Class.ExtractOptionsDataSourceMixin.md +15 -15
- package/docs/wiki/Class.ExtractOptionsMethodMixin.md +10 -10
- package/docs/wiki/Class.ExtractRemoteMethodsMixin.md +2 -2
- package/docs/wiki/Class.ExtractResolveMethodMixin.md +10 -10
- package/docs/wiki/Class.ExtractToDisplayFunctionMixin.md +10 -10
- package/docs/wiki/Class.ForFormArrayItemsDirective.md +4 -4
- package/docs/wiki/Class.FormArrayAddItemButtonDirective.md +11 -11
- package/docs/wiki/Class.FormArrayItemButton.md +18 -18
- package/docs/wiki/Class.FormArrayItemRemoveButtonDirective.md +19 -19
- package/docs/wiki/Class.FormArrayItemRestoreButtonDirective.md +18 -18
- package/docs/wiki/Class.FormArrayRemovableDirective.md +9 -9
- package/docs/wiki/Class.FormSystemControlDirective.md +11 -11
- package/docs/wiki/Class.FormSystemDirectivesModule.md +1 -1
- package/docs/wiki/Class.InputSelectOptionsDirective.md +26 -26
- package/docs/wiki/Class.IsEqualToDirective.md +4 -4
- package/docs/wiki/Class.IsSelectableValueDirective.md +17 -17
- package/docs/wiki/Class.NoopResolveMethod.md +2 -2
- package/docs/wiki/Class.OptionsFromMethodDirective.md +59 -27
- package/docs/wiki/Class.OptionsFromRemoteMethodDirective.md +8 -8
- package/docs/wiki/Class.RxapFormSystemError.md +12 -12
- package/docs/wiki/Class.SubmitContextFormAdapter.md +31 -31
- package/docs/wiki/Class.TestNgControl.md +4 -4
- package/docs/wiki/Enumeration.FormSystemMetadataKeys.md +5 -5
- package/docs/wiki/Function.ApplyUseFunctionAdapters.md +1 -1
- package/docs/wiki/Function.ApplyUseMethodAdapters.md +1 -1
- package/docs/wiki/Function.ComposeOptionsTransformers.md +1 -1
- package/docs/wiki/Function.FormContextFromActivatedRouteFactory.md +1 -1
- package/docs/wiki/Function.ResolveByUuidParameter.md +1 -1
- package/docs/wiki/Function.ResolveByUuidResultFactory.md +1 -1
- package/docs/wiki/Function.SubmitContextFormAdapterFactory.md +1 -1
- package/docs/wiki/Function.UseAutocompleteIsValueFunction.md +1 -1
- package/docs/wiki/Function.UseAutocompleteOptionsMethod.md +3 -3
- package/docs/wiki/Function.UseAutocompleteResolveMethod.md +1 -1
- package/docs/wiki/Function.UseAutocompleteToDisplayFunction.md +1 -1
- package/docs/wiki/Function.UseComponent.md +1 -1
- package/docs/wiki/Function.UseDataSource.md +1 -1
- package/docs/wiki/Function.UseFormComponent.md +1 -1
- package/docs/wiki/Function.UseFunction.md +1 -1
- package/docs/wiki/Function.UseHideFunction.md +1 -1
- package/docs/wiki/Function.UseIsValueFunction.md +2 -2
- package/docs/wiki/Function.UseMethod.md +1 -1
- package/docs/wiki/Function.UseOptionsDataSource.md +1 -1
- package/docs/wiki/Function.UseOptionsMethod.md +7 -3
- package/docs/wiki/Function.UseOptionsRemoteMethod.md +1 -1
- package/docs/wiki/Function.UseRemoteMethod.md +1 -1
- package/docs/wiki/Function.UseResolveMethod.md +2 -2
- package/docs/wiki/Function.UseShowFunction.md +1 -1
- package/docs/wiki/Function.UseToDisplayFunction.md +2 -2
- package/docs/wiki/Function.controlDataSource.md +1 -1
- package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveParameters.md +2 -2
- package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveSettings.md +2 -2
- package/docs/wiki/Interface.AutocompleteOptionsFromRemoteMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.ControlHideShowOptions.md +2 -2
- package/docs/wiki/Interface.ControlWithDataSource.md +2 -2
- package/docs/wiki/Interface.ForFormArrayItemsDirectiveContext.md +8 -8
- package/docs/wiki/Interface.InputSelectOptionsSettings.md +5 -5
- package/docs/wiki/Interface.InputSelectOptionsTemplateContext.md +2 -2
- package/docs/wiki/Interface.OptionsFromMethodDirectiveSettings.md +1 -1
- package/docs/wiki/Interface.OptionsFromMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.OptionsFromRemoteMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.UseDataSourceSettings.md +2 -2
- package/docs/wiki/Interface.UseDataSourceValue.md +4 -4
- package/docs/wiki/Interface.UseFunctionConfig.md +2 -2
- package/docs/wiki/Interface.UseFunctionDefinition.md +3 -3
- package/docs/wiki/Interface.UseMethodConfig.md +2 -2
- package/docs/wiki/Interface.UseMethodDefinition.md +3 -3
- package/docs/wiki/TypeAlias.ControlHideShowFunction.md +1 -1
- package/docs/wiki/TypeAlias.FunctionParameterAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.FunctionResultAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.MethodParameterAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.MethodResultAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.OptionsMethod.md +11 -0
- package/docs/wiki/TypeAlias.UseFunctionType.md +1 -1
- package/docs/wiki/TypeAlias.UseOptionsDataSourceSettings.md +1 -1
- package/docs/wiki/Variable.DATA_SOURCE_NAME.md +1 -1
- package/docs/wiki/Variable.IS_VALUE_FUNCTION_NAME.md +1 -1
- package/docs/wiki/Variable.OPTIONS_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.REMOTE_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.RESOLVE_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTROL_SOURCE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_SHOW_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_FUNCTION.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +1 -1
- package/docs/wiki/Variable.TO_DISPLAY_FUNCTION_NAME.md +1 -1
- package/docs/wiki/_Sidebar.md +1 -0
- package/docs/wiki/globals.md +2 -1
- package/fesm2022/rxap-form-system.mjs +24 -6
- package/fesm2022/rxap-form-system.mjs.map +1 -1
- package/lib/directives/autocomplete-options-from-method.directive.d.ts +6 -5
- package/lib/directives/options-from-method.directive.d.ts +9 -6
- package/lib/mixins/extract-options-method.mixin.d.ts +3 -1
- package/package.json +15 -15
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.2](https://gitlab.com/rxap/packages/compare/@rxap/form-system@19.1.0-dev.1...@rxap/form-system@19.1.0-dev.2) (2025-10-08)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **form-system:** support observable-based control options in directives ([9620419](https://gitlab.com/rxap/packages/commit/962041976f113f7e1cf975bc2b8cfeba454037af))
|
|
11
|
+
|
|
12
|
+
# [19.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/form-system@19.1.0-dev.0...@rxap/form-system@19.1.0-dev.1) (2025-08-19)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **form-system:** add loading state to options-from-method directive ([4afeaec](https://gitlab.com/rxap/packages/commit/4afeaec57aa5d3e835de06c9158a5b08b90de1c5))
|
|
17
|
+
|
|
6
18
|
# [19.1.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/form-system@19.0.5-dev.0...@rxap/form-system@19.1.0-dev.0) (2025-08-18)
|
|
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/form-system@19.1.0-dev.1...@rxap/form-system@19.1.0-dev.2">19.1.0-dev.2</a> (2025-10-08)</h1>
|
|
89
|
+
<h3>Features</h3>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><strong>form-system:</strong> support observable-based control options in directives (<a href="https://gitlab.com/rxap/packages/commit/962041976f113f7e1cf975bc2b8cfeba454037af">9620419</a>)</li>
|
|
92
|
+
</ul>
|
|
93
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/form-system@19.1.0-dev.0...@rxap/form-system@19.1.0-dev.1">19.1.0-dev.1</a> (2025-08-19)</h1>
|
|
94
|
+
<h3>Features</h3>
|
|
95
|
+
<ul>
|
|
96
|
+
<li><strong>form-system:</strong> add loading state to options-from-method directive (<a href="https://gitlab.com/rxap/packages/commit/4afeaec57aa5d3e835de06c9158a5b08b90de1c5">4afeaec</a>)</li>
|
|
97
|
+
</ul>
|
|
88
98
|
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/form-system@19.0.5-dev.0...@rxap/form-system@19.1.0-dev.0">19.1.0-dev.0</a> (2025-08-18)</h1>
|
|
89
99
|
<h3>Features</h3>
|
|
90
100
|
<ul>
|
|
@@ -185,8 +185,8 @@
|
|
|
185
185
|
|
|
186
186
|
<tr>
|
|
187
187
|
<td class="col-md-4">
|
|
188
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
189
|
-
class="link-to-prism">src/lib/mixins/extract-options-method.mixin.ts:
|
|
188
|
+
<div class="io-line">Defined in <a href="" data-line="32"
|
|
189
|
+
class="link-to-prism">src/lib/mixins/extract-options-method.mixin.ts:32</a></div>
|
|
190
190
|
</td>
|
|
191
191
|
</tr>
|
|
192
192
|
|
|
@@ -265,6 +265,7 @@ import { RxapFormControl } from '@rxap/forms';
|
|
|
265
265
|
import { Mixin } from '@rxap/mixin';
|
|
266
266
|
import { Method } from '@rxap/pattern';
|
|
267
267
|
import { ControlOptions } from '@rxap/utilities';
|
|
268
|
+
import { Observable } from 'rxjs';
|
|
268
269
|
import { ExtractControlMixin } from './extract-control.mixin';
|
|
269
270
|
import { ExtractFormDefinitionMixin } from './extract-form-definition.mixin';
|
|
270
271
|
import { ExtractMethodMixin } from './extract-method.mixin';
|
|
@@ -275,7 +276,9 @@ import {
|
|
|
275
276
|
|
|
276
277
|
export const OPTIONS_METHOD_NAME = 'options';
|
|
277
278
|
|
|
278
|
-
export
|
|
279
|
+
export type OptionsMethod<Parameters = any> = Method<ControlOptions | Observable<ControlOptions | null> | null, Parameters>;
|
|
280
|
+
|
|
281
|
+
export function UseOptionsMethod<Parameters = any>(method: ProviderToken<OptionsMethod<Parameters>>, config?: UseMethodConfig) {
|
|
279
282
|
return function (target: any, propertyKey: string) {
|
|
280
283
|
UseMethod(method, OPTIONS_METHOD_NAME, config)(target, propertyKey);
|
|
281
284
|
};
|
|
@@ -125,21 +125,21 @@
|
|
|
125
125
|
<li>
|
|
126
126
|
<b>@rxap/definition</b> : ^19.0.4</li>
|
|
127
127
|
<li>
|
|
128
|
-
<b>@rxap/forms</b> : ^19.1.0-dev.
|
|
128
|
+
<b>@rxap/forms</b> : ^19.1.0-dev.5</li>
|
|
129
129
|
<li>
|
|
130
|
-
<b>@rxap/mixin</b> : ^16.0.15-dev.
|
|
130
|
+
<b>@rxap/mixin</b> : ^16.0.15-dev.3</li>
|
|
131
131
|
<li>
|
|
132
|
-
<b>@rxap/open-api</b> : ^19.2.0-dev.
|
|
132
|
+
<b>@rxap/open-api</b> : ^19.2.0-dev.2</li>
|
|
133
133
|
<li>
|
|
134
134
|
<b>@rxap/pattern</b> : ^1.1.14</li>
|
|
135
135
|
<li>
|
|
136
|
-
<b>@rxap/reflect-metadata</b> : ^1.0.16-dev.
|
|
136
|
+
<b>@rxap/reflect-metadata</b> : ^1.0.16-dev.3</li>
|
|
137
137
|
<li>
|
|
138
138
|
<b>@rxap/remote-method</b> : ^19.1.0-dev.0</li>
|
|
139
139
|
<li>
|
|
140
140
|
<b>@rxap/rxjs</b> : ^1.1.16</li>
|
|
141
141
|
<li>
|
|
142
|
-
<b>@rxap/utilities</b> : ^16.
|
|
142
|
+
<b>@rxap/utilities</b> : ^16.5.0-dev.0</li>
|
|
143
143
|
<li>
|
|
144
144
|
<b>@rxap/validator</b> : ^3.0.13</li>
|
|
145
145
|
<li>
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
</tr>
|
|
298
298
|
<tr>
|
|
299
299
|
<td class="col-md-2" colspan="2">
|
|
300
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
300
|
+
<div class="io-line">Defined in <a href="" data-line="145" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:145</a></div>
|
|
301
301
|
</td>
|
|
302
302
|
</tr>
|
|
303
303
|
</tbody>
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
</tr>
|
|
319
319
|
<tr>
|
|
320
320
|
<td class="col-md-2" colspan="2">
|
|
321
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
321
|
+
<div class="io-line">Defined in <a href="" data-line="151" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:151</a></div>
|
|
322
322
|
</td>
|
|
323
323
|
</tr>
|
|
324
324
|
</tbody>
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
</tr>
|
|
340
340
|
<tr>
|
|
341
341
|
<td class="col-md-2" colspan="2">
|
|
342
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
342
|
+
<div class="io-line">Defined in <a href="" data-line="142" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:142</a></div>
|
|
343
343
|
</td>
|
|
344
344
|
</tr>
|
|
345
345
|
</tbody>
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
</tr>
|
|
361
361
|
<tr>
|
|
362
362
|
<td class="col-md-2" colspan="2">
|
|
363
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
363
|
+
<div class="io-line">Defined in <a href="" data-line="138" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:138</a></div>
|
|
364
364
|
</td>
|
|
365
365
|
</tr>
|
|
366
366
|
</tbody>
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
</tr>
|
|
382
382
|
<tr>
|
|
383
383
|
<td class="col-md-2" colspan="2">
|
|
384
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
384
|
+
<div class="io-line">Defined in <a href="" data-line="140" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:140</a></div>
|
|
385
385
|
</td>
|
|
386
386
|
</tr>
|
|
387
387
|
</tbody>
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
</tr>
|
|
403
403
|
<tr>
|
|
404
404
|
<td class="col-md-2" colspan="2">
|
|
405
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
405
|
+
<div class="io-line">Defined in <a href="" data-line="148" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:148</a></div>
|
|
406
406
|
</td>
|
|
407
407
|
</tr>
|
|
408
408
|
</tbody>
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
</tr>
|
|
424
424
|
<tr>
|
|
425
425
|
<td class="col-md-2" colspan="2">
|
|
426
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
426
|
+
<div class="io-line">Defined in <a href="" data-line="154" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:154</a></div>
|
|
427
427
|
</td>
|
|
428
428
|
</tr>
|
|
429
429
|
</tbody>
|
|
@@ -460,8 +460,8 @@
|
|
|
460
460
|
|
|
461
461
|
<tr>
|
|
462
462
|
<td class="col-md-4">
|
|
463
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
464
|
-
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:
|
|
463
|
+
<div class="io-line">Defined in <a href="" data-line="213"
|
|
464
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:213</a></div>
|
|
465
465
|
</td>
|
|
466
466
|
</tr>
|
|
467
467
|
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
</table>
|
|
502
502
|
</div>
|
|
503
503
|
<div class="io-description">
|
|
504
|
-
<b>Returns : </b> <code>Promise<ControlOptions | null></code>
|
|
504
|
+
<b>Returns : </b> <code>Promise<ControlOptions | null | Observable></code>
|
|
505
505
|
|
|
506
506
|
</div>
|
|
507
507
|
<div class="io-description">
|
|
@@ -534,8 +534,8 @@
|
|
|
534
534
|
|
|
535
535
|
<tr>
|
|
536
536
|
<td class="col-md-4">
|
|
537
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
538
|
-
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:
|
|
537
|
+
<div class="io-line">Defined in <a href="" data-line="130"
|
|
538
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:130</a></div>
|
|
539
539
|
</td>
|
|
540
540
|
</tr>
|
|
541
541
|
|
|
@@ -616,8 +616,8 @@
|
|
|
616
616
|
|
|
617
617
|
<tr>
|
|
618
618
|
<td class="col-md-4">
|
|
619
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
620
|
-
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:
|
|
619
|
+
<div class="io-line">Defined in <a href="" data-line="230"
|
|
620
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:230</a></div>
|
|
621
621
|
</td>
|
|
622
622
|
</tr>
|
|
623
623
|
|
|
@@ -656,8 +656,8 @@
|
|
|
656
656
|
|
|
657
657
|
<tr>
|
|
658
658
|
<td class="col-md-4">
|
|
659
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
660
|
-
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:
|
|
659
|
+
<div class="io-line">Defined in <a href="" data-line="238"
|
|
660
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:238</a></div>
|
|
661
661
|
</td>
|
|
662
662
|
</tr>
|
|
663
663
|
|
|
@@ -846,7 +846,7 @@
|
|
|
846
846
|
</tr>
|
|
847
847
|
<tr>
|
|
848
848
|
<td class="col-md-4">
|
|
849
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
849
|
+
<div class="io-line">Defined in <a href="" data-line="158" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:158</a></div>
|
|
850
850
|
</td>
|
|
851
851
|
</tr>
|
|
852
852
|
|
|
@@ -879,7 +879,7 @@
|
|
|
879
879
|
</tr>
|
|
880
880
|
<tr>
|
|
881
881
|
<td class="col-md-4">
|
|
882
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
882
|
+
<div class="io-line">Defined in <a href="" data-line="157" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:157</a></div>
|
|
883
883
|
</td>
|
|
884
884
|
</tr>
|
|
885
885
|
|
|
@@ -912,7 +912,7 @@
|
|
|
912
912
|
</tr>
|
|
913
913
|
<tr>
|
|
914
914
|
<td class="col-md-4">
|
|
915
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
915
|
+
<div class="io-line">Defined in <a href="" data-line="156" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:156</a></div>
|
|
916
916
|
</td>
|
|
917
917
|
</tr>
|
|
918
918
|
|
|
@@ -945,7 +945,7 @@
|
|
|
945
945
|
</tr>
|
|
946
946
|
<tr>
|
|
947
947
|
<td class="col-md-4">
|
|
948
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
948
|
+
<div class="io-line">Defined in <a href="" data-line="159" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:159</a></div>
|
|
949
949
|
</td>
|
|
950
950
|
</tr>
|
|
951
951
|
|
|
@@ -1014,22 +1014,32 @@ export class GetCompanyMethod implements Method<ControlOption, { parameters:
|
|
|
1014
1014
|
OnDestroy,
|
|
1015
1015
|
ProviderToken,
|
|
1016
1016
|
} from '@angular/core';
|
|
1017
|
-
import { MatAutocomplete } from '@angular/material/autocomplete';
|
|
1018
|
-
import { ControlOption, ControlOptions } from '@rxap/utilities';
|
|
1019
|
-
import { distinctUntilChanged, Subscription, tap } from 'rxjs';
|
|
1020
|
-
import { isUUID } from '@rxap/validator';
|
|
1021
|
-
import { Method, MethodWithParameters } from '@rxap/pattern';
|
|
1022
|
-
import { Mixin } from '@rxap/mixin';
|
|
1023
1017
|
import { NgControl } from '@angular/forms';
|
|
1018
|
+
import { MatAutocomplete } from '@angular/material/autocomplete';
|
|
1024
1019
|
import { MatFormField } from '@angular/material/form-field';
|
|
1020
|
+
import { controlValueChanges$ } from '@rxap/forms';
|
|
1021
|
+
import { Mixin } from '@rxap/mixin';
|
|
1022
|
+
import { OpenApiRemoteMethodParameter } from '@rxap/open-api/remote-method';
|
|
1023
|
+
import {
|
|
1024
|
+
Method,
|
|
1025
|
+
MethodWithParameters,
|
|
1026
|
+
} from '@rxap/pattern';
|
|
1025
1027
|
import { isDefined } from '@rxap/rxjs';
|
|
1026
|
-
import {
|
|
1027
|
-
|
|
1028
|
+
import {
|
|
1029
|
+
ControlOption,
|
|
1030
|
+
ControlOptions,
|
|
1031
|
+
} from '@rxap/utilities';
|
|
1032
|
+
import { isUUID } from '@rxap/validator';
|
|
1033
|
+
import {
|
|
1034
|
+
distinctUntilChanged,
|
|
1035
|
+
Observable,
|
|
1036
|
+
Subscription,
|
|
1037
|
+
tap,
|
|
1038
|
+
} from 'rxjs';
|
|
1028
1039
|
import {
|
|
1029
1040
|
ExtractIsValueFunctionMixin,
|
|
1030
1041
|
UseIsValueFunction,
|
|
1031
1042
|
} from '../mixins/extract-is-value-function.mixin';
|
|
1032
|
-
import { ExtractMethodMixin } from '../mixins/extract-method.mixin';
|
|
1033
1043
|
import { UseMethodConfig } from '../mixins/extract-methods.mixin';
|
|
1034
1044
|
import { UseOptionsMethod } from '../mixins/extract-options-method.mixin';
|
|
1035
1045
|
import {
|
|
@@ -1040,9 +1050,10 @@ import {
|
|
|
1040
1050
|
ExtractToDisplayFunctionMixin,
|
|
1041
1051
|
UseToDisplayFunction,
|
|
1042
1052
|
} from '../mixins/extract-to-display-function.mixin';
|
|
1043
|
-
import {
|
|
1044
|
-
|
|
1045
|
-
|
|
1053
|
+
import {
|
|
1054
|
+
OptionsFromMethodDirective,
|
|
1055
|
+
OptionsFromMethodDirectiveSettings,
|
|
1056
|
+
} from './options-from-method.directive';
|
|
1046
1057
|
|
|
1047
1058
|
export function UseAutocompleteOptionsMethod(
|
|
1048
1059
|
method: ProviderToken<MethodWithParameters<ControlOptions, AutocompleteOptionsFromMethodDirectiveParameters>>,
|
|
@@ -1161,7 +1172,8 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1161
1172
|
|
|
1162
1173
|
private _subscription?: Subscription;
|
|
1163
1174
|
|
|
1164
|
-
public ngOnDestroy() {
|
|
1175
|
+
public override ngOnDestroy() {
|
|
1176
|
+
super.ngOnDestroy();
|
|
1165
1177
|
this._subscription?.unsubscribe();
|
|
1166
1178
|
}
|
|
1167
1179
|
|
|
@@ -1194,7 +1206,7 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1194
1206
|
// to trigger the toDisplay function in the mat-autocomplete
|
|
1195
1207
|
distinctUntilChanged(),
|
|
1196
1208
|
tap(async value => {
|
|
1197
|
-
|
|
1209
|
+
await this.load(this.parameters);
|
|
1198
1210
|
if (this.isValue?.(value)) {
|
|
1199
1211
|
this.triggerAutocompleteToDisplay();
|
|
1200
1212
|
}
|
|
@@ -1202,7 +1214,7 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1202
1214
|
).subscribe();
|
|
1203
1215
|
}
|
|
1204
1216
|
|
|
1205
|
-
protected override loadOptions(parameters: Parameters = {} as Parameters): Promise<ControlOptions | null> {
|
|
1217
|
+
protected override loadOptions(parameters: Parameters = {} as Parameters): Promise<ControlOptions | null | Observable<ControlOptions | null>> {
|
|
1206
1218
|
if (!this.control) {
|
|
1207
1219
|
throw new Error('The control is not yet defined');
|
|
1208
1220
|
}
|