@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
@@ -323,10 +323,14 @@ export class DBCustomSelect {
323
323
  else if (this.detailsRef.open && event) {
324
324
  if (event.relatedTarget) {
325
325
  const relatedTarget = event.relatedTarget;
326
- if (!this.detailsRef.contains(relatedTarget)) {
326
+ // We close if the focus is on something like a <button> etc. which is not inside the <details> element
327
+ // Inside a <dialog> there is some focus problem because of the top-layer
328
+ // We do not want to focus <dialog> itself
329
+ if (!this.detailsRef.contains(relatedTarget) &&
330
+ relatedTarget.localName !== "dialog") {
327
331
  // We need to use delay here because the combination of `contains`
328
332
  // and changing the DOM element causes a race condition inside browser
329
- delay(() => (this.detailsRef.open = false), 1);
333
+ void delay(() => (this.detailsRef.open = false), 1);
330
334
  }
331
335
  }
332
336
  }
@@ -464,6 +468,20 @@ export class DBCustomSelect {
464
468
  (_a = this.detailsRef.querySelector("summary")) === null || _a === void 0 ? void 0 : _a.focus();
465
469
  }
466
470
  }
471
+ resetIds() {
472
+ var _a, _b, _c;
473
+ 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 : `custom-select-${uuid()}`;
474
+ this._id = mId;
475
+ this._messageId = mId + DEFAULT_MESSAGE_ID_SUFFIX;
476
+ this._validMessageId = mId + DEFAULT_VALID_MESSAGE_ID_SUFFIX;
477
+ this._invalidMessageId = mId + DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
478
+ this._selectId = mId + DEFAULT_SELECT_ID_SUFFIX;
479
+ this._labelId = mId + DEFAULT_LABEL_ID_SUFFIX;
480
+ this._summaryId = mId + "-summary";
481
+ this._placeholderId = mId + DEFAULT_PLACEHOLDER_ID_SUFFIX;
482
+ this._selectedLabelsId = mId + "-selected-labels";
483
+ this._infoTextId = mId + "-info";
484
+ }
467
485
  /**
468
486
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
469
487
  * @param element the ref for the component
@@ -501,14 +519,23 @@ export class DBCustomSelect {
501
519
  }
502
520
  }
503
521
  watch0Fn() {
504
- if (this.detailsRef) {
505
- this.detailsRef.addEventListener("focusout", (event) => this.handleClose(event));
522
+ var _a, _b;
523
+ if ((_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) {
524
+ this.resetIds();
506
525
  }
507
526
  }
508
527
  watch0() {
509
528
  this.watch0Fn();
510
529
  }
511
530
  watch1Fn() {
531
+ if (this.detailsRef) {
532
+ this.detailsRef.addEventListener("focusout", (event) => this.handleClose(event));
533
+ }
534
+ }
535
+ watch1() {
536
+ this.watch1Fn();
537
+ }
538
+ watch2Fn() {
512
539
  if (this._id) {
513
540
  const messageId = this._id + DEFAULT_MESSAGE_ID_SUFFIX;
514
541
  this._labelId = this._id + DEFAULT_LABEL_ID_SUFFIX;
@@ -524,10 +551,10 @@ export class DBCustomSelect {
524
551
  }
525
552
  }
526
553
  }
527
- watch1() {
528
- this.watch1Fn();
554
+ watch2() {
555
+ this.watch2Fn();
529
556
  }
530
- watch2Fn() {
557
+ watch3Fn() {
531
558
  var _a;
532
559
  if (this.detailsRef) {
533
560
  const summary = this.detailsRef.querySelector("summary");
@@ -536,10 +563,10 @@ export class DBCustomSelect {
536
563
  }
537
564
  }
538
565
  }
539
- watch2() {
540
- this.watch2Fn();
566
+ watch3() {
567
+ this.watch3Fn();
541
568
  }
542
- watch3Fn() {
569
+ watch4Fn() {
543
570
  if (this.showNoResults !== undefined) {
544
571
  this._hasNoOptions = this.showNoResults;
545
572
  }
@@ -547,24 +574,24 @@ export class DBCustomSelect {
547
574
  this._hasNoOptions = this._options.length === 0;
548
575
  }
549
576
  }
550
- watch3() {
551
- this.watch3Fn();
552
- }
553
- watch4Fn() {
554
- var _a;
555
- this.selectAllEnabled = Boolean(this.multiple && ((_a = this.showSelectAll) !== null && _a !== void 0 ? _a : this.amountOptions > 5));
556
- }
557
577
  watch4() {
558
578
  this.watch4Fn();
559
579
  }
560
580
  watch5Fn() {
561
581
  var _a;
562
- this.searchEnabled = (_a = this.showSearch) !== null && _a !== void 0 ? _a : this.amountOptions > 9;
582
+ this.selectAllEnabled = Boolean(this.multiple && ((_a = this.showSelectAll) !== null && _a !== void 0 ? _a : this.amountOptions > 5));
563
583
  }
564
584
  watch5() {
565
585
  this.watch5Fn();
566
586
  }
567
587
  watch6Fn() {
588
+ var _a;
589
+ this.searchEnabled = (_a = this.showSearch) !== null && _a !== void 0 ? _a : this.amountOptions > 9;
590
+ }
591
+ watch6() {
592
+ this.watch6Fn();
593
+ }
594
+ watch7Fn() {
568
595
  var _a;
569
596
  const v = this.values;
570
597
  if (Array.isArray(v)) {
@@ -576,18 +603,18 @@ export class DBCustomSelect {
576
603
  this._values = [];
577
604
  }
578
605
  }
579
- watch6() {
580
- this.watch6Fn();
606
+ watch7() {
607
+ this.watch7Fn();
581
608
  }
582
- watch7Fn() {
609
+ watch8Fn() {
583
610
  if (this.selectRef) {
584
611
  this.handleValidation();
585
612
  }
586
613
  }
587
- watch7() {
588
- this.watch7Fn();
614
+ watch8() {
615
+ this.watch8Fn();
589
616
  }
590
- watch8Fn() {
617
+ watch9Fn() {
591
618
  if (this.selectRef) {
592
619
  let controller = this.abortController;
593
620
  if (!controller) {
@@ -606,16 +633,16 @@ export class DBCustomSelect {
606
633
  }, controller.signal);
607
634
  }
608
635
  }
609
- watch8() {
610
- this.watch8Fn();
611
- }
612
- watch9Fn() {
613
- this._validity = this.validation;
614
- }
615
636
  watch9() {
616
637
  this.watch9Fn();
617
638
  }
618
639
  watch10Fn() {
640
+ this._validity = this.validation;
641
+ }
642
+ watch10() {
643
+ this.watch10Fn();
644
+ }
645
+ watch11Fn() {
619
646
  var _a, _b;
620
647
  if (((_a = this._values) === null || _a === void 0 ? void 0 : _a.length) === 0) {
621
648
  this.selectAllChecked = false;
@@ -629,29 +656,29 @@ export class DBCustomSelect {
629
656
  this.selectAllIndeterminate = true;
630
657
  }
631
658
  }
632
- watch10() {
633
- this.watch10Fn();
659
+ watch11() {
660
+ this.watch11Fn();
634
661
  }
635
- watch11Fn() {
662
+ watch12Fn() {
636
663
  var _a, _b;
637
664
  this._options = this.options;
638
665
  this.amountOptions =
639
666
  (_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.filter((option) => !option.isGroupTitle).length) !== null && _b !== void 0 ? _b : 0;
640
667
  }
641
- watch11() {
642
- this.watch11Fn();
668
+ watch12() {
669
+ this.watch12Fn();
643
670
  }
644
- watch12Fn() {
671
+ watch13Fn() {
645
672
  this._searchValue = this.searchValue;
646
673
  if (this.searchValue) {
647
674
  const sValue = this.searchValue; // <- workaround for Angular
648
675
  this.handleSearch(sValue);
649
676
  }
650
677
  }
651
- watch12() {
652
- this.watch12Fn();
678
+ watch13() {
679
+ this.watch13Fn();
653
680
  }
654
- watch13Fn() {
681
+ watch14Fn() {
655
682
  var _a, _b;
656
683
  if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) {
657
684
  this._selectedOptions = (_b = this.options) === null || _b === void 0 ? void 0 : _b.filter((option) => {
@@ -663,10 +690,10 @@ export class DBCustomSelect {
663
690
  });
664
691
  }
665
692
  }
666
- watch13() {
667
- this.watch13Fn();
693
+ watch14() {
694
+ this.watch14Fn();
668
695
  }
669
- watch14Fn() {
696
+ watch15Fn() {
670
697
  var _a, _b, _c;
671
698
  if (this.selectedLabels) {
672
699
  this._selectedLabels = this.selectedLabels;
@@ -693,50 +720,39 @@ export class DBCustomSelect {
693
720
  this._selectedLabels = "";
694
721
  }
695
722
  }
696
- watch14() {
697
- this.watch14Fn();
723
+ watch15() {
724
+ this.watch15Fn();
698
725
  }
699
- watch15Fn() {
726
+ watch16Fn() {
700
727
  var _a, _b;
701
728
  if (this.amountChange) {
702
729
  this.amountChange.emit((_b = (_a = this._selectedOptions) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0);
703
730
  }
704
731
  }
705
- watch15() {
706
- this.watch15Fn();
732
+ watch16() {
733
+ this.watch16Fn();
707
734
  }
708
- watch16Fn() {
735
+ watch17Fn() {
709
736
  if (this.selectAllRef) {
710
737
  this.selectAllRef.indeterminate = Boolean(this.selectAllIndeterminate);
711
738
  }
712
739
  }
713
- watch16() {
714
- this.watch16Fn();
740
+ watch17() {
741
+ this.watch17Fn();
715
742
  }
716
- watch17Fn() {
743
+ watch18Fn() {
717
744
  var _a;
718
745
  this._invalidMessage =
719
746
  this.invalidMessage ||
720
747
  ((_a = this.selectRef) === null || _a === void 0 ? void 0 : _a.validationMessage) ||
721
748
  DEFAULT_INVALID_MESSAGE;
722
749
  }
723
- watch17() {
724
- this.watch17Fn();
750
+ watch18() {
751
+ this.watch18Fn();
725
752
  }
726
753
  componentDidLoad() {
727
- var _a;
728
754
  this.enableAttributePassing(this._ref, "db-custom-select");
729
- const mId = (_a = this.id) !== null && _a !== void 0 ? _a : `custom-select-${uuid()}`;
730
- this._id = mId;
731
- this._messageId = mId + DEFAULT_MESSAGE_ID_SUFFIX;
732
- this._validMessageId = mId + DEFAULT_VALID_MESSAGE_ID_SUFFIX;
733
- this._invalidMessageId = mId + DEFAULT_INVALID_MESSAGE_ID_SUFFIX;
734
- this._selectId = mId + DEFAULT_SELECT_ID_SUFFIX;
735
- this._labelId = mId + DEFAULT_LABEL_ID_SUFFIX;
736
- this._summaryId = mId + "-summary";
737
- this._placeholderId = mId + DEFAULT_PLACEHOLDER_ID_SUFFIX;
738
- this._selectedLabelsId = mId + "-selected-labels";
739
- this._infoTextId = mId + "-info";
755
+ this.resetIds();
740
756
  this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
741
757
  if (typeof window !== "undefined" && "IntersectionObserver" in window) {
742
758
  this._observer = new IntersectionObserver((payload) => {
@@ -766,6 +782,7 @@ export class DBCustomSelect {
766
782
  this.watch15Fn();
767
783
  this.watch16Fn();
768
784
  this.watch17Fn();
785
+ this.watch18Fn();
769
786
  }
770
787
  disconnectedCallback() {
771
788
  var _a;
@@ -773,19 +790,19 @@ export class DBCustomSelect {
773
790
  }
774
791
  render() {
775
792
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
776
- return (h("div", { key: 'bb7f2bd039a1d7f97bca1408e4c462c029963128', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
793
+ return (h("div", { key: '04344ea736f4311c09459970f6c743516c0a45ba', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
777
794
  this._ref = el;
778
795
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
779
796
  this.selectedType === "tag" &&
780
797
  this.multiple
781
798
  ? "above"
782
- : 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: 'cf9b29fb5c955bd22928803a491d7a76463c1c42', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: 'ab1c6f7adafe07b6d91cb12abb058e41faa27c82', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
799
+ : 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) => {
783
800
  this.selectRef = el;
784
801
  }, 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)
785
802
  ? (_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))))
786
- : null)), h("details", { key: 'ba829c0fb72fe74896a927f06cb9f8005621524b', ref: (el) => {
803
+ : null)), h("details", { key: 'e0617c55fb94a72432719b485d922d87cca58d40', ref: (el) => {
787
804
  this.detailsRef = el;
788
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '90e00cda7265025b8299ff92bfac46f2f242c899' }), 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, index) => (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) => {
805
+ }, 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) => {
789
806
  this.searchInputRef = el;
790
807
  }, 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
791
808
  ? this._infoTextId
@@ -795,16 +812,16 @@ export class DBCustomSelect {
795
812
  this.selectAllRef = el;
796
813
  }, 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
797
814
  ? this.getOptionLabel(option)
798
- : 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: '5cc4a48735e41b769c36e059d613f8c83b641ba1', 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: 'ac47ebdaff258f7e19f2dbf447054369a919633c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c568834fa90ab614cad1dcdc4de89daf25df1ffb', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
815
+ : 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)));
799
816
  }
800
817
  static get is() { return "db-custom-select"; }
801
818
  static get properties() {
802
819
  return {
803
- "id": {
820
+ "invalidMessage": {
804
821
  "type": "string",
805
822
  "mutable": false,
806
823
  "complexType": {
807
- "original": "DBCustomSelectProps[\"id\"]",
824
+ "original": "DBCustomSelectProps[\"invalidMessage\"]",
808
825
  "resolved": "string",
809
826
  "references": {
810
827
  "DBCustomSelectProps": {
@@ -824,13 +841,13 @@ export class DBCustomSelect {
824
841
  "getter": false,
825
842
  "setter": false,
826
843
  "reflect": false,
827
- "attribute": "id"
844
+ "attribute": "invalid-message"
828
845
  },
829
- "invalidMessage": {
846
+ "id": {
830
847
  "type": "string",
831
848
  "mutable": false,
832
849
  "complexType": {
833
- "original": "DBCustomSelectProps[\"invalidMessage\"]",
850
+ "original": "DBCustomSelectProps[\"id\"]",
834
851
  "resolved": "string",
835
852
  "references": {
836
853
  "DBCustomSelectProps": {
@@ -850,7 +867,31 @@ export class DBCustomSelect {
850
867
  "getter": false,
851
868
  "setter": false,
852
869
  "reflect": false,
853
- "attribute": "invalid-message"
870
+ "attribute": "id"
871
+ },
872
+ "propOverrides": {
873
+ "type": "unknown",
874
+ "mutable": false,
875
+ "complexType": {
876
+ "original": "DBCustomSelectProps[\"propOverrides\"]",
877
+ "resolved": "{ id?: string; }",
878
+ "references": {
879
+ "DBCustomSelectProps": {
880
+ "location": "import",
881
+ "path": "./model",
882
+ "id": "src/components/custom-select/model.ts::DBCustomSelectProps",
883
+ "referenceLocation": "DBCustomSelectProps"
884
+ }
885
+ }
886
+ },
887
+ "required": false,
888
+ "optional": false,
889
+ "docs": {
890
+ "tags": [],
891
+ "text": ""
892
+ },
893
+ "getter": false,
894
+ "setter": false
854
895
  },
855
896
  "message": {
856
897
  "type": "string",
@@ -2142,104 +2183,110 @@ export class DBCustomSelect {
2142
2183
  }
2143
2184
  static get watchers() {
2144
2185
  return [{
2145
- "propName": "detailsRef",
2186
+ "propName": "id",
2146
2187
  "methodName": "watch0"
2147
2188
  }, {
2148
- "propName": "_id",
2149
- "methodName": "watch1"
2189
+ "propName": "propOverrides?.id",
2190
+ "methodName": "watch0"
2150
2191
  }, {
2151
2192
  "propName": "detailsRef",
2193
+ "methodName": "watch1"
2194
+ }, {
2195
+ "propName": "_id",
2152
2196
  "methodName": "watch2"
2197
+ }, {
2198
+ "propName": "detailsRef",
2199
+ "methodName": "watch3"
2153
2200
  }, {
2154
2201
  "propName": "_descByIds",
2155
- "methodName": "watch2"
2202
+ "methodName": "watch3"
2156
2203
  }, {
2157
2204
  "propName": "showNoResults",
2158
- "methodName": "watch3"
2205
+ "methodName": "watch4"
2159
2206
  }, {
2160
2207
  "propName": "showLoading",
2161
- "methodName": "watch3"
2208
+ "methodName": "watch4"
2162
2209
  }, {
2163
2210
  "propName": "_options",
2164
- "methodName": "watch3"
2211
+ "methodName": "watch4"
2165
2212
  }, {
2166
2213
  "propName": "showSelectAll",
2167
- "methodName": "watch4"
2214
+ "methodName": "watch5"
2168
2215
  }, {
2169
2216
  "propName": "amountOptions",
2170
- "methodName": "watch4"
2217
+ "methodName": "watch5"
2171
2218
  }, {
2172
2219
  "propName": "multiple",
2173
- "methodName": "watch4"
2220
+ "methodName": "watch5"
2174
2221
  }, {
2175
2222
  "propName": "showSearch",
2176
- "methodName": "watch5"
2223
+ "methodName": "watch6"
2177
2224
  }, {
2178
2225
  "propName": "amountOptions",
2179
- "methodName": "watch5"
2226
+ "methodName": "watch6"
2180
2227
  }, {
2181
2228
  "propName": "values",
2182
- "methodName": "watch6"
2229
+ "methodName": "watch7"
2183
2230
  }, {
2184
2231
  "propName": "_values",
2185
- "methodName": "watch7"
2232
+ "methodName": "watch8"
2186
2233
  }, {
2187
2234
  "propName": "selectRef",
2188
- "methodName": "watch7"
2235
+ "methodName": "watch8"
2189
2236
  }, {
2190
2237
  "propName": "selectRef",
2191
- "methodName": "watch8"
2238
+ "methodName": "watch9"
2192
2239
  }, {
2193
2240
  "propName": "validation",
2194
- "methodName": "watch9"
2241
+ "methodName": "watch10"
2195
2242
  }, {
2196
2243
  "propName": "_values",
2197
- "methodName": "watch10"
2244
+ "methodName": "watch11"
2198
2245
  }, {
2199
2246
  "propName": "amountOptions",
2200
- "methodName": "watch10"
2247
+ "methodName": "watch11"
2201
2248
  }, {
2202
2249
  "propName": "options",
2203
- "methodName": "watch11"
2250
+ "methodName": "watch12"
2204
2251
  }, {
2205
2252
  "propName": "searchValue",
2206
- "methodName": "watch12"
2253
+ "methodName": "watch13"
2207
2254
  }, {
2208
2255
  "propName": "options",
2209
- "methodName": "watch13"
2256
+ "methodName": "watch14"
2210
2257
  }, {
2211
2258
  "propName": "_values",
2212
- "methodName": "watch13"
2259
+ "methodName": "watch14"
2213
2260
  }, {
2214
2261
  "propName": "_selectedOptions",
2215
- "methodName": "watch14"
2262
+ "methodName": "watch15"
2216
2263
  }, {
2217
2264
  "propName": "selectedType",
2218
- "methodName": "watch14"
2265
+ "methodName": "watch15"
2219
2266
  }, {
2220
2267
  "propName": "amountText",
2221
- "methodName": "watch14"
2268
+ "methodName": "watch15"
2222
2269
  }, {
2223
2270
  "propName": "selectedLabels",
2224
- "methodName": "watch14"
2271
+ "methodName": "watch15"
2225
2272
  }, {
2226
2273
  "propName": "transformSelectedLabels",
2227
- "methodName": "watch14"
2274
+ "methodName": "watch15"
2228
2275
  }, {
2229
2276
  "propName": "_selectedOptions",
2230
- "methodName": "watch15"
2277
+ "methodName": "watch16"
2231
2278
  }, {
2232
2279
  "propName": "selectAllIndeterminate",
2233
- "methodName": "watch16"
2280
+ "methodName": "watch17"
2234
2281
  }, {
2235
2282
  "propName": "selectAllRef",
2236
- "methodName": "watch16"
2283
+ "methodName": "watch17"
2237
2284
  }, {
2238
2285
  "propName": "selectRef",
2239
- "methodName": "watch17"
2286
+ "methodName": "watch18"
2240
2287
  }, {
2241
2288
  "propName": "invalidMessage",
2242
- "methodName": "watch17"
2289
+ "methodName": "watch18"
2243
2290
  }];
2244
2291
  }
2245
2292
  }
@@ -48,9 +48,10 @@ export class DBCustomSelectDropdown {
48
48
  this.enableAttributePassing(this._ref, "db-custom-select-dropdown");
49
49
  }
50
50
  render() {
51
- return (h("article", { key: 'ac22786c8688e2f979e626155cb8dea54a5380b7', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
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
53
  this._ref = el;
53
- }, id: this.id, "data-width": this.width }, h("slot", { key: '2257275bfc7a9f75e944d61e8afc7493770478b5' })));
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
55
  }
55
56
  static get is() { return "db-custom-select-dropdown"; }
56
57
  static get properties() {
@@ -81,6 +82,30 @@ export class DBCustomSelectDropdown {
81
82
  "reflect": false,
82
83
  "attribute": "id"
83
84
  },
85
+ "propOverrides": {
86
+ "type": "unknown",
87
+ "mutable": false,
88
+ "complexType": {
89
+ "original": "DBCustomSelectDropdownProps[\"propOverrides\"]",
90
+ "resolved": "{ id?: string; }",
91
+ "references": {
92
+ "DBCustomSelectDropdownProps": {
93
+ "location": "import",
94
+ "path": "./model",
95
+ "id": "src/components/custom-select-dropdown/model.ts::DBCustomSelectDropdownProps",
96
+ "referenceLocation": "DBCustomSelectDropdownProps"
97
+ }
98
+ }
99
+ },
100
+ "required": false,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": ""
105
+ },
106
+ "getter": false,
107
+ "setter": false
108
+ },
84
109
  "className": {
85
110
  "type": "string",
86
111
  "mutable": false,
@@ -45,9 +45,10 @@ export class DBCustomSelectFormField {
45
45
  this.enableAttributePassing(this._ref, "db-custom-select-form-field");
46
46
  }
47
47
  render() {
48
- return (h("summary", { key: '4ade22e5e7d664747ba44a25cea8778ee76de2c0', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
48
+ var _a, _b;
49
+ return (h("summary", { key: '960e6eb6b0f7f46884e26a820f3ae38e13d57f33', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
49
50
  this._ref = el;
50
- }, id: this.id }, h("slot", { key: '457f965d451fcd6e03199b4273a2e0ebb6b85bb1' })));
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
52
  }
52
53
  static get is() { return "db-custom-select-form-field"; }
53
54
  static get properties() {
@@ -78,6 +79,30 @@ export class DBCustomSelectFormField {
78
79
  "reflect": false,
79
80
  "attribute": "id"
80
81
  },
82
+ "propOverrides": {
83
+ "type": "unknown",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "DBCustomSelectFormFieldProps[\"propOverrides\"]",
87
+ "resolved": "{ id?: string; }",
88
+ "references": {
89
+ "DBCustomSelectFormFieldProps": {
90
+ "location": "import",
91
+ "path": "./model",
92
+ "id": "src/components/custom-select-form-field/model.ts::DBCustomSelectFormFieldProps",
93
+ "referenceLocation": "DBCustomSelectFormFieldProps"
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,