@limetech/lime-elements 36.1.0-next.9 → 36.1.0
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/dist/cjs/{checkbox.template-b6c6562c.js → checkbox.template-ac867c17.js} +1 -1
- package/dist/cjs/{index-2a28697b.js → index-287e25e0.js} +424 -246
- package/dist/cjs/lime-elements.cjs.js +3 -3
- package/dist/cjs/limel-badge.cjs.entry.js +2 -1
- package/dist/cjs/limel-banner.cjs.entry.js +3 -1
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -8
- package/dist/cjs/{limel-button.cjs.entry.js → limel-button_2.cjs.entry.js} +117 -21
- package/dist/cjs/limel-checkbox.cjs.entry.js +10 -26
- package/dist/cjs/limel-chip-set.cjs.entry.js +21 -52
- package/dist/cjs/{limel-linear-progress.cjs.entry.js → limel-circular-progress_2.cjs.entry.js} +34 -7
- package/dist/cjs/limel-code-editor.cjs.entry.js +110 -97
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +4 -5
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +5 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +8 -2
- package/dist/cjs/limel-config.cjs.entry.js +2 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +15 -33
- package/dist/cjs/limel-dialog.cjs.entry.js +4 -12
- package/dist/cjs/limel-dock-button.cjs.entry.js +5 -15
- package/dist/cjs/limel-dock.cjs.entry.js +8 -40
- package/dist/cjs/limel-file.cjs.entry.js +10 -24
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +149 -48
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -13
- package/dist/cjs/limel-form.cjs.entry.js +327 -326
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +5 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +3 -8
- package/dist/cjs/limel-icon.cjs.entry.js +4 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +95 -0
- package/dist/cjs/limel-input-field.cjs.entry.js +27 -60
- package/dist/cjs/limel-list_2.cjs.entry.js +10 -21
- package/dist/cjs/limel-menu-list.cjs.entry.js +7 -14
- package/dist/cjs/limel-picker.cjs.entry.js +14 -39
- package/dist/cjs/limel-popover_4.cjs.entry.js +13 -12
- package/dist/cjs/limel-portal.cjs.entry.js +63 -73
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +4 -13
- package/dist/cjs/limel-progress-flow.cjs.entry.js +4 -20
- package/dist/cjs/limel-select.cjs.entry.js +19 -31
- package/dist/cjs/limel-shortcut.cjs.entry.js +52 -0
- package/dist/cjs/limel-slider.cjs.entry.js +12 -33
- package/dist/cjs/limel-snackbar.cjs.entry.js +7 -5
- package/dist/cjs/limel-spinner.cjs.entry.js +1 -7
- package/dist/cjs/limel-split-button.cjs.entry.js +35 -0
- package/dist/cjs/limel-switch.cjs.entry.js +6 -19
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -5
- package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -5
- package/dist/cjs/limel-table.cjs.entry.js +16 -28
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{translations-5a8d7f6c.js → translations-ca7279bc.js} +6 -0
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/badge/badge.js +35 -26
- package/dist/collection/components/banner/banner.js +88 -83
- package/dist/collection/components/button/button.css +4 -1
- package/dist/collection/components/button/button.js +148 -160
- package/dist/collection/components/button-group/button-group.js +81 -79
- package/dist/collection/components/checkbox/checkbox.js +172 -176
- package/dist/collection/components/checkbox/checkbox.template.js +15 -23
- package/dist/collection/components/chip-set/chip-set.js +486 -528
- package/dist/collection/components/circular-progress/circular-progress.css +27 -5
- package/dist/collection/components/circular-progress/circular-progress.js +129 -113
- package/dist/collection/components/code-editor/code-editor.js +178 -182
- package/dist/collection/components/collapsible-section/collapsible-section.js +120 -124
- package/dist/collection/components/color-picker/color-picker-palette.js +102 -92
- package/dist/collection/components/color-picker/color-picker.js +143 -131
- package/dist/collection/components/config/config.js +21 -17
- package/dist/collection/components/date-picker/date-picker.js +254 -261
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +591 -166
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +150 -143
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -3
- package/dist/collection/components/dialog/dialog.css +7 -1
- package/dist/collection/components/dialog/dialog.js +134 -142
- package/dist/collection/components/dock/dock-button/dock-button.js +138 -141
- package/dist/collection/components/dock/dock.js +204 -233
- package/dist/collection/components/file/file.js +187 -191
- package/dist/collection/components/flex-container/flex-container.js +96 -102
- package/dist/collection/components/form/form.js +158 -150
- package/dist/collection/components/form/widgets/code-editor.js +2 -0
- package/dist/collection/components/grid/grid.js +11 -7
- package/dist/collection/components/header/header.js +89 -87
- package/dist/collection/components/icon/icon.js +79 -66
- package/dist/collection/components/icon-button/icon-button.js +85 -85
- package/dist/collection/components/info-tile/info-tile.css +310 -0
- package/dist/collection/components/info-tile/info-tile.js +294 -0
- package/dist/collection/components/info-tile/info-tile.types.js +1 -0
- package/dist/collection/components/input-field/input-field.css +3 -0
- package/dist/collection/components/input-field/input-field.js +482 -523
- package/dist/collection/components/linear-progress/linear-progress.js +57 -61
- package/dist/collection/components/list/list-renderer.js +3 -12
- package/dist/collection/components/list/list.css +11 -116
- package/dist/collection/components/list/list.js +167 -166
- package/dist/collection/components/list/radio-button/radio-button.template.js +2 -8
- package/dist/collection/components/menu/menu.js +183 -195
- package/dist/collection/components/menu-list/menu-list-renderer.js +2 -9
- package/dist/collection/components/menu-list/menu-list.css +11 -116
- package/dist/collection/components/menu-list/menu-list.js +149 -146
- package/dist/collection/components/menu-surface/menu-surface.js +69 -64
- package/dist/collection/components/picker/picker.js +412 -427
- package/dist/collection/components/popover/popover.js +79 -74
- package/dist/collection/components/popover-surface/popover-surface.js +34 -25
- package/dist/collection/components/portal/portal.js +145 -158
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +90 -94
- package/dist/collection/components/progress-flow/progress-flow.js +93 -101
- package/dist/collection/components/select/select.css +8 -7
- package/dist/collection/components/select/select.js +206 -211
- package/dist/collection/components/select/select.template.js +17 -26
- package/dist/collection/components/shortcut/shortcut.css +91 -0
- package/dist/collection/components/shortcut/shortcut.js +161 -0
- package/dist/collection/components/slider/slider.js +233 -264
- package/dist/collection/components/snackbar/snackbar.js +175 -169
- package/dist/collection/components/spinner/spinner.js +56 -85
- package/dist/collection/components/split-button/split-button.css +84 -0
- package/dist/collection/components/split-button/split-button.js +176 -0
- package/dist/collection/components/switch/switch.js +117 -129
- package/dist/collection/components/tab-bar/tab-bar.js +87 -92
- package/dist/collection/components/tab-panel/tab-panel.js +64 -61
- package/dist/collection/components/table/table.js +447 -457
- package/dist/collection/components/tooltip/tooltip-content.js +70 -61
- package/dist/collection/components/tooltip/tooltip.js +96 -91
- package/dist/collection/global/shared-types/link.types.js +1 -0
- package/dist/collection/style/internal/z-index.scss +0 -5
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/esm/{checkbox.template-2f1bbc98.js → checkbox.template-fc7fcd06.js} +1 -1
- package/dist/esm/{index-11cd0b60.js → index-cdfd351d.js} +424 -246
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-badge.entry.js +2 -1
- package/dist/esm/limel-banner.entry.js +3 -1
- package/dist/esm/limel-button-group.entry.js +3 -8
- package/dist/esm/{limel-button.entry.js → limel-button_2.entry.js} +117 -22
- package/dist/esm/limel-checkbox.entry.js +10 -26
- package/dist/esm/limel-chip-set.entry.js +21 -52
- package/dist/esm/{limel-linear-progress.entry.js → limel-circular-progress_2.entry.js} +34 -8
- package/dist/esm/limel-code-editor.entry.js +110 -97
- package/dist/esm/limel-collapsible-section.entry.js +4 -5
- package/dist/esm/limel-color-picker-palette.entry.js +5 -1
- package/dist/esm/limel-color-picker.entry.js +8 -2
- package/dist/esm/limel-config.entry.js +2 -1
- package/dist/esm/limel-date-picker.entry.js +15 -33
- package/dist/esm/limel-dialog.entry.js +4 -12
- package/dist/esm/limel-dock-button.entry.js +5 -15
- package/dist/esm/limel-dock.entry.js +8 -40
- package/dist/esm/limel-file.entry.js +10 -24
- package/dist/esm/limel-flatpickr-adapter.entry.js +149 -48
- package/dist/esm/limel-flex-container.entry.js +1 -13
- package/dist/esm/limel-form.entry.js +327 -326
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +5 -1
- package/dist/esm/limel-icon-button.entry.js +3 -8
- package/dist/esm/limel-icon.entry.js +4 -1
- package/dist/esm/limel-info-tile.entry.js +91 -0
- package/dist/esm/limel-input-field.entry.js +27 -60
- package/dist/esm/limel-list_2.entry.js +10 -21
- package/dist/esm/limel-menu-list.entry.js +7 -14
- package/dist/esm/limel-picker.entry.js +14 -39
- package/dist/esm/limel-popover_4.entry.js +13 -12
- package/dist/esm/limel-portal.entry.js +63 -73
- package/dist/esm/limel-progress-flow-item.entry.js +4 -13
- package/dist/esm/limel-progress-flow.entry.js +4 -20
- package/dist/esm/limel-select.entry.js +19 -31
- package/dist/esm/limel-shortcut.entry.js +48 -0
- package/dist/esm/limel-slider.entry.js +12 -33
- package/dist/esm/limel-snackbar.entry.js +7 -5
- package/dist/esm/limel-spinner.entry.js +1 -7
- package/dist/esm/limel-split-button.entry.js +31 -0
- package/dist/esm/limel-switch.entry.js +6 -19
- package/dist/esm/limel-tab-bar.entry.js +2 -5
- package/dist/esm/limel-tab-panel.entry.js +2 -5
- package/dist/esm/limel-table.entry.js +16 -28
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{translations-682e905e.js → translations-0d0ee941.js} +6 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-059e0a64.entry.js +1 -0
- package/dist/lime-elements/{p-440454ed.entry.js → p-06f2f6b4.entry.js} +1 -1
- package/dist/lime-elements/p-12a7453b.entry.js +73 -0
- package/dist/lime-elements/p-1386d86d.entry.js +82 -0
- package/dist/lime-elements/p-15c2eb16.entry.js +1 -0
- package/dist/lime-elements/{p-c80acfb2.entry.js → p-15ca0d70.entry.js} +4 -4
- package/dist/lime-elements/{p-ed65468d.entry.js → p-16eb9071.entry.js} +1 -1
- package/dist/lime-elements/{p-1ede893b.js → p-1af8258b.js} +1 -1
- package/dist/lime-elements/{p-71efe2ca.entry.js → p-21058db5.entry.js} +4 -3
- package/dist/lime-elements/p-246862ec.js +1 -0
- package/dist/lime-elements/p-36a3b897.entry.js +1 -0
- package/dist/lime-elements/p-4eda8b67.entry.js +82 -0
- package/dist/lime-elements/{p-9af0704c.entry.js → p-4fb4e89b.entry.js} +1 -1
- package/dist/lime-elements/p-4fc38050.entry.js +1 -0
- package/dist/lime-elements/{p-a5af84a7.entry.js → p-5338663b.entry.js} +1 -1
- package/dist/lime-elements/p-5ce60a32.entry.js +126 -0
- package/dist/lime-elements/p-5f13035a.entry.js +1 -0
- package/dist/lime-elements/p-5f29f099.entry.js +16 -0
- package/dist/lime-elements/p-600464a9.entry.js +1 -0
- package/dist/lime-elements/p-6534e16a.entry.js +1 -0
- package/dist/lime-elements/p-6a4a5ddd.entry.js +1 -0
- package/dist/lime-elements/p-6c38b505.entry.js +1 -0
- package/dist/lime-elements/p-75d01713.entry.js +1 -0
- package/dist/lime-elements/p-768b7cbb.entry.js +1 -0
- package/dist/lime-elements/{p-6e7809a6.entry.js → p-82cd7bb6.entry.js} +1 -1
- package/dist/lime-elements/p-84a137a7.entry.js +1 -0
- package/dist/lime-elements/{p-aa66620a.entry.js → p-8ab597a8.entry.js} +2 -2
- package/dist/lime-elements/{p-8827628d.entry.js → p-8fb83e83.entry.js} +2 -2
- package/dist/lime-elements/p-90961075.entry.js +1 -0
- package/dist/lime-elements/p-9984b31c.entry.js +1 -0
- package/dist/lime-elements/p-9bd76629.entry.js +59 -0
- package/dist/lime-elements/p-9ea8dd5c.entry.js +1 -0
- package/dist/lime-elements/p-cad7cda1.entry.js +16 -0
- package/dist/lime-elements/{p-104c89e8.entry.js → p-cfaa685f.entry.js} +1 -1
- package/dist/lime-elements/{p-94899019.entry.js → p-d1187867.entry.js} +1 -1
- package/dist/lime-elements/p-d4e788e1.js +2 -0
- package/dist/lime-elements/p-d512656b.entry.js +1 -0
- package/dist/lime-elements/p-d8e5a9ee.entry.js +1 -0
- package/dist/lime-elements/p-de161bb5.entry.js +1 -0
- package/dist/lime-elements/p-e4bca82b.entry.js +1 -0
- package/dist/lime-elements/p-e6f84d68.entry.js +1 -0
- package/dist/lime-elements/{p-c15da26d.entry.js → p-e7bb664f.entry.js} +1 -1
- package/dist/lime-elements/p-e88f7922.entry.js +1 -0
- package/dist/lime-elements/p-ec4c075d.entry.js +1 -0
- package/dist/lime-elements/p-f1ed857b.entry.js +37 -0
- package/dist/lime-elements/p-f33cfcb8.entry.js +11 -0
- package/dist/lime-elements/style/internal/z-index.scss +0 -5
- package/dist/loader/package.json +1 -0
- package/dist/types/components/circular-progress/circular-progress.d.ts +5 -0
- package/dist/types/components/dock/dock.d.ts +0 -1
- package/dist/types/components/info-tile/info-tile.d.ts +87 -0
- package/dist/types/components/info-tile/info-tile.types.d.ts +23 -0
- package/dist/types/components/picker/picker.d.ts +2 -2
- package/dist/types/components/shortcut/shortcut.d.ts +42 -0
- package/dist/types/components/split-button/split-button.d.ts +46 -0
- package/dist/types/components.d.ts +403 -67
- package/dist/types/global/shared-types/link.types.d.ts +25 -0
- package/dist/types/interface.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/types/translations/da.d.ts +1 -0
- package/dist/types/translations/en.d.ts +1 -0
- package/dist/types/translations/fi.d.ts +1 -0
- package/dist/types/translations/nl.d.ts +1 -0
- package/dist/types/translations/no.d.ts +1 -0
- package/dist/types/translations/sv.d.ts +1 -0
- package/package.json +21 -20
- package/dist/cjs/limel-circular-progress.cjs.entry.js +0 -44
- package/dist/cjs/limel-menu.cjs.entry.js +0 -137
- package/dist/esm/limel-circular-progress.entry.js +0 -40
- package/dist/esm/limel-menu.entry.js +0 -133
- package/dist/lime-elements/p-009de50e.entry.js +0 -1
- package/dist/lime-elements/p-19f72dab.entry.js +0 -1
- package/dist/lime-elements/p-2639edf9.entry.js +0 -73
- package/dist/lime-elements/p-2fc4f4ff.entry.js +0 -1
- package/dist/lime-elements/p-3b0c9885.entry.js +0 -37
- package/dist/lime-elements/p-3bf54a4c.js +0 -1
- package/dist/lime-elements/p-3cf4aae0.entry.js +0 -1
- package/dist/lime-elements/p-3f388717.entry.js +0 -11
- package/dist/lime-elements/p-41e902ac.entry.js +0 -126
- package/dist/lime-elements/p-4dc07252.entry.js +0 -82
- package/dist/lime-elements/p-53e01330.entry.js +0 -1
- package/dist/lime-elements/p-5ef52589.entry.js +0 -1
- package/dist/lime-elements/p-629862f4.entry.js +0 -1
- package/dist/lime-elements/p-63e25a0a.entry.js +0 -1
- package/dist/lime-elements/p-6b1bc80f.entry.js +0 -1
- package/dist/lime-elements/p-93cd2268.entry.js +0 -1
- package/dist/lime-elements/p-95f275ab.entry.js +0 -1
- package/dist/lime-elements/p-9917f042.entry.js +0 -16
- package/dist/lime-elements/p-995bbd2a.entry.js +0 -1
- package/dist/lime-elements/p-a465084b.entry.js +0 -82
- package/dist/lime-elements/p-b0046fcd.entry.js +0 -1
- package/dist/lime-elements/p-b0e54dc2.entry.js +0 -1
- package/dist/lime-elements/p-b4de3380.entry.js +0 -1
- package/dist/lime-elements/p-c59cbd68.entry.js +0 -1
- package/dist/lime-elements/p-d74fa89e.entry.js +0 -1
- package/dist/lime-elements/p-e98d76e8.entry.js +0 -59
- package/dist/lime-elements/p-e9a95b8f.js +0 -1
- package/dist/lime-elements/p-eec907ac.entry.js +0 -1
- package/dist/lime-elements/p-f0c9dadd.entry.js +0 -1
- package/dist/lime-elements/p-f0e872b6.entry.js +0 -16
- package/dist/lime-elements/p-f41567a1.entry.js +0 -1
- package/dist/lime-elements/p-f5df4d4f.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host, } from '@stencil/core';
|
|
2
2
|
import TabulatorTable from 'tabulator-tables';
|
|
3
3
|
import { ColumnDefinitionFactory, createColumnSorter } from './columns';
|
|
4
4
|
import { isEqual, has } from 'lodash-es';
|
|
@@ -25,33 +25,6 @@ const FIRST_PAGE = 1;
|
|
|
25
25
|
*/
|
|
26
26
|
export class Table {
|
|
27
27
|
constructor() {
|
|
28
|
-
/**
|
|
29
|
-
* Data to be displayed in the table
|
|
30
|
-
*/
|
|
31
|
-
this.data = [];
|
|
32
|
-
/**
|
|
33
|
-
* Columns used to display the data
|
|
34
|
-
*/
|
|
35
|
-
this.columns = [];
|
|
36
|
-
/**
|
|
37
|
-
* Set to either `local` or `remote` to change how the table handles the
|
|
38
|
-
* loaded data. When in `local` mode, all sorting and pagination will be
|
|
39
|
-
* done locally with the data given. When in `remote` mode, the consumer
|
|
40
|
-
* is responsible to give the table new data when a `load` event occurs
|
|
41
|
-
*/
|
|
42
|
-
this.mode = 'local';
|
|
43
|
-
/**
|
|
44
|
-
* The initial sorted columns
|
|
45
|
-
*/
|
|
46
|
-
this.sorting = [];
|
|
47
|
-
/**
|
|
48
|
-
* Set to `true` to trigger loading animation
|
|
49
|
-
*/
|
|
50
|
-
this.loading = false;
|
|
51
|
-
/**
|
|
52
|
-
* The page to show
|
|
53
|
-
*/
|
|
54
|
-
this.page = FIRST_PAGE;
|
|
55
28
|
this.getActiveRows = () => {
|
|
56
29
|
if (!this.tabulator) {
|
|
57
30
|
return [];
|
|
@@ -92,6 +65,21 @@ export class Table {
|
|
|
92
65
|
column.title === component.getDefinition().title);
|
|
93
66
|
});
|
|
94
67
|
};
|
|
68
|
+
this.data = [];
|
|
69
|
+
this.columns = [];
|
|
70
|
+
this.mode = 'local';
|
|
71
|
+
this.layout = undefined;
|
|
72
|
+
this.pageSize = undefined;
|
|
73
|
+
this.totalRows = undefined;
|
|
74
|
+
this.sorting = [];
|
|
75
|
+
this.activeRow = undefined;
|
|
76
|
+
this.movableColumns = undefined;
|
|
77
|
+
this.loading = false;
|
|
78
|
+
this.page = FIRST_PAGE;
|
|
79
|
+
this.emptyMessage = undefined;
|
|
80
|
+
this.aggregates = undefined;
|
|
81
|
+
this.selectable = undefined;
|
|
82
|
+
this.selection = undefined;
|
|
95
83
|
this.handleDataSorting = this.handleDataSorting.bind(this);
|
|
96
84
|
this.handlePageLoaded = this.handlePageLoaded.bind(this);
|
|
97
85
|
this.handleAjaxRequesting = this.handleAjaxRequesting.bind(this);
|
|
@@ -441,19 +429,13 @@ export class Table {
|
|
|
441
429
|
var _a;
|
|
442
430
|
return (h(Host, { class: {
|
|
443
431
|
'has-low-density': this.layout === 'lowDensity',
|
|
444
|
-
} },
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
} },
|
|
452
|
-
h("div", { id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } },
|
|
453
|
-
h("limel-spinner", { size: "large" })),
|
|
454
|
-
this.renderEmptyMessage(),
|
|
455
|
-
this.renderSelectAll(),
|
|
456
|
-
h("div", { id: "tabulator-table" }))));
|
|
432
|
+
} }, h("div", { id: "tabulator-container", class: {
|
|
433
|
+
'has-pagination': this.totalRows > this.pageSize,
|
|
434
|
+
'has-aggregation': this.hasAggregation(this.columns),
|
|
435
|
+
'has-movable-columns': this.movableColumns,
|
|
436
|
+
'has-rowselector': this.selectable,
|
|
437
|
+
'has-selection': (_a = this.tableSelection) === null || _a === void 0 ? void 0 : _a.hasSelection,
|
|
438
|
+
} }, h("div", { id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { id: "tabulator-table" }))));
|
|
457
439
|
}
|
|
458
440
|
renderSelectAll() {
|
|
459
441
|
var _a, _b, _c;
|
|
@@ -461,442 +443,450 @@ export class Table {
|
|
|
461
443
|
return;
|
|
462
444
|
}
|
|
463
445
|
const showSelectAll = !this.loading && this.tableSelection;
|
|
464
|
-
return (h("div", { class: "select-all", style: { display: showSelectAll ? 'inline-block' : 'none' } },
|
|
465
|
-
|
|
466
|
-
((_c = this.selection) === null || _c === void 0 ? void 0 : _c.length) < this.data.length })));
|
|
446
|
+
return (h("div", { class: "select-all", style: { display: showSelectAll ? 'inline-block' : 'none' } }, h("limel-checkbox", { onChange: this.selectAllOnChange, disabled: !this.data.length, checked: (_a = this.tableSelection) === null || _a === void 0 ? void 0 : _a.hasSelection, indeterminate: ((_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection) &&
|
|
447
|
+
((_c = this.selection) === null || _c === void 0 ? void 0 : _c.length) < this.data.length })));
|
|
467
448
|
}
|
|
468
449
|
renderEmptyMessage() {
|
|
469
450
|
const showEmptyMessage = !this.loading && !this.data.length && this.emptyMessage;
|
|
470
|
-
return (h("div", { id: "tabulator-empty-text", style: { display: showEmptyMessage ? 'flex' : 'none' } },
|
|
471
|
-
h("span", null, this.emptyMessage)));
|
|
451
|
+
return (h("div", { id: "tabulator-empty-text", style: { display: showEmptyMessage ? 'flex' : 'none' } }, h("span", null, this.emptyMessage)));
|
|
472
452
|
}
|
|
473
453
|
static get is() { return "limel-table"; }
|
|
474
454
|
static get encapsulation() { return "shadow"; }
|
|
475
|
-
static get originalStyleUrls() {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
"
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
455
|
+
static get originalStyleUrls() {
|
|
456
|
+
return {
|
|
457
|
+
"$": ["table.scss"]
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
static get styleUrls() {
|
|
461
|
+
return {
|
|
462
|
+
"$": ["table.css"]
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
static get properties() {
|
|
466
|
+
return {
|
|
467
|
+
"data": {
|
|
468
|
+
"type": "unknown",
|
|
469
|
+
"mutable": false,
|
|
470
|
+
"complexType": {
|
|
471
|
+
"original": "object[]",
|
|
472
|
+
"resolved": "object[]",
|
|
473
|
+
"references": {}
|
|
474
|
+
},
|
|
475
|
+
"required": false,
|
|
476
|
+
"optional": false,
|
|
477
|
+
"docs": {
|
|
478
|
+
"tags": [],
|
|
479
|
+
"text": "Data to be displayed in the table"
|
|
480
|
+
},
|
|
481
|
+
"defaultValue": "[]"
|
|
482
|
+
},
|
|
483
|
+
"columns": {
|
|
484
|
+
"type": "unknown",
|
|
485
|
+
"mutable": false,
|
|
486
|
+
"complexType": {
|
|
487
|
+
"original": "Column[]",
|
|
488
|
+
"resolved": "Column<any>[]",
|
|
489
|
+
"references": {
|
|
490
|
+
"Column": {
|
|
491
|
+
"location": "import",
|
|
492
|
+
"path": "./table.types"
|
|
493
|
+
}
|
|
508
494
|
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
495
|
+
},
|
|
496
|
+
"required": false,
|
|
497
|
+
"optional": false,
|
|
498
|
+
"docs": {
|
|
499
|
+
"tags": [],
|
|
500
|
+
"text": "Columns used to display the data"
|
|
501
|
+
},
|
|
502
|
+
"defaultValue": "[]"
|
|
503
|
+
},
|
|
504
|
+
"mode": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"mutable": false,
|
|
507
|
+
"complexType": {
|
|
508
|
+
"original": "'local' | 'remote'",
|
|
509
|
+
"resolved": "\"local\" | \"remote\"",
|
|
510
|
+
"references": {}
|
|
511
|
+
},
|
|
512
|
+
"required": false,
|
|
513
|
+
"optional": false,
|
|
514
|
+
"docs": {
|
|
515
|
+
"tags": [],
|
|
516
|
+
"text": "Set to either `local` or `remote` to change how the table handles the\nloaded data. When in `local` mode, all sorting and pagination will be\ndone locally with the data given. When in `remote` mode, the consumer\nis responsible to give the table new data when a `load` event occurs"
|
|
517
|
+
},
|
|
518
|
+
"attribute": "mode",
|
|
519
|
+
"reflect": false,
|
|
520
|
+
"defaultValue": "'local'"
|
|
521
|
+
},
|
|
522
|
+
"layout": {
|
|
523
|
+
"type": "string",
|
|
524
|
+
"mutable": false,
|
|
525
|
+
"complexType": {
|
|
526
|
+
"original": "Layout",
|
|
527
|
+
"resolved": "\"default\" | \"lowDensity\" | \"stretchColumns\" | \"stretchLastColumn\"",
|
|
528
|
+
"references": {
|
|
529
|
+
"Layout": {
|
|
530
|
+
"location": "import",
|
|
531
|
+
"path": "./layout"
|
|
532
|
+
}
|
|
547
533
|
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
534
|
+
},
|
|
535
|
+
"required": false,
|
|
536
|
+
"optional": false,
|
|
537
|
+
"docs": {
|
|
538
|
+
"tags": [],
|
|
539
|
+
"text": "Defines the layout of the table, based on how width of the columns are calculated.\n\n- `default`: makes columns as wide as their contents.\n- `stretchLastColumn`: makes columns as wide as their contents, stretch the last column to fill up the remaining table width.\n- `stretchColumns`: stretches all columns to fill the available width when possible.\n- `lowDensity`: makes columns as wide as their contents, and creates a low density and airy layout."
|
|
540
|
+
},
|
|
541
|
+
"attribute": "layout",
|
|
542
|
+
"reflect": false
|
|
543
|
+
},
|
|
544
|
+
"pageSize": {
|
|
545
|
+
"type": "number",
|
|
546
|
+
"mutable": false,
|
|
547
|
+
"complexType": {
|
|
548
|
+
"original": "number",
|
|
549
|
+
"resolved": "number",
|
|
550
|
+
"references": {}
|
|
551
|
+
},
|
|
552
|
+
"required": false,
|
|
553
|
+
"optional": false,
|
|
554
|
+
"docs": {
|
|
555
|
+
"tags": [],
|
|
556
|
+
"text": "Number of rows per page"
|
|
557
|
+
},
|
|
558
|
+
"attribute": "page-size",
|
|
559
|
+
"reflect": false
|
|
560
|
+
},
|
|
561
|
+
"totalRows": {
|
|
562
|
+
"type": "number",
|
|
563
|
+
"mutable": false,
|
|
564
|
+
"complexType": {
|
|
565
|
+
"original": "number",
|
|
566
|
+
"resolved": "number",
|
|
567
|
+
"references": {}
|
|
568
|
+
},
|
|
569
|
+
"required": false,
|
|
570
|
+
"optional": false,
|
|
571
|
+
"docs": {
|
|
572
|
+
"tags": [],
|
|
573
|
+
"text": "The number of total rows available for the data"
|
|
574
|
+
},
|
|
575
|
+
"attribute": "total-rows",
|
|
576
|
+
"reflect": false
|
|
577
|
+
},
|
|
578
|
+
"sorting": {
|
|
579
|
+
"type": "unknown",
|
|
580
|
+
"mutable": false,
|
|
581
|
+
"complexType": {
|
|
582
|
+
"original": "ColumnSorter[]",
|
|
583
|
+
"resolved": "ColumnSorter[]",
|
|
584
|
+
"references": {
|
|
585
|
+
"ColumnSorter": {
|
|
586
|
+
"location": "import",
|
|
587
|
+
"path": "./table.types"
|
|
588
|
+
}
|
|
603
589
|
}
|
|
590
|
+
},
|
|
591
|
+
"required": false,
|
|
592
|
+
"optional": false,
|
|
593
|
+
"docs": {
|
|
594
|
+
"tags": [],
|
|
595
|
+
"text": "The initial sorted columns"
|
|
596
|
+
},
|
|
597
|
+
"defaultValue": "[]"
|
|
598
|
+
},
|
|
599
|
+
"activeRow": {
|
|
600
|
+
"type": "unknown",
|
|
601
|
+
"mutable": true,
|
|
602
|
+
"complexType": {
|
|
603
|
+
"original": "object",
|
|
604
|
+
"resolved": "object",
|
|
605
|
+
"references": {}
|
|
606
|
+
},
|
|
607
|
+
"required": false,
|
|
608
|
+
"optional": false,
|
|
609
|
+
"docs": {
|
|
610
|
+
"tags": [],
|
|
611
|
+
"text": "Active row in the table"
|
|
604
612
|
}
|
|
605
613
|
},
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
"
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
"
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
"
|
|
624
|
-
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
"
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
"
|
|
651
|
-
"
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
"
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
"
|
|
669
|
-
"
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
"resolved": "string",
|
|
688
|
-
"references": {}
|
|
689
|
-
},
|
|
690
|
-
"required": false,
|
|
691
|
-
"optional": false,
|
|
692
|
-
"docs": {
|
|
693
|
-
"tags": [],
|
|
694
|
-
"text": "A message to display when the table has no data"
|
|
695
|
-
},
|
|
696
|
-
"attribute": "empty-message",
|
|
697
|
-
"reflect": false
|
|
698
|
-
},
|
|
699
|
-
"aggregates": {
|
|
700
|
-
"type": "unknown",
|
|
701
|
-
"mutable": false,
|
|
702
|
-
"complexType": {
|
|
703
|
-
"original": "ColumnAggregate[]",
|
|
704
|
-
"resolved": "ColumnAggregate[]",
|
|
705
|
-
"references": {
|
|
706
|
-
"ColumnAggregate": {
|
|
707
|
-
"location": "import",
|
|
708
|
-
"path": "./table.types"
|
|
614
|
+
"movableColumns": {
|
|
615
|
+
"type": "boolean",
|
|
616
|
+
"mutable": false,
|
|
617
|
+
"complexType": {
|
|
618
|
+
"original": "boolean",
|
|
619
|
+
"resolved": "boolean",
|
|
620
|
+
"references": {}
|
|
621
|
+
},
|
|
622
|
+
"required": false,
|
|
623
|
+
"optional": false,
|
|
624
|
+
"docs": {
|
|
625
|
+
"tags": [],
|
|
626
|
+
"text": "Set to `true` to enable reordering of the columns by dragging them"
|
|
627
|
+
},
|
|
628
|
+
"attribute": "movable-columns",
|
|
629
|
+
"reflect": false
|
|
630
|
+
},
|
|
631
|
+
"loading": {
|
|
632
|
+
"type": "boolean",
|
|
633
|
+
"mutable": false,
|
|
634
|
+
"complexType": {
|
|
635
|
+
"original": "boolean",
|
|
636
|
+
"resolved": "boolean",
|
|
637
|
+
"references": {}
|
|
638
|
+
},
|
|
639
|
+
"required": false,
|
|
640
|
+
"optional": false,
|
|
641
|
+
"docs": {
|
|
642
|
+
"tags": [],
|
|
643
|
+
"text": "Set to `true` to trigger loading animation"
|
|
644
|
+
},
|
|
645
|
+
"attribute": "loading",
|
|
646
|
+
"reflect": false,
|
|
647
|
+
"defaultValue": "false"
|
|
648
|
+
},
|
|
649
|
+
"page": {
|
|
650
|
+
"type": "number",
|
|
651
|
+
"mutable": false,
|
|
652
|
+
"complexType": {
|
|
653
|
+
"original": "number",
|
|
654
|
+
"resolved": "number",
|
|
655
|
+
"references": {}
|
|
656
|
+
},
|
|
657
|
+
"required": false,
|
|
658
|
+
"optional": false,
|
|
659
|
+
"docs": {
|
|
660
|
+
"tags": [],
|
|
661
|
+
"text": "The page to show"
|
|
662
|
+
},
|
|
663
|
+
"attribute": "page",
|
|
664
|
+
"reflect": false,
|
|
665
|
+
"defaultValue": "FIRST_PAGE"
|
|
666
|
+
},
|
|
667
|
+
"emptyMessage": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"mutable": false,
|
|
670
|
+
"complexType": {
|
|
671
|
+
"original": "string",
|
|
672
|
+
"resolved": "string",
|
|
673
|
+
"references": {}
|
|
674
|
+
},
|
|
675
|
+
"required": false,
|
|
676
|
+
"optional": false,
|
|
677
|
+
"docs": {
|
|
678
|
+
"tags": [],
|
|
679
|
+
"text": "A message to display when the table has no data"
|
|
680
|
+
},
|
|
681
|
+
"attribute": "empty-message",
|
|
682
|
+
"reflect": false
|
|
683
|
+
},
|
|
684
|
+
"aggregates": {
|
|
685
|
+
"type": "unknown",
|
|
686
|
+
"mutable": false,
|
|
687
|
+
"complexType": {
|
|
688
|
+
"original": "ColumnAggregate[]",
|
|
689
|
+
"resolved": "ColumnAggregate[]",
|
|
690
|
+
"references": {
|
|
691
|
+
"ColumnAggregate": {
|
|
692
|
+
"location": "import",
|
|
693
|
+
"path": "./table.types"
|
|
694
|
+
}
|
|
709
695
|
}
|
|
696
|
+
},
|
|
697
|
+
"required": false,
|
|
698
|
+
"optional": false,
|
|
699
|
+
"docs": {
|
|
700
|
+
"tags": [],
|
|
701
|
+
"text": "Column aggregates to be displayed in the table"
|
|
710
702
|
}
|
|
711
703
|
},
|
|
712
|
-
"
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
"
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
},
|
|
744
|
-
"required": false,
|
|
745
|
-
"optional": false,
|
|
746
|
-
"docs": {
|
|
747
|
-
"tags": [],
|
|
748
|
-
"text": "Selected data. Requires `selectable` to be true."
|
|
704
|
+
"selectable": {
|
|
705
|
+
"type": "boolean",
|
|
706
|
+
"mutable": false,
|
|
707
|
+
"complexType": {
|
|
708
|
+
"original": "boolean",
|
|
709
|
+
"resolved": "boolean",
|
|
710
|
+
"references": {}
|
|
711
|
+
},
|
|
712
|
+
"required": false,
|
|
713
|
+
"optional": false,
|
|
714
|
+
"docs": {
|
|
715
|
+
"tags": [],
|
|
716
|
+
"text": "Enables row selection"
|
|
717
|
+
},
|
|
718
|
+
"attribute": "selectable",
|
|
719
|
+
"reflect": false
|
|
720
|
+
},
|
|
721
|
+
"selection": {
|
|
722
|
+
"type": "unknown",
|
|
723
|
+
"mutable": false,
|
|
724
|
+
"complexType": {
|
|
725
|
+
"original": "object[]",
|
|
726
|
+
"resolved": "object[]",
|
|
727
|
+
"references": {}
|
|
728
|
+
},
|
|
729
|
+
"required": false,
|
|
730
|
+
"optional": false,
|
|
731
|
+
"docs": {
|
|
732
|
+
"tags": [],
|
|
733
|
+
"text": "Selected data. Requires `selectable` to be true."
|
|
734
|
+
}
|
|
749
735
|
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
static get events() {
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
"
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
"
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
"
|
|
767
|
-
"
|
|
768
|
-
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
static get events() {
|
|
739
|
+
return [{
|
|
740
|
+
"method": "sort",
|
|
741
|
+
"name": "sort",
|
|
742
|
+
"bubbles": true,
|
|
743
|
+
"cancelable": true,
|
|
744
|
+
"composed": true,
|
|
745
|
+
"docs": {
|
|
746
|
+
"tags": [],
|
|
747
|
+
"text": "Emitted when `mode` is `local` the data is sorted"
|
|
748
|
+
},
|
|
749
|
+
"complexType": {
|
|
750
|
+
"original": "ColumnSorter[]",
|
|
751
|
+
"resolved": "ColumnSorter[]",
|
|
752
|
+
"references": {
|
|
753
|
+
"ColumnSorter": {
|
|
754
|
+
"location": "import",
|
|
755
|
+
"path": "./table.types"
|
|
756
|
+
}
|
|
769
757
|
}
|
|
770
758
|
}
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
759
|
+
}, {
|
|
760
|
+
"method": "changePage",
|
|
761
|
+
"name": "changePage",
|
|
762
|
+
"bubbles": true,
|
|
763
|
+
"cancelable": true,
|
|
764
|
+
"composed": true,
|
|
765
|
+
"docs": {
|
|
766
|
+
"tags": [],
|
|
767
|
+
"text": "Emitted when a new page has been set"
|
|
768
|
+
},
|
|
769
|
+
"complexType": {
|
|
770
|
+
"original": "number",
|
|
771
|
+
"resolved": "number",
|
|
772
|
+
"references": {}
|
|
773
|
+
}
|
|
774
|
+
}, {
|
|
775
|
+
"method": "load",
|
|
776
|
+
"name": "load",
|
|
777
|
+
"bubbles": true,
|
|
778
|
+
"cancelable": true,
|
|
779
|
+
"composed": true,
|
|
780
|
+
"docs": {
|
|
781
|
+
"tags": [],
|
|
782
|
+
"text": "Emitted when `mode` is `remote` and the table is loading new data. The\nconsumer is responsible for giving the table new data"
|
|
783
|
+
},
|
|
784
|
+
"complexType": {
|
|
785
|
+
"original": "TableParams",
|
|
786
|
+
"resolved": "TableParams",
|
|
787
|
+
"references": {
|
|
788
|
+
"TableParams": {
|
|
789
|
+
"location": "import",
|
|
790
|
+
"path": "./table.types"
|
|
791
|
+
}
|
|
804
792
|
}
|
|
805
793
|
}
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
794
|
+
}, {
|
|
795
|
+
"method": "activate",
|
|
796
|
+
"name": "activate",
|
|
797
|
+
"bubbles": true,
|
|
798
|
+
"cancelable": true,
|
|
799
|
+
"composed": true,
|
|
800
|
+
"docs": {
|
|
801
|
+
"tags": [],
|
|
802
|
+
"text": "Emitted when a row is activated"
|
|
803
|
+
},
|
|
804
|
+
"complexType": {
|
|
805
|
+
"original": "object",
|
|
806
|
+
"resolved": "object",
|
|
807
|
+
"references": {}
|
|
808
|
+
}
|
|
809
|
+
}, {
|
|
810
|
+
"method": "changeColumns",
|
|
811
|
+
"name": "changeColumns",
|
|
812
|
+
"bubbles": true,
|
|
813
|
+
"cancelable": true,
|
|
814
|
+
"composed": true,
|
|
815
|
+
"docs": {
|
|
816
|
+
"tags": [],
|
|
817
|
+
"text": "Emitted when the columns have been changed"
|
|
818
|
+
},
|
|
819
|
+
"complexType": {
|
|
820
|
+
"original": "Column[]",
|
|
821
|
+
"resolved": "Column<any>[]",
|
|
822
|
+
"references": {
|
|
823
|
+
"Column": {
|
|
824
|
+
"location": "import",
|
|
825
|
+
"path": "./table.types"
|
|
826
|
+
}
|
|
839
827
|
}
|
|
840
828
|
}
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
}
|
|
872
|
-
|
|
829
|
+
}, {
|
|
830
|
+
"method": "select",
|
|
831
|
+
"name": "select",
|
|
832
|
+
"bubbles": true,
|
|
833
|
+
"cancelable": true,
|
|
834
|
+
"composed": true,
|
|
835
|
+
"docs": {
|
|
836
|
+
"tags": [],
|
|
837
|
+
"text": "Emitted when the row selection has been changed"
|
|
838
|
+
},
|
|
839
|
+
"complexType": {
|
|
840
|
+
"original": "object[]",
|
|
841
|
+
"resolved": "object[]",
|
|
842
|
+
"references": {}
|
|
843
|
+
}
|
|
844
|
+
}, {
|
|
845
|
+
"method": "selectAll",
|
|
846
|
+
"name": "selectAll",
|
|
847
|
+
"bubbles": true,
|
|
848
|
+
"cancelable": true,
|
|
849
|
+
"composed": true,
|
|
850
|
+
"docs": {
|
|
851
|
+
"tags": [],
|
|
852
|
+
"text": "Emitted when the select all rows state is toggled"
|
|
853
|
+
},
|
|
854
|
+
"complexType": {
|
|
855
|
+
"original": "boolean",
|
|
856
|
+
"resolved": "boolean",
|
|
857
|
+
"references": {}
|
|
858
|
+
}
|
|
859
|
+
}];
|
|
860
|
+
}
|
|
873
861
|
static get elementRef() { return "host"; }
|
|
874
|
-
static get watchers() {
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
862
|
+
static get watchers() {
|
|
863
|
+
return [{
|
|
864
|
+
"propName": "totalRows",
|
|
865
|
+
"methodName": "totalRowsChanged"
|
|
866
|
+
}, {
|
|
867
|
+
"propName": "pageSize",
|
|
868
|
+
"methodName": "pageSizeChanged"
|
|
869
|
+
}, {
|
|
870
|
+
"propName": "page",
|
|
871
|
+
"methodName": "pageChanged"
|
|
872
|
+
}, {
|
|
873
|
+
"propName": "activeRow",
|
|
874
|
+
"methodName": "activeRowChanged"
|
|
875
|
+
}, {
|
|
876
|
+
"propName": "data",
|
|
877
|
+
"methodName": "updateData"
|
|
878
|
+
}, {
|
|
879
|
+
"propName": "columns",
|
|
880
|
+
"methodName": "updateColumns"
|
|
881
|
+
}, {
|
|
882
|
+
"propName": "aggregates",
|
|
883
|
+
"methodName": "updateAggregates"
|
|
884
|
+
}, {
|
|
885
|
+
"propName": "selection",
|
|
886
|
+
"methodName": "updateSelection"
|
|
887
|
+
}, {
|
|
888
|
+
"propName": "selectable",
|
|
889
|
+
"methodName": "updateSelectable"
|
|
890
|
+
}];
|
|
891
|
+
}
|
|
902
892
|
}
|