@db-ux/wc-core-components 4.5.4-mcp-e4cd7e6 → 4.5.4-table-c758ae7

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 (221) hide show
  1. package/README.md +30 -0
  2. package/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
  3. package/dist/cjs/db-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/db-badge.cjs.entry.js +2 -2
  5. package/dist/cjs/db-brand.cjs.entry.js +2 -2
  6. package/dist/cjs/db-button.cjs.entry.js +2 -2
  7. package/dist/cjs/db-card.cjs.entry.js +3 -3
  8. package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
  9. package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
  10. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
  11. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
  12. package/dist/cjs/db-custom-select.cjs.entry.js +6 -6
  13. package/dist/cjs/db-divider.cjs.entry.js +2 -2
  14. package/dist/cjs/db-drawer.cjs.entry.js +4 -4
  15. package/dist/cjs/db-header.cjs.entry.js +3 -3
  16. package/dist/cjs/db-icon.cjs.entry.js +2 -2
  17. package/dist/cjs/db-infotext.cjs.entry.js +2 -2
  18. package/dist/cjs/db-link_4.cjs.entry.js +220 -0
  19. package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
  20. package/dist/cjs/db-navigation.cjs.entry.js +3 -3
  21. package/dist/cjs/db-notification.cjs.entry.js +3 -3
  22. package/dist/cjs/db-page.cjs.entry.js +3 -3
  23. package/dist/cjs/db-popover.cjs.entry.js +3 -3
  24. package/dist/cjs/db-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/db-section.cjs.entry.js +3 -3
  26. package/dist/cjs/db-select.cjs.entry.js +3 -3
  27. package/dist/cjs/db-stack.cjs.entry.js +3 -3
  28. package/dist/cjs/db-switch.cjs.entry.js +3 -3
  29. package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
  30. package/dist/cjs/db-table-body_3.cjs.entry.js +173 -0
  31. package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +6 -7
  32. package/dist/cjs/db-table.cjs.entry.js +136 -0
  33. package/dist/cjs/db-tabs.cjs.entry.js +3 -3
  34. package/dist/cjs/db-textarea.cjs.entry.js +3 -3
  35. package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
  36. package/dist/cjs/db-ux.cjs.js +2 -2
  37. package/dist/cjs/{index-EqJP9Qyt.js → index-CSakRmZZ.js} +21 -0
  38. package/dist/cjs/index.cjs.js +20 -1
  39. package/dist/cjs/loader.cjs.js +2 -2
  40. package/dist/collection/collection-manifest.json +9 -1
  41. package/dist/collection/components/accordion/accordion.js +1 -1
  42. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  43. package/dist/collection/components/badge/badge.js +1 -1
  44. package/dist/collection/components/brand/brand.js +2 -2
  45. package/dist/collection/components/button/button.js +4 -4
  46. package/dist/collection/components/card/card.js +2 -2
  47. package/dist/collection/components/checkbox/checkbox.js +3 -3
  48. package/dist/collection/components/custom-button/custom-button.js +5 -5
  49. package/dist/collection/components/custom-select/custom-select.js +7 -7
  50. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  51. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  52. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  53. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -2
  54. package/dist/collection/components/divider/divider.js +1 -1
  55. package/dist/collection/components/drawer/drawer.js +3 -3
  56. package/dist/collection/components/header/header.js +2 -2
  57. package/dist/collection/components/icon/icon.js +2 -2
  58. package/dist/collection/components/infotext/infotext.js +2 -2
  59. package/dist/collection/components/input/input.js +6 -6
  60. package/dist/collection/components/link/link.js +1 -1
  61. package/dist/collection/components/navigation/navigation.js +2 -2
  62. package/dist/collection/components/navigation-item/navigation-item.js +2 -2
  63. package/dist/collection/components/notification/notification.js +3 -3
  64. package/dist/collection/components/page/page.js +2 -2
  65. package/dist/collection/components/popover/popover.js +2 -2
  66. package/dist/collection/components/radio/radio.js +1 -1
  67. package/dist/collection/components/section/section.js +2 -2
  68. package/dist/collection/components/select/select.js +4 -4
  69. package/dist/collection/components/stack/stack.js +2 -2
  70. package/dist/collection/components/switch/switch.js +6 -6
  71. package/dist/collection/components/tab-item/tab-item.js +5 -5
  72. package/dist/collection/components/tab-list/tab-list.js +2 -2
  73. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  74. package/dist/collection/components/table/examples/data.js +258 -0
  75. package/dist/collection/components/table/index.js +2 -0
  76. package/dist/collection/components/table/model.js +6 -0
  77. package/dist/collection/components/table/table.js +456 -0
  78. package/dist/collection/components/table-body/index.js +2 -0
  79. package/dist/collection/components/table-body/model.js +1 -0
  80. package/dist/collection/components/table-body/table-body.js +137 -0
  81. package/dist/collection/components/table-caption/index.js +2 -0
  82. package/dist/collection/components/table-caption/model.js +1 -0
  83. package/dist/collection/components/table-caption/table-caption.js +109 -0
  84. package/dist/collection/components/table-data-cell/index.js +2 -0
  85. package/dist/collection/components/table-data-cell/model.js +1 -0
  86. package/dist/collection/components/table-data-cell/table-data-cell.js +291 -0
  87. package/dist/collection/components/table-footer/index.js +2 -0
  88. package/dist/collection/components/table-footer/model.js +1 -0
  89. package/dist/collection/components/table-footer/table-footer.js +137 -0
  90. package/dist/collection/components/table-head/index.js +2 -0
  91. package/dist/collection/components/table-head/model.js +1 -0
  92. package/dist/collection/components/table-head/table-head.js +140 -0
  93. package/dist/collection/components/table-header-cell/index.js +2 -0
  94. package/dist/collection/components/table-header-cell/model.js +1 -0
  95. package/dist/collection/components/table-header-cell/table-header-cell.js +369 -0
  96. package/dist/collection/components/table-row/index.js +2 -0
  97. package/dist/collection/components/table-row/model.js +1 -0
  98. package/dist/collection/components/table-row/table-row.js +195 -0
  99. package/dist/collection/components/tabs/tabs.js +2 -2
  100. package/dist/collection/components/tag/tag.js +3 -3
  101. package/dist/collection/components/textarea/textarea.js +3 -3
  102. package/dist/collection/components/tooltip/tooltip.js +2 -2
  103. package/dist/collection/index.js +16 -0
  104. package/dist/collection/shared/model.js +1 -1
  105. package/dist/custom-elements.json +5671 -2660
  106. package/dist/db-ux/db-ux.esm.js +1 -1
  107. package/dist/db-ux/index.esm.js +1 -1
  108. package/dist/db-ux/{p-cdef6789.entry.js → p-003f3468.entry.js} +1 -1
  109. package/dist/db-ux/{p-516c3f64.entry.js → p-0055d6ce.entry.js} +1 -1
  110. package/dist/db-ux/{p-c7d1bee4.entry.js → p-032487d0.entry.js} +1 -1
  111. package/dist/db-ux/{p-83e69c0e.entry.js → p-10acdb01.entry.js} +1 -1
  112. package/dist/db-ux/{p-3ca07f53.entry.js → p-150c4aeb.entry.js} +1 -1
  113. package/dist/db-ux/{p-72d1ea3b.entry.js → p-19fe0672.entry.js} +1 -1
  114. package/dist/db-ux/p-2cdc1311.entry.js +1 -0
  115. package/dist/db-ux/p-33ca6422.entry.js +1 -0
  116. package/dist/db-ux/p-42e61221.entry.js +1 -0
  117. package/dist/db-ux/{p-fdbf8d91.entry.js → p-47bd992d.entry.js} +1 -1
  118. package/dist/db-ux/{p-fc9fb7cd.entry.js → p-50a16969.entry.js} +1 -1
  119. package/dist/db-ux/{p-aad2d524.entry.js → p-54d2e18d.entry.js} +1 -1
  120. package/dist/db-ux/{p-b99e76fd.entry.js → p-5e4de899.entry.js} +1 -1
  121. package/dist/db-ux/p-68a1d35a.entry.js +1 -0
  122. package/dist/db-ux/{p-56da8875.entry.js → p-6b87f6f1.entry.js} +1 -1
  123. package/dist/db-ux/{p-19ae6336.entry.js → p-7387346c.entry.js} +1 -1
  124. package/dist/db-ux/p-75005663.entry.js +1 -0
  125. package/dist/db-ux/{p-7f6fae6f.entry.js → p-77ee580e.entry.js} +1 -1
  126. package/dist/db-ux/{p-669fe992.entry.js → p-7da51a4c.entry.js} +1 -1
  127. package/dist/db-ux/p-7f2eaa8b.entry.js +1 -0
  128. package/dist/db-ux/{p-bd1b0142.entry.js → p-823a7488.entry.js} +1 -1
  129. package/dist/db-ux/p-8826c7fc.entry.js +1 -0
  130. package/dist/db-ux/{p-a0f6fc10.entry.js → p-8baf5ea2.entry.js} +1 -1
  131. package/dist/db-ux/{p-4f519859.entry.js → p-8f76eea7.entry.js} +1 -1
  132. package/dist/db-ux/p-97f5d48e.entry.js +1 -0
  133. package/dist/db-ux/p-LpjjuLKB.js +2 -0
  134. package/dist/db-ux/p-a8368ed2.entry.js +1 -0
  135. package/dist/db-ux/p-c0b8571d.entry.js +1 -0
  136. package/dist/db-ux/p-d20bd873.entry.js +1 -0
  137. package/dist/db-ux/{p-4a0870fa.entry.js → p-d603dcc4.entry.js} +1 -1
  138. package/dist/db-ux/{p-2c30a356.entry.js → p-dbdfc04a.entry.js} +1 -1
  139. package/dist/db-ux/{p-df2b1979.entry.js → p-e3279b61.entry.js} +1 -1
  140. package/dist/db-ux/{p-a726cd18.entry.js → p-e367150f.entry.js} +1 -1
  141. package/dist/db-ux/{p-f49ed233.entry.js → p-e9058123.entry.js} +1 -1
  142. package/dist/db-ux/p-e9142fec.entry.js +1 -0
  143. package/dist/esm/db-accordion-item.entry.js +3 -3
  144. package/dist/esm/db-accordion.entry.js +2 -2
  145. package/dist/esm/db-badge.entry.js +2 -2
  146. package/dist/esm/db-brand.entry.js +2 -2
  147. package/dist/esm/db-button.entry.js +2 -2
  148. package/dist/esm/db-card.entry.js +3 -3
  149. package/dist/esm/db-checkbox.entry.js +3 -3
  150. package/dist/esm/db-custom-button.entry.js +3 -3
  151. package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
  152. package/dist/esm/db-custom-select-form-field.entry.js +3 -3
  153. package/dist/esm/db-custom-select.entry.js +6 -6
  154. package/dist/esm/db-divider.entry.js +2 -2
  155. package/dist/esm/db-drawer.entry.js +4 -4
  156. package/dist/esm/db-header.entry.js +3 -3
  157. package/dist/esm/db-icon.entry.js +2 -2
  158. package/dist/esm/db-infotext.entry.js +2 -2
  159. package/dist/esm/db-link_4.entry.js +215 -0
  160. package/dist/esm/db-navigation-item.entry.js +2 -2
  161. package/dist/esm/db-navigation.entry.js +3 -3
  162. package/dist/esm/db-notification.entry.js +3 -3
  163. package/dist/esm/db-page.entry.js +3 -3
  164. package/dist/esm/db-popover.entry.js +3 -3
  165. package/dist/esm/db-radio.entry.js +2 -2
  166. package/dist/esm/db-section.entry.js +3 -3
  167. package/dist/esm/db-select.entry.js +3 -3
  168. package/dist/esm/db-stack.entry.js +3 -3
  169. package/dist/esm/db-switch.entry.js +3 -3
  170. package/dist/esm/db-tab-item_3.entry.js +7 -7
  171. package/dist/esm/db-table-body_3.entry.js +169 -0
  172. package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +7 -8
  173. package/dist/esm/db-table.entry.js +134 -0
  174. package/dist/esm/db-tabs.entry.js +3 -3
  175. package/dist/esm/db-textarea.entry.js +3 -3
  176. package/dist/esm/db-tooltip.entry.js +3 -3
  177. package/dist/esm/db-ux.js +3 -3
  178. package/dist/esm/{index-kHKR5QG5.js → index-LpjjuLKB.js} +21 -0
  179. package/dist/esm/index.js +13 -2
  180. package/dist/esm/loader.js +3 -3
  181. package/dist/types/components/table/examples/data.d.ts +9 -0
  182. package/dist/types/components/table/index.d.ts +2 -0
  183. package/dist/types/components/table/model.d.ts +74 -0
  184. package/dist/types/components/table/table.d.ts +37 -0
  185. package/dist/types/components/table-body/index.d.ts +2 -0
  186. package/dist/types/components/table-body/model.d.ts +8 -0
  187. package/dist/types/components/table-body/table-body.d.ts +19 -0
  188. package/dist/types/components/table-caption/index.d.ts +2 -0
  189. package/dist/types/components/table-caption/model.d.ts +5 -0
  190. package/dist/types/components/table-caption/table-caption.d.ts +18 -0
  191. package/dist/types/components/table-data-cell/index.d.ts +2 -0
  192. package/dist/types/components/table-data-cell/model.d.ts +5 -0
  193. package/dist/types/components/table-data-cell/table-data-cell.d.ts +25 -0
  194. package/dist/types/components/table-footer/index.d.ts +2 -0
  195. package/dist/types/components/table-footer/model.d.ts +8 -0
  196. package/dist/types/components/table-footer/table-footer.d.ts +19 -0
  197. package/dist/types/components/table-head/index.d.ts +2 -0
  198. package/dist/types/components/table-head/model.d.ts +10 -0
  199. package/dist/types/components/table-head/table-head.d.ts +58 -0
  200. package/dist/types/components/table-header-cell/index.d.ts +2 -0
  201. package/dist/types/components/table-header-cell/model.d.ts +24 -0
  202. package/dist/types/components/table-header-cell/table-header-cell.d.ts +28 -0
  203. package/dist/types/components/table-row/index.d.ts +2 -0
  204. package/dist/types/components/table-row/model.d.ts +30 -0
  205. package/dist/types/components/table-row/table-row.d.ts +23 -0
  206. package/dist/types/components.d.ts +278 -0
  207. package/dist/types/index.d.ts +16 -0
  208. package/dist/types/shared/model.d.ts +42 -2
  209. package/dist/vscode.html-custom-data.json +400 -2
  210. package/dist/web-types.json +692 -4
  211. package/package.json +3 -3
  212. package/dist/db-ux/p-05e9aa2e.entry.js +0 -1
  213. package/dist/db-ux/p-2ed98454.entry.js +0 -1
  214. package/dist/db-ux/p-33443732.entry.js +0 -1
  215. package/dist/db-ux/p-58c6c29d.entry.js +0 -1
  216. package/dist/db-ux/p-85897212.entry.js +0 -1
  217. package/dist/db-ux/p-8a521b05.entry.js +0 -1
  218. package/dist/db-ux/p-974fbc69.entry.js +0 -1
  219. package/dist/db-ux/p-a3aef74b.entry.js +0 -1
  220. package/dist/db-ux/p-cb093137.entry.js +0 -1
  221. package/dist/db-ux/p-kHKR5QG5.js +0 -2
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, c as createEvent } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h, c as createEvent } from './index-LpjjuLKB.js';
2
2
  import { c as cls, e as getBoolean, g as getBooleanAsString, h as hasVoiceOver, d as delay, s as stringPropVisible, i as isArrayOfStrings, u as uuid, k as getInputValue, f as getNumber, j as getStep, b as isIOSSafari, l as getHideProp } from './index-xkoBSP8R.js';
3
3
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, j as DEFAULT_DATALIST_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, b as DEFAULT_PLACEHOLDER, a as DEFAULT_LABEL, m as DEFAULT_REMOVE } from './constants-BdL-nI5y.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -49,9 +49,9 @@ const DBCustomSelectDropdown = class {
49
49
  }
50
50
  render() {
51
51
  var _a, _b;
52
- return (h("article", { key: '978958659b0f3b0fbdc011abfb079086ca90a6d5', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
52
+ return (h("article", { key: 'dd5b59d388af601d7d6343c58ff5f4ea84029f4d', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
53
53
  this._ref = el;
54
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '21a6a67f222cb5eaf262ad4f3bd8cde81e4ba5c0' })));
54
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '9ae27e00da4d9e4d62b8f2ea6a6623c3f2bd94ff' })));
55
55
  }
56
56
  };
57
57
 
@@ -100,9 +100,9 @@ const DBCustomSelectList = class {
100
100
  }
101
101
  render() {
102
102
  var _a, _b;
103
- return (h("div", { key: '3c005a8e6605f176226e1eed81c47737498f1d05', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
103
+ return (h("div", { key: 'a273a5117d97899bb88d3bc4f6299145f0526acc', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
104
104
  this._ref = el;
105
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '59887c5fe0d8e6c3b136e88ee4d8f1f26c580f5b' }, h("slot", { key: '29916aa86adbc98a874f5cee71cf056c705b5f62' }))));
105
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '23689f0147b24a435bee675f7aa9d04b496a869c' }, h("slot", { key: '3a1a8b39438d4bdbf54746d8aad7b098463492dd' }))));
106
106
  }
107
107
  };
108
108
 
@@ -172,7 +172,7 @@ const DBCustomSelectListItem = class {
172
172
  }
173
173
  render() {
174
174
  var _a, _b;
175
- return (h("li", { key: '439f87691065d7cf9e8742c3f5aa1ded7f5ac422', class: cls("db-custom-select-list-item", this.className, {
175
+ return (h("li", { key: 'f73b11d8f2a54a6162881243ce1abb123324854a', class: cls("db-custom-select-list-item", this.className, {
176
176
  "db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
177
177
  "db-radio": this.type !== "checkbox" && !this.isGroupTitle,
178
178
  }), ref: (el) => {
@@ -401,7 +401,7 @@ const DBInput = class {
401
401
  }
402
402
  render() {
403
403
  var _a, _b, _c, _d, _e, _f, _g, _h;
404
- return (h("div", { key: '11019c4d0b1eee6662b27c5a3ac9553e0abf846d', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: '0f9044b91e5787d32846d279571359c5d057e1a6', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: 'dfac37e9f7115c015f61ea7db1ac28776a68706e', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
404
+ return (h("div", { key: '8428432d6868dfcdd175afdba5ec578cc7a5907e', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: 'ab2b928b55fa23b44ccd1e105df6526cb28c5a59', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: '5a96f42d40d84bd2c68c2cb372bb13a6aedb68ec', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
405
405
  this._ref = el;
406
406
  }, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step: getStep(this.step), value: (_e = this.value) !== null && _e !== void 0 ? _e : this._value, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), max: getInputValue(this.max, this.type), min: getInputValue(this.min, this.type), readOnly: getBoolean(this.readOnly, "readOnly") ||
407
407
  getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_f = this.ariaDescribedBy) !== null && _f !== void 0 ? _f : this._descByIds, role: [
@@ -413,7 +413,7 @@ const DBInput = class {
413
413
  "color",
414
414
  ].includes((_g = this.type) !== null && _g !== void 0 ? _g : "") && isIOSSafari()
415
415
  ? "textbox"
416
- : undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '24e1c8d5ba95fa035c2fbeba5881776e7b8310f0' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '8c339f6481cf16148115bc8333023b93160f703f', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '1d9bfaf96452dd8487a6e10ada99aec33f6b5e52', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
416
+ : undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: 'a9864f0eff35318a71592ffefe01e6da913a30fb' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '7c4b23fb44d7f642c9de2af0e12200a47df7719c', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '180dca64e01ada5d0d3099cc14bde0d7307fe28f', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
417
417
  }
418
418
  static get watchers() { return {
419
419
  "id": [{
@@ -500,9 +500,9 @@ const DBTag = class {
500
500
  }
501
501
  render() {
502
502
  var _a, _b, _c;
503
- return (h("div", { key: '61faefa2e89ddb597fcca3cb12f7d31c337e556a', class: cls("db-tag", this.className), ref: (el) => {
503
+ return (h("div", { key: '583c02d8f144b9e612028139c9d3d4304d70b04b', class: cls("db-tag", this.className), ref: (el) => {
504
504
  this._ref = el;
505
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: 'e5650c1151f1e86f51138c5e8b292e780bf7544b', name: "content" }), h("slot", { key: 'e4023db11c7b59964b4df105eb3af969ba3d558a' }), this.text ? this.text : null, this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
505
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: 'bd1257262f6caf86b6d2bfa20e7a7a92b6ec45c9', name: "content" }), h("slot", { key: 'e0badd3ef18dcff2680453739958d3f5211b64b8' }), this.text ? this.text : null, this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
506
506
  }
507
507
  };
508
508
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBCustomSelectFormField = class {
@@ -46,9 +46,9 @@ const DBCustomSelectFormField = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("summary", { key: '960e6eb6b0f7f46884e26a820f3ae38e13d57f33', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
49
+ return (h("summary", { key: '76aa8c30e636d11faf08ea79fd8e55d162a6c224', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
50
50
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'e109b45a0935d878434ae5e330d55fdab7fb438d' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '829025ec61e9b2b4891e9289f0292261a43aff0a' })));
52
52
  }
53
53
  };
54
54
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-LpjjuLKB.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, a as DEFAULT_LABEL, m as DEFAULT_REMOVE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, e as DEFAULT_SELECT_ID_SUFFIX, d as DEFAULT_LABEL_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, o as DEFAULT_SELECTED, k as DEFAULT_VALID_MESSAGE, c as DEFAULT_MESSAGE, s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, m as getSearchInput, u as uuid, g as getBooleanAsString, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { D as DocumentClickListener } from './document-click-listener-D7W_VE5O.js';
@@ -792,19 +792,19 @@ const DBCustomSelect = class {
792
792
  }
793
793
  render() {
794
794
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
795
- return (h("div", { key: '04344ea736f4311c09459970f6c743516c0a45ba', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
795
+ return (h("div", { key: 'adc424fa6a3f8653e88e5f5db601a8661da73994', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
796
796
  this._ref = el;
797
797
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
798
798
  this.selectedType === "tag" &&
799
799
  this.multiple
800
800
  ? "above"
801
- : this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'ed856ad29b0f840ebe37c8edf275267efc780f2c', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '093be2cd13041a45a95664e083125f5e4e8c2689', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
801
+ : this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'fecde7273841b8365690a6b1e0de407107f0765f', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: 'c6498a15a6c57bfdd46cc9624d42de5ebe78c0cc', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
802
802
  this.selectRef = el;
803
803
  }, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
804
804
  ? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
805
- : null)), h("details", { key: 'e0617c55fb94a72432719b485d922d87cca58d40', ref: (el) => {
805
+ : null)), h("details", { key: 'ea5eecf0c0a3285921c191c81710947c3ab14cab', ref: (el) => {
806
806
  this.detailsRef = el;
807
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '4a4754177ce637816734d8e195d1d34b0e4a9707' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
807
+ }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '52d3c600ec77ad908deb69b1b57b089f05579aa5' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
808
808
  this.searchInputRef = el;
809
809
  }, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
810
810
  ? this._infoTextId
@@ -814,7 +814,7 @@ const DBCustomSelect = class {
814
814
  this.selectAllRef = el;
815
815
  }, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
816
816
  ? this.getOptionLabel(option)
817
- : null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: 'ea3f5751609a4383f9d381cfbc7947a4b0192880', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'd8733256a74ba4876d4080a27798f01264d6472d', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '4ca046467d7da79ac48f0e1dddf2712ef2a93074', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
817
+ : null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '312797b7c41d57e43821cbaecaf6f82be6dc6239', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'c4f623a9e3c3ed61054960db586b0589873235fe', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '69f9c8fe36de328caed05e820faec5a76bdae6d2', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
818
818
  }
819
819
  static get watchers() { return {
820
820
  "id": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBDivider = class {
@@ -46,7 +46,7 @@ const DBDivider = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("div", { key: '5773c14fcdd05f7e4b7b73af32c779133ac1b65b', class: cls("db-divider", this.className), ref: (el) => {
49
+ return (h("div", { key: '40f582795805c0f3bd32ffba379049ba0a1140f6', class: cls("db-divider", this.className), ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
52
52
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-LpjjuLKB.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -133,11 +133,11 @@ const DBDrawer = class {
133
133
  }
134
134
  render() {
135
135
  var _a, _b, _c;
136
- return (h("dialog", { key: '5980a60cbe0d46868a4a65d853551a25159523f0', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
136
+ return (h("dialog", { key: 'c2796bb6f012c8f9824c6202e2e5e3defe3805a5', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
137
137
  this._ref = el;
138
- }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '305ff89261e63e2dbe0640fc9be97b330a4b94cf', class: cls("db-drawer-container", this.className), ref: (el) => {
138
+ }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '2e5ef8d5226f3f28a5aa5e8f988d05b2499e7821', class: cls("db-drawer-container", this.className), ref: (el) => {
139
139
  this.dialogContainerRef = el;
140
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'fe07654ff3c238c6a0eb2f73ff5f8a035ff9232c', class: "db-drawer-header" }, h("div", { key: '56eff8cf0d755c027bf72e2319e7897ed3b4b51c', class: "db-drawer-header-text" }, h("slot", { key: 'ff8378e26a292c20991899764a927aadd5b35ac8', name: "drawerHeader" })), h("db-button", { key: '5300a384462ceb1ac7ac9272bed2ee34f426ccf2', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: '681bd3593f743539104398e0dbb6628abdd8ae2c', class: "db-drawer-content" }, h("slot", { key: 'ad9f204d5f0b6b44fec8bfc49f8aa361cbb155d7' })))));
140
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'b33353ca17228c7bcebe90dbc56f551024b3fe0a', class: "db-drawer-header" }, h("div", { key: '37bcf6a7c21eadc37152f2c3a69566c5d34ab864', class: "db-drawer-header-text" }, h("slot", { key: 'ac39f65966a07323e520f92475e731d048a004ee', name: "drawerHeader" })), h("db-button", { key: 'dd5f587ad603796a3743652ebfdd040cb782cc9c', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: '6bdf59f204628f244c9d1114dfed96c6ff05dbdc', class: "db-drawer-content" }, h("slot", { key: 'bded85dab209599b6159a516d8a2d66a39051452' })))));
141
141
  }
142
142
  static get watchers() { return {
143
143
  "open": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-LpjjuLKB.js';
2
2
  import { p as DEFAULT_BURGER_MENU } from './constants-BdL-nI5y.js';
3
3
  import { a as addAttributeToChildren, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
4
4
  import { i as isEventTargetNavigationItem } from './navigation-Jh6m0eMk.js';
@@ -82,9 +82,9 @@ const DBHeader = class {
82
82
  }
83
83
  render() {
84
84
  var _a, _b, _c;
85
- return (h("header", { key: 'b5085e769fbc61e94b0ae0e1cca91db441efc1a5', class: cls("db-header", this.className), ref: (el) => {
85
+ return (h("header", { key: '8e54210db9b89732d6405bbe8bcdbfe1151b9731', class: cls("db-header", this.className), ref: (el) => {
86
86
  this._ref = el;
87
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'a47facce9c8108126495c77d37a487cd34fe0ecb', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: 'cda6c2d0070ce377af2bd5ca4b77459a94350df5', class: "db-header-drawer-navigation" }, h("div", { key: '15713a6e12680039ca79f27ec4a1000b120af4fd', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: 'e553fe01864f6a23e12edb336ddfabae78ca4f74' })), h("div", { key: '73339268263f22638ce7e7cde00369f58a279d62', class: "db-header-meta-navigation" }, h("slot", { key: 'deffe76713c7ad062821f83a34ad1c0530acff6c', name: "metaNavigation" }))), h("div", { key: '42f61529aa00d9422cac6c8d5ae2588d0eb4760d', class: "db-header-secondary-action" }, h("slot", { key: '3273017c0520401367809b3e39e1d642b92bec50', name: "secondaryAction" }))), h("div", { key: '26b07d2244c291b78daa6dd2bc39ce2ee93d8674', class: "db-header-meta-navigation" }, h("slot", { key: '4adfd5ac044acbb161a26e9e033a1483991842c6', name: "metaNavigation" })), h("div", { key: '6a9709c60965315e7ecffb41ea4aac8caf986086', class: "db-header-navigation-bar" }, h("div", { key: '6eca84e588432ec968d4aed685d0dda4053b08a9', class: "db-header-brand-container" }, h("slot", { key: 'c034633ed87c6c554621e275b6d98d1d1628265c', name: "brand" })), h("div", { key: '04766e92142de2cd49a08711e7ad627b0cef14bd', class: "db-header-navigation-container" }, h("div", { key: 'fa4a5f6deab5edf3e1acf6e67d73ce06e638ae02', class: "db-header-navigation" }, h("slot", { key: '192fbdd2773ab46f2e4800d919a2ace97c9f5ef2' })), h("div", { key: '3bf503b08a862dbca679c198916da4be7228c528', class: "db-header-primary-action" }, h("slot", { key: '2ab7194da0568d92c85d47ecbf4e34aa4a734d00', name: "primaryAction" }))), h("div", { key: 'f45dbbf3346e8bf533a4af7c82e754fe0a679082', class: "db-header-action-container" }, h("div", { key: '7dfcd81988888a0595b94e15ba963abcfb1200ea', class: "db-header-burger-menu-container" }, h("db-button", { key: '52e71ba370d564b8739966643adf2ccce5e48bcb', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '54cf3d9d67d7be42f6b06227100abb337deb396d', class: "db-header-secondary-action" }, h("slot", { key: 'fc0a9946c1fd478c57e73f4c3b5b6ae0600101b8', name: "secondaryAction" }))))));
87
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'ce22e304d9c36200d421aee13ff70316fdba442f', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '908307e3c05e5ca675112a6e3c87b1e4d7fed751', class: "db-header-drawer-navigation" }, h("div", { key: 'da6c85a149b09733bab2e51fed341b16282577a1', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: 'f0092c3f841c796acc940c70772731964b2f44c0' })), h("div", { key: '7afc8e437343327f5707f45be0a2fd5e03e58a29', class: "db-header-meta-navigation" }, h("slot", { key: '08a7c6500bd59a860242ebe17b71fdc3cc303b33', name: "metaNavigation" }))), h("div", { key: '2e49cc794f28e3d25c2bcdd5d7e857ade2127e11', class: "db-header-secondary-action" }, h("slot", { key: '7877c1166d58fc228236d1279720cfc16c496b72', name: "secondaryAction" }))), h("div", { key: '9b2c8ad3b231d6b98b72dd10c7d6961770c203e6', class: "db-header-meta-navigation" }, h("slot", { key: 'd8a56e3c478fc665aebd6e450cf84a3bb319f73a', name: "metaNavigation" })), h("div", { key: '3ea89f132a57326a968a9d9def0077aa6e9124c7', class: "db-header-navigation-bar" }, h("div", { key: '5f24251272645917aec75d4a4eed962bb93bf72f', class: "db-header-brand-container" }, h("slot", { key: '0f484f8b46d50841d081ffcd859a5eacedd021b3', name: "brand" })), h("div", { key: '05e28c8261c3957f27e72ef79e184261035f0954', class: "db-header-navigation-container" }, h("div", { key: 'bf013bb85f2cd6bee2544237c6888325ba14ab1a', class: "db-header-navigation" }, h("slot", { key: '9fad72ee7f7be86eb8c3ff58b8d1351e7def044e' })), h("div", { key: 'b859a359c3a9f579b3dd57b74cc0c28d1d2f8f99', class: "db-header-primary-action" }, h("slot", { key: '25382acb1f778a4f2064c27219c41a3da4238007', name: "primaryAction" }))), h("div", { key: 'beccb5ee836518231ca9d99daa2d6a1a881ce3b9', class: "db-header-action-container" }, h("div", { key: 'fa85b7a06a88ef94746974734083ad92d7e0a7d0', class: "db-header-burger-menu-container" }, h("db-button", { key: 'b7c80b7e1e2ebe798f7815236444280a672338d4', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '1bb4dd0e6bf32dd922e4eb28ffb2b632637a1be7', class: "db-header-secondary-action" }, h("slot", { key: '42fd8c627f309e901ca8d07442a5a1c5f8776288', name: "secondaryAction" }))))));
88
88
  }
89
89
  static get watchers() { return {
90
90
  "initialized": [{
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBIcon = class {
@@ -46,7 +46,7 @@ const DBIcon = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("span", { key: '3bef98de9ca12c66f7cce8e11eaa5d895a8d6750', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
49
+ return (h("span", { key: 'bbb6c25057c2d14ce8aa9c4b9e98451e7592ac9b', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : h("slot", null)));
52
52
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBInfotext = class {
@@ -46,7 +46,7 @@ const DBInfotext = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b, _c;
49
- return (h("span", { key: '49219bd5f07042ba66ee28e86aed0536e0f776eb', class: cls("db-infotext", this.className), ref: (el) => {
49
+ return (h("span", { key: '2e7fc7ada2ff751ab1b3e31bd19dc4f3dc0db63d', class: cls("db-infotext", this.className), ref: (el) => {
50
50
  this._ref = el;
51
51
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : h("slot", null)));
52
52
  }
@@ -0,0 +1,215 @@
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
+ import { g as getBooleanAsString, c as cls, u as uuid, f as getNumber } from './index-xkoBSP8R.js';
3
+
4
+ const DBLink = class {
5
+ constructor(hostRef) {
6
+ registerInstance(this, hostRef);
7
+ }
8
+ /**
9
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
10
+ * @param element the ref for the component
11
+ * @param customElementSelector the custom element like `my-component`
12
+ */
13
+ enableAttributePassing(element, customElementSelector) {
14
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
15
+ if (element && parent) {
16
+ const attributes = parent.attributes;
17
+ for (let i = 0; i < attributes.length; i++) {
18
+ const attr = attributes.item(i);
19
+ if (attr && attr.name !== 'data-density' &&
20
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
21
+ element.setAttribute(attr.name, attr.value);
22
+ parent.removeAttribute(attr.name);
23
+ }
24
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
25
+ element.setAttribute(attr.name, attr.value);
26
+ parent.removeAttribute(attr.name);
27
+ }
28
+ else if (attr && attr.name === "class") {
29
+ const isWebComponent = attr.value.includes("hydrated");
30
+ const value = attr.value.replace("hydrated", "").trim();
31
+ const currentClass = element.getAttribute("class");
32
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
33
+ if (isWebComponent) {
34
+ // Stencil is using this class for lazy loading component
35
+ parent.setAttribute("class", "hydrated");
36
+ }
37
+ else {
38
+ parent.removeAttribute(attr.name);
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ componentDidLoad() {
45
+ this.enableAttributePassing(this._ref, "db-link");
46
+ }
47
+ render() {
48
+ var _a, _b, _c, _d;
49
+ return (h("a", { key: '9cecd89fae35481cbc053fd253fc75140f8e57a1', class: cls("db-link", this.className), ref: (el) => {
50
+ this._ref = el;
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : h("slot", null)));
52
+ }
53
+ };
54
+
55
+ const DBTableRow = class {
56
+ constructor(hostRef) {
57
+ registerInstance(this, hostRef);
58
+ }
59
+ getHeaderCell(cell) {
60
+ if (cell.headerCell) {
61
+ return cell;
62
+ }
63
+ return undefined;
64
+ }
65
+ /**
66
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
67
+ * @param element the ref for the component
68
+ * @param customElementSelector the custom element like `my-component`
69
+ */
70
+ enableAttributePassing(element, customElementSelector) {
71
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
72
+ if (element && parent) {
73
+ const attributes = parent.attributes;
74
+ for (let i = 0; i < attributes.length; i++) {
75
+ const attr = attributes.item(i);
76
+ if (attr && attr.name !== 'data-density' &&
77
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
78
+ element.setAttribute(attr.name, attr.value);
79
+ parent.removeAttribute(attr.name);
80
+ }
81
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
82
+ element.setAttribute(attr.name, attr.value);
83
+ parent.removeAttribute(attr.name);
84
+ }
85
+ else if (attr && attr.name === "class") {
86
+ const isWebComponent = attr.value.includes("hydrated");
87
+ const value = attr.value.replace("hydrated", "").trim();
88
+ const currentClass = element.getAttribute("class");
89
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
90
+ if (isWebComponent) {
91
+ // Stencil is using this class for lazy loading component
92
+ parent.setAttribute("class", "hydrated");
93
+ }
94
+ else {
95
+ parent.removeAttribute(attr.name);
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ componentDidLoad() {
102
+ this.enableAttributePassing(this._ref, "db-table-row");
103
+ }
104
+ render() {
105
+ var _a;
106
+ return (h("tr", { key: '0826ccfb6e11937280649f6b59263676e8f5f668', class: cls("db-table-row", this.className), ref: (el) => {
107
+ this._ref = el;
108
+ }, id: this.id, "data-interactive": getBooleanAsString(this.interactive), "data-sub-header-emphasis": this.subHeaderEmphasis }, this.cells ? ((_a = this.cells) === null || _a === void 0 ? void 0 : _a.map((cell, index) => {
109
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20;
110
+ return cell.headerCell ? (h("db-table-header-cell", { class: (_a = cell.className) !== null && _a !== void 0 ? _a : cell.class, key: `${(_b = this.id) !== null && _b !== void 0 ? _b : uuid()}-table-row-header-cell-${index}`, id: cell.id, abbr: (_c = this.getHeaderCell(cell)) === null || _c === void 0 ? void 0 : _c.abbr, scope: (_d = this.getHeaderCell(cell)) === null || _d === void 0 ? void 0 : _d.scope, noText: (_e = this.getHeaderCell(cell)) === null || _e === void 0 ? void 0 : _e.noText, horizontalAlignment: cell.horizontalAlignment, verticalAlignment: cell.verticalAlignment, headers: cell.headers, colSpan: cell.colSpan, colspan: cell.colspan, rowSpan: cell.rowSpan, rowspan: cell.rowspan }, cell.link ? (h("db-link", { class: (_g = (_f = cell.link) === null || _f === void 0 ? void 0 : _f.className) !== null && _g !== void 0 ? _g : (_h = cell.link) === null || _h === void 0 ? void 0 : _h.class, content: (_j = cell.link) === null || _j === void 0 ? void 0 : _j.content, size: (_k = cell.link) === null || _k === void 0 ? void 0 : _k.size, variant: (_l = cell.link) === null || _l === void 0 ? void 0 : _l.variant, id: (_m = cell.link) === null || _m === void 0 ? void 0 : _m.id, autofocus: (_o = cell.link) === null || _o === void 0 ? void 0 : _o.autofocus, disabled: (_p = cell.link) === null || _p === void 0 ? void 0 : _p.disabled, href: (_q = cell.link) === null || _q === void 0 ? void 0 : _q.href, hreflang: (_r = cell.link) === null || _r === void 0 ? void 0 : _r.hreflang, target: (_s = cell.link) === null || _s === void 0 ? void 0 : _s.target, rel: (_t = cell.link) === null || _t === void 0 ? void 0 : _t.rel, referrerPolicy: (_u = cell.link) === null || _u === void 0 ? void 0 : _u.referrerPolicy, role: (_v = cell.link) === null || _v === void 0 ? void 0 : _v.role, showIcon: (_w = cell.link) === null || _w === void 0 ? void 0 : _w.showIcon, text: (_x = cell.link) === null || _x === void 0 ? void 0 : _x.text, wrap: (_y = cell.link) === null || _y === void 0 ? void 0 : _y.wrap }, (_z = cell.link) === null || _z === void 0 ? void 0 : _z.children)) : (cell.content))) : (h("db-table-data-cell", { class: (_0 = cell.className) !== null && _0 !== void 0 ? _0 : cell.class, key: `${(_1 = this.id) !== null && _1 !== void 0 ? _1 : uuid()}-table-row-data-cell-${index}`, id: cell.id, horizontalAlignment: cell.horizontalAlignment, verticalAlignment: cell.verticalAlignment, headers: cell.headers, colSpan: cell.colSpan, colspan: cell.colspan, rowSpan: cell.rowSpan, rowspan: cell.rowspan }, cell.link ? (h("db-link", { class: (_3 = (_2 = cell.link) === null || _2 === void 0 ? void 0 : _2.className) !== null && _3 !== void 0 ? _3 : (_4 = cell.link) === null || _4 === void 0 ? void 0 : _4.class, content: (_5 = cell.link) === null || _5 === void 0 ? void 0 : _5.content, size: (_6 = cell.link) === null || _6 === void 0 ? void 0 : _6.size, variant: (_7 = cell.link) === null || _7 === void 0 ? void 0 : _7.variant, id: (_8 = cell.link) === null || _8 === void 0 ? void 0 : _8.id, autofocus: (_9 = cell.link) === null || _9 === void 0 ? void 0 : _9.autofocus, disabled: (_10 = cell.link) === null || _10 === void 0 ? void 0 : _10.disabled, href: (_11 = cell.link) === null || _11 === void 0 ? void 0 : _11.href, hreflang: (_12 = cell.link) === null || _12 === void 0 ? void 0 : _12.hreflang, target: (_13 = cell.link) === null || _13 === void 0 ? void 0 : _13.target, rel: (_14 = cell.link) === null || _14 === void 0 ? void 0 : _14.rel, referrerPolicy: (_15 = cell.link) === null || _15 === void 0 ? void 0 : _15.referrerPolicy, role: (_16 = cell.link) === null || _16 === void 0 ? void 0 : _16.role, showIcon: (_17 = cell.link) === null || _17 === void 0 ? void 0 : _17.showIcon, text: (_18 = cell.link) === null || _18 === void 0 ? void 0 : _18.text, wrap: (_19 = cell.link) === null || _19 === void 0 ? void 0 : _19.wrap }, (_20 = cell.link) === null || _20 === void 0 ? void 0 : _20.children)) : (cell.content)));
111
+ })) : (h("slot", null))));
112
+ }
113
+ };
114
+
115
+ const DBTableHeaderCell = class {
116
+ constructor(hostRef) {
117
+ registerInstance(this, hostRef);
118
+ }
119
+ /**
120
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
121
+ * @param element the ref for the component
122
+ * @param customElementSelector the custom element like `my-component`
123
+ */
124
+ enableAttributePassing(element, customElementSelector) {
125
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
126
+ if (element && parent) {
127
+ const attributes = parent.attributes;
128
+ for (let i = 0; i < attributes.length; i++) {
129
+ const attr = attributes.item(i);
130
+ if (attr && attr.name !== 'data-density' &&
131
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
132
+ element.setAttribute(attr.name, attr.value);
133
+ parent.removeAttribute(attr.name);
134
+ }
135
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
136
+ element.setAttribute(attr.name, attr.value);
137
+ parent.removeAttribute(attr.name);
138
+ }
139
+ else if (attr && attr.name === "class") {
140
+ const isWebComponent = attr.value.includes("hydrated");
141
+ const value = attr.value.replace("hydrated", "").trim();
142
+ const currentClass = element.getAttribute("class");
143
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
144
+ if (isWebComponent) {
145
+ // Stencil is using this class for lazy loading component
146
+ parent.setAttribute("class", "hydrated");
147
+ }
148
+ else {
149
+ parent.removeAttribute(attr.name);
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ componentDidLoad() {
156
+ this.enableAttributePassing(this._ref, "db-table-header-cell");
157
+ }
158
+ render() {
159
+ return (h("th", { key: '8e4041b823d5a1e31e92992eb9233bc75e6f0db9', class: cls("db-table-header-cell", this.className), ref: (el) => {
160
+ this._ref = el;
161
+ }, id: this.id, "data-horizontal-alignment": this.horizontalAlignment, "data-vertical-alignment": this.verticalAlignment, "data-no-text": getBooleanAsString(this.noText), scope: this.scope, colSpan: getNumber(this.colSpan, this.colspan), rowSpan: getNumber(this.rowSpan, this.rowspan), headers: this.headers, abbr: this.abbr }, h("slot", { key: 'a78d87d22ead57dbb4a97175da963028fa603a39' })));
162
+ }
163
+ };
164
+
165
+ const DBTableDataCell = class {
166
+ constructor(hostRef) {
167
+ registerInstance(this, hostRef);
168
+ }
169
+ /**
170
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
171
+ * @param element the ref for the component
172
+ * @param customElementSelector the custom element like `my-component`
173
+ */
174
+ enableAttributePassing(element, customElementSelector) {
175
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
176
+ if (element && parent) {
177
+ const attributes = parent.attributes;
178
+ for (let i = 0; i < attributes.length; i++) {
179
+ const attr = attributes.item(i);
180
+ if (attr && attr.name !== 'data-density' &&
181
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
182
+ element.setAttribute(attr.name, attr.value);
183
+ parent.removeAttribute(attr.name);
184
+ }
185
+ else if (attr && attr.name !== 'data-density' && attr.name !== "class" && attr.name === "style") {
186
+ element.setAttribute(attr.name, attr.value);
187
+ parent.removeAttribute(attr.name);
188
+ }
189
+ else if (attr && attr.name === "class") {
190
+ const isWebComponent = attr.value.includes("hydrated");
191
+ const value = attr.value.replace("hydrated", "").trim();
192
+ const currentClass = element.getAttribute("class");
193
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
194
+ if (isWebComponent) {
195
+ // Stencil is using this class for lazy loading component
196
+ parent.setAttribute("class", "hydrated");
197
+ }
198
+ else {
199
+ parent.removeAttribute(attr.name);
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+ componentDidLoad() {
206
+ this.enableAttributePassing(this._ref, "db-table-data-cell");
207
+ }
208
+ render() {
209
+ return (h("td", { key: '8274250200fc80a6dd6df6d337b397930c665e18', class: cls("db-table-data-cell", this.className), ref: (el) => {
210
+ this._ref = el;
211
+ }, id: this.id, "data-horizontal-alignment": this.horizontalAlignment, "data-vertical-alignment": this.verticalAlignment, colSpan: getNumber(this.colSpan, this.colspan), rowSpan: getNumber(this.rowSpan, this.rowspan), headers: this.headers }, h("slot", { key: '15e1f9e5492c105d953fb8f4ec272f3c8853b318' })));
212
+ }
213
+ };
214
+
215
+ export { DBLink as db_link, DBTableDataCell as db_table_data_cell, DBTableHeaderCell as db_table_header_cell, DBTableRow as db_table_row };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-LpjjuLKB.js';
2
2
  import { n as DEFAULT_BACK } from './constants-BdL-nI5y.js';
3
3
  import { d as delay, e as getBoolean, u as uuid, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { N as NavigationItemSafeTriangle } from './navigation-Jh6m0eMk.js';
@@ -115,7 +115,7 @@ const DBNavigationItem = class {
115
115
  }
116
116
  render() {
117
117
  var _a, _b, _c;
118
- return (h("li", { key: '58b2c247c8dad65176a6bc037d908c81da83fc58', class: cls("db-navigation-item", this.className), ref: (el) => {
118
+ return (h("li", { key: 'b567c0fa3acc631c90bbbcd7ef570f1868e3afb4', class: cls("db-navigation-item", this.className), ref: (el) => {
119
119
  this._ref = el;
120
120
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : h("slot", null) : null, this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
121
121
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBNavigation = class {
@@ -46,9 +46,9 @@ const DBNavigation = class {
46
46
  }
47
47
  render() {
48
48
  var _a, _b;
49
- return (h("nav", { key: 'd35a0452fce96ed3fa6d692c8022ea4e36802626', class: cls("db-navigation", this.className), ref: (el) => {
49
+ return (h("nav", { key: 'b010a46304b40eb38d99b2e26a4f46d32fc86d97', class: cls("db-navigation", this.className), ref: (el) => {
50
50
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '2b1ad0fd739f64003078bbf18535666f83487d1f' }, h("slot", { key: '0c82a0f8e78ca1489efe693ec5ba973ada355c97' }))));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '8e731e3da4f8e414c8e0756c70bba576e93a5841' }, h("slot", { key: '302cc4871db0bf06c9f35766be74b52a30ed1f82' }))));
52
52
  }
53
53
  };
54
54
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-LpjjuLKB.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { e as getBoolean, s as stringPropVisible, g as getBooleanAsString, p as getNotificationRole, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -56,13 +56,13 @@ const DBNotification = class {
56
56
  }
57
57
  render() {
58
58
  var _a, _b, _c;
59
- return (h("div", { key: 'b7789fad4794a93805eeec0cf2740b3f592f32fa', class: cls("db-notification", this.className), ref: (el) => {
59
+ return (h("div", { key: '3c1803adcfe5c34175c112c6c9d55e4c8fef3af0', class: cls("db-notification", this.className), ref: (el) => {
60
60
  this._ref = el;
61
61
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
62
62
  semantic: this.semantic,
63
63
  role: this.role,
64
64
  ariaLive: this.ariaLive,
65
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: 'cdf91c6a6cd8dd519ab235046b9ab260007a370e', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: 'a93c1810e6a75cdd81660cb6e252ed7028c2a5f5' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '26cae9faba7d9f277413f38a59ea02c9b99eb8c5', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
65
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: 'fd2deb6b191feb65cf2c2b21a88737007bda7f1f', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: 'a6400239df82a1fe57d4df466ac57078d0c35ac3' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '35b6377f9bdbf475dd80058502ee1c04277a967f', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
66
66
  }
67
67
  };
68
68
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { c as cls, g as getBooleanAsString } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBPage = class {
@@ -63,9 +63,9 @@ const DBPage = class {
63
63
  }
64
64
  render() {
65
65
  var _a, _b;
66
- return (h("div", { key: '3c52f5947a841db0fcfe81b09e37db5a59f04158', class: cls("db-page", this.className), ref: (el) => {
66
+ return (h("div", { key: '3ab3a293a869c9d557e8998e8d523a999b50f582', class: cls("db-page", this.className), ref: (el) => {
67
67
  this._ref = el;
68
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '9b5d03938d5e60f37d807b3acbeb76a1ecb24aab', name: "header" }), h("main", { key: '49b72ad7dab4cc675c1af0c684bf211affd3fa36', class: cls("db-main", this.mainClass) }, h("slot", { key: '63915bf376296bbfdd9e7f1c3f3e36331543d15c' })), h("slot", { key: 'e94f63187f9347a7377956b040d3c201aa008dd6', name: "footer" })));
68
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: 'd4ad87f9642d0be01271e3cc31389083893b5b12', name: "header" }), h("main", { key: '74d35e61900006b8996e91236a8f8aa56b50a571', class: cls("db-main", this.mainClass) }, h("slot", { key: 'a41b05ab87cfee50527ce033cdde32664219a830' })), h("slot", { key: '6612f687f66f6382366ce97eb50c17f905ebecdf', name: "footer" })));
69
69
  }
70
70
  };
71
71
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-kHKR5QG5.js';
1
+ import { r as registerInstance, h } from './index-LpjjuLKB.js';
2
2
  import { d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
4
4
  import { b as handleFixedPopover } from './floating-components-DOPXnIzL.js';
@@ -168,9 +168,9 @@ const DBPopover = class {
168
168
  }
169
169
  render() {
170
170
  var _a, _b, _c;
171
- return (h("div", { key: 'a160c72e468d3f98cf94f76193b31dea016821f5', class: cls("db-popover", this.className), ref: (el) => {
171
+ return (h("div", { key: 'a1f493f8b3a02907a91c2ca142a94a427acd3922', class: cls("db-popover", this.className), ref: (el) => {
172
172
  this._ref = el;
173
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'bb80f944827c1a2edb671ce3572546eabdac8fe3', name: "trigger" }), h("article", { key: '5286e4c7e53558e4bdff52ab3742acf0b854cb4a', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '09822daff7336bfe9541418bcd55a8809cdaab08' }))));
173
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'cf1d7de8b1d75d6142b9db5a38dc80a3ec72a623', name: "trigger" }), h("article", { key: '1583bf74dcff72ce68c547800035aaca9ba4178d', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '432ffdd18b6121de6704ce901231c8225ec68106' }))));
174
174
  }
175
175
  static get watchers() { return {
176
176
  "_ref": [{