@rxap/form-system 19.2.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 +40 -0
- package/compodoc/changelog.html +38 -0
- package/compodoc/classes/ExtractOptionsDataSourceMixin.html +24 -80
- package/compodoc/classes/ExtractRemoteMethodsMixin.html +36 -52
- package/compodoc/dependencies.html +17 -17
- 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 +9603 -7779
- 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 +6 -5
- package/docs/html/classes/SubmitContextFormAdapter.html +10 -10
- package/docs/html/classes/TestNgControl.html +26 -26
- 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 -124
- 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 +20 -32
- 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 +14 -38
- package/docs/markdown/classes/InputSelectOptionsDirective.md +51 -76
- package/docs/markdown/classes/IsEqualToDirective.md +9 -19
- package/docs/markdown/classes/IsSelectableValueDirective.md +24 -48
- package/docs/markdown/classes/NoopResolveMethod.md +3 -3
- package/docs/markdown/classes/OptionsFromMethodDirective.md +140 -87
- package/docs/markdown/classes/OptionsFromRemoteMethodDirective.md +15 -70
- package/docs/markdown/classes/RxapFormSystemError.md +25 -13
- package/docs/markdown/classes/SubmitContextFormAdapter.md +32 -32
- package/docs/markdown/classes/TestNgControl.md +29 -29
- 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 -123
- 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 +19 -31
- 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 +13 -37
- package/docs/wiki/Class.InputSelectOptionsDirective.md +50 -75
- package/docs/wiki/Class.IsEqualToDirective.md +8 -18
- package/docs/wiki/Class.IsSelectableValueDirective.md +23 -47
- package/docs/wiki/Class.NoopResolveMethod.md +2 -2
- package/docs/wiki/Class.OptionsFromMethodDirective.md +139 -86
- package/docs/wiki/Class.OptionsFromRemoteMethodDirective.md +14 -69
- package/docs/wiki/Class.RxapFormSystemError.md +24 -12
- package/docs/wiki/Class.SubmitContextFormAdapter.md +31 -31
- package/docs/wiki/Class.TestNgControl.md +28 -28
- 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 +304 -450
- package/fesm2022/rxap-form-system.mjs.map +1 -1
- package/package.json +49 -44
- package/types/rxap-form-system.d.ts +628 -0
- package/docs/html/classes/FormSystemDirectivesModule.html +0 -2
- package/docs/markdown/classes/FormSystemDirectivesModule.md +0 -19
- package/docs/wiki/Class.FormSystemDirectivesModule.md +0 -15
- package/index.d.ts +0 -41
- package/lib/control-data-source.d.ts +0 -13
- package/lib/control-with-data-source.d.ts +0 -5
- package/lib/decorators/metadata-keys.d.ts +0 -6
- package/lib/decorators/use-component.d.ts +0 -3
- package/lib/decorators/use-data-source.d.ts +0 -14
- package/lib/decorators/use-form-component.d.ts +0 -7
- package/lib/directives/array/for-form-array-items.directive.d.ts +0 -26
- package/lib/directives/array/form-array-add-item-button.directive.d.ts +0 -20
- package/lib/directives/array/form-array-item-button.d.ts +0 -30
- package/lib/directives/array/form-array-item-remove-button.directive.d.ts +0 -16
- package/lib/directives/array/form-array-item-restore-button.directive.d.ts +0 -9
- package/lib/directives/array/form-array-removable.directive.d.ts +0 -19
- package/lib/directives/autocomplete-options-from-method.directive.d.ts +0 -76
- package/lib/directives/control-hide-show.directive.d.ts +0 -40
- package/lib/directives/form-directives.module.d.ts +0 -8
- package/lib/directives/input-select-options.directive.d.ts +0 -74
- package/lib/directives/options-from-method.directive.d.ts +0 -39
- package/lib/directives/options-from-remote-method.directive.d.ts +0 -38
- package/lib/directives/test-ng-control.d.ts +0 -7
- package/lib/error.d.ts +0 -4
- package/lib/form-context-from-activated-route.factory.d.ts +0 -2
- package/lib/form-system-control.directive.d.ts +0 -37
- package/lib/mixins/adapters.d.ts +0 -9
- package/lib/mixins/apply-use-function.adapters.d.ts +0 -3
- package/lib/mixins/apply-use-method.adapters.d.ts +0 -4
- package/lib/mixins/extract-control-from-parent.mixin.d.ts +0 -5
- package/lib/mixins/extract-control.mixin.d.ts +0 -9
- package/lib/mixins/extract-data-sources.mixin.d.ts +0 -5
- package/lib/mixins/extract-form-definition.mixin.d.ts +0 -4
- package/lib/mixins/extract-function.mixin.d.ts +0 -9
- package/lib/mixins/extract-functions.mixin.d.ts +0 -19
- package/lib/mixins/extract-is-value-function.mixin.d.ts +0 -13
- package/lib/mixins/extract-method.mixin.d.ts +0 -9
- package/lib/mixins/extract-methods.mixin.d.ts +0 -20
- package/lib/mixins/extract-options-data-source.mixin.d.ts +0 -26
- package/lib/mixins/extract-options-method.mixin.d.ts +0 -17
- package/lib/mixins/extract-resolve-method.mixin.d.ts +0 -16
- package/lib/mixins/extract-to-display-function.mixin.d.ts +0 -13
- package/lib/submit-context-form-adapter.factory.d.ts +0 -13
- package/lib/validators/is-equal-to.d.ts +0 -17
- package/lib/validators/is-selectable-value.directive.d.ts +0 -16
|
@@ -170,14 +170,52 @@
|
|
|
170
170
|
<tr>
|
|
171
171
|
<td class="col-md-4">
|
|
172
172
|
<ul class="index-list">
|
|
173
|
+
<li>
|
|
174
|
+
<span class="modifier">Protected</span>
|
|
175
|
+
<span class="modifier">Readonly</span>
|
|
176
|
+
<a href="#cdr" >cdr</a>
|
|
177
|
+
</li>
|
|
173
178
|
<li>
|
|
174
179
|
<span class="modifier">Protected</span>
|
|
175
180
|
<a href="#control" >control</a>
|
|
176
181
|
</li>
|
|
182
|
+
<li>
|
|
183
|
+
<span class="modifier">Protected</span>
|
|
184
|
+
<span class="modifier">Readonly</span>
|
|
185
|
+
<a href="#currentViewer" >currentViewer</a>
|
|
186
|
+
</li>
|
|
177
187
|
<li>
|
|
178
188
|
<span class="modifier">Protected</span>
|
|
179
189
|
<a href="#dataSource" >dataSource</a>
|
|
180
190
|
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<span class="modifier">Protected</span>
|
|
193
|
+
<span class="modifier">Readonly</span>
|
|
194
|
+
<a href="#dataSourceLoader" >dataSourceLoader</a>
|
|
195
|
+
</li>
|
|
196
|
+
<li>
|
|
197
|
+
<span class="modifier">Protected</span>
|
|
198
|
+
<span class="modifier">Readonly</span>
|
|
199
|
+
<a href="#injector" >injector</a>
|
|
200
|
+
</li>
|
|
201
|
+
<li>
|
|
202
|
+
<span class="modifier">Public</span>
|
|
203
|
+
<span class="modifier">Readonly</span>
|
|
204
|
+
<a href="#matAutocomplete" >matAutocomplete</a>
|
|
205
|
+
</li>
|
|
206
|
+
<li>
|
|
207
|
+
<span class="modifier">Protected</span>
|
|
208
|
+
<a href="#matFormField" >matFormField</a>
|
|
209
|
+
</li>
|
|
210
|
+
<li>
|
|
211
|
+
<span class="modifier">Public</span>
|
|
212
|
+
<span class="modifier">Readonly</span>
|
|
213
|
+
<a href="#metadata" >metadata</a>
|
|
214
|
+
</li>
|
|
215
|
+
<li>
|
|
216
|
+
<span class="modifier">Protected</span>
|
|
217
|
+
<a href="#ngControl" >ngControl</a>
|
|
218
|
+
</li>
|
|
181
219
|
<li>
|
|
182
220
|
<span class="modifier">Protected</span>
|
|
183
221
|
<a href="#options" >options</a>
|
|
@@ -192,25 +230,20 @@
|
|
|
192
230
|
<span class="modifier">Readonly</span>
|
|
193
231
|
<a href="#subscription" >subscription</a>
|
|
194
232
|
</li>
|
|
195
|
-
</ul>
|
|
196
|
-
</td>
|
|
197
|
-
</tr>
|
|
198
|
-
|
|
199
|
-
<tr>
|
|
200
|
-
<td class="col-md-4">
|
|
201
|
-
<h6><b>Methods</b></h6>
|
|
202
|
-
</td>
|
|
203
|
-
</tr>
|
|
204
|
-
<tr>
|
|
205
|
-
<td class="col-md-4">
|
|
206
|
-
<ul class="index-list">
|
|
207
233
|
<li>
|
|
208
234
|
<span class="modifier">Protected</span>
|
|
209
|
-
|
|
235
|
+
<span class="modifier">Readonly</span>
|
|
236
|
+
<a href="#template" >template</a>
|
|
237
|
+
</li>
|
|
238
|
+
<li>
|
|
239
|
+
<span class="modifier">Protected</span>
|
|
240
|
+
<span class="modifier">Readonly</span>
|
|
241
|
+
<a href="#viewContainerRef" >viewContainerRef</a>
|
|
210
242
|
</li>
|
|
211
243
|
<li>
|
|
212
244
|
<span class="modifier">Public</span>
|
|
213
|
-
|
|
245
|
+
<span class="modifier">Readonly</span>
|
|
246
|
+
<a href="#viewer" >viewer</a>
|
|
214
247
|
</li>
|
|
215
248
|
</ul>
|
|
216
249
|
</td>
|
|
@@ -218,20 +251,19 @@
|
|
|
218
251
|
|
|
219
252
|
<tr>
|
|
220
253
|
<td class="col-md-4">
|
|
221
|
-
<h6><b>
|
|
254
|
+
<h6><b>Methods</b></h6>
|
|
222
255
|
</td>
|
|
223
256
|
</tr>
|
|
224
257
|
<tr>
|
|
225
258
|
<td class="col-md-4">
|
|
226
259
|
<ul class="index-list">
|
|
227
260
|
<li>
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
<li>
|
|
231
|
-
<a href="#rxapInputSelectOptionsMetadata" >rxapInputSelectOptionsMetadata</a>
|
|
261
|
+
<span class="modifier">Protected</span>
|
|
262
|
+
<a href="#renderTemplate" >renderTemplate</a>
|
|
232
263
|
</li>
|
|
233
264
|
<li>
|
|
234
|
-
|
|
265
|
+
<span class="modifier">Public</span>
|
|
266
|
+
<a href="#toDisplay" >toDisplay</a>
|
|
235
267
|
</li>
|
|
236
268
|
</ul>
|
|
237
269
|
</td>
|
|
@@ -240,202 +272,13 @@
|
|
|
240
272
|
|
|
241
273
|
|
|
242
274
|
|
|
275
|
+
|
|
243
276
|
</tbody>
|
|
244
277
|
</table>
|
|
245
278
|
</section>
|
|
246
279
|
|
|
247
|
-
<section data-compodoc="block-constructor">
|
|
248
|
-
<h3 id="constructor">Constructor</h3>
|
|
249
|
-
<table class="table table-sm table-bordered">
|
|
250
|
-
<tbody>
|
|
251
|
-
<tr>
|
|
252
|
-
<td class="col-md-4">
|
|
253
|
-
<code>constructor(template: <a href="../interfaces/InputSelectOptionsTemplateContext.html" target="_self">TemplateRef<InputSelectOptionsTemplateContext></a>, dataSourceLoader: DataSourceLoader, viewContainerRef: ViewContainerRef, injector: Injector, cdr: ChangeDetectorRef, ngControl: NgControl | null, matFormField: MatFormField | null)</code>
|
|
254
|
-
</td>
|
|
255
|
-
</tr>
|
|
256
|
-
<tr>
|
|
257
|
-
<td class="col-md-4">
|
|
258
|
-
<div class="io-line">Defined in <a href="" data-line="122" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:122</a></div>
|
|
259
|
-
</td>
|
|
260
|
-
</tr>
|
|
261
280
|
|
|
262
|
-
<tr>
|
|
263
|
-
<td class="col-md-4">
|
|
264
|
-
<div>
|
|
265
|
-
<b>Parameters :</b>
|
|
266
|
-
<table class="params">
|
|
267
|
-
<thead>
|
|
268
|
-
<tr>
|
|
269
|
-
<td>Name</td>
|
|
270
|
-
<td>Type</td>
|
|
271
|
-
<td>Optional</td>
|
|
272
|
-
</tr>
|
|
273
|
-
</thead>
|
|
274
|
-
<tbody>
|
|
275
|
-
<tr>
|
|
276
|
-
<td>template</td>
|
|
277
|
-
|
|
278
|
-
<td>
|
|
279
|
-
<code><a href="../interfaces/InputSelectOptionsTemplateContext.html" target="_self" >TemplateRef<InputSelectOptionsTemplateContext></a></code>
|
|
280
|
-
</td>
|
|
281
|
-
|
|
282
|
-
<td>
|
|
283
|
-
No
|
|
284
|
-
</td>
|
|
285
|
-
|
|
286
|
-
</tr>
|
|
287
|
-
<tr>
|
|
288
|
-
<td>dataSourceLoader</td>
|
|
289
|
-
|
|
290
|
-
<td>
|
|
291
|
-
<code>DataSourceLoader</code>
|
|
292
|
-
</td>
|
|
293
|
-
|
|
294
|
-
<td>
|
|
295
|
-
No
|
|
296
|
-
</td>
|
|
297
|
-
|
|
298
|
-
</tr>
|
|
299
|
-
<tr>
|
|
300
|
-
<td>viewContainerRef</td>
|
|
301
|
-
|
|
302
|
-
<td>
|
|
303
|
-
<code>ViewContainerRef</code>
|
|
304
|
-
</td>
|
|
305
|
-
|
|
306
|
-
<td>
|
|
307
|
-
No
|
|
308
|
-
</td>
|
|
309
|
-
|
|
310
|
-
</tr>
|
|
311
|
-
<tr>
|
|
312
|
-
<td>injector</td>
|
|
313
|
-
|
|
314
|
-
<td>
|
|
315
|
-
<code>Injector</code>
|
|
316
|
-
</td>
|
|
317
|
-
|
|
318
|
-
<td>
|
|
319
|
-
No
|
|
320
|
-
</td>
|
|
321
|
-
|
|
322
|
-
</tr>
|
|
323
|
-
<tr>
|
|
324
|
-
<td>cdr</td>
|
|
325
|
-
|
|
326
|
-
<td>
|
|
327
|
-
<code>ChangeDetectorRef</code>
|
|
328
|
-
</td>
|
|
329
|
-
|
|
330
|
-
<td>
|
|
331
|
-
No
|
|
332
|
-
</td>
|
|
333
|
-
|
|
334
|
-
</tr>
|
|
335
|
-
<tr>
|
|
336
|
-
<td>ngControl</td>
|
|
337
|
-
|
|
338
|
-
<td>
|
|
339
|
-
<code>NgControl | null</code>
|
|
340
|
-
</td>
|
|
341
|
-
|
|
342
|
-
<td>
|
|
343
|
-
No
|
|
344
|
-
</td>
|
|
345
|
-
|
|
346
|
-
</tr>
|
|
347
|
-
<tr>
|
|
348
|
-
<td>matFormField</td>
|
|
349
|
-
|
|
350
|
-
<td>
|
|
351
|
-
<code>MatFormField | null</code>
|
|
352
|
-
</td>
|
|
353
|
-
|
|
354
|
-
<td>
|
|
355
|
-
No
|
|
356
|
-
</td>
|
|
357
|
-
|
|
358
|
-
</tr>
|
|
359
|
-
</tbody>
|
|
360
|
-
</table>
|
|
361
|
-
</div>
|
|
362
|
-
</td>
|
|
363
|
-
</tr>
|
|
364
|
-
</tbody>
|
|
365
|
-
</table>
|
|
366
|
-
</section>
|
|
367
|
-
|
|
368
|
-
<section data-compodoc="block-inputs">
|
|
369
|
-
<h3 id="inputs">Inputs</h3>
|
|
370
|
-
<table class="table table-sm table-bordered">
|
|
371
|
-
<tbody>
|
|
372
|
-
<tr>
|
|
373
|
-
<td class="col-md-4">
|
|
374
|
-
<a name="rxapInputSelectOptionsMatAutocomplete"></a>
|
|
375
|
-
<b>rxapInputSelectOptionsMatAutocomplete</b>
|
|
376
|
-
</td>
|
|
377
|
-
</tr>
|
|
378
|
-
<tr>
|
|
379
|
-
<td class="col-md-4">
|
|
380
|
-
<i>Type : </i> <code>MatAutocomplete</code>
|
|
381
|
-
|
|
382
|
-
</td>
|
|
383
|
-
</tr>
|
|
384
|
-
<tr>
|
|
385
|
-
<td class="col-md-2" colspan="2">
|
|
386
|
-
<div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:103</a></div>
|
|
387
|
-
</td>
|
|
388
|
-
</tr>
|
|
389
|
-
</tbody>
|
|
390
|
-
</table>
|
|
391
|
-
<table class="table table-sm table-bordered">
|
|
392
|
-
<tbody>
|
|
393
|
-
<tr>
|
|
394
|
-
<td class="col-md-4">
|
|
395
|
-
<a name="rxapInputSelectOptionsMetadata"></a>
|
|
396
|
-
<b>rxapInputSelectOptionsMetadata</b>
|
|
397
|
-
</td>
|
|
398
|
-
</tr>
|
|
399
|
-
<tr>
|
|
400
|
-
<td class="col-md-4">
|
|
401
|
-
<i>Type : </i> <code>BaseDataSourceMetadata</code>
|
|
402
|
-
|
|
403
|
-
</td>
|
|
404
|
-
</tr>
|
|
405
|
-
<tr>
|
|
406
|
-
<td class="col-md-2" colspan="2">
|
|
407
|
-
<div class="io-line">Defined in <a href="" data-line="100" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:100</a></div>
|
|
408
|
-
</td>
|
|
409
|
-
</tr>
|
|
410
|
-
</tbody>
|
|
411
|
-
</table>
|
|
412
|
-
<table class="table table-sm table-bordered">
|
|
413
|
-
<tbody>
|
|
414
|
-
<tr>
|
|
415
|
-
<td class="col-md-4">
|
|
416
|
-
<a name="rxapInputSelectOptionsViewer"></a>
|
|
417
|
-
<b>rxapInputSelectOptionsViewer</b>
|
|
418
|
-
</td>
|
|
419
|
-
</tr>
|
|
420
|
-
<tr>
|
|
421
|
-
<td class="col-md-4">
|
|
422
|
-
<i>Type : </i> <code>BaseDataSourceViewer</code>
|
|
423
281
|
|
|
424
|
-
</td>
|
|
425
|
-
</tr>
|
|
426
|
-
<tr>
|
|
427
|
-
<td class="col-md-4">
|
|
428
|
-
<i>Default value : </i><code>{ id: '[rxapInputSelectOptions]' }</code>
|
|
429
|
-
</td>
|
|
430
|
-
</tr>
|
|
431
|
-
<tr>
|
|
432
|
-
<td class="col-md-2" colspan="2">
|
|
433
|
-
<div class="io-line">Defined in <a href="" data-line="97" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:97</a></div>
|
|
434
|
-
</td>
|
|
435
|
-
</tr>
|
|
436
|
-
</tbody>
|
|
437
|
-
</table>
|
|
438
|
-
</section>
|
|
439
282
|
|
|
440
283
|
|
|
441
284
|
|
|
@@ -466,8 +309,8 @@
|
|
|
466
309
|
|
|
467
310
|
<tr>
|
|
468
311
|
<td class="col-md-4">
|
|
469
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
470
|
-
class="link-to-prism">src/lib/directives/input-select-options.directive.ts:
|
|
312
|
+
<div class="io-line">Defined in <a href="" data-line="198"
|
|
313
|
+
class="link-to-prism">src/lib/directives/input-select-options.directive.ts:198</a></div>
|
|
471
314
|
</td>
|
|
472
315
|
</tr>
|
|
473
316
|
|
|
@@ -539,8 +382,8 @@
|
|
|
539
382
|
|
|
540
383
|
<tr>
|
|
541
384
|
<td class="col-md-4">
|
|
542
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
543
|
-
class="link-to-prism">src/lib/directives/input-select-options.directive.ts:
|
|
385
|
+
<div class="io-line">Defined in <a href="" data-line="147"
|
|
386
|
+
class="link-to-prism">src/lib/directives/input-select-options.directive.ts:147</a></div>
|
|
544
387
|
</td>
|
|
545
388
|
</tr>
|
|
546
389
|
|
|
@@ -592,6 +435,33 @@
|
|
|
592
435
|
<h3 id="inputs">
|
|
593
436
|
Properties
|
|
594
437
|
</h3>
|
|
438
|
+
<table class="table table-sm table-bordered">
|
|
439
|
+
<tbody>
|
|
440
|
+
<tr>
|
|
441
|
+
<td class="col-md-4">
|
|
442
|
+
<a name="cdr"></a>
|
|
443
|
+
<span class="name">
|
|
444
|
+
<span class="modifier">Protected</span>
|
|
445
|
+
<span class="modifier">Readonly</span>
|
|
446
|
+
<span ><b>cdr</b></span>
|
|
447
|
+
<a href="#cdr"><span class="icon ion-ios-link"></span></a>
|
|
448
|
+
</span>
|
|
449
|
+
</td>
|
|
450
|
+
</tr>
|
|
451
|
+
<tr>
|
|
452
|
+
<td class="col-md-4">
|
|
453
|
+
<i>Default value : </i><code>inject<ChangeDetectorRef>(ChangeDetectorRef)</code>
|
|
454
|
+
</td>
|
|
455
|
+
</tr>
|
|
456
|
+
<tr>
|
|
457
|
+
<td class="col-md-4">
|
|
458
|
+
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:86</a></div>
|
|
459
|
+
</td>
|
|
460
|
+
</tr>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
</tbody>
|
|
464
|
+
</table>
|
|
595
465
|
<table class="table table-sm table-bordered">
|
|
596
466
|
<tbody>
|
|
597
467
|
<tr>
|
|
@@ -612,10 +482,44 @@
|
|
|
612
482
|
</tr>
|
|
613
483
|
<tr>
|
|
614
484
|
<td class="col-md-4">
|
|
615
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
485
|
+
<div class="io-line">Defined in <a href="" data-line="105" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:105</a></div>
|
|
486
|
+
</td>
|
|
487
|
+
</tr>
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
</tbody>
|
|
491
|
+
</table>
|
|
492
|
+
<table class="table table-sm table-bordered">
|
|
493
|
+
<tbody>
|
|
494
|
+
<tr>
|
|
495
|
+
<td class="col-md-4">
|
|
496
|
+
<a name="currentViewer"></a>
|
|
497
|
+
<span class="name">
|
|
498
|
+
<span class="modifier">Protected</span>
|
|
499
|
+
<span class="modifier">Readonly</span>
|
|
500
|
+
<span ><b>currentViewer</b></span>
|
|
501
|
+
<a href="#currentViewer"><span class="icon ion-ios-link"></span></a>
|
|
502
|
+
</span>
|
|
503
|
+
</td>
|
|
504
|
+
</tr>
|
|
505
|
+
<tr>
|
|
506
|
+
<td class="col-md-4">
|
|
507
|
+
<i>Default value : </i><code>linkedSignal(() => this.viewer())</code>
|
|
508
|
+
</td>
|
|
509
|
+
</tr>
|
|
510
|
+
<tr>
|
|
511
|
+
<td class="col-md-4">
|
|
512
|
+
<div class="io-line">Defined in <a href="" data-line="101" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:101</a></div>
|
|
616
513
|
</td>
|
|
617
514
|
</tr>
|
|
618
515
|
|
|
516
|
+
<tr>
|
|
517
|
+
<td class="col-md-4">
|
|
518
|
+
<div class="io-description"><p>The viewer used to connect to the data source. Defaults to the input value, but is
|
|
519
|
+
replaced with a viewer bound to the control after the view init.</p>
|
|
520
|
+
</div>
|
|
521
|
+
</td>
|
|
522
|
+
</tr>
|
|
619
523
|
|
|
620
524
|
</tbody>
|
|
621
525
|
</table>
|
|
@@ -639,7 +543,167 @@
|
|
|
639
543
|
</tr>
|
|
640
544
|
<tr>
|
|
641
545
|
<td class="col-md-4">
|
|
642
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
546
|
+
<div class="io-line">Defined in <a href="" data-line="107" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:107</a></div>
|
|
547
|
+
</td>
|
|
548
|
+
</tr>
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
</tbody>
|
|
552
|
+
</table>
|
|
553
|
+
<table class="table table-sm table-bordered">
|
|
554
|
+
<tbody>
|
|
555
|
+
<tr>
|
|
556
|
+
<td class="col-md-4">
|
|
557
|
+
<a name="dataSourceLoader"></a>
|
|
558
|
+
<span class="name">
|
|
559
|
+
<span class="modifier">Protected</span>
|
|
560
|
+
<span class="modifier">Readonly</span>
|
|
561
|
+
<span ><b>dataSourceLoader</b></span>
|
|
562
|
+
<a href="#dataSourceLoader"><span class="icon ion-ios-link"></span></a>
|
|
563
|
+
</span>
|
|
564
|
+
</td>
|
|
565
|
+
</tr>
|
|
566
|
+
<tr>
|
|
567
|
+
<td class="col-md-4">
|
|
568
|
+
<i>Default value : </i><code>inject<DataSourceLoader>(DataSourceLoader)</code>
|
|
569
|
+
</td>
|
|
570
|
+
</tr>
|
|
571
|
+
<tr>
|
|
572
|
+
<td class="col-md-4">
|
|
573
|
+
<div class="io-line">Defined in <a href="" data-line="83" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:83</a></div>
|
|
574
|
+
</td>
|
|
575
|
+
</tr>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
</tbody>
|
|
579
|
+
</table>
|
|
580
|
+
<table class="table table-sm table-bordered">
|
|
581
|
+
<tbody>
|
|
582
|
+
<tr>
|
|
583
|
+
<td class="col-md-4">
|
|
584
|
+
<a name="injector"></a>
|
|
585
|
+
<span class="name">
|
|
586
|
+
<span class="modifier">Protected</span>
|
|
587
|
+
<span class="modifier">Readonly</span>
|
|
588
|
+
<span ><b>injector</b></span>
|
|
589
|
+
<a href="#injector"><span class="icon ion-ios-link"></span></a>
|
|
590
|
+
</span>
|
|
591
|
+
</td>
|
|
592
|
+
</tr>
|
|
593
|
+
<tr>
|
|
594
|
+
<td class="col-md-4">
|
|
595
|
+
<i>Default value : </i><code>inject<Injector>(INJECTOR)</code>
|
|
596
|
+
</td>
|
|
597
|
+
</tr>
|
|
598
|
+
<tr>
|
|
599
|
+
<td class="col-md-4">
|
|
600
|
+
<div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:85</a></div>
|
|
601
|
+
</td>
|
|
602
|
+
</tr>
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
</tbody>
|
|
606
|
+
</table>
|
|
607
|
+
<table class="table table-sm table-bordered">
|
|
608
|
+
<tbody>
|
|
609
|
+
<tr>
|
|
610
|
+
<td class="col-md-4">
|
|
611
|
+
<a name="matAutocomplete"></a>
|
|
612
|
+
<span class="name">
|
|
613
|
+
<span class="modifier">Public</span>
|
|
614
|
+
<span class="modifier">Readonly</span>
|
|
615
|
+
<span ><b>matAutocomplete</b></span>
|
|
616
|
+
<a href="#matAutocomplete"><span class="icon ion-ios-link"></span></a>
|
|
617
|
+
</span>
|
|
618
|
+
</td>
|
|
619
|
+
</tr>
|
|
620
|
+
<tr>
|
|
621
|
+
<td class="col-md-4">
|
|
622
|
+
<i>Default value : </i><code>input<MatAutocomplete | undefined>(undefined, { alias: "rxapInputSelectOptionsMatAutocomplete" })</code>
|
|
623
|
+
</td>
|
|
624
|
+
</tr>
|
|
625
|
+
<tr>
|
|
626
|
+
<td class="col-md-4">
|
|
627
|
+
<div class="io-line">Defined in <a href="" data-line="95" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:95</a></div>
|
|
628
|
+
</td>
|
|
629
|
+
</tr>
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
</tbody>
|
|
633
|
+
</table>
|
|
634
|
+
<table class="table table-sm table-bordered">
|
|
635
|
+
<tbody>
|
|
636
|
+
<tr>
|
|
637
|
+
<td class="col-md-4">
|
|
638
|
+
<a name="matFormField"></a>
|
|
639
|
+
<span class="name">
|
|
640
|
+
<span class="modifier">Protected</span>
|
|
641
|
+
<span ><b>matFormField</b></span>
|
|
642
|
+
<a href="#matFormField"><span class="icon ion-ios-link"></span></a>
|
|
643
|
+
</span>
|
|
644
|
+
</td>
|
|
645
|
+
</tr>
|
|
646
|
+
<tr>
|
|
647
|
+
<td class="col-md-4">
|
|
648
|
+
<i>Default value : </i><code>inject<MatFormField | null>(MAT_FORM_FIELD, { optional: true }) ?? null</code>
|
|
649
|
+
</td>
|
|
650
|
+
</tr>
|
|
651
|
+
<tr>
|
|
652
|
+
<td class="col-md-4">
|
|
653
|
+
<div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:88</a></div>
|
|
654
|
+
</td>
|
|
655
|
+
</tr>
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
</tbody>
|
|
659
|
+
</table>
|
|
660
|
+
<table class="table table-sm table-bordered">
|
|
661
|
+
<tbody>
|
|
662
|
+
<tr>
|
|
663
|
+
<td class="col-md-4">
|
|
664
|
+
<a name="metadata"></a>
|
|
665
|
+
<span class="name">
|
|
666
|
+
<span class="modifier">Public</span>
|
|
667
|
+
<span class="modifier">Readonly</span>
|
|
668
|
+
<span ><b>metadata</b></span>
|
|
669
|
+
<a href="#metadata"><span class="icon ion-ios-link"></span></a>
|
|
670
|
+
</span>
|
|
671
|
+
</td>
|
|
672
|
+
</tr>
|
|
673
|
+
<tr>
|
|
674
|
+
<td class="col-md-4">
|
|
675
|
+
<i>Default value : </i><code>input<BaseDataSourceMetadata | undefined>(undefined, { alias: "rxapInputSelectOptionsMetadata" })</code>
|
|
676
|
+
</td>
|
|
677
|
+
</tr>
|
|
678
|
+
<tr>
|
|
679
|
+
<td class="col-md-4">
|
|
680
|
+
<div class="io-line">Defined in <a href="" data-line="93" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:93</a></div>
|
|
681
|
+
</td>
|
|
682
|
+
</tr>
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
</tbody>
|
|
686
|
+
</table>
|
|
687
|
+
<table class="table table-sm table-bordered">
|
|
688
|
+
<tbody>
|
|
689
|
+
<tr>
|
|
690
|
+
<td class="col-md-4">
|
|
691
|
+
<a name="ngControl"></a>
|
|
692
|
+
<span class="name">
|
|
693
|
+
<span class="modifier">Protected</span>
|
|
694
|
+
<span ><b>ngControl</b></span>
|
|
695
|
+
<a href="#ngControl"><span class="icon ion-ios-link"></span></a>
|
|
696
|
+
</span>
|
|
697
|
+
</td>
|
|
698
|
+
</tr>
|
|
699
|
+
<tr>
|
|
700
|
+
<td class="col-md-4">
|
|
701
|
+
<i>Default value : </i><code>inject<NgControl | null>(NgControl, { optional: true }) ?? null</code>
|
|
702
|
+
</td>
|
|
703
|
+
</tr>
|
|
704
|
+
<tr>
|
|
705
|
+
<td class="col-md-4">
|
|
706
|
+
<div class="io-line">Defined in <a href="" data-line="87" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:87</a></div>
|
|
643
707
|
</td>
|
|
644
708
|
</tr>
|
|
645
709
|
|
|
@@ -671,7 +735,7 @@
|
|
|
671
735
|
</tr>
|
|
672
736
|
<tr>
|
|
673
737
|
<td class="col-md-4">
|
|
674
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
738
|
+
<div class="io-line">Defined in <a href="" data-line="109" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:109</a></div>
|
|
675
739
|
</td>
|
|
676
740
|
</tr>
|
|
677
741
|
|
|
@@ -699,7 +763,7 @@
|
|
|
699
763
|
</tr>
|
|
700
764
|
<tr>
|
|
701
765
|
<td class="col-md-4">
|
|
702
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
766
|
+
<div class="io-line">Defined in <a href="" data-line="111" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:111</a></div>
|
|
703
767
|
</td>
|
|
704
768
|
</tr>
|
|
705
769
|
|
|
@@ -726,7 +790,88 @@
|
|
|
726
790
|
</tr>
|
|
727
791
|
<tr>
|
|
728
792
|
<td class="col-md-4">
|
|
729
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
793
|
+
<div class="io-line">Defined in <a href="" data-line="103" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:103</a></div>
|
|
794
|
+
</td>
|
|
795
|
+
</tr>
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
</tbody>
|
|
799
|
+
</table>
|
|
800
|
+
<table class="table table-sm table-bordered">
|
|
801
|
+
<tbody>
|
|
802
|
+
<tr>
|
|
803
|
+
<td class="col-md-4">
|
|
804
|
+
<a name="template"></a>
|
|
805
|
+
<span class="name">
|
|
806
|
+
<span class="modifier">Protected</span>
|
|
807
|
+
<span class="modifier">Readonly</span>
|
|
808
|
+
<span ><b>template</b></span>
|
|
809
|
+
<a href="#template"><span class="icon ion-ios-link"></span></a>
|
|
810
|
+
</span>
|
|
811
|
+
</td>
|
|
812
|
+
</tr>
|
|
813
|
+
<tr>
|
|
814
|
+
<td class="col-md-4">
|
|
815
|
+
<i>Default value : </i><code>inject<TemplateRef<InputSelectOptionsTemplateContext>>(TemplateRef)</code>
|
|
816
|
+
</td>
|
|
817
|
+
</tr>
|
|
818
|
+
<tr>
|
|
819
|
+
<td class="col-md-4">
|
|
820
|
+
<div class="io-line">Defined in <a href="" data-line="82" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:82</a></div>
|
|
821
|
+
</td>
|
|
822
|
+
</tr>
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
</tbody>
|
|
826
|
+
</table>
|
|
827
|
+
<table class="table table-sm table-bordered">
|
|
828
|
+
<tbody>
|
|
829
|
+
<tr>
|
|
830
|
+
<td class="col-md-4">
|
|
831
|
+
<a name="viewContainerRef"></a>
|
|
832
|
+
<span class="name">
|
|
833
|
+
<span class="modifier">Protected</span>
|
|
834
|
+
<span class="modifier">Readonly</span>
|
|
835
|
+
<span ><b>viewContainerRef</b></span>
|
|
836
|
+
<a href="#viewContainerRef"><span class="icon ion-ios-link"></span></a>
|
|
837
|
+
</span>
|
|
838
|
+
</td>
|
|
839
|
+
</tr>
|
|
840
|
+
<tr>
|
|
841
|
+
<td class="col-md-4">
|
|
842
|
+
<i>Default value : </i><code>inject<ViewContainerRef>(ViewContainerRef)</code>
|
|
843
|
+
</td>
|
|
844
|
+
</tr>
|
|
845
|
+
<tr>
|
|
846
|
+
<td class="col-md-4">
|
|
847
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:84</a></div>
|
|
848
|
+
</td>
|
|
849
|
+
</tr>
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
</tbody>
|
|
853
|
+
</table>
|
|
854
|
+
<table class="table table-sm table-bordered">
|
|
855
|
+
<tbody>
|
|
856
|
+
<tr>
|
|
857
|
+
<td class="col-md-4">
|
|
858
|
+
<a name="viewer"></a>
|
|
859
|
+
<span class="name">
|
|
860
|
+
<span class="modifier">Public</span>
|
|
861
|
+
<span class="modifier">Readonly</span>
|
|
862
|
+
<span ><b>viewer</b></span>
|
|
863
|
+
<a href="#viewer"><span class="icon ion-ios-link"></span></a>
|
|
864
|
+
</span>
|
|
865
|
+
</td>
|
|
866
|
+
</tr>
|
|
867
|
+
<tr>
|
|
868
|
+
<td class="col-md-4">
|
|
869
|
+
<i>Default value : </i><code>input<BaseDataSourceViewer>({ id: '[rxapInputSelectOptions]' }, { alias: "rxapInputSelectOptionsViewer" })</code>
|
|
870
|
+
</td>
|
|
871
|
+
</tr>
|
|
872
|
+
<tr>
|
|
873
|
+
<td class="col-md-4">
|
|
874
|
+
<div class="io-line">Defined in <a href="" data-line="91" class="link-to-prism">src/lib/directives/input-select-options.directive.ts:91</a></div>
|
|
730
875
|
</td>
|
|
731
876
|
</tr>
|
|
732
877
|
|
|
@@ -740,20 +885,7 @@
|
|
|
740
885
|
|
|
741
886
|
|
|
742
887
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
743
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
744
|
-
AfterViewInit,
|
|
745
|
-
ChangeDetectorRef,
|
|
746
|
-
Directive,
|
|
747
|
-
Inject,
|
|
748
|
-
Injector,
|
|
749
|
-
INJECTOR,
|
|
750
|
-
Input,
|
|
751
|
-
isDevMode,
|
|
752
|
-
OnDestroy,
|
|
753
|
-
Optional,
|
|
754
|
-
TemplateRef,
|
|
755
|
-
ViewContainerRef,
|
|
756
|
-
} from '@angular/core';
|
|
888
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AfterViewInit, ChangeDetectorRef, Directive, inject, Injector, INJECTOR, input, isDevMode, linkedSignal, OnDestroy, TemplateRef, untracked, ViewContainerRef } from '@angular/core';
|
|
757
889
|
import { NgControl } from '@angular/forms';
|
|
758
890
|
import {
|
|
759
891
|
BaseDataSource,
|
|
@@ -834,15 +966,26 @@ export interface InputSelectOptionsDirective extends OnDestroy, AfterViewInit,
|
|
|
834
966
|
standalone: true,
|
|
835
967
|
})
|
|
836
968
|
export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
|
|
969
|
+
protected readonly template = inject<TemplateRef<InputSelectOptionsTemplateContext>>(TemplateRef);
|
|
970
|
+
protected readonly dataSourceLoader = inject<DataSourceLoader>(DataSourceLoader);
|
|
971
|
+
protected readonly viewContainerRef = inject<ViewContainerRef>(ViewContainerRef);
|
|
972
|
+
protected readonly injector = inject<Injector>(INJECTOR);
|
|
973
|
+
protected readonly cdr = inject<ChangeDetectorRef>(ChangeDetectorRef);
|
|
974
|
+
protected ngControl = inject<NgControl | null>(NgControl, { optional: true }) ?? null;
|
|
975
|
+
protected matFormField = inject<MatFormField | null>(MAT_FORM_FIELD, { optional: true }) ?? null;
|
|
976
|
+
|
|
837
977
|
|
|
838
|
-
|
|
839
|
-
public viewer: BaseDataSourceViewer = { id: '[rxapInputSelectOptions]' };
|
|
978
|
+
public readonly viewer = input<BaseDataSourceViewer>({ id: '[rxapInputSelectOptions]' }, { alias: "rxapInputSelectOptionsViewer" });
|
|
840
979
|
|
|
841
|
-
|
|
842
|
-
public metadata?: BaseDataSourceMetadata;
|
|
980
|
+
public readonly metadata = input<BaseDataSourceMetadata | undefined>(undefined, { alias: "rxapInputSelectOptionsMetadata" });
|
|
843
981
|
|
|
844
|
-
|
|
845
|
-
|
|
982
|
+
public readonly matAutocomplete = input<MatAutocomplete | undefined>(undefined, { alias: "rxapInputSelectOptionsMatAutocomplete" });
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* The viewer used to connect to the data source. Defaults to the input value, but is
|
|
986
|
+
* replaced with a viewer bound to the control after the view init.
|
|
987
|
+
*/
|
|
988
|
+
protected readonly currentViewer = linkedSignal(() => this.viewer());
|
|
846
989
|
|
|
847
990
|
protected readonly subscription = new Subscription();
|
|
848
991
|
|
|
@@ -863,31 +1006,9 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
|
|
|
863
1006
|
*/
|
|
864
1007
|
private isAutocompleteToDisplayTriggered = false;
|
|
865
1008
|
|
|
866
|
-
constructor(
|
|
867
|
-
@Inject(TemplateRef)
|
|
868
|
-
protected readonly template: TemplateRef<InputSelectOptionsTemplateContext>,
|
|
869
|
-
@Inject(DataSourceLoader)
|
|
870
|
-
protected readonly dataSourceLoader: DataSourceLoader,
|
|
871
|
-
@Inject(ViewContainerRef)
|
|
872
|
-
protected readonly viewContainerRef: ViewContainerRef,
|
|
873
|
-
@Inject(INJECTOR)
|
|
874
|
-
protected readonly injector: Injector,
|
|
875
|
-
@Inject(ChangeDetectorRef)
|
|
876
|
-
protected readonly cdr: ChangeDetectorRef,
|
|
877
|
-
// The ngControl could be unknown on construction
|
|
878
|
-
// bc it is available after the content is init
|
|
879
|
-
@Optional()
|
|
880
|
-
@Inject(NgControl)
|
|
881
|
-
protected ngControl: NgControl | null = null,
|
|
882
|
-
@Optional()
|
|
883
|
-
@Inject(MAT_FORM_FIELD)
|
|
884
|
-
protected matFormField: MatFormField | null = null,
|
|
885
|
-
) {
|
|
886
|
-
}
|
|
887
|
-
|
|
888
1009
|
public ngAfterViewInit() {
|
|
889
|
-
this.extractOptionsDatasource();
|
|
890
|
-
this.
|
|
1010
|
+
this.extractOptionsDatasource(undefined, this.metadata());
|
|
1011
|
+
this.currentViewer.set({
|
|
891
1012
|
id: '[rxapInputSelectOptions]' + this.control.controlId,
|
|
892
1013
|
viewChange: this.settings?.loadOnce ? EMPTY : this.control.value$.pipe(
|
|
893
1014
|
throttleTime(1000),
|
|
@@ -900,9 +1021,10 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
|
|
|
900
1021
|
}),
|
|
901
1022
|
),
|
|
902
1023
|
control: this.control,
|
|
903
|
-
};
|
|
904
|
-
|
|
905
|
-
|
|
1024
|
+
});
|
|
1025
|
+
const matAutocomplete = this.matAutocomplete();
|
|
1026
|
+
if (matAutocomplete) {
|
|
1027
|
+
matAutocomplete.displayWith = this.toDisplay.bind(this);
|
|
906
1028
|
this.settings ??= {};
|
|
907
1029
|
this.settings.filteredOptions ??= true;
|
|
908
1030
|
}
|
|
@@ -922,7 +1044,7 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
|
|
|
922
1044
|
}
|
|
923
1045
|
|
|
924
1046
|
private loadOptions(dataSource: BaseDataSource<ControlOptions | Record<string, any>> = this.dataSource) {
|
|
925
|
-
this.subscription.add(dataSource.connect(this.
|
|
1047
|
+
this.subscription.add(dataSource.connect(this.currentViewer()).pipe(
|
|
926
1048
|
switchMap(options => {
|
|
927
1049
|
if (this.settings?.filteredOptions) {
|
|
928
1050
|
return this.control.value$.pipe(
|
|
@@ -950,7 +1072,7 @@ export class InputSelectOptionsDirective implements OnDestroy, AfterViewInit {
|
|
|
950
1072
|
}),
|
|
951
1073
|
tap(options => this.renderTemplate(this.options = options)),
|
|
952
1074
|
tap(() => {
|
|
953
|
-
if (this.matAutocomplete && !this.isAutocompleteToDisplayTriggered) {
|
|
1075
|
+
if (this.matAutocomplete() && !this.isAutocompleteToDisplayTriggered) {
|
|
954
1076
|
this.isAutocompleteToDisplayTriggered = true;
|
|
955
1077
|
// trigger a change detection after the options are rendered
|
|
956
1078
|
// this is needed to trigger the mat-autocomplete options to display function
|