@rxap/form-system 19.1.0-dev.1 → 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 +6 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/classes/ExtractOptionsMethodMixin.html +6 -3
- package/compodoc/dependencies.html +4 -4
- package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +47 -35
- package/compodoc/directives/OptionsFromMethodDirective.html +86 -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 +29 -7
- package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +29 -7
- 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 +3845 -3558
- 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 +7 -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 +9 -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 +52 -40
- 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 +53 -29
- 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 +51 -39
- 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 +52 -28
- 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 +15 -4
- 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 +8 -6
- package/lib/mixins/extract-options-method.mixin.d.ts +3 -1
- package/package.json +13 -13
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { AfterViewInit, Injector, OnDestroy, ProviderToken } from '@angular/core';
|
|
2
|
-
import { MatAutocomplete } from '@angular/material/autocomplete';
|
|
3
|
-
import { ControlOption, ControlOptions } from '@rxap/utilities';
|
|
4
|
-
import { Method, MethodWithParameters } from '@rxap/pattern';
|
|
5
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { MatAutocomplete } from '@angular/material/autocomplete';
|
|
6
4
|
import { MatFormField } from '@angular/material/form-field';
|
|
5
|
+
import { OpenApiRemoteMethodParameter } from '@rxap/open-api/remote-method';
|
|
6
|
+
import { Method, MethodWithParameters } from '@rxap/pattern';
|
|
7
|
+
import { ControlOption, ControlOptions } from '@rxap/utilities';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
7
9
|
import { ExtractIsValueFunctionMixin } from '../mixins/extract-is-value-function.mixin';
|
|
8
10
|
import { UseMethodConfig } from '../mixins/extract-methods.mixin';
|
|
9
11
|
import { ExtractResolveMethodMixin } from '../mixins/extract-resolve-method.mixin';
|
|
10
12
|
import { ExtractToDisplayFunctionMixin } from '../mixins/extract-to-display-function.mixin';
|
|
11
13
|
import { OptionsFromMethodDirective, OptionsFromMethodDirectiveSettings } from './options-from-method.directive';
|
|
12
|
-
import { OpenApiRemoteMethodParameter } from '@rxap/open-api/remote-method';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare function UseAutocompleteOptionsMethod(method: ProviderToken<MethodWithParameters<ControlOptions, AutocompleteOptionsFromMethodDirectiveParameters>>): any;
|
|
15
16
|
export declare function UseAutocompleteOptionsMethod(method: ProviderToken<MethodWithParameters<ControlOptions, OpenApiRemoteMethodParameter<AutocompleteOptionsFromMethodDirectiveParameters>>>): any;
|
|
@@ -65,7 +66,7 @@ export declare class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
65
66
|
private _subscription?;
|
|
66
67
|
ngOnDestroy(): void;
|
|
67
68
|
ngAfterViewInit(): Promise<void>;
|
|
68
|
-
protected loadOptions(parameters?: Parameters): Promise<ControlOptions | null
|
|
69
|
+
protected loadOptions(parameters?: Parameters): Promise<ControlOptions | null | Observable<ControlOptions | null>>;
|
|
69
70
|
protected renderTemplate(): void;
|
|
70
71
|
protected resolveValue(value: Value, parameters?: Parameters): Promise<ControlOptions | null>;
|
|
71
72
|
private triggerAutocompleteToDisplay;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, Injector, OnChanges, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Injector, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { AbstractControlDirective, NgControl } from '@angular/forms';
|
|
3
3
|
import { MatFormField } from '@angular/material/form-field';
|
|
4
|
-
import { Method } from '@rxap/pattern';
|
|
5
4
|
import { ControlOption, ControlOptions } from '@rxap/utilities';
|
|
6
|
-
import {
|
|
5
|
+
import { Observable, Subscription } from 'rxjs';
|
|
6
|
+
import { ExtractOptionsMethodMixin, OptionsMethod } from '../mixins/extract-options-method.mixin';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface OptionsFromMethodTemplateContext {
|
|
9
9
|
$implicit: ControlOption;
|
|
@@ -12,13 +12,13 @@ export interface OptionsFromMethodDirectiveSettings {
|
|
|
12
12
|
}
|
|
13
13
|
export interface OptionsFromMethodDirective<Value = any, Parameters = any> extends AfterViewInit, OnChanges, ExtractOptionsMethodMixin {
|
|
14
14
|
}
|
|
15
|
-
export declare class OptionsFromMethodDirective<Value = any, Parameters = any> implements AfterViewInit, OnChanges {
|
|
15
|
+
export declare class OptionsFromMethodDirective<Value = any, Parameters = any> implements AfterViewInit, OnChanges, OnDestroy {
|
|
16
16
|
static ngTemplateContextGuard(dir: OptionsFromMethodDirective, ctx: any): ctx is OptionsFromMethodTemplateContext;
|
|
17
17
|
readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
18
18
|
parameters?: Parameters;
|
|
19
19
|
resetOnChange?: Value;
|
|
20
20
|
options: ControlOptions | null;
|
|
21
|
-
method:
|
|
21
|
+
method: OptionsMethod<Parameters>;
|
|
22
22
|
protected ngControl: NgControl | AbstractControlDirective | null;
|
|
23
23
|
protected matFormField: MatFormField | null;
|
|
24
24
|
protected settings: OptionsFromMethodDirectiveSettings;
|
|
@@ -26,9 +26,11 @@ export declare class OptionsFromMethodDirective<Value = any, Parameters = any> i
|
|
|
26
26
|
protected readonly injector: Injector;
|
|
27
27
|
protected readonly cdr: ChangeDetectorRef;
|
|
28
28
|
private readonly template;
|
|
29
|
+
protected _loadOptionsSubscription?: Subscription;
|
|
29
30
|
ngAfterViewInit(): Promise<void>;
|
|
31
|
+
ngOnDestroy(): void;
|
|
30
32
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
31
|
-
protected loadOptions(parameters?: Parameters): Promise<ControlOptions | null>;
|
|
33
|
+
protected loadOptions(parameters?: Parameters): Promise<Observable<ControlOptions | null> | ControlOptions | null>;
|
|
32
34
|
protected renderTemplate(): void;
|
|
33
35
|
protected setOptions(options: ControlOptions | null): void;
|
|
34
36
|
load(parameters?: Parameters | undefined): Promise<void>;
|
|
@@ -2,12 +2,14 @@ import { ProviderToken } from '@angular/core';
|
|
|
2
2
|
import { RxapFormControl } from '@rxap/forms';
|
|
3
3
|
import { Method } from '@rxap/pattern';
|
|
4
4
|
import { ControlOptions } from '@rxap/utilities';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
5
6
|
import { ExtractControlMixin } from './extract-control.mixin';
|
|
6
7
|
import { ExtractFormDefinitionMixin } from './extract-form-definition.mixin';
|
|
7
8
|
import { ExtractMethodMixin } from './extract-method.mixin';
|
|
8
9
|
import { UseMethodConfig } from './extract-methods.mixin';
|
|
9
10
|
export declare const OPTIONS_METHOD_NAME = "options";
|
|
10
|
-
export
|
|
11
|
+
export type OptionsMethod<Parameters = any> = Method<ControlOptions | Observable<ControlOptions | null> | null, Parameters>;
|
|
12
|
+
export declare function UseOptionsMethod<Parameters = any>(method: ProviderToken<OptionsMethod<Parameters>>, config?: UseMethodConfig): (target: any, propertyKey: string) => void;
|
|
11
13
|
export interface ExtractOptionsMethodMixin extends ExtractFormDefinitionMixin, ExtractMethodMixin, ExtractControlMixin {
|
|
12
14
|
}
|
|
13
15
|
export declare class ExtractOptionsMethodMixin {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.1.0-dev.
|
|
2
|
+
"version": "19.1.0-dev.2",
|
|
3
3
|
"name": "@rxap/form-system",
|
|
4
4
|
"description": "This package provides a set of directives, decorators, mixins, and validators to simplify the creation of dynamic forms in Angular applications. It offers features such as automatic control creation, data source integration, component customization, and hide/show logic based on form state. The library aims to streamline form development by providing reusable components and abstractions for common form-related tasks.\n",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"@rxap/data-source": "^19.1.1-dev.1",
|
|
16
16
|
"@rxap/definition": "^19.0.4",
|
|
17
17
|
"@rxap/forms": "^19.1.0-dev.5",
|
|
18
|
-
"@rxap/mixin": "^16.0.15-dev.
|
|
19
|
-
"@rxap/open-api": "^19.2.0-dev.
|
|
18
|
+
"@rxap/mixin": "^16.0.15-dev.3",
|
|
19
|
+
"@rxap/open-api": "^19.2.0-dev.2",
|
|
20
20
|
"@rxap/pattern": "^1.1.14",
|
|
21
|
-
"@rxap/reflect-metadata": "^1.0.16-dev.
|
|
21
|
+
"@rxap/reflect-metadata": "^1.0.16-dev.3",
|
|
22
22
|
"@rxap/remote-method": "^19.1.0-dev.0",
|
|
23
23
|
"@rxap/rxjs": "^1.1.16",
|
|
24
|
-
"@rxap/utilities": "^16.
|
|
24
|
+
"@rxap/utilities": "^16.5.0-dev.0",
|
|
25
25
|
"@rxap/validator": "^3.0.13",
|
|
26
26
|
"rxjs": "^7.8.1"
|
|
27
27
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"package": "@rxap/config",
|
|
79
|
-
"version": "19.
|
|
79
|
+
"version": "19.2.0-dev.1"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"package": "@rxap/data-source",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"package": "@rxap/data-structure-tree",
|
|
87
|
-
"version": "1.1.17-dev.
|
|
87
|
+
"version": "1.1.17-dev.2"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"package": "@rxap/definition",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"package": "@rxap/directives",
|
|
95
|
-
"version": "19.0.
|
|
95
|
+
"version": "19.1.0-dev.0"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"package": "@rxap/environment",
|
|
@@ -104,11 +104,11 @@
|
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"package": "@rxap/mixin",
|
|
107
|
-
"version": "16.0.15-dev.
|
|
107
|
+
"version": "16.0.15-dev.3"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"package": "@rxap/open-api",
|
|
111
|
-
"version": "19.2.0-dev.
|
|
111
|
+
"version": "19.2.0-dev.2"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"package": "@rxap/pattern",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"package": "@rxap/reflect-metadata",
|
|
119
|
-
"version": "1.0.16-dev.
|
|
119
|
+
"version": "1.0.16-dev.3"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"package": "@rxap/remote-method",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"package": "@rxap/utilities",
|
|
135
|
-
"version": "16.
|
|
135
|
+
"version": "16.5.0-dev.0"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"package": "@rxap/validator",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
},
|
|
152
152
|
"schematics": "./generators.json",
|
|
153
153
|
"sideEffects": false,
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "11ee995b07dc423401f75380c214f8c731293f44",
|
|
155
155
|
"module": "fesm2022/rxap-form-system.mjs",
|
|
156
156
|
"typings": "index.d.ts",
|
|
157
157
|
"exports": {
|