@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
|
@@ -168,10 +168,20 @@
|
|
|
168
168
|
<tr>
|
|
169
169
|
<td class="col-md-4">
|
|
170
170
|
<ul class="index-list">
|
|
171
|
+
<li>
|
|
172
|
+
<span class="modifier">Public</span>
|
|
173
|
+
<span class="modifier">Readonly</span>
|
|
174
|
+
<a href="#shouldTemporarilyDeleted" >shouldTemporarilyDeleted</a>
|
|
175
|
+
</li>
|
|
171
176
|
<li>
|
|
172
177
|
<span class="modifier">Protected</span>
|
|
173
178
|
<a href="#deletedControl" >deletedControl</a>
|
|
174
179
|
</li>
|
|
180
|
+
<li>
|
|
181
|
+
<span class="modifier">Protected</span>
|
|
182
|
+
<span class="modifier">Readonly</span>
|
|
183
|
+
<a href="#elementRef" >elementRef</a>
|
|
184
|
+
</li>
|
|
175
185
|
<li>
|
|
176
186
|
<span class="modifier">Protected</span>
|
|
177
187
|
<a href="#formArray" >formArray</a>
|
|
@@ -181,227 +191,61 @@
|
|
|
181
191
|
<a href="#formGroup" >formGroup</a>
|
|
182
192
|
</li>
|
|
183
193
|
<li>
|
|
184
|
-
<span class="modifier"
|
|
185
|
-
|
|
194
|
+
<span class="modifier">Protected</span>
|
|
195
|
+
<span class="modifier">Readonly</span>
|
|
196
|
+
<a href="#matButton" >matButton</a>
|
|
186
197
|
</li>
|
|
187
|
-
</ul>
|
|
188
|
-
</td>
|
|
189
|
-
</tr>
|
|
190
|
-
|
|
191
|
-
<tr>
|
|
192
|
-
<td class="col-md-4">
|
|
193
|
-
<h6><b>Methods</b></h6>
|
|
194
|
-
</td>
|
|
195
|
-
</tr>
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
198
|
-
<ul class="index-list">
|
|
199
198
|
<li>
|
|
200
|
-
<span class="modifier"></span>
|
|
201
199
|
<span class="modifier">Protected</span>
|
|
202
|
-
|
|
200
|
+
<span class="modifier">Readonly</span>
|
|
201
|
+
<a href="#parent" >parent</a>
|
|
203
202
|
</li>
|
|
204
203
|
<li>
|
|
205
204
|
<span class="modifier">Protected</span>
|
|
206
|
-
|
|
205
|
+
<span class="modifier">Readonly</span>
|
|
206
|
+
<a href="#renderer" >renderer</a>
|
|
207
207
|
</li>
|
|
208
|
-
</ul>
|
|
209
|
-
</td>
|
|
210
|
-
</tr>
|
|
211
|
-
|
|
212
|
-
<tr>
|
|
213
|
-
<td class="col-md-4">
|
|
214
|
-
<h6><b>Inputs</b></h6>
|
|
215
|
-
</td>
|
|
216
|
-
</tr>
|
|
217
|
-
<tr>
|
|
218
|
-
<td class="col-md-4">
|
|
219
|
-
<ul class="index-list">
|
|
220
208
|
<li>
|
|
221
|
-
|
|
209
|
+
<span class="modifier">Readonly</span>
|
|
210
|
+
<a href="#type" >type</a>
|
|
222
211
|
</li>
|
|
223
212
|
</ul>
|
|
224
213
|
</td>
|
|
225
214
|
</tr>
|
|
226
215
|
|
|
227
|
-
|
|
228
216
|
<tr>
|
|
229
217
|
<td class="col-md-4">
|
|
230
|
-
<h6><b>
|
|
218
|
+
<h6><b>Methods</b></h6>
|
|
231
219
|
</td>
|
|
232
220
|
</tr>
|
|
233
221
|
<tr>
|
|
234
222
|
<td class="col-md-4">
|
|
235
223
|
<ul class="index-list">
|
|
236
224
|
<li>
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
<li>
|
|
240
|
-
<a href="#type" >type</a>
|
|
225
|
+
<span class="modifier">Protected</span>
|
|
226
|
+
<a href="#onClick" >onClick</a>
|
|
241
227
|
</li>
|
|
242
|
-
</ul>
|
|
243
|
-
</td>
|
|
244
|
-
</tr>
|
|
245
|
-
|
|
246
|
-
<tr>
|
|
247
|
-
<td class="col-md-4">
|
|
248
|
-
<h6><b>HostListeners</b></h6>
|
|
249
|
-
</td>
|
|
250
|
-
</tr>
|
|
251
|
-
<tr>
|
|
252
|
-
<td class="col-md-4">
|
|
253
|
-
<ul class="index-list">
|
|
254
228
|
<li>
|
|
255
|
-
|
|
229
|
+
<span class="modifier">Protected</span>
|
|
230
|
+
<a href="#updateDisplayStyle" >updateDisplayStyle</a>
|
|
256
231
|
</li>
|
|
257
232
|
</ul>
|
|
258
233
|
</td>
|
|
259
234
|
</tr>
|
|
260
235
|
|
|
261
|
-
</tbody>
|
|
262
|
-
</table>
|
|
263
|
-
</section>
|
|
264
236
|
|
|
265
237
|
|
|
266
|
-
<section data-compodoc="block-inputs">
|
|
267
|
-
<h3 id="inputs">Inputs</h3>
|
|
268
|
-
<table class="table table-sm table-bordered">
|
|
269
|
-
<tbody>
|
|
270
|
-
<tr>
|
|
271
|
-
<td class="col-md-4">
|
|
272
|
-
<a name="shouldTemporarilyDeleted"></a>
|
|
273
|
-
<b>shouldTemporarilyDeleted</b>
|
|
274
|
-
</td>
|
|
275
|
-
</tr>
|
|
276
|
-
<tr>
|
|
277
|
-
<td class="col-md-4">
|
|
278
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code>
|
|
279
|
-
|
|
280
|
-
</td>
|
|
281
|
-
</tr>
|
|
282
|
-
<tr>
|
|
283
|
-
<td class="col-md-4">
|
|
284
|
-
<i>Default value : </i><code>() => false</code>
|
|
285
|
-
</td>
|
|
286
|
-
</tr>
|
|
287
|
-
<tr>
|
|
288
|
-
<td class="col-md-2" colspan="2">
|
|
289
|
-
<div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/lib/directives/array/form-array-item-remove-button.directive.ts:24</a></div>
|
|
290
|
-
</td>
|
|
291
|
-
</tr>
|
|
292
|
-
<tr>
|
|
293
|
-
<td class="col-md-4">
|
|
294
|
-
<div class="io-description"><p>A function that returns if the control should be temporarily deleted.
|
|
295
|
-
true - in the given form group the deleted control is set to true
|
|
296
|
-
false - the form group is removed from the (parent) form array</p>
|
|
297
|
-
</div>
|
|
298
|
-
</td>
|
|
299
|
-
</tr>
|
|
300
|
-
</tbody>
|
|
301
|
-
</table>
|
|
302
|
-
</section>
|
|
303
|
-
|
|
304
|
-
<section data-compodoc="block-properties">
|
|
305
|
-
<h3>HostBindings</h3> <table class="table table-sm table-bordered">
|
|
306
|
-
<tbody>
|
|
307
|
-
<tr>
|
|
308
|
-
<td class="col-md-4">
|
|
309
|
-
<a name="disabled"></a>
|
|
310
|
-
<span class="name">
|
|
311
|
-
<span ><b>disabled</b></span>
|
|
312
|
-
<a href="#disabled"><span class="icon ion-ios-link"></span></a>
|
|
313
|
-
</span>
|
|
314
|
-
</td>
|
|
315
|
-
</tr>
|
|
316
|
-
<tr>
|
|
317
|
-
<td class="col-md-4">
|
|
318
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
319
|
-
|
|
320
|
-
</td>
|
|
321
|
-
</tr>
|
|
322
|
-
<tr>
|
|
323
|
-
<td class="col-md-4">
|
|
324
|
-
<div class="io-line">Inherited from <code><a href="../directives/FormArrayItemButton.html" target="_self" >FormArrayItemButton</a></code>
|
|
325
|
-
</div>
|
|
326
|
-
</td>
|
|
327
|
-
</tr>
|
|
328
|
-
<tr>
|
|
329
|
-
<td class="col-md-4">
|
|
330
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:47</a></code>
|
|
331
|
-
</div>
|
|
332
|
-
</td>
|
|
333
|
-
</tr>
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
</tbody>
|
|
337
|
-
</table>
|
|
338
|
-
<table class="table table-sm table-bordered">
|
|
339
|
-
<tbody>
|
|
340
|
-
<tr>
|
|
341
|
-
<td class="col-md-4">
|
|
342
|
-
<a name="type"></a>
|
|
343
|
-
<span class="name">
|
|
344
|
-
<span ><b>type</b></span>
|
|
345
|
-
<a href="#type"><span class="icon ion-ios-link"></span></a>
|
|
346
|
-
</span>
|
|
347
|
-
</td>
|
|
348
|
-
</tr>
|
|
349
|
-
<tr>
|
|
350
|
-
<td class="col-md-4">
|
|
351
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
352
|
-
|
|
353
|
-
</td>
|
|
354
|
-
</tr>
|
|
355
|
-
<tr>
|
|
356
|
-
<td class="col-md-4">
|
|
357
|
-
<i>Default value : </i><code>'button'</code>
|
|
358
|
-
</td>
|
|
359
|
-
</tr>
|
|
360
|
-
<tr>
|
|
361
|
-
<td class="col-md-4">
|
|
362
|
-
<div class="io-line">Inherited from <code><a href="../directives/FormArrayItemButton.html" target="_self" >FormArrayItemButton</a></code>
|
|
363
|
-
</div>
|
|
364
|
-
</td>
|
|
365
|
-
</tr>
|
|
366
|
-
<tr>
|
|
367
|
-
<td class="col-md-4">
|
|
368
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:31</a></code>
|
|
369
|
-
</div>
|
|
370
|
-
</td>
|
|
371
|
-
</tr>
|
|
372
238
|
|
|
373
239
|
|
|
374
240
|
</tbody>
|
|
375
241
|
</table>
|
|
376
242
|
</section>
|
|
377
243
|
|
|
378
|
-
<section data-compodoc="block-host-listener">
|
|
379
|
-
<h3>HostListeners</h3> <table class="table table-sm table-bordered">
|
|
380
|
-
<tbody>
|
|
381
|
-
<tr>
|
|
382
|
-
<td class="col-md-4">
|
|
383
|
-
<a name="click"></a>
|
|
384
|
-
<span class="name">
|
|
385
|
-
<b>
|
|
386
|
-
click
|
|
387
|
-
</b>
|
|
388
|
-
<a href="#click"><span class="icon ion-ios-link"></span></a>
|
|
389
|
-
</span>
|
|
390
|
-
</td>
|
|
391
|
-
</tr>
|
|
392
244
|
|
|
393
245
|
|
|
394
|
-
<tr>
|
|
395
|
-
<td class="col-md-4">
|
|
396
|
-
<div class="io-line">Defined in <a href="" data-line="27"
|
|
397
|
-
class="link-to-prism">src/lib/directives/array/form-array-item-remove-button.directive.ts:27</a></div>
|
|
398
|
-
</td>
|
|
399
|
-
</tr>
|
|
400
246
|
|
|
401
247
|
|
|
402
|
-
|
|
403
|
-
</table>
|
|
404
|
-
</section>
|
|
248
|
+
|
|
405
249
|
<section data-compodoc="block-methods">
|
|
406
250
|
|
|
407
251
|
<h3 id="methods">
|
|
@@ -413,7 +257,6 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
413
257
|
<td class="col-md-4">
|
|
414
258
|
<a name="onClick"></a>
|
|
415
259
|
<span class="name">
|
|
416
|
-
<span class="modifier"></span>
|
|
417
260
|
<span class="modifier">Protected</span>
|
|
418
261
|
<span ><b>onClick</b></span>
|
|
419
262
|
<a href="#onClick"><span class="icon ion-ios-link"></span></a>
|
|
@@ -427,13 +270,6 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
427
270
|
</td>
|
|
428
271
|
</tr>
|
|
429
272
|
|
|
430
|
-
<tr>
|
|
431
|
-
<td class="col-md-4">
|
|
432
|
-
<b>Decorators : </b>
|
|
433
|
-
<br />
|
|
434
|
-
<code>@HostListener('click')<br /></code>
|
|
435
|
-
</td>
|
|
436
|
-
</tr>
|
|
437
273
|
|
|
438
274
|
<tr>
|
|
439
275
|
<td class="col-md-4">
|
|
@@ -443,7 +279,7 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
443
279
|
</tr>
|
|
444
280
|
<tr>
|
|
445
281
|
<td class="col-md-4">
|
|
446
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:
|
|
282
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:24</a></code>
|
|
447
283
|
</div>
|
|
448
284
|
</td>
|
|
449
285
|
</tr>
|
|
@@ -488,7 +324,7 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
488
324
|
</tr>
|
|
489
325
|
<tr>
|
|
490
326
|
<td class="col-md-4">
|
|
491
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:
|
|
327
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:33</a></code>
|
|
492
328
|
</div>
|
|
493
329
|
</td>
|
|
494
330
|
</tr>
|
|
@@ -511,6 +347,41 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
511
347
|
<h3 id="inputs">
|
|
512
348
|
Properties
|
|
513
349
|
</h3>
|
|
350
|
+
<table class="table table-sm table-bordered">
|
|
351
|
+
<tbody>
|
|
352
|
+
<tr>
|
|
353
|
+
<td class="col-md-4">
|
|
354
|
+
<a name="shouldTemporarilyDeleted"></a>
|
|
355
|
+
<span class="name">
|
|
356
|
+
<span class="modifier">Public</span>
|
|
357
|
+
<span class="modifier">Readonly</span>
|
|
358
|
+
<span ><b>shouldTemporarilyDeleted</b></span>
|
|
359
|
+
<a href="#shouldTemporarilyDeleted"><span class="icon ion-ios-link"></span></a>
|
|
360
|
+
</span>
|
|
361
|
+
</td>
|
|
362
|
+
</tr>
|
|
363
|
+
<tr>
|
|
364
|
+
<td class="col-md-4">
|
|
365
|
+
<i>Default value : </i><code>input<(formGroup: RxapFormGroup) => boolean>(() => false)</code>
|
|
366
|
+
</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr>
|
|
369
|
+
<td class="col-md-4">
|
|
370
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/directives/array/form-array-item-remove-button.directive.ts:22</a></div>
|
|
371
|
+
</td>
|
|
372
|
+
</tr>
|
|
373
|
+
|
|
374
|
+
<tr>
|
|
375
|
+
<td class="col-md-4">
|
|
376
|
+
<div class="io-description"><p>A function that returns if the control should be temporarily deleted.
|
|
377
|
+
true - in the given form group the deleted control is set to true
|
|
378
|
+
false - the form group is removed from the (parent) form array</p>
|
|
379
|
+
</div>
|
|
380
|
+
</td>
|
|
381
|
+
</tr>
|
|
382
|
+
|
|
383
|
+
</tbody>
|
|
384
|
+
</table>
|
|
514
385
|
<table class="table table-sm table-bordered">
|
|
515
386
|
<tbody>
|
|
516
387
|
<tr>
|
|
@@ -537,7 +408,47 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
537
408
|
</tr>
|
|
538
409
|
<tr>
|
|
539
410
|
<td class="col-md-4">
|
|
540
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:
|
|
411
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:36</a></code>
|
|
412
|
+
</div>
|
|
413
|
+
</td>
|
|
414
|
+
</tr>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
</tbody>
|
|
418
|
+
</table>
|
|
419
|
+
<table class="table table-sm table-bordered">
|
|
420
|
+
<tbody>
|
|
421
|
+
<tr>
|
|
422
|
+
<td class="col-md-4">
|
|
423
|
+
<a name="elementRef"></a>
|
|
424
|
+
<span class="name">
|
|
425
|
+
<span class="modifier">Protected</span>
|
|
426
|
+
<span class="modifier">Readonly</span>
|
|
427
|
+
<span ><b>elementRef</b></span>
|
|
428
|
+
<a href="#elementRef"><span class="icon ion-ios-link"></span></a>
|
|
429
|
+
</span>
|
|
430
|
+
</td>
|
|
431
|
+
</tr>
|
|
432
|
+
<tr>
|
|
433
|
+
<td class="col-md-4">
|
|
434
|
+
<i>Type : </i> <code>ElementRef</code>
|
|
435
|
+
|
|
436
|
+
</td>
|
|
437
|
+
</tr>
|
|
438
|
+
<tr>
|
|
439
|
+
<td class="col-md-4">
|
|
440
|
+
<i>Default value : </i><code>inject(ElementRef)</code>
|
|
441
|
+
</td>
|
|
442
|
+
</tr>
|
|
443
|
+
<tr>
|
|
444
|
+
<td class="col-md-4">
|
|
445
|
+
<div class="io-line">Inherited from <code><a href="../directives/FormArrayItemButton.html" target="_self" >FormArrayItemButton</a></code>
|
|
446
|
+
</div>
|
|
447
|
+
</td>
|
|
448
|
+
</tr>
|
|
449
|
+
<tr>
|
|
450
|
+
<td class="col-md-4">
|
|
451
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:43</a></code>
|
|
541
452
|
</div>
|
|
542
453
|
</td>
|
|
543
454
|
</tr>
|
|
@@ -571,7 +482,7 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
571
482
|
</tr>
|
|
572
483
|
<tr>
|
|
573
484
|
<td class="col-md-4">
|
|
574
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:
|
|
485
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:35</a></code>
|
|
575
486
|
</div>
|
|
576
487
|
</td>
|
|
577
488
|
</tr>
|
|
@@ -605,7 +516,127 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
605
516
|
</tr>
|
|
606
517
|
<tr>
|
|
607
518
|
<td class="col-md-4">
|
|
608
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:
|
|
519
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:34</a></code>
|
|
520
|
+
</div>
|
|
521
|
+
</td>
|
|
522
|
+
</tr>
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
</tbody>
|
|
526
|
+
</table>
|
|
527
|
+
<table class="table table-sm table-bordered">
|
|
528
|
+
<tbody>
|
|
529
|
+
<tr>
|
|
530
|
+
<td class="col-md-4">
|
|
531
|
+
<a name="matButton"></a>
|
|
532
|
+
<span class="name">
|
|
533
|
+
<span class="modifier">Protected</span>
|
|
534
|
+
<span class="modifier">Readonly</span>
|
|
535
|
+
<span ><b>matButton</b></span>
|
|
536
|
+
<a href="#matButton"><span class="icon ion-ios-link"></span></a>
|
|
537
|
+
</span>
|
|
538
|
+
</td>
|
|
539
|
+
</tr>
|
|
540
|
+
<tr>
|
|
541
|
+
<td class="col-md-4">
|
|
542
|
+
<i>Type : </i> <code>MatButton | null</code>
|
|
543
|
+
|
|
544
|
+
</td>
|
|
545
|
+
</tr>
|
|
546
|
+
<tr>
|
|
547
|
+
<td class="col-md-4">
|
|
548
|
+
<i>Default value : </i><code>inject(MatButton, { optional: true })</code>
|
|
549
|
+
</td>
|
|
550
|
+
</tr>
|
|
551
|
+
<tr>
|
|
552
|
+
<td class="col-md-4">
|
|
553
|
+
<div class="io-line">Inherited from <code><a href="../directives/FormArrayItemButton.html" target="_self" >FormArrayItemButton</a></code>
|
|
554
|
+
</div>
|
|
555
|
+
</td>
|
|
556
|
+
</tr>
|
|
557
|
+
<tr>
|
|
558
|
+
<td class="col-md-4">
|
|
559
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:41</a></code>
|
|
560
|
+
</div>
|
|
561
|
+
</td>
|
|
562
|
+
</tr>
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
</tbody>
|
|
566
|
+
</table>
|
|
567
|
+
<table class="table table-sm table-bordered">
|
|
568
|
+
<tbody>
|
|
569
|
+
<tr>
|
|
570
|
+
<td class="col-md-4">
|
|
571
|
+
<a name="parent"></a>
|
|
572
|
+
<span class="name">
|
|
573
|
+
<span class="modifier">Protected</span>
|
|
574
|
+
<span class="modifier">Readonly</span>
|
|
575
|
+
<span ><b>parent</b></span>
|
|
576
|
+
<a href="#parent"><span class="icon ion-ios-link"></span></a>
|
|
577
|
+
</span>
|
|
578
|
+
</td>
|
|
579
|
+
</tr>
|
|
580
|
+
<tr>
|
|
581
|
+
<td class="col-md-4">
|
|
582
|
+
<i>Type : </i> <code>ControlContainer</code>
|
|
583
|
+
|
|
584
|
+
</td>
|
|
585
|
+
</tr>
|
|
586
|
+
<tr>
|
|
587
|
+
<td class="col-md-4">
|
|
588
|
+
<i>Default value : </i><code>inject(ControlContainer, { skipSelf: true })</code>
|
|
589
|
+
</td>
|
|
590
|
+
</tr>
|
|
591
|
+
<tr>
|
|
592
|
+
<td class="col-md-4">
|
|
593
|
+
<div class="io-line">Inherited from <code><a href="../directives/FormArrayItemButton.html" target="_self" >FormArrayItemButton</a></code>
|
|
594
|
+
</div>
|
|
595
|
+
</td>
|
|
596
|
+
</tr>
|
|
597
|
+
<tr>
|
|
598
|
+
<td class="col-md-4">
|
|
599
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:40</a></code>
|
|
600
|
+
</div>
|
|
601
|
+
</td>
|
|
602
|
+
</tr>
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
</tbody>
|
|
606
|
+
</table>
|
|
607
|
+
<table class="table table-sm table-bordered">
|
|
608
|
+
<tbody>
|
|
609
|
+
<tr>
|
|
610
|
+
<td class="col-md-4">
|
|
611
|
+
<a name="renderer"></a>
|
|
612
|
+
<span class="name">
|
|
613
|
+
<span class="modifier">Protected</span>
|
|
614
|
+
<span class="modifier">Readonly</span>
|
|
615
|
+
<span ><b>renderer</b></span>
|
|
616
|
+
<a href="#renderer"><span class="icon ion-ios-link"></span></a>
|
|
617
|
+
</span>
|
|
618
|
+
</td>
|
|
619
|
+
</tr>
|
|
620
|
+
<tr>
|
|
621
|
+
<td class="col-md-4">
|
|
622
|
+
<i>Type : </i> <code>Renderer2</code>
|
|
623
|
+
|
|
624
|
+
</td>
|
|
625
|
+
</tr>
|
|
626
|
+
<tr>
|
|
627
|
+
<td class="col-md-4">
|
|
628
|
+
<i>Default value : </i><code>inject(Renderer2)</code>
|
|
629
|
+
</td>
|
|
630
|
+
</tr>
|
|
631
|
+
<tr>
|
|
632
|
+
<td class="col-md-4">
|
|
633
|
+
<div class="io-line">Inherited from <code><a href="../directives/FormArrayItemButton.html" target="_self" >FormArrayItemButton</a></code>
|
|
634
|
+
</div>
|
|
635
|
+
</td>
|
|
636
|
+
</tr>
|
|
637
|
+
<tr>
|
|
638
|
+
<td class="col-md-4">
|
|
639
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:42</a></code>
|
|
609
640
|
</div>
|
|
610
641
|
</td>
|
|
611
642
|
</tr>
|
|
@@ -619,7 +650,7 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
619
650
|
<td class="col-md-4">
|
|
620
651
|
<a name="type"></a>
|
|
621
652
|
<span class="name">
|
|
622
|
-
<span class="modifier"
|
|
653
|
+
<span class="modifier">Readonly</span>
|
|
623
654
|
<span ><b>type</b></span>
|
|
624
655
|
<a href="#type"><span class="icon ion-ios-link"></span></a>
|
|
625
656
|
</span>
|
|
@@ -635,15 +666,6 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
635
666
|
<td class="col-md-4">
|
|
636
667
|
<i>Default value : </i><code>'button'</code>
|
|
637
668
|
</td>
|
|
638
|
-
</tr>
|
|
639
|
-
<tr>
|
|
640
|
-
<td class="col-md-4">
|
|
641
|
-
<b>Decorators : </b>
|
|
642
|
-
<br />
|
|
643
|
-
<code>
|
|
644
|
-
@HostBinding('type')<br />
|
|
645
|
-
</code>
|
|
646
|
-
</td>
|
|
647
669
|
</tr>
|
|
648
670
|
<tr>
|
|
649
671
|
<td class="col-md-4">
|
|
@@ -653,7 +675,7 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
653
675
|
</tr>
|
|
654
676
|
<tr>
|
|
655
677
|
<td class="col-md-4">
|
|
656
|
-
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:
|
|
678
|
+
<div class="io-line">Defined in <code><a href="../directives/FormArrayItemButton.html#source" target="_self" >FormArrayItemButton:33</a></code>
|
|
657
679
|
</div>
|
|
658
680
|
</td>
|
|
659
681
|
</tr>
|
|
@@ -671,9 +693,8 @@ false - the form group is removed from the (parent) form array</p>
|
|
|
671
693
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
672
694
|
AfterViewInit,
|
|
673
695
|
Directive,
|
|
674
|
-
HostListener,
|
|
675
|
-
Input,
|
|
676
696
|
OnDestroy,
|
|
697
|
+
input,
|
|
677
698
|
} from '@angular/core';
|
|
678
699
|
import { RxapFormGroup } from '@rxap/forms';
|
|
679
700
|
import { FormArrayItemButton } from './form-array-item-button';
|
|
@@ -690,12 +711,10 @@ export class FormArrayItemRemoveButtonDirective extends FormArrayItemButton impl
|
|
|
690
711
|
* true - in the given form group the deleted control is set to true
|
|
691
712
|
* false - the form group is removed from the (parent) form array
|
|
692
713
|
*/
|
|
693
|
-
|
|
694
|
-
public shouldTemporarilyDeleted: (formGroup: RxapFormGroup) => boolean = () => false;
|
|
714
|
+
public readonly shouldTemporarilyDeleted = input<(formGroup: RxapFormGroup) => boolean>(() => false);
|
|
695
715
|
|
|
696
|
-
@HostListener('click')
|
|
697
716
|
protected onClick() {
|
|
698
|
-
const templateDelete = this.shouldTemporarilyDeleted(this.formGroup);
|
|
717
|
+
const templateDelete = this.shouldTemporarilyDeleted()(this.formGroup);
|
|
699
718
|
if (templateDelete) {
|
|
700
719
|
this.deletedControl.setValue(true);
|
|
701
720
|
} else {
|