@esri/calcite-components 3.2.0-next.39 → 3.2.0-next.40

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 (655) hide show
  1. package/dist/calcite/{VGUJWIE3.js → 2AURSSBW.js} +2 -2
  2. package/dist/calcite/{3RVJJX2U.js.LEGAL.txt → 2AURSSBW.js.LEGAL.txt} +1 -1
  3. package/dist/calcite/{QJMY6HK4.js → 2BKMHEEV.js} +2 -2
  4. package/dist/calcite/{24OTRUCC.js.LEGAL.txt → 2BKMHEEV.js.LEGAL.txt} +1 -1
  5. package/dist/calcite/{ZMFN7VKF.js → 2O44LJYG.js} +2 -2
  6. package/dist/calcite/{372T7EBW.js.LEGAL.txt → 2O44LJYG.js.LEGAL.txt} +1 -1
  7. package/dist/calcite/{372T7EBW.js → 2OKWW5QW.js} +2 -2
  8. package/dist/calcite/{2DKPKQXG.js.LEGAL.txt → 2OKWW5QW.js.LEGAL.txt} +1 -1
  9. package/dist/calcite/{RN6G4AJW.js → 33VZVMEQ.js} +2 -2
  10. package/dist/calcite/33VZVMEQ.js.LEGAL.txt +3 -0
  11. package/dist/calcite/{G77XQIMX.js → 34H6VHCP.js} +2 -2
  12. package/dist/calcite/34H6VHCP.js.LEGAL.txt +3 -0
  13. package/dist/calcite/{RLN7DR35.js → 3BX3JALR.js} +2 -2
  14. package/dist/calcite/3BX3JALR.js.LEGAL.txt +3 -0
  15. package/dist/calcite/{3RVJJX2U.js → 3KAKFW27.js} +2 -2
  16. package/dist/calcite/3KAKFW27.js.LEGAL.txt +3 -0
  17. package/dist/calcite/{P2XP2NHT.js → 3NKYZGOY.js} +2 -2
  18. package/dist/calcite/3NKYZGOY.js.LEGAL.txt +3 -0
  19. package/dist/calcite/{TYKK4ZDP.js → 3OLDLPGW.js} +2 -2
  20. package/dist/calcite/3OLDLPGW.js.LEGAL.txt +3 -0
  21. package/dist/calcite/{IRUMOVZZ.js → 3ZC35IU6.js} +2 -2
  22. package/dist/calcite/3ZC35IU6.js.LEGAL.txt +3 -0
  23. package/dist/calcite/{GS3X5VRZ.js → 3ZHVUAGO.js} +2 -2
  24. package/dist/calcite/3ZHVUAGO.js.LEGAL.txt +3 -0
  25. package/dist/calcite/{NYCLULH3.js → 3ZI3PBLD.js} +2 -2
  26. package/dist/calcite/3ZI3PBLD.js.LEGAL.txt +3 -0
  27. package/dist/calcite/{MR5UPVPG.js → 47SZGRLH.js} +2 -2
  28. package/dist/calcite/47SZGRLH.js.LEGAL.txt +3 -0
  29. package/dist/calcite/{LLN5DNPL.js → 4JEZM6VX.js} +2 -2
  30. package/dist/calcite/{LLN5DNPL.js.LEGAL.txt → 4JEZM6VX.js.LEGAL.txt} +1 -1
  31. package/dist/calcite/{3VLVDWSS.js → 4KFIUD2B.js} +2 -2
  32. package/dist/calcite/4KFIUD2B.js.LEGAL.txt +3 -0
  33. package/dist/calcite/4MQEUWEH.js +4 -0
  34. package/dist/calcite/4MQEUWEH.js.LEGAL.txt +3 -0
  35. package/dist/calcite/{P6C3W6FL.js → 4PDCFLEI.js} +2 -2
  36. package/dist/calcite/4PDCFLEI.js.LEGAL.txt +3 -0
  37. package/dist/calcite/{NCWK6WJU.js → 4S5MMRKY.js} +2 -2
  38. package/dist/calcite/4S5MMRKY.js.LEGAL.txt +3 -0
  39. package/dist/calcite/{62GP7Q7R.js → 4YKPRILU.js} +2 -2
  40. package/dist/calcite/4YKPRILU.js.LEGAL.txt +3 -0
  41. package/dist/calcite/{I4FISWDK.js → 5K3GZOWW.js} +2 -2
  42. package/dist/calcite/5K3GZOWW.js.LEGAL.txt +3 -0
  43. package/dist/calcite/{W7YWLFKG.js → 5NQUZRDM.js} +2 -2
  44. package/dist/calcite/{5T2FJWUW.js → 5SSKMKFV.js} +2 -2
  45. package/dist/calcite/5SSKMKFV.js.LEGAL.txt +3 -0
  46. package/dist/calcite/{F4S6EXX6.js → 5ZKH6XNV.js} +2 -2
  47. package/dist/calcite/5ZKH6XNV.js.LEGAL.txt +3 -0
  48. package/dist/calcite/{R7U5O4YW.js → 64F6FSTF.js} +2 -2
  49. package/dist/calcite/64F6FSTF.js.LEGAL.txt +3 -0
  50. package/dist/calcite/{PYM6655A.js → 67QAOXDX.js} +1 -1
  51. package/dist/calcite/67QAOXDX.js.LEGAL.txt +3 -0
  52. package/dist/calcite/{CVQXSZEH.js → 6AW4GRQ4.js} +2 -2
  53. package/dist/calcite/6AW4GRQ4.js.LEGAL.txt +3 -0
  54. package/dist/calcite/{R3CUJDU2.js → 6DCGXB5R.js} +1 -1
  55. package/dist/calcite/6DCGXB5R.js.LEGAL.txt +3 -0
  56. package/dist/calcite/{A4XLCDLZ.js → 6GM27GBO.js} +2 -2
  57. package/dist/calcite/{SQNNHAAG.js → 6HPPO7XW.js} +2 -2
  58. package/dist/calcite/6HPPO7XW.js.LEGAL.txt +3 -0
  59. package/dist/calcite/{HBU463EW.js → 6JABLZT7.js} +2 -2
  60. package/dist/calcite/6JABLZT7.js.LEGAL.txt +3 -0
  61. package/dist/calcite/{U2YGN4RT.js → 6P5PSH65.js} +2 -2
  62. package/dist/calcite/{AXBOTO3S.js → 6RISBQOV.js} +2 -2
  63. package/dist/calcite/6RISBQOV.js.LEGAL.txt +3 -0
  64. package/dist/calcite/{XQSZJ5CG.js → 6Z2B5YPT.js} +1 -1
  65. package/dist/calcite/6Z2B5YPT.js.LEGAL.txt +3 -0
  66. package/dist/calcite/{24OTRUCC.js → 7EKOSZOZ.js} +2 -2
  67. package/dist/calcite/7EKOSZOZ.js.LEGAL.txt +3 -0
  68. package/dist/calcite/{Y5A3EQS4.js → A7N7QSFD.js} +2 -2
  69. package/dist/calcite/A7N7QSFD.js.LEGAL.txt +3 -0
  70. package/dist/calcite/{PENLWMB3.js → AB6ORITE.js} +2 -2
  71. package/dist/calcite/AB6ORITE.js.LEGAL.txt +3 -0
  72. package/dist/calcite/{NDM46TRI.js → AECWOUVE.js} +2 -2
  73. package/dist/calcite/AECWOUVE.js.LEGAL.txt +3 -0
  74. package/dist/calcite/{TGV7EMNU.js → AFEKH67J.js} +2 -2
  75. package/dist/calcite/AFEKH67J.js.LEGAL.txt +3 -0
  76. package/dist/calcite/{H3WIGFJO.js → ALA3CMPJ.js} +2 -2
  77. package/dist/calcite/ALA3CMPJ.js.LEGAL.txt +3 -0
  78. package/dist/calcite/{MUFGKP4E.js → AZTNUW5Z.js} +2 -2
  79. package/dist/calcite/AZTNUW5Z.js.LEGAL.txt +3 -0
  80. package/dist/calcite/C5B5QVOZ.js +4 -0
  81. package/dist/calcite/C5B5QVOZ.js.LEGAL.txt +3 -0
  82. package/dist/calcite/{6M254VM3.js → CFP3CIBH.js} +2 -2
  83. package/dist/calcite/CFP3CIBH.js.LEGAL.txt +3 -0
  84. package/dist/calcite/{LWUNC2OP.js → CY4HMEXM.js} +2 -2
  85. package/dist/calcite/CY4HMEXM.js.LEGAL.txt +3 -0
  86. package/dist/calcite/{BXNTEQDG.js → D33THSDQ.js} +2 -2
  87. package/dist/calcite/D33THSDQ.js.LEGAL.txt +3 -0
  88. package/dist/calcite/{4M5YF4UK.js → D5ORTJBP.js} +2 -2
  89. package/dist/calcite/D5ORTJBP.js.LEGAL.txt +3 -0
  90. package/dist/calcite/{BXRLVWOE.js → D5WOJOBP.js} +2 -2
  91. package/dist/calcite/D5WOJOBP.js.LEGAL.txt +3 -0
  92. package/dist/calcite/{4PC2H3SA.js → DCCICHLE.js} +2 -2
  93. package/dist/calcite/DCCICHLE.js.LEGAL.txt +3 -0
  94. package/dist/calcite/{DACMF6M4.js → DJIDW3PH.js} +2 -2
  95. package/dist/calcite/DJIDW3PH.js.LEGAL.txt +3 -0
  96. package/dist/calcite/{2VN3YIDH.js → DNYNDPB5.js} +2 -2
  97. package/dist/calcite/{V6MACRDH.js → DXEUZNXM.js} +2 -2
  98. package/dist/calcite/DXEUZNXM.js.LEGAL.txt +3 -0
  99. package/dist/calcite/{MG5IOFW7.js → DYBMPADA.js} +2 -2
  100. package/dist/calcite/DYBMPADA.js.LEGAL.txt +3 -0
  101. package/dist/calcite/{5UJXO6ER.js → EQDBU7RM.js} +2 -2
  102. package/dist/calcite/EQDBU7RM.js.LEGAL.txt +3 -0
  103. package/dist/calcite/{MZMZSY5A.js → EYWRTO2E.js} +2 -2
  104. package/dist/calcite/{MZMZSY5A.js.LEGAL.txt → EYWRTO2E.js.LEGAL.txt} +1 -1
  105. package/dist/calcite/{JFS56TST.js → FCJNAEP5.js} +2 -2
  106. package/dist/calcite/FCJNAEP5.js.LEGAL.txt +3 -0
  107. package/dist/calcite/{Y2E6XYEE.js → FEMPCZLV.js} +1 -1
  108. package/dist/calcite/FEMPCZLV.js.LEGAL.txt +3 -0
  109. package/dist/calcite/{N63BZNBM.js → FFH3PE7I.js} +2 -2
  110. package/dist/calcite/FFH3PE7I.js.LEGAL.txt +3 -0
  111. package/dist/calcite/{4SZ573RT.js → FNJ5UP55.js} +2 -2
  112. package/dist/calcite/FNJ5UP55.js.LEGAL.txt +3 -0
  113. package/dist/calcite/{7T7MTXSU.js → FR4VAYJC.js} +2 -2
  114. package/dist/calcite/FR4VAYJC.js.LEGAL.txt +3 -0
  115. package/dist/calcite/{QRBR6VUO.js → G2KZHOPC.js} +2 -2
  116. package/dist/calcite/G2KZHOPC.js.LEGAL.txt +3 -0
  117. package/dist/calcite/{6VI66GV4.js → GC3D3FA4.js} +2 -2
  118. package/dist/calcite/GC3D3FA4.js.LEGAL.txt +3 -0
  119. package/dist/calcite/{LZ3V33XC.js → HNVOQW5F.js} +1 -1
  120. package/dist/calcite/HNVOQW5F.js.LEGAL.txt +3 -0
  121. package/dist/calcite/{RFI4KO6W.js → HPNQQK6A.js} +1 -1
  122. package/dist/calcite/{5Z4FPF7F.js → HVDZCSXZ.js} +2 -2
  123. package/dist/calcite/HVDZCSXZ.js.LEGAL.txt +3 -0
  124. package/dist/calcite/{NODTVZ24.js → IFSUY6OL.js} +2 -2
  125. package/dist/calcite/IFSUY6OL.js.LEGAL.txt +3 -0
  126. package/dist/calcite/{SEHADNF3.js → IS2XQRWJ.js} +2 -2
  127. package/dist/calcite/IS2XQRWJ.js.LEGAL.txt +3 -0
  128. package/dist/calcite/{HOEPFXY4.js → IYSVUD2W.js} +2 -2
  129. package/dist/calcite/IYSVUD2W.js.LEGAL.txt +3 -0
  130. package/dist/calcite/{TH2HXM2T.js → J6ZU5TTP.js} +1 -1
  131. package/dist/calcite/J6ZU5TTP.js.LEGAL.txt +3 -0
  132. package/dist/calcite/{XLQJWLJR.js → JGJKOHCP.js} +1 -1
  133. package/dist/calcite/JGJKOHCP.js.LEGAL.txt +3 -0
  134. package/dist/calcite/{JATMHESF.js → JQMONEIC.js} +1 -1
  135. package/dist/calcite/JQMONEIC.js.LEGAL.txt +3 -0
  136. package/dist/calcite/{QFOJGUH4.js → JSKDQQHO.js} +2 -2
  137. package/dist/calcite/JSKDQQHO.js.LEGAL.txt +3 -0
  138. package/dist/calcite/{R5NIHVIX.js → JTSQHJX5.js} +2 -2
  139. package/dist/calcite/JTSQHJX5.js.LEGAL.txt +3 -0
  140. package/dist/calcite/{C2KRQ7VY.js → K3HQETKI.js} +2 -2
  141. package/dist/calcite/K3HQETKI.js.LEGAL.txt +3 -0
  142. package/dist/calcite/{CLRL273B.js → K3RGRXZK.js} +2 -2
  143. package/dist/calcite/{AFFK5WSZ.js → K6GY2Q5E.js} +2 -2
  144. package/dist/calcite/K6GY2Q5E.js.LEGAL.txt +3 -0
  145. package/dist/calcite/{IWDYFFAM.js → KDX22TPR.js} +2 -2
  146. package/dist/calcite/{LAKJK7HL.js → KJQNKFEY.js} +2 -2
  147. package/dist/calcite/KJQNKFEY.js.LEGAL.txt +3 -0
  148. package/dist/calcite/{T3TLDID7.js → KKVVDKZZ.js} +2 -2
  149. package/dist/calcite/KKVVDKZZ.js.LEGAL.txt +3 -0
  150. package/dist/calcite/{4JL2EBN2.js → KMI5ODOO.js} +2 -2
  151. package/dist/calcite/KMI5ODOO.js.LEGAL.txt +3 -0
  152. package/dist/calcite/{DTAEBKT4.js → KOH7CJJ2.js} +2 -2
  153. package/dist/calcite/KOH7CJJ2.js.LEGAL.txt +3 -0
  154. package/dist/calcite/{HZH7HHAH.js → KTZK563F.js} +2 -2
  155. package/dist/calcite/{HZH7HHAH.js.LEGAL.txt → KTZK563F.js.LEGAL.txt} +1 -1
  156. package/dist/calcite/{DIWK757P.js → KV75A5OZ.js} +2 -2
  157. package/dist/calcite/KV75A5OZ.js.LEGAL.txt +3 -0
  158. package/dist/calcite/{ZS2B2AF5.js → LJFEVAGO.js} +2 -2
  159. package/dist/calcite/LJFEVAGO.js.LEGAL.txt +3 -0
  160. package/dist/calcite/{J5XEWZHE.js → LUAE2BNR.js} +2 -2
  161. package/dist/calcite/LUAE2BNR.js.LEGAL.txt +3 -0
  162. package/dist/calcite/{Z646UZFI.js → LWBS4ZDT.js} +1 -1
  163. package/dist/calcite/LWBS4ZDT.js.LEGAL.txt +3 -0
  164. package/dist/calcite/{HJQMJ3O5.js → M34FQPFC.js} +2 -2
  165. package/dist/calcite/M34FQPFC.js.LEGAL.txt +3 -0
  166. package/dist/calcite/{DIYHPDDJ.js → MEJBDF2X.js} +2 -2
  167. package/dist/calcite/MEJBDF2X.js.LEGAL.txt +3 -0
  168. package/dist/calcite/{46GRM4CE.js → MG6JYBW5.js} +2 -2
  169. package/dist/calcite/MG6JYBW5.js.LEGAL.txt +3 -0
  170. package/dist/calcite/{JDWLRXMB.js → MJ3BP4EF.js} +2 -2
  171. package/dist/calcite/MJ3BP4EF.js.LEGAL.txt +3 -0
  172. package/dist/calcite/{P2CTJE5E.js → MTSBROZ4.js} +2 -2
  173. package/dist/calcite/MTSBROZ4.js.LEGAL.txt +3 -0
  174. package/dist/calcite/{7QECW2E2.js → N73L76SJ.js} +2 -2
  175. package/dist/calcite/N73L76SJ.js.LEGAL.txt +3 -0
  176. package/dist/calcite/{D2KGWKKE.js → NA2X3DPJ.js} +2 -2
  177. package/dist/calcite/NA2X3DPJ.js.LEGAL.txt +3 -0
  178. package/dist/calcite/{CK2727PE.js → NAEQOQHY.js} +2 -2
  179. package/dist/calcite/NAEQOQHY.js.LEGAL.txt +3 -0
  180. package/dist/calcite/{UGDRDJPA.js → NNTVWBBP.js} +2 -2
  181. package/dist/calcite/{FQPVAT5F.js → NP2WVDB5.js} +2 -2
  182. package/dist/calcite/NP2WVDB5.js.LEGAL.txt +3 -0
  183. package/dist/calcite/{2DKPKQXG.js → NR2X3T5D.js} +2 -2
  184. package/dist/calcite/NR2X3T5D.js.LEGAL.txt +3 -0
  185. package/dist/calcite/{LIPUTT6N.js → NYF6T3OI.js} +2 -2
  186. package/dist/calcite/NYF6T3OI.js.LEGAL.txt +3 -0
  187. package/dist/calcite/{KFEMDYAO.js → O26R4TSO.js} +2 -2
  188. package/dist/calcite/{GL7DMV4S.js → O55ZI7N2.js} +2 -2
  189. package/dist/calcite/O55ZI7N2.js.LEGAL.txt +3 -0
  190. package/dist/calcite/{NH2FREQY.js → OKGB77L2.js} +2 -2
  191. package/dist/calcite/OKGB77L2.js.LEGAL.txt +3 -0
  192. package/dist/calcite/{Z6VHOIAN.js → ORK223LB.js} +2 -2
  193. package/dist/calcite/ORK223LB.js.LEGAL.txt +3 -0
  194. package/dist/calcite/{QJN3Y7KP.js → PB3OJ43M.js} +2 -2
  195. package/dist/calcite/PB3OJ43M.js.LEGAL.txt +3 -0
  196. package/dist/calcite/{EHEE5FVV.js → PHWXS446.js} +2 -2
  197. package/dist/calcite/PHWXS446.js.LEGAL.txt +3 -0
  198. package/dist/calcite/{MXQCR7YF.js → PIHPNMID.js} +2 -2
  199. package/dist/calcite/PIHPNMID.js.LEGAL.txt +3 -0
  200. package/dist/calcite/{KPX237YH.js → PIMY4FDR.js} +2 -2
  201. package/dist/calcite/PIMY4FDR.js.LEGAL.txt +3 -0
  202. package/dist/calcite/{GZUOSY5I.js → PNGIMH3C.js} +2 -2
  203. package/dist/calcite/{QVKJQIOF.js → PNO3AQXX.js} +1 -1
  204. package/dist/calcite/PNO3AQXX.js.LEGAL.txt +3 -0
  205. package/dist/calcite/{LI2EINF7.js → PP4TWNBJ.js} +2 -2
  206. package/dist/calcite/PP4TWNBJ.js.LEGAL.txt +3 -0
  207. package/dist/calcite/{7QNG2EF7.js → PQCLGIYQ.js} +2 -2
  208. package/dist/calcite/PQCLGIYQ.js.LEGAL.txt +3 -0
  209. package/dist/calcite/{Z7EIB7KP.js → PWPO7D4Y.js} +2 -2
  210. package/dist/calcite/PWPO7D4Y.js.LEGAL.txt +3 -0
  211. package/dist/calcite/{OPWA55SD.js → PXCK2RZB.js} +2 -2
  212. package/dist/calcite/PXCK2RZB.js.LEGAL.txt +3 -0
  213. package/dist/calcite/{HAEAO4QM.js → Q2FGVAYP.js} +2 -2
  214. package/dist/calcite/Q2FGVAYP.js.LEGAL.txt +3 -0
  215. package/dist/calcite/{PLJALAVQ.js → Q732AZTP.js} +2 -2
  216. package/dist/calcite/Q732AZTP.js.LEGAL.txt +3 -0
  217. package/dist/calcite/{WL7KPPYH.js → QB7JK7LO.js} +2 -2
  218. package/dist/calcite/QB7JK7LO.js.LEGAL.txt +3 -0
  219. package/dist/calcite/{FYK4XJBH.js → QCW5FCIU.js} +1 -1
  220. package/dist/calcite/QCW5FCIU.js.LEGAL.txt +3 -0
  221. package/dist/calcite/{GTIGGEIV.js → QH2DDIL6.js} +2 -2
  222. package/dist/calcite/QH2DDIL6.js.LEGAL.txt +3 -0
  223. package/dist/calcite/{GFFE55DG.js → QHBI2BZU.js} +2 -2
  224. package/dist/calcite/QHBI2BZU.js.LEGAL.txt +3 -0
  225. package/dist/calcite/QS2IO2B6.js +4 -0
  226. package/dist/calcite/QS2IO2B6.js.LEGAL.txt +3 -0
  227. package/dist/calcite/{MFXMCYAU.js → QWS3K5HU.js} +2 -2
  228. package/dist/calcite/{NLQEJQ5J.js → QWUSZRIE.js} +2 -2
  229. package/dist/calcite/QWUSZRIE.js.LEGAL.txt +3 -0
  230. package/dist/calcite/{5CFQYPD6.js → R6YNQ2V6.js} +2 -2
  231. package/dist/calcite/R6YNQ2V6.js.LEGAL.txt +3 -0
  232. package/dist/calcite/{76ZLZZXT.js → RCZOIN3S.js} +2 -2
  233. package/dist/calcite/RCZOIN3S.js.LEGAL.txt +3 -0
  234. package/dist/calcite/{WIUS56JI.js → RGO4YDKF.js} +1 -1
  235. package/dist/calcite/{SKKGAAMO.js → RWJNVFXT.js} +2 -2
  236. package/dist/calcite/RWJNVFXT.js.LEGAL.txt +3 -0
  237. package/dist/calcite/{BIXOQRWX.js → RZQCIIVR.js} +1 -1
  238. package/dist/calcite/RZQCIIVR.js.LEGAL.txt +3 -0
  239. package/dist/calcite/{4CRXZ63L.js → SBQ2IBIF.js} +2 -2
  240. package/dist/calcite/SBQ2IBIF.js.LEGAL.txt +3 -0
  241. package/dist/calcite/{IQQJKKQR.js → SFHB45KR.js} +2 -2
  242. package/dist/calcite/SFHB45KR.js.LEGAL.txt +3 -0
  243. package/dist/calcite/{JDNJDXBT.js → SH3BT3E4.js} +2 -2
  244. package/dist/calcite/SH3BT3E4.js.LEGAL.txt +3 -0
  245. package/dist/calcite/{5JJMIROF.js → SLJ7H27X.js} +2 -2
  246. package/dist/calcite/SLJ7H27X.js.LEGAL.txt +3 -0
  247. package/dist/calcite/{MN5ZMGDP.js → SR7MDDWB.js} +2 -2
  248. package/dist/calcite/SR7MDDWB.js.LEGAL.txt +3 -0
  249. package/dist/calcite/{3VMC2CMT.js → SWKCCOCK.js} +1 -1
  250. package/dist/calcite/{3VMC2CMT.js.LEGAL.txt → SWKCCOCK.js.LEGAL.txt} +1 -1
  251. package/dist/calcite/{T4ISGVVX.js → T2IMUI4L.js} +2 -2
  252. package/dist/calcite/T2IMUI4L.js.LEGAL.txt +3 -0
  253. package/dist/calcite/{M3UZ4E5H.js → T6ZWPJ3H.js} +2 -2
  254. package/dist/calcite/T6ZWPJ3H.js.LEGAL.txt +3 -0
  255. package/dist/calcite/{Z2N3ZD66.js → TGPFQVI3.js} +1 -1
  256. package/dist/calcite/TGPFQVI3.js.LEGAL.txt +3 -0
  257. package/dist/calcite/{MBN54URU.js → TIGA7CAS.js} +2 -2
  258. package/dist/calcite/TIGA7CAS.js.LEGAL.txt +3 -0
  259. package/dist/calcite/{MZDX2RGO.js → TK7HEAKQ.js} +2 -2
  260. package/dist/calcite/TK7HEAKQ.js.LEGAL.txt +3 -0
  261. package/dist/calcite/{YPHDMEZE.js → TRCUXJQP.js} +2 -2
  262. package/dist/calcite/TRCUXJQP.js.LEGAL.txt +3 -0
  263. package/dist/calcite/{JBY373VQ.js → TXROGSB2.js} +2 -2
  264. package/dist/calcite/TXROGSB2.js.LEGAL.txt +3 -0
  265. package/dist/calcite/{KO2HPSDS.js → U4AGMMNR.js} +2 -2
  266. package/dist/calcite/U4AGMMNR.js.LEGAL.txt +3 -0
  267. package/dist/calcite/{XCW4TOV5.js → U52EKICH.js} +2 -2
  268. package/dist/calcite/{I7DZAQ33.js → UBPEEJ47.js} +2 -2
  269. package/dist/calcite/UBPEEJ47.js.LEGAL.txt +3 -0
  270. package/dist/calcite/{LEGWZZ3C.js → UCUYESPO.js} +2 -2
  271. package/dist/calcite/UCUYESPO.js.LEGAL.txt +3 -0
  272. package/dist/calcite/{THZPNFDC.js → UJ3DVBBB.js} +2 -2
  273. package/dist/calcite/UJ3DVBBB.js.LEGAL.txt +3 -0
  274. package/dist/calcite/{7JTQUIIG.js → UTHT52HY.js} +1 -1
  275. package/dist/calcite/UTHT52HY.js.LEGAL.txt +3 -0
  276. package/dist/calcite/{GSA4PGT2.js → VAAG5IJE.js} +2 -2
  277. package/dist/calcite/VAAG5IJE.js.LEGAL.txt +3 -0
  278. package/dist/calcite/{55R7FS3U.js → VCIESHSA.js} +2 -2
  279. package/dist/calcite/VCIESHSA.js.LEGAL.txt +3 -0
  280. package/dist/calcite/{GTUVAAAD.js → VIJYQUPS.js} +1 -1
  281. package/dist/calcite/VIJYQUPS.js.LEGAL.txt +3 -0
  282. package/dist/calcite/{JAL66H3J.js → VKH366XK.js} +2 -2
  283. package/dist/calcite/VKH366XK.js.LEGAL.txt +3 -0
  284. package/dist/calcite/{POGNNNSN.js → VOMFC6A5.js} +2 -2
  285. package/dist/calcite/VOMFC6A5.js.LEGAL.txt +3 -0
  286. package/dist/calcite/{YBIDORYE.js → VWXTUWMC.js} +2 -2
  287. package/dist/calcite/VWXTUWMC.js.LEGAL.txt +3 -0
  288. package/dist/calcite/{DX4BEDZ3.js → VYNVOZVL.js} +1 -1
  289. package/dist/calcite/VYNVOZVL.js.LEGAL.txt +3 -0
  290. package/dist/calcite/{VUEY5X5A.js → W6MHPGER.js} +2 -2
  291. package/dist/calcite/W6MHPGER.js.LEGAL.txt +3 -0
  292. package/dist/calcite/{5Q54AMGC.js → WIA2UZRQ.js} +2 -2
  293. package/dist/calcite/WIA2UZRQ.js.LEGAL.txt +3 -0
  294. package/dist/calcite/{OQGS3D3N.js → WLID72PZ.js} +2 -2
  295. package/dist/calcite/WLID72PZ.js.LEGAL.txt +3 -0
  296. package/dist/calcite/{7PKWMEQD.js → WQ2CWXYT.js} +2 -2
  297. package/dist/calcite/WQ2CWXYT.js.LEGAL.txt +3 -0
  298. package/dist/calcite/{M4H4WLVH.js → WVA5MSI4.js} +2 -2
  299. package/dist/calcite/WVA5MSI4.js.LEGAL.txt +3 -0
  300. package/dist/calcite/{VHLIF5DY.js → WXNB4546.js} +2 -2
  301. package/dist/calcite/WXNB4546.js.LEGAL.txt +3 -0
  302. package/dist/calcite/{MSCFVCHB.js → X3Y745O5.js} +2 -2
  303. package/dist/calcite/X3Y745O5.js.LEGAL.txt +3 -0
  304. package/dist/calcite/{PW6UBKVH.js → X5NLUQDA.js} +2 -2
  305. package/dist/calcite/X5NLUQDA.js.LEGAL.txt +3 -0
  306. package/dist/calcite/{XVSPBUCP.js → XJUNWEHJ.js} +1 -1
  307. package/dist/calcite/XJUNWEHJ.js.LEGAL.txt +3 -0
  308. package/dist/calcite/{RI5ZWQGD.js → XUZICRV7.js} +2 -2
  309. package/dist/calcite/XUZICRV7.js.LEGAL.txt +3 -0
  310. package/dist/calcite/{7CQ233AJ.js → XZK2I4C2.js} +2 -2
  311. package/dist/calcite/XZK2I4C2.js.LEGAL.txt +3 -0
  312. package/dist/calcite/{7FB33YBD.js → Y6MVE6DC.js} +2 -2
  313. package/dist/calcite/Y6MVE6DC.js.LEGAL.txt +3 -0
  314. package/dist/calcite/{6NUAVTSM.js → YCAEPRM6.js} +2 -2
  315. package/dist/calcite/YCAEPRM6.js.LEGAL.txt +3 -0
  316. package/dist/calcite/{GRLBXAFF.js → YD2UXF4G.js} +1 -1
  317. package/dist/calcite/{GFONJVVJ.js → YQDHA3IR.js} +2 -2
  318. package/dist/calcite/YQDHA3IR.js.LEGAL.txt +3 -0
  319. package/dist/calcite/{OSZVSWGU.js → Z3OQGPN5.js} +2 -2
  320. package/dist/calcite/Z3OQGPN5.js.LEGAL.txt +3 -0
  321. package/dist/calcite/{TSHHVAZ7.js → Z53Z6H75.js} +2 -2
  322. package/dist/calcite/Z53Z6H75.js.LEGAL.txt +3 -0
  323. package/dist/calcite/{HNERZLDY.js → ZTSRFYI5.js} +2 -2
  324. package/dist/calcite/ZTSRFYI5.js.LEGAL.txt +3 -0
  325. package/dist/calcite/{VYRPNOIH.js → ZXGONEDG.js} +1 -1
  326. package/dist/calcite/ZXGONEDG.js.LEGAL.txt +3 -0
  327. package/dist/calcite/calcite.esm.js +2 -2
  328. package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
  329. package/dist/chunks/ExpandToggle.js +1 -1
  330. package/dist/chunks/FloatingArrow.js +1 -1
  331. package/dist/chunks/Heading.js +1 -1
  332. package/dist/chunks/Validation.js +1 -1
  333. package/dist/chunks/XButton.js +1 -1
  334. package/dist/chunks/array.js +1 -1
  335. package/dist/chunks/component.js +1 -1
  336. package/dist/chunks/core.js +1 -1
  337. package/dist/chunks/date.js +1 -1
  338. package/dist/chunks/dom.js +1 -1
  339. package/dist/chunks/dynamicClasses.js +1 -1
  340. package/dist/chunks/filter.js +1 -1
  341. package/dist/chunks/floating-ui.js +1 -1
  342. package/dist/chunks/form.js +1 -1
  343. package/dist/chunks/global.js +1 -1
  344. package/dist/chunks/guid.js +1 -1
  345. package/dist/chunks/input.js +1 -1
  346. package/dist/chunks/interact.min.js +1 -1
  347. package/dist/chunks/interactive.js +1 -1
  348. package/dist/chunks/key.js +1 -1
  349. package/dist/chunks/label.js +1 -1
  350. package/dist/chunks/locale.js +1 -1
  351. package/dist/chunks/logger.js +1 -1
  352. package/dist/chunks/math.js +1 -1
  353. package/dist/chunks/observers.js +1 -1
  354. package/dist/chunks/openCloseComponent.js +1 -1
  355. package/dist/chunks/resources.js +1 -1
  356. package/dist/chunks/resources2.js +1 -1
  357. package/dist/chunks/resources3.js +1 -1
  358. package/dist/chunks/resources4.js +1 -1
  359. package/dist/chunks/resources5.js +1 -1
  360. package/dist/chunks/resources6.js +1 -1
  361. package/dist/chunks/resources7.js +1 -1
  362. package/dist/chunks/responsive.js +1 -1
  363. package/dist/chunks/runtime.js +5 -5
  364. package/dist/chunks/sortableComponent.js +1 -1
  365. package/dist/chunks/text.js +1 -1
  366. package/dist/chunks/time.js +1 -1
  367. package/dist/chunks/useFocusTrap.js +1 -1
  368. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/chunks/utils.js +1 -1
  371. package/dist/chunks/utils2.js +1 -1
  372. package/dist/chunks/utils3.js +1 -1
  373. package/dist/chunks/utils4.js +1 -1
  374. package/dist/components/calcite-accordion/customElement.js +1 -1
  375. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  376. package/dist/components/calcite-action/customElement.js +1 -1
  377. package/dist/components/calcite-action-bar/customElement.js +1 -1
  378. package/dist/components/calcite-action-group/customElement.js +1 -1
  379. package/dist/components/calcite-action-menu/customElement.js +1 -1
  380. package/dist/components/calcite-action-pad/customElement.js +1 -1
  381. package/dist/components/calcite-alert/customElement.js +1 -1
  382. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  383. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  384. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  385. package/dist/components/calcite-avatar/customElement.js +1 -1
  386. package/dist/components/calcite-block/customElement.js +1 -1
  387. package/dist/components/calcite-block-group/customElement.js +1 -1
  388. package/dist/components/calcite-block-section/customElement.js +1 -1
  389. package/dist/components/calcite-button/customElement.js +1 -1
  390. package/dist/components/calcite-card/customElement.js +1 -1
  391. package/dist/components/calcite-card-group/customElement.js +1 -1
  392. package/dist/components/calcite-carousel/customElement.js +1 -1
  393. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  394. package/dist/components/calcite-checkbox/customElement.js +1 -1
  395. package/dist/components/calcite-chip/customElement.js +1 -1
  396. package/dist/components/calcite-chip-group/customElement.js +1 -1
  397. package/dist/components/calcite-color-picker/customElement.js +1 -1
  398. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  399. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  400. package/dist/components/calcite-combobox/customElement.js +1 -1
  401. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  402. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  403. package/dist/components/calcite-date-picker/customElement.js +1 -1
  404. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  405. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  406. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  407. package/dist/components/calcite-dialog/customElement.js +6 -8
  408. package/dist/components/calcite-dropdown/customElement.js +3 -10
  409. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  410. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  411. package/dist/components/calcite-fab/customElement.js +1 -1
  412. package/dist/components/calcite-filter/customElement.js +1 -1
  413. package/dist/components/calcite-flow/customElement.js +1 -1
  414. package/dist/components/calcite-flow-item/customElement.js +1 -1
  415. package/dist/components/calcite-graph/customElement.js +1 -1
  416. package/dist/components/calcite-handle/customElement.js +1 -1
  417. package/dist/components/calcite-icon/customElement.js +1 -1
  418. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  419. package/dist/components/calcite-input/customElement.js +1 -1
  420. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  421. package/dist/components/calcite-input-message/customElement.js +1 -1
  422. package/dist/components/calcite-input-number/customElement.js +1 -1
  423. package/dist/components/calcite-input-text/customElement.js +1 -1
  424. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  425. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  426. package/dist/components/calcite-label/customElement.js +1 -1
  427. package/dist/components/calcite-link/customElement.js +1 -1
  428. package/dist/components/calcite-list/customElement.js +1 -1
  429. package/dist/components/calcite-list-item/customElement.js +1 -1
  430. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  431. package/dist/components/calcite-loader/customElement.js +1 -1
  432. package/dist/components/calcite-menu/customElement.js +1 -1
  433. package/dist/components/calcite-menu-item/customElement.js +1 -1
  434. package/dist/components/calcite-meter/customElement.js +1 -1
  435. package/dist/components/calcite-modal/customElement.js +5 -7
  436. package/dist/components/calcite-navigation/customElement.js +1 -1
  437. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  438. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  439. package/dist/components/calcite-notice/customElement.js +1 -1
  440. package/dist/components/calcite-option/customElement.js +1 -1
  441. package/dist/components/calcite-option-group/customElement.js +1 -1
  442. package/dist/components/calcite-pagination/customElement.js +1 -1
  443. package/dist/components/calcite-panel/customElement.js +1 -1
  444. package/dist/components/calcite-popover/customElement.js +1 -1
  445. package/dist/components/calcite-progress/customElement.js +1 -1
  446. package/dist/components/calcite-radio-button/customElement.js +1 -1
  447. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  448. package/dist/components/calcite-rating/customElement.js +1 -1
  449. package/dist/components/calcite-scrim/customElement.js +1 -1
  450. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  451. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  452. package/dist/components/calcite-select/customElement.js +1 -1
  453. package/dist/components/calcite-sheet/customElement.js +5 -7
  454. package/dist/components/calcite-shell/customElement.js +1 -1
  455. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  456. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  457. package/dist/components/calcite-slider/customElement.js +1 -1
  458. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  459. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  460. package/dist/components/calcite-split-button/customElement.js +1 -1
  461. package/dist/components/calcite-stack/customElement.js +1 -1
  462. package/dist/components/calcite-stepper/customElement.js +1 -1
  463. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  464. package/dist/components/calcite-switch/customElement.js +1 -1
  465. package/dist/components/calcite-tab/customElement.js +1 -1
  466. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  467. package/dist/components/calcite-tab-title/customElement.js +1 -1
  468. package/dist/components/calcite-table/customElement.js +1 -1
  469. package/dist/components/calcite-table-cell/customElement.js +1 -1
  470. package/dist/components/calcite-table-header/customElement.js +1 -1
  471. package/dist/components/calcite-table-row/customElement.js +1 -1
  472. package/dist/components/calcite-tabs/customElement.js +1 -1
  473. package/dist/components/calcite-text-area/customElement.js +1 -1
  474. package/dist/components/calcite-tile/customElement.js +1 -1
  475. package/dist/components/calcite-tile-group/customElement.js +1 -1
  476. package/dist/components/calcite-tile-select/customElement.js +1 -1
  477. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  478. package/dist/components/calcite-time-picker/customElement.js +1 -1
  479. package/dist/components/calcite-tip/customElement.js +1 -1
  480. package/dist/components/calcite-tip-group/customElement.js +1 -1
  481. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  482. package/dist/components/calcite-tooltip/customElement.js +1 -1
  483. package/dist/components/calcite-tree/customElement.js +1 -1
  484. package/dist/components/calcite-tree-item/customElement.js +1 -1
  485. package/dist/docs/api.json +1 -1
  486. package/dist/docs/docs.json +1 -1
  487. package/dist/docs/web-types.json +1 -1
  488. package/dist/index.js +1 -1
  489. package/dist/loader.js +1 -1
  490. package/package.json +2 -2
  491. package/dist/calcite/3VLVDWSS.js.LEGAL.txt +0 -3
  492. package/dist/calcite/46GRM4CE.js.LEGAL.txt +0 -3
  493. package/dist/calcite/4CRXZ63L.js.LEGAL.txt +0 -3
  494. package/dist/calcite/4JL2EBN2.js.LEGAL.txt +0 -3
  495. package/dist/calcite/4M5YF4UK.js.LEGAL.txt +0 -3
  496. package/dist/calcite/4PC2H3SA.js.LEGAL.txt +0 -3
  497. package/dist/calcite/4SZ573RT.js.LEGAL.txt +0 -3
  498. package/dist/calcite/55R7FS3U.js.LEGAL.txt +0 -3
  499. package/dist/calcite/5CFQYPD6.js.LEGAL.txt +0 -3
  500. package/dist/calcite/5JJMIROF.js.LEGAL.txt +0 -3
  501. package/dist/calcite/5Q54AMGC.js.LEGAL.txt +0 -3
  502. package/dist/calcite/5T2FJWUW.js.LEGAL.txt +0 -3
  503. package/dist/calcite/5UJXO6ER.js.LEGAL.txt +0 -3
  504. package/dist/calcite/5Z4FPF7F.js.LEGAL.txt +0 -3
  505. package/dist/calcite/62GP7Q7R.js.LEGAL.txt +0 -3
  506. package/dist/calcite/6M254VM3.js.LEGAL.txt +0 -3
  507. package/dist/calcite/6NUAVTSM.js.LEGAL.txt +0 -3
  508. package/dist/calcite/6VI66GV4.js.LEGAL.txt +0 -3
  509. package/dist/calcite/76ZLZZXT.js.LEGAL.txt +0 -3
  510. package/dist/calcite/7CQ233AJ.js.LEGAL.txt +0 -3
  511. package/dist/calcite/7FB33YBD.js.LEGAL.txt +0 -3
  512. package/dist/calcite/7JTQUIIG.js.LEGAL.txt +0 -3
  513. package/dist/calcite/7PKWMEQD.js.LEGAL.txt +0 -3
  514. package/dist/calcite/7QECW2E2.js.LEGAL.txt +0 -3
  515. package/dist/calcite/7QNG2EF7.js.LEGAL.txt +0 -3
  516. package/dist/calcite/7T7MTXSU.js.LEGAL.txt +0 -3
  517. package/dist/calcite/A2YB5LXN.js +0 -4
  518. package/dist/calcite/A2YB5LXN.js.LEGAL.txt +0 -3
  519. package/dist/calcite/AFFK5WSZ.js.LEGAL.txt +0 -3
  520. package/dist/calcite/AXBOTO3S.js.LEGAL.txt +0 -3
  521. package/dist/calcite/BIXOQRWX.js.LEGAL.txt +0 -3
  522. package/dist/calcite/BXNTEQDG.js.LEGAL.txt +0 -3
  523. package/dist/calcite/BXRLVWOE.js.LEGAL.txt +0 -3
  524. package/dist/calcite/C2KRQ7VY.js.LEGAL.txt +0 -3
  525. package/dist/calcite/CK2727PE.js.LEGAL.txt +0 -3
  526. package/dist/calcite/CVQXSZEH.js.LEGAL.txt +0 -3
  527. package/dist/calcite/D2KGWKKE.js.LEGAL.txt +0 -3
  528. package/dist/calcite/DACMF6M4.js.LEGAL.txt +0 -3
  529. package/dist/calcite/DIWK757P.js.LEGAL.txt +0 -3
  530. package/dist/calcite/DIYHPDDJ.js.LEGAL.txt +0 -3
  531. package/dist/calcite/DTAEBKT4.js.LEGAL.txt +0 -3
  532. package/dist/calcite/DX4BEDZ3.js.LEGAL.txt +0 -3
  533. package/dist/calcite/EHEE5FVV.js.LEGAL.txt +0 -3
  534. package/dist/calcite/F4S6EXX6.js.LEGAL.txt +0 -3
  535. package/dist/calcite/FQPVAT5F.js.LEGAL.txt +0 -3
  536. package/dist/calcite/FYK4XJBH.js.LEGAL.txt +0 -3
  537. package/dist/calcite/G77XQIMX.js.LEGAL.txt +0 -3
  538. package/dist/calcite/GFFE55DG.js.LEGAL.txt +0 -3
  539. package/dist/calcite/GFONJVVJ.js.LEGAL.txt +0 -3
  540. package/dist/calcite/GL7DMV4S.js.LEGAL.txt +0 -3
  541. package/dist/calcite/GS3X5VRZ.js.LEGAL.txt +0 -3
  542. package/dist/calcite/GSA4PGT2.js.LEGAL.txt +0 -3
  543. package/dist/calcite/GTIGGEIV.js.LEGAL.txt +0 -3
  544. package/dist/calcite/GTUVAAAD.js.LEGAL.txt +0 -3
  545. package/dist/calcite/H3WIGFJO.js.LEGAL.txt +0 -3
  546. package/dist/calcite/HAEAO4QM.js.LEGAL.txt +0 -3
  547. package/dist/calcite/HBU463EW.js.LEGAL.txt +0 -3
  548. package/dist/calcite/HJQMJ3O5.js.LEGAL.txt +0 -3
  549. package/dist/calcite/HNERZLDY.js.LEGAL.txt +0 -3
  550. package/dist/calcite/HOEPFXY4.js.LEGAL.txt +0 -3
  551. package/dist/calcite/I4FISWDK.js.LEGAL.txt +0 -3
  552. package/dist/calcite/I7DZAQ33.js.LEGAL.txt +0 -3
  553. package/dist/calcite/IQQJKKQR.js.LEGAL.txt +0 -3
  554. package/dist/calcite/IRUMOVZZ.js.LEGAL.txt +0 -3
  555. package/dist/calcite/J5XEWZHE.js.LEGAL.txt +0 -3
  556. package/dist/calcite/JAL66H3J.js.LEGAL.txt +0 -3
  557. package/dist/calcite/JATMHESF.js.LEGAL.txt +0 -3
  558. package/dist/calcite/JBY373VQ.js.LEGAL.txt +0 -3
  559. package/dist/calcite/JDNJDXBT.js.LEGAL.txt +0 -3
  560. package/dist/calcite/JDWLRXMB.js.LEGAL.txt +0 -3
  561. package/dist/calcite/JFS56TST.js.LEGAL.txt +0 -3
  562. package/dist/calcite/KO2HPSDS.js.LEGAL.txt +0 -3
  563. package/dist/calcite/KPX237YH.js.LEGAL.txt +0 -3
  564. package/dist/calcite/LAKJK7HL.js.LEGAL.txt +0 -3
  565. package/dist/calcite/LEGWZZ3C.js.LEGAL.txt +0 -3
  566. package/dist/calcite/LI2EINF7.js.LEGAL.txt +0 -3
  567. package/dist/calcite/LIPUTT6N.js.LEGAL.txt +0 -3
  568. package/dist/calcite/LWUNC2OP.js.LEGAL.txt +0 -3
  569. package/dist/calcite/LZ3V33XC.js.LEGAL.txt +0 -3
  570. package/dist/calcite/M3UZ4E5H.js.LEGAL.txt +0 -3
  571. package/dist/calcite/M4H4WLVH.js.LEGAL.txt +0 -3
  572. package/dist/calcite/MBN54URU.js.LEGAL.txt +0 -3
  573. package/dist/calcite/MG5IOFW7.js.LEGAL.txt +0 -3
  574. package/dist/calcite/MN5ZMGDP.js.LEGAL.txt +0 -3
  575. package/dist/calcite/MR5UPVPG.js.LEGAL.txt +0 -3
  576. package/dist/calcite/MSCFVCHB.js.LEGAL.txt +0 -3
  577. package/dist/calcite/MUFGKP4E.js.LEGAL.txt +0 -3
  578. package/dist/calcite/MXQCR7YF.js.LEGAL.txt +0 -3
  579. package/dist/calcite/MZDX2RGO.js.LEGAL.txt +0 -3
  580. package/dist/calcite/N63BZNBM.js.LEGAL.txt +0 -3
  581. package/dist/calcite/NCWK6WJU.js.LEGAL.txt +0 -3
  582. package/dist/calcite/NDM46TRI.js.LEGAL.txt +0 -3
  583. package/dist/calcite/NH2FREQY.js.LEGAL.txt +0 -3
  584. package/dist/calcite/NLQEJQ5J.js.LEGAL.txt +0 -3
  585. package/dist/calcite/NODTVZ24.js.LEGAL.txt +0 -3
  586. package/dist/calcite/NYCLULH3.js.LEGAL.txt +0 -3
  587. package/dist/calcite/OPWA55SD.js.LEGAL.txt +0 -3
  588. package/dist/calcite/OQGS3D3N.js.LEGAL.txt +0 -3
  589. package/dist/calcite/OSZVSWGU.js.LEGAL.txt +0 -3
  590. package/dist/calcite/P2CTJE5E.js.LEGAL.txt +0 -3
  591. package/dist/calcite/P2XP2NHT.js.LEGAL.txt +0 -3
  592. package/dist/calcite/P3RLUM2B.js +0 -4
  593. package/dist/calcite/P3RLUM2B.js.LEGAL.txt +0 -3
  594. package/dist/calcite/P6C3W6FL.js.LEGAL.txt +0 -3
  595. package/dist/calcite/PENLWMB3.js.LEGAL.txt +0 -3
  596. package/dist/calcite/PLJALAVQ.js.LEGAL.txt +0 -3
  597. package/dist/calcite/POGNNNSN.js.LEGAL.txt +0 -3
  598. package/dist/calcite/PW6UBKVH.js.LEGAL.txt +0 -3
  599. package/dist/calcite/PYM6655A.js.LEGAL.txt +0 -3
  600. package/dist/calcite/QFOJGUH4.js.LEGAL.txt +0 -3
  601. package/dist/calcite/QJMY6HK4.js.LEGAL.txt +0 -3
  602. package/dist/calcite/QJN3Y7KP.js.LEGAL.txt +0 -3
  603. package/dist/calcite/QRBR6VUO.js.LEGAL.txt +0 -3
  604. package/dist/calcite/QVKJQIOF.js.LEGAL.txt +0 -3
  605. package/dist/calcite/R3CUJDU2.js.LEGAL.txt +0 -3
  606. package/dist/calcite/R5NIHVIX.js.LEGAL.txt +0 -3
  607. package/dist/calcite/R7U5O4YW.js.LEGAL.txt +0 -3
  608. package/dist/calcite/RI5ZWQGD.js.LEGAL.txt +0 -3
  609. package/dist/calcite/RLN7DR35.js.LEGAL.txt +0 -3
  610. package/dist/calcite/RN6G4AJW.js.LEGAL.txt +0 -3
  611. package/dist/calcite/SEHADNF3.js.LEGAL.txt +0 -3
  612. package/dist/calcite/SKKGAAMO.js.LEGAL.txt +0 -3
  613. package/dist/calcite/SQNNHAAG.js.LEGAL.txt +0 -3
  614. package/dist/calcite/T3TLDID7.js.LEGAL.txt +0 -3
  615. package/dist/calcite/T4ISGVVX.js.LEGAL.txt +0 -3
  616. package/dist/calcite/TGV7EMNU.js.LEGAL.txt +0 -3
  617. package/dist/calcite/TH2HXM2T.js.LEGAL.txt +0 -3
  618. package/dist/calcite/THZPNFDC.js.LEGAL.txt +0 -3
  619. package/dist/calcite/TSHHVAZ7.js.LEGAL.txt +0 -3
  620. package/dist/calcite/TYKK4ZDP.js.LEGAL.txt +0 -3
  621. package/dist/calcite/V6MACRDH.js.LEGAL.txt +0 -3
  622. package/dist/calcite/VGUJWIE3.js.LEGAL.txt +0 -3
  623. package/dist/calcite/VHLIF5DY.js.LEGAL.txt +0 -3
  624. package/dist/calcite/VUEY5X5A.js.LEGAL.txt +0 -3
  625. package/dist/calcite/VYRPNOIH.js.LEGAL.txt +0 -3
  626. package/dist/calcite/WL7KPPYH.js.LEGAL.txt +0 -3
  627. package/dist/calcite/WN6CJLMD.js +0 -4
  628. package/dist/calcite/WN6CJLMD.js.LEGAL.txt +0 -3
  629. package/dist/calcite/XLQJWLJR.js.LEGAL.txt +0 -3
  630. package/dist/calcite/XQSZJ5CG.js.LEGAL.txt +0 -3
  631. package/dist/calcite/XVSPBUCP.js.LEGAL.txt +0 -3
  632. package/dist/calcite/Y2E6XYEE.js.LEGAL.txt +0 -3
  633. package/dist/calcite/Y5A3EQS4.js.LEGAL.txt +0 -3
  634. package/dist/calcite/YBIDORYE.js.LEGAL.txt +0 -3
  635. package/dist/calcite/YPHDMEZE.js.LEGAL.txt +0 -3
  636. package/dist/calcite/Z2N3ZD66.js.LEGAL.txt +0 -3
  637. package/dist/calcite/Z646UZFI.js.LEGAL.txt +0 -3
  638. package/dist/calcite/Z6VHOIAN.js.LEGAL.txt +0 -3
  639. package/dist/calcite/Z7EIB7KP.js.LEGAL.txt +0 -3
  640. package/dist/calcite/ZMFN7VKF.js.LEGAL.txt +0 -3
  641. package/dist/calcite/ZS2B2AF5.js.LEGAL.txt +0 -3
  642. /package/dist/calcite/{W7YWLFKG.js.LEGAL.txt → 5NQUZRDM.js.LEGAL.txt} +0 -0
  643. /package/dist/calcite/{A4XLCDLZ.js.LEGAL.txt → 6GM27GBO.js.LEGAL.txt} +0 -0
  644. /package/dist/calcite/{U2YGN4RT.js.LEGAL.txt → 6P5PSH65.js.LEGAL.txt} +0 -0
  645. /package/dist/calcite/{2VN3YIDH.js.LEGAL.txt → DNYNDPB5.js.LEGAL.txt} +0 -0
  646. /package/dist/calcite/{RFI4KO6W.js.LEGAL.txt → HPNQQK6A.js.LEGAL.txt} +0 -0
  647. /package/dist/calcite/{CLRL273B.js.LEGAL.txt → K3RGRXZK.js.LEGAL.txt} +0 -0
  648. /package/dist/calcite/{GRLBXAFF.js.LEGAL.txt → KDX22TPR.js.LEGAL.txt} +0 -0
  649. /package/dist/calcite/{IWDYFFAM.js.LEGAL.txt → NNTVWBBP.js.LEGAL.txt} +0 -0
  650. /package/dist/calcite/{KFEMDYAO.js.LEGAL.txt → O26R4TSO.js.LEGAL.txt} +0 -0
  651. /package/dist/calcite/{GZUOSY5I.js.LEGAL.txt → PNGIMH3C.js.LEGAL.txt} +0 -0
  652. /package/dist/calcite/{MFXMCYAU.js.LEGAL.txt → QWS3K5HU.js.LEGAL.txt} +0 -0
  653. /package/dist/calcite/{UGDRDJPA.js.LEGAL.txt → RGO4YDKF.js.LEGAL.txt} +0 -0
  654. /package/dist/calcite/{WIUS56JI.js.LEGAL.txt → U52EKICH.js.LEGAL.txt} +0 -0
  655. /package/dist/calcite/{XCW4TOV5.js.LEGAL.txt → YD2UXF4G.js.LEGAL.txt} +0 -0
@@ -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.2.0-next.39 */
4
- import{a as T}from"./R3CUJDU2.js";import{D as h}from"./MZMZSY5A.js";var O=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],b=O.join(","),N=typeof Element>"u",d=N?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,g=!N&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},v=function e(t,r){var n;r===void 0&&(r=!0);var a=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=a===""||a==="true",i=o||r&&t&&e(t.parentNode);return i},k=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},M=function(t,r,n){if(v(t))return[];var a=Array.prototype.slice.apply(t.querySelectorAll(b));return r&&d.call(t,b)&&a.unshift(t),a=a.filter(n),a},B=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!v(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=e(u,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var f=d.call(i,b);f&&n.filter(i)&&(r||!t.includes(i))&&a.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),D=!v(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&D){var S=e(c===!0?i.children:c.children,!0,n);n.flatten?a.push.apply(a,S):a.push({scopeParent:i,candidates:S})}else o.unshift.apply(o,i.children)}}return a},I=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},A=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||k(t))&&!I(t)?0:t.tabIndex},L=function(t,r){var n=A(t);return n<0&&r&&!I(t)?0:n},P=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},x=function(t){return t.tagName==="INPUT"},q=function(t){return x(t)&&t.type==="hidden"},W=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},$=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},G=function(t){if(!t.name)return!0;var r=t.form||g(t),n=function(s){return r.querySelectorAll('input[type="radio"][name="'+s+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(t.name));else try{a=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=$(a,t.form);return!o||o===t},U=function(t){return x(t)&&t.type==="radio"},j=function(t){return U(t)&&!G(t)},z=function(t){var r,n=t&&g(t),a=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var i,s,u;for(o=!!((i=a)!==null&&i!==void 0&&(s=i.ownerDocument)!==null&&s!==void 0&&s.contains(a)||t!=null&&(u=t.ownerDocument)!==null&&u!==void 0&&u.contains(t));!o&&a;){var l,f,c;n=g(a),a=(l=n)===null||l===void 0?void 0:l.host,o=!!((f=a)!==null&&f!==void 0&&(c=f.ownerDocument)!==null&&c!==void 0&&c.contains(a))}}return o},w=function(t){var r=t.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0},X=function(t,r){var n=r.displayCheck,a=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=d.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(d.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof a=="function"){for(var s=t;t;){var u=t.parentElement,l=g(t);if(u&&!u.shadowRoot&&a(u)===!0)return w(t);t.assignedSlot?t=t.assignedSlot:!u&&l!==t.ownerDocument?t=l.host:t=u}t=s}if(z(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return w(t);return!1},H=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}r=r.parentElement}return!1},V=function(t,r){return!(r.disabled||v(r)||q(r)||X(r,t)||W(r)||H(r))},E=function(t,r){return!(j(r)||A(r)<0||!V(t,r))},Y=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},Z=function e(t){var r=[],n=[];return t.forEach(function(a,o){var i=!!a.scopeParent,s=i?a.scopeParent:a,u=L(s,i),l=i?e(a.candidates):s;u===0?i?r.push.apply(r,l):r.push(s):n.push({documentOrder:o,tabIndex:u,item:a,isScope:i,content:l})}),n.sort(P).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},K=function(t,r){r=r||{};var n;return r.getShadowRoot?n=B([t],r.includeContainer,{filter:E.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Y}):n=M(t,r.includeContainer,E.bind(null,r)),Z(n)},J={getShadowRoot:!0};function dt(e){return e?e.id=e.id||`${e.tagName.toLowerCase()}-${T()}`:""}function ht(e){return Array.isArray(e)?e:Array.from(e)}function gt(e){let t=m(e,`.${h.darkMode}, .${h.lightMode}, .${h.autoMode}`);return t?.classList.contains("calcite-mode-dark")||t?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function vt(e){let t="dir",r=`[${t}]`,n=m(e,r);return n?n.getAttribute(t):"ltr"}function bt(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function p(e){return e.getRootNode()}function yt(e){let t=p(e);return"host"in t?t:null}function pt(e,t){if(!e)return 0;let n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width}function R(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=p(e);return(r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null)||Q(R(n),{selector:t,id:r})}function m(e,t){return e?e.closest(t)||m(R(p(e)),t):null}function _(e){return typeof e?.setFocus=="function"}async function tt(e){if(e)return _(e)?e.setFocus():e.focus()}function et(e){if(e)return K(e,J)[0]??e}function mt(e){et(e)?.focus()}function St(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function rt(e,t){return e.filter(r=>r.matches(t))}function Tt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function wt(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function Et(e){return(!!e).toString()}function Ct(e){return ot(e)||at(e)}function nt(e){return it(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function Nt(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function at(e){return!!nt(e)}function it(e){return e.currentTarget.assignedNodes({flatten:!0})}function ot(e){return!!st(e).length}function st(e,t){return ut(e.target,t)}function ut(e,t){let r=e.assignedElements({flatten:!0});return t?rt(r,t):r}function It(e){return!!(e.isPrimary&&e.button===0)}function At(e){return e.detail===0}var xt=(e,t,r,n=!0)=>{let a=e.indexOf(t),o=a===0,i=a===e.length-1;n&&(r=r==="previous"&&o?"last":r==="next"&&i?"first":r);let s;return r==="previous"?s=e[a-1]||e[n?e.length-1:a]:r==="next"?s=e[a+1]||e[n?0:a]:r==="last"?s=e[e.length-1]:s=e[0],tt(s),s};function Rt(e,t){if(e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Ft(e,t,r,n){return F(e,t,"animation",r,n)}async function Dt(e,t,r,n){return F(e,t,"transition",r,n)}async function lt(e,t){await y(),e?.(),await y(),t?.()}function C(e,t,r){let n=t==="transition"?"transitionProperty":"animationName";return e.getAnimations().find(a=>a[n]===r)}async function F(e,t,r,n,a){let o=C(e,r,t);if(o||(await y(),o=C(e,r,t)),!o)return lt(n,a);n?.();try{await o.finished}catch{}finally{a?.()}}function y(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Ot(e){switch(!0){case e.endsWith("px"):return parseFloat(e);case e.endsWith("vw"):return window.innerWidth/100*parseFloat(e);case e.endsWith("vh"):return window.innerHeight/100*parseFloat(e);default:return 0}}export{J as a,dt as b,ht as c,gt as d,vt as e,bt as f,p as g,yt as h,pt as i,Q as j,m as k,tt as l,et as m,mt as n,St as o,Tt as p,wt as q,Et as r,Ct as s,Nt as t,ot as u,st as v,ut as w,It as x,At as y,xt as z,Rt as A,Ft as B,Dt as C,Ot as D};
3
+ v3.2.0-next.40 */
4
+ import{a as T}from"./6DCGXB5R.js";import{D as h}from"./EYWRTO2E.js";var O=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],b=O.join(","),N=typeof Element>"u",d=N?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,g=!N&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},v=function e(t,r){var n;r===void 0&&(r=!0);var a=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=a===""||a==="true",i=o||r&&t&&e(t.parentNode);return i},k=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},M=function(t,r,n){if(v(t))return[];var a=Array.prototype.slice.apply(t.querySelectorAll(b));return r&&d.call(t,b)&&a.unshift(t),a=a.filter(n),a},B=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!v(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=e(u,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var f=d.call(i,b);f&&n.filter(i)&&(r||!t.includes(i))&&a.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),D=!v(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&D){var S=e(c===!0?i.children:c.children,!0,n);n.flatten?a.push.apply(a,S):a.push({scopeParent:i,candidates:S})}else o.unshift.apply(o,i.children)}}return a},I=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},A=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||k(t))&&!I(t)?0:t.tabIndex},L=function(t,r){var n=A(t);return n<0&&r&&!I(t)?0:n},P=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},x=function(t){return t.tagName==="INPUT"},q=function(t){return x(t)&&t.type==="hidden"},W=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},$=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},G=function(t){if(!t.name)return!0;var r=t.form||g(t),n=function(s){return r.querySelectorAll('input[type="radio"][name="'+s+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(t.name));else try{a=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=$(a,t.form);return!o||o===t},U=function(t){return x(t)&&t.type==="radio"},j=function(t){return U(t)&&!G(t)},z=function(t){var r,n=t&&g(t),a=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var i,s,u;for(o=!!((i=a)!==null&&i!==void 0&&(s=i.ownerDocument)!==null&&s!==void 0&&s.contains(a)||t!=null&&(u=t.ownerDocument)!==null&&u!==void 0&&u.contains(t));!o&&a;){var l,f,c;n=g(a),a=(l=n)===null||l===void 0?void 0:l.host,o=!!((f=a)!==null&&f!==void 0&&(c=f.ownerDocument)!==null&&c!==void 0&&c.contains(a))}}return o},w=function(t){var r=t.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0},X=function(t,r){var n=r.displayCheck,a=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=d.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(d.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof a=="function"){for(var s=t;t;){var u=t.parentElement,l=g(t);if(u&&!u.shadowRoot&&a(u)===!0)return w(t);t.assignedSlot?t=t.assignedSlot:!u&&l!==t.ownerDocument?t=l.host:t=u}t=s}if(z(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return w(t);return!1},H=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}r=r.parentElement}return!1},V=function(t,r){return!(r.disabled||v(r)||q(r)||X(r,t)||W(r)||H(r))},E=function(t,r){return!(j(r)||A(r)<0||!V(t,r))},Y=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},Z=function e(t){var r=[],n=[];return t.forEach(function(a,o){var i=!!a.scopeParent,s=i?a.scopeParent:a,u=L(s,i),l=i?e(a.candidates):s;u===0?i?r.push.apply(r,l):r.push(s):n.push({documentOrder:o,tabIndex:u,item:a,isScope:i,content:l})}),n.sort(P).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},K=function(t,r){r=r||{};var n;return r.getShadowRoot?n=B([t],r.includeContainer,{filter:E.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Y}):n=M(t,r.includeContainer,E.bind(null,r)),Z(n)},J={getShadowRoot:!0};function dt(e){return e?e.id=e.id||`${e.tagName.toLowerCase()}-${T()}`:""}function ht(e){return Array.isArray(e)?e:Array.from(e)}function gt(e){let t=m(e,`.${h.darkMode}, .${h.lightMode}, .${h.autoMode}`);return t?.classList.contains("calcite-mode-dark")||t?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function vt(e){let t="dir",r=`[${t}]`,n=m(e,r);return n?n.getAttribute(t):"ltr"}function bt(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function p(e){return e.getRootNode()}function yt(e){let t=p(e);return"host"in t?t:null}function pt(e,t){if(!e)return 0;let n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width}function R(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=p(e);return(r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null)||Q(R(n),{selector:t,id:r})}function m(e,t){return e?e.closest(t)||m(R(p(e)),t):null}function _(e){return typeof e?.setFocus=="function"}async function tt(e){if(e)return _(e)?e.setFocus():e.focus()}function et(e){if(e)return K(e,J)[0]??e}function mt(e){et(e)?.focus()}function St(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function rt(e,t){return e.filter(r=>r.matches(t))}function Tt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function wt(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function Et(e){return(!!e).toString()}function Ct(e){return ot(e)||at(e)}function nt(e){return it(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function Nt(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function at(e){return!!nt(e)}function it(e){return e.currentTarget.assignedNodes({flatten:!0})}function ot(e){return!!st(e).length}function st(e,t){return ut(e.target,t)}function ut(e,t){let r=e.assignedElements({flatten:!0});return t?rt(r,t):r}function It(e){return!!(e.isPrimary&&e.button===0)}function At(e){return e.detail===0}var xt=(e,t,r,n=!0)=>{let a=e.indexOf(t),o=a===0,i=a===e.length-1;n&&(r=r==="previous"&&o?"last":r==="next"&&i?"first":r);let s;return r==="previous"?s=e[a-1]||e[n?e.length-1:a]:r==="next"?s=e[a+1]||e[n?0:a]:r==="last"?s=e[e.length-1]:s=e[0],tt(s),s};function Rt(e,t){if(e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Ft(e,t,r,n){return F(e,t,"animation",r,n)}async function Dt(e,t,r,n){return F(e,t,"transition",r,n)}async function lt(e,t){await y(),e?.(),await y(),t?.()}function C(e,t,r){let n=t==="transition"?"transitionProperty":"animationName";return e.getAnimations().find(a=>a[n]===r)}async function F(e,t,r,n,a){let o=C(e,r,t);if(o||(await y(),o=C(e,r,t)),!o)return lt(n,a);n?.();try{await o.finished}catch{}finally{a?.()}}function y(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Ot(e){switch(!0){case e.endsWith("px"):return parseFloat(e);case e.endsWith("vw"):return window.innerWidth/100*parseFloat(e);case e.endsWith("vh"):return window.innerHeight/100*parseFloat(e);default:return 0}}export{J as a,dt as b,ht as c,gt as d,vt as e,bt as f,p as g,yt as h,pt as i,Q as j,m as k,tt as l,et as m,mt as n,St as o,Tt as p,wt as q,Et as r,Ct as s,Nt as t,ot as u,st as v,ut as w,It as x,At as y,xt as z,Rt as A,Ft as B,Dt as C,Ot as D};
@@ -1,6 +1,6 @@
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.2.0-next.39 */
3
+ v3.2.0-next.40 */
4
4
  /*!
5
5
  * tabbable 6.2.0
6
6
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -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.2.0-next.39 */
4
- import{j as C,k as v}from"./LLN5DNPL.js";import{g as I}from"./MZMZSY5A.js";var V=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"];function H(e){return`${e.split("-").map((n,i)=>i===0?n:`${n[0].toUpperCase()}${n.slice(1)}`).join("")}${V.includes(e)?"Input":"Change"}`}var m="hidden-form-input";function E(e){return"checked"in e}var h=new WeakMap,g=new WeakSet;function L(e,t){if(v(t.parentElement,"[form]"))return!0;let n="calciteInternalFormComponentRegister",i=!1;return e.addEventListener(n,o=>{i=o.composedPath().some(l=>g.has(l)),o.stopPropagation()},{once:!0}),t.dispatchEvent(new CustomEvent(n,{bubbles:!0,composed:!0})),i}function R(e,{status:t,message:a,icon:n}){"status"in e&&(e.status=t),"validationIcon"in e&&typeof e.validationIcon!="string"&&(e.validationIcon=n),"validationMessage"in e&&!e.validationMessage&&(e.validationMessage=a)}function y(e){return e.nodeName==="CALCITE-RADIO-BUTTON"?v(e,"calcite-radio-button-group"):e}var A=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function p(e){let t=e?.target,a=t?.validationMessage,n=y(t?.parentElement);if(!n)return;let i=n?.nodeName?.toLowerCase(),o=i?.split("-");if(o.length<2||o[0]!=="calcite")return;e?.preventDefault(),"validity"in n&&(n.validity=t?.validity),n.dispatchEvent(A),R(n,{message:a,icon:!0,status:"invalid"});let l=H(i);n.addEventListener(l,()=>{"status"in n&&(n.status="idle"),"validationIcon"in n&&(n.validationIcon===""||n.validationIcon===!0)&&(n.validationIcon=!1),"validationMessage"in n&&n.validationMessage===a&&(n.validationMessage=""),"validity"in n&&(n.validity=t?.validity)},{once:!0})}function x(e){let{formEl:t}=e;return t?(t.addEventListener("invalid",p,!0),t.requestSubmit(),t.removeEventListener("invalid",p,!0),requestAnimationFrame(()=>{let a=t.querySelectorAll("[status=invalid]");for(let n of a)if(n?.validationMessage){n?.setFocus();break}}),!0):!1}function D(e){e.formEl?.reset()}function W(e){let{el:t,value:a}=e,n=w(e);if(!n||L(n,t))return;e.formEl=n,e.defaultValue=a,E(e)&&(e.defaultChecked=e.checked);let i=q.bind(e);n.addEventListener("reset",i),h.set(e.el,i),g.add(t)}function w(e){let{el:t,form:a}=e;return a?C(t,{id:a}):v(t,"form")}function q(){if("status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),E(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue,this.onFormReset?.()}function O(e){let{el:t,formEl:a}=e;if(!a)return;let n=h.get(t);a.removeEventListener("reset",n),h.delete(t),e.formEl=null,g.delete(t)}function B(e,t){e.defaultValue=t}var P="calciteInternalHiddenInputInput",k=e=>{e.target.dispatchEvent(new CustomEvent(P,{bubbles:!0}))},F=e=>e.removeEventListener("input",k);function N(e){let{el:t,formEl:a,name:n,value:i}=e,{ownerDocument:o}=t;if(!1)return;let l=t.querySelectorAll(`input[slot="${m}"]`);if(!a||!n){l.forEach(s=>{F(s),s.remove()});return}let f=Array.isArray(i)?i:[i],d=[],u=new Set;l.forEach(s=>{let r=f.find(M=>M==s.value);r!=null?(u.add(r),b(e,s,r)):d.push(s)});let c;f.forEach(s=>{if(u.has(s))return;let r=d.pop();r||(r=o.createElement("input"),r.ariaHidden="true",r.slot=m),c||(c=o.createDocumentFragment()),c.append(r),r.addEventListener("input",k),b(e,r,s)}),c&&t.append(c),d.forEach(s=>{F(s),s.remove()})}function b(e,t,a){let{defaultValue:n,disabled:i,form:o,name:l,required:f}=e;t.defaultValue=n,t.disabled=i,t.name=l,t.required=f,t.tabIndex=-1,o?t.setAttribute("form",o):t.removeAttribute("form"),E(e)?(t.checked=e.checked,t.defaultChecked=e.defaultChecked,t.value=e.checked?a||"on":""):t.value=a||"",e.syncHiddenFormInput?.(t);let d=y(e.el);if(d&&"validity"in d)for(let u in{...t?.validity})d.validity[u]=t.validity[u]}var U=({component:e})=>(N(e),I`<slot name=${m}></slot>`);export{x as a,D as b,W as c,w as d,O as e,B as f,P as g,U as h};
3
+ v3.2.0-next.40 */
4
+ import{j as C,k as v}from"./4JEZM6VX.js";import{g as I}from"./EYWRTO2E.js";var V=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"];function H(e){return`${e.split("-").map((n,i)=>i===0?n:`${n[0].toUpperCase()}${n.slice(1)}`).join("")}${V.includes(e)?"Input":"Change"}`}var m="hidden-form-input";function E(e){return"checked"in e}var h=new WeakMap,g=new WeakSet;function L(e,t){if(v(t.parentElement,"[form]"))return!0;let n="calciteInternalFormComponentRegister",i=!1;return e.addEventListener(n,o=>{i=o.composedPath().some(l=>g.has(l)),o.stopPropagation()},{once:!0}),t.dispatchEvent(new CustomEvent(n,{bubbles:!0,composed:!0})),i}function R(e,{status:t,message:a,icon:n}){"status"in e&&(e.status=t),"validationIcon"in e&&typeof e.validationIcon!="string"&&(e.validationIcon=n),"validationMessage"in e&&!e.validationMessage&&(e.validationMessage=a)}function y(e){return e.nodeName==="CALCITE-RADIO-BUTTON"?v(e,"calcite-radio-button-group"):e}var A=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function p(e){let t=e?.target,a=t?.validationMessage,n=y(t?.parentElement);if(!n)return;let i=n?.nodeName?.toLowerCase(),o=i?.split("-");if(o.length<2||o[0]!=="calcite")return;e?.preventDefault(),"validity"in n&&(n.validity=t?.validity),n.dispatchEvent(A),R(n,{message:a,icon:!0,status:"invalid"});let l=H(i);n.addEventListener(l,()=>{"status"in n&&(n.status="idle"),"validationIcon"in n&&(n.validationIcon===""||n.validationIcon===!0)&&(n.validationIcon=!1),"validationMessage"in n&&n.validationMessage===a&&(n.validationMessage=""),"validity"in n&&(n.validity=t?.validity)},{once:!0})}function x(e){let{formEl:t}=e;return t?(t.addEventListener("invalid",p,!0),t.requestSubmit(),t.removeEventListener("invalid",p,!0),requestAnimationFrame(()=>{let a=t.querySelectorAll("[status=invalid]");for(let n of a)if(n?.validationMessage){n?.setFocus();break}}),!0):!1}function D(e){e.formEl?.reset()}function W(e){let{el:t,value:a}=e,n=w(e);if(!n||L(n,t))return;e.formEl=n,e.defaultValue=a,E(e)&&(e.defaultChecked=e.checked);let i=q.bind(e);n.addEventListener("reset",i),h.set(e.el,i),g.add(t)}function w(e){let{el:t,form:a}=e;return a?C(t,{id:a}):v(t,"form")}function q(){if("status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),E(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue,this.onFormReset?.()}function O(e){let{el:t,formEl:a}=e;if(!a)return;let n=h.get(t);a.removeEventListener("reset",n),h.delete(t),e.formEl=null,g.delete(t)}function B(e,t){e.defaultValue=t}var P="calciteInternalHiddenInputInput",k=e=>{e.target.dispatchEvent(new CustomEvent(P,{bubbles:!0}))},F=e=>e.removeEventListener("input",k);function N(e){let{el:t,formEl:a,name:n,value:i}=e,{ownerDocument:o}=t;if(!1)return;let l=t.querySelectorAll(`input[slot="${m}"]`);if(!a||!n){l.forEach(s=>{F(s),s.remove()});return}let f=Array.isArray(i)?i:[i],d=[],u=new Set;l.forEach(s=>{let r=f.find(M=>M==s.value);r!=null?(u.add(r),b(e,s,r)):d.push(s)});let c;f.forEach(s=>{if(u.has(s))return;let r=d.pop();r||(r=o.createElement("input"),r.ariaHidden="true",r.slot=m),c||(c=o.createDocumentFragment()),c.append(r),r.addEventListener("input",k),b(e,r,s)}),c&&t.append(c),d.forEach(s=>{F(s),s.remove()})}function b(e,t,a){let{defaultValue:n,disabled:i,form:o,name:l,required:f}=e;t.defaultValue=n,t.disabled=i,t.name=l,t.required=f,t.tabIndex=-1,o?t.setAttribute("form",o):t.removeAttribute("form"),E(e)?(t.checked=e.checked,t.defaultChecked=e.defaultChecked,t.value=e.checked?a||"on":""):t.value=a||"",e.syncHiddenFormInput?.(t);let d=y(e.el);if(d&&"validity"in d)for(let u in{...t?.validity})d.validity[u]=t.validity[u]}var U=({component:e})=>(N(e),I`<slot name=${m}></slot>`);export{x as a,D as b,W as c,w as d,O as e,B as f,P as g,U as h};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
4
+ import{a as v}from"./TGPFQVI3.js";import{a as I}from"./YCAEPRM6.js";import{d as c}from"./6Z2B5YPT.js";import{a as M}from"./KTZK563F.js";import{a as A}from"./FEMPCZLV.js";import{a as B}from"./6JABLZT7.js";import{a as C}from"./PNGIMH3C.js";import{a as T}from"./VYNVOZVL.js";import{a as P}from"./7EKOSZOZ.js";import{a as S,b as y}from"./6P5PSH65.js";import{D as b,n as E}from"./4JEZM6VX.js";import{d as O}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{G as r,K as $,e as k,g as x,w as f,x as D,y as u}from"./EYWRTO2E.js";var m={dialog:"dialog",panel:"panel",scrim:"scrim",container:"container",containerOpen:"container--open",containerEmbedded:"container--embedded",assistiveText:"assistive-text",openingActive:"dialog--opening-active"},o={actionBar:"action-bar",alerts:"alerts",content:"content",customContent:"custom-content",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerStart:"footer-start",footerEnd:"footer-end"},L={x:null,y:null},R={top:null,right:null,bottom:null,left:null},F=k`:host{--calcite-dialog-scrim-background-color: rgba(0, 0, 0, .85);pointer-events:none;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;--calcite-internal-dialog-animation-offset: 20px}:host([modal]){position:absolute}.container{pointer-events:auto;position:fixed;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}:host([placement=top]) .container{align-items:flex-start;justify-content:center}:host([placement=top-start]) .container{align-items:flex-start;justify-content:flex-start}:host([placement=top-end]) .container{align-items:flex-start;justify-content:flex-end}:host([placement=bottom]) .container{align-items:flex-end;justify-content:center}:host([placement=bottom-start]) .container{align-items:flex-end;justify-content:flex-start}:host([placement=bottom-end]) .container{align-items:flex-end;justify-content:flex-end}:host(:not([modal])) .container{pointer-events:none}:host([scale=s]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-sm));--calcite-internal-dialog-min-size-x: 198px;--calcite-internal-dialog-min-size-y: 140px}:host([scale=m]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md));--calcite-internal-dialog-min-size-x: 288px;--calcite-internal-dialog-min-size-y: 180px}:host([scale=l]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md-plus));--calcite-internal-dialog-min-size-x: 388px;--calcite-internal-dialog-min-size-y: 220px}.scrim{--calcite-scrim-background: var(--calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim));--calcite-scrim-background-color: var( --calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim) );position:fixed;inset:0;display:flex;overflow-y:hidden}calcite-panel{--calcite-panel-content-space: var(--calcite-dialog-content-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-footer-space: var(--calcite-dialog-footer-space);--calcite-panel-border-color: var(--calcite-dialog-border-color);--calcite-panel-background-color: var(--calcite-dialog-background-color, var(--calcite-color-foreground-1))}::slotted(*){--calcite-panel-background-color: initial}.dialog{pointer-events:none;position:relative;z-index:var(--calcite-z-index-modal);margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;border-radius:.25rem;opacity:0;--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);-webkit-overflow-scrolling:touch;visibility:hidden;transition:inset-block var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);min-inline-size:var(--calcite-dialog-min-size-x, var(--calcite-internal-dialog-min-size-x));max-inline-size:var(--calcite-dialog-max-size-x, 100%);min-block-size:var(--calcite-dialog-min-size-y, var(--calcite-internal-dialog-min-size-y));max-block-size:var(--calcite-dialog-max-size-y, 100%);--calcite-internal-dialog-hidden-position: calc( var(--calcite-dialog-offset-y, 0px) + var(--calcite-internal-dialog-animation-offset) );--calcite-internal-dialog-shown-position: var(--calcite-dialog-offset-y, 0);inset-inline-start:var(--calcite-dialog-offset-x, 0);inset-block-start:var(--calcite-internal-dialog-hidden-position)}.dialog--opening-active{inset-block-start:var(--calcite-internal-dialog-shown-position)}:host([menu-open]) .dialog{transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}.panel{border-radius:.25rem}.container--open{opacity:1;visibility:visible;transition-delay:0ms}.container--open .dialog{pointer-events:auto;visibility:visible;opacity:1;transition:inset-block var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}.width-s{inline-size:auto;inline-size:var(--calcite-dialog-size-x, 32rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 35rem){.width-s{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-s.dialog--opening-active{inset-block-start:0}}.width-m{inline-size:var(--calcite-dialog-size-x, 48rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 51rem){.width-m{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-m.dialog--opening-active{inset-block-start:0}}.width-l{inline-size:var(--calcite-dialog-size-x, 94rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 97rem){.width-l{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-l.dialog--opening-active{inset-block-start:0}}:host([placement=cover]) .dialog{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0}:host([placement=cover]) .panel{border-radius:0}:host([kind]) .panel{border-start-start-radius:0px;border-start-end-radius:0px}:host([kind=brand]) .dialog{border-color:var(--calcite-color-brand)}:host([kind=danger]) .dialog{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .dialog{border-color:var(--calcite-color-status-info)}:host([kind=success]) .dialog{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .dialog{border-color:var(--calcite-color-status-warning)}:host([kind=brand][open]) .dialog,:host([kind=danger][open]) .dialog,:host([kind=info][open]) .dialog,:host([kind=success][open]) .dialog,:host([kind=warning][open]) .dialog{border-width:0px;border-block-start-width:4px;border-style:solid}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}.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}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends D{constructor(){super(...arguments),this.dragPosition={...L},this.focusTrap=M({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:()=>!this.modal||this.embedded,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.usePreventDocumentScroll=I()(this),this.ignoreOpenChange=!1,this.mutationObserver=T("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openProp="opened",this.transitionProp="opacity",this.panelEl=S(),this.resizePosition={...R},this.assistiveText=null,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasFooter=!0,this.opened=!1,this.closeDisabled=!1,this.dragEnabled=!1,this.embedded=!1,this.escapeDisabled=!1,this.loading=!1,this.menuOpen=!1,this.messages=P(),this.modal=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.overlayPositioning="absolute",this.placement="center",this.resizable=!1,this.scale="m",this.widthScale="m",this.calciteDialogBeforeClose=f({cancelable:!1}),this.calciteDialogBeforeOpen=f({cancelable:!1}),this.calciteDialogClose=f({cancelable:!1}),this.calciteDialogOpen=f({cancelable:!1}),this.calciteDialogScroll=f({cancelable:!1})}static{this.properties={assistiveText:[16,{state:!0}],hasContentBottom:[16,{state:!0}],hasContentTop:[16,{state:!0}],hasFooter:[16,{state:!0}],opened:[16,{state:!0}],preventDocumentScroll:[16,{state:!0}],beforeClose:[0,{attribute:!1}],closeDisabled:[7,{reflect:!0,type:Boolean}],description:1,dragEnabled:[7,{reflect:!0,type:Boolean}],embedded:[5,{type:Boolean}],escapeDisabled:[7,{reflect:!0,type:Boolean}],focusTrapOptions:[0,{attribute:!1}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],kind:[3,{reflect:!0}],loading:[7,{reflect:!0,type:Boolean}],menuOpen:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],modal:[7,{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{reflect:!0,type:Boolean}],open:[7,{reflect:!0,type:Boolean}],outsideCloseDisabled:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],placement:[3,{reflect:!0}],resizable:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],widthScale:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=F}get preventDocumentScroll(){return!this.embedded&&this.modal}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleDialog(e))}async scrollContentTo(e){await this.panelEl.value?.scrollContentTo(e)}async setFocus(){return await O(this),this.panelEl.value?.setFocus()??E(this.el)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}focusTrapDisabledOverride(){return!this.modal&&this.focusTrapDisabled}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setupInteractions()}willUpdate(e){(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("placement")&&(this.hasUpdated||this.placement!=="center")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1)||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.setupInteractions(),(e.has("messages")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1)||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.updateAssistiveText(),e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&this.handleOpenedChange(this.opened)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.embedded=!1,this.cleanupInteractions()}updateAssistiveText(){let{messages:e}=this;this.assistiveText=e&&(this.dragEnabled||this.resizable)?`${this.dragEnabled?e.dragEnabled:""} ${this.resizable?e.resizeEnabled:""}`:null}onBeforeOpen(){this.calciteDialogBeforeOpen.emit()}onOpen(){this.focusTrapDisabled&&this.setFocus(),this.focusTrap.activate(),this.calciteDialogOpen.emit()}onBeforeClose(){this.calciteDialogBeforeClose.emit()}onClose(){this.focusTrap.deactivate(),this.calciteDialogClose.emit()}toggleDialog(e){this.ignoreOpenChange||(e?this.openDialog():this.closeDialog())}handleOpenedChange(e){let{transitionEl:t}=this;t&&(t.classList.toggle(m.openingActive,e),B(this))}async triggerInteractModifiers(){let{interaction:e}=this;e&&(await e.reflow({name:"drag"}),await e.reflow({name:"resize"}))}getTransitionElDOMRect(){return this.transitionEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,shiftKey:i,defaultPrevented:a}=e,{dragEnabled:n,resizable:l,resizePosition:d,dragPosition:s,transitionEl:h}=this;if(!(a||!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t)))switch(t){case"ArrowUp":i&&l&&h?(this.updateSize({size:this.getTransitionElDOMRect().height-r,type:"blockSize"}),d.bottom-=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):n&&(s.y-=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowDown":i&&l&&h?(this.updateSize({size:this.getTransitionElDOMRect().height+r,type:"blockSize"}),d.bottom+=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):n&&(s.y+=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowLeft":i&&l&&h?(this.updateSize({size:this.getTransitionElDOMRect().width-r,type:"inlineSize"}),d.right-=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):n&&(s.x-=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowRight":i&&l&&h?(this.updateSize({size:this.getTransitionElDOMRect().width+r,type:"inlineSize"}),d.right+=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):n&&(s.x+=r,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break}}updateTransform(){let{dragPosition:{x:e,y:t},resizePosition:i,transitionEl:a,dragEnabled:n,resizable:l}=this;if(!a)return;if(!n&&!l){a.style.transform=null;return}let{top:d,right:s,bottom:h,left:z}=this.getAdjustedResizePosition(i),g=Math.round(e+z+s),p=Math.round(t+d+h);a.style.transform=g||p?`translate(${g}px, ${p}px)`:null}updateSize({type:e,size:t}){let{transitionEl:i}=this;i&&(i.style[e]=t!==null?`${Math.round(t)}px`:null)}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"}),this.dragPosition={...L},this.resizePosition={...R},this.updateTransform()}async setupInteractions(){this.cleanupInteractions();let{el:e,transitionEl:t,resizable:i,dragEnabled:a,resizePosition:n,dragPosition:l}=this;if(!(!t||!this.open)){if((i||a)&&(this.interaction=v(t,{context:e.ownerDocument})),i){await this.el.componentOnReady();let{minInlineSize:d,minBlockSize:s,maxInlineSize:h,maxBlockSize:z}=window.getComputedStyle(t);this.interaction.resizable({edges:{top:!0,right:!0,bottom:!0,left:!0},modifiers:[v.modifiers.restrictSize({min:{width:b(d),height:b(s)},max:{width:b(h)||window.innerWidth,height:b(z)||window.innerHeight}}),v.modifiers.restrict({restriction:"parent"})],listeners:{move:({rect:g,deltaRect:p})=>{p&&(n.top+=p.top,n.right+=p.right,n.bottom+=p.bottom,n.left+=p.left),this.updateSize({size:g.width,type:"inlineSize"}),this.updateSize({size:g.height,type:"blockSize"}),this.updateTransform()}}})}a&&this.interaction.draggable({modifiers:[v.modifiers.restrictRect({restriction:"parent"})],listeners:{move:({dx:d,dy:s})=>{l.x+=d,l.y+=s,this.updateTransform()}}})}}getAdjustedResizePosition({top:e,right:t,bottom:i,left:a}){let n=e/2,l=t/2,d=i/2,s=a/2;switch(this.placement){case"top":return{top:e,right:l,bottom:0,left:s};case"top-start":return{top:e,right:0,bottom:0,left:a};case"top-end":return{top:e,right:t,bottom:0,left:0};case"bottom":return{top:0,right:l,bottom:i,left:s};case"bottom-start":return{top:0,right:0,bottom:i,left:a};case"bottom-end":return{top:0,right:t,bottom:i,left:0};case"cover":case"center":default:return{top:n,right:l,bottom:d,left:s}}}setTransitionEl(e){e&&(this.transitionEl=e,this.setupInteractions())}handleInternalPanelScroll(e){e.target===this.panelEl.value&&(e.stopPropagation(),this.calciteDialogScroll.emit())}handleInternalPanelCloseClick(e){e.target===this.panelEl.value&&(e.stopPropagation(),this.open=!1)}handlePanelKeyDown(e){this.escapeDisabled&&e.key==="Escape"&&e.preventDefault()}async openDialog(){await this.componentOnReady(),this.opened=!0}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeDialog(){if(this.beforeClose)try{await this.beforeClose()}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}this.opened=!1}handleMutationObserver(){this.focusTrap.updateContainerElements()}render(){let{assistiveText:e,description:t,heading:i,opened:a}=this;return x`<div class=${u({[m.container]:!0,[m.containerOpen]:a,[m.containerEmbedded]:this.embedded})}>${this.modal?x`<calcite-scrim class=${u(m.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>`:null}<div .ariaDescription=${t} .ariaLabel=${i} .ariaModal=${this.modal} class=${u({[m.dialog]:!0,[A("width",this.width,this.widthScale)]:!!(this.width||this.widthScale)})} @keydown=${this.handleKeyDown} role=dialog ${y(this.setTransitionEl)}>${e?C("assistive-text",x`<div aria-live=polite class=${u(m.assistiveText)}>${e}</div>`):null}<slot name=${o.customContent}><slot name=${o.content}><calcite-panel .beforeClose=${this.beforeClose} class=${u(m.panel)} .closable=${!this.closeDisabled} .closed=${!a} .description=${t} .heading=${i} .headingLevel=${this.headingLevel} .loading=${this.loading} .menuOpen=${this.menuOpen} .messageOverrides=${this.messageOverrides} @keydown=${this.handlePanelKeyDown} @calcitePanelClose=${this.handleInternalPanelCloseClick} @calcitePanelScroll=${this.handleInternalPanelScroll} .overlayPositioning=${this.overlayPositioning} .scale=${this.scale} ${y(this.panelEl)}><slot name=${o.actionBar} slot=${c.actionBar}></slot><slot name=${o.alerts} slot=${c.alerts}></slot><slot name=${o.headerActionsStart} slot=${c.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${c.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${c.headerContent}></slot><slot name=${o.headerMenuActions} slot=${c.headerMenuActions}></slot><slot name=${o.fab} slot=${c.fab}></slot><slot name=${o.contentTop} slot=${c.contentTop}></slot><slot name=${o.contentBottom} slot=${c.contentBottom}></slot><slot name=${o.footerStart} slot=${c.footerStart}></slot><slot name=${o.footer} slot=${c.footer}></slot><slot name=${o.footerEnd} slot=${c.footerEnd}></slot><slot></slot></calcite-panel></slot></slot></div></div>`}};$("calcite-dialog",w);export{w as Dialog};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as A,b as $,c as me,d as pe,e as fe,f as O,g as T,h as ge,i as ve,j as E,k as be,m as Se,n as B}from"./LAKJK7HL.js";import{a as he}from"./BIXOQRWX.js";import{b as f,c as V}from"./XLQJWLJR.js";import{b as h}from"./7CQ233AJ.js";import{a as de}from"./I4FISWDK.js";import{a as ne,c as re,e as le,h as ce}from"./3VLVDWSS.js";import{c as se,d as ae,e as oe}from"./7T7MTXSU.js";import{a as ue}from"./LIPUTT6N.js";import{a as ee,b as te}from"./DTAEBKT4.js";import{b as z}from"./GTUVAAAD.js";import{a as ie}from"./24OTRUCC.js";import{b as v}from"./U2YGN4RT.js";import{e as Q,n as X}from"./LLN5DNPL.js";import{a as Y,d as Z}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{C as G,K as J,a as q,e as j,g,k as c,w as S,x as W,y as u}from"./MZMZSY5A.js";var N=class extends q{constructor(){super(...arguments),this.calciteTimeChange=S(),this.localizedDecimalSeparator=".",this.userChangedValue=!1,this.handleHourKeyDownEvent=e=>{let i=e.key;if(z.includes(i)){let t=parseInt(i),s;if(h(this.hour))switch(this.hourFormat){case"12":s=this.hour==="01"&&t>=0&&t<=2?`1${t}`:t;break;case"24":this.hour==="01"?s=`1${t}`:this.hour==="02"&&t>=0&&t<=3?s=`2${t}`:s=t;break}else s=t;this.setValuePart("hour",s)}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault(),this.decrementHour();break;case"ArrowUp":e.preventDefault(),this.incrementHour();break;case" ":case"Spacebar":e.preventDefault();break}},this.handleMinuteKeyDownEvent=e=>{let i=e.key;if(z.includes(i)){let t=parseInt(i),s;if(h(this.minute)&&this.minute.startsWith("0")){let a=parseInt(this.minute);s=a>A?t:`${a}${t}`}else s=t;this.setValuePart("minute",s)}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault(),this.decrementMinute();break;case"ArrowUp":e.preventDefault(),this.incrementMinute();break;case" ":case"Spacebar":e.preventDefault();break}},this.handleSecondKeyDownEvent=e=>{let i=e.key;if(z.includes(i)){let t=parseInt(i),s;if(h(this.second)&&this.second.startsWith("0")){let a=parseInt(this.second);s=a>A?t:`${a}${t}`}else s=t;this.setValuePart("second",s)}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("second",null);break;case"ArrowDown":e.preventDefault(),this.decrementSecond();break;case"ArrowUp":e.preventDefault(),this.incrementSecond();break;case" ":case"Spacebar":e.preventDefault();break}},this.handleFractionalSecondKeyDownEvent=e=>{let{key:i}=e;if(z.includes(i)){let t=f(this.component.step),s=parseInt(this.fractionalSecond),a=s.toString().length,r;a>=t?r=i.padStart(t,"0"):a<t&&(r=`${s}${i}`.padStart(t,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${r}`))}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("fractionalSecond",null);break;case"ArrowDown":e.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":e.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":e.preventDefault();break}},this.handleMeridiemKeyDownEvent=e=>{switch(e.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("meridiem");break;case"ArrowUp":case"ArrowDown":e.preventDefault(),this.toggleMeridiem(e.key);break;case" ":case"Spacebar":e.preventDefault();break}}}hostConnected(){this.setHourFormat(),this.setMeridiemOrder(),this.setValue(this.component.value)}hostUpdate(e){if(e.has("hourFormat")&&(this.setHourFormat(),this.setValue(this.component.value)),e.has("messages")&&e.get("messages")?._lang!==this.component.messages._lang&&(this.setHourFormat(),this.setMeridiemOrder(),this.setValue(this.component.value)),e.has("numberingSystem")&&this.setValue(this.component.value),e.has("step")){let i=this.component.step,t=e.get("step");(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValue(this.component.value)}}decrementHour(){let e=this.hour?this.hour==="00"?23:parseInt(this.hour)-1:0;this.setValuePart("hour",e)}decrementMinute(){this.decrementMinuteOrSecond("minute")}decrementMinuteOrSecond(e){let i;if(h(this[e])){let t=parseInt(this[e]);i=t===0?59:t-1}else i=59;this.setValuePart(e,i)}decrementSecond(){this.decrementMinuteOrSecond("second")}incrementHour(){let e=h(this.hour)?this.hour==="23"?0:parseInt(this.hour)+1:1;this.setValuePart("hour",e)}incrementMinute(){this.incrementMinuteOrSecond("minute")}incrementMinuteOrSecond(e){let i=h(this[e])?this[e]==="59"?0:parseInt(this[e])+1:0;this.setValuePart(e,i)}incrementSecond(){this.incrementMinuteOrSecond("second")}nudgeFractionalSecond(e){let i=V(this.component.step),t=f(this.component.step),s=parseInt(this.fractionalSecond),a=parseFloat(`0.${this.fractionalSecond}`),r,n,l,d;e==="up"&&(r=isNaN(s)?0:a+i,n=parseFloat(r.toFixed(t)),l=V(n),d=n<1&&f(l)>0?$(l,t):"".padStart(t,"0")),e==="down"&&(r=isNaN(s)||s===0?1-i:a-i,n=parseFloat(r.toFixed(t)),l=V(n),d=n<1&&f(l)>0&&Math.sign(l)===1?$(l,t):"".padStart(t,"0")),this.setValuePart("fractionalSecond",d)}setHourFormat(){let{hourFormat:e,messages:i}=this.component,t=i._lang;this.hourFormat=e==="user"?me(t):e}setMeridiemOrder(){let{messages:e}=this.component,i=e._lang;this.meridiemOrder=ge(i)}toggleMeridiem(e){let i;this.meridiem?i=this.meridiem==="AM"?"PM":"AM":i=e==="ArrowDown"?"PM":"AM",this.setValuePart("meridiem",i)}setValue(e,i=!1){let{messages:t,numberingSystem:s,step:a,value:r}=this.component,n=t._lang,l=this.hourFormat==="12",d=B(e,a);if(ve(e)){let{hour:w,minute:x,second:b,fractionalSecond:k}=Se(d,a),{localizedHour:y,localizedHourSuffix:p,localizedMinute:m,localizedMinuteSuffix:H,localizedSecond:D,localizedDecimalSeparator:C,localizedFractionalSecond:F,localizedSecondSuffix:M,localizedMeridiem:P}=be({hour12:l,locale:n,numberingSystem:s,parts:!0,step:a,value:d});this.hour=w,this.minute=x,this.second=b,this.fractionalSecond=k,this.localizedHour=y,this.localizedHourSuffix=p,this.localizedMinute=m,this.localizedMinuteSuffix=H,this.localizedSecond=D,this.localizedDecimalSeparator=C,this.localizedFractionalSecond=F,this.localizedSecondSuffix=M,P&&(this.meridiem=T(this.hour),this.localizedMeridiem=P)}else this.hour=null,this.minute=null,this.second=null,this.fractionalSecond=null,this.meridiem=null,this.localizedHour=null,this.localizedHourSuffix=O("hour",n,s),this.localizedMinute=null,this.localizedMinuteSuffix=O("minute",n,s),this.localizedSecond=null,this.localizedDecimalSeparator=fe(n,s),this.localizedFractionalSecond=null,this.localizedSecondSuffix=O("second",n,s),this.localizedMeridiem=null;d!==r?(this.userChangedValue=i,this.component.value=d??""):this.component.requestUpdate()}setValuePart(e,i){let{hourFormat:t}=this,{messages:s,numberingSystem:a,step:r}=this.component,n=s._lang,l=t==="12",d=this.component.value;if(e==="meridiem"){let p=this.meridiem;if(this.meridiem=i,this.localizedMeridiem=E({hour12:l,locale:n,numberingSystem:a,part:"meridiem",value:this.meridiem}),h(this.hour)){let m=parseInt(this.hour);switch(i){case"AM":m>=12&&(this.hour=$(m-12));break;case"PM":m<12&&(this.hour=$(m+12));break;default:this.component.value="";break}this.localizedHour=E({hour12:l,locale:n,numberingSystem:a,part:"hour",value:this.hour})}p!==this.meridiem&&this.component.requestUpdate()}else if(e==="fractionalSecond"){let p=this.fractionalSecond,m=f(r);typeof i=="number"?this.fractionalSecond=i===0?"".padStart(m,"0"):$(i,m):this.fractionalSecond=i,this.localizedFractionalSecond=E({value:this.fractionalSecond,part:"fractionalSecond",locale:n,numberingSystem:a,hour12:l}),p!==this.fractionalSecond&&this.component.requestUpdate()}else{let p=this[e];this[e]=typeof i=="number"?$(i):i,this[`localized${ue(e)}`]=E({value:this[e],part:e,locale:n,numberingSystem:a,hour12:l}),p!==this[e]&&this.component.requestUpdate()}let{hour:w,minute:x,second:b,fractionalSecond:k}=this,y=B({hour:w,minute:x,second:b,fractionalSecond:k},r);d!==y&&(e==="hour"&&t==="12"&&(this.meridiem=T(w),this.localizedMeridiem=pe({locale:n,meridiem:this.meridiem})),this.userChangedValue=!0,this.calciteTimeChange.emit(y??""))}},xe=j`: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}.container{--calcite-icon-color: var(--calcite-color-text-3);align-items:center;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-border-input);box-sizing:border-box;display:flex;color:var(--calcite-color-text-1);flex-wrap:nowrap;font-weight:var(--calcite-font-weight-normal);inline-size:100%;padding-block:var(--calcite-spacing-base);-webkit-user-select:none;user-select:none}.container:focus-within{border-color:var(--calcite-color-brand);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))))}.container.read-only{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.input-container{display:flex;flex-grow:1}.input{align-items:center;display:flex;block-size:100%;justify-content:center;min-inline-size:max-content}.input.empty{inline-size:var(--calcite-spacing-xl)}.input:focus,.input:hover:focus{background-color:Highlight;outline:2px solid transparent;outline-offset:2px}.toggle-icon{align-items:center;block-size:24px;cursor:pointer;display:flex;inline-size:24px;justify-content:center}.toggle-icon:hover{--calcite-icon-color: var(--calcite-color-text-1)}.meridiem--start{margin-inline-end:var(--calcite-spacing-xxs)}.meridiem--end{margin-inline-start:var(--calcite-spacing-xxs)}:host([scale=s]) .container{block-size:1.5rem;font-size:var(--calcite-font-size-sm);gap:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .input-container{line-height:1rem}:host([scale=m]) .container{block-size:2rem;font-size:var(--calcite-font-size);gap:var(--calcite-spacing-md);padding-inline-start:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .input-container{line-height:1.5rem}:host([scale=l]) .container{block-size:2.75rem;font-size:var(--calcite-font-size-md);gap:var(--calcite-spacing-lg);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .input-container{line-height:2.25rem}:host([status=invalid]) .container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) .container:focus-within{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,o={clockIcon:"clock-icon",container:"container",decimalSeparator:"decimal-separator",empty:"empty",fractionalSecond:"fractional-second",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputContainer:"input-container",meridiem:"meridiem",meridiemStart:"meridiem--start",meridiemEnd:"meridiem--end",minute:"minute",minuteSuffix:"minute-suffix",readOnly:"read-only",second:"second",secondSuffix:"second-suffix",toggleIcon:"toggle-icon"},Fe={validationMessage:"inputTimePickerValidationMessage"},L=class extends W{constructor(){super(),this.disabled=!1,this.focusTrapDisabled=!1,this.hourFormat="user",this.messages=ie(),this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=60,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.calciteInputTimePickerBeforeClose=S({cancelable:!1}),this.calciteInputTimePickerBeforeOpen=S({cancelable:!1}),this.calciteInputTimePickerChange=S(),this.calciteInputTimePickerClose=S({cancelable:!1}),this.calciteInputTimePickerOpen=S({cancelable:!1}),this.time=new N(this),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listenOn(window,"calciteTimeChange",this.timeChangeHandler)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hourFormat:[3,{reflect:!0}],max:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],min:[3,{reflect:!0}],name:1,numberingSystem:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:1,placement:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:G}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}async reposition(e=!1){this.popoverEl?.reposition(e)}async setFocus(){await Z(this),X(this.el)}connectedCallback(){super.connectedCallback(),se(this),re(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&(this.disabled||(this.open=!1)),e.has("readOnly")&&(this.hasUpdated||this.readOnly!==!1)&&(this.readOnly||(this.open=!1)),e.has("value")&&(this.hasUpdated?this.time.userChangedValue||(this.time.setValue(this.value),this.previousEmittedValue=this.value):this.previousEmittedValue=this.value)}updated(){ee(this)}disconnectedCallback(){super.disconnectedCallback(),ae(this),le(this)}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=xe}blurHandler(){this.changeEventHandler()}changeEventHandler(){let{previousEmittedValue:e,value:i}=this;e!==i&&(this.calciteInputTimePickerChange.emit().defaultPrevented?this.time.setValue(this.previousEmittedValue):this.previousEmittedValue=i)}keyDownHandler(e){let{defaultPrevented:i,key:t}=e,{hourFormat:s,meridiemOrder:a}=this.time;if(!i)if(t==="Enter")ne(this)&&e.preventDefault(),this.changeEventHandler();else if(this.open&&this.focusTrapDisabled&&t==="Escape")this.open=!1,e.preventDefault();else{let r=f(this.step)>0,n=this.step<60;switch(this.activeEl){case this.hourEl:t==="ArrowRight"?this.setFocusPart("minute"):t==="ArrowLeft"&&s==="12"&&a===0&&this.setFocusPart("meridiem");break;case this.minuteEl:switch(t){case"ArrowLeft":this.setFocusPart("hour");break;case"ArrowRight":this.step!==60?this.setFocusPart("second"):s==="12"&&this.setFocusPart("meridiem");break}break;case this.secondEl:switch(t){case"ArrowLeft":this.setFocusPart("minute");break;case"ArrowRight":f(this.step)>0?this.setFocusPart("fractionalSecond"):s==="12"&&this.setFocusPart("meridiem");break}break;case this.fractionalSecondEl:switch(t){case"ArrowLeft":this.setFocusPart("second");break;case"ArrowRight":s==="12"&&a!==0&&this.setFocusPart("meridiem");break}break;case this.meridiemEl:t==="ArrowLeft"&&a!==0?r?this.setFocusPart("fractionalSecond"):n?this.setFocusPart("second"):this.setFocusPart("minute"):t==="ArrowRight"&&a===0&&this.setFocusPart("hour");break}}}onLabelClick(){this.setFocus()}openHandler(){this.disabled||this.readOnly||this.popoverEl&&(this.popoverEl.open=this.open)}popoverBeforeOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()}popoverOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerOpen.emit()}popoverBeforeCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()}popoverCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerClose.emit(),this.open=!1}setCalcitePopoverEl(e){this.popoverEl=e,this.openHandler()}setContainerEl(e){this.containerEl=e}async setFocusPart(e){this[`${e||"hour"}El`]?.focus()}setFractionalSecondEl(e){this.fractionalSecondEl=e}setHourEl(e){this.hourEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setMeridiemEl(e){this.meridiemEl=e}syncHiddenFormInput(e){he("time",this,e)}timeChangeHandler({detail:e}){e!==this.value&&(this.value=e)}timePartFocusHandler(e){this.activeEl=e.currentTarget}timePickerChangeHandler(e){e.stopPropagation(),this.time.setValue(e.target.value,!0)}toggleIconClickHandler(){this.open=!this.open}render(){let{messages:e,readOnly:i,scale:t}=this,{fractionalSecond:s,handleHourKeyDownEvent:a,handleMinuteKeyDownEvent:r,handleSecondKeyDownEvent:n,handleFractionalSecondKeyDownEvent:l,hour:d,hourFormat:w,localizedDecimalSeparator:x,localizedFractionalSecond:b,localizedHour:k,localizedHourSuffix:y,localizedMinute:p,localizedMinuteSuffix:m,localizedSecond:H,localizedSecondSuffix:D,meridiemOrder:C,minute:F,second:M}=this.time,P="--",we=h(s),ke=h(d),ye=h(F),Pe=h(M),U=f(this.step)>0,K=w==="12",R=this.step<60,_=C===0||Q(this.el)==="rtl",I=!this.disabled&&!this.readOnly;return te({disabled:this.disabled,children:g`<div aria-label=${oe(this)??c} class=${u({[o.container]:!0,[o.readOnly]:i})} role=combobox ${v(this.setContainerEl)}><calcite-icon class=${u(o.clockIcon)} icon=clock .scale=${t==="l"?"m":"s"}></calcite-icon><div class=${u(o.inputContainer)} dir=ltr>${K&&_&&this.renderMeridiem("start")||""}<span aria-label=${this.messages.hour??c} aria-valuemax=23 aria-valuemin=1 aria-valuenow=${ke&&parseInt(d)||"0"} aria-valuetext=${d??c} class=${u({[o.empty]:!k,[o.hour]:!0,[o.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?a:void 0} role=spinbutton tabindex=0 ${v(this.setHourEl)}>${k||P}</span><span class=${u(o.hourSuffix)}>${y}</span><span aria-label=${this.messages.minute??c} aria-valuemax=12 aria-valuemin=1 aria-valuenow=${ye&&parseInt(F)||"0"} aria-valuetext=${F??c} class=${u({[o.empty]:!p,[o.input]:!0,[o.minute]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?r:void 0} role=spinbutton tabindex=0 ${v(this.setMinuteEl)}>${p||P}</span>${R&&g`<span class=${u(o.minuteSuffix)}>${m}</span>`||""}${R&&g`<span aria-label=${this.messages.second??c} aria-valuemax=59 aria-valuemin=0 aria-valuenow=${Pe&&parseInt(M)||"0"} aria-valuetext=${M??c} class=${u({[o.empty]:!H,[o.input]:!0,[o.second]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?n:void 0} role=spinbutton tabindex=0 ${v(this.setSecondEl)}>${H||P}</span>`||""}${U&&g`<span class=${u(o.decimalSeparator)}>${x}</span>`||""}${U&&g`<span aria-label=${this.messages.fractionalSecond??c} aria-valuemax=999 aria-valuemin=1 aria-valuenow=${we&&parseInt(s)||"0"} aria-valuetext=${b??c} class=${u({[o.empty]:!b,[o.fractionalSecond]:!0,[o.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?l:void 0} role=spinbutton tabindex=0 ${v(this.setFractionalSecondEl)}>${b||"".padStart(f(this.step),"-")}</span>`||""}${D&&g`<span class=${u(o.secondSuffix)}>${D}</span>`||""}${K&&!_&&this.renderMeridiem("end")||""}</div>${!this.readOnly&&this.renderToggleIcon(this.open)||""}</div><calcite-popover auto-close .focusTrapDisabled=${this.focusTrapDisabled} .focusTrapOptions=${{initialFocus:!1}} .label=${e.chooseTime} lang=${this.messages._lang??c} @calcitePopoverBeforeClose=${this.popoverBeforeCloseHandler} @calcitePopoverBeforeOpen=${this.popoverBeforeOpenHandler} @calcitePopoverClose=${this.popoverCloseHandler} @calcitePopoverOpen=${this.popoverOpenHandler} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .referenceElement=${this.containerEl} trigger-disabled ${v(this.setCalcitePopoverEl)}><calcite-time-picker .hourFormat=${this.time.hourFormat} lang=${this.messages._lang??c} .messageOverrides=${this.messageOverrides} .numberingSystem=${this.numberingSystem} @calciteTimePickerChange=${this.timePickerChangeHandler} .scale=${this.scale} .step=${this.step} tabindex=${(this.open?void 0:-1)??c} .value=${this.value}></calcite-time-picker></calcite-popover>${ce({component:this})}${this.validationMessage&&this.status==="invalid"?de({icon:this.validationIcon,id:Fe.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderMeridiem(e){let{handleMeridiemKeyDownEvent:i,localizedMeridiem:t,meridiem:s}=this.time,a=!this.disabled&&!this.readOnly;return g`<span aria-label=${this.messages.meridiem??c} aria-valuemax=2 aria-valuemin=1 aria-valuenow=${s==="PM"&&"2"||"1"} aria-valuetext=${s??c} class=${u({[o.empty]:!t,[o.input]:!0,[o.meridiem]:!0,[o.meridiemStart]:e==="start",[o.meridiemEnd]:e==="end"})} @focus=${this.timePartFocusHandler} @keydown=${a?i:void 0} role=spinbutton tabindex=0 ${v(this.setMeridiemEl)}>${t||"--"}</span>`}renderToggleIcon(e){return g`<span class=${u(o.toggleIcon)} @click=${this.toggleIconClickHandler}><calcite-icon .icon=${e?"chevron-up":"chevron-down"} .scale=${Y(this.scale)}></calcite-icon></span>`}};J("calcite-input-time-picker",L);export{L as InputTimePicker};
3
+ v3.2.0-next.40 */
4
+ import{a as A,b as $,c as me,d as pe,e as fe,f as O,g as T,h as ge,i as ve,j as E,k as be,m as Se,n as B}from"./KJQNKFEY.js";import{a as he}from"./RZQCIIVR.js";import{b as f,c as V}from"./JGJKOHCP.js";import{b as h}from"./XZK2I4C2.js";import{a as de}from"./5K3GZOWW.js";import{a as ne,c as re,e as le,h as ce}from"./4KFIUD2B.js";import{c as se,d as ae,e as oe}from"./FR4VAYJC.js";import{a as ue}from"./NYF6T3OI.js";import{a as ee,b as te}from"./KOH7CJJ2.js";import{b as z}from"./VIJYQUPS.js";import{a as ie}from"./7EKOSZOZ.js";import{b as v}from"./6P5PSH65.js";import{e as Q,n as X}from"./4JEZM6VX.js";import{a as Y,d as Z}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{C as G,K as J,a as q,e as j,g,k as c,w as S,x as W,y as u}from"./EYWRTO2E.js";var N=class extends q{constructor(){super(...arguments),this.calciteTimeChange=S(),this.localizedDecimalSeparator=".",this.userChangedValue=!1,this.handleHourKeyDownEvent=e=>{let i=e.key;if(z.includes(i)){let t=parseInt(i),s;if(h(this.hour))switch(this.hourFormat){case"12":s=this.hour==="01"&&t>=0&&t<=2?`1${t}`:t;break;case"24":this.hour==="01"?s=`1${t}`:this.hour==="02"&&t>=0&&t<=3?s=`2${t}`:s=t;break}else s=t;this.setValuePart("hour",s)}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault(),this.decrementHour();break;case"ArrowUp":e.preventDefault(),this.incrementHour();break;case" ":case"Spacebar":e.preventDefault();break}},this.handleMinuteKeyDownEvent=e=>{let i=e.key;if(z.includes(i)){let t=parseInt(i),s;if(h(this.minute)&&this.minute.startsWith("0")){let a=parseInt(this.minute);s=a>A?t:`${a}${t}`}else s=t;this.setValuePart("minute",s)}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault(),this.decrementMinute();break;case"ArrowUp":e.preventDefault(),this.incrementMinute();break;case" ":case"Spacebar":e.preventDefault();break}},this.handleSecondKeyDownEvent=e=>{let i=e.key;if(z.includes(i)){let t=parseInt(i),s;if(h(this.second)&&this.second.startsWith("0")){let a=parseInt(this.second);s=a>A?t:`${a}${t}`}else s=t;this.setValuePart("second",s)}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("second",null);break;case"ArrowDown":e.preventDefault(),this.decrementSecond();break;case"ArrowUp":e.preventDefault(),this.incrementSecond();break;case" ":case"Spacebar":e.preventDefault();break}},this.handleFractionalSecondKeyDownEvent=e=>{let{key:i}=e;if(z.includes(i)){let t=f(this.component.step),s=parseInt(this.fractionalSecond),a=s.toString().length,r;a>=t?r=i.padStart(t,"0"):a<t&&(r=`${s}${i}`.padStart(t,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${r}`))}else switch(i){case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("fractionalSecond",null);break;case"ArrowDown":e.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":e.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":e.preventDefault();break}},this.handleMeridiemKeyDownEvent=e=>{switch(e.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":e.preventDefault(),this.setValuePart("meridiem");break;case"ArrowUp":case"ArrowDown":e.preventDefault(),this.toggleMeridiem(e.key);break;case" ":case"Spacebar":e.preventDefault();break}}}hostConnected(){this.setHourFormat(),this.setMeridiemOrder(),this.setValue(this.component.value)}hostUpdate(e){if(e.has("hourFormat")&&(this.setHourFormat(),this.setValue(this.component.value)),e.has("messages")&&e.get("messages")?._lang!==this.component.messages._lang&&(this.setHourFormat(),this.setMeridiemOrder(),this.setValue(this.component.value)),e.has("numberingSystem")&&this.setValue(this.component.value),e.has("step")){let i=this.component.step,t=e.get("step");(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValue(this.component.value)}}decrementHour(){let e=this.hour?this.hour==="00"?23:parseInt(this.hour)-1:0;this.setValuePart("hour",e)}decrementMinute(){this.decrementMinuteOrSecond("minute")}decrementMinuteOrSecond(e){let i;if(h(this[e])){let t=parseInt(this[e]);i=t===0?59:t-1}else i=59;this.setValuePart(e,i)}decrementSecond(){this.decrementMinuteOrSecond("second")}incrementHour(){let e=h(this.hour)?this.hour==="23"?0:parseInt(this.hour)+1:1;this.setValuePart("hour",e)}incrementMinute(){this.incrementMinuteOrSecond("minute")}incrementMinuteOrSecond(e){let i=h(this[e])?this[e]==="59"?0:parseInt(this[e])+1:0;this.setValuePart(e,i)}incrementSecond(){this.incrementMinuteOrSecond("second")}nudgeFractionalSecond(e){let i=V(this.component.step),t=f(this.component.step),s=parseInt(this.fractionalSecond),a=parseFloat(`0.${this.fractionalSecond}`),r,n,l,d;e==="up"&&(r=isNaN(s)?0:a+i,n=parseFloat(r.toFixed(t)),l=V(n),d=n<1&&f(l)>0?$(l,t):"".padStart(t,"0")),e==="down"&&(r=isNaN(s)||s===0?1-i:a-i,n=parseFloat(r.toFixed(t)),l=V(n),d=n<1&&f(l)>0&&Math.sign(l)===1?$(l,t):"".padStart(t,"0")),this.setValuePart("fractionalSecond",d)}setHourFormat(){let{hourFormat:e,messages:i}=this.component,t=i._lang;this.hourFormat=e==="user"?me(t):e}setMeridiemOrder(){let{messages:e}=this.component,i=e._lang;this.meridiemOrder=ge(i)}toggleMeridiem(e){let i;this.meridiem?i=this.meridiem==="AM"?"PM":"AM":i=e==="ArrowDown"?"PM":"AM",this.setValuePart("meridiem",i)}setValue(e,i=!1){let{messages:t,numberingSystem:s,step:a,value:r}=this.component,n=t._lang,l=this.hourFormat==="12",d=B(e,a);if(ve(e)){let{hour:w,minute:x,second:b,fractionalSecond:k}=Se(d,a),{localizedHour:y,localizedHourSuffix:p,localizedMinute:m,localizedMinuteSuffix:H,localizedSecond:D,localizedDecimalSeparator:C,localizedFractionalSecond:F,localizedSecondSuffix:M,localizedMeridiem:P}=be({hour12:l,locale:n,numberingSystem:s,parts:!0,step:a,value:d});this.hour=w,this.minute=x,this.second=b,this.fractionalSecond=k,this.localizedHour=y,this.localizedHourSuffix=p,this.localizedMinute=m,this.localizedMinuteSuffix=H,this.localizedSecond=D,this.localizedDecimalSeparator=C,this.localizedFractionalSecond=F,this.localizedSecondSuffix=M,P&&(this.meridiem=T(this.hour),this.localizedMeridiem=P)}else this.hour=null,this.minute=null,this.second=null,this.fractionalSecond=null,this.meridiem=null,this.localizedHour=null,this.localizedHourSuffix=O("hour",n,s),this.localizedMinute=null,this.localizedMinuteSuffix=O("minute",n,s),this.localizedSecond=null,this.localizedDecimalSeparator=fe(n,s),this.localizedFractionalSecond=null,this.localizedSecondSuffix=O("second",n,s),this.localizedMeridiem=null;d!==r?(this.userChangedValue=i,this.component.value=d??""):this.component.requestUpdate()}setValuePart(e,i){let{hourFormat:t}=this,{messages:s,numberingSystem:a,step:r}=this.component,n=s._lang,l=t==="12",d=this.component.value;if(e==="meridiem"){let p=this.meridiem;if(this.meridiem=i,this.localizedMeridiem=E({hour12:l,locale:n,numberingSystem:a,part:"meridiem",value:this.meridiem}),h(this.hour)){let m=parseInt(this.hour);switch(i){case"AM":m>=12&&(this.hour=$(m-12));break;case"PM":m<12&&(this.hour=$(m+12));break;default:this.component.value="";break}this.localizedHour=E({hour12:l,locale:n,numberingSystem:a,part:"hour",value:this.hour})}p!==this.meridiem&&this.component.requestUpdate()}else if(e==="fractionalSecond"){let p=this.fractionalSecond,m=f(r);typeof i=="number"?this.fractionalSecond=i===0?"".padStart(m,"0"):$(i,m):this.fractionalSecond=i,this.localizedFractionalSecond=E({value:this.fractionalSecond,part:"fractionalSecond",locale:n,numberingSystem:a,hour12:l}),p!==this.fractionalSecond&&this.component.requestUpdate()}else{let p=this[e];this[e]=typeof i=="number"?$(i):i,this[`localized${ue(e)}`]=E({value:this[e],part:e,locale:n,numberingSystem:a,hour12:l}),p!==this[e]&&this.component.requestUpdate()}let{hour:w,minute:x,second:b,fractionalSecond:k}=this,y=B({hour:w,minute:x,second:b,fractionalSecond:k},r);d!==y&&(e==="hour"&&t==="12"&&(this.meridiem=T(w),this.localizedMeridiem=pe({locale:n,meridiem:this.meridiem})),this.userChangedValue=!0,this.calciteTimeChange.emit(y??""))}},xe=j`: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}.container{--calcite-icon-color: var(--calcite-color-text-3);align-items:center;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-border-input);box-sizing:border-box;display:flex;color:var(--calcite-color-text-1);flex-wrap:nowrap;font-weight:var(--calcite-font-weight-normal);inline-size:100%;padding-block:var(--calcite-spacing-base);-webkit-user-select:none;user-select:none}.container:focus-within{border-color:var(--calcite-color-brand);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))))}.container.read-only{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.input-container{display:flex;flex-grow:1}.input{align-items:center;display:flex;block-size:100%;justify-content:center;min-inline-size:max-content}.input.empty{inline-size:var(--calcite-spacing-xl)}.input:focus,.input:hover:focus{background-color:Highlight;outline:2px solid transparent;outline-offset:2px}.toggle-icon{align-items:center;block-size:24px;cursor:pointer;display:flex;inline-size:24px;justify-content:center}.toggle-icon:hover{--calcite-icon-color: var(--calcite-color-text-1)}.meridiem--start{margin-inline-end:var(--calcite-spacing-xxs)}.meridiem--end{margin-inline-start:var(--calcite-spacing-xxs)}:host([scale=s]) .container{block-size:1.5rem;font-size:var(--calcite-font-size-sm);gap:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .input-container{line-height:1rem}:host([scale=m]) .container{block-size:2rem;font-size:var(--calcite-font-size);gap:var(--calcite-spacing-md);padding-inline-start:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .input-container{line-height:1.5rem}:host([scale=l]) .container{block-size:2.75rem;font-size:var(--calcite-font-size-md);gap:var(--calcite-spacing-lg);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .input-container{line-height:2.25rem}:host([status=invalid]) .container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) .container:focus-within{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,o={clockIcon:"clock-icon",container:"container",decimalSeparator:"decimal-separator",empty:"empty",fractionalSecond:"fractional-second",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputContainer:"input-container",meridiem:"meridiem",meridiemStart:"meridiem--start",meridiemEnd:"meridiem--end",minute:"minute",minuteSuffix:"minute-suffix",readOnly:"read-only",second:"second",secondSuffix:"second-suffix",toggleIcon:"toggle-icon"},Fe={validationMessage:"inputTimePickerValidationMessage"},L=class extends W{constructor(){super(),this.disabled=!1,this.focusTrapDisabled=!1,this.hourFormat="user",this.messages=ie(),this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=60,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.calciteInputTimePickerBeforeClose=S({cancelable:!1}),this.calciteInputTimePickerBeforeOpen=S({cancelable:!1}),this.calciteInputTimePickerChange=S(),this.calciteInputTimePickerClose=S({cancelable:!1}),this.calciteInputTimePickerOpen=S({cancelable:!1}),this.time=new N(this),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listenOn(window,"calciteTimeChange",this.timeChangeHandler)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hourFormat:[3,{reflect:!0}],max:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],min:[3,{reflect:!0}],name:1,numberingSystem:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:1,placement:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:G}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}async reposition(e=!1){this.popoverEl?.reposition(e)}async setFocus(){await Z(this),X(this.el)}connectedCallback(){super.connectedCallback(),se(this),re(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&(this.disabled||(this.open=!1)),e.has("readOnly")&&(this.hasUpdated||this.readOnly!==!1)&&(this.readOnly||(this.open=!1)),e.has("value")&&(this.hasUpdated?this.time.userChangedValue||(this.time.setValue(this.value),this.previousEmittedValue=this.value):this.previousEmittedValue=this.value)}updated(){ee(this)}disconnectedCallback(){super.disconnectedCallback(),ae(this),le(this)}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=xe}blurHandler(){this.changeEventHandler()}changeEventHandler(){let{previousEmittedValue:e,value:i}=this;e!==i&&(this.calciteInputTimePickerChange.emit().defaultPrevented?this.time.setValue(this.previousEmittedValue):this.previousEmittedValue=i)}keyDownHandler(e){let{defaultPrevented:i,key:t}=e,{hourFormat:s,meridiemOrder:a}=this.time;if(!i)if(t==="Enter")ne(this)&&e.preventDefault(),this.changeEventHandler();else if(this.open&&this.focusTrapDisabled&&t==="Escape")this.open=!1,e.preventDefault();else{let r=f(this.step)>0,n=this.step<60;switch(this.activeEl){case this.hourEl:t==="ArrowRight"?this.setFocusPart("minute"):t==="ArrowLeft"&&s==="12"&&a===0&&this.setFocusPart("meridiem");break;case this.minuteEl:switch(t){case"ArrowLeft":this.setFocusPart("hour");break;case"ArrowRight":this.step!==60?this.setFocusPart("second"):s==="12"&&this.setFocusPart("meridiem");break}break;case this.secondEl:switch(t){case"ArrowLeft":this.setFocusPart("minute");break;case"ArrowRight":f(this.step)>0?this.setFocusPart("fractionalSecond"):s==="12"&&this.setFocusPart("meridiem");break}break;case this.fractionalSecondEl:switch(t){case"ArrowLeft":this.setFocusPart("second");break;case"ArrowRight":s==="12"&&a!==0&&this.setFocusPart("meridiem");break}break;case this.meridiemEl:t==="ArrowLeft"&&a!==0?r?this.setFocusPart("fractionalSecond"):n?this.setFocusPart("second"):this.setFocusPart("minute"):t==="ArrowRight"&&a===0&&this.setFocusPart("hour");break}}}onLabelClick(){this.setFocus()}openHandler(){this.disabled||this.readOnly||this.popoverEl&&(this.popoverEl.open=this.open)}popoverBeforeOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()}popoverOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerOpen.emit()}popoverBeforeCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()}popoverCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerClose.emit(),this.open=!1}setCalcitePopoverEl(e){this.popoverEl=e,this.openHandler()}setContainerEl(e){this.containerEl=e}async setFocusPart(e){this[`${e||"hour"}El`]?.focus()}setFractionalSecondEl(e){this.fractionalSecondEl=e}setHourEl(e){this.hourEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setMeridiemEl(e){this.meridiemEl=e}syncHiddenFormInput(e){he("time",this,e)}timeChangeHandler({detail:e}){e!==this.value&&(this.value=e)}timePartFocusHandler(e){this.activeEl=e.currentTarget}timePickerChangeHandler(e){e.stopPropagation(),this.time.setValue(e.target.value,!0)}toggleIconClickHandler(){this.open=!this.open}render(){let{messages:e,readOnly:i,scale:t}=this,{fractionalSecond:s,handleHourKeyDownEvent:a,handleMinuteKeyDownEvent:r,handleSecondKeyDownEvent:n,handleFractionalSecondKeyDownEvent:l,hour:d,hourFormat:w,localizedDecimalSeparator:x,localizedFractionalSecond:b,localizedHour:k,localizedHourSuffix:y,localizedMinute:p,localizedMinuteSuffix:m,localizedSecond:H,localizedSecondSuffix:D,meridiemOrder:C,minute:F,second:M}=this.time,P="--",we=h(s),ke=h(d),ye=h(F),Pe=h(M),U=f(this.step)>0,K=w==="12",R=this.step<60,_=C===0||Q(this.el)==="rtl",I=!this.disabled&&!this.readOnly;return te({disabled:this.disabled,children:g`<div aria-label=${oe(this)??c} class=${u({[o.container]:!0,[o.readOnly]:i})} role=combobox ${v(this.setContainerEl)}><calcite-icon class=${u(o.clockIcon)} icon=clock .scale=${t==="l"?"m":"s"}></calcite-icon><div class=${u(o.inputContainer)} dir=ltr>${K&&_&&this.renderMeridiem("start")||""}<span aria-label=${this.messages.hour??c} aria-valuemax=23 aria-valuemin=1 aria-valuenow=${ke&&parseInt(d)||"0"} aria-valuetext=${d??c} class=${u({[o.empty]:!k,[o.hour]:!0,[o.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?a:void 0} role=spinbutton tabindex=0 ${v(this.setHourEl)}>${k||P}</span><span class=${u(o.hourSuffix)}>${y}</span><span aria-label=${this.messages.minute??c} aria-valuemax=12 aria-valuemin=1 aria-valuenow=${ye&&parseInt(F)||"0"} aria-valuetext=${F??c} class=${u({[o.empty]:!p,[o.input]:!0,[o.minute]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?r:void 0} role=spinbutton tabindex=0 ${v(this.setMinuteEl)}>${p||P}</span>${R&&g`<span class=${u(o.minuteSuffix)}>${m}</span>`||""}${R&&g`<span aria-label=${this.messages.second??c} aria-valuemax=59 aria-valuemin=0 aria-valuenow=${Pe&&parseInt(M)||"0"} aria-valuetext=${M??c} class=${u({[o.empty]:!H,[o.input]:!0,[o.second]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?n:void 0} role=spinbutton tabindex=0 ${v(this.setSecondEl)}>${H||P}</span>`||""}${U&&g`<span class=${u(o.decimalSeparator)}>${x}</span>`||""}${U&&g`<span aria-label=${this.messages.fractionalSecond??c} aria-valuemax=999 aria-valuemin=1 aria-valuenow=${we&&parseInt(s)||"0"} aria-valuetext=${b??c} class=${u({[o.empty]:!b,[o.fractionalSecond]:!0,[o.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${I?l:void 0} role=spinbutton tabindex=0 ${v(this.setFractionalSecondEl)}>${b||"".padStart(f(this.step),"-")}</span>`||""}${D&&g`<span class=${u(o.secondSuffix)}>${D}</span>`||""}${K&&!_&&this.renderMeridiem("end")||""}</div>${!this.readOnly&&this.renderToggleIcon(this.open)||""}</div><calcite-popover auto-close .focusTrapDisabled=${this.focusTrapDisabled} .focusTrapOptions=${{initialFocus:!1}} .label=${e.chooseTime} lang=${this.messages._lang??c} @calcitePopoverBeforeClose=${this.popoverBeforeCloseHandler} @calcitePopoverBeforeOpen=${this.popoverBeforeOpenHandler} @calcitePopoverClose=${this.popoverCloseHandler} @calcitePopoverOpen=${this.popoverOpenHandler} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .referenceElement=${this.containerEl} trigger-disabled ${v(this.setCalcitePopoverEl)}><calcite-time-picker .hourFormat=${this.time.hourFormat} lang=${this.messages._lang??c} .messageOverrides=${this.messageOverrides} .numberingSystem=${this.numberingSystem} @calciteTimePickerChange=${this.timePickerChangeHandler} .scale=${this.scale} .step=${this.step} tabindex=${(this.open?void 0:-1)??c} .value=${this.value}></calcite-time-picker></calcite-popover>${ce({component:this})}${this.validationMessage&&this.status==="invalid"?de({icon:this.validationIcon,id:Fe.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderMeridiem(e){let{handleMeridiemKeyDownEvent:i,localizedMeridiem:t,meridiem:s}=this.time,a=!this.disabled&&!this.readOnly;return g`<span aria-label=${this.messages.meridiem??c} aria-valuemax=2 aria-valuemin=1 aria-valuenow=${s==="PM"&&"2"||"1"} aria-valuetext=${s??c} class=${u({[o.empty]:!t,[o.input]:!0,[o.meridiem]:!0,[o.meridiemStart]:e==="start",[o.meridiemEnd]:e==="end"})} @focus=${this.timePartFocusHandler} @keydown=${a?i:void 0} role=spinbutton tabindex=0 ${v(this.setMeridiemEl)}>${t||"--"}</span>`}renderToggleIcon(e){return g`<span class=${u(o.toggleIcon)} @click=${this.toggleIconClickHandler}><calcite-icon .icon=${e?"chevron-up":"chevron-down"} .scale=${Y(this.scale)}></calcite-icon></span>`}};J("calcite-input-time-picker",L);export{L as InputTimePicker};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as h}from"./DX4BEDZ3.js";import{b as u}from"./U2YGN4RT.js";import{B as p}from"./LLN5DNPL.js";import{d as w}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as f,e as c,g as l,x as d,y as m}from"./MZMZSY5A.js";var n={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"},g=c`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0;animation-name:none;animation-duration:var(--calcite-animation-timing);background-color:var(--calcite-flow-background-color)}:host ::slotted(*){display:none;block-size:100%}:host ::slotted(*[selected]){display:flex}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation-name:calcite-frame-advance}:host .frame--retreating{animation-name:calcite-frame-retreat}@keyframes calcite-frame-advance{0%{--tw-bg-opacity: .5;transform:translate3d(50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity: .5;transform:translate3d(-50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends d{constructor(){super(),this.itemMutationObserver=h("mutation",()=>this.updateItemsAndProps()),this.items=[],this.selectedIndex=-1,this.flowDirection="standby",this.listen("calciteInternalFlowItemChange",this.handleCalciteInternalFlowItemChange),this.listen("calciteFlowItemBack",this.handleItemBackClick)}static{this.properties={flowDirection:[16,{state:!0}],customItemSelectors:1}}static{this.styles=g}async back(){let{items:e,selectedIndex:i}=this,t=e[i],s=e[i-1];if(!t||!s)return;let a=t.beforeBack?t.beforeBack:()=>Promise.resolve();try{await a.call(t)}catch{return}return t.selected=!1,s.selected=!0,s}async setFocus(){await w(this);let{items:e}=this;return e[this.selectedIndex]?.setFocus()}connectedCallback(){super.connectedCallback(),this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0})}willUpdate(e){e.has("flowDirection")&&(this.hasUpdated||this.flowDirection!=="standby")&&this.handleFlowDirectionChange(this.flowDirection)}loaded(){this.updateItemsAndProps()}disconnectedCallback(){super.disconnectedCallback(),this.itemMutationObserver?.disconnect()}async handleFlowDirectionChange(e){e!=="standby"&&(await p(this.frameEl,e==="retreating"?"calcite-frame-retreat":"calcite-frame-advance"),this.resetFlowDirection())}handleCalciteInternalFlowItemChange(e){e.stopPropagation(),this.updateFlowProps()}async handleItemBackClick(e){if(!e.defaultPrevented)return await this.back(),this.setFocus()}resetFlowDirection(){this.flowDirection="standby"}getFlowDirection(e,i){let t=e>0;return!(e>-1&&i>0)&&!t?"standby":i<e?"retreating":"advancing"}updateItemsAndProps(){let{customItemSelectors:e,el:i}=this,t=Array.from(i.querySelectorAll(`calcite-flow-item${e?`,${e}`:""}`)).filter(s=>s.closest("calcite-flow")===i);this.items=t,this.ensureSelectedFlowItemExists(),this.updateFlowProps()}updateFlowProps(){let{selectedIndex:e,items:i}=this,t=this.findSelectedFlowItemIndex(i);i.forEach((s,a)=>{let r=a===t;r||(s.menuOpen=!1),s.showBackButton=r&&t>0}),t!==-1&&(e!==t&&(this.flowDirection=this.getFlowDirection(e,t)),this.selectedIndex=t)}findSelectedFlowItemIndex(e){let i=e.slice(0).reverse().find(t=>!!t.selected);return e.indexOf(i)}ensureSelectedFlowItemExists(){let{items:e}=this;if(this.findSelectedFlowItemIndex(e)!==-1)return;let t=e[e.length-1];t&&(t.selected=!0)}setFrameEl(e){this.frameEl=e}render(){let{flowDirection:e}=this,i={[n.frame]:!0,[n.frameAdvancing]:e==="advancing",[n.frameRetreating]:e==="retreating"};return l`<div class=${m(i)} ${u(this.setFrameEl)}><slot></slot></div>`}};f("calcite-flow",o);export{o as Flow};
3
+ v3.2.0-next.40 */
4
+ import{a as h}from"./VYNVOZVL.js";import{b as u}from"./6P5PSH65.js";import{B as p}from"./4JEZM6VX.js";import{d as w}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as f,e as c,g as l,x as d,y as m}from"./EYWRTO2E.js";var n={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"},g=c`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0;animation-name:none;animation-duration:var(--calcite-animation-timing);background-color:var(--calcite-flow-background-color)}:host ::slotted(*){display:none;block-size:100%}:host ::slotted(*[selected]){display:flex}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation-name:calcite-frame-advance}:host .frame--retreating{animation-name:calcite-frame-retreat}@keyframes calcite-frame-advance{0%{--tw-bg-opacity: .5;transform:translate3d(50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity: .5;transform:translate3d(-50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends d{constructor(){super(),this.itemMutationObserver=h("mutation",()=>this.updateItemsAndProps()),this.items=[],this.selectedIndex=-1,this.flowDirection="standby",this.listen("calciteInternalFlowItemChange",this.handleCalciteInternalFlowItemChange),this.listen("calciteFlowItemBack",this.handleItemBackClick)}static{this.properties={flowDirection:[16,{state:!0}],customItemSelectors:1}}static{this.styles=g}async back(){let{items:e,selectedIndex:i}=this,t=e[i],s=e[i-1];if(!t||!s)return;let a=t.beforeBack?t.beforeBack:()=>Promise.resolve();try{await a.call(t)}catch{return}return t.selected=!1,s.selected=!0,s}async setFocus(){await w(this);let{items:e}=this;return e[this.selectedIndex]?.setFocus()}connectedCallback(){super.connectedCallback(),this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0})}willUpdate(e){e.has("flowDirection")&&(this.hasUpdated||this.flowDirection!=="standby")&&this.handleFlowDirectionChange(this.flowDirection)}loaded(){this.updateItemsAndProps()}disconnectedCallback(){super.disconnectedCallback(),this.itemMutationObserver?.disconnect()}async handleFlowDirectionChange(e){e!=="standby"&&(await p(this.frameEl,e==="retreating"?"calcite-frame-retreat":"calcite-frame-advance"),this.resetFlowDirection())}handleCalciteInternalFlowItemChange(e){e.stopPropagation(),this.updateFlowProps()}async handleItemBackClick(e){if(!e.defaultPrevented)return await this.back(),this.setFocus()}resetFlowDirection(){this.flowDirection="standby"}getFlowDirection(e,i){let t=e>0;return!(e>-1&&i>0)&&!t?"standby":i<e?"retreating":"advancing"}updateItemsAndProps(){let{customItemSelectors:e,el:i}=this,t=Array.from(i.querySelectorAll(`calcite-flow-item${e?`,${e}`:""}`)).filter(s=>s.closest("calcite-flow")===i);this.items=t,this.ensureSelectedFlowItemExists(),this.updateFlowProps()}updateFlowProps(){let{selectedIndex:e,items:i}=this,t=this.findSelectedFlowItemIndex(i);i.forEach((s,a)=>{let r=a===t;r||(s.menuOpen=!1),s.showBackButton=r&&t>0}),t!==-1&&(e!==t&&(this.flowDirection=this.getFlowDirection(e,t)),this.selectedIndex=t)}findSelectedFlowItemIndex(e){let i=e.slice(0).reverse().find(t=>!!t.selected);return e.indexOf(i)}ensureSelectedFlowItemExists(){let{items:e}=this;if(this.findSelectedFlowItemIndex(e)!==-1)return;let t=e[e.length-1];t&&(t.selected=!0)}setFrameEl(e){this.frameEl=e}render(){let{flowDirection:e}=this,i={[n.frame]:!0,[n.frameAdvancing]:e==="advancing",[n.frameRetreating]:e==="retreating"};return l`<div class=${m(i)} ${u(this.setFrameEl)}><slot></slot></div>`}};f("calcite-flow",o);export{o as Flow};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as k,b as y,j as o,m as I,n as F,q as b}from"./MUFGKP4E.js";import"./7CQ233AJ.js";import{a as A}from"./GZUOSY5I.js";import"./GTUVAAAD.js";import{b as H}from"./U2YGN4RT.js";import{K as R,e as $,g as f,w as v,x,y as u}from"./MZMZSY5A.js";var D={calendar:"calendar",calendarContainer:"calendar-container",calendarStart:"calendar--start",currentDay:"current-day",dayContainer:"day-container",insideRangeHover:"inside-range--hover",month:"month",noncurrent:"noncurrent",outsideRangeHover:"outside-range--hover",weekDays:"week-days",weekHeader:"week-header",weekHeaderContainer:"week-header-container"},z=$`:host([hidden]){display:none}[hidden]{display:none}.calendar-container{display:flex;inline-size:100%}:host([range][layout=vertical]) .calendar-container{flex-direction:column}.calendar{inline-size:100%}.week-header-container{display:flex;block-size:16px;padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-md)}.week-header{display:flex;align-items:center;justify-content:center;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-bold);inline-size:14.2857142857%;color:var(--calcite-date-picker-week-header-text-color, var(--calcite-color-text-3))}.day-container{display:flex;inline-size:100%;min-inline-size:0px;justify-content:center}.day-container calcite-date-picker-day{inline-size:100%}.week-days{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;padding-inline:var(--calcite-spacing-sm);padding-block-end:var(--calcite-spacing-sm)}.month-header{display:flex;inline-size:100%;justify-content:space-between}.month{display:flex;inline-size:100%;flex-direction:column;justify-content:space-between}.day{font-size:var(--calcite-font-size)}:host([scale=s]) .week-days{padding-inline:var(--calcite-spacing-xs);padding-block-end:var(--calcite-spacing-xs)}:host([scale=s]) .week-header-container{padding-inline:var(--calcite-spacing-xs);padding-block:var(--calcite-spacing-sm)}:host([scale=s]) .day{font-size:var(--calcite-font-size-sm)}:host([scale=l]) .week-header{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .week-days{padding-inline:var(--calcite-spacing-md);padding-block-end:var(--calcite-spacing-md)}:host([scale=l]) .week-header-container{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-md-plus)}:host([scale=l]) .day{font-size:var(--calcite-font-size-md)}.calendar--start{border-width:0px;border-style:solid;border-color:var(--calcite-date-picker-range-calendar-divider-color, var(--calcite-color-border-1))}:host([range][layout=horizontal]) .calendar--start{border-inline-end-width:var(--calcite-border-width-sm)}:host([range][layout=vertical]) .calendar--start{border-block-end-width:var(--calcite-border-width-sm)}.noncurrent{pointer-events:none;opacity:0}`,m=7,w=6,M=class extends x{constructor(){super(),this.activeDate=new Date,this.range=!1,this.calciteInternalDatePickerDayHover=v({cancelable:!1}),this.calciteInternalDatePickerDaySelect=v({cancelable:!1}),this.calciteInternalDatePickerMonthActiveDateChange=v({cancelable:!1}),this.calciteInternalDatePickerMonthChange=v({cancelable:!1}),this.calciteInternalDatePickerMonthMouseOut=v({cancelable:!1}),this.listen("pointerout",this.pointerOutHandler),this.listen("focusout",this.disableActiveFocus)}static{this.properties={focusedDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],dateTimeFormat:[0,{attribute:!1}],endDate:[0,{attribute:!1}],headingLevel:[11,{type:Number,reflect:!0}],hoverRange:[0,{attribute:!1}],layout:[3,{reflect:!0}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,range:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}],startDate:[0,{attribute:!1}]}}static{this.styles=z}load(){this.focusedDate=this.selectedDate||this.activeDate}willUpdate(e){e.has("activeDate")&&this.updateFocusedDateWithActive(this.activeDate),e.has("selectedDate")&&(this.focusedDate=this.selectedDate)}updateFocusedDateWithActive(e){this.selectedDate||(this.focusedDate=k(e,this.min,this.max)?e:y(e,this.min,this.max))}keyDownHandler(e){if(e.defaultPrevented)return;let a=this.el.dir==="rtl",t=e.target.value;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7,t);break;case"ArrowRight":e.preventDefault(),this.addDays(a?-1:1,t);break;case"ArrowDown":e.preventDefault(),this.addDays(7,t);break;case"ArrowLeft":e.preventDefault(),this.addDays(a?1:-1,t);break;case"PageUp":e.preventDefault(),this.addMonths(-1,t);break;case"PageDown":e.preventDefault(),this.addMonths(1,t);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays(0,t);break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays(0,t);break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}}disableActiveFocus(){this.activeFocus=!1}pointerOutHandler(){this.calciteInternalDatePickerMonthMouseOut.emit()}addMonths(e,a){let t=new Date(a);t.setMonth(a.getMonth()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(y(t,this.min,this.max)),this.focusedDate=y(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}addDays(e=0,a){let t=new Date(a);t.setDate(a.getDate()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(y(t,this.min,this.max)),this.focusedDate=y(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}getPreviousMonthDays(e,a,t){let s=new Date(a,e,0),i=s.getDate(),n=s.getDay(),r=[];if(n===(t+w)%m)return r;if(n===t)return[i];for(let c=(m+n-t)%m;c>=0;c--)r.push(i-c);return r}getCurrentMonthDays(e,a){let t=new Date(a,e+1,0).getDate(),s=[];for(let i=0;i<t;i++)s.push(i+1);return s}getNextMonthDays(e,a,t){let s=new Date(a,e+1,0).getDay(),i=[];if(s===(t+w)%m)return i;for(let n=0;n<(w-(s-t))%m;n++)i.push(n+1);return i}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(o(e,this.selectedDate)||this.startDate&&o(e,this.startDate)||this.endDate&&o(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!o(this.startDate,this.endDate)&&o(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!o(this.startDate,this.endDate)&&o(this.endDate,e)||!this.endDate&&this.hoverRange&&o(this.startDate,this.hoverRange.end)&&o(e,this.hoverRange.end))}dayHover(e){let a=e.target;a.disabled?this.calciteInternalDatePickerMonthMouseOut.emit():this.calciteInternalDatePickerDayHover.emit(a.value),e.stopPropagation()}daySelect(e){let a=e.target;this.activeFocus=!1,this.calciteInternalDatePickerDaySelect.emit(a.value),e.stopPropagation()}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange||!this.startDate)return!1;let{start:e,end:a}=this.hoverRange,t=this.isFocusedOnStart(),s=this.startDate&&a>this.startDate,i=this.endDate&&a<this.endDate,n=this.startDate&&e>this.startDate,r=this.endDate&&e<this.endDate,c=!t&&this.startDate&&s&&(!this.endDate||i),l=t&&this.startDate&&n&&r;return c||l}isRangeHover(e){if(!this.hoverRange)return!1;let{start:a,end:t}=this.hoverRange,s=this.isFocusedOnStart(),i=this.isHoverInRange(),n=e>a&&e<this.startDate,r=e<t&&e>this.endDate,c=e>t&&e<this.endDate,l=e<a&&e>this.startDate,g=e<t&&e>this.startDate,h=e>a&&e<this.endDate,d=this.startDate&&this.endDate;if(i){if(d)return s?e<this.endDate&&(l||n):c||r;if(this.startDate&&!this.endDate)return s?n:g;if(!this.startDate&&this.endDate)return s?h:r}else if(d)return s?n:r}getDays(e,a,t,s="start"){let i=this.activeDate.getMonth(),n=i+1;i=s==="end"?n:i;let r=0,c=()=>r++%7,l=this.activeDate.getFullYear();return[...e.map(h=>({active:!1,day:h,dayInWeek:c(),date:new Date(l,i-1,h)})),...a.map(h=>{let d=new Date(l,i,h),p=o(d,new Date);return{active:this.focusedDate&&this.focusedDate!==this.startDate&&this.focusedDate!==this.endDate?o(d,this.focusedDate):o(d,this.startDate)||o(d,this.endDate),currentMonth:!0,currentDay:p,day:h,dayInWeek:c(),date:d,ref:!0}}),...t.map(h=>({active:!1,day:h,dayInWeek:c(),date:new Date(l,n,h)}))]}monthHeaderSelectChange(e){let a=new Date(e.detail),t=e.target;this.updateFocusableDate(a),e.stopPropagation(),this.calciteInternalDatePickerMonthChange.emit({date:a,position:t.position})}updateFocusableDate(e){!this.selectedDate||!this.range?this.focusedDate=this.getFirstValidDateOfMonth(e):this.selectedDate&&this.range&&(!b(this.startDate,e)||!b(this.endDate,e))&&(this.focusedDate=this.getFirstValidDateOfMonth(e))}getFirstValidDateOfMonth(e){return e.getDate()===1?e:I(e,this.min,this.max)}render(){let e=this.activeDate.getMonth(),a=this.activeDate.getFullYear(),t=this.localeData.weekStart%7,{abbreviated:s,short:i,narrow:n}=this.localeData.days,r=this.scale==="s"?n||i||s:i||s||n,c=[...r.slice(t,7),...r.slice(0,t)],l=this.getCurrentMonthDays(e,a),g=this.getPreviousMonthDays(e,a,t),h=this.getNextMonthDays(e,a,t),d=e+1,p=this.getPreviousMonthDays(d,a,t),S=this.getCurrentMonthDays(d,a),C=this.getNextMonthDays(d,a,t),P=this.getDays(g,l,h),E=this.getDays(p,S,C,"end");return f`<div class=${u({[D.calendarContainer]:!0})} role=grid>${this.renderCalendar(c,P)}${this.range&&this.renderCalendar(c,E,!0)||""}</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:s,day:i,dayInWeek:n,ref:r},c){let l=k(s,this.min,this.max);return A(c,f`<div class=${u({[D.dayContainer]:!0})} role=gridcell><calcite-date-picker-day .active=${e} class=${u({[D.currentDay]:t,[D.insideRangeHover]:this.isHoverInRange(),[D.outsideRangeHover]:!this.isHoverInRange(),[D.noncurrent]:this.range&&!a})} .currentMonth=${a} .dateTimeFormat=${this.dateTimeFormat} .day=${i} .disabled=${!l} .endOfRange=${this.isEndOfRange(s)} .highlighted=${this.betweenSelectedRange(s)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate&&!!this.endDate&&!o(this.startDate,this.endDate)} .rangeEdge=${n===0?"start":n===6?"end":void 0} .rangeHover=${l&&this.isRangeHover(s)} .scale=${this.scale} .selected=${this.isSelected(s)} .startOfRange=${this.isStartOfRange(s)} .value=${s} ${H(g=>{r&&e&&this.activeFocus&&g?.setFocus()})}></calcite-date-picker-day></div>`)}renderCalendar(e,a,t=!1){return f`<div class=${u({[D.calendar]:!0,[D.calendarStart]:!t})}><calcite-date-picker-month-header .activeDate=${t?F(this.activeDate):this.activeDate} data-test-calendar=${t?"end":"start"} .headingLevel=${this.headingLevel} .localeData=${this.localeData} .max=${this.max} .messages=${this.messages} .min=${this.min} .monthStyle=${this.monthStyle} @calciteInternalDatePickerMonthHeaderSelectChange=${this.monthHeaderSelectChange} .position=${t?"end":this.range?"start":null} .scale=${this.scale} .selectedDate=${this.selectedDate}></calcite-date-picker-month-header>${this.renderMonthCalendar(e,a,t)}</div>`}renderMonthCalendar(e,a,t=!1){return f`<div class=${u({[D.month]:!0})} @keydown=${this.keyDownHandler}><div class=${u({[D.weekHeaderContainer]:!0})} role=row>${e.map(i=>f`<span class=${u({[D.weekHeader]:!0})} role=columnheader>${i}</span>`)}</div><div class=${u({[D.weekDays]:!0})} role=row>${a.map((i,n)=>this.renderDateDay(i,t?50+n:n))}</div></div>`}};R("calcite-date-picker-month",M);export{M as DatePickerMonth};
3
+ v3.2.0-next.40 */
4
+ import{a as k,b as y,j as o,m as I,n as F,q as b}from"./AZTNUW5Z.js";import"./XZK2I4C2.js";import{a as A}from"./PNGIMH3C.js";import"./VIJYQUPS.js";import{b as H}from"./6P5PSH65.js";import{K as R,e as $,g as f,w as v,x,y as u}from"./EYWRTO2E.js";var D={calendar:"calendar",calendarContainer:"calendar-container",calendarStart:"calendar--start",currentDay:"current-day",dayContainer:"day-container",insideRangeHover:"inside-range--hover",month:"month",noncurrent:"noncurrent",outsideRangeHover:"outside-range--hover",weekDays:"week-days",weekHeader:"week-header",weekHeaderContainer:"week-header-container"},z=$`:host([hidden]){display:none}[hidden]{display:none}.calendar-container{display:flex;inline-size:100%}:host([range][layout=vertical]) .calendar-container{flex-direction:column}.calendar{inline-size:100%}.week-header-container{display:flex;block-size:16px;padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-md)}.week-header{display:flex;align-items:center;justify-content:center;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-bold);inline-size:14.2857142857%;color:var(--calcite-date-picker-week-header-text-color, var(--calcite-color-text-3))}.day-container{display:flex;inline-size:100%;min-inline-size:0px;justify-content:center}.day-container calcite-date-picker-day{inline-size:100%}.week-days{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;padding-inline:var(--calcite-spacing-sm);padding-block-end:var(--calcite-spacing-sm)}.month-header{display:flex;inline-size:100%;justify-content:space-between}.month{display:flex;inline-size:100%;flex-direction:column;justify-content:space-between}.day{font-size:var(--calcite-font-size)}:host([scale=s]) .week-days{padding-inline:var(--calcite-spacing-xs);padding-block-end:var(--calcite-spacing-xs)}:host([scale=s]) .week-header-container{padding-inline:var(--calcite-spacing-xs);padding-block:var(--calcite-spacing-sm)}:host([scale=s]) .day{font-size:var(--calcite-font-size-sm)}:host([scale=l]) .week-header{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .week-days{padding-inline:var(--calcite-spacing-md);padding-block-end:var(--calcite-spacing-md)}:host([scale=l]) .week-header-container{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-md-plus)}:host([scale=l]) .day{font-size:var(--calcite-font-size-md)}.calendar--start{border-width:0px;border-style:solid;border-color:var(--calcite-date-picker-range-calendar-divider-color, var(--calcite-color-border-1))}:host([range][layout=horizontal]) .calendar--start{border-inline-end-width:var(--calcite-border-width-sm)}:host([range][layout=vertical]) .calendar--start{border-block-end-width:var(--calcite-border-width-sm)}.noncurrent{pointer-events:none;opacity:0}`,m=7,w=6,M=class extends x{constructor(){super(),this.activeDate=new Date,this.range=!1,this.calciteInternalDatePickerDayHover=v({cancelable:!1}),this.calciteInternalDatePickerDaySelect=v({cancelable:!1}),this.calciteInternalDatePickerMonthActiveDateChange=v({cancelable:!1}),this.calciteInternalDatePickerMonthChange=v({cancelable:!1}),this.calciteInternalDatePickerMonthMouseOut=v({cancelable:!1}),this.listen("pointerout",this.pointerOutHandler),this.listen("focusout",this.disableActiveFocus)}static{this.properties={focusedDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],dateTimeFormat:[0,{attribute:!1}],endDate:[0,{attribute:!1}],headingLevel:[11,{type:Number,reflect:!0}],hoverRange:[0,{attribute:!1}],layout:[3,{reflect:!0}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,range:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}],startDate:[0,{attribute:!1}]}}static{this.styles=z}load(){this.focusedDate=this.selectedDate||this.activeDate}willUpdate(e){e.has("activeDate")&&this.updateFocusedDateWithActive(this.activeDate),e.has("selectedDate")&&(this.focusedDate=this.selectedDate)}updateFocusedDateWithActive(e){this.selectedDate||(this.focusedDate=k(e,this.min,this.max)?e:y(e,this.min,this.max))}keyDownHandler(e){if(e.defaultPrevented)return;let a=this.el.dir==="rtl",t=e.target.value;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7,t);break;case"ArrowRight":e.preventDefault(),this.addDays(a?-1:1,t);break;case"ArrowDown":e.preventDefault(),this.addDays(7,t);break;case"ArrowLeft":e.preventDefault(),this.addDays(a?1:-1,t);break;case"PageUp":e.preventDefault(),this.addMonths(-1,t);break;case"PageDown":e.preventDefault(),this.addMonths(1,t);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays(0,t);break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays(0,t);break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}}disableActiveFocus(){this.activeFocus=!1}pointerOutHandler(){this.calciteInternalDatePickerMonthMouseOut.emit()}addMonths(e,a){let t=new Date(a);t.setMonth(a.getMonth()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(y(t,this.min,this.max)),this.focusedDate=y(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}addDays(e=0,a){let t=new Date(a);t.setDate(a.getDate()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(y(t,this.min,this.max)),this.focusedDate=y(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}getPreviousMonthDays(e,a,t){let s=new Date(a,e,0),i=s.getDate(),n=s.getDay(),r=[];if(n===(t+w)%m)return r;if(n===t)return[i];for(let c=(m+n-t)%m;c>=0;c--)r.push(i-c);return r}getCurrentMonthDays(e,a){let t=new Date(a,e+1,0).getDate(),s=[];for(let i=0;i<t;i++)s.push(i+1);return s}getNextMonthDays(e,a,t){let s=new Date(a,e+1,0).getDay(),i=[];if(s===(t+w)%m)return i;for(let n=0;n<(w-(s-t))%m;n++)i.push(n+1);return i}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(o(e,this.selectedDate)||this.startDate&&o(e,this.startDate)||this.endDate&&o(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!o(this.startDate,this.endDate)&&o(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!o(this.startDate,this.endDate)&&o(this.endDate,e)||!this.endDate&&this.hoverRange&&o(this.startDate,this.hoverRange.end)&&o(e,this.hoverRange.end))}dayHover(e){let a=e.target;a.disabled?this.calciteInternalDatePickerMonthMouseOut.emit():this.calciteInternalDatePickerDayHover.emit(a.value),e.stopPropagation()}daySelect(e){let a=e.target;this.activeFocus=!1,this.calciteInternalDatePickerDaySelect.emit(a.value),e.stopPropagation()}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange||!this.startDate)return!1;let{start:e,end:a}=this.hoverRange,t=this.isFocusedOnStart(),s=this.startDate&&a>this.startDate,i=this.endDate&&a<this.endDate,n=this.startDate&&e>this.startDate,r=this.endDate&&e<this.endDate,c=!t&&this.startDate&&s&&(!this.endDate||i),l=t&&this.startDate&&n&&r;return c||l}isRangeHover(e){if(!this.hoverRange)return!1;let{start:a,end:t}=this.hoverRange,s=this.isFocusedOnStart(),i=this.isHoverInRange(),n=e>a&&e<this.startDate,r=e<t&&e>this.endDate,c=e>t&&e<this.endDate,l=e<a&&e>this.startDate,g=e<t&&e>this.startDate,h=e>a&&e<this.endDate,d=this.startDate&&this.endDate;if(i){if(d)return s?e<this.endDate&&(l||n):c||r;if(this.startDate&&!this.endDate)return s?n:g;if(!this.startDate&&this.endDate)return s?h:r}else if(d)return s?n:r}getDays(e,a,t,s="start"){let i=this.activeDate.getMonth(),n=i+1;i=s==="end"?n:i;let r=0,c=()=>r++%7,l=this.activeDate.getFullYear();return[...e.map(h=>({active:!1,day:h,dayInWeek:c(),date:new Date(l,i-1,h)})),...a.map(h=>{let d=new Date(l,i,h),p=o(d,new Date);return{active:this.focusedDate&&this.focusedDate!==this.startDate&&this.focusedDate!==this.endDate?o(d,this.focusedDate):o(d,this.startDate)||o(d,this.endDate),currentMonth:!0,currentDay:p,day:h,dayInWeek:c(),date:d,ref:!0}}),...t.map(h=>({active:!1,day:h,dayInWeek:c(),date:new Date(l,n,h)}))]}monthHeaderSelectChange(e){let a=new Date(e.detail),t=e.target;this.updateFocusableDate(a),e.stopPropagation(),this.calciteInternalDatePickerMonthChange.emit({date:a,position:t.position})}updateFocusableDate(e){!this.selectedDate||!this.range?this.focusedDate=this.getFirstValidDateOfMonth(e):this.selectedDate&&this.range&&(!b(this.startDate,e)||!b(this.endDate,e))&&(this.focusedDate=this.getFirstValidDateOfMonth(e))}getFirstValidDateOfMonth(e){return e.getDate()===1?e:I(e,this.min,this.max)}render(){let e=this.activeDate.getMonth(),a=this.activeDate.getFullYear(),t=this.localeData.weekStart%7,{abbreviated:s,short:i,narrow:n}=this.localeData.days,r=this.scale==="s"?n||i||s:i||s||n,c=[...r.slice(t,7),...r.slice(0,t)],l=this.getCurrentMonthDays(e,a),g=this.getPreviousMonthDays(e,a,t),h=this.getNextMonthDays(e,a,t),d=e+1,p=this.getPreviousMonthDays(d,a,t),S=this.getCurrentMonthDays(d,a),C=this.getNextMonthDays(d,a,t),P=this.getDays(g,l,h),E=this.getDays(p,S,C,"end");return f`<div class=${u({[D.calendarContainer]:!0})} role=grid>${this.renderCalendar(c,P)}${this.range&&this.renderCalendar(c,E,!0)||""}</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:s,day:i,dayInWeek:n,ref:r},c){let l=k(s,this.min,this.max);return A(c,f`<div class=${u({[D.dayContainer]:!0})} role=gridcell><calcite-date-picker-day .active=${e} class=${u({[D.currentDay]:t,[D.insideRangeHover]:this.isHoverInRange(),[D.outsideRangeHover]:!this.isHoverInRange(),[D.noncurrent]:this.range&&!a})} .currentMonth=${a} .dateTimeFormat=${this.dateTimeFormat} .day=${i} .disabled=${!l} .endOfRange=${this.isEndOfRange(s)} .highlighted=${this.betweenSelectedRange(s)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate&&!!this.endDate&&!o(this.startDate,this.endDate)} .rangeEdge=${n===0?"start":n===6?"end":void 0} .rangeHover=${l&&this.isRangeHover(s)} .scale=${this.scale} .selected=${this.isSelected(s)} .startOfRange=${this.isStartOfRange(s)} .value=${s} ${H(g=>{r&&e&&this.activeFocus&&g?.setFocus()})}></calcite-date-picker-day></div>`)}renderCalendar(e,a,t=!1){return f`<div class=${u({[D.calendar]:!0,[D.calendarStart]:!t})}><calcite-date-picker-month-header .activeDate=${t?F(this.activeDate):this.activeDate} data-test-calendar=${t?"end":"start"} .headingLevel=${this.headingLevel} .localeData=${this.localeData} .max=${this.max} .messages=${this.messages} .min=${this.min} .monthStyle=${this.monthStyle} @calciteInternalDatePickerMonthHeaderSelectChange=${this.monthHeaderSelectChange} .position=${t?"end":this.range?"start":null} .scale=${this.scale} .selectedDate=${this.selectedDate}></calcite-date-picker-month-header>${this.renderMonthCalendar(e,a,t)}</div>`}renderMonthCalendar(e,a,t=!1){return f`<div class=${u({[D.month]:!0})} @keydown=${this.keyDownHandler}><div class=${u({[D.weekHeaderContainer]:!0})} role=row>${e.map(i=>f`<span class=${u({[D.weekHeader]:!0})} role=columnheader>${i}</span>`)}</div><div class=${u({[D.weekDays]:!0})} role=row>${a.map((i,n)=>this.renderDateDay(i,t?50+n:n))}</div></div>`}};R("calcite-date-picker-month",M);export{M as DatePickerMonth};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{b as o}from"./U2YGN4RT.js";import{g as a,k as t,y as n}from"./MZMZSY5A.js";var m={validationContainer:"validation-container"},d=()=>{},$=({scale:e,status:s,id:r,icon:l,message:c,ref:i})=>a`<div class=${n(m.validationContainer)} ${o(i||d)}><calcite-input-message aria-live=polite .icon=${l} id=${r??t} .scale=${e} .status=${s}>${c}</calcite-input-message></div>`;export{$ as a};
3
+ v3.2.0-next.40 */
4
+ import{b as o}from"./6P5PSH65.js";import{g as a,k as t,y as n}from"./EYWRTO2E.js";var m={validationContainer:"validation-container"},d=()=>{},$=({scale:e,status:s,id:r,icon:l,message:c,ref:i})=>a`<div class=${n(m.validationContainer)} ${o(i||d)}><calcite-input-message aria-live=polite .icon=${l} id=${r??t} .scale=${e} .status=${s}>${c}</calcite-input-message></div>`;export{$ as a};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{j as P,m as k,n as w,o as V,q as m,r as p,s as A,t as D,u as y}from"./MZMZSY5A.js";var b=(s,f,c)=>{let h=new Map;for(let e=f;e<=c;e++)h.set(s[e],e);return h},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let h;c===void 0?c=f:f!==void 0&&(h=f);let e=[],n=[],l=0;for(let a of s)e[l]=h?h(a,l):l,n[l]=c(a,l),l++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,h]){let e=D(s),{values:n,keys:l}=this.dt(f,c,h);if(!Array.isArray(e))return this.ut=l,n;let a=this.ut??=[],u=[],v,x,t=0,o=e.length-1,r=0,i=n.length-1;for(;t<=o&&r<=i;)if(e[t]===null)t++;else if(e[o]===null)o--;else if(a[t]===l[r])u[r]=p(e[t],n[r]),t++,r++;else if(a[o]===l[i])u[i]=p(e[o],n[i]),o--,i--;else if(a[t]===l[i])u[i]=p(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[o]===l[r])u[r]=p(e[o],n[r]),m(s,e[t],e[o]),o--,r++;else if(v===void 0&&(v=b(l,r,i),x=b(a,t,o)),v.has(a[t]))if(v.has(a[o])){let d=x.get(l[r]),g=d!==void 0?e[d]:null;if(g===null){let C=m(s,e[t]);p(C,n[r]),u[r]=C}else u[r]=p(g,n[r]),m(s,e[t],g),e[d]=null;r++}else y(e[o]),o--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);p(d,n[r]),u[r++]=d}for(;t<=o;){let d=e[t++];d!==null&&y(d)}return this.ut=l,A(s,u),P}});export{I as a};
3
+ v3.2.0-next.40 */
4
+ import{j as P,m as k,n as w,o as V,q as m,r as p,s as A,t as D,u as y}from"./EYWRTO2E.js";var b=(s,f,c)=>{let h=new Map;for(let e=f;e<=c;e++)h.set(s[e],e);return h},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let h;c===void 0?c=f:f!==void 0&&(h=f);let e=[],n=[],l=0;for(let a of s)e[l]=h?h(a,l):l,n[l]=c(a,l),l++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,h]){let e=D(s),{values:n,keys:l}=this.dt(f,c,h);if(!Array.isArray(e))return this.ut=l,n;let a=this.ut??=[],u=[],v,x,t=0,o=e.length-1,r=0,i=n.length-1;for(;t<=o&&r<=i;)if(e[t]===null)t++;else if(e[o]===null)o--;else if(a[t]===l[r])u[r]=p(e[t],n[r]),t++,r++;else if(a[o]===l[i])u[i]=p(e[o],n[i]),o--,i--;else if(a[t]===l[i])u[i]=p(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[o]===l[r])u[r]=p(e[o],n[r]),m(s,e[t],e[o]),o--,r++;else if(v===void 0&&(v=b(l,r,i),x=b(a,t,o)),v.has(a[t]))if(v.has(a[o])){let d=x.get(l[r]),g=d!==void 0?e[d]:null;if(g===null){let C=m(s,e[t]);p(C,n[r]),u[r]=C}else u[r]=p(g,n[r]),m(s,e[t],g),e[d]=null;r++}else y(e[o]),o--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);p(d,n[r]),u[r++]=d}for(;t<=o;){let d=e[t++];d!==null&&y(d)}return this.ut=l,A(s,u),P}});export{I 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.2.0-next.39 */
4
- import{a as P,b as q}from"./DTAEBKT4.js";import{a as m}from"./GZUOSY5I.js";import{a as $,b as M}from"./U2YGN4RT.js";import{e as A,o as z,r as p,u as w,v as T}from"./LLN5DNPL.js";import{a as s}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{B as I,D as r,K as E,e as x,g as l,k as C,w as y,x as S,y as i}from"./MZMZSY5A.js";var n={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},L={actionsEnd:"actions-end",children:"children"},c={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},U=x`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;max-inline-size:100%;cursor:pointer}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex;color:var(--calcite-tree-text-color, var(--calcite-color-text-3))}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;block-size:100%;inset-inline-start:var(--calcite-internal-tree-item-line-left-position);content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none!important}::slotted(*):hover{text-decoration:none!important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-border-input))}.checkbox-label{pointer-events:none;display:flex;align-items:center}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-tree-text-color-selected, var(--calcite-color-text-1))}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;transform:rotate(0)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([selected]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends S{constructor(){super(),this.actionSlotWrapper=$(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=y({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{state:!0}],updateAfterInitialRender:[16,{state:!0}],depth:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],hasChildren:[39,{reflect:!0,readOnly:!0,type:Boolean}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}]}}static{this.styles=U}get hasChildren(){return!!this.childTree}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){P(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=z(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=T(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.requestUpdate("hasChildren"),this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),d=o.filter(a=>a.selected);o.length===d.length?(e.selected=!0,e.indeterminate=!1):d.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(a=>{a.selected=!0,a.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=w(e)}preWillUpdate(){this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=A(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",d=this.selectionMode==="none"&&!this.hasChildren,b=this.hasChildren&&this.indeterminate,a=this.hasChildren||this.selectionMode==="ancestors"?l`<calcite-icon class=${i({[n.chevron]:!0,[r.rtl]:e})} data-test-id=icon .icon=${this.hasChildren?c.chevronRight:c.blank} @click=${this.iconClickHandler} .scale=${s(this.scale)}></calcite-icon>`:null,k=m("default-slot",l`<slot></slot>`),u=this.selectionMode==="ancestors"?l`<div class=${i(n.checkboxContainer)}><calcite-icon class=${i(n.checkbox)} .icon=${this.selected?c.checkSquareF:b?c.minusSquareF:c.square} .scale=${s(this.scale)}></calcite-icon></div>`:null,h=t?c.bulletPoint:o?c.checkmark:d?c.blank:null,R=h?l`<calcite-icon class=${i({[n.bulletPointIcon]:h===c.bulletPoint,[n.checkmarkIcon]:h===c.checkmark,[r.rtl]:e})} .icon=${h} .scale=${s(this.scale)}></calcite-icon>`:null,v=!(this.parentExpanded||this.depth===1),g=this.updateAfterInitialRender&&this.expanded,{hasEndActions:B}=this,H=m("actionsEndSlot",l`<slot name=${L.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),F=l`<calcite-icon class=${i(n.iconStart)} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${s(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?p(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?p(g):void 0,this.el.inert=v,this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?p(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",v),this.el.role="treeitem",I(this.el,"tabIndex",this.disabled?-1:0),q({disabled:this.disabled,children:l`<div class=${i({[n.itemExpanded]:g})}><div class=${i(n.nodeAndActionsContainer)}><div class=${i({[n.nodeContainer]:!0,[r.rtl]:e})} data-selection-mode=${this.selectionMode??C}>${a}${R}${u||null}${this.iconStart?F:null}${u?l`<label class=${i(n.checkboxLabel)}>${k}</label>`:k}</div><div class=${i(n.actionsEnd)} .hidden=${!B} ${M(this.actionSlotWrapper)}>${H}</div></div><div class=${i({[n.childrenContainer]:!0,[r.rtl]:e})} data-test-id=calcite-tree-children @click=${this.childrenClickHandler} .role=${this.hasChildren?"group":void 0}><slot name=${L.children} @slotchange=${this.handleChildrenSlotChange}></slot></div></div>`})}};E("calcite-tree-item",f);export{f as TreeItem};
3
+ v3.2.0-next.40 */
4
+ import{a as P,b as q}from"./KOH7CJJ2.js";import{a as m}from"./PNGIMH3C.js";import{a as $,b as M}from"./6P5PSH65.js";import{e as A,o as z,r as p,u as w,v as T}from"./4JEZM6VX.js";import{a as s}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{B as I,D as r,K as E,e as x,g as l,k as C,w as y,x as S,y as i}from"./EYWRTO2E.js";var n={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},L={actionsEnd:"actions-end",children:"children"},c={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},U=x`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:block;max-inline-size:100%;cursor:pointer}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex;color:var(--calcite-tree-text-color, var(--calcite-color-text-3))}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;block-size:100%;inset-inline-start:var(--calcite-internal-tree-item-line-left-position);content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none!important}::slotted(*):hover{text-decoration:none!important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-border-input))}.checkbox-label{pointer-events:none;display:flex;align-items:center}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-tree-text-color-selected, var(--calcite-color-text-1))}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;transform:rotate(0)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([selected]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends S{constructor(){super(),this.actionSlotWrapper=$(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=y({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{state:!0}],updateAfterInitialRender:[16,{state:!0}],depth:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],hasChildren:[39,{reflect:!0,readOnly:!0,type:Boolean}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}]}}static{this.styles=U}get hasChildren(){return!!this.childTree}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){P(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=z(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=T(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.requestUpdate("hasChildren"),this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),d=o.filter(a=>a.selected);o.length===d.length?(e.selected=!0,e.indeterminate=!1):d.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(a=>{a.selected=!0,a.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=w(e)}preWillUpdate(){this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=A(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",d=this.selectionMode==="none"&&!this.hasChildren,b=this.hasChildren&&this.indeterminate,a=this.hasChildren||this.selectionMode==="ancestors"?l`<calcite-icon class=${i({[n.chevron]:!0,[r.rtl]:e})} data-test-id=icon .icon=${this.hasChildren?c.chevronRight:c.blank} @click=${this.iconClickHandler} .scale=${s(this.scale)}></calcite-icon>`:null,k=m("default-slot",l`<slot></slot>`),u=this.selectionMode==="ancestors"?l`<div class=${i(n.checkboxContainer)}><calcite-icon class=${i(n.checkbox)} .icon=${this.selected?c.checkSquareF:b?c.minusSquareF:c.square} .scale=${s(this.scale)}></calcite-icon></div>`:null,h=t?c.bulletPoint:o?c.checkmark:d?c.blank:null,R=h?l`<calcite-icon class=${i({[n.bulletPointIcon]:h===c.bulletPoint,[n.checkmarkIcon]:h===c.checkmark,[r.rtl]:e})} .icon=${h} .scale=${s(this.scale)}></calcite-icon>`:null,v=!(this.parentExpanded||this.depth===1),g=this.updateAfterInitialRender&&this.expanded,{hasEndActions:B}=this,H=m("actionsEndSlot",l`<slot name=${L.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),F=l`<calcite-icon class=${i(n.iconStart)} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${s(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?p(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?p(g):void 0,this.el.inert=v,this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?p(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",v),this.el.role="treeitem",I(this.el,"tabIndex",this.disabled?-1:0),q({disabled:this.disabled,children:l`<div class=${i({[n.itemExpanded]:g})}><div class=${i(n.nodeAndActionsContainer)}><div class=${i({[n.nodeContainer]:!0,[r.rtl]:e})} data-selection-mode=${this.selectionMode??C}>${a}${R}${u||null}${this.iconStart?F:null}${u?l`<label class=${i(n.checkboxLabel)}>${k}</label>`:k}</div><div class=${i(n.actionsEnd)} .hidden=${!B} ${M(this.actionSlotWrapper)}>${H}</div></div><div class=${i({[n.childrenContainer]:!0,[r.rtl]:e})} data-test-id=calcite-tree-children @click=${this.childrenClickHandler} .role=${this.hasChildren?"group":void 0}><slot name=${L.children} @slotchange=${this.handleChildrenSlotChange}></slot></div></div>`})}};E("calcite-tree-item",f);export{f as TreeItem};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as R}from"./I4FISWDK.js";import{c as E,e as O,h as z}from"./3VLVDWSS.js";import{c as C,d as M}from"./7T7MTXSU.js";import{a as L,b as I}from"./DTAEBKT4.js";import{a as F}from"./24OTRUCC.js";import"./U2YGN4RT.js";import{n as x}from"./LLN5DNPL.js";import{d as V}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{a as w}from"./R3CUJDU2.js";import{A as r,C as $,K as k,e as g,g as s,v as m,w as b,x as f,y as u,z as y}from"./MZMZSY5A.js";var D=({full:v,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${v?"star-f":"star"} .scale=${e}></calcite-icon>`,K={validationMessage:"validationMessage"},P=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:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.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, 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}`,p=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=F({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,{state:!0}],average:[11,{reflect:!0,type:Number}],count:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],showChip:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:$}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{reflect:!0,type:Number}]}}static{this.styles=P}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(),C(this),E(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,c=a===this.value,n=this.average&&this.average+1-a,l=a<=this.hoverValue,h=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!l&&n>0&&n<1,d=this.value>=a,N=this.getTabIndex(a);return{average:i,checked:c,fraction:n,hovered:l,id:h,partial:o,selected:d,value:a,tabIndex:N}})}updated(){L(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}disconnectedCallback(){super.disconnectedCallback(),M(this),O(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:c,id:n,partial:l,selected:h,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:h,hovered:c,average:t,partial:l})} data-value=${o??r} for=${n??r} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??r}><input aria-errormessage=${K.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??r} name=${this.guid??r} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${D({full:h||t||c,scale:this.scale})}${l&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${D({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>${z({component:this})}${this.validationMessage&&this.status==="invalid"?R({icon:this.validationIcon,id:K.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",p);export{p as Rating};
3
+ v3.2.0-next.40 */
4
+ import{a as R}from"./5K3GZOWW.js";import{c as E,e as O,h as z}from"./4KFIUD2B.js";import{c as C,d as M}from"./FR4VAYJC.js";import{a as L,b as I}from"./KOH7CJJ2.js";import{a as F}from"./7EKOSZOZ.js";import"./6P5PSH65.js";import{n as x}from"./4JEZM6VX.js";import{d as V}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{a as w}from"./6DCGXB5R.js";import{A as r,C as $,K as k,e as g,g as s,v as m,w as b,x as f,y as u,z as y}from"./EYWRTO2E.js";var D=({full:v,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${v?"star-f":"star"} .scale=${e}></calcite-icon>`,K={validationMessage:"validationMessage"},P=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:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.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, 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}`,p=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=F({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,{state:!0}],average:[11,{reflect:!0,type:Number}],count:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],showChip:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:$}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{reflect:!0,type:Number}]}}static{this.styles=P}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(),C(this),E(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,c=a===this.value,n=this.average&&this.average+1-a,l=a<=this.hoverValue,h=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!l&&n>0&&n<1,d=this.value>=a,N=this.getTabIndex(a);return{average:i,checked:c,fraction:n,hovered:l,id:h,partial:o,selected:d,value:a,tabIndex:N}})}updated(){L(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}disconnectedCallback(){super.disconnectedCallback(),M(this),O(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:c,id:n,partial:l,selected:h,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:h,hovered:c,average:t,partial:l})} data-value=${o??r} for=${n??r} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??r}><input aria-errormessage=${K.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??r} name=${this.guid??r} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${D({full:h||t||c,scale:this.scale})}${l&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${D({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>${z({component:this})}${this.validationMessage&&this.status==="invalid"?R({icon:this.validationIcon,id:K.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",p);export{p as Rating};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{b as o,c as y}from"./2VN3YIDH.js";import{a as g,b as k}from"./DTAEBKT4.js";import{b as u}from"./U2YGN4RT.js";import{e as f,l as m}from"./LLN5DNPL.js";import{d as b}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{A as e,C as d,D as h,K as p,e as l,g as n,x as c,y as r}from"./MZMZSY5A.js";var R=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends c{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],download:[3,{reflect:!0,converter:d}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],rel:1,target:1}}static{this.styles=R}async setFocus(){await b(this),m(this.childEl)}updated(){g(this)}clickHandler(t){this.disabled||t.isTrusted||this.childEl.click()}childElClickHandler(t){t.isTrusted||t.stopPropagation()}storeTagRef(t){this.childEl=t}render(){let{download:t,el:v}=this,x=f(v),i=this.href?"a":"span",$=n`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,E=n`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,a=i==="span"?o`span`:o`a`,z=i==="span"?"link":null,w=i==="span"?0:null;return this.el.role="presentation",k({disabled:this.disabled,children:y`<${a} class=${r({[h.rtl]:x==="rtl"})} download=${(i==="a"?t===!0||t===""?"":t||null:null)??e} href=${(i==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(i==="a"&&this.rel)??e} .role=${z} tabindex=${w??e} target=${(i==="a"&&this.target)??e} ${u(this.storeTagRef)}>${n`${this.iconStart?$:null}<slot></slot>${this.iconEnd?E:null}`}</${a}>`})}};p("calcite-link",s);export{s as Link};
3
+ v3.2.0-next.40 */
4
+ import{b as o,c as y}from"./DNYNDPB5.js";import{a as g,b as k}from"./KOH7CJJ2.js";import{b as u}from"./6P5PSH65.js";import{e as f,l as m}from"./4JEZM6VX.js";import{d as b}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{A as e,C as d,D as h,K as p,e as l,g as n,x as c,y as r}from"./EYWRTO2E.js";var R=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends c{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],download:[3,{reflect:!0,converter:d}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],rel:1,target:1}}static{this.styles=R}async setFocus(){await b(this),m(this.childEl)}updated(){g(this)}clickHandler(t){this.disabled||t.isTrusted||this.childEl.click()}childElClickHandler(t){t.isTrusted||t.stopPropagation()}storeTagRef(t){this.childEl=t}render(){let{download:t,el:v}=this,x=f(v),i=this.href?"a":"span",$=n`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,E=n`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,a=i==="span"?o`span`:o`a`,z=i==="span"?"link":null,w=i==="span"?0:null;return this.el.role="presentation",k({disabled:this.disabled,children:y`<${a} class=${r({[h.rtl]:x==="rtl"})} download=${(i==="a"?t===!0||t===""?"":t||null:null)??e} href=${(i==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(i==="a"&&this.rel)??e} .role=${z} tabindex=${w??e} target=${(i==="a"&&this.target)??e} ${u(this.storeTagRef)}>${n`${this.iconStart?$:null}<slot></slot>${this.iconEnd?E:null}`}</${a}>`})}};p("calcite-link",s);export{s as Link};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */