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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (655) hide show
  1. package/dist/calcite/{VGUJWIE3.js → 2AURSSBW.js} +2 -2
  2. package/dist/calcite/{3RVJJX2U.js.LEGAL.txt → 2AURSSBW.js.LEGAL.txt} +1 -1
  3. package/dist/calcite/{QJMY6HK4.js → 2BKMHEEV.js} +2 -2
  4. package/dist/calcite/{24OTRUCC.js.LEGAL.txt → 2BKMHEEV.js.LEGAL.txt} +1 -1
  5. package/dist/calcite/{ZMFN7VKF.js → 2O44LJYG.js} +2 -2
  6. package/dist/calcite/{372T7EBW.js.LEGAL.txt → 2O44LJYG.js.LEGAL.txt} +1 -1
  7. package/dist/calcite/{372T7EBW.js → 2OKWW5QW.js} +2 -2
  8. package/dist/calcite/{2DKPKQXG.js.LEGAL.txt → 2OKWW5QW.js.LEGAL.txt} +1 -1
  9. package/dist/calcite/{RN6G4AJW.js → 33VZVMEQ.js} +2 -2
  10. package/dist/calcite/33VZVMEQ.js.LEGAL.txt +3 -0
  11. package/dist/calcite/{G77XQIMX.js → 34H6VHCP.js} +2 -2
  12. package/dist/calcite/34H6VHCP.js.LEGAL.txt +3 -0
  13. package/dist/calcite/{RLN7DR35.js → 3BX3JALR.js} +2 -2
  14. package/dist/calcite/3BX3JALR.js.LEGAL.txt +3 -0
  15. package/dist/calcite/{3RVJJX2U.js → 3KAKFW27.js} +2 -2
  16. package/dist/calcite/3KAKFW27.js.LEGAL.txt +3 -0
  17. package/dist/calcite/{P2XP2NHT.js → 3NKYZGOY.js} +2 -2
  18. package/dist/calcite/3NKYZGOY.js.LEGAL.txt +3 -0
  19. package/dist/calcite/{TYKK4ZDP.js → 3OLDLPGW.js} +2 -2
  20. package/dist/calcite/3OLDLPGW.js.LEGAL.txt +3 -0
  21. package/dist/calcite/{IRUMOVZZ.js → 3ZC35IU6.js} +2 -2
  22. package/dist/calcite/3ZC35IU6.js.LEGAL.txt +3 -0
  23. package/dist/calcite/{GS3X5VRZ.js → 3ZHVUAGO.js} +2 -2
  24. package/dist/calcite/3ZHVUAGO.js.LEGAL.txt +3 -0
  25. package/dist/calcite/{NYCLULH3.js → 3ZI3PBLD.js} +2 -2
  26. package/dist/calcite/3ZI3PBLD.js.LEGAL.txt +3 -0
  27. package/dist/calcite/{MR5UPVPG.js → 47SZGRLH.js} +2 -2
  28. package/dist/calcite/47SZGRLH.js.LEGAL.txt +3 -0
  29. package/dist/calcite/{LLN5DNPL.js → 4JEZM6VX.js} +2 -2
  30. package/dist/calcite/{LLN5DNPL.js.LEGAL.txt → 4JEZM6VX.js.LEGAL.txt} +1 -1
  31. package/dist/calcite/{3VLVDWSS.js → 4KFIUD2B.js} +2 -2
  32. package/dist/calcite/4KFIUD2B.js.LEGAL.txt +3 -0
  33. package/dist/calcite/4MQEUWEH.js +4 -0
  34. package/dist/calcite/4MQEUWEH.js.LEGAL.txt +3 -0
  35. package/dist/calcite/{P6C3W6FL.js → 4PDCFLEI.js} +2 -2
  36. package/dist/calcite/4PDCFLEI.js.LEGAL.txt +3 -0
  37. package/dist/calcite/{NCWK6WJU.js → 4S5MMRKY.js} +2 -2
  38. package/dist/calcite/4S5MMRKY.js.LEGAL.txt +3 -0
  39. package/dist/calcite/{62GP7Q7R.js → 4YKPRILU.js} +2 -2
  40. package/dist/calcite/4YKPRILU.js.LEGAL.txt +3 -0
  41. package/dist/calcite/{I4FISWDK.js → 5K3GZOWW.js} +2 -2
  42. package/dist/calcite/5K3GZOWW.js.LEGAL.txt +3 -0
  43. package/dist/calcite/{W7YWLFKG.js → 5NQUZRDM.js} +2 -2
  44. package/dist/calcite/{5T2FJWUW.js → 5SSKMKFV.js} +2 -2
  45. package/dist/calcite/5SSKMKFV.js.LEGAL.txt +3 -0
  46. package/dist/calcite/{F4S6EXX6.js → 5ZKH6XNV.js} +2 -2
  47. package/dist/calcite/5ZKH6XNV.js.LEGAL.txt +3 -0
  48. package/dist/calcite/{R7U5O4YW.js → 64F6FSTF.js} +2 -2
  49. package/dist/calcite/64F6FSTF.js.LEGAL.txt +3 -0
  50. package/dist/calcite/{PYM6655A.js → 67QAOXDX.js} +1 -1
  51. package/dist/calcite/67QAOXDX.js.LEGAL.txt +3 -0
  52. package/dist/calcite/{CVQXSZEH.js → 6AW4GRQ4.js} +2 -2
  53. package/dist/calcite/6AW4GRQ4.js.LEGAL.txt +3 -0
  54. package/dist/calcite/{R3CUJDU2.js → 6DCGXB5R.js} +1 -1
  55. package/dist/calcite/6DCGXB5R.js.LEGAL.txt +3 -0
  56. package/dist/calcite/{A4XLCDLZ.js → 6GM27GBO.js} +2 -2
  57. package/dist/calcite/{SQNNHAAG.js → 6HPPO7XW.js} +2 -2
  58. package/dist/calcite/6HPPO7XW.js.LEGAL.txt +3 -0
  59. package/dist/calcite/{HBU463EW.js → 6JABLZT7.js} +2 -2
  60. package/dist/calcite/6JABLZT7.js.LEGAL.txt +3 -0
  61. package/dist/calcite/{U2YGN4RT.js → 6P5PSH65.js} +2 -2
  62. package/dist/calcite/{AXBOTO3S.js → 6RISBQOV.js} +2 -2
  63. package/dist/calcite/6RISBQOV.js.LEGAL.txt +3 -0
  64. package/dist/calcite/{XQSZJ5CG.js → 6Z2B5YPT.js} +1 -1
  65. package/dist/calcite/6Z2B5YPT.js.LEGAL.txt +3 -0
  66. package/dist/calcite/{24OTRUCC.js → 7EKOSZOZ.js} +2 -2
  67. package/dist/calcite/7EKOSZOZ.js.LEGAL.txt +3 -0
  68. package/dist/calcite/{Y5A3EQS4.js → A7N7QSFD.js} +2 -2
  69. package/dist/calcite/A7N7QSFD.js.LEGAL.txt +3 -0
  70. package/dist/calcite/{PENLWMB3.js → AB6ORITE.js} +2 -2
  71. package/dist/calcite/AB6ORITE.js.LEGAL.txt +3 -0
  72. package/dist/calcite/{NDM46TRI.js → AECWOUVE.js} +2 -2
  73. package/dist/calcite/AECWOUVE.js.LEGAL.txt +3 -0
  74. package/dist/calcite/{TGV7EMNU.js → AFEKH67J.js} +2 -2
  75. package/dist/calcite/AFEKH67J.js.LEGAL.txt +3 -0
  76. package/dist/calcite/{H3WIGFJO.js → ALA3CMPJ.js} +2 -2
  77. package/dist/calcite/ALA3CMPJ.js.LEGAL.txt +3 -0
  78. package/dist/calcite/{MUFGKP4E.js → AZTNUW5Z.js} +2 -2
  79. package/dist/calcite/AZTNUW5Z.js.LEGAL.txt +3 -0
  80. package/dist/calcite/C5B5QVOZ.js +4 -0
  81. package/dist/calcite/C5B5QVOZ.js.LEGAL.txt +3 -0
  82. package/dist/calcite/{6M254VM3.js → CFP3CIBH.js} +2 -2
  83. package/dist/calcite/CFP3CIBH.js.LEGAL.txt +3 -0
  84. package/dist/calcite/{LWUNC2OP.js → CY4HMEXM.js} +2 -2
  85. package/dist/calcite/CY4HMEXM.js.LEGAL.txt +3 -0
  86. package/dist/calcite/{BXNTEQDG.js → D33THSDQ.js} +2 -2
  87. package/dist/calcite/D33THSDQ.js.LEGAL.txt +3 -0
  88. package/dist/calcite/{4M5YF4UK.js → D5ORTJBP.js} +2 -2
  89. package/dist/calcite/D5ORTJBP.js.LEGAL.txt +3 -0
  90. package/dist/calcite/{BXRLVWOE.js → D5WOJOBP.js} +2 -2
  91. package/dist/calcite/D5WOJOBP.js.LEGAL.txt +3 -0
  92. package/dist/calcite/{4PC2H3SA.js → DCCICHLE.js} +2 -2
  93. package/dist/calcite/DCCICHLE.js.LEGAL.txt +3 -0
  94. package/dist/calcite/{DACMF6M4.js → DJIDW3PH.js} +2 -2
  95. package/dist/calcite/DJIDW3PH.js.LEGAL.txt +3 -0
  96. package/dist/calcite/{2VN3YIDH.js → DNYNDPB5.js} +2 -2
  97. package/dist/calcite/{V6MACRDH.js → DXEUZNXM.js} +2 -2
  98. package/dist/calcite/DXEUZNXM.js.LEGAL.txt +3 -0
  99. package/dist/calcite/{MG5IOFW7.js → DYBMPADA.js} +2 -2
  100. package/dist/calcite/DYBMPADA.js.LEGAL.txt +3 -0
  101. package/dist/calcite/{5UJXO6ER.js → EQDBU7RM.js} +2 -2
  102. package/dist/calcite/EQDBU7RM.js.LEGAL.txt +3 -0
  103. package/dist/calcite/{MZMZSY5A.js → EYWRTO2E.js} +2 -2
  104. package/dist/calcite/{MZMZSY5A.js.LEGAL.txt → EYWRTO2E.js.LEGAL.txt} +1 -1
  105. package/dist/calcite/{JFS56TST.js → FCJNAEP5.js} +2 -2
  106. package/dist/calcite/FCJNAEP5.js.LEGAL.txt +3 -0
  107. package/dist/calcite/{Y2E6XYEE.js → FEMPCZLV.js} +1 -1
  108. package/dist/calcite/FEMPCZLV.js.LEGAL.txt +3 -0
  109. package/dist/calcite/{N63BZNBM.js → FFH3PE7I.js} +2 -2
  110. package/dist/calcite/FFH3PE7I.js.LEGAL.txt +3 -0
  111. package/dist/calcite/{4SZ573RT.js → FNJ5UP55.js} +2 -2
  112. package/dist/calcite/FNJ5UP55.js.LEGAL.txt +3 -0
  113. package/dist/calcite/{7T7MTXSU.js → FR4VAYJC.js} +2 -2
  114. package/dist/calcite/FR4VAYJC.js.LEGAL.txt +3 -0
  115. package/dist/calcite/{QRBR6VUO.js → G2KZHOPC.js} +2 -2
  116. package/dist/calcite/G2KZHOPC.js.LEGAL.txt +3 -0
  117. package/dist/calcite/{6VI66GV4.js → GC3D3FA4.js} +2 -2
  118. package/dist/calcite/GC3D3FA4.js.LEGAL.txt +3 -0
  119. package/dist/calcite/{LZ3V33XC.js → HNVOQW5F.js} +1 -1
  120. package/dist/calcite/HNVOQW5F.js.LEGAL.txt +3 -0
  121. package/dist/calcite/{RFI4KO6W.js → HPNQQK6A.js} +1 -1
  122. package/dist/calcite/{5Z4FPF7F.js → HVDZCSXZ.js} +2 -2
  123. package/dist/calcite/HVDZCSXZ.js.LEGAL.txt +3 -0
  124. package/dist/calcite/{NODTVZ24.js → IFSUY6OL.js} +2 -2
  125. package/dist/calcite/IFSUY6OL.js.LEGAL.txt +3 -0
  126. package/dist/calcite/{SEHADNF3.js → IS2XQRWJ.js} +2 -2
  127. package/dist/calcite/IS2XQRWJ.js.LEGAL.txt +3 -0
  128. package/dist/calcite/{HOEPFXY4.js → IYSVUD2W.js} +2 -2
  129. package/dist/calcite/IYSVUD2W.js.LEGAL.txt +3 -0
  130. package/dist/calcite/{TH2HXM2T.js → J6ZU5TTP.js} +1 -1
  131. package/dist/calcite/J6ZU5TTP.js.LEGAL.txt +3 -0
  132. package/dist/calcite/{XLQJWLJR.js → JGJKOHCP.js} +1 -1
  133. package/dist/calcite/JGJKOHCP.js.LEGAL.txt +3 -0
  134. package/dist/calcite/{JATMHESF.js → JQMONEIC.js} +1 -1
  135. package/dist/calcite/JQMONEIC.js.LEGAL.txt +3 -0
  136. package/dist/calcite/{QFOJGUH4.js → JSKDQQHO.js} +2 -2
  137. package/dist/calcite/JSKDQQHO.js.LEGAL.txt +3 -0
  138. package/dist/calcite/{R5NIHVIX.js → JTSQHJX5.js} +2 -2
  139. package/dist/calcite/JTSQHJX5.js.LEGAL.txt +3 -0
  140. package/dist/calcite/{C2KRQ7VY.js → K3HQETKI.js} +2 -2
  141. package/dist/calcite/K3HQETKI.js.LEGAL.txt +3 -0
  142. package/dist/calcite/{CLRL273B.js → K3RGRXZK.js} +2 -2
  143. package/dist/calcite/{AFFK5WSZ.js → K6GY2Q5E.js} +2 -2
  144. package/dist/calcite/K6GY2Q5E.js.LEGAL.txt +3 -0
  145. package/dist/calcite/{IWDYFFAM.js → KDX22TPR.js} +2 -2
  146. package/dist/calcite/{LAKJK7HL.js → KJQNKFEY.js} +2 -2
  147. package/dist/calcite/KJQNKFEY.js.LEGAL.txt +3 -0
  148. package/dist/calcite/{T3TLDID7.js → KKVVDKZZ.js} +2 -2
  149. package/dist/calcite/KKVVDKZZ.js.LEGAL.txt +3 -0
  150. package/dist/calcite/{4JL2EBN2.js → KMI5ODOO.js} +2 -2
  151. package/dist/calcite/KMI5ODOO.js.LEGAL.txt +3 -0
  152. package/dist/calcite/{DTAEBKT4.js → KOH7CJJ2.js} +2 -2
  153. package/dist/calcite/KOH7CJJ2.js.LEGAL.txt +3 -0
  154. package/dist/calcite/{HZH7HHAH.js → KTZK563F.js} +2 -2
  155. package/dist/calcite/{HZH7HHAH.js.LEGAL.txt → KTZK563F.js.LEGAL.txt} +1 -1
  156. package/dist/calcite/{DIWK757P.js → KV75A5OZ.js} +2 -2
  157. package/dist/calcite/KV75A5OZ.js.LEGAL.txt +3 -0
  158. package/dist/calcite/{ZS2B2AF5.js → LJFEVAGO.js} +2 -2
  159. package/dist/calcite/LJFEVAGO.js.LEGAL.txt +3 -0
  160. package/dist/calcite/{J5XEWZHE.js → LUAE2BNR.js} +2 -2
  161. package/dist/calcite/LUAE2BNR.js.LEGAL.txt +3 -0
  162. package/dist/calcite/{Z646UZFI.js → LWBS4ZDT.js} +1 -1
  163. package/dist/calcite/LWBS4ZDT.js.LEGAL.txt +3 -0
  164. package/dist/calcite/{HJQMJ3O5.js → M34FQPFC.js} +2 -2
  165. package/dist/calcite/M34FQPFC.js.LEGAL.txt +3 -0
  166. package/dist/calcite/{DIYHPDDJ.js → MEJBDF2X.js} +2 -2
  167. package/dist/calcite/MEJBDF2X.js.LEGAL.txt +3 -0
  168. package/dist/calcite/{46GRM4CE.js → MG6JYBW5.js} +2 -2
  169. package/dist/calcite/MG6JYBW5.js.LEGAL.txt +3 -0
  170. package/dist/calcite/{JDWLRXMB.js → MJ3BP4EF.js} +2 -2
  171. package/dist/calcite/MJ3BP4EF.js.LEGAL.txt +3 -0
  172. package/dist/calcite/{P2CTJE5E.js → MTSBROZ4.js} +2 -2
  173. package/dist/calcite/MTSBROZ4.js.LEGAL.txt +3 -0
  174. package/dist/calcite/{7QECW2E2.js → N73L76SJ.js} +2 -2
  175. package/dist/calcite/N73L76SJ.js.LEGAL.txt +3 -0
  176. package/dist/calcite/{D2KGWKKE.js → NA2X3DPJ.js} +2 -2
  177. package/dist/calcite/NA2X3DPJ.js.LEGAL.txt +3 -0
  178. package/dist/calcite/{CK2727PE.js → NAEQOQHY.js} +2 -2
  179. package/dist/calcite/NAEQOQHY.js.LEGAL.txt +3 -0
  180. package/dist/calcite/{UGDRDJPA.js → NNTVWBBP.js} +2 -2
  181. package/dist/calcite/{FQPVAT5F.js → NP2WVDB5.js} +2 -2
  182. package/dist/calcite/NP2WVDB5.js.LEGAL.txt +3 -0
  183. package/dist/calcite/{2DKPKQXG.js → NR2X3T5D.js} +2 -2
  184. package/dist/calcite/NR2X3T5D.js.LEGAL.txt +3 -0
  185. package/dist/calcite/{LIPUTT6N.js → NYF6T3OI.js} +2 -2
  186. package/dist/calcite/NYF6T3OI.js.LEGAL.txt +3 -0
  187. package/dist/calcite/{KFEMDYAO.js → O26R4TSO.js} +2 -2
  188. package/dist/calcite/{GL7DMV4S.js → O55ZI7N2.js} +2 -2
  189. package/dist/calcite/O55ZI7N2.js.LEGAL.txt +3 -0
  190. package/dist/calcite/{NH2FREQY.js → OKGB77L2.js} +2 -2
  191. package/dist/calcite/OKGB77L2.js.LEGAL.txt +3 -0
  192. package/dist/calcite/{Z6VHOIAN.js → ORK223LB.js} +2 -2
  193. package/dist/calcite/ORK223LB.js.LEGAL.txt +3 -0
  194. package/dist/calcite/{QJN3Y7KP.js → PB3OJ43M.js} +2 -2
  195. package/dist/calcite/PB3OJ43M.js.LEGAL.txt +3 -0
  196. package/dist/calcite/{EHEE5FVV.js → PHWXS446.js} +2 -2
  197. package/dist/calcite/PHWXS446.js.LEGAL.txt +3 -0
  198. package/dist/calcite/{MXQCR7YF.js → PIHPNMID.js} +2 -2
  199. package/dist/calcite/PIHPNMID.js.LEGAL.txt +3 -0
  200. package/dist/calcite/{KPX237YH.js → PIMY4FDR.js} +2 -2
  201. package/dist/calcite/PIMY4FDR.js.LEGAL.txt +3 -0
  202. package/dist/calcite/{GZUOSY5I.js → PNGIMH3C.js} +2 -2
  203. package/dist/calcite/{QVKJQIOF.js → PNO3AQXX.js} +1 -1
  204. package/dist/calcite/PNO3AQXX.js.LEGAL.txt +3 -0
  205. package/dist/calcite/{LI2EINF7.js → PP4TWNBJ.js} +2 -2
  206. package/dist/calcite/PP4TWNBJ.js.LEGAL.txt +3 -0
  207. package/dist/calcite/{7QNG2EF7.js → PQCLGIYQ.js} +2 -2
  208. package/dist/calcite/PQCLGIYQ.js.LEGAL.txt +3 -0
  209. package/dist/calcite/{Z7EIB7KP.js → PWPO7D4Y.js} +2 -2
  210. package/dist/calcite/PWPO7D4Y.js.LEGAL.txt +3 -0
  211. package/dist/calcite/{OPWA55SD.js → PXCK2RZB.js} +2 -2
  212. package/dist/calcite/PXCK2RZB.js.LEGAL.txt +3 -0
  213. package/dist/calcite/{HAEAO4QM.js → Q2FGVAYP.js} +2 -2
  214. package/dist/calcite/Q2FGVAYP.js.LEGAL.txt +3 -0
  215. package/dist/calcite/{PLJALAVQ.js → Q732AZTP.js} +2 -2
  216. package/dist/calcite/Q732AZTP.js.LEGAL.txt +3 -0
  217. package/dist/calcite/{WL7KPPYH.js → QB7JK7LO.js} +2 -2
  218. package/dist/calcite/QB7JK7LO.js.LEGAL.txt +3 -0
  219. package/dist/calcite/{FYK4XJBH.js → QCW5FCIU.js} +1 -1
  220. package/dist/calcite/QCW5FCIU.js.LEGAL.txt +3 -0
  221. package/dist/calcite/{GTIGGEIV.js → QH2DDIL6.js} +2 -2
  222. package/dist/calcite/QH2DDIL6.js.LEGAL.txt +3 -0
  223. package/dist/calcite/{GFFE55DG.js → QHBI2BZU.js} +2 -2
  224. package/dist/calcite/QHBI2BZU.js.LEGAL.txt +3 -0
  225. package/dist/calcite/QS2IO2B6.js +4 -0
  226. package/dist/calcite/QS2IO2B6.js.LEGAL.txt +3 -0
  227. package/dist/calcite/{MFXMCYAU.js → QWS3K5HU.js} +2 -2
  228. package/dist/calcite/{NLQEJQ5J.js → QWUSZRIE.js} +2 -2
  229. package/dist/calcite/QWUSZRIE.js.LEGAL.txt +3 -0
  230. package/dist/calcite/{5CFQYPD6.js → R6YNQ2V6.js} +2 -2
  231. package/dist/calcite/R6YNQ2V6.js.LEGAL.txt +3 -0
  232. package/dist/calcite/{76ZLZZXT.js → RCZOIN3S.js} +2 -2
  233. package/dist/calcite/RCZOIN3S.js.LEGAL.txt +3 -0
  234. package/dist/calcite/{WIUS56JI.js → RGO4YDKF.js} +1 -1
  235. package/dist/calcite/{SKKGAAMO.js → RWJNVFXT.js} +2 -2
  236. package/dist/calcite/RWJNVFXT.js.LEGAL.txt +3 -0
  237. package/dist/calcite/{BIXOQRWX.js → RZQCIIVR.js} +1 -1
  238. package/dist/calcite/RZQCIIVR.js.LEGAL.txt +3 -0
  239. package/dist/calcite/{4CRXZ63L.js → SBQ2IBIF.js} +2 -2
  240. package/dist/calcite/SBQ2IBIF.js.LEGAL.txt +3 -0
  241. package/dist/calcite/{IQQJKKQR.js → SFHB45KR.js} +2 -2
  242. package/dist/calcite/SFHB45KR.js.LEGAL.txt +3 -0
  243. package/dist/calcite/{JDNJDXBT.js → SH3BT3E4.js} +2 -2
  244. package/dist/calcite/SH3BT3E4.js.LEGAL.txt +3 -0
  245. package/dist/calcite/{5JJMIROF.js → SLJ7H27X.js} +2 -2
  246. package/dist/calcite/SLJ7H27X.js.LEGAL.txt +3 -0
  247. package/dist/calcite/{MN5ZMGDP.js → SR7MDDWB.js} +2 -2
  248. package/dist/calcite/SR7MDDWB.js.LEGAL.txt +3 -0
  249. package/dist/calcite/{3VMC2CMT.js → SWKCCOCK.js} +1 -1
  250. package/dist/calcite/{3VMC2CMT.js.LEGAL.txt → SWKCCOCK.js.LEGAL.txt} +1 -1
  251. package/dist/calcite/{T4ISGVVX.js → T2IMUI4L.js} +2 -2
  252. package/dist/calcite/T2IMUI4L.js.LEGAL.txt +3 -0
  253. package/dist/calcite/{M3UZ4E5H.js → T6ZWPJ3H.js} +2 -2
  254. package/dist/calcite/T6ZWPJ3H.js.LEGAL.txt +3 -0
  255. package/dist/calcite/{Z2N3ZD66.js → TGPFQVI3.js} +1 -1
  256. package/dist/calcite/TGPFQVI3.js.LEGAL.txt +3 -0
  257. package/dist/calcite/{MBN54URU.js → TIGA7CAS.js} +2 -2
  258. package/dist/calcite/TIGA7CAS.js.LEGAL.txt +3 -0
  259. package/dist/calcite/{MZDX2RGO.js → TK7HEAKQ.js} +2 -2
  260. package/dist/calcite/TK7HEAKQ.js.LEGAL.txt +3 -0
  261. package/dist/calcite/{YPHDMEZE.js → TRCUXJQP.js} +2 -2
  262. package/dist/calcite/TRCUXJQP.js.LEGAL.txt +3 -0
  263. package/dist/calcite/{JBY373VQ.js → TXROGSB2.js} +2 -2
  264. package/dist/calcite/TXROGSB2.js.LEGAL.txt +3 -0
  265. package/dist/calcite/{KO2HPSDS.js → U4AGMMNR.js} +2 -2
  266. package/dist/calcite/U4AGMMNR.js.LEGAL.txt +3 -0
  267. package/dist/calcite/{XCW4TOV5.js → U52EKICH.js} +2 -2
  268. package/dist/calcite/{I7DZAQ33.js → UBPEEJ47.js} +2 -2
  269. package/dist/calcite/UBPEEJ47.js.LEGAL.txt +3 -0
  270. package/dist/calcite/{LEGWZZ3C.js → UCUYESPO.js} +2 -2
  271. package/dist/calcite/UCUYESPO.js.LEGAL.txt +3 -0
  272. package/dist/calcite/{THZPNFDC.js → UJ3DVBBB.js} +2 -2
  273. package/dist/calcite/UJ3DVBBB.js.LEGAL.txt +3 -0
  274. package/dist/calcite/{7JTQUIIG.js → UTHT52HY.js} +1 -1
  275. package/dist/calcite/UTHT52HY.js.LEGAL.txt +3 -0
  276. package/dist/calcite/{GSA4PGT2.js → VAAG5IJE.js} +2 -2
  277. package/dist/calcite/VAAG5IJE.js.LEGAL.txt +3 -0
  278. package/dist/calcite/{55R7FS3U.js → VCIESHSA.js} +2 -2
  279. package/dist/calcite/VCIESHSA.js.LEGAL.txt +3 -0
  280. package/dist/calcite/{GTUVAAAD.js → VIJYQUPS.js} +1 -1
  281. package/dist/calcite/VIJYQUPS.js.LEGAL.txt +3 -0
  282. package/dist/calcite/{JAL66H3J.js → VKH366XK.js} +2 -2
  283. package/dist/calcite/VKH366XK.js.LEGAL.txt +3 -0
  284. package/dist/calcite/{POGNNNSN.js → VOMFC6A5.js} +2 -2
  285. package/dist/calcite/VOMFC6A5.js.LEGAL.txt +3 -0
  286. package/dist/calcite/{YBIDORYE.js → VWXTUWMC.js} +2 -2
  287. package/dist/calcite/VWXTUWMC.js.LEGAL.txt +3 -0
  288. package/dist/calcite/{DX4BEDZ3.js → VYNVOZVL.js} +1 -1
  289. package/dist/calcite/VYNVOZVL.js.LEGAL.txt +3 -0
  290. package/dist/calcite/{VUEY5X5A.js → W6MHPGER.js} +2 -2
  291. package/dist/calcite/W6MHPGER.js.LEGAL.txt +3 -0
  292. package/dist/calcite/{5Q54AMGC.js → WIA2UZRQ.js} +2 -2
  293. package/dist/calcite/WIA2UZRQ.js.LEGAL.txt +3 -0
  294. package/dist/calcite/{OQGS3D3N.js → WLID72PZ.js} +2 -2
  295. package/dist/calcite/WLID72PZ.js.LEGAL.txt +3 -0
  296. package/dist/calcite/{7PKWMEQD.js → WQ2CWXYT.js} +2 -2
  297. package/dist/calcite/WQ2CWXYT.js.LEGAL.txt +3 -0
  298. package/dist/calcite/{M4H4WLVH.js → WVA5MSI4.js} +2 -2
  299. package/dist/calcite/WVA5MSI4.js.LEGAL.txt +3 -0
  300. package/dist/calcite/{VHLIF5DY.js → WXNB4546.js} +2 -2
  301. package/dist/calcite/WXNB4546.js.LEGAL.txt +3 -0
  302. package/dist/calcite/{MSCFVCHB.js → X3Y745O5.js} +2 -2
  303. package/dist/calcite/X3Y745O5.js.LEGAL.txt +3 -0
  304. package/dist/calcite/{PW6UBKVH.js → X5NLUQDA.js} +2 -2
  305. package/dist/calcite/X5NLUQDA.js.LEGAL.txt +3 -0
  306. package/dist/calcite/{XVSPBUCP.js → XJUNWEHJ.js} +1 -1
  307. package/dist/calcite/XJUNWEHJ.js.LEGAL.txt +3 -0
  308. package/dist/calcite/{RI5ZWQGD.js → XUZICRV7.js} +2 -2
  309. package/dist/calcite/XUZICRV7.js.LEGAL.txt +3 -0
  310. package/dist/calcite/{7CQ233AJ.js → XZK2I4C2.js} +2 -2
  311. package/dist/calcite/XZK2I4C2.js.LEGAL.txt +3 -0
  312. package/dist/calcite/{7FB33YBD.js → Y6MVE6DC.js} +2 -2
  313. package/dist/calcite/Y6MVE6DC.js.LEGAL.txt +3 -0
  314. package/dist/calcite/{6NUAVTSM.js → YCAEPRM6.js} +2 -2
  315. package/dist/calcite/YCAEPRM6.js.LEGAL.txt +3 -0
  316. package/dist/calcite/{GRLBXAFF.js → YD2UXF4G.js} +1 -1
  317. package/dist/calcite/{GFONJVVJ.js → YQDHA3IR.js} +2 -2
  318. package/dist/calcite/YQDHA3IR.js.LEGAL.txt +3 -0
  319. package/dist/calcite/{OSZVSWGU.js → Z3OQGPN5.js} +2 -2
  320. package/dist/calcite/Z3OQGPN5.js.LEGAL.txt +3 -0
  321. package/dist/calcite/{TSHHVAZ7.js → Z53Z6H75.js} +2 -2
  322. package/dist/calcite/Z53Z6H75.js.LEGAL.txt +3 -0
  323. package/dist/calcite/{HNERZLDY.js → ZTSRFYI5.js} +2 -2
  324. package/dist/calcite/ZTSRFYI5.js.LEGAL.txt +3 -0
  325. package/dist/calcite/{VYRPNOIH.js → ZXGONEDG.js} +1 -1
  326. package/dist/calcite/ZXGONEDG.js.LEGAL.txt +3 -0
  327. package/dist/calcite/calcite.esm.js +2 -2
  328. package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
  329. package/dist/chunks/ExpandToggle.js +1 -1
  330. package/dist/chunks/FloatingArrow.js +1 -1
  331. package/dist/chunks/Heading.js +1 -1
  332. package/dist/chunks/Validation.js +1 -1
  333. package/dist/chunks/XButton.js +1 -1
  334. package/dist/chunks/array.js +1 -1
  335. package/dist/chunks/component.js +1 -1
  336. package/dist/chunks/core.js +1 -1
  337. package/dist/chunks/date.js +1 -1
  338. package/dist/chunks/dom.js +1 -1
  339. package/dist/chunks/dynamicClasses.js +1 -1
  340. package/dist/chunks/filter.js +1 -1
  341. package/dist/chunks/floating-ui.js +1 -1
  342. package/dist/chunks/form.js +1 -1
  343. package/dist/chunks/global.js +1 -1
  344. package/dist/chunks/guid.js +1 -1
  345. package/dist/chunks/input.js +1 -1
  346. package/dist/chunks/interact.min.js +1 -1
  347. package/dist/chunks/interactive.js +1 -1
  348. package/dist/chunks/key.js +1 -1
  349. package/dist/chunks/label.js +1 -1
  350. package/dist/chunks/locale.js +1 -1
  351. package/dist/chunks/logger.js +1 -1
  352. package/dist/chunks/math.js +1 -1
  353. package/dist/chunks/observers.js +1 -1
  354. package/dist/chunks/openCloseComponent.js +1 -1
  355. package/dist/chunks/resources.js +1 -1
  356. package/dist/chunks/resources2.js +1 -1
  357. package/dist/chunks/resources3.js +1 -1
  358. package/dist/chunks/resources4.js +1 -1
  359. package/dist/chunks/resources5.js +1 -1
  360. package/dist/chunks/resources6.js +1 -1
  361. package/dist/chunks/resources7.js +1 -1
  362. package/dist/chunks/responsive.js +1 -1
  363. package/dist/chunks/runtime.js +5 -5
  364. package/dist/chunks/sortableComponent.js +1 -1
  365. package/dist/chunks/text.js +1 -1
  366. package/dist/chunks/time.js +1 -1
  367. package/dist/chunks/useFocusTrap.js +1 -1
  368. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/chunks/utils.js +1 -1
  371. package/dist/chunks/utils2.js +1 -1
  372. package/dist/chunks/utils3.js +1 -1
  373. package/dist/chunks/utils4.js +1 -1
  374. package/dist/components/calcite-accordion/customElement.js +1 -1
  375. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  376. package/dist/components/calcite-action/customElement.js +1 -1
  377. package/dist/components/calcite-action-bar/customElement.js +1 -1
  378. package/dist/components/calcite-action-group/customElement.js +1 -1
  379. package/dist/components/calcite-action-menu/customElement.js +1 -1
  380. package/dist/components/calcite-action-pad/customElement.js +1 -1
  381. package/dist/components/calcite-alert/customElement.js +1 -1
  382. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  383. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  384. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  385. package/dist/components/calcite-avatar/customElement.js +1 -1
  386. package/dist/components/calcite-block/customElement.js +1 -1
  387. package/dist/components/calcite-block-group/customElement.js +1 -1
  388. package/dist/components/calcite-block-section/customElement.js +1 -1
  389. package/dist/components/calcite-button/customElement.js +1 -1
  390. package/dist/components/calcite-card/customElement.js +1 -1
  391. package/dist/components/calcite-card-group/customElement.js +1 -1
  392. package/dist/components/calcite-carousel/customElement.js +1 -1
  393. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  394. package/dist/components/calcite-checkbox/customElement.js +1 -1
  395. package/dist/components/calcite-chip/customElement.js +1 -1
  396. package/dist/components/calcite-chip-group/customElement.js +1 -1
  397. package/dist/components/calcite-color-picker/customElement.js +1 -1
  398. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  399. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  400. package/dist/components/calcite-combobox/customElement.js +1 -1
  401. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  402. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  403. package/dist/components/calcite-date-picker/customElement.js +1 -1
  404. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  405. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  406. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  407. package/dist/components/calcite-dialog/customElement.js +6 -8
  408. package/dist/components/calcite-dropdown/customElement.js +3 -10
  409. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  410. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  411. package/dist/components/calcite-fab/customElement.js +1 -1
  412. package/dist/components/calcite-filter/customElement.js +1 -1
  413. package/dist/components/calcite-flow/customElement.js +1 -1
  414. package/dist/components/calcite-flow-item/customElement.js +1 -1
  415. package/dist/components/calcite-graph/customElement.js +1 -1
  416. package/dist/components/calcite-handle/customElement.js +1 -1
  417. package/dist/components/calcite-icon/customElement.js +1 -1
  418. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  419. package/dist/components/calcite-input/customElement.js +1 -1
  420. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  421. package/dist/components/calcite-input-message/customElement.js +1 -1
  422. package/dist/components/calcite-input-number/customElement.js +1 -1
  423. package/dist/components/calcite-input-text/customElement.js +1 -1
  424. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  425. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  426. package/dist/components/calcite-label/customElement.js +1 -1
  427. package/dist/components/calcite-link/customElement.js +1 -1
  428. package/dist/components/calcite-list/customElement.js +1 -1
  429. package/dist/components/calcite-list-item/customElement.js +1 -1
  430. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  431. package/dist/components/calcite-loader/customElement.js +1 -1
  432. package/dist/components/calcite-menu/customElement.js +1 -1
  433. package/dist/components/calcite-menu-item/customElement.js +1 -1
  434. package/dist/components/calcite-meter/customElement.js +1 -1
  435. package/dist/components/calcite-modal/customElement.js +5 -7
  436. package/dist/components/calcite-navigation/customElement.js +1 -1
  437. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  438. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  439. package/dist/components/calcite-notice/customElement.js +1 -1
  440. package/dist/components/calcite-option/customElement.js +1 -1
  441. package/dist/components/calcite-option-group/customElement.js +1 -1
  442. package/dist/components/calcite-pagination/customElement.js +1 -1
  443. package/dist/components/calcite-panel/customElement.js +1 -1
  444. package/dist/components/calcite-popover/customElement.js +1 -1
  445. package/dist/components/calcite-progress/customElement.js +1 -1
  446. package/dist/components/calcite-radio-button/customElement.js +1 -1
  447. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  448. package/dist/components/calcite-rating/customElement.js +1 -1
  449. package/dist/components/calcite-scrim/customElement.js +1 -1
  450. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  451. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  452. package/dist/components/calcite-select/customElement.js +1 -1
  453. package/dist/components/calcite-sheet/customElement.js +5 -7
  454. package/dist/components/calcite-shell/customElement.js +1 -1
  455. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  456. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  457. package/dist/components/calcite-slider/customElement.js +1 -1
  458. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  459. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  460. package/dist/components/calcite-split-button/customElement.js +1 -1
  461. package/dist/components/calcite-stack/customElement.js +1 -1
  462. package/dist/components/calcite-stepper/customElement.js +1 -1
  463. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  464. package/dist/components/calcite-switch/customElement.js +1 -1
  465. package/dist/components/calcite-tab/customElement.js +1 -1
  466. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  467. package/dist/components/calcite-tab-title/customElement.js +1 -1
  468. package/dist/components/calcite-table/customElement.js +1 -1
  469. package/dist/components/calcite-table-cell/customElement.js +1 -1
  470. package/dist/components/calcite-table-header/customElement.js +1 -1
  471. package/dist/components/calcite-table-row/customElement.js +1 -1
  472. package/dist/components/calcite-tabs/customElement.js +1 -1
  473. package/dist/components/calcite-text-area/customElement.js +1 -1
  474. package/dist/components/calcite-tile/customElement.js +1 -1
  475. package/dist/components/calcite-tile-group/customElement.js +1 -1
  476. package/dist/components/calcite-tile-select/customElement.js +1 -1
  477. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  478. package/dist/components/calcite-time-picker/customElement.js +1 -1
  479. package/dist/components/calcite-tip/customElement.js +1 -1
  480. package/dist/components/calcite-tip-group/customElement.js +1 -1
  481. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  482. package/dist/components/calcite-tooltip/customElement.js +1 -1
  483. package/dist/components/calcite-tree/customElement.js +1 -1
  484. package/dist/components/calcite-tree-item/customElement.js +1 -1
  485. package/dist/docs/api.json +1 -1
  486. package/dist/docs/docs.json +1 -1
  487. package/dist/docs/web-types.json +1 -1
  488. package/dist/index.js +1 -1
  489. package/dist/loader.js +1 -1
  490. package/package.json +2 -2
  491. package/dist/calcite/3VLVDWSS.js.LEGAL.txt +0 -3
  492. package/dist/calcite/46GRM4CE.js.LEGAL.txt +0 -3
  493. package/dist/calcite/4CRXZ63L.js.LEGAL.txt +0 -3
  494. package/dist/calcite/4JL2EBN2.js.LEGAL.txt +0 -3
  495. package/dist/calcite/4M5YF4UK.js.LEGAL.txt +0 -3
  496. package/dist/calcite/4PC2H3SA.js.LEGAL.txt +0 -3
  497. package/dist/calcite/4SZ573RT.js.LEGAL.txt +0 -3
  498. package/dist/calcite/55R7FS3U.js.LEGAL.txt +0 -3
  499. package/dist/calcite/5CFQYPD6.js.LEGAL.txt +0 -3
  500. package/dist/calcite/5JJMIROF.js.LEGAL.txt +0 -3
  501. package/dist/calcite/5Q54AMGC.js.LEGAL.txt +0 -3
  502. package/dist/calcite/5T2FJWUW.js.LEGAL.txt +0 -3
  503. package/dist/calcite/5UJXO6ER.js.LEGAL.txt +0 -3
  504. package/dist/calcite/5Z4FPF7F.js.LEGAL.txt +0 -3
  505. package/dist/calcite/62GP7Q7R.js.LEGAL.txt +0 -3
  506. package/dist/calcite/6M254VM3.js.LEGAL.txt +0 -3
  507. package/dist/calcite/6NUAVTSM.js.LEGAL.txt +0 -3
  508. package/dist/calcite/6VI66GV4.js.LEGAL.txt +0 -3
  509. package/dist/calcite/76ZLZZXT.js.LEGAL.txt +0 -3
  510. package/dist/calcite/7CQ233AJ.js.LEGAL.txt +0 -3
  511. package/dist/calcite/7FB33YBD.js.LEGAL.txt +0 -3
  512. package/dist/calcite/7JTQUIIG.js.LEGAL.txt +0 -3
  513. package/dist/calcite/7PKWMEQD.js.LEGAL.txt +0 -3
  514. package/dist/calcite/7QECW2E2.js.LEGAL.txt +0 -3
  515. package/dist/calcite/7QNG2EF7.js.LEGAL.txt +0 -3
  516. package/dist/calcite/7T7MTXSU.js.LEGAL.txt +0 -3
  517. package/dist/calcite/A2YB5LXN.js +0 -4
  518. package/dist/calcite/A2YB5LXN.js.LEGAL.txt +0 -3
  519. package/dist/calcite/AFFK5WSZ.js.LEGAL.txt +0 -3
  520. package/dist/calcite/AXBOTO3S.js.LEGAL.txt +0 -3
  521. package/dist/calcite/BIXOQRWX.js.LEGAL.txt +0 -3
  522. package/dist/calcite/BXNTEQDG.js.LEGAL.txt +0 -3
  523. package/dist/calcite/BXRLVWOE.js.LEGAL.txt +0 -3
  524. package/dist/calcite/C2KRQ7VY.js.LEGAL.txt +0 -3
  525. package/dist/calcite/CK2727PE.js.LEGAL.txt +0 -3
  526. package/dist/calcite/CVQXSZEH.js.LEGAL.txt +0 -3
  527. package/dist/calcite/D2KGWKKE.js.LEGAL.txt +0 -3
  528. package/dist/calcite/DACMF6M4.js.LEGAL.txt +0 -3
  529. package/dist/calcite/DIWK757P.js.LEGAL.txt +0 -3
  530. package/dist/calcite/DIYHPDDJ.js.LEGAL.txt +0 -3
  531. package/dist/calcite/DTAEBKT4.js.LEGAL.txt +0 -3
  532. package/dist/calcite/DX4BEDZ3.js.LEGAL.txt +0 -3
  533. package/dist/calcite/EHEE5FVV.js.LEGAL.txt +0 -3
  534. package/dist/calcite/F4S6EXX6.js.LEGAL.txt +0 -3
  535. package/dist/calcite/FQPVAT5F.js.LEGAL.txt +0 -3
  536. package/dist/calcite/FYK4XJBH.js.LEGAL.txt +0 -3
  537. package/dist/calcite/G77XQIMX.js.LEGAL.txt +0 -3
  538. package/dist/calcite/GFFE55DG.js.LEGAL.txt +0 -3
  539. package/dist/calcite/GFONJVVJ.js.LEGAL.txt +0 -3
  540. package/dist/calcite/GL7DMV4S.js.LEGAL.txt +0 -3
  541. package/dist/calcite/GS3X5VRZ.js.LEGAL.txt +0 -3
  542. package/dist/calcite/GSA4PGT2.js.LEGAL.txt +0 -3
  543. package/dist/calcite/GTIGGEIV.js.LEGAL.txt +0 -3
  544. package/dist/calcite/GTUVAAAD.js.LEGAL.txt +0 -3
  545. package/dist/calcite/H3WIGFJO.js.LEGAL.txt +0 -3
  546. package/dist/calcite/HAEAO4QM.js.LEGAL.txt +0 -3
  547. package/dist/calcite/HBU463EW.js.LEGAL.txt +0 -3
  548. package/dist/calcite/HJQMJ3O5.js.LEGAL.txt +0 -3
  549. package/dist/calcite/HNERZLDY.js.LEGAL.txt +0 -3
  550. package/dist/calcite/HOEPFXY4.js.LEGAL.txt +0 -3
  551. package/dist/calcite/I4FISWDK.js.LEGAL.txt +0 -3
  552. package/dist/calcite/I7DZAQ33.js.LEGAL.txt +0 -3
  553. package/dist/calcite/IQQJKKQR.js.LEGAL.txt +0 -3
  554. package/dist/calcite/IRUMOVZZ.js.LEGAL.txt +0 -3
  555. package/dist/calcite/J5XEWZHE.js.LEGAL.txt +0 -3
  556. package/dist/calcite/JAL66H3J.js.LEGAL.txt +0 -3
  557. package/dist/calcite/JATMHESF.js.LEGAL.txt +0 -3
  558. package/dist/calcite/JBY373VQ.js.LEGAL.txt +0 -3
  559. package/dist/calcite/JDNJDXBT.js.LEGAL.txt +0 -3
  560. package/dist/calcite/JDWLRXMB.js.LEGAL.txt +0 -3
  561. package/dist/calcite/JFS56TST.js.LEGAL.txt +0 -3
  562. package/dist/calcite/KO2HPSDS.js.LEGAL.txt +0 -3
  563. package/dist/calcite/KPX237YH.js.LEGAL.txt +0 -3
  564. package/dist/calcite/LAKJK7HL.js.LEGAL.txt +0 -3
  565. package/dist/calcite/LEGWZZ3C.js.LEGAL.txt +0 -3
  566. package/dist/calcite/LI2EINF7.js.LEGAL.txt +0 -3
  567. package/dist/calcite/LIPUTT6N.js.LEGAL.txt +0 -3
  568. package/dist/calcite/LWUNC2OP.js.LEGAL.txt +0 -3
  569. package/dist/calcite/LZ3V33XC.js.LEGAL.txt +0 -3
  570. package/dist/calcite/M3UZ4E5H.js.LEGAL.txt +0 -3
  571. package/dist/calcite/M4H4WLVH.js.LEGAL.txt +0 -3
  572. package/dist/calcite/MBN54URU.js.LEGAL.txt +0 -3
  573. package/dist/calcite/MG5IOFW7.js.LEGAL.txt +0 -3
  574. package/dist/calcite/MN5ZMGDP.js.LEGAL.txt +0 -3
  575. package/dist/calcite/MR5UPVPG.js.LEGAL.txt +0 -3
  576. package/dist/calcite/MSCFVCHB.js.LEGAL.txt +0 -3
  577. package/dist/calcite/MUFGKP4E.js.LEGAL.txt +0 -3
  578. package/dist/calcite/MXQCR7YF.js.LEGAL.txt +0 -3
  579. package/dist/calcite/MZDX2RGO.js.LEGAL.txt +0 -3
  580. package/dist/calcite/N63BZNBM.js.LEGAL.txt +0 -3
  581. package/dist/calcite/NCWK6WJU.js.LEGAL.txt +0 -3
  582. package/dist/calcite/NDM46TRI.js.LEGAL.txt +0 -3
  583. package/dist/calcite/NH2FREQY.js.LEGAL.txt +0 -3
  584. package/dist/calcite/NLQEJQ5J.js.LEGAL.txt +0 -3
  585. package/dist/calcite/NODTVZ24.js.LEGAL.txt +0 -3
  586. package/dist/calcite/NYCLULH3.js.LEGAL.txt +0 -3
  587. package/dist/calcite/OPWA55SD.js.LEGAL.txt +0 -3
  588. package/dist/calcite/OQGS3D3N.js.LEGAL.txt +0 -3
  589. package/dist/calcite/OSZVSWGU.js.LEGAL.txt +0 -3
  590. package/dist/calcite/P2CTJE5E.js.LEGAL.txt +0 -3
  591. package/dist/calcite/P2XP2NHT.js.LEGAL.txt +0 -3
  592. package/dist/calcite/P3RLUM2B.js +0 -4
  593. package/dist/calcite/P3RLUM2B.js.LEGAL.txt +0 -3
  594. package/dist/calcite/P6C3W6FL.js.LEGAL.txt +0 -3
  595. package/dist/calcite/PENLWMB3.js.LEGAL.txt +0 -3
  596. package/dist/calcite/PLJALAVQ.js.LEGAL.txt +0 -3
  597. package/dist/calcite/POGNNNSN.js.LEGAL.txt +0 -3
  598. package/dist/calcite/PW6UBKVH.js.LEGAL.txt +0 -3
  599. package/dist/calcite/PYM6655A.js.LEGAL.txt +0 -3
  600. package/dist/calcite/QFOJGUH4.js.LEGAL.txt +0 -3
  601. package/dist/calcite/QJMY6HK4.js.LEGAL.txt +0 -3
  602. package/dist/calcite/QJN3Y7KP.js.LEGAL.txt +0 -3
  603. package/dist/calcite/QRBR6VUO.js.LEGAL.txt +0 -3
  604. package/dist/calcite/QVKJQIOF.js.LEGAL.txt +0 -3
  605. package/dist/calcite/R3CUJDU2.js.LEGAL.txt +0 -3
  606. package/dist/calcite/R5NIHVIX.js.LEGAL.txt +0 -3
  607. package/dist/calcite/R7U5O4YW.js.LEGAL.txt +0 -3
  608. package/dist/calcite/RI5ZWQGD.js.LEGAL.txt +0 -3
  609. package/dist/calcite/RLN7DR35.js.LEGAL.txt +0 -3
  610. package/dist/calcite/RN6G4AJW.js.LEGAL.txt +0 -3
  611. package/dist/calcite/SEHADNF3.js.LEGAL.txt +0 -3
  612. package/dist/calcite/SKKGAAMO.js.LEGAL.txt +0 -3
  613. package/dist/calcite/SQNNHAAG.js.LEGAL.txt +0 -3
  614. package/dist/calcite/T3TLDID7.js.LEGAL.txt +0 -3
  615. package/dist/calcite/T4ISGVVX.js.LEGAL.txt +0 -3
  616. package/dist/calcite/TGV7EMNU.js.LEGAL.txt +0 -3
  617. package/dist/calcite/TH2HXM2T.js.LEGAL.txt +0 -3
  618. package/dist/calcite/THZPNFDC.js.LEGAL.txt +0 -3
  619. package/dist/calcite/TSHHVAZ7.js.LEGAL.txt +0 -3
  620. package/dist/calcite/TYKK4ZDP.js.LEGAL.txt +0 -3
  621. package/dist/calcite/V6MACRDH.js.LEGAL.txt +0 -3
  622. package/dist/calcite/VGUJWIE3.js.LEGAL.txt +0 -3
  623. package/dist/calcite/VHLIF5DY.js.LEGAL.txt +0 -3
  624. package/dist/calcite/VUEY5X5A.js.LEGAL.txt +0 -3
  625. package/dist/calcite/VYRPNOIH.js.LEGAL.txt +0 -3
  626. package/dist/calcite/WL7KPPYH.js.LEGAL.txt +0 -3
  627. package/dist/calcite/WN6CJLMD.js +0 -4
  628. package/dist/calcite/WN6CJLMD.js.LEGAL.txt +0 -3
  629. package/dist/calcite/XLQJWLJR.js.LEGAL.txt +0 -3
  630. package/dist/calcite/XQSZJ5CG.js.LEGAL.txt +0 -3
  631. package/dist/calcite/XVSPBUCP.js.LEGAL.txt +0 -3
  632. package/dist/calcite/Y2E6XYEE.js.LEGAL.txt +0 -3
  633. package/dist/calcite/Y5A3EQS4.js.LEGAL.txt +0 -3
  634. package/dist/calcite/YBIDORYE.js.LEGAL.txt +0 -3
  635. package/dist/calcite/YPHDMEZE.js.LEGAL.txt +0 -3
  636. package/dist/calcite/Z2N3ZD66.js.LEGAL.txt +0 -3
  637. package/dist/calcite/Z646UZFI.js.LEGAL.txt +0 -3
  638. package/dist/calcite/Z6VHOIAN.js.LEGAL.txt +0 -3
  639. package/dist/calcite/Z7EIB7KP.js.LEGAL.txt +0 -3
  640. package/dist/calcite/ZMFN7VKF.js.LEGAL.txt +0 -3
  641. package/dist/calcite/ZS2B2AF5.js.LEGAL.txt +0 -3
  642. /package/dist/calcite/{W7YWLFKG.js.LEGAL.txt → 5NQUZRDM.js.LEGAL.txt} +0 -0
  643. /package/dist/calcite/{A4XLCDLZ.js.LEGAL.txt → 6GM27GBO.js.LEGAL.txt} +0 -0
  644. /package/dist/calcite/{U2YGN4RT.js.LEGAL.txt → 6P5PSH65.js.LEGAL.txt} +0 -0
  645. /package/dist/calcite/{2VN3YIDH.js.LEGAL.txt → DNYNDPB5.js.LEGAL.txt} +0 -0
  646. /package/dist/calcite/{RFI4KO6W.js.LEGAL.txt → HPNQQK6A.js.LEGAL.txt} +0 -0
  647. /package/dist/calcite/{CLRL273B.js.LEGAL.txt → K3RGRXZK.js.LEGAL.txt} +0 -0
  648. /package/dist/calcite/{GRLBXAFF.js.LEGAL.txt → KDX22TPR.js.LEGAL.txt} +0 -0
  649. /package/dist/calcite/{IWDYFFAM.js.LEGAL.txt → NNTVWBBP.js.LEGAL.txt} +0 -0
  650. /package/dist/calcite/{KFEMDYAO.js.LEGAL.txt → O26R4TSO.js.LEGAL.txt} +0 -0
  651. /package/dist/calcite/{GZUOSY5I.js.LEGAL.txt → PNGIMH3C.js.LEGAL.txt} +0 -0
  652. /package/dist/calcite/{MFXMCYAU.js.LEGAL.txt → QWS3K5HU.js.LEGAL.txt} +0 -0
  653. /package/dist/calcite/{UGDRDJPA.js.LEGAL.txt → RGO4YDKF.js.LEGAL.txt} +0 -0
  654. /package/dist/calcite/{WIUS56JI.js.LEGAL.txt → U52EKICH.js.LEGAL.txt} +0 -0
  655. /package/dist/calcite/{XCW4TOV5.js.LEGAL.txt → YD2UXF4G.js.LEGAL.txt} +0 -0
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
4
- import{a as p}from"./RLN7DR35.js";import{k as b}from"./7CQ233AJ.js";import"./7JTQUIIG.js";import{a as d}from"./GZUOSY5I.js";import"./GTUVAAAD.js";import{a as E}from"./DX4BEDZ3.js";import{a as L}from"./24OTRUCC.js";import{a as u,d as X}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{K as w,e as C,g as h,k as I,w as y,x as P,y as r}from"./MZMZSY5A.js";var s={list:"list",listItem:"list-item",hiddenItem:"hidden-item",page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"},f={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"},O=C`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`,x=2,U=2,m={large:11,medium:9,small:7,xsmall:5,xxsmall:1},S=class extends P{constructor(){super(...arguments),this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t),this.resizeObserver=E("resize",t=>t.forEach(this.resizeHandler)),this.maxItems=m.xxsmall,this.groupSeparator=!1,this.messages=L(),this.pageSize=20,this.scale="m",this.startItem=1,this.totalItems=0,this.calcitePaginationChange=y({cancelable:!1})}static{this.properties={isXXSmall:[16,{state:!0}],lastStartItem:[16,{state:!0}],maxItems:[16,{state:!0}],totalPages:[16,{state:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],numberingSystem:1,pageSize:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],startItem:[11,{reflect:!0,type:Number}],totalItems:[11,{reflect:!0,type:Number}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=O}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:t>=Math.ceil(this.totalPages)?this.startItem=this.lastStartItem:t<=0?this.startItem=1:this.startItem=(t-1)*this.pageSize+1}}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async setFocus(){await X(this),this.el.focus()}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}async load(){this.handleTotalPages(),this.handleLastStartItemChange(),this.handleIsXXSmall()}willUpdate(t){(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20))&&this.handleTotalPages(),(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20)||t.has("totalPages"))&&this.handleLastStartItemChange(),t.has("maxItems")&&(this.hasUpdated||this.maxItems!==m.xxsmall)&&this.handleIsXXSmall(),t.has("messages")&&this.effectiveLocaleChange()}loaded(){this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleTotalPages(){this.pageSize<1&&(this.pageSize=1),this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){let{totalItems:t,pageSize:e,totalPages:i}=this;this.lastStartItem=(t%e===0?t-e:Math.floor(i)*e)+1}handleIsXXSmall(){this.isXXSmall=this.maxItems===m.xxsmall}setMaxItemsToBreakpoint(t){if(!(!p||!t)){if(t>=p.width.medium){this.maxItems=m.large;return}if(t>=p.width.small){this.maxItems=m.medium;return}if(t>=p.width.xsmall){this.maxItems=m.small;return}if(t>=p.width.xxsmall){this.maxItems=m.xsmall;return}this.maxItems=m.xxsmall}}firstClicked(){this.startItem=1,this.emitUpdate()}lastClicked(){this.startItem=this.lastStartItem,this.emitUpdate()}async previousClicked(){await this.previousPage(),this.emitUpdate()}async nextClicked(){await this.nextPage(),this.emitUpdate()}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-x-U}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-x-(U-1)}emitUpdate(){this.calcitePaginationChange.emit()}handlePageClick(t){let e=t.target;this.startItem=parseInt(e.value),this.emitUpdate()}renderEllipsis(t){return d(t,h`<span class=${r(s.ellipsis)} data-test-ellipsis=${t??I}>&hellip;</span>`)}renderItems(){let{totalItems:t,pageSize:e,startItem:i,maxItems:a,totalPages:l,lastStartItem:v,isXXSmall:M}=this,o=[];if(M)return o.push(this.renderPage(i)),o;let F=t>e,k=this.showStartEllipsis(),z=this.showEndEllipsis();F&&o.push(this.renderPage(1)),k&&o.push(this.renderEllipsis("start"));let n=a-x-(z?1:0)-(k?1:0),g,c;l-1<=n?(c=1+e,g=v-e):i/e<n?(c=1+e,g=1+n*e):i+n*e>=t?(c=v-n*e,g=v-e):(c=i-e*((n-1)/2),g=i+e*((n-1)/2));for(let $=0;$<n&&c<=g;$++)o.push(this.renderPage(c)),c=c+e;return z&&o.push(this.renderEllipsis("end")),o.push(this.renderPage(v)),o}renderPage(t){let{pageSize:e}=this,i=Math.floor(t/e)+(e===1?0:1);b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let a=b.localize(i.toString()),l=t===this.startItem;return h`<li class=${r(s.listItem)}><button .ariaCurrent=${l?"page":"false"} class=${r({[s.page]:!0,[s.selected]:l})} @click=${this.handlePageClick} value=${t??I}>${a}</button></li>`}renderPreviousChevron(){let{pageSize:t,startItem:e,messages:i}=this,a=t===1?e<=t:e<t;return d("previous",h`<button .ariaLabel=${i.previous} class=${r({[s.chevron]:!0,[s.disabled]:a})} data-test-chevron=previous .disabled=${a} @click=${this.previousClicked}><calcite-icon flip-rtl .icon=${f.previous} .scale=${u(this.scale)}></calcite-icon></button>`)}renderNextChevron(){let{totalItems:t,pageSize:e,startItem:i,messages:a}=this,l=i+e>t;return d("next-button",h`<button .ariaLabel=${a.next} class=${r({[s.chevron]:!0,[s.disabled]:l})} data-test-chevron=next .disabled=${l} @click=${this.nextClicked}><calcite-icon flip-rtl .icon=${f.next} .scale=${u(this.scale)}></calcite-icon></button>`)}renderFirstChevron(){let{messages:t,startItem:e,isXXSmall:i}=this,a=e===1;return i?d("first-button",h`<button .ariaLabel=${t.first} class=${r({[s.chevron]:!0,[s.disabled]:a})} .disabled=${a} @click=${this.firstClicked}><calcite-icon flip-rtl .icon=${f.first} .scale=${u(this.scale)}></calcite-icon></button>`):null}renderLastChevron(){let{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this,l=e===a;return i?d("last-button",h`<button .ariaLabel=${t.last} class=${r({[s.chevron]:!0,[s.disabled]:l})} .disabled=${l} @click=${this.lastClicked}><calcite-icon flip-rtl .icon=${f.last} .scale=${u(this.scale)}></calcite-icon></button>`):null}render(){let t=this.renderFirstChevron(),e=this.renderLastChevron();return h`<ul class=${r(s.list)}><li class=${r({[s.listItem]:!0,[s.hiddenItem]:!t})}>${t}</li><li class=${r(s.listItem)}>${this.renderPreviousChevron()}</li>${this.renderItems()}<li class=${r(s.listItem)}>${this.renderNextChevron()}</li><li class=${r({[s.listItem]:!0,[s.hiddenItem]:!e})}>${e}</li></ul>`}};w("calcite-pagination",S);export{S as Pagination};
3
+ v3.2.0-next.40 */
4
+ import{a as p}from"./3BX3JALR.js";import{k as b}from"./XZK2I4C2.js";import"./UTHT52HY.js";import{a as d}from"./PNGIMH3C.js";import"./VIJYQUPS.js";import{a as E}from"./VYNVOZVL.js";import{a as L}from"./7EKOSZOZ.js";import{a as u,d as X}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{K as w,e as C,g as h,k as I,w as y,x as P,y as r}from"./EYWRTO2E.js";var s={list:"list",listItem:"list-item",hiddenItem:"hidden-item",page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"},f={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"},O=C`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`,x=2,U=2,m={large:11,medium:9,small:7,xsmall:5,xxsmall:1},S=class extends P{constructor(){super(...arguments),this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t),this.resizeObserver=E("resize",t=>t.forEach(this.resizeHandler)),this.maxItems=m.xxsmall,this.groupSeparator=!1,this.messages=L(),this.pageSize=20,this.scale="m",this.startItem=1,this.totalItems=0,this.calcitePaginationChange=y({cancelable:!1})}static{this.properties={isXXSmall:[16,{state:!0}],lastStartItem:[16,{state:!0}],maxItems:[16,{state:!0}],totalPages:[16,{state:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],numberingSystem:1,pageSize:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],startItem:[11,{reflect:!0,type:Number}],totalItems:[11,{reflect:!0,type:Number}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=O}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:t>=Math.ceil(this.totalPages)?this.startItem=this.lastStartItem:t<=0?this.startItem=1:this.startItem=(t-1)*this.pageSize+1}}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async setFocus(){await X(this),this.el.focus()}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}async load(){this.handleTotalPages(),this.handleLastStartItemChange(),this.handleIsXXSmall()}willUpdate(t){(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20))&&this.handleTotalPages(),(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20)||t.has("totalPages"))&&this.handleLastStartItemChange(),t.has("maxItems")&&(this.hasUpdated||this.maxItems!==m.xxsmall)&&this.handleIsXXSmall(),t.has("messages")&&this.effectiveLocaleChange()}loaded(){this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleTotalPages(){this.pageSize<1&&(this.pageSize=1),this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){let{totalItems:t,pageSize:e,totalPages:i}=this;this.lastStartItem=(t%e===0?t-e:Math.floor(i)*e)+1}handleIsXXSmall(){this.isXXSmall=this.maxItems===m.xxsmall}setMaxItemsToBreakpoint(t){if(!(!p||!t)){if(t>=p.width.medium){this.maxItems=m.large;return}if(t>=p.width.small){this.maxItems=m.medium;return}if(t>=p.width.xsmall){this.maxItems=m.small;return}if(t>=p.width.xxsmall){this.maxItems=m.xsmall;return}this.maxItems=m.xxsmall}}firstClicked(){this.startItem=1,this.emitUpdate()}lastClicked(){this.startItem=this.lastStartItem,this.emitUpdate()}async previousClicked(){await this.previousPage(),this.emitUpdate()}async nextClicked(){await this.nextPage(),this.emitUpdate()}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-x-U}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-x-(U-1)}emitUpdate(){this.calcitePaginationChange.emit()}handlePageClick(t){let e=t.target;this.startItem=parseInt(e.value),this.emitUpdate()}renderEllipsis(t){return d(t,h`<span class=${r(s.ellipsis)} data-test-ellipsis=${t??I}>&hellip;</span>`)}renderItems(){let{totalItems:t,pageSize:e,startItem:i,maxItems:a,totalPages:l,lastStartItem:v,isXXSmall:M}=this,o=[];if(M)return o.push(this.renderPage(i)),o;let F=t>e,k=this.showStartEllipsis(),z=this.showEndEllipsis();F&&o.push(this.renderPage(1)),k&&o.push(this.renderEllipsis("start"));let n=a-x-(z?1:0)-(k?1:0),g,c;l-1<=n?(c=1+e,g=v-e):i/e<n?(c=1+e,g=1+n*e):i+n*e>=t?(c=v-n*e,g=v-e):(c=i-e*((n-1)/2),g=i+e*((n-1)/2));for(let $=0;$<n&&c<=g;$++)o.push(this.renderPage(c)),c=c+e;return z&&o.push(this.renderEllipsis("end")),o.push(this.renderPage(v)),o}renderPage(t){let{pageSize:e}=this,i=Math.floor(t/e)+(e===1?0:1);b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let a=b.localize(i.toString()),l=t===this.startItem;return h`<li class=${r(s.listItem)}><button .ariaCurrent=${l?"page":"false"} class=${r({[s.page]:!0,[s.selected]:l})} @click=${this.handlePageClick} value=${t??I}>${a}</button></li>`}renderPreviousChevron(){let{pageSize:t,startItem:e,messages:i}=this,a=t===1?e<=t:e<t;return d("previous",h`<button .ariaLabel=${i.previous} class=${r({[s.chevron]:!0,[s.disabled]:a})} data-test-chevron=previous .disabled=${a} @click=${this.previousClicked}><calcite-icon flip-rtl .icon=${f.previous} .scale=${u(this.scale)}></calcite-icon></button>`)}renderNextChevron(){let{totalItems:t,pageSize:e,startItem:i,messages:a}=this,l=i+e>t;return d("next-button",h`<button .ariaLabel=${a.next} class=${r({[s.chevron]:!0,[s.disabled]:l})} data-test-chevron=next .disabled=${l} @click=${this.nextClicked}><calcite-icon flip-rtl .icon=${f.next} .scale=${u(this.scale)}></calcite-icon></button>`)}renderFirstChevron(){let{messages:t,startItem:e,isXXSmall:i}=this,a=e===1;return i?d("first-button",h`<button .ariaLabel=${t.first} class=${r({[s.chevron]:!0,[s.disabled]:a})} .disabled=${a} @click=${this.firstClicked}><calcite-icon flip-rtl .icon=${f.first} .scale=${u(this.scale)}></calcite-icon></button>`):null}renderLastChevron(){let{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this,l=e===a;return i?d("last-button",h`<button .ariaLabel=${t.last} class=${r({[s.chevron]:!0,[s.disabled]:l})} .disabled=${l} @click=${this.lastClicked}><calcite-icon flip-rtl .icon=${f.last} .scale=${u(this.scale)}></calcite-icon></button>`):null}render(){let t=this.renderFirstChevron(),e=this.renderLastChevron();return h`<ul class=${r(s.list)}><li class=${r({[s.listItem]:!0,[s.hiddenItem]:!t})}>${t}</li><li class=${r(s.listItem)}>${this.renderPreviousChevron()}</li>${this.renderItems()}<li class=${r(s.listItem)}>${this.renderNextChevron()}</li><li class=${r({[s.listItem]:!0,[s.hiddenItem]:!e})}>${e}</li></ul>`}};w("calcite-pagination",S);export{S as Pagination};
@@ -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"./LZ3V33XC.js";import{a as k}from"./HBU463EW.js";import{a as v}from"./24OTRUCC.js";import{a as f,b as a}from"./U2YGN4RT.js";import{p as s,u}from"./LLN5DNPL.js";import{a as l,d as b}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{C as g,K as p,e as h,g as n,w as o,x as m,y as e}from"./MZMZSY5A.js";var c={title:"title",message:"message",link:"link",actionsEnd:"actions-end"},i={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"},x=h`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:.5rem}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent;background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-notice-spacing-token-small);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none;color:var(--calcite-notice-close-icon-color, var(--calcite-color-text-3))}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2));color:var(--calcite-notice-close-icon-color-hover, var(--calcite-color-text-1))}.notice-close:active{background-color:var(--calcite-notice-close-background-color-press, var(--calcite-color-foreground-3))}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(...arguments),this.closeButton=f(),this.transitionProp="opacity",this.hasActionEnd=!1,this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.messages=v(),this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=o({cancelable:!1}),this.calciteNoticeBeforeOpen=o({cancelable:!1}),this.calciteNoticeClose=o({cancelable:!1}),this.calciteNoticeOpen=o({cancelable:!1})}static{this.properties={hasActionEnd:[16,{state:!0}],closable:[7,{reflect:!0,type:Boolean}],icon:[3,{reflect:!0,converter:g}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=x}async setFocus(){await b(this);let t=this.el.querySelector("calcite-link");if(!(!this.closeButton.value&&!t)){if(t)return t.setFocus();this.closeButton.value&&this.closeButton.value.focus()}}async load(){this.requestedIcon=s(r,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||this.open!==!1)&&k(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||this.kind!=="brand"))&&(this.requestedIcon=s(r,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}setTransitionEl(t){t&&(this.transitionEl=t)}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=u(t)}render(){let t=n`<button .ariaLabel=${this.messages.close} class=${e(i.close)} @click=${this.close} ${a(this.closeButton)}><calcite-icon icon=x .scale=${l(this.scale)}></calcite-icon></button>`;return n`<div class=${e(i.container)} ${a(this.setTransitionEl)}>${this.requestedIcon?n`<div class=${e(i.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${l(this.scale)}></calcite-icon></div>`:null}<div class=${e(i.content)}><slot name=${c.title}></slot><slot name=${c.message}></slot><slot name=${c.link}></slot></div><div class=${e(i.actionsEnd)} .hidden=${!this.hasActionEnd}><slot name=${c.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}};p("calcite-notice",d);export{d as Notice};
3
+ v3.2.0-next.40 */
4
+ import{a as r}from"./HNVOQW5F.js";import{a as k}from"./6JABLZT7.js";import{a as v}from"./7EKOSZOZ.js";import{a as f,b as a}from"./6P5PSH65.js";import{p as s,u}from"./4JEZM6VX.js";import{a as l,d as b}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{C as g,K as p,e as h,g as n,w as o,x as m,y as e}from"./EYWRTO2E.js";var c={title:"title",message:"message",link:"link",actionsEnd:"actions-end"},i={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"},x=h`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:.5rem}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent;background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-notice-spacing-token-small);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none;color:var(--calcite-notice-close-icon-color, var(--calcite-color-text-3))}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2));color:var(--calcite-notice-close-icon-color-hover, var(--calcite-color-text-1))}.notice-close:active{background-color:var(--calcite-notice-close-background-color-press, var(--calcite-color-foreground-3))}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(...arguments),this.closeButton=f(),this.transitionProp="opacity",this.hasActionEnd=!1,this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.messages=v(),this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=o({cancelable:!1}),this.calciteNoticeBeforeOpen=o({cancelable:!1}),this.calciteNoticeClose=o({cancelable:!1}),this.calciteNoticeOpen=o({cancelable:!1})}static{this.properties={hasActionEnd:[16,{state:!0}],closable:[7,{reflect:!0,type:Boolean}],icon:[3,{reflect:!0,converter:g}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=x}async setFocus(){await b(this);let t=this.el.querySelector("calcite-link");if(!(!this.closeButton.value&&!t)){if(t)return t.setFocus();this.closeButton.value&&this.closeButton.value.focus()}}async load(){this.requestedIcon=s(r,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||this.open!==!1)&&k(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||this.kind!=="brand"))&&(this.requestedIcon=s(r,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}setTransitionEl(t){t&&(this.transitionEl=t)}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=u(t)}render(){let t=n`<button .ariaLabel=${this.messages.close} class=${e(i.close)} @click=${this.close} ${a(this.closeButton)}><calcite-icon icon=x .scale=${l(this.scale)}></calcite-icon></button>`;return n`<div class=${e(i.container)} ${a(this.setTransitionEl)}>${this.requestedIcon?n`<div class=${e(i.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${l(this.scale)}></calcite-icon></div>`:null}<div class=${e(i.content)}><slot name=${c.title}></slot><slot name=${c.message}></slot><slot name=${c.link}></slot></div><div class=${e(i.actionsEnd)} .hidden=${!this.hasActionEnd}><slot name=${c.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}};p("calcite-notice",d);export{d as Notice};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.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 z,e as A,h as F}from"./3VLVDWSS.js";import{c as I,d as C,e as R}from"./7T7MTXSU.js";import{a as x,b as w}from"./DTAEBKT4.js";import{a as l}from"./PYM6655A.js";import{b as v}from"./U2YGN4RT.js";import{e as B,l as g}from"./LLN5DNPL.js";import{d as y}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as k,e as b,g as f,k as p,w as a,x as m,y as d}from"./MZMZSY5A.js";var L={container:"container",radio:"radio"},q=b`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-radius:var(--calcite-radio-button-corner-radius, var(--calcite-corner-radius-pill));background-color:var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1));box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([focused]) .radio{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([scale=s]){--calcite-internal-radio-size: var( --calcite-radio-button-size, var(--calcite-radio-size, var(--calcite-size-fixed-md)) )}:host([scale=m]){--calcite-internal-radio-size: var( --calcite-radio-button-size, var(--calcite-radio-size, var(--calcite-size-fixed-md-plus)) )}:host([scale=l]){--calcite-internal-radio-size: var( --calcite-radio-button-size, var(--calcite-radio-size, var(--calcite-size-fixed-lg)) )}.radio{block-size:var(--calcite-internal-radio-size);inline-size:var(--calcite-internal-radio-size);size:var(--calcite-internal-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1))}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1))}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1))}@media (forced-colors: active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-internal-radio-size);block-size:var(--calcite-internal-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends m{constructor(){super(),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.calciteInternalRadioButtonBlur=a({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=a({cancelable:!1}),this.calciteInternalRadioButtonFocus=a({cancelable:!1}),this.calciteRadioButtonChange=a({cancelable:!1}),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],focused:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hovered:[7,{reflect:!0,type:Boolean}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],value:1}}static{this.styles=q}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(){await y(this),this.disabled||g(this.containerEl)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),I(this),z(this),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}updated(){x(this)}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),C(this),A(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}syncHiddenFormInput(e){e.type="radio"}selectItem(e,o){e[o].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),o=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return o===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let o=e.currentTarget,t=o.for?this.rootNode.querySelector(`calcite-radio-button[id="${o.for}"]`):o.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let o=this.queryButtons().filter(t=>t.checked);if(o?.length>1){let t=o[o.length-1];o.filter(i=>i!==t).forEach(i=>{i.checked=!1,i.emitCheckedChange()})}}setContainerEl(e){this.containerEl=e}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach(o=>{o.checked&&(o.checked=!1,o.focused=!1)})}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el).forEach(t=>{t.checked&&(t.checked=!1,t.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el&&!t.disabled).forEach(t=>{t.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let o=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e,{el:i}=this;if(o.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let c=t;B(i)==="rtl"&&(t==="ArrowRight"&&(c="ArrowLeft"),t==="ArrowLeft"&&(c="ArrowRight"));let r=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(n=>n.name===this.name),s=0,u=r.length;switch(r.some((n,E)=>{if(n.checked)return s=E,!0}),c){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(r,l(Math.max(s-1,-1),u));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(r,l(s+1,u));return;default:return}}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return w({disabled:this.disabled,children:f`<div .ariaChecked=${this.checked} .ariaLabel=${R(this)} class=${d(L.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??p} ${v(this.setContainerEl)}><div class=${d(L.radio)}></div></div>${F({component:this})}`})}};k("calcite-radio-button",h);export{h as RadioButton};
3
+ v3.2.0-next.40 */
4
+ import{c as z,e as A,h as F}from"./4KFIUD2B.js";import{c as I,d as C,e as R}from"./FR4VAYJC.js";import{a as x,b as w}from"./KOH7CJJ2.js";import{a as l}from"./67QAOXDX.js";import{b as v}from"./6P5PSH65.js";import{e as B,l as g}from"./4JEZM6VX.js";import{d as y}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as k,e as b,g as f,k as p,w as a,x as m,y as d}from"./EYWRTO2E.js";var L={container:"container",radio:"radio"},q=b`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-radius:var(--calcite-radio-button-corner-radius, var(--calcite-corner-radius-pill));background-color:var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1));box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([focused]) .radio{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([scale=s]){--calcite-internal-radio-size: var( --calcite-radio-button-size, var(--calcite-radio-size, var(--calcite-size-fixed-md)) )}:host([scale=m]){--calcite-internal-radio-size: var( --calcite-radio-button-size, var(--calcite-radio-size, var(--calcite-size-fixed-md-plus)) )}:host([scale=l]){--calcite-internal-radio-size: var( --calcite-radio-button-size, var(--calcite-radio-size, var(--calcite-size-fixed-lg)) )}.radio{block-size:var(--calcite-internal-radio-size);inline-size:var(--calcite-internal-radio-size);size:var(--calcite-internal-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1))}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1))}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-color-foreground-1))}@media (forced-colors: active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-internal-radio-size);block-size:var(--calcite-internal-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends m{constructor(){super(),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.calciteInternalRadioButtonBlur=a({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=a({cancelable:!1}),this.calciteInternalRadioButtonFocus=a({cancelable:!1}),this.calciteRadioButtonChange=a({cancelable:!1}),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],focused:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hovered:[7,{reflect:!0,type:Boolean}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],value:1}}static{this.styles=q}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(){await y(this),this.disabled||g(this.containerEl)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),I(this),z(this),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}updated(){x(this)}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),C(this),A(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}syncHiddenFormInput(e){e.type="radio"}selectItem(e,o){e[o].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),o=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return o===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let o=e.currentTarget,t=o.for?this.rootNode.querySelector(`calcite-radio-button[id="${o.for}"]`):o.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let o=this.queryButtons().filter(t=>t.checked);if(o?.length>1){let t=o[o.length-1];o.filter(i=>i!==t).forEach(i=>{i.checked=!1,i.emitCheckedChange()})}}setContainerEl(e){this.containerEl=e}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach(o=>{o.checked&&(o.checked=!1,o.focused=!1)})}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el).forEach(t=>{t.checked&&(t.checked=!1,t.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el&&!t.disabled).forEach(t=>{t.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let o=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e,{el:i}=this;if(o.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let c=t;B(i)==="rtl"&&(t==="ArrowRight"&&(c="ArrowLeft"),t==="ArrowLeft"&&(c="ArrowRight"));let r=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(n=>n.name===this.name),s=0,u=r.length;switch(r.some((n,E)=>{if(n.checked)return s=E,!0}),c){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(r,l(Math.max(s-1,-1),u));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(r,l(s+1,u));return;default:return}}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return w({disabled:this.disabled,children:f`<div .ariaChecked=${this.checked} .ariaLabel=${R(this)} class=${d(L.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??p} ${v(this.setContainerEl)}><div class=${d(L.radio)}></div></div>${F({component:this})}`})}};k("calcite-radio-button",h);export{h as RadioButton};
@@ -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{I as s}from"./MZMZSY5A.js";var d=new Set,f={trace:0,debug:1,info:2,warn:4,error:8,off:10};function p(e){return f[e]>=f[s]}function r(e,...n){if(!p(e))return;console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...n)}var a,m={debug:e=>r("debug",e),info:e=>r("info",e),warn:e=>r("warn",e),error:e=>r("error",e),trace:e=>r("trace",e),deprecated:$};function $(e,{component:n,name:t,suggested:o,removalVersion:i}){let l=`${e}:${e==="component"?"":n}${t}`;if(d.has(l))return;d.add(l);let c=Array.isArray(o);c&&!a&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let u=`[${t}] ${e} is deprecated and will be removed in ${i==="future"?"a future version":`v${i}`}.${o?` Use ${c?a.format(o.map(g=>`"${g}"`)):`"${o}"`} instead.`:""}`;r("warn",u)}export{m as a};
3
+ v3.2.0-next.40 */
4
+ import{I as s}from"./EYWRTO2E.js";var d=new Set,f={trace:0,debug:1,info:2,warn:4,error:8,off:10};function p(e){return f[e]>=f[s]}function r(e,...n){if(!p(e))return;console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...n)}var a,m={debug:e=>r("debug",e),info:e=>r("info",e),warn:e=>r("warn",e),error:e=>r("error",e),trace:e=>r("trace",e),deprecated:$};function $(e,{component:n,name:t,suggested:o,removalVersion:i}){let l=`${e}:${e==="component"?"":n}${t}`;if(d.has(l))return;d.add(l);let c=Array.isArray(o);c&&!a&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let u=`[${t}] ${e} is deprecated and will be removed in ${i==="future"?"a future version":`v${i}`}.${o?` Use ${c?a.format(o.map(g=>`"${g}"`)):`"${o}"`} instead.`:""}`;r("warn",u)}export{m as a};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
4
- import{a as u,b as g}from"./DTAEBKT4.js";import{a as d,b as p}from"./U2YGN4RT.js";import{v as m,z as i}from"./LLN5DNPL.js";import{d as f}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{K as h,e as c,g as o,w as r,x as n}from"./MZMZSY5A.js";var I=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(),this.items=[],this.slotRefEl=d(),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteChipGroupSelect=r({cancelable:!1}),this.listen("calciteInternalChipKeyEvent",this.calciteInternalChipKeyEventListener),this.listen("calciteChipClose",this.calciteChipCloseListener),this.listen("calciteChipSelect",this.calciteChipSelectListener),this.listen("calciteInternalChipSelect",this.calciteInternalChipSelectListener),this.listen("calciteInternalSyncSelectedChips",this.calciteInternalSyncSelectedChips)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1,scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionMode:[3,{reflect:!0}]}}static{this.styles=I}async setFocus(){if(await f(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}updated(){u(this)}calciteInternalChipKeyEventListener(e){if(e.composedPath().includes(this.el)){let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}e.stopPropagation()}calciteChipCloseListener(e){let t=e.target;this.items?.includes(t)&&(this.items?.indexOf(t)>0?i(this.items,t,"previous"):this.items?.indexOf(t)===0?i(this.items,t,"next"):i(this.items,t,"first")),this.items=this.items?.filter(s=>s!==t),e.stopPropagation()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedChips(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let t=this.slotRefEl.value?.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-chip"));this.items=e?m(e):t,!(this.items?.length<1)&&(this.items?.forEach(s=>{s.interactive=!0,s.scale=this.scale,s.selectionMode=this.selectionMode,s.parentChipGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items?.filter(e=>e.selected)}setSelectedItems(e,t){t&&this.items?.forEach(s=>{let l=t===s;switch(this.selectionMode){case"multiple":l&&(s.selected=!s.selected);break;case"single":s.selected=l?!s.selected:!1;break;case"single-persist":s.selected=!!l;break}}),this.updateSelectedItems(),e&&this.calciteChipGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:t}=this;return g({disabled:t,children:o`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItems} ${p(this.slotRefEl)}></slot></div>`})}};h("calcite-chip-group",a);export{a as ChipGroup};
3
+ v3.2.0-next.40 */
4
+ import{a as u,b as g}from"./KOH7CJJ2.js";import{a as d,b as p}from"./6P5PSH65.js";import{v as m,z as i}from"./4JEZM6VX.js";import{d as f}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{K as h,e as c,g as o,w as r,x as n}from"./EYWRTO2E.js";var I=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(),this.items=[],this.slotRefEl=d(),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteChipGroupSelect=r({cancelable:!1}),this.listen("calciteInternalChipKeyEvent",this.calciteInternalChipKeyEventListener),this.listen("calciteChipClose",this.calciteChipCloseListener),this.listen("calciteChipSelect",this.calciteChipSelectListener),this.listen("calciteInternalChipSelect",this.calciteInternalChipSelectListener),this.listen("calciteInternalSyncSelectedChips",this.calciteInternalSyncSelectedChips)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1,scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionMode:[3,{reflect:!0}]}}static{this.styles=I}async setFocus(){if(await f(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}updated(){u(this)}calciteInternalChipKeyEventListener(e){if(e.composedPath().includes(this.el)){let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}e.stopPropagation()}calciteChipCloseListener(e){let t=e.target;this.items?.includes(t)&&(this.items?.indexOf(t)>0?i(this.items,t,"previous"):this.items?.indexOf(t)===0?i(this.items,t,"next"):i(this.items,t,"first")),this.items=this.items?.filter(s=>s!==t),e.stopPropagation()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedChips(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let t=this.slotRefEl.value?.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-chip"));this.items=e?m(e):t,!(this.items?.length<1)&&(this.items?.forEach(s=>{s.interactive=!0,s.scale=this.scale,s.selectionMode=this.selectionMode,s.parentChipGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items?.filter(e=>e.selected)}setSelectedItems(e,t){t&&this.items?.forEach(s=>{let l=t===s;switch(this.selectionMode){case"multiple":l&&(s.selected=!s.selected);break;case"single":s.selected=l?!s.selected:!1;break;case"single-persist":s.selected=!!l;break}}),this.updateSelectedItems(),e&&this.calciteChipGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:t}=this;return g({disabled:t,children:o`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItems} ${p(this.slotRefEl)}></slot></div>`})}};h("calcite-chip-group",a);export{a as ChipGroup};
@@ -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 S}from"./VYRPNOIH.js";import{a as g,b as v,c as m,d as z,f as B,h as L}from"./FYK4XJBH.js";import{k as E}from"./7CQ233AJ.js";import{a as U,b as G}from"./3VMC2CMT.js";import{a as O,b as R}from"./DTAEBKT4.js";import{a as I}from"./GZUOSY5I.js";import{a as N}from"./RFI4KO6W.js";import"./GTUVAAAD.js";import{a as w}from"./DX4BEDZ3.js";import{a as H}from"./24OTRUCC.js";import{b as D}from"./U2YGN4RT.js";import{g as M,u as b}from"./LLN5DNPL.js";import{d as T}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{a as k}from"./R3CUJDU2.js";import{E as $,K as P,e as A,g as d,w as f,x as y,y as h}from"./MZMZSY5A.js";var u={container:"container",table:"table",scrim:"scrim",stack:"stack",tableContainer:"table-container",sticky:"sticky-pos",assistiveText:"assistive-text"},F={filterNoResults:"filter-no-results",filterActionsStart:"filter-actions-start",filterActionsEnd:"filter-actions-end"},q=A`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%}.stack{--calcite-stack-padding-inline: 0;--calcite-stack-padding-block: 0}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}`,W=`${v}, ${m}`,x=class extends y{constructor(){super(),this.dragSelector=m,this.focusableItems=[],this.handleSelector="calcite-sort-handle",this.listItems=[],this.listItemGroups=[],this.mutationObserver=w("mutation",()=>{this.willPerformFilter=!0,this.updateListItems()}),this.updateListItems=N(()=>{this.updateGroupItems();let{selectionAppearance:t,selectionMode:e,interactionMode:i,dragEnabled:l,el:s,filterEl:n,moveToItems:a,displayMode:r,scale:c}=this,p=Array.from(this.el.querySelectorAll(m));if(p.forEach(o=>{o.scale=c,o.selectionAppearance=t,o.selectionMode=e,o.interactionMode=i,o.closest(g)===s&&(o.moveToItems=a.filter(C=>C.element!==s&&!o.contains(C.element)),o.dragHandle=l,o.displayMode=r)}),this.parentListEl){this.setUpSorting();return}this.listItems=p,this.filterEnabled&&this.willPerformFilter&&(this.willPerformFilter=!1,this.dataForFilter=this.getItemData(),n&&(n.items=this.dataForFilter,this.filterAndUpdateData())),this.visibleItems=this.listItems.filter(o=>!o.closed&&!o.hidden),this.updateFilteredItems(),this.borderItems(),this.focusableItems=this.filteredItems.filter(o=>!o.disabled),this.setActiveListItem(),this.updateSelectedItems(),this.setUpSorting()},$.nextTick),this.visibleItems=[],this.willFilterEmit=!1,this.willPerformFilter=!1,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1,this.hasFilterNoResults=!1,this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.filterEnabled=!1,this.filteredData=[],this.filteredItems=[],this.interactionMode="interactive",this.loading=!1,this.messages=H({blocking:!0}),this.displayMode="flat",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteInternalListDefaultSlotChange=f({cancelable:!1}),this.calciteListChange=f({cancelable:!1}),this.calciteListDragEnd=f({cancelable:!1}),this.calciteListDragStart=f({cancelable:!1}),this.calciteListFilter=f({cancelable:!1}),this.calciteListOrderChange=f({cancelable:!1}),this.calciteListMoveHalt=f({cancelable:!1}),this.listen("calciteInternalListItemToggle",this.handleCalciteListItemToggle),this.listen("calciteInternalFocusPreviousItem",this.handleCalciteInternalFocusPreviousItem),this.listen("calciteInternalListItemActive",this.handleCalciteInternalListItemActive),this.listen("calciteListItemSelect",this.handleCalciteListItemSelect),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove),this.listen("calciteInternalListItemSelect",this.handleCalciteInternalListItemSelect),this.listen("calciteInternalListItemSelectMultiple",this.handleCalciteInternalListItemSelectMultiple),this.listen("calciteInternalListItemChange",this.handleCalciteInternalListItemChange),this.listen("calciteInternalListItemGroupDefaultSlotChange",this.handleCalciteInternalListItemGroupDefaultSlotChange)}static{this.properties={assistiveText:[16,{state:!0}],dataForFilter:[16,{state:!0}],hasFilterActionsEnd:[16,{state:!0}],hasFilterActionsStart:[16,{state:!0}],hasFilterNoResults:[16,{state:!0}],moveToItems:[16,{state:!0}],hasActiveFilter:[16,{state:!0}],showNoResultsContainer:[16,{state:!0}],canPull:[0,{attribute:!1}],canPut:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],dragEnabled:[7,{reflect:!0,type:Boolean}],filterEnabled:[7,{reflect:!0,type:Boolean}],filterPredicate:[0,{attribute:!1}],filterLabel:[3,{reflect:!0}],filterPlaceholder:[3,{reflect:!0}],filterProps:[0,{attribute:!1}],filterText:[3,{reflect:!0}],filteredData:[0,{attribute:!1}],filteredItems:[0,{attribute:!1}],group:[3,{reflect:!0}],interactionMode:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],displayMode:[3,{reflect:!0}],numberingSystem:1,scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionAppearance:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=q}get hasActiveFilter(){return this.filterEnabled&&this.filterText&&this.filteredItems.length!==this.visibleItems.length}get showNoResultsContainer(){return this.filterEnabled&&this.filterText&&this.hasFilterNoResults&&this.visibleItems.length&&!this.filteredItems.length}putFailed(t){this.calciteListMoveHalt.emit(t)}async setFocus(){return await T(this),this.filterEnabled?this.filterEl?.setFocus():this.focusableItems.find(t=>t.active)?.setFocus()}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.willPerformFilter=!0,this.updateListItems(),this.setUpSorting(),this.setParentList(),this.setListItemGroups()}async load(){this.handleInteractionModeWarning()}willUpdate(t){(t.has("filterText")||t.has("filterProps")||t.has("filterPredicate"))&&this.performFilter(),(t.has("filterEnabled")&&(this.hasUpdated||this.filterEnabled!==!1)||t.has("group")||t.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1)||t.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon")||t.has("displayMode")&&this.hasUpdated||t.has("scale")&&this.hasUpdated||t.has("filterPredicate")&&this.hasUpdated)&&this.handleListItemChange()}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),G(this)}handleListItemChange(){this.willPerformFilter=!0,this.updateListItems()}handleCalciteListItemToggle(t){this.parentListEl||(t.stopPropagation(),this.borderItems())}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();let{focusableItems:e}=this,l=e.findIndex(s=>s.active)-1;e[l]&&this.focusRow(e[l])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();let e=t.target,{listItems:i}=this;i.forEach(l=>{l.active=l===e})}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalAssistiveTextChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleSortReorder(t){this.parentListEl||t.defaultPrevented||(t.preventDefault(),this.handleReorder(t))}handleSortMove(t){this.parentListEl||t.defaultPrevented||(t.preventDefault(),this.handleMove(t))}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();let e=t.target,{listItems:i,selectionMode:l}=this;e.selected&&(l==="single"||l==="single-persist")&&i.forEach(s=>s.selected=s===e),this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(t){if(this.parentListEl)return;t.stopPropagation();let{target:e,detail:i}=t,{focusableItems:l,lastSelectedInfo:s}=this,n=e;if(i.selectMultiple&&s){let a=l.indexOf(n),r=l.indexOf(s.selectedItem),c=Math.min(r,a),p=Math.max(r,a);l.slice(c,p+1).forEach(o=>o.selected=s.selected)}else this.lastSelectedInfo={selectedItem:n,selected:n.selected}}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:t}=this;t&&U(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(t){this.calciteListDragEnd.emit(t)}onDragMove({relatedEl:t}){t.expanded=!0}onDragStart(t){t.dragEl.sortHandleOpen=!1,this.calciteListDragStart.emit(t)}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){this.parentListEl=this.el.parentElement?.closest(g)}handleDefaultSlotChange(t){B(t.target),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()}setListItemGroups(){this.listItemGroups=Array.from(this.el.querySelectorAll(v))}handleFilterActionsStartSlotChange(t){this.hasFilterActionsStart=b(t)}handleFilterActionsEndSlotChange(t){this.hasFilterActionsEnd=b(t)}handleFilterNoResultsSlotChange(t){this.hasFilterNoResults=b(t)}setActiveListItem(){let{focusableItems:t}=this;t.some(e=>e.active)||t[0]&&(t[0].active=!0)}async updateSelectedItems(t=!1){await this.updateComplete,this.selectedItems=this.visibleItems.filter(e=>e.selected),t&&this.calciteListChange.emit()}filterElements({el:t,filteredItems:e,visibleParents:i}){let l=!i.has(t)&&!e.includes(t);t.filterHidden=l;let s=t.parentElement.closest(W);s&&(l||i.add(s),this.filterElements({el:s,filteredItems:e,visibleParents:i}))}allParentListItemsExpanded(t){let e=t.parentElement?.closest(m);if(e){if(!e.expanded)return!1}else return!0;return this.allParentListItemsExpanded(e)}borderItems(){let t=this.visibleItems.filter(e=>!e.filterHidden&&this.allParentListItemsExpanded(e));t.forEach(e=>e.bordered=e!==t[t.length-1])}updateFilteredItems(){let{visibleItems:t,filteredData:e,filterText:i,filterPredicate:l}=this,s=t?.filter(r=>t.every(c=>c===r||!r.contains(c))),n=l?t.filter(l):i?e.map(r=>r.el):t||[],a=new WeakSet;s.forEach(r=>this.filterElements({el:r,filteredItems:n,visibleParents:a})),this.filteredItems=n,this.willFilterEmit&&(this.willFilterEmit=!1,this.calciteListFilter.emit())}updateFilteredData(){let{filterEl:t}=this;t&&(t.filteredItems&&(this.filteredData=t.filteredItems),this.updateListItems())}async filterAndUpdateData(){await this.filterEl?.filter(this.filterText),this.updateFilteredData()}get effectiveFilterProps(){return this.filterProps?this.filterProps.filter(t=>t!=="el"):["description","label","metadata","heading"]}performFilter(){let{filterEl:t,filterText:e,effectiveFilterProps:i}=this;t&&(t.value=e,t.filterProps=i,this.filterAndUpdateData())}setFilterEl(t){this.filterEl=t,this.performFilter()}handleFilterChange(t){t.stopPropagation();let{value:e}=t.currentTarget;this.filterText=e,this.willFilterEmit=!0,this.updateFilteredData()}getItemData(){return this.listItems.map(t=>({label:t.label,description:t.description,metadata:t.metadata,heading:this.getGroupHeading(t),el:t}))}getGroupHeading(t){return this.listItemGroups.filter(i=>i.contains(t)).map(i=>i.heading)}updateGroupItems(){let{el:t,group:e,scale:i}=this,l=M(t),s=e?Array.from(l.querySelectorAll(`${g}[group="${e}"]`)).filter(a=>!a.disabled&&a.dragEnabled):[];this.moveToItems=s.map(a=>({element:a,label:a.label??a.id,id:k()})),Array.from(this.el.querySelectorAll(v)).forEach(a=>{a.scale=i})}focusRow(t){let{focusableItems:e}=this;t&&(e.forEach(i=>i.active=i===t),t.setFocus())}isNavigable(t){let e=t.parentElement?.closest(m);return e?e.expanded&&this.isNavigable(e):!0}handleListKeydown(t){if(t.defaultPrevented||this.parentListEl)return;let{key:e}=t,i=this.focusableItems.filter(s=>this.isNavigable(s)),l=i.findIndex(s=>s.active);if(e==="ArrowDown"){t.preventDefault();let s=t.target===this.filterEl?0:l+1;i[s]&&this.focusRow(i[s])}else if(e==="ArrowUp"){if(t.preventDefault(),l===0&&this.filterEnabled){this.filterEl?.setFocus();return}let s=l-1;i[s]&&this.focusRow(i[s])}else if(e==="Home"){t.preventDefault();let s=i[0];s&&this.focusRow(s)}else if(e==="End"){t.preventDefault();let s=i[i.length-1];s&&this.focusRow(s)}}handleInteractionModeWarning(){this.interactionMode==="static"&&this.selectionMode!=="none"&&this.selectionAppearance==="border"&&console.warn('selection-appearance="border" requires interaction-mode="interactive"')}handleMove(t){let{moveTo:e}=t.detail,i=t.target,l=i?.parentElement,s=e.element,a=Array.from(l.children).filter(L).indexOf(i),r=0;if(l){if(l.canPull?.({toEl:s,fromEl:l,dragEl:i,newIndex:r,oldIndex:a})===!1){this.calciteListMoveHalt.emit({toEl:s,fromEl:l,dragEl:i,oldIndex:a,newIndex:r});return}if(s.canPut?.({toEl:s,fromEl:l,dragEl:i,newIndex:r,oldIndex:a})===!1){s.putFailed({toEl:s,fromEl:l,dragEl:i,oldIndex:a,newIndex:r});return}i.sortHandleOpen=!1,this.disconnectObserver(),s.prepend(i),z(i),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:i,fromEl:l,toEl:s,newIndex:r,oldIndex:a})}}handleReorder(t){let{reorder:e}=t.detail,i=t.target,l=i?.parentElement;if(!l)return;i.sortHandleOpen=!1;let s=Array.from(l.children).filter(L),n=s.length-1,a=s.indexOf(i),r=a;switch(e){case"top":r=0;break;case"bottom":r=n;break;case"up":r=a===0?0:a-1;break;case"down":r=a===n?n:a+1;break}this.disconnectObserver();let c=e==="up"||e==="top"?s[r]:s[r].nextSibling;l.insertBefore(i,c),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:i,fromEl:l,toEl:l,newIndex:r,oldIndex:a})}render(){let{loading:t,label:e,disabled:i,dataForFilter:l,filterEnabled:s,filterPlaceholder:n,filterText:a,filterLabel:r,hasFilterActionsStart:c,hasFilterActionsEnd:p,effectiveFilterProps:o}=this;return R({disabled:this.disabled,children:d`<div class=${h(u.container)}>${this.dragEnabled?d`<span aria-live=assertive class=${h(u.assistiveText)}>${this.assistiveText}</span>`:null}${this.renderItemAriaLive()}${t?d`<calcite-scrim class=${h(u.scrim)} .loading=${t}></calcite-scrim>`:null}<div .ariaBusy=${t} .ariaLabel=${e||""} class=${h(u.table)} @keydown=${this.handleListKeydown} role=treegrid>${s||c||p?d`<div class=${h(u.sticky)} role=rowgroup><div role=row><div role=columnheader><calcite-stack class=${h(u.stack)}><slot name=${F.filterActionsStart} @slotchange=${this.handleFilterActionsStartSlotChange} slot=${S.actionsStart}></slot><calcite-filter .ariaLabel=${n} .disabled=${i} .filterProps=${o} .items=${l} .label=${r} @calciteFilterChange=${this.handleFilterChange} .placeholder=${n} .scale=${this.scale} .value=${a} ${D(this.setFilterEl)}></calcite-filter><slot name=${F.filterActionsEnd} @slotchange=${this.handleFilterActionsEndSlotChange} slot=${S.actionsEnd}></slot></calcite-stack></div></div></div>`:null}<div class=${h(u.tableContainer)} role=rowgroup><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div><div aria-live=polite data-test-id=no-results-container .hidden=${!this.showNoResultsContainer}><slot name=${F.filterNoResults} @slotchange=${this.handleFilterNoResultsSlotChange}></slot></div></div>`})}renderItemAriaLive(){let{messages:t,filteredItems:e,parentListEl:i,messages:{_lang:l},numberingSystem:s}=this;return E.numberFormatOptions={locale:l,numberingSystem:s},i?null:d`<div aria-live=polite class=${h(u.assistiveText)}>${this.hasActiveFilter?I("aria-filter-enabled",d`<div>${t.filterEnabled}</div>`):null}${I("aria-item-count",d`<div>${t.total.replace("{count}",E.localize(e.length.toString()))}</div>`)}${e.length?I("aria-item-list",d`<ol>${e.map(n=>d`<li>${n.label}</li>`)}</ol>`):null}</div>`}};P("calcite-list",x);export{x as List};
3
+ v3.2.0-next.40 */
4
+ import{b as S}from"./ZXGONEDG.js";import{a as g,b as v,c as m,d as z,f as B,h as L}from"./QCW5FCIU.js";import{k as E}from"./XZK2I4C2.js";import{a as U,b as G}from"./SWKCCOCK.js";import{a as O,b as R}from"./KOH7CJJ2.js";import{a as I}from"./PNGIMH3C.js";import{a as N}from"./HPNQQK6A.js";import"./VIJYQUPS.js";import{a as w}from"./VYNVOZVL.js";import{a as H}from"./7EKOSZOZ.js";import{b as D}from"./6P5PSH65.js";import{g as M,u as b}from"./4JEZM6VX.js";import{d as T}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{a as k}from"./6DCGXB5R.js";import{E as $,K as P,e as A,g as d,w as f,x as y,y as h}from"./EYWRTO2E.js";var u={container:"container",table:"table",scrim:"scrim",stack:"stack",tableContainer:"table-container",sticky:"sticky-pos",assistiveText:"assistive-text"},F={filterNoResults:"filter-no-results",filterActionsStart:"filter-actions-start",filterActionsEnd:"filter-actions-end"},q=A`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%}.stack{--calcite-stack-padding-inline: 0;--calcite-stack-padding-block: 0}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}`,W=`${v}, ${m}`,x=class extends y{constructor(){super(),this.dragSelector=m,this.focusableItems=[],this.handleSelector="calcite-sort-handle",this.listItems=[],this.listItemGroups=[],this.mutationObserver=w("mutation",()=>{this.willPerformFilter=!0,this.updateListItems()}),this.updateListItems=N(()=>{this.updateGroupItems();let{selectionAppearance:t,selectionMode:e,interactionMode:i,dragEnabled:l,el:s,filterEl:n,moveToItems:a,displayMode:r,scale:c}=this,p=Array.from(this.el.querySelectorAll(m));if(p.forEach(o=>{o.scale=c,o.selectionAppearance=t,o.selectionMode=e,o.interactionMode=i,o.closest(g)===s&&(o.moveToItems=a.filter(C=>C.element!==s&&!o.contains(C.element)),o.dragHandle=l,o.displayMode=r)}),this.parentListEl){this.setUpSorting();return}this.listItems=p,this.filterEnabled&&this.willPerformFilter&&(this.willPerformFilter=!1,this.dataForFilter=this.getItemData(),n&&(n.items=this.dataForFilter,this.filterAndUpdateData())),this.visibleItems=this.listItems.filter(o=>!o.closed&&!o.hidden),this.updateFilteredItems(),this.borderItems(),this.focusableItems=this.filteredItems.filter(o=>!o.disabled),this.setActiveListItem(),this.updateSelectedItems(),this.setUpSorting()},$.nextTick),this.visibleItems=[],this.willFilterEmit=!1,this.willPerformFilter=!1,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1,this.hasFilterNoResults=!1,this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.filterEnabled=!1,this.filteredData=[],this.filteredItems=[],this.interactionMode="interactive",this.loading=!1,this.messages=H({blocking:!0}),this.displayMode="flat",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteInternalListDefaultSlotChange=f({cancelable:!1}),this.calciteListChange=f({cancelable:!1}),this.calciteListDragEnd=f({cancelable:!1}),this.calciteListDragStart=f({cancelable:!1}),this.calciteListFilter=f({cancelable:!1}),this.calciteListOrderChange=f({cancelable:!1}),this.calciteListMoveHalt=f({cancelable:!1}),this.listen("calciteInternalListItemToggle",this.handleCalciteListItemToggle),this.listen("calciteInternalFocusPreviousItem",this.handleCalciteInternalFocusPreviousItem),this.listen("calciteInternalListItemActive",this.handleCalciteInternalListItemActive),this.listen("calciteListItemSelect",this.handleCalciteListItemSelect),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove),this.listen("calciteInternalListItemSelect",this.handleCalciteInternalListItemSelect),this.listen("calciteInternalListItemSelectMultiple",this.handleCalciteInternalListItemSelectMultiple),this.listen("calciteInternalListItemChange",this.handleCalciteInternalListItemChange),this.listen("calciteInternalListItemGroupDefaultSlotChange",this.handleCalciteInternalListItemGroupDefaultSlotChange)}static{this.properties={assistiveText:[16,{state:!0}],dataForFilter:[16,{state:!0}],hasFilterActionsEnd:[16,{state:!0}],hasFilterActionsStart:[16,{state:!0}],hasFilterNoResults:[16,{state:!0}],moveToItems:[16,{state:!0}],hasActiveFilter:[16,{state:!0}],showNoResultsContainer:[16,{state:!0}],canPull:[0,{attribute:!1}],canPut:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],dragEnabled:[7,{reflect:!0,type:Boolean}],filterEnabled:[7,{reflect:!0,type:Boolean}],filterPredicate:[0,{attribute:!1}],filterLabel:[3,{reflect:!0}],filterPlaceholder:[3,{reflect:!0}],filterProps:[0,{attribute:!1}],filterText:[3,{reflect:!0}],filteredData:[0,{attribute:!1}],filteredItems:[0,{attribute:!1}],group:[3,{reflect:!0}],interactionMode:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],displayMode:[3,{reflect:!0}],numberingSystem:1,scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionAppearance:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=q}get hasActiveFilter(){return this.filterEnabled&&this.filterText&&this.filteredItems.length!==this.visibleItems.length}get showNoResultsContainer(){return this.filterEnabled&&this.filterText&&this.hasFilterNoResults&&this.visibleItems.length&&!this.filteredItems.length}putFailed(t){this.calciteListMoveHalt.emit(t)}async setFocus(){return await T(this),this.filterEnabled?this.filterEl?.setFocus():this.focusableItems.find(t=>t.active)?.setFocus()}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.willPerformFilter=!0,this.updateListItems(),this.setUpSorting(),this.setParentList(),this.setListItemGroups()}async load(){this.handleInteractionModeWarning()}willUpdate(t){(t.has("filterText")||t.has("filterProps")||t.has("filterPredicate"))&&this.performFilter(),(t.has("filterEnabled")&&(this.hasUpdated||this.filterEnabled!==!1)||t.has("group")||t.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1)||t.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon")||t.has("displayMode")&&this.hasUpdated||t.has("scale")&&this.hasUpdated||t.has("filterPredicate")&&this.hasUpdated)&&this.handleListItemChange()}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),G(this)}handleListItemChange(){this.willPerformFilter=!0,this.updateListItems()}handleCalciteListItemToggle(t){this.parentListEl||(t.stopPropagation(),this.borderItems())}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();let{focusableItems:e}=this,l=e.findIndex(s=>s.active)-1;e[l]&&this.focusRow(e[l])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();let e=t.target,{listItems:i}=this;i.forEach(l=>{l.active=l===e})}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalAssistiveTextChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleSortReorder(t){this.parentListEl||t.defaultPrevented||(t.preventDefault(),this.handleReorder(t))}handleSortMove(t){this.parentListEl||t.defaultPrevented||(t.preventDefault(),this.handleMove(t))}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();let e=t.target,{listItems:i,selectionMode:l}=this;e.selected&&(l==="single"||l==="single-persist")&&i.forEach(s=>s.selected=s===e),this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(t){if(this.parentListEl)return;t.stopPropagation();let{target:e,detail:i}=t,{focusableItems:l,lastSelectedInfo:s}=this,n=e;if(i.selectMultiple&&s){let a=l.indexOf(n),r=l.indexOf(s.selectedItem),c=Math.min(r,a),p=Math.max(r,a);l.slice(c,p+1).forEach(o=>o.selected=s.selected)}else this.lastSelectedInfo={selectedItem:n,selected:n.selected}}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:t}=this;t&&U(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(t){this.calciteListDragEnd.emit(t)}onDragMove({relatedEl:t}){t.expanded=!0}onDragStart(t){t.dragEl.sortHandleOpen=!1,this.calciteListDragStart.emit(t)}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){this.parentListEl=this.el.parentElement?.closest(g)}handleDefaultSlotChange(t){B(t.target),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()}setListItemGroups(){this.listItemGroups=Array.from(this.el.querySelectorAll(v))}handleFilterActionsStartSlotChange(t){this.hasFilterActionsStart=b(t)}handleFilterActionsEndSlotChange(t){this.hasFilterActionsEnd=b(t)}handleFilterNoResultsSlotChange(t){this.hasFilterNoResults=b(t)}setActiveListItem(){let{focusableItems:t}=this;t.some(e=>e.active)||t[0]&&(t[0].active=!0)}async updateSelectedItems(t=!1){await this.updateComplete,this.selectedItems=this.visibleItems.filter(e=>e.selected),t&&this.calciteListChange.emit()}filterElements({el:t,filteredItems:e,visibleParents:i}){let l=!i.has(t)&&!e.includes(t);t.filterHidden=l;let s=t.parentElement.closest(W);s&&(l||i.add(s),this.filterElements({el:s,filteredItems:e,visibleParents:i}))}allParentListItemsExpanded(t){let e=t.parentElement?.closest(m);if(e){if(!e.expanded)return!1}else return!0;return this.allParentListItemsExpanded(e)}borderItems(){let t=this.visibleItems.filter(e=>!e.filterHidden&&this.allParentListItemsExpanded(e));t.forEach(e=>e.bordered=e!==t[t.length-1])}updateFilteredItems(){let{visibleItems:t,filteredData:e,filterText:i,filterPredicate:l}=this,s=t?.filter(r=>t.every(c=>c===r||!r.contains(c))),n=l?t.filter(l):i?e.map(r=>r.el):t||[],a=new WeakSet;s.forEach(r=>this.filterElements({el:r,filteredItems:n,visibleParents:a})),this.filteredItems=n,this.willFilterEmit&&(this.willFilterEmit=!1,this.calciteListFilter.emit())}updateFilteredData(){let{filterEl:t}=this;t&&(t.filteredItems&&(this.filteredData=t.filteredItems),this.updateListItems())}async filterAndUpdateData(){await this.filterEl?.filter(this.filterText),this.updateFilteredData()}get effectiveFilterProps(){return this.filterProps?this.filterProps.filter(t=>t!=="el"):["description","label","metadata","heading"]}performFilter(){let{filterEl:t,filterText:e,effectiveFilterProps:i}=this;t&&(t.value=e,t.filterProps=i,this.filterAndUpdateData())}setFilterEl(t){this.filterEl=t,this.performFilter()}handleFilterChange(t){t.stopPropagation();let{value:e}=t.currentTarget;this.filterText=e,this.willFilterEmit=!0,this.updateFilteredData()}getItemData(){return this.listItems.map(t=>({label:t.label,description:t.description,metadata:t.metadata,heading:this.getGroupHeading(t),el:t}))}getGroupHeading(t){return this.listItemGroups.filter(i=>i.contains(t)).map(i=>i.heading)}updateGroupItems(){let{el:t,group:e,scale:i}=this,l=M(t),s=e?Array.from(l.querySelectorAll(`${g}[group="${e}"]`)).filter(a=>!a.disabled&&a.dragEnabled):[];this.moveToItems=s.map(a=>({element:a,label:a.label??a.id,id:k()})),Array.from(this.el.querySelectorAll(v)).forEach(a=>{a.scale=i})}focusRow(t){let{focusableItems:e}=this;t&&(e.forEach(i=>i.active=i===t),t.setFocus())}isNavigable(t){let e=t.parentElement?.closest(m);return e?e.expanded&&this.isNavigable(e):!0}handleListKeydown(t){if(t.defaultPrevented||this.parentListEl)return;let{key:e}=t,i=this.focusableItems.filter(s=>this.isNavigable(s)),l=i.findIndex(s=>s.active);if(e==="ArrowDown"){t.preventDefault();let s=t.target===this.filterEl?0:l+1;i[s]&&this.focusRow(i[s])}else if(e==="ArrowUp"){if(t.preventDefault(),l===0&&this.filterEnabled){this.filterEl?.setFocus();return}let s=l-1;i[s]&&this.focusRow(i[s])}else if(e==="Home"){t.preventDefault();let s=i[0];s&&this.focusRow(s)}else if(e==="End"){t.preventDefault();let s=i[i.length-1];s&&this.focusRow(s)}}handleInteractionModeWarning(){this.interactionMode==="static"&&this.selectionMode!=="none"&&this.selectionAppearance==="border"&&console.warn('selection-appearance="border" requires interaction-mode="interactive"')}handleMove(t){let{moveTo:e}=t.detail,i=t.target,l=i?.parentElement,s=e.element,a=Array.from(l.children).filter(L).indexOf(i),r=0;if(l){if(l.canPull?.({toEl:s,fromEl:l,dragEl:i,newIndex:r,oldIndex:a})===!1){this.calciteListMoveHalt.emit({toEl:s,fromEl:l,dragEl:i,oldIndex:a,newIndex:r});return}if(s.canPut?.({toEl:s,fromEl:l,dragEl:i,newIndex:r,oldIndex:a})===!1){s.putFailed({toEl:s,fromEl:l,dragEl:i,oldIndex:a,newIndex:r});return}i.sortHandleOpen=!1,this.disconnectObserver(),s.prepend(i),z(i),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:i,fromEl:l,toEl:s,newIndex:r,oldIndex:a})}}handleReorder(t){let{reorder:e}=t.detail,i=t.target,l=i?.parentElement;if(!l)return;i.sortHandleOpen=!1;let s=Array.from(l.children).filter(L),n=s.length-1,a=s.indexOf(i),r=a;switch(e){case"top":r=0;break;case"bottom":r=n;break;case"up":r=a===0?0:a-1;break;case"down":r=a===n?n:a+1;break}this.disconnectObserver();let c=e==="up"||e==="top"?s[r]:s[r].nextSibling;l.insertBefore(i,c),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:i,fromEl:l,toEl:l,newIndex:r,oldIndex:a})}render(){let{loading:t,label:e,disabled:i,dataForFilter:l,filterEnabled:s,filterPlaceholder:n,filterText:a,filterLabel:r,hasFilterActionsStart:c,hasFilterActionsEnd:p,effectiveFilterProps:o}=this;return R({disabled:this.disabled,children:d`<div class=${h(u.container)}>${this.dragEnabled?d`<span aria-live=assertive class=${h(u.assistiveText)}>${this.assistiveText}</span>`:null}${this.renderItemAriaLive()}${t?d`<calcite-scrim class=${h(u.scrim)} .loading=${t}></calcite-scrim>`:null}<div .ariaBusy=${t} .ariaLabel=${e||""} class=${h(u.table)} @keydown=${this.handleListKeydown} role=treegrid>${s||c||p?d`<div class=${h(u.sticky)} role=rowgroup><div role=row><div role=columnheader><calcite-stack class=${h(u.stack)}><slot name=${F.filterActionsStart} @slotchange=${this.handleFilterActionsStartSlotChange} slot=${S.actionsStart}></slot><calcite-filter .ariaLabel=${n} .disabled=${i} .filterProps=${o} .items=${l} .label=${r} @calciteFilterChange=${this.handleFilterChange} .placeholder=${n} .scale=${this.scale} .value=${a} ${D(this.setFilterEl)}></calcite-filter><slot name=${F.filterActionsEnd} @slotchange=${this.handleFilterActionsEndSlotChange} slot=${S.actionsEnd}></slot></calcite-stack></div></div></div>`:null}<div class=${h(u.tableContainer)} role=rowgroup><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div><div aria-live=polite data-test-id=no-results-container .hidden=${!this.showNoResultsContainer}><slot name=${F.filterNoResults} @slotchange=${this.handleFilterNoResultsSlotChange}></slot></div></div>`})}renderItemAriaLive(){let{messages:t,filteredItems:e,parentListEl:i,messages:{_lang:l},numberingSystem:s}=this;return E.numberFormatOptions={locale:l,numberingSystem:s},i?null:d`<div aria-live=polite class=${h(u.assistiveText)}>${this.hasActiveFilter?I("aria-filter-enabled",d`<div>${t.filterEnabled}</div>`):null}${I("aria-item-count",d`<div>${t.total.replace("{count}",E.localize(e.length.toString()))}</div>`)}${e.length?I("aria-item-list",d`<ol>${e.map(n=>d`<li>${n.label}</li>`)}</ol>`):null}</div>`}};P("calcite-list",x);export{x as List};
@@ -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 n}from"./R3CUJDU2.js";import{B as o,K as c,e as t,g as s,x as i,y as l}from"./MZMZSY5A.js";var a={container:"container",selected:"selected"},d=t`:host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends i{constructor(){super(...arguments),this.guid=`calcite-carousel-item-${n()}`,this.selected=!1}static{this.properties={label:1,selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=d}render(){let r=this.el.id||this.guid;return o(this.el,"id",r),s`<div .ariaLabel=${this.label} class=${l({[a.container]:!0,[a.selected]:this.selected})} role=tabpanel><slot></slot></div>`}};c("calcite-carousel-item",e);export{e as CarouselItem};
3
+ v3.2.0-next.40 */
4
+ import{a as n}from"./6DCGXB5R.js";import{B as o,K as c,e as t,g as s,x as i,y as l}from"./EYWRTO2E.js";var a={container:"container",selected:"selected"},d=t`:host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends i{constructor(){super(...arguments),this.guid=`calcite-carousel-item-${n()}`,this.selected=!1}static{this.properties={label:1,selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=d}render(){let r=this.el.id||this.guid;return o(this.el,"id",r),s`<div .ariaLabel=${this.label} class=${l({[a.container]:!0,[a.selected]:this.selected})} role=tabpanel><slot></slot></div>`}};c("calcite-carousel-item",e);export{e as CarouselItem};
@@ -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 r,n as s,o as i,s as o}from"./MZMZSY5A.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
3
+ v3.2.0-next.40 */
4
+ import{k as r,n as s,o as i,s as o}from"./EYWRTO2E.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.39 */
3
+ v3.2.0-next.40 */
4
4
  var e={actionsEnd:"actions-end",actionsStart:"actions-start",description:"description",close:"close",container:"container",containerHover:"container--hover",containerBorder:"container--border",containerBorderSelected:"container--border-selected",containerBorderUnselected:"container--border-unselected",content:"content",contentBottom:"content-bottom",contentContainer:"content-container",contentContainerHasCenterContent:"content-container--has-center-content",contentContainerSelectable:"content-container--selectable",contentContainerUnavailable:"content-container--unavailable",contentContainerWrapper:"content-container-wrapper",contentContainerWrapperBordered:"content-container-wrapper--bordered",contentEnd:"content-end",contentStart:"content-start",customContent:"custom-content",expandedContainer:"expanded-container",dragContainer:"drag-container",gridCell:"grid-cell",icon:"icon",nestedContainer:"nested-container",nestedContainerExpanded:"nested-container--expanded",label:"label",row:"row",selectionContainer:"selection-container",selectionContainerSingle:"selection-container--single",wrapper:"wrapper",wrapperBordered:"wrapper--bordered"},n={actionsStart:"actions-start",contentStart:"content-start",content:"content",contentBottom:"content-bottom",contentEnd:"content-end",actionsEnd:"actions-end"},t=0,o={selectedMultiple:"check-square-f",selectedSingle:"circle-inset-large",unselectedMultiple:"square",unselectedSingle:"circle",collapsedLTR:"chevron-right",collapsedRTL:"chevron-left",open:"chevron-down",blank:"blank",close:"x"},c="data-test-active";export{e as a,n as b,t as c,o as d,c as e};
@@ -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 F}from"./LZ3V33XC.js";import{j as $}from"./7CQ233AJ.js";import{a as E}from"./HBU463EW.js";import{a as c}from"./GZUOSY5I.js";import"./GTUVAAAD.js";import{a as A}from"./24OTRUCC.js";import{b as k}from"./U2YGN4RT.js";import{n as x,p as w,u as z}from"./LLN5DNPL.js";import{a as d,d as T}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{C,K as y,e as b,g as a,w as l,x as v,y as o}from"./MZMZSY5A.js";var u={slow:14e3,medium:1e4,fast:6e3},r={actionsEnd:"actions-end",title:"title",message:"message",link:"link"},s={actionsEnd:"actions-end",close:"close",container:"container",containerActive:"container--active",dismissProgress:"dismiss-progress",icon:"icon",containerEmbedded:"container--embedded",queueCount:"queue-count",queueCountActive:"queue-count--active",textContainer:"text-container",focused:"focused"},D=300,h=class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(e){let{registeredElements:t}=this;if(!t.includes(e)){switch(e.queue){case"immediate":t.unshift(e);break;case"next":t.splice(1,0,e);break;case"last":t.push(e);break}this.updateAlerts()}}unregisterElement(e){let{registeredElements:t}=this,i=t.indexOf(e);i!==-1&&t.splice(i,1),e.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach((e,t)=>{e.openAlertCount=this.registeredElements.length,t===0?this.queueTimeoutId=window.setTimeout(()=>e.active=!0,D):e.active=!1})}},H=b`:host{display:block;inline-size:var(--calcite-alert-width)}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:min-content;align-items:center;justify-content:center;text-align:start;opacity:0;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-alert-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));background-color:var(--calcite-alert-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);max-inline-size:calc(100% - var(--calcite-alert-offset-size, 2rem) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0,var(--calcite-alert-offset-size, 2rem),0);inset-block-end:var(--calcite-alert-offset-size, 2rem)}.container[class*=top]{transform:translate3d(0,calc(-1 * var(--calcite-alert-offset-size, 2rem)),0);inset-block-start:var(--calcite-alert-offset-size, 2rem)}.container[class*=start]{inset-inline-start:var(--calcite-alert-offset-size, 2rem);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-offset-size, 2rem);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;margin-block:auto;margin-inline-end:auto}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;border-start-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-end-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));outline-color:transparent}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:hover,.close:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-color-transparent-tint);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:.5rem}:host([scale=s]) .container{--calcite-internal-alert-min-height: 3.5rem;inline-size:var(--calcite-alert-width, 40em)}:host([scale=s]) .close{padding:.75rem}:host([scale=s]) .icon{padding-inline-start:.75rem}:host([scale=s]) .text-container{padding-block:.5rem;padding-inline:.75rem .5rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:.75rem}:host([scale=m]) .container{--calcite-internal-alert-min-height: 4.1875rem;inline-size:var(--calcite-alert-width, 50em)}:host([scale=m]) .close{padding:1rem}:host([scale=m]) .icon{padding-inline-start:1rem}:host([scale=m]) .text-container{padding-block:.75rem;padding-inline:1rem .75rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-internal-alert-min-height: 5.625rem;inline-size:var(--calcite-alert-width, 60em)}:host([scale=l]) .close{padding:1.25rem}:host([scale=l]) .icon{padding-inline-start:1.25rem}:host([scale=l]) .text-container{padding-block:1rem;padding-inline:1.25rem 1rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0,calc(-1 * var(--calcite-alert-offset-size, 2rem)),inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0,var(--calcite-alert-offset-size, 2rem),inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);margin-inline-end:.5rem;color:var(--calcite-color-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6s ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10s ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14s ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:.75}to{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}`,n=new h,m=class extends v{constructor(){super(...arguments),this.autoCloseTimeoutId=null,this.transitionProp="opacity",this.totalHoverTime=0,this.totalOpenTime=0,this.hasEndActions=!1,this.isFocused=!1,this.numberStringFormatter=new $,this.active=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.iconFlipRtl=!1,this.kind="brand",this.messages=A(),this.open=!1,this.openAlertCount=0,this.placement="bottom",this.queue="last",this.scale="m",this.calciteAlertBeforeClose=l({cancelable:!1}),this.calciteAlertBeforeOpen=l({cancelable:!1}),this.calciteAlertClose=l({cancelable:!1}),this.calciteAlertOpen=l({cancelable:!1})}static{this.properties={hasEndActions:[16,{state:!0}],isFocused:[16,{state:!0}],numberStringFormatter:[16,{state:!0}],active:[5,{type:Boolean}],autoClose:[7,{reflect:!0,type:Boolean}],autoCloseDuration:[3,{reflect:!0}],embedded:[5,{type:Boolean}],icon:[3,{reflect:!0,converter:C}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],label:1,messageOverrides:[0,{attribute:!1}],numberingSystem:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],openAlertCount:[9,{type:Number}],placement:[3,{reflect:!0}],queue:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=H}async setFocus(){await T(this),x(this.el)}connectedCallback(){super.connectedCallback(),this.open&&n.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"always"}}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("active")&&(this.hasUpdated||this.active!==!1)&&this.handleActiveChange(),e.has("autoCloseDuration")&&(this.hasUpdated||this.autoCloseDuration!=="medium")&&this.updateDuration(),e.has("queue")&&(this.hasUpdated||this.queue!=="last")&&this.handleQueueChange(),e.has("numberingSystem")&&this.numberingSystemChange(),e.has("messages")&&this.effectiveLocaleChange()}disconnectedCallback(){super.disconnectedCallback(),n.unregisterElement(this.el),this.clearAutoCloseTimeout(),this.embedded=!1}handleActiveChange(){E(this),this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout(()=>this.closeAlert(),u[this.autoCloseDuration]))}openHandler(){this.open?n.registerElement(this.el):n.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout(()=>this.closeAlert(),u[this.autoCloseDuration]))}handleQueueChange(){this.open&&(n.unregisterElement(this.el),n.registerElement(this.el))}handleKeyBoardFocus(){this.isFocused=!0,this.handleFocus()}handleKeyBoardBlur(){this.isFocused=!1,this.isHovered||this.handleBlur()}effectiveLocaleChange(){this.numberStringFormatter.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}setTransitionEl(e){e&&(this.transitionEl=e)}closeAlert(){this.open=!1,this.clearAutoCloseTimeout()}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}actionsEndSlotChangeHandler(e){this.hasEndActions=z(e)}handleMouseOver(){this.isHovered=!0,this.handleFocus()}handleMouseLeave(){this.isHovered=!1,this.isFocused||this.handleBlur()}handleFocus(){this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()}handleBlur(){let e=Date.now()-this.lastMouseOverBegin,t=u[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?e+this.totalHoverTime:e,this.autoCloseTimeoutId=window.setTimeout(()=>this.closeAlert(),t)}render(){let{open:e,autoClose:t,label:i,placement:q,active:f,openAlertCount:S}=this,O=t?"alert":"alertdialog",p=!e,g=w(F,this.icon,this.kind),I=S>1;return this.el.inert=p,this.el.ariaLabel=i,this.el.toggleAttribute("calcite-hydrated-hidden",p),this.el.role=O,a`<div class=${o({[s.container]:!0,[s.containerActive]:f,[`${s.container}--${q}`]:!0,[s.containerEmbedded]:this.embedded,[s.focused]:this.isFocused})} @pointerenter=${this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null} @pointerleave=${this.autoClose?this.handleMouseLeave:null} ${k(this.setTransitionEl)}>${g&&this.renderIcon(g)||""}<div class=${o(s.textContainer)} @focusin=${this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null} @focusout=${this.autoClose?this.handleKeyBoardBlur:null}><slot name=${r.title}></slot><slot name=${r.message}></slot><slot name=${r.link}></slot></div>${this.renderActionsEnd()}${I?this.renderQueueCount():null}${this.renderCloseButton()}${e&&f&&t?a`<div class=${o(s.dismissProgress)}></div>`:null}</div>`}renderCloseButton(){return c("close",a`<button .ariaLabel=${this.messages.close} class=${o(s.close)} @click=${this.closeAlert} @focusin=${this.autoClose?this.handleKeyBoardFocus:null} @focusout=${this.autoClose?this.handleKeyBoardBlur:null} type=button><calcite-icon icon=x .scale=${d(this.scale)}></calcite-icon></button>`)}renderQueueCount(){let{openAlertCount:e}=this,t=e>2?e-1:1,i=this.numberStringFormatter.numberFormatter.format(t);return c("queue-count",a`<div class=${o({[s.queueCount]:!0,[s.queueCountActive]:e>1})}><calcite-chip .label=${i} .scale=${this.scale} .value=${i}>${i}</calcite-chip></div>`)}renderActionsEnd(){return a`<div class=${o(s.actionsEnd)}><slot name=${r.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot></div>`}renderIcon(e){return a`<div class=${o(s.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon></div>`}};y("calcite-alert",m);export{m as Alert};
3
+ v3.2.0-next.40 */
4
+ import{a as F}from"./HNVOQW5F.js";import{j as $}from"./XZK2I4C2.js";import{a as E}from"./6JABLZT7.js";import{a as c}from"./PNGIMH3C.js";import"./VIJYQUPS.js";import{a as A}from"./7EKOSZOZ.js";import{b as k}from"./6P5PSH65.js";import{n as x,p as w,u as z}from"./4JEZM6VX.js";import{a as d,d as T}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{C,K as y,e as b,g as a,w as l,x as v,y as o}from"./EYWRTO2E.js";var u={slow:14e3,medium:1e4,fast:6e3},r={actionsEnd:"actions-end",title:"title",message:"message",link:"link"},s={actionsEnd:"actions-end",close:"close",container:"container",containerActive:"container--active",dismissProgress:"dismiss-progress",icon:"icon",containerEmbedded:"container--embedded",queueCount:"queue-count",queueCountActive:"queue-count--active",textContainer:"text-container",focused:"focused"},D=300,h=class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(e){let{registeredElements:t}=this;if(!t.includes(e)){switch(e.queue){case"immediate":t.unshift(e);break;case"next":t.splice(1,0,e);break;case"last":t.push(e);break}this.updateAlerts()}}unregisterElement(e){let{registeredElements:t}=this,i=t.indexOf(e);i!==-1&&t.splice(i,1),e.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach((e,t)=>{e.openAlertCount=this.registeredElements.length,t===0?this.queueTimeoutId=window.setTimeout(()=>e.active=!0,D):e.active=!1})}},H=b`:host{display:block;inline-size:var(--calcite-alert-width)}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:min-content;align-items:center;justify-content:center;text-align:start;opacity:0;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-alert-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));background-color:var(--calcite-alert-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);max-inline-size:calc(100% - var(--calcite-alert-offset-size, 2rem) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0,var(--calcite-alert-offset-size, 2rem),0);inset-block-end:var(--calcite-alert-offset-size, 2rem)}.container[class*=top]{transform:translate3d(0,calc(-1 * var(--calcite-alert-offset-size, 2rem)),0);inset-block-start:var(--calcite-alert-offset-size, 2rem)}.container[class*=start]{inset-inline-start:var(--calcite-alert-offset-size, 2rem);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-offset-size, 2rem);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;margin-block:auto;margin-inline-end:auto}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;border-start-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-end-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));outline-color:transparent}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:hover,.close:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-color-transparent-tint);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:.5rem}:host([scale=s]) .container{--calcite-internal-alert-min-height: 3.5rem;inline-size:var(--calcite-alert-width, 40em)}:host([scale=s]) .close{padding:.75rem}:host([scale=s]) .icon{padding-inline-start:.75rem}:host([scale=s]) .text-container{padding-block:.5rem;padding-inline:.75rem .5rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:.75rem}:host([scale=m]) .container{--calcite-internal-alert-min-height: 4.1875rem;inline-size:var(--calcite-alert-width, 50em)}:host([scale=m]) .close{padding:1rem}:host([scale=m]) .icon{padding-inline-start:1rem}:host([scale=m]) .text-container{padding-block:.75rem;padding-inline:1rem .75rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-internal-alert-min-height: 5.625rem;inline-size:var(--calcite-alert-width, 60em)}:host([scale=l]) .close{padding:1.25rem}:host([scale=l]) .icon{padding-inline-start:1.25rem}:host([scale=l]) .text-container{padding-block:1rem;padding-inline:1.25rem 1rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0,calc(-1 * var(--calcite-alert-offset-size, 2rem)),inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0,var(--calcite-alert-offset-size, 2rem),inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);margin-inline-end:.5rem;color:var(--calcite-color-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6s ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10s ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14s ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:.75}to{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}`,n=new h,m=class extends v{constructor(){super(...arguments),this.autoCloseTimeoutId=null,this.transitionProp="opacity",this.totalHoverTime=0,this.totalOpenTime=0,this.hasEndActions=!1,this.isFocused=!1,this.numberStringFormatter=new $,this.active=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.iconFlipRtl=!1,this.kind="brand",this.messages=A(),this.open=!1,this.openAlertCount=0,this.placement="bottom",this.queue="last",this.scale="m",this.calciteAlertBeforeClose=l({cancelable:!1}),this.calciteAlertBeforeOpen=l({cancelable:!1}),this.calciteAlertClose=l({cancelable:!1}),this.calciteAlertOpen=l({cancelable:!1})}static{this.properties={hasEndActions:[16,{state:!0}],isFocused:[16,{state:!0}],numberStringFormatter:[16,{state:!0}],active:[5,{type:Boolean}],autoClose:[7,{reflect:!0,type:Boolean}],autoCloseDuration:[3,{reflect:!0}],embedded:[5,{type:Boolean}],icon:[3,{reflect:!0,converter:C}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],label:1,messageOverrides:[0,{attribute:!1}],numberingSystem:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],openAlertCount:[9,{type:Number}],placement:[3,{reflect:!0}],queue:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=H}async setFocus(){await T(this),x(this.el)}connectedCallback(){super.connectedCallback(),this.open&&n.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"always"}}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("active")&&(this.hasUpdated||this.active!==!1)&&this.handleActiveChange(),e.has("autoCloseDuration")&&(this.hasUpdated||this.autoCloseDuration!=="medium")&&this.updateDuration(),e.has("queue")&&(this.hasUpdated||this.queue!=="last")&&this.handleQueueChange(),e.has("numberingSystem")&&this.numberingSystemChange(),e.has("messages")&&this.effectiveLocaleChange()}disconnectedCallback(){super.disconnectedCallback(),n.unregisterElement(this.el),this.clearAutoCloseTimeout(),this.embedded=!1}handleActiveChange(){E(this),this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout(()=>this.closeAlert(),u[this.autoCloseDuration]))}openHandler(){this.open?n.registerElement(this.el):n.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout(()=>this.closeAlert(),u[this.autoCloseDuration]))}handleQueueChange(){this.open&&(n.unregisterElement(this.el),n.registerElement(this.el))}handleKeyBoardFocus(){this.isFocused=!0,this.handleFocus()}handleKeyBoardBlur(){this.isFocused=!1,this.isHovered||this.handleBlur()}effectiveLocaleChange(){this.numberStringFormatter.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}setTransitionEl(e){e&&(this.transitionEl=e)}closeAlert(){this.open=!1,this.clearAutoCloseTimeout()}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}actionsEndSlotChangeHandler(e){this.hasEndActions=z(e)}handleMouseOver(){this.isHovered=!0,this.handleFocus()}handleMouseLeave(){this.isHovered=!1,this.isFocused||this.handleBlur()}handleFocus(){this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()}handleBlur(){let e=Date.now()-this.lastMouseOverBegin,t=u[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?e+this.totalHoverTime:e,this.autoCloseTimeoutId=window.setTimeout(()=>this.closeAlert(),t)}render(){let{open:e,autoClose:t,label:i,placement:q,active:f,openAlertCount:S}=this,O=t?"alert":"alertdialog",p=!e,g=w(F,this.icon,this.kind),I=S>1;return this.el.inert=p,this.el.ariaLabel=i,this.el.toggleAttribute("calcite-hydrated-hidden",p),this.el.role=O,a`<div class=${o({[s.container]:!0,[s.containerActive]:f,[`${s.container}--${q}`]:!0,[s.containerEmbedded]:this.embedded,[s.focused]:this.isFocused})} @pointerenter=${this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null} @pointerleave=${this.autoClose?this.handleMouseLeave:null} ${k(this.setTransitionEl)}>${g&&this.renderIcon(g)||""}<div class=${o(s.textContainer)} @focusin=${this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null} @focusout=${this.autoClose?this.handleKeyBoardBlur:null}><slot name=${r.title}></slot><slot name=${r.message}></slot><slot name=${r.link}></slot></div>${this.renderActionsEnd()}${I?this.renderQueueCount():null}${this.renderCloseButton()}${e&&f&&t?a`<div class=${o(s.dismissProgress)}></div>`:null}</div>`}renderCloseButton(){return c("close",a`<button .ariaLabel=${this.messages.close} class=${o(s.close)} @click=${this.closeAlert} @focusin=${this.autoClose?this.handleKeyBoardFocus:null} @focusout=${this.autoClose?this.handleKeyBoardBlur:null} type=button><calcite-icon icon=x .scale=${d(this.scale)}></calcite-icon></button>`)}renderQueueCount(){let{openAlertCount:e}=this,t=e>2?e-1:1,i=this.numberStringFormatter.numberFormatter.format(t);return c("queue-count",a`<div class=${o({[s.queueCount]:!0,[s.queueCountActive]:e>1})}><calcite-chip .label=${i} .scale=${this.scale} .value=${i}>${i}</calcite-chip></div>`)}renderActionsEnd(){return a`<div class=${o(s.actionsEnd)}><slot name=${r.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot></div>`}renderIcon(e){return a`<div class=${o(s.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon></div>`}};y("calcite-alert",m);export{m as Alert};
@@ -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 x}from"./DTAEBKT4.js";import{a as k}from"./24OTRUCC.js";import{a as f,b as m}from"./U2YGN4RT.js";import{d as v}from"./POGNNNSN.js";import{a as g}from"./QJN3Y7KP.js";import{K as p,e as d,g as h,k as s,w as l,x as u,y as b}from"./MZMZSY5A.js";var C={handle:"handle",handleSelected:"handle--selected"},H={drag:"drag"},i={itemLabel:"{itemLabel}",position:"{position}",total:"{total}"},S=d`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:.75rem;padding-inline:.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([disabled])) .handle: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))));color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-color-foreground-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends u{constructor(){super(...arguments),this.handleButton=f(),this.blurUnselectDisabled=!1,this.disabled=!1,this.messages=k({blocking:!0}),this.selected=!1,this.calciteHandleChange=l({cancelable:!1}),this.calciteHandleNudge=l({cancelable:!1}),this.calciteInternalAssistiveTextChange=l({cancelable:!1})}static{this.properties={blurUnselectDisabled:[5,{type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],dragHandle:[3,{reflect:!0}],label:1,messageOverrides:[0,{attribute:!1}],selected:[7,{reflect:!0,type:Boolean}],setPosition:[9,{type:Number}],setSize:[9,{type:Number}]}}static{this.styles=S}async setFocus(){await v(this),this.handleButton.value?.focus()}willUpdate(e){(e.has("messages")||e.has("label")||e.has("selected")&&(this.hasUpdated||this.selected!==!1)||e.has("setPosition")||e.has("setSize"))&&this.handleAriaTextChange()}updated(){y(this)}loaded(){g.deprecated("component",{name:"handle",removalVersion:4,suggested:"sort-handle"})}handleAriaTextChange(){let e=this.getAriaText("live");e&&this.calciteInternalAssistiveTextChange.emit({message:e})}getTooltip(){let{label:e,messages:t}=this;return t?e?t.dragHandle.replace(i.itemLabel,e):t.dragHandleUntitled:""}getAriaText(e){let{setPosition:t,setSize:r,label:c,messages:a,selected:n}=this;return!a||!c||typeof r!="number"||typeof t!="number"?null:(e==="label"?n?a.dragHandleChange:a.dragHandleIdle:n?a.dragHandleActive:a.dragHandleCommit).replace(i.position,t.toString()).replace(i.itemLabel,c).replace(i.total,r.toString())}handleKeyDown(e){if(!this.disabled)switch(e.key){case" ":this.selected=!this.selected,this.calciteHandleChange.emit(),e.preventDefault();break;case"ArrowUp":if(!this.selected)return;e.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.selected)return;e.preventDefault(),this.calciteHandleNudge.emit({direction:"down"});break}}handleBlur(){this.blurUnselectDisabled||this.disabled||this.selected&&(this.selected=!1,this.calciteHandleChange.emit())}render(){return x({disabled:this.disabled,children:h`<span .ariaChecked=${this.disabled?null:this.selected} .ariaDisabled=${this.disabled?this.disabled:null} .ariaLabel=${this.disabled?null:this.getAriaText("label")} class=${b({[C.handle]:!0,[C.handleSelected]:!this.disabled&&this.selected})} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled?null:0)??s} title=${this.getTooltip()??s} ${m(this.handleButton)}><calcite-icon .icon=${H.drag} scale=s></calcite-icon></span>`})}};p("calcite-handle",o);export{o as Handle};
3
+ v3.2.0-next.40 */
4
+ import{a as y,b as x}from"./KOH7CJJ2.js";import{a as k}from"./7EKOSZOZ.js";import{a as f,b as m}from"./6P5PSH65.js";import{d as v}from"./VOMFC6A5.js";import{a as g}from"./PB3OJ43M.js";import{K as p,e as d,g as h,k as s,w as l,x as u,y as b}from"./EYWRTO2E.js";var C={handle:"handle",handleSelected:"handle--selected"},H={drag:"drag"},i={itemLabel:"{itemLabel}",position:"{position}",total:"{total}"},S=d`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:.75rem;padding-inline:.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([disabled])) .handle: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))));color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-color-foreground-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends u{constructor(){super(...arguments),this.handleButton=f(),this.blurUnselectDisabled=!1,this.disabled=!1,this.messages=k({blocking:!0}),this.selected=!1,this.calciteHandleChange=l({cancelable:!1}),this.calciteHandleNudge=l({cancelable:!1}),this.calciteInternalAssistiveTextChange=l({cancelable:!1})}static{this.properties={blurUnselectDisabled:[5,{type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],dragHandle:[3,{reflect:!0}],label:1,messageOverrides:[0,{attribute:!1}],selected:[7,{reflect:!0,type:Boolean}],setPosition:[9,{type:Number}],setSize:[9,{type:Number}]}}static{this.styles=S}async setFocus(){await v(this),this.handleButton.value?.focus()}willUpdate(e){(e.has("messages")||e.has("label")||e.has("selected")&&(this.hasUpdated||this.selected!==!1)||e.has("setPosition")||e.has("setSize"))&&this.handleAriaTextChange()}updated(){y(this)}loaded(){g.deprecated("component",{name:"handle",removalVersion:4,suggested:"sort-handle"})}handleAriaTextChange(){let e=this.getAriaText("live");e&&this.calciteInternalAssistiveTextChange.emit({message:e})}getTooltip(){let{label:e,messages:t}=this;return t?e?t.dragHandle.replace(i.itemLabel,e):t.dragHandleUntitled:""}getAriaText(e){let{setPosition:t,setSize:r,label:c,messages:a,selected:n}=this;return!a||!c||typeof r!="number"||typeof t!="number"?null:(e==="label"?n?a.dragHandleChange:a.dragHandleIdle:n?a.dragHandleActive:a.dragHandleCommit).replace(i.position,t.toString()).replace(i.itemLabel,c).replace(i.total,r.toString())}handleKeyDown(e){if(!this.disabled)switch(e.key){case" ":this.selected=!this.selected,this.calciteHandleChange.emit(),e.preventDefault();break;case"ArrowUp":if(!this.selected)return;e.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.selected)return;e.preventDefault(),this.calciteHandleNudge.emit({direction:"down"});break}}handleBlur(){this.blurUnselectDisabled||this.disabled||this.selected&&(this.selected=!1,this.calciteHandleChange.emit())}render(){return x({disabled:this.disabled,children:h`<span .ariaChecked=${this.disabled?null:this.selected} .ariaDisabled=${this.disabled?this.disabled:null} .ariaLabel=${this.disabled?null:this.getAriaText("label")} class=${b({[C.handle]:!0,[C.handleSelected]:!this.disabled&&this.selected})} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled?null:0)??s} title=${this.getTooltip()??s} ${m(this.handleButton)}><calcite-icon .icon=${H.drag} scale=s></calcite-icon></span>`})}};p("calcite-handle",o);export{o as Handle};
@@ -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 m}from"./7CQ233AJ.js";import"./GTUVAAAD.js";import{a as I}from"./24OTRUCC.js";import{a as u,b as h}from"./U2YGN4RT.js";import{c as g}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import{K as E,e as z,g as o,k as x,l as T,w as b,x as A,y as c}from"./MZMZSY5A.js";function L(){return navigator.userAgentData}function U(){if(!1)return"";let f=L();return f?.brands?f.brands.map(({brand:e,version:i})=>`${e}/${i}`).join(" "):navigator.userAgent}var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},S={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},D=z`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends A{constructor(){super(),this.paginationEl=u(),this.tableBodySlotEl=u(),this.tableFootSlotEl=u(),this.tableHeadSlotEl=u(),this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.bordered=!1,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.messages=I({blocking:!0}),this.numbered=!1,this.pageSize=0,this.scale="m",this._selectedItems=[],this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=b({cancelable:!1}),this.calciteTablePageChange=b({cancelable:!1}),this.calciteTableSelect=b({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:[16,{state:!0}],pageStartRow:[16,{state:!0}],readCellContentsToAT:[16,{state:!0}],selectedCount:[16,{state:!0}],bordered:[7,{reflect:!0,type:Boolean}],caption:1,groupSeparator:[7,{reflect:!0,type:Boolean}],interactionMode:[3,{reflect:!0}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[7,{reflect:!0,type:Boolean}],numberingSystem:[3,{reflect:!0}],pageSize:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],selectedItems:[32,{attribute:!1,readOnly:!0}],_selectedItems:[16,{state:!0}],selectionDisplay:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}],striped:[7,{reflect:!0,type:Boolean}]}}static{this.styles=D}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(U()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(!1),e.stopPropagation())}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,a=e.detail.destination,r=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),l=this.allRows?.filter(p=>!g(p)),R=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,$=t[t.length-1]?.positionAll,C=this.footRows[0]?.positionAll,F=l[l.length-1]?.positionAll,P=a==="next"&&s===R,M=a==="previous"&&s===C,O=a==="previous"&&s===y,k=a==="next"&&s===$,d;switch(a){case"first":d=0;break;case"last":d=F;break;case"next":d=P?y:k?C:s+1;break;case"previous":d=M?$:O?R:s-1;break}let v=this.allRows?.find(p=>p.positionAll===d)?.cellCount,B=i>v?v:i;d!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:B,rowPosition:d,destination:a,lastCell:r})}getSlottedRows(e){return e?.assignedElements({flatten:!0})?.filter(i=>i?.matches("calcite-table-row"))}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotEl.value)||[],i=this.getSlottedRows(this.tableBodySlotEl.value)||[],s=this.getSlottedRows(this.tableFootSlotEl.value)||[],a=[...e,...i,...s];e?.forEach(t=>{let l=e?.indexOf(t);t.rowType="head",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),i?.forEach(t=>{let l=i?.indexOf(t);t.rowType="body",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),s?.forEach(t=>{let l=s?.indexOf(t);t.rowType="foot",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),a?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let r=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=r,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=a,this.updateSelectedItems(),this.paginateRows()}handlePaginationChange(){let e=this.paginationEl.value?.startItem;this.pageStartRow=e||1,this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,s=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}async updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=this.selectionMode==="multiple"||e===i?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return m.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},m.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>g(t))?.length,i=this.localizeNumber(e?.toString()),a=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,r=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${a} .scale=${this.scale} .value=${a}>${a}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${r} .scale=${this.scale} title=${r??x} .value=${r}>${i}</calcite-chip>`||""}${this.selectedCount>0&&o`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${a} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${S.selectionActions}></slot></div></div>`}renderPaginationArea(){return o`<div class=${c(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${h(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${S.tableHeader} ${h(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${h(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${S.tableFooter} ${h(this.tableFootSlotEl)}></slot></tfoot>`}render(){return o`<div class=${c(n.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${c({[n.bordered]:this.bordered,[n.striped]:this.striped,[n.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":null} .ariaRowCount=${this.allRows?.length} class=${c({[n.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${h(e=>{e&&T(o`<caption class=${c(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};E("calcite-table",w);export{w as Table};
3
+ v3.2.0-next.40 */
4
+ import{k as m}from"./XZK2I4C2.js";import"./VIJYQUPS.js";import{a as I}from"./7EKOSZOZ.js";import{a as u,b as h}from"./6P5PSH65.js";import{c as g}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import{K as E,e as z,g as o,k as x,l as T,w as b,x as A,y as c}from"./EYWRTO2E.js";function L(){return navigator.userAgentData}function U(){if(!1)return"";let f=L();return f?.brands?f.brands.map(({brand:e,version:i})=>`${e}/${i}`).join(" "):navigator.userAgent}var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},S={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},D=z`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends A{constructor(){super(),this.paginationEl=u(),this.tableBodySlotEl=u(),this.tableFootSlotEl=u(),this.tableHeadSlotEl=u(),this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.bordered=!1,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.messages=I({blocking:!0}),this.numbered=!1,this.pageSize=0,this.scale="m",this._selectedItems=[],this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=b({cancelable:!1}),this.calciteTablePageChange=b({cancelable:!1}),this.calciteTableSelect=b({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:[16,{state:!0}],pageStartRow:[16,{state:!0}],readCellContentsToAT:[16,{state:!0}],selectedCount:[16,{state:!0}],bordered:[7,{reflect:!0,type:Boolean}],caption:1,groupSeparator:[7,{reflect:!0,type:Boolean}],interactionMode:[3,{reflect:!0}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[7,{reflect:!0,type:Boolean}],numberingSystem:[3,{reflect:!0}],pageSize:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],selectedItems:[32,{attribute:!1,readOnly:!0}],_selectedItems:[16,{state:!0}],selectionDisplay:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}],striped:[7,{reflect:!0,type:Boolean}]}}static{this.styles=D}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(U()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(!1),e.stopPropagation())}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,a=e.detail.destination,r=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),l=this.allRows?.filter(p=>!g(p)),R=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,$=t[t.length-1]?.positionAll,C=this.footRows[0]?.positionAll,F=l[l.length-1]?.positionAll,P=a==="next"&&s===R,M=a==="previous"&&s===C,O=a==="previous"&&s===y,k=a==="next"&&s===$,d;switch(a){case"first":d=0;break;case"last":d=F;break;case"next":d=P?y:k?C:s+1;break;case"previous":d=M?$:O?R:s-1;break}let v=this.allRows?.find(p=>p.positionAll===d)?.cellCount,B=i>v?v:i;d!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:B,rowPosition:d,destination:a,lastCell:r})}getSlottedRows(e){return e?.assignedElements({flatten:!0})?.filter(i=>i?.matches("calcite-table-row"))}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotEl.value)||[],i=this.getSlottedRows(this.tableBodySlotEl.value)||[],s=this.getSlottedRows(this.tableFootSlotEl.value)||[],a=[...e,...i,...s];e?.forEach(t=>{let l=e?.indexOf(t);t.rowType="head",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),i?.forEach(t=>{let l=i?.indexOf(t);t.rowType="body",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),s?.forEach(t=>{let l=s?.indexOf(t);t.rowType="foot",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),a?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let r=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=r,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=a,this.updateSelectedItems(),this.paginateRows()}handlePaginationChange(){let e=this.paginationEl.value?.startItem;this.pageStartRow=e||1,this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,s=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}async updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=this.selectionMode==="multiple"||e===i?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return m.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},m.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>g(t))?.length,i=this.localizeNumber(e?.toString()),a=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,r=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${a} .scale=${this.scale} .value=${a}>${a}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${r} .scale=${this.scale} title=${r??x} .value=${r}>${i}</calcite-chip>`||""}${this.selectedCount>0&&o`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${a} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${S.selectionActions}></slot></div></div>`}renderPaginationArea(){return o`<div class=${c(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${h(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${S.tableHeader} ${h(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${h(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${S.tableFooter} ${h(this.tableFootSlotEl)}></slot></tfoot>`}render(){return o`<div class=${c(n.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${c({[n.bordered]:this.bordered,[n.striped]:this.striped,[n.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":null} .ariaRowCount=${this.allRows?.length} class=${c({[n.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${h(e=>{e&&T(o`<caption class=${c(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};E("calcite-table",w);export{w as Table};
@@ -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 */