@esri/calcite-components 3.2.0-next.13 → 3.2.0-next.15

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 (990) hide show
  1. package/dist/calcite/23EU6UPX.js +4 -0
  2. package/dist/calcite/27RACJKK.js +4 -0
  3. package/dist/calcite/27RACJKK.js.LEGAL.txt +3 -0
  4. package/dist/calcite/2E6KETTZ.js +4 -0
  5. package/dist/calcite/2E6KETTZ.js.LEGAL.txt +3 -0
  6. package/dist/calcite/2K7NRPKG.js +4 -0
  7. package/dist/calcite/2K7NRPKG.js.LEGAL.txt +3 -0
  8. package/dist/calcite/2PODGDXC.js +4 -0
  9. package/dist/calcite/2PODGDXC.js.LEGAL.txt +3 -0
  10. package/dist/calcite/2UGZER7R.js +5 -0
  11. package/dist/calcite/2UGZER7R.js.LEGAL.txt +17 -0
  12. package/dist/calcite/326FB33H.js +4 -0
  13. package/dist/calcite/326FB33H.js.LEGAL.txt +3 -0
  14. package/dist/calcite/3332Q76I.js +4 -0
  15. package/dist/calcite/3332Q76I.js.LEGAL.txt +3 -0
  16. package/dist/calcite/3I4RDVPN.js +4 -0
  17. package/dist/calcite/3I4RDVPN.js.LEGAL.txt +3 -0
  18. package/dist/calcite/3IEGEGNJ.js +4 -0
  19. package/dist/calcite/3IEGEGNJ.js.LEGAL.txt +3 -0
  20. package/dist/calcite/3LFNLCZH.js +4 -0
  21. package/dist/calcite/3LFNLCZH.js.LEGAL.txt +3 -0
  22. package/dist/calcite/3RSJ4SDO.js +4 -0
  23. package/dist/calcite/3RSJ4SDO.js.LEGAL.txt +3 -0
  24. package/dist/calcite/3ZQH3UEX.js +4 -0
  25. package/dist/calcite/45RKT3ZB.js +4 -0
  26. package/dist/calcite/45RKT3ZB.js.LEGAL.txt +3 -0
  27. package/dist/calcite/46HKIT7M.js +4 -0
  28. package/dist/calcite/46HKIT7M.js.LEGAL.txt +3 -0
  29. package/dist/calcite/47ERAB23.js +4 -0
  30. package/dist/calcite/47ERAB23.js.LEGAL.txt +3 -0
  31. package/dist/calcite/4K5E3LAU.js +4 -0
  32. package/dist/calcite/4RVZ5KAX.js +4 -0
  33. package/dist/calcite/4XLJPBDY.js +4 -0
  34. package/dist/calcite/4XLJPBDY.js.LEGAL.txt +3 -0
  35. package/dist/calcite/4XWWQIVX.js +6 -0
  36. package/dist/calcite/4XWWQIVX.js.LEGAL.txt +145 -0
  37. package/dist/calcite/54F7YZTL.js +4 -0
  38. package/dist/calcite/54F7YZTL.js.LEGAL.txt +3 -0
  39. package/dist/calcite/56NWVJN6.js +4 -0
  40. package/dist/calcite/56NWVJN6.js.LEGAL.txt +3 -0
  41. package/dist/calcite/5BFNNUFR.js +4 -0
  42. package/dist/calcite/5BFNNUFR.js.LEGAL.txt +3 -0
  43. package/dist/calcite/5GQBW5S5.js +4 -0
  44. package/dist/calcite/5I3JBG34.js +4 -0
  45. package/dist/calcite/66FZHQW7.js +4 -0
  46. package/dist/calcite/66FZHQW7.js.LEGAL.txt +3 -0
  47. package/dist/calcite/6A2HZOWM.js +4 -0
  48. package/dist/calcite/6A2HZOWM.js.LEGAL.txt +3 -0
  49. package/dist/calcite/6GMMITQT.js +4 -0
  50. package/dist/calcite/6GMMITQT.js.LEGAL.txt +3 -0
  51. package/dist/calcite/6NPSXZY2.js +4 -0
  52. package/dist/calcite/6NPSXZY2.js.LEGAL.txt +3 -0
  53. package/dist/calcite/6SEAEMVV.js +4 -0
  54. package/dist/calcite/6SEAEMVV.js.LEGAL.txt +3 -0
  55. package/dist/calcite/6U67PF5A.js +4 -0
  56. package/dist/calcite/6WDWQTIP.js +4 -0
  57. package/dist/calcite/77KQVI53.js +4 -0
  58. package/dist/calcite/77KQVI53.js.LEGAL.txt +3 -0
  59. package/dist/calcite/7IDL47FT.js +4 -0
  60. package/dist/calcite/7IDL47FT.js.LEGAL.txt +3 -0
  61. package/dist/calcite/7NNRZ7HL.js +4 -0
  62. package/dist/calcite/7NNRZ7HL.js.LEGAL.txt +3 -0
  63. package/dist/calcite/7YL7CEOH.js +4 -0
  64. package/dist/calcite/ADG3HFFU.js +4 -0
  65. package/dist/calcite/ADG3HFFU.js.LEGAL.txt +3 -0
  66. package/dist/calcite/AGH42DST.js +4 -0
  67. package/dist/calcite/ASVUCLPL.js +4 -0
  68. package/dist/calcite/ASVUCLPL.js.LEGAL.txt +3 -0
  69. package/dist/calcite/AZ5A3SF6.js +4 -0
  70. package/dist/calcite/AZU7ZRDQ.js +4 -0
  71. package/dist/calcite/B3FWV67U.js +4 -0
  72. package/dist/calcite/B3FWV67U.js.LEGAL.txt +3 -0
  73. package/dist/calcite/B4PJDWNV.js +4 -0
  74. package/dist/calcite/BAECDQZM.js +4 -0
  75. package/dist/calcite/BAECDQZM.js.LEGAL.txt +3 -0
  76. package/dist/calcite/BB42TUMF.js +4 -0
  77. package/dist/calcite/BB42TUMF.js.LEGAL.txt +3 -0
  78. package/dist/calcite/BLMCFZ3S.js +4 -0
  79. package/dist/calcite/BXGCPISW.js +4 -0
  80. package/dist/calcite/CED453P5.js +4 -0
  81. package/dist/calcite/CED453P5.js.LEGAL.txt +3 -0
  82. package/dist/calcite/CMVGNJRB.js +4 -0
  83. package/dist/calcite/CNGVFEWR.js +4 -0
  84. package/dist/calcite/COV2OA2Q.js +4 -0
  85. package/dist/calcite/COV2OA2Q.js.LEGAL.txt +3 -0
  86. package/dist/calcite/CPT2I4MC.js +4 -0
  87. package/dist/calcite/CS6HV6WH.js +4 -0
  88. package/dist/calcite/CS6NACWQ.js +4 -0
  89. package/dist/calcite/CS6NACWQ.js.LEGAL.txt +3 -0
  90. package/dist/calcite/CTZHVGW3.js +4 -0
  91. package/dist/calcite/CUP22FIM.js +4 -0
  92. package/dist/calcite/CUP22FIM.js.LEGAL.txt +3 -0
  93. package/dist/calcite/CY3KURUI.js +4 -0
  94. package/dist/calcite/CY3KURUI.js.LEGAL.txt +3 -0
  95. package/dist/calcite/CZA6PAXX.js +4 -0
  96. package/dist/calcite/CZA6PAXX.js.LEGAL.txt +3 -0
  97. package/dist/calcite/CZNRLVF4.js +4 -0
  98. package/dist/calcite/CZNRLVF4.js.LEGAL.txt +3 -0
  99. package/dist/calcite/CZQQFMZH.js +4 -0
  100. package/dist/calcite/CZQQFMZH.js.LEGAL.txt +3 -0
  101. package/dist/calcite/D2QE33SH.js +4 -0
  102. package/dist/calcite/D2QE33SH.js.LEGAL.txt +7 -0
  103. package/dist/calcite/DE4EAADS.js +4 -0
  104. package/dist/calcite/DE4EAADS.js.LEGAL.txt +3 -0
  105. package/dist/calcite/DEKK5SC3.js +4 -0
  106. package/dist/calcite/DEKK5SC3.js.LEGAL.txt +3 -0
  107. package/dist/calcite/DJRZNKBW.js +4 -0
  108. package/dist/calcite/DPTHNGNY.js +4 -0
  109. package/dist/calcite/DPTHNGNY.js.LEGAL.txt +3 -0
  110. package/dist/calcite/DUTQTHPZ.js +4 -0
  111. package/dist/calcite/DUTQTHPZ.js.LEGAL.txt +3 -0
  112. package/dist/calcite/DZBH4YUU.js +4 -0
  113. package/dist/calcite/DZBH4YUU.js.LEGAL.txt +3 -0
  114. package/dist/calcite/E24SSTNI.js +4 -0
  115. package/dist/calcite/E24SSTNI.js.LEGAL.txt +3 -0
  116. package/dist/calcite/E3X6PGR5.js +4 -0
  117. package/dist/calcite/E6ZQVQU7.js +4 -0
  118. package/dist/calcite/E6ZQVQU7.js.LEGAL.txt +3 -0
  119. package/dist/calcite/EPUN6RP4.js +4 -0
  120. package/dist/calcite/EX3KODIH.js +4 -0
  121. package/dist/calcite/EX3KODIH.js.LEGAL.txt +3 -0
  122. package/dist/calcite/F4HPVJRX.js +4 -0
  123. package/dist/calcite/F4HPVJRX.js.LEGAL.txt +3 -0
  124. package/dist/calcite/FAJVWDVR.js +4 -0
  125. package/dist/calcite/FAJVWDVR.js.LEGAL.txt +3 -0
  126. package/dist/calcite/FKQ7AT75.js +4 -0
  127. package/dist/calcite/FTS4C2TU.js +28 -0
  128. package/dist/calcite/FTS4C2TU.js.LEGAL.txt +3 -0
  129. package/dist/calcite/FUIQ7372.js +4 -0
  130. package/dist/calcite/FUIQ7372.js.LEGAL.txt +3 -0
  131. package/dist/calcite/G27AWNPA.js +4 -0
  132. package/dist/calcite/G27AWNPA.js.LEGAL.txt +3 -0
  133. package/dist/calcite/G2ITNI43.js +4 -0
  134. package/dist/calcite/G2ITNI43.js.LEGAL.txt +3 -0
  135. package/dist/calcite/G5BNCWKT.js +4 -0
  136. package/dist/calcite/G5BNCWKT.js.LEGAL.txt +3 -0
  137. package/dist/calcite/GCIH4BOO.js +4 -0
  138. package/dist/calcite/GGMJQ7EA.js +4 -0
  139. package/dist/calcite/GGMJQ7EA.js.LEGAL.txt +3 -0
  140. package/dist/calcite/GIIVF3SM.js +4 -0
  141. package/dist/calcite/GIIVF3SM.js.LEGAL.txt +3 -0
  142. package/dist/calcite/GQMECONA.js +4 -0
  143. package/dist/calcite/GQMECONA.js.LEGAL.txt +3 -0
  144. package/dist/calcite/GRODOX6H.js +4 -0
  145. package/dist/calcite/GRODOX6H.js.LEGAL.txt +3 -0
  146. package/dist/calcite/GTBEFZWG.js +4 -0
  147. package/dist/calcite/GUW2RZKB.js +4 -0
  148. package/dist/calcite/GUW2RZKB.js.LEGAL.txt +3 -0
  149. package/dist/calcite/GUWKTZ5S.js +4 -0
  150. package/dist/calcite/GUWKTZ5S.js.LEGAL.txt +3 -0
  151. package/dist/calcite/H3K77RY2.js +4 -0
  152. package/dist/calcite/H3K77RY2.js.LEGAL.txt +3 -0
  153. package/dist/calcite/HEF6722X.js +4 -0
  154. package/dist/calcite/HEF6722X.js.LEGAL.txt +3 -0
  155. package/dist/calcite/HFD5SCAI.js +4 -0
  156. package/dist/calcite/HFD5SCAI.js.LEGAL.txt +3 -0
  157. package/dist/calcite/HUXOFN4E.js +4 -0
  158. package/dist/calcite/HUXOFN4E.js.LEGAL.txt +3 -0
  159. package/dist/calcite/I3QY75YG.js +4 -0
  160. package/dist/calcite/I3QY75YG.js.LEGAL.txt +3 -0
  161. package/dist/calcite/IADSG2Z5.js +4 -0
  162. package/dist/calcite/IADSG2Z5.js.LEGAL.txt +3 -0
  163. package/dist/calcite/IMEC4LGQ.js +4 -0
  164. package/dist/calcite/IMEC4LGQ.js.LEGAL.txt +3 -0
  165. package/dist/calcite/IPYJATEE.js +4 -0
  166. package/dist/calcite/IVRLQAFN.js +4 -0
  167. package/dist/calcite/IVRLQAFN.js.LEGAL.txt +3 -0
  168. package/dist/calcite/IYNOEWNM.js +4 -0
  169. package/dist/calcite/J3MZAK7C.js +4 -0
  170. package/dist/calcite/J7Q2U5LD.js +4 -0
  171. package/dist/calcite/JEYDCV6R.js +4 -0
  172. package/dist/calcite/JEYDCV6R.js.LEGAL.txt +3 -0
  173. package/dist/calcite/JFVJBI7D.js +4 -0
  174. package/dist/calcite/JFVJBI7D.js.LEGAL.txt +3 -0
  175. package/dist/calcite/JHJCFFEL.js +4 -0
  176. package/dist/calcite/JHJCFFEL.js.LEGAL.txt +3 -0
  177. package/dist/calcite/KCR675II.js +4 -0
  178. package/dist/calcite/KCR675II.js.LEGAL.txt +3 -0
  179. package/dist/calcite/KDES446E.js +4 -0
  180. package/dist/calcite/KDES446E.js.LEGAL.txt +3 -0
  181. package/dist/calcite/KKFLDZWP.js +4 -0
  182. package/dist/calcite/L6XTPGOS.js +4 -0
  183. package/dist/calcite/L6XTPGOS.js.LEGAL.txt +3 -0
  184. package/dist/calcite/LBGRMWS3.js +4 -0
  185. package/dist/calcite/LCI2DDRB.js +22 -0
  186. package/dist/calcite/LCI2DDRB.js.LEGAL.txt +3 -0
  187. package/dist/calcite/LLSYQ5JZ.js +4 -0
  188. package/dist/calcite/LLSYQ5JZ.js.LEGAL.txt +3 -0
  189. package/dist/calcite/LM2ELX3O.js +4 -0
  190. package/dist/calcite/LM2ELX3O.js.LEGAL.txt +3 -0
  191. package/dist/calcite/LMMGMCC3.js +4 -0
  192. package/dist/calcite/LMMGMCC3.js.LEGAL.txt +3 -0
  193. package/dist/calcite/LN7O6PHE.js +4 -0
  194. package/dist/calcite/LNLM5CCM.js +4 -0
  195. package/dist/calcite/LNLM5CCM.js.LEGAL.txt +3 -0
  196. package/dist/calcite/LPWR5FXV.js +4 -0
  197. package/dist/calcite/LPWR5FXV.js.LEGAL.txt +3 -0
  198. package/dist/calcite/LQW6JPTN.js +4 -0
  199. package/dist/calcite/LQW6JPTN.js.LEGAL.txt +3 -0
  200. package/dist/calcite/LUAFXKBC.js +4 -0
  201. package/dist/calcite/LY6UDYKR.js +4 -0
  202. package/dist/calcite/LY6UDYKR.js.LEGAL.txt +3 -0
  203. package/dist/calcite/MAES3XM4.js +4 -0
  204. package/dist/calcite/MAES3XM4.js.LEGAL.txt +3 -0
  205. package/dist/calcite/MI2IRYJT.js +4 -0
  206. package/dist/calcite/MI2IRYJT.js.LEGAL.txt +3 -0
  207. package/dist/calcite/MNTXSF6N.js +4 -0
  208. package/dist/calcite/MNTXSF6N.js.LEGAL.txt +3 -0
  209. package/dist/calcite/MQZAFQWJ.js +4 -0
  210. package/dist/calcite/MQZAFQWJ.js.LEGAL.txt +3 -0
  211. package/dist/calcite/MY4GSKMG.js +5 -0
  212. package/dist/calcite/NAS5SL4S.js +4 -0
  213. package/dist/calcite/NAS5SL4S.js.LEGAL.txt +3 -0
  214. package/dist/calcite/NDKHAGP5.js +4 -0
  215. package/dist/calcite/NF7BAU45.js +4 -0
  216. package/dist/calcite/NOHDRGAN.js +4 -0
  217. package/dist/calcite/NOROH6YW.js +4 -0
  218. package/dist/calcite/NOROH6YW.js.LEGAL.txt +3 -0
  219. package/dist/calcite/NYCE3LS5.js +4 -0
  220. package/dist/calcite/NYCE3LS5.js.LEGAL.txt +3 -0
  221. package/dist/calcite/O3AC4F5C.js +4 -0
  222. package/dist/calcite/OCCZ7DGJ.js +4 -0
  223. package/dist/calcite/OF5VKTCL.js +4 -0
  224. package/dist/calcite/OF5VKTCL.js.LEGAL.txt +3 -0
  225. package/dist/calcite/OHMJJR3T.js +4 -0
  226. package/dist/calcite/OHMJJR3T.js.LEGAL.txt +3 -0
  227. package/dist/calcite/OIKCDZC3.js +4 -0
  228. package/dist/calcite/OIKCDZC3.js.LEGAL.txt +3 -0
  229. package/dist/calcite/OQZWEIS7.js +4 -0
  230. package/dist/calcite/OQZWEIS7.js.LEGAL.txt +3 -0
  231. package/dist/calcite/OWDLTQY5.js +4 -0
  232. package/dist/calcite/OWDLTQY5.js.LEGAL.txt +3 -0
  233. package/dist/calcite/PDYEDVSM.js +4 -0
  234. package/dist/calcite/PDYEDVSM.js.LEGAL.txt +3 -0
  235. package/dist/calcite/PEWD3HPZ.js +4 -0
  236. package/dist/calcite/PEWD3HPZ.js.LEGAL.txt +3 -0
  237. package/dist/calcite/PFA6YHGK.js +4 -0
  238. package/dist/calcite/PFA6YHGK.js.LEGAL.txt +3 -0
  239. package/dist/calcite/PIBL3SAQ.js +4 -0
  240. package/dist/calcite/PJVEYQJQ.js +4 -0
  241. package/dist/calcite/PJVEYQJQ.js.LEGAL.txt +3 -0
  242. package/dist/calcite/PNMASLQ7.js +4 -0
  243. package/dist/calcite/PNMASLQ7.js.LEGAL.txt +3 -0
  244. package/dist/calcite/PO5PO4RA.js +4 -0
  245. package/dist/calcite/PO5PO4RA.js.LEGAL.txt +3 -0
  246. package/dist/calcite/PSOBQNDA.js +4 -0
  247. package/dist/calcite/PTAJBZTU.js +4 -0
  248. package/dist/calcite/PVFST4MP.js +4 -0
  249. package/dist/calcite/PVFST4MP.js.LEGAL.txt +3 -0
  250. package/dist/calcite/Q3PRTNEW.js +4 -0
  251. package/dist/calcite/Q55JOIOI.js +4 -0
  252. package/dist/calcite/Q55JOIOI.js.LEGAL.txt +3 -0
  253. package/dist/calcite/QAJVLQSD.js +4 -0
  254. package/dist/calcite/QAJVLQSD.js.LEGAL.txt +3 -0
  255. package/dist/calcite/QCSYGUA5.js +4 -0
  256. package/dist/calcite/QCSYGUA5.js.LEGAL.txt +3 -0
  257. package/dist/calcite/QGVQH2IH.js +4 -0
  258. package/dist/calcite/QGVQH2IH.js.LEGAL.txt +3 -0
  259. package/dist/calcite/QR6AKPMA.js +4 -0
  260. package/dist/calcite/QR6AKPMA.js.LEGAL.txt +3 -0
  261. package/dist/calcite/QRRUYGVE.js +4 -0
  262. package/dist/calcite/QRRUYGVE.js.LEGAL.txt +3 -0
  263. package/dist/calcite/QRUW4QZL.js +4 -0
  264. package/dist/calcite/QRUW4QZL.js.LEGAL.txt +3 -0
  265. package/dist/calcite/R673IWUD.js +4 -0
  266. package/dist/calcite/R673IWUD.js.LEGAL.txt +3 -0
  267. package/dist/calcite/R7EURVK3.js +4 -0
  268. package/dist/calcite/R7EURVK3.js.LEGAL.txt +13 -0
  269. package/dist/calcite/RAZ2GT6L.js +4 -0
  270. package/dist/calcite/RAZ2GT6L.js.LEGAL.txt +3 -0
  271. package/dist/calcite/RG67E32A.js +4 -0
  272. package/dist/calcite/RG67E32A.js.LEGAL.txt +3 -0
  273. package/dist/calcite/RHPWRFJN.js +4 -0
  274. package/dist/calcite/RHPWRFJN.js.LEGAL.txt +3 -0
  275. package/dist/calcite/RJCMOX3W.js +4 -0
  276. package/dist/calcite/RJCMOX3W.js.LEGAL.txt +3 -0
  277. package/dist/calcite/RNFMSTHS.js +4 -0
  278. package/dist/calcite/RNFMSTHS.js.LEGAL.txt +3 -0
  279. package/dist/calcite/RQS6IHHK.js +4 -0
  280. package/dist/calcite/RQS6IHHK.js.LEGAL.txt +3 -0
  281. package/dist/calcite/SC4KQ5XI.js +4 -0
  282. package/dist/calcite/SYXZH2EQ.js +4 -0
  283. package/dist/calcite/SYXZH2EQ.js.LEGAL.txt +3 -0
  284. package/dist/calcite/SZGE3542.js +4 -0
  285. package/dist/calcite/SZGE3542.js.LEGAL.txt +3 -0
  286. package/dist/calcite/T34M54HI.js +4 -0
  287. package/dist/calcite/T4J6RNDT.js +4 -0
  288. package/dist/calcite/TEC5V37D.js +4 -0
  289. package/dist/calcite/TEC5V37D.js.LEGAL.txt +3 -0
  290. package/dist/calcite/TFSFTTD5.js +4 -0
  291. package/dist/calcite/TFSFTTD5.js.LEGAL.txt +3 -0
  292. package/dist/calcite/TGJSTW7P.js +4 -0
  293. package/dist/calcite/THZYE46M.js +5 -0
  294. package/dist/calcite/TIBRAFY2.js +4 -0
  295. package/dist/calcite/TTW35TGP.js +4 -0
  296. package/dist/calcite/TTW35TGP.js.LEGAL.txt +3 -0
  297. package/dist/calcite/UASJV5TN.js +4 -0
  298. package/dist/calcite/UASJV5TN.js.LEGAL.txt +3 -0
  299. package/dist/calcite/UCRNIPVZ.js +4 -0
  300. package/dist/calcite/UFPDTUTT.js +4 -0
  301. package/dist/calcite/UHBNTLLZ.js +4 -0
  302. package/dist/calcite/UHBNTLLZ.js.LEGAL.txt +3 -0
  303. package/dist/calcite/UHO6YLIK.js +4 -0
  304. package/dist/calcite/ULFJFXRK.js +4 -0
  305. package/dist/calcite/UNRE265D.js +4 -0
  306. package/dist/calcite/UNRE265D.js.LEGAL.txt +3 -0
  307. package/dist/calcite/UOFZPZCR.js +4 -0
  308. package/dist/calcite/UOFZPZCR.js.LEGAL.txt +3 -0
  309. package/dist/calcite/UOZUEMJD.js +4 -0
  310. package/dist/calcite/UOZUEMJD.js.LEGAL.txt +3 -0
  311. package/dist/calcite/UVGQ5PL7.js +4 -0
  312. package/dist/calcite/UVY44KTE.js +4 -0
  313. package/dist/calcite/UVY44KTE.js.LEGAL.txt +3 -0
  314. package/dist/calcite/UXPWYBL5.js +4 -0
  315. package/dist/calcite/UXPWYBL5.js.LEGAL.txt +3 -0
  316. package/dist/calcite/V6BVIW4A.js +4 -0
  317. package/dist/calcite/V6BVIW4A.js.LEGAL.txt +3 -0
  318. package/dist/calcite/VCL44S2N.js +4 -0
  319. package/dist/calcite/VCL44S2N.js.LEGAL.txt +3 -0
  320. package/dist/calcite/VOQFOLYB.js +4 -0
  321. package/dist/calcite/VOVYGW62.js +4 -0
  322. package/dist/calcite/VOVYGW62.js.LEGAL.txt +3 -0
  323. package/dist/calcite/VSAWW3SX.js +4 -0
  324. package/dist/calcite/VUAYLKRD.js +4 -0
  325. package/dist/calcite/VUAYLKRD.js.LEGAL.txt +3 -0
  326. package/dist/calcite/VYRJB3VC.js +5 -0
  327. package/dist/calcite/VYRJB3VC.js.LEGAL.txt +3 -0
  328. package/dist/calcite/VZIWAU3T.js +4 -0
  329. package/dist/calcite/VZIWAU3T.js.LEGAL.txt +3 -0
  330. package/dist/calcite/W6DRMKIU.js +4 -0
  331. package/dist/calcite/WDB5EMDW.js +4 -0
  332. package/dist/calcite/WDB5EMDW.js.LEGAL.txt +3 -0
  333. package/dist/calcite/WHWWGLKR.js +4 -0
  334. package/dist/calcite/WJW2XVG3.js +4 -0
  335. package/dist/calcite/WJW2XVG3.js.LEGAL.txt +3 -0
  336. package/dist/calcite/WRCHHUR5.js +4 -0
  337. package/dist/calcite/WRCHHUR5.js.LEGAL.txt +3 -0
  338. package/dist/calcite/WWR4JI7O.js +4 -0
  339. package/dist/calcite/X2CXSXTS.js +4 -0
  340. package/dist/calcite/X2CXSXTS.js.LEGAL.txt +3 -0
  341. package/dist/calcite/X655FCHH.js +4 -0
  342. package/dist/calcite/XEKIHFZ5.js +4 -0
  343. package/dist/calcite/XGTD2QOG.js +4 -0
  344. package/dist/calcite/XGTD2QOG.js.LEGAL.txt +3 -0
  345. package/dist/calcite/XGX4HVZR.js +4 -0
  346. package/dist/calcite/XGX4HVZR.js.LEGAL.txt +3 -0
  347. package/dist/calcite/XKFDECD7.js +4 -0
  348. package/dist/calcite/Y4Z5L2IX.js +4 -0
  349. package/dist/calcite/Y4Z5L2IX.js.LEGAL.txt +3 -0
  350. package/dist/calcite/Y5N6X2JE.js +4 -0
  351. package/dist/calcite/Y5N6X2JE.js.LEGAL.txt +3 -0
  352. package/dist/calcite/YGNVAEI2.js +4 -0
  353. package/dist/calcite/YLLXTQFK.js +4 -0
  354. package/dist/calcite/YLLXTQFK.js.LEGAL.txt +3 -0
  355. package/dist/calcite/YMM7BF3L.js +4 -0
  356. package/dist/calcite/YMM7BF3L.js.LEGAL.txt +3 -0
  357. package/dist/calcite/YN24464O.js +4 -0
  358. package/dist/calcite/YN24464O.js.LEGAL.txt +3 -0
  359. package/dist/calcite/YOQ6DPUE.js +4 -0
  360. package/dist/calcite/YSGS2SS3.js +4 -0
  361. package/dist/calcite/YXQCC3F5.js +4 -0
  362. package/dist/calcite/YXQCC3F5.js.LEGAL.txt +3 -0
  363. package/dist/calcite/YYQNENEK.js +4 -0
  364. package/dist/calcite/YYQNENEK.js.LEGAL.txt +3 -0
  365. package/dist/calcite/Z26DEWRL.js +4 -0
  366. package/dist/calcite/Z26DEWRL.js.LEGAL.txt +3 -0
  367. package/dist/calcite/Z2KAU5R4.js +4 -0
  368. package/dist/calcite/Z2KAU5R4.js.LEGAL.txt +3 -0
  369. package/dist/calcite/Z6OGV4IY.js +4 -0
  370. package/dist/calcite/Z6OGV4IY.js.LEGAL.txt +3 -0
  371. package/dist/calcite/ZEBVXCRQ.js +4 -0
  372. package/dist/calcite/ZEBVXCRQ.js.LEGAL.txt +3 -0
  373. package/dist/calcite/ZFMKB43O.js +4 -0
  374. package/dist/calcite/ZFMKB43O.js.LEGAL.txt +3 -0
  375. package/dist/calcite/ZP2BO6K2.js +4 -0
  376. package/dist/calcite/ZP2BO6K2.js.LEGAL.txt +3 -0
  377. package/dist/calcite/ZTZVC7CX.js +4 -0
  378. package/dist/calcite/calcite.esm.js +2 -2
  379. package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
  380. package/dist/chunks/ExpandToggle.js +1 -1
  381. package/dist/chunks/FloatingArrow.js +1 -1
  382. package/dist/chunks/Heading.js +1 -1
  383. package/dist/chunks/Validation.js +1 -1
  384. package/dist/chunks/XButton.js +1 -1
  385. package/dist/chunks/array.js +1 -1
  386. package/dist/chunks/component.js +1 -1
  387. package/dist/chunks/core.js +1 -1
  388. package/dist/chunks/date.js +1 -1
  389. package/dist/chunks/dom.js +1 -1
  390. package/dist/chunks/dynamicClasses.js +1 -1
  391. package/dist/chunks/filter.js +1 -1
  392. package/dist/chunks/floating-ui.js +1 -1
  393. package/dist/chunks/form.js +1 -1
  394. package/dist/chunks/global.js +1 -1
  395. package/dist/chunks/guid.js +1 -1
  396. package/dist/chunks/input.js +1 -1
  397. package/dist/chunks/interact.min.js +1 -1
  398. package/dist/chunks/interactive.js +1 -1
  399. package/dist/chunks/key.js +1 -1
  400. package/dist/chunks/label.js +1 -1
  401. package/dist/chunks/locale.js +1 -1
  402. package/dist/chunks/logger.js +1 -1
  403. package/dist/chunks/math.js +1 -1
  404. package/dist/chunks/observers.js +1 -1
  405. package/dist/chunks/openCloseComponent.js +1 -1
  406. package/dist/chunks/resources.js +1 -1
  407. package/dist/chunks/resources2.js +1 -1
  408. package/dist/chunks/resources3.js +1 -1
  409. package/dist/chunks/resources4.js +1 -1
  410. package/dist/chunks/resources5.js +1 -1
  411. package/dist/chunks/resources6.js +1 -1
  412. package/dist/chunks/resources7.js +1 -1
  413. package/dist/chunks/responsive.js +1 -1
  414. package/dist/chunks/runtime.js +5 -5
  415. package/dist/chunks/sortableComponent.js +1 -1
  416. package/dist/chunks/text.js +1 -1
  417. package/dist/chunks/time.js +1 -1
  418. package/dist/chunks/useFocusTrap.js +1 -1
  419. package/dist/chunks/useT9n.js +1 -1
  420. package/dist/chunks/utils.js +1 -1
  421. package/dist/chunks/utils2.js +1 -1
  422. package/dist/chunks/utils3.js +1 -1
  423. package/dist/chunks/utils4.js +1 -1
  424. package/dist/components/calcite-accordion/customElement.js +3 -2
  425. package/dist/components/calcite-accordion-item/customElement.d.ts +1 -1
  426. package/dist/components/calcite-accordion-item/customElement.js +9 -4
  427. package/dist/components/calcite-accordion-item/resources.d.ts +2 -0
  428. package/dist/components/calcite-action/customElement.js +1 -1
  429. package/dist/components/calcite-action-bar/customElement.js +1 -1
  430. package/dist/components/calcite-action-group/customElement.js +1 -1
  431. package/dist/components/calcite-action-menu/customElement.js +1 -1
  432. package/dist/components/calcite-action-pad/customElement.js +1 -1
  433. package/dist/components/calcite-alert/customElement.js +1 -1
  434. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  435. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  436. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  437. package/dist/components/calcite-avatar/customElement.js +1 -1
  438. package/dist/components/calcite-block/customElement.js +1 -1
  439. package/dist/components/calcite-block-group/customElement.js +1 -1
  440. package/dist/components/calcite-block-section/customElement.js +1 -1
  441. package/dist/components/calcite-button/customElement.js +1 -1
  442. package/dist/components/calcite-card/customElement.js +1 -1
  443. package/dist/components/calcite-card-group/customElement.js +1 -1
  444. package/dist/components/calcite-carousel/customElement.js +1 -1
  445. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  446. package/dist/components/calcite-checkbox/customElement.js +1 -1
  447. package/dist/components/calcite-chip/customElement.js +1 -1
  448. package/dist/components/calcite-chip-group/customElement.js +1 -1
  449. package/dist/components/calcite-color-picker/customElement.js +1 -1
  450. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  451. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  452. package/dist/components/calcite-combobox/customElement.js +1 -1
  453. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  454. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  455. package/dist/components/calcite-date-picker/customElement.js +1 -1
  456. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  457. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  458. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  459. package/dist/components/calcite-dialog/customElement.js +1 -1
  460. package/dist/components/calcite-dropdown/customElement.js +1 -1
  461. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  462. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  463. package/dist/components/calcite-fab/customElement.js +1 -1
  464. package/dist/components/calcite-filter/customElement.js +1 -1
  465. package/dist/components/calcite-flow/customElement.js +1 -1
  466. package/dist/components/calcite-flow-item/customElement.js +1 -1
  467. package/dist/components/calcite-graph/customElement.js +1 -1
  468. package/dist/components/calcite-handle/customElement.js +1 -1
  469. package/dist/components/calcite-icon/customElement.js +1 -1
  470. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  471. package/dist/components/calcite-input/customElement.js +1 -1
  472. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  473. package/dist/components/calcite-input-message/customElement.js +1 -1
  474. package/dist/components/calcite-input-number/customElement.js +1 -1
  475. package/dist/components/calcite-input-text/customElement.js +1 -1
  476. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  477. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  478. package/dist/components/calcite-label/customElement.js +1 -1
  479. package/dist/components/calcite-link/customElement.js +1 -1
  480. package/dist/components/calcite-list/customElement.js +1 -1
  481. package/dist/components/calcite-list-item/customElement.js +1 -1
  482. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  483. package/dist/components/calcite-loader/customElement.js +1 -1
  484. package/dist/components/calcite-menu/customElement.js +1 -1
  485. package/dist/components/calcite-menu-item/customElement.js +1 -1
  486. package/dist/components/calcite-meter/customElement.js +1 -1
  487. package/dist/components/calcite-modal/customElement.js +1 -1
  488. package/dist/components/calcite-navigation/customElement.js +1 -1
  489. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  490. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  491. package/dist/components/calcite-notice/customElement.js +1 -1
  492. package/dist/components/calcite-option/customElement.js +1 -1
  493. package/dist/components/calcite-option-group/customElement.js +1 -1
  494. package/dist/components/calcite-pagination/customElement.js +1 -1
  495. package/dist/components/calcite-panel/customElement.js +1 -1
  496. package/dist/components/calcite-popover/customElement.js +1 -1
  497. package/dist/components/calcite-progress/customElement.js +1 -1
  498. package/dist/components/calcite-radio-button/customElement.js +1 -1
  499. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  500. package/dist/components/calcite-rating/customElement.js +1 -1
  501. package/dist/components/calcite-scrim/customElement.js +1 -1
  502. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  503. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  504. package/dist/components/calcite-select/customElement.js +1 -1
  505. package/dist/components/calcite-sheet/customElement.js +1 -1
  506. package/dist/components/calcite-shell/customElement.js +1 -1
  507. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  508. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  509. package/dist/components/calcite-slider/customElement.js +1 -1
  510. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  511. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  512. package/dist/components/calcite-split-button/customElement.js +1 -1
  513. package/dist/components/calcite-stack/customElement.js +1 -1
  514. package/dist/components/calcite-stepper/customElement.js +1 -1
  515. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  516. package/dist/components/calcite-switch/customElement.js +2 -2
  517. package/dist/components/calcite-tab/customElement.js +1 -1
  518. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  519. package/dist/components/calcite-tab-title/customElement.js +1 -1
  520. package/dist/components/calcite-table/customElement.js +1 -1
  521. package/dist/components/calcite-table-cell/customElement.js +1 -1
  522. package/dist/components/calcite-table-header/customElement.js +1 -1
  523. package/dist/components/calcite-table-row/customElement.js +1 -1
  524. package/dist/components/calcite-tabs/customElement.js +1 -1
  525. package/dist/components/calcite-text-area/customElement.js +1 -1
  526. package/dist/components/calcite-tile/customElement.js +1 -1
  527. package/dist/components/calcite-tile-group/customElement.js +1 -1
  528. package/dist/components/calcite-tile-select/customElement.js +1 -1
  529. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  530. package/dist/components/calcite-time-picker/customElement.js +1 -1
  531. package/dist/components/calcite-tip/customElement.js +1 -1
  532. package/dist/components/calcite-tip-group/customElement.js +1 -1
  533. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  534. package/dist/components/calcite-tooltip/customElement.js +1 -1
  535. package/dist/components/calcite-tree/customElement.js +1 -1
  536. package/dist/components/calcite-tree-item/customElement.js +1 -1
  537. package/dist/custom-theme/switch.d.ts +1 -0
  538. package/dist/docs/api.json +16 -4
  539. package/dist/docs/docs.json +19 -4
  540. package/dist/docs/vscode.css-custom-data.json +15 -3
  541. package/dist/docs/vscode.html-custom-data.json +2 -2
  542. package/dist/docs/web-types.json +18 -6
  543. package/dist/extras/vscode-data.json +2 -2
  544. package/dist/index.js +1 -1
  545. package/dist/loader.js +2 -2
  546. package/package.json +2 -2
  547. package/dist/calcite/2BOFWNYQ.js +0 -4
  548. package/dist/calcite/2BOFWNYQ.js.LEGAL.txt +0 -3
  549. package/dist/calcite/2CY2LEWM.js +0 -4
  550. package/dist/calcite/2CY2LEWM.js.LEGAL.txt +0 -3
  551. package/dist/calcite/2LBDT235.js +0 -4
  552. package/dist/calcite/2LBDT235.js.LEGAL.txt +0 -3
  553. package/dist/calcite/2T3M5IJY.js +0 -4
  554. package/dist/calcite/2T3M5IJY.js.LEGAL.txt +0 -3
  555. package/dist/calcite/2TCNEG45.js +0 -4
  556. package/dist/calcite/2TCNEG45.js.LEGAL.txt +0 -3
  557. package/dist/calcite/2UV2JAQY.js +0 -4
  558. package/dist/calcite/2UV2JAQY.js.LEGAL.txt +0 -3
  559. package/dist/calcite/2VEMJPTZ.js +0 -4
  560. package/dist/calcite/2VEMJPTZ.js.LEGAL.txt +0 -3
  561. package/dist/calcite/2WYRBB3Q.js +0 -4
  562. package/dist/calcite/2XTYGCIZ.js +0 -4
  563. package/dist/calcite/2ZJCMPXG.js +0 -4
  564. package/dist/calcite/2ZJCMPXG.js.LEGAL.txt +0 -3
  565. package/dist/calcite/3E7RRF2D.js +0 -4
  566. package/dist/calcite/3E7RRF2D.js.LEGAL.txt +0 -3
  567. package/dist/calcite/3GD2D2DP.js +0 -4
  568. package/dist/calcite/3GD2D2DP.js.LEGAL.txt +0 -3
  569. package/dist/calcite/3JVPPMSE.js +0 -4
  570. package/dist/calcite/3JVPPMSE.js.LEGAL.txt +0 -3
  571. package/dist/calcite/3LUZ52IE.js +0 -4
  572. package/dist/calcite/3NMXMYUQ.js +0 -4
  573. package/dist/calcite/3ZZU6BX2.js +0 -4
  574. package/dist/calcite/45MNAI57.js +0 -4
  575. package/dist/calcite/45MNAI57.js.LEGAL.txt +0 -3
  576. package/dist/calcite/4A2CZ5VR.js +0 -4
  577. package/dist/calcite/4A2CZ5VR.js.LEGAL.txt +0 -3
  578. package/dist/calcite/4BKGZDBV.js +0 -4
  579. package/dist/calcite/4BKGZDBV.js.LEGAL.txt +0 -3
  580. package/dist/calcite/4EAXA6HG.js +0 -4
  581. package/dist/calcite/4EAXA6HG.js.LEGAL.txt +0 -3
  582. package/dist/calcite/4EWQ6SNU.js +0 -4
  583. package/dist/calcite/4EWQ6SNU.js.LEGAL.txt +0 -3
  584. package/dist/calcite/4Q62CMYM.js +0 -4
  585. package/dist/calcite/4Q62CMYM.js.LEGAL.txt +0 -3
  586. package/dist/calcite/4QLNA7PQ.js +0 -4
  587. package/dist/calcite/4QLNA7PQ.js.LEGAL.txt +0 -3
  588. package/dist/calcite/4U3RU2GZ.js +0 -4
  589. package/dist/calcite/4U3RU2GZ.js.LEGAL.txt +0 -3
  590. package/dist/calcite/4UPYFUFI.js +0 -4
  591. package/dist/calcite/4UPYFUFI.js.LEGAL.txt +0 -3
  592. package/dist/calcite/5667JCRZ.js +0 -4
  593. package/dist/calcite/5667JCRZ.js.LEGAL.txt +0 -3
  594. package/dist/calcite/56TUC4VA.js +0 -4
  595. package/dist/calcite/5FQZGEHA.js +0 -4
  596. package/dist/calcite/5HJEBGM5.js +0 -4
  597. package/dist/calcite/5HJEBGM5.js.LEGAL.txt +0 -3
  598. package/dist/calcite/5NJOLUMK.js +0 -4
  599. package/dist/calcite/5NJOLUMK.js.LEGAL.txt +0 -3
  600. package/dist/calcite/5V7V7SB5.js +0 -4
  601. package/dist/calcite/5V7V7SB5.js.LEGAL.txt +0 -3
  602. package/dist/calcite/5VFVNDQY.js +0 -4
  603. package/dist/calcite/5VFVNDQY.js.LEGAL.txt +0 -3
  604. package/dist/calcite/5VOP4EJX.js +0 -4
  605. package/dist/calcite/5VOP4EJX.js.LEGAL.txt +0 -3
  606. package/dist/calcite/64BUQQ5M.js +0 -4
  607. package/dist/calcite/64BUQQ5M.js.LEGAL.txt +0 -3
  608. package/dist/calcite/64ZT7LPE.js +0 -4
  609. package/dist/calcite/64ZT7LPE.js.LEGAL.txt +0 -3
  610. package/dist/calcite/65BCNUVB.js +0 -4
  611. package/dist/calcite/65BCNUVB.js.LEGAL.txt +0 -3
  612. package/dist/calcite/6AMCC544.js +0 -4
  613. package/dist/calcite/6AMCC544.js.LEGAL.txt +0 -3
  614. package/dist/calcite/6BTXFUCN.js +0 -4
  615. package/dist/calcite/6BTXFUCN.js.LEGAL.txt +0 -3
  616. package/dist/calcite/6FMXA5KN.js +0 -4
  617. package/dist/calcite/6FMXA5KN.js.LEGAL.txt +0 -3
  618. package/dist/calcite/6FWWPCOI.js +0 -4
  619. package/dist/calcite/6FWWPCOI.js.LEGAL.txt +0 -3
  620. package/dist/calcite/6G7REEM6.js +0 -4
  621. package/dist/calcite/6G7REEM6.js.LEGAL.txt +0 -3
  622. package/dist/calcite/6L3PX6UA.js +0 -5
  623. package/dist/calcite/6OJ23NUH.js +0 -4
  624. package/dist/calcite/7CVZHHIL.js +0 -4
  625. package/dist/calcite/7CVZHHIL.js.LEGAL.txt +0 -3
  626. package/dist/calcite/7JEEQ7R5.js +0 -4
  627. package/dist/calcite/7JEEQ7R5.js.LEGAL.txt +0 -3
  628. package/dist/calcite/7LBWI334.js +0 -4
  629. package/dist/calcite/7LBWI334.js.LEGAL.txt +0 -3
  630. package/dist/calcite/7NWEU3G4.js +0 -4
  631. package/dist/calcite/7NWEU3G4.js.LEGAL.txt +0 -3
  632. package/dist/calcite/A24CHYGR.js +0 -4
  633. package/dist/calcite/A24CHYGR.js.LEGAL.txt +0 -3
  634. package/dist/calcite/AG75QN6A.js +0 -4
  635. package/dist/calcite/AG75QN6A.js.LEGAL.txt +0 -3
  636. package/dist/calcite/AKYZN5BE.js +0 -4
  637. package/dist/calcite/AKYZN5BE.js.LEGAL.txt +0 -3
  638. package/dist/calcite/ASTXPRA4.js +0 -4
  639. package/dist/calcite/B4BRHA5T.js +0 -4
  640. package/dist/calcite/BCVWT4DP.js +0 -4
  641. package/dist/calcite/BCVWT4DP.js.LEGAL.txt +0 -3
  642. package/dist/calcite/BI3AG5MJ.js +0 -4
  643. package/dist/calcite/BI3AG5MJ.js.LEGAL.txt +0 -3
  644. package/dist/calcite/BNHMEWI4.js +0 -4
  645. package/dist/calcite/BQ5BUNE7.js +0 -4
  646. package/dist/calcite/BQ5BUNE7.js.LEGAL.txt +0 -3
  647. package/dist/calcite/BUDBHEJE.js +0 -4
  648. package/dist/calcite/BXGY7HGR.js +0 -4
  649. package/dist/calcite/BXGY7HGR.js.LEGAL.txt +0 -3
  650. package/dist/calcite/CCTSGTN2.js +0 -4
  651. package/dist/calcite/CCTSGTN2.js.LEGAL.txt +0 -3
  652. package/dist/calcite/CR4ANT7E.js +0 -4
  653. package/dist/calcite/CR4ANT7E.js.LEGAL.txt +0 -3
  654. package/dist/calcite/CR4GSEIQ.js +0 -4
  655. package/dist/calcite/CTNP7F4O.js +0 -22
  656. package/dist/calcite/CTNP7F4O.js.LEGAL.txt +0 -3
  657. package/dist/calcite/CVOC5RIW.js +0 -4
  658. package/dist/calcite/CVOC5RIW.js.LEGAL.txt +0 -3
  659. package/dist/calcite/CXGNS3TA.js +0 -4
  660. package/dist/calcite/CXGNS3TA.js.LEGAL.txt +0 -3
  661. package/dist/calcite/D272LIMP.js +0 -4
  662. package/dist/calcite/D272LIMP.js.LEGAL.txt +0 -3
  663. package/dist/calcite/D7NDQWU7.js +0 -4
  664. package/dist/calcite/DHUVW4BM.js +0 -4
  665. package/dist/calcite/DHUVW4BM.js.LEGAL.txt +0 -3
  666. package/dist/calcite/DNQZZBQL.js +0 -4
  667. package/dist/calcite/DV3MDIGJ.js +0 -4
  668. package/dist/calcite/DVURK46Q.js +0 -4
  669. package/dist/calcite/DWD3QROV.js +0 -4
  670. package/dist/calcite/DWD3QROV.js.LEGAL.txt +0 -3
  671. package/dist/calcite/E4B6TCJ3.js +0 -4
  672. package/dist/calcite/E4GLOASR.js +0 -4
  673. package/dist/calcite/EAOBXKCF.js +0 -4
  674. package/dist/calcite/EAOBXKCF.js.LEGAL.txt +0 -3
  675. package/dist/calcite/ECMRSC3I.js +0 -4
  676. package/dist/calcite/EDHTGOC2.js +0 -4
  677. package/dist/calcite/EDHTGOC2.js.LEGAL.txt +0 -3
  678. package/dist/calcite/EK2QJQ77.js +0 -4
  679. package/dist/calcite/EP5TTQOO.js +0 -4
  680. package/dist/calcite/EP5TTQOO.js.LEGAL.txt +0 -3
  681. package/dist/calcite/EY6I4NKZ.js +0 -4
  682. package/dist/calcite/EY6I4NKZ.js.LEGAL.txt +0 -3
  683. package/dist/calcite/EYJJVQVN.js +0 -4
  684. package/dist/calcite/EYJJVQVN.js.LEGAL.txt +0 -3
  685. package/dist/calcite/F2QSNQKX.js +0 -4
  686. package/dist/calcite/F2QSNQKX.js.LEGAL.txt +0 -3
  687. package/dist/calcite/FCDR4H5H.js +0 -4
  688. package/dist/calcite/FCDR4H5H.js.LEGAL.txt +0 -3
  689. package/dist/calcite/FDXGFRHE.js +0 -5
  690. package/dist/calcite/FGHBGDDE.js +0 -4
  691. package/dist/calcite/FGHBGDDE.js.LEGAL.txt +0 -3
  692. package/dist/calcite/FJN3GPXX.js +0 -4
  693. package/dist/calcite/FJN3GPXX.js.LEGAL.txt +0 -3
  694. package/dist/calcite/FRHDB3OP.js +0 -4
  695. package/dist/calcite/FRHDB3OP.js.LEGAL.txt +0 -3
  696. package/dist/calcite/FU3IOAEG.js +0 -4
  697. package/dist/calcite/FU3IOAEG.js.LEGAL.txt +0 -3
  698. package/dist/calcite/FVCNK2TS.js +0 -4
  699. package/dist/calcite/FX3YXRJV.js +0 -4
  700. package/dist/calcite/FX3YXRJV.js.LEGAL.txt +0 -3
  701. package/dist/calcite/FY2365LL.js +0 -4
  702. package/dist/calcite/FY2365LL.js.LEGAL.txt +0 -3
  703. package/dist/calcite/GG2H67CN.js +0 -4
  704. package/dist/calcite/GG2H67CN.js.LEGAL.txt +0 -3
  705. package/dist/calcite/GMT3E7XO.js +0 -4
  706. package/dist/calcite/GMT3E7XO.js.LEGAL.txt +0 -3
  707. package/dist/calcite/GPVIJMWG.js +0 -4
  708. package/dist/calcite/GPVIJMWG.js.LEGAL.txt +0 -3
  709. package/dist/calcite/GWGLUFGJ.js +0 -6
  710. package/dist/calcite/GWGLUFGJ.js.LEGAL.txt +0 -145
  711. package/dist/calcite/GWWVNRJH.js +0 -4
  712. package/dist/calcite/GWWVNRJH.js.LEGAL.txt +0 -3
  713. package/dist/calcite/H2AWCRY6.js +0 -4
  714. package/dist/calcite/H2AWCRY6.js.LEGAL.txt +0 -3
  715. package/dist/calcite/H7B3E25G.js +0 -4
  716. package/dist/calcite/H7B3E25G.js.LEGAL.txt +0 -3
  717. package/dist/calcite/HCNXCCCY.js +0 -4
  718. package/dist/calcite/HCNXCCCY.js.LEGAL.txt +0 -3
  719. package/dist/calcite/HGPHBWD4.js +0 -4
  720. package/dist/calcite/HGPHBWD4.js.LEGAL.txt +0 -3
  721. package/dist/calcite/HMIOS3OJ.js +0 -4
  722. package/dist/calcite/HNPIZQST.js +0 -4
  723. package/dist/calcite/HNYVQPTR.js +0 -4
  724. package/dist/calcite/HVVVVG65.js +0 -4
  725. package/dist/calcite/HVVVVG65.js.LEGAL.txt +0 -3
  726. package/dist/calcite/HZCNBFUK.js +0 -4
  727. package/dist/calcite/I732GD2F.js +0 -4
  728. package/dist/calcite/I732GD2F.js.LEGAL.txt +0 -3
  729. package/dist/calcite/IDYH5LIF.js +0 -4
  730. package/dist/calcite/IDYH5LIF.js.LEGAL.txt +0 -3
  731. package/dist/calcite/IMOFAJLC.js +0 -4
  732. package/dist/calcite/IMOFAJLC.js.LEGAL.txt +0 -3
  733. package/dist/calcite/IP4XL6CS.js +0 -4
  734. package/dist/calcite/IP4XL6CS.js.LEGAL.txt +0 -3
  735. package/dist/calcite/IU7AUQME.js +0 -4
  736. package/dist/calcite/JAM6LW5H.js +0 -4
  737. package/dist/calcite/JAM6LW5H.js.LEGAL.txt +0 -3
  738. package/dist/calcite/JD4D6NPN.js +0 -4
  739. package/dist/calcite/JD4D6NPN.js.LEGAL.txt +0 -3
  740. package/dist/calcite/JDIAGBBP.js +0 -4
  741. package/dist/calcite/JDIAGBBP.js.LEGAL.txt +0 -3
  742. package/dist/calcite/JGKN2BCU.js +0 -4
  743. package/dist/calcite/JGKN2BCU.js.LEGAL.txt +0 -3
  744. package/dist/calcite/JHPWU7JO.js +0 -4
  745. package/dist/calcite/JHPWU7JO.js.LEGAL.txt +0 -3
  746. package/dist/calcite/JLAY235L.js +0 -4
  747. package/dist/calcite/JOPMLXO4.js +0 -4
  748. package/dist/calcite/JOPMLXO4.js.LEGAL.txt +0 -3
  749. package/dist/calcite/JPYANCJJ.js +0 -5
  750. package/dist/calcite/JPYANCJJ.js.LEGAL.txt +0 -3
  751. package/dist/calcite/JTC6LVBC.js +0 -4
  752. package/dist/calcite/JTC6LVBC.js.LEGAL.txt +0 -3
  753. package/dist/calcite/JV3JFREG.js +0 -4
  754. package/dist/calcite/JV3JFREG.js.LEGAL.txt +0 -3
  755. package/dist/calcite/JYEOF4KH.js +0 -4
  756. package/dist/calcite/K7DER2BO.js +0 -4
  757. package/dist/calcite/KCGPRVEH.js +0 -4
  758. package/dist/calcite/KCGPRVEH.js.LEGAL.txt +0 -3
  759. package/dist/calcite/KCTEW2JB.js +0 -4
  760. package/dist/calcite/KI6CZSF7.js +0 -4
  761. package/dist/calcite/KI6CZSF7.js.LEGAL.txt +0 -3
  762. package/dist/calcite/KQW5CO3Z.js +0 -4
  763. package/dist/calcite/KQW5CO3Z.js.LEGAL.txt +0 -3
  764. package/dist/calcite/KZTWR2IX.js +0 -4
  765. package/dist/calcite/KZTWR2IX.js.LEGAL.txt +0 -3
  766. package/dist/calcite/LCTEQ4KP.js +0 -4
  767. package/dist/calcite/LCTEQ4KP.js.LEGAL.txt +0 -3
  768. package/dist/calcite/LFX2IVHO.js +0 -4
  769. package/dist/calcite/LLX5Z5R4.js +0 -4
  770. package/dist/calcite/LLX5Z5R4.js.LEGAL.txt +0 -3
  771. package/dist/calcite/LVYHIFG5.js +0 -4
  772. package/dist/calcite/LVYHIFG5.js.LEGAL.txt +0 -3
  773. package/dist/calcite/LXTI23W7.js +0 -4
  774. package/dist/calcite/LYGDKYC6.js +0 -4
  775. package/dist/calcite/LYGDKYC6.js.LEGAL.txt +0 -3
  776. package/dist/calcite/M2RZ5EKT.js +0 -4
  777. package/dist/calcite/M2RZ5EKT.js.LEGAL.txt +0 -3
  778. package/dist/calcite/M3RJSVFT.js +0 -4
  779. package/dist/calcite/M3RJSVFT.js.LEGAL.txt +0 -3
  780. package/dist/calcite/MG22QVB4.js +0 -4
  781. package/dist/calcite/MG22QVB4.js.LEGAL.txt +0 -3
  782. package/dist/calcite/MMXPW5MR.js +0 -4
  783. package/dist/calcite/MMXPW5MR.js.LEGAL.txt +0 -3
  784. package/dist/calcite/MPP4FDPT.js +0 -4
  785. package/dist/calcite/MPP4FDPT.js.LEGAL.txt +0 -3
  786. package/dist/calcite/MT4KIJHB.js +0 -4
  787. package/dist/calcite/MXVZL7NY.js +0 -4
  788. package/dist/calcite/MY3MVPY5.js +0 -4
  789. package/dist/calcite/MY3MVPY5.js.LEGAL.txt +0 -3
  790. package/dist/calcite/NBY64CSO.js +0 -4
  791. package/dist/calcite/NEGFBTX5.js +0 -4
  792. package/dist/calcite/NEGFBTX5.js.LEGAL.txt +0 -3
  793. package/dist/calcite/NLDVVVMH.js +0 -4
  794. package/dist/calcite/NNCL6YYR.js +0 -4
  795. package/dist/calcite/NNCL6YYR.js.LEGAL.txt +0 -3
  796. package/dist/calcite/NQ2ID3ML.js +0 -4
  797. package/dist/calcite/NRV37BI6.js +0 -4
  798. package/dist/calcite/NRV37BI6.js.LEGAL.txt +0 -3
  799. package/dist/calcite/NYBQESD7.js +0 -4
  800. package/dist/calcite/NYBQESD7.js.LEGAL.txt +0 -13
  801. package/dist/calcite/O3WAJJY6.js +0 -4
  802. package/dist/calcite/O3WAJJY6.js.LEGAL.txt +0 -3
  803. package/dist/calcite/OBDVZNM2.js +0 -4
  804. package/dist/calcite/OBDVZNM2.js.LEGAL.txt +0 -3
  805. package/dist/calcite/OERU7BR7.js +0 -4
  806. package/dist/calcite/OERU7BR7.js.LEGAL.txt +0 -3
  807. package/dist/calcite/OOOYCUMH.js +0 -4
  808. package/dist/calcite/OQE2ET6K.js +0 -4
  809. package/dist/calcite/OTWM47LN.js +0 -4
  810. package/dist/calcite/OTWM47LN.js.LEGAL.txt +0 -3
  811. package/dist/calcite/OVVCBJ7I.js +0 -4
  812. package/dist/calcite/OW62IYQY.js +0 -4
  813. package/dist/calcite/OW62IYQY.js.LEGAL.txt +0 -3
  814. package/dist/calcite/P3XTL5WJ.js +0 -4
  815. package/dist/calcite/P3XTL5WJ.js.LEGAL.txt +0 -3
  816. package/dist/calcite/P6XWERVE.js +0 -4
  817. package/dist/calcite/PD6HWRS3.js +0 -4
  818. package/dist/calcite/PLXDBQKW.js +0 -4
  819. package/dist/calcite/PLXDBQKW.js.LEGAL.txt +0 -3
  820. package/dist/calcite/QJRWO6IN.js +0 -4
  821. package/dist/calcite/QJRWO6IN.js.LEGAL.txt +0 -3
  822. package/dist/calcite/QOP6E4UX.js +0 -4
  823. package/dist/calcite/QOP6E4UX.js.LEGAL.txt +0 -3
  824. package/dist/calcite/QVT2YOO4.js +0 -4
  825. package/dist/calcite/R6LNP6KG.js +0 -4
  826. package/dist/calcite/R6LNP6KG.js.LEGAL.txt +0 -3
  827. package/dist/calcite/RD5INOIE.js +0 -4
  828. package/dist/calcite/RD5INOIE.js.LEGAL.txt +0 -3
  829. package/dist/calcite/RDESQTGA.js +0 -4
  830. package/dist/calcite/RGCORVRS.js +0 -4
  831. package/dist/calcite/RN7ISGP6.js +0 -4
  832. package/dist/calcite/RN7ISGP6.js.LEGAL.txt +0 -3
  833. package/dist/calcite/RPUJHTMR.js +0 -4
  834. package/dist/calcite/RPUJHTMR.js.LEGAL.txt +0 -3
  835. package/dist/calcite/RTXZNVZS.js +0 -4
  836. package/dist/calcite/RU7DUXJM.js +0 -4
  837. package/dist/calcite/RU7DUXJM.js.LEGAL.txt +0 -3
  838. package/dist/calcite/RVKBEEFR.js +0 -4
  839. package/dist/calcite/RVO57LNN.js +0 -4
  840. package/dist/calcite/RVO57LNN.js.LEGAL.txt +0 -3
  841. package/dist/calcite/S4EW44LC.js +0 -4
  842. package/dist/calcite/S4EW44LC.js.LEGAL.txt +0 -3
  843. package/dist/calcite/S5WZMZ6P.js +0 -4
  844. package/dist/calcite/S5WZMZ6P.js.LEGAL.txt +0 -3
  845. package/dist/calcite/SDGS7LDB.js +0 -4
  846. package/dist/calcite/SJWKE5ID.js +0 -4
  847. package/dist/calcite/SJWKE5ID.js.LEGAL.txt +0 -3
  848. package/dist/calcite/SRIXNQN6.js +0 -4
  849. package/dist/calcite/SRIXNQN6.js.LEGAL.txt +0 -3
  850. package/dist/calcite/SRVIVVUV.js +0 -4
  851. package/dist/calcite/SRVIVVUV.js.LEGAL.txt +0 -3
  852. package/dist/calcite/SSLTCWGR.js +0 -4
  853. package/dist/calcite/STS4GWJD.js +0 -4
  854. package/dist/calcite/SUZH3CKK.js +0 -4
  855. package/dist/calcite/SUZH3CKK.js.LEGAL.txt +0 -3
  856. package/dist/calcite/SYVS7SLE.js +0 -4
  857. package/dist/calcite/SYVS7SLE.js.LEGAL.txt +0 -3
  858. package/dist/calcite/SZVN6KMY.js +0 -4
  859. package/dist/calcite/SZVN6KMY.js.LEGAL.txt +0 -3
  860. package/dist/calcite/T3RN7YTV.js +0 -4
  861. package/dist/calcite/T7AOG73M.js +0 -4
  862. package/dist/calcite/T7AOG73M.js.LEGAL.txt +0 -3
  863. package/dist/calcite/TMXKZWNP.js +0 -4
  864. package/dist/calcite/TQMXCJKX.js +0 -4
  865. package/dist/calcite/TQMXCJKX.js.LEGAL.txt +0 -3
  866. package/dist/calcite/TWEIXYZK.js +0 -4
  867. package/dist/calcite/UNSUHKQF.js +0 -5
  868. package/dist/calcite/UNSUHKQF.js.LEGAL.txt +0 -17
  869. package/dist/calcite/US7NTAES.js +0 -4
  870. package/dist/calcite/UYWWPPS4.js +0 -4
  871. package/dist/calcite/UYWWPPS4.js.LEGAL.txt +0 -3
  872. package/dist/calcite/UZWMCMO5.js +0 -4
  873. package/dist/calcite/V3JRBCAV.js +0 -4
  874. package/dist/calcite/V3JRBCAV.js.LEGAL.txt +0 -3
  875. package/dist/calcite/V7FGEMBR.js +0 -4
  876. package/dist/calcite/V7FGEMBR.js.LEGAL.txt +0 -3
  877. package/dist/calcite/V7FNSPAN.js +0 -4
  878. package/dist/calcite/V7FNSPAN.js.LEGAL.txt +0 -3
  879. package/dist/calcite/VEDFRJNU.js +0 -4
  880. package/dist/calcite/VG55RDCP.js +0 -4
  881. package/dist/calcite/VG55RDCP.js.LEGAL.txt +0 -3
  882. package/dist/calcite/VMMV2S7W.js +0 -4
  883. package/dist/calcite/VMMV2S7W.js.LEGAL.txt +0 -3
  884. package/dist/calcite/VSRPKB6Q.js +0 -4
  885. package/dist/calcite/VSRPKB6Q.js.LEGAL.txt +0 -3
  886. package/dist/calcite/VXD7ELV3.js +0 -4
  887. package/dist/calcite/VXD7ELV3.js.LEGAL.txt +0 -3
  888. package/dist/calcite/W4RZ5ONL.js +0 -4
  889. package/dist/calcite/W4RZ5ONL.js.LEGAL.txt +0 -3
  890. package/dist/calcite/W4YX4ET6.js +0 -4
  891. package/dist/calcite/W4YX4ET6.js.LEGAL.txt +0 -3
  892. package/dist/calcite/W6G3X4UY.js +0 -4
  893. package/dist/calcite/W6NC5ACF.js +0 -4
  894. package/dist/calcite/WFSAD4HU.js +0 -4
  895. package/dist/calcite/WIZLLDLU.js +0 -4
  896. package/dist/calcite/WIZLLDLU.js.LEGAL.txt +0 -3
  897. package/dist/calcite/WUBQHIV6.js +0 -4
  898. package/dist/calcite/WUBQHIV6.js.LEGAL.txt +0 -3
  899. package/dist/calcite/WX3W66MH.js +0 -4
  900. package/dist/calcite/WXCEYGUX.js +0 -4
  901. package/dist/calcite/X6OBP6PS.js +0 -4
  902. package/dist/calcite/XB6IHY5R.js +0 -4
  903. package/dist/calcite/XB6IHY5R.js.LEGAL.txt +0 -3
  904. package/dist/calcite/XDGFE7A4.js +0 -4
  905. package/dist/calcite/XDGFE7A4.js.LEGAL.txt +0 -3
  906. package/dist/calcite/XHXOILRR.js +0 -4
  907. package/dist/calcite/XHXOILRR.js.LEGAL.txt +0 -3
  908. package/dist/calcite/XLE3GSD2.js +0 -4
  909. package/dist/calcite/XLE3GSD2.js.LEGAL.txt +0 -7
  910. package/dist/calcite/XUNYKAEO.js +0 -4
  911. package/dist/calcite/XUZML7U5.js +0 -4
  912. package/dist/calcite/YE7CQYIZ.js +0 -4
  913. package/dist/calcite/YE7CQYIZ.js.LEGAL.txt +0 -3
  914. package/dist/calcite/YEAZCLNR.js +0 -28
  915. package/dist/calcite/YEAZCLNR.js.LEGAL.txt +0 -3
  916. package/dist/calcite/YWEGOSHT.js +0 -4
  917. package/dist/calcite/YWEGOSHT.js.LEGAL.txt +0 -3
  918. package/dist/calcite/ZOJEMJVW.js +0 -4
  919. package/dist/calcite/ZOJEMJVW.js.LEGAL.txt +0 -3
  920. package/dist/calcite/ZQE6XPIK.js +0 -4
  921. package/dist/calcite/ZQE6XPIK.js.LEGAL.txt +0 -3
  922. package/dist/calcite/ZSGSS5E6.js +0 -4
  923. package/dist/calcite/ZSGSS5E6.js.LEGAL.txt +0 -3
  924. /package/dist/calcite/{2WYRBB3Q.js.LEGAL.txt → 23EU6UPX.js.LEGAL.txt} +0 -0
  925. /package/dist/calcite/{2XTYGCIZ.js.LEGAL.txt → 3ZQH3UEX.js.LEGAL.txt} +0 -0
  926. /package/dist/calcite/{3LUZ52IE.js.LEGAL.txt → 4K5E3LAU.js.LEGAL.txt} +0 -0
  927. /package/dist/calcite/{3NMXMYUQ.js.LEGAL.txt → 4RVZ5KAX.js.LEGAL.txt} +0 -0
  928. /package/dist/calcite/{3ZZU6BX2.js.LEGAL.txt → 5GQBW5S5.js.LEGAL.txt} +0 -0
  929. /package/dist/calcite/{56TUC4VA.js.LEGAL.txt → 5I3JBG34.js.LEGAL.txt} +0 -0
  930. /package/dist/calcite/{5FQZGEHA.js.LEGAL.txt → 6U67PF5A.js.LEGAL.txt} +0 -0
  931. /package/dist/calcite/{6OJ23NUH.js.LEGAL.txt → 6WDWQTIP.js.LEGAL.txt} +0 -0
  932. /package/dist/calcite/{ASTXPRA4.js.LEGAL.txt → 7YL7CEOH.js.LEGAL.txt} +0 -0
  933. /package/dist/calcite/{B4BRHA5T.js.LEGAL.txt → AGH42DST.js.LEGAL.txt} +0 -0
  934. /package/dist/calcite/{BNHMEWI4.js.LEGAL.txt → AZ5A3SF6.js.LEGAL.txt} +0 -0
  935. /package/dist/calcite/{WFSAD4HU.js.LEGAL.txt → AZU7ZRDQ.js.LEGAL.txt} +0 -0
  936. /package/dist/calcite/{BUDBHEJE.js.LEGAL.txt → B4PJDWNV.js.LEGAL.txt} +0 -0
  937. /package/dist/calcite/{CR4GSEIQ.js.LEGAL.txt → BLMCFZ3S.js.LEGAL.txt} +0 -0
  938. /package/dist/calcite/{D7NDQWU7.js.LEGAL.txt → BXGCPISW.js.LEGAL.txt} +0 -0
  939. /package/dist/calcite/{DNQZZBQL.js.LEGAL.txt → CMVGNJRB.js.LEGAL.txt} +0 -0
  940. /package/dist/calcite/{DV3MDIGJ.js.LEGAL.txt → CNGVFEWR.js.LEGAL.txt} +0 -0
  941. /package/dist/calcite/{DVURK46Q.js.LEGAL.txt → CPT2I4MC.js.LEGAL.txt} +0 -0
  942. /package/dist/calcite/{E4GLOASR.js.LEGAL.txt → CS6HV6WH.js.LEGAL.txt} +0 -0
  943. /package/dist/calcite/{ECMRSC3I.js.LEGAL.txt → CTZHVGW3.js.LEGAL.txt} +0 -0
  944. /package/dist/calcite/{EK2QJQ77.js.LEGAL.txt → DJRZNKBW.js.LEGAL.txt} +0 -0
  945. /package/dist/calcite/{FDXGFRHE.js.LEGAL.txt → E3X6PGR5.js.LEGAL.txt} +0 -0
  946. /package/dist/calcite/{FVCNK2TS.js.LEGAL.txt → EPUN6RP4.js.LEGAL.txt} +0 -0
  947. /package/dist/calcite/{HMIOS3OJ.js.LEGAL.txt → FKQ7AT75.js.LEGAL.txt} +0 -0
  948. /package/dist/calcite/{HNPIZQST.js.LEGAL.txt → GCIH4BOO.js.LEGAL.txt} +0 -0
  949. /package/dist/calcite/{HNYVQPTR.js.LEGAL.txt → GTBEFZWG.js.LEGAL.txt} +0 -0
  950. /package/dist/calcite/{HZCNBFUK.js.LEGAL.txt → IPYJATEE.js.LEGAL.txt} +0 -0
  951. /package/dist/calcite/{IU7AUQME.js.LEGAL.txt → IYNOEWNM.js.LEGAL.txt} +0 -0
  952. /package/dist/calcite/{JLAY235L.js.LEGAL.txt → J3MZAK7C.js.LEGAL.txt} +0 -0
  953. /package/dist/calcite/{JYEOF4KH.js.LEGAL.txt → J7Q2U5LD.js.LEGAL.txt} +0 -0
  954. /package/dist/calcite/{K7DER2BO.js.LEGAL.txt → KKFLDZWP.js.LEGAL.txt} +0 -0
  955. /package/dist/calcite/{P6XWERVE.js.LEGAL.txt → LBGRMWS3.js.LEGAL.txt} +0 -0
  956. /package/dist/calcite/{KCTEW2JB.js.LEGAL.txt → LN7O6PHE.js.LEGAL.txt} +0 -0
  957. /package/dist/calcite/{LFX2IVHO.js.LEGAL.txt → LUAFXKBC.js.LEGAL.txt} +0 -0
  958. /package/dist/calcite/{6L3PX6UA.js.LEGAL.txt → MY4GSKMG.js.LEGAL.txt} +0 -0
  959. /package/dist/calcite/{LXTI23W7.js.LEGAL.txt → NDKHAGP5.js.LEGAL.txt} +0 -0
  960. /package/dist/calcite/{MT4KIJHB.js.LEGAL.txt → NF7BAU45.js.LEGAL.txt} +0 -0
  961. /package/dist/calcite/{MXVZL7NY.js.LEGAL.txt → NOHDRGAN.js.LEGAL.txt} +0 -0
  962. /package/dist/calcite/{NBY64CSO.js.LEGAL.txt → O3AC4F5C.js.LEGAL.txt} +0 -0
  963. /package/dist/calcite/{NLDVVVMH.js.LEGAL.txt → OCCZ7DGJ.js.LEGAL.txt} +0 -0
  964. /package/dist/calcite/{OOOYCUMH.js.LEGAL.txt → PIBL3SAQ.js.LEGAL.txt} +0 -0
  965. /package/dist/calcite/{NQ2ID3ML.js.LEGAL.txt → PSOBQNDA.js.LEGAL.txt} +0 -0
  966. /package/dist/calcite/{OQE2ET6K.js.LEGAL.txt → PTAJBZTU.js.LEGAL.txt} +0 -0
  967. /package/dist/calcite/{OVVCBJ7I.js.LEGAL.txt → Q3PRTNEW.js.LEGAL.txt} +0 -0
  968. /package/dist/calcite/{PD6HWRS3.js.LEGAL.txt → SC4KQ5XI.js.LEGAL.txt} +0 -0
  969. /package/dist/calcite/{QVT2YOO4.js.LEGAL.txt → T34M54HI.js.LEGAL.txt} +0 -0
  970. /package/dist/calcite/{RDESQTGA.js.LEGAL.txt → T4J6RNDT.js.LEGAL.txt} +0 -0
  971. /package/dist/calcite/{RGCORVRS.js.LEGAL.txt → TGJSTW7P.js.LEGAL.txt} +0 -0
  972. /package/dist/calcite/{RTXZNVZS.js.LEGAL.txt → THZYE46M.js.LEGAL.txt} +0 -0
  973. /package/dist/calcite/{RVKBEEFR.js.LEGAL.txt → TIBRAFY2.js.LEGAL.txt} +0 -0
  974. /package/dist/calcite/{SDGS7LDB.js.LEGAL.txt → UCRNIPVZ.js.LEGAL.txt} +0 -0
  975. /package/dist/calcite/{SSLTCWGR.js.LEGAL.txt → UFPDTUTT.js.LEGAL.txt} +0 -0
  976. /package/dist/calcite/{STS4GWJD.js.LEGAL.txt → UHO6YLIK.js.LEGAL.txt} +0 -0
  977. /package/dist/calcite/{T3RN7YTV.js.LEGAL.txt → ULFJFXRK.js.LEGAL.txt} +0 -0
  978. /package/dist/calcite/{TMXKZWNP.js.LEGAL.txt → UVGQ5PL7.js.LEGAL.txt} +0 -0
  979. /package/dist/calcite/{TWEIXYZK.js.LEGAL.txt → VOQFOLYB.js.LEGAL.txt} +0 -0
  980. /package/dist/calcite/{US7NTAES.js.LEGAL.txt → VSAWW3SX.js.LEGAL.txt} +0 -0
  981. /package/dist/calcite/{E4B6TCJ3.js.LEGAL.txt → W6DRMKIU.js.LEGAL.txt} +0 -0
  982. /package/dist/calcite/{UZWMCMO5.js.LEGAL.txt → WHWWGLKR.js.LEGAL.txt} +0 -0
  983. /package/dist/calcite/{VEDFRJNU.js.LEGAL.txt → WWR4JI7O.js.LEGAL.txt} +0 -0
  984. /package/dist/calcite/{W6G3X4UY.js.LEGAL.txt → X655FCHH.js.LEGAL.txt} +0 -0
  985. /package/dist/calcite/{W6NC5ACF.js.LEGAL.txt → XEKIHFZ5.js.LEGAL.txt} +0 -0
  986. /package/dist/calcite/{WX3W66MH.js.LEGAL.txt → XKFDECD7.js.LEGAL.txt} +0 -0
  987. /package/dist/calcite/{WXCEYGUX.js.LEGAL.txt → YGNVAEI2.js.LEGAL.txt} +0 -0
  988. /package/dist/calcite/{X6OBP6PS.js.LEGAL.txt → YOQ6DPUE.js.LEGAL.txt} +0 -0
  989. /package/dist/calcite/{XUNYKAEO.js.LEGAL.txt → YSGS2SS3.js.LEGAL.txt} +0 -0
  990. /package/dist/calcite/{XUZML7U5.js.LEGAL.txt → ZTZVC7CX.js.LEGAL.txt} +0 -0
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{b as e}from"./J7Q2U5LD.js";import"./NOHDRGAN.js";var _={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(o){return o+"\xBA"}};e.locale(_,null,!0);var a=_;export{a as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as g,b as d}from"./LBGRMWS3.js";import{u as n}from"./D2QE33SH.js";import{d as S}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import"./KDES446E.js";import{H as h,e as l,f as s,v as c,w as m,x as o}from"./4XWWQIVX.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},y={hamburger:"hamburger"},v=l`:host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-navigation-background, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary,.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0}`,i=class extends m{constructor(){super(...arguments),this.navigationActionEl=g(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:[16,{state:!0}],navigationActionSlotHasElements:[16,{state:!0}],primaryContentCenterSlotHasElements:[16,{state:!0}],primaryContentEndSlotHasElements:[16,{state:!0}],primaryContentStartSlotHasElements:[16,{state:!0}],progressSlotHasElement:[16,{state:!0}],secondarySlotHasElements:[16,{state:!0}],tertiarySlotHasElements:[16,{state:!0}],userSlotHasElements:[16,{state:!0}],label:1,navigationAction:[7,{reflect:!0,type:Boolean}]}}static{this.styles=v}async setFocus(){return await S(this),this.navigationActionEl.value?.setFocus()}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}renderMenuAction(){return s`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&s`<calcite-action .icon=${y.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${d(this.navigationActionEl)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,r=this.el.slot;return s`<div class=${o({[a.container]:!0,[a.secondary]:r===e.navSecondary,[a.tertiary]:r===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};h("calcite-navigation",i);export{i as Navigation};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ var c={max:"320px"},a={max:"476px"},i={max:"768px"},t={max:"1152px"},e="8px",n="12px",s="16px",x="2px",o="0.25rem",p="0.5rem";export{c as a,a as b,i as c,t as d,e,n as f,s as g,x as h,o as i,p as j};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as n}from"./KDES446E.js";import{A as o,H as c,e as t,f as s,w as i,x as l}from"./4XWWQIVX.js";var a={container:"container",selected:"selected"},d=t`:host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends i{constructor(){super(...arguments),this.guid=`calcite-carousel-item-${n()}`,this.selected=!1}static{this.properties={label:1,selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=d}render(){let r=this.el.id||this.guid;return o(this.el,"id",r),s`<div .ariaLabel=${this.label} class=${l({[a.container]:!0,[a.selected]:this.selected})} role=tabpanel><slot></slot></div>`}};c("calcite-carousel-item",e);export{e as CarouselItem};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as te,b as H}from"./QR6AKPMA.js";import{a as j,k as R}from"./MI2IRYJT.js";import{a as ee}from"./MAES3XM4.js";import{c as J,e as Q,f as Y,h as Z}from"./WDB5EMDW.js";import{c as G,d as K,e as W}from"./NYCE3LS5.js";import{a as X,b as U}from"./DPTHNGNY.js";import{a as E}from"./PIBL3SAQ.js";import{a as N}from"./WRCHHUR5.js";import{a as q}from"./YXQCC3F5.js";import{b as w}from"./LBGRMWS3.js";import{q as T,x as _}from"./D2QE33SH.js";import{d as I}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import{a as A}from"./KDES446E.js";import{A as B,B as F,H as O,e as P,f as k,j as z,v as L,w as C,x as g,y as $}from"./4XWWQIVX.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},ae={validationMessage:"validationMessage"},ie=250,se=P`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;function p(D){return Array.isArray(D)}var S=class extends C{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(p(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let i=t-this.minValueDragRange,a=t+this.maxValueDragRange;a<=this.max&&i>=this.min&&a-i===this.minMaxValueRange&&this.setValue({minValue:this.clamp(i,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(R.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},R.localize(e.toString())),this.guid=`calcite-slider-${A()}`,this.messages=q({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!_(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=0,this.calciteSliderChange=L({cancelable:!1}),this.calciteSliderInput=L({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:[16,{state:!0}],minMaxValueRange:[16,{state:!0}],minValueDragRange:[16,{state:!0}],tickValues:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillPlacement:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],hasHistogram:[7,{reflect:!0,type:Boolean}],histogram:[0,{attribute:!1}],histogramStops:[0,{attribute:!1}],labelFormatter:[0,{attribute:!1}],labelHandles:[7,{reflect:!0,type:Boolean}],labelTicks:[7,{reflect:!0,type:Boolean}],max:[11,{reflect:!0,type:Number}],maxLabel:1,maxValue:[9,{type:Number}],min:[11,{reflect:!0,type:Number}],minLabel:1,minValue:[9,{type:Number}],mirrored:[7,{reflect:!0,type:Boolean}],name:[3,{reflect:!0}],numberingSystem:1,pageStep:[11,{reflect:!0,type:Number}],precise:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],snap:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],ticks:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:F}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{type:Number,reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=se}async setFocus(){await I(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),G(this),J(this)}load(){p(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),Y(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),p(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),X(this)}disconnectedCallback(){super.disconnectedCallback(),K(this),Q(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:n,step:o}=this,r=this[i],{key:c}=e;if(N(c)){e.preventDefault();return}let d;if(c==="ArrowUp"||c==="ArrowRight"?d=r+o*(t&&c==="ArrowRight"?-1:1):c==="ArrowDown"||c==="ArrowLeft"?d=r-o*(t&&c==="ArrowLeft"?-1:1):c==="PageUp"?n&&(d=r+n):c==="PageDown"?n&&(d=r-n):c==="Home"?d=s:c==="End"&&(d=a),isNaN(d))return;e.preventDefault();let u=Number(d.toFixed(H(o)));this.setValue({[i]:this.clamp(u,i)})}pointerDownHandler(e){if(this.disabled||!_(e))return;let t=e.clientX||e.pageX,i=this.mapToRange(t),a="value";p(this.value)&&(i>=this.minValue&&i<=this.maxValue&&this.lastDragProp==="minMaxValue"?a="minMaxValue":a=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;p(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return p(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/ie;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],i=this.getTickDensity(),a=e*i,s=this.min;for(;s<this.max;)s+=a,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){_(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;if(Object.keys(e).forEach(a=>{let s=e[a];t||(t=this[a]!==s),this[a]=s}),!t)return;this.dragProp||this.emitChange(),this.emitInput()}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){if(!e)return;e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e}clamp(e,t){return e=te(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(e-i)/a,n=this.shouldMirror(),o=this.clamp(this.min+t*(n?1-s:s)),r=Number(o.toFixed(H(this.step)));return this.snap&&this.step?this.getClosestStep(r):r}getClosestStep(e){let{max:t,min:i,step:a}=this,s=new j(`${Math.floor((e-i)/a)}`).multiply(`${a}`).add(`${i}`).toString(),n=this.clamp(Number(s));return n>t&&(n-=a),n}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${n}px)`,a.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),i=t?"value":"minValue",a=t?"minValue":"value",s=e.querySelector(`.handle__label--${i}`),n=e.querySelector(`.handle__label--${i}.static`),o=e.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),c=e.querySelector(`.handle__label--${a}`),d=e.querySelector(`.handle__label--${a}.static`),u=e.querySelector(`.handle__label--${a}.transformed`),m=this.getHostOffset(d.getBoundingClientRect().left,d.getBoundingClientRect().right),v=this.getFontSizeForElement(s),f=this.getRangeLabelOverlap(o,u),x=s,b=v/2;if(f>0){if(x.classList.add(l.hyphen,l.hyphenWrap),m===0&&r===0){let h=f/2-b;h=Math.sign(h)===-1?Math.abs(h):-h;let V=this.getHostOffset(o.getBoundingClientRect().left+h-b,o.getBoundingClientRect().right+h-b),y=f/2,M=this.getHostOffset(u.getBoundingClientRect().left+y,u.getBoundingClientRect().right+y);V!==0&&(h+=V,y+=V),M!==0&&(h+=M,y+=M),s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`,c.style.transform=`translateX(${y}px)`,u.style.transform=`translateX(${y}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+b}px)`,c.style.transform=`translateX(${f+m}px)`,u.style.transform=`translateX(${f+m}px)`;else if(r<0||m<0){let h=Math.abs(r)+f-b;h=Math.sign(h)===-1?Math.abs(h):-h,s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`}}else x.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${r}px)`,o.style.transform=`translateX(${r}px)`,c.style.transform=`translateX(${m}px)`,u.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){let e=p(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),i=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),a=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let{left:i,right:a}=this.el.getBoundingClientRect();return e<i?i-e:t>a?-(t-a):0}getRangeLabelOverlap(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),n=i.right+s-a.left;return Math.max(n,0)}isMinTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return T(i,a)}isMaxTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return T(i,a)}internalLabelFormatter(e,t){let i=this.labelFormatter;if(!i)return this.formatValue(e);let a=i(e,t,this.formatValue);return a??this.formatValue(e)}render(){let e=this.el.id||this.guid,t=p(this.value)?this.maxValue:this.value,i=this.minValue||this.min,a=this.shouldUseMinValue(),s=this.getUnitInterval(a?this.minValue:i)*100,n=this.getUnitInterval(t)*100,o=this.shouldMirror(),r=p(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:n,minInterval:s,mirror:o}),u=this.buildThumbType("min"),m=r?this.renderThumb({type:u,thumbPlacement:u.includes("histogram")||u.includes("precise")?"below":"above",maxInterval:n,minInterval:s,mirror:o}):null,v=r?"start":this.fillPlacement,f=v==="none"?{left:"unset",right:"unset"}:v==="end"?{left:`${o?s:n}%`,right:`${o?n:s}%`}:{left:`${o?100-n:s}%`,right:`${o?s:100-n}%`};return B(this.el,"id",e),U({disabled:this.disabled,children:k`<div aria-errormessage=${ae.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${W(this)} class=${g({[l.container]:!0,[l.containerRange]:r,[`scale--${this.scale}`]:!0})}>${this.renderGraph()}<div class=${g(l.track)} ${w(this.storeTrackRef)}><div class=${g(l.trackRange)} @pointerdown=${this.onTrackPointerDown} style=${$(f)}></div><div class=${g(l.ticks)}>${this.tickValues.map(x=>{let b=`${this.getUnitInterval(x)*100}%`,h=!1;if(v==="start"||v==="end")if(a)h=x>=this.minValue&&x<=this.maxValue;else{let V=v==="start"?i:t,y=v==="start"?t:this.max;h=x>=V&&x<=y}return k`<span class=${g({[l.tick]:!0,[l.tickActive]:h})} style=${$({left:o?"":b,right:o?b:""})}>${this.renderTickLabel(x)}</span>`})}</div></div><div class=${g(l.thumbContainer)}>${m}${d}${Z({component:this})}</div></div>${this.validationMessage&&this.status==="invalid"?ee({icon:this.validationIcon,id:ae.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderThumb({type:e,mirror:t,thumbPlacement:i,minInterval:a,maxInterval:s}){let n=e.includes("labeled"),o=e.includes("precise"),r=e.includes("min"),c=p(this.value),d=r?this.minValue:c?this.maxValue:this.value,u=r?"minValue":c?"maxValue":"value",m=r?this.minLabel:c?this.maxLabel:this.minLabel,v=r?this.minValue:d,f=u==="minValue"?this.internalLabelFormatter(this.minValue,"min"):u==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(d,"value"),x=r?{left:`${t?100-a:a}%`}:{right:`${t?s:100-s}%`},b=`${l.handleLabel} ${r?l.handleLabelMinValue:l.handleLabelValue}`,V=[...n?[k`<span aria-hidden=true class=${g(b)}>${f}</span>`,k`<span aria-hidden=true class=${`${b} ${l.static}`}>${f}</span>`,k`<span aria-hidden=true class=${`${b} ${l.transformed}`}>${f}</span>`]:[],k`<div class=${g(l.handle)}></div>`,o&&k`<div class=${g(l.handleExtension)}></div>`||""];return i==="below"&&V.reverse(),E(e,k`<div .ariaLabel=${m} aria-orientation=horizontal .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${v} class=${g({[l.thumb]:!0,[l.thumbValue]:!r,[l.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===u,[l.thumbPrecise]:o,[l.thumbMinValue]:r})} data-value-prop=${u??z} @blur=${this.onThumbBlur} @focus=${this.onThumbFocus} @pointerdown=${this.onThumbPointerDown} role=slider style=${$(x)} tabindex=0 ${w(this.storeThumbRef)}>${V}</div>`)}renderGraph(){return this.histogram?k`<calcite-graph class=${g(l.graph)} .colorStops=${this.histogramStops} .data=${this.histogram} .highlightMax=${p(this.value)?this.maxValue:this.value} .highlightMin=${p(this.value)?this.minValue:this.min} .max=${this.max} .min=${this.min}></calcite-graph>`:null}renderTickLabel(e){let{hasHistogram:t,labelHandles:i,labelTicks:a,max:s,min:n,precise:o,value:r}=this,c=p(r),d=e===n,u=e===s,m=d||u;return a&&(!t&&(m||!o||!c)||t&&(m||!o&&!i))?k`<span class=${g({[l.tickLabel]:!0,[l.tickMin]:d,[l.tickMax]:u})}>${this.internalLabelFormatter(e,"tick")}</span>`:null}};O("calcite-slider",S);export{S as Slider};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,5 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as ie,l as ue}from"./D2QE33SH.js";import{E as ne,b as re}from"./4XWWQIVX.js";var se=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],B=se.join(","),ce=typeof Element>"u",D=ce?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,K=!ce&&Element.prototype.getRootNode?function(r){var e;return r==null||(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r?.ownerDocument},j=function r(e,t){var a;t===void 0&&(t=!0);var o=e==null||(a=e.getAttribute)===null||a===void 0?void 0:a.call(e,"inert"),s=o===""||o==="true",n=s||t&&e&&r(e.parentNode);return n},Se=function(e){var t,a=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return a===""||a==="true"},le=function(e,t,a){if(j(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(B));return t&&D.call(e,B)&&o.unshift(e),o=o.filter(a),o},fe=function r(e,t,a){for(var o=[],s=Array.from(e);s.length;){var n=s.shift();if(!j(n,!1))if(n.tagName==="SLOT"){var d=n.assignedElements(),l=d.length?d:n.children,y=r(l,!0,a);a.flatten?o.push.apply(o,y):o.push({scopeParent:n,candidates:y})}else{var T=D.call(n,B);T&&a.filter(n)&&(t||!e.includes(n))&&o.push(n);var w=n.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(n),S=!j(w,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(n));if(w&&S){var C=r(w===!0?n.children:w.children,!0,a);a.flatten?o.push.apply(o,C):o.push({scopeParent:n,candidates:C})}else s.unshift.apply(s,n.children)}}return o},de=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},E=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Se(e))&&!de(e)?0:e.tabIndex},ke=function(e,t){var a=E(e);return a<0&&t&&!de(e)?0:a},De=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ve=function(e){return e.tagName==="INPUT"},Oe=function(e){return ve(e)&&e.type==="hidden"},Ce=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(a){return a.tagName==="SUMMARY"});return t},Ae=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},Re=function(e){if(!e.name)return!0;var t=e.form||K(e),a=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=a(window.CSS.escape(e.name));else try{o=a(e.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var s=Ae(o,e.form);return!s||s===e},Ie=function(e){return ve(e)&&e.type==="radio"},Pe=function(e){return Ie(e)&&!Re(e)},xe=function(e){var t,a=e&&K(e),o=(t=a)===null||t===void 0?void 0:t.host,s=!1;if(a&&a!==e){var n,d,l;for(s=!!((n=o)!==null&&n!==void 0&&(d=n.ownerDocument)!==null&&d!==void 0&&d.contains(o)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!s&&o;){var y,T,w;a=K(o),o=(y=a)===null||y===void 0?void 0:y.host,s=!!((T=o)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(o))}}return s},oe=function(e){var t=e.getBoundingClientRect(),a=t.width,o=t.height;return a===0&&o===0},Le=function(e,t){var a=t.displayCheck,o=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var s=D.call(e,"details>summary:first-of-type"),n=s?e.parentElement:e;if(D.call(n,"details:not([open]) *"))return!0;if(!a||a==="full"||a==="legacy-full"){if(typeof o=="function"){for(var d=e;e;){var l=e.parentElement,y=K(e);if(l&&!l.shadowRoot&&o(l)===!0)return oe(e);e.assignedSlot?e=e.assignedSlot:!l&&y!==e.ownerDocument?e=y.host:e=l}e=d}if(xe(e))return!e.getClientRects().length;if(a!=="legacy-full")return!0}else if(a==="non-zero-area")return oe(e);return!1},Be=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a<t.children.length;a++){var o=t.children.item(a);if(o.tagName==="LEGEND")return D.call(t,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||j(t)||Oe(t)||Le(t,e)||Ce(t)||Be(t))},$=function(e,t){return!(Pe(t)||E(t)<0||!M(e,t))},Ke=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},je=function r(e){var t=[],a=[];return e.forEach(function(o,s){var n=!!o.scopeParent,d=n?o.scopeParent:o,l=ke(d,n),y=n?r(o.candidates):d;l===0?n?t.push.apply(t,y):t.push(d):a.push({documentOrder:s,tabIndex:l,item:o,isScope:n,content:y})}),a.sort(De).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(t)},be=function(e,t){t=t||{};var a;return t.getShadowRoot?a=fe([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ke}):a=le(e,t.includeContainer,$.bind(null,t)),je(a)},he=function(e,t){t=t||{};var a;return t.getShadowRoot?a=fe([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=le(e,t.includeContainer,M.bind(null,t)),a},O=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,B)===!1?!1:$(t,e)},Me=se.concat("iframe").join(","),G=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,Me)===!1?!1:M(t,e)};function Y(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,a=Array(e);t<e;t++)a[t]=r[t];return a}function Ge(r){if(Array.isArray(r))return Y(r)}function qe(r,e,t){return(e=$e(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ue(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pe(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,a)}return t}function ye(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?pe(Object(t),!0).forEach(function(a){qe(r,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):pe(Object(t)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(t,a))})}return r}function _e(r){return Ge(r)||Ue(r)||Ye(r)||Ve()}function We(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var a=t.call(r,e||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function $e(r){var e=We(r,"string");return typeof e=="symbol"?e:e+""}function Ye(r,e){if(r){if(typeof r=="string")return Y(r,e);var t={}.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Y(r,e):void 0}}var ge={activateTrap:function(e,t){if(e.length>0){var a=e[e.length-1];a!==t&&a._setPausedState(!0)}var o=e.indexOf(t);o===-1||e.splice(o,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Ze=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},ze=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},Xe=function(e){return x(e)&&!e.shiftKey},He=function(e){return x(e)&&e.shiftKey},me=function(e){return setTimeout(e,0)},P=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return typeof e=="function"?e.apply(void 0,a):e},q=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Je=[],we=function(e,t){var a=t?.document||document,o=t?.trapStack||Je,s=ye({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Xe,isKeyBackward:He},t),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(i,u,c){return i&&i[u]!==void 0?i[u]:s[c||u]},y=function(i,u){var c=typeof u?.composedPath=="function"?u.composedPath():void 0;return n.containerGroups.findIndex(function(v){var b=v.container,p=v.tabbableNodes;return b.contains(i)||c?.includes(b)||p.find(function(f){return f===i})})},T=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=u.hasFallback,v=c===void 0?!1:c,b=u.params,p=b===void 0?[]:b,f=s[i];if(typeof f=="function"&&(f=f.apply(void 0,_e(p))),f===!0&&(f=void 0),!f){if(f===void 0||f===!1)return f;throw new Error("`".concat(i,"` was specified but was not a node, or did not return a node"))}var g=f;if(typeof f=="string"){try{g=a.querySelector(f)}catch(m){throw new Error("`".concat(i,'` appears to be an invalid selector; error="').concat(m.message,'"'))}if(!g&&!v)throw new Error("`".concat(i,"` as selector refers to no known node"))}return g},w=function(){var i=T("initialFocus",{hasFallback:!0});if(i===!1)return!1;if(i===void 0||i&&!G(i,s.tabbableOptions))if(y(a.activeElement)>=0)i=a.activeElement;else{var u=n.tabbableGroups[0],c=u&&u.firstTabbableNode;i=c||T("fallbackFocus")}else i===null&&(i=T("fallbackFocus"));if(!i)throw new Error("Your focus-trap needs to have at least one focusable element");return i},S=function(){if(n.containerGroups=n.containers.map(function(i){var u=be(i,s.tabbableOptions),c=he(i,s.tabbableOptions),v=u.length>0?u[0]:void 0,b=u.length>0?u[u.length-1]:void 0,p=c.find(function(m){return O(m)}),f=c.slice().reverse().find(function(m){return O(m)}),g=!!u.find(function(m){return E(m)>0});return{container:i,tabbableNodes:u,focusableNodes:c,posTabIndexesFound:g,firstTabbableNode:v,lastTabbableNode:b,firstDomTabbableNode:p,lastDomTabbableNode:f,nextTabbableNode:function(k){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,N=u.indexOf(k);return N<0?R?c.slice(c.indexOf(k)+1).find(function(I){return O(I)}):c.slice(0,c.indexOf(k)).reverse().find(function(I){return O(I)}):u[N+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(i){return i.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(i){return i.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},C=function(i){var u=i.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?C(u.shadowRoot):u},F=function(i){if(i!==!1&&i!==C(document)){if(!i||!i.focus){F(w());return}i.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=i,Ze(i)&&i.select()}},Z=function(i){var u=T("setReturnFocus",{params:[i]});return u||(u===!1?!1:i)},z=function(i){var u=i.target,c=i.event,v=i.isBackward,b=v===void 0?!1:v;u=u||q(c),S();var p=null;if(n.tabbableGroups.length>0){var f=y(u,c),g=f>=0?n.containerGroups[f]:void 0;if(f<0)b?p=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:p=n.tabbableGroups[0].firstTabbableNode;else if(b){var m=n.tabbableGroups.findIndex(function(_){var W=_.firstTabbableNode;return u===W});if(m<0&&(g.container===u||G(u,s.tabbableOptions)&&!O(u,s.tabbableOptions)&&!g.nextTabbableNode(u,!1))&&(m=f),m>=0){var k=m===0?n.tabbableGroups.length-1:m-1,R=n.tabbableGroups[k];p=E(u)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else x(c)||(p=g.nextTabbableNode(u,!1))}else{var N=n.tabbableGroups.findIndex(function(_){var W=_.lastTabbableNode;return u===W});if(N<0&&(g.container===u||G(u,s.tabbableOptions)&&!O(u,s.tabbableOptions)&&!g.nextTabbableNode(u))&&(N=f),N>=0){var I=N===n.tabbableGroups.length-1?0:N+1,ae=n.tabbableGroups[I];p=E(u)>=0?ae.firstTabbableNode:ae.firstDomTabbableNode}else x(c)||(p=g.nextTabbableNode(u))}}else p=T("fallbackFocus");return p},L=function(i){var u=q(i);if(!(y(u,i)>=0)){if(P(s.clickOutsideDeactivates,i)){d.deactivate({returnFocus:s.returnFocusOnDeactivate});return}P(s.allowOutsideClick,i)||i.preventDefault()}},X=function(i){var u=q(i),c=y(u,i)>=0;if(c||u instanceof Document)c&&(n.mostRecentlyFocusedNode=u);else{i.stopImmediatePropagation();var v,b=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var p=y(n.mostRecentlyFocusedNode),f=n.containerGroups[p].tabbableNodes;if(f.length>0){var g=f.findIndex(function(m){return m===n.mostRecentlyFocusedNode});g>=0&&(s.isKeyForward(n.recentNavEvent)?g+1<f.length&&(v=f[g+1],b=!1):g-1>=0&&(v=f[g-1],b=!1))}}else n.containerGroups.some(function(m){return m.tabbableNodes.some(function(k){return E(k)>0})})||(b=!1);else b=!1;b&&(v=z({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),F(v||n.mostRecentlyFocusedNode||w())}n.recentNavEvent=void 0},Ne=function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=i;var c=z({event:i,isBackward:u});c&&(x(i)&&i.preventDefault(),F(c))},H=function(i){(s.isKeyForward(i)||s.isKeyBackward(i))&&Ne(i,s.isKeyBackward(i))},J=function(i){ze(i)&&P(s.escapeDeactivates,i)!==!1&&(i.preventDefault(),d.deactivate())},Q=function(i){var u=q(i);y(u,i)>=0||P(s.clickOutsideDeactivates,i)||P(s.allowOutsideClick,i)||(i.preventDefault(),i.stopImmediatePropagation())},ee=function(){if(n.active)return ge.activateTrap(o,d),n.delayInitialFocusTimer=s.delayInitialFocus?me(function(){F(w())}):F(w()),a.addEventListener("focusin",X,!0),a.addEventListener("mousedown",L,{capture:!0,passive:!1}),a.addEventListener("touchstart",L,{capture:!0,passive:!1}),a.addEventListener("click",Q,{capture:!0,passive:!1}),a.addEventListener("keydown",H,{capture:!0,passive:!1}),a.addEventListener("keydown",J),d},te=function(){if(n.active)return a.removeEventListener("focusin",X,!0),a.removeEventListener("mousedown",L,!0),a.removeEventListener("touchstart",L,!0),a.removeEventListener("click",Q,!0),a.removeEventListener("keydown",H,!0),a.removeEventListener("keydown",J),d},Ee=function(i){var u=i.some(function(c){var v=Array.from(c.removedNodes);return v.some(function(b){return b===n.mostRecentlyFocusedNode})});u&&F(w())},V=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Ee):void 0,A=function(){V&&(V.disconnect(),n.active&&!n.paused&&n.containers.map(function(i){V.observe(i,{subtree:!0,childList:!0})}))};return d={get active(){return n.active},get paused(){return n.paused},activate:function(i){if(n.active)return this;var u=l(i,"onActivate"),c=l(i,"onPostActivate"),v=l(i,"checkCanFocusTrap");v||S(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=a.activeElement,u?.();var b=function(){v&&S(),ee(),A(),c?.()};return v?(v(n.containers.concat()).then(b,b),this):(b(),this)},deactivate:function(i){if(!n.active)return this;var u=ye({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},i);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,te(),n.active=!1,n.paused=!1,A(),ge.deactivateTrap(o,d);var c=l(u,"onDeactivate"),v=l(u,"onPostDeactivate"),b=l(u,"checkCanReturnFocus"),p=l(u,"returnFocus","returnFocusOnDeactivate");c?.();var f=function(){me(function(){p&&F(Z(n.nodeFocusedBeforeActivation)),v?.()})};return p&&b?(b(Z(n.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(i){return n.active?(n.manuallyPaused=!0,this._setPausedState(!0,i)):this},unpause:function(i){return n.active?(n.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,i)):this},updateContainerElements:function(i){var u=[].concat(i).filter(Boolean);return n.containers=u.map(function(c){return typeof c=="string"?a.querySelector(c):c}),n.active&&S(),A(),this}},Object.defineProperties(d,{_isManuallyPaused:{value:function(){return n.manuallyPaused}},_setPausedState:{value:function(i,u){if(n.paused===i)return this;if(n.paused=i,i){var c=l(u,"onPause"),v=l(u,"onPostPause");c?.(),te(),A(),v?.()}else{var b=l(u,"onUnpause"),p=l(u,"onPostUnpause");b?.(),S(),ee(),A(),p?.()}return this}}}),d.updateContainerElements(e),d};var U=new WeakSet;function Qe(r,e){let t=e?.fallbackFocus||r,a=e?.clickOutsideDeactivates??!0;return{fallbackFocus:t,setReturnFocus:o=>(U.has(r)||ue(o),!1),...e,document:r.ownerDocument,tabbableOptions:ie,trapStack:ne,clickOutsideDeactivates:o=>(U.has(r)||U.add(r),typeof a=="function"?a(o):a),onPostDeactivate:()=>{U.delete(r)}}}function Te(r,{focusTrapOptions:e},t){return!e?.extraContainers&&!t?r:[r,...Fe(e?.extraContainers),...Fe(t)]}function Fe(r=[]){return Array.isArray(r)?r:[r]}var ot=r=>re((e,t)=>{let a,o,s,n=r.focusTrapOptions;t.onConnected(()=>{e[r.triggerProp]&&a&&d.activate()}),t.onUpdate(l=>{e.hasUpdated&&l.has("focusTrapDisabled")&&(e.focusTrapDisabled?d.deactivate():d.activate())}),t.onDisconnected(()=>d.deactivate());let d={activate:()=>{let l=o||e.el;if(l.isConnected){if(!a){let y={...n,...e.focusTrapOptions};s||=Te(l,e),a=we(s,Qe(l,y))}(typeof e.focusTrapDisabledOverride=="function"?!e.focusTrapDisabledOverride():!e.focusTrapDisabled)&&a.activate()}},deactivate:()=>a?.deactivate(),overrideFocusTrapEl:l=>{if(a)throw new Error("Focus trap already created");o=l},setExtraContainers:l=>{let y=o||e.el;s=Te(y,e,l)},updateContainerElements:()=>a?.updateContainerElements(s)};return d});export{ot as a};
@@ -0,0 +1,17 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+
5
+ Bundled license information:
6
+
7
+ tabbable/dist/index.esm.js:
8
+ /*!
9
+ * tabbable 6.2.0
10
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
11
+ */
12
+
13
+ focus-trap/dist/focus-trap.esm.js:
14
+ /*!
15
+ * focus-trap 7.6.4
16
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
17
+ */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{d as ue}from"./77KQVI53.js";import{a as fe,b as be}from"./CZA6PAXX.js";import{a as me}from"./VYRJB3VC.js";import{a as E,b as H,c,d as F,f as T,g as ge,h as V,j as x,k as C}from"./PDYEDVSM.js";import{a as pe}from"./MAES3XM4.js";import{a as ne,c as ce,e as re,f as he,h as de}from"./WDB5EMDW.js";import{c as le,d as ae,e as oe}from"./NYCE3LS5.js";import{a as Z,c as A,d as ee,e as te,f as ie,g as v,h as se}from"./CZNRLVF4.js";import"./CS6HV6WH.js";import{a as Y}from"./GRODOX6H.js";import{a as j,b as X}from"./DPTHNGNY.js";import{a as b}from"./PIBL3SAQ.js";import{a as K,b as Q}from"./AZU7ZRDQ.js";import{a as w}from"./DE4EAADS.js";import{a as J}from"./YXQCC3F5.js";import{a as S,b as g}from"./LBGRMWS3.js";import{f as I,i as q}from"./D2QE33SH.js";import{a as k,c as D,d as N}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import{a as _}from"./KDES446E.js";import{B as U,D as G,H as W,e as B,f as d,j as u,u as L,v as f,w as R,x as r}from"./4XWWQIVX.js";var Se=B`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-internal-combobox-spacing-unit-l: .5rem;--calcite-internal-combobox-spacing-unit-s: .25rem;--calcite-combobox-input-height: 1rem;--calcite-internal-combobox-input-margin-block: calc(.25rem - 1px) ;--calcite-internal-close-size: 1rem}:host([scale=s]) .x-button{margin-inline:.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-internal-combobox-spacing-unit-l: .75rem;--calcite-internal-combobox-spacing-unit-s: .5rem;--calcite-combobox-input-height: 1rem;--calcite-internal-combobox-input-margin-block: calc(.5rem - 1px) ;--calcite-internal-close-size: 1.5rem}:host([scale=m]) .x-button{margin-inline-end:.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-internal-combobox-spacing-unit-l: 1rem;--calcite-internal-combobox-spacing-unit-s: .75rem;--calcite-combobox-input-height: 1.5rem;--calcite-internal-combobox-input-margin-block: calc(.625rem - 1px) ;--calcite-internal-close-size: 2rem}:host([scale=l]) .x-button{margin-inline-end:1rem}.x-button{align-self:center}.wrapper{display:flex;border-width:1px;border-style:solid;outline-color:transparent;padding-block:calc(var(--calcite-internal-combobox-spacing-unit-s) / 4);padding-inline:var(--calcite-internal-combobox-spacing-unit-l);background-color:var(--calcite-combobox-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-combobox-input-text-color, var(--calcite-color-text-1));border-color:var(--calcite-combobox-input-border-color, var(--calcite-color-border-input))}.wrapper:hover .icon{color:var(--calcite-combobox-icon-color-hover, var(--calcite-color-text-1))}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.wrapper--single{padding-block:0;padding-inline:var(--calcite-internal-combobox-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;gap:var(--calcite-internal-combobox-spacing-unit-s);margin-inline-end:var(--calcite-internal-combobox-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-internal-combobox-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--single{padding:0;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-internal-combobox-spacing-unit-l)}.placeholder-icon{color:var(--calcite-combobox-icon-color, var(--calcite-color-text-3))}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-width:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-internal-combobox-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-combobox-icon-color, var(--calcite-color-text-3))}.floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@media (forced-colors: active){.wrapper,.floating-ui-container{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.list-container{max-height:45vh;overflow-y:auto;inline-size:var(--calcite-dropdown-width, 100%);background-color:var(--calcite-combobox-background-color, var(--calcite-color-foreground-1))}.list{margin:0;display:block;padding:0}.list--hide{height:0px;overflow:hidden}calcite-chip{--calcite-animation-timing: 0}.chip{margin-block:calc(var(--calcite-internal-combobox-spacing-unit-s) / 4);max-inline-size:100%}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.x-button{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-style:none;cursor:pointer;outline-color:transparent;align-items:center;margin:0;background-color:var(--calcite-close-background-color, var(--calcite-color-foreground-2));-webkit-appearance:none;display:flex;align-content:center;justify-content:center;color:var(--calcite-close-icon-color, var(--calcite-color-text-3));block-size:var(--calcite-internal-close-size, 1.5rem);inline-size:var(--calcite-internal-close-size, 1.5rem);min-block-size:var(--calcite-internal-close-size, 1.5rem);min-inline-size:var(--calcite-internal-close-size, 1.5rem);padding:0}.x-button:hover,.x-button:focus{background-color:var(--calcite-close-background-color-hover, var(--calcite-color-foreground-3))}.x-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.x-button:active{background-color:var(--calcite-close-background-color-press, var(--calcite-color-transparent-press))}.x-button calcite-icon{color:inherit}.x-button--round{border-radius:9999px}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-internal-combobox-spacing-unit-l)}`,xe="combobox-item-",Ie="combobox-chip-",ve="combobox-label-",O="combobox-listbox-",Ce="combobox-input-",z=class extends R{constructor(){super(),this.closeButtonEl=S(),this.filterItems=(()=>{let e=(t,i)=>t&&i.some(({el:s})=>t===s);return K((t,i=!1,s=!0)=>{let l=me([...this.data,...this.groupData],t,this.effectiveFilterProps),a=this.getItemsAndGroups(),o=t==="";a.forEach(n=>{if(o){n.itemHidden=!1;return}let h=!e(n,l);n.itemHidden=h;let[p,$]=n.ancestors;(e(p,l)||e($,l))&&(n.itemHidden=!1),h||n.ancestors.forEach(m=>m.itemHidden=!1)}),this.filterTextMatchPattern=this.filterText&&new RegExp(`(${Q(this.filterText)})`,"i"),this.filteredItems=this.getFilteredItems(),this.filteredItems.forEach(n=>{n.filterTextMatchPattern=this.filterTextMatchPattern}),i&&(this.open=this.filterText.trim().length>0&&this.filteredItems.length>0),s&&this.calciteComboboxFilterChange.emit()},G.filter)})(),this._filterText="",this.getSelectedItems=()=>{if(!this.isMulti()){let e=this.items.find(({selected:t})=>t);return e?[e]:[]}return this.items.filter(e=>e.selected&&(this.selectionMode!=="ancestors"||!V(e))).sort((e,t)=>{let i=this.selectedItems.indexOf(e),s=this.selectedItems.indexOf(t);return i>-1&&s>-1?i-s:s-i})},this.groupItems=[],this.guid=_(),this.ignoreSelectedEventsFlag=!1,this.inputHeight=0,this.internalValueChangeFlag=!1,this.items=[],this.mutationObserver=w("mutation",()=>this.updateItems()),this.onLabelClick=()=>{this.setFocus()},this.transitionProp="opacity",this.placement=Z,this.resizeObserver=w("resize",()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()}),this._selectedItems=[],this.textInput=S(),this._value=null,this.activeChipIndex=-1,this.activeDescendant="",this.activeItemIndex=-1,this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.clearDisabled=!1,this.disabled=!1,this.filteredItems=[],this.maxItems=0,this.messages=J(),this.open=!1,this.overlayPositioning="absolute",this.placeholderIconFlipRtl=!1,this.readOnly=!1,this.required=!1,this.scale="m",this.selectionDisplay="all",this.selectionMode="multiple",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteComboboxBeforeClose=f({cancelable:!1}),this.calciteComboboxBeforeOpen=f({cancelable:!1}),this.calciteComboboxChange=f({cancelable:!1}),this.calciteComboboxChipClose=f({cancelable:!1}),this.calciteComboboxClose=f({cancelable:!1}),this.calciteComboboxFilterChange=f({cancelable:!1}),this.calciteComboboxOpen=f({cancelable:!1}),this.listenOn(document,"click",this.documentClickHandler),this.listen("calciteComboboxItemChange",this.calciteComboboxItemChangeHandler),this.listen("calciteInternalComboboxItemChange",this.calciteInternalComboboxItemChangeHandler),this.listen("click",this.comboboxFocusHandler)}static{this.properties={activeChipIndex:[16,{state:!0}],activeDescendant:[16,{state:!0}],activeItemIndex:[16,{state:!0}],compactSelectionDisplay:[16,{state:!0}],selectedHiddenChipsCount:[16,{state:!0}],selectedVisibleChipsCount:[16,{state:!0}],allowCustomValues:[7,{reflect:!0,type:Boolean}],clearDisabled:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],filterText:[3,{reflect:!0}],filterProps:[0,{attribute:!1}],filteredItems:[0,{attribute:!1}],flipPlacements:[0,{attribute:!1}],form:[3,{reflect:!0}],label:1,maxItems:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],placeholder:1,placeholderIcon:[3,{reflect:!0}],placeholderIconFlipRtl:[7,{reflect:!0,type:Boolean}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionDisplay:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:U}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}static{this.styles=Se}emitComboboxChange(){this.calciteComboboxChange.emit()}get effectiveFilterProps(){return this.filterProps?this.filterProps.filter(e=>e!=="el"):["description","label","metadata","shortHeading","textLabel"]}get showingInlineIcon(){let{placeholderIcon:e,selectionMode:t,selectedItems:i,open:s}=this,l=i[0],a=l?.icon,o=x(t);return!s&&l?!!a&&o:!!e&&(!l||o)}get filterText(){return this._filterText}set filterText(e){let t=this._filterText;e!==t&&(this._filterText=e,this.filterTextChange(e))}get selectedItems(){return this._selectedItems}set selectedItems(e){let t=this._selectedItems;e!==t&&(this._selectedItems=e,this.selectedItemsHandler())}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueHandler(e))}async reposition(e=!1){let{floatingEl:t,referenceEl:i,placement:s,overlayPositioning:l,filteredFlipPlacements:a}=this;return te(this,{floatingEl:t,referenceEl:i,overlayPositioning:l,placement:s,flipPlacements:a,type:"menu"},e)}async setFocus(){await N(this),this.textInput.value?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){super.connectedCallback(),le(this),ce(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),v(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),e.has("maxItems")&&(this.hasUpdated||this.maxItems!==0)&&this.setMaxScrollerHeight(),e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")&&this.reposition(!0),(e.has("selectionMode")||e.has("scale"))&&this.updateItems(),e.has("flipPlacements")&&this.flipPlacementsHandler()}updated(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),j(this),this.refreshSelectionDisplay()}loaded(){he(this,this.getValue()),v(this),this.updateItems(),this.filterItems(this.filterText,!1,!1)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),ae(this),re(this),se(this)}filterTextChange(e){this.updateActiveItemIndex(-1),this.filterItems(e,!0)}openHandler(){Y(this),!this.disabled&&this.setMaxScrollerHeight()}handleDisabledChange(e){e||(this.open=!1)}valueHandler(e){this.internalValueChangeFlag||(this.getItems().forEach(t=>{t.selected=Array.isArray(e)?e.includes(t.value):e===t.value}),this.updateItems())}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}async documentClickHandler(e){this.disabled||e.composedPath().includes(this.el)||(await this.componentOnReady(),!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.filterText.trim().length&&this.addCustomChip(this.filterText),this.open=!1)}calciteComboboxItemChangeHandler(e){if(this.ignoreSelectedEventsFlag)return;let t=e.target,i=this.filteredItems.indexOf(t);this.updateActiveItemIndex(i),this.toggleSelection(t,t.selected)}calciteInternalComboboxItemChangeHandler(e){e.stopPropagation(),this.hasUpdated&&this.updateItems()}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach(e=>e.selected=!1),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value.value="",this.filterText=""}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?ee(t,e):null}getValue(){let e=this.selectedItems.map(t=>t.value?.toString());return e.length?e.length>1?e:e[0]:""}comboboxInViewport(){let e=this.el.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.right<=(window.innerWidth||document.documentElement.clientWidth)&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)}keyDownHandler(e){if(this.readOnly)return;let{key:t}=e;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),e.preventDefault()):this.open?(this.open=!1,e.preventDefault()):!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":(this.activeChipIndex!==-1||this.textInput.value.selectionStart===0)&&(this.previousChip(),e.preventDefault());break;case"ArrowRight":this.activeChipIndex!==-1&&(this.nextChip(),e.preventDefault());break;case"ArrowUp":this.filteredItems.length&&(e.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView());break;case"ArrowDown":this.filteredItems.length&&(e.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView());break;case" ":!this.textInput.value.value&&!e.defaultPrevented&&(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),e.preventDefault());break;case"Home":if(!this.open)return;e.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveOrSelectedItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;e.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveOrSelectedItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":!this.clearDisabled&&!this.open&&this.clearValue(),this.open=!1,e.preventDefault();break;case"Enter":if(this.open&&this.activeItemIndex>-1){let i=this.filteredItems[this.activeItemIndex];this.toggleSelection(i,!i.selected),e.preventDefault()}else this.activeChipIndex>-1?(this.removeActiveChip(),e.preventDefault()):this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),e.preventDefault()):e.defaultPrevented||ne(this)&&e.preventDefault();break;case"Delete":case"Backspace":{if(this.selectionDisplay==="single"||this.selectionDisplay==="fit"&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(e.preventDefault(),this.removeActiveChip()):!this.filterText&&this.isMulti()&&(e.preventDefault(),this.removeLastChip());break}}}onBeforeOpen(){this.scrollToActiveOrSelectedItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.scrollToActiveOrSelectedItem(!0),this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit(),ie(this)}async setMaxScrollerHeight(){let{listContainerEl:e,open:t,referenceEl:i}=this;if(!e||!t)return;await this.reposition(!0);let s=this.getMaxScrollerHeight();e.style.maxBlockSize=s>0?`${s}px`:"",e.style.inlineSize=`${i.clientWidth}px`,await this.reposition(!0)}calciteChipCloseHandler(e){this.open=!1;let t=this.items.find(i=>i===e);t&&this.toggleSelection(t,!1),this.calciteComboboxChipClose.emit()}clickHandler(e){if(this.readOnly)return;let t=e.composedPath();if(t.some(i=>i.tagName==="CALCITE-CHIP")){this.open=!1,e.preventDefault();return}if(t.some(i=>i.classList?.contains(fe.button))){this.clearValue(),e.preventDefault();return}this.open=!this.open,this.ensureRecentSelectedItemIsActive()}ensureRecentSelectedItemIsActive(){let{selectedItems:e}=this,t=e.length===0?0:this.items.indexOf(e[e.length-1]);this.updateActiveItemIndex(t)}hideChip(e){e.classList.add(c.chipInvisible)}showChip(e){e.classList.remove(c.chipInvisible)}refreshChipDisplay({chipEls:e,availableHorizontalChipElSpace:t,chipContainerElGap:i}){e.forEach(s=>{if(!s.selected)this.hideChip(s);else{let l=I(s);if(l&&l<t){t-=l+i,this.showChip(s);return}}this.hideChip(s)})}async refreshSelectionDisplay(){if(this.componentOnReady(),x(this.selectionMode)||!this.textInput.value)return;let{allSelectedIndicatorChipEl:e,chipContainerEl:t,selectionDisplay:i,placeholder:s,selectedIndicatorChipEl:l,textInput:{value:a}}=this,o=parseInt(getComputedStyle(t).gap.replace("px","")),n=I(t),{fontSize:h,fontFamily:p}=getComputedStyle(a),m=(q(s,`${h} ${p}`)||parseInt(ue))+o,y=I(e),M=I(l),$e=Math.max(y,M);if(this.setCompactSelectionDisplay({chipContainerElGap:o,chipContainerElWidth:n,inputWidth:m,largestSelectedIndicatorChipWidth:$e}),i==="fit"){let P=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter(we=>we.closable),ye=Math.round(n-((this.selectedHiddenChipsCount>0?M:0)+o+m+o));this.refreshChipDisplay({availableHorizontalChipElSpace:ye,chipContainerElGap:o,chipEls:P}),this.setVisibleAndHiddenChips(P)}}setFloatingEl(e){this.floatingEl=e,v(this)}setCompactSelectionDisplay({chipContainerElGap:e,chipContainerElWidth:t,inputWidth:i,largestSelectedIndicatorChipWidth:s}){let l=Math.round(s+e+i);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<l)&&(this.maxCompactBreakpoint=l),this.compactSelectionDisplay=t<this.maxCompactBreakpoint}setContainerEl(e){e&&(this.resizeObserver?.observe(e),this.listContainerEl=e,this.transitionEl=e)}setChipContainerEl(e){e&&this.resizeObserver?.observe(e),this.chipContainerEl=e}setReferenceEl(e){this.referenceEl=e,v(this)}setAllSelectedIndicatorChipEl(e){this.allSelectedIndicatorChipEl=e}setSelectedIndicatorChipEl(e){this.selectedIndicatorChipEl=e}setVisibleAndHiddenChips(e){let t=0;e.forEach(s=>{s.selected&&!s.classList.contains(c.chipInvisible)&&t++}),t!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=t);let i=this.getSelectedItems().length-t;i!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=i)}getMaxScrollerHeight(){let t=[...this.groupItems,...this.getItems(!0)].filter(a=>!D(a)),{maxItems:i}=this,s=0,l=0;return t.length>=i&&t.forEach(a=>{if(s<i){let o=this.calculateScrollerHeight(a);l+=o,s+=1}}),l}calculateScrollerHeight(e){if(!e)return 0;let t=e.getBoundingClientRect().height,i=`:scope > ${E}, :scope > ${H}`,s=Array.from(e.querySelectorAll(i)).reduce((l,a)=>l+a.getBoundingClientRect().height,0);return t-s}inputHandler(e){let t=e.target.value;this.filterText=t}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(e,t){!e||this.selectionMode==="single-persist"&&e.selected&&e.value===this.value&&!t||(this.isMulti()?(e.selected=t,this.updateAncestors(e),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach(i=>i.selected=i===e?t:!1),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput.value&&(this.textInput.value.value=C(e)),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(e){if(this.selectionMode!=="ancestors")return;let t=T(e),i=ge(e);e.selected?t.forEach(s=>{s.selected=!0}):(i.forEach(s=>s.selected=!1),[...t].forEach(s=>{V(s)||(s.selected=!1)}))}getFilteredItems(){return this.filterText===""?this.items:this.items.filter(e=>!D(e))}updateItems(){this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.groupData=this.getGroupData(),this.updateItemProps(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems()}updateItemProps(){this.getItems(!0).forEach(e=>{e.selectionMode=this.selectionMode,e.scale=this.scale}),this.groupItems.forEach(e=>e.scale=this.scale),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach((e,t,i)=>{t===0&&(e.afterEmptyGroup=!1);let s=i[t+1];s&&(s.afterEmptyGroup=e.children.length===0)})}getData(){return this.items.map(e=>({description:e.description,filterDisabled:e.filterDisabled,label:e.heading,metadata:e.metadata,shortHeading:e.shortHeading,textLabel:e.textLabel,el:e}))}getGroupData(){return this.groupItems.map(e=>({label:e.label,el:e}))}resetText(){this.textInput.value&&(this.textInput.value.value=""),this.filterText=""}getItems(e=!1){return Array.from(this.el.querySelectorAll(E)).filter(i=>e||!i.disabled)}getGroupItems(){return Array.from(this.el.querySelectorAll(H))}addCustomChip(e,t){let i=this.items.find(s=>(s.heading||s.textLabel)===e);if(i)this.toggleSelection(i,!0);else{let s=document.createElement("calcite-combobox-item");s.value=e,s.heading=e,this.el.prepend(s),this.updateItems(),this.toggleSelection(s,!0),this.open=!0,t&&this.setFocus()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){let e=this.selectedItems.length-1,t=this.activeChipIndex;this.activeChipIndex=t===-1?e:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){let e=this.selectedItems.length-1,t=this.activeChipIndex+1;t>e?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){let e=this.selectedItems[this.activeChipIndex]?.guid;(e?this.referenceEl.querySelector(`#${Ie}${e}`):null)?.setFocus()}scrollToActiveOrSelectedItem(e=!1){let t=e&&this.selectedItems?.length?this.selectedItems[0]:this.filteredItems[this.activeItemIndex];t&&t.scrollIntoView({block:"nearest"})}shiftActiveItemIndex(e){let{length:t}=this.filteredItems,i=(this.activeItemIndex+t+e)%t;this.updateActiveItemIndex(i),this.scrollToActiveOrSelectedItem()}updateActiveItemIndex(e){this.activeItemIndex=e;let t=null;this.filteredItems.forEach((i,s)=>{s===e?(i.active=!0,t=`${xe}${i.guid}`):i.active=!1}),this.activeDescendant=t,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!x(this.selectionMode)}comboboxFocusHandler(){this.disabled||this.textInput.value?.focus()}renderChips(){let{activeChipIndex:e,readOnly:t,scale:i,selectionMode:s,messages:l}=this;return this.selectedItems.map((a,o)=>{let n={[c.chip]:!0},h=[...T(a)].reverse(),p=C(a),$=[...h,a].map(y=>C(y)),m=s!=="ancestors"?p:$.join(" / ");return b(p,d`<calcite-chip .appearance=${t?"outline":"solid"} class=${r(n)} .closable=${!t} data-test-id=${`chip-${o}`} .icon=${a.icon} .iconFlipRtl=${a.iconFlipRtl} id=${(a.guid?`${Ie}${a.guid}`:null)??u} .label=${m} .messageOverrides=${{dismissLabel:l.removeTag}} @focusin=${()=>this.activeChipIndex=o} @calciteChipClose=${()=>this.calciteChipCloseHandler(a)} .scale=${i} .selected=${a.selected} .tabIndex=${e===o?0:-1} title=${m??u} .value=${a.value}>${m}</calcite-chip>`)})}renderAllSelectedIndicatorChip(){let{compactSelectionDisplay:e,scale:t,selectedVisibleChipsCount:i,setAllSelectedIndicatorChipEl:s}=this,l=this.messages.allSelected;return d`<calcite-chip class=${r({chip:!0,[c.chipInvisible]:!(this.isAllSelected()&&!i&&!e)})} .label=${l} .scale=${t} title=${l??u} value ${g(s)}>${l}</calcite-chip>`}renderAllSelectedIndicatorChipCompact(){let{compactSelectionDisplay:e,scale:t,selectedVisibleChipsCount:i}=this,s=this.messages.all||"All";return d`<calcite-chip class=${r({chip:!0,[c.chipInvisible]:!(this.isAllSelected()&&!i&&e)})} .label=${s} .scale=${t} title=${s} value>${s}</calcite-chip>`}renderSelectedIndicatorChip(){let{compactSelectionDisplay:e,selectionDisplay:t,getSelectedItems:i,scale:s,selectedHiddenChipsCount:l,selectedVisibleChipsCount:a,setSelectedIndicatorChipEl:o}=this,n,h;if(e)n=!0;else if(t==="single"){let p=i().length;this.isAllSelected()?n=!0:p>0?n=!1:n=!0,h=`${p} ${this.messages.selected}`}else t==="fit"&&(n=!!(this.isAllSelected()&&a===0||l===0),h=a>0?`+${l}`:`${l} ${this.messages.selected}`);return d`<calcite-chip class=${r({chip:!0,[c.chipInvisible]:n})} .label=${h} .scale=${s} title=${h??u} value ${g(o)}>${h}</calcite-chip>`}renderSelectedIndicatorChipCompact(){let{compactSelectionDisplay:e,selectionDisplay:t,getSelectedItems:i,scale:s,selectedHiddenChipsCount:l}=this,a,o;if(e){let n=i().length;this.isAllSelected()?a=!0:t==="fit"?(a=!(l>0),o=`${l||0}`):t==="single"&&(a=!(n>0),o=`${n}`)}else a=!0;return d`<calcite-chip class=${r({chip:!0,[c.chipInvisible]:a})} .label=${o} .scale=${s} title=${o??u} value>${o}</calcite-chip>`}renderInput(){let{guid:e,disabled:t,placeholder:i,selectionMode:s,selectedItems:l,open:a}=this,o=x(s),n=l[0],h=!a&&o&&!!n&&!this.filterText;return d`<span class=${r({"input-wrap":!0,"input-wrap--single":o})}>${h&&b("label",d`<span class=${r({label:!0,"label--icon":!!n?.icon})}>${C(n)}</span>`)||""}${b("input",d`<input aria-activedescendant=${this.activeDescendant??u} aria-controls=${`${O}${e}`} aria-errormessage=${F.validationMessage} aria-owns=${`${O}${e}`} aria-autocomplete=list .ariaExpanded=${a} aria-haspopup=listbox .ariaInvalid=${this.status==="invalid"} .ariaLabel=${oe(this)} class=${r({[c.input]:!0,"input--single":!0,[c.inputHidden]:h,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon})} data-test-id=input .disabled=${t} .id=${`${Ce}${e}`} @focus=${this.comboboxFocusHandler} @input=${this.inputHandler} placeholder=${i??u} .readOnly=${this.readOnly} role=combobox .tabIndex=${this.activeChipIndex===-1?0:-1} type=text .value=${L(this.filterText??"")} ${g(this.textInput)}>`)}</span>`}renderListBoxOptions(){return this.filteredItems.map(e=>d`<li .ariaLabel=${e.label} .ariaSelected=${e.selected} id=${(e.guid?`${xe}${e.guid}`:null)??u} role=option tabindex=-1>${e.heading||e.textLabel}</li>`)}renderFloatingUIContainer(){let{setFloatingEl:e,setContainerEl:t,open:i}=this,s={[c.listContainer]:!0,[A.animation]:!0,[A.animationActive]:i};return d`<div aria-hidden=true class=${r(c.floatingUIContainer)} ${g(e)}><div class=${r(s)} ${g(t)}><ul class=${r({list:!0,"list--hide":!i})}><slot></slot></ul></div></div>`}renderSelectedOrPlaceholderIcon(){let{open:e,placeholderIcon:t,placeholderIconFlipRtl:i,selectedItems:s}=this,l=s[0],a=l?.icon,o=t&&(e||!l);return this.showingInlineIcon&&b("selected-placeholder-icon",d`<span class="icon-start"><calcite-icon class=${r({[c.selectedIcon]:!o,[c.placeholderIcon]:o})} .flipRtl=${o?i:l.iconFlipRtl} .icon=${o?t:a} .scale=${k(this.scale)}></calcite-icon></span>`)||""}renderChevronIcon(){let{open:e}=this;return b("chevron",d`<span class="icon-end"><calcite-icon class=${r(c.icon)} .icon=${e?"chevron-up":"chevron-down"} .scale=${k(this.scale)}></calcite-icon></span>`)}render(){let{selectionDisplay:e,guid:t,label:i,open:s,readOnly:l}=this,a=x(this.selectionMode),o=e==="all",n=e==="single",h=!a&&e==="fit",p=!this.clearDisabled&&this.value?.length>0;return X({disabled:this.disabled,children:d`<div aria-live=polite class=${r({[c.wrapper]:!0,[c.wrapperSingle]:a||!this.selectedItems.length,[c.wrapperActive]:s})} @click=${this.clickHandler} @keydown=${this.keyDownHandler} ${g(this.setReferenceEl)}>${this.renderSelectedOrPlaceholderIcon()}${b("grid",d`<div class=${r({"grid-input":!0,[c.selectionDisplayFit]:h,[c.selectionDisplaySingle]:n})} ${g(this.setChipContainerEl)}>${!a&&!n&&this.renderChips()||""}${!a&&!o&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()]||""}<label class=${r(c.screenReadersOnly)} .htmlFor=${`${Ce}${t}`} .id=${`${ve}${t}`}>${i}</label>${this.renderInput()}</div>`)}${!l&&p?b("close-button",be({disabled:this.disabled,label:this.messages.clear,ref:this.closeButtonEl,scale:this.scale})):null}${!l&&this.renderChevronIcon()||""}</div><ul aria-labelledby=${`${ve}${t}`} aria-multiselectable=true class=${r(c.screenReadersOnly)} .id=${`${O}${t}`} role=listbox tabindex=-1>${this.renderListBoxOptions()}</ul>${this.renderFloatingUIContainer()}${de({component:this})}${this.validationMessage&&this.status==="invalid"?pe({icon:this.validationIcon,id:F.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};W("calcite-combobox",z);export{z as Combobox};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as u}from"./MAES3XM4.js";import{a as d}from"./DE4EAADS.js";import"./LBGRMWS3.js";import{n as e}from"./D2QE33SH.js";import{d as h}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import"./KDES446E.js";import{B as n,H as c,e as a,f as i,v as l,w as o,x as r}from"./4XWWQIVX.js";var m={itemWrapper:"item-wrapper"},p={validationMessage:"radioButtonGroupValidationMessage"},f=a`:host{display:flex;flex-direction:column}:host>.item-wrapper{display:flex;max-inline-size:100vw}:host([layout=horizontal])>.item-wrapper{flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s])>.item-wrapper{column-gap:1rem}:host([layout=horizontal][scale=m])>.item-wrapper{column-gap:1.25rem}:host([layout=horizontal][scale=l])>.item-wrapper{column-gap:1.5rem}:host([layout=vertical])>.item-wrapper{flex-direction:column;inline-size:fit-content}:host([scale=s]) calcite-input-message{--calcite-input-message-spacing-value: calc(var(--calcite-spacing-xxs) * -1)}:host([scale=m]) calcite-input-message{--calcite-input-message-spacing-value: calc(var(--calcite-spacing-sm) * -1)}:host([scale=l]) calcite-input-message{--calcite-input-message-spacing-value: calc(var(--calcite-spacing-md) * -1)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends o{constructor(){super(),this.mutationObserver=d("mutation",()=>this.passPropsToRadioButtons()),this.radioButtons=[],this.disabled=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.selectedItem=null,this.status="idle",this.calciteRadioButtonGroupChange=l({cancelable:!1}),this.listen("calciteRadioButtonChange",this.radioButtonChangeHandler)}static{this.properties={radioButtons:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedItem:[0,{attribute:!1}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:n}],validationMessage:1}}static{this.styles=f}async setFocus(){await h(this),this.selectedItem&&!this.selectedItem.disabled&&e(this.selectedItem),this.radioButtons.length>0&&e(this.getFocusableRadioButton())}connectedCallback(){super.connectedCallback(),this.passPropsToRadioButtons(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}willUpdate(t){(t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||t.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.passPropsToRadioButtons()}loaded(){this.passPropsToRadioButtons()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}passPropsToRadioButtons(){this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).reverse().find(t=>t.checked)||null,this.radioButtons.length>0&&this.radioButtons.forEach(t=>{this.hasUpdated&&(t.disabled=this.disabled||t.disabled),t.name=this.name,t.required=this.required,t.scale=this.scale})}getFocusableRadioButton(){return this.radioButtons.find(t=>!t.disabled)??null}radioButtonChangeHandler(t){this.selectedItem=t.target,this.calciteRadioButtonGroupChange.emit()}render(){return this.el.role="radiogroup",i`<div aria-errormessage=${p.validationMessage} .ariaInvalid=${this.status==="invalid"} class=${r(m.itemWrapper)}><slot></slot></div>${this.validationMessage&&this.status==="invalid"?u({icon:this.validationIcon,id:p.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};c("calcite-radio-button-group",s);export{s as RadioButtonGroup};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{p as e}from"./D2QE33SH.js";import"./KDES446E.js";import{A as n,B as a,H as l,e as c,f as i,w as o}from"./4XWWQIVX.js";var r={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},u=c`:host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-block-start:var(--calcite-input-message-spacing, var(--calcite-input-message-spacing-value, var(--calcite-spacing-xxs)))}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-inline-end:var(--calcite-spacing-sm)}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-danger)))}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-warning)))}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-success)))}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-brand)))}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends o{constructor(){super(...arguments),this.iconFlipRtl=!1,this.scale="m",this.status="idle"}static{this.properties={icon:[3,{reflect:!0,converter:a}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}]}}static{this.styles=u}connectedCallback(){super.connectedCallback(),this.requestedIcon=e(r,this.icon,this.status)}willUpdate(t){(t.has("status")&&(this.hasUpdated||this.status!=="idle")||t.has("icon"))&&(this.requestedIcon=e(r,this.icon,this.status))}render(){let t=this.el.hidden;return n(this.el,"calcite-hydrated-hidden",t),i`${this.renderIcon(this.requestedIcon)}<slot></slot>`}renderIcon(t){if(t)return i`<calcite-icon class="calcite-input-message-icon" .flipRtl=${this.iconFlipRtl} .icon=${t} scale=s></calcite-icon>`}};l("calcite-input-message",s);export{s as InputMessage};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as pe,d as B,e as ue}from"./QR6AKPMA.js";import{a as le}from"./W6DRMKIU.js";import{A as ce,B as N,C as he,D as de,a as S,b as n,c as g,d as T,e as x,f as p,g as E,h as b,i as A,j as K,l as I,m as H,q as O,r as y,t as ne,u as re,w as U,x as j,y as W,z as D}from"./RAZ2GT6L.js";import"./2E6KETTZ.js";import{a as ie,b as oe}from"./DPTHNGNY.js";import{a as F}from"./PIBL3SAQ.js";import{d as L}from"./AZU7ZRDQ.js";import{a as se}from"./WRCHHUR5.js";import{a as Z}from"./DE4EAADS.js";import{a as ae}from"./YXQCC3F5.js";import{b as v}from"./LBGRMWS3.js";import{e as Q,n as ee,x as z}from"./D2QE33SH.js";import{d as te}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import"./KDES446E.js";import{H as J,e as G,f as u,j as w,v as M,w as Y,x as c,y as $}from"./4XWWQIVX.js";var Ae=G`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal);inline-size:var(--calcite-internal-color-picker-min-width);min-inline-size:var(--calcite-internal-color-picker-min-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-color-picker-min-width: 200px;--calcite-color-picker-spacing: 8px}:host([scale=s]) .saved-colors{gap:.25rem;grid-template-columns:repeat(auto-fill,20px)}:host([scale=m]){--calcite-internal-color-picker-min-width: 240px;--calcite-color-picker-spacing: 12px}:host([scale=l]){--calcite-internal-color-picker-min-width: 304px;--calcite-color-picker-spacing: 16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill,32px)}:host([scale=l]) .control-section{display:flex;flex-direction:column;flex-wrap:wrap;align-items:baseline}:host([scale=l]) .color-hex-options{inline-size:100%;display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:flex;flex-direction:column;block-size:min-content;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:6px}.hex-and-channels-group{display:flex;inline-size:100%;flex-direction:column;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex}.channel{flex-grow:1}.channel[data-channel-index="3"]{margin-inline-start:-1px;min-inline-size:81px}:host([scale=s]) .channel[data-channel-index="3"]{min-inline-size:68px}:host([scale=l]) .channel[data-channel-index="3"]{min-inline-size:88px}.saved-colors{display:grid;gap:.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill,24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,Ce=16,_=class extends Y{constructor(){super(),this._color=g,this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=U.HEX,this.resizeObserver=Z("resize",e=>this.resizeCanvas(e)),this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this._valueWasSet=!1,this.channelMode="rgb",this.channels=this.toChannels(g),this.staticDimensions=A.m,this.savedColors=[],this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.disabled=!1,this.format="auto",this.hexDisabled=!1,this.messages=ae({blocking:!0}),this.savedDisabled=!1,this.scale="m",this.calciteColorPickerChange=M({cancelable:!1}),this.calciteColorPickerInput=M({cancelable:!1}),this.captureColorFieldColor=(e,t,i=!0)=>{let{width:o,height:a}=this.dynamicDimensions.colorField,s=Math.round(p.s/o*e),l=Math.round(p.v/a*(a-t));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(s).value(l),i)},this.drawColorControls=L((e="all")=>{(e==="all"||e==="color-field")&&this.colorFieldRenderingContext&&this.drawColorField(),(e==="all"||e==="hue-slider")&&this.hueSliderRenderingContext&&this.drawHueSlider(),this.alphaChannel&&(e==="all"||e==="opacity-slider")&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()},Ce),this.globalPointerMoveHandler=e=>{let{activeCanvasInfo:t,el:i}=this;if(!i.isConnected||!t)return;let{context:o,bounds:a}=t,s,l,{clientX:r,clientY:h}=e;o.canvas.matches(":hover")?(s=r-a.x,l=h-a.y):(r<a.x+a.width&&r>a.x?s=r-a.x:r<a.x?s=0:s=a.width,h<a.y+a.height&&h>a.y?l=h-a.y:h<a.y?l=0:l=a.height),o===this.colorFieldRenderingContext?this.captureColorFieldColor(s,l,!1):o===this.hueSliderRenderingContext?this.captureHueSliderColor(s):o===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(s)},this.globalPointerUpHandler=e=>{if(!z(e))return;let t=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),t&&this.calciteColorPickerChange.emit()},this.resizeCanvas=L(e=>{if(!this.hasUpdated)return;let[t]=e,i=Math.floor(t.contentBoxSize[0].inlineSize);this.dynamicDimensions.colorField.width!==i&&(this.updateDynamicDimensions(i),this.updateCanvasSize(),this.drawColorControls())},Ce),this.updateDynamicDimensions=e=>{let t={width:he(e,this.staticDimensions,this.alphaChannel),height:this.staticDimensions.slider.height};this.dynamicDimensions={colorField:de(e),slider:t}},this.listen("keydown",this.handleChannelKeyUpOrDown,{capture:!0}),this.listen("keyup",this.handleChannelKeyUpOrDown,{capture:!0})}static{this.properties={channelMode:[16,{state:!0}],channels:[16,{state:!0}],colorFieldScopeLeft:[16,{state:!0}],colorFieldScopeTop:[16,{state:!0}],staticDimensions:[16,{state:!0}],hueScopeLeft:[16,{state:!0}],opacityScopeLeft:[16,{state:!0}],savedColors:[16,{state:!0}],scopeOrientation:[16,{state:!0}],allowEmpty:[7,{reflect:!0,type:Boolean}],alphaChannel:[5,{type:Boolean}],channelsDisabled:[5,{type:Boolean}],clearable:[7,{reflect:!0,type:Boolean}],color:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],format:[3,{reflect:!0}],hexDisabled:[5,{type:Boolean}],messageOverrides:[0,{attribute:!1}],numberingSystem:[3,{reflect:!0}],savedDisabled:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],storageId:[3,{reflect:!0}],value:1}}static{this.styles=Ae}get baseColorFieldColor(){return this.color||this.previousColor||g}get effectiveSliderWidth(){return this.dynamicDimensions.slider.width}get color(){return this._color}set color(e){let t=this._color;this._color=e,this.handleColorChange(e,t)}get value(){return this._value}set value(e){let t=this._value;this._value=e,this.handleValueChange(e,t),this._valueWasSet=!0}async setFocus(){await te(this),ee(this.el)}connectedCallback(){super.connectedCallback(),this.observeResize()}async load(){this._valueWasSet||(this._value??=O(y(g,this.alphaChannel))),this.handleAllowEmptyOrClearableChange();let{isClearable:e,color:t,format:i,value:o}=this,a=e&&!o,s=j(o),l=a||i==="auto"&&s||i===s,r=a?null:l?S(o):t;l||this.showIncompatibleColorWarning(o,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateStaticDimensions(this.scale),this.updateDynamicDimensions(A[this.scale].minWidth);let h=`${T}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h)))}willUpdate(e){(e.has("allowEmpty")&&(this.hasUpdated||this.allowEmpty!==!1)||e.has("clearable")&&(this.hasUpdated||this.clearable!==!1))&&this.handleAllowEmptyOrClearableChange(),e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)&&this.handleAlphaChannelChange(this.alphaChannel),this.hasUpdated&&(e.has("alphaChannel")&&this.alphaChannel!==!1||e.has("staticDimensions")&&this.staticDimensions!==A.m)&&this.handleAlphaChannelDimensionsChange(),(e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)||e.has("format")&&(this.hasUpdated||this.format!=="auto"))&&this.handleFormatOrAlphaChannelChange(),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handleScaleChange(this.scale)}updated(){ie(this)}loaded(){this.handleAlphaChannelDimensionsChange()}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),this.resizeObserver?.disconnect()}observeResize(){this.resizeObserver?.observe(this.el)}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(e){let{format:t}=this;e&&t!=="auto"&&!D(t)&&(console.warn(`ignoring alphaChannel as the current format (${t}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.drawColorControls()}handleColorChange(e,t){this.drawColorControls(),this.updateChannelsFromColor(e),this.previousColor=t}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(e="m"){this.updateStaticDimensions(e),this.updateCanvasSize(),this.drawColorControls()}handleValueChange(e,t){let{isClearable:i,format:o}=this,a=!i||e,s=!1;if(a){let d=j(e);if(!d||o!=="auto"&&d!==o){this.showIncompatibleColorWarning(e,o),this._value=t;return}s=this.mode!==d,this.setMode(d,this.internalColorUpdateContext===null)}let l=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial")return;if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit(),l||this.calciteColorPickerChange.emit();return}let r=i&&!e?null:S(e!=null&&typeof e=="object"&&D(this.mode)?re(e):e),h=!W(r,this.color);(s||h)&&this.internalColorSet(r,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css"))||this.internalColorUpdateContext==="internal","internal")}handleTabActivate(e){this.channelMode=e.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)}handleColorFieldScopeKeyDown(e){let{key:t}=e,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[t]&&(e.preventDefault(),this.scopeOrientation=t==="ArrowDown"||t==="ArrowUp"?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[t].x||0,this.colorFieldScopeTop+i[t].y||0,!1))}handleHueScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,o={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(o[i]){e.preventDefault();let a=o[i]*t,s=this.baseColorFieldColor.hue(),l=this.baseColorFieldColor.hue(s+a);this.internalColorSet(l,!1)}}handleHexInputChange(e){e.stopPropagation();let{isClearable:t,color:i}=this,a=e.target.value;if(t&&!a){this.internalColorSet(null);return}let s=i&&O(y(i,D(this.mode)));a!==s&&this.internalColorSet(S(a))}handleSavedColorSelect(e){let t=e.currentTarget;this.internalColorSet(S(t.color))}handleChannelInput(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=i===3?b.max:this.channelMode==="rgb"?x[Object.keys(x)[i]]:p[Object.keys(p)[i]],s;if(!t.value)s="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;else{let r=Number(t.value)+this.shiftKeyChannelAdjustment;s=pe(r,0,a).toString()}t.value=s,s!==""&&this.shiftKeyChannelAdjustment!==0?this.handleChannelChange(e):s!==""&&this.handleChannelChange(e)}handleChannelBlur(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),o=[...this.channels];!t.value&&!this.isClearable&&(t.value=o[i]?.toString())}handleChannelFocus(e){e.currentTarget.selectText()}handleChannelKeyUpOrDown(e){this.shiftKeyChannelAdjustment=0;let{key:t}=e;if(t!=="ArrowUp"&&t!=="ArrowDown"||!e.composedPath().some(a=>a.classList?.contains(n.channel)))return;let{shiftKey:i}=e;if(e.preventDefault(),!this.color){this.internalColorSet(this.previousColor),e.stopPropagation();return}let o=9;this.shiftKeyChannelAdjustment=t==="ArrowUp"&&i?o:t==="ArrowDown"&&i?-9:0,t==="ArrowUp"&&(this.upOrDownArrowKeyTracker="up"),t==="ArrowDown"&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(e){return this.channelMode==="rgb"?x[Object.keys(x)[e]]:p[Object.keys(p)[e]]}handleChannelChange(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),o=[...this.channels];if(this.isClearable&&!t.value){this.channels=[null,null,null,null],this.internalColorSet(null);return}let s=i===3;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(t.value=this.upOrDownArrowKeyTracker==="up"?(o[i]+1<=this.getChannelInputLimit(i)?o[i]+1:this.getChannelInputLimit(i)).toString():(o[i]-1>=0?o[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);let l=t.value?Number(t.value):o[i];o[i]=s?H(l):l,this.updateColorFromChannels(o)}handleSavedColorKeyDown(e){se(e.key)&&(e.preventDefault(),this.handleSavedColorSelect(e))}handleColorFieldPointerDown(e){this.handleCanvasControlPointerDown(e,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)}focusScope(e){requestAnimationFrame(()=>{e.focus()})}handleHueSliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)}handleOpacitySliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)}handleCanvasControlPointerDown(e,t,i,o){z(e)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:t,bounds:t.canvas.getBoundingClientRect()},i.call(this,e.offsetX,e.offsetY),this.focusScope(o))}storeColorFieldScope(e){this.colorFieldScopeNode=e}storeHueScope(e){this.hueScopeNode=e}handleKeyDown(e){e.key==="Enter"&&e.preventDefault()}showIncompatibleColorWarning(e,t){console.warn(`ignoring color value (${e}) as it is not compatible with the current format (${t})`)}setMode(e,t=!0){let i=e==="auto"?this.mode:e;this.mode=this.ensureCompatibleMode(i,t)}ensureCompatibleMode(e,t){let{alphaChannel:i}=this,o=D(e);if(i&&!o){let a=ce(e);return t&&console.warn(`setting format to (${a}) as the provided one (${e}) does not support alpha`),a}if(!i&&o){let a=N(e);return t&&console.warn(`setting format to (${a}) as the provided one (${e}) does not support alpha`),a}return e}captureHueSliderColor(e){let t=E/this.effectiveSliderWidth*e;this.internalColorSet(this.baseColorFieldColor.hue(t),!1)}captureOpacitySliderValue(e){let t=H(b.max/this.effectiveSliderWidth*e);this.internalColorSet(this.baseColorFieldColor.alpha(t),!1)}internalColorSet(e,t=!0,i="user-interaction"){t&&W(e,this.color)||(this.internalColorUpdateContext=i,this.color=e,this.value=this.toValue(e),this.internalColorUpdateContext=null)}toValue(e,t=this.mode){if(!e)return null;if(t.includes("hex")){let a=t===U.HEXA;return O(y(e.round(),a),a)}if(t.includes("-css")){let a=e[t.replace("-css","").replace("a","")]().round().string();if((t.endsWith("a")||t.endsWith("a-css"))&&e.alpha()===1){let l=a.slice(0,3),r=a.slice(4,-1);return`${l}a(${r}, ${e.alpha()})`}return a}let o=e[N(t)]().round().object();return t.endsWith("a")?ne(o):o}getSliderCapSpacing(){let{staticDimensions:{slider:{height:e},thumb:{radius:t}}}=this;return t*2-e}updateStaticDimensions(e="m"){this.staticDimensions=A[e]}deleteColor(){let e=y(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(e)>-1))return;let i=this.savedColors.filter(a=>a!==e);this.savedColors=i;let o=`${T}${this.storageId}`;this.storageId&&localStorage.setItem(o,JSON.stringify(i))}saveColor(){let e=y(this.color,this.alphaChannel);if(this.savedColors.indexOf(e)>-1)return;let i=[...this.savedColors,e];this.savedColors=i;let o=`${T}${this.storageId}`;this.storageId&&localStorage.setItem(o,JSON.stringify(i))}drawColorField(){let e=this.colorFieldRenderingContext,{width:t,height:i}=this.dynamicDimensions.colorField;e.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),e.fillRect(0,0,t,i);let o=e.createLinearGradient(0,0,t,0);o.addColorStop(0,"rgba(255,255,255,1)"),o.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=o,e.fillRect(0,0,t,i);let a=e.createLinearGradient(0,0,0,i);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),e.fillStyle=a,e.fillRect(0,0,t,i),this.drawActiveColorFieldColor()}setCanvasContextSize(e,{height:t,width:i}){if(!e)return;let o=window.devicePixelRatio||1;e.width=i*o,e.height=t*o,e.style.height=`${t}px`,e.style.width=`${i}px`,e.getContext("2d").scale(o,o)}initColorField(e){e&&(this.colorFieldRenderingContext=e.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls())}initHueSlider(e){e&&(this.hueSliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider())}initOpacitySlider(e){e&&(this.opacitySliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())}updateCanvasSize(e="all"){let{dynamicDimensions:t,staticDimensions:i}=this;(e==="all"||e==="color-field")&&this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,t.colorField);let o={width:this.effectiveSliderWidth,height:i.slider.height+(i.thumb.radius-t.slider.height/2)*2};(e==="all"||e==="hue-slider")&&this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,o),(e==="all"||e==="opacity-slider")&&this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,o)}drawActiveColorFieldColor(){let{color:e}=this;if(!e)return;let t=e.hsv(),{staticDimensions:{thumb:{radius:i}}}=this,{width:o,height:a}=this.dynamicDimensions.colorField,s=t.saturationv()/(p.s/o),l=a-t.value()/(p.v/a);requestAnimationFrame(()=>{this.colorFieldScopeLeft=s,this.colorFieldScopeTop=l}),this.drawThumb(this.colorFieldRenderingContext,i,s,l,t,!1)}drawThumb(e,t,i,o,a,s){let r=2*Math.PI,h=1;if(e.beginPath(),e.arc(i,o,t,0,r),e.fillStyle="#fff",e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=h,e.stroke(),s&&a.alpha()<1){let C=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.beginPath(),e.arc(i,o,t-3,0,r),e.fillStyle=C,e.fill()}e.globalCompositeOperation="source-atop",e.beginPath(),e.arc(i,o,t-3,0,r);let d=s?a.alpha():1;e.fillStyle=a.rgb().alpha(d).string(),e.fill(),e.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){let{color:e}=this;if(!e)return;let t=e.hsv().saturationv(100).value(100),{staticDimensions:{thumb:{radius:i}}}=this,o=this.effectiveSliderWidth,a=t.hue()/(E/o),s=i,l=this.getSliderBoundX(a,o,i);requestAnimationFrame(()=>{this.hueScopeLeft=l}),this.drawThumb(this.hueSliderRenderingContext,i,l,s,t,!1)}drawHueSlider(){let e=this.hueSliderRenderingContext,{staticDimensions:{slider:{height:t},thumb:{radius:i}}}=this,o=0,a=i-t/2,s=this.effectiveSliderWidth,l=e.createLinearGradient(0,0,s,0),r=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(r.length-1),d=0;r.forEach(C=>{l.addColorStop(d,S(C).string()),d+=h}),e.clearRect(0,0,s,t+this.getSliderCapSpacing()*2),this.drawSliderPath(e,t,s,o,a),e.fillStyle=l,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){let e=this.opacitySliderRenderingContext,{baseColorFieldColor:t,staticDimensions:{slider:{height:i},thumb:{radius:o}}}=this,a=0,s=o-i/2,l=this.effectiveSliderWidth;e.clearRect(0,0,l,i+this.getSliderCapSpacing()*2);let r=e.createLinearGradient(0,s,l,0),h=t.rgb().alpha(0),d=t.rgb().alpha(.5),C=t.rgb().alpha(1);r.addColorStop(0,h.string()),r.addColorStop(.5,d.string()),r.addColorStop(1,C.string()),this.drawSliderPath(e,i,l,a,s);let f=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.fillStyle=f,e.fill(),e.fillStyle=r,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(e,t,i,o,a){let s=t/2+1;e.beginPath(),e.moveTo(o+s,a),e.lineTo(o+i-s,a),e.quadraticCurveTo(o+i,a,o+i,a+s),e.lineTo(o+i,a+t-s),e.quadraticCurveTo(o+i,a+t,o+i-s,a+t),e.lineTo(o+s,a+t),e.quadraticCurveTo(o,a+t,o,a+t-s),e.lineTo(o,a+s),e.quadraticCurveTo(o,a,o+s,a),e.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;let e=document.createElement("canvas");e.width=10,e.height=10;let t=e.getContext("2d");return t.fillStyle="#ccc",t.fillRect(0,0,10,10),t.fillStyle="#fff",t.fillRect(0,0,5,5),t.fillRect(5,5,5,5),this.checkerPattern=e,e}drawActiveOpacitySliderColor(){let{color:e}=this;if(!e)return;let t=e,{staticDimensions:{thumb:{radius:i}}}=this,o=this.effectiveSliderWidth,a=I(t.alpha())/(b.max/o),s=i,l=this.getSliderBoundX(a,o,i);requestAnimationFrame(()=>{this.opacityScopeLeft=l}),this.drawThumb(this.opacitySliderRenderingContext,i,l,s,t,!0)}getSliderBoundX(e,t,i){let o=ue(e,t,i);return o===0?e:o===-1?B(e,0,t,i,i*2):B(e,0,t,t-i*2,t-i)}storeOpacityScope(e){this.opacityScopeNode=e}handleOpacityScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,o={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(o[i]){e.preventDefault();let a=o[i]*t,s=this.baseColorFieldColor.alpha(),l=this.baseColorFieldColor.alpha(s+a);this.internalColorSet(l,!1)}}updateColorFromChannels(e){this.internalColorSet(S(e,this.channelMode))}updateChannelsFromColor(e){this.channels=e?this.toChannels(e):[null,null,null,null]}toChannels(e){let{channelMode:t}=this,i=e[t]().array().map((o,a)=>a===3?o:Math.floor(o));return i.length===3&&i.push(1),i}getAdjustedScopePosition(e,t){return[e-K/2,t-K/2]}render(){let{channelsDisabled:e,color:t,colorFieldScopeLeft:i,colorFieldScopeTop:o,staticDimensions:{thumb:{radius:a}},hexDisabled:s,hueScopeLeft:l,messages:r,alphaChannel:h,opacityScopeLeft:d,savedColors:C,savedDisabled:f,scale:m,scopeOrientation:k}=this,V=this.effectiveSliderWidth,X=t?y(t,h):null,fe=a,me=l??V*g.hue()/p.h,ge=a,ve=d??V*I(g.alpha())/b.max,q=t===void 0,P=k==="vertical",[Se,be]=this.getAdjustedScopePosition(i,o),[ye,we]=this.getAdjustedScopePosition(me,fe),[$e,xe]=this.getAdjustedScopePosition(ve,ge);return oe({disabled:this.disabled,children:u`<div class=${c(n.container)}><div class=${c(n.controlAndScope)}><canvas class=${c(n.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${v(this.initColorField)}></canvas><div .ariaLabel=${P?r.value:r.saturation} .ariaValueMax=${P?p.v:p.s} aria-valuemin=0 .ariaValueNow=${(P?t?.saturationv():t?.value())||"0"} class=${c({[n.scope]:!0,[n.colorFieldScope]:!0})} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${$({top:`${be||0}px`,left:`${Se||0}px`})} tabindex=0 ${v(this.storeColorFieldScope)}></div></div><div class=${c(n.previewAndSliders)}><calcite-color-picker-swatch class=${c(n.preview)} .color=${X} .scale=${this.alphaChannel?"l":this.scale}></calcite-color-picker-swatch><div class=${c(n.sliders)}><div class=${c(n.controlAndScope)}><canvas class=${c({[n.slider]:!0,[n.hueSlider]:!0})} @pointerdown=${this.handleHueSliderPointerDown} ${v(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue()||g.round().hue()} class=${c({[n.scope]:!0,[n.hueScope]:!0})} @keydown=${this.handleHueScopeKeyDown} role=slider style=${$({top:`${we}px`,left:`${ye}px`})} tabindex=0 ${v(this.storeHueScope)}></div></div>${h?u`<div class=${c(n.controlAndScope)}><canvas class=${c({[n.slider]:!0,[n.opacitySlider]:!0})} @pointerdown=${this.handleOpacitySliderPointerDown} ${v(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${b.max} .ariaValueMin=${b.min} .ariaValueNow=${(t||g).round().alpha()} class=${c({[n.scope]:!0,[n.opacityScope]:!0})} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${$({top:`${xe}px`,left:`${$e}px`})} tabindex=0 ${v(this.storeOpacityScope)}></div></div>`:null}</div></div>${s&&e?null:u`<div class=${c({[n.controlSection]:!0,[n.section]:!0})}><div class=${c(n.hexAndChannelsGroup)}>${s?null:u`<div class=${c(n.hexOptions)}><calcite-color-picker-hex-input .allowEmpty=${this.isClearable} .alphaChannel=${h} class=${c(n.control)} .messages=${r} .numberingSystem=${this.numberingSystem} @calciteColorPickerHexInputChange=${this.handleHexInputChange} .scale=${m} .value=${X}></calcite-color-picker-hex-input></div>`}${e?null:u`<calcite-tabs class=${c({[n.colorModeContainer]:!0,[n.splitSection]:!0})} .scale=${m==="l"?"m":"s"}><calcite-tab-nav slot=title-group>${this.renderChannelsTabTitle("rgb")}${this.renderChannelsTabTitle("hsv")}</calcite-tab-nav>${this.renderChannelsTab("rgb")}${this.renderChannelsTab("hsv")}</calcite-tabs>`}</div></div>`}${f?null:u`<div class=${c({[n.savedColorsSection]:!0,[n.section]:!0})}><div class=${c(n.header)}><label>${r.saved}</label><div class=${c(n.savedColorsButtons)}><calcite-button appearance=transparent class=${c(n.deleteColor)} .disabled=${q} icon-start=minus kind=neutral .label=${r.deleteColor} @click=${this.deleteColor} .scale=${m} type=button></calcite-button><calcite-button appearance=transparent class=${c(n.saveColor)} .disabled=${q} icon-start=plus kind=neutral .label=${r.saveColor} @click=${this.saveColor} .scale=${m} type=button></calcite-button></div></div>${C.length>0?u`<div class=${c(n.savedColors)}>${le(C,R=>R,R=>u`<calcite-color-picker-swatch class=${c(n.savedColor)} .color=${R} @click=${this.handleSavedColorSelect} @keydown=${this.handleSavedColorKeyDown} .scale=${m} tabindex=0></calcite-color-picker-swatch>`)}</div>`:null}</div>`}</div>`})}renderChannelsTabTitle(e){let{channelMode:t,messages:i}=this,o=e===t,a=e==="rgb"?i.rgb:i.hsv;return F(e,u`<calcite-tab-title class=${c(n.colorMode)} data-color-mode=${e??w} @calciteTabsActivate=${this.handleTabActivate} .selected=${o}>${a}</calcite-tab-title>`)}renderChannelsTab(e){let{isClearable:t,channelMode:i,channels:o,messages:a,alphaChannel:s}=this,l=e===i,h=e==="rgb"?[a.red,a.green,a.blue]:[a.hue,a.saturation,a.value],d=Q(this.el),C=s?o:o.slice(0,3);return F(e,u`<calcite-tab class=${c(n.control)} .selected=${l}><div class=${c(n.channels)} dir=ltr>${C.map((f,m)=>{let k=m===3;return k&&(f=t&&!f?f:I(f)),this.renderChannel(f,m,h[m],d,k?"%":"")})}</div></calcite-tab>`)}renderChannel(e,t,i,o,a){return F(t,u`<calcite-input-number class=${c(n.channel)} data-channel-index=${t??w} dir=${o??w} .label=${i} lang=${this.messages._lang??w} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.handleKeyDown} @calciteInputNumberChange=${this.handleChannelChange} @calciteInputNumberInput=${this.handleChannelInput} @calciteInternalInputNumberBlur=${this.handleChannelBlur} @calciteInternalInputNumberFocus=${this.handleChannelFocus} .scale=${this.scale==="l"?"m":"s"} style=${$({marginLeft:t>0&&!(this.scale==="s"&&this.alphaChannel&&t===3)?"-1px":""})} .suffixText=${a} .value=${e?.toString()}></calcite-input-number>`)}};J("calcite-color-picker",_);export{_ as ColorPicker};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as R}from"./LQW6JPTN.js";import{k as c}from"./MI2IRYJT.js";import{a as B}from"./MAES3XM4.js";import{c as T,e as W,h as F}from"./WDB5EMDW.js";import{c as H,d as I,e as M}from"./NYCE3LS5.js";import{a as C,b as k}from"./DPTHNGNY.js";import{d as A}from"./AZU7ZRDQ.js";import"./WRCHHUR5.js";import{a as L}from"./DE4EAADS.js";import{a as O}from"./YXQCC3F5.js";import{a as S,b as f}from"./LBGRMWS3.js";import{u as g}from"./D2QE33SH.js";import{d as $}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import{a as w}from"./KDES446E.js";import{B as z,H as E,c as x,e as v,f as n,u as b,v as m,w as y,x as i,z as r}from"./4XWWQIVX.js";var a={assistiveText:"assistive-text",characterLimit:"character-limit",content:"content",container:"container",footer:"footer",characterOverLimit:"character--over-limit",readOnly:"readonly",textAreaInvalid:"text-area--invalid",footerSlotted:"footer--slotted",hide:"hide",footerEndSlotOnly:"footer--end-only",textArea:"text-area",textAreaOnly:"text-area--only"},j={validationMessage:"textAreaValidationMessage"},N={footerStart:"footer-start",footerEnd:"footer-end"},D=100,u=Object.freeze({height:0,width:0}),G=v`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) )}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;font-family:var(--calcite-font-family);--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:var(--calcite-sans-family);max-block-size:var(--calcite-text-area-max-height);min-block-size:var(--calcite-text-area-min-height);max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem)}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width: 480px){.text-area{resize:none}}.text-area:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:2.25rem}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:.5rem;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .footer{min-block-size:1.75rem}:host([scale=s]) .text-area{padding-block:.25rem;padding-inline:.5rem}:host([scale=m]) .text-area{padding-block:.5rem;padding-inline:.75rem}:host([scale=m]) .footer{padding-block:.5rem;padding-inline:.75rem;min-block-size:2.25rem}:host([scale=l]) .text-area,:host([scale=l]) .footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0));padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .footer{min-block-size:2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0));padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,p=class extends y{constructor(){super(...arguments),this.attributeWatch=x(["autofocus","spellcheck"],this.handleGlobalAttributesChanged),this.footerEl=S(),this.guid=w(),this.resizeObserver=L("resize",async()=>{await this.componentOnReady();let{textAreaHeight:e,textAreaWidth:t,elHeight:s,elWidth:o,footerHeight:d,footerWidth:l,validationMessageHeight:h}=this.getHeightAndWidthOfElements();if(l>0&&l!==t&&(this.footerEl.value.style.width=`${t}px`),this.resize==="none")return;let{width:V,height:q}=getComputedStyle(this.el);o!==t&&V!=="auto"&&this.updateSizeToAuto("width"),s!==e+d+h&&q!=="auto"&&this.updateSizeToAuto("height")}),this.updateSizeToAuto=A(e=>{this.el.style[e]="auto"},D,{leading:!1}),this.disabled=!1,this.groupSeparator=!1,this.limitText=!1,this.messages=O({blocking:!0}),this.readOnly=!1,this.required=!1,this.resize="both",this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.wrap="soft",this.calciteTextAreaChange=m(),this.calciteTextAreaInput=m()}static{this.properties={endSlotHasElements:[16,{state:!0}],startSlotHasElements:[16,{state:!0}],columns:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],label:1,limitText:[7,{reflect:!0,type:Boolean}],maxLength:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],minLength:[11,{reflect:!0,type:Number}],name:[3,{reflect:!0}],numberingSystem:1,placeholder:1,readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],resize:[3,{reflect:!0}],rows:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:z}],validationMessage:1,validity:[0,{attribute:!1}],value:1,wrap:[3,{reflect:!0}]}}static{this.styles=G}async selectText(){await this.componentOnReady(),this.textAreaEl.select()}async setFocus(){await $(this),this.textAreaEl.focus()}connectedCallback(){super.connectedCallback(),H(this),T(this)}updated(){C(this),this.setTextAreaHeight()}disconnectedCallback(){super.disconnectedCallback(),I(this),W(this),this.resizeObserver?.disconnect(),this.updateSizeToAuto?.cancel()}handleGlobalAttributesChanged(){this.requestUpdate()}onLabelClick(){this.setFocus()}handleInput(e){this.value=e.target.value,this.calciteTextAreaInput.emit()}handleChange(){this.calciteTextAreaChange.emit()}contentSlotChangeHandler(){this.value||this.el.childNodes.forEach(t=>{t.nodeName==="#text"&&(this.value=t.nodeValue.trim())})}getLocalizedCharacterLength(){let e=this.value?this.value.length.toString():"0",t=this.maxLength.toString();return this.numberingSystem==="latn"?{currentLength:e,maxLength:t}:(c.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:c.localize(e),maxLength:c.localize(t)})}syncHiddenFormInput(e){e.setCustomValidity(""),this.isCharacterLimitExceeded()&&e.setCustomValidity(this.replacePlaceholdersInMessages()),R("textarea",this,e)}setTextAreaEl(e){e&&(this.textAreaEl=e,this.resizeObserver?.observe(e))}setTextAreaHeight(){let{textAreaHeight:e,elHeight:t,footerHeight:s,validationMessageHeight:o}=this.getHeightAndWidthOfElements();s>0&&e+s+o!=t&&(this.textAreaEl.style.height=`${t-s}px`)}getHeightAndWidthOfElements(){let{height:e,width:t}=this.textAreaEl?this.textAreaEl.getBoundingClientRect():u,{height:s,width:o}=this.el.getBoundingClientRect(),{height:d,width:l}=this.footerEl.value?this.footerEl.value.getBoundingClientRect():u,{height:h}=this.validationMessageEl?this.validationMessageEl.getBoundingClientRect():u;return{textAreaHeight:e,textAreaWidth:t,elHeight:s,elWidth:o,footerHeight:d,footerWidth:l,validationMessageHeight:h}}replacePlaceholdersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}setValidationRef(e){e&&(this.validationMessageEl=e)}render(){let e=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return k({disabled:this.disabled,children:n`<textarea aria-describedby=${this.guid??r} aria-errormessage=${j.validationMessage} .ariaInvalid=${this.status==="invalid"||this.isCharacterLimitExceeded()} .ariaLabel=${M(this)} .autofocus=${this.el.autofocus} class=${i({[a.textArea]:!0,[a.readOnly]:this.readOnly,[a.textAreaInvalid]:this.isCharacterLimitExceeded(),[a.footerSlotted]:this.endSlotHasElements&&this.startSlotHasElements,[a.textAreaOnly]:!e})} .cols=${this.columns} .disabled=${this.disabled} maxlength=${(this.limitText?this.maxLength:void 0)??r} name=${this.name??r} @change=${this.handleChange} @input=${this.handleInput} placeholder=${this.placeholder??r} .readOnly=${this.readOnly} .required=${this.required} .rows=${this.rows} spellcheck=${this.el.spellcheck??r} .value=${b(this.value??"")} wrap=${this.wrap??r} ${f(this.setTextAreaEl)}></textarea><span class=${i({[a.content]:!0})}><slot @slotchange=${this.contentSlotChangeHandler}></slot></span><footer class=${i({[a.footer]:!0,[a.readOnly]:this.readOnly,[a.hide]:!e})} ${f(this.footerEl)}><div class=${i({[a.container]:!0,[a.footerEndSlotOnly]:!this.startSlotHasElements&&this.endSlotHasElements})}><slot name=${N.footerStart} @slotchange=${t=>this.startSlotHasElements=g(t)}></slot><slot name=${N.footerEnd} @slotchange=${t=>this.endSlotHasElements=g(t)}></slot></div>${this.renderCharacterLimit()}</footer>${F({component:this})}${this.isCharacterLimitExceeded()&&n`<span aria-live=polite class=${i(a.assistiveText)} id=${this.guid??r}>${this.replacePlaceholdersInMessages()}</span>`||""}${this.validationMessage&&this.status==="invalid"?B({icon:this.validationIcon,id:j.validationMessage,message:this.validationMessage,ref:this.setValidationRef,scale:this.scale,status:this.status}):null}`})}renderCharacterLimit(){return this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),n`<span class=${i(a.characterLimit)}><span class=${i({[a.characterOverLimit]:this.isCharacterLimitExceeded()})}>${this.localizedCharacterLengthObj.currentLength}</span>/${this.localizedCharacterLengthObj.maxLength}</span>`):null}};E("calcite-text-area",p);export{p as TextArea};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as r}from"./MQZAFQWJ.js";import{a as k}from"./GRODOX6H.js";import{a as v}from"./YXQCC3F5.js";import{a as f,b as a}from"./LBGRMWS3.js";import{p as s,u}from"./D2QE33SH.js";import{a as l,d as b}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import"./KDES446E.js";import{B as g,H as p,e as h,f as n,v as o,w as m,x as e}from"./4XWWQIVX.js";var c={title:"title",message:"message",link:"link",actionsEnd:"actions-end"},i={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"},x=h`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:.5rem}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent;background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-notice-spacing-token-small);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none;color:var(--calcite-notice-close-icon-color, var(--calcite-color-text-3))}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2));color:var(--calcite-notice-close-icon-color-hover, var(--calcite-color-text-1))}.notice-close:active{background-color:var(--calcite-notice-close-background-color-press, var(--calcite-color-foreground-3))}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(...arguments),this.closeButton=f(),this.transitionProp="opacity",this.hasActionEnd=!1,this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.messages=v(),this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=o({cancelable:!1}),this.calciteNoticeBeforeOpen=o({cancelable:!1}),this.calciteNoticeClose=o({cancelable:!1}),this.calciteNoticeOpen=o({cancelable:!1})}static{this.properties={hasActionEnd:[16,{state:!0}],closable:[7,{reflect:!0,type:Boolean}],icon:[3,{reflect:!0,converter:g}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=x}async setFocus(){await b(this);let t=this.el.querySelector("calcite-link");if(!(!this.closeButton.value&&!t)){if(t)return t.setFocus();this.closeButton.value&&this.closeButton.value.focus()}}async load(){this.requestedIcon=s(r,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||this.open!==!1)&&k(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||this.kind!=="brand"))&&(this.requestedIcon=s(r,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}setTransitionEl(t){t&&(this.transitionEl=t)}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=u(t)}render(){let t=n`<button .ariaLabel=${this.messages.close} class=${e(i.close)} @click=${this.close} ${a(this.closeButton)}><calcite-icon icon=x .scale=${l(this.scale)}></calcite-icon></button>`;return n`<div class=${e(i.container)} ${a(this.setTransitionEl)}>${this.requestedIcon?n`<div class=${e(i.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${l(this.scale)}></calcite-icon></div>`:null}<div class=${e(i.content)}><slot name=${c.title}></slot><slot name=${c.message}></slot><slot name=${c.link}></slot></div><div class=${e(i.actionsEnd)} .hidden=${!this.hasActionEnd}><slot name=${c.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}};p("calcite-notice",d);export{d as Notice};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{b as e}from"./J7Q2U5LD.js";import"./NOHDRGAN.js";var a={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,!0);var t=a;export{t as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{a as P,b as q}from"./DPTHNGNY.js";import{a as m}from"./PIBL3SAQ.js";import{a as $,b as M}from"./LBGRMWS3.js";import{e as A,o as z,r as p,u as w,v as T}from"./D2QE33SH.js";import{a as s}from"./IMEC4LGQ.js";import"./E24SSTNI.js";import"./KDES446E.js";import{A as I,C as r,H as E,e as x,f as l,j as C,v as y,w as S,x as i}from"./4XWWQIVX.js";var n={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},L={actionsEnd:"actions-end",children:"children"},c={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},U=x`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;max-inline-size:100%;cursor:pointer}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex;color:var(--calcite-tree-text-color, var(--calcite-color-text-3))}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;block-size:100%;inset-inline-start:var(--calcite-internal-tree-item-line-left-position);content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none!important}::slotted(*):hover{text-decoration:none!important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-border-input))}.checkbox-label{pointer-events:none;display:flex;align-items:center}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-tree-text-color-selected, var(--calcite-color-text-1))}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;transform:rotate(0)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([selected]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends S{constructor(){super(),this.actionSlotWrapper=$(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=y({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{state:!0}],updateAfterInitialRender:[16,{state:!0}],depth:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],hasChildren:[39,{reflect:!0,readOnly:!0,type:Boolean}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}]}}static{this.styles=U}get hasChildren(){return!!this.childTree}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){P(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=z(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=T(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.requestUpdate("hasChildren"),this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),d=o.filter(a=>a.selected);o.length===d.length?(e.selected=!0,e.indeterminate=!1):d.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(a=>{a.selected=!0,a.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=w(e)}preWillUpdate(){this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=A(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",d=this.selectionMode==="none"&&!this.hasChildren,b=this.hasChildren&&this.indeterminate,a=this.hasChildren||this.selectionMode==="ancestors"?l`<calcite-icon class=${i({[n.chevron]:!0,[r.rtl]:e})} data-test-id=icon .icon=${this.hasChildren?c.chevronRight:c.blank} @click=${this.iconClickHandler} .scale=${s(this.scale)}></calcite-icon>`:null,k=m("default-slot",l`<slot></slot>`),u=this.selectionMode==="ancestors"?l`<div class=${i(n.checkboxContainer)}><calcite-icon class=${i(n.checkbox)} .icon=${this.selected?c.checkSquareF:b?c.minusSquareF:c.square} .scale=${s(this.scale)}></calcite-icon></div>`:null,h=t?c.bulletPoint:o?c.checkmark:d?c.blank:null,R=h?l`<calcite-icon class=${i({[n.bulletPointIcon]:h===c.bulletPoint,[n.checkmarkIcon]:h===c.checkmark,[r.rtl]:e})} .icon=${h} .scale=${s(this.scale)}></calcite-icon>`:null,v=!(this.parentExpanded||this.depth===1),g=this.updateAfterInitialRender&&this.expanded,{hasEndActions:B}=this,H=m("actionsEndSlot",l`<slot name=${L.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),F=l`<calcite-icon class=${i(n.iconStart)} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${s(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?p(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?p(g):void 0,this.el.inert=v,this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?p(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",v),this.el.role="treeitem",I(this.el,"tabIndex",this.disabled?-1:0),q({disabled:this.disabled,children:l`<div class=${i({[n.itemExpanded]:g})}><div class=${i(n.nodeAndActionsContainer)}><div class=${i({[n.nodeContainer]:!0,[r.rtl]:e})} data-selection-mode=${this.selectionMode??C}>${a}${R}${u||null}${this.iconStart?F:null}${u?l`<label class=${i(n.checkboxLabel)}>${k}</label>`:k}</div><div class=${i(n.actionsEnd)} .hidden=${!B} ${M(this.actionSlotWrapper)}>${H}</div></div><div class=${i({[n.childrenContainer]:!0,[r.rtl]:e})} data-test-id=calcite-tree-children @click=${this.childrenClickHandler} .role=${this.hasChildren?"group":void 0}><slot name=${L.children} @slotchange=${this.handleChildrenSlotChange}></slot></div></div>`})}};E("calcite-tree-item",f);export{f as TreeItem};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ var n={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},o={menu:"ellipsis"},t={container:"container"};export{n as a,o as b,t as c};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ function r(n,$,o){return $?`${n}-${$}`:o?`${n}-${o}`:`${n}-m`}export{r as a};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.15 */
4
+ import{b as e}from"./J7Q2U5LD.js";import"./NOHDRGAN.js";var _={name:"it-ch",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(o){return o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(_,null,!0);var i=_;export{i as default};