@solid-design-system/components 6.7.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (673) hide show
  1. package/cdn/chunks/{chunk.MB7AGGLX.js → chunk.25DRFJMC.js} +2 -2
  2. package/cdn/chunks/{chunk.O2JYWK2X.js → chunk.2TRMFN6U.js} +1 -1
  3. package/cdn/chunks/{chunk.EENTRXWD.js → chunk.2VGJBR73.js} +1 -1
  4. package/cdn/chunks/{chunk.UFCNOC3N.js → chunk.34BRLWBM.js} +2 -2
  5. package/cdn/chunks/{chunk.4CHW5IDN.js → chunk.3M4RKO34.js} +1 -1
  6. package/cdn/chunks/{chunk.R4ZOSKCW.js → chunk.3VYZIXD7.js} +1 -1
  7. package/cdn/chunks/{chunk.UOLF3Z2F.js → chunk.3YATPZKE.js} +1 -1
  8. package/cdn/chunks/{chunk.DZHWN7RR.js → chunk.4AR6H2QH.js} +1 -1
  9. package/cdn/chunks/{chunk.6MYDGBJD.js → chunk.4BMBQGU3.js} +1 -1
  10. package/cdn/chunks/{chunk.DFJ6FD7J.js → chunk.4NKCD6HL.js} +1 -1
  11. package/cdn/chunks/{chunk.QLW3GMT7.js → chunk.4YNC3XSD.js} +1 -1
  12. package/cdn/chunks/{chunk.LCB6IWY2.js → chunk.6MUTKG7S.js} +1 -1
  13. package/cdn/chunks/{chunk.7JM7OSND.js → chunk.6UVLIGA7.js} +2 -2
  14. package/cdn/chunks/{chunk.JKUZ7I52.js → chunk.6WZKUQIK.js} +1 -1
  15. package/cdn/chunks/{chunk.K3YVYEAO.js → chunk.AAJIGG4R.js} +1 -1
  16. package/cdn/chunks/{chunk.ZO3H5C7X.js → chunk.AX6IEBJ2.js} +1 -1
  17. package/cdn/chunks/{chunk.LS2NAENW.js → chunk.B35GXAKI.js} +1 -1
  18. package/cdn/chunks/{chunk.CMXQRUFT.js → chunk.CRLGS4QF.js} +1 -1
  19. package/cdn/chunks/chunk.DLO5GMBQ.js +2 -0
  20. package/cdn/chunks/{chunk.KUNV4ZC6.js → chunk.DTAYHASV.js} +2 -2
  21. package/cdn/chunks/{chunk.7NQHT75O.js → chunk.EDWO5QHC.js} +1 -1
  22. package/cdn/chunks/{chunk.LQCY4Q4V.js → chunk.EFO4PKGN.js} +1 -1
  23. package/cdn/chunks/{chunk.OGH2CT55.js → chunk.G4KULB76.js} +1 -1
  24. package/cdn/chunks/{chunk.R5D5IAKJ.js → chunk.GEGKRESG.js} +1 -1
  25. package/cdn/chunks/{chunk.N6MWNUFJ.js → chunk.GIP7V3SN.js} +1 -1
  26. package/{cdn-versioned/chunks/chunk.SIY4LRPB.js → cdn/chunks/chunk.GO7NGR4Q.js} +1 -1
  27. package/cdn/chunks/{chunk.5ZY4FRPG.js → chunk.H3DQRUKN.js} +1 -1
  28. package/cdn/chunks/{chunk.A62VHDIL.js → chunk.HE5IYQC2.js} +1 -1
  29. package/{cdn-versioned/chunks/chunk.MP6XEXRW.js → cdn/chunks/chunk.HLDWO3HP.js} +1 -1
  30. package/cdn/chunks/{chunk.XNIBBYE6.js → chunk.JAV26Y4S.js} +1 -1
  31. package/cdn/chunks/{chunk.NZ66E5AS.js → chunk.JSZK2BUE.js} +1 -1
  32. package/cdn/chunks/{chunk.XVE3HUDP.js → chunk.LBHLY2UU.js} +1 -1
  33. package/cdn/chunks/{chunk.4KRNPHHH.js → chunk.LYNWHGS3.js} +1 -1
  34. package/cdn/chunks/{chunk.XGRIXEAE.js → chunk.N3QINXLL.js} +1 -1
  35. package/cdn/chunks/{chunk.UJL7MHVM.js → chunk.N7SVA6X3.js} +1 -1
  36. package/cdn/chunks/{chunk.AHB36YEA.js → chunk.NBPJQ3OT.js} +1 -1
  37. package/cdn/chunks/{chunk.JMTPGFJB.js → chunk.O3ECZ2CR.js} +1 -1
  38. package/cdn/chunks/{chunk.LPKXOADQ.js → chunk.O7PJIDMP.js} +1 -1
  39. package/cdn/chunks/{chunk.QGV3BXCE.js → chunk.OJA4LU7S.js} +1 -1
  40. package/cdn/chunks/{chunk.7NVWBDY2.js → chunk.PPLEJM75.js} +1 -1
  41. package/cdn/chunks/{chunk.QVVATD5X.js → chunk.PPUIAWDA.js} +1 -1
  42. package/cdn/chunks/{chunk.3GKNX2TO.js → chunk.PWJSPZBR.js} +2 -2
  43. package/cdn/chunks/{chunk.CJ34NUTS.js → chunk.RAP66B6O.js} +1 -1
  44. package/cdn/chunks/{chunk.CSLPZKLY.js → chunk.RMXFJHN6.js} +1 -1
  45. package/cdn/chunks/{chunk.5QEBITWI.js → chunk.RXKIZ2UI.js} +1 -1
  46. package/cdn/chunks/{chunk.VTDQOKJM.js → chunk.RZLPP7DP.js} +1 -1
  47. package/cdn/chunks/chunk.SA5SIXVH.js +2 -0
  48. package/{cdn-versioned/chunks/chunk.PV6UYBMY.js → cdn/chunks/chunk.SLXPE3UU.js} +1 -1
  49. package/cdn/chunks/chunk.SV6DES3E.js +11 -0
  50. package/cdn/chunks/{chunk.HXNGWXXV.js → chunk.TEPKQR4P.js} +2 -2
  51. package/cdn/chunks/{chunk.NOEVVOED.js → chunk.TJA62EZW.js} +1 -1
  52. package/cdn/chunks/{chunk.XDXK4RJJ.js → chunk.TJZECQLN.js} +1 -1
  53. package/cdn/chunks/{chunk.RXJ46J4Q.js → chunk.TTU2AZHQ.js} +1 -1
  54. package/cdn/chunks/chunk.UOAG5PNU.js +28 -0
  55. package/cdn/chunks/{chunk.UDRTTV56.js → chunk.V4FZAAD4.js} +2 -2
  56. package/cdn/chunks/{chunk.TZPXBIUB.js → chunk.V6TDPNCR.js} +1 -1
  57. package/cdn/chunks/chunk.VKDXPIJT.js +2 -0
  58. package/cdn/chunks/{chunk.REKTRG7S.js → chunk.VQBTMNY2.js} +1 -1
  59. package/cdn/chunks/{chunk.NTUMACZ6.js → chunk.VTXEZEW4.js} +2 -2
  60. package/cdn/chunks/{chunk.7JU65HUG.js → chunk.VZJMYD3T.js} +1 -1
  61. package/cdn/chunks/{chunk.QFIY7MLK.js → chunk.W2WCYRB2.js} +1 -1
  62. package/{cdn-versioned/chunks/chunk.N3WG3NAL.js → cdn/chunks/chunk.W4EADN3G.js} +1 -1
  63. package/cdn/chunks/{chunk.5I4NSTZK.js → chunk.WRCC4UIS.js} +1 -1
  64. package/cdn/chunks/{chunk.S7ONP6BO.js → chunk.WXRHAPLA.js} +1 -1
  65. package/cdn/chunks/{chunk.N6YWZXZL.js → chunk.XFHFUV4B.js} +1 -1
  66. package/cdn/chunks/{chunk.PE5TZWM3.js → chunk.YAIU6HLJ.js} +1 -1
  67. package/cdn/chunks/{chunk.CDP46OS4.js → chunk.YPTZDABK.js} +1 -1
  68. package/cdn/chunks/{chunk.VYBQ3X2B.js → chunk.YQH4KNT6.js} +1 -1
  69. package/cdn/chunks/{chunk.AC25BNNG.js → chunk.ZBAP3VO3.js} +1 -1
  70. package/cdn/chunks/{chunk.7HAKRUIU.js → chunk.ZDHTVWJF.js} +1 -1
  71. package/cdn/chunks/{chunk.AXNMKWZO.js → chunk.ZVCMF6VL.js} +1 -1
  72. package/cdn/components/accordion/accordion.js +1 -1
  73. package/cdn/components/accordion-group/accordion-group.js +1 -1
  74. package/cdn/components/animation/animation.js +1 -1
  75. package/cdn/components/audio/audio.js +1 -1
  76. package/cdn/components/badge/badge.js +1 -1
  77. package/cdn/components/brandshape/brandshape.js +1 -1
  78. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  79. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  80. package/cdn/components/button/button.js +1 -1
  81. package/cdn/components/button-group/button-group.js +1 -1
  82. package/cdn/components/carousel/carousel.js +1 -1
  83. package/cdn/components/carousel-item/carousel-item.js +1 -1
  84. package/cdn/components/checkbox/checkbox.js +1 -1
  85. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  86. package/cdn/components/combobox/combobox.js +1 -1
  87. package/cdn/components/datepicker/datepicker.js +1 -1
  88. package/cdn/components/dialog/dialog.js +1 -1
  89. package/cdn/components/divider/divider.js +1 -1
  90. package/cdn/components/drawer/drawer.js +1 -1
  91. package/cdn/components/dropdown/dropdown.js +1 -1
  92. package/cdn/components/expandable/expandable.js +1 -1
  93. package/cdn/components/flipcard/flipcard.js +1 -1
  94. package/cdn/components/header/header.js +1 -1
  95. package/cdn/components/icon/icon.js +1 -1
  96. package/cdn/components/include/include.js +1 -1
  97. package/cdn/components/input/input.js +1 -1
  98. package/cdn/components/link/link.js +1 -1
  99. package/cdn/components/loader/loader.js +1 -1
  100. package/cdn/components/map-marker/map-marker.js +1 -1
  101. package/cdn/components/menu/menu.js +1 -1
  102. package/cdn/components/menu-item/menu-item.js +1 -1
  103. package/cdn/components/menu-item/submenu-controller.js +1 -1
  104. package/cdn/components/navigation-item/navigation-item.js +1 -1
  105. package/cdn/components/notification/notification.js +1 -1
  106. package/cdn/components/optgroup/optgroup.js +1 -1
  107. package/cdn/components/option/option.js +1 -1
  108. package/cdn/components/popup/popup.js +1 -1
  109. package/cdn/components/quickfact/quickfact.js +1 -1
  110. package/cdn/components/radio/radio.js +1 -1
  111. package/cdn/components/radio-button/radio-button.js +1 -1
  112. package/cdn/components/radio-group/radio-group.js +1 -1
  113. package/cdn/components/range/range.d.ts +6 -0
  114. package/cdn/components/range/range.js +1 -1
  115. package/cdn/components/range-tick/range-tick.js +1 -1
  116. package/cdn/components/scrollable/scrollable.js +1 -1
  117. package/cdn/components/select/select.js +1 -1
  118. package/cdn/components/skeleton/skeleton.js +1 -1
  119. package/cdn/components/spinner/spinner.js +1 -1
  120. package/cdn/components/step/step.js +1 -1
  121. package/cdn/components/step-group/step-group.js +1 -1
  122. package/cdn/components/switch/switch.js +1 -1
  123. package/cdn/components/tab/tab.js +1 -1
  124. package/cdn/components/tab-group/tab-group.js +1 -1
  125. package/cdn/components/tab-panel/tab-panel.js +1 -1
  126. package/cdn/components/tag/tag.js +1 -1
  127. package/cdn/components/teaser/teaser.js +1 -1
  128. package/cdn/components/teaser-media/teaser-media.js +1 -1
  129. package/cdn/components/textarea/textarea.js +1 -1
  130. package/cdn/components/theme-listener/theme-listener.js +1 -1
  131. package/cdn/components/tooltip/tooltip.js +1 -1
  132. package/cdn/components/video/video.js +1 -1
  133. package/cdn/custom-elements.json +1 -1
  134. package/cdn/solid-components.bundle.js +78 -78
  135. package/cdn/solid-components.css +1 -1
  136. package/cdn/solid-components.iife.js +79 -79
  137. package/cdn/solid-components.js +1 -1
  138. package/cdn/utilities/autocomplete-config.js +1 -1
  139. package/cdn/utilities/form.js +1 -1
  140. package/cdn/web-types.json +1 -1
  141. package/cdn-versioned/chunks/{chunk.MB7AGGLX.js → chunk.25DRFJMC.js} +3 -3
  142. package/cdn-versioned/chunks/{chunk.O2JYWK2X.js → chunk.2TRMFN6U.js} +2 -2
  143. package/cdn-versioned/chunks/{chunk.EENTRXWD.js → chunk.2VGJBR73.js} +2 -2
  144. package/cdn-versioned/chunks/{chunk.UFCNOC3N.js → chunk.34BRLWBM.js} +3 -3
  145. package/cdn-versioned/chunks/{chunk.4CHW5IDN.js → chunk.3M4RKO34.js} +2 -2
  146. package/cdn-versioned/chunks/{chunk.R4ZOSKCW.js → chunk.3VYZIXD7.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.UOLF3Z2F.js → chunk.3YATPZKE.js} +2 -2
  148. package/cdn-versioned/chunks/{chunk.DZHWN7RR.js → chunk.4AR6H2QH.js} +2 -2
  149. package/cdn-versioned/chunks/{chunk.6MYDGBJD.js → chunk.4BMBQGU3.js} +2 -2
  150. package/cdn-versioned/chunks/{chunk.DFJ6FD7J.js → chunk.4NKCD6HL.js} +2 -2
  151. package/cdn-versioned/chunks/{chunk.QLW3GMT7.js → chunk.4YNC3XSD.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.LCB6IWY2.js → chunk.6MUTKG7S.js} +2 -2
  153. package/cdn-versioned/chunks/{chunk.7JM7OSND.js → chunk.6UVLIGA7.js} +3 -3
  154. package/cdn-versioned/chunks/{chunk.JKUZ7I52.js → chunk.6WZKUQIK.js} +2 -2
  155. package/cdn-versioned/chunks/{chunk.K3YVYEAO.js → chunk.AAJIGG4R.js} +2 -2
  156. package/cdn-versioned/chunks/{chunk.ZO3H5C7X.js → chunk.AX6IEBJ2.js} +2 -2
  157. package/cdn-versioned/chunks/{chunk.LS2NAENW.js → chunk.B35GXAKI.js} +2 -2
  158. package/cdn-versioned/chunks/{chunk.CMXQRUFT.js → chunk.CRLGS4QF.js} +2 -2
  159. package/cdn-versioned/chunks/chunk.DLO5GMBQ.js +2 -0
  160. package/cdn-versioned/chunks/{chunk.KUNV4ZC6.js → chunk.DTAYHASV.js} +3 -3
  161. package/cdn-versioned/chunks/{chunk.7NQHT75O.js → chunk.EDWO5QHC.js} +2 -2
  162. package/cdn-versioned/chunks/{chunk.LQCY4Q4V.js → chunk.EFO4PKGN.js} +2 -2
  163. package/cdn-versioned/chunks/{chunk.OGH2CT55.js → chunk.G4KULB76.js} +2 -2
  164. package/cdn-versioned/chunks/{chunk.R5D5IAKJ.js → chunk.GEGKRESG.js} +2 -2
  165. package/cdn-versioned/chunks/{chunk.N6MWNUFJ.js → chunk.GIP7V3SN.js} +2 -2
  166. package/{cdn/chunks/chunk.SIY4LRPB.js → cdn-versioned/chunks/chunk.GO7NGR4Q.js} +1 -1
  167. package/cdn-versioned/chunks/{chunk.5ZY4FRPG.js → chunk.H3DQRUKN.js} +2 -2
  168. package/cdn-versioned/chunks/{chunk.A62VHDIL.js → chunk.HE5IYQC2.js} +2 -2
  169. package/{cdn/chunks/chunk.MP6XEXRW.js → cdn-versioned/chunks/chunk.HLDWO3HP.js} +1 -1
  170. package/cdn-versioned/chunks/{chunk.XNIBBYE6.js → chunk.JAV26Y4S.js} +2 -2
  171. package/cdn-versioned/chunks/{chunk.NZ66E5AS.js → chunk.JSZK2BUE.js} +2 -2
  172. package/cdn-versioned/chunks/{chunk.XVE3HUDP.js → chunk.LBHLY2UU.js} +2 -2
  173. package/cdn-versioned/chunks/{chunk.4KRNPHHH.js → chunk.LYNWHGS3.js} +2 -2
  174. package/cdn-versioned/chunks/{chunk.XGRIXEAE.js → chunk.N3QINXLL.js} +2 -2
  175. package/cdn-versioned/chunks/{chunk.UJL7MHVM.js → chunk.N7SVA6X3.js} +2 -2
  176. package/cdn-versioned/chunks/{chunk.AHB36YEA.js → chunk.NBPJQ3OT.js} +2 -2
  177. package/cdn-versioned/chunks/{chunk.JMTPGFJB.js → chunk.O3ECZ2CR.js} +2 -2
  178. package/cdn-versioned/chunks/{chunk.LPKXOADQ.js → chunk.O7PJIDMP.js} +2 -2
  179. package/cdn-versioned/chunks/{chunk.QGV3BXCE.js → chunk.OJA4LU7S.js} +2 -2
  180. package/cdn-versioned/chunks/{chunk.7NVWBDY2.js → chunk.PPLEJM75.js} +2 -2
  181. package/cdn-versioned/chunks/{chunk.QVVATD5X.js → chunk.PPUIAWDA.js} +2 -2
  182. package/cdn-versioned/chunks/{chunk.3GKNX2TO.js → chunk.PWJSPZBR.js} +3 -3
  183. package/cdn-versioned/chunks/{chunk.CJ34NUTS.js → chunk.RAP66B6O.js} +1 -1
  184. package/cdn-versioned/chunks/{chunk.CSLPZKLY.js → chunk.RMXFJHN6.js} +1 -1
  185. package/cdn-versioned/chunks/{chunk.5QEBITWI.js → chunk.RXKIZ2UI.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.VTDQOKJM.js → chunk.RZLPP7DP.js} +2 -2
  187. package/cdn-versioned/chunks/chunk.SA5SIXVH.js +2 -0
  188. package/{cdn/chunks/chunk.PV6UYBMY.js → cdn-versioned/chunks/chunk.SLXPE3UU.js} +1 -1
  189. package/cdn-versioned/chunks/chunk.SV6DES3E.js +11 -0
  190. package/cdn-versioned/chunks/{chunk.HXNGWXXV.js → chunk.TEPKQR4P.js} +5 -5
  191. package/cdn-versioned/chunks/{chunk.NOEVVOED.js → chunk.TJA62EZW.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.XDXK4RJJ.js → chunk.TJZECQLN.js} +2 -2
  193. package/cdn-versioned/chunks/{chunk.RXJ46J4Q.js → chunk.TTU2AZHQ.js} +2 -2
  194. package/cdn-versioned/chunks/chunk.UOAG5PNU.js +28 -0
  195. package/cdn-versioned/chunks/{chunk.UDRTTV56.js → chunk.V4FZAAD4.js} +5 -5
  196. package/cdn-versioned/chunks/{chunk.TZPXBIUB.js → chunk.V6TDPNCR.js} +2 -2
  197. package/cdn-versioned/chunks/chunk.VKDXPIJT.js +2 -0
  198. package/cdn-versioned/chunks/{chunk.REKTRG7S.js → chunk.VQBTMNY2.js} +2 -2
  199. package/cdn-versioned/chunks/{chunk.NTUMACZ6.js → chunk.VTXEZEW4.js} +10 -10
  200. package/cdn-versioned/chunks/{chunk.7JU65HUG.js → chunk.VZJMYD3T.js} +2 -2
  201. package/cdn-versioned/chunks/{chunk.QFIY7MLK.js → chunk.W2WCYRB2.js} +2 -2
  202. package/{cdn/chunks/chunk.N3WG3NAL.js → cdn-versioned/chunks/chunk.W4EADN3G.js} +1 -1
  203. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  204. package/cdn-versioned/chunks/{chunk.5I4NSTZK.js → chunk.WRCC4UIS.js} +2 -2
  205. package/cdn-versioned/chunks/{chunk.S7ONP6BO.js → chunk.WXRHAPLA.js} +2 -2
  206. package/cdn-versioned/chunks/{chunk.N6YWZXZL.js → chunk.XFHFUV4B.js} +2 -2
  207. package/cdn-versioned/chunks/{chunk.PE5TZWM3.js → chunk.YAIU6HLJ.js} +2 -2
  208. package/cdn-versioned/chunks/{chunk.CDP46OS4.js → chunk.YPTZDABK.js} +1 -1
  209. package/cdn-versioned/chunks/{chunk.VYBQ3X2B.js → chunk.YQH4KNT6.js} +1 -1
  210. package/cdn-versioned/chunks/{chunk.AC25BNNG.js → chunk.ZBAP3VO3.js} +2 -2
  211. package/cdn-versioned/chunks/{chunk.7HAKRUIU.js → chunk.ZDHTVWJF.js} +2 -2
  212. package/cdn-versioned/chunks/{chunk.AXNMKWZO.js → chunk.ZVCMF6VL.js} +2 -2
  213. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  214. package/cdn-versioned/components/accordion/accordion.js +1 -1
  215. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  216. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  217. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  218. package/cdn-versioned/components/animation/animation.js +1 -1
  219. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  220. package/cdn-versioned/components/audio/audio.js +1 -1
  221. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  222. package/cdn-versioned/components/badge/badge.js +1 -1
  223. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  224. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  225. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  226. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  227. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  228. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  229. package/cdn-versioned/components/button/button.d.ts +1 -1
  230. package/cdn-versioned/components/button/button.js +1 -1
  231. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  232. package/cdn-versioned/components/button-group/button-group.js +1 -1
  233. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  234. package/cdn-versioned/components/carousel/carousel.js +1 -1
  235. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  236. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  237. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  238. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  239. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  240. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  241. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  242. package/cdn-versioned/components/combobox/combobox.js +1 -1
  243. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  244. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  245. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  246. package/cdn-versioned/components/dialog/dialog.js +1 -1
  247. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  248. package/cdn-versioned/components/divider/divider.js +1 -1
  249. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  250. package/cdn-versioned/components/drawer/drawer.js +1 -1
  251. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  252. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  253. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  254. package/cdn-versioned/components/expandable/expandable.js +1 -1
  255. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  256. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  257. package/cdn-versioned/components/header/header.d.ts +1 -1
  258. package/cdn-versioned/components/header/header.js +1 -1
  259. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  260. package/cdn-versioned/components/icon/icon.js +1 -1
  261. package/cdn-versioned/components/include/include.d.ts +1 -1
  262. package/cdn-versioned/components/include/include.js +1 -1
  263. package/cdn-versioned/components/input/input.d.ts +1 -1
  264. package/cdn-versioned/components/input/input.js +1 -1
  265. package/cdn-versioned/components/link/link.d.ts +1 -1
  266. package/cdn-versioned/components/link/link.js +1 -1
  267. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  268. package/cdn-versioned/components/loader/loader.js +1 -1
  269. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  270. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  271. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  272. package/cdn-versioned/components/menu/menu.js +1 -1
  273. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  274. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  275. package/cdn-versioned/components/menu-item/submenu-controller.js +1 -1
  276. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  277. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  278. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  279. package/cdn-versioned/components/notification/notification.js +1 -1
  280. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  281. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  282. package/cdn-versioned/components/option/option.d.ts +1 -1
  283. package/cdn-versioned/components/option/option.js +1 -1
  284. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  285. package/cdn-versioned/components/popup/popup.js +1 -1
  286. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  287. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  288. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  289. package/cdn-versioned/components/radio/radio.js +1 -1
  290. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  291. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  292. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  293. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  294. package/cdn-versioned/components/range/range.d.ts +7 -1
  295. package/cdn-versioned/components/range/range.js +1 -1
  296. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  297. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  298. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  299. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  300. package/cdn-versioned/components/select/select.d.ts +1 -1
  301. package/cdn-versioned/components/select/select.js +1 -1
  302. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  303. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  304. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  305. package/cdn-versioned/components/spinner/spinner.js +1 -1
  306. package/cdn-versioned/components/step/step.d.ts +1 -1
  307. package/cdn-versioned/components/step/step.js +1 -1
  308. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  309. package/cdn-versioned/components/step-group/step-group.js +1 -1
  310. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  311. package/cdn-versioned/components/switch/switch.js +1 -1
  312. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  313. package/cdn-versioned/components/tab/tab.js +1 -1
  314. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  315. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  316. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  317. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  318. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  319. package/cdn-versioned/components/tag/tag.js +1 -1
  320. package/cdn-versioned/components/teaser/teaser.js +1 -1
  321. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  322. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  323. package/cdn-versioned/components/textarea/textarea.js +1 -1
  324. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  325. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  326. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  327. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  328. package/cdn-versioned/components/video/video.d.ts +1 -1
  329. package/cdn-versioned/components/video/video.js +1 -1
  330. package/cdn-versioned/custom-elements.json +244 -244
  331. package/cdn-versioned/internal/form.js +3 -3
  332. package/cdn-versioned/solid-components.bundle.js +90 -90
  333. package/cdn-versioned/solid-components.css +3 -3
  334. package/cdn-versioned/solid-components.iife.js +90 -90
  335. package/cdn-versioned/solid-components.js +1 -1
  336. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  337. package/cdn-versioned/utilities/form.js +1 -1
  338. package/cdn-versioned/vscode.html-custom-data.json +94 -94
  339. package/cdn-versioned/web-types.json +157 -157
  340. package/dist/chunks/{chunk.IM7UBJL2.js → chunk.2AIOG6MZ.js} +2 -2
  341. package/dist/chunks/{chunk.MA3U64BI.js → chunk.3AXFD44E.js} +2 -2
  342. package/dist/chunks/{chunk.3JA6XC66.js → chunk.47VYEPC7.js} +2 -2
  343. package/dist/chunks/{chunk.RVIQ642S.js → chunk.55DM73XI.js} +2 -2
  344. package/dist/chunks/{chunk.WZQBNRPA.js → chunk.5MCEFEDU.js} +3 -3
  345. package/dist/chunks/{chunk.UHNAADFP.js → chunk.5MPE743H.js} +2 -2
  346. package/dist/chunks/{chunk.WR3SE4O5.js → chunk.5OTIJW46.js} +3 -3
  347. package/dist/chunks/{chunk.GMYIZ3J2.js → chunk.5RQUMMVO.js} +2 -2
  348. package/dist/chunks/{chunk.JHGB2ZMH.js → chunk.5X6LFFKU.js} +2 -2
  349. package/{dist-versioned/chunks/chunk.FNYEXUNK.js → dist/chunks/chunk.6RE6UZ72.js} +1 -1
  350. package/dist/chunks/{chunk.RS56W46S.js → chunk.B3QW57TB.js} +2 -2
  351. package/dist/chunks/{chunk.EP3FJ6UU.js → chunk.B5JP55MU.js} +2 -2
  352. package/dist/chunks/{chunk.34FNDYY2.js → chunk.CGIINI3U.js} +2 -2
  353. package/dist/chunks/{chunk.FH7IYLFW.js → chunk.CPWWEXBN.js} +3 -3
  354. package/dist/chunks/{chunk.GAZNGQ6X.js → chunk.CTTLYNGB.js} +2 -2
  355. package/dist/chunks/{chunk.WU5L6FE5.js → chunk.CYUQUE4B.js} +2 -2
  356. package/dist/chunks/{chunk.F5PRJGBD.js → chunk.DILSJX2P.js} +2 -2
  357. package/dist/chunks/{chunk.TUSC7AK7.js → chunk.DZ2VDJQR.js} +2 -2
  358. package/dist/chunks/{chunk.FJ3FPGND.js → chunk.EJ7ZDGWQ.js} +2 -2
  359. package/dist/chunks/{chunk.DKXRGYTS.js → chunk.F5SY46WN.js} +2 -2
  360. package/dist/chunks/{chunk.FHD6XY2M.js → chunk.FCQKJZ3Q.js} +2 -2
  361. package/dist/chunks/{chunk.7WUGACZI.js → chunk.GHCI43SX.js} +2 -2
  362. package/dist/chunks/{chunk.7UVXJDH2.js → chunk.GJQGI7TR.js} +2 -2
  363. package/dist/chunks/{chunk.QXENWV2D.js → chunk.GQ5YYHTD.js} +2 -2
  364. package/dist/chunks/{chunk.EY7UK2BZ.js → chunk.GRANIL4Q.js} +2 -2
  365. package/dist/chunks/{chunk.VOPJWC6H.js → chunk.I53S7NHV.js} +2 -2
  366. package/dist/chunks/{chunk.ZQFW6FCT.js → chunk.IKVZ463R.js} +2 -2
  367. package/dist/chunks/{chunk.CECM7HKR.js → chunk.INHXFMS2.js} +2 -2
  368. package/dist/chunks/{chunk.46HLMURY.js → chunk.IPCTQ6PF.js} +2 -2
  369. package/dist/chunks/{chunk.66BLBC6H.js → chunk.JKCYKEO5.js} +2 -2
  370. package/dist/chunks/{chunk.SAOVIYDI.js → chunk.JQTAMOYF.js} +2 -2
  371. package/dist/chunks/{chunk.FDRFLSGY.js → chunk.KCPMJRGB.js} +2 -2
  372. package/dist/chunks/{chunk.H7FDVZRQ.js → chunk.LIQBUDFE.js} +1 -1
  373. package/dist/chunks/{chunk.PBVPL25D.js → chunk.LZARRB2N.js} +4 -3
  374. package/dist/chunks/{chunk.KFH26OT3.js → chunk.MUI6ZGSD.js} +2 -2
  375. package/dist/chunks/{chunk.FC3YSKGL.js → chunk.N6JFPCVN.js} +2 -2
  376. package/dist/chunks/{chunk.EFL7UGJF.js → chunk.NHJ6T7AP.js} +2 -2
  377. package/dist/chunks/{chunk.CTZIFPPT.js → chunk.NQSFAYCE.js} +2 -2
  378. package/dist/chunks/{chunk.NJMHI5UM.js → chunk.OFV5F7EL.js} +2 -2
  379. package/dist/chunks/{chunk.XYDUW4SZ.js → chunk.PZQ6H5Y4.js} +2 -2
  380. package/dist/chunks/{chunk.KB7VIBAE.js → chunk.PZYRZZ2R.js} +2 -2
  381. package/dist/chunks/{chunk.35O2UVGB.js → chunk.QFWRJIAT.js} +2 -2
  382. package/dist/chunks/{chunk.KGN4OSJS.js → chunk.RBO5CDRH.js} +2 -2
  383. package/dist/chunks/{chunk.V5OZWLLA.js → chunk.RKY7KPDX.js} +3 -3
  384. package/dist/chunks/{chunk.W7QB7KQG.js → chunk.SMT5CXN7.js} +2 -2
  385. package/dist/chunks/{chunk.CGQHCRPP.js → chunk.SNTZFQ72.js} +2 -2
  386. package/dist/chunks/{chunk.BMSVBL74.js → chunk.SNVCUPPA.js} +2 -2
  387. package/{dist-versioned/chunks/chunk.TGZE77AF.js → dist/chunks/chunk.T3YIJ2AA.js} +41 -8
  388. package/dist/chunks/{chunk.6OQST4MV.js → chunk.U3G5KSOH.js} +4 -4
  389. package/dist/chunks/{chunk.QH2KMZDB.js → chunk.UQT5XXVS.js} +2 -2
  390. package/dist/chunks/{chunk.NOWCQZBS.js → chunk.UVI5HHLF.js} +1 -1
  391. package/dist/chunks/{chunk.36PZ2ZYY.js → chunk.V7GR76PZ.js} +2 -2
  392. package/dist/chunks/{chunk.CBC4EZWD.js → chunk.VWORQHO2.js} +2 -2
  393. package/dist/chunks/{chunk.JXJ5ABVB.js → chunk.W5KWIGMY.js} +2 -2
  394. package/dist/chunks/{chunk.ZULS2JUR.js → chunk.WFZUFPF7.js} +2 -2
  395. package/dist/chunks/{chunk.O75UK37Y.js → chunk.WRQJ6H5M.js} +2 -2
  396. package/dist/chunks/{chunk.ADLNODYZ.js → chunk.XCFU7XC7.js} +2 -2
  397. package/dist/chunks/{chunk.7TNM3KIX.js → chunk.XFYTZRFZ.js} +2 -2
  398. package/dist/chunks/{chunk.37TQP26W.js → chunk.XPXDWU3H.js} +2 -2
  399. package/dist/chunks/{chunk.UVGX2XYL.js → chunk.XRVF3H64.js} +2 -2
  400. package/dist/chunks/{chunk.U2BN2DBY.js → chunk.XWLSRHC5.js} +1 -1
  401. package/dist/chunks/{chunk.XCFDPNXY.js → chunk.Y5QCYID3.js} +2 -2
  402. package/dist/chunks/{chunk.MRI5QQUM.js → chunk.ZNJFZAOB.js} +2 -2
  403. package/dist/components/accordion/accordion.js +3 -3
  404. package/dist/components/accordion-group/accordion-group.js +4 -4
  405. package/dist/components/animation/animation.js +2 -2
  406. package/dist/components/audio/audio.js +6 -6
  407. package/dist/components/badge/badge.js +2 -2
  408. package/dist/components/brandshape/brandshape.js +2 -2
  409. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  410. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  411. package/dist/components/button/button.js +3 -3
  412. package/dist/components/button-group/button-group.js +2 -2
  413. package/dist/components/carousel/carousel.js +6 -6
  414. package/dist/components/carousel/scroll-controller.js +2 -2
  415. package/dist/components/carousel-item/carousel-item.js +2 -2
  416. package/dist/components/checkbox/checkbox.js +3 -3
  417. package/dist/components/checkbox-group/checkbox-group.js +3 -3
  418. package/dist/components/combobox/combobox.js +5 -5
  419. package/dist/components/datepicker/datepicker.js +5 -5
  420. package/dist/components/dialog/dialog.js +5 -5
  421. package/dist/components/divider/divider.js +2 -2
  422. package/dist/components/drawer/drawer.js +5 -5
  423. package/dist/components/dropdown/dropdown.js +3 -3
  424. package/dist/components/expandable/expandable.js +3 -3
  425. package/dist/components/flipcard/flipcard.js +5 -5
  426. package/dist/components/header/header.js +3 -3
  427. package/dist/components/icon/icon.js +2 -2
  428. package/dist/components/include/include.js +2 -2
  429. package/dist/components/input/input.js +3 -3
  430. package/dist/components/link/link.js +2 -2
  431. package/dist/components/loader/loader.js +2 -2
  432. package/dist/components/map-marker/map-marker.js +2 -2
  433. package/dist/components/menu/menu.js +2 -2
  434. package/dist/components/menu-item/menu-item.js +2 -2
  435. package/dist/components/navigation-item/navigation-item.js +4 -4
  436. package/dist/components/notification/notification.js +5 -5
  437. package/dist/components/optgroup/optgroup.js +3 -3
  438. package/dist/components/option/option.js +3 -3
  439. package/dist/components/popup/popup.js +2 -2
  440. package/dist/components/quickfact/quickfact.js +4 -4
  441. package/dist/components/radio/radio.js +2 -2
  442. package/dist/components/radio-button/radio-button.js +2 -2
  443. package/dist/components/radio-group/radio-group.js +4 -4
  444. package/dist/components/range/range.d.ts +6 -0
  445. package/dist/components/range/range.js +14 -2
  446. package/dist/components/range-tick/range-tick.js +2 -2
  447. package/dist/components/scrollable/scrollable.js +3 -3
  448. package/dist/components/select/select.js +5 -5
  449. package/dist/components/skeleton/skeleton.js +2 -2
  450. package/dist/components/spinner/spinner.js +2 -2
  451. package/dist/components/step/step.js +3 -3
  452. package/dist/components/step-group/step-group.js +2 -2
  453. package/dist/components/switch/switch.js +2 -2
  454. package/dist/components/tab/tab.js +2 -2
  455. package/dist/components/tab-group/tab-group.js +4 -4
  456. package/dist/components/tab-panel/tab-panel.js +2 -2
  457. package/dist/components/tag/tag.js +3 -3
  458. package/dist/components/teaser/teaser.js +2 -2
  459. package/dist/components/teaser-media/teaser-media.js +2 -2
  460. package/dist/components/textarea/textarea.js +3 -3
  461. package/dist/components/theme-listener/theme-listener.js +2 -2
  462. package/dist/components/tooltip/tooltip.js +4 -4
  463. package/dist/components/video/video.js +3 -3
  464. package/dist/custom-elements.json +1 -1
  465. package/dist/solid-components.css +1 -1
  466. package/dist/solid-components.js +65 -65
  467. package/dist/utilities/autocomplete-config.js +3 -3
  468. package/dist/web-types.json +1 -1
  469. package/dist-versioned/chunks/{chunk.IM7UBJL2.js → chunk.2AIOG6MZ.js} +3 -3
  470. package/dist-versioned/chunks/{chunk.MA3U64BI.js → chunk.3AXFD44E.js} +3 -3
  471. package/dist-versioned/chunks/{chunk.3JA6XC66.js → chunk.47VYEPC7.js} +7 -7
  472. package/dist-versioned/chunks/{chunk.RVIQ642S.js → chunk.55DM73XI.js} +3 -3
  473. package/dist-versioned/chunks/{chunk.WZQBNRPA.js → chunk.5MCEFEDU.js} +5 -5
  474. package/dist-versioned/chunks/{chunk.UHNAADFP.js → chunk.5MPE743H.js} +6 -6
  475. package/dist-versioned/chunks/{chunk.WR3SE4O5.js → chunk.5OTIJW46.js} +15 -15
  476. package/dist-versioned/chunks/{chunk.GMYIZ3J2.js → chunk.5RQUMMVO.js} +30 -30
  477. package/dist-versioned/chunks/{chunk.JHGB2ZMH.js → chunk.5X6LFFKU.js} +3 -3
  478. package/{dist/chunks/chunk.FNYEXUNK.js → dist-versioned/chunks/chunk.6RE6UZ72.js} +1 -1
  479. package/dist-versioned/chunks/{chunk.RS56W46S.js → chunk.B3QW57TB.js} +28 -28
  480. package/dist-versioned/chunks/{chunk.EP3FJ6UU.js → chunk.B5JP55MU.js} +6 -6
  481. package/dist-versioned/chunks/chunk.C3WIBDGG.js +3 -3
  482. package/dist-versioned/chunks/{chunk.34FNDYY2.js → chunk.CGIINI3U.js} +4 -4
  483. package/dist-versioned/chunks/{chunk.FH7IYLFW.js → chunk.CPWWEXBN.js} +17 -17
  484. package/dist-versioned/chunks/{chunk.GAZNGQ6X.js → chunk.CTTLYNGB.js} +7 -7
  485. package/dist-versioned/chunks/{chunk.WU5L6FE5.js → chunk.CYUQUE4B.js} +4 -4
  486. package/dist-versioned/chunks/{chunk.F5PRJGBD.js → chunk.DILSJX2P.js} +5 -5
  487. package/dist-versioned/chunks/{chunk.TUSC7AK7.js → chunk.DZ2VDJQR.js} +10 -10
  488. package/dist-versioned/chunks/{chunk.FJ3FPGND.js → chunk.EJ7ZDGWQ.js} +3 -3
  489. package/dist-versioned/chunks/{chunk.DKXRGYTS.js → chunk.F5SY46WN.js} +7 -7
  490. package/dist-versioned/chunks/{chunk.FHD6XY2M.js → chunk.FCQKJZ3Q.js} +5 -5
  491. package/dist-versioned/chunks/{chunk.7WUGACZI.js → chunk.GHCI43SX.js} +5 -5
  492. package/dist-versioned/chunks/{chunk.7UVXJDH2.js → chunk.GJQGI7TR.js} +5 -5
  493. package/dist-versioned/chunks/{chunk.QXENWV2D.js → chunk.GQ5YYHTD.js} +6 -6
  494. package/dist-versioned/chunks/{chunk.EY7UK2BZ.js → chunk.GRANIL4Q.js} +8 -8
  495. package/dist-versioned/chunks/{chunk.VOPJWC6H.js → chunk.I53S7NHV.js} +4 -4
  496. package/dist-versioned/chunks/{chunk.ZQFW6FCT.js → chunk.IKVZ463R.js} +5 -5
  497. package/dist-versioned/chunks/{chunk.CECM7HKR.js → chunk.INHXFMS2.js} +13 -13
  498. package/dist-versioned/chunks/{chunk.46HLMURY.js → chunk.IPCTQ6PF.js} +6 -6
  499. package/dist-versioned/chunks/{chunk.66BLBC6H.js → chunk.JKCYKEO5.js} +26 -26
  500. package/dist-versioned/chunks/{chunk.SAOVIYDI.js → chunk.JQTAMOYF.js} +4 -4
  501. package/dist-versioned/chunks/{chunk.FDRFLSGY.js → chunk.KCPMJRGB.js} +4 -4
  502. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  503. package/dist-versioned/chunks/{chunk.H7FDVZRQ.js → chunk.LIQBUDFE.js} +2 -2
  504. package/dist-versioned/chunks/{chunk.PBVPL25D.js → chunk.LZARRB2N.js} +10 -9
  505. package/dist-versioned/chunks/{chunk.KFH26OT3.js → chunk.MUI6ZGSD.js} +3 -3
  506. package/dist-versioned/chunks/{chunk.FC3YSKGL.js → chunk.N6JFPCVN.js} +3 -3
  507. package/dist-versioned/chunks/{chunk.EFL7UGJF.js → chunk.NHJ6T7AP.js} +5 -5
  508. package/dist-versioned/chunks/{chunk.CTZIFPPT.js → chunk.NQSFAYCE.js} +8 -8
  509. package/dist-versioned/chunks/{chunk.NJMHI5UM.js → chunk.OFV5F7EL.js} +14 -14
  510. package/dist-versioned/chunks/{chunk.XYDUW4SZ.js → chunk.PZQ6H5Y4.js} +11 -11
  511. package/dist-versioned/chunks/{chunk.KB7VIBAE.js → chunk.PZYRZZ2R.js} +5 -5
  512. package/dist-versioned/chunks/{chunk.35O2UVGB.js → chunk.QFWRJIAT.js} +3 -3
  513. package/dist-versioned/chunks/{chunk.KGN4OSJS.js → chunk.RBO5CDRH.js} +10 -10
  514. package/dist-versioned/chunks/{chunk.V5OZWLLA.js → chunk.RKY7KPDX.js} +6 -6
  515. package/dist-versioned/chunks/{chunk.W7QB7KQG.js → chunk.SMT5CXN7.js} +7 -7
  516. package/dist-versioned/chunks/{chunk.CGQHCRPP.js → chunk.SNTZFQ72.js} +7 -7
  517. package/dist-versioned/chunks/{chunk.BMSVBL74.js → chunk.SNVCUPPA.js} +4 -4
  518. package/{dist/chunks/chunk.TGZE77AF.js → dist-versioned/chunks/chunk.T3YIJ2AA.js} +41 -8
  519. package/dist-versioned/chunks/{chunk.6OQST4MV.js → chunk.U3G5KSOH.js} +14 -14
  520. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  521. package/dist-versioned/chunks/{chunk.QH2KMZDB.js → chunk.UQT5XXVS.js} +7 -7
  522. package/dist-versioned/chunks/{chunk.NOWCQZBS.js → chunk.UVI5HHLF.js} +1 -1
  523. package/dist-versioned/chunks/{chunk.36PZ2ZYY.js → chunk.V7GR76PZ.js} +9 -9
  524. package/dist-versioned/chunks/{chunk.CBC4EZWD.js → chunk.VWORQHO2.js} +6 -6
  525. package/dist-versioned/chunks/{chunk.JXJ5ABVB.js → chunk.W5KWIGMY.js} +10 -10
  526. package/dist-versioned/chunks/{chunk.ZULS2JUR.js → chunk.WFZUFPF7.js} +4 -4
  527. package/dist-versioned/chunks/{chunk.O75UK37Y.js → chunk.WRQJ6H5M.js} +5 -5
  528. package/dist-versioned/chunks/{chunk.ADLNODYZ.js → chunk.XCFU7XC7.js} +6 -6
  529. package/dist-versioned/chunks/{chunk.7TNM3KIX.js → chunk.XFYTZRFZ.js} +4 -4
  530. package/dist-versioned/chunks/{chunk.37TQP26W.js → chunk.XPXDWU3H.js} +3 -3
  531. package/dist-versioned/chunks/{chunk.UVGX2XYL.js → chunk.XRVF3H64.js} +4 -4
  532. package/dist-versioned/chunks/{chunk.U2BN2DBY.js → chunk.XWLSRHC5.js} +5 -5
  533. package/dist-versioned/chunks/{chunk.XCFDPNXY.js → chunk.Y5QCYID3.js} +7 -7
  534. package/dist-versioned/chunks/{chunk.MRI5QQUM.js → chunk.ZNJFZAOB.js} +6 -6
  535. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  536. package/dist-versioned/components/accordion/accordion.js +3 -3
  537. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  538. package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
  539. package/dist-versioned/components/animation/animation.d.ts +1 -1
  540. package/dist-versioned/components/animation/animation.js +2 -2
  541. package/dist-versioned/components/audio/audio.d.ts +1 -1
  542. package/dist-versioned/components/audio/audio.js +6 -6
  543. package/dist-versioned/components/badge/badge.d.ts +1 -1
  544. package/dist-versioned/components/badge/badge.js +2 -2
  545. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  546. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  547. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  548. package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
  549. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  550. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  551. package/dist-versioned/components/button/button.d.ts +1 -1
  552. package/dist-versioned/components/button/button.js +3 -3
  553. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  554. package/dist-versioned/components/button-group/button-group.js +2 -2
  555. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  556. package/dist-versioned/components/carousel/carousel.js +6 -6
  557. package/dist-versioned/components/carousel/scroll-controller.js +2 -2
  558. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  559. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  560. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  561. package/dist-versioned/components/checkbox/checkbox.js +3 -3
  562. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  563. package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
  564. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  565. package/dist-versioned/components/combobox/combobox.js +5 -5
  566. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  567. package/dist-versioned/components/datepicker/datepicker.js +5 -5
  568. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  569. package/dist-versioned/components/dialog/dialog.js +5 -5
  570. package/dist-versioned/components/divider/divider.d.ts +1 -1
  571. package/dist-versioned/components/divider/divider.js +2 -2
  572. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  573. package/dist-versioned/components/drawer/drawer.js +5 -5
  574. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  575. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  576. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  577. package/dist-versioned/components/expandable/expandable.js +3 -3
  578. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  579. package/dist-versioned/components/flipcard/flipcard.js +5 -5
  580. package/dist-versioned/components/header/header.d.ts +1 -1
  581. package/dist-versioned/components/header/header.js +3 -3
  582. package/dist-versioned/components/icon/icon.d.ts +1 -1
  583. package/dist-versioned/components/icon/icon.js +2 -2
  584. package/dist-versioned/components/include/include.d.ts +1 -1
  585. package/dist-versioned/components/include/include.js +2 -2
  586. package/dist-versioned/components/input/input.d.ts +1 -1
  587. package/dist-versioned/components/input/input.js +3 -3
  588. package/dist-versioned/components/link/link.d.ts +1 -1
  589. package/dist-versioned/components/link/link.js +2 -2
  590. package/dist-versioned/components/loader/loader.d.ts +1 -1
  591. package/dist-versioned/components/loader/loader.js +2 -2
  592. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  593. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  594. package/dist-versioned/components/menu/menu.d.ts +1 -1
  595. package/dist-versioned/components/menu/menu.js +2 -2
  596. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  597. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  598. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  599. package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
  600. package/dist-versioned/components/notification/notification.d.ts +1 -1
  601. package/dist-versioned/components/notification/notification.js +5 -5
  602. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  603. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  604. package/dist-versioned/components/option/option.d.ts +1 -1
  605. package/dist-versioned/components/option/option.js +3 -3
  606. package/dist-versioned/components/popup/popup.d.ts +1 -1
  607. package/dist-versioned/components/popup/popup.js +2 -2
  608. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  609. package/dist-versioned/components/quickfact/quickfact.js +4 -4
  610. package/dist-versioned/components/radio/radio.d.ts +1 -1
  611. package/dist-versioned/components/radio/radio.js +2 -2
  612. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  613. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  614. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  615. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  616. package/dist-versioned/components/range/range.d.ts +7 -1
  617. package/dist-versioned/components/range/range.js +14 -2
  618. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  619. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  620. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  621. package/dist-versioned/components/scrollable/scrollable.js +3 -3
  622. package/dist-versioned/components/select/select.d.ts +1 -1
  623. package/dist-versioned/components/select/select.js +5 -5
  624. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  625. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  626. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  627. package/dist-versioned/components/spinner/spinner.js +2 -2
  628. package/dist-versioned/components/step/step.d.ts +1 -1
  629. package/dist-versioned/components/step/step.js +3 -3
  630. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  631. package/dist-versioned/components/step-group/step-group.js +2 -2
  632. package/dist-versioned/components/switch/switch.d.ts +1 -1
  633. package/dist-versioned/components/switch/switch.js +2 -2
  634. package/dist-versioned/components/tab/tab.d.ts +1 -1
  635. package/dist-versioned/components/tab/tab.js +2 -2
  636. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  637. package/dist-versioned/components/tab-group/tab-group.js +4 -4
  638. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  639. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  640. package/dist-versioned/components/tag/tag.d.ts +1 -1
  641. package/dist-versioned/components/tag/tag.js +3 -3
  642. package/dist-versioned/components/teaser/teaser.js +2 -2
  643. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  644. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  645. package/dist-versioned/components/textarea/textarea.js +3 -3
  646. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  647. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  648. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  649. package/dist-versioned/components/tooltip/tooltip.js +4 -4
  650. package/dist-versioned/components/video/video.d.ts +1 -1
  651. package/dist-versioned/components/video/video.js +3 -3
  652. package/dist-versioned/custom-elements.json +244 -244
  653. package/dist-versioned/internal/form.js +3 -3
  654. package/dist-versioned/solid-components.css +3 -3
  655. package/dist-versioned/solid-components.js +65 -65
  656. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  657. package/dist-versioned/vscode.html-custom-data.json +94 -94
  658. package/dist-versioned/web-types.json +157 -157
  659. package/package.json +22 -22
  660. package/cdn/chunks/chunk.763RLJEK.js +0 -28
  661. package/cdn/chunks/chunk.G7D3WBTA.js +0 -2
  662. package/cdn/chunks/chunk.GZBVPA7S.js +0 -2
  663. package/cdn/chunks/chunk.NQFJN2CW.js +0 -2
  664. package/cdn/chunks/chunk.PJ7JCMQF.js +0 -11
  665. package/cdn-versioned/chunks/chunk.763RLJEK.js +0 -28
  666. package/cdn-versioned/chunks/chunk.G7D3WBTA.js +0 -2
  667. package/cdn-versioned/chunks/chunk.GZBVPA7S.js +0 -2
  668. package/cdn-versioned/chunks/chunk.NQFJN2CW.js +0 -2
  669. package/cdn-versioned/chunks/chunk.PJ7JCMQF.js +0 -11
  670. /package/cdn/chunks/{chunk.D6LAH53B.js → chunk.BSPQBW7U.js} +0 -0
  671. /package/cdn/chunks/{chunk.US3OB3XU.js → chunk.G2DTGYNF.js} +0 -0
  672. /package/cdn-versioned/chunks/{chunk.D6LAH53B.js → chunk.BSPQBW7U.js} +0 -0
  673. /package/cdn-versioned/chunks/{chunk.US3OB3XU.js → chunk.G2DTGYNF.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import{a as kt}from"./chunk.YFQFOIEM.js";import{a as Mt,b as O,d as Et,h as Rt}from"./chunk.CRLGS4QF.js";import{b as zt,e as Ot}from"./chunk.UOAG5PNU.js";import{a as C,b as F,c as dt,e as A}from"./chunk.6EV4YU6C.js";var _=Math.min,T=Math.max,ct=Math.round,ft=Math.floor,$=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 T(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 Ct(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 Ct(j(t))}function Ft(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 $t(t){let e=at(t);return[mt(t),e,mt(e)]}function mt(t){return t.replace(/start|end/g,e=>pe[e])}var Dt=["left","right"],Bt=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Dt:e?Dt:Bt;case"left":case"right":return e?we:ye;default:return[]}}function Nt(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 ve(t){return C({top:0,right:0,bottom:0,left:0},t)}function St(t){return typeof t!="number"?ve(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 Ht(t,e,n){let{reference:i,floating:o}=t,s=j(e),r=wt(e),l=gt(r),c=Y(e),a=s==="y",f=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(c){case"top":u={x:f,y:i.y-o.height};break;case"bottom":u={x:f,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}async function Wt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:u=0}=Z(e,t),d=St(u),g=l[m?h==="floating"?"reference":"floating":h],w=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},E=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:c}):y);return{top:(w.top-E.top+d.top)/b.y,bottom:(E.bottom-w.bottom+d.bottom)/b.y,left:(w.left-E.left+d.left)/b.x,right:(E.right-w.right+d.right)/b.x}}var Vt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e)),a=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:h}=Ht(a,i,c),m=i,u={},d=0;for(let g=0;g<l.length;g++){var p;let{name:w,fn:y}=l[g],{x:v,y:b,data:E,reset:R}=await y({x:f,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:u,rects:a,platform:F(C({},r),{detectOverflow:(p=r.detectOverflow)!=null?p:Wt}),elements:{reference:t,floating:e}});f=v!=null?v:f,h=b!=null?b:h,u=F(C({},u),{[w]:C(C({},u[w]),E)}),R&&d<=50&&(d++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(a=R.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:f,y:h}=Ht(a,m,c)),g=-1)}return{x:f,y:h,placement:m,strategy:o,middlewareData:u}},_t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=Z(t,e)||{};if(a==null)return{};let h=St(f),m={x:n,y:i},u=wt(o),d=gt(u),p=await r.getDimensions(a),g=u==="y",w=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[u]-m[u]-s.floating[d],E=m[u]-s.reference[u],R=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a)),S=R?R[v]:0;(!S||!await(r.isElement==null?void 0:r.isElement(R)))&&(S=l.floating[v]||s.floating[d]);let I=b/2-E/2,W=S/2-p[d]/2-1,z=_(h[w],W),U=_(h[y],W),V=z,K=S-p[d]-U,P=S/2-p[d]/2+I,D=pt(V,P,K),J=!c.arrow&&tt(o)!=null&&P!==D&&s.reference[d]/2-(P<V?z:U)-p[d]/2<0,X=J?P<V?P-V:P-K:0;return{[u]:m[u]+X,data:C({[u]:D,centerOffset:P-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:c,elements:a}=e,P=Z(t,e),{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,g=dt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let w=Y(o),y=j(l),v=Y(l)===l,b=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=m||(v||!p?[at(l)]:$t(l)),R=d!=="none";!m&&R&&E.push(...Nt(l,p,d,b));let S=[l,...E],I=await c.detectOverflow(e,g),W=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(f&&W.push(I[w]),h){let D=Ft(o,r,b);W.push(I[D[0]],I[D[1]])}if(z=[...z,{placement:o,overflows:W}],!W.every(D=>D<=0)){var U,V;let D=(((U=s.flip)==null?void 0:U.index)||0)+1,J=S[D];if(J&&(!(h==="alignment"?y!==j(J):!1)||z.every(B=>j(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:D,overflows:z},reset:{placement:J}};let X=(V=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:V.placement;if(!X)switch(u){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(R){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 be=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),c=j(n)==="y",a=be.has(r)?-1:1,f=s&&c?-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),c?{x:u*f,y:m*a}:{x:m*a,y:u*f}}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,c=await Ae(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:F(C({},c),{placement:r})}}}},Xt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,w=Z(t,e),{mainAxis:r=!0,crossAxis:l=!1,limiter:c={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=w,a=dt(w,["mainAxis","crossAxis","limiter"]),f={x:n,y:i},h=await s.detectOverflow(e,a),m=j(Y(o)),u=Ct(m),d=f[u],p=f[m];if(r){let y=u==="y"?"top":"left",v=u==="y"?"bottom":"right",b=d+h[y],E=d-h[v];d=pt(b,d,E)}if(l){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],E=p-h[v];p=pt(b,p,E)}let g=c.fn(F(C({},e),{[u]:d,[m]:p}));return F(C({},g),{data:{x:g.x-n,y:g.y-i,enabled:{[u]:r,[m]:l}}})}}};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,z=Z(t,e),{apply:c=()=>{}}=z,a=dt(z,["apply"]),f=await r.detectOverflow(e,a),h=Y(o),m=tt(o),u=j(o)==="y",{width:d,height:p}=s.floating,g,w;h==="top"||h==="bottom"?(g=h,w=m===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(w=h,g=m==="end"?"top":"bottom");let y=p-f.top-f.bottom,v=d-f.left-f.right,b=_(p-f[g],y),E=_(d-f[w],v),R=!e.middlewareData.shift,S=b,I=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(S=y),R&&!m){let U=T(f.left,0),V=T(f.right,0),K=T(f.top,0),P=T(f.bottom,0);u?I=d-2*(U!==0||V!==0?U+V:T(f.left,f.right)):S=p-2*(K!==0||P!==0?K+P:T(f.top,f.bottom))}await c(F(C({},e),{availableWidth:I,availableHeight:S}));let W=await r.getDimensions(l.floating);return d!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function nt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return yt()?t instanceof Element||t instanceof L(t).Element:!1}function H(t){return yt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function st(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=k(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 xt(t){let e=vt(),n=M(t)?k(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(;H(e)&&!it(e);){if(xt(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 k(t){return L(t).getComputedStyle(t)}function ht(t){return M(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||N(t);return qt(e)?e.host:e}function Jt(t){let e=q(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:H(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=L(o);if(s){let l=bt(r);return e.concat(r,r.visualViewport||[],st(o)?o:[],l&&n?rt(l):[])}return e.concat(o,rt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=k(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=H(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 Lt(t){return M(t)?t:t.contextElement}function lt(t){let e=Lt(t);if(!H(e))return $(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=$(0);function ne(t){let e=L(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!==L(t)?!1:e}function ot(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=Lt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let l=ze(s,n,i)?ne(s):$(0),c=(o.left+l.x)/r.x,a=(o.top+l.y)/r.y,f=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),u=i&&M(i)?L(i):i,d=m,p=bt(d);for(;p&&i&&u!==d;){let g=lt(p),w=p.getBoundingClientRect(),y=k(p),v=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,b=w.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,a*=g.y,f*=g.x,h*=g.y,c+=v,a+=b,d=L(p),p=bt(d)}}return et({width:f,height:h,x:c,y:a})}function At(t,e){let n=ht(t).scrollLeft;return e?e.left+n:ot(N(t)).left+n}function ie(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(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=N(i),l=e?ut(e.floating):!1;if(i===r||l&&s)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),h=H(i);if((h||!h&&!s)&&((nt(i)!=="body"||st(r))&&(c=ht(i)),H(i))){let u=ot(i);a=lt(i),f.x=u.x+i.clientLeft,f.y=u.y+i.clientTop}let m=r&&!h&&!s?ie(r,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+m.x,y:n.y*a.y-c.scrollTop*a.y+f.y+m.y}}function ke(t){return Array.from(t.getClientRects())}function De(t){let e=N(t),n=ht(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+At(t),l=-n.scrollTop;return k(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}var Qt=25;function Be(t,e){let n=L(t),i=N(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,l=0,c=0;if(o){s=o.width,r=o.height;let f=vt();(!f||f&&e==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}let a=At(i);if(a<=0){let f=i.ownerDocument,h=f.body,m=getComputedStyle(h),u=f.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:c}}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=H(t)?lt(t):$(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=o*s.x,a=i*s.y;return{width:r,height:l,x:c,y:a}}function Zt(t,e,n){let i;if(e==="viewport")i=Be(t,n);else if(e==="document")i=De(N(t));else if(M(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||!M(n)||it(n)?!1:k(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=>M(l)&&nt(l)!=="body"),o=null,s=k(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!it(r);){let l=k(r),c=xt(r);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&Fe.has(o.position)||st(r)&&!c&&oe(t,r))?i=i.filter(f=>f!==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],c=r.reduce((a,f)=>{let h=Zt(e,f,o);return a.top=T(h.top,a.top),a.right=_(h.right,a.right),a.bottom=_(h.bottom,a.bottom),a.left=T(h.left,a.left),a},Zt(e,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function We(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Ve(t,e,n){let i=H(e),o=N(e),s=n==="fixed",r=ot(t,!0,s,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=At(o)}if(i||!i&&!s)if((nt(e)!=="body"||st(o))&&(l=ht(e)),i){let u=ot(e,!0,s,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else o&&a();s&&!i&&o&&a();let f=o&&!i&&!s?ie(o,l):$(0),h=r.left+l.scrollLeft-c.x-f.x,m=r.top+l.scrollTop-c.y-f.y;return{x:h,y:m,width:r.width,height:r.height}}function Tt(t){return k(t).position==="static"}function te(t,e){if(!H(t)||k(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=L(t);if(ut(t))return n;if(!H(t)){let o=q(t);for(;o&&!it(o);){if(M(o)&&!Tt(o))return o;o=q(o)}return n}let i=te(t,e);for(;i&&Kt(i)&&Tt(i);)i=te(i,e);return i&&it(i)&&Tt(i)&&!xt(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 k(t).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:N,getClippingRect:He,getOffsetParent:re,getElementRects:_e,getClientRects:ke,getDimensions:We,getScale:lt,isElement:M,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=N(t);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();let a=t.getBoundingClientRect(),{left:f,top:h,width:m,height:u}=a;if(l||e(),!m||!u)return;let d=ft(h),p=ft(o.clientWidth-(f+m)),g=ft(o.clientHeight-(h+u)),w=ft(f),v={rootMargin:-d+"px "+-p+"px "+-g+"px "+-w+"px",threshold:T(0,_(1,c))||1},b=!0;function E(R){let S=R[0].intersectionRatio;if(S!==c){if(!b)return r();S?r(!1,S):i=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(E,F(C({},v),{root:o.ownerDocument}))}catch(R){n=new IntersectionObserver(E,v)}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:c=!1}=i,a=Lt(t),f=o||s?[...a?rt(a):[],...rt(e)]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});let h=a&&l?Xe(a,n):null,m=-1,u=null;r&&(u=new ResizeObserver(w=>{let[y]=w;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=u)==null||v.observe(e)})),n()}),a&&!c&&u.observe(a),u.observe(e));let d,p=c?ot(t):null;c&&g();function g(){let w=ot(t);p&&!se(p,w)&&n(),p=w,d=requestAnimationFrame(g)}return n(),()=>{var w;f.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(w=u)==null||w.disconnect(),u=null,c&&cancelAnimationFrame(d)}}var ae=It;var ce=Xt,fe=jt,Pt=Yt;var ue=_t;var he=(t,e,n)=>{let i=new Map,o=C({platform:Ie},n),s=F(C({},o.platform),{_c:i});return Vt(t,e,F(C({},o),{platform:s}))};var x=class extends Rt{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(Pt({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(Pt({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",c={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,f=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 f=="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 f=="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 f=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof a=="number"?`${a}px`:"",h=typeof f=="number"?`${f}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:u,left:d,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Rt.styles,zt`/*! tailwindcss v4.1.18 | 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)}`],A([Et('[part="popup"]')],x.prototype,"popup",2),A([Et('[part="arrow"]')],x.prototype,"arrowEl",2),A([O({reflect:!0})],x.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],x.prototype,"active",2),A([O({type:String,reflect:!0})],x.prototype,"placement",2),A([O({type:String,reflect:!0})],x.prototype,"strategy",2),A([O({type:Number,reflect:!0})],x.prototype,"distance",2),A([O({type:Number,reflect:!0})],x.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],x.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),A([O({type:Object})],x.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),A([O({type:Boolean})],x.prototype,"shift",2),A([O({type:Object})],x.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),A([O()],x.prototype,"sync",2),A([O({type:Object})],x.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=A([Mt("sd-popup")],x);export{x as a};
@@ -1,4 +1,4 @@
1
- import{i as r}from"./chunk.763RLJEK.js";var f=t=>t!=null?t:r;export{f as a};
1
+ import{i as r}from"./chunk.UOAG5PNU.js";var f=t=>t!=null?t:r;export{f as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/if-defined.js:
@@ -0,0 +1,11 @@
1
+ import{e as m,f as h,g as p}from"./chunk.UOAG5PNU.js";var v=Symbol.for(""),d=t=>{if((t==null?void 0:t.r)===v)return t==null?void 0:t._$litStatic$};var _=(t,...a)=>({_$litStatic$:a.reduce((r,i,o)=>r+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but
2
+ take care to ensure page security.`)})(i)+t[o+1],t[0]),r:v}),S=new Map,u=t=>(a,...r)=>{let i=r.length,o,e,l=[],c=[],n,s=0,$=!1;for(;s<i;){for(n=a[s];s<i&&(e=r[s],(o=d(e))!==void 0);)n+=o+a[++s],$=!0;s!==i&&c.push(e),l.push(n),s++}if(s===i&&l.push(a[i]),$){let f=l.join("$$lit$$");(a=S.get(f))===void 0&&(l.raw=l,S.set(f,a=l)),r=c}return t(a,...r)},w=u(m),b=u(h),x=u(p);export{_ as a,w as b};
3
+ /*! Bundled license information:
4
+
5
+ lit-html/static.js:
6
+ (**
7
+ * @license
8
+ * Copyright 2020 Google LLC
9
+ * SPDX-License-Identifier: BSD-3-Clause
10
+ *)
11
+ */
@@ -1,4 +1,4 @@
1
- import{a as F}from"./chunk.N3WG3NAL.js";import{c as A}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.CJ34NUTS.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.MP6XEXRW.js";import{a as z}from"./chunk.IQPMMUES.js";import{a as h}from"./chunk.YFQFOIEM.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as r,c as u,d as c,g as k,h as O}from"./chunk.CMXQRUFT.js";import{b as E,e as p}from"./chunk.763RLJEK.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as F}from"./chunk.W4EADN3G.js";import{c as A}from"./chunk.3L472FD4.js";import{b as I}from"./chunk.RAP66B6O.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.HLDWO3HP.js";import{a as z}from"./chunk.IQPMMUES.js";import{a as h}from"./chunk.YFQFOIEM.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as r,c as u,d as c,g as k,h as O}from"./chunk.CRLGS4QF.js";import{b as E,e as p}from"./chunk.UOAG5PNU.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
@@ -8,5 +8,5 @@ import{a as F}from"./chunk.N3WG3NAL.js";import{c as A}from"./chunk.3L472FD4.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>`]}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)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(n=>n.value);if(e.length===o.length&&e.every(n=>o.includes(n)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(n=>d.includes(n.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.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.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,n=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||n)&&!(this.disabled&&!n),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",b=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],V=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",b,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${e&&"inline-block form-control-color-text"}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",f==="disabled"?"text-neutral-500":"form-control-color-text")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("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="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",["invalid","activeInvalid"].includes(f)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],V)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",b,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",b)}" 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}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${h(v,g,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",g)}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",b,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("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" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
11
+ "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",["invalid","activeInvalid"].includes(f)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],V)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",b,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",b)}" 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}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${h(v,g,"text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",g)}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",b,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("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" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
12
  :host{position:relative;display:block;width:auto}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}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:rgba(var(--sd-color-background-primary-100))}`],s([k({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([r({type:Boolean,reflect:!0})],i.prototype,"open",2),s([r({type:String,reflect:!0})],i.prototype,"size",2),s([r({type:String,reflect:!0})],i.prototype,"placement",2),s([r({type:String,reflect:!0})],i.prototype,"label",2),s([r({type:String,reflect:!0})],i.prototype,"placeholder",2),s([r({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([r({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([r({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([r({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([r({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([r({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([r({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([r({reflect:!0})],i.prototype,"form",2),s([r({reflect:!0})],i.prototype,"name",2),s([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([r({type:Boolean,reflect:!0})],i.prototype,"required",2),s([r({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([r({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([r()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
@@ -1,2 +1,2 @@
1
- import{a as N}from"./chunk.CSLPZKLY.js";import{a as B}from"./chunk.VYBQ3X2B.js";import{a as A}from"./chunk.N3WG3NAL.js";import{b as z}from"./chunk.CJ34NUTS.js";import{a as r}from"./chunk.PV6UYBMY.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.D6LAH53B.js";import{a as T}from"./chunk.IQPMMUES.js";import{a}from"./chunk.YFQFOIEM.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as s,c as m,d as w,h as $}from"./chunk.CMXQRUFT.js";import{b as D,e as n,h as F,i as L}from"./chunk.763RLJEK.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var x=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[l]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},l),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var l;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(l=this.observer)==null||l.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V(x);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends ${constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsDate)!=null?l:null}set valueAsDate(e){let l=document.createElement("input");l.type="date",l.valueAsDate=e,this.value=l.value}get valueAsNumber(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsNumber)!=null?l:parseFloat(this.value)}set valueAsNumber(e){let l=document.createElement("input");l.type="number",l.valueAsNumber=e,this.value=l.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let l=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!l&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,l,u="none"){this.input.setSelectionRange(e,l,u)}setRangeText(e,l,u,p){this.input.setRangeText(e,l,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},l=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,y=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&l&&(this.hasFocus||y||this.isClickableIconFocused),v=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g=this.size==="sm"?"text-sm":"text-base",U={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"}[v],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return n`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(l||O)&&!this.floatingLabel?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(l?"inline-block form-control-color-text":"hidden",g)}" for="input" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border rounded-default transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",["disabled","visuallyDisabled"].includes(v)?"text-neutral-500":"form-control-color-text",["invalid","activeInvalid"].includes(v)&&"form-control--invalid-color-background",K)}">${e.left?n`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${r(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" min="${r(this.min)}" max="${r(this.max)}" step="${r(this.step)}" .value="${B(this.value)}" autocapitalize="${r(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${r(this.autocomplete)}" autocorrect="${r(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${r(this.pattern)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${l&&this.floatingLabel?n`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!y&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${l?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!y&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?n`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?n`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?n`<slot name="show-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye"></sd-icon></slot>`:n`<slot name="hide-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?n`<sd-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?n`<sd-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?n`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?n`<sd-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?n`<sd-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?n`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?n`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-1",u&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...$.styles,D`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as N}from"./chunk.RMXFJHN6.js";import{a as B}from"./chunk.YQH4KNT6.js";import{a as A}from"./chunk.W4EADN3G.js";import{b as z}from"./chunk.RAP66B6O.js";import{a as r}from"./chunk.SLXPE3UU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.BSPQBW7U.js";import{a as T}from"./chunk.IQPMMUES.js";import{a}from"./chunk.YFQFOIEM.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as s,c as m,d as w,h as $}from"./chunk.CRLGS4QF.js";import{b as D,e as n,h as F,i as L}from"./chunk.UOAG5PNU.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var x=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[l]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},l),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var l;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(l=this.observer)==null||l.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V(x);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends ${constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsDate)!=null?l:null}set valueAsDate(e){let l=document.createElement("input");l.type="date",l.valueAsDate=e,this.value=l.value}get valueAsNumber(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsNumber)!=null?l:parseFloat(this.value)}set valueAsNumber(e){let l=document.createElement("input");l.type="number",l.valueAsNumber=e,this.value=l.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let l=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!l&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,l,u="none"){this.input.setSelectionRange(e,l,u)}setRangeText(e,l,u,p){this.input.setRangeText(e,l,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},l=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,y=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&l&&(this.hasFocus||y||this.isClickableIconFocused),v=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g=this.size==="sm"?"text-sm":"text-base",U={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"}[v],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"form-control-color-icon",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return n`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(l||O)&&!this.floatingLabel?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(l?"inline-block form-control-color-text":"hidden",g)}" for="input" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border rounded-default transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",["disabled","visuallyDisabled"].includes(v)?"text-neutral-500":"form-control-color-text",["invalid","activeInvalid"].includes(v)&&"form-control--invalid-color-background",K)}">${e.left?n`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${r(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" min="${r(this.min)}" max="${r(this.max)}" step="${r(this.step)}" .value="${B(this.value)}" autocapitalize="${r(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${r(this.autocomplete)}" autocorrect="${r(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${r(this.pattern)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${l&&this.floatingLabel?n`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!y&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${l?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!y&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?n`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?n`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?n`<slot name="show-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye"></sd-icon></slot>`:n`<slot name="hide-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?n`<sd-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?n`<sd-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?n`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?n`<sd-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?n`<sd-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?n`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?n`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-1",u&&!this.showInvalidStyle?"block":"hidden")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...$.styles,D`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{color:rgba(var(--sd-color-text-neutral-500))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([m()],t.prototype,"hasFocus",2),i([m()],t.prototype,"showValidStyle",2),i([m()],t.prototype,"showInvalidStyle",2),i([m()],t.prototype,"isClickableIconFocused",2),i([s({type:String,reflect:!0})],t.prototype,"type",2),i([s({type:String,reflect:!0})],t.prototype,"size",2),i([s({type:String,reflect:!0})],t.prototype,"inputmode",2),i([s()],t.prototype,"value",2),i([A()],t.prototype,"defaultValue",2),i([s({type:String,reflect:!0})],t.prototype,"placeholder",2),i([s({type:String,reflect:!0})],t.prototype,"label",2),i([s({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([s({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([s({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([s({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([s({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([s({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([s({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([s({type:Number,reflect:!0})],t.prototype,"minlength",2),i([s({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([s({reflect:!0})],t.prototype,"min",2),i([s({reflect:!0})],t.prototype,"max",2),i([s({type:String,reflect:!0})],t.prototype,"form",2),i([s({type:String,reflect:!0})],t.prototype,"name",2),i([s({type:String,reflect:!0})],t.prototype,"title",2),i([s({type:Boolean,reflect:!0})],t.prototype,"required",2),i([s({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),i([s()],t.prototype,"pattern",2),i([s({reflect:!0})],t.prototype,"step",2),i([s({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([s({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([s({reflect:!0})],t.prototype,"autocomplete",2),i([s({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([s({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([s({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([s({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([b("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([b("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([b("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),i([b(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=i([E("sd-input")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.PV6UYBMY.js";import{a as S}from"./chunk.IQPMMUES.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.CMXQRUFT.js";import{b as k,e as c}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.SLXPE3UU.js";import{a as S}from"./chunk.IQPMMUES.js";import{a as r}from"./chunk.YFQFOIEM.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.CRLGS4QF.js";import{b as k,e as c}from"./chunk.UOAG5PNU.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1);width:var(--sd-spacing-1)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([f()],n.prototype,"canScroll",2),o([f()],n.prototype,"isScrollHorizontalEnabled",2),o([f()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-scrollable")],n);export{n as a};
@@ -1,2 +1,2 @@
1
- import{b as y}from"./chunk.MP6XEXRW.js";import{a as u,b as p,c as a}from"./chunk.54UVKIZB.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.CMXQRUFT.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.17 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{b as y}from"./chunk.HLDWO3HP.js";import{a as u,b as p,c as a}from"./chunk.54UVKIZB.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.CRLGS4QF.js";import{b as g,e as b}from"./chunk.UOAG5PNU.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.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
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:rgba(var(--sd-color-text-primary))}:host([color=white]) svg{color:rgba(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,28 @@
1
+ var R=globalThis,L=R.ShadowRoot&&(R.ShadyCSS===void 0||R.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),tt=new WeakMap,x=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(L&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=tt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&tt.set(e,t))}return t}toString(){return this.cssText}},et=o=>new x(typeof o=="string"?o:o+"",void 0,V),bt=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,i,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1]),o[0]);return new x(e,o,V)},st=(o,t)=>{if(L)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),i=R.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},W=L?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return et(e)})(o):o;var{is:Ct,defineProperty:wt,getOwnPropertyDescriptor:xt,getOwnPropertyNames:Pt,getOwnPropertySymbols:Ut,getPrototypeOf:Ot}=Object,A=globalThis,it=A.trustedTypes,Ht=it?it.emptyScript:"",q=A.reactiveElementPolyfillSupport,P=(o,t)=>o,K={toAttribute(o,t){switch(t){case Boolean:o=o?Ht:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch(s){e=null}}return e}},at=(o,t)=>!Ct(o,t),ot={attribute:!0,type:String,converter:K,reflect:!1,useDefault:!1,hasChanged:at},rt,nt;(rt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(nt=A.litPropertyMetadata)!=null||(A.litPropertyMetadata=new WeakMap);var $=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ot){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&wt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){var r;let{get:i,set:n}=(r=xt(this.prototype,t))!=null?r:{get(){return this[e]},set(a){this[e]=a}};return{get:i,set(a){let h=i==null?void 0:i.call(this);n==null||n.call(this,a),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:ot}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;let t=Ot(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){let e=this.properties,s=[...Pt(e),...Ut(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(W(i))}else t!==void 0&&e.push(W(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach((e=>e(this)))}addController(t){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return st(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach((s=>{var i;return(i=s.hostConnected)==null?void 0:i.call(s)}))}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach((e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var n;let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:K).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n,r,a;let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let h=s.getPropertyOptions(i),l=typeof h.converter=="function"?{fromAttribute:h.converter}:((n=h.converter)==null?void 0:n.fromAttribute)!==void 0?h.converter:K;this._$Em=i;let c=l.fromAttribute(e,h.type);this[i]=(a=c!=null?c:(r=this._$Ej)==null?void 0:r.get(i))!=null?a:c,this._$Em=null}}requestUpdate(t,e,s){var i,n;if(t!==void 0){let r=this.constructor,a=this[t];if(s!=null||(s=r.getPropertyOptions(t)),!(((i=s.hasChanged)!=null?i:at)(a,e)||s.useDefault&&s.reflect&&a===((n=this._$Ej)==null?void 0:n.get(t))&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){var a,h,l;s&&!((a=this._$Ej)!=null?a:this._$Ej=new Map).has(t)&&(this._$Ej.set(t,(h=r!=null?r:e)!=null?h:this[t]),n!==!0||r!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&((l=this._$Eq)!=null?l:this._$Eq=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[r,a]of this._$Ep)this[r]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[r,a]of n){let{wrapped:h}=a,l=this[r];h!==!0||this._$AL.has(r)||l===void 0||this.C(r,void 0,a,l)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach((n=>{var r;return(r=n.hostUpdate)==null?void 0:r.call(n)})),this.update(e)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach((s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach((e=>this._$ET(e,this[e])))),this._$EM()}updated(t){}firstUpdated(t){}},ht;$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[P("elementProperties")]=new Map,$[P("finalized")]=new Map,q==null||q({ReactiveElement:$}),((ht=A.reactiveElementVersions)!=null?ht:A.reactiveElementVersions=[]).push("2.1.1");var O=globalThis,lt=o=>o,k=O.trustedTypes,ct=k?k.createPolicy("lit-html",{createHTML:o=>o}):void 0,Z="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+_,Mt=`<${G}>`,y=document,H=()=>y.createComment(""),M=o=>o===null||typeof o!="object"&&typeof o!="function",Q=Array.isArray,At=o=>Q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",F=`[
2
+ \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dt=/-->/g,pt=/>/g,m=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ut=/'/g,$t=/"/g,mt=/^(?:script|style|textarea|title)$/i,X=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),kt=X(1),Dt=X(2),jt=X(3),v=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),_t=new WeakMap,g=y.createTreeWalker(y,129);function gt(o,t){if(!Q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return ct!==void 0?ct.createHTML(t):t}var yt=(o,t)=>{let e=o.length-1,s=[],i,n=t===2?"<svg>":t===3?"<math>":"",r=U;for(let a=0;a<e;a++){let h=o[a],l,c,d=-1,u=0;for(;u<h.length&&(r.lastIndex=u,c=r.exec(h),c!==null);)u=r.lastIndex,r===U?c[1]==="!--"?r=dt:c[1]!==void 0?r=pt:c[2]!==void 0?(mt.test(c[2])&&(i=RegExp("</"+c[2],"g")),r=m):c[3]!==void 0&&(r=m):r===m?c[0]===">"?(r=i!=null?i:U,d=-1):c[1]===void 0?d=-2:(d=r.lastIndex-c[2].length,l=c[1],r=c[3]===void 0?m:c[3]==='"'?$t:ut):r===$t||r===ut?r=m:r===dt||r===pt?r=U:(r=m,i=void 0);let f=r===m&&o[a+1].startsWith("/>")?" ":"";n+=r===U?h+Mt:d>=0?(s.push(l),h.slice(0,d)+Z+h.slice(d)+_+f):h+_+(d===-2?a:f)}return[gt(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},N=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0,a=t.length-1,h=this.parts,[l,c]=yt(t,e);if(this.el=o.createElement(l,s),g.currentNode=this.el.content,e===2||e===3){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=g.nextNode())!==null&&h.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let d of i.getAttributeNames())if(d.endsWith(Z)){let u=c[r++],f=i.getAttribute(d).split(_),T=/([.?@])?(.*)/.exec(u);h.push({type:1,index:n,name:T[2],strings:f,ctor:T[1]==="."?j:T[1]==="?"?z:T[1]==="@"?B:E}),i.removeAttribute(d)}else d.startsWith(_)&&(h.push({type:6,index:n}),i.removeAttribute(d));if(mt.test(i.tagName)){let d=i.textContent.split(_),u=d.length-1;if(u>0){i.textContent=k?k.emptyScript:"";for(let f=0;f<u;f++)i.append(d[f],H()),g.nextNode(),h.push({type:2,index:++n});i.append(d[u],H())}}}else if(i.nodeType===8)if(i.data===G)h.push({type:2,index:n});else{let d=-1;for(;(d=i.data.indexOf(_,d+1))!==-1;)h.push({type:7,index:n}),d+=_.length-1}n++}}static createElement(t,e){let s=y.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){var r,a,h;if(t===v)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl,n=M(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?((h=e._$Co)!=null?h:e._$Co=[])[s]=i:e._$Cl=i),i!==void 0&&(t=S(o,i._$AS(o,t.values),i,s)),t}var D=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var l;let{el:{content:e},parts:s}=this._$AD,i=((l=t==null?void 0:t.creationScope)!=null?l:y).importNode(e,!0);g.currentNode=i;let n=g.nextNode(),r=0,a=0,h=s[0];for(;h!==void 0;){if(r===h.index){let c;h.type===2?c=new C(n,n.nextSibling,this,t):h.type===1?c=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(c=new I(n,this,t)),this._$AV.push(c),h=s[++a]}r!==(h==null?void 0:h.index)&&(n=g.nextNode(),r++)}return g.currentNode=y,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},C=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,s,i){var n;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(n=i==null?void 0:i.isConnected)!=null?n:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),M(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):At(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&M(this._$AH)?this._$AA.nextSibling.data=t:this.T(y.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=N.createElement(gt(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{let r=new D(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=_t.get(t.strings);return e===void 0&&_t.set(t.strings,e=new N(t)),e}k(t){Q(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let n of t)i===e.length?e.push(s=new o(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t!==this._$AB;){let i=lt(t).nextSibling;lt(t).remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}_$AI(t,e=this,s,i){let n=this.strings,r=!1;if(n===void 0)t=S(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==v,r&&(this._$AH=t);else{let a=t,h,l;for(t=n[0],h=0;h<n.length-1;h++)l=S(this,a[s+h],e,h),l===v&&(l=this._$AH[h]),r||(r=!M(l)||l!==this._$AH[h]),l===p?t=p:t!==p&&(t+=(l!=null?l:"")+n[h+1]),this._$AH[h]=l}r&&!i&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},j=class extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},z=class extends E{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},B=class extends E{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){var r;if((t=(r=S(this,t,e,0))!=null?r:p)===v)return;let s=this._$AH,i=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==p&&(s===p||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},I=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},zt={M:Z,P:_,A:G,C:1,L:yt,R:D,D:At,V:S,I:C,H:E,N:z,U:B,B:j,F:I},J=O.litHtmlPolyfillSupport,ft;J==null||J(N,C),((ft=O.litHtmlVersions)!=null?ft:O.litHtmlVersions=[]).push("3.3.2");var vt=(o,t,e)=>{var n,r;let s=(n=e==null?void 0:e.renderBefore)!=null?n:t,i=s._$litPart$;if(i===void 0){let a=(r=e==null?void 0:e.renderBefore)!=null?r:null;s._$litPart$=i=new C(t.insertBefore(H(),a),a,void 0,e!=null?e:{})}return i._$AI(o),i};var b=globalThis,w=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=vt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return v}},St;w._$litElement$=!0,w.finalized=!0,(St=b.litElementHydrateSupport)==null||St.call(b,{LitElement:w});var Y=b.litElementPolyfillSupport;Y==null||Y({LitElement:w});var Et;((Et=b.litElementVersions)!=null?Et:b.litElementVersions=[]).push("4.2.1");export{et as a,bt as b,K as c,at as d,kt as e,Dt as f,jt as g,v as h,p as i,zt as j,w as k};
4
+ /*! Bundled license information:
5
+
6
+ @lit/reactive-element/css-tag.js:
7
+ (**
8
+ * @license
9
+ * Copyright 2019 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ *)
12
+
13
+ @lit/reactive-element/reactive-element.js:
14
+ lit-html/lit-html.js:
15
+ lit-element/lit-element.js:
16
+ (**
17
+ * @license
18
+ * Copyright 2017 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ *)
21
+
22
+ lit-html/is-server.js:
23
+ (**
24
+ * @license
25
+ * Copyright 2022 Google LLC
26
+ * SPDX-License-Identifier: BSD-3-Clause
27
+ *)
28
+ */
@@ -1,4 +1,4 @@
1
- import{a as B}from"./chunk.N3WG3NAL.js";import{a as K}from"./chunk.X2GM34WQ.js";import{a as k,d as _,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as R}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.CJ34NUTS.js";import{a as H}from"./chunk.PV6UYBMY.js";import{a as P}from"./chunk.CGQ2BPPZ.js";import{a as C,c as D}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.MP6XEXRW.js";import{a as M}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.CMXQRUFT.js";import{b as V,e as p}from"./chunk.763RLJEK.js";import{b as S,e as T}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new P(this,"help-text","label");this.localize=new M(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.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=K;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),n=$(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as B}from"./chunk.W4EADN3G.js";import{a as K}from"./chunk.X2GM34WQ.js";import{a as k,d as _,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{c as R}from"./chunk.3L472FD4.js";import{b as A}from"./chunk.RAP66B6O.js";import{a as H}from"./chunk.SLXPE3UU.js";import{a as P}from"./chunk.CGQ2BPPZ.js";import{a as C,c as D}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.HLDWO3HP.js";import{a as M}from"./chunk.IQPMMUES.js";import{a as d}from"./chunk.YFQFOIEM.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.CRLGS4QF.js";import{b as V,e as p}from"./chunk.UOAG5PNU.js";import{b as S,e as T}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new P(this,"help-text","label");this.localize=new M(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.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=K;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),n=$(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,5 +8,5 @@ import{a as B}from"./chunk.N3WG3NAL.js";import{a as K}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")),R(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 O,v,x;let a=i.cloneNode(!0);if(a.current=a.value===((O=this.lastOption)==null?void 0:O.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((v=i.parentElement)==null?void 0:v.tagName.toLowerCase())==="sd-optgroup"))return a;let o=i.parentElement,g=(x=o.querySelector('[slot="label"]'))==null?void 0:x.cloneNode(!0),c=e.find(b=>b.id===o.id);if(c){c==null||c.appendChild(a),g&&(c==null||c.appendChild(g));return}let h=o.cloneNode();return h.appendChild(a),g&&h.appendChild(g),e.push(h),h}).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 T(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=D(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 T(this);let{keyframes:t,options:e}=D(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")}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([w(this,"sd-after-show"),w(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,w(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 _(k(this.defaultSlot)).flat()}getSlottedOptGroups(){return U(k(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,g=t.left,c=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus||c),O=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",v=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",x=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",b={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],z={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],y={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],N=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return p`<div part="form-control" class="${d("relative text-left",v,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}">${a&&!this.floatingLabel?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${a&&"inline-block form-control-color-text"}" aria-hidden="${a?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label></div>`:null} <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black">${a&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${d("absolute left-4 z-20 pointer-events-none transition-all duration-200",g?q:"left-4",h?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2",h&&"mt-1")}" for="input"><span class="${d("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<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"}[O],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",["invalid","activeInvalid"].includes(O)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],N)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",z,x,y)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",z,this.floatingLabel&&"mt-4")}">${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",v,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",h&&"leading-none mt-4")}" type="text" placeholder="${!this.floatingLabel||h?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(L=>L==null?void 0:L.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",v)}" 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",b,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",y)}" name="closing-round" library="_internal"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(b,y,"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",b,y)}" 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",y)}">${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",b)}" type="button"><sd-icon class="${d(x,y)}" 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="${H(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><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
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",["invalid","activeInvalid"].includes(O)&&"form-control--invalid-color-background",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size],N)}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",z,x,y)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",z,this.floatingLabel&&"mt-4")}">${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",v,this.selectedTextLabel&&!this.multiple?"placeholder:form-control-color-text":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",h&&"leading-none mt-4")}" type="text" placeholder="${!this.floatingLabel||h?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(L=>L==null?void 0:L.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",v)}" 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",b,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",y)}" name="closing-round" library="_internal"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${d(b,y,"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",b,y)}" 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",y)}">${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",b)}" type="button"><sd-icon class="${d(x,y)}" 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="${H(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><slot name="help-text" part="form-control-help-text" id="help-text" class="${d("text-sm text-neutral-700 mt-1",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};s.styles=[...E.styles,V`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
12
12
  :host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(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:rgba(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([m("sd-popup")],s.prototype,"popup",2),l([m('[part="combobox"]')],s.prototype,"combobox",2),l([m('[part="display-input"]')],s.prototype,"displayInput",2),l([m(".value-input")],s.prototype,"valueInput",2),l([m('[part="listbox"]')],s.prototype,"listbox",2),l([m('[part="tags"]')],s.prototype,"tagWrapper",2),l([m('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([m("slot:not([name])")],s.prototype,"defaultSlot",2),l([m("#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([B()],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({attribute:"floating-label",type:Boolean,reflect:!0})],s.prototype,"floatingLabel",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([f("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([f("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([f(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([f("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([f("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([f("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),l([f(["size","floatingLabel"])],s.prototype,"handleSizeChange",1),s=l([F("sd-combobox")],s);C("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
@@ -1,2 +1,2 @@
1
- import{a as s}from"./chunk.PV6UYBMY.js";import{a,b as d}from"./chunk.PJ7JCMQF.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as h,b as i,d as f,h as n}from"./chunk.CMXQRUFT.js";import{b as u}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.localize=new b(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),o=this.removable&&!this.selected&&!this.toggleable,c=t?a`a`:o?a`div`:a`button`;return d`<${c} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||o?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${l("flex border box-border sd-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-tag-font-weight sd-tag--size-lg-font-size gap-2",sm:"h-6 sd-tag-font-weight sd-tag--size-sm-font-size gap-1"}[this.size],{lg:o?"pl-4 pr-3 py-2":"px-4 py-2",sm:o?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text disabled:bg-neutral-500 disabled:sd-tag--disabled-color-border":l("sd-tag--default-color-border sd-tag--default-color-text disabled:sd-tag--disabled-color-border disabled:text-neutral-500",o?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"),this.disabled&&!t&&"cursor-not-allowed")}"><slot name="icon-left" class="${l("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${o&&!t?d`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${c}>`}};e.styles=[...n.styles,u`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
1
+ import{a as s}from"./chunk.SLXPE3UU.js";import{a,b as d}from"./chunk.SV6DES3E.js";import{a as b}from"./chunk.IQPMMUES.js";import{a as l}from"./chunk.YFQFOIEM.js";import{a as h,b as i,d as f,h as n}from"./chunk.CRLGS4QF.js";import{b as u}from"./chunk.UOAG5PNU.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.localize=new b(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),o=this.removable&&!this.selected&&!this.toggleable,c=t?a`a`:o?a`div`:a`button`;return d`<${c} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||o?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${l("flex border box-border sd-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-tag-font-weight sd-tag--size-lg-font-size gap-2",sm:"h-6 sd-tag-font-weight sd-tag--size-sm-font-size gap-1"}[this.size],{lg:o?"pl-4 pr-3 py-2":"px-4 py-2",sm:o?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"sd-tag--selected-border-width sd-tag--selected--default-color-background sd-tag--selected--default-color-border sd-tag--selected--default-color-text hover:sd-tag--selected--hover-color-background hover:sd-tag--selected--hover-color-border hover:sd-tag--selected--hover-color-text disabled:bg-neutral-500 disabled:sd-tag--disabled-color-border":l("sd-tag--default-color-border sd-tag--default-color-text disabled:sd-tag--disabled-color-border disabled:text-neutral-500",o?"sd-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-tag--default--hover-color-background"),this.disabled&&!t&&"cursor-not-allowed")}"><slot name="icon-left" class="${l("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${o&&!t?d`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${c}>`}};e.styles=[...n.styles,u`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
2
  :host{display:inline-block;transition-property:opacity;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-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--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))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],r([f("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-tag")],e);export{e as a};
@@ -0,0 +1,2 @@
1
+ import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.W4EADN3G.js";import{b as D}from"./chunk.RAP66B6O.js";import{a as d}from"./chunk.SLXPE3UU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.IQPMMUES.js";import{a as c}from"./chunk.YFQFOIEM.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.CRLGS4QF.js";import{b as E,e as v}from"./chunk.UOAG5PNU.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new D(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(p):t||[],b(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});b(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${s}, ${n}%)`,t.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${n}%))`;return}let e=this._value.slice().sort(p),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(t),n=i[s-1]||this.min,r=i[s+1]||this.max,u=e<n||e>r;return{finalValue:Math.max(n,Math.min(r,e)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n),u=a.reduce((g,x)=>{let k=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(k-r),$=Math.abs(L-r);return V===$?k<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let s=_(this.inputWrapper,t.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,r);m.isRestricted?(r=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(e,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,b(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(t.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(e,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(e,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let n=`thumb-${s}`,r="",u="";return e?(u=t?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",v`<sd-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${d(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,E`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ [part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([f("#input")],l.prototype,"input",2),o([f('[part="active-track"]')],l.prototype,"activeTrack",2),o([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),o([I('[part="thumb"]')],l.prototype,"thumbs",2),o([h({attribute:!1})],l.prototype,"tooltipFormatter",2),o([h({type:String,reflect:!0})],l.prototype,"name",2),o([h({type:String,reflect:!0})],l.prototype,"label",2),o([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),o([h({type:Number,reflect:!0})],l.prototype,"min",2),o([h({type:Number,reflect:!0})],l.prototype,"max",2),o([h({type:Number,reflect:!0})],l.prototype,"step",2),o([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),o([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),o([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),o([h({attribute:"tooltip",type:String,reflect:!0})],l.prototype,"tooltip",2),o([A()],l.prototype,"defaultValue",2),o([h({type:String})],l.prototype,"value",1),l=o([C("sd-range")],l);export{l as a};