@esri/calcite-components 3.1.0-next.21 → 3.1.0-next.22

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 (999) hide show
  1. package/dist/calcite/222KNDXA.js +4 -0
  2. package/dist/calcite/222KNDXA.js.LEGAL.txt +3 -0
  3. package/dist/calcite/24LMQMDN.js +4 -0
  4. package/dist/calcite/24LMQMDN.js.LEGAL.txt +3 -0
  5. package/dist/calcite/276RUAMR.js +4 -0
  6. package/dist/calcite/276RUAMR.js.LEGAL.txt +3 -0
  7. package/dist/calcite/2BNVLYXI.js +4 -0
  8. package/dist/calcite/2DBVCFJV.js +4 -0
  9. package/dist/calcite/2DBVCFJV.js.LEGAL.txt +3 -0
  10. package/dist/calcite/2DXICQCB.js +4 -0
  11. package/dist/calcite/2DXICQCB.js.LEGAL.txt +3 -0
  12. package/dist/calcite/2FQU2ITX.js +4 -0
  13. package/dist/calcite/2FQU2ITX.js.LEGAL.txt +3 -0
  14. package/dist/calcite/2T2XUMXE.js +4 -0
  15. package/dist/calcite/2T2XUMXE.js.LEGAL.txt +3 -0
  16. package/dist/calcite/2Y7SPHA3.js +4 -0
  17. package/dist/calcite/2Y7SPHA3.js.LEGAL.txt +3 -0
  18. package/dist/calcite/2YAPCX7V.js +4 -0
  19. package/dist/calcite/2YAPCX7V.js.LEGAL.txt +3 -0
  20. package/dist/calcite/2YREXXQW.js +4 -0
  21. package/dist/calcite/2YREXXQW.js.LEGAL.txt +3 -0
  22. package/dist/calcite/2ZCTMVUQ.js +4 -0
  23. package/dist/calcite/2ZCTMVUQ.js.LEGAL.txt +3 -0
  24. package/dist/calcite/33M7X2VV.js +6 -0
  25. package/dist/calcite/33M7X2VV.js.LEGAL.txt +145 -0
  26. package/dist/calcite/3A3OUDSR.js +4 -0
  27. package/dist/calcite/3A3OUDSR.js.LEGAL.txt +3 -0
  28. package/dist/calcite/3CDPCBGI.js +4 -0
  29. package/dist/calcite/3CDPCBGI.js.LEGAL.txt +3 -0
  30. package/dist/calcite/3DDJGIKX.js +4 -0
  31. package/dist/calcite/3DDJGIKX.js.LEGAL.txt +3 -0
  32. package/dist/calcite/3P7YO72N.js +4 -0
  33. package/dist/calcite/3P7YO72N.js.LEGAL.txt +3 -0
  34. package/dist/calcite/3PCDTCK6.js +4 -0
  35. package/dist/calcite/3U7SBNFW.js +4 -0
  36. package/dist/calcite/3U7SBNFW.js.LEGAL.txt +3 -0
  37. package/dist/calcite/3ZTQ6EDK.js +4 -0
  38. package/dist/calcite/3ZTQ6EDK.js.LEGAL.txt +3 -0
  39. package/dist/calcite/4BDYE7JM.js +4 -0
  40. package/dist/calcite/4BRO65RG.js +4 -0
  41. package/dist/calcite/4BRO65RG.js.LEGAL.txt +3 -0
  42. package/dist/calcite/4DCPFZAI.js +4 -0
  43. package/dist/calcite/4DCPFZAI.js.LEGAL.txt +3 -0
  44. package/dist/calcite/53D5YQZC.js +4 -0
  45. package/dist/calcite/53D5YQZC.js.LEGAL.txt +3 -0
  46. package/dist/calcite/5CHSEFC6.js +4 -0
  47. package/dist/calcite/5DBBORUA.js +4 -0
  48. package/dist/calcite/5FAHRPPY.js +4 -0
  49. package/dist/calcite/5FAHRPPY.js.LEGAL.txt +3 -0
  50. package/dist/calcite/5HFWSDDE.js +22 -0
  51. package/dist/calcite/5HFWSDDE.js.LEGAL.txt +3 -0
  52. package/dist/calcite/5O3DAHLW.js +4 -0
  53. package/dist/calcite/5O3DAHLW.js.LEGAL.txt +3 -0
  54. package/dist/calcite/5WBOJLSW.js +4 -0
  55. package/dist/calcite/5WBOJLSW.js.LEGAL.txt +3 -0
  56. package/dist/calcite/66KXEBQX.js +4 -0
  57. package/dist/calcite/66KXEBQX.js.LEGAL.txt +3 -0
  58. package/dist/calcite/6NXI4SKE.js +4 -0
  59. package/dist/calcite/6NXI4SKE.js.LEGAL.txt +3 -0
  60. package/dist/calcite/6SMIX55T.js +4 -0
  61. package/dist/calcite/6WE2CZYT.js +4 -0
  62. package/dist/calcite/6WE2CZYT.js.LEGAL.txt +3 -0
  63. package/dist/calcite/6YTARMWH.js +4 -0
  64. package/dist/calcite/6YTARMWH.js.LEGAL.txt +3 -0
  65. package/dist/calcite/7NRB3M7G.js +4 -0
  66. package/dist/calcite/7NRB3M7G.js.LEGAL.txt +3 -0
  67. package/dist/calcite/7SPESWBP.js +5 -0
  68. package/dist/calcite/A35TGQJO.js +4 -0
  69. package/dist/calcite/A35TGQJO.js.LEGAL.txt +3 -0
  70. package/dist/calcite/A47VGKTJ.js +5 -0
  71. package/dist/calcite/A47VGKTJ.js.LEGAL.txt +17 -0
  72. package/dist/calcite/A4MKJNJE.js +4 -0
  73. package/dist/calcite/A64VBRRZ.js +4 -0
  74. package/dist/calcite/A64VBRRZ.js.LEGAL.txt +3 -0
  75. package/dist/calcite/AGESDSYC.js +4 -0
  76. package/dist/calcite/AGESDSYC.js.LEGAL.txt +3 -0
  77. package/dist/calcite/AQE7VMEK.js +4 -0
  78. package/dist/calcite/AW5GGDLS.js +4 -0
  79. package/dist/calcite/AWPXY5W7.js +4 -0
  80. package/dist/calcite/B23UODTI.js +4 -0
  81. package/dist/calcite/B652AZAM.js +4 -0
  82. package/dist/calcite/BBB45OAF.js +4 -0
  83. package/dist/calcite/BBB45OAF.js.LEGAL.txt +3 -0
  84. package/dist/calcite/BGQUFFQD.js +4 -0
  85. package/dist/calcite/BGQUFFQD.js.LEGAL.txt +3 -0
  86. package/dist/calcite/BK2O5SDT.js +4 -0
  87. package/dist/calcite/BK2O5SDT.js.LEGAL.txt +3 -0
  88. package/dist/calcite/BLFD3YM6.js +4 -0
  89. package/dist/calcite/C2KZT7XX.js +4 -0
  90. package/dist/calcite/C2KZT7XX.js.LEGAL.txt +3 -0
  91. package/dist/calcite/C5TJEVNB.js +4 -0
  92. package/dist/calcite/C5TJEVNB.js.LEGAL.txt +3 -0
  93. package/dist/calcite/C7YAEGON.js +4 -0
  94. package/dist/calcite/C7YAEGON.js.LEGAL.txt +3 -0
  95. package/dist/calcite/CHMS6NLJ.js +4 -0
  96. package/dist/calcite/CHMS6NLJ.js.LEGAL.txt +3 -0
  97. package/dist/calcite/CLCVQIAP.js +4 -0
  98. package/dist/calcite/CLCVQIAP.js.LEGAL.txt +3 -0
  99. package/dist/calcite/CSVAGUTG.js +4 -0
  100. package/dist/calcite/CSVAGUTG.js.LEGAL.txt +3 -0
  101. package/dist/calcite/CUGDMHQ7.js +4 -0
  102. package/dist/calcite/CUGDMHQ7.js.LEGAL.txt +3 -0
  103. package/dist/calcite/CVX3PCDY.js +4 -0
  104. package/dist/calcite/D3LXYOD5.js +4 -0
  105. package/dist/calcite/D3LXYOD5.js.LEGAL.txt +3 -0
  106. package/dist/calcite/DESVBIHE.js +4 -0
  107. package/dist/calcite/DFUAW57Q.js +4 -0
  108. package/dist/calcite/DFUAW57Q.js.LEGAL.txt +3 -0
  109. package/dist/calcite/DKZVRNGG.js +4 -0
  110. package/dist/calcite/DKZVRNGG.js.LEGAL.txt +3 -0
  111. package/dist/calcite/DLGTXIUX.js +4 -0
  112. package/dist/calcite/DLGTXIUX.js.LEGAL.txt +3 -0
  113. package/dist/calcite/DVE32CG7.js +4 -0
  114. package/dist/calcite/DVE32CG7.js.LEGAL.txt +3 -0
  115. package/dist/calcite/EBVF2XRN.js +4 -0
  116. package/dist/calcite/EBVF2XRN.js.LEGAL.txt +3 -0
  117. package/dist/calcite/EJWX6MRL.js +4 -0
  118. package/dist/calcite/EUDAPIFE.js +4 -0
  119. package/dist/calcite/EUDAPIFE.js.LEGAL.txt +3 -0
  120. package/dist/calcite/EUKFV3S4.js +4 -0
  121. package/dist/calcite/EUKFV3S4.js.LEGAL.txt +3 -0
  122. package/dist/calcite/EZIROPYJ.js +4 -0
  123. package/dist/calcite/EZIROPYJ.js.LEGAL.txt +3 -0
  124. package/dist/calcite/FAJSHZFE.js +4 -0
  125. package/dist/calcite/FAJSHZFE.js.LEGAL.txt +3 -0
  126. package/dist/calcite/FFFMHCGZ.js +4 -0
  127. package/dist/calcite/FFFMHCGZ.js.LEGAL.txt +3 -0
  128. package/dist/calcite/FGATUSON.js +4 -0
  129. package/dist/calcite/FGATUSON.js.LEGAL.txt +3 -0
  130. package/dist/calcite/FJITSWY5.js +4 -0
  131. package/dist/calcite/FJITSWY5.js.LEGAL.txt +3 -0
  132. package/dist/calcite/FNWT3NPP.js +4 -0
  133. package/dist/calcite/FV66JP4A.js +4 -0
  134. package/dist/calcite/FYGGK3L3.js +4 -0
  135. package/dist/calcite/FYGGK3L3.js.LEGAL.txt +3 -0
  136. package/dist/calcite/G2NOFGJQ.js +5 -0
  137. package/dist/calcite/GANMJE2A.js +4 -0
  138. package/dist/calcite/GFMPXAM3.js +4 -0
  139. package/dist/calcite/GFMPXAM3.js.LEGAL.txt +3 -0
  140. package/dist/calcite/GKVQPKAV.js +4 -0
  141. package/dist/calcite/GMIP5SBM.js +4 -0
  142. package/dist/calcite/GQGY3UCD.js +4 -0
  143. package/dist/calcite/GQGY3UCD.js.LEGAL.txt +3 -0
  144. package/dist/calcite/GTDL4EGB.js +4 -0
  145. package/dist/calcite/GUGHC6KM.js +4 -0
  146. package/dist/calcite/GUGHC6KM.js.LEGAL.txt +3 -0
  147. package/dist/calcite/GV7XBS33.js +4 -0
  148. package/dist/calcite/GV7XBS33.js.LEGAL.txt +3 -0
  149. package/dist/calcite/GW5M7LYN.js +4 -0
  150. package/dist/calcite/GZQHEJ4Z.js +4 -0
  151. package/dist/calcite/HBXG346K.js +4 -0
  152. package/dist/calcite/HOQL7VM5.js +4 -0
  153. package/dist/calcite/HOQL7VM5.js.LEGAL.txt +3 -0
  154. package/dist/calcite/HRK54WEF.js +4 -0
  155. package/dist/calcite/HRK54WEF.js.LEGAL.txt +3 -0
  156. package/dist/calcite/HRZOBBQI.js +4 -0
  157. package/dist/calcite/HRZOBBQI.js.LEGAL.txt +3 -0
  158. package/dist/calcite/HVGKS6W2.js +4 -0
  159. package/dist/calcite/HVVVTL5Z.js +4 -0
  160. package/dist/calcite/HYNYZQF7.js +4 -0
  161. package/dist/calcite/HYNYZQF7.js.LEGAL.txt +3 -0
  162. package/dist/calcite/HZL4W74L.js +4 -0
  163. package/dist/calcite/HZL4W74L.js.LEGAL.txt +3 -0
  164. package/dist/calcite/IH6AC473.js +4 -0
  165. package/dist/calcite/IH6AC473.js.LEGAL.txt +3 -0
  166. package/dist/calcite/IHQR6CVF.js +4 -0
  167. package/dist/calcite/IIRHP3EC.js +4 -0
  168. package/dist/calcite/IIRHP3EC.js.LEGAL.txt +3 -0
  169. package/dist/calcite/IPNQSV75.js +4 -0
  170. package/dist/calcite/IPVIHC3R.js +4 -0
  171. package/dist/calcite/IPVIHC3R.js.LEGAL.txt +3 -0
  172. package/dist/calcite/IQ77TVBQ.js +4 -0
  173. package/dist/calcite/IQ77TVBQ.js.LEGAL.txt +3 -0
  174. package/dist/calcite/IULAOGRV.js +4 -0
  175. package/dist/calcite/IULAOGRV.js.LEGAL.txt +3 -0
  176. package/dist/calcite/J7MKGBS3.js +4 -0
  177. package/dist/calcite/JBN3ZJI7.js +4 -0
  178. package/dist/calcite/JBN3ZJI7.js.LEGAL.txt +3 -0
  179. package/dist/calcite/JJBDZFVM.js +4 -0
  180. package/dist/calcite/JJBDZFVM.js.LEGAL.txt +3 -0
  181. package/dist/calcite/JRX36YZP.js +5 -0
  182. package/dist/calcite/JRX36YZP.js.LEGAL.txt +3 -0
  183. package/dist/calcite/JY4ZIZBL.js +4 -0
  184. package/dist/calcite/K366OY7R.js +4 -0
  185. package/dist/calcite/K366OY7R.js.LEGAL.txt +3 -0
  186. package/dist/calcite/K3QXGD7K.js +4 -0
  187. package/dist/calcite/K7JWMCF5.js +4 -0
  188. package/dist/calcite/K7JWMCF5.js.LEGAL.txt +7 -0
  189. package/dist/calcite/KBFTI7WI.js +4 -0
  190. package/dist/calcite/KBFTI7WI.js.LEGAL.txt +3 -0
  191. package/dist/calcite/KEUNSXA2.js +4 -0
  192. package/dist/calcite/KEUNSXA2.js.LEGAL.txt +3 -0
  193. package/dist/calcite/KOZBB6ZS.js +4 -0
  194. package/dist/calcite/KYYYHMEW.js +4 -0
  195. package/dist/calcite/L2BEDPP4.js +4 -0
  196. package/dist/calcite/L2BEDPP4.js.LEGAL.txt +3 -0
  197. package/dist/calcite/L2Y5326Y.js +4 -0
  198. package/dist/calcite/L2Y5326Y.js.LEGAL.txt +3 -0
  199. package/dist/calcite/L7SJ7HLN.js +4 -0
  200. package/dist/calcite/L7SJ7HLN.js.LEGAL.txt +3 -0
  201. package/dist/calcite/LGHNGFMC.js +4 -0
  202. package/dist/calcite/LGHNGFMC.js.LEGAL.txt +3 -0
  203. package/dist/calcite/LM47ZELR.js +4 -0
  204. package/dist/calcite/LM47ZELR.js.LEGAL.txt +3 -0
  205. package/dist/calcite/M3KR4STR.js +4 -0
  206. package/dist/calcite/M4HCZMTX.js +4 -0
  207. package/dist/calcite/M4HCZMTX.js.LEGAL.txt +3 -0
  208. package/dist/calcite/M77GEJLP.js +4 -0
  209. package/dist/calcite/M77GEJLP.js.LEGAL.txt +3 -0
  210. package/dist/calcite/MDKXPZOV.js +4 -0
  211. package/dist/calcite/MDZOEU3K.js +4 -0
  212. package/dist/calcite/MDZOEU3K.js.LEGAL.txt +3 -0
  213. package/dist/calcite/MGGZKYLM.js +4 -0
  214. package/dist/calcite/MLYYBWQL.js +4 -0
  215. package/dist/calcite/MN6X3434.js +4 -0
  216. package/dist/calcite/MPBAISV2.js +4 -0
  217. package/dist/calcite/MPBAISV2.js.LEGAL.txt +3 -0
  218. package/dist/calcite/MPWHKGVD.js +4 -0
  219. package/dist/calcite/MPWHKGVD.js.LEGAL.txt +3 -0
  220. package/dist/calcite/N6RVTFPO.js +4 -0
  221. package/dist/calcite/N6RVTFPO.js.LEGAL.txt +3 -0
  222. package/dist/calcite/NENQDMWY.js +4 -0
  223. package/dist/calcite/NENQDMWY.js.LEGAL.txt +3 -0
  224. package/dist/calcite/NKL722H7.js +4 -0
  225. package/dist/calcite/NKL722H7.js.LEGAL.txt +3 -0
  226. package/dist/calcite/NPEUWDNS.js +4 -0
  227. package/dist/calcite/NPEUWDNS.js.LEGAL.txt +3 -0
  228. package/dist/calcite/NYKAOK3R.js +4 -0
  229. package/dist/calcite/O6KYQQHE.js +4 -0
  230. package/dist/calcite/OBLIZCEL.js +4 -0
  231. package/dist/calcite/OBLIZCEL.js.LEGAL.txt +3 -0
  232. package/dist/calcite/OBR44DBU.js +4 -0
  233. package/dist/calcite/OBR44DBU.js.LEGAL.txt +3 -0
  234. package/dist/calcite/ODAVAGH7.js +4 -0
  235. package/dist/calcite/OK65ZULJ.js +4 -0
  236. package/dist/calcite/OK65ZULJ.js.LEGAL.txt +3 -0
  237. package/dist/calcite/OS5STLP5.js +4 -0
  238. package/dist/calcite/OS5STLP5.js.LEGAL.txt +3 -0
  239. package/dist/calcite/OTUEB6CF.js +4 -0
  240. package/dist/calcite/OTUEB6CF.js.LEGAL.txt +3 -0
  241. package/dist/calcite/P5UZ2UPZ.js +4 -0
  242. package/dist/calcite/P5UZ2UPZ.js.LEGAL.txt +3 -0
  243. package/dist/calcite/PBDAFZ3W.js +28 -0
  244. package/dist/calcite/PBDAFZ3W.js.LEGAL.txt +3 -0
  245. package/dist/calcite/PDOUPPBA.js +4 -0
  246. package/dist/calcite/PDOUPPBA.js.LEGAL.txt +3 -0
  247. package/dist/calcite/PJ6D6ZSD.js +4 -0
  248. package/dist/calcite/PLEUO4XJ.js +4 -0
  249. package/dist/calcite/PLEUO4XJ.js.LEGAL.txt +3 -0
  250. package/dist/calcite/PMFHMPVE.js +4 -0
  251. package/dist/calcite/PMFHMPVE.js.LEGAL.txt +3 -0
  252. package/dist/calcite/PUJX2YTT.js +4 -0
  253. package/dist/calcite/PUJX2YTT.js.LEGAL.txt +3 -0
  254. package/dist/calcite/PVVQTSHT.js +4 -0
  255. package/dist/calcite/Q2LLRCQV.js +4 -0
  256. package/dist/calcite/Q2LLRCQV.js.LEGAL.txt +3 -0
  257. package/dist/calcite/Q3PBCXFD.js +4 -0
  258. package/dist/calcite/Q3PBCXFD.js.LEGAL.txt +3 -0
  259. package/dist/calcite/Q4BGFGY4.js +4 -0
  260. package/dist/calcite/Q4BGFGY4.js.LEGAL.txt +3 -0
  261. package/dist/calcite/Q5BR6UII.js +4 -0
  262. package/dist/calcite/Q5BR6UII.js.LEGAL.txt +3 -0
  263. package/dist/calcite/Q73WPYBA.js +4 -0
  264. package/dist/calcite/Q76PV2GS.js +4 -0
  265. package/dist/calcite/Q76PV2GS.js.LEGAL.txt +3 -0
  266. package/dist/calcite/QG6GCUPA.js +4 -0
  267. package/dist/calcite/QG6GCUPA.js.LEGAL.txt +3 -0
  268. package/dist/calcite/QII3UDOZ.js +4 -0
  269. package/dist/calcite/QII3UDOZ.js.LEGAL.txt +3 -0
  270. package/dist/calcite/QR66K222.js +4 -0
  271. package/dist/calcite/QR66K222.js.LEGAL.txt +3 -0
  272. package/dist/calcite/QSN5V2SP.js +4 -0
  273. package/dist/calcite/QSN5V2SP.js.LEGAL.txt +3 -0
  274. package/dist/calcite/QXMX2QAB.js +4 -0
  275. package/dist/calcite/QXMX2QAB.js.LEGAL.txt +3 -0
  276. package/dist/calcite/RAI3I5UU.js +4 -0
  277. package/dist/calcite/RCXZCHS7.js +4 -0
  278. package/dist/calcite/RCXZCHS7.js.LEGAL.txt +3 -0
  279. package/dist/calcite/RI27IVSH.js +4 -0
  280. package/dist/calcite/RI27IVSH.js.LEGAL.txt +3 -0
  281. package/dist/calcite/RLJKY5E3.js +4 -0
  282. package/dist/calcite/RLJKY5E3.js.LEGAL.txt +3 -0
  283. package/dist/calcite/RLT72FZL.js +4 -0
  284. package/dist/calcite/RPL62UOT.js +4 -0
  285. package/dist/calcite/RT4MQ2DB.js +4 -0
  286. package/dist/calcite/RT4MQ2DB.js.LEGAL.txt +3 -0
  287. package/dist/calcite/RUSUG5LY.js +4 -0
  288. package/dist/calcite/RUSUG5LY.js.LEGAL.txt +3 -0
  289. package/dist/calcite/RVMLVZQN.js +4 -0
  290. package/dist/calcite/RWTIM666.js +4 -0
  291. package/dist/calcite/RWTIM666.js.LEGAL.txt +3 -0
  292. package/dist/calcite/S4Y2NWL5.js +4 -0
  293. package/dist/calcite/S4Y2NWL5.js.LEGAL.txt +3 -0
  294. package/dist/calcite/S6OOYXNZ.js +4 -0
  295. package/dist/calcite/S6OOYXNZ.js.LEGAL.txt +3 -0
  296. package/dist/calcite/SBOAGPEQ.js +4 -0
  297. package/dist/calcite/SBOAGPEQ.js.LEGAL.txt +3 -0
  298. package/dist/calcite/SHTZADHW.js +4 -0
  299. package/dist/calcite/SHTZADHW.js.LEGAL.txt +3 -0
  300. package/dist/calcite/SIH6ZWOL.js +4 -0
  301. package/dist/calcite/SQHCQPG4.js +4 -0
  302. package/dist/calcite/SQHCQPG4.js.LEGAL.txt +3 -0
  303. package/dist/calcite/T3BVWRY7.js +4 -0
  304. package/dist/calcite/T3BVWRY7.js.LEGAL.txt +3 -0
  305. package/dist/calcite/T3ODNFFW.js +4 -0
  306. package/dist/calcite/T3ODNFFW.js.LEGAL.txt +3 -0
  307. package/dist/calcite/TOJ4OIEH.js +4 -0
  308. package/dist/calcite/TOLZFD6R.js +4 -0
  309. package/dist/calcite/TOLZFD6R.js.LEGAL.txt +3 -0
  310. package/dist/calcite/TREH5UKX.js +4 -0
  311. package/dist/calcite/TREH5UKX.js.LEGAL.txt +3 -0
  312. package/dist/calcite/TUQZELJ3.js +4 -0
  313. package/dist/calcite/TUQZELJ3.js.LEGAL.txt +3 -0
  314. package/dist/calcite/U6IKOSDT.js +4 -0
  315. package/dist/calcite/U6IKOSDT.js.LEGAL.txt +3 -0
  316. package/dist/calcite/UAH37IVO.js +4 -0
  317. package/dist/calcite/UAH37IVO.js.LEGAL.txt +3 -0
  318. package/dist/calcite/UAUY2IRU.js +4 -0
  319. package/dist/calcite/UG6GSAFK.js +4 -0
  320. package/dist/calcite/UG6GSAFK.js.LEGAL.txt +3 -0
  321. package/dist/calcite/UOIJFSXD.js +4 -0
  322. package/dist/calcite/UOIJFSXD.js.LEGAL.txt +3 -0
  323. package/dist/calcite/V2GFNT7N.js +4 -0
  324. package/dist/calcite/V2GFNT7N.js.LEGAL.txt +3 -0
  325. package/dist/calcite/VBBDJ4RC.js +4 -0
  326. package/dist/calcite/VEFWTT7R.js +4 -0
  327. package/dist/calcite/VEFWTT7R.js.LEGAL.txt +3 -0
  328. package/dist/calcite/VG4OS73X.js +4 -0
  329. package/dist/calcite/VG4OS73X.js.LEGAL.txt +3 -0
  330. package/dist/calcite/VKSIIZUC.js +4 -0
  331. package/dist/calcite/VKSIIZUC.js.LEGAL.txt +3 -0
  332. package/dist/calcite/VNCTC4VW.js +4 -0
  333. package/dist/calcite/VNCTC4VW.js.LEGAL.txt +3 -0
  334. package/dist/calcite/WBVXQXK4.js +4 -0
  335. package/dist/calcite/WFGNLFJU.js +4 -0
  336. package/dist/calcite/WFGNLFJU.js.LEGAL.txt +3 -0
  337. package/dist/calcite/WGLGBVXZ.js +4 -0
  338. package/dist/calcite/WO2NM7LT.js +4 -0
  339. package/dist/calcite/WO2NM7LT.js.LEGAL.txt +3 -0
  340. package/dist/calcite/WSWPTF3Q.js +4 -0
  341. package/dist/calcite/WZ4BEJOR.js +4 -0
  342. package/dist/calcite/WZ4BEJOR.js.LEGAL.txt +3 -0
  343. package/dist/calcite/WZTBVI6A.js +4 -0
  344. package/dist/calcite/X2D6QAKT.js +4 -0
  345. package/dist/calcite/X2D6QAKT.js.LEGAL.txt +3 -0
  346. package/dist/calcite/X2DO2OJV.js +4 -0
  347. package/dist/calcite/X2DO2OJV.js.LEGAL.txt +3 -0
  348. package/dist/calcite/X3DXGTU7.js +4 -0
  349. package/dist/calcite/X3DXGTU7.js.LEGAL.txt +3 -0
  350. package/dist/calcite/X4F4RTHA.js +4 -0
  351. package/dist/calcite/X4F4RTHA.js.LEGAL.txt +3 -0
  352. package/dist/calcite/XEJNASX3.js +4 -0
  353. package/dist/calcite/XHRQ7SY7.js +4 -0
  354. package/dist/calcite/XHRQ7SY7.js.LEGAL.txt +3 -0
  355. package/dist/calcite/XN3FRNSQ.js +4 -0
  356. package/dist/calcite/XN3FRNSQ.js.LEGAL.txt +3 -0
  357. package/dist/calcite/XTUMZAUR.js +4 -0
  358. package/dist/calcite/XTXNIF2S.js +4 -0
  359. package/dist/calcite/XTXNIF2S.js.LEGAL.txt +3 -0
  360. package/dist/calcite/XZMEA3ZV.js +4 -0
  361. package/dist/calcite/XZMEA3ZV.js.LEGAL.txt +3 -0
  362. package/dist/calcite/Y4LO7OVE.js +4 -0
  363. package/dist/calcite/Y4LO7OVE.js.LEGAL.txt +3 -0
  364. package/dist/calcite/YBEDVVRG.js +4 -0
  365. package/dist/calcite/YBEDVVRG.js.LEGAL.txt +3 -0
  366. package/dist/calcite/YDNUAZ6V.js +4 -0
  367. package/dist/calcite/YDUUY4OK.js +4 -0
  368. package/dist/calcite/YDUUY4OK.js.LEGAL.txt +13 -0
  369. package/dist/calcite/YERP7URR.js +4 -0
  370. package/dist/calcite/YMWZPMJX.js +4 -0
  371. package/dist/calcite/YMWZPMJX.js.LEGAL.txt +3 -0
  372. package/dist/calcite/Z3FHRAMC.js +4 -0
  373. package/dist/calcite/ZAZ3NKSC.js +4 -0
  374. package/dist/calcite/ZAZ3NKSC.js.LEGAL.txt +3 -0
  375. package/dist/calcite/ZHLIGRYA.js +4 -0
  376. package/dist/calcite/ZVWUYIBE.js +4 -0
  377. package/dist/calcite/ZW3G7QPA.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/array.js +1 -1
  385. package/dist/chunks/component.js +1 -1
  386. package/dist/chunks/core.js +1 -1
  387. package/dist/chunks/date.js +1 -1
  388. package/dist/chunks/dom.js +1 -1
  389. package/dist/chunks/dynamicClasses.js +1 -1
  390. package/dist/chunks/filter.js +1 -1
  391. package/dist/chunks/floating-ui.js +1 -1
  392. package/dist/chunks/focusTrapComponent.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 +28 -28
  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 +4 -4
  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 +11 -11
  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 +1 -1
  425. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  426. package/dist/components/calcite-action/customElement.js +1 -1
  427. package/dist/components/calcite-action-bar/customElement.js +1 -1
  428. package/dist/components/calcite-action-group/customElement.js +1 -1
  429. package/dist/components/calcite-action-menu/customElement.js +1 -1
  430. package/dist/components/calcite-action-pad/customElement.js +1 -1
  431. package/dist/components/calcite-alert/customElement.js +1 -1
  432. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  433. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  434. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  435. package/dist/components/calcite-avatar/customElement.js +1 -1
  436. package/dist/components/calcite-block/customElement.d.ts +9 -2
  437. package/dist/components/calcite-block/customElement.js +43 -28
  438. package/dist/components/calcite-block/resources.d.ts +2 -2
  439. package/dist/components/calcite-block-group/customElement.js +1 -1
  440. package/dist/components/calcite-block-section/customElement.d.ts +9 -2
  441. package/dist/components/calcite-block-section/customElement.js +43 -27
  442. package/dist/components/calcite-block-section/resources.d.ts +2 -2
  443. package/dist/components/calcite-button/customElement.js +1 -1
  444. package/dist/components/calcite-card/customElement.js +1 -1
  445. package/dist/components/calcite-card-group/customElement.js +1 -1
  446. package/dist/components/calcite-carousel/customElement.js +1 -1
  447. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  448. package/dist/components/calcite-checkbox/customElement.js +1 -1
  449. package/dist/components/calcite-chip/customElement.js +1 -1
  450. package/dist/components/calcite-chip-group/customElement.js +1 -1
  451. package/dist/components/calcite-color-picker/customElement.js +1 -1
  452. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  453. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  454. package/dist/components/calcite-combobox/customElement.js +1 -1
  455. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  456. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  457. package/dist/components/calcite-date-picker/customElement.js +1 -1
  458. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  459. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  460. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  461. package/dist/components/calcite-dialog/customElement.js +1 -1
  462. package/dist/components/calcite-dropdown/customElement.js +1 -1
  463. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  464. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  465. package/dist/components/calcite-fab/customElement.js +1 -1
  466. package/dist/components/calcite-filter/customElement.js +1 -1
  467. package/dist/components/calcite-flow/customElement.js +1 -1
  468. package/dist/components/calcite-flow-item/customElement.js +1 -1
  469. package/dist/components/calcite-graph/customElement.js +1 -1
  470. package/dist/components/calcite-handle/customElement.js +1 -1
  471. package/dist/components/calcite-icon/customElement.js +1 -1
  472. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  473. package/dist/components/calcite-input/customElement.js +1 -1
  474. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  475. package/dist/components/calcite-input-message/customElement.js +1 -1
  476. package/dist/components/calcite-input-number/customElement.js +1 -1
  477. package/dist/components/calcite-input-text/customElement.js +1 -1
  478. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  479. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  480. package/dist/components/calcite-label/customElement.js +1 -1
  481. package/dist/components/calcite-link/customElement.js +1 -1
  482. package/dist/components/calcite-list/customElement.js +16 -16
  483. package/dist/components/calcite-list-item/customElement.d.ts +9 -2
  484. package/dist/components/calcite-list-item/customElement.js +73 -57
  485. package/dist/components/calcite-list-item/resources.d.ts +24 -23
  486. package/dist/components/calcite-list-item/utils.d.ts +1 -1
  487. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  488. package/dist/components/calcite-loader/customElement.js +1 -1
  489. package/dist/components/calcite-menu/customElement.js +1 -1
  490. package/dist/components/calcite-menu-item/customElement.js +1 -1
  491. package/dist/components/calcite-meter/customElement.js +1 -1
  492. package/dist/components/calcite-modal/customElement.js +1 -1
  493. package/dist/components/calcite-navigation/customElement.js +1 -1
  494. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  495. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  496. package/dist/components/calcite-notice/customElement.js +1 -1
  497. package/dist/components/calcite-option/customElement.js +1 -1
  498. package/dist/components/calcite-option-group/customElement.js +1 -1
  499. package/dist/components/calcite-pagination/customElement.js +1 -1
  500. package/dist/components/calcite-panel/customElement.js +1 -1
  501. package/dist/components/calcite-popover/customElement.js +1 -1
  502. package/dist/components/calcite-progress/customElement.js +1 -1
  503. package/dist/components/calcite-radio-button/customElement.js +1 -1
  504. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  505. package/dist/components/calcite-rating/customElement.js +1 -1
  506. package/dist/components/calcite-scrim/customElement.js +1 -1
  507. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  508. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  509. package/dist/components/calcite-select/customElement.js +1 -1
  510. package/dist/components/calcite-sheet/customElement.js +1 -1
  511. package/dist/components/calcite-shell/customElement.js +1 -1
  512. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  513. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  514. package/dist/components/calcite-slider/customElement.js +1 -1
  515. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  516. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  517. package/dist/components/calcite-split-button/customElement.js +1 -1
  518. package/dist/components/calcite-stack/customElement.js +1 -1
  519. package/dist/components/calcite-stepper/customElement.js +1 -1
  520. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  521. package/dist/components/calcite-switch/customElement.js +1 -1
  522. package/dist/components/calcite-tab/customElement.js +1 -1
  523. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  524. package/dist/components/calcite-tab-title/customElement.js +1 -1
  525. package/dist/components/calcite-table/customElement.js +1 -1
  526. package/dist/components/calcite-table-cell/customElement.js +1 -1
  527. package/dist/components/calcite-table-header/customElement.js +1 -1
  528. package/dist/components/calcite-table-row/customElement.js +1 -1
  529. package/dist/components/calcite-tabs/customElement.js +1 -1
  530. package/dist/components/calcite-text-area/customElement.d.ts +1 -1
  531. package/dist/components/calcite-text-area/customElement.js +1 -1
  532. package/dist/components/calcite-tile/customElement.js +1 -1
  533. package/dist/components/calcite-tile-group/customElement.js +1 -1
  534. package/dist/components/calcite-tile-select/customElement.js +1 -1
  535. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  536. package/dist/components/calcite-time-picker/customElement.js +1 -1
  537. package/dist/components/calcite-tip/customElement.js +1 -1
  538. package/dist/components/calcite-tip-group/customElement.js +1 -1
  539. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  540. package/dist/components/calcite-tooltip/customElement.js +1 -1
  541. package/dist/components/calcite-tree/customElement.js +1 -1
  542. package/dist/components/calcite-tree-item/customElement.js +1 -1
  543. package/dist/docs/api.json +104 -8
  544. package/dist/docs/docs.json +73 -4
  545. package/dist/docs/vscode.css-custom-data.json +2 -2
  546. package/dist/docs/vscode.html-custom-data.json +21 -6
  547. package/dist/docs/web-types.json +49 -10
  548. package/dist/extras/vscode-data.json +21 -6
  549. package/dist/index.js +1 -1
  550. package/dist/loader.js +4 -4
  551. package/dist/types/lumina.d.ts +3 -3
  552. package/dist/types/preact.d.ts +3 -3
  553. package/dist/types/react.d.ts +3 -3
  554. package/dist/types/stencil.d.ts +3 -3
  555. package/package.json +2 -2
  556. package/dist/calcite/27RYSAA7.js +0 -4
  557. package/dist/calcite/27RYSAA7.js.LEGAL.txt +0 -3
  558. package/dist/calcite/2CPF354K.js +0 -4
  559. package/dist/calcite/2NI2AK7X.js +0 -4
  560. package/dist/calcite/2NI2AK7X.js.LEGAL.txt +0 -3
  561. package/dist/calcite/2PIFIIRN.js +0 -4
  562. package/dist/calcite/2PIFIIRN.js.LEGAL.txt +0 -3
  563. package/dist/calcite/2S3I5MSX.js +0 -4
  564. package/dist/calcite/2S3I5MSX.js.LEGAL.txt +0 -3
  565. package/dist/calcite/2S7JY7UZ.js +0 -4
  566. package/dist/calcite/2YKQ4MJZ.js +0 -4
  567. package/dist/calcite/2YKQ4MJZ.js.LEGAL.txt +0 -3
  568. package/dist/calcite/35ON6334.js +0 -4
  569. package/dist/calcite/3ACPUXEB.js +0 -4
  570. package/dist/calcite/3ACPUXEB.js.LEGAL.txt +0 -3
  571. package/dist/calcite/3FWBQV3D.js +0 -4
  572. package/dist/calcite/3FWBQV3D.js.LEGAL.txt +0 -3
  573. package/dist/calcite/3HT5J3KL.js +0 -6
  574. package/dist/calcite/3HT5J3KL.js.LEGAL.txt +0 -145
  575. package/dist/calcite/3U5FF3V7.js +0 -4
  576. package/dist/calcite/3U5FF3V7.js.LEGAL.txt +0 -3
  577. package/dist/calcite/3V5V3AOB.js +0 -4
  578. package/dist/calcite/3V5V3AOB.js.LEGAL.txt +0 -3
  579. package/dist/calcite/3VGWLMRR.js +0 -4
  580. package/dist/calcite/46YOQ3KM.js +0 -4
  581. package/dist/calcite/46YOQ3KM.js.LEGAL.txt +0 -3
  582. package/dist/calcite/4BZ25PD6.js +0 -4
  583. package/dist/calcite/4EHWVYN4.js +0 -4
  584. package/dist/calcite/4EHWVYN4.js.LEGAL.txt +0 -3
  585. package/dist/calcite/4HYAQQKI.js +0 -4
  586. package/dist/calcite/4HYAQQKI.js.LEGAL.txt +0 -3
  587. package/dist/calcite/4I6IH3RA.js +0 -4
  588. package/dist/calcite/4I6IH3RA.js.LEGAL.txt +0 -3
  589. package/dist/calcite/4KVJGLN3.js +0 -4
  590. package/dist/calcite/4KVJGLN3.js.LEGAL.txt +0 -3
  591. package/dist/calcite/4MXPDHM2.js +0 -4
  592. package/dist/calcite/4MXPDHM2.js.LEGAL.txt +0 -3
  593. package/dist/calcite/4PMO3RY7.js +0 -4
  594. package/dist/calcite/4PMO3RY7.js.LEGAL.txt +0 -3
  595. package/dist/calcite/4QHSAYYQ.js +0 -4
  596. package/dist/calcite/4R3F776V.js +0 -4
  597. package/dist/calcite/4R3F776V.js.LEGAL.txt +0 -3
  598. package/dist/calcite/4TQZH3EP.js +0 -4
  599. package/dist/calcite/4TQZH3EP.js.LEGAL.txt +0 -3
  600. package/dist/calcite/4WY5KVGP.js +0 -4
  601. package/dist/calcite/4WY5KVGP.js.LEGAL.txt +0 -3
  602. package/dist/calcite/53HZCONK.js +0 -4
  603. package/dist/calcite/53HZCONK.js.LEGAL.txt +0 -3
  604. package/dist/calcite/5JRLZY5S.js +0 -4
  605. package/dist/calcite/5JRLZY5S.js.LEGAL.txt +0 -3
  606. package/dist/calcite/5USZQ5BY.js +0 -4
  607. package/dist/calcite/5USZQ5BY.js.LEGAL.txt +0 -3
  608. package/dist/calcite/655OT76B.js +0 -4
  609. package/dist/calcite/655OT76B.js.LEGAL.txt +0 -3
  610. package/dist/calcite/6KSRHMGQ.js +0 -4
  611. package/dist/calcite/6KSRHMGQ.js.LEGAL.txt +0 -3
  612. package/dist/calcite/6MS3RRQK.js +0 -4
  613. package/dist/calcite/6MS3RRQK.js.LEGAL.txt +0 -3
  614. package/dist/calcite/6RDTREPX.js +0 -4
  615. package/dist/calcite/6RVFGX7P.js +0 -4
  616. package/dist/calcite/6RVFGX7P.js.LEGAL.txt +0 -3
  617. package/dist/calcite/6S2A3CDN.js +0 -4
  618. package/dist/calcite/6S2A3CDN.js.LEGAL.txt +0 -3
  619. package/dist/calcite/6VXLUHX7.js +0 -4
  620. package/dist/calcite/6XWAEKZ3.js +0 -4
  621. package/dist/calcite/6XWAEKZ3.js.LEGAL.txt +0 -3
  622. package/dist/calcite/7BBSAKLK.js +0 -4
  623. package/dist/calcite/7BBSAKLK.js.LEGAL.txt +0 -3
  624. package/dist/calcite/7JAIKLIV.js +0 -22
  625. package/dist/calcite/7JAIKLIV.js.LEGAL.txt +0 -3
  626. package/dist/calcite/7JMCLMYL.js +0 -4
  627. package/dist/calcite/7KK6BKT3.js +0 -4
  628. package/dist/calcite/7KK6BKT3.js.LEGAL.txt +0 -3
  629. package/dist/calcite/7NDRES5W.js +0 -4
  630. package/dist/calcite/7NDRES5W.js.LEGAL.txt +0 -3
  631. package/dist/calcite/7OK7U2UU.js +0 -4
  632. package/dist/calcite/7OK7U2UU.js.LEGAL.txt +0 -3
  633. package/dist/calcite/7ZT5P7KN.js +0 -4
  634. package/dist/calcite/7ZT5P7KN.js.LEGAL.txt +0 -3
  635. package/dist/calcite/AAI6G5ET.js +0 -4
  636. package/dist/calcite/AGAXWZQN.js +0 -4
  637. package/dist/calcite/AGAXWZQN.js.LEGAL.txt +0 -3
  638. package/dist/calcite/AHIBDXHP.js +0 -4
  639. package/dist/calcite/AHIBDXHP.js.LEGAL.txt +0 -3
  640. package/dist/calcite/AM4NGDBV.js +0 -4
  641. package/dist/calcite/APCH642W.js +0 -4
  642. package/dist/calcite/AQLDXIAR.js +0 -4
  643. package/dist/calcite/AQLDXIAR.js.LEGAL.txt +0 -3
  644. package/dist/calcite/ATJYB5HT.js +0 -4
  645. package/dist/calcite/ATJYB5HT.js.LEGAL.txt +0 -3
  646. package/dist/calcite/BA5IGACQ.js +0 -4
  647. package/dist/calcite/BA5IGACQ.js.LEGAL.txt +0 -3
  648. package/dist/calcite/BCGJXG37.js +0 -4
  649. package/dist/calcite/BETG4PIT.js +0 -4
  650. package/dist/calcite/BIOSVSV3.js +0 -4
  651. package/dist/calcite/BIOSVSV3.js.LEGAL.txt +0 -3
  652. package/dist/calcite/BKJF5BLX.js +0 -4
  653. package/dist/calcite/BKJF5BLX.js.LEGAL.txt +0 -3
  654. package/dist/calcite/BNFFWAMB.js +0 -4
  655. package/dist/calcite/BNFFWAMB.js.LEGAL.txt +0 -3
  656. package/dist/calcite/BYREJ5VU.js +0 -4
  657. package/dist/calcite/BYREJ5VU.js.LEGAL.txt +0 -3
  658. package/dist/calcite/C3TAYIDJ.js +0 -4
  659. package/dist/calcite/C3TAYIDJ.js.LEGAL.txt +0 -3
  660. package/dist/calcite/CAWLIJWU.js +0 -4
  661. package/dist/calcite/CAWLIJWU.js.LEGAL.txt +0 -3
  662. package/dist/calcite/CBGU7WPD.js +0 -4
  663. package/dist/calcite/CBGU7WPD.js.LEGAL.txt +0 -3
  664. package/dist/calcite/CBRCZV5H.js +0 -4
  665. package/dist/calcite/CBRCZV5H.js.LEGAL.txt +0 -3
  666. package/dist/calcite/CFUILRBD.js +0 -4
  667. package/dist/calcite/CFUILRBD.js.LEGAL.txt +0 -3
  668. package/dist/calcite/CPSZCCJQ.js +0 -4
  669. package/dist/calcite/CPSZCCJQ.js.LEGAL.txt +0 -3
  670. package/dist/calcite/CUCAMV6C.js +0 -4
  671. package/dist/calcite/CUCAMV6C.js.LEGAL.txt +0 -3
  672. package/dist/calcite/CYJ6ZDJ3.js +0 -5
  673. package/dist/calcite/CYJ6ZDJ3.js.LEGAL.txt +0 -17
  674. package/dist/calcite/CYS4OEUW.js +0 -4
  675. package/dist/calcite/CYS4OEUW.js.LEGAL.txt +0 -3
  676. package/dist/calcite/CZJO7JXG.js +0 -4
  677. package/dist/calcite/CZJO7JXG.js.LEGAL.txt +0 -3
  678. package/dist/calcite/DAYA6DBU.js +0 -4
  679. package/dist/calcite/DAYA6DBU.js.LEGAL.txt +0 -3
  680. package/dist/calcite/DCMFBYTX.js +0 -4
  681. package/dist/calcite/DCMFBYTX.js.LEGAL.txt +0 -3
  682. package/dist/calcite/DD54DD7L.js +0 -4
  683. package/dist/calcite/DQV5636E.js +0 -4
  684. package/dist/calcite/DQV5636E.js.LEGAL.txt +0 -3
  685. package/dist/calcite/DUIS7R4C.js +0 -4
  686. package/dist/calcite/E6QP5JQP.js +0 -4
  687. package/dist/calcite/E6QP5JQP.js.LEGAL.txt +0 -7
  688. package/dist/calcite/EBYITUAG.js +0 -4
  689. package/dist/calcite/EBYITUAG.js.LEGAL.txt +0 -3
  690. package/dist/calcite/EEQF2TK7.js +0 -4
  691. package/dist/calcite/EEQF2TK7.js.LEGAL.txt +0 -3
  692. package/dist/calcite/EH6FHX3Y.js +0 -4
  693. package/dist/calcite/EH6FHX3Y.js.LEGAL.txt +0 -3
  694. package/dist/calcite/EJ7KYKAV.js +0 -4
  695. package/dist/calcite/EJ7KYKAV.js.LEGAL.txt +0 -3
  696. package/dist/calcite/ERIYRPMS.js +0 -4
  697. package/dist/calcite/EWF7XMHL.js +0 -4
  698. package/dist/calcite/EXBYHURP.js +0 -4
  699. package/dist/calcite/EXBYHURP.js.LEGAL.txt +0 -3
  700. package/dist/calcite/F3IRMNPM.js +0 -4
  701. package/dist/calcite/F3IRMNPM.js.LEGAL.txt +0 -3
  702. package/dist/calcite/F4EMU5X6.js +0 -4
  703. package/dist/calcite/F4EMU5X6.js.LEGAL.txt +0 -3
  704. package/dist/calcite/F5JCZPWS.js +0 -4
  705. package/dist/calcite/FDFA6WOJ.js +0 -4
  706. package/dist/calcite/FDFA6WOJ.js.LEGAL.txt +0 -3
  707. package/dist/calcite/FFK2NJRU.js +0 -4
  708. package/dist/calcite/FFK2NJRU.js.LEGAL.txt +0 -3
  709. package/dist/calcite/FHV2GVRL.js +0 -4
  710. package/dist/calcite/FHV2GVRL.js.LEGAL.txt +0 -3
  711. package/dist/calcite/FIM2J6OF.js +0 -4
  712. package/dist/calcite/FPPZATEQ.js +0 -4
  713. package/dist/calcite/FPPZATEQ.js.LEGAL.txt +0 -3
  714. package/dist/calcite/FRYPPIZ5.js +0 -4
  715. package/dist/calcite/FRYPPIZ5.js.LEGAL.txt +0 -3
  716. package/dist/calcite/FTTYEHRB.js +0 -4
  717. package/dist/calcite/G2OAEZYX.js +0 -4
  718. package/dist/calcite/G2OAEZYX.js.LEGAL.txt +0 -3
  719. package/dist/calcite/G6YFQZGL.js +0 -4
  720. package/dist/calcite/G6YFQZGL.js.LEGAL.txt +0 -3
  721. package/dist/calcite/GDHGN3NR.js +0 -4
  722. package/dist/calcite/GDHGN3NR.js.LEGAL.txt +0 -3
  723. package/dist/calcite/GJ4D7RV4.js +0 -4
  724. package/dist/calcite/GJ4D7RV4.js.LEGAL.txt +0 -3
  725. package/dist/calcite/GKEKWIQI.js +0 -4
  726. package/dist/calcite/GKEKWIQI.js.LEGAL.txt +0 -3
  727. package/dist/calcite/GLDHHBJQ.js +0 -4
  728. package/dist/calcite/GLDHHBJQ.js.LEGAL.txt +0 -3
  729. package/dist/calcite/GLT7HLMW.js +0 -4
  730. package/dist/calcite/GLT7HLMW.js.LEGAL.txt +0 -3
  731. package/dist/calcite/GQNWTRMX.js +0 -4
  732. package/dist/calcite/HCDQSH7Q.js +0 -4
  733. package/dist/calcite/HCDQSH7Q.js.LEGAL.txt +0 -3
  734. package/dist/calcite/HDAIIFCM.js +0 -4
  735. package/dist/calcite/HFAISBAU.js +0 -4
  736. package/dist/calcite/HFAISBAU.js.LEGAL.txt +0 -3
  737. package/dist/calcite/HIMTTG6O.js +0 -5
  738. package/dist/calcite/HJGWKBK7.js +0 -4
  739. package/dist/calcite/HJGWKBK7.js.LEGAL.txt +0 -3
  740. package/dist/calcite/HJUTIRML.js +0 -5
  741. package/dist/calcite/HJUTIRML.js.LEGAL.txt +0 -3
  742. package/dist/calcite/HSIN3DKS.js +0 -4
  743. package/dist/calcite/HSIN3DKS.js.LEGAL.txt +0 -3
  744. package/dist/calcite/HSZMUQC3.js +0 -4
  745. package/dist/calcite/HSZMUQC3.js.LEGAL.txt +0 -3
  746. package/dist/calcite/HVDHZJ7N.js +0 -4
  747. package/dist/calcite/HVDHZJ7N.js.LEGAL.txt +0 -3
  748. package/dist/calcite/IJHWUE4V.js +0 -4
  749. package/dist/calcite/IQFHCJ3K.js +0 -4
  750. package/dist/calcite/IQFHCJ3K.js.LEGAL.txt +0 -3
  751. package/dist/calcite/IS7SIHO7.js +0 -4
  752. package/dist/calcite/J3CDIT2C.js +0 -4
  753. package/dist/calcite/J3CDIT2C.js.LEGAL.txt +0 -3
  754. package/dist/calcite/J4KPQXNH.js +0 -4
  755. package/dist/calcite/J4KPQXNH.js.LEGAL.txt +0 -3
  756. package/dist/calcite/J6CPE7GP.js +0 -4
  757. package/dist/calcite/J6CPE7GP.js.LEGAL.txt +0 -3
  758. package/dist/calcite/J6LVYQXS.js +0 -4
  759. package/dist/calcite/J6LVYQXS.js.LEGAL.txt +0 -3
  760. package/dist/calcite/JNAGBMYK.js +0 -4
  761. package/dist/calcite/JPGUS5M4.js +0 -4
  762. package/dist/calcite/JZ6F2253.js +0 -4
  763. package/dist/calcite/KBOAVIZJ.js +0 -4
  764. package/dist/calcite/KBOAVIZJ.js.LEGAL.txt +0 -3
  765. package/dist/calcite/KFHN4A7B.js +0 -4
  766. package/dist/calcite/KFHN4A7B.js.LEGAL.txt +0 -3
  767. package/dist/calcite/KIVQDKCY.js +0 -4
  768. package/dist/calcite/KIVQDKCY.js.LEGAL.txt +0 -3
  769. package/dist/calcite/KK6WZGMK.js +0 -4
  770. package/dist/calcite/KK6WZGMK.js.LEGAL.txt +0 -3
  771. package/dist/calcite/KMD4RGFV.js +0 -4
  772. package/dist/calcite/KMD4RGFV.js.LEGAL.txt +0 -3
  773. package/dist/calcite/KUAGRFQI.js +0 -4
  774. package/dist/calcite/KW7JMYHY.js +0 -4
  775. package/dist/calcite/KZ2YKFCL.js +0 -4
  776. package/dist/calcite/KZ2YKFCL.js.LEGAL.txt +0 -3
  777. package/dist/calcite/LAA6TZSQ.js +0 -4
  778. package/dist/calcite/LAA6TZSQ.js.LEGAL.txt +0 -3
  779. package/dist/calcite/LENIJD7U.js +0 -4
  780. package/dist/calcite/LENIJD7U.js.LEGAL.txt +0 -3
  781. package/dist/calcite/LODUVSOW.js +0 -4
  782. package/dist/calcite/LODUVSOW.js.LEGAL.txt +0 -13
  783. package/dist/calcite/LWEDGOPX.js +0 -4
  784. package/dist/calcite/M2BNK6H7.js +0 -4
  785. package/dist/calcite/M54DR74A.js +0 -4
  786. package/dist/calcite/MMAFDVTH.js +0 -4
  787. package/dist/calcite/N3RQC6BF.js +0 -4
  788. package/dist/calcite/N3RQC6BF.js.LEGAL.txt +0 -3
  789. package/dist/calcite/NHYA2OTW.js +0 -4
  790. package/dist/calcite/NIIFUOJM.js +0 -4
  791. package/dist/calcite/NMIRWNWY.js +0 -4
  792. package/dist/calcite/NMIRWNWY.js.LEGAL.txt +0 -3
  793. package/dist/calcite/NRK6EEQL.js +0 -4
  794. package/dist/calcite/NTODCWOJ.js +0 -4
  795. package/dist/calcite/NZTW5UZS.js +0 -4
  796. package/dist/calcite/NZTW5UZS.js.LEGAL.txt +0 -3
  797. package/dist/calcite/O4B5SEBT.js +0 -4
  798. package/dist/calcite/O4B5SEBT.js.LEGAL.txt +0 -3
  799. package/dist/calcite/OB7UWNYC.js +0 -4
  800. package/dist/calcite/OF72SZSG.js +0 -4
  801. package/dist/calcite/OF72SZSG.js.LEGAL.txt +0 -3
  802. package/dist/calcite/OLGD4FN6.js +0 -4
  803. package/dist/calcite/OLGD4FN6.js.LEGAL.txt +0 -3
  804. package/dist/calcite/OO6MPRU7.js +0 -4
  805. package/dist/calcite/OO6MPRU7.js.LEGAL.txt +0 -3
  806. package/dist/calcite/OXPTOABZ.js +0 -4
  807. package/dist/calcite/OXPTOABZ.js.LEGAL.txt +0 -3
  808. package/dist/calcite/OYFBOYLO.js +0 -4
  809. package/dist/calcite/OYFBOYLO.js.LEGAL.txt +0 -3
  810. package/dist/calcite/P3VLCSAW.js +0 -4
  811. package/dist/calcite/P4S7BIXJ.js +0 -4
  812. package/dist/calcite/P4S7BIXJ.js.LEGAL.txt +0 -3
  813. package/dist/calcite/P5RKAN63.js +0 -4
  814. package/dist/calcite/P5RKAN63.js.LEGAL.txt +0 -3
  815. package/dist/calcite/P73ZU7HF.js +0 -4
  816. package/dist/calcite/P73ZU7HF.js.LEGAL.txt +0 -3
  817. package/dist/calcite/P7IT3LAO.js +0 -4
  818. package/dist/calcite/P7IT3LAO.js.LEGAL.txt +0 -3
  819. package/dist/calcite/PQLBOHSK.js +0 -4
  820. package/dist/calcite/PQLBOHSK.js.LEGAL.txt +0 -3
  821. package/dist/calcite/PTA647TH.js +0 -4
  822. package/dist/calcite/PTA647TH.js.LEGAL.txt +0 -3
  823. package/dist/calcite/PZN6RBP5.js +0 -4
  824. package/dist/calcite/QAUQY4DX.js +0 -4
  825. package/dist/calcite/QAUQY4DX.js.LEGAL.txt +0 -3
  826. package/dist/calcite/QFXXCWF3.js +0 -4
  827. package/dist/calcite/QFXXCWF3.js.LEGAL.txt +0 -3
  828. package/dist/calcite/QI5COBQT.js +0 -4
  829. package/dist/calcite/QI5COBQT.js.LEGAL.txt +0 -3
  830. package/dist/calcite/QINK6GNK.js +0 -4
  831. package/dist/calcite/QINK6GNK.js.LEGAL.txt +0 -3
  832. package/dist/calcite/R3EO3VKB.js +0 -4
  833. package/dist/calcite/R3EO3VKB.js.LEGAL.txt +0 -3
  834. package/dist/calcite/RAGCB3ZX.js +0 -4
  835. package/dist/calcite/RJGL7EBM.js +0 -4
  836. package/dist/calcite/RL4EPV57.js +0 -4
  837. package/dist/calcite/RL4EPV57.js.LEGAL.txt +0 -3
  838. package/dist/calcite/RL65GVVM.js +0 -4
  839. package/dist/calcite/RLUBBKXO.js +0 -4
  840. package/dist/calcite/RLUBBKXO.js.LEGAL.txt +0 -3
  841. package/dist/calcite/RPCFHJVH.js +0 -4
  842. package/dist/calcite/RQQU3MSC.js +0 -4
  843. package/dist/calcite/RT3W5CNY.js +0 -4
  844. package/dist/calcite/RXEXR5VN.js +0 -4
  845. package/dist/calcite/RXEXR5VN.js.LEGAL.txt +0 -3
  846. package/dist/calcite/S353POWI.js +0 -4
  847. package/dist/calcite/S353POWI.js.LEGAL.txt +0 -3
  848. package/dist/calcite/S4OQLGH7.js +0 -4
  849. package/dist/calcite/S7SG32O5.js +0 -4
  850. package/dist/calcite/S7SG32O5.js.LEGAL.txt +0 -3
  851. package/dist/calcite/SCPHDSZW.js +0 -4
  852. package/dist/calcite/SCPHDSZW.js.LEGAL.txt +0 -3
  853. package/dist/calcite/SEMGL6KO.js +0 -4
  854. package/dist/calcite/SEMGL6KO.js.LEGAL.txt +0 -3
  855. package/dist/calcite/SENT7CI6.js +0 -4
  856. package/dist/calcite/SENT7CI6.js.LEGAL.txt +0 -3
  857. package/dist/calcite/SH36JHKJ.js +0 -4
  858. package/dist/calcite/SH36JHKJ.js.LEGAL.txt +0 -3
  859. package/dist/calcite/SUSOAMBX.js +0 -4
  860. package/dist/calcite/SVQMMQZL.js +0 -4
  861. package/dist/calcite/SYSXW474.js +0 -4
  862. package/dist/calcite/SYSXW474.js.LEGAL.txt +0 -3
  863. package/dist/calcite/T2JFV5XR.js +0 -4
  864. package/dist/calcite/T2JFV5XR.js.LEGAL.txt +0 -3
  865. package/dist/calcite/T7EQ3TQU.js +0 -4
  866. package/dist/calcite/T7EQ3TQU.js.LEGAL.txt +0 -3
  867. package/dist/calcite/TA4OEIRL.js +0 -4
  868. package/dist/calcite/TJ6XTRHG.js +0 -4
  869. package/dist/calcite/TJ6XTRHG.js.LEGAL.txt +0 -3
  870. package/dist/calcite/U2UFAPEX.js +0 -4
  871. package/dist/calcite/U2UFAPEX.js.LEGAL.txt +0 -3
  872. package/dist/calcite/U6LKZEJJ.js +0 -4
  873. package/dist/calcite/U6LKZEJJ.js.LEGAL.txt +0 -3
  874. package/dist/calcite/UAH3V5OC.js +0 -4
  875. package/dist/calcite/UFBNDCDK.js +0 -4
  876. package/dist/calcite/UFIFJZ4E.js +0 -4
  877. package/dist/calcite/UFIFJZ4E.js.LEGAL.txt +0 -3
  878. package/dist/calcite/UGAZHBRH.js +0 -4
  879. package/dist/calcite/UIHXVN3K.js +0 -4
  880. package/dist/calcite/UIHXVN3K.js.LEGAL.txt +0 -3
  881. package/dist/calcite/UKJ7PSLD.js +0 -28
  882. package/dist/calcite/UKJ7PSLD.js.LEGAL.txt +0 -3
  883. package/dist/calcite/ULC5OEUH.js +0 -4
  884. package/dist/calcite/ULUVYZLD.js +0 -4
  885. package/dist/calcite/UVE76RHM.js +0 -4
  886. package/dist/calcite/UVE76RHM.js.LEGAL.txt +0 -3
  887. package/dist/calcite/UX3OSWH7.js +0 -4
  888. package/dist/calcite/V3RVOO37.js +0 -4
  889. package/dist/calcite/V3RVOO37.js.LEGAL.txt +0 -3
  890. package/dist/calcite/V7OZYA7V.js +0 -4
  891. package/dist/calcite/W32UFKRO.js +0 -4
  892. package/dist/calcite/W32UFKRO.js.LEGAL.txt +0 -3
  893. package/dist/calcite/WE7ZMUZF.js +0 -4
  894. package/dist/calcite/WE7ZMUZF.js.LEGAL.txt +0 -3
  895. package/dist/calcite/WGRZVZVP.js +0 -4
  896. package/dist/calcite/WGRZVZVP.js.LEGAL.txt +0 -3
  897. package/dist/calcite/WKHT3E5C.js +0 -4
  898. package/dist/calcite/WKHT3E5C.js.LEGAL.txt +0 -3
  899. package/dist/calcite/WPGANYA5.js +0 -4
  900. package/dist/calcite/WPWHLYUT.js +0 -4
  901. package/dist/calcite/WPWHLYUT.js.LEGAL.txt +0 -3
  902. package/dist/calcite/WR6DQRU6.js +0 -4
  903. package/dist/calcite/XEJMAIZP.js +0 -4
  904. package/dist/calcite/XEJMAIZP.js.LEGAL.txt +0 -3
  905. package/dist/calcite/Y34YATR2.js +0 -4
  906. package/dist/calcite/Y34YATR2.js.LEGAL.txt +0 -3
  907. package/dist/calcite/Y4WFNKNV.js +0 -4
  908. package/dist/calcite/Y4WFNKNV.js.LEGAL.txt +0 -3
  909. package/dist/calcite/Y6KDNOYZ.js +0 -4
  910. package/dist/calcite/Y7T7M3XX.js +0 -4
  911. package/dist/calcite/Y7T7M3XX.js.LEGAL.txt +0 -3
  912. package/dist/calcite/YEMINO5Y.js +0 -4
  913. package/dist/calcite/YEMINO5Y.js.LEGAL.txt +0 -3
  914. package/dist/calcite/YHHJEJ4J.js +0 -4
  915. package/dist/calcite/YHHJEJ4J.js.LEGAL.txt +0 -3
  916. package/dist/calcite/YHI5G47D.js +0 -4
  917. package/dist/calcite/YHI5G47D.js.LEGAL.txt +0 -3
  918. package/dist/calcite/YMGJGC5A.js +0 -4
  919. package/dist/calcite/YMGJGC5A.js.LEGAL.txt +0 -3
  920. package/dist/calcite/YMRPJ47B.js +0 -4
  921. package/dist/calcite/YMRPJ47B.js.LEGAL.txt +0 -3
  922. package/dist/calcite/YTTIO27T.js +0 -4
  923. package/dist/calcite/YZ6FOZIH.js +0 -4
  924. package/dist/calcite/YZ6FOZIH.js.LEGAL.txt +0 -3
  925. package/dist/calcite/YZYW5FZ4.js +0 -4
  926. package/dist/calcite/Z5I7GIVO.js +0 -5
  927. package/dist/calcite/Z5OGYXEI.js +0 -4
  928. package/dist/calcite/Z5OGYXEI.js.LEGAL.txt +0 -3
  929. package/dist/calcite/ZB7NJBO6.js +0 -4
  930. package/dist/calcite/ZLCE46MT.js +0 -4
  931. package/dist/calcite/ZLCE46MT.js.LEGAL.txt +0 -3
  932. package/dist/calcite/ZXS7RFTQ.js +0 -4
  933. /package/dist/calcite/{2CPF354K.js.LEGAL.txt → 2BNVLYXI.js.LEGAL.txt} +0 -0
  934. /package/dist/calcite/{35ON6334.js.LEGAL.txt → 3PCDTCK6.js.LEGAL.txt} +0 -0
  935. /package/dist/calcite/{3VGWLMRR.js.LEGAL.txt → 4BDYE7JM.js.LEGAL.txt} +0 -0
  936. /package/dist/calcite/{4BZ25PD6.js.LEGAL.txt → 5CHSEFC6.js.LEGAL.txt} +0 -0
  937. /package/dist/calcite/{4QHSAYYQ.js.LEGAL.txt → 5DBBORUA.js.LEGAL.txt} +0 -0
  938. /package/dist/calcite/{6RDTREPX.js.LEGAL.txt → 6SMIX55T.js.LEGAL.txt} +0 -0
  939. /package/dist/calcite/{HIMTTG6O.js.LEGAL.txt → 7SPESWBP.js.LEGAL.txt} +0 -0
  940. /package/dist/calcite/{6VXLUHX7.js.LEGAL.txt → A4MKJNJE.js.LEGAL.txt} +0 -0
  941. /package/dist/calcite/{NRK6EEQL.js.LEGAL.txt → AQE7VMEK.js.LEGAL.txt} +0 -0
  942. /package/dist/calcite/{7JMCLMYL.js.LEGAL.txt → AW5GGDLS.js.LEGAL.txt} +0 -0
  943. /package/dist/calcite/{AAI6G5ET.js.LEGAL.txt → AWPXY5W7.js.LEGAL.txt} +0 -0
  944. /package/dist/calcite/{AM4NGDBV.js.LEGAL.txt → B23UODTI.js.LEGAL.txt} +0 -0
  945. /package/dist/calcite/{APCH642W.js.LEGAL.txt → B652AZAM.js.LEGAL.txt} +0 -0
  946. /package/dist/calcite/{BCGJXG37.js.LEGAL.txt → BLFD3YM6.js.LEGAL.txt} +0 -0
  947. /package/dist/calcite/{BETG4PIT.js.LEGAL.txt → CVX3PCDY.js.LEGAL.txt} +0 -0
  948. /package/dist/calcite/{DD54DD7L.js.LEGAL.txt → DESVBIHE.js.LEGAL.txt} +0 -0
  949. /package/dist/calcite/{DUIS7R4C.js.LEGAL.txt → EJWX6MRL.js.LEGAL.txt} +0 -0
  950. /package/dist/calcite/{S4OQLGH7.js.LEGAL.txt → FNWT3NPP.js.LEGAL.txt} +0 -0
  951. /package/dist/calcite/{ERIYRPMS.js.LEGAL.txt → FV66JP4A.js.LEGAL.txt} +0 -0
  952. /package/dist/calcite/{EWF7XMHL.js.LEGAL.txt → G2NOFGJQ.js.LEGAL.txt} +0 -0
  953. /package/dist/calcite/{F5JCZPWS.js.LEGAL.txt → GANMJE2A.js.LEGAL.txt} +0 -0
  954. /package/dist/calcite/{FIM2J6OF.js.LEGAL.txt → GKVQPKAV.js.LEGAL.txt} +0 -0
  955. /package/dist/calcite/{FTTYEHRB.js.LEGAL.txt → GMIP5SBM.js.LEGAL.txt} +0 -0
  956. /package/dist/calcite/{GQNWTRMX.js.LEGAL.txt → GTDL4EGB.js.LEGAL.txt} +0 -0
  957. /package/dist/calcite/{2S7JY7UZ.js.LEGAL.txt → GW5M7LYN.js.LEGAL.txt} +0 -0
  958. /package/dist/calcite/{HDAIIFCM.js.LEGAL.txt → GZQHEJ4Z.js.LEGAL.txt} +0 -0
  959. /package/dist/calcite/{IJHWUE4V.js.LEGAL.txt → HBXG346K.js.LEGAL.txt} +0 -0
  960. /package/dist/calcite/{IS7SIHO7.js.LEGAL.txt → HVGKS6W2.js.LEGAL.txt} +0 -0
  961. /package/dist/calcite/{JPGUS5M4.js.LEGAL.txt → HVVVTL5Z.js.LEGAL.txt} +0 -0
  962. /package/dist/calcite/{JZ6F2253.js.LEGAL.txt → IHQR6CVF.js.LEGAL.txt} +0 -0
  963. /package/dist/calcite/{KUAGRFQI.js.LEGAL.txt → IPNQSV75.js.LEGAL.txt} +0 -0
  964. /package/dist/calcite/{KW7JMYHY.js.LEGAL.txt → J7MKGBS3.js.LEGAL.txt} +0 -0
  965. /package/dist/calcite/{LWEDGOPX.js.LEGAL.txt → JY4ZIZBL.js.LEGAL.txt} +0 -0
  966. /package/dist/calcite/{M2BNK6H7.js.LEGAL.txt → K3QXGD7K.js.LEGAL.txt} +0 -0
  967. /package/dist/calcite/{M54DR74A.js.LEGAL.txt → KOZBB6ZS.js.LEGAL.txt} +0 -0
  968. /package/dist/calcite/{MMAFDVTH.js.LEGAL.txt → KYYYHMEW.js.LEGAL.txt} +0 -0
  969. /package/dist/calcite/{NHYA2OTW.js.LEGAL.txt → M3KR4STR.js.LEGAL.txt} +0 -0
  970. /package/dist/calcite/{NIIFUOJM.js.LEGAL.txt → MDKXPZOV.js.LEGAL.txt} +0 -0
  971. /package/dist/calcite/{NTODCWOJ.js.LEGAL.txt → MGGZKYLM.js.LEGAL.txt} +0 -0
  972. /package/dist/calcite/{OB7UWNYC.js.LEGAL.txt → MLYYBWQL.js.LEGAL.txt} +0 -0
  973. /package/dist/calcite/{P3VLCSAW.js.LEGAL.txt → MN6X3434.js.LEGAL.txt} +0 -0
  974. /package/dist/calcite/{PZN6RBP5.js.LEGAL.txt → NYKAOK3R.js.LEGAL.txt} +0 -0
  975. /package/dist/calcite/{RAGCB3ZX.js.LEGAL.txt → O6KYQQHE.js.LEGAL.txt} +0 -0
  976. /package/dist/calcite/{RJGL7EBM.js.LEGAL.txt → ODAVAGH7.js.LEGAL.txt} +0 -0
  977. /package/dist/calcite/{RL65GVVM.js.LEGAL.txt → PJ6D6ZSD.js.LEGAL.txt} +0 -0
  978. /package/dist/calcite/{RPCFHJVH.js.LEGAL.txt → PVVQTSHT.js.LEGAL.txt} +0 -0
  979. /package/dist/calcite/{RQQU3MSC.js.LEGAL.txt → Q73WPYBA.js.LEGAL.txt} +0 -0
  980. /package/dist/calcite/{RT3W5CNY.js.LEGAL.txt → RAI3I5UU.js.LEGAL.txt} +0 -0
  981. /package/dist/calcite/{SUSOAMBX.js.LEGAL.txt → RLT72FZL.js.LEGAL.txt} +0 -0
  982. /package/dist/calcite/{SVQMMQZL.js.LEGAL.txt → RPL62UOT.js.LEGAL.txt} +0 -0
  983. /package/dist/calcite/{TA4OEIRL.js.LEGAL.txt → RVMLVZQN.js.LEGAL.txt} +0 -0
  984. /package/dist/calcite/{JNAGBMYK.js.LEGAL.txt → SIH6ZWOL.js.LEGAL.txt} +0 -0
  985. /package/dist/calcite/{UAH3V5OC.js.LEGAL.txt → TOJ4OIEH.js.LEGAL.txt} +0 -0
  986. /package/dist/calcite/{UFBNDCDK.js.LEGAL.txt → UAUY2IRU.js.LEGAL.txt} +0 -0
  987. /package/dist/calcite/{UGAZHBRH.js.LEGAL.txt → VBBDJ4RC.js.LEGAL.txt} +0 -0
  988. /package/dist/calcite/{ULC5OEUH.js.LEGAL.txt → WBVXQXK4.js.LEGAL.txt} +0 -0
  989. /package/dist/calcite/{ULUVYZLD.js.LEGAL.txt → WGLGBVXZ.js.LEGAL.txt} +0 -0
  990. /package/dist/calcite/{UX3OSWH7.js.LEGAL.txt → WSWPTF3Q.js.LEGAL.txt} +0 -0
  991. /package/dist/calcite/{V7OZYA7V.js.LEGAL.txt → WZTBVI6A.js.LEGAL.txt} +0 -0
  992. /package/dist/calcite/{WPGANYA5.js.LEGAL.txt → XEJNASX3.js.LEGAL.txt} +0 -0
  993. /package/dist/calcite/{WR6DQRU6.js.LEGAL.txt → XTUMZAUR.js.LEGAL.txt} +0 -0
  994. /package/dist/calcite/{Y6KDNOYZ.js.LEGAL.txt → YDNUAZ6V.js.LEGAL.txt} +0 -0
  995. /package/dist/calcite/{YTTIO27T.js.LEGAL.txt → YERP7URR.js.LEGAL.txt} +0 -0
  996. /package/dist/calcite/{YZYW5FZ4.js.LEGAL.txt → Z3FHRAMC.js.LEGAL.txt} +0 -0
  997. /package/dist/calcite/{Z5I7GIVO.js.LEGAL.txt → ZHLIGRYA.js.LEGAL.txt} +0 -0
  998. /package/dist/calcite/{ZB7NJBO6.js.LEGAL.txt → ZVWUYIBE.js.LEGAL.txt} +0 -0
  999. /package/dist/calcite/{ZXS7RFTQ.js.LEGAL.txt → ZW3G7QPA.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.1.0-next.22 */
4
+ import{A as h,j as b,k as E}from"./K7JWMCF5.js";var L="calciteInternalLabelClick",m="calciteInternalLabelConnected",f="calciteInternalLabelDisconnected",v="calcite-label",o=new WeakMap,r=new WeakMap,c=new WeakMap,d=new WeakMap,s=new Set,w=e=>{let{id:t}=e,n=t&&b(e,{selector:`${v}[for="${t}"]`});if(n)return n;let l=E(e,v);return!l||C(l,e)?null:l};function C(e,t){let n,l="custom-element-ancestor-check",i=a=>{a.stopImmediatePropagation();let u=a.composedPath();n=u.slice(u.indexOf(t),u.indexOf(e))};return e.addEventListener(l,i,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,i),n.filter(a=>a!==t&&a!==e).filter(a=>a.tagName?.includes("-")).length>0}function p(e){if(!e)return;let t=w(e.el);if(r.has(t)&&t===e.labelEl||!t&&s.has(e))return;let n=M.bind(e);if(t){e.labelEl=t;let l=o.get(t)||[];l.push(e),o.set(t,l.sort(k)),r.has(e.labelEl)||(r.set(e.labelEl,g),e.labelEl.addEventListener(L,g)),s.delete(e),document.removeEventListener(m,c.get(e)),d.set(e,n),document.addEventListener(f,n)}else s.has(e)||(n(),document.removeEventListener(f,d.get(e)))}function y(e){if(!e||(s.delete(e),document.removeEventListener(m,c.get(e)),document.removeEventListener(f,d.get(e)),c.delete(e),d.delete(e),!e.labelEl))return;let t=o.get(e.labelEl);t.length===1&&(e.labelEl.removeEventListener(L,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter(n=>n!==e).sort(k)),e.labelEl=null}function k(e,t){return h(e.el,t.el)?-1:1}function O(e){return e.label||e.labelEl?.textContent?.trim()||""}function g(e){let t=e.detail.sourceEvent.target,n=o.get(this),l=n.find(a=>a.el===t);if(n.includes(l))return;let i=n[0];i.disabled||i.onLabelClick(e)}function I(){s.has(this)&&p(this)}function M(){s.add(this);let e=c.get(this)||I.bind(this);c.set(this,e),document.addEventListener(m,e)}async function W(e){if(await e.componentOnReady(),o.has(e))return;let t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame(()=>{for(let n of s)if(n.el===t){p(n);break}})}export{m as a,f as b,p as c,y as d,O as e,W as f};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{l as G}from"./2T2XUMXE.js";import{a as C}from"./SIH6ZWOL.js";import{c as W,e as j,f as A,h as H}from"./FYGGK3L3.js";import{c as N,d as q}from"./222KNDXA.js";import{a as k,b as U}from"./X2D6QAKT.js";import{a as F}from"./AQE7VMEK.js";import"./Q4BGFGY4.js";import{a as V}from"./PLEUO4XJ.js";import{b as R}from"./FNWT3NPP.js";import"./K7JWMCF5.js";import{d as _}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{B as S,J as M,e as D,f as g,j as T,v as b,w as E,x as L}from"./33M7X2VV.js";var ee={offset:"offset"},te=60;function x(o){return o.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function oe(o,e){let t=w(o,"en-US",e).replace("GMT","");return t===""?0:Number(x(t))*te}function ie(){return new Date().getTimezoneOffset()*-1}function se(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ae(o){if(o==="offset")return t=>t;let{normalize:e}=await import("./MN6X3434.js");return e}async function ne(o,e,t,i,l){if(t==="name"){let{groupByName:a}=await import("./VBBDJ4RC.js");return(await a()).map(({label:n})=>({label:n,value:n,metadata:{filterValue:n}})).filter(n=>!!n).sort()}let u=l==="user"?o:l==="utc"?"fr":"en-GB",d=i.getTime();if(t==="region"){let[{groupByRegion:a},{getCountry:n,global:m}]=await Promise.all([import("./5CHSEFC6.js"),import("./XEJNASX3.js")]);return(await a()).map(({label:s,tzs:c})=>(c.sort((r,h)=>{let v=I(r,e),y=I(h,e),p="Etc/GMT";if(r.startsWith(p)&&h.startsWith(p)){let f=r.substring(p.length),P=h.substring(p.length),Y=f===""?0:parseInt(f);return(P===""?0:parseInt(P))-Y}return v.localeCompare(y)}),{label:$(e,s),items:c.map(r=>{let h=x(w(r,u,d)),v=I(r,e),y=s===m?`${I(m,e)} Etc`:J(r),p=n(r),f=$(e,p);return{label:v,value:r,metadata:{country:f===v?void 0:f,filterValue:y,offset:h}}})})).sort((s,c)=>s.label===m?-1:c.label===m?1:s.label.localeCompare(c.label))}let[{groupByOffset:Z},{DateEngine:Q}]=await Promise.all([import("./YDNUAZ6V.js"),import("./KYYYHMEW.js")]),z=await Z({dateEngine:new Q,groupDateRange:1,startDate:new Date(d).toISOString()}),X=new Intl.ListFormat(o,{style:"long",type:"conjunction"}),B=["Factory","Etc/UTC"];return z.forEach(a=>{let n=[],m=0;a.tzs.forEach((s,c)=>{B.includes(s)&&m++,n[c]=m}),a.tzs=a.tzs.filter(s=>!B.includes(s)),a.labelTzIdx=a.labelTzIdx.map(s=>s-n[s]).filter(s=>s>=0&&s<a.tzs.length)}),z.map(({labelTzIdx:a,tzs:n})=>{let m=n[0],s=x(w(m,u,d)),c=oe(m,d),r=a.map(h=>I(n[h],e));return{label:me(e,s,X.format(r)),value:c,metadata:{filterValue:n.map(h=>J(h))}}}).filter(a=>!!a).sort((a,n)=>a.value-n.value)}function I(o,e){return e[o]||re(o)}function le(o,e,t){return t.timeZoneRegionLabel.replace("{city}",o).replace("{country}",$(t,e))}function $(o,e){return o[e]||e}function re(o){return o.split("/").pop()}function J(o){return o.replace(/_/g," ")}function me(o,e,t){return o.timeZoneLabel.replace("{offset}",e).replace("{cities}",t)}function w(o,e,t=Date.now()){return o==="Factory"&&(o="Etc/GMT"),G(e,{timeZone:o,timeZoneName:"shortOffset"}).formatToParts(t).find(({type:i})=>i==="timeZoneName").value}function ce(o){return o.items!==void 0}function he(o){return ce(o[0])?o.flatMap(e=>e.items):o}function K(o,e,t){return t==null?null:he(o).find(i=>i[e]==t)}var de=D`: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:block}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::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}`,O=class extends E{constructor(){super(...arguments),this.clearable=!1,this.disabled=!1,this.maxItems=0,this.messages=V({blocking:!0}),this.mode="offset",this.offsetStyle="user",this.open=!1,this.overlayPositioning="absolute",this.readOnly=!1,this.required=!1,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.calciteInputTimeZoneBeforeClose=b({cancelable:!1}),this.calciteInputTimeZoneBeforeOpen=b({cancelable:!1}),this.calciteInputTimeZoneChange=b({cancelable:!1}),this.calciteInputTimeZoneClose=b({cancelable:!1}),this.calciteInputTimeZoneOpen=b({cancelable:!1})}static{this.properties={clearable:7,disabled:7,form:3,maxItems:11,messageOverrides:0,mode:3,name:3,offsetStyle:3,open:7,overlayPositioning:3,readOnly:7,referenceDate:1,required:7,scale:3,status:3,validationIcon:[3,{converter:S}],validationMessage:1,validity:0,value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=de}get value(){return this._value}set value(e){this._value=e}async setFocus(){await _(this),await this.comboboxEl.setFocus()}connectedCallback(){super.connectedCallback(),W(this),N(this)}async load(){this.normalizer=await ae(this.mode),await this.updateTimeZoneItems();let e=this.value,t=this.normalizeValue(e);this.value=t||(e===""?t:void 0),this.updateTimeZoneSelection();let i=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";A(this,i),this.value=i}willUpdate(e){e.has("value")&&this.hasUpdated&&this.handleValueChange(this.value,e.get("value")),(e.has("messages")||e.has("mode")&&(this.hasUpdated||this.mode!=="offset")||e.has("referenceDate"))&&this.handleTimeZoneItemPropsChange(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openChanged()}updated(){k(this)}loaded(){this.overrideSelectedLabelForRegion(this.open),this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),j(this),q(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxEl&&(this.comboboxEl.open=this.open)}async handleValueChange(e,t){let i=this.normalizeValue(e);if(!i){if(this.clearable){this._value=i,this.selectedTimeZoneItem=null;return}this._value=t,this.selectedTimeZoneItem=this.findTimeZoneItem(t);return}let l=this.findTimeZoneItem(i);if(!l){this._value=t;return}this._value=i,this.selectedTimeZoneItem=l,i!==e&&(await this.updateComplete,this.overrideSelectedLabelForRegion(this.open))}onLabelClick(){this.setFocus()}setComboboxRef(e){this.comboboxEl=e}overrideSelectedLabelForRegion(e){if(this.mode!=="region"||!this.selectedTimeZoneItem)return;let{label:t,metadata:i}=this.selectedTimeZoneItem;this.comboboxEl.selectedItems[0].textLabel=!i.country||e?t:le(t,i.country,this.messages)}onComboboxBeforeClose(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()}onComboboxBeforeOpen(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()}onComboboxChange(e){e.stopPropagation();let t=e.target.selectedItems[0];if(!t){this._value="",this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let i=this.findTimeZoneItemByLabel(t.getAttribute("data-label")),l=`${i.value}`;this.value===l&&i.label===this.selectedTimeZoneItem.label||(this._value=l,this.selectedTimeZoneItem=i,this.calciteInputTimeZoneChange.emit())}onComboboxClose(e){e.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()}onComboboxOpen(e){this.open=!0,e.stopPropagation(),this.calciteInputTimeZoneOpen.emit()}findTimeZoneItem(e){return K(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return K(this.timeZoneItems,"label",e)}async updateTimeZoneItems(){this.timeZoneItems=await this.createTimeZoneItems()}updateTimeZoneSelection(){if(this.value===""&&this.clearable){this.selectedTimeZoneItem=null;return}let e=this.mode==="offset"?ie():se(),t=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(t)||this.findTimeZoneItem(e)}async createTimeZoneItems(){return!this.messages._lang||!this.messages?[]:ne(this.messages._lang,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()),this.offsetStyle)}normalizeValue(e){return e=e===void 0?"":e,e&&this.normalizer(e)}render(){return U({disabled:this.disabled,children:g`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} lang=${this.messages._lang??T} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.mode==="name"?this.messages.namePlaceholder:this.mode==="offset"?this.messages.offsetPlaceholder:this.messages.regionPlaceholder} placeholder-icon=search .readOnly=${this.readOnly} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${R(this.setComboboxRef)}>${this.renderItems()}</calcite-combobox>${H({component:this})}`})}renderItems(){return this.mode==="region"?this.renderRegionItems():C(this.timeZoneItems,({label:e})=>e,e=>{let t=this.selectedTimeZoneItem===e,{label:i,metadata:l,value:u}=e;return g`<calcite-combobox-item data-label=${i??T} .metadata=${l} .selected=${t} .textLabel=${i} .value=${u}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:t})=>F(e,g`<calcite-combobox-item-group .label=${e}>${C(t,({label:i})=>i,i=>{let l=this.selectedTimeZoneItem===i,{label:u,metadata:d,value:Z}=i;return g`<calcite-combobox-item data-label=${u??T} .description=${d.country} .metadata=${d} .selected=${l} .textLabel=${u} .value=${Z}><span class=${L(ee.offset)} slot=content-end>${d.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};M("calcite-input-time-zone",O);export{O as InputTimeZone};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{a as U}from"./NKL722H7.js";import{c as S,e as A,f as M,h as D}from"./FYGGK3L3.js";import{c as k,d as x}from"./222KNDXA.js";import{a as b,b as C}from"./X2D6QAKT.js";import{e as w,v as y}from"./K7JWMCF5.js";import{d as I}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{B as f,G as g,J as v,e as h,f as c,v as m,w as p,x as u}from"./33M7X2VV.js";var $={itemWrapper:"item-wrapper"},E={validationMessage:"segmentedControlValidationMessage"},z=h`: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:flex;flex-direction:column}.item-wrapper{display:flex;background-color:var(--calcite-color-foreground-1);inline-size:fit-content;outline:1px solid var(--calcite-segmented-control-border-color, var(--calcite-color-border-input));outline-offset:-1px}:host([appearance=outline])>.item-wrapper{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([layout=vertical])>.item-wrapper{flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full])>.item-wrapper{inline-size:100%;min-inline-size:fit-content}:host([width=full])>.item-wrapper ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical])>.item-wrapper ::slotted(calcite-segmented-control-item){justify-content:flex-start}.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}`,d=class extends p{constructor(){super(),this.items=[],this.appearance="solid",this.disabled=!1,this.layout="horizontal",this.required=!1,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=null,this.width="auto",this.calciteSegmentedControlChange=m({cancelable:!1}),this.listen("calciteInternalSegmentedControlItemChange",this.handleSelected),this.listen("keydown",this.handleKeyDown),this.listen("click",this.handleClick)}static{this.properties={appearance:3,disabled:7,form:3,layout:3,name:3,required:7,scale:3,selectedItem:0,status:3,validationIcon:[3,{converter:f}],validationMessage:1,validity:0,value:1,width:3}}static{this.styles=z}async setFocus(){await I(this),(this.selectedItem||this.items[0])?.focus()}connectedCallback(){super.connectedCallback(),k(this),S(this)}willUpdate(t){(t.has("appearance")&&(this.hasUpdated||this.appearance!=="solid")||t.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.handleItemPropChange(),t.has("value")&&(this.hasUpdated||this.value!==null)&&this.valueHandler(this.value),t.has("selectedItem")&&this.handleSelectedItemChange(this.selectedItem,t.get("selectedItem"))}updated(){b(this)}loaded(){M(this,this.value)}disconnectedCallback(){super.disconnectedCallback(),x(this),A(this)}valueHandler(t){let{items:e}=this;e.forEach(a=>a.checked=a.value===t)}handleSelectedItemChange(t,e){if(this.value=t?.value,t===e)return;let{items:a}=this,s=a.filter(i=>i===t).pop();s?this.selectItem(s):a[0]&&(a[0].tabIndex=0)}handleClick(t){this.disabled||t.target.localName==="calcite-segmented-control-item"&&this.selectItem(t.target,!0)}handleSelected(t){t.preventDefault();let e=t.target;e.checked&&this.selectItem(e),t.stopPropagation()}handleKeyDown(t){let e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:a}=t,{el:s,selectedItem:i}=this;if(e.indexOf(a)===-1)return;let l=a;w(s)==="rtl"&&(a==="ArrowRight"&&(l="ArrowLeft"),a==="ArrowLeft"&&(l="ArrowRight"));let{items:o}=this,n=-1;switch(o.forEach((r,L)=>{r===i&&(n=L)}),l){case"ArrowLeft":case"ArrowUp":{t.preventDefault();let r=n<1?o[o.length-1]:o[n-1];this.selectItem(r,!0);return}case"ArrowRight":case"ArrowDown":{t.preventDefault();let r=n===-1?o[1]:o[n+1]||o[0];this.selectItem(r,!0);return}case" ":t.preventDefault(),this.selectItem(t.target,!0);return;default:return}}handleItemPropChange(){let{items:t}=this;t.forEach(e=>{e.appearance=this.appearance,e.layout=this.layout,e.scale=this.scale})}handleSelectedItem(){let{items:t}=this,e=t.filter(a=>a.checked).pop();e?this.selectItem(e):t[0]&&(t[0].tabIndex=0)}async handleDefaultSlotChange(t){let e=y(t).filter(a=>a.matches("calcite-segmented-control-item"));await Promise.all(e.map(a=>a.componentOnReady())),this.items=e,this.handleSelectedItem(),this.handleItemPropChange()}onLabelClick(){this.setFocus()}async selectItem(t,e=!1){if(t===this.selectedItem)return;let{items:a}=this,s=null;a.forEach(i=>{let l=i===t;(l&&!i.checked||!l&&i.checked)&&(i.checked=l),i.tabIndex=l?0:-1,l&&(s=i)}),this.selectedItem=s,s&&e&&(await this.updateComplete,this.calciteSegmentedControlChange.emit()),g()&&s&&s.focus()}render(){return this.el.role="radiogroup",c`<div aria-errormessage=${E.validationMessage} .ariaInvalid=${this.status==="invalid"} class=${u($.itemWrapper)}>${C({disabled:this.disabled,children:c`<slot @slotchange=${this.handleDefaultSlotChange}></slot>${D({component:this})}`})}</div>${this.validationMessage&&this.status==="invalid"?U({icon:this.validationIcon,id:E.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};v("calcite-segmented-control",d);export{d as SegmentedControl};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ var d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var e=["th","st","nd","rd"],r=a%100;return"["+a+(e[(r-20)%10]||e[r]||e[0])+"]"}};export{d as a};
@@ -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.1.0-next.22 */
4
+ import{a as e,b as x,c as b}from"./AGESDSYC.js";import{a as g}from"./PLEUO4XJ.js";import{b as n}from"./X3DXGTU7.js";import{n as d,u as m}from"./K7JWMCF5.js";import{d as h}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{J as p,e as c,f as o,w as r,x as u}from"./33M7X2VV.js";var O=c`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);gap:var(--calcite-action-group-gap, 1px);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends r{constructor(){super(...arguments),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.messages=g(),this.overlayPositioning="absolute",this.scale="m"}static{this.properties={hasMenuActions:16,columns:11,expanded:7,label:1,layout:3,menuFlipPlacements:0,menuOpen:7,menuPlacement:3,messageOverrides:0,overlayPositioning:3,scale:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=O}async setFocus(){await h(this),d(this.el)}willUpdate(t){t.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1)}setMenuOpen(t){this.menuOpen=!!t.currentTarget.open}handleMenuActionsSlotChange(t){this.hasMenuActions=m(t)}renderMenu(){let{expanded:t,menuOpen:f,scale:i,layout:s,messages:l,overlayPositioning:y,hasMenuActions:$,menuFlipPlacements:v,menuPlacement:M}=this;return o`<calcite-action-menu .expanded=${t} .flipPlacements=${v??(s==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!$} .label=${l.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${f} .overlayPositioning=${y} .placement=${M??(s==="horizontal"?"bottom-start":"leading-start")} .scale=${i}><calcite-action .icon=${x.menu} .scale=${i} slot=${n.trigger} .text=${l.more} .textEnabled=${t}></calcite-action><slot name=${e.menuActions} @slotchange=${this.handleMenuActionsSlotChange}></slot><slot name=${e.menuTooltip} slot=${n.tooltip}></slot></calcite-action-menu>`}render(){return o`<div .ariaLabel=${this.label} class=${u(b.container)} role=group><slot></slot>${this.renderMenu()}</div>`}};p("calcite-action-group",a);export{a as ActionGroup};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{a as r}from"./Q5BR6UII.js";import{a as k}from"./FFFMHCGZ.js";import{a as b}from"./PLEUO4XJ.js";import{a as f,b as a}from"./FNWT3NPP.js";import{p as s,u}from"./K7JWMCF5.js";import{a as l,d as v}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{B as g,J as p,e as h,f as n,v as o,w as m,x as e}from"./33M7X2VV.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-close-text-color-hover, 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-text-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-text-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=b(),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,closable:7,icon:[3,{converter:g}],iconFlipRtl:7,kind:3,messageOverrides:0,open:7,scale:3,width:3}}static{this.styles=x}async setFocus(){await v(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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{a as X}from"./OBR44DBU.js";import{a as T,b as v,c as W,d as A,e as U,k as o}from"./2T2XUMXE.js";import{a as Q}from"./NKL722H7.js";import{a as R,c as q,e as G,g as z,h as J}from"./FYGGK3L3.js";import{c as L,d as K,e as _}from"./222KNDXA.js";import{a as D,b as j}from"./X2D6QAKT.js";import{a as S}from"./AQE7VMEK.js";import{b as M}from"./Q4BGFGY4.js";import{a as P}from"./PLEUO4XJ.js";import{a as k,b as y}from"./FNWT3NPP.js";import{e as C,p as w,x as I}from"./K7JWMCF5.js";import{a as f,d as F}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{B as x,C as B,J as O,c as $,e as V,f as l,j as b,u as E,v as g,w as H,x as a}from"./33M7X2VV.js";var r={loader:"loader",clearButton:"clear-button",inputIcon:"icon",prefix:"prefix",suffix:"suffix",numberButtonWrapper:"number-button-wrapper",buttonItemHorizontal:"number-button-item--horizontal",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper",numberButtonItem:"number-button-item"},Y={validationMessage:"inputNumberValidationMessage"},ee={action:"action"},te=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{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input: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([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;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}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);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}.clear-button:hover calcite-icon{color:var(--calcite-color-text-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}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-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))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;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}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:.5rem;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-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;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}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;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}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.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}`,N=class extends H{constructor(){super(),this.actionWrapperEl=k(),this.attributeWatch=$(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.inputWrapperEl=k(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setNumberValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.groupSeparator=!1,this.iconFlipRtl=!1,this.integer=!1,this.loading=!1,this.localeFormat=!1,this.messages=P(),this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,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.calciteInputNumberChange=g({cancelable:!1}),this.calciteInputNumberInput=g(),this.calciteInternalInputNumberBlur=g({cancelable:!1}),this.calciteInternalInputNumberFocus=g({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={displayedValue:16,slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,groupSeparator:7,icon:[3,{converter:x}],iconFlipRtl:7,integer:5,label:1,loading:7,localeFormat:5,max:11,maxLength:11,messageOverrides:0,min:11,minLength:11,name:3,numberButtonType:3,numberingSystem:3,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,step:3,suffixText:1,validationIcon:[3,{converter:x}],validationMessage:1,validity:0,value:1}}static{this.styles=te}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueWatcher(e,t),e&&this._value===""&&this.setNumberValue({origin:"reset",value:t}))}async selectText(){this.childNumberEl?.select()}async setFocus(){await F(this),this.childNumberEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),L(this),q(this),this.el.addEventListener(z,this.onHiddenFormInputInput)}async load(){this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=w({},this.icon,"number"),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),this.value==="Infinity"||this.value==="-Infinity"?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:v(this.value)?this.value:""})}willUpdate(e){e.has("max")&&(this.maxString=this.max?.toString()||null),e.has("min")&&(this.minString=this.min?.toString()||null),e.has("icon")&&(this.requestedIcon=w({},this.icon,"number")),e.has("messages")&&(o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1})}updated(){D(this)}disconnectedCallback(){super.disconnectedCallback(),K(this),G(this),this.el.removeEventListener(z,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,t){if(!this.userChangedValue){if(e==="Infinity"||e==="-Infinity"){this.displayedValue=e,this.previousEmittedNumberValue=e;return}this.setNumberValue({origin:"direct",previousValue:t,value:e==null||e==""?"":v(e)?e:this.previousValue||""}),this.warnAboutInvalidNumberValue(e)}this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputValue(e),e.preventDefault()),e.key==="Enter"&&R(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(e,t,i,m){let{value:n}=this;if(n==="Infinity"||n==="-Infinity")return;let s=e==="up"?1:-1,u=this.integer&&this.step!=="any"?Math.round(this.step):this.step,p=u==="any"?1:Math.abs(u||1),h=new T(n!==""?n:"0").add(`${p*s}`),d=()=>typeof i=="number"&&!isNaN(i)&&h.subtract(`${i}`).isNegative,c=()=>typeof t=="number"&&!isNaN(t)&&!h.subtract(`${t}`).isNegative,Z=d()?`${i}`:c()?`${t}`:h.toString();this.setNumberValue({committing:!0,nativeEvent:m,origin:"user",value:Z})}clearInputValue(e){this.setNumberValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))}inputNumberBlurHandler(){window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let t=e.composedPath();!t.includes(this.inputWrapperEl.value)||t.includes(this.actionWrapperEl.value)||this.setFocus()}inputNumberFocusHandler(){this.calciteInternalInputNumberFocus.emit()}inputNumberInputHandler(e){if(this.disabled||this.readOnly||this.value==="Infinity"||this.value==="-Infinity")return;let t=e.target.value;o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let i=o.delocalize(t);e.inputType==="insertFromPaste"?((!v(i)||this.integer&&(i.includes("e")||i.includes(".")))&&e.preventDefault(),this.setNumberValue({nativeEvent:e,origin:"user",value:W(i)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:e,origin:"user",value:i})}inputNumberKeyDownHandler(e){if(this.disabled||this.readOnly)return;if(this.value==="Infinity"||this.value==="-Infinity"){e.preventDefault(),(e.key==="Backspace"||e.key==="Delete")&&this.clearInputValue(e);return}if(e.key==="ArrowUp"){e.preventDefault(),this.nudgeNumberValue("up",e);return}if(e.key==="ArrowDown"){this.nudgeNumberValue("down",e);return}let t=[...M,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(e.altKey||e.ctrlKey||e.metaKey)return;let i=e.shiftKey&&e.key==="Tab";if(t.includes(e.key)||i){e.key==="Enter"&&this.emitChangeIfUserModified();return}o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},!(e.key===o.decimal&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.indexOf(o.decimal)===-1))&&(/[eE]/.test(e.key)&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&!/[eE]/.test(this.childNumberEl.value))||e.key==="-"&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.split("-").length<=2)||e.preventDefault())}nudgeNumberValue(e,t){if(t instanceof KeyboardEvent&&t.repeat)return;let i=this.maxString?parseFloat(this.maxString):null,m=this.minString?parseFloat(this.minString):null,n=150;this.incrementOrDecrementNumberValue(e,i,m,t),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let s=!0;this.nudgeNumberValueIntervalId=window.setInterval(()=>{if(s){s=!1;return}this.incrementOrDecrementNumberValue(e,i,m,t)},n)}nudgeButtonPointerUpHandler(e){I(e)&&window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerOutHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerDownHandler(e){if(!I(e))return;e.preventDefault();let t=e.target.dataset.adjustment;this.disabled||this.nudgeNumberValue(t,e)}syncHiddenFormInput(e){X("number",this,e)}setChildNumberElRef(e){this.childNumberEl=e}setInputNumberValue(e){this.childNumberEl&&(this.childNumberEl.value=e)}setPreviousEmittedNumberValue(e){this.previousEmittedNumberValue=this.normalizeValue(e)}normalizeValue(e){return v(e)?e:""}setPreviousNumberValue(e){this.previousValue=this.normalizeValue(e)}setNumberValue({committing:e=!1,nativeEvent:t,origin:i,previousValue:m,value:n}){o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let s=this.previousValue?.length>n.length||this.value?.length>n.length,u=this.integer?n.replace(/[e.]/g,""):n,p=u.charAt(u.length-1)===".",h=p&&s?u:A(u),d=n&&!h?v(this.previousValue)?this.previousValue:"":h,c=o.localize(d);i!=="connected"&&!p&&(c=U(c,d,o)),this.displayedValue=p&&s?`${c}${o.decimal}`:c,this.setPreviousNumberValue(m??this.value),this.previousValueOrigin=i,this.userChangedValue=i==="user"&&this.value!==d,this.value=["-","."].includes(d)?"":d,i==="direct"&&(this.setInputNumberValue(c),this.setPreviousEmittedNumberValue(c)),t&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=o.localize(this.previousValue)):e&&this.emitChangeIfUserModified())}inputNumberKeyUpHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}warnAboutInvalidNumberValue(e){e&&!v(e)&&console.warn(`The specified value "${e}" cannot be parsed, or is out of range.`)}render(){let e=C(this.el),t=l`<div class=${a(r.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,i=l`<button .ariaLabel=${this.messages.clear} class=${a(r.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${f(this.scale)}></calcite-icon></button>`,m=l`<calcite-icon class=${a(r.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${f(this.scale)}></calcite-icon>`,n=this.numberButtonType==="horizontal",s=l`<button aria-hidden=true class=${a({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=up .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-up .scale=${f(this.scale)}></calcite-icon></button>`,u=l`<button aria-hidden=true class=${a({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=down .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-down .scale=${f(this.scale)}></calcite-icon></button>`,p=l`<div class=${a(r.numberButtonWrapper)}>${s}${u}</div>`,h=l`<div class=${a(r.prefix)}>${this.prefixText}</div>`,d=l`<div class=${a(r.suffix)}>${this.suffixText}</div>`,c=S("localized-input",l`<input aria-errormessage=${Y.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${_(this)} autocomplete=${this.autocomplete??b} .autofocus=${this.el.autofocus} value=${this.defaultValue??b} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint??b} inputmode=${this.el.inputMode||"decimal"} maxlength=${this.maxLength??b} minlength=${this.minLength??b} name=${b} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder||"")??b} .readOnly=${this.readOnly} type=text .value=${E(this.displayedValue??"")} ${y(this.setChildNumberElRef)}>`);return j({disabled:this.disabled,children:l`<div class=${a({[r.inputWrapper]:!0,[B.rtl]:e==="rtl"})} ${y(this.inputWrapperEl)}>${this.numberButtonType==="horizontal"&&!this.readOnly?u:null}${this.prefixText?h:null}<div class=${a(r.wrapper)}>${c}${this.isClearable?i:null}${this.requestedIcon?m:null}${this.loading?t:null}</div><div class=${a(r.actionWrapper)} ${y(this.actionWrapperEl)}><slot name=${ee.action}></slot></div>${this.numberButtonType==="vertical"&&!this.readOnly?p:null}${this.suffixText?d:null}${this.numberButtonType==="horizontal"&&!this.readOnly?s:null}${J({component:this})}</div>${this.validationMessage&&this.status==="invalid"?Q({icon:this.validationIcon,id:Y.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};O("calcite-input-number",N);export{N as InputNumber};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{b as h}from"./Q4BGFGY4.js";var A=new RegExp("\\.(0+)?$"),_=new RegExp("0+$"),u=class t{static{this.DECIMALS=100}static{this.ROUNDED=!0}static{this.SHIFT=BigInt("1"+"0".repeat(this.DECIMALS))}constructor(e){if(e instanceof t)return e;let[n,i]=j(e).split(".").concat("");this.value=BigInt(n+i.padEnd(t.DECIMALS,"0").slice(0,t.DECIMALS))+BigInt(t.ROUNDED&&i[t.DECIMALS]>="5"),this.isNegative=e.charAt(0)==="-"}static{this._divRound=(e,n)=>t.fromBigInt(e/n+(t.ROUNDED?e*BigInt(2)/n%BigInt(2):BigInt(0)))}static{this.fromBigInt=e=>Object.assign(Object.create(t.prototype),{value:e,isNegative:e<BigInt(0)})}getIntegersAndDecimals(){let e=this.value.toString().replace("-","").padStart(t.DECIMALS+1,"0"),n=e.slice(0,-t.DECIMALS),i=e.slice(-t.DECIMALS).replace(_,"");return{integers:n,decimals:i}}toString(){let{integers:e,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${e}${n.length?"."+n:""}`}formatToParts(e){let{integers:n,decimals:i}=this.getIntegersAndDecimals(),r=e.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&r.unshift({type:"minusSign",value:e.minusSign}),i.length&&(r.push({type:"decimal",value:e.decimal}),i.split("").forEach(s=>r.push({type:"fraction",value:s}))),r}format(e){let{integers:n,decimals:i}=this.getIntegersAndDecimals(),r=`${this.isNegative?e.minusSign:""}${e.numberFormatter.format(BigInt(n))}`,s=i.length?`${e.decimal}${i.split("").map(p=>e.numberFormatter.format(Number(p))).join("")}`:"";return`${r}${s}`}add(e){return t.fromBigInt(this.value+new t(e).value)}subtract(e){return t.fromBigInt(this.value-new t(e).value)}multiply(e){return t._divRound(this.value*new t(e).value,t.SHIFT)}divide(e){return t._divRound(this.value*t.SHIFT,new t(e).value)}};function f(t){return!(!t||isNaN(Number(t)))}function P(t){return!t||!k(t)?"":g(t,e=>{let n=!1,i=e.split("").filter((r,s)=>r.match(/\./g)&&!n?(n=!0,!0):r.match(/-/g)&&s===0?!0:h.includes(r)).join("");return f(i)?new u(i).toString():""})}var w=/^([-0])0+(?=\d)/,B=/(?!^\.)\.$/,R=/(?!^-)-/g,x=/^-\b0\b\.?0*$/,M=/0*$/,U=t=>g(t,e=>{let n=e.replace(R,"").replace(B,"").replace(w,"$1");return f(n)?x.test(n)?n:T(n):e});function T(t){let e=t.split(".")[1],n=new u(t).toString(),[i,r]=n.split(".");return e&&r!==e?`${i}.${e}`:n}function g(t,e){if(!t)return t;let n=t.toLowerCase().indexOf("e")+1;return n?t.replace(/[eE]*$/g,"").substring(0,n).concat(t.slice(n).replace(/[eE]/g,"")).split(/[eE]/).map((i,r)=>e(r===1?i.replace(/\./g,""):i)).join("e").replace(/^e/,"1e"):e(t)}function j(t){let e=t.split(/[eE]/);if(e.length===1)return t;let n=+t;if(Number.isSafeInteger(n))return`${n}`;let i=t.charAt(0)==="-",r=+e[1],s=e[0].split("."),p=(i?s[0].substring(1):s[0])||"",$=s[1]||"",D=(a,m)=>{let l=Math.abs(m)-a.length,S=l>0?`${"0".repeat(l)}${a}`:a;return`${S.slice(0,m)}.${S.slice(m)}`},y=(a,m)=>{let l=m>a.length?`${a}${"0".repeat(m-a.length)}`:a;return`${l.slice(0,m)}.${l.slice(m)}`},v=r>0?`${p}${y($,r)}`:`${D(p,r)}${$}`;return`${i?"-":""}${v.charAt(0)==="."?"0":""}${v.replace(A,"").replace(w,"")}`}function k(t){return h.some(e=>t.includes(e))}function J(t,e,n){let i=e.split(".")[1];if(i){let r=i.match(M)[0];if(r&&n.delocalize(t).length!==e.length&&i.indexOf("e")===-1){let s=n.decimal;return t=t.includes(s)?t:`${t}${s}`,t.padEnd(t.length+r.length,n.localize("0"))}}return t}var c="en",F=["ar","bg","bs","ca","cs","da","de","el",c,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],O=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",c,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],K=new Map(Object.entries({bg:{am:"\u043F\u0440.\u043E\u0431.",pm:"\u0441\u043B.\u043E\u0431."},bs:{am:"prijepodne",pm:"popodne"},ca:{am:"a.\xA0m.",pm:"p.\xA0m."},cs:{am:"dop.",pm:"odp."},es:{am:"a.\xA0m.",pm:"p.\xA0m."},"es-mx":{am:"a.m.",pm:"p.m."},"es-MX":{am:"a.m.",pm:"p.m."},fi:{am:"ap.",pm:"ip."},he:{am:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6",pm:"\u05D0\u05D7\u05D4\u05F4\u05E6"},hu:{am:"de. ",pm:"du."},lt:{am:"prie\u0161piet",pm:"popiet"},lv:{am:"priek\u0161pusdien\u0101",pm:"p\u0113cpusdien\u0101"},mk:{am:"\u043F\u0440\u0435\u0442\u043F\u043B.",pm:"\u043F\u043E\u043F\u043B."},no:{am:"a.m.",pm:"p.m."},nl:{am:"a.m.",pm:"p.m."},"pt-pt":{am:"da manh\xE3",pm:"da tarde"},"pt-PT":{am:"da manh\xE3",pm:"da tarde"},ro:{am:"a.m.",pm:"p.m."},sl:{am:"dop.",pm:"pop."},sv:{am:"fm",pm:"em"},th:{am:"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",pm:"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},tr:{am:"\xD6\xD6",pm:"\xD6S"},uk:{am:"\u0434\u043F",pm:"\u043F\u043F"},vi:{am:"SA",pm:"CH"}})),H=["arab","arabext","latn"];[...new Set([...F,...O])];var E=t=>H.includes(t),d=new Intl.NumberFormat().resolvedOptions().numberingSystem,C=d==="arab"||!E(d)?"latn":d,z=t=>E(t)?t:C;function N(t,e="cldr"){let n=e==="cldr"?O:F;return t?n.includes(t)?t:(t=t.toLowerCase(),t==="nb"?"no":e==="t9n"&&t==="pt"?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,(i,r,s)=>`${r}-${s.toUpperCase()}`),n.includes(t)||(t=t.split("-")[0])),t==="zh"?"zh-CN":n.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),c))):c}function W(t){switch(t){case"it-CH":return"de-CH";case"bs":return"bs-Cyrl";default:return t}}var b=class{constructor(){this.delocalize=e=>this._numberFormatOptions?g(e,n=>n.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex)):e,this.localize=e=>this._numberFormatOptions?g(e,n=>f(n.trim())?new u(n.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):n):e}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(e){if(e.locale=N(e?.locale),e.numberingSystem=z(e?.numberingSystem),!this._numberFormatOptions&&e.locale===c&&e.numberingSystem===C&&Object.keys(e).length===2||JSON.stringify(this._numberFormatOptions)===JSON.stringify(e))return;this._numberFormatOptions=e,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();let n=new Map(this._digits.map((r,s)=>[r,s])),i=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-123456789e-1);this._actualGroup=i.find(r=>r.type==="group").value,this._group=this._actualGroup.trim().length===0||this._actualGroup==" "?"\xA0":this._actualGroup,this._decimal=e.locale==="bs"||e.locale==="mk"?",":i.find(r=>r.type==="decimal").value,this._minusSign=i.find(r=>r.type==="minusSign").value,this._getDigitIndex=r=>n.get(r)}},X=new b,o,I;function L(t={}){return Object.entries(t).sort(([e],[n])=>e.localeCompare(n)).map(e=>`${e[0]}-${e[1]}`).flat().join(":")}function q(t,e){t=N(t),o||(o=new Map),I!==t&&(o.clear(),I=t);let n=L(e),i=o.get(n);if(i)return i;let r=new Intl.DateTimeFormat(t,e);return o.set(n,r),r}export{u as a,f as b,P as c,U as d,J as e,K as f,z as g,N as h,W as i,b as j,X as k,q as l};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{a as de,d as j,e as pe}from"./GQGY3UCD.js";import{a as le}from"./SIH6ZWOL.js";import{A as re,B as N,C as ce,D as he,a as b,b as s,c as m,d as F,e as $,f as p,g as L,h as S,i as k,j as U,l as O,m as H,q as P,r as y,t as ne,u as se,w as K,x as E,y as W,z as D}from"./CLCVQIAP.js";import"./K366OY7R.js";import{a as te,b as ie}from"./X2D6QAKT.js";import{a as A}from"./AQE7VMEK.js";import{d as M}from"./GW5M7LYN.js";import{a as oe}from"./Q4BGFGY4.js";import{a as Y}from"./NPEUWDNS.js";import{a as ae}from"./PLEUO4XJ.js";import{b as f}from"./FNWT3NPP.js";import{e as Q,n as Z,x as R}from"./K7JWMCF5.js";import{d as ee}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{J,e as X,f as C,j as w,v as z,w as G,x as c,y as x}from"./33M7X2VV.js";var ke=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{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}`,ue=16,V=class extends G{constructor(){super(),this._color=m,this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=K.HEX,this.resizeObserver=Y("resize",e=>this.resizeCanvas(e)),this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this._valueWasSet=!1,this.channelMode="rgb",this.channels=this.toChannels(m),this.staticDimensions=k.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=z({cancelable:!1}),this.calciteColorPickerInput=z({cancelable:!1}),this.captureColorFieldColor=(e,t,i=!0)=>{let{width:a,height:o}=this.dynamicDimensions.colorField,l=Math.round(p.s/a*e),n=Math.round(p.v/o*(o-t));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(l).value(n),i)},this.drawColorControls=M((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()},ue),this.globalPointerMoveHandler=e=>{let{activeCanvasInfo:t,el:i}=this;if(!i.isConnected||!t)return;let{context:a,bounds:o}=t,l,n,{clientX:r,clientY:h}=e;a.canvas.matches(":hover")?(l=r-o.x,n=h-o.y):(r<o.x+o.width&&r>o.x?l=r-o.x:r<o.x?l=0:l=o.width,h<o.y+o.height&&h>o.y?n=h-o.y:h<o.y?n=0:n=o.height),a===this.colorFieldRenderingContext?this.captureColorFieldColor(l,n,!1):a===this.hueSliderRenderingContext?this.captureHueSliderColor(l):a===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(l)},this.globalPointerUpHandler=e=>{if(!R(e))return;let t=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),t&&this.calciteColorPickerChange.emit()},this.resizeCanvas=M(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())},ue),this.updateDynamicDimensions=e=>{let t={width:ce(e,this.staticDimensions,this.alphaChannel),height:this.staticDimensions.slider.height};this.dynamicDimensions={colorField:he(e),slider:t}},this.listen("keydown",this.handleChannelKeyUpOrDown,{capture:!0}),this.listen("keyup",this.handleChannelKeyUpOrDown,{capture:!0})}static{this.properties={channelMode:16,channels:16,colorFieldScopeLeft:16,colorFieldScopeTop:16,staticDimensions:16,hueScopeLeft:16,opacityScopeLeft:16,savedColors:16,scopeOrientation:16,allowEmpty:7,alphaChannel:5,channelsDisabled:5,clearable:7,color:0,disabled:7,format:3,hexDisabled:5,messageOverrides:0,numberingSystem:3,savedDisabled:7,scale:3,storageId:3,value:1}}static{this.styles=ke}get baseColorFieldColor(){return this.color||this.previousColor||m}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 ee(this),Z(this.el)}connectedCallback(){super.connectedCallback(),this.observeResize()}async load(){this._valueWasSet||(this._value??=P(y(m,this.alphaChannel))),this.handleAllowEmptyOrClearableChange();let{isClearable:e,color:t,format:i,value:a}=this,o=e&&!a,l=E(a),n=o||i==="auto"&&l||i===l,r=o?null:n?b(a):t;n||this.showIncompatibleColorWarning(a,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateStaticDimensions(this.scale),this.updateDynamicDimensions(k[this.scale].minWidth);let h=`${F}${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!==k.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(){te(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:a}=this,o=!i||e,l=!1;if(o){let d=E(e);if(!d||a!=="auto"&&d!==a){this.showIncompatibleColorWarning(e,a),this._value=t;return}l=this.mode!==d,this.setMode(d,this.internalColorUpdateContext===null)}let n=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial")return;if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit(),n||this.calciteColorPickerChange.emit();return}let r=i&&!e?null:b(e!=null&&typeof e=="object"&&D(this.mode)?se(e):e),h=!W(r,this.color);(l||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,a={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(l+o);this.internalColorSet(n,!1)}}handleHexInputChange(e){e.stopPropagation();let{isClearable:t,color:i}=this,a=e.target.value;if(t&&!a){this.internalColorSet(null);return}let o=i&&P(y(i,D(this.mode)));a!==o&&this.internalColorSet(b(a))}handleSavedColorSelect(e){let t=e.currentTarget;this.internalColorSet(b(t.color))}handleChannelInput(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=i===3?S.max:this.channelMode==="rgb"?$[Object.keys($)[i]]:p[Object.keys(p)[i]],o;if(!t.value)o="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;else{let l=Number(t.value)+this.shiftKeyChannelAdjustment;o=de(l,0,a).toString()}t.value=o,o!==""&&this.shiftKeyChannelAdjustment!==0?this.handleChannelChange(e):o!==""&&this.handleChannelChange(e)}handleChannelBlur(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];!t.value&&!this.isClearable&&(t.value=a[i]?.toString())}handleChannelFocus(e){e.currentTarget.selectText()}handleChannelKeyUpOrDown(e){this.shiftKeyChannelAdjustment=0;let{key:t}=e;if(t!=="ArrowUp"&&t!=="ArrowDown"||!e.composedPath().some(o=>o.classList?.contains(s.channel)))return;let{shiftKey:i}=e;if(e.preventDefault(),!this.color){this.internalColorSet(this.previousColor),e.stopPropagation();return}let a=9;this.shiftKeyChannelAdjustment=t==="ArrowUp"&&i?a:t==="ArrowDown"&&i?-9:0,t==="ArrowUp"&&(this.upOrDownArrowKeyTracker="up"),t==="ArrowDown"&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(e){return this.channelMode==="rgb"?$[Object.keys($)[e]]:p[Object.keys(p)[e]]}handleChannelChange(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];if(this.isClearable&&!t.value){this.channels=[null,null,null,null],this.internalColorSet(null);return}let o=i===3;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(t.value=this.upOrDownArrowKeyTracker==="up"?(a[i]+1<=this.getChannelInputLimit(i)?a[i]+1:this.getChannelInputLimit(i)).toString():(a[i]-1>=0?a[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);let l=t.value?Number(t.value):a[i];a[i]=o?H(l):l,this.updateColorFromChannels(a)}handleSavedColorKeyDown(e){oe(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,a){R(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(a))}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,a=D(e);if(i&&!a){let o=re(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}if(!i&&a){let o=N(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}return e}captureHueSliderColor(e){let t=L/this.effectiveSliderWidth*e;this.internalColorSet(this.baseColorFieldColor.hue(t),!1)}captureOpacitySliderValue(e){let t=H(S.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===K.HEXA;return P(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 o=a.slice(0,3),l=a.slice(4,-1);return`${o}a(${l}, ${e.alpha()})`}return a}let i=e[N(t)]().round().object();return t.endsWith("a")?ne(i):i}getSliderCapSpacing(){let{staticDimensions:{slider:{height:e},thumb:{radius:t}}}=this;return t*2-e}updateStaticDimensions(e="m"){this.staticDimensions=k[e]}deleteColor(){let e=y(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(e)>-1))return;let t=this.savedColors.filter(a=>a!==e);this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}saveColor(){let e=y(this.color,this.alphaChannel);if(this.savedColors.indexOf(e)>-1)return;let t=[...this.savedColors,e];this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}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 a=e.createLinearGradient(0,0,t,0);a.addColorStop(0,"rgba(255,255,255,1)"),a.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=a,e.fillRect(0,0,t,i);let o=e.createLinearGradient(0,0,0,i);o.addColorStop(0,"rgba(0,0,0,0)"),o.addColorStop(1,"rgba(0,0,0,1)"),e.fillStyle=o,e.fillRect(0,0,t,i),this.drawActiveColorFieldColor()}setCanvasContextSize(e,{height:t,width:i}){if(!e)return;let a=window.devicePixelRatio||1;e.width=i*a,e.height=t*a,e.style.height=`${t}px`,e.style.width=`${i}px`,e.getContext("2d").scale(a,a)}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 a={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,a),(e==="all"||e==="opacity-slider")&&this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,a)}drawActiveColorFieldColor(){let{color:e}=this;if(!e)return;let t=e.hsv(),{staticDimensions:{thumb:{radius:i}}}=this,{width:a,height:o}=this.dynamicDimensions.colorField,l=t.saturationv()/(p.s/a),n=o-t.value()/(p.v/o);requestAnimationFrame(()=>{this.colorFieldScopeLeft=l,this.colorFieldScopeTop=n}),this.drawThumb(this.colorFieldRenderingContext,i,l,n,t,!1)}drawThumb(e,t,i,a,o,l){let n=2*Math.PI,r=1;if(e.beginPath(),e.arc(i,a,t,0,n),e.fillStyle="#fff",e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=r,e.stroke(),l&&o.alpha()<1){let d=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.beginPath(),e.arc(i,a,t-3,0,n),e.fillStyle=d,e.fill()}e.globalCompositeOperation="source-atop",e.beginPath(),e.arc(i,a,t-3,0,n);let h=l?o.alpha():1;e.fillStyle=o.rgb().alpha(h).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,a=this.effectiveSliderWidth,o=t.hue()/(L/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.hueScopeLeft=n}),this.drawThumb(this.hueSliderRenderingContext,i,n,l,t,!1)}drawHueSlider(){let e=this.hueSliderRenderingContext,{staticDimensions:{slider:{height:t},thumb:{radius:i}}}=this,a=0,o=i-t/2,l=this.effectiveSliderWidth,n=e.createLinearGradient(0,0,l,0),r=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(r.length-1),d=0;r.forEach(u=>{n.addColorStop(d,b(u).string()),d+=h}),e.clearRect(0,0,l,t+this.getSliderCapSpacing()*2),this.drawSliderPath(e,t,l,a,o),e.fillStyle=n,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:a}}}=this,o=0,l=a-i/2,n=this.effectiveSliderWidth;e.clearRect(0,0,n,i+this.getSliderCapSpacing()*2);let r=e.createLinearGradient(0,l,n,0),h=t.rgb().alpha(0),d=t.rgb().alpha(.5),u=t.rgb().alpha(1);r.addColorStop(0,h.string()),r.addColorStop(.5,d.string()),r.addColorStop(1,u.string()),this.drawSliderPath(e,i,n,o,l);let g=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.fillStyle=g,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,a,o){let l=t/2+1;e.beginPath(),e.moveTo(a+l,o),e.lineTo(a+i-l,o),e.quadraticCurveTo(a+i,o,a+i,o+l),e.lineTo(a+i,o+t-l),e.quadraticCurveTo(a+i,o+t,a+i-l,o+t),e.lineTo(a+l,o+t),e.quadraticCurveTo(a,o+t,a,o+t-l),e.lineTo(a,o+l),e.quadraticCurveTo(a,o,a+l,o),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,a=this.effectiveSliderWidth,o=O(t.alpha())/(S.max/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.opacityScopeLeft=n}),this.drawThumb(this.opacitySliderRenderingContext,i,n,l,t,!0)}getSliderBoundX(e,t,i){let a=pe(e,t,i);return a===0?e:a===-1?j(e,0,t,i,i*2):j(e,0,t,t-i*2,t-i)}storeOpacityScope(e){this.opacityScopeNode=e}handleOpacityScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(l+o);this.internalColorSet(n,!1)}}updateColorFromChannels(e){this.internalColorSet(b(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((a,o)=>o===3?a:Math.floor(a));return i.length===3&&i.push(1),i}getAdjustedScopePosition(e,t){return[e-U/2,t-U/2]}render(){let{channelsDisabled:e,color:t,colorFieldScopeLeft:i,colorFieldScopeTop:a,staticDimensions:{thumb:{radius:o}},hexDisabled:l,hueScopeLeft:n,messages:r,alphaChannel:h,opacityScopeLeft:d,savedColors:u,savedDisabled:g,scale:v,scopeOrientation:Ce}=this,_=this.effectiveSliderWidth,B=t?y(t,h):null,me=o,ve=n??_*m.hue()/p.h,ge=o,fe=d??_*O(m.alpha())/S.max,q=t===void 0,T=Ce==="vertical",[be,Se]=this.getAdjustedScopePosition(i,a),[ye,we]=this.getAdjustedScopePosition(ve,me),[xe,$e]=this.getAdjustedScopePosition(fe,ge);return ie({disabled:this.disabled,children:C`<div class=${c(s.container)}><div class=${c(s.controlAndScope)}><canvas class=${c(s.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${f(this.initColorField)}></canvas><div .ariaLabel=${T?r.value:r.saturation} .ariaValueMax=${T?p.v:p.s} aria-valuemin=0 .ariaValueNow=${(T?t?.saturationv():t?.value())||"0"} class=${c({[s.scope]:!0,[s.colorFieldScope]:!0})} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${x({top:`${Se||0}px`,left:`${be||0}px`})} tabindex=0 ${f(this.storeColorFieldScope)}></div></div><div class=${c(s.previewAndSliders)}><calcite-color-picker-swatch class=${c(s.preview)} .color=${B} .scale=${this.alphaChannel?"l":this.scale}></calcite-color-picker-swatch><div class=${c(s.sliders)}><div class=${c(s.controlAndScope)}><canvas class=${c({[s.slider]:!0,[s.hueSlider]:!0})} @pointerdown=${this.handleHueSliderPointerDown} ${f(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue()||m.round().hue()} class=${c({[s.scope]:!0,[s.hueScope]:!0})} @keydown=${this.handleHueScopeKeyDown} role=slider style=${x({top:`${we}px`,left:`${ye}px`})} tabindex=0 ${f(this.storeHueScope)}></div></div>${h?C`<div class=${c(s.controlAndScope)}><canvas class=${c({[s.slider]:!0,[s.opacitySlider]:!0})} @pointerdown=${this.handleOpacitySliderPointerDown} ${f(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${S.max} .ariaValueMin=${S.min} .ariaValueNow=${(t||m).round().alpha()} class=${c({[s.scope]:!0,[s.opacityScope]:!0})} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${x({top:`${$e}px`,left:`${xe}px`})} tabindex=0 ${f(this.storeOpacityScope)}></div></div>`:null}</div></div>${l&&e?null:C`<div class=${c({[s.controlSection]:!0,[s.section]:!0})}><div class=${c(s.hexAndChannelsGroup)}>${l?null:C`<div class=${c(s.hexOptions)}><calcite-color-picker-hex-input .allowEmpty=${this.isClearable} .alphaChannel=${h} class=${c(s.control)} .messages=${r} .numberingSystem=${this.numberingSystem} @calciteColorPickerHexInputChange=${this.handleHexInputChange} .scale=${v} .value=${B}></calcite-color-picker-hex-input></div>`}${e?null:C`<calcite-tabs class=${c({[s.colorModeContainer]:!0,[s.splitSection]:!0})} .scale=${v==="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>`}${g?null:C`<div class=${c({[s.savedColorsSection]:!0,[s.section]:!0})}><div class=${c(s.header)}><label>${r.saved}</label><div class=${c(s.savedColorsButtons)}><calcite-button appearance=transparent class=${c(s.deleteColor)} .disabled=${q} icon-start=minus kind=neutral .label=${r.deleteColor} @click=${this.deleteColor} .scale=${v} type=button></calcite-button><calcite-button appearance=transparent class=${c(s.saveColor)} .disabled=${q} icon-start=plus kind=neutral .label=${r.saveColor} @click=${this.saveColor} .scale=${v} type=button></calcite-button></div></div>${u.length>0?C`<div class=${c(s.savedColors)}>${le(u,I=>I,I=>C`<calcite-color-picker-swatch class=${c(s.savedColor)} .color=${I} @click=${this.handleSavedColorSelect} @keydown=${this.handleSavedColorKeyDown} .scale=${v} tabindex=0></calcite-color-picker-swatch>`)}</div>`:null}</div>`}</div>`})}renderChannelsTabTitle(e){let{channelMode:t,messages:i}=this,a=e===t,o=e==="rgb"?i.rgb:i.hsv;return A(e,C`<calcite-tab-title class=${c(s.colorMode)} data-color-mode=${e??w} @calciteTabsActivate=${this.handleTabActivate} .selected=${a}>${o}</calcite-tab-title>`)}renderChannelsTab(e){let{isClearable:t,channelMode:i,channels:a,messages:o,alphaChannel:l}=this,n=e===i,r=e==="rgb"?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value],h=Q(this.el),d=l?a:a.slice(0,3);return A(e,C`<calcite-tab class=${c(s.control)} .selected=${n}><div class=${c(s.channels)} dir=ltr>${d.map((u,g)=>{let v=g===3;return v&&(u=t&&!u?u:O(u)),this.renderChannel(u,g,r[g],h,v?"%":"")})}</div></calcite-tab>`)}renderChannel(e,t,i,a,o){return A(t,C`<calcite-input-number class=${c(s.channel)} data-channel-index=${t??w} dir=${a??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=${x({marginLeft:t>0&&!(this.scale==="s"&&this.alphaChannel&&t===3)?"-1px":""})} .suffixText=${o} .value=${e?.toString()}></calcite-input-number>`)}};J("calcite-color-picker",V);export{V 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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{a as M}from"./RWTIM666.js";import{a as I}from"./IQ77TVBQ.js";import"./A47VGKTJ.js";import{b as _}from"./SBOAGPEQ.js";import"./7SPESWBP.js";import{c as u,d as R,e as T,f as U,g as q,h as S,i as v}from"./L2BEDPP4.js";import"./K3QXGD7K.js";import{a as O}from"./FFFMHCGZ.js";import{a as c}from"./AQE7VMEK.js";import"./GW5M7LYN.js";import{a as F}from"./Q4BGFGY4.js";import{a as y}from"./NPEUWDNS.js";import{a as B}from"./PLEUO4XJ.js";import{a as P,b as d}from"./FNWT3NPP.js";import{j as D,n as $,r as L,y as A}from"./K7JWMCF5.js";import{a as z,d as H}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import{a as C}from"./FJITSWY5.js";import{A as x,J as k,e as E,f as l,v as s,w,x as a}from"./33M7X2VV.js";var g=class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{let{registeredElements:t}=this,i=e.find(r=>t.has(r));return t.get(i)},this.togglePopovers=e=>{let t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter(r=>r!==i&&r.autoClose&&r.open&&!t.includes(r)).forEach(r=>r.open=!1)},this.keyDownHandler=e=>{e.defaultPrevented||(e.key==="Escape"?this.closeAllPopovers():F(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{A(e)||e.defaultPrevented||this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach(e=>e.open=!1)}addListeners(){window.addEventListener("click",this.clickHandler),window.addEventListener("keydown",this.keyDownHandler)}removeListeners(){window.removeEventListener("click",this.clickHandler),window.removeEventListener("keydown",this.keyDownHandler)}},o={positionContainer:"position-container",container:"container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContainer:"headerContainer",heading:"heading"},j="auto",N="aria-controls",G="aria-expanded",W=E`:host{display:contents;--calcite-floating-ui-z-index: var(--calcite-popover-z-index, var(--calcite-z-index-popup))}.position-container{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)}.position-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}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding:.5rem .75rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding:.75rem 1rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding:1rem 1.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-popover-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-popover-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-popover-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;border-block-end-color:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.heading{margin:0;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.headerContainer{position:relative;display:flex;height:100%;flex-direction:row;flex-wrap:nowrap;border-radius:.25rem;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.headerContainer.has-header{flex-direction:column}.content{display:flex;height:100%;width:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round));--calcite-action-corner-radius-start-end: var(--calcite-popover-corner-radius, var(--calcite-corner-radius-sharp));--calcite-action-corner-radius-end-end: var(--calcite-popover-corner-radius, var(--calcite-corner-radius-sharp))}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}:host([hidden]){display:none}[hidden]{display:none}`,K=new g,b=class extends w{constructor(){super(...arguments),this.closeButtonEl=P(),this.focusTrap=I({triggerProp:"open",focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(e.defaultPrevented||(this.open=!1,e.preventDefault()),!1)}})(this),this.guid=`calcite-popover-${C()}`,this.hasLoaded=!1,this.mutationObserver=y("mutation",()=>this.focusTrap.updateContainerElements()),this.transitionProp="opacity",this.floatingLayout="vertical",this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.messages=B(),this.offsetDistance=v,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=j,this.pointerDisabled=!1,this.scale="m",this.triggerDisabled=!1,this.calcitePopoverBeforeClose=s({cancelable:!1}),this.calcitePopoverBeforeOpen=s({cancelable:!1}),this.calcitePopoverClose=s({cancelable:!1}),this.calcitePopoverOpen=s({cancelable:!1})}static{this.properties={floatingLayout:16,referenceEl:16,autoClose:7,closable:7,flipDisabled:7,flipPlacements:0,focusTrapDisabled:7,focusTrapOptions:0,heading:1,headingLevel:11,label:1,messageOverrides:0,offsetDistance:11,offsetSkidding:11,open:7,overlayPositioning:3,placement:3,pointerDisabled:7,referenceElement:1,scale:3,triggerDisabled:7}}static{this.styles=W}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:r,flipDisabled:h,filteredFlipPlacements:p,offsetDistance:n,offsetSkidding:f,arrowEl:m,floatingEl:Q}=this;return T(this,{floatingEl:Q,referenceEl:t,overlayPositioning:r,placement:i,flipDisabled:h,flipPlacements:p,offsetDistance:n,offsetSkidding:f,arrowEl:m,type:"popover"},e)}async setFocus(){await H(this),this.requestUpdate(),$(this.el)}async updateFocusTrapElements(){this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),requestAnimationFrame(()=>this.setUpReferenceElement(this.hasLoaded))}willUpdate(e){e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==v)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!==j))&&this.reposition(!0),e.has("referenceElement")&&this.referenceElementHandler()}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement(),this.hasLoaded=!0}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.removeReferences(),S(this)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}openHandler(){O(this),this.reposition(!0),this.setExpandedAttr()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setTransitionEl(e){e&&(this.transitionEl=e)}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?R(t,e):null}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=this.getReferenceElement(),q(this);let{el:t,referenceElement:i,referenceEl:r}=this;e&&i&&!r&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}setExpandedAttr(){let{referenceEl:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(G,L(t))}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(N,t),K.registerElement(e,this.el),this.setExpandedAttr()}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(N),e.removeAttribute(G)),K.unregisterElement(e))}getReferenceElement(){let{referenceElement:e,el:t}=this;return(typeof e=="string"?D(t,{id:e}):e)||null}hide(){this.open=!1}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),U(this),this.focusTrap.deactivate()}storeArrowEl(e){this.arrowEl=e,this.reposition(!0)}renderCloseButton(){let{messages:e,closable:t}=this;return t?c(o.closeButtonContainer,l`<div class=${a(o.closeButtonContainer)}><calcite-action appearance=transparent class=${a(o.closeButton)} @click=${this.hide} .scale=${this.scale} .text=${e.close} ${d(this.closeButtonEl)}><calcite-icon icon=x .scale=${z(this.scale)}></calcite-icon></calcite-action></div>`):null}renderHeader(){let{heading:e,headingLevel:t}=this,i=e?_({class:o.heading,level:t,children:e}):null;return i?c(o.header,l`<div class=${a(o.header)}>${i}${this.renderCloseButton()}</div>`):null}render(){let{referenceEl:e,heading:t,label:i,open:r,pointerDisabled:h,floatingLayout:p}=this,n=e&&r,f=!n,m=h?null:c("floating-arrow",M({floatingLayout:p,ref:this.storeArrowEl}));return this.el.inert=f,this.el.ariaLabel=i,this.el.ariaLive="polite",x(this.el,"id",this.getId()),this.el.role="dialog",l`<div class=${a(o.positionContainer)} ${d(this.setFloatingEl)}><div class=${a({[o.container]:!0,[u.animation]:!0,[u.animationActive]:n})} ${d(this.setTransitionEl)}>${m}<div class=${a({[o.hasHeader]:!!t,[o.headerContainer]:!0})}>${this.renderHeader()}<div class=${a(o.content)}><slot></slot></div>${t?null:this.renderCloseButton()}</div></div></div>`}};k("calcite-popover",b);export{b as Popover};
@@ -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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{a as T,b as q}from"./X2D6QAKT.js";import{a as m}from"./AQE7VMEK.js";import{a as E,b as M}from"./FNWT3NPP.js";import{e as I,o as z,r as p,u as A,v as w}from"./K7JWMCF5.js";import{a as r}from"./RCXZCHS7.js";import"./CHMS6NLJ.js";import"./FJITSWY5.js";import{A as $,C as s,J as S,e as g,f as c,j as x,v as C,w as y,x as i}from"./33M7X2VV.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"},R={actionsEnd:"actions-end",children:"children"},a={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},V=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([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;color:var(--calcite-color-text-3)}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex}.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-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-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-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-color-brand)}:host([selected]) .checkbox{color:var(--calcite-color-brand)}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-color-brand)}:host([hidden]){display:none}[hidden]{display:none}`,u=class extends y{constructor(){super(),this.actionSlotWrapper=E(),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=C({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:16,updateAfterInitialRender:16,depth:11,disabled:7,expanded:7,hasChildren:39,iconFlipRtl:3,iconStart:3,indeterminate:7,label:1,lines:7,parentExpanded:5,scale:3,selected:7,selectionMode:3}}static{this.styles=V}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(){T(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=w(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(l=>l.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(l=>{l.selected=!0,l.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=A(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=I(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,l=this.hasChildren&&this.indeterminate,P=this.hasChildren||this.selectionMode==="ancestors"?c`<calcite-icon class=${i({[n.chevron]:!0,[s.rtl]:e})} data-test-id=icon .icon=${this.hasChildren?a.chevronRight:a.blank} @click=${this.iconClickHandler} .scale=${r(this.scale)}></calcite-icon>`:null,b=m("default-slot",c`<slot></slot>`),f=this.selectionMode==="ancestors"?c`<div class=${i(n.checkboxContainer)}><calcite-icon class=${i(n.checkbox)} .icon=${this.selected?a.checkSquareF:l?a.minusSquareF:a.square} .scale=${r(this.scale)}></calcite-icon></div>`:null,h=t?a.bulletPoint:o?a.checkmark:d?a.blank:null,L=h?c`<calcite-icon class=${i({[n.bulletPointIcon]:h===a.bulletPoint,[n.checkmarkIcon]:h===a.checkmark,[s.rtl]:e})} .icon=${h} .scale=${r(this.scale)}></calcite-icon>`:null,k=!(this.parentExpanded||this.depth===1),v=this.updateAfterInitialRender&&this.expanded,{hasEndActions:F}=this,H=m("actionsEndSlot",c`<slot name=${R.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),U=c`<calcite-icon class=${i(n.iconStart)} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${r(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(v):void 0,this.el.inert=k,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",k),this.el.role="treeitem",$(this.el,"tabIndex",this.disabled?-1:0),q({disabled:this.disabled,children:c`<div class=${i({[n.itemExpanded]:v})}><div class=${i(n.nodeAndActionsContainer)}><div class=${i({[n.nodeContainer]:!0,[s.rtl]:e})} data-selection-mode=${this.selectionMode??x}>${P}${L}${f||null}${this.iconStart?U:null}${f?c`<label class=${i(n.checkboxLabel)}>${b}</label>`:b}</div><div class=${i(n.actionsEnd)} .hidden=${!F} ${M(this.actionSlotWrapper)}>${H}</div></div><div class=${i({[n.childrenContainer]:!0,[s.rtl]:e})} data-test-id=calcite-tree-children @click=${this.childrenClickHandler} .role=${this.hasChildren?"group":void 0}><slot name=${R.children} @slotchange=${this.handleChildrenSlotChange}></slot></div></div>`})}};S("calcite-tree-item",u);export{u 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.1.0-next.22 */
@@ -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.1.0-next.22 */
4
+ import{c as d}from"./OS5STLP5.js";import{a as n,b as o}from"./X2D6QAKT.js";import{J as c,e as i,f as t,v as s,w as l,x as e}from"./33M7X2VV.js";var r={container:"container",heading:"heading"},p=i`: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:flex;flex-direction:column}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{margin:0;display:flex;flex:1 1 0%;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1));color:var(--calcite-list-color, var(--calcite-color-text-2))}.heading{font-weight:var(--calcite-font-weight-medium)}:host([scale=s]) .container{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=m]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg);padding-block:var(--calcite-spacing-xl) var(--calcite-spacing-sm-plus, .625rem)}:host([scale=l]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md-plus, .875rem)}.heading{padding:0}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends l{constructor(){super(...arguments),this.disabled=!1,this.filterHidden=!1,this.scale="m",this.calciteInternalListItemGroupDefaultSlotChange=s({cancelable:!1})}static{this.properties={disabled:7,filterHidden:7,heading:3,scale:3}}static{this.styles=p}updated(){n(this)}handleDefaultSlotChange(){this.calciteInternalListItemGroupDefaultSlotChange.emit()}render(){let{disabled:h,heading:g}=this;return o({disabled:h,children:t`<div class=${e(r.container)} role=row><div .ariaColSpan=${d} class=${e(r.heading)} role=cell>${g}</div></div><slot @slotchange=${this.handleDefaultSlotChange}></slot>`})}};c("calcite-list-item-group",a);export{a as ListItemGroup};
@@ -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.1.0-next.22 */
@@ -0,0 +1,6 @@
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.1.0-next.22 */
4
+ var E=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Fe(t,e){let o=t;for(;o;){if(o===e)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Ge(t,e,o){let{subscribe:s}=Ke(e);return s(n=>{n.some(i=>Fe(t,i.target))&&o()})}var bt={};function Ke(t){let e=t.join(","),o=bt[e];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),bt[e]=void 0)}}};return bt[e]=r,r}function Je(t,e){let o=t;for(;o;){let s=o.closest?.(e);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function Ye(t,e,o){return Je(t,`[${e}]`)?.getAttribute(e)??o}function p(t,e,...o){try{return t?.call(e,...o)}catch(s){console.error(s,t)}}async function H(t,e,...o){try{let s=t?.call(e,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,t)}}var Ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Qe=new Set(Ze),tt="en",Xe={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function to(t,e,o=""){let s=`${e}/${o}`,n=`${s}${t}.json`;return _t[n]??(_t[n]=Wt(t,s)),await _t[n]}var _t={};async function Wt(t,e){let o=`${e}${t}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return t===tt?{}:await Wt(tt,e)}function Ct(t){let e=Ye(t,"lang",globalThis.navigator?.language||tt);return{lang:e,t9nLocale:qt(e)}}function qt(t){let[e,o]=t.split("-"),s=e.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=Xe[n]??n,Qe.has(n)?n:o?qt(s):tt}function Bt(t,e,o,s){let n,r=()=>void eo(t,e(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return queueMicrotask(r),Ge(t,["lang"],r)}async function eo(t,e,o=t.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=Ct(t),r=`${e}/${o}/t9n`,c=o===null?{}:await to(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var et=t=>t.replace(oo,(e,o)=>`${o===0?"":"-"}${e.toLowerCase()}`),oo=/[A-Z]+(?![a-z])|[A-Z]/gu;function Ft(t,e){let o=e>so?no:e/ro,s=0,n=setInterval(()=>{s+=o,s>=e&&(clearInterval(n),t())},o);return n}var so=4e3,no=2e3,ro=4;function Gt(t){return t!==void 0}function Kt(t,e){if(e){let o=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Gt))}else{let o=t.constructor,s=o.__registerControllers?.(t)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function Jt(t,e=8){return t==null||typeof t=="object"||typeof t=="function"?t:e&4?t==="false"?!1:t===""||!!t:e&2?Number.parseFloat(t):e&1?String(t):t}var Yt=(t,e)=>t.manager.internals.members?.[e]?.[0];var st=Symbol.for("controller");var Xt=t=>typeof t=="object"&&t!==null&&(st in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t);var W;function P(t){W!==t&&(W=t,queueMicrotask(()=>{W===t&&(W=void 0)}))}function T(t){return W}var O=[];function xt(t){if(t===void 0){O=[];return}let e=O.indexOf(t);O=e===-1?[...O,t]:O.slice(0,e+1),queueMicrotask(()=>{O=[]})}function At(){return O}var j;function io(t){j!==t&&(j=t,queueMicrotask(()=>{j===t&&(j=void 0)}))}function ao(){let t=j;return j=void 0,t}var co=async(t,e)=>{let o=Lt(t);if(o===void 0)return t;if(await o.ready,typeof e=="function"){let s=o.watchExports(n=>e(n,s))}return o.exports},lo=async t=>{let e=Lt(t);return await e.ready,e},Lt=t=>{let o=T().manager.internals.resolveExports(t);if(o!==void 0)return o;if(Xt(t))return t;let s=ao();if(s!==void 0)return s},q={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,te;te=st;var nt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[te]=!0,this.ready=this._ready.promise,this._exports=Qt(this),this._exportWatchers=new Set;let e=t??T(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(xt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?Qt(t):t,this._exportWatchers.forEach(p)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return P(this.component),co}get useRef(){return P(this.component),lo}get useRefSync(){return P(this.component),Lt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await H(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&p(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&p(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(Zt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&p(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(Zt,t)}triggerDestroy(){let t=this;t.hostDestroy&&p(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){P(this.component);let e=p(t);(Array.isArray(e)?e:[e]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function Zt(t){p(t,void 0,this)}var ee=nt;function Qt(t){if(typeof t!="object"&&typeof t!="function"||t===null)return t;let e=new Proxy(t,{get(o,s,n){if(!(ho.has(s)&&s in o&&o[s]===e)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return e}var ho=new Set(["exports","_exports"]);function oe(t,e,o){let s=Object.keys(t),n=s.length;S===void 0&&queueMicrotask(F),S??(S=new Map);let r=S.get(t);return r===void 0&&(r={callbacks:[],keyCount:n},S.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>p(e,null,l),a=i[n];a===void 0?c(void 0):t[a]===o?c(a):c(void 0)}),o}var S=void 0;function F(){Array.from(S?.entries()??[]).forEach(([t,{callbacks:e}])=>{let o=Object.keys(t);e.forEach(s=>s(o))}),S=void 0}function rt(t,e,o){var s;let n=e,r=t.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var se=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let e=this.component.manager.internals;Object.entries(e.members).forEach(([o,[s]])=>{var n;s&2048&&((n=e.setters)[o]??(n[o]=[]),e.setters[o].push(e.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(e,o,s)=>{if(q.readOnly)return e;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(e)}"`)},this.component=t}firePropTrackers(t,e){let o=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],o.forEach(s=>s(t,e))}getSetProxy(t){let e=this.component,o=e.constructor.prototype;if(this._getSetProxy(o,t,"class"),e.manager.isLit)return;let s=e.el.constructor.prototype;o!==s&&this._getSetProxy(s,t,"html")}_getSetProxy(t,e,o){let s=this.component,n=Yt(s,e),r;do r=Object.getOwnPropertyDescriptor(t,e);while(!r&&(t=Object.getPrototypeOf(t)));if(!r)return;let i=r.get,c=r.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let g=i.call(this),C=B.get(this);if(q.getter||C===void 0)return g;let M=C.manager.internals;g=M.accessorGetter[e](g,e);let v=M.getters[e]??wt;for(let w=0;w<v.length;w++)g=v[w](g,e);return g}:i,y=h?function(g){let C=i.call(this),M=B.get(this);if(M===void 0){c.call(this,g);return}let v=M.manager.isLit?g??void 0:Jt(g,n),w=M.manager.internals;if(v===C)c.call(this,v);else{let Ht=q.setter?wt:w.setters[e]??wt;for(let z=0;z<Ht.length&&(v=Ht[z](v,C,e),v!==C);z++);v=w.accessorSetter[e](v,C,e),c.call(this,v),v!==C&&w.enabledWatchers[e]?.forEach(z=>z(v,C,e))}w.keyTrackers.length>0&&w?.firePropTrackers(e,g)}:c;d&&(m[ot]=!0),h&&(y[ot]=!0),Object.defineProperty(t,e,{...r,get:m,set:y})}markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exports.set(e,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},wt=[],ot=Symbol(),$t=Symbol();function ne(t,e,o){let s=t.manager.internals;return s.trackedValue!==$t&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>p(e,void 0,o===r?n:void 0)),o}function it(t=[T(),...At()],e,o){let s=Array.isArray(t)?t:[t],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&e(c)};s.forEach(c=>oe(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&ne(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function re(t){q.readOnly=!0;try{return t()}finally{q.readOnly=!1}}var ie=t=>(...e)=>{let o=At(),s=new t(...e),n=s.exports;xt(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),io(s);let i=[s.component,...o].reverse();return it(i,c=>c===void 0?void 0:po(s,c,n),n)};function po(t,{host:e,key:o,isReactive:s},n){let r=e,i=r[o]!==t.exports,c=r[o]!==n,a=n!==t.exports;if(i&&!c&&a&&(r[o]=t.exports),e===t.component){if(s){let d=t.component.manager.internals;c&&d.markExports(t,r[o]),rt(t.component,o,h=>{h!==t.exports&&d.markExports(t,h)})}t.assignedProperty=s?void 0:o}t.watchExports(()=>{if(r[o]===t.exports)return;let d=t.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?re(()=>{r[o]=t.exports}):r[o]=t.exports})}var ce=(t,e)=>new uo(t,e),uo=class extends ee{constructor(t,e){let o="addController"in t,s=new Set;function n(a){s.add(a),!(st in a)&&t.renderRoot&&t.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=t;if(i.addController=n,i.removeController=r,!o){let a=e??t.constructor.__forceUpdate;i.requestUpdate=()=>a(t)}super(t),this.internals=new se(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=o,this.component.manager=this,Kt(t,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Ot in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ae,c.accessorSetter[a]=ae,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),P(t),B.set(t.el,t),B.set(t,t)}_bindLifecycleMethods(){let t=this.component,e=this.isLit,o=t.el===t;this._originalLifecycles={_connectedCallback:e||o?void 0:t.connectedCallback,_disconnectedCallback:e||o?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(t.connectedCallback=s,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=r,t.componentDidUpdate=i),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let e=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ot} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,F(),t.enableReadonly?.(),this._controllers.forEach(mo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(vo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,yo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&rt(this.component,Ot,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(go),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;return this._controllers.forEach(Eo,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(bo,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let e=this._updatePromise;this._updatePromise=new E,e.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(_o),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Ft(t,fo)}}},Ot="autoDestroyDisabled",fo=1e3;var ae=t=>t;function mo(t){"triggerConnected"in t?t.triggerConnected():p(t.hostConnected,t)}function vo(t){"triggerDisconnected"in t?t.triggerDisconnected():p(t.hostDisconnected,t)}async function yo(t){"triggerLoad"in t?await t.triggerLoad():await H(t.hostLoad,t)}function go(t){"triggerLoaded"in t?t.triggerLoaded():p(t.hostLoaded,t)}function Eo(t){"triggerUpdate"in t?t.triggerUpdate(this):p(t.hostUpdate,t,this)}function bo(t){"triggerUpdated"in t?t.triggerUpdated(this):p(t.hostUpdated,t,this)}function _o(t){"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t)}var Co=t=>le(void 0,t),Ss=t=>e=>le(e,t),wo=class extends nt{constructor(t,e){super(t);let o=this.exports;try{P(this.component);let s=e(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},le=ie(wo),Ps=(t,e)=>new $o(t,e),$o=class extends nt{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver(o=>{o.forEach(s=>{t.includes(s.attributeName)&&e.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})})}hostConnected(){this._attributes.forEach(t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ns=t=>(e={})=>Co((o,s)=>{let n=Ct(o.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},i=o;s.onLifecycle(()=>Bt(o.el,()=>t("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};s.exports=h;let m=l.componentLabel;typeof m=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=m)),c(i.messageOverrides)},e.name));function c(a){let l=s.exports,d=l._original??l,h=he(d,a);a&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>rt(i,"messageOverrides",c)),e.blocking?(s.setProvisionalExports(r,!1),s.ready):r});function he(t,e){if(!e)return t;let o={...t};return Object.entries(e).forEach(([s,n])=>{typeof n=="object"?o[s]=he(t[s],n):o[s]=n??t[s]}),o}var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),de=new WeakMap,G=class{constructor(e,o,s){if(this._$cssResult$=!0,s!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(ct&&e===void 0){let s=o!==void 0&&o.length===1;s&&(e=de.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&de.set(o,e))}return e}toString(){return this.cssText}},pe=t=>new G(typeof t=="string"?t:t+"",void 0,St),xo=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1],t[0]);return new G(o,t,St)},Pt=(t,e)=>{if(ct)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let s=document.createElement("style"),n=at.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,t.appendChild(s)}},lt=ct?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let s of e.cssRules)o+=s.cssText;return pe(o)})(t):t;var Nt=globalThis,ht=Nt.trustedTypes,ue=ht?ht.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,Dt="?"+$,Ao=`<${Dt}>`,D=document,J=()=>D.createComment(""),Y=t=>t===null||typeof t!="object"&&typeof t!="function",Rt=Array.isArray,Ee=t=>Rt(t)||typeof t?.[Symbol.iterator]=="function",Tt=`[
5
+ \f\r]`,K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fe=/-->/g,me=/>/g,N=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ve=/'/g,ye=/"/g,be=/^(?:script|style|textarea|title)$/i,Ut=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ms=Ut(1),js=Ut(2),Vs=Ut(3),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ge=new WeakMap,k=D.createTreeWalker(D,129);function _e(t,e){if(!Rt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ue!==void 0?ue.createHTML(e):e}var Ce=(t,e)=>{let o=t.length-1,s=[],n,r=e===2?"<svg>":e===3?"<math>":"",i=K;for(let c=0;c<o;c++){let a=t[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===K?d[1]==="!--"?i=fe:d[1]!==void 0?i=me:d[2]!==void 0?(be.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=n??K,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?ye:ve):i===ye||i===ve?i=N:i===fe||i===me?i=K:(i=N,n=void 0);let y=i===N&&t[c+1].startsWith("/>")?" ":"";r+=i===K?a+Ao:h>=0?(s.push(l),a.slice(0,h)+kt+a.slice(h)+$+y):a+$+(h===-2?c:y)}return[_e(t,r+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),s]},Z=class t{constructor({strings:e,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=e.length-1,a=this.parts,[l,d]=Ce(e,o);if(this.el=t.createElement(l,s),k.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=k.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(kt)){let m=d[i++],y=n.getAttribute(h).split($),_=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?pt:_[1]==="?"?ut:_[1]==="@"?ft:U}),n.removeAttribute(h)}else h.startsWith($)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(be.test(n.tagName)){let h=n.textContent.split($),m=h.length-1;if(m>0){n.textContent=ht?ht.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],J()),k.nextNode(),a.push({type:2,index:++r});n.append(h[m],J())}}}else if(n.nodeType===8)if(n.data===Dt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)a.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(e,o){let s=D.createElement("template");return s.innerHTML=e,s}};function R(t,e,o=t,s){if(e===f)return e;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Y(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(t),n._$AT(t,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(e=R(t,n._$AS(t,e.values),n,s)),e}var dt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:s}=this._$AD,n=(e?.creationScope??D).importNode(o,!0);k.currentNode=n;let r=k.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new V(r,r.nextSibling,this,e):a.type===1?l=new a.ctor(r,a.name,a.strings,this,e):a.type===6&&(l=new mt(r,this,e)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=k.nextNode(),i++)}return k.currentNode=D,n}p(e){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,o),o+=s.strings.length-2):s._$AI(e[o])),o++}},V=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,s,n){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=R(this,e,o),Y(e)?e===u||e==null||e===""?(this._$AH!==u&&this._$AR(),this._$AH=u):e!==this._$AH&&e!==f&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ee(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==u&&Y(this._$AH)?this._$AA.nextSibling.data=e:this.T(D.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:s}=e,n=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=Z.createElement(_e(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new dt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(e){let o=ge.get(e.strings);return o===void 0&&ge.set(e.strings,o=new Z(e)),o}k(e){Rt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of e)n===o.length?o.push(s=new t(this.O(J()),this.O(J()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,s,n,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(e,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)e=R(this,e,o,0),i=!Y(e)||e!==this._$AH&&e!==f,i&&(this._$AH=e);else{let c=e,a,l;for(e=r[0],a=0;a<r.length-1;a++)l=R(this,c[s+a],o,a),l===f&&(l=this._$AH[a]),i||=!Y(l)||l!==this._$AH[a],l===u?e=u:e!==u&&(e+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(e)}j(e){e===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pt=class extends U{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===u?void 0:e}},ut=class extends U{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==u)}},ft=class extends U{constructor(e,o,s,n,r){super(e,o,s,n,r),this.type=5}_$AI(e,o=this){if((e=R(this,e,o,0)??u)===f)return;let s=this._$AH,n=e===u&&s!==u||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==u&&(s===u||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},mt=class{constructor(e,o,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){R(this,e)}},we={M:kt,P:$,A:Dt,C:1,L:Ce,R:dt,D:Ee,V:R,I:V,H:U,N:ut,U:ft,B:pt,F:mt},Lo=Nt.litHtmlPolyfillSupport;Lo?.(Z,V),(Nt.litHtmlVersions??=[]).push("3.2.1");var $e=(t,e,o)=>{let s=o?.renderBefore??e,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new V(e.insertBefore(J(),r),r,void 0,o??{})}return n._$AI(t),n};var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,yt=globalThis,xe=yt.trustedTypes,Do=xe?xe.emptyScript:"",Ro=yt.reactiveElementPolyfillSupport,Q=(t,e)=>t,vt={toAttribute(t,e){switch(e){case Boolean:t=t?Do:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},It=(t,e)=>!Oo(t,e),Ae={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Ae){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(e,s,o);n!==void 0&&So(this.prototype,e,n)}}static getPropertyDescriptor(e,o,s){let{get:n,set:r}=Po(this.prototype,e)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(e,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ae}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=ko(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...No(o)];for(let n of s)this.createProperty(n,o[n])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let s=new Set(e.flat(1/0).reverse());for(let n of s)o.unshift(lt(n))}else e!==void 0&&o.push(lt(e));return o}static _$Eu(e,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,s){this._$AK(e,s)}_$EC(e,o){let s=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:vt).toAttribute(o,s.type);this._$Em=e,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(e,o){let s=this.constructor,n=s._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(e,o,s){if(e!==void 0){if(s??=this.constructor.getPropertyOptions(e),!(s.hasChanged??It)(this[e],o))return;this.P(e,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,o,s){this._$AL.has(e)||this._$AL.set(e,o),s.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw e=!1,this._$EU(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(yt.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=$e(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var b={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},I=t=>(...e)=>({_$litDirective$:t,values:e}),L=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,s){this._$Ct=e,this._$AM=o,this._$Ci=s}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Io}=we;var Oe=t=>t.strings===void 0,Le=()=>document.createComment(""),nn=(t,e,o)=>{let s=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(o===void 0){let r=s.insertBefore(Le(),n),i=s.insertBefore(Le(),n);o=new Io(r,i,t,t.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let a;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(a=t._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},rn=(t,e,o=t)=>(t._$AI(e,o),t),Mo={},Se=(t,e=Mo)=>t._$AH=e,an=t=>t._$AH,cn=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let s=e.nextSibling;e.remove(),e=s}};var jo=I(class extends L{constructor(t){if(super(t),t.type!==b.PROPERTY&&t.type!==b.ATTRIBUTE&&t.type!==b.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Oe(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===f||e===u)return e;let o=t.element,s=t.name;if(t.type===b.PROPERTY){if(e===o[s])return f}else if(t.type===b.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(s))return f}else if(t.type===b.ATTRIBUTE&&o.getAttribute(s)===e+"")return f;return Se(t),e}});var Pe=";",gt=",",Te=":";function Mt(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){let o=e;return o.manager?.loadedCalled||o._offspring.push(t),o._postLoad.promise}return!1}var Vo=(t,e)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&t.setAssetPath(i),Object.entries(e).forEach(zo)};function zo([t,[e,o=""]]){if(customElements.get(t))return;let[s,n,r]=o.split(Pe),i=s?s?.split(gt).map(Ne):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(gt):void 0}static{this._syncMethods=r?.split(gt)}static{this._name=t}constructor(){!a._loadPromise&&(a._loadPromise=e(),a._initializePrototype()),super()}};customElements.define(t,a)}var Et=Object.defineProperty;function Ne(t){let e=t.split(Te);return e.length===1?[e[0],et(e[0])]:e}var Ho=globalThis.HTMLElement??Ne,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){Et(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){Et(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){Et(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Mt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,s=this._store,n=Object.values(t).find(d=>d.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);Bo(i),!e._LitConstructor&&(e._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let a=document.createElement(r);n.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach(d=>{let h=this.getAttribute(d);a.attributeChangedCallback(d,null,h)}),Object.entries(s).forEach(qo,a);let l=this.isConnected;(l||this._ancestorLoad)&&(a.connectedCallback?.(),l||a.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([t,e]){this[t]=e}function Bo(t){let e=t.prototype,o=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},e.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},Et(e,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var jt={};var Re=I(class extends L{constructor(t){if(super(t),t.type!==b.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in e)e[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(e)}let o=t.element.classList;for(let s of this.st)s in e||(o.remove(s),this.st.delete(s));for(let s in e){let n=!!e[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return f}});var Ue="important",Go=" !"+Ue,Ie=I(class extends L{constructor(t){if(super(t),t.type!==b.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let s=t[o];return s==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let s of this.ft)e[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in e){let n=e[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Go);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Ue:""):o[s]=n}}return f}});var Me=(t="",e={},o=T())=>{let s={emit:n=>{t===""&&F();let r=new CustomEvent(t,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...e});return o.el.dispatchEvent(r),r}};return t===""&&it(void 0,n=>{t=n.key},s),s},mr=Me.bind(null,"");var Ko=()=>{},Jo=class je extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=ce(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=Ko;let e=je.prototype.shouldUpdate;this.shouldUpdate!==e&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=e),!1}static finalizeStyles(e){let o=super.finalizeStyles(e),s=this.shadowRootOptions===jt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(e,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(e,{attribute:s&1&&typeof e=="string"?et(e):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let e=!this.manager.connectedCalled;super.connectedCallback(),e&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let e=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=e??(s===jt?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),e)return A.prototype.createRenderRoot.call(this),e;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let e=this.el._ancestorLoad??Mt(this.el);e&&await e,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(e){return this.$changes=e,this._originalShouldUpdate?.(e)??!0}listen(e,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(e,n,s),()=>this.el.removeEventListener(e,n,s)))}listenOn(e,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(e.addEventListener(o,r,n),()=>e.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Jo.$createEvent=Me;function Ve(t){let e,o=n=>{e=new URL(n,globalThis.location?.href||void 0).href},s={...t,getAssetPath(n){let r=new URL(n,e);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(t.defaultAssetPath),s}var Ar=t=>typeof t=="object"&&t!=null?Re(t):t,Lr=t=>typeof t=="object"&&t!=null?Ie(t):t;var Sr=u;function Pr(t,e,o){o==null?t.removeAttribute(e):t.setAttribute(e,o)}var Tr={toAttribute:t=>t===!0?"":t===!1?null:t};var We="calcite-mode-auto",qe="calcite-mode-dark",Yo="calcite-mode-light",Rr={autoMode:We,darkMode:qe,lightMode:Yo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Ur={filter:250,nextTick:0,resize:150,reposition:100};function ze(){let{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>t.contains(qe)||t.contains(We)&&e?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Ir=X?.focusTrapStack||[],Mr=X?.logLevel||"info",He="3.1.0-next.22",Zo="2025-03-05",Qo="b1babb615";function Xo(){if(X&&X.version)return;console.info(`Using Calcite Components ${He} [Date: ${Zo}, Revision: ${Qo}]`);let t=X||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:He,writable:!1}),globalThis.calciteConfig=t}var Be=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function ts(){return navigator.userAgentData}function jr(){if(!Be())return"";let t=ts();return t?.brands?t.brands.map(({brand:e,version:o})=>`${e}/${o}`).join(" "):navigator.userAgent}function es(){Be()&&(document.readyState==="interactive"?ze():document.addEventListener("DOMContentLoaded",()=>ze(),{once:!0})),Xo()}es();var os=Ve({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.1.0-next.22/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:Vr,getAssetPath:zr,setAssetPath:Hr}=os;export{Vo as a,Ss as b,Ps as c,Ns as d,xo as e,Ms as f,js as g,Vs as h,f as i,u as j,$e as k,b as l,I as m,L as n,Oe as o,nn as p,rn as q,Se as r,an as s,cn as t,jo as u,mr as v,Jo as w,Ar as x,Lr as y,Sr as z,Pr as A,Tr as B,Rr as C,Ur as D,Ir as E,Mr as F,Be as G,jr as H,os as I,Vr as J,zr as K};