@esri/calcite-components 3.3.0-next.36 → 3.3.0-next.37

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 (342) hide show
  1. package/dist/calcite/{47YL6TBR.js → 26GPRMOQ.js} +2 -2
  2. package/dist/calcite/{OQVKB4OU.js → 27TTP3DS.js} +2 -2
  3. package/dist/calcite/{FTBWBXC7.js → 2AT2TQY3.js} +2 -2
  4. package/dist/calcite/{XUMGRQNT.js → 2DJGY2AY.js} +2 -2
  5. package/dist/calcite/{6UM6SSVE.js → 2FF4LFJX.js} +2 -2
  6. package/dist/calcite/{DUXC6NNG.js → 2P2I5FEC.js} +2 -2
  7. package/dist/calcite/{UQQQIMQL.js → 2RXKIL3Z.js} +2 -2
  8. package/dist/calcite/{X4OHNBTJ.js → 2YWT3ZRE.js} +2 -2
  9. package/dist/calcite/{32AL5XNT.js → 376IKLII.js} +2 -2
  10. package/dist/calcite/{DJMEHFVZ.js → 3IAVTYUV.js} +2 -2
  11. package/dist/calcite/{OX7EFAGM.js → 3MJDAYY3.js} +2 -2
  12. package/dist/calcite/{CYHDAXVP.js → 3WPVBX3N.js} +2 -2
  13. package/dist/calcite/{PHGG36YO.js → 3YIYXSX4.js} +1 -1
  14. package/dist/calcite/{E6GAYA6F.js → 3YMOAT75.js} +2 -2
  15. package/dist/calcite/{TTL5LKQH.js → 4AJI3PQS.js} +2 -2
  16. package/dist/calcite/{R2DVFHR3.js → 4AKTXV5Q.js} +2 -2
  17. package/dist/calcite/{JJZBJAF4.js → 4F2HX73O.js} +1 -1
  18. package/dist/calcite/{RYJN2U55.js → 4V4OFWHZ.js} +2 -2
  19. package/dist/calcite/{QXINCQQK.js → 4W3EGN5R.js} +2 -2
  20. package/dist/calcite/{WGLDT6LS.js → 4YMSLMUM.js} +2 -2
  21. package/dist/calcite/{CABHHJXP.js → 5BTOFMHW.js} +2 -2
  22. package/dist/calcite/{HB6ZB4HA.js → 5KBERMPB.js} +2 -2
  23. package/dist/calcite/{XE64UTLC.js → 5LRMQHAO.js} +2 -2
  24. package/dist/calcite/{AAQR3JME.js → 5ND6AFNT.js} +2 -2
  25. package/dist/calcite/{IS27QABU.js → 5PBLKQG7.js} +2 -2
  26. package/dist/calcite/{HBS6IHD6.js → 5R2MZCMK.js} +1 -1
  27. package/dist/calcite/{YRM76G4E.js → 5UAQNLDH.js} +2 -2
  28. package/dist/calcite/{4PBKKCEE.js → 6DJF2VX3.js} +2 -2
  29. package/dist/calcite/{D7FJQKKH.js → 6OGCBUGG.js} +2 -2
  30. package/dist/calcite/{QUT2RJ2S.js → 6RRHO3WP.js} +2 -2
  31. package/dist/calcite/{W654WEIF.js → 6UPNCMWW.js} +2 -2
  32. package/dist/calcite/{325HVJBJ.js → 7CQYAWNP.js} +2 -2
  33. package/dist/calcite/{NBMJV7X2.js → 7MJXWIZ5.js} +2 -2
  34. package/dist/calcite/{6YUFF47D.js → A3WFG6IP.js} +2 -2
  35. package/dist/calcite/{4KADKQYI.js → AGAH7UW2.js} +2 -2
  36. package/dist/calcite/{PGABUVEK.js → AKEYVKXN.js} +2 -2
  37. package/dist/calcite/{UNKUMC7W.js → APBNUYMQ.js} +2 -2
  38. package/dist/calcite/{HOCIH5ZK.js → ASIEKOWJ.js} +2 -2
  39. package/dist/calcite/{EPC6CSTN.js → AT5OJPJD.js} +2 -2
  40. package/dist/calcite/AVEDFG5W.js +4 -0
  41. package/dist/calcite/{M7JZBBHG.js → BBZQUBQC.js} +2 -2
  42. package/dist/calcite/{ORUEJVU2.js → BNZVW6AC.js} +2 -2
  43. package/dist/calcite/{FGCXNDF7.js → BTCT6EOT.js} +2 -2
  44. package/dist/calcite/{2KZNLCFM.js → BTPK54XQ.js} +2 -2
  45. package/dist/calcite/CAQJPQMR.js +4 -0
  46. package/dist/calcite/{EYZOCFF4.js → CDP3XBMS.js} +2 -2
  47. package/dist/calcite/{M32NSW3U.js → CJUNEQJ2.js} +2 -2
  48. package/dist/calcite/{K6JSS4I5.js → CLKQQYPQ.js} +2 -2
  49. package/dist/calcite/{LWZ2B3IO.js → CS5TXGDH.js} +2 -2
  50. package/dist/calcite/{6B7ZLNC5.js → DEL7JATX.js} +2 -2
  51. package/dist/calcite/{PKRMKTS5.js → DLGFJ5KP.js} +2 -2
  52. package/dist/calcite/{2EN42YDZ.js → DREGZF7H.js} +2 -2
  53. package/dist/calcite/{JDXQPWZ7.js → DUS6E3XB.js} +1 -1
  54. package/dist/calcite/{SUAR6HAA.js → DWOOOQZW.js} +2 -2
  55. package/dist/calcite/{GEBBLZAA.js → DYBS7OXB.js} +2 -2
  56. package/dist/calcite/{4667MR2O.js → EFHFEJNH.js} +2 -2
  57. package/dist/calcite/{PTM34QIE.js → EG2C6IWT.js} +2 -2
  58. package/dist/calcite/{3NXUR7SI.js → EKLQGDV5.js} +2 -2
  59. package/dist/calcite/{6JNLWOMZ.js → ELU2V3BS.js} +2 -2
  60. package/dist/calcite/{HK4OVEHK.js → EPLSWWAF.js} +2 -2
  61. package/dist/calcite/{DQIJMZZY.js → F36EYYTG.js} +2 -2
  62. package/dist/calcite/{YKSNID6R.js → F6BVT77X.js} +1 -1
  63. package/dist/calcite/{ND2OP5CP.js → FDFNUP7O.js} +2 -2
  64. package/dist/calcite/{BHW3ZFZW.js → FHBYZ45Q.js} +2 -2
  65. package/dist/calcite/{JCAML4OQ.js → FJD2WIEE.js} +2 -2
  66. package/dist/calcite/{AMXEIXUC.js → FOVWZI2S.js} +2 -2
  67. package/dist/calcite/{RB7KNT2D.js → FSIBF2WD.js} +2 -2
  68. package/dist/calcite/{YDYECVEE.js → FULUCUZE.js} +2 -2
  69. package/dist/calcite/{EHGN23CI.js → FVRTQPS5.js} +2 -2
  70. package/dist/calcite/{WLHYIGF7.js → G4GP2QGN.js} +1 -1
  71. package/dist/calcite/{VG3AIUD4.js → GBNCMTEV.js} +2 -2
  72. package/dist/calcite/{SONXCDYD.js → GDYYYP62.js} +2 -2
  73. package/dist/calcite/{I2L744Z7.js → GKY7BMP3.js} +2 -2
  74. package/dist/calcite/{USQ7SKRH.js → GLY6PWH4.js} +2 -2
  75. package/dist/calcite/{6CUXNGNO.js → GTDKOV5N.js} +2 -2
  76. package/dist/calcite/{6XLLQ274.js → H4TG5CFW.js} +2 -2
  77. package/dist/calcite/{Z3JZZQEA.js → HEEIZUQO.js} +2 -2
  78. package/dist/calcite/{2WTYOG2U.js → HGKQUQDG.js} +2 -2
  79. package/dist/calcite/{XH3PLLNE.js → HTZIRU7O.js} +2 -2
  80. package/dist/calcite/{436DY5BQ.js → HZE2A7FO.js} +2 -2
  81. package/dist/calcite/{YEWTTY2V.js → I44EZKPY.js} +1 -1
  82. package/dist/calcite/{FC6CLVCV.js → I6E3UAEA.js} +2 -2
  83. package/dist/calcite/{BVHB6K5O.js → IKAPFGFD.js} +1 -1
  84. package/dist/calcite/{L5S5D3ZO.js → IRFOAUJ2.js} +2 -2
  85. package/dist/calcite/{4XDMGGRB.js → ITXTKFLC.js} +2 -2
  86. package/dist/calcite/{E525T5KZ.js → IVSOOQO4.js} +2 -2
  87. package/dist/calcite/{GAAM3RQT.js → IZOQG6RG.js} +2 -2
  88. package/dist/calcite/{3FDYHAIL.js → J5VVHHEU.js} +1 -1
  89. package/dist/calcite/{DLYEF3OO.js → J5YUMKAV.js} +2 -2
  90. package/dist/calcite/{OCKCMU3Z.js → JDGB5PIE.js} +2 -2
  91. package/dist/calcite/{5Q53JIYK.js → JHJCOSSI.js} +2 -2
  92. package/dist/calcite/{XJUPRYVA.js → JQAUEYZL.js} +1 -1
  93. package/dist/calcite/{LMCTIIOH.js → JQYTDGEJ.js} +2 -2
  94. package/dist/calcite/{3XUSPG2I.js → K4XB6VC7.js} +2 -2
  95. package/dist/calcite/{YQKOASH3.js → K522TUOX.js} +2 -2
  96. package/dist/calcite/{N3UXIL72.js → KHS3ZNMW.js} +2 -2
  97. package/dist/calcite/{S222S6D4.js → KMOV6ZSM.js} +2 -2
  98. package/dist/calcite/{LWI6QFQG.js → KYUKJI2L.js} +2 -2
  99. package/dist/calcite/{CMWC6T7N.js → KZ7VSURD.js} +2 -2
  100. package/dist/calcite/{ZOAVG2UH.js → L6HYTTWU.js} +2 -2
  101. package/dist/calcite/{PGDBJYEY.js → L7GNJMDQ.js} +2 -2
  102. package/dist/calcite/{Y6P35GTH.js → LEGPPFJA.js} +1 -1
  103. package/dist/calcite/{RM7OAHTO.js → LH2R5PQX.js} +2 -2
  104. package/dist/calcite/{KKUBZ5DD.js → LKYOY7DL.js} +1 -1
  105. package/dist/calcite/{PSASFY4S.js → LS4OQZVI.js} +2 -2
  106. package/dist/calcite/{HADWKT45.js → LTF527PE.js} +1 -1
  107. package/dist/calcite/{I6CBJBYQ.js → M7FJ6PDC.js} +1 -1
  108. package/dist/calcite/{RHOLOHGN.js → MAB4MXSY.js} +2 -2
  109. package/dist/calcite/{MSD4EWUE.js → MTHDN4ZJ.js} +2 -2
  110. package/dist/calcite/{OY7OJIUZ.js → MXFDZLXR.js} +1 -1
  111. package/dist/calcite/{ZF2IEREG.js → N2EJJR6I.js} +2 -2
  112. package/dist/calcite/{ZY7SZL74.js → N3UK7JJU.js} +2 -2
  113. package/dist/calcite/{EE2RPNVT.js → NADOJTT7.js} +2 -2
  114. package/dist/calcite/{3WF46NZV.js → NAKLEDA4.js} +2 -2
  115. package/dist/calcite/{QAPMD2OM.js → ND3UZNBA.js} +2 -2
  116. package/dist/calcite/{5TRDAJIN.js → NFZNHHJR.js} +2 -2
  117. package/dist/calcite/{GW7PNNLC.js → NGXJCXBW.js} +2 -2
  118. package/dist/calcite/{BVPJUDVT.js → NK7ZVYCW.js} +2 -2
  119. package/dist/calcite/{3SDL2KLK.js → NWQPHBIR.js} +2 -2
  120. package/dist/calcite/{5WUJKMVN.js → O25QCXMX.js} +2 -2
  121. package/dist/calcite/{MUPALBPB.js → O5HULOZ3.js} +1 -1
  122. package/dist/calcite/{R5GWBS2N.js → O5ZW7N5E.js} +2 -2
  123. package/dist/calcite/{Q36ZAS24.js → OABGLTCO.js} +1 -1
  124. package/dist/calcite/{HOPR2TLC.js → ON7PNDO4.js} +2 -2
  125. package/dist/calcite/{UBMURPOD.js → OQ4FI5SE.js} +1 -1
  126. package/dist/calcite/{KMXUQLCN.js → OU2RUDPF.js} +2 -2
  127. package/dist/calcite/{SBMHVYBY.js → OW2IQ5MQ.js} +2 -2
  128. package/dist/calcite/{TGWERJ2P.js → PAP4QR6I.js} +2 -2
  129. package/dist/calcite/{TP6XZCR7.js → PATK7AUG.js} +2 -2
  130. package/dist/calcite/{WHJCSL7P.js → PUNOQQ25.js} +2 -2
  131. package/dist/calcite/{5EBE5CRH.js → Q2NROOZK.js} +2 -2
  132. package/dist/calcite/{CMYPJYAZ.js → Q3CXPGHA.js} +2 -2
  133. package/dist/calcite/{YH3BAHVJ.js → Q5YVISSF.js} +2 -2
  134. package/dist/calcite/{37LGFHDR.js → QBZKREQZ.js} +2 -2
  135. package/dist/calcite/{V6LWKAM5.js → QEQGGWJ7.js} +2 -2
  136. package/dist/calcite/{Q6RKZEFV.js → QJFAK34S.js} +2 -2
  137. package/dist/calcite/{CM7IIVLJ.js → QUYPY7JK.js} +2 -2
  138. package/dist/calcite/{7GI2PG6X.js → QYNUNRP5.js} +2 -2
  139. package/dist/calcite/{FL2YLX3U.js → RCD3OQ6W.js} +1 -1
  140. package/dist/calcite/{2NJQZWQT.js → RQRMELZB.js} +2 -2
  141. package/dist/calcite/{SUQT3S6Q.js → RQWU3UKY.js} +2 -2
  142. package/dist/calcite/{H37VLJ2N.js → RXQTIXZS.js} +2 -2
  143. package/dist/calcite/{VVCV2W4Z.js → S47S7CFC.js} +2 -2
  144. package/dist/calcite/{XSNDPGMU.js → SERSQV3X.js} +2 -2
  145. package/dist/calcite/{MKQOIITT.js → T2VXJSG6.js} +2 -2
  146. package/dist/calcite/{K237XWOW.js → TEEQJDZB.js} +1 -1
  147. package/dist/calcite/{A5MV5WVA.js → TGV23N6M.js} +1 -1
  148. package/dist/calcite/{PD36FJNM.js → TKOUEIMP.js} +2 -2
  149. package/dist/calcite/{MG3CVJRG.js → TRJCJD62.js} +2 -2
  150. package/dist/calcite/{V7EUCSWF.js → UNPQ5WYO.js} +2 -2
  151. package/dist/calcite/{XJ44H6FA.js → V53WDX5Y.js} +2 -2
  152. package/dist/calcite/{YET3QQL6.js → V7DAOJ3V.js} +2 -2
  153. package/dist/calcite/{DZ46EWMG.js → VEJDJAG4.js} +2 -2
  154. package/dist/calcite/{4AEJXQ3X.js → VVZCSMWF.js} +2 -2
  155. package/dist/calcite/{NIX7MHZT.js → W6IKMBHK.js} +2 -2
  156. package/dist/calcite/{OUKMP37S.js → W6W6VDDP.js} +2 -2
  157. package/dist/calcite/{DJYR3G6K.js → WBIUY2NK.js} +2 -2
  158. package/dist/calcite/{7BTTOTDX.js → WFEHN274.js} +2 -2
  159. package/dist/calcite/{3T4ZL2Z2.js → WIZJJVAZ.js} +2 -2
  160. package/dist/calcite/{WVHM65XV.js → WKODUDXU.js} +2 -2
  161. package/dist/calcite/{2XOT2MLM.js → X5CKUS6F.js} +2 -2
  162. package/dist/calcite/{D7ROZZZ6.js → X5RNAFTW.js} +2 -2
  163. package/dist/calcite/{WJDJHM7U.js → XKSKGLWU.js} +2 -2
  164. package/dist/calcite/{MZ34P5SX.js → XPFKAY5F.js} +2 -2
  165. package/dist/calcite/{WMEBINWK.js → XPONWTON.js} +2 -2
  166. package/dist/calcite/{5YWKJIEO.js → XQ7YDYWA.js} +2 -2
  167. package/dist/calcite/{JAG3JGRZ.js → XR3J6GBC.js} +2 -2
  168. package/dist/calcite/{YAZQ3UI5.js → Y73L7K7R.js} +2 -2
  169. package/dist/calcite/{YPDRUHFC.js → YAWULZVT.js} +2 -2
  170. package/dist/calcite/{LIXSSZDO.js → YCMY4KW2.js} +2 -2
  171. package/dist/calcite/{5NFXZD75.js → ZBT76BYK.js} +2 -2
  172. package/dist/calcite/{N6U6K24T.js → ZOS5H5FJ.js} +2 -2
  173. package/dist/calcite/{F5OPFOHL.js → ZSPBAPPO.js} +1 -1
  174. package/dist/calcite/calcite.esm.js +2 -2
  175. package/dist/chunks/ExpandToggle.js +1 -1
  176. package/dist/chunks/FloatingArrow.js +1 -1
  177. package/dist/chunks/Heading.js +1 -1
  178. package/dist/chunks/Validation.js +1 -1
  179. package/dist/chunks/XButton.js +1 -1
  180. package/dist/chunks/_sortable.js +1 -1
  181. package/dist/chunks/array.js +1 -1
  182. package/dist/chunks/component.js +1 -1
  183. package/dist/chunks/core.js +1 -1
  184. package/dist/chunks/date.js +1 -1
  185. package/dist/chunks/dom.js +1 -1
  186. package/dist/chunks/dynamicClasses.js +1 -1
  187. package/dist/chunks/filter.js +1 -1
  188. package/dist/chunks/floating-ui.js +1 -1
  189. package/dist/chunks/form.js +1 -1
  190. package/dist/chunks/global.js +1 -1
  191. package/dist/chunks/guid.js +1 -1
  192. package/dist/chunks/input.js +1 -1
  193. package/dist/chunks/interact.min.js +1 -1
  194. package/dist/chunks/interactive.js +1 -1
  195. package/dist/chunks/key.js +1 -1
  196. package/dist/chunks/label.js +1 -1
  197. package/dist/chunks/locale.js +1 -1
  198. package/dist/chunks/logger.js +1 -1
  199. package/dist/chunks/math.js +1 -1
  200. package/dist/chunks/observers.js +1 -1
  201. package/dist/chunks/openCloseComponent.js +1 -1
  202. package/dist/chunks/resources.js +1 -1
  203. package/dist/chunks/resources2.js +1 -1
  204. package/dist/chunks/resources3.js +1 -1
  205. package/dist/chunks/resources4.js +1 -1
  206. package/dist/chunks/resources5.js +1 -1
  207. package/dist/chunks/resources6.js +1 -1
  208. package/dist/chunks/resources7.js +1 -1
  209. package/dist/chunks/responsive.js +1 -1
  210. package/dist/chunks/runtime.js +5 -5
  211. package/dist/chunks/sortableComponent.js +1 -1
  212. package/dist/chunks/text.js +1 -1
  213. package/dist/chunks/useCancelable.js +1 -1
  214. package/dist/chunks/useFocusTrap.js +1 -1
  215. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  216. package/dist/chunks/useT9n.js +1 -1
  217. package/dist/chunks/useTime.js +1 -1
  218. package/dist/chunks/utils.js +1 -1
  219. package/dist/chunks/utils2.js +1 -1
  220. package/dist/chunks/utils3.js +1 -1
  221. package/dist/chunks/utils4.js +1 -1
  222. package/dist/components/calcite-accordion/customElement.js +1 -1
  223. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  224. package/dist/components/calcite-action/customElement.js +1 -1
  225. package/dist/components/calcite-action-bar/customElement.js +1 -1
  226. package/dist/components/calcite-action-group/customElement.js +1 -1
  227. package/dist/components/calcite-action-menu/customElement.js +1 -1
  228. package/dist/components/calcite-action-pad/customElement.js +1 -1
  229. package/dist/components/calcite-alert/customElement.js +1 -1
  230. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  231. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  232. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  233. package/dist/components/calcite-avatar/customElement.js +1 -1
  234. package/dist/components/calcite-block/customElement.js +1 -1
  235. package/dist/components/calcite-block-group/customElement.js +1 -1
  236. package/dist/components/calcite-block-section/customElement.js +1 -1
  237. package/dist/components/calcite-button/customElement.js +1 -1
  238. package/dist/components/calcite-card/customElement.js +1 -1
  239. package/dist/components/calcite-card-group/customElement.js +1 -1
  240. package/dist/components/calcite-carousel/customElement.js +1 -1
  241. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  242. package/dist/components/calcite-checkbox/customElement.js +1 -1
  243. package/dist/components/calcite-chip/customElement.js +1 -1
  244. package/dist/components/calcite-chip-group/customElement.js +1 -1
  245. package/dist/components/calcite-color-picker/customElement.js +1 -1
  246. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  247. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  248. package/dist/components/calcite-combobox/customElement.js +1 -1
  249. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  250. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  251. package/dist/components/calcite-date-picker/customElement.js +1 -1
  252. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  253. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  254. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  255. package/dist/components/calcite-dialog/customElement.d.ts +1 -1
  256. package/dist/components/calcite-dialog/customElement.js +18 -34
  257. package/dist/components/calcite-dropdown/customElement.js +1 -1
  258. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  259. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  260. package/dist/components/calcite-fab/customElement.js +1 -1
  261. package/dist/components/calcite-filter/customElement.js +1 -1
  262. package/dist/components/calcite-flow/customElement.js +1 -1
  263. package/dist/components/calcite-flow-item/customElement.js +1 -1
  264. package/dist/components/calcite-graph/customElement.js +1 -1
  265. package/dist/components/calcite-handle/customElement.js +1 -1
  266. package/dist/components/calcite-icon/customElement.js +1 -1
  267. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  268. package/dist/components/calcite-input/customElement.js +1 -1
  269. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  270. package/dist/components/calcite-input-message/customElement.js +1 -1
  271. package/dist/components/calcite-input-number/customElement.js +1 -1
  272. package/dist/components/calcite-input-text/customElement.js +1 -1
  273. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  274. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  275. package/dist/components/calcite-label/customElement.js +1 -1
  276. package/dist/components/calcite-link/customElement.js +1 -1
  277. package/dist/components/calcite-list/customElement.js +1 -1
  278. package/dist/components/calcite-list-item/customElement.js +1 -1
  279. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  280. package/dist/components/calcite-loader/customElement.js +1 -1
  281. package/dist/components/calcite-menu/customElement.js +1 -1
  282. package/dist/components/calcite-menu-item/customElement.js +1 -1
  283. package/dist/components/calcite-meter/customElement.js +1 -1
  284. package/dist/components/calcite-modal/customElement.js +1 -1
  285. package/dist/components/calcite-navigation/customElement.js +1 -1
  286. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  287. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  288. package/dist/components/calcite-notice/customElement.js +1 -1
  289. package/dist/components/calcite-option/customElement.js +1 -1
  290. package/dist/components/calcite-option-group/customElement.js +1 -1
  291. package/dist/components/calcite-pagination/customElement.js +1 -1
  292. package/dist/components/calcite-panel/customElement.d.ts +2 -2
  293. package/dist/components/calcite-panel/customElement.js +39 -39
  294. package/dist/components/calcite-popover/customElement.js +1 -1
  295. package/dist/components/calcite-progress/customElement.js +1 -1
  296. package/dist/components/calcite-radio-button/customElement.js +1 -1
  297. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  298. package/dist/components/calcite-rating/customElement.js +1 -1
  299. package/dist/components/calcite-scrim/customElement.js +1 -1
  300. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  301. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  302. package/dist/components/calcite-select/customElement.js +1 -1
  303. package/dist/components/calcite-sheet/customElement.js +1 -1
  304. package/dist/components/calcite-shell/customElement.js +1 -1
  305. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  306. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  307. package/dist/components/calcite-slider/customElement.js +1 -1
  308. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  309. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  310. package/dist/components/calcite-split-button/customElement.js +1 -1
  311. package/dist/components/calcite-stack/customElement.js +1 -1
  312. package/dist/components/calcite-stepper/customElement.js +1 -1
  313. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  314. package/dist/components/calcite-switch/customElement.js +1 -1
  315. package/dist/components/calcite-tab/customElement.js +1 -1
  316. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  317. package/dist/components/calcite-tab-title/customElement.js +1 -1
  318. package/dist/components/calcite-table/customElement.js +1 -1
  319. package/dist/components/calcite-table-cell/customElement.js +1 -1
  320. package/dist/components/calcite-table-header/customElement.js +1 -1
  321. package/dist/components/calcite-table-row/customElement.js +1 -1
  322. package/dist/components/calcite-tabs/customElement.js +1 -1
  323. package/dist/components/calcite-text-area/customElement.js +1 -1
  324. package/dist/components/calcite-tile/customElement.js +1 -1
  325. package/dist/components/calcite-tile-group/customElement.js +1 -1
  326. package/dist/components/calcite-tile-select/customElement.js +1 -1
  327. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  328. package/dist/components/calcite-time-picker/customElement.js +1 -1
  329. package/dist/components/calcite-tip/customElement.js +1 -1
  330. package/dist/components/calcite-tip-group/customElement.js +1 -1
  331. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  332. package/dist/components/calcite-tooltip/customElement.js +1 -1
  333. package/dist/components/calcite-tree/customElement.js +1 -1
  334. package/dist/components/calcite-tree-item/customElement.js +1 -1
  335. package/dist/docs/api.json +2 -3
  336. package/dist/docs/docs.json +2 -2
  337. package/dist/docs/web-types.json +1 -1
  338. package/dist/index.js +1 -1
  339. package/dist/loader.js +1 -1
  340. package/package.json +4 -4
  341. package/dist/calcite/BDC65URE.js +0 -4
  342. package/dist/calcite/NJ6JCSWE.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as Y}from"./V7EUCSWF.js";import{a as X}from"./JDXQPWZ7.js";import{b as p}from"./HBS6IHD6.js";import{b as u}from"./AMXEIXUC.js";import{a as W}from"./MZ34P5SX.js";import{a as _,c as G,e as J,h as Q}from"./3NXUR7SI.js";import{c as K,d as j,e as q}from"./3T4ZL2Z2.js";import"./6B7ZLNC5.js";import{a as U,b as N}from"./7BTTOTDX.js";import"./A5MV5WVA.js";import{a as R}from"./M32NSW3U.js";import"./D7FJQKKH.js";import{b as c}from"./I2L744Z7.js";import{e as B,n as V}from"./XUMGRQNT.js";import{a as L,d as A}from"./Q6RKZEFV.js";import"./CYHDAXVP.js";import"./JJZBJAF4.js";import{E as z,F as s,J as M,R as D,c as T,d as r,h as a,q as d}from"./LWZ2B3IO.js";var ce=T`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}.container{--calcite-icon-color: var(--calcite-color-text-3);align-items:center;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-border-input);box-sizing:border-box;display:flex;color:var(--calcite-color-text-1);flex-wrap:nowrap;font-weight:var(--calcite-font-weight-normal);inline-size:100%;padding-block:var(--calcite-spacing-base);-webkit-user-select:none;user-select:none}.container:focus-within{border-color:var(--calcite-color-brand);outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container.read-only{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.input-container{display:flex;flex-grow:1}.input{align-items:center;display:flex;block-size:100%;justify-content:center;min-inline-size:max-content}.input.empty{inline-size:var(--calcite-spacing-xl)}.input:focus,.input:hover:focus{background-color:Highlight;color:HighlightText;outline:2px solid transparent;outline-offset:2px}.toggle-icon{align-items:center;block-size:24px;cursor:pointer;display:flex;inline-size:24px;justify-content:center}.toggle-icon:hover{--calcite-icon-color: var(--calcite-color-text-1)}.meridiem--start{margin-inline-end:var(--calcite-spacing-xxs)}.meridiem--end{margin-inline-start:var(--calcite-spacing-xxs)}:host([scale=s]) .container{block-size:1.5rem;font-size:var(--calcite-font-size-sm);gap:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .input-container{line-height:1rem}:host([scale=m]) .container{block-size:2rem;font-size:var(--calcite-font-size);gap:var(--calcite-spacing-md);padding-inline-start:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .input-container{line-height:1.5rem}:host([scale=l]) .container{block-size:2.75rem;font-size:var(--calcite-font-size-md);gap:var(--calcite-spacing-lg);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .input-container{line-height:2.25rem}:host([status=invalid]) .container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) .container:focus-within{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-time-picker{--calcite-time-picker-border-color: transparent;--calcite-time-picker-corner-radius: var(--calcite-corner-radius-round)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,t={clockIcon:"clock-icon",container:"container",decimalSeparator:"decimal-separator",empty:"empty",fractionalSecond:"fractional-second",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputContainer:"input-container",meridiem:"meridiem",meridiemStart:"meridiem--start",meridiemEnd:"meridiem--end",minute:"minute",minuteSuffix:"minute-suffix",readOnly:"read-only",second:"second",secondSuffix:"second-suffix",toggleIcon:"toggle-icon"},m={inputContainer:"inputContainer",validationMessage:"inputTimePickerValidationMessage"},x={clock:"clock",chevronUp:"chevron-up",chevronDown:"chevron-down"},w=class extends z{constructor(){super(),this.messages=R(),this.time=Y(this),this.disabled=!1,this.focusTrapDisabled=!1,this.hourFormat="user",this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=60,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTimePickerBeforeClose=d({cancelable:!1}),this.calciteInputTimePickerBeforeOpen=d({cancelable:!1}),this.calciteInputTimePickerChange=d(),this.calciteInputTimePickerClose=d({cancelable:!1}),this.calciteInputTimePickerOpen=d({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listen("calciteTimeChange",this.timeChangeHandler)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],hourFormat:[3,{},{reflect:!0}],label:1,max:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],min:[3,{},{reflect:!0}],name:1,numberingSystem:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:1,placement:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],step:[11,{},{reflect:!0,type:Number}],validationIcon:[3,{converter:M},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=ce}async reposition(e=!1){this.popoverEl?.reposition(e)}async setFocus(){await A(this),V(this.el)}connectedCallback(){super.connectedCallback(),K(this),G(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&(this.disabled||(this.open=!1)),e.has("readOnly")&&(this.hasUpdated||this.readOnly!==!1)&&(this.readOnly||(this.open=!1)),e.has("value")&&(this.hasUpdated?(this.time.userChangedValue||(this.previousEmittedValue=this.value),this.time.setValue(this.value)):this.previousEmittedValue=this.value)}updated(){U(this)}disconnectedCallback(){super.disconnectedCallback(),j(this),J(this)}blurHandler(){this.changeEventHandler()}changeEventHandler(){let{previousEmittedValue:e,value:o}=this;e!==o&&(this.calciteInputTimePickerChange.emit().defaultPrevented?this.time.setValue(this.previousEmittedValue):this.previousEmittedValue=o)}keyDownHandler(e){let{defaultPrevented:o,key:i}=e,{hourFormat:n,meridiemOrder:l}=this.time;if(!o)if(i==="Enter")_(this)&&e.preventDefault(),this.changeEventHandler();else if(this.open&&this.focusTrapDisabled&&i==="Escape")this.open=!1,e.preventDefault();else{let f=p(this.step)>0,v=this.step<60;switch(this.activeEl){case this.hourEl:i==="ArrowRight"?this.setFocusPart("minute"):i==="ArrowLeft"&&n==="12"&&l===0&&this.setFocusPart("meridiem");break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocusPart("hour");break;case"ArrowRight":this.step!==60?this.setFocusPart("second"):n==="12"&&this.setFocusPart("meridiem");break}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocusPart("minute");break;case"ArrowRight":p(this.step)>0?this.setFocusPart("fractionalSecond"):n==="12"&&this.setFocusPart("meridiem");break}break;case this.fractionalSecondEl:switch(i){case"ArrowLeft":this.setFocusPart("second");break;case"ArrowRight":n==="12"&&l!==0&&this.setFocusPart("meridiem");break}break;case this.meridiemEl:i==="ArrowLeft"&&l!==0?f?this.setFocusPart("fractionalSecond"):v?this.setFocusPart("second"):this.setFocusPart("minute"):i==="ArrowRight"&&l===0&&this.setFocusPart("hour");break}}}onLabelClick(){this.setFocus()}openHandler(){this.disabled||this.readOnly||this.popoverEl&&(this.popoverEl.open=this.open)}popoverBeforeOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()}popoverOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerOpen.emit()}popoverBeforeCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()}popoverCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerClose.emit(),this.open=!1}setCalcitePopoverEl(e){this.popoverEl=e,this.openHandler()}setContainerEl(e){this.containerEl=e}async setFocusPart(e){this[`${e||"hour"}El`]?.focus()}setFractionalSecondEl(e){this.fractionalSecondEl=e}setHourEl(e){this.hourEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setMeridiemEl(e){this.meridiemEl=e}syncHiddenFormInput(e){X("time",this,e)}timeChangeHandler(e){if(e.stopPropagation(),this.disabled)return;let o=e.detail;o!==this.value&&(this.value=o)}timePartFocusHandler(e){this.activeEl=e.currentTarget}timePickerChangeHandler(e){e.stopPropagation()}toggleIconClickHandler(){this.open=!this.open}render(){let{messages:e,readOnly:o,scale:i}=this,{fractionalSecond:n,handleHourKeyDownEvent:l,handleMinuteKeyDownEvent:f,handleSecondKeyDownEvent:v,handleFractionalSecondKeyDownEvent:Z,hour:g,hourFormat:ee,localizedDecimalSeparator:te,localizedFractionalSecond:b,localizedHour:E,localizedHourSuffix:ie,localizedMinute:P,localizedMinuteSuffix:ae,localizedSecond:S,localizedSecondSuffix:F,meridiemOrder:se,minute:$,second:y}=this.time,k="--",oe=u(n),ne=u(g),re=u($),le=u(y),H=p(this.step)>0,C=ee==="12",I=this.step<60,O=se===0||B(this.el)==="rtl",h=!this.disabled&&!this.readOnly;return N({disabled:this.disabled,children:r`<div aria-controls=${m.inputContainer} aria-labelledby=${m.inputContainer} class=${s({[t.container]:!0,[t.readOnly]:o})} role=combobox ${c(this.setContainerEl)}><calcite-icon class=${s(t.clockIcon)} .icon=${x.clock} .scale=${i==="l"?"m":"s"}></calcite-icon><div aria-label=${q(this)??a} class=${s(t.inputContainer)} dir=ltr id=${m.inputContainer} role=group>${C&&O&&this.renderMeridiem("start")||""}<span aria-label=${this.messages.hour??a} aria-valuemax=23 aria-valuemin=1 aria-valuenow=${ne&&parseInt(g)||"0"} aria-valuetext=${g??a} class=${s({[t.empty]:!E,[t.hour]:!0,[t.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?l:void 0} role=spinbutton tabindex=0 ${c(this.setHourEl)}>${E||k}</span><span class=${s(t.hourSuffix)}>${ie}</span><span aria-label=${this.messages.minute??a} aria-valuemax=12 aria-valuemin=1 aria-valuenow=${re&&parseInt($)||"0"} aria-valuetext=${$??a} class=${s({[t.empty]:!P,[t.input]:!0,[t.minute]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?f:void 0} role=spinbutton tabindex=0 ${c(this.setMinuteEl)}>${P||k}</span>${I&&r`<span class=${s(t.minuteSuffix)}>${ae}</span>`||""}${I&&r`<span aria-label=${this.messages.second??a} aria-valuemax=59 aria-valuemin=0 aria-valuenow=${le&&parseInt(y)||"0"} aria-valuetext=${y??a} class=${s({[t.empty]:!S,[t.input]:!0,[t.second]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?v:void 0} role=spinbutton tabindex=0 ${c(this.setSecondEl)}>${S||k}</span>`||""}${H&&r`<span class=${s(t.decimalSeparator)}>${te}</span>`||""}${H&&r`<span aria-label=${this.messages.fractionalSecond??a} aria-valuemax=999 aria-valuemin=1 aria-valuenow=${oe&&parseInt(n)||"0"} aria-valuetext=${b??a} class=${s({[t.empty]:!b,[t.fractionalSecond]:!0,[t.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?Z:void 0} role=spinbutton tabindex=0 ${c(this.setFractionalSecondEl)}>${b||"".padStart(p(this.step),"-")}</span>`||""}${F&&r`<span class=${s(t.secondSuffix)}>${F}</span>`||""}${C&&!O&&this.renderMeridiem("end")||""}</div>${!this.readOnly&&this.renderToggleIcon(this.open)||""}</div><calcite-popover auto-close .focusTrapDisabled=${this.focusTrapDisabled} .focusTrapOptions=${{initialFocus:!1}} .label=${e.chooseTime} lang=${this.messages._lang??a} offset-distance=0 @calcitePopoverBeforeClose=${this.popoverBeforeCloseHandler} @calcitePopoverBeforeOpen=${this.popoverBeforeOpenHandler} @calcitePopoverClose=${this.popoverCloseHandler} @calcitePopoverOpen=${this.popoverOpenHandler} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} pointer-disabled .referenceElement=${this.containerEl} trigger-disabled ${c(this.setCalcitePopoverEl)}><calcite-time-picker .hourFormat=${this.time.hourFormat} lang=${this.messages._lang??a} .messageOverrides=${this.messageOverrides} .numberingSystem=${this.numberingSystem} @calciteTimePickerChange=${this.timePickerChangeHandler} .scale=${this.scale} .step=${this.step} tabindex=${(this.open?void 0:-1)??a} .time=${this.time} .value=${this.value}></calcite-time-picker></calcite-popover>${Q({component:this})}${this.validationMessage&&this.status==="invalid"?W({icon:this.validationIcon,id:m.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderMeridiem(e){let{handleMeridiemKeyDownEvent:o,localizedMeridiem:i,meridiem:n}=this.time,l=!this.disabled&&!this.readOnly;return r`<span aria-label=${this.messages.meridiem??a} aria-valuemax=2 aria-valuemin=1 aria-valuenow=${n==="PM"&&"2"||"1"} aria-valuetext=${n??a} class=${s({[t.empty]:!i,[t.input]:!0,[t.meridiem]:!0,[t.meridiemStart]:e==="start",[t.meridiemEnd]:e==="end"})} @focus=${this.timePartFocusHandler} @keydown=${l?o:void 0} role=spinbutton tabindex=0 ${c(this.setMeridiemEl)}>${i||"--"}</span>`}renderToggleIcon(e){return r`<span class=${s(t.toggleIcon)} @click=${this.toggleIconClickHandler}><calcite-icon .icon=${e?x.chevronUp:x.chevronDown} .scale=${L(this.scale)}></calcite-icon></span>`}};D("calcite-input-time-picker",w);export{w as InputTimePicker};
3
+ v3.3.0-next.37 */
4
+ import{a as Y}from"./UNPQ5WYO.js";import{a as X}from"./DUS6E3XB.js";import{b as p}from"./5R2MZCMK.js";import{b as u}from"./FOVWZI2S.js";import{a as W}from"./XPFKAY5F.js";import{a as _,c as G,e as J,h as Q}from"./EKLQGDV5.js";import{c as K,d as j,e as q}from"./WIZJJVAZ.js";import"./DEL7JATX.js";import{a as U,b as N}from"./WFEHN274.js";import"./TGV23N6M.js";import{a as R}from"./CJUNEQJ2.js";import"./6OGCBUGG.js";import{b as c}from"./GKY7BMP3.js";import{e as B,n as V}from"./2DJGY2AY.js";import{a as L,d as A}from"./QJFAK34S.js";import"./3WPVBX3N.js";import"./4F2HX73O.js";import{E as z,F as s,J as M,R as D,c as T,d as r,h as a,q as d}from"./CS5TXGDH.js";var ce=T`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}.container{--calcite-icon-color: var(--calcite-color-text-3);align-items:center;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-border-input);box-sizing:border-box;display:flex;color:var(--calcite-color-text-1);flex-wrap:nowrap;font-weight:var(--calcite-font-weight-normal);inline-size:100%;padding-block:var(--calcite-spacing-base);-webkit-user-select:none;user-select:none}.container:focus-within{border-color:var(--calcite-color-brand);outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container.read-only{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.input-container{display:flex;flex-grow:1}.input{align-items:center;display:flex;block-size:100%;justify-content:center;min-inline-size:max-content}.input.empty{inline-size:var(--calcite-spacing-xl)}.input:focus,.input:hover:focus{background-color:Highlight;color:HighlightText;outline:2px solid transparent;outline-offset:2px}.toggle-icon{align-items:center;block-size:24px;cursor:pointer;display:flex;inline-size:24px;justify-content:center}.toggle-icon:hover{--calcite-icon-color: var(--calcite-color-text-1)}.meridiem--start{margin-inline-end:var(--calcite-spacing-xxs)}.meridiem--end{margin-inline-start:var(--calcite-spacing-xxs)}:host([scale=s]) .container{block-size:1.5rem;font-size:var(--calcite-font-size-sm);gap:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .input-container{line-height:1rem}:host([scale=m]) .container{block-size:2rem;font-size:var(--calcite-font-size);gap:var(--calcite-spacing-md);padding-inline-start:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .input-container{line-height:1.5rem}:host([scale=l]) .container{block-size:2.75rem;font-size:var(--calcite-font-size-md);gap:var(--calcite-spacing-lg);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .input-container{line-height:2.25rem}:host([status=invalid]) .container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) .container:focus-within{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-time-picker{--calcite-time-picker-border-color: transparent;--calcite-time-picker-corner-radius: var(--calcite-corner-radius-round)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,t={clockIcon:"clock-icon",container:"container",decimalSeparator:"decimal-separator",empty:"empty",fractionalSecond:"fractional-second",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputContainer:"input-container",meridiem:"meridiem",meridiemStart:"meridiem--start",meridiemEnd:"meridiem--end",minute:"minute",minuteSuffix:"minute-suffix",readOnly:"read-only",second:"second",secondSuffix:"second-suffix",toggleIcon:"toggle-icon"},m={inputContainer:"inputContainer",validationMessage:"inputTimePickerValidationMessage"},x={clock:"clock",chevronUp:"chevron-up",chevronDown:"chevron-down"},w=class extends z{constructor(){super(),this.messages=R(),this.time=Y(this),this.disabled=!1,this.focusTrapDisabled=!1,this.hourFormat="user",this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=60,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTimePickerBeforeClose=d({cancelable:!1}),this.calciteInputTimePickerBeforeOpen=d({cancelable:!1}),this.calciteInputTimePickerChange=d(),this.calciteInputTimePickerClose=d({cancelable:!1}),this.calciteInputTimePickerOpen=d({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listen("calciteTimeChange",this.timeChangeHandler)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],hourFormat:[3,{},{reflect:!0}],label:1,max:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],min:[3,{},{reflect:!0}],name:1,numberingSystem:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:1,placement:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],step:[11,{},{reflect:!0,type:Number}],validationIcon:[3,{converter:M},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=ce}async reposition(e=!1){this.popoverEl?.reposition(e)}async setFocus(){await A(this),V(this.el)}connectedCallback(){super.connectedCallback(),K(this),G(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&(this.disabled||(this.open=!1)),e.has("readOnly")&&(this.hasUpdated||this.readOnly!==!1)&&(this.readOnly||(this.open=!1)),e.has("value")&&(this.hasUpdated?(this.time.userChangedValue||(this.previousEmittedValue=this.value),this.time.setValue(this.value)):this.previousEmittedValue=this.value)}updated(){U(this)}disconnectedCallback(){super.disconnectedCallback(),j(this),J(this)}blurHandler(){this.changeEventHandler()}changeEventHandler(){let{previousEmittedValue:e,value:o}=this;e!==o&&(this.calciteInputTimePickerChange.emit().defaultPrevented?this.time.setValue(this.previousEmittedValue):this.previousEmittedValue=o)}keyDownHandler(e){let{defaultPrevented:o,key:i}=e,{hourFormat:n,meridiemOrder:l}=this.time;if(!o)if(i==="Enter")_(this)&&e.preventDefault(),this.changeEventHandler();else if(this.open&&this.focusTrapDisabled&&i==="Escape")this.open=!1,e.preventDefault();else{let f=p(this.step)>0,v=this.step<60;switch(this.activeEl){case this.hourEl:i==="ArrowRight"?this.setFocusPart("minute"):i==="ArrowLeft"&&n==="12"&&l===0&&this.setFocusPart("meridiem");break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocusPart("hour");break;case"ArrowRight":this.step!==60?this.setFocusPart("second"):n==="12"&&this.setFocusPart("meridiem");break}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocusPart("minute");break;case"ArrowRight":p(this.step)>0?this.setFocusPart("fractionalSecond"):n==="12"&&this.setFocusPart("meridiem");break}break;case this.fractionalSecondEl:switch(i){case"ArrowLeft":this.setFocusPart("second");break;case"ArrowRight":n==="12"&&l!==0&&this.setFocusPart("meridiem");break}break;case this.meridiemEl:i==="ArrowLeft"&&l!==0?f?this.setFocusPart("fractionalSecond"):v?this.setFocusPart("second"):this.setFocusPart("minute"):i==="ArrowRight"&&l===0&&this.setFocusPart("hour");break}}}onLabelClick(){this.setFocus()}openHandler(){this.disabled||this.readOnly||this.popoverEl&&(this.popoverEl.open=this.open)}popoverBeforeOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()}popoverOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerOpen.emit()}popoverBeforeCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()}popoverCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerClose.emit(),this.open=!1}setCalcitePopoverEl(e){this.popoverEl=e,this.openHandler()}setContainerEl(e){this.containerEl=e}async setFocusPart(e){this[`${e||"hour"}El`]?.focus()}setFractionalSecondEl(e){this.fractionalSecondEl=e}setHourEl(e){this.hourEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setMeridiemEl(e){this.meridiemEl=e}syncHiddenFormInput(e){X("time",this,e)}timeChangeHandler(e){if(e.stopPropagation(),this.disabled)return;let o=e.detail;o!==this.value&&(this.value=o)}timePartFocusHandler(e){this.activeEl=e.currentTarget}timePickerChangeHandler(e){e.stopPropagation()}toggleIconClickHandler(){this.open=!this.open}render(){let{messages:e,readOnly:o,scale:i}=this,{fractionalSecond:n,handleHourKeyDownEvent:l,handleMinuteKeyDownEvent:f,handleSecondKeyDownEvent:v,handleFractionalSecondKeyDownEvent:Z,hour:g,hourFormat:ee,localizedDecimalSeparator:te,localizedFractionalSecond:b,localizedHour:E,localizedHourSuffix:ie,localizedMinute:P,localizedMinuteSuffix:ae,localizedSecond:S,localizedSecondSuffix:F,meridiemOrder:se,minute:$,second:y}=this.time,k="--",oe=u(n),ne=u(g),re=u($),le=u(y),H=p(this.step)>0,C=ee==="12",I=this.step<60,O=se===0||B(this.el)==="rtl",h=!this.disabled&&!this.readOnly;return N({disabled:this.disabled,children:r`<div aria-controls=${m.inputContainer} aria-labelledby=${m.inputContainer} class=${s({[t.container]:!0,[t.readOnly]:o})} role=combobox ${c(this.setContainerEl)}><calcite-icon class=${s(t.clockIcon)} .icon=${x.clock} .scale=${i==="l"?"m":"s"}></calcite-icon><div aria-label=${q(this)??a} class=${s(t.inputContainer)} dir=ltr id=${m.inputContainer} role=group>${C&&O&&this.renderMeridiem("start")||""}<span aria-label=${this.messages.hour??a} aria-valuemax=23 aria-valuemin=1 aria-valuenow=${ne&&parseInt(g)||"0"} aria-valuetext=${g??a} class=${s({[t.empty]:!E,[t.hour]:!0,[t.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?l:void 0} role=spinbutton tabindex=0 ${c(this.setHourEl)}>${E||k}</span><span class=${s(t.hourSuffix)}>${ie}</span><span aria-label=${this.messages.minute??a} aria-valuemax=12 aria-valuemin=1 aria-valuenow=${re&&parseInt($)||"0"} aria-valuetext=${$??a} class=${s({[t.empty]:!P,[t.input]:!0,[t.minute]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?f:void 0} role=spinbutton tabindex=0 ${c(this.setMinuteEl)}>${P||k}</span>${I&&r`<span class=${s(t.minuteSuffix)}>${ae}</span>`||""}${I&&r`<span aria-label=${this.messages.second??a} aria-valuemax=59 aria-valuemin=0 aria-valuenow=${le&&parseInt(y)||"0"} aria-valuetext=${y??a} class=${s({[t.empty]:!S,[t.input]:!0,[t.second]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?v:void 0} role=spinbutton tabindex=0 ${c(this.setSecondEl)}>${S||k}</span>`||""}${H&&r`<span class=${s(t.decimalSeparator)}>${te}</span>`||""}${H&&r`<span aria-label=${this.messages.fractionalSecond??a} aria-valuemax=999 aria-valuemin=1 aria-valuenow=${oe&&parseInt(n)||"0"} aria-valuetext=${b??a} class=${s({[t.empty]:!b,[t.fractionalSecond]:!0,[t.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${h?Z:void 0} role=spinbutton tabindex=0 ${c(this.setFractionalSecondEl)}>${b||"".padStart(p(this.step),"-")}</span>`||""}${F&&r`<span class=${s(t.secondSuffix)}>${F}</span>`||""}${C&&!O&&this.renderMeridiem("end")||""}</div>${!this.readOnly&&this.renderToggleIcon(this.open)||""}</div><calcite-popover auto-close .focusTrapDisabled=${this.focusTrapDisabled} .focusTrapOptions=${{initialFocus:!1}} .label=${e.chooseTime} lang=${this.messages._lang??a} offset-distance=0 @calcitePopoverBeforeClose=${this.popoverBeforeCloseHandler} @calcitePopoverBeforeOpen=${this.popoverBeforeOpenHandler} @calcitePopoverClose=${this.popoverCloseHandler} @calcitePopoverOpen=${this.popoverOpenHandler} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} pointer-disabled .referenceElement=${this.containerEl} trigger-disabled ${c(this.setCalcitePopoverEl)}><calcite-time-picker .hourFormat=${this.time.hourFormat} lang=${this.messages._lang??a} .messageOverrides=${this.messageOverrides} .numberingSystem=${this.numberingSystem} @calciteTimePickerChange=${this.timePickerChangeHandler} .scale=${this.scale} .step=${this.step} tabindex=${(this.open?void 0:-1)??a} .time=${this.time} .value=${this.value}></calcite-time-picker></calcite-popover>${Q({component:this})}${this.validationMessage&&this.status==="invalid"?W({icon:this.validationIcon,id:m.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderMeridiem(e){let{handleMeridiemKeyDownEvent:o,localizedMeridiem:i,meridiem:n}=this.time,l=!this.disabled&&!this.readOnly;return r`<span aria-label=${this.messages.meridiem??a} aria-valuemax=2 aria-valuemin=1 aria-valuenow=${n==="PM"&&"2"||"1"} aria-valuetext=${n??a} class=${s({[t.empty]:!i,[t.input]:!0,[t.meridiem]:!0,[t.meridiemStart]:e==="start",[t.meridiemEnd]:e==="end"})} @focus=${this.timePartFocusHandler} @keydown=${l?o:void 0} role=spinbutton tabindex=0 ${c(this.setMeridiemEl)}>${i||"--"}</span>`}renderToggleIcon(e){return r`<span class=${s(t.toggleIcon)} @click=${this.toggleIconClickHandler}><calcite-icon .icon=${e?x.chevronUp:x.chevronDown} .scale=${L(this.scale)}></calcite-icon></span>`}};D("calcite-input-time-picker",w);export{w as InputTimePicker};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as H}from"./MKQOIITT.js";import{a as D}from"./K237XWOW.js";import{a as S,b as O,c as T,d as G}from"./3SDL2KLK.js";import{a as u}from"./3FDYHAIL.js";import"./FL2YLX3U.js";import{a as C}from"./M32NSW3U.js";import"./D7FJQKKH.js";import"./I2L744Z7.js";import"./Q36ZAS24.js";import{n as A,u as f,v as z}from"./XUMGRQNT.js";import{d as E}from"./Q6RKZEFV.js";import"./CYHDAXVP.js";import"./JJZBJAF4.js";import{E as v,F as p,L as w,R as y,c as m,d as h,q as x}from"./LWZ2B3IO.js";var L=({bufferSize:r=0,containerSize:t,itemSizes:e})=>{let o=t-r,s=e.length,a=0;for(let[n,i]of e.entries())if(a=a+i,a>o){s=n;break}else continue;return s},M=({bufferSize:r=0,containerSize:t,itemSizes:e})=>Math.max(e.length-L({bufferSize:r,itemSizes:e,containerSize:t}),0),$={container:"container",actionGroupEnd:"action-group--end"},b={actionsEnd:"actions-end",bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"},P=m`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-flex;align-self:stretch;background:transparent}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-action-bar-items-space, 0);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1))}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-action-bar-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends v{constructor(){super(),this.mutationObserver=u("mutation",()=>this.mutationObserverHandler()),this.cancelable=H()(this),this.resize=D(({width:t,height:e})=>{let{expanded:o,expandDisabled:s,layout:a,overflowActionsDisabled:n,actionGroups:i}=this;if(n||a==="vertical"&&!e||a==="horizontal"&&!t)return;let l=this.getItemSizes();this.updateGroups();let c=this.hasActionsEnd||this.hasBottomActions||!s?i.length+1:i.length,d=M({bufferSize:c,containerSize:a==="horizontal"?t:e,itemSizes:l});O({actionGroups:i,expanded:o,overflowCount:d})},w.resize),this.resizeHandler=t=>{let{width:e,height:o}=t.contentRect;this.resize({width:e,height:o})},this.resizeObserver=u("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=C(),this.hasActionsEnd=!1,this.hasBottomActions=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.calciteActionBarToggle=x({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasBottomActions:[16,{},{state:!0}],actionsEndGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=P}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await E(this),A(this.el)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)&&this.overflowActions(),t.has("expanded")&&this.hasUpdated&&this.expandedHandler(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled)}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}getItemSizes(){let{el:t,layout:e,expandToggleEl:o}=this,s=S(t);o&&s.push(o);let a=e==="horizontal"?"clientWidth":"clientHeight",n=Math.max(...s.map(i=>i[a]||0));return s.map(i=>i[a]||n)}expandedHandler(){let{el:t,expanded:e}=this;T({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(o=>{e.includes(o)||(o.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups()}handleActionsEndSlotChange(t){this.hasActionsEnd=f(t)}handleBottomActionsSlotChange(t){this.hasBottomActions=f(t)}handleTooltipSlotChange(t){let e=z(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=e[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:e,el:o,position:s,toggleExpand:a,scale:n,layout:i,messages:l,actionsEndGroupLabel:c,overlayPositioning:d}=this,B=e?null:G({collapseLabel:l.collapseLabel,collapseText:l.collapse,el:o,expandLabel:l.expandLabel,expandText:l.expand,expanded:t,position:s,ref:k=>this.expandToggleEl=k,scale:n,toggle:a,tooltip:this.expandTooltip});return h`<calcite-action-group class=${p($.actionGroupEnd)} .hidden=${this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions)} .label=${c} .layout=${i} .overlayPositioning=${d} .scale=${n}><slot name=${b.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${b.bottomActions} @slotchange=${this.handleBottomActionsSlotChange}></slot><slot name=${b.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${B}</calcite-action-group>`}render(){return h`<div class=${p($.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};y("calcite-action-bar",g);export{g as ActionBar};
3
+ v3.3.0-next.37 */
4
+ import{a as H}from"./T2VXJSG6.js";import{a as D}from"./TEEQJDZB.js";import{a as S,b as O,c as T,d as G}from"./NWQPHBIR.js";import{a as u}from"./J5VVHHEU.js";import"./RCD3OQ6W.js";import{a as C}from"./CJUNEQJ2.js";import"./6OGCBUGG.js";import"./GKY7BMP3.js";import"./OABGLTCO.js";import{n as A,u as f,v as z}from"./2DJGY2AY.js";import{d as E}from"./QJFAK34S.js";import"./3WPVBX3N.js";import"./4F2HX73O.js";import{E as v,F as p,L as w,R as y,c as m,d as h,q as x}from"./CS5TXGDH.js";var L=({bufferSize:r=0,containerSize:t,itemSizes:e})=>{let o=t-r,s=e.length,a=0;for(let[n,i]of e.entries())if(a=a+i,a>o){s=n;break}else continue;return s},M=({bufferSize:r=0,containerSize:t,itemSizes:e})=>Math.max(e.length-L({bufferSize:r,itemSizes:e,containerSize:t}),0),$={container:"container",actionGroupEnd:"action-group--end"},b={actionsEnd:"actions-end",bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"},P=m`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-flex;align-self:stretch;background:transparent}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-action-bar-items-space, 0);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1))}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-action-bar-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends v{constructor(){super(),this.mutationObserver=u("mutation",()=>this.mutationObserverHandler()),this.cancelable=H()(this),this.resize=D(({width:t,height:e})=>{let{expanded:o,expandDisabled:s,layout:a,overflowActionsDisabled:n,actionGroups:i}=this;if(n||a==="vertical"&&!e||a==="horizontal"&&!t)return;let l=this.getItemSizes();this.updateGroups();let c=this.hasActionsEnd||this.hasBottomActions||!s?i.length+1:i.length,d=M({bufferSize:c,containerSize:a==="horizontal"?t:e,itemSizes:l});O({actionGroups:i,expanded:o,overflowCount:d})},w.resize),this.resizeHandler=t=>{let{width:e,height:o}=t.contentRect;this.resize({width:e,height:o})},this.resizeObserver=u("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=C(),this.hasActionsEnd=!1,this.hasBottomActions=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.calciteActionBarToggle=x({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasBottomActions:[16,{},{state:!0}],actionsEndGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=P}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await E(this),A(this.el)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)&&this.overflowActions(),t.has("expanded")&&this.hasUpdated&&this.expandedHandler(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled)}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}getItemSizes(){let{el:t,layout:e,expandToggleEl:o}=this,s=S(t);o&&s.push(o);let a=e==="horizontal"?"clientWidth":"clientHeight",n=Math.max(...s.map(i=>i[a]||0));return s.map(i=>i[a]||n)}expandedHandler(){let{el:t,expanded:e}=this;T({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(o=>{e.includes(o)||(o.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups()}handleActionsEndSlotChange(t){this.hasActionsEnd=f(t)}handleBottomActionsSlotChange(t){this.hasBottomActions=f(t)}handleTooltipSlotChange(t){let e=z(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=e[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:e,el:o,position:s,toggleExpand:a,scale:n,layout:i,messages:l,actionsEndGroupLabel:c,overlayPositioning:d}=this,B=e?null:G({collapseLabel:l.collapseLabel,collapseText:l.collapse,el:o,expandLabel:l.expandLabel,expandText:l.expand,expanded:t,position:s,ref:k=>this.expandToggleEl=k,scale:n,toggle:a,tooltip:this.expandTooltip});return h`<calcite-action-group class=${p($.actionGroupEnd)} .hidden=${this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions)} .label=${c} .layout=${i} .overlayPositioning=${d} .scale=${n}><slot name=${b.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${b.bottomActions} @slotchange=${this.handleBottomActionsSlotChange}></slot><slot name=${b.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${B}</calcite-action-group>`}render(){return h`<div class=${p($.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};y("calcite-action-bar",g);export{g as ActionBar};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{b as l,c as k}from"./5WUJKMVN.js";import{a as v,b as y}from"./7BTTOTDX.js";import{b}from"./I2L744Z7.js";import{e as f,l as m}from"./XUMGRQNT.js";import{d as g}from"./Q6RKZEFV.js";import"./CYHDAXVP.js";import"./JJZBJAF4.js";import{E as d,F as n,H as e,J as h,K as u,R as p,c as s,d as o}from"./LWZ2B3IO.js";var S=s`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host button{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host button:hover{text-decoration:none}:host a,:host button{outline-color:transparent}:host a:focus,:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host button,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host button:hover,:host button:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host button:active,:host a:active{background-size:100% 2px,100% 2px}:host button.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,c={calciteLinkIcon:"calcite-link--icon",iconStart:"icon-start",iconEnd:"icon-end"},a=class extends d{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],download:[3,{converter:h},{reflect:!0}],href:[3,{},{reflect:!0}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],rel:1,target:1}}static{this.styles=S}async setFocus(){await g(this),m(this.childEl)}updated(){v(this)}clickHandler(t){this.disabled||t.isTrusted||this.childEl.click()}childElClickHandler(t){t.isTrusted||t.stopPropagation()}storeTagRef(t){this.childEl=t}render(){let{download:t,el:$}=this,E=f($),i=this.href?"a":"button",x=o`<calcite-icon class=${n({[c.calciteLinkIcon]:!0,[c.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,w=o`<calcite-icon class=${n({[c.calciteLinkIcon]:!0,[c.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,r=i==="button"?l`button`:l`a`,z=i==="button"?0:null;return this.el.role="presentation",y({disabled:this.disabled,children:k`<${r} class=${n({[u.rtl]:E==="rtl"})} download=${(i==="a"?t===!0||t===""?"":t||null:null)??e} href=${(i==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(i==="a"&&this.rel)??e} tabindex=${z??e} target=${(i==="a"&&this.target)??e} ${b(this.storeTagRef)}>${o`${this.iconStart?x:null}<slot></slot>${this.iconEnd?w:null}`}</${r}>`})}};p("calcite-link",a);export{a as Link};
3
+ v3.3.0-next.37 */
4
+ import{b as l,c as k}from"./O25QCXMX.js";import{a as v,b as y}from"./WFEHN274.js";import{b}from"./GKY7BMP3.js";import{e as f,l as m}from"./2DJGY2AY.js";import{d as g}from"./QJFAK34S.js";import"./3WPVBX3N.js";import"./4F2HX73O.js";import{E as d,F as n,H as e,J as h,K as u,R as p,c as s,d as o}from"./CS5TXGDH.js";var S=s`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host button{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host button:hover{text-decoration:none}:host a,:host button{outline-color:transparent}:host a:focus,:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host button,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host button:hover,:host button:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host button:active,:host a:active{background-size:100% 2px,100% 2px}:host button.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,c={calciteLinkIcon:"calcite-link--icon",iconStart:"icon-start",iconEnd:"icon-end"},a=class extends d{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],download:[3,{converter:h},{reflect:!0}],href:[3,{},{reflect:!0}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],rel:1,target:1}}static{this.styles=S}async setFocus(){await g(this),m(this.childEl)}updated(){v(this)}clickHandler(t){this.disabled||t.isTrusted||this.childEl.click()}childElClickHandler(t){t.isTrusted||t.stopPropagation()}storeTagRef(t){this.childEl=t}render(){let{download:t,el:$}=this,E=f($),i=this.href?"a":"button",x=o`<calcite-icon class=${n({[c.calciteLinkIcon]:!0,[c.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,w=o`<calcite-icon class=${n({[c.calciteLinkIcon]:!0,[c.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,r=i==="button"?l`button`:l`a`,z=i==="button"?0:null;return this.el.role="presentation",y({disabled:this.disabled,children:k`<${r} class=${n({[u.rtl]:E==="rtl"})} download=${(i==="a"?t===!0||t===""?"":t||null:null)??e} href=${(i==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(i==="a"&&this.rel)??e} tabindex=${z??e} target=${(i==="a"&&this.target)??e} ${b(this.storeTagRef)}>${o`${this.iconStart?x:null}<slot></slot>${this.iconEnd?w:null}`}</${r}>`})}};p("calcite-link",a);export{a as Link};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as S}from"./JJZBJAF4.js";import{K as h}from"./LWZ2B3IO.js";var O=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],b=O.join(","),N=typeof Element>"u",d=N?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,g=!N&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},v=function e(t,r){var n;r===void 0&&(r=!0);var a=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=a===""||a==="true",i=o||r&&t&&e(t.parentNode);return i},M=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},k=function(t,r,n){if(v(t))return[];var a=Array.prototype.slice.apply(t.querySelectorAll(b));return r&&d.call(t,b)&&a.unshift(t),a=a.filter(n),a},B=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!v(i,!1))if(i.tagName==="SLOT"){var u=i.assignedElements(),s=u.length?u:i.children,l=e(s,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var f=d.call(i,b);f&&n.filter(i)&&(r||!t.includes(i))&&a.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),D=!v(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&D){var m=e(c===!0?i.children:c.children,!0,n);n.flatten?a.push.apply(a,m):a.push({scopeParent:i,candidates:m})}else o.unshift.apply(o,i.children)}}return a},I=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},x=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||M(t))&&!I(t)?0:t.tabIndex},P=function(t,r){var n=x(t);return n<0&&r&&!I(t)?0:n},L=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},A=function(t){return t.tagName==="INPUT"},q=function(t){return A(t)&&t.type==="hidden"},W=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},$=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},U=function(t){if(!t.name)return!0;var r=t.form||g(t),n=function(u){return r.querySelectorAll('input[type="radio"][name="'+u+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(t.name));else try{a=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=$(a,t.form);return!o||o===t},G=function(t){return A(t)&&t.type==="radio"},j=function(t){return G(t)&&!U(t)},z=function(t){var r,n=t&&g(t),a=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var i,u,s;for(o=!!((i=a)!==null&&i!==void 0&&(u=i.ownerDocument)!==null&&u!==void 0&&u.contains(a)||t!=null&&(s=t.ownerDocument)!==null&&s!==void 0&&s.contains(t));!o&&a;){var l,f,c;n=g(a),a=(l=n)===null||l===void 0?void 0:l.host,o=!!((f=a)!==null&&f!==void 0&&(c=f.ownerDocument)!==null&&c!==void 0&&c.contains(a))}}return o},T=function(t){var r=t.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0},X=function(t,r){var n=r.displayCheck,a=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=d.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(d.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof a=="function"){for(var u=t;t;){var s=t.parentElement,l=g(t);if(s&&!s.shadowRoot&&a(s)===!0)return T(t);t.assignedSlot?t=t.assignedSlot:!s&&l!==t.ownerDocument?t=l.host:t=s}t=u}if(z(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return T(t);return!1},H=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}r=r.parentElement}return!1},V=function(t,r){return!(r.disabled||v(r)||q(r)||X(r,t)||W(r)||H(r))},w=function(t,r){return!(j(r)||x(r)<0||!V(t,r))},Y=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},Z=function e(t){var r=[],n=[];return t.forEach(function(a,o){var i=!!a.scopeParent,u=i?a.scopeParent:a,s=P(u,i),l=i?e(a.candidates):u;s===0?i?r.push.apply(r,l):r.push(u):n.push({documentOrder:o,tabIndex:s,item:a,isScope:i,content:l})}),n.sort(L).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},K=function(t,r){r=r||{};var n;return r.getShadowRoot?n=B([t],r.includeContainer,{filter:w.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Y}):n=k(t,r.includeContainer,w.bind(null,r)),Z(n)},J={getShadowRoot:!0};function dt(e){return e?e.id=e.id||`${e.tagName.toLowerCase()}-${S()}`:""}function ht(e){return Array.isArray(e)?e:Array.from(e)}function gt(e){let t=y(e,`.${h.darkMode}, .${h.lightMode}, .${h.autoMode}`);return t?.classList.contains("calcite-mode-dark")||t?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function vt(e){let t="dir",r=`[${t}]`,n=y(e,r);return n?n.getAttribute(t):"ltr"}function bt(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function p(e){return e.getRootNode()}function pt(e){let t=p(e);return"host"in t?t:null}function yt(e,t){if(!e)return 0;let n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width}function R(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=p(e);return(r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null)||Q(R(n),{selector:t,id:r})}function y(e,t){return e?e.closest(t)||y(R(p(e)),t):null}function _(e){return typeof e?.setFocus=="function"}async function tt(e){if(e)return _(e)?e.setFocus():e.focus()}function et(e){if(e)return K(e,J)[0]??e}function mt(e){et(e)?.focus()}function St(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function rt(e,t){return e.filter(r=>r.matches(t))}function Tt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function wt(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function Et(e){return(!!e).toString()}function Ct(e){return ot(e)||at(e)}function nt(e){return it(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function Nt(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function at(e){return!!nt(e)}function it(e){return e.currentTarget.assignedNodes({flatten:!0})}function ot(e){return!!ut(e).length}function ut(e,t){return st(e.currentTarget,t)}function st(e,t){let r=e.assignedElements({flatten:!0});return t?rt(r,t):r}function It(e){return!!(e.isPrimary&&e.button===0)}function xt(e){return e.detail===0}var At=(e,t,r,n=!0)=>{let a=e.indexOf(t),o=a===0,i=a===e.length-1;n&&(r=r==="previous"&&o?"last":r==="next"&&i?"first":r);let u;return r==="previous"?u=e[a-1]||e[n?e.length-1:a]:r==="next"?u=e[a+1]||e[n?0:a]:r==="last"?u=e[e.length-1]:u=e[0],tt(u),u};function Rt(e,t){if(e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Ft(e,t){return F(e,t,"animation")}async function Dt(e,t){return F(e,t,"transition")}function E(e,t,r){let n=t==="transition"?"transitionProperty":"animationName";return e.getAnimations().find(a=>a[n]===r)}async function F(e,t,r){let n=E(e,r,t);if(n||(await lt(),n=E(e,r,t)),!!n)try{await n.finished}catch{}}function lt(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Ot(e){return e.endsWith("px")?parseFloat(e):e.endsWith("vw")?C(parseFloat(e),window.innerWidth):e.endsWith("vh")?C(parseFloat(e),window.innerHeight):0}function C(e,t){return e*t/100}export{J as a,dt as b,ht as c,gt as d,vt as e,bt as f,p as g,pt as h,yt as i,Q as j,y as k,tt as l,et as m,mt as n,St as o,Tt as p,wt as q,Et as r,Ct as s,Nt as t,ot as u,ut as v,st as w,It as x,xt as y,At as z,Rt as A,Ft as B,Dt as C,Ot as D};
3
+ v3.3.0-next.37 */
4
+ import{a as S}from"./4F2HX73O.js";import{K as h}from"./CS5TXGDH.js";var O=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],b=O.join(","),N=typeof Element>"u",d=N?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,g=!N&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},v=function e(t,r){var n;r===void 0&&(r=!0);var a=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=a===""||a==="true",i=o||r&&t&&e(t.parentNode);return i},M=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},k=function(t,r,n){if(v(t))return[];var a=Array.prototype.slice.apply(t.querySelectorAll(b));return r&&d.call(t,b)&&a.unshift(t),a=a.filter(n),a},B=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!v(i,!1))if(i.tagName==="SLOT"){var u=i.assignedElements(),s=u.length?u:i.children,l=e(s,!0,n);n.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var f=d.call(i,b);f&&n.filter(i)&&(r||!t.includes(i))&&a.push(i);var c=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),D=!v(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(c&&D){var m=e(c===!0?i.children:c.children,!0,n);n.flatten?a.push.apply(a,m):a.push({scopeParent:i,candidates:m})}else o.unshift.apply(o,i.children)}}return a},I=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},x=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||M(t))&&!I(t)?0:t.tabIndex},P=function(t,r){var n=x(t);return n<0&&r&&!I(t)?0:n},L=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},A=function(t){return t.tagName==="INPUT"},q=function(t){return A(t)&&t.type==="hidden"},W=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},$=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},U=function(t){if(!t.name)return!0;var r=t.form||g(t),n=function(u){return r.querySelectorAll('input[type="radio"][name="'+u+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(t.name));else try{a=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=$(a,t.form);return!o||o===t},G=function(t){return A(t)&&t.type==="radio"},j=function(t){return G(t)&&!U(t)},z=function(t){var r,n=t&&g(t),a=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var i,u,s;for(o=!!((i=a)!==null&&i!==void 0&&(u=i.ownerDocument)!==null&&u!==void 0&&u.contains(a)||t!=null&&(s=t.ownerDocument)!==null&&s!==void 0&&s.contains(t));!o&&a;){var l,f,c;n=g(a),a=(l=n)===null||l===void 0?void 0:l.host,o=!!((f=a)!==null&&f!==void 0&&(c=f.ownerDocument)!==null&&c!==void 0&&c.contains(a))}}return o},T=function(t){var r=t.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0},X=function(t,r){var n=r.displayCheck,a=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=d.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(d.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof a=="function"){for(var u=t;t;){var s=t.parentElement,l=g(t);if(s&&!s.shadowRoot&&a(s)===!0)return T(t);t.assignedSlot?t=t.assignedSlot:!s&&l!==t.ownerDocument?t=l.host:t=s}t=u}if(z(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return T(t);return!1},H=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!a.contains(t)}return!0}r=r.parentElement}return!1},V=function(t,r){return!(r.disabled||v(r)||q(r)||X(r,t)||W(r)||H(r))},w=function(t,r){return!(j(r)||x(r)<0||!V(t,r))},Y=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},Z=function e(t){var r=[],n=[];return t.forEach(function(a,o){var i=!!a.scopeParent,u=i?a.scopeParent:a,s=P(u,i),l=i?e(a.candidates):u;s===0?i?r.push.apply(r,l):r.push(u):n.push({documentOrder:o,tabIndex:s,item:a,isScope:i,content:l})}),n.sort(L).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},K=function(t,r){r=r||{};var n;return r.getShadowRoot?n=B([t],r.includeContainer,{filter:w.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Y}):n=k(t,r.includeContainer,w.bind(null,r)),Z(n)},J={getShadowRoot:!0};function dt(e){return e?e.id=e.id||`${e.tagName.toLowerCase()}-${S()}`:""}function ht(e){return Array.isArray(e)?e:Array.from(e)}function gt(e){let t=y(e,`.${h.darkMode}, .${h.lightMode}, .${h.autoMode}`);return t?.classList.contains("calcite-mode-dark")||t?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function vt(e){let t="dir",r=`[${t}]`,n=y(e,r);return n?n.getAttribute(t):"ltr"}function bt(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function p(e){return e.getRootNode()}function pt(e){let t=p(e);return"host"in t?t:null}function yt(e,t){if(!e)return 0;let n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width}function R(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=p(e);return(r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null)||Q(R(n),{selector:t,id:r})}function y(e,t){return e?e.closest(t)||y(R(p(e)),t):null}function _(e){return typeof e?.setFocus=="function"}async function tt(e){if(e)return _(e)?e.setFocus():e.focus()}function et(e){if(e)return K(e,J)[0]??e}function mt(e){et(e)?.focus()}function St(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function rt(e,t){return e.filter(r=>r.matches(t))}function Tt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function wt(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function Et(e){return(!!e).toString()}function Ct(e){return ot(e)||at(e)}function nt(e){return it(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function Nt(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function at(e){return!!nt(e)}function it(e){return e.currentTarget.assignedNodes({flatten:!0})}function ot(e){return!!ut(e).length}function ut(e,t){return st(e.currentTarget,t)}function st(e,t){let r=e.assignedElements({flatten:!0});return t?rt(r,t):r}function It(e){return!!(e.isPrimary&&e.button===0)}function xt(e){return e.detail===0}var At=(e,t,r,n=!0)=>{let a=e.indexOf(t),o=a===0,i=a===e.length-1;n&&(r=r==="previous"&&o?"last":r==="next"&&i?"first":r);let u;return r==="previous"?u=e[a-1]||e[n?e.length-1:a]:r==="next"?u=e[a+1]||e[n?0:a]:r==="last"?u=e[e.length-1]:u=e[0],tt(u),u};function Rt(e,t){if(e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Ft(e,t){return F(e,t,"animation")}async function Dt(e,t){return F(e,t,"transition")}function E(e,t,r){let n=t==="transition"?"transitionProperty":"animationName";return e.getAnimations().find(a=>a[n]===r)}async function F(e,t,r){let n=E(e,r,t);if(n||(await lt(),n=E(e,r,t)),!!n)try{await n.finished}catch{}}function lt(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Ot(e){return e.endsWith("px")?parseFloat(e):e.endsWith("vw")?C(parseFloat(e),window.innerWidth):e.endsWith("vh")?C(parseFloat(e),window.innerHeight):0}function C(e,t){return e*t/100}export{J as a,dt as b,ht as c,gt as d,vt as e,bt as f,p as g,pt as h,yt as i,Q as j,y as k,tt as l,et as m,mt as n,St as o,Tt as p,wt as q,Et as r,Ct as s,Nt as t,ot as u,ut as v,st as w,It as x,xt as y,At as z,Rt as A,Ft as B,Dt as C,Ot as D};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{A,B as D,C as y,g as P,u as k,v as w,w as V,y as m,z as p}from"./LWZ2B3IO.js";var b=(s,f,c)=>{let h=new Map;for(let e=f;e<=c;e++)h.set(s[e],e);return h},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let h;c===void 0?c=f:f!==void 0&&(h=f);let e=[],n=[],l=0;for(let a of s)e[l]=h?h(a,l):l,n[l]=c(a,l),l++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,h]){let e=D(s),{values:n,keys:l}=this.dt(f,c,h);if(!Array.isArray(e))return this.ut=l,n;let a=this.ut??=[],u=[],v,x,t=0,o=e.length-1,r=0,i=n.length-1;for(;t<=o&&r<=i;)if(e[t]===null)t++;else if(e[o]===null)o--;else if(a[t]===l[r])u[r]=p(e[t],n[r]),t++,r++;else if(a[o]===l[i])u[i]=p(e[o],n[i]),o--,i--;else if(a[t]===l[i])u[i]=p(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[o]===l[r])u[r]=p(e[o],n[r]),m(s,e[t],e[o]),o--,r++;else if(v===void 0&&(v=b(l,r,i),x=b(a,t,o)),v.has(a[t]))if(v.has(a[o])){let d=x.get(l[r]),g=d!==void 0?e[d]:null;if(g===null){let C=m(s,e[t]);p(C,n[r]),u[r]=C}else u[r]=p(g,n[r]),m(s,e[t],g),e[d]=null;r++}else y(e[o]),o--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);p(d,n[r]),u[r++]=d}for(;t<=o;){let d=e[t++];d!==null&&y(d)}return this.ut=l,A(s,u),P}});export{I as a};
3
+ v3.3.0-next.37 */
4
+ import{A,B as D,C as y,g as P,u as k,v as w,w as V,y as m,z as p}from"./CS5TXGDH.js";var b=(s,f,c)=>{let h=new Map;for(let e=f;e<=c;e++)h.set(s[e],e);return h},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let h;c===void 0?c=f:f!==void 0&&(h=f);let e=[],n=[],l=0;for(let a of s)e[l]=h?h(a,l):l,n[l]=c(a,l),l++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,h]){let e=D(s),{values:n,keys:l}=this.dt(f,c,h);if(!Array.isArray(e))return this.ut=l,n;let a=this.ut??=[],u=[],v,x,t=0,o=e.length-1,r=0,i=n.length-1;for(;t<=o&&r<=i;)if(e[t]===null)t++;else if(e[o]===null)o--;else if(a[t]===l[r])u[r]=p(e[t],n[r]),t++,r++;else if(a[o]===l[i])u[i]=p(e[o],n[i]),o--,i--;else if(a[t]===l[i])u[i]=p(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[o]===l[r])u[r]=p(e[o],n[r]),m(s,e[t],e[o]),o--,r++;else if(v===void 0&&(v=b(l,r,i),x=b(a,t,o)),v.has(a[t]))if(v.has(a[o])){let d=x.get(l[r]),g=d!==void 0?e[d]:null;if(g===null){let C=m(s,e[t]);p(C,n[r]),u[r]=C}else u[r]=p(g,n[r]),m(s,e[t],g),e[d]=null;r++}else y(e[o]),o--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);p(d,n[r]),u[r++]=d}for(;t<=o;){let d=e[t++];d!==null&&y(d)}return this.ut=l,A(s,u),P}});export{I as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a,b as r}from"./7BTTOTDX.js";import{a as l}from"./CYHDAXVP.js";import{E as s,R as i,c as t,d as o}from"./LWZ2B3IO.js";var c=t`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends s{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}]}}static{this.styles=c}load(){l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]})}updated(){a(this)}render(){return r({disabled:this.disabled,children:o`<slot></slot>`})}};i("calcite-tile-select-group",e);export{e as TileSelectGroup};
3
+ v3.3.0-next.37 */
4
+ import{a,b as r}from"./WFEHN274.js";import{a as l}from"./3WPVBX3N.js";import{E as s,R as i,c as t,d as o}from"./CS5TXGDH.js";var c=t`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends s{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}]}}static{this.styles=c}load(){l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]})}updated(){a(this)}render(){return r({disabled:this.disabled,children:o`<slot></slot>`})}};i("calcite-tile-select-group",e);export{e as TileSelectGroup};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as C}from"./3FDYHAIL.js";import{e as z,r as I}from"./XUMGRQNT.js";import{a as $}from"./CYHDAXVP.js";import"./JJZBJAF4.js";import{E as g,F as v,R as x,S as y,c as m,d as b,e as u,h as r}from"./LWZ2B3IO.js";var D={flipRtl:"flip-rtl",svg:"svg"},k={},f={},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;f[t]||(f[t]=fetch(y(`./assets/icon/${t}.json`)).then(n=>n.json()).catch(()=>($.error(`${e.icon} (${e.scale}) icon failed to load`),"")));let i=await f[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((c,l)=>c.replace(n,function(o,p){return l===0&&p===0?o:o.toUpperCase()})).join("")}return t?`i${e}`:e}var R=m`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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}`,d=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,{},{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},c=B(n)||await U(n);t===this.icon&&(this.pathData=c)}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:c}=this,l=z(t),h=w[n],o=!!c,p=[].concat(i||"");return this.el.ariaHidden=I(!o),this.el.ariaLabel=o?c:null,this.el.role=o?"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(a=>typeof a=="string"?u`<path d=${a??r} />`:u`<path d=${a.d??r} opacity=${("opacity"in a?a.opacity:1)??r} />`)}</svg>`}};x("calcite-icon",d);export{d as Icon};
3
+ v3.3.0-next.37 */
4
+ import{a as C}from"./J5VVHHEU.js";import{e as z,r as I}from"./2DJGY2AY.js";import{a as $}from"./3WPVBX3N.js";import"./4F2HX73O.js";import{E as g,F as v,R as x,S as y,c as m,d as b,e as u,h as r}from"./CS5TXGDH.js";var D={flipRtl:"flip-rtl",svg:"svg"},k={},f={},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;f[t]||(f[t]=fetch(y(`./assets/icon/${t}.json`)).then(n=>n.json()).catch(()=>($.error(`${e.icon} (${e.scale}) icon failed to load`),"")));let i=await f[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((c,l)=>c.replace(n,function(o,p){return l===0&&p===0?o:o.toUpperCase()})).join("")}return t?`i${e}`:e}var R=m`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}: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}`,d=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,{},{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},c=B(n)||await U(n);t===this.icon&&(this.pathData=c)}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:c}=this,l=z(t),h=w[n],o=!!c,p=[].concat(i||"");return this.el.ariaHidden=I(!o),this.el.ariaLabel=o?c:null,this.el.role=o?"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(a=>typeof a=="string"?u`<path d=${a??r} />`:u`<path d=${a.d??r} opacity=${("opacity"in a?a.opacity:1)??r} />`)}</svg>`}};x("calcite-icon",d);export{d as Icon};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as p}from"./MUPALBPB.js";import{a as $}from"./A5MV5WVA.js";import{b as u}from"./I2L744Z7.js";import{a as d,b as c,c as h,d as M}from"./Q36ZAS24.js";import{l as I,r as b}from"./XUMGRQNT.js";import{d as B}from"./Q6RKZEFV.js";import"./CYHDAXVP.js";import{a as x}from"./JJZBJAF4.js";import{E,F as r,R as v,c as f,d as l,h as a,q as g}from"./LWZ2B3IO.js";var y=f`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-action-menu-items-space, 0)}:host([hidden]){display:none}[hidden]{display:none}`,P=["ArrowUp","ArrowDown","End","Home"],m=class extends E{constructor(){super(...arguments),this.guid=x(),this.actionElements=[],this.menuButtonClick=()=>{this.toggleOpen()},this.menuButtonId=c.button(this.guid),this.menuButtonKeyDown=e=>{let{key:t}=e,{actionElements:n,activeMenuItemIndex:o,open:i}=this;if(n.length){if($(t)){if(e.preventDefault(),!i){this.toggleOpen();return}let s=n[o];s?s.click():this.toggleOpen(!1)}if(t==="Tab"){this.open=!1;return}if(t==="Escape"){this.toggleOpen(!1),e.preventDefault();return}this.handleActionNavigation(e,t,n)}},this.menuId=c.menu(this.guid),this._open=!1,this.updateAction=(e,t)=>{let{guid:n,activeMenuItemIndex:o}=this,i=c.action(n,t);e.tabIndex=-1,e.setAttribute("role","menuitem"),e.id||(e.id=i),e.activeDescendant=t===o},this.activeMenuItemIndex=-1,this.appearance="solid",this.expanded=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale="m",this.calciteActionMenuOpen=g({cancelable:!1})}static{this.properties={activeMenuItemIndex:[16,{},{state:!0}],menuButtonEl:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=y}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.openHandler(e))}async setFocus(){return await B(this),I(this.menuButtonEl)}connectedCallback(){super.connectedCallback(),this.connectMenuButtonEl()}willUpdate(e){e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.expandedHandler(),e.has("activeMenuItemIndex")&&(this.hasUpdated||this.activeMenuItemIndex!==-1)&&this.updateActions(this.actionElements)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(e){this.menuButtonEl&&(this.menuButtonEl.active=e),this.popoverEl&&(this.popoverEl.open=e),this.activeMenuItemIndex=this.open?0:-1,this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}connectMenuButtonEl(){let{menuButtonId:e,menuId:t,open:n,label:o}=this,i=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==i&&(this.disconnectMenuButtonEl(),this.menuButtonEl=i,this.setTooltipReferenceElement(),i&&(i.active=n,i.setAttribute("aria-controls",t),i.setAttribute("aria-expanded",b(n)),i.setAttribute("aria-haspopup","true"),i.id||(i.id=e),i.label||(i.label=o),i.text||(i.text=o),i.addEventListener("click",this.menuButtonClick),i.addEventListener("keydown",this.menuButtonKeyDown)))}disconnectMenuButtonEl(){let{menuButtonEl:e}=this;e&&(e.removeEventListener("click",this.menuButtonClick),e.removeEventListener("keydown",this.menuButtonKeyDown),this.menuButtonEl=null)}setMenuButtonEl(e){let t=e.target.assignedElements({flatten:!0}).filter(n=>n?.matches("calcite-action"));this.slottedMenuButtonEl=t[0],this.connectMenuButtonEl()}setDefaultMenuButtonEl(e){this.defaultMenuButtonEl=e,e&&this.connectMenuButtonEl()}setPopoverEl(e){e&&(this.popoverEl=e,e.open=this.open)}handleCalciteActionClick(){this.open=!1,this.setFocus()}updateTooltip(e){let t=e.target.assignedElements({flatten:!0}).filter(n=>n?.matches("calcite-tooltip"));this.tooltipEl=t[0],this.setTooltipReferenceElement()}setTooltipReferenceElement(){let{tooltipEl:e,expanded:t,menuButtonEl:n,open:o}=this;e&&(e.referenceElement=!t&&!o?n:null)}updateActions(e){e?.forEach(this.updateAction)}handleDefaultSlotChange(e){let t=e.target.assignedElements({flatten:!0}).reduce((n,o)=>o?.matches("calcite-action")?(n.push(o),n):o?.matches("calcite-action-group")?n.concat(Array.from(o.querySelectorAll("calcite-action"))):n,[]);this.actionElements=t.filter(n=>!n.disabled&&!n.hidden)}isValidKey(e,t){return!!t.find(n=>n===e)}handleActionNavigation(e,t,n){if(!this.isValidKey(t,P))return;if(e.preventDefault(),!this.open){this.toggleOpen(),(t==="Home"||t==="ArrowDown")&&(this.activeMenuItemIndex=0),(t==="End"||t==="ArrowUp")&&(this.activeMenuItemIndex=n.length-1);return}t==="Home"&&(this.activeMenuItemIndex=0),t==="End"&&(this.activeMenuItemIndex=n.length-1);let o=this.activeMenuItemIndex;t==="ArrowUp"&&(this.activeMenuItemIndex=p(Math.max(o-1,-1),n.length)),t==="ArrowDown"&&(this.activeMenuItemIndex=p(o+1,n.length))}toggleOpen(e=!this.open){this.open=e}handlePopoverOpen(e){e.stopPropagation(),this.open=!0,this.setFocus()}handlePopoverClose(e){e.stopPropagation(),this.open=!1}renderMenuButton(){let{appearance:e,label:t,scale:n,expanded:o}=this;return l`<slot name=${h.trigger} @slotchange=${this.setMenuButtonEl}><calcite-action .appearance=${e} class=${r(d.defaultTrigger)} .icon=${M.menu} .scale=${n} .text=${t} .textEnabled=${o} ${u(this.setDefaultMenuButtonEl)}></calcite-action></slot>`}renderMenuItems(){let{actionElements:e,activeMenuItemIndex:t,menuId:n,menuButtonEl:o,label:i,placement:s,overlayPositioning:A,flipPlacements:w}=this,C=e[t]?.id||null;return l`<calcite-popover auto-close .flipPlacements=${w} focus-trap-disabled .label=${i} offset-distance=0 @calcitePopoverClose=${this.handlePopoverClose} @calcitePopoverOpen=${this.handlePopoverOpen} .overlayPositioning=${A} .placement=${s} pointer-disabled .referenceElement=${o} trigger-disabled ${u(this.setPopoverEl)}><div aria-activedescendant=${C??a} aria-labelledby=${o?.id??a} class=${r(d.menu)} id=${n??a} @click=${this.handleCalciteActionClick} role=menu tabindex=-1><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></calcite-popover>`}render(){return l`${this.renderMenuButton()}${this.renderMenuItems()}<slot name=${h.tooltip} @slotchange=${this.updateTooltip}></slot>`}};v("calcite-action-menu",m);export{m as ActionMenu};
3
+ v3.3.0-next.37 */
4
+ import{a as p}from"./O5HULOZ3.js";import{a as $}from"./TGV23N6M.js";import{b as u}from"./GKY7BMP3.js";import{a as d,b as c,c as h,d as M}from"./OABGLTCO.js";import{l as I,r as b}from"./2DJGY2AY.js";import{d as B}from"./QJFAK34S.js";import"./3WPVBX3N.js";import{a as x}from"./4F2HX73O.js";import{E,F as r,R as v,c as f,d as l,h as a,q as g}from"./CS5TXGDH.js";var y=f`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-action-menu-items-space, 0)}:host([hidden]){display:none}[hidden]{display:none}`,P=["ArrowUp","ArrowDown","End","Home"],m=class extends E{constructor(){super(...arguments),this.guid=x(),this.actionElements=[],this.menuButtonClick=()=>{this.toggleOpen()},this.menuButtonId=c.button(this.guid),this.menuButtonKeyDown=e=>{let{key:t}=e,{actionElements:n,activeMenuItemIndex:o,open:i}=this;if(n.length){if($(t)){if(e.preventDefault(),!i){this.toggleOpen();return}let s=n[o];s?s.click():this.toggleOpen(!1)}if(t==="Tab"){this.open=!1;return}if(t==="Escape"){this.toggleOpen(!1),e.preventDefault();return}this.handleActionNavigation(e,t,n)}},this.menuId=c.menu(this.guid),this._open=!1,this.updateAction=(e,t)=>{let{guid:n,activeMenuItemIndex:o}=this,i=c.action(n,t);e.tabIndex=-1,e.setAttribute("role","menuitem"),e.id||(e.id=i),e.activeDescendant=t===o},this.activeMenuItemIndex=-1,this.appearance="solid",this.expanded=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale="m",this.calciteActionMenuOpen=g({cancelable:!1})}static{this.properties={activeMenuItemIndex:[16,{},{state:!0}],menuButtonEl:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=y}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.openHandler(e))}async setFocus(){return await B(this),I(this.menuButtonEl)}connectedCallback(){super.connectedCallback(),this.connectMenuButtonEl()}willUpdate(e){e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.expandedHandler(),e.has("activeMenuItemIndex")&&(this.hasUpdated||this.activeMenuItemIndex!==-1)&&this.updateActions(this.actionElements)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(e){this.menuButtonEl&&(this.menuButtonEl.active=e),this.popoverEl&&(this.popoverEl.open=e),this.activeMenuItemIndex=this.open?0:-1,this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}connectMenuButtonEl(){let{menuButtonId:e,menuId:t,open:n,label:o}=this,i=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==i&&(this.disconnectMenuButtonEl(),this.menuButtonEl=i,this.setTooltipReferenceElement(),i&&(i.active=n,i.setAttribute("aria-controls",t),i.setAttribute("aria-expanded",b(n)),i.setAttribute("aria-haspopup","true"),i.id||(i.id=e),i.label||(i.label=o),i.text||(i.text=o),i.addEventListener("click",this.menuButtonClick),i.addEventListener("keydown",this.menuButtonKeyDown)))}disconnectMenuButtonEl(){let{menuButtonEl:e}=this;e&&(e.removeEventListener("click",this.menuButtonClick),e.removeEventListener("keydown",this.menuButtonKeyDown),this.menuButtonEl=null)}setMenuButtonEl(e){let t=e.target.assignedElements({flatten:!0}).filter(n=>n?.matches("calcite-action"));this.slottedMenuButtonEl=t[0],this.connectMenuButtonEl()}setDefaultMenuButtonEl(e){this.defaultMenuButtonEl=e,e&&this.connectMenuButtonEl()}setPopoverEl(e){e&&(this.popoverEl=e,e.open=this.open)}handleCalciteActionClick(){this.open=!1,this.setFocus()}updateTooltip(e){let t=e.target.assignedElements({flatten:!0}).filter(n=>n?.matches("calcite-tooltip"));this.tooltipEl=t[0],this.setTooltipReferenceElement()}setTooltipReferenceElement(){let{tooltipEl:e,expanded:t,menuButtonEl:n,open:o}=this;e&&(e.referenceElement=!t&&!o?n:null)}updateActions(e){e?.forEach(this.updateAction)}handleDefaultSlotChange(e){let t=e.target.assignedElements({flatten:!0}).reduce((n,o)=>o?.matches("calcite-action")?(n.push(o),n):o?.matches("calcite-action-group")?n.concat(Array.from(o.querySelectorAll("calcite-action"))):n,[]);this.actionElements=t.filter(n=>!n.disabled&&!n.hidden)}isValidKey(e,t){return!!t.find(n=>n===e)}handleActionNavigation(e,t,n){if(!this.isValidKey(t,P))return;if(e.preventDefault(),!this.open){this.toggleOpen(),(t==="Home"||t==="ArrowDown")&&(this.activeMenuItemIndex=0),(t==="End"||t==="ArrowUp")&&(this.activeMenuItemIndex=n.length-1);return}t==="Home"&&(this.activeMenuItemIndex=0),t==="End"&&(this.activeMenuItemIndex=n.length-1);let o=this.activeMenuItemIndex;t==="ArrowUp"&&(this.activeMenuItemIndex=p(Math.max(o-1,-1),n.length)),t==="ArrowDown"&&(this.activeMenuItemIndex=p(o+1,n.length))}toggleOpen(e=!this.open){this.open=e}handlePopoverOpen(e){e.stopPropagation(),this.open=!0,this.setFocus()}handlePopoverClose(e){e.stopPropagation(),this.open=!1}renderMenuButton(){let{appearance:e,label:t,scale:n,expanded:o}=this;return l`<slot name=${h.trigger} @slotchange=${this.setMenuButtonEl}><calcite-action .appearance=${e} class=${r(d.defaultTrigger)} .icon=${M.menu} .scale=${n} .text=${t} .textEnabled=${o} ${u(this.setDefaultMenuButtonEl)}></calcite-action></slot>`}renderMenuItems(){let{actionElements:e,activeMenuItemIndex:t,menuId:n,menuButtonEl:o,label:i,placement:s,overlayPositioning:A,flipPlacements:w}=this,C=e[t]?.id||null;return l`<calcite-popover auto-close .flipPlacements=${w} focus-trap-disabled .label=${i} offset-distance=0 @calcitePopoverClose=${this.handlePopoverClose} @calcitePopoverOpen=${this.handlePopoverOpen} .overlayPositioning=${A} .placement=${s} pointer-disabled .referenceElement=${o} trigger-disabled ${u(this.setPopoverEl)}><div aria-activedescendant=${C??a} aria-labelledby=${o?.id??a} class=${r(d.menu)} id=${n??a} @click=${this.handleCalciteActionClick} role=menu tabindex=-1><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></calcite-popover>`}render(){return l`${this.renderMenuButton()}${this.renderMenuItems()}<slot name=${h.tooltip} @slotchange=${this.updateTooltip}></slot>`}};v("calcite-action-menu",m);export{m as ActionMenu};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as k}from"./MZ34P5SX.js";import{c as N,e as z,f as S,h as O}from"./3NXUR7SI.js";import{c as x,d as y,e as I}from"./3T4ZL2Z2.js";import{a as E,b as C}from"./7BTTOTDX.js";import{a as v}from"./3FDYHAIL.js";import{b as f}from"./I2L744Z7.js";import{l as g}from"./XUMGRQNT.js";import{a as b,d as w}from"./Q6RKZEFV.js";import"./CYHDAXVP.js";import"./JJZBJAF4.js";import{E as p,F as l,J as u,R as m,c as d,d as o,q as h}from"./LWZ2B3IO.js";var $=d`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}: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;flex-direction:column;font-size:var(--calcite-select-font-size);font-weight:var(--calcite-internal-select-font-weight, var(--calcite-font-weight-regular))}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width);block-size:var(--calcite-internal-select-block-size, 32px)}.wrapper:focus-within .icon,.wrapper:active .icon,.wrapper:hover .icon{color:var(--calcite-select-icon-color-hover, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-select-font-size: var(--calcite-font-size--2);--calcite-select-spacing-inline: .5rem 2rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 24px}:host([scale=m]){--calcite-internal-select-font-size: var(--calcite-font-size--1);--calcite-select-spacing-inline: .75rem 2.5rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-md)}:host([scale=l]){--calcite-internal-select-font-size: var(--calcite-font-size-0);--calcite-select-spacing-inline: 1rem 3rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-lg);--calcite-internal-select-block-size: 44px}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0;border-style:solid;background-color:var(--calcite-color-foreground-1);font-family:inherit;outline-color:transparent;font-weight:inherit;font-size:var(--calcite-select-font-size, var(--calcite-internal-select-font-size));color:var(--calcite-select-text-color, var(--calcite-color-text-2));border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-width:var(--calcite-select-internal-border-width, var(--calcite-border-width-sm));padding-inline:var(--calcite-select-spacing-inline);padding-block:var(--calcite-internal-select-spacing-block);border-inline-end-width:0;line-height:var(--calcite-internal-select-line-height, normal)}.select:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity: 1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-inline-width:0px var(--calcite-select-internal-icon-border-inline-end-width, 1px);padding-inline:var(--calcite-internal-select-icon-container-padding-inline)}.icon-container .icon{color:var(--calcite-select-icon-color, var(--calcite-color-text-3))}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,n={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},T={validationMessage:"selectValidationMessage"};function s(c){return c.tagName==="CALCITE-OPTION"}function A(c){return c.tagName==="CALCITE-OPTION-GROUP"}var r=class extends p{constructor(){super(),this.componentToNativeEl=new Map,this.mutationObserver=v("mutation",()=>this.populateInternalSelect()),this.disabled=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSelectChange=h({cancelable:!1}),this.listen("calciteInternalOptionChange",this.handleOptionOrGroupChange),this.listen("calciteInternalOptionGroupChange",this.handleOptionOrGroupChange)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],label:1,name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedOption:[0,{},{attribute:!1}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:u},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1,width:[3,{},{reflect:!0}]}}static{this.styles=$}async setFocus(){await w(this),g(this.selectEl)}connectedCallback(){super.connectedCallback();let{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),x(this),N(this)}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==null)&&this.updateItemsFromValue(this.value),e.has("selectedOption")&&(this.value=this.selectedOption?.value)}updated(){E(this)}loaded(){typeof this.value=="string"&&this.updateItemsFromValue(this.value),this.populateInternalSelect();let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),S(this,this.selectedOption?.value??"")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),y(this),z(this)}handleInternalSelectChange(){let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),requestAnimationFrame(()=>this.emitChangeEvent())}handleOptionOrGroupChange(e){e.stopPropagation();let t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),s(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach(t=>t.selected=t.value===e)}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,s(e)){let i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}populateInternalSelect(){let e=Array.from(this.el.children).filter(t=>t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP");this.clearInternalSelect(),e.forEach(t=>this.selectEl?.append(this.toNativeElement(t)))}clearInternalSelect(){this.componentToNativeEl.forEach(e=>e.remove()),this.componentToNativeEl.clear()}storeSelectRef(e){e&&(this.selectEl=e)}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach((i,a)=>{s(a)&&i===e&&(a.selected=!0,t=a,this.deselectAllExcept(a))}),t&&(this.selectedOption=t)}toNativeElement(e){if(s(e)){let t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(A(e)){let t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach(i=>{let a=this.toNativeElement(i);t.append(a),this.componentToNativeEl.set(e,a)}),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach(t=>{t!==e&&(t.selected=!1)})}emitChangeEvent(){this.calciteSelectChange.emit()}renderChevron(){return o`<div class=${l(n.iconContainer)}><calcite-icon class=${l(n.icon)} icon=chevron-down .scale=${b(this.scale)}></calcite-icon></div>`}render(){let{disabled:e}=this;return C({disabled:e,children:o`<div class=${l(n.wrapper)}><select aria-errormessage=${T.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${I(this)} class=${l(n.select)} .disabled=${e} @change=${this.handleInternalSelectChange} ${f(this.storeSelectRef)}><slot></slot></select>${this.renderChevron()}${O({component:this})}</div>${this.validationMessage&&this.status==="invalid"?k({icon:this.validationIcon,id:T.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};m("calcite-select",r);export{r as Select};
3
+ v3.3.0-next.37 */
4
+ import{a as k}from"./XPFKAY5F.js";import{c as N,e as z,f as S,h as O}from"./EKLQGDV5.js";import{c as x,d as y,e as I}from"./WIZJJVAZ.js";import{a as E,b as C}from"./WFEHN274.js";import{a as v}from"./J5VVHHEU.js";import{b as f}from"./GKY7BMP3.js";import{l as g}from"./2DJGY2AY.js";import{a as b,d as w}from"./QJFAK34S.js";import"./3WPVBX3N.js";import"./4F2HX73O.js";import{E as p,F as l,J as u,R as m,c as d,d as o,q as h}from"./CS5TXGDH.js";var $=d`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}: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;flex-direction:column;font-size:var(--calcite-select-font-size);font-weight:var(--calcite-internal-select-font-weight, var(--calcite-font-weight-regular))}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width);block-size:var(--calcite-internal-select-block-size, 32px)}.wrapper:focus-within .icon,.wrapper:active .icon,.wrapper:hover .icon{color:var(--calcite-select-icon-color-hover, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-select-font-size: var(--calcite-font-size--2);--calcite-select-spacing-inline: .5rem 2rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 24px}:host([scale=m]){--calcite-internal-select-font-size: var(--calcite-font-size--1);--calcite-select-spacing-inline: .75rem 2.5rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-md)}:host([scale=l]){--calcite-internal-select-font-size: var(--calcite-font-size-0);--calcite-select-spacing-inline: 1rem 3rem;--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-lg);--calcite-internal-select-block-size: 44px}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0;box-sizing:border-box;inline-size:100%;cursor:pointer;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0;border-style:solid;background-color:var(--calcite-color-foreground-1);font-family:inherit;outline-color:transparent;font-weight:inherit;font-size:var(--calcite-select-font-size, var(--calcite-internal-select-font-size));color:var(--calcite-select-text-color, var(--calcite-color-text-2));border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-width:var(--calcite-select-internal-border-width, var(--calcite-border-width-sm));padding-inline:var(--calcite-select-spacing-inline);padding-block:var(--calcite-internal-select-spacing-block);border-inline-end-width:0;line-height:var(--calcite-internal-select-line-height, normal)}.select:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity: 1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-color:var(--calcite-select-border-color, var(--calcite-color-border-input));border-inline-width:0px var(--calcite-select-internal-icon-border-inline-end-width, 1px);padding-inline:var(--calcite-internal-select-icon-container-padding-inline)}.icon-container .icon{color:var(--calcite-select-icon-color, var(--calcite-color-text-3))}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,n={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},T={validationMessage:"selectValidationMessage"};function s(c){return c.tagName==="CALCITE-OPTION"}function A(c){return c.tagName==="CALCITE-OPTION-GROUP"}var r=class extends p{constructor(){super(),this.componentToNativeEl=new Map,this.mutationObserver=v("mutation",()=>this.populateInternalSelect()),this.disabled=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSelectChange=h({cancelable:!1}),this.listen("calciteInternalOptionChange",this.handleOptionOrGroupChange),this.listen("calciteInternalOptionGroupChange",this.handleOptionOrGroupChange)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],label:1,name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedOption:[0,{},{attribute:!1}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:u},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1,width:[3,{},{reflect:!0}]}}static{this.styles=$}async setFocus(){await w(this),g(this.selectEl)}connectedCallback(){super.connectedCallback();let{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),x(this),N(this)}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==null)&&this.updateItemsFromValue(this.value),e.has("selectedOption")&&(this.value=this.selectedOption?.value)}updated(){E(this)}loaded(){typeof this.value=="string"&&this.updateItemsFromValue(this.value),this.populateInternalSelect();let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),S(this,this.selectedOption?.value??"")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),y(this),z(this)}handleInternalSelectChange(){let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),requestAnimationFrame(()=>this.emitChangeEvent())}handleOptionOrGroupChange(e){e.stopPropagation();let t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),s(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach(t=>t.selected=t.value===e)}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,s(e)){let i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}populateInternalSelect(){let e=Array.from(this.el.children).filter(t=>t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP");this.clearInternalSelect(),e.forEach(t=>this.selectEl?.append(this.toNativeElement(t)))}clearInternalSelect(){this.componentToNativeEl.forEach(e=>e.remove()),this.componentToNativeEl.clear()}storeSelectRef(e){e&&(this.selectEl=e)}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach((i,a)=>{s(a)&&i===e&&(a.selected=!0,t=a,this.deselectAllExcept(a))}),t&&(this.selectedOption=t)}toNativeElement(e){if(s(e)){let t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(A(e)){let t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach(i=>{let a=this.toNativeElement(i);t.append(a),this.componentToNativeEl.set(e,a)}),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach(t=>{t!==e&&(t.selected=!1)})}emitChangeEvent(){this.calciteSelectChange.emit()}renderChevron(){return o`<div class=${l(n.iconContainer)}><calcite-icon class=${l(n.icon)} icon=chevron-down .scale=${b(this.scale)}></calcite-icon></div>`}render(){let{disabled:e}=this;return C({disabled:e,children:o`<div class=${l(n.wrapper)}><select aria-errormessage=${T.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${I(this)} class=${l(n.select)} .disabled=${e} @change=${this.handleInternalSelectChange} ${f(this.storeSelectRef)}><slot></slot></select>${this.renderChevron()}${O({component:this})}</div>${this.validationMessage&&this.status==="invalid"?k({icon:this.validationIcon,id:T.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};m("calcite-select",r);export{r as Select};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as Dt}from"./K237XWOW.js";import{e as Lt}from"./XUMGRQNT.js";import{L as yt}from"./LWZ2B3IO.js";var vt=["top","right","bottom","left"],Ft=["start","end"],bt=vt.reduce((t,e)=>t.concat(e,e+"-"+Ft[0],e+"-"+Ft[1]),[]),j=Math.min,V=Math.max,rt=Math.round,ct=Math.floor,M=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function ut(t,e,n){return V(t,j(e,n))}function Y(t,e){return typeof t=="function"?t(e):t}function W(t){return t.split("-")[0]}function k(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function dt(t){return t==="y"?"height":"width"}var Re=new Set(["top","bottom"]);function _(t){return Re.has(W(t))?"y":"x"}function mt(t){return At(_(t))}function Ot(t,e,n){n===void 0&&(n=!1);let o=k(t),i=mt(t),r=dt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Nt(t){let e=st(t);return[it(t),e,it(e)]}function it(t){return t.replace(/start|end/g,e=>Oe[e])}var Mt=["left","right"],kt=["right","left"],Pe=["top","bottom"],Se=["bottom","top"];function Ce(t,e,n){switch(t){case"top":case"bottom":return n?e?kt:Mt:e?Mt:kt;case"left":case"right":return e?Pe:Se;default:return[]}}function Bt(t,e,n,o){let i=k(t),r=Ce(W(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(it)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>Ae[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Rt(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function K(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Wt(t,e,n){let{reference:o,floating:i}=t,r=_(e),s=mt(e),c=dt(s),l=W(e),a=r==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2,f;switch(l){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(k(e)){case"start":f[s]-=m*(n&&a?-1:1);break;case"end":f[s]+=m*(n&&a?-1:1);break}return f}var Vt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Wt(a,o,l),m=o,f={},g=0;for(let h=0;h<c.length;h++){let{name:p,fn:w}=c[h],{x,y,data:b,reset:v}=await w({x:d,y:u,initialPlacement:o,placement:m,strategy:i,middlewareData:f,rects:a,platform:s,elements:{reference:t,floating:e}});d=x??d,u=y??u,f={...f,[p]:{...f[p],...b}},v&&g<=50&&(g++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:d,y:u}=Wt(a,m,l)),h=-1)}return{x:d,y:u,placement:m,strategy:i,middlewareData:f}};async function Z(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=Y(e,t),g=Rt(f),p=c[m?u==="floating"?"reference":"floating":u],w=K(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(p)))==null||n?p:p.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:d,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),b=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},v=K(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:l}):x);return{top:(w.top-v.top+g.top)/b.y,bottom:(v.bottom-w.bottom+g.bottom)/b.y,left:(w.left-v.left+g.left)/b.x,right:(v.right-w.right+g.right)/b.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:d=0}=Y(t,e)||{};if(a==null)return{};let u=Rt(d),m={x:n,y:o},f=mt(i),g=dt(f),h=await s.getDimensions(a),p=f==="y",w=p?"top":"left",x=p?"bottom":"right",y=p?"clientHeight":"clientWidth",b=r.reference[g]+r.reference[f]-m[f]-r.floating[g],v=m[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),O=R?R[y]:0;(!O||!await(s.isElement==null?void 0:s.isElement(R)))&&(O=c.floating[y]||r.floating[g]);let U=b/2-v/2,C=O/2-h[g]/2-1,A=j(u[w],C),L=j(u[x],C),$=A,X=O-h[g]-L,P=O/2-h[g]/2+U,q=ut($,P,X),H=!l.arrow&&k(i)!=null&&P!==q&&r.reference[g]/2-(P<$?A:L)-h[g]/2<0,D=H?P<$?P-$:P-X:0;return{[f]:m[f]+D,data:{[f]:q,centerOffset:P-q-D,...H&&{alignmentOffset:D}},reset:H}}});function Te(t,e,n){return(t?[...n.filter(i=>k(i)===t),...n.filter(i=>k(i)!==t)]:n.filter(i=>W(i)===i)).filter(i=>t?k(i)===t||(e?it(i)!==i:!1):!0)}var zt=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i;let{rects:r,middlewareData:s,placement:c,platform:l,elements:a}=e,{crossAxis:d=!1,alignment:u,allowedPlacements:m=bt,autoAlignment:f=!0,...g}=Y(t,e),h=u!==void 0||m===bt?Te(u||null,f,m):m,p=await Z(e,g),w=((n=s.autoPlacement)==null?void 0:n.index)||0,x=h[w];if(x==null)return{};let y=Ot(x,r,await(l.isRTL==null?void 0:l.isRTL(a.floating)));if(c!==x)return{reset:{placement:h[0]}};let b=[p[W(x)],p[y[0]],p[y[1]]],v=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:x,overflows:b}],R=h[w+1];if(R)return{data:{index:w+1,overflows:v},reset:{placement:R}};let O=v.map(A=>{let L=k(A.placement);return[A.placement,L&&d?A.overflows.slice(0,2).reduce(($,X)=>$+X,0):A.overflows[0],A.overflows]}).sort((A,L)=>A[1]-L[1]),C=((i=O.filter(A=>A[2].slice(0,k(A[0])?2:3).every(L=>L<=0))[0])==null?void 0:i[0])||O[0][0];return C!==c?{data:{index:w+1,overflows:v},reset:{placement:C}}:{}}}},Ut=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...p}=Y(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let w=W(i),x=_(c),y=W(c)===c,b=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=m||(y||!h?[st(c)]:Nt(c)),R=g!=="none";!m&&R&&v.push(...Bt(c,h,g,b));let O=[c,...v],U=await Z(e,p),C=[],A=((o=r.flip)==null?void 0:o.overflows)||[];if(d&&C.push(U[w]),u){let P=Ot(i,s,b);C.push(U[P[0]],U[P[1]])}if(A=[...A,{placement:i,overflows:C}],!C.every(P=>P<=0)){var L,$;let P=(((L=r.flip)==null?void 0:L.index)||0)+1,q=O[P];if(q&&(!(u==="alignment"?x!==_(q):!1)||A.every(F=>F.overflows[0]>0&&_(F.placement)===x)))return{data:{index:P,overflows:A},reset:{placement:q}};let H=($=A.filter(D=>D.overflows[0]<=0).sort((D,F)=>D.overflows[1]-F.overflows[1])[0])==null?void 0:$.placement;if(!H)switch(f){case"bestFit":{var X;let D=(X=A.filter(F=>{if(R){let I=_(F.placement);return I===x||I==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(I=>I>0).reduce((I,be)=>I+be,0)]).sort((F,I)=>F[1]-I[1])[0])==null?void 0:X[0];D&&(H=D);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}};function $t(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ht(t){return vt.some(e=>t[e]>=0)}var It=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:o="referenceHidden",...i}=Y(t,e);switch(o){case"referenceHidden":{let r=await Z(e,{...i,elementContext:"reference"}),s=$t(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ht(s)}}}case"escaped":{let r=await Z(e,{...i,altBoundary:!0}),s=$t(r,n.floating);return{data:{escapedOffsets:s,escaped:Ht(s)}}}default:return{}}}}};var Le=new Set(["left","top"]);async function De(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=W(n),c=k(n),l=_(n)==="y",a=Le.has(s)?-1:1,d=r&&l?-1:1,u=Y(e,t),{mainAxis:m,crossAxis:f,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof g=="number"&&(f=c==="end"?g*-1:g),l?{x:f*d,y:m*a}:{x:m*a,y:f*d}}var jt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:c}=e,l=await De(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:p=>{let{x:w,y:x}=p;return{x:w,y:x}}},...l}=Y(t,e),a={x:n,y:o},d=await Z(e,l),u=_(W(i)),m=At(u),f=a[m],g=a[u];if(r){let p=m==="y"?"top":"left",w=m==="y"?"bottom":"right",x=f+d[p],y=f-d[w];f=ut(x,f,y)}if(s){let p=u==="y"?"top":"left",w=u==="y"?"bottom":"right",x=g+d[p],y=g-d[w];g=ut(x,g,y)}let h=c.fn({...e,[m]:f,[u]:g});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[m]:r,[u]:s}}}}}};function gt(){return typeof window<"u"}function G(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function S(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return gt()?t instanceof Node||t instanceof S(t).Node:!1}function E(t){return gt()?t instanceof Element||t instanceof S(t).Element:!1}function B(t){return gt()?t instanceof HTMLElement||t instanceof S(t).HTMLElement:!1}function Xt(t){return!gt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof S(t).ShadowRoot}var Fe=new Set(["inline","contents"]);function et(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Fe.has(i)}var Me=new Set(["table","td","th"]);function Kt(t){return Me.has(G(t))}var ke=[":popover-open",":modal"];function lt(t){return ke.some(e=>{try{return t.matches(e)}catch{return!1}})}var Ne=["transform","translate","scale","rotate","perspective"],Be=["transform","translate","scale","rotate","perspective","filter"],We=["paint","layout","strict","content"];function nt(t){let e=ht(),n=E(t)?T(t):t;return Ne.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Be.some(o=>(n.willChange||"").includes(o))||We.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=z(t);for(;B(e)&&!J(e);){if(nt(e))return e;if(lt(e))return null;e=z(e)}return null}function ht(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var $e=new Set(["html","body","#document"]);function J(t){return $e.has(G(t))}function T(t){return S(t).getComputedStyle(t)}function at(t){return E(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function z(t){if(G(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Xt(t)&&t.host||N(t);return Xt(e)?e.host:e}function Jt(t){let e=z(t);return J(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&et(e)?e:Jt(e)}function tt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=S(i);if(r){let c=pt(s);return e.concat(s,s.visualViewport||[],et(i)?i:[],c&&n?tt(c):[])}return e.concat(i,tt(i,[],n))}function pt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function te(t){let e=T(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=B(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=rt(n)!==r||rt(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function St(t){return E(t)?t:t.contextElement}function ot(t){let e=St(t);if(!B(e))return M(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=te(e),s=(r?rt(n.width):n.width)/o,c=(r?rt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var He=M(0);function ee(t){let e=S(t);return!ht()||!e.visualViewport?He:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ve(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==S(t)?!1:e}function Q(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=St(t),s=M(1);e&&(o?E(o)&&(s=ot(o)):s=ot(t));let c=Ve(r,n,o)?ee(r):M(0),l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(r){let m=S(r),f=o&&E(o)?S(o):o,g=m,h=pt(g);for(;h&&o&&f!==g;){let p=ot(h),w=h.getBoundingClientRect(),x=T(h),y=w.left+(h.clientLeft+parseFloat(x.paddingLeft))*p.x,b=w.top+(h.clientTop+parseFloat(x.paddingTop))*p.y;l*=p.x,a*=p.y,d*=p.x,u*=p.y,l+=y,a+=b,g=S(h),h=pt(g)}}return K({width:d,height:u,x:l,y:a})}function Ct(t,e){let n=at(t).scrollLeft;return e?e.left+n:Q(N(t)).left+n}function ne(t,e,n){n===void 0&&(n=!1);let o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Ct(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function _e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=N(o),c=e?lt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=M(1),d=M(0),u=B(o);if((u||!u&&!r)&&((G(o)!=="body"||et(s))&&(l=at(o)),B(o))){let f=Q(o);a=ot(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}let m=s&&!u&&!r?ne(s,l,!0):M(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+d.x+m.x,y:n.y*a.y-l.scrollTop*a.y+d.y+m.y}}function ze(t){return Array.from(t.getClientRects())}function Ue(t){let e=N(t),n=at(t),o=t.ownerDocument.body,i=V(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=V(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+Ct(t),c=-n.scrollTop;return T(o).direction==="rtl"&&(s+=V(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ie(t,e){let n=S(t),o=N(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;let a=ht();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}var je=new Set(["absolute","fixed"]);function Ye(t,e){let n=Q(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=B(t)?ot(t):M(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ie(t,n);else if(e==="document")o=Ue(N(t));else if(E(e))o=Ye(e,n);else{let i=ee(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return K(o)}function oe(t,e){let n=z(t);return n===e||!E(n)||J(n)?!1:T(n).position==="fixed"||oe(n,e)}function Xe(t,e){let n=e.get(t);if(n)return n;let o=tt(t,[],!1).filter(c=>E(c)&&G(c)!=="body"),i=null,r=T(t).position==="fixed",s=r?z(t):t;for(;E(s)&&!J(s);){let c=T(s),l=nt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&je.has(i.position)||et(s)&&!l&&oe(t,s))?o=o.filter(d=>d!==s):i=c,s=z(s)}return e.set(t,o),o}function qe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?lt(e)?[]:Xe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,d)=>{let u=Qt(e,d,i);return a.top=V(u.top,a.top),a.right=j(u.right,a.right),a.bottom=j(u.bottom,a.bottom),a.left=V(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ke(t){let{width:e,height:n}=te(t);return{width:e,height:n}}function Ge(t,e,n){let o=B(e),i=N(e),r=n==="fixed",s=Q(t,!0,r,e),c={scrollLeft:0,scrollTop:0},l=M(0);function a(){l.x=Ct(i)}if(o||!o&&!r)if((G(e)!=="body"||et(i))&&(c=at(e)),o){let f=Q(e,!0,r,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&a();r&&!o&&i&&a();let d=i&&!o&&!r?ne(i,c):M(0),u=s.left+c.scrollLeft-l.x-d.x,m=s.top+c.scrollTop-l.y-d.y;return{x:u,y:m,width:s.width,height:s.height}}function Pt(t){return T(t).position==="static"}function Zt(t,e){if(!B(t)||T(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function ie(t,e){let n=S(t);if(lt(t))return n;if(!B(t)){let i=z(t);for(;i&&!J(i);){if(E(i)&&!Pt(i))return i;i=z(i)}return n}let o=Zt(t,e);for(;o&&Kt(o)&&Pt(o);)o=Zt(o,e);return o&&J(o)&&Pt(o)&&!nt(o)?n:o||Gt(t)||n}var Je=async function(t){let e=this.getOffsetParent||ie,n=this.getDimensions,o=await n(t.floating);return{reference:Ge(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Qe(t){return T(t).direction==="rtl"}var wt={convertOffsetParentRelativeRectToViewportRelativeRect:_e,getDocumentElement:N,getClippingRect:qe,getOffsetParent:ie,getElementRects:Je,getClientRects:ze,getDimensions:Ke,getScale:ot,isElement:E,isRTL:Qe};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ze(t,e){let n=null,o,i=N(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();let a=t.getBoundingClientRect(),{left:d,top:u,width:m,height:f}=a;if(c||e(),!m||!f)return;let g=ct(u),h=ct(i.clientWidth-(d+m)),p=ct(i.clientHeight-(u+f)),w=ct(d),y={rootMargin:-g+"px "+-h+"px "+-p+"px "+-w+"px",threshold:V(0,j(1,l))||1},b=!0;function v(R){let O=R[0].intersectionRatio;if(O!==l){if(!b)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!se(a,t.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(v,y)}n.observe(t)}return s(!0),r}function re(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=St(t),d=i||r?[...a?tt(a):[],...tt(e)]:[];d.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),r&&w.addEventListener("resize",n)});let u=a&&c?Ze(a,n):null,m=-1,f=null;s&&(f=new ResizeObserver(w=>{let[x]=w;x&&x.target===a&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),n()}),a&&!l&&f.observe(a),f.observe(e));let g,h=l?Q(t):null;l&&p();function p(){let w=Q(t);h&&!se(h,w)&&n(),h=w,g=requestAnimationFrame(p)}return n(),()=>{var w;d.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(w=f)==null||w.disconnect(),f=null,l&&cancelAnimationFrame(g)}}var ce=jt,le=zt,ae=Yt,Et=Ut;var fe=It,ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:wt,...n},r={...i.platform,_c:o};return Vt(t,e,{...i,platform:r})};function me(t){return tn(t)}function Tt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function tn(t){for(let e=t;e;e=Tt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Tt(t);e;e=Tt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||nt(n)||e.tagName==="BODY"))return e}return null}(function(){if(!!1){let e=wt.getOffsetParent;wt.getOffsetParent=n=>e(n,me)}})();function ge(t){let e=window.devicePixelRatio||1;return Math.round(t*e)/e}var ye=async(t,{referenceEl:e,floatingEl:n,overlayPositioning:o="absolute",placement:i,flipDisabled:r,flipPlacements:s,offsetDistance:c,offsetSkidding:l,arrowEl:a,type:d})=>{if(!e||!n)return;let u=Lt(n)==="rtl",{x:m,y:f,placement:g,strategy:h,middlewareData:p}=await de(e,n,{strategy:o,placement:i==="auto"||i==="auto-start"||i==="auto-end"?void 0:pe(i,u),middleware:nn({placement:i,flipDisabled:r,flipPlacements:s?.map(b=>pe(b,u)),offsetDistance:c,offsetSkidding:l,arrowEl:a,type:d})});if(a&&p.arrow){let{x:b,y:v}=p.arrow,R=g.split("-")[0],O=b!=null?"left":"top",U=sn[R],C={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout=R==="left"||R==="right"?"horizontal":"vertical"),Object.assign(a.style,{...C,[O]:`${O=="left"?b:v}px`,[R]:"100%",transform:U})}let x=p.hide?.referenceHidden?"hidden":null,y=x?"none":null;n.setAttribute(en,g),Object.assign(n.style,{pointerEvents:y,position:h,transform:`translate(${ge(m)}px,${ge(f)}px)`,visibility:x})},en="data-placement",he=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end","leading","trailing","leading-start","leading-end","trailing-start","trailing-end"],En="bottom-start",Tn="bottom-end",Ln={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function nn({placement:t,flipDisabled:e,flipPlacements:n,offsetDistance:o,offsetSkidding:i,arrowEl:r,type:s}){let c=[ae(),fe()];return s==="menu"&&c.push(Et({fallbackPlacements:n||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})),c.push(ce({mainAxis:typeof o=="number"?o:0,crossAxis:typeof i=="number"?i:0})),t==="auto"||t==="auto-start"||t==="auto-end"?c.push(le({alignment:t==="auto-start"?"start":t==="auto-end"?"end":null})):e||c.push(Et(n?{fallbackPlacements:n}:{})),r&&c.push(ue({element:r})),c}function Dn(t,e){let n=t.filter(o=>he.includes(o));return n.length!==t.length&&console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${he.map(o=>`"${o}"`).join(", ").trim()}`,{el:e}),n}function pe(t,e=!1){let n=["left","right"];return e&&n.reverse(),t.replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}async function Fn(t,e,n=!1){if(!t.open||!e.floatingEl||!e.referenceEl)return;if(Object.assign(e.floatingEl.style,{display:"block",position:e.overlayPositioning??"absolute"}),!ft.get(t))return ve(t);await(n?on(t):ye)(t,e)}function on(t){let e=xt.get(t);return e||(e=Dt(ye,yt.reposition,{leading:!0,maxWait:yt.reposition}),xt.set(t,e),e)}var sn={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},ft=new WeakMap,xt=new WeakMap;async function ve(t){let{referenceEl:e,floatingEl:n}=t;if(!n.isConnected)return;let o=re;ft.set(t,{state:"pending"});let i,r=o(e,n,()=>{let s=t.reposition();i||(i=s)});return ft.set(t,{state:"active",cleanUp:r}),i}function rn(t){let{floatingEl:e}=t;e&&Object.assign(e.style,{display:"",pointerEvents:"",position:"",transform:"",visibility:""})}async function Mn(t){let{floatingEl:e,referenceEl:n}=t;if(rn(t),!(!e||!n)&&(cn(t),!!t.open))return ve(t)}function cn(t){let e=ft.get(t);e?.state==="active"&&e.cleanUp(),ft.delete(t),xt.get(t)?.cancel(),xt.delete(t)}var we=4,kn=Math.ceil(Math.hypot(we,we));export{En as a,Tn as b,Ln as c,Dn as d,Fn as e,rn as f,Mn as g,cn as h,kn as i};
3
+ v3.3.0-next.37 */
4
+ import{a as Dt}from"./TEEQJDZB.js";import{e as Lt}from"./2DJGY2AY.js";import{L as yt}from"./CS5TXGDH.js";var vt=["top","right","bottom","left"],Ft=["start","end"],bt=vt.reduce((t,e)=>t.concat(e,e+"-"+Ft[0],e+"-"+Ft[1]),[]),j=Math.min,V=Math.max,rt=Math.round,ct=Math.floor,M=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function ut(t,e,n){return V(t,j(e,n))}function Y(t,e){return typeof t=="function"?t(e):t}function W(t){return t.split("-")[0]}function k(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function dt(t){return t==="y"?"height":"width"}var Re=new Set(["top","bottom"]);function _(t){return Re.has(W(t))?"y":"x"}function mt(t){return At(_(t))}function Ot(t,e,n){n===void 0&&(n=!1);let o=k(t),i=mt(t),r=dt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Nt(t){let e=st(t);return[it(t),e,it(e)]}function it(t){return t.replace(/start|end/g,e=>Oe[e])}var Mt=["left","right"],kt=["right","left"],Pe=["top","bottom"],Se=["bottom","top"];function Ce(t,e,n){switch(t){case"top":case"bottom":return n?e?kt:Mt:e?Mt:kt;case"left":case"right":return e?Pe:Se;default:return[]}}function Bt(t,e,n,o){let i=k(t),r=Ce(W(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(it)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>Ae[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Rt(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function K(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Wt(t,e,n){let{reference:o,floating:i}=t,r=_(e),s=mt(e),c=dt(s),l=W(e),a=r==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2,f;switch(l){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(k(e)){case"start":f[s]-=m*(n&&a?-1:1);break;case"end":f[s]+=m*(n&&a?-1:1);break}return f}var Vt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Wt(a,o,l),m=o,f={},g=0;for(let h=0;h<c.length;h++){let{name:p,fn:w}=c[h],{x,y,data:b,reset:v}=await w({x:d,y:u,initialPlacement:o,placement:m,strategy:i,middlewareData:f,rects:a,platform:s,elements:{reference:t,floating:e}});d=x??d,u=y??u,f={...f,[p]:{...f[p],...b}},v&&g<=50&&(g++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:d,y:u}=Wt(a,m,l)),h=-1)}return{x:d,y:u,placement:m,strategy:i,middlewareData:f}};async function Z(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=Y(e,t),g=Rt(f),p=c[m?u==="floating"?"reference":"floating":u],w=K(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(p)))==null||n?p:p.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:d,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),b=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},v=K(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:l}):x);return{top:(w.top-v.top+g.top)/b.y,bottom:(v.bottom-w.bottom+g.bottom)/b.y,left:(w.left-v.left+g.left)/b.x,right:(v.right-w.right+g.right)/b.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:d=0}=Y(t,e)||{};if(a==null)return{};let u=Rt(d),m={x:n,y:o},f=mt(i),g=dt(f),h=await s.getDimensions(a),p=f==="y",w=p?"top":"left",x=p?"bottom":"right",y=p?"clientHeight":"clientWidth",b=r.reference[g]+r.reference[f]-m[f]-r.floating[g],v=m[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),O=R?R[y]:0;(!O||!await(s.isElement==null?void 0:s.isElement(R)))&&(O=c.floating[y]||r.floating[g]);let U=b/2-v/2,C=O/2-h[g]/2-1,A=j(u[w],C),L=j(u[x],C),$=A,X=O-h[g]-L,P=O/2-h[g]/2+U,q=ut($,P,X),H=!l.arrow&&k(i)!=null&&P!==q&&r.reference[g]/2-(P<$?A:L)-h[g]/2<0,D=H?P<$?P-$:P-X:0;return{[f]:m[f]+D,data:{[f]:q,centerOffset:P-q-D,...H&&{alignmentOffset:D}},reset:H}}});function Te(t,e,n){return(t?[...n.filter(i=>k(i)===t),...n.filter(i=>k(i)!==t)]:n.filter(i=>W(i)===i)).filter(i=>t?k(i)===t||(e?it(i)!==i:!1):!0)}var zt=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i;let{rects:r,middlewareData:s,placement:c,platform:l,elements:a}=e,{crossAxis:d=!1,alignment:u,allowedPlacements:m=bt,autoAlignment:f=!0,...g}=Y(t,e),h=u!==void 0||m===bt?Te(u||null,f,m):m,p=await Z(e,g),w=((n=s.autoPlacement)==null?void 0:n.index)||0,x=h[w];if(x==null)return{};let y=Ot(x,r,await(l.isRTL==null?void 0:l.isRTL(a.floating)));if(c!==x)return{reset:{placement:h[0]}};let b=[p[W(x)],p[y[0]],p[y[1]]],v=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:x,overflows:b}],R=h[w+1];if(R)return{data:{index:w+1,overflows:v},reset:{placement:R}};let O=v.map(A=>{let L=k(A.placement);return[A.placement,L&&d?A.overflows.slice(0,2).reduce(($,X)=>$+X,0):A.overflows[0],A.overflows]}).sort((A,L)=>A[1]-L[1]),C=((i=O.filter(A=>A[2].slice(0,k(A[0])?2:3).every(L=>L<=0))[0])==null?void 0:i[0])||O[0][0];return C!==c?{data:{index:w+1,overflows:v},reset:{placement:C}}:{}}}},Ut=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...p}=Y(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let w=W(i),x=_(c),y=W(c)===c,b=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=m||(y||!h?[st(c)]:Nt(c)),R=g!=="none";!m&&R&&v.push(...Bt(c,h,g,b));let O=[c,...v],U=await Z(e,p),C=[],A=((o=r.flip)==null?void 0:o.overflows)||[];if(d&&C.push(U[w]),u){let P=Ot(i,s,b);C.push(U[P[0]],U[P[1]])}if(A=[...A,{placement:i,overflows:C}],!C.every(P=>P<=0)){var L,$;let P=(((L=r.flip)==null?void 0:L.index)||0)+1,q=O[P];if(q&&(!(u==="alignment"?x!==_(q):!1)||A.every(F=>F.overflows[0]>0&&_(F.placement)===x)))return{data:{index:P,overflows:A},reset:{placement:q}};let H=($=A.filter(D=>D.overflows[0]<=0).sort((D,F)=>D.overflows[1]-F.overflows[1])[0])==null?void 0:$.placement;if(!H)switch(f){case"bestFit":{var X;let D=(X=A.filter(F=>{if(R){let I=_(F.placement);return I===x||I==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(I=>I>0).reduce((I,be)=>I+be,0)]).sort((F,I)=>F[1]-I[1])[0])==null?void 0:X[0];D&&(H=D);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}};function $t(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ht(t){return vt.some(e=>t[e]>=0)}var It=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:o="referenceHidden",...i}=Y(t,e);switch(o){case"referenceHidden":{let r=await Z(e,{...i,elementContext:"reference"}),s=$t(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ht(s)}}}case"escaped":{let r=await Z(e,{...i,altBoundary:!0}),s=$t(r,n.floating);return{data:{escapedOffsets:s,escaped:Ht(s)}}}default:return{}}}}};var Le=new Set(["left","top"]);async function De(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=W(n),c=k(n),l=_(n)==="y",a=Le.has(s)?-1:1,d=r&&l?-1:1,u=Y(e,t),{mainAxis:m,crossAxis:f,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof g=="number"&&(f=c==="end"?g*-1:g),l?{x:f*d,y:m*a}:{x:m*a,y:f*d}}var jt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:c}=e,l=await De(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:p=>{let{x:w,y:x}=p;return{x:w,y:x}}},...l}=Y(t,e),a={x:n,y:o},d=await Z(e,l),u=_(W(i)),m=At(u),f=a[m],g=a[u];if(r){let p=m==="y"?"top":"left",w=m==="y"?"bottom":"right",x=f+d[p],y=f-d[w];f=ut(x,f,y)}if(s){let p=u==="y"?"top":"left",w=u==="y"?"bottom":"right",x=g+d[p],y=g-d[w];g=ut(x,g,y)}let h=c.fn({...e,[m]:f,[u]:g});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[m]:r,[u]:s}}}}}};function gt(){return typeof window<"u"}function G(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function S(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return gt()?t instanceof Node||t instanceof S(t).Node:!1}function E(t){return gt()?t instanceof Element||t instanceof S(t).Element:!1}function B(t){return gt()?t instanceof HTMLElement||t instanceof S(t).HTMLElement:!1}function Xt(t){return!gt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof S(t).ShadowRoot}var Fe=new Set(["inline","contents"]);function et(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Fe.has(i)}var Me=new Set(["table","td","th"]);function Kt(t){return Me.has(G(t))}var ke=[":popover-open",":modal"];function lt(t){return ke.some(e=>{try{return t.matches(e)}catch{return!1}})}var Ne=["transform","translate","scale","rotate","perspective"],Be=["transform","translate","scale","rotate","perspective","filter"],We=["paint","layout","strict","content"];function nt(t){let e=ht(),n=E(t)?T(t):t;return Ne.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Be.some(o=>(n.willChange||"").includes(o))||We.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=z(t);for(;B(e)&&!J(e);){if(nt(e))return e;if(lt(e))return null;e=z(e)}return null}function ht(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var $e=new Set(["html","body","#document"]);function J(t){return $e.has(G(t))}function T(t){return S(t).getComputedStyle(t)}function at(t){return E(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function z(t){if(G(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Xt(t)&&t.host||N(t);return Xt(e)?e.host:e}function Jt(t){let e=z(t);return J(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&et(e)?e:Jt(e)}function tt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=S(i);if(r){let c=pt(s);return e.concat(s,s.visualViewport||[],et(i)?i:[],c&&n?tt(c):[])}return e.concat(i,tt(i,[],n))}function pt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function te(t){let e=T(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=B(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=rt(n)!==r||rt(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function St(t){return E(t)?t:t.contextElement}function ot(t){let e=St(t);if(!B(e))return M(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=te(e),s=(r?rt(n.width):n.width)/o,c=(r?rt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var He=M(0);function ee(t){let e=S(t);return!ht()||!e.visualViewport?He:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ve(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==S(t)?!1:e}function Q(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=St(t),s=M(1);e&&(o?E(o)&&(s=ot(o)):s=ot(t));let c=Ve(r,n,o)?ee(r):M(0),l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(r){let m=S(r),f=o&&E(o)?S(o):o,g=m,h=pt(g);for(;h&&o&&f!==g;){let p=ot(h),w=h.getBoundingClientRect(),x=T(h),y=w.left+(h.clientLeft+parseFloat(x.paddingLeft))*p.x,b=w.top+(h.clientTop+parseFloat(x.paddingTop))*p.y;l*=p.x,a*=p.y,d*=p.x,u*=p.y,l+=y,a+=b,g=S(h),h=pt(g)}}return K({width:d,height:u,x:l,y:a})}function Ct(t,e){let n=at(t).scrollLeft;return e?e.left+n:Q(N(t)).left+n}function ne(t,e,n){n===void 0&&(n=!1);let o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Ct(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function _e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=N(o),c=e?lt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=M(1),d=M(0),u=B(o);if((u||!u&&!r)&&((G(o)!=="body"||et(s))&&(l=at(o)),B(o))){let f=Q(o);a=ot(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}let m=s&&!u&&!r?ne(s,l,!0):M(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+d.x+m.x,y:n.y*a.y-l.scrollTop*a.y+d.y+m.y}}function ze(t){return Array.from(t.getClientRects())}function Ue(t){let e=N(t),n=at(t),o=t.ownerDocument.body,i=V(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=V(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+Ct(t),c=-n.scrollTop;return T(o).direction==="rtl"&&(s+=V(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ie(t,e){let n=S(t),o=N(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;let a=ht();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}var je=new Set(["absolute","fixed"]);function Ye(t,e){let n=Q(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=B(t)?ot(t):M(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ie(t,n);else if(e==="document")o=Ue(N(t));else if(E(e))o=Ye(e,n);else{let i=ee(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return K(o)}function oe(t,e){let n=z(t);return n===e||!E(n)||J(n)?!1:T(n).position==="fixed"||oe(n,e)}function Xe(t,e){let n=e.get(t);if(n)return n;let o=tt(t,[],!1).filter(c=>E(c)&&G(c)!=="body"),i=null,r=T(t).position==="fixed",s=r?z(t):t;for(;E(s)&&!J(s);){let c=T(s),l=nt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&je.has(i.position)||et(s)&&!l&&oe(t,s))?o=o.filter(d=>d!==s):i=c,s=z(s)}return e.set(t,o),o}function qe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?lt(e)?[]:Xe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,d)=>{let u=Qt(e,d,i);return a.top=V(u.top,a.top),a.right=j(u.right,a.right),a.bottom=j(u.bottom,a.bottom),a.left=V(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ke(t){let{width:e,height:n}=te(t);return{width:e,height:n}}function Ge(t,e,n){let o=B(e),i=N(e),r=n==="fixed",s=Q(t,!0,r,e),c={scrollLeft:0,scrollTop:0},l=M(0);function a(){l.x=Ct(i)}if(o||!o&&!r)if((G(e)!=="body"||et(i))&&(c=at(e)),o){let f=Q(e,!0,r,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&a();r&&!o&&i&&a();let d=i&&!o&&!r?ne(i,c):M(0),u=s.left+c.scrollLeft-l.x-d.x,m=s.top+c.scrollTop-l.y-d.y;return{x:u,y:m,width:s.width,height:s.height}}function Pt(t){return T(t).position==="static"}function Zt(t,e){if(!B(t)||T(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function ie(t,e){let n=S(t);if(lt(t))return n;if(!B(t)){let i=z(t);for(;i&&!J(i);){if(E(i)&&!Pt(i))return i;i=z(i)}return n}let o=Zt(t,e);for(;o&&Kt(o)&&Pt(o);)o=Zt(o,e);return o&&J(o)&&Pt(o)&&!nt(o)?n:o||Gt(t)||n}var Je=async function(t){let e=this.getOffsetParent||ie,n=this.getDimensions,o=await n(t.floating);return{reference:Ge(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Qe(t){return T(t).direction==="rtl"}var wt={convertOffsetParentRelativeRectToViewportRelativeRect:_e,getDocumentElement:N,getClippingRect:qe,getOffsetParent:ie,getElementRects:Je,getClientRects:ze,getDimensions:Ke,getScale:ot,isElement:E,isRTL:Qe};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ze(t,e){let n=null,o,i=N(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();let a=t.getBoundingClientRect(),{left:d,top:u,width:m,height:f}=a;if(c||e(),!m||!f)return;let g=ct(u),h=ct(i.clientWidth-(d+m)),p=ct(i.clientHeight-(u+f)),w=ct(d),y={rootMargin:-g+"px "+-h+"px "+-p+"px "+-w+"px",threshold:V(0,j(1,l))||1},b=!0;function v(R){let O=R[0].intersectionRatio;if(O!==l){if(!b)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!se(a,t.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(v,y)}n.observe(t)}return s(!0),r}function re(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=St(t),d=i||r?[...a?tt(a):[],...tt(e)]:[];d.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),r&&w.addEventListener("resize",n)});let u=a&&c?Ze(a,n):null,m=-1,f=null;s&&(f=new ResizeObserver(w=>{let[x]=w;x&&x.target===a&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),n()}),a&&!l&&f.observe(a),f.observe(e));let g,h=l?Q(t):null;l&&p();function p(){let w=Q(t);h&&!se(h,w)&&n(),h=w,g=requestAnimationFrame(p)}return n(),()=>{var w;d.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(w=f)==null||w.disconnect(),f=null,l&&cancelAnimationFrame(g)}}var ce=jt,le=zt,ae=Yt,Et=Ut;var fe=It,ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:wt,...n},r={...i.platform,_c:o};return Vt(t,e,{...i,platform:r})};function me(t){return tn(t)}function Tt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function tn(t){for(let e=t;e;e=Tt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Tt(t);e;e=Tt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||nt(n)||e.tagName==="BODY"))return e}return null}(function(){if(!!1){let e=wt.getOffsetParent;wt.getOffsetParent=n=>e(n,me)}})();function ge(t){let e=window.devicePixelRatio||1;return Math.round(t*e)/e}var ye=async(t,{referenceEl:e,floatingEl:n,overlayPositioning:o="absolute",placement:i,flipDisabled:r,flipPlacements:s,offsetDistance:c,offsetSkidding:l,arrowEl:a,type:d})=>{if(!e||!n)return;let u=Lt(n)==="rtl",{x:m,y:f,placement:g,strategy:h,middlewareData:p}=await de(e,n,{strategy:o,placement:i==="auto"||i==="auto-start"||i==="auto-end"?void 0:pe(i,u),middleware:nn({placement:i,flipDisabled:r,flipPlacements:s?.map(b=>pe(b,u)),offsetDistance:c,offsetSkidding:l,arrowEl:a,type:d})});if(a&&p.arrow){let{x:b,y:v}=p.arrow,R=g.split("-")[0],O=b!=null?"left":"top",U=sn[R],C={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout=R==="left"||R==="right"?"horizontal":"vertical"),Object.assign(a.style,{...C,[O]:`${O=="left"?b:v}px`,[R]:"100%",transform:U})}let x=p.hide?.referenceHidden?"hidden":null,y=x?"none":null;n.setAttribute(en,g),Object.assign(n.style,{pointerEvents:y,position:h,transform:`translate(${ge(m)}px,${ge(f)}px)`,visibility:x})},en="data-placement",he=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end","leading","trailing","leading-start","leading-end","trailing-start","trailing-end"],En="bottom-start",Tn="bottom-end",Ln={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function nn({placement:t,flipDisabled:e,flipPlacements:n,offsetDistance:o,offsetSkidding:i,arrowEl:r,type:s}){let c=[ae(),fe()];return s==="menu"&&c.push(Et({fallbackPlacements:n||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})),c.push(ce({mainAxis:typeof o=="number"?o:0,crossAxis:typeof i=="number"?i:0})),t==="auto"||t==="auto-start"||t==="auto-end"?c.push(le({alignment:t==="auto-start"?"start":t==="auto-end"?"end":null})):e||c.push(Et(n?{fallbackPlacements:n}:{})),r&&c.push(ue({element:r})),c}function Dn(t,e){let n=t.filter(o=>he.includes(o));return n.length!==t.length&&console.warn(`${e.tagName}: Invalid value found in: flipPlacements. Try any of these: ${he.map(o=>`"${o}"`).join(", ").trim()}`,{el:e}),n}function pe(t,e=!1){let n=["left","right"];return e&&n.reverse(),t.replace(/leading/gi,n[0]).replace(/trailing/gi,n[1])}async function Fn(t,e,n=!1){if(!t.open||!e.floatingEl||!e.referenceEl)return;if(Object.assign(e.floatingEl.style,{display:"block",position:e.overlayPositioning??"absolute"}),!ft.get(t))return ve(t);await(n?on(t):ye)(t,e)}function on(t){let e=xt.get(t);return e||(e=Dt(ye,yt.reposition,{leading:!0,maxWait:yt.reposition}),xt.set(t,e),e)}var sn={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},ft=new WeakMap,xt=new WeakMap;async function ve(t){let{referenceEl:e,floatingEl:n}=t;if(!n.isConnected)return;let o=re;ft.set(t,{state:"pending"});let i,r=o(e,n,()=>{let s=t.reposition();i||(i=s)});return ft.set(t,{state:"active",cleanUp:r}),i}function rn(t){let{floatingEl:e}=t;e&&Object.assign(e.style,{display:"",pointerEvents:"",position:"",transform:"",visibility:""})}async function Mn(t){let{floatingEl:e,referenceEl:n}=t;if(rn(t),!(!e||!n)&&(cn(t),!!t.open))return ve(t)}function cn(t){let e=ft.get(t);e?.state==="active"&&e.cleanUp(),ft.delete(t),xt.get(t)?.cancel(),xt.delete(t)}var we=4,kn=Math.ceil(Math.hypot(we,we));export{En as a,Tn as b,Ln as c,Dn as d,Fn as e,rn as f,Mn as g,cn as h,kn as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{a as u,b as f}from"./UNKUMC7W.js";import"./5WUJKMVN.js";import{a as h}from"./DJYR3G6K.js";import{a as p}from"./M32NSW3U.js";import"./D7FJQKKH.js";import{u as m}from"./XUMGRQNT.js";import{a as g}from"./CYHDAXVP.js";import"./JJZBJAF4.js";import{E as c,F as t,R as d,c as r,d as i,q as s}from"./LWZ2B3IO.js";var e={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},$={close:"x"},y={thumbnail:"thumbnail"},T=r`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0;border-style:none;padding:0}.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}.header{margin-block-end:.5rem}.header .heading{padding:0;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info--no-thumbnail{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends c{constructor(){super(...arguments),this.messages=p(),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.selected=!1,this.calciteTipDismiss=s({cancelable:!1})}static{this.properties={hasThumbnail:[16,{},{state:!0}],closeDisabled:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],messageOverrides:[0,{},{attribute:!1}],selected:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=T}async load(){g.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(a){this.hasThumbnail=m(a)}renderHeader(){let{heading:a,headingLevel:o,el:b}=this,l=b.closest("calcite-tip-manager")?.headingLevel,v=l?u(l+1):null,x=o||v;return a?i`<header class=${t(e.header)}>${f({class:e.heading,level:x,children:a})}</header>`:null}renderDismissButton(){let{closeDisabled:a,hideTip:o}=this;return a?null:i`<calcite-action class=${t(e.close)} .icon=${$.close} @click=${o} scale=l .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",i`<div class=${t(e.imageFrame)} .hidden=${!this.hasThumbnail}><slot name=${y.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></div>`)}renderInfoNode(){return i`<div class=${t({[e.info]:!0,[e.infoNoThumbnail]:!this.hasThumbnail})}><slot></slot></div>`}renderContent(){return i`<div class=${t(e.content)}>${this.renderImageFrame()}${this.renderInfoNode()}</div>`}render(){return i`<article class=${t(e.container)}>${this.renderHeader()}${this.renderContent()}</article>${this.renderDismissButton()}`}};d("calcite-tip",n);export{n as Tip};
3
+ v3.3.0-next.37 */
4
+ import{a as u,b as f}from"./APBNUYMQ.js";import"./O25QCXMX.js";import{a as h}from"./WBIUY2NK.js";import{a as p}from"./CJUNEQJ2.js";import"./6OGCBUGG.js";import{u as m}from"./2DJGY2AY.js";import{a as g}from"./3WPVBX3N.js";import"./4F2HX73O.js";import{E as c,F as t,R as d,c as r,d as i,q as s}from"./CS5TXGDH.js";var e={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},$={close:"x"},y={thumbnail:"thumbnail"},T=r`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0;border-style:none;padding:0}.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}.header{margin-block-end:.5rem}.header .heading{padding:0;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info--no-thumbnail{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends c{constructor(){super(...arguments),this.messages=p(),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.selected=!1,this.calciteTipDismiss=s({cancelable:!1})}static{this.properties={hasThumbnail:[16,{},{state:!0}],closeDisabled:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],messageOverrides:[0,{},{attribute:!1}],selected:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=T}async load(){g.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(a){this.hasThumbnail=m(a)}renderHeader(){let{heading:a,headingLevel:o,el:b}=this,l=b.closest("calcite-tip-manager")?.headingLevel,v=l?u(l+1):null,x=o||v;return a?i`<header class=${t(e.header)}>${f({class:e.heading,level:x,children:a})}</header>`:null}renderDismissButton(){let{closeDisabled:a,hideTip:o}=this;return a?null:i`<calcite-action class=${t(e.close)} .icon=${$.close} @click=${o} scale=l .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",i`<div class=${t(e.imageFrame)} .hidden=${!this.hasThumbnail}><slot name=${y.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></div>`)}renderInfoNode(){return i`<div class=${t({[e.info]:!0,[e.infoNoThumbnail]:!this.hasThumbnail})}><slot></slot></div>`}renderContent(){return i`<div class=${t(e.content)}>${this.renderImageFrame()}${this.renderInfoNode()}</div>`}render(){return i`<article class=${t(e.container)}>${this.renderHeader()}${this.renderContent()}</article>${this.renderDismissButton()}`}};d("calcite-tip",n);export{n as Tip};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.3.0-next.36 */
4
- import{P as s}from"./LWZ2B3IO.js";var d=new Set,f={trace:0,debug:1,info:2,warn:4,error:8,off:10};function p(e){return f[e]>=f[s]}function r(e,...n){if(!p(e))return;console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...n)}var a,m={debug:e=>r("debug",e),info:e=>r("info",e),warn:e=>r("warn",e),error:e=>r("error",e),trace:e=>r("trace",e),deprecated:$};function $(e,{component:n,name:t,suggested:o,removalVersion:i}){let l=`${e}:${e==="component"?"":n}${t}`;if(d.has(l))return;d.add(l);let c=Array.isArray(o);c&&!a&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let u=`[${t}] ${e} is deprecated and will be removed in ${i==="future"?"a future version":`v${i}`}.${o?` Use ${c?a.format(o.map(g=>`"${g}"`)):`"${o}"`} instead.`:""}`;r("warn",u)}export{m as a};
3
+ v3.3.0-next.37 */
4
+ import{P as s}from"./CS5TXGDH.js";var d=new Set,f={trace:0,debug:1,info:2,warn:4,error:8,off:10};function p(e){return f[e]>=f[s]}function r(e,...n){if(!p(e))return;console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...n)}var a,m={debug:e=>r("debug",e),info:e=>r("info",e),warn:e=>r("warn",e),error:e=>r("error",e),trace:e=>r("trace",e),deprecated:$};function $(e,{component:n,name:t,suggested:o,removalVersion:i}){let l=`${e}:${e==="component"?"":n}${t}`;if(d.has(l))return;d.add(l);let c=Array.isArray(o);c&&!a&&(a=new Intl.ListFormat("en",{style:"long",type:"disjunction"}));let u=`[${t}] ${e} is deprecated and will be removed in ${i==="future"?"a future version":`v${i}`}.${o?` Use ${c?a.format(o.map(g=>`"${g}"`)):`"${o}"`} instead.`:""}`;r("warn",u)}export{m as a};