@rxap/material-table-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 +31 -0
- package/compodoc/changelog.html +30 -0
- package/compodoc/components/BooleanCellComponent.html +55 -38
- package/compodoc/components/CheckboxCellComponent.html +79 -88
- package/compodoc/components/CheckboxHeaderCellComponent.html +61 -141
- package/compodoc/components/CopyToClipboardCellComponent.html +44 -33
- package/compodoc/components/DateCellComponent.html +69 -61
- package/compodoc/components/ExpandControlsCellComponent.html +36 -90
- package/compodoc/components/ExpandRowContainerComponent.html +95 -173
- package/compodoc/components/IconCellComponent.html +44 -33
- package/compodoc/components/ImageCellComponent.html +164 -119
- package/compodoc/components/LinkCellComponent.html +121 -64
- package/compodoc/components/OptionsCellComponent.html +119 -250
- package/compodoc/components/TableColumnMenuComponent.html +128 -433
- package/compodoc/components/TableColumnOptionComponent.html +280 -378
- package/compodoc/components/TableSelectControlsComponent.html +30 -93
- package/compodoc/components/TableShowArchivedSlideComponent.html +67 -102
- package/compodoc/components/TreeControlCellComponent.html +54 -62
- package/compodoc/dependencies.html +10 -10
- package/compodoc/directives/AbstractTableRowAction.html +1568 -0
- package/compodoc/directives/ExpandRowContentDirective.html +7 -77
- package/compodoc/directives/ExpandRowDirective.html +76 -184
- package/compodoc/directives/FilterHeaderRowDirective.html +67 -177
- package/compodoc/directives/PersistentPaginatorDirective.html +60 -83
- package/compodoc/directives/SelectedRowsDirective.html +17 -115
- package/compodoc/directives/TableColumnFilterInputDirective.html +67 -100
- package/compodoc/directives/TableCreateButtonDirective.html +53 -194
- package/compodoc/directives/TableDataSourceDirective.html +298 -350
- package/compodoc/directives/TableHeaderButtonDirective.html +290 -435
- package/compodoc/directives/TableRowActionDirective.html +816 -105
- package/compodoc/directives/TableRowActionExecutingDirective.html +11 -80
- package/compodoc/directives/TableRowHeaderActionDirective.html +772 -335
- package/compodoc/graph/dependencies.svg +15 -433
- package/compodoc/injectables/ExpandRowService.html +43 -8
- package/compodoc/injectables/SelectRowService.html +17 -52
- package/compodoc/interfaces/ExpandCellContentDirectiveContext.html +3 -11
- package/compodoc/interfaces/SelectedRowsDirectiveContext.html +15 -40
- package/compodoc/js/menu-wc.js +4 -166
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -85
- package/compodoc/overview.html +3 -467
- package/compodoc/pipes/RowActionCheckPipe.html +6 -13
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +9700 -11542
- 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/AbstractTableRowAction.html +22 -20
- package/docs/html/classes/BooleanCellComponent.html +2 -2
- package/docs/html/classes/CheckboxCellComponent.html +3 -2
- package/docs/html/classes/CheckboxHeaderCellComponent.html +5 -11
- package/docs/html/classes/CopyToClipboardCellComponent.html +2 -2
- package/docs/html/classes/DateCellComponent.html +2 -2
- package/docs/html/classes/ExpandControlsCellComponent.html +2 -2
- package/docs/html/classes/ExpandRowContainerComponent.html +4 -11
- package/docs/html/classes/ExpandRowContentDirective.html +2 -2
- package/docs/html/classes/ExpandRowDirective.html +3 -3
- package/docs/html/classes/ExpandRowService.html +3 -2
- package/docs/html/classes/FilterHeaderRowDirective.html +44 -29
- package/docs/html/classes/IconCellComponent.html +2 -2
- package/docs/html/classes/ImageCellComponent.html +3 -3
- package/docs/html/classes/LinkCellComponent.html +3 -3
- package/docs/html/classes/OptionsCellComponent.html +2 -17
- package/docs/html/classes/PersistentPaginatorDirective.html +4 -7
- package/docs/html/classes/RowActionCheckPipe.html +2 -2
- package/docs/html/classes/SelectRowService.html +2 -2
- package/docs/html/classes/SelectedRowsDirective.html +2 -11
- package/docs/html/classes/SelectionModel.html +15 -15
- package/docs/html/classes/TableColumnFilterInputDirective.html +2 -9
- package/docs/html/classes/TableColumnFilterService.html +2 -2
- package/docs/html/classes/TableColumnMenuComponent.html +8 -13
- package/docs/html/classes/TableColumnOptionComponent.html +11 -12
- package/docs/html/classes/TableCreateButtonDirective.html +3 -9
- package/docs/html/classes/TableDataSourceDirective.html +14 -11
- package/docs/html/classes/TableFilterService.html +3 -3
- package/docs/html/classes/TableHeaderButtonDirective.html +18 -20
- package/docs/html/classes/TableRowActionDirective.html +22 -20
- package/docs/html/classes/TableRowActionExecutingDirective.html +2 -2
- package/docs/html/classes/TableRowHeaderActionDirective.html +23 -21
- package/docs/html/classes/TableSelectControlsComponent.html +3 -3
- package/docs/html/classes/TableShowArchivedSlideComponent.html +4 -8
- package/docs/html/classes/ToFilterColumnNamesPipe.html +2 -2
- package/docs/html/classes/TreeControlCellComponent.html +3 -9
- package/docs/html/enums/TableHeaderButtonActionStatus.html +2 -2
- package/docs/html/enums/TableRowActionStatus.html +2 -2
- package/docs/html/functions/GetTableHeaderButtonMetadata.html +1 -1
- package/docs/html/functions/GetTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/GetTableRowActionMetadata.html +1 -1
- package/docs/html/functions/HasTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/HasTableRowActionMetadata.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeMethod.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/functions/NormalizeTableRow.html +3 -3
- package/docs/html/functions/TableActionMethod.html +1 -1
- package/docs/html/functions/TableHeaderButtonMethod.html +1 -1
- package/docs/html/functions/getMultipleValuesInSingleSelectionError.html +2 -2
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ExpandCellContentDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectRowOptions.html +2 -2
- package/docs/html/interfaces/SelectedRowsDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectionChange.html +5 -5
- package/docs/html/interfaces/TableActionMethodOptions.html +9 -9
- package/docs/html/interfaces/TableHeaderButtonMethodOptions.html +6 -6
- package/docs/html/interfaces/TableRowMetadata.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/types/RawTableRow.html +1 -1
- package/docs/html/types/RowActionCheckFunction.html +1 -1
- package/docs/html/types/RowIdMapperFunction.html +1 -1
- package/docs/html/types/TableRemoteMethodAdapterFactory.html +1 -1
- package/docs/html/types/TableRowActionMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_FILTER.html +1 -1
- package/docs/html/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ROW_ACTION_METHOD.html +1 -1
- package/docs/html/variables/RowAnimation.html +1 -1
- package/docs/html/variables/TABLE_CREATE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/TABLE_DATA_SOURCE.html +1 -1
- package/docs/html/variables/TABLE_HEADER_BUTTON_METHOD.html +1 -1
- package/docs/html/variables/TABLE_REMOTE_METHOD.html +2 -2
- package/docs/html/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AbstractTableRowAction.md +107 -147
- package/docs/markdown/classes/BooleanCellComponent.md +4 -4
- package/docs/markdown/classes/CheckboxCellComponent.md +14 -14
- package/docs/markdown/classes/CheckboxHeaderCellComponent.md +12 -50
- package/docs/markdown/classes/CopyToClipboardCellComponent.md +4 -4
- package/docs/markdown/classes/DateCellComponent.md +6 -6
- package/docs/markdown/classes/ExpandControlsCellComponent.md +6 -14
- package/docs/markdown/classes/ExpandRowContainerComponent.md +12 -67
- package/docs/markdown/classes/ExpandRowContentDirective.md +5 -13
- package/docs/markdown/classes/ExpandRowDirective.md +9 -23
- package/docs/markdown/classes/ExpandRowService.md +14 -6
- package/docs/markdown/classes/FilterHeaderRowDirective.md +245 -181
- package/docs/markdown/classes/IconCellComponent.md +4 -4
- package/docs/markdown/classes/ImageCellComponent.md +13 -13
- package/docs/markdown/classes/LinkCellComponent.md +10 -10
- package/docs/markdown/classes/OptionsCellComponent.md +15 -106
- package/docs/markdown/classes/PersistentPaginatorDirective.md +10 -38
- package/docs/markdown/classes/RowActionCheckPipe.md +5 -11
- package/docs/markdown/classes/SelectRowService.md +9 -15
- package/docs/markdown/classes/SelectedRowsDirective.md +4 -68
- package/docs/markdown/classes/SelectionModel.md +16 -16
- package/docs/markdown/classes/TableColumnFilterInputDirective.md +6 -60
- package/docs/markdown/classes/TableColumnFilterService.md +5 -5
- package/docs/markdown/classes/TableColumnMenuComponent.md +18 -93
- package/docs/markdown/classes/TableColumnOptionComponent.md +40 -103
- package/docs/markdown/classes/TableCreateButtonDirective.md +7 -46
- package/docs/markdown/classes/TableDataSourceDirective.md +49 -84
- package/docs/markdown/classes/TableFilterService.md +11 -11
- package/docs/markdown/classes/TableHeaderButtonDirective.md +88 -124
- package/docs/markdown/classes/TableRowActionDirective.md +136 -160
- package/docs/markdown/classes/TableRowActionExecutingDirective.md +6 -18
- package/docs/markdown/classes/TableRowHeaderActionDirective.md +133 -174
- package/docs/markdown/classes/TableSelectControlsComponent.md +8 -20
- package/docs/markdown/classes/TableShowArchivedSlideComponent.md +8 -46
- package/docs/markdown/classes/ToFilterColumnNamesPipe.md +3 -3
- package/docs/markdown/classes/TreeControlCellComponent.md +10 -33
- package/docs/markdown/enumerations/TableHeaderButtonActionStatus.md +6 -6
- package/docs/markdown/enumerations/TableRowActionStatus.md +6 -6
- package/docs/markdown/functions/GetTableHeaderButtonMetadata.md +2 -2
- package/docs/markdown/functions/GetTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/GetTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/HasTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/HasTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeMethod.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/functions/NormalizeTableRow.md +3 -3
- package/docs/markdown/functions/TableActionMethod.md +3 -3
- package/docs/markdown/functions/TableHeaderButtonMethod.md +2 -2
- package/docs/markdown/functions/getMultipleValuesInSingleSelectionError.md +2 -2
- package/docs/markdown/globals.md +2 -7
- package/docs/markdown/interfaces/ExpandCellContentDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectRowOptions.md +6 -6
- package/docs/markdown/interfaces/SelectedRowsDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectionChange.md +5 -5
- package/docs/markdown/interfaces/TableActionMethodOptions.md +11 -11
- package/docs/markdown/interfaces/TableHeaderButtonMethodOptions.md +7 -7
- package/docs/markdown/interfaces/TableRowMetadata.md +4 -4
- package/docs/markdown/type-aliases/RawTableRow.md +2 -2
- package/docs/markdown/type-aliases/RowActionCheckFunction.md +2 -2
- package/docs/markdown/type-aliases/RowIdMapperFunction.md +2 -2
- package/docs/markdown/type-aliases/TableRemoteMethodAdapterFactory.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ROW_ACTION_METHOD.md +2 -2
- package/docs/markdown/variables/RowAnimation.md +2 -2
- package/docs/markdown/variables/TABLE_CREATE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_DATA_SOURCE.md +2 -2
- package/docs/markdown/variables/TABLE_HEADER_BUTTON_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +2 -2
- package/docs/wiki/Class.AbstractTableRowAction.md +106 -146
- package/docs/wiki/Class.BooleanCellComponent.md +3 -3
- package/docs/wiki/Class.CheckboxCellComponent.md +13 -13
- package/docs/wiki/Class.CheckboxHeaderCellComponent.md +11 -49
- package/docs/wiki/Class.CopyToClipboardCellComponent.md +3 -3
- package/docs/wiki/Class.DateCellComponent.md +5 -5
- package/docs/wiki/Class.ExpandControlsCellComponent.md +5 -13
- package/docs/wiki/Class.ExpandRowContainerComponent.md +11 -66
- package/docs/wiki/Class.ExpandRowContentDirective.md +4 -12
- package/docs/wiki/Class.ExpandRowDirective.md +8 -22
- package/docs/wiki/Class.ExpandRowService.md +13 -5
- package/docs/wiki/Class.FilterHeaderRowDirective.md +244 -180
- package/docs/wiki/Class.IconCellComponent.md +3 -3
- package/docs/wiki/Class.ImageCellComponent.md +12 -12
- package/docs/wiki/Class.LinkCellComponent.md +9 -9
- package/docs/wiki/Class.OptionsCellComponent.md +14 -105
- package/docs/wiki/Class.PersistentPaginatorDirective.md +9 -37
- package/docs/wiki/Class.RowActionCheckPipe.md +4 -10
- package/docs/wiki/Class.SelectRowService.md +8 -14
- package/docs/wiki/Class.SelectedRowsDirective.md +3 -67
- package/docs/wiki/Class.SelectionModel.md +15 -15
- package/docs/wiki/Class.TableColumnFilterInputDirective.md +5 -59
- package/docs/wiki/Class.TableColumnFilterService.md +4 -4
- package/docs/wiki/Class.TableColumnMenuComponent.md +17 -92
- package/docs/wiki/Class.TableColumnOptionComponent.md +39 -102
- package/docs/wiki/Class.TableCreateButtonDirective.md +6 -45
- package/docs/wiki/Class.TableDataSourceDirective.md +48 -83
- package/docs/wiki/Class.TableFilterService.md +10 -10
- package/docs/wiki/Class.TableHeaderButtonDirective.md +87 -123
- package/docs/wiki/Class.TableRowActionDirective.md +135 -159
- package/docs/wiki/Class.TableRowActionExecutingDirective.md +5 -17
- package/docs/wiki/Class.TableRowHeaderActionDirective.md +132 -173
- package/docs/wiki/Class.TableSelectControlsComponent.md +7 -19
- package/docs/wiki/Class.TableShowArchivedSlideComponent.md +7 -45
- package/docs/wiki/Class.ToFilterColumnNamesPipe.md +2 -2
- package/docs/wiki/Class.TreeControlCellComponent.md +9 -32
- package/docs/wiki/Enumeration.TableHeaderButtonActionStatus.md +5 -5
- package/docs/wiki/Enumeration.TableRowActionStatus.md +5 -5
- package/docs/wiki/Function.GetTableHeaderButtonMetadata.md +1 -1
- package/docs/wiki/Function.GetTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.GetTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.HasTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.HasTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeMethod.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Function.NormalizeTableRow.md +2 -2
- package/docs/wiki/Function.TableActionMethod.md +2 -2
- package/docs/wiki/Function.TableHeaderButtonMethod.md +1 -1
- package/docs/wiki/Function.getMultipleValuesInSingleSelectionError.md +1 -1
- package/docs/wiki/Interface.ExpandCellContentDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectRowOptions.md +5 -5
- package/docs/wiki/Interface.SelectedRowsDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectionChange.md +4 -4
- package/docs/wiki/Interface.TableActionMethodOptions.md +10 -10
- package/docs/wiki/Interface.TableHeaderButtonMethodOptions.md +6 -6
- package/docs/wiki/Interface.TableRowMetadata.md +3 -3
- package/docs/wiki/TypeAlias.RawTableRow.md +1 -1
- package/docs/wiki/TypeAlias.RowActionCheckFunction.md +1 -1
- package/docs/wiki/TypeAlias.RowIdMapperFunction.md +1 -1
- package/docs/wiki/TypeAlias.TableRemoteMethodAdapterFactory.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Variable.RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ROW_ACTION_METHOD.md +1 -1
- package/docs/wiki/Variable.RowAnimation.md +1 -1
- package/docs/wiki/Variable.TABLE_CREATE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_DATA_SOURCE.md +1 -1
- package/docs/wiki/Variable.TABLE_HEADER_BUTTON_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -5
- package/docs/wiki/globals.md +1 -6
- package/fesm2022/rxap-material-table-system.mjs +561 -1137
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/package.json +28 -28
- package/types/rxap-material-table-system.d.ts +389 -439
- package/docs/html/classes/ExpandRowModule.html +0 -2
- package/docs/html/classes/SelectRowModule.html +0 -2
- package/docs/html/classes/TableColumnMenuModule.html +0 -2
- package/docs/html/classes/TableFilterModule.html +0 -2
- package/docs/html/classes/TableRowActionsModule.html +0 -2
- package/docs/markdown/classes/ExpandRowModule.md +0 -19
- package/docs/markdown/classes/SelectRowModule.md +0 -19
- package/docs/markdown/classes/TableColumnMenuModule.md +0 -19
- package/docs/markdown/classes/TableFilterModule.md +0 -19
- package/docs/markdown/classes/TableRowActionsModule.md +0 -19
- package/docs/wiki/Class.ExpandRowModule.md +0 -15
- package/docs/wiki/Class.SelectRowModule.md +0 -15
- package/docs/wiki/Class.TableColumnMenuModule.md +0 -15
- package/docs/wiki/Class.TableFilterModule.md +0 -15
- package/docs/wiki/Class.TableRowActionsModule.md +0 -15
|
@@ -126,12 +126,6 @@
|
|
|
126
126
|
<code>ConfirmDirective</code>
|
|
127
127
|
</p>
|
|
128
128
|
|
|
129
|
-
<p class="comment">
|
|
130
|
-
<h3>Implements</h3>
|
|
131
|
-
</p>
|
|
132
|
-
<p class="comment">
|
|
133
|
-
<code>OnInit</code>
|
|
134
|
-
</p>
|
|
135
129
|
|
|
136
130
|
|
|
137
131
|
<section data-compodoc="block-metadata">
|
|
@@ -169,8 +163,49 @@
|
|
|
169
163
|
<ul class="index-list">
|
|
170
164
|
<li>
|
|
171
165
|
<span class="modifier">Protected</span>
|
|
166
|
+
<span class="modifier">Readonly</span>
|
|
167
|
+
<a href="#effectiveErrorMessage" >effectiveErrorMessage</a>
|
|
168
|
+
</li>
|
|
169
|
+
<li>
|
|
170
|
+
<span class="modifier">Protected</span>
|
|
171
|
+
<span class="modifier">Readonly</span>
|
|
172
|
+
<a href="#effectiveRefresh" >effectiveRefresh</a>
|
|
173
|
+
</li>
|
|
174
|
+
<li>
|
|
175
|
+
<span class="modifier">Protected</span>
|
|
176
|
+
<span class="modifier">Readonly</span>
|
|
177
|
+
<a href="#effectiveSuccessMessage" >effectiveSuccessMessage</a>
|
|
178
|
+
</li>
|
|
179
|
+
<li>
|
|
180
|
+
<span class="modifier">Public</span>
|
|
181
|
+
<span class="modifier">Readonly</span>
|
|
182
|
+
<a href="#errorMessage" >errorMessage</a>
|
|
183
|
+
</li>
|
|
184
|
+
<li>
|
|
185
|
+
<span class="modifier">Public</span>
|
|
186
|
+
<span class="modifier">Readonly</span>
|
|
187
|
+
<a href="#hasConfirmDirective" >hasConfirmDirective</a>
|
|
188
|
+
</li>
|
|
189
|
+
<li>
|
|
190
|
+
<span class="modifier">Protected</span>
|
|
191
|
+
<span class="modifier">Readonly</span>
|
|
172
192
|
<a href="#options" >options</a>
|
|
173
193
|
</li>
|
|
194
|
+
<li>
|
|
195
|
+
<span class="modifier">Public</span>
|
|
196
|
+
<span class="modifier">Readonly</span>
|
|
197
|
+
<a href="#refresh" >refresh</a>
|
|
198
|
+
</li>
|
|
199
|
+
<li>
|
|
200
|
+
<span class="modifier">Public</span>
|
|
201
|
+
<span class="modifier">Readonly</span>
|
|
202
|
+
<a href="#successMessage" >successMessage</a>
|
|
203
|
+
</li>
|
|
204
|
+
<li>
|
|
205
|
+
<span class="modifier">Public</span>
|
|
206
|
+
<span class="modifier">Readonly</span>
|
|
207
|
+
<a href="#tableDataSourceDirective" >tableDataSourceDirective</a>
|
|
208
|
+
</li>
|
|
174
209
|
</ul>
|
|
175
210
|
</td>
|
|
176
211
|
</tr>
|
|
@@ -189,13 +224,11 @@
|
|
|
189
224
|
<a href="#execute" >execute</a>
|
|
190
225
|
</li>
|
|
191
226
|
<li>
|
|
192
|
-
<span class="modifier"></span>
|
|
193
227
|
<span class="modifier">Public</span>
|
|
194
228
|
<span class="modifier"></span>
|
|
195
229
|
<a href="#onClick" >onClick</a>
|
|
196
230
|
</li>
|
|
197
231
|
<li>
|
|
198
|
-
<span class="modifier"></span>
|
|
199
232
|
<span class="modifier">Public</span>
|
|
200
233
|
<span class="modifier"></span>
|
|
201
234
|
<a href="#onConfirmed" >onConfirmed</a>
|
|
@@ -226,12 +259,6 @@
|
|
|
226
259
|
<li>
|
|
227
260
|
<a href="#refresh" >refresh</a>
|
|
228
261
|
</li>
|
|
229
|
-
<li>
|
|
230
|
-
<a href="#rxapConfirm" >rxapConfirm</a>
|
|
231
|
-
</li>
|
|
232
|
-
<li>
|
|
233
|
-
<a href="#rxapTableHeaderButton" >rxapTableHeaderButton</a>
|
|
234
|
-
</li>
|
|
235
262
|
<li>
|
|
236
263
|
<a href="#successMessage" >successMessage</a>
|
|
237
264
|
</li>
|
|
@@ -241,38 +268,7 @@
|
|
|
241
268
|
|
|
242
269
|
|
|
243
270
|
|
|
244
|
-
<tr>
|
|
245
|
-
<td class="col-md-4">
|
|
246
|
-
<h6><b>HostListeners</b></h6>
|
|
247
|
-
</td>
|
|
248
|
-
</tr>
|
|
249
|
-
<tr>
|
|
250
|
-
<td class="col-md-4">
|
|
251
|
-
<ul class="index-list">
|
|
252
|
-
<li>
|
|
253
|
-
<a href="#click" >click</a>
|
|
254
|
-
</li>
|
|
255
|
-
<li>
|
|
256
|
-
<a href="#confirmed" >confirmed</a>
|
|
257
|
-
</li>
|
|
258
|
-
</ul>
|
|
259
|
-
</td>
|
|
260
|
-
</tr>
|
|
261
271
|
|
|
262
|
-
<tr>
|
|
263
|
-
<td class="col-md-4">
|
|
264
|
-
<h6><b>Accessors</b></h6>
|
|
265
|
-
</td>
|
|
266
|
-
</tr>
|
|
267
|
-
<tr>
|
|
268
|
-
<td class="col-md-4">
|
|
269
|
-
<ul class="index-list">
|
|
270
|
-
<li>
|
|
271
|
-
<a href="#hasConfirmDirective" >hasConfirmDirective</a>
|
|
272
|
-
</li>
|
|
273
|
-
</ul>
|
|
274
|
-
</td>
|
|
275
|
-
</tr>
|
|
276
272
|
</tbody>
|
|
277
273
|
</table>
|
|
278
274
|
</section>
|
|
@@ -283,117 +279,15 @@
|
|
|
283
279
|
<tbody>
|
|
284
280
|
<tr>
|
|
285
281
|
<td class="col-md-4">
|
|
286
|
-
<code>constructor(
|
|
282
|
+
<code>constructor()</code>
|
|
287
283
|
</td>
|
|
288
284
|
</tr>
|
|
289
285
|
<tr>
|
|
290
286
|
<td class="col-md-4">
|
|
291
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
287
|
+
<div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:44</a></div>
|
|
292
288
|
</td>
|
|
293
289
|
</tr>
|
|
294
290
|
|
|
295
|
-
<tr>
|
|
296
|
-
<td class="col-md-4">
|
|
297
|
-
<div>
|
|
298
|
-
<b>Parameters :</b>
|
|
299
|
-
<table class="params">
|
|
300
|
-
<thead>
|
|
301
|
-
<tr>
|
|
302
|
-
<td>Name</td>
|
|
303
|
-
<td>Type</td>
|
|
304
|
-
<td>Optional</td>
|
|
305
|
-
</tr>
|
|
306
|
-
</thead>
|
|
307
|
-
<tbody>
|
|
308
|
-
<tr>
|
|
309
|
-
<td>overlay</td>
|
|
310
|
-
|
|
311
|
-
<td>
|
|
312
|
-
<code>Overlay</code>
|
|
313
|
-
</td>
|
|
314
|
-
|
|
315
|
-
<td>
|
|
316
|
-
No
|
|
317
|
-
</td>
|
|
318
|
-
|
|
319
|
-
</tr>
|
|
320
|
-
<tr>
|
|
321
|
-
<td>elementRef</td>
|
|
322
|
-
|
|
323
|
-
<td>
|
|
324
|
-
<code>ElementRef</code>
|
|
325
|
-
</td>
|
|
326
|
-
|
|
327
|
-
<td>
|
|
328
|
-
No
|
|
329
|
-
</td>
|
|
330
|
-
|
|
331
|
-
</tr>
|
|
332
|
-
<tr>
|
|
333
|
-
<td>method</td>
|
|
334
|
-
|
|
335
|
-
<td>
|
|
336
|
-
<code>Method</code>
|
|
337
|
-
</td>
|
|
338
|
-
|
|
339
|
-
<td>
|
|
340
|
-
No
|
|
341
|
-
</td>
|
|
342
|
-
|
|
343
|
-
</tr>
|
|
344
|
-
<tr>
|
|
345
|
-
<td>snackBar</td>
|
|
346
|
-
|
|
347
|
-
<td>
|
|
348
|
-
<code>MatSnackBar</code>
|
|
349
|
-
</td>
|
|
350
|
-
|
|
351
|
-
<td>
|
|
352
|
-
No
|
|
353
|
-
</td>
|
|
354
|
-
|
|
355
|
-
</tr>
|
|
356
|
-
<tr>
|
|
357
|
-
<td>matTooltip</td>
|
|
358
|
-
|
|
359
|
-
<td>
|
|
360
|
-
<code>MatTooltip | null</code>
|
|
361
|
-
</td>
|
|
362
|
-
|
|
363
|
-
<td>
|
|
364
|
-
No
|
|
365
|
-
</td>
|
|
366
|
-
|
|
367
|
-
</tr>
|
|
368
|
-
<tr>
|
|
369
|
-
<td>matButton</td>
|
|
370
|
-
|
|
371
|
-
<td>
|
|
372
|
-
<code>MatMiniFabButton | null</code>
|
|
373
|
-
</td>
|
|
374
|
-
|
|
375
|
-
<td>
|
|
376
|
-
No
|
|
377
|
-
</td>
|
|
378
|
-
|
|
379
|
-
</tr>
|
|
380
|
-
<tr>
|
|
381
|
-
<td>cdr</td>
|
|
382
|
-
|
|
383
|
-
<td>
|
|
384
|
-
<code>ChangeDetectorRef</code>
|
|
385
|
-
</td>
|
|
386
|
-
|
|
387
|
-
<td>
|
|
388
|
-
No
|
|
389
|
-
</td>
|
|
390
|
-
|
|
391
|
-
</tr>
|
|
392
|
-
</tbody>
|
|
393
|
-
</table>
|
|
394
|
-
</div>
|
|
395
|
-
</td>
|
|
396
|
-
</tr>
|
|
397
291
|
</tbody>
|
|
398
292
|
</table>
|
|
399
293
|
</section>
|
|
@@ -407,16 +301,10 @@
|
|
|
407
301
|
<a name="errorMessage"></a>
|
|
408
302
|
<b>errorMessage</b>
|
|
409
303
|
</td>
|
|
410
|
-
</tr>
|
|
411
|
-
<tr>
|
|
412
|
-
<td class="col-md-4">
|
|
413
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
414
|
-
|
|
415
|
-
</td>
|
|
416
304
|
</tr>
|
|
417
305
|
<tr>
|
|
418
306
|
<td class="col-md-2" colspan="2">
|
|
419
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
307
|
+
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:29</a></div>
|
|
420
308
|
</td>
|
|
421
309
|
</tr>
|
|
422
310
|
</tbody>
|
|
@@ -428,16 +316,10 @@
|
|
|
428
316
|
<a name="refresh"></a>
|
|
429
317
|
<b>refresh</b>
|
|
430
318
|
</td>
|
|
431
|
-
</tr>
|
|
432
|
-
<tr>
|
|
433
|
-
<td class="col-md-4">
|
|
434
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
435
|
-
|
|
436
|
-
</td>
|
|
437
319
|
</tr>
|
|
438
320
|
<tr>
|
|
439
321
|
<td class="col-md-2" colspan="2">
|
|
440
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
322
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:34</a></div>
|
|
441
323
|
</td>
|
|
442
324
|
</tr>
|
|
443
325
|
<tr>
|
|
@@ -448,53 +330,6 @@
|
|
|
448
330
|
</tr>
|
|
449
331
|
</tbody>
|
|
450
332
|
</table>
|
|
451
|
-
<table class="table table-sm table-bordered">
|
|
452
|
-
<tbody>
|
|
453
|
-
<tr>
|
|
454
|
-
<td class="col-md-4">
|
|
455
|
-
<a name="rxapConfirm"></a>
|
|
456
|
-
<b>rxapConfirm</b>
|
|
457
|
-
</td>
|
|
458
|
-
</tr>
|
|
459
|
-
<tr>
|
|
460
|
-
<td class="col-md-4">
|
|
461
|
-
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
462
|
-
|
|
463
|
-
</td>
|
|
464
|
-
</tr>
|
|
465
|
-
<tr>
|
|
466
|
-
<td class="col-md-2" colspan="2">
|
|
467
|
-
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:79</a></div>
|
|
468
|
-
</td>
|
|
469
|
-
</tr>
|
|
470
|
-
</tbody>
|
|
471
|
-
</table>
|
|
472
|
-
<table class="table table-sm table-bordered">
|
|
473
|
-
<tbody>
|
|
474
|
-
<tr>
|
|
475
|
-
<td class="col-md-4">
|
|
476
|
-
<a name="rxapTableHeaderButton"></a>
|
|
477
|
-
<b>rxapTableHeaderButton</b>
|
|
478
|
-
</td>
|
|
479
|
-
</tr>
|
|
480
|
-
<tr>
|
|
481
|
-
<td class="col-md-4">
|
|
482
|
-
<i>Type : </i> <code><a href="../directives/TableDataSourceDirective.html" target="_self" >TableDataSourceDirective<Data></a></code>
|
|
483
|
-
|
|
484
|
-
</td>
|
|
485
|
-
</tr>
|
|
486
|
-
<tr>
|
|
487
|
-
<td class="col-md-4">
|
|
488
|
-
<i>Required : </i> <b>true</b>
|
|
489
|
-
</td>
|
|
490
|
-
</tr>
|
|
491
|
-
<tr>
|
|
492
|
-
<td class="col-md-2" colspan="2">
|
|
493
|
-
<div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:38</a></div>
|
|
494
|
-
</td>
|
|
495
|
-
</tr>
|
|
496
|
-
</tbody>
|
|
497
|
-
</table>
|
|
498
333
|
<table class="table table-sm table-bordered">
|
|
499
334
|
<tbody>
|
|
500
335
|
<tr>
|
|
@@ -502,16 +337,10 @@
|
|
|
502
337
|
<a name="successMessage"></a>
|
|
503
338
|
<b>successMessage</b>
|
|
504
339
|
</td>
|
|
505
|
-
</tr>
|
|
506
|
-
<tr>
|
|
507
|
-
<td class="col-md-4">
|
|
508
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
509
|
-
|
|
510
|
-
</td>
|
|
511
340
|
</tr>
|
|
512
341
|
<tr>
|
|
513
342
|
<td class="col-md-2" colspan="2">
|
|
514
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
343
|
+
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:30</a></div>
|
|
515
344
|
</td>
|
|
516
345
|
</tr>
|
|
517
346
|
</tbody>
|
|
@@ -519,63 +348,7 @@
|
|
|
519
348
|
</section>
|
|
520
349
|
|
|
521
350
|
|
|
522
|
-
<section data-compodoc="block-host-listener">
|
|
523
|
-
<h3>HostListeners</h3> <table class="table table-sm table-bordered">
|
|
524
|
-
<tbody>
|
|
525
|
-
<tr>
|
|
526
|
-
<td class="col-md-4">
|
|
527
|
-
<a name="click"></a>
|
|
528
|
-
<span class="name">
|
|
529
|
-
<b>
|
|
530
|
-
click
|
|
531
|
-
</b>
|
|
532
|
-
<a href="#click"><span class="icon ion-ios-link"></span></a>
|
|
533
|
-
</span>
|
|
534
|
-
</td>
|
|
535
|
-
</tr>
|
|
536
|
-
<tr>
|
|
537
|
-
<td class="col-md-4">
|
|
538
|
-
<i>Arguments : </i><code>'$event' </code>
|
|
539
|
-
</td>
|
|
540
|
-
</tr>
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
<tr>
|
|
544
|
-
<td class="col-md-4">
|
|
545
|
-
<div class="io-line">Defined in <a href="" data-line="89"
|
|
546
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:89</a></div>
|
|
547
|
-
</td>
|
|
548
|
-
</tr>
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
</tbody>
|
|
552
|
-
</table>
|
|
553
|
-
<table class="table table-sm table-bordered">
|
|
554
|
-
<tbody>
|
|
555
|
-
<tr>
|
|
556
|
-
<td class="col-md-4">
|
|
557
|
-
<a name="confirmed"></a>
|
|
558
|
-
<span class="name">
|
|
559
|
-
<b>
|
|
560
|
-
confirmed
|
|
561
|
-
</b>
|
|
562
|
-
<a href="#confirmed"><span class="icon ion-ios-link"></span></a>
|
|
563
|
-
</span>
|
|
564
|
-
</td>
|
|
565
|
-
</tr>
|
|
566
351
|
|
|
567
|
-
|
|
568
|
-
<tr>
|
|
569
|
-
<td class="col-md-4">
|
|
570
|
-
<div class="io-line">Defined in <a href="" data-line="84"
|
|
571
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:84</a></div>
|
|
572
|
-
</td>
|
|
573
|
-
</tr>
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
</tbody>
|
|
577
|
-
</table>
|
|
578
|
-
</section>
|
|
579
352
|
<section data-compodoc="block-methods">
|
|
580
353
|
|
|
581
354
|
<h3 id="methods">
|
|
@@ -604,8 +377,8 @@
|
|
|
604
377
|
|
|
605
378
|
<tr>
|
|
606
379
|
<td class="col-md-4">
|
|
607
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
608
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:
|
|
380
|
+
<div class="io-line">Defined in <a href="" data-line="74"
|
|
381
|
+
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:74</a></div>
|
|
609
382
|
</td>
|
|
610
383
|
</tr>
|
|
611
384
|
|
|
@@ -627,7 +400,6 @@
|
|
|
627
400
|
<td class="col-md-4">
|
|
628
401
|
<a name="onClick"></a>
|
|
629
402
|
<span class="name">
|
|
630
|
-
<span class="modifier"></span>
|
|
631
403
|
<span class="modifier">Public</span>
|
|
632
404
|
<span class="modifier"></span>
|
|
633
405
|
<span ><b>onClick</b></span>
|
|
@@ -638,22 +410,15 @@
|
|
|
638
410
|
<tr>
|
|
639
411
|
<td class="col-md-4">
|
|
640
412
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
641
|
-
<code>onClick($event
|
|
413
|
+
<code>onClick($event?: Event)</code>
|
|
642
414
|
</td>
|
|
643
415
|
</tr>
|
|
644
416
|
|
|
645
|
-
<tr>
|
|
646
|
-
<td class="col-md-4">
|
|
647
|
-
<b>Decorators : </b>
|
|
648
|
-
<br />
|
|
649
|
-
<code>@HostListener('click', ['$event'])<br /></code>
|
|
650
|
-
</td>
|
|
651
|
-
</tr>
|
|
652
417
|
|
|
653
418
|
<tr>
|
|
654
419
|
<td class="col-md-4">
|
|
655
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
656
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:
|
|
420
|
+
<div class="io-line">Defined in <a href="" data-line="60"
|
|
421
|
+
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:60</a></div>
|
|
657
422
|
</td>
|
|
658
423
|
</tr>
|
|
659
424
|
|
|
@@ -680,7 +445,7 @@
|
|
|
680
445
|
</td>
|
|
681
446
|
|
|
682
447
|
<td>
|
|
683
|
-
|
|
448
|
+
Yes
|
|
684
449
|
</td>
|
|
685
450
|
|
|
686
451
|
|
|
@@ -705,7 +470,6 @@
|
|
|
705
470
|
<td class="col-md-4">
|
|
706
471
|
<a name="onConfirmed"></a>
|
|
707
472
|
<span class="name">
|
|
708
|
-
<span class="modifier"></span>
|
|
709
473
|
<span class="modifier">Public</span>
|
|
710
474
|
<span class="modifier"></span>
|
|
711
475
|
<span ><b>onConfirmed</b></span>
|
|
@@ -720,18 +484,11 @@
|
|
|
720
484
|
</td>
|
|
721
485
|
</tr>
|
|
722
486
|
|
|
723
|
-
<tr>
|
|
724
|
-
<td class="col-md-4">
|
|
725
|
-
<b>Decorators : </b>
|
|
726
|
-
<br />
|
|
727
|
-
<code>@HostListener('confirmed')<br /></code>
|
|
728
|
-
</td>
|
|
729
|
-
</tr>
|
|
730
487
|
|
|
731
488
|
<tr>
|
|
732
489
|
<td class="col-md-4">
|
|
733
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
734
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:
|
|
490
|
+
<div class="io-line">Defined in <a href="" data-line="56"
|
|
491
|
+
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:56</a></div>
|
|
735
492
|
</td>
|
|
736
493
|
</tr>
|
|
737
494
|
|
|
@@ -769,8 +526,8 @@
|
|
|
769
526
|
|
|
770
527
|
<tr>
|
|
771
528
|
<td class="col-md-4">
|
|
772
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
773
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:
|
|
529
|
+
<div class="io-line">Defined in <a href="" data-line="95"
|
|
530
|
+
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:95</a></div>
|
|
774
531
|
</td>
|
|
775
532
|
</tr>
|
|
776
533
|
|
|
@@ -812,8 +569,8 @@ extern button enable features linke : rxapHasEnablePermission</p>
|
|
|
812
569
|
|
|
813
570
|
<tr>
|
|
814
571
|
<td class="col-md-4">
|
|
815
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
816
|
-
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:
|
|
572
|
+
<div class="io-line">Defined in <a href="" data-line="107"
|
|
573
|
+
class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:107</a></div>
|
|
817
574
|
</td>
|
|
818
575
|
</tr>
|
|
819
576
|
|
|
@@ -844,117 +601,244 @@ extern button enable features linke : rxapHasEnablePermission</p>
|
|
|
844
601
|
<tbody>
|
|
845
602
|
<tr>
|
|
846
603
|
<td class="col-md-4">
|
|
847
|
-
<a name="
|
|
604
|
+
<a name="effectiveErrorMessage"></a>
|
|
848
605
|
<span class="name">
|
|
849
606
|
<span class="modifier">Protected</span>
|
|
850
|
-
|
|
851
|
-
<
|
|
607
|
+
<span class="modifier">Readonly</span>
|
|
608
|
+
<span ><b>effectiveErrorMessage</b></span>
|
|
609
|
+
<a href="#effectiveErrorMessage"><span class="icon ion-ios-link"></span></a>
|
|
852
610
|
</span>
|
|
853
611
|
</td>
|
|
854
612
|
</tr>
|
|
855
613
|
<tr>
|
|
856
614
|
<td class="col-md-4">
|
|
857
|
-
<i>
|
|
615
|
+
<i>Default value : </i><code>computed(() => this.errorMessage() ?? this.options()?.errorMessage ?? undefined)</code>
|
|
616
|
+
</td>
|
|
617
|
+
</tr>
|
|
618
|
+
<tr>
|
|
619
|
+
<td class="col-md-4">
|
|
620
|
+
<div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:39</a></div>
|
|
621
|
+
</td>
|
|
622
|
+
</tr>
|
|
858
623
|
|
|
624
|
+
|
|
625
|
+
</tbody>
|
|
626
|
+
</table>
|
|
627
|
+
<table class="table table-sm table-bordered">
|
|
628
|
+
<tbody>
|
|
629
|
+
<tr>
|
|
630
|
+
<td class="col-md-4">
|
|
631
|
+
<a name="effectiveRefresh"></a>
|
|
632
|
+
<span class="name">
|
|
633
|
+
<span class="modifier">Protected</span>
|
|
634
|
+
<span class="modifier">Readonly</span>
|
|
635
|
+
<span ><b>effectiveRefresh</b></span>
|
|
636
|
+
<a href="#effectiveRefresh"><span class="icon ion-ios-link"></span></a>
|
|
637
|
+
</span>
|
|
638
|
+
</td>
|
|
639
|
+
</tr>
|
|
640
|
+
<tr>
|
|
641
|
+
<td class="col-md-4">
|
|
642
|
+
<i>Default value : </i><code>computed(() => this.refresh() ?? this.options()?.refresh ?? false)</code>
|
|
859
643
|
</td>
|
|
860
644
|
</tr>
|
|
645
|
+
<tr>
|
|
646
|
+
<td class="col-md-4">
|
|
647
|
+
<div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:38</a></div>
|
|
648
|
+
</td>
|
|
649
|
+
</tr>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
</tbody>
|
|
653
|
+
</table>
|
|
654
|
+
<table class="table table-sm table-bordered">
|
|
655
|
+
<tbody>
|
|
656
|
+
<tr>
|
|
657
|
+
<td class="col-md-4">
|
|
658
|
+
<a name="effectiveSuccessMessage"></a>
|
|
659
|
+
<span class="name">
|
|
660
|
+
<span class="modifier">Protected</span>
|
|
661
|
+
<span class="modifier">Readonly</span>
|
|
662
|
+
<span ><b>effectiveSuccessMessage</b></span>
|
|
663
|
+
<a href="#effectiveSuccessMessage"><span class="icon ion-ios-link"></span></a>
|
|
664
|
+
</span>
|
|
665
|
+
</td>
|
|
666
|
+
</tr>
|
|
861
667
|
<tr>
|
|
862
668
|
<td class="col-md-4">
|
|
863
|
-
<i>Default value : </i><code>
|
|
669
|
+
<i>Default value : </i><code>computed(() => this.successMessage() ?? this.options()?.successMessage ?? undefined)</code>
|
|
864
670
|
</td>
|
|
865
671
|
</tr>
|
|
866
672
|
<tr>
|
|
867
673
|
<td class="col-md-4">
|
|
868
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
674
|
+
<div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:40</a></div>
|
|
869
675
|
</td>
|
|
870
676
|
</tr>
|
|
871
677
|
|
|
872
678
|
|
|
873
679
|
</tbody>
|
|
874
680
|
</table>
|
|
875
|
-
|
|
681
|
+
<table class="table table-sm table-bordered">
|
|
682
|
+
<tbody>
|
|
683
|
+
<tr>
|
|
684
|
+
<td class="col-md-4">
|
|
685
|
+
<a name="errorMessage"></a>
|
|
686
|
+
<span class="name">
|
|
687
|
+
<span class="modifier">Public</span>
|
|
688
|
+
<span class="modifier">Readonly</span>
|
|
689
|
+
<span ><b>errorMessage</b></span>
|
|
690
|
+
<a href="#errorMessage"><span class="icon ion-ios-link"></span></a>
|
|
691
|
+
</span>
|
|
692
|
+
</td>
|
|
693
|
+
</tr>
|
|
694
|
+
<tr>
|
|
695
|
+
<td class="col-md-4">
|
|
696
|
+
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:29</a></div>
|
|
697
|
+
</td>
|
|
698
|
+
</tr>
|
|
876
699
|
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
<
|
|
882
|
-
<
|
|
700
|
+
|
|
701
|
+
</tbody>
|
|
702
|
+
</table>
|
|
703
|
+
<table class="table table-sm table-bordered">
|
|
704
|
+
<tbody>
|
|
705
|
+
<tr>
|
|
706
|
+
<td class="col-md-4">
|
|
707
|
+
<a name="hasConfirmDirective"></a>
|
|
708
|
+
<span class="name">
|
|
709
|
+
<span class="modifier">Public</span>
|
|
710
|
+
<span class="modifier">Readonly</span>
|
|
711
|
+
<span ><b>hasConfirmDirective</b></span>
|
|
712
|
+
<a href="#hasConfirmDirective"><span class="icon ion-ios-link"></span></a>
|
|
713
|
+
</span>
|
|
714
|
+
</td>
|
|
715
|
+
</tr>
|
|
883
716
|
<tr>
|
|
884
717
|
<td class="col-md-4">
|
|
885
|
-
<
|
|
886
|
-
<span class="name"><b>hasConfirmDirective</b><a href="#hasConfirmDirective"><span class="icon ion-ios-link"></span></a></span>
|
|
718
|
+
<i>Default value : </i><code>input(false, { alias: 'rxapConfirm', transform: coerceBoolean })</code>
|
|
887
719
|
</td>
|
|
888
720
|
</tr>
|
|
721
|
+
<tr>
|
|
722
|
+
<td class="col-md-4">
|
|
723
|
+
<div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:44</a></div>
|
|
724
|
+
</td>
|
|
725
|
+
</tr>
|
|
889
726
|
|
|
890
727
|
|
|
728
|
+
</tbody>
|
|
729
|
+
</table>
|
|
730
|
+
<table class="table table-sm table-bordered">
|
|
731
|
+
<tbody>
|
|
732
|
+
<tr>
|
|
733
|
+
<td class="col-md-4">
|
|
734
|
+
<a name="options"></a>
|
|
735
|
+
<span class="name">
|
|
736
|
+
<span class="modifier">Protected</span>
|
|
737
|
+
<span class="modifier">Readonly</span>
|
|
738
|
+
<span ><b>options</b></span>
|
|
739
|
+
<a href="#options"><span class="icon ion-ios-link"></span></a>
|
|
740
|
+
</span>
|
|
741
|
+
</td>
|
|
742
|
+
</tr>
|
|
891
743
|
<tr>
|
|
892
744
|
<td class="col-md-4">
|
|
893
|
-
<
|
|
745
|
+
<i>Default value : </i><code>computed<TableHeaderButtonMethodOptions | null>(() => this.getTableHeaderButtonOptions())</code>
|
|
894
746
|
</td>
|
|
895
747
|
</tr>
|
|
896
|
-
<tr>
|
|
897
|
-
<td class="col-md-4">
|
|
898
|
-
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:79</a></div>
|
|
899
|
-
</td>
|
|
900
|
-
</tr>
|
|
901
748
|
<tr>
|
|
902
749
|
<td class="col-md-4">
|
|
750
|
+
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:36</a></div>
|
|
751
|
+
</td>
|
|
752
|
+
</tr>
|
|
903
753
|
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
No
|
|
924
|
-
</td>
|
|
925
|
-
|
|
926
|
-
</tr>
|
|
927
|
-
</tbody>
|
|
928
|
-
</table>
|
|
929
|
-
</div>
|
|
930
|
-
<div>
|
|
931
|
-
</div>
|
|
932
|
-
<div class="io-description">
|
|
933
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
934
|
-
|
|
935
|
-
</div>
|
|
754
|
+
|
|
755
|
+
</tbody>
|
|
756
|
+
</table>
|
|
757
|
+
<table class="table table-sm table-bordered">
|
|
758
|
+
<tbody>
|
|
759
|
+
<tr>
|
|
760
|
+
<td class="col-md-4">
|
|
761
|
+
<a name="refresh"></a>
|
|
762
|
+
<span class="name">
|
|
763
|
+
<span class="modifier">Public</span>
|
|
764
|
+
<span class="modifier">Readonly</span>
|
|
765
|
+
<span ><b>refresh</b></span>
|
|
766
|
+
<a href="#refresh"><span class="icon ion-ios-link"></span></a>
|
|
767
|
+
</span>
|
|
768
|
+
</td>
|
|
769
|
+
</tr>
|
|
770
|
+
<tr>
|
|
771
|
+
<td class="col-md-4">
|
|
772
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:34</a></div>
|
|
936
773
|
</td>
|
|
937
774
|
</tr>
|
|
938
|
-
|
|
939
|
-
|
|
775
|
+
|
|
776
|
+
<tr>
|
|
777
|
+
<td class="col-md-4">
|
|
778
|
+
<div class="io-description"><p>true - after the action is executed the table datasource is refreshed</p>
|
|
779
|
+
</div>
|
|
780
|
+
</td>
|
|
781
|
+
</tr>
|
|
782
|
+
|
|
783
|
+
</tbody>
|
|
784
|
+
</table>
|
|
785
|
+
<table class="table table-sm table-bordered">
|
|
786
|
+
<tbody>
|
|
787
|
+
<tr>
|
|
788
|
+
<td class="col-md-4">
|
|
789
|
+
<a name="successMessage"></a>
|
|
790
|
+
<span class="name">
|
|
791
|
+
<span class="modifier">Public</span>
|
|
792
|
+
<span class="modifier">Readonly</span>
|
|
793
|
+
<span ><b>successMessage</b></span>
|
|
794
|
+
<a href="#successMessage"><span class="icon ion-ios-link"></span></a>
|
|
795
|
+
</span>
|
|
796
|
+
</td>
|
|
797
|
+
</tr>
|
|
798
|
+
<tr>
|
|
799
|
+
<td class="col-md-4">
|
|
800
|
+
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:30</a></div>
|
|
801
|
+
</td>
|
|
802
|
+
</tr>
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
</tbody>
|
|
806
|
+
</table>
|
|
807
|
+
<table class="table table-sm table-bordered">
|
|
808
|
+
<tbody>
|
|
809
|
+
<tr>
|
|
810
|
+
<td class="col-md-4">
|
|
811
|
+
<a name="tableDataSourceDirective"></a>
|
|
812
|
+
<span class="name">
|
|
813
|
+
<span class="modifier">Public</span>
|
|
814
|
+
<span class="modifier">Readonly</span>
|
|
815
|
+
<span ><b>tableDataSourceDirective</b></span>
|
|
816
|
+
<a href="#tableDataSourceDirective"><span class="icon ion-ios-link"></span></a>
|
|
817
|
+
</span>
|
|
818
|
+
</td>
|
|
819
|
+
</tr>
|
|
820
|
+
<tr>
|
|
821
|
+
<td class="col-md-4">
|
|
822
|
+
<i>Default value : </i><code>input.required<TableDataSourceDirective<Data>>({ alias: "rxapTableHeaderButton" })</code>
|
|
823
|
+
</td>
|
|
824
|
+
</tr>
|
|
825
|
+
<tr>
|
|
826
|
+
<td class="col-md-4">
|
|
827
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/table-header-button/table-header-button.directive.ts:27</a></div>
|
|
828
|
+
</td>
|
|
829
|
+
</tr>
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
</tbody>
|
|
833
|
+
</table>
|
|
940
834
|
</section>
|
|
941
835
|
|
|
836
|
+
|
|
942
837
|
</div>
|
|
943
838
|
|
|
944
839
|
|
|
945
840
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
946
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
947
|
-
import {
|
|
948
|
-
ChangeDetectorRef,
|
|
949
|
-
Directive,
|
|
950
|
-
ElementRef,
|
|
951
|
-
HostListener,
|
|
952
|
-
Inject,
|
|
953
|
-
Input,
|
|
954
|
-
isDevMode,
|
|
955
|
-
OnInit,
|
|
956
|
-
Optional,
|
|
957
|
-
} from '@angular/core';
|
|
841
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { computed, Directive, effect, untracked, isDevMode, input, inject } from '@angular/core';
|
|
958
842
|
import { MatMiniFabButton } from '@angular/material/button';
|
|
959
843
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
960
844
|
import { MatTooltip } from '@angular/material/tooltip';
|
|
@@ -973,69 +857,51 @@ import { TABLE_HEADER_BUTTON_METHOD } from './tokens';
|
|
|
973
857
|
selector: 'button[mat-mini-fab][rxapTableHeaderButton]',
|
|
974
858
|
standalone: true,
|
|
975
859
|
})
|
|
976
|
-
export class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
public tableDataSourceDirective
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
public
|
|
987
|
-
@Input()
|
|
988
|
-
public successMessage?: string;
|
|
860
|
+
export class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective {
|
|
861
|
+
private readonly method = inject<Method>(TABLE_HEADER_BUTTON_METHOD);
|
|
862
|
+
private readonly snackBar = inject<MatSnackBar>(MatSnackBar);
|
|
863
|
+
private readonly matTooltip = inject<MatTooltip | null>(MatTooltip, { optional: true });
|
|
864
|
+
private readonly matButton = inject<MatMiniFabButton | null>(MatMiniFabButton, { optional: true });
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
public readonly tableDataSourceDirective = input.required<TableDataSourceDirective<Data>>({ alias: "rxapTableHeaderButton" });
|
|
868
|
+
|
|
869
|
+
public readonly errorMessage = input<string>();
|
|
870
|
+
public readonly successMessage = input<string>();
|
|
989
871
|
/**
|
|
990
872
|
* true - after the action is executed the table datasource is refreshed
|
|
991
873
|
*/
|
|
992
|
-
|
|
993
|
-
|
|
874
|
+
public readonly refresh = input<boolean>();
|
|
875
|
+
|
|
876
|
+
protected readonly options = computed<TableHeaderButtonMethodOptions | null>(() => this.getTableHeaderButtonOptions());
|
|
994
877
|
|
|
995
|
-
protected
|
|
878
|
+
protected readonly effectiveRefresh = computed(() => this.refresh() ?? this.options()?.refresh ?? false);
|
|
879
|
+
protected readonly effectiveErrorMessage = computed(() => this.errorMessage() ?? this.options()?.errorMessage ?? undefined);
|
|
880
|
+
protected readonly effectiveSuccessMessage = computed(() => this.successMessage() ?? this.options()?.successMessage ?? undefined);
|
|
996
881
|
private _actionDisabled = false;
|
|
997
882
|
private _currentStatus: TableHeaderButtonActionStatus = TableHeaderButtonActionStatus.DONE;
|
|
998
883
|
|
|
999
|
-
|
|
1000
|
-
@Inject(Overlay)
|
|
1001
|
-
overlay: Overlay,
|
|
1002
|
-
@Inject(ElementRef)
|
|
1003
|
-
elementRef: ElementRef,
|
|
1004
|
-
@Inject(TABLE_HEADER_BUTTON_METHOD)
|
|
1005
|
-
private readonly method: Method,
|
|
1006
|
-
@Inject(MatSnackBar)
|
|
1007
|
-
private readonly snackBar: MatSnackBar,
|
|
1008
|
-
@Optional()
|
|
1009
|
-
@Inject(MatTooltip)
|
|
1010
|
-
private readonly matTooltip: MatTooltip | null,
|
|
1011
|
-
@Optional()
|
|
1012
|
-
@Inject(MatMiniFabButton)
|
|
1013
|
-
private readonly matButton: MatMiniFabButton | null,
|
|
1014
|
-
@Inject(ChangeDetectorRef)
|
|
1015
|
-
protected readonly cdr: ChangeDetectorRef,
|
|
1016
|
-
) {
|
|
1017
|
-
super(overlay, elementRef);
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
private _hasConfirmDirective = false;
|
|
884
|
+
public readonly hasConfirmDirective = input(false, { alias: 'rxapConfirm', transform: coerceBoolean });
|
|
1021
885
|
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
886
|
+
constructor() {
|
|
887
|
+
super();
|
|
888
|
+
effect(() => {
|
|
889
|
+
const tooltip = this.options()?.tooltip;
|
|
890
|
+
if (this.matTooltip && tooltip) {
|
|
891
|
+
untracked(() => this.matTooltip!.message = tooltip);
|
|
892
|
+
}
|
|
893
|
+
});
|
|
1026
894
|
}
|
|
1027
895
|
|
|
1028
|
-
@HostListener('confirmed')
|
|
1029
896
|
public override onConfirmed() {
|
|
1030
897
|
return this.execute();
|
|
1031
898
|
}
|
|
1032
899
|
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
if (!this._hasConfirmDirective && !this.options?.confirm) {
|
|
900
|
+
public override onClick($event?: Event) {
|
|
901
|
+
$event?.stopPropagation();
|
|
902
|
+
if (!this.hasConfirmDirective() && !this.options()?.confirm) {
|
|
1037
903
|
return this.execute();
|
|
1038
|
-
} else if (this.options?.confirm) {
|
|
904
|
+
} else if (this.options()?.confirm) {
|
|
1039
905
|
this.openConfirmOverly();
|
|
1040
906
|
} else {
|
|
1041
907
|
if (isDevMode()) {
|
|
@@ -1059,18 +925,6 @@ export class TableHeaderButtonDirective<Data extends Record<string, any>
|
|
|
1059
925
|
}
|
|
1060
926
|
}
|
|
1061
927
|
|
|
1062
|
-
ngOnInit() {
|
|
1063
|
-
this.options = this.getTableHeaderButtonOptions();
|
|
1064
|
-
if (this.options) {
|
|
1065
|
-
this.refresh ??= this.options.refresh ?? false;
|
|
1066
|
-
this.errorMessage ??= this.options.errorMessage ?? undefined;
|
|
1067
|
-
this.successMessage ??= this.options.successMessage ?? undefined;
|
|
1068
|
-
if (this.matTooltip && this.options.tooltip) {
|
|
1069
|
-
this.matTooltip.message = this.options.tooltip;
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
928
|
/**
|
|
1075
929
|
* Disables the action. If the button is pressed the action is NOT executed
|
|
1076
930
|
*
|
|
@@ -1099,30 +953,31 @@ export class TableHeaderButtonDirective<Data extends Record<string, any>
|
|
|
1099
953
|
return;
|
|
1100
954
|
}
|
|
1101
955
|
this._currentStatus = status;
|
|
956
|
+
const errorMessage = this.effectiveErrorMessage();
|
|
957
|
+
const successMessage = this.effectiveSuccessMessage();
|
|
1102
958
|
switch (status) {
|
|
1103
959
|
case TableHeaderButtonActionStatus.EXECUTING:
|
|
1104
960
|
this.setButtonDisabled();
|
|
1105
961
|
break;
|
|
1106
962
|
case TableHeaderButtonActionStatus.SUCCESS:
|
|
1107
|
-
if (this.
|
|
1108
|
-
this.tableDataSourceDirective.refresh();
|
|
963
|
+
if (this.effectiveRefresh()) {
|
|
964
|
+
this.tableDataSourceDirective().refresh();
|
|
1109
965
|
}
|
|
1110
|
-
if (
|
|
1111
|
-
this.snackBar.open(
|
|
966
|
+
if (successMessage) {
|
|
967
|
+
this.snackBar.open(successMessage, 'ok', { duration: 2560 });
|
|
1112
968
|
}
|
|
1113
969
|
this.setStatus(TableHeaderButtonActionStatus.DONE);
|
|
1114
970
|
break;
|
|
1115
971
|
case TableHeaderButtonActionStatus.ERROR:
|
|
1116
972
|
this.setStatus(TableHeaderButtonActionStatus.DONE);
|
|
1117
|
-
if (
|
|
1118
|
-
this.snackBar.open(
|
|
973
|
+
if (errorMessage) {
|
|
974
|
+
this.snackBar.open(errorMessage, 'ok', { duration: 5120 });
|
|
1119
975
|
}
|
|
1120
976
|
break;
|
|
1121
977
|
case TableHeaderButtonActionStatus.DONE:
|
|
1122
978
|
this.setButtonEnabled();
|
|
1123
979
|
break;
|
|
1124
980
|
}
|
|
1125
|
-
this.cdr.detectChanges();
|
|
1126
981
|
}
|
|
1127
982
|
|
|
1128
983
|
private getTableHeaderButtonOptions(): TableHeaderButtonMethodOptions {
|