@solid-design-system/components 6.0.0-next.1 → 6.0.0-next.3

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 (764) hide show
  1. package/cdn/chunks/chunk.2PZOUYOE.js +1 -0
  2. package/{cdn-versioned/chunks/chunk.Y5YIYPZY.js → cdn/chunks/chunk.3DB2ELEL.js} +2 -1
  3. package/cdn/chunks/{chunk.4M5X22ZY.js → chunk.3KWSM3HE.js} +13 -3
  4. package/{cdn-versioned/chunks/chunk.7Y7B3ZHS.js → cdn/chunks/chunk.3ZRUHOGI.js} +3 -2
  5. package/cdn/chunks/{chunk.MWATMP25.js → chunk.5G7ZOEWT.js} +3 -2
  6. package/{cdn-versioned/chunks/chunk.V2C7MUP4.js → cdn/chunks/chunk.5PA35WD2.js} +2 -1
  7. package/cdn/chunks/chunk.5TUC644H.js +2 -0
  8. package/cdn/chunks/{chunk.UNPDSLAW.js → chunk.5ZPLQS6G.js} +2 -1
  9. package/cdn/chunks/chunk.5ZYFWIRD.js +2 -0
  10. package/cdn/chunks/chunk.635MGLIZ.js +1 -0
  11. package/cdn/chunks/chunk.63IQ23S4.js +5 -0
  12. package/{cdn-versioned/chunks/chunk.FLR2H3FJ.js → cdn/chunks/chunk.66LOVPZM.js} +2 -1
  13. package/cdn/chunks/chunk.66OZDVLX.js +2 -0
  14. package/cdn/chunks/chunk.6GHBG4PY.js +2 -0
  15. package/cdn/chunks/{chunk.5UQI3XST.js → chunk.6Q6FRPBQ.js} +2 -1
  16. package/cdn/chunks/{chunk.ORGDOUKL.js → chunk.6XTQ6373.js} +2 -1
  17. package/cdn/chunks/{chunk.7W3VKGUN.js → chunk.6ZXO6XV7.js} +2 -1
  18. package/cdn/chunks/{chunk.4RPCNF2P.js → chunk.7BPPDSHY.js} +1 -1
  19. package/cdn/chunks/{chunk.DSTXKNIF.js → chunk.7JAXJRX2.js} +2 -1
  20. package/cdn/chunks/{chunk.QYPTGASF.js → chunk.ALIY2YIR.js} +2 -1
  21. package/cdn/chunks/{chunk.C2ZXPUMP.js → chunk.AZC2MB6N.js} +2 -1
  22. package/cdn/chunks/chunk.BL5NWLDW.js +4 -0
  23. package/cdn/chunks/chunk.BTMWUMPI.js +2 -0
  24. package/cdn/chunks/chunk.CIAY7P3F.js +1 -0
  25. package/cdn/chunks/{chunk.RSDBGHJ5.js → chunk.CINQCAVV.js} +2 -1
  26. package/cdn/chunks/{chunk.M2N4WAPT.js → chunk.E7DVDO4P.js} +2 -1
  27. package/cdn/chunks/{chunk.G63DCZGX.js → chunk.EGKVLCBO.js} +2 -1
  28. package/cdn/chunks/{chunk.4YZ4KROO.js → chunk.EIG3V7LV.js} +2 -1
  29. package/cdn/chunks/chunk.ESKMS5I6.js +1 -0
  30. package/cdn/chunks/chunk.F3OBG73C.js +2 -0
  31. package/{cdn-versioned/chunks/chunk.HUBTWWPV.js → cdn/chunks/chunk.FYS76H7M.js} +2 -1
  32. package/cdn/chunks/chunk.GZN62V5M.js +2 -0
  33. package/cdn/chunks/{chunk.PDUOJFNW.js → chunk.H7N4XIFF.js} +2 -1
  34. package/cdn/chunks/chunk.HAL7R4WT.js +1 -0
  35. package/{cdn-versioned/chunks/chunk.TV2UJIXM.js → cdn/chunks/chunk.HO5NN73W.js} +2 -1
  36. package/cdn/chunks/{chunk.SXTBHH2H.js → chunk.HWXFA3JT.js} +2 -1
  37. package/{cdn-versioned/chunks/chunk.DIHLJO6E.js → cdn/chunks/chunk.IQUVFHYA.js} +2 -1
  38. package/cdn/chunks/{chunk.E3TEJ4ZB.js → chunk.J3HOSC6V.js} +2 -1
  39. package/cdn/chunks/{chunk.67DVLBYJ.js → chunk.J4LE3LKP.js} +2 -1
  40. package/cdn/chunks/{chunk.BBOBWBNZ.js → chunk.JGU23CP4.js} +2 -1
  41. package/cdn/chunks/{chunk.HENAIYMS.js → chunk.KL3CEU6E.js} +3 -2
  42. package/cdn/chunks/chunk.MPLKGS34.js +2 -0
  43. package/cdn/chunks/{chunk.HRDUPPPV.js → chunk.MQ6HTONQ.js} +2 -1
  44. package/cdn/chunks/{chunk.LHS24BGL.js → chunk.MWU6TZ4N.js} +2 -1
  45. package/cdn/chunks/chunk.NMHY6H5N.js +12 -0
  46. package/cdn/chunks/{chunk.JGXVSXPF.js → chunk.OXYZANQK.js} +2 -1
  47. package/{cdn-versioned/chunks/chunk.26HHFQWN.js → cdn/chunks/chunk.P3QDLITO.js} +2 -1
  48. package/cdn/chunks/chunk.PES7MZKA.js +26 -0
  49. package/cdn/chunks/{chunk.XVMFX57F.js → chunk.Q36WGVZ7.js} +3 -2
  50. package/cdn/chunks/{chunk.MFRJ3Q5R.js → chunk.RJVGGY3Q.js} +2 -1
  51. package/cdn/chunks/{chunk.NRCPFRMF.js → chunk.RXQYBUHG.js} +2 -1
  52. package/cdn/chunks/chunk.S4EKTV5A.js +2 -0
  53. package/cdn/chunks/{chunk.YBE5NEA5.js → chunk.S5SNELX3.js} +2 -1
  54. package/cdn/chunks/{chunk.2P4WUDA5.js → chunk.U6FGIHUI.js} +2 -1
  55. package/cdn/chunks/chunk.URYTIP6C.js +2 -0
  56. package/cdn/chunks/chunk.US3OB3XU.js +1 -0
  57. package/cdn/chunks/{chunk.S7E3HBEA.js → chunk.UVDP4CO5.js} +2 -1
  58. package/cdn/chunks/chunk.VA5ZPE34.js +2 -0
  59. package/cdn/chunks/chunk.VGYX7TTE.js +2 -0
  60. package/cdn/chunks/{chunk.52TE5XAY.js → chunk.VHHOKYE5.js} +2 -1
  61. package/{cdn-versioned/chunks/chunk.D3B4IY6Q.js → cdn/chunks/chunk.WUWSF33N.js} +2 -1
  62. package/{cdn-versioned/chunks/chunk.YBBEF7BY.js → cdn/chunks/chunk.XG6CO665.js} +2 -1
  63. package/cdn/chunks/{chunk.TFMNMOPY.js → chunk.XHDZVSCR.js} +2 -1
  64. package/cdn/chunks/chunk.XIRAK67B.js +13 -0
  65. package/cdn/chunks/{chunk.SM5DG4D5.js → chunk.YL7YHMIF.js} +3 -2
  66. package/cdn/chunks/{chunk.7AEASDWK.js → chunk.YUPZE4GS.js} +2 -1
  67. package/cdn/chunks/chunk.YXMHHML2.js +2 -0
  68. package/cdn/chunks/chunk.ZATYZ65D.js +2 -0
  69. package/cdn/components/accordion/accordion.js +1 -1
  70. package/cdn/components/accordion-group/accordion-group.js +1 -1
  71. package/cdn/components/animation/animation.js +1 -1
  72. package/cdn/components/audio/audio.js +1 -1
  73. package/cdn/components/badge/badge.js +1 -1
  74. package/cdn/components/brandshape/brandshape.js +1 -1
  75. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  76. package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +0 -1
  77. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  78. package/cdn/components/button/button.js +1 -1
  79. package/cdn/components/button-group/button-group.js +1 -1
  80. package/cdn/components/carousel/carousel.js +1 -1
  81. package/cdn/components/carousel-item/carousel-item.js +1 -1
  82. package/cdn/components/checkbox/checkbox.js +1 -1
  83. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  84. package/cdn/components/combobox/combobox.js +1 -1
  85. package/cdn/components/datepicker/datepicker.d.ts +119 -0
  86. package/cdn/components/datepicker/datepicker.js +1 -0
  87. package/cdn/components/dialog/dialog.js +1 -1
  88. package/cdn/components/divider/divider.js +1 -1
  89. package/cdn/components/drawer/drawer.js +1 -1
  90. package/cdn/components/dropdown/dropdown.js +1 -1
  91. package/cdn/components/expandable/expandable.js +1 -1
  92. package/cdn/components/flipcard/flipcard.js +1 -1
  93. package/cdn/components/header/header.js +1 -1
  94. package/cdn/components/icon/icon.d.ts +1 -2
  95. package/cdn/components/icon/icon.js +1 -1
  96. package/cdn/components/icon/library.d.ts +1 -1
  97. package/cdn/components/icon/library.internal.d.ts +4 -0
  98. package/cdn/components/icon/library.internal.js +1 -1
  99. package/cdn/components/icon/library.js +1 -1
  100. package/cdn/components/include/include.js +1 -1
  101. package/cdn/components/input/input.js +1 -1
  102. package/cdn/components/link/link.js +1 -1
  103. package/cdn/components/loader/loader.js +1 -1
  104. package/cdn/components/map-marker/map-marker.js +1 -1
  105. package/cdn/components/menu/menu.js +1 -1
  106. package/cdn/components/menu-item/menu-item.js +1 -1
  107. package/cdn/components/navigation-item/navigation-item.js +1 -1
  108. package/cdn/components/notification/notification.js +1 -1
  109. package/cdn/components/optgroup/optgroup.js +1 -1
  110. package/cdn/components/option/option.js +1 -1
  111. package/cdn/components/popup/popup.js +1 -1
  112. package/cdn/components/quickfact/quickfact.js +1 -1
  113. package/cdn/components/radio/radio.js +1 -1
  114. package/cdn/components/radio-button/radio-button.js +1 -1
  115. package/cdn/components/radio-group/radio-group.js +1 -1
  116. package/cdn/components/range/range.d.ts +1 -1
  117. package/cdn/components/range/range.js +1 -1
  118. package/cdn/components/range-tick/range-tick.js +1 -1
  119. package/cdn/components/scrollable/scrollable.js +1 -1
  120. package/cdn/components/select/select.js +1 -1
  121. package/cdn/components/spinner/spinner.js +1 -1
  122. package/cdn/components/step/step.js +1 -1
  123. package/cdn/components/step-group/step-group.js +1 -1
  124. package/cdn/components/switch/switch.js +1 -1
  125. package/cdn/components/tab/tab.js +1 -1
  126. package/cdn/components/tab-group/tab-group.js +1 -1
  127. package/cdn/components/tab-panel/tab-panel.js +1 -1
  128. package/cdn/components/tag/tag.js +1 -1
  129. package/cdn/components/teaser/teaser.js +1 -1
  130. package/cdn/components/teaser-media/teaser-media.js +1 -1
  131. package/cdn/components/textarea/textarea.js +1 -1
  132. package/cdn/components/theme-listener/theme-listener.d.ts +4 -1
  133. package/cdn/components/theme-listener/theme-listener.js +1 -1
  134. package/cdn/components/tooltip/tooltip.js +1 -1
  135. package/cdn/components/video/video.js +1 -1
  136. package/cdn/custom-elements.json +1075 -167
  137. package/cdn/internal/solid-element.d.ts +5 -3
  138. package/cdn/internal/solid-element.js +12 -8
  139. package/cdn/solid-components.bundle.js +106 -37
  140. package/cdn/solid-components.css +1 -0
  141. package/cdn/solid-components.d.ts +1 -0
  142. package/cdn/solid-components.iife.js +106 -37
  143. package/cdn/solid-components.js +1 -1
  144. package/cdn/translations/de.js +1 -1
  145. package/cdn/translations/en.js +1 -1
  146. package/cdn/utilities/autocomplete-config.js +1 -1
  147. package/cdn/utilities/date.d.ts +9 -0
  148. package/cdn/utilities/date.js +1 -0
  149. package/cdn/utilities/icon-library.js +1 -1
  150. package/cdn/utilities/localize.d.ts +14 -1
  151. package/cdn/utilities/localize.js +1 -1
  152. package/cdn/vscode.html-custom-data.json +148 -15
  153. package/cdn/web-types.json +389 -25
  154. package/cdn-versioned/chunks/chunk.2PZOUYOE.js +1 -0
  155. package/{cdn/chunks/chunk.Y5YIYPZY.js → cdn-versioned/chunks/chunk.3DB2ELEL.js} +2 -1
  156. package/cdn-versioned/chunks/{chunk.4M5X22ZY.js → chunk.3KWSM3HE.js} +13 -3
  157. package/{cdn/chunks/chunk.7Y7B3ZHS.js → cdn-versioned/chunks/chunk.3ZRUHOGI.js} +3 -2
  158. package/cdn-versioned/chunks/{chunk.MWATMP25.js → chunk.5G7ZOEWT.js} +5 -4
  159. package/{cdn/chunks/chunk.V2C7MUP4.js → cdn-versioned/chunks/chunk.5PA35WD2.js} +2 -1
  160. package/cdn-versioned/chunks/chunk.5TUC644H.js +2 -0
  161. package/cdn-versioned/chunks/{chunk.UNPDSLAW.js → chunk.5ZPLQS6G.js} +2 -1
  162. package/cdn-versioned/chunks/chunk.5ZYFWIRD.js +2 -0
  163. package/cdn-versioned/chunks/chunk.635MGLIZ.js +1 -0
  164. package/cdn-versioned/chunks/chunk.63IQ23S4.js +5 -0
  165. package/{cdn/chunks/chunk.FLR2H3FJ.js → cdn-versioned/chunks/chunk.66LOVPZM.js} +2 -1
  166. package/cdn-versioned/chunks/chunk.66OZDVLX.js +2 -0
  167. package/cdn-versioned/chunks/chunk.6GHBG4PY.js +2 -0
  168. package/cdn-versioned/chunks/{chunk.5UQI3XST.js → chunk.6Q6FRPBQ.js} +2 -1
  169. package/cdn-versioned/chunks/chunk.6XTQ6373.js +2 -0
  170. package/cdn-versioned/chunks/{chunk.7W3VKGUN.js → chunk.6ZXO6XV7.js} +2 -1
  171. package/cdn-versioned/chunks/{chunk.4RPCNF2P.js → chunk.7BPPDSHY.js} +1 -1
  172. package/cdn-versioned/chunks/{chunk.DSTXKNIF.js → chunk.7JAXJRX2.js} +2 -1
  173. package/cdn-versioned/chunks/{chunk.QYPTGASF.js → chunk.ALIY2YIR.js} +2 -1
  174. package/cdn-versioned/chunks/{chunk.C2ZXPUMP.js → chunk.AZC2MB6N.js} +2 -1
  175. package/cdn-versioned/chunks/chunk.BL5NWLDW.js +4 -0
  176. package/cdn-versioned/chunks/chunk.BTMWUMPI.js +2 -0
  177. package/cdn-versioned/chunks/chunk.CDP46OS4.js +1 -1
  178. package/cdn-versioned/chunks/chunk.CIAY7P3F.js +1 -0
  179. package/cdn-versioned/chunks/{chunk.RSDBGHJ5.js → chunk.CINQCAVV.js} +2 -1
  180. package/cdn-versioned/chunks/{chunk.M2N4WAPT.js → chunk.E7DVDO4P.js} +3 -2
  181. package/cdn-versioned/chunks/{chunk.G63DCZGX.js → chunk.EGKVLCBO.js} +2 -1
  182. package/cdn-versioned/chunks/{chunk.4YZ4KROO.js → chunk.EIG3V7LV.js} +2 -1
  183. package/cdn-versioned/chunks/chunk.ESKMS5I6.js +1 -0
  184. package/cdn-versioned/chunks/chunk.F3OBG73C.js +2 -0
  185. package/{cdn/chunks/chunk.HUBTWWPV.js → cdn-versioned/chunks/chunk.FYS76H7M.js} +2 -1
  186. package/cdn-versioned/chunks/chunk.GZN62V5M.js +2 -0
  187. package/cdn-versioned/chunks/{chunk.PDUOJFNW.js → chunk.H7N4XIFF.js} +2 -1
  188. package/cdn-versioned/chunks/chunk.HAL7R4WT.js +1 -0
  189. package/{cdn/chunks/chunk.TV2UJIXM.js → cdn-versioned/chunks/chunk.HO5NN73W.js} +2 -1
  190. package/cdn-versioned/chunks/chunk.HWXFA3JT.js +2 -0
  191. package/{cdn/chunks/chunk.DIHLJO6E.js → cdn-versioned/chunks/chunk.IQUVFHYA.js} +2 -1
  192. package/cdn-versioned/chunks/{chunk.E3TEJ4ZB.js → chunk.J3HOSC6V.js} +2 -1
  193. package/cdn-versioned/chunks/{chunk.67DVLBYJ.js → chunk.J4LE3LKP.js} +2 -1
  194. package/cdn-versioned/chunks/{chunk.BBOBWBNZ.js → chunk.JGU23CP4.js} +3 -2
  195. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -1
  196. package/cdn-versioned/chunks/{chunk.HENAIYMS.js → chunk.KL3CEU6E.js} +3 -2
  197. package/cdn-versioned/chunks/chunk.MPLKGS34.js +2 -0
  198. package/cdn-versioned/chunks/{chunk.HRDUPPPV.js → chunk.MQ6HTONQ.js} +2 -1
  199. package/cdn-versioned/chunks/{chunk.LHS24BGL.js → chunk.MWU6TZ4N.js} +2 -1
  200. package/cdn-versioned/chunks/chunk.NMHY6H5N.js +12 -0
  201. package/cdn-versioned/chunks/{chunk.JGXVSXPF.js → chunk.OXYZANQK.js} +3 -2
  202. package/{cdn/chunks/chunk.26HHFQWN.js → cdn-versioned/chunks/chunk.P3QDLITO.js} +2 -1
  203. package/cdn-versioned/chunks/chunk.PES7MZKA.js +26 -0
  204. package/cdn-versioned/chunks/{chunk.XVMFX57F.js → chunk.Q36WGVZ7.js} +5 -4
  205. package/cdn-versioned/chunks/{chunk.MFRJ3Q5R.js → chunk.RJVGGY3Q.js} +2 -1
  206. package/cdn-versioned/chunks/{chunk.NRCPFRMF.js → chunk.RXQYBUHG.js} +2 -1
  207. package/cdn-versioned/chunks/chunk.S4EKTV5A.js +2 -0
  208. package/cdn-versioned/chunks/{chunk.YBE5NEA5.js → chunk.S5SNELX3.js} +2 -1
  209. package/cdn-versioned/chunks/{chunk.2P4WUDA5.js → chunk.U6FGIHUI.js} +2 -1
  210. package/cdn-versioned/chunks/chunk.URYTIP6C.js +2 -0
  211. package/cdn-versioned/chunks/chunk.US3OB3XU.js +1 -0
  212. package/cdn-versioned/chunks/{chunk.S7E3HBEA.js → chunk.UVDP4CO5.js} +2 -1
  213. package/cdn-versioned/chunks/chunk.VA5ZPE34.js +2 -0
  214. package/cdn-versioned/chunks/chunk.VGYX7TTE.js +2 -0
  215. package/cdn-versioned/chunks/{chunk.52TE5XAY.js → chunk.VHHOKYE5.js} +2 -1
  216. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  217. package/{cdn/chunks/chunk.D3B4IY6Q.js → cdn-versioned/chunks/chunk.WUWSF33N.js} +2 -1
  218. package/{cdn/chunks/chunk.YBBEF7BY.js → cdn-versioned/chunks/chunk.XG6CO665.js} +2 -1
  219. package/cdn-versioned/chunks/{chunk.TFMNMOPY.js → chunk.XHDZVSCR.js} +2 -1
  220. package/cdn-versioned/chunks/chunk.XIRAK67B.js +13 -0
  221. package/cdn-versioned/chunks/{chunk.SM5DG4D5.js → chunk.YL7YHMIF.js} +3 -2
  222. package/cdn-versioned/chunks/{chunk.7AEASDWK.js → chunk.YUPZE4GS.js} +2 -1
  223. package/cdn-versioned/chunks/chunk.YXMHHML2.js +2 -0
  224. package/cdn-versioned/chunks/chunk.ZATYZ65D.js +2 -0
  225. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  226. package/cdn-versioned/components/accordion/accordion.js +1 -1
  227. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  228. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  229. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  230. package/cdn-versioned/components/animation/animation.js +1 -1
  231. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  232. package/cdn-versioned/components/audio/audio.js +1 -1
  233. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  234. package/cdn-versioned/components/badge/badge.js +1 -1
  235. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  236. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  237. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  238. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  239. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -2
  240. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  241. package/cdn-versioned/components/button/button.d.ts +1 -1
  242. package/cdn-versioned/components/button/button.js +1 -1
  243. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  244. package/cdn-versioned/components/button-group/button-group.js +1 -1
  245. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  246. package/cdn-versioned/components/carousel/carousel.js +1 -1
  247. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  248. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  249. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  250. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  251. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  252. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  253. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  254. package/cdn-versioned/components/combobox/combobox.js +1 -1
  255. package/cdn-versioned/components/datepicker/datepicker.d.ts +119 -0
  256. package/cdn-versioned/components/datepicker/datepicker.js +1 -0
  257. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  258. package/cdn-versioned/components/dialog/dialog.js +1 -1
  259. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  260. package/cdn-versioned/components/divider/divider.js +1 -1
  261. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  262. package/cdn-versioned/components/drawer/drawer.js +1 -1
  263. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  264. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  265. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  266. package/cdn-versioned/components/expandable/expandable.js +1 -1
  267. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  268. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  269. package/cdn-versioned/components/header/header.d.ts +1 -1
  270. package/cdn-versioned/components/header/header.js +1 -1
  271. package/cdn-versioned/components/icon/icon.d.ts +2 -3
  272. package/cdn-versioned/components/icon/icon.js +1 -1
  273. package/cdn-versioned/components/icon/library.d.ts +1 -1
  274. package/cdn-versioned/components/icon/library.internal.d.ts +4 -0
  275. package/cdn-versioned/components/icon/library.internal.js +1 -1
  276. package/cdn-versioned/components/icon/library.js +1 -1
  277. package/cdn-versioned/components/include/include.d.ts +1 -1
  278. package/cdn-versioned/components/include/include.js +1 -1
  279. package/cdn-versioned/components/input/input.d.ts +1 -1
  280. package/cdn-versioned/components/input/input.js +1 -1
  281. package/cdn-versioned/components/link/link.d.ts +1 -1
  282. package/cdn-versioned/components/link/link.js +1 -1
  283. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  284. package/cdn-versioned/components/loader/loader.js +1 -1
  285. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  286. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  287. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  288. package/cdn-versioned/components/menu/menu.js +1 -1
  289. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  290. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  291. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  292. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  293. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  294. package/cdn-versioned/components/notification/notification.js +1 -1
  295. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  296. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  297. package/cdn-versioned/components/option/option.d.ts +1 -1
  298. package/cdn-versioned/components/option/option.js +1 -1
  299. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  300. package/cdn-versioned/components/popup/popup.js +1 -1
  301. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  302. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  303. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  304. package/cdn-versioned/components/radio/radio.js +1 -1
  305. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  306. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  307. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  308. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  309. package/cdn-versioned/components/range/range.d.ts +2 -2
  310. package/cdn-versioned/components/range/range.js +1 -1
  311. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  312. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  313. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  314. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  315. package/cdn-versioned/components/select/select.d.ts +1 -1
  316. package/cdn-versioned/components/select/select.js +1 -1
  317. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  318. package/cdn-versioned/components/spinner/spinner.js +1 -1
  319. package/cdn-versioned/components/step/step.d.ts +1 -1
  320. package/cdn-versioned/components/step/step.js +1 -1
  321. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  322. package/cdn-versioned/components/step-group/step-group.js +1 -1
  323. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  324. package/cdn-versioned/components/switch/switch.js +1 -1
  325. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  326. package/cdn-versioned/components/tab/tab.js +1 -1
  327. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  328. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  329. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  330. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  331. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  332. package/cdn-versioned/components/tag/tag.js +1 -1
  333. package/cdn-versioned/components/teaser/teaser.js +1 -1
  334. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  335. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  336. package/cdn-versioned/components/textarea/textarea.js +1 -1
  337. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +5 -2
  338. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  339. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  340. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  341. package/cdn-versioned/components/video/video.d.ts +1 -1
  342. package/cdn-versioned/components/video/video.js +1 -1
  343. package/cdn-versioned/custom-elements.json +1313 -405
  344. package/cdn-versioned/internal/form.js +3 -3
  345. package/cdn-versioned/internal/solid-element.d.ts +5 -3
  346. package/cdn-versioned/internal/solid-element.js +12 -8
  347. package/cdn-versioned/solid-components.bundle.js +109 -40
  348. package/cdn-versioned/solid-components.css +3 -2
  349. package/cdn-versioned/solid-components.d.ts +1 -0
  350. package/cdn-versioned/solid-components.iife.js +109 -40
  351. package/cdn-versioned/solid-components.js +1 -1
  352. package/cdn-versioned/translations/de.js +1 -1
  353. package/cdn-versioned/translations/en.js +1 -1
  354. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  355. package/cdn-versioned/utilities/date.d.ts +9 -0
  356. package/cdn-versioned/utilities/date.js +1 -0
  357. package/cdn-versioned/utilities/icon-library.js +1 -1
  358. package/cdn-versioned/utilities/localize.d.ts +14 -1
  359. package/cdn-versioned/utilities/localize.js +1 -1
  360. package/cdn-versioned/vscode.html-custom-data.json +237 -104
  361. package/cdn-versioned/web-types.json +540 -176
  362. package/dist/chunks/{chunk.I7OXSYXU.js → chunk.2ER4MXZC.js} +3 -2
  363. package/dist/chunks/{chunk.G6T2S742.js → chunk.3BVNSUFD.js} +3 -2
  364. package/dist/chunks/{chunk.7VEM2IPR.js → chunk.3S7EW72P.js} +14 -1
  365. package/dist/chunks/{chunk.WC5FU2I2.js → chunk.4CD5TTGT.js} +6 -5
  366. package/dist/chunks/{chunk.UVKMYODH.js → chunk.4FY6QRJ7.js} +4 -7
  367. package/dist/chunks/{chunk.CWHFEZQY.js → chunk.5D7C4MXB.js} +3 -2
  368. package/dist/chunks/{chunk.CNNLNYSJ.js → chunk.5H7CWETG.js} +9 -12
  369. package/dist/chunks/{chunk.EH3YK63Y.js → chunk.5WAWAUSM.js} +3 -2
  370. package/dist/chunks/{chunk.SKOPFWCQ.js → chunk.5ZRRM6UH.js} +3 -2
  371. package/dist/chunks/{chunk.TRV5UURW.js → chunk.662O4CMZ.js} +3 -2
  372. package/dist/chunks/{chunk.M3VM2DRF.js → chunk.7RSL7EOY.js} +10 -4
  373. package/dist/chunks/{chunk.ZI6VDRWN.js → chunk.7XXRAMBH.js} +3 -2
  374. package/dist/chunks/{chunk.24UVKYTF.js → chunk.A3YMYTLW.js} +3 -2
  375. package/dist/chunks/{chunk.MPS7DDJJ.js → chunk.AAY5JRCW.js} +2 -1
  376. package/dist/chunks/{chunk.X6YLTXVX.js → chunk.AEFLWSEK.js} +4 -3
  377. package/dist/chunks/{chunk.NXQQ337Y.js → chunk.ANYT6TR4.js} +3 -2
  378. package/dist/chunks/{chunk.DIONFQNX.js → chunk.BFDY2E6R.js} +3 -2
  379. package/dist/chunks/chunk.CDM2I6O2.js +47 -0
  380. package/dist/chunks/{chunk.V2J3RAY6.js → chunk.CR5C6OL5.js} +3 -2
  381. package/dist/chunks/{chunk.XQ6ZMO6V.js → chunk.CT4BIUEI.js} +4 -3
  382. package/dist/chunks/{chunk.32E2WNUE.js → chunk.DFQ2QJI5.js} +3 -2
  383. package/dist/chunks/{chunk.FGUKF4CR.js → chunk.DJ3WYVWV.js} +9 -8
  384. package/dist/chunks/{chunk.FFCOP3ME.js → chunk.E7L2RBML.js} +3 -2
  385. package/dist/chunks/chunk.EORXKFFT.js +61 -0
  386. package/dist/chunks/{chunk.ULD7FBSL.js → chunk.ES7AAS4J.js} +23 -9
  387. package/dist/chunks/{chunk.574X7EC7.js → chunk.F4A7G427.js} +3 -2
  388. package/dist/chunks/{chunk.PCJVXPPB.js → chunk.FMSAUZWF.js} +3 -2
  389. package/dist/chunks/{chunk.XULVG6IQ.js → chunk.FPMNMEXR.js} +3 -2
  390. package/{dist-versioned/chunks/chunk.6LDBZ4S7.js → dist/chunks/chunk.GYXMDYGY.js} +1 -1
  391. package/dist/chunks/chunk.HAL7R4WT.js +1 -0
  392. package/dist/chunks/{chunk.WKRNHLCB.js → chunk.HB45IF2T.js} +3 -2
  393. package/dist/chunks/{chunk.HIAKAB7R.js → chunk.ID6DABAJ.js} +14 -1
  394. package/dist/chunks/{chunk.T4UP6Y4D.js → chunk.M5EPD6OZ.js} +4 -3
  395. package/dist/chunks/{chunk.WFMQUAS5.js → chunk.MB47FVBP.js} +3 -2
  396. package/dist/chunks/{chunk.IN5XJAGY.js → chunk.MFE2NCVX.js} +4 -3
  397. package/dist/chunks/{chunk.OLIBLXE5.js → chunk.N5XK43AK.js} +15 -8
  398. package/dist/chunks/{chunk.MUM2CTNK.js → chunk.NCZBBZOR.js} +3 -2
  399. package/dist/chunks/{chunk.4ILI3XGP.js → chunk.NK5K5MMW.js} +3 -2
  400. package/dist/chunks/chunk.NKPJM2WV.js +1376 -0
  401. package/{dist-versioned/chunks/chunk.H2ALVYPG.js → dist/chunks/chunk.O6MXNSO7.js} +22 -7
  402. package/dist/chunks/{chunk.262GD5RA.js → chunk.O6OCXI2L.js} +3 -2
  403. package/dist/chunks/{chunk.D3JBFWTU.js → chunk.OBQTYYBW.js} +3 -2
  404. package/dist/chunks/{chunk.XT3GA2SZ.js → chunk.OK3VBJRJ.js} +3 -2
  405. package/dist/chunks/{chunk.L3TUGUA6.js → chunk.PF4UKMOY.js} +4 -3
  406. package/dist/chunks/{chunk.SRU7VSQX.js → chunk.PJOYWTXL.js} +3 -2
  407. package/dist/chunks/{chunk.B4UN2MRL.js → chunk.QHUH3UZT.js} +3 -2
  408. package/dist/chunks/{chunk.CP4YEFPU.js → chunk.QJ2PELD5.js} +3 -2
  409. package/dist/chunks/{chunk.APBFYE35.js → chunk.RIWKWSAL.js} +3 -2
  410. package/dist/chunks/chunk.RY4KWEME.js +93 -0
  411. package/dist/chunks/{chunk.FJEGV6DM.js → chunk.RZGUWSF6.js} +3 -2
  412. package/dist/chunks/{chunk.P3TSBTFH.js → chunk.SIUXYHUU.js} +3 -2
  413. package/dist/chunks/{chunk.KBLWHFHC.js → chunk.SZDLCBRQ.js} +3 -2
  414. package/dist/chunks/{chunk.RC3XRXWM.js → chunk.TIOVWVCD.js} +3 -2
  415. package/dist/chunks/{chunk.QM6BYZJR.js → chunk.TXNCIVE5.js} +4 -3
  416. package/dist/chunks/{chunk.AAMFU5FW.js → chunk.U7ASTWXS.js} +3 -2
  417. package/dist/chunks/{chunk.Z4YIKXCF.js → chunk.UIXXR3N5.js} +3 -2
  418. package/dist/chunks/{chunk.ACNKTEJM.js → chunk.VN6V46I7.js} +3 -2
  419. package/dist/chunks/{chunk.2LW2TIND.js → chunk.WSRHW32L.js} +3 -2
  420. package/dist/chunks/{chunk.QIWTRSHI.js → chunk.WSXDUNN7.js} +3 -2
  421. package/dist/chunks/{chunk.XUGEMNQZ.js → chunk.WSXRRFIW.js} +3 -2
  422. package/dist/chunks/{chunk.HKQXWZ7G.js → chunk.WTFF4KWO.js} +3 -2
  423. package/dist/chunks/{chunk.G3OXXGZX.js → chunk.YBIM4TC7.js} +3 -2
  424. package/dist/chunks/{chunk.G3MAHVJA.js → chunk.YLQNXR3G.js} +4 -3
  425. package/dist/chunks/{chunk.MVKWMVHE.js → chunk.ZBAABZKL.js} +3 -2
  426. package/dist/chunks/{chunk.BV5PXCAM.js → chunk.ZRJRFFVA.js} +3 -2
  427. package/dist/chunks/{chunk.WZUYGJSJ.js → chunk.ZXOKRAZP.js} +7 -4
  428. package/dist/components/accordion/accordion.js +7 -7
  429. package/dist/components/accordion-group/accordion-group.js +8 -8
  430. package/dist/components/animation/animation.js +2 -2
  431. package/dist/components/audio/audio.js +10 -10
  432. package/dist/components/badge/badge.js +2 -2
  433. package/dist/components/brandshape/brandshape.js +2 -2
  434. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  435. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +0 -1
  436. package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
  437. package/dist/components/button/button.js +5 -5
  438. package/dist/components/button-group/button-group.js +2 -2
  439. package/dist/components/carousel/carousel.js +8 -8
  440. package/dist/components/carousel-item/carousel-item.js +2 -2
  441. package/dist/components/checkbox/checkbox.js +5 -5
  442. package/dist/components/checkbox-group/checkbox-group.js +5 -5
  443. package/dist/components/combobox/combobox.js +9 -9
  444. package/dist/components/datepicker/datepicker.d.ts +119 -0
  445. package/dist/components/datepicker/datepicker.js +16 -0
  446. package/dist/components/dialog/dialog.js +9 -9
  447. package/dist/components/divider/divider.js +2 -2
  448. package/dist/components/drawer/drawer.js +9 -9
  449. package/dist/components/dropdown/dropdown.js +5 -5
  450. package/dist/components/expandable/expandable.js +7 -7
  451. package/dist/components/flipcard/flipcard.js +9 -9
  452. package/dist/components/header/header.js +2 -2
  453. package/dist/components/icon/icon.d.ts +1 -2
  454. package/dist/components/icon/icon.js +4 -4
  455. package/dist/components/icon/library.d.ts +1 -1
  456. package/dist/components/icon/library.internal.d.ts +4 -0
  457. package/dist/components/icon/library.internal.js +1 -1
  458. package/dist/components/icon/library.js +2 -2
  459. package/dist/components/include/include.js +2 -2
  460. package/dist/components/input/input.js +7 -7
  461. package/dist/components/link/link.js +2 -2
  462. package/dist/components/loader/loader.js +4 -4
  463. package/dist/components/map-marker/map-marker.js +2 -2
  464. package/dist/components/menu/menu.js +4 -4
  465. package/dist/components/menu-item/menu-item.js +2 -2
  466. package/dist/components/navigation-item/navigation-item.js +8 -8
  467. package/dist/components/notification/notification.js +9 -9
  468. package/dist/components/optgroup/optgroup.js +5 -5
  469. package/dist/components/option/option.js +5 -5
  470. package/dist/components/popup/popup.js +2 -2
  471. package/dist/components/quickfact/quickfact.js +8 -8
  472. package/dist/components/radio/radio.js +2 -2
  473. package/dist/components/radio-button/radio-button.js +2 -2
  474. package/dist/components/radio-group/radio-group.js +4 -4
  475. package/dist/components/range/range.d.ts +1 -1
  476. package/dist/components/range/range.js +4 -4
  477. package/dist/components/range-tick/range-tick.js +4 -4
  478. package/dist/components/scrollable/scrollable.js +7 -7
  479. package/dist/components/select/select.js +9 -9
  480. package/dist/components/spinner/spinner.js +4 -4
  481. package/dist/components/step/step.js +5 -5
  482. package/dist/components/step-group/step-group.js +2 -2
  483. package/dist/components/switch/switch.js +2 -2
  484. package/dist/components/tab/tab.js +4 -4
  485. package/dist/components/tab-group/tab-group.js +7 -7
  486. package/dist/components/tab-panel/tab-panel.js +2 -2
  487. package/dist/components/tag/tag.js +7 -7
  488. package/dist/components/teaser/teaser.js +2 -2
  489. package/dist/components/teaser-media/teaser-media.js +2 -2
  490. package/dist/components/textarea/textarea.js +5 -5
  491. package/dist/components/theme-listener/theme-listener.d.ts +4 -1
  492. package/dist/components/theme-listener/theme-listener.js +2 -2
  493. package/dist/components/tooltip/tooltip.js +8 -8
  494. package/dist/components/video/video.js +7 -7
  495. package/dist/custom-elements.json +1075 -167
  496. package/dist/internal/solid-element.d.ts +5 -3
  497. package/dist/internal/solid-element.js +12 -8
  498. package/dist/solid-components.css +1 -0
  499. package/dist/solid-components.d.ts +1 -0
  500. package/dist/solid-components.js +75 -70
  501. package/dist/translations/de.js +1 -1
  502. package/dist/translations/en.js +1 -1
  503. package/dist/utilities/autocomplete-config.js +3 -3
  504. package/dist/utilities/date.d.ts +9 -0
  505. package/dist/utilities/date.js +7 -0
  506. package/dist/utilities/icon-library.js +2 -2
  507. package/dist/utilities/localize.d.ts +14 -1
  508. package/dist/utilities/localize.js +2 -2
  509. package/dist/vscode.html-custom-data.json +148 -15
  510. package/dist/web-types.json +389 -25
  511. package/dist-versioned/chunks/{chunk.I7OXSYXU.js → chunk.2ER4MXZC.js} +4 -3
  512. package/dist-versioned/chunks/{chunk.G6T2S742.js → chunk.3BVNSUFD.js} +4 -3
  513. package/dist-versioned/chunks/{chunk.7VEM2IPR.js → chunk.3S7EW72P.js} +14 -1
  514. package/dist-versioned/chunks/{chunk.WC5FU2I2.js → chunk.4CD5TTGT.js} +8 -7
  515. package/dist-versioned/chunks/{chunk.UVKMYODH.js → chunk.4FY6QRJ7.js} +5 -8
  516. package/dist-versioned/chunks/{chunk.CWHFEZQY.js → chunk.5D7C4MXB.js} +5 -4
  517. package/dist-versioned/chunks/{chunk.CNNLNYSJ.js → chunk.5H7CWETG.js} +10 -13
  518. package/dist-versioned/chunks/{chunk.EH3YK63Y.js → chunk.5WAWAUSM.js} +5 -4
  519. package/dist-versioned/chunks/{chunk.SKOPFWCQ.js → chunk.5ZRRM6UH.js} +5 -4
  520. package/dist-versioned/chunks/{chunk.TRV5UURW.js → chunk.662O4CMZ.js} +15 -14
  521. package/dist-versioned/chunks/{chunk.M3VM2DRF.js → chunk.7RSL7EOY.js} +13 -7
  522. package/dist-versioned/chunks/{chunk.ZI6VDRWN.js → chunk.7XXRAMBH.js} +4 -3
  523. package/dist-versioned/chunks/{chunk.24UVKYTF.js → chunk.A3YMYTLW.js} +7 -6
  524. package/dist-versioned/chunks/chunk.AAY5JRCW.js +70 -0
  525. package/dist-versioned/chunks/{chunk.X6YLTXVX.js → chunk.AEFLWSEK.js} +15 -14
  526. package/dist-versioned/chunks/{chunk.NXQQ337Y.js → chunk.ANYT6TR4.js} +4 -3
  527. package/dist-versioned/chunks/{chunk.DIONFQNX.js → chunk.BFDY2E6R.js} +14 -13
  528. package/dist-versioned/chunks/chunk.CDM2I6O2.js +47 -0
  529. package/dist-versioned/chunks/{chunk.V2J3RAY6.js → chunk.CR5C6OL5.js} +28 -27
  530. package/dist-versioned/chunks/{chunk.XQ6ZMO6V.js → chunk.CT4BIUEI.js} +8 -7
  531. package/dist-versioned/chunks/{chunk.32E2WNUE.js → chunk.DFQ2QJI5.js} +5 -4
  532. package/dist-versioned/chunks/{chunk.FGUKF4CR.js → chunk.DJ3WYVWV.js} +15 -14
  533. package/dist-versioned/chunks/{chunk.FFCOP3ME.js → chunk.E7L2RBML.js} +8 -7
  534. package/dist-versioned/chunks/chunk.EORXKFFT.js +61 -0
  535. package/dist-versioned/chunks/{chunk.ULD7FBSL.js → chunk.ES7AAS4J.js} +25 -11
  536. package/dist-versioned/chunks/{chunk.574X7EC7.js → chunk.F4A7G427.js} +6 -5
  537. package/dist-versioned/chunks/{chunk.PCJVXPPB.js → chunk.FMSAUZWF.js} +7 -6
  538. package/dist-versioned/chunks/{chunk.XULVG6IQ.js → chunk.FPMNMEXR.js} +4 -3
  539. package/{dist/chunks/chunk.6LDBZ4S7.js → dist-versioned/chunks/chunk.GYXMDYGY.js} +1 -1
  540. package/dist-versioned/chunks/chunk.HAL7R4WT.js +1 -0
  541. package/dist-versioned/chunks/{chunk.WKRNHLCB.js → chunk.HB45IF2T.js} +4 -3
  542. package/dist-versioned/chunks/{chunk.HIAKAB7R.js → chunk.ID6DABAJ.js} +14 -1
  543. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  544. package/dist-versioned/chunks/{chunk.T4UP6Y4D.js → chunk.M5EPD6OZ.js} +9 -8
  545. package/dist-versioned/chunks/{chunk.WFMQUAS5.js → chunk.MB47FVBP.js} +4 -3
  546. package/dist-versioned/chunks/{chunk.IN5XJAGY.js → chunk.MFE2NCVX.js} +6 -5
  547. package/dist-versioned/chunks/{chunk.OLIBLXE5.js → chunk.N5XK43AK.js} +28 -21
  548. package/dist-versioned/chunks/{chunk.MUM2CTNK.js → chunk.NCZBBZOR.js} +4 -3
  549. package/dist-versioned/chunks/{chunk.4ILI3XGP.js → chunk.NK5K5MMW.js} +4 -3
  550. package/dist-versioned/chunks/chunk.NKPJM2WV.js +1376 -0
  551. package/{dist/chunks/chunk.H2ALVYPG.js → dist-versioned/chunks/chunk.O6MXNSO7.js} +22 -7
  552. package/dist-versioned/chunks/{chunk.262GD5RA.js → chunk.O6OCXI2L.js} +5 -4
  553. package/dist-versioned/chunks/{chunk.D3JBFWTU.js → chunk.OBQTYYBW.js} +5 -4
  554. package/dist-versioned/chunks/{chunk.XT3GA2SZ.js → chunk.OK3VBJRJ.js} +6 -5
  555. package/dist-versioned/chunks/{chunk.L3TUGUA6.js → chunk.PF4UKMOY.js} +6 -5
  556. package/dist-versioned/chunks/{chunk.SRU7VSQX.js → chunk.PJOYWTXL.js} +4 -3
  557. package/dist-versioned/chunks/{chunk.B4UN2MRL.js → chunk.QHUH3UZT.js} +5 -4
  558. package/dist-versioned/chunks/{chunk.CP4YEFPU.js → chunk.QJ2PELD5.js} +5 -4
  559. package/dist-versioned/chunks/{chunk.APBFYE35.js → chunk.RIWKWSAL.js} +5 -4
  560. package/dist-versioned/chunks/chunk.RY4KWEME.js +93 -0
  561. package/dist-versioned/chunks/{chunk.FJEGV6DM.js → chunk.RZGUWSF6.js} +7 -6
  562. package/dist-versioned/chunks/{chunk.P3TSBTFH.js → chunk.SIUXYHUU.js} +10 -9
  563. package/dist-versioned/chunks/{chunk.KBLWHFHC.js → chunk.SZDLCBRQ.js} +26 -25
  564. package/dist-versioned/chunks/{chunk.RC3XRXWM.js → chunk.TIOVWVCD.js} +4 -3
  565. package/dist-versioned/chunks/{chunk.QM6BYZJR.js → chunk.TXNCIVE5.js} +16 -15
  566. package/dist-versioned/chunks/{chunk.AAMFU5FW.js → chunk.U7ASTWXS.js} +7 -6
  567. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  568. package/dist-versioned/chunks/{chunk.Z4YIKXCF.js → chunk.UIXXR3N5.js} +5 -4
  569. package/dist-versioned/chunks/{chunk.ACNKTEJM.js → chunk.VN6V46I7.js} +5 -4
  570. package/dist-versioned/chunks/{chunk.2LW2TIND.js → chunk.WSRHW32L.js} +5 -4
  571. package/dist-versioned/chunks/{chunk.QIWTRSHI.js → chunk.WSXDUNN7.js} +4 -3
  572. package/dist-versioned/chunks/{chunk.XUGEMNQZ.js → chunk.WSXRRFIW.js} +4 -3
  573. package/dist-versioned/chunks/{chunk.HKQXWZ7G.js → chunk.WTFF4KWO.js} +6 -5
  574. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  575. package/dist-versioned/chunks/{chunk.G3OXXGZX.js → chunk.YBIM4TC7.js} +4 -3
  576. package/dist-versioned/chunks/{chunk.G3MAHVJA.js → chunk.YLQNXR3G.js} +6 -5
  577. package/dist-versioned/chunks/{chunk.MVKWMVHE.js → chunk.ZBAABZKL.js} +4 -3
  578. package/dist-versioned/chunks/{chunk.BV5PXCAM.js → chunk.ZRJRFFVA.js} +5 -4
  579. package/dist-versioned/chunks/{chunk.WZUYGJSJ.js → chunk.ZXOKRAZP.js} +9 -6
  580. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  581. package/dist-versioned/components/accordion/accordion.js +7 -7
  582. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  583. package/dist-versioned/components/accordion-group/accordion-group.js +8 -8
  584. package/dist-versioned/components/animation/animation.d.ts +1 -1
  585. package/dist-versioned/components/animation/animation.js +2 -2
  586. package/dist-versioned/components/audio/audio.d.ts +1 -1
  587. package/dist-versioned/components/audio/audio.js +10 -10
  588. package/dist-versioned/components/badge/badge.d.ts +1 -1
  589. package/dist-versioned/components/badge/badge.js +2 -2
  590. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  591. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  592. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  593. package/dist-versioned/components/breadcrumb/breadcrumb.js +4 -4
  594. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -2
  595. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +4 -4
  596. package/dist-versioned/components/button/button.d.ts +1 -1
  597. package/dist-versioned/components/button/button.js +5 -5
  598. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  599. package/dist-versioned/components/button-group/button-group.js +2 -2
  600. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  601. package/dist-versioned/components/carousel/carousel.js +8 -8
  602. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  603. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  604. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  605. package/dist-versioned/components/checkbox/checkbox.js +5 -5
  606. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  607. package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
  608. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  609. package/dist-versioned/components/combobox/combobox.js +9 -9
  610. package/dist-versioned/components/datepicker/datepicker.d.ts +119 -0
  611. package/dist-versioned/components/datepicker/datepicker.js +16 -0
  612. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  613. package/dist-versioned/components/dialog/dialog.js +9 -9
  614. package/dist-versioned/components/divider/divider.d.ts +1 -1
  615. package/dist-versioned/components/divider/divider.js +2 -2
  616. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  617. package/dist-versioned/components/drawer/drawer.js +9 -9
  618. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  619. package/dist-versioned/components/dropdown/dropdown.js +5 -5
  620. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  621. package/dist-versioned/components/expandable/expandable.js +7 -7
  622. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  623. package/dist-versioned/components/flipcard/flipcard.js +9 -9
  624. package/dist-versioned/components/header/header.d.ts +1 -1
  625. package/dist-versioned/components/header/header.js +2 -2
  626. package/dist-versioned/components/icon/icon.d.ts +2 -3
  627. package/dist-versioned/components/icon/icon.js +4 -4
  628. package/dist-versioned/components/icon/library.d.ts +1 -1
  629. package/dist-versioned/components/icon/library.internal.d.ts +4 -0
  630. package/dist-versioned/components/icon/library.internal.js +1 -1
  631. package/dist-versioned/components/icon/library.js +2 -2
  632. package/dist-versioned/components/include/include.d.ts +1 -1
  633. package/dist-versioned/components/include/include.js +2 -2
  634. package/dist-versioned/components/input/input.d.ts +1 -1
  635. package/dist-versioned/components/input/input.js +7 -7
  636. package/dist-versioned/components/link/link.d.ts +1 -1
  637. package/dist-versioned/components/link/link.js +2 -2
  638. package/dist-versioned/components/loader/loader.d.ts +1 -1
  639. package/dist-versioned/components/loader/loader.js +4 -4
  640. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  641. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  642. package/dist-versioned/components/menu/menu.d.ts +1 -1
  643. package/dist-versioned/components/menu/menu.js +4 -4
  644. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  645. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  646. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  647. package/dist-versioned/components/navigation-item/navigation-item.js +8 -8
  648. package/dist-versioned/components/notification/notification.d.ts +1 -1
  649. package/dist-versioned/components/notification/notification.js +9 -9
  650. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  651. package/dist-versioned/components/optgroup/optgroup.js +5 -5
  652. package/dist-versioned/components/option/option.d.ts +1 -1
  653. package/dist-versioned/components/option/option.js +5 -5
  654. package/dist-versioned/components/popup/popup.d.ts +1 -1
  655. package/dist-versioned/components/popup/popup.js +2 -2
  656. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  657. package/dist-versioned/components/quickfact/quickfact.js +8 -8
  658. package/dist-versioned/components/radio/radio.d.ts +1 -1
  659. package/dist-versioned/components/radio/radio.js +2 -2
  660. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  661. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  662. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  663. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  664. package/dist-versioned/components/range/range.d.ts +2 -2
  665. package/dist-versioned/components/range/range.js +4 -4
  666. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  667. package/dist-versioned/components/range-tick/range-tick.js +4 -4
  668. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  669. package/dist-versioned/components/scrollable/scrollable.js +7 -7
  670. package/dist-versioned/components/select/select.d.ts +1 -1
  671. package/dist-versioned/components/select/select.js +9 -9
  672. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  673. package/dist-versioned/components/spinner/spinner.js +4 -4
  674. package/dist-versioned/components/step/step.d.ts +1 -1
  675. package/dist-versioned/components/step/step.js +5 -5
  676. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  677. package/dist-versioned/components/step-group/step-group.js +2 -2
  678. package/dist-versioned/components/switch/switch.d.ts +1 -1
  679. package/dist-versioned/components/switch/switch.js +2 -2
  680. package/dist-versioned/components/tab/tab.d.ts +1 -1
  681. package/dist-versioned/components/tab/tab.js +4 -4
  682. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  683. package/dist-versioned/components/tab-group/tab-group.js +7 -7
  684. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  685. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  686. package/dist-versioned/components/tag/tag.d.ts +1 -1
  687. package/dist-versioned/components/tag/tag.js +7 -7
  688. package/dist-versioned/components/teaser/teaser.js +2 -2
  689. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  690. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  691. package/dist-versioned/components/textarea/textarea.js +5 -5
  692. package/dist-versioned/components/theme-listener/theme-listener.d.ts +5 -2
  693. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  694. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  695. package/dist-versioned/components/tooltip/tooltip.js +8 -8
  696. package/dist-versioned/components/video/video.d.ts +1 -1
  697. package/dist-versioned/components/video/video.js +7 -7
  698. package/dist-versioned/custom-elements.json +1313 -405
  699. package/dist-versioned/internal/form.js +3 -3
  700. package/dist-versioned/internal/solid-element.d.ts +5 -3
  701. package/dist-versioned/internal/solid-element.js +12 -8
  702. package/dist-versioned/solid-components.css +3 -2
  703. package/dist-versioned/solid-components.d.ts +1 -0
  704. package/dist-versioned/solid-components.js +75 -70
  705. package/dist-versioned/translations/de.js +1 -1
  706. package/dist-versioned/translations/en.js +1 -1
  707. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  708. package/dist-versioned/utilities/date.d.ts +9 -0
  709. package/dist-versioned/utilities/date.js +7 -0
  710. package/dist-versioned/utilities/icon-library.js +2 -2
  711. package/dist-versioned/utilities/localize.d.ts +14 -1
  712. package/dist-versioned/utilities/localize.js +2 -2
  713. package/dist-versioned/vscode.html-custom-data.json +237 -104
  714. package/dist-versioned/web-types.json +540 -176
  715. package/package.json +4 -3
  716. package/cdn/chunks/chunk.2WRD673L.js +0 -37
  717. package/cdn/chunks/chunk.34DDPQIX.js +0 -1
  718. package/cdn/chunks/chunk.7GI7JDHC.js +0 -1
  719. package/cdn/chunks/chunk.7JYERWSH.js +0 -1
  720. package/cdn/chunks/chunk.AG4UH4IN.js +0 -1
  721. package/cdn/chunks/chunk.ASJAM6N6.js +0 -1
  722. package/cdn/chunks/chunk.AXEWYRHM.js +0 -1
  723. package/cdn/chunks/chunk.BBLEWHIH.js +0 -1
  724. package/cdn/chunks/chunk.C4DGFQBN.js +0 -1
  725. package/cdn/chunks/chunk.D4Q335D6.js +0 -1
  726. package/cdn/chunks/chunk.FKQKBGOX.js +0 -1
  727. package/cdn/chunks/chunk.GC4VHTKJ.js +0 -1
  728. package/cdn/chunks/chunk.HP7VSB3F.js +0 -1
  729. package/cdn/chunks/chunk.HWKK3U5Y.js +0 -1
  730. package/cdn/chunks/chunk.KG2T3UA7.js +0 -1
  731. package/cdn/chunks/chunk.KIC3AQXN.js +0 -1
  732. package/cdn/chunks/chunk.L4OSXUKA.js +0 -1
  733. package/cdn/chunks/chunk.PZ5QBZPA.js +0 -11
  734. package/cdn/chunks/chunk.QPJOKELG.js +0 -1
  735. package/cdn/chunks/chunk.WAC3RAQB.js +0 -3
  736. package/cdn/chunks/chunk.WSAVYRR4.js +0 -4
  737. package/cdn-versioned/chunks/chunk.2WRD673L.js +0 -37
  738. package/cdn-versioned/chunks/chunk.34DDPQIX.js +0 -1
  739. package/cdn-versioned/chunks/chunk.7GI7JDHC.js +0 -1
  740. package/cdn-versioned/chunks/chunk.7JYERWSH.js +0 -1
  741. package/cdn-versioned/chunks/chunk.AG4UH4IN.js +0 -1
  742. package/cdn-versioned/chunks/chunk.ASJAM6N6.js +0 -1
  743. package/cdn-versioned/chunks/chunk.AXEWYRHM.js +0 -1
  744. package/cdn-versioned/chunks/chunk.BBLEWHIH.js +0 -1
  745. package/cdn-versioned/chunks/chunk.C4DGFQBN.js +0 -1
  746. package/cdn-versioned/chunks/chunk.D4Q335D6.js +0 -1
  747. package/cdn-versioned/chunks/chunk.FKQKBGOX.js +0 -1
  748. package/cdn-versioned/chunks/chunk.GC4VHTKJ.js +0 -1
  749. package/cdn-versioned/chunks/chunk.HP7VSB3F.js +0 -1
  750. package/cdn-versioned/chunks/chunk.HWKK3U5Y.js +0 -1
  751. package/cdn-versioned/chunks/chunk.KG2T3UA7.js +0 -1
  752. package/cdn-versioned/chunks/chunk.KIC3AQXN.js +0 -1
  753. package/cdn-versioned/chunks/chunk.L4OSXUKA.js +0 -1
  754. package/cdn-versioned/chunks/chunk.ORGDOUKL.js +0 -1
  755. package/cdn-versioned/chunks/chunk.PZ5QBZPA.js +0 -11
  756. package/cdn-versioned/chunks/chunk.QPJOKELG.js +0 -1
  757. package/cdn-versioned/chunks/chunk.SXTBHH2H.js +0 -1
  758. package/cdn-versioned/chunks/chunk.WAC3RAQB.js +0 -3
  759. package/cdn-versioned/chunks/chunk.WSAVYRR4.js +0 -4
  760. package/dist/chunks/chunk.T3HLE2UR.js +0 -26
  761. package/dist/chunks/chunk.USLIZWTB.js +0 -113
  762. package/dist-versioned/chunks/chunk.MPS7DDJJ.js +0 -69
  763. package/dist-versioned/chunks/chunk.T3HLE2UR.js +0 -26
  764. package/dist-versioned/chunks/chunk.USLIZWTB.js +0 -113
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk.HJGLYEWV.js";var t={$code:"en",$name:"English",$dir:"ltr",audioPlayer:"Audio Player",autoplay:"Autoplay",carousel:"Carousel",carouselContainer:e=>`Carousel has ${e} slides`,clearEntry:"Clear entry",close:"Close",collapseNavigationItem:"Collapse navigation item",comboboxDefaultPlaceholder:"Please search and select",copy:"Copy",currentValue:"Current value",datePicker:"Date picker",datePickerInfo:"Use arrow keys to navigate, Enter to select. Page Up/Down changes month. Shift+Page Up/Down changes year",datePickerRange:"Date range picker",datePlaceholder:"Select date",dateRangePlaceholder:"Select date range",endDateSelected:"End date selected",expandNavigationItem:"Expand navigation item",goToSlide:(e,a)=>`Go to slide ${e} of ${a}`,hidePassword:"Hide password",loading:"Loading",maximum:"Maximum",minimum:"Minimum",mute:"Mute",nextMonth:"Next month",nextSlide:"Next slide",nextYear:"Next year",noResults:"No results found",notifications:"Notifications",numOptionsSelected:e=>e===0?"":`Options selected (${e})`,open:"Open",openTranscript:"Open transcript",optionGroup:"Option Group",pauseAudio:"Pause Audio",playAudio:"Play Audio",playbackSpeed:"Playback Speed",playVideo:"Play Video",previousMonth:"Previous month",previousSlide:"Previous slide",previousYear:"Previous year",progress:"Progress",remove:"Remove",removed:e=>`${e} removed`,resize:"Resize",scrolled:"Scrolled",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",search:"Search",seconds:e=>`${e} seconds`,seekBar:"Seek bar",selectAColorFromTheScreen:"Select a color from the screen",selectDefaultPlaceholder:"Please select",selected:"Selected",selectionCleared:"Selection cleared",showLess:"Show less",showMore:"Show more",showPassword:"Show password",slideNum:e=>`Slide ${e}`,startDateSelected:"Start date selected",tagsSelected:"Options selected",toggleColorFormat:"Toggle color format",transcriptIsOpen:"Transcript is open",truncatedBreadcrumbs:"Truncated breadcrumbs",unmute:"Unmute"};o(t);var s=t;export{s as a};
@@ -1 +1,2 @@
1
- import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.2WRD673L.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-6-0-0-next-1-include")],t);export{t as a};
1
+ import{a as m}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as n,b as o,h as a}from"./chunk.PES7MZKA.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as s}from"./chunk.6EV4YU6C.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await m(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return l`<slot></slot>`}};t.styles=[...a.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([n("sd-include")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- var v={calendar:`
1
+ var s={calendar:`
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
3
3
  <path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M6 4v1.7a1 1 0 0 0 2 0V4h8v1.7a1 1 0 0 0 2 0V4h2v4H4V4zM4 20V10h16v10z"/>
4
4
  <path d="m7.6 13.3.6.8.3-.3.7-.6V18h1.3v-6H9.4zm7-1.4q-2.2 0-2.2 3.1 0 3 2.2 3c2.2 0 2.2-1 2.2-3q0-3.1-2.1-3.1m0 5.3q-1 0-1-2.3t1-2.2c1 0 1 .8 1 2.3q0 2.2-1 2.2"/>
@@ -19,7 +19,17 @@ var v={calendar:`
19
19
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
20
20
  <path d="M17.7 2.3a1 1 0 0 0-1.4 0l-10 9a1 1 0 0 0 0 1.4l10 9a1 1 0 0 0 1.4-1.4L8.5 12l9.2-8.3a1 1 0 0 0 0-1.4"/>
21
21
  </svg>
22
- `,clock:`
22
+ `,"chevron-sm-right":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
23
+ <path fill="currentColor" d="M10.688 6.257a1 1 0 1 0-1.336 1.485h.002L14.528 12l-5.174 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .002-1.485l-.002-.001-6-5Z"/>
24
+ </svg>`,"chevron-sm-left":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
25
+ <path fill="currentColor" d="M14.742 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0 0 1.486v.001l6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
26
+ </svg>`,"chevrons-sm-left":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
27
+ <path fill="currentColor" d="M11.74 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0-.001 1.486l.001.001 6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
28
+ <path fill="currentColor" d="M18.74 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0-.001 1.486l.001.001 6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
29
+ </svg>`,"chevrons-sm-right":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
30
+ <path fill="currentColor" d="M13.718 6.257a1 1 0 1 0-1.336 1.485h.002L17.557 12l-5.173 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .001-1.485l-.001-.001-6-5Z"/>
31
+ <path fill="currentColor" d="M6.718 6.257a1 1 0 1 0-1.336 1.485h.002L10.557 12l-5.173 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .001-1.485l-.001-.001-6-5Z"/>
32
+ </svg>`,clock:`
23
33
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
24
34
  <path d="M13 11.6V8a1 1 0 0 0-2 0v4.4h.1v.2l.2.1 2.8 2.8a1 1 0 0 0 1.4-1.4z"/>
25
35
  <path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16"/>
@@ -118,4 +128,4 @@ var v={calendar:`
118
128
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
119
129
  <path d="m1.7 7.11 1.33 1.34C3.13 3.69 6.75 0 11.33 0a8.67 8.67 0 1 1 0 17.33 1 1 0 0 1 0-2 6.67 6.67 0 1 0 0-13.33C7.8 2 5.14 4.74 5 8.42l1.34-1.3a1 1 0 1 1 1.41 1.41l-3.02 3.02a1 1 0 0 1-1.42 0L.3 8.53A1 1 0 0 1 1.7 7.11z"/>
120
130
  </svg>
121
- `},g={name:"_internal",resolver:a=>{let[w,t]=a.split("--"),s=window.getComputedStyle(document.body).getPropertyValue(`--sd-icon--${w}--${t}`);return s?`data:image/svg+xml,${encodeURIComponent(s)}`:t in v?`data:image/svg+xml,${encodeURIComponent(v[t])}`:""},mutator:a=>a.setAttribute("fill","currentColor")},h=g;export{v as a,h as b};
131
+ `},w={name:"_internal",resolver:(a,t)=>{if(t){let v=window.getComputedStyle(t).getPropertyValue(`--sd-icon--${a}`);if(v)return`data:image/svg+xml,${encodeURIComponent(v.replaceAll("\\","").replaceAll('"',"'"))}`}return a in s?`data:image/svg+xml,${encodeURIComponent(s[a])}`:""},mutator:a=>a.setAttribute("fill","currentColor")},l=w;export{s as a,l as b};
@@ -1,4 +1,4 @@
1
- import{a as i}from"./chunk.PV6UYBMY.js";import{a as n,b as l}from"./chunk.PJ7JCMQF.js";import{b as h}from"./chunk.MP6XEXRW.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as m,b as a,h as o}from"./chunk.2WRD673L.js";import{b as v}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
1
+ import{a as i}from"./chunk.PV6UYBMY.js";import{a as n,b as l}from"./chunk.PJ7JCMQF.js";import{b as h}from"./chunk.MP6XEXRW.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as v,b as a,h as o}from"./chunk.PES7MZKA.js";import{b as m}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
3
3
  <circle cx="25" cy="25" opacity="1" r="20" />
4
4
  </svg>`,main:`
@@ -7,4 +7,5 @@ import{a as i}from"./chunk.PV6UYBMY.js";import{a as n,b as l}from"./chunk.PJ7JCM
7
7
  </svg> `,place:`
8
8
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
9
9
  <path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd" />
10
- </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let s=this.isLink(),c=this.notInteractive?n`div`:s?n`a`:n`button`,d=h(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return l`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${i(s?this.href:void 0)}" target="${i(s?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${i(this.notInteractive||s?void 0:"button")}" aria-label="${i(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${i(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110 fill-primary-500",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"fill-primary",main:"fill-accent",place:"fill-white"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="absolute inset-0 overflow-hidden pointer-events-none" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"bg-primary-500",main:this.state==="active"?"bg-accent-700":"bg-accent-550 group-active:bg-accent-700",place:this.state==="active"?"bg-primary-200":"bg-primary-100 group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?l`<div id="marker-circle" class="absolute rounded-full bg-white"></div>`:""}</div>${d} ${this.variant==="cluster"?l`<div id="cluster-border" class="${r("absolute inset-0 bg-primary opacity-30 rounded-full",this.state==="hover"&&"bg-primary-500")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold text-white")}"><slot></slot></div></${c}>`}};t.styles=[...o.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;:host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([m("sd-6-0-0-next-1-map-marker")],t);export{t as a};
10
+ </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let s=this.isLink(),c=this.notInteractive?n`div`:s?n`a`:n`button`,d=h(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return l`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${i(s?this.href:void 0)}" target="${i(s?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${i(this.notInteractive||s?void 0:"button")}" aria-label="${i(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${i(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110 fill-primary-500",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"fill-primary",main:"fill-accent",place:"fill-white"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="absolute inset-0 overflow-hidden pointer-events-none" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"bg-primary-500",main:this.state==="active"?"bg-accent-700":"bg-accent-550 group-active:bg-accent-700",place:this.state==="active"?"bg-primary-200":"bg-primary-100 group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?l`<div id="marker-circle" class="absolute rounded-full bg-white"></div>`:""}</div>${d} ${this.variant==="cluster"?l`<div id="cluster-border" class="${r("absolute inset-0 bg-primary opacity-30 rounded-full",this.state==="hover"&&"bg-primary-500")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold text-white")}"><slot></slot></div></${c}>`}};t.styles=[...o.styles,m`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
11
+ :host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([v("sd-map-marker")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as V}from"./chunk.4RPCNF2P.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.2WRD673L.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as S,e as I}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as V}from"./chunk.7BPPDSHY.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.PES7MZKA.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as S,e as I}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
@@ -8,4 +8,5 @@ import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";
8
8
  removable-indicator:tag__removable-indicator,
9
9
  " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),A(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var y,b,m;let a=i.cloneNode(!0);if(a.current=a.value===((y=this.lastOption)==null?void 0:y.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((b=i.parentElement)==null?void 0:b.tagName.toLowerCase())==="sd-optgroup"))return a;let o=i.parentElement,f=(m=o.querySelector('[slot="label"]'))==null?void 0:m.cloneNode(!0),h=e.find(O=>O.id===o.id);if(h){h==null||h.appendChild(a),f&&(h==null||h.appendChild(f));return}let v=o.cloneNode();return v.appendChild(a),f&&v.appendChild(f),e.push(v),v}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await I(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=C(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await I(this);let{keyframes:t,options:e}=C(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([x(this,"sd-after-show"),x(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,x(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return R(L(this.defaultSlot)).flat()}getSlottedOptGroups(){return K(L(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-option")){customElements.whenDefined("sd-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,f=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",h=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],m={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",h,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${a&&"inline-block mb-2"}" aria-hidden="${!a}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[f],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,m)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",h,this.selectedTextLabel&&!this.multiple?"placeholder:text-black":"placeholder:text-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${d("text-neutral-700",m)}" name="closing-round" library="_internal"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(y,m,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,m)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",m)}">${this.type!=="search"?p`<sd-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-icon class="${d(v,m)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:var(--sd-color-text-neutral-500,var(--sd-color-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:var(--sd-color-text-neutral-500,var(--sd-color-neutral-500))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-tag[disabled=false]::part(base):hover{background-color:var(--sd-color-background-primary-100,var(--sd-color-primary-100))}[part=filtered-listbox] sd-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([c("sd-popup")],s.prototype,"popup",2),l([c('[part="combobox"]')],s.prototype,"combobox",2),l([c('[part="display-input"]')],s.prototype,"displayInput",2),l([c(".value-input")],s.prototype,"valueInput",2),l([c('[part="listbox"]')],s.prototype,"listbox",2),l([c('[part="tags"]')],s.prototype,"tagWrapper",2),l([c('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([P()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([k("sd-combobox")],s);E("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});E("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
11
+ "><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,m)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",h,this.selectedTextLabel&&!this.multiple?"placeholder:text-black":"placeholder:text-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${d("text-neutral-700",m)}" name="closing-round" library="_internal"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(y,m,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,m)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",m)}">${this.type!=="search"?p`<sd-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-icon class="${d(v,m)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:var(--sd-color-text-neutral-500)}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:var(--sd-color-text-neutral-500)}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-tag[disabled=false]::part(base):hover{background-color:var(--sd-color-background-primary-100)}[part=filtered-listbox] sd-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([c("sd-popup")],s.prototype,"popup",2),l([c('[part="combobox"]')],s.prototype,"combobox",2),l([c('[part="display-input"]')],s.prototype,"displayInput",2),l([c(".value-input")],s.prototype,"valueInput",2),l([c('[part="listbox"]')],s.prototype,"listbox",2),l([c('[part="tags"]')],s.prototype,"tagWrapper",2),l([c('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([P()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([k("sd-combobox")],s);E("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});E("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1 +1,2 @@
1
- import{a as n}from"./chunk.YEDQWNIV.js";import{a as l,b as r,h as o}from"./chunk.2WRD673L.js";import{b as i,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return a`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"border-primary-400":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,i`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-6-0-0-next-1-divider[orientation=horizontal]){display:block}:host(sd-6-0-0-next-1-divider[orientation=vertical]){display:inline-block}`],e([r({type:String,reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=e([l("sd-6-0-0-next-1-divider")],t);export{t as a};
1
+ import{a as n}from"./chunk.YEDQWNIV.js";import{a as l,b as r,h as o}from"./chunk.PES7MZKA.js";import{b as i,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return a`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"border-primary-400":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,i`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{margin:calc(var(--sd-spacing-1) * 0)}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-divider[orientation=vertical]){display:inline-block}`],e([r({type:String,reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=e([l("sd-divider")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ function h(d,{setValueOnSelection:l,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=d?typeof d=="string"?document.querySelector(d):d:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:var(--sd-color-border-primary);background-color:var(--sd-color-background-white);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-popup li:hover:not([disabled]){background-color:var(--sd-color-background-neutral-100)}sd-popup li{list-style-type:''}sd-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-popup li:not(:has(sd-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:var(--sd-color-text-black)}sd-popup li:not(:has(sd-option)):hover{background-color:var(--sd-color-background-neutral-200)}sd-popup li[aria-selected=true]{background-color:var(--sd-color-background-neutral-200)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),l&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{h as a};
@@ -1 +1,2 @@
1
- import{a as k}from"./chunk.67DVLBYJ.js";import{b,c as C,d as x,e as E}from"./chunk.JS2HQ2N4.js";import{a as V}from"./chunk.CGQ2BPPZ.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c as u,d as m,h as p}from"./chunk.2WRD673L.js";import{b as v,e as h}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends p{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new V(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.boldLabel=!1;this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?E:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){let e=t.target.closest("sd-radio, sd-radio-button"),a=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,a.forEach(n=>n.checked=n===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(d=>!d.disabled),a=(g=e.find(d=>d.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(a)+i;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(d=>{d.checked=!1,this.hasButtonGroup||(d.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios(),a=t.find(i=>i.checked)||t[0];a&&a.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,a;let t=this.getAllRadios();if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof k&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(a=this.shadowRoot)==null?void 0:a.querySelector("sd-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-radio")&&customElements.get("sd-radio-button")){this.syncRadioElements();return}customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then(()=>this.syncRadios()),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,a=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!a,n=this.hasSlotController.test("tooltip"),l=h`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return h`<fieldset part="form-control" class="${c("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?h`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${c("p-0 leading-normal text-black text-left",e?"inline-block":"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?h`<sd-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...p.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([required]) #label::after{content:' *'}:host:has(sd-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([u()],s.prototype,"hasButtonGroup",2),o([u()],s.prototype,"defaultValue",2),o([u()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:Boolean,reflect:!0})],s.prototype,"boldLabel",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([f("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([f("value")],s.prototype,"handleValueChange",1),s=o([y("sd-radio-group")],s);export{s as a};
1
+ import{a as k}from"./chunk.J4LE3LKP.js";import{b,c as C,d as x,e as E}from"./chunk.JS2HQ2N4.js";import{a as V}from"./chunk.CGQ2BPPZ.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c as u,d as m,h as p}from"./chunk.PES7MZKA.js";import{b as v,e as h}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends p{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new V(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.boldLabel=!1;this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?E:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){let e=t.target.closest("sd-radio, sd-radio-button"),a=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,a.forEach(n=>n.checked=n===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(d=>!d.disabled),a=(g=e.find(d=>d.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(a)+i;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(d=>{d.checked=!1,this.hasButtonGroup||(d.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios(),a=t.find(i=>i.checked)||t[0];a&&a.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,a;let t=this.getAllRadios();if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof k&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(a=this.shadowRoot)==null?void 0:a.querySelector("sd-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-radio")&&customElements.get("sd-radio-button")){this.syncRadioElements();return}customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then(()=>this.syncRadios()),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,a=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!a,n=this.hasSlotController.test("tooltip"),l=h`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return h`<fieldset part="form-control" class="${c("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?h`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${c("p-0 leading-normal text-black text-left",e?"inline-block":"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?h`<sd-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...p.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([required]) #label::after{content:' *'}:host:has(sd-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([u()],s.prototype,"hasButtonGroup",2),o([u()],s.prototype,"defaultValue",2),o([u()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:Boolean,reflect:!0})],s.prototype,"boldLabel",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([f("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([f("value")],s.prototype,"handleValueChange",1),s=o([y("sd-radio-group")],s);export{s as a};
@@ -0,0 +1,2 @@
1
+ import{a as c,h as e}from"./chunk.PES7MZKA.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-carousel-item")],t);export{t as a};
@@ -0,0 +1 @@
1
+ var n={startOfDayLocal:t=>new Date(t.getFullYear(),t.getMonth(),t.getDate()),isSameDay:(t,e)=>!t||!e?!1:t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate(),clampDateToMonth:(t,e)=>{let a=new Date(e.getFullYear(),e.getMonth(),1),r=new Date(e.getFullYear(),e.getMonth()+1,0);return t<a?a:t>r?r:t},toLocalISODate:t=>{let e=t.getFullYear(),a=(t.getMonth()+1).toString().padStart(2,"0"),r=t.getDate().toString().padStart(2,"0");return`${e}.${a}.${r}`},parseLocalISO:t=>{if(!t)return null;let e=/^(\d{4})\.(\d{2})\.(\d{2})$/.exec(t);if(!e)return null;let a=Number(e[1]),r=Number(e[2])-1,l=Number(e[3]),o=new Date(a,r,l);return Number.isNaN(o.getTime())?null:o},compareDates:(t,e)=>{let a=n.startOfDayLocal(t).getTime(),r=n.startOfDayLocal(e).getTime();return a-r},isBetweenInclusive:(t,e,a)=>{let r=n.compareDates(e,a)<=0?e:a,l=n.compareDates(e,a)<=0?a:e;return n.compareDates(t,r)>=0&&n.compareDates(t,l)<=0}};export{n as a};
@@ -0,0 +1,5 @@
1
+ import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as s,b as n,d,h as e}from"./chunk.PES7MZKA.js";import{b as i,e as l}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends e{constructor(){super(...arguments);this.variant="white";this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}render(){let a={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return l`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/[.8] to-60%",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/[.8] to-60%")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0",{white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"bg-neutral-100/[.8] group-hover:bg-neutral-100/90",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"bg-primary-100/[.8] group-hover:bg-primary-100/90","gradient-light":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/90 to-primary-800/[.8]"}[this.variant])}"></div><div class="relative flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4 order-1",!a["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div class="${r("hidden",a["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div><div part="main" class="${r(!a["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div><div class="${r("mb-4 -z-10",!a["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...e.styles,i`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}::slotted([slot=headline]){margin:calc(var(--sd-spacing-1) * 0)!important;font-size:var(--sd-text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))!important;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}:host([variant=white]) .background:focus-within{background-color:var(--sd-color-background-white)}@supports (color:color-mix(in lab,red,red)){:host([variant=white]) .background:focus-within{background-color:color-mix(in oklab,var(--sd-color-background-white) var(--sd-opacity-90),transparent)}}:host([variant=neutral-100]) .background:focus-within{background-color:var(--sd-color-background-neutral-100)}@supports (color:color-mix(in lab,red,red)){:host([variant=neutral-100]) .background:focus-within{background-color:color-mix(in oklab,var(--sd-color-background-neutral-100) var(--sd-opacity-90),transparent)}}:host([variant=primary]) .background:focus-within{background-color:var(--sd-color-background-primary)}@supports (color:color-mix(in lab,red,red)){:host([variant=primary]) .background:focus-within{background-color:color-mix(in oklab,var(--sd-color-background-primary) var(--sd-opacity-90),transparent)}}:host([variant=primary-100]) .background:focus-within{background-color:var(--sd-color-background-primary-100)}@supports (color:color-mix(in lab,red,red)){:host([variant=primary-100]) .background:focus-within{background-color:color-mix(in oklab,var(--sd-color-background-primary-100) var(--sd-opacity-90),transparent)}}:host([variant=gradient-light]) .bg-gradient-to-t{--sd-color-background-white:var(--sd-informational-gradient--white-color-background, var(--sd-color-white))}:host([variant=gradient-dark]) .bg-gradient-to-t{--sd-color-background-primary-800:var(
3
+ --sd-informational-gradient--primary-800-color-background,
4
+ var(--sd-color-primary-800)
5
+ )}@property --tw-font-weight{syntax:"*";inherits:false}`],o([n({type:String,reflect:!0})],t.prototype,"variant",2),o([d('[part="base"]')],t.prototype,"teaserMedia",2),t=o([s("sd-teaser-media")],t);export{t as a};
@@ -1 +1,2 @@
1
- import{a as Dt}from"./chunk.YEDQWNIV.js";import{a as kt,b as E,d as Rt,h as Ct}from"./chunk.2WRD673L.js";import{b as Mt,e as Et}from"./chunk.763RLJEK.js";import{a as C,b as V,c as dt,e as v}from"./chunk.6EV4YU6C.js";var _=Math.min,S=Math.max,ct=Math.round,ft=Math.floor,F=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},pe={start:"end",end:"start"};function pt(t,e,n){return S(t,_(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}var ge=new Set(["top","bottom"]);function j(t){return ge.has(Y(t))?"y":"x"}function wt(t){return St(j(t))}function $t(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=wt(t),s=gt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function Nt(t){let e=at(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>pe[e])}var Bt=["left","right"],Ft=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:Bt:e?Bt:Ft;case"left":case"right":return e?we:ye;default:return[]}}function Ht(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(mt)))),s}function at(t){return t.replace(/left|right|bottom|top/g,e=>me[e])}function be(t){return C({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?be(t):{top:t,right:t,bottom:t,left:t}}function et(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function Wt(t,e,n){let{reference:i,floating:o}=t,s=j(e),r=wt(e),l=gt(r),f=Y(e),a=s==="y",c=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2,u;switch(f){case"top":u={x:c,y:i.y-o.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-o.width,y:h};break;default:u={x:i.x,y:i.y}}switch(tt(e)){case"start":u[r]-=m*(n&&a?-1:1);break;case"end":u[r]+=m*(n&&a?-1:1);break}return u}var Vt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e)),a=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:h}=Wt(a,i,f),m=i,u={},d=0;for(let p=0;p<l.length;p++){let{name:w,fn:g}=l[p],{x:y,y:b,data:A,reset:O}=await g({x:c,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:u,rects:a,platform:r,elements:{reference:t,floating:e}});c=y!=null?y:c,h=b!=null?b:h,u=V(C({},u),{[w]:C(C({},u[w]),A)}),O&&d<=50&&(d++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(a=O.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):O.rects),{x:c,y:h}=Wt(a,m,f)),p=-1)}return{x:c,y:h,placement:m,strategy:o,middlewareData:u}};async function yt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:f}=t,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:m=!1,padding:u=0}=Z(e,t),d=Tt(u),w=l[m?h==="floating"?"reference":"floating":h],g=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:c,strategy:f})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),A=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},O=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:f}):y);return{top:(g.top-O.top+d.top)/A.y,bottom:(O.bottom-g.bottom+d.bottom)/A.y,left:(g.left-O.left+d.left)/A.x,right:(O.right-g.right+d.right)/A.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:f}=e,{element:a,padding:c=0}=Z(t,e)||{};if(a==null)return{};let h=Tt(c),m={x:n,y:i},u=wt(o),d=gt(u),p=await r.getDimensions(a),w=u==="y",g=w?"top":"left",y=w?"bottom":"right",b=w?"clientHeight":"clientWidth",A=s.reference[d]+s.reference[u]-m[u]-s.floating[d],O=m[u]-s.reference[u],k=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a)),R=k?k[b]:0;(!R||!await(r.isElement==null?void 0:r.isElement(k)))&&(R=l.floating[b]||s.floating[d]);let I=A/2-O/2,H=R/2-p[d]/2-1,P=_(h[g],H),U=_(h[y],H),W=P,K=R-p[d]-U,L=R/2-p[d]/2+I,D=pt(W,L,K),J=!f.arrow&&tt(o)!=null&&L!==D&&s.reference[d]/2-(L<W?P:U)-p[d]/2<0,X=J?L<W?L-W:L-K:0;return{[u]:m[u]+X,data:C({[u]:D,centerOffset:L-D-X},J&&{alignmentOffset:X}),reset:J}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:f,elements:a}=e,L=Z(t,e),{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=L,w=dt(L,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=Y(o),y=j(l),b=Y(l)===l,A=await(f.isRTL==null?void 0:f.isRTL(a.floating)),O=m||(b||!p?[at(l)]:Nt(l)),k=d!=="none";!m&&k&&O.push(...Ht(l,p,d,A));let R=[l,...O],I=await yt(e,w),H=[],P=((i=s.flip)==null?void 0:i.overflows)||[];if(c&&H.push(I[g]),h){let D=$t(o,r,A);H.push(I[D[0]],I[D[1]])}if(P=[...P,{placement:o,overflows:H}],!H.every(D=>D<=0)){var U,W;let D=(((U=s.flip)==null?void 0:U.index)||0)+1,J=R[D];if(J&&(!(h==="alignment"?y!==j(J):!1)||P.every(B=>j(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:D,overflows:P},reset:{placement:J}};let X=(W=P.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:W.placement;if(!X)switch(u){case"bestFit":{var K;let Q=(K=P.filter(B=>{if(k){let G=j(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,de)=>G+de,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=l;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var ve=new Set(["left","top"]);async function Ae(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),l=tt(n),f=j(n)==="y",a=ve.has(r)?-1:1,c=s&&f?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:u,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof d=="number"&&(u=l==="end"?d*-1:d),f?{x:u*c,y:m*a}:{x:m*a,y:u*c}}var It=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:l}=e,f=await Ae(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:s+f.y,data:V(C({},f),{placement:r})}}}},Xt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o}=e,w=Z(t,e),{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}}}=w,f=dt(w,["mainAxis","crossAxis","limiter"]),a={x:n,y:i},c=await yt(e,f),h=j(Y(o)),m=St(h),u=a[m],d=a[h];if(s){let g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",b=u+c[g],A=u-c[y];u=pt(b,u,A)}if(r){let g=h==="y"?"top":"left",y=h==="y"?"bottom":"right",b=d+c[g],A=d-c[y];d=pt(b,d,A)}let p=l.fn(V(C({},e),{[m]:u,[h]:d}));return V(C({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[m]:s,[h]:r}}})}}};var Yt=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:l}=e,P=Z(t,e),{apply:f=()=>{}}=P,a=dt(P,["apply"]),c=await yt(e,a),h=Y(o),m=tt(o),u=j(o)==="y",{width:d,height:p}=s.floating,w,g;h==="top"||h==="bottom"?(w=h,g=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(g=h,w=m==="end"?"top":"bottom");let y=p-c.top-c.bottom,b=d-c.left-c.right,A=_(p-c[w],y),O=_(d-c[g],b),k=!e.middlewareData.shift,R=A,I=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=b),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(R=y),k&&!m){let U=S(c.left,0),W=S(c.right,0),K=S(c.top,0),L=S(c.bottom,0);u?I=d-2*(U!==0||W!==0?U+W:S(c.left,c.right)):R=p-2*(K!==0||L!==0?K+L:S(c.top,c.bottom))}await f(V(C({},e),{availableWidth:I,availableHeight:R}));let H=await r.getDimensions(l.floating);return d!==H.width||p!==H.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function nt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return xt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return xt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return xt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=M(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!Oe.has(o)}var Ee=new Set(["table","td","th"]);function Kt(t){return Ee.has(nt(t))}var Re=[":popover-open",":modal"];function ut(t){return Re.some(e=>{try{return t.matches(e)}catch(n){return!1}})}var Ce=["transform","translate","scale","rotate","perspective"],Se=["transform","translate","scale","rotate","perspective","filter"],Te=["paint","layout","strict","content"];function bt(t){let e=vt(),n=z(t)?M(t):t;return Ce.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Se.some(i=>(n.willChange||"").includes(i))||Te.some(i=>(n.contain||"").includes(i))}function Gt(t){let e=q(t);for(;N(e)&&!it(e);){if(bt(e))return e;if(ut(e))return null;e=q(e)}return null}function vt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Le=new Set(["html","body","#document"]);function it(t){return Le.has(nt(t))}function M(t){return T(t).getComputedStyle(t)}function ht(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(nt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||$(t);return qt(e)?e.host:e}function Jt(t){let e=q(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&st(e)?e:Jt(e)}function rt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Jt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=T(o);if(s){let l=At(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=M(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=N(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,l=ct(n)!==s||ct(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function Pt(t){return z(t)?t:t.contextElement}function lt(t){let e=Pt(t);if(!N(e))return F(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ee(e),r=(s?ct(n.width):n.width)/i,l=(s?ct(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var Pe=F(0);function ne(t){let e=T(t);return!vt()||!e.visualViewport?Pe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ze(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function ot(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Pt(t),r=F(1);e&&(i?z(i)&&(r=lt(i)):r=lt(t));let l=ze(s,n,i)?ne(s):F(0),f=(o.left+l.x)/r.x,a=(o.top+l.y)/r.y,c=o.width/r.x,h=o.height/r.y;if(s){let m=T(s),u=i&&z(i)?T(i):i,d=m,p=At(d);for(;p&&i&&u!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=M(p),b=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,A=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;f*=w.x,a*=w.y,c*=w.x,h*=w.y,f+=b,a+=A,d=T(p),p=At(d)}}return et({width:c,height:h,x:f,y:a})}function Ot(t,e){let n=ht(t).scrollLeft;return e?e.left+n:ot($(t)).left+n}function ie(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-Ot(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Me(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=$(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let f={scrollLeft:0,scrollTop:0},a=F(1),c=F(0),h=N(i);if((h||!h&&!s)&&((nt(i)!=="body"||st(r))&&(f=ht(i)),N(i))){let u=ot(i);a=lt(i),c.x=u.x+i.clientLeft,c.y=u.y+i.clientTop}let m=r&&!h&&!s?ie(r,f):F(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-f.scrollLeft*a.x+c.x+m.x,y:n.y*a.y-f.scrollTop*a.y+c.y+m.y}}function ke(t){return Array.from(t.getClientRects())}function De(t){let e=$(t),n=ht(t),i=t.ownerDocument.body,o=S(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=S(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+Ot(t),l=-n.scrollTop;return M(i).direction==="rtl"&&(r+=S(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}var Qt=25;function Be(t,e){let n=T(t),i=$(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,f=0;if(o){s=o.width,r=o.height;let c=vt();(!c||c&&e==="fixed")&&(l=o.offsetLeft,f=o.offsetTop)}let a=Ot(i);if(a<=0){let c=i.ownerDocument,h=c.body,m=getComputedStyle(h),u=c.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-u);d<=Qt&&(s-=d)}else a<=Qt&&(s+=a);return{width:s,height:r,x:l,y:f}}var Fe=new Set(["absolute","fixed"]);function $e(t,e){let n=ot(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=N(t)?lt(t):F(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,f=o*s.x,a=i*s.y;return{width:r,height:l,x:f,y:a}}function Zt(t,e,n){let i;if(e==="viewport")i=Be(t,n);else if(e==="document")i=De($(t));else if(z(e))i=$e(e,n);else{let o=ne(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function oe(t,e){let n=q(t);return n===e||!z(n)||it(n)?!1:M(n).position==="fixed"||oe(n,e)}function Ne(t,e){let n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter(l=>z(l)&&nt(l)!=="body"),o=null,s=M(t).position==="fixed",r=s?q(t):t;for(;z(r)&&!it(r);){let l=M(r),f=bt(r);!f&&l.position==="fixed"&&(o=null),(s?!f&&!o:!f&&l.position==="static"&&!!o&&Fe.has(o.position)||st(r)&&!f&&oe(t,r))?i=i.filter(c=>c!==r):o=l,r=q(r)}return e.set(t,i),i}function He(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ut(e)?[]:Ne(e,this._c):[].concat(n),i],l=r[0],f=r.reduce((a,c)=>{let h=Zt(e,c,o);return a.top=S(h.top,a.top),a.right=_(h.right,a.right),a.bottom=_(h.bottom,a.bottom),a.left=S(h.left,a.left),a},Zt(e,l,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function We(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Ve(t,e,n){let i=N(e),o=$(e),s=n==="fixed",r=ot(t,!0,s,e),l={scrollLeft:0,scrollTop:0},f=F(0);function a(){f.x=Ot(o)}if(i||!i&&!s)if((nt(e)!=="body"||st(o))&&(l=ht(e)),i){let u=ot(e,!0,s,e);f.x=u.x+e.clientLeft,f.y=u.y+e.clientTop}else o&&a();s&&!i&&o&&a();let c=o&&!i&&!s?ie(o,l):F(0),h=r.left+l.scrollLeft-f.x-c.x,m=r.top+l.scrollTop-f.y-c.y;return{x:h,y:m,width:r.width,height:r.height}}function Lt(t){return M(t).position==="static"}function te(t,e){if(!N(t)||M(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return $(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ut(t))return n;if(!N(t)){let o=q(t);for(;o&&!it(o);){if(z(o)&&!Lt(o))return o;o=q(o)}return n}let i=te(t,e);for(;i&&Kt(i)&&Lt(i);)i=te(i,e);return i&&it(i)&&Lt(i)&&!bt(i)?n:i||Gt(t)||n}var _e=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:Ve(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function je(t){return M(t).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:$,getClippingRect:He,getOffsetParent:re,getElementRects:_e,getClientRects:ke,getDimensions:We,getScale:lt,isElement:z,isRTL:je};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Xe(t,e){let n=null,i,o=$(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),s();let a=t.getBoundingClientRect(),{left:c,top:h,width:m,height:u}=a;if(l||e(),!m||!u)return;let d=ft(h),p=ft(o.clientWidth-(c+m)),w=ft(o.clientHeight-(h+u)),g=ft(c),b={rootMargin:-d+"px "+-p+"px "+-w+"px "+-g+"px",threshold:S(0,_(1,f))||1},A=!0;function O(k){let R=k[0].intersectionRatio;if(R!==f){if(!A)return r();R?r(!1,R):i=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!se(a,t.getBoundingClientRect())&&r(),A=!1}try{n=new IntersectionObserver(O,V(C({},b),{root:o.ownerDocument}))}catch(k){n=new IntersectionObserver(O,b)}n.observe(t)}return r(!0),s}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,a=Pt(t),c=o||s?[...a?rt(a):[],...rt(e)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let h=a&&l?Xe(a,n):null,m=-1,u=null;r&&(u=new ResizeObserver(g=>{let[y]=g;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=u)==null||b.observe(e)})),n()}),a&&!f&&u.observe(a),u.observe(e));let d,p=f?ot(t):null;f&&w();function w(){let g=ot(t);p&&!se(p,g)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;c.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(g=u)==null||g.disconnect(),u=null,f&&cancelAnimationFrame(d)}}var ae=It;var ce=Xt,fe=jt,zt=Yt;var ue=_t;var he=(t,e,n)=>{let i=new Map,o=C({platform:Ie},n),s=V(C({},o.platform),{_c:i});return Vt(t,e,V(C({},o),{platform:s}))};var x=class extends Ct{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ae({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(zt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ce({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(zt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:s,placement:r})=>{let l=getComputedStyle(this).direction==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=s.arrow.x,c=s.arrow.y,h="",m="",u="",d="";if(this.arrowPlacement==="start"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=l?p:"",d=l?"":p}else if(this.arrowPlacement==="end"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=l?"":p,d=l?p:"",u=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof a=="number"?`${a}px`:"",h=typeof c=="number"?`${c}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:u,left:d,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Et`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Dt("isolate",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Et`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Ct.styles,Mt`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],v([Rt('[part="popup"]')],x.prototype,"popup",2),v([Rt('[part="arrow"]')],x.prototype,"arrowEl",2),v([E({reflect:!0})],x.prototype,"anchor",2),v([E({type:Boolean,reflect:!0})],x.prototype,"active",2),v([E({type:String,reflect:!0})],x.prototype,"placement",2),v([E({type:String,reflect:!0})],x.prototype,"strategy",2),v([E({type:Number,reflect:!0})],x.prototype,"distance",2),v([E({type:Number,reflect:!0})],x.prototype,"skidding",2),v([E({type:Boolean,reflect:!0})],x.prototype,"arrow",2),v([E({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),v([E({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),v([E({type:Boolean,reflect:!0})],x.prototype,"flip",2),v([E({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],x.prototype,"flipFallbackPlacements",2),v([E({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),v([E({type:Object})],x.prototype,"flipBoundary",2),v([E({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),v([E({type:Boolean})],x.prototype,"shift",2),v([E({type:Object})],x.prototype,"shiftBoundary",2),v([E({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),v([E({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),v([E()],x.prototype,"sync",2),v([E({type:Object})],x.prototype,"autoSizeBoundary",2),v([E({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=v([kt("sd-6-0-0-next-1-popup")],x);export{x as a};
1
+ import{a as Dt}from"./chunk.YEDQWNIV.js";import{a as kt,b as E,d as Rt,h as Ct}from"./chunk.PES7MZKA.js";import{b as Mt,e as Et}from"./chunk.763RLJEK.js";import{a as C,b as V,c as dt,e as v}from"./chunk.6EV4YU6C.js";var _=Math.min,S=Math.max,ct=Math.round,ft=Math.floor,F=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"},pe={start:"end",end:"start"};function pt(t,e,n){return S(t,_(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}var ge=new Set(["top","bottom"]);function j(t){return ge.has(Y(t))?"y":"x"}function wt(t){return St(j(t))}function $t(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=wt(t),s=gt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function Nt(t){let e=at(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>pe[e])}var Bt=["left","right"],Ft=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:Bt:e?Bt:Ft;case"left":case"right":return e?we:ye;default:return[]}}function Ht(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(mt)))),s}function at(t){return t.replace(/left|right|bottom|top/g,e=>me[e])}function be(t){return C({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?be(t):{top:t,right:t,bottom:t,left:t}}function et(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function Wt(t,e,n){let{reference:i,floating:o}=t,s=j(e),r=wt(e),l=gt(r),f=Y(e),a=s==="y",c=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[l]/2-o[l]/2,u;switch(f){case"top":u={x:c,y:i.y-o.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-o.width,y:h};break;default:u={x:i.x,y:i.y}}switch(tt(e)){case"start":u[r]-=m*(n&&a?-1:1);break;case"end":u[r]+=m*(n&&a?-1:1);break}return u}var Vt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e)),a=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:c,y:h}=Wt(a,i,f),m=i,u={},d=0;for(let p=0;p<l.length;p++){let{name:w,fn:g}=l[p],{x:y,y:b,data:A,reset:O}=await g({x:c,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:u,rects:a,platform:r,elements:{reference:t,floating:e}});c=y!=null?y:c,h=b!=null?b:h,u=V(C({},u),{[w]:C(C({},u[w]),A)}),O&&d<=50&&(d++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(a=O.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):O.rects),{x:c,y:h}=Wt(a,m,f)),p=-1)}return{x:c,y:h,placement:m,strategy:o,middlewareData:u}};async function yt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:f}=t,{boundary:a="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:m=!1,padding:u=0}=Z(e,t),d=Tt(u),w=l[m?h==="floating"?"reference":"floating":h],g=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:c,strategy:f})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),A=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},O=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:f}):y);return{top:(g.top-O.top+d.top)/A.y,bottom:(O.bottom-g.bottom+d.bottom)/A.y,left:(g.left-O.left+d.left)/A.x,right:(O.right-g.right+d.right)/A.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:f}=e,{element:a,padding:c=0}=Z(t,e)||{};if(a==null)return{};let h=Tt(c),m={x:n,y:i},u=wt(o),d=gt(u),p=await r.getDimensions(a),w=u==="y",g=w?"top":"left",y=w?"bottom":"right",b=w?"clientHeight":"clientWidth",A=s.reference[d]+s.reference[u]-m[u]-s.floating[d],O=m[u]-s.reference[u],k=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a)),R=k?k[b]:0;(!R||!await(r.isElement==null?void 0:r.isElement(k)))&&(R=l.floating[b]||s.floating[d]);let I=A/2-O/2,H=R/2-p[d]/2-1,P=_(h[g],H),U=_(h[y],H),W=P,K=R-p[d]-U,L=R/2-p[d]/2+I,D=pt(W,L,K),J=!f.arrow&&tt(o)!=null&&L!==D&&s.reference[d]/2-(L<W?P:U)-p[d]/2<0,X=J?L<W?L-W:L-K:0;return{[u]:m[u]+X,data:C({[u]:D,centerOffset:L-D-X},J&&{alignmentOffset:X}),reset:J}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:f,elements:a}=e,L=Z(t,e),{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=L,w=dt(L,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=Y(o),y=j(l),b=Y(l)===l,A=await(f.isRTL==null?void 0:f.isRTL(a.floating)),O=m||(b||!p?[at(l)]:Nt(l)),k=d!=="none";!m&&k&&O.push(...Ht(l,p,d,A));let R=[l,...O],I=await yt(e,w),H=[],P=((i=s.flip)==null?void 0:i.overflows)||[];if(c&&H.push(I[g]),h){let D=$t(o,r,A);H.push(I[D[0]],I[D[1]])}if(P=[...P,{placement:o,overflows:H}],!H.every(D=>D<=0)){var U,W;let D=(((U=s.flip)==null?void 0:U.index)||0)+1,J=R[D];if(J&&(!(h==="alignment"?y!==j(J):!1)||P.every(B=>j(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:D,overflows:P},reset:{placement:J}};let X=(W=P.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:W.placement;if(!X)switch(u){case"bestFit":{var K;let Q=(K=P.filter(B=>{if(k){let G=j(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,de)=>G+de,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=l;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var ve=new Set(["left","top"]);async function Ae(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),l=tt(n),f=j(n)==="y",a=ve.has(r)?-1:1,c=s&&f?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:u,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof d=="number"&&(u=l==="end"?d*-1:d),f?{x:u*c,y:m*a}:{x:m*a,y:u*c}}var It=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:l}=e,f=await Ae(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:s+f.y,data:V(C({},f),{placement:r})}}}},Xt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o}=e,w=Z(t,e),{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}}}=w,f=dt(w,["mainAxis","crossAxis","limiter"]),a={x:n,y:i},c=await yt(e,f),h=j(Y(o)),m=St(h),u=a[m],d=a[h];if(s){let g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",b=u+c[g],A=u-c[y];u=pt(b,u,A)}if(r){let g=h==="y"?"top":"left",y=h==="y"?"bottom":"right",b=d+c[g],A=d-c[y];d=pt(b,d,A)}let p=l.fn(V(C({},e),{[m]:u,[h]:d}));return V(C({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[m]:s,[h]:r}}})}}};var Yt=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:l}=e,P=Z(t,e),{apply:f=()=>{}}=P,a=dt(P,["apply"]),c=await yt(e,a),h=Y(o),m=tt(o),u=j(o)==="y",{width:d,height:p}=s.floating,w,g;h==="top"||h==="bottom"?(w=h,g=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(g=h,w=m==="end"?"top":"bottom");let y=p-c.top-c.bottom,b=d-c.left-c.right,A=_(p-c[w],y),O=_(d-c[g],b),k=!e.middlewareData.shift,R=A,I=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=b),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(R=y),k&&!m){let U=S(c.left,0),W=S(c.right,0),K=S(c.top,0),L=S(c.bottom,0);u?I=d-2*(U!==0||W!==0?U+W:S(c.left,c.right)):R=p-2*(K!==0||L!==0?K+L:S(c.top,c.bottom))}await f(V(C({},e),{availableWidth:I,availableHeight:R}));let H=await r.getDimensions(l.floating);return d!==H.width||p!==H.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function nt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return xt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return xt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return xt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=M(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!Oe.has(o)}var Ee=new Set(["table","td","th"]);function Kt(t){return Ee.has(nt(t))}var Re=[":popover-open",":modal"];function ut(t){return Re.some(e=>{try{return t.matches(e)}catch(n){return!1}})}var Ce=["transform","translate","scale","rotate","perspective"],Se=["transform","translate","scale","rotate","perspective","filter"],Te=["paint","layout","strict","content"];function bt(t){let e=vt(),n=z(t)?M(t):t;return Ce.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Se.some(i=>(n.willChange||"").includes(i))||Te.some(i=>(n.contain||"").includes(i))}function Gt(t){let e=q(t);for(;N(e)&&!it(e);){if(bt(e))return e;if(ut(e))return null;e=q(e)}return null}function vt(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Le=new Set(["html","body","#document"]);function it(t){return Le.has(nt(t))}function M(t){return T(t).getComputedStyle(t)}function ht(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(nt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||$(t);return qt(e)?e.host:e}function Jt(t){let e=q(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&st(e)?e:Jt(e)}function rt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Jt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=T(o);if(s){let l=At(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=M(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=N(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,l=ct(n)!==s||ct(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function Pt(t){return z(t)?t:t.contextElement}function lt(t){let e=Pt(t);if(!N(e))return F(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ee(e),r=(s?ct(n.width):n.width)/i,l=(s?ct(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var Pe=F(0);function ne(t){let e=T(t);return!vt()||!e.visualViewport?Pe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ze(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function ot(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Pt(t),r=F(1);e&&(i?z(i)&&(r=lt(i)):r=lt(t));let l=ze(s,n,i)?ne(s):F(0),f=(o.left+l.x)/r.x,a=(o.top+l.y)/r.y,c=o.width/r.x,h=o.height/r.y;if(s){let m=T(s),u=i&&z(i)?T(i):i,d=m,p=At(d);for(;p&&i&&u!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=M(p),b=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,A=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;f*=w.x,a*=w.y,c*=w.x,h*=w.y,f+=b,a+=A,d=T(p),p=At(d)}}return et({width:c,height:h,x:f,y:a})}function Ot(t,e){let n=ht(t).scrollLeft;return e?e.left+n:ot($(t)).left+n}function ie(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-Ot(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Me(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=$(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let f={scrollLeft:0,scrollTop:0},a=F(1),c=F(0),h=N(i);if((h||!h&&!s)&&((nt(i)!=="body"||st(r))&&(f=ht(i)),N(i))){let u=ot(i);a=lt(i),c.x=u.x+i.clientLeft,c.y=u.y+i.clientTop}let m=r&&!h&&!s?ie(r,f):F(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-f.scrollLeft*a.x+c.x+m.x,y:n.y*a.y-f.scrollTop*a.y+c.y+m.y}}function ke(t){return Array.from(t.getClientRects())}function De(t){let e=$(t),n=ht(t),i=t.ownerDocument.body,o=S(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=S(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+Ot(t),l=-n.scrollTop;return M(i).direction==="rtl"&&(r+=S(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}var Qt=25;function Be(t,e){let n=T(t),i=$(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,f=0;if(o){s=o.width,r=o.height;let c=vt();(!c||c&&e==="fixed")&&(l=o.offsetLeft,f=o.offsetTop)}let a=Ot(i);if(a<=0){let c=i.ownerDocument,h=c.body,m=getComputedStyle(h),u=c.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-u);d<=Qt&&(s-=d)}else a<=Qt&&(s+=a);return{width:s,height:r,x:l,y:f}}var Fe=new Set(["absolute","fixed"]);function $e(t,e){let n=ot(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=N(t)?lt(t):F(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,f=o*s.x,a=i*s.y;return{width:r,height:l,x:f,y:a}}function Zt(t,e,n){let i;if(e==="viewport")i=Be(t,n);else if(e==="document")i=De($(t));else if(z(e))i=$e(e,n);else{let o=ne(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function oe(t,e){let n=q(t);return n===e||!z(n)||it(n)?!1:M(n).position==="fixed"||oe(n,e)}function Ne(t,e){let n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter(l=>z(l)&&nt(l)!=="body"),o=null,s=M(t).position==="fixed",r=s?q(t):t;for(;z(r)&&!it(r);){let l=M(r),f=bt(r);!f&&l.position==="fixed"&&(o=null),(s?!f&&!o:!f&&l.position==="static"&&!!o&&Fe.has(o.position)||st(r)&&!f&&oe(t,r))?i=i.filter(c=>c!==r):o=l,r=q(r)}return e.set(t,i),i}function He(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ut(e)?[]:Ne(e,this._c):[].concat(n),i],l=r[0],f=r.reduce((a,c)=>{let h=Zt(e,c,o);return a.top=S(h.top,a.top),a.right=_(h.right,a.right),a.bottom=_(h.bottom,a.bottom),a.left=S(h.left,a.left),a},Zt(e,l,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function We(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Ve(t,e,n){let i=N(e),o=$(e),s=n==="fixed",r=ot(t,!0,s,e),l={scrollLeft:0,scrollTop:0},f=F(0);function a(){f.x=Ot(o)}if(i||!i&&!s)if((nt(e)!=="body"||st(o))&&(l=ht(e)),i){let u=ot(e,!0,s,e);f.x=u.x+e.clientLeft,f.y=u.y+e.clientTop}else o&&a();s&&!i&&o&&a();let c=o&&!i&&!s?ie(o,l):F(0),h=r.left+l.scrollLeft-f.x-c.x,m=r.top+l.scrollTop-f.y-c.y;return{x:h,y:m,width:r.width,height:r.height}}function Lt(t){return M(t).position==="static"}function te(t,e){if(!N(t)||M(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return $(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ut(t))return n;if(!N(t)){let o=q(t);for(;o&&!it(o);){if(z(o)&&!Lt(o))return o;o=q(o)}return n}let i=te(t,e);for(;i&&Kt(i)&&Lt(i);)i=te(i,e);return i&&it(i)&&Lt(i)&&!bt(i)?n:i||Gt(t)||n}var _e=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:Ve(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function je(t){return M(t).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:$,getClippingRect:He,getOffsetParent:re,getElementRects:_e,getClientRects:ke,getDimensions:We,getScale:lt,isElement:z,isRTL:je};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Xe(t,e){let n=null,i,o=$(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),s();let a=t.getBoundingClientRect(),{left:c,top:h,width:m,height:u}=a;if(l||e(),!m||!u)return;let d=ft(h),p=ft(o.clientWidth-(c+m)),w=ft(o.clientHeight-(h+u)),g=ft(c),b={rootMargin:-d+"px "+-p+"px "+-w+"px "+-g+"px",threshold:S(0,_(1,f))||1},A=!0;function O(k){let R=k[0].intersectionRatio;if(R!==f){if(!A)return r();R?r(!1,R):i=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!se(a,t.getBoundingClientRect())&&r(),A=!1}try{n=new IntersectionObserver(O,V(C({},b),{root:o.ownerDocument}))}catch(k){n=new IntersectionObserver(O,b)}n.observe(t)}return r(!0),s}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,a=Pt(t),c=o||s?[...a?rt(a):[],...rt(e)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let h=a&&l?Xe(a,n):null,m=-1,u=null;r&&(u=new ResizeObserver(g=>{let[y]=g;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=u)==null||b.observe(e)})),n()}),a&&!f&&u.observe(a),u.observe(e));let d,p=f?ot(t):null;f&&w();function w(){let g=ot(t);p&&!se(p,g)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;c.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(g=u)==null||g.disconnect(),u=null,f&&cancelAnimationFrame(d)}}var ae=It;var ce=Xt,fe=jt,zt=Yt;var ue=_t;var he=(t,e,n)=>{let i=new Map,o=C({platform:Ie},n),s=V(C({},o.platform),{_c:i});return Vt(t,e,V(C({},o),{platform:s}))};var x=class extends Ct{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ae({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(zt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ce({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(zt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:s,placement:r})=>{let l=getComputedStyle(this).direction==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=s.arrow.x,c=s.arrow.y,h="",m="",u="",d="";if(this.arrowPlacement==="start"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=l?p:"",d=l?"":p}else if(this.arrowPlacement==="end"){let p=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=l?"":p,d=l?p:"",u=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof a=="number"?`${a}px`:"",h=typeof c=="number"?`${c}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:u,left:d,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Et`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Dt("isolate",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Et`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Ct.styles,Mt`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],v([Rt('[part="popup"]')],x.prototype,"popup",2),v([Rt('[part="arrow"]')],x.prototype,"arrowEl",2),v([E({reflect:!0})],x.prototype,"anchor",2),v([E({type:Boolean,reflect:!0})],x.prototype,"active",2),v([E({type:String,reflect:!0})],x.prototype,"placement",2),v([E({type:String,reflect:!0})],x.prototype,"strategy",2),v([E({type:Number,reflect:!0})],x.prototype,"distance",2),v([E({type:Number,reflect:!0})],x.prototype,"skidding",2),v([E({type:Boolean,reflect:!0})],x.prototype,"arrow",2),v([E({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),v([E({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),v([E({type:Boolean,reflect:!0})],x.prototype,"flip",2),v([E({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],x.prototype,"flipFallbackPlacements",2),v([E({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),v([E({type:Object})],x.prototype,"flipBoundary",2),v([E({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),v([E({type:Boolean})],x.prototype,"shift",2),v([E({type:Object})],x.prototype,"shiftBoundary",2),v([E({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),v([E({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),v([E()],x.prototype,"sync",2),v([E({type:Object})],x.prototype,"autoSizeBoundary",2),v([E({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=v([kt("sd-popup")],x);export{x as a};
@@ -0,0 +1,2 @@
1
+ import{b as y}from"./chunk.MP6XEXRW.js";import{a as u,b as p,c as a}from"./chunk.ESKMS5I6.js";import{a as v}from"./chunk.TWZDCIM2.js";import{a as h}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as f,h as n}from"./chunk.PES7MZKA.js";import{b as g,e as b}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var c,t=class extends n{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),u(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),p(this)}onThemeChange(){this.setIcon()}getUrl(){let e=a(this.library);return this.name&&e?e.name==="_internal"?e.resolver(this.name,this):e.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var m;let e=a(this.library),i=this.getUrl();if(c||(c=new DOMParser),i)try{let l=await v(i);if(i===this.getUrl())if(l.ok){let o=c.parseFromString(l.svg,"text/html").body.querySelector("svg");o!==null?((m=e==null?void 0:e.mutator)==null||m.call(e,o),this.svg=o.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(l){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return b`<sd-theme-listener></sd-theme-listener>${y(this.svg)}`}};t.styles=[...n.styles,g`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:var(--sd-color-text-primary)}:host([color=white]) svg{color:var(--sd-color-text-white)}`],r([f()],t.prototype,"svg",2),r([s({reflect:!0})],t.prototype,"name",2),r([s()],t.prototype,"src",2),r([s()],t.prototype,"label",2),r([s({reflect:!0})],t.prototype,"library",2),r([s({reflect:!0})],t.prototype,"color",2),r([h("label")],t.prototype,"handleLabelChange",1),r([h(["name","src","library"])],t.prototype,"setIcon",1),t=r([d("sd-icon")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as b}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.7BPPDSHY.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as c,b as i,d as o,h as l}from"./chunk.PES7MZKA.js";import{b as d,e as s}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var v=0,t=class extends l{constructor(){super(...arguments);this.attrId=++v;this.componentId=`sd-tab-${this.attrId}`;this.hasSlotController=new b(this,"left");this.localize=new u(this);this.variant="default";this.active=!1;this.disabled=!1;this.visuallyDisabled=!1;this.panel=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){let r=this.disabled||this.visuallyDisabled;this.setAttribute("aria-disabled",r?"true":"false")}focus(r){this.tab.focus(r)}blur(){this.tab.blur()}render(){this.id=this.id.length>0?this.id:this.componentId;let r={left:this.hasSlotController.test("left")};return s`<div part="base" class="${a("inline-flex justify-center min-w-max items-center h-12 px-3 leading-none select-none cursor-pointer group relative","outline-hidden focus-visible:focus-outline outline-2 !-outline-offset-2 transition-all duration-fast ease-in-out",this.variant==="container"?"tab-container-border bg-white rounded-[4px_4px_0_0]":"navigable-border-radius",this.variant==="container"&&this.active&&"tab--active-container-border bg-white",this.disabled||this.visuallyDisabled?"!cursor-not-allowed":"hover:bg-neutral-200",this.active&&"z-20")}" tabindex="${!this.active||this.disabled?"-1":"0"}"><div class="${a("flex h-full items-center justify-center whitespace-nowrap",this.disabled||this.visuallyDisabled&&"opacity-50 ")}"><slot name="left" class="${a(r.left&&"block pr-2",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot><slot class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary")}"></slot>${this.variant==="container"?s`<div part="active-tab-indicator" class="${a("absolute bottom-0 h-1 bg-accent w-3/4 bottom-0 group-hover:w-[calc(100%-2px)] navigable__current-indicator-height navigable__current-indicator-border-radius")}"></div>`:""}<div part="hover-bottom-border" class="${a(!this.active&&!this.disabled&&"absolute bottom-0 left-0 w-full h-0.25 border-b border-transparent group-hover:border-b-neutral-400 transition-[border] duration-fast ease-in-out")}"></div></div></div>`}};t.styles=[...l.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{box-sizing:border-box;display:inline-block}:host(:hover)::part(hover-bottom-border){border-bottom-color:var(--sd-color-border-neutral-400)}.tab-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:transparent;--tw-content:'';content:var(--tw-content)}.tab--active-container-border::after{position:absolute;height:100%;width:100%;border-style:var(--tw-border-style);border-width:1px;border-color:var(--sd-color-border-neutral-400);transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));--tw-content:'';content:var(--tw-content);border-bottom:none;border-radius:4px 4px 0 0}[part=active-tab-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([active]) [part=active-tab-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}`],e([o("[part=base]")],t.prototype,"tab",2),e([o("[part=active-tab-indicator]")],t.prototype,"currentIndicator",2),e([i({type:String,reflect:!0})],t.prototype,"variant",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:String,reflect:!0})],t.prototype,"panel",2),e([n("active")],t.prototype,"handleActiveChange",1),e([n(["disabled","visually-disabled"])],t.prototype,"handleDisabledChange",1),t=e([c("sd-tab")],t);export{t as a};
@@ -1 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.PV6UYBMY.js";import{a as h,b as a}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as m,b as r,h as d}from"./chunk.2WRD673L.js";import{b}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){let f=this.isLink(),u=this.notInteractive||this.waiting?h`div`:f?h`a`:h`button`,g=this.hasSlotController.test("label"),c=this.label?!0:g,v=this.hasSlotController.test("[default]"),s=this.description?!0:v,o=this.horizontalInline&&this.orientation==="horizontal",w=e("flex shrink-0 gap-2",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3"),x=e("border rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white");return a`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-full overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${w}"><${u} part="circle" href="${n(f?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!s?void 0:"description")}" class="${x}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"text-primary")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?a`<sd-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-icon>`:a`${this.index}`}</slot></${u}>${o?a`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!s?"mt-1":"mt-3")}">${c&&a`<div part="label" id="label" class="${e("font-bold sd-paragraph whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"text-primary":"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":a`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-500")}"></div>`}</div>${s?a`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm break-words",s?"flex-1":"w-0 h-0 overflow-hidden",s&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||a`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":a`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-400")}"></div>`}</div>${o?"":a`<div part="text-container" class="${e("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?"ml-2":"mr-4")}"><div part="label" id="label" class="${e("!font-bold sd-paragraph",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"text-primary":"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||a`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{flex:1}:host([no-tail]){flex-grow:0}:host([horizontal-inline]):has([part=description]){min-width:calc(var(--sd-spacing-1) * 0);flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([m("sd-step")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.PV6UYBMY.js";import{a as h,b as a}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as m,b as r,h as d}from"./chunk.PES7MZKA.js";import{b}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends d{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","[default]");this.size="lg";this.orientation="horizontal";this.horizontalInline=!1;this.waiting=!1;this.disabled=!1;this.current=!1;this.noTail=!1;this.notInteractive=!1;this.label="";this.description="";this.index=1;this.href=""}connectedCallback(){super.connectedCallback()}isLink(){return!!this.href}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleCurrentChange(){this.current&&(this.disabled=!1,this.waiting=!1)}handleDisabledChange(){this.disabled&&(this.current=!1,this.waiting=!1)}handleWaitingChange(){this.waiting&&(this.current=!1,this.disabled=!1)}handleInteractivityChange(){this.notInteractive&&(this.current=!1,this.disabled=!1,this.waiting=!1)}render(){let f=this.isLink(),u=this.notInteractive||this.waiting?h`div`:f?h`a`:h`button`,g=this.hasSlotController.test("label"),c=this.label?!0:g,v=this.hasSlotController.test("[default]"),s=this.description?!0:v,o=this.horizontalInline&&this.orientation==="horizontal",w=e("flex shrink-0 gap-2",this.noTail&&!o&&"w-max",this.orientation==="horizontal"?"flex-row":"flex-col items-stretch",o&&"items-start",this.orientation==="horizontal"&&!this.horizontalInline?this.size==="lg"?"translateLg":"translateSm":this.size==="lg"?"mt-1":"mt-3"),x=e("border rounded-full aspect-square circle flex items-center justify-center shrink-0 font-bold select-none",this.disabled?"focus-visible:outline-none cursor-not-allowed":!this.notInteractive&&!this.waiting?"focus-visible:focus-outline hover:cursor-pointer":"",this.notInteractive?this.size==="lg"?"not-interactive-lg":"w-12":this.size==="lg"?"w-12":"w-8",this.disabled&&"border-neutral-500 text-neutral-500",this.waiting&&"border-neutral-400 text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"border-primary hover:bg-primary-100 hover:border-primary-500",this.notInteractive&&"border-neutral-400",this.current&&"bg-accent border-none text-white");return a`<div role="listitem" part="base" class="${e("flex pt-1",this.orientation==="horizontal"?"flex-col w-full":"flex-row gap-4 items-stretch h-full w-full overflow-hidden",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"group")}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><div part="circle-and-tail-container" class="${w}"><${u} part="circle" href="${n(f?this.href:void 0)}" aria-disabled="${n(this.disabled||this.waiting||void 0)}" aria-current="${this.current?"step":void 0}" aria-labelledby="${n(this.notInteractive||this.waiting||!c?void 0:"label")}" aria-describedby="${n(this.notInteractive||this.waiting||!s?void 0:"description")}" class="${x}"><slot name="circle-content" class="${e("text-lg",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting&&"text-primary hover:text-primary-500 hover:fill-primary-500",this.notInteractive&&"text-primary")}">${!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?a`<sd-icon name="status-check" library="_internal" class="${e(this.size==="sm"&&"text-sm")}"></sd-icon>`:a`${this.index}`}</slot></${u}>${o?a`<div class="${e(!this.noTail&&"flex-1","flex flex-col gap-1")}"><div class="${e("flex w-full",c&&"gap-2",this.size==="sm"&&!s?"mt-1":"mt-3")}">${c&&a`<div part="label" id="label" class="${e("font-bold sd-paragraph whitespace-nowrap",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"text-primary":"text-black")}"><slot name="label">${this.label}</slot></div>`} ${this.noTail?"":a`<div part="tail" class="${e("border-t flex-1 mr-2 mt-3",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-500")}"></div>`}</div>${s?a`<div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm break-words",s?"flex-1":"w-0 h-0 overflow-hidden",s&&!this.noTail&&"pr-4",(this.disabled||this.waiting)&&"!text-neutral-700")}">${this.description||a`<slot></slot>`}</div>`:""}</div>`:this.noTail?"":a`<div part="tail" class="${e(this.orientation==="horizontal"?"border-t w-full my-auto mr-2":"border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"border-primary":"border-neutral-400")}"></div>`}</div>${o?"":a`<div part="text-container" class="${e("mt-4 break-words flex flex-col gap-2",this.orientation==="horizontal"?"text-center w-40":"text-left",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",this.notInteractive?"ml-2":"mr-4")}"><div part="label" id="label" class="${e("!font-bold sd-paragraph",this.disabled&&"text-neutral-500",this.waiting&&"text-neutral-700",!this.disabled&&!this.current&&!this.notInteractive&&!this.waiting?"text-primary":"text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${e("sd-paragraph sd-paragraph--size-sm",(this.disabled||this.waiting)&&"text-neutral-700")}">${this.description||a`<slot></slot>`}</div></div>`}</div>`}};t.styles=[...d.styles,b`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{flex:1}:host([no-tail]){flex-grow:0}:host([horizontal-inline]):has([part=description]){min-width:calc(var(--sd-spacing-1) * 0);flex:1}.translateLg{transform:translateX(3.438rem)}.translateSm{transform:translateX(4rem)}.not-interactive-lg{width:4.5rem}`],i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({type:String,reflect:!0})],t.prototype,"orientation",2),i([r({type:Boolean,reflect:!0,attribute:"horizontal-inline"})],t.prototype,"horizontalInline",2),i([r({type:Boolean,reflect:!0})],t.prototype,"waiting",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({reflect:!0,type:Boolean,attribute:"no-tail"})],t.prototype,"noTail",2),i([r({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),i([r({type:String,reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"description",2),i([r({type:Number,reflect:!0,attribute:"index"})],t.prototype,"index",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([l("current")],t.prototype,"handleCurrentChange",1),i([l("disabled")],t.prototype,"handleDisabledChange",1),i([l("waiting")],t.prototype,"handleWaitingChange",1),i([l("notInteractive")],t.prototype,"handleInteractivityChange",1),t=i([m("sd-step")],t);export{t as a};