@arcgis/map-components 4.29.3 → 4.29.5

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 (272) hide show
  1. package/README.md +2 -0
  2. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  3. package/dist/arcgis-map-components/index.esm.js +1 -1
  4. package/dist/arcgis-map-components/{p-b8864b7b.js → p-0252851d.js} +1 -1
  5. package/dist/arcgis-map-components/{p-739f0c9b.entry.js → p-05ab6884.entry.js} +2 -2
  6. package/dist/arcgis-map-components/{p-8e903518.entry.js → p-07188475.entry.js} +2 -2
  7. package/dist/arcgis-map-components/{p-db3ccf7d.entry.js → p-07eef98a.entry.js} +2 -2
  8. package/dist/arcgis-map-components/{p-cba403d1.entry.js → p-0a397276.entry.js} +2 -2
  9. package/dist/arcgis-map-components/{p-e7debc97.entry.js → p-0f98f0d8.entry.js} +2 -2
  10. package/dist/arcgis-map-components/{p-d2a544d0.entry.js → p-18b2229b.entry.js} +2 -2
  11. package/dist/arcgis-map-components/p-19152c6b.entry.js +6 -0
  12. package/dist/arcgis-map-components/{p-a68a8db5.entry.js → p-192a9973.entry.js} +2 -2
  13. package/dist/arcgis-map-components/{p-0fc06989.entry.js → p-1a3aed9a.entry.js} +2 -2
  14. package/dist/arcgis-map-components/{p-02114e39.entry.js → p-1a7371af.entry.js} +2 -2
  15. package/dist/arcgis-map-components/{p-2addbf7c.entry.js → p-227b7fb6.entry.js} +2 -2
  16. package/dist/arcgis-map-components/{p-65d25dde.entry.js → p-250f5199.entry.js} +2 -2
  17. package/dist/arcgis-map-components/{p-eb219829.entry.js → p-2bfc2ebc.entry.js} +2 -2
  18. package/dist/arcgis-map-components/{p-e4395d7d.entry.js → p-314d7c36.entry.js} +2 -2
  19. package/dist/arcgis-map-components/p-331873f8.entry.js +6 -0
  20. package/dist/arcgis-map-components/{p-2e2af5c5.entry.js → p-357ee86a.entry.js} +2 -2
  21. package/dist/arcgis-map-components/{p-606f55b9.js → p-3a7f7352.js} +1 -1
  22. package/dist/arcgis-map-components/{p-d005362c.entry.js → p-3c677982.entry.js} +2 -2
  23. package/dist/arcgis-map-components/{p-101f6659.entry.js → p-40099eb9.entry.js} +2 -2
  24. package/dist/arcgis-map-components/{p-7f837d3a.entry.js → p-408be05d.entry.js} +2 -2
  25. package/dist/arcgis-map-components/{p-d8624b2c.entry.js → p-4b3d6594.entry.js} +2 -2
  26. package/dist/arcgis-map-components/{p-a0f99f44.entry.js → p-55aabf5a.entry.js} +2 -2
  27. package/dist/arcgis-map-components/{p-b3266ab3.entry.js → p-5b940a30.entry.js} +2 -2
  28. package/dist/arcgis-map-components/{p-35860767.entry.js → p-5c877165.entry.js} +2 -2
  29. package/dist/arcgis-map-components/p-5eb2061c.entry.js +6 -0
  30. package/dist/arcgis-map-components/{p-ec1f2b4e.entry.js → p-5f315af9.entry.js} +2 -2
  31. package/dist/arcgis-map-components/{p-e97370cd.entry.js → p-5f7d1033.entry.js} +2 -2
  32. package/dist/arcgis-map-components/{p-7e63b285.entry.js → p-613c2e41.entry.js} +2 -2
  33. package/dist/arcgis-map-components/{p-0a8b87b8.entry.js → p-62aa3603.entry.js} +2 -2
  34. package/dist/arcgis-map-components/{p-4c29fba9.entry.js → p-63655d68.entry.js} +2 -2
  35. package/dist/arcgis-map-components/p-729ed949.entry.js +6 -0
  36. package/dist/arcgis-map-components/{p-7ee298cd.entry.js → p-75631e01.entry.js} +2 -2
  37. package/dist/arcgis-map-components/{p-f92ca7ea.entry.js → p-7aac1b06.entry.js} +2 -2
  38. package/dist/arcgis-map-components/{p-e661f18c.entry.js → p-7dab8a68.entry.js} +2 -2
  39. package/dist/arcgis-map-components/{p-e398ddcd.entry.js → p-897a6112.entry.js} +2 -2
  40. package/dist/arcgis-map-components/{p-1a8200c4.entry.js → p-8e5c373a.entry.js} +2 -2
  41. package/dist/arcgis-map-components/{p-52edf7e3.entry.js → p-951605a6.entry.js} +2 -2
  42. package/dist/arcgis-map-components/{p-a9e34560.entry.js → p-95fffdd3.entry.js} +2 -2
  43. package/dist/arcgis-map-components/{p-80a29458.entry.js → p-96ffdd2c.entry.js} +2 -2
  44. package/dist/arcgis-map-components/{p-5a80178a.entry.js → p-a6c1a1f1.entry.js} +2 -2
  45. package/dist/arcgis-map-components/{p-e031328d.entry.js → p-a9908436.entry.js} +2 -2
  46. package/dist/arcgis-map-components/{p-59d4a1ac.entry.js → p-abc15c97.entry.js} +2 -2
  47. package/dist/arcgis-map-components/{p-50fefc41.entry.js → p-aee0c3ce.entry.js} +2 -2
  48. package/dist/arcgis-map-components/{p-fb9a841a.entry.js → p-ba59e912.entry.js} +2 -2
  49. package/dist/arcgis-map-components/{p-45c8802d.entry.js → p-bcda780c.entry.js} +2 -2
  50. package/dist/arcgis-map-components/{p-e71125e1.js → p-bcfc3660.js} +1 -1
  51. package/dist/arcgis-map-components/p-c30d4cd7.entry.js +6 -0
  52. package/dist/arcgis-map-components/{p-a3f02ede.entry.js → p-c8c8ff40.entry.js} +2 -2
  53. package/dist/arcgis-map-components/{p-ac96e6ed.entry.js → p-d0bffb2c.entry.js} +2 -2
  54. package/dist/arcgis-map-components/{p-e308cba2.entry.js → p-d330c848.entry.js} +2 -2
  55. package/dist/arcgis-map-components/{p-de0b7cc9.entry.js → p-d973a844.entry.js} +2 -2
  56. package/dist/arcgis-map-components/{p-fc6179f0.entry.js → p-def899a0.entry.js} +2 -2
  57. package/dist/arcgis-map-components/p-e2436b12.entry.js +6 -0
  58. package/dist/arcgis-map-components/{p-19785e15.js → p-e55293fa.js} +1 -1
  59. package/dist/arcgis-map-components/{p-d358c0c8.entry.js → p-edeae5c0.entry.js} +2 -2
  60. package/dist/arcgis-map-components/{p-ead6dc2f.entry.js → p-f0ca82b9.entry.js} +2 -2
  61. package/dist/arcgis-map-components/{p-a586a48f.entry.js → p-f71d5daf.entry.js} +2 -2
  62. package/dist/arcgis-map-components/{p-bfbf4a9f.entry.js → p-fa59a35f.entry.js} +2 -2
  63. package/dist/arcgis-map-components/{p-fb1b0208.entry.js → p-fbe3f702.entry.js} +2 -2
  64. package/dist/arcgis-map-components/{p-add8d527.entry.js → p-fbe5308a.entry.js} +2 -2
  65. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +5 -5
  66. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +5 -5
  67. package/dist/cjs/arcgis-attachments.cjs.entry.js +5 -5
  68. package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +5 -5
  69. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +5 -5
  70. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +5 -5
  71. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +5 -5
  72. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +5 -5
  73. package/dist/cjs/arcgis-compass.cjs.entry.js +5 -5
  74. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +5 -5
  75. package/dist/cjs/arcgis-daylight.cjs.entry.js +5 -5
  76. package/dist/cjs/arcgis-directional-pad.cjs.entry.js +5 -5
  77. package/dist/cjs/arcgis-directions.cjs.entry.js +5 -5
  78. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +5 -5
  79. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +5 -5
  80. package/dist/cjs/arcgis-editor.cjs.entry.js +5 -5
  81. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +5 -5
  82. package/dist/cjs/arcgis-expand.cjs.entry.js +5 -5
  83. package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -5
  84. package/dist/cjs/arcgis-feature-table.cjs.entry.js +5 -5
  85. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +5 -5
  86. package/dist/cjs/arcgis-feature.cjs.entry.js +5 -5
  87. package/dist/cjs/arcgis-features.cjs.entry.js +5 -5
  88. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +5 -5
  89. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +5 -5
  90. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +5 -5
  91. package/dist/cjs/arcgis-histogram.cjs.entry.js +4 -4
  92. package/dist/cjs/arcgis-home.cjs.entry.js +5 -5
  93. package/dist/cjs/arcgis-layer-list.cjs.entry.js +5 -5
  94. package/dist/cjs/arcgis-legend.cjs.entry.js +5 -5
  95. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +5 -5
  96. package/dist/cjs/arcgis-locate.cjs.entry.js +5 -5
  97. package/dist/cjs/arcgis-map-components.cjs.js +2 -2
  98. package/dist/cjs/arcgis-measurement.cjs.entry.js +5 -5
  99. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +5 -5
  100. package/dist/cjs/arcgis-placement.cjs.entry.js +4 -4
  101. package/dist/cjs/arcgis-print.cjs.entry.js +5 -5
  102. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +5 -5
  103. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +5 -5
  104. package/dist/cjs/arcgis-scene.cjs.entry.js +4 -4
  105. package/dist/cjs/arcgis-search.cjs.entry.js +5 -5
  106. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +5 -5
  107. package/dist/cjs/arcgis-sketch.cjs.entry.js +5 -5
  108. package/dist/cjs/arcgis-slice.cjs.entry.js +5 -5
  109. package/dist/cjs/arcgis-slider.cjs.entry.js +5 -5
  110. package/dist/cjs/arcgis-swipe.cjs.entry.js +5 -5
  111. package/dist/cjs/arcgis-table-list.cjs.entry.js +5 -5
  112. package/dist/cjs/arcgis-time-slider.cjs.entry.js +5 -5
  113. package/dist/cjs/arcgis-track.cjs.entry.js +5 -5
  114. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +5 -5
  115. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +5 -5
  116. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
  117. package/dist/cjs/arcgis-value-picker.cjs.entry.js +5 -5
  118. package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +3 -3
  119. package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +3 -3
  120. package/dist/cjs/arcgis-version-management.cjs.entry.js +3 -3
  121. package/dist/cjs/arcgis-weather.cjs.entry.js +5 -5
  122. package/dist/cjs/arcgis-zoom.cjs.entry.js +5 -5
  123. package/dist/cjs/{component-utils-e1066983.js → component-utils-0acac2d6.js} +1 -1
  124. package/dist/cjs/{disconnected-2b76402f.js → disconnected-724d7edb.js} +1 -1
  125. package/dist/cjs/{index-ce51f3a9.js → index-66290b94.js} +1 -1
  126. package/dist/cjs/{index-382ffdf0.js → index-771b0941.js} +1 -1
  127. package/dist/cjs/index.cjs.js +1 -1
  128. package/dist/cjs/loader.cjs.js +2 -2
  129. package/dist/components/arcgis-area-measurement-2d.js +1 -1
  130. package/dist/components/arcgis-area-measurement-3d.js +1 -1
  131. package/dist/components/arcgis-attachments.js +1 -1
  132. package/dist/components/arcgis-basemap-gallery.js +1 -1
  133. package/dist/components/arcgis-basemap-layer-list.js +1 -1
  134. package/dist/components/arcgis-basemap-toggle.js +1 -1
  135. package/dist/components/arcgis-bookmarks.js +1 -1
  136. package/dist/components/arcgis-building-explorer.js +1 -1
  137. package/dist/components/arcgis-compass.js +1 -1
  138. package/dist/components/arcgis-coordinate-conversion.js +1 -1
  139. package/dist/components/arcgis-daylight.js +1 -1
  140. package/dist/components/arcgis-directional-pad.js +1 -1
  141. package/dist/components/arcgis-directions.js +1 -1
  142. package/dist/components/arcgis-directline-measurement-3d.js +1 -1
  143. package/dist/components/arcgis-distance-measurement-2d.js +1 -1
  144. package/dist/components/arcgis-editor.js +1 -1
  145. package/dist/components/arcgis-elevation-profile.js +1 -1
  146. package/dist/components/arcgis-expand.js +1 -1
  147. package/dist/components/arcgis-feature-form.js +1 -1
  148. package/dist/components/arcgis-feature-table.js +1 -1
  149. package/dist/components/arcgis-feature-templates.js +1 -1
  150. package/dist/components/arcgis-feature.js +1 -1
  151. package/dist/components/arcgis-features.js +1 -1
  152. package/dist/components/arcgis-floor-filter.js +1 -1
  153. package/dist/components/arcgis-fullscreen.js +1 -1
  154. package/dist/components/arcgis-histogram-range-slider.js +1 -1
  155. package/dist/components/arcgis-histogram.js +1 -1
  156. package/dist/components/arcgis-home.js +1 -1
  157. package/dist/components/arcgis-layer-list.js +1 -1
  158. package/dist/components/arcgis-legend.js +1 -1
  159. package/dist/components/arcgis-line-of-sight.js +1 -1
  160. package/dist/components/arcgis-locate.js +1 -1
  161. package/dist/components/arcgis-map.js +1 -1
  162. package/dist/components/arcgis-measurement.js +1 -1
  163. package/dist/components/arcgis-navigation-toggle.js +1 -1
  164. package/dist/components/arcgis-placement.js +1 -1
  165. package/dist/components/arcgis-print.js +1 -1
  166. package/dist/components/arcgis-scale-bar.js +1 -1
  167. package/dist/components/arcgis-scale-range-slider.js +1 -1
  168. package/dist/components/arcgis-scene.js +1 -1
  169. package/dist/components/arcgis-search.js +1 -1
  170. package/dist/components/arcgis-shadow-cast.js +1 -1
  171. package/dist/components/arcgis-sketch.js +1 -1
  172. package/dist/components/arcgis-slice.js +1 -1
  173. package/dist/components/arcgis-slider.js +1 -1
  174. package/dist/components/arcgis-swipe.js +1 -1
  175. package/dist/components/arcgis-table-list.js +1 -1
  176. package/dist/components/arcgis-time-slider.js +1 -1
  177. package/dist/components/arcgis-track.js +1 -1
  178. package/dist/components/arcgis-utility-network-associations.js +1 -1
  179. package/dist/components/arcgis-utility-network-trace.js +1 -1
  180. package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
  181. package/dist/components/arcgis-value-picker.js +1 -1
  182. package/dist/components/arcgis-version-management-service-item.js +1 -1
  183. package/dist/components/arcgis-version-management-version-item.js +1 -1
  184. package/dist/components/arcgis-version-management-version-list.js +1 -1
  185. package/dist/components/arcgis-version-management-version-properties.js +1 -1
  186. package/dist/components/arcgis-version-management.js +1 -1
  187. package/dist/components/arcgis-weather.js +1 -1
  188. package/dist/components/arcgis-zoom.js +1 -1
  189. package/dist/components/component-utils.js +1 -1
  190. package/dist/components/disconnected.js +1 -1
  191. package/dist/components/expand.js +1 -1
  192. package/dist/components/index.js +1 -1
  193. package/dist/components/index2.js +1 -1
  194. package/dist/components/version-management-service-item.js +1 -1
  195. package/dist/components/version-management-version-item.js +1 -1
  196. package/dist/components/version-management-version-list.js +1 -1
  197. package/dist/components/version-management-version-properties.js +1 -1
  198. package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -5
  199. package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -5
  200. package/dist/esm/arcgis-attachments.entry.js +5 -5
  201. package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -5
  202. package/dist/esm/arcgis-basemap-layer-list.entry.js +5 -5
  203. package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
  204. package/dist/esm/arcgis-bookmarks.entry.js +5 -5
  205. package/dist/esm/arcgis-building-explorer.entry.js +5 -5
  206. package/dist/esm/arcgis-compass.entry.js +5 -5
  207. package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
  208. package/dist/esm/arcgis-daylight.entry.js +5 -5
  209. package/dist/esm/arcgis-directional-pad.entry.js +5 -5
  210. package/dist/esm/arcgis-directions.entry.js +5 -5
  211. package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -5
  212. package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -5
  213. package/dist/esm/arcgis-editor.entry.js +5 -5
  214. package/dist/esm/arcgis-elevation-profile.entry.js +5 -5
  215. package/dist/esm/arcgis-expand.entry.js +5 -5
  216. package/dist/esm/arcgis-feature-form.entry.js +5 -5
  217. package/dist/esm/arcgis-feature-table.entry.js +5 -5
  218. package/dist/esm/arcgis-feature-templates.entry.js +5 -5
  219. package/dist/esm/arcgis-feature.entry.js +5 -5
  220. package/dist/esm/arcgis-features.entry.js +5 -5
  221. package/dist/esm/arcgis-floor-filter.entry.js +5 -5
  222. package/dist/esm/arcgis-fullscreen.entry.js +5 -5
  223. package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
  224. package/dist/esm/arcgis-histogram.entry.js +4 -4
  225. package/dist/esm/arcgis-home.entry.js +5 -5
  226. package/dist/esm/arcgis-layer-list.entry.js +5 -5
  227. package/dist/esm/arcgis-legend.entry.js +5 -5
  228. package/dist/esm/arcgis-line-of-sight.entry.js +5 -5
  229. package/dist/esm/arcgis-locate.entry.js +5 -5
  230. package/dist/esm/arcgis-map-components.js +3 -3
  231. package/dist/esm/arcgis-measurement.entry.js +5 -5
  232. package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
  233. package/dist/esm/arcgis-placement.entry.js +4 -4
  234. package/dist/esm/arcgis-print.entry.js +5 -5
  235. package/dist/esm/arcgis-scale-bar.entry.js +5 -5
  236. package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
  237. package/dist/esm/arcgis-scene.entry.js +4 -4
  238. package/dist/esm/arcgis-search.entry.js +5 -5
  239. package/dist/esm/arcgis-shadow-cast.entry.js +5 -5
  240. package/dist/esm/arcgis-sketch.entry.js +5 -5
  241. package/dist/esm/arcgis-slice.entry.js +5 -5
  242. package/dist/esm/arcgis-slider.entry.js +5 -5
  243. package/dist/esm/arcgis-swipe.entry.js +5 -5
  244. package/dist/esm/arcgis-table-list.entry.js +5 -5
  245. package/dist/esm/arcgis-time-slider.entry.js +5 -5
  246. package/dist/esm/arcgis-track.entry.js +5 -5
  247. package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
  248. package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
  249. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
  250. package/dist/esm/arcgis-value-picker.entry.js +5 -5
  251. package/dist/esm/arcgis-version-management-service-item_2.entry.js +3 -3
  252. package/dist/esm/arcgis-version-management-version-item_2.entry.js +3 -3
  253. package/dist/esm/arcgis-version-management.entry.js +3 -3
  254. package/dist/esm/arcgis-weather.entry.js +5 -5
  255. package/dist/esm/arcgis-zoom.entry.js +5 -5
  256. package/dist/esm/{component-utils-cfde8469.js → component-utils-2215bf5c.js} +1 -1
  257. package/dist/esm/{disconnected-2427b13e.js → disconnected-379e7521.js} +1 -1
  258. package/dist/esm/{index-5ef8a625.js → index-5a8bdf54.js} +1 -1
  259. package/dist/esm/{index-d2bcf99a.js → index-a8ef8339.js} +1 -1
  260. package/dist/esm/index.js +1 -1
  261. package/dist/esm/loader.js +3 -3
  262. package/dist/loader/cdn.js +1 -1
  263. package/dist/loader/index.cjs.js +1 -1
  264. package/dist/loader/index.es2017.js +1 -1
  265. package/dist/loader/index.js +1 -1
  266. package/package.json +7 -7
  267. package/dist/arcgis-map-components/p-47e6c19f.entry.js +0 -6
  268. package/dist/arcgis-map-components/p-523d7f24.entry.js +0 -6
  269. package/dist/arcgis-map-components/p-cf09f8e6.entry.js +0 -6
  270. package/dist/arcgis-map-components/p-d61cd2c0.entry.js +0 -6
  271. package/dist/arcgis-map-components/p-e6234306.entry.js +0 -6
  272. package/dist/arcgis-map-components/p-fb80be66.entry.js +0 -6
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as i,c as t,h as s,g as e}from"./p-e71125e1.js";import{X as r}from"./p-b8864b7b.js";import{r as a,c as h}from"./p-19785e15.js";import{o}from"./p-606f55b9.js";const c=class{constructor(s){i(this,s),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.direction=void 0,this.dragLabel=void 0,this.leadingLayers=void 0,this.swipePosition=void 0,this.trailingLayers=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}directionWatcher(i){void 0!==i&&this.widget&&(this.widget.direction=i)}dragLabelWatcher(i){void 0!==i&&this.widget&&(this.widget.dragLabel=i)}leadingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.leadingLayers=i)}swipePositionWatcher(i){void 0!==i&&this.widget&&(this.widget.position=i)}trailingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.trailingLayers=i)}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}referenceElementWatcher(i){a(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await r(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.view&&(i.view=this.view),i}get el(){return e(this)}static get watchers(){return{direction:["directionWatcher"],dragLabel:["dragLabelWatcher"],leadingLayers:["leadingLayersWatcher"],swipePosition:["swipePositionWatcher"],trailingLayers:["trailingLayersWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-swipe{}";export{c as arcgis_swipe}
6
+ import{r as i,c as t,h as s,g as e}from"./p-bcfc3660.js";import{X as r}from"./p-0252851d.js";import{r as a,c as h}from"./p-e55293fa.js";import{o}from"./p-3a7f7352.js";const c=class{constructor(s){i(this,s),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.direction=void 0,this.dragLabel=void 0,this.leadingLayers=void 0,this.swipePosition=void 0,this.trailingLayers=void 0,this.view=void 0,this.position="bottom-left",this.widget=void 0}directionWatcher(i){void 0!==i&&this.widget&&(this.widget.direction=i)}dragLabelWatcher(i){void 0!==i&&this.widget&&(this.widget.dragLabel=i)}leadingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.leadingLayers=i)}swipePositionWatcher(i){void 0!==i&&this.widget&&(this.widget.position=i)}trailingLayersWatcher(i){void 0!==i&&this.widget&&(this.widget.trailingLayers=i)}positionWatcher(i){void 0!==i&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,i)}referenceElementWatcher(i){a(this,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),t=await r(i);this.widget=t,this.widgetReady.emit({widget:this.widget}),h(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};return this.view&&(i.view=this.view),i}get el(){return e(this)}static get watchers(){return{direction:["directionWatcher"],dragLabel:["dragLabelWatcher"],leadingLayers:["leadingLayersWatcher"],swipePosition:["swipePositionWatcher"],trailingLayers:["trailingLayersWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="arcgis-swipe{}";export{c as arcgis_swipe}
@@ -0,0 +1,6 @@
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.5
5
+ */
6
+ import{r as t,c as i,h as s,g as e}from"./p-bcfc3660.js";import{s as h,i as a}from"./p-0252851d.js";import{r,c as n}from"./p-e55293fa.js";import{o as c}from"./p-3a7f7352.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 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as i,c as e,h as t,H as s,g as n}from"./p-e71125e1.js";import{i as o}from"./p-b8864b7b.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}
6
+ import{r as i,c as t,h as e,H as s,g as n}from"./p-bcfc3660.js";import{i as o}from"./p-0252851d.js";const c=class{constructor(e){i(this,e),this.versionItemActionClickedEvent=t(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:t}=this,n=t.versionIdentifier.name,o=t.versionIdentifier.guid,c=`actionSwitchToVersion_${o}`;return e(s,null,e("calcite-list-item",{description:n.split(".")[0],label:n.split(".")[1],value:o},e("calcite-action",{id:c,icon:"switch",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"changeVersion",versionInfo:t})},slot:"actions-start"}),e("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:c},e("span",null,i.switchToVersion)),e("calcite-action-menu",{"overlay-positioning":"fixed",slot:"actions-end"},e("calcite-action",{icon:"switch",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"changeVersion",versionInfo:t})},scale:"s",text:i.switchToVersion,textEnabled:!0}),e("calcite-action",{disabled:"SDE.DEFAULT"===n.toUpperCase()||!this.hasAdvEditingUte||!this.isVersioningApiAvailable,icon:"edit-attributes",onclick:()=>{this.versionItemActionClickedEvent.emit({actionType:"editVersion",versionInfo:t})},scale:"s",text:i.editVersion,textEnabled:!0}))))}get _hostElement(){return n(this)}},a=class{constructor(e){i(this,e),this.versionItemActionClickedEventWithServiceUrl=t(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=t(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:t,serviceUrl:n,state:o,strings:c,versionInfos:a,viewModel:r}=this;return e(s,null,e("calcite-flow-item",{heading:i,description:t},e("calcite-panel",{loading:"executing"===o,class:"panel-versions",heading:`${c.headers.manageVersions} (${a.length})`},e("calcite-action",{id:"actionRefreshVersions",icon:"refresh",onclick:()=>{this.versionListActionClickedEvent.emit({actionType:"refreshVersions",serviceUrl:n})},slot:"header-actions-end"}),e("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:"actionRefreshVersions"},e("span",null,c.actions.refreshVersions)),e("calcite-list",{class:"version-list",filterEnabled:!0},a.map((i=>e("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})}})))),e("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 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as e,g as s}from"./p-e71125e1.js";import{a1 as r}from"./p-b8864b7b.js";import{r as o,c as a}from"./p-19785e15.js";import{o as h}from"./p-606f55b9.js";const c=class{constructor(e){t(this,e),this.arcgisUtilityNetworkValidateTopologyReady=i(this,"arcgisUtilityNetworkValidateTopologyReady",7),this._watchHandles=[],this.referenceElement=void 0,this.extentToValidate="current",this.utilityNetwork=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=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 r(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkValidateTopologyReady.emit(),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
6
+ import{r as t,c as i,h as e,g as s}from"./p-bcfc3660.js";import{a1 as r}from"./p-0252851d.js";import{r as o,c as a}from"./p-e55293fa.js";import{o as h}from"./p-3a7f7352.js";const c=class{constructor(e){t(this,e),this.arcgisUtilityNetworkValidateTopologyReady=i(this,"arcgisUtilityNetworkValidateTopologyReady",7),this._watchHandles=[],this.referenceElement=void 0,this.extentToValidate="current",this.utilityNetwork=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=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 r(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkValidateTopologyReady.emit(),a(this)}disconnectedCallback(){h(this)}render(){return e("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return void 0!==this.extentToValidate&&(t.extentToValidate=this.extentToValidate),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],extentToValidate:["extentToValidateWatcher"],utilityNetwork:["utilityNetworkWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-utility-network-validate-topology{}";export{c as arcgis_utility_network_validate_topology}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as e,h as i,g as s}from"./p-e71125e1.js";import{v as h,i as n}from"./p-b8864b7b.js";import{r as a,c as o,a as r}from"./p-19785e15.js";import{o as c}from"./p-606f55b9.js";const l=class{constructor(i){t(this,i),this.arcgisFeatureReady=e(this,"arcgisFeatureReady",7),this._watchHandles=[],this.referenceElement=void 0,this.defaultPopupTemplateEnabled=!1,this.graphic=void 0,this.location=void 0,this.map=void 0,this.spatialReference=void 0,this.visibleElementsTitle=!0,this.visibleElementsContentAttachments=!0,this.visibleElementsContentFields=!0,this.visibleElementsContentMedia=!0,this.visibleElementsContentText=!0,this.visibleElementsContentExpression=!0,this.visibleElementsLastEditInfo=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}locationWatcher(t){this.widget&&(this.widget.viewModel.location=t)}spatialReferenceWatcher(t){this.widget&&(this.widget.spatialReference=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}visibleElementsContentAttachmentsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,attachments:t}})}visibleElementsContentFieldsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,fields:t}})}visibleElementsContentMediaWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,media:t}})}visibleElementsContentTextWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,text:t}})}visibleElementsContentExpressionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,expression:t}})}visibleElementsLastEditInfoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,lastEditInfo: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 nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,e){this.widget?.setActiveMedia(t,e)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisFeatureReady.emit(),o(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();r(this,t((()=>this.widget.view?.map),(t=>this.map=t)))}_createParams(){const t={};return t.visibleElements={title:this.visibleElementsTitle,content:{attachments:this.visibleElementsContentAttachments,fields:this.visibleElementsContentFields,media:this.visibleElementsContentMedia,text:this.visibleElementsContentText,expression:this.visibleElementsContentExpression},lastEditInfo:this.visibleElementsLastEditInfo},void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),this.spatialReference&&(t.spatialReference=this.spatialReference),t}_setViewModelParams(){const t={};this.location&&(t.location=this.location),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],location:["locationWatcher"],spatialReference:["spatialReferenceWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],visibleElementsContentAttachments:["visibleElementsContentAttachmentsWatcher"],visibleElementsContentFields:["visibleElementsContentFieldsWatcher"],visibleElementsContentMedia:["visibleElementsContentMediaWatcher"],visibleElementsContentText:["visibleElementsContentTextWatcher"],visibleElementsContentExpression:["visibleElementsContentExpressionWatcher"],visibleElementsLastEditInfo:["visibleElementsLastEditInfoWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_feature}
6
+ import{r as t,c as e,h as i,g as s}from"./p-bcfc3660.js";import{v as h,i as n}from"./p-0252851d.js";import{r as a,c as o,a as c}from"./p-e55293fa.js";import{o as r}from"./p-3a7f7352.js";const l=class{constructor(i){t(this,i),this.arcgisFeatureReady=e(this,"arcgisFeatureReady",7),this._watchHandles=[],this.referenceElement=void 0,this.defaultPopupTemplateEnabled=!1,this.graphic=void 0,this.location=void 0,this.map=void 0,this.spatialReference=void 0,this.visibleElementsTitle=!0,this.visibleElementsContentAttachments=!0,this.visibleElementsContentFields=!0,this.visibleElementsContentMedia=!0,this.visibleElementsContentText=!0,this.visibleElementsContentExpression=!0,this.visibleElementsLastEditInfo=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}locationWatcher(t){this.widget&&(this.widget.viewModel.location=t)}spatialReferenceWatcher(t){this.widget&&(this.widget.spatialReference=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}visibleElementsContentAttachmentsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,attachments:t}})}visibleElementsContentFieldsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,fields:t}})}visibleElementsContentMediaWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,media:t}})}visibleElementsContentTextWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,text:t}})}visibleElementsContentExpressionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,content:{...this.widget.visibleElements.content,expression:t}})}visibleElementsLastEditInfoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,lastEditInfo: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 nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,e){this.widget?.setActiveMedia(t,e)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),await this._addWatchers(),this.arcgisFeatureReady.emit(),o(this)}disconnectedCallback(){r(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();c(this,t((()=>this.widget.view?.map),(t=>this.map=t)))}_createParams(){const t={};return t.visibleElements={title:this.visibleElementsTitle,content:{attachments:this.visibleElementsContentAttachments,fields:this.visibleElementsContentFields,media:this.visibleElementsContentMedia,text:this.visibleElementsContentText,expression:this.visibleElementsContentExpression},lastEditInfo:this.visibleElementsLastEditInfo},void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),this.spatialReference&&(t.spatialReference=this.spatialReference),t}_setViewModelParams(){const t={};this.location&&(t.location=this.location),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],location:["locationWatcher"],spatialReference:["spatialReferenceWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],visibleElementsContentAttachments:["visibleElementsContentAttachmentsWatcher"],visibleElementsContentFields:["visibleElementsContentFieldsWatcher"],visibleElementsContentMedia:["visibleElementsContentMediaWatcher"],visibleElementsContentText:["visibleElementsContentTextWatcher"],visibleElementsContentExpression:["visibleElementsContentExpressionWatcher"],visibleElementsLastEditInfo:["visibleElementsLastEditInfoWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_feature}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as e,h as i,g as s}from"./p-e71125e1.js";import{m as h}from"./p-b8864b7b.js";import{r as a,c as r}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const l=class{constructor(i){t(this,i),this.arcgisDaylightReady=e(this,"arcgisDaylightReady",7),this._watchHandles=[],this.referenceElement=void 0,this.currentSeason=void 0,this.dayPlaying=!1,this.yearPlaying=!1,this.dateOrSeason="date",this.icon=void 0,this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.visibleElementsHeader=!0,this.visibleElementsPlayButtons=!0,this.visibleElementsDatePicker=!0,this.visibleElementsTimezone=!0,this.visibleElementsSunLightingToggle=!0,this.visibleElementsShadowsToggle=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}currentSeasonWatcher(t){this.widget&&(this.widget.viewModel.currentSeason=t)}dayPlayingWatcher(t){this.widget&&(this.widget.viewModel.dayPlaying=t)}yearPlayingWatcher(t){this.widget&&(this.widget.viewModel.yearPlaying=t)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements.header=t)}visibleElementsPlayButtonsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,playButtons:t})}visibleElementsDatePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,datePicker:t})}visibleElementsTimezoneWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,timezone:t})}visibleElementsSunLightingToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,sunLightingToggle:t})}visibleElementsShadowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,shadowsToggle: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 h(t);this.widget=e,this._addContainer(),this._setViewModelParams(),this.arcgisDaylightReady.emit(),r(this)}disconnectedCallback(){n(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={header:this.visibleElementsHeader,playButtons:this.visibleElementsPlayButtons,datePicker:this.visibleElementsDatePicker,timezone:this.visibleElementsTimezone,sunLightingToggle:this.visibleElementsSunLightingToggle,shadowsToggle:this.visibleElementsShadowsToggle},this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}_setViewModelParams(){const t={dayPlaying:this.dayPlaying,yearPlaying:this.yearPlaying};this.currentSeason&&(t.currentSeason=this.currentSeason),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],currentSeason:["currentSeasonWatcher"],dayPlaying:["dayPlayingWatcher"],yearPlaying:["yearPlayingWatcher"],dateOrSeason:["dateOrSeasonWatcher"],icon:["iconWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsPlayButtons:["visibleElementsPlayButtonsWatcher"],visibleElementsDatePicker:["visibleElementsDatePickerWatcher"],visibleElementsTimezone:["visibleElementsTimezoneWatcher"],visibleElementsSunLightingToggle:["visibleElementsSunLightingToggleWatcher"],visibleElementsShadowsToggle:["visibleElementsShadowsToggleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_daylight}
6
+ import{r as t,c as i,h as e,g as s}from"./p-bcfc3660.js";import{m as h}from"./p-0252851d.js";import{r as a,c as r}from"./p-e55293fa.js";import{o as n}from"./p-3a7f7352.js";const l=class{constructor(e){t(this,e),this.arcgisDaylightReady=i(this,"arcgisDaylightReady",7),this._watchHandles=[],this.referenceElement=void 0,this.currentSeason=void 0,this.dayPlaying=!1,this.yearPlaying=!1,this.dateOrSeason="date",this.icon=void 0,this.playSpeedMultiplier=1,this.timeSliderSteps=5,this.visibleElementsHeader=!0,this.visibleElementsPlayButtons=!0,this.visibleElementsDatePicker=!0,this.visibleElementsTimezone=!0,this.visibleElementsSunLightingToggle=!0,this.visibleElementsShadowsToggle=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}currentSeasonWatcher(t){this.widget&&(this.widget.viewModel.currentSeason=t)}dayPlayingWatcher(t){this.widget&&(this.widget.viewModel.dayPlaying=t)}yearPlayingWatcher(t){this.widget&&(this.widget.viewModel.yearPlaying=t)}dateOrSeasonWatcher(t){void 0!==t&&this.widget&&(this.widget.dateOrSeason=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}playSpeedMultiplierWatcher(t){void 0!==t&&this.widget&&(this.widget.playSpeedMultiplier=t)}timeSliderStepsWatcher(t){void 0!==t&&this.widget&&(this.widget.timeSliderSteps=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements.header=t)}visibleElementsPlayButtonsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,playButtons:t})}visibleElementsDatePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,datePicker:t})}visibleElementsTimezoneWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,timezone:t})}visibleElementsSunLightingToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,sunLightingToggle:t})}visibleElementsShadowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,shadowsToggle: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,this._addContainer(),this._setViewModelParams(),this.arcgisDaylightReady.emit(),r(this)}disconnectedCallback(){n(this)}render(){return e("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={header:this.visibleElementsHeader,playButtons:this.visibleElementsPlayButtons,datePicker:this.visibleElementsDatePicker,timezone:this.visibleElementsTimezone,sunLightingToggle:this.visibleElementsSunLightingToggle,shadowsToggle:this.visibleElementsShadowsToggle},this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.dateOrSeason&&(t.dateOrSeason=this.dateOrSeason),this.playSpeedMultiplier&&(t.playSpeedMultiplier=this.playSpeedMultiplier),this.timeSliderSteps&&(t.timeSliderSteps=this.timeSliderSteps),t}_setViewModelParams(){const t={dayPlaying:this.dayPlaying,yearPlaying:this.yearPlaying};this.currentSeason&&(t.currentSeason=this.currentSeason),this.widget.viewModel.set(t)}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],currentSeason:["currentSeasonWatcher"],dayPlaying:["dayPlayingWatcher"],yearPlaying:["yearPlayingWatcher"],dateOrSeason:["dateOrSeasonWatcher"],icon:["iconWatcher"],playSpeedMultiplier:["playSpeedMultiplierWatcher"],timeSliderSteps:["timeSliderStepsWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsPlayButtons:["visibleElementsPlayButtonsWatcher"],visibleElementsDatePicker:["visibleElementsDatePickerWatcher"],visibleElementsTimezone:["visibleElementsTimezoneWatcher"],visibleElementsSunLightingToggle:["visibleElementsSunLightingToggleWatcher"],visibleElementsShadowsToggle:["visibleElementsShadowsToggleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_daylight}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as s,g as h}from"./p-e71125e1.js";import{_ as o,i as a}from"./p-b8864b7b.js";import{r as e,c as r,a as c}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const d=class{constructor(s){t(this,s),this.arcgisTrackReady=i(this,"arcgisTrackReady",7),this.trackComplete=i(this,"trackComplete",7),this.trackError=i(this,"trackError",7),this._watchHandles=[],this.referenceElement=void 0,this.error=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=!0,this.graphic=void 0,this.icon=void 0,this.positionFilterFunction=void 0,this.rotationEnabled=!0,this.scale=void 0,this.state="disabled",this.tracking=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){e(this,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}positionFilterFunctionWatcher(t){this.widget&&(this.widget.viewModel.positionFilterFunction=t)}rotationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.rotationEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=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 start(){this.widget.start()}async stop(){this.widget.stop()}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisTrackReady.emit(),r(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();c(this,[t((()=>this.widget.viewModel.error),(t=>this.error=t)),t((()=>this.widget.viewModel.state),(t=>this.state=t)),t((()=>this.widget.tracking),(t=>this.tracking=t),{initial:!0})])}_createParams(){const t={};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.positionFilterFunction&&(t.viewModel={positionFilterFunction:this.positionFilterFunction}),void 0!==this.rotationEnabled&&(t.rotationEnabled=this.rotationEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("track",(t=>this.trackComplete.emit(t))),this.widget.on("track-error",(t=>this.trackError.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],icon:["iconWatcher"],positionFilterFunction:["positionFilterFunctionWatcher"],rotationEnabled:["rotationEnabledWatcher"],scale:["scaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_track}
6
+ import{r as t,c as i,h as s,g as h}from"./p-bcfc3660.js";import{_ as o,i as a}from"./p-0252851d.js";import{r as e,c as r,a as c}from"./p-e55293fa.js";import{o as n}from"./p-3a7f7352.js";const d=class{constructor(s){t(this,s),this.arcgisTrackReady=i(this,"arcgisTrackReady",7),this.trackComplete=i(this,"trackComplete",7),this.trackError=i(this,"trackError",7),this._watchHandles=[],this.referenceElement=void 0,this.error=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=!0,this.graphic=void 0,this.icon=void 0,this.positionFilterFunction=void 0,this.rotationEnabled=!0,this.scale=void 0,this.state="disabled",this.tracking=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){e(this,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){this.widget&&(this.widget.graphic=t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}positionFilterFunctionWatcher(t){this.widget&&(this.widget.viewModel.positionFilterFunction=t)}rotationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.rotationEnabled=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=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 start(){this.widget.start()}async stop(){this.widget.stop()}async componentDidLoad(){const t=this._createParams(),i=await o(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisTrackReady.emit(),r(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();c(this,[t((()=>this.widget.viewModel.error),(t=>this.error=t)),t((()=>this.widget.viewModel.state),(t=>this.state=t)),t((()=>this.widget.tracking),(t=>this.tracking=t),{initial:!0})])}_createParams(){const t={};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.positionFilterFunction&&(t.viewModel={positionFilterFunction:this.positionFilterFunction}),void 0!==this.rotationEnabled&&(t.rotationEnabled=this.rotationEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("track",(t=>this.trackComplete.emit(t))),this.widget.on("track-error",(t=>this.trackError.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],icon:["iconWatcher"],positionFilterFunction:["positionFilterFunctionWatcher"],rotationEnabled:["rotationEnabledWatcher"],scale:["scaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_track}
@@ -0,0 +1,6 @@
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.5
5
+ */
6
+ import{r as t,c as e,h as s,g as r}from"./p-bcfc3660.js";import{r as i,c as a}from"./p-e55293fa.js";import{o as c}from"./p-3a7f7352.js";const o=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(){c(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"]}}};o.style="arcgis-placement{}";export{o as arcgis_placement}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as e,h as s,g as i}from"./p-e71125e1.js";import{t as a,i as n}from"./p-b8864b7b.js";import{r as l,c as o,a as h}from"./p-19785e15.js";import{o as r}from"./p-606f55b9.js";const p=class{constructor(s){t(this,s),this.arcgisEditorReady=e(this,"arcgisEditorReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeWorkflow=void 0,this.allowedWorkflows=void 0,this.icon=void 0,this.labelOptions=void 0,this.layerInfos=void 0,this.snappingOptions=void 0,this.supportingWidgetDefaults=void 0,this.tooltipOptions=void 0,this.visibleElementsCreateFeaturesSection=!0,this.visibleElementsEditFeaturesSection=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsHeader=!0,this.visibleElementsSnappingControlsEnabledToggle=!0,this.visibleElementsSnappingControlsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsLayerList=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){l(this,t)}allowedWorkflowsWatcher(t){this.widget&&(this.widget.allowedWorkflows=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerInfosWatcher(t){this.widget&&(this.widget.layerInfos=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}supportingWidgetDefaultsWatcher(t){this.widget&&(this.widget.supportingWidgetDefaults=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateFeaturesSectionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createFeaturesSection:t})}visibleElementsEditFeaturesSectionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editFeaturesSection:t})}visibleElementsLabelsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,labelsToggle:t})}visibleElementsTooltipsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,tooltipsToggle:t})}visibleElementsSnappingControlsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControls:t})}visibleElementsSnappingControlsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,header:t}})}visibleElementsSnappingControlsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,enabledToggle:t}})}visibleElementsSnappingControlsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,selfEnabledToggle:t}})}visibleElementsSnappingControlsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,featureEnabledToggle:t}})}visibleElementsSnappingControlsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,layerList: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 cancelWorkflow(){await(this.widget?.cancelWorkflow())}async deleteFeatureFromWorkflow(){await(this.widget?.deleteFeatureFromWorkflow())}async startCreateFeaturesWorkflowAtFeatureCreation(t){await(this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t))}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await(this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection())}async startUpdateWorkflowAtFeatureEdit(t){await(this.widget?.startUpdateWorkflowAtFeatureEdit(t))}async startUpdateWorkflowAtFeatureSelection(){await(this.widget?.startUpdateWorkflowAtFeatureSelection())}async startUpdateWorkflowAtMultipleFeatureSelection(t){await(this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t))}async componentDidLoad(){const t=this._createParams(),e=await a(t);this.widget=e,await this._addWatchers(),this._addContainer(),this.arcgisEditorReady.emit(),o(this)}disconnectedCallback(){r(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();h(this,t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={createFeaturesSection:this.visibleElementsCreateFeaturesSection,editFeaturesSection:this.visibleElementsEditFeaturesSection,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsHeader,enabledToggle:this.visibleElementsSnappingControlsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsLayerList}},this.allowedWorkflows&&(t.allowedWorkflows=this.allowedWorkflows),this.icon&&(t.icon=this.icon),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layerInfos&&(t.layerInfos=this.layerInfos),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.supportingWidgetDefaults&&(t.supportingWidgetDefaults=this.supportingWidgetDefaults),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),this.view&&(t.view=this.view),t}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateFeaturesSection:["visibleElementsCreateFeaturesSectionWatcher"],visibleElementsEditFeaturesSection:["visibleElementsEditFeaturesSectionWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsHeader:["visibleElementsSnappingControlsHeaderWatcher"],visibleElementsSnappingControlsEnabledToggle:["visibleElementsSnappingControlsEnabledToggleWatcher"],visibleElementsSnappingControlsSelfEnabledToggle:["visibleElementsSnappingControlsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsFeatureEnabledToggle:["visibleElementsSnappingControlsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsLayerList:["visibleElementsSnappingControlsLayerListWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="";export{p as arcgis_editor}
6
+ import{r as t,c as e,h as s,g as i}from"./p-bcfc3660.js";import{t as a,i as n}from"./p-0252851d.js";import{r as l,c as o,a as h}from"./p-e55293fa.js";import{o as r}from"./p-3a7f7352.js";const p=class{constructor(s){t(this,s),this.arcgisEditorReady=e(this,"arcgisEditorReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeWorkflow=void 0,this.allowedWorkflows=void 0,this.icon=void 0,this.labelOptions=void 0,this.layerInfos=void 0,this.snappingOptions=void 0,this.supportingWidgetDefaults=void 0,this.tooltipOptions=void 0,this.visibleElementsCreateFeaturesSection=!0,this.visibleElementsEditFeaturesSection=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsHeader=!0,this.visibleElementsSnappingControlsEnabledToggle=!0,this.visibleElementsSnappingControlsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsLayerList=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){l(this,t)}allowedWorkflowsWatcher(t){this.widget&&(this.widget.allowedWorkflows=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerInfosWatcher(t){this.widget&&(this.widget.layerInfos=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}supportingWidgetDefaultsWatcher(t){this.widget&&(this.widget.supportingWidgetDefaults=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateFeaturesSectionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createFeaturesSection:t})}visibleElementsEditFeaturesSectionWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editFeaturesSection:t})}visibleElementsLabelsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,labelsToggle:t})}visibleElementsTooltipsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,tooltipsToggle:t})}visibleElementsSnappingControlsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControls:t})}visibleElementsSnappingControlsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,header:t}})}visibleElementsSnappingControlsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,enabledToggle:t}})}visibleElementsSnappingControlsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,selfEnabledToggle:t}})}visibleElementsSnappingControlsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,featureEnabledToggle:t}})}visibleElementsSnappingControlsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{...this.widget.visibleElements.snappingControlsElements,layerList: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 cancelWorkflow(){await(this.widget?.cancelWorkflow())}async deleteFeatureFromWorkflow(){await(this.widget?.deleteFeatureFromWorkflow())}async startCreateFeaturesWorkflowAtFeatureCreation(t){await(this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t))}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await(this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection())}async startUpdateWorkflowAtFeatureEdit(t){await(this.widget?.startUpdateWorkflowAtFeatureEdit(t))}async startUpdateWorkflowAtFeatureSelection(){await(this.widget?.startUpdateWorkflowAtFeatureSelection())}async startUpdateWorkflowAtMultipleFeatureSelection(t){await(this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t))}async componentDidLoad(){const t=this._createParams(),e=await a(t);this.widget=e,await this._addWatchers(),this._addContainer(),this.arcgisEditorReady.emit(),o(this)}disconnectedCallback(){r(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await n();h(this,t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={createFeaturesSection:this.visibleElementsCreateFeaturesSection,editFeaturesSection:this.visibleElementsEditFeaturesSection,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsHeader,enabledToggle:this.visibleElementsSnappingControlsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsLayerList}},this.allowedWorkflows&&(t.allowedWorkflows=this.allowedWorkflows),this.icon&&(t.icon=this.icon),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layerInfos&&(t.layerInfos=this.layerInfos),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.supportingWidgetDefaults&&(t.supportingWidgetDefaults=this.supportingWidgetDefaults),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),this.view&&(t.view=this.view),t}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateFeaturesSection:["visibleElementsCreateFeaturesSectionWatcher"],visibleElementsEditFeaturesSection:["visibleElementsEditFeaturesSectionWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsHeader:["visibleElementsSnappingControlsHeaderWatcher"],visibleElementsSnappingControlsEnabledToggle:["visibleElementsSnappingControlsEnabledToggleWatcher"],visibleElementsSnappingControlsSelfEnabledToggle:["visibleElementsSnappingControlsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsFeatureEnabledToggle:["visibleElementsSnappingControlsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsLayerList:["visibleElementsSnappingControlsLayerListWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="";export{p as arcgis_editor}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as e,a as t,h as i,H as s,g as n}from"./p-e71125e1.js";import{i as r,a3 as a}from"./p-b8864b7b.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}
6
+ import{r as e,a as t,h as i,H as s,g as n}from"./p-bcfc3660.js";import{i as r,a3 as a}from"./p-0252851d.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 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{a5 as h}from"./p-b8864b7b.js";import{r as o,c as r}from"./p-19785e15.js";import{o as a}from"./p-606f55b9.js";const c=class{constructor(s){t(this,s),this.arcgisZoomReady=i(this,"arcgisZoomReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.layout="vertical",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}layoutWatcher(t){this.widget&&this.widget.layout!==t&&(this.widget.layout=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 zoomIn(){this.widget?.viewModel.zoomIn()}async zoomOut(){this.widget?.viewModel.zoomOut()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisZoomReady.emit(),r(this)}disconnectedCallback(){a(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.layout&&(t.layout=this.layout),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],layout:["layoutWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-zoom{}";export{c as arcgis_zoom}
6
+ import{r as t,c as i,h as s,g as e}from"./p-bcfc3660.js";import{a5 as h}from"./p-0252851d.js";import{r as o,c as r}from"./p-e55293fa.js";import{o as a}from"./p-3a7f7352.js";const c=class{constructor(s){t(this,s),this.arcgisZoomReady=i(this,"arcgisZoomReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.layout="vertical",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}layoutWatcher(t){this.widget&&this.widget.layout!==t&&(this.widget.layout=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 zoomIn(){this.widget?.viewModel.zoomIn()}async zoomOut(){this.widget?.viewModel.zoomOut()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisZoomReady.emit(),r(this)}disconnectedCallback(){a(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.layout&&(t.layout=this.layout),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],layout:["layoutWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-zoom{}";export{c as arcgis_zoom}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{F as h}from"./p-b8864b7b.js";import{r,c as o}from"./p-19785e15.js";import{o as a}from"./p-606f55b9.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(),o(this)}disconnectedCallback(){a(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}
6
+ import{r as t,c as i,h as s,g as e}from"./p-bcfc3660.js";import{F as h}from"./p-0252851d.js";import{r,c as o}from"./p-e55293fa.js";import{o as a}from"./p-3a7f7352.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(),o(this)}disconnectedCallback(){a(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 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as i,c as s,h as t,g as e}from"./p-e71125e1.js";import{j as h,i as a}from"./p-b8864b7b.js";import{r,c,a as l}from"./p-19785e15.js";import{o as n}from"./p-606f55b9.js";const o=class{constructor(t){i(this,t),this.arcgisBuildingExplorerReady=s(this,"arcgisBuildingExplorerReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.layers=void 0,this.level=void 0,this.phase=void 0,this.state="disabled",this.visibleElementsLevels=!0,this.visibleElementsPhases=!0,this.visibleElementsDisciplines=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){r(this,i)}iconWatcher(i){this.widget&&(this.widget.icon=i)}layersWatcher(i){this.widget&&(this.widget.layers=i)}visibleElementsLevelsWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,levels:i})}visibleElementsPhasesWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,phases:i})}visibleElementsDisciplinesWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,disciplines:i})}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),s=await h(i);this.widget=s,await this._addWatchers(),this._addContainer(),this.arcgisBuildingExplorerReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return t("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await a();l(this,[i((()=>this.widget.viewModel.level),(i=>this.level=i),{initial:!0}),i((()=>this.widget.viewModel.phase),(i=>this.phase=i),{initial:!0}),i((()=>this.widget.viewModel.state),(i=>this.state=i),{initial:!0})])}_createParams(){const i={};return i.visibleElements={levels:this.visibleElementsLevels,phases:this.visibleElementsPhases,disciplines:this.visibleElementsDisciplines},this.icon&&(i.icon=this.icon),this.layers&&(i.layers=this.layers),this.view&&(i.view=this.view),i}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],layers:["layersWatcher"],visibleElementsLevels:["visibleElementsLevelsWatcher"],visibleElementsPhases:["visibleElementsPhasesWatcher"],visibleElementsDisciplines:["visibleElementsDisciplinesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_building_explorer}
6
+ import{r as i,c as s,h as t,g as e}from"./p-bcfc3660.js";import{j as h,i as a}from"./p-0252851d.js";import{r,c,a as l}from"./p-e55293fa.js";import{o as n}from"./p-3a7f7352.js";const o=class{constructor(t){i(this,t),this.arcgisBuildingExplorerReady=s(this,"arcgisBuildingExplorerReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.layers=void 0,this.level=void 0,this.phase=void 0,this.state="disabled",this.visibleElementsLevels=!0,this.visibleElementsPhases=!0,this.visibleElementsDisciplines=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){r(this,i)}iconWatcher(i){this.widget&&(this.widget.icon=i)}layersWatcher(i){this.widget&&(this.widget.layers=i)}visibleElementsLevelsWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,levels:i})}visibleElementsPhasesWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,phases:i})}visibleElementsDisciplinesWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,disciplines:i})}positionWatcher(i){void 0!==i&&this.widget&&this.view.ui.move(this.childElem,i)}viewWatcher(i){void 0!==i&&this.widget&&(this.widget.view=i)}async componentDidLoad(){const i=this._createParams(),s=await h(i);this.widget=s,await this._addWatchers(),this._addContainer(),this.arcgisBuildingExplorerReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return t("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await a();l(this,[i((()=>this.widget.viewModel.level),(i=>this.level=i),{initial:!0}),i((()=>this.widget.viewModel.phase),(i=>this.phase=i),{initial:!0}),i((()=>this.widget.viewModel.state),(i=>this.state=i),{initial:!0})])}_createParams(){const i={};return i.visibleElements={levels:this.visibleElementsLevels,phases:this.visibleElementsPhases,disciplines:this.visibleElementsDisciplines},this.icon&&(i.icon=this.icon),this.layers&&(i.layers=this.layers),this.view&&(i.view=this.view),i}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],layers:["layersWatcher"],visibleElementsLevels:["visibleElementsLevelsWatcher"],visibleElementsPhases:["visibleElementsPhasesWatcher"],visibleElementsDisciplines:["visibleElementsDisciplinesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_building_explorer}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as s,h as i,g as e}from"./p-e71125e1.js";import{a0 as h,i as r}from"./p-b8864b7b.js";import{r as a,c,a as o}from"./p-19785e15.js";import{o as l}from"./p-606f55b9.js";const d=class{constructor(i){t(this,i),this.arcgisUtilityNetworkTraceReady=s(this,"arcgisUtilityNetworkTraceReady",7),this.utilityNetworkTraceAddFlag=s(this,"utilityNetworkTraceAddFlag",7),this.utilityNetworkTraceAddFlagComplete=s(this,"utilityNetworkTraceAddFlagComplete",7),this.utilityNetworkTraceAddFlagError=s(this,"utilityNetworkTraceAddFlagError",7),this.utilityNetworkTraceAddResultArea=s(this,"utilityNetworkTraceAddResultArea",7),this.utilityNetworkTraceRemoveResultArea=s(this,"utilityNetworkTraceRemoveResultArea",7),this._watchHandles=[],this.referenceElement=void 0,this.enableResultArea=!1,this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.resultAreaProperties=void 0,this.selectedTraces=[],this.selectOnComplete=!0,this.showGraphicsOnComplete=!0,this.showSelectionAttributes=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}enableResultAreaWatcher(t){this.widget&&(this.widget.enableResultArea=t)}defaultGraphicColorWatcher(t){this.widget&&(this.widget.defaultGraphicColor=t)}disabledWatcher(t,s){this.widget&&t!==s&&(this.widget.disabled=t)}flagsWatcher(t){this.widget&&(this.widget.flags=t)}gdbVersionWatcher(t){this.widget&&(this.widget.gdbVersion=t)}inputSettingsWatcher(t){this.widget&&(this.widget.inputSettings=t)}resultAreaPropertiesWatcher(t){this.widget&&(this.widget.resultAreaProperties=t)}selectedTracesWatcher(t){this.widget&&(this.widget.selectedTraces=t)}selectOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.selectOnComplete=t)}showGraphicsOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.showGraphicsOnComplete=t)}showSelectionAttributesWatcher(t){void 0!==t&&this.widget&&(this.widget.showSelectionAttributes=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 checkCanTrace(){await(this.widget?.checkCanTrace())}async confirmReset(){this.widget?.confirmReset()}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisUtilityNetworkTraceReady.emit(),c(this)}disconnectedCallback(){l(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();o(this,t((()=>this.widget.disabled),(t=>this.disabled=t)))}_createParams(){const t={};return this.defaultGraphicColor&&(t.defaultGraphicColor=this.defaultGraphicColor),void 0!==this.enableResultArea&&(t.enableResultArea=this.enableResultArea),this.flags&&(t.flags=this.flags),this.gdbVersion&&(t.gdbVersion=this.gdbVersion),this.inputSettings&&(t.inputSettings=this.inputSettings),this.resultAreaProperties&&(t.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(t.selectedTraces=this.selectedTraces),void 0!==this.selectOnComplete&&(t.selectOnComplete=this.selectOnComplete),void 0!==this.showGraphicsOnComplete&&(t.showGraphicsOnComplete=this.showGraphicsOnComplete),void 0!==this.showSelectionAttributes&&(t.showSelectionAttributes=this.showSelectionAttributes),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("add-flag",(t=>this.utilityNetworkTraceAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.utilityNetworkTraceAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.utilityNetworkTraceAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.utilityNetworkTraceAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.utilityNetworkTraceRemoveResultArea.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],enableResultArea:["enableResultAreaWatcher"],defaultGraphicColor:["defaultGraphicColorWatcher"],disabled:["disabledWatcher"],flags:["flagsWatcher"],gdbVersion:["gdbVersionWatcher"],inputSettings:["inputSettingsWatcher"],resultAreaProperties:["resultAreaPropertiesWatcher"],selectedTraces:["selectedTracesWatcher"],selectOnComplete:["selectOnCompleteWatcher"],showGraphicsOnComplete:["showGraphicsOnCompleteWatcher"],showSelectionAttributes:["showSelectionAttributesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_utility_network_trace}
6
+ import{r as t,c as s,h as i,g as e}from"./p-bcfc3660.js";import{a0 as h,i as r}from"./p-0252851d.js";import{r as a,c,a as o}from"./p-e55293fa.js";import{o as l}from"./p-3a7f7352.js";const d=class{constructor(i){t(this,i),this.arcgisUtilityNetworkTraceReady=s(this,"arcgisUtilityNetworkTraceReady",7),this.utilityNetworkTraceAddFlag=s(this,"utilityNetworkTraceAddFlag",7),this.utilityNetworkTraceAddFlagComplete=s(this,"utilityNetworkTraceAddFlagComplete",7),this.utilityNetworkTraceAddFlagError=s(this,"utilityNetworkTraceAddFlagError",7),this.utilityNetworkTraceAddResultArea=s(this,"utilityNetworkTraceAddResultArea",7),this.utilityNetworkTraceRemoveResultArea=s(this,"utilityNetworkTraceRemoveResultArea",7),this._watchHandles=[],this.referenceElement=void 0,this.enableResultArea=!1,this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.resultAreaProperties=void 0,this.selectedTraces=[],this.selectOnComplete=!0,this.showGraphicsOnComplete=!0,this.showSelectionAttributes=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}enableResultAreaWatcher(t){this.widget&&(this.widget.enableResultArea=t)}defaultGraphicColorWatcher(t){this.widget&&(this.widget.defaultGraphicColor=t)}disabledWatcher(t,s){this.widget&&t!==s&&(this.widget.disabled=t)}flagsWatcher(t){this.widget&&(this.widget.flags=t)}gdbVersionWatcher(t){this.widget&&(this.widget.gdbVersion=t)}inputSettingsWatcher(t){this.widget&&(this.widget.inputSettings=t)}resultAreaPropertiesWatcher(t){this.widget&&(this.widget.resultAreaProperties=t)}selectedTracesWatcher(t){this.widget&&(this.widget.selectedTraces=t)}selectOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.selectOnComplete=t)}showGraphicsOnCompleteWatcher(t){void 0!==t&&this.widget&&(this.widget.showGraphicsOnComplete=t)}showSelectionAttributesWatcher(t){void 0!==t&&this.widget&&(this.widget.showSelectionAttributes=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 checkCanTrace(){await(this.widget?.checkCanTrace())}async confirmReset(){this.widget?.confirmReset()}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisUtilityNetworkTraceReady.emit(),c(this)}disconnectedCallback(){l(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();o(this,t((()=>this.widget.disabled),(t=>this.disabled=t)))}_createParams(){const t={};return this.defaultGraphicColor&&(t.defaultGraphicColor=this.defaultGraphicColor),void 0!==this.enableResultArea&&(t.enableResultArea=this.enableResultArea),this.flags&&(t.flags=this.flags),this.gdbVersion&&(t.gdbVersion=this.gdbVersion),this.inputSettings&&(t.inputSettings=this.inputSettings),this.resultAreaProperties&&(t.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(t.selectedTraces=this.selectedTraces),void 0!==this.selectOnComplete&&(t.selectOnComplete=this.selectOnComplete),void 0!==this.showGraphicsOnComplete&&(t.showGraphicsOnComplete=this.showGraphicsOnComplete),void 0!==this.showSelectionAttributes&&(t.showSelectionAttributes=this.showSelectionAttributes),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("add-flag",(t=>this.utilityNetworkTraceAddFlag.emit(t))),this.widget.on("add-flag-complete",(t=>this.utilityNetworkTraceAddFlagComplete.emit(t))),this.widget.on("add-flag-error",(t=>this.utilityNetworkTraceAddFlagError.emit(t))),this.widget.on("add-result-area",(t=>this.utilityNetworkTraceAddResultArea.emit(t))),this.widget.on("remove-result-area",(t=>this.utilityNetworkTraceRemoveResultArea.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],enableResultArea:["enableResultAreaWatcher"],defaultGraphicColor:["defaultGraphicColorWatcher"],disabled:["disabledWatcher"],flags:["flagsWatcher"],gdbVersion:["gdbVersionWatcher"],inputSettings:["inputSettingsWatcher"],resultAreaProperties:["resultAreaPropertiesWatcher"],selectedTraces:["selectedTracesWatcher"],selectOnComplete:["selectOnCompleteWatcher"],showGraphicsOnComplete:["showGraphicsOnCompleteWatcher"],showSelectionAttributes:["showSelectionAttributesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_utility_network_trace}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{z as h}from"./p-b8864b7b.js";import{c as r}from"./p-19785e15.js";import{o}from"./p-606f55b9.js";const a=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.featureTemplatesSelect=i(this,"featureTemplatesSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.enableListScroll=void 0,this.filterFunction=void 0,this.filterText=void 0,this.groupBy=void 0,this.layers=void 0,this.selectionMode=void 0,this.visibleElements=void 0}enableListScrolWatcher(t){void 0!==t&&this.widget&&(this.widget.enableListScroll=t)}filterFunctionWatcher(t){this.widget&&(this.widget.filterFunction=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}groupByWatcher(t){this.widget&&(this.widget.groupBy=t)}layersWatcher(t){this.widget&&(this.widget.layers=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibleElementsWatcher(t){this.widget&&(this.widget.visibleElements=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.enableListScroll&&(t.enableListScroll=this.enableListScroll),this.filterFunction&&(t.filterFunction=this.filterFunction),this.filterText&&(t.filterText=this.filterText),this.groupBy&&(t.groupBy=this.groupBy),this.layers&&(t.layers=this.layers),void 0!==this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibleElements&&(t.visibleElements=this.visibleElements),t}_proxyEvents(){this.widget.on("select",(t=>this.featureTemplatesSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{enableListScroll:["enableListScrolWatcher"],filterFunction:["filterFunctionWatcher"],filterText:["filterTextWatcher"],groupBy:["groupByWatcher"],layers:["layersWatcher"],selectionMode:["selectionModeWatcher"],visibleElements:["visibleElementsWatcher"]}}};a.style="";export{a as arcgis_feature_templates}
6
+ import{r as t,c as i,h as s,g as e}from"./p-bcfc3660.js";import{z as h}from"./p-0252851d.js";import{c as r}from"./p-e55293fa.js";import{o}from"./p-3a7f7352.js";const a=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.featureTemplatesSelect=i(this,"featureTemplatesSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0,this.enableListScroll=void 0,this.filterFunction=void 0,this.filterText=void 0,this.groupBy=void 0,this.layers=void 0,this.selectionMode=void 0,this.visibleElements=void 0}enableListScrolWatcher(t){void 0!==t&&this.widget&&(this.widget.enableListScroll=t)}filterFunctionWatcher(t){this.widget&&(this.widget.filterFunction=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}groupByWatcher(t){this.widget&&(this.widget.groupBy=t)}layersWatcher(t){this.widget&&(this.widget.layers=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibleElementsWatcher(t){this.widget&&(this.widget.visibleElements=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){o(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.enableListScroll&&(t.enableListScroll=this.enableListScroll),this.filterFunction&&(t.filterFunction=this.filterFunction),this.filterText&&(t.filterText=this.filterText),this.groupBy&&(t.groupBy=this.groupBy),this.layers&&(t.layers=this.layers),void 0!==this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibleElements&&(t.visibleElements=this.visibleElements),t}_proxyEvents(){this.widget.on("select",(t=>this.featureTemplatesSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{enableListScroll:["enableListScrolWatcher"],filterFunction:["filterFunctionWatcher"],filterText:["filterTextWatcher"],groupBy:["groupByWatcher"],layers:["layersWatcher"],selectionMode:["selectionModeWatcher"],visibleElements:["visibleElementsWatcher"]}}};a.style="";export{a as arcgis_feature_templates}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as i,c as t,h as s,g as h}from"./p-e71125e1.js";import{W as e,i as a}from"./p-b8864b7b.js";import{c as r,a as n}from"./p-19785e15.js";import{o as d}from"./p-606f55b9.js";const o=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){void 0!==i&&this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){void 0!==i&&this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){void 0!==i&&this.widget&&(this.widget.min=i)}maxWatcher(i){void 0!==i&&this.widget&&(this.widget.max=i)}precisionWatcher(i){void 0!==i&&this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.snapOnClickEnabled=i)}syncedSegmentsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){void 0!==i&&this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){d(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();n(this,i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0})),n(this,i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0})),n(this,i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0})),n(this,i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0})),n(this,i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0})),n(this,i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0}))}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],steps:["stepsWatcher"],values:["valuesWatcher"]}}};o.style="arcgis-slider{min-width:200px;min-height:25px}";export{o as arcgis_slider}
6
+ import{r as i,c as t,h as s,g as h}from"./p-bcfc3660.js";import{W as e,i as a}from"./p-0252851d.js";import{c as r,a as n}from"./p-e55293fa.js";import{o as d}from"./p-3a7f7352.js";const c=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){void 0!==i&&this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){void 0!==i&&this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){void 0!==i&&this.widget&&(this.widget.min=i)}maxWatcher(i){void 0!==i&&this.widget&&(this.widget.max=i)}precisionWatcher(i){void 0!==i&&this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.snapOnClickEnabled=i)}syncedSegmentsEnabledWatcher(i){void 0!==i&&this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){void 0!==i&&this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){d(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();n(this,i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0})),n(this,i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0})),n(this,i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0})),n(this,i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0})),n(this,i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0})),n(this,i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0}))}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],steps:["stepsWatcher"],values:["valuesWatcher"]}}};c.style="arcgis-slider{min-width:200px;min-height:25px}";export{c as arcgis_slider}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as e,h as i,g as s}from"./p-e71125e1.js";import{f as h,i as r}from"./p-b8864b7b.js";import{r as a,c as l,a as n}from"./p-19785e15.js";import{o as c}from"./p-606f55b9.js";const o=class{constructor(i){t(this,i),this.arcgisBasemapLayerListReady=e(this,"arcgisBasemapLayerListReady",7),this.basemapLayerListTriggerAction=e(this,"basemapLayerListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.baseFilterText="",this.baseItems=void 0,this.baseListItemCreatedFunction=void 0,this.basemapTitle=void 0,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.icon=void 0,this.minFilterItems=10,this.referenceFilterText="",this.referenceListItemCreatedFunction=void 0,this.selectedItems=void 0,this.selectionMode="none",this.visibilityAppearance="default",this.visibleElementsBaseLayers=!0,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsEditTitleButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!0,this.visibleElementsReferenceLayers=!0,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryLayerIndicators=!1,this.view=void 0,this.widget=void 0,this.position="bottom-left"}referenceElementWatcher(t){a(this,t)}baseFilterTextWatcher(t){this.widget&&(this.widget.baseFilterText=t)}baseListItemCreatedFunctionWatcher(t){this.widget&&(this.widget.baseListItemCreatedFunction=t)}basemapTitleWatcher(t,e){this.widget&&t!==e&&(this.widget.basemapTitle=t)}collapsedWatcher(t){this.widget&&this.widget.collapsed!==t&&(this.widget.collapsed=t)}dragEnabledWatcher(t){this.widget&&void 0!==t&&(this.widget.dragEnabled=t)}editingTitleWatcher(t){this.widget&&void 0!==t&&(this.widget.editingTitle=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}referenceFilterTextWatcher(t){this.widget&&(this.widget.referenceFilterText=t)}referenceListItemCreatedFunctionWatcher(t){this.widget&&(this.widget.referenceListItemCreatedFunction=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibilityAppearanceWatcher(t){this.widget&&(this.widget.visibilityAppearance=t)}visibleElementsBaseLayersWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,baseLayers: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})}visibleElementsEditTitleButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editTitleButton:t})}visibleElementsErrorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,errors:t})}visibleElementsFilterWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsFlowWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,flow:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsReferenceLayersWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,referenceLayers:t})}visibleElementsStatusIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,statusIndicators:t})}visibleElementsTemporaryLayerIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,temporaryLayerIndicators:t})}viewWatcher(t){this.widget&&(this.widget.view=t)}positionWatcher(t){this.widget&&this.view.ui.move(this.childElem,t)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,await this._addWatchers(),await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisBasemapLayerListReady.emit(),l(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={baseLayers:this.visibleElementsBaseLayers,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,editTitleButton:this.visibleElementsEditTitleButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,referenceLayers:this.visibleElementsReferenceLayers,statusIndicators:this.visibleElementsStatusIndicators,temporaryLayerIndicators:this.visibleElementsTemporaryLayerIndicators},this.baseFilterText&&(t.baseFilterText=this.baseFilterText),this.baseListItemCreatedFunction&&(t.baseListItemCreatedFunction=this.baseListItemCreatedFunction),this.basemapTitle&&(t.basemapTitle=this.basemapTitle),void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),void 0!==this.editingTitle&&(t.editingTitle=this.editingTitle),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.icon&&(t.icon=this.icon),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.referenceFilterText&&(t.referenceFilterText=this.referenceFilterText),this.referenceListItemCreatedFunction&&(t.referenceListItemCreatedFunction=this.referenceListItemCreatedFunction),this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibilityAppearance&&(t.visibilityAppearance=this.visibilityAppearance),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await r();n(this,[t((()=>this.widget.baseItems),(t=>this.baseItems=t),{initial:!0}),t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}),t((()=>this.widget.basemapTitle),(t=>{this.basemapTitle||(this.basemapTitle=t)}),{initial:!0}),t((()=>this.widget.collapsed),(t=>this.collapsed=t))])}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.basemapLayerListTriggerAction.emit(t)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],baseFilterText:["baseFilterTextWatcher"],baseListItemCreatedFunction:["baseListItemCreatedFunctionWatcher"],basemapTitle:["basemapTitleWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],editingTitle:["editingTitleWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],icon:["iconWatcher"],minFilterItems:["minFilterItemsWatcher"],referenceFilterText:["referenceFilterTextWatcher"],referenceListItemCreatedFunction:["referenceListItemCreatedFunctionWatcher"],selectionMode:["selectionModeWatcher"],visibilityAppearance:["visibilityAppearanceWatcher"],visibleElementsBaseLayers:["visibleElementsBaseLayersWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsEditTitleButton:["visibleElementsEditTitleButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsReferenceLayers:["visibleElementsReferenceLayersWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryLayerIndicators:["visibleElementsTemporaryLayerIndicatorsWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};o.style="";export{o as arcgis_basemap_layer_list}
6
+ import{r as t,c as e,h as i,g as s}from"./p-bcfc3660.js";import{f as h,i as r}from"./p-0252851d.js";import{r as a,c as l,a as n}from"./p-e55293fa.js";import{o as c}from"./p-3a7f7352.js";const o=class{constructor(i){t(this,i),this.arcgisBasemapLayerListReady=e(this,"arcgisBasemapLayerListReady",7),this.basemapLayerListTriggerAction=e(this,"basemapLayerListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.baseFilterText="",this.baseItems=void 0,this.baseListItemCreatedFunction=void 0,this.basemapTitle=void 0,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.icon=void 0,this.minFilterItems=10,this.referenceFilterText="",this.referenceListItemCreatedFunction=void 0,this.selectedItems=void 0,this.selectionMode="none",this.visibilityAppearance="default",this.visibleElementsBaseLayers=!0,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsEditTitleButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!0,this.visibleElementsReferenceLayers=!0,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryLayerIndicators=!1,this.view=void 0,this.widget=void 0,this.position="bottom-left"}referenceElementWatcher(t){a(this,t)}baseFilterTextWatcher(t){this.widget&&(this.widget.baseFilterText=t)}baseListItemCreatedFunctionWatcher(t){this.widget&&(this.widget.baseListItemCreatedFunction=t)}basemapTitleWatcher(t,e){this.widget&&t!==e&&(this.widget.basemapTitle=t)}collapsedWatcher(t){this.widget&&this.widget.collapsed!==t&&(this.widget.collapsed=t)}dragEnabledWatcher(t){this.widget&&void 0!==t&&(this.widget.dragEnabled=t)}editingTitleWatcher(t){this.widget&&void 0!==t&&(this.widget.editingTitle=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}referenceFilterTextWatcher(t){this.widget&&(this.widget.referenceFilterText=t)}referenceListItemCreatedFunctionWatcher(t){this.widget&&(this.widget.referenceListItemCreatedFunction=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibilityAppearanceWatcher(t){this.widget&&(this.widget.visibilityAppearance=t)}visibleElementsBaseLayersWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,baseLayers: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})}visibleElementsEditTitleButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editTitleButton:t})}visibleElementsErrorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,errors:t})}visibleElementsFilterWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsFlowWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,flow:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,filter:t})}visibleElementsReferenceLayersWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,referenceLayers:t})}visibleElementsStatusIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,statusIndicators:t})}visibleElementsTemporaryLayerIndicatorsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,temporaryLayerIndicators:t})}viewWatcher(t){this.widget&&(this.widget.view=t)}positionWatcher(t){this.widget&&this.view.ui.move(this.childElem,t)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,await this._addWatchers(),await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisBasemapLayerListReady.emit(),l(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={baseLayers:this.visibleElementsBaseLayers,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,editTitleButton:this.visibleElementsEditTitleButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,referenceLayers:this.visibleElementsReferenceLayers,statusIndicators:this.visibleElementsStatusIndicators,temporaryLayerIndicators:this.visibleElementsTemporaryLayerIndicators},this.baseFilterText&&(t.baseFilterText=this.baseFilterText),this.baseListItemCreatedFunction&&(t.baseListItemCreatedFunction=this.baseListItemCreatedFunction),this.basemapTitle&&(t.basemapTitle=this.basemapTitle),void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),void 0!==this.editingTitle&&(t.editingTitle=this.editingTitle),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.icon&&(t.icon=this.icon),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.referenceFilterText&&(t.referenceFilterText=this.referenceFilterText),this.referenceListItemCreatedFunction&&(t.referenceListItemCreatedFunction=this.referenceListItemCreatedFunction),this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibilityAppearance&&(t.visibilityAppearance=this.visibilityAppearance),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await r();n(this,[t((()=>this.widget.baseItems),(t=>this.baseItems=t),{initial:!0}),t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}),t((()=>this.widget.basemapTitle),(t=>{this.basemapTitle||(this.basemapTitle=t)}),{initial:!0}),t((()=>this.widget.collapsed),(t=>this.collapsed=t))])}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.basemapLayerListTriggerAction.emit(t)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],baseFilterText:["baseFilterTextWatcher"],baseListItemCreatedFunction:["baseListItemCreatedFunctionWatcher"],basemapTitle:["basemapTitleWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],editingTitle:["editingTitleWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],icon:["iconWatcher"],minFilterItems:["minFilterItemsWatcher"],referenceFilterText:["referenceFilterTextWatcher"],referenceListItemCreatedFunction:["referenceListItemCreatedFunctionWatcher"],selectionMode:["selectionModeWatcher"],visibilityAppearance:["visibilityAppearanceWatcher"],visibleElementsBaseLayers:["visibleElementsBaseLayersWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsEditTitleButton:["visibleElementsEditTitleButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsReferenceLayers:["visibleElementsReferenceLayersWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryLayerIndicators:["visibleElementsTemporaryLayerIndicatorsWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};o.style="";export{o as arcgis_basemap_layer_list}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{A as h,i as a}from"./p-b8864b7b.js";import{r as n,c as r,a as o}from"./p-19785e15.js";import{o as c}from"./p-606f55b9.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(){c(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.collapsed),(t=>this.collapsed=t),{initial:!0})),o(this,t((()=>this.widget.promises),(t=>this.promises=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0})),o(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}
6
+ import{r as t,c as i,h as s,g as e}from"./p-bcfc3660.js";import{A as h,i as a}from"./p-0252851d.js";import{r as n,c as r,a as o}from"./p-e55293fa.js";import{o as c}from"./p-3a7f7352.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(){c(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.collapsed),(t=>this.collapsed=t),{initial:!0})),o(this,t((()=>this.widget.promises),(t=>this.promises=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0})),o(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 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as i,c as t,h as s,g as h}from"./p-e71125e1.js";import{i as e,P as a,Q as r}from"./p-b8864b7b.js";import{i as o,e as n,f as c,b as d,g as l,a as p}from"./p-19785e15.js";const v=class{constructor(s){i(this,s),this.arcgisViewReadyChange=t(this,"arcgisViewReadyChange",7),this.arcgisViewChange=t(this,"arcgisViewChange",7),this.arcgisViewClick=t(this,"arcgisViewClick",7),this.arcgisViewDoubleClick=t(this,"arcgisViewDoubleClick",7),this.arcgisViewDrag=t(this,"arcgisViewDrag",7),this.arcgisViewHold=t(this,"arcgisViewHold",7),this.arcgisViewImmediateClick=t(this,"arcgisViewImmediateClick",7),this.arcgisViewImmediateDoubleClick=t(this,"arcgisViewImmediateDoubleClick",7),this.arcgisViewKeyDown=t(this,"arcgisViewKeyDown",7),this.arcgisViewKeyUp=t(this,"arcgisViewKeyUp",7),this.arcgisViewLayerviewCreate=t(this,"arcgisViewLayerviewCreate",7),this.arcgisViewLayerviewCreateError=t(this,"arcgisViewLayerviewCreateError",7),this.arcgisViewLayerviewDestroy=t(this,"arcgisViewLayerviewDestroy",7),this.arcgisViewMouseWheel=t(this,"arcgisViewMouseWheel",7),this.arcgisViewPointerDown=t(this,"arcgisViewPointerDown",7),this.arcgisViewPointerEnter=t(this,"arcgisViewPointerEnter",7),this.arcgisViewPointerLeave=t(this,"arcgisViewPointerLeave",7),this.arcgisViewPointerMove=t(this,"arcgisViewPointerMove",7),this.arcgisViewPointerUp=t(this,"arcgisViewPointerUp",7),this._watchHandles=[],this.allLayerViews=void 0,this.alphaCompositingEnabled=!1,this.analyses=void 0,this.basemapView=void 0,this.basemap=void 0,this.camera=void 0,this.center=void 0,this.clippingArea=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.environment=void 0,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.ground=void 0,this.groundView=void 0,this.highlightOptions=void 0,this.interacting=!1,this.itemId=void 0,this.layerViews=void 0,this.magnifier=void 0,this.map=void 0,this.navigating=!1,this.navigation=void 0,this.padding=void 0,this.performanceInfo=void 0,this.popup=void 0,this.popupEnabled=!0,this.qualityProfile=void 0,this.ready=!1,this.resolution=void 0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!1,this.theme=void 0,this.timeExtent=void 0,this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewingMode="global",this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}alphaCompositingEnabledWatcher(i){void 0!==i&&this.view&&(this.view.alphaCompositingEnabled=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!o(i)||this.view?.map)&&(this.view.map.basemap=i)}cameraWatcher(i){this.view&&i&&n(this.view.camera,i)&&(this.view.camera=i)}centerWatcher(i,t){if(i!==t&&this.view)if("string"==typeof i){const t=i.split(",").map((i=>Number(i)));t[0]!==this.view.center.longitude&&t[1]!==this.view.center.latitude&&(this.view.center=t)}else Array.isArray(i)?i[0]!==this.view.center.longitude&&i[1]!==this.view.center.latitude&&(this.view.center=i):this.view.center.equals(i)||(this.view.center=i)}clippingAreaWatcher(i){this.view&&i&&!this.view.clippingArea?.equals(i)&&(this.view.clippingArea=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}environmentWatcher(i){this.view&&i&&c(this.view.environment,i)&&(this.view.environment=i)}extentWatcher(i){this.view&&i&&!this.view.extent.equals(i)&&(this.view.extent=i)}floorsWatcher(i){this.view&&(this.view.floors=i)}graphicsWatcher(i){this.view&&(this.view.graphics=i)}groundWatcher(i){this.view?.map&&!o(i)&&(this.view.map.ground=i)}highlightOptionsWatcher(i){this.view&&(this.view.highlightOptions=i)}itemIdWatcher(i,t){i!==t&&(this.view?.map?this._updateMap():this._loadMap())}mapWatcher(i){this.view&&(this.view.map=i)}navigationWatcher(i){this.view&&(this.view.navigation=i)}paddingWatcher(i){this.view&&(this.view.padding=i)}popupWatcher(i){this.view&&(this.view.popup=i)}popupEnabledWatcher(i,t){i!==t&&this.view&&(this.view.popupEnabled=i)}qualityProfileWatcher(i){this.view&&this.view.qualityProfile!==i&&(this.view.qualityProfile=i)}scaleWatcher(i,t){this.view&&this.view.stationary&&!this.view.interacting&&null!=i&&i!==t&&(this.view.scale=i)}spatialReferenceWatcher(i){this.view&&i&&!this.view.spatialReference.equals(i)&&(this.view.spatialReference=i)}themeWatcher(i){this.view&&(this.view.theme=i)}timeExtentWatcher(i){this.view&&(this.view.timeExtent=i)}viewingModeWatcher(i){this.view&&(this.view.viewingMode=i)}viewpointWatcher(i){this.view&&d(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view&&this.view.stationary&&!this.view.interacting&&i!==t&&l(i)&&(this.view.zoom=i)}async closePopup(){this.view?.closePopup()}async destroy(){this.destroyDisabled&&(this._clearWatchHandles(),this.view.destroy())}async goTo(i,t){return await(this.view?.goTo(i,t))}async hitTest(i,t){return await(this.view?.hitTest(i,t))}async openPopup(i){return await(this.view?.openPopup(i))}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await(this.view?.whenAnalysisView(i))}async whenLayerView(i){return await(this.view?.whenLayerView(i))}async componentWillLoad(){this.view||await this._loadMap()}componentDidRender(){this.view&&!this.view.container&&(this.view.container=this.el)}componentDidLoad(){this._proxyEvents()}disconnectedCallback(){this.destroy()}render(){return s("div",{class:"arcgis-scene",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await e();p(this,[i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary,this.interacting=this.view.interacting,this.navigating=this.view.navigating,this.arcgisViewChange.emit()}),{initial:!0}),t((()=>this.view.stationary),(()=>{this.camera=this.view.camera,this.center=this.view.center,this.extent=this.view.extent,this.scale=this.view.scale,this.viewpoint=this.view.viewpoint,this.zoom=this.view.zoom,this.spatialReference=this.view.spatialReference})),i((()=>this.view.allLayerViews),(()=>{this.allLayerViews=this.view.allLayerViews}),{initial:!0}),i((()=>this.view.analyses),(()=>{this.analyses=this.view.analyses}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.basemapView),(()=>{this.basemapView=this.view.basemapView}),{initial:!0}),i((()=>this.view.environment),(()=>{this.environment=this.view.environment}),{initial:!0}),i((()=>this.view.fatalError),(()=>{this.fatalError=this.view.fatalError}),{initial:!0}),i((()=>this.view.input.gamepad),(()=>{this.gamepad=this.view.input.gamepad}),{initial:!0}),i((()=>this.view.graphics),(()=>{this.graphics=this.view.graphics}),{initial:!0}),i((()=>this.view.map?.ground),(()=>{this.ground=this.view.map?.ground}),{initial:!0}),i((()=>this.view.groundView),(()=>{this.groundView=this.view.groundView}),{initial:!0}),i((()=>this.view.interacting),(()=>{this.interacting=this.view.interacting})),i((()=>this.view.navigating),(()=>{this.navigating=this.view.navigating})),i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary})),i((()=>this.view.layerViews),(()=>{this.layerViews=this.view.layerViews}),{initial:!0}),i((()=>this.view.navigation),(()=>{this.navigation=this.view.navigation}),{initial:!0}),i((()=>this.view.map),(()=>{this.map=this.view.map}),{initial:!0}),i((()=>this.view.performanceInfo),(()=>{this.performanceInfo=this.view.performanceInfo})),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.qualityProfile),(()=>{this.qualityProfile=this.view.qualityProfile}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{initial:!0}),i((()=>this.view.suspended),(()=>{this.suspended=this.view.suspended}),{initial:!0}),i((()=>this.view.updating),(()=>{this.updating=this.view.updating}),{initial:!0}),i((()=>this.view.ready),(()=>{this.ready=this.view.ready,this.arcgisViewReadyChange.emit()}),{initial:!0})])}async _createMap(){const i={};return this.itemId&&(i.portalItem=await this._createPortalItem()),this.basemap?i.basemap=this.basemap:o(this.itemId)&&(i.basemap="topo-vector"),this.ground?i.ground=this.ground:o(this.itemId)&&(i.ground="world-elevation"),await a(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return this.center&&(i.center="string"==typeof this.center?this.center.split(",").map((i=>Number(i))):this.center),this.constraints&&(i.constraints=this.constraints),this.extent&&(i.extent=this.extent),this.floors&&(i.floors=this.floors),this.graphics&&(i.graphics=this.graphics),this.highlightOptions&&(i.highlightOptions=this.highlightOptions),this.map&&(i.map=this.map),this.navigation&&(i.navigation=this.navigation),this.padding&&(i.padding=this.padding),this.popup&&(i.popup=this.popup),void 0!==this.popupEnabled&&(i.popupEnabled=this.popupEnabled),void 0!==this.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){const i=await this._createMap(),t=this._createViewParams(),s=await r({map:i,...t});this.view=s,s.when((async()=>{this.toMap=s.toMap.bind(s),this.toScreen=s.toScreen.bind(s),await this._addWatchers()}))}_proxyEvents(){p(this,[this.view.on("click",(i=>{this.arcgisViewClick.emit(i)})),this.view.on("double-click",(i=>{this.arcgisViewDoubleClick.emit(i)})),this.view.on("drag",(i=>{this.arcgisViewDrag.emit(i)})),this.view.on("hold",(i=>{this.arcgisViewHold.emit(i)})),this.view.on("immediate-click",(i=>{this.arcgisViewImmediateClick.emit(i)})),this.view.on("immediate-double-click",(i=>{this.arcgisViewImmediateDoubleClick.emit(i)})),this.view.on("key-down",(i=>{this.arcgisViewKeyDown.emit(i)})),this.view.on("key-up",(i=>{this.arcgisViewKeyUp.emit(i)})),this.view.on("layerview-create",(i=>{this.arcgisViewLayerviewCreate.emit(i)})),this.view.on("layerview-create-error",(i=>{this.arcgisViewLayerviewCreateError.emit(i)})),this.view.on("layerview-destroy",(i=>{this.arcgisViewLayerviewDestroy.emit(i)})),this.view.on("mouse-wheel",(i=>{this.arcgisViewMouseWheel.emit(i)})),this.view.on("pointer-down",(i=>{this.arcgisViewPointerDown.emit(i)})),this.view.on("pointer-enter",(i=>{this.arcgisViewPointerEnter.emit(i)})),this.view.on("pointer-leave",(i=>{this.arcgisViewPointerLeave.emit(i)})),this.view.on("pointer-move",(i=>{this.arcgisViewPointerMove.emit(i)})),this.view.on("pointer-up",(i=>{this.arcgisViewPointerUp.emit(i)}))])}async _updateMap(){if(this.view?.map){this.view.map.destroy();const i=await this._createMap();this.view.map=i}}get _hostElement(){return h(this)}static get watchers(){return{alphaCompositingEnabled:["alphaCompositingEnabledWatcher"],basemap:["basemapWatcher"],camera:["cameraWatcher"],center:["centerWatcher"],clippingArea:["clippingAreaWatcher"],constraints:["constraintsWatcher"],environment:["environmentWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],ground:["groundWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],qualityProfile:["qualityProfileWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],viewingMode:["viewingModeWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};v.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{v as arcgis_scene}
6
+ import{r as i,c as t,h as s,g as h}from"./p-bcfc3660.js";import{i as e,P as a,Q as r}from"./p-0252851d.js";import{i as o,e as n,f as c,b as d,g as l,a as p}from"./p-e55293fa.js";const v=class{constructor(s){i(this,s),this.arcgisViewReadyChange=t(this,"arcgisViewReadyChange",7),this.arcgisViewChange=t(this,"arcgisViewChange",7),this.arcgisViewClick=t(this,"arcgisViewClick",7),this.arcgisViewDoubleClick=t(this,"arcgisViewDoubleClick",7),this.arcgisViewDrag=t(this,"arcgisViewDrag",7),this.arcgisViewHold=t(this,"arcgisViewHold",7),this.arcgisViewImmediateClick=t(this,"arcgisViewImmediateClick",7),this.arcgisViewImmediateDoubleClick=t(this,"arcgisViewImmediateDoubleClick",7),this.arcgisViewKeyDown=t(this,"arcgisViewKeyDown",7),this.arcgisViewKeyUp=t(this,"arcgisViewKeyUp",7),this.arcgisViewLayerviewCreate=t(this,"arcgisViewLayerviewCreate",7),this.arcgisViewLayerviewCreateError=t(this,"arcgisViewLayerviewCreateError",7),this.arcgisViewLayerviewDestroy=t(this,"arcgisViewLayerviewDestroy",7),this.arcgisViewMouseWheel=t(this,"arcgisViewMouseWheel",7),this.arcgisViewPointerDown=t(this,"arcgisViewPointerDown",7),this.arcgisViewPointerEnter=t(this,"arcgisViewPointerEnter",7),this.arcgisViewPointerLeave=t(this,"arcgisViewPointerLeave",7),this.arcgisViewPointerMove=t(this,"arcgisViewPointerMove",7),this.arcgisViewPointerUp=t(this,"arcgisViewPointerUp",7),this._watchHandles=[],this.allLayerViews=void 0,this.alphaCompositingEnabled=!1,this.analyses=void 0,this.basemapView=void 0,this.basemap=void 0,this.camera=void 0,this.center=void 0,this.clippingArea=void 0,this.constraints=void 0,this.destroyDisabled=!1,this.environment=void 0,this.extent=void 0,this.fatalError=void 0,this.floors=void 0,this.gamepad=void 0,this.graphics=void 0,this.ground=void 0,this.groundView=void 0,this.highlightOptions=void 0,this.interacting=!1,this.itemId=void 0,this.layerViews=void 0,this.magnifier=void 0,this.map=void 0,this.navigating=!1,this.navigation=void 0,this.padding=void 0,this.performanceInfo=void 0,this.popup=void 0,this.popupEnabled=!0,this.qualityProfile=void 0,this.ready=!1,this.resolution=void 0,this.scale=void 0,this.spatialReference=void 0,this.stationary=void 0,this.suspended=!1,this.theme=void 0,this.timeExtent=void 0,this.toMap=void 0,this.toScreen=void 0,this.updating=!1,this.viewingMode="global",this.viewpoint=void 0,this.zoom=void 0,this.view=void 0}alphaCompositingEnabledWatcher(i){void 0!==i&&this.view&&(this.view.alphaCompositingEnabled=i)}basemapWatcher(i){("string"==typeof i&&this.view?.map&&!o(i)||this.view?.map)&&(this.view.map.basemap=i)}cameraWatcher(i){this.view&&i&&n(this.view.camera,i)&&(this.view.camera=i)}centerWatcher(i,t){if(i!==t&&this.view)if("string"==typeof i){const t=i.split(",").map((i=>Number(i)));t[0]!==this.view.center.longitude&&t[1]!==this.view.center.latitude&&(this.view.center=t)}else Array.isArray(i)?i[0]!==this.view.center.longitude&&i[1]!==this.view.center.latitude&&(this.view.center=i):this.view.center.equals(i)||(this.view.center=i)}clippingAreaWatcher(i){this.view&&i&&!this.view.clippingArea?.equals(i)&&(this.view.clippingArea=i)}constraintsWatcher(i){this.view&&(this.view.constraints=i)}environmentWatcher(i){this.view&&i&&c(this.view.environment,i)&&(this.view.environment=i)}extentWatcher(i){this.view&&i&&!this.view.extent.equals(i)&&(this.view.extent=i)}floorsWatcher(i){this.view&&(this.view.floors=i)}graphicsWatcher(i){this.view&&(this.view.graphics=i)}groundWatcher(i){this.view?.map&&!o(i)&&(this.view.map.ground=i)}highlightOptionsWatcher(i){this.view&&(this.view.highlightOptions=i)}itemIdWatcher(i,t){i!==t&&(this.view?.map?this._updateMap():this._loadMap())}mapWatcher(i){this.view&&(this.view.map=i)}navigationWatcher(i){this.view&&(this.view.navigation=i)}paddingWatcher(i){this.view&&(this.view.padding=i)}popupWatcher(i){this.view&&(this.view.popup=i)}popupEnabledWatcher(i,t){i!==t&&this.view&&(this.view.popupEnabled=i)}qualityProfileWatcher(i){this.view&&this.view.qualityProfile!==i&&(this.view.qualityProfile=i)}scaleWatcher(i,t){this.view&&this.view.stationary&&!this.view.interacting&&null!=i&&i!==t&&(this.view.scale=i)}spatialReferenceWatcher(i){this.view&&i&&!this.view.spatialReference.equals(i)&&(this.view.spatialReference=i)}themeWatcher(i){this.view&&(this.view.theme=i)}timeExtentWatcher(i){this.view&&(this.view.timeExtent=i)}viewingModeWatcher(i){this.view&&(this.view.viewingMode=i)}viewpointWatcher(i){this.view&&d(this.view.viewpoint,i)&&(this.view.viewpoint=i)}zoomWatcher(i,t){this.view&&this.view.stationary&&!this.view.interacting&&i!==t&&l(i)&&(this.view.zoom=i)}async closePopup(){this.view?.closePopup()}async destroy(){this.destroyDisabled&&(this._clearWatchHandles(),this.view.destroy())}async goTo(i,t){return await(this.view?.goTo(i,t))}async hitTest(i,t){return await(this.view?.hitTest(i,t))}async openPopup(i){return await(this.view?.openPopup(i))}async takeScreenshot(i){return await(this.view?.takeScreenshot(i))}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(i){return await(this.view?.whenAnalysisView(i))}async whenLayerView(i){return await(this.view?.whenLayerView(i))}async componentWillLoad(){this.view||await this._loadMap()}componentDidRender(){this.view&&!this.view.container&&(this.view.container=this.el)}componentDidLoad(){this._proxyEvents()}disconnectedCallback(){this.destroy()}render(){return s("div",{class:"arcgis-scene",ref:i=>this.el=i})}_clearWatchHandles(){this._watchHandles.forEach((i=>i.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:i,when:t}=await e();p(this,[i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary,this.interacting=this.view.interacting,this.navigating=this.view.navigating,this.arcgisViewChange.emit()}),{initial:!0}),t((()=>this.view.stationary),(()=>{this.camera=this.view.camera,this.center=this.view.center,this.extent=this.view.extent,this.scale=this.view.scale,this.viewpoint=this.view.viewpoint,this.zoom=this.view.zoom,this.spatialReference=this.view.spatialReference})),i((()=>this.view.allLayerViews),(()=>{this.allLayerViews=this.view.allLayerViews}),{initial:!0}),i((()=>this.view.analyses),(()=>{this.analyses=this.view.analyses}),{initial:!0}),i((()=>this.view.map?.basemap),(()=>{this.basemap=this.view.map?.basemap}),{initial:!0}),i((()=>this.view.basemapView),(()=>{this.basemapView=this.view.basemapView}),{initial:!0}),i((()=>this.view.environment),(()=>{this.environment=this.view.environment}),{initial:!0}),i((()=>this.view.fatalError),(()=>{this.fatalError=this.view.fatalError}),{initial:!0}),i((()=>this.view.input.gamepad),(()=>{this.gamepad=this.view.input.gamepad}),{initial:!0}),i((()=>this.view.graphics),(()=>{this.graphics=this.view.graphics}),{initial:!0}),i((()=>this.view.map?.ground),(()=>{this.ground=this.view.map?.ground}),{initial:!0}),i((()=>this.view.groundView),(()=>{this.groundView=this.view.groundView}),{initial:!0}),i((()=>this.view.interacting),(()=>{this.interacting=this.view.interacting})),i((()=>this.view.navigating),(()=>{this.navigating=this.view.navigating})),i((()=>this.view.stationary),(()=>{this.stationary=this.view.stationary})),i((()=>this.view.layerViews),(()=>{this.layerViews=this.view.layerViews}),{initial:!0}),i((()=>this.view.navigation),(()=>{this.navigation=this.view.navigation}),{initial:!0}),i((()=>this.view.map),(()=>{this.map=this.view.map}),{initial:!0}),i((()=>this.view.performanceInfo),(()=>{this.performanceInfo=this.view.performanceInfo})),i((()=>this.view.popup),(()=>{this.popup=this.view.popup}),{initial:!0}),i((()=>this.view.qualityProfile),(()=>{this.qualityProfile=this.view.qualityProfile}),{initial:!0}),i((()=>this.view.resolution),(()=>{this.resolution=this.view.resolution}),{initial:!0}),i((()=>this.view.suspended),(()=>{this.suspended=this.view.suspended}),{initial:!0}),i((()=>this.view.updating),(()=>{this.updating=this.view.updating}),{initial:!0}),i((()=>this.view.ready),(()=>{this.ready=this.view.ready,this.arcgisViewReadyChange.emit()}),{initial:!0})])}async _createMap(){const i={};return this.itemId&&(i.portalItem=await this._createPortalItem()),this.basemap?i.basemap=this.basemap:o(this.itemId)&&(i.basemap="topo-vector"),this.ground?i.ground=this.ground:o(this.itemId)&&(i.ground="world-elevation"),await a(i)}async _createPortalItem(){const i={};return this.itemId&&(i.id=this.itemId),i}_createViewParams(){const i={};return this.center&&(i.center="string"==typeof this.center?this.center.split(",").map((i=>Number(i))):this.center),this.constraints&&(i.constraints=this.constraints),this.extent&&(i.extent=this.extent),this.floors&&(i.floors=this.floors),this.graphics&&(i.graphics=this.graphics),this.highlightOptions&&(i.highlightOptions=this.highlightOptions),this.map&&(i.map=this.map),this.navigation&&(i.navigation=this.navigation),this.padding&&(i.padding=this.padding),this.popup&&(i.popup=this.popup),void 0!==this.popupEnabled&&(i.popupEnabled=this.popupEnabled),void 0!==this.scale&&(i.scale=this.scale),this.spatialReference&&(i.spatialReference=this.spatialReference),this.theme&&(i.theme=this.theme),this.timeExtent&&(i.timeExtent=this.timeExtent),this.viewpoint&&(i.viewpoint=this.viewpoint),void 0!==this.zoom&&(i.zoom=this.zoom),i}async _loadMap(){const i=await this._createMap(),t=this._createViewParams(),s=await r({map:i,...t});this.view=s,s.when((async()=>{this.toMap=s.toMap.bind(s),this.toScreen=s.toScreen.bind(s),await this._addWatchers()}))}_proxyEvents(){p(this,[this.view.on("click",(i=>{this.arcgisViewClick.emit(i)})),this.view.on("double-click",(i=>{this.arcgisViewDoubleClick.emit(i)})),this.view.on("drag",(i=>{this.arcgisViewDrag.emit(i)})),this.view.on("hold",(i=>{this.arcgisViewHold.emit(i)})),this.view.on("immediate-click",(i=>{this.arcgisViewImmediateClick.emit(i)})),this.view.on("immediate-double-click",(i=>{this.arcgisViewImmediateDoubleClick.emit(i)})),this.view.on("key-down",(i=>{this.arcgisViewKeyDown.emit(i)})),this.view.on("key-up",(i=>{this.arcgisViewKeyUp.emit(i)})),this.view.on("layerview-create",(i=>{this.arcgisViewLayerviewCreate.emit(i)})),this.view.on("layerview-create-error",(i=>{this.arcgisViewLayerviewCreateError.emit(i)})),this.view.on("layerview-destroy",(i=>{this.arcgisViewLayerviewDestroy.emit(i)})),this.view.on("mouse-wheel",(i=>{this.arcgisViewMouseWheel.emit(i)})),this.view.on("pointer-down",(i=>{this.arcgisViewPointerDown.emit(i)})),this.view.on("pointer-enter",(i=>{this.arcgisViewPointerEnter.emit(i)})),this.view.on("pointer-leave",(i=>{this.arcgisViewPointerLeave.emit(i)})),this.view.on("pointer-move",(i=>{this.arcgisViewPointerMove.emit(i)})),this.view.on("pointer-up",(i=>{this.arcgisViewPointerUp.emit(i)}))])}async _updateMap(){if(this.view?.map){this.view.map.destroy();const i=await this._createMap();this.view.map=i}}get _hostElement(){return h(this)}static get watchers(){return{alphaCompositingEnabled:["alphaCompositingEnabledWatcher"],basemap:["basemapWatcher"],camera:["cameraWatcher"],center:["centerWatcher"],clippingArea:["clippingAreaWatcher"],constraints:["constraintsWatcher"],environment:["environmentWatcher"],extent:["extentWatcher"],floors:["floorsWatcher"],graphics:["graphicsWatcher"],ground:["groundWatcher"],highlightOptions:["highlightOptionsWatcher"],itemId:["itemIdWatcher"],map:["mapWatcher"],navigation:["navigationWatcher"],padding:["paddingWatcher"],popup:["popupWatcher"],popupEnabled:["popupEnabledWatcher"],qualityProfile:["qualityProfileWatcher"],scale:["scaleWatcher"],spatialReference:["spatialReferenceWatcher"],theme:["themeWatcher"],timeExtent:["timeExtentWatcher"],viewingMode:["viewingModeWatcher"],viewpoint:["viewpointWatcher"],zoom:["zoomWatcher"]}}};v.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{v as arcgis_scene}
@@ -1,6 +1,6 @@
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.3
4
+ * v4.29.5
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-e71125e1.js";import{M as h,i as a}from"./p-b8864b7b.js";import{r,c as o,a as c}from"./p-19785e15.js";import{o as l}from"./p-606f55b9.js";const n=class{constructor(s){t(this,s),this.arcgisPrintReady=i(this,"arcgisPrintReady",7),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this._watchHandles=[],this.referenceElement=void 0,this.allowedFormats="all",this.allowedLayouts="all",this.exportedLinks=void 0,this.extraParameters=void 0,this.icon=void 0,this.includeDefaultTemplates=!0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}allowedFormatsWatcher(t){this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){this.widget&&(this.widget.extraParameters=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}includeDefaultTemplatesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){this.widget&&(this.widget.templateOptions=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._proxyEvents(),this._addContainer(),this.arcgisPrintReady.emit(),o(this)}disconnectedCallback(){l(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.exportedLinks),(t=>this.exportedLinks=t),{initial:!0}))}_createParams(){const t={};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.extraParameters&&(t.extraParameters=this.extraParameters),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.includeDefaultTemplates&&(t.includeDefaultTemplates=this.includeDefaultTemplates),this.portal&&(t.portal=this.portal),this.printServiceUrl&&(t.printServiceUrl=this.printServiceUrl),this.templateCustomTextElements&&(t.templateCustomTextElements=this.templateCustomTextElements),this.templateOptions&&(t.templateOptions=this.templateOptions),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],icon:["iconWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_print}
6
+ import{r as t,c as i,h as s,g as e}from"./p-bcfc3660.js";import{M as h,i as a}from"./p-0252851d.js";import{r,c as o,a as c}from"./p-e55293fa.js";import{o as l}from"./p-3a7f7352.js";const n=class{constructor(s){t(this,s),this.arcgisPrintReady=i(this,"arcgisPrintReady",7),this.printComplete=i(this,"printComplete",7),this.printSubmit=i(this,"printSubmit",7),this._watchHandles=[],this.referenceElement=void 0,this.allowedFormats="all",this.allowedLayouts="all",this.exportedLinks=void 0,this.extraParameters=void 0,this.icon=void 0,this.includeDefaultTemplates=!0,this.portal=void 0,this.printServiceUrl=void 0,this.templateCustomTextElements=void 0,this.templateOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}allowedFormatsWatcher(t){this.widget&&(this.widget.allowedFormats=t.split(","))}allowedLayoutsWatcher(t){this.widget&&(this.widget.allowedLayouts=t.split(","))}extraParametersWatcher(t){this.widget&&(this.widget.extraParameters=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}includeDefaultTemplatesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultTemplates=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}printServiceUrlWatcher(t){this.widget&&(this.widget.printServiceUrl=t)}templateCustomTextElementsWatcher(t){this.widget&&(this.widget.templateCustomTextElements=t)}templateOptionsWatcher(t){this.widget&&(this.widget.templateOptions=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._proxyEvents(),this._addContainer(),this.arcgisPrintReady.emit(),o(this)}disconnectedCallback(){l(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.exportedLinks),(t=>this.exportedLinks=t),{initial:!0}))}_createParams(){const t={};return this.allowedFormats&&(t.allowedFormats=this.allowedFormats),this.allowedLayouts&&(t.allowedLayouts=this.allowedLayouts),this.extraParameters&&(t.extraParameters=this.extraParameters),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),void 0!==this.includeDefaultTemplates&&(t.includeDefaultTemplates=this.includeDefaultTemplates),this.portal&&(t.portal=this.portal),this.printServiceUrl&&(t.printServiceUrl=this.printServiceUrl),this.templateCustomTextElements&&(t.templateCustomTextElements=this.templateCustomTextElements),this.templateOptions&&(t.templateOptions=this.templateOptions),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("complete",(t=>this.printComplete.emit(t))),this.widget.on("submit",(t=>this.printSubmit.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedFormats:["allowedFormatsWatcher"],allowedLayouts:["allowedLayoutsWatcher"],extraParameters:["extraParametersWatcher"],icon:["iconWatcher"],includeDefaultTemplates:["includeDefaultTemplatesWatcher"],portal:["portalWatcher"],printServiceUrl:["printServiceUrlWatcher"],templateCustomTextElements:["templateCustomTextElementsWatcher"],templateOptions:["templateOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_print}