@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
|
@@ -167,7 +167,17 @@
|
|
|
167
167
|
<a href="#formArray" >formArray</a>
|
|
168
168
|
</li>
|
|
169
169
|
<li>
|
|
170
|
-
<span class="modifier"
|
|
170
|
+
<span class="modifier">Protected</span>
|
|
171
|
+
<span class="modifier">Readonly</span>
|
|
172
|
+
<a href="#matButton" >matButton</a>
|
|
173
|
+
</li>
|
|
174
|
+
<li>
|
|
175
|
+
<span class="modifier">Protected</span>
|
|
176
|
+
<span class="modifier">Readonly</span>
|
|
177
|
+
<a href="#parent" >parent</a>
|
|
178
|
+
</li>
|
|
179
|
+
<li>
|
|
180
|
+
<span class="modifier">Readonly</span>
|
|
171
181
|
<a href="#type" >type</a>
|
|
172
182
|
</li>
|
|
173
183
|
</ul>
|
|
@@ -183,7 +193,6 @@
|
|
|
183
193
|
<td class="col-md-4">
|
|
184
194
|
<ul class="index-list">
|
|
185
195
|
<li>
|
|
186
|
-
<span class="modifier"></span>
|
|
187
196
|
<span class="modifier">Protected</span>
|
|
188
197
|
<a href="#onClick" >onClick</a>
|
|
189
198
|
</li>
|
|
@@ -193,38 +202,7 @@
|
|
|
193
202
|
|
|
194
203
|
|
|
195
204
|
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
198
|
-
<h6><b>HostBindings</b></h6>
|
|
199
|
-
</td>
|
|
200
|
-
</tr>
|
|
201
|
-
<tr>
|
|
202
|
-
<td class="col-md-4">
|
|
203
|
-
<ul class="index-list">
|
|
204
|
-
<li>
|
|
205
|
-
<a href="#disabled" >disabled</a>
|
|
206
|
-
</li>
|
|
207
|
-
<li>
|
|
208
|
-
<a href="#type" >type</a>
|
|
209
|
-
</li>
|
|
210
|
-
</ul>
|
|
211
|
-
</td>
|
|
212
|
-
</tr>
|
|
213
205
|
|
|
214
|
-
<tr>
|
|
215
|
-
<td class="col-md-4">
|
|
216
|
-
<h6><b>HostListeners</b></h6>
|
|
217
|
-
</td>
|
|
218
|
-
</tr>
|
|
219
|
-
<tr>
|
|
220
|
-
<td class="col-md-4">
|
|
221
|
-
<ul class="index-list">
|
|
222
|
-
<li>
|
|
223
|
-
<a href="#click" >click</a>
|
|
224
|
-
</li>
|
|
225
|
-
</ul>
|
|
226
|
-
</td>
|
|
227
|
-
</tr>
|
|
228
206
|
|
|
229
207
|
<tr>
|
|
230
208
|
<td class="col-md-4">
|
|
@@ -247,117 +225,78 @@
|
|
|
247
225
|
</table>
|
|
248
226
|
</section>
|
|
249
227
|
|
|
250
|
-
<section data-compodoc="block-constructor">
|
|
251
|
-
<h3 id="constructor">Constructor</h3>
|
|
252
|
-
<table class="table table-sm table-bordered">
|
|
253
|
-
<tbody>
|
|
254
|
-
<tr>
|
|
255
|
-
<td class="col-md-4">
|
|
256
|
-
<code>constructor(parent: ControlContainer, matButton: MatButton)</code>
|
|
257
|
-
</td>
|
|
258
|
-
</tr>
|
|
259
|
-
<tr>
|
|
260
|
-
<td class="col-md-4">
|
|
261
|
-
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:28</a></div>
|
|
262
|
-
</td>
|
|
263
|
-
</tr>
|
|
264
228
|
|
|
265
|
-
<tr>
|
|
266
|
-
<td class="col-md-4">
|
|
267
|
-
<div>
|
|
268
|
-
<b>Parameters :</b>
|
|
269
|
-
<table class="params">
|
|
270
|
-
<thead>
|
|
271
|
-
<tr>
|
|
272
|
-
<td>Name</td>
|
|
273
|
-
<td>Type</td>
|
|
274
|
-
<td>Optional</td>
|
|
275
|
-
</tr>
|
|
276
|
-
</thead>
|
|
277
|
-
<tbody>
|
|
278
|
-
<tr>
|
|
279
|
-
<td>parent</td>
|
|
280
|
-
|
|
281
|
-
<td>
|
|
282
|
-
<code>ControlContainer</code>
|
|
283
|
-
</td>
|
|
284
|
-
|
|
285
|
-
<td>
|
|
286
|
-
No
|
|
287
|
-
</td>
|
|
288
|
-
|
|
289
|
-
</tr>
|
|
290
|
-
<tr>
|
|
291
|
-
<td>matButton</td>
|
|
292
|
-
|
|
293
|
-
<td>
|
|
294
|
-
<code>MatButton</code>
|
|
295
|
-
</td>
|
|
296
|
-
|
|
297
|
-
<td>
|
|
298
|
-
No
|
|
299
|
-
</td>
|
|
300
|
-
|
|
301
|
-
</tr>
|
|
302
|
-
</tbody>
|
|
303
|
-
</table>
|
|
304
|
-
</div>
|
|
305
|
-
</td>
|
|
306
|
-
</tr>
|
|
307
|
-
</tbody>
|
|
308
|
-
</table>
|
|
309
|
-
</section>
|
|
310
229
|
|
|
311
230
|
|
|
312
231
|
|
|
313
|
-
|
|
314
|
-
|
|
232
|
+
|
|
233
|
+
<section data-compodoc="block-methods">
|
|
234
|
+
|
|
235
|
+
<h3 id="methods">
|
|
236
|
+
Methods
|
|
237
|
+
</h3>
|
|
238
|
+
<table class="table table-sm table-bordered">
|
|
315
239
|
<tbody>
|
|
316
240
|
<tr>
|
|
317
241
|
<td class="col-md-4">
|
|
318
|
-
<a name="
|
|
242
|
+
<a name="onClick"></a>
|
|
319
243
|
<span class="name">
|
|
320
|
-
|
|
321
|
-
<
|
|
244
|
+
<span class="modifier">Protected</span>
|
|
245
|
+
<span ><b>onClick</b></span>
|
|
246
|
+
<a href="#onClick"><span class="icon ion-ios-link"></span></a>
|
|
322
247
|
</span>
|
|
323
248
|
</td>
|
|
324
249
|
</tr>
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
<
|
|
250
|
+
<tr>
|
|
251
|
+
<td class="col-md-4">
|
|
252
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
253
|
+
<code>onClick()</code>
|
|
254
|
+
</td>
|
|
255
|
+
</tr>
|
|
256
|
+
|
|
328
257
|
|
|
329
|
-
</td>
|
|
330
|
-
</tr>
|
|
331
258
|
<tr>
|
|
332
259
|
<td class="col-md-4">
|
|
333
|
-
|
|
260
|
+
<div class="io-line">Defined in <a href="" data-line="53"
|
|
261
|
+
class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:53</a></div>
|
|
334
262
|
</td>
|
|
335
263
|
</tr>
|
|
336
264
|
|
|
337
265
|
|
|
266
|
+
<tr>
|
|
267
|
+
<td class="col-md-4">
|
|
268
|
+
|
|
269
|
+
<div class="io-description">
|
|
270
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
271
|
+
|
|
272
|
+
</div>
|
|
273
|
+
</td>
|
|
274
|
+
</tr>
|
|
338
275
|
</tbody>
|
|
339
276
|
</table>
|
|
277
|
+
</section>
|
|
278
|
+
<section data-compodoc="block-properties">
|
|
279
|
+
|
|
280
|
+
<h3 id="inputs">
|
|
281
|
+
Properties
|
|
282
|
+
</h3>
|
|
340
283
|
<table class="table table-sm table-bordered">
|
|
341
284
|
<tbody>
|
|
342
285
|
<tr>
|
|
343
286
|
<td class="col-md-4">
|
|
344
|
-
<a name="
|
|
287
|
+
<a name="formArray"></a>
|
|
345
288
|
<span class="name">
|
|
346
|
-
|
|
347
|
-
<
|
|
289
|
+
<span class="modifier">Protected</span>
|
|
290
|
+
<span ><b>formArray</b></span>
|
|
291
|
+
<a href="#formArray"><span class="icon ion-ios-link"></span></a>
|
|
348
292
|
</span>
|
|
349
293
|
</td>
|
|
350
294
|
</tr>
|
|
351
295
|
<tr>
|
|
352
296
|
<td class="col-md-4">
|
|
353
|
-
<i>Type : </i>
|
|
297
|
+
<i>Type : </i> <code>RxapFormArray</code>
|
|
354
298
|
|
|
355
299
|
</td>
|
|
356
|
-
</tr>
|
|
357
|
-
<tr>
|
|
358
|
-
<td class="col-md-4">
|
|
359
|
-
<i>Default value : </i><code>'button'</code>
|
|
360
|
-
</td>
|
|
361
300
|
</tr>
|
|
362
301
|
<tr>
|
|
363
302
|
<td class="col-md-4">
|
|
@@ -368,114 +307,54 @@
|
|
|
368
307
|
|
|
369
308
|
</tbody>
|
|
370
309
|
</table>
|
|
371
|
-
</section>
|
|
372
|
-
|
|
373
|
-
<section data-compodoc="block-host-listener">
|
|
374
|
-
<h3>HostListeners</h3> <table class="table table-sm table-bordered">
|
|
375
|
-
<tbody>
|
|
376
|
-
<tr>
|
|
377
|
-
<td class="col-md-4">
|
|
378
|
-
<a name="click"></a>
|
|
379
|
-
<span class="name">
|
|
380
|
-
<b>
|
|
381
|
-
click
|
|
382
|
-
</b>
|
|
383
|
-
<a href="#click"><span class="icon ion-ios-link"></span></a>
|
|
384
|
-
</span>
|
|
385
|
-
</td>
|
|
386
|
-
</tr>
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
<tr>
|
|
390
|
-
<td class="col-md-4">
|
|
391
|
-
<div class="io-line">Defined in <a href="" data-line="61"
|
|
392
|
-
class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:61</a></div>
|
|
393
|
-
</td>
|
|
394
|
-
</tr>
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
</tbody>
|
|
398
|
-
</table>
|
|
399
|
-
</section>
|
|
400
|
-
<section data-compodoc="block-methods">
|
|
401
|
-
|
|
402
|
-
<h3 id="methods">
|
|
403
|
-
Methods
|
|
404
|
-
</h3>
|
|
405
310
|
<table class="table table-sm table-bordered">
|
|
406
311
|
<tbody>
|
|
407
312
|
<tr>
|
|
408
313
|
<td class="col-md-4">
|
|
409
|
-
<a name="
|
|
314
|
+
<a name="matButton"></a>
|
|
410
315
|
<span class="name">
|
|
411
|
-
<span class="modifier"></span>
|
|
412
316
|
<span class="modifier">Protected</span>
|
|
413
|
-
|
|
414
|
-
<
|
|
317
|
+
<span class="modifier">Readonly</span>
|
|
318
|
+
<span ><b>matButton</b></span>
|
|
319
|
+
<a href="#matButton"><span class="icon ion-ios-link"></span></a>
|
|
415
320
|
</span>
|
|
416
321
|
</td>
|
|
417
322
|
</tr>
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
<
|
|
421
|
-
|
|
422
|
-
</
|
|
423
|
-
</tr>
|
|
424
|
-
|
|
425
|
-
<tr>
|
|
426
|
-
<td class="col-md-4">
|
|
427
|
-
<b>Decorators : </b>
|
|
428
|
-
<br />
|
|
429
|
-
<code>@HostListener('click')<br /></code>
|
|
430
|
-
</td>
|
|
431
|
-
</tr>
|
|
432
|
-
|
|
323
|
+
<tr>
|
|
324
|
+
<td class="col-md-4">
|
|
325
|
+
<i>Default value : </i><code>inject(MatButton, { optional: true })</code>
|
|
326
|
+
</td>
|
|
327
|
+
</tr>
|
|
433
328
|
<tr>
|
|
434
329
|
<td class="col-md-4">
|
|
435
|
-
|
|
436
|
-
class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:61</a></div>
|
|
330
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:22</a></div>
|
|
437
331
|
</td>
|
|
438
332
|
</tr>
|
|
439
333
|
|
|
440
334
|
|
|
441
|
-
<tr>
|
|
442
|
-
<td class="col-md-4">
|
|
443
|
-
|
|
444
|
-
<div class="io-description">
|
|
445
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
446
|
-
|
|
447
|
-
</div>
|
|
448
|
-
</td>
|
|
449
|
-
</tr>
|
|
450
335
|
</tbody>
|
|
451
336
|
</table>
|
|
452
|
-
</section>
|
|
453
|
-
<section data-compodoc="block-properties">
|
|
454
|
-
|
|
455
|
-
<h3 id="inputs">
|
|
456
|
-
Properties
|
|
457
|
-
</h3>
|
|
458
337
|
<table class="table table-sm table-bordered">
|
|
459
338
|
<tbody>
|
|
460
339
|
<tr>
|
|
461
340
|
<td class="col-md-4">
|
|
462
|
-
<a name="
|
|
341
|
+
<a name="parent"></a>
|
|
463
342
|
<span class="name">
|
|
464
343
|
<span class="modifier">Protected</span>
|
|
465
|
-
|
|
466
|
-
<
|
|
344
|
+
<span class="modifier">Readonly</span>
|
|
345
|
+
<span ><b>parent</b></span>
|
|
346
|
+
<a href="#parent"><span class="icon ion-ios-link"></span></a>
|
|
467
347
|
</span>
|
|
468
348
|
</td>
|
|
469
349
|
</tr>
|
|
470
350
|
<tr>
|
|
471
351
|
<td class="col-md-4">
|
|
472
|
-
<i>
|
|
473
|
-
|
|
352
|
+
<i>Default value : </i><code>inject(ControlContainer, { skipSelf: true })</code>
|
|
474
353
|
</td>
|
|
475
354
|
</tr>
|
|
476
355
|
<tr>
|
|
477
356
|
<td class="col-md-4">
|
|
478
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
357
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:21</a></div>
|
|
479
358
|
</td>
|
|
480
359
|
</tr>
|
|
481
360
|
|
|
@@ -488,7 +367,7 @@
|
|
|
488
367
|
<td class="col-md-4">
|
|
489
368
|
<a name="type"></a>
|
|
490
369
|
<span class="name">
|
|
491
|
-
<span class="modifier"
|
|
370
|
+
<span class="modifier">Readonly</span>
|
|
492
371
|
<span ><b>type</b></span>
|
|
493
372
|
<a href="#type"><span class="icon ion-ios-link"></span></a>
|
|
494
373
|
</span>
|
|
@@ -504,19 +383,10 @@
|
|
|
504
383
|
<td class="col-md-4">
|
|
505
384
|
<i>Default value : </i><code>'button'</code>
|
|
506
385
|
</td>
|
|
507
|
-
</tr>
|
|
508
|
-
<tr>
|
|
509
|
-
<td class="col-md-4">
|
|
510
|
-
<b>Decorators : </b>
|
|
511
|
-
<br />
|
|
512
|
-
<code>
|
|
513
|
-
@HostBinding('type')<br />
|
|
514
|
-
</code>
|
|
515
|
-
</td>
|
|
516
386
|
</tr>
|
|
517
387
|
<tr>
|
|
518
388
|
<td class="col-md-4">
|
|
519
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
389
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:25</a></div>
|
|
520
390
|
</td>
|
|
521
391
|
</tr>
|
|
522
392
|
|
|
@@ -545,7 +415,7 @@
|
|
|
545
415
|
</tr>
|
|
546
416
|
<tr>
|
|
547
417
|
<td class="col-md-4">
|
|
548
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
418
|
+
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:29</a></div>
|
|
549
419
|
</td>
|
|
550
420
|
</tr>
|
|
551
421
|
|
|
@@ -567,7 +437,7 @@
|
|
|
567
437
|
</tr>
|
|
568
438
|
<tr>
|
|
569
439
|
<td class="col-md-4">
|
|
570
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
440
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/directives/array/form-array-add-item-button.directive.ts:33</a></div>
|
|
571
441
|
</td>
|
|
572
442
|
</tr>
|
|
573
443
|
|
|
@@ -579,15 +449,7 @@
|
|
|
579
449
|
|
|
580
450
|
|
|
581
451
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
582
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
583
|
-
AfterViewInit,
|
|
584
|
-
Directive,
|
|
585
|
-
HostBinding,
|
|
586
|
-
HostListener,
|
|
587
|
-
OnDestroy,
|
|
588
|
-
Optional,
|
|
589
|
-
SkipSelf,
|
|
590
|
-
} from '@angular/core';
|
|
452
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AfterViewInit, Directive, inject, OnDestroy } from '@angular/core';
|
|
591
453
|
import { ControlContainer } from '@angular/forms';
|
|
592
454
|
import { MatButton } from '@angular/material/button';
|
|
593
455
|
import { RxapFormArray } from '@rxap/forms';
|
|
@@ -600,21 +462,21 @@ import {
|
|
|
600
462
|
@Directive({
|
|
601
463
|
selector: '[rxapFormArrayItemAddButton]',
|
|
602
464
|
standalone: true,
|
|
465
|
+
host: {
|
|
466
|
+
'type': 'button',
|
|
467
|
+
'[disabled]': 'disabled',
|
|
468
|
+
'(click)': 'onClick()',
|
|
469
|
+
},
|
|
603
470
|
})
|
|
604
471
|
export class FormArrayAddItemButtonDirective implements AfterViewInit, OnDestroy {
|
|
472
|
+
protected readonly parent = inject(ControlContainer, { skipSelf: true });
|
|
473
|
+
protected readonly matButton = inject(MatButton, { optional: true });
|
|
474
|
+
|
|
605
475
|
|
|
606
|
-
|
|
607
|
-
type = 'button';
|
|
476
|
+
readonly type = 'button';
|
|
608
477
|
protected formArray!: RxapFormArray;
|
|
609
478
|
private _controlDisabledSubscription?: Subscription;
|
|
610
479
|
|
|
611
|
-
constructor(
|
|
612
|
-
@Optional() @SkipSelf() protected readonly parent: ControlContainer,
|
|
613
|
-
@Optional() protected readonly matButton: MatButton,
|
|
614
|
-
) {
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
@HostBinding('disabled')
|
|
618
480
|
get disabled() {
|
|
619
481
|
return this.isDisabled;
|
|
620
482
|
}
|
|
@@ -627,9 +489,10 @@ export class FormArrayAddItemButtonDirective implements AfterViewInit, OnDestroy
|
|
|
627
489
|
if (this.parent.control instanceof RxapFormArray) {
|
|
628
490
|
this.formArray = this.parent.control;
|
|
629
491
|
}
|
|
630
|
-
|
|
492
|
+
const matButton = this.matButton;
|
|
493
|
+
if (matButton) {
|
|
631
494
|
this._controlDisabledSubscription = this.formArray.disabled$.pipe(
|
|
632
|
-
tap(isDisabled =>
|
|
495
|
+
tap(isDisabled => matButton.disabled = isDisabled),
|
|
633
496
|
).subscribe();
|
|
634
497
|
}
|
|
635
498
|
}
|
|
@@ -638,7 +501,6 @@ export class FormArrayAddItemButtonDirective implements AfterViewInit, OnDestroy
|
|
|
638
501
|
this._controlDisabledSubscription?.unsubscribe();
|
|
639
502
|
}
|
|
640
503
|
|
|
641
|
-
@HostListener('click')
|
|
642
504
|
protected onClick() {
|
|
643
505
|
this.formArray.insertAt();
|
|
644
506
|
}
|