@db-ux/wc-core-components 4.9.1 → 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 (312) hide show
  1. package/CHANGELOG.md +11 -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-item/accordion-item.d.ts +4 -0
  239. package/dist/types/components/accordion-item/model.d.ts +4 -0
  240. package/dist/types/components/badge/badge.d.ts +1 -0
  241. package/dist/types/components/brand/brand.d.ts +1 -0
  242. package/dist/types/components/button/button.d.ts +1 -0
  243. package/dist/types/components/card/card.d.ts +1 -0
  244. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  245. package/dist/types/components/custom-button/custom-button.d.ts +1 -0
  246. package/dist/types/components/custom-select/custom-select.d.ts +1 -0
  247. package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
  248. package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
  249. package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
  250. package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
  251. package/dist/types/components/divider/divider.d.ts +1 -0
  252. package/dist/types/components/drawer/drawer.d.ts +1 -0
  253. package/dist/types/components/header/header.d.ts +3 -2
  254. package/dist/types/components/icon/icon.d.ts +1 -0
  255. package/dist/types/components/infotext/infotext.d.ts +1 -0
  256. package/dist/types/components/input/input.d.ts +1 -0
  257. package/dist/types/components/link/link.d.ts +1 -0
  258. package/dist/types/components/navigation/navigation.d.ts +1 -0
  259. package/dist/types/components/navigation-item/model.d.ts +4 -0
  260. package/dist/types/components/navigation-item/navigation-item.d.ts +2 -0
  261. package/dist/types/components/notification/notification.d.ts +1 -0
  262. package/dist/types/components/page/page.d.ts +1 -0
  263. package/dist/types/components/popover/popover.d.ts +1 -0
  264. package/dist/types/components/radio/radio.d.ts +1 -0
  265. package/dist/types/components/section/section.d.ts +1 -0
  266. package/dist/types/components/select/select.d.ts +1 -0
  267. package/dist/types/components/stack/stack.d.ts +1 -0
  268. package/dist/types/components/switch/switch.d.ts +1 -0
  269. package/dist/types/components/tab-item/tab-item.d.ts +1 -0
  270. package/dist/types/components/tab-list/tab-list.d.ts +1 -0
  271. package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
  272. package/dist/types/components/tabs/tabs.d.ts +1 -0
  273. package/dist/types/components/tag/tag.d.ts +1 -0
  274. package/dist/types/components/textarea/textarea.d.ts +1 -0
  275. package/dist/types/components/tooltip/tooltip.d.ts +1 -0
  276. package/dist/types/components.d.ts +7 -1
  277. package/dist/types/shared/figma.d.ts +12 -6
  278. package/dist/vscode.html-custom-data.json +16 -6
  279. package/dist/web-types.json +1032 -248
  280. package/package.json +15 -9
  281. package/dist/db-ux/p-1b5d76a8.entry.js +0 -1
  282. package/dist/db-ux/p-296f989b.entry.js +0 -1
  283. package/dist/db-ux/p-3ae13ff1.entry.js +0 -1
  284. package/dist/db-ux/p-43f94079.entry.js +0 -1
  285. package/dist/db-ux/p-54508bad.entry.js +0 -1
  286. package/dist/db-ux/p-55e8b0b4.entry.js +0 -1
  287. package/dist/db-ux/p-69a59559.entry.js +0 -1
  288. package/dist/db-ux/p-6e7126c6.entry.js +0 -1
  289. package/dist/db-ux/p-7bed4611.entry.js +0 -1
  290. package/dist/db-ux/p-8ce816c0.entry.js +0 -1
  291. package/dist/db-ux/p-8e080864.entry.js +0 -1
  292. package/dist/db-ux/p-K4o-AcjZ.js +0 -2
  293. package/dist/db-ux/p-a0eccc08.entry.js +0 -1
  294. package/dist/db-ux/p-a7c6ec23.entry.js +0 -1
  295. package/dist/db-ux/p-a82c9875.entry.js +0 -1
  296. package/dist/db-ux/p-ae445d5d.entry.js +0 -1
  297. package/dist/db-ux/p-b33abf8d.entry.js +0 -1
  298. package/dist/db-ux/p-b8ab2bd4.entry.js +0 -1
  299. package/dist/db-ux/p-bb7c59d2.entry.js +0 -1
  300. package/dist/db-ux/p-bc510135.entry.js +0 -1
  301. package/dist/db-ux/p-c85d4be6.entry.js +0 -1
  302. package/dist/db-ux/p-d206ac6f.entry.js +0 -1
  303. package/dist/db-ux/p-e22b3725.entry.js +0 -1
  304. package/dist/db-ux/p-e432c81f.entry.js +0 -1
  305. package/dist/db-ux/p-e64606e2.entry.js +0 -1
  306. package/dist/db-ux/p-e8ee154f.entry.js +0 -1
  307. package/dist/db-ux/p-efb9d9bc.entry.js +0 -1
  308. package/dist/db-ux/p-f35229a1.entry.js +0 -1
  309. package/dist/db-ux/p-f582c886.entry.js +0 -1
  310. package/dist/db-ux/p-f6be9a48.entry.js +0 -1
  311. package/dist/db-ux/p-fb39506f.entry.js +0 -1
  312. package/dist/db-ux/p-fb9500ba.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, a as DEFAULT_LABEL, m as DEFAULT_REMOVE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, e as DEFAULT_SELECT_ID_SUFFIX, d as DEFAULT_LABEL_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, o as DEFAULT_SELECTED, k as DEFAULT_VALID_MESSAGE, c as DEFAULT_MESSAGE, s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, m as getSearchInput, u as uuid, g as getBooleanAsString, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { D as DocumentClickListener } from './document-click-listener-D7W_VE5O.js';
@@ -753,6 +753,12 @@ const DBCustomSelect = class {
753
753
  this.watch18Fn();
754
754
  }
755
755
  componentDidLoad() {
756
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
757
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
758
+ if (connectedElement) {
759
+ connectedElement.remove();
760
+ }
761
+ }
756
762
  this.enableAttributePassing(this._ref, "db-custom-select");
757
763
  this.resetIds();
758
764
  this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
@@ -792,19 +798,19 @@ const DBCustomSelect = class {
792
798
  }
793
799
  render() {
794
800
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
795
- return (h("div", { key: 'b69119f8c8ad43b30a3b6f2e3177ba283336645e', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
801
+ return (h("div", { key: '09c22c7eef838650142ba6cf5a9f7a5c04e45d53', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
796
802
  this._ref = el;
797
803
  }, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
798
804
  this.selectedType === "tag" &&
799
805
  this.multiple
800
806
  ? "above"
801
- : this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '6e31abcbad536b00f87b6c9a4a14826d085501ae', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '89d826932f87ea9d2621ed8baede4141d0406574', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
807
+ : 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: '377317d94a5689926923ee92eb0399a6e0085177', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '016dc1cebfeb8e92a08286e445d2da2989e630d7', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
802
808
  this.selectRef = el;
803
809
  }, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
804
810
  ? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
805
- : null)), h("details", { key: '8b05f3d412957f1fe8d9d1e27b23890454ceff7c', ref: (el) => {
811
+ : null)), h("details", { key: 'eb36c96b7c443289a1464a4d25a7f189c852b7ab', ref: (el) => {
806
812
  this.detailsRef = el;
807
- }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: 'd05f5cae0ac171b8ed171819f3650064f30fef92' }), 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) => {
813
+ }, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '2ce1371b5683aa1162167a7e9dd9950e075920cf' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
808
814
  this.searchInputRef = el;
809
815
  }, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
810
816
  ? this._infoTextId
@@ -814,8 +820,9 @@ const DBCustomSelect = class {
814
820
  this.selectAllRef = el;
815
821
  }, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
816
822
  ? this.getOptionLabel(option)
817
- : null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '851b2e07be960638b4d62750e1cf920ba445fb3d', 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: '6d481a7727087375fc4d8faabd55a1817a735edf', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '5335f3e58d3a6b2f90353058552701c13b1e888b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
823
+ : 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: 'ab092f47ad6734f696000a852fc8e3a825a6d054', 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: 'c134d746d6e06109551880446ff27e791fc482b1', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'b5b1291d952eaea52a176a3b8c9d9ea7a0b57e34', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
818
824
  }
825
+ get rootElement() { return getElement(this); }
819
826
  static get watchers() { return {
820
827
  "id": [{
821
828
  "watch0": 0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBDivider = class {
@@ -42,14 +42,21 @@ const DBDivider = class {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
46
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
+ if (connectedElement) {
48
+ connectedElement.remove();
49
+ }
50
+ }
45
51
  this.enableAttributePassing(this._ref, "db-divider");
46
52
  }
47
53
  render() {
48
54
  var _a, _b;
49
- return (h("div", { key: '140776744080e88b5e9f008d06d7c6b4bde4394a', class: cls("db-divider", this.className), ref: (el) => {
55
+ return (h("div", { key: 'fff7e6137a97f6cc76eed42c2a5225348d0f78a0', class: cls("db-divider", this.className), ref: (el) => {
50
56
  this._ref = el;
51
57
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
52
58
  }
59
+ get rootElement() { return getElement(this); }
53
60
  };
54
61
 
55
62
  export { DBDivider as db_divider };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
- import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
+ import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls, e as getBoolean } from './index-xkoBSP8R.js';
4
4
 
5
5
  const DBDrawer = class {
6
6
  constructor(hostRef) {
@@ -38,8 +38,8 @@ const DBDrawer = class {
38
38
  }
39
39
  handleDialogOpen() {
40
40
  if (this._ref) {
41
- const open = Boolean(this.open);
42
- if (open && !this._ref.open) {
41
+ const dialogOpen = getBoolean(this.open, "open");
42
+ if (dialogOpen && !this._ref.open) {
43
43
  if (this.dialogContainerRef) {
44
44
  this.dialogContainerRef.removeAttribute("data-transition");
45
45
  }
@@ -58,7 +58,7 @@ const DBDrawer = class {
58
58
  }
59
59
  }, 1);
60
60
  }
61
- if (!open && this._ref.open) {
61
+ if (!dialogOpen && this._ref.open) {
62
62
  if (this.dialogContainerRef) {
63
63
  this.dialogContainerRef.dataset["transition"] =
64
64
  "close";
@@ -125,6 +125,12 @@ const DBDrawer = class {
125
125
  this.watch1Fn();
126
126
  }
127
127
  componentDidLoad() {
128
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
129
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
130
+ if (connectedElement) {
131
+ connectedElement.remove();
132
+ }
133
+ }
128
134
  this.enableAttributePassing(this._ref, "db-drawer");
129
135
  this.handleDialogOpen();
130
136
  this.initialized = true;
@@ -133,12 +139,13 @@ const DBDrawer = class {
133
139
  }
134
140
  render() {
135
141
  var _a, _b, _c;
136
- return (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) => {
142
+ return (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) => {
137
143
  this._ref = el;
138
- }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '9e30bd63a197f5b8b3797430c21cbe742a6a337a', class: cls("db-drawer-container", this.className), ref: (el) => {
144
+ }, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: 'cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac', class: cls("db-drawer-container", this.className), ref: (el) => {
139
145
  this.dialogContainerRef = el;
140
- }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'd44ca5f31e6a42548a5b4066d3965e1c81ee11c6', class: "db-drawer-header" }, h("div", { key: '8f88f451fb176d926a6f2a0ded68232978971773', class: "db-drawer-header-text" }, h("slot", { key: 'ab8f36ee1c28b8c50034b81ed78aa91169e957b9', name: "drawerHeader" })), 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 : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'd36dfd9fdc919f95d5319dbf67d9a08e17763da3', class: "db-drawer-content" }, h("slot", { key: '1ec21301aa84e9ba120d5a886cc45c37f2772e0f' })))));
146
+ }, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '20a175ba0707e3cc207e1e57dd925b8234b86877', class: "db-drawer-header" }, h("div", { key: 'd317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa', class: "db-drawer-header-text" }, h("slot", { key: '1456a65346ebd9d52dafe48022cc0b343216cc09', name: "drawerHeader" })), 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 : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'dea536d8bd27dccdb7edd476defc68beed65254f', class: "db-drawer-content" }, h("slot", { key: 'bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b' })))));
141
147
  }
148
+ get rootElement() { return getElement(this); }
142
149
  static get watchers() { return {
143
150
  "open": [{
144
151
  "watch0": 0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { p as DEFAULT_BURGER_MENU } from './constants-BdL-nI5y.js';
3
3
  import { a as addAttributeToChildren, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
4
4
  import { i as isEventTargetNavigationItem } from './navigation-Jh6m0eMk.js';
@@ -76,16 +76,23 @@ const DBHeader = class {
76
76
  this.watch0Fn();
77
77
  }
78
78
  componentDidLoad() {
79
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
80
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
81
+ if (connectedElement) {
82
+ connectedElement.remove();
83
+ }
84
+ }
79
85
  this.enableAttributePassing(this._ref, "db-header");
80
86
  this.initialized = true;
81
87
  this.watch0Fn();
82
88
  }
83
89
  render() {
84
90
  var _a, _b, _c;
85
- return (h("header", { key: 'be1ad24dcffe0b9a3472fb4d0ce51e1e26ab18a7', class: cls("db-header", this.className), ref: (el) => {
91
+ return (h("header", { key: 'e7aec08f10ae9d575b3f845be29ee19505df9216', class: cls("db-header", this.className), ref: (el) => {
86
92
  this._ref = el;
87
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'd4037e5b2a37c33ce57753e256308f5a349c59ad', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '6f3038ca75f7a872a25ef6195575e2fdafc37fd6', class: "db-header-drawer-navigation" }, h("div", { key: '5f49144f7c766e2f84619d048980bb4cd772f33a', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0ede1bfe3a2c02c0f4bdb0351780d3f575cf2227' })), h("div", { key: '3afebc850c010d99e070abd9f443523215cbbe9c', class: "db-header-meta-navigation" }, h("slot", { key: '0a9c6a8d806af97d6ca004c581db605d5f3c2cbd', name: "metaNavigation" }))), h("div", { key: '1b55dab0fc8e755c30f17a348647d78a2063316e', class: "db-header-secondary-action" }, h("slot", { key: '91e2325325c90fa4c8a502da0dbff50c251f9914', name: "secondaryAction" }))), h("div", { key: '96d77f06e1e3ebe20463469d10fdf2086c4833f3', class: "db-header-meta-navigation" }, h("slot", { key: '3b670227184efb7b85ce1a4502322b72fa2e5dd3', name: "metaNavigation" })), h("div", { key: 'f63168e17d5add18523b8ce5cf145b2cdba634e0', class: "db-header-navigation-bar" }, h("div", { key: 'bdb2c9524c98f272da2250e84465d631dc4c86ee', class: "db-header-brand-container" }, h("slot", { key: 'cc82a8c4bcf8023ee31274ade351796c4b4e59ac', name: "brand" })), h("div", { key: '71dd71452f3fa5348d66aba9ea073865dc8ccbdd', class: "db-header-navigation-container" }, h("div", { key: 'ef397d6f5baeb671326269b8a0a4e329da8b103e', class: "db-header-navigation" }, h("slot", { key: 'e70245a7c3895bead643907655732f9a046b9d45' })), h("div", { key: '7f80402f9aa19140c404636a18d1d190cc9c7bd3', class: "db-header-primary-action" }, h("slot", { key: '625841b7653acffa89cf4539e3494611aaa37a65', name: "primaryAction" }))), h("div", { key: '6513c29620684d2b24ee7f031fc603bfd4d897e5', class: "db-header-action-container" }, h("div", { key: '0c0ff87d894c99cf1e49b2beadaec277dd8813b3', class: "db-header-burger-menu-container" }, h("db-button", { key: '63884b0f4e5e66fae043236fe06fa989d8c74dff', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '7712b831ee086a7366909c9265cc46211d9c0a73', class: "db-header-secondary-action" }, h("slot", { key: 'bbb1d1a6c98ad79104389e57980cd0bb05f6e435', name: "secondaryAction" }))))));
93
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("div", { key: 'bdd8c85393260628938c33bfa1e8573d55a6d730', class: "db-header-meta-navigation" }, h("slot", { key: '42854d3f106c63bbc300458bdcd1cee48a7209be', name: "metaNavigation" })), h("div", { key: '7ef93a1cb414b44657aaed9d7e4779690ca09cf5', class: "db-header-navigation-bar" }, h("div", { key: '1e59f2987b83fe87cd22ae6bc95ac855c061869d', class: "db-header-brand-container" }, h("slot", { key: 'a610bb49cd670896fa1b980ffcdcbd40c2918b4e', name: "brand" })), h("div", { key: '1b94bf4ad2ae622875b7192812f9940e2a87c1e3', class: "db-header-navigation-container" }, h("div", { key: 'f57aac0c4268bf285de0c07bab40a736f0ca42a4', class: "db-header-navigation" }, h("slot", { key: '45d426690fb2dcb6da32f6f646f6b1a932670cd2' })), h("div", { key: 'e60bbd749efc91d9a00a54e3cbc6680e60f6e598', class: "db-header-primary-action" }, h("slot", { key: 'a41128047bc8063c45c14ff3ec58d83b7edd8361', name: "primaryAction" }))), h("div", { key: '82e9141ac1ad7f3a33c9bf0c15ccf969ccd5983f', class: "db-header-action-container" }, h("div", { key: '3f3a5c503ecd11a0aff43623921bb185c59c1802', class: "db-header-burger-menu-container" }, h("db-button", { key: '6547cf5982c0739960b9aa4363ddb71f1423a55b', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: 'd2c691eb6980e0eeffa512ade5074400bd7973b8', class: "db-header-secondary-action" }, h("slot", { key: '6cc84b46d137ac21aa90c3f84a873febc6fa0dba', name: "secondaryAction" })))), h("db-drawer", { key: '0dc5a353f9365bd76df967cdb3fee20be89c9525', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '3a28d35593fe006aa6269077466bd91f33d5f2e4', class: "db-header-drawer-navigation" }, h("div", { key: 'c42fff25d31fe234d841542b108805b0aa85e05c', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0de07dfbb68d8b6fcec8cf11e6398566fcd45ae2' })), h("div", { key: '062baf6f3e503751017a3715142e1622c27423bf', class: "db-header-meta-navigation" }, h("slot", { key: '2e703195477c67270e9bfee04335321c52b9de4f', name: "metaNavigation" }))), h("div", { key: '028079c3fae38bc282d8b064e4515ab1c27aa45e', class: "db-header-secondary-action" }, h("slot", { key: '879378953f36c55b5489a157a81e62f188ab5fca', name: "secondaryAction" })))));
88
94
  }
95
+ get rootElement() { return getElement(this); }
89
96
  static get watchers() { return {
90
97
  "initialized": [{
91
98
  "watch0": 0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBIcon = class {
@@ -42,14 +42,21 @@ const DBIcon = class {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
46
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
+ if (connectedElement) {
48
+ connectedElement.remove();
49
+ }
50
+ }
45
51
  this.enableAttributePassing(this._ref, "db-icon");
46
52
  }
47
53
  render() {
48
54
  var _a, _b;
49
- return (h("span", { key: '1b9ecf0a2b731a1146ab46d6cac0d3ce371dbc87', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
55
+ return (h("span", { key: '004fb7b91cd27bc452f4777dfd68183bd4bfeaab', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
50
56
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: 'dec85782807d446081a60b9bf7024823b5463bc1' })));
57
+ }, 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, h("slot", { key: 'e9b5fbdefc6cf80abff634c60966ad719985e2be' })));
52
58
  }
59
+ get rootElement() { return getElement(this); }
53
60
  };
54
61
 
55
62
  export { DBIcon as db_icon };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBInfotext = class {
@@ -42,14 +42,21 @@ const DBInfotext = class {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
46
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
+ if (connectedElement) {
48
+ connectedElement.remove();
49
+ }
50
+ }
45
51
  this.enableAttributePassing(this._ref, "db-infotext");
46
52
  }
47
53
  render() {
48
54
  var _a, _b, _c;
49
- return (h("span", { key: 'e0846770d940dd2213fc271bd9b2f73dcd43e477', class: cls("db-infotext", this.className), ref: (el) => {
55
+ return (h("span", { key: '8336d336c2ea90300646a83257cab6f34dfe862a', class: cls("db-infotext", this.className), ref: (el) => {
50
56
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: '62a49acb22657bcadf93d60c787652de37cce74b' })));
57
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: '1dd519913408aa16cce587ddaee31d3c3bae05b6' })));
52
58
  }
59
+ get rootElement() { return getElement(this); }
53
60
  };
54
61
 
55
62
  export { DBInfotext as db_infotext };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBLink = class {
@@ -42,14 +42,21 @@ const DBLink = class {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
46
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
+ if (connectedElement) {
48
+ connectedElement.remove();
49
+ }
50
+ }
45
51
  this.enableAttributePassing(this._ref, "db-link");
46
52
  }
47
53
  render() {
48
54
  var _a, _b, _c, _d;
49
- return (h("a", { key: '1748005b97867c678a3ea09072eeef7518a0170f', class: cls("db-link", this.className), ref: (el) => {
55
+ return (h("a", { key: '5dd3f3df5614e0e717feadc833d8fe2fe8825479', class: cls("db-link", this.className), ref: (el) => {
50
56
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : null, h("slot", { key: '9912370e0c8ba33af3ee8a7644e77f21335bddca' })));
57
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : null, h("slot", { key: 'c5dae4b61e3829e803a2ff89cfd0942cc4d6577d' })));
52
58
  }
59
+ get rootElement() { return getElement(this); }
53
60
  };
54
61
 
55
62
  export { DBLink as db_link };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { n as DEFAULT_BACK } from './constants-BdL-nI5y.js';
3
3
  import { d as delay, e as getBoolean, u as uuid, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { N as NavigationItemSafeTriangle } from './navigation-Jh6m0eMk.js';
@@ -105,6 +105,12 @@ const DBNavigationItem = class {
105
105
  }
106
106
  componentDidLoad() {
107
107
  var _a;
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
+ }
108
114
  this.enableAttributePassing(this._ref, "db-navigation-item");
109
115
  this.initialized = true;
110
116
  const subNavId = `sub-nav-${(_a = this.id) !== null && _a !== void 0 ? _a : uuid()}`;
@@ -115,10 +121,12 @@ const DBNavigationItem = class {
115
121
  }
116
122
  render() {
117
123
  var _a, _b, _c;
118
- return (h("li", { key: '445ddbc43af3b8ddf2e43614c7bbc8ad4990c125', class: cls("db-navigation-item", this.className), ref: (el) => {
124
+ return (h("li", { key: '555c0472fdd1d6888dc4a0b699fc85bb21e73199', class: cls("db-navigation-item", this.className), ref: (el) => {
119
125
  this._ref = el;
120
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : h("slot", null) : null, this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
126
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !getBoolean(this.hideSubNavigation, "hideSubNavigation") &&
127
+ this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", { name: "expandButton" })), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : this.text ? (this.text) : (h("slot", null))));
121
128
  }
129
+ get rootElement() { return getElement(this); }
122
130
  static get watchers() { return {
123
131
  "subNavigationExpanded": [{
124
132
  "watch0": 0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBNavigation = class {
@@ -42,14 +42,21 @@ const DBNavigation = class {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
46
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
+ if (connectedElement) {
48
+ connectedElement.remove();
49
+ }
50
+ }
45
51
  this.enableAttributePassing(this._ref, "db-navigation");
46
52
  }
47
53
  render() {
48
54
  var _a, _b;
49
- return (h("nav", { key: 'e2cf893f68f07f22c5df6828e136880bdafcc8ab', class: cls("db-navigation", this.className), ref: (el) => {
55
+ return (h("nav", { key: '33d5425a509a5d224245fcde89b66bb129d3fb57', class: cls("db-navigation", this.className), ref: (el) => {
50
56
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: 'cb715cb4c0c6ec6b74519475c5e05d5148af43a1' }, h("slot", { key: 'b571e5af2b79d9d0bbfd499b0fcb9f64a885ab54' }))));
57
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '796fbbd89657a52bbd7e932efe96ff62726bf5ea' }, h("slot", { key: 'df8847f6522250c540acc1154201d1c6bfbbce07' }))));
52
58
  }
59
+ get rootElement() { return getElement(this); }
53
60
  };
54
61
 
55
62
  export { DBNavigation as db_navigation };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { e as getBoolean, s as stringPropVisible, g as getBooleanAsString, p as getNotificationRole, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -52,18 +52,25 @@ const DBNotification = class {
52
52
  }
53
53
  }
54
54
  componentDidLoad() {
55
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
56
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
57
+ if (connectedElement) {
58
+ connectedElement.remove();
59
+ }
60
+ }
55
61
  this.enableAttributePassing(this._ref, "db-notification");
56
62
  }
57
63
  render() {
58
64
  var _a, _b, _c;
59
- return (h("div", { key: 'd7087027be76900f33941e4680afa30f8b008985', class: cls("db-notification", this.className), ref: (el) => {
65
+ return (h("div", { key: '80b4682644b5cae7f09842e8683a9445f782055b', class: cls("db-notification", this.className), ref: (el) => {
60
66
  this._ref = el;
61
67
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
62
68
  semantic: this.semantic,
63
69
  role: this.role,
64
70
  ariaLive: this.ariaLive,
65
- }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '014b063b231b29070ae428befe3fa5703e1a763a', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", { "data-area": "head" }, this.headline)) : null, h("div", { key: 'a6b0eb3a228d5788425916888d33b8425c261a47', "data-area": "content" }, this.text ? this.text : null, h("slot", { key: 'da393b44aa81d021b12053d637cbdd5c6586f548' })), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, h("slot", { key: '6d7c1d9da27fddd2ca59d50f00628d6aaf4e4c09', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
71
+ }), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '4fc52fd9fff6357307c4bdc102c03082688b44cf', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", { "data-area": "head" }, this.headline)) : null, h("div", { key: '6d61a4b4966795950a3da5dba130734bd0bbb2d9', "data-area": "content" }, this.text ? this.text : null, h("slot", { key: 'f4ca4c620e00a203da07c3d0ce2974ade705f489' })), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, h("slot", { key: 'e1509dd146ff4288f96062e6286b47b495b388dc', name: "link" }), getBoolean(this.closeable, "closeable") ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)) : null));
66
72
  }
73
+ get rootElement() { return getElement(this); }
67
74
  };
68
75
 
69
76
  export { DBNotification as db_notification };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { c as cls, g as getBooleanAsString } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBPage = class {
@@ -43,6 +43,12 @@ const DBPage = class {
43
43
  }
44
44
  }
45
45
  componentDidLoad() {
46
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
47
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
48
+ if (connectedElement) {
49
+ connectedElement.remove();
50
+ }
51
+ }
46
52
  this.enableAttributePassing(this._ref, "db-page");
47
53
  this.fontsLoaded = !this.fadeIn;
48
54
  if (document && this.fadeIn) {
@@ -63,10 +69,11 @@ const DBPage = class {
63
69
  }
64
70
  render() {
65
71
  var _a, _b;
66
- return (h("div", { key: 'b0ddc76aaed427b7c203d76bbb5b09be304b8134', class: cls("db-page", this.className), ref: (el) => {
72
+ return (h("div", { key: 'ff82686603b48757d15136f99ffee2e8261a0868', class: cls("db-page", this.className), ref: (el) => {
67
73
  this._ref = el;
68
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '6915333868fc61aaf327ae43fe6f967706972032', name: "header" }), h("main", { key: '20588c0501715204c8a87cff378ba7994caae76c', class: cls("db-main", this.mainClass) }, h("slot", { key: '9a52cdaf9c2673630855a455a101f75f065cbdd8' })), h("slot", { key: 'ff8faa06197c83675bf81d18b34d0db9019a664f', name: "footer" })));
74
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: 'b545b6a529c6502b6d9acaf4349056f9b191b47f', name: "header" }), h("main", { key: '67fe344765eb3dabbb1e6882e653142522ba7e20', class: cls("db-main", this.mainClass) }, h("slot", { key: '5ab992699f2db9d811124d9ad0955e94c816896a' })), h("slot", { key: '2c0e00536dcac7decddc76aacc13b58989b02464', name: "footer" })));
69
75
  }
76
+ get rootElement() { return getElement(this); }
70
77
  };
71
78
 
72
79
  export { DBPage as db_page };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
4
4
  import { b as handleFixedPopover } from './floating-components-DOPXnIzL.js';
@@ -161,6 +161,12 @@ const DBPopover = class {
161
161
  this.watch1Fn();
162
162
  }
163
163
  componentDidLoad() {
164
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
165
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
166
+ if (connectedElement) {
167
+ connectedElement.remove();
168
+ }
169
+ }
164
170
  this.enableAttributePassing(this._ref, "db-popover");
165
171
  this.initialized = true;
166
172
  this.watch0Fn();
@@ -168,10 +174,11 @@ const DBPopover = class {
168
174
  }
169
175
  render() {
170
176
  var _a, _b, _c;
171
- return (h("div", { key: '390b82916a04a39f602efb0a05d8702d51da4526', class: cls("db-popover", this.className), ref: (el) => {
177
+ return (h("div", { key: '5695f78c16f768ca34b16c05167518c2a2e26c35', class: cls("db-popover", this.className), ref: (el) => {
172
178
  this._ref = el;
173
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '17b12e9a5be220fedfa3ebe8f2bbb47ad1f1fb2f', name: "trigger" }), h("article", { key: '9b1cf4ce7cc66f558dd87b5cc6e3ca9a007bf1af', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '2e3a7edf39f6027ea34791b1b88668c081f03ba3' }))));
179
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: 'e765f506df650f9105ff6efb79c2d6fe36a48b91', name: "trigger" }), h("article", { key: '072c8716f82a49d319794e521f467d494fe4b313', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '3317509fd5cfbc56f9e0921f91e34520d9f93c87' }))));
174
180
  }
181
+ get rootElement() { return getElement(this); }
175
182
  static get watchers() { return {
176
183
  "_ref": [{
177
184
  "watch0": 0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { u as uuid, e as getBoolean, l as getHideProp, c as cls, d as delay } from './index-xkoBSP8R.js';
3
3
  import { b as addResetEventListener } from './form-components-D6LQfJvq.js';
4
4
 
@@ -113,6 +113,12 @@ const DBRadio = class {
113
113
  this.watch2Fn();
114
114
  }
115
115
  componentDidLoad() {
116
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
117
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
118
+ if (connectedElement) {
119
+ connectedElement.remove();
120
+ }
121
+ }
116
122
  this.enableAttributePassing(this._ref, "db-radio");
117
123
  this.initialized = true;
118
124
  this.resetIds();
@@ -125,10 +131,11 @@ const DBRadio = class {
125
131
  (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
126
132
  }
127
133
  render() {
128
- return (h("label", { key: 'a2b7dddcac7e055e558436ed57c1c6997916a8c0', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '02a94a4237ed5984ce14ab684d981e9676ad68e4', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
134
+ return (h("label", { key: '1ff5543af917149d3d1f51a2c67c7686b55f8d11', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '3409b94c081b36bd60ba84f8e6a4064e43e2ad50', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
129
135
  this._ref = el;
130
- }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : null, h("slot", { key: '3b430b5725a3d8c27c71e4937e009bc9da2eb1ef' })));
136
+ }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : null, h("slot", { key: 'c9850bcf9efb2e272e6ae8cc83ab92d62e095094' })));
131
137
  }
138
+ get rootElement() { return getElement(this); }
132
139
  static get watchers() { return {
133
140
  "id": [{
134
141
  "watch0": 0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBSection = class {
@@ -42,14 +42,21 @@ const DBSection = class {
42
42
  }
43
43
  }
44
44
  componentDidLoad() {
45
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
46
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
47
+ if (connectedElement) {
48
+ connectedElement.remove();
49
+ }
50
+ }
45
51
  this.enableAttributePassing(this._ref, "db-section");
46
52
  }
47
53
  render() {
48
54
  var _a, _b;
49
- return (h("section", { key: '8e4972331d6f10d78c705481dab9d7a7336bd5fd', class: cls("db-section", this.className), ref: (el) => {
55
+ return (h("section", { key: '03d6f7ed2eea5b1374d0f5be00d77e59897033ea', class: cls("db-section", this.className), ref: (el) => {
50
56
  this._ref = el;
51
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'e495f7247f9da72811055148e4a0a73489a10516' })));
57
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: '55c388d7e65e9bd27dd229f01a3c162719b90df2' })));
52
58
  }
59
+ get rootElement() { return getElement(this); }
53
60
  };
54
61
 
55
62
  export { DBSection as db_section };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-K4o-AcjZ.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, g as getBooleanAsString, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -220,6 +220,12 @@ const DBSelect = class {
220
220
  this.watch4Fn();
221
221
  }
222
222
  componentDidLoad() {
223
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
224
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
225
+ if (connectedElement) {
226
+ connectedElement.remove();
227
+ }
228
+ }
223
229
  this.enableAttributePassing(this._ref, "db-select");
224
230
  this.initialized = true;
225
231
  this.resetIds();
@@ -236,15 +242,16 @@ const DBSelect = class {
236
242
  }
237
243
  render() {
238
244
  var _a, _b, _c, _d, _e, _f;
239
- return (h("div", { key: '447466cea315310bff6793d9357323b45d4db313', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'bc9ee1c59c21a1ec52dc96e1aecc9892ef5b29ac', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '10e6f2c0ebedb72cbbcae2e78133353bd646eee8', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
245
+ return (h("div", { key: '3dd83828aaa06217389cf635687da0070ae88f56', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '8fe580a4172003361a5c16551c4965882dbb3ce0', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '2f0ba052dafae5d44c27442eb4c27fa117c6ba76', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
240
246
  this._ref = el;
241
247
  }, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
242
248
  /* @ts-ignore */
243
249
  value: (_c = (_b = this.value) !== null && _b !== void 0 ? _b : this._value) !== null && _c !== void 0 ? _c : undefined, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_e = this.options) === null || _e === void 0 ? void 0 : _e.length) ? ((_f = this.options) === null || _f === void 0 ? void 0 : _f.map((option) => {
244
250
  var _a;
245
251
  return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
246
- })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '186aaf564139c38963f7f448c15e8e1760e2b41c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c0fd12cd115acb62a4d3bf13dc8572b80c386d67', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
252
+ })) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '34ca1d025c67dc018375d56651a7f0ae1d2e245f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '6f64314bcf457ddd86b3695e314125cca14d10d1', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
247
253
  }
254
+ get rootElement() { return getElement(this); }
248
255
  static get watchers() { return {
249
256
  "id": [{
250
257
  "watch0": 0