@db-ux/wc-core-components 4.10.2 → 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 (336) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/bundle/db-accordion-item.js +1 -1
  3. package/bundle/db-accordion.js +1 -1
  4. package/bundle/db-badge.js +1 -1
  5. package/bundle/db-brand.js +1 -1
  6. package/bundle/db-button.js +1 -1
  7. package/bundle/db-card.js +1 -1
  8. package/bundle/db-checkbox.js +1 -1
  9. package/bundle/db-custom-button.js +1 -1
  10. package/bundle/db-custom-select-dropdown.js +1 -1
  11. package/bundle/db-custom-select-form-field.js +1 -1
  12. package/bundle/db-custom-select-list-item.js +1 -1
  13. package/bundle/db-custom-select-list.js +1 -1
  14. package/bundle/db-custom-select.js +1 -1
  15. package/bundle/db-divider.js +1 -1
  16. package/bundle/db-drawer.js +1 -1
  17. package/bundle/db-header.js +1 -1
  18. package/bundle/db-icon.js +1 -1
  19. package/bundle/db-infotext.js +1 -1
  20. package/bundle/db-input.js +1 -1
  21. package/bundle/db-link.js +1 -1
  22. package/bundle/db-navigation-item.js +1 -1
  23. package/bundle/db-navigation.js +1 -1
  24. package/bundle/db-notification.js +1 -1
  25. package/bundle/db-page.js +1 -1
  26. package/bundle/db-popover.js +1 -1
  27. package/bundle/db-radio.js +1 -1
  28. package/bundle/db-section.js +1 -1
  29. package/bundle/db-select.js +1 -1
  30. package/bundle/db-stack.js +1 -1
  31. package/bundle/db-switch.js +1 -1
  32. package/bundle/db-tab-item.js +1 -1
  33. package/bundle/db-tab-list.js +1 -1
  34. package/bundle/db-tab-panel.js +1 -1
  35. package/bundle/db-table-body.d.ts +11 -0
  36. package/bundle/db-table-body.js +1 -0
  37. package/bundle/db-table-caption.d.ts +11 -0
  38. package/bundle/db-table-caption.js +1 -0
  39. package/bundle/db-table-data-cell.d.ts +11 -0
  40. package/bundle/db-table-data-cell.js +1 -0
  41. package/bundle/db-table-footer.d.ts +11 -0
  42. package/bundle/db-table-footer.js +1 -0
  43. package/bundle/db-table-head.d.ts +11 -0
  44. package/bundle/db-table-head.js +1 -0
  45. package/bundle/db-table-header-cell.d.ts +11 -0
  46. package/bundle/db-table-header-cell.js +1 -0
  47. package/bundle/db-table-row.d.ts +11 -0
  48. package/bundle/db-table-row.js +1 -0
  49. package/bundle/db-table.d.ts +11 -0
  50. package/bundle/db-table.js +1 -0
  51. package/bundle/db-tabs.js +1 -1
  52. package/bundle/db-tag.js +1 -1
  53. package/bundle/db-textarea.js +1 -1
  54. package/bundle/db-tooltip.js +1 -1
  55. package/bundle/index.js +1 -1
  56. package/bundle/{p-BGVLpaFn.js → p-B5ANMEnQ.js} +1 -1
  57. package/bundle/p-BJwvv-yT.js +1 -0
  58. package/bundle/{p-B5E_0kTi.js → p-BNiKxu3y.js} +1 -1
  59. package/bundle/p-B_bPnncM.js +1 -0
  60. package/bundle/p-BnLhi6Lz.js +1 -0
  61. package/bundle/p-BrBlnLrn.js +1 -0
  62. package/bundle/p-CByFfoSH.js +1 -0
  63. package/bundle/{p-LbPYp2oP.js → p-CQo0C7QE.js} +1 -1
  64. package/bundle/p-CR2ZbfYe.js +1 -0
  65. package/bundle/p-CYYSsu3p.js +1 -0
  66. package/bundle/p-CeDu282h.js +1 -0
  67. package/bundle/p-CfLPOLHz.js +1 -0
  68. package/bundle/p-CoOxyQb2.js +1 -0
  69. package/bundle/p-CqED0CfD.js +1 -0
  70. package/bundle/p-Cr_z1Jfi.js +1 -0
  71. package/bundle/{p-DisehhY5.js → p-D-XzX0R7.js} +1 -1
  72. package/{dist/db-ux/p-D5mInaY7.js → bundle/p-D6L0n3gO.js} +1 -1
  73. package/bundle/p-DJTpgiBy.js +1 -0
  74. package/bundle/p-DMSIvqcA.js +1 -0
  75. package/bundle/p-DUiroUyR.js +1 -0
  76. package/bundle/p-DdyMClpj.js +1 -0
  77. package/bundle/p-DjVjS2Tb.js +1 -0
  78. package/bundle/p-in4Kv88F.js +1 -0
  79. package/dist/cjs/db-accordion-item.cjs.entry.js +4 -4
  80. package/dist/cjs/db-accordion.cjs.entry.js +3 -3
  81. package/dist/cjs/db-badge.cjs.entry.js +4 -4
  82. package/dist/cjs/db-brand.cjs.entry.js +4 -4
  83. package/dist/cjs/db-button.cjs.entry.js +6 -5
  84. package/dist/cjs/db-card.cjs.entry.js +4 -4
  85. package/dist/cjs/db-checkbox.cjs.entry.js +5 -5
  86. package/dist/cjs/db-custom-button.cjs.entry.js +6 -5
  87. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +18 -17
  88. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
  89. package/dist/cjs/db-custom-select.cjs.entry.js +10 -10
  90. package/dist/cjs/db-divider.cjs.entry.js +3 -3
  91. package/dist/cjs/db-drawer.cjs.entry.js +5 -5
  92. package/dist/cjs/db-header.cjs.entry.js +4 -4
  93. package/dist/cjs/db-icon.cjs.entry.js +4 -4
  94. package/dist/cjs/db-infotext.cjs.entry.js +4 -4
  95. package/dist/cjs/db-link_4.cjs.entry.js +248 -0
  96. package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
  97. package/dist/cjs/db-navigation.cjs.entry.js +4 -4
  98. package/dist/cjs/db-notification.cjs.entry.js +4 -4
  99. package/dist/cjs/db-page.cjs.entry.js +4 -4
  100. package/dist/cjs/db-popover.cjs.entry.js +5 -5
  101. package/dist/cjs/db-radio.cjs.entry.js +5 -5
  102. package/dist/cjs/db-section.cjs.entry.js +4 -4
  103. package/dist/cjs/db-select.cjs.entry.js +6 -6
  104. package/dist/cjs/db-stack.cjs.entry.js +4 -4
  105. package/dist/cjs/db-switch.cjs.entry.js +5 -5
  106. package/dist/cjs/db-tab-item_3.cjs.entry.js +12 -11
  107. package/dist/cjs/db-table-body_3.cjs.entry.js +194 -0
  108. package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +7 -8
  109. package/dist/cjs/db-table.cjs.entry.js +158 -0
  110. package/dist/cjs/db-tabs.cjs.entry.js +4 -4
  111. package/dist/cjs/db-textarea.cjs.entry.js +5 -5
  112. package/dist/cjs/db-tooltip.cjs.entry.js +5 -5
  113. package/dist/cjs/db-ux.cjs.js +2 -2
  114. package/dist/cjs/{document-click-listener-B2-xKJv3.js → document-click-listener-DdNXbErU.js} +1 -1
  115. package/dist/cjs/{document-scroll-listener-ChQ7XZRk.js → document-scroll-listener-CvAZ6uPr.js} +1 -1
  116. package/dist/cjs/{form-components-_ncB_U2D.js → form-components-CmQlkARp.js} +1 -1
  117. package/dist/cjs/{index-HN8AqU2e.js → index-C313bRqJ.js} +21 -0
  118. package/dist/cjs/{index-2_9ESkQu.js → index-spuu3sXz.js} +13 -8
  119. package/dist/cjs/index.cjs.js +23 -4
  120. package/dist/cjs/loader.cjs.js +2 -2
  121. package/dist/collection/collection-manifest.json +8 -0
  122. package/dist/collection/components/accordion/accordion.js +1 -1
  123. package/dist/collection/components/accordion-item/accordion-item.js +2 -2
  124. package/dist/collection/components/badge/badge.js +2 -2
  125. package/dist/collection/components/brand/brand.js +3 -3
  126. package/dist/collection/components/button/button.js +7 -6
  127. package/dist/collection/components/card/card.js +2 -2
  128. package/dist/collection/components/checkbox/checkbox.js +3 -3
  129. package/dist/collection/components/custom-button/custom-button.js +7 -6
  130. package/dist/collection/components/custom-select/custom-select.js +7 -7
  131. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
  132. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
  133. package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
  134. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +3 -3
  135. package/dist/collection/components/divider/divider.js +1 -1
  136. package/dist/collection/components/drawer/drawer.js +3 -3
  137. package/dist/collection/components/header/header.js +2 -2
  138. package/dist/collection/components/icon/icon.js +3 -3
  139. package/dist/collection/components/infotext/infotext.js +3 -3
  140. package/dist/collection/components/input/input.js +11 -10
  141. package/dist/collection/components/link/link.js +2 -2
  142. package/dist/collection/components/navigation/navigation.js +2 -2
  143. package/dist/collection/components/navigation-item/navigation-item.js +3 -3
  144. package/dist/collection/components/notification/notification.js +3 -3
  145. package/dist/collection/components/page/page.js +2 -2
  146. package/dist/collection/components/popover/popover.js +2 -2
  147. package/dist/collection/components/radio/radio.js +2 -2
  148. package/dist/collection/components/section/section.js +2 -2
  149. package/dist/collection/components/select/select.js +5 -5
  150. package/dist/collection/components/stack/stack.js +2 -2
  151. package/dist/collection/components/switch/switch.js +6 -6
  152. package/dist/collection/components/tab-item/tab-item.js +9 -8
  153. package/dist/collection/components/tab-list/tab-list.js +2 -2
  154. package/dist/collection/components/tab-panel/tab-panel.js +2 -2
  155. package/dist/collection/components/table/examples/data.js +258 -0
  156. package/dist/collection/components/table/index.js +2 -0
  157. package/dist/collection/components/table/model.js +6 -0
  158. package/dist/collection/components/table/table.js +478 -0
  159. package/dist/collection/components/table-body/index.js +2 -0
  160. package/dist/collection/components/table-body/model.js +1 -0
  161. package/dist/collection/components/table-body/table-body.js +144 -0
  162. package/dist/collection/components/table-caption/index.js +2 -0
  163. package/dist/collection/components/table-caption/model.js +1 -0
  164. package/dist/collection/components/table-caption/table-caption.js +116 -0
  165. package/dist/collection/components/table-data-cell/index.js +2 -0
  166. package/dist/collection/components/table-data-cell/model.js +1 -0
  167. package/dist/collection/components/table-data-cell/table-data-cell.js +298 -0
  168. package/dist/collection/components/table-footer/index.js +2 -0
  169. package/dist/collection/components/table-footer/model.js +1 -0
  170. package/dist/collection/components/table-footer/table-footer.js +144 -0
  171. package/dist/collection/components/table-head/index.js +2 -0
  172. package/dist/collection/components/table-head/model.js +1 -0
  173. package/dist/collection/components/table-head/table-head.js +147 -0
  174. package/dist/collection/components/table-header-cell/index.js +2 -0
  175. package/dist/collection/components/table-header-cell/model.js +1 -0
  176. package/dist/collection/components/table-header-cell/table-header-cell.js +376 -0
  177. package/dist/collection/components/table-row/index.js +2 -0
  178. package/dist/collection/components/table-row/model.js +1 -0
  179. package/dist/collection/components/table-row/table-row.js +202 -0
  180. package/dist/collection/components/tabs/tabs.js +2 -2
  181. package/dist/collection/components/tag/tag.js +3 -3
  182. package/dist/collection/components/textarea/textarea.js +3 -3
  183. package/dist/collection/components/tooltip/tooltip.js +2 -2
  184. package/dist/collection/index.js +16 -0
  185. package/dist/collection/shared/model.js +1 -1
  186. package/dist/collection/utils/index.js +13 -8
  187. package/dist/custom-elements.json +6998 -3826
  188. package/dist/db-ux/db-ux.esm.js +1 -1
  189. package/dist/db-ux/index.esm.js +1 -1
  190. package/dist/db-ux/{p-2461e08a.entry.js → p-08271c80.entry.js} +1 -1
  191. package/dist/db-ux/{p-0f524f6c.entry.js → p-105ffa74.entry.js} +1 -1
  192. package/dist/db-ux/p-15adca91.entry.js +1 -0
  193. package/dist/db-ux/{p-db71c251.entry.js → p-1a322a0c.entry.js} +1 -1
  194. package/dist/db-ux/{p-46e3033b.entry.js → p-1f7232c0.entry.js} +1 -1
  195. package/dist/db-ux/p-27e2f6f2.entry.js +1 -0
  196. package/dist/db-ux/p-2907f214.entry.js +1 -0
  197. package/dist/db-ux/p-2ff958e4.entry.js +1 -0
  198. package/dist/db-ux/p-3423b7af.entry.js +1 -0
  199. package/dist/db-ux/p-365e6edf.entry.js +1 -0
  200. package/dist/db-ux/{p-fd334f14.entry.js → p-42516007.entry.js} +1 -1
  201. package/dist/db-ux/p-5045182c.entry.js +1 -0
  202. package/dist/db-ux/{p-26b7e21f.entry.js → p-5e1d42e5.entry.js} +1 -1
  203. package/dist/db-ux/{p-94de5791.entry.js → p-61b28212.entry.js} +1 -1
  204. package/dist/db-ux/p-6850a53c.entry.js +1 -0
  205. package/dist/db-ux/p-6bff55b4.entry.js +1 -0
  206. package/dist/db-ux/p-6e7c5e42.entry.js +1 -0
  207. package/dist/db-ux/p-76adf385.entry.js +1 -0
  208. package/dist/db-ux/p-78f7b353.entry.js +1 -0
  209. package/dist/db-ux/p-7fa5d304.entry.js +1 -0
  210. package/dist/db-ux/p-95b69e71.entry.js +1 -0
  211. package/dist/db-ux/p-99ebe6ec.entry.js +1 -0
  212. package/dist/db-ux/p-BihrW11j.js +1 -0
  213. package/dist/db-ux/p-BlbKvvUv.js +2 -0
  214. package/{bundle/p-BLyvxOmU.js → dist/db-ux/p-BtImZ8Nt.js} +1 -1
  215. package/dist/db-ux/p-OOIf-5XP.js +1 -0
  216. package/dist/db-ux/p-a5dc355d.entry.js +1 -0
  217. package/dist/db-ux/{p-4d5201a3.entry.js → p-a6113789.entry.js} +1 -1
  218. package/dist/db-ux/p-b9c0feaf.entry.js +1 -0
  219. package/dist/db-ux/p-c14fa91a.entry.js +1 -0
  220. package/dist/db-ux/p-c65b807e.entry.js +1 -0
  221. package/dist/db-ux/{p-d173eace.entry.js → p-dd9cedbe.entry.js} +1 -1
  222. package/dist/db-ux/{p-652739e4.entry.js → p-e3f705fd.entry.js} +1 -1
  223. package/dist/db-ux/{p-5eae34e7.entry.js → p-e4cddc9f.entry.js} +1 -1
  224. package/dist/db-ux/p-e7a8612c.entry.js +1 -0
  225. package/dist/db-ux/{p-4c3a8823.entry.js → p-ee8c3243.entry.js} +1 -1
  226. package/dist/db-ux/p-f0d0acfc.entry.js +1 -0
  227. package/dist/db-ux/{p-e2740857.entry.js → p-f15748ea.entry.js} +1 -1
  228. package/dist/db-ux/p-fumiz06Y.js +1 -0
  229. package/dist/esm/db-accordion-item.entry.js +4 -4
  230. package/dist/esm/db-accordion.entry.js +3 -3
  231. package/dist/esm/db-badge.entry.js +4 -4
  232. package/dist/esm/db-brand.entry.js +4 -4
  233. package/dist/esm/db-button.entry.js +6 -5
  234. package/dist/esm/db-card.entry.js +4 -4
  235. package/dist/esm/db-checkbox.entry.js +5 -5
  236. package/dist/esm/db-custom-button.entry.js +6 -5
  237. package/dist/esm/db-custom-select-dropdown_5.entry.js +18 -17
  238. package/dist/esm/db-custom-select-form-field.entry.js +4 -4
  239. package/dist/esm/db-custom-select.entry.js +10 -10
  240. package/dist/esm/db-divider.entry.js +3 -3
  241. package/dist/esm/db-drawer.entry.js +5 -5
  242. package/dist/esm/db-header.entry.js +4 -4
  243. package/dist/esm/db-icon.entry.js +4 -4
  244. package/dist/esm/db-infotext.entry.js +4 -4
  245. package/dist/esm/db-link_4.entry.js +243 -0
  246. package/dist/esm/db-navigation-item.entry.js +4 -4
  247. package/dist/esm/db-navigation.entry.js +4 -4
  248. package/dist/esm/db-notification.entry.js +4 -4
  249. package/dist/esm/db-page.entry.js +4 -4
  250. package/dist/esm/db-popover.entry.js +5 -5
  251. package/dist/esm/db-radio.entry.js +5 -5
  252. package/dist/esm/db-section.entry.js +4 -4
  253. package/dist/esm/db-select.entry.js +6 -6
  254. package/dist/esm/db-stack.entry.js +4 -4
  255. package/dist/esm/db-switch.entry.js +5 -5
  256. package/dist/esm/db-tab-item_3.entry.js +12 -11
  257. package/dist/esm/db-table-body_3.entry.js +190 -0
  258. package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +7 -8
  259. package/dist/esm/db-table.entry.js +156 -0
  260. package/dist/esm/db-tabs.entry.js +4 -4
  261. package/dist/esm/db-textarea.entry.js +5 -5
  262. package/dist/esm/db-tooltip.entry.js +5 -5
  263. package/dist/esm/db-ux.js +3 -3
  264. package/dist/esm/{document-click-listener-D7W_VE5O.js → document-click-listener-9wJfRcvz.js} +1 -1
  265. package/dist/esm/{document-scroll-listener-DOBe3Oa9.js → document-scroll-listener-4F0ZAg9p.js} +1 -1
  266. package/dist/esm/{form-components-D6LQfJvq.js → form-components-ZV7IN0oG.js} +1 -1
  267. package/dist/esm/{index-BGaQ0Bx8.js → index-BlbKvvUv.js} +21 -0
  268. package/dist/esm/{index-xkoBSP8R.js → index-fumiz06Y.js} +13 -8
  269. package/dist/esm/index.js +16 -5
  270. package/dist/esm/loader.js +3 -3
  271. package/dist/types/components/table/examples/data.d.ts +9 -0
  272. package/dist/types/components/table/index.d.ts +2 -0
  273. package/dist/types/components/table/model.d.ts +74 -0
  274. package/dist/types/components/table/table.d.ts +38 -0
  275. package/dist/types/components/table-body/index.d.ts +2 -0
  276. package/dist/types/components/table-body/model.d.ts +8 -0
  277. package/dist/types/components/table-body/table-body.d.ts +20 -0
  278. package/dist/types/components/table-caption/index.d.ts +2 -0
  279. package/dist/types/components/table-caption/model.d.ts +5 -0
  280. package/dist/types/components/table-caption/table-caption.d.ts +19 -0
  281. package/dist/types/components/table-data-cell/index.d.ts +2 -0
  282. package/dist/types/components/table-data-cell/model.d.ts +5 -0
  283. package/dist/types/components/table-data-cell/table-data-cell.d.ts +26 -0
  284. package/dist/types/components/table-footer/index.d.ts +2 -0
  285. package/dist/types/components/table-footer/model.d.ts +8 -0
  286. package/dist/types/components/table-footer/table-footer.d.ts +20 -0
  287. package/dist/types/components/table-head/index.d.ts +2 -0
  288. package/dist/types/components/table-head/model.d.ts +10 -0
  289. package/dist/types/components/table-head/table-head.d.ts +59 -0
  290. package/dist/types/components/table-header-cell/index.d.ts +2 -0
  291. package/dist/types/components/table-header-cell/model.d.ts +24 -0
  292. package/dist/types/components/table-header-cell/table-header-cell.d.ts +29 -0
  293. package/dist/types/components/table-row/index.d.ts +2 -0
  294. package/dist/types/components/table-row/model.d.ts +30 -0
  295. package/dist/types/components/table-row/table-row.d.ts +24 -0
  296. package/dist/types/components.d.ts +278 -0
  297. package/dist/types/index.d.ts +16 -0
  298. package/dist/types/shared/figma.d.ts +70 -18
  299. package/dist/types/shared/model.d.ts +44 -2
  300. package/dist/types/utils/index.d.ts +9 -4
  301. package/dist/vscode.html-custom-data.json +400 -2
  302. package/dist/web-types.json +744 -5
  303. package/package.json +4 -4
  304. package/bundle/p--qzKkpB9.js +0 -1
  305. package/bundle/p-9fgrfYbf.js +0 -1
  306. package/bundle/p-BChikMGc.js +0 -1
  307. package/bundle/p-BPxBqqlc.js +0 -1
  308. package/bundle/p-C6_y8Tot.js +0 -1
  309. package/bundle/p-CKfRqzsn.js +0 -1
  310. package/bundle/p-CnYMRGX1.js +0 -1
  311. package/bundle/p-CwzdaLE3.js +0 -1
  312. package/bundle/p-CyxQfbGC.js +0 -1
  313. package/bundle/p-DstwggLZ.js +0 -1
  314. package/bundle/p-suxDlmXD.js +0 -1
  315. package/dist/db-ux/p-11211f1a.entry.js +0 -1
  316. package/dist/db-ux/p-1a4881de.entry.js +0 -1
  317. package/dist/db-ux/p-21e5f6d0.entry.js +0 -1
  318. package/dist/db-ux/p-272bdffc.entry.js +0 -1
  319. package/dist/db-ux/p-32c359a9.entry.js +0 -1
  320. package/dist/db-ux/p-33606da9.entry.js +0 -1
  321. package/dist/db-ux/p-44391c06.entry.js +0 -1
  322. package/dist/db-ux/p-4b99f205.entry.js +0 -1
  323. package/dist/db-ux/p-4c238643.entry.js +0 -1
  324. package/dist/db-ux/p-93a6b1ee.entry.js +0 -1
  325. package/dist/db-ux/p-9728504d.entry.js +0 -1
  326. package/dist/db-ux/p-BGaQ0Bx8.js +0 -2
  327. package/dist/db-ux/p-CHLgQ9vn.js +0 -1
  328. package/dist/db-ux/p-D_roHmuC.js +0 -1
  329. package/dist/db-ux/p-a6c3ceaa.entry.js +0 -1
  330. package/dist/db-ux/p-cd3cfb4e.entry.js +0 -1
  331. package/dist/db-ux/p-cf045f35.entry.js +0 -1
  332. package/dist/db-ux/p-d3ada4cb.entry.js +0 -1
  333. package/dist/db-ux/p-d858f147.entry.js +0 -1
  334. package/dist/db-ux/p-ed5b3877.entry.js +0 -1
  335. package/dist/db-ux/p-fed0fc42.entry.js +0 -1
  336. package/dist/db-ux/p-xkoBSP8R.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/wc-core-components",
3
- "version": "4.10.2",
3
+ "version": "4.11.0",
4
4
  "type": "module",
5
5
  "description": "Stencil components for @db-ux/core-components",
6
6
  "repository": {
@@ -31,13 +31,13 @@
31
31
  "dist/"
32
32
  ],
33
33
  "dependencies": {
34
- "@db-ux/core-components": "4.10.2",
35
- "@db-ux/core-foundations": "4.10.2"
34
+ "@db-ux/core-components": "4.11.0",
35
+ "@db-ux/core-foundations": "4.11.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "0.11.0",
39
39
  "@stencil/core": "4.43.5",
40
- "@types/node": "25.9.1",
40
+ "@types/node": "25.9.2",
41
41
  "cem-plugin-expanded-types": "1.4.0",
42
42
  "cpr": "3.0.1",
43
43
  "custom-element-jet-brains-integration": "1.7.0",
@@ -1 +0,0 @@
1
- import{y as i,H as t,A as s,h as a,f as e,p as h,i as d,u as l,z as n,k as o,n as c,l as r,m as u,e as v,d as m,t as f,j as g,o as p}from"./p-9fgrfYbf.js";import{l as b,f as w,g as y,h as k,j as x,k as z,b as L,a as I}from"./p-BdL-nI5y.js";import{c as _}from"./p-DstwggLZ.js";import{d as M}from"./p-CwzdaLE3.js";const F=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.input=s(this,"input"),this.change=s(this,"change"),this.blur=s(this,"blur"),this.focus=s(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,d;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,a()&&(this._voiceOverFallback=null!==(d=this.validMessage)&&void 0!==d?d:z,e((()=>this._voiceOverFallback=""),1e3))):this._descByIds=h(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||b,a()&&(this._voiceOverFallback=this._invalidMessage,e((()=>this._voiceOverFallback=""),1e3)))}handleInput(i,t){this.input&&this.input.emit(i),this.handleValidation()}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}getDataList(){const i=this.dataList;return Array.from((d(i)?null==i?void 0:i.map((i=>({value:i,label:void 0}))):i)||[])}resetIds(){var i,t,s;const a=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:`input-${l()}`;this._id=a,this._messageId=a+w,this._validMessageId=a+y,this._invalidMessageId=a+k,this._dataListId=a+x}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let a=0;a<t.length;a++){const e=t.item(a);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"),a=e.value.replace("hydrated","").trim(),h=i.getAttribute("class");i.setAttribute(e.name,`${h?`${h} `:""}${a}`),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(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||b}watch1(){this.watch1Fn()}watch2Fn(){var i;if(this._id){const t=this._id+w;this._messageId=t,this._validMessageId=this._id+y,this._invalidMessageId=this._id+k,this._dataListId=null!==(i=this.dataListId)&&void 0!==i?i:this._id+x,h(this.message,this.showMessage)&&(this._descByIds=t),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._value=this.value}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),_(this._ref,{value:this.value,defaultValue:i},(i=>{this.handleChange(i,!0),this.handleInput(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}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-input"),this.resetIds(),this._invalidMessage=this.invalidMessage||b,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i,t,s,a,e,d,l,f,b;return n("div",{key:"09f1dff4d884168cb140705b0f310519e60e3aa2",class:m("db-input",this.className),"data-variant":this.variant,"data-hide-label":p(this.showLabel),"data-show-icon":g(null!==(i=this.showIconLeading)&&void 0!==i?i:this.showIcon),"data-icon":null!==(t=this.iconLeading)&&void 0!==t?t:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":p(this.showRequiredAsterisk),"data-show-icon-trailing":g(this.showIconTrailing)},n("label",{key:"17c5e2ddca81cd88f5fbc5d0b5024fb833aff026",htmlFor:this._id},null!==(s=this.label)&&void 0!==s?s:I),n("input",{key:"ed0381ce65f0a89035804412d736adf3b6e0aea1","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:i=>{this._ref=i},id:this._id,name:this.name,type:this.type||"text",multiple:o(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(a=this.placeholder)&&void 0!==a?a:L,disabled:o(this.disabled,"disabled"),required:o(this.required,"required"),step:u(this.step),value:null!==(d=null!==(e=this.value)&&void 0!==e?e:this._value)&&void 0!==d?d:"",maxLength:r(this.maxLength,this.maxlength),minLength:r(this.minLength,this.minlength),max:c(this.max,this.type),min:c(this.min,this.type),readOnly:o(this.readOnly,"readOnly")||o(this.readonly,"readonly"),form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:o(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:i=>this.handleInput(i),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),list:this.dataList&&this._dataListId,"aria-describedby":null!==(l=this.ariaDescribedBy)&&void 0!==l?l:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(f=this.type)&&void 0!==f?f:"")&&v()?"textbox":void 0}),this.dataList?n("datalist",{id:this._dataListId},null===(b=this.getDataList())||void 0===b?void 0:b.map((i=>n("option",{key:this._dataListId+"-option-"+i.value,value:i.value},i.label)))):null,n("slot",{key:"e7c51c3d97314fd153f606a346244dac365171e5"}),h(this.message,this.showMessage)?n("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?n("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||z):null,n("db-infotext",{key:"f92de27dbfd942534f83a83d181b533fc0b4a6e2",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),n("span",{key:"af168dd9e11d853f76db0edee198a744d36a228d","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}}},[260,"db-input",{invalidMessage:[1,"invalid-message"],id:[1],propOverrides:[16],dataListId:[1,"data-list-id"],message:[1],showMessage:[8,"show-message"],value:[8],validMessage:[1,"valid-message"],validation:[1],required:[8],minLength:[8,"min-length"],maxLength:[8,"max-length"],pattern:[1],dataList:[16],className:[1,"classname"],variant:[1],showLabel:[8,"show-label"],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],iconLeading:[1,"icon-leading"],icon:[1],iconTrailing:[1,"icon-trailing"],showRequiredAsterisk:[8,"show-required-asterisk"],showIconTrailing:[8,"show-icon-trailing"],label:[1],fieldSizing:[1,"field-sizing"],name:[1],type:[1],multiple:[8],accept:[1],placeholder:[1],disabled:[8],step:[8],maxlength:[8],minlength:[8],max:[8],min:[8],readOnly:[8,"read-only"],readonly:[8],form:[1],size:[2],autocomplete:[1],autofocus:[8],enterkeyhint:[1],inputmode:[1],ariaDescribedBy:[1,"aria-described-by"],messageSize:[1,"message-size"],messageIcon:[1,"message-icon"],validMessageSize:[1,"valid-message-size"],invalidMessageSize:[1,"invalid-message-size"],_id:[32],_messageId:[32],_validMessageId:[32],_invalidMessageId:[32],_invalidMessage:[32],_dataListId:[32],_descByIds:[32],_value:[32],_voiceOverFallback:[32],abortController:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}]);function C(){"undefined"!=typeof customElements&&["db-input","db-infotext"].forEach((i=>{switch(i){case"db-input":customElements.get(f(i))||customElements.define(f(i),F);break;case"db-infotext":customElements.get(f(i))||M()}}))}export{F as D,C as d}
@@ -1 +0,0 @@
1
- function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],r=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);r&&Object.defineProperty(n,o,{get(){return r.get.call(this)},set(t){r.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>n in t,l=(t,n)=>(0,console.error)(t,n),r="undefined"!=typeof window?window:{},s=r.HTMLElement||class{},i={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},c=!1,u=[],f=[],a=(t,n)=>e=>{t.push(e),c||(c=!0,n&&4&i.i?v(p):i.raf(p))},d=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){l(t)}t.length=0},p=()=>{d(u),d(f),(c=u.length>0)&&i.raf(p)},v=t=>Promise.resolve(undefined).then(t),h=a(f,!0),m=t=>{const n=new URL(t,i.u);return n.origin!==r.location.origin?n.href:n.pathname},y=t=>i.u=t,b=t=>{const n=j(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&$(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!w(t,O(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&j(t,"childNodes").length&&b(t)}};function $(t,n,e){let o,l=0,r=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||O(o)===e)&&(r.push(o),void 0!==e))return r;r=[...r,...$(o.childNodes,n,e)]}return r}var w=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)O(l)!==n||!e&&l["s-sr"]||o.push(l);return o},g=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,O=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function j(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var N,k,S=new WeakMap,M=t=>"object"==(t=typeof t)||"function"===t,E=(t,n,...e)=>{let o=null,l=null,r=null,s=!1,i=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!M(o))&&(o=String(o)),s&&i?c[c.length-1].p+=o:c.push(s?A(null,o):o),i=s)};if(u(e),n){n.key&&(l=n.key),n.name&&(r=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,L);const f=A(t,null);return f.v=n,c.length>0&&(f.h=c),f.m=l,f.$=r,f},A=(t,n)=>({i:0,O:t,p:null!=n?n:null,j:null,h:null,v:null,m:null,$:null}),P={},L={forEach:(t,n)=>t.map(_).forEach(n),map:(t,n)=>t.map(_).map(n).map(x)},_=t=>({vattrs:t.v,vchildren:t.h,vkey:t.m,vname:t.$,vtag:t.O,vtext:t.p}),x=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),E(t.vtag,n,...t.vchildren||[])}const n=A(t.vtag,t.vtext);return n.v=t.vattrs,n.h=t.vchildren,n.m=t.vkey,n.$=t.vname,n},F=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},R=(t,n)=>null==t||M(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t,T=(t,n)=>{const e=t;return{emit:t=>C(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},C=(t,n,e)=>{const o=i.ce(n,e);return t.dispatchEvent(o),o},B=(t,n,l,s,c,u)=>{if(l===s)return;let f=o(t,n),a=n.toLowerCase();if("class"===n){const n=t.classList,e=W(l);let o=W(s);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("key"===n);else if("ref"===n)s&&ct(s,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=M(s);if((f||e&&null!==s)&&!c)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?f=!1:null!=l&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(n)||t.removeAttribute(n):(!f||4&u||c)&&!e&&1===t.nodeType&&t.setAttribute(n,s=!0===s?"":s)}}else if(n="-"===n[2]?n.slice(3):o(r,a)?a.slice(2):a[2]+n.slice(3),l||s){const e=n.endsWith(D);n=n.replace(H,""),l&&i.rel(t,n,l,e),s&&i.ael(t,n,s,e)}},U=/\s/,W=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(U):[]),D="Capture",H=new RegExp(D+"$"),q=(t,n,e)=>{const o=11===n.j.nodeType&&n.j.host?n.j.host:n.j,l=t&&t.v||{},r=n.v||{};for(const t of z(Object.keys(l)))t in r||B(o,t,l[t],void 0,e,n.i);for(const t of z(Object.keys(r)))B(o,t,l[t],r[t],e,n.i)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var V=!1,Y=!1,I=!1,Z=!1,G=[],J=[],K=(t,n,e)=>{var o;const l=n.h[e];let s,i,c,u=0;if(V||(I=!0,"slot"===l.O&&(l.i|=l.h?2:1)),null!=l.p)s=l.j=r.document.createTextNode(l.p);else if(1&l.i)s=l.j=r.document.createTextNode(""),q(null,l,Z);else{if(!r.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.j=r.document.createElement(!V&&2&l.i?"slot-fb":l.O),q(null,l,Z),l.h){const n="template"===l.O?s.content:s;for(u=0;u<l.h.length;++u)i=K(t,l,u),i&&n.appendChild(i)}}return s["s-hn"]=k,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=N,s["s-sn"]=l.$||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===O(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),c=t&&t.h&&t.h[e],c&&c.O===l.O&&t.j&&Q(t.j)),s},Q=t=>{i.i|=1;const n=t.closest(k.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(ut(n,t,null!=e?e:null),t["s-sh"]=void 0,I=!0)}i.i&=-2},X=(t,n)=>{i.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===k&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==k&&o["s-ol"]&&(ut(ot(o).parentNode,o,ot(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,I=!0),n&&X(o,n)}i.i&=-2},tt=(t,n,e,o,l,r)=>{let s,i=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(i=i.content);l<=r;++l)o[l]&&(s=K(null,e,l),s&&(o[l].j=s,ut(i,s,ot(n))))},nt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.j;it(n),t&&(Y=!0,t["s-ol"]?t["s-ol"].remove():X(t,!0),t.remove())}}},et=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.$===n.$:e?(e&&!t.m&&n.m&&(t.m=n.m),!0):t.m===n.m),ot=t=>t&&t["s-ol"]||t,lt=(t,n,e=!1)=>{const o=n.j=t.j,l=t.h,r=n.h,s=n.p;let i;null==s?("slot"!==n.O||V||t.$!==n.$&&(n.j["s-sn"]=n.$||"",Q(n.j.parentElement)),q(t,n,Z),null!==l&&null!==r?((t,n,e,o,l=!1)=>{let r,s,i=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],v=o.length-1,h=o[0],m=o[v];const y="template"===e.O?t.content:t;for(;i<=a&&c<=v;)if(null==d)d=n[++i];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==m)m=o[--v];else if(et(d,h,l))lt(d,h,l),d=n[++i],h=o[++c];else if(et(p,m,l))lt(p,m,l),p=n[--a],m=o[--v];else if(et(d,m,l))"slot"!==d.O&&"slot"!==m.O||X(d.j.parentNode,!1),lt(d,m,l),ut(y,d.j,p.j.nextSibling),d=n[++i],m=o[--v];else if(et(p,h,l))"slot"!==d.O&&"slot"!==m.O||X(p.j.parentNode,!1),lt(p,h,l),ut(y,p.j,d.j),p=n[--a],h=o[++c];else{for(u=-1,f=i;f<=a;++f)if(n[f]&&null!==n[f].m&&n[f].m===h.m){u=f;break}u>=0?(s=n[u],s.O!==h.O?r=K(n&&n[c],e,u):(lt(s,h,l),n[u]=void 0,r=s.j),h=o[++c]):(r=K(n&&n[c],e,c),h=o[++c]),r&&ut(ot(d.j).parentNode,r,ot(d.j))}i>a?tt(t,null==o[v+1]?null:o[v+1].j,e,o,c,v):c>v&&nt(n,i,a)})(o,l,n,r,e):null!==r?(null!==t.p&&(o.textContent=""),tt(o,null,n,r,0,r.length-1)):!e&&null!==l&&nt(l,0,l.length-1)):(i=o["s-cr"])?i.parentNode.textContent=s:t.p!==s&&(o.data=s)},rt=[],st=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(g(n,l)){let e=rt.find((t=>t.N===n));Y=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],rt.push({k:t,N:n})),n["s-sr"]&&rt.map((t=>{g(t.N,n["s-sn"])&&(e=rt.find((t=>t.N===n)),e&&!t.k&&(t.k=e.k))}))}else rt.some((t=>t.N===n))||rt.push({N:n})}1===t.nodeType&&st(t)}},it=t=>{t.v&&t.v.ref&&G.push((()=>t.v.ref(null))),t.h&&t.h.map(it)},ct=(t,n)=>{J.push((()=>t(n)))},ut=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=O(t)||"";return{slotNode:$(j(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},ft=(t,n,e=!1)=>{var o,l,s,c,u;const f=t.$hostElement$,a=t.o,d=t.S||A(null,null);var p;const v=(p=n)&&p.O===P?n:E(null,null,n);if(k=f.tagName,e&&v.v)for(const t of Object.keys(v.v))f.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(v.v[t]=f[t]);if(v.O=null,v.i|=4,t.S=v,v.j=d.j=f,V=false,N=f["s-cr"],Y=!1,lt(d,v,e),i.i|=1,I){st(v.j);for(const t of rt){const n=t.N;if(!n["s-ol"]&&r.document){const t=r.document.createTextNode("");t["s-nr"]=n,ut(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of rt){const n=t.N,i=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),i){const t=i.parentNode;let o=i.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(ut(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=r.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,ut(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(c=n["s-ih"])&&c)}n&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===n.nodeType&&(n.hidden=!0)}}if(Y&&b(v.j),i.i&=-2,rt.length=0,!V&&!(1&a.i)&&f["s-cr"]){const t=v.j.__childNodes||v.j.childNodes;for(const n of t)if(n["s-hn"]!==k&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(u=n.hidden)&&u),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=r.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],ut(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}N=void 0,G.forEach((t=>t())),G.length=0,J.forEach((t=>t())),J.length=0},at=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},dt=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);at(t,t.A);const e=()=>pt(t,n);if(!n)return h(e);queueMicrotask((()=>{e()}))},pt=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=wt(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=vt(l,(()=>wt(o,"componentWillRender",void 0,e))),vt(l,(()=>mt(t,o,n)))},vt=(t,n)=>ht(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),ht=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,mt=async(t,n,e)=>{var o;const l=t.$hostElement$,r=l["s-rc"];yt(t,n,l,e),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>bt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},yt=(t,n,e,o)=>{try{n=n.render(),t.i&=-17,t.i|=2,ft(t,n,o)}catch(n){l(n,t.$hostElement$)}return null},bt=t=>{const n=t.$hostElement$,e=n,o=t.A;wt(e,"componentDidRender",void 0,n),64&t.i?wt(e,"componentDidUpdate",void 0,n):(t.i|=64,gt(n),wt(e,"componentDidLoad",void 0,n),t.P(n),o||$t()),t.M&&(t.M(),t.M=void 0),512&t.i&&v((()=>dt(t,!1))),t.i&=-517},$t=()=>{v((()=>C(r,"appload",{detail:{namespace:"db-ux"}})))},wt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){l(t,o)}},gt=t=>t.classList.add("hydrated"),Ot=(t,n,o,r)=>{const s=e(t);if(!s)return;const i=t,c=s.l.get(n),u=s.i,f=i;o=R(o,r.t[n][0]);const a=Number.isNaN(c)&&Number.isNaN(o);if(o!==c&&!a){if(s.l.set(n,o),r.L){const t=r.L[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):s._.push((()=>{s.F[e](o,c,n)})))}catch(t){l(t,i)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||dt(s,!1)}}},jt=(n,o)=>{var l,r;const s=n.prototype;{n.watchers&&!o.L&&(o.L=F(n.watchers)),n.deserializers&&!o.R&&(o.R=n.deserializers),n.serializers&&!o.T&&(o.T=n.serializers);const c=Object.entries(null!=(l=o.t)?l:{});c.map((([n,[l]])=>{if(31&l||32&l){const{get:r,set:i}=t(s,n)||{};r&&(o.t[n][0]|=2048),i&&(o.t[n][0]|=4096),Object.defineProperty(s,n,{get(){return r?r.apply(this):(t=n,e(this).l.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(s,n,{set(t){const r=e(this);if(r){if(i)return void 0===(32&l?this[n]:r.$hostElement$[n])&&r.l.get(n)&&(t=r.l.get(n)),i.apply(this,[R(t,l)]),void Ot(this,n,t=32&l?this[n]:r.$hostElement$[n],o);Ot(this,n,t,o)}}})}}));{const t=new Map;s.attributeChangedCallback=function(n,l,r){i.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==r)return;if(null==u){const t=null==f?void 0:f.i;if(f&&t&&!(8&t)&&r!==l){const e=this,s=null==(i=o.L)?void 0:i[n];null==s||s.forEach((o=>{const[[s,i]]=Object.entries(o);null!=e[s]&&(128&t||1&i)&&e[s].call(e,r,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===r&&void 0===this[u];d&&(r=null!==r&&"false"!==r);const v=Object.getOwnPropertyDescriptor(s,u);p||r==this[u]||v.get&&!v.set||(this[u]=r)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=o.L)?r:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{const o=e[1]||n;return t.set(o,n),o}))]))}}return n},Nt=t=>{if(!r.document)return;const n=t["s-cr"]=r.document.createComment("");n["s-cn"]=!0,ut(t,n,t.firstChild)},kt=(t,o)=>{const r={i:o[0],C:o[1]};try{r.t=o[2],r.L=F(t.L),r.R=t.R,r.T=t.T;const s=t.prototype.connectedCallback,c=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={i:0,$hostElement$:t,o:e,l:new Map,B:new Map};o.U=new Promise((t=>o.P=t)),t["s-p"]=[],t["s-rc"]=[];const l=o;t.__stencil__getHostRef=()=>l,512&e.i&&n(t,o)})(this,r)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!e(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&i.i)){const n=e(t);if(!n)return;const o=n.o,r=()=>{};if(1&n.i)(null==n?void 0:n.F)||(null==n?void 0:n.U)&&n.U.then((()=>{}));else{n.i|=1,12&o.i&&Nt(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){at(n,n.A=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n)=>{try{32&n.i||(n.i|=32,customElements.whenDefined(t.localName).then((()=>n.i|=128)));const e=n.A,o=()=>dt(n,!0);e&&e["s-rc"]?e["s-rc"].push(o):o()}catch(e){l(e,t),n.M&&(n.M(),n.M=void 0),n.P&&n.P(t)}})(t,n)}r()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{1&i.i||e(t),S.has(t)&&S.delete(t),t.shadowRoot&&S.has(t.shadowRoot)&&S.delete(t.shadowRoot)})(this),c&&c.call(this)},__attachShadow(){this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:r.C,configurable:!0}),jt(t,r)}catch(n){return l(n),t}},St=(t,n)=>n,Mt=t=>i.W=t,Et=t=>Object.assign(i,t),At=new WeakMap;function Pt(t,n){let e=At.get(n);e||(e={i:0,o:{i:0,C:n.tagName},$hostElement$:n},At.set(n,e)),ft(e,t)}function Lt(t){return t}const _t=()=>{var t,n;if("undefined"!=typeof window){if(null===(t=window.crypto)||void 0===t?void 0:t.randomUUID)return window.crypto.randomUUID();if(null===(n=window.crypto)||void 0===n?void 0:n.getRandomValues)return window.crypto.getRandomValues(new Uint32Array(3)).join("-")}return Math.random().toString().substring(2)},xt=(t,n)=>{Object.values(t.children).forEach((t=>{t.setAttribute(n.key,n.value),t.children.length>0&&xt(t,n)}))},Ft=(...t)=>{let n="";for(const e of t)if(e)if("string"==typeof e)n+=`${e} `;else for(const t in e)e[t]&&(n+=`${t} `);return n.trim()},Rt=t=>Array.isArray(t)&&t.every((t=>"string"==typeof t)),Tt=["Mac","iPhone","iPad","iPod"],Ct=()=>"undefined"!=typeof window&&Tt.some((t=>window.navigator.userAgent.includes(t))),Bt=()=>{if("undefined"==typeof window||"undefined"==typeof navigator)return!1;const t=navigator.userAgent,n=/iP(ad|hone|od)/.test(t),e=!!t.match(/Safari/)&&!t.match(/CriOS|FxiOS|OPiOS|EdgiOS/);return n&&e},Ut=(t,n)=>new Promise((()=>setTimeout(t,n))),Wt=t=>{if(null!=t)return String("string"==typeof t?"true"===t:t)},Dt=(t,n)=>{if(null!=t)return"string"==typeof t?Boolean(n===t||"true"===t):Boolean(t)},Ht=(t,n)=>{if(null!=t||null!=n)return Number(null!=t?t:n)},qt=t=>{if(null!=t)return"any"===t?"any":Number(t)},zt=(t,n)=>n&&["number","range"].includes(n)?Ht(t):t,Vt=t=>"string"==typeof t?"true"===t:t,Yt=t=>{if(null!=t)return Wt(!Vt(t))},It=(t,n)=>void 0===n?!!t:Vt(n)&&Boolean(t),Zt=t=>t.querySelector('input[type="search"]'),Gt=(t,n)=>{var e,o;return`${n}${null!==(o=null!==(e=t.id)&&void 0!==e?e:t.value)&&void 0!==o?o:_t()}`},Jt=t=>void 0!==t.key,Kt=({semantic:t,role:n,ariaLive:e})=>{if(n)return n;if(e)return"article";switch(t){case"critical":case"warning":return"alert";case"informational":case"successful":return"status";default:return"article"}};export{T as A,St as F,s as H,Mt as a,Et as b,xt as c,Ft as d,Bt as e,Ut as f,m as g,Ct as h,Rt as i,Wt as j,Dt as k,Ht as l,qt as m,zt as n,Yt as o,It as p,Zt as q,Pt as r,y as s,Lt as t,_t as u,Gt as v,Jt as w,Kt as x,kt as y,E as z}
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as e,d as a,t as n}from"./p-9fgrfYbf.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const n=s.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"class"===n.name){const s=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(n.name,`${d?`${d} `:""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(n.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-panel")}render(){var t,s;return e("section",{key:"86076593b5c38755ddd08bbb930bb8252b9e5e78",class:a("db-tab-panel",this.className),role:"tabpanel",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},this.content?this.content:null,e("slot",{key:"5069f16c7266dd495e8f9fb03c3bb69546976842"}))}get rootElement(){return this}},[260,"db-tab-panel",{className:[1,"classname"],id:[1],propOverrides:[16],content:[1]}]);function i(){"undefined"!=typeof customElements&&["db-tab-panel"].forEach((t=>{"db-tab-panel"===t&&(customElements.get(n(t))||customElements.define(n(t),d))}))}export{d as D,i as d}
@@ -1 +0,0 @@
1
- import{y as t,H as i,f as s,u as e,z as a,d as o,t as d,j as h}from"./p-9fgrfYbf.js";import{D as n}from"./p-BdL-nI5y.js";import{D as l}from"./p-BLyvxOmU.js";import{b as r}from"./p-DOPXnIzL.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this._id=n,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&&s((()=>{var i;this._ref&&r(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 l).removeCallback(this._documentScrollListenerCallbackId),null===(t=this._observer)||void 0===t||t.unobserve(this.getParent())}handleEnter(t){var i;this._documentScrollListenerCallbackId=(new l).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-"+e()}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(){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,i;return a("i",{key:"baf376c4ee424f78a7e062b864586139846b2073",class:o("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":h(this.wrap),"data-animation":h(null===(t=this.animation)||void 0===t||t),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":h(null===(i=this.showArrow)||void 0===i||i),"data-placement":this.placement,onClick:t=>this.handleClick(t)},this.text?this.text:null,a("slot",{key:"6ec094383bad1237ce6ae7d02a7a62cf5c8de19d"}))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}}},[260,"db-tooltip",{id:[1],propOverrides:[16],variant:[1],placement:[1],className:[1,"classname"],emphasis:[1],wrap:[8],animation:[8],delay:[1],width:[1],showArrow:[8,"show-arrow"],text:[1],_id:[32],initialized:[32],_documentScrollListenerCallbackId:[32],_observer:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}]);function u(){"undefined"!=typeof customElements&&["db-tooltip"].forEach((t=>{"db-tooltip"===t&&(customElements.get(d(t))||customElements.define(d(t),c))}))}export{c as D,u as d}
@@ -1 +0,0 @@
1
- import{y as t,H as i,A as s,z as a,d as n,t as e,j as o,k as d}from"./p-9fgrfYbf.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=s(this,"click")}getButtonType(){return this.type?this.type:this.click?"button":"submit"}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const n=i.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)t.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const i=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(n.name,`${e?`${e} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-button")}render(){var t,i,s,e;return a("button",{key:"ca13a30fcf43bcd6e043e3dc2bbcb94eb3347450",class:n("db-button",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,type:this.getButtonType(),disabled:d(this.disabled,"disabled"),"data-icon":null!==(s=this.iconLeading)&&void 0!==s?s:this.icon,"data-show-icon":o(null!==(e=this.showIconLeading)&&void 0!==e?e:this.showIcon),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":o(this.showIconTrailing),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-wrap":o(this.wrap),"data-no-text":o(this.noText),name:this.name,form:this.form,value:this.value},this.text?this.text:null,a("slot",{key:"1f0aee6d7db3187db5575729569bfdd4c88c0e19"}))}get rootElement(){return this}},[260,"db-button",{type:[1],id:[1],propOverrides:[16],className:[1,"classname"],disabled:[8],iconLeading:[1,"icon-leading"],icon:[1],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],iconTrailing:[1,"icon-trailing"],showIconTrailing:[8,"show-icon-trailing"],size:[1],width:[1],variant:[1],wrap:[8],noText:[8,"no-text"],name:[1],form:[1],value:[1],text:[1]}]);function h(){"undefined"!=typeof customElements&&["db-button"].forEach((t=>{"db-button"===t&&(customElements.get(e(t))||customElements.define(e(t),c))}))}export{c as D,h as d}
@@ -1 +0,0 @@
1
- import{y as t,H as i,A as e,j as s,z as a,k as h,d as n,t as d}from"./p-9fgrfYbf.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.change=e(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=s(t.target===this._ref)}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(i,e)=>{t.call(this._ref,i,e),"name"===i&&(this._name=e)}}}handleChange(t){this.change&&this.change.emit(t)}enableAttributePassing(t,i){const e=null==t?void 0:t.closest(i);if(t&&e){const i=e.attributes;for(let s=0;s<i.length;s++){const a=i.item(s);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),s=a.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(a.name,`${h?`${h} `:""}${s}`),i?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){var t;this._ref&&this.initialized&&this.boundSetSelectedOnChange&&(this.initialized=!1,this._listenerAdded||(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.addEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!0),(this.active||this._ref.checked)&&(this._selected=s(!0),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-item"),this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1)}render(){var t,i,e,d,c,o;return a("li",{key:"8f237a10d09644e2bad44ff457e5ae7bb6ed80f3",class:n("db-tab-item",this.className),role:"none"},a("label",{key:"530c603c5927f732cc76920537fe169a15ebbd4c",htmlFor:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-icon":null!==(e=this.iconLeading)&&void 0!==e?e:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":s(null!==(d=this.showIconLeading)&&void 0!==d?d:this.showIcon),"data-show-icon-trailing":s(this.showIconTrailing),"data-no-text":s(this.noText)},a("input",{key:"8551abf9afc26bb0edfb9a8f94adb21f5c95bf4e",type:"radio",role:"tab",disabled:h(this.disabled,"disabled"),"aria-selected":this._selected,checked:h(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:null!==(c=this.id)&&void 0!==c?c:null===(o=this.propOverrides)||void 0===o?void 0:o.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,a("slot",{key:"4f1f678c9edcef4f977f3677903b682f5bf723b4"})))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},[260,"db-tab-item",{active:[8],name:[1],className:[1,"classname"],id:[1],propOverrides:[16],iconLeading:[1,"icon-leading"],icon:[1],iconTrailing:[1,"icon-trailing"],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],showIconTrailing:[8,"show-icon-trailing"],noText:[8,"no-text"],disabled:[8],checked:[8],label:[1],_selected:[32],_name:[32],initialized:[32],_listenerAdded:[32],boundSetSelectedOnChange:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}]);function o(){"undefined"!=typeof customElements&&["db-tab-item"].forEach((t=>{"db-tab-item"===t&&(customElements.get(d(t))||customElements.define(d(t),c))}))}export{c as D,o as d}
@@ -1 +0,0 @@
1
- import{y as t,H as e,A as s,z as a,d as o,t as i,j as d}from"./p-9fgrfYbf.js";import{m as n}from"./p-BdL-nI5y.js";import{d as c}from"./p-BPxBqqlc.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.remove=s(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:n}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let a=0;a<e.length;a++){const o=e.item(a);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))t.setAttribute(o.name,o.value),s.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)t.setAttribute(o.name,o.value),s.removeAttribute(o.name);else if(o&&"class"===o.name){const e=o.value.includes("hydrated"),a=o.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(o.name,`${i?`${i} `:""}${a}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(o.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tag")}render(){var t,e,s;return a("div",{key:"85b02f290e8323ddd9a61ee5cf15893e7bc0cdab",class:o("db-tag",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,"data-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":d(null===(s=this.showCheckState)||void 0===s||s),"data-show-icon":d(this.showIcon),"data-no-text":d(this.noText),"data-overflow":d(this.overflow)},a("slot",{key:"3aefef41d0a30b8f979e43146936be56a1d9181b",name:"content"}),this.text?this.text:null,a("slot",{key:"e283aefd212ea8c7f7eab8da48ed19a7f4763e38"}),"removable"===this.behavior?a("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},a("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}get rootElement(){return this}},[260,"db-tag",{removeButton:[1,"remove-button"],id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],emphasis:[1],icon:[1],showCheckState:[8,"show-check-state"],showIcon:[8,"show-icon"],noText:[8,"no-text"],overflow:[8],text:[1],behavior:[1]}]);function l(){"undefined"!=typeof customElements&&["db-tag","db-tooltip"].forEach((t=>{switch(t){case"db-tag":customElements.get(i(t))||customElements.define(i(t),h);break;case"db-tooltip":customElements.get(i(t))||c()}}))}export{h as D,l as d}
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as e,d as a,t as i,j as d}from"./p-9fgrfYbf.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const i=s.item(a);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),a=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?`${d} `:""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(i.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-infotext")}render(){var t,s,i;return e("span",{key:"8336d336c2ea90300646a83257cab6f34dfe862a",class:a("db-infotext",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-wrap":d(this.wrap),"data-show-icon-leading":d(null===(i=this.showIcon)||void 0===i||i)},this.text?this.text:null,e("slot",{key:"1dd519913408aa16cce587ddaee31d3c3bae05b6"}))}get rootElement(){return this}},[260,"db-infotext",{id:[1],propOverrides:[16],className:[1,"classname"],icon:[1],semantic:[1],size:[1],wrap:[8],showIcon:[8,"show-icon"],text:[1]}]);function o(){"undefined"!=typeof customElements&&["db-infotext"].forEach((t=>{"db-infotext"===t&&(customElements.get(i(t))||customElements.define(i(t),n))}))}export{n as D,o as d}
@@ -1 +0,0 @@
1
- import{y as t,H as s,A as i,w as e,f as a,z as d,j as o,d as c,k as n,t as h}from"./p-9fgrfYbf.js";import{s as r}from"./p-BdL-nI5y.js";import{d as l}from"./p-C6_y8Tot.js";const b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.close=i(this,"close"),this.initialized=!1}handleClose(t,s){var i;t&&(e(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(i=t.target)||void 0===i?void 0:i.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=n(this.open,"open");t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),a((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),a((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let e=0;e<s.length;e++){const a=s.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(a.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-drawer"),this.handleDialogOpen(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,i;return d("dialog",{key:"a09369527805c993297bc3d27cf1f03c5e06f232",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},d("article",{key:"cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac",class:c("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":o(this.rounded)},d("header",{key:"20a175ba0707e3cc207e1e57dd925b8234b86877",class:"db-drawer-header"},d("div",{key:"d317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa",class:"db-drawer-header-text"},d("slot",{key:"1456a65346ebd9d52dafe48022cc0b343216cc09",name:"drawerHeader"})),d("db-button",{key:"6741766807bb56a24ed7bb385240093a3a1e5f7f",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(i=this.closeButtonText)&&void 0!==i?i:r)),d("div",{key:"dea536d8bd27dccdb7edd476defc68beed65254f",class:"db-drawer-content"},d("slot",{key:"bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b"}))))}get rootElement(){return this}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}},[260,"db-drawer",{open:[8],position:[1],backdrop:[1],variant:[1],id:[1],propOverrides:[16],direction:[1],className:[1,"classname"],spacing:[1],width:[1],rounded:[8],closeButtonId:[1,"close-button-id"],closeButtonText:[1,"close-button-text"],initialized:[32]},void 0,{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}]);function f(){"undefined"!=typeof customElements&&["db-drawer","db-button"].forEach((t=>{switch(t){case"db-drawer":customElements.get(h(t))||customElements.define(h(t),b);break;case"db-button":customElements.get(h(t))||l()}}))}export{b as D,f as d}
@@ -1 +0,0 @@
1
- import{f as t}from"./p-9fgrfYbf.js";const e=(t,e,c)=>{t.form&&!t._dbFormResetListenerAdded&&(t.form.addEventListener("reset",(t=>{e(t)}),{signal:c}),t._dbFormResetListenerAdded=!0)},c=(c,b,s,a)=>{e(c,(e=>{t((()=>{const t=b.checked?b.checked:b.defaultChecked?b.defaultChecked:c.checked,a=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{checked:t})});s(a)}),1)}),a)},b=(c,b,s,a)=>{e(c,(e=>{t((()=>{const t=b.value?b.value:b.defaultValue?b.defaultValue:c.value,a=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{value:t})});s(a)}),1)}),a)};export{c as a,e as b,b as c}
@@ -1 +0,0 @@
1
- import{y as t,H as s,z as e,d,t as a}from"./p-9fgrfYbf.js";const i=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let d=0;d<s.length;d++){const a=s.item(d);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),d=a.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(a.name,`${i?`${i} `:""}${d}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-list")}render(){var t,s;return e("div",{key:"ce54a7c3bef0090cf7aa0d6b11fedd6d3b4bbd07",class:d("db-tab-list",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},e("ul",{key:"8ac107177182afdde5163dee58917fa69b75e40c",role:"tablist"},e("slot",{key:"0d53d4b529c439784d7c66894b967b41fb9eb38d"})))}get rootElement(){return this}},[260,"db-tab-list",{id:[1],propOverrides:[16],className:[1,"classname"]}]);function n(){"undefined"!=typeof customElements&&["db-tab-list"].forEach((t=>{"db-tab-list"===t&&(customElements.get(a(t))||customElements.define(a(t),i))}))}export{i as D,n as d}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as i}from"./p-BGaQ0Bx8.js";import{g as a,c as e}from"./p-xkoBSP8R.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 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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${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-link")}render(){var t,i,d,n;return s("a",{key:"5dd3f3df5614e0e717feadc833d8fe2fe8825479",class:e("db-link",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,href:this.href,target:this.target,rel:this.rel,role:this.role,referrerPolicy:null!==(d=this.referrerpolicy)&&void 0!==d?d:this.referrerPolicy,hrefLang:this.hreflang,"aria-disabled":a(this.disabled),tabIndex:this.disabled?-1:0,"data-size":this.size,"data-show-icon-trailing":a(null===(n=this.showIcon)||void 0===n||n),"data-variant":this.variant,"data-content":this.content||"internal","data-wrap":a(this.wrap)},this.text?this.text:null,s("slot",{key:"c5dae4b61e3829e803a2ff89cfd0942cc4d6577d"}))}get rootElement(){return i(this)}};export{d as db_link}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as s,F as h,g as e}from"./p-BGaQ0Bx8.js";import{l,a,m as o,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 m,s as b}from"./p-BdL-nI5y.js";import{h as p,d as y,s as g,m as k,u as F,g as A,e as x,l as D,c as C}from"./p-xkoBSP8R.js";import{D as L}from"./p-D_roHmuC.js";import{D as S}from"./p-CHLgQ9vn.js";import{a as I}from"./p-DOPXnIzL.js";import{b as B}from"./p-D5mInaY7.js";const R=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,a,o,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!==(a=this.validation)&&void 0!==a?a:"valid"):g(this.message,this.showMessage)?(this.setDescById(this._messageId),this._validity=null!==(o=this.validation)&&void 0!==o?o:"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 L).addCallback((i=>this.handleDocumentClose(i))),this._documentScrollListenerCallbackId=(new S).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 L).removeCallback(this._documentClickListenerCallbackId),this._documentScrollListenerCallbackId&&(new S).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:a}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`${o} ${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;I(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;B(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,o,d,n,c,v,r,u,w,p,y,k;return s("div",{key:"09c22c7eef838650142ba6cf5a9f7a5c04e45d53",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":A(this.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":A(this.showIcon)},s("label",{key:"377317d94a5689926923ee92eb0399a6e0085177",id:this._labelId},null!==(i=this.label)&&void 0!==i?i:a,s("select",{key:"016dc1cebfeb8e92a08286e445d2da2989e630d7",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:x(this.multiple,"multiple"),disabled:x(this.disabled,"disabled"),required:x(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:"eb36c96b7c443289a1464a4d25a7f189c852b7ab",ref:i=>{this.detailsRef=i},open:this.open,onToggle:i=>this.handleDropdownToggle(i),onKeyDown:i=>this.handleKeyboardPress(i)},s("slot",{key:"2ce1371b5683aa1162167a7e9dd9950e075920cf"}),this.options?s(h,null,s("summary",{class:"db-custom-select-form-field",id:this._summaryId,"aria-disabled":A(this.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":A("tag"===this.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===(o=this._selectedOptions)||void 0===o?void 0:o.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:a,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:m):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:x(this.multiple,"multiple"),label:null!==(r=null!==(v=this.listLabel)&&void 0!==v?v:this.label)&&void 0!==r?r:a},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:b)))):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:x(this.disabled,"disabled"),onClick:i=>this.handleClearAll(i)},this.clearSelectionText,s("db-tooltip",{placement:"top"},this.clearSelectionText)):null,s("span",{key:"ab092f47ad6734f696000a852fc8e3a825a6d054",class:"db-custom-select-placeholder","aria-hidden":A(!0),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:"c134d746d6e06109551880446ff27e791fc482b1",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"b5b1291d952eaea52a176a3b8c9d9ea7a0b57e34","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{R as db_custom_select}
@@ -1 +0,0 @@
1
- import{r as a,c as e,h as d,g as t}from"./p-BGaQ0Bx8.js";import{p as c}from"./p-BdL-nI5y.js";import{a as s,e as i,c as n}from"./p-xkoBSP8R.js";import{i as b}from"./p-BuBrj57D.js";import"./p-DOPXnIzL.js";const o=class{constructor(d){a(this,d),this.toggle=e(this,"toggle"),this.initialized=!1,this.forcedToMobile=!1}handleToggle(a){a&&a.stopPropagation&&a.stopPropagation();const e=!i(this.drawerOpen,"drawerOpen");this.toggle&&this.toggle.emit(e)}handleNavigationItemClick(a){b(a)&&this.handleToggle()}enableAttributePassing(a,e){const d=null==a?void 0:a.closest(e);if(a&&d){const e=d.attributes;for(let t=0;t<e.length;t++){const c=e.item(t);if(c&&"data-density"!==c.name&&(c.name.startsWith("data-")||c.name.startsWith("aria-")))a.setAttribute(c.name,c.value),d.removeAttribute(c.name);else if(c&&"data-density"!==c.name&&"class"!==c.name&&"style"===c.name)a.setAttribute(c.name,c.value),d.removeAttribute(c.name);else if(c&&"class"===c.name){const e=c.value.includes("hydrated"),t=c.value.replace("hydrated","").trim(),s=a.getAttribute("class");a.setAttribute(c.name,`${s?`${s} `:""}${t}`),e?d.setAttribute("class","hydrated"):d.removeAttribute(c.name)}}}}watch0Fn(){this.initialized&&this._ref&&this.forceMobile&&(s(this._ref,{key:"data-force-mobile",value:"true"}),this.forcedToMobile=!0)}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const a=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);a&&a.remove()}this.enableAttributePassing(this._ref,"db-header"),this.initialized=!0,this.watch0Fn()}render(){var a,e,t;return d("header",{key:"e7aec08f10ae9d575b3f845be29ee19505df9216",class:n("db-header",this.className),ref:a=>{this._ref=a},id:null!==(a=this.id)&&void 0!==a?a:null===(e=this.propOverrides)||void 0===e?void 0:e.id,"data-width":this.width,"data-on-forcing-mobile":this.forceMobile&&!this.forcedToMobile},d("div",{key:"bdd8c85393260628938c33bfa1e8573d55a6d730",class:"db-header-meta-navigation"},d("slot",{key:"42854d3f106c63bbc300458bdcd1cee48a7209be",name:"metaNavigation"})),d("div",{key:"7ef93a1cb414b44657aaed9d7e4779690ca09cf5",class:"db-header-navigation-bar"},d("div",{key:"1e59f2987b83fe87cd22ae6bc95ac855c061869d",class:"db-header-brand-container"},d("slot",{key:"a610bb49cd670896fa1b980ffcdcbd40c2918b4e",name:"brand"})),d("div",{key:"1b94bf4ad2ae622875b7192812f9940e2a87c1e3",class:"db-header-navigation-container"},d("div",{key:"f57aac0c4268bf285de0c07bab40a736f0ca42a4",class:"db-header-navigation"},d("slot",{key:"45d426690fb2dcb6da32f6f646f6b1a932670cd2"})),d("div",{key:"e60bbd749efc91d9a00a54e3cbc6680e60f6e598",class:"db-header-primary-action"},d("slot",{key:"a41128047bc8063c45c14ff3ec58d83b7edd8361",name:"primaryAction"}))),d("div",{key:"82e9141ac1ad7f3a33c9bf0c15ccf969ccd5983f",class:"db-header-action-container"},d("div",{key:"3f3a5c503ecd11a0aff43623921bb185c59c1802",class:"db-header-burger-menu-container"},d("db-button",{key:"6547cf5982c0739960b9aa4363ddb71f1423a55b",icon:"menu",variant:"ghost",noText:!0,onClick:()=>this.handleToggle()},null!==(t=this.burgerMenuLabel)&&void 0!==t?t:c)),d("div",{key:"d2c691eb6980e0eeffa512ade5074400bd7973b8",class:"db-header-secondary-action"},d("slot",{key:"6cc84b46d137ac21aa90c3f84a873febc6fa0dba",name:"secondaryAction"})))),d("db-drawer",{key:"0dc5a353f9365bd76df967cdb3fee20be89c9525",class:"db-header-drawer",spacing:"small",rounded:!0,closeButtonId:this.closeButtonId,closeButtonText:this.closeButtonText,open:i(this.drawerOpen),onClose:()=>this.handleToggle()},d("div",{key:"3a28d35593fe006aa6269077466bd91f33d5f2e4",class:"db-header-drawer-navigation"},d("div",{key:"c42fff25d31fe234d841542b108805b0aa85e05c",class:"db-header-navigation",onClick:a=>this.handleNavigationItemClick(a)},d("slot",{key:"0de07dfbb68d8b6fcec8cf11e6398566fcd45ae2"})),d("div",{key:"062baf6f3e503751017a3715142e1622c27423bf",class:"db-header-meta-navigation"},d("slot",{key:"2e703195477c67270e9bfee04335321c52b9de4f",name:"metaNavigation"}))),d("div",{key:"028079c3fae38bc282d8b064e4515ab1c27aa45e",class:"db-header-secondary-action"},d("slot",{key:"879378953f36c55b5489a157a81e62f188ab5fca",name:"secondaryAction"}))))}get rootElement(){return t(this)}static get watchers(){return{initialized:[{watch0:0}],_ref:[{watch0:0}]}}};export{o as db_header}
@@ -1 +0,0 @@
1
- import{r as t,h as a,g as s}from"./p-BGaQ0Bx8.js";import{g as i,c as e}from"./p-xkoBSP8R.js";const d=class{constructor(a){t(this,a)}enableAttributePassing(t,a){const s=null==t?void 0:t.closest(a);if(t&&s){const a=s.attributes;for(let i=0;i<a.length;i++){const e=a.item(i);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 a=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${i}`),a?s.setAttribute("class","hydrated"):s.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-stack")}render(){var t,s;return a("div",{key:"87f4f22cbfd4355da58ace757805c9e29758eb6d",class:e("db-stack",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-gap":this.gap,"data-variant":this.variant,"data-direction":this.direction,"data-alignment":this.alignment,"data-justify-content":this.justifyContent,"data-wrap":i(this.wrap)},a("slot",{key:"391ff9ee8a52408fa9830e0f5a30fd86a249a102"}))}get rootElement(){return s(this)}};export{d as db_stack}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as e}from"./p-BGaQ0Bx8.js";import{g as a,e as d,c as h}from"./p-xkoBSP8R.js";const n=class{constructor(i){t(this,i),this.change=s(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=a(t.target===this._ref)}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleChange(t){this.change&&this.change.emit(t)}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let e=0;e<s.length;e++){const a=s.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(a.name)}}}}watch0Fn(){var t;this._ref&&this.initialized&&this.boundSetSelectedOnChange&&(this.initialized=!1,this._listenerAdded||(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.addEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!0),(this.active||this._ref.checked)&&(this._selected=a(!0),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-item"),this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1)}render(){var t,s,e,n,l,c;return i("li",{key:"8f237a10d09644e2bad44ff457e5ae7bb6ed80f3",class:h("db-tab-item",this.className),role:"none"},i("label",{key:"530c603c5927f732cc76920537fe169a15ebbd4c",htmlFor:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":null!==(e=this.iconLeading)&&void 0!==e?e:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":a(null!==(n=this.showIconLeading)&&void 0!==n?n:this.showIcon),"data-show-icon-trailing":a(this.showIconTrailing),"data-no-text":a(this.noText)},i("input",{key:"8551abf9afc26bb0edfb9a8f94adb21f5c95bf4e",type:"radio",role:"tab",disabled:d(this.disabled,"disabled"),"aria-selected":this._selected,checked:d(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:null!==(l=this.id)&&void 0!==l?l:null===(c=this.propOverrides)||void 0===c?void 0:c.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,i("slot",{key:"4f1f678c9edcef4f977f3677903b682f5bf723b4"})))}get rootElement(){return e(this)}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},l=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 e=0;e<s.length;e++){const a=s.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-list")}render(){var t,s;return i("div",{key:"ce54a7c3bef0090cf7aa0d6b11fedd6d3b4bbd07",class:h("db-tab-list",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},i("ul",{key:"8ac107177182afdde5163dee58917fa69b75e40c",role:"tablist"},i("slot",{key:"0d53d4b529c439784d7c66894b967b41fb9eb38d"})))}get rootElement(){return e(this)}},c=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 e=0;e<s.length;e++){const a=s.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),i.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-panel")}render(){var t,s;return i("section",{key:"86076593b5c38755ddd08bbb930bb8252b9e5e78",class:h("db-tab-panel",this.className),role:"tabpanel",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},this.content?this.content:null,i("slot",{key:"5069f16c7266dd495e8f9fb03c3bb69546976842"}))}get rootElement(){return e(this)}};export{n as db_tab_item,l as db_tab_list,c as db_tab_panel}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as a}from"./p-BGaQ0Bx8.js";import{s as e}from"./p-BdL-nI5y.js";import{e as d,s as n,g as o,p as h,c}from"./p-xkoBSP8R.js";const l=class{constructor(i){t(this,i),this.close=s(this,"close")}handleClose(t){t&&(t.stopPropagation(),this.close&&this.close.emit(t))}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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${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-notification")}render(){var t,s,a;return i("div",{key:"80b4682644b5cae7f09842e8683a9445f782055b",class:c("db-notification",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,role:h({semantic:this.semantic,role:this.role,ariaLive:this.ariaLive}),"aria-live":this.ariaLive,"data-semantic":this.semantic,"data-variant":this.variant,"data-icon":!1!==d(this.showIcon)?this.icon:void 0,"data-show-icon":o(this.showIcon),"data-link-variant":this.linkVariant},i("slot",{key:"4fc52fd9fff6357307c4bdc102c03082688b44cf",name:"image"}),n(this.headline,this.showHeadline)?i("header",{"data-area":"head"},this.headline):null,i("div",{key:"6d61a4b4966795950a3da5dba130734bd0bbb2d9","data-area":"content"},this.text?this.text:null,i("slot",{key:"f4ca4c620e00a203da07c3d0ce2974ade705f489"})),n(this.timestamp,this.showTimestamp)?i("time",{"data-area":"timestamp",dateTime:this.timestampDatetime},this.timestamp):null,i("slot",{key:"e1509dd146ff4288f96062e6286b47b495b388dc",name:"link"}),d(this.closeable,"closeable")?i("db-button",{icon:"cross",variant:"ghost",size:"small",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t)},null!==(a=this.closeButtonText)&&void 0!==a?a:e):null)}get rootElement(){return a(this)}};export{l as db_notification}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as a}from"./p-BGaQ0Bx8.js";import{g as d,e,c as n}from"./p-xkoBSP8R.js";const o=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 d=s.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))t.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)t.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"class"===d.name){const s=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(d.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(d.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,o;return i("button",{key:"ca13a30fcf43bcd6e043e3dc2bbcb94eb3347450",class:n("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:e(this.disabled,"disabled"),"data-icon":null!==(a=this.iconLeading)&&void 0!==a?a:this.icon,"data-show-icon":d(null!==(o=this.showIconLeading)&&void 0!==o?o:this.showIcon),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":d(this.showIconTrailing),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-wrap":d(this.wrap),"data-no-text":d(this.noText),name:this.name,form:this.form,value:this.value},this.text?this.text:null,i("slot",{key:"1f0aee6d7db3187db5575729569bfdd4c88c0e19"}))}get rootElement(){return a(this)}};export{o as db_button}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as a,g as e}from"./p-BGaQ0Bx8.js";import{c as i}from"./p-xkoBSP8R.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 e=0;e<s.length;e++){const i=s.item(e);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),a.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),a.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),e=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?`${d} `:""}${e}`),s?a.setAttribute("class","hydrated"):a.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-card")}render(){var t,s;return a("div",{key:"60e504447aed35763e41cf692507e28c4da6e893",class:i("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:"92301dedc9ece7f5b2bcbd5da726d402af788b31"}))}get rootElement(){return e(this)}};export{d as db_card}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as i}from"./p-BGaQ0Bx8.js";import{q as a}from"./p-BdL-nI5y.js";import{g as d,c as e}from"./p-xkoBSP8R.js";const n=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 d=s.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))t.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)t.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"class"===d.name){const s=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(d.name,`${e?`${e} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(d.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-brand")}render(){var t,i,n;return s("div",{key:"7695d23f214566e142e43ffba27403680f9af668",class:e("db-brand",this.className),ref:t=>{this._ref=t},"data-icon":this.hideLogo?"none":null!==(t=this.icon)&&void 0!==t?t:a,"data-show-icon":d(this.showIcon),id:null!==(i=this.id)&&void 0!==i?i:null===(n=this.propOverrides)||void 0===n?void 0:n.id},s("slot",{key:"8c0e42e72b53a0417274170d7785cc93392e5c1c"}),this.text?this.text:null)}get rootElement(){return i(this)}};export{n as db_brand}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as i}from"./p-BGaQ0Bx8.js";import{g as a,c as d}from"./p-xkoBSP8R.js";const o=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 d=s.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))t.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"data-density"!==d.name&&"class"!==d.name&&"style"===d.name)t.setAttribute(d.name,d.value),i.removeAttribute(d.name);else if(d&&"class"===d.name){const s=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(d.name,`${o?`${o} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(d.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,o,n;return s("div",{key:"ea6221c001dbf13b6e1d49cbf6b87b195c24a5d0",class:d("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!==(o=this.iconLeading)&&void 0!==o?o:this.icon,"data-show-icon":a(null!==(n=this.showIconLeading)&&void 0!==n?n:this.showIcon),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":a(this.showIconTrailing),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-no-text":a(this.noText)},s("slot",{key:"19220453bcb2323b8c540d60a1d12b85e0c07f4d"}))}get rootElement(){return i(this)}};export{o as db_custom_button}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-BGaQ0Bx8.js";import{l as a,f as d,g as e,h as c,k as l}from"./p-BdL-nI5y.js";import{h as n,d as o,s as r,u as v,e as u,l as f,c as b}from"./p-xkoBSP8R.js";import{a as w}from"./p-D5mInaY7.js";const m=class{constructor(s){t(this,s),this.change=i(this,"change"),this.blur=i(this,"blur"),this.focus=i(this,"focus"),this.initialized=!1,this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._descByIds=void 0,this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,i,s,h;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&this.required?(this._descByIds=this._validMessageId,n()&&(this._voiceOverFallback=null!==(h=this.validMessage)&&void 0!==h?h:l,o((()=>this._voiceOverFallback=""),1e3))):this._descByIds=r(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||a,n()&&(this._voiceOverFallback=this._invalidMessage,o((()=>this._voiceOverFallback=""),1e3)))}handleChange(t,i){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}resetIds(){var t,i,s;const h=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:`checkbox-${v()}`;this._id=h,this._messageId=h+d,this._validMessageId=h+e,this._invalidMessageId=h+c}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(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${h}`),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(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||a}watch1(){this.watch1Fn()}watch2Fn(){if(this._id){const t=this._id+d;this._messageId=t,this._validMessageId=this._id+e,this._invalidMessageId=this._id+c,r(this.message,this.showMessage)&&(this._descByIds=t),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._ref&&void 0!==this.indeterminate&&(this._ref.indeterminate=!!u(this.indeterminate))}watch3(){this.watch3Fn()}watch4Fn(){this.initialized&&this._ref&&(null!=this.checked&&(this._ref.checked=!!u(this.checked)),this.initialized=!1)}watch4(){this.watch4Fn()}watch5Fn(){if(this._ref){const t=void 0;let i=this.abortController;i||(i=new AbortController,this.abortController=i),w(this._ref,{checked:this.checked,defaultChecked:t},(t=>{this.handleChange(t,!0)}),i.signal)}}watch5(){this.watch5Fn()}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-checkbox"),this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||a,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn(),this.watch5Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t;return s("div",{key:"b4aa2acb183c25424a4c670c699410d7f8e67ad1",class:b("db-checkbox",this.className),"data-size":this.size,"data-hide-asterisk":f(this.showRequiredAsterisk),"data-hide-label":f(this.showLabel)},s("label",{key:"549e995c2d8c8105d086ad957d0141d802aa3e55",htmlFor:this._id},s("input",{key:"e2454be60370d672b523d9fd2efb422a7072d763",type:"checkbox","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:t=>{this._ref=t},id:this._id,name:this.name,checked:u(this.checked,"checked"),disabled:u(this.disabled,"disabled"),value:this.value,required:u(this.required,"required"),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),"aria-describedby":null!==(t=this.ariaDescribedBy)&&void 0!==t?t:this._descByIds}),this.label?this.label:null,s("slot",{key:"ce083db15ea772a5dd3fdf5e6a7c815029922b13"})),r(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||l):null,s("db-infotext",{key:"bde204976a10d8d7f54300c7b465a23e9492bcf3",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"7a8fe737edfae78c380f572b2cf5cec88fbd8edf","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return h(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch3:0},{watch4:0},{watch5:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch3:0},{watch4:0}],indeterminate:[{watch3:0}],checked:[{watch4:0}]}}};export{m as db_checkbox}
@@ -1,2 +0,0 @@
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("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 +0,0 @@
1
- import{u as t}from"./p-xkoBSP8R.js";class s{static runCallbacks(t){for(const o of Object.values(s.callbacks))"function"==typeof o&&o(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(o){const l=t();return s.callbacks[l]=o,l}removeCallback(t){delete s.callbacks[t]}}s.callbacks={},s._instance=null;export{s as D}
@@ -1 +0,0 @@
1
- import{u as t}from"./p-xkoBSP8R.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 o=t();return c.callbacks[o]=l,o}removeCallback(t){delete c.callbacks[t]}}c.callbacks={},c._instance=null;export{c as D}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as a}from"./p-BGaQ0Bx8.js";import{c as d,g as s}from"./p-xkoBSP8R.js";const i=class{constructor(e){t(this,e),this.fontsLoaded=!1}enableAttributePassing(t,e){const a=null==t?void 0:t.closest(e);if(t&&a){const e=a.attributes;for(let d=0;d<e.length;d++){const s=e.item(d);if(s&&"data-density"!==s.name&&(s.name.startsWith("data-")||s.name.startsWith("aria-")))t.setAttribute(s.name,s.value),a.removeAttribute(s.name);else if(s&&"data-density"!==s.name&&"class"!==s.name&&"style"===s.name)t.setAttribute(s.name,s.value),a.removeAttribute(s.name);else if(s&&"class"===s.name){const e=s.value.includes("hydrated"),d=s.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(s.name,`${i?`${i} `:""}${d}`),e?a.setAttribute("class","hydrated"):a.removeAttribute(s.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-page"),this.fontsLoaded=!this.fadeIn,document&&this.fadeIn?document.fonts.ready.then((()=>{this.fontsLoaded=!0})):this.fontsLoaded=!0}disconnectedCallback(){"undefined"!=typeof window&&document.documentElement.classList.contains("db-page-document")&&document.documentElement.classList.remove("db-page-document")}render(){var t,a;return e("div",{key:"ff82686603b48757d15136f99ffee2e8261a0868",class:d("db-page",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-variant":this.variant,"data-fade-in":s(this.fadeIn),"data-fonts-loaded":s(this.fontsLoaded)},e("slot",{key:"b545b6a529c6502b6d9acaf4349056f9b191b47f",name:"header"}),e("main",{key:"67fe344765eb3dabbb1e6882e653142522ba7e20",class:d("db-main",this.mainClass)},e("slot",{key:"5ab992699f2db9d811124d9ad0955e94c816896a"})),e("slot",{key:"2c0e00536dcac7decddc76aacc13b58989b02464",name:"footer"}))}get rootElement(){return a(this)}};export{i as db_page}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as a}from"./p-BGaQ0Bx8.js";import{e,g as h,c}from"./p-xkoBSP8R.js";const d=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._open=!1,this._name=void 0,this.initialized=!1}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleToggle(t){null==t||t.preventDefault();const s=!this._open;this.toggle&&this.toggle.emit(s),void 0===this.open&&(this._open=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 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(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}watch2Fn(){const t=e(this.open,"open");void 0!==t&&(this._open=t)}watch2(){this.watch2Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-accordion-item"),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}render(){var t,s;return i("li",{key:"7bfcb3c0b3bc70446504054b267ad2747a7360ef",class:c("db-accordion-item",this.className),id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},i("details",{key:"18345f01252d5c48e3e22b0f9fa7258afb2aa77b","aria-disabled":h(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"8ce63298f1899cbe77d1eda2a71135aa74e9049d",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"3b2275eba655b47e08af48d0fd49e68e7cd40a4a"},this.text?this.text:null,i("slot",{key:"52caf8709e1f54d69ad7433365146565609248ac"}))))}get rootElement(){return a(this)}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}],open:[{watch2:0}]}}};export{d as db_accordion_item}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as e}from"./p-BGaQ0Bx8.js";import{c as d}from"./p-xkoBSP8R.js";const o=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 o=s.item(d);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))t.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"data-density"!==o.name&&"class"!==o.name&&"style"===o.name)t.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"class"===o.name){const s=o.value.includes("hydrated"),d=o.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(o.name,`${c?`${c} `:""}${d}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(o.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-form-field")}render(){var t,e;return s("summary",{key:"e438005a75d6d93c62b6e04bce4f99cee7f73619",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:"1dc82e35d01ac41cde18cb033d657ec7f53886b8"}))}get rootElement(){return e(this)}};export{o as db_custom_select_form_field}
@@ -1 +0,0 @@
1
- import{r as t,h as i,g as s,c as a}from"./p-BGaQ0Bx8.js";import{c as e,e as h,g as d,h as o,d as n,s as l,i as c,u as r,k as u,f,j as v,b,l as m}from"./p-xkoBSP8R.js";import{l as y,f as p,g,h as w,j as k,k as x,b as $,a as _,m as F}from"./p-BdL-nI5y.js";import{c as L}from"./p-D5mInaY7.js";const B=class{constructor(i){t(this,i),this.width="fixed"}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)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-dropdown")}render(){var t,s;return i("article",{key:"a2f23f8c268d6b06b03e58ca3abc998b7f741301",class:e("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-width":this.width},i("slot",{key:"f2fd945d779fefe9d1b379d95d11c5ae60689818"}))}get rootElement(){return s(this)}},C=class{constructor(i){t(this,i)}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)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-list")}render(){var t,s;return i("div",{key:"f62ebf87384969fa7c299ed23062d15ac4d08e9d",class:e("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,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("ul",{key:"a6071f83a292171bc101a797adb98dc976a18e34"},i("slot",{key:"6a18c02b91c91890a0d4b73e2b718c046b278f29"})))}get rootElement(){return s(this)}},D=class{constructor(i){t(this,i),this.change=a(this,"change"),this.hasDivider=!1}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return h(this.checked,"checked")?"check":"x_placeholder"}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(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this.watch0Fn()}render(){var t,s;return i("li",{key:"67c52a98bf21203bd6f5f14617ec32d2e81f29e4",class:e("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-divider":d(this.hasDivider)},this.isGroupTitle?i("span",null,this.groupTitle):i("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":d(this.showIcon),"data-icon-trailing":this.getIconTrailing()},i("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:h(this.checked,"checked"),disabled:h(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:null,i("slot",null)))}get rootElement(){return s(this)}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},A=class{constructor(i){t(this,i),this.input=a(this,"input"),this.change=a(this,"change"),this.blur=a(this,"blur"),this.focus=a(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var t;return!!(null!==(t=this.validMessage)&&void 0!==t?t:"valid"===this.validation)}handleValidation(){var t,i,s,a;(null===(t=this._ref)||void 0===t?void 0:t.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,o()&&(this._voiceOverFallback=null!==(a=this.validMessage)&&void 0!==a?a:x,n((()=>this._voiceOverFallback=""),1e3))):this._descByIds=l(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||y,o()&&(this._voiceOverFallback=this._invalidMessage,n((()=>this._voiceOverFallback=""),1e3)))}handleInput(t,i){this.input&&this.input.emit(t),this.handleValidation()}handleChange(t,i){this.change&&this.change.emit(t),this.handleValidation()}handleBlur(t){this.blur&&this.blur.emit(t)}handleFocus(t){this.focus&&this.focus.emit(t)}getDataList(){const t=this.dataList;return Array.from((c(t)?null==t?void 0:t.map((t=>({value:t,label:void 0}))):t)||[])}resetIds(){var t,i,s;const a=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:`input-${r()}`;this._id=a,this._messageId=a+p,this._validMessageId=a+g,this._invalidMessageId=a+w,this._dataListId=a+k}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(){var t;this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||y}watch1(){this.watch1Fn()}watch2Fn(){var t;if(this._id){const i=this._id+p;this._messageId=i,this._validMessageId=this._id+g,this._invalidMessageId=this._id+w,this._dataListId=null!==(t=this.dataListId)&&void 0!==t?t:this._id+k,l(this.message,this.showMessage)&&(this._descByIds=i),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._value=this.value}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const t=void 0;let i=this.abortController;i||(i=new AbortController,this.abortController=i),L(this._ref,{value:this.value,defaultValue:t},(t=>{this.handleChange(t,!0),this.handleInput(t,!0)}),i.signal)}}watch4(){this.watch4Fn()}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-input"),this.resetIds(),this._invalidMessage=this.invalidMessage||y,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var t;null===(t=this.abortController)||void 0===t||t.abort()}render(){var t,s,a,o,n,c,r,y,p;return i("div",{key:"09f1dff4d884168cb140705b0f310519e60e3aa2",class:e("db-input",this.className),"data-variant":this.variant,"data-hide-label":m(this.showLabel),"data-show-icon":d(null!==(t=this.showIconLeading)&&void 0!==t?t:this.showIcon),"data-icon":null!==(s=this.iconLeading)&&void 0!==s?s:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":m(this.showRequiredAsterisk),"data-show-icon-trailing":d(this.showIconTrailing)},i("label",{key:"17c5e2ddca81cd88f5fbc5d0b5024fb833aff026",htmlFor:this._id},null!==(a=this.label)&&void 0!==a?a:_),i("input",{key:"ed0381ce65f0a89035804412d736adf3b6e0aea1","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:t=>{this._ref=t},id:this._id,name:this.name,type:this.type||"text",multiple:h(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(o=this.placeholder)&&void 0!==o?o:$,disabled:h(this.disabled,"disabled"),required:h(this.required,"required"),step:v(this.step),value:null!==(c=null!==(n=this.value)&&void 0!==n?n:this._value)&&void 0!==c?c:"",maxLength:f(this.maxLength,this.maxlength),minLength:f(this.minLength,this.minlength),max:u(this.max,this.type),min:u(this.min,this.type),readOnly:h(this.readOnly,"readOnly")||h(this.readonly,"readonly"),form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:h(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onBlur:t=>this.handleBlur(t),onFocus:t=>this.handleFocus(t),list:this.dataList&&this._dataListId,"aria-describedby":null!==(r=this.ariaDescribedBy)&&void 0!==r?r:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(y=this.type)&&void 0!==y?y:"")&&b()?"textbox":void 0}),this.dataList?i("datalist",{id:this._dataListId},null===(p=this.getDataList())||void 0===p?void 0:p.map((t=>i("option",{key:this._dataListId+"-option-"+t.value,value:t.value},t.label)))):null,i("slot",{key:"e7c51c3d97314fd153f606a346244dac365171e5"}),l(this.message,this.showMessage)?i("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?i("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||x):null,i("db-infotext",{key:"f92de27dbfd942534f83a83d181b533fc0b4a6e2",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),i("span",{key:"af168dd9e11d853f76db0edee198a744d36a228d","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return s(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}}},j=class{constructor(i){t(this,i),this.remove=a(this,"remove")}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:F}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)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tag")}render(){var t,s,a;return i("div",{key:"85b02f290e8323ddd9a61ee5cf15893e7bc0cdab",class:e("db-tag",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-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":d(null===(a=this.showCheckState)||void 0===a||a),"data-show-icon":d(this.showIcon),"data-no-text":d(this.noText),"data-overflow":d(this.overflow)},i("slot",{key:"3aefef41d0a30b8f979e43146936be56a1d9181b",name:"content"}),this.text?this.text:null,i("slot",{key:"e283aefd212ea8c7f7eab8da48ed19a7f4763e38"}),"removable"===this.behavior?i("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},i("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}get rootElement(){return s(this)}};export{B as db_custom_select_dropdown,C as db_custom_select_list,D as db_custom_select_list_item,A as db_input,j as db_tag}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as i}from"./p-BGaQ0Bx8.js";import{c as a}from"./p-xkoBSP8R.js";const e=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 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(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${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-icon")}render(){var t,i;return s("span",{key:"004fb7b91cd27bc452f4777dfd68183bd4bfeaab",class:a("db-icon",this.className),"aria-hidden":"true",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":this.icon,"data-icon-weight":this.weight,"data-icon-variant":this.variant},this.text?this.text:null,s("slot",{key:"e9b5fbdefc6cf80abff634c60966ad719985e2be"}))}get rootElement(){return i(this)}};export{e as db_icon}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as s,F as h,g as a}from"./p-BGaQ0Bx8.js";import{l as d,f as l,g as e,h as o,i as n,k as c,a as r}from"./p-BdL-nI5y.js";import{h as v,d as u,s as f,u as p,e as b,g as m,l as w,c as y}from"./p-xkoBSP8R.js";import{c as k}from"./p-D5mInaY7.js";const g=class{constructor(s){i(this,s),this.click=t(this,"click"),this.input=t(this,"input"),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._placeholderId="",this._descByIds=void 0,this._value="",this.initialized=!1,this._voiceOverFallback="",this.abortController=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,h;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&this.required?(this._descByIds=this._validMessageId,v()&&(this._voiceOverFallback=null!==(h=this.validMessage)&&void 0!==h?h:c,u((()=>this._voiceOverFallback=""),1e3))):this._descByIds=f(this.message,this.showMessage)?this._messageId:this.placeholder?this._placeholderId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||d,v()&&(this._voiceOverFallback=this._invalidMessage,u((()=>this._voiceOverFallback=""),1e3)))}handleClick(i){this.click&&this.click.emit(i)}handleInput(i,t){this.input&&this.input.emit(i),this.handleValidation()}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}getOptionLabel(i){var t,s;return null!==(t=i.label)&&void 0!==t?t:null===(s=i.value)||void 0===s?void 0:s.toString()}shouldShowEmptyOption(){return!("floating"!==this.variant&&!this.placeholder)&&(void 0!==this.showEmptyOption?this.showEmptyOption:!this.required)}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:`select-${p()}`;this._id=h,this._messageId=h+l,this._validMessageId=h+e,this._invalidMessageId=h+o,this._placeholderId=h+n}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 a=t.item(h);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const t=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),d=i.getAttribute("class");i.setAttribute(a.name,`${d?`${d} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.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(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||d}watch1(){this.watch1Fn()}watch2Fn(){if(this._id&&this.initialized){const i=this._id+l,t=this._id+n;this._messageId=i,this._validMessageId=this._id+e,this._invalidMessageId=this._id+o,this._placeholderId=t,this._descByIds=f(this.message,this.showMessage)?i:this.placeholder?t:void 0,this.handleValidation(),this.initialized=!1}}watch2(){this.watch2Fn()}watch3Fn(){this._value=this.value}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),k(this._ref,{value:this.value,defaultValue:i},(i=>{this.handleChange(i,!0),this.handleInput(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}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-select"),this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||d,this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var i;null===(i=this.abortController)||void 0===i||i.abort()}render(){var i,t,a,d,l,e;return s("div",{key:"3dd83828aaa06217389cf635687da0070ae88f56",class:y("db-select",this.className),"data-variant":this.variant,"data-hide-label":w(this.showLabel),"data-hide-asterisk":w(this.showRequiredAsterisk),"data-icon":this.icon,"data-show-icon":m(this.showIcon)},s("label",{key:"8fe580a4172003361a5c16551c4965882dbb3ce0",htmlFor:this._id},null!==(i=this.label)&&void 0!==i?i:r),s("select",{key:"2f0ba052dafae5d44c27442eb4c27fa117c6ba76","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},required:b(this.required,"required"),disabled:b(this.disabled,"disabled"),id:this._id,name:this.name,size:this.size,value:null!==(a=null!==(t=this.value)&&void 0!==t?t:this._value)&&void 0!==a?a:void 0,autocomplete:this.autocomplete,multiple:this.multiple,onInput:i=>this.handleInput(i),onClick:i=>this.handleClick(i),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(d=this.ariaDescribedBy)&&void 0!==d?d:this._descByIds},"floating"===this.variant||this.placeholder?s("option",{class:"placeholder",value:"","data-show-empty-option":m(this.shouldShowEmptyOption())}):null,(null===(l=this.options)||void 0===l?void 0:l.length)?null===(e=this.options)||void 0===e?void 0:e.map((i=>{var t;return s(h,null,i.options?s("optgroup",{label:this.getOptionLabel(i),key:void 0},null===(t=i.options)||void 0===t?void 0:t.map((i=>s("option",{value:i.value,selected:i.selected,disabled:i.disabled,key:void 0},this.getOptionLabel(i))))):s("option",{value:i.value,disabled:i.disabled,selected:i.selected,key:void 0},this.getOptionLabel(i)))})):s("slot",null)),this.placeholder?s("span",{class:"db-select-placeholder",id:this._placeholderId},this.placeholder):null,f(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||c):null,s("db-infotext",{key:"34ca1d025c67dc018375d56651a7f0ae1d2e245f",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"6f64314bcf457ddd86b3695e314125cca14d10d1","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return a(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch2:0}],value:[{watch3:0}]}}};export{g as db_select}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as a}from"./p-BGaQ0Bx8.js";import{c as e}from"./p-xkoBSP8R.js";const i=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 e=0;e<s.length;e++){const i=s.item(e);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),a.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),a.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),e=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?`${d} `:""}${e}`),s?a.setAttribute("class","hydrated"):a.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-navigation")}render(){var t,a;return s("nav",{key:"33d5425a509a5d224245fcde89b66bb129d3fb57",class:e("db-navigation",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},s("menu",{key:"796fbbd89657a52bbd7e932efe96ff62726bf5ea"},s("slot",{key:"df8847f6522250c540acc1154201d1c6bfbbce07"})))}get rootElement(){return a(this)}};export{i as db_navigation}
@@ -1 +0,0 @@
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,r)=>{Object.values(n.children).forEach((n=>{n.setAttribute(r.key,r.value),n.children.length>0&&e(n,r)}))},r=(...n)=>{let e="";for(const r of n)if(r)if("string"==typeof r)e+=`${r} `;else for(const n in r)r[n]&&(e+=`${n} `);return e.trim()},i=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),r=!!n.match(/Safari/)&&!n.match(/CriOS|FxiOS|OPiOS|EdgiOS/);return e&&r},u=(n,e)=>new Promise((()=>setTimeout(n,e))),s=n=>{if(null!=n)return String("string"==typeof n?"true"===n:n)},l=(n,e)=>{if(null!=n)return"string"==typeof n?Boolean(e===n||"true"===n):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)},c=(n,e)=>e&&["number","range"].includes(e)?f(n):n,w=n=>"string"==typeof n?"true"===n:n,y=n=>{if(null!=n)return s(!w(n))},p=(n,e)=>void 0===e?!!n:w(e)&&Boolean(n),v=n=>n.querySelector('input[type="search"]'),g=(e,r)=>{var i,t;return`${r}${null!==(t=null!==(i=e.id)&&void 0!==i?i:e.value)&&void 0!==t?t:n()}`},m=n=>void 0!==n.key,h=({semantic:n,role:e,ariaLive:r})=>{if(e)return e;if(r)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,r as c,u as d,l as e,f,s as g,a as h,i,d as j,c as k,y as l,v as m,g as n,m as o,h as p,p as s,n as u}