@db-ux/wc-core-components 4.10.1 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/bundle/db-accordion-item.js +1 -1
  4. package/bundle/db-accordion.js +1 -1
  5. package/bundle/db-badge.js +1 -1
  6. package/bundle/db-brand.js +1 -1
  7. package/bundle/db-button.js +1 -1
  8. package/bundle/db-card.js +1 -1
  9. package/bundle/db-checkbox.js +1 -1
  10. package/bundle/db-custom-button.js +1 -1
  11. package/bundle/db-custom-select-dropdown.js +1 -1
  12. package/bundle/db-custom-select-form-field.js +1 -1
  13. package/bundle/db-custom-select-list-item.js +1 -1
  14. package/bundle/db-custom-select-list.js +1 -1
  15. package/bundle/db-custom-select.js +1 -1
  16. package/bundle/db-divider.js +1 -1
  17. package/bundle/db-drawer.js +1 -1
  18. package/bundle/db-header.js +1 -1
  19. package/bundle/db-icon.js +1 -1
  20. package/bundle/db-infotext.js +1 -1
  21. package/bundle/db-input.js +1 -1
  22. package/bundle/db-link.js +1 -1
  23. package/bundle/db-navigation-item.js +1 -1
  24. package/bundle/db-navigation.js +1 -1
  25. package/bundle/db-notification.js +1 -1
  26. package/bundle/db-page.js +1 -1
  27. package/bundle/db-popover.js +1 -1
  28. package/bundle/db-radio.js +1 -1
  29. package/bundle/db-section.js +1 -1
  30. package/bundle/db-select.js +1 -1
  31. package/bundle/db-stack.js +1 -1
  32. package/bundle/db-switch.js +1 -1
  33. package/bundle/db-tab-item.js +1 -1
  34. package/bundle/db-tab-list.js +1 -1
  35. package/bundle/db-tab-panel.js +1 -1
  36. package/bundle/db-table-body.d.ts +11 -0
  37. package/bundle/db-table-body.js +1 -0
  38. package/bundle/db-table-caption.d.ts +11 -0
  39. package/bundle/db-table-caption.js +1 -0
  40. package/bundle/db-table-data-cell.d.ts +11 -0
  41. package/bundle/db-table-data-cell.js +1 -0
  42. package/bundle/db-table-footer.d.ts +11 -0
  43. package/bundle/db-table-footer.js +1 -0
  44. package/bundle/db-table-head.d.ts +11 -0
  45. package/bundle/db-table-head.js +1 -0
  46. package/bundle/db-table-header-cell.d.ts +11 -0
  47. package/bundle/db-table-header-cell.js +1 -0
  48. package/bundle/db-table-row.d.ts +11 -0
  49. package/bundle/db-table-row.js +1 -0
  50. package/bundle/db-table.d.ts +11 -0
  51. package/bundle/db-table.js +1 -0
  52. package/bundle/db-tabs.js +1 -1
  53. package/bundle/db-tag.js +1 -1
  54. package/bundle/db-textarea.js +1 -1
  55. package/bundle/db-tooltip.js +1 -1
  56. package/bundle/index.js +1 -1
  57. package/bundle/{p-DS39nEhJ.js → p-B5ANMEnQ.js} +1 -1
  58. package/bundle/p-BJwvv-yT.js +1 -0
  59. package/bundle/{p-DE_eDJiD.js → p-BNiKxu3y.js} +1 -1
  60. package/bundle/p-B_bPnncM.js +1 -0
  61. package/bundle/p-BnLhi6Lz.js +1 -0
  62. package/bundle/p-BrBlnLrn.js +1 -0
  63. package/bundle/p-CByFfoSH.js +1 -0
  64. package/bundle/{p-bzxfqhtq.js → p-CQo0C7QE.js} +1 -1
  65. package/bundle/p-CR2ZbfYe.js +1 -0
  66. package/bundle/p-CYYSsu3p.js +1 -0
  67. package/bundle/p-CeDu282h.js +1 -0
  68. package/bundle/p-CfLPOLHz.js +1 -0
  69. package/bundle/p-CoOxyQb2.js +1 -0
  70. package/bundle/p-CqED0CfD.js +1 -0
  71. package/bundle/p-Cr_z1Jfi.js +1 -0
  72. package/bundle/{p-e18AQLns.js → p-D-XzX0R7.js} +1 -1
  73. package/{dist/db-ux/p-D5mInaY7.js → bundle/p-D6L0n3gO.js} +1 -1
  74. package/bundle/p-DJTpgiBy.js +1 -0
  75. package/bundle/p-DMSIvqcA.js +1 -0
  76. package/bundle/p-DUiroUyR.js +1 -0
  77. package/bundle/p-DdyMClpj.js +1 -0
  78. package/bundle/p-DjVjS2Tb.js +1 -0
  79. package/bundle/p-in4Kv88F.js +1 -0
  80. package/dist/cjs/db-accordion-item.cjs.entry.js +4 -4
  81. package/dist/cjs/db-accordion.cjs.entry.js +3 -3
  82. package/dist/cjs/db-badge.cjs.entry.js +4 -4
  83. package/dist/cjs/db-brand.cjs.entry.js +4 -4
  84. package/dist/cjs/db-button.cjs.entry.js +6 -5
  85. package/dist/cjs/db-card.cjs.entry.js +4 -4
  86. package/dist/cjs/db-checkbox.cjs.entry.js +5 -5
  87. package/dist/cjs/db-custom-button.cjs.entry.js +6 -5
  88. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +18 -17
  89. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
  90. package/dist/cjs/db-custom-select.cjs.entry.js +10 -10
  91. package/dist/cjs/db-divider.cjs.entry.js +3 -3
  92. package/dist/cjs/db-drawer.cjs.entry.js +5 -5
  93. package/dist/cjs/db-header.cjs.entry.js +4 -4
  94. package/dist/cjs/db-icon.cjs.entry.js +4 -4
  95. package/dist/cjs/db-infotext.cjs.entry.js +4 -4
  96. package/dist/cjs/db-link_4.cjs.entry.js +248 -0
  97. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
  98. package/dist/cjs/db-navigation.cjs.entry.js +4 -4
  99. package/dist/cjs/db-notification.cjs.entry.js +4 -4
  100. package/dist/cjs/db-page.cjs.entry.js +4 -4
  101. package/dist/cjs/db-popover.cjs.entry.js +5 -5
  102. package/dist/cjs/db-radio.cjs.entry.js +5 -5
  103. package/dist/cjs/db-section.cjs.entry.js +4 -4
  104. package/dist/cjs/db-select.cjs.entry.js +6 -6
  105. package/dist/cjs/db-stack.cjs.entry.js +4 -4
  106. package/dist/cjs/db-switch.cjs.entry.js +5 -5
  107. package/dist/cjs/db-tab-item_3.cjs.entry.js +12 -11
  108. package/dist/cjs/db-table-body_3.cjs.entry.js +194 -0
  109. package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +7 -8
  110. package/dist/cjs/db-table.cjs.entry.js +158 -0
  111. package/dist/cjs/db-tabs.cjs.entry.js +4 -4
  112. package/dist/cjs/db-textarea.cjs.entry.js +5 -5
  113. package/dist/cjs/db-tooltip.cjs.entry.js +5 -5
  114. package/dist/cjs/db-ux.cjs.js +3 -3
  115. package/dist/cjs/{document-click-listener-B2-xKJv3.js → document-click-listener-DdNXbErU.js} +1 -1
  116. package/dist/cjs/{document-scroll-listener-ChQ7XZRk.js → document-scroll-listener-CvAZ6uPr.js} +1 -1
  117. package/dist/cjs/{form-components-_ncB_U2D.js → form-components-CmQlkARp.js} +1 -1
  118. package/dist/cjs/{index-DLuhzJ0p.js → index-C313bRqJ.js} +22 -1
  119. package/dist/cjs/{index-2_9ESkQu.js → index-spuu3sXz.js} +13 -8
  120. package/dist/cjs/index.cjs.js +23 -4
  121. package/dist/cjs/loader.cjs.js +2 -2
  122. package/dist/collection/collection-manifest.json +9 -1
  123. package/dist/collection/components/accordion/accordion.js +1 -1
  124. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  125. package/dist/collection/components/badge/badge.js +2 -2
  126. package/dist/collection/components/brand/brand.js +3 -3
  127. package/dist/collection/components/button/button.js +7 -6
  128. package/dist/collection/components/card/card.js +2 -2
  129. package/dist/collection/components/checkbox/checkbox.js +3 -3
  130. package/dist/collection/components/custom-button/custom-button.js +7 -6
  131. package/dist/collection/components/custom-select/custom-select.js +7 -7
  132. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  133. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  134. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  135. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +3 -3
  136. package/dist/collection/components/divider/divider.js +1 -1
  137. package/dist/collection/components/drawer/drawer.js +3 -3
  138. package/dist/collection/components/header/header.js +2 -2
  139. package/dist/collection/components/icon/icon.js +3 -3
  140. package/dist/collection/components/infotext/infotext.js +3 -3
  141. package/dist/collection/components/input/input.js +11 -10
  142. package/dist/collection/components/link/link.js +2 -2
  143. package/dist/collection/components/navigation/navigation.js +2 -2
  144. package/dist/collection/components/navigation-item/navigation-item.js +3 -3
  145. package/dist/collection/components/notification/notification.js +3 -3
  146. package/dist/collection/components/page/page.js +2 -2
  147. package/dist/collection/components/popover/popover.js +2 -2
  148. package/dist/collection/components/radio/radio.js +2 -2
  149. package/dist/collection/components/section/section.js +2 -2
  150. package/dist/collection/components/select/select.js +5 -5
  151. package/dist/collection/components/stack/stack.js +2 -2
  152. package/dist/collection/components/switch/switch.js +6 -6
  153. package/dist/collection/components/tab-item/tab-item.js +9 -8
  154. package/dist/collection/components/tab-list/tab-list.js +2 -2
  155. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  156. package/dist/collection/components/table/examples/data.js +258 -0
  157. package/dist/collection/components/table/index.js +2 -0
  158. package/dist/collection/components/table/model.js +6 -0
  159. package/dist/collection/components/table/table.js +478 -0
  160. package/dist/collection/components/table-body/index.js +2 -0
  161. package/dist/collection/components/table-body/model.js +1 -0
  162. package/dist/collection/components/table-body/table-body.js +144 -0
  163. package/dist/collection/components/table-caption/index.js +2 -0
  164. package/dist/collection/components/table-caption/model.js +1 -0
  165. package/dist/collection/components/table-caption/table-caption.js +116 -0
  166. package/dist/collection/components/table-data-cell/index.js +2 -0
  167. package/dist/collection/components/table-data-cell/model.js +1 -0
  168. package/dist/collection/components/table-data-cell/table-data-cell.js +298 -0
  169. package/dist/collection/components/table-footer/index.js +2 -0
  170. package/dist/collection/components/table-footer/model.js +1 -0
  171. package/dist/collection/components/table-footer/table-footer.js +144 -0
  172. package/dist/collection/components/table-head/index.js +2 -0
  173. package/dist/collection/components/table-head/model.js +1 -0
  174. package/dist/collection/components/table-head/table-head.js +147 -0
  175. package/dist/collection/components/table-header-cell/index.js +2 -0
  176. package/dist/collection/components/table-header-cell/model.js +1 -0
  177. package/dist/collection/components/table-header-cell/table-header-cell.js +376 -0
  178. package/dist/collection/components/table-row/index.js +2 -0
  179. package/dist/collection/components/table-row/model.js +1 -0
  180. package/dist/collection/components/table-row/table-row.js +202 -0
  181. package/dist/collection/components/tabs/tabs.js +2 -2
  182. package/dist/collection/components/tag/tag.js +3 -3
  183. package/dist/collection/components/textarea/textarea.js +3 -3
  184. package/dist/collection/components/tooltip/tooltip.js +2 -2
  185. package/dist/collection/index.js +16 -0
  186. package/dist/collection/shared/model.js +1 -1
  187. package/dist/collection/utils/index.js +13 -8
  188. package/dist/custom-elements.json +6998 -3826
  189. package/dist/db-ux/db-ux.esm.js +1 -1
  190. package/dist/db-ux/index.esm.js +1 -1
  191. package/dist/db-ux/{p-f65e1db8.entry.js → p-08271c80.entry.js} +1 -1
  192. package/dist/db-ux/{p-368d25ab.entry.js → p-105ffa74.entry.js} +1 -1
  193. package/dist/db-ux/p-15adca91.entry.js +1 -0
  194. package/dist/db-ux/{p-47910fdc.entry.js → p-1a322a0c.entry.js} +1 -1
  195. package/dist/db-ux/p-1f7232c0.entry.js +1 -0
  196. package/dist/db-ux/p-27e2f6f2.entry.js +1 -0
  197. package/dist/db-ux/p-2907f214.entry.js +1 -0
  198. package/dist/db-ux/p-2ff958e4.entry.js +1 -0
  199. package/dist/db-ux/p-3423b7af.entry.js +1 -0
  200. package/dist/db-ux/{p-28c257d5.entry.js → p-365e6edf.entry.js} +1 -1
  201. package/dist/db-ux/{p-4580938f.entry.js → p-42516007.entry.js} +1 -1
  202. package/dist/db-ux/p-5045182c.entry.js +1 -0
  203. package/dist/db-ux/{p-aad0c4ef.entry.js → p-5e1d42e5.entry.js} +1 -1
  204. package/dist/db-ux/{p-f27c6655.entry.js → p-61b28212.entry.js} +1 -1
  205. package/dist/db-ux/{p-9712c9c9.entry.js → p-6850a53c.entry.js} +1 -1
  206. package/dist/db-ux/p-6bff55b4.entry.js +1 -0
  207. package/dist/db-ux/p-6e7c5e42.entry.js +1 -0
  208. package/dist/db-ux/p-76adf385.entry.js +1 -0
  209. package/dist/db-ux/p-78f7b353.entry.js +1 -0
  210. package/dist/db-ux/p-7fa5d304.entry.js +1 -0
  211. package/dist/db-ux/p-95b69e71.entry.js +1 -0
  212. package/dist/db-ux/p-99ebe6ec.entry.js +1 -0
  213. package/dist/db-ux/p-BihrW11j.js +1 -0
  214. package/dist/db-ux/p-BlbKvvUv.js +2 -0
  215. package/{bundle/p-4nwUOzw7.js → dist/db-ux/p-BtImZ8Nt.js} +1 -1
  216. package/dist/db-ux/p-OOIf-5XP.js +1 -0
  217. package/dist/db-ux/p-a5dc355d.entry.js +1 -0
  218. package/dist/db-ux/{p-f583f756.entry.js → p-a6113789.entry.js} +1 -1
  219. package/dist/db-ux/p-b9c0feaf.entry.js +1 -0
  220. package/dist/db-ux/p-c14fa91a.entry.js +1 -0
  221. package/dist/db-ux/p-c65b807e.entry.js +1 -0
  222. package/dist/db-ux/{p-b1e7ba0f.entry.js → p-dd9cedbe.entry.js} +1 -1
  223. package/dist/db-ux/{p-331ad11c.entry.js → p-e3f705fd.entry.js} +1 -1
  224. package/dist/db-ux/{p-0ae85978.entry.js → p-e4cddc9f.entry.js} +1 -1
  225. package/dist/db-ux/p-e7a8612c.entry.js +1 -0
  226. package/dist/db-ux/{p-cac5b161.entry.js → p-ee8c3243.entry.js} +1 -1
  227. package/dist/db-ux/p-f0d0acfc.entry.js +1 -0
  228. package/dist/db-ux/{p-13afb969.entry.js → p-f15748ea.entry.js} +1 -1
  229. package/dist/db-ux/p-fumiz06Y.js +1 -0
  230. package/dist/esm/db-accordion-item.entry.js +4 -4
  231. package/dist/esm/db-accordion.entry.js +3 -3
  232. package/dist/esm/db-badge.entry.js +4 -4
  233. package/dist/esm/db-brand.entry.js +4 -4
  234. package/dist/esm/db-button.entry.js +6 -5
  235. package/dist/esm/db-card.entry.js +4 -4
  236. package/dist/esm/db-checkbox.entry.js +5 -5
  237. package/dist/esm/db-custom-button.entry.js +6 -5
  238. package/dist/esm/db-custom-select-dropdown_5.entry.js +18 -17
  239. package/dist/esm/db-custom-select-form-field.entry.js +4 -4
  240. package/dist/esm/db-custom-select.entry.js +10 -10
  241. package/dist/esm/db-divider.entry.js +3 -3
  242. package/dist/esm/db-drawer.entry.js +5 -5
  243. package/dist/esm/db-header.entry.js +4 -4
  244. package/dist/esm/db-icon.entry.js +4 -4
  245. package/dist/esm/db-infotext.entry.js +4 -4
  246. package/dist/esm/db-link_4.entry.js +243 -0
  247. package/dist/esm/db-navigation-item.entry.js +4 -4
  248. package/dist/esm/db-navigation.entry.js +4 -4
  249. package/dist/esm/db-notification.entry.js +4 -4
  250. package/dist/esm/db-page.entry.js +4 -4
  251. package/dist/esm/db-popover.entry.js +5 -5
  252. package/dist/esm/db-radio.entry.js +5 -5
  253. package/dist/esm/db-section.entry.js +4 -4
  254. package/dist/esm/db-select.entry.js +6 -6
  255. package/dist/esm/db-stack.entry.js +4 -4
  256. package/dist/esm/db-switch.entry.js +5 -5
  257. package/dist/esm/db-tab-item_3.entry.js +12 -11
  258. package/dist/esm/db-table-body_3.entry.js +190 -0
  259. package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +7 -8
  260. package/dist/esm/db-table.entry.js +156 -0
  261. package/dist/esm/db-tabs.entry.js +4 -4
  262. package/dist/esm/db-textarea.entry.js +5 -5
  263. package/dist/esm/db-tooltip.entry.js +5 -5
  264. package/dist/esm/db-ux.js +4 -4
  265. package/dist/esm/{document-click-listener-D7W_VE5O.js → document-click-listener-9wJfRcvz.js} +1 -1
  266. package/dist/esm/{document-scroll-listener-DOBe3Oa9.js → document-scroll-listener-4F0ZAg9p.js} +1 -1
  267. package/dist/esm/{form-components-D6LQfJvq.js → form-components-ZV7IN0oG.js} +1 -1
  268. package/dist/esm/{index-Cr2cgn5B.js → index-BlbKvvUv.js} +22 -1
  269. package/dist/esm/{index-xkoBSP8R.js → index-fumiz06Y.js} +13 -8
  270. package/dist/esm/index.js +16 -5
  271. package/dist/esm/loader.js +3 -3
  272. package/dist/types/components/table/examples/data.d.ts +9 -0
  273. package/dist/types/components/table/index.d.ts +2 -0
  274. package/dist/types/components/table/model.d.ts +74 -0
  275. package/dist/types/components/table/table.d.ts +38 -0
  276. package/dist/types/components/table-body/index.d.ts +2 -0
  277. package/dist/types/components/table-body/model.d.ts +8 -0
  278. package/dist/types/components/table-body/table-body.d.ts +20 -0
  279. package/dist/types/components/table-caption/index.d.ts +2 -0
  280. package/dist/types/components/table-caption/model.d.ts +5 -0
  281. package/dist/types/components/table-caption/table-caption.d.ts +19 -0
  282. package/dist/types/components/table-data-cell/index.d.ts +2 -0
  283. package/dist/types/components/table-data-cell/model.d.ts +5 -0
  284. package/dist/types/components/table-data-cell/table-data-cell.d.ts +26 -0
  285. package/dist/types/components/table-footer/index.d.ts +2 -0
  286. package/dist/types/components/table-footer/model.d.ts +8 -0
  287. package/dist/types/components/table-footer/table-footer.d.ts +20 -0
  288. package/dist/types/components/table-head/index.d.ts +2 -0
  289. package/dist/types/components/table-head/model.d.ts +10 -0
  290. package/dist/types/components/table-head/table-head.d.ts +59 -0
  291. package/dist/types/components/table-header-cell/index.d.ts +2 -0
  292. package/dist/types/components/table-header-cell/model.d.ts +24 -0
  293. package/dist/types/components/table-header-cell/table-header-cell.d.ts +29 -0
  294. package/dist/types/components/table-row/index.d.ts +2 -0
  295. package/dist/types/components/table-row/model.d.ts +30 -0
  296. package/dist/types/components/table-row/table-row.d.ts +24 -0
  297. package/dist/types/components.d.ts +278 -0
  298. package/dist/types/index.d.ts +16 -0
  299. package/dist/types/shared/figma.d.ts +70 -18
  300. package/dist/types/shared/model.d.ts +44 -2
  301. package/dist/types/stencil-public-runtime.d.ts +1 -0
  302. package/dist/types/utils/index.d.ts +9 -4
  303. package/dist/vscode.html-custom-data.json +400 -2
  304. package/dist/web-types.json +744 -5
  305. package/package.json +6 -6
  306. package/bundle/p-4TaCoruo.js +0 -1
  307. package/bundle/p-BJJFATCC.js +0 -1
  308. package/bundle/p-CCbaTFJ9.js +0 -1
  309. package/bundle/p-CEiQBevg.js +0 -1
  310. package/bundle/p-CV8l9qaA.js +0 -1
  311. package/bundle/p-CmqAwQNR.js +0 -1
  312. package/bundle/p-D4Ym01qf.js +0 -1
  313. package/bundle/p-DVYa1bHg.js +0 -1
  314. package/bundle/p-DwwxAylo.js +0 -1
  315. package/bundle/p-QNp8H1KD.js +0 -1
  316. package/bundle/p-_2t1bnPD.js +0 -1
  317. package/dist/db-ux/p-174d2486.entry.js +0 -1
  318. package/dist/db-ux/p-293510ca.entry.js +0 -1
  319. package/dist/db-ux/p-339a6ca0.entry.js +0 -1
  320. package/dist/db-ux/p-34e21986.entry.js +0 -1
  321. package/dist/db-ux/p-5d2e2a8d.entry.js +0 -1
  322. package/dist/db-ux/p-691ae341.entry.js +0 -1
  323. package/dist/db-ux/p-7c58337d.entry.js +0 -1
  324. package/dist/db-ux/p-7f4d00df.entry.js +0 -1
  325. package/dist/db-ux/p-9b907b56.entry.js +0 -1
  326. package/dist/db-ux/p-9c3ff50e.entry.js +0 -1
  327. package/dist/db-ux/p-CHLgQ9vn.js +0 -1
  328. package/dist/db-ux/p-Cr2cgn5B.js +0 -2
  329. package/dist/db-ux/p-D_roHmuC.js +0 -1
  330. package/dist/db-ux/p-a56886ea.entry.js +0 -1
  331. package/dist/db-ux/p-a617da42.entry.js +0 -1
  332. package/dist/db-ux/p-ae3183f0.entry.js +0 -1
  333. package/dist/db-ux/p-ae457f95.entry.js +0 -1
  334. package/dist/db-ux/p-dcf02351.entry.js +0 -1
  335. package/dist/db-ux/p-e46dc907.entry.js +0 -1
  336. package/dist/db-ux/p-fe5d3eb6.entry.js +0 -1
  337. package/dist/db-ux/p-xkoBSP8R.js +0 -1
@@ -0,0 +1,2 @@
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],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.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,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,r="undefined"!=typeof window?window:{},c={u:0,p:"",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)},u=t=>Promise.resolve(t),f=!1,a=[],d=[],p=(t,n)=>e=>{t.push(e),f||(f=!0,n&&4&c.u?m(v):c.raf(v))},h=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},v=()=>{h(a),h(d),(f=a.length>0)&&c.raf(v)},m=t=>u().then(t),b=p(d,!0),y=t=>{const n=O(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=!!g(t,w(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&O(t,"childNodes").length&&y(t)}};function $(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||w(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...$(o.childNodes,n,e)]}return s}var g=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)w(l)!==n||!e&&l["s-sr"]||o.push(l);return o},j=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,w=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function O(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 k,N,S=new WeakMap,E=t=>"object"==(t=typeof t)||"function"===t,M=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!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&&((i="function"!=typeof t&&!E(o))&&(o+=""),i&&r?c[c.length-1].h+=o:c.push(i?C(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=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=C(t,null);return f.v=n,c.length>0&&(f.m=c),f.$=l,f.j=s,f},C=(t,n)=>({u:0,O:t,h:null!=n?n:null,k:null,m:null,v:null,$:null,j:null}),T={},L={forEach:(t,n)=>t.map(R).forEach(n),map:(t,n)=>t.map(R).map(n).map(x)},R=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),x=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),M(t.vtag,n,...t.vchildren||[])}const n=C(t.vtag,t.vtext);return n.v=t.vattrs,n.m=t.vchildren,n.$=t.vkey,n.j=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},A=(t,n)=>null==t||E(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,P=t=>{var n;return null==(n=e(t))?void 0:n.$hostElement$},D=(t,n)=>{const e=P(t);return{emit:t=>_(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},_=(t,n,e)=>{const o=c.ce(n,e);return t.dispatchEvent(o),o},H=(t,n,o,s,i,u)=>{if(o===s)return;let f=l(t,n),a=n.toLowerCase();if("class"===n){const n=t.classList,e=W(o);let l=W(s);n.remove(...e.filter((t=>t&&!l.includes(t)))),n.add(...l.filter((t=>t&&!e.includes(t))))}else if("style"===n){for(const n in o)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&ut(s,t);else if(f||"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=E(s);if((f||e&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?f=!1:null!=o&&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||i)&&!e&&1===t.nodeType&&t.setAttribute(n,s=!0===s?"":s)}}else if(n="-"===n[2]?n.slice(3):l(r,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(z);n=n.replace(B,""),o&&c.rel(t,n,o,e),s&&c.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):[]),z="Capture",B=RegExp(z+"$"),V=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.v||{},s=n.v||{};for(const t of q(Object.keys(l)))t in s||H(o,t,l[t],void 0,e,n.u);for(const t of q(Object.keys(s)))H(o,t,l[t],s[t],e,n.u)};function q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,G=!1,I=!1,Z=!1,J=[],K=[],Q=(t,n,e)=>{var o;const l=n.m[e];let s,i,c,u=0;if(Y||(I=!0,"slot"===l.O&&(l.u|=l.m?2:1)),null!=l.h)s=l.k=r.document.createTextNode(l.h);else if(1&l.u)s=l.k=r.document.createTextNode(""),V(null,l,Z);else{if(!r.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=r.document.createElement(!Y&&2&l.u?"slot-fb":l.O),V(null,l,Z),l.m){const n="template"===l.O?s.content:s;for(u=0;u<l.m.length;++u)i=Q(t,l,u),i&&n.appendChild(i)}}return s["s-hn"]=N,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=k,s["s-sn"]=l.j||"",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===w(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.m&&t.m[e],c&&c.O===l.O&&t.k&&X(t.k)),s},X=t=>{c.u|=1;const n=t.closest(N.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"]&&(ft(n,t,null!=e?e:null),t["s-sh"]=void 0,I=!0)}c.u&=-2},tt=(t,n)=>{c.u|=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"]===N&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==N&&o["s-ol"]&&(ft(lt(o).parentNode,o,lt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,I=!0),n&&tt(o,n)}c.u&=-2},nt=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=Q(null,e,l),i&&(o[l].k=i,ft(r,i,lt(n))))},et=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;ct(n),t&&(G=!0,t["s-ol"]?t["s-ol"].remove():tt(t,!0),t.remove())}}},ot=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.j===n.j:e?(e&&!t.$&&n.$&&(t.$=n.$),!0):t.$===n.$),lt=t=>t&&t["s-ol"]||t,st=(t,n,e=!1)=>{const o=n.k=t.k,l=t.m,s=n.m,i=n.h;let r;null==i?("slot"!==n.O||Y||t.j!==n.j&&(n.k["s-sn"]=n.j||"",X(n.k.parentElement)),V(t,n,Z),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],m=o[h];const b="template"===e.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--h];else if(ot(d,v,l))st(d,v,l),d=n[++r],v=o[++c];else if(ot(p,m,l))st(p,m,l),p=n[--a],m=o[--h];else if(ot(d,m,l))"slot"!==d.O&&"slot"!==m.O||tt(d.k.parentNode,!1),st(d,m,l),ft(b,d.k,p.k.nextSibling),d=n[++r],m=o[--h];else if(ot(p,v,l))"slot"!==d.O&&"slot"!==m.O||tt(p.k.parentNode,!1),st(p,v,l),ft(b,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].$&&n[f].$===v.$){u=f;break}u>=0?(i=n[u],i.O!==v.O?s=Q(n&&n[c],e,u):(st(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=Q(n&&n[c],e,c),v=o[++c]),s&&ft(lt(d.k).parentNode,s,lt(d.k))}r>a?nt(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&et(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),nt(o,null,n,s,0,s.length-1)):!e&&null!==l&&et(l,0,l.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:t.h!==i&&(o.data=i)},it=[],rt=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(j(n,l)){let e=it.find((t=>t.N===n));G=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.S=t):(n["s-sh"]=t["s-hn"],it.push({S:t,N:n})),n["s-sr"]&&it.map((t=>{j(t.N,n["s-sn"])&&(e=it.find((t=>t.N===n)),e&&!t.S&&(t.S=e.S))}))}else it.some((t=>t.N===n))||it.push({N:n})}1===t.nodeType&&rt(t)}},ct=t=>{t.v&&t.v.ref&&J.push((()=>t.v.ref(null))),t.m&&t.m.map(ct)},ut=(t,n)=>{K.push((()=>t(n)))},ft=(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"]=w(t)||"";return{slotNode:$(O(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},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.u|=16,4&t.u)return void(t.u|=512);at(t,t.C);const e=()=>pt(t,n);if(!n)return b(e);queueMicrotask((()=>{e()}))},pt=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw 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 n?(t.T&&(t.T=!1,gt(o,"connectedCallback",void 0,e)),t.L.length&&t.L.forEach((t=>t(e))),l=gt(o,"componentWillLoad",void 0,e)):l=gt(o,"componentWillUpdate",void 0,e),l=ht(l,(()=>gt(o,"componentWillRender",void 0,e))),ht(l,(()=>mt(t,o,n)))},ht=(t,n)=>vt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),vt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,mt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];bt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>yt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},bt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,u;const f=t.$hostElement$,a=t.o,d=t.R||C(null,null),p=(t=>t&&t.O===T)(n)?n:M(null,null,n);if(N=f.tagName,e&&p.v)for(const t of Object.keys(p.v))f.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.v[t]=f[t]);if(p.O=null,p.u|=4,t.R=p,p.k=d.k=f,Y=!1,k=f["s-cr"],G=!1,st(d,p,e),c.u|=1,I){rt(p.k);for(const t of it){const n=t.N;if(!n["s-ol"]&&r.document){const t=r.document.createTextNode("");t["s-nr"]=n,ft(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of it){const n=t.N,c=t.S;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),c){const t=c.parentNode;let o=c.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(ft(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,ft(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}if(G&&y(p.k),c.u&=-2,it.length=0,!Y&&!(1&a.u)&&f["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==N&&!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"],ft(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}k=void 0,J.forEach((t=>t())),J.length=0,K.forEach((t=>t())),K.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},yt=t=>{const n=t.$hostElement$,e=t.i,o=t.C;gt(e,"componentDidRender",void 0,n),64&t.u?gt(e,"componentDidUpdate",void 0,n):(t.u|=64,jt(n),gt(e,"componentDidLoad",void 0,n),t.F(n),o||$t()),t.M&&(t.M(),t.M=void 0),512&t.u&&m((()=>dt(t,!1))),t.u&=-517},$t=()=>{m((()=>_(r,"appload",{detail:{namespace:"db-ux"}})))},gt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},jt=t=>t.classList.add("hydrated"),wt=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.A}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(n),u=i.u,f=i.i;if(o=A(o,l.t[n][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(n,o),l.P){const t=l.P[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):i.L.push((()=>{i.i[e](o,c,n)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||dt(i,!1)}}},Ot=(n,o,l)=>{var s,i;const r=n.prototype;{n.watchers&&!o.P&&(o.P=F(n.watchers)),n.deserializers&&!o.D&&(o.D=n.deserializers),n.serializers&&!o._&&(o._=n.serializers);const u=Object.entries(null!=(s=o.t)?s:{});if(u.map((([n,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,n)||{};i&&(o.t[n][0]|=2048),c&&(o.t[n][0]|=4096),(1&l||!i)&&Object.defineProperty(r,n,{get(){{if(!(2048&o.t[n][0]))return((t,n)=>e(this).l.get(n))(0,n);const t=e(this),l=t?t.i:r;if(!l)return;return l[n]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const i=e(this);if(i){if(c)return void 0===(32&s?this[n]:i.$hostElement$[n])&&i.l.get(n)&&(t=i.l.get(n)),c.call(this,A(t,s)),void wt(this,n,t=32&s?this[n]:i.$hostElement$[n],o);{if(!(1&l&&4096&o.t[n][0]))return wt(this,n,t,o),void(1&l&&!i.i&&i.L.push((()=>{4096&o.t[n][0]&&i.i[n]!==i.l.get(n)&&(i.i[n]=t)})));const e=()=>{const e=i.i[n];!i.l.get(n)&&e&&i.l.set(n,e),i.i[n]=A(t,s),wt(this,n,i.i[n],o)};i.i?e():i.L.push((()=>{e()}))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(n,l,s){c.jmp((()=>{var i;const c=t.get(n),f=e(this);if(this.hasOwnProperty(c)&&(s=this[c],delete this[c]),r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const e=f.i,r=null==(i=o.P)?void 0:i[n];null==r||r.forEach((o=>{const[[i,r]]=Object.entries(o);null!=e[i]&&(128&t||1&r)&&e[i].call(e,s,l,n)}))}return}const a=u.find((([t])=>t===c)),d=a&&4&a[1][0],p=d&&null===s&&void 0===this[c];d&&(s=null!==s&&"false"!==s);const h=Object.getOwnPropertyDescriptor(r,c);p||s==this[c]||h.get&&!h.set||(this[c]=s)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=o.P)?i:{}),...u.filter((([t,n])=>31&n[0])).map((([n,e])=>{const o=e[1]||n;return t.set(o,n),o}))]))}}return n},kt=(t,n)=>{gt(t,"connectedCallback",void 0,n)},Nt=(t,n)=>{gt(t,"disconnectedCallback",void 0,n||t)},St=(t,n={})=>{var o;if(!r.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],u=n.exclude||[],f=r.customElements,a=r.document.head,d=a.querySelector("meta[charset]"),p=r.document.createElement("style"),h=[];let v,m=!0;Object.assign(c,n),c.p=new URL(n.resourcesUrl||"./",r.document.baseURI).href;let b=!1;if(t.map((t=>{t[1].map((n=>{var o,a;const d={u:n[0],A:n[1],t:n[2],H:n[3]};4&d.u&&(b=!0),d.t=n[2],d.P=F(n[4]),d._=null!=(o=n[5])?o:{},d.D=null!=(a=n[6])?a:{};const p=d.A,y=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,U:new Map};e.W=new Promise((t=>e.F=t)),t["s-p"]=[],t["s-rc"]=[],e.L=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,d)}connectedCallback(){e(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),v&&(clearTimeout(v),v=null),m?h.push(this):c.jmp((()=>(t=>{if(!(1&c.u)){const n=e(t);if(!n)return;const o=n.o,l=()=>{};if(1&n.u)(null==n?void 0:n.i)?kt(n.i,t):(null==n?void 0:n.W)&&n.W.then((()=>kt(n.i,t)));else{n.u|=1,12&o.u&&(t=>{if(!r.document)return;const n=t["s-cr"]=r.document.createComment("");n["s-cn"]=!0,ft(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){at(n,n.C=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,e)=>{let o;try{if(!(32&n.u))if(n.u|=32,e.B){const l=((t,n)=>{const e=t.A.replace(/-/g,"_"),o=t.B;if(!o)return;const l=i.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.A}#${n.V}" was not found`);o.isProxied||(e.P=F(o.watchers),e._=o.serializers,e.D=o.deserializers,Ot(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.T=!0:kt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));const l=n.C,r=()=>dt(n,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),n.F&&n.F(t)}})(t,n,o)}l()}})(this))))}disconnectedCallback(){c.jmp((()=>(async t=>{if(!(1&c.u)){const n=e(t);(null==n?void 0:n.i)?Nt(n.i,t):(null==n?void 0:n.W)&&n.W.then((()=>Nt(n.i,t)))}S.has(t)&&S.delete(t),t.shadowRoot&&S.has(t.shadowRoot)&&S.delete(t.shadowRoot)})(this))),c.raf((()=>{var t;const n=e(this);if(!n)return;const o=h.findIndex((t=>t===this));o>-1&&h.splice(o,1),(null==(t=null==n?void 0:n.R)?void 0:t.k)instanceof Node&&!n.R.k.isConnected&&delete n.R.k}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.W}};d.B=t[0],u.includes(p)||f.get(p)||(l.push(p),f.define(p,Ot(y,d,1)))}))})),l.length>0&&(b&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",p.innerHTML.length)){p.setAttribute("data-styles","");const t=null!=(o=c.q)?o:function(){var t,n,e;return null!=(e=null==(n=null==(t=r.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();null!=t&&p.setAttribute("nonce",t),a.insertBefore(p,d?d.nextSibling:a.firstChild)}m=!1,h.length?h.map((t=>t.connectedCallback())):c.jmp((()=>v=setTimeout($t,30)))},Et=(t,n)=>n,Mt=t=>c.q=t;export{Et as F,St as b,D as c,P as g,M as h,u as p,o as r,Mt as s}
@@ -1 +1 @@
1
- import{u as t}from"./p-CCbaTFJ9.js";class s{static runCallbacks(t){for(const l of Object.values(s.callbacks))"function"==typeof l&&l(t)}constructor(){if(this.ticking=!1,s._instance)return s._instance;s._instance=this,self.document&&self.document.addEventListener("scroll",(t=>{this.ticking||(window.requestAnimationFrame((()=>{s.runCallbacks(t),this.ticking=!1})),this.ticking=!0)}),!0)}addCallback(l){const o=t();return s.callbacks[o]=l,o}removeCallback(t){delete s.callbacks[t]}}s.callbacks={},s._instance=null;export{s as D}
1
+ import{u as t}from"./p-fumiz06Y.js";class s{static runCallbacks(t){for(const l of Object.values(s.callbacks))"function"==typeof l&&l(t)}constructor(){if(this.ticking=!1,s._instance)return s._instance;s._instance=this,self.document&&self.document.addEventListener("scroll",(t=>{this.ticking||(window.requestAnimationFrame((()=>{s.runCallbacks(t),this.ticking=!1})),this.ticking=!0)}),!0)}addCallback(l){const o=t();return s.callbacks[o]=l,o}removeCallback(t){delete s.callbacks[t]}}s.callbacks={},s._instance=null;export{s as D}
@@ -0,0 +1 @@
1
+ import{u as t}from"./p-fumiz06Y.js";class c{static runCallbacks(t){for(const l of Object.values(c.callbacks))"function"==typeof l&&l(t)}constructor(){if(c._instance)return c._instance;c._instance=this,self.document&&self.document.addEventListener("click",(t=>c.runCallbacks(t)))}addCallback(l){const s=t();return c.callbacks[s]=l,s}removeCallback(t){delete c.callbacks[t]}}c.callbacks={},c._instance=null;export{c as D}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,g as i}from"./p-BlbKvvUv.js";import{g as a,c as o}from"./p-fumiz06Y.js";const d=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const o=s.item(a);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))t.setAttribute(o.name,o.value),i.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)t.setAttribute(o.name,o.value),i.removeAttribute(o.name);else if(o&&"class"===o.name){const s=o.value.includes("hydrated"),a=o.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(o.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.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-button")}render(){var t,i,d;return s("div",{key:"e947d7ffe6705c03ca3a1f9b5126c0f0d9449829",class:o("db-custom-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,"data-icon":null!==(d=this.iconLeading)&&void 0!==d?d:this.icon,"data-show-icon":a(this.showIconLeading,"showIconLeading")||a(this.showIcon,"showIcon"),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":a(this.showIconTrailing,"showIconTrailing"),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-no-text":a(this.noText,"noText")},s("slot",{key:"126520ddf6d2582fab1a1083c6241f868f3520d2"}))}get rootElement(){return i(this)}};export{d as db_custom_button}
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-Cr2cgn5B.js";import{D as e}from"./p-BdL-nI5y.js";import{d as a,u as h,g as o,c as d}from"./p-xkoBSP8R.js";import{D as n}from"./p-CHLgQ9vn.js";import{b as l}from"./p-DOPXnIzL.js";const r=class{constructor(i){t(this,i),this._id=e,this.initialized=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleClick(t){t.stopPropagation()}handleEscape(t){t&&"Escape"!==t.key||!this._ref||"visible"!==getComputedStyle(this._ref).visibility||this.getParent().blur()}getParent(){let t=this._ref.parentElement;return t&&t.localName.includes("tooltip")&&(t=t.parentElement),t}handleAutoPlacement(t){t&&this._ref&&a((()=>{var i;this._ref&&l(this._ref,t,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t,i){var s,e;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.contains(this._ref))&&this.handleAutoPlacement(i)}handleLeave(){var t;this._documentScrollListenerCallbackId&&(new n).removeCallback(this._documentScrollListenerCallbackId),null===(t=this._observer)||void 0===t||t.unobserve(this.getParent())}handleEnter(t){var i;this._documentScrollListenerCallbackId=(new n).addCallback((i=>this.handleDocumentScroll(i,t))),this.handleAutoPlacement(t),null===(i=this._observer)||void 0===i||i.observe(this.getParent())}resetIds(){var t,i,s;this._id=null!==(s=null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&void 0!==s?s:"tooltip-"+h()}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(),h=t.getAttribute("class");t.setAttribute(a.name,`${h?`${h} `:""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var t,i;(null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&this._id){const t=this.getParent();t&&(this.handleAutoPlacement(t),["mouseenter","focusin"].forEach((i=>{t.addEventListener(i,(()=>this.handleEnter(t)))})),t.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseleave","focusout"].forEach((i=>{t.addEventListener(i,(()=>this.handleLeave()))})),t.dataset.hasTooltip="true",t.setAttribute("label"===this.variant?"aria-labelledby":"aria-describedby",this._id)),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getParent()));i&&!i.isIntersecting&&this.handleEscape(!1)}))),this.initialized=!1}}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-tooltip"),this.resetIds(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s;return i("i",{key:"baf376c4ee424f78a7e062b864586139846b2073",class:d("db-tooltip",this.className),role:"tooltip","aria-hidden":"true","data-gap":"true",ref:t=>{this._ref=t},id:this._id,"data-emphasis":this.emphasis,"data-wrap":o(this.wrap),"data-animation":o(null===(t=this.animation)||void 0===t||t),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":o(null===(s=this.showArrow)||void 0===s||s),"data-placement":this.placement,onClick:t=>this.handleClick(t)},this.text?this.text:null,i("slot",{key:"6ec094383bad1237ce6ae7d02a7a62cf5c8de19d"}))}get rootElement(){return s(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}}};export{r as db_tooltip}
1
+ import{r as t,h as i,g as s}from"./p-BlbKvvUv.js";import{D as a}from"./p-BdL-nI5y.js";import{d as e,u as h,g as o,c as d}from"./p-fumiz06Y.js";import{D as n}from"./p-BtImZ8Nt.js";import{b as l}from"./p-DOPXnIzL.js";const r=class{constructor(i){t(this,i),this._id=a,this.initialized=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleClick(t){t.stopPropagation()}handleEscape(t){t&&"Escape"!==t.key||!this._ref||"visible"!==getComputedStyle(this._ref).visibility||this.getParent().blur()}getParent(){let t=this._ref.parentElement;return t&&t.localName.includes("tooltip")&&(t=t.parentElement),t}handleAutoPlacement(t){t&&this._ref&&e((()=>{var i;this._ref&&l(this._ref,t,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t,i){var s,a;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(a=null==t?void 0:t.target)||void 0===a?void 0:a.contains(this._ref))&&this.handleAutoPlacement(i)}handleLeave(){var t;this._documentScrollListenerCallbackId&&(new n).removeCallback(this._documentScrollListenerCallbackId),null===(t=this._observer)||void 0===t||t.unobserve(this.getParent())}handleEnter(t){var i;this._documentScrollListenerCallbackId=(new n).addCallback((i=>this.handleDocumentScroll(i,t))),this.handleAutoPlacement(t),null===(i=this._observer)||void 0===i||i.observe(this.getParent())}resetIds(){var t,i,s;this._id=null!==(s=null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&void 0!==s?s:"tooltip-"+h()}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 e=i.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(e.name)}}}}watch0Fn(){var t,i;(null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&this._id){const t=this.getParent();t&&(this.handleAutoPlacement(t),["mouseenter","focusin"].forEach((i=>{t.addEventListener(i,(()=>this.handleEnter(t)))})),t.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseleave","focusout"].forEach((i=>{t.addEventListener(i,(()=>this.handleLeave()))})),t.dataset.hasTooltip="true",t.setAttribute("label"===this.variant?"aria-labelledby":"aria-describedby",this._id)),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getParent()));i&&!i.isIntersecting&&this.handleEscape(!1)}))),this.initialized=!1}}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-tooltip"),this.resetIds(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s;return i("i",{key:"2636a6f606a970f585a00c7268542b8bf8f59644",class:d("db-tooltip",this.className),role:"tooltip","aria-hidden":"true","data-gap":"true",ref:t=>{this._ref=t},id:this._id,"data-emphasis":this.emphasis,"data-wrap":o(this.wrap,"wrap"),"data-animation":o(null===(t=this.animation)||void 0===t||t,"animation"),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":o(null===(s=this.showArrow)||void 0===s||s,"showArrow"),"data-placement":this.placement,onClick:t=>this.handleClick(t)},this.text?this.text:null,i("slot",{key:"cf37293fac4206d6c6b97a0d1b063ba28c3f4d3d"}))}get rootElement(){return s(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}}};export{r as db_tooltip}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,g as d}from"./p-BlbKvvUv.js";import{g as l,c as e,f as a,u as s}from"./p-fumiz06Y.js";const o=class{constructor(i){t(this,i)}enableAttributePassing(t,i){const d=null==t?void 0:t.closest(i);if(t&&d){const i=d.attributes;for(let l=0;l<i.length;l++){const e=i.item(l);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),l=e.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(e.name,`${a?`${a} `:""}${l}`),i?d.setAttribute("class","hydrated"):d.removeAttribute(e.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-link")}render(){var t,d,a,s;return i("a",{key:"1c032471cbf6facd4f851aaf0ebab4e2697432a2",class:e("db-link",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(d=this.propOverrides)||void 0===d?void 0:d.id,href:this.href,target:this.target,rel:this.rel,role:this.role,referrerPolicy:null!==(a=this.referrerpolicy)&&void 0!==a?a:this.referrerPolicy,hrefLang:this.hreflang,"aria-disabled":l(this.disabled,"disabled"),tabIndex:this.disabled?-1:0,"data-size":this.size,"data-show-icon-trailing":l(null===(s=this.showIcon)||void 0===s||s,"showIcon"),"data-variant":this.variant,"data-content":this.content||"internal","data-wrap":l(this.wrap,"wrap")},this.text?this.text:null,i("slot",{key:"5045a3ef849265f0719db1d8bbe5e141bb415eef"}))}get rootElement(){return d(this)}},n=class{constructor(i){t(this,i)}enableAttributePassing(t,i){const d=null==t?void 0:t.closest(i);if(t&&d){const i=d.attributes;for(let l=0;l<i.length;l++){const e=i.item(l);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),l=e.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(e.name,`${a?`${a} `:""}${l}`),i?d.setAttribute("class","hydrated"):d.removeAttribute(e.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-table-data-cell")}render(){return i("td",{key:"9f67b2926bd9e418572aa855b1dba754bddd8297",class:e("db-table-data-cell",this.className),ref:t=>{this._ref=t},id:this.id,"data-horizontal-alignment":this.horizontalAlignment,"data-vertical-alignment":this.verticalAlignment,colSpan:a(this.colSpan,this.colspan),rowSpan:a(this.rowSpan,this.rowspan),headers:this.headers},i("slot",{key:"73553f85f1a5ccb0d8b59b06760fd19318a2e19c"}))}get rootElement(){return d(this)}},r=class{constructor(i){t(this,i)}enableAttributePassing(t,i){const d=null==t?void 0:t.closest(i);if(t&&d){const i=d.attributes;for(let l=0;l<i.length;l++){const e=i.item(l);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),l=e.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(e.name,`${a?`${a} `:""}${l}`),i?d.setAttribute("class","hydrated"):d.removeAttribute(e.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-table-header-cell")}render(){return i("th",{key:"422fa622eecd8ffb509c415c6bfdd1ed31f3ecc8",class:e("db-table-header-cell",this.className),ref:t=>{this._ref=t},id:this.id,"data-horizontal-alignment":this.horizontalAlignment,"data-vertical-alignment":this.verticalAlignment,"data-no-text":l(this.noText),scope:this.scope,colSpan:a(this.colSpan,this.colspan),rowSpan:a(this.rowSpan,this.rowspan),headers:this.headers,abbr:this.abbr},i("slot",{key:"7fc0e393fa95a6ea5c0e927fa971da7d825c7736"}))}get rootElement(){return d(this)}},c=class{constructor(i){t(this,i)}getHeaderCell(t){if(t.headerCell)return t}enableAttributePassing(t,i){const d=null==t?void 0:t.closest(i);if(t&&d){const i=d.attributes;for(let l=0;l<i.length;l++){const e=i.item(l);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),d.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),l=e.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(e.name,`${a?`${a} `:""}${l}`),i?d.setAttribute("class","hydrated"):d.removeAttribute(e.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-table-row")}render(){var t;return i("tr",{key:"41fb15318069880e679a929ee5d4fcf59c7c1b63",class:e("db-table-row",this.className),ref:t=>{this._ref=t},id:this.id,"data-interactive":l(this.interactive),"data-sub-header-emphasis":this.subHeaderEmphasis},this.cells?null===(t=this.cells)||void 0===t?void 0:t.map(((t,d)=>{var l,e,a,o,n,r,c,h,v,u,f,b,y,p,m,g,$,w,k,_,z,A,S,P,x,L,D,E,I,j,B,C,H,K,T,U,Y,q,F,G,J,M,N,O,Q,R,V;return t.headerCell?i("db-table-header-cell",{class:null!==(l=t.className)&&void 0!==l?l:t.class,key:`${null!==(a=null!==(e=t.id)&&void 0!==e?e:this.id)&&void 0!==a?a:s()}-table-row-header-cell-${d}`,id:t.id,abbr:null===(o=this.getHeaderCell(t))||void 0===o?void 0:o.abbr,scope:null===(n=this.getHeaderCell(t))||void 0===n?void 0:n.scope,noText:null===(r=this.getHeaderCell(t))||void 0===r?void 0:r.noText,horizontalAlignment:t.horizontalAlignment,verticalAlignment:t.verticalAlignment,headers:t.headers,colSpan:t.colSpan,colspan:t.colspan,rowSpan:t.rowSpan,rowspan:t.rowspan},t.link?i("db-link",{class:null!==(h=null===(c=t.link)||void 0===c?void 0:c.className)&&void 0!==h?h:null===(v=t.link)||void 0===v?void 0:v.class,content:null===(u=t.link)||void 0===u?void 0:u.content,size:null===(f=t.link)||void 0===f?void 0:f.size,variant:null===(b=t.link)||void 0===b?void 0:b.variant,id:null===(y=t.link)||void 0===y?void 0:y.id,autofocus:null===(p=t.link)||void 0===p?void 0:p.autofocus,disabled:null===(m=t.link)||void 0===m?void 0:m.disabled,href:null===(g=t.link)||void 0===g?void 0:g.href,hreflang:null===($=t.link)||void 0===$?void 0:$.hreflang,target:null===(w=t.link)||void 0===w?void 0:w.target,rel:null===(k=t.link)||void 0===k?void 0:k.rel,referrerPolicy:null===(_=t.link)||void 0===_?void 0:_.referrerPolicy,role:null===(z=t.link)||void 0===z?void 0:z.role,showIcon:null===(A=t.link)||void 0===A?void 0:A.showIcon,text:null===(S=t.link)||void 0===S?void 0:S.text,wrap:null===(P=t.link)||void 0===P?void 0:P.wrap},null===(x=t.link)||void 0===x?void 0:x.children):t.content):i("db-table-data-cell",{class:null!==(L=t.className)&&void 0!==L?L:t.class,key:`${null!==(E=null!==(D=t.id)&&void 0!==D?D:this.id)&&void 0!==E?E:s()}-table-row-data-cell-${d}`,id:t.id,horizontalAlignment:t.horizontalAlignment,verticalAlignment:t.verticalAlignment,headers:t.headers,colSpan:t.colSpan,colspan:t.colspan,rowSpan:t.rowSpan,rowspan:t.rowspan},t.link?i("db-link",{class:null!==(j=null===(I=t.link)||void 0===I?void 0:I.className)&&void 0!==j?j:null===(B=t.link)||void 0===B?void 0:B.class,content:null===(C=t.link)||void 0===C?void 0:C.content,size:null===(H=t.link)||void 0===H?void 0:H.size,variant:null===(K=t.link)||void 0===K?void 0:K.variant,id:null===(T=t.link)||void 0===T?void 0:T.id,autofocus:null===(U=t.link)||void 0===U?void 0:U.autofocus,disabled:null===(Y=t.link)||void 0===Y?void 0:Y.disabled,href:null===(q=t.link)||void 0===q?void 0:q.href,hreflang:null===(F=t.link)||void 0===F?void 0:F.hreflang,target:null===(G=t.link)||void 0===G?void 0:G.target,rel:null===(J=t.link)||void 0===J?void 0:J.rel,referrerPolicy:null===(M=t.link)||void 0===M?void 0:M.referrerPolicy,role:null===(N=t.link)||void 0===N?void 0:N.role,showIcon:null===(O=t.link)||void 0===O?void 0:O.showIcon,text:null===(Q=t.link)||void 0===Q?void 0:Q.text,wrap:null===(R=t.link)||void 0===R?void 0:R.wrap},null===(V=t.link)||void 0===V?void 0:V.children):t.content)})):i("slot",null))}get rootElement(){return d(this)}};export{o as db_link,n as db_table_data_cell,r as db_table_header_cell,c as db_table_row}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as a,g as i}from"./p-BlbKvvUv.js";import{c as e}from"./p-fumiz06Y.js";const d=class{constructor(a){t(this,a),this.click=s(this,"click")}handleClick(t){this.click&&this.click.emit(t)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const e=s.item(i);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(e.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-card")}render(){var t,s;return a("div",{key:"24dfc836fc2ca48b141001fa073c204ae8452b3a",class:e("db-card",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-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:t=>this.handleClick(t)},a("slot",{key:"99ad6ae87aba0214e1226bebd28f06d854ce9c65"}))}get rootElement(){return i(this)}};export{d as db_card}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,F as s,g as a}from"./p-BlbKvvUv.js";import{d as e,g as d,c as o}from"./p-fumiz06Y.js";const h=class{constructor(i){t(this,i),this._data=void 0,this._style=void 0}convertData(){try{return"string"==typeof this.data?JSON.parse(this.data):this.data}catch(t){console.error(t)}return{}}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 e=i.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(e.name)}}}}watch0Fn(){this._data=this.data?this.convertData():void 0}watch0(){this.watch0Fn()}watch1Fn(){this._ref&&"list"===this.mobileVariant&&e((()=>{const t=this._ref;if(!t)return;const i=t.querySelectorAll("thead tr th");i.length&&t.querySelectorAll(":is(tbody,tfoot) tr").forEach((t=>{t.querySelectorAll(":is(td,th)").forEach(((t,s)=>{const a=i[s];if(a){const i=Array.from(a.childNodes).filter((t=>t.nodeType===Node.TEXT_NODE)).map((t=>{var i;return null===(i=t.textContent)||void 0===i?void 0:i.trim()})).filter(Boolean).join(" ");i&&(t.dataset.header=i)}}))}))}),1)}watch1(){this.watch1Fn()}watch2Fn(){if(this.columnSizes){const t={};Object.entries(this.columnSizes).forEach((([i,s])=>{t[`--db-table-column-size-${i}`]=s})),this._style=t}else this._style=void 0}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-table"),this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}render(){var t,a,e,h,n,l;return i("div",{key:"d4edb3348e35410ac540499f815e173237e533dc",class:o("db-table",this.className),style:this._style,"data-width":this.width,"data-size":this.size,"data-divider":this.divider,"data-variant":this.variant,"data-mobile-variant":this.mobileVariant,"data-show-caption":d(this.showCaption),"data-sticky-header":this.stickyHeader},i("table",{key:"2eda8c59f2c86a480691a1a4fae4a1fdaa63a6b1",ref:t=>{this._ref=t},id:this.id},this.captionPlain?i("caption",null,this.captionPlain):i("slot",{name:"caption"}),this._data?i(s,null,(null===(t=this._data)||void 0===t?void 0:t.header)?i("db-table-head",{rows:null===(a=this._data)||void 0===a?void 0:a.header}):null,(null===(e=this._data)||void 0===e?void 0:e.body)?i("db-table-body",{rows:null===(h=this._data)||void 0===h?void 0:h.body}):null,(null===(n=this._data)||void 0===n?void 0:n.footer)?i("db-table-footer",{rows:null===(l=this._data)||void 0===l?void 0:l.footer}):null):i("slot",null)))}get rootElement(){return a(this)}static get watchers(){return{data:[{watch0:0}],mobileVariant:[{watch1:0}],_ref:[{watch1:0}],_data:[{watch1:0}],columnSizes:[{watch2:0}]}}};export{h as db_table}
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-Cr2cgn5B.js";import{d as e,g as o,c as n}from"./p-xkoBSP8R.js";import{D as a}from"./p-CHLgQ9vn.js";import{b as h}from"./p-DOPXnIzL.js";const d=class{constructor(i){t(this,i),this.initialized=!1,this.isExpanded=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleEscape(t){if(!t||"Escape"===t.key)for(const t of Array.from(this._ref.children))t.blur()}handleAutoPlacement(){if(!this._ref)return;const t=this._ref.querySelector("article");t&&e((()=>{var i;h(t,this._ref,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t){var i,s;(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.contains)&&(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains(this._ref))&&this.handleAutoPlacement()}handleEnter(){var t;this.isExpanded=!0,this._documentScrollListenerCallbackId=(new a).addCallback((t=>this.handleDocumentScroll(t))),this.handleAutoPlacement();const i=this.getTrigger();i&&(null===(t=this._observer)||void 0===t||t.observe(i))}handleLeave(t){var i;const s=null==t?void 0:t.target;if(!(null==s?void 0:s.parentNode)||s.parentNode.querySelector(":focus")!==s&&s.parentNode.querySelector(":focus-within")!==s&&s.parentNode.querySelector(":hover")!==s){this.isExpanded=!1,this._documentScrollListenerCallbackId&&(new a).removeCallback(this._documentScrollListenerCallbackId);const t=this.getTrigger();t&&(null===(i=this._observer)||void 0===i||i.unobserve(t))}}getTrigger(){var t;if(this._ref){const i=Array.from(this._ref.children);if(i.length>=2){const s=i[0];return s.tagName.includes("-")?(null===(t=s.children)||void 0===t?void 0:t.length)>0?s.children[0]:null:s}}return null}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 o=i.item(e);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 i=o.value.includes("hydrated"),e=o.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(o.name,`${n?`${n} `:""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(o.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initialized=!1;const t=this.getTrigger();t&&(t.ariaHasPopup="true"),this.handleAutoPlacement(),this._ref.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseenter","focusin"].forEach((t=>{this._ref.addEventListener(t,(()=>this.handleEnter()))})),["mouseleave","focusout"].forEach((t=>{this._ref.addEventListener(t,(()=>this.handleLeave()))})),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getTrigger()));i&&!i.isIntersecting&&this.handleEscape(!1)})))}}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref){const t=this.getTrigger();t&&(t.ariaExpanded=Boolean(this.isExpanded).toString())}}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-popover"),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,e;return i("div",{key:"5695f78c16f768ca34b16c05167518c2a2e26c35",class:n("db-popover",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},i("slot",{key:"e765f506df650f9105ff6efb79c2d6fe36a48b91",name:"trigger"}),i("article",{key:"072c8716f82a49d319794e521f467d494fe4b313",class:"db-popover-content","data-spacing":this.spacing,"data-gap":o(this.gap),"data-animation":o(null===(e=this.animation)||void 0===e||e),"data-open":o(this.open),"data-delay":this.delay,"data-width":this.width,"data-placement":this.placement},i("slot",{key:"3317509fd5cfbc56f9e0921f91e34520d9f93c87"})))}get rootElement(){return s(this)}static get watchers(){return{_ref:[{watch0:0},{watch1:0}],initialized:[{watch0:0}],isExpanded:[{watch1:0}]}}};export{d as db_popover}
1
+ import{r as t,h as i,g as s}from"./p-BlbKvvUv.js";import{d as e,g as a,c as o}from"./p-fumiz06Y.js";import{D as n}from"./p-BtImZ8Nt.js";import{b as h}from"./p-DOPXnIzL.js";const d=class{constructor(i){t(this,i),this.initialized=!1,this.isExpanded=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleEscape(t){if(!t||"Escape"===t.key)for(const t of Array.from(this._ref.children))t.blur()}handleAutoPlacement(){if(!this._ref)return;const t=this._ref.querySelector("article");t&&e((()=>{var i;h(t,this._ref,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t){var i,s;(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.contains)&&(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains(this._ref))&&this.handleAutoPlacement()}handleEnter(){var t;this.isExpanded=!0,this._documentScrollListenerCallbackId=(new n).addCallback((t=>this.handleDocumentScroll(t))),this.handleAutoPlacement();const i=this.getTrigger();i&&(null===(t=this._observer)||void 0===t||t.observe(i))}handleLeave(t){var i;const s=null==t?void 0:t.target;if(!(null==s?void 0:s.parentNode)||s.parentNode.querySelector(":focus")!==s&&s.parentNode.querySelector(":focus-within")!==s&&s.parentNode.querySelector(":hover")!==s){this.isExpanded=!1,this._documentScrollListenerCallbackId&&(new n).removeCallback(this._documentScrollListenerCallbackId);const t=this.getTrigger();t&&(null===(i=this._observer)||void 0===i||i.unobserve(t))}}getTrigger(){var t;if(this._ref){const i=Array.from(this._ref.children);if(i.length>=2){const s=i[0];return s.tagName.includes("-")?(null===(t=s.children)||void 0===t?void 0:t.length)>0?s.children[0]:null:s}}return null}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(),o=t.getAttribute("class");t.setAttribute(a.name,`${o?`${o} `:""}${e}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initialized=!1;const t=this.getTrigger();t&&(t.ariaHasPopup="true"),this.handleAutoPlacement(),this._ref.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseenter","focusin"].forEach((t=>{this._ref.addEventListener(t,(()=>this.handleEnter()))})),["mouseleave","focusout"].forEach((t=>{this._ref.addEventListener(t,(()=>this.handleLeave()))})),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getTrigger()));i&&!i.isIntersecting&&this.handleEscape(!1)})))}}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref){const t=this.getTrigger();t&&(t.ariaExpanded=Boolean(this.isExpanded).toString())}}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-popover"),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,e;return i("div",{key:"b4ade41cbe4f2ba97d817feb8d2921dc9a4c2e63",class:o("db-popover",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},i("slot",{key:"51ef67b406d5411f3622a8d62c51e26cdd8b44b0",name:"trigger"}),i("article",{key:"7a04c2dc442eea91ff41ed2a5030c238bc7b2740",class:"db-popover-content","data-spacing":this.spacing,"data-gap":a(this.gap,"gap"),"data-animation":a(null===(e=this.animation)||void 0===e||e,"animation"),"data-open":a(this.open,"open"),"data-delay":this.delay,"data-width":this.width,"data-placement":this.placement},i("slot",{key:"8a8892cb2b035d6d50c5aa5599026f1476b0bede"})))}get rootElement(){return s(this)}static get watchers(){return{_ref:[{watch0:0},{watch1:0}],initialized:[{watch0:0}],isExpanded:[{watch1:0}]}}};export{d as db_popover}
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-Cr2cgn5B.js";import{u as h,c as a}from"./p-xkoBSP8R.js";const n=class{constructor(i){t(this,i),this._name="",this.initialized=!1,this._initOpenIndexDone=!1}convertItems(){try{return"string"==typeof this.items?JSON.parse(this.items):this.items}catch(t){console.error(t)}return[]}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let h=0;h<i.length;h++){const a=i.item(h);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"),h=a.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(a.name,`${n?`${n} `:""}${h}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){this.initialized&&this._ref&&("single"===this.behavior?this.name?this._name!==this.name&&(this._name=this.name):this._name=`accordion-${h()}`:this._name="")}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._ref){const i=this._ref.getElementsByTagName("details");if(i)for(const s of Array.from(i))""===this._name?s.removeAttribute("name"):s.name=null!==(t=this._name)&&void 0!==t?t:""}}watch1(){this.watch1Fn()}watch2Fn(){if(this._ref&&this._initOpenIndexDone){if(this.initOpenIndex&&this.initOpenIndex.length>0){const t=this._ref.getElementsByTagName("details");if(t){const i="single"===this.behavior&&this.initOpenIndex.length>1?[this.initOpenIndex[0]]:this.initOpenIndex;Array.from(t).forEach(((t,s)=>{(null==i?void 0:i.includes(s))&&(t.open=!0)}))}}this._initOpenIndexDone=!1}}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"),this.initialized=!0,this._initOpenIndexDone=!0,this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}render(){var t,s,h;return i("ul",{key:"d6927b05c169addaea604a2f5eb225017ee6973c",class:a("db-accordion",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-variant":this.variant},this.items?null:i("slot",null),this.items?null===(h=this.convertItems())||void 0===h?void 0:h.map(((t,s)=>i("db-accordion-item",{key:`accordion-item-${s}`,headlinePlain:t.headlinePlain,disabled:t.disabled,text:t.text}))):null)}get rootElement(){return s(this)}static get watchers(){return{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}}};export{n as db_accordion}
1
+ import{r as t,h as i,g as s}from"./p-BlbKvvUv.js";import{u as h,c as a}from"./p-fumiz06Y.js";const n=class{constructor(i){t(this,i),this._name="",this.initialized=!1,this._initOpenIndexDone=!1}convertItems(){try{return"string"==typeof this.items?JSON.parse(this.items):this.items}catch(t){console.error(t)}return[]}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let h=0;h<i.length;h++){const a=i.item(h);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"),h=a.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(a.name,`${n?`${n} `:""}${h}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){this.initialized&&this._ref&&("single"===this.behavior?this.name?this._name!==this.name&&(this._name=this.name):this._name=`accordion-${h()}`:this._name="")}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._ref){const i=this._ref.getElementsByTagName("details");if(i)for(const s of Array.from(i))""===this._name?s.removeAttribute("name"):s.name=null!==(t=this._name)&&void 0!==t?t:""}}watch1(){this.watch1Fn()}watch2Fn(){if(this._ref&&this._initOpenIndexDone){if(this.initOpenIndex&&this.initOpenIndex.length>0){const t=this._ref.getElementsByTagName("details");if(t){const i="single"===this.behavior&&this.initOpenIndex.length>1?[this.initOpenIndex[0]]:this.initOpenIndex;Array.from(t).forEach(((t,s)=>{(null==i?void 0:i.includes(s))&&(t.open=!0)}))}}this._initOpenIndexDone=!1}}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"),this.initialized=!0,this._initOpenIndexDone=!0,this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}render(){var t,s,h;return i("ul",{key:"400ed83c47dea1ff19bd9d02e9c6a6338ea9c001",class:a("db-accordion",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-variant":this.variant},this.items?null:i("slot",null),this.items?null===(h=this.convertItems())||void 0===h?void 0:h.map(((t,s)=>i("db-accordion-item",{key:`accordion-item-${s}`,headlinePlain:t.headlinePlain,disabled:t.disabled,text:t.text}))):null)}get rootElement(){return s(this)}static get watchers(){return{initialized:[{watch0:0}],name:[{watch0:0}],behavior:[{watch0:0}],_ref:[{watch1:0},{watch2:0}],_name:[{watch1:0}],_initOpenIndexDone:[{watch2:0}],initOpenIndex:[{watch2:0}]}}};export{n as db_accordion}
@@ -1 +1 @@
1
- import{r as t,h as s,g as a}from"./p-Cr2cgn5B.js";import{g as i,c as e}from"./p-xkoBSP8R.js";const d=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const e=s.item(i);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(e.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,a,d;return s("span",{key:"8336d336c2ea90300646a83257cab6f34dfe862a",class:e("db-infotext",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(a=this.propOverrides)||void 0===a?void 0:a.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-wrap":i(this.wrap),"data-show-icon-leading":i(null===(d=this.showIcon)||void 0===d||d)},this.text?this.text:null,s("slot",{key:"1dd519913408aa16cce587ddaee31d3c3bae05b6"}))}get rootElement(){return a(this)}};export{d as db_infotext}
1
+ import{r as t,h as s,g as a}from"./p-BlbKvvUv.js";import{g as i,c as e}from"./p-fumiz06Y.js";const d=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const a=null==t?void 0:t.closest(s);if(t&&a){const s=a.attributes;for(let i=0;i<s.length;i++){const e=s.item(i);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),a.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${i}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(e.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,a,d;return s("span",{key:"982cd72ca8f9c42855a6aa704216bd21ebac6bb8",class:e("db-infotext",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(a=this.propOverrides)||void 0===a?void 0:a.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-wrap":i(this.wrap,"wrap"),"data-show-icon-leading":i(null===(d=this.showIcon)||void 0===d||d,"showIcon")},this.text?this.text:null,s("slot",{key:"cee3af0341d217dcd43068e5a5759b0964b132bd"}))}get rootElement(){return a(this)}};export{d as db_infotext}
@@ -0,0 +1 @@
1
+ import{r as i,c as t,h as s,F as h,g as e}from"./p-BlbKvvUv.js";import{l,a as o,m as a,f as d,g as n,h as c,e as v,d as r,i as u,o as w,k as f,c as b,s as m}from"./p-BdL-nI5y.js";import{h as p,d as y,s as g,m as k,u as F,e as A,g as x,l as D,c as C}from"./p-fumiz06Y.js";import{D as I}from"./p-OOIf-5XP.js";import{D as L}from"./p-BtImZ8Nt.js";import{a as S}from"./p-DOPXnIzL.js";import{b as O}from"./p-BihrW11j.js";const T=class{constructor(s){i(this,s),this.amountChange=t(this,"amountChange"),this.dropdownToggle=t(this,"dropdownToggle"),this.optionSelected=t(this,"optionSelected"),this.search=t(this,"search"),this.showClearSelection=!0,this.clearSelectionText="Clear selection",this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._selectId=void 0,this._labelId=void 0,this._summaryId=void 0,this._placeholderId=void 0,this._infoTextId=void 0,this._validity="no-validation",this._userInteraction=!1,this.abortController=void 0,this._descByIds=void 0,this._selectedLabels="",this._selectedLabelsId=void 0,this._voiceOverFallback="",this._selectedOptions=[],this.selectAllEnabled=!1,this.searchEnabled=!1,this.amountOptions=0,this._values=[],this._options=[],this._hasNoOptions=!1,this._documentClickListenerCallbackId=void 0,this._internalChangeTimestamp=0,this._documentScrollListenerCallbackId=void 0,this._observer=void 0,this._searchValue=void 0,this.selectAllChecked=!1,this.selectAllIndeterminate=!1,this.satisfyReact=function(i){i.stopPropagation()}}handleDocumentScroll(i){var t,s;(null===(t=null==i?void 0:i.target)||void 0===t?void 0:t.contains)&&(null===(s=null==i?void 0:i.target)||void 0===s?void 0:s.contains(this.detailsRef))&&this.handleAutoPlacement()}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,h,e,o,a,d;this.selectRef&&(this.selectRef.value=this.getNativeSelectValue()),(null===(i=this.selectRef)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(h=this.selectRef)||void 0===h?void 0:h.validity.valid)&&this.required?(this.setDescById(this._validMessageId),p()&&(this._voiceOverFallback=null!==(e=this.validMessage)&&void 0!==e?e:f,y((()=>this._voiceOverFallback=""),1e3)),this._validity=null!==(o=this.validation)&&void 0!==o?o:"valid"):g(this.message,this.showMessage)?(this.setDescById(this._messageId),this._validity=null!==(a=this.validation)&&void 0!==a?a:"no-validation"):(this.setDescById(this._placeholderId),this._validity=null!==(d=this.validation)&&void 0!==d?d:"no-validation"):(this.setDescById(this._invalidMessageId),this._invalidMessage=this.invalidMessage||(null===(t=this.selectRef)||void 0===t?void 0:t.validationMessage)||l,p()&&(this._voiceOverFallback=this._invalidMessage,y((()=>this._voiceOverFallback=""),1e3)),this._userInteraction&&(this._validity=null!==(s=this.validation)&&void 0!==s?s:"invalid"))}handleDropdownToggle(i){var t,s;this.dropdownToggle&&(i.stopPropagation(),this.dropdownToggle.emit(i)),i.target instanceof HTMLDetailsElement&&i.target.open?(this._documentClickListenerCallbackId=(new I).addCallback((i=>this.handleDocumentClose(i))),this._documentScrollListenerCallbackId=(new L).addCallback((i=>this.handleDocumentScroll(i))),this.handleAutoPlacement(),null===(t=this._observer)||void 0===t||t.observe(this.detailsRef),i.target.dataset.test||this.handleOpenByKeyboardFocus()):(this._documentClickListenerCallbackId&&(new I).removeCallback(this._documentClickListenerCallbackId),this._documentScrollListenerCallbackId&&(new L).removeCallback(this._documentScrollListenerCallbackId),null===(s=this._observer)||void 0===s||s.unobserve(this.detailsRef))}getNativeSelectValue(){var i,t;return(null===(i=this._values)||void 0===i?void 0:i.length)&&null!==(t=this._values.at(0))&&void 0!==t?t:""}setDescById(i){var t;const s=[];i&&s.push(i),this._selectedLabelsId&&(null===(t=this._selectedLabels)||void 0===t?void 0:t.length)&&s.push(this._selectedLabelsId),this._descByIds=s.join(" ")}getSelectAllLabel(){var i;return null!==(i=this.selectAllLabel)&&void 0!==i?i:o}getOptionLabel(i){var t,s,h;return null!==(h=null!==(t=i.label)&&void 0!==t?t:null===(s=i.value)||void 0===s?void 0:s.toString())&&void 0!==h?h:""}getOptionChecked(i){var t,s;return!(!i||!(null===(t=this._values)||void 0===t?void 0:t.includes))&&(null===(s=this._values)||void 0===s?void 0:s.includes(i))}getTagRemoveLabel(i){const t=this.removeTagsTexts,s=this.options;if(t&&s){const h=s.findIndex((t=>t.value===i.value));if(h>=0&&h<t.length)return t[h]}return`${a} ${this.getOptionLabel(i)}`}handleTagRemove(i,t){t&&t.stopPropagation(),this.handleSelect(i.value),this.handleSummaryFocus()}handleAutoPlacement(){if(this.detailsRef){const i=this.detailsRef.querySelector("article");i&&y((()=>{var t;S(i,this.detailsRef,null!==(t=this.placement)&&void 0!==t?t:"bottom")}),1)}}handleArrowDownUp(i){var t,s,h;if(null===(t=this.detailsRef)||void 0===t?void 0:t.open){if(self.document){const t=self.document.activeElement;if(t)if("checkbox"===t.getAttribute("type")||"radio"===t.getAttribute("type")){const e=null==t?void 0:t.closest("li");if("ArrowDown"===i.key||"ArrowRight"===i.key){let i=null==e?void 0:e.nextElementSibling;for(;i;){const t=i.querySelector("input");if(t){t.focus();break}i=i.nextElementSibling}i||this.handleFocusFirstDropdownCheckbox(t)}else{let i=null==e?void 0:e.previousElementSibling;for(;i;){const t=i.querySelector("input");if(t){t.focus();break}i=i.previousElementSibling}if(!i){const i=this.detailsRef.querySelector('input[type="checkbox"]');if(i&&i!==t)this.handleFocusFirstDropdownCheckbox(t);else{const i=k(this.detailsRef);if(i)y((()=>{i.focus()}),100);else{const i=Array.from(null===(s=this.detailsRef)||void 0===s?void 0:s.querySelectorAll('input[type="checkbox"],input[type="radio"]'));i.length&&(null===(h=i.at(-1))||void 0===h||h.focus())}}}}}else"search"!==t.getAttribute("type")||"ArrowUp"!==i.key&&"ArrowLeft"!==i.key?this.handleFocusFirstDropdownCheckbox(t):(this.handleClose(void 0,!0),this.handleSummaryFocus())}}else"ArrowDown"!==i.key&&"ArrowRight"!==i.key||(this.handleAutoPlacement(),this.detailsRef&&(this.detailsRef.open=!0),this.handleOpenByKeyboardFocus());i.stopPropagation(),i.preventDefault()}handleKeyboardPress(i){var t,s,h;if(i.stopPropagation(),"Escape"===i.key&&(null===(t=this.detailsRef)||void 0===t?void 0:t.open))this.handleClose(void 0,!0),this.handleSummaryFocus();else if("Enter"===i.key&&(null===(s=this.detailsRef)||void 0===s?void 0:s.open)){if(self.document){const t=self.document.activeElement;if(["checkbox","radio"].includes(t.getAttribute("type")||""))t.click(),i.preventDefault();else if("search"===t.getAttribute("type")){const t=null===(h=this._options)||void 0===h?void 0:h.find((i=>!i.isGroupTitle&&!i.disabled));(null==t?void 0:t.value)&&(this.handleSelect(t.value),i.preventDefault())}}}else"ArrowDown"!==i.key&&"ArrowUp"!==i.key&&"ArrowLeft"!==i.key&&"ArrowRight"!==i.key||this.handleArrowDownUp(i)}handleClose(i,t){if(this.detailsRef)if(t)this.detailsRef.open=!1,this.handleSummaryFocus();else if(this.detailsRef.open&&i&&i.relatedTarget){const t=i.relatedTarget;this.detailsRef.contains(t)||"dialog"===t.localName||y((()=>this.detailsRef.open=!1),1)}}handleDocumentClose(i){var t,s;if(i){const h="number"==typeof i.detail?i.target:null===(t=i.detail)||void 0===t?void 0:t.target;(null===(s=this.detailsRef)||void 0===s?void 0:s.open)&&!this.detailsRef.contains(h)&&(this.detailsRef.open=!1)}}handleOptionSelected(i){(new Date).getTime()-this._internalChangeTimestamp<200||(this._values=i,this._userInteraction=!0,this.optionSelected&&this.optionSelected.emit(null!=i?i:[]),this._internalChangeTimestamp=(new Date).getTime())}handleSelect(i){var t;i&&(this.multiple?(null===(t=this._values)||void 0===t?void 0:t.includes(i))?this.handleOptionSelected(this._values.filter((t=>t!==i))):this.handleOptionSelected([...this._values||[],i]):(this.handleOptionSelected([i]),this.handleClose(void 0,!0)))}handleSelectAll(i){var t;if(i.stopPropagation(),(null===(t=this._values)||void 0===t?void 0:t.length)===this.amountOptions)this.handleOptionSelected([]);else{const i=this.searchEnabled&&this.searchInputRef?this.searchInputRef.value:void 0;this.handleOptionSelected(this.options?this.options.filter((t=>{var s;return!t.isGroupTitle&&(!i||(null===(s=t.value)||void 0===s?void 0:s.toLowerCase().includes(i.toLowerCase())))})).map((i=>{var t;return null!==(t=i.value)&&void 0!==t?t:""})):[])}}handleFocusFirstDropdownCheckbox(i){if(this.detailsRef){const t=Array.from(this.detailsRef.querySelectorAll('input[type="checkbox"],input[type="radio"]'));if(t.length){const s=t.at(0),h=s===i&&t.length>1?t.at(1):s;h&&y((()=>{h.focus()}),1)}}}handleOpenByKeyboardFocus(){if(this.detailsRef){const i=k(this.detailsRef);i?y((()=>{i.focus()}),1):this.handleFocusFirstDropdownCheckbox()}}handleSearch(i){if(void 0===i)return;let t;if("string"==typeof i)t=i;else{const s=i;s.stopPropagation(),this.search&&this.search.emit(s),t=s.target.value,this._searchValue=t}this._options=this.options&&t&&0!==t.length?this.options.filter(this.searchFilter?i=>this.searchFilter(i,t):i=>!i.isGroupTitle&&this.getOptionLabel(i).toLowerCase().includes(t.toLowerCase())):this.options}handleClearAll(i){i.stopPropagation(),this.handleOptionSelected([]),this.handleSummaryFocus()}handleSummaryFocus(){var i;this.detailsRef&&(null===(i=this.detailsRef.querySelector("summary"))||void 0===i||i.focus())}resetIds(){var i,t,s;const h=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:`custom-select-${F()}`;this._id=h,this._messageId=h+d,this._validMessageId=h+n,this._invalidMessageId=h+c,this._selectId=h+v,this._labelId=h+r,this._summaryId=h+"-summary",this._placeholderId=h+u,this._selectedLabelsId=h+"-selected-labels",this._infoTextId=h+"-info"}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let h=0;h<t.length;h++){const e=t.item(h);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))i.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)i.setAttribute(e.name,e.value),s.removeAttribute(e.name);else if(e&&"class"===e.name){const t=e.value.includes("hydrated"),h=e.value.replace("hydrated","").trim(),l=i.getAttribute("class");i.setAttribute(e.name,`${l?`${l} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(e.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){this.detailsRef&&this.detailsRef.addEventListener("focusout",(i=>this.handleClose(i)))}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const i=this._id+d;this._labelId=this._id+r,this._selectId=this._id+v,this._validMessageId=this._id+n,this._invalidMessageId=this._id+c,this._placeholderId=this._id+u,g(this.message,this.showMessage)?this.setDescById(i):this.setDescById()}}watch2(){this.watch2Fn()}watch3Fn(){var i;if(this.detailsRef){const t=this.detailsRef.querySelector("summary");t&&t.setAttribute("aria-describedby",null!==(i=this.ariaDescribedBy)&&void 0!==i?i:this._descByIds||"")}}watch3(){this.watch3Fn()}watch4Fn(){void 0!==this.showNoResults?this._hasNoOptions=this.showNoResults:this._options&&(this._hasNoOptions=0===this._options.length)}watch4(){this.watch4Fn()}watch5Fn(){var i;this.selectAllEnabled=Boolean(this.multiple&&(null!==(i=this.showSelectAll)&&void 0!==i?i:this.amountOptions>5))}watch5(){this.watch5Fn()}watch6Fn(){var i;this.searchEnabled=null!==(i=this.showSearch)&&void 0!==i?i:this.amountOptions>9}watch6(){this.watch6Fn()}watch7Fn(){var i;const t=this.values;Array.isArray(t)?this._values!==t&&(this._values=t):null==t&&0!==(null===(i=this._values)||void 0===i?void 0:i.length)&&(this._values=[])}watch7(){this.watch7Fn()}watch8Fn(){this.selectRef&&this.handleValidation()}watch8(){this.watch8Fn()}watch9Fn(){if(this.selectRef){let i=this.abortController;i||(i=new AbortController,this.abortController=i);const t=this.values;O(this.selectRef,(()=>{this.handleOptionSelected(t||(this.selectRef.value?[this.selectRef.value]:[])),this.handleValidation()}),i.signal)}}watch9(){this.watch9Fn()}watch10Fn(){this._validity=this.validation}watch10(){this.watch10Fn()}watch11Fn(){var i,t;0===(null===(i=this._values)||void 0===i?void 0:i.length)?(this.selectAllChecked=!1,this.selectAllIndeterminate=!1):(null===(t=this._values)||void 0===t?void 0:t.length)===this.amountOptions?(this.selectAllIndeterminate=!1,this.selectAllChecked=!0):this._values&&(this.selectAllIndeterminate=!0)}watch11(){this.watch11Fn()}watch12Fn(){var i,t;this._options=this.options,this.amountOptions=null!==(t=null===(i=this.options)||void 0===i?void 0:i.filter((i=>!i.isGroupTitle)).length)&&void 0!==t?t:0}watch12(){this.watch12Fn()}watch13Fn(){this._searchValue=this.searchValue,this.searchValue&&this.handleSearch(this.searchValue)}watch13(){this.watch13Fn()}watch14Fn(){var i,t;(null===(i=this.options)||void 0===i?void 0:i.length)&&(this._selectedOptions=null===(t=this.options)||void 0===t?void 0:t.filter((i=>{var t,s;return!(!i.value||!(null===(t=this._values)||void 0===t?void 0:t.includes))&&!i.isGroupTitle&&(null===(s=this._values)||void 0===s?void 0:s.includes(i.value))})))}watch14(){this.watch14Fn()}watch15Fn(){var i,t,s;if(this.selectedLabels)this._selectedLabels=this.selectedLabels;else if(null===(i=this._selectedOptions)||void 0===i?void 0:i.length){if(this.transformSelectedLabels)return void(this._selectedLabels=(0,this.transformSelectedLabels)(this._selectedOptions));this._selectedLabels="amount"===this.selectedType?this.amountText?this.amountText:`${null===(t=this._selectedOptions)||void 0===t?void 0:t.length} ${w}`:null===(s=this._selectedOptions)||void 0===s?void 0:s.map((i=>this.getOptionLabel(i))).join(", ")}else this._selectedLabels=""}watch15(){this.watch15Fn()}watch16Fn(){var i,t;this.amountChange&&this.amountChange.emit(null!==(t=null===(i=this._selectedOptions)||void 0===i?void 0:i.length)&&void 0!==t?t:0)}watch16(){this.watch16Fn()}watch17Fn(){this.selectAllRef&&(this.selectAllRef.indeterminate=Boolean(this.selectAllIndeterminate))}watch17(){this.watch17Fn()}watch18Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this.selectRef)||void 0===i?void 0:i.validationMessage)||l}watch18(){this.watch18Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-custom-select"),this.resetIds(),this._invalidMessage=this.invalidMessage||l,"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((i=>{if(this.detailsRef){const t=i.find((({target:i})=>i===this.detailsRef));t&&!t.isIntersecting&&this.detailsRef.open&&(this.detailsRef.open=!1)}}))),this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn(),this.watch6Fn(),this.watch7Fn(),this.watch8Fn(),this.watch9Fn(),this.watch10Fn(),this.watch11Fn(),this.watch12Fn(),this.watch13Fn(),this.watch14Fn(),this.watch15Fn(),this.watch16Fn(),this.watch17Fn(),this.watch18Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i,t,e,l,a,d,n,c,v,r,u,w,p,y,k;return s("div",{key:"23fbdff16d9ced63948418aa8a8bf40284fb098b",class:C("db-custom-select",this.className),id:this._id,ref:i=>{this._ref=i},"aria-invalid":"invalid"===this._validity,"data-custom-validity":this._validity,"data-width":this.formFieldWidth,"data-variant":"floating"===this.variant&&"tag"===this.selectedType&&this.multiple?"above":this.variant,"data-required":x(this.required,"required"),"data-hide-asterisk":D(this.showRequiredAsterisk),"data-placement":this.placement,"data-selected-type":this.multiple?this.selectedType:"text","data-hide-label":D(this.showLabel),"data-icon":this.icon,"data-show-icon":x(this.showIcon,"showIcon")},s("label",{key:"8ad75d1e949eba11cca0cc8d6c6e6bbcef26f66b",id:this._labelId},null!==(i=this.label)&&void 0!==i?i:o,s("select",{key:"baa3747700f7b3c68b6278fc867e381193380bbc",role:"none",hidden:!0,id:this._selectId,tabIndex:-1,ref:i=>{this.selectRef=i},form:this.form,name:this.name,"data-custom-validity":this._validity,multiple:A(this.multiple,"multiple"),disabled:A(this.disabled,"disabled"),required:A(this.required,"required"),onChange:i=>this.satisfyReact(i)},(null===(t=this.options)||void 0===t?void 0:t.length)?null===(e=this.options)||void 0===e?void 0:e.map((i=>s("option",{disabled:i.disabled,value:i.value,key:void 0},this.getOptionLabel(i)))):null)),s("details",{key:"dcb70261b5b4400566104e60611ab2f25face4e4",ref:i=>{this.detailsRef=i},open:this.open,onToggle:i=>this.handleDropdownToggle(i),onKeyDown:i=>this.handleKeyboardPress(i)},s("slot",{key:"9eeb9bd1d98bd9caa0542c8ab6343f39f7c18418"}),this.options?s(h,null,s("summary",{class:"db-custom-select-form-field",id:this._summaryId,"aria-disabled":x(this.disabled,"disabled"),tabIndex:this.disabled?-1:void 0,"aria-labelledby":this._labelId},(null===(l=this._selectedLabels)||void 0===l?void 0:l.length)?s("span",{"data-visually-hidden":x("tag"===this.selectedType,"selectedType"),id:this._selectedLabelsId},this.selectedPrefix?s("span",{"data-visually-hidden":"true"},this.selectedPrefix):null,this._selectedLabels):null,"tag"===this.selectedType?s("div",null,null===(a=this._selectedOptions)||void 0===a?void 0:a.map((i=>s("db-tag",{emphasis:"strong",behavior:"removable",removeButton:this.getTagRemoveLabel(i),onRemove:t=>this.handleTagRemove(i,t),key:void 0},this.getOptionLabel(i))))):null),s("db-custom-select-dropdown",{width:this.dropdownWidth},this.searchEnabled?s("div",null,s("db-input",{type:"search",ref:i=>{this.searchInputRef=i},name:this._id,form:this._id,showLabel:!1,value:this._searchValue,label:null!==(d=this.searchLabel)&&void 0!==d?d:o,placeholder:null!==(n=this.searchPlaceholder)&&void 0!==n?n:this.searchLabel,ariaDescribedBy:this._hasNoOptions||this.showLoading?this._infoTextId:void 0,onInput:i=>this.handleSearch(i)})):null,this._hasNoOptions||this.showLoading?s("db-infotext",{id:this._infoTextId,icon:this.showLoading?"circular_arrows":void 0,semantic:this.showLoading?"informational":"warning"},null!==(c=this.showLoading?this.loadingText:this.noResultsText)&&void 0!==c?c:b):s(h,null,this.selectAllEnabled?s("div",null,s("div",{class:"db-checkbox db-custom-select-list-item"},s("label",null,s("input",{type:"checkbox",value:"select-all",ref:i=>{this.selectAllRef=i},form:this._id,checked:this.selectAllChecked,onChange:i=>this.handleSelectAll(i)}),this.getSelectAllLabel()))):null,s("db-custom-select-list",{multiple:A(this.multiple,"multiple"),label:null!==(r=null!==(v=this.listLabel)&&void 0!==v?v:this.label)&&void 0!==r?r:o},null===(u=this._options)||void 0===u?void 0:u.map((i=>s("db-custom-select-list-item",{type:this.multiple?"checkbox":"radio",showDivider:i.showDivider,icon:i.icon,isGroupTitle:i.isGroupTitle,groupTitle:this.getOptionLabel(i),name:this._id,checked:this.getOptionChecked(i.value),disabled:i.disabled,value:i.value,onChange:()=>this.handleSelect(i.value),key:void 0},i.isGroupTitle?null:this.getOptionLabel(i)))))),s("div",null,s("db-button",{variant:"ghost",width:"full",icon:"cross",size:"small",name:this._id,form:this._id,onClick:()=>this.handleClose(void 0,!0)},null!==(w=this.mobileCloseButtonText)&&void 0!==w?w:m)))):null),(null===(p=this.showClearSelection)||void 0===p||p)&&(null===(y=this._values)||void 0===y?void 0:y.length)?s("db-button",{icon:"cross",variant:"ghost",size:"small",noText:!0,name:this._id,form:this._id,disabled:A(this.disabled,"disabled"),onClick:i=>this.handleClearAll(i)},this.clearSelectionText,s("db-tooltip",{placement:"top"},this.clearSelectionText)):null,s("span",{key:"9629df613b269cc393dc90d13fb9272652ecf300",class:"db-custom-select-placeholder","aria-hidden":"true",id:this._placeholderId},null!==(k=this.placeholder)&&void 0!==k?k:this.label),g(this.message,this.showMessage)?s("db-infotext",{size:"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?s("db-infotext",{size:"small",semantic:"successful",id:this._validMessageId},this.validMessage||f):null,s("db-infotext",{key:"682b3bf735bc32853f9a5aabc2a37e88575c5b1f",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"dee40917af4cd6d663fe0f7e42110390605f982f","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return e(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],detailsRef:[{watch1:0},{watch3:0}],_id:[{watch2:0}],_descByIds:[{watch3:0}],showNoResults:[{watch4:0}],showLoading:[{watch4:0}],_options:[{watch4:0}],showSelectAll:[{watch5:0}],amountOptions:[{watch5:0},{watch6:0},{watch11:0}],multiple:[{watch5:0}],showSearch:[{watch6:0}],values:[{watch7:0}],_values:[{watch8:0},{watch11:0},{watch14:0}],selectRef:[{watch8:0},{watch9:0},{watch18:0}],validation:[{watch10:0}],options:[{watch12:0},{watch14:0}],searchValue:[{watch13:0}],_selectedOptions:[{watch15:0},{watch16:0}],selectedType:[{watch15:0}],amountText:[{watch15:0}],selectedLabels:[{watch15:0}],transformSelectedLabels:[{watch15:0}],selectAllIndeterminate:[{watch17:0}],selectAllRef:[{watch17:0}],invalidMessage:[{watch18:0}]}}};export{T as db_custom_select}
@@ -1 +1 @@
1
- import{r as t,h as s,g as e}from"./p-Cr2cgn5B.js";import{c as d}from"./p-xkoBSP8R.js";const i=class{constructor(s){t(this,s)}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 i=s.item(d);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"),d=i.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(i.name,`${a?`${a} `:""}${d}`),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-section")}render(){var t,e;return s("section",{key:"03d6f7ed2eea5b1374d0f5be00d77e59897033ea",class:d("db-section",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-spacing":this.spacing||"medium","data-width":this.width},s("slot",{key:"55c388d7e65e9bd27dd229f01a3c162719b90df2"}))}get rootElement(){return e(this)}};export{i as db_section}
1
+ import{r as t,h as s,g as e}from"./p-BlbKvvUv.js";import{c as d}from"./p-fumiz06Y.js";const i=class{constructor(s){t(this,s)}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 i=s.item(d);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"),d=i.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(i.name,`${c?`${c} `:""}${d}`),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-custom-select-form-field")}render(){var t,e;return s("summary",{key:"29aec52d355ed2fd7f032cc70cb7fbda8e22f3ad",class:d("db-custom-select-form-field",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},s("slot",{key:"797ccea7210fbfe800a3c3c08e37b0d73690e419"}))}get rootElement(){return e(this)}};export{i as db_custom_select_form_field}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,g as a}from"./p-BlbKvvUv.js";import{g as e,e as n,c as o}from"./p-fumiz06Y.js";const d=class{constructor(i){t(this,i),this.click=s(this,"click")}getButtonType(){return this.type?this.type:this.click?"button":"submit"}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(e.name,`${n?`${n} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.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,s,a;return i("button",{key:"005e64e2244340cf9bf254ec06165704472e7920",class:o("db-button",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,type:this.getButtonType(),disabled:n(this.disabled,"disabled"),"data-icon":null!==(a=this.iconLeading)&&void 0!==a?a:this.icon,"data-show-icon":e(this.showIconLeading,"showIconLeading")||e(this.showIcon,"showIcon"),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":e(this.showIconTrailing,"showIconTrailing"),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-wrap":e(this.wrap,"wrap"),"data-no-text":e(this.noText,"noText"),name:this.name,form:this.form,value:this.value},this.text?this.text:null,i("slot",{key:"fe96078746d899588bcbb96f8229b8423f8b1a5e"}))}get rootElement(){return a(this)}};export{d as db_button}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,F as a,g as n}from"./p-Cr2cgn5B.js";import{u as o,c as e}from"./p-xkoBSP8R.js";const h=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._name="",this.initialized=!1,this.showScrollLeft=!1,this.showScrollRight=!1,this.scrollContainer=null,this._resizeObserver=void 0}convertTabs(){try{return"string"==typeof this.tabs?JSON.parse(this.tabs):this.tabs}catch(t){console.error(t)}return[]}evaluateScrollButtons(t){const i=t.scrollWidth>t.clientWidth;this.showScrollLeft=i&&t.scrollLeft>1,this.showScrollRight=i&&t.scrollLeft<t.scrollWidth-t.clientWidth}scroll(t){var i;let s=Number(this.arrowScrollDistance)||100;t&&(s*=-1),null===(i=this.scrollContainer)||void 0===i||i.scrollBy({top:0,left:s,behavior:"smooth"})}initTabList(){if(this._ref){const t=this._ref.querySelector(".db-tab-list");if(t){const i=t.querySelector('[role="tablist"]');if(i&&(i.setAttribute("aria-orientation",this.orientation||"horizontal"),"arrows"===this.behavior&&(this.scrollContainer=i,this.evaluateScrollButtons(i),i.addEventListener("scroll",(()=>{this.evaluateScrollButtons(i)})),!this._resizeObserver))){const t=new ResizeObserver((()=>{this.evaluateScrollButtons(i)}));t.observe(i),this._resizeObserver=t}}}}initTabs(t){if(this._ref){const i=Array.from(this._ref.getElementsByClassName("db-tab-item")),s=Array.from(this._ref.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));for(const a of i){const n=i.indexOf(a),o=a.querySelector("label"),e=a.querySelector("input");if(e&&o){if(!e.id){const t=`${this._name}-tab-${n}`;o.setAttribute("for",t),e.id=t,e.setAttribute("name",this._name),s.length>n&&e.setAttribute("aria-controls",`${this._name}-tab-panel-${n}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===n||Number(this.initialSelectedIndex)===n;t&&i&&e.click()}}}for(const t of s){if(t.id)continue;const i=s.indexOf(t);t.id=`${this._name}-tab-panel-${i}`,t.setAttribute("aria-labelledby",`${this._name}-tab-${i}`)}}}handleChange(t){var i;if(t.stopPropagation(),t.target){const s=t.target.parentElement;if(s&&s.parentElement&&"LI"===(null===(i=s.parentElement)||void 0===i?void 0:i.nodeName)){const i=s.parentElement.parentElement;if(i){const s=i.parentElement;if(s){const a=Array.from(s.children).indexOf(i);this.indexChange&&this.indexChange.emit(a),this.tabSelect&&this.tabSelect.emit(t)}}}}}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(),o=t.getAttribute("class");t.setAttribute(n.name,`${o?`${o} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initTabList(),this.initTabs(!0);const t=this._ref.querySelector(".db-tab-list");t&&new MutationObserver((t=>{t.forEach((t=>{(t.removedNodes.length||t.addedNodes.length)&&(this.initTabList(),this.initTabs())}))})).observe(t,{childList:!0,subtree:!0}),this.initialized=!1}}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-tabs"),this._name=`tabs-${this.name||o()}`,this.initialized=!0,this.watch0Fn()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this._resizeObserver=void 0}render(){var t,i,n,o,h,l;return s("div",{key:"71e69e614a98de1b0fe789b210815d03bcee6286",class:e("db-tabs",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,"data-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(n=this.alignment)&&void 0!==n?n:"start","data-width":null!==(o=this.width)&&void 0!==o?o:"auto",onInput:t=>this.handleChange(t),onChange:t=>this.handleChange(t)},this.showScrollLeft?s("db-button",{class:"tabs-scroll-left",variant:"ghost",icon:"chevron_left",type:"button",noText:!0,onClick:()=>this.scroll(!0)},"Scroll left"):null,this.tabs?s(a,null,s("db-tab-list",null,null===(h=this.convertTabs())||void 0===h?void 0:h.map(((t,i)=>s("db-tab-item",{key:this.name+"tab-item"+i,active:t.active,label:t.label,iconTrailing:t.iconTrailing,icon:t.icon,noText:t.noText})))),null===(l=this.convertTabs())||void 0===l?void 0:l.map(((t,i)=>s("db-tab-panel",{key:this.name+"tab-panel"+i,content:t.content},t.children)))):null,this.showScrollRight?s("db-button",{class:"tabs-scroll-right",variant:"ghost",icon:"chevron_right",type:"button",noText:!0,onClick:()=>this.scroll()},"Scroll right"):null,s("slot",{key:"2e8a007adff7051a1266f88b95419a510ce7494a"}))}get rootElement(){return n(this)}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{h as db_tabs}
1
+ import{r as t,c as i,h as s,F as a,g as n}from"./p-BlbKvvUv.js";import{u as o,c as h}from"./p-fumiz06Y.js";const e=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._name="",this.initialized=!1,this.showScrollLeft=!1,this.showScrollRight=!1,this.scrollContainer=null,this._resizeObserver=void 0}convertTabs(){try{return"string"==typeof this.tabs?JSON.parse(this.tabs):this.tabs}catch(t){console.error(t)}return[]}evaluateScrollButtons(t){const i=t.scrollWidth>t.clientWidth;this.showScrollLeft=i&&t.scrollLeft>1,this.showScrollRight=i&&t.scrollLeft<t.scrollWidth-t.clientWidth}scroll(t){var i;let s=Number(this.arrowScrollDistance)||100;t&&(s*=-1),null===(i=this.scrollContainer)||void 0===i||i.scrollBy({top:0,left:s,behavior:"smooth"})}initTabList(){if(this._ref){const t=this._ref.querySelector(".db-tab-list");if(t){const i=t.querySelector('[role="tablist"]');if(i&&(i.setAttribute("aria-orientation",this.orientation||"horizontal"),"arrows"===this.behavior&&(this.scrollContainer=i,this.evaluateScrollButtons(i),i.addEventListener("scroll",(()=>{this.evaluateScrollButtons(i)})),!this._resizeObserver))){const t=new ResizeObserver((()=>{this.evaluateScrollButtons(i)}));t.observe(i),this._resizeObserver=t}}}}initTabs(t){if(this._ref){const i=Array.from(this._ref.getElementsByClassName("db-tab-item")),s=Array.from(this._ref.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));for(const a of i){const n=i.indexOf(a),o=a.querySelector("label"),h=a.querySelector("input");if(h&&o){if(!h.id){const t=`${this._name}-tab-${n}`;o.setAttribute("for",t),h.id=t,h.setAttribute("name",this._name),s.length>n&&h.setAttribute("aria-controls",`${this._name}-tab-panel-${n}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===n||Number(this.initialSelectedIndex)===n;t&&i&&h.click()}}}for(const t of s){if(t.id)continue;const i=s.indexOf(t);t.id=`${this._name}-tab-panel-${i}`,t.setAttribute("aria-labelledby",`${this._name}-tab-${i}`)}}}handleChange(t){var i;if(t.stopPropagation(),t.target){const s=t.target.parentElement;if(s&&s.parentElement&&"LI"===(null===(i=s.parentElement)||void 0===i?void 0:i.nodeName)){const i=s.parentElement.parentElement;if(i){const s=i.parentElement;if(s){const a=Array.from(s.children).indexOf(i);this.indexChange&&this.indexChange.emit(a),this.tabSelect&&this.tabSelect.emit(t)}}}}}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(),o=t.getAttribute("class");t.setAttribute(n.name,`${o?`${o} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initTabList(),this.initTabs(!0);const t=this._ref.querySelector(".db-tab-list");t&&new MutationObserver((t=>{t.forEach((t=>{(t.removedNodes.length||t.addedNodes.length)&&(this.initTabList(),this.initTabs())}))})).observe(t,{childList:!0,subtree:!0}),this.initialized=!1}}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-tabs"),this._name=`tabs-${this.name||o()}`,this.initialized=!0,this.watch0Fn()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this._resizeObserver=void 0}render(){var t,i,n,o,e,l;return s("div",{key:"7f8b9180b865394204747aa762291857513af90c",class:h("db-tabs",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,"data-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(n=this.alignment)&&void 0!==n?n:"start","data-width":null!==(o=this.width)&&void 0!==o?o:"auto",onInput:t=>this.handleChange(t),onChange:t=>this.handleChange(t)},this.showScrollLeft?s("db-button",{class:"tabs-scroll-left",variant:"ghost",icon:"chevron_left",type:"button",noText:!0,onClick:()=>this.scroll(!0)},"Scroll left"):null,this.tabs?s(a,null,s("db-tab-list",null,null===(e=this.convertTabs())||void 0===e?void 0:e.map(((t,i)=>s("db-tab-item",{key:this.name+"tab-item"+i,active:t.active,label:t.label,iconTrailing:t.iconTrailing,icon:t.icon,noText:t.noText})))),null===(l=this.convertTabs())||void 0===l?void 0:l.map(((t,i)=>s("db-tab-panel",{key:this.name+"tab-panel"+i,content:t.content},t.children)))):null,this.showScrollRight?s("db-button",{class:"tabs-scroll-right",variant:"ghost",icon:"chevron_right",type:"button",noText:!0,onClick:()=>this.scroll()},"Scroll right"):null,s("slot",{key:"a2833021bf993cf6aa130c9295f78b831c8d888e"}))}get rootElement(){return n(this)}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{e as db_tabs}
@@ -0,0 +1 @@
1
+ const n=()=>{var n,e;if("undefined"!=typeof window){if(null===(n=window.crypto)||void 0===n?void 0:n.randomUUID)return window.crypto.randomUUID();if(null===(e=window.crypto)||void 0===e?void 0:e.getRandomValues)return window.crypto.getRandomValues(new Uint32Array(3)).join("-")}return Math.random().toString().substring(2)},e=(n,i)=>{Object.values(n.children).forEach((n=>{n.setAttribute(i.key,i.value),n.children.length>0&&e(n,i)}))},i=(...n)=>{let e="";for(const i of n)if(i)if("string"==typeof i)e+=`${i} `;else for(const n in i)i[n]&&(e+=`${n} `);return e.trim()},r=n=>Array.isArray(n)&&n.every((n=>"string"==typeof n)),t=["Mac","iPhone","iPad","iPod"],a=()=>"undefined"!=typeof window&&t.some((n=>window.navigator.userAgent.includes(n))),o=()=>{if("undefined"==typeof window||"undefined"==typeof navigator)return!1;const n=navigator.userAgent,e=/iP(ad|hone|od)/.test(n),i=!!n.match(/Safari/)&&!n.match(/CriOS|FxiOS|OPiOS|EdgiOS/);return e&&i},u=(n,e)=>new Promise((()=>setTimeout(n,e))),s=(n,e)=>{if(null!=n)return String("string"==typeof n?""===n||"true"===n||(null==e?void 0:e.toLowerCase())===n.toLowerCase():n)},l=(n,e)=>{if(null!=n)return"string"==typeof n?Boolean(""===n||"true"===n||(null==e?void 0:e.toLowerCase())===n.toLowerCase()):Boolean(n)},f=(n,e)=>{if(null!=n||null!=e)return Number(null!=n?n:e)},d=n=>{if(null!=n)return"any"===n?"any":Number(n)},w=(n,e)=>e&&["number","range"].includes(e)?f(n):n,c=n=>"string"==typeof n?"false"!==n:n,v=n=>{if(null!=n)return s(!c(n),"show")},y=(n,e)=>void 0===e?!!n:c(e)&&Boolean(n),p=n=>n.querySelector('input[type="search"]'),g=(e,i)=>{var r,t;return`${i}${null!==(t=null!==(r=e.id)&&void 0!==r?r:e.value)&&void 0!==t?t:n()}`},m=n=>void 0!==n.key,h=({semantic:n,role:e,ariaLive:i})=>{if(e)return e;if(i)return"article";switch(n){case"critical":case"warning":return"alert";case"informational":case"successful":return"status";default:return"article"}};export{e as a,o as b,i as c,u as d,l as e,f,s as g,a as h,r as i,d as j,w as k,v as l,p as m,g as n,m as o,h as p,y as s,n as u}
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
- import { e as getBoolean, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BlbKvvUv.js';
2
+ import { e as getBoolean, g as getBooleanAsString, c as cls } from './index-fumiz06Y.js';
3
3
 
4
4
  const DBAccordionItem = class {
5
5
  constructor(hostRef) {
@@ -107,9 +107,9 @@ const DBAccordionItem = class {
107
107
  }
108
108
  render() {
109
109
  var _a, _b;
110
- return (h("li", { key: '7bfcb3c0b3bc70446504054b267ad2747a7360ef', class: 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 }, h("details", { key: '18345f01252d5c48e3e22b0f9fa7258afb2aa77b', "aria-disabled": getBooleanAsString(this.disabled), ref: (el) => {
110
+ return (h("li", { key: '4211e7bbbe6cfb021a24f379e3b196380e649b6b', class: 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 }, h("details", { key: 'b079afb27059b99afedb063ec731df6785080a96', "aria-disabled": getBooleanAsString(this.disabled, "disabled"), ref: (el) => {
111
111
  this._ref = el;
112
- }, name: this._name, open: this._open }, h("summary", { key: '8ce63298f1899cbe77d1eda2a71135aa74e9049d', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? h("slot", { name: "headline" }) : null), h("div", { key: '3b2275eba655b47e08af48d0fd49e68e7cd40a4a' }, this.text ? this.text : null, h("slot", { key: '52caf8709e1f54d69ad7433365146565609248ac' })))));
112
+ }, name: this._name, open: this._open }, h("summary", { key: '88622665136410bd54644e980909b998b48002fb', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? h("slot", { name: "headline" }) : null), h("div", { key: '4634317ee78aa4a07da21334c5ca4635f1540ed5' }, this.text ? this.text : null, h("slot", { key: 'ca7bb5de8f7c0222c708d29c1f189cb0cd719553' })))));
113
113
  }
114
114
  get rootElement() { return getElement(this); }
115
115
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
- import { u as uuid, c as cls } from './index-xkoBSP8R.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BlbKvvUv.js';
2
+ import { u as uuid, c as cls } from './index-fumiz06Y.js';
3
3
 
4
4
  const DBAccordion = class {
5
5
  constructor(hostRef) {
@@ -134,7 +134,7 @@ const DBAccordion = class {
134
134
  }
135
135
  render() {
136
136
  var _a, _b, _c;
137
- return (h("ul", { key: 'd6927b05c169addaea604a2f5eb225017ee6973c', class: cls("db-accordion", this.className), ref: (el) => {
137
+ return (h("ul", { key: '400ed83c47dea1ff19bd9d02e9c6a6338ea9c001', class: cls("db-accordion", this.className), ref: (el) => {
138
138
  this._ref = el;
139
139
  }, 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 ? h("slot", null) : null, this.items
140
140
  ? (_c = this.convertItems()) === null || _c === void 0 ? void 0 : _c.map((item, index) => (h("db-accordion-item", { key: `accordion-item-${index}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BlbKvvUv.js';
2
2
  import { a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
- import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
+ import { g as getBooleanAsString, c as cls } from './index-fumiz06Y.js';
4
4
 
5
5
  const DBBadge = class {
6
6
  constructor(hostRef) {
@@ -74,9 +74,9 @@ const DBBadge = class {
74
74
  }
75
75
  render() {
76
76
  var _a, _b, _c, _d;
77
- return (h("span", { key: 'ff0187a460e59a023d8a6267b0e12ee7ec3d5283', class: cls("db-badge", this.className), ref: (el) => {
77
+ return (h("span", { key: '2a50a8228391b9faec650199f285dfbe943017b1', class: cls("db-badge", this.className), ref: (el) => {
78
78
  this._ref = el;
79
- }, 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": 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 : DEFAULT_LABEL) }, this.text ? this.text : null, h("slot", { key: 'e74eadd9e63a3c4de30d59936cdf08cd4b127ac1' })));
79
+ }, 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": getBooleanAsString(this.wrap, "wrap"), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : DEFAULT_LABEL) }, this.text ? this.text : null, h("slot", { key: '0b8d3a53d7e6b786e554d31462ad0585668f4331' })));
80
80
  }
81
81
  get rootElement() { return getElement(this); }
82
82
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BlbKvvUv.js';
2
2
  import { q as DEFAULT_ICON } from './constants-BdL-nI5y.js';
3
- import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
+ import { g as getBooleanAsString, c as cls } from './index-fumiz06Y.js';
4
4
 
5
5
  const DBBrand = class {
6
6
  constructor(hostRef) {
@@ -53,9 +53,9 @@ const DBBrand = class {
53
53
  }
54
54
  render() {
55
55
  var _a, _b, _c;
56
- return (h("div", { key: '7695d23f214566e142e43ffba27403680f9af668', class: cls("db-brand", this.className), ref: (el) => {
56
+ return (h("div", { key: 'b9c685aae760ad32837d1f5474b1c4dde2da2ed4', class: cls("db-brand", this.className), ref: (el) => {
57
57
  this._ref = el;
58
- }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : DEFAULT_ICON, "data-show-icon": getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, h("slot", { key: '8c0e42e72b53a0417274170d7785cc93392e5c1c' }), this.text ? this.text : null));
58
+ }, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : DEFAULT_ICON, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon"), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, h("slot", { key: '8ae75c438c11b07f064697611914978be5b6b765' }), this.text ? this.text : null));
59
59
  }
60
60
  get rootElement() { return getElement(this); }
61
61
  };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
- import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BlbKvvUv.js';
2
+ import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-fumiz06Y.js';
3
3
 
4
4
  const DBButton = class {
5
5
  constructor(hostRef) {
@@ -61,10 +61,11 @@ const DBButton = class {
61
61
  this.enableAttributePassing(this._ref, "db-button");
62
62
  }
63
63
  render() {
64
- var _a, _b, _c, _d;
65
- return (h("button", { key: 'ca13a30fcf43bcd6e043e3dc2bbcb94eb3347450', class: cls("db-button", this.className), ref: (el) => {
64
+ var _a, _b, _c;
65
+ return (h("button", { key: '005e64e2244340cf9bf254ec06165704472e7920', class: cls("db-button", this.className), ref: (el) => {
66
66
  this._ref = el;
67
- }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": getBooleanAsString(this.wrap), "data-no-text": getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, h("slot", { key: '1f0aee6d7db3187db5575729569bfdd4c88c0e19' })));
67
+ }, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString(this.showIconLeading, "showIconLeading") ||
68
+ getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": getBooleanAsString(this.wrap, "wrap"), "data-no-text": getBooleanAsString(this.noText, "noText"), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, h("slot", { key: 'fe96078746d899588bcbb96f8229b8423f8b1a5e' })));
68
69
  }
69
70
  get rootElement() { return getElement(this); }
70
71
  };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
2
- import { c as cls } from './index-xkoBSP8R.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BlbKvvUv.js';
2
+ import { c as cls } from './index-fumiz06Y.js';
3
3
 
4
4
  const DBCard = class {
5
5
  constructor(hostRef) {
@@ -58,9 +58,9 @@ const DBCard = class {
58
58
  }
59
59
  render() {
60
60
  var _a, _b;
61
- return (h("div", { key: '60e504447aed35763e41cf692507e28c4da6e893', class: cls("db-card", this.className), ref: (el) => {
61
+ return (h("div", { key: '24dfc836fc2ca48b141001fa073c204ae8452b3a', class: cls("db-card", this.className), ref: (el) => {
62
62
  this._ref = el;
63
- }, 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) }, h("slot", { key: '92301dedc9ece7f5b2bcbd5da726d402af788b31' })));
63
+ }, 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) }, h("slot", { key: '99ad6ae87aba0214e1226bebd28f06d854ce9c65' })));
64
64
  }
65
65
  get rootElement() { return getElement(this); }
66
66
  };
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BlbKvvUv.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-BdL-nI5y.js';
3
- import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
- import { a as addCheckedResetEventListener } from './form-components-D6LQfJvq.js';
3
+ import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, l as getHideProp, c as cls } from './index-fumiz06Y.js';
4
+ import { a as addCheckedResetEventListener } from './form-components-ZV7IN0oG.js';
5
5
 
6
6
  const DBCheckbox = class {
7
7
  constructor(hostRef) {
@@ -214,9 +214,9 @@ const DBCheckbox = class {
214
214
  }
215
215
  render() {
216
216
  var _a;
217
- return (h("div", { key: 'b4aa2acb183c25424a4c670c699410d7f8e67ad1', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '549e995c2d8c8105d086ad957d0141d802aa3e55', htmlFor: this._id }, h("input", { key: 'e2454be60370d672b523d9fd2efb422a7072d763', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
217
+ return (h("div", { key: '9bead8d138ba6b7f9df456409c54880035d74ca3', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: 'f2d598b2c599ae1fdc61eb8a948b27a13b6059fe', htmlFor: this._id }, h("input", { key: '876cfc8632a429764fac5722513dbe418025dfdb', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
218
218
  this._ref = el;
219
- }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: 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, h("slot", { key: 'ce083db15ea772a5dd3fdf5e6a7c815029922b13' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'bde204976a10d8d7f54300c7b465a23e9492bcf3', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '7a8fe737edfae78c380f572b2cf5cec88fbd8edf', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
219
+ }, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: 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, h("slot", { key: '32113165d250fd649d6e94d7721cbc152da104c1' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '459d930b5908b6e61ad7bcc463b5b67e710bddc5', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'cfcb23cc6fc53a5f82e56f83b1a9fffb279f0c67', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
220
220
  }
221
221
  get rootElement() { return getElement(this); }
222
222
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
2
- import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BlbKvvUv.js';
2
+ import { g as getBooleanAsString, c as cls } from './index-fumiz06Y.js';
3
3
 
4
4
  const DBCustomButton = class {
5
5
  constructor(hostRef) {
@@ -51,10 +51,11 @@ const DBCustomButton = class {
51
51
  this.enableAttributePassing(this._ref, "db-custom-button");
52
52
  }
53
53
  render() {
54
- var _a, _b, _c, _d;
55
- return (h("div", { key: 'ea6221c001dbf13b6e1d49cbf6b87b195c24a5d0', class: cls("db-custom-button", this.className), ref: (el) => {
54
+ var _a, _b, _c;
55
+ return (h("div", { key: 'e947d7ffe6705c03ca3a1f9b5126c0f0d9449829', class: cls("db-custom-button", this.className), ref: (el) => {
56
56
  this._ref = el;
57
- }, 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": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText) }, h("slot", { key: '19220453bcb2323b8c540d60a1d12b85e0c07f4d' })));
57
+ }, 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": getBooleanAsString(this.showIconLeading, "showIconLeading") ||
58
+ getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText, "noText") }, h("slot", { key: '126520ddf6d2582fab1a1083c6241f868f3520d2' })));
58
59
  }
59
60
  get rootElement() { return getElement(this); }
60
61
  };