@arcgis/map-components 4.29.7 → 4.29.9

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 (275) 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-f52e3491.entry.js → p-0355b477.entry.js} +2 -2
  4. package/dist/arcgis-map-components/p-03cb12bd.entry.js +6 -0
  5. package/dist/arcgis-map-components/p-058797e2.entry.js +6 -0
  6. package/dist/arcgis-map-components/{p-fef5523a.js → p-0671983f.js} +1 -1
  7. package/dist/arcgis-map-components/{p-51f3f74c.entry.js → p-0756c3cd.entry.js} +2 -2
  8. package/dist/arcgis-map-components/{p-b923473d.entry.js → p-08369da1.entry.js} +2 -2
  9. package/dist/arcgis-map-components/{p-27150aef.entry.js → p-0ad33493.entry.js} +2 -2
  10. package/dist/arcgis-map-components/{p-7595bc46.entry.js → p-0e993dd7.entry.js} +2 -2
  11. package/dist/arcgis-map-components/p-10cd4421.entry.js +6 -0
  12. package/dist/arcgis-map-components/{p-41e5f19c.entry.js → p-16add372.entry.js} +2 -2
  13. package/dist/arcgis-map-components/{p-424a0cb9.entry.js → p-189e5dab.entry.js} +2 -2
  14. package/dist/arcgis-map-components/{p-4b882990.entry.js → p-1fb42925.entry.js} +2 -2
  15. package/dist/arcgis-map-components/{p-66193de2.entry.js → p-25898f68.entry.js} +2 -2
  16. package/dist/arcgis-map-components/{p-119bbcd6.entry.js → p-2eba4683.entry.js} +2 -2
  17. package/dist/arcgis-map-components/{p-17ab6997.entry.js → p-304a96de.entry.js} +2 -2
  18. package/dist/arcgis-map-components/{p-7c95697d.entry.js → p-38421588.entry.js} +2 -2
  19. package/dist/arcgis-map-components/{p-3ff1dc41.entry.js → p-3aa52a73.entry.js} +2 -2
  20. package/dist/arcgis-map-components/{p-12907ba8.entry.js → p-3df6bdc8.entry.js} +2 -2
  21. package/dist/arcgis-map-components/{p-17a04dd4.entry.js → p-4585c7b2.entry.js} +2 -2
  22. package/dist/arcgis-map-components/{p-1ef7802e.entry.js → p-49528118.entry.js} +2 -2
  23. package/dist/arcgis-map-components/p-4ea39353.entry.js +6 -0
  24. package/dist/arcgis-map-components/{p-a2098d2b.entry.js → p-52657671.entry.js} +2 -2
  25. package/dist/arcgis-map-components/{p-11696a57.entry.js → p-595b697e.entry.js} +2 -2
  26. package/dist/arcgis-map-components/{p-98e724bf.entry.js → p-5c6ce033.entry.js} +2 -2
  27. package/dist/arcgis-map-components/{p-12b7b6ad.entry.js → p-6540a085.entry.js} +2 -2
  28. package/dist/arcgis-map-components/p-6a2351bd.entry.js +6 -0
  29. package/dist/arcgis-map-components/{p-4a56215a.js → p-793d023f.js} +1 -1
  30. package/dist/arcgis-map-components/{p-b3375a64.entry.js → p-7b616cf5.entry.js} +2 -2
  31. package/dist/arcgis-map-components/{p-a8f4ae54.entry.js → p-81de444b.entry.js} +2 -2
  32. package/dist/arcgis-map-components/p-890ec979.entry.js +6 -0
  33. package/dist/arcgis-map-components/{p-893559c5.entry.js → p-8b96818a.entry.js} +2 -2
  34. package/dist/arcgis-map-components/{p-e201c9e4.entry.js → p-9372cdba.entry.js} +2 -2
  35. package/dist/arcgis-map-components/{p-f44bf4a1.entry.js → p-94884d3a.entry.js} +2 -2
  36. package/dist/arcgis-map-components/{p-5618cdb5.js → p-96144710.js} +1 -1
  37. package/dist/arcgis-map-components/p-97f968ee.entry.js +6 -0
  38. package/dist/arcgis-map-components/{p-7511a3e3.entry.js → p-a0eeacfd.entry.js} +2 -2
  39. package/dist/arcgis-map-components/{p-08bdd78b.entry.js → p-a3f00920.entry.js} +2 -2
  40. package/dist/arcgis-map-components/p-a4017590.js +7 -0
  41. package/dist/arcgis-map-components/{p-831a3483.entry.js → p-a5ec88c2.entry.js} +2 -2
  42. package/dist/arcgis-map-components/{p-14fb2d72.entry.js → p-aba4f39c.entry.js} +2 -2
  43. package/dist/arcgis-map-components/{p-72c4d504.entry.js → p-af57d43a.entry.js} +2 -2
  44. package/dist/arcgis-map-components/{p-4107c8e4.entry.js → p-b10bcfb1.entry.js} +2 -2
  45. package/dist/arcgis-map-components/{p-11b3803c.entry.js → p-b3664276.entry.js} +2 -2
  46. package/dist/arcgis-map-components/{p-8ef95194.entry.js → p-b6bdf2a4.entry.js} +2 -2
  47. package/dist/arcgis-map-components/{p-4e5043a9.entry.js → p-ba406b10.entry.js} +2 -2
  48. package/dist/arcgis-map-components/{p-901e2589.entry.js → p-bfe85e85.entry.js} +2 -2
  49. package/dist/arcgis-map-components/{p-33e976b5.entry.js → p-c2b7f405.entry.js} +2 -2
  50. package/dist/arcgis-map-components/{p-f2728c32.entry.js → p-c864cd40.entry.js} +2 -2
  51. package/dist/arcgis-map-components/p-caaee381.entry.js +6 -0
  52. package/dist/arcgis-map-components/{p-7164604b.entry.js → p-cb07337c.entry.js} +2 -2
  53. package/dist/arcgis-map-components/{p-048c93dc.entry.js → p-d4074e82.entry.js} +2 -2
  54. package/dist/arcgis-map-components/{p-98688f40.entry.js → p-d89dffe2.entry.js} +2 -2
  55. package/dist/arcgis-map-components/{p-4f97ba64.entry.js → p-de78052b.entry.js} +2 -2
  56. package/dist/arcgis-map-components/{p-0176ffee.entry.js → p-e16510ff.entry.js} +2 -2
  57. package/dist/arcgis-map-components/{p-f77a9d21.entry.js → p-e289060a.entry.js} +2 -2
  58. package/dist/arcgis-map-components/{p-80928212.entry.js → p-e96b4991.entry.js} +2 -2
  59. package/dist/arcgis-map-components/{p-c06d9650.entry.js → p-eb67a9c2.entry.js} +2 -2
  60. package/dist/arcgis-map-components/{p-b055ff4c.entry.js → p-ed270861.entry.js} +2 -2
  61. package/dist/arcgis-map-components/{p-72cb85bd.entry.js → p-ee55e2e8.entry.js} +2 -2
  62. package/dist/arcgis-map-components/{p-000ce726.entry.js → p-f562e7a2.entry.js} +2 -2
  63. package/dist/arcgis-map-components/{p-5536dcd1.entry.js → p-f6aa7565.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 +33 -15
  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-0b80602d.js → component-utils-47e30c9e.js} +1 -1
  123. package/dist/cjs/{disconnected-2bed5c21.js → disconnected-9ba0220a.js} +1 -1
  124. package/dist/cjs/{index-064ec7c3.js → index-2f500d02.js} +1 -1
  125. package/dist/cjs/{index-72c4fd5d.js → index-a9cbbff9.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-attachments.js +1 -1
  131. package/dist/components/arcgis-basemap-gallery.js +1 -1
  132. package/dist/components/arcgis-basemap-layer-list.js +1 -1
  133. package/dist/components/arcgis-basemap-toggle.js +1 -1
  134. package/dist/components/arcgis-bookmarks.js +1 -1
  135. package/dist/components/arcgis-building-explorer.js +1 -1
  136. package/dist/components/arcgis-compass.js +1 -1
  137. package/dist/components/arcgis-coordinate-conversion.js +1 -1
  138. package/dist/components/arcgis-daylight.js +1 -1
  139. package/dist/components/arcgis-directional-pad.js +1 -1
  140. package/dist/components/arcgis-directions.js +1 -1
  141. package/dist/components/arcgis-directline-measurement-3d.js +1 -1
  142. package/dist/components/arcgis-distance-measurement-2d.js +1 -1
  143. package/dist/components/arcgis-editor.js +1 -1
  144. package/dist/components/arcgis-elevation-profile.js +1 -1
  145. package/dist/components/arcgis-expand.js +1 -1
  146. package/dist/components/arcgis-feature-form.js +1 -1
  147. package/dist/components/arcgis-feature-table.js +1 -1
  148. package/dist/components/arcgis-feature-templates.js +1 -1
  149. package/dist/components/arcgis-feature.js +1 -1
  150. package/dist/components/arcgis-features.js +1 -1
  151. package/dist/components/arcgis-floor-filter.js +1 -1
  152. package/dist/components/arcgis-fullscreen.js +1 -1
  153. package/dist/components/arcgis-histogram-range-slider.js +1 -1
  154. package/dist/components/arcgis-histogram.js +1 -1
  155. package/dist/components/arcgis-home.js +1 -1
  156. package/dist/components/arcgis-layer-list.js +1 -1
  157. package/dist/components/arcgis-legend.js +1 -1
  158. package/dist/components/arcgis-line-of-sight.js +1 -1
  159. package/dist/components/arcgis-locate.js +1 -1
  160. package/dist/components/arcgis-map.js +1 -1
  161. package/dist/components/arcgis-measurement.js +1 -1
  162. package/dist/components/arcgis-navigation-toggle.js +1 -1
  163. package/dist/components/arcgis-placement.js +1 -1
  164. package/dist/components/arcgis-print.js +1 -1
  165. package/dist/components/arcgis-scale-bar.js +1 -1
  166. package/dist/components/arcgis-scale-range-slider.js +1 -1
  167. package/dist/components/arcgis-scene.js +1 -1
  168. package/dist/components/arcgis-search.js +1 -1
  169. package/dist/components/arcgis-shadow-cast.js +1 -1
  170. package/dist/components/arcgis-sketch.js +1 -1
  171. package/dist/components/arcgis-slice.js +1 -1
  172. package/dist/components/arcgis-slider.js +1 -1
  173. package/dist/components/arcgis-swipe.js +1 -1
  174. package/dist/components/arcgis-table-list.js +1 -1
  175. package/dist/components/arcgis-time-slider.js +1 -1
  176. package/dist/components/arcgis-track.js +1 -1
  177. package/dist/components/arcgis-utility-network-associations.js +1 -1
  178. package/dist/components/arcgis-utility-network-trace.js +1 -1
  179. package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
  180. package/dist/components/arcgis-value-picker.js +1 -1
  181. package/dist/components/arcgis-version-management-service-item.js +1 -1
  182. package/dist/components/arcgis-version-management-version-item.js +1 -1
  183. package/dist/components/arcgis-version-management-version-list.js +1 -1
  184. package/dist/components/arcgis-version-management-version-properties.js +1 -1
  185. package/dist/components/arcgis-version-management.js +31 -13
  186. package/dist/components/arcgis-weather.js +1 -1
  187. package/dist/components/arcgis-zoom.js +1 -1
  188. package/dist/components/component-utils.js +1 -1
  189. package/dist/components/disconnected.js +1 -1
  190. package/dist/components/expand.js +1 -1
  191. package/dist/components/index.js +1 -1
  192. package/dist/components/index2.js +1 -1
  193. package/dist/components/version-management-service-item.js +9 -6
  194. package/dist/components/version-management-version-item.js +4 -4
  195. package/dist/components/version-management-version-list.js +8 -4
  196. package/dist/components/version-management-version-properties.js +3 -3
  197. package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -5
  198. package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -5
  199. package/dist/esm/arcgis-attachments.entry.js +5 -5
  200. package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -5
  201. package/dist/esm/arcgis-basemap-layer-list.entry.js +5 -5
  202. package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
  203. package/dist/esm/arcgis-bookmarks.entry.js +5 -5
  204. package/dist/esm/arcgis-building-explorer.entry.js +5 -5
  205. package/dist/esm/arcgis-compass.entry.js +5 -5
  206. package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
  207. package/dist/esm/arcgis-daylight.entry.js +5 -5
  208. package/dist/esm/arcgis-directional-pad.entry.js +5 -5
  209. package/dist/esm/arcgis-directions.entry.js +5 -5
  210. package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -5
  211. package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -5
  212. package/dist/esm/arcgis-editor.entry.js +5 -5
  213. package/dist/esm/arcgis-elevation-profile.entry.js +5 -5
  214. package/dist/esm/arcgis-expand.entry.js +5 -5
  215. package/dist/esm/arcgis-feature-form.entry.js +5 -5
  216. package/dist/esm/arcgis-feature-table.entry.js +5 -5
  217. package/dist/esm/arcgis-feature-templates.entry.js +5 -5
  218. package/dist/esm/arcgis-feature.entry.js +5 -5
  219. package/dist/esm/arcgis-features.entry.js +5 -5
  220. package/dist/esm/arcgis-floor-filter.entry.js +5 -5
  221. package/dist/esm/arcgis-fullscreen.entry.js +5 -5
  222. package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
  223. package/dist/esm/arcgis-histogram.entry.js +4 -4
  224. package/dist/esm/arcgis-home.entry.js +5 -5
  225. package/dist/esm/arcgis-layer-list.entry.js +5 -5
  226. package/dist/esm/arcgis-legend.entry.js +5 -5
  227. package/dist/esm/arcgis-line-of-sight.entry.js +5 -5
  228. package/dist/esm/arcgis-locate.entry.js +5 -5
  229. package/dist/esm/arcgis-map-components.js +4 -4
  230. package/dist/esm/arcgis-measurement.entry.js +5 -5
  231. package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
  232. package/dist/esm/arcgis-placement.entry.js +4 -4
  233. package/dist/esm/arcgis-print.entry.js +5 -5
  234. package/dist/esm/arcgis-scale-bar.entry.js +5 -5
  235. package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
  236. package/dist/esm/arcgis-scene.entry.js +4 -4
  237. package/dist/esm/arcgis-search.entry.js +5 -5
  238. package/dist/esm/arcgis-shadow-cast.entry.js +5 -5
  239. package/dist/esm/arcgis-sketch.entry.js +5 -5
  240. package/dist/esm/arcgis-slice.entry.js +5 -5
  241. package/dist/esm/arcgis-slider.entry.js +5 -5
  242. package/dist/esm/arcgis-swipe.entry.js +5 -5
  243. package/dist/esm/arcgis-table-list.entry.js +5 -5
  244. package/dist/esm/arcgis-time-slider.entry.js +5 -5
  245. package/dist/esm/arcgis-track.entry.js +5 -5
  246. package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
  247. package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
  248. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
  249. package/dist/esm/arcgis-value-picker.entry.js +5 -5
  250. package/dist/esm/arcgis-version-management-service-item_2.entry.js +13 -10
  251. package/dist/esm/arcgis-version-management-version-item_2.entry.js +13 -9
  252. package/dist/esm/arcgis-version-management.entry.js +33 -15
  253. package/dist/esm/arcgis-weather.entry.js +5 -5
  254. package/dist/esm/arcgis-zoom.entry.js +5 -5
  255. package/dist/esm/{component-utils-2b64dfdd.js → component-utils-ed680860.js} +1 -1
  256. package/dist/esm/{disconnected-7f6a3433.js → disconnected-9621f233.js} +1 -1
  257. package/dist/esm/{index-7904f36c.js → index-1e5c8558.js} +12 -2
  258. package/dist/esm/{index-42d43a77.js → index-c31e866f.js} +1 -1
  259. package/dist/esm/index.js +1 -1
  260. package/dist/esm/loader.js +3 -3
  261. package/dist/loader/cdn.js +1 -1
  262. package/dist/loader/index.cjs.js +1 -1
  263. package/dist/loader/index.es2017.js +1 -1
  264. package/dist/loader/index.js +1 -1
  265. package/dist/types/components/version-management/version-management.d.ts +1 -1
  266. package/package.json +10 -10
  267. package/dist/arcgis-map-components/p-64423033.entry.js +0 -6
  268. package/dist/arcgis-map-components/p-65b77a7a.entry.js +0 -6
  269. package/dist/arcgis-map-components/p-65bf36ad.entry.js +0 -6
  270. package/dist/arcgis-map-components/p-6cfc80ba.entry.js +0 -6
  271. package/dist/arcgis-map-components/p-7557b4ed.entry.js +0 -6
  272. package/dist/arcgis-map-components/p-aeeb895d.entry.js +0 -6
  273. package/dist/arcgis-map-components/p-e7167db8.entry.js +0 -6
  274. package/dist/arcgis-map-components/p-e71f0b88.js +0 -7
  275. package/dist/arcgis-map-components/p-ef98a60f.entry.js +0 -6
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
5
5
  */
6
6
  function checkForExpand(element) {
7
7
  const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
5
5
  */
6
6
  function onDisconnectedHelper(element) {
7
7
  if (element.childElem) {
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
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) {
@@ -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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
5
5
  */
6
6
  const isAMD = "define" in window && typeof window.define === "function" && "amd" in window.define;
7
7
  function isDefaultModule(module) {
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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
5
5
  */
6
- import { b as bootstrapLazy } from './index-7904f36c.js';
7
- export { s as setNonce } from './index-7904f36c.js';
6
+ import { b as bootstrapLazy } from './index-1e5c8558.js';
7
+ export { s as setNonce } from './index-1e5c8558.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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
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.29/esri/copyright.txt for details.
4
- * v4.29.7
4
+ * v4.29.9
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.29.7",
5
+ "version": "4.29.9",
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.29.7",
56
- "@arcgis/components-utils": "4.29.7",
57
- "@arcgis/core": "~4.29.0",
58
- "@arcgis/core-adapter": "4.29.7",
59
- "@arcgis/storybook-utils": "4.29.7",
60
- "@arcgis/typescript-config": "4.29.7",
55
+ "@arcgis/components-plugins": "4.29.9",
56
+ "@arcgis/components-utils": "4.29.9",
57
+ "@arcgis/core": "~4.29.6",
58
+ "@arcgis/core-adapter": "4.29.9",
59
+ "@arcgis/storybook-utils": "4.29.9",
60
+ "@arcgis/typescript-config": "4.29.9",
61
61
  "@esri/calcite-components": "^2.4.0",
62
62
  "@stencil/angular-output-target": "0.8.3",
63
63
  "@stencil/react-output-target": "0.5.3",
@@ -75,8 +75,8 @@
75
75
  "zlib": "^1.0.5"
76
76
  },
77
77
  "peerDependencies": {
78
- "@arcgis/core": "~4.29.0",
78
+ "@arcgis/core": "~4.29.6",
79
79
  "@esri/calcite-components": ">=2.2.0 <3.0.0"
80
80
  },
81
- "gitHead": "e47a3c910710945964e124040b9d73faaf9c3eb0"
81
+ "gitHead": "78d4b90e697032711ef04ebd3f155f56b4ab9c41"
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.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as i,c as t,h as e,H as s,g as n}from"./p-e71f0b88.js";import{i as c}from"./p-5618cdb5.js";const o=class{constructor(e){i(this,e),this.versionItemActionClickedEventWithServiceUrl=t(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=t(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:t,serviceUrl:n,strings:c,viewModel:o}=this;let{_versionList:a}=this;const r=o.serviceNames.get(n);return e(s,null,e("calcite-panel",{heading:r},e("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=t,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)}}),e("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:`actionManageVersions_${r}`},e("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[t,e]of this._versionListEventListeners)i.removeEventListener(t,e)}get _hostElement(){return n(this)}},a=class{constructor(e){i(this,e),this.versionPropertiesSaveClickedEvent=t(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:t,versionInfo:n}=this,{viewModel:{executionError:c}}=this;return e(s,null,e("calcite-flow-item",{description:n?n.versionIdentifier.name:"",heading:n?t.actions.editVersion:t.actions.newVersion},e("calcite-panel",{loading:"executing"===this.state},e("div",{class:"div-content"},e("calcite-label",null,t.input.versionName,e("calcite-input-text",{id:"inputName",maxLength:62,value:n?n.versionIdentifier.name.split(".")[1]:""})),e("calcite-label",null,t.input.versionDescription,e("calcite-text-area",{id:"inputDescription",resize:"vertical",value:n?n.description:""})),e("calcite-label",null,t.input.versionAccess,e("calcite-chip-group",{id:"chipGroupAccessLevel",selectionMode:"single"},e("calcite-chip",{selected:"public"===n?.access,value:"public"},t.accessLevels.public),e("calcite-chip",{selected:"protected"===n?.access,value:"protected"},t.accessLevels.protected),e("calcite-chip",{selected:"private"===n?.access||!n,value:"private"},t.accessLevels.private))),e("calcite-label",null,t.input.versionOwner,e("calcite-input-text",{id:"inputOwner",disabled:!this.viewModel.advancedEditingUserTypeExtensionForUrl.get(i),value:n?n.versionIdentifier.name.split(".")[0]:this.viewModel.userForUrl.get(i)?.toUpperCase()})),e("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:()=>{this.flowElement.back()}},t.actions.cancelSave),e("calcite-button",{slot:"footer",width:"half",onClick:async()=>{const t=Array.from(this._hostElement.getElementsByTagName("calcite-input-text")),e=this._hostElement.getElementsByTagName("calcite-text-area")[0],s=t.find((i=>"inputName"===i.id)),c=t.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:e.value,versionIdentifier:{name:""!==c.value?`${c.value}.${s.value}`:s.value,guid:n?n.versionIdentifier.guid:""}}})}},t.actions.saveVersion)),"failed"===this.state?e("calcite-notice",{class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer"},e("div",{slot:"message"},this._getExecutionError(c))):void 0)))}_getExecutionError(i){const{strings:{executionErrors:t}}=this;switch(i){case"no-advanced-editing-user-type-extension":return t.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return t.noFeatureServiceFound;case"no-valid-enterprise-version":return t.notValidEnterpriseVersion;case"no-valid-version-name":return t.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.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as i,c as e,h as t,H as s,g as n}from"./p-e71f0b88.js";import{i as o}from"./p-5618cdb5.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,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as t,c as e,h as s,g as r}from"./p-e71f0b88.js";import{r as i,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(s){t(this,s),this.placementReady=e(this,"placementReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left"}referenceElementWatcher(t){i(this,t)}positionWatcher(t){void 0!==t&&this.view.ui.move(this.childElem,t)}async componentDidLoad(){this.placementReady.emit({ready:!0}),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t},s("slot",null))}get el(){return r(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"]}}};c.style="arcgis-placement{}";export{c 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.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{s as h,i as a}from"./p-5618cdb5.js";import{r,c as n}from"./p-4a56215a.js";import{o as c}from"./p-fef5523a.js";const o=class{constructor(s){t(this,s),this.arcgisDistanceMeasurement2dReady=i(this,"arcgisDistanceMeasurement2dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){this.widget&&(this.widget.unitOptions=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(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDistanceMeasurement2dReady.emit(),n(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{whenOnce:t}=await a();await t((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_distance_measurement_2d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as e,a as t,h as i,H as s,g as n}from"./p-e71f0b88.js";import{i as r,a3 as a}from"./p-5618cdb5.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 r=await h("en",t,i);return l.set(s,r),r}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-",""),r=`${t}/${i}/t9n`,a=`${i}.t9n.`;n=await h(s,r,a)}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 r();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 a({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:r,loadError:a}}=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"===r},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"===r?i("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer"},i("div",{slot:"message"},this._getLoadError(a))):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,r=n.versionIdentifier.name,a=r.split(".").length>1?r.split(".")[1]:r,o=r.split(".").length>1?r.split(".")[0]:s.userForUrl.get(t);if(""===n.versionIdentifier.guid?await s.createVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionName:a}):await s.alterVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionIdentifier:{name:"",guid:n.versionIdentifier.guid},versionName:a}),"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.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{F as h}from"./p-5618cdb5.js";import{r,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(s){t(this,s),this.arcgisHomeReady=i(this,"arcgisHomeReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.viewpoint=void 0,this.messageOverrides=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}viewpointWatcher(t){this.widget&&(this.widget.viewpoint=t)}messageOverridesWatcher(t){this.widget&&(this.widget.uiStrings=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 cancelGo(){this.widget?.cancelGo()}async go(){this.widget?.go()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisHomeReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.viewpoint&&(t.viewpoint=this.viewpoint),this.messageOverrides&&(t.uiStrings=this.messageOverrides),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],viewpoint:["viewpointWatcher"],messageOverrides:["messageOverridesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-home{}";export{c as arcgis_home}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as t,c as e,h as i,g as s}from"./p-e71f0b88.js";import{C as r}from"./p-5618cdb5.js";import{r as h,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=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}),a(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"]}}};c.style="";export{c as arcgis_fullscreen}
@@ -1,7 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.7
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}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.7
5
- */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{I as h,i as a}from"./p-5618cdb5.js";import{r,c,a as o}from"./p-4a56215a.js";import{o as n}from"./p-fef5523a.js";const d=class{constructor(s){t(this,s),this.arcgisLineOfSightReady=i(this,"arcgisLineOfSightReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=void 0,this.icon=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=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 clear(){this.widget?.viewModel.clear()}async continue(){this.widget?.viewModel.continue()}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisLineOfSightReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0}))}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="arcgis-line-of-sight{}";export{d as arcgis_line_of_sight}