@scania/tegel 1.16.0-tdsheaderitems-beta.1 → 1.17.0-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/loader.cjs.js +1 -1
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +18 -8
- package/dist/cjs/tds-header.cjs.entry.js +1 -10
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +30 -10
- package/dist/cjs/tds-table-body-row.cjs.entry.js +22 -3
- package/dist/cjs/tds-table-footer.cjs.entry.js +6 -3
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +18 -8
- package/dist/collection/components/header/header.js +1 -10
- package/dist/collection/components/side-menu/side-menu.js +3 -3
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/table/table.js +1 -1
- package/dist/collection/components/table/table-body-row/table-body-row.css +8 -0
- package/dist/collection/components/table/table-body-row/table-body-row.js +58 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css +6 -0
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +58 -13
- package/dist/collection/components/table/table-footer/table-footer.js +6 -3
- package/dist/components/{p-e7eab204.js → p-9c87dbde.js} +18 -8
- package/dist/components/tds-breadcrumb.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-header.js +1 -10
- package/dist/components/tds-table-body-row-expandable.js +32 -11
- package/dist/components/tds-table-body-row.js +23 -3
- package/dist/components/tds-table-footer.js +7 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-breadcrumb.entry.js +1 -1
- package/dist/esm/tds-dropdown_2.entry.js +18 -8
- package/dist/esm/tds-header.entry.js +1 -10
- package/dist/esm/tds-table-body-row-expandable.entry.js +30 -10
- package/dist/esm/tds-table-body-row.entry.js +22 -3
- package/dist/esm/tds-table-footer.entry.js +6 -3
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/{p-a593cae3.entry.js → p-0df92ce7.entry.js} +1 -1
- package/dist/tegel/p-4655ef6d.entry.js +1 -0
- package/dist/tegel/p-6e2435ef.entry.js +1 -0
- package/dist/tegel/p-7cb43ebe.entry.js +1 -0
- package/dist/tegel/p-9c2dfecc.entry.js +1 -0
- package/dist/tegel/p-bcae4d3a.entry.js +1 -0
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/header/header.d.ts +0 -2
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +10 -0
- package/dist/types/components/table/table-body-row-expandable/table-body-row-expandable.d.ts +11 -1
- package/dist/types/components.d.ts +33 -2
- package/package.json +1 -1
- package/dist/tegel/p-2da2c193.entry.js +0 -1
- package/dist/tegel/p-d3541e17.entry.js +0 -1
- package/dist/tegel/p-e4343e51.entry.js +0 -1
- package/dist/tegel/p-f4b640af.entry.js +0 -1
- package/dist/tegel/p-ff6b9486.entry.js +0 -1
|
@@ -90,10 +90,13 @@ export class TdsDropdown {
|
|
|
90
90
|
return this.filter ? labels === null || labels === void 0 ? void 0 : labels.join(', ') : labels === null || labels === void 0 ? void 0 : labels.toString();
|
|
91
91
|
};
|
|
92
92
|
this.setValueAttribute = () => {
|
|
93
|
-
var _a
|
|
94
|
-
if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) === '')
|
|
95
|
-
this.value
|
|
96
|
-
|
|
93
|
+
var _a;
|
|
94
|
+
if (!this.value || ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) === '') {
|
|
95
|
+
this.host.removeAttribute('value');
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
this.host.setAttribute('value', this.value.map((val) => val).toString());
|
|
99
|
+
}
|
|
97
100
|
};
|
|
98
101
|
this.handleFilter = (event) => {
|
|
99
102
|
this.tdsInput.emit(event);
|
|
@@ -342,7 +345,7 @@ export class TdsDropdown {
|
|
|
342
345
|
render() {
|
|
343
346
|
var _a, _b, _c, _d;
|
|
344
347
|
appendHiddenInput(this.host, this.name, (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString(), this.disabled);
|
|
345
|
-
return (h(Host, { key: '
|
|
348
|
+
return (h(Host, { key: 'c756dc7221c39b901524bd0c28938bd166e412bc', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { key: '5184a8c84d24e0f13379c95fc7ceb7791f1e25ab', class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '601bc322ce765ed1ee52e1ee6a0894fcb335485b', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
|
|
346
349
|
filter: true,
|
|
347
350
|
focus: this.filterFocus,
|
|
348
351
|
disabled: this.disabled,
|
|
@@ -353,13 +356,20 @@ export class TdsDropdown {
|
|
|
353
356
|
${((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
|
|
354
357
|
` }, this.label)), h("input", {
|
|
355
358
|
// eslint-disable-next-line no-return-assign
|
|
356
|
-
ref: (inputEl) => (this.inputElement = inputEl), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.placeholder, value: this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
|
|
359
|
+
ref: (inputEl) => (this.inputElement = inputEl), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.filterFocus ? '' : this.placeholder, value: this.multiselect && this.filterFocus ? '' : this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
|
|
357
360
|
this.filterFocus = false;
|
|
361
|
+
if (this.multiselect) {
|
|
362
|
+
this.inputElement.value = this.getValue();
|
|
363
|
+
}
|
|
358
364
|
this.handleBlur(event);
|
|
359
365
|
}, onFocus: (event) => {
|
|
360
366
|
this.open = true;
|
|
361
367
|
this.filterFocus = true;
|
|
368
|
+
if (this.multiselect) {
|
|
369
|
+
this.inputElement.value = '';
|
|
370
|
+
}
|
|
362
371
|
this.handleFocus(event);
|
|
372
|
+
this.handleFilter({ target: { value: '' } });
|
|
363
373
|
}, onKeyDown: (event) => {
|
|
364
374
|
if (event.key === 'Escape') {
|
|
365
375
|
this.open = false;
|
|
@@ -385,11 +395,11 @@ export class TdsDropdown {
|
|
|
385
395
|
label-inside-as-placeholder
|
|
386
396
|
${this.size}
|
|
387
397
|
${((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
|
|
388
|
-
` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '
|
|
398
|
+
` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '71042ce1a28e3598ee37977b86ae887c68caad1d', ref: (element) => (this.dropdownList = element), class: `dropdown-list
|
|
389
399
|
${this.size}
|
|
390
400
|
${this.open ? 'open' : 'closed'}
|
|
391
401
|
${this.getOpenDirection()}
|
|
392
|
-
${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '
|
|
402
|
+
${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: 'bf606ae5c67258fc04df20474cde59ff00ea90eb', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '2a1b20c4ad0acf3f6c7de06ef3e6a84e7879f398', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: '1c4cb2ca717f28fe16306729ae6cf555358a1a65', class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { key: '6b3a6054fa2e1f1b77c8520cdfab20ef5e7a4bf9', name: "error", size: "16px" }), this.helper))));
|
|
393
403
|
}
|
|
394
404
|
static get is() { return "tds-dropdown"; }
|
|
395
405
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,15 +18,6 @@ export class TdsHeader {
|
|
|
18
18
|
};
|
|
19
19
|
this.observer = new MutationObserver(callback);
|
|
20
20
|
}
|
|
21
|
-
updateRoles() {
|
|
22
|
-
const navElement = this.host.querySelector('.tds-header-component-list');
|
|
23
|
-
if (navElement) {
|
|
24
|
-
updateListChildrenRoles(navElement);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
handleSlotChange() {
|
|
28
|
-
this.updateRoles();
|
|
29
|
-
}
|
|
30
21
|
componentDidLoad() {
|
|
31
22
|
const hostElement = this.host;
|
|
32
23
|
const navElement = hostElement.querySelector('.tds-header-component-list');
|
|
@@ -41,7 +32,7 @@ export class TdsHeader {
|
|
|
41
32
|
}
|
|
42
33
|
render() {
|
|
43
34
|
const navAttributes = Object.assign({}, inheritAriaAttributes(this.host));
|
|
44
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '7f42725db4686769f46fb327bc7baeb3b83f2d15' }, h("slot", { key: '26b4ab152030e56733efdb29c5ef11e3e8df1bdb', name: "hamburger" }), h("slot", { key: '7783ecdec32b28baab698ea379e7497a66da6a11', name: "title" }), h("nav", Object.assign({ key: '66a2d848b6ceed22d57080641652392dc2357405' }, navAttributes), h("ul", { key: '5b47c9a9e2210ca4c944ef6323bd5378437d8237', class: "tds-header-component-list" }, h("slot", { key: '14aaafb9b73a5f7d7fd48d0e0cfe4f4907183f27' }), h("li", { key: 'd3e6db876946d322dc14ef22ada0c92414941d2f', class: "tds-header-middle-spacer" }), h("slot", { key: '833f75ce887181221118a0dfe32ca96cf149a3ff', name: "end" })))));
|
|
45
36
|
}
|
|
46
37
|
static get is() { return "tds-header"; }
|
|
47
38
|
static get originalStyleUrls() {
|
|
@@ -163,7 +163,7 @@ export class TdsSideMenu {
|
|
|
163
163
|
"references": {
|
|
164
164
|
"CollapseEvent": {
|
|
165
165
|
"location": "local",
|
|
166
|
-
"path": "/Users/
|
|
166
|
+
"path": "/Users/rhyme/projects/scania/tegel/packages/core/src/components/side-menu/side-menu.tsx",
|
|
167
167
|
"id": "src/components/side-menu/side-menu.tsx::CollapseEvent"
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -187,7 +187,7 @@ export class TdsSideMenu {
|
|
|
187
187
|
"references": {
|
|
188
188
|
"CollapseEvent": {
|
|
189
189
|
"location": "local",
|
|
190
|
-
"path": "/Users/
|
|
190
|
+
"path": "/Users/rhyme/projects/scania/tegel/packages/core/src/components/side-menu/side-menu.tsx",
|
|
191
191
|
"id": "src/components/side-menu/side-menu.tsx::CollapseEvent"
|
|
192
192
|
}
|
|
193
193
|
}
|
|
@@ -211,7 +211,7 @@ export class TdsSideMenu {
|
|
|
211
211
|
"references": {
|
|
212
212
|
"InternalTdsSideMenuPropChange": {
|
|
213
213
|
"location": "local",
|
|
214
|
-
"path": "/Users/
|
|
214
|
+
"path": "/Users/rhyme/projects/scania/tegel/packages/core/src/components/side-menu/side-menu.tsx",
|
|
215
215
|
"id": "src/components/side-menu/side-menu.tsx::InternalTdsSideMenuPropChange"
|
|
216
216
|
}
|
|
217
217
|
}
|
|
@@ -173,7 +173,7 @@ export class TdsStepper {
|
|
|
173
173
|
"references": {
|
|
174
174
|
"InternalTdsStepperPropChange": {
|
|
175
175
|
"location": "local",
|
|
176
|
-
"path": "/Users/
|
|
176
|
+
"path": "/Users/rhyme/projects/scania/tegel/packages/core/src/components/stepper/stepper.tsx",
|
|
177
177
|
"id": "src/components/stepper/stepper.tsx::InternalTdsStepperPropChange"
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -327,7 +327,7 @@ export class TdsTable {
|
|
|
327
327
|
"references": {
|
|
328
328
|
"InternalTdsTablePropChange": {
|
|
329
329
|
"location": "local",
|
|
330
|
-
"path": "/Users/
|
|
330
|
+
"path": "/Users/rhyme/projects/scania/tegel/packages/core/src/components/table/table/table.tsx",
|
|
331
331
|
"id": "src/components/table/table/table.tsx::InternalTdsTablePropChange"
|
|
332
332
|
}
|
|
333
333
|
}
|
|
@@ -51,4 +51,12 @@
|
|
|
51
51
|
|
|
52
52
|
:host(.tds-table--divider) .tds-table__body-cell--checkbox {
|
|
53
53
|
border-right: 1px solid var(--tds-table-divider);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host(.tds-table__row--clickable) {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host(.tds-table__row--clickable:focus-visible) {
|
|
61
|
+
outline: var(--focus-outline, 2px solid blue);
|
|
54
62
|
}
|
|
@@ -11,6 +11,7 @@ export class TdsTableBodyRow {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.selected = false;
|
|
13
13
|
this.disabled = false;
|
|
14
|
+
this.clickable = false;
|
|
14
15
|
this.multiselect = false;
|
|
15
16
|
this.mainCheckBoxStatus = false;
|
|
16
17
|
this.verticalDividers = false;
|
|
@@ -26,6 +27,22 @@ export class TdsTableBodyRow {
|
|
|
26
27
|
selectedRows: await this.tableEl.getSelectedRows(),
|
|
27
28
|
});
|
|
28
29
|
}
|
|
30
|
+
handleRowClick(e) {
|
|
31
|
+
if (!this.clickable)
|
|
32
|
+
return;
|
|
33
|
+
let rowIndex = Array.from(this.host.parentElement.children).indexOf(this.host);
|
|
34
|
+
this.tdsClick.emit({
|
|
35
|
+
event: e,
|
|
36
|
+
tableId: this.tableId,
|
|
37
|
+
rowIndex: rowIndex,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
handleKeyDown(e) {
|
|
41
|
+
if (this.clickable && (e.key === 'Enter' || e.key === ' ')) {
|
|
42
|
+
e.preventDefault();
|
|
43
|
+
this.handleRowClick(e);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
29
46
|
internalTdsPropChangeListener(event) {
|
|
30
47
|
if (this.tableId === event.detail.tableId) {
|
|
31
48
|
event.detail.changed
|
|
@@ -48,12 +65,13 @@ export class TdsTableBodyRow {
|
|
|
48
65
|
});
|
|
49
66
|
}
|
|
50
67
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '47571b7325bea2c32791792aee4813ce4364e8eb', tabindex: this.clickable ? '0' : null, class: {
|
|
52
69
|
'tds-table__row': true,
|
|
53
70
|
'tds-table__row--selected': this.selected,
|
|
54
71
|
'tds-table__compact': this.compactDesign,
|
|
55
72
|
'tds-table--divider': this.verticalDividers,
|
|
56
|
-
|
|
73
|
+
'tds-table__row--clickable': this.clickable,
|
|
74
|
+
}, onClick: (e) => this.handleRowClick(e), onKeyDown: (e) => this.handleKeyDown(e) }, this.multiselect && (h("td", { key: 'ad8bb61ead16afe42e6100dc4fe842c058556a20', class: "tds-table__body-cell tds-table__body-cell--checkbox tds-form-label tds-form-label--table" }, h("tds-checkbox", { key: '37844a08f73175f234168a016a9527d01ad2209e', onTdsChange: (event) => this.handleCheckboxChange(event), checked: this.selected, disabled: this.disabled }))), h("slot", { key: 'e7beb86f278f2476f23c365197addd4f22ce2a69' })));
|
|
57
75
|
}
|
|
58
76
|
static get is() { return "tds-table-body-row"; }
|
|
59
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -104,6 +122,24 @@ export class TdsTableBodyRow {
|
|
|
104
122
|
"attribute": "disabled",
|
|
105
123
|
"reflect": true,
|
|
106
124
|
"defaultValue": "false"
|
|
125
|
+
},
|
|
126
|
+
"clickable": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "boolean",
|
|
131
|
+
"resolved": "boolean",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Makes the row clickable and tabbable for accessibility purposes."
|
|
139
|
+
},
|
|
140
|
+
"attribute": "clickable",
|
|
141
|
+
"reflect": true,
|
|
142
|
+
"defaultValue": "false"
|
|
107
143
|
}
|
|
108
144
|
};
|
|
109
145
|
}
|
|
@@ -133,6 +169,26 @@ export class TdsTableBodyRow {
|
|
|
133
169
|
"resolved": "{ tableId: string; checked: boolean; selectedRows: any[]; }",
|
|
134
170
|
"references": {}
|
|
135
171
|
}
|
|
172
|
+
}, {
|
|
173
|
+
"method": "tdsClick",
|
|
174
|
+
"name": "tdsClick",
|
|
175
|
+
"bubbles": true,
|
|
176
|
+
"cancelable": false,
|
|
177
|
+
"composed": true,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Event emitted when a row is clicked."
|
|
181
|
+
},
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "{\n event: MouseEvent;\n tableId: string;\n rowIndex: number;\n }",
|
|
184
|
+
"resolved": "{ event: MouseEvent; tableId: string; rowIndex: number; }",
|
|
185
|
+
"references": {
|
|
186
|
+
"MouseEvent": {
|
|
187
|
+
"location": "global",
|
|
188
|
+
"id": "global::MouseEvent"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
136
192
|
}];
|
|
137
193
|
}
|
|
138
194
|
static get elementRef() { return "host"; }
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.css
CHANGED
|
@@ -61,6 +61,12 @@
|
|
|
61
61
|
padding: 16px 16px 16px 66px;
|
|
62
62
|
color: var(--tds-table-color);
|
|
63
63
|
}
|
|
64
|
+
:host .tds-table__row-expand .tds-table__cell-expand--overflow-visible {
|
|
65
|
+
overflow: visible;
|
|
66
|
+
}
|
|
67
|
+
:host .tds-table__row-expand .tds-table__cell-expand--overflow-hidden {
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
}
|
|
64
70
|
|
|
65
71
|
:host(.tds-table__row-expand--active) .tds-table__row {
|
|
66
72
|
background-color: var(--tds-table-body-row-background-selected);
|
package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js
CHANGED
|
@@ -12,6 +12,7 @@ const relevantTableProps = [
|
|
|
12
12
|
|
|
13
13
|
* @part row - Selector for the main row of the table.
|
|
14
14
|
* @part expand-row - Selector for the expanded row of the table.
|
|
15
|
+
* @part expand-row-cell - Selector for the cell in the expanded row of the table.
|
|
15
16
|
*/
|
|
16
17
|
export class TdsTableBodyRowExpandable {
|
|
17
18
|
constructor() {
|
|
@@ -19,6 +20,7 @@ export class TdsTableBodyRowExpandable {
|
|
|
19
20
|
this.rowId = generateUniqueId();
|
|
20
21
|
this.expanded = undefined;
|
|
21
22
|
this.overflow = 'auto';
|
|
23
|
+
this.autoCollapse = false;
|
|
22
24
|
this.isExpanded = false;
|
|
23
25
|
this.tableId = '';
|
|
24
26
|
this.columnsNumber = null;
|
|
@@ -39,21 +41,34 @@ export class TdsTableBodyRowExpandable {
|
|
|
39
41
|
});
|
|
40
42
|
}
|
|
41
43
|
}
|
|
44
|
+
handleRowExpand(event) {
|
|
45
|
+
/** Collapse all other rows when autoCollapse is true and a row is expanded */
|
|
46
|
+
if (this.autoCollapse &&
|
|
47
|
+
event.detail.isExpanded &&
|
|
48
|
+
event.detail.rowId !== this.rowId &&
|
|
49
|
+
event.detail.tableId === this.tableId) {
|
|
50
|
+
this.collapse();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
42
53
|
watchExpanded(newValue) {
|
|
43
54
|
if (newValue !== this.isExpanded) {
|
|
44
55
|
this.isExpanded = newValue;
|
|
45
|
-
this.tdsChange.emit({
|
|
56
|
+
this.tdsChange.emit({
|
|
57
|
+
rowId: this.rowId,
|
|
58
|
+
isExpanded: this.isExpanded,
|
|
59
|
+
tableId: this.tableId,
|
|
60
|
+
});
|
|
46
61
|
}
|
|
47
62
|
}
|
|
48
63
|
/** Method to expand table row */
|
|
49
64
|
async expand() {
|
|
50
65
|
this.isExpanded = true;
|
|
51
|
-
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
66
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded, tableId: this.tableId });
|
|
52
67
|
}
|
|
53
68
|
/** Method to collapse table row */
|
|
54
69
|
async collapse() {
|
|
55
70
|
this.isExpanded = false;
|
|
56
|
-
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
71
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded, tableId: this.tableId });
|
|
57
72
|
}
|
|
58
73
|
connectedCallback() {
|
|
59
74
|
/* if user did set a prop we use that as default behaviour */
|
|
@@ -78,27 +93,33 @@ export class TdsTableBodyRowExpandable {
|
|
|
78
93
|
}
|
|
79
94
|
sendValue() {
|
|
80
95
|
this.internalTdsRowExpanded.emit([this.tableId, this.isExpanded]);
|
|
81
|
-
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded });
|
|
96
|
+
this.tdsChange.emit({ rowId: this.rowId, isExpanded: this.isExpanded, tableId: this.tableId });
|
|
82
97
|
}
|
|
83
98
|
onChangeHandler(event) {
|
|
84
99
|
this.isExpanded = event.currentTarget.checked === true;
|
|
85
100
|
this.sendValue();
|
|
86
101
|
}
|
|
87
102
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '802679e89bc19447faa87010bd47d17447c08aca', class: {
|
|
89
104
|
'tds-table__row': true,
|
|
90
105
|
'tds-table__row-expand--active': this.isExpanded,
|
|
91
106
|
'tds-table__compact': this.compactDesign,
|
|
92
107
|
'tds-table--divider': this.verticalDividers,
|
|
93
|
-
} }, h("tr", { key: '
|
|
108
|
+
} }, h("tr", { key: '1c089710478c5effb5f6eb727e22879a80e9003d', class: {
|
|
94
109
|
'tds-table__row': true,
|
|
95
110
|
'tds-table__row--expanded': this.isExpanded,
|
|
96
|
-
}, part: "row" }, h("td", { key: '
|
|
111
|
+
}, part: "row" }, h("td", { key: '6f2b7ad6cffef0c33b9cc177e423eb3edbb5b806', class: {
|
|
112
|
+
'tds-table__cell-expand': true,
|
|
113
|
+
} }, h("label", { key: 'bfe1cc4c8bb91c3e50b1cc3abb823ce22a8c8cad', class: "tds-table__expand-control-container" }, h("input", { key: '65be9c515bccfa2bd42dfdfa869b764ca863d009', class: "tds-table__expand-input", type: "checkbox", onChange: (event) => this.onChangeHandler(event), checked: this.isExpanded }), h("span", { key: 'fbf0df316c42061b1800c2db37a26ba6114a2037', class: "tds-expendable-row-icon" }, h("svg", { key: '26057fa763a2debe0ef180c4e7d7e96fdd4a08a7', fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32" }, h("path", { key: '4d66ac5c686c5c0c9ba3a02dff9d7a89f5f15e1a', "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: 'b6b611bc514d9e3e74b7c275c407da8d7b1a5ef4' })), h("tr", { key: '8cb106ff4e548936195a6ffbb18739a07cd17ad1', class: {
|
|
97
114
|
'tds-table__row-expand': true,
|
|
98
115
|
'tds-table__row-expand--expanded': this.isExpanded,
|
|
99
|
-
}, part: "expand-row" }, h("td", { key: '
|
|
116
|
+
}, part: "expand-row" }, h("td", { key: '248e880b6793a6a36eb738646a07d82d91e15e8b', class: {
|
|
117
|
+
'tds-table__cell-expand': true,
|
|
118
|
+
'tds-table__cell-expand--overflow-hidden': this.overflow === 'hidden',
|
|
119
|
+
'tds-table__cell-expand--overflow-visible': this.overflow === 'visible',
|
|
120
|
+
}, part: "expand-row-cell", colSpan: this.columnsNumber }, h("div", { key: '7489853de5d7a2cbe0168f7e873f7bb0be01a215', style: {
|
|
100
121
|
overflow: this.overflow,
|
|
101
|
-
} }, h("slot", { key: '
|
|
122
|
+
} }, h("slot", { key: '3f4d7715c224969fb2d798432019c3e45685731f', name: "expand-row" }))))));
|
|
102
123
|
}
|
|
103
124
|
static get is() { return "tds-table-body-row-expandable"; }
|
|
104
125
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,8 +192,8 @@ export class TdsTableBodyRowExpandable {
|
|
|
171
192
|
"type": "string",
|
|
172
193
|
"mutable": false,
|
|
173
194
|
"complexType": {
|
|
174
|
-
"original": "'auto' | 'hidden'",
|
|
175
|
-
"resolved": "\"auto\" | \"hidden\"",
|
|
195
|
+
"original": "'auto' | 'hidden' | 'visible'",
|
|
196
|
+
"resolved": "\"auto\" | \"hidden\" | \"visible\"",
|
|
176
197
|
"references": {}
|
|
177
198
|
},
|
|
178
199
|
"required": false,
|
|
@@ -184,6 +205,24 @@ export class TdsTableBodyRowExpandable {
|
|
|
184
205
|
"attribute": "overflow",
|
|
185
206
|
"reflect": true,
|
|
186
207
|
"defaultValue": "'auto'"
|
|
208
|
+
},
|
|
209
|
+
"autoCollapse": {
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "boolean",
|
|
214
|
+
"resolved": "boolean",
|
|
215
|
+
"references": {}
|
|
216
|
+
},
|
|
217
|
+
"required": false,
|
|
218
|
+
"optional": false,
|
|
219
|
+
"docs": {
|
|
220
|
+
"tags": [],
|
|
221
|
+
"text": "Enables auto-collapse of other expandable rows when one row is expanded"
|
|
222
|
+
},
|
|
223
|
+
"attribute": "auto-collapse",
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"defaultValue": "false"
|
|
187
226
|
}
|
|
188
227
|
};
|
|
189
228
|
}
|
|
@@ -228,8 +267,8 @@ export class TdsTableBodyRowExpandable {
|
|
|
228
267
|
"text": "Sends unique table row identifier and isExpanded status when it is expanded/collapsed."
|
|
229
268
|
},
|
|
230
269
|
"complexType": {
|
|
231
|
-
"original": "{\n rowId: string;\n isExpanded: boolean;\n }",
|
|
232
|
-
"resolved": "{ rowId: string; isExpanded: boolean; }",
|
|
270
|
+
"original": "{\n rowId: string;\n isExpanded: boolean;\n tableId: string;\n }",
|
|
271
|
+
"resolved": "{ rowId: string; isExpanded: boolean; tableId: string; }",
|
|
233
272
|
"references": {}
|
|
234
273
|
}
|
|
235
274
|
}];
|
|
@@ -286,6 +325,12 @@ export class TdsTableBodyRowExpandable {
|
|
|
286
325
|
"target": "body",
|
|
287
326
|
"capture": false,
|
|
288
327
|
"passive": false
|
|
328
|
+
}, {
|
|
329
|
+
"name": "tdsChange",
|
|
330
|
+
"method": "handleRowExpand",
|
|
331
|
+
"target": "body",
|
|
332
|
+
"capture": false,
|
|
333
|
+
"passive": false
|
|
289
334
|
}];
|
|
290
335
|
}
|
|
291
336
|
}
|
|
@@ -113,6 +113,9 @@ export class TdsTableFooter {
|
|
|
113
113
|
}
|
|
114
114
|
rowsPerPageChange(event) {
|
|
115
115
|
this.rowsPerPageValue = parseInt(event.detail.value);
|
|
116
|
+
if (this.paginationValue > this.pages) {
|
|
117
|
+
this.paginationValue = this.pages;
|
|
118
|
+
}
|
|
116
119
|
this.emitTdsPagination();
|
|
117
120
|
}
|
|
118
121
|
getStyles() {
|
|
@@ -124,12 +127,12 @@ export class TdsTableFooter {
|
|
|
124
127
|
}
|
|
125
128
|
render() {
|
|
126
129
|
var _a;
|
|
127
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: 'ef2cd69929908fa46254c82d0799c1b1a4ee52b3', class: {
|
|
128
131
|
'tds-table--compact': this.compactDesign,
|
|
129
132
|
'footer__horizontal-scroll': !!this.horizontalScrollWidth,
|
|
130
|
-
}, style: this.getStyles() }, h("tr", { key: '
|
|
133
|
+
}, style: this.getStyles() }, h("tr", { key: 'f18eb0b2a49d1d8df9dacc998138dae4e5f8d256', class: "tds-table__footer-row" }, h("td", { key: 'abb1f6f2971c9fa9b68bfb856882817406d0d87f', class: "tds-table__footer-cell", colSpan: this.columnsNumber }, this.pagination && (h("div", { key: '8226ac0aee40b97cad90035ff9aba54b8365b960', class: "tds-table__pagination" }, h("div", { key: '9b604d5ccb7dbdac0cdb1bc96567d7b29d7fa250', class: "tds-table__row-selector" }, this.rowsperpage && ((_a = this.rowsPerPageValues) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { key: '716b6830e891305611ceb6213bd696298dbcfe12', class: "rows-per-page" }, h("p", { key: 'd6b7bfff5262fcf0174f6b2d92dcfdedda97dfc2' }, "Rows per page"), h("tds-dropdown", { key: '9da6799f30172a1628a4630aa5474456f6351089', modeVariant: "secondary", id: "rows-dropdown", class: "page-dropdown", size: "xs", defaultValue: `${this.rowsPerPageValues[0]}`, onTdsChange: (event) => this.rowsPerPageChange(event) }, this.rowsPerPageValues.map((value) => {
|
|
131
134
|
return (h("tds-dropdown-option", { value: `${value}` }, value));
|
|
132
|
-
}))))), h("div", { key: '
|
|
135
|
+
}))))), h("div", { key: '73c5849886a0144c22b79d31b92a607d8f794483', class: "tds-table__page-selector" }, h("input", { key: 'a297fd5b739df5d4353b045a25ba6e480dbad03e', 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: 'f6d1257c745638b2152843d52c494db23d26b2ca', class: "tds-table__footer-text" }, "of ", h("span", { key: '81b8c076cf322798709eafae1fad43b036127ada' }, this.pages), " pages"), h("button", { key: 'd9789d9d6ccd45f1d0c4e4d427c3ed1bb13e7440', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.firstPage() }, h("tds-icon", { key: 'dac60e50f54fd71ae1d89e21e6140bbcbbda6680', name: "skip_backwards", size: "20px" })), h("button", { key: '39810bac01a38c71427192beea48257b7d2dd2b1', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue <= 1, onClick: () => this.previousPage() }, h("tds-icon", { key: '2987abbbdc7be2c7485d7bfcabcafe94983f5f54', name: "chevron_left", size: "20px" })), h("button", { key: '2252c555a816a4014c130b05ae70d2e25893f460', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.nextPage() }, h("tds-icon", { key: 'a19c83f25082c82cdac308d3538c274bbce62826', name: "chevron_right", size: "20px" })), h("button", { key: 'e06ec885711559b6e7893d90ada5057292f624e0', type: "button", class: "tds-table__footer-btn", disabled: this.paginationValue >= this.pages, onClick: () => this.lastPage() }, h("tds-icon", { key: '6a8f4218a45cc5bdbb0c8b0711e802ce5f2dfed1', name: "skip_forward", size: "20px" })))))))));
|
|
133
136
|
}
|
|
134
137
|
static get is() { return "tds-table-footer"; }
|
|
135
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,10 +154,13 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
|
|
|
154
154
|
return this.filter ? labels === null || labels === void 0 ? void 0 : labels.join(', ') : labels === null || labels === void 0 ? void 0 : labels.toString();
|
|
155
155
|
};
|
|
156
156
|
this.setValueAttribute = () => {
|
|
157
|
-
var _a
|
|
158
|
-
if (((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) === '')
|
|
159
|
-
this.value
|
|
160
|
-
|
|
157
|
+
var _a;
|
|
158
|
+
if (!this.value || ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) === '') {
|
|
159
|
+
this.host.removeAttribute('value');
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
this.host.setAttribute('value', this.value.map((val) => val).toString());
|
|
163
|
+
}
|
|
161
164
|
};
|
|
162
165
|
this.handleFilter = (event) => {
|
|
163
166
|
this.tdsInput.emit(event);
|
|
@@ -406,7 +409,7 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
|
|
|
406
409
|
render() {
|
|
407
410
|
var _a, _b, _c, _d;
|
|
408
411
|
appendHiddenInput(this.host, this.name, (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString(), this.disabled);
|
|
409
|
-
return (h(Host, { key: '
|
|
412
|
+
return (h(Host, { key: 'c756dc7221c39b901524bd0c28938bd166e412bc', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { key: '5184a8c84d24e0f13379c95fc7ceb7791f1e25ab', class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '601bc322ce765ed1ee52e1ee6a0894fcb335485b', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
|
|
410
413
|
filter: true,
|
|
411
414
|
focus: this.filterFocus,
|
|
412
415
|
disabled: this.disabled,
|
|
@@ -417,13 +420,20 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
|
|
|
417
420
|
${((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
|
|
418
421
|
` }, this.label)), h("input", {
|
|
419
422
|
// eslint-disable-next-line no-return-assign
|
|
420
|
-
ref: (inputEl) => (this.inputElement = inputEl), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.placeholder, value: this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
|
|
423
|
+
ref: (inputEl) => (this.inputElement = inputEl), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.filterFocus ? '' : this.placeholder, value: this.multiselect && this.filterFocus ? '' : this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
|
|
421
424
|
this.filterFocus = false;
|
|
425
|
+
if (this.multiselect) {
|
|
426
|
+
this.inputElement.value = this.getValue();
|
|
427
|
+
}
|
|
422
428
|
this.handleBlur(event);
|
|
423
429
|
}, onFocus: (event) => {
|
|
424
430
|
this.open = true;
|
|
425
431
|
this.filterFocus = true;
|
|
432
|
+
if (this.multiselect) {
|
|
433
|
+
this.inputElement.value = '';
|
|
434
|
+
}
|
|
426
435
|
this.handleFocus(event);
|
|
436
|
+
this.handleFilter({ target: { value: '' } });
|
|
427
437
|
}, onKeyDown: (event) => {
|
|
428
438
|
if (event.key === 'Escape') {
|
|
429
439
|
this.open = false;
|
|
@@ -449,11 +459,11 @@ const TdsDropdown = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends H
|
|
|
449
459
|
label-inside-as-placeholder
|
|
450
460
|
${this.size}
|
|
451
461
|
${((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
|
|
452
|
-
` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '
|
|
462
|
+
` }, this.label)), h("div", { class: `placeholder ${this.size}` }, ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) ? this.getValue() : this.placeholder), h("tds-icon", { "aria-label": "Open/Close dropdown", svgTitle: "Open/Close dropdown", class: `menu-icon ${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '71042ce1a28e3598ee37977b86ae887c68caad1d', ref: (element) => (this.dropdownList = element), class: `dropdown-list
|
|
453
463
|
${this.size}
|
|
454
464
|
${this.open ? 'open' : 'closed'}
|
|
455
465
|
${this.getOpenDirection()}
|
|
456
|
-
${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '
|
|
466
|
+
${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: 'bf606ae5c67258fc04df20474cde59ff00ea90eb', onSlotchange: () => this.handleSlotChange() }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { key: '2a1b20c4ad0acf3f6c7de06ef3e6a84e7879f398', class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { key: '1c4cb2ca717f28fe16306729ae6cf555358a1a65', class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { key: '6b3a6054fa2e1f1b77c8520cdfab20ef5e7a4bf9', name: "error", size: "16px" }), this.helper))));
|
|
457
467
|
}
|
|
458
468
|
get host() { return this; }
|
|
459
469
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-28ef5186.js';
|
|
2
2
|
|
|
3
|
-
const breadcrumbCss = "@charset \"UTF-8\";[role=listitem] ::slotted(*){color:var(--tds-breadcrumb-color);text-decoration:none}[role=listitem]:hover ::slotted(*){color:var(--tds-breadcrumb-color-hover);text-decoration:underline}[role=listitem] ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px;outline-offset:0}[role=listitem].current ::slotted(*),[role=listitem] [aria-current=page] ::slotted(*){pointer-events:none;cursor:default;color:var(--tds-breadcrumb-color-current)}[role=listitem].current:hover ::slotted(*),[role=listitem] [aria-current=page]:hover ::slotted(*){text-decoration:none;cursor:not-allowed}[role=listitem]::after{content:\"›\";color:var(--tds-breadcrumb-separator-color);margin-right:4px;margin-left:4px;display:inline-block;width:4px;height:8px}
|
|
3
|
+
const breadcrumbCss = "@charset \"UTF-8\";[role=listitem] ::slotted(*){color:var(--tds-breadcrumb-color);text-decoration:none}[role=listitem]:hover ::slotted(*){color:var(--tds-breadcrumb-color-hover);text-decoration:underline}[role=listitem] ::slotted(*:focus-visible){outline:2px solid var(--tds-blue-400);outline-offset:-2px;outline-offset:0}[role=listitem].current ::slotted(*),[role=listitem] [aria-current=page] ::slotted(*){pointer-events:none;cursor:default;color:var(--tds-breadcrumb-color-current)}[role=listitem].current:hover ::slotted(*),[role=listitem] [aria-current=page]:hover ::slotted(*){text-decoration:none;cursor:not-allowed}[role=listitem]::after{content:\"›\";color:var(--tds-breadcrumb-separator-color);margin-right:4px;margin-left:4px;display:inline-block;width:4px;height:8px}.current::after{display:none}";
|
|
4
4
|
const TdsBreadcrumbStyle0 = breadcrumbCss;
|
|
5
5
|
|
|
6
6
|
const TdsBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class TdsBreadcrumb extends H {
|
|
@@ -32,15 +32,6 @@ const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
|
|
|
32
32
|
};
|
|
33
33
|
this.observer = new MutationObserver(callback);
|
|
34
34
|
}
|
|
35
|
-
updateRoles() {
|
|
36
|
-
const navElement = this.host.querySelector('.tds-header-component-list');
|
|
37
|
-
if (navElement) {
|
|
38
|
-
updateListChildrenRoles(navElement);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
handleSlotChange() {
|
|
42
|
-
this.updateRoles();
|
|
43
|
-
}
|
|
44
35
|
componentDidLoad() {
|
|
45
36
|
const hostElement = this.host;
|
|
46
37
|
const navElement = hostElement.querySelector('.tds-header-component-list');
|
|
@@ -55,7 +46,7 @@ const TdsHeader$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeader extends H {
|
|
|
55
46
|
}
|
|
56
47
|
render() {
|
|
57
48
|
const navAttributes = Object.assign({}, inheritAriaAttributes(this.host));
|
|
58
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '7f42725db4686769f46fb327bc7baeb3b83f2d15' }, h("slot", { key: '26b4ab152030e56733efdb29c5ef11e3e8df1bdb', name: "hamburger" }), h("slot", { key: '7783ecdec32b28baab698ea379e7497a66da6a11', name: "title" }), h("nav", Object.assign({ key: '66a2d848b6ceed22d57080641652392dc2357405' }, navAttributes), h("ul", { key: '5b47c9a9e2210ca4c944ef6323bd5378437d8237', class: "tds-header-component-list" }, h("slot", { key: '14aaafb9b73a5f7d7fd48d0e0cfe4f4907183f27' }), h("li", { key: 'd3e6db876946d322dc14ef22ada0c92414941d2f', class: "tds-header-middle-spacer" }), h("slot", { key: '833f75ce887181221118a0dfe32ca96cf149a3ff', name: "end" })))));
|
|
59
50
|
}
|
|
60
51
|
get host() { return this; }
|
|
61
52
|
static get style() { return TdsHeaderStyle0; }
|