@db-ux/wc-core-components 4.9.1 → 4.10.0-esm-94516f3

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
@@ -0,0 +1 @@
1
+ function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],r=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);r&&Object.defineProperty(n,o,{get(){return r.get.call(this)},set(t){r.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>n in t,l=(t,n)=>(0,console.error)(t,n),r="undefined"!=typeof window?window:{},s=r.HTMLElement||class{},i={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},c=!1,u=[],f=[],a=(t,n)=>e=>{t.push(e),c||(c=!0,n&&4&i.i?v(p):i.raf(p))},d=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){l(t)}t.length=0},p=()=>{d(u),d(f),(c=u.length>0)&&i.raf(p)},v=t=>Promise.resolve(undefined).then(t),h=a(f,!0),m=t=>{const n=new URL(t,i.u);return n.origin!==r.location.origin?n.href:n.pathname},y=t=>i.u=t,b=t=>{const n=j(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&$(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!w(t,O(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&j(t,"childNodes").length&&b(t)}};function $(t,n,e){let o,l=0,r=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||O(o)===e)&&(r.push(o),void 0!==e))return r;r=[...r,...$(o.childNodes,n,e)]}return r}var w=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)O(l)!==n||!e&&l["s-sr"]||o.push(l);return o},g=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,O=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function j(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var N,k,S=new WeakMap,M=t=>"object"==(t=typeof t)||"function"===t,E=(t,n,...e)=>{let o=null,l=null,r=null,s=!1,i=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!M(o))&&(o=String(o)),s&&i?c[c.length-1].p+=o:c.push(s?A(null,o):o),i=s)};if(u(e),n){n.key&&(l=n.key),n.name&&(r=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,L);const f=A(t,null);return f.v=n,c.length>0&&(f.h=c),f.m=l,f.$=r,f},A=(t,n)=>({i:0,O:t,p:null!=n?n:null,j:null,h:null,v:null,m:null,$:null}),P={},L={forEach:(t,n)=>t.map(_).forEach(n),map:(t,n)=>t.map(_).map(n).map(x)},_=t=>({vattrs:t.v,vchildren:t.h,vkey:t.m,vname:t.$,vtag:t.O,vtext:t.p}),x=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),E(t.vtag,n,...t.vchildren||[])}const n=A(t.vtag,t.vtext);return n.v=t.vattrs,n.h=t.vchildren,n.m=t.vkey,n.$=t.vname,n},F=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},R=(t,n)=>null==t||M(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t,T=(t,n)=>{const e=t;return{emit:t=>C(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},C=(t,n,e)=>{const o=i.ce(n,e);return t.dispatchEvent(o),o},B=(t,n,l,s,c,u)=>{if(l===s)return;let f=o(t,n),a=n.toLowerCase();if("class"===n){const n=t.classList,e=W(l);let o=W(s);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("key"===n);else if("ref"===n)s&&ct(s,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=M(s);if((f||e&&null!==s)&&!c)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?f=!1:null!=l&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(n)||t.removeAttribute(n):(!f||4&u||c)&&!e&&1===t.nodeType&&t.setAttribute(n,s=!0===s?"":s)}}else if(n="-"===n[2]?n.slice(3):o(r,a)?a.slice(2):a[2]+n.slice(3),l||s){const e=n.endsWith(D);n=n.replace(H,""),l&&i.rel(t,n,l,e),s&&i.ael(t,n,s,e)}},U=/\s/,W=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(U):[]),D="Capture",H=new RegExp(D+"$"),q=(t,n,e)=>{const o=11===n.j.nodeType&&n.j.host?n.j.host:n.j,l=t&&t.v||{},r=n.v||{};for(const t of z(Object.keys(l)))t in r||B(o,t,l[t],void 0,e,n.i);for(const t of z(Object.keys(r)))B(o,t,l[t],r[t],e,n.i)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var V=!1,Y=!1,I=!1,Z=!1,G=[],J=[],K=(t,n,e)=>{var o;const l=n.h[e];let s,i,c,u=0;if(V||(I=!0,"slot"===l.O&&(l.i|=l.h?2:1)),null!=l.p)s=l.j=r.document.createTextNode(l.p);else if(1&l.i)s=l.j=r.document.createTextNode(""),q(null,l,Z);else{if(!r.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.j=r.document.createElement(!V&&2&l.i?"slot-fb":l.O),q(null,l,Z),l.h){const n="template"===l.O?s.content:s;for(u=0;u<l.h.length;++u)i=K(t,l,u),i&&n.appendChild(i)}}return s["s-hn"]=k,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=N,s["s-sn"]=l.$||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===O(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),c=t&&t.h&&t.h[e],c&&c.O===l.O&&t.j&&Q(t.j)),s},Q=t=>{i.i|=1;const n=t.closest(k.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(ut(n,t,null!=e?e:null),t["s-sh"]=void 0,I=!0)}i.i&=-2},X=(t,n)=>{i.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===k&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==k&&o["s-ol"]&&(ut(ot(o).parentNode,o,ot(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,I=!0),n&&X(o,n)}i.i&=-2},tt=(t,n,e,o,l,r)=>{let s,i=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(i=i.content);l<=r;++l)o[l]&&(s=K(null,e,l),s&&(o[l].j=s,ut(i,s,ot(n))))},nt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.j;it(n),t&&(Y=!0,t["s-ol"]?t["s-ol"].remove():X(t,!0),t.remove())}}},et=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.$===n.$:e?(e&&!t.m&&n.m&&(t.m=n.m),!0):t.m===n.m),ot=t=>t&&t["s-ol"]||t,lt=(t,n,e=!1)=>{const o=n.j=t.j,l=t.h,r=n.h,s=n.p;let i;null==s?("slot"!==n.O||V||t.$!==n.$&&(n.j["s-sn"]=n.$||"",Q(n.j.parentElement)),q(t,n,Z),null!==l&&null!==r?((t,n,e,o,l=!1)=>{let r,s,i=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],v=o.length-1,h=o[0],m=o[v];const y="template"===e.O?t.content:t;for(;i<=a&&c<=v;)if(null==d)d=n[++i];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==m)m=o[--v];else if(et(d,h,l))lt(d,h,l),d=n[++i],h=o[++c];else if(et(p,m,l))lt(p,m,l),p=n[--a],m=o[--v];else if(et(d,m,l))"slot"!==d.O&&"slot"!==m.O||X(d.j.parentNode,!1),lt(d,m,l),ut(y,d.j,p.j.nextSibling),d=n[++i],m=o[--v];else if(et(p,h,l))"slot"!==d.O&&"slot"!==m.O||X(p.j.parentNode,!1),lt(p,h,l),ut(y,p.j,d.j),p=n[--a],h=o[++c];else{for(u=-1,f=i;f<=a;++f)if(n[f]&&null!==n[f].m&&n[f].m===h.m){u=f;break}u>=0?(s=n[u],s.O!==h.O?r=K(n&&n[c],e,u):(lt(s,h,l),n[u]=void 0,r=s.j),h=o[++c]):(r=K(n&&n[c],e,c),h=o[++c]),r&&ut(ot(d.j).parentNode,r,ot(d.j))}i>a?tt(t,null==o[v+1]?null:o[v+1].j,e,o,c,v):c>v&&nt(n,i,a)})(o,l,n,r,e):null!==r?(null!==t.p&&(o.textContent=""),tt(o,null,n,r,0,r.length-1)):!e&&null!==l&&nt(l,0,l.length-1)):(i=o["s-cr"])?i.parentNode.textContent=s:t.p!==s&&(o.data=s)},rt=[],st=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(g(n,l)){let e=rt.find((t=>t.N===n));Y=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],rt.push({k:t,N:n})),n["s-sr"]&&rt.map((t=>{g(t.N,n["s-sn"])&&(e=rt.find((t=>t.N===n)),e&&!t.k&&(t.k=e.k))}))}else rt.some((t=>t.N===n))||rt.push({N:n})}1===t.nodeType&&st(t)}},it=t=>{t.v&&t.v.ref&&G.push((()=>t.v.ref(null))),t.h&&t.h.map(it)},ct=(t,n)=>{J.push((()=>t(n)))},ut=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=O(t)||"";return{slotNode:$(j(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},ft=(t,n,e=!1)=>{var o,l,s,c,u;const f=t.$hostElement$,a=t.o,d=t.S||A(null,null);var p;const v=(p=n)&&p.O===P?n:E(null,null,n);if(k=f.tagName,e&&v.v)for(const t of Object.keys(v.v))f.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(v.v[t]=f[t]);if(v.O=null,v.i|=4,t.S=v,v.j=d.j=f,V=false,N=f["s-cr"],Y=!1,lt(d,v,e),i.i|=1,I){st(v.j);for(const t of rt){const n=t.N;if(!n["s-ol"]&&r.document){const t=r.document.createTextNode("");t["s-nr"]=n,ut(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of rt){const n=t.N,i=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),i){const t=i.parentNode;let o=i.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(ut(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=r.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,ut(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(c=n["s-ih"])&&c)}n&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===n.nodeType&&(n.hidden=!0)}}if(Y&&b(v.j),i.i&=-2,rt.length=0,!V&&!(1&a.i)&&f["s-cr"]){const t=v.j.__childNodes||v.j.childNodes;for(const n of t)if(n["s-hn"]!==k&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(u=n.hidden)&&u),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=r.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],ut(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}N=void 0,G.forEach((t=>t())),G.length=0,J.forEach((t=>t())),J.length=0},at=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},dt=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);at(t,t.A);const e=()=>pt(t,n);if(!n)return h(e);queueMicrotask((()=>{e()}))},pt=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=wt(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=vt(l,(()=>wt(o,"componentWillRender",void 0,e))),vt(l,(()=>mt(t,o,n)))},vt=(t,n)=>ht(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),ht=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,mt=async(t,n,e)=>{var o;const l=t.$hostElement$,r=l["s-rc"];yt(t,n,l,e),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>bt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},yt=(t,n,e,o)=>{try{n=n.render(),t.i&=-17,t.i|=2,ft(t,n,o)}catch(n){l(n,t.$hostElement$)}return null},bt=t=>{const n=t.$hostElement$,e=n,o=t.A;wt(e,"componentDidRender",void 0,n),64&t.i?wt(e,"componentDidUpdate",void 0,n):(t.i|=64,gt(n),wt(e,"componentDidLoad",void 0,n),t.P(n),o||$t()),t.M&&(t.M(),t.M=void 0),512&t.i&&v((()=>dt(t,!1))),t.i&=-517},$t=()=>{v((()=>C(r,"appload",{detail:{namespace:"db-ux"}})))},wt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){l(t,o)}},gt=t=>t.classList.add("hydrated"),Ot=(t,n,o,r)=>{const s=e(t);if(!s)return;const i=t,c=s.l.get(n),u=s.i,f=i;o=R(o,r.t[n][0]);const a=Number.isNaN(c)&&Number.isNaN(o);if(o!==c&&!a){if(s.l.set(n,o),r.L){const t=r.L[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):s._.push((()=>{s.F[e](o,c,n)})))}catch(t){l(t,i)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||dt(s,!1)}}},jt=(n,o)=>{var l,r;const s=n.prototype;{n.watchers&&!o.L&&(o.L=F(n.watchers)),n.deserializers&&!o.R&&(o.R=n.deserializers),n.serializers&&!o.T&&(o.T=n.serializers);const c=Object.entries(null!=(l=o.t)?l:{});c.map((([n,[l]])=>{if(31&l||32&l){const{get:r,set:i}=t(s,n)||{};r&&(o.t[n][0]|=2048),i&&(o.t[n][0]|=4096),Object.defineProperty(s,n,{get(){return r?r.apply(this):(t=n,e(this).l.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(s,n,{set(t){const r=e(this);if(r){if(i)return void 0===(32&l?this[n]:r.$hostElement$[n])&&r.l.get(n)&&(t=r.l.get(n)),i.apply(this,[R(t,l)]),void Ot(this,n,t=32&l?this[n]:r.$hostElement$[n],o);Ot(this,n,t,o)}}})}}));{const t=new Map;s.attributeChangedCallback=function(n,l,r){i.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==r)return;if(null==u){const t=null==f?void 0:f.i;if(f&&t&&!(8&t)&&r!==l){const e=this,s=null==(i=o.L)?void 0:i[n];null==s||s.forEach((o=>{const[[s,i]]=Object.entries(o);null!=e[s]&&(128&t||1&i)&&e[s].call(e,r,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===r&&void 0===this[u];d&&(r=null!==r&&"false"!==r);const v=Object.getOwnPropertyDescriptor(s,u);p||r==this[u]||v.get&&!v.set||(this[u]=r)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=o.L)?r:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{const o=e[1]||n;return t.set(o,n),o}))]))}}return n},Nt=t=>{if(!r.document)return;const n=t["s-cr"]=r.document.createComment("");n["s-cn"]=!0,ut(t,n,t.firstChild)},kt=(t,o)=>{const r={i:o[0],C:o[1]};try{r.t=o[2],r.L=F(t.L),r.R=t.R,r.T=t.T;const s=t.prototype.connectedCallback,c=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={i:0,$hostElement$:t,o:e,l:new Map,B:new Map};o.U=new Promise((t=>o.P=t)),t["s-p"]=[],t["s-rc"]=[];const l=o;t.__stencil__getHostRef=()=>l,512&e.i&&n(t,o)})(this,r)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!e(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&i.i)){const n=e(t);if(!n)return;const o=n.o,r=()=>{};if(1&n.i)(null==n?void 0:n.F)||(null==n?void 0:n.U)&&n.U.then((()=>{}));else{n.i|=1,12&o.i&&Nt(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){at(n,n.A=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n)=>{try{32&n.i||(n.i|=32,customElements.whenDefined(t.localName).then((()=>n.i|=128)));const e=n.A,o=()=>dt(n,!0);e&&e["s-rc"]?e["s-rc"].push(o):o()}catch(e){l(e,t),n.M&&(n.M(),n.M=void 0),n.P&&n.P(t)}})(t,n)}r()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{1&i.i||e(t),S.has(t)&&S.delete(t),t.shadowRoot&&S.has(t.shadowRoot)&&S.delete(t.shadowRoot)})(this),c&&c.call(this)},__attachShadow(){this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:r.C,configurable:!0}),jt(t,r)}catch(n){return l(n),t}},St=(t,n)=>n,Mt=t=>i.W=t,Et=t=>Object.assign(i,t),At=new WeakMap;function Pt(t,n){let e=At.get(n);e||(e={i:0,o:{i:0,C:n.tagName},$hostElement$:n},At.set(n,e)),ft(e,t)}function Lt(t){return t}const _t=()=>{var t,n;if("undefined"!=typeof window){if(null===(t=window.crypto)||void 0===t?void 0:t.randomUUID)return window.crypto.randomUUID();if(null===(n=window.crypto)||void 0===n?void 0:n.getRandomValues)return window.crypto.getRandomValues(new Uint32Array(3)).join("-")}return Math.random().toString().substring(2)},xt=(t,n)=>{Object.values(t.children).forEach((t=>{t.setAttribute(n.key,n.value),t.children.length>0&&xt(t,n)}))},Ft=(...t)=>{let n="";for(const e of t)if(e)if("string"==typeof e)n+=`${e} `;else for(const t in e)e[t]&&(n+=`${t} `);return n.trim()},Rt=t=>Array.isArray(t)&&t.every((t=>"string"==typeof t)),Tt=["Mac","iPhone","iPad","iPod"],Ct=()=>"undefined"!=typeof window&&Tt.some((t=>window.navigator.userAgent.includes(t))),Bt=()=>{if("undefined"==typeof window||"undefined"==typeof navigator)return!1;const t=navigator.userAgent,n=/iP(ad|hone|od)/.test(t),e=!!t.match(/Safari/)&&!t.match(/CriOS|FxiOS|OPiOS|EdgiOS/);return n&&e},Ut=(t,n)=>new Promise((()=>setTimeout(t,n))),Wt=t=>{if(null!=t)return String("string"==typeof t?"true"===t:t)},Dt=(t,n)=>{if(null!=t)return"string"==typeof t?Boolean(n===t||"true"===t):Boolean(t)},Ht=(t,n)=>{if(null!=t||null!=n)return Number(null!=t?t:n)},qt=t=>{if(null!=t)return"any"===t?"any":Number(t)},zt=(t,n)=>n&&["number","range"].includes(n)?Ht(t):t,Vt=t=>"string"==typeof t?"true"===t:t,Yt=t=>{if(null!=t)return Wt(!Vt(t))},It=(t,n)=>void 0===n?!!t:Vt(n)&&Boolean(t),Zt=t=>t.querySelector('input[type="search"]'),Gt=(t,n)=>{var e,o;return`${n}${null!==(o=null!==(e=t.id)&&void 0!==e?e:t.value)&&void 0!==o?o:_t()}`},Jt=t=>void 0!==t.key,Kt=({semantic:t,role:n,ariaLive:e})=>{if(n)return n;if(e)return"article";switch(t){case"critical":case"warning":return"alert";case"informational":case"successful":return"status";default:return"article"}};export{T as A,St as F,s as H,Mt as a,Et as b,xt as c,Ft as d,Bt as e,Ut as f,m as g,Ct as h,Rt as i,Wt as j,Dt as k,Ht as l,qt as m,zt as n,Yt as o,It as p,Zt as q,Pt as r,y as s,Lt as t,_t as u,Gt as v,Jt as w,Kt as x,kt as y,E as z}
@@ -0,0 +1 @@
1
+ import{y as t,H as i,A as e,j as s,z as a,k as h,d as n,t as d}from"./p-CCbaTFJ9.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.change=e(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=s(t.target===this._ref)}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(i,e)=>{t.call(this._ref,i,e),"name"===i&&(this._name=e)}}}handleChange(t){this.change&&this.change.emit(t)}enableAttributePassing(t,i){const e=null==t?void 0:t.closest(i);if(t&&e){const i=e.attributes;for(let s=0;s<i.length;s++){const a=i.item(s);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),s=a.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(a.name,`${h?`${h} `:""}${s}`),i?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){var t;this._ref&&this.initialized&&this.boundSetSelectedOnChange&&(this.initialized=!1,this._listenerAdded||(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.addEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!0),(this.active||this._ref.checked)&&(this._selected=s(!0),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-item"),this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1)}render(){var t,i,e,d,c,o;return a("li",{key:"8f237a10d09644e2bad44ff457e5ae7bb6ed80f3",class:n("db-tab-item",this.className),role:"none"},a("label",{key:"530c603c5927f732cc76920537fe169a15ebbd4c",htmlFor:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-icon":null!==(e=this.iconLeading)&&void 0!==e?e:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":s(null!==(d=this.showIconLeading)&&void 0!==d?d:this.showIcon),"data-show-icon-trailing":s(this.showIconTrailing),"data-no-text":s(this.noText)},a("input",{key:"8551abf9afc26bb0edfb9a8f94adb21f5c95bf4e",type:"radio",role:"tab",disabled:h(this.disabled,"disabled"),"aria-selected":this._selected,checked:h(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:null!==(c=this.id)&&void 0!==c?c:null===(o=this.propOverrides)||void 0===o?void 0:o.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,a("slot",{key:"4f1f678c9edcef4f977f3677903b682f5bf723b4"})))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},[260,"db-tab-item",{active:[8],name:[1],className:[1,"classname"],id:[1],propOverrides:[16],iconLeading:[1,"icon-leading"],icon:[1],iconTrailing:[1,"icon-trailing"],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],showIconTrailing:[8,"show-icon-trailing"],noText:[8,"no-text"],disabled:[8],checked:[8],label:[1],_selected:[32],_name:[32],initialized:[32],_listenerAdded:[32],boundSetSelectedOnChange:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}]);function o(){"undefined"!=typeof customElements&&["db-tab-item"].forEach((t=>{"db-tab-item"===t&&(customElements.get(d(t))||customElements.define(d(t),c))}))}export{c as D,o as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as s,z as e,d,t as a}from"./p-CCbaTFJ9.js";const i=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let d=0;d<s.length;d++){const a=s.item(d);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),d=a.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(a.name,`${i?`${i} `:""}${d}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-list")}render(){var t,s;return e("div",{key:"ce54a7c3bef0090cf7aa0d6b11fedd6d3b4bbd07",class:d("db-tab-list",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},e("ul",{key:"8ac107177182afdde5163dee58917fa69b75e40c",role:"tablist"},e("slot",{key:"0d53d4b529c439784d7c66894b967b41fb9eb38d"})))}get rootElement(){return this}},[260,"db-tab-list",{id:[1],propOverrides:[16],className:[1,"classname"]}]);function n(){"undefined"!=typeof customElements&&["db-tab-list"].forEach((t=>{"db-tab-list"===t&&(customElements.get(a(t))||customElements.define(a(t),i))}))}export{i as D,n as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as s,A as i,w as e,f as a,z as d,j as o,d as c,k as n,t as h}from"./p-CCbaTFJ9.js";import{s as r}from"./p-BdL-nI5y.js";import{d as l}from"./p-DVYa1bHg.js";const b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.close=i(this,"close"),this.initialized=!1}handleClose(t,s){var i;t&&(e(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(i=t.target)||void 0===i?void 0:i.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=n(this.open,"open");t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),a((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),a((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let e=0;e<s.length;e++){const a=s.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(a.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-drawer"),this.handleDialogOpen(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,i;return d("dialog",{key:"a09369527805c993297bc3d27cf1f03c5e06f232",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},d("article",{key:"cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac",class:c("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":o(this.rounded)},d("header",{key:"20a175ba0707e3cc207e1e57dd925b8234b86877",class:"db-drawer-header"},d("div",{key:"d317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa",class:"db-drawer-header-text"},d("slot",{key:"1456a65346ebd9d52dafe48022cc0b343216cc09",name:"drawerHeader"})),d("db-button",{key:"6741766807bb56a24ed7bb385240093a3a1e5f7f",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(i=this.closeButtonText)&&void 0!==i?i:r)),d("div",{key:"dea536d8bd27dccdb7edd476defc68beed65254f",class:"db-drawer-content"},d("slot",{key:"bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b"}))))}get rootElement(){return this}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}},[260,"db-drawer",{open:[8],position:[1],backdrop:[1],variant:[1],id:[1],propOverrides:[16],direction:[1],className:[1,"classname"],spacing:[1],width:[1],rounded:[8],closeButtonId:[1,"close-button-id"],closeButtonText:[1,"close-button-text"],initialized:[32]},void 0,{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}]);function f(){"undefined"!=typeof customElements&&["db-drawer","db-button"].forEach((t=>{switch(t){case"db-drawer":customElements.get(h(t))||customElements.define(h(t),b);break;case"db-button":customElements.get(h(t))||l()}}))}export{b as D,f as d}
@@ -0,0 +1 @@
1
+ import{f as t}from"./p-CCbaTFJ9.js";const e=(t,e,c)=>{t.form&&!t._dbFormResetListenerAdded&&(t.form.addEventListener("reset",(t=>{e(t)}),{signal:c}),t._dbFormResetListenerAdded=!0)},c=(c,a,b,s)=>{e(c,(e=>{t((()=>{const t=a.checked?a.checked:a.defaultChecked?a.defaultChecked:c.checked,s=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{checked:t})});b(s)}),1)}),s)},a=(c,a,b,s)=>{e(c,(e=>{t((()=>{const t=a.value?a.value:a.defaultValue?a.defaultValue:c.value,s=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{value:t})});b(s)}),1)}),s)};export{c as a,e as b,a as c}
@@ -0,0 +1 @@
1
+ import{y as t,H as s,A as i,k as e,z as c,j as h,d as a,t as o}from"./p-CCbaTFJ9.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.change=i(this,"change"),this.hasDivider=!1}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return e(this.checked,"checked")?"check":"x_placeholder"}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let e=0;e<s.length;e++){const c=s.item(e);if(c&&"data-density"!==c.name&&(c.name.startsWith("data-")||c.name.startsWith("aria-")))t.setAttribute(c.name,c.value),i.removeAttribute(c.name);else if(c&&"data-density"!==c.name&&"class"!==c.name&&"style"===c.name)t.setAttribute(c.name,c.value),i.removeAttribute(c.name);else if(c&&"class"===c.name){const s=c.value.includes("hydrated"),e=c.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(c.name,`${h?`${h} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(c.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this.watch0Fn()}render(){var t,s;return c("li",{key:"67c52a98bf21203bd6f5f14617ec32d2e81f29e4",class:a("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-divider":h(this.hasDivider)},this.isGroupTitle?c("span",null,this.groupTitle):c("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":h(this.showIcon),"data-icon-trailing":this.getIconTrailing()},c("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:e(this.checked,"checked"),disabled:e(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:null,c("slot",null)))}get rootElement(){return this}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},[260,"db-custom-select-list-item",{isGroupTitle:[4,"is-group-title"],showDivider:[4,"show-divider"],type:[1],checked:[8],id:[1],propOverrides:[16],className:[1,"classname"],groupTitle:[1,"group-title"],icon:[1],showIcon:[8,"show-icon"],name:[1],disabled:[8],value:[8],label:[1],hasDivider:[32]},void 0,{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}]);function l(){"undefined"!=typeof customElements&&["db-custom-select-list-item"].forEach((t=>{"db-custom-select-list-item"===t&&(customElements.get(o(t))||customElements.define(o(t),d))}))}export{d as D,l as d}
@@ -0,0 +1 @@
1
+ const t=t=>{const{outTop:o,outBottom:e,outLeft:i,outRight:l}=(t=>{var o;const{top:e,bottom:i,left:l,right:r}=t.getBoundingClientRect(),{innerHeight:n,innerWidth:d}=window;let h=e<0,p=i>n,c=l<0,a=r>d;const s=t.dataset.outsideVy,f=t.dataset.outsideVx,b=null===(o=null==t?void 0:t.parentElement)||void 0===o?void 0:o.getBoundingClientRect();return b&&(s&&("top"===t.dataset.outsideVy?h=b.top-(i-b.bottom)<0:p=b.bottom+(b.top-e)>n),f&&("left"===t.dataset.outsideVx?c=b.left-(r-b.right)<0:a=b.right+(b.left-l)>d)),{outTop:h,outBottom:p,outLeft:c,outRight:a}})(t);let r={};return o||e?(r={vy:o?"top":"bottom"},t.dataset.outsideVy=r.vy):delete t.dataset.outsideVy,i||l?(r=Object.assign(Object.assign({},r),{vx:l?"right":"left"}),t.dataset.outsideVx=r.vx):delete t.dataset.outsideVx,r},o=(t,o,i)=>{if(!t||!o)return;if("9999"===getComputedStyle(t).zIndex)return;const{top:l,bottom:r,childHeight:n,childWidth:d,width:h,right:p,left:c,correctedPlacement:a}=e(t,o,i);"full"===t.dataset.width&&(t.style.inlineSize=`${h}px`),"top"===a||"bottom"===a||"top-start"===a||"bottom-start"===a?t.style.insetInlineStart=`${c}px`:"top-end"!==a&&"bottom-end"!==a||(t.style.insetInlineStart=p-d+"px"),(null==a?void 0:a.startsWith("top"))?t.style.insetBlockStart=l-n+"px":(null==a?void 0:a.startsWith("bottom"))&&(t.style.insetBlockStart=`${r}px`),t.style.position="fixed"},e=(t,o,e)=>{if(!t||!o)return{top:0,bottom:0,right:0,height:0,width:0,left:0,childHeight:0,childWidth:0,correctedPlacement:e,innerWidth:window.innerWidth,innerHeight:window.innerHeight};const i=t.getBoundingClientRect(),{top:l,height:r,bottom:n,right:d,left:h,width:p}=o.getBoundingClientRect(),{innerHeight:c,innerWidth:a}=window;let s=i.height,f=i.width;"bottom"!==e&&"top"!==e||(f/=2),"left"!==e&&"right"!==e||(s/=2);const b=n+s>c,g=l-s<0,u=h-f<0,m=d+f>a;let $=e;return e.startsWith("bottom")?b?($=null==e?void 0:e.replace("bottom","top"),u&&m?$="top":u?$="top-start":m&&($="top-end")):u&&m?$="bottom":u?$="bottom-start":m&&($="bottom-end"):e.startsWith("top")?g?($=null==e?void 0:e.replace("top","bottom"),u&&m?$="bottom":u?$="bottom-start":m&&($="bottom-end")):u&&m?$="top":u?$="top-start":m&&($="top-end"):e.startsWith("left")?u?($=null==e?void 0:e.replace("left","right"),b&&g?$="right":b?$="right-end":g&&($="right-start")):b&&g?$="left":b?$="left-end":g&&($="left-start"):$.startsWith("right")&&(m?($=null==e?void 0:e.replace("right","left"),b&&g?$="left":b?$="left-end":g&&($="left-start")):b&&g?$="right":b?$="right-end":g&&($="right-start")),{top:l,bottom:n,right:d,height:r,width:p,left:h,childHeight:i.height,childWidth:i.width,correctedPlacement:$,innerWidth:a,innerHeight:c}},i=new WeakMap,l=(t,o,l)=>{var r,n;if(!t||!o)return;const d=getComputedStyle(o),h=["absolute","fixed"].includes(d.position),p=(t=>{if(i.has(t))return i.get(t);let o=t.parentElement,e=0;for(;o&&e<10;){if(o.dataset.correctedPlacement)return i.set(t,o),o;o=o.parentElement,e+=1}return i.set(t,null),null})(t),c=!p&&!h,a=null!==(n=null===(r=getComputedStyle(t))||void 0===r?void 0:r.getPropertyValue("--db-popover-distance"))&&void 0!==n?n:"0px";let{top:s,height:f,width:b,childHeight:g,childWidth:u,right:m,left:$,bottom:x,correctedPlacement:v,innerWidth:w,innerHeight:W}=e(t,o,l);if(p){const t=p.getBoundingClientRect();$=Math.abs($-t.left),m=1.5*(b+Math.abs(m-t.right)),s=Math.abs(s-t.top),x=1.5*(f+Math.abs(x-t.bottom))}if(h&&($=0,m=b,s=0,x=f,["auto","inherit","0"].includes(d.zIndex)&&(o.style.zIndex="1")),u>b&&(v.startsWith("bottom")||v.startsWith("top"))){const o=b/2/u*100;v.endsWith("start")?t.style.setProperty("--db-tooltip-arrow-inline-start",`${o}%`):v.endsWith("end")?t.style.setProperty("--db-tooltip-arrow-inline-start",100-o+"%"):t.style.setProperty("--db-tooltip-arrow-inline-start","50%")}if(g>f&&(v.startsWith("left")||v.startsWith("bottom"))){const o=f/2/g*100;v.endsWith("start")?t.style.setProperty("--db-tooltip-arrow-block-start",`${o}%`):v.endsWith("end")?t.style.setProperty("--db-tooltip-arrow-block-start",100-o+"%"):t.style.setProperty("--db-tooltip-arrow-block-start","50%")}if("right"===v||"left"===v)t.style.insetBlockStart=`${s+f/2}px`;else if("right-start"===v||"left-start"===v){const o=s+g;t.style.insetBlockStart=`${s}px`,t.style.insetBlockEnd=`${!h&&o>W?W:o}px`}else if("right-end"===v||"left-end"===v){const o=x-g;t.style.insetBlockStart=`${!h&&o<0?0:o}px`,t.style.insetBlockEnd=`${x}px`}else if("top"===v||"bottom"===v)t.style.insetInlineStart=`${$+b/2}px`;else if("top-start"===v||"bottom-start"===v){const o=$+u;t.style.insetInlineStart=`${$}px`,t.style.insetInlineEnd=`${!h&&o>w?w:o}px`}else if("top-end"===v||"bottom-end"===v){const o=m-u;t.style.insetInlineStart=`${!h&&o<0?0:o}px`,t.style.insetInlineEnd=`${m}px`}if(null==v?void 0:v.startsWith("right")){const o=m+u;t.style.insetInlineStart=`calc(${m}px + ${a})`,t.style.insetInlineEnd=`calc(${c&&o>w?w:o}px + ${a})`}else if(null==v?void 0:v.startsWith("left")){const o=$-u;t.style.insetInlineStart=`calc(${c&&o<0?0:o}px - ${a})`,t.style.insetInlineEnd=`calc(${m}px - ${a})`}else if(null==v?void 0:v.startsWith("top")){const o=s-g;t.style.insetBlockStart=`calc(${c&&o<0?0:o}px - ${a})`,t.style.insetBlockEnd=`calc(${h?o:x}px - ${a})`}else if(null==v?void 0:v.startsWith("bottom")){const o=x+g;t.style.insetBlockStart=`calc(${h?o:x}px + ${a})`,t.style.insetBlockEnd=`calc(${c&&o>W?W:o}px + ${a})`}t.style.position="fixed",t.dataset.correctedPlacement=v};export{o as a,l as b,e as g,t as h}
@@ -0,0 +1 @@
1
+ import{y as t,H as i,A as s,k as e,z as a,j as n,d as h,t as d}from"./p-CCbaTFJ9.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.toggle=s(this,"toggle"),this._open=!1,this._name=void 0,this.initialized=!1}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(i,s)=>{t.call(this._ref,i,s),"name"===i&&(this._name=s)}}}handleToggle(t){null==t||t.preventDefault();const i=!this._open;this.toggle&&this.toggle.emit(i),void 0===this.open&&(this._open=i)}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const a=i.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(a.name,`${n?`${n} `:""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}watch2Fn(){const t=e(this.open,"open");void 0!==t&&(this._open=t)}watch2(){this.watch2Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-accordion-item"),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}render(){var t,i;return a("li",{key:"7bfcb3c0b3bc70446504054b267ad2747a7360ef",class:h("db-accordion-item",this.className),id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id},a("details",{key:"18345f01252d5c48e3e22b0f9fa7258afb2aa77b","aria-disabled":n(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},a("summary",{key:"8ce63298f1899cbe77d1eda2a71135aa74e9049d",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:a("slot",{name:"headline"})),a("div",{key:"3b2275eba655b47e08af48d0fd49e68e7cd40a4a"},this.text?this.text:null,a("slot",{key:"52caf8709e1f54d69ad7433365146565609248ac"}))))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}],open:[{watch2:0}]}}},[260,"db-accordion-item",{defaultOpen:[4,"default-open"],name:[1],open:[8],id:[1],propOverrides:[16],className:[1,"classname"],disabled:[8],headlinePlain:[1,"headline-plain"],text:[1],_open:[32],_name:[32],initialized:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}],open:[{watch2:0}]}]);function o(){"undefined"!=typeof customElements&&["db-accordion-item"].forEach((t=>{"db-accordion-item"===t&&(customElements.get(d(t))||customElements.define(d(t),c))}))}export{c as D,o as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as i,A as s,z as a,d as n,t as e,j as o,k as d}from"./p-CCbaTFJ9.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=s(this,"click")}getButtonType(){return this.type?this.type:this.click?"button":"submit"}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const n=i.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const i=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(n.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-button")}render(){var t,i,s,e;return a("button",{key:"ca13a30fcf43bcd6e043e3dc2bbcb94eb3347450",class:n("db-button",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,type:this.getButtonType(),disabled:d(this.disabled,"disabled"),"data-icon":null!==(s=this.iconLeading)&&void 0!==s?s:this.icon,"data-show-icon":o(null!==(e=this.showIconLeading)&&void 0!==e?e:this.showIcon),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":o(this.showIconTrailing),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-wrap":o(this.wrap),"data-no-text":o(this.noText),name:this.name,form:this.form,value:this.value},this.text?this.text:null,a("slot",{key:"1f0aee6d7db3187db5575729569bfdd4c88c0e19"}))}get rootElement(){return this}},[260,"db-button",{type:[1],id:[1],propOverrides:[16],className:[1,"classname"],disabled:[8],iconLeading:[1,"icon-leading"],icon:[1],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],iconTrailing:[1,"icon-trailing"],showIconTrailing:[8,"show-icon-trailing"],size:[1],width:[1],variant:[1],wrap:[8],noText:[8,"no-text"],name:[1],form:[1],value:[1],text:[1]}]);function h(){"undefined"!=typeof customElements&&["db-button"].forEach((t=>{"db-button"===t&&(customElements.get(e(t))||customElements.define(e(t),c))}))}export{c as D,h as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as e,A as s,z as a,d as o,t as i,j as d}from"./p-CCbaTFJ9.js";import{m as n}from"./p-BdL-nI5y.js";import{d as c}from"./p-BJJFATCC.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.remove=s(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:n}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let a=0;a<e.length;a++){const o=e.item(a);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))t.setAttribute(o.name,o.value),s.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)t.setAttribute(o.name,o.value),s.removeAttribute(o.name);else if(o&&"class"===o.name){const e=o.value.includes("hydrated"),a=o.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(o.name,`${i?`${i} `:""}${a}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(o.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tag")}render(){var t,e,s;return a("div",{key:"85b02f290e8323ddd9a61ee5cf15893e7bc0cdab",class:o("db-tag",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,"data-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":d(null===(s=this.showCheckState)||void 0===s||s),"data-show-icon":d(this.showIcon),"data-no-text":d(this.noText),"data-overflow":d(this.overflow)},a("slot",{key:"3aefef41d0a30b8f979e43146936be56a1d9181b",name:"content"}),this.text?this.text:null,a("slot",{key:"e283aefd212ea8c7f7eab8da48ed19a7f4763e38"}),"removable"===this.behavior?a("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},a("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}get rootElement(){return this}},[260,"db-tag",{removeButton:[1,"remove-button"],id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],emphasis:[1],icon:[1],showCheckState:[8,"show-check-state"],showIcon:[8,"show-icon"],noText:[8,"no-text"],overflow:[8],text:[1],behavior:[1]}]);function l(){"undefined"!=typeof customElements&&["db-tag","db-tooltip"].forEach((t=>{switch(t){case"db-tag":customElements.get(i(t))||customElements.define(i(t),h);break;case"db-tooltip":customElements.get(i(t))||c()}}))}export{h as D,l as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as s,z as e,d as a,t as n}from"./p-CCbaTFJ9.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const n=s.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"class"===n.name){const s=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(n.name,`${d?`${d} `:""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(n.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-panel")}render(){var t,s;return e("section",{key:"86076593b5c38755ddd08bbb930bb8252b9e5e78",class:a("db-tab-panel",this.className),role:"tabpanel",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},this.content?this.content:null,e("slot",{key:"5069f16c7266dd495e8f9fb03c3bb69546976842"}))}get rootElement(){return this}},[260,"db-tab-panel",{className:[1,"classname"],id:[1],propOverrides:[16],content:[1]}]);function i(){"undefined"!=typeof customElements&&["db-tab-panel"].forEach((t=>{"db-tab-panel"===t&&(customElements.get(n(t))||customElements.define(n(t),d))}))}export{d as D,i as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as s,z as e,d as a,t as i,j as d}from"./p-CCbaTFJ9.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const i=s.item(a);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),a=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?`${d} `:""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(i.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-infotext")}render(){var t,s,i;return e("span",{key:"8336d336c2ea90300646a83257cab6f34dfe862a",class:a("db-infotext",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-wrap":d(this.wrap),"data-show-icon-leading":d(null===(i=this.showIcon)||void 0===i||i)},this.text?this.text:null,e("slot",{key:"1dd519913408aa16cce587ddaee31d3c3bae05b6"}))}get rootElement(){return this}},[260,"db-infotext",{id:[1],propOverrides:[16],className:[1,"classname"],icon:[1],semantic:[1],size:[1],wrap:[8],showIcon:[8,"show-icon"],text:[1]}]);function o(){"undefined"!=typeof customElements&&["db-infotext"].forEach((t=>{"db-infotext"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))}export{n as D,o as d}
@@ -0,0 +1 @@
1
+ import{y as t,H as s,z as e,d,t as o}from"./p-CCbaTFJ9.js";const a=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.width="fixed"}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let d=0;d<s.length;d++){const o=s.item(d);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))t.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)t.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"class"===o.name){const s=o.value.includes("hydrated"),d=o.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(o.name,`${a?`${a} `:""}${d}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(o.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){var t,s;return e("article",{key:"a2f23f8c268d6b06b03e58ca3abc998b7f741301",class:d("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-width":this.width},e("slot",{key:"f2fd945d779fefe9d1b379d95d11c5ae60689818"}))}get rootElement(){return this}},[260,"db-custom-select-dropdown",{id:[1],propOverrides:[16],className:[1,"classname"],width:[1]}]);function n(){"undefined"!=typeof customElements&&["db-custom-select-dropdown"].forEach((t=>{"db-custom-select-dropdown"===t&&(customElements.get(o(t))||customElements.define(o(t),a))}))}export{a as D,n as d}
@@ -0,0 +1 @@
1
+ import{y as s,H as t,z as e,d as a,t as d}from"./p-CCbaTFJ9.js";const i=s(class extends t{constructor(s){super(),!1!==s&&this.__registerHost()}enableAttributePassing(s,t){const e=null==s?void 0:s.closest(t);if(s&&e){const t=e.attributes;for(let a=0;a<t.length;a++){const d=t.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))s.setAttribute(d.name,d.value),e.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)s.setAttribute(d.name,d.value),e.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),i=s.getAttribute("class");s.setAttribute(d.name,`${i?`${i} `:""}${a}`),t?e.setAttribute("class","hydrated"):e.removeAttribute(d.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const s=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);s&&s.remove()}this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){var s,t;return e("div",{key:"f62ebf87384969fa7c299ed23062d15ac4d08e9d",class:a("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,ref:s=>{this._ref=s},id:null!==(s=this.id)&&void 0!==s?s:null===(t=this.propOverrides)||void 0===t?void 0:t.id},e("ul",{key:"a6071f83a292171bc101a797adb98dc976a18e34"},e("slot",{key:"6a18c02b91c91890a0d4b73e2b718c046b278f29"})))}get rootElement(){return this}},[260,"db-custom-select-list",{multiple:[4],label:[1],id:[1],propOverrides:[16],className:[1,"classname"]}]);function c(){"undefined"!=typeof customElements&&["db-custom-select-list"].forEach((s=>{"db-custom-select-list"===s&&(customElements.get(d(s))||customElements.define(d(s),i))}))}export{i as D,c as d}
@@ -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 DBAccordionItem = class {
@@ -29,7 +29,9 @@ const DBAccordionItem = class {
29
29
  if (this.toggle) {
30
30
  this.toggle.emit(newStateOpen);
31
31
  }
32
- this._open = newStateOpen;
32
+ if (this.open === undefined) {
33
+ this._open = newStateOpen;
34
+ }
33
35
  }
34
36
  /**
35
37
  * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
@@ -80,7 +82,22 @@ const DBAccordionItem = class {
80
82
  watch1() {
81
83
  this.watch1Fn();
82
84
  }
85
+ watch2Fn() {
86
+ const nextOpen = index$1.getBoolean(this.open, "open");
87
+ if (nextOpen !== undefined) {
88
+ this._open = nextOpen;
89
+ }
90
+ }
91
+ watch2() {
92
+ this.watch2Fn();
93
+ }
83
94
  componentDidLoad() {
95
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
96
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
97
+ if (connectedElement) {
98
+ connectedElement.remove();
99
+ }
100
+ }
84
101
  this.enableAttributePassing(this._ref, "db-accordion-item");
85
102
  if (this.defaultOpen) {
86
103
  this._open = this.defaultOpen;
@@ -88,13 +105,15 @@ const DBAccordionItem = class {
88
105
  this.initialized = true;
89
106
  this.watch0Fn();
90
107
  this.watch1Fn();
108
+ this.watch2Fn();
91
109
  }
92
110
  render() {
93
111
  var _a, _b;
94
- return (index.h("li", { key: '0d59b9b4e2e9992d832429171c725c0f776b46b4', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '8068249ac8266fea66da265c105309de3d98ac06', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
112
+ return (index.h("li", { key: '7bfcb3c0b3bc70446504054b267ad2747a7360ef', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '18345f01252d5c48e3e22b0f9fa7258afb2aa77b', "aria-disabled": index$1.getBooleanAsString(this.disabled), ref: (el) => {
95
113
  this._ref = el;
96
- }, name: this._name, open: this._open }, index.h("summary", { key: '338504ea06903b316e707bc10036d27000445c85', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '97982ad7bc98e8e47ad2a5ce157fda13d2aa82ce' }, this.text ? this.text : null, index.h("slot", { key: '23c9b8d8b3b4d32362820be097c8474fa7e12609' })))));
114
+ }, name: this._name, open: this._open }, index.h("summary", { key: '8ce63298f1899cbe77d1eda2a71135aa74e9049d', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '3b2275eba655b47e08af48d0fd49e68e7cd40a4a' }, this.text ? this.text : null, index.h("slot", { key: '52caf8709e1f54d69ad7433365146565609248ac' })))));
97
115
  }
116
+ get rootElement() { return index.getElement(this); }
98
117
  static get watchers() { return {
99
118
  "_ref": [{
100
119
  "watch0": 0
@@ -104,6 +123,9 @@ const DBAccordionItem = class {
104
123
  }],
105
124
  "name": [{
106
125
  "watch1": 0
126
+ }],
127
+ "open": [{
128
+ "watch2": 0
107
129
  }]
108
130
  }; }
109
131
  };
@@ -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 DBAccordion = class {
@@ -61,7 +61,7 @@ const DBAccordion = class {
61
61
  watch0Fn() {
62
62
  // If we have a single behavior we first check for
63
63
  // props.name otherwise for state_id
64
- if (this.initialized) {
64
+ if (this.initialized && this._ref) {
65
65
  if (this.behavior === "single") {
66
66
  if (this.name) {
67
67
  if (this._name !== this.name) {
@@ -121,6 +121,12 @@ const DBAccordion = class {
121
121
  this.watch2Fn();
122
122
  }
123
123
  componentDidLoad() {
124
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
125
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
126
+ if (connectedElement) {
127
+ connectedElement.remove();
128
+ }
129
+ }
124
130
  this.enableAttributePassing(this._ref, "db-accordion");
125
131
  this.initialized = true;
126
132
  this._initOpenIndexDone = true;
@@ -130,12 +136,13 @@ const DBAccordion = class {
130
136
  }
131
137
  render() {
132
138
  var _a, _b, _c;
133
- return (index.h("ul", { key: '3a4a71d409be0f76abbb067e1698f7e0ab64b6c6', class: index$1.cls("db-accordion", this.className), ref: (el) => {
139
+ return (index.h("ul", { key: 'd6927b05c169addaea604a2f5eb225017ee6973c', class: index$1.cls("db-accordion", this.className), ref: (el) => {
134
140
  this._ref = el;
135
141
  }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant }, !this.items ? index.h("slot", null) : null, this.items
136
142
  ? (_c = this.convertItems()) === null || _c === void 0 ? void 0 : _c.map((item, index$1) => (index.h("db-accordion-item", { key: `accordion-item-${index$1}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
137
143
  : null));
138
144
  }
145
+ get rootElement() { return index.getElement(this); }
139
146
  static get watchers() { return {
140
147
  "initialized": [{
141
148
  "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
 
@@ -64,16 +64,23 @@ const DBBadge = class {
64
64
  this.watch0Fn();
65
65
  }
66
66
  componentDidLoad() {
67
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
68
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
69
+ if (connectedElement) {
70
+ connectedElement.remove();
71
+ }
72
+ }
67
73
  this.enableAttributePassing(this._ref, "db-badge");
68
74
  this.initialized = true;
69
75
  this.watch0Fn();
70
76
  }
71
77
  render() {
72
78
  var _a, _b, _c, _d;
73
- return (index.h("span", { key: '1a986f2667f67029493e606478d1d7928471acf8', class: index$1.cls("db-badge", this.className), ref: (el) => {
79
+ return (index.h("span", { key: 'ff0187a460e59a023d8a6267b0e12ee7ec3d5283', class: index$1.cls("db-badge", this.className), ref: (el) => {
74
80
  this._ref = el;
75
- }, 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-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : null, index.h("slot", { key: 'f6865ef905b1e12937c3f2d684a21e889c191608' })));
81
+ }, 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-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : null, index.h("slot", { key: 'e74eadd9e63a3c4de30d59936cdf08cd4b127ac1' })));
76
82
  }
83
+ get rootElement() { return index.getElement(this); }
77
84
  static get watchers() { return {
78
85
  "_ref": [{
79
86
  "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
 
@@ -45,14 +45,21 @@ const DBBrand = class {
45
45
  }
46
46
  }
47
47
  componentDidLoad() {
48
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
49
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
50
+ if (connectedElement) {
51
+ connectedElement.remove();
52
+ }
53
+ }
48
54
  this.enableAttributePassing(this._ref, "db-brand");
49
55
  }
50
56
  render() {
51
57
  var _a, _b, _c;
52
- return (index.h("div", { key: '679731d67b498b68650b1f3c5fb6ac1f8578b29f', class: index$1.cls("db-brand", this.className), ref: (el) => {
58
+ return (index.h("div", { key: '7695d23f214566e142e43ffba27403680f9af668', class: index$1.cls("db-brand", this.className), ref: (el) => {
53
59
  this._ref = el;
54
- }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, index.h("slot", { key: 'bac6503b5fd5b16c138a513bae0749ecd67f2dc8' }), this.text ? this.text : null));
60
+ }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, index.h("slot", { key: '8c0e42e72b53a0417274170d7785cc93392e5c1c' }), this.text ? this.text : null));
55
61
  }
62
+ get rootElement() { return index.getElement(this); }
56
63
  };
57
64
 
58
65
  exports.db_brand = DBBrand;
@@ -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 DBButton = class {
@@ -54,14 +54,21 @@ const DBButton = class {
54
54
  }
55
55
  }
56
56
  componentDidLoad() {
57
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
58
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
59
+ if (connectedElement) {
60
+ connectedElement.remove();
61
+ }
62
+ }
57
63
  this.enableAttributePassing(this._ref, "db-button");
58
64
  }
59
65
  render() {
60
66
  var _a, _b, _c, _d;
61
- return (index.h("button", { key: '884fb14651c53c3646098488d59aec90bc7c8234', class: index$1.cls("db-button", this.className), ref: (el) => {
67
+ return (index.h("button", { key: 'ca13a30fcf43bcd6e043e3dc2bbcb94eb3347450', class: index$1.cls("db-button", this.className), ref: (el) => {
62
68
  this._ref = el;
63
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: index$1.getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-no-text": index$1.getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, index.h("slot", { key: 'd5c5efe19be364dca26feb751f76229b9aa71612' })));
69
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: index$1.getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-no-text": index$1.getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, index.h("slot", { key: '1f0aee6d7db3187db5575729569bfdd4c88c0e19' })));
64
70
  }
71
+ get rootElement() { return index.getElement(this); }
65
72
  };
66
73
 
67
74
  exports.db_button = DBButton;
@@ -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 DBCard = class {
@@ -50,14 +50,21 @@ const DBCard = class {
50
50
  }
51
51
  }
52
52
  componentDidLoad() {
53
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
54
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
55
+ if (connectedElement) {
56
+ connectedElement.remove();
57
+ }
58
+ }
53
59
  this.enableAttributePassing(this._ref, "db-card");
54
60
  }
55
61
  render() {
56
62
  var _a, _b;
57
- return (index.h("div", { key: '2e81240f66c3d0652a35fca19fbdeac10b3188c3', class: index$1.cls("db-card", this.className), ref: (el) => {
63
+ return (index.h("div", { key: '60e504447aed35763e41cf692507e28c4da6e893', class: index$1.cls("db-card", this.className), ref: (el) => {
58
64
  this._ref = el;
59
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: 'c4a94fea2bffbd1a548e93c09fb643535dfef360' })));
65
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '92301dedc9ece7f5b2bcbd5da726d402af788b31' })));
60
66
  }
67
+ get rootElement() { return index.getElement(this); }
61
68
  };
62
69
 
63
70
  exports.db_card = DBCard;
@@ -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 formComponents = require('./form-components-_ncB_U2D.js');
@@ -193,6 +193,12 @@ const DBCheckbox = class {
193
193
  this.watch5Fn();
194
194
  }
195
195
  componentDidLoad() {
196
+ if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
197
+ const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
198
+ if (connectedElement) {
199
+ connectedElement.remove();
200
+ }
201
+ }
196
202
  this.enableAttributePassing(this._ref, "db-checkbox");
197
203
  this.initialized = true;
198
204
  this.resetIds();
@@ -210,10 +216,11 @@ const DBCheckbox = class {
210
216
  }
211
217
  render() {
212
218
  var _a;
213
- return (index.h("div", { key: '4307b61065bb09633a48978283bfe5534126acea', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '0aa7c1cb0b896790de944dabc35e10cd517806b5', htmlFor: this._id }, index.h("input", { key: '6bca474ad52dc47253c8cc0016aa6f3cff223ad8', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
219
+ return (index.h("div", { key: 'b4aa2acb183c25424a4c670c699410d7f8e67ad1', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: '549e995c2d8c8105d086ad957d0141d802aa3e55', htmlFor: this._id }, index.h("input", { key: 'e2454be60370d672b523d9fd2efb422a7072d763', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
214
220
  this._ref = el;
215
- }, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, index.h("slot", { key: '12de0b3395173a0ce9f15cf1f8ed49007a721422' })), 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: 'af7347edcc4b3eeb57bdd87fe25cc1ca38a1779f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '13ec5ad3bd9534eac4ea7d1310edc1e47fa5d382', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
221
+ }, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, index.h("slot", { key: 'ce083db15ea772a5dd3fdf5e6a7c815029922b13' })), 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: 'bde204976a10d8d7f54300c7b465a23e9492bcf3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '7a8fe737edfae78c380f572b2cf5cec88fbd8edf', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
216
222
  }
223
+ get rootElement() { return index.getElement(this); }
217
224
  static get watchers() { return {
218
225
  "id": [{
219
226
  "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 DBCustomButton = class {
@@ -44,14 +44,21 @@ const DBCustomButton = 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-button");
48
54
  }
49
55
  render() {
50
56
  var _a, _b, _c, _d;
51
- return (index.h("div", { key: 'a7c717751195403b664b07491a8301dc531779bd', class: index$1.cls("db-custom-button", this.className), ref: (el) => {
57
+ return (index.h("div", { key: 'ea6221c001dbf13b6e1d49cbf6b87b195c24a5d0', class: index$1.cls("db-custom-button", 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": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("slot", { key: '7d181ecb68722367d526634fe52afe164117894a' })));
59
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("slot", { key: '19220453bcb2323b8c540d60a1d12b85e0c07f4d' })));
54
60
  }
61
+ get rootElement() { return index.getElement(this); }
55
62
  };
56
63
 
57
64
  exports.db_custom_button = DBCustomButton;