@scania/tegel 0.0.1-beta.7 → 0.0.1-beta.9
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/package.json +1 -1
- package/readme.md +7 -8
- package/dist/cjs/index-e1c79686.js +0 -1912
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/popper-11d5f714.js +0 -1801
- package/dist/cjs/sdds-accordion-item.cjs.entry.js +0 -34
- package/dist/cjs/sdds-accordion.cjs.entry.js +0 -21
- package/dist/cjs/sdds-badges.cjs.entry.js +0 -55
- package/dist/cjs/sdds-body-cell_2.cjs.entry.js +0 -173
- package/dist/cjs/sdds-button.cjs.entry.js +0 -36
- package/dist/cjs/sdds-datetime.cjs.entry.js +0 -66
- package/dist/cjs/sdds-dropdown-filter.cjs.entry.js +0 -92
- package/dist/cjs/sdds-dropdown_2.cjs.entry.js +0 -335
- package/dist/cjs/sdds-header-cell.cjs.entry.js +0 -141
- package/dist/cjs/sdds-icon.cjs.entry.js +0 -42
- package/dist/cjs/sdds-inline-tabs-fullbleed.cjs.entry.js +0 -96
- package/dist/cjs/sdds-inline-tabs.cjs.entry.js +0 -211
- package/dist/cjs/sdds-modal.cjs.entry.js +0 -49
- package/dist/cjs/sdds-navigation-tabs.cjs.entry.js +0 -95
- package/dist/cjs/sdds-popover-canvas.cjs.entry.js +0 -76
- package/dist/cjs/sdds-popover-menu.cjs.entry.js +0 -75
- package/dist/cjs/sdds-slider.cjs.entry.js +0 -336
- package/dist/cjs/sdds-spinner.cjs.entry.js +0 -21
- package/dist/cjs/sdds-table-body-row-expandable.cjs.entry.js +0 -81
- package/dist/cjs/sdds-table-body.cjs.entry.js +0 -289
- package/dist/cjs/sdds-table-footer.cjs.entry.js +0 -165
- package/dist/cjs/sdds-table-header.cjs.entry.js +0 -100
- package/dist/cjs/sdds-table-toolbar.cjs.entry.js +0 -66
- package/dist/cjs/sdds-table.cjs.entry.js +0 -69
- package/dist/cjs/sdds-textarea.cjs.entry.js +0 -61
- package/dist/cjs/sdds-textfield.cjs.entry.js +0 -82
- package/dist/cjs/sdds-tooltip.cjs.entry.js +0 -95
- package/dist/cjs/tegel.cjs.js +0 -19
- package/dist/collection/collection-manifest.json +0 -40
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +0 -134
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +0 -146
- package/dist/collection/components/accordion/accordion.css +0 -77
- package/dist/collection/components/accordion/accordion.js +0 -62
- package/dist/collection/components/badge/badges.css +0 -42
- package/dist/collection/components/badge/badges.js +0 -150
- package/dist/collection/components/button/button-component.js +0 -154
- package/dist/collection/components/button/button.css +0 -658
- package/dist/collection/components/data-table/table/table.css +0 -15
- package/dist/collection/components/data-table/table/table.js +0 -253
- package/dist/collection/components/data-table/table-body/table-body.css +0 -22
- package/dist/collection/components/data-table/table-body/table-body.js +0 -425
- package/dist/collection/components/data-table/table-body-cell/table-body-cell.css +0 -40
- package/dist/collection/components/data-table/table-body-cell/table-body-cell.js +0 -169
- package/dist/collection/components/data-table/table-body-row/table-body-row.css +0 -196
- package/dist/collection/components/data-table/table-body-row/table-body-row.js +0 -164
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.css +0 -79
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.js +0 -155
- package/dist/collection/components/data-table/table-footer/table-footer.css +0 -93
- package/dist/collection/components/data-table/table-footer/table-footer.js +0 -355
- package/dist/collection/components/data-table/table-header/table-header.css +0 -204
- package/dist/collection/components/data-table/table-header/table-header.js +0 -153
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.css +0 -126
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.js +0 -320
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.css +0 -92
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.js +0 -142
- package/dist/collection/components/datetime/datetime.css +0 -375
- package/dist/collection/components/datetime/datetime.js +0 -251
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js +0 -339
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +0 -185
- package/dist/collection/components/dropdown/dropdown.css +0 -891
- package/dist/collection/components/dropdown/dropdown.js +0 -554
- package/dist/collection/components/icon/icon.css +0 -16
- package/dist/collection/components/icon/icon.js +0 -89
- package/dist/collection/components/icon/iconsArray.js +0 -2
- package/dist/collection/components/modal/modal.css +0 -324
- package/dist/collection/components/modal/modal.js +0 -146
- package/dist/collection/components/popover-canvas/popover-canvas.css +0 -20
- package/dist/collection/components/popover-canvas/popover-canvas.js +0 -190
- package/dist/collection/components/popover-menu/popover-menu.css +0 -19
- package/dist/collection/components/popover-menu/popover-menu.js +0 -189
- package/dist/collection/components/slider/slider.css +0 -260
- package/dist/collection/components/slider/slider.js +0 -682
- package/dist/collection/components/spinner/spinner.css +0 -79
- package/dist/collection/components/spinner/spinner.js +0 -61
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.css +0 -159
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.js +0 -302
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.css +0 -172
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.js +0 -126
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +0 -153
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +0 -103
- package/dist/collection/components/textarea/textarea.css +0 -283
- package/dist/collection/components/textarea/textarea.js +0 -336
- package/dist/collection/components/textfield/textfield.css +0 -494
- package/dist/collection/components/textfield/textfield.js +0 -359
- package/dist/collection/components/tooltip/tooltip.css +0 -46
- package/dist/collection/components/tooltip/tooltip.js +0 -200
- package/dist/collection/index.js +0 -1
- package/dist/collection/stories/assets/code-brackets.svg +0 -1
- package/dist/collection/stories/assets/colors.svg +0 -1
- package/dist/collection/stories/assets/comments.svg +0 -1
- package/dist/collection/stories/assets/direction.svg +0 -1
- package/dist/collection/stories/assets/flow.svg +0 -1
- package/dist/collection/stories/assets/plugin.svg +0 -1
- package/dist/collection/stories/assets/repo.svg +0 -1
- package/dist/collection/stories/assets/stackalt.svg +0 -1
- package/dist/collection/utils/utils.js +0 -12
- package/dist/components/dropdown-option.js +0 -100
- package/dist/components/dropdown.js +0 -296
- package/dist/components/icon.js +0 -58
- package/dist/components/index.d.ts +0 -50
- package/dist/components/index.js +0 -30
- package/dist/components/popper.js +0 -1799
- package/dist/components/sdds-accordion-item.d.ts +0 -11
- package/dist/components/sdds-accordion-item.js +0 -60
- package/dist/components/sdds-accordion.d.ts +0 -11
- package/dist/components/sdds-accordion.js +0 -38
- package/dist/components/sdds-badges.d.ts +0 -11
- package/dist/components/sdds-badges.js +0 -76
- package/dist/components/sdds-body-cell.d.ts +0 -11
- package/dist/components/sdds-body-cell.js +0 -6
- package/dist/components/sdds-button.d.ts +0 -11
- package/dist/components/sdds-button.js +0 -58
- package/dist/components/sdds-datetime.d.ts +0 -11
- package/dist/components/sdds-datetime.js +0 -90
- package/dist/components/sdds-dropdown-filter.d.ts +0 -11
- package/dist/components/sdds-dropdown-filter.js +0 -138
- package/dist/components/sdds-dropdown-option.d.ts +0 -11
- package/dist/components/sdds-dropdown-option.js +0 -6
- package/dist/components/sdds-dropdown.d.ts +0 -11
- package/dist/components/sdds-dropdown.js +0 -6
- package/dist/components/sdds-header-cell.d.ts +0 -11
- package/dist/components/sdds-header-cell.js +0 -173
- package/dist/components/sdds-icon.d.ts +0 -11
- package/dist/components/sdds-icon.js +0 -6
- package/dist/components/sdds-inline-tabs-fullbleed.d.ts +0 -11
- package/dist/components/sdds-inline-tabs-fullbleed.js +0 -115
- package/dist/components/sdds-inline-tabs.d.ts +0 -11
- package/dist/components/sdds-inline-tabs.js +0 -235
- package/dist/components/sdds-modal.d.ts +0 -11
- package/dist/components/sdds-modal.js +0 -69
- package/dist/components/sdds-navigation-tabs.d.ts +0 -11
- package/dist/components/sdds-navigation-tabs.js +0 -113
- package/dist/components/sdds-popover-canvas.d.ts +0 -11
- package/dist/components/sdds-popover-canvas.js +0 -97
- package/dist/components/sdds-popover-menu.d.ts +0 -11
- package/dist/components/sdds-popover-menu.js +0 -96
- package/dist/components/sdds-slider.d.ts +0 -11
- package/dist/components/sdds-slider.js +0 -366
- package/dist/components/sdds-spinner.d.ts +0 -11
- package/dist/components/sdds-spinner.js +0 -37
- package/dist/components/sdds-table-body-row-expandable.d.ts +0 -11
- package/dist/components/sdds-table-body-row-expandable.js +0 -104
- package/dist/components/sdds-table-body-row.d.ts +0 -11
- package/dist/components/sdds-table-body-row.js +0 -6
- package/dist/components/sdds-table-body.d.ts +0 -11
- package/dist/components/sdds-table-body.js +0 -337
- package/dist/components/sdds-table-footer.d.ts +0 -11
- package/dist/components/sdds-table-footer.js +0 -196
- package/dist/components/sdds-table-header.d.ts +0 -11
- package/dist/components/sdds-table-header.js +0 -125
- package/dist/components/sdds-table-toolbar.d.ts +0 -11
- package/dist/components/sdds-table-toolbar.js +0 -88
- package/dist/components/sdds-table.d.ts +0 -11
- package/dist/components/sdds-table.js +0 -92
- package/dist/components/sdds-textarea.d.ts +0 -11
- package/dist/components/sdds-textarea.js +0 -90
- package/dist/components/sdds-textfield.d.ts +0 -11
- package/dist/components/sdds-textfield.js +0 -111
- package/dist/components/sdds-tooltip.d.ts +0 -11
- package/dist/components/sdds-tooltip.js +0 -116
- package/dist/components/table-body-cell.js +0 -102
- package/dist/components/table-body-row.js +0 -119
- package/dist/esm/index-b67b15a6.js +0 -1884
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popper-f860750c.js +0 -1799
- package/dist/esm/sdds-accordion-item.entry.js +0 -30
- package/dist/esm/sdds-accordion.entry.js +0 -17
- package/dist/esm/sdds-badges.entry.js +0 -51
- package/dist/esm/sdds-body-cell_2.entry.js +0 -168
- package/dist/esm/sdds-button.entry.js +0 -32
- package/dist/esm/sdds-datetime.entry.js +0 -62
- package/dist/esm/sdds-dropdown-filter.entry.js +0 -88
- package/dist/esm/sdds-dropdown_2.entry.js +0 -330
- package/dist/esm/sdds-header-cell.entry.js +0 -137
- package/dist/esm/sdds-icon.entry.js +0 -38
- package/dist/esm/sdds-inline-tabs-fullbleed.entry.js +0 -92
- package/dist/esm/sdds-inline-tabs.entry.js +0 -207
- package/dist/esm/sdds-modal.entry.js +0 -45
- package/dist/esm/sdds-navigation-tabs.entry.js +0 -91
- package/dist/esm/sdds-popover-canvas.entry.js +0 -72
- package/dist/esm/sdds-popover-menu.entry.js +0 -71
- package/dist/esm/sdds-slider.entry.js +0 -332
- package/dist/esm/sdds-spinner.entry.js +0 -17
- package/dist/esm/sdds-table-body-row-expandable.entry.js +0 -77
- package/dist/esm/sdds-table-body.entry.js +0 -285
- package/dist/esm/sdds-table-footer.entry.js +0 -161
- package/dist/esm/sdds-table-header.entry.js +0 -96
- package/dist/esm/sdds-table-toolbar.entry.js +0 -62
- package/dist/esm/sdds-table.entry.js +0 -65
- package/dist/esm/sdds-textarea.entry.js +0 -57
- package/dist/esm/sdds-textfield.entry.js +0 -78
- package/dist/esm/sdds-tooltip.entry.js +0 -91
- package/dist/esm/tegel.js +0 -17
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/node_modules/@types/jest/index.d.ts +0 -1512
- package/dist/tegel/index.esm.js +0 -0
- package/dist/tegel/p-040efb32.entry.js +0 -1
- package/dist/tegel/p-12ca5cfa.entry.js +0 -1
- package/dist/tegel/p-157e1618.js +0 -2
- package/dist/tegel/p-1fe61cf6.entry.js +0 -1
- package/dist/tegel/p-2f376504.entry.js +0 -1
- package/dist/tegel/p-44ced895.entry.js +0 -1
- package/dist/tegel/p-4880f03d.entry.js +0 -1
- package/dist/tegel/p-4aba73a3.entry.js +0 -1
- package/dist/tegel/p-4b58a02c.entry.js +0 -1
- package/dist/tegel/p-4cb85347.entry.js +0 -1
- package/dist/tegel/p-52031b5a.entry.js +0 -1
- package/dist/tegel/p-677baf7f.entry.js +0 -1
- package/dist/tegel/p-71797eaf.entry.js +0 -1
- package/dist/tegel/p-7373284c.entry.js +0 -1
- package/dist/tegel/p-7451779b.entry.js +0 -1
- package/dist/tegel/p-77aeea3b.entry.js +0 -1
- package/dist/tegel/p-8582d6a7.entry.js +0 -1
- package/dist/tegel/p-96021bd0.entry.js +0 -1
- package/dist/tegel/p-9d8caf51.entry.js +0 -1
- package/dist/tegel/p-a5919930.entry.js +0 -1
- package/dist/tegel/p-b01cface.entry.js +0 -1
- package/dist/tegel/p-bf896643.entry.js +0 -1
- package/dist/tegel/p-c311725c.entry.js +0 -1
- package/dist/tegel/p-cf72dfd9.entry.js +0 -1
- package/dist/tegel/p-d91caec6.entry.js +0 -1
- package/dist/tegel/p-e10eec33.entry.js +0 -1
- package/dist/tegel/p-ec26fc38.js +0 -1
- package/dist/tegel/p-f2262a69.entry.js +0 -1
- package/dist/tegel/p-f2f7aa45.entry.js +0 -1
- package/dist/tegel/tegel.css +0 -101
- package/dist/tegel/tegel.esm.js +0 -1
- package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +0 -17
- package/dist/types/components/accordion/accordion.d.ts +0 -7
- package/dist/types/components/badge/badges.d.ts +0 -16
- package/dist/types/components/button/button-component.d.ts +0 -15
- package/dist/types/components/data-table/table/table.d.ts +0 -47
- package/dist/types/components/data-table/table-body/table-body.d.ts +0 -54
- package/dist/types/components/data-table/table-body-cell/table-body-cell.d.ts +0 -24
- package/dist/types/components/data-table/table-body-row/table-body-row.d.ts +0 -27
- package/dist/types/components/data-table/table-body-row-expandable/table-body-row-expandable.d.ts +0 -27
- package/dist/types/components/data-table/table-footer/table-footer.d.ts +0 -50
- package/dist/types/components/data-table/table-header/table-header.d.ts +0 -27
- package/dist/types/components/data-table/table-header-cell/table-header-cell.d.ts +0 -45
- package/dist/types/components/data-table/table-toolbar/table-toolbar.d.ts +0 -22
- package/dist/types/components/datetime/datetime.d.ts +0 -32
- package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.d.ts +0 -42
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +0 -19
- package/dist/types/components/dropdown/dropdown.d.ts +0 -56
- package/dist/types/components/icon/icon.d.ts +0 -12
- package/dist/types/components/modal/modal.d.ts +0 -16
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +0 -18
- package/dist/types/components/popover-menu/popover-menu.d.ts +0 -18
- package/dist/types/components/slider/slider.d.ts +0 -82
- package/dist/types/components/spinner/spinner.d.ts +0 -7
- package/dist/types/components/tabs/inline-tabs-default/inline-tabs.d.ts +0 -41
- package/dist/types/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.d.ts +0 -20
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +0 -18
- package/dist/types/components/textarea/textarea.d.ts +0 -41
- package/dist/types/components/textfield/textfield.d.ts +0 -42
- package/dist/types/components/tooltip/tooltip.d.ts +0 -20
- package/dist/types/components.d.ts +0 -1752
- package/dist/types/global.d.ts +0 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1581
- package/dist/types/utils/utils.d.ts +0 -2
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { h, Host, } from '@stencil/core';
|
|
2
|
-
const relevantTableProps = [
|
|
3
|
-
'enableMultiselect',
|
|
4
|
-
'enableExpandableRows',
|
|
5
|
-
'compactDesign',
|
|
6
|
-
'noMinWidth',
|
|
7
|
-
'verticalDividers',
|
|
8
|
-
'whiteBackground',
|
|
9
|
-
];
|
|
10
|
-
export class TableHeaderCell {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.sortButtonClick = (key) => {
|
|
13
|
-
// Toggling direction of sorting as we only use one button for sorting
|
|
14
|
-
if (this.sortingDirection !== 'asc') {
|
|
15
|
-
this.sortingDirection = 'asc';
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
this.sortingDirection = 'desc';
|
|
19
|
-
}
|
|
20
|
-
// Setting to true we can set enable CSS class for "active" state of column
|
|
21
|
-
this.sortedByMyKey = true;
|
|
22
|
-
// Use array to send both key and sorting direction
|
|
23
|
-
this.sortColumnDataEvent.emit([this.tableId, key, this.sortingDirection]);
|
|
24
|
-
};
|
|
25
|
-
this.headerCellContent = () => {
|
|
26
|
-
if (this.sortable && !this.disableSortingBtn) {
|
|
27
|
-
return (h("button", { class: "sdds-table__header-button", onClick: () => this.sortButtonClick(this.columnKey) }, h("span", { class: "sdds-table__header-button-text", style: { textAlign: this.textAlignState } }, this.columnTitle), this.sortingDirection === '' && (h("svg", { class: "sdds-table__header-button-icon", fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 15" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.45 13.67V4.62a.5.5 0 0 1 1 0v9.05h-1Z", fill: "currentColor" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.07 10.28a.5.5 0 0 1 .7.08l2.1 2.66a.1.1 0 0 0 .15 0l2.09-2.66a.5.5 0 1 1 .78.62l-2.08 2.66a1.1 1.1 0 0 1-1.73 0l-2.1-2.66a.5.5 0 0 1 .1-.7ZM3.55.4v9.04a.5.5 0 1 1-1 0V.39h1Z", fill: "currentColor" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.93 3.78a.5.5 0 0 1-.7-.08l-2.1-2.66a.1.1 0 0 0-.15 0L.89 3.7a.5.5 0 0 1-.78-.62L2.19.42a1.1 1.1 0 0 1 1.73 0l2.1 2.66a.5.5 0 0 1-.1.7Z", fill: "currentColor" }))), this.sortingDirection !== '' && (h("svg", { class: `sdds-table__header-button-icon ${this.sortingDirection === 'desc' ? 'sdds-table__header-button-icon--rotate' : ''}`, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17 2.974a1 1 0 0 0-2 0v24.3l-9.312-9.312a1 1 0 0 0-1.414 1.414l9.887 9.888a2.6 2.6 0 0 0 3.677 0l9.888-9.888a1 1 0 0 0-1.414-1.414L17 27.274v-24.3Z", fill: "currentColor" })))));
|
|
28
|
-
}
|
|
29
|
-
return (h("p", { class: "sdds-table__header-text", style: { textAlign: this.textAlignState } }, this.columnTitle));
|
|
30
|
-
};
|
|
31
|
-
this.onHeadCellHover = (key) => {
|
|
32
|
-
this.headCellHoverEvent.emit([this.tableId, key]);
|
|
33
|
-
};
|
|
34
|
-
this.columnKey = undefined;
|
|
35
|
-
this.columnTitle = undefined;
|
|
36
|
-
this.customWidth = undefined;
|
|
37
|
-
this.sortable = false;
|
|
38
|
-
this.textAlign = undefined;
|
|
39
|
-
this.textAlignState = undefined;
|
|
40
|
-
this.sortingDirection = '';
|
|
41
|
-
this.sortedByMyKey = false;
|
|
42
|
-
this.disableSortingBtn = false;
|
|
43
|
-
this.verticalDividers = false;
|
|
44
|
-
this.compactDesign = false;
|
|
45
|
-
this.noMinWidth = false;
|
|
46
|
-
this.whiteBackground = false;
|
|
47
|
-
this.enableMultiselect = false;
|
|
48
|
-
this.enableToolbarDesign = false;
|
|
49
|
-
this.tableId = '';
|
|
50
|
-
this.enableExpandableRows = false;
|
|
51
|
-
}
|
|
52
|
-
tablePropsChangedEventListener(event) {
|
|
53
|
-
if (this.tableId === event.detail.tableId) {
|
|
54
|
-
event.detail.changed
|
|
55
|
-
.filter((changedProp) => relevantTableProps.includes(changedProp))
|
|
56
|
-
.forEach((changedProp) => {
|
|
57
|
-
if (typeof this[changedProp] === 'undefined') {
|
|
58
|
-
throw new Error(`Table prop is not supported: ${changedProp}`);
|
|
59
|
-
}
|
|
60
|
-
this[changedProp] = event.detail[changedProp];
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// Listen to parent data-table if sorting is allowed
|
|
65
|
-
sortingSwitcherEventListener(event) {
|
|
66
|
-
const [receivedID, receivedSortingStatus] = event.detail;
|
|
67
|
-
if (this.tableId === receivedID) {
|
|
68
|
-
this.disableSortingBtn = receivedSortingStatus;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
// target is set to body so other instances of same component "listen" and react to the change
|
|
72
|
-
updateOptionsContent(event) {
|
|
73
|
-
if (this.tableId === event.detail[0]) {
|
|
74
|
-
// grab only value at position 1 as it is the "key"
|
|
75
|
-
if (this.columnKey !== event.detail[1]) {
|
|
76
|
-
this.sortedByMyKey = false;
|
|
77
|
-
// To sync with CSS transition timing
|
|
78
|
-
setTimeout(() => {
|
|
79
|
-
this.sortingDirection = '';
|
|
80
|
-
}, 200);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
enableMultiselectEventListener(event) {
|
|
85
|
-
if (this.tableId === event.detail[0])
|
|
86
|
-
[, this.enableMultiselect] = event.detail;
|
|
87
|
-
}
|
|
88
|
-
connectedCallback() {
|
|
89
|
-
this.tableEl = this.host.closest('sdds-table');
|
|
90
|
-
this.tableId = this.tableEl.tableId;
|
|
91
|
-
}
|
|
92
|
-
componentWillLoad() {
|
|
93
|
-
relevantTableProps.forEach((tablePropName) => {
|
|
94
|
-
this[tablePropName] = this.tableEl[tablePropName];
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
componentWillRender() {
|
|
98
|
-
// enable only right or left text align
|
|
99
|
-
if (this.textAlign === 'right' || this.textAlign === 'end') {
|
|
100
|
-
this.textAlignState = 'right';
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
this.textAlignState = 'left';
|
|
104
|
-
}
|
|
105
|
-
// To enable body cells text align per rules set in head cell
|
|
106
|
-
this.textAlignEvent.emit([this.tableId, this.columnKey, this.textAlignState]);
|
|
107
|
-
this.enableToolbarDesign =
|
|
108
|
-
this.host.closest('sdds-table').getElementsByTagName('sdds-table-toolbar').length >= 1;
|
|
109
|
-
}
|
|
110
|
-
render() {
|
|
111
|
-
return (h(Host, { class: {
|
|
112
|
-
'sdds-table__header-cell': true,
|
|
113
|
-
'sdds-table__header-cell--sortable': this.sortable,
|
|
114
|
-
'sdds-table__header-cell--is-sorted': this.sortedByMyKey,
|
|
115
|
-
'sdds-table__header-cell--custom-width': this.customWidth !== '',
|
|
116
|
-
'sdds-table__header-cell--right-align': this.textAlignState === 'right',
|
|
117
|
-
'sdds-table--compact': this.compactDesign,
|
|
118
|
-
'sdds-table--divider': this.verticalDividers,
|
|
119
|
-
'sdds-table--no-min-width': this.noMinWidth,
|
|
120
|
-
'sdds-table--extra-column': this.enableMultiselect || this.enableExpandableRows,
|
|
121
|
-
'sdds-table--toolbar-available': this.enableToolbarDesign,
|
|
122
|
-
}, style: { width: this.customWidth },
|
|
123
|
-
// Calling actions from here to enable hover functionality for both sortable and un-sortable tables
|
|
124
|
-
onMouseOver: () => this.onHeadCellHover(this.columnKey), onMouseLeave: () => this.onHeadCellHover('') }, this.headerCellContent()));
|
|
125
|
-
}
|
|
126
|
-
static get is() { return "sdds-header-cell"; }
|
|
127
|
-
static get encapsulation() { return "shadow"; }
|
|
128
|
-
static get originalStyleUrls() {
|
|
129
|
-
return {
|
|
130
|
-
"$": ["table-header-cell.scss"]
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
static get styleUrls() {
|
|
134
|
-
return {
|
|
135
|
-
"$": ["table-header-cell.css"]
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
static get properties() {
|
|
139
|
-
return {
|
|
140
|
-
"columnKey": {
|
|
141
|
-
"type": "string",
|
|
142
|
-
"mutable": false,
|
|
143
|
-
"complexType": {
|
|
144
|
-
"original": "string",
|
|
145
|
-
"resolved": "string",
|
|
146
|
-
"references": {}
|
|
147
|
-
},
|
|
148
|
-
"required": false,
|
|
149
|
-
"optional": false,
|
|
150
|
-
"docs": {
|
|
151
|
-
"tags": [],
|
|
152
|
-
"text": "Value of column key, usually comes from JSON, needed for sorting"
|
|
153
|
-
},
|
|
154
|
-
"attribute": "column-key",
|
|
155
|
-
"reflect": true
|
|
156
|
-
},
|
|
157
|
-
"columnTitle": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"mutable": false,
|
|
160
|
-
"complexType": {
|
|
161
|
-
"original": "string",
|
|
162
|
-
"resolved": "string",
|
|
163
|
-
"references": {}
|
|
164
|
-
},
|
|
165
|
-
"required": false,
|
|
166
|
-
"optional": false,
|
|
167
|
-
"docs": {
|
|
168
|
-
"tags": [],
|
|
169
|
-
"text": "Text that displays in column cell"
|
|
170
|
-
},
|
|
171
|
-
"attribute": "column-title",
|
|
172
|
-
"reflect": true
|
|
173
|
-
},
|
|
174
|
-
"customWidth": {
|
|
175
|
-
"type": "string",
|
|
176
|
-
"mutable": false,
|
|
177
|
-
"complexType": {
|
|
178
|
-
"original": "string",
|
|
179
|
-
"resolved": "string",
|
|
180
|
-
"references": {}
|
|
181
|
-
},
|
|
182
|
-
"required": false,
|
|
183
|
-
"optional": false,
|
|
184
|
-
"docs": {
|
|
185
|
-
"tags": [],
|
|
186
|
-
"text": "In case noMinWidth setting, user has to specify width value for each column, for example \"150px\""
|
|
187
|
-
},
|
|
188
|
-
"attribute": "custom-width",
|
|
189
|
-
"reflect": true
|
|
190
|
-
},
|
|
191
|
-
"sortable": {
|
|
192
|
-
"type": "boolean",
|
|
193
|
-
"mutable": false,
|
|
194
|
-
"complexType": {
|
|
195
|
-
"original": "boolean",
|
|
196
|
-
"resolved": "boolean",
|
|
197
|
-
"references": {}
|
|
198
|
-
},
|
|
199
|
-
"required": false,
|
|
200
|
-
"optional": false,
|
|
201
|
-
"docs": {
|
|
202
|
-
"tags": [],
|
|
203
|
-
"text": "If passed as prop, enables sorting on that column"
|
|
204
|
-
},
|
|
205
|
-
"attribute": "sortable",
|
|
206
|
-
"reflect": false,
|
|
207
|
-
"defaultValue": "false"
|
|
208
|
-
},
|
|
209
|
-
"textAlign": {
|
|
210
|
-
"type": "string",
|
|
211
|
-
"mutable": false,
|
|
212
|
-
"complexType": {
|
|
213
|
-
"original": "string",
|
|
214
|
-
"resolved": "string",
|
|
215
|
-
"references": {}
|
|
216
|
-
},
|
|
217
|
-
"required": false,
|
|
218
|
-
"optional": false,
|
|
219
|
-
"docs": {
|
|
220
|
-
"tags": [],
|
|
221
|
-
"text": "Setting for text align, default is left, but user can pass \"right\" as string - useful for numeric values"
|
|
222
|
-
},
|
|
223
|
-
"attribute": "text-align",
|
|
224
|
-
"reflect": true
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
static get states() {
|
|
229
|
-
return {
|
|
230
|
-
"textAlignState": {},
|
|
231
|
-
"sortingDirection": {},
|
|
232
|
-
"sortedByMyKey": {},
|
|
233
|
-
"disableSortingBtn": {},
|
|
234
|
-
"verticalDividers": {},
|
|
235
|
-
"compactDesign": {},
|
|
236
|
-
"noMinWidth": {},
|
|
237
|
-
"whiteBackground": {},
|
|
238
|
-
"enableMultiselect": {},
|
|
239
|
-
"enableToolbarDesign": {},
|
|
240
|
-
"tableId": {},
|
|
241
|
-
"enableExpandableRows": {}
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
static get events() {
|
|
245
|
-
return [{
|
|
246
|
-
"method": "sortColumnDataEvent",
|
|
247
|
-
"name": "sortColumnDataEvent",
|
|
248
|
-
"bubbles": true,
|
|
249
|
-
"cancelable": true,
|
|
250
|
-
"composed": true,
|
|
251
|
-
"docs": {
|
|
252
|
-
"tags": [],
|
|
253
|
-
"text": "Sends unique table identifier,column key and sorting direction to the sdds-table-body component"
|
|
254
|
-
},
|
|
255
|
-
"complexType": {
|
|
256
|
-
"original": "any",
|
|
257
|
-
"resolved": "any",
|
|
258
|
-
"references": {}
|
|
259
|
-
}
|
|
260
|
-
}, {
|
|
261
|
-
"method": "textAlignEvent",
|
|
262
|
-
"name": "textAlignEvent",
|
|
263
|
-
"bubbles": true,
|
|
264
|
-
"cancelable": true,
|
|
265
|
-
"composed": true,
|
|
266
|
-
"docs": {
|
|
267
|
-
"tags": [],
|
|
268
|
-
"text": "Sends unique table identifier, column key and text align value so the body cells with same key take the same text alignment as header cell"
|
|
269
|
-
},
|
|
270
|
-
"complexType": {
|
|
271
|
-
"original": "any",
|
|
272
|
-
"resolved": "any",
|
|
273
|
-
"references": {}
|
|
274
|
-
}
|
|
275
|
-
}, {
|
|
276
|
-
"method": "headCellHoverEvent",
|
|
277
|
-
"name": "headCellHoverEvent",
|
|
278
|
-
"bubbles": true,
|
|
279
|
-
"cancelable": true,
|
|
280
|
-
"composed": true,
|
|
281
|
-
"docs": {
|
|
282
|
-
"tags": [],
|
|
283
|
-
"text": "Sends unique table identifier, column key so the body cells with the same key change background when user hovers over header cell"
|
|
284
|
-
},
|
|
285
|
-
"complexType": {
|
|
286
|
-
"original": "any",
|
|
287
|
-
"resolved": "any",
|
|
288
|
-
"references": {}
|
|
289
|
-
}
|
|
290
|
-
}];
|
|
291
|
-
}
|
|
292
|
-
static get elementRef() { return "host"; }
|
|
293
|
-
static get listeners() {
|
|
294
|
-
return [{
|
|
295
|
-
"name": "tablePropsChangedEvent",
|
|
296
|
-
"method": "tablePropsChangedEventListener",
|
|
297
|
-
"target": "body",
|
|
298
|
-
"capture": false,
|
|
299
|
-
"passive": false
|
|
300
|
-
}, {
|
|
301
|
-
"name": "sortingSwitcherEvent",
|
|
302
|
-
"method": "sortingSwitcherEventListener",
|
|
303
|
-
"target": "body",
|
|
304
|
-
"capture": false,
|
|
305
|
-
"passive": false
|
|
306
|
-
}, {
|
|
307
|
-
"name": "sortColumnDataEvent",
|
|
308
|
-
"method": "updateOptionsContent",
|
|
309
|
-
"target": "body",
|
|
310
|
-
"capture": false,
|
|
311
|
-
"passive": false
|
|
312
|
-
}, {
|
|
313
|
-
"name": "enableMultiselectEvent",
|
|
314
|
-
"method": "enableMultiselectEventListener",
|
|
315
|
-
"target": "body",
|
|
316
|
-
"capture": false,
|
|
317
|
-
"passive": false
|
|
318
|
-
}];
|
|
319
|
-
}
|
|
320
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
display: table-caption;
|
|
4
|
-
position: relative;
|
|
5
|
-
background-color: var(--sdds-grey-400);
|
|
6
|
-
color: var(--sdds-grey-958);
|
|
7
|
-
padding: 0 var(--sdds-spacing-element-16);
|
|
8
|
-
height: 64px;
|
|
9
|
-
border-top-left-radius: 4px;
|
|
10
|
-
border-top-right-radius: 4px;
|
|
11
|
-
}
|
|
12
|
-
:host * {
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
:host .sdds-table__upper-bar-flex {
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: space-between;
|
|
20
|
-
}
|
|
21
|
-
:host .sdds-table__title {
|
|
22
|
-
font: var(--sdds-headline-07);
|
|
23
|
-
letter-spacing: var(--sdds-headline-07-ls);
|
|
24
|
-
padding-top: var(--sdds-spacing-element-16);
|
|
25
|
-
text-align: left;
|
|
26
|
-
}
|
|
27
|
-
:host .sdds-table__actionbar {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-self: center;
|
|
30
|
-
gap: 8px;
|
|
31
|
-
}
|
|
32
|
-
:host .sdds-table__searchbar {
|
|
33
|
-
display: flex;
|
|
34
|
-
align-self: center;
|
|
35
|
-
position: relative;
|
|
36
|
-
height: 40px;
|
|
37
|
-
width: 40px;
|
|
38
|
-
border-radius: 4px 4px 0 0;
|
|
39
|
-
transition: background-color 250ms ease, width 250ms ease;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
}
|
|
43
|
-
:host .sdds-table__searchbar::after {
|
|
44
|
-
content: "";
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: 2px;
|
|
47
|
-
position: absolute;
|
|
48
|
-
bottom: 0;
|
|
49
|
-
background-color: var(--sdds-blue-400);
|
|
50
|
-
transform: scaleX(0);
|
|
51
|
-
transition: transform 150ms ease;
|
|
52
|
-
}
|
|
53
|
-
:host .sdds-table__searchbar:focus-within::after {
|
|
54
|
-
transform: scaleX(100%);
|
|
55
|
-
}
|
|
56
|
-
:host .sdds-table__searchbar:focus-within, :host .sdds-table__searchbar.sdds-table__searchbar--active {
|
|
57
|
-
width: 208px;
|
|
58
|
-
background-color: var(--sdds-grey-50);
|
|
59
|
-
}
|
|
60
|
-
:host .sdds-table__searchbar:focus-within:hover, :host .sdds-table__searchbar.sdds-table__searchbar--active:hover {
|
|
61
|
-
background-color: var(--sdds-grey-50);
|
|
62
|
-
}
|
|
63
|
-
:host .sdds-table__searchbar .sdds-table__searchbar-input {
|
|
64
|
-
font: var(--sdds-detail-02);
|
|
65
|
-
letter-spacing: var(--sdds-detail-02-ls);
|
|
66
|
-
z-index: 1;
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 100%;
|
|
69
|
-
border: none;
|
|
70
|
-
padding: 0 36px 0 16px;
|
|
71
|
-
background-color: transparent;
|
|
72
|
-
outline: none;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
}
|
|
75
|
-
:host .sdds-table__searchbar .sdds-table__searchbar-input :focus {
|
|
76
|
-
background-color: var(--sdds-grey-50);
|
|
77
|
-
}
|
|
78
|
-
:host .sdds-table__searchbar:hover {
|
|
79
|
-
background-color: var(--sdds-grey-300);
|
|
80
|
-
}
|
|
81
|
-
:host .sdds-table__searchbar .sdds-table__searchbar-icon {
|
|
82
|
-
z-index: 0;
|
|
83
|
-
position: absolute;
|
|
84
|
-
right: 9px;
|
|
85
|
-
top: 9px;
|
|
86
|
-
width: 20px;
|
|
87
|
-
height: 20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
:host(.sdds-table--compact) {
|
|
91
|
-
height: 56px;
|
|
92
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { h, Host, } from '@stencil/core';
|
|
2
|
-
const relevantTableProps = [
|
|
3
|
-
'compactDesign',
|
|
4
|
-
'noMinWidth',
|
|
5
|
-
'verticalDividers',
|
|
6
|
-
'whiteBackground',
|
|
7
|
-
];
|
|
8
|
-
export class TableToolbar {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.tableTitle = '';
|
|
11
|
-
this.enableFiltering = false;
|
|
12
|
-
this.verticalDividers = false;
|
|
13
|
-
this.compactDesign = false;
|
|
14
|
-
this.noMinWidth = false;
|
|
15
|
-
this.whiteBackground = false;
|
|
16
|
-
this.tableId = '';
|
|
17
|
-
}
|
|
18
|
-
tablePropsChangedEventListener(event) {
|
|
19
|
-
if (this.tableId === event.detail.tableId) {
|
|
20
|
-
event.detail.changed
|
|
21
|
-
.filter((changedProp) => relevantTableProps.includes(changedProp))
|
|
22
|
-
.forEach((changedProp) => {
|
|
23
|
-
if (typeof this[changedProp] === 'undefined') {
|
|
24
|
-
throw new Error(`Table prop is not supported: ${changedProp}`);
|
|
25
|
-
}
|
|
26
|
-
this[changedProp] = event.detail[changedProp];
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
connectedCallback() {
|
|
31
|
-
this.tableEl = this.host.closest('sdds-table');
|
|
32
|
-
this.tableId = this.tableEl.tableId;
|
|
33
|
-
}
|
|
34
|
-
componentWillLoad() {
|
|
35
|
-
relevantTableProps.forEach((tablePropName) => {
|
|
36
|
-
this[tablePropName] = this.tableEl[tablePropName];
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
searchFunction(event) {
|
|
40
|
-
const searchTerm = event.currentTarget.value.toLowerCase();
|
|
41
|
-
const sddsTableSearchBar = event.currentTarget.parentElement;
|
|
42
|
-
this.tableFilteringTerm.emit([this.tableId, searchTerm]);
|
|
43
|
-
if (searchTerm.length > 0) {
|
|
44
|
-
sddsTableSearchBar.classList.add('sdds-table__searchbar--active');
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
sddsTableSearchBar.classList.remove('sdds-table__searchbar--active');
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
render() {
|
|
51
|
-
return (h(Host, { class: this.compactDesign ? 'sdds-table--compact' : '' }, h("div", { class: "sdds-table__upper-bar-flex" }, h("caption", { class: "sdds-table__title" }, this.tableTitle), h("div", { class: "sdds-table__actionbar" }, this.enableFiltering && (h("div", { class: "sdds-table__searchbar" }, h("input", { class: "sdds-table__searchbar-input", type: "text", onKeyUp: (event) => this.searchFunction(event) }), h("span", { class: "sdds-table__searchbar-icon" }, h("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.942 1.985c-6.051 0-10.957 4.905-10.957 10.957 0 6.051 4.906 10.957 10.957 10.957 2.666 0 5.109-.952 7.008-2.534l8.332 8.331a1 1 0 1 0 1.414-1.414l-8.331-8.331a10.912 10.912 0 0 0 2.534-7.01c0-6.05-4.905-10.956-10.957-10.956ZM3.985 12.942a8.957 8.957 0 1 1 17.914 0 8.957 8.957 0 0 1-17.914 0Z", fill: "currentColor" }))))), h("slot", { name: "sdds-table__actionbar" })))));
|
|
52
|
-
}
|
|
53
|
-
static get is() { return "sdds-table-toolbar"; }
|
|
54
|
-
static get encapsulation() { return "shadow"; }
|
|
55
|
-
static get originalStyleUrls() {
|
|
56
|
-
return {
|
|
57
|
-
"$": ["table-toolbar.scss"]
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
static get styleUrls() {
|
|
61
|
-
return {
|
|
62
|
-
"$": ["table-toolbar.css"]
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
static get properties() {
|
|
66
|
-
return {
|
|
67
|
-
"tableTitle": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"mutable": false,
|
|
70
|
-
"complexType": {
|
|
71
|
-
"original": "string",
|
|
72
|
-
"resolved": "string",
|
|
73
|
-
"references": {}
|
|
74
|
-
},
|
|
75
|
-
"required": false,
|
|
76
|
-
"optional": false,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [],
|
|
79
|
-
"text": "Adds title to the data-table"
|
|
80
|
-
},
|
|
81
|
-
"attribute": "table-title",
|
|
82
|
-
"reflect": true,
|
|
83
|
-
"defaultValue": "''"
|
|
84
|
-
},
|
|
85
|
-
"enableFiltering": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"mutable": false,
|
|
88
|
-
"complexType": {
|
|
89
|
-
"original": "boolean",
|
|
90
|
-
"resolved": "boolean",
|
|
91
|
-
"references": {}
|
|
92
|
-
},
|
|
93
|
-
"required": false,
|
|
94
|
-
"optional": false,
|
|
95
|
-
"docs": {
|
|
96
|
-
"tags": [],
|
|
97
|
-
"text": "Enables preview of searchbar"
|
|
98
|
-
},
|
|
99
|
-
"attribute": "enable-filtering",
|
|
100
|
-
"reflect": true,
|
|
101
|
-
"defaultValue": "false"
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
static get states() {
|
|
106
|
-
return {
|
|
107
|
-
"verticalDividers": {},
|
|
108
|
-
"compactDesign": {},
|
|
109
|
-
"noMinWidth": {},
|
|
110
|
-
"whiteBackground": {},
|
|
111
|
-
"tableId": {}
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
static get events() {
|
|
115
|
-
return [{
|
|
116
|
-
"method": "tableFilteringTerm",
|
|
117
|
-
"name": "tableFilteringTerm",
|
|
118
|
-
"bubbles": true,
|
|
119
|
-
"cancelable": true,
|
|
120
|
-
"composed": true,
|
|
121
|
-
"docs": {
|
|
122
|
-
"tags": [],
|
|
123
|
-
"text": "Used for sending users input to main parent <sdds-table> component"
|
|
124
|
-
},
|
|
125
|
-
"complexType": {
|
|
126
|
-
"original": "any",
|
|
127
|
-
"resolved": "any",
|
|
128
|
-
"references": {}
|
|
129
|
-
}
|
|
130
|
-
}];
|
|
131
|
-
}
|
|
132
|
-
static get elementRef() { return "host"; }
|
|
133
|
-
static get listeners() {
|
|
134
|
-
return [{
|
|
135
|
-
"name": "tablePropsChangedEvent",
|
|
136
|
-
"method": "tablePropsChangedEventListener",
|
|
137
|
-
"target": "body",
|
|
138
|
-
"capture": false,
|
|
139
|
-
"passive": false
|
|
140
|
-
}];
|
|
141
|
-
}
|
|
142
|
-
}
|