@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
|
@@ -120,13 +120,6 @@
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
<p class="comment">
|
|
124
|
-
<h3>Implements</h3>
|
|
125
|
-
</p>
|
|
126
|
-
<p class="comment">
|
|
127
|
-
<code>OnInit</code>
|
|
128
|
-
<code>OnDestroy</code>
|
|
129
|
-
</p>
|
|
130
123
|
|
|
131
124
|
|
|
132
125
|
<section data-compodoc="block-metadata">
|
|
@@ -157,81 +150,15 @@
|
|
|
157
150
|
<tbody>
|
|
158
151
|
<tr>
|
|
159
152
|
<td class="col-md-4">
|
|
160
|
-
<code>constructor(
|
|
153
|
+
<code>constructor()</code>
|
|
161
154
|
</td>
|
|
162
155
|
</tr>
|
|
163
156
|
<tr>
|
|
164
157
|
<td class="col-md-4">
|
|
165
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
158
|
+
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/lib/select-row/selected-rows.directive.ts:19</a></div>
|
|
166
159
|
</td>
|
|
167
160
|
</tr>
|
|
168
161
|
|
|
169
|
-
<tr>
|
|
170
|
-
<td class="col-md-4">
|
|
171
|
-
<div>
|
|
172
|
-
<b>Parameters :</b>
|
|
173
|
-
<table class="params">
|
|
174
|
-
<thead>
|
|
175
|
-
<tr>
|
|
176
|
-
<td>Name</td>
|
|
177
|
-
<td>Type</td>
|
|
178
|
-
<td>Optional</td>
|
|
179
|
-
</tr>
|
|
180
|
-
</thead>
|
|
181
|
-
<tbody>
|
|
182
|
-
<tr>
|
|
183
|
-
<td>template</td>
|
|
184
|
-
|
|
185
|
-
<td>
|
|
186
|
-
<code><a href="../interfaces/SelectedRowsDirectiveContext.html" target="_self" >TemplateRef<SelectedRowsDirectiveContext<Data>></a></code>
|
|
187
|
-
</td>
|
|
188
|
-
|
|
189
|
-
<td>
|
|
190
|
-
No
|
|
191
|
-
</td>
|
|
192
|
-
|
|
193
|
-
</tr>
|
|
194
|
-
<tr>
|
|
195
|
-
<td>viewContainerRef</td>
|
|
196
|
-
|
|
197
|
-
<td>
|
|
198
|
-
<code>ViewContainerRef</code>
|
|
199
|
-
</td>
|
|
200
|
-
|
|
201
|
-
<td>
|
|
202
|
-
No
|
|
203
|
-
</td>
|
|
204
|
-
|
|
205
|
-
</tr>
|
|
206
|
-
<tr>
|
|
207
|
-
<td>cdr</td>
|
|
208
|
-
|
|
209
|
-
<td>
|
|
210
|
-
<code>ChangeDetectorRef</code>
|
|
211
|
-
</td>
|
|
212
|
-
|
|
213
|
-
<td>
|
|
214
|
-
No
|
|
215
|
-
</td>
|
|
216
|
-
|
|
217
|
-
</tr>
|
|
218
|
-
<tr>
|
|
219
|
-
<td>selectRowService</td>
|
|
220
|
-
|
|
221
|
-
<td>
|
|
222
|
-
<code><a href="../injectables/SelectRowService.html" target="_self" >SelectRowService<Data></a></code>
|
|
223
|
-
</td>
|
|
224
|
-
|
|
225
|
-
<td>
|
|
226
|
-
No
|
|
227
|
-
</td>
|
|
228
|
-
|
|
229
|
-
</tr>
|
|
230
|
-
</tbody>
|
|
231
|
-
</table>
|
|
232
|
-
</div>
|
|
233
|
-
</td>
|
|
234
|
-
</tr>
|
|
235
162
|
</tbody>
|
|
236
163
|
</table>
|
|
237
164
|
</section>
|
|
@@ -247,21 +174,10 @@
|
|
|
247
174
|
|
|
248
175
|
|
|
249
176
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
250
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
251
|
-
|
|
252
|
-
Directive,
|
|
253
|
-
Inject,
|
|
254
|
-
OnDestroy,
|
|
255
|
-
OnInit,
|
|
256
|
-
TemplateRef,
|
|
257
|
-
ViewContainerRef,
|
|
258
|
-
} from '@angular/core';
|
|
259
|
-
import { Subscription } from 'rxjs';
|
|
177
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, effect, TemplateRef, untracked, ViewContainerRef, inject } from '@angular/core';
|
|
178
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
260
179
|
import { SelectRowService } from './select-row.service';
|
|
261
|
-
import {
|
|
262
|
-
distinctUntilChanged,
|
|
263
|
-
tap,
|
|
264
|
-
} from 'rxjs/operators';
|
|
180
|
+
import { distinctUntilChanged } from 'rxjs/operators';
|
|
265
181
|
|
|
266
182
|
export interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
|
|
267
183
|
$implicit: Data[];
|
|
@@ -271,37 +187,23 @@ export interface SelectedRowsDirectiveContext<Data extends Record<string,
|
|
|
271
187
|
selector: '[rxapSelectedRows]',
|
|
272
188
|
standalone: true,
|
|
273
189
|
})
|
|
274
|
-
export class SelectedRowsDirective<Data extends Record<string, any>>
|
|
275
|
-
|
|
276
|
-
private
|
|
277
|
-
|
|
278
|
-
constructor(
|
|
279
|
-
@Inject(TemplateRef)
|
|
280
|
-
private readonly template: TemplateRef<SelectedRowsDirectiveContext<Data>>,
|
|
281
|
-
@Inject(ViewContainerRef)
|
|
282
|
-
private readonly viewContainerRef: ViewContainerRef,
|
|
283
|
-
@Inject(ChangeDetectorRef)
|
|
284
|
-
private readonly cdr: ChangeDetectorRef,
|
|
285
|
-
@Inject(SelectRowService)
|
|
286
|
-
private readonly selectRowService: SelectRowService<Data>,
|
|
287
|
-
) {
|
|
288
|
-
}
|
|
190
|
+
export class SelectedRowsDirective<Data extends Record<string, any>> {
|
|
191
|
+
private readonly template = inject<TemplateRef<SelectedRowsDirectiveContext<Data>>>(TemplateRef);
|
|
192
|
+
private readonly viewContainerRef = inject<ViewContainerRef>(ViewContainerRef);
|
|
193
|
+
private readonly selectRowService = inject<SelectRowService<Data>>(SelectRowService);
|
|
289
194
|
|
|
290
|
-
|
|
291
|
-
this._subscription?.unsubscribe();
|
|
292
|
-
}
|
|
195
|
+
private readonly selectedRows = toSignal(this.selectRowService.selectedRows$.pipe(distinctUntilChanged()));
|
|
293
196
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
197
|
+
constructor() {
|
|
198
|
+
effect(() => {
|
|
199
|
+
const selectedRows = this.selectedRows();
|
|
200
|
+
untracked(() => {
|
|
298
201
|
this.viewContainerRef.clear();
|
|
299
|
-
if (
|
|
202
|
+
if (selectedRows) {
|
|
300
203
|
this.viewContainerRef.createEmbeddedView(this.template, { $implicit: this.selectRowService.selectedRows });
|
|
301
204
|
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
).subscribe();
|
|
205
|
+
});
|
|
206
|
+
});
|
|
305
207
|
}
|
|
306
208
|
|
|
307
209
|
}
|
|
@@ -120,13 +120,6 @@
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
<p class="comment">
|
|
124
|
-
<h3>Implements</h3>
|
|
125
|
-
</p>
|
|
126
|
-
<p class="comment">
|
|
127
|
-
<code>AfterViewInit</code>
|
|
128
|
-
<code>OnDestroy</code>
|
|
129
|
-
</p>
|
|
130
123
|
|
|
131
124
|
|
|
132
125
|
<section data-compodoc="block-metadata">
|
|
@@ -154,6 +147,22 @@
|
|
|
154
147
|
<h3 id="index">Index</h3>
|
|
155
148
|
<table class="table table-sm table-bordered index-table">
|
|
156
149
|
<tbody>
|
|
150
|
+
<tr>
|
|
151
|
+
<td class="col-md-4">
|
|
152
|
+
<h6><b>Properties</b></h6>
|
|
153
|
+
</td>
|
|
154
|
+
</tr>
|
|
155
|
+
<tr>
|
|
156
|
+
<td class="col-md-4">
|
|
157
|
+
<ul class="index-list">
|
|
158
|
+
<li>
|
|
159
|
+
<span class="modifier">Public</span>
|
|
160
|
+
<span class="modifier">Readonly</span>
|
|
161
|
+
<a href="#column" >column</a>
|
|
162
|
+
</li>
|
|
163
|
+
</ul>
|
|
164
|
+
</td>
|
|
165
|
+
</tr>
|
|
157
166
|
|
|
158
167
|
|
|
159
168
|
<tr>
|
|
@@ -184,57 +193,15 @@
|
|
|
184
193
|
<tbody>
|
|
185
194
|
<tr>
|
|
186
195
|
<td class="col-md-4">
|
|
187
|
-
<code>constructor(
|
|
196
|
+
<code>constructor()</code>
|
|
188
197
|
</td>
|
|
189
198
|
</tr>
|
|
190
199
|
<tr>
|
|
191
200
|
<td class="col-md-4">
|
|
192
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
201
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/table-column-filter/table-column-filter-input.directive.ts:21</a></div>
|
|
193
202
|
</td>
|
|
194
203
|
</tr>
|
|
195
204
|
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
198
|
-
<div>
|
|
199
|
-
<b>Parameters :</b>
|
|
200
|
-
<table class="params">
|
|
201
|
-
<thead>
|
|
202
|
-
<tr>
|
|
203
|
-
<td>Name</td>
|
|
204
|
-
<td>Type</td>
|
|
205
|
-
<td>Optional</td>
|
|
206
|
-
</tr>
|
|
207
|
-
</thead>
|
|
208
|
-
<tbody>
|
|
209
|
-
<tr>
|
|
210
|
-
<td>ngModel</td>
|
|
211
|
-
|
|
212
|
-
<td>
|
|
213
|
-
<code>NgModel</code>
|
|
214
|
-
</td>
|
|
215
|
-
|
|
216
|
-
<td>
|
|
217
|
-
No
|
|
218
|
-
</td>
|
|
219
|
-
|
|
220
|
-
</tr>
|
|
221
|
-
<tr>
|
|
222
|
-
<td>tableColumnFilterService</td>
|
|
223
|
-
|
|
224
|
-
<td>
|
|
225
|
-
<code><a href="../injectables/TableColumnFilterService.html" target="_self" >TableColumnFilterService</a></code>
|
|
226
|
-
</td>
|
|
227
|
-
|
|
228
|
-
<td>
|
|
229
|
-
No
|
|
230
|
-
</td>
|
|
231
|
-
|
|
232
|
-
</tr>
|
|
233
|
-
</tbody>
|
|
234
|
-
</table>
|
|
235
|
-
</div>
|
|
236
|
-
</td>
|
|
237
|
-
</tr>
|
|
238
205
|
</tbody>
|
|
239
206
|
</table>
|
|
240
207
|
</section>
|
|
@@ -249,12 +216,6 @@
|
|
|
249
216
|
<b>column</b>
|
|
250
217
|
</td>
|
|
251
218
|
</tr>
|
|
252
|
-
<tr>
|
|
253
|
-
<td class="col-md-4">
|
|
254
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
255
|
-
|
|
256
|
-
</td>
|
|
257
|
-
</tr>
|
|
258
219
|
<tr>
|
|
259
220
|
<td class="col-md-4">
|
|
260
221
|
<i>Required : </i> <b>true</b>
|
|
@@ -262,7 +223,7 @@
|
|
|
262
223
|
</tr>
|
|
263
224
|
<tr>
|
|
264
225
|
<td class="col-md-2" colspan="2">
|
|
265
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
226
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/table-column-filter/table-column-filter-input.directive.ts:21</a></div>
|
|
266
227
|
</td>
|
|
267
228
|
</tr>
|
|
268
229
|
</tbody>
|
|
@@ -272,21 +233,43 @@
|
|
|
272
233
|
|
|
273
234
|
|
|
274
235
|
|
|
236
|
+
<section data-compodoc="block-properties">
|
|
237
|
+
|
|
238
|
+
<h3 id="inputs">
|
|
239
|
+
Properties
|
|
240
|
+
</h3>
|
|
241
|
+
<table class="table table-sm table-bordered">
|
|
242
|
+
<tbody>
|
|
243
|
+
<tr>
|
|
244
|
+
<td class="col-md-4">
|
|
245
|
+
<a name="column"></a>
|
|
246
|
+
<span class="name">
|
|
247
|
+
<span class="modifier">Public</span>
|
|
248
|
+
<span class="modifier">Readonly</span>
|
|
249
|
+
<span ><b>column</b></span>
|
|
250
|
+
<a href="#column"><span class="icon ion-ios-link"></span></a>
|
|
251
|
+
</span>
|
|
252
|
+
</td>
|
|
253
|
+
</tr>
|
|
254
|
+
<tr>
|
|
255
|
+
<td class="col-md-4">
|
|
256
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/table-column-filter/table-column-filter-input.directive.ts:21</a></div>
|
|
257
|
+
</td>
|
|
258
|
+
</tr>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
</tbody>
|
|
262
|
+
</table>
|
|
263
|
+
</section>
|
|
275
264
|
|
|
276
265
|
|
|
277
266
|
</div>
|
|
278
267
|
|
|
279
268
|
|
|
280
269
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
281
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
282
|
-
|
|
283
|
-
Directive,
|
|
284
|
-
Inject,
|
|
285
|
-
Input,
|
|
286
|
-
OnDestroy,
|
|
287
|
-
} from '@angular/core';
|
|
270
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { afterNextRender, DestroyRef, Directive, input, inject } from '@angular/core';
|
|
271
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
288
272
|
import { NgModel } from '@angular/forms';
|
|
289
|
-
import { Subscription } from 'rxjs';
|
|
290
273
|
import {
|
|
291
274
|
debounceTime,
|
|
292
275
|
tap,
|
|
@@ -299,43 +282,27 @@ import { TableColumnFilterService } from './table-column-filter.service
|
|
|
299
282
|
selector: 'input[ngModel][rxapTableColumnFilterInput]',
|
|
300
283
|
standalone: true,
|
|
301
284
|
})
|
|
302
|
-
export class TableColumnFilterInputDirective
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
constructor(
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
285
|
+
export class TableColumnFilterInputDirective {
|
|
286
|
+
private readonly ngModel = inject<NgModel>(NgModel);
|
|
287
|
+
private readonly tableColumnFilterService = inject<TableColumnFilterService>(RXAP_TABLE_FILTER);
|
|
288
|
+
private readonly destroyRef = inject(DestroyRef);
|
|
289
|
+
|
|
290
|
+
public readonly column = input.required<string>();
|
|
291
|
+
|
|
292
|
+
constructor() {
|
|
293
|
+
afterNextRender(() => {
|
|
294
|
+
if (!this.ngModel.valueChanges) {
|
|
295
|
+
throw new Error('Could not access the ngModel value change');
|
|
296
|
+
}
|
|
297
|
+
this.ngModel.valueChanges.pipe(
|
|
298
|
+
debounceTime(500),
|
|
299
|
+
tap((value) => this.tableColumnFilterService.setFilter(this.column(), value)),
|
|
300
|
+
takeUntilDestroyed(this.destroyRef),
|
|
301
|
+
).subscribe();
|
|
302
|
+
});
|
|
319
303
|
}
|
|
320
304
|
|
|
321
|
-
public ngAfterViewInit() {
|
|
322
|
-
if (!this.ngModel.valueChanges) {
|
|
323
|
-
throw new Error('Could not access the ngModel value change');
|
|
324
|
-
}
|
|
325
|
-
this._subscription = this.ngModel.valueChanges.pipe(
|
|
326
|
-
debounceTime(500),
|
|
327
|
-
tap((value) => {
|
|
328
|
-
this.tableColumnFilterService.setFilter(this.column, value);
|
|
329
|
-
},
|
|
330
|
-
),
|
|
331
|
-
)
|
|
332
|
-
.subscribe();
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
336
305
|
}
|
|
337
|
-
|
|
338
|
-
|
|
339
306
|
</code></pre>
|
|
340
307
|
</div>
|
|
341
308
|
|