@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
|
@@ -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>OnInit</code>
|
|
134
|
-
</p>
|
|
135
129
|
|
|
136
130
|
|
|
137
131
|
<section data-compodoc="block-metadata">
|
|
@@ -164,7 +158,6 @@
|
|
|
164
158
|
<td class="col-md-3">imports</td>
|
|
165
159
|
<td class="col-md-9">
|
|
166
160
|
<code>MatCheckboxModule</code>
|
|
167
|
-
<code>AsyncPipe</code>
|
|
168
161
|
</td>
|
|
169
162
|
</tr>
|
|
170
163
|
|
|
@@ -205,14 +198,17 @@
|
|
|
205
198
|
<ul class="index-list">
|
|
206
199
|
<li>
|
|
207
200
|
<span class="modifier">Public</span>
|
|
208
|
-
|
|
201
|
+
<span class="modifier">Readonly</span>
|
|
202
|
+
<a href="#checked" >checked</a>
|
|
209
203
|
</li>
|
|
210
204
|
<li>
|
|
211
205
|
<span class="modifier">Public</span>
|
|
212
|
-
|
|
206
|
+
<span class="modifier">Readonly</span>
|
|
207
|
+
<a href="#indeterminate" >indeterminate</a>
|
|
213
208
|
</li>
|
|
214
209
|
<li>
|
|
215
210
|
<span class="modifier">Public</span>
|
|
211
|
+
<span class="modifier">Readonly</span>
|
|
216
212
|
<a href="#isMultipleSelection" >isMultipleSelection</a>
|
|
217
213
|
</li>
|
|
218
214
|
</ul>
|
|
@@ -243,66 +239,6 @@
|
|
|
243
239
|
</table>
|
|
244
240
|
</section>
|
|
245
241
|
|
|
246
|
-
<section data-compodoc="block-constructor">
|
|
247
|
-
<h3 id="constructor">Constructor</h3>
|
|
248
|
-
<table class="table table-sm table-bordered">
|
|
249
|
-
<tbody>
|
|
250
|
-
<tr>
|
|
251
|
-
<td class="col-md-4">
|
|
252
|
-
<code>constructor(cdkTable: CdkTable<Data>, selectRow: <a href="../injectables/SelectRowService.html" target="_self">SelectRowService<Data></a>)</code>
|
|
253
|
-
</td>
|
|
254
|
-
</tr>
|
|
255
|
-
<tr>
|
|
256
|
-
<td class="col-md-4">
|
|
257
|
-
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts:34</a></div>
|
|
258
|
-
</td>
|
|
259
|
-
</tr>
|
|
260
|
-
|
|
261
|
-
<tr>
|
|
262
|
-
<td class="col-md-4">
|
|
263
|
-
<div>
|
|
264
|
-
<b>Parameters :</b>
|
|
265
|
-
<table class="params">
|
|
266
|
-
<thead>
|
|
267
|
-
<tr>
|
|
268
|
-
<td>Name</td>
|
|
269
|
-
<td>Type</td>
|
|
270
|
-
<td>Optional</td>
|
|
271
|
-
</tr>
|
|
272
|
-
</thead>
|
|
273
|
-
<tbody>
|
|
274
|
-
<tr>
|
|
275
|
-
<td>cdkTable</td>
|
|
276
|
-
|
|
277
|
-
<td>
|
|
278
|
-
<code>CdkTable<Data></code>
|
|
279
|
-
</td>
|
|
280
|
-
|
|
281
|
-
<td>
|
|
282
|
-
No
|
|
283
|
-
</td>
|
|
284
|
-
|
|
285
|
-
</tr>
|
|
286
|
-
<tr>
|
|
287
|
-
<td>selectRow</td>
|
|
288
|
-
|
|
289
|
-
<td>
|
|
290
|
-
<code><a href="../injectables/SelectRowService.html" target="_self" >SelectRowService<Data></a></code>
|
|
291
|
-
</td>
|
|
292
|
-
|
|
293
|
-
<td>
|
|
294
|
-
No
|
|
295
|
-
</td>
|
|
296
|
-
|
|
297
|
-
</tr>
|
|
298
|
-
</tbody>
|
|
299
|
-
</table>
|
|
300
|
-
</div>
|
|
301
|
-
</td>
|
|
302
|
-
</tr>
|
|
303
|
-
</tbody>
|
|
304
|
-
</table>
|
|
305
|
-
</section>
|
|
306
242
|
|
|
307
243
|
|
|
308
244
|
|
|
@@ -335,8 +271,8 @@
|
|
|
335
271
|
|
|
336
272
|
<tr>
|
|
337
273
|
<td class="col-md-4">
|
|
338
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
339
|
-
class="link-to-prism">src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts:
|
|
274
|
+
<div class="io-line">Defined in <a href="" data-line="43"
|
|
275
|
+
class="link-to-prism">src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts:43</a></div>
|
|
340
276
|
</td>
|
|
341
277
|
</tr>
|
|
342
278
|
|
|
@@ -392,28 +328,29 @@
|
|
|
392
328
|
<tbody>
|
|
393
329
|
<tr>
|
|
394
330
|
<td class="col-md-4">
|
|
395
|
-
<a name="checked
|
|
331
|
+
<a name="checked"></a>
|
|
396
332
|
<span class="name">
|
|
397
333
|
<span class="modifier">Public</span>
|
|
398
|
-
|
|
399
|
-
<
|
|
334
|
+
<span class="modifier">Readonly</span>
|
|
335
|
+
<span ><b>checked</b></span>
|
|
336
|
+
<a href="#checked"><span class="icon ion-ios-link"></span></a>
|
|
400
337
|
</span>
|
|
401
338
|
</td>
|
|
402
339
|
</tr>
|
|
403
340
|
<tr>
|
|
404
341
|
<td class="col-md-4">
|
|
405
|
-
<i>
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
342
|
+
<i>Default value : </i><code>toSignal(this.selectRow.selectedRows$.pipe(
|
|
343
|
+
map(
|
|
344
|
+
(selectedRows) =>
|
|
345
|
+
!!selectedRows.length &&
|
|
346
|
+
this.cdkTable['_data']?.length === selectedRows.length,
|
|
347
|
+
),
|
|
348
|
+
), { initialValue: false })</code>
|
|
412
349
|
</td>
|
|
413
350
|
</tr>
|
|
414
351
|
<tr>
|
|
415
352
|
<td class="col-md-4">
|
|
416
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
353
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts:33</a></div>
|
|
417
354
|
</td>
|
|
418
355
|
</tr>
|
|
419
356
|
|
|
@@ -424,28 +361,29 @@
|
|
|
424
361
|
<tbody>
|
|
425
362
|
<tr>
|
|
426
363
|
<td class="col-md-4">
|
|
427
|
-
<a name="indeterminate
|
|
364
|
+
<a name="indeterminate"></a>
|
|
428
365
|
<span class="name">
|
|
429
366
|
<span class="modifier">Public</span>
|
|
430
|
-
|
|
431
|
-
<
|
|
367
|
+
<span class="modifier">Readonly</span>
|
|
368
|
+
<span ><b>indeterminate</b></span>
|
|
369
|
+
<a href="#indeterminate"><span class="icon ion-ios-link"></span></a>
|
|
432
370
|
</span>
|
|
433
371
|
</td>
|
|
434
372
|
</tr>
|
|
435
373
|
<tr>
|
|
436
374
|
<td class="col-md-4">
|
|
437
|
-
<i>
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
375
|
+
<i>Default value : </i><code>toSignal(this.selectRow.selectedRows$.pipe(
|
|
376
|
+
map(
|
|
377
|
+
(selectedRows) =>
|
|
378
|
+
!!selectedRows.length &&
|
|
379
|
+
this.cdkTable['_data']?.length !== selectedRows.length,
|
|
380
|
+
),
|
|
381
|
+
), { initialValue: false })</code>
|
|
444
382
|
</td>
|
|
445
383
|
</tr>
|
|
446
384
|
<tr>
|
|
447
385
|
<td class="col-md-4">
|
|
448
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
386
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts:25</a></div>
|
|
449
387
|
</td>
|
|
450
388
|
</tr>
|
|
451
389
|
|
|
@@ -459,6 +397,7 @@
|
|
|
459
397
|
<a name="isMultipleSelection"></a>
|
|
460
398
|
<span class="name">
|
|
461
399
|
<span class="modifier">Public</span>
|
|
400
|
+
<span class="modifier">Readonly</span>
|
|
462
401
|
<span ><b>isMultipleSelection</b></span>
|
|
463
402
|
<a href="#isMultipleSelection"><span class="icon ion-ios-link"></span></a>
|
|
464
403
|
</span>
|
|
@@ -466,12 +405,12 @@
|
|
|
466
405
|
</tr>
|
|
467
406
|
<tr>
|
|
468
407
|
<td class="col-md-4">
|
|
469
|
-
<i>Default value : </i><code>
|
|
408
|
+
<i>Default value : </i><code>this.selectRow.selectionModel.isMultipleSelection()</code>
|
|
470
409
|
</td>
|
|
471
410
|
</tr>
|
|
472
411
|
<tr>
|
|
473
412
|
<td class="col-md-4">
|
|
474
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
413
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.ts:41</a></div>
|
|
475
414
|
</td>
|
|
476
415
|
</tr>
|
|
477
416
|
|
|
@@ -484,22 +423,15 @@
|
|
|
484
423
|
|
|
485
424
|
|
|
486
425
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
487
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
488
|
-
|
|
489
|
-
Component,
|
|
490
|
-
Inject,
|
|
491
|
-
OnInit,
|
|
492
|
-
} from '@angular/core';
|
|
426
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
|
427
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
493
428
|
import { SelectRowService } from '../select-row.service';
|
|
494
|
-
import type { Observable } from 'rxjs';
|
|
495
|
-
import { EMPTY } from 'rxjs';
|
|
496
429
|
import { map } from 'rxjs/operators';
|
|
497
430
|
import {
|
|
498
431
|
MatCheckboxChange,
|
|
499
432
|
MatCheckboxModule,
|
|
500
433
|
} from '@angular/material/checkbox';
|
|
501
434
|
import { CdkTable } from '@angular/cdk/table';
|
|
502
|
-
import { AsyncPipe } from '@angular/common';
|
|
503
435
|
|
|
504
436
|
@Component({
|
|
505
437
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -509,41 +441,29 @@ import { AsyncPipe } from '@angular/common';
|
|
|
509
441
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
510
442
|
imports: [
|
|
511
443
|
MatCheckboxModule,
|
|
512
|
-
AsyncPipe
|
|
513
444
|
]
|
|
514
445
|
})
|
|
515
|
-
export class CheckboxHeaderCellComponent<Data extends Record<string, any>>
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
this.cdkTable['_data']?.length !== selectedRows.length,
|
|
537
|
-
),
|
|
538
|
-
);
|
|
539
|
-
this.checked$ = this.selectRow.selectedRows$.pipe(
|
|
540
|
-
map(
|
|
541
|
-
(selectedRows) =>
|
|
542
|
-
!!selectedRows.length &&
|
|
543
|
-
this.cdkTable['_data']?.length === selectedRows.length,
|
|
544
|
-
),
|
|
545
|
-
);
|
|
546
|
-
}
|
|
446
|
+
export class CheckboxHeaderCellComponent<Data extends Record<string, any>> {
|
|
447
|
+
private readonly cdkTable = inject<CdkTable<Data>>(CdkTable);
|
|
448
|
+
private readonly selectRow = inject<SelectRowService<Data>>(SelectRowService);
|
|
449
|
+
|
|
450
|
+
public readonly indeterminate = toSignal(this.selectRow.selectedRows$.pipe(
|
|
451
|
+
map(
|
|
452
|
+
(selectedRows) =>
|
|
453
|
+
!!selectedRows.length &&
|
|
454
|
+
this.cdkTable['_data']?.length !== selectedRows.length,
|
|
455
|
+
),
|
|
456
|
+
), { initialValue: false });
|
|
457
|
+
|
|
458
|
+
public readonly checked = toSignal(this.selectRow.selectedRows$.pipe(
|
|
459
|
+
map(
|
|
460
|
+
(selectedRows) =>
|
|
461
|
+
!!selectedRows.length &&
|
|
462
|
+
this.cdkTable['_data']?.length === selectedRows.length,
|
|
463
|
+
),
|
|
464
|
+
), { initialValue: false });
|
|
465
|
+
|
|
466
|
+
public readonly isMultipleSelection = this.selectRow.selectionModel.isMultipleSelection();
|
|
547
467
|
|
|
548
468
|
public onChange($event: MatCheckboxChange) {
|
|
549
469
|
if ($event.checked) {
|
|
@@ -560,8 +480,8 @@ export class CheckboxHeaderCellComponent<Data extends Record<string, any&g
|
|
|
560
480
|
<pre class="line-numbers"><code class="language-html">@if (isMultipleSelection) {
|
|
561
481
|
<mat-checkbox
|
|
562
482
|
(change)="onChange($event)"
|
|
563
|
-
[checked]="(
|
|
564
|
-
[indeterminate]="indeterminate
|
|
483
|
+
[checked]="checked()"
|
|
484
|
+
[indeterminate]="indeterminate()">
|
|
565
485
|
</mat-checkbox>
|
|
566
486
|
}
|
|
567
487
|
</code></pre>
|
|
@@ -599,9 +519,9 @@ export class CheckboxHeaderCellComponent<Data extends Record<string, any&g
|
|
|
599
519
|
<script src="../js/libs/htmlparser.js"></script>
|
|
600
520
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
601
521
|
<script>
|
|
602
|
-
var COMPONENT_TEMPLATE = '<div>@if (isMultipleSelection) { <mat-checkbox (change)="onChange($event)" [checked]="(
|
|
522
|
+
var COMPONENT_TEMPLATE = '<div>@if (isMultipleSelection) { <mat-checkbox (change)="onChange($event)" [checked]="checked()" [indeterminate]="indeterminate()"> </mat-checkbox>}</div>'
|
|
603
523
|
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]'}];
|
|
604
|
-
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]'}];
|
|
524
|
+
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]'}];
|
|
605
525
|
var ACTUAL_COMPONENT = {'name': 'CheckboxHeaderCellComponent'};
|
|
606
526
|
</script>
|
|
607
527
|
<script src="../js/tree.js"></script>
|
|
@@ -188,18 +188,18 @@
|
|
|
188
188
|
<h3 id="index">Index</h3>
|
|
189
189
|
<table class="table table-sm table-bordered index-table">
|
|
190
190
|
<tbody>
|
|
191
|
-
|
|
192
|
-
|
|
193
191
|
<tr>
|
|
194
192
|
<td class="col-md-4">
|
|
195
|
-
<h6><b>
|
|
193
|
+
<h6><b>Properties</b></h6>
|
|
196
194
|
</td>
|
|
197
195
|
</tr>
|
|
198
196
|
<tr>
|
|
199
197
|
<td class="col-md-4">
|
|
200
198
|
<ul class="index-list">
|
|
201
199
|
<li>
|
|
202
|
-
|
|
200
|
+
<span class="modifier">Public</span>
|
|
201
|
+
<span class="modifier">Readonly</span>
|
|
202
|
+
<a href="#value" >value</a>
|
|
203
203
|
</li>
|
|
204
204
|
</ul>
|
|
205
205
|
</td>
|
|
@@ -208,39 +208,51 @@
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
|
|
211
|
+
|
|
212
|
+
|
|
211
213
|
</tbody>
|
|
212
214
|
</table>
|
|
213
215
|
</section>
|
|
214
216
|
|
|
215
217
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<section data-compodoc="block-properties">
|
|
224
|
+
|
|
225
|
+
<h3 id="inputs">
|
|
226
|
+
Properties
|
|
227
|
+
</h3>
|
|
228
|
+
<table class="table table-sm table-bordered">
|
|
229
|
+
<tbody>
|
|
230
|
+
<tr>
|
|
231
|
+
<td class="col-md-4">
|
|
232
|
+
<a name="value"></a>
|
|
233
|
+
<span class="name">
|
|
234
|
+
<span class="modifier">Public</span>
|
|
235
|
+
<span class="modifier">Readonly</span>
|
|
236
|
+
<span ><b>value</b></span>
|
|
237
|
+
<a href="#value"><span class="icon ion-ios-link"></span></a>
|
|
238
|
+
</span>
|
|
239
|
+
</td>
|
|
240
|
+
</tr>
|
|
226
241
|
<tr>
|
|
227
242
|
<td class="col-md-4">
|
|
228
|
-
<i>
|
|
229
|
-
|
|
243
|
+
<i>Default value : </i><code>input<any>(undefined, { alias: "rxap-copy-to-clipboard-cell" })</code>
|
|
230
244
|
</td>
|
|
231
245
|
</tr>
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
</tbody>
|
|
238
|
-
</table>
|
|
239
|
-
</section>
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
<tr>
|
|
247
|
+
<td class="col-md-4">
|
|
248
|
+
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.ts:19</a></div>
|
|
249
|
+
</td>
|
|
250
|
+
</tr>
|
|
242
251
|
|
|
243
252
|
|
|
253
|
+
</tbody>
|
|
254
|
+
</table>
|
|
255
|
+
</section>
|
|
244
256
|
|
|
245
257
|
</div>
|
|
246
258
|
|
|
@@ -249,7 +261,7 @@
|
|
|
249
261
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
250
262
|
ChangeDetectionStrategy,
|
|
251
263
|
Component,
|
|
252
|
-
|
|
264
|
+
input
|
|
253
265
|
} from '@angular/core';
|
|
254
266
|
import { CopyToClipboardComponent } from '@rxap/components';
|
|
255
267
|
|
|
@@ -264,16 +276,15 @@ import { CopyToClipboardComponent } from '@rxap/components';
|
|
|
264
276
|
})
|
|
265
277
|
export class CopyToClipboardCellComponent {
|
|
266
278
|
|
|
267
|
-
|
|
268
|
-
public value: any;
|
|
279
|
+
public readonly value = input<any>(undefined, { alias: "rxap-copy-to-clipboard-cell" });
|
|
269
280
|
|
|
270
281
|
}
|
|
271
282
|
</code></pre>
|
|
272
283
|
</div>
|
|
273
284
|
|
|
274
285
|
<div class="tab-pane fade " id="templateData">
|
|
275
|
-
<pre class="line-numbers"><code class="language-html">@if (value !== null && value !== undefined && value !== '') {
|
|
276
|
-
<rxap-copy-to-clipboard [value]="value"
|
|
286
|
+
<pre class="line-numbers"><code class="language-html">@if (value() !== null && value() !== undefined && value() !== '') {
|
|
287
|
+
<rxap-copy-to-clipboard [value]="value()"
|
|
277
288
|
class="copy-to-clipboard"></rxap-copy-to-clipboard>
|
|
278
289
|
}
|
|
279
290
|
<ng-content></ng-content>
|
|
@@ -320,9 +331,9 @@ export class CopyToClipboardCellComponent {
|
|
|
320
331
|
<script src="../js/libs/htmlparser.js"></script>
|
|
321
332
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
322
333
|
<script>
|
|
323
|
-
var COMPONENT_TEMPLATE = '<div>@if (value !== null && value !== undefined && value !== \'\') { <rxap-copy-to-clipboard [value]="value" class="copy-to-clipboard"></rxap-copy-to-clipboard>}<ng-content></ng-content></div>'
|
|
334
|
+
var COMPONENT_TEMPLATE = '<div>@if (value() !== null && value() !== undefined && value() !== \'\') { <rxap-copy-to-clipboard [value]="value()" class="copy-to-clipboard"></rxap-copy-to-clipboard>}<ng-content></ng-content></div>'
|
|
324
335
|
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]'}];
|
|
325
|
-
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]'}];
|
|
336
|
+
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]'}];
|
|
326
337
|
var ACTUAL_COMPONENT = {'name': 'CopyToClipboardCellComponent'};
|
|
327
338
|
</script>
|
|
328
339
|
<script src="../js/tree.js"></script>
|