@cordwainer/cw-elements 1.1.0 → 1.2.0-alpha.1

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 (1208) hide show
  1. package/cdn/chunks/chunk.2D2W36M7.js +21 -0
  2. package/cdn/chunks/chunk.2EVBJXGK.js +11 -0
  3. package/cdn/chunks/chunk.2FOQOETF.js +11 -0
  4. package/cdn/chunks/chunk.2NINSW7F.js +137 -0
  5. package/cdn/chunks/chunk.2QLQWGP5.js +28 -0
  6. package/cdn/chunks/chunk.2SEIS5FB.js +42 -0
  7. package/cdn/chunks/chunk.2VM245I7.js +26 -0
  8. package/cdn/chunks/chunk.2XSYSDO3.js +20 -0
  9. package/cdn/chunks/chunk.3242TXQ6.js +11 -0
  10. package/cdn/chunks/chunk.35LTXXF6.js +73 -0
  11. package/cdn/chunks/chunk.3A3EKZAC.js +11 -0
  12. package/cdn/chunks/chunk.3A3X2PL6.js +11 -0
  13. package/cdn/chunks/chunk.3ELRVPUL.js +158 -0
  14. package/cdn/chunks/chunk.3JDNHINR.js +292 -0
  15. package/cdn/chunks/chunk.3KY6HRPX.js +821 -0
  16. package/cdn/chunks/chunk.4C5CA3U6.js +367 -0
  17. package/cdn/chunks/chunk.4TQ4XQ5V.js +11 -0
  18. package/cdn/chunks/chunk.4XLH4HQQ.js +28 -0
  19. package/cdn/chunks/chunk.4XYVR4IL.js +11 -0
  20. package/cdn/chunks/chunk.5EAH7IZU.js +21 -0
  21. package/cdn/chunks/chunk.5GHHWGQ4.js +218 -0
  22. package/cdn/chunks/chunk.5KKRF34C.js +21 -0
  23. package/cdn/chunks/chunk.5MKDMYKJ.js +299 -0
  24. package/cdn/chunks/chunk.5OOCO4GL.js +21 -0
  25. package/cdn/chunks/chunk.5WV3ILQM.js +11 -0
  26. package/cdn/chunks/chunk.63Q32RED.js +11 -0
  27. package/cdn/chunks/chunk.64BN4453.js +21 -0
  28. package/cdn/chunks/chunk.667T6C5R.js +11 -0
  29. package/cdn/chunks/chunk.6CPTI3CT.js +904 -0
  30. package/cdn/chunks/chunk.6EWXPA2O.js +21 -0
  31. package/cdn/chunks/chunk.6HED7EFL.js +67 -0
  32. package/cdn/chunks/chunk.6LFZYNAJ.js +122 -0
  33. package/cdn/chunks/chunk.75M5F2QG.js +25 -0
  34. package/cdn/chunks/chunk.7EY6G7NS.js +11 -0
  35. package/cdn/chunks/chunk.7NSGMFRE.js +11 -0
  36. package/cdn/chunks/chunk.7XQECKZZ.js +11 -0
  37. package/cdn/chunks/chunk.7ZI3ETZO.js +11 -0
  38. package/cdn/chunks/chunk.7ZIVYTTK.js +199 -0
  39. package/cdn/chunks/chunk.A67362GN.js +25 -0
  40. package/cdn/chunks/chunk.AEG2D2GK.js +21 -0
  41. package/cdn/chunks/chunk.AIOSHILJ.js +93 -0
  42. package/cdn/chunks/chunk.APDL56LM.js +114 -0
  43. package/cdn/chunks/chunk.AYR7GI4L.js +25 -0
  44. package/cdn/chunks/chunk.B5OFLT2Z.js +455 -0
  45. package/cdn/chunks/chunk.BIKPLZXK.js +27 -0
  46. package/cdn/chunks/chunk.BNIMW2BP.js +11 -0
  47. package/cdn/chunks/chunk.C4QY7KGQ.js +44 -0
  48. package/cdn/chunks/chunk.CJZODE22.js +279 -0
  49. package/cdn/chunks/chunk.D444MCOQ.js +27 -0
  50. package/cdn/chunks/chunk.D7MYJ7DS.js +63 -0
  51. package/cdn/chunks/chunk.DBI3LACP.js +21 -0
  52. package/cdn/chunks/chunk.DHGSFEVN.js +24 -0
  53. package/cdn/chunks/chunk.DM2GU5IX.js +21 -0
  54. package/cdn/chunks/chunk.DO7CY5W4.js +267 -0
  55. package/cdn/chunks/chunk.DUQ3VE5Z.js +33 -0
  56. package/cdn/chunks/chunk.DYSZCSPE.js +77 -0
  57. package/cdn/chunks/chunk.E26ILGKU.js +142 -0
  58. package/cdn/chunks/chunk.E3C4ZBOM.js +24 -0
  59. package/cdn/chunks/chunk.E5JD6AR2.js +21 -0
  60. package/cdn/chunks/chunk.EMECPVBD.js +24 -0
  61. package/cdn/chunks/chunk.EOE4K7GH.js +11 -0
  62. package/cdn/chunks/chunk.EP7TTVCD.js +11 -0
  63. package/cdn/chunks/chunk.F447IRE5.js +24 -0
  64. package/cdn/chunks/chunk.FFFGI3BK.js +11 -0
  65. package/cdn/chunks/chunk.FSZPEESI.js +24 -0
  66. package/cdn/chunks/chunk.FV2VN5H2.js +11 -0
  67. package/cdn/chunks/chunk.G64NUWSI.js +25 -0
  68. package/cdn/chunks/chunk.GBKWIQWO.js +174 -0
  69. package/cdn/chunks/chunk.GEBZBVTH.js +21 -0
  70. package/cdn/chunks/chunk.GHETRRFI.js +27 -0
  71. package/cdn/chunks/chunk.GUUCUNLT.js +11 -0
  72. package/cdn/chunks/chunk.H56Q4VV7.js +36 -0
  73. package/cdn/chunks/chunk.H7RF2ZE3.js +24 -0
  74. package/cdn/chunks/chunk.HBKB7RDF.js +11 -0
  75. package/cdn/chunks/chunk.HMQ3W6AG.js +11 -0
  76. package/cdn/chunks/chunk.HOK3XKAY.js +11 -0
  77. package/cdn/chunks/chunk.HVW5WT4X.js +11 -0
  78. package/cdn/chunks/chunk.HYXPW6KP.js +233 -0
  79. package/cdn/chunks/chunk.I6KB4VW7.js +186 -0
  80. package/cdn/chunks/chunk.I6LVVS7E.js +24 -0
  81. package/cdn/chunks/chunk.IDZYBSCU.js +29 -0
  82. package/cdn/chunks/chunk.IY2X7HTJ.js +11 -0
  83. package/cdn/chunks/chunk.J2XCU3C2.js +135 -0
  84. package/cdn/chunks/chunk.J5NA2XB3.js +21 -0
  85. package/cdn/chunks/chunk.J5O4FZCF.js +11 -0
  86. package/cdn/chunks/chunk.J6UIOHRK.js +24 -0
  87. package/cdn/chunks/chunk.JAEXATQZ.js +11 -0
  88. package/cdn/chunks/chunk.JGKRRNZE.js +21 -0
  89. package/cdn/chunks/chunk.JJAXCKJ7.js +11 -0
  90. package/cdn/chunks/chunk.JJQSSHMO.js +11 -0
  91. package/cdn/chunks/chunk.JOSWKGY5.js +29 -0
  92. package/cdn/chunks/chunk.JV44BUFL.js +11 -0
  93. package/cdn/chunks/chunk.K65HCZ7P.js +25 -0
  94. package/cdn/chunks/chunk.KBPWFLVG.js +11 -0
  95. package/cdn/chunks/chunk.KM3JL2NK.js +378 -0
  96. package/cdn/chunks/chunk.KNTPKXOU.js +82 -0
  97. package/cdn/chunks/chunk.KO5OWFHI.js +25 -0
  98. package/cdn/chunks/chunk.KZ2JREI3.js +11 -0
  99. package/cdn/chunks/chunk.LAO6LJJM.js +28 -0
  100. package/cdn/chunks/chunk.LBOZPHMU.js +21 -0
  101. package/cdn/chunks/chunk.LPKUU5RV.js +24 -0
  102. package/cdn/chunks/chunk.LQXFA2EE.js +724 -0
  103. package/cdn/chunks/chunk.LTKRWRX4.js +216 -0
  104. package/cdn/chunks/chunk.LU7S6Z7C.js +27 -0
  105. package/cdn/chunks/chunk.LXDWEMYF.js +314 -0
  106. package/cdn/chunks/chunk.LYQ27U5N.js +11 -0
  107. package/cdn/chunks/chunk.LZ4L4JF3.js +499 -0
  108. package/cdn/chunks/chunk.M6463QAH.js +26 -0
  109. package/cdn/chunks/chunk.M6L2HEZK.js +11 -0
  110. package/cdn/chunks/chunk.MCLTBHNQ.js +11 -0
  111. package/cdn/chunks/chunk.MNR3RGM6.js +302 -0
  112. package/cdn/chunks/chunk.MNRAN3EO.js +87 -0
  113. package/cdn/chunks/chunk.MQ5LM4MB.js +49 -0
  114. package/cdn/chunks/chunk.MWLJHRL6.js +11 -0
  115. package/cdn/chunks/chunk.N4H6U4PP.js +24 -0
  116. package/cdn/chunks/chunk.NGOXT5I6.js +25 -0
  117. package/cdn/chunks/chunk.O6J67H5P.js +79 -0
  118. package/cdn/chunks/chunk.OCZYVBJ3.js +26 -0
  119. package/cdn/chunks/chunk.OS3P3XZT.js +11 -0
  120. package/cdn/chunks/chunk.OZXDFZMU.js +844 -0
  121. package/cdn/chunks/chunk.PKGDEA7H.js +29 -0
  122. package/cdn/chunks/chunk.PSRASNQV.js +97 -0
  123. package/cdn/chunks/chunk.PU7D4HTX.js +574 -0
  124. package/cdn/chunks/chunk.PUAIXC7J.js +336 -0
  125. package/cdn/chunks/chunk.PWQLUZAY.js +11 -0
  126. package/cdn/chunks/chunk.Q4KCYNHK.js +11 -0
  127. package/cdn/chunks/chunk.Q7G2CUFX.js +21 -0
  128. package/cdn/chunks/chunk.QCHVJMOM.js +127 -0
  129. package/cdn/chunks/chunk.QE3EQWWF.js +391 -0
  130. package/cdn/chunks/chunk.QGRWRQ6W.js +360 -0
  131. package/cdn/chunks/chunk.QLWFLD2B.js +11 -0
  132. package/cdn/chunks/chunk.QRWT6VND.js +21 -0
  133. package/cdn/chunks/chunk.QXPTE4DA.js +11 -0
  134. package/cdn/chunks/chunk.R3B4HK4V.js +95 -0
  135. package/cdn/chunks/chunk.R7HK7CZV.js +255 -0
  136. package/cdn/chunks/chunk.SEA7BJMY.js +1990 -0
  137. package/cdn/chunks/chunk.SESAI6YG.js +29 -0
  138. package/cdn/chunks/chunk.SFHUJLOM.js +21 -0
  139. package/cdn/chunks/chunk.SH4HHFBN.js +75 -0
  140. package/cdn/chunks/chunk.SKTHN77C.js +26 -0
  141. package/cdn/chunks/chunk.SMABH6MY.js +33 -0
  142. package/cdn/chunks/chunk.SOH5UA2M.js +153 -0
  143. package/cdn/chunks/chunk.SS4Z6VKL.js +103 -0
  144. package/cdn/chunks/chunk.ST44F2BR.js +11 -0
  145. package/cdn/chunks/chunk.SXAAG42W.js +11 -0
  146. package/cdn/chunks/chunk.SYVOPN5Y.js +28 -0
  147. package/cdn/chunks/chunk.T2KRTFM4.js +50 -0
  148. package/cdn/chunks/chunk.TA56DOYV.js +11 -0
  149. package/cdn/chunks/chunk.TDYBQZJ4.js +11 -0
  150. package/cdn/chunks/chunk.TE4UVJ4N.js +21 -0
  151. package/cdn/chunks/chunk.TLIVRI3T.js +11 -0
  152. package/cdn/chunks/chunk.TPJ7FU7Q.js +11 -0
  153. package/cdn/chunks/chunk.TVKZEJMQ.js +25 -0
  154. package/cdn/chunks/chunk.TZ5OXH5I.js +11 -0
  155. package/cdn/chunks/chunk.U6GUBNXS.js +969 -0
  156. package/cdn/chunks/chunk.U6QGZKGW.js +11 -0
  157. package/cdn/chunks/chunk.UASX3M2Q.js +118 -0
  158. package/cdn/chunks/chunk.UGYRLWVC.js +24 -0
  159. package/cdn/chunks/chunk.UL2CCSOX.js +11 -0
  160. package/cdn/chunks/chunk.UQ4MTWGW.js +11 -0
  161. package/cdn/chunks/chunk.UR6L5RFI.js +21 -0
  162. package/cdn/chunks/chunk.UUDPPCAM.js +236 -0
  163. package/cdn/chunks/chunk.UUUDEPTL.js +11 -0
  164. package/cdn/chunks/chunk.UWE3O7Q6.js +346 -0
  165. package/cdn/chunks/chunk.V4Z6IZAC.js +77 -0
  166. package/cdn/chunks/chunk.VFVSFU77.js +291 -0
  167. package/cdn/chunks/chunk.VQJN2OUD.js +11 -0
  168. package/cdn/chunks/chunk.VSO4UBIP.js +11 -0
  169. package/cdn/chunks/chunk.VSUUXBP2.js +25 -0
  170. package/cdn/chunks/chunk.VW5MJACB.js +297 -0
  171. package/cdn/chunks/chunk.VWLU5VUQ.js +21 -0
  172. package/cdn/chunks/chunk.W5MV243H.js +11 -0
  173. package/cdn/chunks/chunk.W7I2LPFA.js +113 -0
  174. package/cdn/chunks/chunk.WOSUM25N.js +11 -0
  175. package/cdn/chunks/chunk.WU7H6347.js +11 -0
  176. package/cdn/chunks/chunk.WUKD2BRG.js +11 -0
  177. package/cdn/chunks/chunk.WW5GN3NZ.js +49 -0
  178. package/cdn/chunks/chunk.WWBTO2YF.js +11 -0
  179. package/cdn/chunks/chunk.XDJCYSVW.js +24 -0
  180. package/cdn/chunks/chunk.XFTH7YPI.js +1925 -0
  181. package/cdn/chunks/chunk.XLA3XVR7.js +28 -0
  182. package/cdn/chunks/chunk.XOEB34AG.js +11 -0
  183. package/cdn/chunks/chunk.XOJM457U.js +21 -0
  184. package/cdn/chunks/chunk.XV472HPM.js +11 -0
  185. package/cdn/chunks/chunk.Y33URFDZ.js +11 -0
  186. package/cdn/chunks/chunk.Y3CATHZN.js +11 -0
  187. package/cdn/chunks/chunk.YJLAVH5B.js +197 -0
  188. package/cdn/chunks/chunk.YJTFGG62.js +33 -0
  189. package/cdn/chunks/chunk.YKCDLKJK.js +33 -0
  190. package/cdn/chunks/chunk.YPGVT6BY.js +120 -0
  191. package/cdn/chunks/chunk.YUUZASE5.js +24 -0
  192. package/cdn/chunks/chunk.YXD5K75D.js +402 -0
  193. package/cdn/chunks/chunk.Z3LSEYK3.js +24 -0
  194. package/cdn/chunks/chunk.ZEBP4Z5A.js +11 -0
  195. package/cdn/chunks/chunk.ZFSSTEB7.js +27 -0
  196. package/cdn/chunks/chunk.ZV7MOC6Z.js +21 -0
  197. package/cdn/components/alert/alert.component.js +6 -6
  198. package/cdn/components/alert/alert.js +7 -7
  199. package/cdn/components/animated-image/animated-image.component.js +5 -5
  200. package/cdn/components/animated-image/animated-image.js +6 -6
  201. package/cdn/components/animation/animation.component.js +2 -2
  202. package/cdn/components/animation/animation.js +3 -3
  203. package/cdn/components/avatar/avatar.component.js +5 -5
  204. package/cdn/components/avatar/avatar.js +6 -6
  205. package/cdn/components/badge/badge.component.js +2 -2
  206. package/cdn/components/badge/badge.js +3 -3
  207. package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
  208. package/cdn/components/breadcrumb/breadcrumb.js +6 -6
  209. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  210. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  211. package/cdn/components/button/button.component.js +6 -6
  212. package/cdn/components/button/button.js +7 -7
  213. package/cdn/components/button-group/button-group.component.js +2 -2
  214. package/cdn/components/button-group/button-group.js +3 -3
  215. package/cdn/components/card/card.component.js +2 -2
  216. package/cdn/components/card/card.js +3 -3
  217. package/cdn/components/carousel/carousel.component.js +6 -5
  218. package/cdn/components/carousel/carousel.js +7 -6
  219. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  220. package/cdn/components/carousel-item/carousel-item.js +3 -3
  221. package/cdn/components/checkbox/checkbox.component.js +5 -5
  222. package/cdn/components/checkbox/checkbox.js +6 -6
  223. package/cdn/components/color-picker/color-picker.component.js +13 -13
  224. package/cdn/components/color-picker/color-picker.js +14 -14
  225. package/cdn/components/combobox/combobox.component.js +10 -10
  226. package/cdn/components/combobox/combobox.js +11 -11
  227. package/cdn/components/copy-button/copy-button.component.js +7 -7
  228. package/cdn/components/copy-button/copy-button.js +8 -8
  229. package/cdn/components/data-table/data-table-column.component.d.ts +39 -0
  230. package/cdn/components/data-table/data-table-column.component.js +10 -0
  231. package/cdn/components/data-table/data-table-column.d.ts +8 -0
  232. package/cdn/components/data-table/data-table-column.js +11 -0
  233. package/cdn/components/data-table/data-table.component.d.ts +98 -0
  234. package/cdn/components/data-table/data-table.component.js +35 -0
  235. package/cdn/components/data-table/data-table.d.ts +8 -0
  236. package/cdn/components/data-table/data-table.js +36 -0
  237. package/cdn/components/data-table/data-table.styles.d.ts +2 -0
  238. package/cdn/components/data-table/data-table.styles.js +8 -0
  239. package/cdn/components/data-table/define/cw-data-table-column.d.ts +8 -0
  240. package/cdn/components/data-table/define/cw-data-table-column.js +14 -0
  241. package/cdn/components/data-table-column/data-table-column.d.ts +2 -0
  242. package/cdn/components/data-table-column/data-table-column.js +11 -0
  243. package/cdn/components/date-picker/date-picker.component.d.ts +1 -1
  244. package/cdn/components/date-picker/date-picker.component.js +7 -7
  245. package/cdn/components/date-picker/date-picker.js +8 -8
  246. package/cdn/components/details/details.component.js +5 -5
  247. package/cdn/components/details/details.js +6 -6
  248. package/cdn/components/dialog/dialog.component.js +7 -7
  249. package/cdn/components/dialog/dialog.js +8 -8
  250. package/cdn/components/divider/divider.component.js +2 -2
  251. package/cdn/components/divider/divider.js +3 -3
  252. package/cdn/components/drawer/drawer.component.js +7 -7
  253. package/cdn/components/drawer/drawer.js +8 -8
  254. package/cdn/components/dropdown/dropdown.component.js +3 -3
  255. package/cdn/components/dropdown/dropdown.js +4 -4
  256. package/cdn/components/format-bytes/format-bytes.component.js +2 -2
  257. package/cdn/components/format-bytes/format-bytes.js +3 -3
  258. package/cdn/components/format-date/format-date.component.js +2 -2
  259. package/cdn/components/format-date/format-date.js +3 -3
  260. package/cdn/components/format-number/format-number.component.js +2 -2
  261. package/cdn/components/format-number/format-number.js +3 -3
  262. package/cdn/components/icon/icon.component.js +4 -4
  263. package/cdn/components/icon/icon.js +5 -5
  264. package/cdn/components/icon/library.js +2 -2
  265. package/cdn/components/icon-button/icon-button.component.js +5 -5
  266. package/cdn/components/icon-button/icon-button.js +6 -6
  267. package/cdn/components/image-comparer/image-comparer.component.js +5 -5
  268. package/cdn/components/image-comparer/image-comparer.js +6 -6
  269. package/cdn/components/include/include.component.js +3 -3
  270. package/cdn/components/include/include.js +4 -4
  271. package/cdn/components/input/input.component.js +5 -5
  272. package/cdn/components/input/input.js +6 -6
  273. package/cdn/components/menu/menu.component.js +2 -2
  274. package/cdn/components/menu/menu.js +3 -3
  275. package/cdn/components/menu-item/menu-item.component.js +7 -7
  276. package/cdn/components/menu-item/menu-item.js +8 -8
  277. package/cdn/components/menu-label/menu-label.component.js +2 -2
  278. package/cdn/components/menu-label/menu-label.js +3 -3
  279. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  280. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  281. package/cdn/components/option/option.component.js +5 -5
  282. package/cdn/components/option/option.js +6 -6
  283. package/cdn/components/pagination/pagination.component.js +6 -6
  284. package/cdn/components/pagination/pagination.js +7 -7
  285. package/cdn/components/popup/popup.component.js +2 -2
  286. package/cdn/components/popup/popup.js +3 -3
  287. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  288. package/cdn/components/progress-bar/progress-bar.js +3 -3
  289. package/cdn/components/progress-ring/progress-ring.component.js +2 -2
  290. package/cdn/components/progress-ring/progress-ring.js +3 -3
  291. package/cdn/components/qr-code/qr-code.component.js +2 -2
  292. package/cdn/components/qr-code/qr-code.js +3 -3
  293. package/cdn/components/radio/radio.component.js +5 -5
  294. package/cdn/components/radio/radio.js +6 -6
  295. package/cdn/components/radio-button/radio-button.component.js +2 -2
  296. package/cdn/components/radio-button/radio-button.js +3 -3
  297. package/cdn/components/radio-group/radio-group.component.js +3 -3
  298. package/cdn/components/radio-group/radio-group.js +4 -4
  299. package/cdn/components/range/range.component.js +2 -2
  300. package/cdn/components/range/range.js +3 -3
  301. package/cdn/components/rating/rating.component.js +5 -5
  302. package/cdn/components/rating/rating.js +6 -6
  303. package/cdn/components/relative-time/relative-time.component.js +2 -2
  304. package/cdn/components/relative-time/relative-time.js +3 -3
  305. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  306. package/cdn/components/resize-observer/resize-observer.js +3 -3
  307. package/cdn/components/select/select.component.js +8 -8
  308. package/cdn/components/select/select.js +9 -9
  309. package/cdn/components/skeleton/skeleton.component.js +2 -2
  310. package/cdn/components/skeleton/skeleton.js +3 -3
  311. package/cdn/components/spinner/spinner.component.js +2 -2
  312. package/cdn/components/spinner/spinner.js +3 -3
  313. package/cdn/components/split-panel/split-panel.component.js +2 -2
  314. package/cdn/components/split-panel/split-panel.js +3 -3
  315. package/cdn/components/switch/switch.component.js +2 -2
  316. package/cdn/components/switch/switch.js +3 -3
  317. package/cdn/components/tab/tab.component.js +6 -6
  318. package/cdn/components/tab/tab.js +7 -7
  319. package/cdn/components/tab-group/tab-group.component.js +7 -7
  320. package/cdn/components/tab-group/tab-group.js +8 -8
  321. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  322. package/cdn/components/tab-panel/tab-panel.js +3 -3
  323. package/cdn/components/tag/tag.component.js +6 -6
  324. package/cdn/components/tag/tag.js +7 -7
  325. package/cdn/components/textarea/textarea.component.js +2 -2
  326. package/cdn/components/textarea/textarea.js +3 -3
  327. package/cdn/components/time-picker/time-picker.component.js +7 -7
  328. package/cdn/components/time-picker/time-picker.js +8 -8
  329. package/cdn/components/tooltip/tooltip.component.js +3 -3
  330. package/cdn/components/tooltip/tooltip.js +4 -4
  331. package/cdn/components/tree/tree.component.js +9 -9
  332. package/cdn/components/tree/tree.js +10 -10
  333. package/cdn/components/tree-item/tree-item.component.js +7 -7
  334. package/cdn/components/tree-item/tree-item.js +8 -8
  335. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  336. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  337. package/cdn/custom-elements.json +772 -3
  338. package/cdn/cw-elements.d.ts +3 -0
  339. package/cdn/cw-elements.js +184 -165
  340. package/cdn/events/cw-row-click.d.ts +9 -0
  341. package/cdn/events/cw-row-selection-change.d.ts +8 -0
  342. package/cdn/events/cw-sort-change.d.ts +9 -0
  343. package/cdn/events/events.d.ts +3 -0
  344. package/cdn/react/alert/index.js +7 -7
  345. package/cdn/react/animated-image/index.js +6 -6
  346. package/cdn/react/animation/index.js +3 -3
  347. package/cdn/react/avatar/index.js +6 -6
  348. package/cdn/react/badge/index.js +3 -3
  349. package/cdn/react/breadcrumb/index.js +6 -6
  350. package/cdn/react/breadcrumb-item/index.js +3 -3
  351. package/cdn/react/button/index.js +7 -7
  352. package/cdn/react/button-group/index.js +3 -3
  353. package/cdn/react/card/index.js +3 -3
  354. package/cdn/react/carousel/index.js +7 -6
  355. package/cdn/react/carousel-item/index.js +3 -3
  356. package/cdn/react/checkbox/index.js +6 -6
  357. package/cdn/react/color-picker/index.js +14 -14
  358. package/cdn/react/combobox/index.js +11 -11
  359. package/cdn/react/copy-button/index.js +8 -8
  360. package/cdn/react/data-table/index.d.ts +50 -0
  361. package/cdn/react/data-table/index.js +36 -0
  362. package/cdn/react/data-table-column/index.d.ts +11 -0
  363. package/cdn/react/data-table-column/index.js +11 -0
  364. package/cdn/react/date-picker/index.d.ts +1 -1
  365. package/cdn/react/date-picker/index.js +8 -8
  366. package/cdn/react/details/index.js +6 -6
  367. package/cdn/react/dialog/index.js +8 -8
  368. package/cdn/react/divider/index.js +3 -3
  369. package/cdn/react/drawer/index.js +8 -8
  370. package/cdn/react/dropdown/index.js +4 -4
  371. package/cdn/react/format-bytes/index.js +3 -3
  372. package/cdn/react/format-date/index.js +3 -3
  373. package/cdn/react/format-number/index.js +3 -3
  374. package/cdn/react/icon/index.js +5 -5
  375. package/cdn/react/icon-button/index.js +6 -6
  376. package/cdn/react/image-comparer/index.js +6 -6
  377. package/cdn/react/include/index.js +4 -4
  378. package/cdn/react/index.d.ts +2 -0
  379. package/cdn/react/index.js +166 -154
  380. package/cdn/react/input/index.js +6 -6
  381. package/cdn/react/menu/index.js +3 -3
  382. package/cdn/react/menu-item/index.js +8 -8
  383. package/cdn/react/menu-label/index.js +3 -3
  384. package/cdn/react/mutation-observer/index.js +3 -3
  385. package/cdn/react/option/index.js +6 -6
  386. package/cdn/react/pagination/index.js +7 -7
  387. package/cdn/react/popup/index.js +3 -3
  388. package/cdn/react/progress-bar/index.js +3 -3
  389. package/cdn/react/progress-ring/index.js +3 -3
  390. package/cdn/react/qr-code/index.js +3 -3
  391. package/cdn/react/radio/index.js +6 -6
  392. package/cdn/react/radio-button/index.js +3 -3
  393. package/cdn/react/radio-group/index.js +4 -4
  394. package/cdn/react/range/index.js +3 -3
  395. package/cdn/react/rating/index.js +6 -6
  396. package/cdn/react/relative-time/index.js +3 -3
  397. package/cdn/react/resize-observer/index.js +3 -3
  398. package/cdn/react/select/index.js +9 -9
  399. package/cdn/react/skeleton/index.js +3 -3
  400. package/cdn/react/spinner/index.js +3 -3
  401. package/cdn/react/split-panel/index.js +3 -3
  402. package/cdn/react/switch/index.js +3 -3
  403. package/cdn/react/tab/index.js +7 -7
  404. package/cdn/react/tab-group/index.js +8 -8
  405. package/cdn/react/tab-panel/index.js +3 -3
  406. package/cdn/react/tag/index.js +7 -7
  407. package/cdn/react/textarea/index.js +3 -3
  408. package/cdn/react/time-picker/index.js +8 -8
  409. package/cdn/react/tooltip/index.js +4 -4
  410. package/cdn/react/tree/index.js +10 -10
  411. package/cdn/react/tree-item/index.js +8 -8
  412. package/cdn/react/visually-hidden/index.js +3 -3
  413. package/cdn/types/vue/index.d.ts +109 -0
  414. package/cdn/utilities/icon-library.js +2 -2
  415. package/cdn/vscode.html-custom-data.json +117 -0
  416. package/cdn/web-types.json +265 -1
  417. package/dist/chunks/chunk.24LNGBKL.js +24 -0
  418. package/dist/chunks/chunk.255MR7CE.js +337 -0
  419. package/dist/chunks/chunk.26CSXQ4Q.js +11 -0
  420. package/dist/chunks/chunk.27QQRPIN.js +100 -0
  421. package/dist/chunks/chunk.2EF43XJW.js +11 -0
  422. package/dist/chunks/chunk.2JOGE2CV.js +896 -0
  423. package/dist/chunks/chunk.2LQMBY3I.js +24 -0
  424. package/dist/chunks/chunk.36HMLPYR.js +491 -0
  425. package/dist/chunks/chunk.3BRXL2IA.js +11 -0
  426. package/dist/chunks/chunk.3LOQWMDO.js +21 -0
  427. package/dist/chunks/chunk.3QBNTXFV.js +231 -0
  428. package/dist/chunks/chunk.3VSG7FQP.js +24 -0
  429. package/dist/chunks/chunk.437NNE4R.js +11 -0
  430. package/dist/chunks/chunk.43JUATJR.js +280 -0
  431. package/dist/chunks/chunk.474RV3RO.js +21 -0
  432. package/dist/chunks/chunk.4A7V7DBS.js +11 -0
  433. package/dist/chunks/chunk.4RKYCOLD.js +113 -0
  434. package/dist/chunks/chunk.4T4CBTZI.js +11 -0
  435. package/dist/chunks/chunk.5DVQN6KA.js +22 -0
  436. package/dist/chunks/chunk.5HVNCB53.js +28 -0
  437. package/dist/chunks/chunk.5PFBTDM7.js +85 -0
  438. package/dist/chunks/chunk.5PNGXJJN.js +24 -0
  439. package/dist/chunks/chunk.5RMOOAFI.js +25 -0
  440. package/dist/chunks/chunk.5VMVEYHS.js +11 -0
  441. package/dist/chunks/chunk.5WQ4DYTA.js +73 -0
  442. package/dist/chunks/chunk.647QRRSD.js +75 -0
  443. package/dist/chunks/chunk.65WIBETF.js +181 -0
  444. package/dist/chunks/chunk.6FPQJQVL.js +370 -0
  445. package/dist/chunks/chunk.6OE6BOS3.js +22 -0
  446. package/dist/chunks/chunk.6TJHG4PU.js +111 -0
  447. package/dist/chunks/chunk.6TNCAIOV.js +28 -0
  448. package/dist/chunks/chunk.73LXUELQ.js +11 -0
  449. package/dist/chunks/chunk.7KOLSO2Q.js +11 -0
  450. package/dist/chunks/chunk.7KYZUYDL.js +11 -0
  451. package/dist/chunks/chunk.7LUO23BS.js +11 -0
  452. package/dist/chunks/chunk.7VUJV35U.js +11 -0
  453. package/dist/chunks/chunk.7ZOB47XT.js +11 -0
  454. package/dist/chunks/chunk.A6A6DBJW.js +24 -0
  455. package/dist/chunks/chunk.A7OYHBVT.js +21 -0
  456. package/dist/chunks/chunk.ACQNNZ5S.js +550 -0
  457. package/dist/chunks/chunk.AOI3PPFU.js +350 -0
  458. package/dist/chunks/chunk.AT2PWN2E.js +21 -0
  459. package/dist/chunks/chunk.AZFT2G4R.js +294 -0
  460. package/dist/chunks/chunk.BCWBFYOQ.js +21 -0
  461. package/dist/chunks/chunk.BDVZKECO.js +11 -0
  462. package/dist/chunks/chunk.BDXLNIQ4.js +21 -0
  463. package/dist/chunks/chunk.BMDGI6D3.js +11 -0
  464. package/dist/chunks/chunk.BMLBSFYD.js +26 -0
  465. package/dist/chunks/chunk.BU46AHUR.js +21 -0
  466. package/dist/chunks/chunk.BV2MLUIE.js +11 -0
  467. package/dist/chunks/chunk.C4QY7KGQ.js +44 -0
  468. package/dist/chunks/chunk.CTYANNF5.js +11 -0
  469. package/dist/chunks/chunk.DCDNEZSD.js +21 -0
  470. package/dist/chunks/chunk.DIFRRS55.js +11 -0
  471. package/dist/chunks/chunk.DUG7FBMO.js +116 -0
  472. package/dist/chunks/chunk.E5645J52.js +34 -0
  473. package/dist/chunks/chunk.EDN4PMYZ.js +21 -0
  474. package/dist/chunks/chunk.EM4TJHA3.js +28 -0
  475. package/dist/chunks/chunk.EUI4TRBJ.js +196 -0
  476. package/dist/chunks/chunk.EWB3P576.js +21 -0
  477. package/dist/chunks/chunk.EXYVJ7TS.js +27 -0
  478. package/dist/chunks/chunk.EY5TOAFB.js +119 -0
  479. package/dist/chunks/chunk.FLY3NQH2.js +28 -0
  480. package/dist/chunks/chunk.FQZLWE3J.js +24 -0
  481. package/dist/chunks/chunk.FRD5DSVU.js +24 -0
  482. package/dist/chunks/chunk.FXP4QJHU.js +33 -0
  483. package/dist/chunks/chunk.GA4PYUKF.js +25 -0
  484. package/dist/chunks/chunk.GOL2SL6Z.js +109 -0
  485. package/dist/chunks/chunk.GWTRKUXQ.js +311 -0
  486. package/dist/chunks/chunk.H3U2APWF.js +25 -0
  487. package/dist/chunks/chunk.H5UDJOV5.js +961 -0
  488. package/dist/chunks/chunk.H6CWC4JD.js +11 -0
  489. package/dist/chunks/chunk.HADVZCN3.js +11 -0
  490. package/dist/chunks/chunk.HDO5LQOU.js +11 -0
  491. package/dist/chunks/chunk.HFJOZTN7.js +67 -0
  492. package/dist/chunks/chunk.HNIWLXGA.js +290 -0
  493. package/dist/chunks/chunk.HNM3M3WM.js +11 -0
  494. package/dist/chunks/chunk.HVVSMHIJ.js +11 -0
  495. package/dist/chunks/chunk.I3XNYG37.js +11 -0
  496. package/dist/chunks/chunk.I446LBDA.js +11 -0
  497. package/dist/chunks/chunk.IG572EQS.js +63 -0
  498. package/dist/chunks/chunk.IJXFT55D.js +247 -0
  499. package/dist/chunks/chunk.ILJJ5P2P.js +25 -0
  500. package/dist/chunks/chunk.IQIA3AZN.js +837 -0
  501. package/dist/chunks/chunk.IVSTVBIW.js +24 -0
  502. package/dist/chunks/chunk.IZVIQXV7.js +147 -0
  503. package/dist/chunks/chunk.J435UVRY.js +28 -0
  504. package/dist/chunks/chunk.J4E5KF6P.js +21 -0
  505. package/dist/chunks/chunk.J5WUHRX6.js +213 -0
  506. package/dist/chunks/chunk.JMR4YVPS.js +24 -0
  507. package/dist/chunks/chunk.JQZ6KLB7.js +11 -0
  508. package/dist/chunks/chunk.JR4542SP.js +11 -0
  509. package/dist/chunks/chunk.K6S5S72J.js +259 -0
  510. package/dist/chunks/chunk.K7XTBTY3.js +29 -0
  511. package/dist/chunks/chunk.KGGUJKKM.js +75 -0
  512. package/dist/chunks/chunk.KL4KKJVT.js +33 -0
  513. package/dist/chunks/chunk.KUN5UMXK.js +21 -0
  514. package/dist/chunks/chunk.KVJTQBEQ.js +24 -0
  515. package/dist/chunks/chunk.KWMQBBQW.js +11 -0
  516. package/dist/chunks/chunk.L7PL6L3S.js +21 -0
  517. package/dist/chunks/chunk.LAXVUQSE.js +11 -0
  518. package/dist/chunks/chunk.LOVS45XD.js +417 -0
  519. package/dist/chunks/chunk.LSIGE5IY.js +11 -0
  520. package/dist/chunks/chunk.LYFMY3QF.js +170 -0
  521. package/dist/chunks/chunk.M3LXMNTI.js +25 -0
  522. package/dist/chunks/chunk.M6KL24M3.js +11 -0
  523. package/dist/chunks/chunk.MBQMFOQP.js +126 -0
  524. package/dist/chunks/chunk.MLL5HGQN.js +813 -0
  525. package/dist/chunks/chunk.MTWSSNXG.js +50 -0
  526. package/dist/chunks/chunk.MWXXMPKD.js +80 -0
  527. package/dist/chunks/chunk.MXCPLNMN.js +11 -0
  528. package/dist/chunks/chunk.MXKPFMQC.js +274 -0
  529. package/dist/chunks/chunk.MYDYNUJT.js +21 -0
  530. package/dist/chunks/chunk.N47BSIDT.js +315 -0
  531. package/dist/chunks/chunk.N6XEVXTG.js +59 -0
  532. package/dist/chunks/chunk.NDVTPCXA.js +384 -0
  533. package/dist/chunks/chunk.NS52MRTK.js +93 -0
  534. package/dist/chunks/chunk.O4X43G66.js +25 -0
  535. package/dist/chunks/chunk.O5IKBXKU.js +11 -0
  536. package/dist/chunks/chunk.O7DZG5U2.js +11 -0
  537. package/dist/chunks/chunk.OCXOOIH5.js +26 -0
  538. package/dist/chunks/chunk.OF2JNCHL.js +949 -0
  539. package/dist/chunks/chunk.OGW2QLI2.js +27 -0
  540. package/dist/chunks/chunk.OO6TR3ZT.js +94 -0
  541. package/dist/chunks/chunk.OVQUDY2U.js +11 -0
  542. package/dist/chunks/chunk.OVXDL4TR.js +26 -0
  543. package/dist/chunks/chunk.OZL5HMZY.js +33 -0
  544. package/dist/chunks/chunk.PDH4FXCR.js +21 -0
  545. package/dist/chunks/chunk.PORKCE3F.js +11 -0
  546. package/dist/chunks/chunk.PPLLTP3M.js +27 -0
  547. package/dist/chunks/chunk.PTGVVGKL.js +11 -0
  548. package/dist/chunks/chunk.PUP5CHRJ.js +11 -0
  549. package/dist/chunks/chunk.PVWCXGYC.js +134 -0
  550. package/dist/chunks/chunk.PXUJDWG2.js +25 -0
  551. package/dist/chunks/chunk.Q2I5DDZL.js +448 -0
  552. package/dist/chunks/chunk.Q4PVZJO5.js +135 -0
  553. package/dist/chunks/chunk.Q7SBESDF.js +21 -0
  554. package/dist/chunks/chunk.QBAMLI5V.js +42 -0
  555. package/dist/chunks/chunk.QBG6C5QR.js +11 -0
  556. package/dist/chunks/chunk.QJT3S2C7.js +11 -0
  557. package/dist/chunks/chunk.QOR3645H.js +227 -0
  558. package/dist/chunks/chunk.RZY6POFE.js +21 -0
  559. package/dist/chunks/chunk.S5JWFYOI.js +21 -0
  560. package/dist/chunks/chunk.SDSHJGX3.js +25 -0
  561. package/dist/chunks/chunk.SDYM74OQ.js +21 -0
  562. package/dist/chunks/chunk.SFI4F7K2.js +26 -0
  563. package/dist/chunks/chunk.SKE7QPJA.js +11 -0
  564. package/dist/chunks/chunk.SMZNBILX.js +91 -0
  565. package/dist/chunks/chunk.SOOFEDB6.js +21 -0
  566. package/dist/chunks/chunk.SPSKGYHO.js +27 -0
  567. package/dist/chunks/chunk.SSLBDFDV.js +11 -0
  568. package/dist/chunks/chunk.TI3KEJ2F.js +11 -0
  569. package/dist/chunks/chunk.TIEUUNGW.js +11 -0
  570. package/dist/chunks/chunk.TLQ4MBNT.js +11 -0
  571. package/dist/chunks/chunk.TNWDI7TS.js +29 -0
  572. package/dist/chunks/chunk.TRQJZWXG.js +151 -0
  573. package/dist/chunks/chunk.TU4A5K5Q.js +100 -0
  574. package/dist/chunks/chunk.TV7SCJXV.js +11 -0
  575. package/dist/chunks/chunk.U5L2NC6X.js +192 -0
  576. package/dist/chunks/chunk.U7GRVPCQ.js +25 -0
  577. package/dist/chunks/chunk.UE2ILSYG.js +45 -0
  578. package/dist/chunks/chunk.UIIEPLWX.js +117 -0
  579. package/dist/chunks/chunk.UJHPENSV.js +24 -0
  580. package/dist/chunks/chunk.UMPAKE6J.js +11 -0
  581. package/dist/chunks/chunk.UQVSN6I5.js +11 -0
  582. package/dist/chunks/chunk.UTCINADU.js +286 -0
  583. package/dist/chunks/chunk.V4YOWU7V.js +90 -0
  584. package/dist/chunks/chunk.V6P5H4AI.js +11 -0
  585. package/dist/chunks/chunk.V6UGQ5KN.js +11 -0
  586. package/dist/chunks/chunk.V7Y37A4N.js +11 -0
  587. package/dist/chunks/chunk.VJKOH7AH.js +11 -0
  588. package/dist/chunks/chunk.VMYOLQE7.js +33 -0
  589. package/dist/chunks/chunk.VO3TNL3N.js +11 -0
  590. package/dist/chunks/chunk.VPUYTPVD.js +29 -0
  591. package/dist/chunks/chunk.VQZ2GXD4.js +361 -0
  592. package/dist/chunks/chunk.VYJKSW3I.js +11 -0
  593. package/dist/chunks/chunk.WGEVUZC4.js +11 -0
  594. package/dist/chunks/chunk.WIPUNSRB.js +11 -0
  595. package/dist/chunks/chunk.WK74GWMB.js +11 -0
  596. package/dist/chunks/chunk.WM7ELXRN.js +75 -0
  597. package/dist/chunks/chunk.WZ7CD3XC.js +11 -0
  598. package/dist/chunks/chunk.WZSMRIQN.js +11 -0
  599. package/dist/chunks/chunk.XD3PNT5N.js +21 -0
  600. package/dist/chunks/chunk.XS5NNDJW.js +25 -0
  601. package/dist/chunks/chunk.YBMZFTPO.js +24 -0
  602. package/dist/chunks/chunk.YRIXCKPY.js +21 -0
  603. package/dist/chunks/chunk.YSVZ5YXV.js +397 -0
  604. package/dist/chunks/chunk.YT5PW7PG.js +11 -0
  605. package/dist/chunks/chunk.YUPLAANZ.js +11 -0
  606. package/dist/chunks/chunk.YXTYH36B.js +11 -0
  607. package/dist/chunks/chunk.YYZ3G3S4.js +11 -0
  608. package/dist/chunks/chunk.YZXAE52P.js +11 -0
  609. package/dist/chunks/chunk.ZF2HL2ZN.js +45 -0
  610. package/dist/chunks/chunk.ZIWLDIHX.js +29 -0
  611. package/dist/chunks/chunk.ZLIF2HLM.js +293 -0
  612. package/dist/components/alert/alert.component.js +6 -6
  613. package/dist/components/alert/alert.js +7 -7
  614. package/dist/components/animated-image/animated-image.component.js +5 -5
  615. package/dist/components/animated-image/animated-image.js +6 -6
  616. package/dist/components/animation/animation.component.js +2 -2
  617. package/dist/components/animation/animation.js +3 -3
  618. package/dist/components/avatar/avatar.component.js +5 -5
  619. package/dist/components/avatar/avatar.js +6 -6
  620. package/dist/components/badge/badge.component.js +2 -2
  621. package/dist/components/badge/badge.js +3 -3
  622. package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
  623. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  624. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  625. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  626. package/dist/components/button/button.component.js +6 -6
  627. package/dist/components/button/button.js +7 -7
  628. package/dist/components/button-group/button-group.component.js +2 -2
  629. package/dist/components/button-group/button-group.js +3 -3
  630. package/dist/components/card/card.component.js +2 -2
  631. package/dist/components/card/card.js +3 -3
  632. package/dist/components/carousel/carousel.component.js +5 -5
  633. package/dist/components/carousel/carousel.js +6 -6
  634. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  635. package/dist/components/carousel-item/carousel-item.js +3 -3
  636. package/dist/components/checkbox/checkbox.component.js +5 -5
  637. package/dist/components/checkbox/checkbox.js +6 -6
  638. package/dist/components/color-picker/color-picker.component.js +12 -12
  639. package/dist/components/color-picker/color-picker.js +13 -13
  640. package/dist/components/combobox/combobox.component.js +10 -10
  641. package/dist/components/combobox/combobox.js +11 -11
  642. package/dist/components/copy-button/copy-button.component.js +7 -7
  643. package/dist/components/copy-button/copy-button.js +8 -8
  644. package/dist/components/data-table/data-table-column.component.d.ts +39 -0
  645. package/dist/components/data-table/data-table-column.component.js +9 -0
  646. package/dist/components/data-table/data-table-column.d.ts +8 -0
  647. package/dist/components/data-table/data-table-column.js +10 -0
  648. package/dist/components/data-table/data-table.component.d.ts +98 -0
  649. package/dist/components/data-table/data-table.component.js +27 -0
  650. package/dist/components/data-table/data-table.d.ts +8 -0
  651. package/dist/components/data-table/data-table.js +28 -0
  652. package/dist/components/data-table/data-table.styles.d.ts +2 -0
  653. package/dist/components/data-table/data-table.styles.js +7 -0
  654. package/dist/components/data-table/define/cw-data-table-column.d.ts +8 -0
  655. package/dist/components/data-table/define/cw-data-table-column.js +13 -0
  656. package/dist/components/data-table-column/data-table-column.d.ts +2 -0
  657. package/dist/components/data-table-column/data-table-column.js +10 -0
  658. package/dist/components/date-picker/date-picker.component.d.ts +1 -1
  659. package/dist/components/date-picker/date-picker.component.js +7 -7
  660. package/dist/components/date-picker/date-picker.js +8 -8
  661. package/dist/components/details/details.component.js +5 -5
  662. package/dist/components/details/details.js +6 -6
  663. package/dist/components/dialog/dialog.component.js +7 -7
  664. package/dist/components/dialog/dialog.js +8 -8
  665. package/dist/components/divider/divider.component.js +2 -2
  666. package/dist/components/divider/divider.js +3 -3
  667. package/dist/components/drawer/drawer.component.js +7 -7
  668. package/dist/components/drawer/drawer.js +8 -8
  669. package/dist/components/dropdown/dropdown.component.js +3 -3
  670. package/dist/components/dropdown/dropdown.js +4 -4
  671. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  672. package/dist/components/format-bytes/format-bytes.js +3 -3
  673. package/dist/components/format-date/format-date.component.js +2 -2
  674. package/dist/components/format-date/format-date.js +3 -3
  675. package/dist/components/format-number/format-number.component.js +2 -2
  676. package/dist/components/format-number/format-number.js +3 -3
  677. package/dist/components/icon/icon.component.js +4 -4
  678. package/dist/components/icon/icon.js +5 -5
  679. package/dist/components/icon/library.js +2 -2
  680. package/dist/components/icon-button/icon-button.component.js +5 -5
  681. package/dist/components/icon-button/icon-button.js +6 -6
  682. package/dist/components/image-comparer/image-comparer.component.js +5 -5
  683. package/dist/components/image-comparer/image-comparer.js +6 -6
  684. package/dist/components/include/include.component.js +3 -3
  685. package/dist/components/include/include.js +4 -4
  686. package/dist/components/input/input.component.js +5 -5
  687. package/dist/components/input/input.js +6 -6
  688. package/dist/components/menu/menu.component.js +2 -2
  689. package/dist/components/menu/menu.js +3 -3
  690. package/dist/components/menu-item/menu-item.component.js +7 -7
  691. package/dist/components/menu-item/menu-item.js +8 -8
  692. package/dist/components/menu-label/menu-label.component.js +2 -2
  693. package/dist/components/menu-label/menu-label.js +3 -3
  694. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  695. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  696. package/dist/components/option/option.component.js +5 -5
  697. package/dist/components/option/option.js +6 -6
  698. package/dist/components/pagination/pagination.component.js +6 -6
  699. package/dist/components/pagination/pagination.js +7 -7
  700. package/dist/components/popup/popup.component.js +2 -2
  701. package/dist/components/popup/popup.js +3 -3
  702. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  703. package/dist/components/progress-bar/progress-bar.js +3 -3
  704. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  705. package/dist/components/progress-ring/progress-ring.js +3 -3
  706. package/dist/components/qr-code/qr-code.component.js +2 -2
  707. package/dist/components/qr-code/qr-code.js +3 -3
  708. package/dist/components/radio/radio.component.js +5 -5
  709. package/dist/components/radio/radio.js +6 -6
  710. package/dist/components/radio-button/radio-button.component.js +2 -2
  711. package/dist/components/radio-button/radio-button.js +3 -3
  712. package/dist/components/radio-group/radio-group.component.js +3 -3
  713. package/dist/components/radio-group/radio-group.js +4 -4
  714. package/dist/components/range/range.component.js +2 -2
  715. package/dist/components/range/range.js +3 -3
  716. package/dist/components/rating/rating.component.js +5 -5
  717. package/dist/components/rating/rating.js +6 -6
  718. package/dist/components/relative-time/relative-time.component.js +2 -2
  719. package/dist/components/relative-time/relative-time.js +3 -3
  720. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  721. package/dist/components/resize-observer/resize-observer.js +3 -3
  722. package/dist/components/select/select.component.js +8 -8
  723. package/dist/components/select/select.js +9 -9
  724. package/dist/components/skeleton/skeleton.component.js +2 -2
  725. package/dist/components/skeleton/skeleton.js +3 -3
  726. package/dist/components/spinner/spinner.component.js +2 -2
  727. package/dist/components/spinner/spinner.js +3 -3
  728. package/dist/components/split-panel/split-panel.component.js +2 -2
  729. package/dist/components/split-panel/split-panel.js +3 -3
  730. package/dist/components/switch/switch.component.js +2 -2
  731. package/dist/components/switch/switch.js +3 -3
  732. package/dist/components/tab/tab.component.js +6 -6
  733. package/dist/components/tab/tab.js +7 -7
  734. package/dist/components/tab-group/tab-group.component.js +7 -7
  735. package/dist/components/tab-group/tab-group.js +8 -8
  736. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  737. package/dist/components/tab-panel/tab-panel.js +3 -3
  738. package/dist/components/tag/tag.component.js +6 -6
  739. package/dist/components/tag/tag.js +7 -7
  740. package/dist/components/textarea/textarea.component.js +2 -2
  741. package/dist/components/textarea/textarea.js +3 -3
  742. package/dist/components/time-picker/time-picker.component.js +7 -7
  743. package/dist/components/time-picker/time-picker.js +8 -8
  744. package/dist/components/tooltip/tooltip.component.js +3 -3
  745. package/dist/components/tooltip/tooltip.js +4 -4
  746. package/dist/components/tree/tree.component.js +9 -9
  747. package/dist/components/tree/tree.js +10 -10
  748. package/dist/components/tree-item/tree-item.component.js +7 -7
  749. package/dist/components/tree-item/tree-item.js +8 -8
  750. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  751. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  752. package/dist/custom-elements.json +772 -3
  753. package/dist/cw-elements.d.ts +3 -0
  754. package/dist/cw-elements.js +180 -163
  755. package/dist/events/cw-row-click.d.ts +9 -0
  756. package/dist/events/cw-row-selection-change.d.ts +8 -0
  757. package/dist/events/cw-sort-change.d.ts +9 -0
  758. package/dist/events/events.d.ts +3 -0
  759. package/dist/react/alert/index.js +7 -7
  760. package/dist/react/animated-image/index.js +6 -6
  761. package/dist/react/animation/index.js +3 -3
  762. package/dist/react/avatar/index.js +6 -6
  763. package/dist/react/badge/index.js +3 -3
  764. package/dist/react/breadcrumb/index.js +6 -6
  765. package/dist/react/breadcrumb-item/index.js +3 -3
  766. package/dist/react/button/index.js +7 -7
  767. package/dist/react/button-group/index.js +3 -3
  768. package/dist/react/card/index.js +3 -3
  769. package/dist/react/carousel/index.js +6 -6
  770. package/dist/react/carousel-item/index.js +3 -3
  771. package/dist/react/checkbox/index.js +6 -6
  772. package/dist/react/color-picker/index.js +13 -13
  773. package/dist/react/combobox/index.js +11 -11
  774. package/dist/react/copy-button/index.js +8 -8
  775. package/dist/react/data-table/index.d.ts +50 -0
  776. package/dist/react/data-table/index.js +28 -0
  777. package/dist/react/data-table-column/index.d.ts +11 -0
  778. package/dist/react/data-table-column/index.js +10 -0
  779. package/dist/react/date-picker/index.d.ts +1 -1
  780. package/dist/react/date-picker/index.js +8 -8
  781. package/dist/react/details/index.js +6 -6
  782. package/dist/react/dialog/index.js +8 -8
  783. package/dist/react/divider/index.js +3 -3
  784. package/dist/react/drawer/index.js +8 -8
  785. package/dist/react/dropdown/index.js +4 -4
  786. package/dist/react/format-bytes/index.js +3 -3
  787. package/dist/react/format-date/index.js +3 -3
  788. package/dist/react/format-number/index.js +3 -3
  789. package/dist/react/icon/index.js +5 -5
  790. package/dist/react/icon-button/index.js +6 -6
  791. package/dist/react/image-comparer/index.js +6 -6
  792. package/dist/react/include/index.js +4 -4
  793. package/dist/react/index.d.ts +2 -0
  794. package/dist/react/index.js +164 -153
  795. package/dist/react/input/index.js +6 -6
  796. package/dist/react/menu/index.js +3 -3
  797. package/dist/react/menu-item/index.js +8 -8
  798. package/dist/react/menu-label/index.js +3 -3
  799. package/dist/react/mutation-observer/index.js +3 -3
  800. package/dist/react/option/index.js +6 -6
  801. package/dist/react/pagination/index.js +7 -7
  802. package/dist/react/popup/index.js +3 -3
  803. package/dist/react/progress-bar/index.js +3 -3
  804. package/dist/react/progress-ring/index.js +3 -3
  805. package/dist/react/qr-code/index.js +3 -3
  806. package/dist/react/radio/index.js +6 -6
  807. package/dist/react/radio-button/index.js +3 -3
  808. package/dist/react/radio-group/index.js +4 -4
  809. package/dist/react/range/index.js +3 -3
  810. package/dist/react/rating/index.js +6 -6
  811. package/dist/react/relative-time/index.js +3 -3
  812. package/dist/react/resize-observer/index.js +3 -3
  813. package/dist/react/select/index.js +9 -9
  814. package/dist/react/skeleton/index.js +3 -3
  815. package/dist/react/spinner/index.js +3 -3
  816. package/dist/react/split-panel/index.js +3 -3
  817. package/dist/react/switch/index.js +3 -3
  818. package/dist/react/tab/index.js +7 -7
  819. package/dist/react/tab-group/index.js +8 -8
  820. package/dist/react/tab-panel/index.js +3 -3
  821. package/dist/react/tag/index.js +7 -7
  822. package/dist/react/textarea/index.js +3 -3
  823. package/dist/react/time-picker/index.js +8 -8
  824. package/dist/react/tooltip/index.js +4 -4
  825. package/dist/react/tree/index.js +10 -10
  826. package/dist/react/tree-item/index.js +8 -8
  827. package/dist/react/visually-hidden/index.js +3 -3
  828. package/dist/types/vue/index.d.ts +109 -0
  829. package/dist/utilities/icon-library.js +2 -2
  830. package/dist/vscode.html-custom-data.json +117 -0
  831. package/dist/web-types.json +265 -1
  832. package/package.json +1 -1
  833. package/cdn/chunks/chunk.23IKE6YO.js +0 -21
  834. package/cdn/chunks/chunk.2CTDF4NK.js +0 -11
  835. package/cdn/chunks/chunk.2L5KBCGX.js +0 -186
  836. package/cdn/chunks/chunk.2VY75VNH.js +0 -11
  837. package/cdn/chunks/chunk.33FN7XWD.js +0 -73
  838. package/cdn/chunks/chunk.34POXSGZ.js +0 -63
  839. package/cdn/chunks/chunk.3HKCRDNX.js +0 -11
  840. package/cdn/chunks/chunk.3KTZ74CN.js +0 -28
  841. package/cdn/chunks/chunk.3TB5TXK7.js +0 -11
  842. package/cdn/chunks/chunk.42D3T3SS.js +0 -11
  843. package/cdn/chunks/chunk.47SSHVXJ.js +0 -11
  844. package/cdn/chunks/chunk.4BJ2KM2V.js +0 -28
  845. package/cdn/chunks/chunk.4IIRZ7DB.js +0 -11
  846. package/cdn/chunks/chunk.4OYNQVXX.js +0 -49
  847. package/cdn/chunks/chunk.52JOCC35.js +0 -27
  848. package/cdn/chunks/chunk.52RYYACT.js +0 -25
  849. package/cdn/chunks/chunk.52TZ7SD3.js +0 -11
  850. package/cdn/chunks/chunk.57MTTIUO.js +0 -33
  851. package/cdn/chunks/chunk.5AZZTEQZ.js +0 -29
  852. package/cdn/chunks/chunk.5FWFA44W.js +0 -11
  853. package/cdn/chunks/chunk.5HTHWCQI.js +0 -26
  854. package/cdn/chunks/chunk.5IXDYWVT.js +0 -11
  855. package/cdn/chunks/chunk.5RELHTM3.js +0 -11
  856. package/cdn/chunks/chunk.5TIXKQLO.js +0 -11
  857. package/cdn/chunks/chunk.6E7FBT3H.js +0 -158
  858. package/cdn/chunks/chunk.6GARTWKH.js +0 -11
  859. package/cdn/chunks/chunk.6HB224OJ.js +0 -969
  860. package/cdn/chunks/chunk.6KL6NDPQ.js +0 -36
  861. package/cdn/chunks/chunk.6WCED6XE.js +0 -24
  862. package/cdn/chunks/chunk.7GT3QBJ2.js +0 -11
  863. package/cdn/chunks/chunk.7HJI25QQ.js +0 -11
  864. package/cdn/chunks/chunk.7JYGJYND.js +0 -11
  865. package/cdn/chunks/chunk.7OZJUDLJ.js +0 -821
  866. package/cdn/chunks/chunk.7TW7BQOQ.js +0 -24
  867. package/cdn/chunks/chunk.AAN637KT.js +0 -391
  868. package/cdn/chunks/chunk.AMZZYCHK.js +0 -42
  869. package/cdn/chunks/chunk.AQA3LABJ.js +0 -24
  870. package/cdn/chunks/chunk.B53ENBXA.js +0 -11
  871. package/cdn/chunks/chunk.BGPLFBOD.js +0 -29
  872. package/cdn/chunks/chunk.BJBG5C7Y.js +0 -21
  873. package/cdn/chunks/chunk.BOINRXJ4.js +0 -95
  874. package/cdn/chunks/chunk.BZ57V4NN.js +0 -455
  875. package/cdn/chunks/chunk.C2IASG2C.js +0 -11
  876. package/cdn/chunks/chunk.CB3WIQ52.js +0 -11
  877. package/cdn/chunks/chunk.CDIE6HAD.js +0 -378
  878. package/cdn/chunks/chunk.CF4KF4XV.js +0 -11
  879. package/cdn/chunks/chunk.CIAUFHJF.js +0 -25
  880. package/cdn/chunks/chunk.CMJTKLG3.js +0 -135
  881. package/cdn/chunks/chunk.CMS3LNST.js +0 -21
  882. package/cdn/chunks/chunk.CQW3FM6X.js +0 -21
  883. package/cdn/chunks/chunk.D2J3JEM5.js +0 -297
  884. package/cdn/chunks/chunk.D77M23Z2.js +0 -21
  885. package/cdn/chunks/chunk.DGEBZZHK.js +0 -11
  886. package/cdn/chunks/chunk.DHG5ELBN.js +0 -118
  887. package/cdn/chunks/chunk.DMHCWDPJ.js +0 -24
  888. package/cdn/chunks/chunk.DNY3IQDR.js +0 -11
  889. package/cdn/chunks/chunk.DXAH73WR.js +0 -28
  890. package/cdn/chunks/chunk.E5QJKQYY.js +0 -233
  891. package/cdn/chunks/chunk.E6NDEZ32.js +0 -11
  892. package/cdn/chunks/chunk.EFUXOIZM.js +0 -120
  893. package/cdn/chunks/chunk.EMRJ7AQA.js +0 -499
  894. package/cdn/chunks/chunk.ENIBLWEO.js +0 -11
  895. package/cdn/chunks/chunk.ETGY6E2B.js +0 -25
  896. package/cdn/chunks/chunk.EXGM7HHY.js +0 -26
  897. package/cdn/chunks/chunk.F26PNUDI.js +0 -21
  898. package/cdn/chunks/chunk.FFC5T7JV.js +0 -279
  899. package/cdn/chunks/chunk.FFVLJBLV.js +0 -21
  900. package/cdn/chunks/chunk.FHNHA5DP.js +0 -291
  901. package/cdn/chunks/chunk.FIH6I4HM.js +0 -24
  902. package/cdn/chunks/chunk.FT46KSYK.js +0 -1990
  903. package/cdn/chunks/chunk.FY2O2IHP.js +0 -24
  904. package/cdn/chunks/chunk.G2CRB5N3.js +0 -21
  905. package/cdn/chunks/chunk.GX75U6AL.js +0 -33
  906. package/cdn/chunks/chunk.H52WEPT6.js +0 -299
  907. package/cdn/chunks/chunk.HBQFNDGP.js +0 -11
  908. package/cdn/chunks/chunk.HFVO4ZBD.js +0 -26
  909. package/cdn/chunks/chunk.HJDZ7LXM.js +0 -11
  910. package/cdn/chunks/chunk.HK2VXTMI.js +0 -11
  911. package/cdn/chunks/chunk.HV6CPFDQ.js +0 -21
  912. package/cdn/chunks/chunk.I2ROWPWZ.js +0 -21
  913. package/cdn/chunks/chunk.IAN6HYEI.js +0 -11
  914. package/cdn/chunks/chunk.IHBNA7OT.js +0 -24
  915. package/cdn/chunks/chunk.IKHJM7AW.js +0 -11
  916. package/cdn/chunks/chunk.IL7XDVSQ.js +0 -137
  917. package/cdn/chunks/chunk.IMWOHQTC.js +0 -11
  918. package/cdn/chunks/chunk.IP2AQB75.js +0 -346
  919. package/cdn/chunks/chunk.ITDSLZJA.js +0 -236
  920. package/cdn/chunks/chunk.ITEIMZNB.js +0 -24
  921. package/cdn/chunks/chunk.J2LGY6HE.js +0 -25
  922. package/cdn/chunks/chunk.J37FHHZL.js +0 -11
  923. package/cdn/chunks/chunk.JG33ENMK.js +0 -25
  924. package/cdn/chunks/chunk.JJVDS25F.js +0 -142
  925. package/cdn/chunks/chunk.JOMIXPIU.js +0 -24
  926. package/cdn/chunks/chunk.JQNVQYGD.js +0 -844
  927. package/cdn/chunks/chunk.JTQNUPZ7.js +0 -21
  928. package/cdn/chunks/chunk.K2T7ONDX.js +0 -25
  929. package/cdn/chunks/chunk.K4WMA2VO.js +0 -11
  930. package/cdn/chunks/chunk.K5HTH7PU.js +0 -11
  931. package/cdn/chunks/chunk.K7MM5CIL.js +0 -25
  932. package/cdn/chunks/chunk.KF7ZN5AN.js +0 -33
  933. package/cdn/chunks/chunk.KHPY3FCZ.js +0 -11
  934. package/cdn/chunks/chunk.KIH2HYQL.js +0 -11
  935. package/cdn/chunks/chunk.KLLNPSN6.js +0 -11
  936. package/cdn/chunks/chunk.KTQDGW27.js +0 -75
  937. package/cdn/chunks/chunk.L4A3XURZ.js +0 -11
  938. package/cdn/chunks/chunk.LASK4QDF.js +0 -79
  939. package/cdn/chunks/chunk.LDGNIYY6.js +0 -87
  940. package/cdn/chunks/chunk.LESPNBLD.js +0 -127
  941. package/cdn/chunks/chunk.LGNJOTK7.js +0 -97
  942. package/cdn/chunks/chunk.LMYERB4P.js +0 -28
  943. package/cdn/chunks/chunk.LRFZ5Q5N.js +0 -28
  944. package/cdn/chunks/chunk.M2GD4A7C.js +0 -21
  945. package/cdn/chunks/chunk.M66Y676H.js +0 -218
  946. package/cdn/chunks/chunk.MA5VCWDT.js +0 -904
  947. package/cdn/chunks/chunk.MJDO5P3Y.js +0 -336
  948. package/cdn/chunks/chunk.MKNVJQRV.js +0 -11
  949. package/cdn/chunks/chunk.MORLCPV2.js +0 -24
  950. package/cdn/chunks/chunk.MRH6QAK6.js +0 -11
  951. package/cdn/chunks/chunk.MY7Q4QYM.js +0 -292
  952. package/cdn/chunks/chunk.MZZL5P6U.js +0 -11
  953. package/cdn/chunks/chunk.N3IWUZ7D.js +0 -11
  954. package/cdn/chunks/chunk.N6INETFI.js +0 -11
  955. package/cdn/chunks/chunk.NR75GP5V.js +0 -580
  956. package/cdn/chunks/chunk.NTJPTSQ2.js +0 -21
  957. package/cdn/chunks/chunk.OGNO6RXU.js +0 -103
  958. package/cdn/chunks/chunk.OIPPZOUX.js +0 -1925
  959. package/cdn/chunks/chunk.OOAK7TAG.js +0 -44
  960. package/cdn/chunks/chunk.ORAFNXVQ.js +0 -11
  961. package/cdn/chunks/chunk.OUX3U55C.js +0 -27
  962. package/cdn/chunks/chunk.PCVZZ23O.js +0 -216
  963. package/cdn/chunks/chunk.PDAYPVGX.js +0 -255
  964. package/cdn/chunks/chunk.PIUQPXFB.js +0 -114
  965. package/cdn/chunks/chunk.PLDDJGJL.js +0 -21
  966. package/cdn/chunks/chunk.PMRCQP2K.js +0 -153
  967. package/cdn/chunks/chunk.PTDHF774.js +0 -11
  968. package/cdn/chunks/chunk.PWJTNRNN.js +0 -21
  969. package/cdn/chunks/chunk.QA2SG4GV.js +0 -21
  970. package/cdn/chunks/chunk.QH3RK2DO.js +0 -724
  971. package/cdn/chunks/chunk.QMOG3MUA.js +0 -33
  972. package/cdn/chunks/chunk.QNMJTGPA.js +0 -11
  973. package/cdn/chunks/chunk.QZNKNAYR.js +0 -174
  974. package/cdn/chunks/chunk.R4LTGIJN.js +0 -24
  975. package/cdn/chunks/chunk.R54Z66CA.js +0 -21
  976. package/cdn/chunks/chunk.REOYZ2NF.js +0 -11
  977. package/cdn/chunks/chunk.RGGYY53R.js +0 -21
  978. package/cdn/chunks/chunk.RI3KRELS.js +0 -50
  979. package/cdn/chunks/chunk.RQKR2RD4.js +0 -314
  980. package/cdn/chunks/chunk.RRCS6RXT.js +0 -24
  981. package/cdn/chunks/chunk.RTVJJZ6Y.js +0 -21
  982. package/cdn/chunks/chunk.S3K2QPUD.js +0 -82
  983. package/cdn/chunks/chunk.S3MTJ3JX.js +0 -267
  984. package/cdn/chunks/chunk.SNR73PJB.js +0 -11
  985. package/cdn/chunks/chunk.T25EJSRG.js +0 -25
  986. package/cdn/chunks/chunk.T2DEJZUQ.js +0 -367
  987. package/cdn/chunks/chunk.TJGNPTVC.js +0 -27
  988. package/cdn/chunks/chunk.TOXWMVSO.js +0 -11
  989. package/cdn/chunks/chunk.TTYENUXD.js +0 -302
  990. package/cdn/chunks/chunk.TX2D6ZA7.js +0 -113
  991. package/cdn/chunks/chunk.TYJ4GENP.js +0 -77
  992. package/cdn/chunks/chunk.U5DBEBHP.js +0 -24
  993. package/cdn/chunks/chunk.U6ZF2ZUQ.js +0 -21
  994. package/cdn/chunks/chunk.UER672CX.js +0 -197
  995. package/cdn/chunks/chunk.UL3S7JAK.js +0 -11
  996. package/cdn/chunks/chunk.V6KKQLCW.js +0 -402
  997. package/cdn/chunks/chunk.VAGKIF7T.js +0 -29
  998. package/cdn/chunks/chunk.VAOBMMTG.js +0 -27
  999. package/cdn/chunks/chunk.VDZNRVOZ.js +0 -11
  1000. package/cdn/chunks/chunk.VFEGQYAU.js +0 -11
  1001. package/cdn/chunks/chunk.VUMLXHGP.js +0 -24
  1002. package/cdn/chunks/chunk.W3NAWUUX.js +0 -21
  1003. package/cdn/chunks/chunk.W43ZPIGE.js +0 -49
  1004. package/cdn/chunks/chunk.WHGCIIVG.js +0 -11
  1005. package/cdn/chunks/chunk.WIQCKZN6.js +0 -11
  1006. package/cdn/chunks/chunk.WOPALS2B.js +0 -11
  1007. package/cdn/chunks/chunk.WPXYY4P2.js +0 -11
  1008. package/cdn/chunks/chunk.WULFSESL.js +0 -122
  1009. package/cdn/chunks/chunk.XBCB4RD7.js +0 -27
  1010. package/cdn/chunks/chunk.Y2FZNPGC.js +0 -11
  1011. package/cdn/chunks/chunk.Y355LHWB.js +0 -29
  1012. package/cdn/chunks/chunk.Y7YJM35A.js +0 -11
  1013. package/cdn/chunks/chunk.YBBTK6QI.js +0 -67
  1014. package/cdn/chunks/chunk.YLOFGQFP.js +0 -11
  1015. package/cdn/chunks/chunk.YWKZIDUU.js +0 -11
  1016. package/cdn/chunks/chunk.Z3XATDT3.js +0 -11
  1017. package/cdn/chunks/chunk.ZD56QHO4.js +0 -11
  1018. package/cdn/chunks/chunk.ZGWG5PAJ.js +0 -11
  1019. package/cdn/chunks/chunk.ZQKLA3LH.js +0 -93
  1020. package/cdn/chunks/chunk.ZR6B64D4.js +0 -25
  1021. package/dist/chunks/chunk.22OSKTOA.js +0 -11
  1022. package/dist/chunks/chunk.23FXE5ZY.js +0 -21
  1023. package/dist/chunks/chunk.2IFTPHVC.js +0 -73
  1024. package/dist/chunks/chunk.2IWUJRBL.js +0 -126
  1025. package/dist/chunks/chunk.2P6M6LDW.js +0 -100
  1026. package/dist/chunks/chunk.2RTNOC23.js +0 -11
  1027. package/dist/chunks/chunk.2V2FEWD3.js +0 -22
  1028. package/dist/chunks/chunk.2VYEL3CU.js +0 -11
  1029. package/dist/chunks/chunk.3EPAE4SO.js +0 -27
  1030. package/dist/chunks/chunk.3HMZLVIU.js +0 -11
  1031. package/dist/chunks/chunk.3QKGSZIF.js +0 -11
  1032. package/dist/chunks/chunk.3QOKTHE5.js +0 -813
  1033. package/dist/chunks/chunk.443BG3XY.js +0 -24
  1034. package/dist/chunks/chunk.47HCG3F7.js +0 -80
  1035. package/dist/chunks/chunk.4DYOIYIT.js +0 -11
  1036. package/dist/chunks/chunk.4L2GCJHN.js +0 -11
  1037. package/dist/chunks/chunk.4NXMSRVR.js +0 -11
  1038. package/dist/chunks/chunk.4PWXF3Q4.js +0 -11
  1039. package/dist/chunks/chunk.4VZQSV7Z.js +0 -11
  1040. package/dist/chunks/chunk.566HL6IU.js +0 -11
  1041. package/dist/chunks/chunk.5B3MJCVI.js +0 -29
  1042. package/dist/chunks/chunk.5LN62I4C.js +0 -25
  1043. package/dist/chunks/chunk.5U6DJVWT.js +0 -961
  1044. package/dist/chunks/chunk.66SMO5J5.js +0 -11
  1045. package/dist/chunks/chunk.6BTUETYY.js +0 -134
  1046. package/dist/chunks/chunk.6FVNNP6B.js +0 -11
  1047. package/dist/chunks/chunk.6GSY6T23.js +0 -11
  1048. package/dist/chunks/chunk.6LA53HES.js +0 -42
  1049. package/dist/chunks/chunk.6QHZINYJ.js +0 -11
  1050. package/dist/chunks/chunk.6RXRLW4R.js +0 -21
  1051. package/dist/chunks/chunk.6S6E7JPQ.js +0 -24
  1052. package/dist/chunks/chunk.6SSSWHH3.js +0 -11
  1053. package/dist/chunks/chunk.6TE75OXU.js +0 -63
  1054. package/dist/chunks/chunk.7T33LRVS.js +0 -21
  1055. package/dist/chunks/chunk.A4DDHYWV.js +0 -25
  1056. package/dist/chunks/chunk.APJOCMOJ.js +0 -135
  1057. package/dist/chunks/chunk.AQTBHKIX.js +0 -147
  1058. package/dist/chunks/chunk.AT2AQTHE.js +0 -21
  1059. package/dist/chunks/chunk.AUZW5ZT4.js +0 -11
  1060. package/dist/chunks/chunk.BLLV7ATN.js +0 -11
  1061. package/dist/chunks/chunk.BSJNZ44O.js +0 -27
  1062. package/dist/chunks/chunk.BSKADJF5.js +0 -25
  1063. package/dist/chunks/chunk.BWOTWKEQ.js +0 -11
  1064. package/dist/chunks/chunk.BXYIVQQS.js +0 -949
  1065. package/dist/chunks/chunk.C26EOGKW.js +0 -11
  1066. package/dist/chunks/chunk.C4XVJ4TL.js +0 -21
  1067. package/dist/chunks/chunk.C5UBYEW5.js +0 -11
  1068. package/dist/chunks/chunk.CJ5EQQ3H.js +0 -21
  1069. package/dist/chunks/chunk.CLLZHWNN.js +0 -27
  1070. package/dist/chunks/chunk.COAVB4QU.js +0 -11
  1071. package/dist/chunks/chunk.COYWWZ4F.js +0 -11
  1072. package/dist/chunks/chunk.CTHO7W6J.js +0 -119
  1073. package/dist/chunks/chunk.CVTWEYGT.js +0 -28
  1074. package/dist/chunks/chunk.CZ5JWPEK.js +0 -11
  1075. package/dist/chunks/chunk.CZUVK5UK.js +0 -370
  1076. package/dist/chunks/chunk.D2CG4YG6.js +0 -28
  1077. package/dist/chunks/chunk.D2ZFZLES.js +0 -11
  1078. package/dist/chunks/chunk.DCFMVWOP.js +0 -67
  1079. package/dist/chunks/chunk.DFF3CE3I.js +0 -11
  1080. package/dist/chunks/chunk.DFWW2K67.js +0 -294
  1081. package/dist/chunks/chunk.DFZIEDDL.js +0 -24
  1082. package/dist/chunks/chunk.DRPNKTYW.js +0 -11
  1083. package/dist/chunks/chunk.E24KVYP7.js +0 -11
  1084. package/dist/chunks/chunk.EHIMRLNZ.js +0 -11
  1085. package/dist/chunks/chunk.EIM6GVYY.js +0 -274
  1086. package/dist/chunks/chunk.EMHPXFXA.js +0 -11
  1087. package/dist/chunks/chunk.EMO3IDAD.js +0 -151
  1088. package/dist/chunks/chunk.ENWZHN5Y.js +0 -21
  1089. package/dist/chunks/chunk.EVGUHOZK.js +0 -21
  1090. package/dist/chunks/chunk.F3SDIC26.js +0 -21
  1091. package/dist/chunks/chunk.FAS6MMWZ.js +0 -448
  1092. package/dist/chunks/chunk.FG5UM3UF.js +0 -29
  1093. package/dist/chunks/chunk.FPRLED6Z.js +0 -25
  1094. package/dist/chunks/chunk.FQAIDFSL.js +0 -315
  1095. package/dist/chunks/chunk.GA2J6USG.js +0 -24
  1096. package/dist/chunks/chunk.GCX47HQS.js +0 -109
  1097. package/dist/chunks/chunk.GJE7V6XT.js +0 -24
  1098. package/dist/chunks/chunk.GSFUUXF5.js +0 -21
  1099. package/dist/chunks/chunk.GX6A6EEP.js +0 -11
  1100. package/dist/chunks/chunk.H25FDNTY.js +0 -11
  1101. package/dist/chunks/chunk.H3PZKEDZ.js +0 -45
  1102. package/dist/chunks/chunk.HGV3CK47.js +0 -117
  1103. package/dist/chunks/chunk.HH2YZ4Q7.js +0 -59
  1104. package/dist/chunks/chunk.HUECEAWX.js +0 -21
  1105. package/dist/chunks/chunk.HW5QBYEG.js +0 -22
  1106. package/dist/chunks/chunk.I6WTZ6I5.js +0 -361
  1107. package/dist/chunks/chunk.ID63465M.js +0 -29
  1108. package/dist/chunks/chunk.IEFLVIDJ.js +0 -11
  1109. package/dist/chunks/chunk.IRYCE4UP.js +0 -33
  1110. package/dist/chunks/chunk.J654WQKM.js +0 -837
  1111. package/dist/chunks/chunk.J6N4ZBNW.js +0 -21
  1112. package/dist/chunks/chunk.JAB6RREB.js +0 -11
  1113. package/dist/chunks/chunk.JBYMA3G4.js +0 -11
  1114. package/dist/chunks/chunk.JIPOXIFG.js +0 -24
  1115. package/dist/chunks/chunk.JOY5OQX3.js +0 -384
  1116. package/dist/chunks/chunk.JV55OYEI.js +0 -11
  1117. package/dist/chunks/chunk.K4MAKWA3.js +0 -181
  1118. package/dist/chunks/chunk.KC7WW3LQ.js +0 -94
  1119. package/dist/chunks/chunk.KI6QCUE5.js +0 -231
  1120. package/dist/chunks/chunk.KJDBGQWI.js +0 -21
  1121. package/dist/chunks/chunk.KJIVMQZ6.js +0 -11
  1122. package/dist/chunks/chunk.KJV5M5QV.js +0 -25
  1123. package/dist/chunks/chunk.KSNHKHZA.js +0 -11
  1124. package/dist/chunks/chunk.L6GK7VDR.js +0 -11
  1125. package/dist/chunks/chunk.LL37UIJJ.js +0 -293
  1126. package/dist/chunks/chunk.LQIY4EVT.js +0 -34
  1127. package/dist/chunks/chunk.LSWIAENP.js +0 -85
  1128. package/dist/chunks/chunk.LWVPDJEX.js +0 -28
  1129. package/dist/chunks/chunk.LYC3Q22B.js +0 -21
  1130. package/dist/chunks/chunk.M7IFJS5L.js +0 -75
  1131. package/dist/chunks/chunk.N6T2WV45.js +0 -11
  1132. package/dist/chunks/chunk.N73H6TX3.js +0 -11
  1133. package/dist/chunks/chunk.NAIWAF4P.js +0 -11
  1134. package/dist/chunks/chunk.NEDL75G6.js +0 -45
  1135. package/dist/chunks/chunk.NEEV3UDW.js +0 -24
  1136. package/dist/chunks/chunk.NFRXMSGG.js +0 -11
  1137. package/dist/chunks/chunk.NTFCDGAW.js +0 -280
  1138. package/dist/chunks/chunk.NZIJUWZA.js +0 -91
  1139. package/dist/chunks/chunk.O2KQNBSA.js +0 -290
  1140. package/dist/chunks/chunk.OOAK7TAG.js +0 -44
  1141. package/dist/chunks/chunk.OTHXEKSZ.js +0 -29
  1142. package/dist/chunks/chunk.OU7LGGNI.js +0 -27
  1143. package/dist/chunks/chunk.P2H5EV2D.js +0 -33
  1144. package/dist/chunks/chunk.P7I3HUXA.js +0 -11
  1145. package/dist/chunks/chunk.P7X3TA7E.js +0 -11
  1146. package/dist/chunks/chunk.PNJE4ELK.js +0 -259
  1147. package/dist/chunks/chunk.PVHGZ5JS.js +0 -28
  1148. package/dist/chunks/chunk.PXTMBJHG.js +0 -896
  1149. package/dist/chunks/chunk.Q47RFVA3.js +0 -24
  1150. package/dist/chunks/chunk.Q4DVCCSB.js +0 -93
  1151. package/dist/chunks/chunk.QBVAJIAL.js +0 -24
  1152. package/dist/chunks/chunk.QE475GMD.js +0 -11
  1153. package/dist/chunks/chunk.QGOW324Q.js +0 -21
  1154. package/dist/chunks/chunk.QHLFYGFT.js +0 -11
  1155. package/dist/chunks/chunk.QHV4BYOJ.js +0 -24
  1156. package/dist/chunks/chunk.QKWQ7IL6.js +0 -11
  1157. package/dist/chunks/chunk.QUSCPGOY.js +0 -116
  1158. package/dist/chunks/chunk.QWG4ZSXL.js +0 -25
  1159. package/dist/chunks/chunk.R7GLGFX3.js +0 -26
  1160. package/dist/chunks/chunk.RAC55DPO.js +0 -11
  1161. package/dist/chunks/chunk.RKRSHSG7.js +0 -21
  1162. package/dist/chunks/chunk.RRQFCXQW.js +0 -491
  1163. package/dist/chunks/chunk.RS65JZNN.js +0 -170
  1164. package/dist/chunks/chunk.RSPX3F4H.js +0 -11
  1165. package/dist/chunks/chunk.RVDEYRE5.js +0 -90
  1166. package/dist/chunks/chunk.S435UEET.js +0 -11
  1167. package/dist/chunks/chunk.SQFU4YFR.js +0 -11
  1168. package/dist/chunks/chunk.STTJ3WBR.js +0 -26
  1169. package/dist/chunks/chunk.T63PGZTU.js +0 -286
  1170. package/dist/chunks/chunk.T6IKGEMM.js +0 -24
  1171. package/dist/chunks/chunk.TEJJRYLB.js +0 -213
  1172. package/dist/chunks/chunk.TGQJNS7C.js +0 -25
  1173. package/dist/chunks/chunk.TOXMX3GX.js +0 -11
  1174. package/dist/chunks/chunk.TWLQ3S2Z.js +0 -28
  1175. package/dist/chunks/chunk.U5UTW3AG.js +0 -26
  1176. package/dist/chunks/chunk.UCUKTEAO.js +0 -33
  1177. package/dist/chunks/chunk.UDB7PJ4Y.js +0 -24
  1178. package/dist/chunks/chunk.UELWP6XU.js +0 -550
  1179. package/dist/chunks/chunk.UL54CAPL.js +0 -397
  1180. package/dist/chunks/chunk.UPW7CV52.js +0 -25
  1181. package/dist/chunks/chunk.UWMB6XH2.js +0 -25
  1182. package/dist/chunks/chunk.V3GDZOUY.js +0 -11
  1183. package/dist/chunks/chunk.V3K7D3JI.js +0 -192
  1184. package/dist/chunks/chunk.V63QPPFX.js +0 -100
  1185. package/dist/chunks/chunk.VDKDOHHX.js +0 -21
  1186. package/dist/chunks/chunk.VYSA5BID.js +0 -111
  1187. package/dist/chunks/chunk.W4L3RVJ4.js +0 -11
  1188. package/dist/chunks/chunk.WFTXTQWN.js +0 -21
  1189. package/dist/chunks/chunk.WOO3PCXE.js +0 -11
  1190. package/dist/chunks/chunk.WQJB3ZZ3.js +0 -25
  1191. package/dist/chunks/chunk.WUJVDUTE.js +0 -11
  1192. package/dist/chunks/chunk.X446PNAO.js +0 -21
  1193. package/dist/chunks/chunk.X6RAZK5J.js +0 -11
  1194. package/dist/chunks/chunk.XDXCP72H.js +0 -337
  1195. package/dist/chunks/chunk.XEC75FAV.js +0 -247
  1196. package/dist/chunks/chunk.XKJTPILX.js +0 -75
  1197. package/dist/chunks/chunk.XWGCMJ6N.js +0 -11
  1198. package/dist/chunks/chunk.YBPHES54.js +0 -11
  1199. package/dist/chunks/chunk.YDJD3PTT.js +0 -21
  1200. package/dist/chunks/chunk.YL24HYI6.js +0 -113
  1201. package/dist/chunks/chunk.Z6NB2VZ7.js +0 -33
  1202. package/dist/chunks/chunk.ZEBHW4LW.js +0 -417
  1203. package/dist/chunks/chunk.ZIR4PZBK.js +0 -311
  1204. package/dist/chunks/chunk.ZPXHU6QB.js +0 -11
  1205. package/dist/chunks/chunk.ZRRTANJR.js +0 -11
  1206. package/dist/chunks/chunk.ZT3WFCUF.js +0 -21
  1207. package/dist/chunks/chunk.ZULEDGVO.js +0 -227
  1208. package/dist/chunks/chunk.ZY7XBI2P.js +0 -50
@@ -1,1925 +0,0 @@
1
- import {
2
- popup_styles_default
3
- } from "./chunk.IRIJFBBV.js";
4
- import {
5
- LocalizeController
6
- } from "./chunk.3ITR3YMH.js";
7
- import {
8
- e
9
- } from "./chunk.VBR4VS53.js";
10
- import {
11
- component_styles_default
12
- } from "./chunk.NJIHXHXI.js";
13
- import {
14
- CwElement,
15
- e as e2,
16
- n
17
- } from "./chunk.M66Y676H.js";
18
- import {
19
- b
20
- } from "./chunk.6A2LG33L.js";
21
- import {
22
- __decorateClass,
23
- __objRest,
24
- __spreadProps,
25
- __spreadValues
26
- } from "./chunk.QIOX6AG5.js";
27
-
28
- // node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
29
- var min = Math.min;
30
- var max = Math.max;
31
- var round = Math.round;
32
- var floor = Math.floor;
33
- var createCoords = (v) => ({
34
- x: v,
35
- y: v
36
- });
37
- var oppositeSideMap = {
38
- left: "right",
39
- right: "left",
40
- bottom: "top",
41
- top: "bottom"
42
- };
43
- function clamp(start, value, end) {
44
- return max(start, min(value, end));
45
- }
46
- function evaluate(value, param) {
47
- return typeof value === "function" ? value(param) : value;
48
- }
49
- function getSide(placement) {
50
- return placement.split("-")[0];
51
- }
52
- function getAlignment(placement) {
53
- return placement.split("-")[1];
54
- }
55
- function getOppositeAxis(axis) {
56
- return axis === "x" ? "y" : "x";
57
- }
58
- function getAxisLength(axis) {
59
- return axis === "y" ? "height" : "width";
60
- }
61
- function getSideAxis(placement) {
62
- const firstChar = placement[0];
63
- return firstChar === "t" || firstChar === "b" ? "y" : "x";
64
- }
65
- function getAlignmentAxis(placement) {
66
- return getOppositeAxis(getSideAxis(placement));
67
- }
68
- function getAlignmentSides(placement, rects, rtl) {
69
- if (rtl === void 0) {
70
- rtl = false;
71
- }
72
- const alignment = getAlignment(placement);
73
- const alignmentAxis = getAlignmentAxis(placement);
74
- const length = getAxisLength(alignmentAxis);
75
- let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
76
- if (rects.reference[length] > rects.floating[length]) {
77
- mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
78
- }
79
- return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
80
- }
81
- function getExpandedPlacements(placement) {
82
- const oppositePlacement = getOppositePlacement(placement);
83
- return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
84
- }
85
- function getOppositeAlignmentPlacement(placement) {
86
- return placement.includes("start") ? placement.replace("start", "end") : placement.replace("end", "start");
87
- }
88
- var lrPlacement = ["left", "right"];
89
- var rlPlacement = ["right", "left"];
90
- var tbPlacement = ["top", "bottom"];
91
- var btPlacement = ["bottom", "top"];
92
- function getSideList(side, isStart, rtl) {
93
- switch (side) {
94
- case "top":
95
- case "bottom":
96
- if (rtl) return isStart ? rlPlacement : lrPlacement;
97
- return isStart ? lrPlacement : rlPlacement;
98
- case "left":
99
- case "right":
100
- return isStart ? tbPlacement : btPlacement;
101
- default:
102
- return [];
103
- }
104
- }
105
- function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
106
- const alignment = getAlignment(placement);
107
- let list = getSideList(getSide(placement), direction === "start", rtl);
108
- if (alignment) {
109
- list = list.map((side) => side + "-" + alignment);
110
- if (flipAlignment) {
111
- list = list.concat(list.map(getOppositeAlignmentPlacement));
112
- }
113
- }
114
- return list;
115
- }
116
- function getOppositePlacement(placement) {
117
- const side = getSide(placement);
118
- return oppositeSideMap[side] + placement.slice(side.length);
119
- }
120
- function expandPaddingObject(padding) {
121
- return __spreadValues({
122
- top: 0,
123
- right: 0,
124
- bottom: 0,
125
- left: 0
126
- }, padding);
127
- }
128
- function getPaddingObject(padding) {
129
- return typeof padding !== "number" ? expandPaddingObject(padding) : {
130
- top: padding,
131
- right: padding,
132
- bottom: padding,
133
- left: padding
134
- };
135
- }
136
- function rectToClientRect(rect) {
137
- const {
138
- x,
139
- y,
140
- width,
141
- height
142
- } = rect;
143
- return {
144
- width,
145
- height,
146
- top: y,
147
- left: x,
148
- right: x + width,
149
- bottom: y + height,
150
- x,
151
- y
152
- };
153
- }
154
-
155
- // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
156
- function computeCoordsFromPlacement(_ref, placement, rtl) {
157
- let {
158
- reference,
159
- floating
160
- } = _ref;
161
- const sideAxis = getSideAxis(placement);
162
- const alignmentAxis = getAlignmentAxis(placement);
163
- const alignLength = getAxisLength(alignmentAxis);
164
- const side = getSide(placement);
165
- const isVertical = sideAxis === "y";
166
- const commonX = reference.x + reference.width / 2 - floating.width / 2;
167
- const commonY = reference.y + reference.height / 2 - floating.height / 2;
168
- const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
169
- let coords;
170
- switch (side) {
171
- case "top":
172
- coords = {
173
- x: commonX,
174
- y: reference.y - floating.height
175
- };
176
- break;
177
- case "bottom":
178
- coords = {
179
- x: commonX,
180
- y: reference.y + reference.height
181
- };
182
- break;
183
- case "right":
184
- coords = {
185
- x: reference.x + reference.width,
186
- y: commonY
187
- };
188
- break;
189
- case "left":
190
- coords = {
191
- x: reference.x - floating.width,
192
- y: commonY
193
- };
194
- break;
195
- default:
196
- coords = {
197
- x: reference.x,
198
- y: reference.y
199
- };
200
- }
201
- switch (getAlignment(placement)) {
202
- case "start":
203
- coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
204
- break;
205
- case "end":
206
- coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
207
- break;
208
- }
209
- return coords;
210
- }
211
- async function detectOverflow(state, options) {
212
- var _await$platform$isEle;
213
- if (options === void 0) {
214
- options = {};
215
- }
216
- const {
217
- x,
218
- y,
219
- platform: platform2,
220
- rects,
221
- elements,
222
- strategy
223
- } = state;
224
- const {
225
- boundary = "clippingAncestors",
226
- rootBoundary = "viewport",
227
- elementContext = "floating",
228
- altBoundary = false,
229
- padding = 0
230
- } = evaluate(options, state);
231
- const paddingObject = getPaddingObject(padding);
232
- const altContext = elementContext === "floating" ? "reference" : "floating";
233
- const element = elements[altBoundary ? altContext : elementContext];
234
- const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
235
- element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
236
- boundary,
237
- rootBoundary,
238
- strategy
239
- }));
240
- const rect = elementContext === "floating" ? {
241
- x,
242
- y,
243
- width: rects.floating.width,
244
- height: rects.floating.height
245
- } : rects.reference;
246
- const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
247
- const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
248
- x: 1,
249
- y: 1
250
- } : {
251
- x: 1,
252
- y: 1
253
- };
254
- const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
255
- elements,
256
- rect,
257
- offsetParent,
258
- strategy
259
- }) : rect);
260
- return {
261
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
262
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
263
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
264
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
265
- };
266
- }
267
- var MAX_RESET_COUNT = 50;
268
- var computePosition = async (reference, floating, config) => {
269
- const {
270
- placement = "bottom",
271
- strategy = "absolute",
272
- middleware = [],
273
- platform: platform2
274
- } = config;
275
- const platformWithDetectOverflow = platform2.detectOverflow ? platform2 : __spreadProps(__spreadValues({}, platform2), {
276
- detectOverflow
277
- });
278
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
279
- let rects = await platform2.getElementRects({
280
- reference,
281
- floating,
282
- strategy
283
- });
284
- let {
285
- x,
286
- y
287
- } = computeCoordsFromPlacement(rects, placement, rtl);
288
- let statefulPlacement = placement;
289
- let resetCount = 0;
290
- const middlewareData = {};
291
- for (let i2 = 0; i2 < middleware.length; i2++) {
292
- const currentMiddleware = middleware[i2];
293
- if (!currentMiddleware) {
294
- continue;
295
- }
296
- const {
297
- name,
298
- fn
299
- } = currentMiddleware;
300
- const {
301
- x: nextX,
302
- y: nextY,
303
- data,
304
- reset
305
- } = await fn({
306
- x,
307
- y,
308
- initialPlacement: placement,
309
- placement: statefulPlacement,
310
- strategy,
311
- middlewareData,
312
- rects,
313
- platform: platformWithDetectOverflow,
314
- elements: {
315
- reference,
316
- floating
317
- }
318
- });
319
- x = nextX != null ? nextX : x;
320
- y = nextY != null ? nextY : y;
321
- middlewareData[name] = __spreadValues(__spreadValues({}, middlewareData[name]), data);
322
- if (reset && resetCount < MAX_RESET_COUNT) {
323
- resetCount++;
324
- if (typeof reset === "object") {
325
- if (reset.placement) {
326
- statefulPlacement = reset.placement;
327
- }
328
- if (reset.rects) {
329
- rects = reset.rects === true ? await platform2.getElementRects({
330
- reference,
331
- floating,
332
- strategy
333
- }) : reset.rects;
334
- }
335
- ({
336
- x,
337
- y
338
- } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
339
- }
340
- i2 = -1;
341
- }
342
- }
343
- return {
344
- x,
345
- y,
346
- placement: statefulPlacement,
347
- strategy,
348
- middlewareData
349
- };
350
- };
351
- var arrow = (options) => ({
352
- name: "arrow",
353
- options,
354
- async fn(state) {
355
- const {
356
- x,
357
- y,
358
- placement,
359
- rects,
360
- platform: platform2,
361
- elements,
362
- middlewareData
363
- } = state;
364
- const {
365
- element,
366
- padding = 0
367
- } = evaluate(options, state) || {};
368
- if (element == null) {
369
- return {};
370
- }
371
- const paddingObject = getPaddingObject(padding);
372
- const coords = {
373
- x,
374
- y
375
- };
376
- const axis = getAlignmentAxis(placement);
377
- const length = getAxisLength(axis);
378
- const arrowDimensions = await platform2.getDimensions(element);
379
- const isYAxis = axis === "y";
380
- const minProp = isYAxis ? "top" : "left";
381
- const maxProp = isYAxis ? "bottom" : "right";
382
- const clientProp = isYAxis ? "clientHeight" : "clientWidth";
383
- const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
384
- const startDiff = coords[axis] - rects.reference[axis];
385
- const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
386
- let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
387
- if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
388
- clientSize = elements.floating[clientProp] || rects.floating[length];
389
- }
390
- const centerToReference = endDiff / 2 - startDiff / 2;
391
- const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
392
- const minPadding = min(paddingObject[minProp], largestPossiblePadding);
393
- const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
394
- const min$1 = minPadding;
395
- const max2 = clientSize - arrowDimensions[length] - maxPadding;
396
- const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
397
- const offset3 = clamp(min$1, center, max2);
398
- const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
399
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
400
- return {
401
- [axis]: coords[axis] + alignmentOffset,
402
- data: __spreadValues({
403
- [axis]: offset3,
404
- centerOffset: center - offset3 - alignmentOffset
405
- }, shouldAddOffset && {
406
- alignmentOffset
407
- }),
408
- reset: shouldAddOffset
409
- };
410
- }
411
- });
412
- var flip = function(options) {
413
- if (options === void 0) {
414
- options = {};
415
- }
416
- return {
417
- name: "flip",
418
- options,
419
- async fn(state) {
420
- var _middlewareData$arrow, _middlewareData$flip;
421
- const {
422
- placement,
423
- middlewareData,
424
- rects,
425
- initialPlacement,
426
- platform: platform2,
427
- elements
428
- } = state;
429
- const _a = evaluate(options, state), {
430
- mainAxis: checkMainAxis = true,
431
- crossAxis: checkCrossAxis = true,
432
- fallbackPlacements: specifiedFallbackPlacements,
433
- fallbackStrategy = "bestFit",
434
- fallbackAxisSideDirection = "none",
435
- flipAlignment = true
436
- } = _a, detectOverflowOptions = __objRest(_a, [
437
- "mainAxis",
438
- "crossAxis",
439
- "fallbackPlacements",
440
- "fallbackStrategy",
441
- "fallbackAxisSideDirection",
442
- "flipAlignment"
443
- ]);
444
- if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
445
- return {};
446
- }
447
- const side = getSide(placement);
448
- const initialSideAxis = getSideAxis(initialPlacement);
449
- const isBasePlacement = getSide(initialPlacement) === initialPlacement;
450
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
451
- const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
452
- const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
453
- if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
454
- fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
455
- }
456
- const placements2 = [initialPlacement, ...fallbackPlacements];
457
- const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
458
- const overflows = [];
459
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
460
- if (checkMainAxis) {
461
- overflows.push(overflow[side]);
462
- }
463
- if (checkCrossAxis) {
464
- const sides2 = getAlignmentSides(placement, rects, rtl);
465
- overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
466
- }
467
- overflowsData = [...overflowsData, {
468
- placement,
469
- overflows
470
- }];
471
- if (!overflows.every((side2) => side2 <= 0)) {
472
- var _middlewareData$flip2, _overflowsData$filter;
473
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
474
- const nextPlacement = placements2[nextIndex];
475
- if (nextPlacement) {
476
- const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
477
- if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
478
- // overflows the main axis.
479
- overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
480
- return {
481
- data: {
482
- index: nextIndex,
483
- overflows: overflowsData
484
- },
485
- reset: {
486
- placement: nextPlacement
487
- }
488
- };
489
- }
490
- }
491
- let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b2) => a.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
492
- if (!resetPlacement) {
493
- switch (fallbackStrategy) {
494
- case "bestFit": {
495
- var _overflowsData$filter2;
496
- const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
497
- if (hasFallbackAxisSideDirection) {
498
- const currentSideAxis = getSideAxis(d.placement);
499
- return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
500
- // reading directions favoring greater width.
501
- currentSideAxis === "y";
502
- }
503
- return true;
504
- }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b2) => a[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
505
- if (placement2) {
506
- resetPlacement = placement2;
507
- }
508
- break;
509
- }
510
- case "initialPlacement":
511
- resetPlacement = initialPlacement;
512
- break;
513
- }
514
- }
515
- if (placement !== resetPlacement) {
516
- return {
517
- reset: {
518
- placement: resetPlacement
519
- }
520
- };
521
- }
522
- }
523
- return {};
524
- }
525
- };
526
- };
527
- var originSides = /* @__PURE__ */ new Set(["left", "top"]);
528
- async function convertValueToCoords(state, options) {
529
- const {
530
- placement,
531
- platform: platform2,
532
- elements
533
- } = state;
534
- const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
535
- const side = getSide(placement);
536
- const alignment = getAlignment(placement);
537
- const isVertical = getSideAxis(placement) === "y";
538
- const mainAxisMulti = originSides.has(side) ? -1 : 1;
539
- const crossAxisMulti = rtl && isVertical ? -1 : 1;
540
- const rawValue = evaluate(options, state);
541
- let {
542
- mainAxis,
543
- crossAxis,
544
- alignmentAxis
545
- } = typeof rawValue === "number" ? {
546
- mainAxis: rawValue,
547
- crossAxis: 0,
548
- alignmentAxis: null
549
- } : {
550
- mainAxis: rawValue.mainAxis || 0,
551
- crossAxis: rawValue.crossAxis || 0,
552
- alignmentAxis: rawValue.alignmentAxis
553
- };
554
- if (alignment && typeof alignmentAxis === "number") {
555
- crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
556
- }
557
- return isVertical ? {
558
- x: crossAxis * crossAxisMulti,
559
- y: mainAxis * mainAxisMulti
560
- } : {
561
- x: mainAxis * mainAxisMulti,
562
- y: crossAxis * crossAxisMulti
563
- };
564
- }
565
- var offset = function(options) {
566
- if (options === void 0) {
567
- options = 0;
568
- }
569
- return {
570
- name: "offset",
571
- options,
572
- async fn(state) {
573
- var _middlewareData$offse, _middlewareData$arrow;
574
- const {
575
- x,
576
- y,
577
- placement,
578
- middlewareData
579
- } = state;
580
- const diffCoords = await convertValueToCoords(state, options);
581
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
582
- return {};
583
- }
584
- return {
585
- x: x + diffCoords.x,
586
- y: y + diffCoords.y,
587
- data: __spreadProps(__spreadValues({}, diffCoords), {
588
- placement
589
- })
590
- };
591
- }
592
- };
593
- };
594
- var shift = function(options) {
595
- if (options === void 0) {
596
- options = {};
597
- }
598
- return {
599
- name: "shift",
600
- options,
601
- async fn(state) {
602
- const {
603
- x,
604
- y,
605
- placement,
606
- platform: platform2
607
- } = state;
608
- const _a = evaluate(options, state), {
609
- mainAxis: checkMainAxis = true,
610
- crossAxis: checkCrossAxis = false,
611
- limiter = {
612
- fn: (_ref) => {
613
- let {
614
- x: x2,
615
- y: y2
616
- } = _ref;
617
- return {
618
- x: x2,
619
- y: y2
620
- };
621
- }
622
- }
623
- } = _a, detectOverflowOptions = __objRest(_a, [
624
- "mainAxis",
625
- "crossAxis",
626
- "limiter"
627
- ]);
628
- const coords = {
629
- x,
630
- y
631
- };
632
- const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
633
- const crossAxis = getSideAxis(getSide(placement));
634
- const mainAxis = getOppositeAxis(crossAxis);
635
- let mainAxisCoord = coords[mainAxis];
636
- let crossAxisCoord = coords[crossAxis];
637
- if (checkMainAxis) {
638
- const minSide = mainAxis === "y" ? "top" : "left";
639
- const maxSide = mainAxis === "y" ? "bottom" : "right";
640
- const min2 = mainAxisCoord + overflow[minSide];
641
- const max2 = mainAxisCoord - overflow[maxSide];
642
- mainAxisCoord = clamp(min2, mainAxisCoord, max2);
643
- }
644
- if (checkCrossAxis) {
645
- const minSide = crossAxis === "y" ? "top" : "left";
646
- const maxSide = crossAxis === "y" ? "bottom" : "right";
647
- const min2 = crossAxisCoord + overflow[minSide];
648
- const max2 = crossAxisCoord - overflow[maxSide];
649
- crossAxisCoord = clamp(min2, crossAxisCoord, max2);
650
- }
651
- const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
652
- [mainAxis]: mainAxisCoord,
653
- [crossAxis]: crossAxisCoord
654
- }));
655
- return __spreadProps(__spreadValues({}, limitedCoords), {
656
- data: {
657
- x: limitedCoords.x - x,
658
- y: limitedCoords.y - y,
659
- enabled: {
660
- [mainAxis]: checkMainAxis,
661
- [crossAxis]: checkCrossAxis
662
- }
663
- }
664
- });
665
- }
666
- };
667
- };
668
- var size = function(options) {
669
- if (options === void 0) {
670
- options = {};
671
- }
672
- return {
673
- name: "size",
674
- options,
675
- async fn(state) {
676
- var _state$middlewareData, _state$middlewareData2;
677
- const {
678
- placement,
679
- rects,
680
- platform: platform2,
681
- elements
682
- } = state;
683
- const _a = evaluate(options, state), {
684
- apply = () => {
685
- }
686
- } = _a, detectOverflowOptions = __objRest(_a, [
687
- "apply"
688
- ]);
689
- const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
690
- const side = getSide(placement);
691
- const alignment = getAlignment(placement);
692
- const isYAxis = getSideAxis(placement) === "y";
693
- const {
694
- width,
695
- height
696
- } = rects.floating;
697
- let heightSide;
698
- let widthSide;
699
- if (side === "top" || side === "bottom") {
700
- heightSide = side;
701
- widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
702
- } else {
703
- widthSide = side;
704
- heightSide = alignment === "end" ? "top" : "bottom";
705
- }
706
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
707
- const maximumClippingWidth = width - overflow.left - overflow.right;
708
- const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
709
- const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
710
- const noShift = !state.middlewareData.shift;
711
- let availableHeight = overflowAvailableHeight;
712
- let availableWidth = overflowAvailableWidth;
713
- if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
714
- availableWidth = maximumClippingWidth;
715
- }
716
- if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
717
- availableHeight = maximumClippingHeight;
718
- }
719
- if (noShift && !alignment) {
720
- const xMin = max(overflow.left, 0);
721
- const xMax = max(overflow.right, 0);
722
- const yMin = max(overflow.top, 0);
723
- const yMax = max(overflow.bottom, 0);
724
- if (isYAxis) {
725
- availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
726
- } else {
727
- availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
728
- }
729
- }
730
- await apply(__spreadProps(__spreadValues({}, state), {
731
- availableWidth,
732
- availableHeight
733
- }));
734
- const nextDimensions = await platform2.getDimensions(elements.floating);
735
- if (width !== nextDimensions.width || height !== nextDimensions.height) {
736
- return {
737
- reset: {
738
- rects: true
739
- }
740
- };
741
- }
742
- return {};
743
- }
744
- };
745
- };
746
-
747
- // node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
748
- function hasWindow() {
749
- return typeof window !== "undefined";
750
- }
751
- function getNodeName(node) {
752
- if (isNode(node)) {
753
- return (node.nodeName || "").toLowerCase();
754
- }
755
- return "#document";
756
- }
757
- function getWindow(node) {
758
- var _node$ownerDocument;
759
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
760
- }
761
- function getDocumentElement(node) {
762
- var _ref;
763
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
764
- }
765
- function isNode(value) {
766
- if (!hasWindow()) {
767
- return false;
768
- }
769
- return value instanceof Node || value instanceof getWindow(value).Node;
770
- }
771
- function isElement(value) {
772
- if (!hasWindow()) {
773
- return false;
774
- }
775
- return value instanceof Element || value instanceof getWindow(value).Element;
776
- }
777
- function isHTMLElement(value) {
778
- if (!hasWindow()) {
779
- return false;
780
- }
781
- return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
782
- }
783
- function isShadowRoot(value) {
784
- if (!hasWindow() || typeof ShadowRoot === "undefined") {
785
- return false;
786
- }
787
- return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
788
- }
789
- function isOverflowElement(element) {
790
- const {
791
- overflow,
792
- overflowX,
793
- overflowY,
794
- display
795
- } = getComputedStyle2(element);
796
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
797
- }
798
- function isTableElement(element) {
799
- return /^(table|td|th)$/.test(getNodeName(element));
800
- }
801
- function isTopLayer(element) {
802
- try {
803
- if (element.matches(":popover-open")) {
804
- return true;
805
- }
806
- } catch (_e) {
807
- }
808
- try {
809
- return element.matches(":modal");
810
- } catch (_e) {
811
- return false;
812
- }
813
- }
814
- var willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
815
- var containRe = /paint|layout|strict|content/;
816
- var isNotNone = (value) => !!value && value !== "none";
817
- var isWebKitValue;
818
- function isContainingBlock(elementOrCss) {
819
- const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
820
- return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || "") || containRe.test(css.contain || "");
821
- }
822
- function getContainingBlock(element) {
823
- let currentNode = getParentNode(element);
824
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
825
- if (isContainingBlock(currentNode)) {
826
- return currentNode;
827
- } else if (isTopLayer(currentNode)) {
828
- return null;
829
- }
830
- currentNode = getParentNode(currentNode);
831
- }
832
- return null;
833
- }
834
- function isWebKit() {
835
- if (isWebKitValue == null) {
836
- isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
837
- }
838
- return isWebKitValue;
839
- }
840
- function isLastTraversableNode(node) {
841
- return /^(html|body|#document)$/.test(getNodeName(node));
842
- }
843
- function getComputedStyle2(element) {
844
- return getWindow(element).getComputedStyle(element);
845
- }
846
- function getNodeScroll(element) {
847
- if (isElement(element)) {
848
- return {
849
- scrollLeft: element.scrollLeft,
850
- scrollTop: element.scrollTop
851
- };
852
- }
853
- return {
854
- scrollLeft: element.scrollX,
855
- scrollTop: element.scrollY
856
- };
857
- }
858
- function getParentNode(node) {
859
- if (getNodeName(node) === "html") {
860
- return node;
861
- }
862
- const result = (
863
- // Step into the shadow DOM of the parent of a slotted node.
864
- node.assignedSlot || // DOM Element detected.
865
- node.parentNode || // ShadowRoot detected.
866
- isShadowRoot(node) && node.host || // Fallback.
867
- getDocumentElement(node)
868
- );
869
- return isShadowRoot(result) ? result.host : result;
870
- }
871
- function getNearestOverflowAncestor(node) {
872
- const parentNode = getParentNode(node);
873
- if (isLastTraversableNode(parentNode)) {
874
- return node.ownerDocument ? node.ownerDocument.body : node.body;
875
- }
876
- if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
877
- return parentNode;
878
- }
879
- return getNearestOverflowAncestor(parentNode);
880
- }
881
- function getOverflowAncestors(node, list, traverseIframes) {
882
- var _node$ownerDocument2;
883
- if (list === void 0) {
884
- list = [];
885
- }
886
- if (traverseIframes === void 0) {
887
- traverseIframes = true;
888
- }
889
- const scrollableAncestor = getNearestOverflowAncestor(node);
890
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
891
- const win = getWindow(scrollableAncestor);
892
- if (isBody) {
893
- const frameElement = getFrameElement(win);
894
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
895
- } else {
896
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
897
- }
898
- }
899
- function getFrameElement(win) {
900
- return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
901
- }
902
-
903
- // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
904
- function getCssDimensions(element) {
905
- const css = getComputedStyle2(element);
906
- let width = parseFloat(css.width) || 0;
907
- let height = parseFloat(css.height) || 0;
908
- const hasOffset = isHTMLElement(element);
909
- const offsetWidth = hasOffset ? element.offsetWidth : width;
910
- const offsetHeight = hasOffset ? element.offsetHeight : height;
911
- const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
912
- if (shouldFallback) {
913
- width = offsetWidth;
914
- height = offsetHeight;
915
- }
916
- return {
917
- width,
918
- height,
919
- $: shouldFallback
920
- };
921
- }
922
- function unwrapElement(element) {
923
- return !isElement(element) ? element.contextElement : element;
924
- }
925
- function getScale(element) {
926
- const domElement = unwrapElement(element);
927
- if (!isHTMLElement(domElement)) {
928
- return createCoords(1);
929
- }
930
- const rect = domElement.getBoundingClientRect();
931
- const {
932
- width,
933
- height,
934
- $
935
- } = getCssDimensions(domElement);
936
- let x = ($ ? round(rect.width) : rect.width) / width;
937
- let y = ($ ? round(rect.height) : rect.height) / height;
938
- if (!x || !Number.isFinite(x)) {
939
- x = 1;
940
- }
941
- if (!y || !Number.isFinite(y)) {
942
- y = 1;
943
- }
944
- return {
945
- x,
946
- y
947
- };
948
- }
949
- var noOffsets = /* @__PURE__ */ createCoords(0);
950
- function getVisualOffsets(element) {
951
- const win = getWindow(element);
952
- if (!isWebKit() || !win.visualViewport) {
953
- return noOffsets;
954
- }
955
- return {
956
- x: win.visualViewport.offsetLeft,
957
- y: win.visualViewport.offsetTop
958
- };
959
- }
960
- function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
961
- if (isFixed === void 0) {
962
- isFixed = false;
963
- }
964
- if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
965
- return false;
966
- }
967
- return isFixed;
968
- }
969
- function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
970
- if (includeScale === void 0) {
971
- includeScale = false;
972
- }
973
- if (isFixedStrategy === void 0) {
974
- isFixedStrategy = false;
975
- }
976
- const clientRect = element.getBoundingClientRect();
977
- const domElement = unwrapElement(element);
978
- let scale = createCoords(1);
979
- if (includeScale) {
980
- if (offsetParent) {
981
- if (isElement(offsetParent)) {
982
- scale = getScale(offsetParent);
983
- }
984
- } else {
985
- scale = getScale(element);
986
- }
987
- }
988
- const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
989
- let x = (clientRect.left + visualOffsets.x) / scale.x;
990
- let y = (clientRect.top + visualOffsets.y) / scale.y;
991
- let width = clientRect.width / scale.x;
992
- let height = clientRect.height / scale.y;
993
- if (domElement) {
994
- const win = getWindow(domElement);
995
- const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
996
- let currentWin = win;
997
- let currentIFrame = getFrameElement(currentWin);
998
- while (currentIFrame && offsetParent && offsetWin !== currentWin) {
999
- const iframeScale = getScale(currentIFrame);
1000
- const iframeRect = currentIFrame.getBoundingClientRect();
1001
- const css = getComputedStyle2(currentIFrame);
1002
- const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1003
- const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1004
- x *= iframeScale.x;
1005
- y *= iframeScale.y;
1006
- width *= iframeScale.x;
1007
- height *= iframeScale.y;
1008
- x += left;
1009
- y += top;
1010
- currentWin = getWindow(currentIFrame);
1011
- currentIFrame = getFrameElement(currentWin);
1012
- }
1013
- }
1014
- return rectToClientRect({
1015
- width,
1016
- height,
1017
- x,
1018
- y
1019
- });
1020
- }
1021
- function getWindowScrollBarX(element, rect) {
1022
- const leftScroll = getNodeScroll(element).scrollLeft;
1023
- if (!rect) {
1024
- return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1025
- }
1026
- return rect.left + leftScroll;
1027
- }
1028
- function getHTMLOffset(documentElement, scroll) {
1029
- const htmlRect = documentElement.getBoundingClientRect();
1030
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
1031
- const y = htmlRect.top + scroll.scrollTop;
1032
- return {
1033
- x,
1034
- y
1035
- };
1036
- }
1037
- function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1038
- let {
1039
- elements,
1040
- rect,
1041
- offsetParent,
1042
- strategy
1043
- } = _ref;
1044
- const isFixed = strategy === "fixed";
1045
- const documentElement = getDocumentElement(offsetParent);
1046
- const topLayer = elements ? isTopLayer(elements.floating) : false;
1047
- if (offsetParent === documentElement || topLayer && isFixed) {
1048
- return rect;
1049
- }
1050
- let scroll = {
1051
- scrollLeft: 0,
1052
- scrollTop: 0
1053
- };
1054
- let scale = createCoords(1);
1055
- const offsets = createCoords(0);
1056
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1057
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1058
- if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1059
- scroll = getNodeScroll(offsetParent);
1060
- }
1061
- if (isOffsetParentAnElement) {
1062
- const offsetRect = getBoundingClientRect(offsetParent);
1063
- scale = getScale(offsetParent);
1064
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1065
- offsets.y = offsetRect.y + offsetParent.clientTop;
1066
- }
1067
- }
1068
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1069
- return {
1070
- width: rect.width * scale.x,
1071
- height: rect.height * scale.y,
1072
- x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1073
- y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1074
- };
1075
- }
1076
- function getClientRects(element) {
1077
- return Array.from(element.getClientRects());
1078
- }
1079
- function getDocumentRect(element) {
1080
- const html = getDocumentElement(element);
1081
- const scroll = getNodeScroll(element);
1082
- const body = element.ownerDocument.body;
1083
- const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1084
- const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1085
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1086
- const y = -scroll.scrollTop;
1087
- if (getComputedStyle2(body).direction === "rtl") {
1088
- x += max(html.clientWidth, body.clientWidth) - width;
1089
- }
1090
- return {
1091
- width,
1092
- height,
1093
- x,
1094
- y
1095
- };
1096
- }
1097
- var SCROLLBAR_MAX = 25;
1098
- function getViewportRect(element, strategy) {
1099
- const win = getWindow(element);
1100
- const html = getDocumentElement(element);
1101
- const visualViewport = win.visualViewport;
1102
- let width = html.clientWidth;
1103
- let height = html.clientHeight;
1104
- let x = 0;
1105
- let y = 0;
1106
- if (visualViewport) {
1107
- width = visualViewport.width;
1108
- height = visualViewport.height;
1109
- const visualViewportBased = isWebKit();
1110
- if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
1111
- x = visualViewport.offsetLeft;
1112
- y = visualViewport.offsetTop;
1113
- }
1114
- }
1115
- const windowScrollbarX = getWindowScrollBarX(html);
1116
- if (windowScrollbarX <= 0) {
1117
- const doc = html.ownerDocument;
1118
- const body = doc.body;
1119
- const bodyStyles = getComputedStyle(body);
1120
- const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
1121
- const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
1122
- if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
1123
- width -= clippingStableScrollbarWidth;
1124
- }
1125
- } else if (windowScrollbarX <= SCROLLBAR_MAX) {
1126
- width += windowScrollbarX;
1127
- }
1128
- return {
1129
- width,
1130
- height,
1131
- x,
1132
- y
1133
- };
1134
- }
1135
- function getInnerBoundingClientRect(element, strategy) {
1136
- const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1137
- const top = clientRect.top + element.clientTop;
1138
- const left = clientRect.left + element.clientLeft;
1139
- const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1140
- const width = element.clientWidth * scale.x;
1141
- const height = element.clientHeight * scale.y;
1142
- const x = left * scale.x;
1143
- const y = top * scale.y;
1144
- return {
1145
- width,
1146
- height,
1147
- x,
1148
- y
1149
- };
1150
- }
1151
- function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1152
- let rect;
1153
- if (clippingAncestor === "viewport") {
1154
- rect = getViewportRect(element, strategy);
1155
- } else if (clippingAncestor === "document") {
1156
- rect = getDocumentRect(getDocumentElement(element));
1157
- } else if (isElement(clippingAncestor)) {
1158
- rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1159
- } else {
1160
- const visualOffsets = getVisualOffsets(element);
1161
- rect = {
1162
- x: clippingAncestor.x - visualOffsets.x,
1163
- y: clippingAncestor.y - visualOffsets.y,
1164
- width: clippingAncestor.width,
1165
- height: clippingAncestor.height
1166
- };
1167
- }
1168
- return rectToClientRect(rect);
1169
- }
1170
- function hasFixedPositionAncestor(element, stopNode) {
1171
- const parentNode = getParentNode(element);
1172
- if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1173
- return false;
1174
- }
1175
- return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
1176
- }
1177
- function getClippingElementAncestors(element, cache) {
1178
- const cachedResult = cache.get(element);
1179
- if (cachedResult) {
1180
- return cachedResult;
1181
- }
1182
- let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
1183
- let currentContainingBlockComputedStyle = null;
1184
- const elementIsFixed = getComputedStyle2(element).position === "fixed";
1185
- let currentNode = elementIsFixed ? getParentNode(element) : element;
1186
- while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1187
- const computedStyle = getComputedStyle2(currentNode);
1188
- const currentNodeIsContaining = isContainingBlock(currentNode);
1189
- if (!currentNodeIsContaining && computedStyle.position === "fixed") {
1190
- currentContainingBlockComputedStyle = null;
1191
- }
1192
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === "absolute" || currentContainingBlockComputedStyle.position === "fixed") || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1193
- if (shouldDropCurrentNode) {
1194
- result = result.filter((ancestor) => ancestor !== currentNode);
1195
- } else {
1196
- currentContainingBlockComputedStyle = computedStyle;
1197
- }
1198
- currentNode = getParentNode(currentNode);
1199
- }
1200
- cache.set(element, result);
1201
- return result;
1202
- }
1203
- function getClippingRect(_ref) {
1204
- let {
1205
- element,
1206
- boundary,
1207
- rootBoundary,
1208
- strategy
1209
- } = _ref;
1210
- const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1211
- const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1212
- const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
1213
- let top = firstRect.top;
1214
- let right = firstRect.right;
1215
- let bottom = firstRect.bottom;
1216
- let left = firstRect.left;
1217
- for (let i2 = 1; i2 < clippingAncestors.length; i2++) {
1218
- const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i2], strategy);
1219
- top = max(rect.top, top);
1220
- right = min(rect.right, right);
1221
- bottom = min(rect.bottom, bottom);
1222
- left = max(rect.left, left);
1223
- }
1224
- return {
1225
- width: right - left,
1226
- height: bottom - top,
1227
- x: left,
1228
- y: top
1229
- };
1230
- }
1231
- function getDimensions(element) {
1232
- const {
1233
- width,
1234
- height
1235
- } = getCssDimensions(element);
1236
- return {
1237
- width,
1238
- height
1239
- };
1240
- }
1241
- function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1242
- const isOffsetParentAnElement = isHTMLElement(offsetParent);
1243
- const documentElement = getDocumentElement(offsetParent);
1244
- const isFixed = strategy === "fixed";
1245
- const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1246
- let scroll = {
1247
- scrollLeft: 0,
1248
- scrollTop: 0
1249
- };
1250
- const offsets = createCoords(0);
1251
- function setLeftRTLScrollbarOffset() {
1252
- offsets.x = getWindowScrollBarX(documentElement);
1253
- }
1254
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1255
- if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1256
- scroll = getNodeScroll(offsetParent);
1257
- }
1258
- if (isOffsetParentAnElement) {
1259
- const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1260
- offsets.x = offsetRect.x + offsetParent.clientLeft;
1261
- offsets.y = offsetRect.y + offsetParent.clientTop;
1262
- } else if (documentElement) {
1263
- setLeftRTLScrollbarOffset();
1264
- }
1265
- }
1266
- if (isFixed && !isOffsetParentAnElement && documentElement) {
1267
- setLeftRTLScrollbarOffset();
1268
- }
1269
- const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1270
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1271
- const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1272
- return {
1273
- x,
1274
- y,
1275
- width: rect.width,
1276
- height: rect.height
1277
- };
1278
- }
1279
- function isStaticPositioned(element) {
1280
- return getComputedStyle2(element).position === "static";
1281
- }
1282
- function getTrueOffsetParent(element, polyfill) {
1283
- if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
1284
- return null;
1285
- }
1286
- if (polyfill) {
1287
- return polyfill(element);
1288
- }
1289
- let rawOffsetParent = element.offsetParent;
1290
- if (getDocumentElement(element) === rawOffsetParent) {
1291
- rawOffsetParent = rawOffsetParent.ownerDocument.body;
1292
- }
1293
- return rawOffsetParent;
1294
- }
1295
- function getOffsetParent(element, polyfill) {
1296
- const win = getWindow(element);
1297
- if (isTopLayer(element)) {
1298
- return win;
1299
- }
1300
- if (!isHTMLElement(element)) {
1301
- let svgOffsetParent = getParentNode(element);
1302
- while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1303
- if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1304
- return svgOffsetParent;
1305
- }
1306
- svgOffsetParent = getParentNode(svgOffsetParent);
1307
- }
1308
- return win;
1309
- }
1310
- let offsetParent = getTrueOffsetParent(element, polyfill);
1311
- while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1312
- offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1313
- }
1314
- if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1315
- return win;
1316
- }
1317
- return offsetParent || getContainingBlock(element) || win;
1318
- }
1319
- var getElementRects = async function(data) {
1320
- const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1321
- const getDimensionsFn = this.getDimensions;
1322
- const floatingDimensions = await getDimensionsFn(data.floating);
1323
- return {
1324
- reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1325
- floating: {
1326
- x: 0,
1327
- y: 0,
1328
- width: floatingDimensions.width,
1329
- height: floatingDimensions.height
1330
- }
1331
- };
1332
- };
1333
- function isRTL(element) {
1334
- return getComputedStyle2(element).direction === "rtl";
1335
- }
1336
- var platform = {
1337
- convertOffsetParentRelativeRectToViewportRelativeRect,
1338
- getDocumentElement,
1339
- getClippingRect,
1340
- getOffsetParent,
1341
- getElementRects,
1342
- getClientRects,
1343
- getDimensions,
1344
- getScale,
1345
- isElement,
1346
- isRTL
1347
- };
1348
- function rectsAreEqual(a, b2) {
1349
- return a.x === b2.x && a.y === b2.y && a.width === b2.width && a.height === b2.height;
1350
- }
1351
- function observeMove(element, onMove) {
1352
- let io = null;
1353
- let timeoutId;
1354
- const root = getDocumentElement(element);
1355
- function cleanup() {
1356
- var _io;
1357
- clearTimeout(timeoutId);
1358
- (_io = io) == null || _io.disconnect();
1359
- io = null;
1360
- }
1361
- function refresh(skip, threshold) {
1362
- if (skip === void 0) {
1363
- skip = false;
1364
- }
1365
- if (threshold === void 0) {
1366
- threshold = 1;
1367
- }
1368
- cleanup();
1369
- const elementRectForRootMargin = element.getBoundingClientRect();
1370
- const {
1371
- left,
1372
- top,
1373
- width,
1374
- height
1375
- } = elementRectForRootMargin;
1376
- if (!skip) {
1377
- onMove();
1378
- }
1379
- if (!width || !height) {
1380
- return;
1381
- }
1382
- const insetTop = floor(top);
1383
- const insetRight = floor(root.clientWidth - (left + width));
1384
- const insetBottom = floor(root.clientHeight - (top + height));
1385
- const insetLeft = floor(left);
1386
- const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1387
- const options = {
1388
- rootMargin,
1389
- threshold: max(0, min(1, threshold)) || 1
1390
- };
1391
- let isFirstUpdate = true;
1392
- function handleObserve(entries) {
1393
- const ratio = entries[0].intersectionRatio;
1394
- if (ratio !== threshold) {
1395
- if (!isFirstUpdate) {
1396
- return refresh();
1397
- }
1398
- if (!ratio) {
1399
- timeoutId = setTimeout(() => {
1400
- refresh(false, 1e-7);
1401
- }, 1e3);
1402
- } else {
1403
- refresh(false, ratio);
1404
- }
1405
- }
1406
- if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
1407
- refresh();
1408
- }
1409
- isFirstUpdate = false;
1410
- }
1411
- try {
1412
- io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
1413
- // Handle <iframe>s
1414
- root: root.ownerDocument
1415
- }));
1416
- } catch (_e) {
1417
- io = new IntersectionObserver(handleObserve, options);
1418
- }
1419
- io.observe(element);
1420
- }
1421
- refresh(true);
1422
- return cleanup;
1423
- }
1424
- function autoUpdate(reference, floating, update, options) {
1425
- if (options === void 0) {
1426
- options = {};
1427
- }
1428
- const {
1429
- ancestorScroll = true,
1430
- ancestorResize = true,
1431
- elementResize = typeof ResizeObserver === "function",
1432
- layoutShift = typeof IntersectionObserver === "function",
1433
- animationFrame = false
1434
- } = options;
1435
- const referenceEl = unwrapElement(reference);
1436
- const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...floating ? getOverflowAncestors(floating) : []] : [];
1437
- ancestors.forEach((ancestor) => {
1438
- ancestorScroll && ancestor.addEventListener("scroll", update, {
1439
- passive: true
1440
- });
1441
- ancestorResize && ancestor.addEventListener("resize", update);
1442
- });
1443
- const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1444
- let reobserveFrame = -1;
1445
- let resizeObserver = null;
1446
- if (elementResize) {
1447
- resizeObserver = new ResizeObserver((_ref) => {
1448
- let [firstEntry] = _ref;
1449
- if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
1450
- resizeObserver.unobserve(floating);
1451
- cancelAnimationFrame(reobserveFrame);
1452
- reobserveFrame = requestAnimationFrame(() => {
1453
- var _resizeObserver;
1454
- (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1455
- });
1456
- }
1457
- update();
1458
- });
1459
- if (referenceEl && !animationFrame) {
1460
- resizeObserver.observe(referenceEl);
1461
- }
1462
- if (floating) {
1463
- resizeObserver.observe(floating);
1464
- }
1465
- }
1466
- let frameId;
1467
- let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1468
- if (animationFrame) {
1469
- frameLoop();
1470
- }
1471
- function frameLoop() {
1472
- const nextRefRect = getBoundingClientRect(reference);
1473
- if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
1474
- update();
1475
- }
1476
- prevRefRect = nextRefRect;
1477
- frameId = requestAnimationFrame(frameLoop);
1478
- }
1479
- update();
1480
- return () => {
1481
- var _resizeObserver2;
1482
- ancestors.forEach((ancestor) => {
1483
- ancestorScroll && ancestor.removeEventListener("scroll", update);
1484
- ancestorResize && ancestor.removeEventListener("resize", update);
1485
- });
1486
- cleanupIo == null || cleanupIo();
1487
- (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1488
- resizeObserver = null;
1489
- if (animationFrame) {
1490
- cancelAnimationFrame(frameId);
1491
- }
1492
- };
1493
- }
1494
- var offset2 = offset;
1495
- var shift2 = shift;
1496
- var flip2 = flip;
1497
- var size2 = size;
1498
- var arrow2 = arrow;
1499
- var computePosition2 = (reference, floating, options) => {
1500
- const cache = /* @__PURE__ */ new Map();
1501
- const mergedOptions = __spreadValues({
1502
- platform
1503
- }, options);
1504
- const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
1505
- _c: cache
1506
- });
1507
- return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
1508
- platform: platformWithCache
1509
- }));
1510
- };
1511
-
1512
- // node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
1513
- function e3(t) {
1514
- return i(t);
1515
- }
1516
- function r(t) {
1517
- return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
1518
- }
1519
- function i(e4) {
1520
- for (let t = e4; t; t = r(t)) if (t instanceof Element && "none" === getComputedStyle(t).display) return null;
1521
- for (let n2 = r(e4); n2; n2 = r(n2)) {
1522
- if (!(n2 instanceof Element)) continue;
1523
- const e5 = getComputedStyle(n2);
1524
- if ("contents" !== e5.display) {
1525
- if ("static" !== e5.position || isContainingBlock(e5)) return n2;
1526
- if ("BODY" === n2.tagName) return n2;
1527
- }
1528
- }
1529
- return null;
1530
- }
1531
-
1532
- // src/components/popup/popup.component.ts
1533
- function isVirtualElement(e4) {
1534
- return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
1535
- }
1536
- var CwPopup = class extends CwElement {
1537
- constructor() {
1538
- super(...arguments);
1539
- this.localize = new LocalizeController(this);
1540
- this.active = false;
1541
- this.placement = "top";
1542
- this.strategy = "absolute";
1543
- this.distance = 0;
1544
- this.skidding = 0;
1545
- this.arrow = false;
1546
- this.arrowPlacement = "anchor";
1547
- this.arrowPadding = 10;
1548
- this.flip = false;
1549
- this.flipFallbackPlacements = "";
1550
- this.flipFallbackStrategy = "best-fit";
1551
- this.flipPadding = 0;
1552
- this.shift = false;
1553
- this.shiftPadding = 0;
1554
- this.autoSizePadding = 0;
1555
- this.hoverBridge = false;
1556
- this.updateHoverBridge = () => {
1557
- if (this.hoverBridge && this.anchorEl) {
1558
- const anchorRect = this.anchorEl.getBoundingClientRect();
1559
- const popupRect = this.popup.getBoundingClientRect();
1560
- const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
1561
- let topLeftX = 0;
1562
- let topLeftY = 0;
1563
- let topRightX = 0;
1564
- let topRightY = 0;
1565
- let bottomLeftX = 0;
1566
- let bottomLeftY = 0;
1567
- let bottomRightX = 0;
1568
- let bottomRightY = 0;
1569
- if (isVertical) {
1570
- if (anchorRect.top < popupRect.top) {
1571
- topLeftX = anchorRect.left;
1572
- topLeftY = anchorRect.bottom;
1573
- topRightX = anchorRect.right;
1574
- topRightY = anchorRect.bottom;
1575
- bottomLeftX = popupRect.left;
1576
- bottomLeftY = popupRect.top;
1577
- bottomRightX = popupRect.right;
1578
- bottomRightY = popupRect.top;
1579
- } else {
1580
- topLeftX = popupRect.left;
1581
- topLeftY = popupRect.bottom;
1582
- topRightX = popupRect.right;
1583
- topRightY = popupRect.bottom;
1584
- bottomLeftX = anchorRect.left;
1585
- bottomLeftY = anchorRect.top;
1586
- bottomRightX = anchorRect.right;
1587
- bottomRightY = anchorRect.top;
1588
- }
1589
- } else {
1590
- if (anchorRect.left < popupRect.left) {
1591
- topLeftX = anchorRect.right;
1592
- topLeftY = anchorRect.top;
1593
- topRightX = popupRect.left;
1594
- topRightY = popupRect.top;
1595
- bottomLeftX = anchorRect.right;
1596
- bottomLeftY = anchorRect.bottom;
1597
- bottomRightX = popupRect.left;
1598
- bottomRightY = popupRect.bottom;
1599
- } else {
1600
- topLeftX = popupRect.right;
1601
- topLeftY = popupRect.top;
1602
- topRightX = anchorRect.left;
1603
- topRightY = anchorRect.top;
1604
- bottomLeftX = popupRect.right;
1605
- bottomLeftY = popupRect.bottom;
1606
- bottomRightX = anchorRect.left;
1607
- bottomRightY = anchorRect.bottom;
1608
- }
1609
- }
1610
- this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
1611
- this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
1612
- this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
1613
- this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
1614
- this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
1615
- this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
1616
- this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
1617
- this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
1618
- }
1619
- };
1620
- }
1621
- async connectedCallback() {
1622
- super.connectedCallback();
1623
- await this.updateComplete;
1624
- this.start();
1625
- }
1626
- disconnectedCallback() {
1627
- super.disconnectedCallback();
1628
- this.stop();
1629
- }
1630
- async updated(changedProps) {
1631
- super.updated(changedProps);
1632
- if (changedProps.has("active")) {
1633
- if (this.active) {
1634
- this.start();
1635
- } else {
1636
- this.stop();
1637
- }
1638
- }
1639
- if (changedProps.has("anchor")) {
1640
- this.handleAnchorChange();
1641
- }
1642
- if (this.active) {
1643
- await this.updateComplete;
1644
- this.reposition();
1645
- }
1646
- }
1647
- async handleAnchorChange() {
1648
- await this.stop();
1649
- if (this.anchor && typeof this.anchor === "string") {
1650
- const root = this.getRootNode();
1651
- this.anchorEl = root.getElementById(this.anchor);
1652
- } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
1653
- this.anchorEl = this.anchor;
1654
- } else {
1655
- this.anchorEl = this.querySelector('[slot="anchor"]');
1656
- }
1657
- if (this.anchorEl instanceof HTMLSlotElement) {
1658
- this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
1659
- }
1660
- if (this.anchorEl && this.active) {
1661
- this.start();
1662
- }
1663
- }
1664
- start() {
1665
- if (!this.anchorEl || !this.active) {
1666
- return;
1667
- }
1668
- this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
1669
- this.reposition();
1670
- });
1671
- }
1672
- async stop() {
1673
- return new Promise((resolve) => {
1674
- if (this.cleanup) {
1675
- this.cleanup();
1676
- this.cleanup = void 0;
1677
- this.removeAttribute("data-current-placement");
1678
- this.style.removeProperty("--auto-size-available-width");
1679
- this.style.removeProperty("--auto-size-available-height");
1680
- requestAnimationFrame(() => resolve());
1681
- } else {
1682
- resolve();
1683
- }
1684
- });
1685
- }
1686
- /** Forces the popup to recalculate and reposition itself. */
1687
- reposition() {
1688
- if (!this.active || !this.anchorEl) {
1689
- return;
1690
- }
1691
- const middleware = [
1692
- // The offset middleware goes first
1693
- offset2({ mainAxis: this.distance, crossAxis: this.skidding })
1694
- ];
1695
- if (this.sync) {
1696
- middleware.push(
1697
- size2({
1698
- apply: ({ rects }) => {
1699
- const syncWidth = this.sync === "width" || this.sync === "both";
1700
- const syncHeight = this.sync === "height" || this.sync === "both";
1701
- this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
1702
- this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
1703
- }
1704
- })
1705
- );
1706
- } else {
1707
- this.popup.style.width = "";
1708
- this.popup.style.height = "";
1709
- }
1710
- if (this.flip) {
1711
- middleware.push(
1712
- flip2({
1713
- boundary: this.flipBoundary,
1714
- // @ts-expect-error - We're converting a string attribute to an array here
1715
- fallbackPlacements: this.flipFallbackPlacements,
1716
- fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
1717
- padding: this.flipPadding
1718
- })
1719
- );
1720
- }
1721
- if (this.shift) {
1722
- middleware.push(
1723
- shift2({
1724
- boundary: this.shiftBoundary,
1725
- padding: this.shiftPadding
1726
- })
1727
- );
1728
- }
1729
- if (this.autoSize) {
1730
- middleware.push(
1731
- size2({
1732
- boundary: this.autoSizeBoundary,
1733
- padding: this.autoSizePadding,
1734
- apply: ({ availableWidth, availableHeight }) => {
1735
- if (this.autoSize === "vertical" || this.autoSize === "both") {
1736
- this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
1737
- } else {
1738
- this.style.removeProperty("--auto-size-available-height");
1739
- }
1740
- if (this.autoSize === "horizontal" || this.autoSize === "both") {
1741
- this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
1742
- } else {
1743
- this.style.removeProperty("--auto-size-available-width");
1744
- }
1745
- }
1746
- })
1747
- );
1748
- } else {
1749
- this.style.removeProperty("--auto-size-available-width");
1750
- this.style.removeProperty("--auto-size-available-height");
1751
- }
1752
- if (this.arrow) {
1753
- middleware.push(
1754
- arrow2({
1755
- element: this.arrowEl,
1756
- padding: this.arrowPadding
1757
- })
1758
- );
1759
- }
1760
- const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
1761
- computePosition2(this.anchorEl, this.popup, {
1762
- placement: this.placement,
1763
- middleware,
1764
- strategy: this.strategy,
1765
- platform: __spreadProps(__spreadValues({}, platform), {
1766
- getOffsetParent: getOffsetParent2
1767
- })
1768
- }).then(({ x, y, middlewareData, placement }) => {
1769
- const isRtl = this.localize.dir() === "rtl";
1770
- const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
1771
- this.setAttribute("data-current-placement", placement);
1772
- Object.assign(this.popup.style, {
1773
- left: `${x}px`,
1774
- top: `${y}px`
1775
- });
1776
- if (this.arrow) {
1777
- const arrowX = middlewareData.arrow.x;
1778
- const arrowY = middlewareData.arrow.y;
1779
- let top = "";
1780
- let right = "";
1781
- let bottom = "";
1782
- let left = "";
1783
- if (this.arrowPlacement === "start") {
1784
- const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1785
- top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1786
- right = isRtl ? value : "";
1787
- left = isRtl ? "" : value;
1788
- } else if (this.arrowPlacement === "end") {
1789
- const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1790
- right = isRtl ? "" : value;
1791
- left = isRtl ? value : "";
1792
- bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1793
- } else if (this.arrowPlacement === "center") {
1794
- left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1795
- top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1796
- } else {
1797
- left = typeof arrowX === "number" ? `${arrowX}px` : "";
1798
- top = typeof arrowY === "number" ? `${arrowY}px` : "";
1799
- }
1800
- Object.assign(this.arrowEl.style, {
1801
- top,
1802
- right,
1803
- bottom,
1804
- left,
1805
- [staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
1806
- });
1807
- }
1808
- });
1809
- requestAnimationFrame(() => this.updateHoverBridge());
1810
- this.emit("cw-reposition");
1811
- }
1812
- render() {
1813
- return b`
1814
- <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
1815
-
1816
- <span
1817
- part="hover-bridge"
1818
- class=${e({
1819
- "popup-hover-bridge": true,
1820
- "popup-hover-bridge--visible": this.hoverBridge && this.active
1821
- })}
1822
- ></span>
1823
-
1824
- <div
1825
- part="popup"
1826
- class=${e({
1827
- popup: true,
1828
- "popup--active": this.active,
1829
- "popup--fixed": this.strategy === "fixed",
1830
- "popup--has-arrow": this.arrow
1831
- })}
1832
- >
1833
- <slot></slot>
1834
- ${this.arrow ? b`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
1835
- </div>
1836
- `;
1837
- }
1838
- };
1839
- CwPopup.styles = [component_styles_default, popup_styles_default];
1840
- __decorateClass([
1841
- e2(".popup")
1842
- ], CwPopup.prototype, "popup", 2);
1843
- __decorateClass([
1844
- e2(".popup__arrow")
1845
- ], CwPopup.prototype, "arrowEl", 2);
1846
- __decorateClass([
1847
- n()
1848
- ], CwPopup.prototype, "anchor", 2);
1849
- __decorateClass([
1850
- n({ type: Boolean, reflect: true })
1851
- ], CwPopup.prototype, "active", 2);
1852
- __decorateClass([
1853
- n({ reflect: true })
1854
- ], CwPopup.prototype, "placement", 2);
1855
- __decorateClass([
1856
- n({ reflect: true })
1857
- ], CwPopup.prototype, "strategy", 2);
1858
- __decorateClass([
1859
- n({ type: Number })
1860
- ], CwPopup.prototype, "distance", 2);
1861
- __decorateClass([
1862
- n({ type: Number })
1863
- ], CwPopup.prototype, "skidding", 2);
1864
- __decorateClass([
1865
- n({ type: Boolean })
1866
- ], CwPopup.prototype, "arrow", 2);
1867
- __decorateClass([
1868
- n({ attribute: "arrow-placement" })
1869
- ], CwPopup.prototype, "arrowPlacement", 2);
1870
- __decorateClass([
1871
- n({ attribute: "arrow-padding", type: Number })
1872
- ], CwPopup.prototype, "arrowPadding", 2);
1873
- __decorateClass([
1874
- n({ type: Boolean })
1875
- ], CwPopup.prototype, "flip", 2);
1876
- __decorateClass([
1877
- n({
1878
- attribute: "flip-fallback-placements",
1879
- converter: {
1880
- fromAttribute: (value) => {
1881
- return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
1882
- },
1883
- toAttribute: (value) => {
1884
- return value.join(" ");
1885
- }
1886
- }
1887
- })
1888
- ], CwPopup.prototype, "flipFallbackPlacements", 2);
1889
- __decorateClass([
1890
- n({ attribute: "flip-fallback-strategy" })
1891
- ], CwPopup.prototype, "flipFallbackStrategy", 2);
1892
- __decorateClass([
1893
- n({ type: Object })
1894
- ], CwPopup.prototype, "flipBoundary", 2);
1895
- __decorateClass([
1896
- n({ attribute: "flip-padding", type: Number })
1897
- ], CwPopup.prototype, "flipPadding", 2);
1898
- __decorateClass([
1899
- n({ type: Boolean })
1900
- ], CwPopup.prototype, "shift", 2);
1901
- __decorateClass([
1902
- n({ type: Object })
1903
- ], CwPopup.prototype, "shiftBoundary", 2);
1904
- __decorateClass([
1905
- n({ attribute: "shift-padding", type: Number })
1906
- ], CwPopup.prototype, "shiftPadding", 2);
1907
- __decorateClass([
1908
- n({ attribute: "auto-size" })
1909
- ], CwPopup.prototype, "autoSize", 2);
1910
- __decorateClass([
1911
- n()
1912
- ], CwPopup.prototype, "sync", 2);
1913
- __decorateClass([
1914
- n({ type: Object })
1915
- ], CwPopup.prototype, "autoSizeBoundary", 2);
1916
- __decorateClass([
1917
- n({ attribute: "auto-size-padding", type: Number })
1918
- ], CwPopup.prototype, "autoSizePadding", 2);
1919
- __decorateClass([
1920
- n({ attribute: "hover-bridge", type: Boolean })
1921
- ], CwPopup.prototype, "hoverBridge", 2);
1922
-
1923
- export {
1924
- CwPopup
1925
- };