@esri/calcite-components 3.0.0-next.98 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (604) hide show
  1. package/dist/calcite/22RQB3WE.js +4 -0
  2. package/dist/calcite/{YGZZRAVL.js → 24SER2VV.js} +4 -6
  3. package/dist/calcite/2BGMAPSV.js +4 -0
  4. package/dist/calcite/2JKKAEPM.js +4 -0
  5. package/dist/calcite/{DMND3N53.js → 2M4WCGKG.js} +4 -6
  6. package/dist/calcite/2YAXZHP2.js +4 -0
  7. package/dist/calcite/{7D6Q26CZ.js → 345Q4UHX.js} +4 -6
  8. package/dist/calcite/{LPR4PB3U.js → 36DMRAV2.js} +4 -6
  9. package/dist/calcite/{XTM45ICH.js → 3DGJ6ZQI.js} +4 -6
  10. package/dist/calcite/3GICXOBQ.js +4 -0
  11. package/dist/calcite/3IV6JSC2.js +4 -0
  12. package/dist/calcite/{DOD4WFTZ.js → 3TOVZEQB.js} +4 -6
  13. package/dist/calcite/45GA6INB.js +4 -0
  14. package/dist/calcite/46U4MKUU.js +4 -0
  15. package/dist/calcite/4BSCJ722.js +4 -0
  16. package/dist/calcite/4SEPDFCP.js +5 -0
  17. package/dist/calcite/{EU3H7BCA.js → 4TQLSUKH.js} +4 -6
  18. package/dist/calcite/4YZ27QWL.js +4 -0
  19. package/dist/calcite/4Z7JRTON.js +4 -0
  20. package/dist/calcite/5AVZLE2Q.js +4 -0
  21. package/dist/calcite/{3AK4X5OV.js → 5EPP4MG3.js} +4 -6
  22. package/dist/calcite/{FPFTHRY6.js → 66B2H27W.js} +4 -6
  23. package/dist/calcite/6LW27BEV.js +4 -0
  24. package/dist/calcite/6OZRZ36X.js +4 -0
  25. package/dist/calcite/6X2SD2PW.js +4 -0
  26. package/dist/calcite/{ZGJB2ECH.js → 6XTYGXNG.js} +4 -6
  27. package/dist/calcite/6ZTWHW63.js +4 -0
  28. package/dist/calcite/{YFZLUYQJ.js → 7D3VEEUX.js} +4 -6
  29. package/dist/calcite/7E342YOK.js +4 -0
  30. package/dist/calcite/{3XOYD44L.js → 7KSGVDSR.js} +4 -6
  31. package/dist/calcite/{6FWANW5T.js → 7PWETOIU.js} +4 -6
  32. package/dist/calcite/7QHUEK5R.js +4 -0
  33. package/dist/calcite/{NSKFJMNX.js → 7SX3RD7P.js} +4 -6
  34. package/dist/calcite/7U7FF3Y4.js +4 -0
  35. package/dist/calcite/7WG5I3MP.js +4 -0
  36. package/dist/calcite/{ADB3AYG3.js → A5GGYTUQ.js} +4 -6
  37. package/dist/calcite/{BRBFCQO2.js → AI3R3SU6.js} +5 -7
  38. package/dist/calcite/ARHYATTG.js +4 -0
  39. package/dist/calcite/{WMVGOOU2.js → ATHBUWBY.js} +4 -6
  40. package/dist/calcite/AXXJNFKZ.js +4 -0
  41. package/dist/calcite/{FG7MNK63.js → AYZ73RWQ.js} +4 -6
  42. package/dist/calcite/{NWOFVES6.js → BAHIPAHM.js} +4 -6
  43. package/dist/calcite/BRTDMTZ3.js +4 -0
  44. package/dist/calcite/BRTESQOJ.js +4 -0
  45. package/dist/calcite/{67NDJDQ5.js → BSRMWMHQ.js} +4 -6
  46. package/dist/calcite/{AZIIYZ5O.js → BZKF5ZXQ.js} +4 -6
  47. package/dist/calcite/C46JYVUP.js +4 -0
  48. package/dist/calcite/C54C5E23.js +4 -0
  49. package/dist/calcite/CBSMKHOY.js +4 -0
  50. package/dist/calcite/CFRBQXK4.js +4 -0
  51. package/dist/calcite/CIV3PH3Z.js +4 -0
  52. package/dist/calcite/CJYTY62F.js +4 -0
  53. package/dist/calcite/CK6HQQX6.js +4 -0
  54. package/dist/calcite/CMO3X257.js +4 -0
  55. package/dist/calcite/{SKMMQQJV.js → CNO6NFH5.js} +4 -6
  56. package/dist/calcite/CWPRBG3T.js +4 -0
  57. package/dist/calcite/CY6C2FDZ.js +4 -0
  58. package/dist/calcite/D2HDFE7S.js +22 -0
  59. package/dist/calcite/D36VWSDW.js +4 -0
  60. package/dist/calcite/{DALSMKYG.js → DBVNMM6Q.js} +4 -6
  61. package/dist/calcite/{HOWCGXPH.js → DDJ75RTI.js} +4 -6
  62. package/dist/calcite/DH4ISGHV.js +4 -0
  63. package/dist/calcite/{L6U5SH5H.js → DNYBIAUI.js} +4 -6
  64. package/dist/calcite/DT67ZFPX.js +4 -0
  65. package/dist/calcite/{TMHRMF76.js → DTL2LM6T.js} +4 -6
  66. package/dist/calcite/E3R5SMVW.js +4 -0
  67. package/dist/calcite/{MZ3KHKD7.js → E4NMFIKN.js} +4 -6
  68. package/dist/calcite/{KVSVZ6K7.js → EAML4EDI.js} +4 -6
  69. package/dist/calcite/{AJSU4WDN.js → ECEZ4R6E.js} +4 -6
  70. package/dist/calcite/EFI2G5WL.js +4 -0
  71. package/dist/calcite/EHZCT5YZ.js +4 -0
  72. package/dist/calcite/{NHHVXBWF.js → EOHVH6PN.js} +4 -6
  73. package/dist/calcite/ESBOJTBS.js +4 -0
  74. package/dist/calcite/F6EGRKXW.js +4 -0
  75. package/dist/calcite/FCN5RMLA.js +4 -0
  76. package/dist/calcite/FDIM6DYL.js +4 -0
  77. package/dist/calcite/FE3A3YUN.js +4 -0
  78. package/dist/calcite/FHBFGCTR.js +4 -0
  79. package/dist/calcite/FNFWOOMR.js +4 -0
  80. package/dist/calcite/{X4JV7QBZ.js → FNM4DZZH.js} +3 -5
  81. package/dist/calcite/G2KHDAZD.js +4 -0
  82. package/dist/calcite/{4YTV42YC.js → G3LH75CQ.js} +4 -6
  83. package/dist/calcite/{TJJNESY6.js → G3ZJ2KQT.js} +4 -6
  84. package/dist/calcite/{V7O3TS4K.js → G7WFYVUC.js} +4 -6
  85. package/dist/calcite/{C6D6T2QL.js → GAAXSGWK.js} +4 -6
  86. package/dist/calcite/{GIWNYIWI.js → GE63ETFI.js} +4 -6
  87. package/dist/calcite/{JAQBT7O2.js → GFC7NS6P.js} +4 -6
  88. package/dist/calcite/GGO5TMB4.js +4 -0
  89. package/dist/calcite/GKKCWEZX.js +4 -0
  90. package/dist/calcite/GN5CPLSJ.js +4 -0
  91. package/dist/calcite/GNUSLZWJ.js +4 -0
  92. package/dist/calcite/{7XR7JSFK.js → GOOHYN3D.js} +4 -6
  93. package/dist/calcite/GPUFLCIT.js +4 -0
  94. package/dist/calcite/GSXEMGSW.js +4 -0
  95. package/dist/calcite/GYQTRH4V.js +4 -0
  96. package/dist/calcite/HFIRIAQA.js +4 -0
  97. package/dist/calcite/{UR74R23Y.js → HGTV36FX.js} +4 -6
  98. package/dist/calcite/HKHPJJ34.js +4 -0
  99. package/dist/calcite/{Q2QY7ZFK.js → HMVKZP47.js} +4 -6
  100. package/dist/calcite/I2OIH73C.js +4 -0
  101. package/dist/calcite/{4GZ2XBON.js → I32TMNTO.js} +3 -5
  102. package/dist/calcite/{OEZ2ZO2E.js → I62DUDHI.js} +4 -6
  103. package/dist/calcite/IH4RXHJJ.js +4 -0
  104. package/dist/calcite/{YUH32F6Q.js → IJCTXZQB.js} +4 -6
  105. package/dist/calcite/{SIKDPHI3.js → IXRMDUEL.js} +4 -6
  106. package/dist/calcite/IYDN67SF.js +4 -0
  107. package/dist/calcite/JCWM5Z43.js +4 -0
  108. package/dist/calcite/{OVBCCJSO.js → JEX42CPR.js} +4 -6
  109. package/dist/calcite/JFYDLHH7.js +4 -0
  110. package/dist/calcite/JLZYAYOL.js +4 -0
  111. package/dist/calcite/{YADF4OR7.js → JUNCR7R2.js} +4 -6
  112. package/dist/calcite/{AOOHSCUM.js → JVNEJ36Z.js} +4 -6
  113. package/dist/calcite/K3ZBW4GY.js +4 -0
  114. package/dist/calcite/{LRWFZNMG.js → KBDXI6DJ.js} +4 -6
  115. package/dist/calcite/{RXVA6IDK.js → KBNS3CCT.js} +4 -6
  116. package/dist/calcite/KI2NOBMU.js +4 -0
  117. package/dist/calcite/KSNEQFZX.js +4 -0
  118. package/dist/calcite/KSVYAIHK.js +4 -0
  119. package/dist/calcite/KULDQOV2.js +4 -0
  120. package/dist/calcite/KVSCG5E3.js +6 -0
  121. package/dist/calcite/{QMAVVMZX.js → KW57BHXD.js} +4 -6
  122. package/dist/calcite/{USPGSZKI.js → KWOOGTG2.js} +4 -6
  123. package/dist/calcite/L5FDXQMT.js +4 -0
  124. package/dist/calcite/{D6VMYOIF.js → LB5ATL5Q.js} +4 -6
  125. package/dist/calcite/LH7KSBQC.js +4 -0
  126. package/dist/calcite/{LELS4MNY.js → LHSAAMYQ.js} +4 -6
  127. package/dist/calcite/LILDCWFX.js +4 -0
  128. package/dist/calcite/LLSB73WA.js +4 -0
  129. package/dist/calcite/{4MHQTNLP.js → LOZEGKG2.js} +4 -6
  130. package/dist/calcite/{VB2CZH2R.js → MBQZPRQ5.js} +4 -6
  131. package/dist/calcite/MCSX2S5T.js +4 -0
  132. package/dist/calcite/{IVBFSESV.js → MIKGJ3NM.js} +4 -6
  133. package/dist/calcite/MPAVJ7UH.js +4 -0
  134. package/dist/calcite/{MZKQ2IE5.js → MPX2M2VX.js} +4 -6
  135. package/dist/calcite/{VUI2CUZB.js → MQYH4ONZ.js} +3 -5
  136. package/dist/calcite/MUWK32IE.js +4 -0
  137. package/dist/calcite/{34JGX2UT.js → MZRO54UT.js} +4 -6
  138. package/dist/calcite/N2BVYYYP.js +4 -0
  139. package/dist/calcite/{3LRPQHGC.js → N4MN6VQ7.js} +4 -6
  140. package/dist/calcite/{NOOS5KYH.js → N55N67N5.js} +4 -6
  141. package/dist/calcite/NODC2JA6.js +4 -0
  142. package/dist/calcite/{3REOX2WD.js → NVBNX55L.js} +4 -6
  143. package/dist/calcite/{6KHZB5QM.js → NWVCPRVB.js} +3 -5
  144. package/dist/calcite/{36NZNZAH.js → O4O3TSE5.js} +4 -6
  145. package/dist/calcite/OE2AH2NC.js +4 -0
  146. package/dist/calcite/OGED6PPP.js +4 -0
  147. package/dist/calcite/{P4HQU6WZ.js → OHOS32IT.js} +4 -6
  148. package/dist/calcite/{M66YCIAJ.js → OLMX7G3J.js} +3 -5
  149. package/dist/calcite/OOSULFCY.js +4 -0
  150. package/dist/calcite/OPBQNK7J.js +4 -0
  151. package/dist/calcite/OTHVFLNW.js +4 -0
  152. package/dist/calcite/{MDXVE52Q.js → OTUG3NVT.js} +4 -6
  153. package/dist/calcite/PNHR5K2L.js +4 -0
  154. package/dist/calcite/{M3DNGO5Z.js → PT2XMADA.js} +3 -5
  155. package/dist/calcite/PZLVQQMT.js +4 -0
  156. package/dist/calcite/{PVA5CRLN.js → QAYSDI3M.js} +3 -5
  157. package/dist/calcite/QCGLMLKW.js +4 -0
  158. package/dist/calcite/QHASLHZN.js +4 -0
  159. package/dist/calcite/QK2H5T7J.js +4 -0
  160. package/dist/calcite/QLKHJI4P.js +4 -0
  161. package/dist/calcite/QQ67AVDV.js +4 -0
  162. package/dist/calcite/{U7CNRHVY.js → QU33PBBI.js} +4 -6
  163. package/dist/calcite/QYGED6CL.js +4 -0
  164. package/dist/calcite/R3HMG2D6.js +4 -0
  165. package/dist/calcite/{2ILRHKYA.js → R4RMVIKH.js} +4 -6
  166. package/dist/calcite/R6GNPMSV.js +4 -0
  167. package/dist/calcite/{RCCGU5MD.js → RAFCSOOQ.js} +4 -6
  168. package/dist/calcite/{OKBJXUSY.js → RAQWKUOJ.js} +4 -6
  169. package/dist/calcite/RESHLE2Y.js +4 -0
  170. package/dist/calcite/RJLKHCRB.js +4 -0
  171. package/dist/calcite/RLSQLIV6.js +4 -0
  172. package/dist/calcite/{3EX47ZJ7.js → RMGYRZXR.js} +4 -6
  173. package/dist/calcite/RSAEDAEX.js +4 -0
  174. package/dist/calcite/{L4QPHNYB.js → RUTUU2EH.js} +4 -6
  175. package/dist/calcite/{GSK6RQ3K.js → RVMVJW6K.js} +4 -6
  176. package/dist/calcite/RVQMJBNS.js +4 -0
  177. package/dist/calcite/{IU2I5NQH.js → S76CXQTI.js} +4 -6
  178. package/dist/calcite/SBZ6VJ75.js +4 -0
  179. package/dist/calcite/SJKTCGW6.js +4 -0
  180. package/dist/calcite/{OZT7IOB4.js → SKDMJE3X.js} +3 -5
  181. package/dist/calcite/SMUXJLDL.js +4 -0
  182. package/dist/calcite/SYEQSDHG.js +4 -0
  183. package/dist/calcite/T3NRBBZP.js +4 -0
  184. package/dist/calcite/T5UPGHU3.js +4 -0
  185. package/dist/calcite/{J2OJW5GP.js → T6HODD4B.js} +4 -6
  186. package/dist/calcite/TNR5VZG2.js +4 -0
  187. package/dist/calcite/TQIVV2F7.js +4 -0
  188. package/dist/calcite/{FZ4CSZA4.js → TQTAM3XB.js} +4 -6
  189. package/dist/calcite/{XYFCDRYI.js → TSJJLMPA.js} +3 -5
  190. package/dist/calcite/{2WAX46W7.js → TVDZM7WT.js} +4 -6
  191. package/dist/calcite/U3WK4DZT.js +4 -0
  192. package/dist/calcite/U725E4ID.js +4 -0
  193. package/dist/calcite/UELGJSYH.js +4 -0
  194. package/dist/calcite/UJL3BWDH.js +4 -0
  195. package/dist/calcite/{5BEC7VI2.js → URM3R65T.js} +4 -6
  196. package/dist/calcite/US3PQV6O.js +4 -0
  197. package/dist/calcite/{LB35U4RB.js → V4JZRN7T.js} +4 -6
  198. package/dist/calcite/{AXDFDSSW.js → VCSXFNPO.js} +4 -6
  199. package/dist/calcite/VG7BJBFG.js +4 -0
  200. package/dist/calcite/{XB45LF7D.js → VJD4CRQ3.js} +4 -6
  201. package/dist/calcite/VMRLYKNI.js +4 -0
  202. package/dist/calcite/{J7S4FBW6.js → VNQNKQ2J.js} +4 -6
  203. package/dist/calcite/VST65PDC.js +4 -0
  204. package/dist/calcite/WKTGTKRJ.js +4 -0
  205. package/dist/calcite/WPAMFFBY.js +4 -0
  206. package/dist/calcite/{EMKF6OLE.js → WSGL37LB.js} +4 -6
  207. package/dist/calcite/{5NJCKLIQ.js → WWUBU6N5.js} +4 -6
  208. package/dist/calcite/{EW526JIT.js → X2UHFJHG.js} +4 -6
  209. package/dist/calcite/XBZLGRRI.js +4 -0
  210. package/dist/calcite/XOVG6UH3.js +4 -0
  211. package/dist/calcite/{HYEIYTTY.js → XT32TCZG.js} +3 -5
  212. package/dist/calcite/XXZIOSXQ.js +4 -0
  213. package/dist/calcite/{B4XI5JOK.js → Y6VF7HSM.js} +4 -6
  214. package/dist/calcite/YA5A7PJR.js +4 -0
  215. package/dist/calcite/{5I3PI5EW.js → YMRTHS5X.js} +4 -6
  216. package/dist/calcite/{SKJ5S6CA.js → YTRT5XZT.js} +4 -6
  217. package/dist/calcite/{PBQGOCJH.js → YXLQFMOA.js} +4 -6
  218. package/dist/calcite/{FCUAMZTR.js → YYJSHQR3.js} +3 -5
  219. package/dist/calcite/{5QSUEEHT.js → Z6GA347Y.js} +4 -6
  220. package/dist/calcite/{G76AKBKS.js → Z7VNUC77.js} +4 -6
  221. package/dist/calcite/ZA76CHET.js +4 -0
  222. package/dist/calcite/ZGXTLCGJ.js +4 -0
  223. package/dist/calcite/{57K4SYWS.js → ZQO6E4FO.js} +4 -6
  224. package/dist/calcite/ZV442E6X.js +4 -0
  225. package/dist/calcite/assets/icon/crosshair16.json +1 -0
  226. package/dist/calcite/assets/icon/crosshair24.json +1 -0
  227. package/dist/calcite/assets/icon/crosshair32.json +1 -0
  228. package/dist/calcite/assets/icon/dualImageArea16.json +1 -0
  229. package/dist/calcite/assets/icon/dualImageArea24.json +1 -0
  230. package/dist/calcite/assets/icon/dualImageArea32.json +1 -0
  231. package/dist/calcite/assets/icon/dualImageDistance16.json +1 -0
  232. package/dist/calcite/assets/icon/dualImageDistance24.json +1 -0
  233. package/dist/calcite/assets/icon/dualImageDistance32.json +1 -0
  234. package/dist/calcite/assets/icon/dualImageLocation16.json +1 -0
  235. package/dist/calcite/assets/icon/dualImageLocation24.json +1 -0
  236. package/dist/calcite/assets/icon/dualImageLocation32.json +1 -0
  237. package/dist/calcite/assets/icon/hammerCoin16.json +1 -0
  238. package/dist/calcite/assets/icon/hammerCoin24.json +1 -0
  239. package/dist/calcite/assets/icon/hammerCoin32.json +1 -0
  240. package/dist/calcite/assets/icon/hammerLock16.json +1 -0
  241. package/dist/calcite/assets/icon/hammerLock24.json +1 -0
  242. package/dist/calcite/assets/icon/hammerLock32.json +1 -0
  243. package/dist/calcite/assets/icon/utilityNetworkLayer16.json +1 -0
  244. package/dist/calcite/assets/icon/utilityNetworkLayer24.json +1 -0
  245. package/dist/calcite/assets/icon/utilityNetworkLayer32.json +1 -0
  246. package/dist/calcite/calcite.css +1 -1
  247. package/dist/calcite/calcite.esm.js +4 -6
  248. package/dist/chunks/ExpandToggle.js +3 -5
  249. package/dist/chunks/FloatingArrow.js +6 -8
  250. package/dist/chunks/Heading.js +3 -5
  251. package/dist/chunks/Validation.js +3 -5
  252. package/dist/chunks/_commonjsHelpers.js +3 -5
  253. package/dist/chunks/array.js +3 -5
  254. package/dist/chunks/component.js +13 -11
  255. package/dist/chunks/core.js +3 -5
  256. package/dist/chunks/date.js +3 -5
  257. package/dist/chunks/dom.js +218 -234
  258. package/dist/chunks/dynamicClasses.js +3 -5
  259. package/dist/chunks/filter.js +3 -5
  260. package/dist/chunks/floating-ui.js +61 -65
  261. package/dist/chunks/focusTrapComponent.js +25 -30
  262. package/dist/chunks/form.js +19 -21
  263. package/dist/chunks/global.js +14 -14
  264. package/dist/chunks/guid.js +3 -5
  265. package/dist/chunks/input.js +3 -5
  266. package/dist/chunks/interact.min.js +3 -5
  267. package/dist/chunks/interactive.js +3 -5
  268. package/dist/chunks/key.js +3 -5
  269. package/dist/chunks/label.js +7 -9
  270. package/dist/chunks/loadable.js +11 -22
  271. package/dist/chunks/locale.js +3 -5
  272. package/dist/chunks/logger.js +3 -5
  273. package/dist/chunks/math.js +3 -5
  274. package/dist/chunks/observers.js +3 -5
  275. package/dist/chunks/openCloseComponent.js +5 -7
  276. package/dist/chunks/resources.js +3 -5
  277. package/dist/chunks/resources2.js +3 -5
  278. package/dist/chunks/resources3.js +8 -14
  279. package/dist/chunks/resources4.js +3 -5
  280. package/dist/chunks/resources5.js +3 -5
  281. package/dist/chunks/resources6.js +3 -5
  282. package/dist/chunks/resources7.js +3 -5
  283. package/dist/chunks/responsive.js +9 -12
  284. package/dist/chunks/runtime.js +39 -43
  285. package/dist/chunks/sortableComponent.js +49 -39
  286. package/dist/chunks/text.js +3 -5
  287. package/dist/chunks/time.js +12 -14
  288. package/dist/chunks/useFocusTrap.js +49 -0
  289. package/dist/chunks/useT9n.js +3 -5
  290. package/dist/chunks/utils.js +19 -17
  291. package/dist/chunks/utils2.js +3 -5
  292. package/dist/chunks/utils3.js +15 -16
  293. package/dist/chunks/utils4.js +264 -271
  294. package/dist/components/calcite-accordion/customElement.js +3 -5
  295. package/dist/components/calcite-accordion-item/customElement.js +10 -14
  296. package/dist/components/calcite-action/customElement.js +17 -21
  297. package/dist/components/calcite-action-bar/customElement.js +24 -27
  298. package/dist/components/calcite-action-group/customElement.js +20 -24
  299. package/dist/components/calcite-action-menu/customElement.js +14 -18
  300. package/dist/components/calcite-action-pad/customElement.js +21 -25
  301. package/dist/components/calcite-alert/customElement.js +50 -63
  302. package/dist/components/calcite-autocomplete/customElement.d.ts +10 -4
  303. package/dist/components/calcite-autocomplete/customElement.js +50 -52
  304. package/dist/components/calcite-autocomplete-item/customElement.js +17 -21
  305. package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -5
  306. package/dist/components/calcite-avatar/customElement.js +8 -10
  307. package/dist/components/calcite-block/customElement.d.ts +18 -1
  308. package/dist/components/calcite-block/customElement.js +54 -40
  309. package/dist/components/calcite-block/index.d.ts +1 -1
  310. package/dist/components/calcite-block/index.js +1 -1
  311. package/dist/components/calcite-block/utils.d.ts +2 -0
  312. package/dist/components/calcite-block-group/customElement.d.ts +50 -0
  313. package/dist/components/calcite-block-group/customElement.js +177 -0
  314. package/dist/components/calcite-block-group/index.d.ts +2 -0
  315. package/dist/components/calcite-block-group/index.js +2 -0
  316. package/dist/components/calcite-block-group/interfaces.d.ts +14 -0
  317. package/dist/components/calcite-block-group/resources.d.ts +8 -0
  318. package/dist/components/calcite-block-group/utils.d.ts +1 -0
  319. package/dist/components/calcite-block-section/customElement.js +19 -23
  320. package/dist/components/calcite-button/customElement.js +28 -30
  321. package/dist/components/calcite-card/customElement.js +17 -23
  322. package/dist/components/calcite-card-group/customElement.js +15 -18
  323. package/dist/components/calcite-carousel/customElement.js +29 -32
  324. package/dist/components/calcite-carousel-item/customElement.js +3 -5
  325. package/dist/components/calcite-checkbox/customElement.d.ts +4 -1
  326. package/dist/components/calcite-checkbox/customElement.js +18 -22
  327. package/dist/components/calcite-chip/customElement.js +42 -44
  328. package/dist/components/calcite-chip-group/customElement.js +10 -14
  329. package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
  330. package/dist/components/calcite-color-picker/customElement.js +200 -178
  331. package/dist/components/calcite-color-picker/resources.d.ts +7 -16
  332. package/dist/components/calcite-color-picker/utils.d.ts +4 -3
  333. package/dist/components/calcite-color-picker-hex-input/customElement.js +27 -31
  334. package/dist/components/calcite-color-picker-swatch/customElement.js +3 -5
  335. package/dist/components/calcite-combobox/customElement.d.ts +5 -3
  336. package/dist/components/calcite-combobox/customElement.js +166 -160
  337. package/dist/components/calcite-combobox/resources.d.ts +1 -0
  338. package/dist/components/calcite-combobox-item/customElement.d.ts +2 -1
  339. package/dist/components/calcite-combobox-item/customElement.js +47 -38
  340. package/dist/components/calcite-combobox-item-group/customElement.js +13 -15
  341. package/dist/components/calcite-date-picker/customElement.d.ts +8 -2
  342. package/dist/components/calcite-date-picker/customElement.js +28 -31
  343. package/dist/components/calcite-date-picker-day/customElement.js +16 -19
  344. package/dist/components/calcite-date-picker-month/customElement.js +39 -41
  345. package/dist/components/calcite-date-picker-month-header/customElement.js +40 -44
  346. package/dist/components/calcite-dialog/customElement.d.ts +20 -4
  347. package/dist/components/calcite-dialog/customElement.js +78 -72
  348. package/dist/components/calcite-dialog/resources.d.ts +1 -0
  349. package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
  350. package/dist/components/calcite-dropdown/customElement.js +63 -70
  351. package/dist/components/calcite-dropdown/resources.d.ts +1 -0
  352. package/dist/components/calcite-dropdown-group/customElement.js +4 -6
  353. package/dist/components/calcite-dropdown-item/customElement.js +20 -23
  354. package/dist/components/calcite-fab/customElement.js +19 -23
  355. package/dist/components/calcite-filter/customElement.js +20 -25
  356. package/dist/components/calcite-flow/customElement.js +19 -22
  357. package/dist/components/calcite-flow-item/customElement.js +26 -30
  358. package/dist/components/calcite-graph/customElement.js +52 -50
  359. package/dist/components/calcite-graph/interfaces.d.ts +1 -5
  360. package/dist/components/calcite-graph/resources.d.ts +5 -0
  361. package/dist/components/calcite-handle/customElement.d.ts +3 -0
  362. package/dist/components/calcite-handle/customElement.js +20 -18
  363. package/dist/components/calcite-icon/customElement.js +23 -25
  364. package/dist/components/calcite-inline-editable/customElement.js +25 -29
  365. package/dist/components/calcite-input/customElement.d.ts +14 -6
  366. package/dist/components/calcite-input/customElement.js +26 -29
  367. package/dist/components/calcite-input-date-picker/customElement.d.ts +12 -3
  368. package/dist/components/calcite-input-date-picker/customElement.js +84 -88
  369. package/dist/components/calcite-input-message/customElement.js +3 -5
  370. package/dist/components/calcite-input-number/customElement.d.ts +12 -5
  371. package/dist/components/calcite-input-number/customElement.js +30 -36
  372. package/dist/components/calcite-input-text/customElement.d.ts +10 -4
  373. package/dist/components/calcite-input-text/customElement.js +61 -65
  374. package/dist/components/calcite-input-time-picker/customElement.d.ts +8 -3
  375. package/dist/components/calcite-input-time-picker/customElement.js +45 -47
  376. package/dist/components/calcite-input-time-zone/customElement.js +53 -55
  377. package/dist/components/calcite-label/customElement.js +3 -5
  378. package/dist/components/calcite-link/customElement.js +10 -14
  379. package/dist/components/calcite-list/customElement.js +67 -70
  380. package/dist/components/calcite-list-item/customElement.js +66 -85
  381. package/dist/components/calcite-list-item/utils.d.ts +1 -0
  382. package/dist/components/calcite-list-item-group/customElement.js +3 -5
  383. package/dist/components/calcite-loader/customElement.js +3 -7
  384. package/dist/components/calcite-menu/customElement.js +12 -16
  385. package/dist/components/calcite-menu-item/customElement.js +12 -16
  386. package/dist/components/calcite-meter/customElement.js +26 -28
  387. package/dist/components/calcite-modal/customElement.d.ts +16 -3
  388. package/dist/components/calcite-modal/customElement.js +61 -61
  389. package/dist/components/calcite-navigation/customElement.js +17 -21
  390. package/dist/components/calcite-navigation-logo/customElement.js +12 -16
  391. package/dist/components/calcite-navigation-user/customElement.js +10 -14
  392. package/dist/components/calcite-notice/customElement.js +25 -28
  393. package/dist/components/calcite-option/customElement.js +3 -5
  394. package/dist/components/calcite-option-group/customElement.js +3 -5
  395. package/dist/components/calcite-pagination/customElement.js +15 -17
  396. package/dist/components/calcite-panel/customElement.js +45 -48
  397. package/dist/components/calcite-popover/customElement.d.ts +10 -7
  398. package/dist/components/calcite-popover/customElement.js +70 -79
  399. package/dist/components/calcite-progress/customElement.js +3 -5
  400. package/dist/components/calcite-radio-button/customElement.d.ts +4 -1
  401. package/dist/components/calcite-radio-button/customElement.js +17 -20
  402. package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -1
  403. package/dist/components/calcite-radio-button-group/customElement.js +14 -17
  404. package/dist/components/calcite-rating/customElement.js +21 -23
  405. package/dist/components/calcite-scrim/customElement.js +3 -5
  406. package/dist/components/calcite-segmented-control/customElement.d.ts +4 -1
  407. package/dist/components/calcite-segmented-control/customElement.js +14 -17
  408. package/dist/components/calcite-segmented-control-item/customElement.js +28 -30
  409. package/dist/components/calcite-select/customElement.d.ts +4 -1
  410. package/dist/components/calcite-select/customElement.js +19 -22
  411. package/dist/components/calcite-sheet/customElement.d.ts +17 -3
  412. package/dist/components/calcite-sheet/customElement.js +59 -62
  413. package/dist/components/calcite-shell/customElement.js +3 -6
  414. package/dist/components/calcite-shell-center-row/customElement.js +3 -5
  415. package/dist/components/calcite-shell-panel/customElement.js +16 -20
  416. package/dist/components/calcite-slider/customElement.d.ts +4 -1
  417. package/dist/components/calcite-slider/customElement.js +18 -21
  418. package/dist/components/calcite-sort-handle/customElement.js +45 -35
  419. package/dist/components/calcite-sort-handle/index.d.ts +1 -1
  420. package/dist/components/calcite-sort-handle/index.js +1 -1
  421. package/dist/components/calcite-sortable-list/customElement.d.ts +4 -1
  422. package/dist/components/calcite-sortable-list/customElement.js +21 -16
  423. package/dist/components/calcite-split-button/customElement.js +13 -20
  424. package/dist/components/calcite-stack/customElement.js +4 -6
  425. package/dist/components/calcite-stepper/customElement.js +36 -39
  426. package/dist/components/calcite-stepper-item/customElement.js +23 -22
  427. package/dist/components/calcite-switch/customElement.js +10 -14
  428. package/dist/components/calcite-tab/customElement.js +3 -5
  429. package/dist/components/calcite-tab-nav/customElement.js +3 -5
  430. package/dist/components/calcite-tab-title/customElement.js +3 -5
  431. package/dist/components/calcite-table/customElement.js +44 -47
  432. package/dist/components/calcite-table-cell/customElement.js +22 -25
  433. package/dist/components/calcite-table-header/customElement.js +18 -21
  434. package/dist/components/calcite-table-row/customElement.js +6 -8
  435. package/dist/components/calcite-tabs/customElement.js +3 -5
  436. package/dist/components/calcite-text-area/customElement.d.ts +10 -3
  437. package/dist/components/calcite-text-area/customElement.js +30 -37
  438. package/dist/components/calcite-tile/customElement.js +16 -20
  439. package/dist/components/calcite-tile-group/customElement.js +3 -5
  440. package/dist/components/calcite-tile-select/customElement.js +17 -22
  441. package/dist/components/calcite-tile-select-group/customElement.js +3 -5
  442. package/dist/components/calcite-time-picker/customElement.d.ts +1 -0
  443. package/dist/components/calcite-time-picker/customElement.js +19 -23
  444. package/dist/components/calcite-tip/customElement.js +3 -5
  445. package/dist/components/calcite-tip-group/customElement.js +3 -5
  446. package/dist/components/calcite-tip-manager/customElement.js +3 -5
  447. package/dist/components/calcite-tooltip/customElement.js +41 -40
  448. package/dist/components/calcite-tree/customElement.js +3 -5
  449. package/dist/components/calcite-tree-item/customElement.js +16 -14
  450. package/dist/components/interfaces.d.ts +4 -0
  451. package/dist/controllers/useFocusTrap.d.ts +67 -0
  452. package/dist/custom-theme/block.d.ts +4 -5
  453. package/dist/custom-theme/calcite-shell-panel.d.ts +13 -0
  454. package/dist/custom-theme/date-picker.d.ts +28 -0
  455. package/dist/custom-theme/flow.d.ts +21 -0
  456. package/dist/custom-theme/graph.d.ts +4 -0
  457. package/dist/custom-theme/inline-editable.d.ts +10 -0
  458. package/dist/custom-theme/segmented-control.d.ts +7 -0
  459. package/dist/docs/api.json +1141 -159
  460. package/dist/docs/docs.json +1093 -126
  461. package/dist/docs/supported-browsers.json +1 -1
  462. package/dist/docs/vscode.css-custom-data.json +315 -7
  463. package/dist/docs/vscode.html-custom-data.json +107 -60
  464. package/dist/docs/web-types.json +659 -119
  465. package/dist/extras/vscode-data.json +107 -60
  466. package/dist/index.d.ts +25 -0
  467. package/dist/index.js +3 -5
  468. package/dist/loader.js +16 -17
  469. package/dist/types/lumina.d.ts +18 -6
  470. package/dist/types/preact.d.ts +19 -6
  471. package/dist/types/react.d.ts +180 -165
  472. package/dist/types/stencil.d.ts +18 -6
  473. package/dist/utils/component.d.ts +4 -0
  474. package/dist/utils/focusTrapComponent.d.ts +9 -0
  475. package/dist/utils/loadable.d.ts +26 -43
  476. package/dist/utils/openCloseComponent.d.ts +17 -18
  477. package/hydrate/index.d.ts +1 -0
  478. package/hydrate/index.js +1 -0
  479. package/hydrate/index.mjs +1 -0
  480. package/package.json +11 -12
  481. package/readme.md +5 -69
  482. package/dist/calcite/22HJHGFC.js +0 -6
  483. package/dist/calcite/24UHHCGZ.js +0 -6
  484. package/dist/calcite/26RYXNTM.js +0 -6
  485. package/dist/calcite/2BDE5BE5.js +0 -6
  486. package/dist/calcite/2Z66C2UQ.js +0 -6
  487. package/dist/calcite/32ZUDEFF.js +0 -6
  488. package/dist/calcite/33ZHAQAN.js +0 -6
  489. package/dist/calcite/344WUQSU.js +0 -6
  490. package/dist/calcite/36QANWE7.js +0 -6
  491. package/dist/calcite/3BABRTZ7.js +0 -6
  492. package/dist/calcite/3GVUXBN3.js +0 -6
  493. package/dist/calcite/3ISRG7GL.js +0 -6
  494. package/dist/calcite/43FXUJG7.js +0 -6
  495. package/dist/calcite/43U3QOKZ.js +0 -6
  496. package/dist/calcite/45C26CGA.js +0 -6
  497. package/dist/calcite/4DYITTEZ.js +0 -6
  498. package/dist/calcite/4GJIQCDB.js +0 -6
  499. package/dist/calcite/4TQWOYN3.js +0 -6
  500. package/dist/calcite/525CSK55.js +0 -6
  501. package/dist/calcite/5J3KIS2Y.js +0 -6
  502. package/dist/calcite/5LBOUCUR.js +0 -6
  503. package/dist/calcite/5YNUO5U6.js +0 -6
  504. package/dist/calcite/635OBWKC.js +0 -6
  505. package/dist/calcite/7LNOTS5J.js +0 -6
  506. package/dist/calcite/7VTS46YY.js +0 -6
  507. package/dist/calcite/7XAMYDVB.js +0 -6
  508. package/dist/calcite/7ZVYZ7HI.js +0 -6
  509. package/dist/calcite/AG2N2DRD.js +0 -6
  510. package/dist/calcite/AO43UELW.js +0 -6
  511. package/dist/calcite/BG2AISBE.js +0 -6
  512. package/dist/calcite/BGH5AJN6.js +0 -6
  513. package/dist/calcite/BXSIT4FA.js +0 -6
  514. package/dist/calcite/CCQRH5OE.js +0 -6
  515. package/dist/calcite/CNNNSCMZ.js +0 -6
  516. package/dist/calcite/DAXZUZG7.js +0 -6
  517. package/dist/calcite/DVDIWJH7.js +0 -6
  518. package/dist/calcite/EXJCK3HG.js +0 -6
  519. package/dist/calcite/F6OUTEHV.js +0 -6
  520. package/dist/calcite/FJAWVMYN.js +0 -6
  521. package/dist/calcite/FLX3VOM5.js +0 -6
  522. package/dist/calcite/G2QEEOO5.js +0 -6
  523. package/dist/calcite/H7BZS7IR.js +0 -6
  524. package/dist/calcite/HKNIHKIM.js +0 -6
  525. package/dist/calcite/HLG6DGAF.js +0 -6
  526. package/dist/calcite/HMVW5COC.js +0 -6
  527. package/dist/calcite/IAG3EJCS.js +0 -6
  528. package/dist/calcite/IBJ3DPFM.js +0 -6
  529. package/dist/calcite/IDSRWSZS.js +0 -6
  530. package/dist/calcite/IGFOWO7X.js +0 -6
  531. package/dist/calcite/IKWE7O4V.js +0 -6
  532. package/dist/calcite/JGO64K4G.js +0 -6
  533. package/dist/calcite/JVXIBINH.js +0 -6
  534. package/dist/calcite/K5OJ3522.js +0 -6
  535. package/dist/calcite/KDABXPKT.js +0 -6
  536. package/dist/calcite/KLKV3NO5.js +0 -6
  537. package/dist/calcite/KNU6MVIX.js +0 -6
  538. package/dist/calcite/KOX7NSUX.js +0 -6
  539. package/dist/calcite/KTIDLP6I.js +0 -24
  540. package/dist/calcite/KUQLVV3G.js +0 -6
  541. package/dist/calcite/L75EPU72.js +0 -6
  542. package/dist/calcite/LJ5WXSCB.js +0 -6
  543. package/dist/calcite/M7JLEFAV.js +0 -6
  544. package/dist/calcite/MDJ7KIEH.js +0 -6
  545. package/dist/calcite/MNPVC4UV.js +0 -6
  546. package/dist/calcite/MTZJ3QEO.js +0 -6
  547. package/dist/calcite/N5RAGKSV.js +0 -6
  548. package/dist/calcite/N7S4KMZ3.js +0 -6
  549. package/dist/calcite/NKJ53SP5.js +0 -6
  550. package/dist/calcite/NP6XKXNB.js +0 -6
  551. package/dist/calcite/NPTTGQKZ.js +0 -6
  552. package/dist/calcite/NU7YASJY.js +0 -6
  553. package/dist/calcite/NWVRCTA3.js +0 -6
  554. package/dist/calcite/OANTC65T.js +0 -6
  555. package/dist/calcite/ORFOJQIT.js +0 -6
  556. package/dist/calcite/OZ2EM7PB.js +0 -6
  557. package/dist/calcite/P2EHUODO.js +0 -6
  558. package/dist/calcite/P2OWRZWS.js +0 -6
  559. package/dist/calcite/PLIJBDJE.js +0 -6
  560. package/dist/calcite/PNUVZ3BZ.js +0 -6
  561. package/dist/calcite/PRLNQU3I.js +0 -6
  562. package/dist/calcite/QFRCFN5B.js +0 -6
  563. package/dist/calcite/QMW634ML.js +0 -6
  564. package/dist/calcite/QVFO4PCF.js +0 -6
  565. package/dist/calcite/R4GMIOLL.js +0 -6
  566. package/dist/calcite/RAABIUMQ.js +0 -6
  567. package/dist/calcite/RBAXDZGX.js +0 -6
  568. package/dist/calcite/RRXQBAP5.js +0 -6
  569. package/dist/calcite/RTAW5CIS.js +0 -6
  570. package/dist/calcite/RVTHJSK4.js +0 -7
  571. package/dist/calcite/RXLZN3RA.js +0 -6
  572. package/dist/calcite/SGUPIHES.js +0 -6
  573. package/dist/calcite/SM3PON4U.js +0 -6
  574. package/dist/calcite/SR6BSZKM.js +0 -6
  575. package/dist/calcite/SVA572F6.js +0 -6
  576. package/dist/calcite/SYEFY3RF.js +0 -6
  577. package/dist/calcite/T2I3BMFS.js +0 -6
  578. package/dist/calcite/T2RQHQ4J.js +0 -6
  579. package/dist/calcite/T4BRARRE.js +0 -6
  580. package/dist/calcite/TOVFIM35.js +0 -6
  581. package/dist/calcite/TUOQB4BF.js +0 -6
  582. package/dist/calcite/TXKCK2GX.js +0 -6
  583. package/dist/calcite/UASDTDDX.js +0 -6
  584. package/dist/calcite/UBUBAUNX.js +0 -6
  585. package/dist/calcite/UDBTSID6.js +0 -6
  586. package/dist/calcite/UIH7UV4G.js +0 -6
  587. package/dist/calcite/UJNTMRHF.js +0 -6
  588. package/dist/calcite/UT5IDNAH.js +0 -6
  589. package/dist/calcite/UW7IANT6.js +0 -6
  590. package/dist/calcite/V6S33OQR.js +0 -6
  591. package/dist/calcite/VB3C3KGQ.js +0 -6
  592. package/dist/calcite/WJ4C7WEL.js +0 -6
  593. package/dist/calcite/WW6NBCNW.js +0 -6
  594. package/dist/calcite/WWC5WLZF.js +0 -8
  595. package/dist/calcite/WYJTKFJS.js +0 -6
  596. package/dist/calcite/XFA5FHFI.js +0 -6
  597. package/dist/calcite/YMSUL5GP.js +0 -6
  598. package/dist/calcite/YQFENTI7.js +0 -6
  599. package/dist/calcite/YRI6AGQS.js +0 -6
  600. package/dist/calcite/YROEPZIT.js +0 -6
  601. package/dist/calcite/Z67HNIVB.js +0 -6
  602. package/dist/calcite/ZEO7P3BE.js +0 -6
  603. package/dist/calcite/ZEOCUBLO.js +0 -6
  604. package/dist/calcite/ZVVUEEVN.js +0 -6
@@ -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.0.0 */
4
+ import{a as S,b as O,d as T}from"./DTL2LM6T.js";import{c as $,d as C,e as E}from"./G3LH75CQ.js";import{b as l,c as R}from"./G7WFYVUC.js";import{a as w,b as y}from"./LOZEGKG2.js";import{a as i}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as r}from"./CNO6NFH5.js";import{a as z}from"./ARHYATTG.js";import{a as f,b as c}from"./QU33PBBI.js";import{t as m}from"./CMO3X257.js";import{b as x}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{B as v,G as g,J as k,c as b,e as p,f as o,w as h,x as a,z as e}from"./KVSCG5E3.js";var n={buttonLoader:"calcite-button--loader",content:"content",contentSlotted:"content--slotted",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",loadingIn:"loading-in",loadingOut:"loading-out",iconStartEmpty:"icon-start-empty",iconEndEmpty:"icon-end-empty",buttonPadding:"button-padding",buttonPaddingShrunk:"button-padding--shrunk"},P=p`: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;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y-internal: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent)));border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y-internal);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none}:host a:focus,:host 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))))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, currentColor))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon{position:relative;margin:0;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]) button,:host([kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-brand)}:host([kind=brand]) button:hover,:host([kind=brand]) button:focus,:host([kind=brand]) a:hover,:host([kind=brand]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{--calcite-internal-button-background-color: var(--calcite-color-brand-press)}:host([kind=danger]) button,:host([kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-status-danger)}:host([kind=danger]) button:hover,:host([kind=danger]) button:focus,:host([kind=danger]) a:hover,:host([kind=danger]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{--calcite-internal-button-background-color: var(--calcite-color-status-danger-press)}:host([kind=neutral]) button,:host([kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-3)}:host([kind=neutral]) button:hover,:host([kind=neutral]) button:focus,:host([kind=neutral]) a:hover,:host([kind=neutral]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) button:focus,:host([kind=inverse]) a:hover,:host([kind=inverse]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{--calcite-internal-button-background-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill]) a,:host([appearance=outline-fill]) button,:host([appearance=outline]) a,:host([appearance=outline]) button{box-shadow:inset 0 0 0 1px var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, transparent))}:host([appearance=outline-fill]) a:hover,:host([appearance=outline-fill]) button:hover,:host([appearance=outline]) a:hover,:host([appearance=outline]) button:hover{box-shadow:inset 0 0 0 1px var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, var(--calcite-color-foreground-3)))}:host([appearance=outline-fill]) a:focus,:host([appearance=outline-fill]) a:active,:host([appearance=outline-fill]) button:focus,:host([appearance=outline-fill]) button:active,:host([appearance=outline]) a:focus,:host([appearance=outline]) a:active,:host([appearance=outline]) button:focus,:host([appearance=outline]) button:active{box-shadow:inset 0 0 0 2px var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, var(--calcite-color-foreground-3)))}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{--calcite-internal-button-background-color: var(--calcite-color-foreground-1);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-border-color: var(--calcite-color-border-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:var(--calcite-color-transparent)}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3);border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-color-text-3);border-block-start-color:var(--calcite-color-border-input);border-block-end-color:var(--calcite-color-border-input);border-block-style:solid}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-internal-button-padding-y-internal: 0}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y-internal: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y-internal: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y-internal: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y-internal: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y-internal: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y-internal: 7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y-internal: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y-internal: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends h{constructor(){super(...arguments),this.attributeWatch=b(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentEl=f(),this.mutationObserver=r("mutation",()=>this.updateHasContent()),this.resizeObserver=r("resize",()=>this.setTooltipText()),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.messages=z(),this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:16,tooltipText:16,alignment:3,appearance:3,disabled:7,download:[3,{converter:v}],form:3,href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,kind:3,label:1,loading:7,messageOverrides:0,name:3,rel:3,round:7,scale:3,splitChild:3,target:3,type:3,width:3}}static{this.styles=P}async setFocus(){await x(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),$(this),this.formEl=T(this)}async load(){g()&&this.updateHasContent()}updated(){w(this)}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),C(this),this.resizeObserver?.disconnect(),this.formEl=null}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=m(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}handleClick(){let{type:t}=this;this.href||(t==="submit"?S(this):t==="reset"&&O(this))}setTooltipText(){let{contentEl:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||null)}setChildEl(t){this.childEl=t,t&&this.resizeObserver?.observe(t)}render(){let t=this.href?"a":"button",d=this.href?l`a`:l`button`,F=this.loading?o`<div class=${a(n.buttonLoader)}><calcite-loader class=${a(this.loading?n.loadingIn:n.loadingOut)} inline .label=${this.messages.loading} .scale=${this.scale==="l"?"m":"s"}></calcite-loader></div>`:null,u=!this.iconStart&&!this.iconEnd,L=o`<calcite-icon class=${a({[n.icon]:!0,[n.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${i(this.scale)}></calcite-icon>`,j=o`<calcite-icon class=${a({[n.icon]:!0,[n.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} .scale=${i(this.scale)}></calcite-icon>`,I=o`<span class=${a(n.content)} ${c(this.contentEl)}><slot></slot></span>`;return y({disabled:this.disabled,children:R`<${d} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:null} .ariaLabel=${this.loading?this.messages.loading:E(this)} aria-live=polite class=${a({[n.buttonPadding]:u,[n.buttonPaddingShrunk]:!u,[n.contentSlotted]:this.hasContent,[n.iconStartEmpty]:!this.iconStart,[n.iconEndEmpty]:!this.iconEnd})} .disabled=${t==="button"?this.disabled:null} download=${(t==="a"?this.download===!0||this.download===""?"":this.download||null:null)??e} href=${(t==="a"&&this.href)??e} name=${(t==="button"&&this.name)??e} @click=${this.handleClick} rel=${(t==="a"&&this.rel)??e} tabindex=${(this.disabled?-1:null)??e} target=${(t==="a"&&this.target)??e} title=${this.tooltipText??e} type=${(t==="button"?this.type:null)??e} ${c(this.setChildEl)}>${F}${this.iconStart?L:null}${this.hasContent?I:null}${this.iconEnd?j:null}</${d}>`})}};k("calcite-button",s);export{s as Button};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as _}from"./XB45LF7D.js";import"./FCUAMZTR.js";var a={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};_.locale(a,null,!0);var s=a;export{s as default};
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.0.0 */
4
+ import{b as _}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var a={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};_.locale(a,null,!0);var s=a;export{s as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.0 */
4
+ import{a as y}from"./ARHYATTG.js";import{a as x}from"./I2OIH73C.js";import{A as u,J as k,e as g,f as r,g as h,j as p,w as z,x as l,y as f}from"./KVSCG5E3.js";var t={percentage:"percentage",progressRing:"ring--progress",ring:"ring",rings:"rings",text:"text",trackRing:"ring--track"},$=g`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-0);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-2);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`,m=class extends z{constructor(){super(...arguments),this.messages=y({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:7,inline:7,label:1,scale:3,text:1,type:3,value:9}}static{this.styles=$}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame(()=>this.valueChangeHandler())}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==0)&&this.valueChangeHandler(),(e.has("type")&&(this.hasUpdated||this.type!=="indeterminate")||e.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&this.value===100}formatValue(){return this.type!=="determinate-value"?`${this.value}`:this.formatter.format(this.value/100)}getSize(e){return{s:32,m:64,l:96}[e]}getInlineSize(e){return{s:12,m:16,l:24}[e]}updateFormatter(){this.type!=="determinate-value"||this.formatter?.resolvedOptions().locale===this.messages._lang||(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){let{el:e,inline:n,label:s,text:c,type:i,value:o}=this,d=e.id||x(),a=i!=="indeterminate",v=Math.floor(o);return this.el.ariaLabel=s,this.el.ariaValueMax=a?"100":void 0,this.el.ariaValueMin=a?"0":void 0,this.el.ariaValueNow=a?v.toString():void 0,u(this.el,"id",d),this.el.role="progressbar",r`<div class=${l(t.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!n&&a&&r`<div class=${l(t.percentage)}>${this.formatValue()}</div>`||""}</div>${!n&&c&&r`<div class=${l(t.text)}>${c}</div>`||""}`}renderRing(e){let{inline:n,scale:s,value:c}=this,i=n?this.getInlineSize(s):this.getSize(s),o=i*.45,d;if(e==="progress"){let a=2*o*Math.PI,v=(this.type.startsWith("determinate")?c:24)/100*a,b=a-v;d={"stroke-dasharray":`${v} ${b}`}}return r`<svg aria-hidden=true class=${l({[t.ring]:!0,[t.trackRing]:e==="track",[t.progressRing]:e==="progress"})} style=${f(d)} viewBox=${`0 0 ${i} ${i}`}>${h`<circle cx=${i/2} cy=${i/2} r=${o??p} />`}</svg>`}};k("calcite-loader",m);export{m as Loader};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{a as r}from"./UBUBAUNX.js";import{I as o,d as t,e as s,v as i,w as a,z as l}from"./WWC5WLZF.js";var c={container:"container",selected:"selected"},d=t`:host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends i{constructor(){super(...arguments),this.guid=`calcite-carousel-item-${r()}`,this.selected=!1}static{this.properties={label:1,selected:7}}static{this.styles=d}render(){let n=this.el.id||this.guid;return l(this.el,"id",n),s`<div .ariaLabel=${this.label} class=${a({[c.container]:!0,[c.selected]:this.selected})} role=tabpanel><slot></slot></div>`}};o("calcite-carousel-item",e);export{e as CarouselItem};
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.0.0 */
4
+ import{a as r}from"./I2OIH73C.js";import{A as l,J as o,e as t,f as s,w as i,x as a}from"./KVSCG5E3.js";var c={container:"container",selected:"selected"},d=t`:host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends i{constructor(){super(...arguments),this.guid=`calcite-carousel-item-${r()}`,this.selected=!1}static{this.properties={label:1,selected:7}}static{this.styles=d}render(){let n=this.el.id||this.guid;return l(this.el,"id",n),s`<div .ariaLabel=${this.label} class=${a({[c.container]:!0,[c.selected]:this.selected})} role=tabpanel><slot></slot></div>`}};o("calcite-carousel-item",e);export{e as CarouselItem};
@@ -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.0.0 */
4
+ function e(r){return r.map(o=>{let t="";for(let n=0;n<o;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}).join("-")}var i=()=>e([2,1,1,1,3]);export{i as a};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.0 */
6
4
  var l=["date","datetime-local","month","number","range","time","week"],m=["email","password","search","tel","text","url"],u=["email","password","search","tel","text","textarea","url"];function a(t,n,e,r){let s=e.toLowerCase(),o=t[e];r&&o!=null?n.setAttribute(s,`${o}`):n.removeAttribute(s)}function x(t,n,e){e.type=t==="textarea"?"text":t;let r=l.includes(t),s=n;a(s,e,"min",r),a(s,e,"max",r),a(s,e,"step",r);let o=u.includes(t),i=n;a(i,e,"minLength",o),a(i,e,"maxLength",o);let c=m.includes(t);a(i,e,"pattern",c)}export{x as a};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as e}from"./XB45LF7D.js";import"./FCUAMZTR.js";var _={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(m){return m},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(_,null,!0);var i=_;export{i as default};
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.0.0 */
4
+ import{b as e}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var _={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(m){return m},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};e.locale(_,null,!0);var i=_;export{i as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.0 */
4
+ import{a as f}from"./CIV3PH3Z.js";import{b as l}from"./QU33PBBI.js";import{f as n,g as e,j as i,x as s}from"./KVSCG5E3.js";var w={arrow:"calcite-floating-ui-arrow",arrowStroke:"calcite-floating-ui-arrow__stroke"},c={width:12,height:6,strokeWidth:1},y=({floatingLayout:d,key:g,ref:m})=>{let{width:t,height:r,strokeWidth:o}=c,a=t/2,$=d==="vertical",h=`M0,0 H${t} L${t-a},${r} Q${a},${r} ${a},${r} Z`;return f(g,n`<svg aria-hidden=true class=${s(w.arrow)} height=${t} viewBox=${`0 0 ${t} ${t+($?0:o)}`} width=${t+($?o:0)} ${l(m)}>${e`${e`<path class=${s(w.arrowStroke)} d=${h??i} fill=none stroke-width=${o+1} />`||""}<path d=${h??i} stroke=none />`}</svg>`)};export{y as a};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as e}from"./XB45LF7D.js";import"./FCUAMZTR.js";var a={name:"pt",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_Sa".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(_){return _+"\xBA"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(a,null,!0);var r=a;export{r as default};
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.0.0 */
4
+ import{b as e}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var a={name:"pt",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_Sa".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(_){return _+"\xBA"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(a,null,!0);var r=a;export{r as default};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{a as m,b as u}from"./4MHQTNLP.js";import{a as h}from"./SKMMQQJV.js";import{b as p}from"./U7CNRHVY.js";import{z as i}from"./UASDTDDX.js";import"./UBUBAUNX.js";import{I as d,d as l,e as c,u as o,v as n,w as r}from"./WWC5WLZF.js";var b={container:"container"},f=l`: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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto,1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(),this.items=[],this.mutationObserver=h("mutation",()=>this.updateTiles()),this.alignment="start",this.disabled=!1,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteTileGroupSelect=o({cancelable:!1}),this.listen("calciteInternalTileKeyEvent",this.calciteInternalTileKeyEventListener),this.listen("calciteTileSelect",this.calciteTileSelectHandler)}static{this.properties={alignment:3,disabled:7,label:1,layout:3,scale:3,selectedItems:0,selectionAppearance:3,selectionMode:3}}static{this.styles=f}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}willUpdate(e){(e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon"))&&this.updateTiles()}updated(){m(this)}loaded(){this.updateSelectedItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getSlottedTiles(){return this.slotEl?.assignedElements({flatten:!0}).filter(e=>e?.matches("calcite-tile"))}selectItem(e){e&&(this.items?.forEach(t=>{let s=e===t;switch(this.selectionMode){case"multiple":s&&(t.selected=!t.selected);break;case"single":t.selected=s&&!t.selected;break;case"single-persist":t.selected=!!s;break}}),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())}setSlotEl(e){this.slotEl=e}updateSelectedItems(){let e=this.items?.filter(t=>t.selected);(this.selectionMode==="single"||this.selectionMode==="single-persist")&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach(t=>{this.selectedItems.indexOf(t)===-1&&(t.selected=!1)})):this.selectedItems=e??[]}updateTiles(){this.items=this.getSlottedTiles(),this.items?.forEach(e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode}),this.updateSelectedItems()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowDown":case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return u({disabled:this.disabled,children:c`<div .ariaLabel=${this.label} class=${r(b.container)} .role=${e}><slot @slotchange=${this.updateTiles} ${p(this.setSlotEl)}></slot></div>`})}};d("calcite-tile-group",a);export{a as TileGroup};
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.0.0 */
4
+ import{a as m,b as u}from"./LOZEGKG2.js";import{a as h}from"./CNO6NFH5.js";import{b as p}from"./QU33PBBI.js";import{z as i}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as d,e as l,f as c,v as o,w as n,x as r}from"./KVSCG5E3.js";var b={container:"container"},f=l`: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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto,1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(),this.items=[],this.mutationObserver=h("mutation",()=>this.updateTiles()),this.alignment="start",this.disabled=!1,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteTileGroupSelect=o({cancelable:!1}),this.listen("calciteInternalTileKeyEvent",this.calciteInternalTileKeyEventListener),this.listen("calciteTileSelect",this.calciteTileSelectHandler)}static{this.properties={alignment:3,disabled:7,label:1,layout:3,scale:3,selectedItems:0,selectionAppearance:3,selectionMode:3}}static{this.styles=f}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}willUpdate(e){(e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon"))&&this.updateTiles()}updated(){m(this)}loaded(){this.updateSelectedItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getSlottedTiles(){return this.slotEl?.assignedElements({flatten:!0}).filter(e=>e?.matches("calcite-tile"))}selectItem(e){e&&(this.items?.forEach(t=>{let s=e===t;switch(this.selectionMode){case"multiple":s&&(t.selected=!t.selected);break;case"single":t.selected=s&&!t.selected;break;case"single-persist":t.selected=!!s;break}}),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())}setSlotEl(e){this.slotEl=e}updateSelectedItems(){let e=this.items?.filter(t=>t.selected);(this.selectionMode==="single"||this.selectionMode==="single-persist")&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach(t=>{this.selectedItems.indexOf(t)===-1&&(t.selected=!1)})):this.selectedItems=e??[]}updateTiles(){this.items=this.getSlottedTiles(),this.items?.forEach(e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode}),this.updateSelectedItems()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowDown":case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return u({disabled:this.disabled,children:c`<div .ariaLabel=${this.label} class=${r(b.container)} .role=${e}><slot @slotchange=${this.updateTiles} ${p(this.setSlotEl)}></slot></div>`})}};d("calcite-tile-group",a);export{a as TileGroup};
@@ -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.0.0 */
4
+ import{b as n,c as v}from"./G7WFYVUC.js";import{a as k,b as g}from"./LOZEGKG2.js";import{b as u}from"./QU33PBBI.js";import{e as b,l as m}from"./CMO3X257.js";import{b as f}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{B as d,C as h,J as p,e as l,f as o,w as r,x as c,z as e}from"./KVSCG5E3.js";var R=l`: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}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance: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,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span: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))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends r{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:7,download:[3,{converter:d}],href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,rel:1,target:1}}static{this.styles=R}async setFocus(){await f(this),m(this.childEl)}load(){}updated(){k(this)}loaded(){}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}childElClickHandler(i){i.isTrusted||i.stopPropagation()}storeTagRef(i){this.childEl=i}render(){let{download:i,el:y}=this,x=b(y),t=this.href?"a":"span",$=o`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,z=o`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,s=t==="span"?n`span`:n`a`,w=t==="span"?"link":null,E=t==="span"?0:null;return this.el.role="presentation",g({disabled:this.disabled,children:v`<${s} class=${c({[h.rtl]:x==="rtl"})} download=${(t==="a"?i===!0||i===""?"":i||null:null)??e} href=${(t==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(t==="a"&&this.rel)??e} .role=${w} tabindex=${E??e} target=${(t==="a"&&this.target)??e} ${u(this.storeTagRef)}>${o`${this.iconStart?$:null}<slot></slot>${this.iconEnd?z:null}`}</${s}>`})}};p("calcite-link",a);export{a as Link};
@@ -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.0.0 */
4
+ import{b as o,c as r}from"./QAYSDI3M.js";var t="Global";function i(n){return o(n).countries.length===0}function a(n){if(i(n))return t;let e=n.indexOf("/");return e===-1?n:n.slice(0,e)}function c(n){return r(n)?.id??n}export{t as a,a as b,c};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{e as y,i as k,j as I}from"./NWVRCTA3.js";import{a}from"./MDJ7KIEH.js";import{a as C,b as z}from"./4MHQTNLP.js";import{a as c}from"./T2I3BMFS.js";import{a as r,b as $}from"./3GVUXBN3.js";import"./QMAVVMZX.js";import{s as w}from"./UASDTDDX.js";import{a as v}from"./UBUBAUNX.js";import{I as f,d as p,e as o,i as u,u as s,v as x,w as i,x as g}from"./WWC5WLZF.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:h=>`scale--${h}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},S={contentEnd:"content-end",contentStart:"content-start"},j=p`: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,d=class extends x{constructor(){super(...arguments),this.hasContent=!1,this.active=!1,this.disabled=!1,this.guid=v(),this.iconFlipRtl=!1,this.scale="m",this.selected=!1,this.selectionMode="multiple",this.calciteComboboxItemChange=s({cancelable:!1}),this.calciteInternalComboboxItemChange=s({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1}}static{this.styles=j}connectedCallback(){super.connectedCallback(),this.ancestors=y(this.el)}load(){$(this,"value","textLabel")}willUpdate(e){(e.has("disabled")&&this.hasUpdated||e.has("selected")&&this.hasUpdated||e.has("textLabel")&&this.hasUpdated)&&this.calciteInternalComboboxItemChange.emit()}updated(){C(this)}handleDefaultSlotChange(e){this.hasContent=w(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${r(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${r(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:M,label:L,textLabel:R,value:H,filterTextMatchPattern:l,description:b,shortHeading:m}=this,n=I(this.selectionMode),E=e||n?void 0:"check",F=n?"bullet-point":"check",T=M||R,U=L||H,D={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:n},P=k(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=U,z({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${g({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(D)} id=${this.guid??u} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${S.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:l})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:l})}</div>`:null}</div>${m?o`<div class=${i(t.shortText)}>${a({text:m,pattern:l})}</div>`:null}<slot name=${S.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};f("calcite-combobox-item",d);export{d as ComboboxItem};
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.0.0 */
4
+ import{e as k,i as I,j as S}from"./ESBOJTBS.js";import{a}from"./XXZIOSXQ.js";import{a as z,b as y}from"./LOZEGKG2.js";import{a as d,b as C}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as c}from"./CIV3PH3Z.js";import{s as $}from"./CMO3X257.js";import{a as w}from"./I2OIH73C.js";import{J as v,e as u,f as o,j as g,v as r,w as x,x as i,y as f}from"./KVSCG5E3.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:m=>`scale--${m}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},M={contentEnd:"content-end",contentStart:"content-start"},j=u`: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}:host([item-hidden]){display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,h=class extends x{constructor(){super(...arguments),this.hasContent=!1,this._selected=!1,this.active=!1,this.disabled=!1,this.guid=w(),this.iconFlipRtl=!1,this.scale="m",this.selectionMode="multiple",this.itemHidden=!1,this.calciteComboboxItemChange=r({cancelable:!1}),this.calciteInternalComboboxItemChange=r({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1,itemHidden:7}}static{this.styles=j}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.emitItemChange())}connectedCallback(){super.connectedCallback(),this.ancestors=k(this.el)}load(){C(this,"value","textLabel")}willUpdate(e){this.hasUpdated&&(e.has("disabled")||e.has("heading")||e.has("label")||e.has("textLabel"))&&this.emitItemChange()}updated(){z(this)}emitItemChange(){this.calciteInternalComboboxItemChange.emit()}handleDefaultSlotChange(e){this.hasContent=$(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${d(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:l,label:H,textLabel:L,value:R,filterTextMatchPattern:n,description:b,shortHeading:p}=this,s=S(this.selectionMode),E=e||s?void 0:"check",F=s?"bullet-point":"check",T=l||L,_=H||R,D={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:s},P=I(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=_,y({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${f({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(D)} id=${this.guid??g} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${M.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:n})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:n})}</div>`:null}</div>${p?o`<div class=${i(t.shortText)}>${a({text:p,pattern:n})}</div>`:null}<slot name=${M.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};v("calcite-combobox-item",h);export{h as ComboboxItem};
@@ -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.0.0 */
4
+ import{d as t}from"./22RQB3WE.js";import{a as v,b as B}from"./LOZEGKG2.js";import{a as $}from"./CIV3PH3Z.js";import{a as x}from"./ARHYATTG.js";import{b as h}from"./QU33PBBI.js";import{e as k}from"./CMO3X257.js";import{b as w}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as u,e as b,f as d,j as f,v as l,w as m,x as g}from"./KVSCG5E3.js";var T={backButton:"back-button"},y={backLeft:"chevron-left",backRight:"chevron-right"},o={actionBar:"action-bar",alerts:"alerts",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions",footerEnd:"footer-end",footerStart:"footer-start"},L=b`: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([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-flow-border-color, var(--calcite-color-border-3))}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-space: var(--calcite-flow-space)}:host([hidden]){display:none}[hidden]{display:none}`,p=class extends m{constructor(){super(...arguments),this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.messages=x(),this.overlayPositioning="absolute",this.scale="m",this.selected=!1,this.showBackButton=!1,this.calciteFlowItemBack=l(),this.calciteFlowItemClose=l({cancelable:!1}),this.calciteFlowItemScroll=l({cancelable:!1}),this.calciteFlowItemToggle=l({cancelable:!1}),this.calciteInternalFlowItemChange=l({cancelable:!1})}static{this.properties={beforeBack:0,beforeClose:0,closable:7,closed:7,collapseDirection:1,collapsed:7,collapsible:7,description:1,disabled:7,heading:1,headingLevel:11,loading:7,menuOpen:7,messageOverrides:0,overlayPositioning:3,scale:3,selected:7,showBackButton:5}}static{this.styles=L}async scrollContentTo(e){await this.containerEl?.scrollContentTo(e)}async setFocus(){await w(this);let{backButtonEl:e,containerEl:a}=this;if(e)return e.setFocus();if(a)return a.setFocus()}async load(){}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.calciteInternalFlowItemChange.emit()}updated(){v(this)}loaded(){}handleInternalPanelScroll(e){e.target===this.containerEl&&(e.stopPropagation(),this.calciteFlowItemScroll.emit())}handleInternalPanelClose(e){e.target===this.containerEl&&(e.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())}handleInternalPanelToggle(e){e.target===this.containerEl&&(e.stopPropagation(),this.collapsed=e.target.collapsed,this.calciteFlowItemToggle.emit())}backButtonClick(){this.calciteFlowItemBack.emit()}setBackRef(e){this.backButtonEl=e}setContainerRef(e){this.containerEl=e}renderBackButton(){let{el:e}=this,a=k(e)==="rtl",{showBackButton:n,backButtonClick:i,messages:r}=this,c=r.back,s=a?y.backRight:y.backLeft;return n?$("flow-back-button",d`<calcite-action .ariaLabel=${c} class=${g(T.backButton)} .icon=${s} @click=${i} scale=s slot=header-actions-start .text=${c} title=${c??f} ${h(this.setBackRef)}></calcite-action>`):null}render(){let{collapsed:e,collapseDirection:a,collapsible:n,closable:i,closed:r,description:c,disabled:s,heading:C,headingLevel:I,loading:E,menuOpen:P,messages:F,overlayPositioning:A,beforeClose:S}=this;return B({disabled:s,children:d`<calcite-panel .beforeClose=${S} .closable=${i} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${n} .description=${c} .disabled=${s} .heading=${C} .headingLevel=${I} .loading=${E} .menuOpen=${P} .messageOverrides=${F} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${A} .scale=${this.scale} ${h(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>`})}};u("calcite-flow-item",p);export{p as FlowItem};
@@ -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.0.0 */
4
+ import{e as b,f as y}from"./VCSXFNPO.js";import{a as h}from"./CNO6NFH5.js";import"./VMRLYKNI.js";import{a as m}from"./ARHYATTG.js";import"./QU33PBBI.js";import"./VST65PDC.js";import{n as u,v as x}from"./CMO3X257.js";import{b as g}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as p,e as r,f as e,v as c,w as d,x as i}from"./KVSCG5E3.js";var f={actionGroupEnd:"action-group--end",container:"container"},$={expandTooltip:"expand-tooltip"},C=r`: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:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px}.container{display:inline-flex;flex-direction:column;overflow:hidden;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);gap:var(--calcite-action-pad-items-space, 0);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends d{constructor(){super(),this.mutationObserver=h("mutation",()=>this.updateGroups()),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.messages=m(),this.overlayPositioning="absolute",this.scale="m",this.calciteActionPadToggle=c({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:16,actionsEndGroupLabel:1,expandDisabled:7,expanded:7,layout:3,messageOverrides:0,overlayPositioning:3,position:3,scale:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=C}async setFocus(){await g(this),u(this.el)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async load(){}willUpdate(t){t.has("expanded")&&this.hasUpdated&&b({el:this.el,expanded:this.expanded}),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups()}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}actionMenuOpenHandler(t){if(t.target.menuOpen){let a=t.composedPath();this.actionGroups?.forEach(o=>{a.includes(o)||(o.menuOpen=!1)})}}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,this.setGroupLayout(t)}setGroupLayout(t){t.forEach(a=>a.layout=this.layout)}handleDefaultSlotChange(){this.updateGroups()}handleTooltipSlotChange(t){let a=x(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=a[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:a,messages:o,el:v,position:w,toggleExpand:G,scale:s,layout:k,actionsEndGroupLabel:E,overlayPositioning:T}=this,l=a?null:y({collapseLabel:o.collapseLabel,collapseText:o.collapse,el:v,expandLabel:o.expandLabel,expandText:o.expand,expanded:t,position:w,scale:s,toggle:G,tooltip:this.expandTooltip});return l?e`<calcite-action-group class=${i(f.actionGroupEnd)} .label=${E} .layout=${k} .overlayPositioning=${T} .scale=${s}><slot name=${$.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${l}</calcite-action-group>`:null}render(){return e`<div class=${i(f.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};p("calcite-action-pad",n);export{n as ActionPad};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as t}from"./XB45LF7D.js";import"./FCUAMZTR.js";var e="sije\u010Dnja_velja\u010De_o\u017Eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),s="sije\u010Danj_velja\u010Da_o\u017Eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,_=function(a,r){return i.test(r)?e[a.month()]:s[a.month()]};_.s=s;_.f=e;var n={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),months:_,monthsShort:"sij._velj._o\u017Eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};t.locale(n,null,!0);var l=n;export{l as default};
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.0.0 */
4
+ import{b as t}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var e="sije\u010Dnja_velja\u010De_o\u017Eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),s="sije\u010Danj_velja\u010Da_o\u017Eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,_=function(a,r){return i.test(r)?e[a.month()]:s[a.month()]};_.s=s;_.f=e;var n={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010Detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010Det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),months:_,monthsShort:"sij._velj._o\u017Eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(a){return a+"."}};t.locale(n,null,!0);var l=n;export{l as default};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as r}from"./XB45LF7D.js";import"./FCUAMZTR.js";var t={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],_=e%100;return"["+e+(a[(_-20)%10]||a[_]||a[0])+"]"}};r.locale(t,null,!0);var u=t;export{u as default};
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.0.0 */
4
+ import{b as r}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var t={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],_=e%100;return"["+e+(a[(_-20)%10]||a[_]||a[0])+"]"}};r.locale(t,null,!0);var u=t;export{u as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.0 */
4
+ import{a as i}from"./EAML4EDI.js";import{a as b,b as f}from"./LOZEGKG2.js";import{a as g}from"./NWVCPRVB.js";import{a as v}from"./ARHYATTG.js";import{a as p,b as u}from"./QU33PBBI.js";import{b as m}from"./GN5CPLSJ.js";import{D as d,J as h,e as l,f as n,v as r,w as o,x as c}from"./KVSCG5E3.js";var y={container:"container"},x={search:"search"},k=l`: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([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;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;inline-size:100%}:host([scale=s]) .container{padding:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding:var(--calcite-spacing-md)}:host([scale=l]) .container{padding:var(--calcite-spacing-lg)}label{position:relative;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);padding-inline-end:.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing),box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-color-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing),inset-inline-end var(--calcite-animation-timing),opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-color-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:.25rem}input[type=text]:focus~.search-icon{inset-inline-start:-1rem;opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-color-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends o{constructor(){super(...arguments),this.filterDebounced=g((e,t=!1,a)=>this.updateFiltered(i(this.items??[],e,this.filterProps),t,a),d.filter),this.textInput=p(),this._value="",this.disabled=!1,this.filteredItems=[],this.items=[],this.messages=v(),this.scale="m",this.calciteFilterChange=r({cancelable:!1})}static{this.properties={disabled:7,filterProps:0,filteredItems:0,items:0,label:1,messageOverrides:0,placeholder:1,scale:3,value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=k}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueHandler(e))}async filter(e=this.value){return new Promise(t=>{this.value=e,this.updateFiltered(i(this.items??[],e,this.filterProps),!1,t)})}async setFocus(){return await m(this),this.textInput.value?.setFocus()}async load(){this.updateFiltered(i(this.items??[],this.value,this.filterProps))}willUpdate(e){(e.has("items")&&(this.hasUpdated||this.items?.length>0)||e.has("filterProps"))&&this.filterDebounced(this.value)}updated(){b(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.filterDebounced.cancel()}valueHandler(e){this.filterDebounced(e)}inputHandler(e){let t=e.target;this.value=t.value,this.filterDebounced(t.value,!0)}keyDownHandler(e){e.defaultPrevented||(e.key==="Escape"&&(this.clear(),e.preventDefault()),e.key==="Enter"&&e.preventDefault())}clear(){this.value="",this.filterDebounced("",!0),this.setFocus()}updateFiltered(e,t=!1,a){this.filteredItems=e,t&&this.calciteFilterChange.emit(),a?.()}render(){let{disabled:e,scale:t}=this;return f({disabled:e,children:n`<div class=${c(y.container)}><label><calcite-input clearable .disabled=${e} .icon=${x.search} .label=${this.label??this.messages.label} .messageOverrides=${{clear:this.messages.clear}} @keydown=${this.keyDownHandler} @calciteInputInput=${this.inputHandler} .placeholder=${this.placeholder} .scale=${t} type=text .value=${this.value} ${u(this.textInput)}></calcite-input></label></div>`})}};h("calcite-filter",s);export{s as Filter};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as h}from"./RXLZN3RA.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};
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.0.0 */
4
+ import{b as h}from"./UELGJSYH.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};
@@ -1,6 +1,4 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b as l}from"./XB45LF7D.js";import"./FCUAMZTR.js";var r={name:"zh-hk",months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),ordinal:function(e,Y){switch(Y){case"W":return e+"\u9031";default:return e+"\u65E5"}},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"\u4E00\u5206\u9418",mm:"%d \u5206\u9418",h:"\u4E00\u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"\u4E00\u5929",dd:"%d \u5929",M:"\u4E00\u500B\u6708",MM:"%d \u500B\u6708",y:"\u4E00\u5E74",yy:"%d \u5E74"},meridiem:function(e,Y){var _=e*100+Y;return _<600?"\u51CC\u6668":_<900?"\u65E9\u4E0A":_<1100?"\u4E0A\u5348":_<1300?"\u4E2D\u5348":_<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};l.locale(r,null,!0);var m=r;export{m as default};
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.0.0 */
4
+ import{b as l}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var r={name:"zh-hk",months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),ordinal:function(e,Y){switch(Y){case"W":return e+"\u9031";default:return e+"\u65E5"}},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"\u4E00\u5206\u9418",mm:"%d \u5206\u9418",h:"\u4E00\u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"\u4E00\u5929",dd:"%d \u5929",M:"\u4E00\u500B\u6708",MM:"%d \u500B\u6708",y:"\u4E00\u5E74",yy:"%d \u5E74"},meridiem:function(e,Y){var _=e*100+Y;return _<600?"\u51CC\u6668":_<900?"\u65E9\u4E0A":_<1100?"\u4E0A\u5348":_<1300?"\u4E2D\u5348":_<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};l.locale(r,null,!0);var m=r;export{m as default};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.0.0 */
4
+ import{a as b}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as w}from"./ARHYATTG.js";import{a as u,b as m}from"./QU33PBBI.js";import{b as g}from"./GN5CPLSJ.js";import{J as p,e as d,f as i,j as n,w as h,x as o}from"./KVSCG5E3.js";var e={contentCell:"content-cell",numberCell:"number-cell",selectionCell:"selection-cell",bodyRow:"body-row",footerRow:"footer-row",heading:"heading",description:"description",multipleSelectionCell:"cell--multiple-selection",assistiveText:"assistive-text",active:"active",selectedCell:"selected-cell",lastCell:"last-cell",staticCell:"static-cell"},c={checked:"check-square-f",indeterminate:"minus-square-f",unchecked:"square"},C=d`:host{--calcite-internal-table-header-background: var(--calcite-table-header-background, var(--calcite-color-foreground-2));--calcite-internal-table-header-border-color: var(--calcite-table-border-color, var(--calcite-color-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}th{white-space:normal;text-align:start;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{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))))}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-color-text-3)}.cell--multiple-selection:not(.end){vertical-align:middle}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-header-background: var(--calcite-color-foreground-current)}.number-cell,.selection-cell{color:var(--calcite-color-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-color-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-color-text-1)}.description{color:var(--calcite-color-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}`,a=class extends h{constructor(){super(...arguments),this.containerEl=u(),this.focused=!1,this.screenReaderText="",this.alignment="start",this.interactionMode="interactive",this.messages=w({blocking:!0}),this.numberCell=!1,this.parentRowAlignment="start",this.selectionCell=!1}static{this.properties={focused:16,screenReaderText:16,alignment:3,bodyRowCount:9,colSpan:11,description:3,heading:3,interactionMode:1,lastCell:5,messageOverrides:0,numberCell:5,parentRowAlignment:1,parentRowIsSelected:5,parentRowType:1,positionInRow:9,rowSpan:11,scale:1,selectedRowCount:9,selectedRowCountLocalized:1,selectionCell:5,selectionMode:1}}static{this.styles=C}async setFocus(){await g(this),this.containerEl.value.focus()}async load(){this.updateScreenReaderText()}willUpdate(t){(t.has("selectedRowCount")||t.has("selectedRowCountLocalized"))&&this.updateScreenReaderText()}loaded(){}updateScreenReaderText(){let t="",l=`${this.selectedRowCountLocalized} ${this.messages?.selected}`;this.numberCell?t=this.messages?.rowNumber:this.selectionMode==="single"?t=`${this.messages?.selectionColumn}. ${l}`:this.bodyRowCount===this.selectedRowCount?t=`${this.messages?.selectionColumn}. ${this.messages?.all} ${l} ${this.messages?.keyboardDeselectAll}`:t=`${this.messages?.selectionColumn}. ${l} ${this.messages?.keyboardSelectAll}`,this.screenReaderText=t}onContainerBlur(){this.focused=!1}onContainerFocus(){this.focused=!0}render(){let t=this.rowSpan?"rowgroup":this.colSpan?"colgroup":this.parentRowType==="body"?"row":"col",l=this.selectedRowCount===this.bodyRowCount,s=this.selectedRowCount>0,v=l?c.checked:s?c.indeterminate:c.unchecked,r=this.interactionMode==="static"&&!this.selectionCell;return i`<th .ariaColIndex=${this.parentRowType==="head"?this.positionInRow:void 0} class=${o({[e.bodyRow]:this.parentRowType==="body",[e.footerRow]:this.parentRowType==="foot",[e.contentCell]:!this.numberCell&&!this.selectionCell,[e.numberCell]:this.numberCell,[e.selectionCell]:this.selectionCell,[e.selectedCell]:this.parentRowIsSelected,[e.multipleSelectionCell]:this.selectionMode==="multiple",[e.staticCell]:r,[e.lastCell]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[this.parentRowAlignment]:this.parentRowAlignment==="center"||this.parentRowAlignment==="end"})} colSpan=${this.colSpan??n} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.parentRowType==="head"?"columnheader":"rowheader"} rowSpan=${this.rowSpan??n} scope=${t??n} .tabIndex=${this.selectionCell?0:r?-1:0} ${m(this.containerEl)}>${this.heading&&i`<div class=${o(e.heading)}>${this.heading}</div>`||""}${this.description&&i`<div class=${o(e.description)}>${this.description}</div>`||""}${this.selectionCell&&this.selectionMode==="multiple"&&i`<calcite-icon class=${o({[e.active]:s||l})} .icon=${v} .scale=${b(this.scale)}></calcite-icon>`||""}${(this.selectionCell||this.numberCell)&&i`<span .ariaLive=${this.focused?"polite":"off"} class=${o(e.assistiveText)}>${this.screenReaderText}</span>`||""}</th>`}};p("calcite-table-header",a);export{a as TableHeader};
@@ -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.0.0 */
4
+ import{a as x,b as y}from"./LOZEGKG2.js";import{a as f}from"./KW57BHXD.js";import{b as k}from"./GN5CPLSJ.js";import{a as v}from"./I2OIH73C.js";import{J as m,e as p,f as l,v as g,w as b,x as n}from"./KVSCG5E3.js";var i={description:"description",descriptionOnly:"description-only",heading:"heading",headingOnly:"heading-only",icon:"icon",iconOnly:"icon-only",inputAlignmentEnd:"input-alignment-end",inputAlignmentStart:"input-alignment-start",inputEnabled:"input-enabled",largeVisual:"large-visual",tile:"tile",tileContentContainer:"tile-content-container",tileContent:"tile-content",tileDescription:"tile-description",tileHeading:"tile-heading",tileLargeVisual:"tile--large-visual",widthAuto:"width-auto",widthFull:"width-full"},B=p`: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 .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:.75rem;position:relative;vertical-align:top;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 .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){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:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand),inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-start:.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-end:.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:.75rem;inset-inline-end:.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;flex-direction:column;gap:.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends b{constructor(){super(),this.guid=`calcite-tile-select-${v()}`,this.focused=!1,this.checked=!1,this.disabled=!1,this.iconFlipRtl=!1,this.inputAlignment="start",this.inputEnabled=!1,this.type="radio",this.width="auto",this.calciteTileSelectChange=g({cancelable:!1}),this.listen("calciteCheckboxChange",this.checkboxChangeHandler),this.listen("calciteInternalCheckboxFocus",this.checkboxFocusBlurHandler),this.listen("calciteInternalCheckboxBlur",this.checkboxFocusBlurHandler),this.listen("calciteRadioButtonChange",this.radioButtonChangeHandler),this.listen("calciteInternalRadioButtonCheckedChange",this.radioButtonCheckedChangeHandler),this.listen("calciteInternalRadioButtonFocus",this.radioButtonFocusBlurHandler),this.listen("calciteInternalRadioButtonBlur",this.radioButtonFocusBlurHandler),this.listen("click",this.clickHandler),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler)}static{this.properties={focused:16,checked:7,description:3,disabled:7,heading:3,icon:3,iconFlipRtl:7,inputAlignment:3,inputEnabled:7,name:3,type:3,value:1,width:3}}static{this.styles=B}async setFocus(){return await k(this),this.input?.setFocus()}connectedCallback(){super.connectedCallback(),this.renderInput()}load(){f.deprecated("component",{name:"tile-select",removalVersion:4,suggested:["tile","tile-group"]})}willUpdate(t){t.has("checked")&&(this.hasUpdated||this.checked!==!1)&&(this.input.checked=this.checked),t.has("name")&&(this.input.name=this.name)}updated(){x(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.input?.remove()}checkboxChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){let e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){let e=t.target;e===this.input&&(this.focused=e.focused),t.stopPropagation()}clickHandler(t){if(this.disabled)return;let e=t.target;["calcite-tile","calcite-tile-select"].includes(e.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;let{localName:t}=this.input;(t==="calcite-radio-button"||t==="calcite-checkbox")&&(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;let{localName:t}=this.input;(t==="calcite-radio-button"||t==="calcite-checkbox")&&(this.input.hovered=!1)}renderInput(){this.input=this.type==="radio"?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=this.value!=null?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){let{checked:t,description:e,disabled:s,focused:w,heading:o,icon:a,inputAlignment:r,inputEnabled:C,width:d,iconFlipRtl:z}=this,h=o&&a&&!e,u=!!a;return y({disabled:s,children:l`<div class=${n({checked:t,container:!0,[i.description]:!!e,[i.descriptionOnly]:!!(!o&&!a&&e),disabled:s,focused:w,[i.heading]:!!o,[i.headingOnly]:o&&!a&&!e,[i.icon]:u,[i.iconOnly]:!o&&a&&!e,[i.inputAlignmentEnd]:r==="end",[i.inputAlignmentStart]:r==="start",[i.inputEnabled]:C,[i.largeVisual]:h,[i.widthAuto]:d==="auto",[i.widthFull]:d==="full"})}><div class=${n({[i.tile]:!0,[i.tileLargeVisual]:h})}>${a&&l`<div class=${n({[i.icon]:u})}><calcite-icon .flipRtl=${z} .icon=${a} scale=l></calcite-icon></div>`||""}<div class=${n(i.tileContentContainer)}><div class=${n(i.tileContent)}>${o&&l`<div class=${n(i.tileHeading)}>${o}</div>`||""}${e&&l`<div class=${n(i.tileDescription)}>${e}</div>`||""}</div></div></div><slot></slot></div>`})}};m("calcite-tile-select",c);export{c as TileSelect};
@@ -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.0.0 */
4
+ import{r as g,s as b}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as m,e as s,f as t,v as d,w as h,x as c}from"./KVSCG5E3.js";var p={input:"input"},o={label:"label",labelScale:i=>`label--scale-${i}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},v=s`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);outline-color:transparent;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-animation-timing) ease-in-out}.label{pointer-events:none;margin:.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-segmented-control-color, var(--calcite-color-text-3));background-color:var(--calcite-segmented-control-background-color);box-shadow:var(--calcite-segmented-control-shadow);border-color:var(--calcite-segmented-control-border-color);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host(: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:-1px}.label--scale-s{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:.125rem}.label--scale-m{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:.375rem}.label--scale-l{padding-inline:1rem;padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-2));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host(:active) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-3))}:host([checked]) .label{cursor:default;background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-brand));border-color:var(--calcite-segmented-control-border-color, var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-text-inverse))}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-segmented-control-border-color, var(--calcite-color-brand));box-shadow:var(--calcite-segmented-control-shadow, inset 0 0 0 1px var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-brand))}:host([checked]) .label--outline{background-color:var(--calcite-segmented-control-background-color, transparent)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) .label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) .label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end);--calcite-icon-color: var(--calcite-segmented-control-icon-color)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: .5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: .5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: .75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: .75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: 1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: 1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends h{constructor(){super(...arguments),this.hasSlottedContent=!1,this.appearance="solid",this.checked=!1,this.iconFlipRtl=!1,this.layout="horizontal",this.scale="m",this.calciteInternalSegmentedControlItemChange=d({cancelable:!1})}static{this.properties={hasSlottedContent:16,appearance:1,checked:7,iconEnd:3,iconFlipRtl:7,iconStart:3,layout:1,scale:1,value:1}}static{this.styles=v}willUpdate(e){e.has("checked")&&(this.hasUpdated||this.checked!==!1)&&this.calciteInternalSegmentedControlItemChange.emit()}handleSlotChange(e){this.hasSlottedContent=b(e)}renderIcon(e,l=!1){return e?t`<calcite-icon class=${c({[o.icon]:!0,[o.iconSolo]:l})} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`:null}render(){let{appearance:e,checked:l,layout:n,scale:a,value:u}=this;return this.el.ariaChecked=g(l),this.el.ariaLabel=u,this.el.role="radio",t`<label class=${c({[o.label]:!0,[o.labelScale(a)]:!0,[o.labelHorizontal]:n==="horizontal",[o.labelOutline]:e==="outline",[o.labelOutlineFill]:e==="outline-fill"})}>${this.renderContent()}</label>`}renderContent(){let{hasSlottedContent:e,iconEnd:l,iconStart:n}=this,a=n||l;return!e&&a?[this.renderIcon(a,!0),t`<slot @slotchange=${this.handleSlotChange}></slot>`]:[this.renderIcon(n),t`<slot @slotchange=${this.handleSlotChange}></slot>`,t`<slot name=${p.input}></slot>`,this.renderIcon(l)]}};m("calcite-segmented-control-item",r);export{r as SegmentedControlItem};
@@ -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.0.0 */
4
+ import{a as w,b}from"./LOZEGKG2.js";import{a as n,b as c}from"./QU33PBBI.js";import{l as p}from"./CMO3X257.js";import{b as h}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as r,e as s,f as e,w as i,x as l,z as d}from"./KVSCG5E3.js";var k={button:"button"},F={plus:"plus"},R=s`: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;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-button{--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}calcite-button:hover{--tw-shadow: var(--calcite-shadow-md);--tw-shadow-colored: var(--calcite-shadow-md);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}calcite-button:active{--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends i{constructor(){super(...arguments),this.buttonEl=n(),this.appearance="solid",this.disabled=!1,this.icon=F.plus,this.iconFlipRtl=!1,this.kind="brand",this.loading=!1,this.scale="m",this.textEnabled=!1}static{this.properties={appearance:3,disabled:7,icon:3,iconFlipRtl:7,kind:3,label:1,loading:7,scale:3,text:1,textEnabled:7}}static{this.styles=R}async setFocus(){await h(this),p(this.buttonEl.value)}load(){}updated(){w(this)}loaded(){}render(){let{appearance:x,kind:u,disabled:a,loading:m,scale:f,textEnabled:v,icon:g,label:o,text:y,iconFlipRtl:$}=this,E=v?null:o||y||null;return b({disabled:a,children:e`<calcite-button .appearance=${x==="solid"?"solid":"outline-fill"} class=${l(k.button)} .disabled=${a} .iconFlipRtl=${$?"start":null} .iconStart=${g} .kind=${u} .label=${o} .loading=${m} round .scale=${f} title=${E??d} type=button width=auto ${c(this.buttonEl)}>${this.textEnabled?this.text:null}</calcite-button>`})}};r("calcite-fab",t);export{t as Fab};