@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
|
@@ -178,6 +178,11 @@
|
|
|
178
178
|
<span class="modifier">Protected</span>
|
|
179
179
|
<a href="#control" >control</a>
|
|
180
180
|
</li>
|
|
181
|
+
<li>
|
|
182
|
+
<span class="modifier">Public</span>
|
|
183
|
+
<span class="modifier">Readonly</span>
|
|
184
|
+
<a href="#controlId" >controlId</a>
|
|
185
|
+
</li>
|
|
181
186
|
</ul>
|
|
182
187
|
</td>
|
|
183
188
|
</tr>
|
|
@@ -236,102 +241,6 @@
|
|
|
236
241
|
</table>
|
|
237
242
|
</section>
|
|
238
243
|
|
|
239
|
-
<section data-compodoc="block-constructor">
|
|
240
|
-
<h3 id="constructor">Constructor</h3>
|
|
241
|
-
<table class="table table-sm table-bordered">
|
|
242
|
-
<tbody>
|
|
243
|
-
<tr>
|
|
244
|
-
<td class="col-md-4">
|
|
245
|
-
<code>constructor(parent: ControlContainer, cfr: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, dataSourceLoader: DataSourceLoader, injector: Injector)</code>
|
|
246
|
-
</td>
|
|
247
|
-
</tr>
|
|
248
|
-
<tr>
|
|
249
|
-
<td class="col-md-4">
|
|
250
|
-
<div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">src/lib/form-system-control.directive.ts:54</a></div>
|
|
251
|
-
</td>
|
|
252
|
-
</tr>
|
|
253
|
-
|
|
254
|
-
<tr>
|
|
255
|
-
<td class="col-md-4">
|
|
256
|
-
<div>
|
|
257
|
-
<b>Parameters :</b>
|
|
258
|
-
<table class="params">
|
|
259
|
-
<thead>
|
|
260
|
-
<tr>
|
|
261
|
-
<td>Name</td>
|
|
262
|
-
<td>Type</td>
|
|
263
|
-
<td>Optional</td>
|
|
264
|
-
</tr>
|
|
265
|
-
</thead>
|
|
266
|
-
<tbody>
|
|
267
|
-
<tr>
|
|
268
|
-
<td>parent</td>
|
|
269
|
-
|
|
270
|
-
<td>
|
|
271
|
-
<code>ControlContainer</code>
|
|
272
|
-
</td>
|
|
273
|
-
|
|
274
|
-
<td>
|
|
275
|
-
No
|
|
276
|
-
</td>
|
|
277
|
-
|
|
278
|
-
</tr>
|
|
279
|
-
<tr>
|
|
280
|
-
<td>cfr</td>
|
|
281
|
-
|
|
282
|
-
<td>
|
|
283
|
-
<code>ComponentFactoryResolver</code>
|
|
284
|
-
</td>
|
|
285
|
-
|
|
286
|
-
<td>
|
|
287
|
-
No
|
|
288
|
-
</td>
|
|
289
|
-
|
|
290
|
-
</tr>
|
|
291
|
-
<tr>
|
|
292
|
-
<td>viewContainerRef</td>
|
|
293
|
-
|
|
294
|
-
<td>
|
|
295
|
-
<code>ViewContainerRef</code>
|
|
296
|
-
</td>
|
|
297
|
-
|
|
298
|
-
<td>
|
|
299
|
-
No
|
|
300
|
-
</td>
|
|
301
|
-
|
|
302
|
-
</tr>
|
|
303
|
-
<tr>
|
|
304
|
-
<td>dataSourceLoader</td>
|
|
305
|
-
|
|
306
|
-
<td>
|
|
307
|
-
<code>DataSourceLoader</code>
|
|
308
|
-
</td>
|
|
309
|
-
|
|
310
|
-
<td>
|
|
311
|
-
No
|
|
312
|
-
</td>
|
|
313
|
-
|
|
314
|
-
</tr>
|
|
315
|
-
<tr>
|
|
316
|
-
<td>injector</td>
|
|
317
|
-
|
|
318
|
-
<td>
|
|
319
|
-
<code>Injector</code>
|
|
320
|
-
</td>
|
|
321
|
-
|
|
322
|
-
<td>
|
|
323
|
-
No
|
|
324
|
-
</td>
|
|
325
|
-
|
|
326
|
-
</tr>
|
|
327
|
-
</tbody>
|
|
328
|
-
</table>
|
|
329
|
-
</div>
|
|
330
|
-
</td>
|
|
331
|
-
</tr>
|
|
332
|
-
</tbody>
|
|
333
|
-
</table>
|
|
334
|
-
</section>
|
|
335
244
|
|
|
336
245
|
<section data-compodoc="block-inputs">
|
|
337
246
|
<h3 id="inputs">Inputs</h3>
|
|
@@ -343,12 +252,6 @@
|
|
|
343
252
|
<b>controlId</b>
|
|
344
253
|
</td>
|
|
345
254
|
</tr>
|
|
346
|
-
<tr>
|
|
347
|
-
<td class="col-md-4">
|
|
348
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
349
|
-
|
|
350
|
-
</td>
|
|
351
|
-
</tr>
|
|
352
255
|
<tr>
|
|
353
256
|
<td class="col-md-4">
|
|
354
257
|
<i>Required : </i> <b>true</b>
|
|
@@ -356,7 +259,7 @@
|
|
|
356
259
|
</tr>
|
|
357
260
|
<tr>
|
|
358
261
|
<td class="col-md-2" colspan="2">
|
|
359
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
262
|
+
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/form-system-control.directive.ts:45</a></div>
|
|
360
263
|
</td>
|
|
361
264
|
</tr>
|
|
362
265
|
<tr>
|
|
@@ -398,8 +301,8 @@
|
|
|
398
301
|
|
|
399
302
|
<tr>
|
|
400
303
|
<td class="col-md-4">
|
|
401
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
402
|
-
class="link-to-prism">src/lib/form-system-control.directive.ts:
|
|
304
|
+
<div class="io-line">Defined in <a href="" data-line="66"
|
|
305
|
+
class="link-to-prism">src/lib/form-system-control.directive.ts:66</a></div>
|
|
403
306
|
</td>
|
|
404
307
|
</tr>
|
|
405
308
|
|
|
@@ -467,8 +370,8 @@
|
|
|
467
370
|
|
|
468
371
|
<tr>
|
|
469
372
|
<td class="col-md-4">
|
|
470
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
471
|
-
class="link-to-prism">src/lib/form-system-control.directive.ts:
|
|
373
|
+
<div class="io-line">Defined in <a href="" data-line="70"
|
|
374
|
+
class="link-to-prism">src/lib/form-system-control.directive.ts:70</a></div>
|
|
472
375
|
</td>
|
|
473
376
|
</tr>
|
|
474
377
|
|
|
@@ -536,8 +439,8 @@
|
|
|
536
439
|
|
|
537
440
|
<tr>
|
|
538
441
|
<td class="col-md-4">
|
|
539
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
540
|
-
class="link-to-prism">src/lib/form-system-control.directive.ts:
|
|
442
|
+
<div class="io-line">Defined in <a href="" data-line="78"
|
|
443
|
+
class="link-to-prism">src/lib/form-system-control.directive.ts:78</a></div>
|
|
541
444
|
</td>
|
|
542
445
|
</tr>
|
|
543
446
|
|
|
@@ -605,8 +508,8 @@
|
|
|
605
508
|
|
|
606
509
|
<tr>
|
|
607
510
|
<td class="col-md-4">
|
|
608
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
609
|
-
class="link-to-prism">src/lib/form-system-control.directive.ts:
|
|
511
|
+
<div class="io-line">Defined in <a href="" data-line="74"
|
|
512
|
+
class="link-to-prism">src/lib/form-system-control.directive.ts:74</a></div>
|
|
610
513
|
</td>
|
|
611
514
|
</tr>
|
|
612
515
|
|
|
@@ -765,7 +668,7 @@
|
|
|
765
668
|
</tr>
|
|
766
669
|
<tr>
|
|
767
670
|
<td class="col-md-4">
|
|
768
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
671
|
+
<div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/lib/form-system-control.directive.ts:49</a></div>
|
|
769
672
|
</td>
|
|
770
673
|
</tr>
|
|
771
674
|
|
|
@@ -792,10 +695,38 @@
|
|
|
792
695
|
</tr>
|
|
793
696
|
<tr>
|
|
794
697
|
<td class="col-md-4">
|
|
795
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
698
|
+
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/lib/form-system-control.directive.ts:47</a></div>
|
|
699
|
+
</td>
|
|
700
|
+
</tr>
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
</tbody>
|
|
704
|
+
</table>
|
|
705
|
+
<table class="table table-sm table-bordered">
|
|
706
|
+
<tbody>
|
|
707
|
+
<tr>
|
|
708
|
+
<td class="col-md-4">
|
|
709
|
+
<a name="controlId"></a>
|
|
710
|
+
<span class="name">
|
|
711
|
+
<span class="modifier">Public</span>
|
|
712
|
+
<span class="modifier">Readonly</span>
|
|
713
|
+
<span ><b>controlId</b></span>
|
|
714
|
+
<a href="#controlId"><span class="icon ion-ios-link"></span></a>
|
|
715
|
+
</span>
|
|
716
|
+
</td>
|
|
717
|
+
</tr>
|
|
718
|
+
<tr>
|
|
719
|
+
<td class="col-md-4">
|
|
720
|
+
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/form-system-control.directive.ts:45</a></div>
|
|
796
721
|
</td>
|
|
797
722
|
</tr>
|
|
798
723
|
|
|
724
|
+
<tr>
|
|
725
|
+
<td class="col-md-4">
|
|
726
|
+
<div class="io-description"><p>Defines the form control id</p>
|
|
727
|
+
</div>
|
|
728
|
+
</td>
|
|
729
|
+
</tr>
|
|
799
730
|
|
|
800
731
|
</tbody>
|
|
801
732
|
</table>
|
|
@@ -806,17 +737,7 @@
|
|
|
806
737
|
|
|
807
738
|
|
|
808
739
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
809
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
810
|
-
ComponentFactoryResolver,
|
|
811
|
-
ComponentRef,
|
|
812
|
-
Directive,
|
|
813
|
-
Inject,
|
|
814
|
-
INJECTOR,
|
|
815
|
-
Injector,
|
|
816
|
-
Input,
|
|
817
|
-
OnInit,
|
|
818
|
-
ViewContainerRef,
|
|
819
|
-
} from '@angular/core';
|
|
740
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ComponentRef, createComponent, Directive, EnvironmentInjector, inject, INJECTOR, Injector, input, OnInit, ViewContainerRef } from '@angular/core';
|
|
820
741
|
import {
|
|
821
742
|
Constructor,
|
|
822
743
|
Required,
|
|
@@ -850,31 +771,22 @@ export interface FormSystemControlDirective<T> extends ExtractDataSourcesM
|
|
|
850
771
|
standalone: true,
|
|
851
772
|
})
|
|
852
773
|
export class FormSystemControlDirective<T> implements ControlValueAccessor, OnInit {
|
|
774
|
+
private readonly parent = inject<ControlContainer>(ControlContainer);
|
|
775
|
+
private readonly environmentInjector = inject(EnvironmentInjector);
|
|
776
|
+
private readonly viewContainerRef = inject<ViewContainerRef>(ViewContainerRef);
|
|
777
|
+
private readonly dataSourceLoader = inject<DataSourceLoader>(DataSourceLoader);
|
|
778
|
+
private readonly injector = inject<Injector>(INJECTOR);
|
|
779
|
+
|
|
853
780
|
|
|
854
781
|
/**
|
|
855
782
|
* Defines the form control id
|
|
856
783
|
*/
|
|
857
|
-
|
|
858
|
-
public controlId!: string;
|
|
784
|
+
public readonly controlId = input.required<string>();
|
|
859
785
|
|
|
860
786
|
protected control!: RxapFormControl;
|
|
861
787
|
|
|
862
788
|
protected componentRef!: ComponentRef<ControlValueAccessor & Partial<ControlWithDataSource>>;
|
|
863
789
|
|
|
864
|
-
constructor(
|
|
865
|
-
@Inject(ControlContainer)
|
|
866
|
-
private readonly parent: ControlContainer,
|
|
867
|
-
@Inject(ComponentFactoryResolver)
|
|
868
|
-
private readonly cfr: ComponentFactoryResolver,
|
|
869
|
-
@Inject(ViewContainerRef)
|
|
870
|
-
private readonly viewContainerRef: ViewContainerRef,
|
|
871
|
-
@Inject(DataSourceLoader)
|
|
872
|
-
private readonly dataSourceLoader: DataSourceLoader,
|
|
873
|
-
@Inject(INJECTOR)
|
|
874
|
-
private readonly injector: Injector,
|
|
875
|
-
) {
|
|
876
|
-
}
|
|
877
|
-
|
|
878
790
|
public ngOnInit() {
|
|
879
791
|
|
|
880
792
|
this.control = this.extractControl();
|
|
@@ -917,7 +829,7 @@ export class FormSystemControlDirective<T> implements ControlValueAccessor
|
|
|
917
829
|
);
|
|
918
830
|
}
|
|
919
831
|
|
|
920
|
-
const useDataSourceValueMap = this.extractDataSources(formDefinition, this.controlId);
|
|
832
|
+
const useDataSourceValueMap = this.extractDataSources(formDefinition, this.controlId());
|
|
921
833
|
|
|
922
834
|
for (const [ name, useDataSourceValue ] of useDataSourceValueMap.entries()) {
|
|
923
835
|
|
|
@@ -946,8 +858,10 @@ export class FormSystemControlDirective<T> implements ControlValueAccessor
|
|
|
946
858
|
|
|
947
859
|
private createComponent(formDefinition: FormDefinition): ComponentRef<ControlValueAccessor> {
|
|
948
860
|
const component = this.extractComponent(formDefinition);
|
|
949
|
-
|
|
950
|
-
|
|
861
|
+
return createComponent(component, {
|
|
862
|
+
environmentInjector: this.environmentInjector,
|
|
863
|
+
elementInjector: this.injector,
|
|
864
|
+
});
|
|
951
865
|
}
|
|
952
866
|
|
|
953
867
|
private extractControl(): RxapFormControl {
|
|
@@ -955,7 +869,7 @@ export class FormSystemControlDirective<T> implements ControlValueAccessor
|
|
|
955
869
|
throw new RxapFormSystemError('The control property of ControlContainer is not defined', '');
|
|
956
870
|
}
|
|
957
871
|
|
|
958
|
-
const control = this.parent.control.get(this.controlId);
|
|
872
|
+
const control = this.parent.control.get(this.controlId());
|
|
959
873
|
|
|
960
874
|
if (!control) {
|
|
961
875
|
throw new RxapFormSystemError('Could not find the control instance', '');
|
|
@@ -988,11 +902,12 @@ export class FormSystemControlDirective<T> implements ControlValueAccessor
|
|
|
988
902
|
throw new RxapFormSystemError('Could not extract the use component map from the form definition instance', '');
|
|
989
903
|
}
|
|
990
904
|
|
|
991
|
-
|
|
905
|
+
const controlId = this.controlId();
|
|
906
|
+
if (!map.has(controlId)) {
|
|
992
907
|
throw new RxapFormSystemError('A use component definition does not exists in the form definition metadata', '');
|
|
993
908
|
}
|
|
994
909
|
|
|
995
|
-
return map.get(
|
|
910
|
+
return map.get(controlId)!;
|
|
996
911
|
}
|
|
997
912
|
|
|
998
913
|
private extractComponentProperties(formDefinition: FormDefinition): Record<string, any> {
|
|
@@ -1008,11 +923,12 @@ export class FormSystemControlDirective<T> implements ControlValueAccessor
|
|
|
1008
923
|
);
|
|
1009
924
|
}
|
|
1010
925
|
|
|
1011
|
-
|
|
926
|
+
const controlId = this.controlId();
|
|
927
|
+
if (!map.has(controlId)) {
|
|
1012
928
|
throw new RxapFormSystemError('A use component definition does not exists in the form definition metadata', '');
|
|
1013
929
|
}
|
|
1014
930
|
|
|
1015
|
-
return map.get(
|
|
931
|
+
return map.get(controlId)!;
|
|
1016
932
|
}
|
|
1017
933
|
|
|
1018
934
|
}
|