@rxap/material-table-system 21.0.1-dev.0 → 21.0.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/compodoc/changelog.html +30 -0
- package/compodoc/components/BooleanCellComponent.html +55 -38
- package/compodoc/components/CheckboxCellComponent.html +79 -88
- package/compodoc/components/CheckboxHeaderCellComponent.html +61 -141
- package/compodoc/components/CopyToClipboardCellComponent.html +44 -33
- package/compodoc/components/DateCellComponent.html +69 -61
- package/compodoc/components/ExpandControlsCellComponent.html +36 -90
- package/compodoc/components/ExpandRowContainerComponent.html +95 -173
- package/compodoc/components/IconCellComponent.html +44 -33
- package/compodoc/components/ImageCellComponent.html +164 -119
- package/compodoc/components/LinkCellComponent.html +121 -64
- package/compodoc/components/OptionsCellComponent.html +119 -250
- package/compodoc/components/TableColumnMenuComponent.html +128 -433
- package/compodoc/components/TableColumnOptionComponent.html +280 -378
- package/compodoc/components/TableSelectControlsComponent.html +30 -93
- package/compodoc/components/TableShowArchivedSlideComponent.html +67 -102
- package/compodoc/components/TreeControlCellComponent.html +54 -62
- package/compodoc/dependencies.html +10 -10
- package/compodoc/directives/AbstractTableRowAction.html +1568 -0
- package/compodoc/directives/ExpandRowContentDirective.html +7 -77
- package/compodoc/directives/ExpandRowDirective.html +76 -184
- package/compodoc/directives/FilterHeaderRowDirective.html +67 -177
- package/compodoc/directives/PersistentPaginatorDirective.html +60 -83
- package/compodoc/directives/SelectedRowsDirective.html +17 -115
- package/compodoc/directives/TableColumnFilterInputDirective.html +67 -100
- package/compodoc/directives/TableCreateButtonDirective.html +53 -194
- package/compodoc/directives/TableDataSourceDirective.html +298 -350
- package/compodoc/directives/TableHeaderButtonDirective.html +290 -435
- package/compodoc/directives/TableRowActionDirective.html +816 -105
- package/compodoc/directives/TableRowActionExecutingDirective.html +11 -80
- package/compodoc/directives/TableRowHeaderActionDirective.html +772 -335
- package/compodoc/graph/dependencies.svg +15 -433
- package/compodoc/injectables/ExpandRowService.html +43 -8
- package/compodoc/injectables/SelectRowService.html +17 -52
- package/compodoc/interfaces/ExpandCellContentDirectiveContext.html +3 -11
- package/compodoc/interfaces/SelectedRowsDirectiveContext.html +15 -40
- package/compodoc/js/menu-wc.js +4 -166
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -85
- package/compodoc/overview.html +3 -467
- package/compodoc/pipes/RowActionCheckPipe.html +6 -13
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +9700 -11542
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AbstractTableRowAction.html +22 -20
- package/docs/html/classes/BooleanCellComponent.html +2 -2
- package/docs/html/classes/CheckboxCellComponent.html +3 -2
- package/docs/html/classes/CheckboxHeaderCellComponent.html +5 -11
- package/docs/html/classes/CopyToClipboardCellComponent.html +2 -2
- package/docs/html/classes/DateCellComponent.html +2 -2
- package/docs/html/classes/ExpandControlsCellComponent.html +2 -2
- package/docs/html/classes/ExpandRowContainerComponent.html +4 -11
- package/docs/html/classes/ExpandRowContentDirective.html +2 -2
- package/docs/html/classes/ExpandRowDirective.html +3 -3
- package/docs/html/classes/ExpandRowService.html +3 -2
- package/docs/html/classes/FilterHeaderRowDirective.html +44 -29
- package/docs/html/classes/IconCellComponent.html +2 -2
- package/docs/html/classes/ImageCellComponent.html +3 -3
- package/docs/html/classes/LinkCellComponent.html +3 -3
- package/docs/html/classes/OptionsCellComponent.html +2 -17
- package/docs/html/classes/PersistentPaginatorDirective.html +4 -7
- package/docs/html/classes/RowActionCheckPipe.html +2 -2
- package/docs/html/classes/SelectRowService.html +2 -2
- package/docs/html/classes/SelectedRowsDirective.html +2 -11
- package/docs/html/classes/SelectionModel.html +15 -15
- package/docs/html/classes/TableColumnFilterInputDirective.html +2 -9
- package/docs/html/classes/TableColumnFilterService.html +2 -2
- package/docs/html/classes/TableColumnMenuComponent.html +8 -13
- package/docs/html/classes/TableColumnOptionComponent.html +11 -12
- package/docs/html/classes/TableCreateButtonDirective.html +3 -9
- package/docs/html/classes/TableDataSourceDirective.html +14 -11
- package/docs/html/classes/TableFilterService.html +3 -3
- package/docs/html/classes/TableHeaderButtonDirective.html +18 -20
- package/docs/html/classes/TableRowActionDirective.html +22 -20
- package/docs/html/classes/TableRowActionExecutingDirective.html +2 -2
- package/docs/html/classes/TableRowHeaderActionDirective.html +23 -21
- package/docs/html/classes/TableSelectControlsComponent.html +3 -3
- package/docs/html/classes/TableShowArchivedSlideComponent.html +4 -8
- package/docs/html/classes/ToFilterColumnNamesPipe.html +2 -2
- package/docs/html/classes/TreeControlCellComponent.html +3 -9
- package/docs/html/enums/TableHeaderButtonActionStatus.html +2 -2
- package/docs/html/enums/TableRowActionStatus.html +2 -2
- package/docs/html/functions/GetTableHeaderButtonMetadata.html +1 -1
- package/docs/html/functions/GetTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/GetTableRowActionMetadata.html +1 -1
- package/docs/html/functions/HasTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/HasTableRowActionMetadata.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeMethod.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/functions/NormalizeTableRow.html +3 -3
- package/docs/html/functions/TableActionMethod.html +1 -1
- package/docs/html/functions/TableHeaderButtonMethod.html +1 -1
- package/docs/html/functions/getMultipleValuesInSingleSelectionError.html +2 -2
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ExpandCellContentDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectRowOptions.html +2 -2
- package/docs/html/interfaces/SelectedRowsDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectionChange.html +5 -5
- package/docs/html/interfaces/TableActionMethodOptions.html +9 -9
- package/docs/html/interfaces/TableHeaderButtonMethodOptions.html +6 -6
- package/docs/html/interfaces/TableRowMetadata.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/types/RawTableRow.html +1 -1
- package/docs/html/types/RowActionCheckFunction.html +1 -1
- package/docs/html/types/RowIdMapperFunction.html +1 -1
- package/docs/html/types/TableRemoteMethodAdapterFactory.html +1 -1
- package/docs/html/types/TableRowActionMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_FILTER.html +1 -1
- package/docs/html/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ROW_ACTION_METHOD.html +1 -1
- package/docs/html/variables/RowAnimation.html +1 -1
- package/docs/html/variables/TABLE_CREATE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/TABLE_DATA_SOURCE.html +1 -1
- package/docs/html/variables/TABLE_HEADER_BUTTON_METHOD.html +1 -1
- package/docs/html/variables/TABLE_REMOTE_METHOD.html +2 -2
- package/docs/html/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AbstractTableRowAction.md +107 -147
- package/docs/markdown/classes/BooleanCellComponent.md +4 -4
- package/docs/markdown/classes/CheckboxCellComponent.md +14 -14
- package/docs/markdown/classes/CheckboxHeaderCellComponent.md +12 -50
- package/docs/markdown/classes/CopyToClipboardCellComponent.md +4 -4
- package/docs/markdown/classes/DateCellComponent.md +6 -6
- package/docs/markdown/classes/ExpandControlsCellComponent.md +6 -14
- package/docs/markdown/classes/ExpandRowContainerComponent.md +12 -67
- package/docs/markdown/classes/ExpandRowContentDirective.md +5 -13
- package/docs/markdown/classes/ExpandRowDirective.md +9 -23
- package/docs/markdown/classes/ExpandRowService.md +14 -6
- package/docs/markdown/classes/FilterHeaderRowDirective.md +245 -181
- package/docs/markdown/classes/IconCellComponent.md +4 -4
- package/docs/markdown/classes/ImageCellComponent.md +13 -13
- package/docs/markdown/classes/LinkCellComponent.md +10 -10
- package/docs/markdown/classes/OptionsCellComponent.md +15 -106
- package/docs/markdown/classes/PersistentPaginatorDirective.md +10 -38
- package/docs/markdown/classes/RowActionCheckPipe.md +5 -11
- package/docs/markdown/classes/SelectRowService.md +9 -15
- package/docs/markdown/classes/SelectedRowsDirective.md +4 -68
- package/docs/markdown/classes/SelectionModel.md +16 -16
- package/docs/markdown/classes/TableColumnFilterInputDirective.md +6 -60
- package/docs/markdown/classes/TableColumnFilterService.md +5 -5
- package/docs/markdown/classes/TableColumnMenuComponent.md +18 -93
- package/docs/markdown/classes/TableColumnOptionComponent.md +40 -103
- package/docs/markdown/classes/TableCreateButtonDirective.md +7 -46
- package/docs/markdown/classes/TableDataSourceDirective.md +49 -84
- package/docs/markdown/classes/TableFilterService.md +11 -11
- package/docs/markdown/classes/TableHeaderButtonDirective.md +88 -124
- package/docs/markdown/classes/TableRowActionDirective.md +136 -160
- package/docs/markdown/classes/TableRowActionExecutingDirective.md +6 -18
- package/docs/markdown/classes/TableRowHeaderActionDirective.md +133 -174
- package/docs/markdown/classes/TableSelectControlsComponent.md +8 -20
- package/docs/markdown/classes/TableShowArchivedSlideComponent.md +8 -46
- package/docs/markdown/classes/ToFilterColumnNamesPipe.md +3 -3
- package/docs/markdown/classes/TreeControlCellComponent.md +10 -33
- package/docs/markdown/enumerations/TableHeaderButtonActionStatus.md +6 -6
- package/docs/markdown/enumerations/TableRowActionStatus.md +6 -6
- package/docs/markdown/functions/GetTableHeaderButtonMetadata.md +2 -2
- package/docs/markdown/functions/GetTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/GetTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/HasTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/HasTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeMethod.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/functions/NormalizeTableRow.md +3 -3
- package/docs/markdown/functions/TableActionMethod.md +3 -3
- package/docs/markdown/functions/TableHeaderButtonMethod.md +2 -2
- package/docs/markdown/functions/getMultipleValuesInSingleSelectionError.md +2 -2
- package/docs/markdown/globals.md +2 -7
- package/docs/markdown/interfaces/ExpandCellContentDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectRowOptions.md +6 -6
- package/docs/markdown/interfaces/SelectedRowsDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectionChange.md +5 -5
- package/docs/markdown/interfaces/TableActionMethodOptions.md +11 -11
- package/docs/markdown/interfaces/TableHeaderButtonMethodOptions.md +7 -7
- package/docs/markdown/interfaces/TableRowMetadata.md +4 -4
- package/docs/markdown/type-aliases/RawTableRow.md +2 -2
- package/docs/markdown/type-aliases/RowActionCheckFunction.md +2 -2
- package/docs/markdown/type-aliases/RowIdMapperFunction.md +2 -2
- package/docs/markdown/type-aliases/TableRemoteMethodAdapterFactory.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ROW_ACTION_METHOD.md +2 -2
- package/docs/markdown/variables/RowAnimation.md +2 -2
- package/docs/markdown/variables/TABLE_CREATE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_DATA_SOURCE.md +2 -2
- package/docs/markdown/variables/TABLE_HEADER_BUTTON_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +2 -2
- package/docs/wiki/Class.AbstractTableRowAction.md +106 -146
- package/docs/wiki/Class.BooleanCellComponent.md +3 -3
- package/docs/wiki/Class.CheckboxCellComponent.md +13 -13
- package/docs/wiki/Class.CheckboxHeaderCellComponent.md +11 -49
- package/docs/wiki/Class.CopyToClipboardCellComponent.md +3 -3
- package/docs/wiki/Class.DateCellComponent.md +5 -5
- package/docs/wiki/Class.ExpandControlsCellComponent.md +5 -13
- package/docs/wiki/Class.ExpandRowContainerComponent.md +11 -66
- package/docs/wiki/Class.ExpandRowContentDirective.md +4 -12
- package/docs/wiki/Class.ExpandRowDirective.md +8 -22
- package/docs/wiki/Class.ExpandRowService.md +13 -5
- package/docs/wiki/Class.FilterHeaderRowDirective.md +244 -180
- package/docs/wiki/Class.IconCellComponent.md +3 -3
- package/docs/wiki/Class.ImageCellComponent.md +12 -12
- package/docs/wiki/Class.LinkCellComponent.md +9 -9
- package/docs/wiki/Class.OptionsCellComponent.md +14 -105
- package/docs/wiki/Class.PersistentPaginatorDirective.md +9 -37
- package/docs/wiki/Class.RowActionCheckPipe.md +4 -10
- package/docs/wiki/Class.SelectRowService.md +8 -14
- package/docs/wiki/Class.SelectedRowsDirective.md +3 -67
- package/docs/wiki/Class.SelectionModel.md +15 -15
- package/docs/wiki/Class.TableColumnFilterInputDirective.md +5 -59
- package/docs/wiki/Class.TableColumnFilterService.md +4 -4
- package/docs/wiki/Class.TableColumnMenuComponent.md +17 -92
- package/docs/wiki/Class.TableColumnOptionComponent.md +39 -102
- package/docs/wiki/Class.TableCreateButtonDirective.md +6 -45
- package/docs/wiki/Class.TableDataSourceDirective.md +48 -83
- package/docs/wiki/Class.TableFilterService.md +10 -10
- package/docs/wiki/Class.TableHeaderButtonDirective.md +87 -123
- package/docs/wiki/Class.TableRowActionDirective.md +135 -159
- package/docs/wiki/Class.TableRowActionExecutingDirective.md +5 -17
- package/docs/wiki/Class.TableRowHeaderActionDirective.md +132 -173
- package/docs/wiki/Class.TableSelectControlsComponent.md +7 -19
- package/docs/wiki/Class.TableShowArchivedSlideComponent.md +7 -45
- package/docs/wiki/Class.ToFilterColumnNamesPipe.md +2 -2
- package/docs/wiki/Class.TreeControlCellComponent.md +9 -32
- package/docs/wiki/Enumeration.TableHeaderButtonActionStatus.md +5 -5
- package/docs/wiki/Enumeration.TableRowActionStatus.md +5 -5
- package/docs/wiki/Function.GetTableHeaderButtonMetadata.md +1 -1
- package/docs/wiki/Function.GetTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.GetTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.HasTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.HasTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeMethod.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Function.NormalizeTableRow.md +2 -2
- package/docs/wiki/Function.TableActionMethod.md +2 -2
- package/docs/wiki/Function.TableHeaderButtonMethod.md +1 -1
- package/docs/wiki/Function.getMultipleValuesInSingleSelectionError.md +1 -1
- package/docs/wiki/Interface.ExpandCellContentDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectRowOptions.md +5 -5
- package/docs/wiki/Interface.SelectedRowsDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectionChange.md +4 -4
- package/docs/wiki/Interface.TableActionMethodOptions.md +10 -10
- package/docs/wiki/Interface.TableHeaderButtonMethodOptions.md +6 -6
- package/docs/wiki/Interface.TableRowMetadata.md +3 -3
- package/docs/wiki/TypeAlias.RawTableRow.md +1 -1
- package/docs/wiki/TypeAlias.RowActionCheckFunction.md +1 -1
- package/docs/wiki/TypeAlias.RowIdMapperFunction.md +1 -1
- package/docs/wiki/TypeAlias.TableRemoteMethodAdapterFactory.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Variable.RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ROW_ACTION_METHOD.md +1 -1
- package/docs/wiki/Variable.RowAnimation.md +1 -1
- package/docs/wiki/Variable.TABLE_CREATE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_DATA_SOURCE.md +1 -1
- package/docs/wiki/Variable.TABLE_HEADER_BUTTON_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -5
- package/docs/wiki/globals.md +1 -6
- package/fesm2022/rxap-material-table-system.mjs +561 -1137
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/package.json +28 -28
- package/types/rxap-material-table-system.d.ts +389 -439
- package/docs/html/classes/ExpandRowModule.html +0 -2
- package/docs/html/classes/SelectRowModule.html +0 -2
- package/docs/html/classes/TableColumnMenuModule.html +0 -2
- package/docs/html/classes/TableFilterModule.html +0 -2
- package/docs/html/classes/TableRowActionsModule.html +0 -2
- package/docs/markdown/classes/ExpandRowModule.md +0 -19
- package/docs/markdown/classes/SelectRowModule.md +0 -19
- package/docs/markdown/classes/TableColumnMenuModule.md +0 -19
- package/docs/markdown/classes/TableFilterModule.md +0 -19
- package/docs/markdown/classes/TableRowActionsModule.md +0 -19
- package/docs/wiki/Class.ExpandRowModule.md +0 -15
- package/docs/wiki/Class.SelectRowModule.md +0 -15
- package/docs/wiki/Class.TableColumnMenuModule.md +0 -15
- package/docs/wiki/Class.TableFilterModule.md +0 -15
- package/docs/wiki/Class.TableRowActionsModule.md +0 -15
|
@@ -126,13 +126,6 @@
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
<p class="comment">
|
|
130
|
-
<h3>Implements</h3>
|
|
131
|
-
</p>
|
|
132
|
-
<p class="comment">
|
|
133
|
-
<code>AfterContentInit</code>
|
|
134
|
-
<code>OnDestroy</code>
|
|
135
|
-
</p>
|
|
136
129
|
|
|
137
130
|
|
|
138
131
|
<section data-compodoc="block-metadata">
|
|
@@ -165,7 +158,6 @@
|
|
|
165
158
|
<td class="col-md-3">imports</td>
|
|
166
159
|
<td class="col-md-9">
|
|
167
160
|
<code>PortalModule</code>
|
|
168
|
-
<code>AsyncPipe</code>
|
|
169
161
|
</td>
|
|
170
162
|
</tr>
|
|
171
163
|
|
|
@@ -205,19 +197,22 @@
|
|
|
205
197
|
<td class="col-md-4">
|
|
206
198
|
<ul class="index-list">
|
|
207
199
|
<li>
|
|
208
|
-
<span class="modifier"></span>
|
|
209
200
|
<span class="modifier">Public</span>
|
|
210
201
|
<span class="modifier">Readonly</span>
|
|
202
|
+
<a href="#element" >element</a>
|
|
203
|
+
</li>
|
|
204
|
+
<li>
|
|
205
|
+
<span class="modifier">Readonly</span>
|
|
211
206
|
<a href="#expandCell" >expandCell</a>
|
|
212
207
|
</li>
|
|
213
208
|
<li>
|
|
214
|
-
<span class="modifier"></span>
|
|
215
209
|
<span class="modifier">Public</span>
|
|
216
|
-
<span class="modifier">
|
|
210
|
+
<span class="modifier">Readonly</span>
|
|
217
211
|
<a href="#expandCellContent" >expandCellContent</a>
|
|
218
212
|
</li>
|
|
219
213
|
<li>
|
|
220
214
|
<span class="modifier">Public</span>
|
|
215
|
+
<span class="modifier">Readonly</span>
|
|
221
216
|
<a href="#portal" >portal</a>
|
|
222
217
|
</li>
|
|
223
218
|
</ul>
|
|
@@ -247,66 +242,6 @@
|
|
|
247
242
|
</table>
|
|
248
243
|
</section>
|
|
249
244
|
|
|
250
|
-
<section data-compodoc="block-constructor">
|
|
251
|
-
<h3 id="constructor">Constructor</h3>
|
|
252
|
-
<table class="table table-sm table-bordered">
|
|
253
|
-
<tbody>
|
|
254
|
-
<tr>
|
|
255
|
-
<td class="col-md-4">
|
|
256
|
-
<code>constructor(viewContainerRef: ViewContainerRef, expandCell: <a href="../injectables/ExpandRowService.html" target="_self">ExpandRowService<Data></a>)</code>
|
|
257
|
-
</td>
|
|
258
|
-
</tr>
|
|
259
|
-
<tr>
|
|
260
|
-
<td class="col-md-4">
|
|
261
|
-
<div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/expand-row/expand-row-container/expand-row-container.component.ts:63</a></div>
|
|
262
|
-
</td>
|
|
263
|
-
</tr>
|
|
264
|
-
|
|
265
|
-
<tr>
|
|
266
|
-
<td class="col-md-4">
|
|
267
|
-
<div>
|
|
268
|
-
<b>Parameters :</b>
|
|
269
|
-
<table class="params">
|
|
270
|
-
<thead>
|
|
271
|
-
<tr>
|
|
272
|
-
<td>Name</td>
|
|
273
|
-
<td>Type</td>
|
|
274
|
-
<td>Optional</td>
|
|
275
|
-
</tr>
|
|
276
|
-
</thead>
|
|
277
|
-
<tbody>
|
|
278
|
-
<tr>
|
|
279
|
-
<td>viewContainerRef</td>
|
|
280
|
-
|
|
281
|
-
<td>
|
|
282
|
-
<code>ViewContainerRef</code>
|
|
283
|
-
</td>
|
|
284
|
-
|
|
285
|
-
<td>
|
|
286
|
-
No
|
|
287
|
-
</td>
|
|
288
|
-
|
|
289
|
-
</tr>
|
|
290
|
-
<tr>
|
|
291
|
-
<td>expandCell</td>
|
|
292
|
-
|
|
293
|
-
<td>
|
|
294
|
-
<code><a href="../injectables/ExpandRowService.html" target="_self" >ExpandRowService<Data></a></code>
|
|
295
|
-
</td>
|
|
296
|
-
|
|
297
|
-
<td>
|
|
298
|
-
No
|
|
299
|
-
</td>
|
|
300
|
-
|
|
301
|
-
</tr>
|
|
302
|
-
</tbody>
|
|
303
|
-
</table>
|
|
304
|
-
</div>
|
|
305
|
-
</td>
|
|
306
|
-
</tr>
|
|
307
|
-
</tbody>
|
|
308
|
-
</table>
|
|
309
|
-
</section>
|
|
310
245
|
|
|
311
246
|
<section data-compodoc="block-inputs">
|
|
312
247
|
<h3 id="inputs">Inputs</h3>
|
|
@@ -318,12 +253,6 @@
|
|
|
318
253
|
<b>element</b>
|
|
319
254
|
</td>
|
|
320
255
|
</tr>
|
|
321
|
-
<tr>
|
|
322
|
-
<td class="col-md-4">
|
|
323
|
-
<i>Type : </i> <code>Data</code>
|
|
324
|
-
|
|
325
|
-
</td>
|
|
326
|
-
</tr>
|
|
327
256
|
<tr>
|
|
328
257
|
<td class="col-md-4">
|
|
329
258
|
<i>Required : </i> <b>true</b>
|
|
@@ -331,7 +260,7 @@
|
|
|
331
260
|
</tr>
|
|
332
261
|
<tr>
|
|
333
262
|
<td class="col-md-2" colspan="2">
|
|
334
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
263
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/expand-row/expand-row-container/expand-row-container.component.ts:41</a></div>
|
|
335
264
|
</td>
|
|
336
265
|
</tr>
|
|
337
266
|
</tbody>
|
|
@@ -350,11 +279,31 @@
|
|
|
350
279
|
<tbody>
|
|
351
280
|
<tr>
|
|
352
281
|
<td class="col-md-4">
|
|
353
|
-
<a name="
|
|
282
|
+
<a name="element"></a>
|
|
354
283
|
<span class="name">
|
|
355
|
-
<span class="modifier"></span>
|
|
356
284
|
<span class="modifier">Public</span>
|
|
357
285
|
<span class="modifier">Readonly</span>
|
|
286
|
+
<span ><b>element</b></span>
|
|
287
|
+
<a href="#element"><span class="icon ion-ios-link"></span></a>
|
|
288
|
+
</span>
|
|
289
|
+
</td>
|
|
290
|
+
</tr>
|
|
291
|
+
<tr>
|
|
292
|
+
<td class="col-md-4">
|
|
293
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/expand-row/expand-row-container/expand-row-container.component.ts:41</a></div>
|
|
294
|
+
</td>
|
|
295
|
+
</tr>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
</tbody>
|
|
299
|
+
</table>
|
|
300
|
+
<table class="table table-sm table-bordered">
|
|
301
|
+
<tbody>
|
|
302
|
+
<tr>
|
|
303
|
+
<td class="col-md-4">
|
|
304
|
+
<a name="expandCell"></a>
|
|
305
|
+
<span class="name">
|
|
306
|
+
<span class="modifier">Readonly</span>
|
|
358
307
|
<span ><b>expandCell</b></span>
|
|
359
308
|
<a href="#expandCell"><span class="icon ion-ios-link"></span></a>
|
|
360
309
|
</span>
|
|
@@ -362,22 +311,12 @@
|
|
|
362
311
|
</tr>
|
|
363
312
|
<tr>
|
|
364
313
|
<td class="col-md-4">
|
|
365
|
-
<i>
|
|
366
|
-
|
|
367
|
-
</td>
|
|
368
|
-
</tr>
|
|
369
|
-
<tr>
|
|
370
|
-
<td class="col-md-4">
|
|
371
|
-
<b>Decorators : </b>
|
|
372
|
-
<br />
|
|
373
|
-
<code>
|
|
374
|
-
@Inject(ExpandRowService)<br />
|
|
375
|
-
</code>
|
|
314
|
+
<i>Default value : </i><code>inject<ExpandRowService<Data>>(ExpandRowService)</code>
|
|
376
315
|
</td>
|
|
377
316
|
</tr>
|
|
378
317
|
<tr>
|
|
379
318
|
<td class="col-md-4">
|
|
380
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
319
|
+
<div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/expand-row/expand-row-container/expand-row-container.component.ts:39</a></div>
|
|
381
320
|
</td>
|
|
382
321
|
</tr>
|
|
383
322
|
|
|
@@ -390,9 +329,8 @@
|
|
|
390
329
|
<td class="col-md-4">
|
|
391
330
|
<a name="expandCellContent"></a>
|
|
392
331
|
<span class="name">
|
|
393
|
-
<span class="modifier"></span>
|
|
394
332
|
<span class="modifier">Public</span>
|
|
395
|
-
<span class="modifier">
|
|
333
|
+
<span class="modifier">Readonly</span>
|
|
396
334
|
<span ><b>expandCellContent</b></span>
|
|
397
335
|
<a href="#expandCellContent"><span class="icon ion-ios-link"></span></a>
|
|
398
336
|
</span>
|
|
@@ -400,22 +338,12 @@
|
|
|
400
338
|
</tr>
|
|
401
339
|
<tr>
|
|
402
340
|
<td class="col-md-4">
|
|
403
|
-
<i>
|
|
404
|
-
|
|
405
|
-
</td>
|
|
406
|
-
</tr>
|
|
407
|
-
<tr>
|
|
408
|
-
<td class="col-md-4">
|
|
409
|
-
<b>Decorators : </b>
|
|
410
|
-
<br />
|
|
411
|
-
<code>
|
|
412
|
-
@ContentChild(ExpandRowContentDirective)<br />
|
|
413
|
-
</code>
|
|
341
|
+
<i>Default value : </i><code>contentChild(ExpandRowContentDirective)</code>
|
|
414
342
|
</td>
|
|
415
343
|
</tr>
|
|
416
344
|
<tr>
|
|
417
345
|
<td class="col-md-4">
|
|
418
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
346
|
+
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/expand-row/expand-row-container/expand-row-container.component.ts:43</a></div>
|
|
419
347
|
</td>
|
|
420
348
|
</tr>
|
|
421
349
|
|
|
@@ -429,6 +357,7 @@
|
|
|
429
357
|
<a name="portal"></a>
|
|
430
358
|
<span class="name">
|
|
431
359
|
<span class="modifier">Public</span>
|
|
360
|
+
<span class="modifier">Readonly</span>
|
|
432
361
|
<span ><b>portal</b></span>
|
|
433
362
|
<a href="#portal"><span class="icon ion-ios-link"></span></a>
|
|
434
363
|
</span>
|
|
@@ -436,21 +365,38 @@
|
|
|
436
365
|
</tr>
|
|
437
366
|
<tr>
|
|
438
367
|
<td class="col-md-4">
|
|
439
|
-
<i>
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
368
|
+
<i>Default value : </i><code>linkedSignal<
|
|
369
|
+
{ content: ExpandRowContentDirective<Data> | undefined, expanded: boolean },
|
|
370
|
+
TemplatePortal<ExpandCellContentDirectiveContext<Data>> | null
|
|
371
|
+
>({
|
|
372
|
+
source: () => ({
|
|
373
|
+
content: this.expandCellContent(),
|
|
374
|
+
expanded: this.expandCell.isExpanded(this.element()),
|
|
375
|
+
}),
|
|
376
|
+
computation: ({ content, expanded }, previous) => {
|
|
377
|
+
if (previous?.value) {
|
|
378
|
+
return previous.value;
|
|
379
|
+
}
|
|
380
|
+
if (content && expanded) {
|
|
381
|
+
return new TemplatePortal(content.template, this.viewContainerRef, { $implicit: this.element() });
|
|
382
|
+
}
|
|
383
|
+
return null;
|
|
384
|
+
},
|
|
385
|
+
})</code>
|
|
446
386
|
</td>
|
|
447
387
|
</tr>
|
|
448
388
|
<tr>
|
|
449
389
|
<td class="col-md-4">
|
|
450
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
390
|
+
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/expand-row/expand-row-container/expand-row-container.component.ts:48</a></div>
|
|
451
391
|
</td>
|
|
452
392
|
</tr>
|
|
453
393
|
|
|
394
|
+
<tr>
|
|
395
|
+
<td class="col-md-4">
|
|
396
|
+
<div class="io-description"><p>The portal is created with the first expand of the row and then kept.</p>
|
|
397
|
+
</div>
|
|
398
|
+
</td>
|
|
399
|
+
</tr>
|
|
454
400
|
|
|
455
401
|
</tbody>
|
|
456
402
|
</table>
|
|
@@ -460,16 +406,7 @@
|
|
|
460
406
|
|
|
461
407
|
|
|
462
408
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
463
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
464
|
-
AfterContentInit,
|
|
465
|
-
ChangeDetectionStrategy,
|
|
466
|
-
Component,
|
|
467
|
-
ContentChild,
|
|
468
|
-
Inject,
|
|
469
|
-
Input,
|
|
470
|
-
OnDestroy,
|
|
471
|
-
ViewContainerRef,
|
|
472
|
-
} from '@angular/core';
|
|
409
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, ViewContainerRef, input, contentChild, inject, linkedSignal } from '@angular/core';
|
|
473
410
|
import {
|
|
474
411
|
ExpandCellContentDirectiveContext,
|
|
475
412
|
ExpandRowContentDirective,
|
|
@@ -478,7 +415,6 @@ import {
|
|
|
478
415
|
PortalModule,
|
|
479
416
|
TemplatePortal,
|
|
480
417
|
} from '@angular/cdk/portal';
|
|
481
|
-
import { Required } from '@rxap/utilities';
|
|
482
418
|
import {
|
|
483
419
|
animate,
|
|
484
420
|
state,
|
|
@@ -487,12 +423,6 @@ import {
|
|
|
487
423
|
trigger,
|
|
488
424
|
} from '@angular/animations';
|
|
489
425
|
import { ExpandRowService } from '../expand-row.service';
|
|
490
|
-
import { Subscription } from 'rxjs';
|
|
491
|
-
import {
|
|
492
|
-
filter,
|
|
493
|
-
tap,
|
|
494
|
-
} from 'rxjs/operators';
|
|
495
|
-
import { AsyncPipe } from '@angular/common';
|
|
496
426
|
|
|
497
427
|
@Component({
|
|
498
428
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -510,54 +440,46 @@ import { AsyncPipe } from '@angular/common';
|
|
|
510
440
|
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
|
511
441
|
]),
|
|
512
442
|
],
|
|
513
|
-
imports: [PortalModule
|
|
443
|
+
imports: [PortalModule]
|
|
514
444
|
})
|
|
515
|
-
export class ExpandRowContainerComponent<Data extends Record<string, any>>
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
public expandCellContent
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
if (!this.portal) {
|
|
545
|
-
this.portal =
|
|
546
|
-
new TemplatePortal(this.expandCellContent!.template, this.viewContainerRef, { $implicit: this.element });
|
|
547
|
-
}
|
|
548
|
-
}),
|
|
549
|
-
).subscribe();
|
|
550
|
-
}
|
|
551
|
-
}
|
|
445
|
+
export class ExpandRowContainerComponent<Data extends Record<string, any>> {
|
|
446
|
+
private readonly viewContainerRef = inject<ViewContainerRef>(ViewContainerRef);
|
|
447
|
+
readonly expandCell = inject<ExpandRowService<Data>>(ExpandRowService);
|
|
448
|
+
|
|
449
|
+
public readonly element = input.required<Data>();
|
|
450
|
+
|
|
451
|
+
public readonly expandCellContent = contentChild(ExpandRowContentDirective);
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* The portal is created with the first expand of the row and then kept.
|
|
455
|
+
*/
|
|
456
|
+
public readonly portal = linkedSignal<
|
|
457
|
+
{ content: ExpandRowContentDirective<Data> | undefined, expanded: boolean },
|
|
458
|
+
TemplatePortal<ExpandCellContentDirectiveContext<Data>> | null
|
|
459
|
+
>({
|
|
460
|
+
source: () => ({
|
|
461
|
+
content: this.expandCellContent(),
|
|
462
|
+
expanded: this.expandCell.isExpanded(this.element()),
|
|
463
|
+
}),
|
|
464
|
+
computation: ({ content, expanded }, previous) => {
|
|
465
|
+
if (previous?.value) {
|
|
466
|
+
return previous.value;
|
|
467
|
+
}
|
|
468
|
+
if (content && expanded) {
|
|
469
|
+
return new TemplatePortal(content.template, this.viewContainerRef, { $implicit: this.element() });
|
|
470
|
+
}
|
|
471
|
+
return null;
|
|
472
|
+
},
|
|
473
|
+
});
|
|
552
474
|
|
|
553
475
|
}
|
|
554
476
|
</code></pre>
|
|
555
477
|
</div>
|
|
556
478
|
|
|
557
479
|
<div class="tab-pane fade " id="templateData">
|
|
558
|
-
<pre class="line-numbers"><code class="language-html"><div [@detailExpand]="
|
|
480
|
+
<pre class="line-numbers"><code class="language-html"><div [@detailExpand]="expandCell.isExpanded(element()) ? 'expanded' : 'collapsed'" class="element-detail">
|
|
559
481
|
<ng-content></ng-content>
|
|
560
|
-
<ng-template [cdkPortalOutlet]="portal"></ng-template>
|
|
482
|
+
<ng-template [cdkPortalOutlet]="portal()"></ng-template>
|
|
561
483
|
</div>
|
|
562
484
|
</code></pre>
|
|
563
485
|
</div>
|
|
@@ -598,9 +520,9 @@ export class ExpandRowContainerComponent<Data extends Record<string, any&g
|
|
|
598
520
|
<script src="../js/libs/htmlparser.js"></script>
|
|
599
521
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
600
522
|
<script>
|
|
601
|
-
var COMPONENT_TEMPLATE = '<div><div [@detailExpand]="
|
|
523
|
+
var COMPONENT_TEMPLATE = '<div><div [@detailExpand]="expandCell.isExpanded(element()) ? \'expanded\' : \'collapsed\'" class="element-detail"> <ng-content></ng-content> <ng-template [cdkPortalOutlet]="portal()"></ng-template></div></div>'
|
|
602
524
|
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]'}];
|
|
603
|
-
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]'}];
|
|
525
|
+
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]'}];
|
|
604
526
|
var ACTUAL_COMPONENT = {'name': 'ExpandRowContainerComponent'};
|
|
605
527
|
</script>
|
|
606
528
|
<script src="../js/tree.js"></script>
|
|
@@ -189,18 +189,18 @@
|
|
|
189
189
|
<h3 id="index">Index</h3>
|
|
190
190
|
<table class="table table-sm table-bordered index-table">
|
|
191
191
|
<tbody>
|
|
192
|
-
|
|
193
|
-
|
|
194
192
|
<tr>
|
|
195
193
|
<td class="col-md-4">
|
|
196
|
-
<h6><b>
|
|
194
|
+
<h6><b>Properties</b></h6>
|
|
197
195
|
</td>
|
|
198
196
|
</tr>
|
|
199
197
|
<tr>
|
|
200
198
|
<td class="col-md-4">
|
|
201
199
|
<ul class="index-list">
|
|
202
200
|
<li>
|
|
203
|
-
|
|
201
|
+
<span class="modifier">Public</span>
|
|
202
|
+
<span class="modifier">Readonly</span>
|
|
203
|
+
<a href="#icon" >icon</a>
|
|
204
204
|
</li>
|
|
205
205
|
</ul>
|
|
206
206
|
</td>
|
|
@@ -209,39 +209,51 @@
|
|
|
209
209
|
|
|
210
210
|
|
|
211
211
|
|
|
212
|
+
|
|
213
|
+
|
|
212
214
|
</tbody>
|
|
213
215
|
</table>
|
|
214
216
|
</section>
|
|
215
217
|
|
|
216
218
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<section data-compodoc="block-properties">
|
|
225
|
+
|
|
226
|
+
<h3 id="inputs">
|
|
227
|
+
Properties
|
|
228
|
+
</h3>
|
|
229
|
+
<table class="table table-sm table-bordered">
|
|
230
|
+
<tbody>
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<a name="icon"></a>
|
|
234
|
+
<span class="name">
|
|
235
|
+
<span class="modifier">Public</span>
|
|
236
|
+
<span class="modifier">Readonly</span>
|
|
237
|
+
<span ><b>icon</b></span>
|
|
238
|
+
<a href="#icon"><span class="icon ion-ios-link"></span></a>
|
|
239
|
+
</span>
|
|
240
|
+
</td>
|
|
241
|
+
</tr>
|
|
227
242
|
<tr>
|
|
228
243
|
<td class="col-md-4">
|
|
229
|
-
<i>
|
|
230
|
-
|
|
244
|
+
<i>Default value : </i><code>input.required<IconConfig | null>({ alias: "rxap-icon-cell" })</code>
|
|
231
245
|
</td>
|
|
232
246
|
</tr>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
</tbody>
|
|
239
|
-
</table>
|
|
240
|
-
</section>
|
|
241
|
-
|
|
242
|
-
|
|
247
|
+
<tr>
|
|
248
|
+
<td class="col-md-4">
|
|
249
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/cells/icon-cell/icon-cell.component.ts:21</a></div>
|
|
250
|
+
</td>
|
|
251
|
+
</tr>
|
|
243
252
|
|
|
244
253
|
|
|
254
|
+
</tbody>
|
|
255
|
+
</table>
|
|
256
|
+
</section>
|
|
245
257
|
|
|
246
258
|
</div>
|
|
247
259
|
|
|
@@ -250,7 +262,7 @@
|
|
|
250
262
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
251
263
|
ChangeDetectionStrategy,
|
|
252
264
|
Component,
|
|
253
|
-
|
|
265
|
+
input
|
|
254
266
|
} from '@angular/core';
|
|
255
267
|
import { IconConfig } from '@rxap/utilities';
|
|
256
268
|
import { IconDirective } from '@rxap/material-directives/icon';
|
|
@@ -267,16 +279,15 @@ import { MatIconModule } from '@angular/material/icon';
|
|
|
267
279
|
})
|
|
268
280
|
export class IconCellComponent {
|
|
269
281
|
|
|
270
|
-
|
|
271
|
-
public icon!: IconConfig | null;
|
|
282
|
+
public readonly icon = input.required<IconConfig | null>({ alias: "rxap-icon-cell" });
|
|
272
283
|
|
|
273
284
|
}
|
|
274
285
|
</code></pre>
|
|
275
286
|
</div>
|
|
276
287
|
|
|
277
288
|
<div class="tab-pane fade " id="templateData">
|
|
278
|
-
<pre class="line-numbers"><code class="language-html">@if (icon) {
|
|
279
|
-
<mat-icon [rxapIcon]="icon"></mat-icon>
|
|
289
|
+
<pre class="line-numbers"><code class="language-html">@if (icon()) {
|
|
290
|
+
<mat-icon [rxapIcon]="icon()"></mat-icon>
|
|
280
291
|
}
|
|
281
292
|
<ng-content></ng-content>
|
|
282
293
|
</code></pre>
|
|
@@ -314,9 +325,9 @@ export class IconCellComponent {
|
|
|
314
325
|
<script src="../js/libs/htmlparser.js"></script>
|
|
315
326
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
316
327
|
<script>
|
|
317
|
-
var COMPONENT_TEMPLATE = '<div>@if (icon) { <mat-icon [rxapIcon]="icon"></mat-icon>}<ng-content></ng-content></div>'
|
|
328
|
+
var COMPONENT_TEMPLATE = '<div>@if (icon()) { <mat-icon [rxapIcon]="icon()"></mat-icon>}<ng-content></ng-content></div>'
|
|
318
329
|
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]'}];
|
|
319
|
-
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]'}];
|
|
330
|
+
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]'}];
|
|
320
331
|
var ACTUAL_COMPONENT = {'name': 'IconCellComponent'};
|
|
321
332
|
</script>
|
|
322
333
|
<script src="../js/tree.js"></script>
|