@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
@@ -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 M,b as f}from"./N63BZNBM.js";import{a as g,b as n,c as r,h,j as m,k as d,m as u,n as o,p as D}from"./MUFGKP4E.js";import{k as C,l as z}from"./7CQ233AJ.js";import"./GTUVAAAD.js";import{a as b}from"./24OTRUCC.js";import{n as R}from"./LLN5DNPL.js";import{d as E}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as S,e as p,g as y,w as v,x}from"./MZMZSY5A.js";var $=2,w={dateStyle:"full"},P=p`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-block;inline-size:100%;overflow:visible;border-width:1px;border-style:solid;vertical-align:top;border-color:var(--calcite-date-picker-border-color, var(--calcite-color-border-1));border-radius:var(--calcite-date-picker-corner-radius, 0)}:host([scale=s]){inline-size:236px;min-inline-size:216px;max-inline-size:380px}:host([scale=s][range][layout=horizontal]){inline-size:480px;min-inline-size:432px;max-inline-size:772px}:host([scale=m]){inline-size:298px;min-inline-size:272px;max-inline-size:480px}:host([scale=m][range][layout=horizontal]){inline-size:608px;min-inline-size:544px;max-inline-size:972px}:host([scale=l]){inline-size:334px;min-inline-size:320px;max-inline-size:600px}:host([scale=l][range][layout=horizontal]){inline-size:684px;min-inline-size:640px;max-inline-size:1212px}:host([hidden]){display:none}[hidden]{display:none}`,A=class extends x{constructor(){super(),this.rangeValueChangedByUser=!1,this.layout="horizontal",this.messages=b({blocking:!0}),this.monthStyle="wide",this.proximitySelectionDisabled=!1,this.range=!1,this.scale="m",this.calciteDatePickerChange=v({cancelable:!1}),this.calciteDatePickerRangeChange=v({cancelable:!1}),this.listen("keydown",this.keyDownHandler)}static{this.properties={activeEndDate:[16,{state:!0}],activeStartDate:[16,{state:!0}],dateTimeFormat:[16,{state:!0}],endAsDate:[16,{state:!0}],hoverRange:[16,{state:!0}],localeData:[16,{state:!0}],startAsDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],activeRange:[3,{reflect:!0}],headingLevel:[11,{type:Number,reflect:!0}],layout:[3,{reflect:!0}],max:[3,{reflect:!0}],maxAsDate:[0,{attribute:!1}],messageOverrides:[0,{attribute:!1}],min:[3,{reflect:!0}],minAsDate:[0,{attribute:!1}],monthStyle:1,numberingSystem:[3,{reflect:!0}],proximitySelectionDisabled:[7,{reflect:!0,type:Boolean}],range:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],value:1,valueAsDate:[0,{attribute:!1}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=P}async reset(){this.resetActiveDates(),this.rangeValueChangedByUser=!1}async setFocus(){await E(this),R(this.el)}connectedCallback(){super.connectedCallback(),Array.isArray(this.value)?this.valueAsDate=f(this.value):this.value&&(this.valueAsDate=r(this.value)),this.min&&(this.minAsDate=r(this.min)),this.max&&(this.maxAsDate=r(this.max)),this.setActiveStartAndEndDates()}async load(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}willUpdate(t){t.has("activeDate")&&this.activeDateWatcher(this.activeDate),t.has("value")&&this.valueHandler(this.value),t.has("valueAsDate")&&this.valueAsDateWatcher(this.valueAsDate),t.has("min")&&this.onMinChanged(this.min),t.has("max")&&this.onMaxChanged(this.max),t.has("messages")&&this.hasUpdated&&this.loadLocaleData().catch(console.error)}activeDateWatcher(t){this.range&&(this.rangeValueChangedByUser||(t?(this.activeStartDate=t,this.activeEndDate=o(this.activeStartDate)):this.resetActiveDates()))}valueHandler(t){Array.isArray(t)?(this.valueAsDate=f(t),this.rangeValueChangedByUser||this.resetActiveDates()):t&&(this.valueAsDate=r(t))}valueAsDateWatcher(t){this.range&&Array.isArray(t)&&!this.rangeValueChangedByUser?this.setActiveStartAndEndDates():t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){this.minAsDate=r(t),this.range&&this.setActiveStartAndEndDates()}onMaxChanged(t){this.maxAsDate=r(t),this.range&&this.setActiveStartAndEndDates()}keyDownHandler(t){t.key==="Escape"&&this.resetActiveDates()}async loadLocaleData(){C.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.messages._lang,useGrouping:!1},this.localeData=await M(this.messages._lang),this.dateTimeFormat=z(this.messages._lang,w)}monthHeaderSelectChange(t){let e=new Date(t.detail.date),a=t.detail.position;this.range?a==="end"?(this.activeEndDate=e,this.activeStartDate=d(e)):(this.activeStartDate=e,this.activeEndDate=o(e)):this.activeDate=e,t.stopPropagation()}monthActiveDateChange(t){let e=new Date(t.detail);if(!this.range)this.activeDate=e;else{let a=e.getMonth(),i=a!==this.activeStartDate.getMonth()&&a!==o(this.activeStartDate).getMonth();this.activeRange==="end"?(!this.activeEndDate||this.activeStartDate&&i)&&(this.activeEndDate=e,this.activeStartDate=d(e)):(this.activeStartDate&&i||!this.activeStartDate)&&(this.activeStartDate=e,this.activeEndDate=o(e))}t.stopPropagation()}monthHoverChange(t){if(!this.range){this.hoverRange=void 0;return}let{valueAsDate:e}=this,a=Array.isArray(e)&&e[0],i=Array.isArray(e)&&e[1],s=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:a,end:i},this.proximitySelectionDisabled)i&&a||!i&&s>=a?(this.hoverRange.focused="end",this.hoverRange.end=s):!i&&s<a?this.hoverRange={focused:"start",start:s,end:a}:this.hoverRange=void 0;else if(this.activeRange)this.activeRange==="end"?(this.hoverRange.end=s,this.hoverRange.focused="end"):(this.hoverRange.start=s,this.hoverRange.focused="start");else if(a&&i){let l=Math.abs(D(s,a)),c=Math.abs(D(s,i));s>i?(this.hoverRange.end=s,this.hoverRange.focused="end"):s<a?(this.hoverRange.start=s,this.hoverRange.focused="start"):s>a&&s<i&&(l<c?(this.hoverRange.start=s,this.hoverRange.focused="start"):(this.hoverRange.end=s,this.hoverRange.focused="end"))}else a&&(s<a?this.hoverRange={focused:"start",start:s,end:a}:(this.hoverRange.end=s,this.hoverRange.focused="end"));t.stopPropagation()}monthMouseOutChange(t){this.hoverRange&&(this.hoverRange=void 0),t.stopPropagation()}resetActiveDates(){let{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1]))),this.hoverRange=void 0}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){let e=this.getStartDate();this.rangeValueChangedByUser=!0,this.value=[h(e),h(t)],this.valueAsDate=[e,t],t&&this.calciteDatePickerRangeChange.emit()}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){let e=this.getEndDate();this.rangeValueChangedByUser=!0,this.value=[h(t),h(e)],this.valueAsDate=[t,e],this.calciteDatePickerRangeChange.emit()}monthDateChange(t){let e=new Date(t.detail),a=h(e);if(!this.range&&a===h(this.valueAsDate))return;if(!this.range){this.value=a||"",this.valueAsDate=e||null,this.activeDate=e||null,this.calciteDatePickerChange.emit();return}let i=this.getStartDate(),s=this.getEndDate();if(!i||!s&&e<i)i&&this.setEndDate(new Date(i)),this.activeRange=="end"?this.setEndDate(e):this.setStartDate(e);else if(!s)this.setEndDate(e);else if(this.proximitySelectionDisabled)this.setStartDate(e),this.setEndDate(null);else if(this.activeRange)this.activeRange=="end"?this.setEndDate(e):(e>s&&(this.setEndDate(null),this.activeEndDate=null),this.setStartDate(e));else{let l=D(e,i),c=D(e,s);c===0||l<0?this.setStartDate(e):l===0||c<0?this.setEndDate(e):l<c?this.setStartDate(e):this.setEndDate(e)}t.stopPropagation(),this.calciteDatePickerChange.emit()}getActiveDate(t,e,a){let i=n(new Date,e,a);return n(this.activeDate,e,a)||t||(m(a,i)&&!this.range?u(i,e,a):i)}getActiveEndDate(t,e,a){return n(this.activeEndDate,e,a)||t||n(o(new Date),e,a)}setActiveStartAndEndDates(){if(this.range){let t=n(Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate),e=n(Array.isArray(this.valueAsDate)?this.valueAsDate[1]:null,this.minAsDate,this.maxAsDate);if(this.activeStartDate=this.getActiveDate(t,this.minAsDate,this.maxAsDate),this.activeEndDate=this.getActiveEndDate(e,this.minAsDate,this.maxAsDate),m(this.activeStartDate,this.activeEndDate)){let a=u(d(this.activeEndDate),this.minAsDate,this.maxAsDate),i=o(this.activeEndDate);g(a,this.minAsDate,this.maxAsDate)?this.activeStartDate=a:g(i,this.minAsDate,this.maxAsDate)&&(this.activeEndDate=i)}}}render(){let t=n(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate),e=this.getActiveDate(t,this.minAsDate,this.maxAsDate),a=this.range&&Array.isArray(this.valueAsDate)?n(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,i=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t:this.minAsDate,s=this.range?this.activeStartDate:e;return this.renderMonth(s,this.maxAsDate,i,t,a)}renderMonth(t,e,a,i,s){return this.localeData&&y`<calcite-date-picker-month .activeDate=${t} .dateTimeFormat=${this.dateTimeFormat} .endDate=${this.range?s:void 0} .headingLevel=${this.headingLevel||$} .hoverRange=${this.hoverRange} .layout=${this.layout} .localeData=${this.localeData} .max=${e} .messages=${this.messages} .min=${a} .monthStyle=${this.monthStyle} @calciteInternalDatePickerDayHover=${this.monthHoverChange} @calciteInternalDatePickerDaySelect=${this.monthDateChange} @calciteInternalDatePickerMonthActiveDateChange=${this.monthActiveDateChange} @calciteInternalDatePickerMonthChange=${this.monthHeaderSelectChange} @calciteInternalDatePickerMonthMouseOut=${this.monthMouseOutChange} .range=${this.range} .scale=${this.scale} .selectedDate=${this.activeRange==="end"?s:i} .startDate=${this.range?i:void 0}></calcite-date-picker-month>`||""}};S("calcite-date-picker",A);export{A as DatePicker};
3
+ v3.2.0-next.40 */
4
+ import{a as M,b as f}from"./FFH3PE7I.js";import{a as g,b as n,c as r,h,j as m,k as d,m as u,n as o,p as D}from"./AZTNUW5Z.js";import{k as C,l as z}from"./XZK2I4C2.js";import"./VIJYQUPS.js";import{a as b}from"./7EKOSZOZ.js";import{n as R}from"./4JEZM6VX.js";import{d as E}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as S,e as p,g as y,w as v,x}from"./EYWRTO2E.js";var $=2,w={dateStyle:"full"},P=p`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-block;inline-size:100%;overflow:visible;border-width:1px;border-style:solid;vertical-align:top;border-color:var(--calcite-date-picker-border-color, var(--calcite-color-border-1));border-radius:var(--calcite-date-picker-corner-radius, 0)}:host([scale=s]){inline-size:236px;min-inline-size:216px;max-inline-size:380px}:host([scale=s][range][layout=horizontal]){inline-size:480px;min-inline-size:432px;max-inline-size:772px}:host([scale=m]){inline-size:298px;min-inline-size:272px;max-inline-size:480px}:host([scale=m][range][layout=horizontal]){inline-size:608px;min-inline-size:544px;max-inline-size:972px}:host([scale=l]){inline-size:334px;min-inline-size:320px;max-inline-size:600px}:host([scale=l][range][layout=horizontal]){inline-size:684px;min-inline-size:640px;max-inline-size:1212px}:host([hidden]){display:none}[hidden]{display:none}`,A=class extends x{constructor(){super(),this.rangeValueChangedByUser=!1,this.layout="horizontal",this.messages=b({blocking:!0}),this.monthStyle="wide",this.proximitySelectionDisabled=!1,this.range=!1,this.scale="m",this.calciteDatePickerChange=v({cancelable:!1}),this.calciteDatePickerRangeChange=v({cancelable:!1}),this.listen("keydown",this.keyDownHandler)}static{this.properties={activeEndDate:[16,{state:!0}],activeStartDate:[16,{state:!0}],dateTimeFormat:[16,{state:!0}],endAsDate:[16,{state:!0}],hoverRange:[16,{state:!0}],localeData:[16,{state:!0}],startAsDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],activeRange:[3,{reflect:!0}],headingLevel:[11,{type:Number,reflect:!0}],layout:[3,{reflect:!0}],max:[3,{reflect:!0}],maxAsDate:[0,{attribute:!1}],messageOverrides:[0,{attribute:!1}],min:[3,{reflect:!0}],minAsDate:[0,{attribute:!1}],monthStyle:1,numberingSystem:[3,{reflect:!0}],proximitySelectionDisabled:[7,{reflect:!0,type:Boolean}],range:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],value:1,valueAsDate:[0,{attribute:!1}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=P}async reset(){this.resetActiveDates(),this.rangeValueChangedByUser=!1}async setFocus(){await E(this),R(this.el)}connectedCallback(){super.connectedCallback(),Array.isArray(this.value)?this.valueAsDate=f(this.value):this.value&&(this.valueAsDate=r(this.value)),this.min&&(this.minAsDate=r(this.min)),this.max&&(this.maxAsDate=r(this.max)),this.setActiveStartAndEndDates()}async load(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}willUpdate(t){t.has("activeDate")&&this.activeDateWatcher(this.activeDate),t.has("value")&&this.valueHandler(this.value),t.has("valueAsDate")&&this.valueAsDateWatcher(this.valueAsDate),t.has("min")&&this.onMinChanged(this.min),t.has("max")&&this.onMaxChanged(this.max),t.has("messages")&&this.hasUpdated&&this.loadLocaleData().catch(console.error)}activeDateWatcher(t){this.range&&(this.rangeValueChangedByUser||(t?(this.activeStartDate=t,this.activeEndDate=o(this.activeStartDate)):this.resetActiveDates()))}valueHandler(t){Array.isArray(t)?(this.valueAsDate=f(t),this.rangeValueChangedByUser||this.resetActiveDates()):t&&(this.valueAsDate=r(t))}valueAsDateWatcher(t){this.range&&Array.isArray(t)&&!this.rangeValueChangedByUser?this.setActiveStartAndEndDates():t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){this.minAsDate=r(t),this.range&&this.setActiveStartAndEndDates()}onMaxChanged(t){this.maxAsDate=r(t),this.range&&this.setActiveStartAndEndDates()}keyDownHandler(t){t.key==="Escape"&&this.resetActiveDates()}async loadLocaleData(){C.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.messages._lang,useGrouping:!1},this.localeData=await M(this.messages._lang),this.dateTimeFormat=z(this.messages._lang,w)}monthHeaderSelectChange(t){let e=new Date(t.detail.date),a=t.detail.position;this.range?a==="end"?(this.activeEndDate=e,this.activeStartDate=d(e)):(this.activeStartDate=e,this.activeEndDate=o(e)):this.activeDate=e,t.stopPropagation()}monthActiveDateChange(t){let e=new Date(t.detail);if(!this.range)this.activeDate=e;else{let a=e.getMonth(),i=a!==this.activeStartDate.getMonth()&&a!==o(this.activeStartDate).getMonth();this.activeRange==="end"?(!this.activeEndDate||this.activeStartDate&&i)&&(this.activeEndDate=e,this.activeStartDate=d(e)):(this.activeStartDate&&i||!this.activeStartDate)&&(this.activeStartDate=e,this.activeEndDate=o(e))}t.stopPropagation()}monthHoverChange(t){if(!this.range){this.hoverRange=void 0;return}let{valueAsDate:e}=this,a=Array.isArray(e)&&e[0],i=Array.isArray(e)&&e[1],s=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:a,end:i},this.proximitySelectionDisabled)i&&a||!i&&s>=a?(this.hoverRange.focused="end",this.hoverRange.end=s):!i&&s<a?this.hoverRange={focused:"start",start:s,end:a}:this.hoverRange=void 0;else if(this.activeRange)this.activeRange==="end"?(this.hoverRange.end=s,this.hoverRange.focused="end"):(this.hoverRange.start=s,this.hoverRange.focused="start");else if(a&&i){let l=Math.abs(D(s,a)),c=Math.abs(D(s,i));s>i?(this.hoverRange.end=s,this.hoverRange.focused="end"):s<a?(this.hoverRange.start=s,this.hoverRange.focused="start"):s>a&&s<i&&(l<c?(this.hoverRange.start=s,this.hoverRange.focused="start"):(this.hoverRange.end=s,this.hoverRange.focused="end"))}else a&&(s<a?this.hoverRange={focused:"start",start:s,end:a}:(this.hoverRange.end=s,this.hoverRange.focused="end"));t.stopPropagation()}monthMouseOutChange(t){this.hoverRange&&(this.hoverRange=void 0),t.stopPropagation()}resetActiveDates(){let{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1]))),this.hoverRange=void 0}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){let e=this.getStartDate();this.rangeValueChangedByUser=!0,this.value=[h(e),h(t)],this.valueAsDate=[e,t],t&&this.calciteDatePickerRangeChange.emit()}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){let e=this.getEndDate();this.rangeValueChangedByUser=!0,this.value=[h(t),h(e)],this.valueAsDate=[t,e],this.calciteDatePickerRangeChange.emit()}monthDateChange(t){let e=new Date(t.detail),a=h(e);if(!this.range&&a===h(this.valueAsDate))return;if(!this.range){this.value=a||"",this.valueAsDate=e||null,this.activeDate=e||null,this.calciteDatePickerChange.emit();return}let i=this.getStartDate(),s=this.getEndDate();if(!i||!s&&e<i)i&&this.setEndDate(new Date(i)),this.activeRange=="end"?this.setEndDate(e):this.setStartDate(e);else if(!s)this.setEndDate(e);else if(this.proximitySelectionDisabled)this.setStartDate(e),this.setEndDate(null);else if(this.activeRange)this.activeRange=="end"?this.setEndDate(e):(e>s&&(this.setEndDate(null),this.activeEndDate=null),this.setStartDate(e));else{let l=D(e,i),c=D(e,s);c===0||l<0?this.setStartDate(e):l===0||c<0?this.setEndDate(e):l<c?this.setStartDate(e):this.setEndDate(e)}t.stopPropagation(),this.calciteDatePickerChange.emit()}getActiveDate(t,e,a){let i=n(new Date,e,a);return n(this.activeDate,e,a)||t||(m(a,i)&&!this.range?u(i,e,a):i)}getActiveEndDate(t,e,a){return n(this.activeEndDate,e,a)||t||n(o(new Date),e,a)}setActiveStartAndEndDates(){if(this.range){let t=n(Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate),e=n(Array.isArray(this.valueAsDate)?this.valueAsDate[1]:null,this.minAsDate,this.maxAsDate);if(this.activeStartDate=this.getActiveDate(t,this.minAsDate,this.maxAsDate),this.activeEndDate=this.getActiveEndDate(e,this.minAsDate,this.maxAsDate),m(this.activeStartDate,this.activeEndDate)){let a=u(d(this.activeEndDate),this.minAsDate,this.maxAsDate),i=o(this.activeEndDate);g(a,this.minAsDate,this.maxAsDate)?this.activeStartDate=a:g(i,this.minAsDate,this.maxAsDate)&&(this.activeEndDate=i)}}}render(){let t=n(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate),e=this.getActiveDate(t,this.minAsDate,this.maxAsDate),a=this.range&&Array.isArray(this.valueAsDate)?n(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,i=this.range&&this.activeRange?this.activeRange==="start"?this.minAsDate:t:this.minAsDate,s=this.range?this.activeStartDate:e;return this.renderMonth(s,this.maxAsDate,i,t,a)}renderMonth(t,e,a,i,s){return this.localeData&&y`<calcite-date-picker-month .activeDate=${t} .dateTimeFormat=${this.dateTimeFormat} .endDate=${this.range?s:void 0} .headingLevel=${this.headingLevel||$} .hoverRange=${this.hoverRange} .layout=${this.layout} .localeData=${this.localeData} .max=${e} .messages=${this.messages} .min=${a} .monthStyle=${this.monthStyle} @calciteInternalDatePickerDayHover=${this.monthHoverChange} @calciteInternalDatePickerDaySelect=${this.monthDateChange} @calciteInternalDatePickerMonthActiveDateChange=${this.monthActiveDateChange} @calciteInternalDatePickerMonthChange=${this.monthHeaderSelectChange} @calciteInternalDatePickerMonthMouseOut=${this.monthMouseOutChange} .range=${this.range} .scale=${this.scale} .selectedDate=${this.activeRange==="end"?s:i} .startDate=${this.range?i:void 0}></calcite-date-picker-month>`||""}};S("calcite-date-picker",A);export{A as DatePicker};
@@ -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{k as s}from"./7CQ233AJ.js";import{a as g,b as f}from"./DTAEBKT4.js";import"./GTUVAAAD.js";import{a as v}from"./24OTRUCC.js";import{a as h,b as m}from"./U2YGN4RT.js";import{c as u,d as b}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{B as d,K as p,e as l,g as o,k as n,w as r,x as c,y as t}from"./MZMZSY5A.js";var i={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"},z=l`:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s: .25rem;--calcite-stepper-item-spacing-unit-m: .75rem;--calcite-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s: .5rem;--calcite-stepper-item-spacing-unit-m: 1rem;--calcite-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s: .75rem;--calcite-stepper-item-spacing-unit-m: 1.25rem;--calcite-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-color-foreground-3)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-header:active{background-color:var(--calcite-color-foreground-3)}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:#007ac280}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:#007ac280}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,a=class extends c{constructor(){super(),this.headerEl=h(),this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.messages=v(),this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemKeyEvent=r({cancelable:!1}),this.calciteInternalStepperItemRegister=r({cancelable:!1}),this.calciteInternalStepperItemSelect=r({cancelable:!1}),this.calciteStepperItemSelect=r({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],error:[7,{reflect:!0,type:Boolean}],heading:1,icon:[5,{type:Boolean}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],itemHidden:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[5,{type:Boolean}],numberingSystem:1,scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=z}async setFocus(){await b(this),(this.layout==="vertical"?this.el:this.headerEl.value)?.focus()}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.registerStepperItem(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){g(this),d(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){s.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault();break}}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}handleItemClick(e){this.disabled||u(this.el)||this.layout==="horizontal"&&e.composedPath().some(y=>y.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])")).indexOf(this.el)}render(){this.el.ariaCurrent=this.selected?"step":"false";let e=this.layout==="horizontal"&&!this.disabled?0:null;return f({disabled:this.disabled,children:o`<div class=${t(i.container)}>${this.complete&&o`<span aria-live=polite class=${t(i.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${t(i.stepperItemHeader)} tabindex=${e??n} ${m(this.headerEl)}>${this.icon?this.renderIcon():null}${this.numbered?o`<div class=${t(i.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${t(i.stepperItemHeaderText)}><span class=${t(i.stepperItemHeading)}>${this.heading}</span><span class=${t(i.stepperItemDescription)}>${this.description}</span></div></div><div class=${t(i.stepperItemContent)}><slot></slot></div></div>`})}renderIcon(){let e="circle";return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),o`<calcite-icon class="stepper-item-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return s.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},s.numberFormatter.format(this.itemPosition+1)}};p("calcite-stepper-item",a);export{a as StepperItem};
3
+ v3.2.0-next.40 */
4
+ import{k as s}from"./XZK2I4C2.js";import{a as g,b as f}from"./KOH7CJJ2.js";import"./VIJYQUPS.js";import{a as v}from"./7EKOSZOZ.js";import{a as h,b as m}from"./6P5PSH65.js";import{c as u,d as b}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{B as d,K as p,e as l,g as o,k as n,w as r,x as c,y as t}from"./EYWRTO2E.js";var i={container:"container",stepperItemContent:"stepper-item-content",stepperItemDescription:"stepper-item-description",stepperItemHeader:"stepper-item-header",stepperItemHeading:"stepper-item-heading",stepperItemHeaderText:"stepper-item-header-text",stepperItemNumber:"stepper-item-number",visuallyHidden:"visually-hidden"},z=l`:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s: .25rem;--calcite-stepper-item-spacing-unit-m: .75rem;--calcite-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s: .5rem;--calcite-stepper-item-spacing-unit-m: 1rem;--calcite-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s: .75rem;--calcite-stepper-item-spacing-unit-m: 1.25rem;--calcite-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-color-foreground-3)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-header:active{background-color:var(--calcite-color-foreground-3)}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:#007ac280}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:#007ac280}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:#007ac280}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,a=class extends c{constructor(){super(),this.headerEl=h(),this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.messages=v(),this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemKeyEvent=r({cancelable:!1}),this.calciteInternalStepperItemRegister=r({cancelable:!1}),this.calciteInternalStepperItemSelect=r({cancelable:!1}),this.calciteStepperItemSelect=r({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],error:[7,{reflect:!0,type:Boolean}],heading:1,icon:[5,{type:Boolean}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],itemHidden:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[5,{type:Boolean}],numberingSystem:1,scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=z}async setFocus(){await b(this),(this.layout==="vertical"?this.el:this.headerEl.value)?.focus()}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.registerStepperItem(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){g(this),d(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){s.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault();break}}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}handleItemClick(e){this.disabled||u(this.el)||this.layout==="horizontal"&&e.composedPath().some(y=>y.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])")).indexOf(this.el)}render(){this.el.ariaCurrent=this.selected?"step":"false";let e=this.layout==="horizontal"&&!this.disabled?0:null;return f({disabled:this.disabled,children:o`<div class=${t(i.container)}>${this.complete&&o`<span aria-live=polite class=${t(i.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${t(i.stepperItemHeader)} tabindex=${e??n} ${m(this.headerEl)}>${this.icon?this.renderIcon():null}${this.numbered?o`<div class=${t(i.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${t(i.stepperItemHeaderText)}><span class=${t(i.stepperItemHeading)}>${this.heading}</span><span class=${t(i.stepperItemDescription)}>${this.description}</span></div></div><div class=${t(i.stepperItemContent)}><slot></slot></div></div>`})}renderIcon(){let e="circle";return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e="circleF":this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"),o`<calcite-icon class="stepper-item-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return s.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},s.numberFormatter.format(this.itemPosition+1)}};p("calcite-stepper-item",a);export{a as StepperItem};
@@ -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 O,c as B}from"./TH2HXM2T.js";import{a as I}from"./GZUOSY5I.js";import{a as f}from"./DX4BEDZ3.js";import{a as y}from"./24OTRUCC.js";import{b as C}from"./U2YGN4RT.js";import{e as x,o as u,z as S}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{D as w,K as m,e as v,g as T,w as h,x as p,y as b}from"./MZMZSY5A.js";var E={chevronRight:"chevron-right",chevronLeft:"chevron-left"},o={container:"container",containerHasEndTabTitleOverflow:"container--end-overflow",containerHasStartTabTitleOverflow:"container--start-overflow",scrollButton:"scroll-button",scrollButtonContainer:"scroll-button-container",scrollBackwardContainerButton:"scroll-button-container--backward",scrollForwardContainerButton:"scroll-button-container--forward",tabTitleSlotWrapper:"tab-titles-slot-wrapper"},$=v`:host{--calcite-internal-tab-nav-gradient-start-side: left;--calcite-internal-tab-nav-gradient-end-side: right;position:relative;display:flex}:host([bordered]):not([selected]) .container{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) calcite-button{--calcite-button-border-color: var(--calcite-tab-border-color, var(--calcite-color-border-1))}.scale-s{--calcite-internal-tab-nav-button-width: 24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-button-width: 32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-button-width: 44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side: right;--calcite-internal-tab-nav-gradient-end-side: left}.container--start-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%)}.container--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%)}.container--start-overflow.container--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%,transparent 51%),linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%,transparent 51%)}.container::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap: var(--calcite-spacing-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap: var(--calcite-spacing-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap: var(--calcite-spacing-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xl)}.container,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-button-text-color: var(--calcite-tab-text-color, var(--calcite-color-text-3));--calcite-button-background-color: var(--calcite-color-transparent);--calcite-offset-invert-focus: 1;block-size:var(--calcite-container-size-content-fluid)}.scroll-button-container calcite-button:hover .scroll-button-container calcite-button:focus{--calcite-button-background-color: var(--calcite-color-transparent-hover)}.scroll-button-container calcite-button:active{--calcite-button-background-color: var(--calcite-color-transparent-press)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward:before,:host(:not([bordered])) .scroll-button-container--forward:before{background-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));opacity:.5;content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward:before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward:before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends p{constructor(){super(),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=f("resize",()=>{this.updateScrollingState()}),this.makeFirstVisibleTabClosable=!1,this.hasOverflowingEndTabTitle=!1,this.hasOverflowingStartTabTitle=!1,this.bordered=!1,this.layout="inline",this.messages=y(),this.position="bottom",this.scale="m",this.selectedTitle=null,this.calciteInternalTabChange=h({cancelable:!1}),this.calciteInternalTabNavSlotChange=h(),this.calciteTabChange=h({cancelable:!1}),this.listen("calciteInternalTabsFocusPrevious",this.focusPreviousTabHandler),this.listen("calciteInternalTabsFocusNext",this.focusNextTabHandler),this.listen("calciteInternalTabsFocusFirst",this.focusFirstTabHandler),this.listen("calciteInternalTabsFocusLast",this.focusLastTabHandler),this.listen("calciteInternalTabsActivate",this.internalActivateTabHandler),this.listen("calciteInternalTabsClose",this.internalCloseTabHandler),this.listen("calciteInternalTabTitleRegister",this.updateTabTitles),this.listenOn(document.body,"calciteInternalTabChange",this.globalInternalTabChangeHandler)}static{this.properties={hasOverflowingEndTabTitle:[16,{state:!0}],hasOverflowingStartTabTitle:[16,{state:!0}],selectedTabId:[16,{state:!0}],bordered:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],position:1,scale:1,selectedTitle:[0,{attribute:!1}],storageId:[3,{reflect:!0}],syncId:[3,{reflect:!0}]}}static{this.styles=$}get enabledTabTitles(){return u(this.el,"calcite-tab-title:not([disabled])").filter(t=>!t.closed)}get scrollerButtonWidth(){let{scale:t}=this;return parseInt(t==="s"?k:t==="m"?O:B)}get tabTitles(){return u(this.el,"calcite-tab-title")}connectedCallback(){super.connectedCallback(),this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el)}async load(){let t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){let e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}}willUpdate(t){t.has("selectedTitle")&&(this.hasUpdated||this.selectedTitle!==null)&&this.calciteInternalTabChange.emit({tab:this.selectedTabId}),t.has("selectedTabId")&&this.selectedTabIdChanged();let{parentTabsEl:e}=this;this.layout=e?.layout,this.bordered=e?.bordered,this.effectiveDir=x(this.el)}loaded(){this.scrollTabTitleIntoView(this.selectedTitle,"instant"),this.tabTitles.length&&this.tabTitles.every(t=>!t.selected)&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then(t=>{this.calciteInternalTabChange.emit({tab:t})})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){let e=t.target,i=this.selectedTitle;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,i?.id!==e.id&&t.detail.userTriggered&&this.calciteTabChange.emit(),this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&requestAnimationFrame(()=>{let i=this.effectiveDir==="ltr",a=this.tabTitleContainerEl,r=a.getBoundingClientRect(),l=t.getBoundingClientRect(),s=a.scrollLeft,n=i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle,c=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;if(l.left<r.left+(n?this.scrollerButtonWidth:0)){let d=s+(l.left-r.left)-this.scrollerButtonWidth;a.scrollTo({left:d,behavior:e})}else if(l.right>r.right-(c?this.scrollerButtonWidth:0)){let d=s+(l.right-r.right)+this.scrollerButtonWidth;a.scrollTo({left:d,behavior:e})}})}internalCloseTabHandler(t){let e=t.target;this.handleTabTitleClose(e),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId))}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}async selectedTabIdChanged(){await this.componentOnReady(),localStorage&&this.storageId&&this.selectedTabId!==void 0&&this.selectedTabId!==null&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onTabTitleWheel(t){t.preventDefault();let{deltaX:e,deltaY:i}=t,a=Math.abs(e),r=Math.abs(i),l;a===r?l=this.lastScrollWheelAxis==="x"?e:i:a>r?(l=e,this.lastScrollWheelAxis="x"):(l=i,this.lastScrollWheelAxis="y");let s=(this.effectiveDir==="rtl"?-1:1)*l;t.currentTarget.scrollBy(s,0)}onSlotChange(){this.intersectionObserver?.disconnect();let t=this.tabTitles;t.forEach(a=>{this.intersectionObserver?.observe(a)});let e=this.getVisibleTabTitlesIndices(t);e.length>1&&this.makeFirstVisibleTabClosable&&(t[e[0]].closable=!0,this.makeFirstVisibleTabClosable=!1),this.calciteInternalTabNavSlotChange.emit(t)}storeTabTitleWrapperRef(t){t&&(this.tabTitleContainerEl=t,this.intersectionObserver=f("intersection",()=>this.updateScrollingState(),{root:t,threshold:[0,.5,1]}))}updateScrollingState(){let t=this.tabTitleContainerEl;if(!t)return;let e,i,a=t.scrollLeft,r=t.clientWidth,l=t.scrollWidth;this.effectiveDir==="ltr"?(e=a>0,i=a+r<l):(e=a<0,i=a!==-(l-r)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}scrollToTabTitles(t){requestAnimationFrame(()=>{let e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:r}=this;t==="forward"&&a.reverse();let l=null;if(a.forEach(s=>{let n=s.getBoundingClientRect(),c=i.x+i.width,d=n.x+n.width;t==="forward"&&r==="ltr"||t==="backward"&&r==="rtl"?(n.x>c||d>c&&n.x>i.x)&&(l=s):(d<i.x||d<c&&n.x<i.x)&&(l=s)}),l){let{scrollerButtonWidth:s}=this,n=t==="forward"&&r==="ltr"||t==="backward"&&r==="rtl"?-s:l.offsetWidth-e.clientWidth+s,c=l.offsetLeft+n;e.scrollTo({left:c,behavior:"smooth"})}})}scrollToNextTabTitles(){this.scrollToTabTitles("forward")}scrollToPreviousTabTitles(){this.scrollToTabTitles("backward")}handleTabFocus(t,e,i){let a=S(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}onTabTitleScroll(){this.updateScrollingState()}async getTabTitleById(t){return Promise.all(this.tabTitles.map(e=>e.getTabIdentifier())).then(e=>this.tabTitles[e.indexOf(t)])}getVisibleTabTitlesIndices(t){return t.reduce((e,i,a)=>i.closed?e:[...e,a],[])}handleTabTitleClose(t){let{tabTitles:e}=this,i=t.selected,a=this.getVisibleTabTitlesIndices(e),r=a.length;if(r===1&&e[a[0]].closable)this.makeFirstVisibleTabClosable=!0,e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(r>1){let l=e.findIndex(n=>n===t),s=a.find(n=>n>l);this.selectedTabId===l&&(this.selectedTabId=s||r-1,e[this.selectedTabId].activateTab())}requestAnimationFrame(()=>{e[this.selectedTabId].focus()})}render(){return this.el.role="tablist",T`<div class=${b({[o.container]:!0,[o.containerHasStartTabTitleOverflow]:!!this.hasOverflowingStartTabTitle,[o.containerHasEndTabTitleOverflow]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[w.rtl]:this.effectiveDir==="rtl"})}>${this.renderScrollButton("start")}<div class=${b({[o.tabTitleSlotWrapper]:!0})} @scroll=${this.onTabTitleScroll} @wheel=${this.onTabTitleWheel} ${C(this.storeTabTitleWrapperRef)}><slot @slotchange=${this.onSlotChange}></slot></div>${this.renderScrollButton("end")}</div>`}renderScrollButton(t){let{bordered:e,messages:i,hasOverflowingStartTabTitle:a,hasOverflowingEndTabTitle:r,scale:l}=this,s=t==="end";return I(t,T`<div class=${b({[o.scrollButtonContainer]:!0,[o.scrollBackwardContainerButton]:!s,[o.scrollForwardContainerButton]:s})} .hidden=${s&&!r||!s&&!a}><calcite-button .appearance=${e?"outline-fill":"transparent"} .ariaLabel=${s?i.nextTabTitles:i.previousTabTitles} class=${b({[o.scrollButton]:!0})} icon-flip-rtl=both .iconStart=${s?E.chevronRight:E.chevronLeft} kind=neutral @click=${s?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles} .scale=${l} tabindex=-1></calcite-button></div>`)}};m("calcite-tab-nav",g);export{g as TabNav};
3
+ v3.2.0-next.40 */
4
+ import{a as k,b as O,c as B}from"./J6ZU5TTP.js";import{a as I}from"./PNGIMH3C.js";import{a as f}from"./VYNVOZVL.js";import{a as y}from"./7EKOSZOZ.js";import{b as C}from"./6P5PSH65.js";import{e as x,o as u,z as S}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{D as w,K as m,e as v,g as T,w as h,x as p,y as b}from"./EYWRTO2E.js";var E={chevronRight:"chevron-right",chevronLeft:"chevron-left"},o={container:"container",containerHasEndTabTitleOverflow:"container--end-overflow",containerHasStartTabTitleOverflow:"container--start-overflow",scrollButton:"scroll-button",scrollButtonContainer:"scroll-button-container",scrollBackwardContainerButton:"scroll-button-container--backward",scrollForwardContainerButton:"scroll-button-container--forward",tabTitleSlotWrapper:"tab-titles-slot-wrapper"},$=v`:host{--calcite-internal-tab-nav-gradient-start-side: left;--calcite-internal-tab-nav-gradient-end-side: right;position:relative;display:flex}:host([bordered]):not([selected]) .container{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) calcite-button{--calcite-button-border-color: var(--calcite-tab-border-color, var(--calcite-color-border-1))}.scale-s{--calcite-internal-tab-nav-button-width: 24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-button-width: 32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-button-width: 44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side: right;--calcite-internal-tab-nav-gradient-end-side: left}.container--start-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%)}.container--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%)}.container--start-overflow.container--end-overflow .tab-titles-slot-wrapper{mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%,transparent 51%),linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side),transparent,transparent var(--calcite-internal-tab-nav-button-width),white var(--calcite-internal-tab-nav-button-width),white 51%,transparent 51%)}.container::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap: var(--calcite-spacing-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap: var(--calcite-spacing-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap: var(--calcite-spacing-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xl)}.container,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-button-text-color: var(--calcite-tab-text-color, var(--calcite-color-text-3));--calcite-button-background-color: var(--calcite-color-transparent);--calcite-offset-invert-focus: 1;block-size:var(--calcite-container-size-content-fluid)}.scroll-button-container calcite-button:hover .scroll-button-container calcite-button:focus{--calcite-button-background-color: var(--calcite-color-transparent-hover)}.scroll-button-container calcite-button:active{--calcite-button-background-color: var(--calcite-color-transparent-press)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward:before,:host(:not([bordered])) .scroll-button-container--forward:before{background-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));opacity:.5;content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward:before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward:before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends p{constructor(){super(),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=f("resize",()=>{this.updateScrollingState()}),this.makeFirstVisibleTabClosable=!1,this.hasOverflowingEndTabTitle=!1,this.hasOverflowingStartTabTitle=!1,this.bordered=!1,this.layout="inline",this.messages=y(),this.position="bottom",this.scale="m",this.selectedTitle=null,this.calciteInternalTabChange=h({cancelable:!1}),this.calciteInternalTabNavSlotChange=h(),this.calciteTabChange=h({cancelable:!1}),this.listen("calciteInternalTabsFocusPrevious",this.focusPreviousTabHandler),this.listen("calciteInternalTabsFocusNext",this.focusNextTabHandler),this.listen("calciteInternalTabsFocusFirst",this.focusFirstTabHandler),this.listen("calciteInternalTabsFocusLast",this.focusLastTabHandler),this.listen("calciteInternalTabsActivate",this.internalActivateTabHandler),this.listen("calciteInternalTabsClose",this.internalCloseTabHandler),this.listen("calciteInternalTabTitleRegister",this.updateTabTitles),this.listenOn(document.body,"calciteInternalTabChange",this.globalInternalTabChangeHandler)}static{this.properties={hasOverflowingEndTabTitle:[16,{state:!0}],hasOverflowingStartTabTitle:[16,{state:!0}],selectedTabId:[16,{state:!0}],bordered:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],position:1,scale:1,selectedTitle:[0,{attribute:!1}],storageId:[3,{reflect:!0}],syncId:[3,{reflect:!0}]}}static{this.styles=$}get enabledTabTitles(){return u(this.el,"calcite-tab-title:not([disabled])").filter(t=>!t.closed)}get scrollerButtonWidth(){let{scale:t}=this;return parseInt(t==="s"?k:t==="m"?O:B)}get tabTitles(){return u(this.el,"calcite-tab-title")}connectedCallback(){super.connectedCallback(),this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el)}async load(){let t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){let e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}}willUpdate(t){t.has("selectedTitle")&&(this.hasUpdated||this.selectedTitle!==null)&&this.calciteInternalTabChange.emit({tab:this.selectedTabId}),t.has("selectedTabId")&&this.selectedTabIdChanged();let{parentTabsEl:e}=this;this.layout=e?.layout,this.bordered=e?.bordered,this.effectiveDir=x(this.el)}loaded(){this.scrollTabTitleIntoView(this.selectedTitle,"instant"),this.tabTitles.length&&this.tabTitles.every(t=>!t.selected)&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then(t=>{this.calciteInternalTabChange.emit({tab:t})})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){let e=t.target,i=this.selectedTitle;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,i?.id!==e.id&&t.detail.userTriggered&&this.calciteTabChange.emit(),this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&requestAnimationFrame(()=>{let i=this.effectiveDir==="ltr",a=this.tabTitleContainerEl,r=a.getBoundingClientRect(),l=t.getBoundingClientRect(),s=a.scrollLeft,n=i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle,c=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;if(l.left<r.left+(n?this.scrollerButtonWidth:0)){let d=s+(l.left-r.left)-this.scrollerButtonWidth;a.scrollTo({left:d,behavior:e})}else if(l.right>r.right-(c?this.scrollerButtonWidth:0)){let d=s+(l.right-r.right)+this.scrollerButtonWidth;a.scrollTo({left:d,behavior:e})}})}internalCloseTabHandler(t){let e=t.target;this.handleTabTitleClose(e),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId))}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}async selectedTabIdChanged(){await this.componentOnReady(),localStorage&&this.storageId&&this.selectedTabId!==void 0&&this.selectedTabId!==null&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onTabTitleWheel(t){t.preventDefault();let{deltaX:e,deltaY:i}=t,a=Math.abs(e),r=Math.abs(i),l;a===r?l=this.lastScrollWheelAxis==="x"?e:i:a>r?(l=e,this.lastScrollWheelAxis="x"):(l=i,this.lastScrollWheelAxis="y");let s=(this.effectiveDir==="rtl"?-1:1)*l;t.currentTarget.scrollBy(s,0)}onSlotChange(){this.intersectionObserver?.disconnect();let t=this.tabTitles;t.forEach(a=>{this.intersectionObserver?.observe(a)});let e=this.getVisibleTabTitlesIndices(t);e.length>1&&this.makeFirstVisibleTabClosable&&(t[e[0]].closable=!0,this.makeFirstVisibleTabClosable=!1),this.calciteInternalTabNavSlotChange.emit(t)}storeTabTitleWrapperRef(t){t&&(this.tabTitleContainerEl=t,this.intersectionObserver=f("intersection",()=>this.updateScrollingState(),{root:t,threshold:[0,.5,1]}))}updateScrollingState(){let t=this.tabTitleContainerEl;if(!t)return;let e,i,a=t.scrollLeft,r=t.clientWidth,l=t.scrollWidth;this.effectiveDir==="ltr"?(e=a>0,i=a+r<l):(e=a<0,i=a!==-(l-r)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}scrollToTabTitles(t){requestAnimationFrame(()=>{let e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:r}=this;t==="forward"&&a.reverse();let l=null;if(a.forEach(s=>{let n=s.getBoundingClientRect(),c=i.x+i.width,d=n.x+n.width;t==="forward"&&r==="ltr"||t==="backward"&&r==="rtl"?(n.x>c||d>c&&n.x>i.x)&&(l=s):(d<i.x||d<c&&n.x<i.x)&&(l=s)}),l){let{scrollerButtonWidth:s}=this,n=t==="forward"&&r==="ltr"||t==="backward"&&r==="rtl"?-s:l.offsetWidth-e.clientWidth+s,c=l.offsetLeft+n;e.scrollTo({left:c,behavior:"smooth"})}})}scrollToNextTabTitles(){this.scrollToTabTitles("forward")}scrollToPreviousTabTitles(){this.scrollToTabTitles("backward")}handleTabFocus(t,e,i){let a=S(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}onTabTitleScroll(){this.updateScrollingState()}async getTabTitleById(t){return Promise.all(this.tabTitles.map(e=>e.getTabIdentifier())).then(e=>this.tabTitles[e.indexOf(t)])}getVisibleTabTitlesIndices(t){return t.reduce((e,i,a)=>i.closed?e:[...e,a],[])}handleTabTitleClose(t){let{tabTitles:e}=this,i=t.selected,a=this.getVisibleTabTitlesIndices(e),r=a.length;if(r===1&&e[a[0]].closable)this.makeFirstVisibleTabClosable=!0,e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(r>1){let l=e.findIndex(n=>n===t),s=a.find(n=>n>l);this.selectedTabId===l&&(this.selectedTabId=s||r-1,e[this.selectedTabId].activateTab())}requestAnimationFrame(()=>{e[this.selectedTabId].focus()})}render(){return this.el.role="tablist",T`<div class=${b({[o.container]:!0,[o.containerHasStartTabTitleOverflow]:!!this.hasOverflowingStartTabTitle,[o.containerHasEndTabTitleOverflow]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[w.rtl]:this.effectiveDir==="rtl"})}>${this.renderScrollButton("start")}<div class=${b({[o.tabTitleSlotWrapper]:!0})} @scroll=${this.onTabTitleScroll} @wheel=${this.onTabTitleWheel} ${C(this.storeTabTitleWrapperRef)}><slot @slotchange=${this.onSlotChange}></slot></div>${this.renderScrollButton("end")}</div>`}renderScrollButton(t){let{bordered:e,messages:i,hasOverflowingStartTabTitle:a,hasOverflowingEndTabTitle:r,scale:l}=this,s=t==="end";return I(t,T`<div class=${b({[o.scrollButtonContainer]:!0,[o.scrollBackwardContainerButton]:!s,[o.scrollForwardContainerButton]:s})} .hidden=${s&&!r||!s&&!a}><calcite-button .appearance=${e?"outline-fill":"transparent"} .ariaLabel=${s?i.nextTabTitles:i.previousTabTitles} class=${b({[o.scrollButton]:!0})} icon-flip-rtl=both .iconStart=${s?E.chevronRight:E.chevronLeft} kind=neutral @click=${s?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles} .scale=${l} tabindex=-1></calcite-button></div>`)}};m("calcite-tab-nav",g);export{g as TabNav};
@@ -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{K as o,e as s,g as l,w as i,x as a}from"./MZMZSY5A.js";var r=s`:host{display:block}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends a{constructor(){super(...arguments),this.disabled=!1,this.calciteInternalOptionGroupChange=i({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1}}static{this.styles=r}willUpdate(e){(e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||e.has("label"))&&this.calciteInternalOptionGroupChange.emit()}render(){return l`<div>${this.label}</div><slot></slot>`}};o("calcite-option-group",t);export{t as OptionGroup};
3
+ v3.2.0-next.40 */
4
+ import{K as o,e as s,g as l,w as i,x as a}from"./EYWRTO2E.js";var r=s`:host{display:block}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends a{constructor(){super(...arguments),this.disabled=!1,this.calciteInternalOptionGroupChange=i({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1}}static{this.styles=r}willUpdate(e){(e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||e.has("label"))&&this.calciteInternalOptionGroupChange.emit()}render(){return l`<div>${this.label}</div><slot></slot>`}};o("calcite-option-group",t);export{t as OptionGroup};
@@ -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 y,b as g}from"./DTAEBKT4.js";import{a}from"./GZUOSY5I.js";import{a as T}from"./GTUVAAAD.js";import{a as C,b as d}from"./U2YGN4RT.js";import{z as r}from"./LLN5DNPL.js";import{a as R}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as f,e as u,g as s,l as p,w as c,x as w,y as m}from"./MZMZSY5A.js";var k={lastVisibleRow:"last-visible-row"},A=u`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}@-moz-document url-prefix(){tr{box-shadow:inset 0 -1px 0 0 var(--calcite-internal-table-row-border-color)}tr.last-visible-row{box-shadow:inset 0 -1px 0 0 transparent}}:host([item-hidden]){display:none}`,h=class extends w{constructor(){super(),this.rowCells=[],this.tableRowSlotEl=C(),this.userTriggered=!1,this._selected=!1,this.itemHidden=!1,this.disabled=!1,this.interactionMode="interactive",this.numbered=!1,this.selectionMode="none",this.calciteInternalTableRowFocusRequest=c({cancelable:!1}),this.calciteInternalTableRowSelect=c({cancelable:!1}),this.calciteTableRowSelect=c({cancelable:!1}),this.clickHandler=()=>{this.handleRowSelection()},this.handleKeyboardSelection=e=>{T(e.key)&&(e.key===" "&&e.preventDefault(),this.handleRowSelection())},this.listenOn(document,"calciteInternalTableRowFocusChange",this.calciteInternalTableRowFocusChangeHandler)}static{this.properties={alignment:[3,{reflect:!0}],itemHidden:[7,{reflect:!0,type:Boolean}],bodyRowCount:[9,{type:Number}],cellCount:[9,{type:Number}],disabled:[7,{reflect:!0,type:Boolean}],interactionMode:1,lastVisibleRow:[5,{type:Boolean}],numbered:[5,{type:Boolean}],positionAll:[9,{type:Number}],positionSection:[9,{type:Number}],positionSectionLocalized:1,readCellContentsToAT:[5,{type:Boolean}],rowType:1,scale:1,selected:[7,{reflect:!0,type:Boolean}],selectedRowCount:[9,{type:Number}],selectedRowCountLocalized:1,selectionMode:1}}static{this.styles=A}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.handleCellChanges())}load(){this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("bodyRowCount")||e.has("scale")||e.has("selectedRowCount")||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive"))&&this.handleCellChanges(),(e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.handleDelayedCellChanges(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&!this.userTriggered&&this.calciteInternalTableRowSelect.emit()}updated(){y(this)}loaded(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleSlotChange(){this.updateCells()}handleCellChanges(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleDelayedCellChanges(){this.tableRowEl&&this.rowCells.length>0&&requestAnimationFrame(()=>this.updateCells())}calciteInternalTableRowFocusChangeHandler(e){if(e.target.contains(this.el)){let l=e.detail.cellPosition,o=e.detail.rowPosition,i=e.detail.destination,t=e.detail.lastCell;if(o===this.positionAll){if(this.disabled){let b=i==="last"?"previous":i==="first"?"next":i;this.emitTableRowFocusRequest(l,this.positionAll,b);return}let n=t?this.rowCells[this.rowCells.length-1]:this.rowCells?.find((b,$)=>$+1===l);n&&n.setFocus()}}}keyDownHandler(e){if(this.interactionMode!=="interactive")return;let l=e.target,o=e.key,i=e.ctrlKey,t=this.rowCells;if(l.matches("calcite-table-cell")||l.matches("calcite-table-header"))switch(o){case"ArrowUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"previous"),e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"next"),e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"first"),e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"last"),e.preventDefault();break;case"ArrowLeft":r(t,l,"previous",!1),e.preventDefault();break;case"ArrowRight":r(t,l,"next",!1),e.preventDefault();break;case"Home":i?(this.emitTableRowFocusRequest(1,this.positionAll,"first"),e.preventDefault()):(r(t,l,"first",!1),e.preventDefault());break;case"End":i?(this.emitTableRowFocusRequest(this.rowCells?.length,this.positionAll,"last",!0),e.preventDefault()):(r(t,l,"last",!1),e.preventDefault());break}}emitTableRowFocusRequest(e,l,o,i){this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:l,destination:o,lastCell:i})}updateCells(){let e=this.alignment?this.alignment:this.rowType!=="head"?"center":"start",l=this.tableRowSlotEl.value?.assignedElements({flatten:!0})?.filter(t=>t.matches("calcite-table-cell")||t.matches("calcite-table-header")),o=Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter(t=>t.numberCell||t.selectionCell),i=o?o.concat(l):l;i.length>0&&i?.forEach((t,n)=>{t.interactionMode=this.interactionMode,t.lastCell=n===i.length-1,t.parentRowAlignment=e,t.parentRowIsSelected=this.selected,t.parentRowType=this.rowType,t.positionInRow=n+1,t.scale=this.scale,t.nodeName==="CALCITE-TABLE-CELL"&&(t.readCellContentsToAT=this.readCellContentsToAT,t.disabled=this.disabled)}),this.rowCells=i||[],this.cellCount=i?.length}async handleRowSelection(){(this.rowType==="body"||this.rowType==="head"&&this.selectionMode==="multiple")&&(this.userTriggered=!0,this.selected=!this.selected,await this.updateComplete,this.calciteTableRowSelect.emit())}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?"check-square-f":this.selectionMode==="multiple"?"square":this.selected?"circle-f":"circle";return s`<calcite-icon .icon=${e} .scale=${R(this.scale)}></calcite-icon>`}renderSelectableCell(){return this.rowType==="head"?a("selection-head",s`<calcite-table-header alignment=center .bodyRowCount=${this.bodyRowCount} @click=${this.clickHandler} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .selectedRowCount=${this.selectedRowCount} .selectedRowCountLocalized=${this.selectedRowCountLocalized} .selectionCell=${!0} .selectionMode=${this.selectionMode}></calcite-table-header>`):this.rowType==="body"?a("selection-body",s`<calcite-table-cell alignment=center @click=${this.clickHandler} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .parentRowIsSelected=${this.selected} .parentRowPositionLocalized=${this.positionSectionLocalized} .selectionCell=${!0}>${this.renderSelectionIcon()}</calcite-table-cell>`):a("selection-foot",s`<calcite-table-cell alignment=center .parentRowAlignment=${this.alignment} .selectionCell=${!0}></calcite-table-cell>`)}renderNumberedCell(){return this.rowType==="head"?a("numbered-head",s`<calcite-table-header alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-header>`):this.rowType==="body"?a("numbered-body",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}>${this.positionSectionLocalized}</calcite-table-cell>`):a("numbered-foot",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-cell>`)}render(){return g({disabled:this.disabled,children:s`<tr .ariaRowIndex=${this.positionAll+1} .ariaSelected=${this.selected} class=${m({[k.lastVisibleRow]:this.lastVisibleRow})} @keydown=${this.keyDownHandler} ${d(e=>{e&&(this.tableRowEl=e,p(s`${this.numbered&&this.renderNumberedCell()||""}${this.selectionMode!=="none"&&this.renderSelectableCell()||""}<slot ${d(this.tableRowSlotEl)}></slot>`,e))})}></tr>`})}};f("calcite-table-row",h);export{h as TableRow};
3
+ v3.2.0-next.40 */
4
+ import{a as y,b as g}from"./KOH7CJJ2.js";import{a}from"./PNGIMH3C.js";import{a as T}from"./VIJYQUPS.js";import{a as C,b as d}from"./6P5PSH65.js";import{z as r}from"./4JEZM6VX.js";import{a as R}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as f,e as u,g as s,l as p,w as c,x as w,y as m}from"./EYWRTO2E.js";var k={lastVisibleRow:"last-visible-row"},A=u`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}@-moz-document url-prefix(){tr{box-shadow:inset 0 -1px 0 0 var(--calcite-internal-table-row-border-color)}tr.last-visible-row{box-shadow:inset 0 -1px 0 0 transparent}}:host([item-hidden]){display:none}`,h=class extends w{constructor(){super(),this.rowCells=[],this.tableRowSlotEl=C(),this.userTriggered=!1,this._selected=!1,this.itemHidden=!1,this.disabled=!1,this.interactionMode="interactive",this.numbered=!1,this.selectionMode="none",this.calciteInternalTableRowFocusRequest=c({cancelable:!1}),this.calciteInternalTableRowSelect=c({cancelable:!1}),this.calciteTableRowSelect=c({cancelable:!1}),this.clickHandler=()=>{this.handleRowSelection()},this.handleKeyboardSelection=e=>{T(e.key)&&(e.key===" "&&e.preventDefault(),this.handleRowSelection())},this.listenOn(document,"calciteInternalTableRowFocusChange",this.calciteInternalTableRowFocusChangeHandler)}static{this.properties={alignment:[3,{reflect:!0}],itemHidden:[7,{reflect:!0,type:Boolean}],bodyRowCount:[9,{type:Number}],cellCount:[9,{type:Number}],disabled:[7,{reflect:!0,type:Boolean}],interactionMode:1,lastVisibleRow:[5,{type:Boolean}],numbered:[5,{type:Boolean}],positionAll:[9,{type:Number}],positionSection:[9,{type:Number}],positionSectionLocalized:1,readCellContentsToAT:[5,{type:Boolean}],rowType:1,scale:1,selected:[7,{reflect:!0,type:Boolean}],selectedRowCount:[9,{type:Number}],selectedRowCountLocalized:1,selectionMode:1}}static{this.styles=A}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.handleCellChanges())}load(){this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("bodyRowCount")||e.has("scale")||e.has("selectedRowCount")||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive"))&&this.handleCellChanges(),(e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.handleDelayedCellChanges(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&!this.userTriggered&&this.calciteInternalTableRowSelect.emit()}updated(){y(this)}loaded(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleSlotChange(){this.updateCells()}handleCellChanges(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleDelayedCellChanges(){this.tableRowEl&&this.rowCells.length>0&&requestAnimationFrame(()=>this.updateCells())}calciteInternalTableRowFocusChangeHandler(e){if(e.target.contains(this.el)){let l=e.detail.cellPosition,o=e.detail.rowPosition,i=e.detail.destination,t=e.detail.lastCell;if(o===this.positionAll){if(this.disabled){let b=i==="last"?"previous":i==="first"?"next":i;this.emitTableRowFocusRequest(l,this.positionAll,b);return}let n=t?this.rowCells[this.rowCells.length-1]:this.rowCells?.find((b,$)=>$+1===l);n&&n.setFocus()}}}keyDownHandler(e){if(this.interactionMode!=="interactive")return;let l=e.target,o=e.key,i=e.ctrlKey,t=this.rowCells;if(l.matches("calcite-table-cell")||l.matches("calcite-table-header"))switch(o){case"ArrowUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"previous"),e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"next"),e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"first"),e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"last"),e.preventDefault();break;case"ArrowLeft":r(t,l,"previous",!1),e.preventDefault();break;case"ArrowRight":r(t,l,"next",!1),e.preventDefault();break;case"Home":i?(this.emitTableRowFocusRequest(1,this.positionAll,"first"),e.preventDefault()):(r(t,l,"first",!1),e.preventDefault());break;case"End":i?(this.emitTableRowFocusRequest(this.rowCells?.length,this.positionAll,"last",!0),e.preventDefault()):(r(t,l,"last",!1),e.preventDefault());break}}emitTableRowFocusRequest(e,l,o,i){this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:l,destination:o,lastCell:i})}updateCells(){let e=this.alignment?this.alignment:this.rowType!=="head"?"center":"start",l=this.tableRowSlotEl.value?.assignedElements({flatten:!0})?.filter(t=>t.matches("calcite-table-cell")||t.matches("calcite-table-header")),o=Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter(t=>t.numberCell||t.selectionCell),i=o?o.concat(l):l;i.length>0&&i?.forEach((t,n)=>{t.interactionMode=this.interactionMode,t.lastCell=n===i.length-1,t.parentRowAlignment=e,t.parentRowIsSelected=this.selected,t.parentRowType=this.rowType,t.positionInRow=n+1,t.scale=this.scale,t.nodeName==="CALCITE-TABLE-CELL"&&(t.readCellContentsToAT=this.readCellContentsToAT,t.disabled=this.disabled)}),this.rowCells=i||[],this.cellCount=i?.length}async handleRowSelection(){(this.rowType==="body"||this.rowType==="head"&&this.selectionMode==="multiple")&&(this.userTriggered=!0,this.selected=!this.selected,await this.updateComplete,this.calciteTableRowSelect.emit())}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?"check-square-f":this.selectionMode==="multiple"?"square":this.selected?"circle-f":"circle";return s`<calcite-icon .icon=${e} .scale=${R(this.scale)}></calcite-icon>`}renderSelectableCell(){return this.rowType==="head"?a("selection-head",s`<calcite-table-header alignment=center .bodyRowCount=${this.bodyRowCount} @click=${this.clickHandler} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .selectedRowCount=${this.selectedRowCount} .selectedRowCountLocalized=${this.selectedRowCountLocalized} .selectionCell=${!0} .selectionMode=${this.selectionMode}></calcite-table-header>`):this.rowType==="body"?a("selection-body",s`<calcite-table-cell alignment=center @click=${this.clickHandler} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .parentRowIsSelected=${this.selected} .parentRowPositionLocalized=${this.positionSectionLocalized} .selectionCell=${!0}>${this.renderSelectionIcon()}</calcite-table-cell>`):a("selection-foot",s`<calcite-table-cell alignment=center .parentRowAlignment=${this.alignment} .selectionCell=${!0}></calcite-table-cell>`)}renderNumberedCell(){return this.rowType==="head"?a("numbered-head",s`<calcite-table-header alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-header>`):this.rowType==="body"?a("numbered-body",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}>${this.positionSectionLocalized}</calcite-table-cell>`):a("numbered-foot",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-cell>`)}render(){return g({disabled:this.disabled,children:s`<tr .ariaRowIndex=${this.positionAll+1} .ariaSelected=${this.selected} class=${m({[k.lastVisibleRow]:this.lastVisibleRow})} @keydown=${this.keyDownHandler} ${d(e=>{e&&(this.tableRowEl=e,p(s`${this.numbered&&this.renderNumberedCell()||""}${this.selectionMode!=="none"&&this.renderSelectableCell()||""}<slot ${d(this.tableRowSlotEl)}></slot>`,e))})}></tr>`})}};f("calcite-table-row",h);export{h as TableRow};
@@ -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,b,c}from"./CLRL273B.js";import"./GRLBXAFF.js";export{b as extractRegion,c as getCountry,a as global};
3
+ v3.2.0-next.40 */
4
+ import{a,b,c}from"./K3RGRXZK.js";import"./YD2UXF4G.js";export{b as extractRegion,c as getCountry,a as global};
@@ -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{c as y,e as z,h as C}from"./3VLVDWSS.js";import{c as k,d as v,e as x}from"./7T7MTXSU.js";import{a as f,b as p}from"./DTAEBKT4.js";import{a as m}from"./GTUVAAAD.js";import{a as d,b as g}from"./U2YGN4RT.js";import{e as u}from"./LLN5DNPL.js";import{d as b}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{A as i,D as n,K as h,e as s,g as a,h as l,w as t,x as r,y as o}from"./MZMZSY5A.js";var w={toggle:"toggle",check:"check-svg"},I=s`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .check-svg,:host([scale=s]) .toggle{inline-size:var(--calcite-checkbox-size, .75rem);block-size:var(--calcite-checkbox-size, .75rem)}:host([scale=m]) .check-svg,:host([scale=m]) .toggle{inline-size:var(--calcite-checkbox-size, var(--calcite-font-size--1));block-size:var(--calcite-checkbox-size, var(--calcite-font-size--1))}:host([scale=l]) .check-svg,:host([scale=l]) .toggle{inline-size:var(--calcite-checkbox-size, 1rem);block-size:var(--calcite-checkbox-size, 1rem)}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-checkbox-border-color, var(--calcite-color-border-input));color:var(--calcite-checkbox-icon-color, var(--calcite-color-background))}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-checkbox-border-color-hover, var(--calcite-color-brand))}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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))))}.toggle:after,.toggle:before{inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute}.toggle:not(.calcite--rtl):after{content:"";transform:translate(-50%) translateY(-50%)}.toggle.calcite--rtl:before{content:"";transform:translate(50%) translateY(-50%)}@media (forced-colors: active){.check-svg{border:1px solid currentColor}}: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}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends r{constructor(){super(),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.onLabelClick=()=>{this.toggle()},this.toggleEl=d(),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteCheckboxChange=t({cancelable:!1}),this.calciteInternalCheckboxBlur=t({cancelable:!1}),this.calciteInternalCheckboxFocus=t({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hovered:[7,{reflect:!0,type:Boolean}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validity:[0,{attribute:!1}],value:1}}static{this.styles=I}async setFocus(){await b(this),this.toggleEl.value?.focus()}connectedCallback(){super.connectedCallback(),k(this),y(this)}updated(){f(this)}disconnectedCallback(){super.disconnectedCallback(),v(this),z(this)}syncHiddenFormInput(e){e.type="checkbox"}getPath(){return this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:""}toggle(){this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())}keyDownHandler(e){m(e.key)&&(this.toggle(),e.preventDefault())}clickHandler(){this.toggle()}onToggleBlur(){this.calciteInternalCheckboxBlur.emit(!1)}onToggleFocus(){this.calciteInternalCheckboxFocus.emit(!0)}render(){let e=u(this.el)==="rtl";return p({disabled:this.disabled,children:a`<div .ariaChecked=${this.checked} .ariaLabel=${x(this)} class=${o({[w.toggle]:!0,[n.rtl]:e})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled?void 0:0)??i} ${g(this.toggleEl)}><svg aria-hidden=true class=${o(w.check)} viewBox="0 0 16 16">${l`<path d=${this.getPath()??i} />`}</svg><slot></slot></div>${C({component:this})}`})}};h("calcite-checkbox",c);export{c as Checkbox};
3
+ v3.2.0-next.40 */
4
+ import{c as y,e as z,h as C}from"./4KFIUD2B.js";import{c as k,d as v,e as x}from"./FR4VAYJC.js";import{a as f,b as p}from"./KOH7CJJ2.js";import{a as m}from"./VIJYQUPS.js";import{a as d,b as g}from"./6P5PSH65.js";import{e as u}from"./4JEZM6VX.js";import{d as b}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{A as i,D as n,K as h,e as s,g as a,h as l,w as t,x as r,y as o}from"./EYWRTO2E.js";var w={toggle:"toggle",check:"check-svg"},I=s`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .check-svg,:host([scale=s]) .toggle{inline-size:var(--calcite-checkbox-size, .75rem);block-size:var(--calcite-checkbox-size, .75rem)}:host([scale=m]) .check-svg,:host([scale=m]) .toggle{inline-size:var(--calcite-checkbox-size, var(--calcite-font-size--1));block-size:var(--calcite-checkbox-size, var(--calcite-font-size--1))}:host([scale=l]) .check-svg,:host([scale=l]) .toggle{inline-size:var(--calcite-checkbox-size, 1rem);block-size:var(--calcite-checkbox-size, 1rem)}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-checkbox-border-color, var(--calcite-color-border-input));color:var(--calcite-checkbox-icon-color, var(--calcite-color-background))}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-checkbox-border-color-hover, var(--calcite-color-brand))}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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))))}.toggle:after,.toggle:before{inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute}.toggle:not(.calcite--rtl):after{content:"";transform:translate(-50%) translateY(-50%)}.toggle.calcite--rtl:before{content:"";transform:translate(50%) translateY(-50%)}@media (forced-colors: active){.check-svg{border:1px solid currentColor}}: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}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends r{constructor(){super(),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.onLabelClick=()=>{this.toggle()},this.toggleEl=d(),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteCheckboxChange=t({cancelable:!1}),this.calciteInternalCheckboxBlur=t({cancelable:!1}),this.calciteInternalCheckboxFocus=t({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hovered:[7,{reflect:!0,type:Boolean}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validity:[0,{attribute:!1}],value:1}}static{this.styles=I}async setFocus(){await b(this),this.toggleEl.value?.focus()}connectedCallback(){super.connectedCallback(),k(this),y(this)}updated(){f(this)}disconnectedCallback(){super.disconnectedCallback(),v(this),z(this)}syncHiddenFormInput(e){e.type="checkbox"}getPath(){return this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:""}toggle(){this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())}keyDownHandler(e){m(e.key)&&(this.toggle(),e.preventDefault())}clickHandler(){this.toggle()}onToggleBlur(){this.calciteInternalCheckboxBlur.emit(!1)}onToggleFocus(){this.calciteInternalCheckboxFocus.emit(!0)}render(){let e=u(this.el)==="rtl";return p({disabled:this.disabled,children:a`<div .ariaChecked=${this.checked} .ariaLabel=${x(this)} class=${o({[w.toggle]:!0,[n.rtl]:e})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled?void 0:0)??i} ${g(this.toggleEl)}><svg aria-hidden=true class=${o(w.check)} viewBox="0 0 16 16">${l`<path d=${this.getPath()??i} />`}</svg><slot></slot></div>${C({component:this})}`})}};h("calcite-checkbox",c);export{c as Checkbox};
@@ -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 m}from"./U2YGN4RT.js";import{v as f,w as u}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{K as p,e as d,g as n,x as b,y as h}from"./MZMZSY5A.js";var g={section:"section"},x={titleGroup:"title-group"},v=d`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1));background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) section{border-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));border-style:solid}section{display:flex;flex-grow:1;overflow:hidden;border-width:1px;border-block-start-style:solid;border-block-start-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1)),inset 0 -1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([position=bottom]){flex-direction:column-reverse}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid;border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends b{constructor(){super(),this.tabs=[],this.titles=[],this.bordered=!1,this.layout="inline",this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:[16,{state:!0}],titles:[16,{state:!0}],bordered:[5,{type:Boolean}],layout:[3,{reflect:!0}],position:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=v}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&this.titles?.length>0&&this.tabs?.length>0&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation(),e.detail.length!==this.titles.length&&(this.titles=e.detail)}defaultSlotChangeHandler(e){this.tabs=f(e,"calcite-tab")}async updateAriaSettings(){await this.componentOnReady();let e,r,o=u(this.slotEl,"calcite-tab");if(o.some(t=>t.tab)||this.titles.some(t=>t.tab))e=o.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id),r=this.titles.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id);else{let t=await Promise.all(o.map(s=>s.getTabIndex())),a=await Promise.all(this.titles.map(s=>s.getTabIndex()));e=t.reduce((s,i,l)=>(s[i]=o[l].id,s),[]),r=a.reduce((s,i,l)=>(s[i]=this.titles[l].id,s),[])}o.forEach(t=>t._updateAriaInfo(e,r)),this.titles.forEach(t=>t._updateAriaInfo(e,r))}updateItems(){let{position:e,scale:r}=this,o=this.el.querySelector("calcite-tab-nav");o&&(o.position=e,o.scale=r),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(t=>{t.parentElement===this.el&&(t.scale=r)}),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach(t=>{t.position=e,t.scale=r})}setDefaultSlotRef(e){this.slotEl=e}render(){return n`<slot name=${x.titleGroup}></slot><section class=${h(g.section)}><slot @slotchange=${this.defaultSlotChangeHandler} ${m(this.setDefaultSlotRef)}></slot></section>`}};p("calcite-tabs",c);export{c as Tabs};
3
+ v3.2.0-next.40 */
4
+ import{b as m}from"./6P5PSH65.js";import{v as f,w as u}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as p,e as d,g as n,x as b,y as h}from"./EYWRTO2E.js";var g={section:"section"},x={titleGroup:"title-group"},v=d`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1));background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) section{border-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));border-style:solid}section{display:flex;flex-grow:1;overflow:hidden;border-width:1px;border-block-start-style:solid;border-block-start-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1)),inset 0 -1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([position=bottom]){flex-direction:column-reverse}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid;border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends b{constructor(){super(),this.tabs=[],this.titles=[],this.bordered=!1,this.layout="inline",this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:[16,{state:!0}],titles:[16,{state:!0}],bordered:[5,{type:Boolean}],layout:[3,{reflect:!0}],position:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=v}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&this.titles?.length>0&&this.tabs?.length>0&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation(),e.detail.length!==this.titles.length&&(this.titles=e.detail)}defaultSlotChangeHandler(e){this.tabs=f(e,"calcite-tab")}async updateAriaSettings(){await this.componentOnReady();let e,r,o=u(this.slotEl,"calcite-tab");if(o.some(t=>t.tab)||this.titles.some(t=>t.tab))e=o.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id),r=this.titles.sort((t,a)=>t.tab.localeCompare(a.tab)).map(t=>t.id);else{let t=await Promise.all(o.map(s=>s.getTabIndex())),a=await Promise.all(this.titles.map(s=>s.getTabIndex()));e=t.reduce((s,i,l)=>(s[i]=o[l].id,s),[]),r=a.reduce((s,i,l)=>(s[i]=this.titles[l].id,s),[])}o.forEach(t=>t._updateAriaInfo(e,r)),this.titles.forEach(t=>t._updateAriaInfo(e,r))}updateItems(){let{position:e,scale:r}=this,o=this.el.querySelector("calcite-tab-nav");o&&(o.position=e,o.scale=r),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(t=>{t.parentElement===this.el&&(t.scale=r)}),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach(t=>{t.position=e,t.scale=r})}setDefaultSlotRef(e){this.slotEl=e}render(){return n`<slot name=${x.titleGroup}></slot><section class=${h(g.section)}><slot @slotchange=${this.defaultSlotChangeHandler} ${m(this.setDefaultSlotRef)}></slot></section>`}};p("calcite-tabs",c);export{c as Tabs};
@@ -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{c as h,l as M,r as S,v as C}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{B as T,K as b,e as x,g as y,w as E,x as A}from"./MZMZSY5A.js";function w(u){return u?.tagName==="CALCITE-TREE-ITEM"}function D(u){return Array.from(u.querySelectorAll("calcite-tree-item:not([disabled])")).filter(t=>{let e=t;for(;e!==u&&e!==void 0;){let i=e.parentElement;if(!(!w(i)||!i.hasChildren||i.expanded))return!1;e=e.parentElement}return!0})}var k=x`:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends A{constructor(){super(),this.items=[],this.lines=!1,this.parentExpanded=!1,this.scale="m",this.selectedItems=[],this.selectionMode="single",this.calciteTreeSelect=E({cancelable:!1}),this.listen("focus",this.onFocus),this.listen("focusin",this.onFocusIn),this.listen("focusout",this.onFocusOut),this.listen("calciteInternalTreeItemSelect",this.onInternalTreeItemSelect),this.listen("keydown",this.keyDownHandler)}static{this.properties={child:[7,{reflect:!0,type:Boolean}],lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionMode:[3,{reflect:!0}]}}static{this.styles=k}willUpdate(t){t.has("parentExpanded")&&(this.hasUpdated||this.parentExpanded!==!1)&&this.updateItems();let e=this.el.parentElement?.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}onFocus(){if(!this.child){let t=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");M(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(t){if(this.child)return;let e=t.target,i=h(e.querySelectorAll("calcite-tree-item"));if(t.preventDefault(),t.stopPropagation(),this.selectionMode==="ancestors"){this.updateAncestorTree(t);return}let o=this.selectionMode==="none",n=this.selectionMode!==null&&(!e.hasChildren||e.hasChildren&&(this.selectionMode==="children"||this.selectionMode==="multichildren")),l=this.selectionMode==="multichildren"&&e.hasChildren,c=!o&&t.detail.modifyCurrentSelection&&(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),f=!c&&((this.selectionMode==="single"||this.selectionMode==="multiple")&&i.length<=0||this.selectionMode==="children"||this.selectionMode==="multichildren"||this.selectionMode==="single-persist"&&!e.hasChildren),d=["multiple","none","single","single-persist"].includes(this.selectionMode)&&e.hasChildren,a=[];n&&a.push(e),f&&h(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach(r=>{a.includes(r)||(r.selected=!1)}),d&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(e.expanded=!e.expanded),l&&i.forEach(s=>{s.selected=!1,s.hasChildren&&(s.expanded=!1)}),c&&window.getSelection().removeAllRanges(),c&&e.selected?a.forEach(s=>{s.disabled||(s.selected=!1)}):o||a.forEach(s=>{s.disabled||(s.selected=this.selectionMode!=="single"||!s.selected)}),this.selectedItems=o?[]:h(this.el.querySelectorAll("calcite-tree-item")).filter(s=>s.selected),this.calciteTreeSelect.emit(),t.stopPropagation()}keyDownHandler(t){if(this.child)return;let e=this.el,i=t.target,o=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"];if(!(w(i)&&this.el.contains(i))||!o.includes(t.key))return;let n=D(e);if(t.key==="Tab"){n.forEach(l=>l.tabIndex=-1);return}if(t.key==="ArrowDown"){let l=n.indexOf(i);n[l+1]?.focus(),t.preventDefault();return}if(t.key==="ArrowUp"){let l=n.indexOf(i);n[l-1]?.focus(),t.preventDefault();return}if(t.key==="ArrowLeft"){if(i.hasChildren&&i.expanded){i.expanded=!1,t.preventDefault();return}n.slice(0,n.indexOf(i)).reverse().find(f=>f.depth===i.depth-1)?.focus(),t.preventDefault();return}if(t.key==="ArrowRight"){if(!i.disabled&&i.hasChildren)if(!i.expanded)i.expanded=!0,t.preventDefault();else{let l=n.indexOf(i);n[l+1]?.focus(),t.preventDefault()}return}if(t.key==="Home"){let l=n.shift();l&&(l.focus(),t.preventDefault());return}if(t.key==="End"){let l=n.pop();l&&(l.focus(),t.preventDefault());return}}updateAncestorTree(t){let e=t.target,i=t.detail.updateItem;if(e.disabled||e.indeterminate&&!i)return;let o=[],n=e.parentElement.closest("calcite-tree-item");for(;n;)o.push(n),n=n.parentElement.closest("calcite-tree-item");let l=Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")),c=l.filter(s=>!s.hasChildren),f=l.filter(s=>s.hasChildren),d;i?d=e.hasChildren?!(e.selected||e.indeterminate):!e.selected:d=e.selected,c.forEach(s=>{s.selected=d,s.indeterminate=!1});function a(s,r){let m=s.filter(p=>p.selected),I=s.filter(p=>!p.selected);r.selected=m.length===s.length,r.indeterminate=m.length>0&&I.length>0}f.reverse().forEach(s=>{let r=Array.from(s.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));a(r,s)}),i&&(e.hasChildren?a(l,e):(e.selected=d,e.indeterminate=!1)),o.forEach(s=>{let r=h(s.querySelectorAll("calcite-tree-item")),m=r.filter(p=>p.selected);if(m.length===0){s.selected=!1,s.indeterminate=!1;return}let I=m.length<r.length;s.indeterminate=I,s.selected=!I}),this.selectedItems=h(this.el.querySelectorAll("calcite-tree-item")).filter(s=>s.selected),i&&this.calciteTreeSelect.emit()}updateItems(){this.items.forEach(t=>t.parentExpanded=this.parentExpanded)}handleDefaultSlotChange(t){let e=C(t).filter(i=>i.matches("calcite-tree-item"));this.items=e,this.updateItems()}getRootTabIndex(){return this.child?-1:0}render(){return this.el.ariaMultiSelectable=this.child?void 0:S(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),this.el.role=this.child?void 0:"tree",T(this.el,"tabIndex",this.getRootTabIndex()),y`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`}};b("calcite-tree",g);export{g as Tree};
3
+ v3.2.0-next.40 */
4
+ import{c as h,l as M,r as S,v as C}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{B as T,K as b,e as x,g as y,w as E,x as A}from"./EYWRTO2E.js";function w(u){return u?.tagName==="CALCITE-TREE-ITEM"}function D(u){return Array.from(u.querySelectorAll("calcite-tree-item:not([disabled])")).filter(t=>{let e=t;for(;e!==u&&e!==void 0;){let i=e.parentElement;if(!(!w(i)||!i.hasChildren||i.expanded))return!1;e=e.parentElement}return!0})}var k=x`:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends A{constructor(){super(),this.items=[],this.lines=!1,this.parentExpanded=!1,this.scale="m",this.selectedItems=[],this.selectionMode="single",this.calciteTreeSelect=E({cancelable:!1}),this.listen("focus",this.onFocus),this.listen("focusin",this.onFocusIn),this.listen("focusout",this.onFocusOut),this.listen("calciteInternalTreeItemSelect",this.onInternalTreeItemSelect),this.listen("keydown",this.keyDownHandler)}static{this.properties={child:[7,{reflect:!0,type:Boolean}],lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionMode:[3,{reflect:!0}]}}static{this.styles=k}willUpdate(t){t.has("parentExpanded")&&(this.hasUpdated||this.parentExpanded!==!1)&&this.updateItems();let e=this.el.parentElement?.closest("calcite-tree");this.lines=e?e.lines:this.lines,this.scale=e?e.scale:this.scale,this.selectionMode=e?e.selectionMode:this.selectionMode,this.child=!!e}onFocus(){if(!this.child){let t=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");M(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(t){if(this.child)return;let e=t.target,i=h(e.querySelectorAll("calcite-tree-item"));if(t.preventDefault(),t.stopPropagation(),this.selectionMode==="ancestors"){this.updateAncestorTree(t);return}let o=this.selectionMode==="none",n=this.selectionMode!==null&&(!e.hasChildren||e.hasChildren&&(this.selectionMode==="children"||this.selectionMode==="multichildren")),l=this.selectionMode==="multichildren"&&e.hasChildren,c=!o&&t.detail.modifyCurrentSelection&&(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),f=!c&&((this.selectionMode==="single"||this.selectionMode==="multiple")&&i.length<=0||this.selectionMode==="children"||this.selectionMode==="multichildren"||this.selectionMode==="single-persist"&&!e.hasChildren),d=["multiple","none","single","single-persist"].includes(this.selectionMode)&&e.hasChildren,a=[];n&&a.push(e),f&&h(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach(r=>{a.includes(r)||(r.selected=!1)}),d&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(e.expanded=!e.expanded),l&&i.forEach(s=>{s.selected=!1,s.hasChildren&&(s.expanded=!1)}),c&&window.getSelection().removeAllRanges(),c&&e.selected?a.forEach(s=>{s.disabled||(s.selected=!1)}):o||a.forEach(s=>{s.disabled||(s.selected=this.selectionMode!=="single"||!s.selected)}),this.selectedItems=o?[]:h(this.el.querySelectorAll("calcite-tree-item")).filter(s=>s.selected),this.calciteTreeSelect.emit(),t.stopPropagation()}keyDownHandler(t){if(this.child)return;let e=this.el,i=t.target,o=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"];if(!(w(i)&&this.el.contains(i))||!o.includes(t.key))return;let n=D(e);if(t.key==="Tab"){n.forEach(l=>l.tabIndex=-1);return}if(t.key==="ArrowDown"){let l=n.indexOf(i);n[l+1]?.focus(),t.preventDefault();return}if(t.key==="ArrowUp"){let l=n.indexOf(i);n[l-1]?.focus(),t.preventDefault();return}if(t.key==="ArrowLeft"){if(i.hasChildren&&i.expanded){i.expanded=!1,t.preventDefault();return}n.slice(0,n.indexOf(i)).reverse().find(f=>f.depth===i.depth-1)?.focus(),t.preventDefault();return}if(t.key==="ArrowRight"){if(!i.disabled&&i.hasChildren)if(!i.expanded)i.expanded=!0,t.preventDefault();else{let l=n.indexOf(i);n[l+1]?.focus(),t.preventDefault()}return}if(t.key==="Home"){let l=n.shift();l&&(l.focus(),t.preventDefault());return}if(t.key==="End"){let l=n.pop();l&&(l.focus(),t.preventDefault());return}}updateAncestorTree(t){let e=t.target,i=t.detail.updateItem;if(e.disabled||e.indeterminate&&!i)return;let o=[],n=e.parentElement.closest("calcite-tree-item");for(;n;)o.push(n),n=n.parentElement.closest("calcite-tree-item");let l=Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")),c=l.filter(s=>!s.hasChildren),f=l.filter(s=>s.hasChildren),d;i?d=e.hasChildren?!(e.selected||e.indeterminate):!e.selected:d=e.selected,c.forEach(s=>{s.selected=d,s.indeterminate=!1});function a(s,r){let m=s.filter(p=>p.selected),I=s.filter(p=>!p.selected);r.selected=m.length===s.length,r.indeterminate=m.length>0&&I.length>0}f.reverse().forEach(s=>{let r=Array.from(s.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));a(r,s)}),i&&(e.hasChildren?a(l,e):(e.selected=d,e.indeterminate=!1)),o.forEach(s=>{let r=h(s.querySelectorAll("calcite-tree-item")),m=r.filter(p=>p.selected);if(m.length===0){s.selected=!1,s.indeterminate=!1;return}let I=m.length<r.length;s.indeterminate=I,s.selected=!I}),this.selectedItems=h(this.el.querySelectorAll("calcite-tree-item")).filter(s=>s.selected),i&&this.calciteTreeSelect.emit()}updateItems(){this.items.forEach(t=>t.parentExpanded=this.parentExpanded)}handleDefaultSlotChange(t){let e=C(t).filter(i=>i.matches("calcite-tree-item"));this.items=e,this.updateItems()}getRootTabIndex(){return this.child?-1:0}render(){return this.el.ariaMultiSelectable=this.child?void 0:S(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),this.el.role=this.child?void 0:"tree",T(this.el,"tabIndex",this.getRootTabIndex()),y`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`}};b("calcite-tree",g);export{g as Tree};
@@ -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 */
3
+ v3.2.0-next.40 */
4
4
  var c={max:"320px"},a={max:"476px"},i={max:"768px"},t={max:"1152px"},e="8px",n="12px",s="16px",x="2px",o="0.25rem",p="0.5rem";export{c as a,a as b,i as c,t as d,e,n as f,s as g,x as h,o as i,p as j};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.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"./GZUOSY5I.js";import{b as u}from"./U2YGN4RT.js";import{a}from"./POGNNNSN.js";import{g as o,k as n,y as e}from"./MZMZSY5A.js";var i={button:"x-button",buttonRound:"x-button--round"},k=({disabled:c,focusable:b,key:m,label:s,onClick:l,ref:$,round:f=!0,scale:t,title:p})=>r(m,o`<button .ariaLabel=${s} class=${e({[(d=>`x-button--${d}`)(t)]:!0,[i.button]:!0,[i.buttonRound]:f})} .disabled=${c} @click=${l} .tabIndex=${b?0:-1} title=${p??n} type=button ${u($)}><calcite-icon icon=x .scale=${a(t)}></calcite-icon></button>`);export{i as a,k as b};
3
+ v3.2.0-next.40 */
4
+ import{a as r}from"./PNGIMH3C.js";import{b as u}from"./6P5PSH65.js";import{a}from"./VOMFC6A5.js";import{g as o,k as n,y as e}from"./EYWRTO2E.js";var i={button:"x-button",buttonRound:"x-button--round"},k=({disabled:c,focusable:b,key:m,label:s,onClick:l,ref:$,round:f=!0,scale:t,title:p})=>r(m,o`<button .ariaLabel=${s} class=${e({[(d=>`x-button--${d}`)(t)]:!0,[i.button]:!0,[i.buttonRound]:f})} .disabled=${c} @click=${l} .tabIndex=${b?0:-1} title=${p??n} type=button ${u($)}><calcite-icon icon=x .scale=${a(t)}></calcite-icon></button>`);export{i as a,k as b};
@@ -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 G,b as T}from"./3VMC2CMT.js";import{a as O,b as x}from"./DTAEBKT4.js";import{a as y}from"./RFI4KO6W.js";import{a as E}from"./DX4BEDZ3.js";import{g as C,n as I}from"./LLN5DNPL.js";import{d as S}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{a as B}from"./R3CUJDU2.js";import{E as v,K as k,e as f,g as h,w as n,x as g,y as c}from"./MZMZSY5A.js";function D(d){return d.tagName==="CALCITE-BLOCK"}var p={container:"container",groupContainer:"group-container",scrim:"scrim",assistiveText:"assistive-text"},u="calcite-block-group",m="calcite-block",P=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{position:relative}.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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;function w(d){let e=d.assignedElements({flatten:!0}).filter(s=>s.matches(m));e.forEach(s=>{s.setPosition=e.indexOf(s)+1,s.setSize=e.length})}var b=class extends g{constructor(){super(),this.dragSelector=m,this.handleSelector="calcite-sort-handle",this.mutationObserver=E("mutation",()=>{this.updateBlockItems()}),this.updateBlockItems=y(()=>{this.updateGroupItems();let{dragEnabled:e,el:s,moveToItems:a}=this;Array.from(this.el.querySelectorAll(m)).forEach(t=>{t.closest(u)===s&&(t.moveToItems=a.filter(l=>l.element!==s&&!t.contains(l.element)),t.dragHandle=e)}),this.setUpSorting()},v.nextTick),this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.loading=!1,this.calciteBlockGroupDragEnd=n({cancelable:!1}),this.calciteBlockGroupDragStart=n({cancelable:!1}),this.calciteBlockGroupOrderChange=n({cancelable:!1}),this.calciteBlockGroupMoveHalt=n({cancelable:!1}),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove)}static{this.properties={assistiveText:[16,{state:!0}],moveToItems:[16,{state:!0}],canPull:[0,{attribute:!1}],canPut:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],dragEnabled:[7,{reflect:!0,type:Boolean}],group:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}]}}static{this.styles=P}async setFocus(){await S(this),I(this.el)}putFailed(e){this.calciteBlockGroupMoveHalt.emit(e)}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.updateBlockItems(),this.setUpSorting(),this.setParentBlockGroup()}willUpdate(e){(e.has("group")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.updateBlockItems()}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),T(this)}updateGroupItems(){let{el:e,group:s}=this,a=C(e),r=s?Array.from(a.querySelectorAll(`${u}[group="${s}"]`)).filter(t=>!t.disabled&&t.dragEnabled):[];this.moveToItems=r.map(t=>({element:t,label:t.label??t.id,id:B()}))}handleCalciteInternalAssistiveTextChange(e){this.assistiveText=e.detail.message,e.stopPropagation()}handleSortReorder(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleReorder(e))}handleSortMove(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleMove(e))}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:e}=this;e&&G(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(e){this.calciteBlockGroupDragEnd.emit(e)}onDragStart(e){e.dragEl.sortHandleOpen=!1,this.calciteBlockGroupDragStart.emit(e)}onDragSort(e){this.setParentBlockGroup(),this.updateBlockItems(),this.calciteBlockGroupOrderChange.emit(e)}setParentBlockGroup(){this.parentBlockGroupEl=this.el.parentElement?.closest(u)}handleDefaultSlotChange(e){w(e.target)}handleMove(e){let{moveTo:s}=e.detail,a=e.target,r=a?.parentElement,t=s.element,i=Array.from(r.children).filter(D).indexOf(a),o=0;if(r){if(r.canPull?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){this.calciteBlockGroupMoveHalt.emit({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}if(t.canPut?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){t.putFailed({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}a.sortHandleOpen=!1,this.disconnectObserver(),t.prepend(a),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:t,newIndex:o,oldIndex:i})}}handleReorder(e){let{reorder:s}=e.detail,a=e.target,r=a?.parentElement;if(!r)return;a.sortHandleOpen=!1;let t=Array.from(r.children).filter(D),l=t.length-1,i=t.indexOf(a),o=i;switch(s){case"top":o=0;break;case"bottom":o=l;break;case"up":o=i===0?0:i-1;break;case"down":o=i===l?l:i+1;break}this.disconnectObserver();let $=s==="up"||s==="top"?t[o]:t[o].nextSibling;r.insertBefore(a,$),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:r,newIndex:o,oldIndex:i})}render(){let{loading:e,label:s}=this;return x({disabled:this.disabled,children:h`<div class=${c(p.container)}>${this.dragEnabled?h`<span aria-live=assertive class=${c(p.assistiveText)}>${this.assistiveText}</span>`:null}${e?h`<calcite-scrim class=${c(p.scrim)} .loading=${e}></calcite-scrim>`:null}<div .ariaBusy=${e} .ariaLabel=${s||""} class=${c(p.groupContainer)} role=group><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`})}};k("calcite-block-group",b);export{b as BlockGroup};
3
+ v3.2.0-next.40 */
4
+ import{a as G,b as T}from"./SWKCCOCK.js";import{a as O,b as x}from"./KOH7CJJ2.js";import{a as y}from"./HPNQQK6A.js";import{a as E}from"./VYNVOZVL.js";import{g as C,n as I}from"./4JEZM6VX.js";import{d as S}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{a as B}from"./6DCGXB5R.js";import{E as v,K as k,e as f,g as h,w as n,x as g,y as c}from"./EYWRTO2E.js";function D(d){return d.tagName==="CALCITE-BLOCK"}var p={container:"container",groupContainer:"group-container",scrim:"scrim",assistiveText:"assistive-text"},u="calcite-block-group",m="calcite-block",P=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{position:relative}.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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;function w(d){let e=d.assignedElements({flatten:!0}).filter(s=>s.matches(m));e.forEach(s=>{s.setPosition=e.indexOf(s)+1,s.setSize=e.length})}var b=class extends g{constructor(){super(),this.dragSelector=m,this.handleSelector="calcite-sort-handle",this.mutationObserver=E("mutation",()=>{this.updateBlockItems()}),this.updateBlockItems=y(()=>{this.updateGroupItems();let{dragEnabled:e,el:s,moveToItems:a}=this;Array.from(this.el.querySelectorAll(m)).forEach(t=>{t.closest(u)===s&&(t.moveToItems=a.filter(l=>l.element!==s&&!t.contains(l.element)),t.dragHandle=e)}),this.setUpSorting()},v.nextTick),this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.loading=!1,this.calciteBlockGroupDragEnd=n({cancelable:!1}),this.calciteBlockGroupDragStart=n({cancelable:!1}),this.calciteBlockGroupOrderChange=n({cancelable:!1}),this.calciteBlockGroupMoveHalt=n({cancelable:!1}),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove)}static{this.properties={assistiveText:[16,{state:!0}],moveToItems:[16,{state:!0}],canPull:[0,{attribute:!1}],canPut:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],dragEnabled:[7,{reflect:!0,type:Boolean}],group:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}]}}static{this.styles=P}async setFocus(){await S(this),I(this.el)}putFailed(e){this.calciteBlockGroupMoveHalt.emit(e)}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.updateBlockItems(),this.setUpSorting(),this.setParentBlockGroup()}willUpdate(e){(e.has("group")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.updateBlockItems()}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),T(this)}updateGroupItems(){let{el:e,group:s}=this,a=C(e),r=s?Array.from(a.querySelectorAll(`${u}[group="${s}"]`)).filter(t=>!t.disabled&&t.dragEnabled):[];this.moveToItems=r.map(t=>({element:t,label:t.label??t.id,id:B()}))}handleCalciteInternalAssistiveTextChange(e){this.assistiveText=e.detail.message,e.stopPropagation()}handleSortReorder(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleReorder(e))}handleSortMove(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleMove(e))}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:e}=this;e&&G(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(e){this.calciteBlockGroupDragEnd.emit(e)}onDragStart(e){e.dragEl.sortHandleOpen=!1,this.calciteBlockGroupDragStart.emit(e)}onDragSort(e){this.setParentBlockGroup(),this.updateBlockItems(),this.calciteBlockGroupOrderChange.emit(e)}setParentBlockGroup(){this.parentBlockGroupEl=this.el.parentElement?.closest(u)}handleDefaultSlotChange(e){w(e.target)}handleMove(e){let{moveTo:s}=e.detail,a=e.target,r=a?.parentElement,t=s.element,i=Array.from(r.children).filter(D).indexOf(a),o=0;if(r){if(r.canPull?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){this.calciteBlockGroupMoveHalt.emit({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}if(t.canPut?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){t.putFailed({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}a.sortHandleOpen=!1,this.disconnectObserver(),t.prepend(a),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:t,newIndex:o,oldIndex:i})}}handleReorder(e){let{reorder:s}=e.detail,a=e.target,r=a?.parentElement;if(!r)return;a.sortHandleOpen=!1;let t=Array.from(r.children).filter(D),l=t.length-1,i=t.indexOf(a),o=i;switch(s){case"top":o=0;break;case"bottom":o=l;break;case"up":o=i===0?0:i-1;break;case"down":o=i===l?l:i+1;break}this.disconnectObserver();let $=s==="up"||s==="top"?t[o]:t[o].nextSibling;r.insertBefore(a,$),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:r,newIndex:o,oldIndex:i})}render(){let{loading:e,label:s}=this;return x({disabled:this.disabled,children:h`<div class=${c(p.container)}>${this.dragEnabled?h`<span aria-live=assertive class=${c(p.assistiveText)}>${this.assistiveText}</span>`:null}${e?h`<calcite-scrim class=${c(p.scrim)} .loading=${e}></calcite-scrim>`:null}<div .ariaBusy=${e} .ariaLabel=${s||""} class=${c(p.groupContainer)} role=group><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`})}};k("calcite-block-group",b);export{b as BlockGroup};
@@ -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 */
3
+ v3.2.0-next.40 */
4
4
  function t(n){return n==="Enter"||n===" "}var e=["0","1","2","3","4","5","6","7","8","9"];export{t as a,e as b};
@@ -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{h as g}from"./MUFGKP4E.js";import{k as o}from"./7CQ233AJ.js";import{a as p,b as y}from"./DTAEBKT4.js";import{a as v}from"./GTUVAAAD.js";import{k as h,r as u}from"./LLN5DNPL.js";import{d as f}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{B as a,K as d,e as l,g as s,w as t,x as n}from"./MZMZSY5A.js";var k=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{position:relative;display:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-3))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);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))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{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(:hover:not([disabled]):not([selected])) .day{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([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-brand));background-color:var(--calcite-date-picker-day-range-background-color, var(--calcite-color-foreground-current))}@media (forced-colors: active){.day{border-radius:0}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day,:host([highlighted]) .day,:host([range-hover]:not([selected])) .day{background-color:highlight}:host([range-hover]) .day,:host([range][selected][start-of-range]) .day,:host([range][selected][end-of-range]) .day{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends n{constructor(){super(),this.active=!1,this.currentMonth=!1,this.disabled=!1,this.endOfRange=!1,this.highlighted=!1,this.range=!1,this.rangeHover=!1,this.selected=!1,this.startOfRange=!1,this.calciteInternalDayHover=t({cancelable:!1}),this.calciteInternalDaySelect=t({cancelable:!1}),this.listen("pointerover",this.pointerOverHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={active:[7,{reflect:!0,type:Boolean}],currentMonth:[7,{reflect:!0,type:Boolean}],dateTimeFormat:[0,{attribute:!1}],day:[9,{type:Number}],disabled:[7,{reflect:!0,type:Boolean}],endOfRange:[7,{reflect:!0,type:Boolean}],highlighted:[7,{reflect:!0,type:Boolean}],range:[7,{reflect:!0,type:Boolean}],rangeEdge:[3,{reflect:!0}],rangeHover:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],startOfRange:[7,{reflect:!0,type:Boolean}],value:[0,{attribute:!1}]}}static{this.styles=k}async setFocus(){await f(this),this.el.focus()}load(){this.parentDatePickerEl=h(this.el,"calcite-date-picker")}updated(){p(this)}onClick(){this.disabled||this.calciteInternalDaySelect.emit()}keyDownHandler(e){v(e.key)&&(this.disabled||this.calciteInternalDaySelect.emit(),e.preventDefault())}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}render(){let e=g(this.value).replaceAll("-","");if(this.parentDatePickerEl){let{numberingSystem:i,lang:c}=this.parentDatePickerEl;o.numberFormatOptions={useGrouping:!1,...i&&{numberingSystem:i},...c&&{locale:c}}}let b=o.localize(String(this.day)),m=this.dateTimeFormat.format(this.value);return this.el.ariaLabel=m,this.el.ariaSelected=u(this.active),a(this.el,"id",e),this.el.role="button",a(this.el,"tabIndex",this.active&&!this.disabled?0:-1),y({disabled:this.disabled,children:s`<div aria-hidden=true class="day-wrapper"><span class="day"><span class="text">${b}</span></span></div>`})}};d("calcite-date-picker-day",r);export{r as DatePickerDay};
3
+ v3.2.0-next.40 */
4
+ import{h as g}from"./AZTNUW5Z.js";import{k as o}from"./XZK2I4C2.js";import{a as p,b as y}from"./KOH7CJJ2.js";import{a as v}from"./VIJYQUPS.js";import{k as h,r as u}from"./4JEZM6VX.js";import{d as f}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{B as a,K as d,e as l,g as s,w as t,x as n}from"./EYWRTO2E.js";var k=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{position:relative;display:flex;cursor:pointer;outline:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-wrapper{position:relative;display:flex;inline-size:100%;flex-direction:column;align-items:center;justify-content:center}.day{position:relative;display:flex;inline-size:100%;align-items:center;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;line-height:var(--calcite-font-line-height-fixed-base);block-size:var(--calcite-internal-day-size);outline-color:var(--calcite-color-transparent);background-color:var(--calcite-date-picker-day-background-color);color:var(--calcite-date-picker-day-text-color, var(--calcite-color-text-3))}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size: 32px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size: 40px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size: 44px}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day{background-color:var(--calcite-date-picker-day-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-text-color-hover, var(--calcite-color-text-1))}:host(:not([range]):not([selected]).current-day) .day{color:var(--calcite-date-picker-current-day-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host(:focus[selected]) .day{z-index:var(--calcite-z-index);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))));box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host(:focus:not([disabled]):not([selected])) .day{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(:hover:not([disabled]):not([selected])) .day{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([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-date-picker-day-background-color-selected, var(--calcite-color-brand));color:var(--calcite-date-picker-day-text-color-selected, var(--calcite-color-foreground-1))}:host([range-hover]:not([selected])) .day{background-color:var(--calcite-date-picker-day-outside-range-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-date-picker-day-outside-range-text-color-hover, var(--calcite-color-text-1))}:host([highlighted]:not([selected])) .day,:host(:hover[highlighted]:not([selected])) .day{color:var(--calcite-date-picker-day-range-text-color, var(--calcite-color-brand));background-color:var(--calcite-date-picker-day-range-background-color, var(--calcite-color-foreground-current))}@media (forced-colors: active){.day{border-radius:0}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day,:host([highlighted]) .day,:host([range-hover]:not([selected])) .day{background-color:highlight}:host([range-hover]) .day,:host([range][selected][start-of-range]) .day,:host([range][selected][end-of-range]) .day{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends n{constructor(){super(),this.active=!1,this.currentMonth=!1,this.disabled=!1,this.endOfRange=!1,this.highlighted=!1,this.range=!1,this.rangeHover=!1,this.selected=!1,this.startOfRange=!1,this.calciteInternalDayHover=t({cancelable:!1}),this.calciteInternalDaySelect=t({cancelable:!1}),this.listen("pointerover",this.pointerOverHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={active:[7,{reflect:!0,type:Boolean}],currentMonth:[7,{reflect:!0,type:Boolean}],dateTimeFormat:[0,{attribute:!1}],day:[9,{type:Number}],disabled:[7,{reflect:!0,type:Boolean}],endOfRange:[7,{reflect:!0,type:Boolean}],highlighted:[7,{reflect:!0,type:Boolean}],range:[7,{reflect:!0,type:Boolean}],rangeEdge:[3,{reflect:!0}],rangeHover:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],startOfRange:[7,{reflect:!0,type:Boolean}],value:[0,{attribute:!1}]}}static{this.styles=k}async setFocus(){await f(this),this.el.focus()}load(){this.parentDatePickerEl=h(this.el,"calcite-date-picker")}updated(){p(this)}onClick(){this.disabled||this.calciteInternalDaySelect.emit()}keyDownHandler(e){v(e.key)&&(this.disabled||this.calciteInternalDaySelect.emit(),e.preventDefault())}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}render(){let e=g(this.value).replaceAll("-","");if(this.parentDatePickerEl){let{numberingSystem:i,lang:c}=this.parentDatePickerEl;o.numberFormatOptions={useGrouping:!1,...i&&{numberingSystem:i},...c&&{locale:c}}}let b=o.localize(String(this.day)),m=this.dateTimeFormat.format(this.value);return this.el.ariaLabel=m,this.el.ariaSelected=u(this.active),a(this.el,"id",e),this.el.role="button",a(this.el,"tabIndex",this.active&&!this.disabled?0:-1),y({disabled:this.disabled,children:s`<div aria-hidden=true class="day-wrapper"><span class="day"><span class="text">${b}</span></span></div>`})}};d("calcite-date-picker-day",r);export{r as DatePickerDay};
@@ -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 t}from"./QJN3Y7KP.js";function r(i){return i==="l"?"m":"s"}function o(i,n,a){!i[n]&&!i[a]&&t.warn(`[${i.el.localName}] "${n.toString()}" or "${a.toString()}" is required.`)}function s(i){return i.hidden||i.itemHidden}async function u(i){await i.componentOnReady(),await i.updateComplete}export{r as a,o as b,s as c,u as d};
3
+ v3.2.0-next.40 */
4
+ import{a as t}from"./PB3OJ43M.js";function r(i){return i==="l"?"m":"s"}function o(i,n,a){!i[n]&&!i[a]&&t.warn(`[${i.el.localName}] "${n.toString()}" or "${a.toString()}" is required.`)}function s(i){return i.hidden||i.itemHidden}async function u(i){await i.componentOnReady(),await i.updateComplete}export{r as a,o as b,s as c,u as d};
@@ -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 */