@arcgis/map-components 4.34.0-next.29 → 4.34.0-next.30

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 (337) hide show
  1. package/dist/cdn/{MTTG4OB7.js → 234Q2TDD.js} +2 -2
  2. package/dist/cdn/{YZXCCFKT.js → 2DYML6DE.js} +2 -2
  3. package/dist/cdn/{JJJWQZ7B.js → 2RQLB52S.js} +2 -2
  4. package/dist/cdn/{AZCQUEEH.js → 2VDTVARR.js} +2 -2
  5. package/dist/cdn/{ZOTGL3WY.js → 2YXYX73W.js} +2 -2
  6. package/dist/cdn/{7S7V7W4D.js → 3GNM2VKK.js} +2 -2
  7. package/dist/cdn/{X3AXOZH3.js → 3HSEZUZJ.js} +2 -2
  8. package/dist/cdn/{O4AUG6US.js → 3LJIL4ZQ.js} +2 -2
  9. package/dist/cdn/{64APJKJA.js → 3WBQM3UD.js} +2 -2
  10. package/dist/cdn/{RFEZMAH3.js → 45XMVSMD.js} +2 -2
  11. package/dist/cdn/{ZYFJLBBS.js → 46AB4I6A.js} +2 -2
  12. package/dist/cdn/{5IRNCV2N.js → 4EUOEVZB.js} +2 -2
  13. package/dist/cdn/{XIIS6IXK.js → 4GIP2XHT.js} +1 -1
  14. package/dist/cdn/{DHT24TD4.js → 4LCR7TJJ.js} +2 -2
  15. package/dist/cdn/{45NPFIDE.js → 4VL6GYOZ.js} +2 -2
  16. package/dist/cdn/{VGE6ZQV7.js → 522A5I7F.js} +2 -2
  17. package/dist/cdn/{KRFYROYD.js → 572Y5K5H.js} +2 -2
  18. package/dist/cdn/{MHR4JVHS.js → 5AIACKPF.js} +2 -2
  19. package/dist/cdn/{RFZ6LUVE.js → 5C6RLLCR.js} +2 -2
  20. package/dist/cdn/{FIAUIGJF.js → 5CD56TL4.js} +2 -2
  21. package/dist/cdn/{LOGHXN7W.js → 5FU5K4NX.js} +2 -2
  22. package/dist/cdn/{HXMIL5AS.js → 5IKDTG3H.js} +2 -2
  23. package/dist/cdn/{S2YYAX4L.js → 5KD3HW3G.js} +2 -2
  24. package/dist/cdn/{PNTZUJFY.js → 5TV4YEN3.js} +2 -2
  25. package/dist/cdn/{QKLKQYOY.js → 5U3SNY2E.js} +2 -2
  26. package/dist/cdn/{UH3MUYKL.js → 5UO57HST.js} +2 -2
  27. package/dist/cdn/{SNJIA2RL.js → 62CM2RD6.js} +1 -1
  28. package/dist/cdn/{ZDN7XC4F.js → 6ADGELSH.js} +2 -2
  29. package/dist/cdn/{SFEPVBQG.js → 6AXKBPNB.js} +2 -2
  30. package/dist/cdn/{MME4V5UK.js → 6HBNBNIS.js} +2 -2
  31. package/dist/cdn/{Q4M2I3RE.js → 6I2O6AK2.js} +2 -2
  32. package/dist/cdn/{OGDXW57I.js → 745J55T6.js} +1 -1
  33. package/dist/cdn/{B2KDMQ32.js → 74LQ6LNA.js} +2 -2
  34. package/dist/cdn/{WII5UDMW.js → 7MOMTSDQ.js} +2 -2
  35. package/dist/cdn/{IGL636IF.js → 7UKAKNWR.js} +1 -1
  36. package/dist/cdn/{TTNCHBOO.js → A66F53HL.js} +2 -2
  37. package/dist/cdn/{GRTPQKD7.js → ALNPPB7S.js} +2 -2
  38. package/dist/cdn/{GK6AGJOQ.js → AOFQ7B6C.js} +2 -2
  39. package/dist/cdn/{QPVWPM6E.js → APEWUTNF.js} +2 -2
  40. package/dist/cdn/{MKQXYSV7.js → AUSKVAOI.js} +2 -2
  41. package/dist/cdn/{GEAJBOHU.js → B5A6WTVX.js} +2 -2
  42. package/dist/cdn/{45Q7VZOP.js → BDGE6XOV.js} +2 -2
  43. package/dist/cdn/{E5I42L5X.js → BRDPBTSS.js} +2 -2
  44. package/dist/cdn/{X2ZARLSE.js → BWBH22HG.js} +2 -2
  45. package/dist/cdn/{YUMK75EJ.js → BYV3TMNY.js} +2 -2
  46. package/dist/cdn/{HH76E2KD.js → C3F5AC4O.js} +2 -2
  47. package/dist/cdn/{II4QJS4H.js → CJZQXB7T.js} +2 -2
  48. package/dist/cdn/{RHLHBK4X.js → COSCTCOY.js} +2 -2
  49. package/dist/cdn/{CRC32NKX.js → CWBQLF4E.js} +2 -2
  50. package/dist/cdn/{WTUZGTCF.js → D3MU6FBS.js} +2 -2
  51. package/dist/cdn/{5GOWQESW.js → DCBVWKDV.js} +2 -2
  52. package/dist/cdn/{276NHELU.js → DI4M7JUD.js} +2 -2
  53. package/dist/cdn/{WUKA3PA2.js → DKCLZITL.js} +1 -1
  54. package/dist/cdn/{EQMI35F3.js → DNG5QRPD.js} +2 -2
  55. package/dist/cdn/{BR4HST2V.js → DRFM2QI6.js} +2 -2
  56. package/dist/cdn/{D2RAH2FQ.js → EAVY2C4X.js} +2 -2
  57. package/dist/cdn/{GSLXVNUW.js → EBLSYKUB.js} +2 -2
  58. package/dist/cdn/{BPWVETWS.js → EGTTXGVG.js} +2 -2
  59. package/dist/cdn/{PPR7VJU5.js → EMDZITJY.js} +2 -2
  60. package/dist/cdn/{2BJA5MAU.js → ERTF6OSF.js} +2 -2
  61. package/dist/cdn/{UOFDD23J.js → EYA2GF7W.js} +2 -2
  62. package/dist/cdn/{JWQ52MP3.js → F34NBL3N.js} +2 -2
  63. package/dist/cdn/{G225AQXC.js → F4OGHOZG.js} +2 -2
  64. package/dist/cdn/{BN2HWRFH.js → F7EPWVGJ.js} +2 -2
  65. package/dist/cdn/FAUBD2N2.js +4 -0
  66. package/dist/cdn/{OW6PGWSE.js → FCAQM5PE.js} +2 -2
  67. package/dist/cdn/{AYSS2UKJ.js → FLC44RMJ.js} +2 -2
  68. package/dist/cdn/{4VKU2EN4.js → G3U7BKN3.js} +2 -2
  69. package/dist/cdn/{M43BI3QS.js → G5QNIHYE.js} +2 -2
  70. package/dist/cdn/{WYDDPEQG.js → G6SVKA4S.js} +2 -2
  71. package/dist/cdn/{IJ4ROTL2.js → GHTUUNJN.js} +2 -2
  72. package/dist/cdn/{WJFPEGBW.js → GME5RWKA.js} +2 -2
  73. package/dist/cdn/{6DQXWYTE.js → GPUKYZEI.js} +2 -2
  74. package/dist/cdn/{SRMODQG3.js → GSIQXWAW.js} +2 -2
  75. package/dist/cdn/{BHJMRERP.js → GVED72DF.js} +2 -2
  76. package/dist/cdn/{KBJEHKCV.js → H5FYSFJO.js} +2 -2
  77. package/dist/cdn/{EMSE4SVU.js → H5GJXAWS.js} +2 -2
  78. package/dist/cdn/{A7GQLK3I.js → HGY3J57L.js} +2 -2
  79. package/dist/cdn/{JZYEYITJ.js → HHMHSZFH.js} +2 -2
  80. package/dist/cdn/{QBCWEZVV.js → HI4XUM4L.js} +2 -2
  81. package/dist/cdn/{P7PBJZCJ.js → HLOFTVHH.js} +2 -2
  82. package/dist/cdn/{G5LXZPGJ.js → HMLEDFOE.js} +2 -2
  83. package/dist/cdn/HXNBGWYE.js +4 -0
  84. package/dist/cdn/{I2BZBDGD.js → HZQ7EXTW.js} +2 -2
  85. package/dist/cdn/{XRE4YCRR.js → I4L74RDV.js} +2 -2
  86. package/dist/cdn/{J45Q67DX.js → I6YAIWMM.js} +2 -2
  87. package/dist/cdn/{PSASMXDX.js → IFQ5KLCR.js} +2 -2
  88. package/dist/cdn/{WDSPHTTU.js → IG4ALH53.js} +2 -2
  89. package/dist/cdn/{3KJZD7XN.js → IIK4Q2H6.js} +2 -2
  90. package/dist/cdn/{UNFGKH7G.js → IQET4QNV.js} +2 -2
  91. package/dist/cdn/{UQYLORO7.js → ITZIXH2M.js} +2 -2
  92. package/dist/cdn/{NACZDUUS.js → J4FR5SON.js} +2 -2
  93. package/dist/cdn/{24FPDZV7.js → JAASZM2N.js} +2 -2
  94. package/dist/cdn/{333MLOEH.js → JMMUYDYT.js} +2 -2
  95. package/dist/cdn/{OTMAAIG2.js → JOVSI2UD.js} +2 -2
  96. package/dist/cdn/{2QPG3Q5P.js → JQ4CUZLP.js} +2 -2
  97. package/dist/cdn/{NEIKHJUX.js → JUSMMGHK.js} +2 -2
  98. package/dist/cdn/{T47YWDAU.js → K2BEVIPL.js} +2 -2
  99. package/dist/cdn/{HZ3EXHUM.js → K2KNA7WE.js} +2 -2
  100. package/dist/cdn/{26XWWC3S.js → K53BF6OU.js} +1 -1
  101. package/dist/cdn/{7NMO7PDZ.js → K6IRCEYK.js} +2 -2
  102. package/dist/cdn/{FEDUC27Q.js → KOKCF37L.js} +2 -2
  103. package/dist/cdn/{F3VWFEIS.js → L233U5AH.js} +2 -2
  104. package/dist/cdn/{5RDN3KFY.js → LBL23UNP.js} +2 -2
  105. package/dist/cdn/{ZGOVJI2V.js → LFBL6VZT.js} +2 -2
  106. package/dist/cdn/{6BKFKF7L.js → LMXKZSVR.js} +1 -1
  107. package/dist/cdn/{HCLXQLUS.js → M5LVTN55.js} +2 -2
  108. package/dist/cdn/{W47E7SI7.js → MK5A7YGD.js} +2 -2
  109. package/dist/cdn/{B7YDMWF3.js → MLQJ25YQ.js} +2 -2
  110. package/dist/cdn/{2KQJAHFP.js → MU6FQQZJ.js} +2 -2
  111. package/dist/cdn/{YYPKTLS7.js → N3XW4Y5A.js} +2 -2
  112. package/dist/cdn/{CXSGFVZY.js → NAKKTGZW.js} +2 -2
  113. package/dist/cdn/{CDNUWNTM.js → NBJV4ZDY.js} +2 -2
  114. package/dist/cdn/{UU3SGRXZ.js → NEXZOBET.js} +2 -2
  115. package/dist/cdn/{RFBJ2OQC.js → NJKFDLXR.js} +2 -2
  116. package/dist/cdn/{44SA7HBW.js → NLLPFZJ4.js} +2 -2
  117. package/dist/cdn/{Z4A6TUSH.js → NMS2D3YB.js} +2 -2
  118. package/dist/cdn/{BCBWIUBN.js → NPNLIY3T.js} +2 -2
  119. package/dist/cdn/{IAE4FOSC.js → NVS2W675.js} +2 -2
  120. package/dist/cdn/{UWDQA43B.js → OASTUNEL.js} +2 -2
  121. package/dist/cdn/{YBK7NHPE.js → OJHB5U2P.js} +2 -2
  122. package/dist/cdn/{UIPGHC7V.js → OMCDBRCI.js} +1 -1
  123. package/dist/cdn/{BRDLKHRY.js → OPMP7QAM.js} +2 -2
  124. package/dist/cdn/{NWIGIUWJ.js → ORIOQOQQ.js} +2 -2
  125. package/dist/cdn/ORWGAQLP.js +4 -0
  126. package/dist/cdn/{PUC7RUDW.js → OVAMJI2J.js} +2 -2
  127. package/dist/cdn/{77DYAMA4.js → OYGUGTDT.js} +2 -2
  128. package/dist/cdn/{OATFCBMW.js → P3ZSQOLJ.js} +2 -2
  129. package/dist/cdn/{2EY5DO6Z.js → PEN5BBQF.js} +1 -1
  130. package/dist/cdn/{FFVCLRFL.js → PMN6FZDX.js} +2 -2
  131. package/dist/cdn/{KMO2Z6GG.js → POKSSBNB.js} +2 -2
  132. package/dist/cdn/{GGYGFSWG.js → PRD2DJCZ.js} +2 -2
  133. package/dist/cdn/{OYD26KOZ.js → Q3YPRJ3U.js} +2 -2
  134. package/dist/cdn/{WT6GPDJ6.js → Q5EQ53JS.js} +2 -2
  135. package/dist/cdn/{NQGENYHI.js → QBCHAIKA.js} +2 -2
  136. package/dist/cdn/{N23VKPUM.js → QODXGI4E.js} +2 -2
  137. package/dist/cdn/{W2H7TOIL.js → R2UCRAE6.js} +2 -2
  138. package/dist/cdn/{NQCQTTL6.js → R3JXTK4L.js} +2 -2
  139. package/dist/cdn/{EGMCUKGO.js → RQL42QKX.js} +2 -2
  140. package/dist/cdn/{KZ627ULY.js → RSSENJSP.js} +2 -2
  141. package/dist/cdn/{VXBQGFGR.js → SHNXRR4Q.js} +2 -2
  142. package/dist/cdn/{4QBQCBD4.js → SHR2EWHJ.js} +2 -2
  143. package/dist/cdn/{LJNBJG6J.js → SNB2JDTD.js} +2 -2
  144. package/dist/cdn/{AMKFHZKY.js → SPKW3HOG.js} +2 -2
  145. package/dist/cdn/{RSMEMK6H.js → TCA7UVYN.js} +2 -2
  146. package/dist/cdn/{GAAYFJMP.js → TGF42ZK7.js} +2 -2
  147. package/dist/cdn/{HWEJ5PT4.js → TYCHS6RB.js} +2 -2
  148. package/dist/cdn/{7MTQS6K4.js → TYQMG3PI.js} +2 -2
  149. package/dist/cdn/{SQRD5AFX.js → U2S7QARW.js} +2 -2
  150. package/dist/cdn/{5RGTIRD7.js → UDJ44V76.js} +2 -2
  151. package/dist/cdn/{QT62ZAMZ.js → UKBERXHR.js} +2 -2
  152. package/dist/cdn/{WHGLKTKZ.js → UNXP35E2.js} +2 -2
  153. package/dist/cdn/{2P5Y3JRX.js → UT234BKM.js} +2 -2
  154. package/dist/cdn/{LHERQF5S.js → UZASGDCK.js} +2 -2
  155. package/dist/cdn/{3M7KXP3Y.js → V7YOJQVM.js} +2 -2
  156. package/dist/cdn/{YIJUWSQM.js → VDTCDYVS.js} +1 -1
  157. package/dist/cdn/VHVAWD2J.js +4 -0
  158. package/dist/cdn/{BH2L5E72.js → VNYPBOZ3.js} +1 -1
  159. package/dist/cdn/{QHFV4JKZ.js → WB66TFCT.js} +2 -2
  160. package/dist/cdn/{PLOCXDRL.js → WDQLQNCX.js} +2 -2
  161. package/dist/cdn/{WAZIOM5Q.js → WI4FRYNR.js} +2 -2
  162. package/dist/cdn/WMMTGIEJ.js +4 -0
  163. package/dist/cdn/{MBITBB7M.js → WOLK2FI6.js} +2 -2
  164. package/dist/cdn/{LXYGDPJX.js → WVAIVNQ3.js} +2 -2
  165. package/dist/cdn/{QXLX4UL2.js → X6SS7HOK.js} +2 -2
  166. package/dist/cdn/{WP56S75Y.js → XA5CSRYE.js} +2 -2
  167. package/dist/cdn/{3JXRNHYR.js → XBHAUFYB.js} +2 -2
  168. package/dist/cdn/{VNCV763X.js → XDRYUW46.js} +2 -2
  169. package/dist/cdn/{SLWV42LP.js → XEXFKE7B.js} +2 -2
  170. package/dist/cdn/{C4DO43NZ.js → XIRWSYW7.js} +2 -2
  171. package/dist/cdn/{6K4PUBPP.js → XJDZ6NLY.js} +2 -2
  172. package/dist/cdn/XW5VJD3U.js +4 -0
  173. package/dist/cdn/{LBTPWLNU.js → YLPFVUWT.js} +2 -2
  174. package/dist/cdn/{F5433SPL.js → YQUJT2RW.js} +3 -3
  175. package/dist/cdn/{67RADHJ5.js → YUIMV5SN.js} +2 -2
  176. package/dist/cdn/{GSEJQWEO.js → YULQASHJ.js} +2 -2
  177. package/dist/cdn/{JK6QTLOY.js → ZCOAN2KK.js} +2 -2
  178. package/dist/cdn/{LPYOZH47.js → ZCUXCTC4.js} +2 -2
  179. package/dist/cdn/{QA5B3JID.js → ZG34WCDO.js} +2 -2
  180. package/dist/cdn/ZG7VAYIH.js +4 -0
  181. package/dist/cdn/{MZEQBXJK.js → ZL5K3BUP.js} +2 -2
  182. package/dist/cdn/{3VW5LUCC.js → ZZ2JXXKO.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chunks/AnalysisViewModel.js +1 -1
  185. package/dist/chunks/async-utils.js +1 -1
  186. package/dist/chunks/basemap-gallery-resources.js +1 -1
  187. package/dist/chunks/chart-utils.js +1 -1
  188. package/dist/chunks/chartCommon.js +1 -1
  189. package/dist/chunks/component-utils.js +1 -1
  190. package/dist/chunks/createCloseEvent.js +1 -1
  191. package/dist/chunks/feature-utils.js +1 -1
  192. package/dist/chunks/globalCss.js +1 -1
  193. package/dist/chunks/heading.js +1 -1
  194. package/dist/chunks/layer-list.js +1 -1
  195. package/dist/chunks/legacyIcon.js +1 -1
  196. package/dist/chunks/maybe.js +1 -1
  197. package/dist/chunks/measurementUtils.js +1 -1
  198. package/dist/chunks/runtime.js +1 -1
  199. package/dist/chunks/useHandles.js +1 -1
  200. package/dist/chunks/useT9n.js +1 -1
  201. package/dist/chunks/useView.js +1 -1
  202. package/dist/chunks/useViewModel.js +1 -1
  203. package/dist/chunks/useWidget.js +1 -1
  204. package/dist/chunks/utils.js +1 -1
  205. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  206. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -2
  207. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  208. package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
  209. package/dist/components/arcgis-attachments/customElement.js +1 -1
  210. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  211. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  212. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  213. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  214. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  215. package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -0
  216. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  217. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  218. package/dist/components/arcgis-compass/customElement.js +1 -1
  219. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  220. package/dist/components/arcgis-daylight/customElement.d.ts +6 -2
  221. package/dist/components/arcgis-daylight/customElement.js +1 -1
  222. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -3
  223. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  224. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  225. package/dist/components/arcgis-directions/customElement.js +1 -1
  226. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  227. package/dist/components/arcgis-editor/customElement.js +1 -1
  228. package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -2
  229. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  230. package/dist/components/arcgis-expand/customElement.js +1 -1
  231. package/dist/components/arcgis-feature/customElement.js +1 -1
  232. package/dist/components/arcgis-feature-attachments/customElement.d.ts +15 -0
  233. package/dist/components/arcgis-feature-attachments/customElement.js +24 -0
  234. package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
  235. package/dist/components/arcgis-feature-attachments/index.js +3 -0
  236. package/dist/components/arcgis-feature-content/customElement.d.ts +2 -2
  237. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  238. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  239. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  240. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  241. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  242. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  243. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  244. package/dist/components/arcgis-features/customElement.js +1 -1
  245. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  246. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  247. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  248. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  249. package/dist/components/arcgis-home/customElement.js +1 -1
  250. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  251. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  252. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  253. package/dist/components/arcgis-legend/customElement.js +1 -1
  254. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
  255. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  256. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  257. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  258. package/dist/components/arcgis-locate/customElement.js +1 -1
  259. package/dist/components/arcgis-map/customElement.d.ts +2 -2
  260. package/dist/components/arcgis-map/customElement.js +1 -1
  261. package/dist/components/arcgis-measurement/customElement.js +1 -1
  262. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  263. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  264. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  265. package/dist/components/arcgis-placement/customElement.js +1 -1
  266. package/dist/components/arcgis-print/customElement.js +1 -1
  267. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  268. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  269. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  270. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  271. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  272. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  273. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  274. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  275. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  276. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  277. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  278. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  279. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  280. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  281. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  282. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  283. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  284. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  285. package/dist/components/arcgis-scene/customElement.d.ts +14 -13
  286. package/dist/components/arcgis-scene/customElement.js +1 -1
  287. package/dist/components/arcgis-search/customElement.js +1 -1
  288. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  289. package/dist/components/arcgis-shadow-cast/customElement.d.ts +6 -7
  290. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  291. package/dist/components/arcgis-sketch/customElement.js +1 -1
  292. package/dist/components/arcgis-slice/customElement.js +1 -1
  293. package/dist/components/arcgis-slider/customElement.js +1 -1
  294. package/dist/components/arcgis-swipe/customElement.js +1 -1
  295. package/dist/components/arcgis-table-list/customElement.js +1 -1
  296. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  297. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  298. package/dist/components/arcgis-track/customElement.js +1 -1
  299. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  300. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  301. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  302. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  303. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  304. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  305. package/dist/components/arcgis-version-management/customElement.js +48 -50
  306. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
  307. package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
  308. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
  309. package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
  310. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
  311. package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
  312. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
  313. package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
  314. package/dist/components/arcgis-video/customElement.js +1 -1
  315. package/dist/components/arcgis-video-player/customElement.js +1 -1
  316. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  317. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  318. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  319. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  320. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  321. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  322. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  323. package/dist/components/arcgis-weather/customElement.js +1 -1
  324. package/dist/components/arcgis-zoom/customElement.js +1 -1
  325. package/dist/docs/api.json +100 -98
  326. package/dist/docs/docs.json +94 -94
  327. package/dist/docs/vscode.html-custom-data.json +13 -13
  328. package/dist/docs/web-types.json +31 -31
  329. package/dist/index.js +1 -1
  330. package/dist/loader.js +3 -2
  331. package/package.json +3 -3
  332. package/dist/cdn/4DDH3ZJH.js +0 -4
  333. package/dist/cdn/EC5YDWM5.js +0 -4
  334. package/dist/cdn/EFKIIUPG.js +0 -4
  335. package/dist/cdn/F3HIUXO4.js +0 -4
  336. package/dist/cdn/LAT2L32P.js +0 -4
  337. package/dist/cdn/MY2P3UKP.js +0 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/map-components",
4
- "version": "4.34.0-next.29",
4
+ "version": "4.34.0-next.30",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -313,7 +313,7 @@
313
313
  },
314
314
  {
315
315
  "name": "unitOptions",
316
- "description": "List of available units and unit systems (imperial, metric) for displaying the area values.\nBy default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.\nPossible [unit](#unit) values can only be a subset of this list.\nWith this, it is possible to limit which options are shown in the component's dropdown.",
316
+ "description": "List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.\nBy default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.\nPossible [unit](#unit) values can only be a subset of this list.",
317
317
  "type": "Array<\"square-millimeters\" | \"square-centimeters\" | \"square-decimeters\" | \"square-meters\" | \"square-kilometers\" | \"square-inches\" | \"square-feet\" | \"square-yards\" | \"square-miles\" | \"square-nautical-miles\" | \"square-us-feet\" | \"acres\" | \"ares\" | \"hectares\" | \"imperial\" | \"metric\">"
318
318
  }
319
319
  ],
@@ -1858,7 +1858,7 @@
1858
1858
  },
1859
1859
  {
1860
1860
  "name": "layers",
1861
- "description": "A [collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)\nof layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html)\nthat are added to the componen for exploration.",
1861
+ "description": "A [collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)\nof layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html)\nthat are added to the componen for exploration.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BuildingExplorer.html#layers)",
1862
1862
  "type": "Collection<BuildingSceneLayer>"
1863
1863
  },
1864
1864
  {
@@ -2687,7 +2687,7 @@
2687
2687
  },
2688
2688
  {
2689
2689
  "name": "arcgis-daylight",
2690
- "description": "The Daylight component can be used to manipulate the lighting conditions of a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\n**Known limitations**\n\nDaylight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)\n--\n\n### Events\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisUserDateTimeChange** - Fires when the user changes the date or time in the component by interacting with the slider, the date picker, the\nseason selector or the play buttons.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
2690
+ "description": "The Daylight component can be used to manipulate the lighting conditions of a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\n**Known limitations**\n\nDaylight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [Environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment)\n- [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)\n--\n\n### Events\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisUserDateTimeChange** - Fires when the user changes the date or time in the component by interacting with the slider, the date picker, the\nseason selector or the play buttons.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
2691
2691
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/",
2692
2692
  "attributes": [
2693
2693
  {
@@ -2712,7 +2712,7 @@
2712
2712
  },
2713
2713
  {
2714
2714
  "name": "date-or-season",
2715
- "description": "Controls whether the component displays a date or a season picker.",
2715
+ "description": "Controls whether the component displays a date or a season picker.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#dateOrSeason)",
2716
2716
  "default": "\"date\"",
2717
2717
  "value": {
2718
2718
  "type": [
@@ -2828,7 +2828,7 @@
2828
2828
  },
2829
2829
  {
2830
2830
  "name": "time-slider-steps",
2831
- "description": "Sets steps, or intervals, on the time slider to restrict the times\nof the day that can be selected when dragging the thumb.",
2831
+ "description": "Sets steps, or intervals, on the time slider to restrict the times of the day that can be selected when dragging the thumb.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#timeSliderSteps)",
2832
2832
  "default": "5",
2833
2833
  "value": {
2834
2834
  "type": "number"
@@ -2869,7 +2869,7 @@
2869
2869
  },
2870
2870
  {
2871
2871
  "name": "dateOrSeason",
2872
- "description": "Controls whether the component displays a date or a season picker.",
2872
+ "description": "Controls whether the component displays a date or a season picker.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#dateOrSeason)",
2873
2873
  "type": "\"date\" | \"season\""
2874
2874
  },
2875
2875
  {
@@ -2932,7 +2932,7 @@
2932
2932
  },
2933
2933
  {
2934
2934
  "name": "timeSliderSteps",
2935
- "description": "Sets steps, or intervals, on the time slider to restrict the times\nof the day that can be selected when dragging the thumb.",
2935
+ "description": "Sets steps, or intervals, on the time slider to restrict the times of the day that can be selected when dragging the thumb.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html#timeSliderSteps)",
2936
2936
  "type": "Array<number> | number"
2937
2937
  },
2938
2938
  {
@@ -3556,7 +3556,7 @@
3556
3556
  },
3557
3557
  {
3558
3558
  "name": "unitOptions",
3559
- "description": "List of available units and unit systems (imperial, metric) for displaying the distance values.\nBy default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.\nPossible [unit](#unit) values can only be a subset of this list.\nWith this, it is possible to limit which options are shown in the component's dropdown.",
3559
+ "description": "List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.\nBy default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.\nPossible [unit](#unit) values can only be a subset of this list.",
3560
3560
  "type": "Array<\"imperial\" | \"metric\" | \"millimeters\" | \"centimeters\" | \"decimeters\" | \"meters\" | \"kilometers\" | \"inches\" | \"feet\" | \"yards\" | \"miles\" | \"nautical-miles\" | \"us-feet\">"
3561
3561
  }
3562
3562
  ],
@@ -3715,7 +3715,7 @@
3715
3715
  },
3716
3716
  {
3717
3717
  "name": "unitOptions",
3718
- "description": "List of available units and unit systems (imperial, metric) for displaying the distance values.\nBy default, the following units are included: `metric`, `imperial`, `square-inches`, `square-feet`, `square-us-feet`, `square-yards`, `square-miles`, `square-meters`, `square-kilometers`, `acres`, `ares`, `hectares`.\nPossible [unit](#unit) values can only be a subset of this list.\nWith this, it is possible to limit which options are shown in the component's dropdown.",
3718
+ "description": "List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.\nBy default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.\nPossible [unit](#unit) values can only be a subset of this list.",
3719
3719
  "type": "Array<\"imperial\" | \"metric\" | \"millimeters\" | \"centimeters\" | \"decimeters\" | \"meters\" | \"kilometers\" | \"inches\" | \"feet\" | \"yards\" | \"miles\" | \"nautical-miles\" | \"us-feet\">"
3720
3720
  }
3721
3721
  ],
@@ -4173,7 +4173,7 @@
4173
4173
  },
4174
4174
  {
4175
4175
  "name": "arcgis-elevation-profile",
4176
- "description": "The Elevation Profile component is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).\n\n**See also**\n\n- [Sample - Elevation Profile component](https://developers.arcgis.com/javascript/latest/sample-code/elevation-profile/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>`\n- `stop(): Promise<void>`",
4176
+ "description": "The Elevation Profile component is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).\n\n**See also**\n\n- [Sample - Elevation Profile component](https://developers.arcgis.com/javascript/latest/sample-code/elevation-profile/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Switches to the \"creating\" state in which the user can draw a new line.\n- `stop(): Promise<void>` - Stops the creation operation.",
4177
4177
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-elevation-profile/",
4178
4178
  "attributes": [
4179
4179
  {
@@ -4412,7 +4412,7 @@
4412
4412
  },
4413
4413
  {
4414
4414
  "name": "input",
4415
- "description": "The input line graphic along which elevation will be queried in order to generate an elevation profile.",
4415
+ "description": "The input path along which elevation will be queried in order to generate an elevation profile.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input)",
4416
4416
  "type": "Graphic"
4417
4417
  },
4418
4418
  {
@@ -4426,7 +4426,7 @@
4426
4426
  },
4427
4427
  {
4428
4428
  "name": "profiles",
4429
- "description": "Collection of elevation profile lines which are to be generated and displayed in the component's chart.",
4429
+ "description": "Collection of elevation profile lines which are to be generated and displayed in the component's chart.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#profiles)",
4430
4430
  "type": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>"
4431
4431
  },
4432
4432
  {
@@ -8629,7 +8629,7 @@
8629
8629
  },
8630
8630
  {
8631
8631
  "name": "arcgis-line-of-sight",
8632
- "description": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently\ndisplayed content in the view, including ground, integrated meshes, and 3D objects such as buildings or trees.\n\n![line-of-sight](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/line-of-sight.png)\n\nThe analysis results are displayed as colored lines, where areas visible to the observer are\nshown green and occluded parts are marked red. Also, the color of the target points indicates their visibility.\nWhen the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either\nthe target or the observer is not in the view.\n\nWhen creating a new line of sight analysis, the first click in the Scene creates the\n[observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)\nand subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).\nBoth, the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.\n\n**Known limitation**\n\nLine Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\n- [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the current analysis results. After calling this method, the user can set a new observer and targets.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `continue(): Promise<void>` - After [stop()](#stop) was called, this method allows to continue the line of sight analysis and add more targets.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start a new line of sight analysis.\n- `stop(): Promise<void>` - Stop the current placing of line of sight analysis. Any lines added this far are kept in the view.\nUsers can still interact with existing targets and the observer, but they cannot place new target points.",
8632
+ "description": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently\ndisplayed content in the view, including the ground, integrated meshes, and 3D objects such as buildings or trees.\n\n![line-of-sight](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/line-of-sight.png)\n\nThe analysis results are displayed as colored lines, where areas visible to the observer are\nshown green and occluded parts are marked in red. Also, the color of the target points indicates their visibility.\nWhen the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either\nthe target or the observer is not in the view.\n\nWhen creating a new line of sight analysis, the first click in the Scene creates the\n[observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)\nand subsequent clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).\nBoth the observer and target points can be moved by dragging. Additionally, the target points can be removed with a right click.\n\n**Known limitation**\n\nLine Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\n- [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the current analysis results. After calling this method, the user can set a new observer and targets.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `continue(): Promise<void>` - After [stop()](#stop) was called, this method allows to continue the line of sight analysis and add more targets.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start a new line of sight analysis.\n- `stop(): Promise<void>` - Stop the current placing of line of sight analysis. Any lines added this far are kept in the view.\nUsers can still interact with existing targets and the observer, but they cannot place new target points.",
8633
8633
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/",
8634
8634
  "attributes": [
8635
8635
  {
@@ -9631,7 +9631,7 @@
9631
9631
  },
9632
9632
  {
9633
9633
  "name": "arcgis-map",
9634
- "description": "The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the\n[ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\nThe Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></arcgis-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<arcgis-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></arcgis-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <arcgis-zoom position=\"top-left\"></arcgis-zoom>\n <arcgis-legend position=\"bottom-left\"></arcgis-legend>\n</arcgis-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
9634
+ "description": "The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the\n[ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\nThe Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></arcgis-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<arcgis-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></arcgis-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <arcgis-zoom position=\"top-left\"></arcgis-zoom>\n <arcgis-legend position=\"bottom-left\"></arcgis-legend>\n</arcgis-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)\n- [Get started](https://developers.arcgis.com/javascript/latest/get-started/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
9635
9635
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/",
9636
9636
  "attributes": [
9637
9637
  {
@@ -11517,7 +11517,7 @@
11517
11517
  },
11518
11518
  {
11519
11519
  "name": "arcgis-scene",
11520
- "description": "The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).\n\nThe Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)\nand loads a [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) item from either\n[ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></arcgis-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<arcgis-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</arcgis-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <arcgis-layer-list position=\"bottom-right\"></arcgis-layer-list>\n</arcgis-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/)\nof the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)\n- **arcgisViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)\n- **arcgisViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)\n- **arcgisViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click)\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-double-click)\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-drag)\n- **arcgisViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-hold)\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-click)\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-double-click)\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-down)\n- **arcgisViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-up)\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create)\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create-error)\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-destroy)\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-mouse-wheel)\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-down)\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-enter)\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-leave)\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-move)\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-up)\n- **arcgisViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewHitTestOptions): Promise<__esri.SceneViewHitTestResult>` - Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish` - Converts the given screen point to a [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html).\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint` - Converts the given [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView3D | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenLayerView)",
11520
+ "description": "The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).\n\nThe Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)\nand loads a [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) item from either\n[ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></arcgis-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<arcgis-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</arcgis-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <arcgis-layer-list position=\"bottom-right\"></arcgis-layer-list>\n</arcgis-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/)\nof the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\n// The view is now ready to be used.\nconst layer = new GraphicsLayer({ title: \"My layer\"});\nviewElement.map.add(layer);\n```\n\n**See also**\n\n- [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)\n- [Get started](https://developers.arcgis.com/javascript/latest/get-started/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewAnalysisViewCreate** - Fires when the view for an analysis is created.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)\n- **arcgisViewAnalysisViewCreateError** - Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)\n- **arcgisViewAnalysisViewDestroy** - Fires after an analysis view is destroyed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)\n- **arcgisViewChange** - This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),\n[camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click)\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-double-click)\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-drag)\n- **arcgisViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-hold)\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-click)\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-double-click)\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-down)\n- **arcgisViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-up)\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create)\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create-error)\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-destroy)\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-mouse-wheel)\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-down)\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-enter)\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-leave)\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-move)\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-up)\n- **arcgisViewReadyChange** - This event is for the [ready](#ready) property and will be emitted when the view is ready.\nThis event will also emit if the [map](#map) property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33, use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewHitTestOptions): Promise<__esri.SceneViewHitTestResult>` - Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish` - Converts the given screen point to a [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html).\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint` - Converts the given [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView3D | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenLayerView)",
11521
11521
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/",
11522
11522
  "attributes": [
11523
11523
  {
@@ -11588,7 +11588,7 @@
11588
11588
  },
11589
11589
  {
11590
11590
  "name": "ground",
11591
- "description": "Specifies the surface properties for the map. It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
11591
+ "description": "Specifies the surface properties for the [map](#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
11592
11592
  "value": {
11593
11593
  "type": "string"
11594
11594
  }
@@ -11829,7 +11829,7 @@
11829
11829
  },
11830
11830
  {
11831
11831
  "name": "clippingArea",
11832
- "description": "Represents an optional clipping area used to define the visible [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html)\nof a [local scene](#viewingMode).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#clippingArea)",
11832
+ "description": "Represents an optional clipping area used to define the visible [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html)\nof a Scene in `local` [viewingMode](#viewingMode).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#clippingArea)",
11833
11833
  "type": "Extent"
11834
11834
  },
11835
11835
  {
@@ -11849,7 +11849,7 @@
11849
11849
  },
11850
11850
  {
11851
11851
  "name": "extent",
11852
- "description": "The extent represents the visible portion of a map within the view as an instance of\n[Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).\n\nSetting the extent immediately changes the view without animation. To animate\nthe view, see this component's [goTo()](#goTo) method.\nWhen the view is rotated, the extent does not update to include the newly visible portions of the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#extent)",
11852
+ "description": "The extent represents the visible portion of a [map](#map) within the view as an instance of\n[Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).\n\nSetting the extent immediately changes the view without animation. To animate\nthe view, see this component's [goTo()](#goTo) method.\nWhen the view is rotated, the extent does not update to include the newly visible portions of the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#extent)",
11853
11853
  "type": "Extent"
11854
11854
  },
11855
11855
  {
@@ -11879,7 +11879,7 @@
11879
11879
  },
11880
11880
  {
11881
11881
  "name": "ground",
11882
- "description": "Specifies the surface properties for the map. It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
11882
+ "description": "Specifies the surface properties for the [map](#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)\ninstance or a string with one of the following values:\n * `\"world-elevation\"`\n * `\"world-topobathymetry\"`\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground)",
11883
11883
  "type": "Ground | string"
11884
11884
  },
11885
11885
  {
@@ -11909,7 +11909,7 @@
11909
11909
  },
11910
11910
  {
11911
11911
  "name": "layerViews",
11912
- "description": "A collection containing a hierarchical list of all the created\n[LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) of the\n[operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the map.",
11912
+ "description": "A collection containing a hierarchical list of all the created\n[LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) of the\n[operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](#map).",
11913
11913
  "type": "Collection<LayerView>"
11914
11914
  },
11915
11915
  {
@@ -11944,7 +11944,7 @@
11944
11944
  },
11945
11945
  {
11946
11946
  "name": "popup",
11947
- "description": "A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) object that displays general content or attributes from\n[layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#map).\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)",
11947
+ "description": "A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)\nobject that displays general content or attributes from [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers)\nin the [map](#map).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)",
11948
11948
  "type": "Popup"
11949
11949
  },
11950
11950
  {
@@ -11964,7 +11964,7 @@
11964
11964
  },
11965
11965
  {
11966
11966
  "name": "resolution",
11967
- "description": "Represents the current value of one pixel in the unit of the view's\n[spatialReference](#spatialReference).\nThe resolution is calculated by dividing the view's [extent width](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#width)\nby [its width](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#width).",
11967
+ "description": "Represents the current value of one pixel in the unit of the view's\n[spatialReference](#spatialReference).\nThe resolution is calculated by dividing the [Scene's extent](#extent) [width](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#width)\nby [its width](#width).",
11968
11968
  "type": "number"
11969
11969
  },
11970
11970
  {
@@ -12019,7 +12019,7 @@
12019
12019
  },
12020
12020
  {
12021
12021
  "name": "visibleArea",
12022
- "description": "The visibleArea represents the visible portion of a [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) within the view as\nan instance of a [Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html).\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#visibleArea)",
12022
+ "description": "The visibleArea represents the visible portion of a [map](#map) within the view as an instance of a\n[Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html).\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#visibleArea)",
12023
12023
  "type": "Polygon"
12024
12024
  },
12025
12025
  {
@@ -12632,7 +12632,7 @@
12632
12632
  },
12633
12633
  {
12634
12634
  "name": "arcgis-shadow-cast",
12635
- "description": "The Shadow Cast component displays the cumulative shadows of 3D features in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\nThis type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.\n\nThe component calculates the cumulative shadows for a time range during a single day. The user can\nconfigure the time range and select a calendar date. This time range and calendar date are only used\nfor the shadow analysis and are not connected to the lighting in the scene.\nTo control the lighting in the scene, the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component can be used.\nChanging the timezone in the component updates the visualization by interpreting the time range as being\nin that timezone. This behavior is different from the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component,\nwhere selecting a timezone updates the [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) date and time according to the camera position.\n\nThe component provides three [visualization modes](#visualizationType): threshold, duration, and discrete mode.\n\nIn the **threshold** mode, only the areas that receive\nshadows for more than a certain amount of time are displayed. In the image below, on May 1, 2021 the red areas receive\nshadow for more than 4 hours within the time interval of 10AM to 4PM.\n\n[![threshold mode](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/shadow-cast/shadow-cast-threshold.png)](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\n**Total shadow duration** mode displays the duration of the cumulative shadow using opacity: areas that don't\nreceive any shadow are fully transparent and areas that receive a maximum amount of shadow have a default opacity\nof 0.7. The values in between are interpolated. Hovering over the Scene will display a tooltip showing the\namount of time that location is in shadow, rounded to 15 minute intervals. In this mode, the visualization\ncan display shadow cast in a continuous way or in 1 hour intervals.\n\n[![duration mode](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/shadow-cast/shadow-cast-duration.png)](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\n**Discrete shadows** is a third visualization mode which displays individual shadows at a given time interval.\nFor example, setting the time range to 10AM-11AM and the visualization time interval to 30 minutes will display\nshadows for 10AM, 10:30AM and 11:00AM.\n\n[![discrete mode](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/shadow-cast/shadow-cast-discrete.png)](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\nThe defaults for the time range and visualization settings can be changed using the [startTimeOfDay](#startTimeOfDay), [endTimeOfDay](#endTimeOfDay), and [visualizationType](#visualizationType) properties.\n\n**Known limitations**\n\n* Shadow Cast is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n* Terrain does not cast shadows and it is therefore not taken into account in this analysis.\n* The component does not take into account the daylight savings.\nUse the timezone dropdown to adjust the offset from the Coordinated Universal Time (UTC) and account for the daylight saving time.\n* The timezone is automatically detected by the component based on the camera location. In some situations, this might not be accurate.\nIn case of an inaccurate timezone, users can set it manually using the timezone dropdown.\n\n**See also**\n\n- [Sample - Shadow cast component](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `getDuration(point: __esri.Point): Promise<number>` - Returns the time (in milliseconds) spent in shadow for a certain point on the screen.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#getDuration)\n- `start(): Promise<void>` - Starts the component. While running, it will automatically perform shadow accumulation.\n- `stop(): Promise<void>` - Stops the component.",
12635
+ "description": "The Shadow Cast component displays the cumulative shadows of 3D features in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\nThis type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.\n\nThe component calculates the cumulative shadows for a time range during a single day. The user can\nconfigure the time range and select a calendar date. This time range and calendar date are only used\nfor the shadow analysis and are not connected to the lighting in the scene.\nTo control the lighting in the scene, the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component can be used.\nChanging the timezone in the component updates the visualization by interpreting the time range as being\nin that timezone. This behavior is different from the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component,\nwhere selecting a timezone updates the [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) date and time according to the camera position.\n\nThe component provides three [visualization modes](#visualizationType): threshold, duration, and discrete mode.\n\nIn the **threshold** mode, only the areas that receive\nshadows for more than a certain amount of time are displayed. In the image below, on May 1, 2021 the red areas receive\nshadow for more than 4 hours within the time interval of 10AM to 4PM.\n\n[![threshold mode](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/shadow-cast/shadow-cast-threshold.png)](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\n**Total shadow duration** mode displays the duration of the cumulative shadow using opacity: areas that don't\nreceive any shadow are fully transparent and areas that receive a maximum amount of shadow have a default opacity\nof 0.7. The values in between are interpolated. Hovering over the Scene will display a tooltip showing the\namount of time that location is in shadow, rounded to 15-minute intervals. In this mode, the visualization\ncan display shadow cast in a continuous way or in 1-hour intervals.\n\n[![duration mode](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/shadow-cast/shadow-cast-duration.png)](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\n**Discrete shadows** is a third visualization mode which displays individual shadows at a given time interval.\nFor example, setting the time range to 10AM-11AM and the visualization time interval to 30 minutes will display\nshadows for 10AM, 10:30AM and 11:00AM.\n\n[![discrete mode](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/shadow-cast/shadow-cast-discrete.png)](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n\nThe defaults for the time range and visualization settings can be changed using the [startTimeOfDay](#startTimeOfDay), [endTimeOfDay](#endTimeOfDay), and [visualizationType](#visualizationType) properties.\n\n**Known limitations**\n\n* Shadow Cast is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n* Terrain does not cast shadows and it is therefore not taken into account in this analysis.\n* The component does not take into account the daylight savings.\nUse the timezone dropdown to adjust the offset from the Coordinated Universal Time (UTC) and account for the daylight saving time.\n* The timezone is automatically detected by the component based on the camera location. In some situations, this might not be accurate.\nIn case of an inaccurate timezone, users can set it manually using the timezone dropdown.\n\n**See also**\n\n- [Sample - Shadow cast component](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `getDuration(point: __esri.Point): Promise<number>` - Returns the time (in milliseconds) spent in shadow for a certain point on the screen.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#getDuration)\n- `start(): Promise<void>` - Starts the component. While running, it will automatically perform shadow accumulation.\n- `stop(): Promise<void>` - Stops the component.",
12636
12636
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/",
12637
12637
  "attributes": [
12638
12638
  {
@@ -12655,7 +12655,7 @@
12655
12655
  },
12656
12656
  {
12657
12657
  "name": "end-time-of-day",
12658
- "description": "Time (in milliseconds from midnight of the [date](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#date)) when the shadow cast computation should stop.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)",
12658
+ "description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)",
12659
12659
  "default": "16 * 3600 * 1000",
12660
12660
  "value": {
12661
12661
  "type": "number"
@@ -12780,7 +12780,7 @@
12780
12780
  },
12781
12781
  {
12782
12782
  "name": "start-time-of-day",
12783
- "description": "Time (in milliseconds from midnight of the [date](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#date))\nwhen the shadow cast computation should start.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)",
12783
+ "description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)",
12784
12784
  "default": "10 * 3600 * 1000",
12785
12785
  "value": {
12786
12786
  "type": "number"
@@ -12853,7 +12853,7 @@
12853
12853
  },
12854
12854
  {
12855
12855
  "name": "endTimeOfDay",
12856
- "description": "Time (in milliseconds from midnight of the [date](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#date)) when the shadow cast computation should stop.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)",
12856
+ "description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)",
12857
12857
  "type": "number"
12858
12858
  },
12859
12859
  {
@@ -12922,7 +12922,7 @@
12922
12922
  },
12923
12923
  {
12924
12924
  "name": "startTimeOfDay",
12925
- "description": "Time (in milliseconds from midnight of the [date](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#date))\nwhen the shadow cast computation should start.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)",
12925
+ "description": "Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)",
12926
12926
  "type": "number"
12927
12927
  },
12928
12928
  {
@@ -15857,7 +15857,7 @@
15857
15857
  },
15858
15858
  {
15859
15859
  "name": "gdb-version",
15860
- "description": "**Deprecated**: since version 4.31, gdbVersion will be removed and the gdbVersion of the {@link module :esri/networks/UtilityNetwork} will be consumed directly.. The Geodatabase version to pass into the trace.",
15860
+ "description": "**Deprecated**: `gdbVersion` is deprecated since version 4.31.. The Geodatabase version to pass into the trace.",
15861
15861
  "default": "\"sde.DEFAULT\"",
15862
15862
  "value": {
15863
15863
  "type": "string"
@@ -16926,7 +16926,7 @@
16926
16926
  },
16927
16927
  {
16928
16928
  "name": "arcgis-weather",
16929
- "description": "The Weather component allows easy selection and configuration of weather effects in a\n[Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\nThe available weather types are:\n[sunny](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html),\n[cloudy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html),\n[rainy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html),\n[snowy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html), and\n[foggy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html).\n\nTo set the weather programmatically, apply the desired weather type to the\n[environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) property of the Scene component.\n\n```js\n// Access the Scene component.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\n// Specify the weather settings.\nviewElement.environment.weather = {\n type: \"rainy\", // autocasts as new RainyWeather({ cloudCover: 0.7, precipitation: 0.3 })\n cloudCover: 0.7,\n precipitation: 0.3\n};\n```\n\nTo determine if the weather visualization is available, check the boolean value of `viewElement.environment.weatherAvailable`. The weather is only available:\n * in [global viewing mode](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#viewingMode),\n * when `atmosphereEnabled` property on [environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) is `true`,\n * at lower altitudes, near the ground.\n\n**Known limitations**\n\nWeather is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [SunnyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html)\n- [CloudyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html)\n- [RainyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html)\n- [SnowyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html)\n- [FoggyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html)\n- [Sample - Weather component](https://developers.arcgis.com/javascript/latest/sample-code/weather/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
16929
+ "description": "The Weather component allows easy selection and configuration of weather effects in a\n[Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\nThe available weather types are:\n[sunny](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html),\n[cloudy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html),\n[rainy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html),\n[snowy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html), and\n[foggy](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html).\n\nTo set the weather programmatically, apply the desired weather type to the\n[environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) property of the Scene component.\n\n```js\n// Access the Scene component.\nconst viewElement = document.querySelector(\"arcgis-scene\");\nawait viewElement.viewOnReady();\n// Specify the weather settings.\nviewElement.environment.weather = {\n type: \"rainy\", // autocasts as new RainyWeather({ cloudCover: 0.7, precipitation: 0.3 })\n cloudCover: 0.7,\n precipitation: 0.3\n};\n```\n\nTo determine if the weather visualization is available, check the boolean value of `viewElement.environment.weatherAvailable`. The weather is only available:\n * in `global` [viewing mode](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#viewingMode),\n * when `atmosphereEnabled` property on [environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) is `true`,\n * at lower altitudes, near the ground.\n\n**Known limitations**\n\nWeather is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n\n**See also**\n\n- [SunnyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html)\n- [CloudyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html)\n- [RainyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html)\n- [SnowyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html)\n- [FoggyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html)\n- [Sample - Weather component](https://developers.arcgis.com/javascript/latest/sample-code/weather/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
16930
16930
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/",
16931
16931
  "attributes": [
16932
16932
  {
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/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.29 */
4
+ v4.34.0-next.30 */
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/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.29 */
5
+ v4.34.0-next.30 */
6
6
  const o = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;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:;clear,destroy,start"],
@@ -26,7 +26,8 @@ const o = t(e, {
26
26
  "arcgis-elevation-profile": [() => import("./components/arcgis-elevation-profile/customElement.js"), "autoDestroyDisabled,effectiveUnits:,hideChart,hideClearButton,hideLegend,hideSelectButton,hideSettingsButton,hideSketchButton,hideUniformChartScalingToggle,hideUnitSelector,highlightEnabled,hoveredChartPosition,icon,input:,label,position,profiles:,progress:,referenceElement,state,uniformChartScaling,unit,unitOptions:;destroy,start,stop"],
27
27
  "arcgis-expand": [() => import("./components/arcgis-expand/customElement.js"), "autoCollapse,autoDestroyDisabled,closeOnEsc,collapseIcon,collapseTooltip,content,expanded,expandIcon,expandTooltip,focusTrapDisabled,focusTrapEnabled,group,icon,iconNumber,label,mode,placement,position,referenceElement;collapse,destroy,expand,toggle"],
28
28
  "arcgis-feature": [() => import("./components/arcgis-feature/customElement.js"), "autoDestroyDisabled,defaultPopupTemplateEnabled,graphic:,headingLevel,hideContentAttachments,hideContentExpression,hideContentFields,hideContentMedia,hideContentText,hideLastEditedInfo,hideLastEditInfo,hideTitle,icon,label,location:,map:,position,referenceElement,spatialReference:,state,timeZone;destroy,nextMedia,previousMedia,setActiveMedia"],
29
- "arcgis-feature-content": [() => import("./components/arcgis-feature-content/customElement.js"), "creator:,destroyer:,graphic:"],
29
+ "arcgis-feature-attachments": [() => import("./components/arcgis-feature-attachments/customElement.js"), "description,displayType,graphic:,heading,headingLevel,messages:"],
30
+ "arcgis-feature-content": [() => import("./components/arcgis-feature-content/customElement.js"), "creator,destroyer:,graphic:"],
30
31
  "arcgis-feature-element-info": [() => import("./components/arcgis-feature-element-info/customElement.js"), "description,heading,headingLevel"],
31
32
  "arcgis-feature-fields": [() => import("./components/arcgis-feature-fields/customElement.js"), "description,expressionInfos:,fieldInfos:,heading,headingLevel,messages:,values:"],
32
33
  "arcgis-feature-form": [() => import("./components/arcgis-feature-form/customElement.js"), "autoDestroyDisabled,feature:,formTemplate:,groupDisplay,headingLevel,icon,label,layer:,position,referenceElement,state,timeZone;destroy,getValues,submit"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "4.34.0-next.29",
3
+ "version": "4.34.0-next.30",
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.13.1",
46
- "@arcgis/components-utils": "4.34.0-next.29",
47
- "@arcgis/lumina": "4.34.0-next.29",
46
+ "@arcgis/components-utils": "4.34.0-next.30",
47
+ "@arcgis/lumina": "4.34.0-next.30",
48
48
  "tslib": "^2.8.1"
49
49
  },
50
50
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.29 */
4
- import{C as m,F as p,Q as g,T as v,V as h,l as a}from"./XIIS6IXK.js";import"./YIJUWSQM.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=p}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.29 */
4
- import{a as d,b as u}from"./5RDN3KFY.js";import{C as m,F as w,Q as g,V as $,k as b,l as n}from"./XIIS6IXK.js";import"./YIJUWSQM.js";var k=b`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=d(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=d(),this._versionNameInputElement=d(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=m(),this.arcgisCreateVersion=m(),this.arcgisFlowItemBack=m(),this.arcgisFlowItemClose=m()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=w}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:t}}=this;t?(this._mode="edit",this._fullVersionName=t.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(t){let{_mode:s,_ownerName:l,_versionName:h,versionPropertiesElementProps:{currentUser:p,isVersionAdministrator:v,serviceUrl:i,versionInfo:c}}=this,{_alterVersionParameters:e,_createVersionParameters:a}=this;switch(s==="create"&&(a||(a={access:"public",description:"",featureServerUrl:i,ownerName:p,versionName:""})),s==="edit"&&(e||(e={featureServerUrl:i,versionIdentifier:c.versionIdentifier,ownerName:l,versionName:h,access:c.access,description:c.description})),t.type){case"calciteChipGroupSelect":{let r=t.target.label,o=t.target.selectedItems[0].label;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteInputTextInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteTextAreaInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}}s==="create"&&(a.access!=="public"&&p.toUpperCase()!==a.ownerName?.toUpperCase()&&!v?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),s==="edit"&&(this._alterVersionParameters=e)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:t,_createVersionParameters:s,_mode:l,_switchToVersion:h}=this;l==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:s,switchToVersion:h}),l==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:t})}_handleSwitchToVersionChange(t){this._switchToVersion=t.target.checked}render(){let{selected:t,showBackButton:s,versionPropertiesElementProps:{closable:l,currentUser:h,hasAdvEditingUte:p,state:v,strings:i,versionInfo:c},_mode:e,_ownerName:a,_versionName:r}=this,o=n`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${i.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${i.actions.saveVersion}</calcite-button></div>`,V=n`<calcite-label>${i.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${e==="edit"&&c.access==="public"||e==="create"} label=public>${i.accessLevels.public}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="protected"} label=protected>${i.accessLevels.protected}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="private"} label=private>${i.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,f=n`<calcite-label>${i.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${e==="edit"?c.description:""}></calcite-text-area></calcite-label>`,I=n`<calcite-label>${i.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${e==="edit"?r:""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,x=n`<calcite-label>${i.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!p} .value=${e==="edit"?a:h}></calcite-input-text></calcite-label>`,C=e==="create"?n`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${i.actions.switchToVersion}</calcite-label>`:void 0;return n`<calcite-flow-item .closable=${l} .description=${c?c.versionIdentifier.name:""} .heading=${c?i.actions.editVersion:i.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${u(this._flowItemElement)}><calcite-panel .loading=${v==="executing"}><calcite-block .label=${i.headers.versionProperties} open>${I}${f}${V}${x}${C}${o}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.29 */
4
- import{a as P,b as N}from"./5RDN3KFY.js";import c from"./WHGLKTKZ.js";import{a as C}from"./XRE4YCRR.js";import b from"./IAE4FOSC.js";import a from"./PUC7RUDW.js";import"./BPWVETWS.js";import"./4VKU2EN4.js";import"./WUKA3PA2.js";import{C as f,F as E,Q as S,R as L,V as _,k as w,l as d,q as V}from"./XIIS6IXK.js";import"./YIJUWSQM.js";export default $arcgis.t(([{once:$,watch:U},T,,,y])=>{var O=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,R=y(T),k="map-components:version-management",u=class extends S{constructor(){super(...arguments),this.flowElement=P(),this.messages=C({blocking:!0}),this.viewModel=R(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=O}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){$(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[U(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:s}=this,t=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){t&&this._removeVersionPropertiesFlowItem(i),s&&this._removeVersionListFlowItem(i);return}s&&(s.versionListElementProps={...s.versionListElementProps,executionError:this.viewModel.executionError},s.versionListElementProps={...s.versionListElementProps,state:e}),t&&(t.versionPropertiesElementProps={...t.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:s,viewModel:t,viewModel:{state:n}}=this,o={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:s}=this,{alterVersionParameters:t}=e.detail;await s.alterVersion(t).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:s}=this,{createVersionParameters:t,switchToVersion:n}=e.detail;s.createVersion(t).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),n&&await this.viewModel.changeVersion(t.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)})}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:s}=this,{url:t,name:n}=e,o=s.versioningStateLookup.get(t);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${t}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(t,!0),new Error(`${k} - version ${n} not found in the versioning state for feature service ${t}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&s.changeVersion(t,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:t}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(s,t);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:s,viewModel:t}=this;if(i){let n=await t.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},initialVersionInfos:t,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,F=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),b=m!=="disabled"?F.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:v.advancedEditingUserTypeExtensionLookup.get(l.url),heading:o,initialVersionInfos:t,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{s&&(this._removeVersionListFlowItem(s),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,A=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"component-container-flow")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${A}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${b}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};_("arcgis-version-management",u);return u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.29 */
4
- import{a as l,b as c}from"./5RDN3KFY.js";import{C as o,Q as v,V as I,k as u,l as s}from"./XIIS6IXK.js";import"./YIJUWSQM.js";var N=u`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends v{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=o(),this.arcgisFlowItemClose=o(),this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:V,currentUser:$,currentVersionIdentifier:d,executionError:g,hasAdvEditingUte:f,heading:_,isVersionAdministrator:E,isVersioningApiAvailable:m,pageSize:r,serviceName:w,serviceUrl:a,state:b,strings:{headers:p},strings:n,versionInfos:x}}=this,P=s`<calcite-block .heading=${p.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:a})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let C=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,F=this._paginate(this._paginatedVersionInfos,r,1).map(y=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:$,currentVersionIdentifier:d,isCurrentVersionCard:!1,hasAdvEditingUte:f,isVersionAdministrator:E,isVersioningApiAvailable:m,serviceUrl:a,strings:n,versionInfo:y}}></arcgis-version-management-version-item>`),L=x.length>r?s`<calcite-block heading .label=${p.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,U=s`<calcite-list .label=${n.labels.versionList}>${F}</calcite-list>`,B=m&&f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:a})}></calcite-fab>`:void 0,A=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${V} .description=${w} .heading=${_} .selected=${i} .showBackButton=${t} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${c(this._flowItemElement)}><calcite-panel .loading=${b==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${L}${U}${B}</calcite-panel>${C}${A}</calcite-panel></calcite-flow-item>`}};I("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.29 */
4
- import{C as t,F as V,Q as I,R as m,V as $,l as s,q as p}from"./XIIS6IXK.js";import"./YIJUWSQM.js";var g=class extends I{constructor(){super(...arguments),this._showInvalidVersionNotice=!0,this.arcgisCreateVersionList=t(),this.arcgisFlowItemBack=t(),this.arcgisFlowItemClose=t(),this.arcgisGetVersions=t(),this.arcgisManageVersion=t(),this.arcgisNewVersion=t()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this.versionListContainer?.remove()}render(){let{serviceItemElementProps:{allowEditing:b,closable:f,currentUser:u,executionError:w,currentVersionIdentifier:a,flowElement:E,hasAdvEditingUte:N,heading:C,isInitialVersionInvalid:x,isVersionAdministrator:A,isVersioningApiAvailable:U,mode:L,pageSize:M,serviceName:o,serviceUrl:c,state:k,strings:n,versionInfos:r}}=this,{_versionList:l}=this,S=x.get(c)&&this._showInvalidVersionNotice?s`<calcite-notice class=${m(this._showInvalidVersionNotice?"invalid-initial-version-notice":"")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${n.headers.invalidInitialVersion}</div><div slot=message>${n.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,_=s`<calcite-combobox clear-disabled .label=${o} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let d=i.target,e=r.find(y=>y.versionIdentifier.guid===d.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:e})}}>${r?r.map(i=>s`<calcite-combobox-item class=${m(L==="dialog"?"":"calcite-combobox-item")} .selected=${a.guid===i.versionIdentifier.guid&&a.name===i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return b&&(v=s`<calcite-action .id=${`actionManageVersions_${o}`} icon=list scale=s slot=control text @click=${async()=>{let i={closable:f,currentUser:u,currentVersionIdentifier:a,executionError:w,hasAdvEditingUte:N,heading:C,isVersionAdministrator:A,isVersioningApiAvailable:U,pageSize:M,serviceName:o,serviceUrl:c,state:k,strings:n,versionInfos:r};this.versionListContainer=document.createElement("div");let d=p(s`<arcgis-version-management-version-list .versionListElementProps=${i} selected show-back-button @arcgisFlowItemBack=${e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()}} @arcgisFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${e=>this.arcgisGetVersions.emit({serviceUrl:e.detail.serviceUrl})} @arcgisManageVersion=${e=>this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${e=>this.arcgisNewVersion.emit({serviceUrl:e.detail.serviceUrl})}></arcgis-version-management-version-list>`,this.versionListContainer);l=Array.from(d.parentNode.childNodes).find(e=>e.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"),E?.append(l),this.arcgisCreateVersionList.emit(l)}}></calcite-action>`,h=s`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${o}`}><span>${n.headers.manageVersions}</span></calcite-tooltip>`),s`<calcite-block open .heading=${o}>${S}${_}${v}${h}</calcite-block>`}};$("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};