@rxap/form-system 21.0.1-dev.0 → 21.0.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/compodoc/changelog.html +15 -0
- package/compodoc/classes/ExtractOptionsDataSourceMixin.html +24 -80
- package/compodoc/classes/ExtractRemoteMethodsMixin.html +36 -52
- package/compodoc/dependencies.html +11 -11
- package/compodoc/directives/AbstractOptionsFromMethodDirective.html +1354 -0
- package/compodoc/directives/AutocompleteOptionsFromMethodDirective.html +376 -229
- package/compodoc/directives/ControlHideShowDirective.html +43 -152
- package/compodoc/directives/ForFormArrayItemsDirective.html +6 -101
- package/compodoc/directives/FormArrayAddItemButtonDirective.html +84 -222
- package/compodoc/directives/FormArrayItemButton.html +182 -200
- package/compodoc/directives/FormArrayItemRemoveButtonDirective.html +230 -211
- package/compodoc/directives/FormArrayItemRestoreButtonDirective.html +188 -158
- package/compodoc/directives/FormArrayRemovableDirective.html +39 -61
- package/compodoc/directives/FormSystemControlDirective.html +64 -148
- package/compodoc/directives/InputSelectOptionsDirective.html +390 -268
- package/compodoc/directives/IsEqualToDirective.html +61 -117
- package/compodoc/directives/IsSelectableValueDirective.html +50 -204
- package/compodoc/directives/OptionsFromMethodDirective.html +380 -164
- package/compodoc/directives/OptionsFromRemoteMethodDirective.html +123 -212
- package/compodoc/graph/dependencies.svg +4 -70
- package/compodoc/injectables/ControlDataSource.html +4 -10
- package/compodoc/injectables/NoopResolveMethod.html +48 -40
- package/compodoc/injectables/SubmitContextFormAdapter.html +4 -9
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +46 -38
- package/compodoc/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +46 -38
- package/compodoc/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +46 -38
- package/compodoc/interfaces/ControlHideShowOptions.html +10 -30
- package/compodoc/interfaces/ForFormArrayItemsDirectiveContext.html +6 -17
- package/compodoc/interfaces/InputSelectOptionsSettings.html +26 -49
- package/compodoc/interfaces/InputSelectOptionsTemplateContext.html +26 -49
- package/compodoc/interfaces/OptionsFromMethodDirectiveSettings.html +63 -45
- package/compodoc/interfaces/OptionsFromMethodTemplateContext.html +63 -45
- package/compodoc/interfaces/OptionsFromRemoteMethodTemplateContext.html +34 -50
- package/compodoc/js/menu-wc.js +3 -32
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -17
- package/compodoc/overview.html +2 -114
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +8836 -7240
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AbstractOptionsFromMethodDirective.html +38 -0
- package/docs/html/classes/AutocompleteOptionsFromMethodDirective.html +19 -16
- package/docs/html/classes/ControlDataSource.html +13 -13
- package/docs/html/classes/ControlHideShowDirective.html +5 -5
- package/docs/html/classes/ExtractControlFromParentMixin.html +2 -2
- package/docs/html/classes/ExtractControlMixin.html +2 -2
- package/docs/html/classes/ExtractDataSourcesMixin.html +2 -2
- package/docs/html/classes/ExtractFormDefinitionMixin.html +2 -2
- package/docs/html/classes/ExtractFunctionMixin.html +2 -2
- package/docs/html/classes/ExtractFunctionsMixin.html +2 -2
- package/docs/html/classes/ExtractIsValueFunctionMixin.html +2 -2
- package/docs/html/classes/ExtractMethodMixin.html +2 -2
- package/docs/html/classes/ExtractMethodsMixin.html +2 -2
- package/docs/html/classes/ExtractOptionsDataSourceMixin.html +2 -4
- package/docs/html/classes/ExtractOptionsMethodMixin.html +2 -2
- package/docs/html/classes/ExtractRemoteMethodsMixin.html +2 -2
- package/docs/html/classes/ExtractResolveMethodMixin.html +2 -2
- package/docs/html/classes/ExtractToDisplayFunctionMixin.html +2 -2
- package/docs/html/classes/ForFormArrayItemsDirective.html +4 -4
- package/docs/html/classes/FormArrayAddItemButtonDirective.html +4 -4
- package/docs/html/classes/FormArrayItemButton.html +4 -4
- package/docs/html/classes/FormArrayItemRemoveButtonDirective.html +5 -5
- package/docs/html/classes/FormArrayItemRestoreButtonDirective.html +4 -4
- package/docs/html/classes/FormArrayRemovableDirective.html +4 -4
- package/docs/html/classes/FormSystemControlDirective.html +8 -8
- package/docs/html/classes/InputSelectOptionsDirective.html +10 -7
- package/docs/html/classes/IsEqualToDirective.html +5 -5
- package/docs/html/classes/IsSelectableValueDirective.html +4 -5
- package/docs/html/classes/NoopResolveMethod.html +2 -2
- package/docs/html/classes/OptionsFromMethodDirective.html +24 -24
- package/docs/html/classes/OptionsFromRemoteMethodDirective.html +5 -11
- package/docs/html/classes/RxapFormSystemError.html +5 -5
- package/docs/html/classes/SubmitContextFormAdapter.html +10 -10
- package/docs/html/classes/TestNgControl.html +4 -4
- package/docs/html/enums/FormSystemMetadataKeys.html +2 -2
- package/docs/html/functions/ApplyUseFunctionAdapters.html +1 -1
- package/docs/html/functions/ApplyUseMethodAdapters.html +1 -1
- package/docs/html/functions/ComposeOptionsTransformers.html +1 -1
- package/docs/html/functions/FormContextFromActivatedRouteFactory.html +1 -1
- package/docs/html/functions/ResolveByUuidParameter.html +1 -1
- package/docs/html/functions/ResolveByUuidResultFactory.html +1 -1
- package/docs/html/functions/SubmitContextFormAdapterFactory.html +1 -1
- package/docs/html/functions/UseAutocompleteIsValueFunction.html +1 -1
- package/docs/html/functions/UseAutocompleteOptionsMethod.html +1 -1
- package/docs/html/functions/UseAutocompleteResolveMethod.html +1 -1
- package/docs/html/functions/UseAutocompleteToDisplayFunction.html +1 -1
- package/docs/html/functions/UseComponent.html +1 -1
- package/docs/html/functions/UseDataSource.html +1 -1
- package/docs/html/functions/UseFormComponent.html +2 -2
- package/docs/html/functions/UseFunction.html +1 -1
- package/docs/html/functions/UseHideFunction.html +1 -1
- package/docs/html/functions/UseIsValueFunction.html +1 -1
- package/docs/html/functions/UseMethod.html +1 -1
- package/docs/html/functions/UseOptionsDataSource.html +1 -1
- package/docs/html/functions/UseOptionsMethod.html +1 -1
- package/docs/html/functions/UseOptionsRemoteMethod.html +1 -1
- package/docs/html/functions/UseRemoteMethod.html +1 -1
- package/docs/html/functions/UseResolveMethod.html +1 -1
- package/docs/html/functions/UseShowFunction.html +1 -1
- package/docs/html/functions/UseToDisplayFunction.html +1 -1
- package/docs/html/functions/controlDataSource-1.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.html +2 -2
- package/docs/html/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/ControlHideShowOptions.html +2 -2
- package/docs/html/interfaces/ControlWithDataSource.html +2 -2
- package/docs/html/interfaces/ForFormArrayItemsDirectiveContext.html +2 -2
- package/docs/html/interfaces/InputSelectOptionsSettings.html +4 -4
- package/docs/html/interfaces/InputSelectOptionsTemplateContext.html +2 -2
- package/docs/html/interfaces/OptionsFromMethodDirectiveSettings.html +1 -1
- package/docs/html/interfaces/OptionsFromMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/OptionsFromRemoteMethodTemplateContext.html +2 -2
- package/docs/html/interfaces/UseDataSourceSettings.html +2 -2
- package/docs/html/interfaces/UseDataSourceValue.html +3 -3
- package/docs/html/interfaces/UseFunctionConfig.html +2 -2
- package/docs/html/interfaces/UseFunctionDefinition.html +2 -2
- package/docs/html/interfaces/UseMethodConfig.html +2 -2
- package/docs/html/interfaces/UseMethodDefinition.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/ControlHideShowFunction.html +1 -1
- package/docs/html/types/FunctionParameterAdapterFunction.html +1 -1
- package/docs/html/types/FunctionResultAdapterFunction.html +1 -1
- package/docs/html/types/MethodParameterAdapterFunction.html +1 -1
- package/docs/html/types/MethodResultAdapterFunction.html +1 -1
- package/docs/html/types/OptionsMethod.html +1 -1
- package/docs/html/types/UseFunctionType.html +1 -1
- package/docs/html/types/UseOptionsDataSourceSettings.html +1 -1
- package/docs/html/variables/DATA_SOURCE_NAME.html +1 -1
- package/docs/html/variables/IS_VALUE_FUNCTION_NAME.html +1 -1
- package/docs/html/variables/OPTIONS_METHOD_NAME.html +1 -1
- package/docs/html/variables/REMOTE_METHOD_NAME.html +1 -1
- package/docs/html/variables/RESOLVE_METHOD_NAME.html +1 -1
- package/docs/html/variables/RXAP_FORM_CONTROL_SOURCE.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.html +1 -1
- package/docs/html/variables/RXAP_USE_FUNCTION.html +1 -1
- package/docs/html/variables/RXAP_USE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_USE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.html +1 -1
- package/docs/html/variables/TO_DISPLAY_FUNCTION_NAME.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AbstractOptionsFromMethodDirective.md +436 -0
- package/docs/markdown/classes/AutocompleteOptionsFromMethodDirective.md +131 -122
- package/docs/markdown/classes/ControlDataSource.md +51 -51
- package/docs/markdown/classes/ControlHideShowDirective.md +11 -31
- package/docs/markdown/classes/ExtractControlFromParentMixin.md +3 -3
- package/docs/markdown/classes/ExtractControlMixin.md +6 -6
- package/docs/markdown/classes/ExtractDataSourcesMixin.md +3 -3
- package/docs/markdown/classes/ExtractFormDefinitionMixin.md +3 -3
- package/docs/markdown/classes/ExtractFunctionMixin.md +5 -5
- package/docs/markdown/classes/ExtractFunctionsMixin.md +3 -3
- package/docs/markdown/classes/ExtractIsValueFunctionMixin.md +11 -11
- package/docs/markdown/classes/ExtractMethodMixin.md +5 -5
- package/docs/markdown/classes/ExtractMethodsMixin.md +3 -3
- package/docs/markdown/classes/ExtractOptionsDataSourceMixin.md +19 -31
- package/docs/markdown/classes/ExtractOptionsMethodMixin.md +12 -12
- package/docs/markdown/classes/ExtractRemoteMethodsMixin.md +3 -3
- package/docs/markdown/classes/ExtractResolveMethodMixin.md +11 -11
- package/docs/markdown/classes/ExtractToDisplayFunctionMixin.md +11 -11
- package/docs/markdown/classes/ForFormArrayItemsDirective.md +5 -25
- package/docs/markdown/classes/FormArrayAddItemButtonDirective.md +14 -26
- package/docs/markdown/classes/FormArrayItemButton.md +21 -41
- package/docs/markdown/classes/FormArrayItemRemoveButtonDirective.md +28 -58
- package/docs/markdown/classes/FormArrayItemRestoreButtonDirective.md +25 -45
- package/docs/markdown/classes/FormArrayRemovableDirective.md +10 -18
- package/docs/markdown/classes/FormSystemControlDirective.md +13 -37
- package/docs/markdown/classes/InputSelectOptionsDirective.md +50 -75
- package/docs/markdown/classes/IsEqualToDirective.md +9 -19
- package/docs/markdown/classes/IsSelectableValueDirective.md +23 -47
- package/docs/markdown/classes/NoopResolveMethod.md +3 -3
- package/docs/markdown/classes/OptionsFromMethodDirective.md +140 -85
- package/docs/markdown/classes/OptionsFromRemoteMethodDirective.md +14 -67
- package/docs/markdown/classes/RxapFormSystemError.md +13 -13
- package/docs/markdown/classes/SubmitContextFormAdapter.md +32 -32
- package/docs/markdown/classes/TestNgControl.md +5 -5
- package/docs/markdown/enumerations/FormSystemMetadataKeys.md +6 -6
- package/docs/markdown/functions/ApplyUseFunctionAdapters.md +2 -2
- package/docs/markdown/functions/ApplyUseMethodAdapters.md +2 -2
- package/docs/markdown/functions/ComposeOptionsTransformers.md +2 -2
- package/docs/markdown/functions/FormContextFromActivatedRouteFactory.md +2 -2
- package/docs/markdown/functions/ResolveByUuidParameter.md +2 -2
- package/docs/markdown/functions/ResolveByUuidResultFactory.md +2 -2
- package/docs/markdown/functions/SubmitContextFormAdapterFactory.md +2 -2
- package/docs/markdown/functions/UseAutocompleteIsValueFunction.md +2 -2
- package/docs/markdown/functions/UseAutocompleteOptionsMethod.md +4 -4
- package/docs/markdown/functions/UseAutocompleteResolveMethod.md +2 -2
- package/docs/markdown/functions/UseAutocompleteToDisplayFunction.md +2 -2
- package/docs/markdown/functions/UseComponent.md +2 -2
- package/docs/markdown/functions/UseDataSource.md +2 -2
- package/docs/markdown/functions/UseFormComponent.md +2 -2
- package/docs/markdown/functions/UseFunction.md +2 -2
- package/docs/markdown/functions/UseHideFunction.md +2 -2
- package/docs/markdown/functions/UseIsValueFunction.md +3 -3
- package/docs/markdown/functions/UseMethod.md +2 -2
- package/docs/markdown/functions/UseOptionsDataSource.md +2 -2
- package/docs/markdown/functions/UseOptionsMethod.md +2 -2
- package/docs/markdown/functions/UseOptionsRemoteMethod.md +2 -2
- package/docs/markdown/functions/UseRemoteMethod.md +2 -2
- package/docs/markdown/functions/UseResolveMethod.md +3 -3
- package/docs/markdown/functions/UseShowFunction.md +2 -2
- package/docs/markdown/functions/UseToDisplayFunction.md +3 -3
- package/docs/markdown/functions/controlDataSource.md +2 -2
- package/docs/markdown/globals.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveParameters.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromMethodDirectiveSettings.md +3 -3
- package/docs/markdown/interfaces/AutocompleteOptionsFromRemoteMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/ControlHideShowOptions.md +3 -3
- package/docs/markdown/interfaces/ControlWithDataSource.md +3 -3
- package/docs/markdown/interfaces/ForFormArrayItemsDirectiveContext.md +9 -9
- package/docs/markdown/interfaces/InputSelectOptionsSettings.md +6 -6
- package/docs/markdown/interfaces/InputSelectOptionsTemplateContext.md +3 -3
- package/docs/markdown/interfaces/OptionsFromMethodDirectiveSettings.md +2 -2
- package/docs/markdown/interfaces/OptionsFromMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/OptionsFromRemoteMethodTemplateContext.md +3 -3
- package/docs/markdown/interfaces/UseDataSourceSettings.md +3 -3
- package/docs/markdown/interfaces/UseDataSourceValue.md +5 -5
- package/docs/markdown/interfaces/UseFunctionConfig.md +3 -3
- package/docs/markdown/interfaces/UseFunctionDefinition.md +4 -4
- package/docs/markdown/interfaces/UseMethodConfig.md +3 -3
- package/docs/markdown/interfaces/UseMethodDefinition.md +4 -4
- package/docs/markdown/type-aliases/ControlHideShowFunction.md +2 -2
- package/docs/markdown/type-aliases/FunctionParameterAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/FunctionResultAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/MethodParameterAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/MethodResultAdapterFunction.md +2 -2
- package/docs/markdown/type-aliases/OptionsMethod.md +2 -2
- package/docs/markdown/type-aliases/UseFunctionType.md +2 -2
- package/docs/markdown/type-aliases/UseOptionsDataSourceSettings.md +2 -2
- package/docs/markdown/variables/DATA_SOURCE_NAME.md +2 -2
- package/docs/markdown/variables/IS_VALUE_FUNCTION_NAME.md +2 -2
- package/docs/markdown/variables/OPTIONS_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/REMOTE_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/RESOLVE_METHOD_NAME.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_CONTROL_SOURCE.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_FORM_SYSTEM_SHOW_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_USE_FUNCTION.md +2 -2
- package/docs/markdown/variables/RXAP_USE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_USE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +2 -2
- package/docs/markdown/variables/TO_DISPLAY_FUNCTION_NAME.md +2 -2
- package/docs/wiki/Class.AbstractOptionsFromMethodDirective.md +432 -0
- package/docs/wiki/Class.AutocompleteOptionsFromMethodDirective.md +130 -121
- package/docs/wiki/Class.ControlDataSource.md +50 -50
- package/docs/wiki/Class.ControlHideShowDirective.md +10 -30
- package/docs/wiki/Class.ExtractControlFromParentMixin.md +2 -2
- package/docs/wiki/Class.ExtractControlMixin.md +5 -5
- package/docs/wiki/Class.ExtractDataSourcesMixin.md +2 -2
- package/docs/wiki/Class.ExtractFormDefinitionMixin.md +2 -2
- package/docs/wiki/Class.ExtractFunctionMixin.md +4 -4
- package/docs/wiki/Class.ExtractFunctionsMixin.md +2 -2
- package/docs/wiki/Class.ExtractIsValueFunctionMixin.md +10 -10
- package/docs/wiki/Class.ExtractMethodMixin.md +4 -4
- package/docs/wiki/Class.ExtractMethodsMixin.md +2 -2
- package/docs/wiki/Class.ExtractOptionsDataSourceMixin.md +18 -30
- package/docs/wiki/Class.ExtractOptionsMethodMixin.md +11 -11
- package/docs/wiki/Class.ExtractRemoteMethodsMixin.md +2 -2
- package/docs/wiki/Class.ExtractResolveMethodMixin.md +10 -10
- package/docs/wiki/Class.ExtractToDisplayFunctionMixin.md +10 -10
- package/docs/wiki/Class.ForFormArrayItemsDirective.md +4 -24
- package/docs/wiki/Class.FormArrayAddItemButtonDirective.md +13 -25
- package/docs/wiki/Class.FormArrayItemButton.md +20 -40
- package/docs/wiki/Class.FormArrayItemRemoveButtonDirective.md +27 -57
- package/docs/wiki/Class.FormArrayItemRestoreButtonDirective.md +24 -44
- package/docs/wiki/Class.FormArrayRemovableDirective.md +9 -17
- package/docs/wiki/Class.FormSystemControlDirective.md +12 -36
- package/docs/wiki/Class.InputSelectOptionsDirective.md +49 -74
- package/docs/wiki/Class.IsEqualToDirective.md +8 -18
- package/docs/wiki/Class.IsSelectableValueDirective.md +22 -46
- package/docs/wiki/Class.NoopResolveMethod.md +2 -2
- package/docs/wiki/Class.OptionsFromMethodDirective.md +139 -84
- package/docs/wiki/Class.OptionsFromRemoteMethodDirective.md +13 -66
- package/docs/wiki/Class.RxapFormSystemError.md +12 -12
- package/docs/wiki/Class.SubmitContextFormAdapter.md +31 -31
- package/docs/wiki/Class.TestNgControl.md +4 -4
- package/docs/wiki/Enumeration.FormSystemMetadataKeys.md +5 -5
- package/docs/wiki/Function.ApplyUseFunctionAdapters.md +1 -1
- package/docs/wiki/Function.ApplyUseMethodAdapters.md +1 -1
- package/docs/wiki/Function.ComposeOptionsTransformers.md +1 -1
- package/docs/wiki/Function.FormContextFromActivatedRouteFactory.md +1 -1
- package/docs/wiki/Function.ResolveByUuidParameter.md +1 -1
- package/docs/wiki/Function.ResolveByUuidResultFactory.md +1 -1
- package/docs/wiki/Function.SubmitContextFormAdapterFactory.md +1 -1
- package/docs/wiki/Function.UseAutocompleteIsValueFunction.md +1 -1
- package/docs/wiki/Function.UseAutocompleteOptionsMethod.md +3 -3
- package/docs/wiki/Function.UseAutocompleteResolveMethod.md +1 -1
- package/docs/wiki/Function.UseAutocompleteToDisplayFunction.md +1 -1
- package/docs/wiki/Function.UseComponent.md +1 -1
- package/docs/wiki/Function.UseDataSource.md +1 -1
- package/docs/wiki/Function.UseFormComponent.md +1 -1
- package/docs/wiki/Function.UseFunction.md +1 -1
- package/docs/wiki/Function.UseHideFunction.md +1 -1
- package/docs/wiki/Function.UseIsValueFunction.md +2 -2
- package/docs/wiki/Function.UseMethod.md +1 -1
- package/docs/wiki/Function.UseOptionsDataSource.md +1 -1
- package/docs/wiki/Function.UseOptionsMethod.md +1 -1
- package/docs/wiki/Function.UseOptionsRemoteMethod.md +1 -1
- package/docs/wiki/Function.UseRemoteMethod.md +1 -1
- package/docs/wiki/Function.UseResolveMethod.md +2 -2
- package/docs/wiki/Function.UseShowFunction.md +1 -1
- package/docs/wiki/Function.UseToDisplayFunction.md +2 -2
- package/docs/wiki/Function.controlDataSource.md +1 -1
- package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveParameters.md +2 -2
- package/docs/wiki/Interface.AutocompleteOptionsFromMethodDirectiveSettings.md +2 -2
- package/docs/wiki/Interface.AutocompleteOptionsFromRemoteMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.ControlHideShowOptions.md +2 -2
- package/docs/wiki/Interface.ControlWithDataSource.md +2 -2
- package/docs/wiki/Interface.ForFormArrayItemsDirectiveContext.md +8 -8
- package/docs/wiki/Interface.InputSelectOptionsSettings.md +5 -5
- package/docs/wiki/Interface.InputSelectOptionsTemplateContext.md +2 -2
- package/docs/wiki/Interface.OptionsFromMethodDirectiveSettings.md +1 -1
- package/docs/wiki/Interface.OptionsFromMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.OptionsFromRemoteMethodTemplateContext.md +2 -2
- package/docs/wiki/Interface.UseDataSourceSettings.md +2 -2
- package/docs/wiki/Interface.UseDataSourceValue.md +4 -4
- package/docs/wiki/Interface.UseFunctionConfig.md +2 -2
- package/docs/wiki/Interface.UseFunctionDefinition.md +3 -3
- package/docs/wiki/Interface.UseMethodConfig.md +2 -2
- package/docs/wiki/Interface.UseMethodDefinition.md +3 -3
- package/docs/wiki/TypeAlias.ControlHideShowFunction.md +1 -1
- package/docs/wiki/TypeAlias.FunctionParameterAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.FunctionResultAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.MethodParameterAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.MethodResultAdapterFunction.md +1 -1
- package/docs/wiki/TypeAlias.OptionsMethod.md +1 -1
- package/docs/wiki/TypeAlias.UseFunctionType.md +1 -1
- package/docs/wiki/TypeAlias.UseOptionsDataSourceSettings.md +1 -1
- package/docs/wiki/Variable.DATA_SOURCE_NAME.md +1 -1
- package/docs/wiki/Variable.IS_VALUE_FUNCTION_NAME.md +1 -1
- package/docs/wiki/Variable.OPTIONS_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.REMOTE_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.RESOLVE_METHOD_NAME.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_CONTROL_SOURCE.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_FORM_SYSTEM_SHOW_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_FUNCTION.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_USE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.SUBMIT_CONTEXT_FORM_ADAPTER_METHOD.md +1 -1
- package/docs/wiki/Variable.TO_DISPLAY_FUNCTION_NAME.md +1 -1
- package/docs/wiki/_Sidebar.md +1 -1
- package/docs/wiki/globals.md +2 -2
- package/fesm2022/rxap-form-system.mjs +274 -420
- package/fesm2022/rxap-form-system.mjs.map +1 -1
- package/package.json +28 -28
- package/types/rxap-form-system.d.ts +90 -80
- package/docs/html/classes/FormSystemDirectivesModule.html +0 -2
- package/docs/markdown/classes/FormSystemDirectivesModule.md +0 -19
- package/docs/wiki/Class.FormSystemDirectivesModule.md +0 -15
|
@@ -146,6 +146,11 @@
|
|
|
146
146
|
<span class="modifier">Protected</span>
|
|
147
147
|
<a href="#deletedControl" >deletedControl</a>
|
|
148
148
|
</li>
|
|
149
|
+
<li>
|
|
150
|
+
<span class="modifier">Protected</span>
|
|
151
|
+
<span class="modifier">Readonly</span>
|
|
152
|
+
<a href="#elementRef" >elementRef</a>
|
|
153
|
+
</li>
|
|
149
154
|
<li>
|
|
150
155
|
<span class="modifier">Protected</span>
|
|
151
156
|
<a href="#formArray" >formArray</a>
|
|
@@ -155,7 +160,22 @@
|
|
|
155
160
|
<a href="#formGroup" >formGroup</a>
|
|
156
161
|
</li>
|
|
157
162
|
<li>
|
|
158
|
-
<span class="modifier"
|
|
163
|
+
<span class="modifier">Protected</span>
|
|
164
|
+
<span class="modifier">Readonly</span>
|
|
165
|
+
<a href="#matButton" >matButton</a>
|
|
166
|
+
</li>
|
|
167
|
+
<li>
|
|
168
|
+
<span class="modifier">Protected</span>
|
|
169
|
+
<span class="modifier">Readonly</span>
|
|
170
|
+
<a href="#parent" >parent</a>
|
|
171
|
+
</li>
|
|
172
|
+
<li>
|
|
173
|
+
<span class="modifier">Protected</span>
|
|
174
|
+
<span class="modifier">Readonly</span>
|
|
175
|
+
<a href="#renderer" >renderer</a>
|
|
176
|
+
</li>
|
|
177
|
+
<li>
|
|
178
|
+
<span class="modifier">Readonly</span>
|
|
159
179
|
<a href="#type" >type</a>
|
|
160
180
|
</li>
|
|
161
181
|
</ul>
|
|
@@ -186,23 +206,6 @@
|
|
|
186
206
|
|
|
187
207
|
|
|
188
208
|
|
|
189
|
-
<tr>
|
|
190
|
-
<td class="col-md-4">
|
|
191
|
-
<h6><b>HostBindings</b></h6>
|
|
192
|
-
</td>
|
|
193
|
-
</tr>
|
|
194
|
-
<tr>
|
|
195
|
-
<td class="col-md-4">
|
|
196
|
-
<ul class="index-list">
|
|
197
|
-
<li>
|
|
198
|
-
<a href="#disabled" >disabled</a>
|
|
199
|
-
</li>
|
|
200
|
-
<li>
|
|
201
|
-
<a href="#type" >type</a>
|
|
202
|
-
</li>
|
|
203
|
-
</ul>
|
|
204
|
-
</td>
|
|
205
|
-
</tr>
|
|
206
209
|
|
|
207
210
|
|
|
208
211
|
<tr>
|
|
@@ -232,152 +235,9 @@
|
|
|
232
235
|
</table>
|
|
233
236
|
</section>
|
|
234
237
|
|
|
235
|
-
<section data-compodoc="block-constructor">
|
|
236
|
-
<h3 id="constructor">Constructor</h3>
|
|
237
|
-
<table class="table table-sm table-bordered">
|
|
238
|
-
<tbody>
|
|
239
|
-
<tr>
|
|
240
|
-
<td class="col-md-4">
|
|
241
|
-
<code>constructor(parent: ControlContainer, matButton: MatButton, renderer: Renderer2, elementRef: ElementRef)</code>
|
|
242
|
-
</td>
|
|
243
|
-
</tr>
|
|
244
|
-
<tr>
|
|
245
|
-
<td class="col-md-4">
|
|
246
|
-
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:36</a></div>
|
|
247
|
-
</td>
|
|
248
|
-
</tr>
|
|
249
|
-
|
|
250
|
-
<tr>
|
|
251
|
-
<td class="col-md-4">
|
|
252
|
-
<div>
|
|
253
|
-
<b>Parameters :</b>
|
|
254
|
-
<table class="params">
|
|
255
|
-
<thead>
|
|
256
|
-
<tr>
|
|
257
|
-
<td>Name</td>
|
|
258
|
-
<td>Type</td>
|
|
259
|
-
<td>Optional</td>
|
|
260
|
-
</tr>
|
|
261
|
-
</thead>
|
|
262
|
-
<tbody>
|
|
263
|
-
<tr>
|
|
264
|
-
<td>parent</td>
|
|
265
|
-
|
|
266
|
-
<td>
|
|
267
|
-
<code>ControlContainer</code>
|
|
268
|
-
</td>
|
|
269
|
-
|
|
270
|
-
<td>
|
|
271
|
-
No
|
|
272
|
-
</td>
|
|
273
|
-
|
|
274
|
-
</tr>
|
|
275
|
-
<tr>
|
|
276
|
-
<td>matButton</td>
|
|
277
|
-
|
|
278
|
-
<td>
|
|
279
|
-
<code>MatButton</code>
|
|
280
|
-
</td>
|
|
281
|
-
|
|
282
|
-
<td>
|
|
283
|
-
No
|
|
284
|
-
</td>
|
|
285
|
-
|
|
286
|
-
</tr>
|
|
287
|
-
<tr>
|
|
288
|
-
<td>renderer</td>
|
|
289
|
-
|
|
290
|
-
<td>
|
|
291
|
-
<code>Renderer2</code>
|
|
292
|
-
</td>
|
|
293
|
-
|
|
294
|
-
<td>
|
|
295
|
-
No
|
|
296
|
-
</td>
|
|
297
|
-
|
|
298
|
-
</tr>
|
|
299
|
-
<tr>
|
|
300
|
-
<td>elementRef</td>
|
|
301
|
-
|
|
302
|
-
<td>
|
|
303
|
-
<code>ElementRef</code>
|
|
304
|
-
</td>
|
|
305
|
-
|
|
306
|
-
<td>
|
|
307
|
-
No
|
|
308
|
-
</td>
|
|
309
|
-
|
|
310
|
-
</tr>
|
|
311
|
-
</tbody>
|
|
312
|
-
</table>
|
|
313
|
-
</div>
|
|
314
|
-
</td>
|
|
315
|
-
</tr>
|
|
316
|
-
</tbody>
|
|
317
|
-
</table>
|
|
318
|
-
</section>
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
<section data-compodoc="block-properties">
|
|
323
|
-
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
324
|
-
<tbody>
|
|
325
|
-
<tr>
|
|
326
|
-
<td class="col-md-4">
|
|
327
|
-
<a name="disabled"></a>
|
|
328
|
-
<span class="name">
|
|
329
|
-
<span ><b>disabled</b></span>
|
|
330
|
-
<a href="#disabled"><span class="icon ion-ios-link"></span></a>
|
|
331
|
-
</span>
|
|
332
|
-
</td>
|
|
333
|
-
</tr>
|
|
334
|
-
<tr>
|
|
335
|
-
<td class="col-md-4">
|
|
336
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
337
|
-
|
|
338
|
-
</td>
|
|
339
|
-
</tr>
|
|
340
|
-
<tr>
|
|
341
|
-
<td class="col-md-4">
|
|
342
|
-
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:47</a></div>
|
|
343
|
-
</td>
|
|
344
|
-
</tr>
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
</tbody>
|
|
348
|
-
</table>
|
|
349
|
-
<table class="table table-sm table-bordered">
|
|
350
|
-
<tbody>
|
|
351
|
-
<tr>
|
|
352
|
-
<td class="col-md-4">
|
|
353
|
-
<a name="type"></a>
|
|
354
|
-
<span class="name">
|
|
355
|
-
<span ><b>type</b></span>
|
|
356
|
-
<a href="#type"><span class="icon ion-ios-link"></span></a>
|
|
357
|
-
</span>
|
|
358
|
-
</td>
|
|
359
|
-
</tr>
|
|
360
|
-
<tr>
|
|
361
|
-
<td class="col-md-4">
|
|
362
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
363
238
|
|
|
364
|
-
</td>
|
|
365
|
-
</tr>
|
|
366
|
-
<tr>
|
|
367
|
-
<td class="col-md-4">
|
|
368
|
-
<i>Default value : </i><code>'button'</code>
|
|
369
|
-
</td>
|
|
370
|
-
</tr>
|
|
371
|
-
<tr>
|
|
372
|
-
<td class="col-md-4">
|
|
373
|
-
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:31</a></div>
|
|
374
|
-
</td>
|
|
375
|
-
</tr>
|
|
376
239
|
|
|
377
240
|
|
|
378
|
-
</tbody>
|
|
379
|
-
</table>
|
|
380
|
-
</section>
|
|
381
241
|
|
|
382
242
|
|
|
383
243
|
<section data-compodoc="block-methods">
|
|
@@ -408,8 +268,8 @@
|
|
|
408
268
|
|
|
409
269
|
<tr>
|
|
410
270
|
<td class="col-md-4">
|
|
411
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
412
|
-
class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:
|
|
271
|
+
<div class="io-line">Defined in <a href="" data-line="98"
|
|
272
|
+
class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:98</a></div>
|
|
413
273
|
</td>
|
|
414
274
|
</tr>
|
|
415
275
|
|
|
@@ -448,8 +308,8 @@
|
|
|
448
308
|
|
|
449
309
|
<tr>
|
|
450
310
|
<td class="col-md-4">
|
|
451
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
452
|
-
class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:
|
|
311
|
+
<div class="io-line">Defined in <a href="" data-line="100"
|
|
312
|
+
class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:100</a></div>
|
|
453
313
|
</td>
|
|
454
314
|
</tr>
|
|
455
315
|
|
|
@@ -491,7 +351,40 @@
|
|
|
491
351
|
</tr>
|
|
492
352
|
<tr>
|
|
493
353
|
<td class="col-md-4">
|
|
494
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
354
|
+
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:36</a></div>
|
|
355
|
+
</td>
|
|
356
|
+
</tr>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
</tbody>
|
|
360
|
+
</table>
|
|
361
|
+
<table class="table table-sm table-bordered">
|
|
362
|
+
<tbody>
|
|
363
|
+
<tr>
|
|
364
|
+
<td class="col-md-4">
|
|
365
|
+
<a name="elementRef"></a>
|
|
366
|
+
<span class="name">
|
|
367
|
+
<span class="modifier">Protected</span>
|
|
368
|
+
<span class="modifier">Readonly</span>
|
|
369
|
+
<span ><b>elementRef</b></span>
|
|
370
|
+
<a href="#elementRef"><span class="icon ion-ios-link"></span></a>
|
|
371
|
+
</span>
|
|
372
|
+
</td>
|
|
373
|
+
</tr>
|
|
374
|
+
<tr>
|
|
375
|
+
<td class="col-md-4">
|
|
376
|
+
<i>Type : </i> <code>ElementRef</code>
|
|
377
|
+
|
|
378
|
+
</td>
|
|
379
|
+
</tr>
|
|
380
|
+
<tr>
|
|
381
|
+
<td class="col-md-4">
|
|
382
|
+
<i>Default value : </i><code>inject(ElementRef)</code>
|
|
383
|
+
</td>
|
|
384
|
+
</tr>
|
|
385
|
+
<tr>
|
|
386
|
+
<td class="col-md-4">
|
|
387
|
+
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:43</a></div>
|
|
495
388
|
</td>
|
|
496
389
|
</tr>
|
|
497
390
|
|
|
@@ -518,7 +411,7 @@
|
|
|
518
411
|
</tr>
|
|
519
412
|
<tr>
|
|
520
413
|
<td class="col-md-4">
|
|
521
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
414
|
+
<div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:35</a></div>
|
|
522
415
|
</td>
|
|
523
416
|
</tr>
|
|
524
417
|
|
|
@@ -545,7 +438,106 @@
|
|
|
545
438
|
</tr>
|
|
546
439
|
<tr>
|
|
547
440
|
<td class="col-md-4">
|
|
548
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
441
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:34</a></div>
|
|
442
|
+
</td>
|
|
443
|
+
</tr>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
</tbody>
|
|
447
|
+
</table>
|
|
448
|
+
<table class="table table-sm table-bordered">
|
|
449
|
+
<tbody>
|
|
450
|
+
<tr>
|
|
451
|
+
<td class="col-md-4">
|
|
452
|
+
<a name="matButton"></a>
|
|
453
|
+
<span class="name">
|
|
454
|
+
<span class="modifier">Protected</span>
|
|
455
|
+
<span class="modifier">Readonly</span>
|
|
456
|
+
<span ><b>matButton</b></span>
|
|
457
|
+
<a href="#matButton"><span class="icon ion-ios-link"></span></a>
|
|
458
|
+
</span>
|
|
459
|
+
</td>
|
|
460
|
+
</tr>
|
|
461
|
+
<tr>
|
|
462
|
+
<td class="col-md-4">
|
|
463
|
+
<i>Type : </i> <code>MatButton | null</code>
|
|
464
|
+
|
|
465
|
+
</td>
|
|
466
|
+
</tr>
|
|
467
|
+
<tr>
|
|
468
|
+
<td class="col-md-4">
|
|
469
|
+
<i>Default value : </i><code>inject(MatButton, { optional: true })</code>
|
|
470
|
+
</td>
|
|
471
|
+
</tr>
|
|
472
|
+
<tr>
|
|
473
|
+
<td class="col-md-4">
|
|
474
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:41</a></div>
|
|
475
|
+
</td>
|
|
476
|
+
</tr>
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
</tbody>
|
|
480
|
+
</table>
|
|
481
|
+
<table class="table table-sm table-bordered">
|
|
482
|
+
<tbody>
|
|
483
|
+
<tr>
|
|
484
|
+
<td class="col-md-4">
|
|
485
|
+
<a name="parent"></a>
|
|
486
|
+
<span class="name">
|
|
487
|
+
<span class="modifier">Protected</span>
|
|
488
|
+
<span class="modifier">Readonly</span>
|
|
489
|
+
<span ><b>parent</b></span>
|
|
490
|
+
<a href="#parent"><span class="icon ion-ios-link"></span></a>
|
|
491
|
+
</span>
|
|
492
|
+
</td>
|
|
493
|
+
</tr>
|
|
494
|
+
<tr>
|
|
495
|
+
<td class="col-md-4">
|
|
496
|
+
<i>Type : </i> <code>ControlContainer</code>
|
|
497
|
+
|
|
498
|
+
</td>
|
|
499
|
+
</tr>
|
|
500
|
+
<tr>
|
|
501
|
+
<td class="col-md-4">
|
|
502
|
+
<i>Default value : </i><code>inject(ControlContainer, { skipSelf: true })</code>
|
|
503
|
+
</td>
|
|
504
|
+
</tr>
|
|
505
|
+
<tr>
|
|
506
|
+
<td class="col-md-4">
|
|
507
|
+
<div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:40</a></div>
|
|
508
|
+
</td>
|
|
509
|
+
</tr>
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
</tbody>
|
|
513
|
+
</table>
|
|
514
|
+
<table class="table table-sm table-bordered">
|
|
515
|
+
<tbody>
|
|
516
|
+
<tr>
|
|
517
|
+
<td class="col-md-4">
|
|
518
|
+
<a name="renderer"></a>
|
|
519
|
+
<span class="name">
|
|
520
|
+
<span class="modifier">Protected</span>
|
|
521
|
+
<span class="modifier">Readonly</span>
|
|
522
|
+
<span ><b>renderer</b></span>
|
|
523
|
+
<a href="#renderer"><span class="icon ion-ios-link"></span></a>
|
|
524
|
+
</span>
|
|
525
|
+
</td>
|
|
526
|
+
</tr>
|
|
527
|
+
<tr>
|
|
528
|
+
<td class="col-md-4">
|
|
529
|
+
<i>Type : </i> <code>Renderer2</code>
|
|
530
|
+
|
|
531
|
+
</td>
|
|
532
|
+
</tr>
|
|
533
|
+
<tr>
|
|
534
|
+
<td class="col-md-4">
|
|
535
|
+
<i>Default value : </i><code>inject(Renderer2)</code>
|
|
536
|
+
</td>
|
|
537
|
+
</tr>
|
|
538
|
+
<tr>
|
|
539
|
+
<td class="col-md-4">
|
|
540
|
+
<div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:42</a></div>
|
|
549
541
|
</td>
|
|
550
542
|
</tr>
|
|
551
543
|
|
|
@@ -558,7 +550,7 @@
|
|
|
558
550
|
<td class="col-md-4">
|
|
559
551
|
<a name="type"></a>
|
|
560
552
|
<span class="name">
|
|
561
|
-
<span class="modifier"
|
|
553
|
+
<span class="modifier">Readonly</span>
|
|
562
554
|
<span ><b>type</b></span>
|
|
563
555
|
<a href="#type"><span class="icon ion-ios-link"></span></a>
|
|
564
556
|
</span>
|
|
@@ -574,19 +566,10 @@
|
|
|
574
566
|
<td class="col-md-4">
|
|
575
567
|
<i>Default value : </i><code>'button'</code>
|
|
576
568
|
</td>
|
|
577
|
-
</tr>
|
|
578
|
-
<tr>
|
|
579
|
-
<td class="col-md-4">
|
|
580
|
-
<b>Decorators : </b>
|
|
581
|
-
<br />
|
|
582
|
-
<code>
|
|
583
|
-
@HostBinding('type')<br />
|
|
584
|
-
</code>
|
|
585
|
-
</td>
|
|
586
569
|
</tr>
|
|
587
570
|
<tr>
|
|
588
571
|
<td class="col-md-4">
|
|
589
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
572
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:33</a></div>
|
|
590
573
|
</td>
|
|
591
574
|
</tr>
|
|
592
575
|
|
|
@@ -615,7 +598,7 @@
|
|
|
615
598
|
</tr>
|
|
616
599
|
<tr>
|
|
617
600
|
<td class="col-md-4">
|
|
618
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
601
|
+
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:45</a></div>
|
|
619
602
|
</td>
|
|
620
603
|
</tr>
|
|
621
604
|
|
|
@@ -637,7 +620,7 @@
|
|
|
637
620
|
</tr>
|
|
638
621
|
<tr>
|
|
639
622
|
<td class="col-md-4">
|
|
640
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
623
|
+
<div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:49</a></div>
|
|
641
624
|
</td>
|
|
642
625
|
</tr>
|
|
643
626
|
|
|
@@ -659,7 +642,7 @@
|
|
|
659
642
|
</tr>
|
|
660
643
|
<tr>
|
|
661
644
|
<td class="col-md-4">
|
|
662
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
645
|
+
<div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:53</a></div>
|
|
663
646
|
</td>
|
|
664
647
|
</tr>
|
|
665
648
|
|
|
@@ -681,7 +664,7 @@
|
|
|
681
664
|
</tr>
|
|
682
665
|
<tr>
|
|
683
666
|
<td class="col-md-4">
|
|
684
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
667
|
+
<div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">src/lib/directives/array/form-array-item-button.ts:57</a></div>
|
|
685
668
|
</td>
|
|
686
669
|
</tr>
|
|
687
670
|
|
|
@@ -697,15 +680,12 @@
|
|
|
697
680
|
AfterViewInit,
|
|
698
681
|
Directive,
|
|
699
682
|
ElementRef,
|
|
700
|
-
|
|
683
|
+
inject,
|
|
701
684
|
OnDestroy,
|
|
702
|
-
Optional,
|
|
703
685
|
Renderer2,
|
|
704
|
-
SkipSelf,
|
|
705
686
|
} from '@angular/core';
|
|
706
687
|
import {
|
|
707
688
|
ControlContainer,
|
|
708
|
-
UntypedFormArray,
|
|
709
689
|
} from '@angular/forms';
|
|
710
690
|
import { MatButton } from '@angular/material/button';
|
|
711
691
|
import {
|
|
@@ -719,26 +699,27 @@ import {
|
|
|
719
699
|
} from 'rxjs';
|
|
720
700
|
|
|
721
701
|
// TODO : move to rxap packages
|
|
722
|
-
@Directive(
|
|
702
|
+
@Directive({
|
|
703
|
+
host: {
|
|
704
|
+
'type': 'button',
|
|
705
|
+
'[disabled]': 'disabled',
|
|
706
|
+
'(click)': 'onClick()',
|
|
707
|
+
},
|
|
708
|
+
})
|
|
723
709
|
export abstract class FormArrayItemButton implements AfterViewInit, OnDestroy {
|
|
724
710
|
|
|
725
|
-
|
|
726
|
-
type = 'button';
|
|
711
|
+
readonly type = 'button';
|
|
727
712
|
protected formGroup!: RxapFormGroup<{ deleted: boolean }>;
|
|
728
713
|
protected formArray!: RxapFormArray;
|
|
729
714
|
protected deletedControl!: RxapFormControl<boolean>;
|
|
730
715
|
private _controlDisabledSubscription?: Subscription;
|
|
731
716
|
private _deletedControlValueSubscription?: Subscription;
|
|
732
717
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
protected readonly elementRef: ElementRef,
|
|
738
|
-
) {
|
|
739
|
-
}
|
|
718
|
+
protected readonly parent: ControlContainer = inject(ControlContainer, { skipSelf: true });
|
|
719
|
+
protected readonly matButton: MatButton | null = inject(MatButton, { optional: true });
|
|
720
|
+
protected readonly renderer: Renderer2 = inject(Renderer2);
|
|
721
|
+
protected readonly elementRef: ElementRef = inject(ElementRef);
|
|
740
722
|
|
|
741
|
-
@HostBinding('disabled')
|
|
742
723
|
get disabled() {
|
|
743
724
|
return this.isDisabled;
|
|
744
725
|
}
|
|
@@ -776,9 +757,10 @@ export abstract class FormArrayItemButton implements AfterViewInit, OnDestroy {
|
|
|
776
757
|
} else {
|
|
777
758
|
throw new Error(`The parent is not a form group instance`);
|
|
778
759
|
}
|
|
779
|
-
|
|
760
|
+
const matButton = this.matButton;
|
|
761
|
+
if (matButton) {
|
|
780
762
|
this._controlDisabledSubscription = this.formGroup.disabled$.pipe(
|
|
781
|
-
tap(isDisabled =>
|
|
763
|
+
tap(isDisabled => matButton.disabled = isDisabled),
|
|
782
764
|
).subscribe();
|
|
783
765
|
}
|
|
784
766
|
this.deletedControl.value$.pipe(
|