@esri/calcite-components 3.0.0 → 3.1.0-next.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 (391) hide show
  1. package/dist/calcite/{45GA6INB.js → 23MOV6NG.js} +2 -2
  2. package/dist/calcite/{U725E4ID.js → 2OOLECPX.js} +2 -2
  3. package/dist/calcite/{GOOHYN3D.js → 34MV5U4O.js} +2 -2
  4. package/dist/calcite/{U3WK4DZT.js → 373CZCGO.js} +2 -2
  5. package/dist/calcite/{WWUBU6N5.js → 3AXOI2C3.js} +2 -2
  6. package/dist/calcite/{HFIRIAQA.js → 3B2PP7OF.js} +2 -2
  7. package/dist/calcite/{FNM4DZZH.js → 3SGAAJUZ.js} +1 -1
  8. package/dist/calcite/{6ZTWHW63.js → 3WJNCOPC.js} +2 -2
  9. package/dist/calcite/{2M4WCGKG.js → 4OCELM2X.js} +2 -2
  10. package/dist/calcite/{EOHVH6PN.js → 4UTJZXPD.js} +2 -2
  11. package/dist/calcite/{7PWETOIU.js → 4YQ5JTFA.js} +2 -2
  12. package/dist/calcite/{BRTESQOJ.js → 5FHBAB7Y.js} +2 -2
  13. package/dist/calcite/{T6HODD4B.js → 5M6HCNZZ.js} +2 -2
  14. package/dist/calcite/{V4JZRN7T.js → 5V63WOMD.js} +2 -2
  15. package/dist/calcite/{MPX2M2VX.js → 5WY3RA4V.js} +2 -2
  16. package/dist/calcite/{L5FDXQMT.js → 62IMSXF5.js} +1 -1
  17. package/dist/calcite/{RMGYRZXR.js → 6D6N2CCC.js} +2 -2
  18. package/dist/calcite/{KBDXI6DJ.js → 6I7N4DJM.js} +2 -2
  19. package/dist/calcite/{RLSQLIV6.js → 6IFDRSQV.js} +2 -2
  20. package/dist/calcite/{DBVNMM6Q.js → 6MMOWRSM.js} +2 -2
  21. package/dist/calcite/{DDJ75RTI.js → 6QGNNBZ5.js} +2 -2
  22. package/dist/calcite/{PZLVQQMT.js → 6R5C57P5.js} +2 -2
  23. package/dist/calcite/{GNUSLZWJ.js → 6T6UMXEG.js} +2 -2
  24. package/dist/calcite/{MIKGJ3NM.js → 6WT3NQTF.js} +2 -2
  25. package/dist/calcite/{LHSAAMYQ.js → 6XUNN5BD.js} +2 -2
  26. package/dist/calcite/{DH4ISGHV.js → 73JHMQAR.js} +2 -2
  27. package/dist/calcite/{XXZIOSXQ.js → 75U2CEI2.js} +2 -2
  28. package/dist/calcite/{GSXEMGSW.js → 77VX6TWS.js} +2 -2
  29. package/dist/calcite/{CWPRBG3T.js → 7A7OCUYH.js} +2 -2
  30. package/dist/calcite/{MQYH4ONZ.js → 7HBBL4ZM.js} +1 -1
  31. package/dist/calcite/{AXXJNFKZ.js → 7IHFMVXN.js} +2 -2
  32. package/dist/calcite/{I2OIH73C.js → 7LGBDOYP.js} +1 -1
  33. package/dist/calcite/{WPAMFFBY.js → 7OPWGOIH.js} +2 -2
  34. package/dist/calcite/{GN5CPLSJ.js → 7VOKVNOX.js} +2 -2
  35. package/dist/calcite/{RESHLE2Y.js → A3KUHAYH.js} +2 -2
  36. package/dist/calcite/{VJD4CRQ3.js → A77PTXQI.js} +2 -2
  37. package/dist/calcite/{US3PQV6O.js → A7BIZKUQ.js} +2 -2
  38. package/dist/calcite/{ECEZ4R6E.js → A7KPG75H.js} +2 -2
  39. package/dist/calcite/{4SEPDFCP.js → A7WWDVJQ.js} +2 -2
  40. package/dist/calcite/{YYJSHQR3.js → AFBGRNF3.js} +1 -1
  41. package/dist/calcite/{DNYBIAUI.js → AFI5OSXD.js} +2 -2
  42. package/dist/calcite/{7U7FF3Y4.js → AFQ7CFQT.js} +2 -2
  43. package/dist/calcite/{YA5A7PJR.js → AIRWHAUT.js} +2 -2
  44. package/dist/calcite/{TVDZM7WT.js → AM6UJWJO.js} +2 -2
  45. package/dist/calcite/{OLMX7G3J.js → ARAAYSPA.js} +1 -1
  46. package/dist/calcite/{GYQTRH4V.js → B22OHVZA.js} +2 -2
  47. package/dist/calcite/{6X2SD2PW.js → B5JXHWI4.js} +2 -2
  48. package/dist/calcite/{G3LH75CQ.js → BAWLIDLU.js} +2 -2
  49. package/dist/calcite/{R3HMG2D6.js → BB5G2FKE.js} +2 -2
  50. package/dist/calcite/{O4O3TSE5.js → BCUBPURC.js} +2 -2
  51. package/dist/calcite/{ZA76CHET.js → BECCYK7I.js} +2 -2
  52. package/dist/calcite/{QCGLMLKW.js → BGBHXXSC.js} +2 -2
  53. package/dist/calcite/{URM3R65T.js → BHOEIDXT.js} +2 -2
  54. package/dist/calcite/{QK2H5T7J.js → BOLBKIM3.js} +2 -2
  55. package/dist/calcite/{OTHVFLNW.js → BUB7E4GE.js} +2 -2
  56. package/dist/calcite/{2JKKAEPM.js → BUHVYEME.js} +2 -2
  57. package/dist/calcite/{YMRTHS5X.js → BY2VIVYE.js} +2 -2
  58. package/dist/calcite/{VCSXFNPO.js → CHQYILCK.js} +2 -2
  59. package/dist/calcite/{7SX3RD7P.js → CKLM3NH3.js} +2 -2
  60. package/dist/calcite/{KWOOGTG2.js → CPLZSNMW.js} +2 -2
  61. package/dist/calcite/{2YAXZHP2.js → CPWCVFVX.js} +2 -2
  62. package/dist/calcite/{CIV3PH3Z.js → CQ5FVCCX.js} +2 -2
  63. package/dist/calcite/{KSNEQFZX.js → CU6QKL4W.js} +2 -2
  64. package/dist/calcite/{PT2XMADA.js → CVPHYVRS.js} +1 -1
  65. package/dist/calcite/{4Z7JRTON.js → CYK3MWM4.js} +2 -2
  66. package/dist/calcite/{SMUXJLDL.js → D2PRGKAG.js} +2 -2
  67. package/dist/calcite/{LB5ATL5Q.js → D44V6PEO.js} +2 -2
  68. package/dist/calcite/{CBSMKHOY.js → DSNK4E4G.js} +2 -2
  69. package/dist/calcite/{QQ67AVDV.js → DUM56X2O.js} +2 -2
  70. package/dist/calcite/{ESBOJTBS.js → DXGYOB2C.js} +2 -2
  71. package/dist/calcite/{XBZLGRRI.js → DY75E5TM.js} +2 -2
  72. package/dist/calcite/{MBQZPRQ5.js → E7MBDJGE.js} +2 -2
  73. package/dist/calcite/{6XTYGXNG.js → EBHSG7RJ.js} +2 -2
  74. package/dist/calcite/{XT32TCZG.js → EEUCEFXG.js} +1 -1
  75. package/dist/calcite/{G3ZJ2KQT.js → EKQYW7GE.js} +2 -2
  76. package/dist/calcite/{NWVCPRVB.js → ERNMRUWX.js} +1 -1
  77. package/dist/calcite/{CY6C2FDZ.js → EY2PLOMF.js} +2 -2
  78. package/dist/calcite/{66B2H27W.js → F3Y2S6BF.js} +2 -2
  79. package/dist/calcite/{TQIVV2F7.js → F7CJI6MB.js} +2 -2
  80. package/dist/calcite/{CMO3X257.js → FE2QRVI7.js} +2 -2
  81. package/dist/calcite/{CFRBQXK4.js → FF4V4NT7.js} +2 -2
  82. package/dist/calcite/{JUNCR7R2.js → FSSFZBVO.js} +2 -2
  83. package/dist/calcite/{BSRMWMHQ.js → FZJ3BTYV.js} +2 -2
  84. package/dist/calcite/{IJCTXZQB.js → GK5DGLYC.js} +2 -2
  85. package/dist/calcite/{4BSCJ722.js → H4E2N4X2.js} +2 -2
  86. package/dist/calcite/{KI2NOBMU.js → H7E2HITF.js} +2 -2
  87. package/dist/calcite/{WKTGTKRJ.js → H7RTEVRM.js} +2 -2
  88. package/dist/calcite/{7WG5I3MP.js → HBNQRYUU.js} +2 -2
  89. package/dist/calcite/{LILDCWFX.js → HD5RZV7I.js} +2 -2
  90. package/dist/calcite/{JVNEJ36Z.js → HIRSIKVC.js} +2 -2
  91. package/dist/calcite/{VMRLYKNI.js → HLORIHBB.js} +1 -1
  92. package/dist/calcite/{MZRO54UT.js → HSU2J7U7.js} +2 -2
  93. package/dist/calcite/{N4MN6VQ7.js → HTI57FLV.js} +2 -2
  94. package/dist/calcite/{MUWK32IE.js → HU25GIR3.js} +2 -2
  95. package/dist/calcite/{CK6HQQX6.js → HX44FXR7.js} +1 -1
  96. package/dist/calcite/{XOVG6UH3.js → I2OX63UC.js} +2 -2
  97. package/dist/calcite/{D36VWSDW.js → I2YUGRNE.js} +2 -2
  98. package/dist/calcite/IJV4X7J7.js +4 -0
  99. package/dist/calcite/{4YZ27QWL.js → IOPDSOMP.js} +2 -2
  100. package/dist/calcite/{KVSCG5E3.js → IPEYLL4T.js} +2 -2
  101. package/dist/calcite/{JFYDLHH7.js → IRMEFP5V.js} +2 -2
  102. package/dist/calcite/{TSJJLMPA.js → ISKYJPVP.js} +1 -1
  103. package/dist/calcite/{A5GGYTUQ.js → IUOGAZKX.js} +2 -2
  104. package/dist/calcite/{GPUFLCIT.js → JAPR4FNO.js} +2 -2
  105. package/dist/calcite/{SJKTCGW6.js → JHE67SX5.js} +2 -2
  106. package/dist/calcite/{NODC2JA6.js → JM3OLLIG.js} +2 -2
  107. package/dist/calcite/{ZGXTLCGJ.js → JQIN4FNX.js} +2 -2
  108. package/dist/calcite/{QHASLHZN.js → K72IV53Z.js} +2 -2
  109. package/dist/calcite/{JEX42CPR.js → KFZDQQV4.js} +2 -2
  110. package/dist/calcite/{SBZ6VJ75.js → KLBMM5PO.js} +1 -1
  111. package/dist/calcite/{MCSX2S5T.js → KM6NLV33.js} +2 -2
  112. package/dist/calcite/{IYDN67SF.js → KQUGBIWA.js} +2 -2
  113. package/dist/calcite/{RVQMJBNS.js → LEH7GP3V.js} +2 -2
  114. package/dist/calcite/{GKKCWEZX.js → LN56JZD3.js} +2 -2
  115. package/dist/calcite/{KSVYAIHK.js → LONQYMAY.js} +2 -2
  116. package/dist/calcite/{N55N67N5.js → M2BP427U.js} +2 -2
  117. package/dist/calcite/{HMVKZP47.js → M7GV7Q4M.js} +2 -2
  118. package/dist/calcite/{BZKF5ZXQ.js → MBZP2G7S.js} +2 -2
  119. package/dist/calcite/{7KSGVDSR.js → MGMKRHPK.js} +2 -2
  120. package/dist/calcite/{BRTDMTZ3.js → MJPRNCRR.js} +2 -2
  121. package/dist/calcite/{3DGJ6ZQI.js → MKSN35K2.js} +2 -2
  122. package/dist/calcite/{WSGL37LB.js → MM3U5UFW.js} +2 -2
  123. package/dist/calcite/{R4RMVIKH.js → MNKK2ILQ.js} +2 -2
  124. package/dist/calcite/{I32TMNTO.js → MRYPQXG2.js} +1 -1
  125. package/dist/calcite/{SKDMJE3X.js → MW55GFZV.js} +1 -1
  126. package/dist/calcite/{ARHYATTG.js → MYKRE5QO.js} +2 -2
  127. package/dist/calcite/{BAHIPAHM.js → N6OZM4AJ.js} +2 -2
  128. package/dist/calcite/{IH4RXHJJ.js → NBCCD7Z4.js} +2 -2
  129. package/dist/calcite/{KBNS3CCT.js → NEZR6N4L.js} +2 -2
  130. package/dist/calcite/{QAYSDI3M.js → NKVV542U.js} +1 -1
  131. package/dist/calcite/{HGTV36FX.js → NTQTXOKH.js} +2 -2
  132. package/dist/calcite/{Z6GA347Y.js → NW2QKL4A.js} +2 -2
  133. package/dist/calcite/{GFC7NS6P.js → O6U5C56E.js} +2 -2
  134. package/dist/calcite/{I62DUDHI.js → OKSDNORT.js} +2 -2
  135. package/dist/calcite/{G7WFYVUC.js → OLXJRGIR.js} +2 -2
  136. package/dist/calcite/{AI3R3SU6.js → OQYQHRZJ.js} +2 -2
  137. package/dist/calcite/{PNHR5K2L.js → P2EJXRHM.js} +2 -2
  138. package/dist/calcite/{X2UHFJHG.js → P37UOGXI.js} +2 -2
  139. package/dist/calcite/PC7WLS5Q.js +4 -0
  140. package/dist/calcite/{5AVZLE2Q.js → PD3WNH5L.js} +2 -2
  141. package/dist/calcite/{YTRT5XZT.js → PER743YE.js} +2 -2
  142. package/dist/calcite/{OE2AH2NC.js → PMGM7JNH.js} +2 -2
  143. package/dist/calcite/{S76CXQTI.js → PUMTLS4E.js} +2 -2
  144. package/dist/calcite/{RJLKHCRB.js → Q3M6KGKZ.js} +2 -2
  145. package/dist/calcite/{VNQNKQ2J.js → Q4MKOMJK.js} +2 -2
  146. package/dist/calcite/{GAAXSGWK.js → Q52B4SR4.js} +2 -2
  147. package/dist/calcite/{Z7VNUC77.js → QC3KYLNZ.js} +2 -2
  148. package/dist/calcite/{EFI2G5WL.js → QFOLYCWD.js} +2 -2
  149. package/dist/calcite/{F6EGRKXW.js → QGOU2BEZ.js} +2 -2
  150. package/dist/calcite/{ZV442E6X.js → QI2ELYU3.js} +2 -2
  151. package/dist/calcite/{R6GNPMSV.js → QIZGHNZY.js} +2 -2
  152. package/dist/calcite/{D2HDFE7S.js → QJRMWXHQ.js} +2 -2
  153. package/dist/calcite/{OTUG3NVT.js → QQR6TKYE.js} +2 -2
  154. package/dist/calcite/{EAML4EDI.js → QR6G6AB2.js} +2 -2
  155. package/dist/calcite/{LH7KSBQC.js → QUUKOZWD.js} +2 -2
  156. package/dist/calcite/{KULDQOV2.js → R3EBVVN3.js} +2 -2
  157. package/dist/calcite/{CNO6NFH5.js → R3FLP5QS.js} +2 -2
  158. package/dist/calcite/{C46JYVUP.js → R6M6HES6.js} +2 -2
  159. package/dist/calcite/{LOZEGKG2.js → RAA7AM6M.js} +2 -2
  160. package/dist/calcite/{EHZCT5YZ.js → RDOVN276.js} +2 -2
  161. package/dist/calcite/{OGED6PPP.js → RFATQCOE.js} +2 -2
  162. package/dist/calcite/{QLKHJI4P.js → RHR5F4HO.js} +1 -1
  163. package/dist/calcite/{DT67ZFPX.js → RISOP66W.js} +2 -2
  164. package/dist/calcite/{KW57BHXD.js → RSMRASRN.js} +2 -2
  165. package/dist/calcite/{NVBNX55L.js → RTH7YVQR.js} +2 -2
  166. package/dist/calcite/{JCWM5Z43.js → RWRS2NU2.js} +2 -2
  167. package/dist/calcite/{AYZ73RWQ.js → S23GFP6K.js} +2 -2
  168. package/dist/calcite/{YXLQFMOA.js → S6HVF75Y.js} +2 -2
  169. package/dist/calcite/{GGO5TMB4.js → S74LMG36.js} +2 -2
  170. package/dist/calcite/{7QHUEK5R.js → SADM47KH.js} +2 -2
  171. package/dist/calcite/{OOSULFCY.js → SLKTWE3W.js} +2 -2
  172. package/dist/calcite/{ATHBUWBY.js → SLTDIENT.js} +2 -2
  173. package/dist/calcite/{K3ZBW4GY.js → SYGGMDPD.js} +2 -2
  174. package/dist/calcite/{VST65PDC.js → T4MBSEJN.js} +1 -1
  175. package/dist/calcite/{6LW27BEV.js → TCIPD6BI.js} +2 -2
  176. package/dist/calcite/{22RQB3WE.js → TD2M3HXH.js} +1 -1
  177. package/dist/calcite/{TNR5VZG2.js → TFDQPWTN.js} +2 -2
  178. package/dist/calcite/{GE63ETFI.js → TO5FCIUA.js} +2 -2
  179. package/dist/calcite/{VG7BJBFG.js → TX2VI5MW.js} +2 -2
  180. package/dist/calcite/{46U4MKUU.js → U3HEL4RD.js} +2 -2
  181. package/dist/calcite/{ZQO6E4FO.js → UELJS6PF.js} +2 -2
  182. package/dist/calcite/{N2BVYYYP.js → UFYDUU52.js} +2 -2
  183. package/dist/calcite/{IXRMDUEL.js → UP7SL3CK.js} +2 -2
  184. package/dist/calcite/{LLSB73WA.js → UT6FICQ3.js} +2 -2
  185. package/dist/calcite/{FHBFGCTR.js → V6AMPSCT.js} +2 -2
  186. package/dist/calcite/{G2KHDAZD.js → VEJRRMKU.js} +2 -2
  187. package/dist/calcite/{HKHPJJ34.js → VFVGGH4O.js} +2 -2
  188. package/dist/calcite/{36DMRAV2.js → VQ4LSZKF.js} +2 -2
  189. package/dist/calcite/{JLZYAYOL.js → VW4FPITC.js} +2 -2
  190. package/dist/calcite/{QU33PBBI.js → WACTC6C2.js} +2 -2
  191. package/dist/calcite/{RVMVJW6K.js → WFNPLZZD.js} +2 -2
  192. package/dist/calcite/{FE3A3YUN.js → WOZ3YSMM.js} +2 -2
  193. package/dist/calcite/{3IV6JSC2.js → WQI63ENU.js} +2 -2
  194. package/dist/calcite/{SYEQSDHG.js → WX25GXOJ.js} +2 -2
  195. package/dist/calcite/{E3R5SMVW.js → X2CKUJNY.js} +2 -2
  196. package/dist/calcite/{24SER2VV.js → X3XUDYZK.js} +2 -2
  197. package/dist/calcite/{3TOVZEQB.js → X4HIU64B.js} +2 -2
  198. package/dist/calcite/{RAQWKUOJ.js → X6MOGC7A.js} +2 -2
  199. package/dist/calcite/{345Q4UHX.js → XBMJE2HA.js} +2 -2
  200. package/dist/calcite/{RUTUU2EH.js → XEB3PVUL.js} +2 -2
  201. package/dist/calcite/{Y6VF7HSM.js → XENH6L4X.js} +2 -2
  202. package/dist/calcite/{5EPP4MG3.js → XJJ7H5YN.js} +2 -2
  203. package/dist/calcite/{C54C5E23.js → XPXLWH7X.js} +2 -2
  204. package/dist/calcite/{QYGED6CL.js → XRGQWCOT.js} +2 -2
  205. package/dist/calcite/{E4NMFIKN.js → XU4G32CA.js} +2 -2
  206. package/dist/calcite/{FDIM6DYL.js → XYTAOAJQ.js} +2 -2
  207. package/dist/calcite/{FNFWOOMR.js → XZVQKECK.js} +1 -1
  208. package/dist/calcite/{4TQLSUKH.js → YBPOJHA7.js} +1 -1
  209. package/dist/calcite/{3GICXOBQ.js → YCJABBGV.js} +2 -2
  210. package/dist/calcite/{OPBQNK7J.js → YDLXSG4W.js} +2 -2
  211. package/dist/calcite/{2BGMAPSV.js → YICY6VCM.js} +2 -2
  212. package/dist/calcite/{T3NRBBZP.js → YLJ43EVG.js} +2 -2
  213. package/dist/calcite/{OHOS32IT.js → YMHBAMWI.js} +2 -2
  214. package/dist/calcite/{UELGJSYH.js → YSGHAVSA.js} +1 -1
  215. package/dist/calcite/{7D3VEEUX.js → YUGL6WTS.js} +2 -2
  216. package/dist/calcite/{6OZRZ36X.js → YWEFWGI7.js} +2 -2
  217. package/dist/calcite/{DTL2LM6T.js → YYWIZXXK.js} +2 -2
  218. package/dist/calcite/{CJYTY62F.js → Z6W6VEP2.js} +2 -2
  219. package/dist/calcite/{RAFCSOOQ.js → Z7SGWG6G.js} +2 -2
  220. package/dist/calcite/{TQTAM3XB.js → ZBOL56TZ.js} +2 -2
  221. package/dist/calcite/{RSAEDAEX.js → ZCCUSDNB.js} +2 -2
  222. package/dist/calcite/{UJL3BWDH.js → ZFTPOTKI.js} +2 -2
  223. package/dist/calcite/{7E342YOK.js → ZTKKB3EW.js} +2 -2
  224. package/dist/calcite/{FCN5RMLA.js → ZUF4UFWX.js} +2 -2
  225. package/dist/calcite/calcite.esm.js +2 -2
  226. package/dist/chunks/ExpandToggle.js +1 -1
  227. package/dist/chunks/FloatingArrow.js +1 -1
  228. package/dist/chunks/Heading.js +1 -1
  229. package/dist/chunks/Validation.js +1 -1
  230. package/dist/chunks/_commonjsHelpers.js +1 -1
  231. package/dist/chunks/array.js +1 -1
  232. package/dist/chunks/component.js +1 -1
  233. package/dist/chunks/core.js +1 -1
  234. package/dist/chunks/date.js +1 -1
  235. package/dist/chunks/dom.js +1 -1
  236. package/dist/chunks/dynamicClasses.js +1 -1
  237. package/dist/chunks/filter.js +1 -1
  238. package/dist/chunks/floating-ui.js +1 -1
  239. package/dist/chunks/focusTrapComponent.js +1 -1
  240. package/dist/chunks/form.js +1 -1
  241. package/dist/chunks/global.js +1 -1
  242. package/dist/chunks/guid.js +1 -1
  243. package/dist/chunks/input.js +1 -1
  244. package/dist/chunks/interact.min.js +1 -1
  245. package/dist/chunks/interactive.js +1 -1
  246. package/dist/chunks/key.js +1 -1
  247. package/dist/chunks/label.js +1 -1
  248. package/dist/chunks/loadable.js +1 -1
  249. package/dist/chunks/locale.js +1 -1
  250. package/dist/chunks/logger.js +1 -1
  251. package/dist/chunks/math.js +1 -1
  252. package/dist/chunks/observers.js +1 -1
  253. package/dist/chunks/openCloseComponent.js +1 -1
  254. package/dist/chunks/resources.js +1 -1
  255. package/dist/chunks/resources2.js +1 -1
  256. package/dist/chunks/resources3.js +1 -1
  257. package/dist/chunks/resources4.js +1 -1
  258. package/dist/chunks/resources5.js +1 -1
  259. package/dist/chunks/resources6.js +1 -1
  260. package/dist/chunks/resources7.js +1 -1
  261. package/dist/chunks/responsive.js +1 -1
  262. package/dist/chunks/runtime.js +10 -10
  263. package/dist/chunks/sortableComponent.js +1 -1
  264. package/dist/chunks/text.js +1 -1
  265. package/dist/chunks/time.js +1 -1
  266. package/dist/chunks/useFocusTrap.js +1 -1
  267. package/dist/chunks/useT9n.js +1 -1
  268. package/dist/chunks/utils.js +1 -1
  269. package/dist/chunks/utils2.js +1 -1
  270. package/dist/chunks/utils3.js +1 -1
  271. package/dist/chunks/utils4.js +1 -1
  272. package/dist/components/calcite-accordion/customElement.js +1 -1
  273. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  274. package/dist/components/calcite-action/customElement.js +2 -2
  275. package/dist/components/calcite-action-bar/customElement.js +1 -1
  276. package/dist/components/calcite-action-group/customElement.js +1 -1
  277. package/dist/components/calcite-action-menu/customElement.js +1 -1
  278. package/dist/components/calcite-action-pad/customElement.js +1 -1
  279. package/dist/components/calcite-alert/customElement.js +1 -1
  280. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  281. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  282. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  283. package/dist/components/calcite-avatar/customElement.js +1 -1
  284. package/dist/components/calcite-block/customElement.js +1 -1
  285. package/dist/components/calcite-block-group/customElement.js +1 -1
  286. package/dist/components/calcite-block-section/customElement.js +1 -1
  287. package/dist/components/calcite-button/customElement.js +1 -1
  288. package/dist/components/calcite-card/customElement.js +1 -1
  289. package/dist/components/calcite-card-group/customElement.js +1 -1
  290. package/dist/components/calcite-carousel/customElement.js +1 -1
  291. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  292. package/dist/components/calcite-checkbox/customElement.js +1 -1
  293. package/dist/components/calcite-chip/customElement.js +1 -1
  294. package/dist/components/calcite-chip-group/customElement.js +1 -1
  295. package/dist/components/calcite-color-picker/customElement.js +1 -1
  296. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  297. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  298. package/dist/components/calcite-combobox/customElement.js +1 -1
  299. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  300. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  301. package/dist/components/calcite-date-picker/customElement.js +1 -1
  302. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  303. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  304. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  305. package/dist/components/calcite-dialog/customElement.js +1 -1
  306. package/dist/components/calcite-dropdown/customElement.js +1 -1
  307. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  308. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  309. package/dist/components/calcite-fab/customElement.js +1 -1
  310. package/dist/components/calcite-filter/customElement.js +1 -1
  311. package/dist/components/calcite-flow/customElement.js +1 -1
  312. package/dist/components/calcite-flow-item/customElement.js +1 -1
  313. package/dist/components/calcite-graph/customElement.js +1 -1
  314. package/dist/components/calcite-handle/customElement.js +1 -1
  315. package/dist/components/calcite-icon/customElement.js +1 -1
  316. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  317. package/dist/components/calcite-input/customElement.js +1 -1
  318. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  319. package/dist/components/calcite-input-message/customElement.js +1 -1
  320. package/dist/components/calcite-input-number/customElement.js +1 -1
  321. package/dist/components/calcite-input-text/customElement.js +1 -1
  322. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  323. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  324. package/dist/components/calcite-label/customElement.js +1 -1
  325. package/dist/components/calcite-link/customElement.js +1 -1
  326. package/dist/components/calcite-list/customElement.js +1 -1
  327. package/dist/components/calcite-list-item/customElement.js +1 -1
  328. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  329. package/dist/components/calcite-loader/customElement.js +1 -1
  330. package/dist/components/calcite-menu/customElement.js +1 -1
  331. package/dist/components/calcite-menu-item/customElement.js +1 -1
  332. package/dist/components/calcite-meter/customElement.js +1 -1
  333. package/dist/components/calcite-modal/customElement.js +1 -1
  334. package/dist/components/calcite-navigation/customElement.js +1 -1
  335. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  336. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  337. package/dist/components/calcite-notice/customElement.js +1 -1
  338. package/dist/components/calcite-option/customElement.js +1 -1
  339. package/dist/components/calcite-option-group/customElement.js +1 -1
  340. package/dist/components/calcite-pagination/customElement.js +1 -1
  341. package/dist/components/calcite-panel/customElement.js +1 -1
  342. package/dist/components/calcite-popover/customElement.js +1 -1
  343. package/dist/components/calcite-progress/customElement.js +1 -1
  344. package/dist/components/calcite-radio-button/customElement.js +1 -1
  345. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  346. package/dist/components/calcite-rating/customElement.js +1 -1
  347. package/dist/components/calcite-scrim/customElement.js +1 -1
  348. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  349. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  350. package/dist/components/calcite-select/customElement.js +1 -1
  351. package/dist/components/calcite-sheet/customElement.js +1 -1
  352. package/dist/components/calcite-shell/customElement.js +1 -1
  353. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  354. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  355. package/dist/components/calcite-slider/customElement.js +1 -1
  356. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  357. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  358. package/dist/components/calcite-split-button/customElement.js +1 -1
  359. package/dist/components/calcite-stack/customElement.js +1 -1
  360. package/dist/components/calcite-stepper/customElement.js +1 -1
  361. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  362. package/dist/components/calcite-switch/customElement.js +1 -1
  363. package/dist/components/calcite-tab/customElement.js +1 -1
  364. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  365. package/dist/components/calcite-tab-title/customElement.js +6 -6
  366. package/dist/components/calcite-table/customElement.js +1 -1
  367. package/dist/components/calcite-table-cell/customElement.js +1 -1
  368. package/dist/components/calcite-table-header/customElement.js +1 -1
  369. package/dist/components/calcite-table-row/customElement.js +1 -1
  370. package/dist/components/calcite-tabs/customElement.js +1 -1
  371. package/dist/components/calcite-text-area/customElement.js +1 -1
  372. package/dist/components/calcite-tile/customElement.js +1 -1
  373. package/dist/components/calcite-tile-group/customElement.js +1 -1
  374. package/dist/components/calcite-tile-select/customElement.js +1 -1
  375. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  376. package/dist/components/calcite-time-picker/customElement.js +1 -1
  377. package/dist/components/calcite-tip/customElement.js +1 -1
  378. package/dist/components/calcite-tip-group/customElement.js +1 -1
  379. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  380. package/dist/components/calcite-tooltip/customElement.js +1 -1
  381. package/dist/components/calcite-tree/customElement.js +1 -1
  382. package/dist/components/calcite-tree-item/customElement.js +1 -1
  383. package/dist/docs/api.json +1 -1
  384. package/dist/docs/docs.json +1 -1
  385. package/dist/docs/supported-browsers.json +1 -1
  386. package/dist/docs/web-types.json +1 -1
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +1 -1
  389. package/package.json +5 -5
  390. package/dist/calcite/MPAVJ7UH.js +0 -4
  391. package/dist/calcite/T5UPGHU3.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{b as p}from"./QU33PBBI.js";import{v as m,w as u}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as b,e as c,f as n,w as h}from"./KVSCG5E3.js";var f={titleGroup:"title-group"},g=c`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1),inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends h{constructor(){super(),this.tabs=[],this.titles=[],this.bordered=!1,this.layout="inline",this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:16,titles:16,bordered:5,layout:3,position:3,scale:3}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&this.titles?.length>0&&this.tabs?.length>0&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation(),e.detail.length!==this.titles.length&&(this.titles=e.detail)}defaultSlotChangeHandler(e){this.tabs=m(e,"calcite-tab")}async updateAriaSettings(){await this.componentOnReady();let e,i,o=u(this.slotEl,"calcite-tab");if(o.some(t=>t.tab)||this.titles.some(t=>t.tab))e=o.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id),i=this.titles.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id);else{let t=await Promise.all(o.map(s=>s.getTabIndex())),a=await Promise.all(this.titles.map(s=>s.getTabIndex()));e=t.reduce((s,r,l)=>(s[r]=o[l].id,s),[]),i=a.reduce((s,r,l)=>(s[r]=this.titles[l].id,s),[])}o.forEach(t=>t._updateAriaInfo(e,i)),this.titles.forEach(t=>t._updateAriaInfo(e,i))}updateItems(){let{position:e,scale:i}=this,o=this.el.querySelector("calcite-tab-nav");o&&(o.position=e,o.scale=i),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(t=>{t.parentElement===this.el&&(t.scale=i)}),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach(t=>{t.position=e,t.scale=i})}setDefaultSlotRef(e){this.slotEl=e}render(){return n`<slot name=${f.titleGroup}></slot><section><slot @slotchange=${this.defaultSlotChangeHandler} ${p(this.setDefaultSlotRef)}></slot></section>`}};b("calcite-tabs",d);export{d as Tabs};
3
+ v3.1.0-next.0 */
4
+ import{b as p}from"./WACTC6C2.js";import{v as m,w as u}from"./FE2QRVI7.js";import"./7LGBDOYP.js";import{J as b,e as c,f as n,w as h}from"./IPEYLL4T.js";var f={titleGroup:"title-group"},g=c`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1),inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends h{constructor(){super(),this.tabs=[],this.titles=[],this.bordered=!1,this.layout="inline",this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:16,titles:16,bordered:5,layout:3,position:3,scale:3}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&this.titles?.length>0&&this.tabs?.length>0&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation(),e.detail.length!==this.titles.length&&(this.titles=e.detail)}defaultSlotChangeHandler(e){this.tabs=m(e,"calcite-tab")}async updateAriaSettings(){await this.componentOnReady();let e,i,o=u(this.slotEl,"calcite-tab");if(o.some(t=>t.tab)||this.titles.some(t=>t.tab))e=o.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id),i=this.titles.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id);else{let t=await Promise.all(o.map(s=>s.getTabIndex())),a=await Promise.all(this.titles.map(s=>s.getTabIndex()));e=t.reduce((s,r,l)=>(s[r]=o[l].id,s),[]),i=a.reduce((s,r,l)=>(s[r]=this.titles[l].id,s),[])}o.forEach(t=>t._updateAriaInfo(e,i)),this.titles.forEach(t=>t._updateAriaInfo(e,i))}updateItems(){let{position:e,scale:i}=this,o=this.el.querySelector("calcite-tab-nav");o&&(o.position=e,o.scale=i),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(t=>{t.parentElement===this.el&&(t.scale=i)}),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach(t=>{t.position=e,t.scale=i})}setDefaultSlotRef(e){this.slotEl=e}render(){return n`<slot name=${f.titleGroup}></slot><section><slot @slotchange=${this.defaultSlotChangeHandler} ${p(this.setDefaultSlotRef)}></slot></section>`}};b("calcite-tabs",d);export{d as Tabs};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as T}from"./N2BVYYYP.js";import{c as N,e as I,f as z,h as k}from"./DTL2LM6T.js";import{c as O,d as C,e as y}from"./G3LH75CQ.js";import{a as E,b as x}from"./LOZEGKG2.js";import{a as b}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as v}from"./CNO6NFH5.js";import{b as f}from"./QU33PBBI.js";import{l as g}from"./CMO3X257.js";import{b as w}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{B as m,J as u,e as d,f as s,v as h,w as p,x as l}from"./KVSCG5E3.js";var $=d`:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;font-size:var(--calcite-select-font-size);font-weight:var(--calcite-internal-select-font-weight, var(--calcite-font-weight-regular))}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width);block-size:var(--calcite-internal-select-block-size, 32px)}.wrapper:focus-within .icon,.wrapper:active .icon,.wrapper:hover .icon{color:var(--calcite-select-icon-color-hover, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-select-font-size: var(--calcite-font-size--2);--calcite-select-spacing-inline: .5rem 2rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 24px}:host([scale=m]){--calcite-internal-select-font-size: var(--calcite-font-size--1);--calcite-select-spacing-inline: .75rem 2.5rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-md)}:host([scale=l]){--calcite-internal-select-font-size: var(--calcite-font-size-0);--calcite-select-spacing-inline: 1rem 3rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-lg);--calcite-internal-select-block-size: 44px}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0;border-style:solid;background-color:var(--calcite-color-foreground-1);font-family:inherit;outline-color:transparent;font-weight:inherit;font-size:var(--calcite-select-font-size, var(--calcite-internal-select-font-size));color:var(--calcite-select-text-color, var(--calcite-color-text-2));border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-width:var(--calcite-select-internal-border-width, var(--calcite-border-width-sm));padding-inline:var(--calcite-select-spacing-inline);padding-block:var(--calcite-internal-select-spacing-block);border-inline-end-width:0;line-height:var(--calcite-internal-select-line-height, normal)}.select: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))))}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity: 1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-inline-width:0px var(--calcite-select-internal-icon-border-inline-end-width, 1px);padding-inline:var(--calcite-internal-select-icon-container-padding-inline)}.icon-container .icon{color:var(--calcite-select-icon-color, var(--calcite-color-text-3))}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,n={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},S={validationMessage:"selectValidationMessage"};function o(c){return c.tagName==="CALCITE-OPTION"}function M(c){return c.tagName==="CALCITE-OPTION-GROUP"}var r=class extends p{constructor(){super(),this.componentToNativeEl=new Map,this.mutationObserver=v("mutation",()=>this.populateInternalSelect()),this.disabled=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSelectChange=h({cancelable:!1}),this.listen("calciteInternalOptionChange",this.handleOptionOrGroupChange),this.listen("calciteInternalOptionGroupChange",this.handleOptionOrGroupChange)}static{this.properties={disabled:7,form:3,label:1,name:3,required:7,scale:3,selectedOption:0,status:3,validationIcon:[3,{converter:m}],validationMessage:1,validity:0,value:1,width:3}}static{this.styles=$}async setFocus(){await w(this),g(this.selectEl)}connectedCallback(){super.connectedCallback();let{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),O(this),N(this)}load(){}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==null)&&this.updateItemsFromValue(this.value),e.has("selectedOption")&&(this.value=this.selectedOption?.value)}updated(){E(this)}loaded(){typeof this.value=="string"&&this.updateItemsFromValue(this.value),this.populateInternalSelect();let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),z(this,this.selectedOption?.value??"")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),C(this),I(this)}handleInternalSelectChange(){let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),requestAnimationFrame(()=>this.emitChangeEvent())}handleOptionOrGroupChange(e){e.stopPropagation();let t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),o(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach(t=>t.selected=t.value===e)}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,o(e)){let i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}populateInternalSelect(){let e=Array.from(this.el.children).filter(t=>t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP");this.clearInternalSelect(),e.forEach(t=>this.selectEl?.append(this.toNativeElement(t)))}clearInternalSelect(){this.componentToNativeEl.forEach(e=>e.remove()),this.componentToNativeEl.clear()}storeSelectRef(e){e&&(this.selectEl=e)}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach((i,a)=>{o(a)&&i===e&&(a.selected=!0,t=a,this.deselectAllExcept(a))}),t&&(this.selectedOption=t)}toNativeElement(e){if(o(e)){let t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(M(e)){let t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach(i=>{let a=this.toNativeElement(i);t.append(a),this.componentToNativeEl.set(e,a)}),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach(t=>{t!==e&&(t.selected=!1)})}emitChangeEvent(){this.calciteSelectChange.emit()}renderChevron(){return s`<div class=${l(n.iconContainer)}><calcite-icon class=${l(n.icon)} icon=chevron-down .scale=${b(this.scale)}></calcite-icon></div>`}render(){let{disabled:e}=this;return x({disabled:e,children:s`<div class=${l(n.wrapper)}><select aria-errormessage=${S.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${y(this)} class=${l(n.select)} .disabled=${e} @change=${this.handleInternalSelectChange} ${f(this.storeSelectRef)}><slot></slot></select>${this.renderChevron()}${k({component:this})}</div>${this.validationMessage&&this.status==="invalid"?T({icon:this.validationIcon,id:S.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};u("calcite-select",r);export{r as Select};
3
+ v3.1.0-next.0 */
4
+ import{a as T}from"./UFYDUU52.js";import{c as N,e as I,f as z,h as k}from"./YYWIZXXK.js";import{c as O,d as C,e as y}from"./BAWLIDLU.js";import{a as E,b as x}from"./RAA7AM6M.js";import{a as b}from"./WQI63ENU.js";import"./RSMRASRN.js";import{a as v}from"./R3FLP5QS.js";import{b as f}from"./WACTC6C2.js";import{l as g}from"./FE2QRVI7.js";import{b as w}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{B as m,J as u,e as d,f as s,v as h,w as p,x as l}from"./IPEYLL4T.js";var $=d`:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;font-size:var(--calcite-select-font-size);font-weight:var(--calcite-internal-select-font-weight, var(--calcite-font-weight-regular))}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width);block-size:var(--calcite-internal-select-block-size, 32px)}.wrapper:focus-within .icon,.wrapper:active .icon,.wrapper:hover .icon{color:var(--calcite-select-icon-color-hover, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-select-font-size: var(--calcite-font-size--2);--calcite-select-spacing-inline: .5rem 2rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 24px}:host([scale=m]){--calcite-internal-select-font-size: var(--calcite-font-size--1);--calcite-select-spacing-inline: .75rem 2.5rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-md)}:host([scale=l]){--calcite-internal-select-font-size: var(--calcite-font-size-0);--calcite-select-spacing-inline: 1rem 3rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-lg);--calcite-internal-select-block-size: 44px}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0;border-style:solid;background-color:var(--calcite-color-foreground-1);font-family:inherit;outline-color:transparent;font-weight:inherit;font-size:var(--calcite-select-font-size, var(--calcite-internal-select-font-size));color:var(--calcite-select-text-color, var(--calcite-color-text-2));border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-width:var(--calcite-select-internal-border-width, var(--calcite-border-width-sm));padding-inline:var(--calcite-select-spacing-inline);padding-block:var(--calcite-internal-select-spacing-block);border-inline-end-width:0;line-height:var(--calcite-internal-select-line-height, normal)}.select: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))))}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity: 1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-inline-width:0px var(--calcite-select-internal-icon-border-inline-end-width, 1px);padding-inline:var(--calcite-internal-select-icon-container-padding-inline)}.icon-container .icon{color:var(--calcite-select-icon-color, var(--calcite-color-text-3))}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,n={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},S={validationMessage:"selectValidationMessage"};function o(c){return c.tagName==="CALCITE-OPTION"}function M(c){return c.tagName==="CALCITE-OPTION-GROUP"}var r=class extends p{constructor(){super(),this.componentToNativeEl=new Map,this.mutationObserver=v("mutation",()=>this.populateInternalSelect()),this.disabled=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSelectChange=h({cancelable:!1}),this.listen("calciteInternalOptionChange",this.handleOptionOrGroupChange),this.listen("calciteInternalOptionGroupChange",this.handleOptionOrGroupChange)}static{this.properties={disabled:7,form:3,label:1,name:3,required:7,scale:3,selectedOption:0,status:3,validationIcon:[3,{converter:m}],validationMessage:1,validity:0,value:1,width:3}}static{this.styles=$}async setFocus(){await w(this),g(this.selectEl)}connectedCallback(){super.connectedCallback();let{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),O(this),N(this)}load(){}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==null)&&this.updateItemsFromValue(this.value),e.has("selectedOption")&&(this.value=this.selectedOption?.value)}updated(){E(this)}loaded(){typeof this.value=="string"&&this.updateItemsFromValue(this.value),this.populateInternalSelect();let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),z(this,this.selectedOption?.value??"")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),C(this),I(this)}handleInternalSelectChange(){let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),requestAnimationFrame(()=>this.emitChangeEvent())}handleOptionOrGroupChange(e){e.stopPropagation();let t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),o(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach(t=>t.selected=t.value===e)}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,o(e)){let i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}populateInternalSelect(){let e=Array.from(this.el.children).filter(t=>t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP");this.clearInternalSelect(),e.forEach(t=>this.selectEl?.append(this.toNativeElement(t)))}clearInternalSelect(){this.componentToNativeEl.forEach(e=>e.remove()),this.componentToNativeEl.clear()}storeSelectRef(e){e&&(this.selectEl=e)}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach((i,a)=>{o(a)&&i===e&&(a.selected=!0,t=a,this.deselectAllExcept(a))}),t&&(this.selectedOption=t)}toNativeElement(e){if(o(e)){let t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(M(e)){let t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach(i=>{let a=this.toNativeElement(i);t.append(a),this.componentToNativeEl.set(e,a)}),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach(t=>{t!==e&&(t.selected=!1)})}emitChangeEvent(){this.calciteSelectChange.emit()}renderChevron(){return s`<div class=${l(n.iconContainer)}><calcite-icon class=${l(n.icon)} icon=chevron-down .scale=${b(this.scale)}></calcite-icon></div>`}render(){let{disabled:e}=this;return x({disabled:e,children:s`<div class=${l(n.wrapper)}><select aria-errormessage=${S.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${y(this)} class=${l(n.select)} .disabled=${e} @change=${this.handleInternalSelectChange} ${f(this.storeSelectRef)}><slot></slot></select>${this.renderChevron()}${k({component:this})}</div>${this.validationMessage&&this.status==="invalid"?T({icon:this.validationIcon,id:S.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};u("calcite-select",r);export{r as Select};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as d,b as p}from"./LOZEGKG2.js";import{n as c}from"./CMO3X257.js";import{b as s}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as l,e as n,f as o,v as i,w as r,x as t}from"./KVSCG5E3.js";var e={container:"container",dividerContainer:"divider-container",divider:"divider"},u=n`: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}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-background: var(--calcite-color-brand);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-background: var(--calcite-color-status-danger);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-background: var(--calcite-color-foreground-3);--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-inverse);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-background: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-background: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;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;background-color:var(--calcite-internal-split-button-background)}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}: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(...arguments),this.active=!1,this.appearance="solid",this.disabled=!1,this.dropdownIconType="chevron",this.kind="brand",this.loading=!1,this.overlayPositioning="absolute",this.placement="bottom-end",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClick=i({cancelable:!1}),this.calciteSplitButtonSecondaryClick=i({cancelable:!1})}static{this.properties={active:7,appearance:3,disabled:7,dropdownIconType:3,dropdownLabel:3,flipPlacements:0,kind:3,loading:7,overlayPositioning:3,placement:3,primaryIconEnd:3,primaryIconFlipRtl:3,primaryIconStart:3,primaryLabel:3,primaryText:3,scale:3,width:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=u}get dropdownIcon(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"}async setFocus(){await s(this),c(this.el)}load(){}updated(){d(this)}loaded(){}calciteSplitButtonPrimaryClickHandler(){this.calciteSplitButtonPrimaryClick.emit()}calciteSplitButtonSecondaryClickHandler(){this.calciteSplitButtonSecondaryClick.emit()}render(){let h=this.width==="auto"?"auto":"full";return p({disabled:this.disabled,children:o`<div class=${t(e.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconEnd=${this.primaryIconEnd?this.primaryIconEnd:null} .iconFlipRtl=${this.primaryIconFlipRtl?this.primaryIconFlipRtl:null} .iconStart=${this.primaryIconStart?this.primaryIconStart:null} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .scale=${this.scale} split-child=primary type=button .width=${h}>${this.primaryText}</calcite-button><div class=${t(e.dividerContainer)}><div class=${t(e.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=trigger split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>`})}};l("calcite-split-button",a);export{a as SplitButton};
3
+ v3.1.0-next.0 */
4
+ import{a as d,b as p}from"./RAA7AM6M.js";import{n as c}from"./FE2QRVI7.js";import{b as s}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{J as l,e as n,f as o,v as i,w as r,x as t}from"./IPEYLL4T.js";var e={container:"container",dividerContainer:"divider-container",divider:"divider"},u=n`: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}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-background: var(--calcite-color-brand);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-background: var(--calcite-color-status-danger);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-background: var(--calcite-color-foreground-3);--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-inverse);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-background: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-background: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;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;background-color:var(--calcite-internal-split-button-background)}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}: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(...arguments),this.active=!1,this.appearance="solid",this.disabled=!1,this.dropdownIconType="chevron",this.kind="brand",this.loading=!1,this.overlayPositioning="absolute",this.placement="bottom-end",this.scale="m",this.width="auto",this.calciteSplitButtonPrimaryClick=i({cancelable:!1}),this.calciteSplitButtonSecondaryClick=i({cancelable:!1})}static{this.properties={active:7,appearance:3,disabled:7,dropdownIconType:3,dropdownLabel:3,flipPlacements:0,kind:3,loading:7,overlayPositioning:3,placement:3,primaryIconEnd:3,primaryIconFlipRtl:3,primaryIconStart:3,primaryLabel:3,primaryText:3,scale:3,width:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=u}get dropdownIcon(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"}async setFocus(){await s(this),c(this.el)}load(){}updated(){d(this)}loaded(){}calciteSplitButtonPrimaryClickHandler(){this.calciteSplitButtonPrimaryClick.emit()}calciteSplitButtonSecondaryClickHandler(){this.calciteSplitButtonSecondaryClick.emit()}render(){let h=this.width==="auto"?"auto":"full";return p({disabled:this.disabled,children:o`<div class=${t(e.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconEnd=${this.primaryIconEnd?this.primaryIconEnd:null} .iconFlipRtl=${this.primaryIconFlipRtl?this.primaryIconFlipRtl:null} .iconStart=${this.primaryIconStart?this.primaryIconStart:null} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .scale=${this.scale} split-child=primary type=button .width=${h}>${this.primaryText}</calcite-button><div class=${t(e.dividerContainer)}><div class=${t(e.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=trigger split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>`})}};l("calcite-split-button",a);export{a as SplitButton};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{k as s}from"./KBDXI6DJ.js";import{a as g,b as v}from"./LOZEGKG2.js";import{c as u}from"./3IV6JSC2.js";import"./KW57BHXD.js";import"./UELGJSYH.js";import{a as y}from"./ARHYATTG.js";import{a as h,b as m}from"./QU33PBBI.js";import{b}from"./GN5CPLSJ.js";import{A as d,J as p,e as l,f as o,j as n,v as r,w as c,x as t}from"./KVSCG5E3.js";var i={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"},z=l`:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s: .25rem;--calcite-stepper-item-spacing-unit-m: .75rem;--calcite-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s: .5rem;--calcite-stepper-item-spacing-unit-m: 1rem;--calcite-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s: .75rem;--calcite-stepper-item-spacing-unit-m: 1.25rem;--calcite-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-color-foreground-3)}:host{outline-color:transparent}: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))))}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-header:active{background-color:var(--calcite-color-foreground-3)}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:#007ac280}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:#007ac280}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;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([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{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([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,a=class extends c{constructor(){super(),this.headerEl=h(),this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.messages=y(),this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemKeyEvent=r({cancelable:!1}),this.calciteInternalStepperItemRegister=r({cancelable:!1}),this.calciteInternalStepperItemSelect=r({cancelable:!1}),this.calciteStepperItemSelect=r({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={complete:7,description:1,disabled:7,error:7,heading:1,icon:5,iconFlipRtl:7,itemHidden:7,layout:3,messageOverrides:0,numbered:5,numberingSystem:1,scale:3,selected:7}}static{this.styles=z}async setFocus(){await b(this),(this.layout==="vertical"?this.el:this.headerEl.value)?.focus()}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.registerStepperItem(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){g(this),d(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}loaded(){}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){s.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault();break}}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}handleItemClick(e){this.disabled||u(this.el)||this.layout==="horizontal"&&e.composedPath().some(f=>f.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])")).indexOf(this.el)}render(){this.el.ariaCurrent=this.selected?"step":"false";let e=this.layout==="horizontal"&&!this.disabled?0:null;return v({disabled:this.disabled,children:o`<div class=${t(i.container)}>${this.complete&&o`<span aria-live=polite class=${t(i.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${t(i.stepperItemHeader)} tabindex=${e??n} ${m(this.headerEl)}>${this.icon?this.renderIcon():null}${this.numbered?o`<div class=${t(i.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${t(i.stepperItemHeaderText)}><span class=${t(i.stepperItemHeading)}>${this.heading}</span><span class=${t(i.stepperItemDescription)}>${this.description}</span></div></div><div class=${t(i.stepperItemContent)}><slot></slot></div></div>`})}renderIcon(){let e="circle";return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),o`<calcite-icon class="stepper-item-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return s.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},s.numberFormatter.format(this.itemPosition+1)}};p("calcite-stepper-item",a);export{a as StepperItem};
3
+ v3.1.0-next.0 */
4
+ import{k as s}from"./6I7N4DJM.js";import{a as g,b as v}from"./RAA7AM6M.js";import{c as u}from"./WQI63ENU.js";import"./RSMRASRN.js";import"./YSGHAVSA.js";import{a as y}from"./MYKRE5QO.js";import{a as h,b as m}from"./WACTC6C2.js";import{b}from"./7VOKVNOX.js";import{A as d,J as p,e as l,f as o,j as n,v as r,w as c,x as t}from"./IPEYLL4T.js";var i={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"},z=l`:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s: .25rem;--calcite-stepper-item-spacing-unit-m: .75rem;--calcite-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s: .5rem;--calcite-stepper-item-spacing-unit-m: 1rem;--calcite-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s: .75rem;--calcite-stepper-item-spacing-unit-m: 1.25rem;--calcite-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-color-foreground-3)}:host{outline-color:transparent}: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))))}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-header:active{background-color:var(--calcite-color-foreground-3)}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:#007ac280}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:#007ac280}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;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([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{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([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,a=class extends c{constructor(){super(),this.headerEl=h(),this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.messages=y(),this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemKeyEvent=r({cancelable:!1}),this.calciteInternalStepperItemRegister=r({cancelable:!1}),this.calciteInternalStepperItemSelect=r({cancelable:!1}),this.calciteStepperItemSelect=r({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={complete:7,description:1,disabled:7,error:7,heading:1,icon:5,iconFlipRtl:7,itemHidden:7,layout:3,messageOverrides:0,numbered:5,numberingSystem:1,scale:3,selected:7}}static{this.styles=z}async setFocus(){await b(this),(this.layout==="vertical"?this.el:this.headerEl.value)?.focus()}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.registerStepperItem(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){g(this),d(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}loaded(){}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){s.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault();break}}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}handleItemClick(e){this.disabled||u(this.el)||this.layout==="horizontal"&&e.composedPath().some(f=>f.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])")).indexOf(this.el)}render(){this.el.ariaCurrent=this.selected?"step":"false";let e=this.layout==="horizontal"&&!this.disabled?0:null;return v({disabled:this.disabled,children:o`<div class=${t(i.container)}>${this.complete&&o`<span aria-live=polite class=${t(i.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${t(i.stepperItemHeader)} tabindex=${e??n} ${m(this.headerEl)}>${this.icon?this.renderIcon():null}${this.numbered?o`<div class=${t(i.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${t(i.stepperItemHeaderText)}><span class=${t(i.stepperItemHeading)}>${this.heading}</span><span class=${t(i.stepperItemDescription)}>${this.description}</span></div></div><div class=${t(i.stepperItemContent)}><slot></slot></div></div>`})}renderIcon(){let e="circle";return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),o`<calcite-icon class="stepper-item-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return s.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},s.numberFormatter.format(this.itemPosition+1)}};p("calcite-stepper-item",a);export{a as StepperItem};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as h}from"./KW57BHXD.js";import{a as c}from"./CIV3PH3Z.js";import{v as d}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as l,e as s,f as e,w as n,x as a}from"./KVSCG5E3.js";var p={actionBarContainer:"action-bar-container",content:"content"},m={actionBar:"action-bar"},x=s`: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{z-index:var(--calcite-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:.5rem;margin-block:.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;border-width:0px;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends n{constructor(){super(...arguments),this.detached=!1,this.heightScale="s",this.position="end"}static{this.properties={actionBar:16,detached:7,heightScale:3,position:3}}static{this.styles=x}load(){h.deprecated("component",{name:"shell-center-row",removalVersion:4,suggested:"shell-panel"})}loaded(){this.actionBar?.position==="end"&&this.requestUpdate()}handleActionBarSlotChange(t){this.actionBar=d(t).filter(o=>o.matches("calcite-action-bar"))[0]}render(){let{actionBar:t}=this,o=e`<div class=${a(p.content)}><slot></slot></div>`,r=[c("action-bar",e`<div class=${a(p.actionBarContainer)} .hidden=${!this.actionBar}><slot name=${m.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),o];return t?.position==="end"&&r.reverse(),r}};l("calcite-shell-center-row",i);export{i as ShellCenterRow};
3
+ v3.1.0-next.0 */
4
+ import{a as h}from"./RSMRASRN.js";import{a as c}from"./CQ5FVCCX.js";import{v as d}from"./FE2QRVI7.js";import"./7LGBDOYP.js";import{J as l,e as s,f as e,w as n,x as a}from"./IPEYLL4T.js";var p={actionBarContainer:"action-bar-container",content:"content"},m={actionBar:"action-bar"},x=s`: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{z-index:var(--calcite-z-index);display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:.5rem;margin-block:.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;border-width:0px;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends n{constructor(){super(...arguments),this.detached=!1,this.heightScale="s",this.position="end"}static{this.properties={actionBar:16,detached:7,heightScale:3,position:3}}static{this.styles=x}load(){h.deprecated("component",{name:"shell-center-row",removalVersion:4,suggested:"shell-panel"})}loaded(){this.actionBar?.position==="end"&&this.requestUpdate()}handleActionBarSlotChange(t){this.actionBar=d(t).filter(o=>o.matches("calcite-action-bar"))[0]}render(){let{actionBar:t}=this,o=e`<div class=${a(p.content)}><slot></slot></div>`,r=[c("action-bar",e`<div class=${a(p.actionBarContainer)} .hidden=${!this.actionBar}><slot name=${m.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),o];return t?.position==="end"&&r.reverse(),r}};l("calcite-shell-center-row",i);export{i as ShellCenterRow};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as j}from"./CNO6NFH5.js";import{a as G}from"./I2OIH73C.js";import{J as Z,e as C,f as w,g as d,w as P,x as f,z as $}from"./KVSCG5E3.js";function S(s,i,h){let a=i[0]-s[0],n=h[0]-i[0],o=i[1]-s[1],l=h[1]-i[1],r=o/(a||n<0&&0),e=l/(n||a<0&&0),t=(r*n+e*a)/(a+n);return(Math.sign(r)+Math.sign(e))*Math.min(Math.abs(r),Math.abs(e),.5*Math.abs(t))||0}function H(s,i,h){let a=i[0]-s[0],n=i[1]-s[1];return a?(3*n/a-h)/2:h}function O(s,i,h,a,n){let[o,l]=s,[r,e]=i,t=(r-o)/3,c=n([o+t,l+t*h]).join(","),g=n([r-t,e-t*a]).join(","),p=n([r,e]).join(",");return`C ${c} ${g} ${p}`}function E({width:s,height:i,min:h,max:a}){let n=a[0]-h[0],o=a[1]-h[1];return l=>{let r=(l[0]-h[0])/n*s,e=i-l[1]/o*i;return[r,e]}}function R(s){let[i,h]=s[0],a=[i,h],n=[i,h];return s.reduce(({min:o,max:l},[r,e])=>({min:[Math.min(o[0],r),Math.min(o[1],e)],max:[Math.max(l[0],r),Math.max(l[1],e)]}),{min:a,max:n})}function q({data:s,min:i,max:h,t:a}){if(s.length===0)return"";let[n,o]=a(s[0]),[l,r]=a(i),[e]=a(h),t,c,g,p=s.reduce((x,M,m)=>{if(c=s[m-2],g=s[m-1],m>1){let u=S(c,g,M),k=t===void 0?H(c,g,u):t,L=O(c,g,k,u,a);return t=u,`${x} ${L}`}return x},`M ${l},${r} L ${l},${o} L ${n},${o}`),y=s[s.length-1],v=O(g,y,t,H(g,y,t),a);return`${p} ${v} L ${e},${r} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,b={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${G()}`,this.resizeObserver=j("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:0,data:0,highlightMax:9,highlightMin:9,max:11,min:11}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:i,colorStops:h,el:a,highlightMax:n,highlightMin:o,min:l,max:r}=this,e=this.graphId,{clientHeight:t,clientWidth:c}=a;if(!i||i.length===0)return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}></svg>`;let{min:g,max:p}=R(i),y=g,v=p;(l<g[0]||l>g[0])&&(y=[l,0]),(r>p[0]||r<p[0])&&(v=[r,p[1]]);let x=E({min:y,max:v,width:c,height:t}),[M]=x([o,v[1]]),[m]=x([n,v[1]]),u=q({data:i,min:g,max:p,t:x}),k=h?`url(#linear-gradient-${e})`:void 0;return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}>${h?d`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${h.map(({offset:L,color:A,opacity:B})=>d`<stop offset=${`${L*100}%`} stop-color=${A??$} stop-opacity=${B??$} />`)}</linearGradient></defs>`:null}${o!==void 0?[d`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
3
+ v3.1.0-next.0 */
4
+ import{a as j}from"./R3FLP5QS.js";import{a as G}from"./7LGBDOYP.js";import{J as Z,e as C,f as w,g as d,w as P,x as f,z as $}from"./IPEYLL4T.js";function S(s,i,h){let a=i[0]-s[0],n=h[0]-i[0],o=i[1]-s[1],l=h[1]-i[1],r=o/(a||n<0&&0),e=l/(n||a<0&&0),t=(r*n+e*a)/(a+n);return(Math.sign(r)+Math.sign(e))*Math.min(Math.abs(r),Math.abs(e),.5*Math.abs(t))||0}function H(s,i,h){let a=i[0]-s[0],n=i[1]-s[1];return a?(3*n/a-h)/2:h}function O(s,i,h,a,n){let[o,l]=s,[r,e]=i,t=(r-o)/3,c=n([o+t,l+t*h]).join(","),g=n([r-t,e-t*a]).join(","),p=n([r,e]).join(",");return`C ${c} ${g} ${p}`}function E({width:s,height:i,min:h,max:a}){let n=a[0]-h[0],o=a[1]-h[1];return l=>{let r=(l[0]-h[0])/n*s,e=i-l[1]/o*i;return[r,e]}}function R(s){let[i,h]=s[0],a=[i,h],n=[i,h];return s.reduce(({min:o,max:l},[r,e])=>({min:[Math.min(o[0],r),Math.min(o[1],e)],max:[Math.max(l[0],r),Math.max(l[1],e)]}),{min:a,max:n})}function q({data:s,min:i,max:h,t:a}){if(s.length===0)return"";let[n,o]=a(s[0]),[l,r]=a(i),[e]=a(h),t,c,g,p=s.reduce((x,M,m)=>{if(c=s[m-2],g=s[m-1],m>1){let u=S(c,g,M),k=t===void 0?H(c,g,u):t,L=O(c,g,k,u,a);return t=u,`${x} ${L}`}return x},`M ${l},${r} L ${l},${o} L ${n},${o}`),y=s[s.length-1],v=O(g,y,t,H(g,y,t),a);return`${p} ${v} L ${e},${r} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,b={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${G()}`,this.resizeObserver=j("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:0,data:0,highlightMax:9,highlightMin:9,max:11,min:11}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:i,colorStops:h,el:a,highlightMax:n,highlightMin:o,min:l,max:r}=this,e=this.graphId,{clientHeight:t,clientWidth:c}=a;if(!i||i.length===0)return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}></svg>`;let{min:g,max:p}=R(i),y=g,v=p;(l<g[0]||l>g[0])&&(y=[l,0]),(r>p[0]||r<p[0])&&(v=[r,p[1]]);let x=E({min:y,max:v,width:c,height:t}),[M]=x([o,v[1]]),[m]=x([n,v[1]]),u=q({data:i,min:g,max:p,t:x}),k=h?`url(#linear-gradient-${e})`:void 0;return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}>${h?d`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${h.map(({offset:L,color:A,opacity:B})=>d`<stop offset=${`${L*100}%`} stop-color=${A??$} stop-opacity=${B??$} />`)}</linearGradient></defs>`:null}${o!==void 0?[d`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
5
5
  M 0,0
6
6
  L ${M-1},0
7
7
  L ${M-1},${t}
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
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:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(r){return r+"."},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.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};e.locale(_,null,!0);var d=_;export{d as default};
3
+ v3.1.0-next.0 */
4
+ import{b as e}from"./A77PTXQI.js";import"./AFBGRNF3.js";var _={name:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(r){return r+"."},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.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};e.locale(_,null,!0);var d=_;export{d as default};
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{b as l,c}from"./NWVCPRVB.js";var b=(n,f,i)=>{let u=l(f),p=new RegExp(u,"i");n.length===0&&console.warn(`No data was passed to the filter function.
3
+ v3.1.0-next.0 */
4
+ import{b as l,c}from"./ERNMRUWX.js";var b=(n,f,i)=>{let u=l(f),p=new RegExp(u,"i");n.length===0&&console.warn(`No data was passed to the filter function.
5
5
  The data argument should be an array of objects`);let o=(r,a,s)=>{if(r?.constant||r?.filterDisabled)return!0;let e=!1;return c(r,(t,d)=>{typeof t=="function"||t==null||s&&!s.includes(d)||(Array.isArray(t)||typeof t=="object"&&t!==null?o(t,a)&&(e=!0):a.test(t)&&(e=!0))}),e};return n.filter(r=>o(r,p,i))};export{b as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{n as m,v as z}from"./GNUSLZWJ.js";import"./OLMX7G3J.js";import"./L5FDXQMT.js";import{d as k}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as v,e as f,f as o,w as g,x as c,y as p,z as h}from"./KVSCG5E3.js";var u={thumbnail:"thumbnail",background:"background",initials:"initials",icon:"icon"};function $(i){i=y(i);let e=0;for(let a=0;a<i.length;a++)e=i.charCodeAt(a)+((e<<5)-e);let t="#";for(let a=0;a<3;a++){let r=e>>a*8&255;t+=("00"+r.toString(16)).substr(-2)}return t}function y(i){let e=Math.floor(i.length/2),t=i.split("").reverse().join("");return t.substring(e)+t.slice(0,e)}function x(i){let{r:e,g:t,b:a}=i;e/=255,t/=255,a/=255;let r=Math.max(e,t,a),l=Math.min(e,t,a),s=r-l;if(r===l)return 0;let n=(r+l)/2;switch(r){case e:n=(t-a)/s+(t<a?6:0);break;case t:n=(a-e)/s+2;break;case a:n=(e-t)/s+4;break}return Math.round(n*60)}function C(i){return x(z(i))}var F=f`:host{display:inline-block;overflow:hidden;border-radius:var(--calcite-avatar-corner-radius, 50%);color:var(--calcite-avatar-color, var(--calcite-color-text-2))}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:var(--calcite-avatar-corner-radius, 50%)}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase}.thumbnail{block-size:100%;inline-size:100%;border-radius:var(--calcite-avatar-corner-radius, 50%)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends g{constructor(){super(...arguments),this.thumbnailFailedToLoad=!1,this.scale="m"}static{this.properties={thumbnailFailedToLoad:16,fullName:3,label:1,scale:3,thumbnail:3,userId:3,username:3}}static{this.styles=F}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return o`<img alt=${(this.label||"")??h} class=${c(u.thumbnail)} @error=${()=>this.thumbnailFailedToLoad=!0} src=${this.thumbnail??h}>`;let e=this.generateInitials(),t=this.generateFillColor();return o`<span .ariaLabel=${this.label||this.fullName} class=${c(u.background)} role=figure style=${p({backgroundColor:t})}>${e?o`<span aria-hidden=true class=${c(u.initials)}>${e}</span>`:o`<calcite-icon class=${c(u.icon)} icon=user .scale=${this.scale}></calcite-icon>`}</span>`}generateFillColor(){let{userId:e,username:t,fullName:a,el:r}=this,l=k(r),s=e&&`#${e.substr(e.length-6)}`,n=t||a||"",b=s&&m(s)?s:$(n);return!e&&!n||!m(b)?"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))":`var(--calcite-avatar-background-color, hsl(${C(b)}, 60%, ${l==="dark"?20:90}%))`}generateInitials(){let{fullName:e,username:t}=this;return e?e.trim().split(" ").map(a=>a.substring(0,1)).join(""):t?t.substring(0,2):!1}render(){return this.determineContent()}};v("calcite-avatar",d);export{d as Avatar};
3
+ v3.1.0-next.0 */
4
+ import{n as m,v as z}from"./6T6UMXEG.js";import"./ARAAYSPA.js";import"./62IMSXF5.js";import{d as k}from"./FE2QRVI7.js";import"./7LGBDOYP.js";import{J as v,e as f,f as o,w as g,x as c,y as p,z as h}from"./IPEYLL4T.js";var u={thumbnail:"thumbnail",background:"background",initials:"initials",icon:"icon"};function $(i){i=y(i);let e=0;for(let a=0;a<i.length;a++)e=i.charCodeAt(a)+((e<<5)-e);let t="#";for(let a=0;a<3;a++){let r=e>>a*8&255;t+=("00"+r.toString(16)).substr(-2)}return t}function y(i){let e=Math.floor(i.length/2),t=i.split("").reverse().join("");return t.substring(e)+t.slice(0,e)}function x(i){let{r:e,g:t,b:a}=i;e/=255,t/=255,a/=255;let r=Math.max(e,t,a),l=Math.min(e,t,a),s=r-l;if(r===l)return 0;let n=(r+l)/2;switch(r){case e:n=(t-a)/s+(t<a?6:0);break;case t:n=(a-e)/s+2;break;case a:n=(e-t)/s+4;break}return Math.round(n*60)}function C(i){return x(z(i))}var F=f`:host{display:inline-block;overflow:hidden;border-radius:var(--calcite-avatar-corner-radius, 50%);color:var(--calcite-avatar-color, var(--calcite-color-text-2))}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:var(--calcite-avatar-corner-radius, 50%)}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase}.thumbnail{block-size:100%;inline-size:100%;border-radius:var(--calcite-avatar-corner-radius, 50%)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends g{constructor(){super(...arguments),this.thumbnailFailedToLoad=!1,this.scale="m"}static{this.properties={thumbnailFailedToLoad:16,fullName:3,label:1,scale:3,thumbnail:3,userId:3,username:3}}static{this.styles=F}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return o`<img alt=${(this.label||"")??h} class=${c(u.thumbnail)} @error=${()=>this.thumbnailFailedToLoad=!0} src=${this.thumbnail??h}>`;let e=this.generateInitials(),t=this.generateFillColor();return o`<span .ariaLabel=${this.label||this.fullName} class=${c(u.background)} role=figure style=${p({backgroundColor:t})}>${e?o`<span aria-hidden=true class=${c(u.initials)}>${e}</span>`:o`<calcite-icon class=${c(u.icon)} icon=user .scale=${this.scale}></calcite-icon>`}</span>`}generateFillColor(){let{userId:e,username:t,fullName:a,el:r}=this,l=k(r),s=e&&`#${e.substr(e.length-6)}`,n=t||a||"",b=s&&m(s)?s:$(n);return!e&&!n||!m(b)?"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))":`var(--calcite-avatar-background-color, hsl(${C(b)}, 60%, ${l==="dark"?20:90}%))`}generateInitials(){let{fullName:e,username:t}=this;return e?e.trim().split(" ").map(a=>a.substring(0,1)).join(""):t?t.substring(0,2):!1}render(){return this.determineContent()}};v("calcite-avatar",d);export{d as Avatar};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
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};
3
+ v3.1.0-next.0 */
4
+ import{a as w,b}from"./RAA7AM6M.js";import{a as n,b as c}from"./WACTC6C2.js";import{l as p}from"./FE2QRVI7.js";import{b as h}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{J as r,e as s,f as e,w as i,x as l,z as d}from"./IPEYLL4T.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};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{G as i}from"./KVSCG5E3.js";function a(e,n,o){if(!i())return;let t=c(e);return new t(n,o)}function c(e){class n extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,r){return this.observedEntry.push({target:t,options:r}),super.observe(t,r)}unobserve(t){let r=this.observedEntry.filter(s=>s.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),r.forEach(s=>this.observe(s.target,s.options))}}return function(){return e==="intersection"?window.IntersectionObserver:e==="mutation"?n:window.ResizeObserver}()}export{a};
3
+ v3.1.0-next.0 */
4
+ import{G as i}from"./IPEYLL4T.js";function a(e,n,o){if(!i())return;let t=c(e);return new t(n,o)}function c(e){class n extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,r){return this.observedEntry.push({target:t,options:r}),super.observe(t,r)}unobserve(t){let r=this.observedEntry.filter(s=>s.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),r.forEach(s=>this.observe(s.target,s.options))}}return function(){return e==="intersection"?window.IntersectionObserver:e==="mutation"?n:window.ResizeObserver}()}export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{k as m}from"./KBDXI6DJ.js";import{c as g}from"./3IV6JSC2.js";import"./KW57BHXD.js";import"./UELGJSYH.js";import{a as I}from"./ARHYATTG.js";import{a as b,b as d}from"./QU33PBBI.js";import{H as A,J as E,e as C,f as o,j as z,k as x,v as u,w as T,x as c}from"./KVSCG5E3.js";var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},w={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},L=C`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.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}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends T{constructor(){super(),this.paginationEl=b(),this.tableBodySlotEl=b(),this.tableFootSlotEl=b(),this.tableHeadSlotEl=b(),this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.bordered=!1,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.messages=I({blocking:!0}),this.numbered=!1,this.pageSize=0,this.scale="m",this._selectedItems=[],this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=u({cancelable:!1}),this.calciteTablePageChange=u({cancelable:!1}),this.calciteTableSelect=u({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:16,pageStartRow:16,readCellContentsToAT:16,selectedCount:16,bordered:7,caption:1,groupSeparator:7,interactionMode:3,layout:3,messageOverrides:0,numbered:7,numberingSystem:3,pageSize:11,scale:3,selectedItems:32,_selectedItems:16,selectionDisplay:3,selectionMode:3,striped:7}}static{this.styles=L}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(A()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}loaded(){}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.updateSelectedItems(!1)}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,a=e.detail.destination,h=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),l=this.allRows?.filter(p=>!g(p)),S=this.headRows[this.headRows.length-1]?.positionAll,R=t[0]?.positionAll,y=t[t.length-1]?.positionAll,$=this.footRows[0]?.positionAll,M=l[l.length-1]?.positionAll,F=a==="next"&&s===S,k=a==="previous"&&s===$,P=a==="previous"&&s===R,H=a==="next"&&s===y,r;switch(a){case"first":r=0;break;case"last":r=M;break;case"next":r=F?R:H?$:s+1;break;case"previous":r=k?y:P?S:s-1;break}let v=this.allRows?.find(p=>p.positionAll===r)?.cellCount,O=i>v?v:i;r!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:O,rowPosition:r,destination:a,lastCell:h})}getSlottedRows(e){return e?.assignedElements({flatten:!0})?.filter(i=>i?.matches("calcite-table-row"))}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotEl.value)||[],i=this.getSlottedRows(this.tableBodySlotEl.value)||[],s=this.getSlottedRows(this.tableFootSlotEl.value)||[],a=[...e,...i,...s];e?.forEach(t=>{let l=e?.indexOf(t);t.rowType="head",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),i?.forEach(t=>{let l=i?.indexOf(t);t.rowType="body",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),s?.forEach(t=>{let l=s?.indexOf(t);t.rowType="foot",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),a?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let h=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=h,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=a,this.updateSelectedItems(),this.paginateRows()}handlePaginationChange(){let e=this.paginationEl.value?.startItem;this.pageStartRow=e||1,this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,s=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=e===i?!i.selected:this.selectionMode==="multiple"?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return m.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},m.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(h=>g(h))?.length,i=this.localizeNumber(e?.toString()),s=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,a=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${s} .scale=${this.scale} .value=${s}>${s}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${a} .scale=${this.scale} title=${a??z} .value=${a}>${i}</calcite-chip>`||""}${this.selectedCount>0&&o`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${s} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${w.selectionActions}></slot></div></div>`}renderPaginationArea(){return o`<div class=${c(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${d(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${w.tableHeader} ${d(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${d(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${w.tableFooter} ${d(this.tableFootSlotEl)}></slot></tfoot>`}render(){return o`<div class=${c(n.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${c({[n.bordered]:this.bordered,[n.striped]:this.striped,[n.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":null} .ariaRowCount=${this.allRows?.length} class=${c({[n.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${d(e=>{e&&x(o`<caption class=${c(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};E("calcite-table",f);export{f as Table};
3
+ v3.1.0-next.0 */
4
+ import{k as m}from"./6I7N4DJM.js";import{c as g}from"./WQI63ENU.js";import"./RSMRASRN.js";import"./YSGHAVSA.js";import{a as I}from"./MYKRE5QO.js";import{a as b,b as d}from"./WACTC6C2.js";import{H as A,J as E,e as C,f as o,j as z,k as x,v as u,w as T,x as c}from"./IPEYLL4T.js";var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},w={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},L=C`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.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}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends T{constructor(){super(),this.paginationEl=b(),this.tableBodySlotEl=b(),this.tableFootSlotEl=b(),this.tableHeadSlotEl=b(),this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.bordered=!1,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.messages=I({blocking:!0}),this.numbered=!1,this.pageSize=0,this.scale="m",this._selectedItems=[],this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=u({cancelable:!1}),this.calciteTablePageChange=u({cancelable:!1}),this.calciteTableSelect=u({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:16,pageStartRow:16,readCellContentsToAT:16,selectedCount:16,bordered:7,caption:1,groupSeparator:7,interactionMode:3,layout:3,messageOverrides:0,numbered:7,numberingSystem:3,pageSize:11,scale:3,selectedItems:32,_selectedItems:16,selectionDisplay:3,selectionMode:3,striped:7}}static{this.styles=L}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(A()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}loaded(){}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.updateSelectedItems(!1)}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,a=e.detail.destination,h=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),l=this.allRows?.filter(p=>!g(p)),S=this.headRows[this.headRows.length-1]?.positionAll,R=t[0]?.positionAll,y=t[t.length-1]?.positionAll,$=this.footRows[0]?.positionAll,M=l[l.length-1]?.positionAll,F=a==="next"&&s===S,k=a==="previous"&&s===$,P=a==="previous"&&s===R,H=a==="next"&&s===y,r;switch(a){case"first":r=0;break;case"last":r=M;break;case"next":r=F?R:H?$:s+1;break;case"previous":r=k?y:P?S:s-1;break}let v=this.allRows?.find(p=>p.positionAll===r)?.cellCount,O=i>v?v:i;r!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:O,rowPosition:r,destination:a,lastCell:h})}getSlottedRows(e){return e?.assignedElements({flatten:!0})?.filter(i=>i?.matches("calcite-table-row"))}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotEl.value)||[],i=this.getSlottedRows(this.tableBodySlotEl.value)||[],s=this.getSlottedRows(this.tableFootSlotEl.value)||[],a=[...e,...i,...s];e?.forEach(t=>{let l=e?.indexOf(t);t.rowType="head",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),i?.forEach(t=>{let l=i?.indexOf(t);t.rowType="body",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),s?.forEach(t=>{let l=s?.indexOf(t);t.rowType="foot",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),a?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let h=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=h,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=a,this.updateSelectedItems(),this.paginateRows()}handlePaginationChange(){let e=this.paginationEl.value?.startItem;this.pageStartRow=e||1,this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,s=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=e===i?!i.selected:this.selectionMode==="multiple"?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return m.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},m.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(h=>g(h))?.length,i=this.localizeNumber(e?.toString()),s=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,a=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${s} .scale=${this.scale} .value=${s}>${s}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${a} .scale=${this.scale} title=${a??z} .value=${a}>${i}</calcite-chip>`||""}${this.selectedCount>0&&o`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${s} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${w.selectionActions}></slot></div></div>`}renderPaginationArea(){return o`<div class=${c(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${d(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${w.tableHeader} ${d(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${d(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${w.tableFooter} ${d(this.tableFootSlotEl)}></slot></tfoot>`}render(){return o`<div class=${c(n.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${c({[n.bordered]:this.bordered,[n.striped]:this.striped,[n.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":null} .ariaRowCount=${this.allRows?.length} class=${c({[n.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${d(e=>{e&&x(o`<caption class=${c(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};E("calcite-table",f);export{f as Table};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{f as i,x as o}from"./KVSCG5E3.js";function l(){let{disabled:t}=this;t||HTMLElement.prototype.click.call(this)}function a(t){t.target.disabled&&t.preventDefault()}var r=["mousedown","mouseup","click"];function c(t){t.target.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}var n={capture:!0};function b(t){if(t.disabled){t.el.setAttribute("aria-disabled","true"),t.el.contains(document.activeElement)&&document.activeElement.blur(),s(t);return}u(t),t.el.removeAttribute("aria-disabled")}function s(t){t.el.click=l,d(t.el)}function d(t){t.addEventListener("pointerdown",a,n),r.forEach(e=>t.addEventListener(e,c,n))}function u(t){delete t.el.click,m(t.el)}function m(t){t.removeEventListener("pointerdown",a,n),r.forEach(e=>t.removeEventListener(e,c,n))}var f={container:"interaction-container"},E=({children:t,disabled:e})=>i`<div class=${o(f.container)} .inert=${e}>${t}</div>`;export{b as a,E as b};
3
+ v3.1.0-next.0 */
4
+ import{f as i,x as o}from"./IPEYLL4T.js";function l(){let{disabled:t}=this;t||HTMLElement.prototype.click.call(this)}function a(t){t.target.disabled&&t.preventDefault()}var r=["mousedown","mouseup","click"];function c(t){t.target.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}var n={capture:!0};function b(t){if(t.disabled){t.el.setAttribute("aria-disabled","true"),t.el.contains(document.activeElement)&&document.activeElement.blur(),s(t);return}u(t),t.el.removeAttribute("aria-disabled")}function s(t){t.el.click=l,d(t.el)}function d(t){t.addEventListener("pointerdown",a,n),r.forEach(e=>t.addEventListener(e,c,n))}function u(t){delete t.el.click,m(t.el)}function m(t){t.removeEventListener("pointerdown",a,n),r.forEach(e=>t.removeEventListener(e,c,n))}var f={container:"interaction-container"},E=({children:t,disabled:e})=>i`<div class=${o(f.container)} .inert=${e}>${t}</div>`;export{b as a,E as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as z}from"./N2BVYYYP.js";import{c as O,e as R,h as E}from"./DTL2LM6T.js";import{c as M,d as F}from"./G3LH75CQ.js";import{a as L,b as I}from"./LOZEGKG2.js";import{a as C}from"./ARHYATTG.js";import{n as x}from"./CMO3X257.js";import{b as V}from"./GN5CPLSJ.js";import{a as w}from"./I2OIH73C.js";import{B as $,J as k,e as g,f as s,u as m,v as b,w as f,x as u,y,z as l}from"./KVSCG5E3.js";var P=({full:p,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${p?"star-f":"star"} .scale=${e}></calcite-icon>`,D={validationMessage:"validationMessage"},q=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-internal-rating-spacing: .25rem}:host([scale=m]){block-size:2rem;--calcite-internal-rating-spacing: .5rem}:host([scale=l]){block-size:2.75rem;--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star: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))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color-hover, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{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}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends f{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${w()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=C({blocking:!0}),this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteRatingChange=b({cancelable:!1}),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:16,average:11,count:11,disabled:7,form:3,messageOverrides:0,name:3,readOnly:7,required:7,scale:3,showChip:7,status:3,validationIcon:[3,{converter:$}],validationMessage:1,validity:0,value:11}}static{this.styles=q}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(){await V(this),x(this.el)}connectedCallback(){super.connectedCallback(),M(this),O(this)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=!this.hoverValue&&this.average&&!this.value&&a<=this.average,h=a===this.value,n=this.average&&this.average+1-a,r=a<=this.hoverValue,c=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!r&&n>0&&n<1,d=this.value>=a,K=this.getTabIndex(a);return{average:i,checked:h,fraction:n,hovered:r,id:c,partial:o,selected:d,value:a,tabIndex:K}})}updated(){L(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}disconnectedCallback(){super.disconnectedCallback(),F(this),R(this)}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=null}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?void 0:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=null;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return I({disabled:this.disabled,children:s`<span class="wrapper"><fieldset class="fieldset" .disabled=${this.disabled}><legend class="visually-hidden">${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:h,id:n,partial:r,selected:c,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:c,hovered:h,average:t,partial:r})} data-value=${o??l} for=${n??l} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??l}><input aria-errormessage=${D.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??l} name=${this.guid??l} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${P({full:c||t,scale:this.scale})}${r&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${P({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class="visually-hidden">${this.messages.stars.replace("{num}",`${o}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?s`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&s`<span class="number--average">${this.average.toString()}</span>`||""}${!!this.count&&s`<span class="number--count">(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${E({component:this})}${this.validationMessage&&this.status==="invalid"?z({icon:this.validationIcon,id:D.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",v);export{v as Rating};
3
+ v3.1.0-next.0 */
4
+ import{a as z}from"./UFYDUU52.js";import{c as O,e as R,h as E}from"./YYWIZXXK.js";import{c as M,d as F}from"./BAWLIDLU.js";import{a as L,b as I}from"./RAA7AM6M.js";import{a as C}from"./MYKRE5QO.js";import{n as x}from"./FE2QRVI7.js";import{b as V}from"./7VOKVNOX.js";import{a as w}from"./7LGBDOYP.js";import{B as $,J as k,e as g,f as s,u as m,v as b,w as f,x as u,y,z as l}from"./IPEYLL4T.js";var P=({full:p,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${p?"star-f":"star"} .scale=${e}></calcite-icon>`,D={validationMessage:"validationMessage"},q=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-internal-rating-spacing: .25rem}:host([scale=m]){block-size:2rem;--calcite-internal-rating-spacing: .5rem}:host([scale=l]){block-size:2.75rem;--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star: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))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color-hover, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{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}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends f{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${w()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=C({blocking:!0}),this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteRatingChange=b({cancelable:!1}),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:16,average:11,count:11,disabled:7,form:3,messageOverrides:0,name:3,readOnly:7,required:7,scale:3,showChip:7,status:3,validationIcon:[3,{converter:$}],validationMessage:1,validity:0,value:11}}static{this.styles=q}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(){await V(this),x(this.el)}connectedCallback(){super.connectedCallback(),M(this),O(this)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=!this.hoverValue&&this.average&&!this.value&&a<=this.average,h=a===this.value,n=this.average&&this.average+1-a,r=a<=this.hoverValue,c=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!r&&n>0&&n<1,d=this.value>=a,K=this.getTabIndex(a);return{average:i,checked:h,fraction:n,hovered:r,id:c,partial:o,selected:d,value:a,tabIndex:K}})}updated(){L(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}disconnectedCallback(){super.disconnectedCallback(),F(this),R(this)}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=null}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?void 0:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=null;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return I({disabled:this.disabled,children:s`<span class="wrapper"><fieldset class="fieldset" .disabled=${this.disabled}><legend class="visually-hidden">${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:h,id:n,partial:r,selected:c,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:c,hovered:h,average:t,partial:r})} data-value=${o??l} for=${n??l} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??l}><input aria-errormessage=${D.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??l} name=${this.guid??l} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${P({full:c||t,scale:this.scale})}${r&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${P({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class="visually-hidden">${this.messages.stars.replace("{num}",`${o}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?s`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&s`<span class="number--average">${this.average.toString()}</span>`||""}${!!this.count&&s`<span class="number--count">(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${E({component:this})}${this.validationMessage&&this.status==="invalid"?z({icon:this.validationIcon,id:D.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",v);export{v as Rating};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{c as z,e as A,h as E}from"./DTL2LM6T.js";import{c as C,d as R,e as I}from"./G3LH75CQ.js";import{a as w,b as B}from"./LOZEGKG2.js";import{a as d}from"./SBZ6VJ75.js";import{b as v}from"./QU33PBBI.js";import{e as x,l as g}from"./CMO3X257.js";import{b as y}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as k,e as u,f as p,j as b,v as a,w as f,x as m}from"./KVSCG5E3.js";var q={container:"container"},F=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{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{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([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size: var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size: var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size: var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,l=class extends f{constructor(){super(),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.calciteInternalRadioButtonBlur=a({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=a({cancelable:!1}),this.calciteInternalRadioButtonFocus=a({cancelable:!1}),this.calciteRadioButtonChange=a({cancelable:!1}),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:7,disabled:7,focused:7,form:3,hovered:7,label:1,name:3,required:7,scale:3,value:1}}static{this.styles=F}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(){await y(this),this.disabled||g(this.containerEl)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),C(this),z(this),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}load(){}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}updated(){w(this)}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),R(this),A(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}syncHiddenFormInput(e){e.type="radio"}selectItem(e,o){e[o].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),o=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return o===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let o=e.currentTarget,t=o.for?this.rootNode.querySelector(`calcite-radio-button[id="${o.for}"]`):o.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let e=this.queryButtons().filter(o=>o.checked);if(e?.length>1){let o=e[e.length-1];e.filter(t=>t!==o).forEach(t=>{t.checked=!1,t.emitCheckedChange()})}}setContainerEl(e){this.containerEl=e}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach(e=>{e.checked&&(e.checked=!1,e.focused=!1)})}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(e=>e!==this.el).forEach(e=>{e.checked&&(e.checked=!1,e.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(e=>e!==this.el&&!e.disabled).forEach(e=>{e.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let o=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e,{el:i}=this;if(o.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let c=t;x(i)==="rtl"&&(t==="ArrowRight"&&(c="ArrowLeft"),t==="ArrowLeft"&&(c="ArrowRight"));let s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(n=>n.name===this.name),r=0,h=s.length;switch(s.some((n,L)=>{if(n.checked)return r=L,!0}),c){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(s,d(Math.max(r-1,-1),h));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(s,d(r+1,h));return;default:return}}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return B({disabled:this.disabled,children:p`<div .ariaChecked=${this.checked} .ariaLabel=${I(this)} class=${m(q.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??b} ${v(this.setContainerEl)}><div class="radio"></div></div>${E({component:this})}`})}};k("calcite-radio-button",l);export{l as RadioButton};
3
+ v3.1.0-next.0 */
4
+ import{c as z,e as A,h as E}from"./YYWIZXXK.js";import{c as C,d as R,e as I}from"./BAWLIDLU.js";import{a as w,b as B}from"./RAA7AM6M.js";import{a as d}from"./KLBMM5PO.js";import{b as v}from"./WACTC6C2.js";import{e as x,l as g}from"./FE2QRVI7.js";import{b as y}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{J as k,e as u,f as p,j as b,v as a,w as f,x as m}from"./IPEYLL4T.js";var q={container:"container"},F=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{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{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([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size: var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size: var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size: var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,l=class extends f{constructor(){super(),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.calciteInternalRadioButtonBlur=a({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=a({cancelable:!1}),this.calciteInternalRadioButtonFocus=a({cancelable:!1}),this.calciteRadioButtonChange=a({cancelable:!1}),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:7,disabled:7,focused:7,form:3,hovered:7,label:1,name:3,required:7,scale:3,value:1}}static{this.styles=F}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(){await y(this),this.disabled||g(this.containerEl)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),C(this),z(this),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}load(){}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}updated(){w(this)}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),R(this),A(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}syncHiddenFormInput(e){e.type="radio"}selectItem(e,o){e[o].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),o=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return o===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let o=e.currentTarget,t=o.for?this.rootNode.querySelector(`calcite-radio-button[id="${o.for}"]`):o.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let e=this.queryButtons().filter(o=>o.checked);if(e?.length>1){let o=e[e.length-1];e.filter(t=>t!==o).forEach(t=>{t.checked=!1,t.emitCheckedChange()})}}setContainerEl(e){this.containerEl=e}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach(e=>{e.checked&&(e.checked=!1,e.focused=!1)})}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(e=>e!==this.el).forEach(e=>{e.checked&&(e.checked=!1,e.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(e=>e!==this.el&&!e.disabled).forEach(e=>{e.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let o=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e,{el:i}=this;if(o.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let c=t;x(i)==="rtl"&&(t==="ArrowRight"&&(c="ArrowLeft"),t==="ArrowLeft"&&(c="ArrowRight"));let s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(n=>n.name===this.name),r=0,h=s.length;switch(s.some((n,L)=>{if(n.checked)return r=L,!0}),c){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(s,d(Math.max(r-1,-1),h));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(s,d(r+1,h));return;default:return}}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return B({disabled:this.disabled,children:p`<div .ariaChecked=${this.checked} .ariaLabel=${I(this)} class=${m(q.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??b} ${v(this.setContainerEl)}><div class="radio"></div></div>${E({component:this})}`})}};k("calcite-radio-button",l);export{l as RadioButton};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
3
+ v3.1.0-next.0 */
4
4
  var p="24px",x="32px",a="44px",s="48px";export{p as a,x as b,a as c,s as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as d,b as g}from"./QU33PBBI.js";import{u as n}from"./CMO3X257.js";import{b as y}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as h,e as l,f as i,v as c,w as m,x as o}from"./KVSCG5E3.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},S={hamburger:"hamburger"},v=l`:host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-navigation-background, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary,.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=d(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:16,navigationActionSlotHasElements:16,primaryContentCenterSlotHasElements:16,primaryContentEndSlotHasElements:16,primaryContentStartSlotHasElements:16,progressSlotHasElement:16,secondarySlotHasElements:16,tertiarySlotHasElements:16,userSlotHasElements:16,label:1,navigationAction:7}}static{this.styles=v}async setFocus(){return await y(this),this.navigationActionEl.value?.setFocus()}load(){}loaded(){}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}renderMenuAction(){return i`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&i`<calcite-action .icon=${S.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${g(this.navigationActionEl)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,r=this.el.slot;return i`<div class=${o({[a.container]:!0,[a.secondary]:r===e.navSecondary,[a.tertiary]:r===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};h("calcite-navigation",s);export{s as Navigation};
3
+ v3.1.0-next.0 */
4
+ import{a as d,b as g}from"./WACTC6C2.js";import{u as n}from"./FE2QRVI7.js";import{b as y}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{J as h,e as l,f as i,v as c,w as m,x as o}from"./IPEYLL4T.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},S={hamburger:"hamburger"},v=l`:host([hidden]){display:none}[hidden]{display:none}.container{display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-navigation-background, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary,.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=d(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:16,navigationActionSlotHasElements:16,primaryContentCenterSlotHasElements:16,primaryContentEndSlotHasElements:16,primaryContentStartSlotHasElements:16,progressSlotHasElement:16,secondarySlotHasElements:16,tertiarySlotHasElements:16,userSlotHasElements:16,label:1,navigationAction:7}}static{this.styles=v}async setFocus(){return await y(this),this.navigationActionEl.value?.setFocus()}load(){}loaded(){}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}renderMenuAction(){return i`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&i`<calcite-action .icon=${S.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${g(this.navigationActionEl)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,r=this.el.slot;return i`<div class=${o({[a.container]:!0,[a.secondary]:r===e.navSecondary,[a.tertiary]:r===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};h("calcite-navigation",s);export{s as Navigation};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{F as d}from"./KVSCG5E3.js";var f=new Set,u={trace:0,debug:1,info:2,warn:4,error:8,off:10};function $(r){return u[r]>=u[d]}function e(r,...t){$(r)&&console[r].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}var o,w={debug:r=>e("debug",r),info:r=>e("info",r),warn:r=>e("warn",r),error:r=>e("error",r),trace:r=>e("trace",r),deprecated:m};function m(r,{component:t,name:a,suggested:n,removalVersion:c}){let s=`${r}:${r==="component"?"":t}${a}`;if(f.has(s))return;f.add(s);let i=Array.isArray(n);i&&!o&&(o=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let l=`[${a}] ${r} is deprecated and will be removed in ${c==="future"?"a future version":`v${c}`}.${n?` Use ${i?o.format(n.map(p=>`"${p}"`)):`"${n}"`} instead.`:""}`;e("warn",l)}export{w as a};
3
+ v3.1.0-next.0 */
4
+ import{F as d}from"./IPEYLL4T.js";var f=new Set,u={trace:0,debug:1,info:2,warn:4,error:8,off:10};function $(r){return u[r]>=u[d]}function e(r,...t){$(r)&&console[r].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}var o,w={debug:r=>e("debug",r),info:r=>e("info",r),warn:r=>e("warn",r),error:r=>e("error",r),trace:r=>e("trace",r),deprecated:m};function m(r,{component:t,name:a,suggested:n,removalVersion:c}){let s=`${r}:${r==="component"?"":t}${a}`;if(f.has(s))return;f.add(s);let i=Array.isArray(n);i&&!o&&(o=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let l=`[${a}] ${r} is deprecated and will be removed in ${c==="future"?"a future version":`v${c}`}.${n?` Use ${i?o.format(n.map(p=>`"${p}"`)):`"${n}"`} instead.`:""}`;e("warn",l)}export{w as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
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 e={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010Detvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._\u010Det._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),ordinal:function(a){return a},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"}};_.locale(e,null,!0);var o=e;export{o as default};
3
+ v3.1.0-next.0 */
4
+ import{b as _}from"./A77PTXQI.js";import"./AFBGRNF3.js";var e={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010Detvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._\u010Det._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),ordinal:function(a){return a},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"}};_.locale(e,null,!0);var o=e;export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
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};
3
+ v3.1.0-next.0 */
4
+ import{b as o,c as r}from"./NKVV542U.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};