@esri/calcite-components 5.0.0-next.72 → 5.0.0-next.74

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 (904) hide show
  1. package/dist/cdn/2375XCVM.js +4 -0
  2. package/dist/cdn/2AEK7A73.js +4 -0
  3. package/dist/cdn/{EID2ZC7N.js → 2ETOPUPD.js} +2 -2
  4. package/dist/cdn/{GY47FWQF.js → 2HAU5LNZ.js} +2 -2
  5. package/dist/cdn/2KD2QFKM.js +4 -0
  6. package/dist/cdn/{SAQKQA5U.js → 2Z24AWM5.js} +2 -2
  7. package/dist/cdn/3AN2BNRL.js +4 -0
  8. package/dist/cdn/3EH5XJU3.js +4 -0
  9. package/dist/cdn/3GSW4KV5.js +4 -0
  10. package/dist/cdn/3S63UZD3.js +4 -0
  11. package/dist/cdn/46KRA7KH.js +4 -0
  12. package/dist/cdn/{KE6ELQXD.js → 4XN5N6E3.js} +1 -1
  13. package/dist/cdn/53SC4Y3Y.js +4 -0
  14. package/dist/cdn/5PUWT7LQ.js +4 -0
  15. package/dist/cdn/{CPMHW3N5.js → 5R4JXODK.js} +2 -2
  16. package/dist/cdn/6BA2VBEJ.js +4 -0
  17. package/dist/cdn/{IWF6MXCG.js → 6CJMMAA7.js} +2 -2
  18. package/dist/cdn/6U5AZSSY.js +4 -0
  19. package/dist/cdn/6XP7FPSQ.js +4 -0
  20. package/dist/cdn/72BXKWG2.js +4 -0
  21. package/dist/cdn/{SUBZDCLT.js → 777QJZF5.js} +2 -2
  22. package/dist/cdn/7AYID5PU.js +4 -0
  23. package/dist/cdn/{RHALB54E.js → 7IBUU5CJ.js} +2 -2
  24. package/dist/cdn/{TKN3QOT7.js → 7PCD7FV7.js} +1 -1
  25. package/dist/cdn/7R4S3W2C.js +4 -0
  26. package/dist/cdn/7R54WSCE.js +4 -0
  27. package/dist/cdn/{W27IVKQB.js → 7US6JSMJ.js} +2 -2
  28. package/dist/cdn/{JMBRVULG.js → 7WAXYRSU.js} +1 -1
  29. package/dist/cdn/{TD6AD5EI.js → 7WL4SE5M.js} +2 -2
  30. package/dist/cdn/7WLAV6HY.js +4 -0
  31. package/dist/cdn/7XXOSP75.js +4 -0
  32. package/dist/cdn/{G2GOVHN3.js → A3A6X2NL.js} +2 -2
  33. package/dist/cdn/A6ZPQJXM.js +4 -0
  34. package/dist/cdn/AHTGIE6G.js +4 -0
  35. package/dist/cdn/ATKGH7IS.js +4 -0
  36. package/dist/cdn/{2AGC2E2A.js → AV5IOBRP.js} +1 -1
  37. package/dist/cdn/AV7L4UBA.js +6 -0
  38. package/dist/cdn/B5NY2355.js +4 -0
  39. package/dist/cdn/B7CHYGOH.js +4 -0
  40. package/dist/cdn/BBXTYAEW.js +4 -0
  41. package/dist/cdn/BJUYGTFX.js +4 -0
  42. package/dist/cdn/{ZO47J4SF.js → BLF7FOZ4.js} +2 -2
  43. package/dist/cdn/{FJRLFAV3.js → BMO4PIO3.js} +2 -2
  44. package/dist/cdn/{RSXQODLF.js → BO7RWDLN.js} +1 -1
  45. package/dist/cdn/{HHPE3V3P.js → BQ7EQMVM.js} +1 -1
  46. package/dist/cdn/BXGAAXJB.js +4 -0
  47. package/dist/cdn/C4GRY2N6.js +4 -0
  48. package/dist/cdn/C7Z5ZNS7.js +4 -0
  49. package/dist/cdn/CFC6PZBD.js +4 -0
  50. package/dist/cdn/{SIZHEZFC.js → CFRBGPKS.js} +2 -2
  51. package/dist/cdn/CIYA6RIS.js +4 -0
  52. package/dist/cdn/CKBBO7T6.js +4 -0
  53. package/dist/cdn/{ZECN3PBJ.js → CYEJP7UZ.js} +2 -2
  54. package/dist/cdn/{DQPHOZVE.js → DLRNBAYK.js} +2 -2
  55. package/dist/cdn/{BUCELS63.js → DNFHD6RZ.js} +2 -2
  56. package/dist/cdn/DYIFNCUK.js +4 -0
  57. package/dist/cdn/E53IBBUJ.js +4 -0
  58. package/dist/cdn/{YF2DZVME.js → E5YKMDDQ.js} +2 -2
  59. package/dist/cdn/EKW7L242.js +4 -0
  60. package/dist/cdn/{A34NQHKK.js → EPSNP35N.js} +2 -2
  61. package/dist/cdn/EXBDPRCM.js +4 -0
  62. package/dist/cdn/{27Z62B4S.js → EYVRD7GH.js} +2 -2
  63. package/dist/cdn/{GGTQSQWQ.js → EZR4TKVZ.js} +2 -2
  64. package/dist/cdn/{5FQE2VT2.js → F3R6TNQ5.js} +2 -2
  65. package/dist/cdn/{DR6OKLYZ.js → FII3JHOO.js} +1 -1
  66. package/dist/cdn/FQT5FGEM.js +4 -0
  67. package/dist/cdn/{VCL4ZW5N.js → FR2Y7QS2.js} +2 -2
  68. package/dist/cdn/FWOTIYFT.js +4 -0
  69. package/dist/cdn/{H67BYVJX.js → FY5CJC2S.js} +2 -2
  70. package/dist/cdn/{OD4IQAQI.js → G67UBCZK.js} +2 -2
  71. package/dist/cdn/GH6XBUDA.js +4 -0
  72. package/dist/cdn/GI4VYRCL.js +4 -0
  73. package/dist/cdn/GOFCATWL.js +4 -0
  74. package/dist/cdn/{6WB75II3.js → GRTFNVPD.js} +1 -1
  75. package/dist/cdn/{ZJ74HVOR.js → H4IEAPAT.js} +1 -1
  76. package/dist/cdn/HA3RMWDQ.js +4 -0
  77. package/dist/cdn/HHB32MLL.js +4 -0
  78. package/dist/cdn/HI2VSF7D.js +4 -0
  79. package/dist/cdn/HK3UQAHO.js +4 -0
  80. package/dist/cdn/HKFJSU6X.js +4 -0
  81. package/dist/cdn/HLKC3UY7.js +4 -0
  82. package/dist/cdn/HN7Z2GYY.js +4 -0
  83. package/dist/cdn/HSEB47OH.js +4 -0
  84. package/dist/cdn/IFNJXEWZ.js +4 -0
  85. package/dist/cdn/IGFUJDST.js +4 -0
  86. package/dist/cdn/{WNUZQLQE.js → IH3LZYK3.js} +2 -2
  87. package/dist/cdn/IO2ES6KG.js +4 -0
  88. package/dist/cdn/{4IZLBEPM.js → IPHCBICP.js} +2 -2
  89. package/dist/cdn/IREUAMPO.js +4 -0
  90. package/dist/cdn/ITNTZ2CQ.js +4 -0
  91. package/dist/cdn/IXB3ZPET.js +4 -0
  92. package/dist/cdn/{W5M5BHTY.js → JFQFCJXD.js} +2 -2
  93. package/dist/cdn/JGNQYPTC.js +4 -0
  94. package/dist/cdn/JJ5UTXC6.js +4 -0
  95. package/dist/cdn/{SHP6HZ4F.js → JU4MG3HE.js} +1 -1
  96. package/dist/cdn/JUGRG2UF.js +4 -0
  97. package/dist/cdn/{3W5ZYWHT.js → JUR3KAZU.js} +2 -2
  98. package/dist/cdn/{WEYLGWSU.js → KS7DYOBQ.js} +1 -1
  99. package/dist/cdn/{ZRJLSGHU.js → LB4O7HLK.js} +2 -2
  100. package/dist/cdn/{N3RKNEND.js → LQDGQWTS.js} +1 -1
  101. package/dist/cdn/{44JXDBEE.js → LUFIZ6IH.js} +2 -2
  102. package/dist/cdn/{N567VRAS.js → M2UD6ERG.js} +2 -2
  103. package/dist/cdn/{3VH4T3EI.js → M5C3MGYN.js} +2 -2
  104. package/dist/cdn/MB3DZZDW.js +4 -0
  105. package/dist/cdn/{WRAGXN7Q.js → MCMBJPA6.js} +2 -2
  106. package/dist/cdn/MJ4AOQMM.js +4 -0
  107. package/dist/cdn/{OHLCQBIC.js → MJR6BSS4.js} +2 -2
  108. package/dist/cdn/MTM45MBT.js +4 -0
  109. package/dist/cdn/MZMUXQOC.js +4 -0
  110. package/dist/cdn/{UQRII527.js → NBVWN7EK.js} +2 -2
  111. package/dist/cdn/{443RUJPF.js → NCFS6SSA.js} +2 -2
  112. package/dist/cdn/NTJ6PBIH.js +4 -0
  113. package/dist/cdn/{5VIWACFF.js → O42TMGJK.js} +2 -2
  114. package/dist/cdn/O55TIJ53.js +4 -0
  115. package/dist/cdn/{RSOLGJJV.js → OHVOYE6U.js} +2 -2
  116. package/dist/cdn/PHCANMRC.js +4 -0
  117. package/dist/cdn/PIGJ5HOE.js +4 -0
  118. package/dist/cdn/{DCPKHB47.js → PSBH4GTB.js} +1 -1
  119. package/dist/cdn/{XVQOZFUR.js → QM3DXYRV.js} +1 -1
  120. package/dist/cdn/QSHMHWTC.js +4 -0
  121. package/dist/cdn/QUTFDDR5.js +4 -0
  122. package/dist/cdn/{VBCIFWTC.js → QXU3JCRU.js} +1 -1
  123. package/dist/cdn/{HQS62SHL.js → R7LEUYDR.js} +2 -2
  124. package/dist/cdn/{SDZZBMGK.js → RESUGFNC.js} +2 -2
  125. package/dist/cdn/{KD2UN6WI.js → RHBBVOWN.js} +2 -2
  126. package/dist/cdn/{GAS7B4AA.js → RQ5CXOYU.js} +2 -2
  127. package/dist/cdn/RW7HH46K.js +4 -0
  128. package/dist/cdn/RXFO3FLJ.js +4 -0
  129. package/dist/cdn/S7XRP64G.js +4 -0
  130. package/dist/cdn/{GKUCM7CJ.js → SFTBL5PA.js} +1 -1
  131. package/dist/cdn/SJKPU6NF.js +4 -0
  132. package/dist/cdn/SM4645HQ.js +4 -0
  133. package/dist/cdn/{YFL4XZ7D.js → SNXOUIQ6.js} +2 -2
  134. package/dist/cdn/{ZCR4HC5N.js → SO6CE3FY.js} +2 -2
  135. package/dist/cdn/{NVFRV7WX.js → SOVMTSNG.js} +2 -2
  136. package/dist/cdn/{TUGRNGA3.js → SYCBIZ3L.js} +2 -2
  137. package/dist/cdn/{Y4YON7UH.js → TJMJXN62.js} +2 -2
  138. package/dist/cdn/TLQNJY62.js +4 -0
  139. package/dist/cdn/TSWOBVCO.js +4 -0
  140. package/dist/cdn/{HB2GQ2ZT.js → TZLLB5DY.js} +2 -2
  141. package/dist/cdn/{N4X2SUPH.js → U3W7QUML.js} +1 -1
  142. package/dist/cdn/UCWSOYC7.js +4 -0
  143. package/dist/cdn/{AYL37VVP.js → UJC5XP2H.js} +1 -1
  144. package/dist/cdn/{5THE6KR4.js → UQ6GEIXA.js} +2 -2
  145. package/dist/cdn/UXGZ2JJF.js +4 -0
  146. package/dist/cdn/UYF4A3HX.js +4 -0
  147. package/dist/cdn/{FLRMDNB3.js → V563Z72W.js} +1 -1
  148. package/dist/cdn/V77W63CS.js +4 -0
  149. package/dist/cdn/{2J5QIOQO.js → VKSF6MXC.js} +2 -2
  150. package/dist/cdn/VPQKVJQQ.js +4 -0
  151. package/dist/cdn/VZEBTLI4.js +4 -0
  152. package/dist/cdn/{KQYSUPD4.js → W7BILVDR.js} +2 -2
  153. package/dist/cdn/WECKEBH5.js +4 -0
  154. package/dist/cdn/WPAMRSZA.js +4 -0
  155. package/dist/cdn/WPJFMCX2.js +4 -0
  156. package/dist/cdn/{4F7SREIE.js → WUQLDFYJ.js} +2 -2
  157. package/dist/cdn/{HMOGV7KN.js → X7TGPXU3.js} +1 -1
  158. package/dist/cdn/{IYLXQNN2.js → XBC42ZK6.js} +1 -1
  159. package/dist/cdn/{UDFAE3GX.js → XDF3XML4.js} +1 -1
  160. package/dist/cdn/{AS7O44LO.js → XL6MDXH4.js} +1 -1
  161. package/dist/cdn/{EWTYHCAD.js → XWG6YFT3.js} +2 -2
  162. package/dist/cdn/{OVSU2B6W.js → XYXIQ2VY.js} +2 -2
  163. package/dist/cdn/{AGOTCJQO.js → YEA4ZE2P.js} +2 -2
  164. package/dist/cdn/YRA7WKPH.js +4 -0
  165. package/dist/cdn/{K3AZDUKB.js → YSVYXVUV.js} +2 -2
  166. package/dist/cdn/{Q2BZML3I.js → Z5NECB2Q.js} +2 -2
  167. package/dist/cdn/{SH7PLKMA.js → ZA4YMZJW.js} +2 -2
  168. package/dist/cdn/ZB4O7MXT.js +4 -0
  169. package/dist/cdn/ZHGBDUH7.js +4 -0
  170. package/dist/cdn/{4KTW44HR.js → ZIHWRZLV.js} +1 -1
  171. package/dist/cdn/ZPXFDFLJ.js +4 -0
  172. package/dist/cdn/{V6MU7CUF.js → ZQAOUB3H.js} +1 -1
  173. package/dist/cdn/ZTLZHJWE.js +4 -0
  174. package/dist/cdn/{J2UFOIPQ.js → ZW6R3CDI.js} +2 -2
  175. package/dist/cdn/index.js +3 -3
  176. package/dist/cdn/main.css +1 -1
  177. package/dist/chunks/ExpandToggle.js +3 -3
  178. package/dist/chunks/FloatingArrow.js +1 -1
  179. package/dist/chunks/Heading.js +1 -1
  180. package/dist/chunks/InternalLabel.js +1 -1
  181. package/dist/chunks/Validation.js +1 -1
  182. package/dist/chunks/array.js +1 -1
  183. package/dist/chunks/component.js +1 -1
  184. package/dist/chunks/core.js +5 -5
  185. package/dist/chunks/date.js +12 -12
  186. package/dist/chunks/dom.js +27 -27
  187. package/dist/chunks/dynamicClasses.js +1 -1
  188. package/dist/chunks/filter.js +1 -1
  189. package/dist/chunks/floating-ui.js +4 -4
  190. package/dist/chunks/form.js +2 -2
  191. package/dist/chunks/global.js +1 -1
  192. package/dist/chunks/guid.js +1 -1
  193. package/dist/chunks/header.js +1 -1
  194. package/dist/chunks/input.js +1 -1
  195. package/dist/chunks/interact.min.js +1 -1
  196. package/dist/chunks/key.js +1 -1
  197. package/dist/chunks/label.js +2 -2
  198. package/dist/chunks/locale.js +3 -3
  199. package/dist/chunks/logger.js +2 -2
  200. package/dist/chunks/math.js +1 -1
  201. package/dist/chunks/observers.js +1 -1
  202. package/dist/chunks/openCloseComponent.js +2 -2
  203. package/dist/chunks/resources.js +17 -12
  204. package/dist/chunks/resources2.js +8 -16
  205. package/dist/chunks/resources3.js +14 -53
  206. package/dist/chunks/resources4.js +57 -14
  207. package/dist/chunks/resources5.js +44 -50
  208. package/dist/chunks/resources6.js +10 -54
  209. package/dist/chunks/resources7.js +12 -10
  210. package/dist/chunks/resources8.js +55 -8
  211. package/dist/chunks/responsive.js +1 -1
  212. package/dist/chunks/runtime.js +8 -8
  213. package/dist/chunks/sortable.js +1 -1
  214. package/dist/chunks/sortableComponent.js +1 -1
  215. package/dist/chunks/text.js +1 -1
  216. package/dist/chunks/useCancelable.js +1 -1
  217. package/dist/chunks/useFocusTrap.js +3 -3
  218. package/dist/chunks/useInteractive.js +1 -1
  219. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  220. package/dist/chunks/useSetFocus.js +2 -2
  221. package/dist/chunks/useT9n.js +1 -1
  222. package/dist/chunks/useTime.js +2 -2
  223. package/dist/chunks/useTopLayer.js +1 -1
  224. package/dist/chunks/utils.js +18 -18
  225. package/dist/chunks/utils2.js +47 -42
  226. package/dist/chunks/utils3.js +2 -2
  227. package/dist/chunks/utils4.js +42 -47
  228. package/dist/components/calcite-accordion/customElement.d.ts +48 -42
  229. package/dist/components/calcite-accordion/customElement.js +1 -1
  230. package/dist/components/calcite-accordion-item/customElement.d.ts +62 -48
  231. package/dist/components/calcite-accordion-item/customElement.js +2 -2
  232. package/dist/components/calcite-accordion-item/index.d.ts +0 -1
  233. package/dist/components/calcite-action/customElement.d.ts +131 -119
  234. package/dist/components/calcite-action/customElement.js +1 -1
  235. package/dist/components/calcite-action/index.d.ts +0 -2
  236. package/dist/components/calcite-action-bar/customElement.d.ts +100 -90
  237. package/dist/components/calcite-action-bar/customElement.js +5 -4
  238. package/dist/components/calcite-action-bar/index.d.ts +0 -2
  239. package/dist/components/calcite-action-group/customElement.d.ts +93 -82
  240. package/dist/components/calcite-action-group/customElement.js +7 -6
  241. package/dist/components/calcite-action-group/index.d.ts +0 -2
  242. package/dist/components/calcite-action-group/interfaces.d.ts +1 -1
  243. package/dist/components/calcite-action-menu/customElement.d.ts +81 -69
  244. package/dist/components/calcite-action-menu/customElement.js +6 -7
  245. package/dist/components/calcite-action-menu/index.d.ts +0 -2
  246. package/dist/components/calcite-action-pad/customElement.d.ts +86 -78
  247. package/dist/components/calcite-action-pad/customElement.js +5 -4
  248. package/dist/components/calcite-action-pad/index.d.ts +0 -2
  249. package/dist/components/calcite-alert/customElement.d.ts +106 -102
  250. package/dist/components/calcite-alert/customElement.js +3 -3
  251. package/dist/components/calcite-alert/index.d.ts +0 -3
  252. package/dist/components/calcite-alert/interfaces.d.ts +2 -1
  253. package/dist/components/calcite-autocomplete/customElement.d.ts +247 -230
  254. package/dist/components/calcite-autocomplete/customElement.js +4 -4
  255. package/dist/components/calcite-autocomplete/index.d.ts +0 -2
  256. package/dist/components/calcite-autocomplete-item/customElement.d.ts +38 -31
  257. package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
  258. package/dist/components/calcite-autocomplete-item/index.d.ts +0 -1
  259. package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +24 -20
  260. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  261. package/dist/components/calcite-avatar/customElement.d.ts +25 -20
  262. package/dist/components/calcite-avatar/customElement.js +3 -3
  263. package/dist/components/calcite-avatar/index.d.ts +0 -1
  264. package/dist/components/calcite-block/customElement.d.ts +175 -151
  265. package/dist/components/calcite-block/customElement.js +6 -5
  266. package/dist/components/calcite-block/index.d.ts +0 -5
  267. package/dist/components/calcite-block-group/customElement.d.ts +78 -77
  268. package/dist/components/calcite-block-group/customElement.js +2 -2
  269. package/dist/components/calcite-block-group/index.d.ts +0 -1
  270. package/dist/components/calcite-block-group/interfaces.d.ts +8 -13
  271. package/dist/components/calcite-block-section/customElement.d.ts +81 -75
  272. package/dist/components/calcite-block-section/customElement.js +2 -2
  273. package/dist/components/calcite-block-section/index.d.ts +0 -2
  274. package/dist/components/calcite-block-section/interfaces.d.ts +1 -1
  275. package/dist/components/calcite-button/customElement.d.ts +121 -123
  276. package/dist/components/calcite-button/customElement.js +2 -2
  277. package/dist/components/calcite-button/index.d.ts +0 -2
  278. package/dist/components/calcite-button/interfaces.d.ts +2 -1
  279. package/dist/components/calcite-card/customElement.d.ts +66 -56
  280. package/dist/components/calcite-card/customElement.js +2 -2
  281. package/dist/components/calcite-card/index.d.ts +0 -4
  282. package/dist/components/calcite-card-group/customElement.d.ts +42 -37
  283. package/dist/components/calcite-card-group/customElement.js +2 -2
  284. package/dist/components/calcite-carousel/customElement.d.ts +87 -91
  285. package/dist/components/calcite-carousel/customElement.js +2 -2
  286. package/dist/components/calcite-carousel/index.d.ts +0 -2
  287. package/dist/components/calcite-carousel/interfaces.d.ts +2 -1
  288. package/dist/components/calcite-carousel-item/customElement.d.ts +15 -15
  289. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  290. package/dist/components/calcite-checkbox/customElement.d.ts +86 -88
  291. package/dist/components/calcite-checkbox/customElement.js +1 -1
  292. package/dist/components/calcite-chip/customElement.d.ts +95 -90
  293. package/dist/components/calcite-chip/customElement.js +2 -2
  294. package/dist/components/calcite-chip/index.d.ts +0 -2
  295. package/dist/components/calcite-chip-group/customElement.d.ts +51 -50
  296. package/dist/components/calcite-chip-group/customElement.js +2 -2
  297. package/dist/components/calcite-color-picker/customElement.d.ts +139 -141
  298. package/dist/components/calcite-color-picker/customElement.js +3 -3
  299. package/dist/components/calcite-color-picker/index.d.ts +0 -9
  300. package/dist/components/calcite-color-picker/interfaces.d.ts +24 -19
  301. package/dist/components/calcite-color-picker/utils.d.ts +12 -36
  302. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +48 -49
  303. package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -2
  304. package/dist/components/calcite-color-picker-hex-input/index.d.ts +0 -2
  305. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +22 -23
  306. package/dist/components/calcite-color-picker-swatch/customElement.js +3 -3
  307. package/dist/components/calcite-combobox/customElement.d.ts +227 -233
  308. package/dist/components/calcite-combobox/customElement.js +6 -6
  309. package/dist/components/calcite-combobox/index.d.ts +0 -4
  310. package/dist/components/calcite-combobox/interfaces.d.ts +6 -15
  311. package/dist/components/calcite-combobox-item/customElement.d.ts +78 -69
  312. package/dist/components/calcite-combobox-item/customElement.js +4 -4
  313. package/dist/components/calcite-combobox-item/index.d.ts +0 -1
  314. package/dist/components/calcite-combobox-item-group/customElement.d.ts +24 -21
  315. package/dist/components/calcite-combobox-item-group/customElement.js +2 -2
  316. package/dist/components/calcite-date-picker/customElement.d.ts +117 -95
  317. package/dist/components/calcite-date-picker/customElement.js +2 -2
  318. package/dist/components/calcite-date-picker/index.d.ts +0 -1
  319. package/dist/components/calcite-date-picker-day/customElement.d.ts +75 -76
  320. package/dist/components/calcite-date-picker-day/customElement.js +3 -3
  321. package/dist/components/calcite-date-picker-month/customElement.d.ts +38 -41
  322. package/dist/components/calcite-date-picker-month/customElement.js +2 -2
  323. package/dist/components/calcite-date-picker-month/index.d.ts +0 -2
  324. package/dist/components/calcite-date-picker-month-header/customElement.js +3 -3
  325. package/dist/components/calcite-dialog/customElement.d.ts +218 -193
  326. package/dist/components/calcite-dialog/customElement.js +5 -5
  327. package/dist/components/calcite-dialog/index.d.ts +0 -2
  328. package/dist/components/calcite-dialog/interfaces.d.ts +1 -11
  329. package/dist/components/calcite-dropdown/customElement.d.ts +126 -120
  330. package/dist/components/calcite-dropdown/customElement.js +3 -3
  331. package/dist/components/calcite-dropdown-group/customElement.d.ts +30 -28
  332. package/dist/components/calcite-dropdown-group/customElement.js +2 -2
  333. package/dist/components/calcite-dropdown-item/customElement.d.ts +56 -48
  334. package/dist/components/calcite-dropdown-item/customElement.js +2 -2
  335. package/dist/components/calcite-dropdown-item/index.d.ts +0 -1
  336. package/dist/components/calcite-fab/customElement.d.ts +72 -65
  337. package/dist/components/calcite-fab/customElement.js +1 -1
  338. package/dist/components/calcite-fab/index.d.ts +0 -1
  339. package/dist/components/calcite-filter/customElement.d.ts +75 -64
  340. package/dist/components/calcite-filter/customElement.js +1 -1
  341. package/dist/components/calcite-filter/index.d.ts +0 -1
  342. package/dist/components/calcite-flow/customElement.d.ts +23 -22
  343. package/dist/components/calcite-flow/customElement.js +2 -2
  344. package/dist/components/calcite-flow/interfaces.d.ts +6 -4
  345. package/dist/components/calcite-flow/types/index.d.ts +2 -1
  346. package/dist/components/calcite-flow-item/customElement.d.ts +177 -143
  347. package/dist/components/calcite-flow-item/customElement.js +5 -4
  348. package/dist/components/calcite-flow-item/index.d.ts +0 -2
  349. package/dist/components/calcite-graph/customElement.d.ts +31 -30
  350. package/dist/components/calcite-graph/customElement.js +1 -1
  351. package/dist/components/calcite-graph/interfaces.d.ts +10 -19
  352. package/dist/components/calcite-handle/customElement.d.ts +51 -49
  353. package/dist/components/calcite-handle/customElement.js +1 -1
  354. package/dist/components/calcite-handle/index.d.ts +0 -1
  355. package/dist/components/calcite-handle/interfaces.d.ts +2 -5
  356. package/dist/components/calcite-icon/customElement.d.ts +39 -36
  357. package/dist/components/calcite-icon/customElement.js +1 -1
  358. package/dist/components/calcite-icon/interfaces.d.ts +9 -6
  359. package/dist/components/calcite-inline-editable/customElement.d.ts +66 -63
  360. package/dist/components/calcite-inline-editable/customElement.js +2 -2
  361. package/dist/components/calcite-inline-editable/index.d.ts +0 -1
  362. package/dist/components/calcite-input/customElement.d.ts +243 -231
  363. package/dist/components/calcite-input/customElement.js +4 -4
  364. package/dist/components/calcite-input/index.d.ts +0 -3
  365. package/dist/components/calcite-input/interfaces.d.ts +1 -4
  366. package/dist/components/calcite-input-date-picker/customElement.d.ts +233 -209
  367. package/dist/components/calcite-input-date-picker/customElement.js +4 -4
  368. package/dist/components/calcite-input-date-picker/index.d.ts +0 -4
  369. package/dist/components/calcite-input-message/customElement.d.ts +28 -26
  370. package/dist/components/calcite-input-message/customElement.js +2 -2
  371. package/dist/components/calcite-input-message/index.d.ts +0 -1
  372. package/dist/components/calcite-input-number/customElement.d.ts +217 -204
  373. package/dist/components/calcite-input-number/customElement.js +4 -4
  374. package/dist/components/calcite-input-number/index.d.ts +0 -3
  375. package/dist/components/calcite-input-text/customElement.d.ts +180 -167
  376. package/dist/components/calcite-input-text/customElement.js +3 -3
  377. package/dist/components/calcite-input-text/index.d.ts +0 -3
  378. package/dist/components/calcite-input-time-picker/customElement.d.ts +196 -195
  379. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  380. package/dist/components/calcite-input-time-picker/index.d.ts +0 -4
  381. package/dist/components/calcite-input-time-zone/customElement.d.ts +762 -1363
  382. package/dist/components/calcite-input-time-zone/customElement.js +5 -4
  383. package/dist/components/calcite-input-time-zone/index.d.ts +0 -3
  384. package/dist/components/calcite-input-time-zone/interfaces.d.ts +2 -24
  385. package/dist/components/calcite-label/customElement.d.ts +29 -26
  386. package/dist/components/calcite-label/customElement.js +1 -1
  387. package/dist/components/calcite-link/customElement.d.ts +39 -39
  388. package/dist/components/calcite-link/customElement.js +1 -1
  389. package/dist/components/calcite-link/index.d.ts +0 -1
  390. package/dist/components/calcite-list/customElement.d.ts +180 -181
  391. package/dist/components/calcite-list/customElement.js +4 -4
  392. package/dist/components/calcite-list/index.d.ts +0 -3
  393. package/dist/components/calcite-list/interfaces.d.ts +9 -15
  394. package/dist/components/calcite-list/resources.d.ts +1 -16
  395. package/dist/components/calcite-list-item/customElement.d.ts +141 -125
  396. package/dist/components/calcite-list-item/customElement.js +7 -6
  397. package/dist/components/calcite-list-item/index.d.ts +0 -3
  398. package/dist/components/calcite-list-item/interfaces.d.ts +8 -7
  399. package/dist/components/calcite-list-item-group/customElement.d.ts +24 -20
  400. package/dist/components/calcite-list-item-group/customElement.js +2 -2
  401. package/dist/components/calcite-loader/customElement.d.ts +57 -43
  402. package/dist/components/calcite-loader/customElement.js +1 -1
  403. package/dist/components/calcite-menu/customElement.d.ts +25 -32
  404. package/dist/components/calcite-menu/customElement.js +2 -2
  405. package/dist/components/calcite-menu-item/customElement.d.ts +76 -72
  406. package/dist/components/calcite-menu-item/customElement.js +2 -2
  407. package/dist/components/calcite-menu-item/index.d.ts +0 -3
  408. package/dist/components/calcite-meter/customElement.d.ts +114 -109
  409. package/dist/components/calcite-meter/customElement.js +2 -2
  410. package/dist/components/calcite-meter/interfaces.d.ts +2 -1
  411. package/dist/components/calcite-navigation/customElement.d.ts +27 -21
  412. package/dist/components/calcite-navigation/customElement.js +2 -2
  413. package/dist/components/calcite-navigation/index.d.ts +0 -1
  414. package/dist/components/calcite-navigation-logo/customElement.d.ts +56 -51
  415. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  416. package/dist/components/calcite-navigation-logo/index.d.ts +0 -1
  417. package/dist/components/calcite-navigation-user/customElement.d.ts +40 -33
  418. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  419. package/dist/components/calcite-navigation-user/index.d.ts +0 -1
  420. package/dist/components/calcite-notice/customElement.d.ts +84 -73
  421. package/dist/components/calcite-notice/customElement.js +3 -3
  422. package/dist/components/calcite-notice/index.d.ts +0 -2
  423. package/dist/components/calcite-option/customElement.d.ts +19 -20
  424. package/dist/components/calcite-option/customElement.js +1 -1
  425. package/dist/components/calcite-option-group/customElement.d.ts +15 -16
  426. package/dist/components/calcite-option-group/customElement.js +1 -1
  427. package/dist/components/calcite-pagination/customElement.d.ts +74 -77
  428. package/dist/components/calcite-pagination/customElement.js +1 -1
  429. package/dist/components/calcite-pagination/index.d.ts +0 -1
  430. package/dist/components/calcite-panel/customElement.d.ts +168 -142
  431. package/dist/components/calcite-panel/customElement.js +9 -8
  432. package/dist/components/calcite-panel/index.d.ts +0 -4
  433. package/dist/components/calcite-popover/customElement.d.ts +167 -162
  434. package/dist/components/calcite-popover/customElement.js +3 -3
  435. package/dist/components/calcite-popover/index.d.ts +0 -1
  436. package/dist/components/calcite-progress/customElement.d.ts +32 -27
  437. package/dist/components/calcite-progress/customElement.js +1 -1
  438. package/dist/components/calcite-radio-button/customElement.d.ts +68 -68
  439. package/dist/components/calcite-radio-button/customElement.js +1 -1
  440. package/dist/components/calcite-radio-button-group/customElement.d.ts +67 -69
  441. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  442. package/dist/components/calcite-radio-button-group/index.d.ts +0 -1
  443. package/dist/components/calcite-rating/customElement.d.ts +90 -91
  444. package/dist/components/calcite-rating/customElement.js +1 -1
  445. package/dist/components/calcite-rating/index.d.ts +0 -3
  446. package/dist/components/calcite-scrim/customElement.d.ts +15 -18
  447. package/dist/components/calcite-scrim/customElement.js +2 -2
  448. package/dist/components/calcite-scrim/index.d.ts +0 -1
  449. package/dist/components/calcite-segmented-control/customElement.d.ts +89 -98
  450. package/dist/components/calcite-segmented-control/customElement.js +2 -2
  451. package/dist/components/calcite-segmented-control/index.d.ts +0 -1
  452. package/dist/components/calcite-segmented-control-item/customElement.d.ts +29 -24
  453. package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
  454. package/dist/components/calcite-segmented-control-item/index.d.ts +0 -1
  455. package/dist/components/calcite-select/customElement.d.ts +90 -92
  456. package/dist/components/calcite-select/customElement.js +1 -1
  457. package/dist/components/calcite-select/index.d.ts +0 -2
  458. package/dist/components/calcite-sheet/customElement.d.ts +142 -127
  459. package/dist/components/calcite-sheet/customElement.js +3 -3
  460. package/dist/components/calcite-sheet/index.d.ts +0 -2
  461. package/dist/components/calcite-sheet/interfaces.d.ts +1 -9
  462. package/dist/components/calcite-shell/customElement.d.ts +10 -10
  463. package/dist/components/calcite-shell/customElement.js +2 -2
  464. package/dist/components/calcite-shell-panel/customElement.d.ts +91 -81
  465. package/dist/components/calcite-shell-panel/customElement.js +3 -3
  466. package/dist/components/calcite-shell-panel/index.d.ts +0 -1
  467. package/dist/components/calcite-shell-panel/interfaces.d.ts +1 -9
  468. package/dist/components/calcite-slider/customElement.d.ts +194 -192
  469. package/dist/components/calcite-slider/customElement.js +2 -2
  470. package/dist/components/calcite-slider/index.d.ts +0 -2
  471. package/dist/components/calcite-sort-handle/customElement.d.ts +111 -106
  472. package/dist/components/calcite-sort-handle/customElement.js +5 -4
  473. package/dist/components/calcite-sort-handle/index.d.ts +0 -4
  474. package/dist/components/calcite-sort-handle/interfaces.d.ts +11 -7
  475. package/dist/components/calcite-sortable-list/customElement.d.ts +46 -44
  476. package/dist/components/calcite-sortable-list/customElement.js +2 -2
  477. package/dist/components/calcite-split-button/customElement.d.ts +141 -114
  478. package/dist/components/calcite-split-button/customElement.js +4 -3
  479. package/dist/components/calcite-split-button/index.d.ts +0 -2
  480. package/dist/components/calcite-stack/customElement.d.ts +11 -9
  481. package/dist/components/calcite-stack/customElement.js +3 -3
  482. package/dist/components/calcite-stepper/customElement.d.ts +68 -65
  483. package/dist/components/calcite-stepper/customElement.js +2 -2
  484. package/dist/components/calcite-stepper/index.d.ts +0 -1
  485. package/dist/components/calcite-stepper/interfaces.d.ts +1 -10
  486. package/dist/components/calcite-stepper-item/customElement.d.ts +76 -63
  487. package/dist/components/calcite-stepper-item/customElement.js +2 -2
  488. package/dist/components/calcite-stepper-item/index.d.ts +0 -1
  489. package/dist/components/calcite-swatch/customElement.d.ts +51 -48
  490. package/dist/components/calcite-swatch/customElement.js +3 -3
  491. package/dist/components/calcite-swatch-group/customElement.d.ts +54 -50
  492. package/dist/components/calcite-swatch-group/customElement.js +2 -2
  493. package/dist/components/calcite-switch/customElement.d.ts +59 -55
  494. package/dist/components/calcite-switch/customElement.js +1 -1
  495. package/dist/components/calcite-tab/customElement.d.ts +24 -21
  496. package/dist/components/calcite-tab/customElement.js +2 -2
  497. package/dist/components/calcite-tab-nav/customElement.d.ts +35 -33
  498. package/dist/components/calcite-tab-nav/customElement.js +3 -3
  499. package/dist/components/calcite-tab-nav/index.d.ts +0 -1
  500. package/dist/components/calcite-tab-title/customElement.d.ts +79 -66
  501. package/dist/components/calcite-tab-title/customElement.js +3 -3
  502. package/dist/components/calcite-tab-title/index.d.ts +0 -2
  503. package/dist/components/calcite-table/customElement.d.ts +145 -109
  504. package/dist/components/calcite-table/customElement.js +1 -1
  505. package/dist/components/calcite-table/index.d.ts +0 -3
  506. package/dist/components/calcite-table/interfaces.d.ts +3 -9
  507. package/dist/components/calcite-table-cell/customElement.d.ts +36 -40
  508. package/dist/components/calcite-table-cell/customElement.js +1 -1
  509. package/dist/components/calcite-table-header/customElement.d.ts +41 -45
  510. package/dist/components/calcite-table-header/customElement.js +1 -1
  511. package/dist/components/calcite-table-header/index.d.ts +0 -1
  512. package/dist/components/calcite-table-row/customElement.d.ts +32 -24
  513. package/dist/components/calcite-table-row/customElement.js +2 -2
  514. package/dist/components/calcite-table-row/index.d.ts +0 -3
  515. package/dist/components/calcite-tabs/customElement.d.ts +31 -32
  516. package/dist/components/calcite-tabs/customElement.js +2 -2
  517. package/dist/components/calcite-tabs/interfaces.d.ts +2 -2
  518. package/dist/components/calcite-text-area/customElement.d.ts +173 -170
  519. package/dist/components/calcite-text-area/customElement.js +2 -2
  520. package/dist/components/calcite-text-area/index.d.ts +0 -2
  521. package/dist/components/calcite-tile/customElement.d.ts +85 -75
  522. package/dist/components/calcite-tile/customElement.js +2 -2
  523. package/dist/components/calcite-tile/index.d.ts +0 -2
  524. package/dist/components/calcite-tile-group/customElement.d.ts +65 -64
  525. package/dist/components/calcite-tile-group/customElement.js +2 -2
  526. package/dist/components/calcite-time-picker/customElement.d.ts +76 -81
  527. package/dist/components/calcite-time-picker/customElement.js +1 -1
  528. package/dist/components/calcite-time-picker/index.d.ts +0 -1
  529. package/dist/components/calcite-tooltip/customElement.d.ts +97 -86
  530. package/dist/components/calcite-tooltip/customElement.js +3 -3
  531. package/dist/components/calcite-tree/customElement.d.ts +44 -42
  532. package/dist/components/calcite-tree/customElement.js +2 -2
  533. package/dist/components/calcite-tree-item/customElement.d.ts +43 -37
  534. package/dist/components/calcite-tree-item/customElement.js +2 -2
  535. package/dist/components/calcite-tree-item/index.d.ts +0 -1
  536. package/dist/components/functional/Heading.d.ts +1 -11
  537. package/dist/components/interfaces.d.ts +21 -17
  538. package/dist/controllers/useFocusTrap.d.ts +14 -88
  539. package/dist/controllers/useTime.d.ts +132 -158
  540. package/dist/docs/api.json +1 -56150
  541. package/dist/docs/docs.json +1 -47351
  542. package/dist/docs/vscode.css-custom-data.json +1 -2935
  543. package/dist/docs/vscode.html-custom-data.json +1 -9179
  544. package/dist/docs/web-types.json +1 -21826
  545. package/dist/index.d.ts +579 -1339
  546. package/dist/index.js +1 -1
  547. package/dist/loader.js +21 -21
  548. package/dist/types/components.d.ts +1 -0
  549. package/dist/types/lumina.d.ts +399 -399
  550. package/dist/types/preact.d.ts +399 -399
  551. package/dist/types/react.d.ts +399 -399
  552. package/dist/types/stencil.d.ts +399 -399
  553. package/dist/utils/config.d.ts +23 -25
  554. package/dist/utils/date.d.ts +4 -144
  555. package/dist/utils/dom.d.ts +13 -362
  556. package/dist/utils/floating-ui.d.ts +30 -176
  557. package/dist/utils/form.d.ts +3 -176
  558. package/dist/utils/locale.d.ts +7 -139
  559. package/dist/utils/logger.d.ts +1 -34
  560. package/dist/utils/sortableComponent.d.ts +6 -83
  561. package/dist/utils/time.d.ts +3 -85
  562. package/package.json +4 -4
  563. package/dist/cdn/2HFAAZTO.js +0 -4
  564. package/dist/cdn/2I4ATSWE.js +0 -4
  565. package/dist/cdn/2OY45PJT.js +0 -4
  566. package/dist/cdn/35RFJ5AR.js +0 -4
  567. package/dist/cdn/372INA47.js +0 -4
  568. package/dist/cdn/47UT3I3E.js +0 -4
  569. package/dist/cdn/5CUIYPOR.js +0 -4
  570. package/dist/cdn/5EIZAACQ.js +0 -4
  571. package/dist/cdn/6MCU7SX2.js +0 -4
  572. package/dist/cdn/7QQ5BSLI.js +0 -4
  573. package/dist/cdn/7WXMJLLU.js +0 -4
  574. package/dist/cdn/A2BMBHS3.js +0 -4
  575. package/dist/cdn/AHNYZFXI.js +0 -4
  576. package/dist/cdn/AS2G3D26.js +0 -4
  577. package/dist/cdn/AUZNPGEZ.js +0 -4
  578. package/dist/cdn/AWXWONBR.js +0 -4
  579. package/dist/cdn/B6M4Z2HO.js +0 -4
  580. package/dist/cdn/B6RTRHMX.js +0 -4
  581. package/dist/cdn/BAA6VTP5.js +0 -4
  582. package/dist/cdn/BBLLPSX5.js +0 -4
  583. package/dist/cdn/BFYLXRLX.js +0 -4
  584. package/dist/cdn/BQ4CS4F7.js +0 -4
  585. package/dist/cdn/CO22OFBZ.js +0 -4
  586. package/dist/cdn/CQNZ5ATE.js +0 -4
  587. package/dist/cdn/DCE225YX.js +0 -4
  588. package/dist/cdn/DNQP4PS6.js +0 -4
  589. package/dist/cdn/DOQSZTI6.js +0 -4
  590. package/dist/cdn/EGBV4NHV.js +0 -4
  591. package/dist/cdn/EMTATC4P.js +0 -4
  592. package/dist/cdn/ES5MO4ES.js +0 -4
  593. package/dist/cdn/FGBGC73H.js +0 -4
  594. package/dist/cdn/FKX7SDEV.js +0 -4
  595. package/dist/cdn/FRXSKQA2.js +0 -4
  596. package/dist/cdn/G6APIJDA.js +0 -4
  597. package/dist/cdn/GZMCRL2R.js +0 -4
  598. package/dist/cdn/HD5WG7ZY.js +0 -4
  599. package/dist/cdn/HJX43SUP.js +0 -4
  600. package/dist/cdn/HSZUTMKA.js +0 -4
  601. package/dist/cdn/J3GJJNXH.js +0 -4
  602. package/dist/cdn/J3HNS3RZ.js +0 -4
  603. package/dist/cdn/JWABES6D.js +0 -4
  604. package/dist/cdn/K2S5PVCI.js +0 -4
  605. package/dist/cdn/KJCHEWAL.js +0 -4
  606. package/dist/cdn/KKGKTAKU.js +0 -4
  607. package/dist/cdn/KMWJIIC3.js +0 -4
  608. package/dist/cdn/KTAAH254.js +0 -4
  609. package/dist/cdn/KTDO5SNN.js +0 -4
  610. package/dist/cdn/LF5IEQJP.js +0 -4
  611. package/dist/cdn/LRSCQ6YR.js +0 -4
  612. package/dist/cdn/LS5EUB3C.js +0 -4
  613. package/dist/cdn/M4EKS42T.js +0 -4
  614. package/dist/cdn/M67KIEKG.js +0 -4
  615. package/dist/cdn/MDSMEJJ3.js +0 -4
  616. package/dist/cdn/MEAN6JGQ.js +0 -4
  617. package/dist/cdn/MK3IUHB2.js +0 -4
  618. package/dist/cdn/MWEBU3FS.js +0 -4
  619. package/dist/cdn/MZLFAJEF.js +0 -4
  620. package/dist/cdn/N4GVSAZA.js +0 -4
  621. package/dist/cdn/NRJ54UC7.js +0 -4
  622. package/dist/cdn/OCN43BDV.js +0 -6
  623. package/dist/cdn/OPY7Q4TW.js +0 -4
  624. package/dist/cdn/P4CPH2QP.js +0 -4
  625. package/dist/cdn/Q74VTXIZ.js +0 -4
  626. package/dist/cdn/QCYHN5ID.js +0 -4
  627. package/dist/cdn/QIQJVJGJ.js +0 -4
  628. package/dist/cdn/QVKM6C62.js +0 -4
  629. package/dist/cdn/RA2KN42B.js +0 -4
  630. package/dist/cdn/RKAQME4Q.js +0 -4
  631. package/dist/cdn/SCEWR6OM.js +0 -4
  632. package/dist/cdn/TNP47VNC.js +0 -4
  633. package/dist/cdn/TVDR266V.js +0 -4
  634. package/dist/cdn/ULDANNO6.js +0 -4
  635. package/dist/cdn/UMR57GAV.js +0 -4
  636. package/dist/cdn/UPPDXPBZ.js +0 -4
  637. package/dist/cdn/VJATAAWA.js +0 -4
  638. package/dist/cdn/VSTDNGSU.js +0 -4
  639. package/dist/cdn/XE2TLPDQ.js +0 -4
  640. package/dist/cdn/XLDPYTFP.js +0 -4
  641. package/dist/cdn/XLRNHSEI.js +0 -4
  642. package/dist/cdn/XTVRXYU2.js +0 -4
  643. package/dist/cdn/XXNQVKV3.js +0 -4
  644. package/dist/cdn/YBMCIF6H.js +0 -4
  645. package/dist/cdn/YF3IQYEN.js +0 -4
  646. package/dist/cdn/YMLDOIVX.js +0 -4
  647. package/dist/cdn/YXM2I7DP.js +0 -4
  648. package/dist/cdn/Z2QAZFGD.js +0 -4
  649. package/dist/cdn/Z4SY6Y6G.js +0 -4
  650. package/dist/cdn/ZPKX6H36.js +0 -4
  651. package/dist/cdn/ZWHTMGLN.js +0 -4
  652. package/dist/components/calcite-accordion/interfaces.d.ts +0 -4
  653. package/dist/components/calcite-accordion/resources.d.ts +0 -4
  654. package/dist/components/calcite-accordion-item/interfaces.d.ts +0 -9
  655. package/dist/components/calcite-accordion-item/resources.d.ts +0 -35
  656. package/dist/components/calcite-action/resources.d.ts +0 -17
  657. package/dist/components/calcite-action-bar/resources.d.ts +0 -8
  658. package/dist/components/calcite-action-bar/utils.d.ts +0 -9
  659. package/dist/components/calcite-action-group/resources.d.ts +0 -9
  660. package/dist/components/calcite-action-menu/resources.d.ts +0 -15
  661. package/dist/components/calcite-action-pad/resources.d.ts +0 -7
  662. package/dist/components/calcite-alert/AlertManager.d.ts +0 -9
  663. package/dist/components/calcite-alert/resources.d.ts +0 -33
  664. package/dist/components/calcite-autocomplete/resources.d.ts +0 -20
  665. package/dist/components/calcite-autocomplete-item/resources.d.ts +0 -18
  666. package/dist/components/calcite-autocomplete-item-group/resources.d.ts +0 -9
  667. package/dist/components/calcite-avatar/resources.d.ts +0 -6
  668. package/dist/components/calcite-avatar/utils.d.ts +0 -20
  669. package/dist/components/calcite-block/resources.d.ts +0 -38
  670. package/dist/components/calcite-block/utils.d.ts +0 -2
  671. package/dist/components/calcite-block-group/resources.d.ts +0 -8
  672. package/dist/components/calcite-block-group/utils.d.ts +0 -2
  673. package/dist/components/calcite-block-section/resources.d.ts +0 -21
  674. package/dist/components/calcite-button/resources.d.ts +0 -14
  675. package/dist/components/calcite-card/resources.d.ts +0 -23
  676. package/dist/components/calcite-card-group/resources.d.ts +0 -4
  677. package/dist/components/calcite-carousel/resources.d.ts +0 -33
  678. package/dist/components/calcite-carousel-item/resources.d.ts +0 -7
  679. package/dist/components/calcite-checkbox/resources.d.ts +0 -4
  680. package/dist/components/calcite-chip/resources.d.ts +0 -23
  681. package/dist/components/calcite-color-picker/resources.d.ts +0 -93
  682. package/dist/components/calcite-color-picker-hex-input/resources.d.ts +0 -5
  683. package/dist/components/calcite-color-picker-swatch/resources.d.ts +0 -17
  684. package/dist/components/calcite-combobox/resources.d.ts +0 -48
  685. package/dist/components/calcite-combobox/utils.d.ts +0 -10
  686. package/dist/components/calcite-combobox-item/resources.d.ts +0 -22
  687. package/dist/components/calcite-combobox-item-group/resources.d.ts +0 -10
  688. package/dist/components/calcite-date-picker/resources.d.ts +0 -5
  689. package/dist/components/calcite-date-picker/utils.d.ts +0 -57
  690. package/dist/components/calcite-date-picker-day/resources.d.ts +0 -6
  691. package/dist/components/calcite-date-picker-month/resources.d.ts +0 -14
  692. package/dist/components/calcite-date-picker-month-header/customElement.d.ts +0 -27
  693. package/dist/components/calcite-date-picker-month-header/index.d.ts +0 -4
  694. package/dist/components/calcite-date-picker-month-header/resources.d.ts +0 -18
  695. package/dist/components/calcite-dialog/resources.d.ts +0 -29
  696. package/dist/components/calcite-dropdown/interfaces.d.ts +0 -4
  697. package/dist/components/calcite-dropdown/resources.d.ts +0 -12
  698. package/dist/components/calcite-dropdown-group/interfaces.d.ts +0 -6
  699. package/dist/components/calcite-dropdown-group/resources.d.ts +0 -5
  700. package/dist/components/calcite-dropdown-item/resources.d.ts +0 -11
  701. package/dist/components/calcite-fab/resources.d.ts +0 -5
  702. package/dist/components/calcite-filter/resources.d.ts +0 -7
  703. package/dist/components/calcite-flow/resources.d.ts +0 -5
  704. package/dist/components/calcite-flow-item/resources.d.ts +0 -19
  705. package/dist/components/calcite-graph/resources.d.ts +0 -10
  706. package/dist/components/calcite-graph/util.d.ts +0 -29
  707. package/dist/components/calcite-handle/resources.d.ts +0 -12
  708. package/dist/components/calcite-icon/resources.d.ts +0 -5
  709. package/dist/components/calcite-icon/utils.d.ts +0 -37
  710. package/dist/components/calcite-inline-editable/resources.d.ts +0 -12
  711. package/dist/components/calcite-input/common/input.d.ts +0 -31
  712. package/dist/components/calcite-input/common/tests.d.ts +0 -4
  713. package/dist/components/calcite-input/resources.d.ts +0 -37
  714. package/dist/components/calcite-input-date-picker/resources.d.ts +0 -31
  715. package/dist/components/calcite-input-date-picker/utils.d.ts +0 -8
  716. package/dist/components/calcite-input-message/interfaces.d.ts +0 -5
  717. package/dist/components/calcite-input-message/resources.d.ts +0 -3
  718. package/dist/components/calcite-input-number/resources.d.ts +0 -31
  719. package/dist/components/calcite-input-text/resources.d.ts +0 -22
  720. package/dist/components/calcite-input-time-picker/resources.d.ts +0 -25
  721. package/dist/components/calcite-input-time-zone/resources.d.ts +0 -6
  722. package/dist/components/calcite-input-time-zone/utils.d.ts +0 -22
  723. package/dist/components/calcite-label/resources.d.ts +0 -3
  724. package/dist/components/calcite-link/resources.d.ts +0 -5
  725. package/dist/components/calcite-list-item/resources.d.ts +0 -47
  726. package/dist/components/calcite-list-item/utils.d.ts +0 -13
  727. package/dist/components/calcite-list-item-group/resources.d.ts +0 -4
  728. package/dist/components/calcite-loader/interfaces.d.ts +0 -1
  729. package/dist/components/calcite-loader/resources.d.ts +0 -10
  730. package/dist/components/calcite-menu-item/interfaces.d.ts +0 -7
  731. package/dist/components/calcite-menu-item/resources.d.ts +0 -24
  732. package/dist/components/calcite-meter/resources.d.ts +0 -15
  733. package/dist/components/calcite-navigation/resources.d.ts +0 -23
  734. package/dist/components/calcite-navigation-logo/resources.d.ts +0 -10
  735. package/dist/components/calcite-navigation-user/resources.d.ts +0 -6
  736. package/dist/components/calcite-notice/resources.d.ts +0 -13
  737. package/dist/components/calcite-pagination/resources.d.ts +0 -12
  738. package/dist/components/calcite-panel/resources.d.ts +0 -48
  739. package/dist/components/calcite-popover/PopoverManager.d.ts +0 -23
  740. package/dist/components/calcite-popover/resources.d.ts +0 -16
  741. package/dist/components/calcite-progress/resources.d.ts +0 -5
  742. package/dist/components/calcite-radio-button/resources.d.ts +0 -4
  743. package/dist/components/calcite-radio-button-group/resources.d.ts +0 -6
  744. package/dist/components/calcite-rating/functional/star.d.ts +0 -3
  745. package/dist/components/calcite-rating/interfaces.d.ts +0 -17
  746. package/dist/components/calcite-rating/resources.d.ts +0 -17
  747. package/dist/components/calcite-scrim/resources.d.ts +0 -8
  748. package/dist/components/calcite-segmented-control/resources.d.ts +0 -6
  749. package/dist/components/calcite-segmented-control-item/resources.d.ts +0 -13
  750. package/dist/components/calcite-select/resources.d.ts +0 -9
  751. package/dist/components/calcite-sheet/resources.d.ts +0 -17
  752. package/dist/components/calcite-shell/interfaces.d.ts +0 -1
  753. package/dist/components/calcite-shell/resources.d.ts +0 -23
  754. package/dist/components/calcite-shell-panel/resources.d.ts +0 -21
  755. package/dist/components/calcite-slider/interfaces.d.ts +0 -11
  756. package/dist/components/calcite-slider/resources.d.ts +0 -35
  757. package/dist/components/calcite-sort-handle/resources.d.ts +0 -23
  758. package/dist/components/calcite-sortable-list/resources.d.ts +0 -6
  759. package/dist/components/calcite-split-button/resources.d.ts +0 -13
  760. package/dist/components/calcite-stack/resources.d.ts +0 -14
  761. package/dist/components/calcite-stepper/functional/step-bar.d.ts +0 -17
  762. package/dist/components/calcite-stepper/resources.d.ts +0 -18
  763. package/dist/components/calcite-stepper-item/resources.d.ts +0 -14
  764. package/dist/components/calcite-swatch/resources.d.ts +0 -28
  765. package/dist/components/calcite-swatch-group/resources.d.ts +0 -3
  766. package/dist/components/calcite-switch/resources.d.ts +0 -5
  767. package/dist/components/calcite-tab/interfaces.d.ts +0 -9
  768. package/dist/components/calcite-tab/resources.d.ts +0 -9
  769. package/dist/components/calcite-tab-nav/resources.d.ts +0 -16
  770. package/dist/components/calcite-tab-title/resources.d.ts +0 -17
  771. package/dist/components/calcite-table/resources.d.ts +0 -22
  772. package/dist/components/calcite-table-cell/resources.d.ts +0 -10
  773. package/dist/components/calcite-table-header/resources.d.ts +0 -17
  774. package/dist/components/calcite-table-row/resources.d.ts +0 -5
  775. package/dist/components/calcite-tabs/resources.d.ts +0 -6
  776. package/dist/components/calcite-text-area/interfaces.d.ts +0 -4
  777. package/dist/components/calcite-text-area/resources.d.ts +0 -33
  778. package/dist/components/calcite-tile/resources.d.ts +0 -22
  779. package/dist/components/calcite-tile-group/resources.d.ts +0 -3
  780. package/dist/components/calcite-time-picker/resources.d.ts +0 -38
  781. package/dist/components/calcite-tooltip/TooltipManager.d.ts +0 -38
  782. package/dist/components/calcite-tooltip/resources.d.ts +0 -11
  783. package/dist/components/calcite-tooltip/utils.d.ts +0 -3
  784. package/dist/components/calcite-tree/utils.d.ts +0 -4
  785. package/dist/components/calcite-tree-item/interfaces.d.ts +0 -9
  786. package/dist/components/calcite-tree-item/resources.d.ts +0 -19
  787. package/dist/components/functional/ExpandToggle.d.ts +0 -22
  788. package/dist/components/functional/FloatingArrow.d.ts +0 -20
  789. package/dist/components/functional/InternalLabel.d.ts +0 -26
  790. package/dist/components/functional/Validation.d.ts +0 -17
  791. package/dist/components/functional/XButton.d.ts +0 -17
  792. package/dist/components/resources.d.ts +0 -13
  793. package/dist/components/types.d.ts +0 -2
  794. package/dist/controllers/useCancelable.d.ts +0 -30
  795. package/dist/controllers/useInteractive.d.ts +0 -33
  796. package/dist/controllers/usePreventDocumentScroll.d.ts +0 -22
  797. package/dist/controllers/useSetFocus.d.ts +0 -18
  798. package/dist/controllers/useSizeOverride.d.ts +0 -44
  799. package/dist/controllers/useT9n.d.ts +0 -1
  800. package/dist/controllers/useTopLayer.d.ts +0 -34
  801. package/dist/custom-theme/accordion-item.d.ts +0 -9
  802. package/dist/custom-theme/accordion.d.ts +0 -8
  803. package/dist/custom-theme/action.d.ts +0 -27
  804. package/dist/custom-theme/alert.d.ts +0 -7
  805. package/dist/custom-theme/autocomplete.d.ts +0 -28
  806. package/dist/custom-theme/avatar.d.ts +0 -8
  807. package/dist/custom-theme/block-section.d.ts +0 -9
  808. package/dist/custom-theme/block.d.ts +0 -13
  809. package/dist/custom-theme/button.d.ts +0 -5
  810. package/dist/custom-theme/card.d.ts +0 -11
  811. package/dist/custom-theme/carousel.d.ts +0 -14
  812. package/dist/custom-theme/checkbox.d.ts +0 -8
  813. package/dist/custom-theme/chips.d.ts +0 -11
  814. package/dist/custom-theme/color-picker.d.ts +0 -22
  815. package/dist/custom-theme/combobox-item.d.ts +0 -12
  816. package/dist/custom-theme/combobox.d.ts +0 -20
  817. package/dist/custom-theme/date-picker.d.ts +0 -29
  818. package/dist/custom-theme/dialog.d.ts +0 -30
  819. package/dist/custom-theme/dropdown.d.ts +0 -17
  820. package/dist/custom-theme/fab.d.ts +0 -10
  821. package/dist/custom-theme/filter.d.ts +0 -17
  822. package/dist/custom-theme/flow.d.ts +0 -21
  823. package/dist/custom-theme/graph.d.ts +0 -4
  824. package/dist/custom-theme/handle.d.ts +0 -9
  825. package/dist/custom-theme/icon.d.ts +0 -1
  826. package/dist/custom-theme/inline-editable.d.ts +0 -10
  827. package/dist/custom-theme/input-date-picker.d.ts +0 -43
  828. package/dist/custom-theme/input-message.d.ts +0 -8
  829. package/dist/custom-theme/input-number.d.ts +0 -29
  830. package/dist/custom-theme/input-text.d.ts +0 -29
  831. package/dist/custom-theme/input-time-picker.d.ts +0 -20
  832. package/dist/custom-theme/input.d.ts +0 -24
  833. package/dist/custom-theme/label.d.ts +0 -5
  834. package/dist/custom-theme/link.d.ts +0 -4
  835. package/dist/custom-theme/list.d.ts +0 -13
  836. package/dist/custom-theme/loader.d.ts +0 -13
  837. package/dist/custom-theme/menu-item.d.ts +0 -8
  838. package/dist/custom-theme/meter.d.ts +0 -10
  839. package/dist/custom-theme/navigation-logo.d.ts +0 -7
  840. package/dist/custom-theme/navigation-user.d.ts +0 -9
  841. package/dist/custom-theme/navigation.d.ts +0 -7
  842. package/dist/custom-theme/notice.d.ts +0 -16
  843. package/dist/custom-theme/pagination.d.ts +0 -9
  844. package/dist/custom-theme/panel.d.ts +0 -19
  845. package/dist/custom-theme/popover.d.ts +0 -9
  846. package/dist/custom-theme/progress.d.ts +0 -6
  847. package/dist/custom-theme/radio-button-group.d.ts +0 -5
  848. package/dist/custom-theme/radio-button.d.ts +0 -7
  849. package/dist/custom-theme/rating.d.ts +0 -10
  850. package/dist/custom-theme/segmented-control.d.ts +0 -8
  851. package/dist/custom-theme/select.d.ts +0 -11
  852. package/dist/custom-theme/shell-panel.d.ts +0 -18
  853. package/dist/custom-theme/slider.d.ts +0 -13
  854. package/dist/custom-theme/split-button.d.ts +0 -14
  855. package/dist/custom-theme/stepper-item.d.ts +0 -22
  856. package/dist/custom-theme/stepper.d.ts +0 -8
  857. package/dist/custom-theme/swatch-group.d.ts +0 -4
  858. package/dist/custom-theme/swatch.d.ts +0 -4
  859. package/dist/custom-theme/switch.d.ts +0 -10
  860. package/dist/custom-theme/table.d.ts +0 -51
  861. package/dist/custom-theme/tabs.d.ts +0 -18
  862. package/dist/custom-theme/text-area.d.ts +0 -14
  863. package/dist/custom-theme/tile.d.ts +0 -11
  864. package/dist/custom-theme/time-picker.d.ts +0 -12
  865. package/dist/custom-theme/tooltip.d.ts +0 -9
  866. package/dist/custom-theme/tree.d.ts +0 -6
  867. package/dist/internal-label/autocomplete.d.ts +0 -1
  868. package/dist/internal-label/checkbox.d.ts +0 -1
  869. package/dist/internal-label/combobox.d.ts +0 -1
  870. package/dist/internal-label/input-date-picker.d.ts +0 -1
  871. package/dist/internal-label/input-number.d.ts +0 -1
  872. package/dist/internal-label/input-text.d.ts +0 -1
  873. package/dist/internal-label/input-time-picker.d.ts +0 -1
  874. package/dist/internal-label/input-time-zone.d.ts +0 -1
  875. package/dist/internal-label/input.d.ts +0 -1
  876. package/dist/internal-label/radio-button-group.d.ts +0 -1
  877. package/dist/internal-label/radio-button.d.ts +0 -1
  878. package/dist/internal-label/rating.d.ts +0 -1
  879. package/dist/internal-label/segmented-control.d.ts +0 -1
  880. package/dist/internal-label/select.d.ts +0 -1
  881. package/dist/internal-label/slider.d.ts +0 -1
  882. package/dist/internal-label/switch.d.ts +0 -1
  883. package/dist/internal-label/text-area.d.ts +0 -1
  884. package/dist/runtime.d.ts +0 -6
  885. package/dist/types/preact10.d.ts +0 -938
  886. package/dist/utils/array.d.ts +0 -1
  887. package/dist/utils/browser.d.ts +0 -1
  888. package/dist/utils/component.d.ts +0 -34
  889. package/dist/utils/dynamicClasses.d.ts +0 -2
  890. package/dist/utils/filter.d.ts +0 -1
  891. package/dist/utils/globalScript.d.ts +0 -1
  892. package/dist/utils/guid.d.ts +0 -1
  893. package/dist/utils/key.d.ts +0 -3
  894. package/dist/utils/label.d.ts +0 -45
  895. package/dist/utils/math.d.ts +0 -22
  896. package/dist/utils/mode.d.ts +0 -2
  897. package/dist/utils/number.d.ts +0 -45
  898. package/dist/utils/observers.d.ts +0 -29
  899. package/dist/utils/openCloseComponent.d.ts +0 -52
  900. package/dist/utils/overflow.d.ts +0 -28
  901. package/dist/utils/resources.d.ts +0 -33
  902. package/dist/utils/responsive.d.ts +0 -11
  903. package/dist/utils/selectableComponent.d.ts +0 -17
  904. package/dist/utils/text.d.ts +0 -22
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as v}from"./RESUGFNC.js";import{a as g}from"./EYVRD7GH.js";import{a as m}from"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as h,D as u,E as p,F as c,Q as b,g as d,h as o,l as i}from"./AV7L4UBA.js";var e={contentCell:"content-cell",numberCell:"number-cell",selectionCell:"selection-cell",bodyRow:"body-row",footerRow:"footer-row",heading:"heading",description:"description",multipleSelectionCell:"cell--multiple-selection",assistiveText:"assistive-text",active:"active",selectedCell:"selected-cell",lastCell:"last-cell",staticCell:"static-cell"},a={checked:"check-square-f",indeterminate:"minus-square-f",unchecked:"square"},w=d`:host{display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}th{white-space:normal;text-align:start;vertical-align:top;font-weight:var(--calcite-font-weight-medium);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-table-header-border-color, var(--calcite-table-border-color, var(--calcite-color-border-2)));padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-table-header-background-color, var(--calcite-table-header-background, var(--calcite-color-foreground-2)));font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-table-cell-border-color, var(--calcite-table-border-color, var(--calcite-color-border-2)))}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-table-header-border-color, var(--calcite-table-border-color, var(--calcite-color-border-2)))}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-table-selection-cell-icon-color, var(--calcite-color-text-3));background-color:var(--calcite-table-selection-cell-background-color, var(--calcite-color-foreground-2))}.cell--multiple-selection.selected-cell{background-color:var(--calcite-table-selection-cell-background-color-selected, var(--calcite-color-foreground-2))}.cell--multiple-selection:not(.end){vertical-align:middle}.number-cell{background-color:var(--calcite-table-number-cell-background-color, var(--calcite-table-cell-background-color, var(--calcite-color-foreground-2)))}.number-cell,.selection-cell{inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-table-selection-cell-icon-color-selected, var(--calcite-color-brand))}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-table-header-heading-text-color, var(--calcite-color-text-1))}.description{color:var(--calcite-table-header-description-text-color, var(--calcite-color-text-3));font-size:var(--calcite-internal-table-cell-font-size-secondary)}`,r=class extends p{constructor(){super(...arguments),this.containerRef=h(),this.messages=v({blocking:!0}),this.focusSetter=g()(this),this.focused=!1,this.screenReaderText="",this.alignment="start",this.interactionMode="interactive",this.numberCell=!1,this.parentRowAlignment="start",this.selectionCell=!1}static{this.properties={focused:[16,{},{state:!0}],screenReaderText:[16,{},{state:!0}],alignment:[3,{},{reflect:!0}],bodyRowCount:[9,{},{type:Number}],colSpan:[11,{},{reflect:!0,type:Number}],description:[3,{},{reflect:!0}],heading:[3,{},{reflect:!0}],interactionMode:1,lastCell:[5,{},{type:Boolean}],messageOverrides:[0,{},{attribute:!1}],numberCell:[5,{},{type:Boolean}],parentRowAlignment:1,parentRowIsSelected:[5,{},{type:Boolean}],parentRowType:1,positionInRow:[9,{},{type:Number}],rowSpan:[11,{},{reflect:!0,type:Number}],scale:1,selectedRowCount:[9,{},{type:Number}],selectedRowCountLocalized:1,selectionCell:[5,{},{type:Boolean}],selectionMode:1}}static{this.styles=w}async setFocus(t){return this.focusSetter(()=>this.containerRef.value,t)}async load(){this.updateScreenReaderText()}willUpdate(t){(t.has("selectedRowCount")||t.has("selectedRowCountLocalized"))&&this.updateScreenReaderText()}updateScreenReaderText(){let t="",l=`${this.selectedRowCountLocalized} ${this.messages?.selected}`;this.numberCell?t=this.messages?.rowNumber:this.selectionMode==="single"?t=`${this.messages?.selectionColumn}. ${l}`:this.bodyRowCount===this.selectedRowCount?t=`${this.messages?.selectionColumn}. ${this.messages?.all} ${l} ${this.messages?.keyboardDeselectAll}`:t=`${this.messages?.selectionColumn}. ${l} ${this.messages?.keyboardSelectAll}`,this.screenReaderText=t}onContainerBlur(){this.focused=!1}onContainerFocus(){this.focused=!0}render(){let t=this.rowSpan?"rowgroup":this.colSpan?"colgroup":this.parentRowType==="body"?"row":"col",l=this.selectedRowCount===this.bodyRowCount,n=this.selectedRowCount>0,f=l?a.checked:n?a.indeterminate:a.unchecked,s=this.interactionMode==="static"&&!this.selectionCell;return o`<th .ariaColIndex=${this.parentRowType==="head"?this.positionInRow:void 0} class=${c({[e.bodyRow]:this.parentRowType==="body",[e.footerRow]:this.parentRowType==="foot",[e.contentCell]:!this.numberCell&&!this.selectionCell,[e.numberCell]:this.numberCell,[e.selectionCell]:this.selectionCell,[e.selectedCell]:this.parentRowIsSelected,[e.multipleSelectionCell]:this.selectionMode==="multiple",[e.staticCell]:s,[e.lastCell]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[this.parentRowAlignment]:this.parentRowAlignment==="center"||this.parentRowAlignment==="end"})} colSpan=${this.colSpan??i} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.parentRowType==="head"?"columnheader":"rowheader"} rowSpan=${this.rowSpan??i} scope=${t??i} .tabIndex=${this.selectionCell?0:s?-1:0} ${u(this.containerRef)}>${this.heading&&o`<div class=${c(e.heading)}>${this.heading}</div>`||""}${this.description&&o`<div class=${c(e.description)}>${this.description}</div>`||""}${this.selectionCell&&this.selectionMode==="multiple"&&o`<calcite-icon class=${c({[e.active]:n||l})} .icon=${f} .scale=${m(this.scale)}></calcite-icon>`||""}${(this.selectionCell||this.numberCell)&&o`<span .ariaLive=${this.focused?"polite":"off"} class=${c(e.assistiveText)}>${this.screenReaderText}</span>`||""}</th>`}};b("calcite-table-header",r);export{r as TableHeader};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{a as u,b as c}from"./AGOTCJQO.js";var A=(t,f,l)=>{let p=c(f),g=new RegExp(p,"i");if(f===""||t.length===0)return t;let i=(r,o,s)=>{if(r?.filterDisabled)return!0;let n=!1;return u(r,(e,m)=>{typeof e=="function"||e==null||s&&!s.includes(m)||(Array.isArray(e)||typeof e=="object"&&e!==null?i(e,o)&&(n=!0):o.test(e)&&(n=!0))}),n};return t.filter(r=>i(r,g,l))};export{A as a};
3
+ v5.0.0-next.74 */
4
+ import{a as u,b as c}from"./YEA4ZE2P.js";var A=(t,f,l)=>{let p=c(f),g=new RegExp(p,"i");if(f===""||t.length===0)return t;let i=(r,o,s)=>{if(r?.filterDisabled)return!0;let n=!1;return u(r,(e,m)=>{typeof e=="function"||e==null||s&&!s.includes(m)||(Array.isArray(e)||typeof e=="object"&&e!==null?i(e,o)&&(n=!0):o.test(e)&&(n=!0))}),n};return t.filter(r=>i(r,g,l))};export{A as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as L}from"./LUFIZ6IH.js";import{b as y}from"./LQDGQWTS.js";import{b as d}from"./O55TIJ53.js";import"./O42TMGJK.js";import"./QM3DXYRV.js";import{a as F}from"./RESUGFNC.js";import{a as U}from"./EYVRD7GH.js";import{a as C,c as E}from"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{e as R}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as s,D as l,E as D,F as i,Q as H,g as S,h as n,p as x}from"./AV7L4UBA.js";var e={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonFractionalSecondDown:"button--fractionalSecond-down",buttonFractionalSecondUp:"button--fractionalSecond-up",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",decimalSeparator:"decimal-separator",delimiter:"delimiter",fractionalSecond:"fractionalSecond",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputFocus:"inputFocus",meridiem:"meridiem",minute:"minute",minuteSuffix:"minute-suffix",second:"second",secondSuffix:"second-suffix",showMeridiem:"show-meridiem",showSecond:"show-second",scale:b=>`scale-${b}`,timePicker:"time-picker",meridiemStart:"meridiem--start"},c={chevronUp:"chevron-up",chevronDown:"chevron-down"},Y=S`:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;border-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-medium);border-color:var(--calcite-time-picker-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round));color:var(--calcite-time-picker-color, var(--calcite-color-text-1));background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1));overflow:hidden}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .button:hover,.time-picker .button:focus{outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0;background-color:var(--calcite-time-picker-button-background-color-hover, var(--calcite-color-foreground-2))}.time-picker .button:active{background-color:var(--calcite-time-picker-button-background-color-press, var(--calcite-color-foreground-3))}.time-picker .button.top-left{border-start-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.top-right{border-start-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button calcite-icon{color:var(--calcite-time-picker-icon-color, var(--calcite-color-text-3))}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-hover, var(--calcite-color-foreground-2));z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size-relative-base)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-xxs)}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-md)}.time-picker.scale-m{font-size:var(--calcite-font-size-relative-md)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-sm)}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xl)}.time-picker.scale-l{font-size:var(--calcite-font-size-relative-lg)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:var(--calcite-spacing-lg);padding-block:var(--calcite-spacing-md)}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xxl)}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends D{constructor(){super(),this.fractionalSecondRef=s(),this.hourRef=s(),this.meridiemRef=s(),this.minuteRef=s(),this.pointerActivated=!1,this.secondRef=s(),this.messages=F(),this.focusSetter=U()(this),this.time=L(this),this.hourFormat="user",this.scale="m",this.step=60,this.value=null,this.calciteTimePickerChange=x({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("calciteTimeChange",this.timeChangeHandler),this.listen("keydown",this.keyDownHandler),this.listen("pointerdown",this.pointerDownHandler)}static{this.properties={activeEl:[16,{},{state:!0}],showFractionalSecond:[16,{},{state:!0}],showSecond:[16,{},{state:!0}],time:[0,{},{attribute:!1}],hourFormat:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],step:[11,{},{reflect:!0,type:Number}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=Y}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.toggleSecond()}willUpdate(t){t.has("step")&&(this.hasUpdated||this.step!==60)&&this.toggleSecond(),t.has("value")&&(this.hasUpdated||this.value!==null)&&this.time.setValue(this.value)}blurHandler(){this.activeEl=void 0,this.pointerActivated=!1}keyDownHandler(t){this.pointerActivated=!1;let{defaultPrevented:o,key:r}=t;if(o)return;let{hourFormat:u}=this.time;switch(this.activeEl){case this.hourRef.value:r==="ArrowRight"&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteRef.value:switch(r){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":this.step!==60?(this.focusPart("second"),t.preventDefault()):u==="12"&&(this.focusPart("meridiem"),t.preventDefault());break}break;case this.secondRef.value:switch(r){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":this.showFractionalSecond?this.focusPart("fractionalSecond"):u==="12"&&(this.focusPart("meridiem"),t.preventDefault());break}break;case this.fractionalSecondRef.value:switch(r){case"ArrowLeft":this.focusPart("second"),t.preventDefault();break;case"ArrowRight":u==="12"&&(this.focusPart("meridiem"),t.preventDefault());break}break;case this.meridiemRef.value:switch(r){case"ArrowLeft":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.step!==60?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault());break}break}}pointerDownHandler(){this.pointerActivated=!0}async focusPart(t){await E(this),(t==="hour"?this.hourRef:t==="minute"?this.minuteRef:t==="second"?this.secondRef:t==="fractionalSecond"?this.fractionalSecondRef:this.meridiemRef).value?.focus()}focusHandler(t){this.pointerActivated||(this.activeEl=t.currentTarget)}fractionalSecondDownClickHandler(){this.activeEl=this.fractionalSecondRef.value,this.activeEl.focus(),this.time.nudgeFractionalSecond("down")}fractionalSecondUpClickHandler(){this.activeEl=this.fractionalSecondRef.value,this.activeEl.focus(),this.time.nudgeFractionalSecond("up")}hourDownClickHandler(){this.activeEl=this.hourRef.value,this.activeEl.focus(),this.time.decrementHour()}hourUpClickHandler(){this.activeEl=this.hourRef.value,this.activeEl.focus(),this.time.incrementHour()}inputClickHandler(t){this.activeEl=t.target}meridiemUpClickHandler(){this.activeEl=this.meridiemRef.value,this.activeEl.focus(),this.time.toggleMeridiem("up")}meridiemDownClickHandler(){this.activeEl=this.meridiemRef.value,this.activeEl.focus(),this.time.toggleMeridiem("down")}minuteDownClickHandler(){this.activeEl=this.minuteRef.value,this.activeEl.focus(),this.time.decrementMinute()}minuteUpClickHandler(){this.activeEl=this.minuteRef.value,this.activeEl.focus(),this.time.incrementMinute()}secondDownClickHandler(){this.activeEl=this.secondRef.value,this.activeEl.focus(),this.time.decrementSecond()}secondUpClickHandler(){this.activeEl=this.secondRef.value,this.activeEl.focus(),this.time.incrementSecond()}timeChangeHandler(t){t.stopPropagation();let o=t.detail;o!==this.value&&(this.value=o),this.calciteTimePickerChange.emit()}toggleSecond(){this.showSecond=this.step<60,this.stepPrecision=y(this.step),this.showFractionalSecond=this.stepPrecision>0}render(){let{activeEl:t,messages:o,scale:r}=this,{_lang:u}=o,{fractionalSecond:v,handleFractionalSecondKeyDownEvent:P,handleHourKeyDownEvent:M,handleMeridiemKeyDownEvent:z,handleMinuteKeyDownEvent:T,handleSecondKeyDownEvent:A,hour:h,hourFormat:V,localizedDecimalSeparator:N,localizedFractionalSecond:k,localizedHour:I,localizedHourSuffix:K,localizedMeridiem:B,localizedMinute:O,localizedMinuteSuffix:j,localizedSecond:_,localizedSecondSuffix:$,meridiem:w,meridiemOrder:q,minute:m,second:p}=this.time,G=d(h),a=C(r),J=d(m),Q=d(p),W=d(v),X=u!=="bg"&&$,g=V==="12";return n`<div class=${i({[e.timePicker]:!0,[e.showMeridiem]:g,[e.showSecond]:this.showSecond,[e.scale(r)]:!0})} dir=ltr><div class=${i(e.column)} role=group><span .ariaLabel=${o.hourUp} class=${i({[e.button]:!0,[e.buttonHourUp]:!0,[e.buttonTopLeft]:!0})} @click=${this.hourUpClickHandler} role=button><calcite-icon .icon=${c.chevronUp} .scale=${a}></calcite-icon></span><span .ariaLabel=${o.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${G&&parseInt(h)||"0"} .ariaValueText=${h} class=${i({[e.input]:!0,[e.hour]:!0,[e.inputFocus]:t&&t===this.hourRef.value})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${M} role=spinbutton tabindex=0 ${l(this.hourRef)}>${I||"--"}</span><span .ariaLabel=${o.hourDown} class=${i({[e.button]:!0,[e.buttonHourDown]:!0,[e.buttonBottomLeft]:!0})} @click=${this.hourDownClickHandler} role=button><calcite-icon .icon=${c.chevronDown} .scale=${a}></calcite-icon></span></div><span class=${i({[e.delimiter]:!0,[e.hourSuffix]:!0})}>${K}</span><div class=${i(e.column)} role=group><span .ariaLabel=${o.minuteUp} class=${i({[e.button]:!0,[e.buttonMinuteUp]:!0})} @click=${this.minuteUpClickHandler} role=button><calcite-icon .icon=${c.chevronUp} .scale=${a}></calcite-icon></span><span .ariaLabel=${o.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${J&&parseInt(m)||"0"} .ariaValueText=${m} class=${i({[e.input]:!0,[e.minute]:!0,[e.inputFocus]:t&&t===this.minuteRef.value})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${T} role=spinbutton tabindex=0 ${l(this.minuteRef)}>${O||"--"}</span><span .ariaLabel=${o.minuteDown} class=${i({[e.button]:!0,[e.buttonMinuteDown]:!0})} @click=${this.minuteDownClickHandler} role=button><calcite-icon .icon=${c.chevronDown} .scale=${a}></calcite-icon></span></div>${this.showSecond&&n`<span class=${i({[e.delimiter]:!0,[e.minuteSuffix]:!0})}>${j}</span>`||""}${this.showSecond&&n`<div class=${i(e.column)} role=group><span .ariaLabel=${o.secondUp} class=${i({[e.button]:!0,[e.buttonSecondUp]:!0})} @click=${this.secondUpClickHandler} role=button><calcite-icon .icon=${c.chevronUp} .scale=${a}></calcite-icon></span><span .ariaLabel=${o.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${Q&&parseInt(p)||"0"} .ariaValueText=${p} class=${i({[e.input]:!0,[e.second]:!0,[e.inputFocus]:t&&t===this.secondRef.value})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${A} role=spinbutton tabindex=0 ${l(this.secondRef)}>${_||"--"}</span><span .ariaLabel=${o.secondDown} class=${i({[e.button]:!0,[e.buttonSecondDown]:!0})} @click=${this.secondDownClickHandler} role=button><calcite-icon .icon=${c.chevronDown} .scale=${a}></calcite-icon></span></div>`||""}${this.showFractionalSecond&&n`<span class=${i({[e.delimiter]:!0,[e.decimalSeparator]:!0})}>${N}</span>`||""}${this.showFractionalSecond&&n`<div class=${i(e.column)} role=group><span .ariaLabel=${o.fractionalSecondUp} class=${i({[e.button]:!0,[e.buttonFractionalSecondUp]:!0})} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon .icon=${c.chevronUp} .scale=${a}></calcite-icon></span><span .ariaLabel=${o.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${W&&parseInt(v)||"0"} .ariaValueText=${k} class=${i({[e.input]:!0,[e.fractionalSecond]:!0,[e.inputFocus]:t&&t===this.fractionalSecondRef.value})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${P} role=spinbutton tabindex=0 ${l(this.fractionalSecondRef)}>${k||"".padStart(this.stepPrecision,"-")}</span><span .ariaLabel=${o.fractionalSecondDown} class=${i({[e.button]:!0,[e.buttonFractionalSecondDown]:!0})} @click=${this.fractionalSecondDownClickHandler} role=button><calcite-icon .icon=${c.chevronDown} .scale=${a}></calcite-icon></span></div>`||""}${X&&n`<span class=${i({[e.delimiter]:!0,[e.secondSuffix]:!0})}>${$.trim()}</span>`||""}${g&&n`<div class=${i({[e.column]:!0,[e.meridiemStart]:q===0||R(this.el)==="rtl"})} role=group><span .ariaLabel=${o.meridiemUp} class=${i({[e.button]:!0,[e.buttonMeridiemUp]:!0,[e.buttonTopRight]:!0})} @click=${this.meridiemUpClickHandler} role=button><calcite-icon .icon=${c.chevronUp} .scale=${a}></calcite-icon></span><span .ariaLabel=${o.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${w==="PM"&&"2"||"1"} .ariaValueText=${w} class=${i({[e.input]:!0,[e.meridiem]:!0,[e.inputFocus]:t&&t===this.meridiemRef.value})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${z} role=spinbutton tabindex=0 ${l(this.meridiemRef)}>${B||"--"}</span><span .ariaLabel=${o.meridiemDown} class=${i({[e.button]:!0,[e.buttonMeridiemDown]:!0,[e.buttonBottomRight]:!0})} @click=${this.meridiemDownClickHandler} role=button><calcite-icon .icon=${c.chevronDown} .scale=${a}></calcite-icon></span></div>`||""}</div>`}};H("calcite-time-picker",f);export{f as TimePicker};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{a as r,b as a}from"./IYLXQNN2.js";var s={CET:"Europe/Brussels",CST6CDT:"America/Chicago",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",HST:"Pacific/Honolulu",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver",PST8PDT:"America/Los_Angeles",WET:"Europe/Lisbon"},t=(()=>{let e=Object.keys(s);return Object.keys(r()).filter(o=>!e.includes(o))})();function c(e){let o=s[e];return o||(a(e)?.aliasOf??e)}export{t as a,c as b};
3
+ v5.0.0-next.74 */
4
+ import{a as r,b as a}from"./XBC42ZK6.js";var s={CET:"Europe/Brussels",CST6CDT:"America/Chicago",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",HST:"Pacific/Honolulu",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver",PST8PDT:"America/Los_Angeles",WET:"Europe/Lisbon"},t=(()=>{let e=Object.keys(s);return Object.keys(r()).filter(o=>!e.includes(o))})();function c(e){let o=s[e];return o||(a(e)?.aliasOf??e)}export{t as a,c as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as u}from"./IPHCBICP.js";import{a as f}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{u as m,y as l}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as r,D as h,E as d,Q as p,g as c,h as o,p as n}from"./AV7L4UBA.js";var g=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends d{constructor(){super(),this.items=[],this.slotRef=r(),this.focusSetter=f()(this),this.interactiveContainer=u(this),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteChipGroupSelect=n({cancelable:!1}),this.listen("calciteInternalChipKeyEvent",this.calciteInternalChipKeyEventListener),this.listen("calciteChipClose",this.calciteChipCloseListener),this.listen("calciteChipSelect",this.calciteChipSelectListener),this.listen("calciteInternalChipSelect",this.calciteInternalChipSelectListener),this.listen("calciteInternalSyncSelectedChips",this.calciteInternalSyncSelectedChips)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=g}async setFocus(e){return this.focusSetter(()=>this.selectedItems[0]||this.items[0],e)}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}calciteInternalChipKeyEventListener(e){if(e.composedPath().includes(this.el)){let t={ArrowRight:"next",ArrowLeft:"previous",Home:"first",End:"last"}[e.detail.key];if(t){let i=this.items?.filter(I=>!I.disabled);l(i,e.detail.target,t,!0,!0,!0)}}e.stopPropagation()}calciteChipCloseListener(e){let s=e.target;this.items?.includes(s)&&(this.items?.indexOf(s)>0?l(this.items,s,"previous",!1,!1):this.items?.indexOf(s)===0?l(this.items,s,"next",!1,!1):l(this.items,s,"first",!1,!1)),this.items=this.items?.filter(t=>t!==s),e.stopPropagation()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedChips(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let s=this.slotRef.value?.assignedElements({flatten:!0}).filter(t=>t?.matches("calcite-chip"));this.items=e?m(e):s,!(this.items?.length<1)&&(this.items?.forEach(t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode,t.parentChipGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items?.filter(e=>e.selected)}setSelectedItems(e,s){s&&this.items?.forEach(t=>{let i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i?!t.selected:!1;break;case"single-persist":t.selected=!!i;break}}),this.updateSelectedItems(),e&&this.calciteChipGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:s}=this;return this.interactiveContainer({disabled:s,children:o`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItems} ${h(this.slotRef)}></slot></div>`})}};p("calcite-chip-group",a);export{a as ChipGroup};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{c as a}from"./4KTW44HR.js";import{b as l}from"./7WXMJLLU.js";import{g as s,l as u}from"./RHALB54E.js";var L=()=>l((e,n)=>{let t;function r(){t?.abort()}return n.onLoad(()=>{e.listen("focus",()=>{t=new AbortController,e.el.addEventListener("focusout",r,{signal:t.signal})})}),n.onDisconnected(()=>{e.el.removeEventListener("focusout",r)}),async(c,d)=>{if(e.disabled)return;let o=b(c());if(!o)return;let{target:f,includeContainer:v,strategy:C}=o,i=s(e.el),g=i.activeElement;if(await a(e),!(g!==i.activeElement||t&&!t?.signal.aborted))return e.el.removeEventListener("focus",r),u(f,v,C,e.el,d)}});function m(e){return"target"in e&&("includeContainer"in e||"strategy"in e)}function b(e){if(e)return m(e)?e:{target:e}}export{L as a};
3
+ v5.0.0-next.74 */
4
+ import{c as a}from"./ZIHWRZLV.js";import{b as l}from"./CFC6PZBD.js";import{g as s,l as u}from"./7IBUU5CJ.js";var A=()=>l((e,n)=>{let t;function r(){t?.abort()}return n.onLoad(()=>{e.listen("focus",()=>{t=new AbortController,e.el.addEventListener("focusout",r,{signal:t.signal})})}),n.onDisconnected(()=>{e.el.removeEventListener("focusout",r)}),async(c,d)=>{if(e.disabled)return;let o=E(c());if(!o)return;let{target:f,includeContainer:v,strategy:C}=o,i=s(e.el),g=i.activeElement;if(await a(e),!(g!==i.activeElement||t&&!t?.signal.aborted))return e.el.removeEventListener("focus",r),u(f,v,C,e.el,d)}});function m(e){return"target"in e&&("includeContainer"in e||"strategy"in e)}function E(e){if(e)return m(e)?e:{target:e}}export{A as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{N as s}from"./OCN43BDV.js";var d=new Set,f={trace:0,debug:1,info:2,warn:4,error:8,off:10};function m(e){return f[e]>=f[s().logLevel]}function o(e,...r){if(!m(e))return;console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...r)}var g,w={debug:e=>o("debug",e),info:e=>o("info",e),warn:e=>o("warn",e),error:e=>o("error",e),trace:e=>o("trace",e),deprecated:$};function $(e,{component:r,name:t,suggested:n,removalVersion:c}){let i=`${e}:${e==="component"?"":r}${t}`,l=c==="future"?"a future version":`v${c}`;if(d.has(i))return;d.add(i);let a="";a=e==="component"?`This component is deprecated and will be removed in ${l}.`:`The [${t}] ${e} is deprecated and will be removed in ${l}.`,n&&(g=new Intl.ListFormat("en",{style:"long",type:"disjunction"}),a+=` Use ${g.format([].concat(n).map(u=>`"${u}"`))} instead.`);let p=`[${r.el.tagName.toLocaleLowerCase().slice(8)}] - ${a}`;o("warn",p)}export{w as a};
3
+ v5.0.0-next.74 */
4
+ import{O as s}from"./AV7L4UBA.js";var d=new Set,f={trace:0,debug:1,info:2,warn:4,error:8,off:10};function m(e){return f[e]>=f[s().logLevel]}function o(e,...r){if(!m(e))return;console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...r)}var g,w={debug:e=>o("debug",e),info:e=>o("info",e),warn:e=>o("warn",e),error:e=>o("error",e),trace:e=>o("trace",e),deprecated:$};function $(e,{component:r,name:t,suggested:n,removalVersion:c}){let i=`${e}:${e==="component"?"":r}${t}`,l=c==="future"?"a future version":`v${c}`;if(d.has(i))return;d.add(i);let a="";a=e==="component"?`This component is deprecated and will be removed in ${l}.`:`The [${t}] ${e} is deprecated and will be removed in ${l}.`,n&&(g=new Intl.ListFormat("en",{style:"long",type:"disjunction"}),a+=` Use ${g.format([].concat(n).map(u=>`"${u}"`))} instead.`);let p=`[${r.el.tagName.toLocaleLowerCase().slice(8)}] - ${a}`;o("warn",p)}export{w as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{a}from"./HMOGV7KN.js";import{c as S}from"./V6MU7CUF.js";import{e as E}from"./RHALB54E.js";import{C as v,h as g,l as A}from"./OCN43BDV.js";var b=t=>Array.from(t.querySelectorAll("calcite-action")).filter(e=>e.closest("calcite-action-menu")?e.slot===S.trigger:!0),D=({actionGroups:t,expanded:e,overflowCount:o})=>{let c=o;t.reverse().forEach(i=>{let l=0,s=b(i).reverse();s.forEach(n=>{n.slot===a.menuActions&&(n.removeAttribute("slot"),n.textEnabled=e)}),c>0&&s.some(n=>(s.filter(u=>!u.slot).length>1&&s.length>2&&!n.closest("calcite-action-menu")&&(n.textEnabled=!0,n.setAttribute("slot",a.menuActions),l++,l>1&&c--),c<1)),i.manager.component.requestUpdate()})};function G(t){return t?.tagName==="CALCITE-ACTION"}var $={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function I(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}function P({el:t,expanded:e}){b(t).filter(o=>o.slot!==a.menuActions).forEach(o=>o.textEnabled=e),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(o=>o.expanded=e)}var L=({tooltip:t,referenceElement:e,expanded:o,ref:c})=>(t&&(t.referenceElement=!o&&e?e:null),c&&c(e),e),U=({expanded:t,expandText:e,collapseText:o,expandLabel:c,collapseLabel:i,toggle:l,el:s,position:n,tooltip:f,ref:u,scale:C})=>{let T=E(s)==="rtl",m=t?o:e,d=t?i:c,r=[$.chevronsLeft,$.chevronsRight];T&&r.reverse();let h=I(n,s)==="end",p=h?r[1]:r[0],q=h?r[0]:r[1];return g`<calcite-action .aria=${{expanded:t}} .icon=${t?p:q} id=expand-toggle .label=${d} @click=${l} .scale=${C} .text=${m} .textEnabled=${t} title=${(!t&&!f?m:null)??A} ${v(x=>L({tooltip:f,referenceElement:x,expanded:t,ref:u}))}></calcite-action>`};export{b as a,D as b,G as c,P as d,U as e};
3
+ v5.0.0-next.74 */
4
+ import{a}from"./X7TGPXU3.js";import{c as S}from"./ZQAOUB3H.js";import{e as E}from"./7IBUU5CJ.js";import{D as v,h as g,l as A}from"./AV7L4UBA.js";var b=t=>Array.from(t.querySelectorAll("calcite-action")).filter(e=>e.closest("calcite-action-menu")?e.slot===S.trigger:!0),D=({actionGroups:t,expanded:e,overflowCount:o})=>{let c=o;t.reverse().forEach(i=>{let l=0,s=b(i).reverse();s.forEach(n=>{n.slot===a.menuActions&&(n.removeAttribute("slot"),n.textEnabled=e)}),c>0&&s.some(n=>(s.filter(u=>!u.slot).length>1&&s.length>2&&!n.closest("calcite-action-menu")&&(n.textEnabled=!0,n.setAttribute("slot",a.menuActions),l++,l>1&&c--),c<1)),i.manager.component.requestUpdate()})};function G(t){return t?.tagName==="CALCITE-ACTION"}var $={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function I(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}function P({el:t,expanded:e}){b(t).filter(o=>o.slot!==a.menuActions).forEach(o=>o.textEnabled=e),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(o=>o.expanded=e)}var L=({tooltip:t,referenceElement:e,expanded:o,ref:c})=>(t&&(t.referenceElement=!o&&e?e:null),c&&c(e),e),U=({expanded:t,expandText:e,collapseText:o,expandLabel:c,collapseLabel:i,toggle:l,el:s,position:n,tooltip:f,ref:u,scale:C})=>{let T=E(s)==="rtl",m=t?o:e,d=t?i:c,r=[$.chevronsLeft,$.chevronsRight];T&&r.reverse();let h=I(n,s)==="end",p=h?r[1]:r[0],q=h?r[0]:r[1];return g`<calcite-action .aria=${{expanded:t}} .icon=${t?p:q} id=expand-toggle .label=${d} @click=${l} .scale=${C} .text=${m} .textEnabled=${t} title=${(!t&&!f?m:null)??A} ${v(x=>L({tooltip:f,referenceElement:x,expanded:t,ref:u}))}></calcite-action>`};export{b as a,D as b,G as c,P as d,U as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
3
+ v5.0.0-next.74 */
4
4
  var r=["date","datetime-local","month","number","range","time","week"],x=["email","password","search","tel","text","url"],u=["email","password","search","tel","text","textarea","url"];function a(e,n,t,c){let s=t.toLowerCase(),i=e[t];c&&i!=null?n.setAttribute(s,`${i}`):n.removeAttribute(s)}function m(e,n,t){t.type=e==="textarea"?"text":e;let c=r.includes(e),s=n;a(s,t,"min",c),a(s,t,"max",c),a(s,t,"step",c);let i=u.includes(e),o=n;a(o,t,"minLength",i),a(o,t,"maxLength",i);let l=x.includes(e);a(o,t,"pattern",l)}export{m as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as T}from"./VKSF6MXC.js";import{a as v}from"./IPHCBICP.js";import{a}from"./XYXIQ2VY.js";import"./QXU3JCRU.js";import{a as S}from"./RESUGFNC.js";import{a as w}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import"./7IBUU5CJ.js";import"./U3W7QUML.js";import{D as b,E as g,F as h,Q as $,g as f,h as r,l,p as i}from"./AV7L4UBA.js";var I={handle:"handle",dropdown:"dropdown"},y={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},D=["top","up","down","bottom"],C={trigger:"trigger"},m={add:"add",move:"move",reorder:"reorder"},O=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,u=class extends g{constructor(){super(...arguments),this.focusSetter=w()(this),this.interactiveContainer=v(this),this.disabled=!1,this.messages=S({blocking:!0}),this.addToItems=[],this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=T,this.scale="m",this.sortDisabled=!1,this.topLayerDisabled=!1,this.calciteSortHandleAdd=i({cancelable:!0}),this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!0}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!0})}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,messageOverrides:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],addToItems:[0,{},{attribute:!1}],moveToItems:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],setPosition:[9,{},{type:Number}],setSize:[9,{},{type:Number}],sortDisabled:[7,{},{reflect:!0,type:Boolean}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],widthScale:[3,{},{reflect:!0}]}}static{this.styles=O}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get hasValidSetInfo(){return this.hasSetInfo?this.setPosition>0&&this.setSize>1:!0}get hasReorderItems(){return!this.sortDisabled&&this.hasValidSetInfo}get hasNoItems(){return!this.hasReorderItems&&this.moveToItems.length<1&&this.addToItems.length<1}async setFocus(e){return this.focusSetter(()=>this.dropdownEl,e)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s,hasSetInfo:d}=this;if(!d)return e??"";let n=e?t.repositionLabel.replace(p.label,e):t.reposition;return n=n.replace(p.position,o?o.toString():""),n.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}handleAddTo(e){let t=e.target.dataset.id,o=this.addToItems.find(s=>s.id===t);this.calciteSortHandleAdd.emit({addTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:d,scale:n,widthScale:P,hasNoItems:B}=this,c=this.getLabel(),H=e||B;return this.interactiveContainer({disabled:e,children:r`<calcite-dropdown class=${h(I.dropdown)} .disabled=${H} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${d} .scale=${n} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${P} ${b(this.setDropdownEl)}><calcite-action .active=${o} .aria=${{expanded:o}} class=${h(I.handle)} .dragHandle=${!0} .icon=${e?y.blank:y.drag} .label=${c} .scale=${n} slot=${C.trigger} .text=${c} title=${c??l}></calcite-action>${this.renderReorderGroup()}${this.renderMoveToGroup()}${this.renderAddToGroup()}</calcite-dropdown>`})}renderAddToItem(e){return a(e.id,r`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleAddTo}>${e.label}</calcite-dropdown-item>`)}renderMoveToItem(e){return a(e.id,r`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderReorderGroup(){return this.hasReorderItems?a("reorder",r`<calcite-dropdown-group .groupTitle=${this.messages.reorder} id=${m.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderAddToGroup(){let{messages:e,addToItems:t,scale:o}=this;return t.length?a("add-to-items",r`<calcite-dropdown-group .groupTitle=${e.addTo} id=${m.add} .scale=${o} selection-mode=none>${t.map(s=>this.renderAddToItem(s))}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?a("move-to-items",r`<calcite-dropdown-group .groupTitle=${e.moveTo} id=${m.move} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return a(D[e],r`<calcite-dropdown-item data-value=${D[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};$("calcite-sort-handle",u);export{u as SortHandle};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{a as $}from"./GGTQSQWQ.js";import{a as C}from"./FLRMDNB3.js";import{e as z,q as I}from"./RHALB54E.js";import"./N4X2SUPH.js";import{D as g,E as v,P as x,Q as y,g as m,h as b,i as d,l as c}from"./OCN43BDV.js";var D={flipRtl:"flip-rtl",svg:"svg"},k={},u={},w={s:16,m:24,l:32};function N({icon:e,scale:t}){let s=w[t],i=L(e),n=i.charAt(i.length-1)==="F";return`${n?i.substring(0,i.length-1):i}${s}${n?"F":""}`}async function U(e){let t=N(e),s=P(t);if(s)return s;u[t]||(u[t]=fetch(y(`./assets/icon/${t}.json`)).then(n=>n.json()).catch(()=>($.error(`${e.icon} (${e.scale}) icon failed to load`),"")));let i=await u[t];return k[t]=i,i}function B(e){return P(N(e))}function P(e){return k[e]}function L(e){let t=!isNaN(Number(e.charAt(0))),s=e.split("-");if(s.length>0){let n=/[a-z]/i;e=s.map((a,l)=>a.replace(n,function(r,p){return l===0&&p===0?r:r.toUpperCase()})).join("")}return t?`i${e}`:e}var R=m`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends g{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{type:String},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=R}connectedCallback(){if(super.connectedCallback(),this.preload){this.visible=!0,this.loadIconPathData();return}this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(t){(t.has("icon")&&(this.hasUpdated||this.icon!==null)||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){let{icon:t,scale:s,visible:i}=this;if(!t||!i)return;let n={icon:t,scale:s},a=B(n)||await U(n);t===this.icon&&(this.pathData=a)}waitUntilVisible(t){if(this.intersectionObserver=C("intersection",s=>{s.forEach(i=>{i.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())})},{rootMargin:"50px"}),!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)}render(){let{el:t,flipRtl:s,pathData:i,scale:n,textLabel:a}=this,l=z(t),h=w[n],r=!!a,p=[].concat(i||"");return this.el.ariaHidden=I(!r),this.el.ariaLabel=r?a:null,this.el.role=r?"img":null,b`<svg aria-hidden=true class=${v({[D.flipRtl]:l==="rtl"&&s,[D.svg]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${h} ${h}`} width=100% xmlns=http://www.w3.org/2000/svg>${p.map(o=>typeof o=="string"?d`<path d=${o??c} />`:d`<path d=${o.d??c} opacity=${("opacity"in o?o.opacity:1)??c} />`)}</svg>`}};x("calcite-icon",f);export{f as Icon};
3
+ v5.0.0-next.74 */
4
+ import{a as $}from"./EZR4TKVZ.js";import{a as C}from"./V563Z72W.js";import{e as z,q as I}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{E as g,F as v,Q as x,R as y,g as m,h as b,i as d,l as c}from"./AV7L4UBA.js";var D={flipRtl:"flip-rtl",svg:"svg"},k={},u={},w={s:16,m:24,l:32};function N({icon:e,scale:t}){let s=w[t],i=L(e),n=i.charAt(i.length-1)==="F";return`${n?i.substring(0,i.length-1):i}${s}${n?"F":""}`}async function U(e){let t=N(e),s=P(t);if(s)return s;u[t]||(u[t]=fetch(y(`./assets/icon/${t}.json`)).then(n=>n.json()).catch(()=>($.error(`${e.icon} (${e.scale}) icon failed to load`),"")));let i=await u[t];return k[t]=i,i}function B(e){return P(N(e))}function P(e){return k[e]}function L(e){let t=!isNaN(Number(e.charAt(0))),s=e.split("-");if(s.length>0){let n=/[a-z]/i;e=s.map((a,l)=>a.replace(n,function(r,p){return l===0&&p===0?r:r.toUpperCase()})).join("")}return t?`i${e}`:e}var R=m`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`,f=class extends g{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{type:String},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=R}connectedCallback(){if(super.connectedCallback(),this.preload){this.visible=!0,this.loadIconPathData();return}this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(t){(t.has("icon")&&(this.hasUpdated||this.icon!==null)||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){let{icon:t,scale:s,visible:i}=this;if(!t||!i)return;let n={icon:t,scale:s},a=B(n)||await U(n);t===this.icon&&(this.pathData=a)}waitUntilVisible(t){if(this.intersectionObserver=C("intersection",s=>{s.forEach(i=>{i.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())})},{rootMargin:"50px"}),!this.intersectionObserver){t();return}this.intersectionObserver.observe(this.el)}render(){let{el:t,flipRtl:s,pathData:i,scale:n,textLabel:a}=this,l=z(t),h=w[n],r=!!a,p=[].concat(i||"");return this.el.ariaHidden=I(!r),this.el.ariaLabel=r?a:null,this.el.role=r?"img":null,b`<svg aria-hidden=true class=${v({[D.flipRtl]:l==="rtl"&&s,[D.svg]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${h} ${h}`} width=100% xmlns=http://www.w3.org/2000/svg>${p.map(o=>typeof o=="string"?d`<path d=${o??c} />`:d`<path d=${o.d??c} opacity=${("opacity"in o?o.opacity:1)??c} />`)}</svg>`}};x("calcite-icon",f);export{f as Icon};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as X}from"./777QJZF5.js";import{a as _}from"./CYEJP7UZ.js";import{a as T}from"./SNXOUIQ6.js";import{c as g,d as U,e as S,f as I,g as N,h as q,i as v}from"./VKSF6MXC.js";import{a as R}from"./2ETOPUPD.js";import{a as $}from"./SO6CE3FY.js";import"./NBVWN7EK.js";import{a as c}from"./XYXIQ2VY.js";import"./QXU3JCRU.js";import{a as O}from"./QM3DXYRV.js";import{a as C}from"./V563Z72W.js";import{a as z}from"./RESUGFNC.js";import{a as H}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{j as L,q as A,w as B,x as F}from"./7IBUU5CJ.js";import{a as D}from"./U3W7QUML.js";import{C as E,D as m,E as k,F as s,I as x,Q as P,g as w,h as l,p as n}from"./AV7L4UBA.js";var G=5;function J({startX:d,startY:e,endX:t,endY:i}){return Math.hypot(t-d,i-e)>G}var b=class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{let{registeredElements:t}=this,i=e.find(o=>t.has(o));return t.get(i)},this.togglePopovers=e=>{let t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter(o=>o!==i&&o.autoClose&&o.open&&!t.includes(o)).forEach(o=>o.open=!1)},this.keyDownHandler=e=>{e.defaultPrevented||(e.key==="Escape"?this.closeAllPopovers():O(e.key)&&this.togglePopovers(e))},this.pointerDownHandler=e=>{if(e.defaultPrevented||!B(e))return;let{clientX:t,clientY:i}=e;this.pointerDownPosition={x:t,y:i}},this.clickHandler=e=>{F(e)||e.defaultPrevented||this.pointerDownPosition&&J({endY:e.clientY,endX:e.clientX,startY:this.pointerDownPosition.y,startX:this.pointerDownPosition.x})||(this.pointerDownPosition=void 0,this.togglePopovers(e))}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach(e=>e.open=!1)}addListeners(){window.addEventListener("pointerdown",this.pointerDownHandler),window.addEventListener("click",this.clickHandler),window.addEventListener("keydown",this.keyDownHandler)}removeListeners(){window.removeEventListener("pointerdown",this.pointerDownHandler),window.removeEventListener("click",this.clickHandler),window.removeEventListener("keydown",this.keyDownHandler)}},r={positionContainer:"position-container",container:"container",closeButtonContainer:"close-button-container",closeButton:"close-button",content:"content",hasHeader:"has-header",header:"header",headerContainer:"header-container",heading:"heading"},Y="auto",K="aria-controls",M="aria-expanded",Q=w`:host{display:contents}:host([top-layer-disabled]){--calcite-floating-ui-z-index: var(--calcite-z-index-popup)}.position-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.position-container{opacity:0;inset-block-start:0;left:0}}.position-container{max-inline-size:var(--calcite-popover-max-size-x, 100vw)}.position-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.position-container:popover-open{display:block}.position-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding:.5rem .75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host(:is([scale=s],[scale=m])){--calcite-internal-popover-close-spacing: var(--calcite-spacing-xs)}:host([scale=m]) .heading{padding:.75rem 1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-internal-popover-close-spacing: var(--calcite-spacing-sm)}:host([scale=l]) .heading{padding:1rem 1.25rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-popover-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-popover-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-popover-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-popover-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;border-block-end-color:var(--calcite-popover-border-color, var(--calcite-color-border-3))}.heading{margin:0;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container{position:relative;display:flex;height:100%;flex-direction:row;flex-wrap:nowrap;border-radius:.25rem;color:var(--calcite-popover-text-color, var(--calcite-color-text-1))}.header-container.has-header{flex-direction:column}.content{display:flex;height:100%;width:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button{margin:auto;margin-inline-end:var(--calcite-internal-popover-close-spacing)}.close-button-container{display:flex;flex:0 0 auto}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}:host([hidden]){display:none}[hidden]{display:none}`,j=new b,y=class extends k{constructor(){super(...arguments),this.focusTrap=_({triggerProp:"open",focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(e.defaultPrevented||(this.open=!1,e.preventDefault()),!1)}})(this),this.guid=`calcite-popover-${D()}`,this.hasLoaded=!1,this.mutationObserver=C("mutation",()=>this.focusTrap.updateContainerElements()),this.transitionProp="opacity",this.transitionRef=E(),this.messages=z(),this.focusSetter=H()(this),this.topLayer=T({disabledOverride:()=>this.open&&!this.referenceEl,target:()=>this.floatingEl})(this),this.floatingLayout="vertical",this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.offsetDistance=v,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=Y,this.pointerDisabled=!1,this.scale="m",this.topLayerDisabled=!1,this.triggerDisabled=!1,this.calcitePopoverBeforeClose=n({cancelable:!1}),this.calcitePopoverBeforeOpen=n({cancelable:!1}),this.calcitePopoverClose=n({cancelable:!1}),this.calcitePopoverOpen=n({cancelable:!1})}static{this.properties={floatingLayout:[16,{},{state:!0}],referenceEl:[16,{},{state:!0}],autoClose:[7,{},{reflect:!0,type:Boolean}],closable:[7,{},{reflect:!0,type:Boolean}],flipDisabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],label:1,messageOverrides:[0,{},{attribute:!1}],offsetDistance:[11,{},{type:Number,reflect:!0}],offsetSkidding:[11,{},{reflect:!0,type:Number}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],pointerDisabled:[7,{},{reflect:!0,type:Boolean}],referenceElement:1,scale:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],triggerDisabled:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=Q}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:o,flipDisabled:p,filteredFlipPlacements:h,offsetDistance:a,offsetSkidding:f,arrowEl:u,floatingEl:V}=this;return S(this,{floatingEl:V,referenceEl:t,overlayPositioning:o,placement:i,flipDisabled:p,flipPlacements:h,offsetDistance:a,offsetSkidding:f,arrowEl:u,type:"popover"},e)}async setFocus(e){return this.focusSetter(()=>this.el,e)}async updateFocusTrapElements(){this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),requestAnimationFrame(()=>this.setUpReferenceElement(this.hasLoaded))}willUpdate(e){e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==v)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!==Y))&&this.reposition(!0),e.has("referenceElement")&&(this.referenceElementHandler(),!this.referenceElement&&this.open&&this.topLayer.hide())}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement(),this.hasLoaded=!0}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.removeReferences(),q(this)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}openHandler(){R(this),this.reposition(!0),this.setExpandedAttr()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?U(t,e):null}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=this.getReferenceElement(),N(this);let{el:t,referenceElement:i,referenceEl:o}=this;e&&i&&!o&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}setExpandedAttr(){let{referenceEl:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(M,A(t))}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(K,t),j.registerElement(e,this.el),this.setExpandedAttr()}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(K),e.removeAttribute(M)),j.unregisterElement(e))}getReferenceElement(){let{referenceElement:e,el:t}=this;return(typeof e=="string"?L(t,{id:e}):e)||null}hide(){this.open=!1}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit(),this.topLayer.show()}onOpen(){this.calcitePopoverOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),I(this),this.focusTrap.deactivate(),this.topLayer.hide()}setArrowEl(e){this.arrowEl=e,this.reposition(!0)}renderCloseButton(){let{messages:e,closable:t}=this;return t?c(r.closeButtonContainer,l`<div class=${s(r.closeButtonContainer)}><calcite-action class=${s(r.closeButton)} icon=x @click=${this.hide} .scale=${this.scale} .text=${e.close}></calcite-action></div>`):null}renderHeader(){let{heading:e,headingLevel:t}=this,i=e?$({class:r.heading,level:t,children:e}):null;return i?c(r.header,l`<div class=${s(r.header)}>${i}${this.renderCloseButton()}</div>`):null}render(){let{referenceEl:e,heading:t,label:i,open:o,pointerDisabled:p,floatingLayout:h}=this,a=e&&o,f=!a,u=p?null:c("floating-arrow",X({floatingLayout:h,ref:this.setArrowEl}));return this.el.inert=f,this.el.ariaLabel=i,this.el.ariaLive="polite",x(this.el,"id",this.getId()),this.el.role="dialog",l`<div class=${s(r.positionContainer)} popover=manual ${m(this.setFloatingEl)}><div class=${s({[r.container]:!0,[g.animation]:!0,[g.animationActive]:a})} ${m(this.transitionRef)}>${u}<div class=${s({[r.hasHeader]:!!t,[r.headerContainer]:!0})}>${this.renderHeader()}<div class=${s(r.content)}><slot></slot></div>${t?null:this.renderCloseButton()}</div></div></div>`}};P("calcite-popover",y);export{y as Popover};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{g as e}from"./OCN43BDV.js";var a=e`.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}`;export{a};
3
+ v5.0.0-next.74 */
4
+ import{g as e}from"./AV7L4UBA.js";var a=e`.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}`;export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
4
- import{a as i,b as t,c as e,d as n}from"./ZJ74HVOR.js";var r={width:{medium:a(n.max),small:a(e.max),xsmall:a(t.max),xxsmall:a(i.max)}};function a(s){return parseInt(s)}export{r as a};
3
+ v5.0.0-next.74 */
4
+ import{a as i,b as t,c as e,d as n}from"./H4IEAPAT.js";var r={width:{medium:a(n.max),small:a(e.max),xsmall:a(t.max),xxsmall:a(i.max)}};function a(s){return parseInt(s)}export{r as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{b as l}from"./O42TMGJK.js";import{a as g}from"./IPHCBICP.js";import{a as f}from"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{a as v}from"./U3W7QUML.js";import{E as u,F as i,Q as h,g as p,h as o,p as m}from"./AV7L4UBA.js";var t={container:"container",containerActive:"container--active",contentCenter:"content-center",description:"description",heading:"heading",iconEnd:"icon-end",iconStart:"icon-start",scale:c=>`scale--${c}`},b={contentEnd:"content-end",contentStart:"content-start"},x="autocomplete-item",y={host:c=>`${x}-${c}`},S=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);--calcite-internal-autocomplete-item-spacing-unit-l: .5rem;--calcite-internal-autocomplete-item-spacing-unit-s: .25rem;--calcite-internal-autocomplete-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);--calcite-internal-autocomplete-item-spacing-unit-l: .75rem;--calcite-internal-autocomplete-item-spacing-unit-s: .375rem;--calcite-internal-autocomplete-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);--calcite-internal-autocomplete-item-spacing-unit-l: 1rem;--calcite-internal-autocomplete-item-spacing-unit-s: .625rem;--calcite-internal-autocomplete-item-description-font-size: var(--calcite-font-size)}:host{display:flex}.container{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;outline-color:transparent;background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-1));color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-3));gap:var(--calcite-internal-autocomplete-item-spacing-unit-l);padding-inline:var(--calcite-internal-autocomplete-item-spacing-unit-l);padding-block:var(--calcite-internal-autocomplete-item-spacing-unit-s);word-wrap:break-word;word-break:break-word;justify-content:space-around}.description{color:var(--calcite-autocomplete-description-text-color);font-size:var(--calcite-internal-autocomplete-item-description-font-size)}.heading{color:var(--calcite-autocomplete-heading-text-color, var(--calcite-color-text-1))}.heading,.description{line-height:var(--calcite-font-line-height-relative-snug)}:host(:hover:not([disabled])) .container{background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-2))}:host(:hover:not([disabled])) .container .description{color:var(--calcite-autocomplete-description-text-color, var(--calcite-color-text-2))}.container--active{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.content-center{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,r=class extends u{constructor(){super(...arguments),this.interactiveContainer=g(this),this.active=!1,this.disabled=!1,this.guid=y.host(v()),this.scale="m",this.calciteAutocompleteItemSelect=m({cancelable:!1})}static{this.properties={active:[5,{},{type:Boolean}],description:1,disabled:[7,{},{reflect:!0,type:Boolean}],guid:1,heading:1,iconEnd:[3,{type:String},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{type:String},{reflect:!0}],inputValueMatchPattern:[3,{},{reflect:!0}],label:1,scale:1,value:1}}static{this.styles=S}emitSelectEvent(){this.calciteAutocompleteItemSelect.emit()}handleClick(e){e.preventDefault(),this.emitSelectEvent()}render(){let{active:e,description:a,heading:n,disabled:s,inputValueMatchPattern:d}=this;return this.interactiveContainer({disabled:s,children:o`<div class=${i({[t.container]:!0,[t.containerActive]:e&&!s,[t.scale(this.scale)]:!0})} @click=${this.handleClick}>${this.renderIcon("start")}<slot name=${b.contentStart}></slot><div class=${i(t.contentCenter)}><div class=${i(t.heading)}>${l({text:n,pattern:d})}</div><div class=${i(t.description)}>${l({text:a,pattern:d})}</div></div><slot name=${b.contentEnd}></slot>${this.renderIcon("end")}</div>`})}renderIcon(e){let{iconFlipRtl:a}=this,n=e==="start"?this.iconStart:this.iconEnd;return n?o`<calcite-icon class=${i(e==="start"?t.iconStart:t.iconEnd)} .flipRtl=${a===e||a==="both"} .icon=${n} .scale=${f(this.scale)}></calcite-icon>`:null}};h("calcite-autocomplete-item",r);export{r as AutocompleteItem};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as u}from"./IPHCBICP.js";import{a as p}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import"./7IBUU5CJ.js";import"./U3W7QUML.js";import{E as c,F as t,J as s,Q as d,g as n,h as l,p as r}from"./AV7L4UBA.js";var o={container:"container",dividerContainer:"divider-container",divider:"divider"},h={trigger:"trigger"},e={chevronDown:"chevronDown",caretDown:"caretDown",ellipsis:"ellipsis",handleVertical:"handle-vertical"},b=n`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-brand);--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-status-danger);--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-foreground-3);--calcite-internal-split-button-divider-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-inverse);--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-divider-border-color: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider-color: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider-color: var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-divider-border-color: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider-color: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider-color: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-split-button-divider-color, var(--calcite-internal-split-button-divider-border-color))}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider-border-color, var(--calcite-internal-split-button-divider-color))}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}calcite-button[split-child=primary],calcite-button[split-child=secondary]{--calcite-button-background-color: var(--calcite-split-button-background-color);--calcite-button-border-color: var(--calcite-split-button-border-color);--calcite-button-text-color: var(--calcite-split-button-text-color);--calcite-button-icon-color: var(--calcite-split-button-icon-color);--calcite-button-loading-color: var(--calcite-split-button-loading-color);--calcite-button-shadow: var(--calcite-split-button-shadow)}calcite-button[split-child=primary]{--calcite-button-corner-radius: var(--calcite-split-button-corner-radius) var(--calcite-corner-radius-none) var(--calcite-corner-radius-none) var(--calcite-split-button-corner-radius)}calcite-button[split-child=secondary]{--calcite-button-corner-radius: var(--calcite-corner-radius-none) var(--calcite-split-button-corner-radius) var(--calcite-split-button-corner-radius) var(--calcite-corner-radius-none)}calcite-dropdown{--calcite-dropdown-shadow: var(--calcite-split-button-dropdown-shadow);--calcite-dropdown-background-color: var(--calcite-split-button-dropdown-background-color);--calcite-dropdown-width: var(--calcite-split-button-dropdown-width)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends c{constructor(){super(...arguments),this.focusSetter=p()(this),this.interactiveContainer=u(this),this.active=!1,this.appearance="solid",this.disabled=!1,this.download=!1,this.dropdownIconType="chevron",this.kind="brand",this.loading=!1,this.overlayPositioning="absolute",this.placement="bottom-end",this.scale="m",this.topLayerDisabled=!1,this.width="auto",this.calciteSplitButtonPrimaryClick=r({cancelable:!1}),this.calciteSplitButtonSecondaryClick=r({cancelable:!1})}static{this.properties={active:[7,{},{reflect:!0,type:Boolean}],appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],download:[3,{converter:s},{reflect:!0}],dropdownIconType:[3,{},{reflect:!0}],dropdownLabel:[3,{},{reflect:!0}],flipPlacements:[0,{},{attribute:!1}],href:[3,{},{reflect:!0}],kind:[3,{},{reflect:!0}],loading:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],rel:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],primaryIconEnd:[3,{type:String},{reflect:!0}],primaryIconFlipRtl:[3,{},{reflect:!0}],primaryIconStart:[3,{type:String},{reflect:!0}],primaryLabel:[3,{},{reflect:!0}],primaryText:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],target:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],width:[3,{},{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=b}get dropdownIcon(){return this.dropdownIconType==="chevron"?e.chevronDown:this.dropdownIconType==="caret"?e.caretDown:this.dropdownIconType==="ellipsis"?e.ellipsis:e.handleVertical}async setFocus(i){return this.focusSetter(()=>this.el,i)}calciteSplitButtonPrimaryClickHandler(){this.calciteSplitButtonPrimaryClick.emit()}calciteSplitButtonSecondaryClickHandler(){this.calciteSplitButtonSecondaryClick.emit()}render(){let i=this.width==="auto"?"auto":"full";return this.interactiveContainer({disabled:this.disabled,children:l`<div class=${t(o.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .download=${this.download} .href=${this.href} .iconEnd=${this.primaryIconEnd?this.primaryIconEnd:null} .iconFlipRtl=${this.primaryIconFlipRtl?this.primaryIconFlipRtl:null} .iconStart=${this.primaryIconStart?this.primaryIconStart:null} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .rel=${this.rel} .scale=${this.scale} split-child=primary .target=${this.target} type=button .width=${i}>${this.primaryText}</calcite-button><div class=${t(o.dividerContainer)}><div class=${t(o.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=${h.trigger} split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>`})}};d("calcite-split-button",a);export{a as SplitButton};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as S}from"./IPHCBICP.js";import{a as u}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{u as f,y as i}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as n,D as h,E as d,F as p,Q as m,g as l,h as o,p as r}from"./AV7L4UBA.js";var g={container:"container"},I=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-swatch-group-space, var(--calcite-spacing-sm))}:host([scale=s]) .container{gap:var(--calcite-swatch-group-space, var(--calcite-spacing-xs))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,c=class extends d{constructor(){super(),this.items=[],this.slotRef=n(),this.focusSetter=u()(this),this.interactiveContainer=S(this),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteSwatchGroupSelect=r({cancelable:!1}),this.listen("calciteInternalSwatchKeyEvent",this.calciteInternalSwatchKeyEventListener),this.listen("calciteSwatchSelect",this.calciteSwatchSelectListener),this.listen("calciteInternalSwatchSelect",this.calciteInternalSwatchSelectListener),this.listen("calciteInternalSyncSelectedSwatches",this.calciteInternalSyncSelectedSwatches)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=I}async setFocus(e){return this.focusSetter(()=>this.el,e)}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}calciteInternalSwatchKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items?.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":i(s,e.detail.target,"next");break;case"ArrowLeft":i(s,e.detail.target,"previous");break;case"Home":i(s,e.detail.target,"first");break;case"End":i(s,e.detail.target,"last");break}}e.stopPropagation()}calciteSwatchSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalSwatchSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedSwatches(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let s=this.slotRef.value?.assignedElements({flatten:!0}).filter(t=>t?.matches("calcite-swatch"));this.items=e?f(e):s,!(this.items?.length<1)&&(this.items?.forEach(t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode,t.parentSwatchGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items?.filter(e=>e.selected)}setSelectedItems(e,s){s&&this.items?.forEach(t=>{let a=s===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=a?!t.selected:!1;break;case"single-persist":t.selected=!!a;break}}),this.updateSelectedItems(),e&&this.calciteSwatchGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:s}=this;return this.interactiveContainer({disabled:s,children:o`<div .ariaLabel=${this.label} class=${p(g.container)} .role=${e}><slot @slotchange=${this.updateItems} ${h(this.slotRef)}></slot></div>`})}};m("calcite-swatch-group",c);export{c as SwatchGroup};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
3
+ v5.0.0-next.74 */
4
4
  var o="calcite-list",a="calcite-list-item-group",r="calcite-list-item";function u(s){let t=s.parentElement?.closest(r);t&&(t.open=!0,u(t))}function d(s){let t=s.assignedElements({flatten:!0}),n=t.filter(i=>i?.matches(a)).map(i=>Array.from(i.querySelectorAll(r))).flat(),e=t.filter(i=>i?.matches(r));return{lists:t.filter(i=>i?.matches(o)),items:n.concat(e)}}function f(s){let t=s.assignedElements({flatten:!0}).filter(e=>e.matches(r)),n=t.filter(e=>!e.filterHidden);t.forEach(e=>{let l=n.indexOf(e);e.setPosition=l===-1?void 0:l+1,e.setSize=l===-1?void 0:n.length})}function h(s,t=!1){if(!1)return 0;let n=t?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item";return document.evaluate(n,s,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}function p(s){return s.tagName==="CALCITE-LIST-ITEM"}export{o as a,a as b,r as c,u as d,d as e,f,h as g,p as h};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.72 */
3
+ v5.0.0-next.74 */
4
4
  var c={max:"320px"},a={max:"476px"},i={max:"768px"},t={max:"1152px"},e="8px",n="12px",s="16px",x="2px",o="0.25rem",p="0.5rem";export{c as a,a as b,i as c,t as d,e,n as f,s as g,x as h,o as i,p as j};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as z}from"./IPHCBICP.js";import{a as f}from"./XYXIQ2VY.js";import{a as d}from"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{e as M,n as T,q as p,t as A,u as w}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as y,D as S,E as I,F as i,I as E,K as s,Q as $,g as x,h as a,l as C,p as r}from"./AV7L4UBA.js";var n={actionsEnd:"actions-end",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"},R={actionsEnd:"actions-end",children:"children"},o={blank:"blank",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},F=x`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host(:is([scale=s],[scale=m])){--calcite-internal-tree-item-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=l]){--calcite-internal-tree-item-action-spacing: var(--calcite-spacing-xs);--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host{display:block;max-inline-size:100%;cursor:pointer}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}.node-actions-container{color:var(--calcite-tree-text-color, var(--calcite-color-text-1))}.icon-start{--calcite-icon-color: var(--calcite-color-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;block-size:100%;inset-inline-start:var(--calcite-internal-tree-item-line-left-position);content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none!important}::slotted(*):hover{text-decoration:none!important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch;gap:var(--calcite-internal-tree-item-action-spacing)}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-border-input))}.checkbox-label{pointer-events:none;display:flex;align-items:center}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark{opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,:host([selected]) .node-container:hover .checkmark,:host(:focus:not([disabled])) .node-container .checkmark{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{--calcite-internal-tree-item-text-color: var(--calcite-tree-text-color-selected, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium);color:var(--calcite-internal-tree-item-text-color)}:host([selected]) .node-container .icon-start,:host([selected]) .node-container:hover .icon-start{--calcite-icon-color: var(--calcite-internal-tree-item-text-color)}:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;transform:rotate(0)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([selected]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`,b=class extends I{constructor(){super(),this.actionSlotWrapperRef=y(),this.userChangedValue=!1,this.interactiveContainer=z(this),this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=r({cancelable:!1}),this.calciteTreeItemCollapse=r({cancelable:!1}),this.calciteTreeItemExpand=r({cancelable:!1}),this.calciteTreeItemSelect=r({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{},{state:!0}],updateAfterInitialRender:[16,{},{state:!0}],depth:[11,{},{reflect:!0,type:Number}],disabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],hasChildren:[39,{},{reflect:!0,readOnly:!0,type:Boolean}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{type:String},{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=F}get hasChildren(){return!!this.childTree}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&((this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),this.hasUpdated&&(this.expanded?this.calciteTreeItemExpand.emit():this.calciteTreeItemCollapse.emit())),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1})),this.userChangedValue&&(this.calciteTreeItemSelect.emit(),this.userChangedValue=!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 c=t.target===""?"_self":t.target;window.open(t.href,c)}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(c=>c.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(c=>c.matches("calcite-tree"))[0];this.childTree=t,this.requestUpdate("hasChildren"),this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapperRef.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,c=Array.from(t?.children),h=c.filter(l=>l.selected);c.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(l=>{l.selected=!0,l.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=A(e)}preWillUpdate(){this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=M(this.el)==="rtl",t=this.selectionMode!=="none"&&this.selectionMode!=="ancestors",c=this.selectionMode==="none"&&!this.hasChildren,h=this.hasChildren&&this.indeterminate,v=this.hasChildren||this.selectionMode==="ancestors"?a`<calcite-icon class=${i({[n.chevron]:!0,[s.rtl]:e})} .icon=${this.hasChildren?o.chevronRight:o.blank} @click=${this.iconClickHandler} .scale=${d(this.scale)}></calcite-icon>`:null,l=f("default-slot",a`<slot></slot>`),m=this.selectionMode==="ancestors"?a`<div class=${i(n.checkboxContainer)}><calcite-icon class=${i(n.checkbox)} .icon=${this.selected?o.checkSquareF:h?o.minusSquareF:o.square} .scale=${d(this.scale)}></calcite-icon></div>`:null,u=t?o.checkmark:c?o.blank:null,q=u?a`<calcite-icon class=${i({[n.checkmarkIcon]:u===o.checkmark,[s.rtl]:e})} .icon=${u} .scale=${d(this.scale)}></calcite-icon>`:null,k=!(this.parentExpanded||this.depth===1),g=this.updateAfterInitialRender&&this.expanded,{hasEndActions:L}=this,B=f("actionsEndSlot",a`<slot name=${R.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`),H=a`<calcite-icon class=${i(n.iconStart)} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${d(this.scale)}></calcite-icon>`;return this.el.ariaChecked=this.selectionMode==="multiple"||this.selectionMode==="multichildren"||this.selectionMode==="ancestors"?p(this.selected):void 0,this.el.ariaExpanded=this.hasChildren?p(g):void 0,this.el.inert=k,this.el.ariaLive="polite",this.el.ariaSelected=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist"?p(this.selected):void 0,this.el.toggleAttribute("calcite-hydrated-hidden",k),this.el.role="treeitem",E(this.el,"tabIndex",this.disabled?-1:0),this.interactiveContainer({disabled:this.disabled,children:a`<div class=${i({[n.itemExpanded]:g})}><div class=${i(n.nodeAndActionsContainer)}><div class=${i({[n.nodeContainer]:!0,[s.rtl]:e})} data-selection-mode=${this.selectionMode??C}>${v}${q}${m||null}${this.iconStart?H:null}${m?a`<label class=${i(n.checkboxLabel)}>${l}</label>`:l}</div><div class=${i(n.actionsEnd)} .hidden=${!L} ${S(this.actionSlotWrapperRef)}>${B}</div></div><div class=${i({[n.childrenContainer]:!0,[s.rtl]:e})} @click=${this.childrenClickHandler} .role=${this.hasChildren?"group":void 0}><slot name=${R.children} @slotchange=${this.handleChildrenSlotChange}></slot></div></div>`})}};$("calcite-tree-item",b);export{b as TreeItem};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as p}from"./G67UBCZK.js";import{j as b}from"./O55TIJ53.js";import"./H4IEAPAT.js";import{a as d}from"./XYXIQ2VY.js";import"./QM3DXYRV.js";import{a as E}from"./V563Z72W.js";import{a as L}from"./RESUGFNC.js";import{a as X}from"./EYVRD7GH.js";import{a as u}from"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import"./7IBUU5CJ.js";import"./U3W7QUML.js";import{E as P,F as r,Q as w,g as $,h,l as y,p as C}from"./AV7L4UBA.js";var s={list:"list",listItem:"list-item",hiddenItem:"hidden-item",page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"},f={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"},O=$`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`,I=2,M=2,m={large:11,medium:9,small:7,xsmall:5,xxsmall:1},x=class extends P{constructor(){super(...arguments),this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t),this.resizeObserver=E("resize",t=>t.forEach(this.resizeHandler)),this.messages=L(),this.focusSetter=X()(this),this.maxItems=m.xxsmall,this.groupSeparator=!1,this.pageSize=20,this.scale="m",this.startItem=1,this.totalItems=0,this.calcitePaginationChange=C({cancelable:!1})}static{this.properties={isXXSmall:[16,{},{state:!0}],lastStartItem:[16,{},{state:!0}],maxItems:[16,{},{state:!0}],totalPages:[16,{},{state:!0}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],numberingSystem:1,pageSize:[11,{},{reflect:!0,type:Number}],scale:[3,{},{reflect:!0}],startItem:[11,{},{reflect:!0,type:Number}],totalItems:[11,{},{reflect:!0,type:Number}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=O}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:t>=Math.ceil(this.totalPages)?this.startItem=this.lastStartItem:t<=0?this.startItem=1:this.startItem=(t-1)*this.pageSize+1}}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}async load(){this.handleTotalPages(),this.handleLastStartItemChange(),this.handleIsXXSmall()}willUpdate(t){(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20))&&this.handleTotalPages(),(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20)||t.has("totalPages"))&&this.handleLastStartItemChange(),t.has("maxItems")&&(this.hasUpdated||this.maxItems!==m.xxsmall)&&this.handleIsXXSmall(),t.has("messages")&&this.effectiveLocaleChange()}loaded(){this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleTotalPages(){this.pageSize=Math.max(1,this.pageSize),this.totalPages=Math.max(1,this.totalItems/this.pageSize)}effectiveLocaleChange(){b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){let{totalItems:t,pageSize:e}=this;this.lastStartItem=Math.max(1,Math.floor((t-1)/e)*e+1)}handleIsXXSmall(){this.isXXSmall=this.maxItems===m.xxsmall}setMaxItemsToBreakpoint(t){if(!(!p||!t)){if(t>=p.width.medium){this.maxItems=m.large;return}if(t>=p.width.small){this.maxItems=m.medium;return}if(t>=p.width.xsmall){this.maxItems=m.small;return}if(t>=p.width.xxsmall){this.maxItems=m.xsmall;return}this.maxItems=m.xxsmall}}firstClicked(){this.startItem=1,this.emitUpdate()}lastClicked(){this.startItem=this.lastStartItem,this.emitUpdate()}async previousClicked(){await this.previousPage(),this.emitUpdate()}async nextClicked(){await this.nextPage(),this.emitUpdate()}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-I-M}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-I-(M-1)}emitUpdate(){this.calcitePaginationChange.emit()}handlePageClick(t){let e=t.target;this.startItem=parseInt(e.value),this.emitUpdate()}renderEllipsis(t){return d(t,h`<span class=${r(s.ellipsis)}>&hellip;</span>`)}renderItems(){let{totalItems:t,pageSize:e,startItem:i,maxItems:a,totalPages:l,lastStartItem:v,isXXSmall:U}=this,o=[];if(U)return o.push(this.renderPage(i)),o;let F=t>e,S=this.showStartEllipsis(),k=this.showEndEllipsis();F&&o.push(this.renderPage(1)),S&&o.push(this.renderEllipsis("start"));let n=a-I-(k?1:0)-(S?1:0),g,c;l-1<=n?(c=1+e,g=v-e):i/e<n?(c=1+e,g=1+n*e):i+n*e>=t?(c=v-n*e,g=v-e):(c=i-e*((n-1)/2),g=i+e*((n-1)/2));for(let z=0;z<n&&c<=g;z++)o.push(this.renderPage(c)),c=c+e;return k&&o.push(this.renderEllipsis("end")),o.push(this.renderPage(v)),o}renderPage(t){let{pageSize:e}=this,i=Math.floor(t/e)+(e===1?0:1);b.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let a=b.localize(i.toString()),l=t===this.startItem;return h`<li class=${r(s.listItem)}><button .ariaCurrent=${l?"page":"false"} class=${r({[s.page]:!0,[s.selected]:l})} @click=${this.handlePageClick} value=${t??y}>${a}</button></li>`}renderPreviousChevron(){let{pageSize:t,startItem:e,messages:i}=this,a=t===1?e<=t:e<t;return d("previous",h`<button .ariaLabel=${i.previous} class=${r({[s.chevron]:!0,[s.disabled]:a})} .disabled=${a} @click=${this.previousClicked}><calcite-icon flip-rtl .icon=${f.previous} .scale=${u(this.scale)}></calcite-icon></button>`)}renderNextChevron(){let{totalItems:t,pageSize:e,startItem:i,messages:a}=this,l=i+e>t;return d("next-button",h`<button .ariaLabel=${a.next} class=${r({[s.chevron]:!0,[s.disabled]:l})} .disabled=${l} @click=${this.nextClicked}><calcite-icon flip-rtl .icon=${f.next} .scale=${u(this.scale)}></calcite-icon></button>`)}renderFirstChevron(){let{messages:t,startItem:e,isXXSmall:i}=this,a=e===1;return i?d("first-button",h`<button .ariaLabel=${t.first} class=${r({[s.chevron]:!0,[s.disabled]:a})} .disabled=${a} @click=${this.firstClicked}><calcite-icon flip-rtl .icon=${f.first} .scale=${u(this.scale)}></calcite-icon></button>`):null}renderLastChevron(){let{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this,l=e===a;return i?d("last-button",h`<button .ariaLabel=${t.last} class=${r({[s.chevron]:!0,[s.disabled]:l})} .disabled=${l} @click=${this.lastClicked}><calcite-icon flip-rtl .icon=${f.last} .scale=${u(this.scale)}></calcite-icon></button>`):null}render(){let t=this.renderFirstChevron(),e=this.renderLastChevron();return h`<ul class=${r(s.list)}><li class=${r({[s.listItem]:!0,[s.hiddenItem]:!t})}>${t}</li><li class=${r(s.listItem)}>${this.renderPreviousChevron()}</li>${this.renderItems()}<li class=${r(s.listItem)}>${this.renderNextChevron()}</li><li class=${r({[s.listItem]:!0,[s.hiddenItem]:!e})}>${e}</li></ul>`}};w("calcite-pagination",x);export{x as Pagination};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{n as l}from"./AV7L4UBA.js";var p=(n,o)=>{let t=n;for(;t;){if(t===o)return!0;if(!t.parentNode)return!1;t.parentNode instanceof ShadowRoot?t=t.parentNode.host:t=t.parentNode}return!1},f=(n,o,t)=>{let s=b(o).subscribe;return s(e=>{e.some(r=>p(n,r.target))&&t()})},u={},b=n=>{let o=n.join(","),t=u[o];if(t!==void 0)return t;let s=new Set,e=new MutationObserver(r=>s.forEach(a=>a(r)));globalThis.document&&e.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:r=>(s.add(r),()=>{s.delete(r),s.size===0&&(e.disconnect(),u[o]=void 0)})};return u[o]=i,i},E=(n,o)=>{let t=n;for(;t;){let s=t.closest?.(o);if(s)return s;let e=t.getRootNode?.();if(e===globalThis.document)return;t=e.host}};var h=(n,o,t)=>E(n,`[${o}]`)?.getAttribute(o)??t;var v="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),C=new Set(v),c="en",N={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},y=async(n,o,t="")=>{let s=`${o}/${t}`,e=`${s}${n}.json`;return d[e]??(d[e]=g(n,s)),await d[e]},d={},g=async(n,o)=>{let t=`${o}${n}.json`;try{let s=await fetch(t);if(s.ok)return await s.json()}catch(s){return l("error","intl",`An unknown error occurred while fetching localization strings at ${t}`,{detail:{error:s}}),{}}return n===c?{}:await g(c,o)},L=n=>{let o=h(n,"lang",globalThis.navigator?.language||c);return{lang:o,t9nLocale:m(o)}},m=n=>{let[o,t]=n.split("-"),s=o.toLowerCase(),e=s;return t&&(e=`${s}-${t.toUpperCase()}`),e=N[e]??e,C.has(e)?e:t?m(s):c},k=(n,o,t,s)=>{let e,i=()=>w(n,o(),s).then(r=>{(e?.lang!==r.lang||e.t9nLocale!==r.t9nLocale||e.t9nStrings!==r.t9nStrings)&&t(r),e=r}).catch(r=>{l("error","intl","Error updating component locale state",{detail:{error:r}})});return queueMicrotask(i),f(n,["lang"],i)},w=async(n,o,t=n.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:e}=L(n),i=`${o}/${t}/t9n`,a=t===null?{}:await y(e,i,"messages.");return{lang:s,t9nLocale:e,t9nStrings:a}};export{C as a,c as b,L as c,m as d,k as e};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as d}from"./V563Z72W.js";import{a as h}from"./RESUGFNC.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{r as m}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as l,D as r,E as o,F as s,Q as c,g as a,h as t}from"./AV7L4UBA.js";var f={scrim:"scrim",content:"content"},u={s:72,l:480},b=a`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity: 0 }to{--tw-text-opacity: 1 }}.scrim{position:absolute;inset:0;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends o{constructor(){super(...arguments),this.loaderRef=l(),this.resizeObserver=d("resize",()=>this.handleResize()),this.messages=h(),this.hasContent=!1,this.loading=!1}static{this.properties={hasContent:[16,{},{state:!0}],loaderScale:[16,{},{state:!0}],loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleDefaultSlotChange(e){this.hasContent=m(e)}getScale(e){return e<u.s?"s":e>=u.l?"l":"m"}handleResize(){let{el:e}=this;this.loaderScale=this.getScale(Math.min(e.clientHeight,e.clientWidth)??0)}render(){let{hasContent:e,loading:p,loaderScale:n,messages:g}=this;return t`<div class=${s(f.scrim)}>${p&&n?t`<calcite-loader .label=${g.loading} .scale=${n} ${r(this.loaderRef)}></calcite-loader>`:null}<div class=${s(f.content)} .hidden=${!e}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`}};c("calcite-scrim",i);export{i as Scrim};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as I}from"./TJMJXN62.js";import{a as y}from"./UJC5XP2H.js";import{d as r}from"./PSBH4GTB.js";import{a as A}from"./CYEJP7UZ.js";import{a as M}from"./JU4MG3HE.js";import{a as R}from"./SNXOUIQ6.js";import{a as B}from"./2ETOPUPD.js";import{a as E}from"./XYXIQ2VY.js";import{a as C}from"./V563Z72W.js";import{a as P}from"./RESUGFNC.js";import{a as O}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{D as u}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as k,D as w,E as D,F as b,N as l,Q as T,g as S,h as x,p as f}from"./AV7L4UBA.js";var g={dialog:"dialog",panel:"panel",scrim:"scrim",container:"container",containerOpen:"container--open",containerEmbedded:"container--embedded",assistiveText:"assistive-text",openingActive:"dialog--opening-active"},c={actionBar:"action-bar",alerts:"alerts",customContent:"custom-content",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerStart:"footer-start",footerEnd:"footer-end"},L={x:null,y:null},F={top:null,right:null,bottom:null,left:null},U=S`:host{--calcite-dialog-scrim-background-color: rgba(0, 0, 0, .85);pointer-events:none;inset:0;display:flex;--calcite-internal-dialog-animation-offset: 20px}:host([top-layer-disabled]),:host([top-layer-disabled]) .container,:host([embedded]),.container--embedded{z-index:var(--calcite-z-index-overlay)}:host([embedded][modal]){position:absolute}.container{pointer-events:auto;position:fixed;inset:0;display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;overflow:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}:host([placement=top]) .container{align-items:flex-start;justify-content:center}:host([placement=top-start]) .container{align-items:flex-start;justify-content:flex-start}:host([placement=top-end]) .container{align-items:flex-start;justify-content:flex-end}:host([placement=bottom]) .container{align-items:flex-end;justify-content:center}:host([placement=bottom-start]) .container{align-items:flex-end;justify-content:flex-start}:host([placement=bottom-end]) .container{align-items:flex-end;justify-content:flex-end}:host(:not([modal])) .container{pointer-events:none}:host([scale=s]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-sm));--calcite-internal-dialog-min-size-x: 198px;--calcite-internal-dialog-min-size-y: 140px}:host([scale=m]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md));--calcite-internal-dialog-min-size-x: 288px;--calcite-internal-dialog-min-size-y: 180px}:host([scale=l]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md-plus));--calcite-internal-dialog-min-size-x: 388px;--calcite-internal-dialog-min-size-y: 220px}.scrim{--calcite-scrim-background: var(--calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim));--calcite-scrim-background-color: var( --calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim) );position:fixed;inset:0;display:flex;overflow-y:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}calcite-panel{--calcite-panel-content-space: var(--calcite-dialog-content-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-footer-space: var(--calcite-dialog-footer-space);--calcite-panel-border-color: var(--calcite-dialog-border-color);--calcite-panel-background-color: var(--calcite-dialog-background-color, var(--calcite-color-foreground-1));--calcite-panel-icon-color: var(--calcite-dialog-icon-color);--calcite-panel-heading-text-color: var(--calcite-dialog-heading-text-color);--calcite-panel-description-text-color: var(--calcite-dialog-description-text-color);--calcite-panel-header-background-color: var(--calcite-dialog-header-background-color);--calcite-panel-header-action-background-color: var(--calcite-dialog-header-action-background-color);--calcite-panel-header-action-background-color-hover: var(--calcite-dialog-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-dialog-header-action-background-color-press);--calcite-panel-header-action-text-color: var(--calcite-dialog-header-action-text-color);--calcite-panel-header-action-text-color-press: var(--calcite-dialog-header-action-text-color-press);--calcite-panel-footer-background-color: var(--calcite-dialog-footer-background-color);--calcite-panel-space: var(--calcite-dialog-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-header-content-space: var(--calcite-dialog-header-content-space, var(--calcite-dialog-content-space));--calcite-popover-border-color: var(--calcite-dialog-action-menu-border-color, var(--calcite-color-border-1));--calcite-panel-corner-radius: var(--calcite-dialog-corner-radius)}:host([kind=brand]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-brand))}:host([kind=danger]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-danger))}:host([kind=info]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-info))}:host([kind=success]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-success))}:host([kind=warning]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-warning))}::slotted(*){--calcite-panel-background-color: initial}[popover]{padding:0;border:none;background-color:transparent;position:fixed;display:flex}[popover]:popover-open{display:flex}.dialog{pointer-events:none;position:relative;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;opacity:0;--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:inset-block var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);border-radius:var(--calcite-dialog-corner-radius, var(--calcite-corner-radius-sm));min-inline-size:var(--calcite-dialog-min-size-x, var(--calcite-internal-dialog-min-size-x));max-inline-size:var(--calcite-dialog-max-size-x, 100%);min-block-size:var(--calcite-dialog-min-size-y, var(--calcite-internal-dialog-min-size-y));max-block-size:var(--calcite-dialog-max-size-y, 100%);--calcite-internal-dialog-hidden-position: calc( var(--calcite-dialog-offset-y, 0px) + var(--calcite-internal-dialog-animation-offset) );--calcite-internal-dialog-shown-position: var(--calcite-dialog-offset-y, 0);inset-inline-start:var(--calcite-dialog-offset-x, 0);inset-block-start:var(--calcite-internal-dialog-hidden-position)}.dialog--opening-active{inset-block-start:var(--calcite-internal-dialog-shown-position)}:host([top-layer-disabled]) .dialog,:host([embedded]) .dialog{z-index:var(--calcite-z-index-modal)}:host([menu-open]) .dialog{transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}.panel{visibility:hidden;opacity:0;border-radius:var(--calcite-dialog-corner-radius, var(--calcite-corner-radius-sm));transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}.container--open .panel{visibility:visible;opacity:1;transition:visibility 0ms linear,opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}.container--open{opacity:1;visibility:visible;transition-delay:0ms}.container--open .dialog{pointer-events:auto;visibility:visible;opacity:1;transition:inset-block var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}.width-s{inline-size:auto;inline-size:var(--calcite-dialog-size-x, 32rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:35rem){.width-s{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-s.dialog--opening-active{inset-block-start:0}}.width-m{inline-size:var(--calcite-dialog-size-x, 48rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:51rem){.width-m{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-m.dialog--opening-active{inset-block-start:0}}.width-l{inline-size:var(--calcite-dialog-size-x, 94rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:97rem){.width-l{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-l.dialog--opening-active{inset-block-start:0}}:host([placement=cover]) .dialog{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0}:host([placement=cover]) .panel{border-radius:0}:host([kind]) .panel{border-start-start-radius:0px;border-start-end-radius:0px}:host([kind]) .dialog{overflow:hidden}:host([kind=brand]) .dialog{border-color:var(--calcite-color-brand)}:host([kind=danger]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-danger))}:host([kind=info]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-info))}:host([kind=success]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-success))}:host([kind=warning]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-warning))}:host([kind=brand][open]) .dialog,:host([kind=danger][open]) .dialog,:host([kind=info][open]) .dialog,:host([kind=success][open]) .dialog,:host([kind=warning][open]) .dialog{border-width:0px;border-block-start-width:4px;border-style:solid}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}`,$=class extends D{constructor(){super(...arguments),this.dragPosition={...L},this.focusTrap=A({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:()=>!this.modal||this.embedded,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.usePreventDocumentScroll=I()(this),this.mutationObserver=C("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openProp="opened",this.transitionProp="opacity",this.panelRef=k(),this.popoverRef=k(),this.resizePosition={...F},this.messages=P(),this.focusSetter=O()(this),this.topLayer=R({disabledOverride:()=>this.embedded,target:this.popoverRef})(this),this.assistiveText=null,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasFooter=!0,this.opened=!1,this.closeDisabled=!1,this.dragEnabled=!1,this.embedded=!1,this.escapeDisabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.menuOpen=!1,this.modal=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.overlayPositioning="absolute",this.placement="center",this.resizable=!1,this.scale="m",this.topLayerDisabled=!1,this.widthScale="m",this.calciteDialogBeforeClose=f({cancelable:!1}),this.calciteDialogBeforeOpen=f({cancelable:!1}),this.calciteDialogClose=f({cancelable:!1}),this.calciteDialogOpen=f({cancelable:!1}),this.calciteDialogScroll=f({cancelable:!1})}static{this.properties={assistiveText:[16,{},{state:!0}],hasContentBottom:[16,{},{state:!0}],hasContentTop:[16,{},{state:!0}],hasFooter:[16,{},{state:!0}],opened:[16,{},{state:!0}],beforeClose:[0,{},{attribute:!1}],closeDisabled:[7,{},{reflect:!0,type:Boolean}],description:1,dragEnabled:[7,{},{reflect:!0,type:Boolean}],embedded:[7,{},{reflect:!0,type:Boolean}],escapeDisabled:[7,{},{reflect:!0,type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],kind:[3,{},{reflect:!0}],icon:[3,{type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],loading:[7,{},{reflect:!0,type:Boolean}],menuOpen:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],modal:[7,{},{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],open:[7,{},{reflect:!0,type:Boolean}],outsideCloseDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=U}get preventDocumentScroll(){return!this.embedded&&this.modal}get open(){return this._open}set open(e){let t=this._open;e!==t&&this.setOpenState(e)}async scrollContentTo(e){await this.panelRef.value?.scrollContentTo(e)}async setFocus(e){return this.focusSetter(()=>this.panelRef.value??this.el,e)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setupInteractions()}willUpdate(e){(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("placement")&&(this.hasUpdated||this.placement!=="center")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1)||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.setupInteractions(),(e.has("messages")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1)||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.updateAssistiveText(),e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&this.handleOpenedChange(this.opened)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.embedded=!1,this.cleanupInteractions()}focusTrapDisabledOverride(){return!this.modal&&this.focusTrapDisabled}updateAssistiveText(){let{messages:e}=this;this.assistiveText=e&&(this.dragEnabled||this.resizable)?`${this.dragEnabled?e.dragEnabled:""} ${this.resizable?e.resizeEnabled:""}`:null}onBeforeOpen(){this.calciteDialogBeforeOpen.emit(),this.topLayer.show()}onOpen(){this.focusTrapDisabled&&this.setFocus(),this.focusTrap.activate(),this.calciteDialogOpen.emit()}onBeforeClose(){this.calciteDialogBeforeClose.emit()}onClose(){this.focusTrap.deactivate(),this.calciteDialogClose.emit(),this.topLayer.hide()}async setOpenState(e){if(this.beforeClose&&!e)try{await this.beforeClose?.()}catch{return}this._open=e,e&&await this.componentOnReady(),this.opened=e}handleOpenedChange(e){let{transitionEl:t}=this;t&&(t.classList.toggle(g.openingActive,e),B(this))}async triggerInteractModifiers(){let{interaction:e}=this;e&&(await e.reflow({name:"drag"}),await e.reflow({name:"resize"}))}getTransitionElDOMRect(){return this.transitionEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,shiftKey:i,defaultPrevented:n}=e,{dragEnabled:a,resizable:o,resizePosition:d,dragPosition:s,transitionEl:h}=this;if(!(n||!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t)))switch(t){case"ArrowUp":if(i&&o&&h){let{minBlockSize:m}=window.getComputedStyle(h),p=u(m),v=this.getTransitionElDOMRect().height;if(v<=p)return;this.updateSize({size:v-l,type:"blockSize"}),d.bottom-=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()}else a&&(s.y-=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowDown":i&&o&&h?(this.updateSize({size:this.getTransitionElDOMRect().height+l,type:"blockSize"}),d.bottom+=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):a&&(s.y+=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowLeft":if(i&&o&&h){let{minInlineSize:m}=window.getComputedStyle(h),p=u(m),v=this.getTransitionElDOMRect().width;if(v<=p)return;this.updateSize({size:v-l,type:"inlineSize"}),d.right-=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()}else a&&(s.x-=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowRight":i&&o&&h?(this.updateSize({size:this.getTransitionElDOMRect().width+l,type:"inlineSize"}),d.right+=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):a&&(s.x+=l,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break}}updateTransform(){let{dragPosition:{x:e,y:t},resizePosition:i,transitionEl:n,dragEnabled:a,resizable:o}=this;if(!n)return;if(!a&&!o){n.style.transform=null;return}let{top:d,right:s,bottom:h,left:z}=this.getAdjustedResizePosition(i),m=Math.round(e+z+s),p=Math.round(t+d+h);n.style.transform=m||p?`translate(${m}px, ${p}px)`:null}updateSize({type:e,size:t}){let{transitionEl:i}=this;i&&(i.style[e]=t!==null?`${Math.round(t)}px`:null)}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"}),this.dragPosition={...L},this.resizePosition={...F},this.updateTransform()}async setupInteractions(){this.cleanupInteractions();let{el:e,transitionEl:t,resizable:i,dragEnabled:n,resizePosition:a,dragPosition:o}=this;if(!(!t||!this.open)){if((i||n)&&(this.interaction=y(t,{context:e.ownerDocument})),i){await this.el.componentOnReady();let{minInlineSize:d,minBlockSize:s,maxInlineSize:h,maxBlockSize:z}=window.getComputedStyle(t);this.interaction.resizable({edges:{top:!0,right:!0,bottom:!0,left:!0},modifiers:[y.modifiers.restrictSize({min:{width:u(d),height:u(s)},max:{width:u(h)||window.innerWidth,height:u(z)||window.innerHeight}}),y.modifiers.restrict({restriction:"parent"})],listeners:{move:({rect:m,deltaRect:p})=>{p&&(a.top+=p.top,a.right+=p.right,a.bottom+=p.bottom,a.left+=p.left),this.updateSize({size:m.width,type:"inlineSize"}),this.updateSize({size:m.height,type:"blockSize"}),this.updateTransform()}}})}n&&this.interaction.draggable({modifiers:[y.modifiers.restrictRect({restriction:"parent"})],listeners:{move:({dx:d,dy:s})=>{o.x+=d,o.y+=s,this.updateTransform()}}})}}getAdjustedResizePosition({top:e,right:t,bottom:i,left:n}){let a=e/2,o=t/2,d=i/2,s=n/2;switch(this.placement){case"top":return{top:e,right:o,bottom:0,left:s};case"top-start":return{top:e,right:0,bottom:0,left:n};case"top-end":return{top:e,right:t,bottom:0,left:0};case"bottom":return{top:0,right:o,bottom:i,left:s};case"bottom-start":return{top:0,right:0,bottom:i,left:n};case"bottom-end":return{top:0,right:t,bottom:i,left:0};case"cover":case"center":default:return{top:a,right:o,bottom:d,left:s}}}setTransitionEl(e){e&&(this.transitionEl=e,this.setupInteractions())}handleInternalPanelScroll(e){e.target===this.panelRef.value&&(e.stopPropagation(),this.calciteDialogScroll.emit())}handleInternalPanelCloseClick(e){e.target===this.panelRef.value&&(e.preventDefault(),e.stopPropagation(),this.open=!1)}handlePanelKeyDown(e){this.escapeDisabled&&e.key==="Escape"&&!e.defaultPrevented&&e.preventDefault()}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}handleMutationObserver(){this.focusTrap.updateContainerElements()}render(){let{assistiveText:e,description:t,heading:i,opened:n,icon:a,iconFlipRtl:o}=this;return x`<div .ariaDescription=${t} .ariaLabel=${i} .ariaModal=${this.modal} class=${b({[g.container]:!0,[g.containerOpen]:n,[g.containerEmbedded]:this.embedded})} .popover=${this.embedded?null:"manual"} role=dialog ${w(this.popoverRef)}>${this.modal?x`<calcite-scrim class=${b(g.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>`:null}<div class=${b({[g.dialog]:!0,[M("width",this.width,this.widthScale)]:!!(this.width||this.widthScale)})} @keydown=${this.handleKeyDown} ${w(this.setTransitionEl)}>${e?E("assistive-text",x`<div aria-live=polite class=${b(g.assistiveText)}>${e}</div>`):null}<slot name=${c.customContent}><calcite-panel class=${b(g.panel)} .closable=${!this.closeDisabled} .description=${t} .heading=${i} .headingLevel=${this.headingLevel} .hidden=${!this.opened} .icon=${a} .iconFlipRtl=${o} .loading=${this.loading} .menuOpen=${this.menuOpen} .messageOverrides=${this.messageOverrides} @keydown=${this.handlePanelKeyDown} @calcitePanelClose=${this.handleInternalPanelCloseClick} @calcitePanelScroll=${this.handleInternalPanelScroll} .overlayPositioning=${this.overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${w(this.panelRef)}><slot name=${c.actionBar} slot=${r.actionBar}></slot><slot name=${c.alerts} slot=${r.alerts}></slot><slot name=${c.headerActionsStart} slot=${r.headerActionsStart}></slot><slot name=${c.headerActionsEnd} slot=${r.headerActionsEnd}></slot><slot name=${c.headerContent} slot=${r.headerContent}></slot><slot name=${c.headerMenuActions} slot=${r.headerMenuActions}></slot><slot name=${c.fab} slot=${r.fab}></slot><slot name=${c.contentTop} slot=${r.contentTop}></slot><slot name=${c.contentBottom} slot=${r.contentBottom}></slot><slot name=${c.footerStart} slot=${r.footerStart}></slot><slot name=${c.footer} slot=${r.footer}></slot><slot name=${c.footerEnd} slot=${r.footerEnd}></slot><slot></slot></calcite-panel></slot></div></div>`}};T("calcite-dialog",$);export{$ as Dialog};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{a as w}from"./SO6CE3FY.js";import"./NBVWN7EK.js";import{a as C}from"./IPHCBICP.js";import"./XYXIQ2VY.js";import{a as y}from"./EYVRD7GH.js";import"./ZIHWRZLV.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{t as z}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{D as b,E as m,F as i,H as x,Q as k,g,h as c,p as h}from"./AV7L4UBA.js";var t={container:"container",contentContainer:"content-container",contentContainerHasContent:"content-container--has-content",contentContainerHasOnlyContentTopAndBottom:"content-container--has-only-content-top-and-bottom",textContentContainer:"text-content-container",description:"description",heading:"heading",icon:"icon",interactive:"interactive",largeVisualDeprecated:"large-visual-deprecated",row:"row",selected:"selected",selectionIcon:"selection-icon",textContent:"text-content"},s={selectedMultiple:"check-square-f",selectedSingle:"circle-f",unselectedMultiple:"square",unselectedSingle:"circle"},$={contentBottom:"content-bottom",contentTop:"content-top"},A=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{box-shadow:var(--calcite-tile-shadow, var(--calcite-shadow-none));box-sizing:border-box;display:inline-block}calcite-link{--calcite-link-text-color: var(--calcite-tile-link-text-color)}.container{background-color:var(--calcite-tile-background-color, var(--calcite-color-foreground-1));block-size:var(--calcite-container-size-content-fluid);border-radius:var(--calcite-tile-corner-radius, var(--calcite-corner-radius));box-sizing:border-box;color:var(--calcite-tile-text-color, var(--calcite-color-text-3));inline-size:var(--calcite-container-size-content-fluid);outline:var(--calcite-border-width-sm, 1px) solid var(--calcite-tile-border-color, var(--calcite-color-border-2));padding:var(--calcite-internal-tile-spacing);position:relative;-webkit-user-select:none;user-select:none}.container .selection-icon{color:var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container ::slotted(calcite-chip){--calcite-icon-color: var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container.interactive{cursor:pointer}.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index)}.container.interactive:hover .selection-icon,.container.interactive:focus .selection-icon,.container.interactive.selected .selection-icon{color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}.container.interactive:hover .icon,.container.interactive:focus .icon,.container.interactive.selected .icon{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}.container.interactive:hover ::slotted(calcite-chip),.container.interactive:focus ::slotted(calcite-chip),.container.interactive.selected ::slotted(calcite-chip){--calcite-icon-color: var(--calcite-tile-text-color, var(--calcite-color-text-1))}.container.interactive:focus{box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:calc(var(--calcite-z-index) + 1)}.content-container,.row{align-items:flex-start;display:flex}.content-container{flex-direction:column;word-wrap:break-word;word-break:break-word;inline-size:var(--calcite-container-size-content-fluid)}.text-content-container{inline-size:100%;outline-color:transparent;padding:0}.text-content{display:flex;flex-direction:column}.heading{margin:0;padding:0;color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium);line-height:1.20313rem;overflow-wrap:break-word}.description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2));font-weight:var(--calcite-font-weight-regular);overflow-wrap:break-word}.large-visual-deprecated{align-items:center;justify-content:center;min-block-size:12rem;text-align:center}.large-visual-deprecated .icon{align-self:center;block-size:64px;inline-size:64px}.large-visual-deprecated .selection-icon{position:absolute;inset-inline-start:var(--calcite-internal-tile-spacing);inset-block-start:var(--calcite-internal-tile-spacing);z-index:var(--calcite-z-index)}.large-visual-deprecated .text-content-container{justify-content:center}:host([alignment=center]) .icon{align-self:center}:host([alignment=center]) .text-content-container{justify-content:center}:host([alignment=center]) .text-content{text-align:center}:host([alignment=center]) slot[name=content-bottom]::slotted(*),:host([alignment=center]) slot[name=content-top]::slotted(*){align-self:center}:host([scale=s]){--calcite-internal-tile-spacing: var(--calcite-spacing-sm);max-inline-size:400px;min-inline-size:100px}:host([scale=s]) .heading{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=s]) .description{font-size:var(--calcite-font-size--3);line-height:.85938rem}:host([scale=m]){--calcite-internal-tile-spacing: var(--calcite-spacing-md);max-inline-size:460px;min-inline-size:140px}:host([scale=m]) .heading{font-size:var(--calcite-font-size--1);line-height:1.20313rem}:host([scale=m]) .description{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=l]){--calcite-internal-tile-spacing: var(--calcite-spacing-lg);max-inline-size:520px;min-inline-size:160px}:host([scale=l]) .heading{font-size:var(--calcite-font-size-0);line-height:1.375rem}:host([scale=l]) .description{font-size:var(--calcite-font-size--1);line-height:1.20313rem}.content-container--has-content,.row{gap:var(--calcite-internal-tile-spacing)}.content-container--has-only-content-top-and-bottom slot[name=content-top]::slotted(*){margin-block-end:var(--calcite-internal-tile-spacing)}:host([selection-appearance=border][layout=horizontal]) .container.selected:focus:before,:host([selection-appearance=border][layout=vertical]) .container.selected:focus:before{block-size:100%;box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));content:"";display:block;inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute}:host([selection-appearance=highlight]) .container.selected{background-color:var(--calcite-color-surface-highlight)}:host([selection-appearance=border][layout=horizontal]) .container.selected{box-shadow:inset 0 -4px 0 0 var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host([selection-appearance=border][layout=vertical]) .container.selected{box-shadow:inset 4px 0 0 0 var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host(:hover:not([disabled])) .heading,:host([active]:not([disabled])) .heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .description,:host([active]:not([disabled])) .description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}:host([href]:focus:not([disabled])) .container,:host([href]:hover:not([disabled])) .container{outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link));z-index:var(--calcite-z-index)}:host([href]:focus:not([disabled])) .icon,:host([href]:hover:not([disabled])) .icon{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:focus:not([disabled])) .heading,:host([href]:hover:not([disabled])) .heading{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:active:not([disabled])) .container{box-shadow:inset 0 0 0 1px var(--calcite-tile-link-color, var(--calcite-color-text-link));outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([embed]) .container{padding:0}:host([selection-mode=none]) .container:hover,:host([selection-mode=none]) .container.selected{outline-color:var(--calcite-tile-border-color, var(--calcite-color-border-2))}:host([selection-mode=none]) .container:focus{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::slotted(*){max-inline-size:100%}`,v=class extends m{constructor(){super(),this.focusSetter=y()(this),this.interactiveContainer=C(this),this.hasContentBottom=!1,this.hasContentTop=!1,this.active=!1,this.alignment="start",this.disabled=!1,this.embed=!1,this.iconFlipRtl=!1,this.interactive=!1,this.layout="horizontal",this.scale="m",this.selected=!1,this.selectionAppearance="icon",this.selectionMode="none",this.calciteInternalTileKeyEvent=h({cancelable:!1}),this.calciteTileSelect=h(),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasContentBottom:[16,{},{state:!0}],hasContentTop:[16,{},{state:!0}],active:[7,{},{reflect:!0,type:Boolean}],alignment:[3,{},{reflect:!0}],description:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],embed:[7,{},{reflect:!0,type:Boolean}],heading:[3,{},{reflect:!0}],headingLevel:[11,{},{type:Number,reflect:!0}],href:[3,{},{reflect:!0}],icon:[3,{type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],interactive:[5,{},{type:Boolean}],label:1,layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selected:[7,{},{reflect:!0,type:Boolean}],selectionAppearance:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=A}async setFocus(e){return this.focusSetter(()=>this.interactive?this.containerEl:void 0,e)}clickHandler(){this.interactive&&(this.setFocus(),this.handleSelectEvent())}handleSelectEvent(){this.disabled||!this.interactive||this.selectionMode==="single-persist"&&this.selected===!0||this.calciteTileSelect.emit()}handleSlotChange(e){let o=e.target.dataset.name;this[`has${o}`]=z(e)}setContainerEl(e){this.containerEl=e}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleSelectEvent(),e.preventDefault();break;case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"Home":case"End":this.calciteInternalTileKeyEvent.emit(e),e.preventDefault();break}}renderSelectionIcon(){let{selected:e,selectionAppearance:o,selectionMode:a}=this;if(o==="icon"&&a!=="none")return c`<calcite-icon class=${i(t.selectionIcon)} .icon=${e?a==="multiple"?s.selectedMultiple:s.selectedSingle:a==="multiple"?s.unselectedMultiple:s.unselectedSingle} scale=s></calcite-icon>`}renderTile(){let{description:e,disabled:o,hasContentBottom:a,hasContentTop:S,heading:l,headingLevel:B,icon:r,iconFlipRtl:E,interactive:n,selectionMode:d}=this,T=l&&r&&!e,p=!!this.href||!n,u=d==="multiple"&&n?"checkbox":d!=="none"&&n?"radio":n?"button":void 0,f=!!(e||l||r),H=!f&&S&&a;return c`<div .ariaChecked=${d!=="none"&&n?this.selected:void 0} .ariaDisabled=${p?o:void 0} .ariaLabel=${u&&this.label} class=${i({[t.container]:!0,[t.interactive]:n,[t.largeVisualDeprecated]:T,[t.row]:!0,[t.selected]:this.selected})} @click=${this.clickHandler} .role=${u} tabindex=${(p?void 0:0)??x} ${b(this.setContainerEl)}>${this.renderSelectionIcon()}<div class=${i({[t.contentContainer]:!0,[t.contentContainerHasContent]:f,[t.contentContainerHasOnlyContentTopAndBottom]:H})}><slot name=${$.contentTop} @slotchange=${this.handleSlotChange}></slot>${r&&c`<calcite-icon class=${i(t.icon)} .flipRtl=${E} .icon=${r} scale=l></calcite-icon>`||""}<div class=${i({[t.textContentContainer]:!0,[t.row]:!0})}><div class=${i(t.textContent)}>${l&&w({class:t.heading,level:B,children:l})||""}${e&&c`<div class=${i(t.description)}>${e}</div>`||""}</div></div><slot name=${$.contentBottom} @slotchange=${this.handleSlotChange}></slot></div></div>`}render(){let{disabled:e}=this;return this.interactiveContainer({disabled:e,children:this.href?c`<calcite-link .disabled=${e} .href=${this.href}>${this.renderTile()}</calcite-link>`:this.renderTile()})}};k("calcite-tile",v);export{v as Tile};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v5.0.0-next.74 */
4
+ import{j as L}from"./O55TIJ53.js";import{c as S,e as F,f as E}from"./SOVMTSNG.js";import{a as v}from"./XYXIQ2VY.js";import"./QM3DXYRV.js";import{a as T}from"./V563Z72W.js";import{a as M}from"./RESUGFNC.js";import"./CFC6PZBD.js";import"./HI2VSF7D.js";import{p as V}from"./7IBUU5CJ.js";import"./U3W7QUML.js";import{C as d,D as m,E as k,F as b,G as p,Q as C,g as z,h}from"./AV7L4UBA.js";var r={container:"container",fill:"fill",stepLine:"step-line",label:"label",labelHidden:"label-hidden",labelRange:"label-range",labelValue:"label-value",unitLabel:"unit-label",stepsVisible:"steps-visible",valueVisible:"value-visible",success:"fill-success",warning:"fill-warning",danger:"fill-danger"},I=z`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-3));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3))}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;font-size:var(--calcite-internal-meter-font-size)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`,y=class extends k{constructor(){super(...arguments),this.highLabelRef=d(),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.lowLabelRef=d(),this.maxLabelRef=d(),this.maxPercent=100,this.messages=M({name:null}),this.meterContainerRef=d(),this.minLabelRef=d(),this.minPercent=0,this.resizeObserver=T("resize",()=>this.resizeHandler()),this.valueLabelRef=d(),this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.groupSeparator=!1,this.max=100,this.min=0,this.rangeLabelType="percent",this.rangeLabels=!1,this.scale="m",this.unitLabel="",this.valueLabel=!1,this.valueLabelType="percent"}static{this.properties={currentPercent:[16,{},{state:!0}],highActive:[16,{},{state:!0}],highPercent:[16,{},{state:!0}],lowActive:[16,{},{state:!0}],lowPercent:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],fillType:[3,{},{reflect:!0}],form:[3,{},{reflect:!0}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],high:[11,{},{reflect:!0,type:Number}],label:1,low:[11,{},{reflect:!0,type:Number}],max:[11,{},{reflect:!0,type:Number}],min:[11,{},{reflect:!0,type:Number}],name:[3,{},{reflect:!0}],numberingSystem:1,rangeLabelType:[3,{},{reflect:!0}],rangeLabels:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],unitLabel:1,value:[9,{},{type:Number}],valueLabel:[7,{},{reflect:!0,type:Boolean}],valueLabelType:[3,{},{reflect:!0}]}}static{this.styles=I}connectedCallback(){super.connectedCallback(),S(this),this.resizeObserver?.observe(this.el)}load(){this.calculateValues(),E(this,this.value)}willUpdate(e){(e.has("min")&&(this.hasUpdated||this.min!==0)||e.has("max")&&(this.hasUpdated||this.max!==100)||e.has("low")||e.has("high")||e.has("value"))&&this.handleRangeChange(),(e.has("rangeLabels")&&(this.hasUpdated||this.rangeLabels!==!1)||e.has("rangeLabelType")&&(this.hasUpdated||this.rangeLabelType!=="percent")||e.has("unitLabel")&&(this.hasUpdated||this.unitLabel!=="")||e.has("valueLabel")&&(this.hasUpdated||this.valueLabel!==!1)||e.has("valueLabelType")&&(this.hasUpdated||this.valueLabelType!=="percent"))&&this.updateLabels()}loaded(){this.updateLabels()}disconnectedCallback(){super.disconnectedCallback(),F(this),this.resizeObserver?.disconnect()}handleRangeChange(){this.calculateValues(),this.updateLabels()}resizeHandler(){this.updateLabels()}updateLabels(){this.valueLabelRef.value&&this.determineValueLabelPosition(),this.rangeLabels&&this.determineVisibleLabels()}calculateValues(){let{min:e,max:l,low:t,high:a,value:i}=this,n=100*(t-e)/(l-e),s=100*(a-e)/(l-e),c=100*(i-e)/(l-e);(!t||t<e||t>a||t>l)&&(this.low=e),(!a||a>l||a<t||a<e)&&(this.high=l),i||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=i?c:0,this.lowActive=!!t&&t>e&&(!i||t>i)&&(!a||t<a),this.highActive=!!a&&e<=a&&a<l&&(!i||a>i)&&(!t||a>t)}formatLabel(e,l){if(l==="percent"){if(!this.percentFormatting){let t=this.messages._lang,a=new Intl.NumberFormat(t,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:a,locale:t}}return this.percentFormatting.formatter.format(e)}else return L.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},L.localize(e.toString())}getMeterKindCssClass(){let{low:e,high:l,min:t,max:a,value:i}=this,n=e||t,s=l||a,c=i>=n,u=i<n,f=i>=s,o=i<s;return!i||!e&&o||u?r.success:c&&o?r.warning:f?r.danger:r.success}intersects(e,l){return e&&l&&V(e.getBoundingClientRect(),l.getBoundingClientRect())}determineVisibleLabels(){let{minLabelRef:{value:e},lowLabelRef:{value:l},highLabelRef:{value:t},maxLabelRef:{value:a}}=this,i=this.intersects(t,a),n=this.intersects(l,t),s=this.intersects(l,a),c=this.intersects(e,t),u=this.intersects(e,l),f=this.intersects(e,a),o=r.labelHidden;l&&(u||s||n?l.classList.add(o):l.classList.remove(o)),t&&(c||s||i?t.classList.add(o):t.classList.remove(o)),e&&a&&(f?a.classList.add(o):a.classList.remove(o))}determineValueLabelPosition(){let{valueLabelRef:{value:e},meterContainerRef:{value:l},currentPercent:t}=this,a=t>100?100:t>0?t:0,i=e.getBoundingClientRect().width,n=l.getBoundingClientRect().width,s=100*(i-0)/(n-0);a+s>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${a}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){let{currentPercent:e,fillType:l}=this,t=this.getMeterKindCssClass();return h`<div class=${b({[r.fill]:!0,[t]:l!=="single"})} style=${p({width:`${e}%`})}></div>`}renderRangeLine(e){let l={insetInlineStart:`${e}%`};return h`<div class=${b(r.stepLine)} style=${p(l)}></div>`}renderValueLabel(){let{currentPercent:e,valueLabelType:l,unitLabel:t,value:a}=this,i=this.formatLabel(l==="percent"?e/100:a||0,l);return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelValue]:!0})} ${m(this.valueLabelRef)}>${i}${t&&l!=="percent"&&h`<span class=${b(r.unitLabel)}>&nbsp;${t}</span>`||""}</div>`)}renderMinLabel(){let{rangeLabelType:e,min:l,minPercent:t,unitLabel:a}=this,i={insetInlineStart:`${t}%`},n=this.formatLabel(e==="percent"?t:l,e);return v("min-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(i)} ${m(this.minLabelRef)}>${n}${a&&e!=="percent"&&h`<span class=${b(r.unitLabel)}>&nbsp;${a}</span>`||""}</div>`)}renderLowLabel(){let{rangeLabelType:e,low:l,lowPercent:t,highPercent:a,labelFlipProximity:i}=this,n=l?this.formatLabel(e==="percent"?t/100:l,e):"",s={insetInlineStart:`${t}%`},c={insetInlineEnd:`${100-t}%`},u=(a-t)/100<i?c:s;return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(u)} ${m(this.lowLabelRef)}>${n}</div>`)}renderHighLabel(){let{rangeLabelType:e,high:l,highPercent:t,labelFlipMax:a}=this,i=l?this.formatLabel(e==="percent"?t/100:l,e):"",n={insetInlineStart:`${t}%`},s={insetInlineEnd:`${100-t}%`},c=t/100>=a?s:n;return v("high-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(c)} ${m(this.highLabelRef)}>${i}</div>`)}renderMaxLabel(){let{rangeLabelType:e,max:l,maxPercent:t}=this,a={insetInlineEnd:`${100-t}%`},i=this.formatLabel(e==="percent"?t/100:l,e);return v("max-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(a)} ${m(this.maxLabelRef)}>${i}</div>`)}render(){let{appearance:e,currentPercent:l,highActive:t,highPercent:a,label:i,lowActive:n,lowPercent:s,max:c,maxPercent:u,min:f,minPercent:o,rangeLabels:g,rangeLabelType:x,unitLabel:$,value:w,valueLabel:P,valueLabelType:R}=this,O=this.formatLabel(l/100,"percent"),H=`${w} ${$}`;return h`<div .ariaLabel=${i} .ariaValueMax=${x==="percent"?u:c} .ariaValueMin=${x==="percent"?o:f} .ariaValueNow=${R==="percent"?l:w} .ariaValueText=${R==="percent"?O:$?H:void 0} class=${b({[r.container]:!0,[r.stepsVisible]:g,[r.valueVisible]:P,[e]:e!=="outline-fill"})} role=meter ${m(this.meterContainerRef)}>${this.renderMeterFill()}${P&&this.renderValueLabel()||""}${n&&this.renderRangeLine(s)||""}${t&&this.renderRangeLine(a)||""}${g&&this.renderMinLabel()||""}${g&&n&&this.renderLowLabel()||""}${g&&t&&this.renderHighLabel()||""}${g&&this.renderMaxLabel()||""}</div>`}};C("calcite-meter",y);export{y as Meter};