@arcgis/map-components 4.33.0-next.6 → 4.33.0-next.60

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 (438) hide show
  1. package/dist/arcgis-map-components/{IZL6562P.js → 24TMHXO2.js} +2 -2
  2. package/dist/arcgis-map-components/24TMHXO2.js.LEGAL.txt +3 -0
  3. package/dist/arcgis-map-components/2CK7Z4YX.js +5 -0
  4. package/dist/arcgis-map-components/2CK7Z4YX.js.LEGAL.txt +3 -0
  5. package/dist/arcgis-map-components/32IENR7V.js +4 -0
  6. package/dist/arcgis-map-components/32IENR7V.js.LEGAL.txt +3 -0
  7. package/dist/arcgis-map-components/3DLOUMC5.js +5 -0
  8. package/dist/arcgis-map-components/3DLOUMC5.js.LEGAL.txt +3 -0
  9. package/dist/arcgis-map-components/3XDVGBBU.js +5 -0
  10. package/dist/arcgis-map-components/3XDVGBBU.js.LEGAL.txt +3 -0
  11. package/dist/arcgis-map-components/456HSDGZ.js +5 -0
  12. package/dist/arcgis-map-components/456HSDGZ.js.LEGAL.txt +3 -0
  13. package/dist/arcgis-map-components/4IKFZ55N.js +4 -0
  14. package/dist/arcgis-map-components/4IKFZ55N.js.LEGAL.txt +3 -0
  15. package/dist/arcgis-map-components/56LU3SVA.js +5 -0
  16. package/dist/arcgis-map-components/56LU3SVA.js.LEGAL.txt +3 -0
  17. package/dist/arcgis-map-components/5FWICCBD.js +5 -0
  18. package/dist/arcgis-map-components/5FWICCBD.js.LEGAL.txt +3 -0
  19. package/dist/arcgis-map-components/{QFIKEQMH.js → 5OTXWHPD.js} +2 -2
  20. package/dist/arcgis-map-components/5OTXWHPD.js.LEGAL.txt +3 -0
  21. package/dist/arcgis-map-components/6F3GV7NT.js +5 -0
  22. package/dist/arcgis-map-components/6F3GV7NT.js.LEGAL.txt +3 -0
  23. package/dist/arcgis-map-components/6J3NKE3R.js +4 -0
  24. package/dist/arcgis-map-components/6J3NKE3R.js.LEGAL.txt +3 -0
  25. package/dist/arcgis-map-components/6NMWWHHM.js +5 -0
  26. package/dist/arcgis-map-components/6NMWWHHM.js.LEGAL.txt +3 -0
  27. package/dist/arcgis-map-components/6P7OMT5P.js +5 -0
  28. package/dist/arcgis-map-components/6P7OMT5P.js.LEGAL.txt +3 -0
  29. package/dist/arcgis-map-components/7JL3PML3.js +5 -0
  30. package/dist/arcgis-map-components/7JL3PML3.js.LEGAL.txt +3 -0
  31. package/dist/arcgis-map-components/7TRKIVEO.js +5 -0
  32. package/dist/arcgis-map-components/7TRKIVEO.js.LEGAL.txt +3 -0
  33. package/dist/arcgis-map-components/AAWPUUOM.js +5 -0
  34. package/dist/arcgis-map-components/AAWPUUOM.js.LEGAL.txt +3 -0
  35. package/dist/arcgis-map-components/ARR7RZ36.js +5 -0
  36. package/dist/arcgis-map-components/ARR7RZ36.js.LEGAL.txt +3 -0
  37. package/dist/arcgis-map-components/BORZYCV2.js +5 -0
  38. package/dist/arcgis-map-components/BORZYCV2.js.LEGAL.txt +3 -0
  39. package/dist/arcgis-map-components/BS5NLKH2.js +5 -0
  40. package/dist/arcgis-map-components/BS5NLKH2.js.LEGAL.txt +3 -0
  41. package/dist/arcgis-map-components/BSBGP7KF.js +5 -0
  42. package/dist/arcgis-map-components/BSBGP7KF.js.LEGAL.txt +3 -0
  43. package/dist/arcgis-map-components/BTMERNCS.js +5 -0
  44. package/dist/arcgis-map-components/BTMERNCS.js.LEGAL.txt +3 -0
  45. package/dist/arcgis-map-components/BUZHZLP4.js +5 -0
  46. package/dist/arcgis-map-components/BUZHZLP4.js.LEGAL.txt +3 -0
  47. package/dist/arcgis-map-components/CKYNQ7IE.js +5 -0
  48. package/dist/arcgis-map-components/CKYNQ7IE.js.LEGAL.txt +3 -0
  49. package/dist/arcgis-map-components/CRETNBGN.js +5 -0
  50. package/dist/arcgis-map-components/CRETNBGN.js.LEGAL.txt +3 -0
  51. package/dist/arcgis-map-components/F6YDKX7M.js +5 -0
  52. package/dist/arcgis-map-components/F6YDKX7M.js.LEGAL.txt +3 -0
  53. package/dist/arcgis-map-components/FECQDBYR.js +4 -0
  54. package/dist/arcgis-map-components/FECQDBYR.js.LEGAL.txt +3 -0
  55. package/dist/arcgis-map-components/GL6OEGZT.js +5 -0
  56. package/dist/arcgis-map-components/GL6OEGZT.js.LEGAL.txt +3 -0
  57. package/dist/arcgis-map-components/GNKOERCE.js +5 -0
  58. package/dist/arcgis-map-components/GNKOERCE.js.LEGAL.txt +3 -0
  59. package/dist/arcgis-map-components/J6NIERYB.js +5 -0
  60. package/dist/arcgis-map-components/J6NIERYB.js.LEGAL.txt +3 -0
  61. package/dist/arcgis-map-components/JEB4YP4J.js +5 -0
  62. package/dist/arcgis-map-components/JEB4YP4J.js.LEGAL.txt +3 -0
  63. package/dist/arcgis-map-components/JFO67LM4.js +5 -0
  64. package/dist/arcgis-map-components/JFO67LM4.js.LEGAL.txt +3 -0
  65. package/dist/arcgis-map-components/JR7IA7DN.js +5 -0
  66. package/dist/arcgis-map-components/JR7IA7DN.js.LEGAL.txt +3 -0
  67. package/dist/arcgis-map-components/JS3X7SXN.js +5 -0
  68. package/dist/arcgis-map-components/JS3X7SXN.js.LEGAL.txt +3 -0
  69. package/dist/arcgis-map-components/KUMP5OH6.js +5 -0
  70. package/dist/arcgis-map-components/KUMP5OH6.js.LEGAL.txt +3 -0
  71. package/dist/arcgis-map-components/LIFZU4CN.js +5 -0
  72. package/dist/arcgis-map-components/LIFZU4CN.js.LEGAL.txt +3 -0
  73. package/dist/arcgis-map-components/LUUPS5GJ.js +5 -0
  74. package/dist/arcgis-map-components/LUUPS5GJ.js.LEGAL.txt +3 -0
  75. package/dist/arcgis-map-components/N5DXGSJZ.js +5 -0
  76. package/dist/arcgis-map-components/N5DXGSJZ.js.LEGAL.txt +3 -0
  77. package/dist/arcgis-map-components/NDDRHDM3.js +6 -0
  78. package/dist/arcgis-map-components/NDDRHDM3.js.LEGAL.txt +145 -0
  79. package/dist/arcgis-map-components/NEV6MACF.js +5 -0
  80. package/dist/arcgis-map-components/NEV6MACF.js.LEGAL.txt +3 -0
  81. package/dist/arcgis-map-components/NGMEIZ26.js +5 -0
  82. package/dist/arcgis-map-components/NGMEIZ26.js.LEGAL.txt +3 -0
  83. package/dist/arcgis-map-components/NOU2IZW2.js +5 -0
  84. package/dist/arcgis-map-components/NOU2IZW2.js.LEGAL.txt +3 -0
  85. package/dist/arcgis-map-components/OFRSD6D5.js +5 -0
  86. package/dist/arcgis-map-components/OFRSD6D5.js.LEGAL.txt +3 -0
  87. package/dist/arcgis-map-components/OLDKH4CQ.js +5 -0
  88. package/dist/arcgis-map-components/OLDKH4CQ.js.LEGAL.txt +3 -0
  89. package/dist/arcgis-map-components/OQUQODGP.js +5 -0
  90. package/dist/arcgis-map-components/OQUQODGP.js.LEGAL.txt +3 -0
  91. package/dist/arcgis-map-components/PVJVMO3P.js +5 -0
  92. package/dist/arcgis-map-components/PVJVMO3P.js.LEGAL.txt +3 -0
  93. package/dist/arcgis-map-components/Q3GLFX3V.js +5 -0
  94. package/dist/arcgis-map-components/Q3GLFX3V.js.LEGAL.txt +3 -0
  95. package/dist/arcgis-map-components/QXARYIMZ.js +5 -0
  96. package/dist/arcgis-map-components/QXARYIMZ.js.LEGAL.txt +3 -0
  97. package/dist/arcgis-map-components/R53T37ZK.js +5 -0
  98. package/dist/arcgis-map-components/R53T37ZK.js.LEGAL.txt +3 -0
  99. package/dist/arcgis-map-components/RBW3Y4FH.js +5 -0
  100. package/dist/arcgis-map-components/RBW3Y4FH.js.LEGAL.txt +3 -0
  101. package/dist/arcgis-map-components/RSPRA24I.js +5 -0
  102. package/dist/arcgis-map-components/RSPRA24I.js.LEGAL.txt +3 -0
  103. package/dist/arcgis-map-components/RWDPJCQC.js +5 -0
  104. package/dist/arcgis-map-components/RWDPJCQC.js.LEGAL.txt +3 -0
  105. package/dist/arcgis-map-components/SQMQRE6V.js +5 -0
  106. package/dist/arcgis-map-components/SQMQRE6V.js.LEGAL.txt +12 -0
  107. package/dist/arcgis-map-components/SSCLGJHH.js +5 -0
  108. package/dist/arcgis-map-components/SSCLGJHH.js.LEGAL.txt +3 -0
  109. package/dist/arcgis-map-components/SX4EWJYP.js +5 -0
  110. package/dist/arcgis-map-components/SX4EWJYP.js.LEGAL.txt +3 -0
  111. package/dist/arcgis-map-components/TBDJ6UFO.js +5 -0
  112. package/dist/arcgis-map-components/TBDJ6UFO.js.LEGAL.txt +3 -0
  113. package/dist/arcgis-map-components/THCSBTCG.js +5 -0
  114. package/dist/arcgis-map-components/THCSBTCG.js.LEGAL.txt +3 -0
  115. package/dist/arcgis-map-components/TIAN3VUL.js +5 -0
  116. package/dist/arcgis-map-components/TIAN3VUL.js.LEGAL.txt +3 -0
  117. package/dist/arcgis-map-components/TIU4P72B.js +5 -0
  118. package/dist/arcgis-map-components/TIU4P72B.js.LEGAL.txt +3 -0
  119. package/dist/arcgis-map-components/TQBLFGMM.js +5 -0
  120. package/dist/arcgis-map-components/TQBLFGMM.js.LEGAL.txt +3 -0
  121. package/dist/arcgis-map-components/TUDMH75H.js +5 -0
  122. package/dist/arcgis-map-components/TUDMH75H.js.LEGAL.txt +3 -0
  123. package/dist/arcgis-map-components/TVF6EHOX.js +4 -0
  124. package/dist/arcgis-map-components/TVF6EHOX.js.LEGAL.txt +3 -0
  125. package/dist/arcgis-map-components/UB3C4HX5.js +5 -0
  126. package/dist/arcgis-map-components/UB3C4HX5.js.LEGAL.txt +3 -0
  127. package/dist/arcgis-map-components/USYRSCT3.js +5 -0
  128. package/dist/arcgis-map-components/USYRSCT3.js.LEGAL.txt +3 -0
  129. package/dist/arcgis-map-components/V3M2M5JK.js +5 -0
  130. package/dist/arcgis-map-components/V3M2M5JK.js.LEGAL.txt +3 -0
  131. package/dist/arcgis-map-components/VSJEKQKI.js +4 -0
  132. package/dist/arcgis-map-components/VSJEKQKI.js.LEGAL.txt +3 -0
  133. package/dist/arcgis-map-components/WGBOXF7S.js +5 -0
  134. package/dist/arcgis-map-components/WGBOXF7S.js.LEGAL.txt +3 -0
  135. package/dist/arcgis-map-components/XCQMVJD7.js +5 -0
  136. package/dist/arcgis-map-components/XCQMVJD7.js.LEGAL.txt +3 -0
  137. package/dist/arcgis-map-components/XQKSYJKB.js +4 -0
  138. package/dist/arcgis-map-components/XQKSYJKB.js.LEGAL.txt +3 -0
  139. package/dist/arcgis-map-components/YG5SST2Q.js +5 -0
  140. package/dist/arcgis-map-components/YG5SST2Q.js.LEGAL.txt +3 -0
  141. package/dist/arcgis-map-components/YIHRTHY4.js +5 -0
  142. package/dist/arcgis-map-components/YIHRTHY4.js.LEGAL.txt +3 -0
  143. package/dist/arcgis-map-components/YLEAH5K5.js +4 -0
  144. package/dist/arcgis-map-components/YLEAH5K5.js.LEGAL.txt +15 -0
  145. package/dist/arcgis-map-components/YSXNPP2Y.js +4 -0
  146. package/dist/arcgis-map-components/YSXNPP2Y.js.LEGAL.txt +3 -0
  147. package/dist/arcgis-map-components/Z3S7IXUZ.js +4 -0
  148. package/dist/arcgis-map-components/Z3S7IXUZ.js.LEGAL.txt +0 -0
  149. package/dist/arcgis-map-components/ZBFJFUD6.js +5 -0
  150. package/dist/arcgis-map-components/ZBFJFUD6.js.LEGAL.txt +3 -0
  151. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  152. package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +3 -0
  153. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ar.json +1 -1
  154. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.bg.json +1 -1
  155. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.bs.json +1 -1
  156. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ca.json +1 -1
  157. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.cs.json +1 -1
  158. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.da.json +1 -1
  159. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.de.json +1 -1
  160. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.el.json +1 -1
  161. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.es.json +1 -1
  162. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.et.json +1 -1
  163. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.fi.json +1 -1
  164. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.fr.json +1 -1
  165. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.he.json +1 -1
  166. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.hr.json +1 -1
  167. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.hu.json +1 -1
  168. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.id.json +1 -1
  169. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.it.json +1 -1
  170. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ja.json +1 -1
  171. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ko.json +1 -1
  172. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.lt.json +1 -1
  173. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.lv.json +1 -1
  174. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.nl.json +1 -1
  175. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.no.json +1 -1
  176. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pl.json +1 -1
  177. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pt-BR.json +1 -1
  178. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pt-PT.json +1 -1
  179. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ro.json +1 -1
  180. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ru.json +1 -1
  181. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sk.json +1 -1
  182. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sl.json +1 -1
  183. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sr.json +1 -1
  184. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sv.json +1 -1
  185. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.th.json +1 -1
  186. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.tr.json +1 -1
  187. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.uk.json +1 -1
  188. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.vi.json +1 -1
  189. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-CN.json +1 -1
  190. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-HK.json +1 -1
  191. package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-TW.json +1 -1
  192. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ar.json +1 -1
  193. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -1
  194. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -1
  195. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -1
  196. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -1
  197. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -1
  198. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -1
  199. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -1
  200. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -1
  201. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -1
  202. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -1
  203. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -1
  204. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -1
  205. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -1
  206. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -1
  207. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -1
  208. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -1
  209. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -1
  210. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -1
  211. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -1
  212. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -1
  213. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -1
  214. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -1
  215. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -1
  216. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -1
  217. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -1
  218. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -1
  219. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -1
  220. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -1
  221. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -1
  222. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -1
  223. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -1
  224. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -1
  225. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -1
  226. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -1
  227. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -1
  228. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -1
  229. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -1
  230. package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -1
  231. package/dist/chunks/basemap-gallery-resources.js +23 -0
  232. package/dist/chunks/component-utils.js +84 -84
  233. package/dist/chunks/globalCss.js +2 -36
  234. package/dist/chunks/legacyIcon.js +4 -100
  235. package/dist/chunks/runtime.js +1 -1
  236. package/dist/chunks/useView.js +6 -6
  237. package/dist/chunks/useViewModel.js +1 -1
  238. package/dist/chunks/useWidget.js +2 -2
  239. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +6 -1
  240. package/dist/components/arcgis-area-measurement-2d/customElement.js +20 -12
  241. package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -7
  242. package/dist/components/arcgis-attachments/customElement.js +4 -4
  243. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -1
  244. package/dist/components/arcgis-basemap-gallery/customElement.js +48 -54
  245. package/dist/components/arcgis-basemap-gallery/index.d.ts +1 -0
  246. package/dist/components/arcgis-basemap-gallery/index.js +1 -0
  247. package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/customElement.d.ts +6 -5
  248. package/dist/components/arcgis-basemap-gallery-item/customElement.js +64 -0
  249. package/dist/components/arcgis-basemap-layer-list/customElement.js +4 -4
  250. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +14 -5
  251. package/dist/components/arcgis-basemap-toggle/customElement.js +12 -12
  252. package/dist/components/arcgis-bookmarks/customElement.js +4 -4
  253. package/dist/components/arcgis-building-explorer/customElement.js +4 -4
  254. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -9
  255. package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
  256. package/dist/components/arcgis-compass/customElement.d.ts +7 -0
  257. package/dist/components/arcgis-compass/customElement.js +12 -12
  258. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -1
  259. package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
  260. package/dist/components/arcgis-daylight/customElement.js +4 -4
  261. package/dist/components/arcgis-directional-pad/customElement.d.ts +5 -2
  262. package/dist/components/arcgis-directional-pad/customElement.js +30 -29
  263. package/dist/components/arcgis-directions/customElement.js +22 -21
  264. package/dist/components/arcgis-directline-measurement-3d/customElement.js +4 -4
  265. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -0
  266. package/dist/components/arcgis-distance-measurement-2d/customElement.js +16 -8
  267. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  268. package/dist/components/arcgis-editor/customElement.js +4 -4
  269. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  270. package/dist/components/arcgis-elevation-profile/customElement.js +4 -4
  271. package/dist/components/arcgis-expand/customElement.d.ts +8 -1
  272. package/dist/components/arcgis-expand/customElement.js +11 -11
  273. package/dist/components/arcgis-feature/customElement.d.ts +12 -1
  274. package/dist/components/arcgis-feature/customElement.js +12 -12
  275. package/dist/components/arcgis-feature-form/customElement.js +4 -4
  276. package/dist/components/arcgis-feature-table/customElement.d.ts +14 -4
  277. package/dist/components/arcgis-feature-table/customElement.js +14 -14
  278. package/dist/components/arcgis-feature-templates/customElement.js +4 -4
  279. package/dist/components/arcgis-features/customElement.js +4 -4
  280. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  281. package/dist/components/arcgis-floor-filter/customElement.js +4 -4
  282. package/dist/components/arcgis-fullscreen/customElement.d.ts +7 -4
  283. package/dist/components/arcgis-fullscreen/customElement.js +10 -12
  284. package/dist/components/arcgis-histogram/customElement.js +4 -4
  285. package/dist/components/arcgis-histogram-range-slider/customElement.js +4 -4
  286. package/dist/components/arcgis-home/customElement.d.ts +9 -10
  287. package/dist/components/arcgis-home/customElement.js +2 -2
  288. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  289. package/dist/components/arcgis-layer-list/customElement.js +4 -4
  290. package/dist/components/arcgis-legend/customElement.d.ts +1 -0
  291. package/dist/components/arcgis-legend/customElement.js +9 -9
  292. package/dist/components/arcgis-line-of-sight/customElement.js +4 -4
  293. package/dist/components/arcgis-link-chart/customElement.d.ts +28 -4
  294. package/dist/components/arcgis-link-chart/customElement.js +60 -44
  295. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -3
  296. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
  297. package/dist/components/arcgis-locate/customElement.d.ts +6 -0
  298. package/dist/components/arcgis-locate/customElement.js +11 -11
  299. package/dist/components/arcgis-map/customElement.d.ts +78 -9
  300. package/dist/components/arcgis-map/customElement.js +59 -35
  301. package/dist/components/arcgis-measurement/customElement.js +8 -8
  302. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  303. package/dist/components/arcgis-navigation-toggle/customElement.js +23 -20
  304. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -0
  305. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -9
  306. package/dist/components/arcgis-placement/customElement.js +24 -18
  307. package/dist/components/arcgis-print/customElement.d.ts +1 -0
  308. package/dist/components/arcgis-print/customElement.js +4 -4
  309. package/dist/components/arcgis-scale-bar/customElement.d.ts +18 -2
  310. package/dist/components/arcgis-scale-bar/customElement.js +9 -9
  311. package/dist/components/arcgis-scale-range-slider/customElement.js +6 -6
  312. package/dist/components/arcgis-scene/customElement.d.ts +372 -96
  313. package/dist/components/arcgis-scene/customElement.js +171 -75
  314. package/dist/components/arcgis-search/customElement.d.ts +8 -1
  315. package/dist/components/arcgis-search/customElement.js +4 -4
  316. package/dist/components/arcgis-shadow-cast/customElement.js +6 -6
  317. package/dist/components/arcgis-sketch/customElement.d.ts +4 -1
  318. package/dist/components/arcgis-sketch/customElement.js +14 -14
  319. package/dist/components/arcgis-slice/customElement.js +4 -4
  320. package/dist/components/arcgis-slider/customElement.js +7 -7
  321. package/dist/components/arcgis-swipe/customElement.d.ts +12 -7
  322. package/dist/components/arcgis-swipe/customElement.js +2 -2
  323. package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
  324. package/dist/components/arcgis-table-list/customElement.js +4 -4
  325. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  326. package/dist/components/arcgis-time-slider/customElement.js +7 -7
  327. package/dist/components/arcgis-track/customElement.d.ts +14 -1
  328. package/dist/components/arcgis-track/customElement.js +14 -14
  329. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +4 -1
  330. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  331. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +55 -5
  332. package/dist/components/arcgis-utility-network-trace/customElement.js +19 -98
  333. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +67 -13
  334. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +31 -55
  335. package/dist/components/arcgis-value-picker/customElement.js +4 -4
  336. package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
  337. package/dist/components/arcgis-version-management/customElement.js +61 -61
  338. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +1 -1
  339. package/dist/components/arcgis-version-management-service-item/customElement.js +24 -24
  340. package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
  341. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  342. package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
  343. package/dist/components/arcgis-weather/customElement.d.ts +9 -1
  344. package/dist/components/arcgis-weather/customElement.js +6 -6
  345. package/dist/components/arcgis-zoom/customElement.d.ts +5 -2
  346. package/dist/components/arcgis-zoom/customElement.js +9 -9
  347. package/dist/docs/api.json +2608 -1354
  348. package/dist/docs/docs.json +1867 -1131
  349. package/dist/docs/vscode.html-custom-data.json +280 -151
  350. package/dist/docs/web-types.json +1035 -536
  351. package/dist/index.d.ts +2 -0
  352. package/dist/index.js +1 -1
  353. package/dist/loader.js +15 -14
  354. package/dist/testing/fixtures.d.ts +51 -0
  355. package/dist/testing/testUtils.d.ts +6 -0
  356. package/dist/types/lumina.d.ts +11 -9
  357. package/dist/types/preact.d.ts +11 -9
  358. package/dist/types/react.d.ts +11 -9
  359. package/dist/types/stencil.d.ts +11 -9
  360. package/dist/utils/component-utils.d.ts +3 -2
  361. package/package.json +7 -7
  362. package/dist/arcgis-map-components/26WPBNEC.js +0 -4
  363. package/dist/arcgis-map-components/2G434AHJ.js +0 -4
  364. package/dist/arcgis-map-components/3AEIBQ7A.js +0 -4
  365. package/dist/arcgis-map-components/3W2QRUGT.js +0 -4
  366. package/dist/arcgis-map-components/45RSKBVQ.js +0 -4
  367. package/dist/arcgis-map-components/4W6DW7FZ.js +0 -4
  368. package/dist/arcgis-map-components/5LR2UY57.js +0 -4
  369. package/dist/arcgis-map-components/5M23BIJN.js +0 -4
  370. package/dist/arcgis-map-components/5MG2SLIH.js +0 -4
  371. package/dist/arcgis-map-components/5R7IBMIU.js +0 -4
  372. package/dist/arcgis-map-components/6BRA3H5R.js +0 -4
  373. package/dist/arcgis-map-components/6L67GPXK.js +0 -4
  374. package/dist/arcgis-map-components/AIS6XRCA.js +0 -4
  375. package/dist/arcgis-map-components/CDPTHN7M.js +0 -4
  376. package/dist/arcgis-map-components/CY4RD5EZ.js +0 -4
  377. package/dist/arcgis-map-components/DGRHXGIJ.js +0 -4
  378. package/dist/arcgis-map-components/DJTAB5YJ.js +0 -4
  379. package/dist/arcgis-map-components/DS5UY4A5.js +0 -4
  380. package/dist/arcgis-map-components/F6KVHAW5.js +0 -4
  381. package/dist/arcgis-map-components/FAD4QCY5.js +0 -4
  382. package/dist/arcgis-map-components/G4NQLVDM.js +0 -4
  383. package/dist/arcgis-map-components/G5MYZSXI.js +0 -4
  384. package/dist/arcgis-map-components/GF7DQ2HF.js +0 -4
  385. package/dist/arcgis-map-components/GOF2ZPQO.js +0 -4
  386. package/dist/arcgis-map-components/GYOFX6GM.js +0 -4
  387. package/dist/arcgis-map-components/HGRPMJYS.js +0 -4
  388. package/dist/arcgis-map-components/HHCDTRYJ.js +0 -4
  389. package/dist/arcgis-map-components/I2XGQGQT.js +0 -4
  390. package/dist/arcgis-map-components/I3UH6WIZ.js +0 -4
  391. package/dist/arcgis-map-components/I72ZBGF7.js +0 -4
  392. package/dist/arcgis-map-components/ICI2QOLA.js +0 -4
  393. package/dist/arcgis-map-components/ILW2SXFG.js +0 -4
  394. package/dist/arcgis-map-components/IY27NX4K.js +0 -4
  395. package/dist/arcgis-map-components/J4JR5EEX.js +0 -4
  396. package/dist/arcgis-map-components/JE3RL5CN.js +0 -4
  397. package/dist/arcgis-map-components/KCOSPAM2.js +0 -4
  398. package/dist/arcgis-map-components/KXSIMLV4.js +0 -4
  399. package/dist/arcgis-map-components/L3EUZ3I3.js +0 -4
  400. package/dist/arcgis-map-components/L4MMMLN7.js +0 -4
  401. package/dist/arcgis-map-components/LLXR34C3.js +0 -4
  402. package/dist/arcgis-map-components/LTLMO4VR.js +0 -4
  403. package/dist/arcgis-map-components/LUVATZTZ.js +0 -4
  404. package/dist/arcgis-map-components/LWJ7XGPK.js +0 -4
  405. package/dist/arcgis-map-components/LX5BA6TS.js +0 -4
  406. package/dist/arcgis-map-components/LYR353RS.js +0 -4
  407. package/dist/arcgis-map-components/MA4JQKZW.js +0 -4
  408. package/dist/arcgis-map-components/MBLOZCXC.js +0 -4
  409. package/dist/arcgis-map-components/MU55G7BC.js +0 -4
  410. package/dist/arcgis-map-components/MXLBD6WM.js +0 -4
  411. package/dist/arcgis-map-components/NHFTLDIR.js +0 -4
  412. package/dist/arcgis-map-components/NWYMXX23.js +0 -4
  413. package/dist/arcgis-map-components/OKRYFOXT.js +0 -4
  414. package/dist/arcgis-map-components/PCEBHQ4H.js +0 -4
  415. package/dist/arcgis-map-components/PSWEKZOM.js +0 -4
  416. package/dist/arcgis-map-components/PV4PB5SF.js +0 -4
  417. package/dist/arcgis-map-components/QKBF6VGX.js +0 -4
  418. package/dist/arcgis-map-components/RMLEZPHC.js +0 -4
  419. package/dist/arcgis-map-components/S3O3LY3V.js +0 -4
  420. package/dist/arcgis-map-components/SOTBSA63.js +0 -6
  421. package/dist/arcgis-map-components/TJILDT5D.js +0 -4
  422. package/dist/arcgis-map-components/TXLHIVWF.js +0 -4
  423. package/dist/arcgis-map-components/UBINEOZD.js +0 -4
  424. package/dist/arcgis-map-components/UKEHTE3Y.js +0 -4
  425. package/dist/arcgis-map-components/UZ7QNRXJ.js +0 -4
  426. package/dist/arcgis-map-components/V2GMLJUR.js +0 -4
  427. package/dist/arcgis-map-components/VCZGAQCB.js +0 -4
  428. package/dist/arcgis-map-components/VPUYYO32.js +0 -4
  429. package/dist/arcgis-map-components/WZACTK7R.js +0 -4
  430. package/dist/arcgis-map-components/XA27VVWC.js +0 -4
  431. package/dist/arcgis-map-components/XLCKXKWC.js +0 -4
  432. package/dist/arcgis-map-components/ZASSP5GW.js +0 -4
  433. package/dist/arcgis-map-components/ZRIOISKT.js +0 -4
  434. package/dist/chunks/basemap-gallery-item.js +0 -53
  435. package/dist/chunks/disconnected.js +0 -16
  436. package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +0 -12
  437. /package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/index.d.ts +0 -0
  438. /package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/index.js +0 -0
@@ -1,16 +1,16 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { makeAccessorController as r, reEmitEvent as t, accessorSupport as v } from "@arcgis/components-controllers/accessor";
1
+ import { c as v } from "../../chunks/runtime.js";
2
+ import { makeAccessorController as h, reEmitEvent as e, accessorSupport as d } from "@arcgis/components-controllers/accessor";
3
3
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
- import d from "@arcgis/core/views/LinkChartView.js";
5
- import l from "@arcgis/core/WebLinkChart.js";
6
- import { LitElement as p, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
7
- import { e as h, i as g } from "../../chunks/component-utils.js";
4
+ import p from "@arcgis/core/views/LinkChartView.js";
5
+ import n from "@arcgis/core/WebLinkChart.js";
6
+ import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
7
+ import { b as r, i as g } from "../../chunks/component-utils.js";
8
8
  import { css as y } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.6 */
12
- const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f = r(
13
- l,
11
+ v4.33.0-next.60 */
12
+ const u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = h(
13
+ n,
14
14
  /**
15
15
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
16
16
  * a hack to remove them from the runtime code. This argument is not used at
@@ -20,15 +20,15 @@ const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f =
20
20
  * in an externalized package.
21
21
  */
22
22
  {}
23
- ), V = r(d, {});
24
- class b extends p {
23
+ ), _ = h(p, {});
24
+ class V extends l {
25
25
  constructor() {
26
- super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, {
26
+ super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this._map = f(this, {
27
27
  editConstructorProperties: this._editMapProperties
28
- }), this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this.view = V(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
28
+ }), this.view = _(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
29
29
  }
30
30
  static {
31
- this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
31
+ this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
32
32
  }
33
33
  static {
34
34
  this.shadowRootOptions = m;
@@ -47,8 +47,8 @@ class b extends p {
47
47
  return this.view.center ?? this._center;
48
48
  }
49
49
  set center(i) {
50
- const e = h(i, this.ready ? this.view : void 0);
51
- e && (this.ready && (this.view.center = e), this._center = e);
50
+ const t = r(i, this.ready ? this.view : void 0);
51
+ t && (this.ready && (this.view.center = t), this._center = t);
52
52
  }
53
53
  /**
54
54
  * The extent represents the visible portion of a link chart within the view as an instance of
@@ -75,9 +75,9 @@ class b extends p {
75
75
  return this._map.portalItem?.id ?? this._itemId;
76
76
  }
77
77
  set itemId(i) {
78
- this._itemId = i, this.ready && v.reCreate(this._map, this).then(() => {
78
+ this._itemId = i, this.ready ? d.reCreate(this._map, this).then(() => {
79
79
  this.view.map = this._map;
80
- }).catch(console.error);
80
+ }).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new n(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
81
81
  }
82
82
  /** Indication whether the view is being navigated (for example when panning). */
83
83
  get navigating() {
@@ -125,15 +125,23 @@ class b extends p {
125
125
  set zoom(i) {
126
126
  this.ready && (this.view.zoom = i), this._zoom = i;
127
127
  }
128
- // #endregion
129
- // #region Public Methods
130
- /** Adds a layer to the layers collection. */
131
- async addLayer(i, e) {
132
- this.map?.add(i, e);
128
+ //#endregion
129
+ //#region Public Methods
130
+ /**
131
+ * @deprecated since version 4.33. Use `element.map.add(layer)` instead.
132
+ *
133
+ * Adds a layer to the map layers collection.
134
+ * */
135
+ async addLayer(i, t) {
136
+ this.map?.add(i, t);
133
137
  }
134
- /** Adds a layer or array of layers to the layers collection. */
135
- async addLayers(i, e) {
136
- this.map?.addMany(i, e);
138
+ /**
139
+ * @deprecated since version 4.33. Use `element.map.addMany([layer])` instead.
140
+ *
141
+ * Adds a layer or array of layers to the map layers collection.
142
+ * */
143
+ async addLayers(i, t) {
144
+ this.map?.addMany(i, t);
137
145
  }
138
146
  /** Closes the popup. */
139
147
  async closePopup() {
@@ -144,8 +152,8 @@ class b extends p {
144
152
  await this.manager.destroy();
145
153
  }
146
154
  /** Sets the view to a given target. */
147
- async goTo(i, e) {
148
- return await this.view?.goTo(i, e);
155
+ async goTo(i, t) {
156
+ return await this.view?.goTo(i, t);
149
157
  }
150
158
  /**
151
159
  * Opens the popup at the given location with content defined either explicitly with content or driven
@@ -157,8 +165,8 @@ class b extends p {
157
165
  toMap(i) {
158
166
  return this.view.toMap(i);
159
167
  }
160
- toScreen(i, e) {
161
- return this.view.toScreen(i, e);
168
+ toScreen(i, t) {
169
+ return this.view.toScreen(i, t);
162
170
  }
163
171
  /** Call this method to clear any fatal errors resulting from a lost WebGL context. */
164
172
  async tryFatalErrorRecovery() {
@@ -168,10 +176,18 @@ class b extends p {
168
176
  async whenLayerView(i) {
169
177
  return await this.view?.whenLayerView(i);
170
178
  }
171
- // #endregion
172
- // #region Lifecycle
179
+ /**
180
+ * `viewOnReady()` may be leveraged once an instance of the component is created and ready.
181
+ * This method takes two input parameters: a `callback` function and an `errback` function.
182
+ */
183
+ async viewOnReady(i, t) {
184
+ return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
185
+ }
186
+ //#endregion
187
+ //#region Lifecycle
173
188
  load() {
174
- this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-link-chart"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
189
+ const i = this;
190
+ i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
175
191
  }
176
192
  loaded() {
177
193
  this.manager.onLifecycle(() => [
@@ -183,24 +199,24 @@ class b extends p {
183
199
  }, { initial: this.view.ready })
184
200
  ]);
185
201
  }
186
- // #endregion
187
- // #region Private Methods
202
+ //#endregion
203
+ //#region Private Methods
188
204
  _editMapProperties(i) {
189
- this.map && (this._map = this.map), this.itemId ? i.portalItem = { id: this.itemId } : this.basemap ? this.basemap === "none" && (i.basemap = void 0, this.basemap = null) : i.basemap = "topo-vector";
190
- const { basemap: e, ...n } = i;
191
- e || (i = n);
192
- const { ground: o, ...w } = i;
193
- return o || (i = w), i;
205
+ this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
206
+ const { basemap: t, ...o } = i;
207
+ t || (i = o);
208
+ const { ground: w, ...c } = i;
209
+ return w || (i = c), i;
194
210
  }
195
211
  async _editViewProperties(i) {
196
212
  await this.manager.use(this._map), this.view.ui || (i.ui = {
197
213
  components: ["attribution"]
198
214
  }), i.map ??= this._map;
199
- const e = h(this.center, void 0);
200
- return e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
215
+ const t = r(this.center, void 0);
216
+ return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
201
217
  }
202
218
  }
203
- c("arcgis-link-chart", b);
219
+ v("arcgis-link-chart", V);
204
220
  export {
205
- b as ArcgisLinkChart
221
+ V as ArcgisLinkChart
206
222
  };
@@ -26,9 +26,10 @@ declare const useLinkChartLayoutSwitcherViewModel: (component: import('@arcgis/c
26
26
  } & Pick<LinkChartLayoutSwitcherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LinkChartLayoutSwitcherViewModel>, options?: {
27
27
  editConstructorProperties(props: unknown): unknown;
28
28
  } | undefined) => LinkChartLayoutSwitcherViewModel;
29
- /**
30
- * A widget for use in link charts that allows users to switch between different layouts.
31
- * See [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm) for more details.
29
+ /** A component for use in link charts that allows users to switch between different layouts. See [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm) for more details.
30
+
31
+
32
+ Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
32
33
  */
33
34
  export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
34
35
  /**
@@ -11,8 +11,8 @@ import { LitElement as p, createEvent as y, noShadowRoot as w, safeClassMap as a
11
11
  import { css as f } from "@lit/reactive-element/css-tag.js";
12
12
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
13
13
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
14
- v4.33.0-next.6 */
15
- const b = f`arcgis-link-chart-layout-switcher{display:block}`, k = {
14
+ v4.33.0-next.60 */
15
+ const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
16
16
  basicLayoutCategory: [
17
17
  "basic-grid"
18
18
  /* SIMPLE */
@@ -27,17 +27,23 @@ export declare class ArcgisLocate extends LitElement {
27
27
  */
28
28
  autoDestroyDisabled: boolean;
29
29
  geolocationOptions: any;
30
+ /** @default false */
30
31
  goToLocationDisabled: boolean;
31
32
  goToOverride: nullish | __esri.GoToOverride;
32
33
  graphic: __esri.Graphic;
33
34
  icon: Nil | string;
34
35
  /** The component's default label. */
35
36
  label: Nil | string;
37
+ /** Replace localized message strings with your own strings. */
36
38
  messageOverrides?: typeof this.messages._overrides;
39
+ /** @default false */
37
40
  popupDisabled: boolean;
38
41
  position: __esri.UIPosition;
39
42
  referenceElement: ArcgisReferenceElement | Nil | string;
40
43
  scale: number | nullish;
44
+ /**
45
+ * The current state of the component.
46
+ */
41
47
  readonly state: "ready" | "disabled" | "error" | "feature-unsupported" | "locating";
42
48
  /**
43
49
  * This function provides the ability to interrupt and cancel the process of
@@ -4,16 +4,16 @@ import { usePropertyChange as g } from "@arcgis/components-controllers";
4
4
  import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
5
5
  import { classes as u } from "@arcgis/components-utils";
6
6
  import f from "@arcgis/core/widgets/Locate/LocateViewModel.js";
7
- import { LitElement as v, createEvent as w, noShadowRoot as E, safeClassMap as c, nothing as b } from "@arcgis/lumina";
7
+ import { LitElement as v, createEvent as w, noShadowRoot as E, safeClassMap as l, nothing as b } from "@arcgis/lumina";
8
8
  import { u as M } from "../../chunks/useView.js";
9
9
  import { m as y } from "../../chunks/useViewModel.js";
10
- import { g as l } from "../../chunks/globalCss.js";
10
+ import { g as c } from "../../chunks/globalCss.js";
11
11
  import { l as $ } from "../../chunks/legacyIcon.js";
12
12
  import { css as L } from "@lit/reactive-element/css-tag.js";
13
13
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
14
14
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
15
- v4.33.0-next.6 */
16
- const D = L`arcgis-locate{display:block}`, O = {
15
+ v4.33.0-next.60 */
16
+ const D = L`@layer{arcgis-locate{display:block}}`, O = {
17
17
  base: "esri-locate"
18
18
  }, n = "gps-off", T = y(f);
19
19
  class I extends v {
@@ -29,8 +29,8 @@ class I extends v {
29
29
  static {
30
30
  this.styles = D;
31
31
  }
32
- // #endregion
33
- // #region Public Methods
32
+ //#endregion
33
+ //#region Public Methods
34
34
  /**
35
35
  * This function provides the ability to interrupt and cancel the process of
36
36
  * programmatically obtaining the location of the user's device.
@@ -45,8 +45,8 @@ class I extends v {
45
45
  async locate() {
46
46
  return await this.viewModel.locate();
47
47
  }
48
- // #endregion
49
- // #region Private Methods
48
+ //#endregion
49
+ //#region Private Methods
50
50
  _localizeError(e) {
51
51
  if (e instanceof GeolocationPositionError)
52
52
  return e.code === GeolocationPositionError.PERMISSION_DENIED ? this.messages?.permissionError : e.code === GeolocationPositionError.TIMEOUT ? this.messages?.timeoutError : this.messages?.positionUnavailable;
@@ -58,11 +58,11 @@ class I extends v {
58
58
  e.state === "locating" ? e.cancelLocate() : e.locate().catch(() => {
59
59
  });
60
60
  }
61
- // #endregion
62
- // #region Rendering
61
+ //#endregion
62
+ //#region Rendering
63
63
  render() {
64
64
  const { viewModel: e, icon: d } = this, { state: o } = e, i = o === "locating", s = i ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = $ === void 0 ? n : void 0, a = this._localizeError(this.viewModel?.error);
65
- return t`<div class=${c(u(O.base, l.widget))}>${!h && t`<calcite-button class=${c(l.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? b}>${i ? t`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${a ? t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${a}</calcite-tooltip>` : null}</div>`;
65
+ return t`<div class=${l(u(O.base, c.widget))}>${!h && t`<calcite-button class=${l(c.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? b}>${i ? t`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${a ? t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${a}</calcite-tooltip>` : null}</div>`;
66
66
  }
67
67
  }
68
68
  m("arcgis-locate", I);
@@ -4,7 +4,7 @@ import { Use } from '@arcgis/components-controllers';
4
4
  import { Nil } from '@arcgis/components-utils';
5
5
  import { default as MapView } from '@arcgis/core/views/MapView.js';
6
6
  import { default as WebMap } from '@arcgis/core/WebMap.js';
7
- import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
7
+ import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
8
8
 
9
9
  declare const useWebMap: (component: import('@arcgis/components-controllers').StencilLifecycles & {
10
10
  manager: import('@arcgis/components-controllers').ControllerManager;
@@ -30,7 +30,44 @@ declare const useMapView: (component: import('@arcgis/components-controllers').S
30
30
  }, options?: {
31
31
  editConstructorProperties(props: __esri.MapViewProperties | undefined): __esri.MapViewProperties | Promise<__esri.MapViewProperties | undefined> | undefined;
32
32
  } | undefined) => MapView;
33
- /** Loads a WebMap from [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) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
33
+ /** The ArcGIS Map Component is used to add 2D maps to web applications. For 3D maps, use the
34
+ * [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
35
+ *
36
+ * The 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).
37
+ *
38
+ * ```html
39
+ * <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
40
+ * ```
41
+ *
42
+ * Alternatively, the Map component can be initialized without a WebMap item.
43
+ *
44
+ * ```html
45
+ * <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
46
+ * ```
47
+ *
48
+ * Other components can be added and connected to the Map component.
49
+
50
+ * ```html
51
+ * <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca">
52
+ * <arcgis-zoom position="top-left"></arcgis-zoom>
53
+ * <arcgis-legend position="bottom-left"></arcgis-legend>
54
+ * </arcgis-map>
55
+ * ```
56
+ *
57
+ * The 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.
58
+ *
59
+ * ```js
60
+ * const arcgisMap = document.querySelector("arcgis-map");
61
+ * arcgisMap.addEventListener("arcgisViewReadyChange", () => {
62
+ * const layer = new GraphicsLayer({ title: "My Layer" });
63
+ * arcgisMap.map.add(layer);
64
+ * });
65
+ * ```
66
+ *
67
+ * See also:
68
+ * - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
69
+ * - [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)
70
+ * - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
34
71
  */
35
72
  export declare class ArcgisMap extends LitElement {
36
73
  /** Internal view of the component. */
@@ -55,8 +92,13 @@ export declare class ArcgisMap extends LitElement {
55
92
  background: nullish | __esri.ColorBackground;
56
93
  /**
57
94
  * Specifies a basemap for the map. The basemap is a set of layers that give
58
- * geographic context to the MapView or SceneView and the other operational layers
95
+ * geographic context to the view and the other operational layers
59
96
  * in the map.
97
+ * It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)),
98
+ * [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html)
99
+ * or [BasemapStyle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-BasemapStyle.html).
100
+ *
101
+ * [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap)
60
102
  */
61
103
  basemap: __esri.Basemap | nullish | string;
62
104
  /** Represents the view for a single basemap after it has been added to the map. */
@@ -75,6 +117,8 @@ export declare class ArcgisMap extends LitElement {
75
117
  /**
76
118
  * Indicates whether layer's displayFilter are honored when rendering layers in the view.
77
119
  * If `false`, display filters are ignored and all features are rendered.
120
+ *
121
+ * @default false
78
122
  */
79
123
  displayFilterDisabled: boolean;
80
124
  /**
@@ -92,7 +136,7 @@ export declare class ArcgisMap extends LitElement {
92
136
  * It can filter the map display on floor-aware layers by zero or more level IDs.
93
137
  */
94
138
  floors: __esri.Collection<string>;
95
- /** Gamepad input specific configuration settings.. */
139
+ /** Gamepad input specific configuration settings. */
96
140
  get gamepad(): __esri.GamepadSettings;
97
141
  /**
98
142
  * Allows for adding graphics directly to the default graphics in the View.
@@ -151,7 +195,11 @@ export declare class ArcgisMap extends LitElement {
151
195
  navigation: __esri.Navigation;
152
196
  padding: __esri.ViewPadding;
153
197
  popup: nullish | __esri.Popup;
154
- /** Controls whether the popup opens when users click on the view. */
198
+ /**
199
+ * Controls whether the popup opens when users click on the view.
200
+ *
201
+ * @default false
202
+ */
155
203
  popupDisabled: boolean;
156
204
  /**
157
205
  * When `true`, this property indicates whether the view successfully satisfied all dependencies,
@@ -238,13 +286,29 @@ export declare class ArcgisMap extends LitElement {
238
286
  */
239
287
  get zoom(): number;
240
288
  set zoom(newValue: number);
241
- /** Adds a layer to the map layers collection. */
289
+ /**
290
+ * @deprecated since version 4.33. Use `element.map.add(layer)` instead.
291
+ *
292
+ * Adds a layer to the map layers collection.
293
+ * */
242
294
  addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
243
- /** Adds a layer or array of layers to the map layers collection. */
295
+ /**
296
+ * @deprecated since version 4.33. Use `element.map.addMany([layer])` instead.
297
+ *
298
+ * Adds a layer or array of layers to the map layers collection.
299
+ * */
244
300
  addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
245
- /** Adds a table to the map tables collection. */
301
+ /**
302
+ * @deprecated since version 4.33. Use `element.map.tables.add(table)` instead.
303
+ *
304
+ * Adds a table to the map tables collection.
305
+ * */
246
306
  addTable(table: __esri.FeatureLayer): Promise<void>;
247
- /** Adds a table or array of tables to the map tables collection. */
307
+ /**
308
+ * @deprecated since version 4.33. Use `element.map.tables.addMany([table])` instead.
309
+ *
310
+ * Adds a table or array of tables to the map tables collection.
311
+ * */
248
312
  addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
249
313
  /** Closes the popup. */
250
314
  closePopup(): Promise<void>;
@@ -267,6 +331,11 @@ export declare class ArcgisMap extends LitElement {
267
331
  tryFatalErrorRecovery(): Promise<void>;
268
332
  /** Gets the LayerView created on the view for the given layer. */
269
333
  whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
334
+ /**
335
+ * `viewOnReady()` may be leveraged once an instance of the component is created and ready.
336
+ * This method takes two input parameters: a `callback` function and an `errback` function.
337
+ */
338
+ viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
270
339
  /**
271
340
  * This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.
272
341
  * This event will also emit if stationary toggles from true to false.
@@ -1,16 +1,16 @@
1
- import { c } from "../../chunks/runtime.js";
2
- import { makeAccessorController as r, reEmitEvent as e, accessorSupport as d } from "@arcgis/components-controllers/accessor";
1
+ import { c as d } from "../../chunks/runtime.js";
2
+ import { makeAccessorController as r, reEmitEvent as e, accessorSupport as p } from "@arcgis/components-controllers/accessor";
3
3
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
4
- import p from "@arcgis/core/views/MapView.js";
5
- import v from "@arcgis/core/WebMap.js";
6
- import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
7
- import { e as h, i as g } from "../../chunks/component-utils.js";
4
+ import v from "@arcgis/core/views/MapView.js";
5
+ import o from "@arcgis/core/WebMap.js";
6
+ import { LitElement as m, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
7
+ import { b as h, i as g } from "../../chunks/component-utils.js";
8
8
  import { css as y } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
11
- v4.33.0-next.6 */
12
- const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
13
- v,
11
+ v4.33.0-next.60 */
12
+ const u = y`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = r(
13
+ o,
14
14
  /**
15
15
  * Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
16
16
  * a hack to remove them from the runtime code. This argument is not used at
@@ -20,16 +20,16 @@ const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
20
20
  * in an externalized package.
21
21
  */
22
22
  {}
23
- ), b = r(p, {});
24
- class _ extends l {
23
+ ), _ = r(v, {});
24
+ class b extends m {
25
25
  constructor() {
26
- super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, { editConstructorProperties: this._editMapProperties }), this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this.view = b(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
26
+ super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this._map = f(this, { editConstructorProperties: this._editMapProperties }), this.view = _(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
27
27
  }
28
28
  static {
29
- this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
29
+ this.properties = { _map: 16, view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
30
30
  }
31
31
  static {
32
- this.shadowRootOptions = m;
32
+ this.shadowRootOptions = l;
33
33
  }
34
34
  static {
35
35
  this.styles = u;
@@ -60,7 +60,7 @@ class _ extends l {
60
60
  set extent(i) {
61
61
  this.view.ready || (this._extent = i), i && !this.extent?.equals(i) && (this.view.extent = i);
62
62
  }
63
- /** Gamepad input specific configuration settings.. */
63
+ /** Gamepad input specific configuration settings. */
64
64
  get gamepad() {
65
65
  return this.ready ? this.view.input.gamepad : void 0;
66
66
  }
@@ -76,9 +76,9 @@ class _ extends l {
76
76
  return this._map.portalItem?.id ?? this._itemId;
77
77
  }
78
78
  set itemId(i) {
79
- this._itemId = i, this.ready && d.reCreate(this._map, this).then(() => {
79
+ this._itemId = i, this.ready ? p.reCreate(this._map, this).then(() => {
80
80
  this.view.map = this._map;
81
- }).catch(console.error);
81
+ }).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new o(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
82
82
  }
83
83
  /** Indication whether the view is being navigated (for example when panning). */
84
84
  get navigating() {
@@ -126,21 +126,37 @@ class _ extends l {
126
126
  set zoom(i) {
127
127
  this.ready && (this.view.zoom = i), this._zoom = i;
128
128
  }
129
- // #endregion
130
- // #region Public Methods
131
- /** Adds a layer to the map layers collection. */
129
+ //#endregion
130
+ //#region Public Methods
131
+ /**
132
+ * @deprecated since version 4.33. Use `element.map.add(layer)` instead.
133
+ *
134
+ * Adds a layer to the map layers collection.
135
+ * */
132
136
  async addLayer(i, t) {
133
137
  this.map?.add(i, t);
134
138
  }
135
- /** Adds a layer or array of layers to the map layers collection. */
139
+ /**
140
+ * @deprecated since version 4.33. Use `element.map.addMany([layer])` instead.
141
+ *
142
+ * Adds a layer or array of layers to the map layers collection.
143
+ * */
136
144
  async addLayers(i, t) {
137
145
  this.map?.addMany(i, t);
138
146
  }
139
- /** Adds a table to the map tables collection. */
147
+ /**
148
+ * @deprecated since version 4.33. Use `element.map.tables.add(table)` instead.
149
+ *
150
+ * Adds a table to the map tables collection.
151
+ * */
140
152
  async addTable(i) {
141
153
  this.map?.tables.add(i);
142
154
  }
143
- /** Adds a table or array of tables to the map tables collection. */
155
+ /**
156
+ * @deprecated since version 4.33. Use `element.map.tables.addMany([table])` instead.
157
+ *
158
+ * Adds a table or array of tables to the map tables collection.
159
+ * */
144
160
  async addTables(i, t) {
145
161
  this.map?.tables.addMany(i, t);
146
162
  }
@@ -185,10 +201,18 @@ class _ extends l {
185
201
  async whenLayerView(i) {
186
202
  return await this.view?.whenLayerView(i);
187
203
  }
188
- // #endregion
189
- // #region Lifecycle
204
+ /**
205
+ * `viewOnReady()` may be leveraged once an instance of the component is created and ready.
206
+ * This method takes two input parameters: a `callback` function and an `errback` function.
207
+ */
208
+ async viewOnReady(i, t) {
209
+ return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
210
+ }
211
+ //#endregion
212
+ //#region Lifecycle
190
213
  load() {
191
- this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-map"), this.el.append(this.el.childElem), this.view.container ??= this.el.childElem;
214
+ const i = this;
215
+ i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
192
216
  }
193
217
  loaded() {
194
218
  this.manager.onLifecycle(() => [
@@ -198,14 +222,14 @@ class _ extends l {
198
222
  s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready })
199
223
  ]);
200
224
  }
201
- // #endregion
202
- // #region Private Methods
225
+ //#endregion
226
+ //#region Private Methods
203
227
  _editMapProperties(i) {
204
- this.map && (this._map = this.map), this.itemId ? i.portalItem = { id: this.itemId } : this.basemap ? this.basemap === "none" && (i.basemap = void 0, this.basemap = null) : i.basemap = "topo-vector";
205
- const { basemap: t, ...o } = i;
206
- t || (i = o);
207
- const { ground: n, ...w } = i;
208
- return n || (i = w), i;
228
+ this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
229
+ const { basemap: t, ...n } = i;
230
+ t || (i = n);
231
+ const { ground: w, ...c } = i;
232
+ return w || (i = c), i;
209
233
  }
210
234
  async _editViewProperties(i) {
211
235
  await this.manager.use(this._map), this.view.ui || (i.ui = {
@@ -215,7 +239,7 @@ class _ extends l {
215
239
  return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
216
240
  }
217
241
  }
218
- c("arcgis-map", _);
242
+ d("arcgis-map", b);
219
243
  export {
220
- _ as ArcgisMap
244
+ b as ArcgisMap
221
245
  };