@esri/calcite-components 3.0.0-next.21 → 3.0.0-next.23

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 (383) hide show
  1. package/dist/calcite/{BMSID4CH.js → 24UHJGQY.js} +2 -2
  2. package/dist/calcite/{GEAJYYF5.js → 266CSZYJ.js} +2 -2
  3. package/dist/calcite/{DVFDTXWY.js → 2C3TFTOL.js} +8 -8
  4. package/dist/calcite/{GTKJFRYE.js → 2LDYXRQY.js} +1 -1
  5. package/dist/calcite/{VHD26DUJ.js → 2MBQ2YKO.js} +2 -2
  6. package/dist/calcite/{E3YLNMLV.js → 2NNA6YUP.js} +2 -2
  7. package/dist/calcite/{GOOI5T5E.js → 2ONKE32A.js} +2 -2
  8. package/dist/calcite/{NS4OOZNZ.js → 2RABALBG.js} +8 -8
  9. package/dist/calcite/{XJ5VFDAX.js → 2U6GYQP3.js} +1 -1
  10. package/dist/calcite/{YCX5S2BH.js → 366D77BP.js} +11 -11
  11. package/dist/calcite/{QBYQSY6D.js → 3QEWF6Z6.js} +9 -9
  12. package/dist/calcite/{QWI7TXTM.js → 3RBPGCVX.js} +2 -2
  13. package/dist/calcite/{ZWXXB5UP.js → 3W7XTPBR.js} +2 -2
  14. package/dist/calcite/{6NYCRFR3.js → 3WA6GQ4O.js} +2 -2
  15. package/dist/calcite/{PQE6VSH4.js → 3WFERHTQ.js} +8 -8
  16. package/dist/calcite/{QSHXWZGM.js → 4CBQYMY5.js} +8 -8
  17. package/dist/calcite/{64DK2BGV.js → 4GIYCOSQ.js} +2 -2
  18. package/dist/calcite/{O3JUF57A.js → 4HHIOETO.js} +2 -2
  19. package/dist/calcite/{3QWWUMGL.js → 4T3IGX4J.js} +9 -9
  20. package/dist/calcite/{VRHZ7HD5.js → 4W65ZUSP.js} +2 -2
  21. package/dist/calcite/{VFVMMHKA.js → 56KHTJS7.js} +2 -2
  22. package/dist/calcite/{6ZBYJJJC.js → 5L7RR475.js} +7 -7
  23. package/dist/calcite/{LERKT2LE.js → 5N4TBNMO.js} +2 -2
  24. package/dist/calcite/{IPU5ZU5L.js → 5P2LZ6GN.js} +7 -7
  25. package/dist/calcite/{V3AJQ36A.js → 5P6NLT52.js} +2 -2
  26. package/dist/calcite/{V4RHCMLP.js → 5PEDX5AY.js} +2 -2
  27. package/dist/calcite/{S2NFEAI2.js → 5PPS6LWR.js} +10 -10
  28. package/dist/calcite/{H7XXUZA2.js → 5RFJ6L6D.js} +10 -10
  29. package/dist/calcite/{2AOZZPWZ.js → 5UJE7TFX.js} +7 -7
  30. package/dist/calcite/{SMXUB24Y.js → 5VDTBEDM.js} +9 -9
  31. package/dist/calcite/{Y7Q2ZIKY.js → 66Q7MZ2Z.js} +10 -10
  32. package/dist/calcite/{57MM6QXN.js → 6DKDQGVF.js} +7 -7
  33. package/dist/calcite/{HPLOPRIA.js → 6GY3QHZU.js} +10 -10
  34. package/dist/calcite/{QKQMO2RP.js → 6HAOWBHC.js} +2 -2
  35. package/dist/calcite/{WRSV4HC4.js → 6LZ2UIWE.js} +12 -12
  36. package/dist/calcite/{J637JK4P.js → 6QF3MFWR.js} +10 -10
  37. package/dist/calcite/{2ODPQCOZ.js → 6U5ISBAI.js} +1 -1
  38. package/dist/calcite/{277ULXFC.js → 76HT6UAG.js} +8 -8
  39. package/dist/calcite/{MYAS72BO.js → 76WI7PIO.js} +8 -8
  40. package/dist/calcite/{GPDVRGZE.js → 7BHGTJGD.js} +7 -7
  41. package/dist/calcite/{2QNKKKYS.js → 7MLCQPEK.js} +2 -2
  42. package/dist/calcite/{B3E3EGRZ.js → 7QJYM3Y3.js} +2 -2
  43. package/dist/calcite/{Y4GVPC65.js → AC6N6LIO.js} +2 -2
  44. package/dist/calcite/{SBT6BKDC.js → AMANJSYP.js} +2 -2
  45. package/dist/calcite/{K5IXP7XO.js → BBPZYGUE.js} +2 -2
  46. package/dist/calcite/{DNXDVBL6.js → BGJW7KU3.js} +2 -2
  47. package/dist/calcite/{QJSYLVO6.js → BIFFSQRP.js} +2 -2
  48. package/dist/calcite/{XBUF6KQ4.js → BJ3LKVTY.js} +8 -8
  49. package/dist/calcite/{BYFU6J7Y.js → BJXGXMRI.js} +2 -2
  50. package/dist/calcite/{M73GRECF.js → BK7OIDDK.js} +8 -8
  51. package/dist/calcite/{FNFWNKPY.js → BMEAOPKE.js} +2 -2
  52. package/dist/calcite/{5M74BHO6.js → BMUTLTZO.js} +9 -9
  53. package/dist/calcite/{SGBXNXJT.js → BNUD3HPX.js} +2 -2
  54. package/dist/calcite/{6SVIFRZN.js → BQEGCEK5.js} +7 -7
  55. package/dist/calcite/{3U4XL2C4.js → BQMIGQSV.js} +21 -21
  56. package/dist/calcite/{WPZCZYE4.js → C5YAAJW6.js} +1 -1
  57. package/dist/calcite/{ZB6BFOK7.js → CJZSVOSR.js} +2 -2
  58. package/dist/calcite/{5ZBQ7GDS.js → CKAWSY2K.js} +2 -2
  59. package/dist/calcite/{FOXYV4AH.js → CMJYSQBY.js} +8 -8
  60. package/dist/calcite/{5OZRVUED.js → CQLGMVT6.js} +16 -16
  61. package/dist/calcite/{OJ3LSWH4.js → CQYE2KJX.js} +7 -7
  62. package/dist/calcite/{CHZGLVQA.js → CUP2AVPS.js} +2 -2
  63. package/dist/calcite/{4TO7XBO6.js → D7OUAG3W.js} +11 -11
  64. package/dist/calcite/{VT7PQVBM.js → DEURKSJT.js} +2 -2
  65. package/dist/calcite/{J4QLI5FE.js → DLRTJGHA.js} +2 -2
  66. package/dist/calcite/{DCTP5KNQ.js → DLVDPI6C.js} +10 -10
  67. package/dist/calcite/{O2CWCBU2.js → DVR62K77.js} +2 -2
  68. package/dist/calcite/{S5LVAJ45.js → E3TRBIQN.js} +7 -7
  69. package/dist/calcite/{DNIAJJSF.js → EISQGSOR.js} +2 -2
  70. package/dist/calcite/{ZMAFXZ2S.js → EKT7D764.js} +2 -2
  71. package/dist/calcite/{JDIXK7FL.js → EKVZQILU.js} +2 -2
  72. package/dist/calcite/{5X5L3UJJ.js → EMQYBB52.js} +2 -2
  73. package/dist/calcite/{76Y6M63P.js → EVAKUM5A.js} +1 -1
  74. package/dist/calcite/{FDBTMOJ7.js → F52WZZLB.js} +60 -48
  75. package/dist/calcite/{VW6HK2JZ.js → FFA3O6OV.js} +10 -10
  76. package/dist/calcite/{AUIO3SKT.js → FIMKO63F.js} +2 -2
  77. package/dist/calcite/{MU3QJI4G.js → FJCKAC7Y.js} +1 -1
  78. package/dist/calcite/{TC7BEYNW.js → FJRNODZM.js} +12 -12
  79. package/dist/calcite/{P4LI7MYL.js → FQBXOIG5.js} +2 -2
  80. package/dist/calcite/{JA2LSPNQ.js → FYQYJXUR.js} +12 -12
  81. package/dist/calcite/{PRDGGOPF.js → G72CWGFW.js} +2 -2
  82. package/dist/calcite/{TI7RXUEF.js → GHSADE7A.js} +2 -2
  83. package/dist/calcite/{6TG724PB.js → GJO6SYGH.js} +7 -7
  84. package/dist/calcite/{HT4P6FZL.js → GPHQYRPH.js} +10 -10
  85. package/dist/calcite/{TNYCLTZF.js → GPIJ4QO2.js} +1 -1
  86. package/dist/calcite/{2WHXMO6D.js → GSTEHFWM.js} +8 -8
  87. package/dist/calcite/{MMUIAERF.js → GTNNXUV3.js} +8 -8
  88. package/dist/calcite/{OET42IOF.js → GVA55PFG.js} +1 -1
  89. package/dist/calcite/{HLHW22S6.js → GWNWG7SD.js} +2 -2
  90. package/dist/calcite/{ASTW7DLC.js → GYBLPRM2.js} +29 -29
  91. package/dist/calcite/{2SRYVZ4T.js → H5EAIYUA.js} +14 -14
  92. package/dist/calcite/{WX5OUX2F.js → HFL5QFJH.js} +11 -11
  93. package/dist/calcite/{VYRF75V5.js → HMVHOA6B.js} +2 -2
  94. package/dist/calcite/{GJYDDB7O.js → HNW3OLD5.js} +18 -18
  95. package/dist/calcite/{4EGNLD7U.js → HSFKI5J6.js} +7 -7
  96. package/dist/calcite/{NFKRRKOY.js → I276HATE.js} +2 -2
  97. package/dist/calcite/{AE7G7FES.js → I4IHFVAI.js} +2 -2
  98. package/dist/calcite/{OFBDFCVM.js → I4XY6K3H.js} +7 -7
  99. package/dist/calcite/{YE3HP36O.js → IAZTTYMN.js} +8 -8
  100. package/dist/calcite/{JQ63WOJ7.js → IH62GKXK.js} +10 -10
  101. package/dist/calcite/{6GBJ4ARU.js → INTTBI2G.js} +8 -8
  102. package/dist/calcite/{N32E3UHH.js → ISMZR7LE.js} +2 -2
  103. package/dist/calcite/{OECVQHQR.js → IW5U7CDR.js} +9 -9
  104. package/dist/calcite/{3IL5ODH3.js → J7ES76D4.js} +1 -1
  105. package/dist/calcite/{QYTHPPVW.js → JAFT5Z6H.js} +9 -9
  106. package/dist/calcite/{PJMDOCL3.js → JCRIPN3I.js} +13 -13
  107. package/dist/calcite/{6M2MX27J.js → JHADTO7B.js} +13 -13
  108. package/dist/calcite/{V3DHR4H5.js → JLHPXX3F.js} +15 -15
  109. package/dist/calcite/{V7GUM56U.js → JM5AZIVZ.js} +13 -13
  110. package/dist/calcite/{Q7S7GJ7I.js → JNHF2EVV.js} +2 -2
  111. package/dist/calcite/{MNSPJTI6.js → JX6A7O6P.js} +10 -10
  112. package/dist/calcite/{7BB2RNB7.js → JZ2LJ5UR.js} +2 -2
  113. package/dist/calcite/{455DDR6Q.js → K5QQB6EB.js} +11 -11
  114. package/dist/calcite/{SFHVY3FG.js → KAP77V2S.js} +2 -2
  115. package/dist/calcite/{IINB6LOE.js → KCKOVEVB.js} +12 -12
  116. package/dist/calcite/{OMCQIHCZ.js → KF26WBTL.js} +2 -2
  117. package/dist/calcite/{LKCFCHDW.js → KIUN7ELA.js} +2 -2
  118. package/dist/calcite/{AXLR6GXC.js → KQRASMIK.js} +2 -2
  119. package/dist/calcite/{AD4LMMBD.js → L4ZHOUZW.js} +17 -17
  120. package/dist/calcite/{FJ6XC6FM.js → L6EEXXVB.js} +8 -8
  121. package/dist/calcite/{MSJOBGYB.js → LCH7DRUY.js} +2 -2
  122. package/dist/calcite/{PJ2WXXXB.js → LDAOTI73.js} +9 -9
  123. package/dist/calcite/{FIF2DKMK.js → LFHOUTTE.js} +2 -2
  124. package/dist/calcite/{T4XGB6WE.js → LHVPKWAU.js} +7 -7
  125. package/dist/calcite/{D3GMHPB4.js → LIJF2GH5.js} +10 -10
  126. package/dist/calcite/{UUFVOYFU.js → LMTKF4TF.js} +10 -10
  127. package/dist/calcite/{22EXZIPI.js → LS4KGNLS.js} +2 -2
  128. package/dist/calcite/{FQ55CXG4.js → LWPIWJ2O.js} +2 -2
  129. package/dist/calcite/{HHP6WFN4.js → LWWZXM6F.js} +8 -8
  130. package/dist/calcite/{FIS2NQW5.js → MAJMOFVC.js} +13 -13
  131. package/dist/calcite/{QNECKG7O.js → MMNTKXIL.js} +2 -2
  132. package/dist/calcite/{5NJIC7SE.js → MUYBP2YM.js} +2 -2
  133. package/dist/calcite/{Z3WBGSDJ.js → MWHEIU2A.js} +10 -10
  134. package/dist/calcite/{5PQM6QSU.js → MWRIGXE7.js} +1 -1
  135. package/dist/calcite/{4H5PD2T7.js → MXJ3PE5E.js} +15 -15
  136. package/dist/calcite/{MJFKJ6CY.js → MZCZ6U6W.js} +12 -12
  137. package/dist/calcite/{AVRU25LR.js → N6HIXVKF.js} +1 -1
  138. package/dist/calcite/{3S37ZXVX.js → NHB5TZX2.js} +15 -15
  139. package/dist/calcite/{4ROAOFHC.js → NKRPQYCQ.js} +2 -2
  140. package/dist/calcite/{WP2LL5SD.js → NPV6XGSE.js} +2 -2
  141. package/dist/calcite/{R3UHX6BJ.js → NQP2WNH6.js} +2 -2
  142. package/dist/calcite/{HHMCS63R.js → NZCF5UIC.js} +2 -2
  143. package/dist/calcite/{D4V7CSBI.js → OA55T7QR.js} +2 -2
  144. package/dist/calcite/{43CPEYQK.js → ODO4C3HF.js} +9 -9
  145. package/dist/calcite/{PHVHU3CX.js → OER7HWKE.js} +8 -8
  146. package/dist/calcite/{JINPJQ35.js → OH5VT63O.js} +2 -2
  147. package/dist/calcite/{DVN5CFHJ.js → OHAXHGZE.js} +7 -7
  148. package/dist/calcite/{ZSRRC5GT.js → OIE622QI.js} +1 -1
  149. package/dist/calcite/{7OUAOLNT.js → OKWOZJLB.js} +9 -9
  150. package/dist/calcite/{PP6EGX5M.js → ONRUNLOE.js} +2 -2
  151. package/dist/calcite/{RUIATQPJ.js → OSD4GTZY.js} +13 -13
  152. package/dist/calcite/{QJ5FDSYF.js → P4M45WEE.js} +1 -1
  153. package/dist/calcite/{4L6MDDWP.js → PJYRTQBN.js} +11 -11
  154. package/dist/calcite/{BIC3NBSP.js → PKXLFEU6.js} +2 -2
  155. package/dist/calcite/{ND4PQ27A.js → PLM3XFQZ.js} +7 -7
  156. package/dist/calcite/{CHOZ4QD7.js → PQUTU6E5.js} +7 -7
  157. package/dist/calcite/{MVOJXWOC.js → PT64LBPF.js} +2 -2
  158. package/dist/calcite/{B36YEJWR.js → PW374HVU.js} +2 -2
  159. package/dist/calcite/{I4J3M36L.js → PYPVPZXK.js} +10 -10
  160. package/dist/calcite/{ZFXLUZ74.js → Q2PCN6VR.js} +9 -9
  161. package/dist/calcite/{SI3ETC3D.js → Q3XOQCCH.js} +16 -16
  162. package/dist/calcite/{OF3L2U5X.js → QDTYI3ND.js} +7 -7
  163. package/dist/calcite/{CEGH6UIB.js → QJOP6RBO.js} +14 -14
  164. package/dist/calcite/{ORLXA6XZ.js → QP6OOHX3.js} +2 -2
  165. package/dist/calcite/{IDL4AA5V.js → QPERLN4Q.js} +10 -10
  166. package/dist/calcite/{ABQLYIFQ.js → QQ5KBFIW.js} +2 -2
  167. package/dist/calcite/{5H5I5VMF.js → QWDIFV5E.js} +2 -2
  168. package/dist/calcite/{4LZZ4BCC.js → R6FT4SEV.js} +2 -2
  169. package/dist/calcite/{I4DPD252.js → REFQN3B6.js} +10 -10
  170. package/dist/calcite/{52RJTOPX.js → RI3P6LDT.js} +1 -1
  171. package/dist/calcite/{PIZTDIGU.js → RIND63EQ.js} +2 -2
  172. package/dist/calcite/{TMKHJKXR.js → RKFKPUWH.js} +7 -7
  173. package/dist/calcite/{DYTTQ5X6.js → RPQCEHXL.js} +7 -7
  174. package/dist/calcite/{IN47GQOM.js → RUFASLHW.js} +9 -9
  175. package/dist/calcite/{CJSLTEBN.js → S7OJP54N.js} +2 -2
  176. package/dist/calcite/{XOU2CM7X.js → SCG2MB2V.js} +2 -2
  177. package/dist/calcite/{N37L34I4.js → SIMMN2NT.js} +7 -7
  178. package/dist/calcite/{YIPHYEKS.js → SXXLNHST.js} +8 -8
  179. package/dist/calcite/{R2V3BXPO.js → T22OMOYL.js} +8 -8
  180. package/dist/calcite/{5IRT4FGE.js → T2J2VFXM.js} +2 -2
  181. package/dist/calcite/{OVCNP5SQ.js → TIWIA3MH.js} +2 -2
  182. package/dist/calcite/{AGHLHOG6.js → U6AA7YA7.js} +8 -8
  183. package/dist/calcite/{XNHN4VCK.js → UKNRAEU5.js} +2 -2
  184. package/dist/calcite/{GFQ3BMJS.js → UM3JX247.js} +11 -11
  185. package/dist/calcite/{ABFUFIMB.js → VGGT3YKZ.js} +2 -2
  186. package/dist/calcite/{XMI65KU3.js → VJGIXCF5.js} +8 -8
  187. package/dist/calcite/{BXKB4ENX.js → VPNZGJNJ.js} +1 -1
  188. package/dist/calcite/{GMN3RSFV.js → VRHLKQZM.js} +9 -9
  189. package/dist/calcite/{75LH4454.js → VVUWOU7B.js} +2 -2
  190. package/dist/calcite/{ERO6LLWU.js → VWNQS2RS.js} +9 -9
  191. package/dist/calcite/{SACLZBJ3.js → VYA5IJGU.js} +7 -7
  192. package/dist/calcite/{LN3PWVZO.js → VZQ5MJZP.js} +2 -2
  193. package/dist/calcite/{335AW3HO.js → W6YVXZ7Z.js} +2 -2
  194. package/dist/calcite/{7ZJMB5PL.js → WEEZTEFE.js} +2 -2
  195. package/dist/calcite/{5TBRATUT.js → WK7P3UIZ.js} +2 -2
  196. package/dist/calcite/{YUAPZOE5.js → WOAUIDVY.js} +10 -10
  197. package/dist/calcite/{Z25QLLZH.js → WR3U6ABB.js} +10 -10
  198. package/dist/calcite/{XQDTJQA2.js → WV4GMTUT.js} +11 -11
  199. package/dist/calcite/{CYCWS2QS.js → X7FNK4SA.js} +1 -1
  200. package/dist/calcite/{EOFETL7T.js → XG6JHCSZ.js} +7 -7
  201. package/dist/calcite/XGH4UL7F.js +454 -0
  202. package/dist/calcite/{FSSFTA2A.js → XJHV3JRB.js} +2 -2
  203. package/dist/calcite/{HMO6BPQH.js → XM2VN6WF.js} +1 -1
  204. package/dist/calcite/{AZBWEQGL.js → XNXK7XT3.js} +1 -1
  205. package/dist/calcite/{67IL2ZZB.js → XPVFLMX3.js} +9 -9
  206. package/dist/calcite/{BB3IT5BG.js → XY5C6CRP.js} +2 -2
  207. package/dist/calcite/{J5IRSEXQ.js → XZMHPM4R.js} +7 -7
  208. package/dist/calcite/{IECZA2XT.js → YC5YA4NI.js} +1 -1
  209. package/dist/calcite/{ZG6CQJWF.js → YT4W5SKN.js} +1 -1
  210. package/dist/calcite/{BAVUSYRU.js → YTLTKTXK.js} +9 -9
  211. package/dist/calcite/{PEIJ6742.js → YWGWIRQY.js} +2 -2
  212. package/dist/calcite/{JVARADD7.js → Z2FRF4R3.js} +2 -2
  213. package/dist/calcite/{2QT7J7GM.js → Z3VH4VF4.js} +9 -9
  214. package/dist/calcite/{5L2SIX5C.js → ZBFN6DFV.js} +8 -8
  215. package/dist/calcite/{QKD3HZJH.js → ZNZC5KUO.js} +2 -2
  216. package/dist/calcite/{SHPU4IYL.js → ZZFJUMMN.js} +2 -2
  217. package/dist/calcite/calcite.css +14 -14
  218. package/dist/calcite/calcite.esm.js +17 -17
  219. package/dist/chunks/ExpandToggle.js +1 -1
  220. package/dist/chunks/FloatingArrow.js +1 -1
  221. package/dist/chunks/Heading.js +1 -1
  222. package/dist/chunks/Validation.js +1 -1
  223. package/dist/chunks/array.js +1 -1
  224. package/dist/chunks/component.js +1 -1
  225. package/dist/chunks/core.js +1 -1
  226. package/dist/chunks/date.js +1 -1
  227. package/dist/chunks/dom.js +1 -1
  228. package/dist/chunks/filter.js +1 -1
  229. package/dist/chunks/floating-ui.js +1 -1
  230. package/dist/chunks/focusTrapComponent.js +1 -1
  231. package/dist/chunks/form.js +1 -1
  232. package/dist/chunks/global.js +1 -1
  233. package/dist/chunks/guid.js +1 -1
  234. package/dist/chunks/input.js +1 -1
  235. package/dist/chunks/interactive.js +1 -1
  236. package/dist/chunks/key.js +1 -1
  237. package/dist/chunks/label.js +1 -1
  238. package/dist/chunks/loadable.js +1 -1
  239. package/dist/chunks/locale.js +1 -1
  240. package/dist/chunks/logger.js +1 -1
  241. package/dist/chunks/math.js +1 -1
  242. package/dist/chunks/observers.js +1 -1
  243. package/dist/chunks/openCloseComponent.js +1 -1
  244. package/dist/chunks/resources.js +1 -1
  245. package/dist/chunks/resources2.js +1 -1
  246. package/dist/chunks/resources3.js +3 -2
  247. package/dist/chunks/resources4.js +1 -1
  248. package/dist/chunks/resources5.js +1 -1
  249. package/dist/chunks/resources6.js +1 -1
  250. package/dist/chunks/resources7.js +1 -1
  251. package/dist/chunks/responsive.js +1 -1
  252. package/dist/chunks/runtime.js +4 -4
  253. package/dist/chunks/sortableComponent.js +1 -1
  254. package/dist/chunks/time.js +1 -1
  255. package/dist/chunks/useT9n.js +1 -1
  256. package/dist/chunks/utils.js +1 -1
  257. package/dist/chunks/utils2.js +1 -1
  258. package/dist/chunks/utils3.js +1 -1
  259. package/dist/chunks/utils4.js +1 -1
  260. package/dist/components/calcite-accordion/customElement.js +6 -6
  261. package/dist/components/calcite-accordion-item/customElement.js +6 -6
  262. package/dist/components/calcite-action/customElement.js +6 -6
  263. package/dist/components/calcite-action-bar/customElement.js +6 -6
  264. package/dist/components/calcite-action-group/customElement.js +6 -6
  265. package/dist/components/calcite-action-menu/customElement.js +6 -6
  266. package/dist/components/calcite-action-pad/customElement.js +6 -6
  267. package/dist/components/calcite-alert/customElement.js +6 -6
  268. package/dist/components/calcite-avatar/customElement.js +6 -6
  269. package/dist/components/calcite-block/customElement.d.ts +0 -2
  270. package/dist/components/calcite-block/customElement.js +6 -6
  271. package/dist/components/calcite-block-section/customElement.js +6 -6
  272. package/dist/components/calcite-button/customElement.js +6 -6
  273. package/dist/components/calcite-card/customElement.js +6 -6
  274. package/dist/components/calcite-card-group/customElement.js +6 -6
  275. package/dist/components/calcite-carousel/customElement.js +6 -6
  276. package/dist/components/calcite-carousel-item/customElement.js +6 -6
  277. package/dist/components/calcite-checkbox/customElement.js +6 -6
  278. package/dist/components/calcite-chip/customElement.js +6 -6
  279. package/dist/components/calcite-chip-group/customElement.js +6 -6
  280. package/dist/components/calcite-color-picker/customElement.js +6 -6
  281. package/dist/components/calcite-color-picker-hex-input/customElement.js +6 -6
  282. package/dist/components/calcite-color-picker-swatch/customElement.js +6 -6
  283. package/dist/components/calcite-combobox/customElement.js +6 -6
  284. package/dist/components/calcite-combobox-item/customElement.js +6 -6
  285. package/dist/components/calcite-combobox-item-group/customElement.js +6 -6
  286. package/dist/components/calcite-date-picker/customElement.js +6 -6
  287. package/dist/components/calcite-date-picker-day/customElement.js +6 -6
  288. package/dist/components/calcite-date-picker-month/customElement.js +6 -6
  289. package/dist/components/calcite-date-picker-month-header/customElement.js +6 -6
  290. package/dist/components/calcite-dialog/customElement.js +8 -8
  291. package/dist/components/calcite-dropdown/customElement.js +6 -6
  292. package/dist/components/calcite-dropdown-group/customElement.js +6 -6
  293. package/dist/components/calcite-dropdown-item/customElement.js +6 -6
  294. package/dist/components/calcite-fab/customElement.js +6 -6
  295. package/dist/components/calcite-filter/customElement.js +6 -6
  296. package/dist/components/calcite-flow/customElement.js +6 -6
  297. package/dist/components/calcite-flow-item/customElement.js +6 -6
  298. package/dist/components/calcite-graph/customElement.js +6 -6
  299. package/dist/components/calcite-handle/customElement.js +6 -6
  300. package/dist/components/calcite-icon/customElement.js +6 -6
  301. package/dist/components/calcite-inline-editable/customElement.js +6 -6
  302. package/dist/components/calcite-input/customElement.js +6 -6
  303. package/dist/components/calcite-input-date-picker/customElement.js +6 -6
  304. package/dist/components/calcite-input-message/customElement.js +6 -6
  305. package/dist/components/calcite-input-number/customElement.js +6 -6
  306. package/dist/components/calcite-input-text/customElement.js +6 -6
  307. package/dist/components/calcite-input-time-picker/customElement.js +6 -6
  308. package/dist/components/calcite-input-time-zone/customElement.js +6 -6
  309. package/dist/components/calcite-label/customElement.js +6 -6
  310. package/dist/components/calcite-link/customElement.js +6 -6
  311. package/dist/components/calcite-list/customElement.js +6 -6
  312. package/dist/components/calcite-list-item/customElement.js +6 -6
  313. package/dist/components/calcite-list-item-group/customElement.js +6 -6
  314. package/dist/components/calcite-loader/customElement.js +6 -6
  315. package/dist/components/calcite-menu/customElement.js +6 -6
  316. package/dist/components/calcite-menu-item/customElement.js +6 -6
  317. package/dist/components/calcite-meter/customElement.js +6 -6
  318. package/dist/components/calcite-modal/customElement.js +6 -6
  319. package/dist/components/calcite-navigation/customElement.js +6 -6
  320. package/dist/components/calcite-navigation-logo/customElement.js +6 -6
  321. package/dist/components/calcite-navigation-user/customElement.js +54 -42
  322. package/dist/components/calcite-notice/customElement.js +6 -6
  323. package/dist/components/calcite-option/customElement.js +6 -6
  324. package/dist/components/calcite-option-group/customElement.js +6 -6
  325. package/dist/components/calcite-pagination/customElement.js +6 -6
  326. package/dist/components/calcite-panel/customElement.js +76 -44
  327. package/dist/components/calcite-panel/resources.d.ts +1 -0
  328. package/dist/components/calcite-popover/customElement.js +6 -6
  329. package/dist/components/calcite-progress/customElement.js +6 -6
  330. package/dist/components/calcite-radio-button/customElement.d.ts +0 -6
  331. package/dist/components/calcite-radio-button/customElement.js +9 -11
  332. package/dist/components/calcite-radio-button-group/customElement.js +6 -6
  333. package/dist/components/calcite-rating/customElement.js +6 -6
  334. package/dist/components/calcite-scrim/customElement.js +6 -6
  335. package/dist/components/calcite-segmented-control/customElement.js +6 -6
  336. package/dist/components/calcite-segmented-control-item/customElement.js +6 -6
  337. package/dist/components/calcite-select/customElement.js +6 -6
  338. package/dist/components/calcite-sheet/customElement.js +6 -6
  339. package/dist/components/calcite-shell/customElement.js +6 -6
  340. package/dist/components/calcite-shell-center-row/customElement.js +6 -6
  341. package/dist/components/calcite-shell-panel/customElement.js +6 -6
  342. package/dist/components/calcite-slider/customElement.js +6 -6
  343. package/dist/components/calcite-sort-handle/customElement.js +6 -6
  344. package/dist/components/calcite-sortable-list/customElement.js +6 -6
  345. package/dist/components/calcite-split-button/customElement.js +6 -6
  346. package/dist/components/calcite-stack/customElement.js +6 -6
  347. package/dist/components/calcite-stepper/customElement.js +6 -6
  348. package/dist/components/calcite-stepper-item/customElement.js +6 -6
  349. package/dist/components/calcite-switch/customElement.js +6 -6
  350. package/dist/components/calcite-tab/customElement.js +6 -6
  351. package/dist/components/calcite-tab-nav/customElement.js +6 -6
  352. package/dist/components/calcite-tab-title/customElement.js +6 -6
  353. package/dist/components/calcite-table/customElement.js +6 -6
  354. package/dist/components/calcite-table-cell/customElement.js +6 -6
  355. package/dist/components/calcite-table-header/customElement.js +6 -6
  356. package/dist/components/calcite-table-row/customElement.js +6 -6
  357. package/dist/components/calcite-tabs/customElement.js +6 -6
  358. package/dist/components/calcite-text-area/customElement.js +6 -6
  359. package/dist/components/calcite-tile/customElement.js +6 -6
  360. package/dist/components/calcite-tile-group/customElement.js +6 -6
  361. package/dist/components/calcite-tile-select/customElement.js +6 -6
  362. package/dist/components/calcite-tile-select-group/customElement.js +6 -6
  363. package/dist/components/calcite-time-picker/customElement.js +6 -6
  364. package/dist/components/calcite-tip/customElement.js +6 -6
  365. package/dist/components/calcite-tip-group/customElement.js +6 -6
  366. package/dist/components/calcite-tip-manager/customElement.js +6 -6
  367. package/dist/components/calcite-tooltip/customElement.js +6 -6
  368. package/dist/components/calcite-tree/customElement.js +6 -6
  369. package/dist/components/calcite-tree-item/customElement.js +6 -6
  370. package/dist/custom-theme/navigation-user.d.ts +9 -0
  371. package/dist/docs/api.json +94 -43
  372. package/dist/docs/docs.json +117 -37
  373. package/dist/docs/vscode.css-custom-data.json +90 -6
  374. package/dist/docs/vscode.html-custom-data.json +2 -7
  375. package/dist/docs/web-types.json +93 -21
  376. package/dist/index.js +1 -1
  377. package/dist/loader.js +2 -2
  378. package/dist/types/lumina.d.ts +2 -2
  379. package/dist/types/preact.d.ts +2 -2
  380. package/dist/types/react.d.ts +2 -2
  381. package/dist/types/stencil.d.ts +2 -2
  382. package/package.json +3 -3
  383. package/dist/calcite/T6VH6X3V.js +0 -422
@@ -1,27 +1,27 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{a as f}from"./5NJIC7SE.js";import{a as u,b as g}from"./J4QLI5FE.js";import"./FSSFTA2A.js";import{a as h}from"./7BB2RNB7.js";import{a as p}from"./K5IXP7XO.js";import{z as m}from"./JDIXK7FL.js";import"./HMO6BPQH.js";import{A as i,M as d,a as e,w as l,y as s,z as c}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var t={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},y={close:"x"},T={thumbnail:"thumbnail"},$=l`/**
6
+ import{a as f}from"./MUYBP2YM.js";import{a as g,b as u}from"./DLRTJGHA.js";import"./XJHV3JRB.js";import{a as h}from"./JZ2LJ5UR.js";import{a as p}from"./BBPZYGUE.js";import{z as m}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as t,M as d,a as e,w as l,y as s,z as c}from"./EISQGSOR.js";import"./J7ES76D4.js";var i={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},y={close:"x"},T={thumbnail:"thumbnail"},$=l`/**
7
7
  * Do not edit directly
8
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
8
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
9
9
  */
10
10
  /**
11
11
  * Do not edit directly
12
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
12
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
13
13
  */
14
14
  /**
15
15
  * Do not edit directly
16
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
16
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
17
17
  */
18
18
  /**
19
19
  * Do not edit directly
20
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
20
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
21
21
  */
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
24
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
25
25
  */
26
26
  /* mixins & extensions */
27
27
  /* helper to properly scale internal durations */
@@ -135,24 +135,24 @@ import{a as f}from"./5NJIC7SE.js";import{a as u,b as g}from"./J4QLI5FE.js";impor
135
135
  }
136
136
  [hidden] {
137
137
  display: none;
138
- }`,a=class extends c{constructor(){super(...arguments),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.messages=p(),this.selected=!1,this.calciteTipDismiss=s({cancelable:!1})}static{this.properties={hasThumbnail:[16,{state:!0}],closeDisabled:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],messageOverrides:[0,{attribute:!1}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=$}async load(){f.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(n){this.hasThumbnail=m(n)}renderHeader(){let{heading:n,headingLevel:o,el:b}=this,r=b.closest("calcite-tip-manager")?.headingLevel,v=r?u(r+1):null,x=o||v;return n?e`<header class=${i(t.header)}>
139
- ${g({class:t.heading,level:x,children:e`
138
+ }`,a=class extends c{constructor(){super(...arguments),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.messages=p(),this.selected=!1,this.calciteTipDismiss=s({cancelable:!1})}static{this.properties={hasThumbnail:[16,{state:!0}],closeDisabled:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],messageOverrides:[0,{attribute:!1}],selected:[7,{reflect:!0,type:Boolean}]}}static{this.styles=$}async load(){f.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(n){this.hasThumbnail=m(n)}renderHeader(){let{heading:n,headingLevel:o,el:b}=this,r=b.closest("calcite-tip-manager")?.headingLevel,v=r?g(r+1):null,x=o||v;return n?e`<header class=${t(i.header)}>
139
+ ${u({class:i.heading,level:x,children:e`
140
140
  ${n}
141
141
  `})}
142
142
  </header>`:null}renderDismissButton(){let{closeDisabled:n,hideTip:o}=this;return n?null:e`<calcite-action
143
- class=${i(t.close)}
143
+ class=${t(i.close)}
144
144
  .icon=${y.close}
145
145
  @click=${o}
146
146
  scale=l
147
- .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",e`<div class=${i(t.imageFrame)} .hidden=${!this.hasThumbnail}>
147
+ .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",e`<div class=${t(i.imageFrame)} .hidden=${!this.hasThumbnail}>
148
148
  <slot name=${T.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot>
149
- </div>`)}renderInfoNode(){return e`<div class=${i({[t.info]:!0,[t.infoNoThumbnail]:!this.hasThumbnail})}>
149
+ </div>`)}renderInfoNode(){return e`<div class=${t({[i.info]:!0,[i.infoNoThumbnail]:!this.hasThumbnail})}>
150
150
  <slot></slot>
151
- </div>`}renderContent(){return e`<div class=${i(t.content)}>
151
+ </div>`}renderContent(){return e`<div class=${t(i.content)}>
152
152
  ${this.renderImageFrame()}
153
153
  ${this.renderInfoNode()}
154
154
  </div>`}render(){return e`
155
- <article class=${i(t.container)}>
155
+ <article class=${t(i.container)}>
156
156
  ${this.renderHeader()}
157
157
  ${this.renderContent()}
158
158
  </article>
@@ -1,27 +1,27 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{a as l}from"./WP2LL5SD.js";import{a as h}from"./K5IXP7XO.js";import{b as c}from"./5ZBQ7GDS.js";import{x as d}from"./JDIXK7FL.js";import"./HMO6BPQH.js";import{A as i,M as a,a as s,w as o,z as r}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var m={scrim:"scrim",content:"content"},u={s:72,l:480},f=o`/**
6
+ import{a as l}from"./NPV6XGSE.js";import{a as m}from"./BBPZYGUE.js";import{b as c}from"./CKAWSY2K.js";import{x as d}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as s,M as a,a as i,w as r,z as o}from"./EISQGSOR.js";import"./J7ES76D4.js";var h={scrim:"scrim",content:"content"},p={s:72,l:480},f=r`/**
7
7
  * Do not edit directly
8
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
8
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
9
9
  */
10
10
  /**
11
11
  * Do not edit directly
12
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
12
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
13
13
  */
14
14
  /**
15
15
  * Do not edit directly
16
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
16
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
17
17
  */
18
18
  /**
19
19
  * Do not edit directly
20
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
20
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
21
21
  */
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
24
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
25
25
  */
26
26
  /* mixins & extensions */
27
27
  /* helper to properly scale internal durations */
@@ -78,12 +78,12 @@ import{a as l}from"./WP2LL5SD.js";import{a as h}from"./K5IXP7XO.js";import{b as
78
78
 
79
79
  [hidden] {
80
80
  display: none;
81
- }`,n=class extends r{constructor(){super(...arguments),this.resizeObserver=l("resize",()=>this.handleResize()),this.hasContent=!1,this.loading=!1,this.messages=h()}static{this.properties={hasContent:[16,{state:!0}],loaderScale:[16,{state:!0}],loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}]}}static{this.styles=f}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleDefaultSlotChange(e){this.hasContent=d(e)}storeLoaderEl(e){this.loaderEl=e,this.handleResize()}getScale(e){return e<u.s?"s":e>=u.l?"l":"m"}handleResize(){let{loaderEl:e,el:t}=this;e&&(this.loaderScale=this.getScale(Math.min(t.clientHeight,t.clientWidth)??0))}render(){let{hasContent:e,loading:t,messages:p}=this;return s`<div class=${i(m.scrim)}>
82
- ${t?s`<calcite-loader
83
- .label=${p.loading}
81
+ }`,n=class extends o{constructor(){super(...arguments),this.resizeObserver=l("resize",()=>this.handleResize()),this.hasContent=!1,this.loading=!1,this.messages=m()}static{this.properties={hasContent:[16,{state:!0}],loaderScale:[16,{state:!0}],loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}]}}static{this.styles=f}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleDefaultSlotChange(e){this.hasContent=d(e)}storeLoaderEl(e){this.loaderEl=e,this.handleResize()}getScale(e){return e<p.s?"s":e>=p.l?"l":"m"}handleResize(){let{loaderEl:e,el:t}=this;e&&(this.loaderScale=this.getScale(Math.min(t.clientHeight,t.clientWidth)??0))}render(){let{hasContent:e,loading:t,messages:u}=this;return i`<div class=${s(h.scrim)}>
82
+ ${t?i`<calcite-loader
83
+ .label=${u.loading}
84
84
  .scale=${this.loaderScale}
85
85
  ${c(this.storeLoaderEl)}></calcite-loader>`:null}
86
- <div class=${i(m.content)} .hidden=${!e}>
86
+ <div class=${s(h.content)} .hidden=${!e}>
87
87
  <slot @slotchange=${this.handleDefaultSlotChange}></slot>
88
88
  </div>
89
89
  </div>`}};a("calcite-scrim",n);export{n as Scrim};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{b as _}from"./QJSYLVO6.js";import"./76Y6M63P.js";import"./3IL5ODH3.js";function e(s,u,a,r){var t={s:["m\xF5ne sekundi","m\xF5ni sekund","paar sekundit"],m:["\xFChe minuti","\xFCks minut"],mm:["%d minuti","%d minutit"],h:["\xFChe tunni","tund aega","\xFCks tund"],hh:["%d tunni","%d tundi"],d:["\xFChe p\xE4eva","\xFCks p\xE4ev"],M:["kuu aja","kuu aega","\xFCks kuu"],MM:["%d kuu","%d kuud"],y:["\xFChe aasta","aasta","\xFCks aasta"],yy:["%d aasta","%d aastat"]};return u?(t[a][2]?t[a][2]:t[a][1]).replace("%d",s):(r?t[a][0]:t[a][1]).replace("%d",s)}var i={name:"et",weekdays:"p\xFChap\xE4ev_esmasp\xE4ev_teisip\xE4ev_kolmap\xE4ev_neljap\xE4ev_reede_laup\xE4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xE4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xE4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(u){return u+"."},weekStart:1,relativeTime:{future:"%s p\xE4rast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xE4eva",M:e,MM:e,y:e,yy:e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};_.locale(i,null,!0);var n=i;export{n as default};
6
+ import{b as _}from"./BIFFSQRP.js";import"./EVAKUM5A.js";import"./J7ES76D4.js";function e(s,u,a,r){var t={s:["m\xF5ne sekundi","m\xF5ni sekund","paar sekundit"],m:["\xFChe minuti","\xFCks minut"],mm:["%d minuti","%d minutit"],h:["\xFChe tunni","tund aega","\xFCks tund"],hh:["%d tunni","%d tundi"],d:["\xFChe p\xE4eva","\xFCks p\xE4ev"],M:["kuu aja","kuu aega","\xFCks kuu"],MM:["%d kuu","%d kuud"],y:["\xFChe aasta","aasta","\xFCks aasta"],yy:["%d aasta","%d aastat"]};return u?(t[a][2]?t[a][2]:t[a][1]).replace("%d",s):(r?t[a][0]:t[a][1]).replace("%d",s)}var i={name:"et",weekdays:"p\xFChap\xE4ev_esmasp\xE4ev_teisip\xE4ev_kolmap\xE4ev_neljap\xE4ev_reede_laup\xE4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xE4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xE4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(u){return u+"."},weekStart:1,relativeTime:{future:"%s p\xE4rast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xE4eva",M:e,MM:e,y:e,yy:e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};_.locale(i,null,!0);var n=i;export{n as default};
@@ -1,27 +1,27 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{a as P,b as q}from"./ABFUFIMB.js";import{a as p}from"./7BB2RNB7.js";import{a as d}from"./5PQM6QSU.js";import{a as $,b as M}from"./5ZBQ7GDS.js";import{A as w,j as z,t as T,w as r,z as A}from"./JDIXK7FL.js";import"./HMO6BPQH.js";import{A as n,D as I,F as l,M as E,a as s,e as x,w as y,y as C,z as S}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var i={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},D={actionsEnd:"actions-end",children:"children"},c={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},B=y`/**
6
+ import{a as P,b as F}from"./VGGT3YKZ.js";import{a as p}from"./JZ2LJ5UR.js";import{a as d}from"./MWRIGXE7.js";import{a as $,b as M}from"./CKAWSY2K.js";import{A as w,j as z,t as A,w as r,z as T}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as n,D as I,F as l,M as E,a as s,e as x,w as y,y as C,z as S}from"./EISQGSOR.js";import"./J7ES76D4.js";var i={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},q={actionsEnd:"actions-end",children:"children"},c={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},R=y`/**
7
7
  * Do not edit directly
8
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
8
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
9
9
  */
10
10
  /**
11
11
  * Do not edit directly
12
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
12
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
13
13
  */
14
14
  /**
15
15
  * Do not edit directly
16
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
16
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
17
17
  */
18
18
  /**
19
19
  * Do not edit directly
20
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
20
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
21
21
  */
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
24
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
25
25
  */
26
26
  /* mixins & extensions */
27
27
  /* helper to properly scale internal durations */
@@ -339,7 +339,7 @@ import{a as P,b as q}from"./ABFUFIMB.js";import{a as p}from"./7BB2RNB7.js";impor
339
339
 
340
340
  [hidden] {
341
341
  display: none;
342
- }`,u=class extends S{constructor(){super(),this.actionSlotWrapper=$(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.hasChildren=null,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=C({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{state:!0}],updateAfterInitialRender:[16,{state:!0}],depth:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],hasChildren:[7,{reflect:!0,type:Boolean}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}]}}static{this.styles=B}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){P(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=T(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=w(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),h=o.filter(a=>a.selected);o.length===h.length?(e.selected=!0,e.indeterminate=!1):h.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(a=>{a.selected=!0,a.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=A(e)}preWillUpdate(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=z(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",h=this.selectionMode==="none"&&!this.hasChildren,f=this.hasChildren&&this.indeterminate,a=this.hasChildren?s`<calcite-icon
342
+ }`,u=class extends S{constructor(){super(),this.actionSlotWrapper=$(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.hasChildren=null,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=C({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{state:!0}],updateAfterInitialRender:[16,{state:!0}],depth:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],hasChildren:[7,{reflect:!0,type:Boolean}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}]}}static{this.styles=R}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){P(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=A(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=w(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),h=o.filter(a=>a.selected);o.length===h.length?(e.selected=!0,e.indeterminate=!1):h.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(a=>{a.selected=!0,a.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=T(e)}preWillUpdate(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=z(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",h=this.selectionMode==="none"&&!this.hasChildren,f=this.hasChildren&&this.indeterminate,a=this.hasChildren?s`<calcite-icon
343
343
  class=${n({[i.chevron]:!0,[l.rtl]:e})}
344
344
  data-test-id=icon
345
345
  .icon=${c.chevronRight}
@@ -350,28 +350,28 @@ import{a as P,b as q}from"./ABFUFIMB.js";import{a as p}from"./7BB2RNB7.js";impor
350
350
  .icon=${this.selected?c.checkSquareF:f?c.minusSquareF:c.square}
351
351
  .scale=${d(this.scale)}></calcite-icon>
352
352
  <label class=${n(i.checkboxLabel)}>${b}</label>
353
- </div>`:null,m=t?c.bulletPoint:o?c.checkmark:h?c.blank:null,G=m?s`<calcite-icon
353
+ </div>`:null,m=t?c.bulletPoint:o?c.checkmark:h?c.blank:null,D=m?s`<calcite-icon
354
354
  class=${n({[i.bulletPointIcon]:m===c.bulletPoint,[i.checkmarkIcon]:m===c.checkmark,[l.rtl]:e})}
355
355
  .icon=${m}
356
- .scale=${d(this.scale)}></calcite-icon>`:null,v=!(this.parentExpanded||this.depth===1),g=this.updateAfterInitialRender&&this.expanded,{hasEndActions:H}=this,L=p("actionsEndSlot",s`<slot
357
- name=${D.actionsEnd}
358
- @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),R=s`<calcite-icon
356
+ .scale=${d(this.scale)}></calcite-icon>`:null,v=!(this.parentExpanded||this.depth===1),g=this.updateAfterInitialRender&&this.expanded,{hasEndActions:G}=this,H=p("actionsEndSlot",s`<slot
357
+ name=${q.actionsEnd}
358
+ @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),L=s`<calcite-icon
359
359
  class=${n(i.iconStart)}
360
360
  .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"}
361
361
  .icon=${this.iconStart}
362
- .scale=${d(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?r(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?r(g):void 0,this.el.ariaHidden=r(v),this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?r(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",v),this.el.role="treeitem",I(this.el,"tabIndex",this.disabled?-1:0),q({disabled:this.disabled,children:s`
362
+ .scale=${d(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?r(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?r(g):void 0,this.el.ariaHidden=r(v),this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?r(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",v),this.el.role="treeitem",I(this.el,"tabIndex",this.disabled?-1:0),F({disabled:this.disabled,children:s`
363
363
  <div class=${n({[i.itemExpanded]:g})}>
364
364
  <div class=${n(i.nodeAndActionsContainer)}>
365
365
  <div
366
366
  class=${n({[i.nodeContainer]:!0,[l.rtl]:e})}
367
367
  data-selection-mode=${this.selectionMode??x}>
368
368
  ${a}
369
- ${G}
370
- ${this.iconStart?R:null}
369
+ ${D}
370
+ ${this.iconStart?L:null}
371
371
  ${k||b}
372
372
  </div>
373
- <div class=${n(i.actionsEnd)} .hidden=${!H} ${M(this.actionSlotWrapper)}>
374
- ${L}
373
+ <div class=${n(i.actionsEnd)} .hidden=${!G} ${M(this.actionSlotWrapper)}>
374
+ ${H}
375
375
  </div>
376
376
  </div>
377
377
 
@@ -380,7 +380,7 @@ import{a as P,b as q}from"./ABFUFIMB.js";import{a as p}from"./7BB2RNB7.js";impor
380
380
  data-test-id=calcite-tree-children
381
381
  @click=${this.childrenClickHandler}
382
382
  .role=${this.hasChildren?"group":void 0}>
383
- <slot name=${D.children} @slotchange=${this.handleChildrenSlotChange}></slot>
383
+ <slot name=${q.children} @slotchange=${this.handleChildrenSlotChange}></slot>
384
384
  </div>
385
385
  </div>
386
386
  `})}};E("calcite-tree-item",u);export{u as TreeItem};
@@ -1,27 +1,27 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{w as g,x as b}from"./JDIXK7FL.js";import"./HMO6BPQH.js";import{A as i,M as u,a as o,w as d,y as h,z as m}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var f={input:"input"},t={label:"label",labelScale:r=>`label--scale-${r}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},p=d`/**
6
+ import{w as g,x as b}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as i,M as u,a as o,w as d,y as h,z as m}from"./EISQGSOR.js";import"./J7ES76D4.js";var f={input:"input"},t={label:"label",labelScale:r=>`label--scale-${r}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},p=d`/**
7
7
  * Do not edit directly
8
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
8
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
9
9
  */
10
10
  /**
11
11
  * Do not edit directly
12
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
12
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
13
13
  */
14
14
  /**
15
15
  * Do not edit directly
16
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
16
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
17
17
  */
18
18
  /**
19
19
  * Do not edit directly
20
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
20
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
21
21
  */
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
24
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
25
25
  */
26
26
  /* mixins & extensions */
27
27
  /* helper to properly scale internal durations */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- var t={actionBarContainer:"action-bar-container",backButton:"back-button",container:"container",contentBottom:"content-bottom",contentTop:"content-top",header:"header",headerContainer:"header-container",headerContainerBorderEnd:"header-container--border-end",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",fabContainer:"fab-container",footer:"footer",footerContent:"footer-content",footerActions:"footer-actions",footerStart:"footer-start",footerEnd:"footer-end"},e={close:"close",collapse:"collapse"},o={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right",expand:"chevron-down",collapse:"chevron-up"},n={actionBar:"action-bar",alerts:"alerts",contentBottom:"content-bottom",contentTop:"content-top",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerEnd:"footer-end",footerStart:"footer-start",footerActions:"footer-actions"};export{t as a,e as b,o as c,n as d};
6
+ var t={actionBarContainer:"action-bar-container",backButton:"back-button",container:"container",contentBottom:"content-bottom",contentTop:"content-top",header:"header",headerContainer:"header-container",headerContainerBorderEnd:"header-container--border-end",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",fabContainer:"fab-container",footer:"footer",footerContent:"footer-content",footerActions:"footer-actions",footerStart:"footer-start",footerEnd:"footer-end",headerSlottedContent:"header-slotted-content"},e={close:"close",collapse:"collapse"},o={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right",expand:"chevron-down",collapse:"chevron-up"},n={actionBar:"action-bar",alerts:"alerts",contentBottom:"content-bottom",contentTop:"content-top",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerEnd:"footer-end",footerStart:"footer-start",footerActions:"footer-actions"};export{t as a,e as b,o as c,n as d};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{b as v}from"./5PQM6QSU.js";import{F as h,o as L,p as C}from"./JDIXK7FL.js";var m="calciteInternalLabelClick",E="calciteInternalLabelConnected",f="calciteInternalLabelDisconnected",g="calcite-label",r=new WeakMap,i=new WeakMap,c=new WeakMap,d=new WeakMap,s=new Set,M=e=>{let{id:t}=e,l=t&&L(e,{selector:`${g}[for="${t}"]`});if(l)return l;let a=C(e,g);return!a||D(a,e)?null:a};function D(e,t){let l,a="custom-element-ancestor-check",o=n=>{n.stopImmediatePropagation();let u=n.composedPath();l=u.slice(u.indexOf(t),u.indexOf(e))};return e.addEventListener(a,o,{once:!0}),t.dispatchEvent(new CustomEvent(a,{composed:!0,bubbles:!0})),e.removeEventListener(a,o),l.filter(n=>n!==t&&n!==e).filter(n=>n.tagName?.includes("-")).length>0}function w(e){if(!e)return;let t=M(e.el);if(i.has(t)&&t===e.labelEl||!t&&s.has(e))return;let l=x.bind(e);if(t){e.labelEl=t;let a=r.get(t)||[];a.push(e),r.set(t,a.sort(y)),i.has(e.labelEl)||(i.set(e.labelEl,k),e.labelEl.addEventListener(m,k)),s.delete(e),document.removeEventListener(E,c.get(e)),d.set(e,l),document.addEventListener(f,l)}else s.has(e)||(l(),document.removeEventListener(f,d.get(e)))}function B(e){if(!e||(s.delete(e),document.removeEventListener(E,c.get(e)),document.removeEventListener(f,d.get(e)),c.delete(e),d.delete(e),!e.labelEl))return;let t=r.get(e.labelEl);t.length===1&&(e.labelEl.removeEventListener(m,i.get(e.labelEl)),i.delete(e.labelEl)),r.set(e.labelEl,t.filter(l=>l!==e).sort(y)),e.labelEl=null}function y(e,t){return h(e.el,t.el)?-1:1}function W(e){return e.label||e.labelEl?.textContent?.trim()||""}function k(e){let t=e.detail.sourceEvent.target,l=r.get(this),a=l.find(n=>n.el===t);if(l.includes(a))return;let b=l[0];b.disabled||b.onLabelClick(e)}function O(){s.has(this)&&w(this)}function x(){s.add(this);let e=c.get(this)||O.bind(this);c.set(this,e),document.addEventListener(E,e)}async function q(e){if(await v(e),r.has(e))return;let l=e.ownerDocument?.getElementById(e.for);l&&requestAnimationFrame(()=>{for(let a of s)if(a.el===l){w(a);break}})}export{E as a,f as b,w as c,B as d,W as e,q as f};
6
+ import{b as v}from"./MWRIGXE7.js";import{F as h,o as L,p as C}from"./EKVZQILU.js";var m="calciteInternalLabelClick",E="calciteInternalLabelConnected",f="calciteInternalLabelDisconnected",g="calcite-label",r=new WeakMap,i=new WeakMap,c=new WeakMap,d=new WeakMap,s=new Set,M=e=>{let{id:t}=e,l=t&&L(e,{selector:`${g}[for="${t}"]`});if(l)return l;let a=C(e,g);return!a||D(a,e)?null:a};function D(e,t){let l,a="custom-element-ancestor-check",o=n=>{n.stopImmediatePropagation();let u=n.composedPath();l=u.slice(u.indexOf(t),u.indexOf(e))};return e.addEventListener(a,o,{once:!0}),t.dispatchEvent(new CustomEvent(a,{composed:!0,bubbles:!0})),e.removeEventListener(a,o),l.filter(n=>n!==t&&n!==e).filter(n=>n.tagName?.includes("-")).length>0}function w(e){if(!e)return;let t=M(e.el);if(i.has(t)&&t===e.labelEl||!t&&s.has(e))return;let l=x.bind(e);if(t){e.labelEl=t;let a=r.get(t)||[];a.push(e),r.set(t,a.sort(y)),i.has(e.labelEl)||(i.set(e.labelEl,k),e.labelEl.addEventListener(m,k)),s.delete(e),document.removeEventListener(E,c.get(e)),d.set(e,l),document.addEventListener(f,l)}else s.has(e)||(l(),document.removeEventListener(f,d.get(e)))}function B(e){if(!e||(s.delete(e),document.removeEventListener(E,c.get(e)),document.removeEventListener(f,d.get(e)),c.delete(e),d.delete(e),!e.labelEl))return;let t=r.get(e.labelEl);t.length===1&&(e.labelEl.removeEventListener(m,i.get(e.labelEl)),i.delete(e.labelEl)),r.set(e.labelEl,t.filter(l=>l!==e).sort(y)),e.labelEl=null}function y(e,t){return h(e.el,t.el)?-1:1}function W(e){return e.label||e.labelEl?.textContent?.trim()||""}function k(e){let t=e.detail.sourceEvent.target,l=r.get(this),a=l.find(n=>n.el===t);if(l.includes(a))return;let b=l[0];b.disabled||b.onLabelClick(e)}function O(){s.has(this)&&w(this)}function x(){s.add(this);let e=c.get(this)||O.bind(this);c.set(this,e),document.addEventListener(E,e)}async function q(e){if(await v(e),r.has(e))return;let l=e.ownerDocument?.getElementById(e.for);l&&requestAnimationFrame(()=>{for(let a of s)if(a.el===l){w(a);break}})}export{E as a,f as b,w as c,B as d,W as e,q as f};
@@ -1,27 +1,27 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{a as c}from"./7BB2RNB7.js";import{a as E}from"./K5IXP7XO.js";import{a as p,b as m}from"./5ZBQ7GDS.js";import{A as $,j as x}from"./JDIXK7FL.js";import{a as I,b as k,d as L}from"./4ROAOFHC.js";import"./HMO6BPQH.js";import{A as r,C as d,F as g,M as w,a as o,w as b,y as h,z as y}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var t={container:"container",content:"content",dropdownVertical:"dropdown--vertical",dropdownMenuItems:"dropdown-menu-items",dropdownAction:"dropdown-action",layoutVertical:"layout--vertical",hoverHrefIcon:"hover-href-icon",icon:"icon",iconBreadcrumb:"icon--breadcrumb",iconDropdown:"icon--dropdown",iconEnd:"icon--end",iconStart:"icon--start",isParentVertical:"parent--vertical",itemContent:"item-content",open:"open",nested:"nested",textContainer:"text-container"},M=b`/**
6
+ import{a as c}from"./JZ2LJ5UR.js";import{a as E}from"./BBPZYGUE.js";import{a as p,b as m}from"./CKAWSY2K.js";import{A as $,j as x}from"./EKVZQILU.js";import{a as I,b as k,d as L}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as r,C as d,F as g,M as w,a as o,w as b,y as h,z as y}from"./EISQGSOR.js";import"./J7ES76D4.js";var t={container:"container",content:"content",dropdownVertical:"dropdown--vertical",dropdownMenuItems:"dropdown-menu-items",dropdownAction:"dropdown-action",layoutVertical:"layout--vertical",hoverHrefIcon:"hover-href-icon",icon:"icon",iconBreadcrumb:"icon--breadcrumb",iconDropdown:"icon--dropdown",iconEnd:"icon--end",iconStart:"icon--start",isParentVertical:"parent--vertical",itemContent:"item-content",open:"open",nested:"nested",textContainer:"text-container"},M=b`/**
7
7
  * Do not edit directly
8
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
8
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
9
9
  */
10
10
  /**
11
11
  * Do not edit directly
12
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
12
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
13
13
  */
14
14
  /**
15
15
  * Do not edit directly
16
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
16
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
17
17
  */
18
18
  /**
19
19
  * Do not edit directly
20
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
20
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
21
21
  */
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
24
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
25
25
  */
26
26
  /* mixins & extensions */
27
27
  /* helper to properly scale internal durations */
@@ -1,27 +1,27 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{j as g}from"./VT7PQVBM.js";import"./52RJTOPX.js";import{a as M}from"./K5IXP7XO.js";import{a as u,b as h}from"./5ZBQ7GDS.js";import{a as E,b as I}from"./4ROAOFHC.js";import{A as c,K as x,M as A,a,e as $,g as v,w as z,y as b,z as T}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},f={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},G=z`/**
6
+ import{j as g}from"./DEURKSJT.js";import"./RI3P6LDT.js";import{a as I}from"./BBPZYGUE.js";import{a as u,b as h}from"./CKAWSY2K.js";import{a as E,b as F}from"./NKRPQYCQ.js";import{A as c,K as T,M as A,a,e as $,g as v,w as z,y as b,z as x}from"./EISQGSOR.js";import"./J7ES76D4.js";var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},f={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},G=z`/**
7
7
  * Do not edit directly
8
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
8
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
9
9
  */
10
10
  /**
11
11
  * Do not edit directly
12
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
12
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
13
13
  */
14
14
  /**
15
15
  * Do not edit directly
16
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
16
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
17
17
  */
18
18
  /**
19
19
  * Do not edit directly
20
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
20
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
21
21
  */
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
24
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
25
25
  */
26
26
  /* mixins & extensions */
27
27
  /* helper to properly scale internal durations */
@@ -137,7 +137,7 @@ calcite-pagination {
137
137
 
138
138
  [hidden] {
139
139
  display: none;
140
- }`,m=class extends T{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=M({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.calciteChipSelectListener),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=G}get selectedItems(){return this._selectedItems}async load(){E(this),this.readCellContentsToAT=/safari/i.test(x()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}loaded(){I(this)}handleSlotChange(){this.updateRows()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,o=e.detail.destination,d=e.detail.lastCell,t=this.bodyRows?.filter(p=>!p.hidden),l=this.allRows?.filter(p=>!p.hidden),S=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,w=t[t.length-1]?.positionAll,R=this.footRows[0]?.positionAll,F=l[l.length-1]?.positionAll,P=o==="next"&&s===S,k=o==="previous"&&s===R,O=o==="previous"&&s===y,N=o==="next"&&s===w,r;switch(o){case"first":r=0;break;case"last":r=F;break;case"next":r=P?y:N?R:s+1;break;case"previous":r=k?w:O?S:s-1;break}let C=this.allRows?.find(p=>p.positionAll===r)?.cellCount,B=i>C?C:i;r!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:B,rowPosition:r,destination:o,lastCell:d})}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)||[],o=[...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())}),o?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=o?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=o?.indexOf(t)===o.length-1});let d=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=d,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=o,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.hidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=e===i?!i.selected:this.selectionMode==="multiple"?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return g.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},g.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>t.hidden)?.length,i=this.localizeNumber(e?.toString()),o=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,d=`${i} ${this.messages.hiddenSelected}`;return a`<div class=${c(n.selectionArea)}>
140
+ }`,m=class extends x{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.calciteChipSelectListener),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=G}get selectedItems(){return this._selectedItems}async load(){E(this),this.readCellContentsToAT=/safari/i.test(T()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}loaded(){F(this)}handleSlotChange(){this.updateRows()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,o=e.detail.destination,d=e.detail.lastCell,t=this.bodyRows?.filter(p=>!p.hidden),l=this.allRows?.filter(p=>!p.hidden),S=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,w=t[t.length-1]?.positionAll,R=this.footRows[0]?.positionAll,M=l[l.length-1]?.positionAll,P=o==="next"&&s===S,k=o==="previous"&&s===R,O=o==="previous"&&s===y,N=o==="next"&&s===w,r;switch(o){case"first":r=0;break;case"last":r=M;break;case"next":r=P?y:N?R:s+1;break;case"previous":r=k?w:O?S:s-1;break}let C=this.allRows?.find(p=>p.positionAll===r)?.cellCount,B=i>C?C:i;r!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:B,rowPosition:r,destination:o,lastCell:d})}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)||[],o=[...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())}),o?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=o?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=o?.indexOf(t)===o.length-1});let d=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=d,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=o,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.hidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=e===i?!i.selected:this.selectionMode==="multiple"?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return g.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},g.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>t.hidden)?.length,i=this.localizeNumber(e?.toString()),o=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,d=`${i} ${this.messages.hiddenSelected}`;return a`<div class=${c(n.selectionArea)}>
141
141
  <calcite-chip
142
142
  .kind=${this.selectedCount>0?"brand":"neutral"}
143
143
  .scale=${this.scale}
@@ -1,28 +1,28 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.21
4
+ * v3.0.0-next.23
5
5
  */
6
- import{a as ae,b as R}from"./MU3QJI4G.js";import{a as ie}from"./5IRT4FGE.js";import{a as K,j as S}from"./VT7PQVBM.js";import{c as W,e as J,f as Q,h as Y}from"./335AW3HO.js";import{c as Z,d as ee,e as te}from"./AE7G7FES.js";import{a as N,b as q}from"./ABFUFIMB.js";import{a as E}from"./7BB2RNB7.js";import"./5PQM6QSU.js";import{a as j}from"./52RJTOPX.js";import{a as G}from"./K5IXP7XO.js";import{b as L}from"./5ZBQ7GDS.js";import{C as M,v as w}from"./JDIXK7FL.js";import{a as I,b as X,d as U}from"./4ROAOFHC.js";import{a as A}from"./HMO6BPQH.js";import{A as p,B as $,D as B,E as F,M as O,a as k,e as C,w as P,y as _,z}from"./DNIAJJSF.js";import"./3IL5ODH3.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},se={validationMessage:"validationMessage"},le=250,ne=P`@charset "UTF-8";
6
+ import{a as ae,b as R}from"./FJCKAC7Y.js";import{a as ie}from"./T2J2VFXM.js";import{a as K,j as S}from"./DEURKSJT.js";import{c as W,e as J,f as Q,h as Y}from"./W6YVXZ7Z.js";import{c as Z,d as ee,e as te}from"./I4IHFVAI.js";import{a as N,b as q}from"./VGGT3YKZ.js";import{a as E}from"./JZ2LJ5UR.js";import"./MWRIGXE7.js";import{a as j}from"./RI3P6LDT.js";import{a as G}from"./BBPZYGUE.js";import{b as T}from"./CKAWSY2K.js";import{C as M,v as w}from"./EKVZQILU.js";import{a as I,b as X,d as U}from"./NKRPQYCQ.js";import{a as A}from"./XM2VN6WF.js";import{A as p,B as $,D as F,E as B,M as O,a as k,e as C,w as P,y as L,z}from"./EISQGSOR.js";import"./J7ES76D4.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},se={validationMessage:"validationMessage"},le=250,ne=P`@charset "UTF-8";
7
7
  /**
8
8
  * Do not edit directly
9
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
9
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
10
10
  */
11
11
  /**
12
12
  * Do not edit directly
13
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
13
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
14
14
  */
15
15
  /**
16
16
  * Do not edit directly
17
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
17
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
18
18
  */
19
19
  /**
20
20
  * Do not edit directly
21
- * Generated on Thu, 21 Nov 2024 19:03:41 GMT
21
+ * Generated on Fri, 22 Nov 2024 00:15:10 GMT
22
22
  */
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Thu, 21 Nov 2024 19:03:38 GMT
25
+ * Generated on Fri, 22 Nov 2024 00:15:07 GMT
26
26
  */
27
27
  /* mixins & extensions */
28
28
  /* helper to properly scale internal durations */
@@ -431,14 +431,14 @@ import{a as ae,b as R}from"./MU3QJI4G.js";import{a as ie}from"./5IRT4FGE.js";imp
431
431
 
432
432
  [hidden]{
433
433
  display: none;
434
- }`;function g(D){return Array.isArray(D)}var H=class extends z{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(g(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let i=t-this.minValueDragRange,a=t+this.maxValueDragRange;a<=this.max&&i>=this.min&&a-i===this.minMaxValueRange&&this.setValue({minValue:this.clamp(i,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(S.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},S.localize(e.toString())),this.guid=`calcite-slider-${A()}`,this.messages=G({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!M(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=0,this.calciteSliderChange=_({cancelable:!1}),this.calciteSliderInput=_({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:[16,{state:!0}],minMaxValueRange:[16,{state:!0}],minValueDragRange:[16,{state:!0}],tickValues:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillPlacement:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],hasHistogram:[7,{reflect:!0,type:Boolean}],histogram:[0,{attribute:!1}],histogramStops:[0,{attribute:!1}],labelFormatter:[0,{attribute:!1}],labelHandles:[7,{reflect:!0,type:Boolean}],labelTicks:[7,{reflect:!0,type:Boolean}],max:[11,{reflect:!0,type:Number}],maxLabel:1,maxValue:[9,{type:Number}],min:[11,{reflect:!0,type:Number}],minLabel:1,minValue:[9,{type:Number}],mirrored:[7,{reflect:!0,type:Boolean}],name:[3,{reflect:!0}],numberingSystem:1,pageStep:[11,{reflect:!0,type:Number}],precise:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],snap:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],ticks:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:F}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{type:Number,reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=ne}async setFocus(){await U(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),Z(this),W(this)}load(){I(this),g(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),Q(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),g(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),N(this)}loaded(){X(this)}disconnectedCallback(){super.disconnectedCallback(),ee(this),J(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:n,step:o}=this,r=this[i],{key:c}=e;if(j(c)){e.preventDefault();return}let u;if(c==="ArrowUp"||c==="ArrowRight"?u=r+o*(t&&c==="ArrowRight"?-1:1):c==="ArrowDown"||c==="ArrowLeft"?u=r-o*(t&&c==="ArrowLeft"?-1:1):c==="PageUp"?n&&(u=r+n):c==="PageDown"?n&&(u=r-n):c==="Home"?u=s:c==="End"&&(u=a),isNaN(u))return;e.preventDefault();let d=Number(u.toFixed(R(o)));this.setValue({[i]:this.clamp(d,i)})}pointerDownHandler(e){if(this.disabled||!M(e))return;let t=e.clientX||e.pageX,i=this.mapToRange(t),a="value";g(this.value)&&(i>=this.minValue&&i<=this.maxValue&&this.lastDragProp==="minMaxValue"?a="minMaxValue":a=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;g(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return g(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/le;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],i=this.getTickDensity(),a=e*i,s=this.min;for(;s<this.max;)s+=a,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){M(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;if(Object.keys(e).forEach(a=>{let s=e[a];t||(t=this[a]!==s),this[a]=s}),!t)return;this.dragProp||this.emitChange(),this.emitInput()}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){if(!e)return;e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e}clamp(e,t){return e=ae(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(e-i)/a,n=this.shouldMirror(),o=this.clamp(this.min+t*(n?1-s:s)),r=Number(o.toFixed(R(this.step)));return this.snap&&this.step?this.getClosestStep(r):r}getClosestStep(e){let{max:t,min:i,step:a}=this,s=new K(`${Math.floor((e-i)/a)}`).multiply(`${a}`).add(`${i}`).toString(),n=this.clamp(Number(s));return n>t&&(n-=a),n}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${n}px)`,a.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),i=t?"value":"minValue",a=t?"minValue":"value",s=e.querySelector(`.handle__label--${i}`),n=e.querySelector(`.handle__label--${i}.static`),o=e.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),c=e.querySelector(`.handle__label--${a}`),u=e.querySelector(`.handle__label--${a}.static`),d=e.querySelector(`.handle__label--${a}.transformed`),m=this.getHostOffset(u.getBoundingClientRect().left,u.getBoundingClientRect().right),v=this.getFontSizeForElement(s),f=this.getRangeLabelOverlap(o,d),x=s,b=v/2;if(f>0){if(x.classList.add(l.hyphen,l.hyphenWrap),m===0&&r===0){let h=f/2-b;h=Math.sign(h)===-1?Math.abs(h):-h;let y=this.getHostOffset(o.getBoundingClientRect().left+h-b,o.getBoundingClientRect().right+h-b),V=f/2,T=this.getHostOffset(d.getBoundingClientRect().left+V,d.getBoundingClientRect().right+V);y!==0&&(h+=y,V+=y),T!==0&&(h+=T,V+=T),s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`,c.style.transform=`translateX(${V}px)`,d.style.transform=`translateX(${V}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+b}px)`,c.style.transform=`translateX(${f+m}px)`,d.style.transform=`translateX(${f+m}px)`;else if(r<0||m<0){let h=Math.abs(r)+f-b;h=Math.sign(h)===-1?Math.abs(h):-h,s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`}}else x.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${r}px)`,o.style.transform=`translateX(${r}px)`,c.style.transform=`translateX(${m}px)`,d.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){let e=g(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),i=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),a=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let i=this.el.getBoundingClientRect(),a=7;return e+a<i.left?i.left-e-a:t-a>i.right?-(t-i.right)+a:0}getRangeLabelOverlap(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),n=i.right+s-a.left;return Math.max(n,0)}isMinTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return w(i,a)}isMaxTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return w(i,a)}internalLabelFormatter(e,t){let i=this.labelFormatter;if(!i)return this.formatValue(e);let a=i(e,t,this.formatValue);return a??this.formatValue(e)}render(){let e=this.el.id||this.guid,t=g(this.value)?this.maxValue:this.value,i=this.minValue||this.min,a=this.shouldUseMinValue(),s=this.getUnitInterval(a?this.minValue:i)*100,n=this.getUnitInterval(t)*100,o=this.shouldMirror(),r=g(this.value),c=this.buildThumbType("max"),u=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:n,minInterval:s,mirror:o}),d=this.buildThumbType("min"),m=r?this.renderThumb({type:d,thumbPlacement:d.includes("histogram")||d.includes("precise")?"below":"above",maxInterval:n,minInterval:s,mirror:o}):null,v=r?"start":this.fillPlacement,f=v==="none"?{left:"unset",right:"unset"}:v==="end"?{left:`${o?s:n}%`,right:`${o?n:s}%`}:{left:`${o?100-n:s}%`,right:`${o?s:100-n}%`};return B(this.el,"id",e),q({disabled:this.disabled,children:k`
434
+ }`;function g(D){return Array.isArray(D)}var H=class extends z{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(g(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let i=t-this.minValueDragRange,a=t+this.maxValueDragRange;a<=this.max&&i>=this.min&&a-i===this.minMaxValueRange&&this.setValue({minValue:this.clamp(i,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(S.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},S.localize(e.toString())),this.guid=`calcite-slider-${A()}`,this.messages=G({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!M(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=0,this.calciteSliderChange=L({cancelable:!1}),this.calciteSliderInput=L({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:[16,{state:!0}],minMaxValueRange:[16,{state:!0}],minValueDragRange:[16,{state:!0}],tickValues:[16,{state:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillPlacement:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],hasHistogram:[7,{reflect:!0,type:Boolean}],histogram:[0,{attribute:!1}],histogramStops:[0,{attribute:!1}],labelFormatter:[0,{attribute:!1}],labelHandles:[7,{reflect:!0,type:Boolean}],labelTicks:[7,{reflect:!0,type:Boolean}],max:[11,{reflect:!0,type:Number}],maxLabel:1,maxValue:[9,{type:Number}],min:[11,{reflect:!0,type:Number}],minLabel:1,minValue:[9,{type:Number}],mirrored:[7,{reflect:!0,type:Boolean}],name:[3,{reflect:!0}],numberingSystem:1,pageStep:[11,{reflect:!0,type:Number}],precise:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],snap:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],ticks:[11,{reflect:!0,type:Number}],validationIcon:[3,{reflect:!0,converter:B}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{type:Number,reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=ne}async setFocus(){await U(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),Z(this),W(this)}load(){I(this),g(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),Q(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),g(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),N(this)}loaded(){X(this)}disconnectedCallback(){super.disconnectedCallback(),ee(this),J(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:n,step:o}=this,r=this[i],{key:c}=e;if(j(c)){e.preventDefault();return}let u;if(c==="ArrowUp"||c==="ArrowRight"?u=r+o*(t&&c==="ArrowRight"?-1:1):c==="ArrowDown"||c==="ArrowLeft"?u=r-o*(t&&c==="ArrowLeft"?-1:1):c==="PageUp"?n&&(u=r+n):c==="PageDown"?n&&(u=r-n):c==="Home"?u=s:c==="End"&&(u=a),isNaN(u))return;e.preventDefault();let d=Number(u.toFixed(R(o)));this.setValue({[i]:this.clamp(d,i)})}pointerDownHandler(e){if(this.disabled||!M(e))return;let t=e.clientX||e.pageX,i=this.mapToRange(t),a="value";g(this.value)&&(i>=this.minValue&&i<=this.maxValue&&this.lastDragProp==="minMaxValue"?a="minMaxValue":a=Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;g(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return g(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/le;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],i=this.getTickDensity(),a=e*i,s=this.min;for(;s<this.max;)s+=a,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){M(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;if(Object.keys(e).forEach(a=>{let s=e[a];t||(t=this[a]!==s),this[a]=s}),!t)return;this.dragProp||this.emitChange(),this.emitInput()}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){if(!e)return;e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e}clamp(e,t){return e=ae(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(e-i)/a,n=this.shouldMirror(),o=this.clamp(this.min+t*(n?1-s:s)),r=Number(o.toFixed(R(this.step)));return this.snap&&this.step?this.getClosestStep(r):r}getClosestStep(e){let{max:t,min:i,step:a}=this,s=new K(`${Math.floor((e-i)/a)}`).multiply(`${a}`).add(`${i}`).toString(),n=this.clamp(Number(s));return n>t&&(n-=a),n}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=i.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${n}px)`,a.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),i=t?"value":"minValue",a=t?"minValue":"value",s=e.querySelector(`.handle__label--${i}`),n=e.querySelector(`.handle__label--${i}.static`),o=e.querySelector(`.handle__label--${i}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),c=e.querySelector(`.handle__label--${a}`),u=e.querySelector(`.handle__label--${a}.static`),d=e.querySelector(`.handle__label--${a}.transformed`),m=this.getHostOffset(u.getBoundingClientRect().left,u.getBoundingClientRect().right),v=this.getFontSizeForElement(s),f=this.getRangeLabelOverlap(o,d),x=s,b=v/2;if(f>0){if(x.classList.add(l.hyphen,l.hyphenWrap),m===0&&r===0){let h=f/2-b;h=Math.sign(h)===-1?Math.abs(h):-h;let y=this.getHostOffset(o.getBoundingClientRect().left+h-b,o.getBoundingClientRect().right+h-b),V=f/2,_=this.getHostOffset(d.getBoundingClientRect().left+V,d.getBoundingClientRect().right+V);y!==0&&(h+=y,V+=y),_!==0&&(h+=_,V+=_),s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`,c.style.transform=`translateX(${V}px)`,d.style.transform=`translateX(${V}px)`}else if(r>0||m>0)s.style.transform=`translateX(${r+b}px)`,c.style.transform=`translateX(${f+m}px)`,d.style.transform=`translateX(${f+m}px)`;else if(r<0||m<0){let h=Math.abs(r)+f-b;h=Math.sign(h)===-1?Math.abs(h):-h,s.style.transform=`translateX(${h}px)`,o.style.transform=`translateX(${h-b}px)`}}else x.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${r}px)`,o.style.transform=`translateX(${r}px)`,c.style.transform=`translateX(${m}px)`,d.style.transform=`translateX(${m}px)`}hideObscuredBoundingTickLabels(){let e=g(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),i=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),a=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),t&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,t)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let i=this.el.getBoundingClientRect(),a=7;return e+a<i.left?i.left-e-a:t-a>i.right?-(t-i.right)+a:0}getRangeLabelOverlap(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),n=i.right+s-a.left;return Math.max(n,0)}isMinTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return w(i,a)}isMaxTickLabelObscured(e,t){let i=e.getBoundingClientRect(),a=t.getBoundingClientRect();return w(i,a)}internalLabelFormatter(e,t){let i=this.labelFormatter;if(!i)return this.formatValue(e);let a=i(e,t,this.formatValue);return a??this.formatValue(e)}render(){let e=this.el.id||this.guid,t=g(this.value)?this.maxValue:this.value,i=this.minValue||this.min,a=this.shouldUseMinValue(),s=this.getUnitInterval(a?this.minValue:i)*100,n=this.getUnitInterval(t)*100,o=this.shouldMirror(),r=g(this.value),c=this.buildThumbType("max"),u=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:n,minInterval:s,mirror:o}),d=this.buildThumbType("min"),m=r?this.renderThumb({type:d,thumbPlacement:d.includes("histogram")||d.includes("precise")?"below":"above",maxInterval:n,minInterval:s,mirror:o}):null,v=r?"start":this.fillPlacement,f=v==="none"?{left:"unset",right:"unset"}:v==="end"?{left:`${o?s:n}%`,right:`${o?n:s}%`}:{left:`${o?100-n:s}%`,right:`${o?s:100-n}%`};return F(this.el,"id",e),q({disabled:this.disabled,children:k`
435
435
  <div
436
436
  aria-errormessage=${se.validationMessage}
437
437
  .ariaInvalid=${this.status==="invalid"}
438
438
  .ariaLabel=${te(this)}
439
439
  class=${p({[l.container]:!0,[l.containerRange]:r,[`scale--${this.scale}`]:!0})}>
440
440
  ${this.renderGraph()}
441
- <div class=${p(l.track)} ${L(this.storeTrackRef)}>
441
+ <div class=${p(l.track)} ${T(this.storeTrackRef)}>
442
442
  <div
443
443
  class=${p(l.trackRange)}
444
444
  @pointerdown=${this.onTrackPointerDown}
@@ -478,7 +478,7 @@ import{a as ae,b as R}from"./MU3QJI4G.js";import{a as ie}from"./5IRT4FGE.js";imp
478
478
  role=slider
479
479
  style=${$(x)}
480
480
  tabindex=0
481
- ${L(this.storeThumbRef)}>
481
+ ${T(this.storeThumbRef)}>
482
482
  ${y}
483
483
  </div>`)}renderGraph(){return this.histogram?k`<calcite-graph
484
484
  class=${p(l.graph)}