@rxap/material-table-system 21.0.1-dev.0 → 21.0.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 +63 -0
- package/compodoc/changelog.html +61 -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
|
@@ -158,7 +158,6 @@
|
|
|
158
158
|
<td class="col-md-3">imports</td>
|
|
159
159
|
<td class="col-md-9">
|
|
160
160
|
<code>MatButtonModule</code>
|
|
161
|
-
<code>AsyncPipe</code>
|
|
162
161
|
</td>
|
|
163
162
|
</tr>
|
|
164
163
|
|
|
@@ -199,7 +198,8 @@
|
|
|
199
198
|
<ul class="index-list">
|
|
200
199
|
<li>
|
|
201
200
|
<span class="modifier">Public</span>
|
|
202
|
-
|
|
201
|
+
<span class="modifier">Readonly</span>
|
|
202
|
+
<a href="#hasNotSelected" >hasNotSelected</a>
|
|
203
203
|
</li>
|
|
204
204
|
</ul>
|
|
205
205
|
</td>
|
|
@@ -233,66 +233,6 @@
|
|
|
233
233
|
</table>
|
|
234
234
|
</section>
|
|
235
235
|
|
|
236
|
-
<section data-compodoc="block-constructor">
|
|
237
|
-
<h3 id="constructor">Constructor</h3>
|
|
238
|
-
<table class="table table-sm table-bordered">
|
|
239
|
-
<tbody>
|
|
240
|
-
<tr>
|
|
241
|
-
<td class="col-md-4">
|
|
242
|
-
<code>constructor(selectRows: <a href="../injectables/SelectRowService.html" target="_self">SelectRowService<any></a>, windowRef: WindowRef)</code>
|
|
243
|
-
</td>
|
|
244
|
-
</tr>
|
|
245
|
-
<tr>
|
|
246
|
-
<td class="col-md-4">
|
|
247
|
-
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/table-select-controls/table-select-controls.component.ts:25</a></div>
|
|
248
|
-
</td>
|
|
249
|
-
</tr>
|
|
250
|
-
|
|
251
|
-
<tr>
|
|
252
|
-
<td class="col-md-4">
|
|
253
|
-
<div>
|
|
254
|
-
<b>Parameters :</b>
|
|
255
|
-
<table class="params">
|
|
256
|
-
<thead>
|
|
257
|
-
<tr>
|
|
258
|
-
<td>Name</td>
|
|
259
|
-
<td>Type</td>
|
|
260
|
-
<td>Optional</td>
|
|
261
|
-
</tr>
|
|
262
|
-
</thead>
|
|
263
|
-
<tbody>
|
|
264
|
-
<tr>
|
|
265
|
-
<td>selectRows</td>
|
|
266
|
-
|
|
267
|
-
<td>
|
|
268
|
-
<code><a href="../injectables/SelectRowService.html" target="_self" >SelectRowService<any></a></code>
|
|
269
|
-
</td>
|
|
270
|
-
|
|
271
|
-
<td>
|
|
272
|
-
No
|
|
273
|
-
</td>
|
|
274
|
-
|
|
275
|
-
</tr>
|
|
276
|
-
<tr>
|
|
277
|
-
<td>windowRef</td>
|
|
278
|
-
|
|
279
|
-
<td>
|
|
280
|
-
<code>WindowRef</code>
|
|
281
|
-
</td>
|
|
282
|
-
|
|
283
|
-
<td>
|
|
284
|
-
No
|
|
285
|
-
</td>
|
|
286
|
-
|
|
287
|
-
</tr>
|
|
288
|
-
</tbody>
|
|
289
|
-
</table>
|
|
290
|
-
</div>
|
|
291
|
-
</td>
|
|
292
|
-
</tr>
|
|
293
|
-
</tbody>
|
|
294
|
-
</table>
|
|
295
|
-
</section>
|
|
296
236
|
|
|
297
237
|
|
|
298
238
|
|
|
@@ -325,8 +265,8 @@
|
|
|
325
265
|
|
|
326
266
|
<tr>
|
|
327
267
|
<td class="col-md-4">
|
|
328
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
329
|
-
class="link-to-prism">src/lib/table-select-controls/table-select-controls.component.ts:
|
|
268
|
+
<div class="io-line">Defined in <a href="" data-line="29"
|
|
269
|
+
class="link-to-prism">src/lib/table-select-controls/table-select-controls.component.ts:29</a></div>
|
|
330
270
|
</td>
|
|
331
271
|
</tr>
|
|
332
272
|
|
|
@@ -364,8 +304,8 @@
|
|
|
364
304
|
|
|
365
305
|
<tr>
|
|
366
306
|
<td class="col-md-4">
|
|
367
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
368
|
-
class="link-to-prism">src/lib/table-select-controls/table-select-controls.component.ts:
|
|
307
|
+
<div class="io-line">Defined in <a href="" data-line="33"
|
|
308
|
+
class="link-to-prism">src/lib/table-select-controls/table-select-controls.component.ts:33</a></div>
|
|
369
309
|
</td>
|
|
370
310
|
</tr>
|
|
371
311
|
|
|
@@ -391,23 +331,28 @@
|
|
|
391
331
|
<tbody>
|
|
392
332
|
<tr>
|
|
393
333
|
<td class="col-md-4">
|
|
394
|
-
<a name="hasNotSelected
|
|
334
|
+
<a name="hasNotSelected"></a>
|
|
395
335
|
<span class="name">
|
|
396
336
|
<span class="modifier">Public</span>
|
|
397
|
-
|
|
398
|
-
<
|
|
337
|
+
<span class="modifier">Readonly</span>
|
|
338
|
+
<span ><b>hasNotSelected</b></span>
|
|
339
|
+
<a href="#hasNotSelected"><span class="icon ion-ios-link"></span></a>
|
|
399
340
|
</span>
|
|
400
341
|
</td>
|
|
401
342
|
</tr>
|
|
402
343
|
<tr>
|
|
403
344
|
<td class="col-md-4">
|
|
404
|
-
<i>
|
|
405
|
-
|
|
345
|
+
<i>Default value : </i><code>toSignal(
|
|
346
|
+
this.selectRows.selectedRows$.pipe(
|
|
347
|
+
map((selected) => selected.length === 0),
|
|
348
|
+
),
|
|
349
|
+
{ initialValue: true },
|
|
350
|
+
)</code>
|
|
406
351
|
</td>
|
|
407
352
|
</tr>
|
|
408
353
|
<tr>
|
|
409
354
|
<td class="col-md-4">
|
|
410
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
355
|
+
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/table-select-controls/table-select-controls.component.ts:22</a></div>
|
|
411
356
|
</td>
|
|
412
357
|
</tr>
|
|
413
358
|
|
|
@@ -420,17 +365,12 @@
|
|
|
420
365
|
|
|
421
366
|
|
|
422
367
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
423
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
424
|
-
|
|
425
|
-
Component,
|
|
426
|
-
Inject,
|
|
427
|
-
} from '@angular/core';
|
|
368
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
369
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
428
370
|
import type { WindowRef } from '@rxap/window-system';
|
|
429
371
|
import { RXAP_WINDOW_REF } from '@rxap/window-system';
|
|
430
|
-
import type { Observable } from 'rxjs';
|
|
431
372
|
import { map } from 'rxjs/operators';
|
|
432
373
|
import { SelectRowService } from '../select-row/select-row.service';
|
|
433
|
-
import { AsyncPipe } from '@angular/common';
|
|
434
374
|
import { MatButtonModule } from '@angular/material/button';
|
|
435
375
|
|
|
436
376
|
@Component({
|
|
@@ -440,21 +380,18 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
440
380
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
441
381
|
imports: [
|
|
442
382
|
MatButtonModule,
|
|
443
|
-
AsyncPipe,
|
|
444
383
|
]
|
|
445
384
|
})
|
|
446
385
|
export class TableSelectControlsComponent {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
private readonly windowRef: WindowRef,
|
|
453
|
-
) {
|
|
454
|
-
this.hasNotSelected$ = this.selectRows.selectedRows$.pipe(
|
|
386
|
+
private readonly selectRows = inject<SelectRowService<any>>(SelectRowService);
|
|
387
|
+
private readonly windowRef = inject<WindowRef>(RXAP_WINDOW_REF);
|
|
388
|
+
|
|
389
|
+
public readonly hasNotSelected = toSignal(
|
|
390
|
+
this.selectRows.selectedRows$.pipe(
|
|
455
391
|
map((selected) => selected.length === 0),
|
|
456
|
-
)
|
|
457
|
-
|
|
392
|
+
),
|
|
393
|
+
{ initialValue: true },
|
|
394
|
+
);
|
|
458
395
|
|
|
459
396
|
public cancel() {
|
|
460
397
|
this.windowRef.close();
|
|
@@ -472,7 +409,7 @@ export class TableSelectControlsComponent {
|
|
|
472
409
|
<button (click)="cancel()" class="grow-0" mat-stroked-button type="button">
|
|
473
410
|
<ng-container i18n>Cancel</ng-container>
|
|
474
411
|
</button>
|
|
475
|
-
<button (click)="select()" [disabled]="hasNotSelected
|
|
412
|
+
<button (click)="select()" [disabled]="hasNotSelected()" class="grow-0" mat-raised-button type="button">
|
|
476
413
|
<ng-container i18n>Select</ng-container>
|
|
477
414
|
</button>
|
|
478
415
|
</div>
|
|
@@ -511,9 +448,9 @@ export class TableSelectControlsComponent {
|
|
|
511
448
|
<script src="../js/libs/htmlparser.js"></script>
|
|
512
449
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
513
450
|
<script>
|
|
514
|
-
var COMPONENT_TEMPLATE = '<div><div class="flex flex-row gap-4"> <button (click)="cancel()" class="grow-0" mat-stroked-button type="button"> <ng-container i18n>Cancel</ng-container> </button> <button (click)="select()" [disabled]="hasNotSelected
|
|
451
|
+
var COMPONENT_TEMPLATE = '<div><div class="flex flex-row gap-4"> <button (click)="cancel()" class="grow-0" mat-stroked-button type="button"> <ng-container i18n>Cancel</ng-container> </button> <button (click)="select()" [disabled]="hasNotSelected()" class="grow-0" mat-raised-button type="button"> <ng-container i18n>Select</ng-container> </button></div></div>'
|
|
515
452
|
var COMPONENTS = [{'name': 'BooleanCellComponent', 'selector': 'td[rxap-boolean-cell]'},{'name': 'CheckboxCellComponent', 'selector': 'td[rxap-checkbox-cell]'},{'name': 'CheckboxHeaderCellComponent', 'selector': 'th[rxap-checkbox-header-cell]'},{'name': 'CopyToClipboardCellComponent', 'selector': 'td[rxap-copy-to-clipboard-cell]'},{'name': 'DateCellComponent', 'selector': 'td[rxap-date-cell]'},{'name': 'ExpandControlsCellComponent', 'selector': 'td[rxap-expand-controls-cell]'},{'name': 'ExpandRowContainerComponent', 'selector': 'td[rxap-expand-row]'},{'name': 'IconCellComponent', 'selector': 'td[rxap-icon-cell]'},{'name': 'ImageCellComponent', 'selector': 'td[rxap-image-cell]'},{'name': 'LinkCellComponent', 'selector': 'td[rxap-link-cell]'},{'name': 'OptionsCellComponent', 'selector': 'td[rxap-options-cell]'},{'name': 'TableColumnMenuComponent', 'selector': 'rxap-table-column-menu'},{'name': 'TableColumnOptionComponent', 'selector': 'rxap-table-column-option'},{'name': 'TableSelectControlsComponent', 'selector': 'rxap-table-select-controls'},{'name': 'TableShowArchivedSlideComponent', 'selector': 'rxap-table-show-archived-slide'},{'name': 'TreeControlCellComponent', 'selector': 'rxap-tree-control-cell, td[rxap-tree-control-cell]'}];
|
|
516
|
-
var DIRECTIVES = [{'name': 'ExpandRowContentDirective', 'selector': '[rxapExpandRowContent]'},{'name': 'ExpandRowDirective', 'selector': 'tr[rxapExpandRow]'},{'name': 'FilterHeaderRowDirective', 'selector': 'table[rxap-filter-header-row]'},{'name': 'PersistentPaginatorDirective', 'selector': 'mat-paginator[rxapPersistent]'},{'name': 'SelectedRowsDirective', 'selector': '[rxapSelectedRows]'},{'name': 'TableColumnFilterInputDirective', 'selector': 'input[ngModel][rxapTableColumnFilterInput]'},{'name': 'TableCreateButtonDirective', 'selector': 'button[rxapTableCreate]'},{'name': 'TableDataSourceDirective', 'selector': 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]'},{'name': 'TableHeaderButtonDirective', 'selector': 'button[mat-mini-fab][rxapTableHeaderButton]'},{'name': 'TableRowActionDirective', 'selector': 'button[rxapTableRowAction]'},{'name': 'TableRowActionExecutingDirective', 'selector': '[rxapTableRowActionExecuting]'},{'name': 'TableRowHeaderActionDirective', 'selector': 'button[rxapTableRowHeaderAction]'}];
|
|
453
|
+
var DIRECTIVES = [{'name': 'AbstractTableRowAction', 'selector': ''},{'name': 'ExpandRowContentDirective', 'selector': '[rxapExpandRowContent]'},{'name': 'ExpandRowDirective', 'selector': 'tr[rxapExpandRow]'},{'name': 'FilterHeaderRowDirective', 'selector': 'table[rxap-filter-header-row]'},{'name': 'PersistentPaginatorDirective', 'selector': 'mat-paginator[rxapPersistent]'},{'name': 'SelectedRowsDirective', 'selector': '[rxapSelectedRows]'},{'name': 'TableColumnFilterInputDirective', 'selector': 'input[ngModel][rxapTableColumnFilterInput]'},{'name': 'TableCreateButtonDirective', 'selector': 'button[rxapTableCreate]'},{'name': 'TableDataSourceDirective', 'selector': 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]'},{'name': 'TableHeaderButtonDirective', 'selector': 'button[mat-mini-fab][rxapTableHeaderButton]'},{'name': 'TableRowActionDirective', 'selector': 'button[rxapTableRowAction]'},{'name': 'TableRowActionExecutingDirective', 'selector': '[rxapTableRowActionExecuting]'},{'name': 'TableRowHeaderActionDirective', 'selector': 'button[rxapTableRowHeaderAction]'}];
|
|
517
454
|
var ACTUAL_COMPONENT = {'name': 'TableSelectControlsComponent'};
|
|
518
455
|
</script>
|
|
519
456
|
<script src="../js/tree.js"></script>
|
|
@@ -126,12 +126,6 @@
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
<p class="comment">
|
|
130
|
-
<h3>Implements</h3>
|
|
131
|
-
</p>
|
|
132
|
-
<p class="comment">
|
|
133
|
-
<code>AfterViewInit</code>
|
|
134
|
-
</p>
|
|
135
129
|
|
|
136
130
|
|
|
137
131
|
<section data-compodoc="block-metadata">
|
|
@@ -195,6 +189,22 @@
|
|
|
195
189
|
<h3 id="index">Index</h3>
|
|
196
190
|
<table class="table table-sm table-bordered index-table">
|
|
197
191
|
<tbody>
|
|
192
|
+
<tr>
|
|
193
|
+
<td class="col-md-4">
|
|
194
|
+
<h6><b>Properties</b></h6>
|
|
195
|
+
</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<td class="col-md-4">
|
|
199
|
+
<ul class="index-list">
|
|
200
|
+
<li>
|
|
201
|
+
<span class="modifier">Public</span>
|
|
202
|
+
<span class="modifier">Readonly</span>
|
|
203
|
+
<a href="#paginator" >paginator</a>
|
|
204
|
+
</li>
|
|
205
|
+
</ul>
|
|
206
|
+
</td>
|
|
207
|
+
</tr>
|
|
198
208
|
|
|
199
209
|
<tr>
|
|
200
210
|
<td class="col-md-4">
|
|
@@ -240,69 +250,15 @@
|
|
|
240
250
|
<tbody>
|
|
241
251
|
<tr>
|
|
242
252
|
<td class="col-md-4">
|
|
243
|
-
<code>constructor(
|
|
253
|
+
<code>constructor()</code>
|
|
244
254
|
</td>
|
|
245
255
|
</tr>
|
|
246
256
|
<tr>
|
|
247
257
|
<td class="col-md-4">
|
|
248
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
258
|
+
<div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.ts:44</a></div>
|
|
249
259
|
</td>
|
|
250
260
|
</tr>
|
|
251
261
|
|
|
252
|
-
<tr>
|
|
253
|
-
<td class="col-md-4">
|
|
254
|
-
<div>
|
|
255
|
-
<b>Parameters :</b>
|
|
256
|
-
<table class="params">
|
|
257
|
-
<thead>
|
|
258
|
-
<tr>
|
|
259
|
-
<td>Name</td>
|
|
260
|
-
<td>Type</td>
|
|
261
|
-
<td>Optional</td>
|
|
262
|
-
</tr>
|
|
263
|
-
</thead>
|
|
264
|
-
<tbody>
|
|
265
|
-
<tr>
|
|
266
|
-
<td>tableFilter</td>
|
|
267
|
-
|
|
268
|
-
<td>
|
|
269
|
-
<code><a href="../injectables/TableFilterService.html" target="_self" >TableFilterService | null</a></code>
|
|
270
|
-
</td>
|
|
271
|
-
|
|
272
|
-
<td>
|
|
273
|
-
No
|
|
274
|
-
</td>
|
|
275
|
-
|
|
276
|
-
</tr>
|
|
277
|
-
<tr>
|
|
278
|
-
<td>tableColumnMenu</td>
|
|
279
|
-
|
|
280
|
-
<td>
|
|
281
|
-
<code><a href="../components/TableColumnMenuComponent.html" target="_self" >TableColumnMenuComponent</a></code>
|
|
282
|
-
</td>
|
|
283
|
-
|
|
284
|
-
<td>
|
|
285
|
-
No
|
|
286
|
-
</td>
|
|
287
|
-
|
|
288
|
-
</tr>
|
|
289
|
-
<tr>
|
|
290
|
-
<td>selectRows</td>
|
|
291
|
-
|
|
292
|
-
<td>
|
|
293
|
-
<code><a href="../injectables/SelectRowService.html" target="_self" >SelectRowService | null</a></code>
|
|
294
|
-
</td>
|
|
295
|
-
|
|
296
|
-
<td>
|
|
297
|
-
No
|
|
298
|
-
</td>
|
|
299
|
-
|
|
300
|
-
</tr>
|
|
301
|
-
</tbody>
|
|
302
|
-
</table>
|
|
303
|
-
</div>
|
|
304
|
-
</td>
|
|
305
|
-
</tr>
|
|
306
262
|
</tbody>
|
|
307
263
|
</table>
|
|
308
264
|
</section>
|
|
@@ -316,16 +272,10 @@
|
|
|
316
272
|
<a name="paginator"></a>
|
|
317
273
|
<b>paginator</b>
|
|
318
274
|
</td>
|
|
319
|
-
</tr>
|
|
320
|
-
<tr>
|
|
321
|
-
<td class="col-md-4">
|
|
322
|
-
<i>Type : </i> <code>MatPaginator</code>
|
|
323
|
-
|
|
324
|
-
</td>
|
|
325
275
|
</tr>
|
|
326
276
|
<tr>
|
|
327
277
|
<td class="col-md-2" colspan="2">
|
|
328
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
278
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.ts:25</a></div>
|
|
329
279
|
</td>
|
|
330
280
|
</tr>
|
|
331
281
|
</tbody>
|
|
@@ -361,8 +311,8 @@
|
|
|
361
311
|
|
|
362
312
|
<tr>
|
|
363
313
|
<td class="col-md-4">
|
|
364
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
365
|
-
class="link-to-prism">src/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.ts:
|
|
314
|
+
<div class="io-line">Defined in <a href="" data-line="27"
|
|
315
|
+
class="link-to-prism">src/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.ts:27</a></div>
|
|
366
316
|
</td>
|
|
367
317
|
</tr>
|
|
368
318
|
|
|
@@ -409,19 +359,40 @@
|
|
|
409
359
|
</tbody>
|
|
410
360
|
</table>
|
|
411
361
|
</section>
|
|
362
|
+
<section data-compodoc="block-properties">
|
|
363
|
+
|
|
364
|
+
<h3 id="inputs">
|
|
365
|
+
Properties
|
|
366
|
+
</h3>
|
|
367
|
+
<table class="table table-sm table-bordered">
|
|
368
|
+
<tbody>
|
|
369
|
+
<tr>
|
|
370
|
+
<td class="col-md-4">
|
|
371
|
+
<a name="paginator"></a>
|
|
372
|
+
<span class="name">
|
|
373
|
+
<span class="modifier">Public</span>
|
|
374
|
+
<span class="modifier">Readonly</span>
|
|
375
|
+
<span ><b>paginator</b></span>
|
|
376
|
+
<a href="#paginator"><span class="icon ion-ios-link"></span></a>
|
|
377
|
+
</span>
|
|
378
|
+
</td>
|
|
379
|
+
</tr>
|
|
380
|
+
<tr>
|
|
381
|
+
<td class="col-md-4">
|
|
382
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.ts:25</a></div>
|
|
383
|
+
</td>
|
|
384
|
+
</tr>
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</tbody>
|
|
388
|
+
</table>
|
|
389
|
+
</section>
|
|
412
390
|
|
|
413
391
|
</div>
|
|
414
392
|
|
|
415
393
|
|
|
416
394
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
417
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
418
|
-
AfterViewInit,
|
|
419
|
-
ChangeDetectionStrategy,
|
|
420
|
-
Component,
|
|
421
|
-
Inject,
|
|
422
|
-
Input,
|
|
423
|
-
Optional,
|
|
424
|
-
} from '@angular/core';
|
|
395
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { afterNextRender, ChangeDetectionStrategy, Component, input, inject } from '@angular/core';
|
|
425
396
|
import { MatPaginator } from '@angular/material/paginator';
|
|
426
397
|
import {
|
|
427
398
|
MatSlideToggleChange,
|
|
@@ -439,24 +410,16 @@ import { TableColumnMenuComponent } from '../table-column-menu.component&#x
|
|
|
439
410
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
440
411
|
imports: [StopPropagationDirective, MatSlideToggleModule]
|
|
441
412
|
})
|
|
442
|
-
export class TableShowArchivedSlideComponent
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
@Inject(TableFilterService)
|
|
450
|
-
private readonly tableFilter: TableFilterService | null,
|
|
451
|
-
@Inject(TableColumnMenuComponent)
|
|
452
|
-
private readonly tableColumnMenu: TableColumnMenuComponent,
|
|
453
|
-
@Inject(SelectRowService)
|
|
454
|
-
private readonly selectRows: SelectRowService | null,
|
|
455
|
-
) {
|
|
456
|
-
}
|
|
413
|
+
export class TableShowArchivedSlideComponent {
|
|
414
|
+
private readonly tableFilter = inject<TableFilterService | null>(TableFilterService, { optional: true });
|
|
415
|
+
private readonly tableColumnMenu = inject<TableColumnMenuComponent>(TableColumnMenuComponent);
|
|
416
|
+
private readonly selectRows = inject<SelectRowService | null>(SelectRowService, { optional: true });
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
public readonly paginator = input<MatPaginator>();
|
|
457
420
|
|
|
458
421
|
public onChange($event: MatSlideToggleChange) {
|
|
459
|
-
this.paginator?.firstPage();
|
|
422
|
+
this.paginator()?.firstPage();
|
|
460
423
|
this.tableFilter?.set('__archived', $event.checked);
|
|
461
424
|
this.selectRows?.clear();
|
|
462
425
|
if ($event.checked) {
|
|
@@ -474,12 +437,14 @@ export class TableShowArchivedSlideComponent implements AfterViewInit {
|
|
|
474
437
|
}
|
|
475
438
|
}
|
|
476
439
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
440
|
+
constructor() {
|
|
441
|
+
afterNextRender(() => {
|
|
442
|
+
this.tableColumnMenu.deactivate('removedAt');
|
|
443
|
+
this.tableColumnMenu.deactivate('__removedAt');
|
|
444
|
+
this.tableColumnMenu.deactivate('__--removed-at');
|
|
445
|
+
this.tableColumnMenu.deactivate('removed-at');
|
|
446
|
+
this.tableColumnMenu.deactivate('__removed-at');
|
|
447
|
+
});
|
|
483
448
|
}
|
|
484
449
|
|
|
485
450
|
}
|
|
@@ -529,7 +494,7 @@ export class TableShowArchivedSlideComponent implements AfterViewInit {
|
|
|
529
494
|
<script>
|
|
530
495
|
var COMPONENT_TEMPLATE = '<div><div class="m-6" rxapStopPropagation> <mat-slide-toggle (change)="onChange($event)"> <span class="mx-2 whitespace-nowrap" i18n>Show archived documents</span> </mat-slide-toggle></div></div>'
|
|
531
496
|
var COMPONENTS = [{'name': 'BooleanCellComponent', 'selector': 'td[rxap-boolean-cell]'},{'name': 'CheckboxCellComponent', 'selector': 'td[rxap-checkbox-cell]'},{'name': 'CheckboxHeaderCellComponent', 'selector': 'th[rxap-checkbox-header-cell]'},{'name': 'CopyToClipboardCellComponent', 'selector': 'td[rxap-copy-to-clipboard-cell]'},{'name': 'DateCellComponent', 'selector': 'td[rxap-date-cell]'},{'name': 'ExpandControlsCellComponent', 'selector': 'td[rxap-expand-controls-cell]'},{'name': 'ExpandRowContainerComponent', 'selector': 'td[rxap-expand-row]'},{'name': 'IconCellComponent', 'selector': 'td[rxap-icon-cell]'},{'name': 'ImageCellComponent', 'selector': 'td[rxap-image-cell]'},{'name': 'LinkCellComponent', 'selector': 'td[rxap-link-cell]'},{'name': 'OptionsCellComponent', 'selector': 'td[rxap-options-cell]'},{'name': 'TableColumnMenuComponent', 'selector': 'rxap-table-column-menu'},{'name': 'TableColumnOptionComponent', 'selector': 'rxap-table-column-option'},{'name': 'TableSelectControlsComponent', 'selector': 'rxap-table-select-controls'},{'name': 'TableShowArchivedSlideComponent', 'selector': 'rxap-table-show-archived-slide'},{'name': 'TreeControlCellComponent', 'selector': 'rxap-tree-control-cell, td[rxap-tree-control-cell]'}];
|
|
532
|
-
var DIRECTIVES = [{'name': 'ExpandRowContentDirective', 'selector': '[rxapExpandRowContent]'},{'name': 'ExpandRowDirective', 'selector': 'tr[rxapExpandRow]'},{'name': 'FilterHeaderRowDirective', 'selector': 'table[rxap-filter-header-row]'},{'name': 'PersistentPaginatorDirective', 'selector': 'mat-paginator[rxapPersistent]'},{'name': 'SelectedRowsDirective', 'selector': '[rxapSelectedRows]'},{'name': 'TableColumnFilterInputDirective', 'selector': 'input[ngModel][rxapTableColumnFilterInput]'},{'name': 'TableCreateButtonDirective', 'selector': 'button[rxapTableCreate]'},{'name': 'TableDataSourceDirective', 'selector': 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]'},{'name': 'TableHeaderButtonDirective', 'selector': 'button[mat-mini-fab][rxapTableHeaderButton]'},{'name': 'TableRowActionDirective', 'selector': 'button[rxapTableRowAction]'},{'name': 'TableRowActionExecutingDirective', 'selector': '[rxapTableRowActionExecuting]'},{'name': 'TableRowHeaderActionDirective', 'selector': 'button[rxapTableRowHeaderAction]'}];
|
|
497
|
+
var DIRECTIVES = [{'name': 'AbstractTableRowAction', 'selector': ''},{'name': 'ExpandRowContentDirective', 'selector': '[rxapExpandRowContent]'},{'name': 'ExpandRowDirective', 'selector': 'tr[rxapExpandRow]'},{'name': 'FilterHeaderRowDirective', 'selector': 'table[rxap-filter-header-row]'},{'name': 'PersistentPaginatorDirective', 'selector': 'mat-paginator[rxapPersistent]'},{'name': 'SelectedRowsDirective', 'selector': '[rxapSelectedRows]'},{'name': 'TableColumnFilterInputDirective', 'selector': 'input[ngModel][rxapTableColumnFilterInput]'},{'name': 'TableCreateButtonDirective', 'selector': 'button[rxapTableCreate]'},{'name': 'TableDataSourceDirective', 'selector': 'table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]'},{'name': 'TableHeaderButtonDirective', 'selector': 'button[mat-mini-fab][rxapTableHeaderButton]'},{'name': 'TableRowActionDirective', 'selector': 'button[rxapTableRowAction]'},{'name': 'TableRowActionExecutingDirective', 'selector': '[rxapTableRowActionExecuting]'},{'name': 'TableRowHeaderActionDirective', 'selector': 'button[rxapTableRowHeaderAction]'}];
|
|
533
498
|
var ACTUAL_COMPONENT = {'name': 'TableShowArchivedSlideComponent'};
|
|
534
499
|
</script>
|
|
535
500
|
<script src="../js/tree.js"></script>
|