@rxap/form-system 21.0.1-dev.0 → 21.0.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 +11 -11
- package/compodoc/directives/AbstractOptionsFromMethodDirective.html +1354 -0
- package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +376 -229
- package/compodoc/directives/ControlHideShowDirective.html +43 -152
- package/compodoc/directives/ForFormArrayItemsDirective.html +6 -101
- package/compodoc/directives/FormArrayAddItemButtonDirective.html +84 -222
- package/compodoc/directives/FormArrayItemButton.html +182 -200
- package/compodoc/directives/FormArrayItemRemoveButtonDirective.html +230 -211
- package/compodoc/directives/FormArrayItemRestoreButtonDirective.html +188 -158
- package/compodoc/directives/FormArrayRemovableDirective.html +39 -61
- package/compodoc/directives/FormSystemControlDirective.html +64 -148
- package/compodoc/directives/InputSelectOptionsDirective.html +390 -268
- package/compodoc/directives/IsEqualToDirective.html +61 -117
- package/compodoc/directives/IsSelectableValueDirective.html +50 -204
- package/compodoc/directives/OptionsFromMethodDirective.html +380 -164
- package/compodoc/directives/OptionsFromRemoteMethodDirective.html +123 -212
- package/compodoc/graph/dependencies.svg +4 -70
- package/compodoc/injectables/ControlDataSource.html +4 -10
- package/compodoc/injectables/NoopResolveMethod.html +48 -40
- package/compodoc/injectables/SubmitContextFormAdapter.html +4 -9
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +46 -38
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +46 -38
- package/compodoc/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +46 -38
- package/compodoc/interfaces/ControlHideShowOptions.html +10 -30
- package/compodoc/interfaces/ForFormArrayItemsDirectiveContext.html +6 -17
- package/compodoc/interfaces/InputSelectOptionsSettings.html +26 -49
- package/compodoc/interfaces/InputSelectOptionsTemplateContext.html +26 -49
- package/compodoc/interfaces/OptionsFromMethodDirectiveSettings.html +63 -45
- package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +63 -45
- package/compodoc/interfaces/OptionsFromRemoteMethodTemplateContext.html +34 -50
- package/compodoc/js/menu-wc.js +3 -32
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +2 -114
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +8836 -7240
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AbstractOptionsFromMethodDirective.html +38 -0
- package/docs/html/classes/AutocompleteOptionsFromMethodDirective.html +19 -16
- package/docs/html/classes/ControlDataSource.html +13 -13
- package/docs/html/classes/ControlHideShowDirective.html +5 -5
- package/docs/html/classes/ExtractControlFromParentMixin.html +2 -2
- package/docs/html/classes/ExtractControlMixin.html +2 -2
- package/docs/html/classes/ExtractDataSourcesMixin.html +2 -2
- package/docs/html/classes/ExtractFormDefinitionMixin.html +2 -2
- package/docs/html/classes/ExtractFunctionMixin.html +2 -2
- package/docs/html/classes/ExtractFunctionsMixin.html +2 -2
- package/docs/html/classes/ExtractIsValueFunctionMixin.html +2 -2
- package/docs/html/classes/ExtractMethodMixin.html +2 -2
- package/docs/html/classes/ExtractMethodsMixin.html +2 -2
- package/docs/html/classes/ExtractOptionsDataSourceMixin.html +2 -4
- package/docs/html/classes/ExtractOptionsMethodMixin.html +2 -2
- package/docs/html/classes/ExtractRemoteMethodsMixin.html +2 -2
- package/docs/html/classes/ExtractResolveMethodMixin.html +2 -2
- package/docs/html/classes/ExtractToDisplayFunctionMixin.html +2 -2
- package/docs/html/classes/ForFormArrayItemsDirective.html +4 -4
- package/docs/html/classes/FormArrayAddItemButtonDirective.html +4 -4
- package/docs/html/classes/FormArrayItemButton.html +4 -4
- package/docs/html/classes/FormArrayItemRemoveButtonDirective.html +5 -5
- package/docs/html/classes/FormArrayItemRestoreButtonDirective.html +4 -4
- package/docs/html/classes/FormArrayRemovableDirective.html +4 -4
- package/docs/html/classes/FormSystemControlDirective.html +8 -8
- package/docs/html/classes/InputSelectOptionsDirective.html +10 -7
- package/docs/html/classes/IsEqualToDirective.html +5 -5
- package/docs/html/classes/IsSelectableValueDirective.html +4 -5
- package/docs/html/classes/NoopResolveMethod.html +2 -2
- package/docs/html/classes/OptionsFromMethodDirective.html +24 -24
- package/docs/html/classes/OptionsFromRemoteMethodDirective.html +5 -11
- package/docs/html/classes/RxapFormSystemError.html +5 -5
- package/docs/html/classes/SubmitContextFormAdapter.html +10 -10
- package/docs/html/classes/TestNgControl.html +4 -4
- package/docs/html/enums/FormSystemMetadataKeys.html +2 -2
- package/docs/html/functions/ApplyUseFunctionAdapters.html +1 -1
- package/docs/html/functions/ApplyUseMethodAdapters.html +1 -1
- package/docs/html/functions/ComposeOptionsTransformers.html +1 -1
- package/docs/html/functions/FormContextFromActivatedRouteFactory.html +1 -1
- package/docs/html/functions/ResolveByUuidParameter.html +1 -1
- package/docs/html/functions/ResolveByUuidResultFactory.html +1 -1
- package/docs/html/functions/SubmitContextFormAdapterFactory.html +1 -1
- package/docs/html/functions/UseAutocompleteIsValueFunction.html +1 -1
- package/docs/html/functions/UseAutocompleteOptionsMethod.html +1 -1
- package/docs/html/functions/UseAutocompleteResolveMethod.html +1 -1
- package/docs/html/functions/UseAutocompleteToDisplayFunction.html +1 -1
- package/docs/html/functions/UseComponent.html +1 -1
- package/docs/html/functions/UseDataSource.html +1 -1
- package/docs/html/functions/UseFormComponent.html +2 -2
- package/docs/html/functions/UseFunction.html +1 -1
- package/docs/html/functions/UseHideFunction.html +1 -1
- package/docs/html/functions/UseIsValueFunction.html +1 -1
- package/docs/html/functions/UseMethod.html +1 -1
- package/docs/html/functions/UseOptionsDataSource.html +1 -1
- package/docs/html/functions/UseOptionsMethod.html +1 -1
- package/docs/html/functions/UseOptionsRemoteMethod.html +1 -1
- package/docs/html/functions/UseRemoteMethod.html +1 -1
- package/docs/html/functions/UseResolveMethod.html +1 -1
- package/docs/html/functions/UseShowFunction.html +1 -1
- package/docs/html/functions/UseToDisplayFunction.html +1 -1
- package/docs/html/functions/controlDataSource-1.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/ControlHideShowOptions.html +2 -2
- package/docs/html/interfaces/ControlWithDataSource.html +2 -2
- package/docs/html/interfaces/ForFormArrayItemsDirectiveContext.html +2 -2
- package/docs/html/interfaces/InputSelectOptionsSettings.html +4 -4
- package/docs/html/interfaces/InputSelectOptionsTemplateContext.html +2 -2
- package/docs/html/interfaces/OptionsFromMethodDirectiveSettings.html +1 -1
- package/docs/html/interfaces/OptionsFromMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/OptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/UseDataSourceSettings.html +2 -2
- package/docs/html/interfaces/UseDataSourceValue.html +3 -3
- package/docs/html/interfaces/UseFunctionConfig.html +2 -2
- package/docs/html/interfaces/UseFunctionDefinition.html +2 -2
- package/docs/html/interfaces/UseMethodConfig.html +2 -2
- package/docs/html/interfaces/UseMethodDefinition.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/ControlHideShowFunction.html +1 -1
- package/docs/html/types/FunctionParameterAdapterFunction.html +1 -1
- package/docs/html/types/FunctionResultAdapterFunction.html +1 -1
- package/docs/html/types/MethodParameterAdapterFunction.html +1 -1
- package/docs/html/types/MethodResultAdapterFunction.html +1 -1
- package/docs/html/types/OptionsMethod.html +1 -1
- package/docs/html/types/UseFunctionType.html +1 -1
- package/docs/html/types/UseOptionsDataSourceSettings.html +1 -1
- package/docs/html/variables/DATA_SOURCE_NAME.html +1 -1
- package/docs/html/variables/IS_VALUE_FUNCTION_NAME.html +1 -1
- package/docs/html/variables/OPTIONS_METHOD_NAME.html +1 -1
- package/docs/html/variables/REMOTE_METHOD_NAME.html +1 -1
- package/docs/html/variables/RESOLVE_METHOD_NAME.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTROL_SOURCE.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.html +1 -1
- package/docs/html/variables/RXAP_USE_FUNCTION.html +1 -1
- package/docs/html/variables/RXAP_USE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_USE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.html +1 -1
- package/docs/html/variables/TO_DISPLAY_FUNCTION_NAME.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AbstractOptionsFromMethodDirective.md +436 -0
- package/docs/markdown/classes/AutocompleteOptionsFromMethodDirective.md +131 -122
- package/docs/markdown/classes/ControlDataSource.md +51 -51
- package/docs/markdown/classes/ControlHideShowDirective.md +11 -31
- package/docs/markdown/classes/ExtractControlFromParentMixin.md +3 -3
- package/docs/markdown/classes/ExtractControlMixin.md +6 -6
- package/docs/markdown/classes/ExtractDataSourcesMixin.md +3 -3
- package/docs/markdown/classes/ExtractFormDefinitionMixin.md +3 -3
- package/docs/markdown/classes/ExtractFunctionMixin.md +5 -5
- package/docs/markdown/classes/ExtractFunctionsMixin.md +3 -3
- package/docs/markdown/classes/ExtractIsValueFunctionMixin.md +11 -11
- package/docs/markdown/classes/ExtractMethodMixin.md +5 -5
- package/docs/markdown/classes/ExtractMethodsMixin.md +3 -3
- package/docs/markdown/classes/ExtractOptionsDataSourceMixin.md +19 -31
- package/docs/markdown/classes/ExtractOptionsMethodMixin.md +12 -12
- package/docs/markdown/classes/ExtractRemoteMethodsMixin.md +3 -3
- package/docs/markdown/classes/ExtractResolveMethodMixin.md +11 -11
- package/docs/markdown/classes/ExtractToDisplayFunctionMixin.md +11 -11
- package/docs/markdown/classes/ForFormArrayItemsDirective.md +5 -25
- package/docs/markdown/classes/FormArrayAddItemButtonDirective.md +14 -26
- package/docs/markdown/classes/FormArrayItemButton.md +21 -41
- package/docs/markdown/classes/FormArrayItemRemoveButtonDirective.md +28 -58
- package/docs/markdown/classes/FormArrayItemRestoreButtonDirective.md +25 -45
- package/docs/markdown/classes/FormArrayRemovableDirective.md +10 -18
- package/docs/markdown/classes/FormSystemControlDirective.md +13 -37
- package/docs/markdown/classes/InputSelectOptionsDirective.md +50 -75
- package/docs/markdown/classes/IsEqualToDirective.md +9 -19
- package/docs/markdown/classes/IsSelectableValueDirective.md +23 -47
- package/docs/markdown/classes/NoopResolveMethod.md +3 -3
- package/docs/markdown/classes/OptionsFromMethodDirective.md +140 -85
- package/docs/markdown/classes/OptionsFromRemoteMethodDirective.md +14 -67
- package/docs/markdown/classes/RxapFormSystemError.md +13 -13
- package/docs/markdown/classes/SubmitContextFormAdapter.md +32 -32
- package/docs/markdown/classes/TestNgControl.md +5 -5
- package/docs/markdown/enumerations/FormSystemMetadataKeys.md +6 -6
- package/docs/markdown/functions/ApplyUseFunctionAdapters.md +2 -2
- package/docs/markdown/functions/ApplyUseMethodAdapters.md +2 -2
- package/docs/markdown/functions/ComposeOptionsTransformers.md +2 -2
- package/docs/markdown/functions/FormContextFromActivatedRouteFactory.md +2 -2
- package/docs/markdown/functions/ResolveByUuidParameter.md +2 -2
- package/docs/markdown/functions/ResolveByUuidResultFactory.md +2 -2
- package/docs/markdown/functions/SubmitContextFormAdapterFactory.md +2 -2
- package/docs/markdown/functions/UseAutocompleteIsValueFunction.md +2 -2
- package/docs/markdown/functions/UseAutocompleteOptionsMethod.md +4 -4
- package/docs/markdown/functions/UseAutocompleteResolveMethod.md +2 -2
- package/docs/markdown/functions/UseAutocompleteToDisplayFunction.md +2 -2
- package/docs/markdown/functions/UseComponent.md +2 -2
- package/docs/markdown/functions/UseDataSource.md +2 -2
- package/docs/markdown/functions/UseFormComponent.md +2 -2
- package/docs/markdown/functions/UseFunction.md +2 -2
- package/docs/markdown/functions/UseHideFunction.md +2 -2
- package/docs/markdown/functions/UseIsValueFunction.md +3 -3
- package/docs/markdown/functions/UseMethod.md +2 -2
- package/docs/markdown/functions/UseOptionsDataSource.md +2 -2
- package/docs/markdown/functions/UseOptionsMethod.md +2 -2
- package/docs/markdown/functions/UseOptionsRemoteMethod.md +2 -2
- package/docs/markdown/functions/UseRemoteMethod.md +2 -2
- package/docs/markdown/functions/UseResolveMethod.md +3 -3
- package/docs/markdown/functions/UseShowFunction.md +2 -2
- package/docs/markdown/functions/UseToDisplayFunction.md +3 -3
- package/docs/markdown/functions/controlDataSource.md +2 -2
- package/docs/markdown/globals.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/ControlHideShowOptions.md +3 -3
- package/docs/markdown/interfaces/ControlWithDataSource.md +3 -3
- package/docs/markdown/interfaces/ForFormArrayItemsDirectiveContext.md +9 -9
- package/docs/markdown/interfaces/InputSelectOptionsSettings.md +6 -6
- package/docs/markdown/interfaces/InputSelectOptionsTemplateContext.md +3 -3
- package/docs/markdown/interfaces/OptionsFromMethodDirectiveSettings.md +2 -2
- package/docs/markdown/interfaces/OptionsFromMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/OptionsFromRemoteMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/UseDataSourceSettings.md +3 -3
- package/docs/markdown/interfaces/UseDataSourceValue.md +5 -5
- package/docs/markdown/interfaces/UseFunctionConfig.md +3 -3
- package/docs/markdown/interfaces/UseFunctionDefinition.md +4 -4
- package/docs/markdown/interfaces/UseMethodConfig.md +3 -3
- package/docs/markdown/interfaces/UseMethodDefinition.md +4 -4
- package/docs/markdown/type-aliases/ControlHideShowFunction.md +2 -2
- package/docs/markdown/type-aliases/FunctionParameterAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/FunctionResultAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/MethodParameterAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/MethodResultAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/OptionsMethod.md +2 -2
- package/docs/markdown/type-aliases/UseFunctionType.md +2 -2
- package/docs/markdown/type-aliases/UseOptionsDataSourceSettings.md +2 -2
- package/docs/markdown/variables/DATA_SOURCE_NAME.md +2 -2
- package/docs/markdown/variables/IS_VALUE_FUNCTION_NAME.md +2 -2
- package/docs/markdown/variables/OPTIONS_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/REMOTE_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/RESOLVE_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTROL_SOURCE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_USE_FUNCTION.md +2 -2
- package/docs/markdown/variables/RXAP_USE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_USE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +2 -2
- package/docs/markdown/variables/TO_DISPLAY_FUNCTION_NAME.md +2 -2
- package/docs/wiki/Class.AbstractOptionsFromMethodDirective.md +432 -0
- package/docs/wiki/Class.AutocompleteOptionsFromMethodDirective.md +130 -121
- package/docs/wiki/Class.ControlDataSource.md +50 -50
- package/docs/wiki/Class.ControlHideShowDirective.md +10 -30
- package/docs/wiki/Class.ExtractControlFromParentMixin.md +2 -2
- package/docs/wiki/Class.ExtractControlMixin.md +5 -5
- package/docs/wiki/Class.ExtractDataSourcesMixin.md +2 -2
- package/docs/wiki/Class.ExtractFormDefinitionMixin.md +2 -2
- package/docs/wiki/Class.ExtractFunctionMixin.md +4 -4
- package/docs/wiki/Class.ExtractFunctionsMixin.md +2 -2
- package/docs/wiki/Class.ExtractIsValueFunctionMixin.md +10 -10
- package/docs/wiki/Class.ExtractMethodMixin.md +4 -4
- package/docs/wiki/Class.ExtractMethodsMixin.md +2 -2
- package/docs/wiki/Class.ExtractOptionsDataSourceMixin.md +18 -30
- package/docs/wiki/Class.ExtractOptionsMethodMixin.md +11 -11
- package/docs/wiki/Class.ExtractRemoteMethodsMixin.md +2 -2
- package/docs/wiki/Class.ExtractResolveMethodMixin.md +10 -10
- package/docs/wiki/Class.ExtractToDisplayFunctionMixin.md +10 -10
- package/docs/wiki/Class.ForFormArrayItemsDirective.md +4 -24
- package/docs/wiki/Class.FormArrayAddItemButtonDirective.md +13 -25
- package/docs/wiki/Class.FormArrayItemButton.md +20 -40
- package/docs/wiki/Class.FormArrayItemRemoveButtonDirective.md +27 -57
- package/docs/wiki/Class.FormArrayItemRestoreButtonDirective.md +24 -44
- package/docs/wiki/Class.FormArrayRemovableDirective.md +9 -17
- package/docs/wiki/Class.FormSystemControlDirective.md +12 -36
- package/docs/wiki/Class.InputSelectOptionsDirective.md +49 -74
- package/docs/wiki/Class.IsEqualToDirective.md +8 -18
- package/docs/wiki/Class.IsSelectableValueDirective.md +22 -46
- package/docs/wiki/Class.NoopResolveMethod.md +2 -2
- package/docs/wiki/Class.OptionsFromMethodDirective.md +139 -84
- package/docs/wiki/Class.OptionsFromRemoteMethodDirective.md +13 -66
- package/docs/wiki/Class.RxapFormSystemError.md +12 -12
- package/docs/wiki/Class.SubmitContextFormAdapter.md +31 -31
- package/docs/wiki/Class.TestNgControl.md +4 -4
- package/docs/wiki/Enumeration.FormSystemMetadataKeys.md +5 -5
- package/docs/wiki/Function.ApplyUseFunctionAdapters.md +1 -1
- package/docs/wiki/Function.ApplyUseMethodAdapters.md +1 -1
- package/docs/wiki/Function.ComposeOptionsTransformers.md +1 -1
- package/docs/wiki/Function.FormContextFromActivatedRouteFactory.md +1 -1
- package/docs/wiki/Function.ResolveByUuidParameter.md +1 -1
- package/docs/wiki/Function.ResolveByUuidResultFactory.md +1 -1
- package/docs/wiki/Function.SubmitContextFormAdapterFactory.md +1 -1
- package/docs/wiki/Function.UseAutocompleteIsValueFunction.md +1 -1
- package/docs/wiki/Function.UseAutocompleteOptionsMethod.md +3 -3
- package/docs/wiki/Function.UseAutocompleteResolveMethod.md +1 -1
- package/docs/wiki/Function.UseAutocompleteToDisplayFunction.md +1 -1
- package/docs/wiki/Function.UseComponent.md +1 -1
- package/docs/wiki/Function.UseDataSource.md +1 -1
- package/docs/wiki/Function.UseFormComponent.md +1 -1
- package/docs/wiki/Function.UseFunction.md +1 -1
- package/docs/wiki/Function.UseHideFunction.md +1 -1
- package/docs/wiki/Function.UseIsValueFunction.md +2 -2
- package/docs/wiki/Function.UseMethod.md +1 -1
- package/docs/wiki/Function.UseOptionsDataSource.md +1 -1
- package/docs/wiki/Function.UseOptionsMethod.md +1 -1
- package/docs/wiki/Function.UseOptionsRemoteMethod.md +1 -1
- package/docs/wiki/Function.UseRemoteMethod.md +1 -1
- package/docs/wiki/Function.UseResolveMethod.md +2 -2
- package/docs/wiki/Function.UseShowFunction.md +1 -1
- package/docs/wiki/Function.UseToDisplayFunction.md +2 -2
- package/docs/wiki/Function.controlDataSource.md +1 -1
- package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveParameters.md +2 -2
- package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveSettings.md +2 -2
- package/docs/wiki/Interface.AutocompleteOptionsFromRemoteMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.ControlHideShowOptions.md +2 -2
- package/docs/wiki/Interface.ControlWithDataSource.md +2 -2
- package/docs/wiki/Interface.ForFormArrayItemsDirectiveContext.md +8 -8
- package/docs/wiki/Interface.InputSelectOptionsSettings.md +5 -5
- package/docs/wiki/Interface.InputSelectOptionsTemplateContext.md +2 -2
- package/docs/wiki/Interface.OptionsFromMethodDirectiveSettings.md +1 -1
- package/docs/wiki/Interface.OptionsFromMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.OptionsFromRemoteMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.UseDataSourceSettings.md +2 -2
- package/docs/wiki/Interface.UseDataSourceValue.md +4 -4
- package/docs/wiki/Interface.UseFunctionConfig.md +2 -2
- package/docs/wiki/Interface.UseFunctionDefinition.md +3 -3
- package/docs/wiki/Interface.UseMethodConfig.md +2 -2
- package/docs/wiki/Interface.UseMethodDefinition.md +3 -3
- package/docs/wiki/TypeAlias.ControlHideShowFunction.md +1 -1
- package/docs/wiki/TypeAlias.FunctionParameterAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.FunctionResultAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.MethodParameterAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.MethodResultAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.OptionsMethod.md +1 -1
- package/docs/wiki/TypeAlias.UseFunctionType.md +1 -1
- package/docs/wiki/TypeAlias.UseOptionsDataSourceSettings.md +1 -1
- package/docs/wiki/Variable.DATA_SOURCE_NAME.md +1 -1
- package/docs/wiki/Variable.IS_VALUE_FUNCTION_NAME.md +1 -1
- package/docs/wiki/Variable.OPTIONS_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.REMOTE_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.RESOLVE_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTROL_SOURCE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_SHOW_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_FUNCTION.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +1 -1
- package/docs/wiki/Variable.TO_DISPLAY_FUNCTION_NAME.md +1 -1
- package/docs/wiki/_Sidebar.md +1 -1
- package/docs/wiki/globals.md +2 -2
- package/fesm2022/rxap-form-system.mjs +274 -420
- package/fesm2022/rxap-form-system.mjs.map +1 -1
- package/package.json +28 -28
- package/types/rxap-form-system.d.ts +90 -80
- package/docs/html/classes/FormSystemDirectivesModule.html +0 -2
- package/docs/markdown/classes/FormSystemDirectivesModule.md +0 -19
- package/docs/wiki/Class.FormSystemDirectivesModule.md +0 -15
|
@@ -173,6 +173,11 @@
|
|
|
173
173
|
<span class="modifier">Public</span>
|
|
174
174
|
<a href="#control" >control</a>
|
|
175
175
|
</li>
|
|
176
|
+
<li>
|
|
177
|
+
<span class="modifier">Public</span>
|
|
178
|
+
<span class="modifier">Readonly</span>
|
|
179
|
+
<a href="#controlId" >controlId</a>
|
|
180
|
+
</li>
|
|
176
181
|
</ul>
|
|
177
182
|
</td>
|
|
178
183
|
</tr>
|
|
@@ -193,20 +198,6 @@
|
|
|
193
198
|
</td>
|
|
194
199
|
</tr>
|
|
195
200
|
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
198
|
-
<h6><b>Inputs</b></h6>
|
|
199
|
-
</td>
|
|
200
|
-
</tr>
|
|
201
|
-
<tr>
|
|
202
|
-
<td class="col-md-4">
|
|
203
|
-
<ul class="index-list">
|
|
204
|
-
<li>
|
|
205
|
-
<a href="#rxapControlHideShow" >rxapControlHideShow</a>
|
|
206
|
-
</li>
|
|
207
|
-
</ul>
|
|
208
|
-
</td>
|
|
209
|
-
</tr>
|
|
210
201
|
|
|
211
202
|
|
|
212
203
|
|
|
@@ -215,115 +206,8 @@
|
|
|
215
206
|
</table>
|
|
216
207
|
</section>
|
|
217
208
|
|
|
218
|
-
<section data-compodoc="block-constructor">
|
|
219
|
-
<h3 id="constructor">Constructor</h3>
|
|
220
|
-
<table class="table table-sm table-bordered">
|
|
221
|
-
<tbody>
|
|
222
|
-
<tr>
|
|
223
|
-
<td class="col-md-4">
|
|
224
|
-
<code>constructor(renderer: Renderer2, elementRef: ElementRef, parent: ControlContainer | null, ngControl: NgControl | null)</code>
|
|
225
|
-
</td>
|
|
226
|
-
</tr>
|
|
227
|
-
<tr>
|
|
228
|
-
<td class="col-md-4">
|
|
229
|
-
<div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/lib/directives/control-hide-show.directive.ts:85</a></div>
|
|
230
|
-
</td>
|
|
231
|
-
</tr>
|
|
232
209
|
|
|
233
|
-
<tr>
|
|
234
|
-
<td class="col-md-4">
|
|
235
|
-
<div>
|
|
236
|
-
<b>Parameters :</b>
|
|
237
|
-
<table class="params">
|
|
238
|
-
<thead>
|
|
239
|
-
<tr>
|
|
240
|
-
<td>Name</td>
|
|
241
|
-
<td>Type</td>
|
|
242
|
-
<td>Optional</td>
|
|
243
|
-
</tr>
|
|
244
|
-
</thead>
|
|
245
|
-
<tbody>
|
|
246
|
-
<tr>
|
|
247
|
-
<td>renderer</td>
|
|
248
|
-
|
|
249
|
-
<td>
|
|
250
|
-
<code>Renderer2</code>
|
|
251
|
-
</td>
|
|
252
|
-
|
|
253
|
-
<td>
|
|
254
|
-
No
|
|
255
|
-
</td>
|
|
256
|
-
|
|
257
|
-
</tr>
|
|
258
|
-
<tr>
|
|
259
|
-
<td>elementRef</td>
|
|
260
|
-
|
|
261
|
-
<td>
|
|
262
|
-
<code>ElementRef</code>
|
|
263
|
-
</td>
|
|
264
|
-
|
|
265
|
-
<td>
|
|
266
|
-
No
|
|
267
|
-
</td>
|
|
268
|
-
|
|
269
|
-
</tr>
|
|
270
|
-
<tr>
|
|
271
|
-
<td>parent</td>
|
|
272
|
-
|
|
273
|
-
<td>
|
|
274
|
-
<code>ControlContainer | null</code>
|
|
275
|
-
</td>
|
|
276
|
-
|
|
277
|
-
<td>
|
|
278
|
-
No
|
|
279
|
-
</td>
|
|
280
|
-
|
|
281
|
-
</tr>
|
|
282
|
-
<tr>
|
|
283
|
-
<td>ngControl</td>
|
|
284
|
-
|
|
285
|
-
<td>
|
|
286
|
-
<code>NgControl | null</code>
|
|
287
|
-
</td>
|
|
288
|
-
|
|
289
|
-
<td>
|
|
290
|
-
No
|
|
291
|
-
</td>
|
|
292
|
-
|
|
293
|
-
</tr>
|
|
294
|
-
</tbody>
|
|
295
|
-
</table>
|
|
296
|
-
</div>
|
|
297
|
-
</td>
|
|
298
|
-
</tr>
|
|
299
|
-
</tbody>
|
|
300
|
-
</table>
|
|
301
|
-
</section>
|
|
302
210
|
|
|
303
|
-
<section data-compodoc="block-inputs">
|
|
304
|
-
<h3 id="inputs">Inputs</h3>
|
|
305
|
-
<table class="table table-sm table-bordered">
|
|
306
|
-
<tbody>
|
|
307
|
-
<tr>
|
|
308
|
-
<td class="col-md-4">
|
|
309
|
-
<a name="rxapControlHideShow"></a>
|
|
310
|
-
<b>rxapControlHideShow</b>
|
|
311
|
-
</td>
|
|
312
|
-
</tr>
|
|
313
|
-
<tr>
|
|
314
|
-
<td class="col-md-4">
|
|
315
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
316
|
-
|
|
317
|
-
</td>
|
|
318
|
-
</tr>
|
|
319
|
-
<tr>
|
|
320
|
-
<td class="col-md-2" colspan="2">
|
|
321
|
-
<div class="io-line">Defined in <a href="" data-line="81" class="link-to-prism">src/lib/directives/control-hide-show.directive.ts:81</a></div>
|
|
322
|
-
</td>
|
|
323
|
-
</tr>
|
|
324
|
-
</tbody>
|
|
325
|
-
</table>
|
|
326
|
-
</section>
|
|
327
211
|
|
|
328
212
|
|
|
329
213
|
|
|
@@ -445,7 +329,34 @@
|
|
|
445
329
|
</tr>
|
|
446
330
|
<tr>
|
|
447
331
|
<td class="col-md-4">
|
|
448
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
332
|
+
<div class="io-line">Defined in <a href="" data-line="77" class="link-to-prism">src/lib/directives/control-hide-show.directive.ts:77</a></div>
|
|
333
|
+
</td>
|
|
334
|
+
</tr>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
</tbody>
|
|
338
|
+
</table>
|
|
339
|
+
<table class="table table-sm table-bordered">
|
|
340
|
+
<tbody>
|
|
341
|
+
<tr>
|
|
342
|
+
<td class="col-md-4">
|
|
343
|
+
<a name="controlId"></a>
|
|
344
|
+
<span class="name">
|
|
345
|
+
<span class="modifier">Public</span>
|
|
346
|
+
<span class="modifier">Readonly</span>
|
|
347
|
+
<span ><b>controlId</b></span>
|
|
348
|
+
<a href="#controlId"><span class="icon ion-ios-link"></span></a>
|
|
349
|
+
</span>
|
|
350
|
+
</td>
|
|
351
|
+
</tr>
|
|
352
|
+
<tr>
|
|
353
|
+
<td class="col-md-4">
|
|
354
|
+
<i>Default value : </i><code>input<string>(undefined, { alias: "rxapControlHideShow" })</code>
|
|
355
|
+
</td>
|
|
356
|
+
</tr>
|
|
357
|
+
<tr>
|
|
358
|
+
<td class="col-md-4">
|
|
359
|
+
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/lib/directives/control-hide-show.directive.ts:75</a></div>
|
|
449
360
|
</td>
|
|
450
361
|
</tr>
|
|
451
362
|
|
|
@@ -459,17 +370,7 @@
|
|
|
459
370
|
|
|
460
371
|
|
|
461
372
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
462
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
463
|
-
Directive,
|
|
464
|
-
ElementRef,
|
|
465
|
-
Inject,
|
|
466
|
-
Input,
|
|
467
|
-
OnDestroy,
|
|
468
|
-
OnInit,
|
|
469
|
-
Optional,
|
|
470
|
-
Renderer2,
|
|
471
|
-
Self,
|
|
472
|
-
} from '@angular/core';
|
|
373
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, ElementRef, OnDestroy, OnInit, Renderer2, input, inject } from '@angular/core';
|
|
473
374
|
import {
|
|
474
375
|
AbstractControl,
|
|
475
376
|
FormDefinition,
|
|
@@ -537,40 +438,30 @@ export interface ControlHideShowDirective extends ExtractControlFromParentMixin,
|
|
|
537
438
|
standalone: true,
|
|
538
439
|
})
|
|
539
440
|
export class ControlHideShowDirective implements OnInit, OnDestroy {
|
|
441
|
+
private readonly renderer = inject<Renderer2>(Renderer2);
|
|
442
|
+
private readonly elementRef = inject<ElementRef>(ElementRef);
|
|
443
|
+
private readonly parent = inject<ControlContainer | null>(ControlContainer, { optional: true });
|
|
444
|
+
private readonly ngControl = inject<NgControl | null>(NgControl, { self: true, optional: true });
|
|
540
445
|
|
|
541
|
-
|
|
542
|
-
public controlId
|
|
446
|
+
|
|
447
|
+
public readonly controlId = input<string>(undefined, { alias: "rxapControlHideShow" });
|
|
543
448
|
|
|
544
449
|
public control!: RxapFormControl;
|
|
545
450
|
|
|
546
451
|
private subscription = new Subscription();
|
|
547
452
|
|
|
548
|
-
constructor(
|
|
549
|
-
@Inject(Renderer2)
|
|
550
|
-
private readonly renderer: Renderer2,
|
|
551
|
-
@Inject(ElementRef)
|
|
552
|
-
private readonly elementRef: ElementRef,
|
|
553
|
-
@Optional()
|
|
554
|
-
@Inject(ControlContainer)
|
|
555
|
-
private readonly parent: ControlContainer | null,
|
|
556
|
-
@Self()
|
|
557
|
-
@Optional()
|
|
558
|
-
@Inject(NgControl)
|
|
559
|
-
private readonly ngControl: NgControl | null,
|
|
560
|
-
) {
|
|
561
|
-
}
|
|
562
|
-
|
|
563
453
|
public ngOnInit() {
|
|
564
454
|
|
|
565
455
|
if (!this.ngControl && !this.parent) {
|
|
566
456
|
throw new Error('Easier the ControlContainer or NgControl must be injectable');
|
|
567
457
|
}
|
|
568
458
|
|
|
569
|
-
|
|
459
|
+
const controlId = this.controlId();
|
|
460
|
+
if (!this.ngControl && !controlId) {
|
|
570
461
|
throw new Error('If the NgControl is not injectable then the control id must be defined!');
|
|
571
462
|
}
|
|
572
463
|
|
|
573
|
-
const control = this.ngControl?.control ?? this.extractControlFromParent(this.parent!,
|
|
464
|
+
const control = this.ngControl?.control ?? this.extractControlFromParent(this.parent!, controlId!);
|
|
574
465
|
|
|
575
466
|
if (!(control instanceof RxapFormControl)) {
|
|
576
467
|
throw new Error('The control is not an instance of RxapFormControl');
|
|
@@ -151,90 +151,6 @@
|
|
|
151
151
|
</section>
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
<section data-compodoc="block-constructor">
|
|
155
|
-
<h3 id="constructor">Constructor</h3>
|
|
156
|
-
<table class="table table-sm table-bordered">
|
|
157
|
-
<tbody>
|
|
158
|
-
<tr>
|
|
159
|
-
<td class="col-md-4">
|
|
160
|
-
<code>constructor(container: ControlContainer, template: <a href="../interfaces/ForFormArrayItemsDirectiveContext.html" target="_self">TemplateRef<ForFormArrayItemsDirectiveContext></a>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef)</code>
|
|
161
|
-
</td>
|
|
162
|
-
</tr>
|
|
163
|
-
<tr>
|
|
164
|
-
<td class="col-md-4">
|
|
165
|
-
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/directives/array/for-form-array-items.directive.ts:45</a></div>
|
|
166
|
-
</td>
|
|
167
|
-
</tr>
|
|
168
|
-
|
|
169
|
-
<tr>
|
|
170
|
-
<td class="col-md-4">
|
|
171
|
-
<div>
|
|
172
|
-
<b>Parameters :</b>
|
|
173
|
-
<table class="params">
|
|
174
|
-
<thead>
|
|
175
|
-
<tr>
|
|
176
|
-
<td>Name</td>
|
|
177
|
-
<td>Type</td>
|
|
178
|
-
<td>Optional</td>
|
|
179
|
-
</tr>
|
|
180
|
-
</thead>
|
|
181
|
-
<tbody>
|
|
182
|
-
<tr>
|
|
183
|
-
<td>container</td>
|
|
184
|
-
|
|
185
|
-
<td>
|
|
186
|
-
<code>ControlContainer</code>
|
|
187
|
-
</td>
|
|
188
|
-
|
|
189
|
-
<td>
|
|
190
|
-
No
|
|
191
|
-
</td>
|
|
192
|
-
|
|
193
|
-
</tr>
|
|
194
|
-
<tr>
|
|
195
|
-
<td>template</td>
|
|
196
|
-
|
|
197
|
-
<td>
|
|
198
|
-
<code><a href="../interfaces/ForFormArrayItemsDirectiveContext.html" target="_self" >TemplateRef<ForFormArrayItemsDirectiveContext></a></code>
|
|
199
|
-
</td>
|
|
200
|
-
|
|
201
|
-
<td>
|
|
202
|
-
No
|
|
203
|
-
</td>
|
|
204
|
-
|
|
205
|
-
</tr>
|
|
206
|
-
<tr>
|
|
207
|
-
<td>viewContainerRef</td>
|
|
208
|
-
|
|
209
|
-
<td>
|
|
210
|
-
<code>ViewContainerRef</code>
|
|
211
|
-
</td>
|
|
212
|
-
|
|
213
|
-
<td>
|
|
214
|
-
No
|
|
215
|
-
</td>
|
|
216
|
-
|
|
217
|
-
</tr>
|
|
218
|
-
<tr>
|
|
219
|
-
<td>cdr</td>
|
|
220
|
-
|
|
221
|
-
<td>
|
|
222
|
-
<code>ChangeDetectorRef</code>
|
|
223
|
-
</td>
|
|
224
|
-
|
|
225
|
-
<td>
|
|
226
|
-
No
|
|
227
|
-
</td>
|
|
228
|
-
|
|
229
|
-
</tr>
|
|
230
|
-
</tbody>
|
|
231
|
-
</table>
|
|
232
|
-
</div>
|
|
233
|
-
</td>
|
|
234
|
-
</tr>
|
|
235
|
-
</tbody>
|
|
236
|
-
</table>
|
|
237
|
-
</section>
|
|
238
154
|
|
|
239
155
|
|
|
240
156
|
|
|
@@ -247,15 +163,7 @@
|
|
|
247
163
|
|
|
248
164
|
|
|
249
165
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
250
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
251
|
-
AfterViewInit,
|
|
252
|
-
ChangeDetectorRef,
|
|
253
|
-
Directive,
|
|
254
|
-
OnDestroy,
|
|
255
|
-
SkipSelf,
|
|
256
|
-
TemplateRef,
|
|
257
|
-
ViewContainerRef,
|
|
258
|
-
} from '@angular/core';
|
|
166
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AfterViewInit, ChangeDetectorRef, Directive, OnDestroy, TemplateRef, ViewContainerRef, inject } from '@angular/core';
|
|
259
167
|
import {
|
|
260
168
|
ControlContainer,
|
|
261
169
|
UntypedFormArray,
|
|
@@ -288,19 +196,16 @@ export interface ForFormArrayItemsDirectiveContext {
|
|
|
288
196
|
standalone: true,
|
|
289
197
|
})
|
|
290
198
|
export class ForFormArrayItemsDirective implements AfterViewInit, OnDestroy {
|
|
199
|
+
private readonly container = inject(ControlContainer, { skipSelf: true });
|
|
200
|
+
private readonly template = inject<TemplateRef<ForFormArrayItemsDirectiveContext>>(TemplateRef);
|
|
201
|
+
private readonly viewContainerRef = inject(ViewContainerRef);
|
|
202
|
+
private readonly cdr = inject(ChangeDetectorRef);
|
|
203
|
+
|
|
291
204
|
|
|
292
205
|
private _formArrayValueSubscription?: Subscription;
|
|
293
206
|
|
|
294
207
|
private formArray!: RxapFormArray;
|
|
295
208
|
|
|
296
|
-
constructor(
|
|
297
|
-
@SkipSelf() private readonly container: ControlContainer,
|
|
298
|
-
private readonly template: TemplateRef<ForFormArrayItemsDirectiveContext>,
|
|
299
|
-
private readonly viewContainerRef: ViewContainerRef,
|
|
300
|
-
private readonly cdr: ChangeDetectorRef,
|
|
301
|
-
) {
|
|
302
|
-
}
|
|
303
|
-
|
|
304
209
|
ngAfterViewInit() {
|
|
305
210
|
if (this.container.control instanceof RxapFormArray) {
|
|
306
211
|
this.formArray = this.container.control;
|