@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
|
@@ -177,11 +177,6 @@
|
|
|
177
177
|
<tr>
|
|
178
178
|
<td class="col-md-4">
|
|
179
179
|
<ul class="index-list">
|
|
180
|
-
<li>
|
|
181
|
-
<span class="modifier">Protected</span>
|
|
182
|
-
<span class="modifier">Optional</span>
|
|
183
|
-
<a href="#dataSource" >dataSource</a>
|
|
184
|
-
</li>
|
|
185
180
|
<li>
|
|
186
181
|
<span class="modifier">Protected</span>
|
|
187
182
|
<span class="modifier">Readonly</span>
|
|
@@ -193,24 +188,24 @@
|
|
|
193
188
|
<a href="#injector" >injector</a>
|
|
194
189
|
</li>
|
|
195
190
|
<li>
|
|
196
|
-
<span class="modifier">
|
|
197
|
-
<span class="modifier">
|
|
198
|
-
<a href="#
|
|
191
|
+
<span class="modifier">Public</span>
|
|
192
|
+
<span class="modifier">Readonly</span>
|
|
193
|
+
<a href="#viewer" >viewer</a>
|
|
199
194
|
</li>
|
|
200
195
|
<li>
|
|
201
196
|
<span class="modifier">Protected</span>
|
|
202
197
|
<span class="modifier">Optional</span>
|
|
203
|
-
<a href="#
|
|
198
|
+
<a href="#dataSource" >dataSource</a>
|
|
204
199
|
</li>
|
|
205
200
|
<li>
|
|
206
201
|
<span class="modifier">Protected</span>
|
|
207
202
|
<span class="modifier">Optional</span>
|
|
208
|
-
<a href="#
|
|
203
|
+
<a href="#settings" >settings</a>
|
|
209
204
|
</li>
|
|
210
205
|
<li>
|
|
211
206
|
<span class="modifier">Protected</span>
|
|
212
207
|
<span class="modifier">Optional</span>
|
|
213
|
-
<a href="#
|
|
208
|
+
<a href="#useDataSourceValue" >useDataSourceValue</a>
|
|
214
209
|
</li>
|
|
215
210
|
</ul>
|
|
216
211
|
</td>
|
|
@@ -236,20 +231,6 @@
|
|
|
236
231
|
</td>
|
|
237
232
|
</tr>
|
|
238
233
|
|
|
239
|
-
<tr>
|
|
240
|
-
<td class="col-md-4">
|
|
241
|
-
<h6><b>Inputs</b></h6>
|
|
242
|
-
</td>
|
|
243
|
-
</tr>
|
|
244
|
-
<tr>
|
|
245
|
-
<td class="col-md-4">
|
|
246
|
-
<ul class="index-list">
|
|
247
|
-
<li>
|
|
248
|
-
<a href="#viewer" >viewer</a>
|
|
249
|
-
</li>
|
|
250
|
-
</ul>
|
|
251
|
-
</td>
|
|
252
|
-
</tr>
|
|
253
234
|
|
|
254
235
|
|
|
255
236
|
|
|
@@ -258,96 +239,8 @@
|
|
|
258
239
|
</table>
|
|
259
240
|
</section>
|
|
260
241
|
|
|
261
|
-
<section data-compodoc="block-constructor">
|
|
262
|
-
<h3 id="constructor">Constructor</h3>
|
|
263
|
-
<table class="table table-sm table-bordered">
|
|
264
|
-
<tbody>
|
|
265
|
-
<tr>
|
|
266
|
-
<td class="col-md-4">
|
|
267
|
-
<code>constructor(dataSourceLoader: DataSourceLoader, injector: Injector)</code>
|
|
268
|
-
</td>
|
|
269
|
-
</tr>
|
|
270
|
-
<tr>
|
|
271
|
-
<td class="col-md-4">
|
|
272
|
-
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/validators/is-selectable-value.directive.ts:43</a></div>
|
|
273
|
-
</td>
|
|
274
|
-
</tr>
|
|
275
242
|
|
|
276
|
-
<tr>
|
|
277
|
-
<td class="col-md-4">
|
|
278
|
-
<div>
|
|
279
|
-
<b>Parameters :</b>
|
|
280
|
-
<table class="params">
|
|
281
|
-
<thead>
|
|
282
|
-
<tr>
|
|
283
|
-
<td>Name</td>
|
|
284
|
-
<td>Type</td>
|
|
285
|
-
<td>Optional</td>
|
|
286
|
-
</tr>
|
|
287
|
-
</thead>
|
|
288
|
-
<tbody>
|
|
289
|
-
<tr>
|
|
290
|
-
<td>dataSourceLoader</td>
|
|
291
|
-
|
|
292
|
-
<td>
|
|
293
|
-
<code>DataSourceLoader</code>
|
|
294
|
-
</td>
|
|
295
|
-
|
|
296
|
-
<td>
|
|
297
|
-
No
|
|
298
|
-
</td>
|
|
299
|
-
|
|
300
|
-
</tr>
|
|
301
|
-
<tr>
|
|
302
|
-
<td>injector</td>
|
|
303
|
-
|
|
304
|
-
<td>
|
|
305
|
-
<code>Injector</code>
|
|
306
|
-
</td>
|
|
307
|
-
|
|
308
|
-
<td>
|
|
309
|
-
No
|
|
310
|
-
</td>
|
|
311
|
-
|
|
312
|
-
</tr>
|
|
313
|
-
</tbody>
|
|
314
|
-
</table>
|
|
315
|
-
</div>
|
|
316
|
-
</td>
|
|
317
|
-
</tr>
|
|
318
|
-
</tbody>
|
|
319
|
-
</table>
|
|
320
|
-
</section>
|
|
321
243
|
|
|
322
|
-
<section data-compodoc="block-inputs">
|
|
323
|
-
<h3 id="inputs">Inputs</h3>
|
|
324
|
-
<table class="table table-sm table-bordered">
|
|
325
|
-
<tbody>
|
|
326
|
-
<tr>
|
|
327
|
-
<td class="col-md-4">
|
|
328
|
-
<a name="viewer"></a>
|
|
329
|
-
<b>viewer</b>
|
|
330
|
-
</td>
|
|
331
|
-
</tr>
|
|
332
|
-
<tr>
|
|
333
|
-
<td class="col-md-4">
|
|
334
|
-
<i>Type : </i> <code>BaseDataSourceViewer</code>
|
|
335
|
-
|
|
336
|
-
</td>
|
|
337
|
-
</tr>
|
|
338
|
-
<tr>
|
|
339
|
-
<td class="col-md-4">
|
|
340
|
-
<i>Default value : </i><code>{ id: '[rxapIsSelectableValue]' }</code>
|
|
341
|
-
</td>
|
|
342
|
-
</tr>
|
|
343
|
-
<tr>
|
|
344
|
-
<td class="col-md-2" colspan="2">
|
|
345
|
-
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/validators/is-selectable-value.directive.ts:43</a></div>
|
|
346
|
-
</td>
|
|
347
|
-
</tr>
|
|
348
|
-
</tbody>
|
|
349
|
-
</table>
|
|
350
|
-
</section>
|
|
351
244
|
|
|
352
245
|
|
|
353
246
|
|
|
@@ -378,8 +271,8 @@
|
|
|
378
271
|
|
|
379
272
|
<tr>
|
|
380
273
|
<td class="col-md-4">
|
|
381
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
382
|
-
class="link-to-prism">src/lib/validators/is-selectable-value.directive.ts:
|
|
274
|
+
<div class="io-line">Defined in <a href="" data-line="39"
|
|
275
|
+
class="link-to-prism">src/lib/validators/is-selectable-value.directive.ts:39</a></div>
|
|
383
276
|
</td>
|
|
384
277
|
</tr>
|
|
385
278
|
|
|
@@ -440,7 +333,7 @@
|
|
|
440
333
|
<tr>
|
|
441
334
|
<td class="col-md-4">
|
|
442
335
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
443
|
-
<code>extractOptionsDatasource(control?: AbstractControl)</code>
|
|
336
|
+
<code>extractOptionsDatasource(control?: AbstractControl, metadata?: BaseDataSourceMetadata)</code>
|
|
444
337
|
</td>
|
|
445
338
|
</tr>
|
|
446
339
|
|
|
@@ -453,7 +346,7 @@
|
|
|
453
346
|
</tr>
|
|
454
347
|
<tr>
|
|
455
348
|
<td class="col-md-4">
|
|
456
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:
|
|
349
|
+
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:73</a></code>
|
|
457
350
|
</div>
|
|
458
351
|
</td>
|
|
459
352
|
</tr>
|
|
@@ -485,6 +378,18 @@
|
|
|
485
378
|
</td>
|
|
486
379
|
|
|
487
380
|
|
|
381
|
+
</tr>
|
|
382
|
+
<tr>
|
|
383
|
+
<td>metadata</td>
|
|
384
|
+
<td>
|
|
385
|
+
<code>BaseDataSourceMetadata</code>
|
|
386
|
+
</td>
|
|
387
|
+
|
|
388
|
+
<td>
|
|
389
|
+
Yes
|
|
390
|
+
</td>
|
|
391
|
+
|
|
392
|
+
|
|
488
393
|
</tr>
|
|
489
394
|
</tbody>
|
|
490
395
|
</table>
|
|
@@ -510,19 +415,18 @@
|
|
|
510
415
|
<tbody>
|
|
511
416
|
<tr>
|
|
512
417
|
<td class="col-md-4">
|
|
513
|
-
<a name="
|
|
418
|
+
<a name="dataSourceLoader"></a>
|
|
514
419
|
<span class="name">
|
|
515
420
|
<span class="modifier">Protected</span>
|
|
516
|
-
<span class="modifier">
|
|
517
|
-
<span ><b>
|
|
518
|
-
<a href="#
|
|
421
|
+
<span class="modifier">Readonly</span>
|
|
422
|
+
<span ><b>dataSourceLoader</b></span>
|
|
423
|
+
<a href="#dataSourceLoader"><span class="icon ion-ios-link"></span></a>
|
|
519
424
|
</span>
|
|
520
425
|
</td>
|
|
521
426
|
</tr>
|
|
522
427
|
<tr>
|
|
523
428
|
<td class="col-md-4">
|
|
524
|
-
<i>
|
|
525
|
-
|
|
429
|
+
<i>Default value : </i><code>inject<DataSourceLoader>(DataSourceLoader)</code>
|
|
526
430
|
</td>
|
|
527
431
|
</tr>
|
|
528
432
|
<tr>
|
|
@@ -533,7 +437,7 @@
|
|
|
533
437
|
</tr>
|
|
534
438
|
<tr>
|
|
535
439
|
<td class="col-md-4">
|
|
536
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:
|
|
440
|
+
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:33</a></code>
|
|
537
441
|
</div>
|
|
538
442
|
</td>
|
|
539
443
|
</tr>
|
|
@@ -545,19 +449,18 @@
|
|
|
545
449
|
<tbody>
|
|
546
450
|
<tr>
|
|
547
451
|
<td class="col-md-4">
|
|
548
|
-
<a name="
|
|
452
|
+
<a name="injector"></a>
|
|
549
453
|
<span class="name">
|
|
550
454
|
<span class="modifier">Protected</span>
|
|
551
455
|
<span class="modifier">Readonly</span>
|
|
552
|
-
<span ><b>
|
|
553
|
-
<a href="#
|
|
456
|
+
<span ><b>injector</b></span>
|
|
457
|
+
<a href="#injector"><span class="icon ion-ios-link"></span></a>
|
|
554
458
|
</span>
|
|
555
459
|
</td>
|
|
556
460
|
</tr>
|
|
557
461
|
<tr>
|
|
558
462
|
<td class="col-md-4">
|
|
559
|
-
<i>
|
|
560
|
-
|
|
463
|
+
<i>Default value : </i><code>inject<Injector>(INJECTOR)</code>
|
|
561
464
|
</td>
|
|
562
465
|
</tr>
|
|
563
466
|
<tr>
|
|
@@ -568,7 +471,7 @@
|
|
|
568
471
|
</tr>
|
|
569
472
|
<tr>
|
|
570
473
|
<td class="col-md-4">
|
|
571
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:
|
|
474
|
+
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:34</a></code>
|
|
572
475
|
</div>
|
|
573
476
|
</td>
|
|
574
477
|
</tr>
|
|
@@ -580,31 +483,23 @@
|
|
|
580
483
|
<tbody>
|
|
581
484
|
<tr>
|
|
582
485
|
<td class="col-md-4">
|
|
583
|
-
<a name="
|
|
486
|
+
<a name="viewer"></a>
|
|
584
487
|
<span class="name">
|
|
585
|
-
<span class="modifier">
|
|
488
|
+
<span class="modifier">Public</span>
|
|
586
489
|
<span class="modifier">Readonly</span>
|
|
587
|
-
<span ><b>
|
|
588
|
-
<a href="#
|
|
490
|
+
<span ><b>viewer</b></span>
|
|
491
|
+
<a href="#viewer"><span class="icon ion-ios-link"></span></a>
|
|
589
492
|
</span>
|
|
590
493
|
</td>
|
|
591
494
|
</tr>
|
|
592
495
|
<tr>
|
|
593
496
|
<td class="col-md-4">
|
|
594
|
-
<i>
|
|
595
|
-
|
|
497
|
+
<i>Default value : </i><code>input<BaseDataSourceViewer>({ id: '[rxapIsSelectableValue]' })</code>
|
|
596
498
|
</td>
|
|
597
499
|
</tr>
|
|
598
|
-
<tr>
|
|
599
|
-
<td class="col-md-4">
|
|
600
|
-
<div class="io-line">Inherited from <code><a href="../classes/ExtractOptionsDataSourceMixin.html" target="_self" >ExtractOptionsDataSourceMixin</a></code>
|
|
601
|
-
</div>
|
|
602
|
-
</td>
|
|
603
|
-
</tr>
|
|
604
500
|
<tr>
|
|
605
501
|
<td class="col-md-4">
|
|
606
|
-
<div class="io-line">Defined in
|
|
607
|
-
</div>
|
|
502
|
+
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/lib/validators/is-selectable-value.directive.ts:37</a></div>
|
|
608
503
|
</td>
|
|
609
504
|
</tr>
|
|
610
505
|
|
|
@@ -615,18 +510,18 @@
|
|
|
615
510
|
<tbody>
|
|
616
511
|
<tr>
|
|
617
512
|
<td class="col-md-4">
|
|
618
|
-
<a name="
|
|
513
|
+
<a name="dataSource"></a>
|
|
619
514
|
<span class="name">
|
|
620
515
|
<span class="modifier">Protected</span>
|
|
621
516
|
<span class="modifier">Optional</span>
|
|
622
|
-
<span ><b>
|
|
623
|
-
<a href="#
|
|
517
|
+
<span ><b>dataSource</b></span>
|
|
518
|
+
<a href="#dataSource"><span class="icon ion-ios-link"></span></a>
|
|
624
519
|
</span>
|
|
625
520
|
</td>
|
|
626
521
|
</tr>
|
|
627
522
|
<tr>
|
|
628
523
|
<td class="col-md-4">
|
|
629
|
-
<i>Type : </i> <code>
|
|
524
|
+
<i>Type : </i> <code>BaseDataSource<ControlOptions | Record></code>
|
|
630
525
|
|
|
631
526
|
</td>
|
|
632
527
|
</tr>
|
|
@@ -638,7 +533,7 @@
|
|
|
638
533
|
</tr>
|
|
639
534
|
<tr>
|
|
640
535
|
<td class="col-md-4">
|
|
641
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:
|
|
536
|
+
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:67</a></code>
|
|
642
537
|
</div>
|
|
643
538
|
</td>
|
|
644
539
|
</tr>
|
|
@@ -673,7 +568,7 @@
|
|
|
673
568
|
</tr>
|
|
674
569
|
<tr>
|
|
675
570
|
<td class="col-md-4">
|
|
676
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:
|
|
571
|
+
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:61</a></code>
|
|
677
572
|
</div>
|
|
678
573
|
</td>
|
|
679
574
|
</tr>
|
|
@@ -708,42 +603,7 @@
|
|
|
708
603
|
</tr>
|
|
709
604
|
<tr>
|
|
710
605
|
<td class="col-md-4">
|
|
711
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:
|
|
712
|
-
</div>
|
|
713
|
-
</td>
|
|
714
|
-
</tr>
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
</tbody>
|
|
718
|
-
</table>
|
|
719
|
-
<table class="table table-sm table-bordered">
|
|
720
|
-
<tbody>
|
|
721
|
-
<tr>
|
|
722
|
-
<td class="col-md-4">
|
|
723
|
-
<a name="viewer"></a>
|
|
724
|
-
<span class="name">
|
|
725
|
-
<span class="modifier">Protected</span>
|
|
726
|
-
<span class="modifier">Optional</span>
|
|
727
|
-
<span ><b>viewer</b></span>
|
|
728
|
-
<a href="#viewer"><span class="icon ion-ios-link"></span></a>
|
|
729
|
-
</span>
|
|
730
|
-
</td>
|
|
731
|
-
</tr>
|
|
732
|
-
<tr>
|
|
733
|
-
<td class="col-md-4">
|
|
734
|
-
<i>Type : </i> <code>BaseDataSourceViewer</code>
|
|
735
|
-
|
|
736
|
-
</td>
|
|
737
|
-
</tr>
|
|
738
|
-
<tr>
|
|
739
|
-
<td class="col-md-4">
|
|
740
|
-
<div class="io-line">Inherited from <code><a href="../classes/ExtractOptionsDataSourceMixin.html" target="_self" >ExtractOptionsDataSourceMixin</a></code>
|
|
741
|
-
</div>
|
|
742
|
-
</td>
|
|
743
|
-
</tr>
|
|
744
|
-
<tr>
|
|
745
|
-
<td class="col-md-4">
|
|
746
|
-
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:68</a></code>
|
|
606
|
+
<div class="io-line">Defined in <code><a href="../classes/ExtractOptionsDataSourceMixin.html#source" target="_self" >ExtractOptionsDataSourceMixin:71</a></code>
|
|
747
607
|
</div>
|
|
748
608
|
</td>
|
|
749
609
|
</tr>
|
|
@@ -764,15 +624,7 @@
|
|
|
764
624
|
ValidationErrors,
|
|
765
625
|
Validator,
|
|
766
626
|
} from '@angular/forms';
|
|
767
|
-
import {
|
|
768
|
-
Directive,
|
|
769
|
-
forwardRef,
|
|
770
|
-
Inject,
|
|
771
|
-
INJECTOR,
|
|
772
|
-
Injector,
|
|
773
|
-
Input,
|
|
774
|
-
isDevMode,
|
|
775
|
-
} from '@angular/core';
|
|
627
|
+
import { Directive, forwardRef, INJECTOR, Injector, isDevMode, input, inject } from '@angular/core';
|
|
776
628
|
import {
|
|
777
629
|
BaseDataSourceViewer,
|
|
778
630
|
DataSourceLoader,
|
|
@@ -798,17 +650,11 @@ export interface IsSelectableValueDirective extends ExtractOptionsDataSourceMixi
|
|
|
798
650
|
standalone: true,
|
|
799
651
|
})
|
|
800
652
|
export class IsSelectableValueDirective implements Validator {
|
|
653
|
+
protected readonly dataSourceLoader = inject<DataSourceLoader>(DataSourceLoader);
|
|
654
|
+
protected readonly injector = inject<Injector>(INJECTOR);
|
|
801
655
|
|
|
802
|
-
@Input()
|
|
803
|
-
public viewer: BaseDataSourceViewer = { id: '[rxapIsSelectableValue]' };
|
|
804
656
|
|
|
805
|
-
|
|
806
|
-
@Inject(DataSourceLoader)
|
|
807
|
-
protected readonly dataSourceLoader: DataSourceLoader,
|
|
808
|
-
@Inject(INJECTOR)
|
|
809
|
-
protected readonly injector: Injector,
|
|
810
|
-
) {
|
|
811
|
-
}
|
|
657
|
+
public readonly viewer = input<BaseDataSourceViewer>({ id: '[rxapIsSelectableValue]' });
|
|
812
658
|
|
|
813
659
|
public validate(control: AbstractControl): ValidationErrors | null {
|
|
814
660
|
if (control.value) {
|