@db-ux/wc-core-components 4.9.0 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +114 -25
  3. package/bundle/db-accordion-item.d.ts +11 -0
  4. package/bundle/db-accordion-item.js +1 -0
  5. package/bundle/db-accordion.d.ts +11 -0
  6. package/bundle/db-accordion.js +1 -0
  7. package/bundle/db-badge.d.ts +11 -0
  8. package/bundle/db-badge.js +1 -0
  9. package/bundle/db-brand.d.ts +11 -0
  10. package/bundle/db-brand.js +1 -0
  11. package/bundle/db-button.d.ts +11 -0
  12. package/bundle/db-button.js +1 -0
  13. package/bundle/db-card.d.ts +11 -0
  14. package/bundle/db-card.js +1 -0
  15. package/bundle/db-checkbox.d.ts +11 -0
  16. package/bundle/db-checkbox.js +1 -0
  17. package/bundle/db-custom-button.d.ts +11 -0
  18. package/bundle/db-custom-button.js +1 -0
  19. package/bundle/db-custom-select-dropdown.d.ts +11 -0
  20. package/bundle/db-custom-select-dropdown.js +1 -0
  21. package/bundle/db-custom-select-form-field.d.ts +11 -0
  22. package/bundle/db-custom-select-form-field.js +1 -0
  23. package/bundle/db-custom-select-list-item.d.ts +11 -0
  24. package/bundle/db-custom-select-list-item.js +1 -0
  25. package/bundle/db-custom-select-list.d.ts +11 -0
  26. package/bundle/db-custom-select-list.js +1 -0
  27. package/bundle/db-custom-select.d.ts +11 -0
  28. package/bundle/db-custom-select.js +1 -0
  29. package/bundle/db-divider.d.ts +11 -0
  30. package/bundle/db-divider.js +1 -0
  31. package/bundle/db-drawer.d.ts +11 -0
  32. package/bundle/db-drawer.js +1 -0
  33. package/bundle/db-header.d.ts +11 -0
  34. package/bundle/db-header.js +1 -0
  35. package/bundle/db-icon.d.ts +11 -0
  36. package/bundle/db-icon.js +1 -0
  37. package/bundle/db-infotext.d.ts +11 -0
  38. package/bundle/db-infotext.js +1 -0
  39. package/bundle/db-input.d.ts +11 -0
  40. package/bundle/db-input.js +1 -0
  41. package/bundle/db-link.d.ts +11 -0
  42. package/bundle/db-link.js +1 -0
  43. package/bundle/db-navigation-item.d.ts +11 -0
  44. package/bundle/db-navigation-item.js +1 -0
  45. package/bundle/db-navigation.d.ts +11 -0
  46. package/bundle/db-navigation.js +1 -0
  47. package/bundle/db-notification.d.ts +11 -0
  48. package/bundle/db-notification.js +1 -0
  49. package/bundle/db-page.d.ts +11 -0
  50. package/bundle/db-page.js +1 -0
  51. package/bundle/db-popover.d.ts +11 -0
  52. package/bundle/db-popover.js +1 -0
  53. package/bundle/db-radio.d.ts +11 -0
  54. package/bundle/db-radio.js +1 -0
  55. package/bundle/db-section.d.ts +11 -0
  56. package/bundle/db-section.js +1 -0
  57. package/bundle/db-select.d.ts +11 -0
  58. package/bundle/db-select.js +1 -0
  59. package/bundle/db-stack.d.ts +11 -0
  60. package/bundle/db-stack.js +1 -0
  61. package/bundle/db-switch.d.ts +11 -0
  62. package/bundle/db-switch.js +1 -0
  63. package/bundle/db-tab-item.d.ts +11 -0
  64. package/bundle/db-tab-item.js +1 -0
  65. package/bundle/db-tab-list.d.ts +11 -0
  66. package/bundle/db-tab-list.js +1 -0
  67. package/bundle/db-tab-panel.d.ts +11 -0
  68. package/bundle/db-tab-panel.js +1 -0
  69. package/bundle/db-tabs.d.ts +11 -0
  70. package/bundle/db-tabs.js +1 -0
  71. package/bundle/db-tag.d.ts +11 -0
  72. package/bundle/db-tag.js +1 -0
  73. package/bundle/db-textarea.d.ts +11 -0
  74. package/bundle/db-textarea.js +1 -0
  75. package/bundle/db-tooltip.d.ts +11 -0
  76. package/bundle/db-tooltip.js +1 -0
  77. package/bundle/index.d.ts +47 -0
  78. package/bundle/index.js +1 -0
  79. package/bundle/p-4TaCoruo.js +1 -0
  80. package/bundle/p-4nwUOzw7.js +1 -0
  81. package/bundle/p-BJJFATCC.js +1 -0
  82. package/bundle/p-BdL-nI5y.js +1 -0
  83. package/bundle/p-BuBrj57D.js +1 -0
  84. package/bundle/p-CCbaTFJ9.js +1 -0
  85. package/bundle/p-CEiQBevg.js +1 -0
  86. package/bundle/p-CV8l9qaA.js +1 -0
  87. package/bundle/p-CmqAwQNR.js +1 -0
  88. package/bundle/p-D4Ym01qf.js +1 -0
  89. package/bundle/p-DE_eDJiD.js +1 -0
  90. package/bundle/p-DOPXnIzL.js +1 -0
  91. package/bundle/p-DS39nEhJ.js +1 -0
  92. package/bundle/p-DVYa1bHg.js +1 -0
  93. package/bundle/p-DwwxAylo.js +1 -0
  94. package/bundle/p-QNp8H1KD.js +1 -0
  95. package/bundle/p-_2t1bnPD.js +1 -0
  96. package/bundle/p-bzxfqhtq.js +1 -0
  97. package/bundle/p-e18AQLns.js +1 -0
  98. package/dist/cjs/db-accordion-item.cjs.entry.js +26 -4
  99. package/dist/cjs/db-accordion.cjs.entry.js +10 -3
  100. package/dist/cjs/db-badge.cjs.entry.js +10 -3
  101. package/dist/cjs/db-brand.cjs.entry.js +10 -3
  102. package/dist/cjs/db-button.cjs.entry.js +10 -3
  103. package/dist/cjs/db-card.cjs.entry.js +10 -3
  104. package/dist/cjs/db-checkbox.cjs.entry.js +10 -3
  105. package/dist/cjs/db-custom-button.cjs.entry.js +10 -3
  106. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +45 -10
  107. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +10 -3
  108. package/dist/cjs/db-custom-select.cjs.entry.js +13 -6
  109. package/dist/cjs/db-divider.cjs.entry.js +9 -2
  110. package/dist/cjs/db-drawer.cjs.entry.js +14 -7
  111. package/dist/cjs/db-header.cjs.entry.js +10 -3
  112. package/dist/cjs/db-icon.cjs.entry.js +10 -3
  113. package/dist/cjs/db-infotext.cjs.entry.js +10 -3
  114. package/dist/cjs/db-link.cjs.entry.js +10 -3
  115. package/dist/cjs/db-navigation-item.cjs.entry.js +11 -3
  116. package/dist/cjs/db-navigation.cjs.entry.js +10 -3
  117. package/dist/cjs/db-notification.cjs.entry.js +10 -3
  118. package/dist/cjs/db-page.cjs.entry.js +10 -3
  119. package/dist/cjs/db-popover.cjs.entry.js +10 -3
  120. package/dist/cjs/db-radio.cjs.entry.js +10 -3
  121. package/dist/cjs/db-section.cjs.entry.js +10 -3
  122. package/dist/cjs/db-select.cjs.entry.js +10 -3
  123. package/dist/cjs/db-stack.cjs.entry.js +10 -3
  124. package/dist/cjs/db-switch.cjs.entry.js +10 -3
  125. package/dist/cjs/db-tab-item_3.cjs.entry.js +28 -7
  126. package/dist/cjs/db-tabs.cjs.entry.js +10 -3
  127. package/dist/cjs/db-textarea.cjs.entry.js +10 -3
  128. package/dist/cjs/db-tooltip.cjs.entry.js +10 -3
  129. package/dist/cjs/db-ux.cjs.js +2 -2
  130. package/dist/cjs/{index-BoC-BWt4.js → index-DLuhzJ0p.js} +1 -0
  131. package/dist/cjs/loader.cjs.js +2 -2
  132. package/dist/collection/components/accordion/accordion.js +9 -2
  133. package/dist/collection/components/accordion-item/accordion-item.js +53 -5
  134. package/dist/collection/components/badge/badge.js +9 -2
  135. package/dist/collection/components/brand/brand.js +9 -2
  136. package/dist/collection/components/button/button.js +10 -3
  137. package/dist/collection/components/card/card.js +10 -3
  138. package/dist/collection/components/checkbox/checkbox.js +10 -3
  139. package/dist/collection/components/custom-button/custom-button.js +9 -2
  140. package/dist/collection/components/custom-select/custom-select.js +13 -6
  141. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +9 -2
  142. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +9 -2
  143. package/dist/collection/components/custom-select-list/custom-select-list.js +9 -2
  144. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +9 -2
  145. package/dist/collection/components/divider/divider.js +8 -1
  146. package/dist/collection/components/drawer/drawer.js +15 -8
  147. package/dist/collection/components/header/header.js +20 -13
  148. package/dist/collection/components/icon/icon.js +9 -2
  149. package/dist/collection/components/infotext/infotext.js +9 -2
  150. package/dist/collection/components/input/input.js +10 -3
  151. package/dist/collection/components/link/link.js +9 -2
  152. package/dist/collection/components/navigation/navigation.js +9 -2
  153. package/dist/collection/components/navigation-item/navigation-item.js +37 -3
  154. package/dist/collection/components/notification/notification.js +10 -3
  155. package/dist/collection/components/page/page.js +9 -2
  156. package/dist/collection/components/popover/popover.js +9 -2
  157. package/dist/collection/components/radio/radio.js +10 -3
  158. package/dist/collection/components/section/section.js +9 -2
  159. package/dist/collection/components/select/select.js +10 -3
  160. package/dist/collection/components/stack/stack.js +9 -2
  161. package/dist/collection/components/switch/switch.js +10 -3
  162. package/dist/collection/components/tab-item/tab-item.js +10 -3
  163. package/dist/collection/components/tab-list/tab-list.js +9 -2
  164. package/dist/collection/components/tab-panel/tab-panel.js +9 -2
  165. package/dist/collection/components/tabs/tabs.js +10 -3
  166. package/dist/collection/components/tag/tag.js +10 -3
  167. package/dist/collection/components/textarea/textarea.js +10 -3
  168. package/dist/collection/components/tooltip/tooltip.js +9 -2
  169. package/dist/custom-elements.json +2276 -36
  170. package/dist/db-ux/db-ux.esm.js +1 -1
  171. package/dist/db-ux/p-0ae85978.entry.js +1 -0
  172. package/dist/db-ux/p-13afb969.entry.js +1 -0
  173. package/dist/db-ux/p-174d2486.entry.js +1 -0
  174. package/dist/db-ux/p-28c257d5.entry.js +1 -0
  175. package/dist/db-ux/p-293510ca.entry.js +1 -0
  176. package/dist/db-ux/p-331ad11c.entry.js +1 -0
  177. package/dist/db-ux/p-339a6ca0.entry.js +1 -0
  178. package/dist/db-ux/p-34e21986.entry.js +1 -0
  179. package/dist/db-ux/p-368d25ab.entry.js +1 -0
  180. package/dist/db-ux/p-4580938f.entry.js +1 -0
  181. package/dist/db-ux/p-47910fdc.entry.js +1 -0
  182. package/dist/db-ux/p-5d2e2a8d.entry.js +1 -0
  183. package/dist/db-ux/p-691ae341.entry.js +1 -0
  184. package/dist/db-ux/p-7c58337d.entry.js +1 -0
  185. package/dist/db-ux/p-7f4d00df.entry.js +1 -0
  186. package/dist/db-ux/p-9712c9c9.entry.js +1 -0
  187. package/dist/db-ux/p-9b907b56.entry.js +1 -0
  188. package/dist/db-ux/p-9c3ff50e.entry.js +1 -0
  189. package/dist/db-ux/p-Cr2cgn5B.js +2 -0
  190. package/dist/db-ux/p-a56886ea.entry.js +1 -0
  191. package/dist/db-ux/p-a617da42.entry.js +1 -0
  192. package/dist/db-ux/p-aad0c4ef.entry.js +1 -0
  193. package/dist/db-ux/p-ae3183f0.entry.js +1 -0
  194. package/dist/db-ux/p-ae457f95.entry.js +1 -0
  195. package/dist/db-ux/p-b1e7ba0f.entry.js +1 -0
  196. package/dist/db-ux/p-cac5b161.entry.js +1 -0
  197. package/dist/db-ux/p-dcf02351.entry.js +1 -0
  198. package/dist/db-ux/p-e46dc907.entry.js +1 -0
  199. package/dist/db-ux/p-f27c6655.entry.js +1 -0
  200. package/dist/db-ux/p-f583f756.entry.js +1 -0
  201. package/dist/db-ux/p-f65e1db8.entry.js +1 -0
  202. package/dist/db-ux/p-fe5d3eb6.entry.js +1 -0
  203. package/dist/esm/db-accordion-item.entry.js +27 -5
  204. package/dist/esm/db-accordion.entry.js +10 -3
  205. package/dist/esm/db-badge.entry.js +10 -3
  206. package/dist/esm/db-brand.entry.js +10 -3
  207. package/dist/esm/db-button.entry.js +10 -3
  208. package/dist/esm/db-card.entry.js +10 -3
  209. package/dist/esm/db-checkbox.entry.js +10 -3
  210. package/dist/esm/db-custom-button.entry.js +10 -3
  211. package/dist/esm/db-custom-select-dropdown_5.entry.js +45 -10
  212. package/dist/esm/db-custom-select-form-field.entry.js +10 -3
  213. package/dist/esm/db-custom-select.entry.js +13 -6
  214. package/dist/esm/db-divider.entry.js +9 -2
  215. package/dist/esm/db-drawer.entry.js +15 -8
  216. package/dist/esm/db-header.entry.js +10 -3
  217. package/dist/esm/db-icon.entry.js +10 -3
  218. package/dist/esm/db-infotext.entry.js +10 -3
  219. package/dist/esm/db-link.entry.js +10 -3
  220. package/dist/esm/db-navigation-item.entry.js +11 -3
  221. package/dist/esm/db-navigation.entry.js +10 -3
  222. package/dist/esm/db-notification.entry.js +10 -3
  223. package/dist/esm/db-page.entry.js +10 -3
  224. package/dist/esm/db-popover.entry.js +10 -3
  225. package/dist/esm/db-radio.entry.js +10 -3
  226. package/dist/esm/db-section.entry.js +10 -3
  227. package/dist/esm/db-select.entry.js +10 -3
  228. package/dist/esm/db-stack.entry.js +10 -3
  229. package/dist/esm/db-switch.entry.js +10 -3
  230. package/dist/esm/db-tab-item_3.entry.js +28 -7
  231. package/dist/esm/db-tabs.entry.js +10 -3
  232. package/dist/esm/db-textarea.entry.js +10 -3
  233. package/dist/esm/db-tooltip.entry.js +10 -3
  234. package/dist/esm/db-ux.js +3 -3
  235. package/dist/esm/{index-K4o-AcjZ.js → index-Cr2cgn5B.js} +1 -1
  236. package/dist/esm/loader.js +3 -3
  237. package/dist/types/components/accordion/accordion.d.ts +1 -0
  238. package/dist/types/components/accordion/model.d.ts +2 -2
  239. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
  240. package/dist/types/components/accordion-item/model.d.ts +5 -1
  241. package/dist/types/components/badge/badge.d.ts +1 -0
  242. package/dist/types/components/badge/model.d.ts +1 -1
  243. package/dist/types/components/brand/brand.d.ts +1 -0
  244. package/dist/types/components/brand/model.d.ts +1 -1
  245. package/dist/types/components/button/button.d.ts +1 -0
  246. package/dist/types/components/button/model.d.ts +1 -1
  247. package/dist/types/components/card/card.d.ts +1 -0
  248. package/dist/types/components/card/model.d.ts +1 -1
  249. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  250. package/dist/types/components/checkbox/model.d.ts +1 -1
  251. package/dist/types/components/custom-button/custom-button.d.ts +1 -0
  252. package/dist/types/components/custom-button/model.d.ts +2 -2
  253. package/dist/types/components/custom-select/custom-select.d.ts +1 -0
  254. package/dist/types/components/custom-select/model.d.ts +4 -4
  255. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
  256. package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
  257. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
  258. package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
  259. package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
  260. package/dist/types/components/custom-select-list/model.d.ts +1 -1
  261. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
  262. package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
  263. package/dist/types/components/divider/divider.d.ts +1 -0
  264. package/dist/types/components/divider/model.d.ts +1 -1
  265. package/dist/types/components/drawer/drawer.d.ts +1 -0
  266. package/dist/types/components/drawer/model.d.ts +1 -1
  267. package/dist/types/components/header/header.d.ts +3 -2
  268. package/dist/types/components/header/model.d.ts +1 -1
  269. package/dist/types/components/icon/icon.d.ts +1 -0
  270. package/dist/types/components/icon/model.d.ts +1 -1
  271. package/dist/types/components/infotext/infotext.d.ts +1 -0
  272. package/dist/types/components/infotext/model.d.ts +1 -1
  273. package/dist/types/components/input/input.d.ts +1 -0
  274. package/dist/types/components/input/model.d.ts +1 -1
  275. package/dist/types/components/link/link.d.ts +1 -0
  276. package/dist/types/components/link/model.d.ts +1 -1
  277. package/dist/types/components/navigation/model.d.ts +1 -1
  278. package/dist/types/components/navigation/navigation.d.ts +1 -0
  279. package/dist/types/components/navigation-item/model.d.ts +6 -2
  280. package/dist/types/components/navigation-item/navigation-item.d.ts +2 -0
  281. package/dist/types/components/notification/model.d.ts +1 -1
  282. package/dist/types/components/notification/notification.d.ts +1 -0
  283. package/dist/types/components/page/model.d.ts +1 -1
  284. package/dist/types/components/page/page.d.ts +1 -0
  285. package/dist/types/components/popover/model.d.ts +1 -1
  286. package/dist/types/components/popover/popover.d.ts +1 -0
  287. package/dist/types/components/radio/model.d.ts +1 -1
  288. package/dist/types/components/radio/radio.d.ts +1 -0
  289. package/dist/types/components/section/model.d.ts +1 -1
  290. package/dist/types/components/section/section.d.ts +1 -0
  291. package/dist/types/components/select/model.d.ts +1 -1
  292. package/dist/types/components/select/select.d.ts +1 -0
  293. package/dist/types/components/stack/model.d.ts +1 -1
  294. package/dist/types/components/stack/stack.d.ts +1 -0
  295. package/dist/types/components/switch/model.d.ts +1 -1
  296. package/dist/types/components/switch/switch.d.ts +1 -0
  297. package/dist/types/components/tab-item/model.d.ts +1 -1
  298. package/dist/types/components/tab-item/tab-item.d.ts +1 -0
  299. package/dist/types/components/tab-list/model.d.ts +1 -1
  300. package/dist/types/components/tab-list/tab-list.d.ts +1 -0
  301. package/dist/types/components/tab-panel/model.d.ts +1 -1
  302. package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
  303. package/dist/types/components/tabs/model.d.ts +3 -3
  304. package/dist/types/components/tabs/tabs.d.ts +1 -0
  305. package/dist/types/components/tag/model.d.ts +1 -1
  306. package/dist/types/components/tag/tag.d.ts +1 -0
  307. package/dist/types/components/textarea/model.d.ts +1 -1
  308. package/dist/types/components/textarea/textarea.d.ts +1 -0
  309. package/dist/types/components/tooltip/model.d.ts +1 -1
  310. package/dist/types/components/tooltip/tooltip.d.ts +1 -0
  311. package/dist/types/components.d.ts +7 -1
  312. package/dist/types/shared/figma.d.ts +12 -6
  313. package/dist/vscode.html-custom-data.json +16 -6
  314. package/dist/web-types.json +1032 -248
  315. package/package.json +15 -9
  316. package/dist/db-ux/p-1b5d76a8.entry.js +0 -1
  317. package/dist/db-ux/p-296f989b.entry.js +0 -1
  318. package/dist/db-ux/p-3ae13ff1.entry.js +0 -1
  319. package/dist/db-ux/p-43f94079.entry.js +0 -1
  320. package/dist/db-ux/p-54508bad.entry.js +0 -1
  321. package/dist/db-ux/p-55e8b0b4.entry.js +0 -1
  322. package/dist/db-ux/p-69a59559.entry.js +0 -1
  323. package/dist/db-ux/p-6e7126c6.entry.js +0 -1
  324. package/dist/db-ux/p-7bed4611.entry.js +0 -1
  325. package/dist/db-ux/p-8ce816c0.entry.js +0 -1
  326. package/dist/db-ux/p-8e080864.entry.js +0 -1
  327. package/dist/db-ux/p-K4o-AcjZ.js +0 -2
  328. package/dist/db-ux/p-a0eccc08.entry.js +0 -1
  329. package/dist/db-ux/p-a7c6ec23.entry.js +0 -1
  330. package/dist/db-ux/p-a82c9875.entry.js +0 -1
  331. package/dist/db-ux/p-ae445d5d.entry.js +0 -1
  332. package/dist/db-ux/p-b33abf8d.entry.js +0 -1
  333. package/dist/db-ux/p-b8ab2bd4.entry.js +0 -1
  334. package/dist/db-ux/p-bb7c59d2.entry.js +0 -1
  335. package/dist/db-ux/p-bc510135.entry.js +0 -1
  336. package/dist/db-ux/p-c85d4be6.entry.js +0 -1
  337. package/dist/db-ux/p-d206ac6f.entry.js +0 -1
  338. package/dist/db-ux/p-e22b3725.entry.js +0 -1
  339. package/dist/db-ux/p-e432c81f.entry.js +0 -1
  340. package/dist/db-ux/p-e64606e2.entry.js +0 -1
  341. package/dist/db-ux/p-e8ee154f.entry.js +0 -1
  342. package/dist/db-ux/p-efb9d9bc.entry.js +0 -1
  343. package/dist/db-ux/p-f35229a1.entry.js +0 -1
  344. package/dist/db-ux/p-f582c886.entry.js +0 -1
  345. package/dist/db-ux/p-f6be9a48.entry.js +0 -1
  346. package/dist/db-ux/p-fb39506f.entry.js +0 -1
  347. package/dist/db-ux/p-fb9500ba.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
  var constants = require('./constants-bMY2_d8A.js');
6
6
  var formComponents = require('./form-components-_ncB_U2D.js');
@@ -47,14 +47,21 @@ const DBCustomSelectDropdown = class {
47
47
  }
48
48
  }
49
49
  componentDidLoad() {
50
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
51
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
52
+ if (connectedElement) {
53
+ connectedElement.remove();
54
+ }
55
+ }
50
56
  this.enableAttributePassing(this._ref, "db-custom-select-dropdown");
51
57
  }
52
58
  render() {
53
59
  var _a, _b;
54
- return (index.h("article", { key: '666781dcaef33e70aeb2378c19dccf9e0502be81', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
60
+ return (index.h("article", { key: 'a2f23f8c268d6b06b03e58ca3abc998b7f741301', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
55
61
  this._ref = el;
56
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '2587222810ae1534d3c8070f1003820a22429ae9' })));
62
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: 'f2fd945d779fefe9d1b379d95d11c5ae60689818' })));
57
63
  }
64
+ get rootElement() { return index.getElement(this); }
58
65
  };
59
66
 
60
67
  const DBCustomSelectList = class {
@@ -98,14 +105,21 @@ const DBCustomSelectList = class {
98
105
  }
99
106
  }
100
107
  componentDidLoad() {
108
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
109
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
110
+ if (connectedElement) {
111
+ connectedElement.remove();
112
+ }
113
+ }
101
114
  this.enableAttributePassing(this._ref, "db-custom-select-list");
102
115
  }
103
116
  render() {
104
117
  var _a, _b;
105
- return (index.h("div", { key: 'dbfa17aa3707db35d7b3c4b8bac3a4a8e45ea352', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
118
+ return (index.h("div", { key: 'f62ebf87384969fa7c299ed23062d15ac4d08e9d', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
106
119
  this._ref = el;
107
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '241c4d3e9169ba9de06492c1e9bad11df103260a' }, index.h("slot", { key: 'dd407c533d531e58f4eed08895591898f1ec7621' }))));
120
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: 'a6071f83a292171bc101a797adb98dc976a18e34' }, index.h("slot", { key: '6a18c02b91c91890a0d4b73e2b718c046b278f29' }))));
108
121
  }
122
+ get rootElement() { return index.getElement(this); }
109
123
  };
110
124
 
111
125
  const DBCustomSelectListItem = class {
@@ -169,18 +183,25 @@ const DBCustomSelectListItem = class {
169
183
  this.watch0Fn();
170
184
  }
171
185
  componentDidLoad() {
186
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
187
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
188
+ if (connectedElement) {
189
+ connectedElement.remove();
190
+ }
191
+ }
172
192
  this.enableAttributePassing(this._ref, "db-custom-select-list-item");
173
193
  this.watch0Fn();
174
194
  }
175
195
  render() {
176
196
  var _a, _b;
177
- return (index.h("li", { key: '6b727336eecb62e312f2cf7afc18686d1e590b61', class: index$1.cls("db-custom-select-list-item", this.className, {
197
+ return (index.h("li", { key: '67c52a98bf21203bd6f5f14617ec32d2e81f29e4', class: index$1.cls("db-custom-select-list-item", this.className, {
178
198
  "db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
179
199
  "db-radio": this.type !== "checkbox" && !this.isGroupTitle,
180
200
  }), ref: (el) => {
181
201
  this._ref = el;
182
202
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-divider": index$1.getBooleanAsString(this.hasDivider) }, !this.isGroupTitle ? (index.h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-icon-trailing": this.getIconTrailing() }, index.h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : null, index.h("slot", null))) : (index.h("span", null, this.groupTitle))));
183
203
  }
204
+ get rootElement() { return index.getElement(this); }
184
205
  static get watchers() { return {
185
206
  "isGroupTitle": [{
186
207
  "watch0": 0
@@ -386,6 +407,12 @@ const DBInput = class {
386
407
  this.watch4Fn();
387
408
  }
388
409
  componentDidLoad() {
410
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
411
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
412
+ if (connectedElement) {
413
+ connectedElement.remove();
414
+ }
415
+ }
389
416
  this.enableAttributePassing(this._ref, "db-input");
390
417
  this.resetIds();
391
418
  this._invalidMessage = this.invalidMessage || constants.DEFAULT_INVALID_MESSAGE;
@@ -401,7 +428,7 @@ const DBInput = class {
401
428
  }
402
429
  render() {
403
430
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
404
- return (index.h("div", { key: 'b2b30122374389f0ce7cd686adeebd544d739866', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing) }, index.h("label", { key: 'b7194b6d956d72f498443792b34f08e9c7c4f9f5', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : constants.DEFAULT_LABEL), index.h("input", { key: '73e36e11d4634eda85bfe9abe646f9e9f95e6cef', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
431
+ return (index.h("div", { key: '09f1dff4d884168cb140705b0f310519e60e3aa2', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing) }, index.h("label", { key: '17c5e2ddca81cd88f5fbc5d0b5024fb833aff026', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : constants.DEFAULT_LABEL), index.h("input", { key: 'ed0381ce65f0a89035804412d736adf3b6e0aea1', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
405
432
  this._ref = el;
406
433
  }, id: this._id, name: this.name, type: this.type || "text", multiple: index$1.getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : constants.DEFAULT_PLACEHOLDER, disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), step: index$1.getStep(this.step), value: (_f = (_e = this.value) !== null && _e !== void 0 ? _e : this._value) !== null && _f !== void 0 ? _f : "", maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.getNumber(this.minLength, this.minlength), max: index$1.getInputValue(this.max, this.type), min: index$1.getInputValue(this.min, this.type), readOnly: index$1.getBoolean(this.readOnly, "readOnly") ||
407
434
  index$1.getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: index$1.getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_g = this.ariaDescribedBy) !== null && _g !== void 0 ? _g : this._descByIds, role: [
@@ -413,8 +440,9 @@ const DBInput = class {
413
440
  "color",
414
441
  ].includes((_h = this.type) !== null && _h !== void 0 ? _h : "") && index$1.isIOSSafari()
415
442
  ? "textbox"
416
- : undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: 'a699c5b648a73eb17f0836def1b1c2a005bf7943' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '60d2b6b280bfb6258c1a76601123dbb0aa041547', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: '044819a1c744e3d31308e771eeff1c0adc674024', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
443
+ : undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_j = this.getDataList()) === null || _j === void 0 ? void 0 : _j.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: 'e7c51c3d97314fd153f606a346244dac365171e5' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: 'f92de27dbfd942534f83a83d181b533fc0b4a6e2', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: 'af168dd9e11d853f76db0edee198a744d36a228d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
417
444
  }
445
+ get rootElement() { return index.getElement(this); }
418
446
  static get watchers() { return {
419
447
  "id": [{
420
448
  "watch0": 0
@@ -496,14 +524,21 @@ const DBTag = class {
496
524
  }
497
525
  }
498
526
  componentDidLoad() {
527
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
528
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
529
+ if (connectedElement) {
530
+ connectedElement.remove();
531
+ }
532
+ }
499
533
  this.enableAttributePassing(this._ref, "db-tag");
500
534
  }
501
535
  render() {
502
536
  var _a, _b, _c;
503
- return (index.h("div", { key: '0f44c340afdd993c4f583c23087bf008cb64bb04', class: index$1.cls("db-tag", this.className), ref: (el) => {
537
+ return (index.h("div", { key: '85b02f290e8323ddd9a61ee5cf15893e7bc0cdab', class: index$1.cls("db-tag", this.className), ref: (el) => {
504
538
  this._ref = el;
505
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-no-text": index$1.getBooleanAsString(this.noText), "data-overflow": index$1.getBooleanAsString(this.overflow) }, index.h("slot", { key: '9e4388656037b233763783ba6e771d30f8302f5c', name: "content" }), this.text ? this.text : null, index.h("slot", { key: 'e53a5fc3a2f9d5193a73f6c6256aac900df60c74' }), this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
539
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-no-text": index$1.getBooleanAsString(this.noText), "data-overflow": index$1.getBooleanAsString(this.overflow) }, index.h("slot", { key: '3aefef41d0a30b8f979e43146936be56a1d9181b', name: "content" }), this.text ? this.text : null, index.h("slot", { key: 'e283aefd212ea8c7f7eab8da48ed19a7f4763e38' }), this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
506
540
  }
541
+ get rootElement() { return index.getElement(this); }
507
542
  };
508
543
 
509
544
  exports.db_custom_select_dropdown = DBCustomSelectDropdown;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBCustomSelectFormField = class {
@@ -44,14 +44,21 @@ const DBCustomSelectFormField = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-custom-select-form-field");
48
54
  }
49
55
  render() {
50
56
  var _a, _b;
51
- return (index.h("summary", { key: '6e319e52a2daf3966edf7d8ebc3febb10c8a8857', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
57
+ return (index.h("summary", { key: 'e438005a75d6d93c62b6e04bce4f99cee7f73619', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
52
58
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '05a393b0ff51cc37aff8d237b0a8101f4b352261' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '1dc82e35d01ac41cde18cb033d657ec7f53886b8' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_custom_select_form_field = DBCustomSelectFormField;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var documentClickListener = require('./document-click-listener-B2-xKJv3.js');
@@ -755,6 +755,12 @@ const DBCustomSelect = class {
755
755
  this.watch18Fn();
756
756
  }
757
757
  componentDidLoad() {
758
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
759
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
760
+ if (connectedElement) {
761
+ connectedElement.remove();
762
+ }
763
+ }
758
764
  this.enableAttributePassing(this._ref, "db-custom-select");
759
765
  this.resetIds();
760
766
  this._invalidMessage = this.invalidMessage || constants.DEFAULT_INVALID_MESSAGE;
@@ -794,19 +800,19 @@ const DBCustomSelect = class {
794
800
  }
795
801
  render() {
796
802
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
797
- return (index.h("div", { key: 'b69119f8c8ad43b30a3b6f2e3177ba283336645e', class: index$1.cls("db-custom-select", this.className), id: this._id, ref: (el) => {
803
+ return (index.h("div", { key: '09c22c7eef838650142ba6cf5a9f7a5c04e45d53', class: index$1.cls("db-custom-select", this.className), id: this._id, ref: (el) => {
798
804
  this._ref = el;
799
805
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
800
806
  this.selectedType === "tag" &&
801
807
  this.multiple
802
808
  ? "above"
803
- : this.variant, "data-required": index$1.getBooleanAsString(this.required), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": index$1.getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: '6e31abcbad536b00f87b6c9a4a14826d085501ae', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL, index.h("select", { key: '89d826932f87ea9d2621ed8baede4141d0406574', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
809
+ : this.variant, "data-required": index$1.getBooleanAsString(this.required), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": index$1.getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: '377317d94a5689926923ee92eb0399a6e0085177', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL, index.h("select", { key: '016dc1cebfeb8e92a08286e445d2da2989e630d7', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
804
810
  this.selectRef = el;
805
811
  }, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: index$1.getBoolean(this.multiple, "multiple"), disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
806
812
  ? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (index.h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
807
- : null)), index.h("details", { key: '8b05f3d412957f1fe8d9d1e27b23890454ceff7c', ref: (el) => {
813
+ : null)), index.h("details", { key: 'eb36c96b7c443289a1464a4d25a7f189c852b7ab', ref: (el) => {
808
814
  this.detailsRef = el;
809
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, index.h("slot", { key: 'd05f5cae0ac171b8ed171819f3650064f30fef92' }), this.options ? (index.h(index.Fragment, null, index.h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (index.h("span", { "data-visually-hidden": index$1.getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (index.h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (index.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), index.h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (index.h("div", null, index.h("db-input", { type: "search", ref: (el) => {
815
+ }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, index.h("slot", { key: '2ce1371b5683aa1162167a7e9dd9950e075920cf' }), this.options ? (index.h(index.Fragment, null, index.h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (index.h("span", { "data-visually-hidden": index$1.getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (index.h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (index.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), index.h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (index.h("div", null, index.h("db-input", { type: "search", ref: (el) => {
810
816
  this.searchInputRef = el;
811
817
  }, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : constants.DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
812
818
  ? this._infoTextId
@@ -816,8 +822,9 @@ const DBCustomSelect = class {
816
822
  this.selectAllRef = el;
817
823
  }, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, index.h("db-custom-select-list", { multiple: index$1.getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : constants.DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (index.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
818
824
  ? this.getOptionLabel(option)
819
- : null)))))), index.h("div", null, index.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 : constants.DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, index.h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, index.h("span", { key: '851b2e07be960638b4d62750e1cf920ba445fb3d', class: "db-custom-select-placeholder", "aria-hidden": index$1.getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '6d481a7727087375fc4d8faabd55a1817a735edf', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '5335f3e58d3a6b2f90353058552701c13b1e888b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
825
+ : null)))))), index.h("div", null, index.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 : constants.DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, index.h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, index.h("span", { key: 'ab092f47ad6734f696000a852fc8e3a825a6d054', class: "db-custom-select-placeholder", "aria-hidden": index$1.getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: 'c134d746d6e06109551880446ff27e791fc482b1', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: 'b5b1291d952eaea52a176a3b8c9d9ea7a0b57e34', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
820
826
  }
827
+ get rootElement() { return index.getElement(this); }
821
828
  static get watchers() { return {
822
829
  "id": [{
823
830
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBDivider = class {
@@ -44,14 +44,21 @@ const DBDivider = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-divider");
48
54
  }
49
55
  render() {
50
56
  var _a, _b;
51
- return (index.h("div", { key: '140776744080e88b5e9f008d06d7c6b4bde4394a', class: index$1.cls("db-divider", this.className), ref: (el) => {
57
+ return (index.h("div", { key: 'fff7e6137a97f6cc76eed42c2a5225348d0f78a0', class: index$1.cls("db-divider", this.className), ref: (el) => {
52
58
  this._ref = el;
53
59
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_divider = DBDivider;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
 
@@ -40,8 +40,8 @@ const DBDrawer = class {
40
40
  }
41
41
  handleDialogOpen() {
42
42
  if (this._ref) {
43
- const open = Boolean(this.open);
44
- if (open && !this._ref.open) {
43
+ const dialogOpen = index$1.getBoolean(this.open, "open");
44
+ if (dialogOpen && !this._ref.open) {
45
45
  if (this.dialogContainerRef) {
46
46
  this.dialogContainerRef.removeAttribute("data-transition");
47
47
  }
@@ -60,7 +60,7 @@ const DBDrawer = class {
60
60
  }
61
61
  }, 1);
62
62
  }
63
- if (!open && this._ref.open) {
63
+ if (!dialogOpen && this._ref.open) {
64
64
  if (this.dialogContainerRef) {
65
65
  this.dialogContainerRef.dataset["transition"] =
66
66
  "close";
@@ -127,6 +127,12 @@ const DBDrawer = class {
127
127
  this.watch1Fn();
128
128
  }
129
129
  componentDidLoad() {
130
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
131
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
132
+ if (connectedElement) {
133
+ connectedElement.remove();
134
+ }
135
+ }
130
136
  this.enableAttributePassing(this._ref, "db-drawer");
131
137
  this.handleDialogOpen();
132
138
  this.initialized = true;
@@ -135,12 +141,13 @@ const DBDrawer = class {
135
141
  }
136
142
  render() {
137
143
  var _a, _b, _c;
138
- return (index.h("dialog", { key: 'dd2236da621ecd6ce95effdd51af7d83e9d00cb4', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
144
+ return (index.h("dialog", { key: 'a09369527805c993297bc3d27cf1f03c5e06f232', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
139
145
  this._ref = el;
140
- }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, index.h("article", { key: '9e30bd63a197f5b8b3797430c21cbe742a6a337a', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
146
+ }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, index.h("article", { key: 'cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac', class: index$1.cls("db-drawer-container", this.className), ref: (el) => {
141
147
  this.dialogContainerRef = el;
142
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded) }, index.h("header", { key: 'd44ca5f31e6a42548a5b4066d3965e1c81ee11c6', class: "db-drawer-header" }, index.h("div", { key: '8f88f451fb176d926a6f2a0ded68232978971773', class: "db-drawer-header-text" }, index.h("slot", { key: 'ab8f36ee1c28b8c50034b81ed78aa91169e957b9', name: "drawerHeader" })), index.h("db-button", { key: '981fda2deb05c7fd6341b3d31cc81851bb8a19f4', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_CLOSE_BUTTON)), index.h("div", { key: 'd36dfd9fdc919f95d5319dbf67d9a08e17763da3', class: "db-drawer-content" }, index.h("slot", { key: '1ec21301aa84e9ba120d5a886cc45c37f2772e0f' })))));
148
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": index$1.getBooleanAsString(this.rounded) }, index.h("header", { key: '20a175ba0707e3cc207e1e57dd925b8234b86877', class: "db-drawer-header" }, index.h("div", { key: 'd317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa', class: "db-drawer-header-text" }, index.h("slot", { key: '1456a65346ebd9d52dafe48022cc0b343216cc09', name: "drawerHeader" })), index.h("db-button", { key: '6741766807bb56a24ed7bb385240093a3a1e5f7f', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_CLOSE_BUTTON)), index.h("div", { key: 'dea536d8bd27dccdb7edd476defc68beed65254f', class: "db-drawer-content" }, index.h("slot", { key: 'bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b' })))));
143
149
  }
150
+ get rootElement() { return index.getElement(this); }
144
151
  static get watchers() { return {
145
152
  "open": [{
146
153
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var navigation = require('./navigation-Bah882nU.js');
@@ -78,16 +78,23 @@ const DBHeader = class {
78
78
  this.watch0Fn();
79
79
  }
80
80
  componentDidLoad() {
81
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
82
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
83
+ if (connectedElement) {
84
+ connectedElement.remove();
85
+ }
86
+ }
81
87
  this.enableAttributePassing(this._ref, "db-header");
82
88
  this.initialized = true;
83
89
  this.watch0Fn();
84
90
  }
85
91
  render() {
86
92
  var _a, _b, _c;
87
- return (index.h("header", { key: 'be1ad24dcffe0b9a3472fb4d0ce51e1e26ab18a7', class: index$1.cls("db-header", this.className), ref: (el) => {
93
+ return (index.h("header", { key: 'e7aec08f10ae9d575b3f845be29ee19505df9216', class: index$1.cls("db-header", this.className), ref: (el) => {
88
94
  this._ref = el;
89
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, index.h("db-drawer", { key: 'd4037e5b2a37c33ce57753e256308f5a349c59ad', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: index$1.getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, index.h("div", { key: '6f3038ca75f7a872a25ef6195575e2fdafc37fd6', class: "db-header-drawer-navigation" }, index.h("div", { key: '5f49144f7c766e2f84619d048980bb4cd772f33a', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, index.h("slot", { key: '0ede1bfe3a2c02c0f4bdb0351780d3f575cf2227' })), index.h("div", { key: '3afebc850c010d99e070abd9f443523215cbbe9c', class: "db-header-meta-navigation" }, index.h("slot", { key: '0a9c6a8d806af97d6ca004c581db605d5f3c2cbd', name: "metaNavigation" }))), index.h("div", { key: '1b55dab0fc8e755c30f17a348647d78a2063316e', class: "db-header-secondary-action" }, index.h("slot", { key: '91e2325325c90fa4c8a502da0dbff50c251f9914', name: "secondaryAction" }))), index.h("div", { key: '96d77f06e1e3ebe20463469d10fdf2086c4833f3', class: "db-header-meta-navigation" }, index.h("slot", { key: '3b670227184efb7b85ce1a4502322b72fa2e5dd3', name: "metaNavigation" })), index.h("div", { key: 'f63168e17d5add18523b8ce5cf145b2cdba634e0', class: "db-header-navigation-bar" }, index.h("div", { key: 'bdb2c9524c98f272da2250e84465d631dc4c86ee', class: "db-header-brand-container" }, index.h("slot", { key: 'cc82a8c4bcf8023ee31274ade351796c4b4e59ac', name: "brand" })), index.h("div", { key: '71dd71452f3fa5348d66aba9ea073865dc8ccbdd', class: "db-header-navigation-container" }, index.h("div", { key: 'ef397d6f5baeb671326269b8a0a4e329da8b103e', class: "db-header-navigation" }, index.h("slot", { key: 'e70245a7c3895bead643907655732f9a046b9d45' })), index.h("div", { key: '7f80402f9aa19140c404636a18d1d190cc9c7bd3', class: "db-header-primary-action" }, index.h("slot", { key: '625841b7653acffa89cf4539e3494611aaa37a65', name: "primaryAction" }))), index.h("div", { key: '6513c29620684d2b24ee7f031fc603bfd4d897e5', class: "db-header-action-container" }, index.h("div", { key: '0c0ff87d894c99cf1e49b2beadaec277dd8813b3', class: "db-header-burger-menu-container" }, index.h("db-button", { key: '63884b0f4e5e66fae043236fe06fa989d8c74dff', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : constants.DEFAULT_BURGER_MENU)), index.h("div", { key: '7712b831ee086a7366909c9265cc46211d9c0a73', class: "db-header-secondary-action" }, index.h("slot", { key: 'bbb1d1a6c98ad79104389e57980cd0bb05f6e435', name: "secondaryAction" }))))));
95
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, index.h("div", { key: 'bdd8c85393260628938c33bfa1e8573d55a6d730', class: "db-header-meta-navigation" }, index.h("slot", { key: '42854d3f106c63bbc300458bdcd1cee48a7209be', name: "metaNavigation" })), index.h("div", { key: '7ef93a1cb414b44657aaed9d7e4779690ca09cf5', class: "db-header-navigation-bar" }, index.h("div", { key: '1e59f2987b83fe87cd22ae6bc95ac855c061869d', class: "db-header-brand-container" }, index.h("slot", { key: 'a610bb49cd670896fa1b980ffcdcbd40c2918b4e', name: "brand" })), index.h("div", { key: '1b94bf4ad2ae622875b7192812f9940e2a87c1e3', class: "db-header-navigation-container" }, index.h("div", { key: 'f57aac0c4268bf285de0c07bab40a736f0ca42a4', class: "db-header-navigation" }, index.h("slot", { key: '45d426690fb2dcb6da32f6f646f6b1a932670cd2' })), index.h("div", { key: 'e60bbd749efc91d9a00a54e3cbc6680e60f6e598', class: "db-header-primary-action" }, index.h("slot", { key: 'a41128047bc8063c45c14ff3ec58d83b7edd8361', name: "primaryAction" }))), index.h("div", { key: '82e9141ac1ad7f3a33c9bf0c15ccf969ccd5983f', class: "db-header-action-container" }, index.h("div", { key: '3f3a5c503ecd11a0aff43623921bb185c59c1802', class: "db-header-burger-menu-container" }, index.h("db-button", { key: '6547cf5982c0739960b9aa4363ddb71f1423a55b', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : constants.DEFAULT_BURGER_MENU)), index.h("div", { key: 'd2c691eb6980e0eeffa512ade5074400bd7973b8', class: "db-header-secondary-action" }, index.h("slot", { key: '6cc84b46d137ac21aa90c3f84a873febc6fa0dba', name: "secondaryAction" })))), index.h("db-drawer", { key: '0dc5a353f9365bd76df967cdb3fee20be89c9525', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: index$1.getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, index.h("div", { key: '3a28d35593fe006aa6269077466bd91f33d5f2e4', class: "db-header-drawer-navigation" }, index.h("div", { key: 'c42fff25d31fe234d841542b108805b0aa85e05c', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, index.h("slot", { key: '0de07dfbb68d8b6fcec8cf11e6398566fcd45ae2' })), index.h("div", { key: '062baf6f3e503751017a3715142e1622c27423bf', class: "db-header-meta-navigation" }, index.h("slot", { key: '2e703195477c67270e9bfee04335321c52b9de4f', name: "metaNavigation" }))), index.h("div", { key: '028079c3fae38bc282d8b064e4515ab1c27aa45e', class: "db-header-secondary-action" }, index.h("slot", { key: '879378953f36c55b5489a157a81e62f188ab5fca', name: "secondaryAction" })))));
90
96
  }
97
+ get rootElement() { return index.getElement(this); }
91
98
  static get watchers() { return {
92
99
  "initialized": [{
93
100
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBIcon = class {
@@ -44,14 +44,21 @@ const DBIcon = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-icon");
48
54
  }
49
55
  render() {
50
56
  var _a, _b;
51
- return (index.h("span", { key: '1b9ecf0a2b731a1146ab46d6cac0d3ce371dbc87', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
57
+ return (index.h("span", { key: '004fb7b91cd27bc452f4777dfd68183bd4bfeaab', class: index$1.cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
52
58
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, index.h("slot", { key: 'dec85782807d446081a60b9bf7024823b5463bc1' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, index.h("slot", { key: 'e9b5fbdefc6cf80abff634c60966ad719985e2be' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_icon = DBIcon;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBInfotext = class {
@@ -44,14 +44,21 @@ const DBInfotext = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-infotext");
48
54
  }
49
55
  render() {
50
56
  var _a, _b, _c;
51
- return (index.h("span", { key: 'e0846770d940dd2213fc271bd9b2f73dcd43e477', class: index$1.cls("db-infotext", this.className), ref: (el) => {
57
+ return (index.h("span", { key: '8336d336c2ea90300646a83257cab6f34dfe862a', class: index$1.cls("db-infotext", this.className), ref: (el) => {
52
58
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-show-icon-leading": index$1.getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, index.h("slot", { key: '62a49acb22657bcadf93d60c787652de37cce74b' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-show-icon-leading": index$1.getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, index.h("slot", { key: '1dd519913408aa16cce587ddaee31d3c3bae05b6' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_infotext = DBInfotext;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBLink = class {
@@ -44,14 +44,21 @@ const DBLink = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-link");
48
54
  }
49
55
  render() {
50
56
  var _a, _b, _c, _d;
51
- return (index.h("a", { key: '1748005b97867c678a3ea09072eeef7518a0170f', class: index$1.cls("db-link", this.className), ref: (el) => {
57
+ return (index.h("a", { key: '5dd3f3df5614e0e717feadc833d8fe2fe8825479', class: index$1.cls("db-link", this.className), ref: (el) => {
52
58
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": index$1.getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": index$1.getBooleanAsString(this.wrap) }, this.text ? this.text : null, index.h("slot", { key: '9912370e0c8ba33af3ee8a7644e77f21335bddca' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": index$1.getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": index$1.getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": index$1.getBooleanAsString(this.wrap) }, this.text ? this.text : null, index.h("slot", { key: 'c5dae4b61e3829e803a2ff89cfd0942cc4d6577d' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_link = DBLink;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var constants = require('./constants-bMY2_d8A.js');
5
5
  var index$1 = require('./index-2_9ESkQu.js');
6
6
  var navigation = require('./navigation-Bah882nU.js');
@@ -107,6 +107,12 @@ const DBNavigationItem = class {
107
107
  }
108
108
  componentDidLoad() {
109
109
  var _a;
110
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
111
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
112
+ if (connectedElement) {
113
+ connectedElement.remove();
114
+ }
115
+ }
110
116
  this.enableAttributePassing(this._ref, "db-navigation-item");
111
117
  this.initialized = true;
112
118
  const subNavId = `sub-nav-${(_a = this.id) !== null && _a !== void 0 ? _a : index$1.uuid()}`;
@@ -117,10 +123,12 @@ const DBNavigationItem = class {
117
123
  }
118
124
  render() {
119
125
  var _a, _b, _c;
120
- return (index.h("li", { key: '445ddbc43af3b8ddf2e43614c7bbc8ad4990c125', class: index$1.cls("db-navigation-item", this.className), ref: (el) => {
126
+ return (index.h("li", { key: '555c0472fdd1d6888dc4a0b699fc85bb21e73199', class: index$1.cls("db-navigation-item", this.className), ref: (el) => {
121
127
  this._ref = el;
122
- }, 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": index$1.getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": index$1.getBooleanAsString(this.wrap), "aria-disabled": index$1.getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : index.h("slot", null) : null, this.hasSubNavigation ? (index.h(index.Fragment, null, index.h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : index.h("slot", null)), index.h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (index.h("div", { class: "db-mobile-navigation-back" }, index.h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_BACK))) : null, index.h("slot", { name: "subNavigation" })))) : null));
128
+ }, 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": index$1.getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": index$1.getBooleanAsString(this.wrap), "aria-disabled": index$1.getBooleanAsString(this.disabled) }, !index$1.getBoolean(this.hideSubNavigation, "hideSubNavigation") &&
129
+ this.hasSubNavigation ? (index.h(index.Fragment, null, index.h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: index$1.getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : index.h("slot", { name: "expandButton" })), index.h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (index.h("div", { class: "db-mobile-navigation-back" }, index.h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_BACK))) : null, index.h("slot", { name: "subNavigation" })))) : this.text ? (this.text) : (index.h("slot", null))));
123
130
  }
131
+ get rootElement() { return index.getElement(this); }
124
132
  static get watchers() { return {
125
133
  "subNavigationExpanded": [{
126
134
  "watch0": 0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BoC-BWt4.js');
3
+ var index = require('./index-DLuhzJ0p.js');
4
4
  var index$1 = require('./index-2_9ESkQu.js');
5
5
 
6
6
  const DBNavigation = class {
@@ -44,14 +44,21 @@ const DBNavigation = class {
44
44
  }
45
45
  }
46
46
  componentDidLoad() {
47
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
48
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
49
+ if (connectedElement) {
50
+ connectedElement.remove();
51
+ }
52
+ }
47
53
  this.enableAttributePassing(this._ref, "db-navigation");
48
54
  }
49
55
  render() {
50
56
  var _a, _b;
51
- return (index.h("nav", { key: 'e2cf893f68f07f22c5df6828e136880bdafcc8ab', class: index$1.cls("db-navigation", this.className), ref: (el) => {
57
+ return (index.h("nav", { key: '33d5425a509a5d224245fcde89b66bb129d3fb57', class: index$1.cls("db-navigation", this.className), ref: (el) => {
52
58
  this._ref = el;
53
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("menu", { key: 'cb715cb4c0c6ec6b74519475c5e05d5148af43a1' }, index.h("slot", { key: 'b571e5af2b79d9d0bbfd499b0fcb9f64a885ab54' }))));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("menu", { key: '796fbbd89657a52bbd7e932efe96ff62726bf5ea' }, index.h("slot", { key: 'df8847f6522250c540acc1154201d1c6bfbbce07' }))));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_navigation = DBNavigation;