@scania/tegel 1.15.0-table-issue-beta.0 → 1.16.0-tdsheaderitems-beta.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/index-ca8040ad.js +4 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-body-cell.cjs.entry.js +2 -3
- package/dist/cjs/{tds-dropdown.cjs.entry.js → tds-dropdown_2.cjs.entry.js} +93 -4
- package/dist/cjs/tds-folder-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/tds-header.cjs.entry.js +10 -1
- package/dist/cjs/tds-inline-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +2 -2
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +10 -7
- package/dist/cjs/tds-table-body.cjs.entry.js +14 -7
- package/dist/cjs/tds-table-footer.cjs.entry.js +41 -16
- package/dist/cjs/tds-table-header-input-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/tds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/tds-table.cjs.entry.js +8 -3
- package/dist/cjs/tds-text-field.cjs.entry.js +5 -5
- package/dist/cjs/tds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tds-toast.cjs.entry.js +3 -3
- package/dist/cjs/tds-toggle.cjs.entry.js +1 -1
- package/dist/cjs/tds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.css +6 -0
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +13 -0
- package/dist/collection/components/dropdown/dropdown.js +5 -5
- package/dist/collection/components/header/header.js +10 -1
- package/dist/collection/components/table/table/table.js +28 -3
- package/dist/collection/components/table/table-body/table-body.css +28 -0
- package/dist/collection/components/table/table-body/table-body.js +14 -6
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -4
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +1 -1
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +29 -8
- package/dist/collection/components/table/table-footer/table-footer.css +10 -0
- package/dist/collection/components/table/table-footer/table-footer.js +78 -18
- package/dist/collection/components/table/table-header/table-header.js +2 -2
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +1 -1
- package/dist/collection/components/table/table-header-input-wrapper/table-header-input-wrapper.js +1 -1
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +2 -2
- package/dist/collection/components/text-field/text-field.js +5 -5
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +3 -3
- package/dist/collection/components/toggle/toggle.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/{esm/tds-dropdown-option.entry.js → components/p-1c256b8d.js} +45 -10
- package/dist/{esm/tds-dropdown.entry.js → components/p-e7eab204.js} +61 -12
- package/dist/components/tds-body-cell.js +2 -4
- package/dist/components/tds-dropdown-option.js +1 -124
- package/dist/components/tds-dropdown.js +1 -509
- package/dist/components/tds-folder-tab.js +2 -2
- package/dist/components/tds-folder-tabs.js +2 -2
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header.js +10 -1
- package/dist/components/tds-inline-tab.js +2 -2
- package/dist/components/tds-inline-tabs.js +2 -2
- package/dist/components/tds-navigation-tab.js +2 -2
- package/dist/components/tds-navigation-tabs.js +2 -2
- package/dist/components/tds-table-body-row-expandable.js +11 -7
- package/dist/components/tds-table-body.js +15 -7
- package/dist/components/tds-table-footer.js +64 -18
- package/dist/components/tds-table-header-input-wrapper.js +1 -1
- package/dist/components/tds-table-header.js +2 -2
- package/dist/components/tds-table-toolbar.js +2 -2
- package/dist/components/tds-table.js +10 -3
- package/dist/components/tds-text-field.js +5 -5
- package/dist/components/tds-textarea.js +3 -3
- package/dist/components/tds-toast.js +3 -3
- package/dist/components/tds-toggle.js +1 -1
- package/dist/components/tds-tooltip.js +2 -2
- package/dist/esm/index-51d04e39.js +4 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-body-cell.entry.js +2 -3
- package/dist/esm/tds-dropdown_2.entry.js +550 -0
- package/dist/esm/tds-folder-tab.entry.js +2 -2
- package/dist/esm/tds-folder-tabs.entry.js +2 -2
- package/dist/esm/tds-header-cell.entry.js +1 -1
- package/dist/esm/tds-header.entry.js +10 -1
- package/dist/esm/tds-inline-tab.entry.js +2 -2
- package/dist/esm/tds-inline-tabs.entry.js +2 -2
- package/dist/esm/tds-navigation-tab.entry.js +2 -2
- package/dist/esm/tds-navigation-tabs.entry.js +2 -2
- package/dist/esm/tds-table-body-row-expandable.entry.js +10 -7
- package/dist/esm/tds-table-body.entry.js +14 -7
- package/dist/esm/tds-table-footer.entry.js +41 -16
- package/dist/esm/tds-table-header-input-wrapper.entry.js +1 -1
- package/dist/esm/tds-table-header.entry.js +2 -2
- package/dist/esm/tds-table-toolbar.entry.js +2 -2
- package/dist/esm/tds-table.entry.js +8 -3
- package/dist/esm/tds-text-field.entry.js +5 -5
- package/dist/esm/tds-textarea.entry.js +3 -3
- package/dist/esm/tds-toast.entry.js +3 -3
- package/dist/esm/tds-toggle.entry.js +1 -1
- package/dist/esm/tds-tooltip.entry.js +2 -2
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/{p-480c6c28.entry.js → p-088bfcd4.entry.js} +1 -1
- package/dist/tegel/{p-a97dd06a.entry.js → p-1634247e.entry.js} +1 -1
- package/dist/tegel/{p-5c0bb8e1.entry.js → p-19571a64.entry.js} +1 -1
- package/dist/tegel/p-24f63399.entry.js +1 -0
- package/dist/tegel/p-51e49417.entry.js +1 -0
- package/dist/tegel/{p-b34cf70d.entry.js → p-52be41ce.entry.js} +1 -1
- package/dist/tegel/{p-e237cdcc.entry.js → p-73dd2dbb.entry.js} +1 -1
- package/dist/tegel/p-7a83cf55.entry.js +1 -0
- package/dist/tegel/{p-c12eaac3.entry.js → p-831111e9.entry.js} +1 -1
- package/dist/tegel/{p-08642415.entry.js → p-91dcddd5.entry.js} +1 -1
- package/dist/tegel/{p-f823777e.entry.js → p-987084a5.entry.js} +1 -1
- package/dist/tegel/{p-c1f8f523.entry.js → p-a642c800.entry.js} +1 -1
- package/dist/tegel/p-aed1c5cf.entry.js +1 -0
- package/dist/tegel/{p-7c75d8d3.entry.js → p-b00bcf39.entry.js} +1 -1
- package/dist/tegel/{p-6b04a919.entry.js → p-bb129d43.entry.js} +1 -1
- package/dist/tegel/{p-578f6d73.entry.js → p-c790ef93.entry.js} +1 -1
- package/dist/tegel/p-d3541e17.entry.js +1 -0
- package/dist/tegel/{p-98f5b520.entry.js → p-e4343e51.entry.js} +1 -1
- package/dist/tegel/{p-1ba22b41.entry.js → p-e86f2d31.entry.js} +1 -1
- package/dist/tegel/p-f4b640af.entry.js +1 -0
- package/dist/tegel/{p-0a4fe3db.entry.js → p-ff5cd75f.entry.js} +1 -1
- package/dist/tegel/{p-f3f1f357.entry.js → p-ff7ae8a3.entry.js} +1 -1
- package/dist/tegel/tegel.css +2 -2
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +2 -0
- package/dist/types/components/table/table/table.d.ts +4 -0
- package/dist/types/components/table/table-body/table-body.d.ts +1 -0
- package/dist/types/components/table/table-body-cell/table-body-cell.d.ts +0 -1
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +5 -4
- package/dist/types/components/table/table-footer/table-footer.d.ts +10 -0
- package/dist/types/components.d.ts +46 -4
- package/package.json +1 -1
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +0 -95
- package/dist/tegel/p-36e88ce8.entry.js +0 -1
- package/dist/tegel/p-3e859e33.entry.js +0 -1
- package/dist/tegel/p-7cb43ebe.entry.js +0 -1
- package/dist/tegel/p-957c8b27.entry.js +0 -1
- package/dist/tegel/p-c7b2773d.entry.js +0 -1
- package/dist/tegel/p-e1842d99.entry.js +0 -1
- package/dist/tegel/p-e7fac8ad.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
|
|
2
2
|
import { g as generateUniqueId } from './p-11648030.js';
|
|
3
3
|
|
|
4
|
-
const tableBodyRowExpandableCss = ":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .tds-table__row,:host .tds-table__row-extend{display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host .tds-table__row--expanded{border-bottom:none}:host .tds-table__row:hover,:host .tds-table__row-extend:hover{background-color:var(--tds-table-body-row-background-hover)}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .tds-table__expand-control-container .tds-table__expand-input{all:unset;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .tds-table__expand-control-container .tds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__row-expand{display:none;transition:background-color 200ms ease}:host .tds-table__row-expand--expanded{border-bottom:1px solid var(--tds-table-divider)}:host .tds-table__row-expand .tds-table__cell-expand{max-width:1px;overflow:
|
|
4
|
+
const tableBodyRowExpandableCss = ":host{box-sizing:border-box;display:contents}:host *{box-sizing:border-box}:host .tds-table__row,:host .tds-table__row-extend{display:table-row;border-bottom:1px solid var(--tds-table-divider);background-color:var(--tds-table-body-row-background);transition:background-color 200ms ease;color:var(--tds-table-color)}:host .tds-table__row--expanded{border-bottom:none}:host .tds-table__row:hover,:host .tds-table__row-extend:hover{background-color:var(--tds-table-body-row-background-hover)}:host .tds-table__expand-control-container{display:flex;justify-content:center;align-items:center;height:46px;cursor:pointer;padding:0 16px;position:relative}:host .tds-table__expand-control-container .tds-table__expand-input{all:unset;top:0;left:0;width:100%;height:100%;position:absolute;cursor:pointer}:host .tds-table__expand-control-container .tds-table__expand-input:focus{outline:2px solid var(--tds-blue-400);outline-offset:-2px}:host .tds-table__expand-control-container .tds-expendable-row-icon{height:16px;width:16px;transition:transform 200ms ease;transform:rotate(0)}:host .tds-table__row-expand{display:none;transition:background-color 200ms ease}:host .tds-table__row-expand--expanded{border-bottom:1px solid var(--tds-table-divider)}:host .tds-table__row-expand .tds-table__cell-expand{max-width:1px;overflow:auto;padding:16px 16px 16px 66px;color:var(--tds-table-color)}:host(.tds-table__row-expand--active) .tds-table__row{background-color:var(--tds-table-body-row-background-selected)}:host(.tds-table__row-expand--active) .tds-table__expand-control-container .tds-expendable-row-icon{transform:rotate(180deg)}:host(.tds-table__row-expand--active) .tds-table__row-expand{background-color:var(--tds-table-body-row-background-selected);display:table-row}:host(.tds-table__compact) .tds-table__expand-control-container{height:30px}:host(.tds-table__compact) .tds-table__row-expand .tds-table__cell-expand{padding:8px 16px 8px 66px}:host(.tds-table__row--hidden){display:none}:host(.tds-table--divider) .tds-table__cell--expand{border-right:1px solid var(--tds-table-divider)}";
|
|
5
5
|
const TdsTableBodyRowExpandableStyle0 = tableBodyRowExpandableCss;
|
|
6
6
|
|
|
7
7
|
const relevantTableProps = [
|
|
@@ -20,6 +20,7 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
20
20
|
this.colSpan = null;
|
|
21
21
|
this.rowId = generateUniqueId();
|
|
22
22
|
this.expanded = undefined;
|
|
23
|
+
this.overflow = 'auto';
|
|
23
24
|
this.isExpanded = false;
|
|
24
25
|
this.tableId = '';
|
|
25
26
|
this.columnsNumber = null;
|
|
@@ -46,12 +47,12 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
46
47
|
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
|
-
/**
|
|
50
|
+
/** Method to expand table row */
|
|
50
51
|
async expand() {
|
|
51
52
|
this.isExpanded = true;
|
|
52
53
|
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
53
54
|
}
|
|
54
|
-
/**
|
|
55
|
+
/** Method to collapse table row */
|
|
55
56
|
async collapse() {
|
|
56
57
|
this.isExpanded = false;
|
|
57
58
|
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
@@ -86,18 +87,20 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
86
87
|
this.sendValue();
|
|
87
88
|
}
|
|
88
89
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: '46a17e89125c4647a7a3db2c04cb8dff90dcc06a', class: {
|
|
90
91
|
'tds-table__row': true,
|
|
91
92
|
'tds-table__row-expand--active': this.isExpanded,
|
|
92
93
|
'tds-table__compact': this.compactDesign,
|
|
93
94
|
'tds-table--divider': this.verticalDividers,
|
|
94
|
-
} }, h("tr", { key: '
|
|
95
|
+
} }, h("tr", { key: '656a636f2444586e1c78fb5c5de45c623a47e2b5', class: {
|
|
95
96
|
'tds-table__row': true,
|
|
96
97
|
'tds-table__row--expanded': this.isExpanded,
|
|
97
|
-
}, part: "row" }, h("td", { key: '
|
|
98
|
+
}, part: "row" }, h("td", { key: '65cb018b213aca84d520a737761e528a6244da8b', class: "tds-table__cell tds-table__cell--expand" }, h("label", { key: 'c029a732fe57be3189cfe51c456cb8cdd90739c2', class: "tds-table__expand-control-container" }, h("input", { key: '8bfe49a5a02b5467cd38563244910ea7544c7c5d', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: '31b764bf3293b551fc036a4d2a17db4d2c379ab6', class: "tds-expendable-row-icon" }, h("svg", { key: 'e35527f2c66ead3523736ea2dbaf0ce2fcfd3c69', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '00c9f5bca5b04898e0f17ab567e0826d39fe71c4', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.273 9.783a1 1 0 0 1 1.415 0l9.888 9.888a.6.6 0 0 0 .848 0l9.888-9.888a1 1 0 1 1 1.415 1.414l-9.889 9.889a2.6 2.6 0 0 1-3.677 0l-9.888-9.889a1 1 0 0 1 0-1.414Z", fill: "currentColor" }))))), h("slot", { key: '983217a323605c06a600a8db70174fd7464c826c' })), h("tr", { key: '5a2f7db44631b3d912ea93bc97b490d996803d4f', class: {
|
|
98
99
|
'tds-table__row-expand': true,
|
|
99
100
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
100
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
101
|
+
}, part: "expand-row" }, h("td", { key: '38ee3a00705e910161f43894990f987596f3f139', class: "tds-table__cell-expand", colSpan: this.columnsNumber }, h("div", { key: '5fccf84bd2f7454afc3bb036210294e55f80f781', style: {
|
|
102
|
+
overflow: this.overflow,
|
|
103
|
+
} }, h("slot", { key: '01a7f9edf532244bd4f7205b339ffcafb93ceb20', name: "expand-row" }))))));
|
|
101
104
|
}
|
|
102
105
|
get host() { return this; }
|
|
103
106
|
static get watchers() { return {
|
|
@@ -108,6 +111,7 @@ const TdsTableBodyRowExpandable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTa
|
|
|
108
111
|
"colSpan": [2, "col-span"],
|
|
109
112
|
"rowId": [513, "row-id"],
|
|
110
113
|
"expanded": [516],
|
|
114
|
+
"overflow": [513],
|
|
111
115
|
"isExpanded": [32],
|
|
112
116
|
"tableId": [32],
|
|
113
117
|
"columnsNumber": [32],
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
|
|
2
2
|
|
|
3
|
-
const tableBodyCss = ":host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}";
|
|
3
|
+
const tableBodyCss = ":host,tds-table-body{box-sizing:border-box;display:table-row-group}:host *,tds-table-body *{box-sizing:border-box}:host .tds-table__info-message,tds-table-body .tds-table__info-message{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);display:table-cell;box-sizing:border-box;color:var(--tds-table-color);padding:var(--tds-spacing-element-16);min-width:192px;vertical-align:top;background-color:transparent;transition:background-color 200ms ease}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-odd tds-table-body-row:nth-child(odd):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-rows-even tds-table-body-row:nth-child(even):hover{background-color:var(--tds-table-body-row-background-hover)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell:nth-child(odd){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-odd tds-body-cell.tds-table__body-cell--hover:nth-child(odd){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell:nth-child(even){background-color:var(--tds-table-zebra-mode-backround)}tds-table-body.tds-table--zebra-mode-columns-even tds-body-cell.tds-table__body-cell--hover:nth-child(even){background-color:var(--tds-table-body-cell-background-hover)}tds-table-body.tds-table--zebra-mode-columns-even tds-table-body-row:hover tds-body-cell,tds-table-body.tds-table--zebra-mode-columns-odd tds-table-body-row:hover tds-body-cell{background-color:transparent}";
|
|
4
4
|
const TdsTableBodyStyle0 = tableBodyCss;
|
|
5
5
|
|
|
6
|
-
const relevantTableProps = [
|
|
6
|
+
const relevantTableProps = [
|
|
7
|
+
'multiselect',
|
|
8
|
+
'expandableRows',
|
|
9
|
+
'zebraMode',
|
|
10
|
+
];
|
|
7
11
|
const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody extends H {
|
|
8
12
|
constructor() {
|
|
9
13
|
super();
|
|
@@ -20,6 +24,7 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
|
|
|
20
24
|
this.multiselectArrayJSON = undefined;
|
|
21
25
|
this.mainCheckboxStatus = false;
|
|
22
26
|
this.columnsNumber = 0;
|
|
27
|
+
this.zebraMode = 'none';
|
|
23
28
|
this.tableId = '';
|
|
24
29
|
}
|
|
25
30
|
internalTdsPropChangeListener(event) {
|
|
@@ -48,10 +53,7 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
|
|
|
48
53
|
});
|
|
49
54
|
}
|
|
50
55
|
componentWillRender() {
|
|
51
|
-
const
|
|
52
|
-
const headerColumnsNo = headerElement
|
|
53
|
-
? this.host.parentElement.querySelector('tds-table-header').children.length
|
|
54
|
-
: 0;
|
|
56
|
+
const headerColumnsNo = this.host.parentElement.querySelector('tds-table-header').children.length;
|
|
55
57
|
// multiselect and expended features requires one extra column for controls...
|
|
56
58
|
if (this.multiselect || this.expandableRows) {
|
|
57
59
|
this.columnsNumber = headerColumnsNo + 1;
|
|
@@ -61,7 +63,12 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
|
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '0e5ac81e32535901ac4940316a474472368cca86', "data-selected-rows": this.multiselectArrayJSON, class: {
|
|
67
|
+
'tds-table--zebra-mode-rows-odd': this.zebraMode === 'rows-odd',
|
|
68
|
+
'tds-table--zebra-mode-rows-even': this.zebraMode === 'rows-even',
|
|
69
|
+
'tds-table--zebra-mode-columns-odd': this.zebraMode === 'columns-odd',
|
|
70
|
+
'tds-table--zebra-mode-columns-even': this.zebraMode === 'columns-even',
|
|
71
|
+
} }, h("slot", { key: 'c43f3047fc836b0d7f147e00680befd56b25721c' })));
|
|
65
72
|
}
|
|
66
73
|
get host() { return this; }
|
|
67
74
|
static get style() { return TdsTableBodyStyle0; }
|
|
@@ -73,6 +80,7 @@ const TdsTableBody$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableBody exten
|
|
|
73
80
|
"multiselectArrayJSON": [32],
|
|
74
81
|
"mainCheckboxStatus": [32],
|
|
75
82
|
"columnsNumber": [32],
|
|
83
|
+
"zebraMode": [32],
|
|
76
84
|
"tableId": [32]
|
|
77
85
|
}, [[16, "internalTdsTablePropChange", "internalTdsPropChangeListener"], [16, "internalTdsRowChange", "bodyCheckboxListener"]]]);
|
|
78
86
|
function defineCustomElement$1() {
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-28ef5186.js';
|
|
2
|
+
import { d as defineCustomElement$5 } from './p-e4d7c655.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './p-e7eab204.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-1c256b8d.js';
|
|
2
5
|
import { d as defineCustomElement$2 } from './p-3e74be57.js';
|
|
3
6
|
|
|
4
|
-
const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:48px}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 16px}:host .tds-table__footer-cell .tds-table__pagination{height:48px;display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:54px;height:30px;border:none;border-radius:4px;transition:background-color 250ms ease;margin-right:4px;padding-left:16px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:32px;width:32px;border-radius:4px;transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:20px;width:20px;fill:var(--tds-table-color)}:host(.tds-table--compact){height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:24px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}:host(.footer__horizontal-scroll){display:inline-table;position:absolute;margin-top:10px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
|
|
7
|
+
const tableFooterCss = ":host{box-sizing:border-box;display:table-footer-group;height:48px}:host *{box-sizing:border-box}:host .tds-table__footer-row{background-color:var(--tds-table-footer-background);color:var(--tds-table-color)}:host .tds-table__footer-cell{padding:0 16px}:host .tds-table__footer-cell .tds-table__pagination{height:48px;display:flex;align-items:center;justify-content:space-between}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector{display:flex;align-items:center}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page{display:flex;align-items:center;margin-right:16px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__row-selector .rows-per-page p,:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector .rows-per-page p{margin-right:8px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);background-color:var(--tds-table-footer-page-selector-input-background);color:var(--tds-table-color);width:54px;height:30px;border:none;border-radius:4px;transition:background-color 250ms ease;margin-right:4px;padding-left:16px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:hover{background-color:var(--tds-table-footer-page-selector-input-background-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input:disabled{color:var(--tds-table-footer-page-selector-input-color-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input--shake{animation:tds-shake-animation 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-text{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:1px 8px 0 0}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;height:32px;width:32px;border-radius:4px;transition:background-color 250ms ease;color:var(--tds-table-footer-page-selector-icon)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:hover{background-color:var(--tds-table-footer-btn-hover)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled{cursor:default;color:var(--tds-table-footer-page-selector-icon-disabled)}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn:disabled:hover{background-color:transparent}:host .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn-svg{height:20px;width:20px;fill:var(--tds-table-color)}:host(.tds-table--compact){height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination{height:32px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__page-selector-input{height:24px}:host(.tds-table--compact) .tds-table__footer-cell .tds-table__pagination .tds-table__footer-btn{height:28px;width:28px}:host(.footer__horizontal-scroll){display:inline-table;position:absolute;margin-top:10px}@keyframes tds-shake-animation{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}";
|
|
5
8
|
const TdsTableFooterStyle0 = tableFooterCss;
|
|
6
9
|
|
|
7
10
|
const relevantTableProps = [
|
|
@@ -17,17 +20,28 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
17
20
|
this.__registerHost();
|
|
18
21
|
this.__attachShadow();
|
|
19
22
|
this.tdsPagination = createEvent(this, "tdsPagination", 7);
|
|
23
|
+
this.emitTdsPagination = () => {
|
|
24
|
+
if (this.rowsperpage) {
|
|
25
|
+
this.tdsPagination.emit({
|
|
26
|
+
tableId: this.tableId,
|
|
27
|
+
paginationValue: Number(this.paginationValue),
|
|
28
|
+
rowsPerPage: this.rowsPerPageValue,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
this.tdsPagination.emit({
|
|
33
|
+
tableId: this.tableId,
|
|
34
|
+
paginationValue: Number(this.paginationValue),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
};
|
|
20
38
|
this.previousPage = () => {
|
|
21
39
|
/** If pages and greater or equal to 2, decrease pagination value.
|
|
22
40
|
* This is to not get under 1 in pagination value. */
|
|
23
41
|
if (this.paginationValue >= 2) {
|
|
24
42
|
this.paginationValue--;
|
|
25
43
|
}
|
|
26
|
-
|
|
27
|
-
this.tdsPagination.emit({
|
|
28
|
-
tableId: this.tableId,
|
|
29
|
-
paginationValue: Number(this.paginationValue),
|
|
30
|
-
});
|
|
44
|
+
this.emitTdsPagination();
|
|
31
45
|
this.storeLastCorrectValue(this.paginationValue);
|
|
32
46
|
};
|
|
33
47
|
this.nextPage = () => {
|
|
@@ -36,14 +50,23 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
36
50
|
if (this.paginationValue <= this.pages) {
|
|
37
51
|
this.paginationValue++;
|
|
38
52
|
}
|
|
39
|
-
this.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
53
|
+
this.emitTdsPagination();
|
|
54
|
+
this.storeLastCorrectValue(this.paginationValue);
|
|
55
|
+
};
|
|
56
|
+
this.lastPage = () => {
|
|
57
|
+
this.paginationValue = this.pages;
|
|
58
|
+
this.emitTdsPagination();
|
|
59
|
+
this.storeLastCorrectValue(this.paginationValue);
|
|
60
|
+
};
|
|
61
|
+
this.firstPage = () => {
|
|
62
|
+
this.paginationValue = 1;
|
|
63
|
+
this.emitTdsPagination();
|
|
43
64
|
this.storeLastCorrectValue(this.paginationValue);
|
|
44
65
|
};
|
|
45
66
|
this.pagination = false;
|
|
46
67
|
this.paginationValue = 1;
|
|
68
|
+
this.rowsperpage = true;
|
|
69
|
+
this.rowsPerPageValues = [10, 25, 50];
|
|
47
70
|
this.pages = null;
|
|
48
71
|
this.cols = null;
|
|
49
72
|
this.columnsNumber = 0;
|
|
@@ -51,6 +74,7 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
51
74
|
this.lastCorrectValue = undefined;
|
|
52
75
|
this.tableId = '';
|
|
53
76
|
this.horizontalScrollWidth = null;
|
|
77
|
+
this.rowsPerPageValue = this.rowsPerPageValues[0];
|
|
54
78
|
}
|
|
55
79
|
internalTdsPropChangeListener(event) {
|
|
56
80
|
if (this.tableId === event.detail.tableId) {
|
|
@@ -96,12 +120,13 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
96
120
|
else {
|
|
97
121
|
this.paginationValue = insertedValue;
|
|
98
122
|
}
|
|
99
|
-
this.
|
|
100
|
-
tableId: this.tableId,
|
|
101
|
-
paginationValue: Number(this.paginationValue),
|
|
102
|
-
});
|
|
123
|
+
this.emitTdsPagination();
|
|
103
124
|
this.storeLastCorrectValue(this.paginationValue);
|
|
104
125
|
}
|
|
126
|
+
rowsPerPageChange(event) {
|
|
127
|
+
this.rowsPerPageValue = parseInt(event.detail.value);
|
|
128
|
+
this.emitTdsPagination();
|
|
129
|
+
}
|
|
105
130
|
getStyles() {
|
|
106
131
|
const styles = {};
|
|
107
132
|
if (this.horizontalScrollWidth) {
|
|
@@ -110,35 +135,56 @@ const TdsTableFooter$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableFooter e
|
|
|
110
135
|
return styles;
|
|
111
136
|
}
|
|
112
137
|
render() {
|
|
113
|
-
|
|
138
|
+
var _a;
|
|
139
|
+
return (h(Host, { key: 'a47ca76a46aae73aca5ce929c70c2e76f8c2c853', class: {
|
|
114
140
|
'tds-table--compact': this.compactDesign,
|
|
115
141
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
116
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
142
|
+
}, style: this.getStyles() }, h("tr", { key: '725d46b781fd8abe9748a1aabeff92ca419a4189', class: "tds-table__footer-row" }, h("td", { key: 'dce6cb9b634da75b37cd6181d12fbfdfa1eba34c', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '045cf654031b791addb51eb1c9a7b951cb5aec5c', class: "tds-table__pagination" }, h("div", { key: 'e321a6407dc41bb0d5ea8ff272a3ad5a73cc7bf9', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: 'c126a905a62dbbfad2b1f9b4e90e24ea0a5d1f7d', class: "rows-per-page" }, h("p", { key: '68da58804bf6bf222179368ff99b83aaa2e891b4' }, "Rows per page"), h("tds-dropdown", { key: '4db380d47b1944a45c31b083a69d4662c0951fa4', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
143
|
+
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
144
|
+
}))))), h("div", { key: '81951e2a1405f7d8d9fb9d5602ded2652fa3574e', class: "tds-table__page-selector" }, h("input", { key: 'f9a0b0e94c31df6c7f6b78c8334f172b412fde64', ref: (element) => (this.inputElement = element), class: "tds-table__page-selector-input", type: "number", min: "1", max: this.pages, value: this.paginationValue, pattern: "[0-9]+", dir: "ltr", onChange: (event) => this.paginationInputChange(event), onAnimationEnd: removeShakeAnimation }), h("p", { key: '9f03ddfb2efed8f29d932e4272f37cb7fea99366', class: "tds-table__footer-text" }, "of ", h("span", { key: '0e925460d959f6e00f83011d13e5ef2d7ed3cbb6' }, this.pages), " pages"), h("button", { key: '50da78d78b7ef971056e33ba0d0a1bac78149319', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: 'd69ea67ed2ff1dff364c9d3805b3cb29fd953050', name: "skip_backwards", size: "20px" })), h("button", { key: 'c3aeea0024fc6a72aea633d59c10db7729f76022', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '0df46c69a9682fb2a4ec4c75b15adc50b7d436da', name: "chevron_left", size: "20px" })), h("button", { key: '5bd78c3e14dc55421763ac78e19daac64c184e34', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'c0739697329a13021dd9cdb771b69491264962a5', name: "chevron_right", size: "20px" })), h("button", { key: 'b1317db56a99632abf132f619bc59c773e631e04', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '3d6b0997ae36fd372aeb2099a304f02282766f7e', name: "skip_forward", size: "20px" })))))))));
|
|
117
145
|
}
|
|
118
146
|
get host() { return this; }
|
|
119
147
|
static get style() { return TdsTableFooterStyle0; }
|
|
120
148
|
}, [1, "tds-table-footer", {
|
|
121
149
|
"pagination": [516],
|
|
122
150
|
"paginationValue": [1538, "pagination-value"],
|
|
151
|
+
"rowsperpage": [516],
|
|
152
|
+
"rowsPerPageValues": [16],
|
|
123
153
|
"pages": [514],
|
|
124
154
|
"cols": [2],
|
|
125
155
|
"columnsNumber": [32],
|
|
126
156
|
"compactDesign": [32],
|
|
127
157
|
"lastCorrectValue": [32],
|
|
128
158
|
"tableId": [32],
|
|
129
|
-
"horizontalScrollWidth": [32]
|
|
159
|
+
"horizontalScrollWidth": [32],
|
|
160
|
+
"rowsPerPageValue": [32]
|
|
130
161
|
}, [[16, "internalTdsTablePropChange", "internalTdsPropChangeListener"]]]);
|
|
131
162
|
function defineCustomElement$1() {
|
|
132
163
|
if (typeof customElements === "undefined") {
|
|
133
164
|
return;
|
|
134
165
|
}
|
|
135
|
-
const components = ["tds-table-footer", "tds-icon"];
|
|
166
|
+
const components = ["tds-table-footer", "tds-checkbox", "tds-dropdown", "tds-dropdown-option", "tds-icon"];
|
|
136
167
|
components.forEach(tagName => { switch (tagName) {
|
|
137
168
|
case "tds-table-footer":
|
|
138
169
|
if (!customElements.get(tagName)) {
|
|
139
170
|
customElements.define(tagName, TdsTableFooter$1);
|
|
140
171
|
}
|
|
141
172
|
break;
|
|
173
|
+
case "tds-checkbox":
|
|
174
|
+
if (!customElements.get(tagName)) {
|
|
175
|
+
defineCustomElement$5();
|
|
176
|
+
}
|
|
177
|
+
break;
|
|
178
|
+
case "tds-dropdown":
|
|
179
|
+
if (!customElements.get(tagName)) {
|
|
180
|
+
defineCustomElement$4();
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
case "tds-dropdown-option":
|
|
184
|
+
if (!customElements.get(tagName)) {
|
|
185
|
+
defineCustomElement$3();
|
|
186
|
+
}
|
|
187
|
+
break;
|
|
142
188
|
case "tds-icon":
|
|
143
189
|
if (!customElements.get(tagName)) {
|
|
144
190
|
defineCustomElement$2();
|
|
@@ -71,7 +71,7 @@ const TdsTableHeaderInputWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TdsT
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '733f9d487fd530eea4b597368c5ecdc46fd8dedd', class: {
|
|
75
75
|
'focused-input-wrapper': this.inputFocused,
|
|
76
76
|
'show-icon': this.showIcon,
|
|
77
77
|
'tds-table__compact': this.compactDesign,
|
|
@@ -88,11 +88,11 @@ const TdsTableHeaderRow = /*@__PURE__*/ proxyCustomElement(class TdsTableHeaderR
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (h(Host, { key: '
|
|
91
|
+
return (h(Host, { key: '08dd2d38a8df4e8715c780dde55d81d52a26b26f', class: {
|
|
92
92
|
'tds-table--compact': this.compactDesign,
|
|
93
93
|
'tds-table--divider': this.verticalDividers,
|
|
94
94
|
'tds-table--toolbar-available': this.enableToolbarDesign,
|
|
95
|
-
} }, h("tr", { key: '
|
|
95
|
+
} }, h("tr", { key: '5d5d3f8fa7293ce9e8b09fdb241225ce16e4b0d5' }, this.multiselect && (h("th", { key: '7b3034bd06348bc8df55a90fe13991f4910715a2', class: "tds-table__header-cell tds-table__header-cell--checkbox" }, h("div", { key: '0cae18f657cb4121c8ed21437ff55cefa308a5ff', class: "tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '423b6ff577d3b65e7eb4f6e8a5f3f914d810904a', checked: this.allSelected || this.selected, disabled: this.disabled, indeterminate: this.indeterminate, onTdsChange: (event) => this.handleCheckboxChange(event) })))), this.expandableRows && (h("th", { key: '74eb896f4b1de85cf9b561b9aa10e6d9e309031c', class: "tds-table__header-cell tds-table__header-cell--checkbox" })), h("slot", { key: 'a9b444c190c08a4eb53fa634281e2ff591046c5a' }))));
|
|
96
96
|
}
|
|
97
97
|
get host() { return this; }
|
|
98
98
|
static get style() { return TdsTableHeaderStyle0; }
|
|
@@ -69,10 +69,10 @@ const TdsTableToolbar$1 = /*@__PURE__*/ proxyCustomElement(class TdsTableToolbar
|
|
|
69
69
|
return styles;
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'c3488722c0a27313efa13acafeab81ca23c6c765', class: {
|
|
73
73
|
'tds-table--compact': this.compactDesign,
|
|
74
74
|
'toolbar__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
75
|
-
}, style: this.getStyles() }, h("div", { key: '
|
|
75
|
+
}, style: this.getStyles() }, h("div", { key: '688e2903c9b447cb0770a8ee15dc8d1c4d3608d3', class: "tds-table__upper-bar-flex" }, h("caption", { key: 'a9c57a3b3cdbc61d7176163310cd8acda8ed58a2', class: "tds-table__title" }, this.tableTitle), h("div", { key: 'ae28004762b94923faa433a9f13245ab8595493b', class: "tds-table__actionbar" }, this.filter && (h("div", { key: '0d85e682ee8a733fc61df0855ed1a56bd7356069', class: "tds-table__searchbar" }, h("input", { key: '50b9c945f34cb13d440ed448f8be58ea2900f9f7', class: "tds-table__searchbar-input", type: "text", onKeyUp: (event) => this.handleSearch(event) }), h("span", { key: 'eff520922329f0379f22cb31171b81887c6bbdf7', class: "tds-table__searchbar-icon" }, h("tds-icon", { key: '09c7d084aed40ec2a3a25dc1ca86d978b8ef39ec', name: "search", size: "20px" })))), h("slot", { key: '1b7dc61ec5ec9d5ac7e5ea116cedfd6a773d5628', name: "end" })))));
|
|
76
76
|
}
|
|
77
77
|
get host() { return this; }
|
|
78
78
|
static get style() { return TdsTableToolbarStyle0; }
|
|
@@ -17,6 +17,7 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
17
17
|
this.expandableRows = false;
|
|
18
18
|
this.responsive = false;
|
|
19
19
|
this.modeVariant = null;
|
|
20
|
+
this.zebraMode = 'none';
|
|
20
21
|
this.horizontalScrollWidth = null;
|
|
21
22
|
this.tableId = generateUniqueId();
|
|
22
23
|
this.enableHorizontalScrollToolbarDesign = false;
|
|
@@ -73,6 +74,9 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
73
74
|
noMinWidthChanged(newValue) {
|
|
74
75
|
this.emitInternalTdsPropChange('noMinWidth', newValue);
|
|
75
76
|
}
|
|
77
|
+
zebraModeChanged(newValue) {
|
|
78
|
+
this.emitInternalTdsPropChange('zebraMode', newValue);
|
|
79
|
+
}
|
|
76
80
|
modeVariantChanged(newValue) {
|
|
77
81
|
this.emitInternalTdsPropChange('modeVariant', newValue);
|
|
78
82
|
}
|
|
@@ -88,11 +92,11 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
88
92
|
}
|
|
89
93
|
}
|
|
90
94
|
render() {
|
|
91
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: '4d156fac32972a0493c44dc235134370f503c43c', class: {
|
|
92
96
|
'tds-table--responsive': this.responsive,
|
|
93
97
|
'tds-mode-variant-primary': this.modeVariant === 'primary',
|
|
94
98
|
'tds-mode-variant-secondary': this.modeVariant === 'secondary',
|
|
95
|
-
} }, h("table", { key: '
|
|
99
|
+
} }, h("table", { key: 'da2663a9406f0f5a68ba789fd9ae16e474f28b6e', style: this.getStyles(), class: {
|
|
96
100
|
'tds-table': true,
|
|
97
101
|
'tds-table--compact': this.compactDesign,
|
|
98
102
|
'tds-table--divider': this.verticalDividers,
|
|
@@ -103,7 +107,7 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
103
107
|
'tds-table--horizontal-scroll-toolbar-compact': this.enableHorizontalScrollToolbarDesign && this.compactDesign,
|
|
104
108
|
'tds-table--horizontal-scroll-footer': this.enableHorizontalScrollFooterDesign && !this.compactDesign,
|
|
105
109
|
'tds-table--horizontal-scroll-footer-compact': this.enableHorizontalScrollFooterDesign && this.compactDesign,
|
|
106
|
-
} }, h("slot", { key: '
|
|
110
|
+
} }, h("slot", { key: '1fc2d3dc9a43c87adea2ad500f573838c23bd2ca' }))));
|
|
107
111
|
}
|
|
108
112
|
get host() { return this; }
|
|
109
113
|
static get watchers() { return {
|
|
@@ -112,6 +116,7 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
112
116
|
"compactDesign": ["compactDesignChanged"],
|
|
113
117
|
"verticalDividers": ["verticalDividersChanged"],
|
|
114
118
|
"noMinWidth": ["noMinWidthChanged"],
|
|
119
|
+
"zebraMode": ["zebraModeChanged"],
|
|
115
120
|
"modeVariant": ["modeVariantChanged"],
|
|
116
121
|
"horizontalScrollWidth": ["widthChanged"]
|
|
117
122
|
}; }
|
|
@@ -124,6 +129,7 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
124
129
|
"expandableRows": [516, "expandable-rows"],
|
|
125
130
|
"responsive": [516],
|
|
126
131
|
"modeVariant": [513, "mode-variant"],
|
|
132
|
+
"zebraMode": [513, "zebra-mode"],
|
|
127
133
|
"horizontalScrollWidth": [1, "horizontal-scroll-width"],
|
|
128
134
|
"tableId": [1, "table-id"],
|
|
129
135
|
"enableHorizontalScrollToolbarDesign": [32],
|
|
@@ -135,6 +141,7 @@ const TdsTable$1 = /*@__PURE__*/ proxyCustomElement(class TdsTable extends H {
|
|
|
135
141
|
"compactDesign": ["compactDesignChanged"],
|
|
136
142
|
"verticalDividers": ["verticalDividersChanged"],
|
|
137
143
|
"noMinWidth": ["noMinWidthChanged"],
|
|
144
|
+
"zebraMode": ["zebraModeChanged"],
|
|
138
145
|
"modeVariant": ["modeVariantChanged"],
|
|
139
146
|
"horizontalScrollWidth": ["widthChanged"]
|
|
140
147
|
}]);
|
|
@@ -55,7 +55,7 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
|
|
|
55
55
|
var _a;
|
|
56
56
|
const usesPrefixSlot = hasSlot('prefix', this.host);
|
|
57
57
|
const usesSuffixSlot = hasSlot('suffix', this.host);
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: 'd75b1ef11a730f7133c176776d6ff2f7713c302e', class: {
|
|
59
59
|
'form-text-field-nomin': this.noMinWidth,
|
|
60
60
|
'form-text-field': !this.focusInput || this.disabled,
|
|
61
61
|
'text-field-focus': this.focusInput && !this.disabled,
|
|
@@ -69,12 +69,12 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
|
|
|
69
69
|
'form-text-field-sm': this.size === 'sm',
|
|
70
70
|
'form-text-field-error': this.state === 'error',
|
|
71
71
|
'form-text-field-success': this.state === 'success',
|
|
72
|
-
} }, this.labelPosition === 'outside' && (h("div", { key: '
|
|
72
|
+
} }, this.labelPosition === 'outside' && (h("div", { key: 'd1058c58a68782725d425d22ee3982605e375d4b', class: "text-field-label-outside" }, h("div", { key: 'c15fb3eb6f0345e2c58efd21711113c9f17a6223' }, this.label))), h("div", { key: '8795ee1b898c4b9b503588e31f4dac1354154a5c', onClick: () => this.textInput.focus(), class: "text-field-container" }, usesPrefixSlot && (h("div", { key: '9b78e21a8aa003b976110467d28cc0cdd7e8da96', class: {
|
|
73
73
|
'text-field-slot-wrap-prefix': true,
|
|
74
74
|
'text-field-error': this.state === 'error',
|
|
75
75
|
'text-field-success': this.state === 'success',
|
|
76
76
|
'text-field-default': this.state === 'default',
|
|
77
|
-
} }, h("slot", { key: '
|
|
77
|
+
} }, h("slot", { key: 'e393a751374617fba0eb3153027ccc7c687546ae', name: "prefix" }))), h("div", { key: '5acc43f4064dee1294d9590f2978e6d2a68642a0', class: "text-field-input-container" }, h("input", { key: '12c6abdf65142b09efe6bd293c21f447307606f8', ref: (inputEl) => (this.textInput = inputEl), class: {
|
|
78
78
|
'text-field-input': true,
|
|
79
79
|
'text-field-input-sm': this.size === 'sm',
|
|
80
80
|
'text-field-input-md': this.size === 'md',
|
|
@@ -87,13 +87,13 @@ const TdsTextField$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextField exten
|
|
|
87
87
|
if (!this.readOnly) {
|
|
88
88
|
this.handleBlur(event);
|
|
89
89
|
}
|
|
90
|
-
} }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '
|
|
90
|
+
} }), this.labelPosition === 'inside' && this.size !== 'sm' && (h("label", { key: '4f4b7888d0b25431b9716ae9082188945ee1b36f', class: "text-field-label-inside" }, this.label))), h("div", { key: '797624248b2d5a5d2ea20687f1952c9b4d8945d5', class: "text-field-bar" }), usesSuffixSlot && (h("div", { key: '8a629c0927d391aea80a4b6d6ef4040772e9ded0', class: {
|
|
91
91
|
'text-field-slot-wrap-suffix': true,
|
|
92
92
|
'text-field-error': this.state === 'error',
|
|
93
93
|
'text-field-success': this.state === 'success',
|
|
94
94
|
'text-field-default': this.state === 'default',
|
|
95
95
|
'tds-u-display-none': this.readOnly,
|
|
96
|
-
} }, h("slot", { key: '
|
|
96
|
+
} }, h("slot", { key: '2de42ce855242335dc1a25248e09527534be0152', name: "suffix" }))), h("span", { key: '422c8b07010a7dd59d8653c65f76ab79dbf4284b', class: "text-field-icon__readonly" }, h("tds-icon", { key: '254a6cf7c6fcde19447e0275d6984f16d1bf4385', name: "edit_inactive", size: "20px" })), h("span", { key: '8625d2334c62556ac6484ee81ac05a5caef87e33', class: "text-field-icon__readonly-label" }, "This field is non-editable")), (this.helper || this.maxLength > 0) && (h("div", { key: '82bc517d9d3be59c5861687334465b41d768ff63', class: "text-field-helper" }, this.state === 'error' && (h("div", { key: '25366fcd3b55885a5433b36560be8e6849c15875', class: "text-field-helper-error-state" }, h("tds-icon", { key: '8cdbc0ae8ec4efd992cecbb1588ba96c0600783e', name: "error", size: "16px" }), this.helper)), this.state !== 'error' && this.helper, this.maxLength > 0 && (h("div", { key: '232f3e4f400c49f8c065190d9353202b94419ef1', class: "text-field-textcounter" }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '9ccc2d350603c6ad5ed6c49e84e00f8adcc2cd91', class: "text-field-textcounter-divider" }, " / "), this.maxLength))))));
|
|
97
97
|
}
|
|
98
98
|
get host() { return this; }
|
|
99
99
|
static get style() { return TdsTextFieldStyle0; }
|
|
@@ -49,7 +49,7 @@ const TdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextarea extends
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
var _a;
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: 'fc3599b1d61b75327840068968001f2df6ec6b05', class: `
|
|
53
53
|
textarea-container
|
|
54
54
|
${this.labelPosition === 'inside' ? 'textarea-label-inside' : ''}
|
|
55
55
|
${this.focusInput ? 'textarea-focus' : ''}
|
|
@@ -59,7 +59,7 @@ const TdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextarea extends
|
|
|
59
59
|
${this.value ? 'textarea-data' : ''}
|
|
60
60
|
${this.state === 'error' || this.state === 'success' ? `textarea-${this.state}` : ''}
|
|
61
61
|
${this.noMinWidth ? 'no-min-width' : ''}
|
|
62
|
-
` }, this.labelPosition !== 'no-label' && h("span", { key: '
|
|
62
|
+
` }, this.labelPosition !== 'no-label' && h("span", { key: '5ac3d5ef752a55f241865fe51bdb7aa96416731b', class: 'textarea-label' }, this.label), h("div", { key: '310c4a2a51391c366e17eca98ee22903d1620b16', class: "textarea-wrapper" }, h("textarea", { key: '4b83ff31486dea966a4a4a9df35d83043ad1a616', class: 'textarea-input', ref: (inputEl) => (this.textEl = inputEl), disabled: this.disabled, readonly: this.readOnly, placeholder: this.placeholder, value: this.value, name: this.name, autofocus: this.autofocus, maxlength: this.maxLength, cols: this.cols, rows: this.rows, onFocus: (event) => {
|
|
63
63
|
if (!this.readOnly) {
|
|
64
64
|
this.handleFocus(event);
|
|
65
65
|
}
|
|
@@ -67,7 +67,7 @@ const TdsTextarea$1 = /*@__PURE__*/ proxyCustomElement(class TdsTextarea extends
|
|
|
67
67
|
if (!this.readOnly) {
|
|
68
68
|
this.handleBlur(event);
|
|
69
69
|
}
|
|
70
|
-
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event) }), h("span", { key: '
|
|
70
|
+
}, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event) }), h("span", { key: '7718db97412e86796819e23584037833d762d6ce', class: "textarea-resizer-icon" }, h("svg", { key: '2b59b518d8bb6a61f6cbbbfb9bd2ec67938e91b6', width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '99c42c62b8e6a17c6acf6824d6e08ae88a3ed2bf', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.8536 0.853553C12.0488 0.658291 12.0488 0.341709 11.8536 0.146447C11.6583 -0.0488155 11.3417 -0.0488155 11.1464 0.146447L0.146447 11.1464C-0.0488155 11.3417 -0.0488155 11.6583 0.146447 11.8536C0.341709 12.0488 0.658291 12.0488 0.853553 11.8536L11.8536 0.853553ZM11.8536 4.64645C12.0488 4.84171 12.0488 5.15829 11.8536 5.35355L5.35355 11.8536C5.15829 12.0488 4.84171 12.0488 4.64645 11.8536C4.45118 11.6583 4.45118 11.3417 4.64645 11.1464L11.1464 4.64645C11.3417 4.45118 11.6583 4.45118 11.8536 4.64645ZM11.8536 8.64645C12.0488 8.84171 12.0488 9.15829 11.8536 9.35355L9.35355 11.8536C9.15829 12.0488 8.84171 12.0488 8.64645 11.8536C8.45118 11.6583 8.45118 11.3417 8.64645 11.1464L11.1464 8.64645C11.3417 8.45118 11.6583 8.45118 11.8536 8.64645Z", fill: "currentColor" }))), h("span", { key: '5c4a4cad4aa805df35ce264c34f9cdde678b1804', class: "textarea-icon__readonly" }, h("tds-icon", { key: 'c5fe3371e08431c38a3979c226f64b79c35fed23', name: "edit_inactive" })), h("span", { key: 'e4261be8ce8cf8fc9cba5f25e6d4c52de4503f67', class: "textarea-icon__readonly-label" }, "This field is non-editable")), h("span", { key: 'a58d64d87a5f971f3e51356a839beea73dfff4b4', class: 'textarea-helper' }, this.state === 'error' && h("tds-icon", { key: '39dfd4c2c356817e5f3b39af7f4e90334de79ac0', name: "error", size: "16px" }), this.helper), this.maxLength > 0 && (h("div", { key: '8df0493b694ddce5cd3669f00527329df2c29e06', class: 'textarea-textcounter' }, this.value === null ? 0 : (_a = this.value) === null || _a === void 0 ? void 0 : _a.length, h("span", { key: '8604248491d68a2b70531c028661573de48deb27', class: "textfield-textcounter-divider" }, " / "), " ", this.maxLength))));
|
|
71
71
|
}
|
|
72
72
|
static get style() { return TdsTextareaStyle0; }
|
|
73
73
|
}, [2, "tds-textarea", {
|
|
@@ -62,12 +62,12 @@ const TdsToast$1 = /*@__PURE__*/ proxyCustomElement(class TdsToast extends H {
|
|
|
62
62
|
const usesHeaderSlot = hasSlot('header', this.host);
|
|
63
63
|
const usesSubheaderSlot = hasSlot('subheader', this.host);
|
|
64
64
|
const usesActionsSlot = hasSlot('actions', this.host);
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'ee07540896c1aae0d8025b16e6b7794f1c5d8f4a', toastRole: this.toastRole, "aria-describedby": this.host.getAttribute('aria-describedby'), class: {
|
|
66
66
|
hide: this.hidden,
|
|
67
67
|
show: !this.hidden,
|
|
68
|
-
} }, h("div", { key: '
|
|
68
|
+
} }, h("div", { key: '20a502c69ea5923dbd53fb8749c0c03a4aa4977b', class: `
|
|
69
69
|
wrapper
|
|
70
|
-
${this.variant}` }, h("tds-icon", { key: '
|
|
70
|
+
${this.variant}` }, h("tds-icon", { key: '4167e597b4603cdb7d522a8b86dcc9c5c382ecaa', name: this.getIconName(), size: "20px" }), h("div", { key: '31921a5a61b34711669cbc93583291581e95c86f', class: `content` }, h("div", { key: '6d45456ec0c53cba6714af755a6fc2fa4db4405a', class: "header-subheader" }, this.header && h("div", { key: '3ac77ce9dfea028f0207214d99221ea5de0025cd', class: "header" }, this.header), usesHeaderSlot && h("slot", { key: 'c746b1e1bd696fa8ed85e39bea4b6df0404a1a14', name: "header" }), this.subheader && h("div", { key: '3f6496b6942d9a6ff9a425cd60e396d813f4da1b', class: "subheader" }, this.subheader), usesSubheaderSlot && h("slot", { key: '8c3c3a8f926dbc077c63a562cd54afba693d6ea6', name: "subheader" })), usesActionsSlot && (h("div", { key: 'dc5e027546c10825168bf0907280479f29688c3d', class: `toast-bottom ${usesSubheaderSlot || this.subheader ? 'subheader' : 'no-subheader'}` }, h("slot", { key: 'e7593549992a4842a7f6c35ab93c06b902ad469b', name: "actions" })))), this.closable && (h("button", { key: '7b3d02c1b27263f550445a18a3f94a5064375a78', onClick: this.handleClose, class: "close" }, h("tds-icon", { key: '69dffbd7b7e6be0dabd264683ea1bbf7c9413fae', name: "cross", size: "20px" }))))));
|
|
71
71
|
}
|
|
72
72
|
get host() { return this; }
|
|
73
73
|
static get style() { return TdsToastStyle0; }
|
|
@@ -33,7 +33,7 @@ const TdsToggle$1 = /*@__PURE__*/ proxyCustomElement(class TdsToggle extends H {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: 'a740337f48412e83ddb8518fd88b7bfa9fb56930', class: "tds-toggle" }, this.headline && (h("div", { key: 'f768b325a07cbadb06bdf8a7ae3e41586b9e5d1b', class: `toggle-headline ${this.disabled ? 'disabled' : ''}` }, this.headline)), h("input", { key: 'e10313611123f0f6ab5f0477ff533218289096e4', "aria-describedby": this.host.getAttribute('aria-describedby'), "aria-labelledby": this.host.getAttribute('aria-labelledby'), "aria-checked": this.checked, "aria-required": this.required, onChange: () => this.handleToggle(), class: `${this.size}`, checked: this.checked, disabled: this.disabled, required: this.required, type: "checkbox", name: this.name, id: this.toggleId, role: "switch" }), h("label", { key: '5a46a186950ce374c963da377d41b64431c249af', class: `${this.disabled ? 'disabled' : ''}`, htmlFor: this.toggleId }, h("slot", { key: '103d423193d379770333a78844e733c05402b010', name: "label" }))));
|
|
37
37
|
}
|
|
38
38
|
get host() { return this; }
|
|
39
39
|
static get style() { return TdsToggleStyle0; }
|
|
@@ -55,7 +55,7 @@ const TdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a;
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '6ddab8bdc240b9b286226593656bbc5ab89f375d' }, h("tds-popover-core", Object.assign({ key: '82235fdf92c5d1fb7a63b2a756a59c8516e1e8c2' }, this.inheritedAttributes, { class: {
|
|
59
59
|
'tds-tooltip': true,
|
|
60
60
|
[`tds-tooltip-${this.border}`]: true,
|
|
61
61
|
[(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
|
|
@@ -64,7 +64,7 @@ const TdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H
|
|
|
64
64
|
this.show = true;
|
|
65
65
|
}, onInternalTdsClose: () => {
|
|
66
66
|
this.show = false;
|
|
67
|
-
} }), this.text, h("slot", { key: '
|
|
67
|
+
} }), this.text, h("slot", { key: '579448ad9309452a0be5aedb906da8059f56b122' }))));
|
|
68
68
|
}
|
|
69
69
|
get host() { return this; }
|
|
70
70
|
static get style() { return TdsTooltipStyle0; }
|
|
@@ -100,14 +100,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
100
100
|
return import(
|
|
101
101
|
/* webpackMode: "lazy" */
|
|
102
102
|
'./tds-datetime.entry.js').then(processMod, consoleError);
|
|
103
|
-
case 'tds-dropdown':
|
|
104
|
-
return import(
|
|
105
|
-
/* webpackMode: "lazy" */
|
|
106
|
-
'./tds-dropdown.entry.js').then(processMod, consoleError);
|
|
107
|
-
case 'tds-dropdown-option':
|
|
108
|
-
return import(
|
|
109
|
-
/* webpackMode: "lazy" */
|
|
110
|
-
'./tds-dropdown-option.entry.js').then(processMod, consoleError);
|
|
111
103
|
case 'tds-folder-tab':
|
|
112
104
|
return import(
|
|
113
105
|
/* webpackMode: "lazy" */
|
|
@@ -332,6 +324,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
332
324
|
return import(
|
|
333
325
|
/* webpackMode: "lazy" */
|
|
334
326
|
'./tds-divider.entry.js').then(processMod, consoleError);
|
|
327
|
+
case 'tds-dropdown_2':
|
|
328
|
+
return import(
|
|
329
|
+
/* webpackMode: "lazy" */
|
|
330
|
+
'./tds-dropdown_2.entry.js').then(processMod, consoleError);
|
|
335
331
|
case 'tds-header-dropdown-list':
|
|
336
332
|
return import(
|
|
337
333
|
/* webpackMode: "lazy" */
|