@rxap/form-system 21.0.1-dev.0 → 21.0.1-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 +16 -0
- package/compodoc/changelog.html +15 -0
- package/compodoc/classes/ExtractOptionsDataSourceMixin.html +24 -80
- package/compodoc/classes/ExtractRemoteMethodsMixin.html +36 -52
- package/compodoc/dependencies.html +11 -11
- package/compodoc/directives/AbstractOptionsFromMethodDirective.html +1354 -0
- package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +376 -229
- package/compodoc/directives/ControlHideShowDirective.html +43 -152
- package/compodoc/directives/ForFormArrayItemsDirective.html +6 -101
- package/compodoc/directives/FormArrayAddItemButtonDirective.html +84 -222
- package/compodoc/directives/FormArrayItemButton.html +182 -200
- package/compodoc/directives/FormArrayItemRemoveButtonDirective.html +230 -211
- package/compodoc/directives/FormArrayItemRestoreButtonDirective.html +188 -158
- package/compodoc/directives/FormArrayRemovableDirective.html +39 -61
- package/compodoc/directives/FormSystemControlDirective.html +64 -148
- package/compodoc/directives/InputSelectOptionsDirective.html +390 -268
- package/compodoc/directives/IsEqualToDirective.html +61 -117
- package/compodoc/directives/IsSelectableValueDirective.html +50 -204
- package/compodoc/directives/OptionsFromMethodDirective.html +380 -164
- package/compodoc/directives/OptionsFromRemoteMethodDirective.html +123 -212
- package/compodoc/graph/dependencies.svg +4 -70
- package/compodoc/injectables/ControlDataSource.html +4 -10
- package/compodoc/injectables/NoopResolveMethod.html +48 -40
- package/compodoc/injectables/SubmitContextFormAdapter.html +4 -9
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +46 -38
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +46 -38
- package/compodoc/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +46 -38
- package/compodoc/interfaces/ControlHideShowOptions.html +10 -30
- package/compodoc/interfaces/ForFormArrayItemsDirectiveContext.html +6 -17
- package/compodoc/interfaces/InputSelectOptionsSettings.html +26 -49
- package/compodoc/interfaces/InputSelectOptionsTemplateContext.html +26 -49
- package/compodoc/interfaces/OptionsFromMethodDirectiveSettings.html +63 -45
- package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +63 -45
- package/compodoc/interfaces/OptionsFromRemoteMethodTemplateContext.html +34 -50
- package/compodoc/js/menu-wc.js +3 -32
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +2 -114
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +8836 -7240
- 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/AbstractOptionsFromMethodDirective.html +38 -0
- package/docs/html/classes/AutocompleteOptionsFromMethodDirective.html +19 -16
- package/docs/html/classes/ControlDataSource.html +13 -13
- package/docs/html/classes/ControlHideShowDirective.html +5 -5
- 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 -4
- 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/InputSelectOptionsDirective.html +10 -7
- package/docs/html/classes/IsEqualToDirective.html +5 -5
- package/docs/html/classes/IsSelectableValueDirective.html +4 -5
- package/docs/html/classes/NoopResolveMethod.html +2 -2
- package/docs/html/classes/OptionsFromMethodDirective.html +24 -24
- package/docs/html/classes/OptionsFromRemoteMethodDirective.html +5 -11
- 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 -1
- 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/AbstractOptionsFromMethodDirective.md +436 -0
- package/docs/markdown/classes/AutocompleteOptionsFromMethodDirective.md +131 -122
- package/docs/markdown/classes/ControlDataSource.md +51 -51
- package/docs/markdown/classes/ControlHideShowDirective.md +11 -31
- 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 +19 -31
- package/docs/markdown/classes/ExtractOptionsMethodMixin.md +12 -12
- 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 -25
- package/docs/markdown/classes/FormArrayAddItemButtonDirective.md +14 -26
- package/docs/markdown/classes/FormArrayItemButton.md +21 -41
- package/docs/markdown/classes/FormArrayItemRemoveButtonDirective.md +28 -58
- package/docs/markdown/classes/FormArrayItemRestoreButtonDirective.md +25 -45
- package/docs/markdown/classes/FormArrayRemovableDirective.md +10 -18
- package/docs/markdown/classes/FormSystemControlDirective.md +13 -37
- package/docs/markdown/classes/InputSelectOptionsDirective.md +50 -75
- package/docs/markdown/classes/IsEqualToDirective.md +9 -19
- package/docs/markdown/classes/IsSelectableValueDirective.md +23 -47
- package/docs/markdown/classes/NoopResolveMethod.md +3 -3
- package/docs/markdown/classes/OptionsFromMethodDirective.md +140 -85
- package/docs/markdown/classes/OptionsFromRemoteMethodDirective.md +14 -67
- 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 +2 -2
- 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 -3
- 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 +2 -2
- 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.AbstractOptionsFromMethodDirective.md +432 -0
- package/docs/wiki/Class.AutocompleteOptionsFromMethodDirective.md +130 -121
- package/docs/wiki/Class.ControlDataSource.md +50 -50
- package/docs/wiki/Class.ControlHideShowDirective.md +10 -30
- 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 +18 -30
- package/docs/wiki/Class.ExtractOptionsMethodMixin.md +11 -11
- 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 -24
- package/docs/wiki/Class.FormArrayAddItemButtonDirective.md +13 -25
- package/docs/wiki/Class.FormArrayItemButton.md +20 -40
- package/docs/wiki/Class.FormArrayItemRemoveButtonDirective.md +27 -57
- package/docs/wiki/Class.FormArrayItemRestoreButtonDirective.md +24 -44
- package/docs/wiki/Class.FormArrayRemovableDirective.md +9 -17
- package/docs/wiki/Class.FormSystemControlDirective.md +12 -36
- package/docs/wiki/Class.InputSelectOptionsDirective.md +49 -74
- package/docs/wiki/Class.IsEqualToDirective.md +8 -18
- package/docs/wiki/Class.IsSelectableValueDirective.md +22 -46
- package/docs/wiki/Class.NoopResolveMethod.md +2 -2
- package/docs/wiki/Class.OptionsFromMethodDirective.md +139 -84
- package/docs/wiki/Class.OptionsFromRemoteMethodDirective.md +13 -66
- 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 +1 -1
- 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 +1 -1
- 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 -1
- package/docs/wiki/globals.md +2 -2
- package/fesm2022/rxap-form-system.mjs +274 -420
- package/fesm2022/rxap-form-system.mjs.map +1 -1
- package/package.json +28 -28
- package/types/rxap-form-system.d.ts +90 -80
- package/docs/html/classes/FormSystemDirectivesModule.html +0 -2
- package/docs/markdown/classes/FormSystemDirectivesModule.md +0 -19
- package/docs/wiki/Class.FormSystemDirectivesModule.md +0 -15
|
@@ -183,21 +183,71 @@
|
|
|
183
183
|
<span class="modifier"></span>
|
|
184
184
|
<a href="#injector" >injector</a>
|
|
185
185
|
</li>
|
|
186
|
+
<li>
|
|
187
|
+
<span class="modifier">Public</span>
|
|
188
|
+
<span class="modifier">Readonly</span>
|
|
189
|
+
<a href="#isValue" >isValue</a>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<span class="modifier">Public</span>
|
|
193
|
+
<span class="modifier">Readonly</span>
|
|
194
|
+
<a href="#matAutocomplete" >matAutocomplete</a>
|
|
195
|
+
</li>
|
|
186
196
|
<li>
|
|
187
197
|
<span class="modifier">Protected</span>
|
|
188
198
|
<span class="modifier"></span>
|
|
189
199
|
<a href="#matFormField" >matFormField</a>
|
|
190
200
|
</li>
|
|
201
|
+
<li>
|
|
202
|
+
<span class="modifier">Public</span>
|
|
203
|
+
<span class="modifier">Readonly</span>
|
|
204
|
+
<a href="#method" >method</a>
|
|
205
|
+
</li>
|
|
191
206
|
<li>
|
|
192
207
|
<span class="modifier">Protected</span>
|
|
193
208
|
<span class="modifier"></span>
|
|
194
209
|
<a href="#ngControl" >ngControl</a>
|
|
195
210
|
</li>
|
|
211
|
+
<li>
|
|
212
|
+
<span class="modifier">Public</span>
|
|
213
|
+
<span class="modifier">Readonly</span>
|
|
214
|
+
<a href="#parameters" >parameters</a>
|
|
215
|
+
</li>
|
|
216
|
+
<li>
|
|
217
|
+
<span class="modifier">Public</span>
|
|
218
|
+
<span class="modifier">Readonly</span>
|
|
219
|
+
<a href="#resetOnChange" >resetOnChange</a>
|
|
220
|
+
</li>
|
|
221
|
+
<li>
|
|
222
|
+
<span class="modifier">Protected</span>
|
|
223
|
+
<span class="modifier">Readonly</span>
|
|
224
|
+
<a href="#resolvedIsValue" >resolvedIsValue</a>
|
|
225
|
+
</li>
|
|
226
|
+
<li>
|
|
227
|
+
<span class="modifier">Protected</span>
|
|
228
|
+
<span class="modifier">Readonly</span>
|
|
229
|
+
<a href="#resolvedResolveMethod" >resolvedResolveMethod</a>
|
|
230
|
+
</li>
|
|
231
|
+
<li>
|
|
232
|
+
<span class="modifier">Protected</span>
|
|
233
|
+
<span class="modifier">Readonly</span>
|
|
234
|
+
<a href="#resolvedToDisplay" >resolvedToDisplay</a>
|
|
235
|
+
</li>
|
|
236
|
+
<li>
|
|
237
|
+
<span class="modifier">Public</span>
|
|
238
|
+
<span class="modifier">Readonly</span>
|
|
239
|
+
<a href="#resolveMethod" >resolveMethod</a>
|
|
240
|
+
</li>
|
|
196
241
|
<li>
|
|
197
242
|
<span class="modifier">Protected</span>
|
|
198
243
|
<span class="modifier"></span>
|
|
199
244
|
<a href="#settings" >settings</a>
|
|
200
245
|
</li>
|
|
246
|
+
<li>
|
|
247
|
+
<span class="modifier">Public</span>
|
|
248
|
+
<span class="modifier">Readonly</span>
|
|
249
|
+
<a href="#toDisplay" >toDisplay</a>
|
|
250
|
+
</li>
|
|
201
251
|
</ul>
|
|
202
252
|
</td>
|
|
203
253
|
</tr>
|
|
@@ -238,38 +288,6 @@
|
|
|
238
288
|
</td>
|
|
239
289
|
</tr>
|
|
240
290
|
|
|
241
|
-
<tr>
|
|
242
|
-
<td class="col-md-4">
|
|
243
|
-
<h6><b>Inputs</b></h6>
|
|
244
|
-
</td>
|
|
245
|
-
</tr>
|
|
246
|
-
<tr>
|
|
247
|
-
<td class="col-md-4">
|
|
248
|
-
<ul class="index-list">
|
|
249
|
-
<li>
|
|
250
|
-
<a href="#rxapAutocompleteOptionsFromMethodCall" >rxapAutocompleteOptionsFromMethodCall</a>
|
|
251
|
-
</li>
|
|
252
|
-
<li>
|
|
253
|
-
<a href="#rxapAutocompleteOptionsFromMethodIsValue" >rxapAutocompleteOptionsFromMethodIsValue</a>
|
|
254
|
-
</li>
|
|
255
|
-
<li>
|
|
256
|
-
<a href="#rxapAutocompleteOptionsFromMethodMatAutocomplete" >rxapAutocompleteOptionsFromMethodMatAutocomplete</a>
|
|
257
|
-
</li>
|
|
258
|
-
<li>
|
|
259
|
-
<a href="#rxapAutocompleteOptionsFromMethodParameters" >rxapAutocompleteOptionsFromMethodParameters</a>
|
|
260
|
-
</li>
|
|
261
|
-
<li>
|
|
262
|
-
<a href="#rxapAutocompleteOptionsFromMethodResetOnChange" >rxapAutocompleteOptionsFromMethodResetOnChange</a>
|
|
263
|
-
</li>
|
|
264
|
-
<li>
|
|
265
|
-
<a href="#rxapAutocompleteOptionsFromMethodResolve" >rxapAutocompleteOptionsFromMethodResolve</a>
|
|
266
|
-
</li>
|
|
267
|
-
<li>
|
|
268
|
-
<a href="#rxapAutocompleteOptionsFromMethodToDisplay" >rxapAutocompleteOptionsFromMethodToDisplay</a>
|
|
269
|
-
</li>
|
|
270
|
-
</ul>
|
|
271
|
-
</td>
|
|
272
|
-
</tr>
|
|
273
291
|
|
|
274
292
|
|
|
275
293
|
|
|
@@ -279,156 +297,7 @@
|
|
|
279
297
|
</section>
|
|
280
298
|
|
|
281
299
|
|
|
282
|
-
<section data-compodoc="block-inputs">
|
|
283
|
-
<h3 id="inputs">Inputs</h3>
|
|
284
|
-
<table class="table table-sm table-bordered">
|
|
285
|
-
<tbody>
|
|
286
|
-
<tr>
|
|
287
|
-
<td class="col-md-4">
|
|
288
|
-
<a name="rxapAutocompleteOptionsFromMethodCall"></a>
|
|
289
|
-
<b>rxapAutocompleteOptionsFromMethodCall</b>
|
|
290
|
-
</td>
|
|
291
|
-
</tr>
|
|
292
|
-
<tr>
|
|
293
|
-
<td class="col-md-4">
|
|
294
|
-
<i>Type : </i> <code>Method<ControlOptions | Parameters></code>
|
|
295
|
-
|
|
296
|
-
</td>
|
|
297
|
-
</tr>
|
|
298
|
-
<tr>
|
|
299
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
302
|
-
</tr>
|
|
303
|
-
</tbody>
|
|
304
|
-
</table>
|
|
305
|
-
<table class="table table-sm table-bordered">
|
|
306
|
-
<tbody>
|
|
307
|
-
<tr>
|
|
308
|
-
<td class="col-md-4">
|
|
309
|
-
<a name="rxapAutocompleteOptionsFromMethodIsValue"></a>
|
|
310
|
-
<b>rxapAutocompleteOptionsFromMethodIsValue</b>
|
|
311
|
-
</td>
|
|
312
|
-
</tr>
|
|
313
|
-
<tr>
|
|
314
|
-
<td class="col-md-4">
|
|
315
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
|
|
316
|
-
|
|
317
|
-
</td>
|
|
318
|
-
</tr>
|
|
319
|
-
<tr>
|
|
320
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
323
|
-
</tr>
|
|
324
|
-
</tbody>
|
|
325
|
-
</table>
|
|
326
|
-
<table class="table table-sm table-bordered">
|
|
327
|
-
<tbody>
|
|
328
|
-
<tr>
|
|
329
|
-
<td class="col-md-4">
|
|
330
|
-
<a name="rxapAutocompleteOptionsFromMethodMatAutocomplete"></a>
|
|
331
|
-
<b>rxapAutocompleteOptionsFromMethodMatAutocomplete</b>
|
|
332
|
-
</td>
|
|
333
|
-
</tr>
|
|
334
|
-
<tr>
|
|
335
|
-
<td class="col-md-4">
|
|
336
|
-
<i>Type : </i> <code>MatAutocomplete</code>
|
|
337
|
-
|
|
338
|
-
</td>
|
|
339
|
-
</tr>
|
|
340
|
-
<tr>
|
|
341
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
344
|
-
</tr>
|
|
345
|
-
</tbody>
|
|
346
|
-
</table>
|
|
347
|
-
<table class="table table-sm table-bordered">
|
|
348
|
-
<tbody>
|
|
349
|
-
<tr>
|
|
350
|
-
<td class="col-md-4">
|
|
351
|
-
<a name="rxapAutocompleteOptionsFromMethodParameters"></a>
|
|
352
|
-
<b>rxapAutocompleteOptionsFromMethodParameters</b>
|
|
353
|
-
</td>
|
|
354
|
-
</tr>
|
|
355
|
-
<tr>
|
|
356
|
-
<td class="col-md-4">
|
|
357
|
-
<i>Type : </i> <code>Parameters</code>
|
|
358
|
-
|
|
359
|
-
</td>
|
|
360
|
-
</tr>
|
|
361
|
-
<tr>
|
|
362
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
365
|
-
</tr>
|
|
366
|
-
</tbody>
|
|
367
|
-
</table>
|
|
368
|
-
<table class="table table-sm table-bordered">
|
|
369
|
-
<tbody>
|
|
370
|
-
<tr>
|
|
371
|
-
<td class="col-md-4">
|
|
372
|
-
<a name="rxapAutocompleteOptionsFromMethodResetOnChange"></a>
|
|
373
|
-
<b>rxapAutocompleteOptionsFromMethodResetOnChange</b>
|
|
374
|
-
</td>
|
|
375
|
-
</tr>
|
|
376
|
-
<tr>
|
|
377
|
-
<td class="col-md-4">
|
|
378
|
-
<i>Type : </i> <code>Value</code>
|
|
379
|
-
|
|
380
|
-
</td>
|
|
381
|
-
</tr>
|
|
382
|
-
<tr>
|
|
383
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
386
|
-
</tr>
|
|
387
|
-
</tbody>
|
|
388
|
-
</table>
|
|
389
|
-
<table class="table table-sm table-bordered">
|
|
390
|
-
<tbody>
|
|
391
|
-
<tr>
|
|
392
|
-
<td class="col-md-4">
|
|
393
|
-
<a name="rxapAutocompleteOptionsFromMethodResolve"></a>
|
|
394
|
-
<b>rxapAutocompleteOptionsFromMethodResolve</b>
|
|
395
|
-
</td>
|
|
396
|
-
</tr>
|
|
397
|
-
<tr>
|
|
398
|
-
<td class="col-md-4">
|
|
399
|
-
<i>Type : </i> <code>MethodWithParameters<ControlOption | ></code>
|
|
400
|
-
|
|
401
|
-
</td>
|
|
402
|
-
</tr>
|
|
403
|
-
<tr>
|
|
404
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
407
|
-
</tr>
|
|
408
|
-
</tbody>
|
|
409
|
-
</table>
|
|
410
|
-
<table class="table table-sm table-bordered">
|
|
411
|
-
<tbody>
|
|
412
|
-
<tr>
|
|
413
|
-
<td class="col-md-4">
|
|
414
|
-
<a name="rxapAutocompleteOptionsFromMethodToDisplay"></a>
|
|
415
|
-
<b>rxapAutocompleteOptionsFromMethodToDisplay</b>
|
|
416
|
-
</td>
|
|
417
|
-
</tr>
|
|
418
|
-
<tr>
|
|
419
|
-
<td class="col-md-4">
|
|
420
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
|
|
421
300
|
|
|
422
|
-
</td>
|
|
423
|
-
</tr>
|
|
424
|
-
<tr>
|
|
425
|
-
<td class="col-md-2" colspan="2">
|
|
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
|
-
</td>
|
|
428
|
-
</tr>
|
|
429
|
-
</tbody>
|
|
430
|
-
</table>
|
|
431
|
-
</section>
|
|
432
301
|
|
|
433
302
|
|
|
434
303
|
|
|
@@ -460,8 +329,8 @@
|
|
|
460
329
|
|
|
461
330
|
<tr>
|
|
462
331
|
<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:
|
|
332
|
+
<div class="io-line">Defined in <a href="" data-line="220"
|
|
333
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:220</a></div>
|
|
465
334
|
</td>
|
|
466
335
|
</tr>
|
|
467
336
|
|
|
@@ -527,15 +396,15 @@
|
|
|
527
396
|
<tr>
|
|
528
397
|
<td class="col-md-4">
|
|
529
398
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
530
|
-
<code>ngTemplateContextGuard(dir: <a href="../directives/
|
|
399
|
+
<code>ngTemplateContextGuard(dir: <a href="../directives/AbstractOptionsFromMethodDirective.html" target="_self">AbstractOptionsFromMethodDirective</a>, ctx: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
531
400
|
</td>
|
|
532
401
|
</tr>
|
|
533
402
|
|
|
534
403
|
|
|
535
404
|
<tr>
|
|
536
405
|
<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:
|
|
406
|
+
<div class="io-line">Defined in <a href="" data-line="133"
|
|
407
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:133</a></div>
|
|
539
408
|
</td>
|
|
540
409
|
</tr>
|
|
541
410
|
|
|
@@ -558,7 +427,7 @@
|
|
|
558
427
|
<tr>
|
|
559
428
|
<td>dir</td>
|
|
560
429
|
<td>
|
|
561
|
-
<code><a href="../directives/
|
|
430
|
+
<code><a href="../directives/AbstractOptionsFromMethodDirective.html" target="_self" >AbstractOptionsFromMethodDirective</a></code>
|
|
562
431
|
</td>
|
|
563
432
|
|
|
564
433
|
<td>
|
|
@@ -616,8 +485,8 @@
|
|
|
616
485
|
|
|
617
486
|
<tr>
|
|
618
487
|
<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:
|
|
488
|
+
<div class="io-line">Defined in <a href="" data-line="237"
|
|
489
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:237</a></div>
|
|
621
490
|
</td>
|
|
622
491
|
</tr>
|
|
623
492
|
|
|
@@ -656,8 +525,8 @@
|
|
|
656
525
|
|
|
657
526
|
<tr>
|
|
658
527
|
<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:
|
|
528
|
+
<div class="io-line">Defined in <a href="" data-line="245"
|
|
529
|
+
class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:245</a></div>
|
|
661
530
|
</td>
|
|
662
531
|
</tr>
|
|
663
532
|
|
|
@@ -851,6 +720,60 @@
|
|
|
851
720
|
</tr>
|
|
852
721
|
|
|
853
722
|
|
|
723
|
+
</tbody>
|
|
724
|
+
</table>
|
|
725
|
+
<table class="table table-sm table-bordered">
|
|
726
|
+
<tbody>
|
|
727
|
+
<tr>
|
|
728
|
+
<td class="col-md-4">
|
|
729
|
+
<a name="isValue"></a>
|
|
730
|
+
<span class="name">
|
|
731
|
+
<span class="modifier">Public</span>
|
|
732
|
+
<span class="modifier">Readonly</span>
|
|
733
|
+
<span ><b>isValue</b></span>
|
|
734
|
+
<a href="#isValue"><span class="icon ion-ios-link"></span></a>
|
|
735
|
+
</span>
|
|
736
|
+
</td>
|
|
737
|
+
</tr>
|
|
738
|
+
<tr>
|
|
739
|
+
<td class="col-md-4">
|
|
740
|
+
<i>Default value : </i><code>input<((value: any) => boolean) | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodIsValue' })</code>
|
|
741
|
+
</td>
|
|
742
|
+
</tr>
|
|
743
|
+
<tr>
|
|
744
|
+
<td class="col-md-4">
|
|
745
|
+
<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>
|
|
746
|
+
</td>
|
|
747
|
+
</tr>
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
</tbody>
|
|
751
|
+
</table>
|
|
752
|
+
<table class="table table-sm table-bordered">
|
|
753
|
+
<tbody>
|
|
754
|
+
<tr>
|
|
755
|
+
<td class="col-md-4">
|
|
756
|
+
<a name="matAutocomplete"></a>
|
|
757
|
+
<span class="name">
|
|
758
|
+
<span class="modifier">Public</span>
|
|
759
|
+
<span class="modifier">Readonly</span>
|
|
760
|
+
<span ><b>matAutocomplete</b></span>
|
|
761
|
+
<a href="#matAutocomplete"><span class="icon ion-ios-link"></span></a>
|
|
762
|
+
</span>
|
|
763
|
+
</td>
|
|
764
|
+
</tr>
|
|
765
|
+
<tr>
|
|
766
|
+
<td class="col-md-4">
|
|
767
|
+
<i>Default value : </i><code>input<MatAutocomplete | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodMatAutocomplete' })</code>
|
|
768
|
+
</td>
|
|
769
|
+
</tr>
|
|
770
|
+
<tr>
|
|
771
|
+
<td class="col-md-4">
|
|
772
|
+
<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>
|
|
773
|
+
</td>
|
|
774
|
+
</tr>
|
|
775
|
+
|
|
776
|
+
|
|
854
777
|
</tbody>
|
|
855
778
|
</table>
|
|
856
779
|
<table class="table table-sm table-bordered">
|
|
@@ -884,6 +807,33 @@
|
|
|
884
807
|
</tr>
|
|
885
808
|
|
|
886
809
|
|
|
810
|
+
</tbody>
|
|
811
|
+
</table>
|
|
812
|
+
<table class="table table-sm table-bordered">
|
|
813
|
+
<tbody>
|
|
814
|
+
<tr>
|
|
815
|
+
<td class="col-md-4">
|
|
816
|
+
<a name="method"></a>
|
|
817
|
+
<span class="name">
|
|
818
|
+
<span class="modifier">Public</span>
|
|
819
|
+
<span class="modifier">Readonly</span>
|
|
820
|
+
<span ><b>method</b></span>
|
|
821
|
+
<a href="#method"><span class="icon ion-ios-link"></span></a>
|
|
822
|
+
</span>
|
|
823
|
+
</td>
|
|
824
|
+
</tr>
|
|
825
|
+
<tr>
|
|
826
|
+
<td class="col-md-4">
|
|
827
|
+
<i>Default value : </i><code>input<OptionsMethod<ControlOptions<Value>, Parameters> | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodCall' })</code>
|
|
828
|
+
</td>
|
|
829
|
+
</tr>
|
|
830
|
+
<tr>
|
|
831
|
+
<td class="col-md-4">
|
|
832
|
+
<div class="io-line">Defined in <a href="" data-line="144" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:144</a></div>
|
|
833
|
+
</td>
|
|
834
|
+
</tr>
|
|
835
|
+
|
|
836
|
+
|
|
887
837
|
</tbody>
|
|
888
838
|
</table>
|
|
889
839
|
<table class="table table-sm table-bordered">
|
|
@@ -917,6 +867,168 @@
|
|
|
917
867
|
</tr>
|
|
918
868
|
|
|
919
869
|
|
|
870
|
+
</tbody>
|
|
871
|
+
</table>
|
|
872
|
+
<table class="table table-sm table-bordered">
|
|
873
|
+
<tbody>
|
|
874
|
+
<tr>
|
|
875
|
+
<td class="col-md-4">
|
|
876
|
+
<a name="parameters"></a>
|
|
877
|
+
<span class="name">
|
|
878
|
+
<span class="modifier">Public</span>
|
|
879
|
+
<span class="modifier">Readonly</span>
|
|
880
|
+
<span ><b>parameters</b></span>
|
|
881
|
+
<a href="#parameters"><span class="icon ion-ios-link"></span></a>
|
|
882
|
+
</span>
|
|
883
|
+
</td>
|
|
884
|
+
</tr>
|
|
885
|
+
<tr>
|
|
886
|
+
<td class="col-md-4">
|
|
887
|
+
<i>Default value : </i><code>input<Parameters | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodParameters' })</code>
|
|
888
|
+
</td>
|
|
889
|
+
</tr>
|
|
890
|
+
<tr>
|
|
891
|
+
<td class="col-md-4">
|
|
892
|
+
<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>
|
|
893
|
+
</td>
|
|
894
|
+
</tr>
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
</tbody>
|
|
898
|
+
</table>
|
|
899
|
+
<table class="table table-sm table-bordered">
|
|
900
|
+
<tbody>
|
|
901
|
+
<tr>
|
|
902
|
+
<td class="col-md-4">
|
|
903
|
+
<a name="resetOnChange"></a>
|
|
904
|
+
<span class="name">
|
|
905
|
+
<span class="modifier">Public</span>
|
|
906
|
+
<span class="modifier">Readonly</span>
|
|
907
|
+
<span ><b>resetOnChange</b></span>
|
|
908
|
+
<a href="#resetOnChange"><span class="icon ion-ios-link"></span></a>
|
|
909
|
+
</span>
|
|
910
|
+
</td>
|
|
911
|
+
</tr>
|
|
912
|
+
<tr>
|
|
913
|
+
<td class="col-md-4">
|
|
914
|
+
<i>Default value : </i><code>input<Value | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodResetOnChange' })</code>
|
|
915
|
+
</td>
|
|
916
|
+
</tr>
|
|
917
|
+
<tr>
|
|
918
|
+
<td class="col-md-4">
|
|
919
|
+
<div class="io-line">Defined in <a href="" data-line="141" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:141</a></div>
|
|
920
|
+
</td>
|
|
921
|
+
</tr>
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
</tbody>
|
|
925
|
+
</table>
|
|
926
|
+
<table class="table table-sm table-bordered">
|
|
927
|
+
<tbody>
|
|
928
|
+
<tr>
|
|
929
|
+
<td class="col-md-4">
|
|
930
|
+
<a name="resolvedIsValue"></a>
|
|
931
|
+
<span class="name">
|
|
932
|
+
<span class="modifier">Protected</span>
|
|
933
|
+
<span class="modifier">Readonly</span>
|
|
934
|
+
<span ><b>resolvedIsValue</b></span>
|
|
935
|
+
<a href="#resolvedIsValue"><span class="icon ion-ios-link"></span></a>
|
|
936
|
+
</span>
|
|
937
|
+
</td>
|
|
938
|
+
</tr>
|
|
939
|
+
<tr>
|
|
940
|
+
<td class="col-md-4">
|
|
941
|
+
<i>Default value : </i><code>linkedSignal(() => this.isValue())</code>
|
|
942
|
+
</td>
|
|
943
|
+
</tr>
|
|
944
|
+
<tr>
|
|
945
|
+
<td class="col-md-4">
|
|
946
|
+
<div class="io-line">Defined in <a href="" data-line="153" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:153</a></div>
|
|
947
|
+
</td>
|
|
948
|
+
</tr>
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
</tbody>
|
|
952
|
+
</table>
|
|
953
|
+
<table class="table table-sm table-bordered">
|
|
954
|
+
<tbody>
|
|
955
|
+
<tr>
|
|
956
|
+
<td class="col-md-4">
|
|
957
|
+
<a name="resolvedResolveMethod"></a>
|
|
958
|
+
<span class="name">
|
|
959
|
+
<span class="modifier">Protected</span>
|
|
960
|
+
<span class="modifier">Readonly</span>
|
|
961
|
+
<span ><b>resolvedResolveMethod</b></span>
|
|
962
|
+
<a href="#resolvedResolveMethod"><span class="icon ion-ios-link"></span></a>
|
|
963
|
+
</span>
|
|
964
|
+
</td>
|
|
965
|
+
</tr>
|
|
966
|
+
<tr>
|
|
967
|
+
<td class="col-md-4">
|
|
968
|
+
<i>Default value : </i><code>linkedSignal(() => this.resolveMethod())</code>
|
|
969
|
+
</td>
|
|
970
|
+
</tr>
|
|
971
|
+
<tr>
|
|
972
|
+
<td class="col-md-4">
|
|
973
|
+
<div class="io-line">Defined in <a href="" data-line="152" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:152</a></div>
|
|
974
|
+
</td>
|
|
975
|
+
</tr>
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
</tbody>
|
|
979
|
+
</table>
|
|
980
|
+
<table class="table table-sm table-bordered">
|
|
981
|
+
<tbody>
|
|
982
|
+
<tr>
|
|
983
|
+
<td class="col-md-4">
|
|
984
|
+
<a name="resolvedToDisplay"></a>
|
|
985
|
+
<span class="name">
|
|
986
|
+
<span class="modifier">Protected</span>
|
|
987
|
+
<span class="modifier">Readonly</span>
|
|
988
|
+
<span ><b>resolvedToDisplay</b></span>
|
|
989
|
+
<a href="#resolvedToDisplay"><span class="icon ion-ios-link"></span></a>
|
|
990
|
+
</span>
|
|
991
|
+
</td>
|
|
992
|
+
</tr>
|
|
993
|
+
<tr>
|
|
994
|
+
<td class="col-md-4">
|
|
995
|
+
<i>Default value : </i><code>linkedSignal(() => this.toDisplay())</code>
|
|
996
|
+
</td>
|
|
997
|
+
</tr>
|
|
998
|
+
<tr>
|
|
999
|
+
<td class="col-md-4">
|
|
1000
|
+
<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>
|
|
1001
|
+
</td>
|
|
1002
|
+
</tr>
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
</tbody>
|
|
1006
|
+
</table>
|
|
1007
|
+
<table class="table table-sm table-bordered">
|
|
1008
|
+
<tbody>
|
|
1009
|
+
<tr>
|
|
1010
|
+
<td class="col-md-4">
|
|
1011
|
+
<a name="resolveMethod"></a>
|
|
1012
|
+
<span class="name">
|
|
1013
|
+
<span class="modifier">Public</span>
|
|
1014
|
+
<span class="modifier">Readonly</span>
|
|
1015
|
+
<span ><b>resolveMethod</b></span>
|
|
1016
|
+
<a href="#resolveMethod"><span class="icon ion-ios-link"></span></a>
|
|
1017
|
+
</span>
|
|
1018
|
+
</td>
|
|
1019
|
+
</tr>
|
|
1020
|
+
<tr>
|
|
1021
|
+
<td class="col-md-4">
|
|
1022
|
+
<i>Default value : </i><code>input<MethodWithParameters<ControlOption, { value: Value } & Parameters> | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodResolve' })</code>
|
|
1023
|
+
</td>
|
|
1024
|
+
</tr>
|
|
1025
|
+
<tr>
|
|
1026
|
+
<td class="col-md-4">
|
|
1027
|
+
<div class="io-line">Defined in <a href="" data-line="146" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:146</a></div>
|
|
1028
|
+
</td>
|
|
1029
|
+
</tr>
|
|
1030
|
+
|
|
1031
|
+
|
|
920
1032
|
</tbody>
|
|
921
1033
|
</table>
|
|
922
1034
|
<table class="table table-sm table-bordered">
|
|
@@ -950,6 +1062,33 @@
|
|
|
950
1062
|
</tr>
|
|
951
1063
|
|
|
952
1064
|
|
|
1065
|
+
</tbody>
|
|
1066
|
+
</table>
|
|
1067
|
+
<table class="table table-sm table-bordered">
|
|
1068
|
+
<tbody>
|
|
1069
|
+
<tr>
|
|
1070
|
+
<td class="col-md-4">
|
|
1071
|
+
<a name="toDisplay"></a>
|
|
1072
|
+
<span class="name">
|
|
1073
|
+
<span class="modifier">Public</span>
|
|
1074
|
+
<span class="modifier">Readonly</span>
|
|
1075
|
+
<span ><b>toDisplay</b></span>
|
|
1076
|
+
<a href="#toDisplay"><span class="icon ion-ios-link"></span></a>
|
|
1077
|
+
</span>
|
|
1078
|
+
</td>
|
|
1079
|
+
</tr>
|
|
1080
|
+
<tr>
|
|
1081
|
+
<td class="col-md-4">
|
|
1082
|
+
<i>Default value : </i><code>input<((value: any) => string) | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodToDisplay' })</code>
|
|
1083
|
+
</td>
|
|
1084
|
+
</tr>
|
|
1085
|
+
<tr>
|
|
1086
|
+
<td class="col-md-4">
|
|
1087
|
+
<div class="io-line">Defined in <a href="" data-line="150" class="link-to-prism">src/lib/directives/autocomplete-options-from-method.directive.ts:150</a></div>
|
|
1088
|
+
</td>
|
|
1089
|
+
</tr>
|
|
1090
|
+
|
|
1091
|
+
|
|
953
1092
|
</tbody>
|
|
954
1093
|
</table>
|
|
955
1094
|
</section>
|
|
@@ -1009,10 +1148,12 @@ export class GetCompanyMethod implements Method<ControlOption, { parameters:
|
|
|
1009
1148
|
Injectable,
|
|
1010
1149
|
Injector,
|
|
1011
1150
|
INJECTOR,
|
|
1012
|
-
|
|
1151
|
+
input,
|
|
1013
1152
|
isDevMode,
|
|
1153
|
+
linkedSignal,
|
|
1014
1154
|
OnDestroy,
|
|
1015
1155
|
ProviderToken,
|
|
1156
|
+
untracked,
|
|
1016
1157
|
} from '@angular/core';
|
|
1017
1158
|
import { NgControl } from '@angular/forms';
|
|
1018
1159
|
import { MatAutocomplete } from '@angular/material/autocomplete';
|
|
@@ -1051,9 +1192,10 @@ import {
|
|
|
1051
1192
|
UseToDisplayFunction,
|
|
1052
1193
|
} from '../mixins/extract-to-display-function.mixin';
|
|
1053
1194
|
import {
|
|
1054
|
-
|
|
1195
|
+
AbstractOptionsFromMethodDirective,
|
|
1055
1196
|
OptionsFromMethodDirectiveSettings,
|
|
1056
1197
|
} from './options-from-method.directive';
|
|
1198
|
+
import { OptionsMethod } from '../mixins/extract-options-method.mixin';
|
|
1057
1199
|
|
|
1058
1200
|
export function UseAutocompleteOptionsMethod(
|
|
1059
1201
|
method: ProviderToken<MethodWithParameters<ControlOptions, AutocompleteOptionsFromMethodDirectiveParameters>>,
|
|
@@ -1128,34 +1270,31 @@ export class NoopResolveMethod<Value> implements Method<ControlOption,
|
|
|
1128
1270
|
standalone: true,
|
|
1129
1271
|
})
|
|
1130
1272
|
export class AutocompleteOptionsFromMethodDirective<Value = any, Parameters extends AutocompleteOptionsFromMethodDirectiveParameters<Value> = AutocompleteOptionsFromMethodDirectiveParameters<Value>>
|
|
1131
|
-
extends
|
|
1273
|
+
extends AbstractOptionsFromMethodDirective<Value, Parameters>
|
|
1132
1274
|
implements AfterViewInit, OnDestroy {
|
|
1133
1275
|
|
|
1134
1276
|
static override ngTemplateContextGuard(
|
|
1135
|
-
dir:
|
|
1277
|
+
dir: AbstractOptionsFromMethodDirective,
|
|
1136
1278
|
ctx: any,
|
|
1137
1279
|
): ctx is AutocompleteOptionsFromRemoteMethodTemplateContext {
|
|
1138
1280
|
return true;
|
|
1139
1281
|
}
|
|
1140
1282
|
|
|
1141
|
-
|
|
1142
|
-
public
|
|
1143
|
-
|
|
1144
|
-
public declare resetOnChange?: Value;
|
|
1145
|
-
@Input('rxapAutocompleteOptionsFromMethodMatAutocomplete')
|
|
1146
|
-
public matAutocomplete?: MatAutocomplete;
|
|
1283
|
+
public readonly parameters = input<Parameters | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodParameters' });
|
|
1284
|
+
public readonly resetOnChange = input<Value | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodResetOnChange' });
|
|
1285
|
+
public readonly matAutocomplete = input<MatAutocomplete | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodMatAutocomplete' });
|
|
1147
1286
|
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1148
|
-
|
|
1149
|
-
public declare method: Method<ControlOptions, Parameters>;
|
|
1287
|
+
public readonly method = input<OptionsMethod<ControlOptions<Value>, Parameters> | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodCall' });
|
|
1150
1288
|
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1151
|
-
|
|
1152
|
-
public resolveMethod?: MethodWithParameters<ControlOption, { value: Value } & Parameters>;
|
|
1289
|
+
public readonly resolveMethod = input<MethodWithParameters<ControlOption, { value: Value } & Parameters> | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodResolve' });
|
|
1153
1290
|
|
|
1154
|
-
|
|
1155
|
-
public isValue?: (value: any) => boolean;
|
|
1291
|
+
public readonly isValue = input<((value: any) => boolean) | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodIsValue' });
|
|
1156
1292
|
|
|
1157
|
-
|
|
1158
|
-
|
|
1293
|
+
public readonly toDisplay = input<((value: any) => string) | undefined>(undefined, { alias: 'rxapAutocompleteOptionsFromMethodToDisplay' });
|
|
1294
|
+
|
|
1295
|
+
protected readonly resolvedResolveMethod = linkedSignal(() => this.resolveMethod());
|
|
1296
|
+
protected readonly resolvedIsValue = linkedSignal(() => this.isValue());
|
|
1297
|
+
protected readonly resolvedToDisplay = linkedSignal(() => this.toDisplay());
|
|
1159
1298
|
|
|
1160
1299
|
protected override ngControl: NgControl | null = null;
|
|
1161
1300
|
protected override matFormField: MatFormField | null = null;
|
|
@@ -1177,23 +1316,30 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1177
1316
|
this._subscription?.unsubscribe();
|
|
1178
1317
|
}
|
|
1179
1318
|
|
|
1180
|
-
public override
|
|
1181
|
-
|
|
1319
|
+
public override ngAfterViewInit() {
|
|
1320
|
+
const matAutocomplete = this.matAutocomplete();
|
|
1321
|
+
if (matAutocomplete) {
|
|
1182
1322
|
this.settings ??= {};
|
|
1183
1323
|
this.settings.filteredOptions ??= true;
|
|
1184
1324
|
}
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1325
|
+
super.ngAfterViewInit();
|
|
1326
|
+
if (!this.resolvedResolveMethod()) {
|
|
1327
|
+
this.resolvedResolveMethod.set(this.extractResolveMethod());
|
|
1328
|
+
}
|
|
1329
|
+
if (!this.resolvedIsValue()) {
|
|
1330
|
+
this.resolvedIsValue.set(this.extractIsValueFunction((value: any) => typeof value === 'string' && isUUID(value)));
|
|
1331
|
+
}
|
|
1332
|
+
if (!this.resolvedToDisplay()) {
|
|
1333
|
+
this.resolvedToDisplay.set(this.extractToDisplayFunction((value: any): string => {
|
|
1334
|
+
if (!value) {
|
|
1335
|
+
return '';
|
|
1336
|
+
}
|
|
1337
|
+
const option = this.findOptionByValue(value);
|
|
1338
|
+
return option?.display ?? (isDevMode() ? 'to display error' : '...');
|
|
1339
|
+
}));
|
|
1340
|
+
}
|
|
1341
|
+
if (matAutocomplete) {
|
|
1342
|
+
matAutocomplete.displayWith = this.resolvedToDisplay()!.bind(this);
|
|
1197
1343
|
}
|
|
1198
1344
|
if (!this.control) {
|
|
1199
1345
|
throw new Error('The control is not yet defined');
|
|
@@ -1206,8 +1352,8 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1206
1352
|
// to trigger the toDisplay function in the mat-autocomplete
|
|
1207
1353
|
distinctUntilChanged(),
|
|
1208
1354
|
tap(async value => {
|
|
1209
|
-
await this.load(this.parameters);
|
|
1210
|
-
if (this.
|
|
1355
|
+
await this.load(untracked(this.parameters));
|
|
1356
|
+
if (this.resolvedIsValue()?.(value)) {
|
|
1211
1357
|
this.triggerAutocompleteToDisplay();
|
|
1212
1358
|
}
|
|
1213
1359
|
}),
|
|
@@ -1220,7 +1366,7 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1220
1366
|
}
|
|
1221
1367
|
const value = this.control?.value;
|
|
1222
1368
|
const c_parameters = {...parameters};
|
|
1223
|
-
if (this.
|
|
1369
|
+
if (this.resolvedIsValue()?.(value)) {
|
|
1224
1370
|
return this.resolveValue(value, c_parameters);
|
|
1225
1371
|
} else {
|
|
1226
1372
|
c_parameters.search ??= value;
|
|
@@ -1233,14 +1379,15 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1233
1379
|
|
|
1234
1380
|
protected override renderTemplate() {
|
|
1235
1381
|
super.renderTemplate();
|
|
1236
|
-
if (this.matAutocomplete && !this.isAutocompleteToDisplayTriggered) {
|
|
1382
|
+
if (this.matAutocomplete() && !this.isAutocompleteToDisplayTriggered) {
|
|
1237
1383
|
this.isAutocompleteToDisplayTriggered = true;
|
|
1238
1384
|
this.triggerAutocompleteToDisplay();
|
|
1239
1385
|
}
|
|
1240
1386
|
}
|
|
1241
1387
|
|
|
1242
1388
|
protected async resolveValue(value: Value, parameters: Parameters = {} as Parameters) {
|
|
1243
|
-
|
|
1389
|
+
const resolveMethod = this.resolvedResolveMethod();
|
|
1390
|
+
if (!resolveMethod) {
|
|
1244
1391
|
if (isDevMode()) {
|
|
1245
1392
|
console.warn('The resolve method is not yet defined');
|
|
1246
1393
|
}
|
|
@@ -1248,7 +1395,7 @@ export class AutocompleteOptionsFromMethodDirective<Value = any, Paramet
|
|
|
1248
1395
|
}
|
|
1249
1396
|
// only resolve the value if the option is not already loaded
|
|
1250
1397
|
if (!this.findOptionByValue(value)) {
|
|
1251
|
-
const option = await
|
|
1398
|
+
const option = await resolveMethod!.call({...parameters, value});
|
|
1252
1399
|
if (option.value !== value) {
|
|
1253
1400
|
throw new Error('The resolved value is not the same as the input value');
|
|
1254
1401
|
}
|