@cordwainer/cw-elements 1.5.0-alpha.1 → 1.5.0-alpha.2

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 (1360) hide show
  1. package/cdn/chunks/chunk.27UY4KUS.js +11 -0
  2. package/cdn/chunks/chunk.2G4LVBCB.js +236 -0
  3. package/cdn/chunks/chunk.2ITZLKOX.js +77 -0
  4. package/cdn/chunks/chunk.2P33HCGB.js +127 -0
  5. package/cdn/chunks/chunk.2RO5K2XF.js +27 -0
  6. package/cdn/chunks/chunk.2SV5FYYM.js +11 -0
  7. package/cdn/chunks/chunk.2TG3D325.js +11 -0
  8. package/cdn/chunks/chunk.2VDZHJYP.js +33 -0
  9. package/cdn/chunks/chunk.2W26L43F.js +11 -0
  10. package/cdn/chunks/chunk.32TXK7LZ.js +11 -0
  11. package/cdn/chunks/chunk.3DLRESGE.js +21 -0
  12. package/cdn/chunks/chunk.3JS2Q4RT.js +21 -0
  13. package/cdn/chunks/chunk.3KDQKPYB.js +11 -0
  14. package/cdn/chunks/chunk.3NFOZANJ.js +1990 -0
  15. package/cdn/chunks/chunk.3OMA5ZPD.js +21 -0
  16. package/cdn/chunks/chunk.3TTMQ3PC.js +11 -0
  17. package/cdn/chunks/chunk.42EKR2KQ.js +499 -0
  18. package/cdn/chunks/chunk.4DHNQ4MT.js +11 -0
  19. package/cdn/chunks/chunk.4IUU7SFV.js +79 -0
  20. package/cdn/chunks/chunk.4LZRFOGL.js +11 -0
  21. package/cdn/chunks/chunk.4MCJYORY.js +11 -0
  22. package/cdn/chunks/chunk.5A4GYAMA.js +21 -0
  23. package/cdn/chunks/chunk.5FLFSNVV.js +21 -0
  24. package/cdn/chunks/chunk.5FO33VXB.js +114 -0
  25. package/cdn/chunks/chunk.5HBLNRTD.js +24 -0
  26. package/cdn/chunks/chunk.5R3PAMN6.js +137 -0
  27. package/cdn/chunks/chunk.5YUCE2FM.js +27 -0
  28. package/cdn/chunks/chunk.5YXF7OA5.js +11 -0
  29. package/cdn/chunks/chunk.5ZXRYB5V.js +29 -0
  30. package/cdn/chunks/chunk.6JBJEK2Y.js +122 -0
  31. package/cdn/chunks/chunk.6MBT2BA3.js +28 -0
  32. package/cdn/chunks/chunk.6MUYNV2X.js +11 -0
  33. package/cdn/chunks/chunk.6QWZJLRD.js +11 -0
  34. package/cdn/chunks/chunk.6TN4AHKO.js +11 -0
  35. package/cdn/chunks/chunk.723GXFZY.js +11 -0
  36. package/cdn/chunks/chunk.766EY2MZ.js +142 -0
  37. package/cdn/chunks/chunk.7HYTRJ3A.js +402 -0
  38. package/cdn/chunks/chunk.7LI62JKG.js +27 -0
  39. package/cdn/chunks/chunk.7NG2RS4S.js +302 -0
  40. package/cdn/chunks/chunk.7RBMEMTY.js +21 -0
  41. package/cdn/chunks/chunk.7SYD2I2G.js +11 -0
  42. package/cdn/chunks/chunk.7U4DBIL7.js +29 -0
  43. package/cdn/chunks/chunk.7X2EPRR2.js +291 -0
  44. package/cdn/chunks/chunk.7XVOLCO3.js +11 -0
  45. package/cdn/chunks/chunk.A5OCGU5A.js +21 -0
  46. package/cdn/chunks/chunk.A6H3FCCP.js +21 -0
  47. package/cdn/chunks/chunk.A7EGPMG7.js +103 -0
  48. package/cdn/chunks/chunk.ACWJG4IT.js +21 -0
  49. package/cdn/chunks/chunk.AIP5CZQP.js +11 -0
  50. package/cdn/chunks/chunk.AJZGNH7W.js +53 -0
  51. package/cdn/chunks/chunk.AX7IRAKK.js +11 -0
  52. package/cdn/chunks/chunk.B2TJ3SCE.js +11 -0
  53. package/cdn/chunks/chunk.B44PLVUB.js +11 -0
  54. package/cdn/chunks/chunk.B7BU7M5A.js +11 -0
  55. package/cdn/chunks/chunk.BBWOWLCL.js +197 -0
  56. package/cdn/chunks/chunk.BE4CZK46.js +11 -0
  57. package/cdn/chunks/chunk.BF33JY5C.js +11 -0
  58. package/cdn/chunks/chunk.BIEX7X3N.js +11 -0
  59. package/cdn/chunks/chunk.BNMY7WDB.js +186 -0
  60. package/cdn/chunks/chunk.BR6BUZQC.js +24 -0
  61. package/cdn/chunks/chunk.BT3BUDHN.js +82 -0
  62. package/cdn/chunks/chunk.BUPHCYHN.js +844 -0
  63. package/cdn/chunks/chunk.BWZOKMP4.js +25 -0
  64. package/cdn/chunks/chunk.BX5NYKSK.js +27 -0
  65. package/cdn/chunks/chunk.BXIVU25J.js +49 -0
  66. package/cdn/chunks/chunk.BYU36XBW.js +11 -0
  67. package/cdn/chunks/chunk.CBO5C7IT.js +185 -0
  68. package/cdn/chunks/chunk.COG3RDYP.js +11 -0
  69. package/cdn/chunks/chunk.D4GFECF3.js +25 -0
  70. package/cdn/chunks/chunk.DA3H3XR4.js +279 -0
  71. package/cdn/chunks/chunk.DBGLQ7HF.js +21 -0
  72. package/cdn/chunks/chunk.DHJJ2WXK.js +969 -0
  73. package/cdn/chunks/chunk.DJTNKRG7.js +11 -0
  74. package/cdn/chunks/chunk.DQE7S62K.js +21 -0
  75. package/cdn/chunks/chunk.EBKA2QKI.js +336 -0
  76. package/cdn/chunks/chunk.ECILPDAH.js +114 -0
  77. package/cdn/chunks/chunk.EFFIBDH5.js +21 -0
  78. package/cdn/chunks/chunk.EKJHSFIY.js +11 -0
  79. package/cdn/chunks/chunk.EWEJIL2I.js +904 -0
  80. package/cdn/chunks/chunk.EZBFFUJO.js +26 -0
  81. package/cdn/chunks/chunk.FOKAMIKS.js +11 -0
  82. package/cdn/chunks/chunk.FOQSUMA2.js +28 -0
  83. package/cdn/chunks/chunk.FS5OSSZ7.js +33 -0
  84. package/cdn/chunks/chunk.FUMNGXVP.js +391 -0
  85. package/cdn/chunks/chunk.FXGIHWQQ.js +25 -0
  86. package/cdn/chunks/chunk.FXJULIU5.js +113 -0
  87. package/cdn/chunks/chunk.G72XKZIO.js +25 -0
  88. package/cdn/chunks/chunk.GBFWMDJI.js +11 -0
  89. package/cdn/chunks/chunk.GCT2253R.js +11 -0
  90. package/cdn/chunks/chunk.GGDUT6HG.js +21 -0
  91. package/cdn/chunks/chunk.GI42J36Z.js +233 -0
  92. package/cdn/chunks/chunk.GRBAZSP4.js +385 -0
  93. package/cdn/chunks/chunk.GSZGW2GW.js +26 -0
  94. package/cdn/chunks/chunk.H2UNMK3M.js +21 -0
  95. package/cdn/chunks/chunk.H7NCZRBN.js +28 -0
  96. package/cdn/chunks/chunk.HEB2JJCN.js +21 -0
  97. package/cdn/chunks/chunk.HMZRM4BP.js +11 -0
  98. package/cdn/chunks/chunk.HNOP2RMC.js +21 -0
  99. package/cdn/chunks/chunk.HX3YELIY.js +27 -0
  100. package/cdn/chunks/chunk.I74UWOAO.js +21 -0
  101. package/cdn/chunks/chunk.ID2BQGWB.js +28 -0
  102. package/cdn/chunks/chunk.IH3KENKG.js +21 -0
  103. package/cdn/chunks/chunk.IJGPJIWX.js +11 -0
  104. package/cdn/chunks/chunk.IMIEF4AS.js +11 -0
  105. package/cdn/chunks/chunk.IVG5Z6V3.js +24 -0
  106. package/cdn/chunks/chunk.IYPMYK6X.js +11 -0
  107. package/cdn/chunks/chunk.JA2NJTRE.js +24 -0
  108. package/cdn/chunks/chunk.JCSBUI23.js +21 -0
  109. package/cdn/chunks/chunk.JIGSU4VT.js +120 -0
  110. package/cdn/chunks/chunk.JPCS6ZVN.js +231 -0
  111. package/cdn/chunks/chunk.JVLTSF44.js +11 -0
  112. package/cdn/chunks/chunk.JYJVDQ5B.js +25 -0
  113. package/cdn/chunks/chunk.K3KNKJ5I.js +11 -0
  114. package/cdn/chunks/chunk.K4ZXZBZS.js +97 -0
  115. package/cdn/chunks/chunk.K5BGXXHC.js +11 -0
  116. package/cdn/chunks/chunk.KEIBI4XS.js +27 -0
  117. package/cdn/chunks/chunk.KJ7ZFKDY.js +11 -0
  118. package/cdn/chunks/chunk.KLCHA3X2.js +24 -0
  119. package/cdn/chunks/chunk.KM4PUUJR.js +91 -0
  120. package/cdn/chunks/chunk.KT3BEM7K.js +218 -0
  121. package/cdn/chunks/chunk.KVRCNFDI.js +174 -0
  122. package/cdn/chunks/chunk.KZZNIMGP.js +11 -0
  123. package/cdn/chunks/chunk.L6MBXKGB.js +25 -0
  124. package/cdn/chunks/chunk.L6YF5WVF.js +11 -0
  125. package/cdn/chunks/chunk.L7DMAU6U.js +45 -0
  126. package/cdn/chunks/chunk.LEBYQU5D.js +11 -0
  127. package/cdn/chunks/chunk.LIVLIIQ4.js +29 -0
  128. package/cdn/chunks/chunk.LNKK6QFM.js +11 -0
  129. package/cdn/chunks/chunk.LYCTNM7V.js +73 -0
  130. package/cdn/chunks/chunk.M7IGT674.js +21 -0
  131. package/cdn/chunks/chunk.MCNZGELU.js +455 -0
  132. package/cdn/chunks/chunk.MMK5NDQL.js +79 -0
  133. package/cdn/chunks/chunk.MVROSOQR.js +11 -0
  134. package/cdn/chunks/chunk.MXICKTJN.js +75 -0
  135. package/cdn/chunks/chunk.NFTA7D52.js +24 -0
  136. package/cdn/chunks/chunk.NO56IY7Z.js +11 -0
  137. package/cdn/chunks/chunk.NUX6PEXS.js +330 -0
  138. package/cdn/chunks/chunk.OBYEYUVK.js +50 -0
  139. package/cdn/chunks/chunk.OCKUNFY7.js +201 -0
  140. package/cdn/chunks/chunk.ON3NAMMT.js +24 -0
  141. package/cdn/chunks/chunk.OSD74E4W.js +11 -0
  142. package/cdn/chunks/chunk.PAGPISZX.js +11 -0
  143. package/cdn/chunks/chunk.PBAVZQNV.js +297 -0
  144. package/cdn/chunks/chunk.PBICPMJG.js +120 -0
  145. package/cdn/chunks/chunk.PEA3G3RG.js +724 -0
  146. package/cdn/chunks/chunk.PSWUHTUW.js +26 -0
  147. package/cdn/chunks/chunk.PXPHPPXS.js +25 -0
  148. package/cdn/chunks/chunk.PYWS7F4C.js +21 -0
  149. package/cdn/chunks/chunk.QASO4J6R.js +11 -0
  150. package/cdn/chunks/chunk.QC4BGO72.js +11 -0
  151. package/cdn/chunks/chunk.QCBQEON4.js +87 -0
  152. package/cdn/chunks/chunk.QK4FOJ23.js +21 -0
  153. package/cdn/chunks/chunk.QMHCFIVL.js +451 -0
  154. package/cdn/chunks/chunk.QMPCYILV.js +11 -0
  155. package/cdn/chunks/chunk.QT76G46C.js +28 -0
  156. package/cdn/chunks/chunk.QTOPIQMF.js +11 -0
  157. package/cdn/chunks/chunk.QUHOXK6U.js +11 -0
  158. package/cdn/chunks/chunk.QVZVLZTS.js +42 -0
  159. package/cdn/chunks/chunk.R6AS4Y3M.js +158 -0
  160. package/cdn/chunks/chunk.REUAREDK.js +11 -0
  161. package/cdn/chunks/chunk.RFSXRT74.js +21 -0
  162. package/cdn/chunks/chunk.RMGUDYQL.js +11 -0
  163. package/cdn/chunks/chunk.ROBUMV2S.js +27 -0
  164. package/cdn/chunks/chunk.RYIUFOF6.js +314 -0
  165. package/cdn/chunks/chunk.RZG35UPT.js +267 -0
  166. package/cdn/chunks/chunk.S6CWK5LV.js +26 -0
  167. package/cdn/chunks/chunk.SFXMKYSX.js +11 -0
  168. package/cdn/chunks/chunk.SFZVBXLY.js +11 -0
  169. package/cdn/chunks/chunk.SHY7KXEJ.js +11 -0
  170. package/cdn/chunks/chunk.SJRQ3U4L.js +24 -0
  171. package/cdn/chunks/chunk.SKJJO7MM.js +255 -0
  172. package/cdn/chunks/chunk.SQQF5YDP.js +367 -0
  173. package/cdn/chunks/chunk.SZJ5KL45.js +1501 -0
  174. package/cdn/chunks/chunk.T3I2WZRV.js +21 -0
  175. package/cdn/chunks/chunk.TFYI6T3V.js +84 -0
  176. package/cdn/chunks/chunk.TGMOE2JC.js +21 -0
  177. package/cdn/chunks/chunk.TSPLONK7.js +24 -0
  178. package/cdn/chunks/chunk.TYD22Y6S.js +11 -0
  179. package/cdn/chunks/chunk.U4ZHL7VU.js +95 -0
  180. package/cdn/chunks/chunk.U6IITA4F.js +29 -0
  181. package/cdn/chunks/chunk.UBA3JGU4.js +11 -0
  182. package/cdn/chunks/chunk.UGSZM4VW.js +285 -0
  183. package/cdn/chunks/chunk.UINEJA3W.js +24 -0
  184. package/cdn/chunks/chunk.UIWYRVRA.js +378 -0
  185. package/cdn/chunks/chunk.UJTTBZQZ.js +216 -0
  186. package/cdn/chunks/chunk.UNEPS3G7.js +49 -0
  187. package/cdn/chunks/chunk.UNEURCUF.js +25 -0
  188. package/cdn/chunks/chunk.UNRW32JJ.js +33 -0
  189. package/cdn/chunks/chunk.URZOYXAB.js +153 -0
  190. package/cdn/chunks/chunk.USSHUTEA.js +299 -0
  191. package/cdn/chunks/chunk.UTVIAM62.js +821 -0
  192. package/cdn/chunks/chunk.UUHZEIH6.js +21 -0
  193. package/cdn/chunks/chunk.UY2JSRDH.js +11 -0
  194. package/cdn/chunks/chunk.UYE3L3WD.js +36 -0
  195. package/cdn/chunks/chunk.V4PYTUHX.js +67 -0
  196. package/cdn/chunks/chunk.VEESJQA4.js +11 -0
  197. package/cdn/chunks/chunk.VHZ7LTBS.js +11 -0
  198. package/cdn/chunks/chunk.VIOBVEJT.js +21 -0
  199. package/cdn/chunks/chunk.VOZXT3WI.js +64 -0
  200. package/cdn/chunks/chunk.VPVM2JRQ.js +24 -0
  201. package/cdn/chunks/chunk.VQAR4AT5.js +11 -0
  202. package/cdn/chunks/chunk.VTJJWVRD.js +24 -0
  203. package/cdn/chunks/chunk.WCW3Z5NP.js +11 -0
  204. package/cdn/chunks/chunk.WLCODGQW.js +11 -0
  205. package/cdn/chunks/chunk.WMQRTT7U.js +11 -0
  206. package/cdn/chunks/chunk.WVR3PFJ4.js +139 -0
  207. package/cdn/chunks/chunk.X22DX6DT.js +11 -0
  208. package/cdn/chunks/chunk.XBBACYYA.js +63 -0
  209. package/cdn/chunks/chunk.XD7TFN6C.js +11 -0
  210. package/cdn/chunks/chunk.XEVABTAK.js +11 -0
  211. package/cdn/chunks/chunk.XKYJ4ATU.js +11 -0
  212. package/cdn/chunks/chunk.XVYV2LJI.js +25 -0
  213. package/cdn/chunks/chunk.XXQS3LC5.js +33 -0
  214. package/cdn/chunks/chunk.Y5ARRZRT.js +24 -0
  215. package/cdn/chunks/chunk.YBZTGEC2.js +574 -0
  216. package/cdn/chunks/chunk.YIXZGNQN.js +267 -0
  217. package/cdn/chunks/chunk.YO7E62PB.js +27 -0
  218. package/cdn/chunks/chunk.YTNWFPPH.js +11 -0
  219. package/cdn/chunks/chunk.Z6ONSOGP.js +346 -0
  220. package/cdn/chunks/chunk.ZERQZV7Y.js +21 -0
  221. package/cdn/chunks/chunk.ZFOIJQSH.js +24 -0
  222. package/cdn/chunks/chunk.ZI3C4D2C.js +11 -0
  223. package/cdn/chunks/chunk.ZNY7SOIN.js +27 -0
  224. package/cdn/chunks/chunk.ZO3KO4TN.js +11 -0
  225. package/cdn/chunks/chunk.ZWUYYOPY.js +292 -0
  226. package/cdn/components/alert/alert.component.js +4 -4
  227. package/cdn/components/alert/alert.js +5 -5
  228. package/cdn/components/animated-image/animated-image.component.js +3 -3
  229. package/cdn/components/animated-image/animated-image.js +4 -4
  230. package/cdn/components/animation/animation.component.js +2 -2
  231. package/cdn/components/animation/animation.js +3 -3
  232. package/cdn/components/avatar/avatar.component.js +3 -3
  233. package/cdn/components/avatar/avatar.js +4 -4
  234. package/cdn/components/badge/badge.component.js +2 -2
  235. package/cdn/components/badge/badge.js +3 -3
  236. package/cdn/components/breadcrumb/breadcrumb.component.js +10 -9
  237. package/cdn/components/breadcrumb/breadcrumb.js +11 -10
  238. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  239. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  240. package/cdn/components/button/button.component.js +4 -4
  241. package/cdn/components/button/button.js +5 -5
  242. package/cdn/components/button-group/button-group.component.js +2 -2
  243. package/cdn/components/button-group/button-group.js +3 -3
  244. package/cdn/components/card/card.component.js +2 -2
  245. package/cdn/components/card/card.js +3 -3
  246. package/cdn/components/carousel/carousel.component.js +3 -3
  247. package/cdn/components/carousel/carousel.js +4 -4
  248. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  249. package/cdn/components/carousel-item/carousel-item.js +3 -3
  250. package/cdn/components/checkbox/checkbox.component.js +3 -3
  251. package/cdn/components/checkbox/checkbox.js +4 -4
  252. package/cdn/components/color-picker/color-picker.component.js +11 -10
  253. package/cdn/components/color-picker/color-picker.js +12 -11
  254. package/cdn/components/combobox/combobox.component.js +9 -8
  255. package/cdn/components/combobox/combobox.js +10 -9
  256. package/cdn/components/copy-button/copy-button.component.js +6 -5
  257. package/cdn/components/copy-button/copy-button.js +7 -6
  258. package/cdn/components/data-table/data-table.component.js +5 -5
  259. package/cdn/components/data-table/data-table.js +6 -6
  260. package/cdn/components/data-table-column/data-table-column.component.js +2 -2
  261. package/cdn/components/data-table-column/data-table-column.js +3 -3
  262. package/cdn/components/date-picker/date-picker.component.js +6 -5
  263. package/cdn/components/date-picker/date-picker.js +7 -6
  264. package/cdn/components/details/details.component.js +3 -3
  265. package/cdn/components/details/details.js +4 -4
  266. package/cdn/components/dialog/dialog.component.js +4 -4
  267. package/cdn/components/dialog/dialog.js +5 -5
  268. package/cdn/components/divider/divider.component.js +2 -2
  269. package/cdn/components/divider/divider.js +3 -3
  270. package/cdn/components/drawer/drawer.component.js +4 -4
  271. package/cdn/components/drawer/drawer.js +5 -5
  272. package/cdn/components/dropdown/dropdown.component.js +4 -3
  273. package/cdn/components/dropdown/dropdown.js +5 -4
  274. package/cdn/components/footer/footer.component.js +2 -2
  275. package/cdn/components/footer/footer.js +3 -3
  276. package/cdn/components/format-bytes/format-bytes.component.js +2 -2
  277. package/cdn/components/format-bytes/format-bytes.js +3 -3
  278. package/cdn/components/format-date/format-date.component.js +2 -2
  279. package/cdn/components/format-date/format-date.js +3 -3
  280. package/cdn/components/format-number/format-number.component.js +2 -2
  281. package/cdn/components/format-number/format-number.js +3 -3
  282. package/cdn/components/header/header.component.js +4 -4
  283. package/cdn/components/header/header.js +5 -5
  284. package/cdn/components/icon/icon.component.js +2 -2
  285. package/cdn/components/icon/icon.js +3 -3
  286. package/cdn/components/icon-button/icon-button.component.js +3 -3
  287. package/cdn/components/icon-button/icon-button.js +4 -4
  288. package/cdn/components/image-comparer/image-comparer.component.js +3 -3
  289. package/cdn/components/image-comparer/image-comparer.js +4 -4
  290. package/cdn/components/include/include.component.js +2 -2
  291. package/cdn/components/include/include.js +3 -3
  292. package/cdn/components/input/input.component.js +3 -3
  293. package/cdn/components/input/input.js +4 -4
  294. package/cdn/components/logo/logo.component.js +2 -2
  295. package/cdn/components/logo/logo.js +3 -3
  296. package/cdn/components/menu/menu.component.js +2 -2
  297. package/cdn/components/menu/menu.js +3 -3
  298. package/cdn/components/menu-item/menu-item.component.js +6 -5
  299. package/cdn/components/menu-item/menu-item.js +7 -6
  300. package/cdn/components/menu-label/menu-label.component.js +2 -2
  301. package/cdn/components/menu-label/menu-label.js +3 -3
  302. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  303. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  304. package/cdn/components/option/option.component.js +3 -3
  305. package/cdn/components/option/option.js +4 -4
  306. package/cdn/components/pagination/pagination.component.js +4 -4
  307. package/cdn/components/pagination/pagination.js +5 -5
  308. package/cdn/components/popover/popover.component.d.ts +76 -0
  309. package/cdn/components/popover/popover.component.js +21 -0
  310. package/cdn/components/popover/popover.d.ts +8 -0
  311. package/cdn/components/popover/popover.js +22 -0
  312. package/cdn/components/popover/popover.styles.d.ts +2 -0
  313. package/cdn/components/popover/popover.styles.js +8 -0
  314. package/cdn/components/popup/popup.component.js +3 -2
  315. package/cdn/components/popup/popup.js +4 -3
  316. package/cdn/components/primary-navigation/primary-navigation.component.js +3 -3
  317. package/cdn/components/primary-navigation/primary-navigation.js +4 -4
  318. package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +6 -5
  319. package/cdn/components/primary-navigation-item/primary-navigation-item.js +7 -6
  320. package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
  321. package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
  322. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  323. package/cdn/components/progress-bar/progress-bar.js +3 -3
  324. package/cdn/components/progress-ring/progress-ring.component.js +2 -2
  325. package/cdn/components/progress-ring/progress-ring.js +3 -3
  326. package/cdn/components/qr-code/qr-code.component.js +2 -2
  327. package/cdn/components/qr-code/qr-code.js +3 -3
  328. package/cdn/components/radio/radio.component.js +3 -3
  329. package/cdn/components/radio/radio.js +4 -4
  330. package/cdn/components/radio-button/radio-button.component.js +2 -2
  331. package/cdn/components/radio-button/radio-button.js +3 -3
  332. package/cdn/components/radio-group/radio-group.component.js +3 -3
  333. package/cdn/components/radio-group/radio-group.js +4 -4
  334. package/cdn/components/range/range.component.js +2 -2
  335. package/cdn/components/range/range.js +3 -3
  336. package/cdn/components/rating/rating.component.js +3 -3
  337. package/cdn/components/rating/rating.js +4 -4
  338. package/cdn/components/relative-time/relative-time.component.js +2 -2
  339. package/cdn/components/relative-time/relative-time.js +3 -3
  340. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  341. package/cdn/components/resize-observer/resize-observer.js +3 -3
  342. package/cdn/components/secondary-navigation/secondary-navigation.component.js +4 -4
  343. package/cdn/components/secondary-navigation/secondary-navigation.js +5 -5
  344. package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
  345. package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
  346. package/cdn/components/select/select.component.js +7 -6
  347. package/cdn/components/select/select.js +8 -7
  348. package/cdn/components/skeleton/skeleton.component.js +2 -2
  349. package/cdn/components/skeleton/skeleton.js +3 -3
  350. package/cdn/components/social-link/social-link.component.js +4 -4
  351. package/cdn/components/social-link/social-link.js +5 -5
  352. package/cdn/components/spinner/spinner.component.js +2 -2
  353. package/cdn/components/spinner/spinner.js +3 -3
  354. package/cdn/components/split-panel/split-panel.component.js +2 -2
  355. package/cdn/components/split-panel/split-panel.js +3 -3
  356. package/cdn/components/switch/switch.component.js +2 -2
  357. package/cdn/components/switch/switch.js +3 -3
  358. package/cdn/components/tab/tab.component.js +4 -4
  359. package/cdn/components/tab/tab.js +5 -5
  360. package/cdn/components/tab-group/tab-group.component.js +5 -5
  361. package/cdn/components/tab-group/tab-group.js +6 -6
  362. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  363. package/cdn/components/tab-panel/tab-panel.js +3 -3
  364. package/cdn/components/tag/tag.component.js +4 -4
  365. package/cdn/components/tag/tag.js +5 -5
  366. package/cdn/components/textarea/textarea.component.js +2 -2
  367. package/cdn/components/textarea/textarea.js +3 -3
  368. package/cdn/components/time-picker/time-picker.component.js +6 -5
  369. package/cdn/components/time-picker/time-picker.js +7 -6
  370. package/cdn/components/tooltip/tooltip.component.js +4 -3
  371. package/cdn/components/tooltip/tooltip.js +5 -4
  372. package/cdn/components/tree/tree.component.js +7 -7
  373. package/cdn/components/tree/tree.js +8 -8
  374. package/cdn/components/tree-item/tree-item.component.js +5 -5
  375. package/cdn/components/tree-item/tree-item.js +6 -6
  376. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  377. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  378. package/cdn/custom-elements.json +328 -1
  379. package/cdn/cw-elements.d.ts +1 -0
  380. package/cdn/cw-elements.js +185 -178
  381. package/cdn/react/alert/index.js +5 -5
  382. package/cdn/react/animated-image/index.js +4 -4
  383. package/cdn/react/animation/index.js +3 -3
  384. package/cdn/react/avatar/index.js +4 -4
  385. package/cdn/react/badge/index.js +3 -3
  386. package/cdn/react/breadcrumb/index.js +11 -10
  387. package/cdn/react/breadcrumb-item/index.js +3 -3
  388. package/cdn/react/button/index.js +5 -5
  389. package/cdn/react/button-group/index.js +3 -3
  390. package/cdn/react/card/index.js +3 -3
  391. package/cdn/react/carousel/index.js +4 -4
  392. package/cdn/react/carousel-item/index.js +3 -3
  393. package/cdn/react/checkbox/index.js +4 -4
  394. package/cdn/react/color-picker/index.js +12 -11
  395. package/cdn/react/combobox/index.js +10 -9
  396. package/cdn/react/copy-button/index.js +7 -6
  397. package/cdn/react/data-table/index.js +6 -6
  398. package/cdn/react/data-table-column/index.js +3 -3
  399. package/cdn/react/date-picker/index.js +7 -6
  400. package/cdn/react/details/index.js +4 -4
  401. package/cdn/react/dialog/index.js +5 -5
  402. package/cdn/react/divider/index.js +3 -3
  403. package/cdn/react/drawer/index.js +5 -5
  404. package/cdn/react/dropdown/index.js +5 -4
  405. package/cdn/react/footer/index.js +3 -3
  406. package/cdn/react/format-bytes/index.js +3 -3
  407. package/cdn/react/format-date/index.js +3 -3
  408. package/cdn/react/format-number/index.js +3 -3
  409. package/cdn/react/header/index.js +5 -5
  410. package/cdn/react/icon/index.js +3 -3
  411. package/cdn/react/icon-button/index.js +4 -4
  412. package/cdn/react/image-comparer/index.js +4 -4
  413. package/cdn/react/include/index.js +3 -3
  414. package/cdn/react/index.d.ts +1 -0
  415. package/cdn/react/index.js +203 -196
  416. package/cdn/react/input/index.js +4 -4
  417. package/cdn/react/logo/index.js +3 -3
  418. package/cdn/react/menu/index.js +3 -3
  419. package/cdn/react/menu-item/index.js +7 -6
  420. package/cdn/react/menu-label/index.js +3 -3
  421. package/cdn/react/mutation-observer/index.js +3 -3
  422. package/cdn/react/option/index.js +4 -4
  423. package/cdn/react/pagination/index.js +5 -5
  424. package/cdn/react/popover/index.d.ts +45 -0
  425. package/cdn/react/popover/index.js +22 -0
  426. package/cdn/react/popup/index.js +4 -3
  427. package/cdn/react/primary-navigation/index.js +4 -4
  428. package/cdn/react/primary-navigation-item/index.js +7 -6
  429. package/cdn/react/primary-navigation-menu/index.js +3 -3
  430. package/cdn/react/progress-bar/index.js +3 -3
  431. package/cdn/react/progress-ring/index.js +3 -3
  432. package/cdn/react/qr-code/index.js +3 -3
  433. package/cdn/react/radio/index.js +4 -4
  434. package/cdn/react/radio-button/index.js +3 -3
  435. package/cdn/react/radio-group/index.js +4 -4
  436. package/cdn/react/range/index.js +3 -3
  437. package/cdn/react/rating/index.js +4 -4
  438. package/cdn/react/relative-time/index.js +3 -3
  439. package/cdn/react/resize-observer/index.js +3 -3
  440. package/cdn/react/secondary-navigation/index.js +5 -5
  441. package/cdn/react/secondary-navigation-item/index.js +3 -3
  442. package/cdn/react/select/index.js +8 -7
  443. package/cdn/react/skeleton/index.js +3 -3
  444. package/cdn/react/social-link/index.js +5 -5
  445. package/cdn/react/spinner/index.js +3 -3
  446. package/cdn/react/split-panel/index.js +3 -3
  447. package/cdn/react/switch/index.js +3 -3
  448. package/cdn/react/tab/index.js +5 -5
  449. package/cdn/react/tab-group/index.js +6 -6
  450. package/cdn/react/tab-panel/index.js +3 -3
  451. package/cdn/react/tag/index.js +5 -5
  452. package/cdn/react/textarea/index.js +3 -3
  453. package/cdn/react/time-picker/index.js +7 -6
  454. package/cdn/react/tooltip/index.js +5 -4
  455. package/cdn/react/tree/index.js +8 -8
  456. package/cdn/react/tree-item/index.js +6 -6
  457. package/cdn/react/visually-hidden/index.js +3 -3
  458. package/cdn/types/vue/index.d.ts +64 -0
  459. package/cdn/vscode.html-custom-data.json +56 -0
  460. package/cdn/web-types.json +120 -1
  461. package/dist/chunks/chunk.23B3PRNQ.js +21 -0
  462. package/dist/chunks/chunk.2BFDJCQ5.js +11 -0
  463. package/dist/chunks/chunk.2CAM3BID.js +11 -0
  464. package/dist/chunks/chunk.2CDIYCB5.js +33 -0
  465. package/dist/chunks/chunk.2D5H2LDM.js +24 -0
  466. package/dist/chunks/chunk.2J27ND7U.js +115 -0
  467. package/dist/chunks/chunk.2MFDR7BC.js +63 -0
  468. package/dist/chunks/chunk.2PESSHEV.js +813 -0
  469. package/dist/chunks/chunk.2RTAAJ42.js +24 -0
  470. package/dist/chunks/chunk.2X2VVRRE.js +119 -0
  471. package/dist/chunks/chunk.34LSHHON.js +11 -0
  472. package/dist/chunks/chunk.3EWZT6AX.js +11 -0
  473. package/dist/chunks/chunk.43FNRCCE.js +33 -0
  474. package/dist/chunks/chunk.45HH245F.js +11 -0
  475. package/dist/chunks/chunk.4DOZMGX5.js +11 -0
  476. package/dist/chunks/chunk.4E4JKTDP.js +11 -0
  477. package/dist/chunks/chunk.4KE3QC7R.js +21 -0
  478. package/dist/chunks/chunk.4TR6IKMA.js +72 -0
  479. package/dist/chunks/chunk.4TWRSL7P.js +11 -0
  480. package/dist/chunks/chunk.57QDPDRT.js +11 -0
  481. package/dist/chunks/chunk.5H3JUKWF.js +27 -0
  482. package/dist/chunks/chunk.5IQWA736.js +11 -0
  483. package/dist/chunks/chunk.5MPSCKDI.js +24 -0
  484. package/dist/chunks/chunk.5MTCC5ZQ.js +11 -0
  485. package/dist/chunks/chunk.5SMEBVQK.js +26 -0
  486. package/dist/chunks/chunk.5WLCRUTG.js +100 -0
  487. package/dist/chunks/chunk.64JHQYM6.js +11 -0
  488. package/dist/chunks/chunk.6635K23D.js +151 -0
  489. package/dist/chunks/chunk.6AKF7ZZY.js +25 -0
  490. package/dist/chunks/chunk.6EZP7BQA.js +11 -0
  491. package/dist/chunks/chunk.6GOSQQNM.js +294 -0
  492. package/dist/chunks/chunk.6IFMZSJR.js +50 -0
  493. package/dist/chunks/chunk.6OQRQNW7.js +29 -0
  494. package/dist/chunks/chunk.6OS3FXEG.js +361 -0
  495. package/dist/chunks/chunk.6PWL6EWN.js +11 -0
  496. package/dist/chunks/chunk.73YXWCKL.js +198 -0
  497. package/dist/chunks/chunk.74XOBYSH.js +11 -0
  498. package/dist/chunks/chunk.7A6DYGGD.js +27 -0
  499. package/dist/chunks/chunk.7EQ5SZP4.js +25 -0
  500. package/dist/chunks/chunk.7FIK5UPX.js +109 -0
  501. package/dist/chunks/chunk.7IP3L6XX.js +11 -0
  502. package/dist/chunks/chunk.7JWWXKFL.js +337 -0
  503. package/dist/chunks/chunk.7PKIN2P5.js +75 -0
  504. package/dist/chunks/chunk.A5JA3S2O.js +11 -0
  505. package/dist/chunks/chunk.AAFPXU4A.js +961 -0
  506. package/dist/chunks/chunk.AM5GWNT6.js +11 -0
  507. package/dist/chunks/chunk.AX72IWVT.js +11 -0
  508. package/dist/chunks/chunk.B6ZYQ3B3.js +11 -0
  509. package/dist/chunks/chunk.BAFFM27P.js +11 -0
  510. package/dist/chunks/chunk.BAONZJ7Z.js +29 -0
  511. package/dist/chunks/chunk.BCHRQTSC.js +11 -0
  512. package/dist/chunks/chunk.BETCLSJX.js +94 -0
  513. package/dist/chunks/chunk.BJSUZFYY.js +26 -0
  514. package/dist/chunks/chunk.BLVF2IRY.js +21 -0
  515. package/dist/chunks/chunk.BP5GUX2X.js +93 -0
  516. package/dist/chunks/chunk.BSGP2754.js +11 -0
  517. package/dist/chunks/chunk.C5A63XOR.js +24 -0
  518. package/dist/chunks/chunk.DHNPZF2D.js +91 -0
  519. package/dist/chunks/chunk.DKZ3YLJW.js +111 -0
  520. package/dist/chunks/chunk.DLOUJ5XP.js +11 -0
  521. package/dist/chunks/chunk.DNTFTXRR.js +11 -0
  522. package/dist/chunks/chunk.DUESER7O.js +11 -0
  523. package/dist/chunks/chunk.E4ICGAM3.js +11 -0
  524. package/dist/chunks/chunk.EAPYJL5Y.js +21 -0
  525. package/dist/chunks/chunk.EBEIAHOH.js +11 -0
  526. package/dist/chunks/chunk.ECU2QCA7.js +24 -0
  527. package/dist/chunks/chunk.EFSJRWYV.js +11 -0
  528. package/dist/chunks/chunk.EGSFVHT4.js +25 -0
  529. package/dist/chunks/chunk.EJDUATVY.js +11 -0
  530. package/dist/chunks/chunk.EL2GK6UM.js +11 -0
  531. package/dist/chunks/chunk.EMOHJ74K.js +21 -0
  532. package/dist/chunks/chunk.EN3UJIB6.js +286 -0
  533. package/dist/chunks/chunk.ENTVW2CK.js +75 -0
  534. package/dist/chunks/chunk.FJN5Z5UB.js +21 -0
  535. package/dist/chunks/chunk.FJODVYSY.js +213 -0
  536. package/dist/chunks/chunk.FNJDUSB2.js +25 -0
  537. package/dist/chunks/chunk.FRWH6BKC.js +100 -0
  538. package/dist/chunks/chunk.FTBXON56.js +315 -0
  539. package/dist/chunks/chunk.FW64PXFD.js +21 -0
  540. package/dist/chunks/chunk.FY2E2UYV.js +21 -0
  541. package/dist/chunks/chunk.G5YGRF7P.js +293 -0
  542. package/dist/chunks/chunk.GI5NS4AB.js +21 -0
  543. package/dist/chunks/chunk.GSEZO3VY.js +11 -0
  544. package/dist/chunks/chunk.GXVURZVO.js +11 -0
  545. package/dist/chunks/chunk.GZCRCF6L.js +11 -0
  546. package/dist/chunks/chunk.GZNDKJH2.js +24 -0
  547. package/dist/chunks/chunk.H3F5QY2N.js +11 -0
  548. package/dist/chunks/chunk.H6K3ACGL.js +80 -0
  549. package/dist/chunks/chunk.HC3MMHUF.js +247 -0
  550. package/dist/chunks/chunk.HC74XFLQ.js +50 -0
  551. package/dist/chunks/chunk.HHPFZFB7.js +11 -0
  552. package/dist/chunks/chunk.HJDURLPX.js +21 -0
  553. package/dist/chunks/chunk.HKIL4B3J.js +24 -0
  554. package/dist/chunks/chunk.HPGZ4M75.js +26 -0
  555. package/dist/chunks/chunk.HRHOVFRY.js +11 -0
  556. package/dist/chunks/chunk.HYXDQBQE.js +59 -0
  557. package/dist/chunks/chunk.I2PWEABL.js +21 -0
  558. package/dist/chunks/chunk.I3T374JB.js +22 -0
  559. package/dist/chunks/chunk.I54ZCGU6.js +33 -0
  560. package/dist/chunks/chunk.IA4FR3UV.js +181 -0
  561. package/dist/chunks/chunk.IERWZNXV.js +28 -0
  562. package/dist/chunks/chunk.IGWQKOMW.js +11 -0
  563. package/dist/chunks/chunk.IHSI7JQP.js +24 -0
  564. package/dist/chunks/chunk.IHTRVJLK.js +130 -0
  565. package/dist/chunks/chunk.IITTLM5I.js +11 -0
  566. package/dist/chunks/chunk.IKJIYLDT.js +11 -0
  567. package/dist/chunks/chunk.ILH2OQTZ.js +147 -0
  568. package/dist/chunks/chunk.ILYMPUTY.js +21 -0
  569. package/dist/chunks/chunk.IOAADNY7.js +448 -0
  570. package/dist/chunks/chunk.IQBPRLM4.js +11 -0
  571. package/dist/chunks/chunk.IWKF3CEH.js +290 -0
  572. package/dist/chunks/chunk.J3QHQZMT.js +11 -0
  573. package/dist/chunks/chunk.J6BOQ55L.js +276 -0
  574. package/dist/chunks/chunk.J7UZOWXD.js +21 -0
  575. package/dist/chunks/chunk.JI633SZZ.js +27 -0
  576. package/dist/chunks/chunk.JVP3ICGA.js +34 -0
  577. package/dist/chunks/chunk.JYFCQM7F.js +11 -0
  578. package/dist/chunks/chunk.K2XEINJR.js +29 -0
  579. package/dist/chunks/chunk.KKYA7SDJ.js +11 -0
  580. package/dist/chunks/chunk.KSG56NI3.js +117 -0
  581. package/dist/chunks/chunk.KSMGMR3N.js +11 -0
  582. package/dist/chunks/chunk.KU2ADIBR.js +11 -0
  583. package/dist/chunks/chunk.KZZNGJYU.js +85 -0
  584. package/dist/chunks/chunk.L2YDUOND.js +25 -0
  585. package/dist/chunks/chunk.L3B7PZ2J.js +11 -0
  586. package/dist/chunks/chunk.L3L4IEGI.js +255 -0
  587. package/dist/chunks/chunk.L4CACOV4.js +323 -0
  588. package/dist/chunks/chunk.L5JSMYZ5.js +192 -0
  589. package/dist/chunks/chunk.L5OVODUB.js +62 -0
  590. package/dist/chunks/chunk.L6MZO4MJ.js +28 -0
  591. package/dist/chunks/chunk.LD7AX7JZ.js +27 -0
  592. package/dist/chunks/chunk.LDBT7PJY.js +231 -0
  593. package/dist/chunks/chunk.LK6P25LO.js +417 -0
  594. package/dist/chunks/chunk.LQ7OA3LY.js +178 -0
  595. package/dist/chunks/chunk.M5OGQHQT.js +135 -0
  596. package/dist/chunks/chunk.MAF2JIFT.js +11 -0
  597. package/dist/chunks/chunk.MGDZEBMD.js +11 -0
  598. package/dist/chunks/chunk.MNKTAVDN.js +25 -0
  599. package/dist/chunks/chunk.MP7BD7RD.js +25 -0
  600. package/dist/chunks/chunk.MS5PZMCE.js +21 -0
  601. package/dist/chunks/chunk.MSJKU72Y.js +11 -0
  602. package/dist/chunks/chunk.MVTILUXO.js +550 -0
  603. package/dist/chunks/chunk.MWHKYG4B.js +42 -0
  604. package/dist/chunks/chunk.MWUWSNHI.js +274 -0
  605. package/dist/chunks/chunk.MZREZELP.js +837 -0
  606. package/dist/chunks/chunk.N7GJ7OYA.js +24 -0
  607. package/dist/chunks/chunk.NBCU3SS5.js +11 -0
  608. package/dist/chunks/chunk.NBDPEF7C.js +27 -0
  609. package/dist/chunks/chunk.NNIXBPUI.js +21 -0
  610. package/dist/chunks/chunk.NQVNH4R6.js +11 -0
  611. package/dist/chunks/chunk.NRAS7P2U.js +21 -0
  612. package/dist/chunks/chunk.NRKIW7RJ.js +11 -0
  613. package/dist/chunks/chunk.NT3AVAAG.js +26 -0
  614. package/dist/chunks/chunk.O7YUF5FX.js +21 -0
  615. package/dist/chunks/chunk.OP6E2G7J.js +21 -0
  616. package/dist/chunks/chunk.OPDOLPH4.js +11 -0
  617. package/dist/chunks/chunk.OXNHDT6W.js +109 -0
  618. package/dist/chunks/chunk.OXPYYSWN.js +11 -0
  619. package/dist/chunks/chunk.PBU4BTCN.js +11 -0
  620. package/dist/chunks/chunk.PQARUP7W.js +33 -0
  621. package/dist/chunks/chunk.PVGCD2Q2.js +11 -0
  622. package/dist/chunks/chunk.Q2RV5X6V.js +280 -0
  623. package/dist/chunks/chunk.Q2WYCWMD.js +28 -0
  624. package/dist/chunks/chunk.Q542GOVC.js +11 -0
  625. package/dist/chunks/chunk.Q7U5UMMK.js +21 -0
  626. package/dist/chunks/chunk.QBN7NUUG.js +896 -0
  627. package/dist/chunks/chunk.QHGHVZHA.js +116 -0
  628. package/dist/chunks/chunk.QKHNRFVC.js +11 -0
  629. package/dist/chunks/chunk.QX6LHGML.js +311 -0
  630. package/dist/chunks/chunk.R5WCRZHV.js +29 -0
  631. package/dist/chunks/chunk.R6VNMFRI.js +21 -0
  632. package/dist/chunks/chunk.RCOKUGZX.js +25 -0
  633. package/dist/chunks/chunk.RDZEX3ZQ.js +21 -0
  634. package/dist/chunks/chunk.RIKL6ZIW.js +11 -0
  635. package/dist/chunks/chunk.RPNQD7PE.js +27 -0
  636. package/dist/chunks/chunk.RUNALYZG.js +25 -0
  637. package/dist/chunks/chunk.SJOVNMMS.js +134 -0
  638. package/dist/chunks/chunk.SMABOCLP.js +11 -0
  639. package/dist/chunks/chunk.SNBTGJPK.js +11 -0
  640. package/dist/chunks/chunk.SNOQEOOH.js +21 -0
  641. package/dist/chunks/chunk.SR6F7TBC.js +41 -0
  642. package/dist/chunks/chunk.SVMOKQYZ.js +45 -0
  643. package/dist/chunks/chunk.SVQI3ERL.js +227 -0
  644. package/dist/chunks/chunk.SYTHADNU.js +225 -0
  645. package/dist/chunks/chunk.T4S4ASWJ.js +24 -0
  646. package/dist/chunks/chunk.TB5XI6AJ.js +11 -0
  647. package/dist/chunks/chunk.TGCR3AEN.js +45 -0
  648. package/dist/chunks/chunk.THBDIHQH.js +73 -0
  649. package/dist/chunks/chunk.TJUJ4KPX.js +28 -0
  650. package/dist/chunks/chunk.TV2G2PQI.js +11 -0
  651. package/dist/chunks/chunk.TZJ2ULMU.js +21 -0
  652. package/dist/chunks/chunk.U2ILIPAN.js +397 -0
  653. package/dist/chunks/chunk.U4ZE6L5R.js +11 -0
  654. package/dist/chunks/chunk.U5YT2OJS.js +949 -0
  655. package/dist/chunks/chunk.UA3BKXHN.js +25 -0
  656. package/dist/chunks/chunk.UI3ZMTLI.js +87 -0
  657. package/dist/chunks/chunk.UJ3YTD6J.js +11 -0
  658. package/dist/chunks/chunk.UMF2HYHI.js +21 -0
  659. package/dist/chunks/chunk.UOFTHH5I.js +11 -0
  660. package/dist/chunks/chunk.UXI4HYWM.js +170 -0
  661. package/dist/chunks/chunk.UZRRGCLV.js +21 -0
  662. package/dist/chunks/chunk.V3LMKHRL.js +67 -0
  663. package/dist/chunks/chunk.VAZKSADT.js +28 -0
  664. package/dist/chunks/chunk.VIO4QTEX.js +375 -0
  665. package/dist/chunks/chunk.VIPSAR2M.js +82 -0
  666. package/dist/chunks/chunk.VJJCJL5J.js +27 -0
  667. package/dist/chunks/chunk.VMKGKQTC.js +21 -0
  668. package/dist/chunks/chunk.WGFKKR55.js +370 -0
  669. package/dist/chunks/chunk.WM36HTPK.js +24 -0
  670. package/dist/chunks/chunk.WMSOJXFL.js +27 -0
  671. package/dist/chunks/chunk.WWDS3BA2.js +11 -0
  672. package/dist/chunks/chunk.XFFM4OOJ.js +11 -0
  673. package/dist/chunks/chunk.XNSXR74R.js +11 -0
  674. package/dist/chunks/chunk.XQ7S64CT.js +21 -0
  675. package/dist/chunks/chunk.Y3QISL55.js +259 -0
  676. package/dist/chunks/chunk.Y43LQCCX.js +11 -0
  677. package/dist/chunks/chunk.YBQTKK6G.js +491 -0
  678. package/dist/chunks/chunk.YW3ON46Q.js +11 -0
  679. package/dist/chunks/chunk.Z52SDK5E.js +384 -0
  680. package/dist/chunks/chunk.ZAWXGRFL.js +11 -0
  681. package/dist/chunks/chunk.ZCMAJSHW.js +24 -0
  682. package/dist/chunks/chunk.ZO2G6DAQ.js +21 -0
  683. package/dist/chunks/chunk.ZRSPRNXV.js +11 -0
  684. package/dist/chunks/chunk.ZSDCCLWP.js +22 -0
  685. package/dist/components/alert/alert.component.js +4 -4
  686. package/dist/components/alert/alert.js +5 -5
  687. package/dist/components/animated-image/animated-image.component.js +3 -3
  688. package/dist/components/animated-image/animated-image.js +4 -4
  689. package/dist/components/animation/animation.component.js +2 -2
  690. package/dist/components/animation/animation.js +3 -3
  691. package/dist/components/avatar/avatar.component.js +3 -3
  692. package/dist/components/avatar/avatar.js +4 -4
  693. package/dist/components/badge/badge.component.js +2 -2
  694. package/dist/components/badge/badge.js +3 -3
  695. package/dist/components/breadcrumb/breadcrumb.component.js +9 -9
  696. package/dist/components/breadcrumb/breadcrumb.js +10 -10
  697. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  698. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  699. package/dist/components/button/button.component.js +4 -4
  700. package/dist/components/button/button.js +5 -5
  701. package/dist/components/button-group/button-group.component.js +2 -2
  702. package/dist/components/button-group/button-group.js +3 -3
  703. package/dist/components/card/card.component.js +2 -2
  704. package/dist/components/card/card.js +3 -3
  705. package/dist/components/carousel/carousel.component.js +3 -3
  706. package/dist/components/carousel/carousel.js +4 -4
  707. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  708. package/dist/components/carousel-item/carousel-item.js +3 -3
  709. package/dist/components/checkbox/checkbox.component.js +3 -3
  710. package/dist/components/checkbox/checkbox.js +4 -4
  711. package/dist/components/color-picker/color-picker.component.js +10 -10
  712. package/dist/components/color-picker/color-picker.js +11 -11
  713. package/dist/components/combobox/combobox.component.js +8 -8
  714. package/dist/components/combobox/combobox.js +9 -9
  715. package/dist/components/copy-button/copy-button.component.js +5 -5
  716. package/dist/components/copy-button/copy-button.js +6 -6
  717. package/dist/components/data-table/data-table.component.js +5 -5
  718. package/dist/components/data-table/data-table.js +6 -6
  719. package/dist/components/data-table-column/data-table-column.component.js +2 -2
  720. package/dist/components/data-table-column/data-table-column.js +3 -3
  721. package/dist/components/date-picker/date-picker.component.js +5 -5
  722. package/dist/components/date-picker/date-picker.js +6 -6
  723. package/dist/components/details/details.component.js +3 -3
  724. package/dist/components/details/details.js +4 -4
  725. package/dist/components/dialog/dialog.component.js +4 -4
  726. package/dist/components/dialog/dialog.js +5 -5
  727. package/dist/components/divider/divider.component.js +2 -2
  728. package/dist/components/divider/divider.js +3 -3
  729. package/dist/components/drawer/drawer.component.js +4 -4
  730. package/dist/components/drawer/drawer.js +5 -5
  731. package/dist/components/dropdown/dropdown.component.js +3 -3
  732. package/dist/components/dropdown/dropdown.js +4 -4
  733. package/dist/components/footer/footer.component.js +2 -2
  734. package/dist/components/footer/footer.js +3 -3
  735. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  736. package/dist/components/format-bytes/format-bytes.js +3 -3
  737. package/dist/components/format-date/format-date.component.js +2 -2
  738. package/dist/components/format-date/format-date.js +3 -3
  739. package/dist/components/format-number/format-number.component.js +2 -2
  740. package/dist/components/format-number/format-number.js +3 -3
  741. package/dist/components/header/header.component.js +4 -4
  742. package/dist/components/header/header.js +5 -5
  743. package/dist/components/icon/icon.component.js +2 -2
  744. package/dist/components/icon/icon.js +3 -3
  745. package/dist/components/icon-button/icon-button.component.js +3 -3
  746. package/dist/components/icon-button/icon-button.js +4 -4
  747. package/dist/components/image-comparer/image-comparer.component.js +3 -3
  748. package/dist/components/image-comparer/image-comparer.js +4 -4
  749. package/dist/components/include/include.component.js +2 -2
  750. package/dist/components/include/include.js +3 -3
  751. package/dist/components/input/input.component.js +3 -3
  752. package/dist/components/input/input.js +4 -4
  753. package/dist/components/logo/logo.component.js +2 -2
  754. package/dist/components/logo/logo.js +3 -3
  755. package/dist/components/menu/menu.component.js +2 -2
  756. package/dist/components/menu/menu.js +3 -3
  757. package/dist/components/menu-item/menu-item.component.js +5 -5
  758. package/dist/components/menu-item/menu-item.js +6 -6
  759. package/dist/components/menu-label/menu-label.component.js +2 -2
  760. package/dist/components/menu-label/menu-label.js +3 -3
  761. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  762. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  763. package/dist/components/option/option.component.js +3 -3
  764. package/dist/components/option/option.js +4 -4
  765. package/dist/components/pagination/pagination.component.js +4 -4
  766. package/dist/components/pagination/pagination.js +5 -5
  767. package/dist/components/popover/popover.component.d.ts +76 -0
  768. package/dist/components/popover/popover.component.js +16 -0
  769. package/dist/components/popover/popover.d.ts +8 -0
  770. package/dist/components/popover/popover.js +17 -0
  771. package/dist/components/popover/popover.styles.d.ts +2 -0
  772. package/dist/components/popover/popover.styles.js +7 -0
  773. package/dist/components/popup/popup.component.js +2 -2
  774. package/dist/components/popup/popup.js +3 -3
  775. package/dist/components/primary-navigation/primary-navigation.component.js +3 -3
  776. package/dist/components/primary-navigation/primary-navigation.js +4 -4
  777. package/dist/components/primary-navigation-item/primary-navigation-item.component.js +5 -5
  778. package/dist/components/primary-navigation-item/primary-navigation-item.js +6 -6
  779. package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
  780. package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
  781. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  782. package/dist/components/progress-bar/progress-bar.js +3 -3
  783. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  784. package/dist/components/progress-ring/progress-ring.js +3 -3
  785. package/dist/components/qr-code/qr-code.component.js +2 -2
  786. package/dist/components/qr-code/qr-code.js +3 -3
  787. package/dist/components/radio/radio.component.js +3 -3
  788. package/dist/components/radio/radio.js +4 -4
  789. package/dist/components/radio-button/radio-button.component.js +2 -2
  790. package/dist/components/radio-button/radio-button.js +3 -3
  791. package/dist/components/radio-group/radio-group.component.js +3 -3
  792. package/dist/components/radio-group/radio-group.js +4 -4
  793. package/dist/components/range/range.component.js +2 -2
  794. package/dist/components/range/range.js +3 -3
  795. package/dist/components/rating/rating.component.js +3 -3
  796. package/dist/components/rating/rating.js +4 -4
  797. package/dist/components/relative-time/relative-time.component.js +2 -2
  798. package/dist/components/relative-time/relative-time.js +3 -3
  799. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  800. package/dist/components/resize-observer/resize-observer.js +3 -3
  801. package/dist/components/secondary-navigation/secondary-navigation.component.js +4 -4
  802. package/dist/components/secondary-navigation/secondary-navigation.js +5 -5
  803. package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
  804. package/dist/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
  805. package/dist/components/select/select.component.js +6 -6
  806. package/dist/components/select/select.js +7 -7
  807. package/dist/components/skeleton/skeleton.component.js +2 -2
  808. package/dist/components/skeleton/skeleton.js +3 -3
  809. package/dist/components/social-link/social-link.component.js +4 -4
  810. package/dist/components/social-link/social-link.js +5 -5
  811. package/dist/components/spinner/spinner.component.js +2 -2
  812. package/dist/components/spinner/spinner.js +3 -3
  813. package/dist/components/split-panel/split-panel.component.js +2 -2
  814. package/dist/components/split-panel/split-panel.js +3 -3
  815. package/dist/components/switch/switch.component.js +2 -2
  816. package/dist/components/switch/switch.js +3 -3
  817. package/dist/components/tab/tab.component.js +4 -4
  818. package/dist/components/tab/tab.js +5 -5
  819. package/dist/components/tab-group/tab-group.component.js +5 -5
  820. package/dist/components/tab-group/tab-group.js +6 -6
  821. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  822. package/dist/components/tab-panel/tab-panel.js +3 -3
  823. package/dist/components/tag/tag.component.js +4 -4
  824. package/dist/components/tag/tag.js +5 -5
  825. package/dist/components/textarea/textarea.component.js +2 -2
  826. package/dist/components/textarea/textarea.js +3 -3
  827. package/dist/components/time-picker/time-picker.component.js +5 -5
  828. package/dist/components/time-picker/time-picker.js +6 -6
  829. package/dist/components/tooltip/tooltip.component.js +3 -3
  830. package/dist/components/tooltip/tooltip.js +4 -4
  831. package/dist/components/tree/tree.component.js +7 -7
  832. package/dist/components/tree/tree.js +8 -8
  833. package/dist/components/tree-item/tree-item.component.js +5 -5
  834. package/dist/components/tree-item/tree-item.js +6 -6
  835. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  836. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  837. package/dist/custom-elements.json +328 -1
  838. package/dist/cw-elements.d.ts +1 -0
  839. package/dist/cw-elements.js +184 -178
  840. package/dist/react/alert/index.js +5 -5
  841. package/dist/react/animated-image/index.js +4 -4
  842. package/dist/react/animation/index.js +3 -3
  843. package/dist/react/avatar/index.js +4 -4
  844. package/dist/react/badge/index.js +3 -3
  845. package/dist/react/breadcrumb/index.js +10 -10
  846. package/dist/react/breadcrumb-item/index.js +3 -3
  847. package/dist/react/button/index.js +5 -5
  848. package/dist/react/button-group/index.js +3 -3
  849. package/dist/react/card/index.js +3 -3
  850. package/dist/react/carousel/index.js +4 -4
  851. package/dist/react/carousel-item/index.js +3 -3
  852. package/dist/react/checkbox/index.js +4 -4
  853. package/dist/react/color-picker/index.js +11 -11
  854. package/dist/react/combobox/index.js +9 -9
  855. package/dist/react/copy-button/index.js +6 -6
  856. package/dist/react/data-table/index.js +6 -6
  857. package/dist/react/data-table-column/index.js +3 -3
  858. package/dist/react/date-picker/index.js +6 -6
  859. package/dist/react/details/index.js +4 -4
  860. package/dist/react/dialog/index.js +5 -5
  861. package/dist/react/divider/index.js +3 -3
  862. package/dist/react/drawer/index.js +5 -5
  863. package/dist/react/dropdown/index.js +4 -4
  864. package/dist/react/footer/index.js +3 -3
  865. package/dist/react/format-bytes/index.js +3 -3
  866. package/dist/react/format-date/index.js +3 -3
  867. package/dist/react/format-number/index.js +3 -3
  868. package/dist/react/header/index.js +5 -5
  869. package/dist/react/icon/index.js +3 -3
  870. package/dist/react/icon-button/index.js +4 -4
  871. package/dist/react/image-comparer/index.js +4 -4
  872. package/dist/react/include/index.js +3 -3
  873. package/dist/react/index.d.ts +1 -0
  874. package/dist/react/index.js +202 -196
  875. package/dist/react/input/index.js +4 -4
  876. package/dist/react/logo/index.js +3 -3
  877. package/dist/react/menu/index.js +3 -3
  878. package/dist/react/menu-item/index.js +6 -6
  879. package/dist/react/menu-label/index.js +3 -3
  880. package/dist/react/mutation-observer/index.js +3 -3
  881. package/dist/react/option/index.js +4 -4
  882. package/dist/react/pagination/index.js +5 -5
  883. package/dist/react/popover/index.d.ts +45 -0
  884. package/dist/react/popover/index.js +17 -0
  885. package/dist/react/popup/index.js +3 -3
  886. package/dist/react/primary-navigation/index.js +4 -4
  887. package/dist/react/primary-navigation-item/index.js +6 -6
  888. package/dist/react/primary-navigation-menu/index.js +3 -3
  889. package/dist/react/progress-bar/index.js +3 -3
  890. package/dist/react/progress-ring/index.js +3 -3
  891. package/dist/react/qr-code/index.js +3 -3
  892. package/dist/react/radio/index.js +4 -4
  893. package/dist/react/radio-button/index.js +3 -3
  894. package/dist/react/radio-group/index.js +4 -4
  895. package/dist/react/range/index.js +3 -3
  896. package/dist/react/rating/index.js +4 -4
  897. package/dist/react/relative-time/index.js +3 -3
  898. package/dist/react/resize-observer/index.js +3 -3
  899. package/dist/react/secondary-navigation/index.js +5 -5
  900. package/dist/react/secondary-navigation-item/index.js +3 -3
  901. package/dist/react/select/index.js +7 -7
  902. package/dist/react/skeleton/index.js +3 -3
  903. package/dist/react/social-link/index.js +5 -5
  904. package/dist/react/spinner/index.js +3 -3
  905. package/dist/react/split-panel/index.js +3 -3
  906. package/dist/react/switch/index.js +3 -3
  907. package/dist/react/tab/index.js +5 -5
  908. package/dist/react/tab-group/index.js +6 -6
  909. package/dist/react/tab-panel/index.js +3 -3
  910. package/dist/react/tag/index.js +5 -5
  911. package/dist/react/textarea/index.js +3 -3
  912. package/dist/react/time-picker/index.js +6 -6
  913. package/dist/react/tooltip/index.js +4 -4
  914. package/dist/react/tree/index.js +8 -8
  915. package/dist/react/tree-item/index.js +6 -6
  916. package/dist/react/visually-hidden/index.js +3 -3
  917. package/dist/types/vue/index.d.ts +64 -0
  918. package/dist/vscode.html-custom-data.json +56 -0
  919. package/dist/web-types.json +120 -1
  920. package/package.json +1 -1
  921. package/cdn/chunks/chunk.2APO6LES.js +0 -11
  922. package/cdn/chunks/chunk.2KVDZBLS.js +0 -28
  923. package/cdn/chunks/chunk.2PPULGPI.js +0 -385
  924. package/cdn/chunks/chunk.2W5GBWHB.js +0 -330
  925. package/cdn/chunks/chunk.2Y3PG44N.js +0 -11
  926. package/cdn/chunks/chunk.32S2LKA4.js +0 -25
  927. package/cdn/chunks/chunk.3DIXNCGQ.js +0 -77
  928. package/cdn/chunks/chunk.3HXQR5BJ.js +0 -11
  929. package/cdn/chunks/chunk.3JMR4ZAQ.js +0 -11
  930. package/cdn/chunks/chunk.3LI4BG27.js +0 -26
  931. package/cdn/chunks/chunk.3RGJONN2.js +0 -127
  932. package/cdn/chunks/chunk.3UQVCKHZ.js +0 -292
  933. package/cdn/chunks/chunk.3YHS2PIP.js +0 -11
  934. package/cdn/chunks/chunk.43HTTYZM.js +0 -236
  935. package/cdn/chunks/chunk.45PR6WCW.js +0 -24
  936. package/cdn/chunks/chunk.4GWM2WYP.js +0 -33
  937. package/cdn/chunks/chunk.4HH65NR7.js +0 -11
  938. package/cdn/chunks/chunk.4OB3TWIY.js +0 -11
  939. package/cdn/chunks/chunk.4VJMDDY5.js +0 -21
  940. package/cdn/chunks/chunk.4Z2LKZGH.js +0 -11
  941. package/cdn/chunks/chunk.54ZFUPYT.js +0 -279
  942. package/cdn/chunks/chunk.573STNWT.js +0 -402
  943. package/cdn/chunks/chunk.5LY6YQVL.js +0 -11
  944. package/cdn/chunks/chunk.5T73NMLU.js +0 -297
  945. package/cdn/chunks/chunk.5THYRCBJ.js +0 -25
  946. package/cdn/chunks/chunk.5U2UCPJW.js +0 -27
  947. package/cdn/chunks/chunk.6MNHODOF.js +0 -21
  948. package/cdn/chunks/chunk.6PDNBVAN.js +0 -50
  949. package/cdn/chunks/chunk.72VKKX7D.js +0 -231
  950. package/cdn/chunks/chunk.73JWJXZ3.js +0 -21
  951. package/cdn/chunks/chunk.762BAACL.js +0 -11
  952. package/cdn/chunks/chunk.76XORGKO.js +0 -120
  953. package/cdn/chunks/chunk.7DSD5Z4U.js +0 -25
  954. package/cdn/chunks/chunk.7NLBJRYY.js +0 -24
  955. package/cdn/chunks/chunk.7QBHZ7LM.js +0 -24
  956. package/cdn/chunks/chunk.7T4Y6NZ5.js +0 -11
  957. package/cdn/chunks/chunk.A3ZZT45Z.js +0 -29
  958. package/cdn/chunks/chunk.ABFHM4ZR.js +0 -11
  959. package/cdn/chunks/chunk.ACLBTDZD.js +0 -11
  960. package/cdn/chunks/chunk.ADXUZTSR.js +0 -24
  961. package/cdn/chunks/chunk.AV7RUJOC.js +0 -455
  962. package/cdn/chunks/chunk.AVE6W64K.js +0 -11
  963. package/cdn/chunks/chunk.AX5XNIZ6.js +0 -724
  964. package/cdn/chunks/chunk.AXFAXWM3.js +0 -185
  965. package/cdn/chunks/chunk.AYNXQISB.js +0 -113
  966. package/cdn/chunks/chunk.B43A25VV.js +0 -24
  967. package/cdn/chunks/chunk.B72IWJ6V.js +0 -11
  968. package/cdn/chunks/chunk.BCSH4XBC.js +0 -27
  969. package/cdn/chunks/chunk.BCYNOUDN.js +0 -499
  970. package/cdn/chunks/chunk.BHKBDOS4.js +0 -49
  971. package/cdn/chunks/chunk.BIYSZ4ZN.js +0 -114
  972. package/cdn/chunks/chunk.BLFRBPVQ.js +0 -11
  973. package/cdn/chunks/chunk.BN2G2XE5.js +0 -21
  974. package/cdn/chunks/chunk.BXRCWTBU.js +0 -21
  975. package/cdn/chunks/chunk.C6QY3LK2.js +0 -122
  976. package/cdn/chunks/chunk.CDNJTLZC.js +0 -11
  977. package/cdn/chunks/chunk.CEDWWTEF.js +0 -11
  978. package/cdn/chunks/chunk.CJ3HP3ZP.js +0 -33
  979. package/cdn/chunks/chunk.CKPSN2UN.js +0 -346
  980. package/cdn/chunks/chunk.CNF6N43W.js +0 -120
  981. package/cdn/chunks/chunk.COI2LYAP.js +0 -174
  982. package/cdn/chunks/chunk.CQUD7UOX.js +0 -153
  983. package/cdn/chunks/chunk.CWPSE6OE.js +0 -233
  984. package/cdn/chunks/chunk.D2R3AGI5.js +0 -95
  985. package/cdn/chunks/chunk.D4JK63LI.js +0 -11
  986. package/cdn/chunks/chunk.D7642L3K.js +0 -197
  987. package/cdn/chunks/chunk.DHLNZDE2.js +0 -11
  988. package/cdn/chunks/chunk.DJYP2P2F.js +0 -11
  989. package/cdn/chunks/chunk.DNR7LTFH.js +0 -21
  990. package/cdn/chunks/chunk.DTJKGSOX.js +0 -21
  991. package/cdn/chunks/chunk.DUK7JEHH.js +0 -24
  992. package/cdn/chunks/chunk.E2VAS33Z.js +0 -24
  993. package/cdn/chunks/chunk.EBWZEVDL.js +0 -186
  994. package/cdn/chunks/chunk.EMX7P6ZD.js +0 -21
  995. package/cdn/chunks/chunk.ESK4FCX5.js +0 -91
  996. package/cdn/chunks/chunk.F73JP7B3.js +0 -11
  997. package/cdn/chunks/chunk.FL3XBDZ7.js +0 -27
  998. package/cdn/chunks/chunk.FPUFC6TM.js +0 -21
  999. package/cdn/chunks/chunk.FQPDPUK7.js +0 -27
  1000. package/cdn/chunks/chunk.FTFXWXEN.js +0 -26
  1001. package/cdn/chunks/chunk.FXDL5CPY.js +0 -79
  1002. package/cdn/chunks/chunk.GK6JDEFI.js +0 -11
  1003. package/cdn/chunks/chunk.GKAW5TGA.js +0 -25
  1004. package/cdn/chunks/chunk.GMYPZA3I.js +0 -11
  1005. package/cdn/chunks/chunk.GNWZKGGX.js +0 -378
  1006. package/cdn/chunks/chunk.H4Q5UQ4G.js +0 -27
  1007. package/cdn/chunks/chunk.H5T3HBX6.js +0 -21
  1008. package/cdn/chunks/chunk.HBUFRERG.js +0 -33
  1009. package/cdn/chunks/chunk.HBUPMVVP.js +0 -11
  1010. package/cdn/chunks/chunk.HH4G5RJX.js +0 -314
  1011. package/cdn/chunks/chunk.HM3I7WHO.js +0 -11
  1012. package/cdn/chunks/chunk.HO6VFF4O.js +0 -33
  1013. package/cdn/chunks/chunk.HTIERIS7.js +0 -49
  1014. package/cdn/chunks/chunk.HX5DIWQV.js +0 -21
  1015. package/cdn/chunks/chunk.HYMABHRU.js +0 -11
  1016. package/cdn/chunks/chunk.I3TXUBII.js +0 -21
  1017. package/cdn/chunks/chunk.I7Q466VT.js +0 -139
  1018. package/cdn/chunks/chunk.IADYXIFM.js +0 -11
  1019. package/cdn/chunks/chunk.IHZ472C6.js +0 -11
  1020. package/cdn/chunks/chunk.II3QTQ25.js +0 -11
  1021. package/cdn/chunks/chunk.IRK3DP2W.js +0 -63
  1022. package/cdn/chunks/chunk.ISJYROK5.js +0 -67
  1023. package/cdn/chunks/chunk.IW5762FE.js +0 -267
  1024. package/cdn/chunks/chunk.IWC463Y3.js +0 -28
  1025. package/cdn/chunks/chunk.IYOIDXCZ.js +0 -24
  1026. package/cdn/chunks/chunk.J4WJYK5U.js +0 -21
  1027. package/cdn/chunks/chunk.J6KUHZKT.js +0 -11
  1028. package/cdn/chunks/chunk.JCNP4UQE.js +0 -1925
  1029. package/cdn/chunks/chunk.JDAILV3S.js +0 -11
  1030. package/cdn/chunks/chunk.JITPGYS4.js +0 -21
  1031. package/cdn/chunks/chunk.JL5ROUOT.js +0 -11
  1032. package/cdn/chunks/chunk.JPNPAM56.js +0 -11
  1033. package/cdn/chunks/chunk.JQ2LAAFZ.js +0 -11
  1034. package/cdn/chunks/chunk.JRYDW2YI.js +0 -36
  1035. package/cdn/chunks/chunk.JW55VNZ2.js +0 -11
  1036. package/cdn/chunks/chunk.KAGU5MSJ.js +0 -11
  1037. package/cdn/chunks/chunk.KETV2H5S.js +0 -75
  1038. package/cdn/chunks/chunk.KFPFEZ2L.js +0 -11
  1039. package/cdn/chunks/chunk.KIBBO7SH.js +0 -158
  1040. package/cdn/chunks/chunk.KMKPMIDA.js +0 -969
  1041. package/cdn/chunks/chunk.KNK4WLGM.js +0 -11
  1042. package/cdn/chunks/chunk.KNQHAOAR.js +0 -25
  1043. package/cdn/chunks/chunk.KOJJ6U46.js +0 -42
  1044. package/cdn/chunks/chunk.KPRSTAS7.js +0 -21
  1045. package/cdn/chunks/chunk.KUECFRQH.js +0 -844
  1046. package/cdn/chunks/chunk.KWJOVHKD.js +0 -137
  1047. package/cdn/chunks/chunk.KY6PDRWG.js +0 -11
  1048. package/cdn/chunks/chunk.LP4WHV6E.js +0 -11
  1049. package/cdn/chunks/chunk.M6XPT4ZP.js +0 -103
  1050. package/cdn/chunks/chunk.MAZKOBAH.js +0 -27
  1051. package/cdn/chunks/chunk.MF5EXY2W.js +0 -11
  1052. package/cdn/chunks/chunk.MGLNER3U.js +0 -201
  1053. package/cdn/chunks/chunk.MLJULLPQ.js +0 -27
  1054. package/cdn/chunks/chunk.MZOSOSVE.js +0 -21
  1055. package/cdn/chunks/chunk.NLW5TETJ.js +0 -285
  1056. package/cdn/chunks/chunk.NM2SEUN7.js +0 -26
  1057. package/cdn/chunks/chunk.NOK5U63F.js +0 -21
  1058. package/cdn/chunks/chunk.O2L6MUTZ.js +0 -64
  1059. package/cdn/chunks/chunk.O2YQZH6W.js +0 -218
  1060. package/cdn/chunks/chunk.O4OJF3WC.js +0 -11
  1061. package/cdn/chunks/chunk.OCW3ZJWM.js +0 -21
  1062. package/cdn/chunks/chunk.OHDDZV5B.js +0 -29
  1063. package/cdn/chunks/chunk.OLSOUQ5K.js +0 -11
  1064. package/cdn/chunks/chunk.OTHTVPTK.js +0 -21
  1065. package/cdn/chunks/chunk.OVEYWJE3.js +0 -11
  1066. package/cdn/chunks/chunk.OWVJUIDF.js +0 -821
  1067. package/cdn/chunks/chunk.OYQR7JLJ.js +0 -11
  1068. package/cdn/chunks/chunk.OZ7QYQZ6.js +0 -21
  1069. package/cdn/chunks/chunk.P47HEXDP.js +0 -11
  1070. package/cdn/chunks/chunk.PJ6CA7QO.js +0 -574
  1071. package/cdn/chunks/chunk.PLT7HLT5.js +0 -45
  1072. package/cdn/chunks/chunk.PY2FUI45.js +0 -24
  1073. package/cdn/chunks/chunk.Q5UMHHI4.js +0 -11
  1074. package/cdn/chunks/chunk.Q6XGFFOG.js +0 -291
  1075. package/cdn/chunks/chunk.QAQQSXKB.js +0 -904
  1076. package/cdn/chunks/chunk.QDSTPORL.js +0 -302
  1077. package/cdn/chunks/chunk.QF3GHIHJ.js +0 -11
  1078. package/cdn/chunks/chunk.QJLSAAEE.js +0 -11
  1079. package/cdn/chunks/chunk.QPHWYN6B.js +0 -29
  1080. package/cdn/chunks/chunk.QVDJFNYJ.js +0 -11
  1081. package/cdn/chunks/chunk.QWQJUAWH.js +0 -27
  1082. package/cdn/chunks/chunk.R2QMA7LJ.js +0 -21
  1083. package/cdn/chunks/chunk.RDOSAH7P.js +0 -25
  1084. package/cdn/chunks/chunk.RS3ONDX7.js +0 -28
  1085. package/cdn/chunks/chunk.S2JU7WTT.js +0 -11
  1086. package/cdn/chunks/chunk.S2KGUYWE.js +0 -142
  1087. package/cdn/chunks/chunk.S2XBJWK5.js +0 -84
  1088. package/cdn/chunks/chunk.SBBXA5XP.js +0 -114
  1089. package/cdn/chunks/chunk.SBYCR5F7.js +0 -11
  1090. package/cdn/chunks/chunk.SDVDFCQA.js +0 -21
  1091. package/cdn/chunks/chunk.SPMIZLGP.js +0 -11
  1092. package/cdn/chunks/chunk.SSE6TKYX.js +0 -11
  1093. package/cdn/chunks/chunk.STD3IC77.js +0 -87
  1094. package/cdn/chunks/chunk.TDFEQP2W.js +0 -24
  1095. package/cdn/chunks/chunk.TL63ROHO.js +0 -11
  1096. package/cdn/chunks/chunk.TYJ4Z2ZU.js +0 -11
  1097. package/cdn/chunks/chunk.UIGKBVAR.js +0 -21
  1098. package/cdn/chunks/chunk.UJ6NNCVG.js +0 -11
  1099. package/cdn/chunks/chunk.UKDVPUO7.js +0 -11
  1100. package/cdn/chunks/chunk.UMQNWDBS.js +0 -11
  1101. package/cdn/chunks/chunk.UMRLIFTS.js +0 -21
  1102. package/cdn/chunks/chunk.UPZGDVCF.js +0 -97
  1103. package/cdn/chunks/chunk.UR2LEARZ.js +0 -11
  1104. package/cdn/chunks/chunk.UUW22BXH.js +0 -299
  1105. package/cdn/chunks/chunk.UYJWMI3W.js +0 -25
  1106. package/cdn/chunks/chunk.UZM6AKZ4.js +0 -21
  1107. package/cdn/chunks/chunk.VCHJOMBL.js +0 -26
  1108. package/cdn/chunks/chunk.VL3PBQOX.js +0 -25
  1109. package/cdn/chunks/chunk.VLSVTULP.js +0 -255
  1110. package/cdn/chunks/chunk.VM4GBXBI.js +0 -24
  1111. package/cdn/chunks/chunk.VMOWB7YX.js +0 -11
  1112. package/cdn/chunks/chunk.VOEWHCN2.js +0 -1990
  1113. package/cdn/chunks/chunk.VP23JPSR.js +0 -11
  1114. package/cdn/chunks/chunk.W7XPBYYC.js +0 -11
  1115. package/cdn/chunks/chunk.WEVLI6TP.js +0 -28
  1116. package/cdn/chunks/chunk.WSHZ6SKR.js +0 -21
  1117. package/cdn/chunks/chunk.WX7BUXNN.js +0 -11
  1118. package/cdn/chunks/chunk.X5ZW5MNU.js +0 -79
  1119. package/cdn/chunks/chunk.X6AFJZ66.js +0 -11
  1120. package/cdn/chunks/chunk.XD6QXRJA.js +0 -336
  1121. package/cdn/chunks/chunk.XG2YMRZH.js +0 -28
  1122. package/cdn/chunks/chunk.XGR67GI4.js +0 -25
  1123. package/cdn/chunks/chunk.XIPYJTJZ.js +0 -11
  1124. package/cdn/chunks/chunk.XKR5J7RQ.js +0 -367
  1125. package/cdn/chunks/chunk.XMZG6RBS.js +0 -11
  1126. package/cdn/chunks/chunk.XN6TK6O7.js +0 -24
  1127. package/cdn/chunks/chunk.XOSX4UF6.js +0 -24
  1128. package/cdn/chunks/chunk.XQSKBW24.js +0 -24
  1129. package/cdn/chunks/chunk.XXTX6TSJ.js +0 -73
  1130. package/cdn/chunks/chunk.YAV63XXR.js +0 -21
  1131. package/cdn/chunks/chunk.YDT5ZGNI.js +0 -391
  1132. package/cdn/chunks/chunk.YK2TQ7CS.js +0 -11
  1133. package/cdn/chunks/chunk.YL3HRFPP.js +0 -21
  1134. package/cdn/chunks/chunk.YNC3JVPR.js +0 -11
  1135. package/cdn/chunks/chunk.YQGAXETJ.js +0 -29
  1136. package/cdn/chunks/chunk.YR5PLDDJ.js +0 -216
  1137. package/cdn/chunks/chunk.YRST4YE4.js +0 -11
  1138. package/cdn/chunks/chunk.Z5Z6FT5W.js +0 -82
  1139. package/cdn/chunks/chunk.ZH7RYWKO.js +0 -11
  1140. package/cdn/chunks/chunk.ZV5BX4CF.js +0 -11
  1141. package/dist/chunks/chunk.274QNJ33.js +0 -130
  1142. package/dist/chunks/chunk.2B76BRTM.js +0 -11
  1143. package/dist/chunks/chunk.2TJQPKH6.js +0 -85
  1144. package/dist/chunks/chunk.2UWMQJRG.js +0 -11
  1145. package/dist/chunks/chunk.2YOM64NQ.js +0 -33
  1146. package/dist/chunks/chunk.32TDDQCW.js +0 -25
  1147. package/dist/chunks/chunk.34PGSA3F.js +0 -100
  1148. package/dist/chunks/chunk.35HIH67Q.js +0 -11
  1149. package/dist/chunks/chunk.37HT6MX6.js +0 -11
  1150. package/dist/chunks/chunk.3C3MMRVD.js +0 -91
  1151. package/dist/chunks/chunk.3QF4Y5P6.js +0 -231
  1152. package/dist/chunks/chunk.42O2LXJZ.js +0 -11
  1153. package/dist/chunks/chunk.47MNTRX6.js +0 -22
  1154. package/dist/chunks/chunk.4DXY2XGL.js +0 -21
  1155. package/dist/chunks/chunk.4EZG3I52.js +0 -28
  1156. package/dist/chunks/chunk.4PLOWUWC.js +0 -34
  1157. package/dist/chunks/chunk.4YKHDRKH.js +0 -80
  1158. package/dist/chunks/chunk.5B4T65M7.js +0 -11
  1159. package/dist/chunks/chunk.5IP3SAJR.js +0 -491
  1160. package/dist/chunks/chunk.5K5L7G5X.js +0 -42
  1161. package/dist/chunks/chunk.5L6YWAES.js +0 -115
  1162. package/dist/chunks/chunk.5R62IR27.js +0 -181
  1163. package/dist/chunks/chunk.6BJGL2N3.js +0 -21
  1164. package/dist/chunks/chunk.6HH2PNGD.js +0 -109
  1165. package/dist/chunks/chunk.6KLDASOW.js +0 -25
  1166. package/dist/chunks/chunk.6PBCSHJY.js +0 -896
  1167. package/dist/chunks/chunk.6Q5E3JXW.js +0 -11
  1168. package/dist/chunks/chunk.6QRX7IJW.js +0 -24
  1169. package/dist/chunks/chunk.6Z7S24FM.js +0 -11
  1170. package/dist/chunks/chunk.76EM6BJG.js +0 -227
  1171. package/dist/chunks/chunk.7CMDI63C.js +0 -24
  1172. package/dist/chunks/chunk.7CTYF7AD.js +0 -276
  1173. package/dist/chunks/chunk.7EXZJHVV.js +0 -21
  1174. package/dist/chunks/chunk.7FOH24QX.js +0 -11
  1175. package/dist/chunks/chunk.7MOHPB2U.js +0 -323
  1176. package/dist/chunks/chunk.7PMJ2XIR.js +0 -311
  1177. package/dist/chunks/chunk.7VZ7LAAM.js +0 -448
  1178. package/dist/chunks/chunk.A2DI45V2.js +0 -21
  1179. package/dist/chunks/chunk.AALPNFOD.js +0 -11
  1180. package/dist/chunks/chunk.AD6M2EW7.js +0 -25
  1181. package/dist/chunks/chunk.AE3W2L7J.js +0 -100
  1182. package/dist/chunks/chunk.AF5B6OMY.js +0 -11
  1183. package/dist/chunks/chunk.AHAU4GHT.js +0 -63
  1184. package/dist/chunks/chunk.AIKUWNQO.js +0 -294
  1185. package/dist/chunks/chunk.AO5EIZC4.js +0 -11
  1186. package/dist/chunks/chunk.AVSTL2ZE.js +0 -28
  1187. package/dist/chunks/chunk.AYOKXRIP.js +0 -24
  1188. package/dist/chunks/chunk.AZ7WWPJX.js +0 -11
  1189. package/dist/chunks/chunk.B44GIJG3.js +0 -116
  1190. package/dist/chunks/chunk.B5BDAD5C.js +0 -11
  1191. package/dist/chunks/chunk.BCUOVRRH.js +0 -27
  1192. package/dist/chunks/chunk.BN7UCDRW.js +0 -293
  1193. package/dist/chunks/chunk.BRO6BKBP.js +0 -28
  1194. package/dist/chunks/chunk.BVJZRGG6.js +0 -21
  1195. package/dist/chunks/chunk.BXPDVLGA.js +0 -11
  1196. package/dist/chunks/chunk.C4HCMTYH.js +0 -11
  1197. package/dist/chunks/chunk.CBSYNRVK.js +0 -11
  1198. package/dist/chunks/chunk.CG5APFEO.js +0 -259
  1199. package/dist/chunks/chunk.COTWB254.js +0 -87
  1200. package/dist/chunks/chunk.CSKVIGSZ.js +0 -11
  1201. package/dist/chunks/chunk.CU6XE3OI.js +0 -26
  1202. package/dist/chunks/chunk.CZVCBHDK.js +0 -11
  1203. package/dist/chunks/chunk.D5BHTVJM.js +0 -67
  1204. package/dist/chunks/chunk.DJW2DGOY.js +0 -11
  1205. package/dist/chunks/chunk.DKPTTSBX.js +0 -134
  1206. package/dist/chunks/chunk.DNFGG3N3.js +0 -11
  1207. package/dist/chunks/chunk.DQWZTF64.js +0 -11
  1208. package/dist/chunks/chunk.DV22W6X7.js +0 -28
  1209. package/dist/chunks/chunk.E4N3FD6F.js +0 -45
  1210. package/dist/chunks/chunk.EBMULWPG.js +0 -11
  1211. package/dist/chunks/chunk.EHWEQWNP.js +0 -11
  1212. package/dist/chunks/chunk.EQO5TE2D.js +0 -75
  1213. package/dist/chunks/chunk.ETKJ67M7.js +0 -225
  1214. package/dist/chunks/chunk.EUG3YEVZ.js +0 -813
  1215. package/dist/chunks/chunk.FAYBB5FM.js +0 -25
  1216. package/dist/chunks/chunk.FG7A542C.js +0 -11
  1217. package/dist/chunks/chunk.FI6B3NG3.js +0 -29
  1218. package/dist/chunks/chunk.FYEWIPJW.js +0 -21
  1219. package/dist/chunks/chunk.GFZWW2ZQ.js +0 -27
  1220. package/dist/chunks/chunk.GJRLJJWJ.js +0 -11
  1221. package/dist/chunks/chunk.GK567LTL.js +0 -117
  1222. package/dist/chunks/chunk.GMDLRXSB.js +0 -21
  1223. package/dist/chunks/chunk.GUGRNV3R.js +0 -11
  1224. package/dist/chunks/chunk.HF33KB32.js +0 -21
  1225. package/dist/chunks/chunk.HHTA4HL3.js +0 -62
  1226. package/dist/chunks/chunk.HL455NLZ.js +0 -961
  1227. package/dist/chunks/chunk.HP3GX3D2.js +0 -21
  1228. package/dist/chunks/chunk.I4EHKPUL.js +0 -135
  1229. package/dist/chunks/chunk.IHIEHU65.js +0 -151
  1230. package/dist/chunks/chunk.IL64D7TF.js +0 -24
  1231. package/dist/chunks/chunk.IL775OBI.js +0 -82
  1232. package/dist/chunks/chunk.IRQH2D6F.js +0 -192
  1233. package/dist/chunks/chunk.ITDUDDNE.js +0 -375
  1234. package/dist/chunks/chunk.IUVCI46O.js +0 -417
  1235. package/dist/chunks/chunk.IVO3VR2J.js +0 -21
  1236. package/dist/chunks/chunk.IW4BAXLR.js +0 -11
  1237. package/dist/chunks/chunk.IXALIQGD.js +0 -111
  1238. package/dist/chunks/chunk.J2VI37LS.js +0 -274
  1239. package/dist/chunks/chunk.J4IBHQJ5.js +0 -21
  1240. package/dist/chunks/chunk.J5S227UG.js +0 -11
  1241. package/dist/chunks/chunk.J74PQI6N.js +0 -26
  1242. package/dist/chunks/chunk.JD3ZZ7AQ.js +0 -25
  1243. package/dist/chunks/chunk.JETEMMA2.js +0 -22
  1244. package/dist/chunks/chunk.JJ4VOJH7.js +0 -21
  1245. package/dist/chunks/chunk.K5LYT7ON.js +0 -11
  1246. package/dist/chunks/chunk.KGRU7MJD.js +0 -11
  1247. package/dist/chunks/chunk.KIC6LREY.js +0 -11
  1248. package/dist/chunks/chunk.KL3Z3AGQ.js +0 -45
  1249. package/dist/chunks/chunk.KNEL4AZB.js +0 -11
  1250. package/dist/chunks/chunk.L5FYXEY4.js +0 -41
  1251. package/dist/chunks/chunk.L6XRJVQX.js +0 -286
  1252. package/dist/chunks/chunk.L7SJCQEI.js +0 -59
  1253. package/dist/chunks/chunk.LGORIQOP.js +0 -170
  1254. package/dist/chunks/chunk.LIXJQUNG.js +0 -27
  1255. package/dist/chunks/chunk.LK26DNSX.js +0 -11
  1256. package/dist/chunks/chunk.LMXH2ESZ.js +0 -75
  1257. package/dist/chunks/chunk.LNBCBTOL.js +0 -33
  1258. package/dist/chunks/chunk.LTVIQ6NH.js +0 -247
  1259. package/dist/chunks/chunk.LX5DF4XZ.js +0 -21
  1260. package/dist/chunks/chunk.MPZIA5SV.js +0 -73
  1261. package/dist/chunks/chunk.MSNKTK7J.js +0 -11
  1262. package/dist/chunks/chunk.MW26L6W2.js +0 -21
  1263. package/dist/chunks/chunk.MYL5EMKN.js +0 -11
  1264. package/dist/chunks/chunk.MZBGPZSB.js +0 -213
  1265. package/dist/chunks/chunk.MZMNWRU3.js +0 -11
  1266. package/dist/chunks/chunk.N5UW4DPQ.js +0 -24
  1267. package/dist/chunks/chunk.NERJPWML.js +0 -11
  1268. package/dist/chunks/chunk.NFWWTC62.js +0 -11
  1269. package/dist/chunks/chunk.NHKNW5CC.js +0 -11
  1270. package/dist/chunks/chunk.NQTUURCP.js +0 -280
  1271. package/dist/chunks/chunk.NU5WMQAG.js +0 -11
  1272. package/dist/chunks/chunk.NWMOURXJ.js +0 -25
  1273. package/dist/chunks/chunk.O46E4TVZ.js +0 -949
  1274. package/dist/chunks/chunk.O5L7BRGB.js +0 -21
  1275. package/dist/chunks/chunk.OFXZYQ6D.js +0 -11
  1276. package/dist/chunks/chunk.ORV5AHS2.js +0 -21
  1277. package/dist/chunks/chunk.OUZIX56H.js +0 -21
  1278. package/dist/chunks/chunk.OVZKAN7N.js +0 -11
  1279. package/dist/chunks/chunk.OZLPC64J.js +0 -21
  1280. package/dist/chunks/chunk.PEU324JL.js +0 -11
  1281. package/dist/chunks/chunk.PIAORT3L.js +0 -25
  1282. package/dist/chunks/chunk.PLPRPS3U.js +0 -29
  1283. package/dist/chunks/chunk.PN54OUPI.js +0 -11
  1284. package/dist/chunks/chunk.PPJ57UJP.js +0 -26
  1285. package/dist/chunks/chunk.PWBAIKQK.js +0 -11
  1286. package/dist/chunks/chunk.Q3JXAITU.js +0 -33
  1287. package/dist/chunks/chunk.Q4LJOBCE.js +0 -21
  1288. package/dist/chunks/chunk.Q7TXLG3B.js +0 -198
  1289. package/dist/chunks/chunk.QHHV4MZK.js +0 -11
  1290. package/dist/chunks/chunk.QOD35HMW.js +0 -24
  1291. package/dist/chunks/chunk.QQZ2UXS2.js +0 -11
  1292. package/dist/chunks/chunk.QZH4WBTE.js +0 -11
  1293. package/dist/chunks/chunk.R7YFVQCW.js +0 -27
  1294. package/dist/chunks/chunk.RIB27BEJ.js +0 -24
  1295. package/dist/chunks/chunk.RYLCN7BO.js +0 -27
  1296. package/dist/chunks/chunk.RZI7SHSC.js +0 -24
  1297. package/dist/chunks/chunk.SGC4M4YF.js +0 -109
  1298. package/dist/chunks/chunk.SIPSEVJK.js +0 -25
  1299. package/dist/chunks/chunk.SJ6JX2DJ.js +0 -837
  1300. package/dist/chunks/chunk.SJAXTIET.js +0 -11
  1301. package/dist/chunks/chunk.SO3X7HF3.js +0 -11
  1302. package/dist/chunks/chunk.SV5X3SMO.js +0 -361
  1303. package/dist/chunks/chunk.T2ZTVE2I.js +0 -11
  1304. package/dist/chunks/chunk.T5USZ3S4.js +0 -11
  1305. package/dist/chunks/chunk.T6N24LKI.js +0 -337
  1306. package/dist/chunks/chunk.T74HNWI4.js +0 -28
  1307. package/dist/chunks/chunk.TDKE63SM.js +0 -33
  1308. package/dist/chunks/chunk.TFG5Y7IH.js +0 -93
  1309. package/dist/chunks/chunk.TGS52GOU.js +0 -27
  1310. package/dist/chunks/chunk.TH4D7RKK.js +0 -25
  1311. package/dist/chunks/chunk.THG6G3HQ.js +0 -11
  1312. package/dist/chunks/chunk.TSPXWIGI.js +0 -11
  1313. package/dist/chunks/chunk.TTPOKNLS.js +0 -29
  1314. package/dist/chunks/chunk.TUA5ZU6X.js +0 -315
  1315. package/dist/chunks/chunk.U2VB7WLL.js +0 -24
  1316. package/dist/chunks/chunk.UAWLIY2L.js +0 -21
  1317. package/dist/chunks/chunk.UEWCZNXZ.js +0 -11
  1318. package/dist/chunks/chunk.UQHPUKER.js +0 -370
  1319. package/dist/chunks/chunk.URUR7MJR.js +0 -24
  1320. package/dist/chunks/chunk.UULZU4Z3.js +0 -21
  1321. package/dist/chunks/chunk.UXM4FVH5.js +0 -11
  1322. package/dist/chunks/chunk.V57ZW7ZH.js +0 -397
  1323. package/dist/chunks/chunk.V6YKNHMO.js +0 -11
  1324. package/dist/chunks/chunk.V7OP2NZV.js +0 -11
  1325. package/dist/chunks/chunk.VCOJVQQ4.js +0 -178
  1326. package/dist/chunks/chunk.VJB4KPJD.js +0 -21
  1327. package/dist/chunks/chunk.VNMDUGTU.js +0 -11
  1328. package/dist/chunks/chunk.VVGTREDN.js +0 -50
  1329. package/dist/chunks/chunk.W6DYBUDW.js +0 -24
  1330. package/dist/chunks/chunk.WEDJTIFT.js +0 -11
  1331. package/dist/chunks/chunk.WG2SV2QG.js +0 -147
  1332. package/dist/chunks/chunk.WGTDWTOV.js +0 -11
  1333. package/dist/chunks/chunk.WH7COHP6.js +0 -11
  1334. package/dist/chunks/chunk.WILVYPVY.js +0 -11
  1335. package/dist/chunks/chunk.WJEN7CXS.js +0 -11
  1336. package/dist/chunks/chunk.WJQQ44RS.js +0 -290
  1337. package/dist/chunks/chunk.WMOTPERU.js +0 -94
  1338. package/dist/chunks/chunk.WMU42YOB.js +0 -21
  1339. package/dist/chunks/chunk.WXNPFET2.js +0 -11
  1340. package/dist/chunks/chunk.WXW46Q4P.js +0 -11
  1341. package/dist/chunks/chunk.WXXBWMK4.js +0 -11
  1342. package/dist/chunks/chunk.X3RYGSSQ.js +0 -27
  1343. package/dist/chunks/chunk.X55FJZNT.js +0 -21
  1344. package/dist/chunks/chunk.XCSPIZ6D.js +0 -550
  1345. package/dist/chunks/chunk.XH5DVAA6.js +0 -11
  1346. package/dist/chunks/chunk.XHXVIWK2.js +0 -21
  1347. package/dist/chunks/chunk.XLB7ZDRR.js +0 -25
  1348. package/dist/chunks/chunk.XPHLWERD.js +0 -29
  1349. package/dist/chunks/chunk.XXPORPH4.js +0 -11
  1350. package/dist/chunks/chunk.Y4FRHDET.js +0 -72
  1351. package/dist/chunks/chunk.Y4OEOTDT.js +0 -11
  1352. package/dist/chunks/chunk.YBV2TAE5.js +0 -21
  1353. package/dist/chunks/chunk.YDIZKCHK.js +0 -21
  1354. package/dist/chunks/chunk.YJDLAFZW.js +0 -119
  1355. package/dist/chunks/chunk.YQR53NB6.js +0 -26
  1356. package/dist/chunks/chunk.Z5GY5XYP.js +0 -21
  1357. package/dist/chunks/chunk.ZAWE7UNL.js +0 -24
  1358. package/dist/chunks/chunk.ZBTOKYT5.js +0 -11
  1359. package/dist/chunks/chunk.ZW4I3HA4.js +0 -384
  1360. package/dist/chunks/chunk.ZWJT3KRL.js +0 -11
@@ -0,0 +1,1990 @@
1
+ import {
2
+ drag
3
+ } from "./chunk.ESELY2US.js";
4
+ import {
5
+ CwInput
6
+ } from "./chunk.42EKR2KQ.js";
7
+ import {
8
+ o as o2
9
+ } from "./chunk.3KMJJQ2V.js";
10
+ import {
11
+ defaultValue
12
+ } from "./chunk.747MVI2Y.js";
13
+ import {
14
+ color_picker_styles_default
15
+ } from "./chunk.VQJLS3AT.js";
16
+ import {
17
+ CwVisuallyHidden
18
+ } from "./chunk.JA2NJTRE.js";
19
+ import {
20
+ clamp
21
+ } from "./chunk.HF7GESMZ.js";
22
+ import {
23
+ CwButtonGroup
24
+ } from "./chunk.U4ZHL7VU.js";
25
+ import {
26
+ CwDropdown
27
+ } from "./chunk.FUMNGXVP.js";
28
+ import {
29
+ CwButton
30
+ } from "./chunk.7NG2RS4S.js";
31
+ import {
32
+ FormControlController
33
+ } from "./chunk.FIVNGT4O.js";
34
+ import {
35
+ LocalizeController
36
+ } from "./chunk.4HKHDE3H.js";
37
+ import {
38
+ o
39
+ } from "./chunk.LRAERZML.js";
40
+ import {
41
+ e
42
+ } from "./chunk.VBR4VS53.js";
43
+ import {
44
+ CwIcon
45
+ } from "./chunk.BNMY7WDB.js";
46
+ import {
47
+ watch
48
+ } from "./chunk.RB5L7E7Z.js";
49
+ import {
50
+ component_styles_default
51
+ } from "./chunk.NJIHXHXI.js";
52
+ import {
53
+ CwElement,
54
+ e as e2,
55
+ n,
56
+ r,
57
+ t
58
+ } from "./chunk.KT3BEM7K.js";
59
+ import {
60
+ b
61
+ } from "./chunk.6A2LG33L.js";
62
+ import {
63
+ __decorateClass,
64
+ __spreadValues
65
+ } from "./chunk.QIOX6AG5.js";
66
+
67
+ // node_modules/@ctrl/tinycolor/dist/module/util.js
68
+ function bound01(n2, max) {
69
+ if (isOnePointZero(n2)) {
70
+ n2 = "100%";
71
+ }
72
+ const isPercent = isPercentage(n2);
73
+ n2 = max === 360 ? n2 : Math.min(max, Math.max(0, parseFloat(n2)));
74
+ if (isPercent) {
75
+ n2 = parseInt(String(n2 * max), 10) / 100;
76
+ }
77
+ if (Math.abs(n2 - max) < 1e-6) {
78
+ return 1;
79
+ }
80
+ if (max === 360) {
81
+ n2 = (n2 < 0 ? n2 % max + max : n2 % max) / parseFloat(String(max));
82
+ } else {
83
+ n2 = n2 % max / parseFloat(String(max));
84
+ }
85
+ return n2;
86
+ }
87
+ function clamp01(val) {
88
+ return Math.min(1, Math.max(0, val));
89
+ }
90
+ function isOnePointZero(n2) {
91
+ return typeof n2 === "string" && n2.indexOf(".") !== -1 && parseFloat(n2) === 1;
92
+ }
93
+ function isPercentage(n2) {
94
+ return typeof n2 === "string" && n2.indexOf("%") !== -1;
95
+ }
96
+ function boundAlpha(a) {
97
+ a = parseFloat(a);
98
+ if (isNaN(a) || a < 0 || a > 1) {
99
+ a = 1;
100
+ }
101
+ return a;
102
+ }
103
+ function convertToPercentage(n2) {
104
+ if (Number(n2) <= 1) {
105
+ return `${Number(n2) * 100}%`;
106
+ }
107
+ return n2;
108
+ }
109
+ function pad2(c) {
110
+ return c.length === 1 ? "0" + c : String(c);
111
+ }
112
+
113
+ // node_modules/@ctrl/tinycolor/dist/module/conversion.js
114
+ function rgbToRgb(r2, g, b2) {
115
+ return {
116
+ r: bound01(r2, 255) * 255,
117
+ g: bound01(g, 255) * 255,
118
+ b: bound01(b2, 255) * 255
119
+ };
120
+ }
121
+ function rgbToHsl(r2, g, b2) {
122
+ r2 = bound01(r2, 255);
123
+ g = bound01(g, 255);
124
+ b2 = bound01(b2, 255);
125
+ const max = Math.max(r2, g, b2);
126
+ const min = Math.min(r2, g, b2);
127
+ let h = 0;
128
+ let s = 0;
129
+ const l = (max + min) / 2;
130
+ if (max === min) {
131
+ s = 0;
132
+ h = 0;
133
+ } else {
134
+ const d = max - min;
135
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
136
+ switch (max) {
137
+ case r2:
138
+ h = (g - b2) / d + (g < b2 ? 6 : 0);
139
+ break;
140
+ case g:
141
+ h = (b2 - r2) / d + 2;
142
+ break;
143
+ case b2:
144
+ h = (r2 - g) / d + 4;
145
+ break;
146
+ default:
147
+ break;
148
+ }
149
+ h /= 6;
150
+ }
151
+ return { h, s, l };
152
+ }
153
+ function hue2rgb(p, q, t2) {
154
+ if (t2 < 0) {
155
+ t2 += 1;
156
+ }
157
+ if (t2 > 1) {
158
+ t2 -= 1;
159
+ }
160
+ if (t2 < 1 / 6) {
161
+ return p + (q - p) * (6 * t2);
162
+ }
163
+ if (t2 < 1 / 2) {
164
+ return q;
165
+ }
166
+ if (t2 < 2 / 3) {
167
+ return p + (q - p) * (2 / 3 - t2) * 6;
168
+ }
169
+ return p;
170
+ }
171
+ function hslToRgb(h, s, l) {
172
+ let r2;
173
+ let g;
174
+ let b2;
175
+ h = bound01(h, 360);
176
+ s = bound01(s, 100);
177
+ l = bound01(l, 100);
178
+ if (s === 0) {
179
+ g = l;
180
+ b2 = l;
181
+ r2 = l;
182
+ } else {
183
+ const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
184
+ const p = 2 * l - q;
185
+ r2 = hue2rgb(p, q, h + 1 / 3);
186
+ g = hue2rgb(p, q, h);
187
+ b2 = hue2rgb(p, q, h - 1 / 3);
188
+ }
189
+ return { r: r2 * 255, g: g * 255, b: b2 * 255 };
190
+ }
191
+ function rgbToHsv(r2, g, b2) {
192
+ r2 = bound01(r2, 255);
193
+ g = bound01(g, 255);
194
+ b2 = bound01(b2, 255);
195
+ const max = Math.max(r2, g, b2);
196
+ const min = Math.min(r2, g, b2);
197
+ let h = 0;
198
+ const v = max;
199
+ const d = max - min;
200
+ const s = max === 0 ? 0 : d / max;
201
+ if (max === min) {
202
+ h = 0;
203
+ } else {
204
+ switch (max) {
205
+ case r2:
206
+ h = (g - b2) / d + (g < b2 ? 6 : 0);
207
+ break;
208
+ case g:
209
+ h = (b2 - r2) / d + 2;
210
+ break;
211
+ case b2:
212
+ h = (r2 - g) / d + 4;
213
+ break;
214
+ default:
215
+ break;
216
+ }
217
+ h /= 6;
218
+ }
219
+ return { h, s, v };
220
+ }
221
+ function hsvToRgb(h, s, v) {
222
+ h = bound01(h, 360) * 6;
223
+ s = bound01(s, 100);
224
+ v = bound01(v, 100);
225
+ const i = Math.floor(h);
226
+ const f = h - i;
227
+ const p = v * (1 - s);
228
+ const q = v * (1 - f * s);
229
+ const t2 = v * (1 - (1 - f) * s);
230
+ const mod = i % 6;
231
+ const r2 = [v, q, p, p, t2, v][mod];
232
+ const g = [t2, v, v, q, p, p][mod];
233
+ const b2 = [p, p, t2, v, v, q][mod];
234
+ return { r: r2 * 255, g: g * 255, b: b2 * 255 };
235
+ }
236
+ function rgbToHex(r2, g, b2, allow3Char) {
237
+ const hex = [
238
+ pad2(Math.round(r2).toString(16)),
239
+ pad2(Math.round(g).toString(16)),
240
+ pad2(Math.round(b2).toString(16))
241
+ ];
242
+ if (allow3Char && hex[0].startsWith(hex[0].charAt(1)) && hex[1].startsWith(hex[1].charAt(1)) && hex[2].startsWith(hex[2].charAt(1))) {
243
+ return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
244
+ }
245
+ return hex.join("");
246
+ }
247
+ function rgbaToHex(r2, g, b2, a, allow4Char) {
248
+ const hex = [
249
+ pad2(Math.round(r2).toString(16)),
250
+ pad2(Math.round(g).toString(16)),
251
+ pad2(Math.round(b2).toString(16)),
252
+ pad2(convertDecimalToHex(a))
253
+ ];
254
+ if (allow4Char && hex[0].startsWith(hex[0].charAt(1)) && hex[1].startsWith(hex[1].charAt(1)) && hex[2].startsWith(hex[2].charAt(1)) && hex[3].startsWith(hex[3].charAt(1))) {
255
+ return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
256
+ }
257
+ return hex.join("");
258
+ }
259
+ function cmykToRgb(c, m, y, k) {
260
+ const cConv = c / 100;
261
+ const mConv = m / 100;
262
+ const yConv = y / 100;
263
+ const kConv = k / 100;
264
+ const r2 = 255 * (1 - cConv) * (1 - kConv);
265
+ const g = 255 * (1 - mConv) * (1 - kConv);
266
+ const b2 = 255 * (1 - yConv) * (1 - kConv);
267
+ return { r: r2, g, b: b2 };
268
+ }
269
+ function rgbToCmyk(r2, g, b2) {
270
+ let c = 1 - r2 / 255;
271
+ let m = 1 - g / 255;
272
+ let y = 1 - b2 / 255;
273
+ let k = Math.min(c, m, y);
274
+ if (k === 1) {
275
+ c = 0;
276
+ m = 0;
277
+ y = 0;
278
+ } else {
279
+ c = (c - k) / (1 - k) * 100;
280
+ m = (m - k) / (1 - k) * 100;
281
+ y = (y - k) / (1 - k) * 100;
282
+ }
283
+ k *= 100;
284
+ return {
285
+ c: Math.round(c),
286
+ m: Math.round(m),
287
+ y: Math.round(y),
288
+ k: Math.round(k)
289
+ };
290
+ }
291
+ function convertDecimalToHex(d) {
292
+ return Math.round(parseFloat(d) * 255).toString(16);
293
+ }
294
+ function convertHexToDecimal(h) {
295
+ return parseIntFromHex(h) / 255;
296
+ }
297
+ function parseIntFromHex(val) {
298
+ return parseInt(val, 16);
299
+ }
300
+ function numberInputToObject(color) {
301
+ return {
302
+ r: color >> 16,
303
+ g: (color & 65280) >> 8,
304
+ b: color & 255
305
+ };
306
+ }
307
+
308
+ // node_modules/@ctrl/tinycolor/dist/module/css-color-names.js
309
+ var names = {
310
+ aliceblue: "#f0f8ff",
311
+ antiquewhite: "#faebd7",
312
+ aqua: "#00ffff",
313
+ aquamarine: "#7fffd4",
314
+ azure: "#f0ffff",
315
+ beige: "#f5f5dc",
316
+ bisque: "#ffe4c4",
317
+ black: "#000000",
318
+ blanchedalmond: "#ffebcd",
319
+ blue: "#0000ff",
320
+ blueviolet: "#8a2be2",
321
+ brown: "#a52a2a",
322
+ burlywood: "#deb887",
323
+ cadetblue: "#5f9ea0",
324
+ chartreuse: "#7fff00",
325
+ chocolate: "#d2691e",
326
+ coral: "#ff7f50",
327
+ cornflowerblue: "#6495ed",
328
+ cornsilk: "#fff8dc",
329
+ crimson: "#dc143c",
330
+ cyan: "#00ffff",
331
+ darkblue: "#00008b",
332
+ darkcyan: "#008b8b",
333
+ darkgoldenrod: "#b8860b",
334
+ darkgray: "#a9a9a9",
335
+ darkgreen: "#006400",
336
+ darkgrey: "#a9a9a9",
337
+ darkkhaki: "#bdb76b",
338
+ darkmagenta: "#8b008b",
339
+ darkolivegreen: "#556b2f",
340
+ darkorange: "#ff8c00",
341
+ darkorchid: "#9932cc",
342
+ darkred: "#8b0000",
343
+ darksalmon: "#e9967a",
344
+ darkseagreen: "#8fbc8f",
345
+ darkslateblue: "#483d8b",
346
+ darkslategray: "#2f4f4f",
347
+ darkslategrey: "#2f4f4f",
348
+ darkturquoise: "#00ced1",
349
+ darkviolet: "#9400d3",
350
+ deeppink: "#ff1493",
351
+ deepskyblue: "#00bfff",
352
+ dimgray: "#696969",
353
+ dimgrey: "#696969",
354
+ dodgerblue: "#1e90ff",
355
+ firebrick: "#b22222",
356
+ floralwhite: "#fffaf0",
357
+ forestgreen: "#228b22",
358
+ fuchsia: "#ff00ff",
359
+ gainsboro: "#dcdcdc",
360
+ ghostwhite: "#f8f8ff",
361
+ goldenrod: "#daa520",
362
+ gold: "#ffd700",
363
+ gray: "#808080",
364
+ green: "#008000",
365
+ greenyellow: "#adff2f",
366
+ grey: "#808080",
367
+ honeydew: "#f0fff0",
368
+ hotpink: "#ff69b4",
369
+ indianred: "#cd5c5c",
370
+ indigo: "#4b0082",
371
+ ivory: "#fffff0",
372
+ khaki: "#f0e68c",
373
+ lavenderblush: "#fff0f5",
374
+ lavender: "#e6e6fa",
375
+ lawngreen: "#7cfc00",
376
+ lemonchiffon: "#fffacd",
377
+ lightblue: "#add8e6",
378
+ lightcoral: "#f08080",
379
+ lightcyan: "#e0ffff",
380
+ lightgoldenrodyellow: "#fafad2",
381
+ lightgray: "#d3d3d3",
382
+ lightgreen: "#90ee90",
383
+ lightgrey: "#d3d3d3",
384
+ lightpink: "#ffb6c1",
385
+ lightsalmon: "#ffa07a",
386
+ lightseagreen: "#20b2aa",
387
+ lightskyblue: "#87cefa",
388
+ lightslategray: "#778899",
389
+ lightslategrey: "#778899",
390
+ lightsteelblue: "#b0c4de",
391
+ lightyellow: "#ffffe0",
392
+ lime: "#00ff00",
393
+ limegreen: "#32cd32",
394
+ linen: "#faf0e6",
395
+ magenta: "#ff00ff",
396
+ maroon: "#800000",
397
+ mediumaquamarine: "#66cdaa",
398
+ mediumblue: "#0000cd",
399
+ mediumorchid: "#ba55d3",
400
+ mediumpurple: "#9370db",
401
+ mediumseagreen: "#3cb371",
402
+ mediumslateblue: "#7b68ee",
403
+ mediumspringgreen: "#00fa9a",
404
+ mediumturquoise: "#48d1cc",
405
+ mediumvioletred: "#c71585",
406
+ midnightblue: "#191970",
407
+ mintcream: "#f5fffa",
408
+ mistyrose: "#ffe4e1",
409
+ moccasin: "#ffe4b5",
410
+ navajowhite: "#ffdead",
411
+ navy: "#000080",
412
+ oldlace: "#fdf5e6",
413
+ olive: "#808000",
414
+ olivedrab: "#6b8e23",
415
+ orange: "#ffa500",
416
+ orangered: "#ff4500",
417
+ orchid: "#da70d6",
418
+ palegoldenrod: "#eee8aa",
419
+ palegreen: "#98fb98",
420
+ paleturquoise: "#afeeee",
421
+ palevioletred: "#db7093",
422
+ papayawhip: "#ffefd5",
423
+ peachpuff: "#ffdab9",
424
+ peru: "#cd853f",
425
+ pink: "#ffc0cb",
426
+ plum: "#dda0dd",
427
+ powderblue: "#b0e0e6",
428
+ purple: "#800080",
429
+ rebeccapurple: "#663399",
430
+ red: "#ff0000",
431
+ rosybrown: "#bc8f8f",
432
+ royalblue: "#4169e1",
433
+ saddlebrown: "#8b4513",
434
+ salmon: "#fa8072",
435
+ sandybrown: "#f4a460",
436
+ seagreen: "#2e8b57",
437
+ seashell: "#fff5ee",
438
+ sienna: "#a0522d",
439
+ silver: "#c0c0c0",
440
+ skyblue: "#87ceeb",
441
+ slateblue: "#6a5acd",
442
+ slategray: "#708090",
443
+ slategrey: "#708090",
444
+ snow: "#fffafa",
445
+ springgreen: "#00ff7f",
446
+ steelblue: "#4682b4",
447
+ tan: "#d2b48c",
448
+ teal: "#008080",
449
+ thistle: "#d8bfd8",
450
+ tomato: "#ff6347",
451
+ turquoise: "#40e0d0",
452
+ violet: "#ee82ee",
453
+ wheat: "#f5deb3",
454
+ white: "#ffffff",
455
+ whitesmoke: "#f5f5f5",
456
+ yellow: "#ffff00",
457
+ yellowgreen: "#9acd32"
458
+ };
459
+
460
+ // node_modules/@ctrl/tinycolor/dist/module/format-input.js
461
+ function inputToRGB(color) {
462
+ let rgb = { r: 0, g: 0, b: 0 };
463
+ let a = 1;
464
+ let s = null;
465
+ let v = null;
466
+ let l = null;
467
+ let ok = false;
468
+ let format = false;
469
+ if (typeof color === "string") {
470
+ color = stringInputToObject(color);
471
+ }
472
+ if (typeof color === "object") {
473
+ if (isValidCSSUnit(color.r) && isValidCSSUnit(color.g) && isValidCSSUnit(color.b)) {
474
+ rgb = rgbToRgb(color.r, color.g, color.b);
475
+ ok = true;
476
+ format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
477
+ } else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.v)) {
478
+ s = convertToPercentage(color.s);
479
+ v = convertToPercentage(color.v);
480
+ rgb = hsvToRgb(color.h, s, v);
481
+ ok = true;
482
+ format = "hsv";
483
+ } else if (isValidCSSUnit(color.h) && isValidCSSUnit(color.s) && isValidCSSUnit(color.l)) {
484
+ s = convertToPercentage(color.s);
485
+ l = convertToPercentage(color.l);
486
+ rgb = hslToRgb(color.h, s, l);
487
+ ok = true;
488
+ format = "hsl";
489
+ } else if (isValidCSSUnit(color.c) && isValidCSSUnit(color.m) && isValidCSSUnit(color.y) && isValidCSSUnit(color.k)) {
490
+ rgb = cmykToRgb(color.c, color.m, color.y, color.k);
491
+ ok = true;
492
+ format = "cmyk";
493
+ }
494
+ if (Object.prototype.hasOwnProperty.call(color, "a")) {
495
+ a = color.a;
496
+ }
497
+ }
498
+ a = boundAlpha(a);
499
+ return {
500
+ ok,
501
+ format: color.format || format,
502
+ r: Math.min(255, Math.max(rgb.r, 0)),
503
+ g: Math.min(255, Math.max(rgb.g, 0)),
504
+ b: Math.min(255, Math.max(rgb.b, 0)),
505
+ a
506
+ };
507
+ }
508
+ var CSS_INTEGER = "[-\\+]?\\d+%?";
509
+ var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
510
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
511
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
512
+ var PERMISSIVE_MATCH4 = (
513
+ // eslint-disable-next-line prettier/prettier
514
+ "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?"
515
+ );
516
+ var matchers = {
517
+ CSS_UNIT: new RegExp(CSS_UNIT),
518
+ rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
519
+ rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
520
+ hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
521
+ hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
522
+ hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
523
+ hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
524
+ cmyk: new RegExp("cmyk" + PERMISSIVE_MATCH4),
525
+ hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
526
+ hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
527
+ hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
528
+ hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
529
+ };
530
+ function stringInputToObject(color) {
531
+ color = color.trim().toLowerCase();
532
+ if (color.length === 0) {
533
+ return false;
534
+ }
535
+ let named = false;
536
+ if (names[color]) {
537
+ color = names[color];
538
+ named = true;
539
+ } else if (color === "transparent") {
540
+ return { r: 0, g: 0, b: 0, a: 0, format: "name" };
541
+ }
542
+ let match = matchers.rgb.exec(color);
543
+ if (match) {
544
+ return { r: match[1], g: match[2], b: match[3] };
545
+ }
546
+ match = matchers.rgba.exec(color);
547
+ if (match) {
548
+ return { r: match[1], g: match[2], b: match[3], a: match[4] };
549
+ }
550
+ match = matchers.hsl.exec(color);
551
+ if (match) {
552
+ return { h: match[1], s: match[2], l: match[3] };
553
+ }
554
+ match = matchers.hsla.exec(color);
555
+ if (match) {
556
+ return { h: match[1], s: match[2], l: match[3], a: match[4] };
557
+ }
558
+ match = matchers.hsv.exec(color);
559
+ if (match) {
560
+ return { h: match[1], s: match[2], v: match[3] };
561
+ }
562
+ match = matchers.hsva.exec(color);
563
+ if (match) {
564
+ return { h: match[1], s: match[2], v: match[3], a: match[4] };
565
+ }
566
+ match = matchers.cmyk.exec(color);
567
+ if (match) {
568
+ return {
569
+ c: match[1],
570
+ m: match[2],
571
+ y: match[3],
572
+ k: match[4]
573
+ };
574
+ }
575
+ match = matchers.hex8.exec(color);
576
+ if (match) {
577
+ return {
578
+ r: parseIntFromHex(match[1]),
579
+ g: parseIntFromHex(match[2]),
580
+ b: parseIntFromHex(match[3]),
581
+ a: convertHexToDecimal(match[4]),
582
+ format: named ? "name" : "hex8"
583
+ };
584
+ }
585
+ match = matchers.hex6.exec(color);
586
+ if (match) {
587
+ return {
588
+ r: parseIntFromHex(match[1]),
589
+ g: parseIntFromHex(match[2]),
590
+ b: parseIntFromHex(match[3]),
591
+ format: named ? "name" : "hex"
592
+ };
593
+ }
594
+ match = matchers.hex4.exec(color);
595
+ if (match) {
596
+ return {
597
+ r: parseIntFromHex(match[1] + match[1]),
598
+ g: parseIntFromHex(match[2] + match[2]),
599
+ b: parseIntFromHex(match[3] + match[3]),
600
+ a: convertHexToDecimal(match[4] + match[4]),
601
+ format: named ? "name" : "hex8"
602
+ };
603
+ }
604
+ match = matchers.hex3.exec(color);
605
+ if (match) {
606
+ return {
607
+ r: parseIntFromHex(match[1] + match[1]),
608
+ g: parseIntFromHex(match[2] + match[2]),
609
+ b: parseIntFromHex(match[3] + match[3]),
610
+ format: named ? "name" : "hex"
611
+ };
612
+ }
613
+ return false;
614
+ }
615
+ function isValidCSSUnit(color) {
616
+ if (typeof color === "number") {
617
+ return !Number.isNaN(color);
618
+ }
619
+ return matchers.CSS_UNIT.test(color);
620
+ }
621
+
622
+ // node_modules/@ctrl/tinycolor/dist/module/index.js
623
+ var TinyColor = class _TinyColor {
624
+ constructor(color = "", opts = {}) {
625
+ var _a;
626
+ if (color instanceof _TinyColor) {
627
+ return color;
628
+ }
629
+ if (typeof color === "number") {
630
+ color = numberInputToObject(color);
631
+ }
632
+ this.originalInput = color;
633
+ const rgb = inputToRGB(color);
634
+ this.originalInput = color;
635
+ this.r = rgb.r;
636
+ this.g = rgb.g;
637
+ this.b = rgb.b;
638
+ this.a = rgb.a;
639
+ this.roundA = Math.round(100 * this.a) / 100;
640
+ this.format = (_a = opts.format) != null ? _a : rgb.format;
641
+ this.gradientType = opts.gradientType;
642
+ if (this.r < 1) {
643
+ this.r = Math.round(this.r);
644
+ }
645
+ if (this.g < 1) {
646
+ this.g = Math.round(this.g);
647
+ }
648
+ if (this.b < 1) {
649
+ this.b = Math.round(this.b);
650
+ }
651
+ this.isValid = rgb.ok;
652
+ }
653
+ isDark() {
654
+ return this.getBrightness() < 128;
655
+ }
656
+ isLight() {
657
+ return !this.isDark();
658
+ }
659
+ /**
660
+ * Returns the perceived brightness of the color, from 0-255.
661
+ */
662
+ getBrightness() {
663
+ const rgb = this.toRgb();
664
+ return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1e3;
665
+ }
666
+ /**
667
+ * Returns the perceived luminance of a color, from 0-1.
668
+ */
669
+ getLuminance() {
670
+ const rgb = this.toRgb();
671
+ let R;
672
+ let G;
673
+ let B;
674
+ const RsRGB = rgb.r / 255;
675
+ const GsRGB = rgb.g / 255;
676
+ const BsRGB = rgb.b / 255;
677
+ if (RsRGB <= 0.03928) {
678
+ R = RsRGB / 12.92;
679
+ } else {
680
+ R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
681
+ }
682
+ if (GsRGB <= 0.03928) {
683
+ G = GsRGB / 12.92;
684
+ } else {
685
+ G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
686
+ }
687
+ if (BsRGB <= 0.03928) {
688
+ B = BsRGB / 12.92;
689
+ } else {
690
+ B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
691
+ }
692
+ return 0.2126 * R + 0.7152 * G + 0.0722 * B;
693
+ }
694
+ /**
695
+ * Returns the alpha value of a color, from 0-1.
696
+ */
697
+ getAlpha() {
698
+ return this.a;
699
+ }
700
+ /**
701
+ * Sets the alpha value on the current color.
702
+ *
703
+ * @param alpha - The new alpha value. The accepted range is 0-1.
704
+ */
705
+ setAlpha(alpha) {
706
+ this.a = boundAlpha(alpha);
707
+ this.roundA = Math.round(100 * this.a) / 100;
708
+ return this;
709
+ }
710
+ /**
711
+ * Returns whether the color is monochrome.
712
+ */
713
+ isMonochrome() {
714
+ const { s } = this.toHsl();
715
+ return s === 0;
716
+ }
717
+ /**
718
+ * Returns the object as a HSVA object.
719
+ */
720
+ toHsv() {
721
+ const hsv = rgbToHsv(this.r, this.g, this.b);
722
+ return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };
723
+ }
724
+ /**
725
+ * Returns the hsva values interpolated into a string with the following format:
726
+ * "hsva(xxx, xxx, xxx, xx)".
727
+ */
728
+ toHsvString() {
729
+ const hsv = rgbToHsv(this.r, this.g, this.b);
730
+ const h = Math.round(hsv.h * 360);
731
+ const s = Math.round(hsv.s * 100);
732
+ const v = Math.round(hsv.v * 100);
733
+ return this.a === 1 ? `hsv(${h}, ${s}%, ${v}%)` : `hsva(${h}, ${s}%, ${v}%, ${this.roundA})`;
734
+ }
735
+ /**
736
+ * Returns the object as a HSLA object.
737
+ */
738
+ toHsl() {
739
+ const hsl = rgbToHsl(this.r, this.g, this.b);
740
+ return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };
741
+ }
742
+ /**
743
+ * Returns the hsla values interpolated into a string with the following format:
744
+ * "hsla(xxx, xxx, xxx, xx)".
745
+ */
746
+ toHslString() {
747
+ const hsl = rgbToHsl(this.r, this.g, this.b);
748
+ const h = Math.round(hsl.h * 360);
749
+ const s = Math.round(hsl.s * 100);
750
+ const l = Math.round(hsl.l * 100);
751
+ return this.a === 1 ? `hsl(${h}, ${s}%, ${l}%)` : `hsla(${h}, ${s}%, ${l}%, ${this.roundA})`;
752
+ }
753
+ /**
754
+ * Returns the hex value of the color.
755
+ * @param allow3Char will shorten hex value to 3 char if possible
756
+ */
757
+ toHex(allow3Char = false) {
758
+ return rgbToHex(this.r, this.g, this.b, allow3Char);
759
+ }
760
+ /**
761
+ * Returns the hex value of the color -with a # prefixed.
762
+ * @param allow3Char will shorten hex value to 3 char if possible
763
+ */
764
+ toHexString(allow3Char = false) {
765
+ return "#" + this.toHex(allow3Char);
766
+ }
767
+ /**
768
+ * Returns the hex 8 value of the color.
769
+ * @param allow4Char will shorten hex value to 4 char if possible
770
+ */
771
+ toHex8(allow4Char = false) {
772
+ return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);
773
+ }
774
+ /**
775
+ * Returns the hex 8 value of the color -with a # prefixed.
776
+ * @param allow4Char will shorten hex value to 4 char if possible
777
+ */
778
+ toHex8String(allow4Char = false) {
779
+ return "#" + this.toHex8(allow4Char);
780
+ }
781
+ /**
782
+ * Returns the shorter hex value of the color depends on its alpha -with a # prefixed.
783
+ * @param allowShortChar will shorten hex value to 3 or 4 char if possible
784
+ */
785
+ toHexShortString(allowShortChar = false) {
786
+ return this.a === 1 ? this.toHexString(allowShortChar) : this.toHex8String(allowShortChar);
787
+ }
788
+ /**
789
+ * Returns the object as a RGBA object.
790
+ */
791
+ toRgb() {
792
+ return {
793
+ r: Math.round(this.r),
794
+ g: Math.round(this.g),
795
+ b: Math.round(this.b),
796
+ a: this.a
797
+ };
798
+ }
799
+ /**
800
+ * Returns the RGBA values interpolated into a string with the following format:
801
+ * "RGBA(xxx, xxx, xxx, xx)".
802
+ */
803
+ toRgbString() {
804
+ const r2 = Math.round(this.r);
805
+ const g = Math.round(this.g);
806
+ const b2 = Math.round(this.b);
807
+ return this.a === 1 ? `rgb(${r2}, ${g}, ${b2})` : `rgba(${r2}, ${g}, ${b2}, ${this.roundA})`;
808
+ }
809
+ /**
810
+ * Returns the object as a RGBA object.
811
+ */
812
+ toPercentageRgb() {
813
+ const fmt = (x) => `${Math.round(bound01(x, 255) * 100)}%`;
814
+ return {
815
+ r: fmt(this.r),
816
+ g: fmt(this.g),
817
+ b: fmt(this.b),
818
+ a: this.a
819
+ };
820
+ }
821
+ /**
822
+ * Returns the RGBA relative values interpolated into a string
823
+ */
824
+ toPercentageRgbString() {
825
+ const rnd = (x) => Math.round(bound01(x, 255) * 100);
826
+ return this.a === 1 ? `rgb(${rnd(this.r)}%, ${rnd(this.g)}%, ${rnd(this.b)}%)` : `rgba(${rnd(this.r)}%, ${rnd(this.g)}%, ${rnd(this.b)}%, ${this.roundA})`;
827
+ }
828
+ toCmyk() {
829
+ return __spreadValues({}, rgbToCmyk(this.r, this.g, this.b));
830
+ }
831
+ toCmykString() {
832
+ const { c, m, y, k } = rgbToCmyk(this.r, this.g, this.b);
833
+ return `cmyk(${c}, ${m}, ${y}, ${k})`;
834
+ }
835
+ /**
836
+ * The 'real' name of the color -if there is one.
837
+ */
838
+ toName() {
839
+ if (this.a === 0) {
840
+ return "transparent";
841
+ }
842
+ if (this.a < 1) {
843
+ return false;
844
+ }
845
+ const hex = "#" + rgbToHex(this.r, this.g, this.b, false);
846
+ for (const [key, value] of Object.entries(names)) {
847
+ if (hex === value) {
848
+ return key;
849
+ }
850
+ }
851
+ return false;
852
+ }
853
+ toString(format) {
854
+ const formatSet = Boolean(format);
855
+ format = format != null ? format : this.format;
856
+ let formattedString = false;
857
+ const hasAlpha = this.a < 1 && this.a >= 0;
858
+ const needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith("hex") || format === "name");
859
+ if (needsAlphaFormat) {
860
+ if (format === "name" && this.a === 0) {
861
+ return this.toName();
862
+ }
863
+ return this.toRgbString();
864
+ }
865
+ if (format === "rgb") {
866
+ formattedString = this.toRgbString();
867
+ }
868
+ if (format === "prgb") {
869
+ formattedString = this.toPercentageRgbString();
870
+ }
871
+ if (format === "hex" || format === "hex6") {
872
+ formattedString = this.toHexString();
873
+ }
874
+ if (format === "hex3") {
875
+ formattedString = this.toHexString(true);
876
+ }
877
+ if (format === "hex4") {
878
+ formattedString = this.toHex8String(true);
879
+ }
880
+ if (format === "hex8") {
881
+ formattedString = this.toHex8String();
882
+ }
883
+ if (format === "name") {
884
+ formattedString = this.toName();
885
+ }
886
+ if (format === "hsl") {
887
+ formattedString = this.toHslString();
888
+ }
889
+ if (format === "hsv") {
890
+ formattedString = this.toHsvString();
891
+ }
892
+ if (format === "cmyk") {
893
+ formattedString = this.toCmykString();
894
+ }
895
+ return formattedString || this.toHexString();
896
+ }
897
+ toNumber() {
898
+ return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
899
+ }
900
+ clone() {
901
+ return new _TinyColor(this.toString());
902
+ }
903
+ /**
904
+ * Lighten the color a given amount. Providing 100 will always return white.
905
+ * @param amount - valid between 1-100
906
+ */
907
+ lighten(amount = 10) {
908
+ const hsl = this.toHsl();
909
+ hsl.l += amount / 100;
910
+ hsl.l = clamp01(hsl.l);
911
+ return new _TinyColor(hsl);
912
+ }
913
+ /**
914
+ * Brighten the color a given amount, from 0 to 100.
915
+ * @param amount - valid between 1-100
916
+ */
917
+ brighten(amount = 10) {
918
+ const rgb = this.toRgb();
919
+ rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
920
+ rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
921
+ rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
922
+ return new _TinyColor(rgb);
923
+ }
924
+ /**
925
+ * Darken the color a given amount, from 0 to 100.
926
+ * Providing 100 will always return black.
927
+ * @param amount - valid between 1-100
928
+ */
929
+ darken(amount = 10) {
930
+ const hsl = this.toHsl();
931
+ hsl.l -= amount / 100;
932
+ hsl.l = clamp01(hsl.l);
933
+ return new _TinyColor(hsl);
934
+ }
935
+ /**
936
+ * Mix the color with pure white, from 0 to 100.
937
+ * Providing 0 will do nothing, providing 100 will always return white.
938
+ * @param amount - valid between 1-100
939
+ */
940
+ tint(amount = 10) {
941
+ return this.mix("white", amount);
942
+ }
943
+ /**
944
+ * Mix the color with pure black, from 0 to 100.
945
+ * Providing 0 will do nothing, providing 100 will always return black.
946
+ * @param amount - valid between 1-100
947
+ */
948
+ shade(amount = 10) {
949
+ return this.mix("black", amount);
950
+ }
951
+ /**
952
+ * Desaturate the color a given amount, from 0 to 100.
953
+ * Providing 100 will is the same as calling greyscale
954
+ * @param amount - valid between 1-100
955
+ */
956
+ desaturate(amount = 10) {
957
+ const hsl = this.toHsl();
958
+ hsl.s -= amount / 100;
959
+ hsl.s = clamp01(hsl.s);
960
+ return new _TinyColor(hsl);
961
+ }
962
+ /**
963
+ * Saturate the color a given amount, from 0 to 100.
964
+ * @param amount - valid between 1-100
965
+ */
966
+ saturate(amount = 10) {
967
+ const hsl = this.toHsl();
968
+ hsl.s += amount / 100;
969
+ hsl.s = clamp01(hsl.s);
970
+ return new _TinyColor(hsl);
971
+ }
972
+ /**
973
+ * Completely desaturates a color into greyscale.
974
+ * Same as calling `desaturate(100)`
975
+ */
976
+ greyscale() {
977
+ return this.desaturate(100);
978
+ }
979
+ /**
980
+ * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
981
+ * Values outside of this range will be wrapped into this range.
982
+ */
983
+ spin(amount) {
984
+ const hsl = this.toHsl();
985
+ const hue = (hsl.h + amount) % 360;
986
+ hsl.h = hue < 0 ? 360 + hue : hue;
987
+ return new _TinyColor(hsl);
988
+ }
989
+ /**
990
+ * Mix the current color a given amount with another color, from 0 to 100.
991
+ * 0 means no mixing (return current color).
992
+ */
993
+ mix(color, amount = 50) {
994
+ const rgb1 = this.toRgb();
995
+ const rgb2 = new _TinyColor(color).toRgb();
996
+ const p = amount / 100;
997
+ const rgba = {
998
+ r: (rgb2.r - rgb1.r) * p + rgb1.r,
999
+ g: (rgb2.g - rgb1.g) * p + rgb1.g,
1000
+ b: (rgb2.b - rgb1.b) * p + rgb1.b,
1001
+ a: (rgb2.a - rgb1.a) * p + rgb1.a
1002
+ };
1003
+ return new _TinyColor(rgba);
1004
+ }
1005
+ analogous(results = 6, slices = 30) {
1006
+ const hsl = this.toHsl();
1007
+ const part = 360 / slices;
1008
+ const ret = [this];
1009
+ for (hsl.h = (hsl.h - (part * results >> 1) + 720) % 360; --results; ) {
1010
+ hsl.h = (hsl.h + part) % 360;
1011
+ ret.push(new _TinyColor(hsl));
1012
+ }
1013
+ return ret;
1014
+ }
1015
+ /**
1016
+ * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js
1017
+ */
1018
+ complement() {
1019
+ const hsl = this.toHsl();
1020
+ hsl.h = (hsl.h + 180) % 360;
1021
+ return new _TinyColor(hsl);
1022
+ }
1023
+ monochromatic(results = 6) {
1024
+ const hsv = this.toHsv();
1025
+ const { h } = hsv;
1026
+ const { s } = hsv;
1027
+ let { v } = hsv;
1028
+ const res = [];
1029
+ const modification = 1 / results;
1030
+ while (results--) {
1031
+ res.push(new _TinyColor({ h, s, v }));
1032
+ v = (v + modification) % 1;
1033
+ }
1034
+ return res;
1035
+ }
1036
+ splitcomplement() {
1037
+ const hsl = this.toHsl();
1038
+ const { h } = hsl;
1039
+ return [
1040
+ this,
1041
+ new _TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),
1042
+ new _TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l })
1043
+ ];
1044
+ }
1045
+ /**
1046
+ * Compute how the color would appear on a background
1047
+ */
1048
+ onBackground(background) {
1049
+ const fg = this.toRgb();
1050
+ const bg = new _TinyColor(background).toRgb();
1051
+ const alpha = fg.a + bg.a * (1 - fg.a);
1052
+ return new _TinyColor({
1053
+ r: (fg.r * fg.a + bg.r * bg.a * (1 - fg.a)) / alpha,
1054
+ g: (fg.g * fg.a + bg.g * bg.a * (1 - fg.a)) / alpha,
1055
+ b: (fg.b * fg.a + bg.b * bg.a * (1 - fg.a)) / alpha,
1056
+ a: alpha
1057
+ });
1058
+ }
1059
+ /**
1060
+ * Alias for `polyad(3)`
1061
+ */
1062
+ triad() {
1063
+ return this.polyad(3);
1064
+ }
1065
+ /**
1066
+ * Alias for `polyad(4)`
1067
+ */
1068
+ tetrad() {
1069
+ return this.polyad(4);
1070
+ }
1071
+ /**
1072
+ * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)
1073
+ * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...
1074
+ */
1075
+ polyad(n2) {
1076
+ const hsl = this.toHsl();
1077
+ const { h } = hsl;
1078
+ const result = [this];
1079
+ const increment = 360 / n2;
1080
+ for (let i = 1; i < n2; i++) {
1081
+ result.push(new _TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));
1082
+ }
1083
+ return result;
1084
+ }
1085
+ /**
1086
+ * compare color vs current color
1087
+ */
1088
+ equals(color) {
1089
+ const comparedColor = new _TinyColor(color);
1090
+ if (this.format === "cmyk" || comparedColor.format === "cmyk") {
1091
+ return this.toCmykString() === comparedColor.toCmykString();
1092
+ }
1093
+ return this.toRgbString() === comparedColor.toRgbString();
1094
+ }
1095
+ };
1096
+
1097
+ // src/components/color-picker/color-picker.component.ts
1098
+ var hasEyeDropper = "EyeDropper" in window;
1099
+ var CwColorPicker = class extends CwElement {
1100
+ constructor() {
1101
+ super();
1102
+ this.formControlController = new FormControlController(this);
1103
+ this.isSafeValue = false;
1104
+ this.localize = new LocalizeController(this);
1105
+ this.hasFocus = false;
1106
+ this.isDraggingGridHandle = false;
1107
+ this.isEmpty = false;
1108
+ this.inputValue = "";
1109
+ this.hue = 0;
1110
+ this.saturation = 100;
1111
+ this.brightness = 100;
1112
+ this.alpha = 100;
1113
+ this.value = "";
1114
+ this.defaultValue = "";
1115
+ this.label = "";
1116
+ this.format = "hex";
1117
+ this.inline = false;
1118
+ this.size = "medium";
1119
+ this.noFormatToggle = false;
1120
+ this.name = "";
1121
+ this.disabled = false;
1122
+ this.hoist = false;
1123
+ this.opacity = false;
1124
+ this.uppercase = false;
1125
+ this.swatches = "";
1126
+ this.form = "";
1127
+ this.required = false;
1128
+ this.handleFocusIn = () => {
1129
+ this.hasFocus = true;
1130
+ this.emit("cw-focus");
1131
+ };
1132
+ this.handleFocusOut = () => {
1133
+ this.hasFocus = false;
1134
+ this.emit("cw-blur");
1135
+ };
1136
+ this.addEventListener("focusin", this.handleFocusIn);
1137
+ this.addEventListener("focusout", this.handleFocusOut);
1138
+ }
1139
+ /** Gets the validity state object */
1140
+ get validity() {
1141
+ return this.input.validity;
1142
+ }
1143
+ /** Gets the validation message */
1144
+ get validationMessage() {
1145
+ return this.input.validationMessage;
1146
+ }
1147
+ firstUpdated() {
1148
+ this.input.updateComplete.then(() => {
1149
+ this.formControlController.updateValidity();
1150
+ });
1151
+ }
1152
+ handleCopy() {
1153
+ this.input.select();
1154
+ document.execCommand("copy");
1155
+ this.previewButton.focus();
1156
+ this.previewButton.classList.add("color-picker__preview-color--copied");
1157
+ this.previewButton.addEventListener("animationend", () => {
1158
+ this.previewButton.classList.remove("color-picker__preview-color--copied");
1159
+ });
1160
+ }
1161
+ handleFormatToggle() {
1162
+ const formats = ["hex", "rgb", "hsl", "hsv"];
1163
+ const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;
1164
+ this.format = formats[nextIndex];
1165
+ this.setColor(this.value);
1166
+ this.emit("cw-change");
1167
+ this.emit("cw-input");
1168
+ }
1169
+ handleAlphaDrag(event) {
1170
+ const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__alpha");
1171
+ const handle = container.querySelector(".color-picker__slider-handle");
1172
+ const { width } = container.getBoundingClientRect();
1173
+ let initialValue = this.value;
1174
+ let currentValue = this.value;
1175
+ handle.focus();
1176
+ event.preventDefault();
1177
+ drag(container, {
1178
+ onMove: (x) => {
1179
+ this.alpha = clamp(x / width * 100, 0, 100);
1180
+ this.syncValues();
1181
+ if (this.value !== currentValue) {
1182
+ currentValue = this.value;
1183
+ this.emit("cw-input");
1184
+ }
1185
+ },
1186
+ onStop: () => {
1187
+ if (this.value !== initialValue) {
1188
+ initialValue = this.value;
1189
+ this.emit("cw-change");
1190
+ }
1191
+ },
1192
+ initialEvent: event
1193
+ });
1194
+ }
1195
+ handleHueDrag(event) {
1196
+ const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__hue");
1197
+ const handle = container.querySelector(".color-picker__slider-handle");
1198
+ const { width } = container.getBoundingClientRect();
1199
+ let initialValue = this.value;
1200
+ let currentValue = this.value;
1201
+ handle.focus();
1202
+ event.preventDefault();
1203
+ drag(container, {
1204
+ onMove: (x) => {
1205
+ this.hue = clamp(x / width * 360, 0, 360);
1206
+ this.syncValues();
1207
+ if (this.value !== currentValue) {
1208
+ currentValue = this.value;
1209
+ this.emit("cw-input");
1210
+ }
1211
+ },
1212
+ onStop: () => {
1213
+ if (this.value !== initialValue) {
1214
+ initialValue = this.value;
1215
+ this.emit("cw-change");
1216
+ }
1217
+ },
1218
+ initialEvent: event
1219
+ });
1220
+ }
1221
+ handleGridDrag(event) {
1222
+ const grid = this.shadowRoot.querySelector(".color-picker__grid");
1223
+ const handle = grid.querySelector(".color-picker__grid-handle");
1224
+ const { width, height } = grid.getBoundingClientRect();
1225
+ let initialValue = this.value;
1226
+ let currentValue = this.value;
1227
+ handle.focus();
1228
+ event.preventDefault();
1229
+ this.isDraggingGridHandle = true;
1230
+ drag(grid, {
1231
+ onMove: (x, y) => {
1232
+ this.saturation = clamp(x / width * 100, 0, 100);
1233
+ this.brightness = clamp(100 - y / height * 100, 0, 100);
1234
+ this.syncValues();
1235
+ if (this.value !== currentValue) {
1236
+ currentValue = this.value;
1237
+ this.emit("cw-input");
1238
+ }
1239
+ },
1240
+ onStop: () => {
1241
+ this.isDraggingGridHandle = false;
1242
+ if (this.value !== initialValue) {
1243
+ initialValue = this.value;
1244
+ this.emit("cw-change");
1245
+ }
1246
+ },
1247
+ initialEvent: event
1248
+ });
1249
+ }
1250
+ handleAlphaKeyDown(event) {
1251
+ const increment = event.shiftKey ? 10 : 1;
1252
+ const oldValue = this.value;
1253
+ if (event.key === "ArrowLeft") {
1254
+ event.preventDefault();
1255
+ this.alpha = clamp(this.alpha - increment, 0, 100);
1256
+ this.syncValues();
1257
+ }
1258
+ if (event.key === "ArrowRight") {
1259
+ event.preventDefault();
1260
+ this.alpha = clamp(this.alpha + increment, 0, 100);
1261
+ this.syncValues();
1262
+ }
1263
+ if (event.key === "Home") {
1264
+ event.preventDefault();
1265
+ this.alpha = 0;
1266
+ this.syncValues();
1267
+ }
1268
+ if (event.key === "End") {
1269
+ event.preventDefault();
1270
+ this.alpha = 100;
1271
+ this.syncValues();
1272
+ }
1273
+ if (this.value !== oldValue) {
1274
+ this.emit("cw-change");
1275
+ this.emit("cw-input");
1276
+ }
1277
+ }
1278
+ handleHueKeyDown(event) {
1279
+ const increment = event.shiftKey ? 10 : 1;
1280
+ const oldValue = this.value;
1281
+ if (event.key === "ArrowLeft") {
1282
+ event.preventDefault();
1283
+ this.hue = clamp(this.hue - increment, 0, 360);
1284
+ this.syncValues();
1285
+ }
1286
+ if (event.key === "ArrowRight") {
1287
+ event.preventDefault();
1288
+ this.hue = clamp(this.hue + increment, 0, 360);
1289
+ this.syncValues();
1290
+ }
1291
+ if (event.key === "Home") {
1292
+ event.preventDefault();
1293
+ this.hue = 0;
1294
+ this.syncValues();
1295
+ }
1296
+ if (event.key === "End") {
1297
+ event.preventDefault();
1298
+ this.hue = 360;
1299
+ this.syncValues();
1300
+ }
1301
+ if (this.value !== oldValue) {
1302
+ this.emit("cw-change");
1303
+ this.emit("cw-input");
1304
+ }
1305
+ }
1306
+ handleGridKeyDown(event) {
1307
+ const increment = event.shiftKey ? 10 : 1;
1308
+ const oldValue = this.value;
1309
+ if (event.key === "ArrowLeft") {
1310
+ event.preventDefault();
1311
+ this.saturation = clamp(this.saturation - increment, 0, 100);
1312
+ this.syncValues();
1313
+ }
1314
+ if (event.key === "ArrowRight") {
1315
+ event.preventDefault();
1316
+ this.saturation = clamp(this.saturation + increment, 0, 100);
1317
+ this.syncValues();
1318
+ }
1319
+ if (event.key === "ArrowUp") {
1320
+ event.preventDefault();
1321
+ this.brightness = clamp(this.brightness + increment, 0, 100);
1322
+ this.syncValues();
1323
+ }
1324
+ if (event.key === "ArrowDown") {
1325
+ event.preventDefault();
1326
+ this.brightness = clamp(this.brightness - increment, 0, 100);
1327
+ this.syncValues();
1328
+ }
1329
+ if (this.value !== oldValue) {
1330
+ this.emit("cw-change");
1331
+ this.emit("cw-input");
1332
+ }
1333
+ }
1334
+ handleInputChange(event) {
1335
+ const target = event.target;
1336
+ const oldValue = this.value;
1337
+ event.stopPropagation();
1338
+ if (this.input.value) {
1339
+ this.setColor(target.value);
1340
+ target.value = this.value;
1341
+ } else {
1342
+ this.value = "";
1343
+ }
1344
+ if (this.value !== oldValue) {
1345
+ this.emit("cw-change");
1346
+ this.emit("cw-input");
1347
+ }
1348
+ }
1349
+ handleInputInput(event) {
1350
+ this.formControlController.updateValidity();
1351
+ event.stopPropagation();
1352
+ }
1353
+ handleInputKeyDown(event) {
1354
+ if (event.key === "Enter") {
1355
+ const oldValue = this.value;
1356
+ if (this.input.value) {
1357
+ this.setColor(this.input.value);
1358
+ this.input.value = this.value;
1359
+ if (this.value !== oldValue) {
1360
+ this.emit("cw-change");
1361
+ this.emit("cw-input");
1362
+ }
1363
+ setTimeout(() => this.input.select());
1364
+ } else {
1365
+ this.hue = 0;
1366
+ }
1367
+ }
1368
+ }
1369
+ handleInputInvalid(event) {
1370
+ this.formControlController.setValidity(false);
1371
+ this.formControlController.emitInvalidEvent(event);
1372
+ }
1373
+ handleTouchMove(event) {
1374
+ event.preventDefault();
1375
+ }
1376
+ parseColor(colorString) {
1377
+ const color = new TinyColor(colorString);
1378
+ if (!color.isValid) {
1379
+ return null;
1380
+ }
1381
+ const hslColor = color.toHsl();
1382
+ const hsl = {
1383
+ h: hslColor.h,
1384
+ s: hslColor.s * 100,
1385
+ l: hslColor.l * 100,
1386
+ a: hslColor.a
1387
+ };
1388
+ const rgb = color.toRgb();
1389
+ const hex = color.toHexString();
1390
+ const hexa = color.toHex8String();
1391
+ const hsvColor = color.toHsv();
1392
+ const hsv = {
1393
+ h: hsvColor.h,
1394
+ s: hsvColor.s * 100,
1395
+ v: hsvColor.v * 100,
1396
+ a: hsvColor.a
1397
+ };
1398
+ return {
1399
+ hsl: {
1400
+ h: hsl.h,
1401
+ s: hsl.s,
1402
+ l: hsl.l,
1403
+ string: this.setLetterCase(`hsl(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%)`)
1404
+ },
1405
+ hsla: {
1406
+ h: hsl.h,
1407
+ s: hsl.s,
1408
+ l: hsl.l,
1409
+ a: hsl.a,
1410
+ string: this.setLetterCase(
1411
+ `hsla(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%, ${hsl.a.toFixed(2).toString()})`
1412
+ )
1413
+ },
1414
+ hsv: {
1415
+ h: hsv.h,
1416
+ s: hsv.s,
1417
+ v: hsv.v,
1418
+ string: this.setLetterCase(`hsv(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%)`)
1419
+ },
1420
+ hsva: {
1421
+ h: hsv.h,
1422
+ s: hsv.s,
1423
+ v: hsv.v,
1424
+ a: hsv.a,
1425
+ string: this.setLetterCase(
1426
+ `hsva(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%, ${hsv.a.toFixed(2).toString()})`
1427
+ )
1428
+ },
1429
+ rgb: {
1430
+ r: rgb.r,
1431
+ g: rgb.g,
1432
+ b: rgb.b,
1433
+ string: this.setLetterCase(`rgb(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)})`)
1434
+ },
1435
+ rgba: {
1436
+ r: rgb.r,
1437
+ g: rgb.g,
1438
+ b: rgb.b,
1439
+ a: rgb.a,
1440
+ string: this.setLetterCase(
1441
+ `rgba(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)}, ${rgb.a.toFixed(2).toString()})`
1442
+ )
1443
+ },
1444
+ hex: this.setLetterCase(hex),
1445
+ hexa: this.setLetterCase(hexa)
1446
+ };
1447
+ }
1448
+ setColor(colorString) {
1449
+ const newColor = this.parseColor(colorString);
1450
+ if (newColor === null) {
1451
+ return false;
1452
+ }
1453
+ this.hue = newColor.hsva.h;
1454
+ this.saturation = newColor.hsva.s;
1455
+ this.brightness = newColor.hsva.v;
1456
+ this.alpha = this.opacity ? newColor.hsva.a * 100 : 100;
1457
+ this.syncValues();
1458
+ return true;
1459
+ }
1460
+ setLetterCase(string) {
1461
+ if (typeof string !== "string") {
1462
+ return "";
1463
+ }
1464
+ return this.uppercase ? string.toUpperCase() : string.toLowerCase();
1465
+ }
1466
+ async syncValues() {
1467
+ const currentColor = this.parseColor(
1468
+ `hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
1469
+ );
1470
+ if (currentColor === null) {
1471
+ return;
1472
+ }
1473
+ if (this.format === "hsl") {
1474
+ this.inputValue = this.opacity ? currentColor.hsla.string : currentColor.hsl.string;
1475
+ } else if (this.format === "rgb") {
1476
+ this.inputValue = this.opacity ? currentColor.rgba.string : currentColor.rgb.string;
1477
+ } else if (this.format === "hsv") {
1478
+ this.inputValue = this.opacity ? currentColor.hsva.string : currentColor.hsv.string;
1479
+ } else {
1480
+ this.inputValue = this.opacity ? currentColor.hexa : currentColor.hex;
1481
+ }
1482
+ this.isSafeValue = true;
1483
+ this.value = this.inputValue;
1484
+ await this.updateComplete;
1485
+ this.isSafeValue = false;
1486
+ }
1487
+ handleAfterHide() {
1488
+ this.previewButton.classList.remove("color-picker__preview-color--copied");
1489
+ }
1490
+ handleEyeDropper() {
1491
+ if (!hasEyeDropper) {
1492
+ return;
1493
+ }
1494
+ const eyeDropper = new EyeDropper();
1495
+ eyeDropper.open().then((colorSelectionResult) => {
1496
+ const oldValue = this.value;
1497
+ this.setColor(colorSelectionResult.sRGBHex);
1498
+ if (this.value !== oldValue) {
1499
+ this.emit("cw-change");
1500
+ this.emit("cw-input");
1501
+ }
1502
+ }).catch(() => {
1503
+ });
1504
+ }
1505
+ selectSwatch(color) {
1506
+ const oldValue = this.value;
1507
+ if (!this.disabled) {
1508
+ this.setColor(color);
1509
+ if (this.value !== oldValue) {
1510
+ this.emit("cw-change");
1511
+ this.emit("cw-input");
1512
+ }
1513
+ }
1514
+ }
1515
+ /** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
1516
+ getHexString(hue, saturation, brightness, alpha = 100) {
1517
+ const color = new TinyColor(`hsva(${hue}, ${saturation}%, ${brightness}%, ${alpha / 100})`);
1518
+ if (!color.isValid) {
1519
+ return "";
1520
+ }
1521
+ return color.toHex8String();
1522
+ }
1523
+ // Prevents nested components from leaking events
1524
+ stopNestedEventPropagation(event) {
1525
+ event.stopImmediatePropagation();
1526
+ }
1527
+ handleFormatChange() {
1528
+ this.syncValues();
1529
+ }
1530
+ handleOpacityChange() {
1531
+ this.alpha = 100;
1532
+ }
1533
+ handleValueChange(oldValue, newValue) {
1534
+ this.isEmpty = !newValue;
1535
+ if (!newValue) {
1536
+ this.hue = 0;
1537
+ this.saturation = 0;
1538
+ this.brightness = 100;
1539
+ this.alpha = 100;
1540
+ }
1541
+ if (!this.isSafeValue) {
1542
+ const newColor = this.parseColor(newValue);
1543
+ if (newColor !== null) {
1544
+ this.inputValue = this.value;
1545
+ this.hue = newColor.hsva.h;
1546
+ this.saturation = newColor.hsva.s;
1547
+ this.brightness = newColor.hsva.v;
1548
+ this.alpha = newColor.hsva.a * 100;
1549
+ this.syncValues();
1550
+ } else {
1551
+ this.inputValue = oldValue != null ? oldValue : "";
1552
+ }
1553
+ }
1554
+ }
1555
+ /** Sets focus on the color picker. */
1556
+ focus(options) {
1557
+ if (this.inline) {
1558
+ this.base.focus(options);
1559
+ } else {
1560
+ this.trigger.focus(options);
1561
+ }
1562
+ }
1563
+ /** Removes focus from the color picker. */
1564
+ blur() {
1565
+ var _a;
1566
+ const elementToBlur = this.inline ? this.base : this.trigger;
1567
+ if (this.hasFocus) {
1568
+ elementToBlur.focus({ preventScroll: true });
1569
+ elementToBlur.blur();
1570
+ }
1571
+ if ((_a = this.dropdown) == null ? void 0 : _a.open) {
1572
+ this.dropdown.hide();
1573
+ }
1574
+ }
1575
+ /** Returns the current value as a string in the specified format. */
1576
+ getFormattedValue(format = "hex") {
1577
+ const currentColor = this.parseColor(
1578
+ `hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
1579
+ );
1580
+ if (currentColor === null) {
1581
+ return "";
1582
+ }
1583
+ switch (format) {
1584
+ case "hex":
1585
+ return currentColor.hex;
1586
+ case "hexa":
1587
+ return currentColor.hexa;
1588
+ case "rgb":
1589
+ return currentColor.rgb.string;
1590
+ case "rgba":
1591
+ return currentColor.rgba.string;
1592
+ case "hsl":
1593
+ return currentColor.hsl.string;
1594
+ case "hsla":
1595
+ return currentColor.hsla.string;
1596
+ case "hsv":
1597
+ return currentColor.hsv.string;
1598
+ case "hsva":
1599
+ return currentColor.hsva.string;
1600
+ default:
1601
+ return "";
1602
+ }
1603
+ }
1604
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
1605
+ checkValidity() {
1606
+ return this.input.checkValidity();
1607
+ }
1608
+ /** Gets the associated form, if one exists. */
1609
+ getForm() {
1610
+ return this.formControlController.getForm();
1611
+ }
1612
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
1613
+ reportValidity() {
1614
+ if (!this.inline && !this.validity.valid) {
1615
+ this.dropdown.show();
1616
+ this.addEventListener("cw-after-show", () => this.input.reportValidity(), { once: true });
1617
+ if (!this.disabled) {
1618
+ this.formControlController.emitInvalidEvent();
1619
+ }
1620
+ return false;
1621
+ }
1622
+ return this.input.reportValidity();
1623
+ }
1624
+ /** Sets a custom validation message. Pass an empty string to restore validity. */
1625
+ setCustomValidity(message) {
1626
+ this.input.setCustomValidity(message);
1627
+ this.formControlController.updateValidity();
1628
+ }
1629
+ render() {
1630
+ const gridHandleX = this.saturation;
1631
+ const gridHandleY = 100 - this.brightness;
1632
+ const swatches = Array.isArray(this.swatches) ? this.swatches : this.swatches.split(";").filter((color) => color.trim() !== "");
1633
+ const colorPicker = b`
1634
+ <div
1635
+ part="base"
1636
+ class=${e({
1637
+ "color-picker": true,
1638
+ "color-picker--inline": this.inline,
1639
+ "color-picker--disabled": this.disabled,
1640
+ "color-picker--focused": this.hasFocus
1641
+ })}
1642
+ aria-disabled=${this.disabled ? "true" : "false"}
1643
+ aria-labelledby="label"
1644
+ tabindex=${this.inline ? "0" : "-1"}
1645
+ >
1646
+ ${this.inline ? b`
1647
+ <cw-visually-hidden id="label">
1648
+ <slot name="label">${this.label}</slot>
1649
+ </cw-visually-hidden>
1650
+ ` : null}
1651
+
1652
+ <div
1653
+ part="grid"
1654
+ class="color-picker__grid"
1655
+ style=${o2({ backgroundColor: this.getHexString(this.hue, 100, 100) })}
1656
+ @pointerdown=${this.handleGridDrag}
1657
+ @touchmove=${this.handleTouchMove}
1658
+ >
1659
+ <span
1660
+ part="grid-handle"
1661
+ class=${e({
1662
+ "color-picker__grid-handle": true,
1663
+ "color-picker__grid-handle--dragging": this.isDraggingGridHandle
1664
+ })}
1665
+ style=${o2({
1666
+ top: `${gridHandleY}%`,
1667
+ left: `${gridHandleX}%`,
1668
+ backgroundColor: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
1669
+ })}
1670
+ role="application"
1671
+ aria-label="HSV"
1672
+ tabindex=${o(this.disabled ? void 0 : "0")}
1673
+ @keydown=${this.handleGridKeyDown}
1674
+ ></span>
1675
+ </div>
1676
+
1677
+ <div class="color-picker__controls">
1678
+ <div class="color-picker__sliders">
1679
+ <div
1680
+ part="slider hue-slider"
1681
+ class="color-picker__hue color-picker__slider"
1682
+ @pointerdown=${this.handleHueDrag}
1683
+ @touchmove=${this.handleTouchMove}
1684
+ >
1685
+ <span
1686
+ part="slider-handle hue-slider-handle"
1687
+ class="color-picker__slider-handle"
1688
+ style=${o2({
1689
+ left: `${this.hue === 0 ? 0 : 100 / (360 / this.hue)}%`
1690
+ })}
1691
+ role="slider"
1692
+ aria-label="hue"
1693
+ aria-orientation="horizontal"
1694
+ aria-valuemin="0"
1695
+ aria-valuemax="360"
1696
+ aria-valuenow=${`${Math.round(this.hue)}`}
1697
+ tabindex=${o(this.disabled ? void 0 : "0")}
1698
+ @keydown=${this.handleHueKeyDown}
1699
+ ></span>
1700
+ </div>
1701
+
1702
+ ${this.opacity ? b`
1703
+ <div
1704
+ part="slider opacity-slider"
1705
+ class="color-picker__alpha color-picker__slider color-picker__transparent-bg"
1706
+ @pointerdown="${this.handleAlphaDrag}"
1707
+ @touchmove=${this.handleTouchMove}
1708
+ >
1709
+ <div
1710
+ class="color-picker__alpha-gradient"
1711
+ style=${o2({
1712
+ backgroundImage: `linear-gradient(
1713
+ to right,
1714
+ ${this.getHexString(this.hue, this.saturation, this.brightness, 0)} 0%,
1715
+ ${this.getHexString(this.hue, this.saturation, this.brightness, 100)} 100%
1716
+ )`
1717
+ })}
1718
+ ></div>
1719
+ <span
1720
+ part="slider-handle opacity-slider-handle"
1721
+ class="color-picker__slider-handle"
1722
+ style=${o2({
1723
+ left: `${this.alpha}%`
1724
+ })}
1725
+ role="slider"
1726
+ aria-label="alpha"
1727
+ aria-orientation="horizontal"
1728
+ aria-valuemin="0"
1729
+ aria-valuemax="100"
1730
+ aria-valuenow=${Math.round(this.alpha)}
1731
+ tabindex=${o(this.disabled ? void 0 : "0")}
1732
+ @keydown=${this.handleAlphaKeyDown}
1733
+ ></span>
1734
+ </div>
1735
+ ` : ""}
1736
+ </div>
1737
+
1738
+ <button
1739
+ type="button"
1740
+ part="preview"
1741
+ class="color-picker__preview color-picker__transparent-bg"
1742
+ aria-label=${this.localize.term("copy")}
1743
+ style=${o2({
1744
+ "--preview-color": this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
1745
+ })}
1746
+ @click=${this.handleCopy}
1747
+ ></button>
1748
+ </div>
1749
+
1750
+ <div class="color-picker__user-input" aria-live="polite">
1751
+ <cw-input
1752
+ part="input"
1753
+ type="text"
1754
+ name=${this.name}
1755
+ autocomplete="off"
1756
+ autocorrect="off"
1757
+ autocapitalize="off"
1758
+ spellcheck="false"
1759
+ value=${this.isEmpty ? "" : this.inputValue}
1760
+ ?required=${this.required}
1761
+ ?disabled=${this.disabled}
1762
+ aria-label=${this.localize.term("currentValue")}
1763
+ @keydown=${this.handleInputKeyDown}
1764
+ @cw-change=${this.handleInputChange}
1765
+ @cw-input=${this.handleInputInput}
1766
+ @cw-invalid=${this.handleInputInvalid}
1767
+ @cw-blur=${this.stopNestedEventPropagation}
1768
+ @cw-focus=${this.stopNestedEventPropagation}
1769
+ ></cw-input>
1770
+
1771
+ <cw-button-group>
1772
+ ${!this.noFormatToggle ? b`
1773
+ <cw-button
1774
+ part="format-button"
1775
+ aria-label=${this.localize.term("toggleColorFormat")}
1776
+ exportparts="
1777
+ base:format-button__base,
1778
+ prefix:format-button__prefix,
1779
+ label:format-button__label,
1780
+ suffix:format-button__suffix,
1781
+ caret:format-button__caret
1782
+ "
1783
+ @click=${this.handleFormatToggle}
1784
+ @cw-blur=${this.stopNestedEventPropagation}
1785
+ @cw-focus=${this.stopNestedEventPropagation}
1786
+ >
1787
+ ${this.setLetterCase(this.format)}
1788
+ </cw-button>
1789
+ ` : ""}
1790
+ ${hasEyeDropper ? b`
1791
+ <cw-button
1792
+ part="eye-dropper-button"
1793
+ exportparts="
1794
+ base:eye-dropper-button__base,
1795
+ prefix:eye-dropper-button__prefix,
1796
+ label:eye-dropper-button__label,
1797
+ suffix:eye-dropper-button__suffix,
1798
+ caret:eye-dropper-button__caret
1799
+ "
1800
+ @click=${this.handleEyeDropper}
1801
+ @cw-blur=${this.stopNestedEventPropagation}
1802
+ @cw-focus=${this.stopNestedEventPropagation}
1803
+ >
1804
+ <cw-icon
1805
+ library="system"
1806
+ name="eyedropper"
1807
+ label=${this.localize.term("selectAColorFromTheScreen")}
1808
+ ></cw-icon>
1809
+ </cw-button>
1810
+ ` : ""}
1811
+ </cw-button-group>
1812
+ </div>
1813
+
1814
+ ${swatches.length > 0 ? b`
1815
+ <div part="swatches" class="color-picker__swatches">
1816
+ ${swatches.map((swatch) => {
1817
+ const parsedColor = this.parseColor(swatch);
1818
+ if (!parsedColor) {
1819
+ console.error(`Unable to parse swatch color: "${swatch}"`, this);
1820
+ return "";
1821
+ }
1822
+ return b`
1823
+ <div
1824
+ part="swatch"
1825
+ class="color-picker__swatch color-picker__transparent-bg"
1826
+ tabindex=${o(this.disabled ? void 0 : "0")}
1827
+ role="button"
1828
+ aria-label=${swatch}
1829
+ @click=${() => this.selectSwatch(swatch)}
1830
+ @keydown=${(event) => !this.disabled && event.key === "Enter" && this.setColor(parsedColor.hexa)}
1831
+ >
1832
+ <div
1833
+ class="color-picker__swatch-color"
1834
+ style=${o2({ backgroundColor: parsedColor.hexa })}
1835
+ ></div>
1836
+ </div>
1837
+ `;
1838
+ })}
1839
+ </div>
1840
+ ` : ""}
1841
+ </div>
1842
+ `;
1843
+ if (this.inline) {
1844
+ return colorPicker;
1845
+ }
1846
+ return b`
1847
+ <cw-dropdown
1848
+ class="color-dropdown"
1849
+ aria-disabled=${this.disabled ? "true" : "false"}
1850
+ .containingElement=${this}
1851
+ ?disabled=${this.disabled}
1852
+ ?hoist=${this.hoist}
1853
+ @cw-after-hide=${this.handleAfterHide}
1854
+ >
1855
+ <button
1856
+ part="trigger"
1857
+ slot="trigger"
1858
+ class=${e({
1859
+ "color-dropdown__trigger": true,
1860
+ "color-dropdown__trigger--disabled": this.disabled,
1861
+ "color-dropdown__trigger--small": this.size === "small",
1862
+ "color-dropdown__trigger--medium": this.size === "medium",
1863
+ "color-dropdown__trigger--large": this.size === "large",
1864
+ "color-dropdown__trigger--empty": this.isEmpty,
1865
+ "color-dropdown__trigger--focused": this.hasFocus,
1866
+ "color-picker__transparent-bg": true
1867
+ })}
1868
+ style=${o2({
1869
+ color: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
1870
+ })}
1871
+ type="button"
1872
+ >
1873
+ <cw-visually-hidden>
1874
+ <slot name="label">${this.label}</slot>
1875
+ </cw-visually-hidden>
1876
+ </button>
1877
+ ${colorPicker}
1878
+ </cw-dropdown>
1879
+ `;
1880
+ }
1881
+ };
1882
+ CwColorPicker.styles = [component_styles_default, color_picker_styles_default];
1883
+ CwColorPicker.dependencies = {
1884
+ "cw-button-group": CwButtonGroup,
1885
+ "cw-button": CwButton,
1886
+ "cw-dropdown": CwDropdown,
1887
+ "cw-icon": CwIcon,
1888
+ "cw-input": CwInput,
1889
+ "cw-visually-hidden": CwVisuallyHidden
1890
+ };
1891
+ __decorateClass([
1892
+ e2('[part~="base"]')
1893
+ ], CwColorPicker.prototype, "base", 2);
1894
+ __decorateClass([
1895
+ e2('[part~="input"]')
1896
+ ], CwColorPicker.prototype, "input", 2);
1897
+ __decorateClass([
1898
+ e2(".color-dropdown")
1899
+ ], CwColorPicker.prototype, "dropdown", 2);
1900
+ __decorateClass([
1901
+ e2('[part~="preview"]')
1902
+ ], CwColorPicker.prototype, "previewButton", 2);
1903
+ __decorateClass([
1904
+ e2('[part~="trigger"]')
1905
+ ], CwColorPicker.prototype, "trigger", 2);
1906
+ __decorateClass([
1907
+ r()
1908
+ ], CwColorPicker.prototype, "hasFocus", 2);
1909
+ __decorateClass([
1910
+ r()
1911
+ ], CwColorPicker.prototype, "isDraggingGridHandle", 2);
1912
+ __decorateClass([
1913
+ r()
1914
+ ], CwColorPicker.prototype, "isEmpty", 2);
1915
+ __decorateClass([
1916
+ r()
1917
+ ], CwColorPicker.prototype, "inputValue", 2);
1918
+ __decorateClass([
1919
+ r()
1920
+ ], CwColorPicker.prototype, "hue", 2);
1921
+ __decorateClass([
1922
+ r()
1923
+ ], CwColorPicker.prototype, "saturation", 2);
1924
+ __decorateClass([
1925
+ r()
1926
+ ], CwColorPicker.prototype, "brightness", 2);
1927
+ __decorateClass([
1928
+ r()
1929
+ ], CwColorPicker.prototype, "alpha", 2);
1930
+ __decorateClass([
1931
+ n()
1932
+ ], CwColorPicker.prototype, "value", 2);
1933
+ __decorateClass([
1934
+ defaultValue()
1935
+ ], CwColorPicker.prototype, "defaultValue", 2);
1936
+ __decorateClass([
1937
+ n()
1938
+ ], CwColorPicker.prototype, "label", 2);
1939
+ __decorateClass([
1940
+ n()
1941
+ ], CwColorPicker.prototype, "format", 2);
1942
+ __decorateClass([
1943
+ n({ type: Boolean, reflect: true })
1944
+ ], CwColorPicker.prototype, "inline", 2);
1945
+ __decorateClass([
1946
+ n({ reflect: true })
1947
+ ], CwColorPicker.prototype, "size", 2);
1948
+ __decorateClass([
1949
+ n({ attribute: "no-format-toggle", type: Boolean })
1950
+ ], CwColorPicker.prototype, "noFormatToggle", 2);
1951
+ __decorateClass([
1952
+ n()
1953
+ ], CwColorPicker.prototype, "name", 2);
1954
+ __decorateClass([
1955
+ n({ type: Boolean, reflect: true })
1956
+ ], CwColorPicker.prototype, "disabled", 2);
1957
+ __decorateClass([
1958
+ n({ type: Boolean })
1959
+ ], CwColorPicker.prototype, "hoist", 2);
1960
+ __decorateClass([
1961
+ n({ type: Boolean })
1962
+ ], CwColorPicker.prototype, "opacity", 2);
1963
+ __decorateClass([
1964
+ n({ type: Boolean })
1965
+ ], CwColorPicker.prototype, "uppercase", 2);
1966
+ __decorateClass([
1967
+ n()
1968
+ ], CwColorPicker.prototype, "swatches", 2);
1969
+ __decorateClass([
1970
+ n({ reflect: true })
1971
+ ], CwColorPicker.prototype, "form", 2);
1972
+ __decorateClass([
1973
+ n({ type: Boolean, reflect: true })
1974
+ ], CwColorPicker.prototype, "required", 2);
1975
+ __decorateClass([
1976
+ t({ passive: false })
1977
+ ], CwColorPicker.prototype, "handleTouchMove", 1);
1978
+ __decorateClass([
1979
+ watch("format", { waitUntilFirstUpdate: true })
1980
+ ], CwColorPicker.prototype, "handleFormatChange", 1);
1981
+ __decorateClass([
1982
+ watch("opacity", { waitUntilFirstUpdate: true })
1983
+ ], CwColorPicker.prototype, "handleOpacityChange", 1);
1984
+ __decorateClass([
1985
+ watch("value")
1986
+ ], CwColorPicker.prototype, "handleValueChange", 1);
1987
+
1988
+ export {
1989
+ CwColorPicker
1990
+ };