@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,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">
|
|
@@ -139,6 +133,10 @@
|
|
|
139
133
|
<table class="table table-sm table-hover metadata">
|
|
140
134
|
<tbody>
|
|
141
135
|
|
|
136
|
+
<tr>
|
|
137
|
+
<td class="col-md-3">changeDetection</td>
|
|
138
|
+
<td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
|
|
139
|
+
</tr>
|
|
142
140
|
|
|
143
141
|
|
|
144
142
|
|
|
@@ -188,10 +186,9 @@
|
|
|
188
186
|
<h3 id="index">Index</h3>
|
|
189
187
|
<table class="table table-sm table-bordered index-table">
|
|
190
188
|
<tbody>
|
|
191
|
-
|
|
192
189
|
<tr>
|
|
193
190
|
<td class="col-md-4">
|
|
194
|
-
<h6><b>
|
|
191
|
+
<h6><b>Properties</b></h6>
|
|
195
192
|
</td>
|
|
196
193
|
</tr>
|
|
197
194
|
<tr>
|
|
@@ -199,15 +196,38 @@
|
|
|
199
196
|
<ul class="index-list">
|
|
200
197
|
<li>
|
|
201
198
|
<span class="modifier">Public</span>
|
|
202
|
-
|
|
199
|
+
<span class="modifier">Readonly</span>
|
|
200
|
+
<a href="#active" >active</a>
|
|
203
201
|
</li>
|
|
204
202
|
<li>
|
|
205
203
|
<span class="modifier">Public</span>
|
|
206
|
-
|
|
204
|
+
<span class="modifier">Readonly</span>
|
|
205
|
+
<a href="#activeInput" >activeInput</a>
|
|
207
206
|
</li>
|
|
208
207
|
<li>
|
|
209
208
|
<span class="modifier">Public</span>
|
|
210
|
-
|
|
209
|
+
<span class="modifier">Readonly</span>
|
|
210
|
+
<a href="#hidden" >hidden</a>
|
|
211
|
+
</li>
|
|
212
|
+
<li>
|
|
213
|
+
<span class="modifier">Public</span>
|
|
214
|
+
<span class="modifier">Readonly</span>
|
|
215
|
+
<a href="#inactive" >inactive</a>
|
|
216
|
+
</li>
|
|
217
|
+
<li>
|
|
218
|
+
<span class="modifier">Public</span>
|
|
219
|
+
<span class="modifier">Readonly</span>
|
|
220
|
+
<a href="#isHidden" >isHidden</a>
|
|
221
|
+
</li>
|
|
222
|
+
<li>
|
|
223
|
+
<span class="modifier">Public</span>
|
|
224
|
+
<span class="modifier">Readonly</span>
|
|
225
|
+
<a href="#name" >name</a>
|
|
226
|
+
</li>
|
|
227
|
+
<li>
|
|
228
|
+
<span class="modifier">Public</span>
|
|
229
|
+
<span class="modifier">Readonly</span>
|
|
230
|
+
<a href="#show" >show</a>
|
|
211
231
|
</li>
|
|
212
232
|
</ul>
|
|
213
233
|
</td>
|
|
@@ -215,21 +235,36 @@
|
|
|
215
235
|
|
|
216
236
|
<tr>
|
|
217
237
|
<td class="col-md-4">
|
|
218
|
-
<h6><b>
|
|
238
|
+
<h6><b>Methods</b></h6>
|
|
219
239
|
</td>
|
|
220
240
|
</tr>
|
|
221
241
|
<tr>
|
|
222
242
|
<td class="col-md-4">
|
|
223
243
|
<ul class="index-list">
|
|
224
244
|
<li>
|
|
225
|
-
|
|
245
|
+
<span class="modifier">Public</span>
|
|
246
|
+
<a href="#activate" >activate</a>
|
|
226
247
|
</li>
|
|
227
248
|
<li>
|
|
228
|
-
|
|
249
|
+
<span class="modifier">Public</span>
|
|
250
|
+
<a href="#deactivate" >deactivate</a>
|
|
229
251
|
</li>
|
|
230
252
|
<li>
|
|
231
|
-
|
|
253
|
+
<span class="modifier">Public</span>
|
|
254
|
+
<a href="#toggle" >toggle</a>
|
|
232
255
|
</li>
|
|
256
|
+
</ul>
|
|
257
|
+
</td>
|
|
258
|
+
</tr>
|
|
259
|
+
|
|
260
|
+
<tr>
|
|
261
|
+
<td class="col-md-4">
|
|
262
|
+
<h6><b>Inputs</b></h6>
|
|
263
|
+
</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<td class="col-md-4">
|
|
267
|
+
<ul class="index-list">
|
|
233
268
|
<li>
|
|
234
269
|
<a href="#name" >name</a>
|
|
235
270
|
</li>
|
|
@@ -254,15 +289,6 @@
|
|
|
254
289
|
<li>
|
|
255
290
|
<a href="#display" >display</a>
|
|
256
291
|
</li>
|
|
257
|
-
<li>
|
|
258
|
-
<a href="#inactive" >inactive</a>
|
|
259
|
-
</li>
|
|
260
|
-
<li>
|
|
261
|
-
<a href="#hidden" >hidden</a>
|
|
262
|
-
</li>
|
|
263
|
-
<li>
|
|
264
|
-
<a href="#show" >show</a>
|
|
265
|
-
</li>
|
|
266
292
|
</ul>
|
|
267
293
|
</td>
|
|
268
294
|
</tr>
|
|
@@ -270,137 +296,9 @@
|
|
|
270
296
|
</table>
|
|
271
297
|
</section>
|
|
272
298
|
|
|
273
|
-
<section data-compodoc="block-constructor">
|
|
274
|
-
<h3 id="constructor">Constructor</h3>
|
|
275
|
-
<table class="table table-sm table-bordered">
|
|
276
|
-
<tbody>
|
|
277
|
-
<tr>
|
|
278
|
-
<td class="col-md-4">
|
|
279
|
-
<code>constructor(_element: ElementRef<HTMLElement>, router: Router)</code>
|
|
280
|
-
</td>
|
|
281
|
-
</tr>
|
|
282
|
-
<tr>
|
|
283
|
-
<td class="col-md-4">
|
|
284
|
-
<div class="io-line">Defined in <a href="" data-line="58" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:58</a></div>
|
|
285
|
-
</td>
|
|
286
|
-
</tr>
|
|
287
|
-
|
|
288
|
-
<tr>
|
|
289
|
-
<td class="col-md-4">
|
|
290
|
-
<div>
|
|
291
|
-
<b>Parameters :</b>
|
|
292
|
-
<table class="params">
|
|
293
|
-
<thead>
|
|
294
|
-
<tr>
|
|
295
|
-
<td>Name</td>
|
|
296
|
-
<td>Type</td>
|
|
297
|
-
<td>Optional</td>
|
|
298
|
-
</tr>
|
|
299
|
-
</thead>
|
|
300
|
-
<tbody>
|
|
301
|
-
<tr>
|
|
302
|
-
<td>_element</td>
|
|
303
|
-
|
|
304
|
-
<td>
|
|
305
|
-
<code>ElementRef<HTMLElement></code>
|
|
306
|
-
</td>
|
|
307
|
-
|
|
308
|
-
<td>
|
|
309
|
-
No
|
|
310
|
-
</td>
|
|
311
|
-
|
|
312
|
-
</tr>
|
|
313
|
-
<tr>
|
|
314
|
-
<td>router</td>
|
|
315
|
-
|
|
316
|
-
<td>
|
|
317
|
-
<code>Router</code>
|
|
318
|
-
</td>
|
|
319
|
-
|
|
320
|
-
<td>
|
|
321
|
-
No
|
|
322
|
-
</td>
|
|
323
|
-
|
|
324
|
-
</tr>
|
|
325
|
-
</tbody>
|
|
326
|
-
</table>
|
|
327
|
-
</div>
|
|
328
|
-
</td>
|
|
329
|
-
</tr>
|
|
330
|
-
</tbody>
|
|
331
|
-
</table>
|
|
332
|
-
</section>
|
|
333
299
|
|
|
334
300
|
<section data-compodoc="block-inputs">
|
|
335
301
|
<h3 id="inputs">Inputs</h3>
|
|
336
|
-
<table class="table table-sm table-bordered">
|
|
337
|
-
<tbody>
|
|
338
|
-
<tr>
|
|
339
|
-
<td class="col-md-4">
|
|
340
|
-
<a name="active"></a>
|
|
341
|
-
<b>active</b>
|
|
342
|
-
</td>
|
|
343
|
-
</tr>
|
|
344
|
-
<tr>
|
|
345
|
-
<td class="col-md-4">
|
|
346
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
347
|
-
|
|
348
|
-
</td>
|
|
349
|
-
</tr>
|
|
350
|
-
<tr>
|
|
351
|
-
<td class="col-md-4">
|
|
352
|
-
<i>Default value : </i><code>true</code>
|
|
353
|
-
</td>
|
|
354
|
-
</tr>
|
|
355
|
-
<tr>
|
|
356
|
-
<td class="col-md-2" colspan="2">
|
|
357
|
-
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:25</a></div>
|
|
358
|
-
</td>
|
|
359
|
-
</tr>
|
|
360
|
-
</tbody>
|
|
361
|
-
</table>
|
|
362
|
-
<table class="table table-sm table-bordered">
|
|
363
|
-
<tbody>
|
|
364
|
-
<tr>
|
|
365
|
-
<td class="col-md-4">
|
|
366
|
-
<a name="hidden"></a>
|
|
367
|
-
<b>hidden</b>
|
|
368
|
-
</td>
|
|
369
|
-
</tr>
|
|
370
|
-
<tr>
|
|
371
|
-
<td class="col-md-4">
|
|
372
|
-
<i>Type : </i> <code>boolean | string</code>
|
|
373
|
-
|
|
374
|
-
</td>
|
|
375
|
-
</tr>
|
|
376
|
-
<tr>
|
|
377
|
-
<td class="col-md-2" colspan="2">
|
|
378
|
-
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:41</a></div>
|
|
379
|
-
</td>
|
|
380
|
-
</tr>
|
|
381
|
-
</tbody>
|
|
382
|
-
</table>
|
|
383
|
-
<table class="table table-sm table-bordered">
|
|
384
|
-
<tbody>
|
|
385
|
-
<tr>
|
|
386
|
-
<td class="col-md-4">
|
|
387
|
-
<a name="inactive"></a>
|
|
388
|
-
<b>inactive</b>
|
|
389
|
-
</td>
|
|
390
|
-
</tr>
|
|
391
|
-
<tr>
|
|
392
|
-
<td class="col-md-4">
|
|
393
|
-
<i>Type : </i> <code>boolean | string</code>
|
|
394
|
-
|
|
395
|
-
</td>
|
|
396
|
-
</tr>
|
|
397
|
-
<tr>
|
|
398
|
-
<td class="col-md-2" colspan="2">
|
|
399
|
-
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:36</a></div>
|
|
400
|
-
</td>
|
|
401
|
-
</tr>
|
|
402
|
-
</tbody>
|
|
403
|
-
</table>
|
|
404
302
|
<table class="table table-sm table-bordered">
|
|
405
303
|
<tbody>
|
|
406
304
|
<tr>
|
|
@@ -409,12 +307,6 @@
|
|
|
409
307
|
<b>name</b>
|
|
410
308
|
</td>
|
|
411
309
|
</tr>
|
|
412
|
-
<tr>
|
|
413
|
-
<td class="col-md-4">
|
|
414
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
415
|
-
|
|
416
|
-
</td>
|
|
417
|
-
</tr>
|
|
418
310
|
<tr>
|
|
419
311
|
<td class="col-md-4">
|
|
420
312
|
<i>Required : </i> <b>true</b>
|
|
@@ -422,7 +314,7 @@
|
|
|
422
314
|
</tr>
|
|
423
315
|
<tr>
|
|
424
316
|
<td class="col-md-2" colspan="2">
|
|
425
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
317
|
+
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:16</a></div>
|
|
426
318
|
</td>
|
|
427
319
|
</tr>
|
|
428
320
|
</tbody>
|
|
@@ -437,13 +329,12 @@
|
|
|
437
329
|
</tr>
|
|
438
330
|
<tr>
|
|
439
331
|
<td class="col-md-4">
|
|
440
|
-
<i>
|
|
441
|
-
|
|
332
|
+
<i>Default value : </i><code>true</code>
|
|
442
333
|
</td>
|
|
443
334
|
</tr>
|
|
444
335
|
<tr>
|
|
445
336
|
<td class="col-md-2" colspan="2">
|
|
446
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
337
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:27</a></div>
|
|
447
338
|
</td>
|
|
448
339
|
</tr>
|
|
449
340
|
</tbody>
|
|
@@ -479,8 +370,8 @@
|
|
|
479
370
|
|
|
480
371
|
<tr>
|
|
481
372
|
<td class="col-md-4">
|
|
482
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
483
|
-
class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:
|
|
373
|
+
<div class="io-line">Defined in <a href="" data-line="71"
|
|
374
|
+
class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:71</a></div>
|
|
484
375
|
</td>
|
|
485
376
|
</tr>
|
|
486
377
|
|
|
@@ -518,8 +409,8 @@
|
|
|
518
409
|
|
|
519
410
|
<tr>
|
|
520
411
|
<td class="col-md-4">
|
|
521
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
522
|
-
class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:
|
|
412
|
+
<div class="io-line">Defined in <a href="" data-line="76"
|
|
413
|
+
class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:76</a></div>
|
|
523
414
|
</td>
|
|
524
415
|
</tr>
|
|
525
416
|
|
|
@@ -557,8 +448,8 @@
|
|
|
557
448
|
|
|
558
449
|
<tr>
|
|
559
450
|
<td class="col-md-4">
|
|
560
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
561
|
-
class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:
|
|
451
|
+
<div class="io-line">Defined in <a href="" data-line="66"
|
|
452
|
+
class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:66</a></div>
|
|
562
453
|
</td>
|
|
563
454
|
</tr>
|
|
564
455
|
|
|
@@ -575,230 +466,252 @@
|
|
|
575
466
|
</tbody>
|
|
576
467
|
</table>
|
|
577
468
|
</section>
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
<h3 id="
|
|
581
|
-
|
|
469
|
+
<section data-compodoc="block-properties">
|
|
470
|
+
|
|
471
|
+
<h3 id="inputs">
|
|
472
|
+
Properties
|
|
582
473
|
</h3>
|
|
583
|
-
|
|
584
|
-
|
|
474
|
+
<table class="table table-sm table-bordered">
|
|
475
|
+
<tbody>
|
|
476
|
+
<tr>
|
|
477
|
+
<td class="col-md-4">
|
|
478
|
+
<a name="active"></a>
|
|
479
|
+
<span class="name">
|
|
480
|
+
<span class="modifier">Public</span>
|
|
481
|
+
<span class="modifier">Readonly</span>
|
|
482
|
+
<span ><b>active</b></span>
|
|
483
|
+
<a href="#active"><span class="icon ion-ios-link"></span></a>
|
|
484
|
+
</span>
|
|
485
|
+
</td>
|
|
486
|
+
</tr>
|
|
585
487
|
<tr>
|
|
586
488
|
<td class="col-md-4">
|
|
587
|
-
<
|
|
588
|
-
|
|
489
|
+
<i>Default value : </i><code>linkedSignal(() => {
|
|
490
|
+
const cachedValue = this.cachedValue();
|
|
491
|
+
if (cachedValue !== null) {
|
|
492
|
+
return cachedValue;
|
|
493
|
+
}
|
|
494
|
+
return this.activeInput() && !this.inactive();
|
|
495
|
+
})</code>
|
|
589
496
|
</td>
|
|
590
497
|
</tr>
|
|
498
|
+
<tr>
|
|
499
|
+
<td class="col-md-4">
|
|
500
|
+
<div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:33</a></div>
|
|
501
|
+
</td>
|
|
502
|
+
</tr>
|
|
591
503
|
|
|
504
|
+
<tr>
|
|
505
|
+
<td class="col-md-4">
|
|
506
|
+
<div class="io-description"><p>The current active state. Initialised from the active/inactive inputs
|
|
507
|
+
and the cached value, can be changed with toggle/activate/deactivate.</p>
|
|
508
|
+
</div>
|
|
509
|
+
</td>
|
|
510
|
+
</tr>
|
|
511
|
+
|
|
512
|
+
</tbody>
|
|
513
|
+
</table>
|
|
514
|
+
<table class="table table-sm table-bordered">
|
|
515
|
+
<tbody>
|
|
516
|
+
<tr>
|
|
517
|
+
<td class="col-md-4">
|
|
518
|
+
<a name="activeInput"></a>
|
|
519
|
+
<span class="name">
|
|
520
|
+
<span class="modifier">Public</span>
|
|
521
|
+
<span class="modifier">Readonly</span>
|
|
522
|
+
<span ><b>activeInput</b></span>
|
|
523
|
+
<a href="#activeInput"><span class="icon ion-ios-link"></span></a>
|
|
524
|
+
</span>
|
|
525
|
+
</td>
|
|
526
|
+
</tr>
|
|
592
527
|
<tr>
|
|
593
528
|
<td class="col-md-4">
|
|
594
|
-
<
|
|
529
|
+
<i>Default value : </i><code>input(true, { alias: 'active' })</code>
|
|
595
530
|
</td>
|
|
596
531
|
</tr>
|
|
597
|
-
<tr>
|
|
598
|
-
<td class="col-md-4">
|
|
599
|
-
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:31</a></div>
|
|
600
|
-
</td>
|
|
601
|
-
</tr>
|
|
602
532
|
<tr>
|
|
603
533
|
<td class="col-md-4">
|
|
604
|
-
<div class="io-
|
|
605
|
-
select's trigger.</p>
|
|
606
|
-
</div>
|
|
607
|
-
|
|
608
|
-
<div class="io-description">
|
|
609
|
-
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
610
|
-
|
|
611
|
-
</div>
|
|
534
|
+
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:21</a></div>
|
|
612
535
|
</td>
|
|
613
536
|
</tr>
|
|
614
537
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
538
|
+
<tr>
|
|
539
|
+
<td class="col-md-4">
|
|
540
|
+
<div class="io-description"><p>The initial active state. Use the inactive input as shorthand for active = false</p>
|
|
541
|
+
</div>
|
|
542
|
+
</td>
|
|
543
|
+
</tr>
|
|
544
|
+
|
|
545
|
+
</tbody>
|
|
546
|
+
</table>
|
|
547
|
+
<table class="table table-sm table-bordered">
|
|
548
|
+
<tbody>
|
|
549
|
+
<tr>
|
|
550
|
+
<td class="col-md-4">
|
|
551
|
+
<a name="hidden"></a>
|
|
552
|
+
<span class="name">
|
|
553
|
+
<span class="modifier">Public</span>
|
|
554
|
+
<span class="modifier">Readonly</span>
|
|
555
|
+
<span ><b>hidden</b></span>
|
|
556
|
+
<a href="#hidden"><span class="icon ion-ios-link"></span></a>
|
|
557
|
+
</span>
|
|
558
|
+
</td>
|
|
559
|
+
</tr>
|
|
619
560
|
<tr>
|
|
620
561
|
<td class="col-md-4">
|
|
621
|
-
<
|
|
622
|
-
<span class="name"><b>inactive</b><a href="#inactive"><span class="icon ion-ios-link"></span></a></span>
|
|
562
|
+
<i>Default value : </i><code>input(false, { transform: coerceBoolean })</code>
|
|
623
563
|
</td>
|
|
624
564
|
</tr>
|
|
565
|
+
<tr>
|
|
566
|
+
<td class="col-md-4">
|
|
567
|
+
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:25</a></div>
|
|
568
|
+
</td>
|
|
569
|
+
</tr>
|
|
625
570
|
|
|
626
571
|
|
|
572
|
+
</tbody>
|
|
573
|
+
</table>
|
|
574
|
+
<table class="table table-sm table-bordered">
|
|
575
|
+
<tbody>
|
|
576
|
+
<tr>
|
|
577
|
+
<td class="col-md-4">
|
|
578
|
+
<a name="inactive"></a>
|
|
579
|
+
<span class="name">
|
|
580
|
+
<span class="modifier">Public</span>
|
|
581
|
+
<span class="modifier">Readonly</span>
|
|
582
|
+
<span ><b>inactive</b></span>
|
|
583
|
+
<a href="#inactive"><span class="icon ion-ios-link"></span></a>
|
|
584
|
+
</span>
|
|
585
|
+
</td>
|
|
586
|
+
</tr>
|
|
627
587
|
<tr>
|
|
628
588
|
<td class="col-md-4">
|
|
629
|
-
<
|
|
589
|
+
<i>Default value : </i><code>input(false, { transform: coerceBoolean })</code>
|
|
630
590
|
</td>
|
|
631
591
|
</tr>
|
|
632
|
-
<tr>
|
|
633
|
-
<td class="col-md-4">
|
|
634
|
-
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:36</a></div>
|
|
635
|
-
</td>
|
|
636
|
-
</tr>
|
|
637
592
|
<tr>
|
|
638
593
|
<td class="col-md-4">
|
|
639
|
-
|
|
640
|
-
<div class="io-description">
|
|
641
|
-
<b>Parameters :</b>
|
|
642
|
-
<table class="params">
|
|
643
|
-
<thead>
|
|
644
|
-
<tr>
|
|
645
|
-
<td>Name</td>
|
|
646
|
-
<td>Type</td>
|
|
647
|
-
<td>Optional</td>
|
|
648
|
-
</tr>
|
|
649
|
-
</thead>
|
|
650
|
-
<tbody>
|
|
651
|
-
<tr>
|
|
652
|
-
<td>value</td>
|
|
653
|
-
|
|
654
|
-
<td>
|
|
655
|
-
<code>boolean | string</code>
|
|
656
|
-
</td>
|
|
657
|
-
|
|
658
|
-
<td>
|
|
659
|
-
No
|
|
660
|
-
</td>
|
|
661
|
-
|
|
662
|
-
</tr>
|
|
663
|
-
</tbody>
|
|
664
|
-
</table>
|
|
665
|
-
</div>
|
|
666
|
-
<div>
|
|
667
|
-
</div>
|
|
668
|
-
<div class="io-description">
|
|
669
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
670
|
-
|
|
671
|
-
</div>
|
|
594
|
+
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:23</a></div>
|
|
672
595
|
</td>
|
|
673
596
|
</tr>
|
|
674
|
-
</tbody>
|
|
675
|
-
</table>
|
|
676
|
-
<table class="table table-sm table-bordered">
|
|
677
|
-
<tbody>
|
|
678
|
-
<tr>
|
|
679
|
-
<td class="col-md-4">
|
|
680
|
-
<a name="hidden"></a>
|
|
681
|
-
<span class="name"><b>hidden</b><a href="#hidden"><span class="icon ion-ios-link"></span></a></span>
|
|
682
|
-
</td>
|
|
683
|
-
</tr>
|
|
684
597
|
|
|
598
|
+
|
|
599
|
+
</tbody>
|
|
600
|
+
</table>
|
|
601
|
+
<table class="table table-sm table-bordered">
|
|
602
|
+
<tbody>
|
|
603
|
+
<tr>
|
|
604
|
+
<td class="col-md-4">
|
|
605
|
+
<a name="isHidden"></a>
|
|
606
|
+
<span class="name">
|
|
607
|
+
<span class="modifier">Public</span>
|
|
608
|
+
<span class="modifier">Readonly</span>
|
|
609
|
+
<span ><b>isHidden</b></span>
|
|
610
|
+
<a href="#isHidden"><span class="icon ion-ios-link"></span></a>
|
|
611
|
+
</span>
|
|
612
|
+
</td>
|
|
613
|
+
</tr>
|
|
685
614
|
<tr>
|
|
686
615
|
<td class="col-md-4">
|
|
687
|
-
<
|
|
616
|
+
<i>Default value : </i><code>computed(() => this.hidden() || !this.show())</code>
|
|
688
617
|
</td>
|
|
689
618
|
</tr>
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
619
|
+
<tr>
|
|
620
|
+
<td class="col-md-4">
|
|
621
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:41</a></div>
|
|
622
|
+
</td>
|
|
623
|
+
</tr>
|
|
695
624
|
|
|
625
|
+
|
|
626
|
+
</tbody>
|
|
627
|
+
</table>
|
|
628
|
+
<table class="table table-sm table-bordered">
|
|
629
|
+
<tbody>
|
|
630
|
+
<tr>
|
|
631
|
+
<td class="col-md-4">
|
|
632
|
+
<a name="name"></a>
|
|
633
|
+
<span class="name">
|
|
634
|
+
<span class="modifier">Public</span>
|
|
635
|
+
<span class="modifier">Readonly</span>
|
|
636
|
+
<span ><b>name</b></span>
|
|
637
|
+
<a href="#name"><span class="icon ion-ios-link"></span></a>
|
|
638
|
+
</span>
|
|
639
|
+
</td>
|
|
640
|
+
</tr>
|
|
641
|
+
<tr>
|
|
642
|
+
<td class="col-md-4">
|
|
643
|
+
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:16</a></div>
|
|
644
|
+
</td>
|
|
645
|
+
</tr>
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
</tbody>
|
|
649
|
+
</table>
|
|
650
|
+
<table class="table table-sm table-bordered">
|
|
651
|
+
<tbody>
|
|
652
|
+
<tr>
|
|
653
|
+
<td class="col-md-4">
|
|
654
|
+
<a name="show"></a>
|
|
655
|
+
<span class="name">
|
|
656
|
+
<span class="modifier">Public</span>
|
|
657
|
+
<span class="modifier">Readonly</span>
|
|
658
|
+
<span ><b>show</b></span>
|
|
659
|
+
<a href="#show"><span class="icon ion-ios-link"></span></a>
|
|
660
|
+
</span>
|
|
661
|
+
</td>
|
|
662
|
+
</tr>
|
|
696
663
|
<tr>
|
|
697
664
|
<td class="col-md-4">
|
|
698
|
-
<
|
|
665
|
+
<i>Default value : </i><code>true</code>
|
|
699
666
|
</td>
|
|
700
667
|
</tr>
|
|
701
|
-
<tr>
|
|
702
|
-
<td class="col-md-4">
|
|
703
|
-
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:41</a></div>
|
|
704
|
-
</td>
|
|
705
|
-
</tr>
|
|
706
668
|
<tr>
|
|
707
669
|
<td class="col-md-4">
|
|
708
|
-
|
|
709
|
-
<div class="io-description">
|
|
710
|
-
<b>Parameters :</b>
|
|
711
|
-
<table class="params">
|
|
712
|
-
<thead>
|
|
713
|
-
<tr>
|
|
714
|
-
<td>Name</td>
|
|
715
|
-
<td>Type</td>
|
|
716
|
-
<td>Optional</td>
|
|
717
|
-
</tr>
|
|
718
|
-
</thead>
|
|
719
|
-
<tbody>
|
|
720
|
-
<tr>
|
|
721
|
-
<td>value</td>
|
|
722
|
-
|
|
723
|
-
<td>
|
|
724
|
-
<code>boolean | string</code>
|
|
725
|
-
</td>
|
|
726
|
-
|
|
727
|
-
<td>
|
|
728
|
-
No
|
|
729
|
-
</td>
|
|
730
|
-
|
|
731
|
-
</tr>
|
|
732
|
-
</tbody>
|
|
733
|
-
</table>
|
|
734
|
-
</div>
|
|
735
|
-
<div>
|
|
736
|
-
</div>
|
|
737
|
-
<div class="io-description">
|
|
738
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
739
|
-
|
|
740
|
-
</div>
|
|
670
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:27</a></div>
|
|
741
671
|
</td>
|
|
742
672
|
</tr>
|
|
743
|
-
|
|
744
|
-
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
</tbody>
|
|
676
|
+
</table>
|
|
677
|
+
</section>
|
|
678
|
+
|
|
679
|
+
<section data-compodoc="block-accessors">
|
|
680
|
+
<h3 id="accessors">
|
|
681
|
+
Accessors
|
|
682
|
+
</h3>
|
|
745
683
|
<table class="table table-sm table-bordered">
|
|
746
684
|
<tbody>
|
|
747
685
|
<tr>
|
|
748
686
|
<td class="col-md-4">
|
|
749
|
-
<a name="
|
|
750
|
-
<span class="name"><b>
|
|
687
|
+
<a name="display"></a>
|
|
688
|
+
<span class="name"><b>display</b><a href="#display"><span class="icon ion-ios-link"></span></a></span>
|
|
751
689
|
</td>
|
|
752
690
|
</tr>
|
|
753
691
|
|
|
754
|
-
|
|
755
692
|
<tr>
|
|
756
693
|
<td class="col-md-4">
|
|
757
|
-
<span class="accessor"><b>
|
|
694
|
+
<span class="accessor"><b>get</b><code>display()</code></span>
|
|
758
695
|
</td>
|
|
759
696
|
</tr>
|
|
760
697
|
<tr>
|
|
761
698
|
<td class="col-md-4">
|
|
762
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
699
|
+
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/lib/table-column-menu/table-column-option/table-column-option.component.ts:47</a></div>
|
|
763
700
|
</td>
|
|
764
701
|
</tr>
|
|
765
702
|
<tr>
|
|
766
703
|
<td class="col-md-4">
|
|
704
|
+
<div class="io-description"><p>The displayed value of the option. It is necessary to show the selected option in the
|
|
705
|
+
select's trigger.</p>
|
|
706
|
+
</div>
|
|
767
707
|
|
|
768
708
|
<div class="io-description">
|
|
769
|
-
|
|
770
|
-
<table class="params">
|
|
771
|
-
<thead>
|
|
772
|
-
<tr>
|
|
773
|
-
<td>Name</td>
|
|
774
|
-
<td>Type</td>
|
|
775
|
-
<td>Optional</td>
|
|
776
|
-
</tr>
|
|
777
|
-
</thead>
|
|
778
|
-
<tbody>
|
|
779
|
-
<tr>
|
|
780
|
-
<td>value</td>
|
|
781
|
-
|
|
782
|
-
<td>
|
|
783
|
-
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
784
|
-
</td>
|
|
785
|
-
|
|
786
|
-
<td>
|
|
787
|
-
No
|
|
788
|
-
</td>
|
|
789
|
-
|
|
790
|
-
</tr>
|
|
791
|
-
</tbody>
|
|
792
|
-
</table>
|
|
793
|
-
</div>
|
|
794
|
-
<div>
|
|
795
|
-
</div>
|
|
796
|
-
<div class="io-description">
|
|
797
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
709
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
798
710
|
|
|
799
711
|
</div>
|
|
800
712
|
</td>
|
|
801
713
|
</tr>
|
|
714
|
+
|
|
802
715
|
</tbody>
|
|
803
716
|
</table>
|
|
804
717
|
</section>
|
|
@@ -806,94 +719,83 @@ select's trigger.</p>
|
|
|
806
719
|
|
|
807
720
|
|
|
808
721
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
809
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
810
|
-
Component,
|
|
811
|
-
ElementRef,
|
|
812
|
-
Inject,
|
|
813
|
-
Input,
|
|
814
|
-
OnInit,
|
|
815
|
-
} from '@angular/core';
|
|
722
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, ElementRef, computed, input, inject, linkedSignal } from '@angular/core';
|
|
816
723
|
import { Router } from '@angular/router';
|
|
817
|
-
import {
|
|
818
|
-
coerceBoolean,
|
|
819
|
-
Required,
|
|
820
|
-
} from '@rxap/utilities';
|
|
724
|
+
import { coerceBoolean } from '@rxap/utilities';
|
|
821
725
|
|
|
822
726
|
@Component({
|
|
823
727
|
selector: 'rxap-table-column-option',
|
|
824
728
|
templateUrl: './table-column-option.component.html',
|
|
825
729
|
styleUrls: [ './table-column-option.component.css' ],
|
|
730
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
826
731
|
standalone: true,
|
|
827
732
|
})
|
|
828
|
-
export class TableColumnOptionComponent
|
|
829
|
-
|
|
830
|
-
|
|
733
|
+
export class TableColumnOptionComponent {
|
|
734
|
+
private _element = inject<ElementRef<HTMLElement>>(ElementRef);
|
|
735
|
+
private readonly router = inject(Router);
|
|
831
736
|
|
|
832
|
-
|
|
833
|
-
public active = true;
|
|
737
|
+
public readonly name = input.required<string>();
|
|
834
738
|
|
|
835
739
|
/**
|
|
836
|
-
* The
|
|
837
|
-
* select's trigger.
|
|
740
|
+
* The initial active state. Use the inactive input as shorthand for active = false
|
|
838
741
|
*/
|
|
839
|
-
|
|
840
|
-
return (this._element.nativeElement.textContent || '').trim();
|
|
841
|
-
}
|
|
742
|
+
public readonly activeInput = input(true, { alias: 'active' });
|
|
842
743
|
|
|
843
|
-
|
|
844
|
-
public set inactive(value: boolean | '') {
|
|
845
|
-
this.active = !coerceBoolean(value);
|
|
846
|
-
}
|
|
744
|
+
public readonly inactive = input(false, { transform: coerceBoolean });
|
|
847
745
|
|
|
848
|
-
|
|
849
|
-
public set hidden(value: boolean | '') {
|
|
850
|
-
this._hidden = coerceBoolean(value);
|
|
851
|
-
}
|
|
746
|
+
public readonly hidden = input(false, { transform: coerceBoolean });
|
|
852
747
|
|
|
853
|
-
public
|
|
854
|
-
return this._hidden;
|
|
855
|
-
}
|
|
748
|
+
public readonly show = input<boolean>(true);
|
|
856
749
|
|
|
857
|
-
|
|
750
|
+
/**
|
|
751
|
+
* The current active state. Initialised from the active/inactive inputs
|
|
752
|
+
* and the cached value, can be changed with toggle/activate/deactivate.
|
|
753
|
+
*/
|
|
754
|
+
public readonly active = linkedSignal(() => {
|
|
755
|
+
const cachedValue = this.cachedValue();
|
|
756
|
+
if (cachedValue !== null) {
|
|
757
|
+
return cachedValue;
|
|
758
|
+
}
|
|
759
|
+
return this.activeInput() && !this.inactive();
|
|
760
|
+
});
|
|
858
761
|
|
|
859
|
-
|
|
860
|
-
public set show(value: boolean) {
|
|
861
|
-
this._hidden = !value;
|
|
862
|
-
}
|
|
762
|
+
public readonly isHidden = computed(() => this.hidden() || !this.show());
|
|
863
763
|
|
|
864
|
-
|
|
865
|
-
|
|
764
|
+
/**
|
|
765
|
+
* The displayed value of the option. It is necessary to show the selected option in the
|
|
766
|
+
* select's trigger.
|
|
767
|
+
*/
|
|
768
|
+
get display(): string {
|
|
769
|
+
return (this._element.nativeElement.textContent || '').trim();
|
|
866
770
|
}
|
|
867
771
|
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
private _element: ElementRef<HTMLElement>,
|
|
871
|
-
private readonly router: Router,
|
|
872
|
-
) {
|
|
772
|
+
private get cacheId(): string {
|
|
773
|
+
return this.router.url + '--' + this.name();
|
|
873
774
|
}
|
|
874
775
|
|
|
875
|
-
|
|
776
|
+
private cachedValue(): boolean | null {
|
|
876
777
|
const cachedValue = localStorage.getItem(this.cacheId);
|
|
877
778
|
if (cachedValue === 'true') {
|
|
878
|
-
|
|
779
|
+
return true;
|
|
879
780
|
}
|
|
880
781
|
if (cachedValue === 'false') {
|
|
881
|
-
|
|
782
|
+
return false;
|
|
882
783
|
}
|
|
784
|
+
return null;
|
|
883
785
|
}
|
|
884
786
|
|
|
885
787
|
public toggle(): void {
|
|
886
|
-
this.active = !
|
|
887
|
-
localStorage.setItem(this.cacheId, this.active ? 'true' : 'false');
|
|
788
|
+
this.active.update(active => !active);
|
|
789
|
+
localStorage.setItem(this.cacheId, this.active() ? 'true' : 'false');
|
|
888
790
|
}
|
|
889
791
|
|
|
890
792
|
public activate() {
|
|
891
|
-
this.active
|
|
793
|
+
this.active.set(true);
|
|
892
794
|
localStorage.setItem(this.cacheId, 'true');
|
|
893
795
|
}
|
|
894
796
|
|
|
895
797
|
public deactivate() {
|
|
896
|
-
this.active
|
|
798
|
+
this.active.set(false);
|
|
897
799
|
localStorage.setItem(this.cacheId, 'false');
|
|
898
800
|
}
|
|
899
801
|
}
|
|
@@ -939,7 +841,7 @@ export class TableColumnOptionComponent implements OnInit {
|
|
|
939
841
|
<script>
|
|
940
842
|
var COMPONENT_TEMPLATE = '<div><ng-content></ng-content></div>'
|
|
941
843
|
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]'}];
|
|
942
|
-
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]'}];
|
|
844
|
+
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]'}];
|
|
943
845
|
var ACTUAL_COMPONENT = {'name': 'TableColumnOptionComponent'};
|
|
944
846
|
</script>
|
|
945
847
|
<script src="../js/tree.js"></script>
|