@scania/tegel 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/tds-datetime.cjs.entry.js +4 -3
  4. package/dist/cjs/tds-dropdown.cjs.entry.js +19 -15
  5. package/dist/cjs/tds-header-dropdown.cjs.entry.js +1 -1
  6. package/dist/cjs/tds-header-launcher.cjs.entry.js +1 -1
  7. package/dist/cjs/tds-icon.cjs.entry.js +2 -3
  8. package/dist/cjs/tds-tooltip.cjs.entry.js +5 -5
  9. package/dist/cjs/tegel.cjs.js +1 -1
  10. package/dist/collection/components/datetime/datetime.js +23 -3
  11. package/dist/collection/components/dropdown/dropdown.js +19 -15
  12. package/dist/collection/components/header/header-dropdown/header-dropdown.js +1 -1
  13. package/dist/collection/components/header/header-launcher/header-launcher.js +1 -1
  14. package/dist/collection/components/icon/icon.js +4 -5
  15. package/dist/collection/components/tooltip/tooltip.js +41 -5
  16. package/dist/components/icon.js +2 -3
  17. package/dist/components/tds-datetime.js +4 -3
  18. package/dist/components/tds-dropdown.js +19 -15
  19. package/dist/components/tds-header-dropdown.js +1 -1
  20. package/dist/components/tds-header-launcher.js +1 -1
  21. package/dist/components/tds-tooltip.js +8 -6
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/tds-datetime.entry.js +4 -3
  24. package/dist/esm/tds-dropdown.entry.js +19 -15
  25. package/dist/esm/tds-header-dropdown.entry.js +1 -1
  26. package/dist/esm/tds-header-launcher.entry.js +1 -1
  27. package/dist/esm/tds-icon.entry.js +2 -3
  28. package/dist/esm/tds-tooltip.entry.js +5 -5
  29. package/dist/esm/tegel.js +1 -1
  30. package/dist/tegel/{p-013d0bd6.entry.js → p-2270b30c.entry.js} +1 -1
  31. package/dist/tegel/p-5b9e6fa3.entry.js +1 -0
  32. package/dist/tegel/p-92b2db31.entry.js +1 -0
  33. package/dist/tegel/p-9f33108a.entry.js +1 -0
  34. package/dist/tegel/p-bd056432.entry.js +1 -0
  35. package/dist/tegel/p-efff904c.entry.js +1 -0
  36. package/dist/tegel/tegel.esm.js +1 -1
  37. package/dist/types/components/datetime/datetime.d.ts +5 -3
  38. package/dist/types/components/dropdown/dropdown.d.ts +2 -0
  39. package/dist/types/components/icon/icon.d.ts +2 -2
  40. package/dist/types/components/tooltip/tooltip.d.ts +3 -1
  41. package/dist/types/components.d.ts +25 -4
  42. package/package.json +1 -1
  43. package/dist/tegel/p-2d534698.entry.js +0 -1
  44. package/dist/tegel/p-4ac12ddb.entry.js +0 -1
  45. package/dist/tegel/p-8e40b046.entry.js +0 -1
  46. package/dist/tegel/p-a0fba0df.entry.js +0 -1
  47. package/dist/tegel/p-b91045a2.entry.js +0 -1
@@ -47,7 +47,7 @@ export class TdsHeaderLauncher {
47
47
  fallbackPlacements: [],
48
48
  },
49
49
  },
50
- ] }, h("slot", null))))));
50
+ ] }, this.open ? h("slot", null) : null)))));
51
51
  }
52
52
  static get is() { return "tds-header-launcher"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -4,9 +4,8 @@ import { iconsCollection } from "./iconsArray";
4
4
  export class Icon {
5
5
  constructor() {
6
6
  this.setIcons = () => this.arrayOfIcons.map((element) => {
7
- var _a, _b;
8
7
  if (element.name === this.name) {
9
- return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", "aria-labelledby": (_a = this.svgTitle) !== null && _a !== void 0 ? _a : `${element.name} icon`, role: "img", style: { fontSize: this.size }, height: this.size, width: this.size }, h("title", null, (_b = this.svgTitle) !== null && _b !== void 0 ? _b : `${element.name} icon`), this.svgDescription && h("desc", null, this.svgDescription), h("path", { fill: "currentColor", d: element.definition })));
8
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", "aria-labelledby": this.svgTitle ? `title-${this.name}` : undefined, "aria-describedby": this.svgDescription ? `desc-${this.name}` : undefined, role: "img", style: { fontSize: this.size }, height: this.size, width: this.size }, this.svgTitle && h("title", { id: `title-${this.name}` }, this.svgTitle), this.svgDescription && h("desc", { id: `desc-${this.name}` }, this.svgDescription), h("path", { fill: "currentColor", d: element.definition })));
10
9
  }
11
10
  });
12
11
  this.name = 'truck';
@@ -29,7 +28,7 @@ export class Icon {
29
28
  this.arrayOfIcons = [...this.arrayOfIcons];
30
29
  }
31
30
  render() {
32
- return h(Host, { key: '100ba727121437de04523b24bc03a48e100e5109' }, this.setIcons());
31
+ return h(Host, { key: 'e5effec50e55df5bb415904f201919545c5ca98c' }, this.setIcons());
33
32
  }
34
33
  static get is() { return "tds-icon"; }
35
34
  static get encapsulation() { return "shadow"; }
@@ -93,7 +92,7 @@ export class Icon {
93
92
  "optional": true,
94
93
  "docs": {
95
94
  "tags": [],
96
- "text": "Override the default title for the svg."
95
+ "text": "Override the default title for the svg. Also used by aria-labelledby."
97
96
  },
98
97
  "attribute": "svg-title",
99
98
  "reflect": false
@@ -110,7 +109,7 @@ export class Icon {
110
109
  "optional": true,
111
110
  "docs": {
112
111
  "tags": [],
113
- "text": "Set description for the svg."
112
+ "text": "Set description for the svg. Also used by aria-describedby."
114
113
  },
115
114
  "attribute": "svg-description",
116
115
  "reflect": false
@@ -5,8 +5,6 @@ import inheritAttributes from "../../utils/inheritAttributes";
5
5
  */
6
6
  export class TdsTooltip {
7
7
  constructor() {
8
- this.offsetSkidding = 0;
9
- this.offsetDistance = 8;
10
8
  this.popperjsExtraModifiers = [
11
9
  {
12
10
  name: 'positionCalc',
@@ -38,22 +36,24 @@ export class TdsTooltip {
38
36
  this.mouseOverTooltip = false;
39
37
  this.show = false;
40
38
  this.placement = 'bottom';
39
+ this.offsetSkidding = 0;
40
+ this.offsetDistance = 8;
41
41
  }
42
42
  componentWillLoad() {
43
43
  this.inheritedAttributes = inheritAttributes(this.host, ['style', 'class']);
44
44
  }
45
45
  render() {
46
46
  var _a;
47
- return (h(Host, { key: 'bcc66dd0579d47ddc7dfe6f3cd37e95aac6efc9f' }, h("tds-popover-core", Object.assign({ key: '8cb113ad567f52b39979bda4ceff545973e163f7' }, this.inheritedAttributes, { class: {
47
+ return (h(Host, { key: '562f403871e5cf9960aae1cd5307401e81fad66f' }, h("tds-popover-core", Object.assign({ key: 'cc3d5ec3304c62d8ae3f5e0c2f7c3d6ad6568ba2' }, this.inheritedAttributes, { class: {
48
48
  'tds-tooltip': true,
49
49
  [`tds-tooltip-${this.border}`]: true,
50
50
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
51
51
  'tds-tooltip-show': this.show,
52
- }, selector: this.selector, referenceEl: this.referenceEl, trigger: this.mouseOverTooltip ? 'hover-popover' : 'hover', modifiers: this.popperjsExtraModifiers, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
52
+ }, selector: this.selector, referenceEl: this.referenceEl, trigger: this.mouseOverTooltip ? 'hover-popover' : 'hover', modifiers: this.popperjsExtraModifiers, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
53
53
  this.show = true;
54
54
  }, onInternalTdsClose: () => {
55
55
  this.show = false;
56
- } }), this.text, h("slot", { key: 'd15a1e1164cc747cd336db2ce109c0cd782fbc68' }))));
56
+ } }), this.text, h("slot", { key: '614d5c7e89bd01ab11c57bc06d0f553361a99441' }))));
57
57
  }
58
58
  static get is() { return "tds-tooltip"; }
59
59
  static get encapsulation() { return "scoped"; }
@@ -184,6 +184,42 @@ export class TdsTooltip {
184
184
  "attribute": "placement",
185
185
  "reflect": false,
186
186
  "defaultValue": "'bottom'"
187
+ },
188
+ "offsetSkidding": {
189
+ "type": "number",
190
+ "mutable": false,
191
+ "complexType": {
192
+ "original": "number",
193
+ "resolved": "number",
194
+ "references": {}
195
+ },
196
+ "required": false,
197
+ "optional": false,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": "Sets the offset skidding"
201
+ },
202
+ "attribute": "offset-skidding",
203
+ "reflect": false,
204
+ "defaultValue": "0"
205
+ },
206
+ "offsetDistance": {
207
+ "type": "number",
208
+ "mutable": false,
209
+ "complexType": {
210
+ "original": "number",
211
+ "resolved": "number",
212
+ "references": {}
213
+ },
214
+ "required": false,
215
+ "optional": false,
216
+ "docs": {
217
+ "tags": [],
218
+ "text": "Sets the offset distance"
219
+ },
220
+ "attribute": "offset-distance",
221
+ "reflect": false,
222
+ "defaultValue": "8"
187
223
  }
188
224
  };
189
225
  }
@@ -12,9 +12,8 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
12
12
  this.__registerHost();
13
13
  this.__attachShadow();
14
14
  this.setIcons = () => this.arrayOfIcons.map((element) => {
15
- var _a, _b;
16
15
  if (element.name === this.name) {
17
- return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", "aria-labelledby": (_a = this.svgTitle) !== null && _a !== void 0 ? _a : `${element.name} icon`, role: "img", style: { fontSize: this.size }, height: this.size, width: this.size }, h("title", null, (_b = this.svgTitle) !== null && _b !== void 0 ? _b : `${element.name} icon`), this.svgDescription && h("desc", null, this.svgDescription), h("path", { fill: "currentColor", d: element.definition })));
16
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", "aria-labelledby": this.svgTitle ? `title-${this.name}` : undefined, "aria-describedby": this.svgDescription ? `desc-${this.name}` : undefined, role: "img", style: { fontSize: this.size }, height: this.size, width: this.size }, this.svgTitle && h("title", { id: `title-${this.name}` }, this.svgTitle), this.svgDescription && h("desc", { id: `desc-${this.name}` }, this.svgDescription), h("path", { fill: "currentColor", d: element.definition })));
18
17
  }
19
18
  });
20
19
  this.name = 'truck';
@@ -37,7 +36,7 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
37
36
  this.arrayOfIcons = [...this.arrayOfIcons];
38
37
  }
39
38
  render() {
40
- return h(Host, { key: '100ba727121437de04523b24bc03a48e100e5109' }, this.setIcons());
39
+ return h(Host, { key: 'e5effec50e55df5bb415904f201919545c5ca98c' }, this.setIcons());
41
40
  }
42
41
  static get style() { return TdsIconStyle0; }
43
42
  }, [1, "tds-icon", {
@@ -11,6 +11,7 @@ const TdsDatetime$1 = /*@__PURE__*/ proxyCustomElement(class TdsDatetime extends
11
11
  this.tdsChange = createEvent(this, "tdsChange", 6);
12
12
  this.tdsBlur = createEvent(this, "tdsBlur", 6);
13
13
  this.tdsFocus = createEvent(this, "tdsFocus", 6);
14
+ this.tdsInput = createEvent(this, "tdsInput", 6);
14
15
  this.getDefaultValue = () => {
15
16
  const dateTimeObj = {
16
17
  year: this.defaultValue.slice(0, 4),
@@ -66,7 +67,7 @@ const TdsDatetime$1 = /*@__PURE__*/ proxyCustomElement(class TdsDatetime extends
66
67
  // Data input event in value prop
67
68
  handleInput(e) {
68
69
  this.value = e.target.value;
69
- this.tdsChange.emit(e);
70
+ this.tdsInput.emit(e);
70
71
  }
71
72
  // Change event isn't a composed:true by default in for input
72
73
  handleChange(e) {
@@ -90,7 +91,7 @@ const TdsDatetime$1 = /*@__PURE__*/ proxyCustomElement(class TdsDatetime extends
90
91
  if (this.size === 'sm') {
91
92
  className += `${className}-sm`;
92
93
  }
93
- return (h("div", { key: 'c1898a8f2f246873fd96d0341ec586d383cb82cc', class: `
94
+ return (h("div", { key: '9b718024979e3b9832c8ca0ff06d7323f843aeea', class: `
94
95
  ${this.noMinWidth ? 'tds-form-datetime-nomin' : ''}
95
96
  ${this.focusInput ? 'tds-form-datetime tds-datetime-focus' : ' tds-form-datetime'}
96
97
  ${this.value.length > 0 ? 'tds-datetime-data' : ''}
@@ -100,7 +101,7 @@ const TdsDatetime$1 = /*@__PURE__*/ proxyCustomElement(class TdsDatetime extends
100
101
  ${this.state === 'error' || this.state === 'success'
101
102
  ? `tds-form-datetime-${this.state}`
102
103
  : ''}
103
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { key: '944fd7e9cc22e00963871f3b5c0beea9a79b5178', onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { key: 'a5031fa204ba8243397940218b8441075c1a1956', class: "tds-datetime-input-container" }, h("input", { key: '3f6450962c8c36266a5850e4301e1cbeebfdcf6a', ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), h("div", { key: '96167c82dfe4cc3fd190022c221bb00276a437fe', class: "datetime-icon icon-datetime-local" }, h("tds-icon", { key: 'b4f224e2ea3131118c6877aa882cd02417ef7ebc', size: "20px", name: "calendar" })), h("div", { key: '1dbd2e11a29bc4d75a98072d4f988c66423fa4e2', class: "datetime-icon icon-time" }, h("tds-icon", { key: 'cfea2bb492ee6d6531041139bda0fabe48135932', size: "20px", name: "clock" }))), h("div", { key: 'c336d198941fde234202ee75a87464517178bf69', class: "tds-datetime-bar" })), this.helper && (h("div", { class: "tds-datetime-helper" }, h("div", { class: "tds-helper" }, this.state === 'error' && h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
104
+ ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { key: 'dcee80da3ff4538aa1a0437643ce91b07c46d968', onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { key: '61ccbe13370a32ff54380ba8704d0044f1b2c904', class: "tds-datetime-input-container" }, h("input", { key: '78268cb880af401218303b65bce2d0c761de640f', ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), h("div", { key: 'e161409fd2ea7f3f1da695b87062580275d94afb', class: "datetime-icon icon-datetime-local" }, h("tds-icon", { key: 'bb439960caf01ce31eba02f78669965392f65c19', size: "20px", name: "calendar" })), h("div", { key: 'c8967bc660ac4d1cf724cf6bf6651d2756041756', class: "datetime-icon icon-time" }, h("tds-icon", { key: '27cbb876130856fbada4602c4c783580aa7d95b9', size: "20px", name: "clock" }))), h("div", { key: '0309a22195d629a5e1b551f4e848dbc37596b647', class: "tds-datetime-bar" })), this.helper && (h("div", { class: "tds-datetime-helper" }, h("div", { class: "tds-helper" }, this.state === 'error' && h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
104
105
  }
105
106
  static get style() { return TdsDatetimeStyle0; }
106
107
  }, [2, "tds-datetime", {
@@ -118,6 +118,20 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
118
118
  }
119
119
  return this.openDirection;
120
120
  };
121
+ /* Toggles the open state of the Dropdown and sets focus to the input element */
122
+ this.handleToggleOpen = () => {
123
+ if (!this.disabled) {
124
+ this.open = !this.open;
125
+ if (this.open) {
126
+ this.focusInputElement();
127
+ }
128
+ }
129
+ };
130
+ /* Focuses the input element in the Dropdown, if the reference is present. */
131
+ this.focusInputElement = () => {
132
+ if (this.inputElement)
133
+ this.inputElement.focus();
134
+ };
121
135
  this.getSelectedChildren = () => {
122
136
  var _a;
123
137
  return (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((stringValue) => {
@@ -255,9 +269,6 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
255
269
  if (this.filter) {
256
270
  this.inputElement.value = this.getValue();
257
271
  }
258
- else {
259
- this.inputElement.value = selection.length > 0 ? selection[0].label : '';
260
- }
261
272
  return selection;
262
273
  }
263
274
  /**
@@ -382,7 +393,7 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
382
393
  render() {
383
394
  var _a, _b, _c, _d;
384
395
  appendHiddenInput(this.host, this.name, (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString(), this.disabled);
385
- return (h(Host, { key: '06fa1683eca585c19d2724d5743b29d0fcc8c6fe', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '19927d524a22726438add8cf4d8511c80a16f2f5', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
396
+ return (h(Host, { key: '75d4f203d87f8ecd1b79c859f72f7377888254af', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '4595633d41ca7a108e345370b8e53bbf4a81380a', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
386
397
  filter: true,
387
398
  focus: this.filterFocus,
388
399
  disabled: this.disabled,
@@ -393,7 +404,7 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
393
404
  ${((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
394
405
  ` }, this.label)), h("input", {
395
406
  // eslint-disable-next-line no-return-assign
396
- ref: (element) => (this.inputElement = element), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.placeholder, value: this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
407
+ 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) => {
397
408
  this.filterFocus = false;
398
409
  this.handleBlur(event);
399
410
  }, onFocus: (event) => {
@@ -405,14 +416,7 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
405
416
  this.open = false;
406
417
  }
407
418
  }
408
- })), h("tds-icon", { onClick: () => {
409
- this.open = !this.open;
410
- if (this.open) {
411
- this.inputElement.focus();
412
- }
413
- }, class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { onClick: () => {
414
- this.open = !this.open;
415
- }, onKeyDown: (event) => {
419
+ })), h("tds-icon", { onClick: this.handleToggleOpen, class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { onClick: () => this.handleToggleOpen(), onKeyDown: (event) => {
416
420
  if (event.key === 'Escape') {
417
421
  this.open = false;
418
422
  }
@@ -424,11 +428,11 @@ const TdsDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsDropdown extends
424
428
  label-inside-as-placeholder
425
429
  ${this.size}
426
430
  ${((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
427
- ` }, 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", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '7c694f450e7aa381b0a44ccc048c98e1f1c634d9', ref: (element) => (this.dropdownList = element), class: `dropdown-list
431
+ ` }, 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", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'dea4c89cf74b5a264e080d94332dccbc7cbd8c98', ref: (element) => (this.dropdownList = element), class: `dropdown-list
428
432
  ${this.size}
429
433
  ${this.open ? 'open' : 'closed'}
430
434
  ${this.getOpenDirection()}
431
- ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '68b15927fe222b77580aade9fce8ccd31fe91d62' }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { name: "error", size: "16px" }), this.helper))));
435
+ ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '4fd5b25fe610dd65fd2ca3e74b50afc5cb8131d9' }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { name: "error", size: "16px" }), this.helper))));
432
436
  }
433
437
  get host() { return this; }
434
438
  static get watchers() { return {
@@ -45,7 +45,7 @@ const TdsHeaderDropdown$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderDrop
45
45
  fallbackPlacements: [],
46
46
  },
47
47
  },
48
- ] }, h("slot", null))))));
48
+ ] }, this.open ? h("slot", null) : null)))));
49
49
  }
50
50
  get host() { return this; }
51
51
  static get style() { return TdsHeaderDropdownStyle0; }
@@ -57,7 +57,7 @@ const TdsHeaderLauncher$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLaun
57
57
  fallbackPlacements: [],
58
58
  },
59
59
  },
60
- ] }, h("slot", null))))));
60
+ ] }, this.open ? h("slot", null) : null)))));
61
61
  }
62
62
  get host() { return this; }
63
63
  static get style() { return TdsHeaderLauncherStyle0; }
@@ -9,8 +9,6 @@ const TdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H
9
9
  constructor() {
10
10
  super();
11
11
  this.__registerHost();
12
- this.offsetSkidding = 0;
13
- this.offsetDistance = 8;
14
12
  this.popperjsExtraModifiers = [
15
13
  {
16
14
  name: 'positionCalc',
@@ -42,22 +40,24 @@ const TdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H
42
40
  this.mouseOverTooltip = false;
43
41
  this.show = false;
44
42
  this.placement = 'bottom';
43
+ this.offsetSkidding = 0;
44
+ this.offsetDistance = 8;
45
45
  }
46
46
  componentWillLoad() {
47
47
  this.inheritedAttributes = inheritAttributes(this.host, ['style', 'class']);
48
48
  }
49
49
  render() {
50
50
  var _a;
51
- return (h(Host, { key: 'bcc66dd0579d47ddc7dfe6f3cd37e95aac6efc9f' }, h("tds-popover-core", Object.assign({ key: '8cb113ad567f52b39979bda4ceff545973e163f7' }, this.inheritedAttributes, { class: {
51
+ return (h(Host, { key: '562f403871e5cf9960aae1cd5307401e81fad66f' }, h("tds-popover-core", Object.assign({ key: 'cc3d5ec3304c62d8ae3f5e0c2f7c3d6ad6568ba2' }, this.inheritedAttributes, { class: {
52
52
  'tds-tooltip': true,
53
53
  [`tds-tooltip-${this.border}`]: true,
54
54
  [(_a = this.inheritedAttributes.class) !== null && _a !== void 0 ? _a : '']: true,
55
55
  'tds-tooltip-show': this.show,
56
- }, selector: this.selector, referenceEl: this.referenceEl, trigger: this.mouseOverTooltip ? 'hover-popover' : 'hover', modifiers: this.popperjsExtraModifiers, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
56
+ }, selector: this.selector, referenceEl: this.referenceEl, trigger: this.mouseOverTooltip ? 'hover-popover' : 'hover', modifiers: this.popperjsExtraModifiers, offsetSkidding: this.offsetSkidding, offsetDistance: this.offsetDistance, show: this.show, placement: this.placement, autoHide: false, onInternalTdsShow: () => {
57
57
  this.show = true;
58
58
  }, onInternalTdsClose: () => {
59
59
  this.show = false;
60
- } }), this.text, h("slot", { key: 'd15a1e1164cc747cd336db2ce109c0cd782fbc68' }))));
60
+ } }), this.text, h("slot", { key: '614d5c7e89bd01ab11c57bc06d0f553361a99441' }))));
61
61
  }
62
62
  get host() { return this; }
63
63
  static get style() { return TdsTooltipStyle0; }
@@ -67,7 +67,9 @@ const TdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class TdsTooltip extends H
67
67
  "referenceEl": [16],
68
68
  "mouseOverTooltip": [4, "mouse-over-tooltip"],
69
69
  "show": [1028],
70
- "placement": [1]
70
+ "placement": [1],
71
+ "offsetSkidding": [2, "offset-skidding"],
72
+ "offsetDistance": [2, "offset-distance"]
71
73
  }]);
72
74
  function defineCustomElement$1() {
73
75
  if (typeof customElements === "undefined") {
@@ -3,7 +3,7 @@ export { s as setNonce } from './index-ab4edc4a.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
6
- return bootstrapLazy(JSON.parse("[[\"tds-header-launcher\",[[1,\"tds-header-launcher\",{\"open\":[32],\"buttonEl\":[32],\"hasListTypeMenu\":[32]},[[8,\"click\",\"onAnyClick\"]]]]],[\"tds-header-dropdown\",[[1,\"tds-header-dropdown\",{\"label\":[1],\"noDropdownIcon\":[4,\"no-dropdown-icon\"],\"selected\":[4],\"open\":[32],\"buttonEl\":[32]},[[4,\"click\",\"onAnyClick\"]]]]],[\"tds-header-hamburger\",[[1,\"tds-header-hamburger\"]]],[\"tds-dropdown-option\",[[17,\"tds-dropdown-option\",{\"value\":[1],\"disabled\":[4],\"selected\":[32],\"multiselect\":[32],\"size\":[32],\"setSelected\":[64]}]]],[\"tds-header-brand-symbol\",[[1,\"tds-header-brand-symbol\"]]],[\"tds-side-menu-dropdown\",[[1,\"tds-side-menu-dropdown\",{\"defaultOpen\":[4,\"default-open\"],\"buttonLabel\":[1,\"button-label\"],\"selected\":[4],\"open\":[32],\"hoverState\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"],[1,\"pointerenter\",\"onEventPointerEnter\"],[0,\"focusin\",\"onEventFocus\"],[1,\"pointerleave\",\"onEventPointerLeave\"],[0,\"focusout\",\"onEventBlur\"]]]]],[\"tds-side-menu-user\",[[1,\"tds-side-menu-user\",{\"heading\":[1],\"subheading\":[1],\"imgSrc\":[1,\"img-src\"],\"imgAlt\":[1,\"img-alt\"]}]]],[\"tds-accordion-item\",[[1,\"tds-accordion-item\",{\"header\":[1],\"expandIconPosition\":[1,\"expand-icon-position\"],\"disabled\":[4],\"expanded\":[4],\"paddingReset\":[4,\"padding-reset\"],\"toggleAccordionItem\":[64]}]]],[\"tds-banner\",[[1,\"tds-banner\",{\"icon\":[1],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"bannerId\":[1,\"banner-id\"],\"hidden\":[516],\"hideBanner\":[64],\"showBanner\":[64]}]]],[\"tds-card\",[[1,\"tds-card\",{\"modeVariant\":[1,\"mode-variant\"],\"imagePlacement\":[1,\"image-placement\"],\"header\":[1],\"subheader\":[1],\"bodyImg\":[1,\"body-img\"],\"bodyImgAlt\":[1,\"body-img-alt\"],\"bodyDivider\":[4,\"body-divider\"],\"clickable\":[4],\"cardId\":[1,\"card-id\"]}]]],[\"tds-datetime\",[[2,\"tds-datetime\",{\"type\":[513],\"value\":[1537],\"min\":[1],\"max\":[1],\"defaultValue\":[1,\"default-value\"],\"disabled\":[4],\"size\":[1],\"noMinWidth\":[4,\"no-min-width\"],\"modeVariant\":[1,\"mode-variant\"],\"name\":[1],\"state\":[1],\"autofocus\":[4],\"label\":[1],\"helper\":[1],\"focusInput\":[32],\"setValue\":[64]},[[0,\"focus\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"]]]]],[\"tds-dropdown\",[[1,\"tds-dropdown\",{\"name\":[1],\"disabled\":[4],\"helper\":[1],\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"modeVariant\":[1,\"mode-variant\"],\"openDirection\":[1,\"open-direction\"],\"placeholder\":[1],\"size\":[1],\"error\":[4],\"multiselect\":[4],\"filter\":[4],\"normalizeText\":[4,\"normalize-text\"],\"noResultText\":[1,\"no-result-text\"],\"defaultValue\":[1,\"default-value\"],\"open\":[32],\"value\":[32],\"filterResult\":[32],\"filterFocus\":[32],\"reset\":[64],\"setValue\":[64],\"appendValue\":[64],\"removeValue\":[64],\"close\":[64]},[[9,\"mousedown\",\"onAnyClick\"],[0,\"keydown\",\"onKeyDown\"]],{\"open\":[\"handleOpenState\"]}]]],[\"tds-folder-tabs\",[[1,\"tds-folder-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"buttonWidth\":[32],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-footer-group\",[[1,\"tds-footer-group\",{\"titleText\":[1,\"title-text\"],\"open\":[32]}]]],[\"tds-header-launcher-list\",[[4,\"tds-header-launcher-list\"]]],[\"tds-header-launcher-list-item\",[[1,\"tds-header-launcher-list-item\"]]],[\"tds-inline-tabs\",[[1,\"tds-inline-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"buttonWidth\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-message\",[[1,\"tds-message\",{\"header\":[1],\"modeVariant\":[1,\"mode-variant\"],\"variant\":[1],\"noIcon\":[4,\"no-icon\"],\"minimal\":[4]}]]],[\"tds-modal\",[[1,\"tds-modal\",{\"header\":[1],\"prevent\":[4],\"size\":[1],\"actionsPosition\":[1,\"actions-position\"],\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"isShown\":[32],\"showModal\":[64],\"closeModal\":[64]}]]],[\"tds-navigation-tabs\",[[1,\"tds-navigation-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-popover-menu\",[[6,\"tds-popover-menu\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"fluidWidth\":[4,\"fluid-width\"]}]]],[\"tds-side-menu-close-button\",[[1,\"tds-side-menu-close-button\"]]],[\"tds-side-menu-collapse-button\",[[1,\"tds-side-menu-collapse-button\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-slider\",[[0,\"tds-slider\",{\"label\":[1],\"value\":[1025],\"min\":[1],\"max\":[1],\"ticks\":[1],\"showTickNumbers\":[4,\"show-tick-numbers\"],\"tooltip\":[4],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"controls\":[4],\"input\":[4],\"step\":[1],\"name\":[1],\"thumbSize\":[1,\"thumb-size\"],\"snap\":[4],\"sliderId\":[1,\"slider-id\"],\"reset\":[64]},[[0,\"keydown\",\"handleKeydown\"],[9,\"mouseup\",\"handleMouseUp\"],[9,\"touchend\",\"handleTouchEnd\"],[9,\"mousemove\",\"handleMouseMove\"],[9,\"touchmove\",\"handleTouchMove\"]],{\"value\":[\"handleValueUpdate\"]}]]],[\"tds-step\",[[1,\"tds-step\",{\"index\":[1],\"state\":[1],\"hideLabels\":[32],\"size\":[32],\"orientation\":[32],\"labelPosition\":[32]},[[16,\"internalTdsPropsChange\",\"handlePropsChange\"]]]]],[\"tds-table-body-row\",[[1,\"tds-table-body-row\",{\"selected\":[516],\"disabled\":[516],\"multiselect\":[32],\"mainCheckBoxStatus\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-footer\",[[1,\"tds-table-footer\",{\"pagination\":[516],\"paginationValue\":[1538,\"pagination-value\"],\"pages\":[514],\"cols\":[2],\"columnsNumber\":[32],\"compactDesign\":[32],\"lastCorrectValue\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-header\",[[1,\"tds-table-header\",{\"allSelected\":[1540,\"all-selected\"],\"selected\":[1540],\"disabled\":[1540],\"indeterminate\":[4],\"multiselect\":[32],\"expandableRows\":[32],\"mainCheckboxSelected\":[32],\"mainExpendSelected\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowExpanded\",\"internalTdsRowExpandedListener\"]]]]],[\"tds-table-toolbar\",[[1,\"tds-table-toolbar\",{\"tableTitle\":[513,\"table-title\"],\"filter\":[516],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-text-field\",[[6,\"tds-text-field\",{\"type\":[513],\"labelPosition\":[1,\"label-position\"],\"label\":[1],\"min\":[8],\"max\":[8],\"helper\":[1],\"placeholder\":[1],\"value\":[513],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"size\":[1],\"modeVariant\":[1,\"mode-variant\"],\"noMinWidth\":[4,\"no-min-width\"],\"name\":[1],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"autofocus\":[4],\"focusInput\":[32]}]]],[\"tds-textarea\",[[2,\"tds-textarea\",{\"label\":[1],\"name\":[1],\"helper\":[1],\"cols\":[2],\"rows\":[2],\"labelPosition\":[1,\"label-position\"],\"placeholder\":[1],\"value\":[1],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"modeVariant\":[1,\"mode-variant\"],\"autofocus\":[4],\"noMinWidth\":[4,\"no-min-width\"],\"focusInput\":[32]}]]],[\"tds-toast\",[[1,\"tds-toast\",{\"toastId\":[1,\"toast-id\"],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"hidden\":[516],\"toastRole\":[1,\"toast-role\"],\"hideToast\":[64],\"showToast\":[64]}]]],[\"tds-tooltip\",[[6,\"tds-tooltip\",{\"text\":[1],\"selector\":[1],\"referenceEl\":[16],\"mouseOverTooltip\":[4,\"mouse-over-tooltip\"],\"show\":[1028],\"placement\":[1]}]]],[\"tds-accordion\",[[1,\"tds-accordion\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-badge\",[[1,\"tds-badge\",{\"value\":[1],\"hidden\":[516],\"size\":[1],\"shape\":[32],\"text\":[32]},null,{\"value\":[\"watchProps\"],\"size\":[\"watchProps\"]}]]],[\"tds-block\",[[1,\"tds-block\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-body-cell\",[[1,\"tds-body-cell\",{\"cellValue\":[520,\"cell-value\"],\"cellKey\":[520,\"cell-key\"],\"disablePadding\":[516,\"disable-padding\"],\"textAlignState\":[32],\"activeSorting\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsHover\",\"internalTdsHoverListener\"],[16,\"internalTdsTextAlign\",\"internalTdsTextAlignListener\"]]]]],[\"tds-breadcrumb\",[[1,\"tds-breadcrumb\",{\"current\":[4]}]]],[\"tds-breadcrumbs\",[[1,\"tds-breadcrumbs\"]]],[\"tds-button\",[[6,\"tds-button\",{\"text\":[1],\"type\":[1],\"variant\":[1],\"size\":[1],\"disabled\":[4],\"fullbleed\":[4],\"modeVariant\":[1,\"mode-variant\"],\"onlyIcon\":[32]}]]],[\"tds-chip\",[[6,\"tds-chip\",{\"type\":[1],\"size\":[1],\"chipId\":[1,\"chip-id\"],\"checked\":[1540],\"name\":[1],\"value\":[1]}]]],[\"tds-folder-tab\",[[1,\"tds-folder-tab\",{\"disabled\":[4],\"selected\":[32],\"tabWidth\":[32],\"setTabWidth\":[64],\"setSelected\":[64]}]]],[\"tds-footer\",[[1,\"tds-footer\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-footer-item\",[[1,\"tds-footer-item\"]]],[\"tds-header\",[[4,\"tds-header\"]]],[\"tds-header-cell\",[[1,\"tds-header-cell\",{\"cellKey\":[513,\"cell-key\"],\"cellValue\":[513,\"cell-value\"],\"customWidth\":[513,\"custom-width\"],\"sortable\":[4],\"textAlign\":[513,\"text-align\"],\"textAlignState\":[32],\"sortingDirection\":[32],\"sortedByMyKey\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"multiselect\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32],\"expandableRows\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalSortButtonClicked\",\"updateOptionsContent\"]]]]],[\"tds-header-dropdown-list-user\",[[1,\"tds-header-dropdown-list-user\",{\"imgUrl\":[1,\"img-url\"],\"imgAlt\":[1,\"img-alt\"],\"header\":[1],\"subheader\":[1]}]]],[\"tds-header-launcher-grid\",[[4,\"tds-header-launcher-grid\",{\"headingElement\":[32]}]]],[\"tds-header-launcher-grid-item\",[[1,\"tds-header-launcher-grid-item\"]]],[\"tds-header-launcher-grid-title\",[[4,\"tds-header-launcher-grid-title\"]]],[\"tds-header-launcher-list-title\",[[4,\"tds-header-launcher-list-title\"]]],[\"tds-header-title\",[[1,\"tds-header-title\"]]],[\"tds-inline-tab\",[[1,\"tds-inline-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-link\",[[1,\"tds-link\",{\"disabled\":[4],\"underline\":[4]}]]],[\"tds-navigation-tab\",[[1,\"tds-navigation-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-popover-menu-item\",[[1,\"tds-popover-menu-item\",{\"disabled\":[4]}]]],[\"tds-radio-button\",[[6,\"tds-radio-button\",{\"name\":[1],\"value\":[1],\"radioId\":[1,\"radio-id\"],\"checked\":[516],\"required\":[4],\"disabled\":[4]}]]],[\"tds-side-menu\",[[1,\"tds-side-menu\",{\"open\":[4],\"persistent\":[4],\"collapsed\":[1028],\"isUpperSlotEmpty\":[32],\"isCollapsed\":[32],\"initialCollapsedState\":[32]},[[16,\"internalTdsCollapse\",\"collapsedSideMenuEventHandler\"]],{\"collapsed\":[\"onCollapsedChange\"]}]]],[\"tds-side-menu-dropdown-list\",[[1,\"tds-side-menu-dropdown-list\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"]]]]],[\"tds-side-menu-dropdown-list-item\",[[1,\"tds-side-menu-dropdown-list-item\",{\"selected\":[4],\"dropdownHasIcon\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-side-menu-overlay\",[[1,\"tds-side-menu-overlay\"]]],[\"tds-spinner\",[[0,\"tds-spinner\",{\"size\":[1],\"variant\":[1]}]]],[\"tds-stepper\",[[1,\"tds-stepper\",{\"orientation\":[1],\"labelPosition\":[1,\"label-position\"],\"size\":[1],\"hideLabels\":[4,\"hide-labels\"],\"stepperId\":[1,\"stepper-id\"]},null,{\"orientation\":[\"handleDirectionChange\"],\"labelPosition\":[\"handleLabelPositionChange\"],\"size\":[\"handleSizeChange\"],\"hideLabels\":[\"handleHideLabelsChange\"]}]]],[\"tds-table\",[[1,\"tds-table\",{\"verticalDividers\":[516,\"vertical-dividers\"],\"compactDesign\":[516,\"compact-design\"],\"noMinWidth\":[516,\"no-min-width\"],\"multiselect\":[516],\"expandableRows\":[516,\"expandable-rows\"],\"responsive\":[516],\"modeVariant\":[513,\"mode-variant\"],\"tableId\":[1,\"table-id\"],\"getSelectedRows\":[64]},null,{\"multiselect\":[\"multiselectChanged\"],\"expandableRows\":[\"enableExpandableRowsChanged\"],\"compactDesign\":[\"compactDesignChanged\"],\"verticalDividers\":[\"verticalDividersChanged\"],\"noMinWidth\":[\"noMinWidthChanged\"],\"modeVariant\":[\"modeVariantChanged\"]}]]],[\"tds-table-body\",[[4,\"tds-table-body\",{\"multiselect\":[32],\"enablePaginationTableBody\":[32],\"expandableRows\":[32],\"multiselectArray\":[32],\"multiselectArrayJSON\":[32],\"mainCheckboxStatus\":[32],\"columnsNumber\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowChange\",\"bodyCheckboxListener\"]]]]],[\"tds-table-body-row-expandable\",[[1,\"tds-table-body-row-expandable\",{\"colSpan\":[2,\"col-span\"],\"isExpanded\":[32],\"tableId\":[32],\"columnsNumber\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"modeVariant\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-toggle\",[[6,\"tds-toggle\",{\"checked\":[516],\"required\":[4],\"size\":[1],\"name\":[1],\"headline\":[1],\"disabled\":[4],\"toggleId\":[1,\"toggle-id\"],\"toggle\":[64]}]]],[\"tds-header-launcher-button\",[[1,\"tds-header-launcher-button\",{\"active\":[4]}]]],[\"tds-divider\",[[1,\"tds-divider\",{\"orientation\":[1]}]]],[\"tds-header-dropdown-list\",[[1,\"tds-header-dropdown-list\",{\"size\":[513],\"headingElement\":[32]}]]],[\"tds-header-dropdown-list-item\",[[1,\"tds-header-dropdown-list-item\",{\"selected\":[4],\"size\":[513]}]]],[\"tds-popover-canvas\",[[6,\"tds-popover-canvas\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16]}]]],[\"tds-side-menu-user-image_2\",[[1,\"tds-side-menu-user-image\",{\"src\":[1],\"alt\":[1]}],[1,\"tds-side-menu-user-label\",{\"heading\":[1],\"subheading\":[1]}]]],[\"tds-side-menu-item\",[[1,\"tds-side-menu-item\",{\"selected\":[4],\"active\":[4],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-checkbox\",[[6,\"tds-checkbox\",{\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"indeterminate\":[1028],\"value\":[1],\"toggleCheckbox\":[64]},null,{\"indeterminate\":[\"handleIndeterminateState\"]}]]],[\"tds-popover-core\",[[6,\"tds-popover-core\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16],\"trigger\":[1],\"autoHide\":[4,\"auto-hide\"],\"renderedShowValue\":[32],\"popperInstance\":[32],\"target\":[32],\"isShown\":[32]},[[8,\"click\",\"onAnyClick\"]],{\"show\":[\"onShowChange\"],\"referenceEl\":[\"onReferenceElChanged\"],\"trigger\":[\"onTriggerChanged\"]}]]],[\"tds-core-header-item_2\",[[1,\"tds-header-item\",{\"active\":[4],\"selected\":[4]}],[1,\"tds-core-header-item\"]]],[\"tds-icon\",[[1,\"tds-icon\",{\"name\":[513],\"size\":[513],\"svgTitle\":[1,\"svg-title\"],\"svgDescription\":[1,\"svg-description\"],\"icons_object\":[32],\"arrayOfIcons\":[32]}]]]]"), options);
6
+ return bootstrapLazy(JSON.parse("[[\"tds-header-launcher\",[[1,\"tds-header-launcher\",{\"open\":[32],\"buttonEl\":[32],\"hasListTypeMenu\":[32]},[[8,\"click\",\"onAnyClick\"]]]]],[\"tds-header-dropdown\",[[1,\"tds-header-dropdown\",{\"label\":[1],\"noDropdownIcon\":[4,\"no-dropdown-icon\"],\"selected\":[4],\"open\":[32],\"buttonEl\":[32]},[[4,\"click\",\"onAnyClick\"]]]]],[\"tds-header-hamburger\",[[1,\"tds-header-hamburger\"]]],[\"tds-dropdown-option\",[[17,\"tds-dropdown-option\",{\"value\":[1],\"disabled\":[4],\"selected\":[32],\"multiselect\":[32],\"size\":[32],\"setSelected\":[64]}]]],[\"tds-header-brand-symbol\",[[1,\"tds-header-brand-symbol\"]]],[\"tds-side-menu-dropdown\",[[1,\"tds-side-menu-dropdown\",{\"defaultOpen\":[4,\"default-open\"],\"buttonLabel\":[1,\"button-label\"],\"selected\":[4],\"open\":[32],\"hoverState\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"],[1,\"pointerenter\",\"onEventPointerEnter\"],[0,\"focusin\",\"onEventFocus\"],[1,\"pointerleave\",\"onEventPointerLeave\"],[0,\"focusout\",\"onEventBlur\"]]]]],[\"tds-side-menu-user\",[[1,\"tds-side-menu-user\",{\"heading\":[1],\"subheading\":[1],\"imgSrc\":[1,\"img-src\"],\"imgAlt\":[1,\"img-alt\"]}]]],[\"tds-accordion-item\",[[1,\"tds-accordion-item\",{\"header\":[1],\"expandIconPosition\":[1,\"expand-icon-position\"],\"disabled\":[4],\"expanded\":[4],\"paddingReset\":[4,\"padding-reset\"],\"toggleAccordionItem\":[64]}]]],[\"tds-banner\",[[1,\"tds-banner\",{\"icon\":[1],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"bannerId\":[1,\"banner-id\"],\"hidden\":[516],\"hideBanner\":[64],\"showBanner\":[64]}]]],[\"tds-card\",[[1,\"tds-card\",{\"modeVariant\":[1,\"mode-variant\"],\"imagePlacement\":[1,\"image-placement\"],\"header\":[1],\"subheader\":[1],\"bodyImg\":[1,\"body-img\"],\"bodyImgAlt\":[1,\"body-img-alt\"],\"bodyDivider\":[4,\"body-divider\"],\"clickable\":[4],\"cardId\":[1,\"card-id\"]}]]],[\"tds-datetime\",[[2,\"tds-datetime\",{\"type\":[513],\"value\":[1537],\"min\":[1],\"max\":[1],\"defaultValue\":[1,\"default-value\"],\"disabled\":[4],\"size\":[1],\"noMinWidth\":[4,\"no-min-width\"],\"modeVariant\":[1,\"mode-variant\"],\"name\":[1],\"state\":[1],\"autofocus\":[4],\"label\":[1],\"helper\":[1],\"focusInput\":[32],\"setValue\":[64]},[[0,\"focus\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"]]]]],[\"tds-dropdown\",[[1,\"tds-dropdown\",{\"name\":[1],\"disabled\":[4],\"helper\":[1],\"label\":[1],\"labelPosition\":[1,\"label-position\"],\"modeVariant\":[1,\"mode-variant\"],\"openDirection\":[1,\"open-direction\"],\"placeholder\":[1],\"size\":[1],\"error\":[4],\"multiselect\":[4],\"filter\":[4],\"normalizeText\":[4,\"normalize-text\"],\"noResultText\":[1,\"no-result-text\"],\"defaultValue\":[1,\"default-value\"],\"open\":[32],\"value\":[32],\"filterResult\":[32],\"filterFocus\":[32],\"reset\":[64],\"setValue\":[64],\"appendValue\":[64],\"removeValue\":[64],\"close\":[64]},[[9,\"mousedown\",\"onAnyClick\"],[0,\"keydown\",\"onKeyDown\"]],{\"open\":[\"handleOpenState\"]}]]],[\"tds-folder-tabs\",[[1,\"tds-folder-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"buttonWidth\":[32],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-footer-group\",[[1,\"tds-footer-group\",{\"titleText\":[1,\"title-text\"],\"open\":[32]}]]],[\"tds-header-launcher-list\",[[4,\"tds-header-launcher-list\"]]],[\"tds-header-launcher-list-item\",[[1,\"tds-header-launcher-list-item\"]]],[\"tds-inline-tabs\",[[1,\"tds-inline-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"buttonWidth\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-message\",[[1,\"tds-message\",{\"header\":[1],\"modeVariant\":[1,\"mode-variant\"],\"variant\":[1],\"noIcon\":[4,\"no-icon\"],\"minimal\":[4]}]]],[\"tds-modal\",[[1,\"tds-modal\",{\"header\":[1],\"prevent\":[4],\"size\":[1],\"actionsPosition\":[1,\"actions-position\"],\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"isShown\":[32],\"showModal\":[64],\"closeModal\":[64]}]]],[\"tds-navigation-tabs\",[[1,\"tds-navigation-tabs\",{\"modeVariant\":[1,\"mode-variant\"],\"defaultSelectedIndex\":[2,\"default-selected-index\"],\"selectedIndex\":[514,\"selected-index\"],\"showLeftScroll\":[32],\"showRightScroll\":[32],\"selectTab\":[64]},null,{\"selectedIndex\":[\"handleSelectedIndexUpdate\"]}]]],[\"tds-popover-menu\",[[6,\"tds-popover-menu\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"fluidWidth\":[4,\"fluid-width\"]}]]],[\"tds-side-menu-close-button\",[[1,\"tds-side-menu-close-button\"]]],[\"tds-side-menu-collapse-button\",[[1,\"tds-side-menu-collapse-button\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-slider\",[[0,\"tds-slider\",{\"label\":[1],\"value\":[1025],\"min\":[1],\"max\":[1],\"ticks\":[1],\"showTickNumbers\":[4,\"show-tick-numbers\"],\"tooltip\":[4],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"controls\":[4],\"input\":[4],\"step\":[1],\"name\":[1],\"thumbSize\":[1,\"thumb-size\"],\"snap\":[4],\"sliderId\":[1,\"slider-id\"],\"reset\":[64]},[[0,\"keydown\",\"handleKeydown\"],[9,\"mouseup\",\"handleMouseUp\"],[9,\"touchend\",\"handleTouchEnd\"],[9,\"mousemove\",\"handleMouseMove\"],[9,\"touchmove\",\"handleTouchMove\"]],{\"value\":[\"handleValueUpdate\"]}]]],[\"tds-step\",[[1,\"tds-step\",{\"index\":[1],\"state\":[1],\"hideLabels\":[32],\"size\":[32],\"orientation\":[32],\"labelPosition\":[32]},[[16,\"internalTdsPropsChange\",\"handlePropsChange\"]]]]],[\"tds-table-body-row\",[[1,\"tds-table-body-row\",{\"selected\":[516],\"disabled\":[516],\"multiselect\":[32],\"mainCheckBoxStatus\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-footer\",[[1,\"tds-table-footer\",{\"pagination\":[516],\"paginationValue\":[1538,\"pagination-value\"],\"pages\":[514],\"cols\":[2],\"columnsNumber\":[32],\"compactDesign\":[32],\"lastCorrectValue\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-table-header\",[[1,\"tds-table-header\",{\"allSelected\":[1540,\"all-selected\"],\"selected\":[1540],\"disabled\":[1540],\"indeterminate\":[4],\"multiselect\":[32],\"expandableRows\":[32],\"mainCheckboxSelected\":[32],\"mainExpendSelected\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowExpanded\",\"internalTdsRowExpandedListener\"]]]]],[\"tds-table-toolbar\",[[1,\"tds-table-toolbar\",{\"tableTitle\":[513,\"table-title\"],\"filter\":[516],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-text-field\",[[6,\"tds-text-field\",{\"type\":[513],\"labelPosition\":[1,\"label-position\"],\"label\":[1],\"min\":[8],\"max\":[8],\"helper\":[1],\"placeholder\":[1],\"value\":[513],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"size\":[1],\"modeVariant\":[1,\"mode-variant\"],\"noMinWidth\":[4,\"no-min-width\"],\"name\":[1],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"autofocus\":[4],\"focusInput\":[32]}]]],[\"tds-textarea\",[[2,\"tds-textarea\",{\"label\":[1],\"name\":[1],\"helper\":[1],\"cols\":[2],\"rows\":[2],\"labelPosition\":[1,\"label-position\"],\"placeholder\":[1],\"value\":[1],\"disabled\":[4],\"readOnly\":[4,\"read-only\"],\"state\":[1],\"maxLength\":[2,\"max-length\"],\"modeVariant\":[1,\"mode-variant\"],\"autofocus\":[4],\"noMinWidth\":[4,\"no-min-width\"],\"focusInput\":[32]}]]],[\"tds-toast\",[[1,\"tds-toast\",{\"toastId\":[1,\"toast-id\"],\"header\":[1],\"subheader\":[1],\"variant\":[1],\"hidden\":[516],\"toastRole\":[1,\"toast-role\"],\"hideToast\":[64],\"showToast\":[64]}]]],[\"tds-tooltip\",[[6,\"tds-tooltip\",{\"text\":[1],\"selector\":[1],\"referenceEl\":[16],\"mouseOverTooltip\":[4,\"mouse-over-tooltip\"],\"show\":[1028],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"]}]]],[\"tds-accordion\",[[1,\"tds-accordion\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-badge\",[[1,\"tds-badge\",{\"value\":[1],\"hidden\":[516],\"size\":[1],\"shape\":[32],\"text\":[32]},null,{\"value\":[\"watchProps\"],\"size\":[\"watchProps\"]}]]],[\"tds-block\",[[1,\"tds-block\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-body-cell\",[[1,\"tds-body-cell\",{\"cellValue\":[520,\"cell-value\"],\"cellKey\":[520,\"cell-key\"],\"disablePadding\":[516,\"disable-padding\"],\"textAlignState\":[32],\"activeSorting\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"whiteBackground\":[32],\"tableId\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsHover\",\"internalTdsHoverListener\"],[16,\"internalTdsTextAlign\",\"internalTdsTextAlignListener\"]]]]],[\"tds-breadcrumb\",[[1,\"tds-breadcrumb\",{\"current\":[4]}]]],[\"tds-breadcrumbs\",[[1,\"tds-breadcrumbs\"]]],[\"tds-button\",[[6,\"tds-button\",{\"text\":[1],\"type\":[1],\"variant\":[1],\"size\":[1],\"disabled\":[4],\"fullbleed\":[4],\"modeVariant\":[1,\"mode-variant\"],\"onlyIcon\":[32]}]]],[\"tds-chip\",[[6,\"tds-chip\",{\"type\":[1],\"size\":[1],\"chipId\":[1,\"chip-id\"],\"checked\":[1540],\"name\":[1],\"value\":[1]}]]],[\"tds-folder-tab\",[[1,\"tds-folder-tab\",{\"disabled\":[4],\"selected\":[32],\"tabWidth\":[32],\"setTabWidth\":[64],\"setSelected\":[64]}]]],[\"tds-footer\",[[1,\"tds-footer\",{\"modeVariant\":[1,\"mode-variant\"]}]]],[\"tds-footer-item\",[[1,\"tds-footer-item\"]]],[\"tds-header\",[[4,\"tds-header\"]]],[\"tds-header-cell\",[[1,\"tds-header-cell\",{\"cellKey\":[513,\"cell-key\"],\"cellValue\":[513,\"cell-value\"],\"customWidth\":[513,\"custom-width\"],\"sortable\":[4],\"textAlign\":[513,\"text-align\"],\"textAlignState\":[32],\"sortingDirection\":[32],\"sortedByMyKey\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"multiselect\":[32],\"enableToolbarDesign\":[32],\"tableId\":[32],\"expandableRows\":[32]},[[16,\"internalTdsPropChange\",\"internalTdsPropChangeListener\"],[16,\"internalSortButtonClicked\",\"updateOptionsContent\"]]]]],[\"tds-header-dropdown-list-user\",[[1,\"tds-header-dropdown-list-user\",{\"imgUrl\":[1,\"img-url\"],\"imgAlt\":[1,\"img-alt\"],\"header\":[1],\"subheader\":[1]}]]],[\"tds-header-launcher-grid\",[[4,\"tds-header-launcher-grid\",{\"headingElement\":[32]}]]],[\"tds-header-launcher-grid-item\",[[1,\"tds-header-launcher-grid-item\"]]],[\"tds-header-launcher-grid-title\",[[4,\"tds-header-launcher-grid-title\"]]],[\"tds-header-launcher-list-title\",[[4,\"tds-header-launcher-list-title\"]]],[\"tds-header-title\",[[1,\"tds-header-title\"]]],[\"tds-inline-tab\",[[1,\"tds-inline-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-link\",[[1,\"tds-link\",{\"disabled\":[4],\"underline\":[4]}]]],[\"tds-navigation-tab\",[[1,\"tds-navigation-tab\",{\"disabled\":[4],\"selected\":[32],\"setSelected\":[64]}]]],[\"tds-popover-menu-item\",[[1,\"tds-popover-menu-item\",{\"disabled\":[4]}]]],[\"tds-radio-button\",[[6,\"tds-radio-button\",{\"name\":[1],\"value\":[1],\"radioId\":[1,\"radio-id\"],\"checked\":[516],\"required\":[4],\"disabled\":[4]}]]],[\"tds-side-menu\",[[1,\"tds-side-menu\",{\"open\":[4],\"persistent\":[4],\"collapsed\":[1028],\"isUpperSlotEmpty\":[32],\"isCollapsed\":[32],\"initialCollapsedState\":[32]},[[16,\"internalTdsCollapse\",\"collapsedSideMenuEventHandler\"]],{\"collapsed\":[\"onCollapsedChange\"]}]]],[\"tds-side-menu-dropdown-list\",[[1,\"tds-side-menu-dropdown-list\",{\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapsedSideMenuEventHandler\"]]]]],[\"tds-side-menu-dropdown-list-item\",[[1,\"tds-side-menu-dropdown-list-item\",{\"selected\":[4],\"dropdownHasIcon\":[32],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-side-menu-overlay\",[[1,\"tds-side-menu-overlay\"]]],[\"tds-spinner\",[[0,\"tds-spinner\",{\"size\":[1],\"variant\":[1]}]]],[\"tds-stepper\",[[1,\"tds-stepper\",{\"orientation\":[1],\"labelPosition\":[1,\"label-position\"],\"size\":[1],\"hideLabels\":[4,\"hide-labels\"],\"stepperId\":[1,\"stepper-id\"]},null,{\"orientation\":[\"handleDirectionChange\"],\"labelPosition\":[\"handleLabelPositionChange\"],\"size\":[\"handleSizeChange\"],\"hideLabels\":[\"handleHideLabelsChange\"]}]]],[\"tds-table\",[[1,\"tds-table\",{\"verticalDividers\":[516,\"vertical-dividers\"],\"compactDesign\":[516,\"compact-design\"],\"noMinWidth\":[516,\"no-min-width\"],\"multiselect\":[516],\"expandableRows\":[516,\"expandable-rows\"],\"responsive\":[516],\"modeVariant\":[513,\"mode-variant\"],\"tableId\":[1,\"table-id\"],\"getSelectedRows\":[64]},null,{\"multiselect\":[\"multiselectChanged\"],\"expandableRows\":[\"enableExpandableRowsChanged\"],\"compactDesign\":[\"compactDesignChanged\"],\"verticalDividers\":[\"verticalDividersChanged\"],\"noMinWidth\":[\"noMinWidthChanged\"],\"modeVariant\":[\"modeVariantChanged\"]}]]],[\"tds-table-body\",[[4,\"tds-table-body\",{\"multiselect\":[32],\"enablePaginationTableBody\":[32],\"expandableRows\":[32],\"multiselectArray\":[32],\"multiselectArrayJSON\":[32],\"mainCheckboxStatus\":[32],\"columnsNumber\":[32],\"tableId\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"],[16,\"internalTdsRowChange\",\"bodyCheckboxListener\"]]]]],[\"tds-table-body-row-expandable\",[[1,\"tds-table-body-row-expandable\",{\"colSpan\":[2,\"col-span\"],\"isExpanded\":[32],\"tableId\":[32],\"columnsNumber\":[32],\"verticalDividers\":[32],\"compactDesign\":[32],\"noMinWidth\":[32],\"modeVariant\":[32]},[[16,\"internalTdsTablePropChange\",\"internalTdsPropChangeListener\"]]]]],[\"tds-toggle\",[[6,\"tds-toggle\",{\"checked\":[516],\"required\":[4],\"size\":[1],\"name\":[1],\"headline\":[1],\"disabled\":[4],\"toggleId\":[1,\"toggle-id\"],\"toggle\":[64]}]]],[\"tds-header-launcher-button\",[[1,\"tds-header-launcher-button\",{\"active\":[4]}]]],[\"tds-divider\",[[1,\"tds-divider\",{\"orientation\":[1]}]]],[\"tds-header-dropdown-list\",[[1,\"tds-header-dropdown-list\",{\"size\":[513],\"headingElement\":[32]}]]],[\"tds-header-dropdown-list-item\",[[1,\"tds-header-dropdown-list-item\",{\"selected\":[4],\"size\":[513]}]]],[\"tds-popover-canvas\",[[6,\"tds-popover-canvas\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16]}]]],[\"tds-side-menu-user-image_2\",[[1,\"tds-side-menu-user-image\",{\"src\":[1],\"alt\":[1]}],[1,\"tds-side-menu-user-label\",{\"heading\":[1],\"subheading\":[1]}]]],[\"tds-side-menu-item\",[[1,\"tds-side-menu-item\",{\"selected\":[4],\"active\":[4],\"collapsed\":[32]},[[16,\"internalTdsSideMenuPropChange\",\"collapseSideMenuEventHandler\"]]]]],[\"tds-checkbox\",[[6,\"tds-checkbox\",{\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"disabled\":[4],\"required\":[4],\"checked\":[1540],\"indeterminate\":[1028],\"value\":[1],\"toggleCheckbox\":[64]},null,{\"indeterminate\":[\"handleIndeterminateState\"]}]]],[\"tds-popover-core\",[[6,\"tds-popover-core\",{\"selector\":[1],\"referenceEl\":[16],\"show\":[4],\"placement\":[1],\"offsetSkidding\":[2,\"offset-skidding\"],\"offsetDistance\":[2,\"offset-distance\"],\"modifiers\":[16],\"trigger\":[1],\"autoHide\":[4,\"auto-hide\"],\"renderedShowValue\":[32],\"popperInstance\":[32],\"target\":[32],\"isShown\":[32]},[[8,\"click\",\"onAnyClick\"]],{\"show\":[\"onShowChange\"],\"referenceEl\":[\"onReferenceElChanged\"],\"trigger\":[\"onTriggerChanged\"]}]]],[\"tds-core-header-item_2\",[[1,\"tds-header-item\",{\"active\":[4],\"selected\":[4]}],[1,\"tds-core-header-item\"]]],[\"tds-icon\",[[1,\"tds-icon\",{\"name\":[513],\"size\":[513],\"svgTitle\":[1,\"svg-title\"],\"svgDescription\":[1,\"svg-description\"],\"icons_object\":[32],\"arrayOfIcons\":[32]}]]]]"), options);
7
7
  };
8
8
 
9
9
  export { defineCustomElements };
@@ -9,6 +9,7 @@ const TdsDatetime = class {
9
9
  this.tdsChange = createEvent(this, "tdsChange", 6);
10
10
  this.tdsBlur = createEvent(this, "tdsBlur", 6);
11
11
  this.tdsFocus = createEvent(this, "tdsFocus", 6);
12
+ this.tdsInput = createEvent(this, "tdsInput", 6);
12
13
  this.getDefaultValue = () => {
13
14
  const dateTimeObj = {
14
15
  year: this.defaultValue.slice(0, 4),
@@ -64,7 +65,7 @@ const TdsDatetime = class {
64
65
  // Data input event in value prop
65
66
  handleInput(e) {
66
67
  this.value = e.target.value;
67
- this.tdsChange.emit(e);
68
+ this.tdsInput.emit(e);
68
69
  }
69
70
  // Change event isn't a composed:true by default in for input
70
71
  handleChange(e) {
@@ -88,7 +89,7 @@ const TdsDatetime = class {
88
89
  if (this.size === 'sm') {
89
90
  className += `${className}-sm`;
90
91
  }
91
- return (h("div", { key: 'c1898a8f2f246873fd96d0341ec586d383cb82cc', class: `
92
+ return (h("div", { key: '9b718024979e3b9832c8ca0ff06d7323f843aeea', class: `
92
93
  ${this.noMinWidth ? 'tds-form-datetime-nomin' : ''}
93
94
  ${this.focusInput ? 'tds-form-datetime tds-datetime-focus' : ' tds-form-datetime'}
94
95
  ${this.value.length > 0 ? 'tds-datetime-data' : ''}
@@ -98,7 +99,7 @@ const TdsDatetime = class {
98
99
  ${this.state === 'error' || this.state === 'success'
99
100
  ? `tds-form-datetime-${this.state}`
100
101
  : ''}
101
- ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { key: '944fd7e9cc22e00963871f3b5c0beea9a79b5178', onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { key: 'a5031fa204ba8243397940218b8441075c1a1956', class: "tds-datetime-input-container" }, h("input", { key: '3f6450962c8c36266a5850e4301e1cbeebfdcf6a', ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), h("div", { key: '96167c82dfe4cc3fd190022c221bb00276a437fe', class: "datetime-icon icon-datetime-local" }, h("tds-icon", { key: 'b4f224e2ea3131118c6877aa882cd02417ef7ebc', size: "20px", name: "calendar" })), h("div", { key: '1dbd2e11a29bc4d75a98072d4f988c66423fa4e2', class: "datetime-icon icon-time" }, h("tds-icon", { key: 'cfea2bb492ee6d6531041139bda0fabe48135932', size: "20px", name: "clock" }))), h("div", { key: 'c336d198941fde234202ee75a87464517178bf69', class: "tds-datetime-bar" })), this.helper && (h("div", { class: "tds-datetime-helper" }, h("div", { class: "tds-helper" }, this.state === 'error' && h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
102
+ ${this.modeVariant !== null ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && (h("label", { htmlFor: this.name, class: "tds-datetime-label" }, this.label)), h("div", { key: 'dcee80da3ff4538aa1a0437643ce91b07c46d968', onClick: (e) => this.handleFocusClick(e), class: "tds-datetime-container" }, h("div", { key: '61ccbe13370a32ff54380ba8704d0044f1b2c904', class: "tds-datetime-input-container" }, h("input", { key: '78268cb880af401218303b65bce2d0c761de640f', ref: (inputEl) => (this.textInput = inputEl), class: className, type: this.type, disabled: this.disabled, value: this.value, min: this.min, max: this.max, autofocus: this.autofocus, name: this.name, onInput: (e) => this.handleInput(e), onBlur: (e) => this.handleBlur(e), onChange: (e) => this.handleChange(e) }), h("div", { key: 'e161409fd2ea7f3f1da695b87062580275d94afb', class: "datetime-icon icon-datetime-local" }, h("tds-icon", { key: 'bb439960caf01ce31eba02f78669965392f65c19', size: "20px", name: "calendar" })), h("div", { key: 'c8967bc660ac4d1cf724cf6bf6651d2756041756', class: "datetime-icon icon-time" }, h("tds-icon", { key: '27cbb876130856fbada4602c4c783580aa7d95b9', size: "20px", name: "clock" }))), h("div", { key: '0309a22195d629a5e1b551f4e848dbc37596b647', class: "tds-datetime-bar" })), this.helper && (h("div", { class: "tds-datetime-helper" }, h("div", { class: "tds-helper" }, this.state === 'error' && h("tds-icon", { name: "error", size: "16px" }), this.helper)))));
102
103
  }
103
104
  };
104
105
  TdsDatetime.style = TdsDatetimeStyle0;
@@ -115,6 +115,20 @@ const TdsDropdown = class {
115
115
  }
116
116
  return this.openDirection;
117
117
  };
118
+ /* Toggles the open state of the Dropdown and sets focus to the input element */
119
+ this.handleToggleOpen = () => {
120
+ if (!this.disabled) {
121
+ this.open = !this.open;
122
+ if (this.open) {
123
+ this.focusInputElement();
124
+ }
125
+ }
126
+ };
127
+ /* Focuses the input element in the Dropdown, if the reference is present. */
128
+ this.focusInputElement = () => {
129
+ if (this.inputElement)
130
+ this.inputElement.focus();
131
+ };
118
132
  this.getSelectedChildren = () => {
119
133
  var _a;
120
134
  return (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((stringValue) => {
@@ -252,9 +266,6 @@ const TdsDropdown = class {
252
266
  if (this.filter) {
253
267
  this.inputElement.value = this.getValue();
254
268
  }
255
- else {
256
- this.inputElement.value = selection.length > 0 ? selection[0].label : '';
257
- }
258
269
  return selection;
259
270
  }
260
271
  /**
@@ -379,7 +390,7 @@ const TdsDropdown = class {
379
390
  render() {
380
391
  var _a, _b, _c, _d;
381
392
  appendHiddenInput(this.host, this.name, (_a = this.value) === null || _a === void 0 ? void 0 : _a.map((value) => value).toString(), this.disabled);
382
- return (h(Host, { key: '06fa1683eca585c19d2724d5743b29d0fcc8c6fe', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '19927d524a22726438add8cf4d8511c80a16f2f5', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
393
+ return (h(Host, { key: '75d4f203d87f8ecd1b79c859f72f7377888254af', role: "select", class: `${this.modeVariant ? `tds-mode-variant-${this.modeVariant}` : ''}` }, this.label && this.labelPosition === 'outside' && (h("div", { class: `label-outside ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '4595633d41ca7a108e345370b8e53bbf4a81380a', class: `dropdown-select ${this.size} ${this.disabled ? 'disabled' : ''}` }, this.filter ? (h("div", { class: {
383
394
  filter: true,
384
395
  focus: this.filterFocus,
385
396
  disabled: this.disabled,
@@ -390,7 +401,7 @@ const TdsDropdown = class {
390
401
  ${((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) ? 'selected' : ''}
391
402
  ` }, this.label)), h("input", {
392
403
  // eslint-disable-next-line no-return-assign
393
- ref: (element) => (this.inputElement = element), class: `${this.labelPosition === 'inside' ? 'placeholder' : ''}`, type: "text", placeholder: this.placeholder, value: this.getValue(), disabled: this.disabled, onInput: (event) => this.handleFilter(event), onBlur: (event) => {
404
+ 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) => {
394
405
  this.filterFocus = false;
395
406
  this.handleBlur(event);
396
407
  }, onFocus: (event) => {
@@ -402,14 +413,7 @@ const TdsDropdown = class {
402
413
  this.open = false;
403
414
  }
404
415
  }
405
- })), h("tds-icon", { onClick: () => {
406
- this.open = !this.open;
407
- if (this.open) {
408
- this.inputElement.focus();
409
- }
410
- }, class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { onClick: () => {
411
- this.open = !this.open;
412
- }, onKeyDown: (event) => {
416
+ })), h("tds-icon", { onClick: this.handleToggleOpen, class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))) : (h("button", { onClick: () => this.handleToggleOpen(), onKeyDown: (event) => {
413
417
  if (event.key === 'Escape') {
414
418
  this.open = false;
415
419
  }
@@ -421,11 +425,11 @@ const TdsDropdown = class {
421
425
  label-inside-as-placeholder
422
426
  ${this.size}
423
427
  ${((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) ? 'selected' : ''}
424
- ` }, 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", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: '7c694f450e7aa381b0a44ccc048c98e1f1c634d9', ref: (element) => (this.dropdownList = element), class: `dropdown-list
428
+ ` }, 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", { class: `${this.open ? 'open' : 'closed'}`, name: "chevron_down", size: "16px" }))))), h("div", { key: 'dea4c89cf74b5a264e080d94332dccbc7cbd8c98', ref: (element) => (this.dropdownList = element), class: `dropdown-list
425
429
  ${this.size}
426
430
  ${this.open ? 'open' : 'closed'}
427
431
  ${this.getOpenDirection()}
428
- ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '68b15927fe222b77580aade9fce8ccd31fe91d62' }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { name: "error", size: "16px" }), this.helper))));
432
+ ${this.label && this.labelPosition === 'outside' ? 'label-outside' : ''}` }, h("slot", { key: '4fd5b25fe610dd65fd2ca3e74b50afc5cb8131d9' }), this.filterResult === 0 && this.noResultText !== '' && (h("div", { class: `no-result ${this.size}` }, this.noResultText))), this.helper && (h("div", { class: `helper ${this.error ? 'error' : ''} ${this.disabled ? 'disabled' : ''}` }, this.error && h("tds-icon", { name: "error", size: "16px" }), this.helper))));
429
433
  }
430
434
  get host() { return getElement(this); }
431
435
  static get watchers() { return {
@@ -38,7 +38,7 @@ const TdsHeaderDropdown = class {
38
38
  fallbackPlacements: [],
39
39
  },
40
40
  },
41
- ] }, h("slot", null))))));
41
+ ] }, this.open ? h("slot", null) : null)))));
42
42
  }
43
43
  get host() { return getElement(this); }
44
44
  };
@@ -50,7 +50,7 @@ const TdsHeaderLauncher = class {
50
50
  fallbackPlacements: [],
51
51
  },
52
52
  },
53
- ] }, h("slot", null))))));
53
+ ] }, this.open ? h("slot", null) : null)))));
54
54
  }
55
55
  get host() { return getElement(this); }
56
56
  };