@db-ux/wc-core-components 4.4.3 → 4.5.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 (283) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/agent/.gitkeep +0 -0
  3. package/dist/cjs/db-accordion-item.cjs.entry.js +5 -4
  4. package/dist/cjs/db-accordion.cjs.entry.js +6 -6
  5. package/dist/cjs/db-badge.cjs.entry.js +5 -5
  6. package/dist/cjs/db-brand.cjs.entry.js +5 -5
  7. package/dist/cjs/db-button.cjs.entry.js +5 -5
  8. package/dist/cjs/db-card.cjs.entry.js +5 -4
  9. package/dist/cjs/db-checkbox.cjs.entry.js +53 -34
  10. package/dist/cjs/db-custom-button.cjs.entry.js +57 -0
  11. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +59 -37
  12. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +5 -4
  13. package/dist/cjs/db-custom-select.cjs.entry.js +132 -109
  14. package/dist/cjs/db-divider.cjs.entry.js +5 -4
  15. package/dist/cjs/db-drawer.cjs.entry.js +6 -6
  16. package/dist/cjs/db-header.cjs.entry.js +7 -7
  17. package/dist/cjs/db-icon.cjs.entry.js +5 -4
  18. package/dist/cjs/db-infotext.cjs.entry.js +5 -5
  19. package/dist/cjs/db-link.cjs.entry.js +5 -5
  20. package/dist/cjs/db-navigation-item.cjs.entry.js +7 -7
  21. package/dist/cjs/db-navigation.cjs.entry.js +5 -4
  22. package/dist/cjs/db-notification.cjs.entry.js +6 -6
  23. package/dist/cjs/db-page.cjs.entry.js +5 -4
  24. package/dist/cjs/db-popover.cjs.entry.js +7 -7
  25. package/dist/cjs/db-radio.cjs.entry.js +33 -14
  26. package/dist/cjs/db-section.cjs.entry.js +5 -4
  27. package/dist/cjs/db-select.cjs.entry.js +48 -29
  28. package/dist/cjs/db-stack.cjs.entry.js +5 -4
  29. package/dist/cjs/db-switch.cjs.entry.js +58 -22
  30. package/dist/cjs/db-tab-item_3.cjs.entry.js +11 -9
  31. package/dist/cjs/db-tabs.cjs.entry.js +6 -6
  32. package/dist/cjs/db-textarea.cjs.entry.js +46 -27
  33. package/dist/cjs/db-tooltip.cjs.entry.js +17 -9
  34. package/dist/cjs/db-ux.cjs.js +3 -3
  35. package/dist/cjs/{document-click-listener-Bb3Tinb8.js → document-click-listener-B2-xKJv3.js} +1 -1
  36. package/dist/cjs/{document-scroll-listener-unypEU42.js → document-scroll-listener-ChQ7XZRk.js} +1 -1
  37. package/dist/cjs/{floating-components-pYaTeNhp.js → floating-components-DlstoCKH.js} +4 -0
  38. package/dist/cjs/{form-components-LsqVohyb.js → form-components-_ncB_U2D.js} +1 -1
  39. package/dist/cjs/{index-CsHqnQII.js → index-2_9ESkQu.js} +6 -7
  40. package/dist/cjs/{index-Bh5ovRL2.js → index-D_vrmAD6.js} +23 -14
  41. package/dist/cjs/index.cjs.js +5 -5
  42. package/dist/cjs/loader.cjs.js +2 -2
  43. package/dist/cjs/{navigation-BztJmEHf.js → navigation-Bah882nU.js} +1 -1
  44. package/dist/collection/collection-manifest.json +3 -1
  45. package/dist/collection/components/accordion/accordion.js +28 -4
  46. package/dist/collection/components/accordion-item/accordion-item.js +27 -2
  47. package/dist/collection/components/badge/badge.js +54 -4
  48. package/dist/collection/components/brand/brand.js +27 -3
  49. package/dist/collection/components/button/button.js +53 -3
  50. package/dist/collection/components/card/card.js +27 -2
  51. package/dist/collection/components/checkbox/checkbox.js +81 -38
  52. package/dist/collection/components/custom-button/custom-button.js +394 -0
  53. package/dist/collection/components/custom-button/index.js +2 -0
  54. package/dist/collection/components/custom-button/model.js +1 -0
  55. package/dist/collection/components/custom-select/custom-select.js +156 -109
  56. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +27 -2
  57. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +27 -2
  58. package/dist/collection/components/custom-select-list/custom-select-list.js +27 -2
  59. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -2
  60. package/dist/collection/components/divider/divider.js +27 -2
  61. package/dist/collection/components/drawer/drawer.js +28 -4
  62. package/dist/collection/components/header/header.js +27 -3
  63. package/dist/collection/components/icon/icon.js +27 -2
  64. package/dist/collection/components/infotext/infotext.js +53 -3
  65. package/dist/collection/components/input/input.js +74 -31
  66. package/dist/collection/components/link/link.js +27 -3
  67. package/dist/collection/components/navigation/navigation.js +27 -2
  68. package/dist/collection/components/navigation-item/navigation-item.js +27 -3
  69. package/dist/collection/components/notification/notification.js +28 -4
  70. package/dist/collection/components/page/page.js +27 -2
  71. package/dist/collection/components/popover/popover.js +27 -3
  72. package/dist/collection/components/radio/radio.js +54 -11
  73. package/dist/collection/components/section/section.js +27 -2
  74. package/dist/collection/components/select/select.js +75 -32
  75. package/dist/collection/components/stack/stack.js +27 -2
  76. package/dist/collection/components/switch/switch.js +107 -45
  77. package/dist/collection/components/tab-item/tab-item.js +27 -3
  78. package/dist/collection/components/tab-list/tab-list.js +27 -2
  79. package/dist/collection/components/tab-panel/tab-panel.js +27 -2
  80. package/dist/collection/components/tabs/tabs.js +28 -4
  81. package/dist/collection/components/tag/tag.js +27 -3
  82. package/dist/collection/components/textarea/textarea.js +73 -30
  83. package/dist/collection/components/tooltip/tooltip.js +63 -5
  84. package/dist/collection/index.js +2 -0
  85. package/dist/collection/utils/floating-components.js +4 -0
  86. package/dist/collection/utils/index.js +6 -7
  87. package/dist/custom-elements.json +3692 -1698
  88. package/dist/db-ux/db-ux.esm.js +1 -1
  89. package/dist/db-ux/index.esm.js +1 -1
  90. package/dist/db-ux/p-043c407c.entry.js +1 -0
  91. package/dist/db-ux/p-0541c3c2.entry.js +1 -0
  92. package/dist/db-ux/p-074e4a43.entry.js +1 -0
  93. package/dist/db-ux/p-11251b99.entry.js +1 -0
  94. package/dist/db-ux/p-1c89f0fc.entry.js +1 -0
  95. package/dist/db-ux/p-213bfff6.entry.js +1 -0
  96. package/dist/db-ux/p-29442fd9.entry.js +1 -0
  97. package/dist/db-ux/p-2bce91e1.entry.js +1 -0
  98. package/dist/db-ux/p-32c4a1b5.entry.js +1 -0
  99. package/dist/db-ux/p-3e5be44c.entry.js +1 -0
  100. package/dist/db-ux/p-4cda36f1.entry.js +1 -0
  101. package/dist/db-ux/p-4cf64cbb.entry.js +1 -0
  102. package/dist/db-ux/p-5028b12e.entry.js +1 -0
  103. package/dist/db-ux/{p-b07122c4.entry.js → p-56af9177.entry.js} +1 -1
  104. package/dist/db-ux/{p-64264628.entry.js → p-587263ad.entry.js} +1 -1
  105. package/dist/db-ux/p-58f21c03.entry.js +1 -0
  106. package/dist/db-ux/{p-77150a25.entry.js → p-6b073570.entry.js} +1 -1
  107. package/dist/db-ux/p-745ccfb8.entry.js +1 -0
  108. package/dist/db-ux/p-836f0fef.entry.js +1 -0
  109. package/dist/db-ux/p-9a19e197.entry.js +1 -0
  110. package/dist/db-ux/p-9fb146d1.entry.js +1 -0
  111. package/dist/db-ux/p-BjIPMjCM.js +2 -0
  112. package/dist/db-ux/{p-cNk4ImpW.js → p-BuBrj57D.js} +1 -1
  113. package/dist/db-ux/p-CHLgQ9vn.js +1 -0
  114. package/dist/db-ux/{p-CAEpg8tJ.js → p-D5mInaY7.js} +1 -1
  115. package/dist/db-ux/p-DOPXnIzL.js +1 -0
  116. package/dist/db-ux/p-D_roHmuC.js +1 -0
  117. package/dist/db-ux/p-a34d2691.entry.js +1 -0
  118. package/dist/db-ux/p-c6f43506.entry.js +1 -0
  119. package/dist/db-ux/p-cdfaf027.entry.js +1 -0
  120. package/dist/db-ux/p-d186aef4.entry.js +1 -0
  121. package/dist/db-ux/p-dceb35a8.entry.js +1 -0
  122. package/dist/db-ux/p-e199b6f9.entry.js +1 -0
  123. package/dist/db-ux/p-e3664354.entry.js +1 -0
  124. package/dist/db-ux/p-ef034bba.entry.js +1 -0
  125. package/dist/db-ux/p-f0bc176a.entry.js +1 -0
  126. package/dist/db-ux/p-ff3866f3.entry.js +1 -0
  127. package/dist/db-ux/p-xkoBSP8R.js +1 -0
  128. package/dist/esm/db-accordion-item.entry.js +5 -4
  129. package/dist/esm/db-accordion.entry.js +6 -6
  130. package/dist/esm/db-badge.entry.js +5 -5
  131. package/dist/esm/db-brand.entry.js +5 -5
  132. package/dist/esm/db-button.entry.js +5 -5
  133. package/dist/esm/db-card.entry.js +5 -4
  134. package/dist/esm/db-checkbox.entry.js +54 -35
  135. package/dist/esm/db-custom-button.entry.js +55 -0
  136. package/dist/esm/db-custom-select-dropdown_5.entry.js +60 -38
  137. package/dist/esm/db-custom-select-form-field.entry.js +5 -4
  138. package/dist/esm/db-custom-select.entry.js +133 -110
  139. package/dist/esm/db-divider.entry.js +5 -4
  140. package/dist/esm/db-drawer.entry.js +6 -6
  141. package/dist/esm/db-header.entry.js +7 -7
  142. package/dist/esm/db-icon.entry.js +5 -4
  143. package/dist/esm/db-infotext.entry.js +5 -5
  144. package/dist/esm/db-link.entry.js +5 -5
  145. package/dist/esm/db-navigation-item.entry.js +7 -7
  146. package/dist/esm/db-navigation.entry.js +5 -4
  147. package/dist/esm/db-notification.entry.js +6 -6
  148. package/dist/esm/db-page.entry.js +5 -4
  149. package/dist/esm/db-popover.entry.js +7 -7
  150. package/dist/esm/db-radio.entry.js +33 -14
  151. package/dist/esm/db-section.entry.js +5 -4
  152. package/dist/esm/db-select.entry.js +49 -30
  153. package/dist/esm/db-stack.entry.js +5 -4
  154. package/dist/esm/db-switch.entry.js +58 -22
  155. package/dist/esm/db-tab-item_3.entry.js +11 -9
  156. package/dist/esm/db-tabs.entry.js +6 -6
  157. package/dist/esm/db-textarea.entry.js +47 -28
  158. package/dist/esm/db-tooltip.entry.js +17 -9
  159. package/dist/esm/db-ux.js +4 -4
  160. package/dist/esm/{document-click-listener-CmYoXpGE.js → document-click-listener-D7W_VE5O.js} +1 -1
  161. package/dist/esm/{document-scroll-listener-65bHuFAN.js → document-scroll-listener-DOBe3Oa9.js} +1 -1
  162. package/dist/esm/{floating-components-DfYL98sI.js → floating-components-DOPXnIzL.js} +4 -0
  163. package/dist/esm/{form-components-BLsiOrPI.js → form-components-D6LQfJvq.js} +1 -1
  164. package/dist/esm/{index-Crtu1dn6.js → index-BjIPMjCM.js} +23 -14
  165. package/dist/esm/{index-C4x0SOcx.js → index-xkoBSP8R.js} +6 -7
  166. package/dist/esm/index.js +5 -5
  167. package/dist/esm/loader.js +3 -3
  168. package/dist/esm/{navigation-DgsMCdfn.js → navigation-Jh6m0eMk.js} +1 -1
  169. package/dist/types/components/accordion/accordion.d.ts +1 -0
  170. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
  171. package/dist/types/components/badge/badge.d.ts +2 -0
  172. package/dist/types/components/badge/model.d.ts +2 -2
  173. package/dist/types/components/brand/brand.d.ts +1 -0
  174. package/dist/types/components/button/button.d.ts +2 -0
  175. package/dist/types/components/button/model.d.ts +8 -10
  176. package/dist/types/components/card/card.d.ts +1 -0
  177. package/dist/types/components/checkbox/checkbox.d.ts +5 -1
  178. package/dist/types/components/custom-button/custom-button.d.ts +29 -0
  179. package/dist/types/components/custom-button/index.d.ts +2 -0
  180. package/dist/types/components/custom-button/model.d.ts +6 -0
  181. package/dist/types/components/custom-select/custom-select.d.ts +5 -1
  182. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
  183. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
  184. package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
  185. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
  186. package/dist/types/components/divider/divider.d.ts +1 -0
  187. package/dist/types/components/drawer/drawer.d.ts +1 -0
  188. package/dist/types/components/header/header.d.ts +1 -0
  189. package/dist/types/components/icon/icon.d.ts +1 -0
  190. package/dist/types/components/infotext/infotext.d.ts +2 -0
  191. package/dist/types/components/infotext/model.d.ts +2 -2
  192. package/dist/types/components/input/input.d.ts +5 -1
  193. package/dist/types/components/link/link.d.ts +1 -0
  194. package/dist/types/components/navigation/navigation.d.ts +1 -0
  195. package/dist/types/components/navigation-item/navigation-item.d.ts +1 -0
  196. package/dist/types/components/notification/model.d.ts +2 -2
  197. package/dist/types/components/notification/notification.d.ts +1 -0
  198. package/dist/types/components/page/page.d.ts +1 -0
  199. package/dist/types/components/popover/popover.d.ts +1 -0
  200. package/dist/types/components/radio/radio.d.ts +4 -0
  201. package/dist/types/components/section/section.d.ts +1 -0
  202. package/dist/types/components/select/select.d.ts +5 -1
  203. package/dist/types/components/stack/stack.d.ts +1 -0
  204. package/dist/types/components/switch/switch.d.ts +7 -1
  205. package/dist/types/components/tab-item/tab-item.d.ts +1 -0
  206. package/dist/types/components/tab-list/tab-list.d.ts +1 -0
  207. package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
  208. package/dist/types/components/tabs/tabs.d.ts +1 -0
  209. package/dist/types/components/tag/model.d.ts +2 -6
  210. package/dist/types/components/tag/tag.d.ts +1 -0
  211. package/dist/types/components/textarea/textarea.d.ts +5 -1
  212. package/dist/types/components/tooltip/model.d.ts +3 -3
  213. package/dist/types/components/tooltip/tooltip.d.ts +3 -0
  214. package/dist/types/components.d.ts +145 -6
  215. package/dist/types/index.d.ts +2 -0
  216. package/dist/types/shared/model.d.ts +15 -1
  217. package/dist/types/stencil-public-runtime.d.ts +3 -1
  218. package/dist/vscode.html-custom-data.json +397 -85
  219. package/dist/web-types.json +730 -153
  220. package/package.json +4 -4
  221. package/agent/Accordion.md +0 -23
  222. package/agent/AccordionItem.md +0 -29
  223. package/agent/Badge.md +0 -32
  224. package/agent/Brand.md +0 -13
  225. package/agent/Button.md +0 -47
  226. package/agent/Card.md +0 -23
  227. package/agent/Checkbox.md +0 -41
  228. package/agent/CustomSelect.md +0 -54
  229. package/agent/Divider.md +0 -21
  230. package/agent/Drawer.md +0 -71
  231. package/agent/Header.md +0 -29
  232. package/agent/Icon.md +0 -20
  233. package/agent/Infotext.md +0 -25
  234. package/agent/Input.md +0 -48
  235. package/agent/Link.md +0 -52
  236. package/agent/Navigation.md +0 -19
  237. package/agent/NavigationItem.md +0 -29
  238. package/agent/Notification.md +0 -38
  239. package/agent/Page.md +0 -27
  240. package/agent/Popover.md +0 -52
  241. package/agent/Radio.md +0 -28
  242. package/agent/Section.md +0 -21
  243. package/agent/Select.md +0 -62
  244. package/agent/Stack.md +0 -35
  245. package/agent/Switch.md +0 -44
  246. package/agent/TabItem.md +0 -25
  247. package/agent/Tabs.md +0 -61
  248. package/agent/Tag.md +0 -41
  249. package/agent/Textarea.md +0 -44
  250. package/agent/Tooltip.md +0 -37
  251. package/agent/_instructions.md +0 -31
  252. package/dist/db-ux/p-1a72176e.entry.js +0 -1
  253. package/dist/db-ux/p-1b7f6a0b.entry.js +0 -1
  254. package/dist/db-ux/p-1da21066.entry.js +0 -1
  255. package/dist/db-ux/p-2d15e200.entry.js +0 -1
  256. package/dist/db-ux/p-312d52da.entry.js +0 -1
  257. package/dist/db-ux/p-3e6b86d6.entry.js +0 -1
  258. package/dist/db-ux/p-4aa16916.entry.js +0 -1
  259. package/dist/db-ux/p-4b69acea.entry.js +0 -1
  260. package/dist/db-ux/p-4cfff250.entry.js +0 -1
  261. package/dist/db-ux/p-5237e5d5.entry.js +0 -1
  262. package/dist/db-ux/p-5b1a0f0f.entry.js +0 -1
  263. package/dist/db-ux/p-5fa85b19.entry.js +0 -1
  264. package/dist/db-ux/p-7351b5ab.entry.js +0 -1
  265. package/dist/db-ux/p-7c6b7578.entry.js +0 -1
  266. package/dist/db-ux/p-828a77d8.entry.js +0 -1
  267. package/dist/db-ux/p-9b47dc80.entry.js +0 -1
  268. package/dist/db-ux/p-BhXdfCpU.js +0 -1
  269. package/dist/db-ux/p-C4x0SOcx.js +0 -1
  270. package/dist/db-ux/p-Crtu1dn6.js +0 -2
  271. package/dist/db-ux/p-DfYL98sI.js +0 -1
  272. package/dist/db-ux/p-RHqkTr-_.js +0 -1
  273. package/dist/db-ux/p-a3a8ce36.entry.js +0 -1
  274. package/dist/db-ux/p-aa0f7280.entry.js +0 -1
  275. package/dist/db-ux/p-b1fc0f4c.entry.js +0 -1
  276. package/dist/db-ux/p-c2624e1b.entry.js +0 -1
  277. package/dist/db-ux/p-c29d8e32.entry.js +0 -1
  278. package/dist/db-ux/p-cf50169a.entry.js +0 -1
  279. package/dist/db-ux/p-d4f3cfa2.entry.js +0 -1
  280. package/dist/db-ux/p-e05fee5a.entry.js +0 -1
  281. package/dist/db-ux/p-f40d2d61.entry.js +0 -1
  282. package/dist/db-ux/p-fcf8e274.entry.js +0 -1
  283. package/dist/db-ux/p-fe06f815.entry.js +0 -1
@@ -45,9 +45,10 @@ export class DBNavigation {
45
45
  this.enableAttributePassing(this._ref, "db-navigation");
46
46
  }
47
47
  render() {
48
- return (h("nav", { key: 'ed23071c4f127474f38f663cd5c0536c94cfe526', class: cls("db-navigation", this.className), ref: (el) => {
48
+ var _a, _b;
49
+ return (h("nav", { key: 'd35a0452fce96ed3fa6d692c8022ea4e36802626', class: cls("db-navigation", this.className), ref: (el) => {
49
50
  this._ref = el;
50
- }, id: this.id }, h("menu", { key: 'a54c6a1a1a7e5624287c0f5f7a93bc66bcb1a2f2' }, h("slot", { key: '7fa106c1c7f1feae5ba622d89a4a4063ea5a8d93' }))));
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
52
  }
52
53
  static get is() { return "db-navigation"; }
53
54
  static get properties() {
@@ -78,6 +79,30 @@ export class DBNavigation {
78
79
  "reflect": false,
79
80
  "attribute": "id"
80
81
  },
82
+ "propOverrides": {
83
+ "type": "unknown",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "DBNavigationProps[\"propOverrides\"]",
87
+ "resolved": "{ id?: string; }",
88
+ "references": {
89
+ "DBNavigationProps": {
90
+ "location": "import",
91
+ "path": "./model",
92
+ "id": "src/components/navigation/model.ts::DBNavigationProps",
93
+ "referenceLocation": "DBNavigationProps"
94
+ }
95
+ }
96
+ },
97
+ "required": false,
98
+ "optional": false,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": ""
102
+ },
103
+ "getter": false,
104
+ "setter": false
105
+ },
81
106
  "className": {
82
107
  "type": "string",
83
108
  "mutable": false,
@@ -108,10 +108,10 @@ export class DBNavigationItem {
108
108
  this.watch1Fn();
109
109
  }
110
110
  render() {
111
- var _a;
112
- return (h("li", { key: '3b363559d7b1b52c67f722164d7f5932f98d7d69', class: cls("db-navigation-item", this.className), ref: (el) => {
111
+ var _a, _b, _c;
112
+ return (h("li", { key: 'dd524f6e6fa61adfb6d87591d1dbff6ba2e8f4fa', class: cls("db-navigation-item", this.className), ref: (el) => {
113
113
  this._ref = el;
114
- }, id: this.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", "aria-haspopup": this.hasAreaPopup, "aria-expanded": this.isSubNavigationExpanded, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", "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) }, (_a = this.backButtonText) !== null && _a !== void 0 ? _a : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
114
+ }, 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", "aria-haspopup": this.hasAreaPopup, "aria-expanded": this.isSubNavigationExpanded, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", "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));
115
115
  }
116
116
  static get is() { return "db-navigation-item"; }
117
117
  static get properties() {
@@ -168,6 +168,30 @@ export class DBNavigationItem {
168
168
  "reflect": false,
169
169
  "attribute": "id"
170
170
  },
171
+ "propOverrides": {
172
+ "type": "unknown",
173
+ "mutable": false,
174
+ "complexType": {
175
+ "original": "DBNavigationItemProps[\"propOverrides\"]",
176
+ "resolved": "{ id?: string; }",
177
+ "references": {
178
+ "DBNavigationItemProps": {
179
+ "location": "import",
180
+ "path": "./model",
181
+ "id": "src/components/navigation-item/model.ts::DBNavigationItemProps",
182
+ "referenceLocation": "DBNavigationItemProps"
183
+ }
184
+ }
185
+ },
186
+ "required": false,
187
+ "optional": false,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": ""
191
+ },
192
+ "getter": false,
193
+ "setter": false
194
+ },
171
195
  "className": {
172
196
  "type": "string",
173
197
  "mutable": false,
@@ -55,14 +55,14 @@ export class DBNotification {
55
55
  this.enableAttributePassing(this._ref, "db-notification");
56
56
  }
57
57
  render() {
58
- var _a;
59
- return (h("div", { key: '7bfffb9a6ef900927dc92872a653c2483bba9c13', class: cls("db-notification", this.className), ref: (el) => {
58
+ var _a, _b, _c;
59
+ return (h("div", { key: 'b7789fad4794a93805eeec0cf2740b3f592f32fa', class: cls("db-notification", this.className), ref: (el) => {
60
60
  this._ref = el;
61
- }, id: this.id, role: getNotificationRole({
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: '3dcc061adf7ad8fc7aed91bcecee48458a57c257', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '76d017fda09e1cfb0feec4045c03e40c50f5c290' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: '70f4c22660f7a9ae655002fc3947ad00d5b52f3f', 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) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : 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: '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));
66
66
  }
67
67
  static get is() { return "db-notification"; }
68
68
  static get properties() {
@@ -93,6 +93,30 @@ export class DBNotification {
93
93
  "reflect": false,
94
94
  "attribute": "id"
95
95
  },
96
+ "propOverrides": {
97
+ "type": "unknown",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "DBNotificationProps[\"propOverrides\"]",
101
+ "resolved": "{ id?: string; }",
102
+ "references": {
103
+ "DBNotificationProps": {
104
+ "location": "import",
105
+ "path": "./model",
106
+ "id": "src/components/notification/model.ts::DBNotificationProps",
107
+ "referenceLocation": "DBNotificationProps"
108
+ }
109
+ }
110
+ },
111
+ "required": false,
112
+ "optional": false,
113
+ "docs": {
114
+ "tags": [],
115
+ "text": ""
116
+ },
117
+ "getter": false,
118
+ "setter": false
119
+ },
96
120
  "className": {
97
121
  "type": "string",
98
122
  "mutable": false,
@@ -65,9 +65,10 @@ export class DBPage {
65
65
  }
66
66
  }
67
67
  render() {
68
- return (h("div", { key: 'a3bc28485521260f3b6666160df090d1f6855642', class: cls("db-page", this.className), ref: (el) => {
68
+ var _a, _b;
69
+ return (h("div", { key: '3c52f5947a841db0fcfe81b09e37db5a59f04158', class: cls("db-page", this.className), ref: (el) => {
69
70
  this._ref = el;
70
- }, id: this.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '767ea462a8f8a08a84bf553f69304dab64d4cf41', name: "header" }), h("main", { key: '1d9e4af6efd26bb2d66ea7e1792e70c984e4ebee', class: cls("db-main", this.mainClass) }, h("slot", { key: '370197e945c6582919418e80ad29e10d991b83d0' })), h("slot", { key: 'cdade48d4fbd8f4ef472679d8fc345413335cc93', name: "footer" })));
71
+ }, 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" })));
71
72
  }
72
73
  static get is() { return "db-page"; }
73
74
  static get properties() {
@@ -176,6 +177,30 @@ export class DBPage {
176
177
  "reflect": false,
177
178
  "attribute": "id"
178
179
  },
180
+ "propOverrides": {
181
+ "type": "unknown",
182
+ "mutable": false,
183
+ "complexType": {
184
+ "original": "DBPageProps[\"propOverrides\"]",
185
+ "resolved": "{ id?: string; }",
186
+ "references": {
187
+ "DBPageProps": {
188
+ "location": "import",
189
+ "path": "./model",
190
+ "id": "src/components/page/model.ts::DBPageProps",
191
+ "referenceLocation": "DBPageProps"
192
+ }
193
+ }
194
+ },
195
+ "required": false,
196
+ "optional": false,
197
+ "docs": {
198
+ "tags": [],
199
+ "text": ""
200
+ },
201
+ "getter": false,
202
+ "setter": false
203
+ },
179
204
  "className": {
180
205
  "type": "string",
181
206
  "mutable": false,
@@ -169,10 +169,10 @@ export class DBPopover {
169
169
  this.watch1Fn();
170
170
  }
171
171
  render() {
172
- var _a;
173
- return (h("div", { key: '6b6c1e8a1b308dde8bae73df452abe94b0b4962d', class: cls("db-popover", this.className), ref: (el) => {
172
+ var _a, _b, _c;
173
+ return (h("div", { key: 'a160c72e468d3f98cf94f76193b31dea016821f5', class: cls("db-popover", this.className), ref: (el) => {
174
174
  this._ref = el;
175
- }, id: this.id }, h("slot", { key: '8276f71a50b4a588dfe8a9b8007338c895433835', name: "trigger" }), h("article", { key: '2931d9365bf99c8c539dc45ec8450fbe54e47cf2', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '49dbdd7f45e2ea48cc66b0463af29f0964ff7109' }))));
175
+ }, 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' }))));
176
176
  }
177
177
  static get is() { return "db-popover"; }
178
178
  static get properties() {
@@ -229,6 +229,30 @@ export class DBPopover {
229
229
  "reflect": false,
230
230
  "attribute": "id"
231
231
  },
232
+ "propOverrides": {
233
+ "type": "unknown",
234
+ "mutable": false,
235
+ "complexType": {
236
+ "original": "DBPopoverProps[\"propOverrides\"]",
237
+ "resolved": "{ id?: string; }",
238
+ "references": {
239
+ "DBPopoverProps": {
240
+ "location": "import",
241
+ "path": "./model",
242
+ "id": "src/components/popover/model.ts::DBPopoverProps",
243
+ "referenceLocation": "DBPopoverProps"
244
+ }
245
+ }
246
+ },
247
+ "required": false,
248
+ "optional": false,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": ""
252
+ },
253
+ "getter": false,
254
+ "setter": false
255
+ },
232
256
  "className": {
233
257
  "type": "string",
234
258
  "mutable": false,
@@ -31,6 +31,10 @@ export class DBRadio {
31
31
  this.focus.emit(event);
32
32
  }
33
33
  }
34
+ resetIds() {
35
+ var _a, _b, _c;
36
+ this._id = (_c = (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : `radio-${uuid()}`;
37
+ }
34
38
  /**
35
39
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
36
40
  * @param element the ref for the component
@@ -68,14 +72,23 @@ export class DBRadio {
68
72
  }
69
73
  }
70
74
  watch0Fn() {
71
- if (this.checked && this.initialized && this._ref) {
72
- this._ref.checked = true;
75
+ var _a, _b;
76
+ if ((_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) {
77
+ this.resetIds();
73
78
  }
74
79
  }
75
80
  watch0() {
76
81
  this.watch0Fn();
77
82
  }
78
83
  watch1Fn() {
84
+ if (this.checked && this.initialized && this._ref) {
85
+ this._ref.checked = true;
86
+ }
87
+ }
88
+ watch1() {
89
+ this.watch1Fn();
90
+ }
91
+ watch2Fn() {
79
92
  if (this._ref) {
80
93
  const defaultChecked = undefined;
81
94
  let controller = this.abortController;
@@ -97,23 +110,23 @@ export class DBRadio {
97
110
  }, controller.signal);
98
111
  }
99
112
  }
100
- watch1() {
101
- this.watch1Fn();
113
+ watch2() {
114
+ this.watch2Fn();
102
115
  }
103
116
  componentDidLoad() {
104
- var _a;
105
117
  this.enableAttributePassing(this._ref, "db-radio");
106
118
  this.initialized = true;
107
- this._id = (_a = this.id) !== null && _a !== void 0 ? _a : `radio-${uuid()}`;
119
+ this.resetIds();
108
120
  this.watch0Fn();
109
121
  this.watch1Fn();
122
+ this.watch2Fn();
110
123
  }
111
124
  disconnectedCallback() {
112
125
  var _a;
113
126
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
114
127
  }
115
128
  render() {
116
- return (h("label", { key: '998fcc7e72f405047969e91d70e4093c4fb7a923', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: 'fc200290758670942c7aa3b584c9cc49cc9faa37', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
129
+ return (h("label", { key: 'b77bbb3335c0b3f3813e11c7ac7228a84a40769a', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '4fe82a7b57a6dd06e556e26d50df574a541129f9', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
117
130
  this._ref = el;
118
131
  }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : h("slot", null)));
119
132
  }
@@ -146,6 +159,30 @@ export class DBRadio {
146
159
  "reflect": false,
147
160
  "attribute": "id"
148
161
  },
162
+ "propOverrides": {
163
+ "type": "unknown",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "DBRadioProps[\"propOverrides\"]",
167
+ "resolved": "{ id?: string; }",
168
+ "references": {
169
+ "DBRadioProps": {
170
+ "location": "import",
171
+ "path": "./model",
172
+ "id": "src/components/radio/model.ts::DBRadioProps",
173
+ "referenceLocation": "DBRadioProps"
174
+ }
175
+ }
176
+ },
177
+ "required": false,
178
+ "optional": false,
179
+ "docs": {
180
+ "tags": [],
181
+ "text": ""
182
+ },
183
+ "getter": false,
184
+ "setter": false
185
+ },
149
186
  "checked": {
150
187
  "type": "any",
151
188
  "mutable": false,
@@ -506,17 +543,23 @@ export class DBRadio {
506
543
  }
507
544
  static get watchers() {
508
545
  return [{
509
- "propName": "initialized",
546
+ "propName": "id",
510
547
  "methodName": "watch0"
511
548
  }, {
512
- "propName": "_ref",
549
+ "propName": "propOverrides?.id",
513
550
  "methodName": "watch0"
514
551
  }, {
515
- "propName": "checked",
516
- "methodName": "watch0"
552
+ "propName": "initialized",
553
+ "methodName": "watch1"
517
554
  }, {
518
555
  "propName": "_ref",
519
556
  "methodName": "watch1"
557
+ }, {
558
+ "propName": "checked",
559
+ "methodName": "watch1"
560
+ }, {
561
+ "propName": "_ref",
562
+ "methodName": "watch2"
520
563
  }];
521
564
  }
522
565
  }
@@ -45,9 +45,10 @@ export class DBSection {
45
45
  this.enableAttributePassing(this._ref, "db-section");
46
46
  }
47
47
  render() {
48
- return (h("section", { key: 'be6ea106507603acde69e5020d97318002075614', class: cls("db-section", this.className), ref: (el) => {
48
+ var _a, _b;
49
+ return (h("section", { key: 'd2cb50a43641ef50d901bd488c7d31911e0f5487', class: cls("db-section", this.className), ref: (el) => {
49
50
  this._ref = el;
50
- }, id: this.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '339c00c1fca3117ad6e148474f8fefbecb6c28f6' })));
51
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '90ce1533ea3392317c7e271ad6d2880d0434321e' })));
51
52
  }
52
53
  static get is() { return "db-section"; }
53
54
  static get properties() {
@@ -78,6 +79,30 @@ export class DBSection {
78
79
  "reflect": false,
79
80
  "attribute": "id"
80
81
  },
82
+ "propOverrides": {
83
+ "type": "unknown",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "DBSectionProps[\"propOverrides\"]",
87
+ "resolved": "{ id?: string; }",
88
+ "references": {
89
+ "DBSectionProps": {
90
+ "location": "import",
91
+ "path": "./model",
92
+ "id": "src/components/section/model.ts::DBSectionProps",
93
+ "referenceLocation": "DBSectionProps"
94
+ }
95
+ }
96
+ },
97
+ "required": false,
98
+ "optional": false,
99
+ "docs": {
100
+ "tags": [],
101
+ "text": ""
102
+ },
103
+ "getter": false,
104
+ "setter": false
105
+ },
81
106
  "className": {
82
107
  "type": "string",
83
108
  "mutable": false,
@@ -99,6 +99,15 @@ export class DBSelect {
99
99
  // Default: show empty option for non-required selects
100
100
  return !this.required;
101
101
  }
102
+ resetIds() {
103
+ var _a, _b, _c;
104
+ const mId = (_c = (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : `select-${uuid()}`;
105
+ this._id = mId;
106
+ this._messageId = mId + DEFAULT_MESSAGE_ID_SUFFIX;
107
+ this._validMessageId = mId + DEFAULT_VALID_MESSAGE_ID_SUFFIX;
108
+ this._invalidMessageId = mId + DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
109
+ this._placeholderId = mId + DEFAULT_PLACEHOLDER_ID_SUFFIX;
110
+ }
102
111
  /**
103
112
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
104
113
  * @param element the ref for the component
@@ -136,16 +145,25 @@ export class DBSelect {
136
145
  }
137
146
  }
138
147
  watch0Fn() {
148
+ var _a, _b;
149
+ if ((_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) {
150
+ this.resetIds();
151
+ }
152
+ }
153
+ watch0() {
154
+ this.watch0Fn();
155
+ }
156
+ watch1Fn() {
139
157
  var _a;
140
158
  this._invalidMessage =
141
159
  this.invalidMessage ||
142
160
  ((_a = this._ref) === null || _a === void 0 ? void 0 : _a.validationMessage) ||
143
161
  DEFAULT_INVALID_MESSAGE;
144
162
  }
145
- watch0() {
146
- this.watch0Fn();
163
+ watch1() {
164
+ this.watch1Fn();
147
165
  }
148
- watch1Fn() {
166
+ watch2Fn() {
149
167
  if (this._id && this.initialized) {
150
168
  const messageId = this._id + DEFAULT_MESSAGE_ID_SUFFIX;
151
169
  const placeholderId = this._id + DEFAULT_PLACEHOLDER_ID_SUFFIX;
@@ -166,16 +184,16 @@ export class DBSelect {
166
184
  this.initialized = false;
167
185
  }
168
186
  }
169
- watch1() {
170
- this.watch1Fn();
171
- }
172
- watch2Fn() {
173
- this._value = this.value;
174
- }
175
187
  watch2() {
176
188
  this.watch2Fn();
177
189
  }
178
190
  watch3Fn() {
191
+ this._value = this.value;
192
+ }
193
+ watch3() {
194
+ this.watch3Fn();
195
+ }
196
+ watch4Fn() {
179
197
  // If angular uses ngModel value and _value are null
180
198
  // then the value will be set afterward and the _ref will be refreshed
181
199
  const addResetListener = true;
@@ -195,24 +213,19 @@ export class DBSelect {
195
213
  }, controller.signal);
196
214
  }
197
215
  }
198
- watch3() {
199
- this.watch3Fn();
216
+ watch4() {
217
+ this.watch4Fn();
200
218
  }
201
219
  componentDidLoad() {
202
- var _a;
203
220
  this.enableAttributePassing(this._ref, "db-select");
204
221
  this.initialized = true;
205
- const mId = (_a = this.id) !== null && _a !== void 0 ? _a : `select-${uuid()}`;
206
- this._id = mId;
207
- this._messageId = mId + DEFAULT_MESSAGE_ID_SUFFIX;
208
- this._validMessageId = mId + DEFAULT_VALID_MESSAGE_ID_SUFFIX;
209
- this._invalidMessageId = mId + DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
210
- this._placeholderId = mId + DEFAULT_PLACEHOLDER_ID_SUFFIX;
222
+ this.resetIds();
211
223
  this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
212
224
  this.watch0Fn();
213
225
  this.watch1Fn();
214
226
  this.watch2Fn();
215
227
  this.watch3Fn();
228
+ this.watch4Fn();
216
229
  }
217
230
  disconnectedCallback() {
218
231
  var _a;
@@ -220,23 +233,23 @@ export class DBSelect {
220
233
  }
221
234
  render() {
222
235
  var _a, _b, _c, _d, _e;
223
- return (h("div", { key: 'fa85d886e937a4df9260c6c7afe3482054707a37', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '8641dd7e53e841c2b14c953e6f515bc019714a02', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '98086f761e1c7353e9c9be5a2b25ee6ad1539116', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
236
+ return (h("div", { key: 'e083b3de98c929310348ef084f614b6115cc79cb', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'f2dab8efe5a3c299268da1f5c58d09752b6b8ca5', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '197c8e2861449bed151348411043d5acb9c7b57c', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
224
237
  this._ref = el;
225
238
  }, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
226
239
  /* @ts-ignore */
227
240
  value: (_b = this.value) !== null && _b !== void 0 ? _b : this._value, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_c = this.ariaDescribedBy) !== null && _c !== void 0 ? _c : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_d = this.options) === null || _d === void 0 ? void 0 : _d.length) ? ((_e = this.options) === null || _e === void 0 ? void 0 : _e.map((option) => {
228
241
  var _a;
229
242
  return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
230
- })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, 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: 'ef8708b7b5c72f4755b057387877a631eea7efe4', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '7ce062862b7f38d673833d45ab59539c71758dcc', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
243
+ })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, 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: '613305a3087d33f6ce2e9a90f6709897067f4355', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '6f3d17afd859cd7f58c64f7d030509478a7fb438', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
231
244
  }
232
245
  static get is() { return "db-select"; }
233
246
  static get properties() {
234
247
  return {
235
- "id": {
248
+ "invalidMessage": {
236
249
  "type": "string",
237
250
  "mutable": false,
238
251
  "complexType": {
239
- "original": "DBSelectProps[\"id\"]",
252
+ "original": "DBSelectProps[\"invalidMessage\"]",
240
253
  "resolved": "string",
241
254
  "references": {
242
255
  "DBSelectProps": {
@@ -256,13 +269,13 @@ export class DBSelect {
256
269
  "getter": false,
257
270
  "setter": false,
258
271
  "reflect": false,
259
- "attribute": "id"
272
+ "attribute": "invalid-message"
260
273
  },
261
- "invalidMessage": {
274
+ "id": {
262
275
  "type": "string",
263
276
  "mutable": false,
264
277
  "complexType": {
265
- "original": "DBSelectProps[\"invalidMessage\"]",
278
+ "original": "DBSelectProps[\"id\"]",
266
279
  "resolved": "string",
267
280
  "references": {
268
281
  "DBSelectProps": {
@@ -282,7 +295,31 @@ export class DBSelect {
282
295
  "getter": false,
283
296
  "setter": false,
284
297
  "reflect": false,
285
- "attribute": "invalid-message"
298
+ "attribute": "id"
299
+ },
300
+ "propOverrides": {
301
+ "type": "unknown",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "DBSelectProps[\"propOverrides\"]",
305
+ "resolved": "{ id?: string; }",
306
+ "references": {
307
+ "DBSelectProps": {
308
+ "location": "import",
309
+ "path": "./model",
310
+ "id": "src/components/select/model.ts::DBSelectProps",
311
+ "referenceLocation": "DBSelectProps"
312
+ }
313
+ }
314
+ },
315
+ "required": false,
316
+ "optional": false,
317
+ "docs": {
318
+ "tags": [],
319
+ "text": ""
320
+ },
321
+ "getter": false,
322
+ "setter": false
286
323
  },
287
324
  "message": {
288
325
  "type": "string",
@@ -977,23 +1014,29 @@ export class DBSelect {
977
1014
  }
978
1015
  static get watchers() {
979
1016
  return [{
980
- "propName": "_ref",
1017
+ "propName": "id",
981
1018
  "methodName": "watch0"
982
1019
  }, {
983
- "propName": "invalidMessage",
1020
+ "propName": "propOverrides?.id",
984
1021
  "methodName": "watch0"
985
1022
  }, {
986
- "propName": "_id",
1023
+ "propName": "_ref",
987
1024
  "methodName": "watch1"
988
1025
  }, {
989
- "propName": "initialized",
1026
+ "propName": "invalidMessage",
990
1027
  "methodName": "watch1"
991
1028
  }, {
992
- "propName": "value",
1029
+ "propName": "_id",
993
1030
  "methodName": "watch2"
994
1031
  }, {
995
- "propName": "_ref",
1032
+ "propName": "initialized",
1033
+ "methodName": "watch2"
1034
+ }, {
1035
+ "propName": "value",
996
1036
  "methodName": "watch3"
1037
+ }, {
1038
+ "propName": "_ref",
1039
+ "methodName": "watch4"
997
1040
  }];
998
1041
  }
999
1042
  }