@arcgis/map-components 4.30.0-next.2 → 4.30.0-next.3

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 (278) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  2. package/dist/arcgis-map-components/index.esm.js +1 -1
  3. package/dist/arcgis-map-components/{p-a8ec59c6.entry.js → p-04bdb0b8.entry.js} +2 -2
  4. package/dist/arcgis-map-components/{p-e9f976ba.entry.js → p-08534a0a.entry.js} +2 -2
  5. package/dist/arcgis-map-components/{p-ab228eed.js → p-133f3ace.js} +1 -1
  6. package/dist/arcgis-map-components/{p-b5f05f22.entry.js → p-1461866f.entry.js} +2 -2
  7. package/dist/arcgis-map-components/{p-f7585411.entry.js → p-1a281886.entry.js} +2 -2
  8. package/dist/arcgis-map-components/{p-b376d392.entry.js → p-1aba6ea5.entry.js} +2 -2
  9. package/dist/arcgis-map-components/{p-4a6447be.entry.js → p-1b85793c.entry.js} +2 -2
  10. package/dist/arcgis-map-components/{p-835253cf.entry.js → p-1c144fb1.entry.js} +2 -2
  11. package/dist/arcgis-map-components/{p-7b70c205.entry.js → p-23ffbf0e.entry.js} +2 -2
  12. package/dist/arcgis-map-components/{p-2129411c.entry.js → p-25be562d.entry.js} +2 -2
  13. package/dist/arcgis-map-components/{p-2d4ac961.entry.js → p-26449e02.entry.js} +2 -2
  14. package/dist/arcgis-map-components/{p-1ad1ba81.entry.js → p-327731e3.entry.js} +2 -2
  15. package/dist/arcgis-map-components/{p-eb192e4a.entry.js → p-3925d356.entry.js} +2 -2
  16. package/dist/arcgis-map-components/{p-c69be395.entry.js → p-39bc9bd5.entry.js} +2 -2
  17. package/dist/arcgis-map-components/{p-bc078276.entry.js → p-3cab2cda.entry.js} +2 -2
  18. package/dist/arcgis-map-components/{p-0d2777ed.entry.js → p-3dd0ace8.entry.js} +2 -2
  19. package/dist/arcgis-map-components/{p-b6f76f42.entry.js → p-41338e2d.entry.js} +2 -2
  20. package/dist/arcgis-map-components/p-41e2a9c2.entry.js +6 -0
  21. package/dist/arcgis-map-components/{p-51d883e7.entry.js → p-45d8e1bc.entry.js} +2 -2
  22. package/dist/arcgis-map-components/{p-bf45b65a.entry.js → p-46ac3515.entry.js} +2 -2
  23. package/dist/arcgis-map-components/{p-df2c2388.entry.js → p-4764c863.entry.js} +2 -2
  24. package/dist/arcgis-map-components/{p-a99a4407.entry.js → p-4e814134.entry.js} +2 -2
  25. package/dist/arcgis-map-components/{p-bbe2afe8.entry.js → p-505bf2b0.entry.js} +2 -2
  26. package/dist/arcgis-map-components/{p-a0d33f63.entry.js → p-545eb7b7.entry.js} +2 -2
  27. package/dist/arcgis-map-components/p-59bc31f7.js +6 -0
  28. package/dist/arcgis-map-components/p-60c45bbf.js +7 -0
  29. package/dist/arcgis-map-components/{p-fe1d05f2.entry.js → p-69735110.entry.js} +2 -2
  30. package/dist/arcgis-map-components/{p-708a209b.entry.js → p-6ebfc0f4.entry.js} +2 -2
  31. package/dist/arcgis-map-components/{p-db5d7d8f.entry.js → p-6ef75bd7.entry.js} +2 -2
  32. package/dist/arcgis-map-components/p-74559bc5.entry.js +6 -0
  33. package/dist/arcgis-map-components/p-7b93c641.entry.js +6 -0
  34. package/dist/arcgis-map-components/{p-77896f73.entry.js → p-7cba5108.entry.js} +2 -2
  35. package/dist/arcgis-map-components/{p-233ff7c9.entry.js → p-7e92ca36.entry.js} +2 -2
  36. package/dist/arcgis-map-components/{p-f0d64573.entry.js → p-83eee97f.entry.js} +2 -2
  37. package/dist/arcgis-map-components/{p-1eed2237.entry.js → p-84a19033.entry.js} +2 -2
  38. package/dist/arcgis-map-components/{p-d56a8bf6.entry.js → p-876c03bc.entry.js} +2 -2
  39. package/dist/arcgis-map-components/{p-7a448687.entry.js → p-88401293.entry.js} +2 -2
  40. package/dist/arcgis-map-components/{p-cfb0b3db.js → p-907b47b0.js} +1 -1
  41. package/dist/arcgis-map-components/{p-fdbd2da0.entry.js → p-91546ccd.entry.js} +2 -2
  42. package/dist/arcgis-map-components/p-9ab363da.entry.js +6 -0
  43. package/dist/arcgis-map-components/p-a554b943.entry.js +6 -0
  44. package/dist/arcgis-map-components/{p-ccc8e0f6.entry.js → p-abced1f8.entry.js} +2 -2
  45. package/dist/arcgis-map-components/{p-27c040f3.entry.js → p-ae8189d4.entry.js} +2 -2
  46. package/dist/arcgis-map-components/{p-e072e7dc.entry.js → p-afd63bee.entry.js} +2 -2
  47. package/dist/arcgis-map-components/{p-ccf10372.entry.js → p-b1d44760.entry.js} +2 -2
  48. package/dist/arcgis-map-components/{p-979215ed.entry.js → p-b2c37519.entry.js} +2 -2
  49. package/dist/arcgis-map-components/{p-9e192593.entry.js → p-bf28bef8.entry.js} +2 -2
  50. package/dist/arcgis-map-components/p-c37dd812.entry.js +6 -0
  51. package/dist/arcgis-map-components/{p-db38814e.entry.js → p-c3c03da3.entry.js} +2 -2
  52. package/dist/arcgis-map-components/{p-dcf10185.entry.js → p-ce5cced9.entry.js} +2 -2
  53. package/dist/arcgis-map-components/{p-bbe4ba5e.entry.js → p-d39f238a.entry.js} +2 -2
  54. package/dist/arcgis-map-components/{p-c89a56d0.entry.js → p-d968c8f7.entry.js} +2 -2
  55. package/dist/arcgis-map-components/{p-e5ff4fbc.entry.js → p-da132140.entry.js} +2 -2
  56. package/dist/arcgis-map-components/{p-0dce76b1.entry.js → p-dc994b4e.entry.js} +2 -2
  57. package/dist/arcgis-map-components/{p-9b1b911a.entry.js → p-e4c90f6d.entry.js} +2 -2
  58. package/dist/arcgis-map-components/{p-d1e5708d.entry.js → p-ed8d029c.entry.js} +2 -2
  59. package/dist/arcgis-map-components/p-edb6f90a.entry.js +6 -0
  60. package/dist/arcgis-map-components/{p-51659616.entry.js → p-efe46703.entry.js} +2 -2
  61. package/dist/arcgis-map-components/{p-72531b22.entry.js → p-f61b125c.entry.js} +2 -2
  62. package/dist/arcgis-map-components/p-f9a17e49.entry.js +6 -0
  63. package/dist/arcgis-map-components/{p-351d284e.entry.js → p-fb37eb89.entry.js} +2 -2
  64. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +5 -5
  65. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +5 -5
  66. package/dist/cjs/arcgis-attachments.cjs.entry.js +5 -5
  67. package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +5 -5
  68. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +5 -5
  69. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +5 -5
  70. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +5 -5
  71. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +5 -5
  72. package/dist/cjs/arcgis-compass.cjs.entry.js +5 -5
  73. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +5 -5
  74. package/dist/cjs/arcgis-daylight.cjs.entry.js +5 -5
  75. package/dist/cjs/arcgis-directional-pad.cjs.entry.js +5 -5
  76. package/dist/cjs/arcgis-directions.cjs.entry.js +5 -5
  77. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +5 -5
  78. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +5 -5
  79. package/dist/cjs/arcgis-editor.cjs.entry.js +5 -5
  80. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +5 -5
  81. package/dist/cjs/arcgis-expand.cjs.entry.js +5 -5
  82. package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -5
  83. package/dist/cjs/arcgis-feature-table.cjs.entry.js +5 -5
  84. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +5 -5
  85. package/dist/cjs/arcgis-feature.cjs.entry.js +5 -5
  86. package/dist/cjs/arcgis-features.cjs.entry.js +5 -5
  87. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +5 -5
  88. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +5 -5
  89. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +5 -5
  90. package/dist/cjs/arcgis-histogram.cjs.entry.js +4 -4
  91. package/dist/cjs/arcgis-home.cjs.entry.js +5 -5
  92. package/dist/cjs/arcgis-layer-list.cjs.entry.js +5 -5
  93. package/dist/cjs/arcgis-legend.cjs.entry.js +5 -5
  94. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +5 -5
  95. package/dist/cjs/arcgis-locate.cjs.entry.js +5 -5
  96. package/dist/cjs/arcgis-map-components.cjs.js +3 -3
  97. package/dist/cjs/arcgis-measurement.cjs.entry.js +5 -5
  98. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +5 -5
  99. package/dist/cjs/arcgis-placement.cjs.entry.js +4 -4
  100. package/dist/cjs/arcgis-print.cjs.entry.js +5 -5
  101. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +5 -5
  102. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +5 -5
  103. package/dist/cjs/arcgis-scene.cjs.entry.js +4 -4
  104. package/dist/cjs/arcgis-search.cjs.entry.js +5 -5
  105. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +5 -5
  106. package/dist/cjs/arcgis-sketch.cjs.entry.js +5 -5
  107. package/dist/cjs/arcgis-slice.cjs.entry.js +5 -5
  108. package/dist/cjs/arcgis-slider.cjs.entry.js +5 -5
  109. package/dist/cjs/arcgis-swipe.cjs.entry.js +5 -5
  110. package/dist/cjs/arcgis-table-list.cjs.entry.js +5 -5
  111. package/dist/cjs/arcgis-time-slider.cjs.entry.js +5 -5
  112. package/dist/cjs/arcgis-track.cjs.entry.js +5 -5
  113. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +5 -5
  114. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +5 -5
  115. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
  116. package/dist/cjs/arcgis-value-picker.cjs.entry.js +5 -5
  117. package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +13 -10
  118. package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +13 -9
  119. package/dist/cjs/arcgis-version-management.cjs.entry.js +35 -16
  120. package/dist/cjs/arcgis-weather.cjs.entry.js +5 -5
  121. package/dist/cjs/arcgis-zoom.cjs.entry.js +5 -5
  122. package/dist/cjs/{component-utils-8ddd5329.js → component-utils-b8a896f9.js} +1 -3
  123. package/dist/cjs/{disconnected-ba8ad352.js → disconnected-e72d66b5.js} +1 -1
  124. package/dist/cjs/{index-b53b6fca.js → index-2bec561c.js} +1 -1
  125. package/dist/cjs/{index-ac67e16f.js → index-b2bd0321.js} +12 -2
  126. package/dist/cjs/index.cjs.js +1 -1
  127. package/dist/cjs/loader.cjs.js +2 -2
  128. package/dist/components/arcgis-area-measurement-2d.js +1 -1
  129. package/dist/components/arcgis-area-measurement-3d.js +1 -1
  130. package/dist/components/arcgis-assets.d.ts +35 -0
  131. package/dist/components/arcgis-assets.js +2 -2
  132. package/dist/components/arcgis-attachments.js +1 -1
  133. package/dist/components/arcgis-basemap-gallery.js +1 -1
  134. package/dist/components/arcgis-basemap-layer-list.js +1 -1
  135. package/dist/components/arcgis-basemap-toggle.js +1 -1
  136. package/dist/components/arcgis-bookmarks.js +1 -1
  137. package/dist/components/arcgis-building-explorer.js +1 -1
  138. package/dist/components/arcgis-compass.js +1 -1
  139. package/dist/components/arcgis-coordinate-conversion.js +1 -1
  140. package/dist/components/arcgis-daylight.js +1 -1
  141. package/dist/components/arcgis-directional-pad.js +1 -1
  142. package/dist/components/arcgis-directions.js +1 -1
  143. package/dist/components/arcgis-directline-measurement-3d.js +1 -1
  144. package/dist/components/arcgis-distance-measurement-2d.js +1 -1
  145. package/dist/components/arcgis-editor.js +1 -1
  146. package/dist/components/arcgis-elevation-profile.js +1 -1
  147. package/dist/components/arcgis-expand.js +1 -1
  148. package/dist/components/arcgis-feature-form.js +1 -1
  149. package/dist/components/arcgis-feature-table.js +1 -1
  150. package/dist/components/arcgis-feature-templates.js +1 -1
  151. package/dist/components/arcgis-feature.js +1 -1
  152. package/dist/components/arcgis-features.js +1 -1
  153. package/dist/components/arcgis-floor-filter.js +1 -1
  154. package/dist/components/arcgis-fullscreen.js +1 -1
  155. package/dist/components/arcgis-histogram-range-slider.js +1 -1
  156. package/dist/components/arcgis-histogram.js +1 -1
  157. package/dist/components/arcgis-home.js +1 -1
  158. package/dist/components/arcgis-layer-list.js +1 -1
  159. package/dist/components/arcgis-legend.js +1 -1
  160. package/dist/components/arcgis-line-of-sight.js +1 -1
  161. package/dist/components/arcgis-locate.js +1 -1
  162. package/dist/components/arcgis-map.js +1 -1
  163. package/dist/components/arcgis-measurement.js +1 -1
  164. package/dist/components/arcgis-navigation-toggle.js +1 -1
  165. package/dist/components/arcgis-placement.js +1 -1
  166. package/dist/components/arcgis-print.js +1 -1
  167. package/dist/components/arcgis-scale-bar.js +1 -1
  168. package/dist/components/arcgis-scale-range-slider.js +1 -1
  169. package/dist/components/arcgis-scene.js +1 -1
  170. package/dist/components/arcgis-search.js +1 -1
  171. package/dist/components/arcgis-shadow-cast.js +1 -1
  172. package/dist/components/arcgis-sketch.js +1 -1
  173. package/dist/components/arcgis-slice.js +1 -1
  174. package/dist/components/arcgis-slider.js +1 -1
  175. package/dist/components/arcgis-swipe.js +1 -1
  176. package/dist/components/arcgis-table-list.js +1 -1
  177. package/dist/components/arcgis-time-slider.js +1 -1
  178. package/dist/components/arcgis-track.js +1 -1
  179. package/dist/components/arcgis-utility-network-associations.js +1 -1
  180. package/dist/components/arcgis-utility-network-trace.js +1 -1
  181. package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
  182. package/dist/components/arcgis-value-picker.js +1 -1
  183. package/dist/components/arcgis-version-management-service-item.js +1 -1
  184. package/dist/components/arcgis-version-management-version-item.js +1 -1
  185. package/dist/components/arcgis-version-management-version-list.js +1 -1
  186. package/dist/components/arcgis-version-management-version-properties.js +1 -1
  187. package/dist/components/arcgis-version-management.js +34 -15
  188. package/dist/components/arcgis-weather.js +1 -1
  189. package/dist/components/arcgis-zoom.js +1 -1
  190. package/dist/components/component-utils.js +1 -3
  191. package/dist/components/disconnected.js +1 -1
  192. package/dist/components/expand.js +1 -1
  193. package/dist/components/index.js +2 -2
  194. package/dist/components/index2.js +1 -1
  195. package/dist/components/version-management-service-item.js +9 -6
  196. package/dist/components/version-management-version-item.js +4 -4
  197. package/dist/components/version-management-version-list.js +8 -4
  198. package/dist/components/version-management-version-properties.js +3 -3
  199. package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -5
  200. package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -5
  201. package/dist/esm/arcgis-attachments.entry.js +5 -5
  202. package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -5
  203. package/dist/esm/arcgis-basemap-layer-list.entry.js +5 -5
  204. package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
  205. package/dist/esm/arcgis-bookmarks.entry.js +5 -5
  206. package/dist/esm/arcgis-building-explorer.entry.js +5 -5
  207. package/dist/esm/arcgis-compass.entry.js +5 -5
  208. package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
  209. package/dist/esm/arcgis-daylight.entry.js +5 -5
  210. package/dist/esm/arcgis-directional-pad.entry.js +5 -5
  211. package/dist/esm/arcgis-directions.entry.js +5 -5
  212. package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -5
  213. package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -5
  214. package/dist/esm/arcgis-editor.entry.js +5 -5
  215. package/dist/esm/arcgis-elevation-profile.entry.js +5 -5
  216. package/dist/esm/arcgis-expand.entry.js +5 -5
  217. package/dist/esm/arcgis-feature-form.entry.js +5 -5
  218. package/dist/esm/arcgis-feature-table.entry.js +5 -5
  219. package/dist/esm/arcgis-feature-templates.entry.js +5 -5
  220. package/dist/esm/arcgis-feature.entry.js +5 -5
  221. package/dist/esm/arcgis-features.entry.js +5 -5
  222. package/dist/esm/arcgis-floor-filter.entry.js +5 -5
  223. package/dist/esm/arcgis-fullscreen.entry.js +5 -5
  224. package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
  225. package/dist/esm/arcgis-histogram.entry.js +4 -4
  226. package/dist/esm/arcgis-home.entry.js +5 -5
  227. package/dist/esm/arcgis-layer-list.entry.js +5 -5
  228. package/dist/esm/arcgis-legend.entry.js +5 -5
  229. package/dist/esm/arcgis-line-of-sight.entry.js +5 -5
  230. package/dist/esm/arcgis-locate.entry.js +5 -5
  231. package/dist/esm/arcgis-map-components.js +4 -4
  232. package/dist/esm/arcgis-measurement.entry.js +5 -5
  233. package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
  234. package/dist/esm/arcgis-placement.entry.js +4 -4
  235. package/dist/esm/arcgis-print.entry.js +5 -5
  236. package/dist/esm/arcgis-scale-bar.entry.js +5 -5
  237. package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
  238. package/dist/esm/arcgis-scene.entry.js +4 -4
  239. package/dist/esm/arcgis-search.entry.js +5 -5
  240. package/dist/esm/arcgis-shadow-cast.entry.js +5 -5
  241. package/dist/esm/arcgis-sketch.entry.js +5 -5
  242. package/dist/esm/arcgis-slice.entry.js +5 -5
  243. package/dist/esm/arcgis-slider.entry.js +5 -5
  244. package/dist/esm/arcgis-swipe.entry.js +5 -5
  245. package/dist/esm/arcgis-table-list.entry.js +5 -5
  246. package/dist/esm/arcgis-time-slider.entry.js +5 -5
  247. package/dist/esm/arcgis-track.entry.js +5 -5
  248. package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
  249. package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
  250. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
  251. package/dist/esm/arcgis-value-picker.entry.js +5 -5
  252. package/dist/esm/arcgis-version-management-service-item_2.entry.js +13 -10
  253. package/dist/esm/arcgis-version-management-version-item_2.entry.js +13 -9
  254. package/dist/esm/arcgis-version-management.entry.js +35 -16
  255. package/dist/esm/arcgis-weather.entry.js +5 -5
  256. package/dist/esm/arcgis-zoom.entry.js +5 -5
  257. package/dist/esm/{component-utils-06832b0f.js → component-utils-fe99fa96.js} +1 -3
  258. package/dist/esm/{disconnected-ae43b5de.js → disconnected-ca89ef07.js} +1 -1
  259. package/dist/esm/{index-955d468e.js → index-07f66532.js} +1 -1
  260. package/dist/esm/{index-c8478785.js → index-c179eb5a.js} +12 -2
  261. package/dist/esm/index.js +1 -1
  262. package/dist/esm/loader.js +3 -3
  263. package/dist/loader/cdn.js +1 -1
  264. package/dist/loader/index.cjs.js +1 -1
  265. package/dist/loader/index.es2017.js +1 -1
  266. package/dist/loader/index.js +1 -1
  267. package/dist/types/components/version-management/version-management.d.ts +1 -1
  268. package/package.json +8 -8
  269. package/dist/arcgis-map-components/p-0267ce0c.js +0 -6
  270. package/dist/arcgis-map-components/p-06a2ba7b.entry.js +0 -6
  271. package/dist/arcgis-map-components/p-17c04d94.entry.js +0 -6
  272. package/dist/arcgis-map-components/p-1dd7ee53.entry.js +0 -6
  273. package/dist/arcgis-map-components/p-3a8731e9.entry.js +0 -6
  274. package/dist/arcgis-map-components/p-5ccaed65.entry.js +0 -6
  275. package/dist/arcgis-map-components/p-63916df3.entry.js +0 -6
  276. package/dist/arcgis-map-components/p-909ece35.entry.js +0 -6
  277. package/dist/arcgis-map-components/p-9ff6201d.entry.js +0 -6
  278. package/dist/arcgis-map-components/p-e6ce333d.js +0 -7
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
- import { r as registerInstance, a as getAssetPath, h, H as Host, g as getElement } from './index-c8478785.js';
7
- import { i as importCoreReactiveUtils, a3 as newWidgetsVersionManagementVersionManagementViewModel } from './index-955d468e.js';
6
+ import { r as registerInstance, a as getAssetPath, h, H as Host, g as getElement } from './index-c179eb5a.js';
7
+ import { i as importCoreReactiveUtils, a3 as newWidgetsVersionManagementVersionManagementViewModel } from './index-07f66532.js';
8
8
 
9
9
  function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function v(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await v("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function _(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function B(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n).catch(console.error);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=_(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await v(r,l,u);}r!==e._t9nLocale&&(e._t9nLocale=r,e._t9nStrings=o,await t?.call(e));}
10
10
 
@@ -37,7 +37,7 @@ const ArcgisVersionManagement = class {
37
37
  await B(this, getAssetPath("./assets"));
38
38
  await this._checkForView();
39
39
  this.viewModel = await newWidgetsVersionManagementVersionManagementViewModel({
40
- layers: this.view.map.layers
40
+ view: this.view
41
41
  });
42
42
  this.label = this.label ? this.label : this._t9nStrings.label;
43
43
  }
@@ -50,13 +50,17 @@ const ArcgisVersionManagement = class {
50
50
  }
51
51
  render() {
52
52
  const { _t9nStrings, label, viewModel, viewModel: { state, loadError } } = this;
53
- const arrayServiceNames = Array.from(this.viewModel.serviceNames, ([url, name]) => ({ url, name }));
53
+ const arrayServiceNames = Array.from(this.viewModel.serviceNameLookup, ([url, name]) => ({ url, name }));
54
54
  return (h(Host, null, h("calcite-flow", { ref: (node) => {
55
55
  this.flowElement = node;
56
56
  }, class: "flow-main" }, h("calcite-flow-item", { heading: label }, h("calcite-panel", { class: "panel-services", loading: state === "loading" }, arrayServiceNames.map((service) => (h("arcgis-version-management-service-item", { flowElement: this.flowElement, heading: label, serviceUrl: service.url, strings: _t9nStrings, viewModel: viewModel, onVersionItemActionClickedEventWithServiceUrl: (e) => {
57
- this._handleVersionItemActionClick(e, this.flowElement);
57
+ if (this.flowElement) {
58
+ this._handleVersionItemActionClick(e, this.flowElement);
59
+ }
58
60
  }, onVersionListActionClickedEvent: (e) => {
59
- this._handleVersionListActionClick(e, this.flowElement);
61
+ if (this.flowElement) {
62
+ this._handleVersionListActionClick(e, this.flowElement);
63
+ }
60
64
  } }))), state === "disabled" ? (h("calcite-notice", { class: "notice", closable: false, kind: "warning", open: true, scale: "s", slot: "footer" }, h("div", { slot: "message" }, this._getLoadError(loadError)))) : undefined)))));
61
65
  }
62
66
  //--------------------------------------------------------------------------
@@ -74,6 +78,9 @@ const ArcgisVersionManagement = class {
74
78
  }
75
79
  _createVersionPropertiesFlow(serviceUrl, versionInfo) {
76
80
  const { flowElement, viewModel } = this;
81
+ if (!flowElement) {
82
+ return null;
83
+ }
77
84
  const versionPropertiesFlow = document.createElement("arcgis-version-management-version-properties");
78
85
  versionPropertiesFlow.flowElement = flowElement;
79
86
  versionPropertiesFlow.serviceUrl = serviceUrl;
@@ -84,7 +91,7 @@ const ArcgisVersionManagement = class {
84
91
  const { serviceUrl, versionInfo } = e.detail;
85
92
  const fullVersionName = versionInfo.versionIdentifier.name;
86
93
  const versionName = fullVersionName.split(".").length > 1 ? fullVersionName.split(".")[1] : fullVersionName;
87
- const ownerName = fullVersionName.split(".").length > 1 ? fullVersionName.split(".")[0] : viewModel.userForUrl.get(serviceUrl);
94
+ const ownerName = fullVersionName.split(".").length > 1 ? fullVersionName.split(".")[0] : viewModel.userLookup.get(serviceUrl);
88
95
  if (versionInfo.versionIdentifier.guid === "") {
89
96
  await viewModel.createVersion({
90
97
  access: versionInfo.access,
@@ -108,9 +115,10 @@ const ArcgisVersionManagement = class {
108
115
  });
109
116
  }
110
117
  if (viewModel.state === "ready") {
111
- await viewModel.getVersionInfos(serviceUrl, true);
112
- const versionInfos = viewModel.versionInfos.get(serviceUrl);
113
- flowElement.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos = versionInfos;
118
+ const versionList = flowElement.getElementsByTagName("arcgis-version-management-version-list")[0];
119
+ versionList.versionInfos = [];
120
+ const versionInfos = await viewModel.getVersionInfos(serviceUrl, true);
121
+ versionList.versionInfos = versionInfos;
114
122
  await flowElement.back();
115
123
  }
116
124
  });
@@ -133,21 +141,32 @@ const ArcgisVersionManagement = class {
133
141
  case "changeVersion":
134
142
  await this._switchToVersion(serviceUrl, versionInfo.versionIdentifier.name, versionInfo.versionIdentifier.guid);
135
143
  break;
136
- case "editVersion":
137
- flowElement.append(this._createVersionPropertiesFlow(serviceUrl, versionInfo));
144
+ case "editVersion": {
145
+ const versionPropertiesFlow = this._createVersionPropertiesFlow(serviceUrl, versionInfo);
146
+ if (versionPropertiesFlow) {
147
+ flowElement.append(versionPropertiesFlow);
148
+ }
138
149
  break;
150
+ }
139
151
  }
140
152
  }
141
153
  async _handleVersionListActionClick(e, flowElement) {
142
154
  const { actionType, serviceUrl } = e.detail;
143
155
  switch (actionType) {
144
156
  case "newVersion": {
145
- flowElement.append(this._createVersionPropertiesFlow(serviceUrl, undefined));
157
+ const versionPropertiesFlow = this._createVersionPropertiesFlow(serviceUrl, undefined);
158
+ if (versionPropertiesFlow) {
159
+ flowElement.append(versionPropertiesFlow);
160
+ }
146
161
  break;
147
162
  }
148
163
  case "refreshVersions": {
149
- const versionInfos = await this.viewModel.getVersionInfos(serviceUrl, true);
150
- this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos = versionInfos;
164
+ if (this.flowElement) {
165
+ const versionList = this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0];
166
+ versionList.versionInfos = [];
167
+ const versionInfos = await this.viewModel.getVersionInfos(serviceUrl, true);
168
+ versionList.versionInfos = versionInfos;
169
+ }
151
170
  break;
152
171
  }
153
172
  }
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c8478785.js';
7
- import { a4 as newWidgetsWeather } from './index-955d468e.js';
8
- import { r as referenceElementHelper, c as checkForView } from './component-utils-06832b0f.js';
9
- import { o as onDisconnectedHelper } from './disconnected-ae43b5de.js';
6
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c179eb5a.js';
7
+ import { a4 as newWidgetsWeather } from './index-07f66532.js';
8
+ import { r as referenceElementHelper, c as checkForView } from './component-utils-fe99fa96.js';
9
+ import { o as onDisconnectedHelper } from './disconnected-ca89ef07.js';
10
10
 
11
11
  const weatherCss = "";
12
12
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c8478785.js';
7
- import { a5 as newWidgetsZoom } from './index-955d468e.js';
8
- import { r as referenceElementHelper, c as checkForView } from './component-utils-06832b0f.js';
9
- import { o as onDisconnectedHelper } from './disconnected-ae43b5de.js';
6
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c179eb5a.js';
7
+ import { a5 as newWidgetsZoom } from './index-07f66532.js';
8
+ import { r as referenceElementHelper, c as checkForView } from './component-utils-fe99fa96.js';
9
+ import { o as onDisconnectedHelper } from './disconnected-ca89ef07.js';
10
10
 
11
11
  const zoomCss = "arcgis-zoom{}";
12
12
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  function checkForExpand(element) {
7
7
  const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
@@ -11,7 +11,6 @@ function checkForExpand(element) {
11
11
  // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
12
12
  if (!expandRef.expandIcon) {
13
13
  expandRef.widget.expandIcon = element.widget.icon;
14
- expandRef.widget.expandIconClass = element.widget.iconClass;
15
14
  }
16
15
  return true;
17
16
  }
@@ -22,7 +21,6 @@ function checkForExpand(element) {
22
21
  expandRef.widget.content = element.childElem;
23
22
  if (!expandRef.expandIcon) {
24
23
  expandRef.widget.expandIcon = element.widget.icon;
25
- expandRef.widget.expandIconClass = element.widget.iconClass;
26
24
  }
27
25
  };
28
26
  expandRef.addEventListener("arcgisExpandReady", widgetHandler, false);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  function onDisconnectedHelper(element) {
7
7
  if (element.childElem) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  const isAMD = "define" in window && typeof window.define === "function" && "amd" in window.define;
7
7
  function isDefaultModule(module) {
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  const NAMESPACE = 'arcgis-map-components';
7
- const BUILD = /* arcgis-map-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: false, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
7
+ const BUILD = /* arcgis-map-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: false, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
8
8
 
9
9
  /**
10
10
  * Virtual DOM patching algorithm based on Snabbdom by
@@ -500,6 +500,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
500
500
  * @returns the newly created node
501
501
  */
502
502
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
503
+ var _a;
503
504
  // tslint:disable-next-line: prefer-const
504
505
  const newVNode = newParentVNode.$children$[childIndex];
505
506
  let i = 0;
@@ -563,6 +564,8 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
563
564
  if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
564
565
  // remember the content reference comment
565
566
  elm['s-sr'] = true;
567
+ // Persist the name of the slot that this slot was going to be projected into.
568
+ elm['s-fs'] = (_a = newVNode.$attrs$) === null || _a === void 0 ? void 0 : _a.slot;
566
569
  // remember the content reference comment
567
570
  elm['s-cr'] = contentRef;
568
571
  // remember the slot name, or empty string for default slot
@@ -581,6 +584,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
581
584
  return elm;
582
585
  };
583
586
  const putBackInOriginalLocation = (parentElm, recursive) => {
587
+ var _a;
584
588
  plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
585
589
  const oldSlotChildNodes = parentElm.childNodes;
586
590
  for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
@@ -595,6 +599,12 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
595
599
  childNode['s-ol'] = undefined;
596
600
  // Reset so we can correctly move the node around again.
597
601
  childNode['s-sh'] = undefined;
602
+ // When putting an element node back in its original location,
603
+ // we need to reset the `slot` attribute back to the value it originally had
604
+ // so we can correctly relocate it again in the future
605
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
606
+ childNode.setAttribute('slot', (_a = childNode['s-sn']) !== null && _a !== void 0 ? _a : '');
607
+ }
598
608
  checkSlotRelocate = true;
599
609
  }
600
610
  if (recursive) {
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
- import { b as bootstrapLazy } from './index-c8478785.js';
7
- export { s as setNonce } from './index-c8478785.js';
6
+ import { b as bootstrapLazy } from './index-c179eb5a.js';
7
+ export { s as setNonce } from './index-c179eb5a.js';
8
8
 
9
9
  const defineCustomElements = (win, options) => {
10
10
  if (typeof window === 'undefined') return undefined;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
4
+ * v4.30.0-next.3
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -16,7 +16,7 @@ export declare class ArcgisVersionManagement implements ComponentInterface {
16
16
  state: string;
17
17
  positionWatcher(newValue: string): void;
18
18
  _watchHandles: __esri.WatchHandle[];
19
- flowElement: HTMLCalciteFlowElement;
19
+ flowElement: HTMLCalciteFlowElement | undefined;
20
20
  viewModel: __esri.VersionManagementViewModel;
21
21
  componentDidLoad(): Promise<void>;
22
22
  componentWillLoad(): Promise<void>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@arcgis/map-components",
3
3
  "description": "ArcGIS Map Components",
4
4
  "homepage": "https://developers.arcgis.com/javascript/latest/",
5
- "version": "4.30.0-next.2",
5
+ "version": "4.30.0-next.3",
6
6
  "module": "dist/components/index.js",
7
7
  "main": "dist/index.cjs.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -49,15 +49,15 @@
49
49
  "pre:dev": "yarn pre && yarn awc create-mock-doc"
50
50
  },
51
51
  "dependencies": {
52
- "@stencil/core": "^4.10.0"
52
+ "@stencil/core": "4.9.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@arcgis/components-plugins": "4.30.0-next.2",
56
- "@arcgis/components-utils": "4.30.0-next.2",
55
+ "@arcgis/components-plugins": "4.30.0-next.3",
56
+ "@arcgis/components-utils": "4.30.0-next.3",
57
57
  "@arcgis/core": ">=4.30.0-next <4.31",
58
- "@arcgis/core-adapter": "4.30.0-next.2",
59
- "@arcgis/storybook-utils": "4.30.0-next.2",
60
- "@arcgis/typescript-config": "4.30.0-next.2",
58
+ "@arcgis/core-adapter": "4.30.0-next.3",
59
+ "@arcgis/storybook-utils": "4.30.0-next.3",
60
+ "@arcgis/typescript-config": "4.30.0-next.3",
61
61
  "@esri/calcite-components": "^2.6.0",
62
62
  "@stencil/angular-output-target": "0.8.3",
63
63
  "@stencil/react-output-target": "0.5.3",
@@ -78,5 +78,5 @@
78
78
  "@arcgis/core": ">=4.30.0-next <4.31",
79
79
  "@esri/calcite-components": ">=2.2.0 <3.0.0"
80
80
  },
81
- "gitHead": "e96e35065453519e2498dd6d3061df4735cd528d"
81
+ "gitHead": "13345dd4d221d0bbb814e1447c5be0b4411068ea"
82
82
  }
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- function n(n){const e=n.el.closest("arcgis-expand")||n.expandElem;if(e?.widget)return n.view=e.view,e.widget.content=n.childElem,e.expandIcon||(e.widget.expandIcon=n.widget.icon,e.widget.expandIconClass=n.widget.iconClass),!0;if(e){const a=()=>{e.removeEventListener("arcgisExpandReady",a,!1),n.view=e.view,e.widget.content=n.childElem,e.expandIcon||(e.widget.expandIcon=n.widget.icon,e.widget.expandIconClass=n.widget.iconClass)};return e.addEventListener("arcgisExpandReady",a,!1),!0}return!1}function e(n,e){Array.isArray(e)?n._watchHandles=[...n._watchHandles,...e]:n._watchHandles.push(e)}function a(e){let a=!1;if(n(e)){const n=e.el.closest("arcgis-map")??e.el.closest("arcgis-scene");if(n?.view)e.view=n.view;else if(n){const a=()=>{n.removeEventListener("arcgisViewReadyChange",a,!1),e.view=n.view};n.addEventListener("arcgisViewReadyChange",a,!1)}}else{let n=e.el.closest("arcgis-map")??e.el.closest("arcgis-scene");n||"string"!=typeof e.referenceElement||(n=document.querySelector(e.referenceElement),a=!0),n?.view?(e.view=n.view,a||e.view.ui.add(e.childElem??e.el,e.position)):n&&function(n,e,a){const i=()=>{n.removeEventListener("arcgisViewReadyChange",i,!1),e.view=n.view,a||e.view.ui.add(e.childElem?e.childElem:e.el,e.position)};n.addEventListener("arcgisViewReadyChange",i,!1)}(n,e,a)}}function i(n){return null==n||""===n}function s(n){return null!=n&&n%1==0}function c(n,e){return void 0===e||n.position!==e.position||n.heading!==e.heading||n.tilt!==e.tilt}function r(n,e){return void 0===e||e.atmosphereEnabled!==n.atmosphereEnabled||e.lighting.date!==n.lighting.date||e.lighting.directShadowsEnabled!==n.lighting.directShadowsEnabled||e.lighting.cameraTrackingEnabled!==n.lighting.cameraTrackingEnabled||e.lighting.date!==n.lighting.date||e.lighting.displayUTCOffset!==n.lighting.displayUTCOffset}function t(n,e){return void 0===e||n.targetGeometry!==e.targetGeometry||n.rotation!==e.rotation||n.scale!==e.scale}async function o(n,e){"string"==typeof e?n.view=await async function(n){const e=document.querySelector(n);return await new Promise((n=>{if(void 0!==e?.view)n(e.view);else if(e){const a=()=>{e.removeEventListener("arcgisViewReadyChange",a,!1),n(e.view)};e.addEventListener("arcgisViewReadyChange",a,!1)}}))}(e):n.widget&&(n.view=e.view)}export{e as a,t as b,a as c,n as d,c as e,r as f,s as g,i,o as r}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{A as h,i as a}from"./p-ab228eed.js";import{r as n,c as r,a as c}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const l=class{constructor(s){t(this,s),this.arcgisFeaturesReady=i(this,"arcgisFeaturesReady",7),this.featuresTriggerAction=i(this,"featuresTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.content=void 0,this.features=void 0,this.icon=void 0,this.promises=void 0,this.selectedFeature=void 0,this.selectedFeatureIndex=void 0,this.featuresTitle=void 0,this.visibleElementsActionBar=!0,this.visibleElementsCloseButton=!0,this.visibleElementsCollapseButton=!0,this.visibleElementsFeatureNavigation=!0,this.visibleElementsHeading=!0,this.visibleElementsSpinner=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}contentWatcher(t){this.widget&&(this.widget.content=t)}featuresWatcher(t){this.widget&&(this.widget.features=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}featuresTitleWatcher(t){this.widget&&(this.widget.title=t)}visibleElementsActionBarWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,actionBar:t})}visibleElementsCloseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,closeButton:t})}visibleElementsCollapseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,collapseButton:t})}visibleElementsFeatureNavigationWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,featureNavigation:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsSpinnerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,spinner:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async fetchFeatures(t,i){return await(this.widget?.fetchFeatures(t,i))}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async next(){return this.widget?.next()}async open(t){this.widget?.open(t)}async previous(){return this.widget?.previous()}async triggerAction(t){this.widget?.triggerAction(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeaturesReady.emit(),r(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.collapsed),(t=>this.collapsed=t),{initial:!0})),c(this,t((()=>this.widget.promises),(t=>this.promises=t),{initial:!0})),c(this,t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0})),c(this,t((()=>this.widget.selectedFeatureIndex),(t=>this.selectedFeatureIndex=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={actionBar:this.visibleElementsActionBar,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,featureNavigation:this.visibleElementsFeatureNavigation,heading:this.visibleElementsHeading,spinner:this.visibleElementsSpinner},this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.content&&(t.content=this.content),this.features&&(t.features=this.features),this.featuresTitle&&(t.title=this.featuresTitle),t}_proxyEvents(){this.widget.on("trigger-action",(t=>this.featuresTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],content:["contentWatcher"],features:["featuresWatcher"],icon:["iconWatcher"],featuresTitle:["featuresTitleWatcher"],visibleElementsActionBar:["visibleElementsActionBarWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsFeatureNavigation:["visibleElementsFeatureNavigationWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsSpinner:["visibleElementsSpinnerWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="arcgis-features{}";export{l as arcgis_features}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as t,c as i,h as s,g as e}from"./p-e6ce333d.js";import{g as a,i as h}from"./p-ab228eed.js";import{r,c,a as o}from"./p-0267ce0c.js";import{o as n}from"./p-cfb0b3db.js";const l=class{constructor(s){t(this,s),this.arcgisBasemapToggleReady=i(this,"arcgisBasemapToggleReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.nextBasemap=void 0,this.visibleElementsTitle=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}nextBasemapWatcher(t){t&&this.widget&&(this.widget.nextBasemap=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async toggle(){return await(this.widget?.toggle())}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisBasemapToggleReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={visibleElements:{}};return this.nextBasemap&&(t.nextBasemap=this.nextBasemap),this.visibleElementsTitle&&(t.visibleElements.title=this.visibleElementsTitle),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await h();o(this,t((()=>this.widget.activeBasemap),(t=>this.activeBasemap=t),{initial:!0})),o(this,t((()=>this.widget.nextBasemap),(t=>this.nextBasemap=t),{initial:!0}))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],nextBasemap:["nextBasemapWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_basemap_toggle}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as e,c as t,h as s,g as r}from"./p-e6ce333d.js";import{r as i,c}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const a=class{constructor(s){e(this,s),this.placementReady=t(this,"placementReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left"}referenceElementWatcher(e){i(this,e)}positionWatcher(e){void 0!==e&&this.view.ui.move(this.childElem,e)}async componentDidLoad(){this.placementReady.emit({ready:!0}),c(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:e=>this.childElem=e},s("slot",null))}get el(){return r(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"]}}};a.style="arcgis-placement{}";export{a as arcgis_placement}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as i,c as e,h as t,H as s,g as n}from"./p-e6ce333d.js";import{i as c}from"./p-ab228eed.js";const o=class{constructor(t){i(this,t),this.versionItemActionClickedEventWithServiceUrl=e(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=e(this,"versionListActionClickedEvent",7),this._versionListEventListeners=new Map,this._watchHandles=[],this._versionItemActionClickedEventWithServiceUrl=i=>{this.versionItemActionClickedEventWithServiceUrl.emit(i.detail)},this._versionListActionClickedEvent=i=>{this.versionListActionClickedEvent.emit(i.detail)},this.flowElement=void 0,this.heading=void 0,this.serviceUrl=void 0,this.strings=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[],this._removeVersionListEventListeners(this._versionList)}render(){const{flowElement:i,heading:e,serviceUrl:n,strings:c,viewModel:o}=this;let{_versionList:a}=this;const r=o.serviceNames.get(n);return t(s,null,t("calcite-panel",{heading:r},t("calcite-action",{id:`actionManageVersions_${r}`,icon:"list",scale:"s",slot:"header-actions-end",onclick:async()=>{a=document.createElement("arcgis-version-management-version-list"),a.heading=e,a.serviceUrl=n,a.serviceName=r,a.strings=c,a.userHasAdvancedEditingUserTypeExtension=o.advancedEditingUserTypeExtensionForUrl.get(n),await o.getVersionInfos(n,!1),a.versionInfos=o.versionInfos.get(n),a.viewModel=o,this._addVersionListEventListeners(a),i.append(a)}}),t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:`actionManageVersions_${r}`},t("span",null,c.headers.manageVersions))))}_addVersionListEventListeners(i){i.addEventListener("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),this._versionListEventListeners.set("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),i.addEventListener("versionListActionClickedEvent",this._versionListActionClickedEvent),this._versionListEventListeners.set("versionListActionClickedEvent",this._versionListActionClickedEvent)}_removeVersionListEventListeners(i){for(const[e,t]of this._versionListEventListeners)i.removeEventListener(e,t)}get _hostElement(){return n(this)}},a=class{constructor(t){i(this,t),this.versionPropertiesSaveClickedEvent=e(this,"versionPropertiesSaveClickedEvent",7),this._watchHandles=[],this.flowElement=void 0,this.serviceUrl=void 0,this.strings=void 0,this.versionInfo=void 0,this.viewModel=void 0,this.executionError=void 0,this.state=void 0}async componentDidLoad(){await this.viewModel.getVersionInfos(this.serviceUrl,!1)}async componentWillLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{serviceUrl:i,strings:e,versionInfo:n}=this,{viewModel:{executionError:c}}=this;return t(s,null,t("calcite-flow-item",{description:n?n.versionIdentifier.name:"",heading:n?e.actions.editVersion:e.actions.newVersion},t("calcite-panel",{loading:"executing"===this.state},t("div",{class:"div-content"},t("calcite-label",null,e.input.versionName,t("calcite-input-text",{id:"inputName",maxLength:62,value:n?n.versionIdentifier.name.split(".")[1]:""})),t("calcite-label",null,e.input.versionDescription,t("calcite-text-area",{id:"inputDescription",resize:"vertical",value:n?n.description:""})),t("calcite-label",null,e.input.versionAccess,t("calcite-chip-group",{id:"chipGroupAccessLevel",selectionMode:"single"},t("calcite-chip",{selected:"public"===n?.access,value:"public"},e.accessLevels.public),t("calcite-chip",{selected:"protected"===n?.access,value:"protected"},e.accessLevels.protected),t("calcite-chip",{selected:"private"===n?.access||!n,value:"private"},e.accessLevels.private))),t("calcite-label",null,e.input.versionOwner,t("calcite-input-text",{id:"inputOwner",disabled:!this.viewModel.advancedEditingUserTypeExtensionForUrl.get(i),value:n?n.versionIdentifier.name.split(".")[0]:this.viewModel.userForUrl.get(i)?.toUpperCase()})),t("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:()=>{this.flowElement.back()}},e.actions.cancelSave),t("calcite-button",{slot:"footer",width:"half",onClick:async()=>{const e=Array.from(this._hostElement.getElementsByTagName("calcite-input-text")),t=this._hostElement.getElementsByTagName("calcite-text-area")[0],s=e.find((i=>"inputName"===i.id)),c=e.find((i=>"inputOwner"===i.id)),o=Array.from(this._hostElement.getElementsByTagName("calcite-chip-group"))[0];this.versionPropertiesSaveClickedEvent.emit({serviceUrl:i,versionInfo:{access:o.selectedItems[0].value,description:t.value,versionIdentifier:{name:""!==c.value?`${c.value}.${s.value}`:s.value,guid:n?n.versionIdentifier.guid:""}}})}},e.actions.saveVersion)),"failed"===this.state?t("calcite-notice",{class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer"},t("div",{slot:"message"},this._getExecutionError(c))):void 0)))}_getExecutionError(i){const{strings:{executionErrors:e}}=this;switch(i){case"no-advanced-editing-user-type-extension":return e.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return e.noFeatureServiceFound;case"no-valid-enterprise-version":return e.notValidEnterpriseVersion;case"no-valid-version-name":return e.invalidVersionName;default:return i}}get _hostElement(){return n(this)}};export{o as arcgis_version_management_service_item,a as arcgis_version_management_version_properties}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as e,c as i,h as t,g as s}from"./p-e6ce333d.js";import{O as a,i as h}from"./p-ab228eed.js";import{r as c,c as r,a as n}from"./p-0267ce0c.js";import{o as l}from"./p-cfb0b3db.js";const o=class{constructor(t){e(this,t),this.arcgisScaleRangeSliderReady=i(this,"arcgisScaleRangeSliderReady",7),this._watchHandles=[],this.referenceElement=void 0,this.disabled=!1,this.layer=void 0,this.maxScale=void 0,this.maxScaleLimit=void 0,this.minScale=void 0,this.minScaleLimit=void 0,this.mode="range",this.region="US",this.visibleElementsPreview=!0,this.visibleElementsScaleMenusMinScaleMenu=!0,this.visibleElementsScaleMenusMaxScaleMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(e){c(this,e)}disabledWatcher(e,i){this.widget&&e!==i&&(this.widget.disabled=e)}layerWatcher(e){this.widget&&(this.widget.layer=e)}maxScaleWatcher(e){void 0!==e&&this.widget&&(this.widget.maxScale=e)}maxScaleLimitWatcher(e){void 0!==e&&this.widget&&(this.widget.maxScaleLimit=e)}minScaleWatcher(e){void 0!==e&&this.widget&&(this.widget.minScale=e)}minScaleLimitWatcher(e){void 0!==e&&this.widget&&(this.widget.minScaleLimit=e)}modeWatcher(e){this.widget&&(this.widget.mode=e)}regionWatcher(e){this.widget&&(this.widget.region=e)}visibleElementsPreviewWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,preview:e})}visibleElementsScaleMenusMinScaleMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,minScaleMenu:e}})}visibleElementsScaleMenusMaxScaleMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,maxScaleMenu:e}})}positionWatcher(e){void 0!==e&&this.widget&&this.view.ui.move(this.childElem,e)}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async componentDidLoad(){const e=this._createParams(),i=await a(e);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisScaleRangeSliderReady.emit(),r(this)}disconnectedCallback(){l(this)}render(){return t("div",{ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await h();n(this,e((()=>this.widget?.disabled),(e=>this.disabled=e)))}_createParams(){const e={};return e.visibleElements={preview:this.visibleElementsPreview,scaleMenus:{minScaleMenu:this.visibleElementsScaleMenusMinScaleMenu,maxScaleMenu:this.visibleElementsScaleMenusMaxScaleMenu}},this.layer&&(e.layer=this.layer),void 0!==this.maxScale&&(e.maxScale=this.maxScale),void 0!==this.minScale&&(e.minScale=this.minScale),void 0!==this.maxScaleLimit&&(e.maxScaleLimit=this.maxScaleLimit),void 0!==this.minScaleLimit&&(e.minScaleLimit=this.minScaleLimit),this.mode&&(e.mode=this.mode),this.region&&(e.region=this.region),this.view&&(e.view=this.view),e}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],layer:["layerWatcher"],maxScale:["maxScaleWatcher"],maxScaleLimit:["maxScaleLimitWatcher"],minScale:["minScaleWatcher"],minScaleLimit:["minScaleLimitWatcher"],mode:["modeWatcher"],region:["regionWatcher"],visibleElementsPreview:["visibleElementsPreviewWatcher"],visibleElementsScaleMenusMinScaleMenu:["visibleElementsScaleMenusMinScaleMenuWatcher"],visibleElementsScaleMenusMaxScaleMenu:["visibleElementsScaleMenusMaxScaleMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-scale-range-slider{}";export{o as arcgis_scale_range_slider}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as e,a as t,h as i,H as s,g as n}from"./p-e6ce333d.js";import{i as a,a3 as r}from"./p-ab228eed.js";function o(e,t){let i=e;for(;i;){if(i===t)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}var c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),l=new Map;async function h(e,t,i=""){let s=`${t}/${i}${e}.json`;if(l.has(s))return l.get(s);try{let n=await fetch(s);if(n.ok){let e=await n.json();return l.set(s,e),e}if("en"===e)return void l.set(s,void 0);let a=await h("en",t,i);return l.set(s,a),a}catch{return void l.set(s,void 0)}}var d=new WeakMap,v=new WeakMap,u=new WeakMap;async function w(e,t){let{lang:i,t9nLocale:s}=function(e){let t=function(e,t,i){return function(e,t){let i=e;for(;i;){let e=i.closest(t);if(e)return e;let s=i.getRootNode();if(s===document)return null;i=s.host}return null}(e,`[${t}]`)?.getAttribute(t)??i}(e,"lang",navigator.language||"en");if(c.has(t))return{lang:t,t9nLocale:t};let i=t.slice(0,2);return{lang:t,t9nLocale:c.has(i)?i:"en"}}(e._hostElement);if(i===e._lang&&s===e._t9nLocale||(i!==e._lang&&(e._lang=i),s===e._t9nLocale))return;let n=u.get(e);if(!n){let t=v.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),a=`${t}/${i}/t9n`,r=`${i}.t9n.`;n=await h(s,a,r)}s!==e._t9nLocale&&(e._t9nLocale=s,e._t9nStrings=n,await(t?.call(e)))}const f=class{constructor(t){e(this,t),this._watchHandles=[],this.label=void 0,this.position="top-right",this.view=void 0,this._lang="",this._t9nLocale="",this._t9nStrings=void 0,this.state=void 0}positionWatcher(e){void 0!==e&&this.viewModel&&this.view.ui.move(this._hostElement,e)}async componentDidLoad(){const{watch:e}=await a();this._watchHandles.push(e((()=>this.viewModel.state),(e=>{this.state=e})))}async componentWillLoad(){await async function(e,t,i){v.set(e,t),d.set(e,function(e,t,i=(()=>{})){if(!t||t.length<=0)return;let s=new MutationObserver((t=>{for(let s of t)o(e,s.target)&&i()}));return s.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),s}(e._hostElement,["lang"],(()=>{w(e,i).catch(console.error)}))),await w(e,i)}(this,t("./assets")),await this._checkForView(),this.viewModel=await r({layers:this.view.map.layers}),this.label=this.label?this.label:this._t9nStrings.label}disconnectedCallback(){var e;e=this,d.get(e)?.disconnect(),d.delete(e),v.delete(e),this._watchHandles.forEach((e=>{e.remove()})),this._watchHandles=[]}render(){const{_t9nStrings:e,label:t,viewModel:n,viewModel:{state:a,loadError:r}}=this,o=Array.from(this.viewModel.serviceNames,(([e,t])=>({url:e,name:t})));return i(s,null,i("calcite-flow",{ref:e=>{this.flowElement=e},class:"flow-main"},i("calcite-flow-item",{heading:t},i("calcite-panel",{class:"panel-services",loading:"loading"===a},o.map((s=>i("arcgis-version-management-service-item",{flowElement:this.flowElement,heading:t,serviceUrl:s.url,strings:e,viewModel:n,onVersionItemActionClickedEventWithServiceUrl:e=>{this._handleVersionItemActionClick(e,this.flowElement)},onVersionListActionClickedEvent:e=>{this._handleVersionListActionClick(e,this.flowElement)}}))),"disabled"===a?i("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer"},i("div",{slot:"message"},this._getLoadError(r))):void 0))))}async _checkForView(){const e=this._hostElement.closest("arcgis-map");e?.view&&(await e.view.map.load(),this.view=e.view,this.view.ui.add(this._hostElement,this.position))}_createVersionPropertiesFlow(e,t){const{flowElement:i,viewModel:s}=this,n=document.createElement("arcgis-version-management-version-properties");return n.flowElement=i,n.serviceUrl=e,n.strings=this._t9nStrings,n.versionInfo=t,n.viewModel=s,n.addEventListener("versionPropertiesSaveClickedEvent",(async e=>{const{serviceUrl:t,versionInfo:n}=e.detail,a=n.versionIdentifier.name,r=a.split(".").length>1?a.split(".")[1]:a,o=a.split(".").length>1?a.split(".")[0]:s.userForUrl.get(t);if(""===n.versionIdentifier.guid?await s.createVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionName:r}):await s.alterVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionIdentifier:{name:"",guid:n.versionIdentifier.guid},versionName:r}),"ready"===s.state){await s.getVersionInfos(t,!0);const e=s.versionInfos.get(t);i.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e,await i.back()}})),n}_getLoadError(e){const{_t9nStrings:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-layers-property":return t.loadErrors.noLayersProperty;default:return e}}async _handleVersionItemActionClick(e,t){const{actionType:i,serviceUrl:s,versionInfo:n}=e.detail;switch(i){case"changeVersion":await this._switchToVersion(s,n.versionIdentifier.name,n.versionIdentifier.guid);break;case"editVersion":t.append(this._createVersionPropertiesFlow(s,n))}}async _handleVersionListActionClick(e,t){const{actionType:i,serviceUrl:s}=e.detail;switch(i){case"newVersion":t.append(this._createVersionPropertiesFlow(s,void 0));break;case"refreshVersions":{const e=await this.viewModel.getVersionInfos(s,!0);this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e;break}}}async _switchToVersion(e,t,i){await this.viewModel.changeVersion(e,t,i)}static get assetsDirs(){return["assets"]}get _hostElement(){return n(this)}static get watchers(){return{position:["positionWatcher"]}}};f.style=".div-content{background-color:var(--calcite-ui-foreground-1);padding:0.75rem}.flow-main{width:330px}.notice{width:-webkit-fill-available}.panel-services{max-height:400px}.panel-versions{max-height:400px}";export{f as arcgis_version_management}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as t,c as e,h as i,g as s}from"./p-e6ce333d.js";import{C as r}from"./p-ab228eed.js";import{r as h,c}from"./p-0267ce0c.js";import{o}from"./p-cfb0b3db.js";const a=class{constructor(i){t(this,i),this.widgetReady=e(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.element=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}elementWatcher(t){this.widget&&(this.widget.element=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await r(t);this.widget=e,this.widgetReady.emit({widget:this.widget}),c(this)}disconnectedCallback(){o(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.element&&(t.element=this.element),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],element:["elementWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};a.style="";export{a as arcgis_fullscreen}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- import{r as i,c as e,h as t,H as s,g as n}from"./p-e6ce333d.js";import{i as o}from"./p-ab228eed.js";const c=class{constructor(t){i(this,t),this.versionItemActionClickedEvent=e(this,"versionItemActionClickedEvent",7),this.strings=void 0,this.hasAdvEditingUte=void 0,this.isVersioningApiAvailable=void 0,this.versionInfo=void 0}render(){const{strings:{actions:i},versionInfo:e}=this,n=e.versionIdentifier.name,o=e.versionIdentifier.guid,c=`actionSwitchToVersion_${o}`;return t(s,null,t("calcite-list-item",{description:n.split(".")[0],label:n.split(".")[1],value:o},t("calcite-action",{id:c,icon:"switch",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"changeVersion",versionInfo:e})},slot:"actions-start"}),t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:c},t("span",null,i.switchToVersion)),t("calcite-action-menu",{"overlay-positioning":"fixed",slot:"actions-end"},t("calcite-action",{icon:"switch",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"changeVersion",versionInfo:e})},scale:"s",text:i.switchToVersion,textEnabled:!0}),t("calcite-action",{disabled:"SDE.DEFAULT"===n.toUpperCase()||!this.hasAdvEditingUte||!this.isVersioningApiAvailable,icon:"edit-attributes",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"editVersion",versionInfo:e})},scale:"s",text:i.editVersion,textEnabled:!0}))))}get _hostElement(){return n(this)}},a=class{constructor(t){i(this,t),this.versionItemActionClickedEventWithServiceUrl=e(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=e(this,"versionListActionClickedEvent",7),this._watchHandles=[],this.heading=void 0,this.serviceName=void 0,this.serviceUrl=void 0,this.strings=void 0,this.userHasAdvancedEditingUserTypeExtension=void 0,this.versionInfos=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await o();this._watchHandles.push(i((()=>this.versionInfos),(i=>{this.versionInfos=i})),i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{heading:i,serviceName:e,serviceUrl:n,state:o,strings:c,versionInfos:a,viewModel:r}=this;return t(s,null,t("calcite-flow-item",{heading:i,description:e},t("calcite-panel",{loading:"executing"===o,class:"panel-versions",heading:`${c.headers.manageVersions} (${a.length})`},t("calcite-action",{id:"actionRefreshVersions",icon:"refresh",onclick:()=>{this.versionListActionClickedEvent.emit({actionType:"refreshVersions",serviceUrl:n})},slot:"header-actions-end"}),t("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:"actionRefreshVersions"},t("span",null,c.actions.refreshVersions)),t("calcite-list",{class:"version-list",filterEnabled:!0},a.map((i=>t("arcgis-version-management-version-item",{strings:c,hasAdvEditingUte:r.advancedEditingUserTypeExtensionForUrl.get(n),isVersioningApiAvailable:(r.serverVersionForUrl.get(n)??0)>=11.2,versionInfo:i,onVersionItemActionClickedEvent:i=>{this.versionItemActionClickedEventWithServiceUrl.emit({...i.detail,serviceUrl:n})}})))),t("calcite-fab",{appearance:"outline-fill",slot:"fab",textEnabled:!0,text:c.actions.newVersion,onclick:()=>{this.versionListActionClickedEvent.emit({actionType:"newVersion",serviceUrl:n})}}))))}get _hostElement(){return n(this)}};export{c as arcgis_version_management_version_item,a as arcgis_version_management_version_list}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
- * v4.30.0-next.2
5
- */
6
- let n,t,e,l=!1,o=!1,s=!1,i=!1;const c=n=>{const t=new URL(n,dn.t);return t.origin!==an.location.origin?t.href:t.pathname},r="slot-fb{display:contents}slot-fb[hidden]{display:none}",u={},a=n=>"object"==(n=typeof n)||"function"===n;function f(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const d=(n,t,...e)=>{let l=null,o=null,s=!1,i=!1;const c=[],r=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!a(l))&&(l+=""),s&&i?c[c.length-1].l+=l:c.push(s?v(null,l):l),i=s)};if(r(e),t){t.name&&(o=t.name);{const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}}const u=v(n,null);return u.o=t,c.length>0&&(u.i=c),u.u=o,u},v=(n,t)=>({v:0,$:n,l:t,p:null,i:null,o:null,u:null}),$={},p=n=>tn(n).$hostElement$,m=(n,t,e)=>{const l=p(n);return{emit:n=>y(l,t,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:n})}},y=(n,t,e)=>{const l=dn.ce(t,e);return n.dispatchEvent(l),l},h=new WeakMap,b=n=>"sc-"+n.m,w=(n,t,e,l,o,s)=>{if(e!==l){let i=on(n,t),c=t.toLowerCase();if("class"===t){const t=n.classList,o=S(e),s=S(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else if("ref"===t)l&&l(n);else if(i||"o"!==t[0]||"n"!==t[1]){const c=a(l);if((i||c&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!i||4&s||o)&&!c&&n.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):on(an,c)?c.slice(2):c[2]+t.slice(3),e||l){const o=t.endsWith(j);t=t.replace(k,""),e&&dn.rel(n,t,e,o),l&&dn.ael(n,t,l,o)}}},g=/\s/,S=n=>n?n.split(g):[],j="Capture",k=RegExp(j+"$"),O=(n,t,e,l)=>{const o=11===t.p.nodeType&&t.p.host?t.p.host:t.p,s=n&&n.o||u,i=t.o||u;for(l in s)l in i||w(o,l,s[l],void 0,e,t.v);for(l in i)w(o,l,s[l],i[l],e,t.v)},C=(o,i,c,r)=>{const u=i.i[c];let a,f,d,v=0;if(l||(s=!0,"slot"===u.$&&(n&&r.classList.add(n+"-s"),u.v|=u.i?2:1)),null!==u.l)a=u.p=fn.createTextNode(u.l);else if(1&u.v)a=u.p=fn.createTextNode("");else if(a=u.p=fn.createElement(2&u.v?"slot-fb":u.$),O(null,u,!1),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.i)for(v=0;v<u.i.length;++v)f=C(o,u,v,a),f&&a.appendChild(f);return a["s-hn"]=e,3&u.v&&(a["s-sr"]=!0,a["s-cr"]=t,a["s-sn"]=u.u||"",d=o&&o.i&&o.i[c],d&&d.$===u.$&&o.p&&M(o.p,!1)),a},M=(n,t)=>{dn.v|=1;const l=n.childNodes;for(let n=l.length-1;n>=0;n--){const o=l[n];o["s-hn"]!==e&&o["s-ol"]&&(x(o).insertBefore(o,T(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,s=!0),t&&M(o,t)}dn.v&=-2},R=(n,t,l,o,s,i)=>{let c,r=n["s-cr"]&&n["s-cr"].parentNode||n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=C(null,l,s,n),c&&(o[s].p=c,r.insertBefore(c,T(t))))},P=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.p;D(t),n&&(o=!0,n["s-ol"]?n["s-ol"].remove():M(n,!0),n.remove())}}},L=(n,t)=>n.$===t.$&&("slot"!==n.$||n.u===t.u),T=n=>n&&n["s-ol"]||n,x=n=>(n["s-ol"]?n["s-ol"]:n).parentNode,E=(n,t,e=!1)=>{const l=t.p=n.p,o=n.i,s=t.i,i=t.l;let c;null===i?("slot"===t.$||O(n,t,!1),null!==o&&null!==s?((n,t,e,l,o=!1)=>{let s,i=0,c=0,r=t.length-1,u=t[0],a=t[r],f=l.length-1,d=l[0],v=l[f];for(;i<=r&&c<=f;)null==u?u=t[++i]:null==a?a=t[--r]:null==d?d=l[++c]:null==v?v=l[--f]:L(u,d)?(E(u,d,o),u=t[++i],d=l[++c]):L(a,v)?(E(a,v,o),a=t[--r],v=l[--f]):L(u,v)?("slot"!==u.$&&"slot"!==v.$||M(u.p.parentNode,!1),E(u,v,o),n.insertBefore(u.p,a.p.nextSibling),u=t[++i],v=l[--f]):L(a,d)?("slot"!==u.$&&"slot"!==v.$||M(a.p.parentNode,!1),E(a,d,o),n.insertBefore(a.p,u.p),a=t[--r],d=l[++c]):(s=C(t&&t[c],e,c,n),d=l[++c],s&&x(u.p).insertBefore(s,T(u.p)));i>r?R(n,null==l[f+1]?null:l[f+1].p,e,l,c,f):c>f&&P(t,i,r)})(l,o,t,s,e):null!==s?(null!==n.l&&(l.textContent=""),R(l,null,t,s,0,s.length-1)):null!==o&&P(o,0,o.length-1)):(c=l["s-cr"])?c.parentNode.textContent=i:n.l!==i&&(l.data=i)},N=n=>{const t=n.childNodes;for(const n of t)if(1===n.nodeType){if(n["s-sr"]){const e=n["s-sn"];n.hidden=!1;for(const l of t)if(l!==n)if(l["s-hn"]!==n["s-hn"]||""!==e){if(1===l.nodeType&&(e===l.getAttribute("slot")||e===l["s-sn"])){n.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){n.hidden=!0;break}}N(n)}},A=[],U=n=>{let t,e,l;for(const s of n.childNodes){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){e=t.parentNode.childNodes;const n=s["s-sn"];for(l=e.length-1;l>=0;l--)if(t=e[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==s["s-hn"])if(W(t,n)){let e=A.find((n=>n.h===t));o=!0,t["s-sn"]=t["s-sn"]||n,e?(e.h["s-sh"]=s["s-hn"],e.S=s):(t["s-sh"]=s["s-hn"],A.push({S:s,h:t})),t["s-sr"]&&A.map((n=>{W(n.h,t["s-sn"])&&(e=A.find((n=>n.h===t)),e&&!n.S&&(n.S=e.S))}))}else A.some((n=>n.h===t))||A.push({h:t})}1===s.nodeType&&U(s)}},W=(n,t)=>1===n.nodeType?null===n.getAttribute("slot")&&""===t||n.getAttribute("slot")===t:n["s-sn"]===t||""===t,D=n=>{n.o&&n.o.ref&&n.o.ref(null),n.i&&n.i.map(D)},F=(n,t)=>{t&&!n.j&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.j=t)))},H=(n,t)=>{if(n.v|=16,!(4&n.v))return F(n,n.k),gn((()=>q(n,t)));n.v|=512},q=(n,t)=>{const e=n.O;let l;return t&&(l=J(e,"componentWillLoad")),V(l,(()=>z(n,e,t)))},V=(n,t)=>_(n)?n.then(t):t(),_=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,z=async(n,t,e)=>{var l;const o=n.$hostElement$,s=o["s-rc"];e&&(n=>{const t=n.C,e=n.$hostElement$,l=t.v,o=((n,t)=>{var e;const l=b(t),o=un.get(l);if(n=11===n.nodeType?n:fn,o)if("string"==typeof o){let s,i=h.get(n=n.head||n);if(i||h.set(n,i=new Set),!i.has(l)){{s=fn.createElement("style"),s.innerHTML=o;const t=null!==(e=dn.M)&&void 0!==e?e:f(fn);null!=t&&s.setAttribute("nonce",t),n.insertBefore(s,n.querySelector("link"))}4&t.v&&(s.innerHTML+=r),i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);B(n,t,o,e),s&&(s.map((n=>n())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>G(n);0===t.length?e():(Promise.all(t).then(e),n.v|=4,t.length=0)}},B=(i,c,r,u)=>{try{c=c.render(),i.v&=-17,i.v|=2,((i,c,r=!1)=>{var u,a,f,p;const m=i.$hostElement$,y=i.C,h=i.R||v(null,null),b=(n=>n&&n.$===$)(c)?c:d(null,null,c);if(e=m.tagName,y.P&&(b.o=b.o||{},y.P.map((([n,t])=>b.o[t]=m[n]))),r&&b.o)for(const n of Object.keys(b.o))m.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(b.o[n]=m[n]);if(b.$=null,b.v|=4,i.R=b,b.p=h.p=m.shadowRoot||m,n=m["s-sc"],t=m["s-cr"],l=0!=(1&y.v),o=!1,E(h,b,r),dn.v|=1,s){U(b.p);for(const n of A){const t=n.h;if(!t["s-ol"]){const n=fn.createTextNode("");n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t)}}for(const n of A){const t=n.h,e=n.S;if(e){const n=e.parentNode;let l=e.nextSibling;{let e=null===(u=t["s-ol"])||void 0===u?void 0:u.previousSibling;for(;e;){let o=null!==(a=e["s-nr"])&&void 0!==a?a:null;if(o&&o["s-sn"]===t["s-sn"]&&n===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}e=e.previousSibling}}(!l&&n!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(f=t["s-ih"])&&void 0!==f&&f))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(p=t.hidden)&&void 0!==p&&p),t.hidden=!0)}}o&&N(b.p),dn.v&=-2,A.length=0})(i,c,u)}catch(n){sn(n,i.$hostElement$)}return null},G=n=>{const t=n.$hostElement$,e=n.O,l=n.k;J(e,"componentDidRender"),64&n.v||(n.v|=64,K(t),J(e,"componentDidLoad"),n.L(t),l||I()),n.T(t),n.j&&(n.j(),n.j=void 0),512&n.v&&wn((()=>H(n,!1))),n.v&=-517},I=()=>{K(fn.documentElement),wn((()=>y(an,"appload",{detail:{namespace:"arcgis-map-components"}})))},J=(n,t,e)=>{if(n&&n[t])try{return n[t](e)}catch(n){sn(n)}},K=n=>n.setAttribute("hydrated",""),Q=(n,t,e)=>{var l;const o=n.prototype;if(t.N){n.watchers&&(t.A=n.watchers);const s=Object.entries(t.N);if(s.map((([n,[l]])=>{31&l||2&e&&32&l?Object.defineProperty(o,n,{get(){return((n,t)=>tn(this).U.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=tn(n),s=o.$hostElement$,i=o.U.get(t),c=o.v,r=o.O;if(e=((n,t)=>null==n||a(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.N[t][0]),(!(8&c)||void 0===i)&&e!==i&&(!Number.isNaN(i)||!Number.isNaN(e))&&(o.U.set(t,e),r)){if(l.A&&128&c){const n=l.A[t];n&&n.map((n=>{try{r[n](e,i,t)}catch(n){sn(n,s)}}))}2==(18&c)&&H(o,!1)}})(this,n,e,t)},configurable:!0,enumerable:!0}):1&e&&64&l&&Object.defineProperty(o,n,{value(...t){var e;const l=tn(this);return null===(e=null==l?void 0:l.W)||void 0===e?void 0:e.then((()=>{var e;return null===(e=l.O)||void 0===e?void 0:e[n](...t)}))}})})),1&e){const e=new Map;o.attributeChangedCallback=function(n,l,s){dn.jmp((()=>{var i;const c=e.get(n);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const e=tn(this),o=null==e?void 0:e.v;if(o&&!(8&o)&&128&o&&s!==l){const o=e.O,c=null===(i=t.A)||void 0===i?void 0:i[n];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,n)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.A)&&void 0!==l?l:{}),...s.filter((([n,t])=>15&t[0])).map((([n,l])=>{var o;const s=l[1]||n;return e.set(s,n),512&l[0]&&(null===(o=t.P)||void 0===o||o.push([n,s])),s}))]))}}return n},X=n=>{J(n,"disconnectedCallback")},Y=(n,t={})=>{var e;const l=[],o=t.exclude||[],s=an.customElements,i=fn.head,c=i.querySelector("meta[charset]"),u=fn.createElement("style"),a=[];let d,v=!0;Object.assign(dn,t),dn.t=new URL(t.resourcesUrl||"./",fn.baseURI).href;let $=!1;if(n.map((n=>{n[1].map((t=>{var e;const i={v:t[0],m:t[1],N:t[2],D:t[3]};4&i.v&&($=!0),i.N=t[2],i.P=[],i.A=null!==(e=t[4])&&void 0!==e?e:{};const c=i.m,r=class extends HTMLElement{constructor(n){super(n),ln(n=this,i),1&i.v&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?a.push(this):dn.jmp((()=>(n=>{if(0==(1&dn.v)){const t=tn(n),e=t.C,l=()=>{};if(1&t.v)(null==t?void 0:t.O)||(null==t?void 0:t.F)&&t.F.then((()=>{}));else{t.v|=1,12&e.v&&(n=>{const t=n["s-cr"]=fn.createComment("");t["s-cn"]=!0,n.insertBefore(t,n.firstChild)})(n);{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){F(t,t.k=e);break}}e.N&&Object.entries(e.N).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.v)){t.v|=32;{if(l=rn(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(e.A=l.watchers,Q(l,e,2),l.isProxied=!0);const n=()=>{};t.v|=8;try{new l(t)}catch(n){sn(n)}t.v&=-9,t.v|=128,n()}if(l.style){let n=l.style;const t=b(e);if(!un.has(t)){const l=()=>{};((n,t,e)=>{let l=un.get(n);$n&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,un.set(n,l)})(t,n,!!(1&e.v)),l()}}}const o=t.k,s=()=>H(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){dn.jmp((()=>(async()=>{if(0==(1&dn.v)){const n=tn(this);(null==n?void 0:n.O)?X(n.O):(null==n?void 0:n.F)&&n.F.then((()=>X(n.O)))}})()))}componentOnReady(){return tn(this).F}};i.H=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,Q(r,i,1)))}))})),$&&(u.innerHTML+=r),u.innerHTML+=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.innerHTML.length){u.setAttribute("data-styles","");const n=null!==(e=dn.M)&&void 0!==e?e:f(fn);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,c?c.nextSibling:i.firstChild)}v=!1,a.length?a.map((n=>n.connectedCallback())):dn.jmp((()=>d=setTimeout(I,30)))},Z=n=>dn.M=n,nn=new WeakMap,tn=n=>nn.get(n),en=(n,t)=>nn.set(t.O=n,t),ln=(n,t)=>{const e={v:0,$hostElement$:n,C:t,U:new Map};return e.W=new Promise((n=>e.T=n)),e.F=new Promise((n=>e.L=n)),n["s-p"]=[],n["s-rc"]=[],nn.set(n,e)},on=(n,t)=>t in n,sn=(n,t)=>(0,console.error)(n,t),cn=new Map,rn=n=>{const t=n.m.replace(/-/g,"_"),e=n.H,l=cn.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(cn.set(e,n),n[t])),sn)
7
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},un=new Map,an="undefined"!=typeof window?window:{},fn=an.document||{head:{}},dn={v:0,t:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},vn=n=>Promise.resolve(n),$n=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),pn=[],mn=[],yn=(n,t)=>e=>{n.push(e),i||(i=!0,t&&4&dn.v?wn(bn):dn.raf(bn))},hn=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){sn(n)}n.length=0},bn=()=>{hn(pn),hn(mn),(i=pn.length>0)&&dn.raf(bn)},wn=n=>vn().then(n),gn=yn(mn,!0);export{$ as H,c as a,Y as b,m as c,p as g,d as h,vn as p,en as r,Z as s}