@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
|
@@ -170,6 +170,26 @@
|
|
|
170
170
|
<span class="modifier">Protected</span>
|
|
171
171
|
<a href="#_subscription" >_subscription</a>
|
|
172
172
|
</li>
|
|
173
|
+
<li>
|
|
174
|
+
<span class="modifier">Protected</span>
|
|
175
|
+
<span class="modifier">Readonly</span>
|
|
176
|
+
<a href="#cdr" >cdr</a>
|
|
177
|
+
</li>
|
|
178
|
+
<li>
|
|
179
|
+
<span class="modifier">Public</span>
|
|
180
|
+
<span class="modifier">Readonly</span>
|
|
181
|
+
<a href="#dataSource" >dataSource</a>
|
|
182
|
+
</li>
|
|
183
|
+
<li>
|
|
184
|
+
<span class="modifier">Public</span>
|
|
185
|
+
<span class="modifier">Readonly</span>
|
|
186
|
+
<a href="#dataSourceInput" >dataSourceInput</a>
|
|
187
|
+
</li>
|
|
188
|
+
<li>
|
|
189
|
+
<span class="modifier">Public</span>
|
|
190
|
+
<span class="modifier">Readonly</span>
|
|
191
|
+
<a href="#deprecatedDataSource" class="deprecated-name">deprecatedDataSource</a>
|
|
192
|
+
</li>
|
|
173
193
|
<li>
|
|
174
194
|
<span class="modifier">Public</span>
|
|
175
195
|
<span class="modifier">Readonly</span>
|
|
@@ -180,6 +200,11 @@
|
|
|
180
200
|
<span class="modifier">Readonly</span>
|
|
181
201
|
<a href="#hasError$" >hasError$</a>
|
|
182
202
|
</li>
|
|
203
|
+
<li>
|
|
204
|
+
<span class="modifier">Public</span>
|
|
205
|
+
<span class="modifier">Readonly</span>
|
|
206
|
+
<a href="#id" >id</a>
|
|
207
|
+
</li>
|
|
183
208
|
<li>
|
|
184
209
|
<span class="modifier">Public</span>
|
|
185
210
|
<span class="modifier">Readonly</span>
|
|
@@ -190,6 +215,16 @@
|
|
|
190
215
|
<span class="modifier">Optional</span>
|
|
191
216
|
<a href="#method" >method</a>
|
|
192
217
|
</li>
|
|
218
|
+
<li>
|
|
219
|
+
<span class="modifier">Public</span>
|
|
220
|
+
<span class="modifier">Readonly</span>
|
|
221
|
+
<a href="#paginator" >paginator</a>
|
|
222
|
+
</li>
|
|
223
|
+
<li>
|
|
224
|
+
<span class="modifier">Public</span>
|
|
225
|
+
<span class="modifier">Readonly</span>
|
|
226
|
+
<a href="#parameters" >parameters</a>
|
|
227
|
+
</li>
|
|
193
228
|
</ul>
|
|
194
229
|
</td>
|
|
195
230
|
</tr>
|
|
@@ -226,21 +261,12 @@
|
|
|
226
261
|
<tr>
|
|
227
262
|
<td class="col-md-4">
|
|
228
263
|
<ul class="index-list">
|
|
229
|
-
<li>
|
|
230
|
-
<a href="#dataSource" >dataSource</a>
|
|
231
|
-
</li>
|
|
232
264
|
<li>
|
|
233
265
|
<a href="#id" >id</a>
|
|
234
266
|
</li>
|
|
235
267
|
<li>
|
|
236
268
|
<a href="#paginator" >paginator</a>
|
|
237
269
|
</li>
|
|
238
|
-
<li>
|
|
239
|
-
<a href="#parameters" >parameters</a>
|
|
240
|
-
</li>
|
|
241
|
-
<li>
|
|
242
|
-
<a href="#rxapTableDataSource" class="deprecated-name">rxapTableDataSource</a>
|
|
243
|
-
</li>
|
|
244
270
|
</ul>
|
|
245
271
|
</td>
|
|
246
272
|
</tr>
|
|
@@ -256,9 +282,6 @@
|
|
|
256
282
|
<tr>
|
|
257
283
|
<td class="col-md-4">
|
|
258
284
|
<ul class="index-list">
|
|
259
|
-
<li>
|
|
260
|
-
<a href="#setDataSource" >setDataSource</a>
|
|
261
|
-
</li>
|
|
262
285
|
<li>
|
|
263
286
|
<a href="#lastRefreshed" >lastRefreshed</a>
|
|
264
287
|
</li>
|
|
@@ -281,156 +304,21 @@
|
|
|
281
304
|
<tbody>
|
|
282
305
|
<tr>
|
|
283
306
|
<td class="col-md-4">
|
|
284
|
-
<code>constructor(
|
|
307
|
+
<code>constructor()</code>
|
|
285
308
|
</td>
|
|
286
309
|
</tr>
|
|
287
310
|
<tr>
|
|
288
311
|
<td class="col-md-4">
|
|
289
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
312
|
+
<div class="io-line">Defined in <a href="" data-line="114" class="link-to-prism">src/lib/table-data-source.directive.ts:114</a></div>
|
|
290
313
|
</td>
|
|
291
314
|
</tr>
|
|
292
315
|
|
|
293
|
-
<tr>
|
|
294
|
-
<td class="col-md-4">
|
|
295
|
-
<div>
|
|
296
|
-
<b>Parameters :</b>
|
|
297
|
-
<table class="params">
|
|
298
|
-
<thead>
|
|
299
|
-
<tr>
|
|
300
|
-
<td>Name</td>
|
|
301
|
-
<td>Type</td>
|
|
302
|
-
<td>Optional</td>
|
|
303
|
-
</tr>
|
|
304
|
-
</thead>
|
|
305
|
-
<tbody>
|
|
306
|
-
<tr>
|
|
307
|
-
<td>matTable</td>
|
|
308
|
-
|
|
309
|
-
<td>
|
|
310
|
-
<code>CdkTable<Data></code>
|
|
311
|
-
</td>
|
|
312
|
-
|
|
313
|
-
<td>
|
|
314
|
-
No
|
|
315
|
-
</td>
|
|
316
|
-
|
|
317
|
-
</tr>
|
|
318
|
-
<tr>
|
|
319
|
-
<td>cdr</td>
|
|
320
|
-
|
|
321
|
-
<td>
|
|
322
|
-
<code>ChangeDetectorRef</code>
|
|
323
|
-
</td>
|
|
324
|
-
|
|
325
|
-
<td>
|
|
326
|
-
No
|
|
327
|
-
</td>
|
|
328
|
-
|
|
329
|
-
</tr>
|
|
330
|
-
<tr>
|
|
331
|
-
<td>sourceMethod</td>
|
|
332
|
-
|
|
333
|
-
<td>
|
|
334
|
-
<code>Method<[] | any | TableEvent | any> | null</code>
|
|
335
|
-
</td>
|
|
336
|
-
|
|
337
|
-
<td>
|
|
338
|
-
No
|
|
339
|
-
</td>
|
|
340
|
-
|
|
341
|
-
</tr>
|
|
342
|
-
<tr>
|
|
343
|
-
<td>sourceDataSource</td>
|
|
344
|
-
|
|
345
|
-
<td>
|
|
346
|
-
<code>AbstractTableDataSource<Data> | null</code>
|
|
347
|
-
</td>
|
|
348
|
-
|
|
349
|
-
<td>
|
|
350
|
-
No
|
|
351
|
-
</td>
|
|
352
|
-
|
|
353
|
-
</tr>
|
|
354
|
-
<tr>
|
|
355
|
-
<td>adapterFactory</td>
|
|
356
|
-
|
|
357
|
-
<td>
|
|
358
|
-
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
359
|
-
</td>
|
|
360
|
-
|
|
361
|
-
<td>
|
|
362
|
-
No
|
|
363
|
-
</td>
|
|
364
|
-
|
|
365
|
-
</tr>
|
|
366
|
-
<tr>
|
|
367
|
-
<td>matSort</td>
|
|
368
|
-
|
|
369
|
-
<td>
|
|
370
|
-
<code>MatSort | null</code>
|
|
371
|
-
</td>
|
|
372
|
-
|
|
373
|
-
<td>
|
|
374
|
-
No
|
|
375
|
-
</td>
|
|
376
|
-
|
|
377
|
-
</tr>
|
|
378
|
-
<tr>
|
|
379
|
-
<td>tableFilter</td>
|
|
380
|
-
|
|
381
|
-
<td>
|
|
382
|
-
<code><a href="../injectables/TableFilterService.html" target="_self" >TableFilterService | null</a></code>
|
|
383
|
-
</td>
|
|
384
|
-
|
|
385
|
-
<td>
|
|
386
|
-
No
|
|
387
|
-
</td>
|
|
388
|
-
|
|
389
|
-
</tr>
|
|
390
|
-
<tr>
|
|
391
|
-
<td>_tableFilter</td>
|
|
392
|
-
|
|
393
|
-
<td>
|
|
394
|
-
<code>FilterLike | null</code>
|
|
395
|
-
</td>
|
|
396
|
-
|
|
397
|
-
<td>
|
|
398
|
-
No
|
|
399
|
-
</td>
|
|
400
|
-
|
|
401
|
-
</tr>
|
|
402
|
-
</tbody>
|
|
403
|
-
</table>
|
|
404
|
-
</div>
|
|
405
|
-
</td>
|
|
406
|
-
</tr>
|
|
407
316
|
</tbody>
|
|
408
317
|
</table>
|
|
409
318
|
</section>
|
|
410
319
|
|
|
411
320
|
<section data-compodoc="block-inputs">
|
|
412
321
|
<h3 id="inputs">Inputs</h3>
|
|
413
|
-
<table class="table table-sm table-bordered">
|
|
414
|
-
<tbody>
|
|
415
|
-
<tr>
|
|
416
|
-
<td class="col-md-4">
|
|
417
|
-
<a name="dataSource"></a>
|
|
418
|
-
<b>dataSource</b>
|
|
419
|
-
</td>
|
|
420
|
-
</tr>
|
|
421
|
-
<tr>
|
|
422
|
-
<td class="col-md-4">
|
|
423
|
-
<i>Type : </i> <code>AbstractTableDataSource<Data></code>
|
|
424
|
-
|
|
425
|
-
</td>
|
|
426
|
-
</tr>
|
|
427
|
-
<tr>
|
|
428
|
-
<td class="col-md-2" colspan="2">
|
|
429
|
-
<div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/lib/table-data-source.directive.ts:85</a></div>
|
|
430
|
-
</td>
|
|
431
|
-
</tr>
|
|
432
|
-
</tbody>
|
|
433
|
-
</table>
|
|
434
322
|
<table class="table table-sm table-bordered">
|
|
435
323
|
<tbody>
|
|
436
324
|
<tr>
|
|
@@ -439,12 +327,6 @@
|
|
|
439
327
|
<b>id</b>
|
|
440
328
|
</td>
|
|
441
329
|
</tr>
|
|
442
|
-
<tr>
|
|
443
|
-
<td class="col-md-4">
|
|
444
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
445
|
-
|
|
446
|
-
</td>
|
|
447
|
-
</tr>
|
|
448
330
|
<tr>
|
|
449
331
|
<td class="col-md-4">
|
|
450
332
|
<i>Required : </i> <b>true</b>
|
|
@@ -452,7 +334,7 @@
|
|
|
452
334
|
</tr>
|
|
453
335
|
<tr>
|
|
454
336
|
<td class="col-md-2" colspan="2">
|
|
455
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
337
|
+
<div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/table-data-source.directive.ts:73</a></div>
|
|
456
338
|
</td>
|
|
457
339
|
</tr>
|
|
458
340
|
</tbody>
|
|
@@ -464,54 +346,6 @@
|
|
|
464
346
|
<a name="paginator"></a>
|
|
465
347
|
<b>paginator</b>
|
|
466
348
|
</td>
|
|
467
|
-
</tr>
|
|
468
|
-
<tr>
|
|
469
|
-
<td class="col-md-4">
|
|
470
|
-
<i>Type : </i> <code>MatPaginator</code>
|
|
471
|
-
|
|
472
|
-
</td>
|
|
473
|
-
</tr>
|
|
474
|
-
<tr>
|
|
475
|
-
<td class="col-md-2" colspan="2">
|
|
476
|
-
<div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/lib/table-data-source.directive.ts:76</a></div>
|
|
477
|
-
</td>
|
|
478
|
-
</tr>
|
|
479
|
-
</tbody>
|
|
480
|
-
</table>
|
|
481
|
-
<table class="table table-sm table-bordered">
|
|
482
|
-
<tbody>
|
|
483
|
-
<tr>
|
|
484
|
-
<td class="col-md-4">
|
|
485
|
-
<a name="parameters"></a>
|
|
486
|
-
<b>parameters</b>
|
|
487
|
-
</td>
|
|
488
|
-
</tr>
|
|
489
|
-
<tr>
|
|
490
|
-
<td class="col-md-4">
|
|
491
|
-
<i>Type : </i> <code>Observable<Record<string, any>></code>
|
|
492
|
-
|
|
493
|
-
</td>
|
|
494
|
-
</tr>
|
|
495
|
-
<tr>
|
|
496
|
-
<td class="col-md-2" colspan="2">
|
|
497
|
-
<div class="io-line">Defined in <a href="" data-line="83" class="link-to-prism">src/lib/table-data-source.directive.ts:83</a></div>
|
|
498
|
-
</td>
|
|
499
|
-
</tr>
|
|
500
|
-
</tbody>
|
|
501
|
-
</table>
|
|
502
|
-
<table class="table table-sm table-bordered">
|
|
503
|
-
<tbody>
|
|
504
|
-
<tr>
|
|
505
|
-
<td class="col-md-4">
|
|
506
|
-
<a name="rxapTableDataSource"></a>
|
|
507
|
-
<b>rxapTableDataSource</b>
|
|
508
|
-
</td>
|
|
509
|
-
</tr>
|
|
510
|
-
<tr>
|
|
511
|
-
<td class="col-md-4">
|
|
512
|
-
<i>Type : </i> <code>AbstractTableDataSource | string</code>
|
|
513
|
-
|
|
514
|
-
</td>
|
|
515
349
|
</tr>
|
|
516
350
|
<tr>
|
|
517
351
|
<td class="col-md-2" colspan="2">
|
|
@@ -551,8 +385,8 @@
|
|
|
551
385
|
|
|
552
386
|
<tr>
|
|
553
387
|
<td class="col-md-4">
|
|
554
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
555
|
-
class="link-to-prism">src/lib/table-data-source.directive.ts:
|
|
388
|
+
<div class="io-line">Defined in <a href="" data-line="214"
|
|
389
|
+
class="link-to-prism">src/lib/table-data-source.directive.ts:214</a></div>
|
|
556
390
|
</td>
|
|
557
391
|
</tr>
|
|
558
392
|
|
|
@@ -590,8 +424,8 @@
|
|
|
590
424
|
|
|
591
425
|
<tr>
|
|
592
426
|
<td class="col-md-4">
|
|
593
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
594
|
-
class="link-to-prism">src/lib/table-data-source.directive.ts:
|
|
427
|
+
<div class="io-line">Defined in <a href="" data-line="222"
|
|
428
|
+
class="link-to-prism">src/lib/table-data-source.directive.ts:222</a></div>
|
|
595
429
|
</td>
|
|
596
430
|
</tr>
|
|
597
431
|
|
|
@@ -629,8 +463,8 @@
|
|
|
629
463
|
|
|
630
464
|
<tr>
|
|
631
465
|
<td class="col-md-4">
|
|
632
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
633
|
-
class="link-to-prism">src/lib/table-data-source.directive.ts:
|
|
466
|
+
<div class="io-line">Defined in <a href="" data-line="218"
|
|
467
|
+
class="link-to-prism">src/lib/table-data-source.directive.ts:218</a></div>
|
|
634
468
|
</td>
|
|
635
469
|
</tr>
|
|
636
470
|
|
|
@@ -671,7 +505,130 @@
|
|
|
671
505
|
</tr>
|
|
672
506
|
<tr>
|
|
673
507
|
<td class="col-md-4">
|
|
674
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
508
|
+
<div class="io-line">Defined in <a href="" data-line="111" class="link-to-prism">src/lib/table-data-source.directive.ts:111</a></div>
|
|
509
|
+
</td>
|
|
510
|
+
</tr>
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
</tbody>
|
|
514
|
+
</table>
|
|
515
|
+
<table class="table table-sm table-bordered">
|
|
516
|
+
<tbody>
|
|
517
|
+
<tr>
|
|
518
|
+
<td class="col-md-4">
|
|
519
|
+
<a name="cdr"></a>
|
|
520
|
+
<span class="name">
|
|
521
|
+
<span class="modifier">Protected</span>
|
|
522
|
+
<span class="modifier">Readonly</span>
|
|
523
|
+
<span ><b>cdr</b></span>
|
|
524
|
+
<a href="#cdr"><span class="icon ion-ios-link"></span></a>
|
|
525
|
+
</span>
|
|
526
|
+
</td>
|
|
527
|
+
</tr>
|
|
528
|
+
<tr>
|
|
529
|
+
<td class="col-md-4">
|
|
530
|
+
<i>Default value : </i><code>inject(ChangeDetectorRef)</code>
|
|
531
|
+
</td>
|
|
532
|
+
</tr>
|
|
533
|
+
<tr>
|
|
534
|
+
<td class="col-md-4">
|
|
535
|
+
<div class="io-line">Defined in <a href="" data-line="55" class="link-to-prism">src/lib/table-data-source.directive.ts:55</a></div>
|
|
536
|
+
</td>
|
|
537
|
+
</tr>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
</tbody>
|
|
541
|
+
</table>
|
|
542
|
+
<table class="table table-sm table-bordered">
|
|
543
|
+
<tbody>
|
|
544
|
+
<tr>
|
|
545
|
+
<td class="col-md-4">
|
|
546
|
+
<a name="dataSource"></a>
|
|
547
|
+
<span class="name">
|
|
548
|
+
<span class="modifier">Public</span>
|
|
549
|
+
<span class="modifier">Readonly</span>
|
|
550
|
+
<span ><b>dataSource</b></span>
|
|
551
|
+
<a href="#dataSource"><span class="icon ion-ios-link"></span></a>
|
|
552
|
+
</span>
|
|
553
|
+
</td>
|
|
554
|
+
</tr>
|
|
555
|
+
<tr>
|
|
556
|
+
<td class="col-md-4">
|
|
557
|
+
<i>Default value : </i><code>linkedSignal<AbstractTableDataSource<Data> | undefined>(() => {
|
|
558
|
+
const deprecated = this.deprecatedDataSource();
|
|
559
|
+
return this.dataSourceInput() ?? (deprecated !== '' ? deprecated : undefined);
|
|
560
|
+
})</code>
|
|
561
|
+
</td>
|
|
562
|
+
</tr>
|
|
563
|
+
<tr>
|
|
564
|
+
<td class="col-md-4">
|
|
565
|
+
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/lib/table-data-source.directive.ts:79</a></div>
|
|
566
|
+
</td>
|
|
567
|
+
</tr>
|
|
568
|
+
|
|
569
|
+
<tr>
|
|
570
|
+
<td class="col-md-4">
|
|
571
|
+
<div class="io-description"><p>The current data source. Initialised with the dataSource input - if not defined the
|
|
572
|
+
data source is created from the TABLE_DATA_SOURCE or RXAP_TABLE_METHOD token on init.</p>
|
|
573
|
+
</div>
|
|
574
|
+
</td>
|
|
575
|
+
</tr>
|
|
576
|
+
|
|
577
|
+
</tbody>
|
|
578
|
+
</table>
|
|
579
|
+
<table class="table table-sm table-bordered">
|
|
580
|
+
<tbody>
|
|
581
|
+
<tr>
|
|
582
|
+
<td class="col-md-4">
|
|
583
|
+
<a name="dataSourceInput"></a>
|
|
584
|
+
<span class="name">
|
|
585
|
+
<span class="modifier">Public</span>
|
|
586
|
+
<span class="modifier">Readonly</span>
|
|
587
|
+
<span ><b>dataSourceInput</b></span>
|
|
588
|
+
<a href="#dataSourceInput"><span class="icon ion-ios-link"></span></a>
|
|
589
|
+
</span>
|
|
590
|
+
</td>
|
|
591
|
+
</tr>
|
|
592
|
+
<tr>
|
|
593
|
+
<td class="col-md-4">
|
|
594
|
+
<i>Default value : </i><code>input<AbstractTableDataSource<Data> | undefined>(undefined, { alias: 'dataSource' })</code>
|
|
595
|
+
</td>
|
|
596
|
+
</tr>
|
|
597
|
+
<tr>
|
|
598
|
+
<td class="col-md-4">
|
|
599
|
+
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/table-data-source.directive.ts:67</a></div>
|
|
600
|
+
</td>
|
|
601
|
+
</tr>
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
</tbody>
|
|
605
|
+
</table>
|
|
606
|
+
<table class="table table-sm table-bordered">
|
|
607
|
+
<tbody>
|
|
608
|
+
<tr>
|
|
609
|
+
<td class="col-md-4">
|
|
610
|
+
<a name="deprecatedDataSource"></a>
|
|
611
|
+
<span class="name">
|
|
612
|
+
<span class="modifier">Public</span>
|
|
613
|
+
<span class="modifier">Readonly</span>
|
|
614
|
+
<span class="deprecated-name"><b>deprecatedDataSource</b></span>
|
|
615
|
+
<a href="#deprecatedDataSource"><span class="icon ion-ios-link"></span></a>
|
|
616
|
+
</span>
|
|
617
|
+
</td>
|
|
618
|
+
</tr>
|
|
619
|
+
<tr>
|
|
620
|
+
<td class="col-md-4 deprecated">
|
|
621
|
+
use dataSource instead
|
|
622
|
+
</td>
|
|
623
|
+
</tr>
|
|
624
|
+
<tr>
|
|
625
|
+
<td class="col-md-4">
|
|
626
|
+
<i>Default value : </i><code>input<AbstractTableDataSource<Data> | ''>('', { alias: 'rxapTableDataSource' })</code>
|
|
627
|
+
</td>
|
|
628
|
+
</tr>
|
|
629
|
+
<tr>
|
|
630
|
+
<td class="col-md-4">
|
|
631
|
+
<div class="io-line">Defined in <a href="" data-line="65" class="link-to-prism">src/lib/table-data-source.directive.ts:65</a></div>
|
|
675
632
|
</td>
|
|
676
633
|
</tr>
|
|
677
634
|
|
|
@@ -698,7 +655,7 @@
|
|
|
698
655
|
</tr>
|
|
699
656
|
<tr>
|
|
700
657
|
<td class="col-md-4">
|
|
701
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
658
|
+
<div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/table-data-source.directive.ts:88</a></div>
|
|
702
659
|
</td>
|
|
703
660
|
</tr>
|
|
704
661
|
|
|
@@ -725,7 +682,29 @@
|
|
|
725
682
|
</tr>
|
|
726
683
|
<tr>
|
|
727
684
|
<td class="col-md-4">
|
|
728
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
685
|
+
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/table-data-source.directive.ts:86</a></div>
|
|
686
|
+
</td>
|
|
687
|
+
</tr>
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
</tbody>
|
|
691
|
+
</table>
|
|
692
|
+
<table class="table table-sm table-bordered">
|
|
693
|
+
<tbody>
|
|
694
|
+
<tr>
|
|
695
|
+
<td class="col-md-4">
|
|
696
|
+
<a name="id"></a>
|
|
697
|
+
<span class="name">
|
|
698
|
+
<span class="modifier">Public</span>
|
|
699
|
+
<span class="modifier">Readonly</span>
|
|
700
|
+
<span ><b>id</b></span>
|
|
701
|
+
<a href="#id"><span class="icon ion-ios-link"></span></a>
|
|
702
|
+
</span>
|
|
703
|
+
</td>
|
|
704
|
+
</tr>
|
|
705
|
+
<tr>
|
|
706
|
+
<td class="col-md-4">
|
|
707
|
+
<div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/table-data-source.directive.ts:73</a></div>
|
|
729
708
|
</td>
|
|
730
709
|
</tr>
|
|
731
710
|
|
|
@@ -752,7 +731,7 @@
|
|
|
752
731
|
</tr>
|
|
753
732
|
<tr>
|
|
754
733
|
<td class="col-md-4">
|
|
755
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
734
|
+
<div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/lib/table-data-source.directive.ts:71</a></div>
|
|
756
735
|
</td>
|
|
757
736
|
</tr>
|
|
758
737
|
|
|
@@ -780,78 +759,68 @@
|
|
|
780
759
|
</tr>
|
|
781
760
|
<tr>
|
|
782
761
|
<td class="col-md-4">
|
|
783
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
762
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/table-data-source.directive.ts:84</a></div>
|
|
784
763
|
</td>
|
|
785
764
|
</tr>
|
|
786
765
|
|
|
787
766
|
|
|
788
767
|
</tbody>
|
|
789
768
|
</table>
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
<
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
769
|
+
<table class="table table-sm table-bordered">
|
|
770
|
+
<tbody>
|
|
771
|
+
<tr>
|
|
772
|
+
<td class="col-md-4">
|
|
773
|
+
<a name="paginator"></a>
|
|
774
|
+
<span class="name">
|
|
775
|
+
<span class="modifier">Public</span>
|
|
776
|
+
<span class="modifier">Readonly</span>
|
|
777
|
+
<span ><b>paginator</b></span>
|
|
778
|
+
<a href="#paginator"><span class="icon ion-ios-link"></span></a>
|
|
779
|
+
</span>
|
|
780
|
+
</td>
|
|
781
|
+
</tr>
|
|
782
|
+
<tr>
|
|
783
|
+
<td class="col-md-4">
|
|
784
|
+
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/table-data-source.directive.ts:69</a></div>
|
|
785
|
+
</td>
|
|
786
|
+
</tr>
|
|
804
787
|
|
|
805
788
|
|
|
789
|
+
</tbody>
|
|
790
|
+
</table>
|
|
791
|
+
<table class="table table-sm table-bordered">
|
|
792
|
+
<tbody>
|
|
793
|
+
<tr>
|
|
794
|
+
<td class="col-md-4">
|
|
795
|
+
<a name="parameters"></a>
|
|
796
|
+
<span class="name">
|
|
797
|
+
<span class="modifier">Public</span>
|
|
798
|
+
<span class="modifier">Readonly</span>
|
|
799
|
+
<span ><b>parameters</b></span>
|
|
800
|
+
<a href="#parameters"><span class="icon ion-ios-link"></span></a>
|
|
801
|
+
</span>
|
|
802
|
+
</td>
|
|
803
|
+
</tr>
|
|
806
804
|
<tr>
|
|
807
805
|
<td class="col-md-4">
|
|
808
|
-
<
|
|
806
|
+
<i>Default value : </i><code>input<Observable<Record<string, any>>>()</code>
|
|
809
807
|
</td>
|
|
810
808
|
</tr>
|
|
811
|
-
<tr>
|
|
812
|
-
<td class="col-md-4">
|
|
813
|
-
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/table-data-source.directive.ts:69</a></div>
|
|
814
|
-
</td>
|
|
815
|
-
</tr>
|
|
816
809
|
<tr>
|
|
817
810
|
<td class="col-md-4">
|
|
818
|
-
|
|
819
|
-
<div class="io-description">
|
|
820
|
-
<b>Parameters :</b>
|
|
821
|
-
<table class="params">
|
|
822
|
-
<thead>
|
|
823
|
-
<tr>
|
|
824
|
-
<td>Name</td>
|
|
825
|
-
<td>Type</td>
|
|
826
|
-
<td>Optional</td>
|
|
827
|
-
</tr>
|
|
828
|
-
</thead>
|
|
829
|
-
<tbody>
|
|
830
|
-
<tr>
|
|
831
|
-
<td>dataSource</td>
|
|
832
|
-
|
|
833
|
-
<td>
|
|
834
|
-
<code>AbstractTableDataSource<Data> | string</code>
|
|
835
|
-
</td>
|
|
836
|
-
|
|
837
|
-
<td>
|
|
838
|
-
No
|
|
839
|
-
</td>
|
|
840
|
-
|
|
841
|
-
</tr>
|
|
842
|
-
</tbody>
|
|
843
|
-
</table>
|
|
844
|
-
</div>
|
|
845
|
-
<div>
|
|
846
|
-
</div>
|
|
847
|
-
<div class="io-description">
|
|
848
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
849
|
-
|
|
850
|
-
</div>
|
|
811
|
+
<div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/lib/table-data-source.directive.ts:74</a></div>
|
|
851
812
|
</td>
|
|
852
813
|
</tr>
|
|
853
|
-
|
|
854
|
-
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
</tbody>
|
|
817
|
+
</table>
|
|
818
|
+
</section>
|
|
819
|
+
|
|
820
|
+
<section data-compodoc="block-accessors">
|
|
821
|
+
<h3 id="accessors">
|
|
822
|
+
Accessors
|
|
823
|
+
</h3>
|
|
855
824
|
<table class="table table-sm table-bordered">
|
|
856
825
|
<tbody>
|
|
857
826
|
<tr>
|
|
@@ -868,7 +837,7 @@
|
|
|
868
837
|
</tr>
|
|
869
838
|
<tr>
|
|
870
839
|
<td class="col-md-4">
|
|
871
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
840
|
+
<div class="io-line">Defined in <a href="" data-line="90" class="link-to-prism">src/lib/table-data-source.directive.ts:90</a></div>
|
|
872
841
|
</td>
|
|
873
842
|
</tr>
|
|
874
843
|
|
|
@@ -890,7 +859,7 @@
|
|
|
890
859
|
</tr>
|
|
891
860
|
<tr>
|
|
892
861
|
<td class="col-md-4">
|
|
893
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
862
|
+
<div class="io-line">Defined in <a href="" data-line="97" class="link-to-prism">src/lib/table-data-source.directive.ts:97</a></div>
|
|
894
863
|
</td>
|
|
895
864
|
</tr>
|
|
896
865
|
<tr>
|
|
@@ -923,7 +892,7 @@
|
|
|
923
892
|
</tr>
|
|
924
893
|
<tr>
|
|
925
894
|
<td class="col-md-4">
|
|
926
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
895
|
+
<div class="io-line">Defined in <a href="" data-line="104" class="link-to-prism">src/lib/table-data-source.directive.ts:104</a></div>
|
|
927
896
|
</td>
|
|
928
897
|
</tr>
|
|
929
898
|
<tr>
|
|
@@ -947,17 +916,7 @@
|
|
|
947
916
|
|
|
948
917
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
949
918
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { CdkTable } from '@angular/cdk/table';
|
|
950
|
-
import {
|
|
951
|
-
ChangeDetectorRef,
|
|
952
|
-
Directive,
|
|
953
|
-
Inject,
|
|
954
|
-
InjectionToken,
|
|
955
|
-
Input,
|
|
956
|
-
isDevMode,
|
|
957
|
-
OnDestroy,
|
|
958
|
-
OnInit,
|
|
959
|
-
Optional,
|
|
960
|
-
} from '@angular/core';
|
|
919
|
+
import { ChangeDetectorRef, Directive, InjectionToken, isDevMode, OnDestroy, OnInit, input, inject, linkedSignal } from '@angular/core';
|
|
961
920
|
import type { MatPaginator } from '@angular/material/paginator';
|
|
962
921
|
import { MatSort } from '@angular/material/sort';
|
|
963
922
|
import { pipeDataSource } from '@rxap/data-source';
|
|
@@ -1009,28 +968,35 @@ export type TableRemoteMethodAdapterFactory<
|
|
|
1009
968
|
})
|
|
1010
969
|
export class TableDataSourceDirective<Data extends Record<string, any> = any>
|
|
1011
970
|
implements OnInit, OnDestroy {
|
|
971
|
+
private readonly matTable = inject<CdkTable<Data>>(CdkTable);
|
|
972
|
+
protected readonly cdr = inject(ChangeDetectorRef);
|
|
973
|
+
private readonly sourceMethod = inject<Method<Data[] | any, TableEvent | any> | null>(RXAP_TABLE_METHOD, { optional: true });
|
|
974
|
+
private readonly sourceDataSource = inject<AbstractTableDataSource<Data> | null>(TABLE_DATA_SOURCE, { optional: true });
|
|
975
|
+
private readonly matSort = inject<MatSort | null>(MatSort, { optional: true });
|
|
976
|
+
private readonly tableFilter = inject<TableFilterService | null>(TableFilterService, { optional: true });
|
|
977
|
+
private readonly _tableFilter = inject<FilterLike | null>(RXAP_TABLE_FILTER, { optional: true });
|
|
978
|
+
|
|
1012
979
|
/**
|
|
1013
980
|
* @deprecated use dataSource instead
|
|
1014
981
|
*/
|
|
1015
|
-
|
|
1016
|
-
@Input('rxapTableDataSource')
|
|
1017
|
-
public set setDataSource(dataSource: AbstractTableDataSource<Data> | '') {
|
|
1018
|
-
if (typeof dataSource !== 'string') {
|
|
1019
|
-
this.dataSource = dataSource;
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
982
|
+
public readonly deprecatedDataSource = input<AbstractTableDataSource<Data> | ''>('', { alias: 'rxapTableDataSource' });
|
|
1022
983
|
|
|
1023
|
-
|
|
1024
|
-
|
|
984
|
+
public readonly dataSourceInput = input<AbstractTableDataSource<Data> | undefined>(undefined, { alias: 'dataSource' });
|
|
985
|
+
|
|
986
|
+
public readonly paginator = input<MatPaginator>();
|
|
1025
987
|
|
|
1026
988
|
public readonly loading$ = new ToggleSubject(true);
|
|
1027
989
|
|
|
1028
|
-
|
|
1029
|
-
public
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
990
|
+
public readonly id = input.required<string>();
|
|
991
|
+
public readonly parameters = input<Observable<Record<string, any>>>();
|
|
992
|
+
/**
|
|
993
|
+
* The current data source. Initialised with the dataSource input - if not defined the
|
|
994
|
+
* data source is created from the TABLE_DATA_SOURCE or RXAP_TABLE_METHOD token on init.
|
|
995
|
+
*/
|
|
996
|
+
public readonly dataSource = linkedSignal<AbstractTableDataSource<Data> | undefined>(() => {
|
|
997
|
+
const deprecated = this.deprecatedDataSource();
|
|
998
|
+
return this.dataSourceInput() ?? (deprecated !== '' ? deprecated : undefined);
|
|
999
|
+
});
|
|
1034
1000
|
|
|
1035
1001
|
public method?: Method<Data[], TableEvent>;
|
|
1036
1002
|
|
|
@@ -1039,7 +1005,7 @@ export class TableDataSourceDirective<Data extends Record<string, any>
|
|
|
1039
1005
|
public readonly error$ = new Subject<unknown>();
|
|
1040
1006
|
|
|
1041
1007
|
public get lastRefreshed(): Date | null {
|
|
1042
|
-
return this.dataSource?.lastRefreshed ?? null;
|
|
1008
|
+
return this.dataSource()?.lastRefreshed ?? null;
|
|
1043
1009
|
}
|
|
1044
1010
|
|
|
1045
1011
|
/**
|
|
@@ -1064,30 +1030,9 @@ export class TableDataSourceDirective<Data extends Record<string, any>
|
|
|
1064
1030
|
private readonly adapterFactory: TableRemoteMethodAdapterFactory<Data> | null =
|
|
1065
1031
|
null;
|
|
1066
1032
|
|
|
1067
|
-
constructor(
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
protected readonly cdr: ChangeDetectorRef,
|
|
1071
|
-
@Optional()
|
|
1072
|
-
@Inject(RXAP_TABLE_METHOD)
|
|
1073
|
-
private readonly sourceMethod: Method<Data[] | any,
|
|
1074
|
-
TableEvent | any> | null,
|
|
1075
|
-
@Optional()
|
|
1076
|
-
@Inject(TABLE_DATA_SOURCE)
|
|
1077
|
-
private readonly sourceDataSource: AbstractTableDataSource<Data> | null,
|
|
1078
|
-
@Optional()
|
|
1079
|
-
@Inject(TABLE_REMOTE_METHOD_ADAPTER_FACTORY)
|
|
1080
|
-
adapterFactory: any,
|
|
1081
|
-
@Optional()
|
|
1082
|
-
@Inject(MatSort)
|
|
1083
|
-
private readonly matSort: MatSort | null,
|
|
1084
|
-
@Optional()
|
|
1085
|
-
@Inject(TableFilterService)
|
|
1086
|
-
private readonly tableFilter: TableFilterService | null,
|
|
1087
|
-
@Optional()
|
|
1088
|
-
@Inject(RXAP_TABLE_FILTER)
|
|
1089
|
-
private readonly _tableFilter: FilterLike | null,
|
|
1090
|
-
) {
|
|
1033
|
+
constructor() {
|
|
1034
|
+
const adapterFactory = inject<TableRemoteMethodAdapterFactory<Data> | null>(TABLE_REMOTE_METHOD_ADAPTER_FACTORY, { optional: true });
|
|
1035
|
+
|
|
1091
1036
|
this.matTable.trackBy = this.trackBy;
|
|
1092
1037
|
this.adapterFactory = adapterFactory;
|
|
1093
1038
|
this.retry = this.retry.bind(this);
|
|
@@ -1101,58 +1046,61 @@ export class TableDataSourceDirective<Data extends Record<string, any>
|
|
|
1101
1046
|
|
|
1102
1047
|
public ngOnInit() {
|
|
1103
1048
|
const tableFilter = this._tableFilter ?? this.tableFilter ?? undefined;
|
|
1104
|
-
|
|
1049
|
+
let dataSource = this.dataSource();
|
|
1050
|
+
if (!dataSource) {
|
|
1105
1051
|
if (this.sourceDataSource) {
|
|
1106
|
-
|
|
1052
|
+
dataSource = this.sourceDataSource;
|
|
1107
1053
|
} else if (this.sourceMethod) {
|
|
1108
1054
|
if (this.adapterFactory) {
|
|
1109
1055
|
this.method = this.adapterFactory(
|
|
1110
1056
|
this.sourceMethod,
|
|
1111
|
-
this.paginator,
|
|
1057
|
+
this.paginator(),
|
|
1112
1058
|
this.matSort,
|
|
1113
1059
|
tableFilter,
|
|
1114
|
-
this.parameters,
|
|
1060
|
+
this.parameters(),
|
|
1115
1061
|
);
|
|
1116
1062
|
} else {
|
|
1117
1063
|
this.method = this.sourceMethod;
|
|
1118
1064
|
}
|
|
1119
|
-
|
|
1065
|
+
dataSource = new DynamicTableDataSource<Data>(
|
|
1120
1066
|
this.method,
|
|
1121
|
-
this.paginator,
|
|
1067
|
+
this.paginator(),
|
|
1122
1068
|
this.matSort,
|
|
1123
1069
|
tableFilter,
|
|
1124
|
-
this.parameters,
|
|
1125
|
-
this.method.metadata ?? { id: this.id },
|
|
1070
|
+
this.parameters(),
|
|
1071
|
+
this.method.metadata ?? { id: this.id() },
|
|
1126
1072
|
);
|
|
1127
1073
|
}
|
|
1128
|
-
if (!
|
|
1074
|
+
if (!dataSource) {
|
|
1129
1075
|
throw new Error(
|
|
1130
1076
|
'The TABLE_DATA_SOURCE and RXAP_TABLE_METHOD token are not defined!',
|
|
1131
1077
|
);
|
|
1132
1078
|
}
|
|
1079
|
+
this.dataSource.set(dataSource);
|
|
1133
1080
|
}
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1081
|
+
dataSource.paginator = this.paginator();
|
|
1082
|
+
dataSource.sort = this.matSort ?? undefined;
|
|
1083
|
+
dataSource.filter = tableFilter;
|
|
1084
|
+
dataSource.parameters = this.parameters();
|
|
1085
|
+
const id = this.id();
|
|
1086
|
+
if (dataSource instanceof DynamicTableDataSource) {
|
|
1087
|
+
dataSource.setPaginator(this.paginator(), id);
|
|
1088
|
+
dataSource.setSort(this.matSort, id);
|
|
1089
|
+
dataSource.setFilter(tableFilter, id);
|
|
1090
|
+
dataSource.setParameters(this.parameters(), id);
|
|
1143
1091
|
}
|
|
1144
1092
|
this._subscription.add(
|
|
1145
|
-
|
|
1093
|
+
dataSource.loading$.pipe(
|
|
1146
1094
|
tap(loading => this.loading$.next(!!loading)),
|
|
1147
1095
|
).subscribe(),
|
|
1148
1096
|
);
|
|
1149
1097
|
this._subscription.add(
|
|
1150
|
-
|
|
1098
|
+
dataSource.hasError$.pipe(
|
|
1151
1099
|
tap(hasError => this.hasError$.next(!!hasError)),
|
|
1152
1100
|
).subscribe(),
|
|
1153
1101
|
);
|
|
1154
1102
|
this._subscription.add(
|
|
1155
|
-
|
|
1103
|
+
dataSource.error$.pipe(
|
|
1156
1104
|
tap(error => this.error$.next(error)),
|
|
1157
1105
|
).subscribe(),
|
|
1158
1106
|
);
|
|
@@ -1162,8 +1110,8 @@ export class TableDataSourceDirective<Data extends Record<string, any>
|
|
|
1162
1110
|
// instance for multiple table component simultaneously
|
|
1163
1111
|
// on connect the data source can then use the correct paginator/matSort/tableFilter/parameters instance
|
|
1164
1112
|
// to create the TableEvent objects
|
|
1165
|
-
Reflect.set(this.matTable, 'id',
|
|
1166
|
-
this.matTable.dataSource = pipeDataSource(
|
|
1113
|
+
Reflect.set(this.matTable, 'id', id);
|
|
1114
|
+
this.matTable.dataSource = pipeDataSource(dataSource, tap(rowList => {
|
|
1167
1115
|
if (rowList.some((element: any) => !element.__metadata__)) {
|
|
1168
1116
|
if (isDevMode()) {
|
|
1169
1117
|
console.debug('Ensure to use the NormalizeTableRow function to normalize the table row!');
|
|
@@ -1181,18 +1129,18 @@ export class TableDataSourceDirective<Data extends Record<string, any>
|
|
|
1181
1129
|
}
|
|
1182
1130
|
|
|
1183
1131
|
public refresh() {
|
|
1184
|
-
this.dataSource?.refresh();
|
|
1132
|
+
this.dataSource()?.refresh();
|
|
1185
1133
|
}
|
|
1186
1134
|
|
|
1187
1135
|
public retry() {
|
|
1188
|
-
this.dataSource?.retry();
|
|
1136
|
+
this.dataSource()?.retry();
|
|
1189
1137
|
}
|
|
1190
1138
|
|
|
1191
1139
|
public reset() {
|
|
1192
1140
|
if (this.tableFilter) {
|
|
1193
1141
|
this.tableFilter.reset();
|
|
1194
1142
|
} else {
|
|
1195
|
-
this.dataSource?.reset();
|
|
1143
|
+
this.dataSource()?.reset();
|
|
1196
1144
|
}
|
|
1197
1145
|
}
|
|
1198
1146
|
|