@arcgis/map-components 5.0.0-next.60 → 5.0.0-next.62

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 (536) hide show
  1. package/dist/cdn/{GT2CQ3HH.js → 25D3I6A2.js} +2 -2
  2. package/dist/cdn/25OOIFXK.js +4 -0
  3. package/dist/cdn/{PBKVAQTX.js → 2LT4C2VT.js} +2 -2
  4. package/dist/cdn/2NFIKF2C.js +4 -0
  5. package/dist/cdn/2OL3Z7ZI.js +4 -0
  6. package/dist/cdn/{2LCZJ7LM.js → 2OMSAUAP.js} +2 -2
  7. package/dist/cdn/{FDZBJHOZ.js → 2Y2QBLZJ.js} +2 -2
  8. package/dist/cdn/32EH4YGK.js +4 -0
  9. package/dist/cdn/{KMCYG6KR.js → 36N4A754.js} +2 -2
  10. package/dist/cdn/37XOKXDC.js +4 -0
  11. package/dist/cdn/3IXGTXJA.js +4 -0
  12. package/dist/cdn/3T2TFPXV.js +4 -0
  13. package/dist/cdn/{VMCQ7VSM.js → 455RRCTA.js} +2 -2
  14. package/dist/cdn/{RVC3I2JK.js → 46AI2ZRH.js} +1 -1
  15. package/dist/cdn/47GKVYP7.js +4 -0
  16. package/dist/cdn/{VSUZMEOA.js → 4GCF6PQN.js} +2 -2
  17. package/dist/cdn/{AX5FS5UN.js → 4LFIPL4L.js} +2 -2
  18. package/dist/cdn/4TOYMFEM.js +4 -0
  19. package/dist/cdn/{CON2DKKW.js → 4XMCBUN3.js} +2 -2
  20. package/dist/cdn/54KPBFUC.js +4 -0
  21. package/dist/cdn/{7XUMQ3UG.js → 55EBXBW2.js} +2 -2
  22. package/dist/cdn/5BMDF7J2.js +4 -0
  23. package/dist/cdn/{QP5LNEZQ.js → 5EDENS4P.js} +2 -2
  24. package/dist/cdn/{WMDU32FK.js → 5MA66CTG.js} +1 -1
  25. package/dist/cdn/{65J5WO42.js → 5QAXRXVD.js} +2 -2
  26. package/dist/cdn/5UNFRC53.js +4 -0
  27. package/dist/cdn/{U2WQWPJ2.js → 5WWCSMVD.js} +2 -2
  28. package/dist/cdn/6FGXWZH6.js +4 -0
  29. package/dist/cdn/6GABIFHM.js +4 -0
  30. package/dist/cdn/{LRTIDLE7.js → 6HD5XTSF.js} +1 -1
  31. package/dist/cdn/{QNWRCLOM.js → 6LY72WHZ.js} +2 -2
  32. package/dist/cdn/{LAUSVJJE.js → 6QBZB2UJ.js} +2 -2
  33. package/dist/cdn/{FM2M5AD3.js → 6RETKSAD.js} +1 -1
  34. package/dist/cdn/{X4RX2SV5.js → 6VUBQCAS.js} +2 -2
  35. package/dist/cdn/{NLFSWDXD.js → 7223SSWG.js} +2 -2
  36. package/dist/cdn/726BV7GE.js +4 -0
  37. package/dist/cdn/76XQJJZI.js +4 -0
  38. package/dist/cdn/{FPLUROKR.js → 7E4QJYQL.js} +2 -2
  39. package/dist/cdn/{3P7BK3SI.js → 7EIJ4NN5.js} +2 -2
  40. package/dist/cdn/{M3KAAQUI.js → 7F4SMZ3T.js} +1 -1
  41. package/dist/cdn/7GEZEK3A.js +4 -0
  42. package/dist/cdn/{LKBEL3KQ.js → 7O5PCIB4.js} +2 -2
  43. package/dist/cdn/{ZJIQGAHJ.js → 7QCPOHXR.js} +2 -2
  44. package/dist/cdn/7QU7UN7V.js +4 -0
  45. package/dist/cdn/{MXV2OMX7.js → 7SWNF2VO.js} +2 -2
  46. package/dist/cdn/{UWQUX3B7.js → A3NQNPH7.js} +1 -1
  47. package/dist/cdn/{4H4N5ESW.js → ABWQA6QK.js} +2 -2
  48. package/dist/cdn/ADJXTUPB.js +4 -0
  49. package/dist/cdn/{TKUZ6ILZ.js → AUZJEDHP.js} +2 -2
  50. package/dist/cdn/{VTBKKM7F.js → AW7OBNB6.js} +2 -2
  51. package/dist/cdn/AWD76WDJ.js +4 -0
  52. package/dist/cdn/{JZXPF7FZ.js → B4SOYBQ2.js} +2 -2
  53. package/dist/cdn/{GUVB6M62.js → B6A4OW6H.js} +1 -1
  54. package/dist/cdn/BATL6STE.js +4 -0
  55. package/dist/cdn/{SSWBFA53.js → BB63SYAH.js} +2 -2
  56. package/dist/cdn/{GFC73ZF7.js → BIJTNSD5.js} +2 -2
  57. package/dist/cdn/BKF775DG.js +4 -0
  58. package/dist/cdn/BM5DAZFN.js +4 -0
  59. package/dist/cdn/BNLB4XRQ.js +4 -0
  60. package/dist/cdn/{XO33YU52.js → BNTV5GJT.js} +2 -2
  61. package/dist/cdn/{YCH22QKU.js → BOW2H56F.js} +2 -2
  62. package/dist/cdn/BTQF6IE4.js +4 -0
  63. package/dist/cdn/{EMM2YXBZ.js → BTWMN7JZ.js} +2 -2
  64. package/dist/cdn/{WXTJPA67.js → C5ZM35VA.js} +2 -2
  65. package/dist/cdn/CDG6MVZY.js +4 -0
  66. package/dist/cdn/{IOUWIYUD.js → CHYPGQQS.js} +2 -2
  67. package/dist/cdn/CKNLERJU.js +4 -0
  68. package/dist/cdn/{QYEIKSTH.js → CYJTXD3M.js} +2 -2
  69. package/dist/cdn/D3HDAFI2.js +4 -0
  70. package/dist/cdn/{FF6MMPO5.js → D4YSID6B.js} +1 -1
  71. package/dist/cdn/D5POCRQA.js +4 -0
  72. package/dist/cdn/DCTYJL27.js +4 -0
  73. package/dist/cdn/{SGBTS435.js → DFT4ADZQ.js} +1 -1
  74. package/dist/cdn/DOYZZR5X.js +4 -0
  75. package/dist/cdn/{7B5YPXQ3.js → DPLW6LXF.js} +2 -2
  76. package/dist/cdn/{U2474QAL.js → DQ52IPKE.js} +2 -2
  77. package/dist/cdn/{GLIG7D5P.js → DWIOHFIH.js} +2 -2
  78. package/dist/cdn/{VDKPLRQY.js → DYLQOM7D.js} +2 -2
  79. package/dist/cdn/{AUF7MVWC.js → EKQZ7TP7.js} +2 -2
  80. package/dist/cdn/EOS2ZHTM.js +4 -0
  81. package/dist/cdn/EP5WFBTV.js +4 -0
  82. package/dist/cdn/{IQ3EZESF.js → ERXAG4EU.js} +2 -2
  83. package/dist/cdn/{J7PVIFUK.js → EUYC2BMJ.js} +2 -2
  84. package/dist/cdn/{BV5DN5CR.js → F5RHWGSI.js} +2 -2
  85. package/dist/cdn/{XXWRP7TN.js → FDAOREHT.js} +2 -2
  86. package/dist/cdn/FEYH72K2.js +4 -0
  87. package/dist/cdn/{7CUAIADO.js → FZ4FSGCH.js} +2 -2
  88. package/dist/cdn/{3XCSQXUA.js → FZQPSD7W.js} +2 -2
  89. package/dist/cdn/{H7D6W54Y.js → G4F6BE7Q.js} +2 -2
  90. package/dist/cdn/{BXBF2FTT.js → GIKBCPDY.js} +2 -2
  91. package/dist/cdn/{4RR25Q2F.js → GJ72UJ7U.js} +2 -2
  92. package/dist/cdn/{JKSULCOM.js → GLOYYDHH.js} +2 -2
  93. package/dist/cdn/GOE3EWYF.js +4 -0
  94. package/dist/cdn/GPGODVVU.js +4 -0
  95. package/dist/cdn/GWSSPDZ3.js +4 -0
  96. package/dist/cdn/{23XXW3XX.js → H2KNVTIH.js} +2 -2
  97. package/dist/cdn/H2PKGG3K.js +4 -0
  98. package/dist/cdn/H444XBDA.js +4 -0
  99. package/dist/cdn/{7ZBFKZ2U.js → H5MB36RG.js} +2 -2
  100. package/dist/cdn/{KJUJ7YOG.js → H7IHWPSB.js} +2 -2
  101. package/dist/cdn/HE3Y7KBW.js +4 -0
  102. package/dist/cdn/{ME7SVEDG.js → HWSKZDJH.js} +2 -2
  103. package/dist/cdn/{J5LCDVYE.js → I34LLMHL.js} +2 -2
  104. package/dist/cdn/I7BP3NBR.js +4 -0
  105. package/dist/cdn/{BZR3WPNP.js → I7DCOHCH.js} +2 -2
  106. package/dist/cdn/IESGXWL7.js +4 -0
  107. package/dist/cdn/IEWQBH3D.js +4 -0
  108. package/dist/cdn/IJCBYTT5.js +4 -0
  109. package/dist/cdn/J6R7WDGC.js +4 -0
  110. package/dist/cdn/{7O5Q2ZMM.js → J7NGE43H.js} +2 -2
  111. package/dist/cdn/JA63VPLL.js +4 -0
  112. package/dist/cdn/{6GXTSJZI.js → JEDJBPRF.js} +2 -2
  113. package/dist/cdn/{753444OO.js → JIUOVCBC.js} +2 -2
  114. package/dist/cdn/JVQ4IZBE.js +4 -0
  115. package/dist/cdn/{3U5KO5V7.js → K4TBKRM4.js} +2 -2
  116. package/dist/cdn/{7PWX7VTX.js → K7PHCSYP.js} +2 -2
  117. package/dist/cdn/K7VEYTEF.js +4 -0
  118. package/dist/cdn/{TYIAMK52.js → KADMEOFB.js} +1 -1
  119. package/dist/cdn/KJ2W4RWL.js +4 -0
  120. package/dist/cdn/{UFNMMEG5.js → KR5GIWXA.js} +2 -2
  121. package/dist/cdn/{S7YLWISM.js → KSK5OAHY.js} +2 -2
  122. package/dist/cdn/{ATKFU76Z.js → KUJS3FED.js} +2 -2
  123. package/dist/cdn/{JYN3VTF4.js → L5UNNHR5.js} +2 -2
  124. package/dist/cdn/{K6MLJLZ2.js → LSBFA65Z.js} +2 -2
  125. package/dist/cdn/M5NSZIGL.js +4 -0
  126. package/dist/cdn/{JJRLF2KL.js → MC5QVFFN.js} +2 -2
  127. package/dist/cdn/MNCEFUNP.js +4 -0
  128. package/dist/cdn/MPA63ZBY.js +4 -0
  129. package/dist/cdn/MPPFEOKD.js +4 -0
  130. package/dist/cdn/{PKG2F5FR.js → MQMRZPN7.js} +2 -2
  131. package/dist/cdn/{LW7J2CWH.js → MVQLDAIB.js} +2 -2
  132. package/dist/cdn/{GYQVWLR6.js → N4GXGGWG.js} +2 -2
  133. package/dist/cdn/{A3KFIAIH.js → NDHFHI2K.js} +2 -2
  134. package/dist/cdn/NHCIYECZ.js +4 -0
  135. package/dist/cdn/{TJZYKPRA.js → NL57VHOO.js} +2 -2
  136. package/dist/cdn/NPPJNTYO.js +4 -0
  137. package/dist/cdn/NPZXWP72.js +4 -0
  138. package/dist/cdn/{H3XX3LXB.js → NQEMJUEL.js} +2 -2
  139. package/dist/cdn/{SLX46C62.js → NUUJHJUN.js} +2 -2
  140. package/dist/cdn/O7DD3BAV.js +4 -0
  141. package/dist/cdn/{EBHBX3FJ.js → OCQY2K7L.js} +2 -2
  142. package/dist/cdn/{IGHJSVOQ.js → ONXEB4RR.js} +1 -1
  143. package/dist/cdn/{QSAT2XS5.js → OQX2ZSYY.js} +2 -2
  144. package/dist/cdn/{JWMVHAAK.js → OSUC7XEU.js} +2 -2
  145. package/dist/cdn/{6XFOUMMD.js → OT5F7SOW.js} +2 -2
  146. package/dist/cdn/{6ZXQ5RFE.js → OZLEVMRI.js} +2 -2
  147. package/dist/cdn/{34PPGHFO.js → P5XU7HYR.js} +2 -2
  148. package/dist/cdn/P6JXRHLE.js +4 -0
  149. package/dist/cdn/{Q4PA5V34.js → PA374XN5.js} +2 -2
  150. package/dist/cdn/{TIBRXO66.js → PA547POX.js} +2 -2
  151. package/dist/cdn/PEEFU4NU.js +5 -0
  152. package/dist/cdn/{BYQ3F7EH.js → PLOZYQUL.js} +2 -2
  153. package/dist/cdn/PO64NH7B.js +4 -0
  154. package/dist/cdn/{4R6AY5OZ.js → PR2S352S.js} +2 -2
  155. package/dist/cdn/PRP6YPZH.js +4 -0
  156. package/dist/cdn/PT6I7LGC.js +4 -0
  157. package/dist/cdn/{IRY2CYGW.js → PTQ7EZUS.js} +2 -2
  158. package/dist/cdn/{WFXHENZG.js → QABNRVIT.js} +2 -2
  159. package/dist/cdn/QIHQ4NUH.js +4 -0
  160. package/dist/cdn/{Q5THBP7L.js → QIXB7IFW.js} +2 -2
  161. package/dist/cdn/{S5T4SWOR.js → QK5UNY6W.js} +2 -2
  162. package/dist/cdn/QKNOGDCN.js +4 -0
  163. package/dist/cdn/QLEA6UWX.js +4 -0
  164. package/dist/cdn/{ULABUSZZ.js → QYOA3MP4.js} +2 -2
  165. package/dist/cdn/R35Y5ZOW.js +4 -0
  166. package/dist/cdn/R7XZMZLA.js +4 -0
  167. package/dist/cdn/{GJXJJCQW.js → RCOFCW7Y.js} +2 -2
  168. package/dist/cdn/{XXWDSFBH.js → RCR3AWMY.js} +2 -2
  169. package/dist/cdn/{ITDAKK2T.js → RDSWPM4H.js} +2 -2
  170. package/dist/cdn/{Q2JAGXGW.js → RH2SDSPB.js} +2 -2
  171. package/dist/cdn/RPIU6QFM.js +4 -0
  172. package/dist/cdn/RXMJ6Z4V.js +4 -0
  173. package/dist/cdn/S3FLDHW5.js +4 -0
  174. package/dist/cdn/{G6NT2BMO.js → S5YFYPTJ.js} +2 -2
  175. package/dist/cdn/SAHP2EO3.js +4 -0
  176. package/dist/cdn/{OERN3FK6.js → SBREAMMS.js} +2 -2
  177. package/dist/cdn/{ILCGUE25.js → SCAE5EOB.js} +1 -1
  178. package/dist/cdn/{3GG7QSTZ.js → SGMD3JA7.js} +2 -2
  179. package/dist/cdn/SIEMGVRH.js +4 -0
  180. package/dist/cdn/SLQ6K3DM.js +4 -0
  181. package/dist/cdn/{GMWZTZZP.js → SNNBRV4I.js} +2 -2
  182. package/dist/cdn/{WAJLNECL.js → SNP3XMWU.js} +2 -2
  183. package/dist/cdn/{GJZJ5LAZ.js → STFFS4UW.js} +2 -2
  184. package/dist/cdn/SWDP2GRD.js +4 -0
  185. package/dist/cdn/TAQ7QCSO.js +4 -0
  186. package/dist/cdn/TBB5LGPL.js +4 -0
  187. package/dist/cdn/{EF76ARPO.js → TDH4BB4O.js} +2 -2
  188. package/dist/cdn/TDJB45CS.js +4 -0
  189. package/dist/cdn/{4SI4KP5X.js → TI3DMMNR.js} +2 -2
  190. package/dist/cdn/TUEZZPIH.js +4 -0
  191. package/dist/cdn/{ETCPTUTC.js → TY7BQJGE.js} +2 -2
  192. package/dist/cdn/U74LSY3S.js +4 -0
  193. package/dist/cdn/{DC7PUH4R.js → UD4XLSX6.js} +2 -2
  194. package/dist/cdn/{MWRI3V26.js → UDTGAL4O.js} +2 -2
  195. package/dist/cdn/{I6ZS7ZLU.js → UG7ODSBG.js} +2 -2
  196. package/dist/cdn/{AXSZPPRK.js → UHQK6K7E.js} +2 -2
  197. package/dist/cdn/{G7ZDX2ND.js → UIUHDZWF.js} +2 -2
  198. package/dist/cdn/UP6FKDCM.js +4 -0
  199. package/dist/cdn/UYGX5YD7.js +4 -0
  200. package/dist/cdn/UYUNJVR4.js +4 -0
  201. package/dist/cdn/{OLQZP3JM.js → UZFSA6S3.js} +2 -2
  202. package/dist/cdn/V2O3JIKN.js +4 -0
  203. package/dist/cdn/V2PQZSTP.js +4 -0
  204. package/dist/cdn/{QVEQKS5Y.js → VAYSXDZO.js} +2 -2
  205. package/dist/cdn/VBV5SURI.js +4 -0
  206. package/dist/cdn/VYGCC52H.js +4 -0
  207. package/dist/cdn/W5NRXHBD.js +9 -0
  208. package/dist/cdn/{XVPOAP2G.js → W7O362AB.js} +2 -2
  209. package/dist/cdn/{GGVLA2KE.js → WDCKWTBV.js} +2 -2
  210. package/dist/cdn/{AXKVT7YY.js → WE6CY6GI.js} +2 -2
  211. package/dist/cdn/{SH55B65A.js → WEIESXWS.js} +1 -1
  212. package/dist/cdn/WJA7WCOB.js +4 -0
  213. package/dist/cdn/{22SN73CX.js → WMQCZGLN.js} +2 -2
  214. package/dist/cdn/WXMHXBGQ.js +4 -0
  215. package/dist/cdn/{5XQKT76I.js → WYBY73ZO.js} +2 -2
  216. package/dist/cdn/{WVA4JG3V.js → XK6HSE77.js} +2 -2
  217. package/dist/cdn/{TAWBYGR7.js → XL76ZT5O.js} +1 -1
  218. package/dist/cdn/XNYJD44N.js +4 -0
  219. package/dist/cdn/XWQWBC3T.js +4 -0
  220. package/dist/cdn/Y6H7X46I.js +4 -0
  221. package/dist/cdn/{VTL73CLY.js → YB6CCGJM.js} +1 -1
  222. package/dist/cdn/{7YSAA3YB.js → YEYO3KUI.js} +2 -2
  223. package/dist/cdn/{Q2ZP2HGE.js → YJVZTXSP.js} +2 -2
  224. package/dist/cdn/{GPODR4DE.js → YOUQ4DCK.js} +2 -2
  225. package/dist/cdn/{E2JQFBJ5.js → YQNMJXKS.js} +2 -2
  226. package/dist/cdn/{36KYB2VL.js → YT4CPODV.js} +2 -2
  227. package/dist/cdn/{7JMTQAYT.js → YYGEZPKW.js} +2 -2
  228. package/dist/cdn/{KPR7IN5X.js → Z4RQ22NW.js} +2 -2
  229. package/dist/cdn/{W62WBKQ7.js → ZC2SCSRN.js} +1 -1
  230. package/dist/cdn/ZD7UMFN6.js +4 -0
  231. package/dist/cdn/ZEEZJGMF.js +4 -0
  232. package/dist/cdn/ZFL6XC33.js +4 -0
  233. package/dist/cdn/{T2K62HCS.js → ZJWPKLOM.js} +2 -2
  234. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -0
  235. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  236. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -0
  237. package/dist/cdn/index.js +2 -2
  238. package/dist/cdn/main.css +1 -1
  239. package/dist/chunks/AnalysisViewModel.js +12 -7
  240. package/dist/chunks/action-utils.js +1 -1
  241. package/dist/chunks/async-utils.js +1 -1
  242. package/dist/chunks/basemap-gallery-resources.js +1 -1
  243. package/dist/chunks/chart-utils.js +1 -1
  244. package/dist/chunks/chartCommon.js +1 -1
  245. package/dist/chunks/component-utils.js +1 -1
  246. package/dist/chunks/constants.js +10 -0
  247. package/dist/chunks/createCloseEvent.js +1 -1
  248. package/dist/chunks/esri-main.js +1 -1
  249. package/dist/chunks/feature-utils.js +1 -1
  250. package/dist/chunks/globalCss.js +1 -1
  251. package/dist/chunks/handle.js +1 -1
  252. package/dist/chunks/heading.js +1 -1
  253. package/dist/chunks/layer-list.js +1 -1
  254. package/dist/chunks/legacyIcon.js +1 -1
  255. package/dist/chunks/maybe.js +1 -1
  256. package/dist/chunks/measurementUtils.js +1 -1
  257. package/dist/chunks/runtime.js +1 -1
  258. package/dist/chunks/screenLocation.js +1 -1
  259. package/dist/chunks/slots.js +1 -1
  260. package/dist/chunks/svgUtils.js +1 -1
  261. package/dist/chunks/time-utils.js +53 -0
  262. package/dist/chunks/univariateUtils.js +1 -1
  263. package/dist/chunks/useArcgisViewReadyError.js +74 -49
  264. package/dist/chunks/useHandles.js +1 -1
  265. package/dist/chunks/useT9n.js +1 -1
  266. package/dist/chunks/useView.js +1 -1
  267. package/dist/chunks/useViewModel.js +1 -1
  268. package/dist/chunks/useWidget.js +1 -1
  269. package/dist/chunks/utils.js +1 -1
  270. package/dist/chunks/utils2.js +1 -1
  271. package/dist/chunks/visible-element.js +1 -1
  272. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  273. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  274. package/dist/components/arcgis-attachments/customElement.js +1 -1
  275. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  276. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  277. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  279. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  280. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  281. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  282. package/dist/components/arcgis-color-select/customElement.js +1 -1
  283. package/dist/components/arcgis-compass/customElement.js +1 -1
  284. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  285. package/dist/components/arcgis-daylight/customElement.js +98 -139
  286. package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
  287. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  288. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  289. package/dist/components/arcgis-directions/customElement.js +1 -1
  290. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  291. package/dist/components/arcgis-editor/customElement.js +1 -1
  292. package/dist/components/arcgis-elevation-profile/ElevationProfileViewModel.d.ts +1 -1
  293. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  294. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  295. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  296. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  297. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  298. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  299. package/dist/components/arcgis-expand/customElement.js +1 -1
  300. package/dist/components/arcgis-feature/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  304. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  306. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  312. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  313. package/dist/components/arcgis-features/customElement.js +1 -1
  314. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  315. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  316. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  317. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  318. package/dist/components/arcgis-home/customElement.js +1 -1
  319. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  320. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  321. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  322. package/dist/components/arcgis-legend/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  331. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  336. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  337. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  338. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  339. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  340. package/dist/components/arcgis-locate/customElement.js +1 -1
  341. package/dist/components/arcgis-map/customElement.js +1 -1
  342. package/dist/components/arcgis-measurement/customElement.js +1 -1
  343. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  344. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  345. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  346. package/dist/components/arcgis-placement/customElement.js +1 -1
  347. package/dist/components/arcgis-popup/customElement.js +1 -1
  348. package/dist/components/arcgis-presentation/customElement.d.ts +24 -0
  349. package/dist/components/arcgis-presentation/customElement.js +27 -0
  350. package/dist/components/arcgis-presentation/index.d.ts +1 -0
  351. package/dist/components/arcgis-presentation/index.js +1 -0
  352. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  353. package/dist/components/arcgis-print/customElement.js +41 -35
  354. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  355. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  356. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  357. package/dist/components/arcgis-print-exports-panel/customElement.js +36 -32
  358. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  359. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +54 -22
  360. package/dist/components/arcgis-print-layout-advanced-options/index.d.ts +2 -0
  361. package/dist/components/arcgis-print-layout-advanced-options/index.js +2 -0
  362. package/dist/components/arcgis-print-layout-panel/customElement.js +2 -2
  363. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  364. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  365. package/dist/components/arcgis-print-map-only-panel/customElement.js +2 -2
  366. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  367. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  368. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  369. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  370. package/dist/components/arcgis-print-template-selector/customElement.js +15 -15
  371. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  372. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  373. package/dist/components/arcgis-scene/customElement.js +1 -1
  374. package/dist/components/arcgis-search/customElement.js +1 -1
  375. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  376. package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +44 -0
  377. package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
  378. package/dist/components/arcgis-shadow-cast/customElement.d.ts +215 -86
  379. package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
  380. package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
  381. package/dist/components/arcgis-shadow-cast/index.js +9 -0
  382. package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
  383. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
  384. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
  385. package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
  386. package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
  387. package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
  388. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
  389. package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
  390. package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
  391. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
  392. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
  393. package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
  394. package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
  395. package/dist/components/arcgis-sketch/customElement.js +1 -1
  396. package/dist/components/arcgis-slice/customElement.js +1 -1
  397. package/dist/components/arcgis-spinner/customElement.js +1 -1
  398. package/dist/components/arcgis-swipe/customElement.js +1 -1
  399. package/dist/components/arcgis-table-list/customElement.js +1 -1
  400. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  401. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  402. package/dist/components/arcgis-track/customElement.js +1 -1
  403. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  404. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  405. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  406. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  407. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  408. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  409. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  410. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  411. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  412. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  413. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  414. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  415. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  416. package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
  417. package/dist/components/arcgis-version-management/customElement.js +2 -2
  418. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  419. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  420. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  421. package/dist/components/arcgis-video/customElement.js +1 -1
  422. package/dist/components/arcgis-video-player/customElement.js +1 -1
  423. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  424. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  425. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  426. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  427. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  428. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  429. package/dist/components/arcgis-volume-measurement/customElement.d.ts +112 -6
  430. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  431. package/dist/components/arcgis-weather/customElement.js +1 -1
  432. package/dist/components/arcgis-zoom/customElement.js +1 -1
  433. package/dist/controllers/uiController.d.ts +2 -1
  434. package/dist/docs/api.json +777 -153
  435. package/dist/docs/docs.json +615 -150
  436. package/dist/docs/vscode.html-custom-data.json +160 -27
  437. package/dist/docs/web-types.json +329 -57
  438. package/dist/index.d.ts +19 -0
  439. package/dist/index.js +1 -1
  440. package/dist/loader.js +6 -2
  441. package/dist/support/AnalysisViewModel.d.ts +2 -2
  442. package/dist/support/time-utils.d.ts +6 -0
  443. package/dist/types/lumina.d.ts +7 -1
  444. package/dist/types/preact.d.ts +8 -1
  445. package/dist/types/preact10.d.ts +9 -1
  446. package/dist/types/react.d.ts +9 -1
  447. package/dist/types/stencil.d.ts +7 -1
  448. package/package.json +3 -3
  449. package/dist/cdn/2RZYFL5R.js +0 -4
  450. package/dist/cdn/2YZ6QJUD.js +0 -4
  451. package/dist/cdn/3DE7CUJQ.js +0 -4
  452. package/dist/cdn/446JT3P3.js +0 -4
  453. package/dist/cdn/4F2D2S6T.js +0 -4
  454. package/dist/cdn/4H2UGOUX.js +0 -4
  455. package/dist/cdn/4IOQ6ZXK.js +0 -5
  456. package/dist/cdn/4KNXSISO.js +0 -4
  457. package/dist/cdn/4TIY7Z2U.js +0 -4
  458. package/dist/cdn/4UN4QCTK.js +0 -4
  459. package/dist/cdn/54BPT4FR.js +0 -4
  460. package/dist/cdn/5OI7JCR6.js +0 -4
  461. package/dist/cdn/5PBEHLYG.js +0 -4
  462. package/dist/cdn/5WOQUXW2.js +0 -4
  463. package/dist/cdn/67FGHI5N.js +0 -4
  464. package/dist/cdn/6CFEML75.js +0 -4
  465. package/dist/cdn/6YB6XZCA.js +0 -4
  466. package/dist/cdn/7BAAZ3KL.js +0 -4
  467. package/dist/cdn/7FJK2DG7.js +0 -4
  468. package/dist/cdn/BMMMUTRA.js +0 -4
  469. package/dist/cdn/CY6JWEGQ.js +0 -4
  470. package/dist/cdn/D33GTAOP.js +0 -4
  471. package/dist/cdn/DAAY2X6G.js +0 -4
  472. package/dist/cdn/DHAIKYXI.js +0 -4
  473. package/dist/cdn/DOPVWON5.js +0 -4
  474. package/dist/cdn/DWJUCAFA.js +0 -4
  475. package/dist/cdn/DXLV6TA6.js +0 -4
  476. package/dist/cdn/EBRUCS2H.js +0 -4
  477. package/dist/cdn/EDYFEOMK.js +0 -4
  478. package/dist/cdn/EE4URIVE.js +0 -4
  479. package/dist/cdn/EFGY3PUV.js +0 -4
  480. package/dist/cdn/EUWLQ72X.js +0 -4
  481. package/dist/cdn/FHX33I6H.js +0 -4
  482. package/dist/cdn/G7F24YMX.js +0 -4
  483. package/dist/cdn/GALIZUYK.js +0 -4
  484. package/dist/cdn/GRB6NIG4.js +0 -4
  485. package/dist/cdn/H3ZJXIOZ.js +0 -4
  486. package/dist/cdn/HF3K3BG2.js +0 -4
  487. package/dist/cdn/HTVFBEGF.js +0 -4
  488. package/dist/cdn/HW7IQPIC.js +0 -4
  489. package/dist/cdn/I45RBRX7.js +0 -4
  490. package/dist/cdn/I54UP3KH.js +0 -4
  491. package/dist/cdn/I5VUPFSB.js +0 -4
  492. package/dist/cdn/IBGKR27B.js +0 -4
  493. package/dist/cdn/ILQSC557.js +0 -4
  494. package/dist/cdn/JA2ZNYCQ.js +0 -4
  495. package/dist/cdn/JLIIDJLK.js +0 -4
  496. package/dist/cdn/JMY2LNPO.js +0 -4
  497. package/dist/cdn/KBFUDIEE.js +0 -4
  498. package/dist/cdn/KIJ6BCCW.js +0 -4
  499. package/dist/cdn/KKL3WWJ5.js +0 -4
  500. package/dist/cdn/L4ILTEMR.js +0 -4
  501. package/dist/cdn/LCGYWYQ2.js +0 -4
  502. package/dist/cdn/LCLFRJWL.js +0 -4
  503. package/dist/cdn/LVZFWZQF.js +0 -4
  504. package/dist/cdn/LXMJ47RA.js +0 -4
  505. package/dist/cdn/M46I3LGU.js +0 -4
  506. package/dist/cdn/OAEHZO6N.js +0 -4
  507. package/dist/cdn/OIEQGEKZ.js +0 -4
  508. package/dist/cdn/P7UQSQ3K.js +0 -4
  509. package/dist/cdn/Q4AQVLLX.js +0 -4
  510. package/dist/cdn/QEQUWJYE.js +0 -4
  511. package/dist/cdn/QG2D36OH.js +0 -4
  512. package/dist/cdn/QHYSFL2X.js +0 -4
  513. package/dist/cdn/QL6XBD3S.js +0 -4
  514. package/dist/cdn/QWEWBEK7.js +0 -4
  515. package/dist/cdn/QZ3WG67T.js +0 -4
  516. package/dist/cdn/RFMBSIRG.js +0 -4
  517. package/dist/cdn/RY2FOWAL.js +0 -4
  518. package/dist/cdn/SVV34IBA.js +0 -4
  519. package/dist/cdn/T35HH7NQ.js +0 -4
  520. package/dist/cdn/TSY4FGQB.js +0 -4
  521. package/dist/cdn/U5LUVPZM.js +0 -4
  522. package/dist/cdn/UJD34VGN.js +0 -9
  523. package/dist/cdn/USB5OTX7.js +0 -4
  524. package/dist/cdn/UZUPD5HF.js +0 -4
  525. package/dist/cdn/V5ZUEKRE.js +0 -4
  526. package/dist/cdn/V7SZATOE.js +0 -4
  527. package/dist/cdn/W62B73QK.js +0 -4
  528. package/dist/cdn/WG3MVZZJ.js +0 -4
  529. package/dist/cdn/YAATK2KM.js +0 -4
  530. package/dist/cdn/YONEIJNH.js +0 -4
  531. package/dist/cdn/YUSMRESW.js +0 -4
  532. package/dist/cdn/YUZNRNKN.js +0 -4
  533. package/dist/cdn/Z55BQ4T5.js +0 -4
  534. package/dist/cdn/Z5UJLPXU.js +0 -4
  535. package/dist/cdn/ZU3YVBF4.js +0 -4
  536. package/dist/cdn/ZZW3SXWK.js +0 -4
package/dist/index.d.ts CHANGED
@@ -39,6 +39,7 @@ import type { ArcgisNavigationToggle } from "./components/arcgis-navigation-togg
39
39
  import type { ArcgisOrientedImageryViewer } from "./components/arcgis-oriented-imagery-viewer";
40
40
  import type { ArcgisPlacement } from "./components/arcgis-placement";
41
41
  import type { ArcgisPopup } from "./components/arcgis-popup";
42
+ import type { ArcgisPresentation } from "./components/arcgis-presentation";
42
43
  import type { ArcgisPrint } from "./components/arcgis-print";
43
44
  import type { ArcgisScaleBar } from "./components/arcgis-scale-bar";
44
45
  import type { ArcgisScaleRangeSlider } from "./components/arcgis-scale-range-slider";
@@ -288,6 +289,11 @@ export interface ArcgisPopupCustomEvent<T> extends CustomEvent<T> {
288
289
  target: HTMLArcgisPopupElement;
289
290
  currentTarget: HTMLArcgisPopupElement;
290
291
  }
292
+ export interface ArcgisPresentationCustomEvent<T> extends CustomEvent<T> {
293
+ detail: T;
294
+ target: HTMLArcgisPresentationElement;
295
+ currentTarget: HTMLArcgisPresentationElement;
296
+ }
291
297
  export interface ArcgisPrintCustomEvent<T> extends CustomEvent<T> {
292
298
  detail: T;
293
299
  target: HTMLArcgisPrintElement;
@@ -484,6 +490,7 @@ declare global {
484
490
  "arcgis-oriented-imagery-viewer": HTMLArcgisOrientedImageryViewerElement;
485
491
  "arcgis-placement": HTMLArcgisPlacementElement;
486
492
  "arcgis-popup": HTMLArcgisPopupElement;
493
+ "arcgis-presentation": HTMLArcgisPresentationElement;
487
494
  "arcgis-print": HTMLArcgisPrintElement;
488
495
  "arcgis-scale-bar": HTMLArcgisScaleBarElement;
489
496
  "arcgis-scale-range-slider": HTMLArcgisScaleRangeSliderElement;
@@ -1122,6 +1129,18 @@ declare global {
1122
1129
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1123
1130
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1124
1131
  }
1132
+ interface HTMLArcgisPresentationElementEventMap {
1133
+ "arcgisReady": ArcgisPresentation["arcgisReady"]["detail"];
1134
+ }
1135
+
1136
+ interface HTMLArcgisPresentationElement extends ArcgisPresentation {
1137
+ addEventListener<K extends keyof HTMLArcgisPresentationElementEventMap>(type: K, listener: (this: HTMLArcgisPresentationElement, ev: ArcgisPresentationCustomEvent<HTMLArcgisPresentationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1138
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1139
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1140
+ removeEventListener<K extends keyof HTMLArcgisPresentationElementEventMap>(type: K, listener: (this: HTMLArcgisPresentationElement, ev: ArcgisPresentationCustomEvent<HTMLArcgisPresentationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1141
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1142
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1143
+ }
1125
1144
  interface HTMLArcgisPrintElementEventMap {
1126
1145
  "arcgisBrowseTemplatesChange": ArcgisPrint["arcgisBrowseTemplatesChange"]["detail"];
1127
1146
  "arcgisComplete": ArcgisPrint["arcgisComplete"]["detail"];
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s, g as t } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
- v5.0.0-next.60 */
4
+ v5.0.0-next.62 */
5
5
  const a = s, A = t;
6
6
  export {
7
7
  A as getArcgisAssetPath,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.60 */
5
+ v5.0.0-next.62 */
6
6
  const o = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:,view:;clear,destroy,start"],
@@ -74,6 +74,7 @@ const o = t(e, {
74
74
  "arcgis-oriented-imagery-viewer": [() => import("./components/arcgis-oriented-imagery-viewer/customElement.js"), "autoDestroyDisabled,currentCoverageVisible,dataCaptureEnabled,disabled,galleryOpened,icon,imageEnhancementToolActive,imageGalleryEnabled:,imageOverlaysOpened,isAdditionalCoverageVisible,isAdditionalPointSourcesVisible,label,layer:,mapImageConversionToolState,navigationToolActive,orientedImageryLayerItemId,position,referenceElement,referencePoint:,view:;destroy"],
75
75
  "arcgis-placement": [() => import("./components/arcgis-placement/customElement.js"), "position,referenceElement,view:"],
76
76
  "arcgis-popup": [() => import("./components/arcgis-popup/customElement.js"), "actions:,active:,alignment,autoCloseEnabled,autoDestroyDisabled,collapsed:,content,currentAlignment:,currentDockPosition:,defaultPopupTemplateEnabled,dockEnabled,dockOptions:,featureCount:,featureMenuOpen,features:,goToOverride:,heading,headingLevel,hideActionBar,hideCloseButton,hideCollapseButton,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideHeading,hideSpinner,highlightDisabled,includeDefaultActionsDisabled,initialDisplayMode,label,location:,messageOverrides:,promises:,referenceElement,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,state,updateLocationEnabled,view:,visible;clear,destroy,fetchFeatures,handleViewClick,next,open,previous,setFocus,triggerAction"],
77
+ "arcgis-presentation": [() => import("./components/arcgis-presentation/customElement.js"), "view:"],
77
78
  "arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedFormatsForSaving,allowedLayouts,autoDestroyDisabled,autoPopulateAuthor,excludeDefaultTemplates,excludeOrganizationTemplates,exportedLinks:,extraParameters,headingLevel,hideAdvancedOptions,hideHeader,icon,label,messageOverrides:,outSpatialReference:,portal:,position,printServiceUrl,referenceElement,showPrintAreaEnabled,showSaveAs,state,templateCustomTextElements:,templateOptions:,view:;addPortalTemplate,destroy"],
78
79
  "arcgis-print-custom-text-elements": [() => import("./components/arcgis-print-custom-text-elements/customElement.js"), "viewModel:"],
79
80
  "arcgis-print-dpi-input": [() => import("./components/arcgis-print-dpi-input/customElement.js"), "messages:,viewModel:"],
@@ -95,7 +96,10 @@ const o = t(e, {
95
96
  "arcgis-scene": [() => import("./components/arcgis-scene/customElement.js"), "allLayerViews:,alphaCompositingEnabled,analyses:,animationsDisabled,aria:,attributionItems:,autoDestroyDisabled,basemap,basemapView:,camera:,cameraFov,cameraHeading,cameraPosition,cameraTilt,center,clippingArea:,constraints:,displayFilterDisabled,environment:,extent:,fatalError:,floors:,focusAreas:,gamepad:,graphics:,ground,groundView:,highlightOptions:,highlights:,interacting:,itemId,layerViews:,loadErrorSources:,magnifier:,map:,navigating:,navigation:,padding:,performanceInfo:,popup:,popupDisabled,qualityProfile,ready:,resolution:,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,updating:,view:,viewingMode,viewpoint:,visibleArea:,zoom;addLayer,addLayers,addTable,addTables,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,viewOnReady,whenAnalysisView,whenLayerView;toMap,toScreen"],
96
97
  "arcgis-search": [() => import("./components/arcgis-search/customElement.js"), "activeMenu,activeSource:,activeSourceIndex,allPlaceholder,allSources:,autoDestroyDisabled,autoNavigateDisabled,autoSelectDisabled,defaultSources:,disabled,goToOverride:,icon,includeDefaultSourcesDisabled,label,locationDisabled,maxResults,maxSuggestions,messageOverrides:,minSuggestCharacters,popupDisabled,popupTemplate:,portal:,position,referenceElement,resultGraphic:,resultGraphicDisabled,results:,searchAllDisabled,searchTerm,selectedResult:,sources:,state,suggestions:,suggestionsDisabled,view:;destroy,search,setFocus,suggest;clear"],
97
98
  "arcgis-search-result-renderer": [() => import("./components/arcgis-search-result-renderer/customElement.js"), "autoDestroyDisabled,messages:,viewModel:;destroy"],
98
- "arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "autoDestroyDisabled,date,discreteOptions:,durationOptions:,endTimeOfDay,headingLevel,hideColorPicker,hideDatePicker,hideThresholdContext,hideThresholdContextColor,hideThresholdContextTimeInterval,hideThresholdContextToggle,hideTimeRangeSlider,hideTimezone,hideTooltip,hideVisualizationOptions,icon,label,position,referenceElement,startTimeOfDay,state,thresholdOptions:,utcOffset,view:,visualizationType;destroy,getDuration,start,stop"],
99
+ "arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "analysis:,autoDestroyDisabled,date,discreteColor:,discreteInterval,durationColor:,durationMode,endTimeOfDay,headingLevel,hideDatePicker,hideDiscreteColorPicker,hideDiscreteInterval,hideDiscreteOptions,hideDurationColorPicker,hideDurationModeSelect,hideDurationOptions,hideShadowDurationTooltip,hideThresholdColorPicker,hideThresholdContextColorPicker,hideThresholdContextInterval,hideThresholdContextOptions,hideThresholdContextToggle,hideThresholdOptions,hideThresholdSlider,hideTimeRangeSlider,hideTimezone,hideVisualization,hideVisualizationOptions,icon,label,maxThreshold,minThreshold,mode,position,referenceElement,startTimeOfDay,state,threshold,thresholdColor:,thresholdContextColor:,thresholdContextEnabled,thresholdContextInterval,utcOffset,view:;destroy,getDurationAtScreen"],
100
+ "arcgis-shadow-cast-discrete-config": [() => import("./components/arcgis-shadow-cast-discrete-config/customElement.js"), "hideColorPicker,hideInterval,messages:,options:,scale"],
101
+ "arcgis-shadow-cast-duration-config": [() => import("./components/arcgis-shadow-cast-duration-config/customElement.js"), "hideColorPicker,hideModeSelect,messages:,options:,scale"],
102
+ "arcgis-shadow-cast-threshold-config": [() => import("./components/arcgis-shadow-cast-threshold-config/customElement.js"), "hideColorPicker,hideContextColorPicker,hideContextInterval,hideContextOptions,hideContextToggle,hideSlider,maxThreshold,messages:,minThreshold,options:,scale"],
99
103
  "arcgis-sketch": [() => import("./components/arcgis-sketch/customElement.js"), "activeTool,autoDestroyDisabled,availableCreateTools:,createGraphic:,creationMode,defaultCreateOptions:,defaultGraphicsLayerDisabled,defaultUpdateOptions:,hideCreateToolsCircle,hideCreateToolsMultipoint,hideCreateToolsPoint,hideCreateToolsPolygon,hideCreateToolsPolyline,hideCreateToolsRectangle,hideDeleteButton,hideDuplicateButton,hideLabelsToggle,hideSelectionCountLabel,hideSelectionToolsLassoSelection,hideSelectionToolsRectangleSelection,hideSettingsMenu,hideSnappingControls,hideSnappingControlsElementsEnabledToggle,hideSnappingControlsElementsFeatureEnabledToggle,hideSnappingControlsElementsLayerList,hideSnappingControlsElementsSelfEnabledToggle,hideTooltipsToggle,hideUndoRedoMenu,icon,label,labelOptions:,layer:,layout,pointSymbol:,polygonSymbol:,polylineSymbol:,position,referenceElement,scale,showCreateToolsFreehandPolygon,showCreateToolsFreehandPolyline,showSnappingControlsElementsHeader,snappingOptions:,state,textSymbol:,toolbarKind,tooltipOptions:,updateGraphics:,view:;cancel,complete,create,delete,destroy,duplicate,redo,triggerUpdate,undo"],
100
104
  "arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,headingLevel,icon,label,messageOverrides:,position,referenceElement,shape:,state,tiltEnabled,view:;clear,destroy,start"],
101
105
  "arcgis-spinner": [() => import("./components/arcgis-spinner/customElement.js"), "autoDestroyDisabled,label,location:,screenLocation:,trackLocation,view:;destroy"],
@@ -62,7 +62,7 @@ export declare abstract class AnalysisViewModel<IViewType extends MapView | Scen
62
62
  * Removes the tool and clears the analysis by resetting its inputs.
63
63
  */
64
64
  clear(): void;
65
- protected abstract place(options?: {
65
+ protected place(_options?: {
66
66
  signal?: AbortSignal;
67
67
  }): Promise<void>;
68
68
  /**
@@ -75,7 +75,7 @@ export declare abstract class AnalysisViewModel<IViewType extends MapView | Scen
75
75
  clear?: boolean;
76
76
  }): Promise<void>;
77
77
  stop(): void;
78
- protected abstract clearAnalysis(): void;
78
+ protected clearAnalysis(): void;
79
79
  /**
80
80
  * A callback used by view models that manage an analysis belonging to an Layer.
81
81
  *
@@ -1,3 +1,6 @@
1
+ import { default as SunLighting } from '@arcgis/core/views/3d/environment/SunLighting';
2
+ import { default as VirtualLighting } from '@arcgis/core/views/3d/environment/VirtualLighting';
3
+ import { default as SceneView } from '@arcgis/core/views/SceneView';
1
4
  export type TimeUnit = "centuries" | "days" | "decades" | "hours" | "milliseconds" | "minutes" | "months" | "seconds" | "weeks" | "years";
2
5
  export type IANATimeZone = NonNullable<Intl.DateTimeFormatOptions["timeZone"]>;
3
6
  type SystemTimeZone = "system";
@@ -34,4 +37,7 @@ export declare function utcToLocalParts(utcDate: Date, offsetHours: number): {
34
37
  localDate: string;
35
38
  minutesSinceMidnight: number;
36
39
  };
40
+ export declare function getLocalDate(view: nullish | SceneView): string | undefined;
41
+ export type LightingUnion = SunLighting | VirtualLighting;
42
+ export declare function isSunlighting(lighting: LightingUnion | nullish): lighting is SunLighting;
37
43
  export {};
@@ -40,6 +40,7 @@ import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-tog
40
40
  import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer";
41
41
  import type { ArcgisPlacement } from "../components/arcgis-placement";
42
42
  import type { ArcgisPopup } from "../components/arcgis-popup";
43
+ import type { ArcgisPresentation } from "../components/arcgis-presentation";
43
44
  import type { ArcgisPrint } from "../components/arcgis-print";
44
45
  import type { ArcgisScaleBar } from "../components/arcgis-scale-bar";
45
46
  import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider";
@@ -356,6 +357,10 @@ interface LuminaArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
356
357
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
357
358
  }
358
359
 
360
+ interface LuminaArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'view'>>, h.JSX.HTMLAttributes<HTMLArcgisPresentationElement> {
361
+ onarcgisReady?: EventHandler<HTMLArcgisPresentationElement["arcgisReady"]>;
362
+ }
363
+
359
364
  interface LuminaArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisPrintElement> {
360
365
  onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
361
366
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
@@ -418,7 +423,7 @@ interface LuminaArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
418
423
  onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
419
424
  }
420
425
 
421
- interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'view' | 'visualizationType'>>, ArcgisShadowCastSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisShadowCastElement> {
426
+ interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'analysis' | 'autoDestroyDisabled' | 'discreteColor' | 'discreteInterval' | 'durationColor' | 'durationMode' | 'endTimeOfDay' | 'headingLevel' | 'hideDatePicker' | 'hideDiscreteColorPicker' | 'hideDiscreteInterval' | 'hideDiscreteOptions' | 'hideDurationColorPicker' | 'hideDurationModeSelect' | 'hideDurationOptions' | 'hideShadowDurationTooltip' | 'hideThresholdColorPicker' | 'hideThresholdContextColorPicker' | 'hideThresholdContextInterval' | 'hideThresholdContextOptions' | 'hideThresholdContextToggle' | 'hideThresholdOptions' | 'hideThresholdSlider' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideVisualization' | 'hideVisualizationOptions' | 'icon' | 'label' | 'maxThreshold' | 'minThreshold' | 'mode' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'state' | 'threshold' | 'thresholdColor' | 'thresholdContextColor' | 'thresholdContextEnabled' | 'thresholdContextInterval' | 'utcOffset' | 'view'>>, ArcgisShadowCastSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisShadowCastElement> {
422
427
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
423
428
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
424
429
  }
@@ -610,6 +615,7 @@ declare module "@arcgis/lumina" {
610
615
  "arcgis-oriented-imagery-viewer": LuminaArcgisOrientedImageryViewer;
611
616
  "arcgis-placement": LuminaArcgisPlacement;
612
617
  "arcgis-popup": LuminaArcgisPopup;
618
+ "arcgis-presentation": LuminaArcgisPresentation;
613
619
  "arcgis-print": LuminaArcgisPrint;
614
620
  "arcgis-scale-bar": LuminaArcgisScaleBar;
615
621
  "arcgis-scale-range-slider": LuminaArcgisScaleRangeSlider;
@@ -40,6 +40,7 @@ import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-tog
40
40
  import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer";
41
41
  import type { ArcgisPlacement } from "../components/arcgis-placement";
42
42
  import type { ArcgisPopup } from "../components/arcgis-popup";
43
+ import type { ArcgisPresentation } from "../components/arcgis-presentation";
43
44
  import type { ArcgisPrint } from "../components/arcgis-print";
44
45
  import type { ArcgisScaleBar } from "../components/arcgis-scale-bar";
45
46
  import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider";
@@ -357,6 +358,10 @@ interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
357
358
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
358
359
  }
359
360
 
361
+ interface PreactArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'view'>>, HTMLAttributes<HTMLArcgisPresentationElement> {
362
+ onarcgisReady?: EventHandler<HTMLArcgisPresentationElement["arcgisReady"]>;
363
+ }
364
+
360
365
  interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, HTMLAttributes<HTMLArcgisPrintElement> {
361
366
  onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
362
367
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
@@ -419,7 +424,7 @@ interface PreactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
419
424
  onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
420
425
  }
421
426
 
422
- interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'view' | 'visualizationType'>>, ArcgisShadowCastSetterTypes, HTMLAttributes<HTMLArcgisShadowCastElement> {
427
+ interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'analysis' | 'autoDestroyDisabled' | 'discreteColor' | 'discreteInterval' | 'durationColor' | 'durationMode' | 'endTimeOfDay' | 'headingLevel' | 'hideDatePicker' | 'hideDiscreteColorPicker' | 'hideDiscreteInterval' | 'hideDiscreteOptions' | 'hideDurationColorPicker' | 'hideDurationModeSelect' | 'hideDurationOptions' | 'hideShadowDurationTooltip' | 'hideThresholdColorPicker' | 'hideThresholdContextColorPicker' | 'hideThresholdContextInterval' | 'hideThresholdContextOptions' | 'hideThresholdContextToggle' | 'hideThresholdOptions' | 'hideThresholdSlider' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideVisualization' | 'hideVisualizationOptions' | 'icon' | 'label' | 'maxThreshold' | 'minThreshold' | 'mode' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'state' | 'threshold' | 'thresholdColor' | 'thresholdContextColor' | 'thresholdContextEnabled' | 'thresholdContextInterval' | 'utcOffset' | 'view'>>, ArcgisShadowCastSetterTypes, HTMLAttributes<HTMLArcgisShadowCastElement> {
423
428
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
424
429
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
425
430
  }
@@ -611,6 +616,7 @@ declare module 'preact' {
611
616
  "arcgis-oriented-imagery-viewer": PreactArcgisOrientedImageryViewer;
612
617
  "arcgis-placement": PreactArcgisPlacement;
613
618
  "arcgis-popup": PreactArcgisPopup;
619
+ "arcgis-presentation": PreactArcgisPresentation;
614
620
  "arcgis-print": PreactArcgisPrint;
615
621
  "arcgis-scale-bar": PreactArcgisScaleBar;
616
622
  "arcgis-scale-range-slider": PreactArcgisScaleRangeSlider;
@@ -688,6 +694,7 @@ declare module 'preact' {
688
694
  "arcgis-oriented-imagery-viewer": PreactArcgisOrientedImageryViewer;
689
695
  "arcgis-placement": PreactArcgisPlacement;
690
696
  "arcgis-popup": PreactArcgisPopup;
697
+ "arcgis-presentation": PreactArcgisPresentation;
691
698
  "arcgis-print": PreactArcgisPrint;
692
699
  "arcgis-scale-bar": PreactArcgisScaleBar;
693
700
  "arcgis-scale-range-slider": PreactArcgisScaleRangeSlider;
@@ -40,6 +40,7 @@ import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-tog
40
40
  import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer";
41
41
  import type { ArcgisPlacement } from "../components/arcgis-placement";
42
42
  import type { ArcgisPopup } from "../components/arcgis-popup";
43
+ import type { ArcgisPresentation } from "../components/arcgis-presentation";
43
44
  import type { ArcgisPrint } from "../components/arcgis-print";
44
45
  import type { ArcgisScaleBar } from "../components/arcgis-scale-bar";
45
46
  import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider";
@@ -398,6 +399,11 @@ interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'align
398
399
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
399
400
  }
400
401
 
402
+ /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
403
+ interface PreactArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'view'>>, PreactJsx.HTMLAttributes<HTMLArcgisPresentationElement> {
404
+ onarcgisReady?: EventHandler<HTMLArcgisPresentationElement["arcgisReady"]>;
405
+ }
406
+
401
407
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
402
408
  interface PreactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisPrintElement> {
403
409
  onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
@@ -467,7 +473,7 @@ interface PreactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
467
473
  }
468
474
 
469
475
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
470
- interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'view' | 'visualizationType'>>, ArcgisShadowCastSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
476
+ interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'analysis' | 'autoDestroyDisabled' | 'discreteColor' | 'discreteInterval' | 'durationColor' | 'durationMode' | 'endTimeOfDay' | 'headingLevel' | 'hideDatePicker' | 'hideDiscreteColorPicker' | 'hideDiscreteInterval' | 'hideDiscreteOptions' | 'hideDurationColorPicker' | 'hideDurationModeSelect' | 'hideDurationOptions' | 'hideShadowDurationTooltip' | 'hideThresholdColorPicker' | 'hideThresholdContextColorPicker' | 'hideThresholdContextInterval' | 'hideThresholdContextOptions' | 'hideThresholdContextToggle' | 'hideThresholdOptions' | 'hideThresholdSlider' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideVisualization' | 'hideVisualizationOptions' | 'icon' | 'label' | 'maxThreshold' | 'minThreshold' | 'mode' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'state' | 'threshold' | 'thresholdColor' | 'thresholdContextColor' | 'thresholdContextEnabled' | 'thresholdContextInterval' | 'utcOffset' | 'view'>>, ArcgisShadowCastSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
471
477
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
472
478
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
473
479
  }
@@ -684,6 +690,7 @@ declare module 'preact' {
684
690
  "arcgis-oriented-imagery-viewer": PreactArcgisOrientedImageryViewer;
685
691
  "arcgis-placement": PreactArcgisPlacement;
686
692
  "arcgis-popup": PreactArcgisPopup;
693
+ "arcgis-presentation": PreactArcgisPresentation;
687
694
  "arcgis-print": PreactArcgisPrint;
688
695
  "arcgis-scale-bar": PreactArcgisScaleBar;
689
696
  "arcgis-scale-range-slider": PreactArcgisScaleRangeSlider;
@@ -761,6 +768,7 @@ declare module 'preact' {
761
768
  "arcgis-oriented-imagery-viewer": PreactArcgisOrientedImageryViewer;
762
769
  "arcgis-placement": PreactArcgisPlacement;
763
770
  "arcgis-popup": PreactArcgisPopup;
771
+ "arcgis-presentation": PreactArcgisPresentation;
764
772
  "arcgis-print": PreactArcgisPrint;
765
773
  "arcgis-scale-bar": PreactArcgisScaleBar;
766
774
  "arcgis-scale-range-slider": PreactArcgisScaleRangeSlider;
@@ -40,6 +40,7 @@ import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-tog
40
40
  import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer";
41
41
  import type { ArcgisPlacement } from "../components/arcgis-placement";
42
42
  import type { ArcgisPopup } from "../components/arcgis-popup";
43
+ import type { ArcgisPresentation } from "../components/arcgis-presentation";
43
44
  import type { ArcgisPrint } from "../components/arcgis-print";
44
45
  import type { ArcgisScaleBar } from "../components/arcgis-scale-bar";
45
46
  import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider";
@@ -357,6 +358,10 @@ interface ReactArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alignm
357
358
  onarcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
358
359
  }
359
360
 
361
+ interface ReactArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'view'>>, HTMLProps<HTMLArcgisPresentationElement> {
362
+ onarcgisReady?: EventHandler<HTMLArcgisPresentationElement["arcgisReady"]>;
363
+ }
364
+
360
365
  interface ReactArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, HTMLProps<HTMLArcgisPrintElement> {
361
366
  onarcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
362
367
  onarcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
@@ -419,7 +424,7 @@ interface ReactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResul
419
424
  onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
420
425
  }
421
426
 
422
- interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'view' | 'visualizationType'>>, ArcgisShadowCastSetterTypes, HTMLProps<HTMLArcgisShadowCastElement> {
427
+ interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'analysis' | 'autoDestroyDisabled' | 'discreteColor' | 'discreteInterval' | 'durationColor' | 'durationMode' | 'endTimeOfDay' | 'headingLevel' | 'hideDatePicker' | 'hideDiscreteColorPicker' | 'hideDiscreteInterval' | 'hideDiscreteOptions' | 'hideDurationColorPicker' | 'hideDurationModeSelect' | 'hideDurationOptions' | 'hideShadowDurationTooltip' | 'hideThresholdColorPicker' | 'hideThresholdContextColorPicker' | 'hideThresholdContextInterval' | 'hideThresholdContextOptions' | 'hideThresholdContextToggle' | 'hideThresholdOptions' | 'hideThresholdSlider' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideVisualization' | 'hideVisualizationOptions' | 'icon' | 'label' | 'maxThreshold' | 'minThreshold' | 'mode' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'state' | 'threshold' | 'thresholdColor' | 'thresholdContextColor' | 'thresholdContextEnabled' | 'thresholdContextInterval' | 'utcOffset' | 'view'>>, ArcgisShadowCastSetterTypes, HTMLProps<HTMLArcgisShadowCastElement> {
423
428
  onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
424
429
  onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
425
430
  }
@@ -611,6 +616,7 @@ declare module "react" {
611
616
  "arcgis-oriented-imagery-viewer": ReactArcgisOrientedImageryViewer;
612
617
  "arcgis-placement": ReactArcgisPlacement;
613
618
  "arcgis-popup": ReactArcgisPopup;
619
+ "arcgis-presentation": ReactArcgisPresentation;
614
620
  "arcgis-print": ReactArcgisPrint;
615
621
  "arcgis-scale-bar": ReactArcgisScaleBar;
616
622
  "arcgis-scale-range-slider": ReactArcgisScaleRangeSlider;
@@ -690,6 +696,7 @@ declare module "react/jsx-runtime" {
690
696
  "arcgis-oriented-imagery-viewer": ReactArcgisOrientedImageryViewer;
691
697
  "arcgis-placement": ReactArcgisPlacement;
692
698
  "arcgis-popup": ReactArcgisPopup;
699
+ "arcgis-presentation": ReactArcgisPresentation;
693
700
  "arcgis-print": ReactArcgisPrint;
694
701
  "arcgis-scale-bar": ReactArcgisScaleBar;
695
702
  "arcgis-scale-range-slider": ReactArcgisScaleRangeSlider;
@@ -769,6 +776,7 @@ declare module "react/jsx-dev-runtime" {
769
776
  "arcgis-oriented-imagery-viewer": ReactArcgisOrientedImageryViewer;
770
777
  "arcgis-placement": ReactArcgisPlacement;
771
778
  "arcgis-popup": ReactArcgisPopup;
779
+ "arcgis-presentation": ReactArcgisPresentation;
772
780
  "arcgis-print": ReactArcgisPrint;
773
781
  "arcgis-scale-bar": ReactArcgisScaleBar;
774
782
  "arcgis-scale-range-slider": ReactArcgisScaleRangeSlider;
@@ -40,6 +40,7 @@ import type { ArcgisNavigationToggle } from "../components/arcgis-navigation-tog
40
40
  import type { ArcgisOrientedImageryViewer } from "../components/arcgis-oriented-imagery-viewer";
41
41
  import type { ArcgisPlacement } from "../components/arcgis-placement";
42
42
  import type { ArcgisPopup } from "../components/arcgis-popup";
43
+ import type { ArcgisPresentation } from "../components/arcgis-presentation";
43
44
  import type { ArcgisPrint } from "../components/arcgis-print";
44
45
  import type { ArcgisScaleBar } from "../components/arcgis-scale-bar";
45
46
  import type { ArcgisScaleRangeSlider } from "../components/arcgis-scale-range-slider";
@@ -357,6 +358,10 @@ interface StencilArcgisPopup extends Partial<Pick<ArcgisPopup, 'actions' | 'alig
357
358
  onArcgisTriggerAction?: EventHandler<HTMLArcgisPopupElement["arcgisTriggerAction"]>;
358
359
  }
359
360
 
361
+ interface StencilArcgisPresentation extends Partial<Pick<ArcgisPresentation, 'view'>>, StencilJsx.HTMLAttributes<HTMLArcgisPresentationElement> {
362
+ onArcgisReady?: EventHandler<HTMLArcgisPresentationElement["arcgisReady"]>;
363
+ }
364
+
360
365
  interface StencilArcgisPrint extends Partial<Pick<ArcgisPrint, 'allowedFormats' | 'allowedFormatsForSaving' | 'allowedLayouts' | 'autoDestroyDisabled' | 'autoPopulateAuthor' | 'excludeDefaultTemplates' | 'excludeOrganizationTemplates' | 'exportedLinks' | 'extraParameters' | 'headingLevel' | 'hideAdvancedOptions' | 'hideHeader' | 'icon' | 'label' | 'messageOverrides' | 'outSpatialReference' | 'portal' | 'position' | 'printServiceUrl' | 'referenceElement' | 'showPrintAreaEnabled' | 'showSaveAs' | 'templateCustomTextElements' | 'view'>>, ArcgisPrintSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisPrintElement> {
361
366
  onArcgisBrowseTemplatesChange?: EventHandler<HTMLArcgisPrintElement["arcgisBrowseTemplatesChange"]>;
362
367
  onArcgisComplete?: EventHandler<HTMLArcgisPrintElement["arcgisComplete"]>;
@@ -419,7 +424,7 @@ interface StencilArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchRes
419
424
  onArcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
420
425
  }
421
426
 
422
- interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'view' | 'visualizationType'>>, ArcgisShadowCastSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
427
+ interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'analysis' | 'autoDestroyDisabled' | 'discreteColor' | 'discreteInterval' | 'durationColor' | 'durationMode' | 'endTimeOfDay' | 'headingLevel' | 'hideDatePicker' | 'hideDiscreteColorPicker' | 'hideDiscreteInterval' | 'hideDiscreteOptions' | 'hideDurationColorPicker' | 'hideDurationModeSelect' | 'hideDurationOptions' | 'hideShadowDurationTooltip' | 'hideThresholdColorPicker' | 'hideThresholdContextColorPicker' | 'hideThresholdContextInterval' | 'hideThresholdContextOptions' | 'hideThresholdContextToggle' | 'hideThresholdOptions' | 'hideThresholdSlider' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideVisualization' | 'hideVisualizationOptions' | 'icon' | 'label' | 'maxThreshold' | 'minThreshold' | 'mode' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'state' | 'threshold' | 'thresholdColor' | 'thresholdContextColor' | 'thresholdContextEnabled' | 'thresholdContextInterval' | 'utcOffset' | 'view'>>, ArcgisShadowCastSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
423
428
  onArcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
424
429
  onArcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
425
430
  }
@@ -609,6 +614,7 @@ interface ExposedElements {
609
614
  "arcgis-oriented-imagery-viewer": StencilArcgisOrientedImageryViewer;
610
615
  "arcgis-placement": StencilArcgisPlacement;
611
616
  "arcgis-popup": StencilArcgisPopup;
617
+ "arcgis-presentation": StencilArcgisPresentation;
612
618
  "arcgis-print": StencilArcgisPrint;
613
619
  "arcgis-scale-bar": StencilArcgisScaleBar;
614
620
  "arcgis-scale-range-slider": StencilArcgisScaleRangeSlider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.0.0-next.60",
3
+ "version": "5.0.0-next.62",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -43,8 +43,8 @@
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
45
  "@amcharts/amcharts5": "~5.14.4",
46
- "@arcgis/lumina": "5.0.0-next.60",
47
- "@arcgis/toolkit": "5.0.0-next.60",
46
+ "@arcgis/lumina": "5.0.0-next.62",
47
+ "@arcgis/toolkit": "5.0.0-next.62",
48
48
  "lit": "^3.3.0",
49
49
  "tslib": "^2.8.1"
50
50
  },
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.60 */
4
- import e from"./2LCZJ7LM.js";import{a as v}from"./KJUJ7YOG.js";import{a as _}from"./ILCGUE25.js";import b from"./Q5THBP7L.js";import a from"./U2WQWPJ2.js";import{g as m}from"./LVZFWZQF.js";import"./W62WBKQ7.js";import{b as g}from"./GUVB6M62.js";import{G as l,H as n,I as h,J as c,O as u,a as d,b as i,s}from"./VTL73CLY.js";import"./SGBTS435.js";export default $arcgis.t(([p,{watch:t},,,f])=>{var w=d`:host{--arcgis-video-player-controls-spacing: 16px;width:531px;height:100%}.arcgis-video-player{height:100%}arcgis-video{display:flex;flex:1 1 auto;aspect-ratio:16 / 9;min-height:0}`,V={base:"arcgis-video-player"},M=f(p),a=class extends h{constructor(){super(...arguments),this.messages=v({blocking:!0}),this.viewModel=M(this),this._videoViewRef=l(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.view=this.viewModel.view,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5,view:0}}static{this.styles=w}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:o,duration:r,ended:y}=this.viewModel;this._duration=r,this._currentTime=o,this._bufferedValue=e/(r||1),this._currentValue=o/(r||1),this._isBuffering=!y&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${c(g(V.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${n(this._videoViewRef)}></arcgis-video>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",a);return a},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.60 */
4
- import{a as f}from"./KJUJ7YOG.js";import b from"./U2WQWPJ2.js";import{g}from"./LVZFWZQF.js";import"./W62WBKQ7.js";import{b as m,d as h}from"./GUVB6M62.js";import{I as o,J as a,L as u,O as d,a as r,b as c,s as i}from"./VTL73CLY.js";import"./SGBTS435.js";export default $arcgis.t(([{a:p}])=>{var x=r`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`,v={base:"fullscreen",button:"arcgis-button"};function E(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var n=class extends o{constructor(){super(),this.messages=f(),this.view=p(this),this.arcgisPropertyChange=g()("state"),this.arcgisReady=i(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,view:0,element:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:35}}static{this.styles=x}get fullscreenTitle(){let e=this.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=E(e),l=h(this.el,t);this.#e=l||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){let e=this.view?.container,t=e?.getRootNode(),l=t instanceof ShadowRoot?t.host:null;return this.element??e?.parentElement??l??null}_toggle(){document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen()}render(){let{fullscreenTitle:e,state:t}=this,l=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return c`<div class=${a(m(v.base,v.button))}>${!l&&c`<calcite-button .disabled=${t==="disabled"} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} title=${e??u}></calcite-button>`||""}</div>`}};d("arcgis-fullscreen",n);return n},b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.60 */
4
- import{a as W}from"./TIBRXO66.js";import"./WFXHENZG.js";import c from"./2LCZJ7LM.js";import{a as E}from"./KJUJ7YOG.js";import{a as y}from"./ILCGUE25.js";import b from"./Q5THBP7L.js";import a from"./U2WQWPJ2.js";import{e as A,g as B}from"./LVZFWZQF.js";import"./W62WBKQ7.js";import{b as m}from"./GUVB6M62.js";import{I as L,J as u,L as _,O,a as z,b as l,s as T}from"./VTL73CLY.js";import"./SGBTS435.js";export default $arcgis.t(([V,{property:h,subclass:I},{watch:Z},D,j,H,P,R,,,S])=>{var g="arcgis-weather",p={base:g,content:`${g}__content`,hasError:`${g}__content--has-error`,selector:`${g}__selector`,options:`${g}__options`,optionsHidden:`${g}__options--hidden`,error:`${g}__error`,warningTitle:`${g}__warning-title`},q=z`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`,U=Object.defineProperty,G=Object.getOwnPropertyDescriptor,d=(i,e,o,t)=>{for(var r=t>1?void 0:t?G(e,o):e,a=i.length-1,n;a>=0;a--)(n=i[a])&&(r=(t?n(e,o,r):n(r))||r);return t&&r&&U(e,o,r),r},J={sunny:R,cloudy:D,rainy:H,snowy:P,foggy:j},v=Object.keys(J),s=class extends V{constructor(i){super(i),this._settingWeather=!1,this._weatherByType={sunny:new R,cloudy:new D,rainy:new H,snowy:new P,foggy:new j}}initialize(){this.addHandles([Z(()=>this.current,i=>{this._settingWeather||i==null||(this._weatherByType={...this._weatherByType,[i.type]:i})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let i=this.view;return i?.ready?i.type!=="3d"?"unsupported-view":i.viewingMode==="local"?"local-scene":i.environment.atmosphereEnabled?i.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(i){let e=this._environment;e&&(e.weather=i)}get _environment(){let i=this.view;return i!=null&&i.type==="3d"?i.environment:null}setWeatherByType(i){if(!v.includes(i)){console.warn(`arcgis-weather - "${i}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[i],this._settingWeather=!1)}setSnowCoverEnabled(i){let e=this.current;"snowCover"in e&&(e.snowCover=i?"enabled":"disabled")}};d([h()],s.prototype,"view",2);d([h()],s.prototype,"state",1);d([h()],s.prototype,"disabled",1);d([h()],s.prototype,"weatherByType",1);d([h()],s.prototype,"error",1);d([h()],s.prototype,"current",1);d([h()],s.prototype,"_weatherByType",2);d([h()],s.prototype,"_environment",1);s=d([I("components.weather.WeatherViewModel")],s);function w({label:i,ariaLabel:e,value:o,disabled:t,onChange:r}){let a=n=>{let c=n.currentTarget.value;r?.(c??0)};return l`<calcite-label .scale=${"s"}><calcite-slider .disabled=${t} .ariaLabel=${e} .labelText=${i} .value=${o} min=0 max=1 step=0.01 .scale=${"s"} @calciteSliderChange=${a} @calciteSliderInput=${a}></calcite-slider></calcite-label>`}var K=S(s),Q={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},x=class extends L{constructor(){super(...arguments),this.viewModel=K(this),this.messages=E(),this.direction=A(),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.state=this.viewModel.state,this.arcgisPropertyChange=B()("state"),this.arcgisReady=T()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.styles=q}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return l`<div aria-label=${this.messages.componentLabelAccessible??_} class=${u(m(p.base,y.widget,this.viewModel.disabled&&y.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:o,viewModel:t}=this,r=this._getWarningMessage(),a=t.current,n=t.state==="error";return l`${this.hideHeader?void 0:W({level:e,children:o.componentLabel})}${n?l`<div class=${u(p.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(m({[p.content]:!0,[p.hasError]:n}))}><div .ariaLabel=${o.weatherType} class=${u(p.selector)} role=radiogroup>${v.map(this._renderWeatherTypeButton,this)}</div>${Object.values(t.weatherByType).map(c=>l`<div class=${u(m({[p.options]:!0,[p.optionsHidden]:c.type!==a?.type}))}>${this._renderOptions(c)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let o=this.messages[e]?.label??"",{disabled:t}=this.viewModel,r=!t&&this.viewModel.current.type===e;return l`<calcite-button role=radio .ariaLabel=${o} .tabIndex=${r?0:-1} .appearance=${r?"solid":"outline"} .ariaChecked=${r?"true":"false"} .disabled=${t} .iconStart=${Q[e]} .kind=${r?"brand":"neutral"} @keydown=${a=>{let n=a.key,c=["ArrowRight","ArrowDown"],b=["ArrowLeft","ArrowUp"];if(this.direction==="rtl"){let f=c;c=b,b=f}let F=c.includes(n),$=b.includes(n);if(F||$){a.preventDefault();let f=v.indexOf(e),C=v.length,k=(f+($?-1:1)+C)%C;this.viewModel.setWeatherByType(v[k]);let M=a.currentTarget.parentElement;M&&Array.from(M.querySelectorAll("calcite-button")??[])[k]?.setFocus()}}} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${o??_}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){let o=this.messages.sunny;return w({disabled:this.viewModel.disabled,ariaLabel:o?.cloudCoverAria,label:o?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}_renderCloudyOptions(e){let o=this.messages.cloudy;return w({disabled:this.viewModel.disabled,ariaLabel:o?.cloudCoverAria,label:o?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}_renderRainyOptions(e){let{disabled:o}=this.viewModel,t=this.messages.rainy;return l`${w({disabled:o,ariaLabel:t?.cloudCoverAria,label:t?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${w({disabled:o,ariaLabel:t?.precipitationAria,label:t?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:o}=this.viewModel,t=this.messages.snowy;return l`${w({disabled:o,ariaLabel:t?.cloudCoverAria,label:t?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${w({disabled:o,ariaLabel:t?.precipitationAria,label:t?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${t?.snowCoverTooltip??_}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${o} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${t?.snowCover}</calcite-label>`}_renderFoggyOptions(e){let o=this.messages.foggy;return w({disabled:this.viewModel.disabled,ariaLabel:o?.fogStrengthAria,label:o?.fogStrength,value:e.fogStrength,onChange:t=>{e.fogStrength=t}})}_renderWarning(e){return l`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning scale=s><div slot=title class=${u(p.warningTitle)}>${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`}};O("arcgis-weather",x);return x},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.60 */
4
- import g from"./34PPGHFO.js";import e from"./WVA4JG3V.js";import{a as T}from"./IOUWIYUD.js";import d from"./2LCZJ7LM.js";import{a as F}from"./KJUJ7YOG.js";import"./ILCGUE25.js";import c from"./Q5THBP7L.js";import a from"./U2WQWPJ2.js";import{g as L}from"./LVZFWZQF.js";import"./W62WBKQ7.js";import{b as x,f as $}from"./GUVB6M62.js";import{G as f,H as b,I as A,J as v,K as B,O as E,a as z,b as m,s as w}from"./VTL73CLY.js";import"./SGBTS435.js";export default $arcgis.t(([R,{stripHTML:V},{watch:g},I,,,P,,N])=>{var p="arcgis-popup",u=`${p}--is-docked`,r={base:p,baseHidden:`${p}--hidden`,main:`${p}__main-container`,shadow:`${p}--shadow`,isDocked:u,isDockedTopLeft:`${u}-top-left`,isDockedTopCenter:`${u}-top-center`,isDockedTopRight:`${u}-top-right`,isDockedBottomLeft:`${u}-bottom-left`,isDockedBottomCenter:`${u}-bottom-center`,isDockedBottomRight:`${u}-bottom-right`,isXlWidthBreakpoint:`${p}--is-xl-width-breakpoint`,isLgWidthBreakpoint:`${p}--is-lg-width-breakpoint`,isMdWidthBreakpoint:`${p}--is-md-width-breakpoint`,isSmWidthBreakpoint:`${p}--is-sm-width-breakpoint`,isXsWidthBreakpoint:`${p}--is-xs-width-breakpoint`,isXlHeightBreakpoint:`${p}--is-xl-height-breakpoint`,isLgHeightBreakpoint:`${p}--is-lg-height-breakpoint`,isMdHeightBreakpoint:`${p}--is-md-height-breakpoint`,isSmHeightBreakpoint:`${p}--is-sm-height-breakpoint`,isXsHeightBreakpoint:`${p}--is-xs-height-breakpoint`,alignTopCenter:`${p}--aligned-top-center`,alignBottomCenter:`${p}--aligned-bottom-center`,alignTopLeft:`${p}--aligned-top-left`,alignBottomLeft:`${p}--aligned-bottom-left`,alignTopRight:`${p}--aligned-top-right`,alignBottomRight:`${p}--aligned-bottom-right`,pointer:`${p}__pointer`,pointerDirection:`${p}__pointer-direction`},j=z`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media(prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media(prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;function y(C){return C&&Number.parseInt(C.replaceAll(/[^-\d.]/gu,""),10)||0}var X=P(R),H={buttonEnabled:!0,position:"auto",breakpoint:{width:544}},D=class extends A{constructor(){super(...arguments),this._featuresComponent=f(),this._dockAction=new I({id:"popup-dock-action"}),this._mainContainerNode=f(),this._pointerNode=f(),this.messages=F({}),this.viewModel=X(this),this._containerNode=f(),this.screenLocation=N(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.alignment="auto",this.autoCloseEnabled=this.viewModel.autoCloseEnabled,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.dockEnabled=!1,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.features=this.viewModel.features,this.goToOverride=this.viewModel.goToOverride,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideCollapseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.promises=this.viewModel.promises,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.state=this.viewModel.state,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=L()("active","collapsed","currentAlignment","dockEnabled","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=w(),this.arcgisClose=w(),this.arcgisTriggerAction=w()}static{this.properties={screenLocation:16,positionStyle:16,_featureNavigationTop:16,actions:0,active:0,alignment:1,autoCloseEnabled:5,autoDestroyDisabled:5,collapsed:0,content:1,currentAlignment:32,currentDockPosition:32,defaultPopupTemplateEnabled:5,dockEnabled:5,dockOptions:0,featureCount:0,featureMenuOpen:5,features:0,goToOverride:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideCollapseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,messageOverrides:0,promises:0,referenceElement:1,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,state:3,updateLocationEnabled:5,view:0,visible:5}}static{this.styles=j}get trackLocation(){return this.viewModel.active&&!this.dockEnabled}get _featureNavigationTop(){let{currentAlignment:t,currentDockPosition:e}=this;return t==="bottom-left"||t==="bottom-center"||t==="bottom-right"||e==="top-left"||e==="top-center"||e==="top-right"}get currentAlignment(){return this._getCurrentAlignment()}get currentDockPosition(){return this._getCurrentDockPosition()}get dockOptions(){return this._dockOptions||H}set dockOptions(t){let e={...H},o=this.viewModel?.view?.breakpoints,a={};o&&(a.width=o.xsmall,a.height=o.xsmall);let i={...e,...t},n={...e.breakpoint,...a},{breakpoint:s}=i;typeof s=="object"?i.breakpoint={...n,...s}:s&&(i.breakpoint=n),this._dockOptions=i}get selectedDrillInFeature(){return this._featuresComponent.value?.selectedDrillInFeature??null}get selectedFeatureComponent(){return this._featuresComponent.value?.selectedFeatureComponent??null}async handleViewClick(t){return this.viewModel.handleViewClick(t)}async clear(){return this.viewModel.clear()}async destroy(){await this.manager.destroy(),this._dockAction.destroy()}async fetchFeatures(t,e){return await this.viewModel.fetchFeatures(t,e)}async next(){return this.viewModel.next()}async open(t){this.viewModel.open(t)}async previous(){return this.viewModel.previous()}async setFocus(){this._featuresComponent.value?.setFocus()}async triggerAction(t){return await this._featuresComponent.value?.triggerAction(t)}loaded(){this.manager.onLifecycle(()=>[g(()=>[this.viewModel?.view?.widthBreakpoint,this.dockEnabled],()=>this._handleDockIcon(),{initial:!0}),g(()=>[this.dockEnabled,this.messages?.undock,this.messages?.dock],()=>this._handleDockEnabled(),{initial:!0}),g(()=>this.dockOptions,t=>{let{_dockAction:e}=this,o=this._featuresComponent.value?.headerActions;o?.remove(e),t.buttonEnabled&&o?.add(e)},{initial:!0}),g(()=>[this._featuresComponent.value,this._mainContainerNode.value,this._pointerNode.value,this.alignment,this.currentAlignment,this.dockEnabled,this.dockOptions,this.screenLocation,this.viewModel?.active,this.viewModel?.location,this.viewModel?.view?.padding,this.viewModel?.view?.size],()=>this._positionContainer(),{initial:!0}),g(()=>this.viewModel?.view?.size,(t,e)=>this._updateDockEnabledForViewSize(t,e)),g(()=>this.viewModel?.view?.ready,()=>this._setDockEnabledForViewSize(this.dockOptions),{initial:!0}),g(()=>this.view?.map,t=>{this.viewModel.map=t},{initial:!0}),g(()=>this.screenLocation,(t,e)=>this._autoClose(t,e))])}_handleClose(t){t.stopPropagation(),this.arcgisClose.emit()}_autoClose(t,e){this.autoCloseEnabled&&t!=null&&e!=null&&(this.visible=!1)}_handleArcgisPropertyChange(t){t.detail.name==="collapsed"&&(this.collapsed=t.target.collapsed)}_handleArcgisTriggerAction(t){t.stopPropagation(),t.detail.action===this._dockAction&&(this.dockEnabled=!this.dockEnabled),this.arcgisTriggerAction.emit({action:t.detail.action})}_isOutsideView(t){let{popupHeight:e,popupWidth:o,screenLocation:a,side:i,view:n}=t;if(Number.isNaN(o)||Number.isNaN(e)||!n||!a)return!1;let s=n.padding;return i==="right"&&a.x+o/2>n.width-(s?.right??0)||i==="left"&&a.x-o/2<(s?.left??0)||i==="top"&&a.y-e<(s?.top??0)||i==="bottom"&&a.y+e>n.height-(s?.bottom??0)}_getPointerSize(){let{_pointerNode:t}=this,e=t.value?window.getComputedStyle(t.value):null,o=y(e?.height),a=y(e?.width);return Math.hypot(o,a)}_calculateAutoAlignment(t){if(t!=="auto")return t;let{_mainContainerNode:e,viewModel:o}=this,{view:a}=o,{screenLocation:i}=this;if(i==null||!a||!e.value)return"top-center";let n=window.getComputedStyle(e.value),s=y(n.maxHeight),l=y(n.height),c=this._getPointerSize(),{height:h,width:d}=e.value.getBoundingClientRect(),k=d+c,_=Math.max(h,s,l)+c,S=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"right",view:a}),O=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"left",view:a}),M=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"top",view:a}),W=this._isOutsideView({popupHeight:_,popupWidth:k,screenLocation:i,side:"bottom",view:a});return O?M?"bottom-right":"top-right":S?M?"bottom-left":"top-left":M?W?"top-center":"bottom-center":"top-center"}_callCurrentAlignment(t){return typeof t=="function"?t.call(this):t}_getCurrentAlignment(){return this.dockEnabled||!this.viewModel.active||!this._mainContainerNode.value?null:this._calculatePositionResult(this._calculateAutoAlignment(this._callCurrentAlignment(this.alignment)))}_calculatePositionResult(t){let e=["left","right"];return $(this.el)==="rtl"&&e.reverse(),t?.replace(/start/giu,e[0]).replace(/end/giu,e[1])}_callDockPosition(t){return typeof t=="function"?t.call(this):t}_getDockPosition(){return this._calculatePositionResult(this._calculateAutoDockPosition(this._callDockPosition(this.dockOptions?.position)))}_getCurrentDockPosition(){return this.dockEnabled&&this.viewModel.active?this._getDockPosition():null}_calculateAutoDockPosition(t){if(t!=="auto")return t;let e=this.viewModel?.view,o=$(this.el)==="rtl"?"top-left":"top-right";if(!e)return o;let a=e.padding,i=e.width-(a?.left??0)-(a?.right??0),{breakpoints:n}=e;return n?.xsmall&&i<=n.xsmall?"bottom-center":o}_getDockIcon(){let t=this._getDockPosition();if(this.dockEnabled)return"minimize";switch(t){case"top-left":case"bottom-left":return"dock-left";case"top-center":return"maximize";case"bottom-center":return"dock-bottom";case"top-right":case"bottom-right":default:return"dock-right"}}_handleDockIcon(){this._dockAction.icon=this._getDockIcon()}_handleDockEnabled(){this._dockAction.title=this.dockEnabled?this.messages?.undock:this.messages?.dock}_positionContainer(){this.positionStyle=this._calculatePositionStyle()}_calculateFullWidth(t){let{currentAlignment:e}=this;return e==="top-left"||e==="bottom-left"||e==="top-right"||e==="bottom-right"?t+this._getPointerSize():t}_calculateAlignmentPosition(t,e,o,a){let{currentAlignment:i}=this;if(!o)return;let{padding:n}=o,s=a/2,l=o.height-e,c=o.width-t,h=this._getPointerSize(),d=h/2;if(i==="bottom-center")return{top:e+h-(n?.top??0),left:t-s-(n?.left??0)};if(i==="top-left")return{bottom:l+d-(n?.bottom??0),right:c+d-(n?.right??0)};if(i==="bottom-left")return{top:e+d-(n?.top??0),right:c+d-(n?.right??0)};if(i==="top-right")return{bottom:l+d-(n?.bottom??0),left:t+d-(n?.left??0)};if(i==="bottom-right")return{top:e+d-(n?.top??0),left:t+d-(n?.left??0)};if(i==="top-center")return{bottom:l+h-(n?.bottom??0),left:t-s-(n?.left??0)}}_calculatePositionStyle(){let{screenLocation:t}=this,{view:e}=this.viewModel,o=this._mainContainerNode.value?.getBoundingClientRect().width??0;if(!e||this.dockEnabled||t==null||!o)return;let a=this._calculateFullWidth(o),i=this._calculateAlignmentPosition(t.x,t.y,e,a);if(i)return{top:i.top!==void 0?`${i.top}px`:"auto",left:i.left!==void 0?`${i.left}px`:"auto",bottom:i.bottom!==void 0?`${i.bottom}px`:"auto",right:i.right!==void 0?`${i.right}px`:"auto"}}_dockingThresholdCrossed(t,e,o){let[a,i]=t,[n,s]=e,{width:l=0,height:c=0}=o??{};return a<=l&&n>l||a>l&&n<=l||i<=c&&s>c||i>c&&s<=c}_updateDockEnabledForViewSize(t,e){if(!t||!e)return;let o=this.viewModel?.view?.padding,a=(o?.left??0)+(o?.right??0),i=(o?.top??0)+(o?.bottom??0),n=[],s=[];n[0]=t[0]-a,n[1]=t[1]-i,s[0]=e[0]-a,s[1]=e[1]-i;let{dockOptions:l}=this,c=l.breakpoint;typeof c=="object"&&this._dockingThresholdCrossed(n,s,c)&&this._setDockEnabledForViewSize(l)}_shouldDockAtCurrentViewSize(t){let e=t.breakpoint,o=this.viewModel?.view?.ui;if(!o)return!1;let{width:a,height:i}=o;if(Number.isNaN(a)||Number.isNaN(i)||typeof e!="object")return!1;let n=typeof e.width=="number"&&a<=(e.width??0),s=typeof e.height=="number"&&i<=(e.height??0);return n||s}_setDockEnabledForViewSize(t){this.viewModel?.view?.ready&&typeof t.breakpoint=="object"&&(this.dockEnabled=this._shouldDockAtCurrentViewSize(t))}render(){let{dockEnabled:t,currentAlignment:e,currentDockPosition:o,positionStyle:a}=this,{active:i,view:n}=this.viewModel,s=i&&t,l=i&&!t,c=n?.widthBreakpoint,h=n?.heightBreakpoint,d={[r.alignTopCenter]:e==="top-center",[r.alignBottomCenter]:e==="bottom-center",[r.alignTopLeft]:e==="top-left",[r.alignBottomLeft]:e==="bottom-left",[r.alignTopRight]:e==="top-right",[r.alignBottomRight]:e==="bottom-right",[r.isDocked]:s,[r.shadow]:l,[r.isDockedTopLeft]:o==="top-left",[r.isDockedTopCenter]:o==="top-center",[r.isDockedTopRight]:o==="top-right",[r.isDockedBottomLeft]:o==="bottom-left",[r.isDockedBottomCenter]:o==="bottom-center",[r.isDockedBottomRight]:o==="bottom-right",[r.isXlWidthBreakpoint]:c==="xlarge",[r.isLgWidthBreakpoint]:c==="large",[r.isMdWidthBreakpoint]:c==="medium",[r.isSmWidthBreakpoint]:c==="small",[r.isXsWidthBreakpoint]:c==="xsmall",[r.isXlHeightBreakpoint]:h==="xlarge",[r.isLgHeightBreakpoint]:h==="large",[r.isMdHeightBreakpoint]:h==="medium",[r.isSmHeightBreakpoint]:h==="small",[r.isXsHeightBreakpoint]:h==="xsmall"};return m`<div style=${B(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${V(this.heading??"")} class=${v(x(r.base,d,{[r.baseHidden]:!i||!a&&!t}))} role=dialog ${b(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`}_renderPointer(){return!this.dockEnabled||!this.active?m`<div class=${v(r.pointer)} role=presentation><div class=${v(x(r.pointerDirection,r.shadow))} ${b(this._pointerNode)}></div></div>`:null}_renderMainContainer(){let t={[r.shadow]:this.dockEnabled};return m`<div class=${v(x(r.main,t))} ${b(this._mainContainerNode)}>${T(this.viewModel,m`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${b(this._featuresComponent)}></arcgis-features>`)}</div>`}};E("arcgis-popup",D);return D},"widgets/Features/FeaturesViewModel","applications/Components/stringUtils","core/reactiveUtils","support/actions/ActionButton",a,c,d,e,g)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.60 */
4
- import e from"./2LCZJ7LM.js";import{a as v}from"./KJUJ7YOG.js";import b from"./Q5THBP7L.js";import a from"./U2WQWPJ2.js";import{g as u}from"./LVZFWZQF.js";import"./W62WBKQ7.js";import{b as p}from"./GUVB6M62.js";import{I as h,J as o,K as d,L as i,O as m,a as c,b as n,s as l}from"./VTL73CLY.js";import"./SGBTS435.js";export default $arcgis.t(([f,,,g])=>{var x=c`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.compass{border-radius:50%;box-shadow:var(--arcgis-internal-box-shadow, none)}.compass__icon-container{justify-content:center;display:flex;position:absolute;transform:translate(-50%,-50%)}.compass__icon-container:dir(rtl){transform:translate(50%,-50%)}`,s="compass",e={base:s,button:"arcgis-button",compassButton:`${s}__button`,iconContainer:`${s}__icon-container`},w=g(f),a=class extends h{constructor(){super(...arguments),this.messages=v(),this.viewModel=w(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.state=this.viewModel.state,this.arcgisPropertyChange=u()("state","orientation"),this.arcgisReady=l()}static{this.properties={view:0,autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.styles=x}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:b}=this;return n`<div class=${o(p(e.base,e.button,e.compassButton))}><calcite-button .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??i}><div aria-hidden=true class=${o(e.iconContainer)} title=${t.reset??i}><calcite-icon .icon=${b} style=${d(y(this.orientation))}></calcite-icon></div></calcite-button></div>`}},y=r=>({transform:`rotateZ(${r.z}deg)`});m("arcgis-compass",a);return a},"widgets/Compass/CompassViewModel",a,b,e)