@arcgis/map-components 4.29.1 → 4.30.0-next.0

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 (268) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +3 -3
  2. package/dist/arcgis-map-components/index.esm.js +2 -2
  3. package/dist/arcgis-map-components/{p-e54e0ed6.js → p-0700d3a0.js} +2 -2
  4. package/dist/arcgis-map-components/{p-98ea2d14.entry.js → p-0ae93962.entry.js} +3 -3
  5. package/dist/arcgis-map-components/{p-fcd46d6c.entry.js → p-12996569.entry.js} +3 -3
  6. package/dist/arcgis-map-components/{p-a2810d24.entry.js → p-1c77c688.entry.js} +3 -3
  7. package/dist/arcgis-map-components/{p-829c2fd5.entry.js → p-23019762.entry.js} +3 -3
  8. package/dist/arcgis-map-components/{p-0b3b67a3.entry.js → p-25c223e1.entry.js} +3 -3
  9. package/dist/arcgis-map-components/{p-9eeb438b.entry.js → p-25e495f9.entry.js} +3 -3
  10. package/dist/arcgis-map-components/{p-f4f4576c.entry.js → p-26dc7c9b.entry.js} +3 -3
  11. package/dist/arcgis-map-components/{p-8005a849.entry.js → p-30300164.entry.js} +3 -3
  12. package/dist/arcgis-map-components/{p-f3ec019d.entry.js → p-32fe7b64.entry.js} +3 -3
  13. package/dist/arcgis-map-components/{p-ec00f5a4.entry.js → p-43d5a498.entry.js} +3 -3
  14. package/dist/arcgis-map-components/{p-69a57981.entry.js → p-47625a50.entry.js} +3 -3
  15. package/dist/arcgis-map-components/{p-96cebd34.entry.js → p-4a944613.entry.js} +3 -3
  16. package/dist/arcgis-map-components/{p-847a0241.entry.js → p-4d1f49e0.entry.js} +3 -3
  17. package/dist/arcgis-map-components/p-5180a9b2.entry.js +6 -0
  18. package/dist/arcgis-map-components/{p-245670e5.entry.js → p-52891360.entry.js} +3 -3
  19. package/dist/arcgis-map-components/{p-49cd4129.entry.js → p-5e069e98.entry.js} +3 -3
  20. package/dist/arcgis-map-components/{p-31f990a3.entry.js → p-6251bf12.entry.js} +3 -3
  21. package/dist/arcgis-map-components/{p-d20bc81e.entry.js → p-741daf71.entry.js} +3 -3
  22. package/dist/arcgis-map-components/{p-dcef19f5.entry.js → p-76dd8345.entry.js} +3 -3
  23. package/dist/arcgis-map-components/p-7a385e15.entry.js +6 -0
  24. package/dist/arcgis-map-components/{p-7e428864.entry.js → p-8006c481.entry.js} +3 -3
  25. package/dist/arcgis-map-components/{p-eadbee7b.entry.js → p-86efcded.entry.js} +3 -3
  26. package/dist/arcgis-map-components/{p-36f1eda9.entry.js → p-8732eaf2.entry.js} +3 -3
  27. package/dist/arcgis-map-components/{p-57617fda.entry.js → p-8771aae5.entry.js} +3 -3
  28. package/dist/arcgis-map-components/{p-c7d3618a.entry.js → p-882d7747.entry.js} +3 -3
  29. package/dist/arcgis-map-components/{p-ebf15b55.entry.js → p-889625b0.entry.js} +3 -3
  30. package/dist/arcgis-map-components/{p-a4ffe004.entry.js → p-8c98b8d3.entry.js} +3 -3
  31. package/dist/arcgis-map-components/{p-f36b2528.entry.js → p-8dfc9cf6.entry.js} +3 -3
  32. package/dist/arcgis-map-components/{p-18b4f16b.entry.js → p-8fd8e30f.entry.js} +3 -3
  33. package/dist/arcgis-map-components/{p-6857cae8.entry.js → p-90759626.entry.js} +3 -3
  34. package/dist/arcgis-map-components/{p-17a60724.entry.js → p-9574b6f5.entry.js} +3 -3
  35. package/dist/arcgis-map-components/{p-039baf38.entry.js → p-9a67aea3.entry.js} +3 -3
  36. package/dist/arcgis-map-components/{p-bd74a698.entry.js → p-a7b8b73f.entry.js} +3 -3
  37. package/dist/arcgis-map-components/{p-485f4ed8.entry.js → p-b05b6605.entry.js} +3 -3
  38. package/dist/arcgis-map-components/{p-0abcc5ac.entry.js → p-b126db10.entry.js} +3 -3
  39. package/dist/arcgis-map-components/{p-89f51d89.entry.js → p-b17fb0f6.entry.js} +3 -3
  40. package/dist/arcgis-map-components/p-c5954fc6.entry.js +6 -0
  41. package/dist/arcgis-map-components/{p-d2926040.entry.js → p-d05413e0.entry.js} +3 -3
  42. package/dist/arcgis-map-components/{p-bba99662.entry.js → p-d21cf3c7.entry.js} +3 -3
  43. package/dist/arcgis-map-components/{p-08b9f923.js → p-d2249660.js} +2 -2
  44. package/dist/arcgis-map-components/{p-85aedc91.entry.js → p-d8d56dce.entry.js} +3 -3
  45. package/dist/arcgis-map-components/{p-af72e854.js → p-d9a19770.js} +2 -2
  46. package/dist/arcgis-map-components/{p-a363a265.entry.js → p-d9ee6266.entry.js} +3 -3
  47. package/dist/arcgis-map-components/{p-1e97149f.entry.js → p-db7e1bfd.entry.js} +3 -3
  48. package/dist/arcgis-map-components/{p-0b1a6dd8.entry.js → p-dfc37886.entry.js} +3 -3
  49. package/dist/arcgis-map-components/{p-9eb147de.entry.js → p-e1091a31.entry.js} +3 -3
  50. package/dist/arcgis-map-components/{p-3f4864a1.entry.js → p-e28fd844.entry.js} +3 -3
  51. package/dist/arcgis-map-components/{p-a38cad5d.entry.js → p-e408573f.entry.js} +3 -3
  52. package/dist/arcgis-map-components/{p-b19122c2.entry.js → p-e6c29e63.entry.js} +3 -3
  53. package/dist/arcgis-map-components/{p-c9dbdf48.entry.js → p-e811953d.entry.js} +3 -3
  54. package/dist/arcgis-map-components/{p-667d6cbe.entry.js → p-e92ea069.entry.js} +3 -3
  55. package/dist/arcgis-map-components/{p-2dfe81bd.entry.js → p-ef56bb4d.entry.js} +3 -3
  56. package/dist/arcgis-map-components/{p-cf115433.js → p-f233b76c.js} +2 -2
  57. package/dist/arcgis-map-components/{p-706e47f7.entry.js → p-f4d58504.entry.js} +3 -3
  58. package/dist/arcgis-map-components/{p-904be69a.entry.js → p-f61fa8a5.entry.js} +3 -3
  59. package/dist/arcgis-map-components/{p-70b18b2f.entry.js → p-f7e9fda9.entry.js} +3 -3
  60. package/dist/arcgis-map-components/{p-04d44c0f.entry.js → p-fbb5c5f6.entry.js} +3 -3
  61. package/dist/arcgis-map-components/{p-8c4bb3ac.entry.js → p-fbffd7df.entry.js} +3 -3
  62. package/dist/arcgis-map-components/{p-25b051db.entry.js → p-fe3ee617.entry.js} +3 -3
  63. package/dist/arcgis-map-components/{p-f58188aa.entry.js → p-ff0e6255.entry.js} +3 -3
  64. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +6 -6
  65. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +6 -6
  66. package/dist/cjs/arcgis-attachments.cjs.entry.js +6 -6
  67. package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +6 -6
  68. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +6 -6
  69. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +6 -6
  70. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +6 -6
  71. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +6 -6
  72. package/dist/cjs/arcgis-compass.cjs.entry.js +6 -6
  73. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +6 -6
  74. package/dist/cjs/arcgis-daylight.cjs.entry.js +6 -6
  75. package/dist/cjs/arcgis-directional-pad.cjs.entry.js +6 -6
  76. package/dist/cjs/arcgis-directions.cjs.entry.js +6 -6
  77. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +6 -6
  78. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +6 -6
  79. package/dist/cjs/arcgis-editor.cjs.entry.js +6 -6
  80. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +6 -6
  81. package/dist/cjs/arcgis-expand.cjs.entry.js +6 -6
  82. package/dist/cjs/arcgis-feature-form.cjs.entry.js +6 -6
  83. package/dist/cjs/arcgis-feature-table.cjs.entry.js +6 -6
  84. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +6 -6
  85. package/dist/cjs/arcgis-feature.cjs.entry.js +6 -6
  86. package/dist/cjs/arcgis-features.cjs.entry.js +6 -6
  87. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +6 -6
  88. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +6 -6
  89. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +6 -6
  90. package/dist/cjs/arcgis-histogram.cjs.entry.js +5 -5
  91. package/dist/cjs/arcgis-home.cjs.entry.js +6 -6
  92. package/dist/cjs/arcgis-layer-list.cjs.entry.js +6 -6
  93. package/dist/cjs/arcgis-legend.cjs.entry.js +6 -6
  94. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +6 -6
  95. package/dist/cjs/arcgis-locate.cjs.entry.js +6 -6
  96. package/dist/cjs/arcgis-map-components.cjs.js +3 -3
  97. package/dist/cjs/arcgis-measurement.cjs.entry.js +6 -6
  98. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +6 -6
  99. package/dist/cjs/arcgis-placement.cjs.entry.js +5 -5
  100. package/dist/cjs/arcgis-print.cjs.entry.js +6 -6
  101. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +6 -6
  102. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +6 -6
  103. package/dist/cjs/arcgis-scene.cjs.entry.js +5 -5
  104. package/dist/cjs/arcgis-search.cjs.entry.js +6 -6
  105. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +6 -6
  106. package/dist/cjs/arcgis-sketch.cjs.entry.js +6 -6
  107. package/dist/cjs/arcgis-slice.cjs.entry.js +6 -6
  108. package/dist/cjs/arcgis-slider.cjs.entry.js +6 -6
  109. package/dist/cjs/arcgis-swipe.cjs.entry.js +6 -6
  110. package/dist/cjs/arcgis-table-list.cjs.entry.js +6 -6
  111. package/dist/cjs/arcgis-time-slider.cjs.entry.js +6 -6
  112. package/dist/cjs/arcgis-track.cjs.entry.js +6 -6
  113. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +6 -6
  114. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +6 -6
  115. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +6 -6
  116. package/dist/cjs/arcgis-value-picker.cjs.entry.js +6 -6
  117. package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +4 -4
  118. package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +4 -4
  119. package/dist/cjs/arcgis-version-management.cjs.entry.js +4 -4
  120. package/dist/cjs/arcgis-weather.cjs.entry.js +6 -6
  121. package/dist/cjs/arcgis-zoom.cjs.entry.js +6 -6
  122. package/dist/cjs/{component-utils-e131f0db.js → component-utils-0d50aa15.js} +2 -2
  123. package/dist/cjs/{disconnected-ee64795e.js → disconnected-2c764d2f.js} +2 -2
  124. package/dist/cjs/{index-653a4c1d.js → index-1f08334f.js} +2 -2
  125. package/dist/cjs/{index-a4132fa9.js → index-e56d0dbb.js} +2 -2
  126. package/dist/cjs/index.cjs.js +2 -2
  127. package/dist/cjs/loader.cjs.js +3 -3
  128. package/dist/components/arcgis-area-measurement-2d.js +2 -2
  129. package/dist/components/arcgis-area-measurement-3d.js +2 -2
  130. package/dist/components/arcgis-attachments.js +2 -2
  131. package/dist/components/arcgis-basemap-gallery.js +2 -2
  132. package/dist/components/arcgis-basemap-layer-list.js +2 -2
  133. package/dist/components/arcgis-basemap-toggle.js +2 -2
  134. package/dist/components/arcgis-bookmarks.js +2 -2
  135. package/dist/components/arcgis-building-explorer.js +2 -2
  136. package/dist/components/arcgis-compass.js +2 -2
  137. package/dist/components/arcgis-coordinate-conversion.js +2 -2
  138. package/dist/components/arcgis-daylight.js +2 -2
  139. package/dist/components/arcgis-directional-pad.js +2 -2
  140. package/dist/components/arcgis-directions.js +2 -2
  141. package/dist/components/arcgis-directline-measurement-3d.js +2 -2
  142. package/dist/components/arcgis-distance-measurement-2d.js +2 -2
  143. package/dist/components/arcgis-editor.js +2 -2
  144. package/dist/components/arcgis-elevation-profile.js +2 -2
  145. package/dist/components/arcgis-expand.js +2 -2
  146. package/dist/components/arcgis-feature-form.js +2 -2
  147. package/dist/components/arcgis-feature-table.js +2 -2
  148. package/dist/components/arcgis-feature-templates.js +2 -2
  149. package/dist/components/arcgis-feature.js +2 -2
  150. package/dist/components/arcgis-features.js +2 -2
  151. package/dist/components/arcgis-floor-filter.js +2 -2
  152. package/dist/components/arcgis-fullscreen.js +2 -2
  153. package/dist/components/arcgis-histogram-range-slider.js +2 -2
  154. package/dist/components/arcgis-histogram.js +2 -2
  155. package/dist/components/arcgis-home.js +2 -2
  156. package/dist/components/arcgis-layer-list.js +2 -2
  157. package/dist/components/arcgis-legend.js +2 -2
  158. package/dist/components/arcgis-line-of-sight.js +2 -2
  159. package/dist/components/arcgis-locate.js +2 -2
  160. package/dist/components/arcgis-map.js +2 -2
  161. package/dist/components/arcgis-measurement.js +2 -2
  162. package/dist/components/arcgis-navigation-toggle.js +2 -2
  163. package/dist/components/arcgis-placement.js +2 -2
  164. package/dist/components/arcgis-print.js +2 -2
  165. package/dist/components/arcgis-scale-bar.js +2 -2
  166. package/dist/components/arcgis-scale-range-slider.js +2 -2
  167. package/dist/components/arcgis-scene.js +2 -2
  168. package/dist/components/arcgis-search.js +2 -2
  169. package/dist/components/arcgis-shadow-cast.js +2 -2
  170. package/dist/components/arcgis-sketch.js +2 -2
  171. package/dist/components/arcgis-slice.js +2 -2
  172. package/dist/components/arcgis-slider.js +2 -2
  173. package/dist/components/arcgis-swipe.js +2 -2
  174. package/dist/components/arcgis-table-list.js +2 -2
  175. package/dist/components/arcgis-time-slider.js +2 -2
  176. package/dist/components/arcgis-track.js +2 -2
  177. package/dist/components/arcgis-utility-network-associations.js +2 -2
  178. package/dist/components/arcgis-utility-network-trace.js +2 -2
  179. package/dist/components/arcgis-utility-network-validate-topology.js +2 -2
  180. package/dist/components/arcgis-value-picker.js +2 -2
  181. package/dist/components/arcgis-version-management-service-item.js +2 -2
  182. package/dist/components/arcgis-version-management-version-item.js +2 -2
  183. package/dist/components/arcgis-version-management-version-list.js +2 -2
  184. package/dist/components/arcgis-version-management-version-properties.js +2 -2
  185. package/dist/components/arcgis-version-management.js +2 -2
  186. package/dist/components/arcgis-weather.js +2 -2
  187. package/dist/components/arcgis-zoom.js +2 -2
  188. package/dist/components/component-utils.js +2 -2
  189. package/dist/components/disconnected.js +2 -2
  190. package/dist/components/expand.js +2 -2
  191. package/dist/components/index.js +2 -2
  192. package/dist/components/index2.js +2 -2
  193. package/dist/components/version-management-service-item.js +2 -2
  194. package/dist/components/version-management-version-item.js +2 -2
  195. package/dist/components/version-management-version-list.js +2 -2
  196. package/dist/components/version-management-version-properties.js +2 -2
  197. package/dist/esm/arcgis-area-measurement-2d.entry.js +6 -6
  198. package/dist/esm/arcgis-area-measurement-3d.entry.js +6 -6
  199. package/dist/esm/arcgis-attachments.entry.js +6 -6
  200. package/dist/esm/arcgis-basemap-gallery_2.entry.js +6 -6
  201. package/dist/esm/arcgis-basemap-layer-list.entry.js +6 -6
  202. package/dist/esm/arcgis-basemap-toggle.entry.js +6 -6
  203. package/dist/esm/arcgis-bookmarks.entry.js +6 -6
  204. package/dist/esm/arcgis-building-explorer.entry.js +6 -6
  205. package/dist/esm/arcgis-compass.entry.js +6 -6
  206. package/dist/esm/arcgis-coordinate-conversion.entry.js +6 -6
  207. package/dist/esm/arcgis-daylight.entry.js +6 -6
  208. package/dist/esm/arcgis-directional-pad.entry.js +6 -6
  209. package/dist/esm/arcgis-directions.entry.js +6 -6
  210. package/dist/esm/arcgis-directline-measurement-3d.entry.js +6 -6
  211. package/dist/esm/arcgis-distance-measurement-2d.entry.js +6 -6
  212. package/dist/esm/arcgis-editor.entry.js +6 -6
  213. package/dist/esm/arcgis-elevation-profile.entry.js +6 -6
  214. package/dist/esm/arcgis-expand.entry.js +6 -6
  215. package/dist/esm/arcgis-feature-form.entry.js +6 -6
  216. package/dist/esm/arcgis-feature-table.entry.js +6 -6
  217. package/dist/esm/arcgis-feature-templates.entry.js +6 -6
  218. package/dist/esm/arcgis-feature.entry.js +6 -6
  219. package/dist/esm/arcgis-features.entry.js +6 -6
  220. package/dist/esm/arcgis-floor-filter.entry.js +6 -6
  221. package/dist/esm/arcgis-fullscreen.entry.js +6 -6
  222. package/dist/esm/arcgis-histogram-range-slider.entry.js +6 -6
  223. package/dist/esm/arcgis-histogram.entry.js +5 -5
  224. package/dist/esm/arcgis-home.entry.js +6 -6
  225. package/dist/esm/arcgis-layer-list.entry.js +6 -6
  226. package/dist/esm/arcgis-legend.entry.js +6 -6
  227. package/dist/esm/arcgis-line-of-sight.entry.js +6 -6
  228. package/dist/esm/arcgis-locate.entry.js +6 -6
  229. package/dist/esm/arcgis-map-components.js +4 -4
  230. package/dist/esm/arcgis-measurement.entry.js +6 -6
  231. package/dist/esm/arcgis-navigation-toggle.entry.js +6 -6
  232. package/dist/esm/arcgis-placement.entry.js +5 -5
  233. package/dist/esm/arcgis-print.entry.js +6 -6
  234. package/dist/esm/arcgis-scale-bar.entry.js +6 -6
  235. package/dist/esm/arcgis-scale-range-slider.entry.js +6 -6
  236. package/dist/esm/arcgis-scene.entry.js +5 -5
  237. package/dist/esm/arcgis-search.entry.js +6 -6
  238. package/dist/esm/arcgis-shadow-cast.entry.js +6 -6
  239. package/dist/esm/arcgis-sketch.entry.js +6 -6
  240. package/dist/esm/arcgis-slice.entry.js +6 -6
  241. package/dist/esm/arcgis-slider.entry.js +6 -6
  242. package/dist/esm/arcgis-swipe.entry.js +6 -6
  243. package/dist/esm/arcgis-table-list.entry.js +6 -6
  244. package/dist/esm/arcgis-time-slider.entry.js +6 -6
  245. package/dist/esm/arcgis-track.entry.js +6 -6
  246. package/dist/esm/arcgis-utility-network-associations.entry.js +6 -6
  247. package/dist/esm/arcgis-utility-network-trace.entry.js +6 -6
  248. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +6 -6
  249. package/dist/esm/arcgis-value-picker.entry.js +6 -6
  250. package/dist/esm/arcgis-version-management-service-item_2.entry.js +4 -4
  251. package/dist/esm/arcgis-version-management-version-item_2.entry.js +4 -4
  252. package/dist/esm/arcgis-version-management.entry.js +4 -4
  253. package/dist/esm/arcgis-weather.entry.js +6 -6
  254. package/dist/esm/arcgis-zoom.entry.js +6 -6
  255. package/dist/esm/{component-utils-a1b18b71.js → component-utils-30a85514.js} +2 -2
  256. package/dist/esm/{disconnected-a67fc7e0.js → disconnected-af09b2b8.js} +2 -2
  257. package/dist/esm/{index-508eea52.js → index-70e6e7ee.js} +2 -2
  258. package/dist/esm/{index-afe1b299.js → index-89efa25e.js} +2 -2
  259. package/dist/esm/index.js +2 -2
  260. package/dist/esm/loader.js +4 -4
  261. package/dist/loader/cdn.js +2 -2
  262. package/dist/loader/index.cjs.js +2 -2
  263. package/dist/loader/index.es2017.js +2 -2
  264. package/dist/loader/index.js +2 -2
  265. package/package.json +9 -9
  266. package/dist/arcgis-map-components/p-299f159d.entry.js +0 -6
  267. package/dist/arcgis-map-components/p-429499f5.entry.js +0 -6
  268. package/dist/arcgis-map-components/p-557c9111.entry.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{h,i as a}from"./p-08b9f923.js";import{r as o,c as l,a as r}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const c=class{constructor(s){t(this,s),this.arcgisBookmarksReady=i(this,"arcgisBookmarksReady",7),this.bookmarkEdit=i(this,"bookmarkEdit",7),this.bookmarkSelect=i(this,"bookmarkSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.bookmarks=void 0,this.defaultCreateOptions=void 0,this.defaultEditOptions=void 0,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.icon=void 0,this.visibleElementsAddBookmarkButton=!1,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsEditBookmarkButton=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsThumbnail=!0,this.visibleElementsTime=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}bookmarksWatcher(t){void 0!==t&&this.widget&&(this.widget.bookmarks=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultEditOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultEditOptions=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}dragEnabledWatcher(t){this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}visibleElementsAddBookmarkButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,addBookmarkButton: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})}visibleElementsEditBookmarkButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editBookmarkButton: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,heading:t})}visibleElementsThumbnailWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,thumbnail:t})}visibleElementsTimeWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,time: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.arcgisBookmarksReady.emit(),l(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();r(this,[t((()=>this.widget.disabled),(t=>this.disabled=t))])}_createParams(){const t={};return t.visibleElements={addBookmarkButton:this.visibleElementsAddBookmarkButton,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,editBookmarkButton:this.visibleElementsEditBookmarkButton,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,thumbnail:this.visibleElementsThumbnail,time:this.visibleElementsTime},this.view&&(t.view=this.view),this.bookmarks&&(t.bookmarks=this.bookmarks),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultEditOptions&&(t.defaultEditOptions=this.defaultEditOptions),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),t}_proxyEvents(){this.widget.on("bookmark-edit",(t=>this.bookmarkEdit.emit(t))),this.widget.on("bookmark-select",(t=>this.bookmarkSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],bookmarks:["bookmarksWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultEditOptions:["defaultEditOptionsWatcher"],disabled:["disabledWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],visibleElementsAddBookmarkButton:["visibleElementsAddBookmarkButtonWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsEditBookmarkButton:["visibleElementsEditBookmarkButtonWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsThumbnail:["visibleElementsThumbnailWatcher"],visibleElementsTime:["visibleElementsTimeWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_bookmarks}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{h,i as a}from"./p-d2249660.js";import{r as o,c as l,a as r}from"./p-d9a19770.js";import{o as n}from"./p-0700d3a0.js";const c=class{constructor(s){t(this,s),this.arcgisBookmarksReady=i(this,"arcgisBookmarksReady",7),this.bookmarkEdit=i(this,"bookmarkEdit",7),this.bookmarkSelect=i(this,"bookmarkSelect",7),this._watchHandles=[],this.referenceElement=void 0,this.bookmarks=void 0,this.defaultCreateOptions=void 0,this.defaultEditOptions=void 0,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.icon=void 0,this.visibleElementsAddBookmarkButton=!1,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsEditBookmarkButton=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsThumbnail=!0,this.visibleElementsTime=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}bookmarksWatcher(t){void 0!==t&&this.widget&&(this.widget.bookmarks=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultEditOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultEditOptions=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}dragEnabledWatcher(t){this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}visibleElementsAddBookmarkButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,addBookmarkButton: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})}visibleElementsEditBookmarkButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editBookmarkButton: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,heading:t})}visibleElementsThumbnailWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,thumbnail:t})}visibleElementsTimeWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,time: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.arcgisBookmarksReady.emit(),l(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();r(this,[t((()=>this.widget.disabled),(t=>this.disabled=t))])}_createParams(){const t={};return t.visibleElements={addBookmarkButton:this.visibleElementsAddBookmarkButton,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,editBookmarkButton:this.visibleElementsEditBookmarkButton,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,thumbnail:this.visibleElementsThumbnail,time:this.visibleElementsTime},this.view&&(t.view=this.view),this.bookmarks&&(t.bookmarks=this.bookmarks),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultEditOptions&&(t.defaultEditOptions=this.defaultEditOptions),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),t}_proxyEvents(){this.widget.on("bookmark-edit",(t=>this.bookmarkEdit.emit(t))),this.widget.on("bookmark-select",(t=>this.bookmarkSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],bookmarks:["bookmarksWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultEditOptions:["defaultEditOptionsWatcher"],disabled:["disabledWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],visibleElementsAddBookmarkButton:["visibleElementsAddBookmarkButtonWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsEditBookmarkButton:["visibleElementsEditBookmarkButtonWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsThumbnail:["visibleElementsThumbnailWatcher"],visibleElementsTime:["visibleElementsTimeWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_bookmarks}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{G as h,i as r}from"./p-08b9f923.js";import{r as a,c as l,a as n}from"./p-af72e854.js";import{o}from"./p-e54e0ed6.js";const c=class{constructor(s){t(this,s),this.arcgisLayerListReady=i(this,"arcgisLayerListReady",7),this.layerListTriggerAction=i(this,"layerListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.icon=void 0,this.listItemCreatedFunction=void 0,this.minDragEnabledItems=2,this.minFilterItems=10,this.selectedItems=void 0,this.selectionMode="none",this.visibilityAppearance="default",this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryLayerIndicators=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}collapsedWatcher(t){void 0!==t&&this.widget&&(this.widget.collapsed=t)}dragEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}listItemCreatedFunctionWatcher(t){this.widget&&(this.widget.listItemCreatedFunction=t)}minDragEnabledItemsWatcher(t){this.widget&&(this.widget.minDragEnabledItems=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibilityAppearanceWatcher(t){this.widget&&(this.widget.visibilityAppearance=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})}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,heading: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})}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 triggerAction(t,i){this.widget?.triggerAction(t,i)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.arcgisLayerListReady.emit(),l(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();n(this,t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return t.visibleElements={closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,statusIndicators:this.visibleElementsStatusIndicators,temporaryLayerIndicators:this.visibleElementsTemporaryLayerIndicators},void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon),this.listItemCreatedFunction&&(t.listItemCreatedFunction=this.listItemCreatedFunction),void 0!==this.minDragEnabledItems&&(t.minDragEnabledItems=this.minDragEnabledItems),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.selectedItems&&(t.selectedItems=this.selectedItems),this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibilityAppearance&&(t.visibilityAppearance=this.visibilityAppearance),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.layerListTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],listItemCreatedFunction:["listItemCreatedFunctionWatcher"],minDragEnabledItems:["minDragEnabledItemsWatcher"],minFilterItems:["minFilterItemsWatcher"],selectionMode:["selectionModeWatcher"],visibilityAppearance:["visibilityAppearanceWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryLayerIndicators:["visibleElementsTemporaryLayerIndicatorsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_layer_list}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{G as h,i as r}from"./p-d2249660.js";import{r as a,c as l,a as n}from"./p-d9a19770.js";import{o}from"./p-0700d3a0.js";const c=class{constructor(s){t(this,s),this.arcgisLayerListReady=i(this,"arcgisLayerListReady",7),this.layerListTriggerAction=i(this,"layerListTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.icon=void 0,this.listItemCreatedFunction=void 0,this.minDragEnabledItems=2,this.minFilterItems=10,this.selectedItems=void 0,this.selectionMode="none",this.visibilityAppearance="default",this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryLayerIndicators=!1,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){a(this,t)}collapsedWatcher(t){void 0!==t&&this.widget&&(this.widget.collapsed=t)}dragEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.dragEnabled=t)}filterPlaceholderWatcher(t){this.widget&&(this.widget.filterPlaceholder=t)}filterTextWatcher(t){this.widget&&(this.widget.filterText=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}listItemCreatedFunctionWatcher(t){this.widget&&(this.widget.listItemCreatedFunction=t)}minDragEnabledItemsWatcher(t){this.widget&&(this.widget.minDragEnabledItems=t)}minFilterItemsWatcher(t){this.widget&&(this.widget.minFilterItems=t)}selectionModeWatcher(t){this.widget&&(this.widget.selectionMode=t)}visibilityAppearanceWatcher(t){this.widget&&(this.widget.visibilityAppearance=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})}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,heading: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})}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 triggerAction(t,i){this.widget?.triggerAction(t,i)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.arcgisLayerListReady.emit(),l(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();n(this,t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return t.visibleElements={closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,errors:this.visibleElementsErrors,filter:this.visibleElementsFilter,flow:this.visibleElementsFlow,heading:this.visibleElementsHeading,statusIndicators:this.visibleElementsStatusIndicators,temporaryLayerIndicators:this.visibleElementsTemporaryLayerIndicators},void 0!==this.collapsed&&(t.collapsed=this.collapsed),void 0!==this.dragEnabled&&(t.dragEnabled=this.dragEnabled),this.filterPlaceholder&&(t.filterPlaceholder=this.filterPlaceholder),this.filterText&&(t.filterText=this.filterText),this.icon&&(t.icon=this.icon),this.listItemCreatedFunction&&(t.listItemCreatedFunction=this.listItemCreatedFunction),void 0!==this.minDragEnabledItems&&(t.minDragEnabledItems=this.minDragEnabledItems),void 0!==this.minFilterItems&&(t.minFilterItems=this.minFilterItems),this.selectedItems&&(t.selectedItems=this.selectedItems),this.selectionMode&&(t.selectionMode=this.selectionMode),this.visibilityAppearance&&(t.visibilityAppearance=this.visibilityAppearance),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget?.on("trigger-action",(t=>this.layerListTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],collapsed:["collapsedWatcher"],dragEnabled:["dragEnabledWatcher"],filterPlaceholder:["filterPlaceholderWatcher"],filterText:["filterTextWatcher"],icon:["iconWatcher"],listItemCreatedFunction:["listItemCreatedFunctionWatcher"],minDragEnabledItems:["minDragEnabledItemsWatcher"],minFilterItems:["minFilterItemsWatcher"],selectionMode:["selectionModeWatcher"],visibilityAppearance:["visibilityAppearanceWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsErrors:["visibleElementsErrorsWatcher"],visibleElementsFilter:["visibleElementsFilterWatcher"],visibleElementsFlow:["visibleElementsFlowWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsStatusIndicators:["visibleElementsStatusIndicatorsWatcher"],visibleElementsTemporaryLayerIndicators:["visibleElementsTemporaryLayerIndicatorsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_layer_list}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{H as h,i as a}from"./p-08b9f923.js";import{r,c,a as o}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisLegendReady=i(this,"arcgisLegendReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=!1,this.hideLayersNotInCurrentView=!1,this.icon=void 0,this.respectLayerVisibilityDisabled=!1,this.legendStyle="classic",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeLayerInfosWatcher(t){this.widget&&(this.widget.activeLayerInfos=t)}basemapLegendVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapLegendVisible=t)}hideLayersNotInCurrentViewWatcher(t){void 0!==t&&this.widget&&(this.widget.hideLayersNotInCurrentView=t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}respectLayerVisibilityDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.respectLayerVisibility=!t)}styleWatcher(t){void 0!==t&&this.widget&&(this.widget.style=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.arcgisLegendReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,[t((()=>this.widget.activeLayerInfos),(t=>{this.activeLayerInfos=t}))])}_createParams(){const t={};return this.activeLayerInfos&&(t.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(t.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(t.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),void 0!==this.respectLayerVisibilityDisabled&&(t.respectLayerVisibility=!this.respectLayerVisibilityDisabled),this.legendStyle&&(t.style=this.legendStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],icon:["iconWatcher"],respectLayerVisibilityDisabled:["respectLayerVisibilityDisabledWatcher"],legendStyle:["styleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_legend}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{H as h,i as a}from"./p-d2249660.js";import{r,c,a as o}from"./p-d9a19770.js";import{o as n}from"./p-0700d3a0.js";const d=class{constructor(s){t(this,s),this.arcgisLegendReady=i(this,"arcgisLegendReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=!1,this.hideLayersNotInCurrentView=!1,this.icon=void 0,this.respectLayerVisibilityDisabled=!1,this.legendStyle="classic",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeLayerInfosWatcher(t){this.widget&&(this.widget.activeLayerInfos=t)}basemapLegendVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapLegendVisible=t)}hideLayersNotInCurrentViewWatcher(t){void 0!==t&&this.widget&&(this.widget.hideLayersNotInCurrentView=t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}respectLayerVisibilityDisabledWatcher(t){void 0!==t&&this.widget&&(this.widget.respectLayerVisibility=!t)}styleWatcher(t){void 0!==t&&this.widget&&(this.widget.style=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.arcgisLegendReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,[t((()=>this.widget.activeLayerInfos),(t=>{this.activeLayerInfos=t}))])}_createParams(){const t={};return this.activeLayerInfos&&(t.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(t.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(t.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),void 0!==this.respectLayerVisibilityDisabled&&(t.respectLayerVisibility=!this.respectLayerVisibilityDisabled),this.legendStyle&&(t.style=this.legendStyle),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],icon:["iconWatcher"],respectLayerVisibilityDisabled:["respectLayerVisibilityDisabledWatcher"],legendStyle:["styleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_legend}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as e,h as s,g as i}from"./p-cf115433.js";import{T as l,i as o,U as n}from"./p-08b9f923.js";import{r as h,c as a,a as r}from"./p-af72e854.js";import{o as c}from"./p-e54e0ed6.js";const p=class{constructor(s){t(this,s),this.arcgisSketchReady=e(this,"arcgisSketchReady",7),this.sketchCreate=e(this,"sketchCreate",7),this.sketchDelete=e(this,"sketchDelete",7),this.sketchRedo=e(this,"sketchRedo",7),this.sketchUndo=e(this,"sketchUndo",7),this.sketchUpdate=e(this,"sketchUpdate",7),this._watchHandles=[],this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode="continuous",this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.icon=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout="horizontal",this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.visibleElementsCreateToolsPoint=!0,this.visibleElementsCreateToolsPolyline=!0,this.visibleElementsCreateToolsPolygon=!0,this.visibleElementsCreateToolsRectangle=!0,this.visibleElementsCreateToolsCircle=!0,this.visibleElementsDuplicateButton=!0,this.visibleElementsSelectionToolsRectangle=!0,this.visibleElementsSelectionToolsLasso=!0,this.visibleElementsSettingsMenu=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsElementsHeader=!0,this.visibleElementsSnappingControlsElementsEnabledToggle=!0,this.visibleElementsSnappingControlsElementsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsElementsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsElementsLayerList=!0,this.visibleElementsUndoRedoMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}availableCreateToolsWatcher(t){this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){this.widget&&(this.widget.defaultUpdateOptions=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){this.widget&&(this.widget.layer=t)}layoutWatcher(t){this.widget&&(this.widget.layout=t)}pointSymbolWatcher(t){this.widget&&(this.widget.viewModel.pointSymbol=t)}polylineSymbolWatcher(t){this.widget&&(this.widget.viewModel.polylineSymbol=t)}polygonSymbolWatcher(t){this.widget&&(this.widget.viewModel.polygonSymbol=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateToolsPointWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,point:t}})}visibleElementsCreateToolsPolylineWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polyline:t}})}visibleElementsCreateToolsPolygonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polygon:t}})}visibleElementsCreateToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,rectangle:t}})}visibleElementsCreateToolsCircleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,circle:t}})}visibleElementsDuplicateButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,duplicateButton:t})}visibleElementsSelectionToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"rectangle-selection":t}})}visibleElementsSelectionToolsLassoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"lasso-selection":t}})}visibleElementsSettingsMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsMenu: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})}visibleElementsSnappingControlsElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{header:t}})}visibleElementsSnappingControlsElementsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{enabledToggle:t}})}visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{selfEnabledToggle:t}})}visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{featureEnabledToggle:t}})}visibleElementsSnappingControlsElementsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{layerList:t}})}visibleElementsUndoRedoMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,undoRedoMenu: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,this.widget.view.map?.add(this.layer))}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(t,e){this.widget?.create(t,e)}async delete(){this.widget?.delete()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async undo(){this.widget?.undo()}async update(t,e){this.widget?.update(t,e)}async componentDidLoad(){const t=await this._createParams(),e=await l(t);this.widget=e,this._setViewModelParams(),await this._addWatchers(),this._addContainer(),this.arcgisSketchReady.emit(),a(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 o();r(this,t((()=>this.widget.activeTool),(t=>this.activeTool=t),{initial:!0})),r(this,t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0})),r(this,t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0}))}async _createParams(){this.layer||(this.layer=await n({title:"Sketch Layer",creationMode:"update"}));const t={layer:this.layer};return t.visibleElements={createTools:{point:this.visibleElementsCreateToolsPoint,polyline:this.visibleElementsCreateToolsPolyline,polygon:this.visibleElementsCreateToolsPolygon,rectangle:this.visibleElementsCreateToolsRectangle,circle:this.visibleElementsCreateToolsCircle},duplicateButton:this.visibleElementsDuplicateButton,selectionTools:{"rectangle-selection":this.visibleElementsSelectionToolsRectangle,"lasso-selection":this.visibleElementsSelectionToolsLasso},settingsMenu:this.visibleElementsSettingsMenu,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsElementsHeader,enabledToggle:this.visibleElementsSnappingControlsElementsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsElementsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsElementsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsElementsLayerList},undoRedoMenu:this.visibleElementsUndoRedoMenu},this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}_setViewModelParams(){const t={};this.pointSymbol&&(t.pointSymbol=this.pointSymbol),this.polylineSymbol&&(t.polylineSymbol=this.polylineSymbol),this.polygonSymbol&&(t.polygonSymbol=this.polygonSymbol),this.widget.viewModel.set(t)}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],pointSymbol:["pointSymbolWatcher"],polylineSymbol:["polylineSymbolWatcher"],polygonSymbol:["polygonSymbolWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateToolsPoint:["visibleElementsCreateToolsPointWatcher"],visibleElementsCreateToolsPolyline:["visibleElementsCreateToolsPolylineWatcher"],visibleElementsCreateToolsPolygon:["visibleElementsCreateToolsPolygonWatcher"],visibleElementsCreateToolsRectangle:["visibleElementsCreateToolsRectangleWatcher"],visibleElementsCreateToolsCircle:["visibleElementsCreateToolsCircleWatcher"],visibleElementsDuplicateButton:["visibleElementsDuplicateButtonWatcher"],visibleElementsSelectionToolsRectangle:["visibleElementsSelectionToolsRectangleWatcher"],visibleElementsSelectionToolsLasso:["visibleElementsSelectionToolsLassoWatcher"],visibleElementsSettingsMenu:["visibleElementsSettingsMenuWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsElementsHeader:["visibleElementsSnappingControlsElementsHeaderWatcher"],visibleElementsSnappingControlsElementsEnabledToggle:["visibleElementsSnappingControlsElementsEnabledToggleWatcher"],visibleElementsSnappingControlsElementsSelfEnabledToggle:["visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsElementsFeatureEnabledToggle:["visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsElementsLayerList:["visibleElementsSnappingControlsElementsLayerListWatcher"],visibleElementsUndoRedoMenu:["visibleElementsUndoRedoMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="arcgis-sketch{}";export{p as arcgis_sketch}
6
+ import{r as t,c as e,h as s,g as i}from"./p-f233b76c.js";import{T as l,i as o,U as n}from"./p-d2249660.js";import{r as h,c as a,a as r}from"./p-d9a19770.js";import{o as c}from"./p-0700d3a0.js";const p=class{constructor(s){t(this,s),this.arcgisSketchReady=e(this,"arcgisSketchReady",7),this.sketchCreate=e(this,"sketchCreate",7),this.sketchDelete=e(this,"sketchDelete",7),this.sketchRedo=e(this,"sketchRedo",7),this.sketchUndo=e(this,"sketchUndo",7),this.sketchUpdate=e(this,"sketchUpdate",7),this._watchHandles=[],this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode="continuous",this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.icon=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout="horizontal",this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.visibleElementsCreateToolsPoint=!0,this.visibleElementsCreateToolsPolyline=!0,this.visibleElementsCreateToolsPolygon=!0,this.visibleElementsCreateToolsRectangle=!0,this.visibleElementsCreateToolsCircle=!0,this.visibleElementsDuplicateButton=!0,this.visibleElementsSelectionToolsRectangle=!0,this.visibleElementsSelectionToolsLasso=!0,this.visibleElementsSettingsMenu=!0,this.visibleElementsLabelsToggle=!0,this.visibleElementsTooltipsToggle=!0,this.visibleElementsSnappingControls=!0,this.visibleElementsSnappingControlsElementsHeader=!0,this.visibleElementsSnappingControlsElementsEnabledToggle=!0,this.visibleElementsSnappingControlsElementsSelfEnabledToggle=!0,this.visibleElementsSnappingControlsElementsFeatureEnabledToggle=!0,this.visibleElementsSnappingControlsElementsLayerList=!0,this.visibleElementsUndoRedoMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}availableCreateToolsWatcher(t){this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){this.widget&&(this.widget.defaultUpdateOptions=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}labelOptionsWatcher(t){this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){this.widget&&(this.widget.layer=t)}layoutWatcher(t){this.widget&&(this.widget.layout=t)}pointSymbolWatcher(t){this.widget&&(this.widget.viewModel.pointSymbol=t)}polylineSymbolWatcher(t){this.widget&&(this.widget.viewModel.polylineSymbol=t)}polygonSymbolWatcher(t){this.widget&&(this.widget.viewModel.polygonSymbol=t)}snappingOptionsWatcher(t){this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){this.widget&&(this.widget.tooltipOptions=t)}visibleElementsCreateToolsPointWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,point:t}})}visibleElementsCreateToolsPolylineWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polyline:t}})}visibleElementsCreateToolsPolygonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,polygon:t}})}visibleElementsCreateToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,rectangle:t}})}visibleElementsCreateToolsCircleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,createTools:{...this.widget.visibleElements.createTools,circle:t}})}visibleElementsDuplicateButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,duplicateButton:t})}visibleElementsSelectionToolsRectangleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"rectangle-selection":t}})}visibleElementsSelectionToolsLassoWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionTools:{...this.widget.visibleElements.selectionTools,"lasso-selection":t}})}visibleElementsSettingsMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsMenu: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})}visibleElementsSnappingControlsElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{header:t}})}visibleElementsSnappingControlsElementsEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{enabledToggle:t}})}visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{selfEnabledToggle:t}})}visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{featureEnabledToggle:t}})}visibleElementsSnappingControlsElementsLayerListWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,snappingControlsElements:{layerList:t}})}visibleElementsUndoRedoMenuWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,undoRedoMenu: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,this.widget.view.map?.add(this.layer))}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(t,e){this.widget?.create(t,e)}async delete(){this.widget?.delete()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async undo(){this.widget?.undo()}async update(t,e){this.widget?.update(t,e)}async componentDidLoad(){const t=await this._createParams(),e=await l(t);this.widget=e,this._setViewModelParams(),await this._addWatchers(),this._addContainer(),this.arcgisSketchReady.emit(),a(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 o();r(this,t((()=>this.widget.activeTool),(t=>this.activeTool=t),{initial:!0})),r(this,t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0})),r(this,t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0}))}async _createParams(){this.layer||(this.layer=await n({title:"Sketch Layer",creationMode:"update"}));const t={layer:this.layer};return t.visibleElements={createTools:{point:this.visibleElementsCreateToolsPoint,polyline:this.visibleElementsCreateToolsPolyline,polygon:this.visibleElementsCreateToolsPolygon,rectangle:this.visibleElementsCreateToolsRectangle,circle:this.visibleElementsCreateToolsCircle},duplicateButton:this.visibleElementsDuplicateButton,selectionTools:{"rectangle-selection":this.visibleElementsSelectionToolsRectangle,"lasso-selection":this.visibleElementsSelectionToolsLasso},settingsMenu:this.visibleElementsSettingsMenu,labelsToggle:this.visibleElementsLabelsToggle,tooltipsToggle:this.visibleElementsTooltipsToggle,snappingControls:this.visibleElementsSnappingControls,snappingControlsElements:{header:this.visibleElementsSnappingControlsElementsHeader,enabledToggle:this.visibleElementsSnappingControlsElementsEnabledToggle,selfEnabledToggle:this.visibleElementsSnappingControlsElementsSelfEnabledToggle,featureEnabledToggle:this.visibleElementsSnappingControlsElementsFeatureEnabledToggle,layerList:this.visibleElementsSnappingControlsElementsLayerList},undoRedoMenu:this.visibleElementsUndoRedoMenu},this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}_setViewModelParams(){const t={};this.pointSymbol&&(t.pointSymbol=this.pointSymbol),this.polylineSymbol&&(t.polylineSymbol=this.polylineSymbol),this.polygonSymbol&&(t.polygonSymbol=this.polygonSymbol),this.widget.viewModel.set(t)}get el(){return i(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],icon:["iconWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],pointSymbol:["pointSymbolWatcher"],polylineSymbol:["polylineSymbolWatcher"],polygonSymbol:["polygonSymbolWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElementsCreateToolsPoint:["visibleElementsCreateToolsPointWatcher"],visibleElementsCreateToolsPolyline:["visibleElementsCreateToolsPolylineWatcher"],visibleElementsCreateToolsPolygon:["visibleElementsCreateToolsPolygonWatcher"],visibleElementsCreateToolsRectangle:["visibleElementsCreateToolsRectangleWatcher"],visibleElementsCreateToolsCircle:["visibleElementsCreateToolsCircleWatcher"],visibleElementsDuplicateButton:["visibleElementsDuplicateButtonWatcher"],visibleElementsSelectionToolsRectangle:["visibleElementsSelectionToolsRectangleWatcher"],visibleElementsSelectionToolsLasso:["visibleElementsSelectionToolsLassoWatcher"],visibleElementsSettingsMenu:["visibleElementsSettingsMenuWatcher"],visibleElementsLabelsToggle:["visibleElementsLabelsToggleWatcher"],visibleElementsTooltipsToggle:["visibleElementsTooltipsToggleWatcher"],visibleElementsSnappingControls:["visibleElementsSnappingControlsWatcher"],visibleElementsSnappingControlsElementsHeader:["visibleElementsSnappingControlsElementsHeaderWatcher"],visibleElementsSnappingControlsElementsEnabledToggle:["visibleElementsSnappingControlsElementsEnabledToggleWatcher"],visibleElementsSnappingControlsElementsSelfEnabledToggle:["visibleElementsSnappingControlsElementsSelfEnabledToggleWatcher"],visibleElementsSnappingControlsElementsFeatureEnabledToggle:["visibleElementsSnappingControlsElementsFeatureEnabledToggleWatcher"],visibleElementsSnappingControlsElementsLayerList:["visibleElementsSnappingControlsElementsLayerListWatcher"],visibleElementsUndoRedoMenu:["visibleElementsUndoRedoMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};p.style="arcgis-sketch{}";export{p as arcgis_sketch}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{A as h,i as a}from"./p-08b9f923.js";import{r as n,c as r,a as o}from"./p-af72e854.js";import{o as c}from"./p-e54e0ed6.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-f233b76c.js";import{A as h,i as a}from"./p-d2249660.js";import{r as n,c as r,a as o}from"./p-d9a19770.js";import{o as c}from"./p-0700d3a0.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
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{l as h,i as o}from"./p-08b9f923.js";import{r as n,c as a,a as r}from"./p-af72e854.js";import{o as c}from"./p-e54e0ed6.js";const l=class{constructor(s){t(this,s),this.arcgisCoordinateConversionReady=i(this,"arcgisCoordinateConversionReady",7),this._watchHandles=[],this.referenceElement=void 0,this.conversions=void 0,this.currentLocation=void 0,this.formats=void 0,this.icon=void 0,this.locationSymbol=void 0,this.mode="live",this.multipleConversions=!0,this.orientation="auto",this.storageEnabled=!0,this.storageType="session",this.visibleElementsSettingsButton=!0,this.visibleElementsEditButton=!0,this.visibleElementsExpandButton=!0,this.visibleElementsCaptureButton=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}conversionsWatcher(t){this.widget&&(this.widget.conversions=t)}formatsWatcher(t){this.widget&&(this.widget.formats=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}locationSymbolWatcher(t){this.widget&&(this.widget.locationSymbol=t)}modeWatcher(t){this.widget&&(this.widget.mode=t)}multipleConversionsWatcher(t){this.widget&&(this.widget.multipleConversions=t)}orientationWatcher(t){this.widget&&(this.widget.orientation=t)}storageEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.storageEnabled=t)}storageTypeWatcher(t){this.widget&&(this.widget.storageType=t)}visibleElementsSettingsButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsButton:t})}visibleElementsEditButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editButton:t})}visibleElementsExpandButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,expandButton:t})}visibleElementsCaptureButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,captureButton: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 reverseConvert(t,i){return await(this.widget?.reverseConvert(t,i))}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisCoordinateConversionReady.emit(),a(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await o();r(this,t((()=>this.widget.currentLocation),(t=>this.currentLocation=t),{initial:!0})),await i((()=>this.widget.formats)),this.formats=this.widget.formats}_createParams(){const t={};return t.visibleElements={settingsButton:this.visibleElementsSettingsButton,editButton:this.visibleElementsEditButton,expandButton:this.visibleElementsExpandButton,captureButton:this.visibleElementsCaptureButton},this.conversions&&(t.conversions=this.conversions),this.icon&&(t.icon=this.icon),this.formats&&(t.formats=this.formats),this.locationSymbol&&(t.locationSymbol=this.locationSymbol),this.mode&&(t.mode=this.mode),this.multipleConversions&&(t.multipleConversions=this.multipleConversions),this.orientation&&(t.orientation=this.orientation),void 0!==this.storageEnabled&&(t.storageEnabled=this.storageEnabled),this.storageType&&(t.storageType=this.storageType),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],conversions:["conversionsWatcher"],formats:["formatsWatcher"],icon:["iconWatcher"],locationSymbol:["locationSymbolWatcher"],mode:["modeWatcher"],multipleConversions:["multipleConversionsWatcher"],orientation:["orientationWatcher"],storageEnabled:["storageEnabledWatcher"],storageType:["storageTypeWatcher"],visibleElementsSettingsButton:["visibleElementsSettingsButtonWatcher"],visibleElementsEditButton:["visibleElementsEditButtonWatcher"],visibleElementsExpandButton:["visibleElementsExpandButtonWatcher"],visibleElementsCaptureButton:["visibleElementsCaptureButtonWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_coordinate_conversion}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{l as h,i as o}from"./p-d2249660.js";import{r as n,c as a,a as r}from"./p-d9a19770.js";import{o as c}from"./p-0700d3a0.js";const l=class{constructor(s){t(this,s),this.arcgisCoordinateConversionReady=i(this,"arcgisCoordinateConversionReady",7),this._watchHandles=[],this.referenceElement=void 0,this.conversions=void 0,this.currentLocation=void 0,this.formats=void 0,this.icon=void 0,this.locationSymbol=void 0,this.mode="live",this.multipleConversions=!0,this.orientation="auto",this.storageEnabled=!0,this.storageType="session",this.visibleElementsSettingsButton=!0,this.visibleElementsEditButton=!0,this.visibleElementsExpandButton=!0,this.visibleElementsCaptureButton=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}conversionsWatcher(t){this.widget&&(this.widget.conversions=t)}formatsWatcher(t){this.widget&&(this.widget.formats=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}locationSymbolWatcher(t){this.widget&&(this.widget.locationSymbol=t)}modeWatcher(t){this.widget&&(this.widget.mode=t)}multipleConversionsWatcher(t){this.widget&&(this.widget.multipleConversions=t)}orientationWatcher(t){this.widget&&(this.widget.orientation=t)}storageEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.storageEnabled=t)}storageTypeWatcher(t){this.widget&&(this.widget.storageType=t)}visibleElementsSettingsButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,settingsButton:t})}visibleElementsEditButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,editButton:t})}visibleElementsExpandButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,expandButton:t})}visibleElementsCaptureButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,captureButton: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 reverseConvert(t,i){return await(this.widget?.reverseConvert(t,i))}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisCoordinateConversionReady.emit(),a(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await o();r(this,t((()=>this.widget.currentLocation),(t=>this.currentLocation=t),{initial:!0})),await i((()=>this.widget.formats)),this.formats=this.widget.formats}_createParams(){const t={};return t.visibleElements={settingsButton:this.visibleElementsSettingsButton,editButton:this.visibleElementsEditButton,expandButton:this.visibleElementsExpandButton,captureButton:this.visibleElementsCaptureButton},this.conversions&&(t.conversions=this.conversions),this.icon&&(t.icon=this.icon),this.formats&&(t.formats=this.formats),this.locationSymbol&&(t.locationSymbol=this.locationSymbol),this.mode&&(t.mode=this.mode),this.multipleConversions&&(t.multipleConversions=this.multipleConversions),this.orientation&&(t.orientation=this.orientation),void 0!==this.storageEnabled&&(t.storageEnabled=this.storageEnabled),this.storageType&&(t.storageType=this.storageType),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],conversions:["conversionsWatcher"],formats:["formatsWatcher"],icon:["iconWatcher"],locationSymbol:["locationSymbolWatcher"],mode:["modeWatcher"],multipleConversions:["multipleConversionsWatcher"],orientation:["orientationWatcher"],storageEnabled:["storageEnabledWatcher"],storageType:["storageTypeWatcher"],visibleElementsSettingsButton:["visibleElementsSettingsButtonWatcher"],visibleElementsEditButton:["visibleElementsEditButtonWatcher"],visibleElementsExpandButton:["visibleElementsExpandButtonWatcher"],visibleElementsCaptureButton:["visibleElementsCaptureButtonWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_coordinate_conversion}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{$ as o}from"./p-08b9f923.js";import{r as n,c}from"./p-af72e854.js";import{o as a}from"./p-e54e0ed6.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput: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 o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{$ as o}from"./p-d2249660.js";import{r as n,c}from"./p-d9a19770.js";import{o as a}from"./p-0700d3a0.js";const h=class{constructor(s){t(this,s),this.arcgisUtilityNetworkAssociationsReady=i(this,"arcgisUtilityNetworkAssociationsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.autoRefreshAssociations=!0,this.connectivityAssociationsLineSymbol=void 0,this.includeConnectivityAssociations=!0,this.includeStructuralAttachmentAssociations=!0,this.maxAllowableAssociations=250,this.maxAllowableAssociationsSliderMax=void 0,this.maxAllowableAssociationsSliderMin=void 0,this.maxAllowableAssociationsSliderStep=void 0,this.showArrowsConnectivity=!1,this.showArrowsStructuralAttachment=!1,this.showAssociationsEnabled=!1,this.structuralAttachmentAssociationsLineSymbol=void 0,this.utilityNetwork=void 0,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!0,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!0,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.visibleElementsMaxAllowableAssociationsSlider=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}autoRefreshAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.autoRefreshAssociations=t)}connectivityAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.connectivityAssociationsLineSymbol=t)}includeConnectivityAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeConnectivityAssociations=t)}includeStructuralAttachmentAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.includeStructuralAttachmentAssociations=t)}maxAllowableAssociationsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociations=t)}maxAllowableAssociationsSliderMaxWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMax=t)}maxAllowableAssociationsSliderMinWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderMin=t)}maxAllowableAssociationsSliderStepWatcher(t){void 0!==t&&this.widget&&(this.widget.maxAllowableAssociationsSliderStep=t)}showArrowsConnectivityWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsConnectivity=t)}showArrowsStructuralAttachmentWatcher(t){void 0!==t&&this.widget&&(this.widget.showArrowsStructuralAttachment=t)}showAssociationsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.showAssociationsEnabled=t)}structuralAttachmentAssociationsLineSymbolWatcher(t){this.widget&&(this.widget.structuralAttachmentAssociationsLineSymbol=t)}utilityNetworkWatcher(t){this.widget&&(this.widget.utilityNetwork=t)}visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,arrowsToggle:t}})}visibleElementsConnectivityAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,capSelect:t}})}visibleElementsConnectivityAssociationsSettingsColorPickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,colorPicker:t}})}visibleElementsConnectivityAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,stylePicker:t}})}visibleElementsConnectivityAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,connectivityAssociationsSettings:{...this.widget.visibleElements.connectivityAssociationsSettings,widthInput:t}})}visibleElementsMaxAllowableAssociationsSliderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,maxAllowableAssociationsSlider:t})}visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,arrowsToggle:t}})}visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,capSelect:t}})}visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,stylePicker:t}})}visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,structuralAttachmentAssociationsSettings:{...this.widget.visibleElements.structuralAttachmentAssociationsSettings,widthInput: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 o(t);this.widget=i,this._addContainer(),this.arcgisUtilityNetworkAssociationsReady.emit(),c(this)}disconnectedCallback(){a(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={connectivityAssociationsSettings:{arrowsToggle:this.visibleElementsConnectivityAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsConnectivityAssociationsSettingsCapSelect,colorPicker:this.visibleElementsConnectivityAssociationsSettingsColorPicker,stylePicker:this.visibleElementsConnectivityAssociationsSettingsStylePicker,widthInput:this.visibleElementsConnectivityAssociationsSettingsWidthInput},maxAllowableAssociationsSlider:this.visibleElementsMaxAllowableAssociationsSlider,structuralAttachmentAssociationsSettings:{arrowsToggle:this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,capSelect:this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,stylePicker:this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,widthInput:this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput}},void 0!==this.autoRefreshAssociations&&(t.autoRefreshAssociations=this.autoRefreshAssociations),void 0!==this.connectivityAssociationsLineSymbol&&(t.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol),void 0!==this.includeConnectivityAssociations&&(t.includeConnectivityAssociations=this.includeConnectivityAssociations),void 0!==this.includeStructuralAttachmentAssociations&&(t.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations),void 0!==this.maxAllowableAssociations&&(t.maxAllowableAssociations=this.maxAllowableAssociations),void 0!==this.maxAllowableAssociationsSliderMax&&(t.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax),void 0!==this.maxAllowableAssociationsSliderMin&&(t.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin),void 0!==this.maxAllowableAssociationsSliderStep&&(t.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep),void 0!==this.showArrowsConnectivity&&(t.showArrowsConnectivity=this.showArrowsConnectivity),void 0!==this.showArrowsStructuralAttachment&&(t.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment),void 0!==this.showAssociationsEnabled&&(t.showAssociationsEnabled=this.showAssociationsEnabled),void 0!==this.structuralAttachmentAssociationsLineSymbol&&(t.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol),void 0!==this.utilityNetwork&&(t.utilityNetwork=this.utilityNetwork),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElementsConnectivityAssociationsSettingsArrowsToggle:["visibleElementsConnectivityAssociationsSettingsArrowsToggleWatcher"],visibleElementsConnectivityAssociationsSettingsCapSelect:["visibleElementsConnectivityAssociationsSettingsCapSelectWatcher"],visibleElementsConnectivityAssociationsSettingsColorPicker:["visibleElementsConnectivityAssociationsSettingsColorPickerWatcher"],visibleElementsConnectivityAssociationsSettingsStylePicker:["visibleElementsConnectivityAssociationsSettingsStylePickerWatcher"],visibleElementsConnectivityAssociationsSettingsWidthInput:["visibleElementsConnectivityAssociationsSettingsWidthInputWatcher"],visibleElementsMaxAllowableAssociationsSlider:["visibleElementsMaxAllowableAssociationsSliderWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:["visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggleWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:["visibleElementsStructuralAttachmentAssociationsSettingsCapSelectWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:["visibleElementsStructuralAttachmentAssociationsSettingsStylePickerWatcher"],visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:["visibleElementsStructuralAttachmentAssociationsSettingsWidthInputWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};h.style="arcgis-utility-network-associations{}";export{h as arcgis_utility_network_associations}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
+ */
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{o as a}from"./p-d2249660.js";import{r,c as h}from"./p-d9a19770.js";import{o as c}from"./p-0700d3a0.js";const o=class{constructor(s){t(this,s),this.arcgisDirectionalPadReady=i(this,"arcgisDirectionalPadReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.visualScale="s",this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){void 0!==t&&this.widget&&(this.widget.icon=t)}visualScaleWatcher(t){this.widget&&(this.widget.visualScale=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 a(t);this.widget=i,this._addContainer(),this.arcgisDirectionalPadReady.emit(),h(this)}disconnectedCallback(){c(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),this.visualScale&&(t.visualScale=this.visualScale),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],visualScale:["visualScaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-directional-pad{}";export{o as arcgis_directional_pad}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{c as h,i as a}from"./p-08b9f923.js";import{r,c,a as o}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement2dReady=i(this,"arcgisAreaMeasurement2dReady",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)}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.arcgisAreaMeasurement2dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};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"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_2d}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{c as h,i as a}from"./p-d2249660.js";import{r,c,a as o}from"./p-d9a19770.js";import{o as n}from"./p-0700d3a0.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement2dReady=i(this,"arcgisAreaMeasurement2dReady",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)}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.arcgisAreaMeasurement2dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,t((()=>this.widget.unit),(t=>this.unit=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};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"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_2d}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as s,h as i,g as e}from"./p-cf115433.js";import{a0 as h,i as r}from"./p-08b9f923.js";import{r as a,c,a as o}from"./p-af72e854.js";import{o as l}from"./p-e54e0ed6.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-f233b76c.js";import{a0 as h,i as r}from"./p-d2249660.js";import{r as a,c,a as o}from"./p-d9a19770.js";import{o as l}from"./p-0700d3a0.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
- * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
- * v4.29.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{p as h,q as a,i as r}from"./p-08b9f923.js";import{r as o,i as c,c as n,a as l}from"./p-af72e854.js";import{o as v}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisDirectionsReady=i(this,"arcgisDirectionsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.apiKey=void 0,this.icon=void 0,this.routeLayerItemId=void 0,this.lastRoute=void 0,this.layer=void 0,this.maxStops=50,this.searchProperties=void 0,this.unit=void 0,this.useDefaultRouteLayer=!0,this.visibleElementsLayerDetails=!0,this.visibleElementsSaveAsButton=!0,this.visibleElementsSaveButton=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}apiKeyWatcher(t){t&&this.widget&&(this.widget.apiKey=t)}iconWatcher(t){t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}routeLayerItemIdWatcher(t){c(t)?(this.view?.map.remove(this.layer),this.useDefaultRouteLayer&&h({}).then((t=>{this.layer=t}))):t&&this.widget&&h({portalItem:{id:t}}).then((t=>{this.layer=t}))}layerWatcher(t,i){i&&this.view?.map.remove(i),t&&this.widget?(this.widget.layer=t,this.view?.map.add(this.layer)):t||(this.widget.layer=null)}maxStopsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxStops=t)}searchPropertiesWatcher(t){this.widget&&(this.widget.searchProperties=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}visibleElementsLayerDetailsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,layerDetails:t})}visibleElementsSaveAsButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,saveAsButton:t})}visibleElementsSaveButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,saveButton: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,this.layer&&this.widget.view.map.add(this.layer))}async getDirections(){return await(this.widget?.getDirections())}async save(){return await(this.widget?.save())}async saveAs(t,i){return await(this.widget?.saveAs(t,i))}async zoomToRoute(){this.widget?.zoomToRoute()}async componentDidLoad(){const t=await this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDirectionsReady.emit(),n(this)}disconnectedCallback(){v(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();l(this,t((()=>this.widget.lastRoute),(t=>this.lastRoute=t),{initial:!0}))}async _createParams(){const t={};return t.visibleElements={layerDetails:this.visibleElementsLayerDetails,saveAsButton:this.visibleElementsSaveAsButton,saveButton:this.visibleElementsSaveButton},this.view&&(t.view=this.view),this.apiKey&&(t.apiKey=this.apiKey),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.routeLayerItemId?(t.layer=await h({portalItem:{id:this.routeLayerItemId}}),this.layer=t.layer):this.layer?(t.layer=this.layer,this.layer=t.layer):this.useDefaultRouteLayer&&(t.layer=await h({}),this.layer=t.layer),void 0!==this.layer&&this.view?.map.add(this.layer),void 0!==this.maxStops&&(t.maxStops=this.maxStops),this.searchProperties&&(t.searchProperties=this.searchProperties),this.unit&&(t.unit=this.unit),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],apiKey:["apiKeyWatcher"],icon:["iconWatcher"],routeLayerItemId:["routeLayerItemIdWatcher"],layer:["layerWatcher"],maxStops:["maxStopsWatcher"],searchProperties:["searchPropertiesWatcher"],unit:["unitWatcher"],visibleElementsLayerDetails:["visibleElementsLayerDetailsWatcher"],visibleElementsSaveAsButton:["visibleElementsSaveAsButtonWatcher"],visibleElementsSaveButton:["visibleElementsSaveButtonWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directions}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{p as h,q as a,i as r}from"./p-d2249660.js";import{r as o,i as c,c as n,a as l}from"./p-d9a19770.js";import{o as v}from"./p-0700d3a0.js";const d=class{constructor(s){t(this,s),this.arcgisDirectionsReady=i(this,"arcgisDirectionsReady",7),this._watchHandles=[],this.referenceElement=void 0,this.apiKey=void 0,this.icon=void 0,this.routeLayerItemId=void 0,this.lastRoute=void 0,this.layer=void 0,this.maxStops=50,this.searchProperties=void 0,this.unit=void 0,this.useDefaultRouteLayer=!0,this.visibleElementsLayerDetails=!0,this.visibleElementsSaveAsButton=!0,this.visibleElementsSaveButton=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){o(this,t)}apiKeyWatcher(t){t&&this.widget&&(this.widget.apiKey=t)}iconWatcher(t){t&&this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}routeLayerItemIdWatcher(t){c(t)?(this.view?.map.remove(this.layer),this.useDefaultRouteLayer&&h({}).then((t=>{this.layer=t}))):t&&this.widget&&h({portalItem:{id:t}}).then((t=>{this.layer=t}))}layerWatcher(t,i){i&&this.view?.map.remove(i),t&&this.widget?(this.widget.layer=t,this.view?.map.add(this.layer)):t||(this.widget.layer=null)}maxStopsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxStops=t)}searchPropertiesWatcher(t){this.widget&&(this.widget.searchProperties=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}visibleElementsLayerDetailsWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,layerDetails:t})}visibleElementsSaveAsButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,saveAsButton:t})}visibleElementsSaveButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,saveButton: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,this.layer&&this.widget.view.map.add(this.layer))}async getDirections(){return await(this.widget?.getDirections())}async save(){return await(this.widget?.save())}async saveAs(t,i){return await(this.widget?.saveAs(t,i))}async zoomToRoute(){this.widget?.zoomToRoute()}async componentDidLoad(){const t=await this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDirectionsReady.emit(),n(this)}disconnectedCallback(){v(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await r();l(this,t((()=>this.widget.lastRoute),(t=>this.lastRoute=t),{initial:!0}))}async _createParams(){const t={};return t.visibleElements={layerDetails:this.visibleElementsLayerDetails,saveAsButton:this.visibleElementsSaveAsButton,saveButton:this.visibleElementsSaveButton},this.view&&(t.view=this.view),this.apiKey&&(t.apiKey=this.apiKey),this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.routeLayerItemId?(t.layer=await h({portalItem:{id:this.routeLayerItemId}}),this.layer=t.layer):this.layer?(t.layer=this.layer,this.layer=t.layer):this.useDefaultRouteLayer&&(t.layer=await h({}),this.layer=t.layer),void 0!==this.layer&&this.view?.map.add(this.layer),void 0!==this.maxStops&&(t.maxStops=this.maxStops),this.searchProperties&&(t.searchProperties=this.searchProperties),this.unit&&(t.unit=this.unit),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],apiKey:["apiKeyWatcher"],icon:["iconWatcher"],routeLayerItemId:["routeLayerItemIdWatcher"],layer:["layerWatcher"],maxStops:["maxStopsWatcher"],searchProperties:["searchPropertiesWatcher"],unit:["unitWatcher"],visibleElementsLayerDetails:["visibleElementsLayerDetailsWatcher"],visibleElementsSaveAsButton:["visibleElementsSaveAsButtonWatcher"],visibleElementsSaveButton:["visibleElementsSaveButtonWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directions}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{d as h,i as a}from"./p-08b9f923.js";import{r,c,a as o}from"./p-af72e854.js";import{o as n}from"./p-e54e0ed6.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement3dReady=i(this,"arcgisAreaMeasurement3dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=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)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.viewModel.clear()}async start(){this.widget?.viewModel.start()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.arcgisAreaMeasurement3dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,[t((()=>this.widget.analysis),(t=>this.analysis=t))]),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};return 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"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_3d}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{d as h,i as a}from"./p-d2249660.js";import{r,c,a as o}from"./p-d9a19770.js";import{o as n}from"./p-0700d3a0.js";const d=class{constructor(s){t(this,s),this.arcgisAreaMeasurement3dReady=i(this,"arcgisAreaMeasurement3dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=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)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.viewModel.clear()}async start(){this.widget?.viewModel.start()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.arcgisAreaMeasurement3dReady.emit(),c(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t,whenOnce:i}=await a();o(this,[t((()=>this.widget.analysis),(t=>this.analysis=t))]),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={container:this.childElem};return 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"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_area_measurement_3d}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as e}from"./p-cf115433.js";import{B as h}from"./p-08b9f923.js";import{r,c as a}from"./p-af72e854.js";import{o}from"./p-e54e0ed6.js";const c=class{constructor(s){t(this,s),this.arcgisFloorFilterReady=i(this,"arcgisFloorFilterReady",7),this._watchHandles=[],this.referenceElement=void 0,this.facility=void 0,this.level=void 0,this.longNames=!0,this.site=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}facilityWatcher(t){this.widget&&(this.widget.facility=t)}levelWatcher(t){this.widget&&(this.widget.level=t)}longNamesWatcher(t){void 0!==t&&this.widget&&(this.widget.longNames=t)}siteWatcher(t){this.widget&&(this.widget.site=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 updateWebDocument(t){this.widget?.updateWebDocument(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisFloorFilterReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.facility&&(t.facility=this.facility),this.level&&(t.level=this.level),void 0!==this.longNames&&(t.longNames=this.longNames),this.site&&(t.site=this.site),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],facility:["facilityWatcher"],level:["levelWatcher"],longNames:["longNamesWatcher"],site:["siteWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_floor_filter}
6
+ import{r as t,c as i,h as s,g as e}from"./p-f233b76c.js";import{B as h}from"./p-d2249660.js";import{r,c as a}from"./p-d9a19770.js";import{o}from"./p-0700d3a0.js";const c=class{constructor(s){t(this,s),this.arcgisFloorFilterReady=i(this,"arcgisFloorFilterReady",7),this._watchHandles=[],this.referenceElement=void 0,this.facility=void 0,this.level=void 0,this.longNames=!0,this.site=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}facilityWatcher(t){this.widget&&(this.widget.facility=t)}levelWatcher(t){this.widget&&(this.widget.level=t)}longNamesWatcher(t){void 0!==t&&this.widget&&(this.widget.longNames=t)}siteWatcher(t){this.widget&&(this.widget.site=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 updateWebDocument(t){this.widget?.updateWebDocument(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisFloorFilterReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.facility&&(t.facility=this.facility),this.level&&(t.level=this.level),void 0!==this.longNames&&(t.longNames=this.longNames),this.site&&(t.site=this.site),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],facility:["facilityWatcher"],level:["levelWatcher"],longNames:["longNamesWatcher"],site:["siteWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_floor_filter}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
+ */
6
+ import{r as i,c as e,h as t,g as s}from"./p-f233b76c.js";import{O as a,i as h}from"./p-d2249660.js";import{r as c,c as r,a as n}from"./p-d9a19770.js";import{o as l}from"./p-0700d3a0.js";const o=class{constructor(t){i(this,t),this.arcgisScaleRangeSliderReady=e(this,"arcgisScaleRangeSliderReady",7),this._watchHandles=[],this.referenceElement=void 0,this.disabled=!1,this.layer=void 0,this.maxScale=void 0,this.maxScaleLimit=void 0,this.minScale=void 0,this.minScaleLimit=void 0,this.mode="range",this.region="US",this.visibleElementsPreview=!0,this.visibleElementsScaleMenusMinScaleMenu=!0,this.visibleElementsScaleMenusMaxScaleMenu=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(i){c(this,i)}disabledWatcher(i,e){this.widget&&i!==e&&(this.widget.disabled=i)}layerWatcher(i){this.widget&&(this.widget.layer=i)}maxScaleWatcher(i){void 0!==i&&this.widget&&(this.widget.maxScale=i)}maxScaleLimitWatcher(i){void 0!==i&&this.widget&&(this.widget.maxScaleLimit=i)}minScaleWatcher(i){void 0!==i&&this.widget&&(this.widget.minScale=i)}minScaleLimitWatcher(i){void 0!==i&&this.widget&&(this.widget.minScaleLimit=i)}modeWatcher(i){this.widget&&(this.widget.mode=i)}regionWatcher(i){this.widget&&(this.widget.region=i)}visibleElementsPreviewWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,preview:i})}visibleElementsScaleMenusMinScaleMenuWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,minScaleMenu:i}})}visibleElementsScaleMenusMaxScaleMenuWatcher(i){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,scaleMenus:{...this.widget.visibleElements.scaleMenus,maxScaleMenu: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(),e=await a(i);this.widget=e,await this._addWatchers(),this._addContainer(),this.arcgisScaleRangeSliderReady.emit(),r(this)}disconnectedCallback(){l(this)}render(){return t("div",{ref:i=>this.childElem=i})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:i}=await h();n(this,i((()=>this.widget?.disabled),(i=>this.disabled=i)))}_createParams(){const i={};return i.visibleElements={preview:this.visibleElementsPreview,scaleMenus:{minScaleMenu:this.visibleElementsScaleMenusMinScaleMenu,maxScaleMenu:this.visibleElementsScaleMenusMaxScaleMenu}},this.layer&&(i.layer=this.layer),void 0!==this.maxScale&&(i.maxScale=this.maxScale),void 0!==this.minScale&&(i.minScale=this.minScale),void 0!==this.maxScaleLimit&&(i.maxScaleLimit=this.maxScaleLimit),void 0!==this.minScaleLimit&&(i.minScaleLimit=this.minScaleLimit),this.mode&&(i.mode=this.mode),this.region&&(i.region=this.region),this.view&&(i.view=this.view),i}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],disabled:["disabledWatcher"],layer:["layerWatcher"],maxScale:["maxScaleWatcher"],maxScaleLimit:["maxScaleLimitWatcher"],minScale:["minScaleWatcher"],minScaleLimit:["minScaleLimitWatcher"],mode:["modeWatcher"],region:["regionWatcher"],visibleElementsPreview:["visibleElementsPreviewWatcher"],visibleElementsScaleMenusMinScaleMenu:["visibleElementsScaleMenusMinScaleMenuWatcher"],visibleElementsScaleMenusMaxScaleMenu:["visibleElementsScaleMenusMaxScaleMenuWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="arcgis-scale-range-slider{}";export{o as arcgis_scale_range_slider}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as i,c as t,h as e,H as s,g as n}from"./p-cf115433.js";import{i as c}from"./p-08b9f923.js";const o=class{constructor(e){i(this,e),this.versionItemActionClickedEventWithServiceUrl=t(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=t(this,"versionListActionClickedEvent",7),this._versionListEventListeners=new Map,this._watchHandles=[],this._versionItemActionClickedEventWithServiceUrl=i=>{this.versionItemActionClickedEventWithServiceUrl.emit(i.detail)},this._versionListActionClickedEvent=i=>{this.versionListActionClickedEvent.emit(i.detail)},this.flowElement=void 0,this.heading=void 0,this.serviceUrl=void 0,this.strings=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[],this._removeVersionListEventListeners(this._versionList)}render(){const{flowElement:i,heading:t,serviceUrl:n,strings:c,viewModel:o}=this;let{_versionList:a}=this;const r=o.serviceNames.get(n);return e(s,null,e("calcite-panel",{heading:r},e("calcite-action",{id:`actionManageVersions_${r}`,icon:"list",scale:"s",slot:"header-actions-end",onclick:async()=>{a=document.createElement("arcgis-version-management-version-list"),a.heading=t,a.serviceUrl=n,a.serviceName=r,a.strings=c,a.userHasAdvancedEditingUserTypeExtension=o.advancedEditingUserTypeExtensionForUrl.get(n),await o.getVersionInfos(n,!1),a.versionInfos=o.versionInfos.get(n),a.viewModel=o,this._addVersionListEventListeners(a),i.append(a)}}),e("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:`actionManageVersions_${r}`},e("span",null,c.headers.manageVersions))))}_addVersionListEventListeners(i){i.addEventListener("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),this._versionListEventListeners.set("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),i.addEventListener("versionListActionClickedEvent",this._versionListActionClickedEvent),this._versionListEventListeners.set("versionListActionClickedEvent",this._versionListActionClickedEvent)}_removeVersionListEventListeners(i){for(const[t,e]of this._versionListEventListeners)i.removeEventListener(t,e)}get _hostElement(){return n(this)}},a=class{constructor(e){i(this,e),this.versionPropertiesSaveClickedEvent=t(this,"versionPropertiesSaveClickedEvent",7),this._watchHandles=[],this.flowElement=void 0,this.serviceUrl=void 0,this.strings=void 0,this.versionInfo=void 0,this.viewModel=void 0,this.executionError=void 0,this.state=void 0}async componentDidLoad(){await this.viewModel.getVersionInfos(this.serviceUrl,!1)}async componentWillLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{serviceUrl:i,strings:t,versionInfo:n}=this,{viewModel:{executionError:c}}=this;return e(s,null,e("calcite-flow-item",{description:n?n.versionIdentifier.name:"",heading:n?t.actions.editVersion:t.actions.newVersion},e("calcite-panel",{loading:"executing"===this.state},e("div",{class:"div-content"},e("calcite-label",null,t.input.versionName,e("calcite-input-text",{id:"inputName",maxLength:62,value:n?n.versionIdentifier.name.split(".")[1]:""})),e("calcite-label",null,t.input.versionDescription,e("calcite-text-area",{id:"inputDescription",resize:"vertical",value:n?n.description:""})),e("calcite-label",null,t.input.versionAccess,e("calcite-chip-group",{id:"chipGroupAccessLevel",selectionMode:"single"},e("calcite-chip",{selected:"public"===n?.access,value:"public"},t.accessLevels.public),e("calcite-chip",{selected:"protected"===n?.access,value:"protected"},t.accessLevels.protected),e("calcite-chip",{selected:"private"===n?.access||!n,value:"private"},t.accessLevels.private))),e("calcite-label",null,t.input.versionOwner,e("calcite-input-text",{id:"inputOwner",disabled:!this.viewModel.advancedEditingUserTypeExtensionForUrl.get(i),value:n?n.versionIdentifier.name.split(".")[0]:this.viewModel.userForUrl.get(i)?.toUpperCase()})),e("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:()=>{this.flowElement.back()}},t.actions.cancelSave),e("calcite-button",{slot:"footer",width:"half",onClick:async()=>{const t=Array.from(this._hostElement.getElementsByTagName("calcite-input-text")),e=this._hostElement.getElementsByTagName("calcite-text-area")[0],s=t.find((i=>"inputName"===i.id)),c=t.find((i=>"inputOwner"===i.id)),o=Array.from(this._hostElement.getElementsByTagName("calcite-chip-group"))[0];this.versionPropertiesSaveClickedEvent.emit({serviceUrl:i,versionInfo:{access:o.selectedItems[0].value,description:e.value,versionIdentifier:{name:""!==c.value?`${c.value}.${s.value}`:s.value,guid:n?n.versionIdentifier.guid:""}}})}},t.actions.saveVersion)),"failed"===this.state?e("calcite-notice",{class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer"},e("div",{slot:"message"},this._getExecutionError(c))):void 0)))}_getExecutionError(i){const{strings:{executionErrors:t}}=this;switch(i){case"no-advanced-editing-user-type-extension":return t.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return t.noFeatureServiceFound;case"no-valid-enterprise-version":return t.notValidEnterpriseVersion;case"no-valid-version-name":return t.invalidVersionName;default:return i}}get _hostElement(){return n(this)}};export{o as arcgis_version_management_service_item,a as arcgis_version_management_version_properties}
6
+ import{r as i,c as t,h as e,H as s,g as n}from"./p-f233b76c.js";import{i as c}from"./p-d2249660.js";const o=class{constructor(e){i(this,e),this.versionItemActionClickedEventWithServiceUrl=t(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=t(this,"versionListActionClickedEvent",7),this._versionListEventListeners=new Map,this._watchHandles=[],this._versionItemActionClickedEventWithServiceUrl=i=>{this.versionItemActionClickedEventWithServiceUrl.emit(i.detail)},this._versionListActionClickedEvent=i=>{this.versionListActionClickedEvent.emit(i.detail)},this.flowElement=void 0,this.heading=void 0,this.serviceUrl=void 0,this.strings=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[],this._removeVersionListEventListeners(this._versionList)}render(){const{flowElement:i,heading:t,serviceUrl:n,strings:c,viewModel:o}=this;let{_versionList:a}=this;const r=o.serviceNames.get(n);return e(s,null,e("calcite-panel",{heading:r},e("calcite-action",{id:`actionManageVersions_${r}`,icon:"list",scale:"s",slot:"header-actions-end",onclick:async()=>{a=document.createElement("arcgis-version-management-version-list"),a.heading=t,a.serviceUrl=n,a.serviceName=r,a.strings=c,a.userHasAdvancedEditingUserTypeExtension=o.advancedEditingUserTypeExtensionForUrl.get(n),await o.getVersionInfos(n,!1),a.versionInfos=o.versionInfos.get(n),a.viewModel=o,this._addVersionListEventListeners(a),i.append(a)}}),e("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:`actionManageVersions_${r}`},e("span",null,c.headers.manageVersions))))}_addVersionListEventListeners(i){i.addEventListener("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),this._versionListEventListeners.set("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),i.addEventListener("versionListActionClickedEvent",this._versionListActionClickedEvent),this._versionListEventListeners.set("versionListActionClickedEvent",this._versionListActionClickedEvent)}_removeVersionListEventListeners(i){for(const[t,e]of this._versionListEventListeners)i.removeEventListener(t,e)}get _hostElement(){return n(this)}},a=class{constructor(e){i(this,e),this.versionPropertiesSaveClickedEvent=t(this,"versionPropertiesSaveClickedEvent",7),this._watchHandles=[],this.flowElement=void 0,this.serviceUrl=void 0,this.strings=void 0,this.versionInfo=void 0,this.viewModel=void 0,this.executionError=void 0,this.state=void 0}async componentDidLoad(){await this.viewModel.getVersionInfos(this.serviceUrl,!1)}async componentWillLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{serviceUrl:i,strings:t,versionInfo:n}=this,{viewModel:{executionError:c}}=this;return e(s,null,e("calcite-flow-item",{description:n?n.versionIdentifier.name:"",heading:n?t.actions.editVersion:t.actions.newVersion},e("calcite-panel",{loading:"executing"===this.state},e("div",{class:"div-content"},e("calcite-label",null,t.input.versionName,e("calcite-input-text",{id:"inputName",maxLength:62,value:n?n.versionIdentifier.name.split(".")[1]:""})),e("calcite-label",null,t.input.versionDescription,e("calcite-text-area",{id:"inputDescription",resize:"vertical",value:n?n.description:""})),e("calcite-label",null,t.input.versionAccess,e("calcite-chip-group",{id:"chipGroupAccessLevel",selectionMode:"single"},e("calcite-chip",{selected:"public"===n?.access,value:"public"},t.accessLevels.public),e("calcite-chip",{selected:"protected"===n?.access,value:"protected"},t.accessLevels.protected),e("calcite-chip",{selected:"private"===n?.access||!n,value:"private"},t.accessLevels.private))),e("calcite-label",null,t.input.versionOwner,e("calcite-input-text",{id:"inputOwner",disabled:!this.viewModel.advancedEditingUserTypeExtensionForUrl.get(i),value:n?n.versionIdentifier.name.split(".")[0]:this.viewModel.userForUrl.get(i)?.toUpperCase()})),e("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:()=>{this.flowElement.back()}},t.actions.cancelSave),e("calcite-button",{slot:"footer",width:"half",onClick:async()=>{const t=Array.from(this._hostElement.getElementsByTagName("calcite-input-text")),e=this._hostElement.getElementsByTagName("calcite-text-area")[0],s=t.find((i=>"inputName"===i.id)),c=t.find((i=>"inputOwner"===i.id)),o=Array.from(this._hostElement.getElementsByTagName("calcite-chip-group"))[0];this.versionPropertiesSaveClickedEvent.emit({serviceUrl:i,versionInfo:{access:o.selectedItems[0].value,description:e.value,versionIdentifier:{name:""!==c.value?`${c.value}.${s.value}`:s.value,guid:n?n.versionIdentifier.guid:""}}})}},t.actions.saveVersion)),"failed"===this.state?e("calcite-notice",{class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer"},e("div",{slot:"message"},this._getExecutionError(c))):void 0)))}_getExecutionError(i){const{strings:{executionErrors:t}}=this;switch(i){case"no-advanced-editing-user-type-extension":return t.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return t.noFeatureServiceFound;case"no-valid-enterprise-version":return t.notValidEnterpriseVersion;case"no-valid-version-name":return t.invalidVersionName;default:return i}}get _hostElement(){return n(this)}};export{o as arcgis_version_management_service_item,a as arcgis_version_management_version_properties}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as t,c as i,h as s,g as h}from"./p-cf115433.js";import{R as e,i as a}from"./p-08b9f923.js";import{r,c,a as o}from"./p-af72e854.js";import{o as l}from"./p-e54e0ed6.js";const n=class{constructor(s){t(this,s),this.arcgisSearchReady=i(this,"arcgisSearchReady",7),this.searchBlur=i(this,"searchBlur",7),this.searchClear=i(this,"searchClear",7),this.searchComplete=i(this,"searchComplete",7),this.searchFocus=i(this,"searchFocus",7),this.searchStart=i(this,"searchStart",7),this.searchSelectResult=i(this,"searchSelectResult",7),this.searchSuggestComplete=i(this,"searchSuggestComplete",7),this.searchSuggestStart=i(this,"searchSuggestStart",7),this._watchHandles=[],this.referenceElement=void 0,this.activeMenu="none",this.activeSource=void 0,this.activeSourceIndex=0,this.allPlaceholder="Find address or place",this.allSources=void 0,this.autoSelect=!0,this.defaultSources=void 0,this.disabled=!1,this.icon=void 0,this.includeDefaultSources=!0,this.locationEnabled=!0,this.maxResults=6,this.maxSuggestions=6,this.minSuggestCharacters=3,this.popupEnabled=!0,this.popupTemplate=void 0,this.portal=void 0,this.resultGraphic=void 0,this.resultGraphicEnabled=!0,this.results=void 0,this.searchAllEnabled=!0,this.searchTerm=void 0,this.selectedResult=void 0,this.sources=void 0,this.suggestions=void 0,this.suggestionsEnabled=!0,this.position="top-right",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeMenuWatcher(t){void 0!==t&&this.widget&&(this.widget.activeMenu=t)}activeSourceIndexWatcher(t){void 0!==t&&this.widget&&(this.widget.activeSourceIndex=t)}allPlaceholderWatcher(t){this.widget&&(this.widget.allPlaceholder=t)}autoSelectWatcher(t){void 0!==t&&this.widget&&(this.widget.autoSelect=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}includeDefaultSourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultSources=t)}locationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.locationEnabled=t)}maxResultsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxResults=t)}maxSuggestionsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxSuggestions=t)}minSuggestCharactersWatcher(t){void 0!==t&&this.widget&&(this.widget.minSuggestCharacters=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}popupTemplateWatcher(t){this.widget&&(this.widget.popupTemplate=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}resultGraphicEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.resultGraphicEnabled=t)}searchAllEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.searchAllEnabled=t)}searchTermWatcher(t){this.widget&&(this.widget.searchTerm=t)}sourcesWatcher(t){this.widget&&(this.widget.sources=t)}suggestionsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.suggestionsEnabled=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 blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async focusSearch(){this.widget?.focus()}async search(t){return await(this.widget?.search(t))}async suggest(t){return await(this.widget?.suggest(t))}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisSearchReady.emit(),c(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();o(this,t((()=>this.widget.activeSource),(t=>this.activeSource=t),{initial:!0})),o(this,t((()=>this.widget.activeSourceIndex),(t=>this.activeSourceIndex=t),{initial:!0})),o(this,t((()=>this.widget.allSources),(t=>this.allSources=t),{initial:!0})),o(this,t((()=>this.widget.defaultSources),(t=>this.defaultSources=t),{initial:!0})),o(this,t((()=>this.widget.disabled),(t=>this.disabled=t),{initial:!0})),o(this,t((()=>this.widget.resultGraphic),(t=>this.resultGraphic=t),{initial:!0})),o(this,t((()=>this.widget.results),(t=>this.results=t),{initial:!0})),o(this,t((()=>this.widget.selectedResult),(t=>this.selectedResult=t),{initial:!0})),o(this,t((()=>this.widget.suggestions),(t=>this.suggestions=t),{initial:!0}))}_createParams(){const t={};return this.allPlaceholder&&(t.allPlaceholder=this.allPlaceholder),void 0!==this.autoSelect&&(t.autoSelect=this.autoSelect),void 0!==this.includeDefaultSources&&(t.includeDefaultSources=this.includeDefaultSources),void 0!==this.locationEnabled&&(t.locationEnabled=this.locationEnabled),void 0!==this.maxResults&&(t.maxResults=this.maxResults),void 0!==this.maxSuggestions&&(t.maxSuggestions=this.maxSuggestions),void 0!==this.minSuggestCharacters&&(t.minSuggestCharacters=this.minSuggestCharacters),void 0!==this.popupEnabled&&(t.popupEnabled=this.popupEnabled),this.popupTemplate&&(t.popupTemplate=this.popupTemplate),this.portal&&(t.portal=this.portal),void 0!==this.resultGraphicEnabled&&(t.resultGraphicEnabled=this.resultGraphicEnabled),void 0!==this.searchAllEnabled&&(t.searchAllEnabled=this.searchAllEnabled),this.searchTerm&&(t.searchTerm=this.searchTerm),this.sources&&(t.sources=this.sources),void 0!==this.suggestionsEnabled&&(t.suggestionsEnabled=this.suggestionsEnabled),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("search-blur",(t=>this.searchBlur.emit(t))),this.widget.on("search-clear",(t=>this.searchClear.emit(t))),this.widget.on("search-complete",(t=>this.searchComplete.emit(t))),this.widget.on("search-focus",(t=>this.searchFocus.emit(t))),this.widget.on("search-start",(t=>this.searchStart.emit(t))),this.widget.on("select-result",(t=>this.searchSelectResult.emit(t))),this.widget.on("suggest-complete",(t=>this.searchSuggestComplete.emit(t))),this.widget.on("suggest-start",(t=>this.searchSuggestStart.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeMenu:["activeMenuWatcher"],activeSourceIndex:["activeSourceIndexWatcher"],allPlaceholder:["allPlaceholderWatcher"],autoSelect:["autoSelectWatcher"],disabled:["disabledWatcher"],icon:["iconWatcher"],includeDefaultSources:["includeDefaultSourcesWatcher"],locationEnabled:["locationEnabledWatcher"],maxResults:["maxResultsWatcher"],maxSuggestions:["maxSuggestionsWatcher"],minSuggestCharacters:["minSuggestCharactersWatcher"],popupEnabled:["popupEnabledWatcher"],popupTemplate:["popupTemplateWatcher"],portal:["portalWatcher"],resultGraphicEnabled:["resultGraphicEnabledWatcher"],searchAllEnabled:["searchAllEnabledWatcher"],searchTerm:["searchTermWatcher"],sources:["sourcesWatcher"],suggestionsEnabled:["suggestionsEnabledWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_search}
6
+ import{r as t,c as i,h as s,g as h}from"./p-f233b76c.js";import{R as e,i as a}from"./p-d2249660.js";import{r,c,a as o}from"./p-d9a19770.js";import{o as l}from"./p-0700d3a0.js";const d=class{constructor(s){t(this,s),this.arcgisSearchReady=i(this,"arcgisSearchReady",7),this.searchBlur=i(this,"searchBlur",7),this.searchClear=i(this,"searchClear",7),this.searchComplete=i(this,"searchComplete",7),this.searchFocus=i(this,"searchFocus",7),this.searchStart=i(this,"searchStart",7),this.searchSelectResult=i(this,"searchSelectResult",7),this.searchSuggestComplete=i(this,"searchSuggestComplete",7),this.searchSuggestStart=i(this,"searchSuggestStart",7),this._watchHandles=[],this.referenceElement=void 0,this.activeMenu="none",this.activeSource=void 0,this.activeSourceIndex=0,this.allPlaceholder="Find address or place",this.allSources=void 0,this.autoSelect=!0,this.defaultSources=void 0,this.disabled=!1,this.icon=void 0,this.includeDefaultSources=!0,this.locationEnabled=!0,this.maxResults=6,this.maxSuggestions=6,this.minSuggestCharacters=3,this.popupEnabled=!0,this.popupTemplate=void 0,this.portal=void 0,this.resultGraphic=void 0,this.resultGraphicEnabled=!0,this.results=void 0,this.searchAllEnabled=!0,this.searchTerm=void 0,this.selectedResult=void 0,this.sources=void 0,this.suggestions=void 0,this.suggestionsEnabled=!0,this.position="top-right",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}activeMenuWatcher(t){void 0!==t&&this.widget&&(this.widget.activeMenu=t)}activeSourceIndexWatcher(t){void 0!==t&&this.widget&&(this.widget.activeSourceIndex=t)}allPlaceholderWatcher(t){this.widget&&(this.widget.allPlaceholder=t)}autoSelectWatcher(t){void 0!==t&&this.widget&&(this.widget.autoSelect=t)}disabledWatcher(t,i){this.widget&&t!==i&&(this.widget.disabled=t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}includeDefaultSourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultSources=t)}locationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.locationEnabled=t)}maxResultsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxResults=t)}maxSuggestionsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxSuggestions=t)}minSuggestCharactersWatcher(t){void 0!==t&&this.widget&&(this.widget.minSuggestCharacters=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}popupTemplateWatcher(t){this.widget&&(this.widget.popupTemplate=t)}portalWatcher(t){this.widget&&(this.widget.portal=t)}resultGraphicEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.resultGraphicEnabled=t)}searchAllEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.searchAllEnabled=t)}searchTermWatcher(t){this.widget&&(this.widget.searchTerm=t)}sourcesWatcher(t){this.widget&&(this.widget.sources=t)}suggestionsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.suggestionsEnabled=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 blurSearch(){this.widget?.blur()}async clearSearch(){this.widget?.clear()}async focusSearch(){this.widget?.focus()}async search(t){return await(this.widget?.search(t))}async suggest(t){return await(this.widget?.suggest(t))}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisSearchReady.emit(),c(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();o(this,t((()=>this.widget.activeSource),(t=>this.activeSource=t),{initial:!0})),o(this,t((()=>this.widget.activeSourceIndex),(t=>this.activeSourceIndex=t),{initial:!0})),o(this,t((()=>this.widget.allSources),(t=>this.allSources=t),{initial:!0})),o(this,t((()=>this.widget.defaultSources),(t=>this.defaultSources=t),{initial:!0})),o(this,t((()=>this.widget.disabled),(t=>this.disabled=t),{initial:!0})),o(this,t((()=>this.widget.resultGraphic),(t=>this.resultGraphic=t),{initial:!0})),o(this,t((()=>this.widget.results),(t=>this.results=t),{initial:!0})),o(this,t((()=>this.widget.selectedResult),(t=>this.selectedResult=t),{initial:!0})),o(this,t((()=>this.widget.suggestions),(t=>this.suggestions=t),{initial:!0}))}_createParams(){const t={};return this.allPlaceholder&&(t.allPlaceholder=this.allPlaceholder),void 0!==this.autoSelect&&(t.autoSelect=this.autoSelect),void 0!==this.includeDefaultSources&&(t.includeDefaultSources=this.includeDefaultSources),void 0!==this.locationEnabled&&(t.locationEnabled=this.locationEnabled),void 0!==this.maxResults&&(t.maxResults=this.maxResults),void 0!==this.maxSuggestions&&(t.maxSuggestions=this.maxSuggestions),void 0!==this.minSuggestCharacters&&(t.minSuggestCharacters=this.minSuggestCharacters),void 0!==this.popupEnabled&&(t.popupEnabled=this.popupEnabled),this.popupTemplate&&(t.popupTemplate=this.popupTemplate),this.portal&&(t.portal=this.portal),void 0!==this.resultGraphicEnabled&&(t.resultGraphicEnabled=this.resultGraphicEnabled),void 0!==this.searchAllEnabled&&(t.searchAllEnabled=this.searchAllEnabled),this.searchTerm&&(t.searchTerm=this.searchTerm),this.sources&&(t.sources=this.sources),void 0!==this.suggestionsEnabled&&(t.suggestionsEnabled=this.suggestionsEnabled),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("search-blur",(t=>this.searchBlur.emit(t))),this.widget.on("search-clear",(t=>this.searchClear.emit(t))),this.widget.on("search-complete",(t=>this.searchComplete.emit(t))),this.widget.on("search-focus",(t=>this.searchFocus.emit(t))),this.widget.on("search-start",(t=>this.searchStart.emit(t))),this.widget.on("select-result",(t=>this.searchSelectResult.emit(t))),this.widget.on("suggest-complete",(t=>this.searchSuggestComplete.emit(t))),this.widget.on("suggest-start",(t=>this.searchSuggestStart.emit(t)))}get el(){return h(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeMenu:["activeMenuWatcher"],activeSourceIndex:["activeSourceIndexWatcher"],allPlaceholder:["allPlaceholderWatcher"],autoSelect:["autoSelectWatcher"],disabled:["disabledWatcher"],icon:["iconWatcher"],includeDefaultSources:["includeDefaultSourcesWatcher"],locationEnabled:["locationEnabledWatcher"],maxResults:["maxResultsWatcher"],maxSuggestions:["maxSuggestionsWatcher"],minSuggestCharacters:["minSuggestCharactersWatcher"],popupEnabled:["popupEnabledWatcher"],popupTemplate:["popupTemplateWatcher"],portal:["portalWatcher"],resultGraphicEnabled:["resultGraphicEnabledWatcher"],searchAllEnabled:["searchAllEnabledWatcher"],searchTerm:["searchTermWatcher"],sources:["sourcesWatcher"],suggestionsEnabled:["suggestionsEnabledWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_search}
@@ -1,6 +1,6 @@
1
1
  /*!
2
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.1
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.0
5
5
  */
6
- import{r as e,c as t,h as i,g as s}from"./p-cf115433.js";import{x as h,y as l,i as n}from"./p-08b9f923.js";import{r as a,i as o,c as r,a as c}from"./p-af72e854.js";import{o as m}from"./p-e54e0ed6.js";const d=class{constructor(i){e(this,i),this.arcgisFeatureTableReady=t(this,"arcgisFeatureTableReady",7),this.featureTableSelectionChange=t(this,"featureTableSelectionChange",7),this._watchHandles=[],this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=[],this.attachmentsEnabled=!1,this.autoRefreshEnabled=!0,this.columnReorderingEnabled=!0,this.columns=void 0,this.editingEnabled=!1,this.filterGeometry=void 0,this.hiddenFields=!0,this.highlightEnabled=!0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=!1,this.pageSize=50,this.returnGeometryEnabled=!1,this.state=void 0,this.tableTemplate=void 0,this.timeZone=void 0,this.itemId=void 0,this.url=void 0,this.visibleElementsHeader=!0,this.visibleElementsMenu=!0,this.visibleElementsSelectionColumn=!0,this.visibleElementsColumnMenus=!0,this.visibleElementsMenuItemsClearSelection=!0,this.visibleElementsMenuItemsDeleteSelection=!0,this.visibleElementsMenuItemsRefreshData=!0,this.visibleElementsMenuItemsSelectedRecordsShowAllToggle=!0,this.visibleElementsMenuItemsToggleColumns=!0,this.visibleElementsMenuItemsZoomToSelection=!0,this.view=void 0,this.widget=void 0}referenceElementWatcher(e){a(this,e)}attachmentsEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.attachmentsEnabled=e)}autoRefreshEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.autoRefreshEnabled=e)}columnReorderingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.columnReorderingEnabled=e)}editingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.editingEnabled=e)}filterGeometryWatcher(e){e&&this.widget&&(this.widget.filterGeometry=e)}hiddenFieldsWatcher(e){e&&this.widget&&(this.widget.hiddenFields=e)}highlightEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.highlightEnabled=e)}highlightIdsWatcher(e){e&&this.widget&&(this.widget.highlightIds=e)}layerWatcher(e){e&&this.widget?this.widget.layer=e:e||(this.widget.layer=null)}menuConfigWatcher(e){e&&this.widget&&(this.widget.menuConfig=e)}multiSortEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.multiSortEnabled=e)}pageSizeWatcher(e){void 0!==e&&this.widget&&(this.widget.pageSize=e)}returnGeometryEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.returnGeometryEnabled=e)}tableTemplateWatcher(e){e&&this.widget&&(this.widget.tableTemplate=e)}timeZoneWatcher(e){this.widget&&(this.widget.timeZone=e)}async itemIdWatcher(e,t){if(o(e))this.layer=null;else if(e&&e!==t){const t=await h({portalItem:{id:e}});this.layer=t}}async urlWatcher(e,t){if(e&&e!==t){const t=await h({url:e});this.layer=t}}visibleElementsHeaderWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:e})}visibleElementsMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menu:e})}visibleElementsSelectionColumnWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionColumn:e})}visibleElementsColumnMenusWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,columnMenus:e})}visibleElementsMenuItemsClearSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,clearSelection:e}})}visibleElementsMenuItemsDeleteSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,deleteSelection:e}})}visibleElementsMenuItemsRefreshDataWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,refreshData:e}})}visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,selectedRecordsShowAllToggle:e}})}visibleElementsMenuItemsToggleColumnsWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,toggleColumns:e}})}visibleElementsMenuItemsZoomToSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,zoomToSelection:e}})}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async clearSelectionFilter(){this.widget?.clearSelectionFilter()}async deleteSelection(e){await(this.widget?.deleteSelection(e))}async filterBySelection(){this.widget?.filterBySelection()}async findColumn(e){return this.widget?.findColumn(e)}async hideColumn(e){this.widget?.hideColumn(e)}async refresh(){await(this.widget?.refresh())}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}async componentDidLoad(){const e=await this._createParams(),t=await l(e);this.widget=t,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeatureTableReady.emit(),r(this)}disconnectedCallback(){m(this)}render(){return i("div",{class:"arcgis-feature-table",ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await n();c(this,e((()=>this.widget.activeFilters),(e=>this.activeFilters=e),{initial:!0})),c(this,e((()=>this.widget.activeSortOrders),(e=>this.activeSortOrders=e),{initial:!0})),c(this,e((()=>this.widget.columns),(e=>this.columns=e),{initial:!0})),c(this,e((()=>this.widget.menu),(e=>this.menu=e),{initial:!0})),c(this,e((()=>this.widget.state),(e=>this.state=e),{initial:!0}))}async _createParams(){const e={};return e.visibleElements={header:this.visibleElementsHeader,menu:this.visibleElementsMenu,selectionColumn:this.visibleElementsSelectionColumn,columnMenus:this.visibleElementsColumnMenus,menuItems:{clearSelection:this.visibleElementsMenuItemsClearSelection,deleteSelection:this.visibleElementsMenuItemsDeleteSelection,refreshData:this.visibleElementsMenuItemsRefreshData,selectedRecordsShowAllToggle:this.visibleElementsMenuItemsSelectedRecordsShowAllToggle,toggleColumns:this.visibleElementsMenuItemsToggleColumns,zoomToSelection:this.visibleElementsMenuItemsZoomToSelection}},this.view&&(e.view=this.view),void 0!==this.attachmentsEnabled&&(e.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(e.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(e.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(e.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(e.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(e.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(e.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(e.highlightIds=this.highlightIds),void 0!==this.menuConfig&&(e.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(e.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(e.pageSize=this.pageSize),void 0!==this.tableTemplate&&(e.tableTemplate=this.tableTemplate),void 0!==this.timeZone&&(e.timeZone=this.timeZone),void 0!==this.layer?e.layer=this.layer:this.url?e.layer=await h({url:this.url}):this.itemId&&(e.layer=await h({portalItem:{id:this.itemId}})),e}_proxyEvents(){this.widget?.highlightIds.on("change",(e=>this.featureTableSelectionChange.emit(e)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],layer:["layerWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],returnGeometryEnabled:["returnGeometryEnabledWatcher"],tableTemplate:["tableTemplateWatcher"],timeZone:["timeZoneWatcher"],itemId:["itemIdWatcher"],url:["urlWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsMenu:["visibleElementsMenuWatcher"],visibleElementsSelectionColumn:["visibleElementsSelectionColumnWatcher"],visibleElementsColumnMenus:["visibleElementsColumnMenusWatcher"],visibleElementsMenuItemsClearSelection:["visibleElementsMenuItemsClearSelectionWatcher"],visibleElementsMenuItemsDeleteSelection:["visibleElementsMenuItemsDeleteSelectionWatcher"],visibleElementsMenuItemsRefreshData:["visibleElementsMenuItemsRefreshDataWatcher"],visibleElementsMenuItemsSelectedRecordsShowAllToggle:["visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher"],visibleElementsMenuItemsToggleColumns:["visibleElementsMenuItemsToggleColumnsWatcher"],visibleElementsMenuItemsZoomToSelection:["visibleElementsMenuItemsZoomToSelectionWatcher"],view:["viewWatcher"]}}};d.style=".arcgis-feature-table{width:100%;height:100%}";export{d as arcgis_feature_table}
6
+ import{r as e,c as t,h as i,g as s}from"./p-f233b76c.js";import{x as h,y as l,i as a}from"./p-d2249660.js";import{r as n,i as o,c as r,a as c}from"./p-d9a19770.js";import{o as m}from"./p-0700d3a0.js";const d=class{constructor(i){e(this,i),this.arcgisFeatureTableReady=t(this,"arcgisFeatureTableReady",7),this.featureTableSelectionChange=t(this,"featureTableSelectionChange",7),this._watchHandles=[],this.referenceElement=void 0,this.activeFilters=void 0,this.activeSortOrders=[],this.attachmentsEnabled=!1,this.autoRefreshEnabled=!0,this.columnReorderingEnabled=!0,this.columns=void 0,this.editingEnabled=!1,this.filterGeometry=void 0,this.hiddenFields=!0,this.highlightEnabled=!0,this.highlightIds=void 0,this.layer=void 0,this.menu=void 0,this.menuConfig=void 0,this.multiSortEnabled=!1,this.pageSize=50,this.returnGeometryEnabled=!1,this.state=void 0,this.tableTemplate=void 0,this.timeZone=void 0,this.itemId=void 0,this.url=void 0,this.visibleElementsHeader=!0,this.visibleElementsMenu=!0,this.visibleElementsSelectionColumn=!0,this.visibleElementsColumnMenus=!0,this.visibleElementsMenuItemsClearSelection=!0,this.visibleElementsMenuItemsDeleteSelection=!0,this.visibleElementsMenuItemsRefreshData=!0,this.visibleElementsMenuItemsSelectedRecordsShowAllToggle=!0,this.visibleElementsMenuItemsToggleColumns=!0,this.visibleElementsMenuItemsZoomToSelection=!0,this.view=void 0,this.widget=void 0}referenceElementWatcher(e){n(this,e)}attachmentsEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.attachmentsEnabled=e)}autoRefreshEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.autoRefreshEnabled=e)}columnReorderingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.columnReorderingEnabled=e)}editingEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.editingEnabled=e)}filterGeometryWatcher(e){e&&this.widget&&(this.widget.filterGeometry=e)}hiddenFieldsWatcher(e){e&&this.widget&&(this.widget.hiddenFields=e)}highlightEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.highlightEnabled=e)}highlightIdsWatcher(e){e&&this.widget&&(this.widget.highlightIds=e)}layerWatcher(e){e&&this.widget?this.widget.layer=e:e||(this.widget.layer=null)}menuConfigWatcher(e){e&&this.widget&&(this.widget.menuConfig=e)}multiSortEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.multiSortEnabled=e)}pageSizeWatcher(e){void 0!==e&&this.widget&&(this.widget.pageSize=e)}returnGeometryEnabledWatcher(e){void 0!==e&&this.widget&&(this.widget.returnGeometryEnabled=e)}tableTemplateWatcher(e){e&&this.widget&&(this.widget.tableTemplate=e)}timeZoneWatcher(e){this.widget&&(this.widget.timeZone=e)}async itemIdWatcher(e,t){if(o(e))this.layer=null;else if(e&&e!==t){const t=await h({portalItem:{id:e}});this.layer=t}}async urlWatcher(e,t){if(e&&e!==t){const t=await h({url:e});this.layer=t}}visibleElementsHeaderWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:e})}visibleElementsMenuWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menu:e})}visibleElementsSelectionColumnWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,selectionColumn:e})}visibleElementsColumnMenusWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,columnMenus:e})}visibleElementsMenuItemsClearSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,clearSelection:e}})}visibleElementsMenuItemsDeleteSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,deleteSelection:e}})}visibleElementsMenuItemsRefreshDataWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,refreshData:e}})}visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,selectedRecordsShowAllToggle:e}})}visibleElementsMenuItemsToggleColumnsWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,toggleColumns:e}})}visibleElementsMenuItemsZoomToSelectionWatcher(e){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,menuItems:{...this.widget.visibleElements.menuItems,zoomToSelection:e}})}viewWatcher(e){void 0!==e&&this.widget&&(this.widget.view=e)}async clearSelectionFilter(){this.widget?.clearSelectionFilter()}async deleteSelection(e){await(this.widget?.deleteSelection(e))}async filterBySelection(){this.widget?.filterBySelection()}async findColumn(e){return this.widget?.findColumn(e)}async hideColumn(e){this.widget?.hideColumn(e)}async refresh(){await(this.widget?.refresh())}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}async componentDidLoad(){const e=await this._createParams(),t=await l(e);this.widget=t,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeatureTableReady.emit(),r(this)}disconnectedCallback(){m(this)}render(){return i("div",{class:"arcgis-feature-table",ref:e=>this.childElem=e})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:e}=await a();c(this,e((()=>this.widget.activeFilters),(e=>this.activeFilters=e),{initial:!0})),c(this,e((()=>this.widget.activeSortOrders),(e=>this.activeSortOrders=e),{initial:!0})),c(this,e((()=>this.widget.columns),(e=>this.columns=e),{initial:!0})),c(this,e((()=>this.widget.menu),(e=>this.menu=e),{initial:!0})),c(this,e((()=>this.widget.state),(e=>this.state=e),{initial:!0}))}async _createParams(){const e={};return e.visibleElements={header:this.visibleElementsHeader,menu:this.visibleElementsMenu,selectionColumn:this.visibleElementsSelectionColumn,columnMenus:this.visibleElementsColumnMenus,menuItems:{clearSelection:this.visibleElementsMenuItemsClearSelection,deleteSelection:this.visibleElementsMenuItemsDeleteSelection,refreshData:this.visibleElementsMenuItemsRefreshData,selectedRecordsShowAllToggle:this.visibleElementsMenuItemsSelectedRecordsShowAllToggle,toggleColumns:this.visibleElementsMenuItemsToggleColumns,zoomToSelection:this.visibleElementsMenuItemsZoomToSelection}},this.view&&(e.view=this.view),void 0!==this.attachmentsEnabled&&(e.attachmentsEnabled=this.attachmentsEnabled),void 0!==this.autoRefreshEnabled&&(e.autoRefreshEnabled=this.autoRefreshEnabled),void 0!==this.columnReorderingEnabled&&(e.columnReorderingEnabled=this.columnReorderingEnabled),void 0!==this.editingEnabled&&(e.editingEnabled=this.editingEnabled),void 0!==this.filterGeometry&&(e.filterGeometry=this.filterGeometry),void 0!==this.hiddenFields&&(e.hiddenFields=this.hiddenFields),void 0!==this.highlightEnabled&&(e.highlightEnabled=this.highlightEnabled),void 0!==this.highlightIds&&(e.highlightIds=this.highlightIds),void 0!==this.menuConfig&&(e.menuConfig=this.menuConfig),void 0!==this.multiSortEnabled&&(e.multiSortEnabled=this.multiSortEnabled),void 0!==this.pageSize&&(e.pageSize=this.pageSize),void 0!==this.tableTemplate&&(e.tableTemplate=this.tableTemplate),void 0!==this.timeZone&&(e.timeZone=this.timeZone),void 0!==this.layer?e.layer=this.layer:this.url?e.layer=await h({url:this.url}):this.itemId&&(e.layer=await h({portalItem:{id:this.itemId}})),e}_proxyEvents(){this.widget?.highlightIds.on("change",(e=>this.featureTableSelectionChange.emit(e)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],attachmentsEnabled:["attachmentsEnabledWatcher"],autoRefreshEnabled:["autoRefreshEnabledWatcher"],columnReorderingEnabled:["columnReorderingEnabledWatcher"],editingEnabled:["editingEnabledWatcher"],filterGeometry:["filterGeometryWatcher"],hiddenFields:["hiddenFieldsWatcher"],highlightEnabled:["highlightEnabledWatcher"],highlightIds:["highlightIdsWatcher"],layer:["layerWatcher"],menuConfig:["menuConfigWatcher"],multiSortEnabled:["multiSortEnabledWatcher"],pageSize:["pageSizeWatcher"],returnGeometryEnabled:["returnGeometryEnabledWatcher"],tableTemplate:["tableTemplateWatcher"],timeZone:["timeZoneWatcher"],itemId:["itemIdWatcher"],url:["urlWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],visibleElementsMenu:["visibleElementsMenuWatcher"],visibleElementsSelectionColumn:["visibleElementsSelectionColumnWatcher"],visibleElementsColumnMenus:["visibleElementsColumnMenusWatcher"],visibleElementsMenuItemsClearSelection:["visibleElementsMenuItemsClearSelectionWatcher"],visibleElementsMenuItemsDeleteSelection:["visibleElementsMenuItemsDeleteSelectionWatcher"],visibleElementsMenuItemsRefreshData:["visibleElementsMenuItemsRefreshDataWatcher"],visibleElementsMenuItemsSelectedRecordsShowAllToggle:["visibleElementsMenuItemsSelectedRecordsShowAllToggleWatcher"],visibleElementsMenuItemsToggleColumns:["visibleElementsMenuItemsToggleColumnsWatcher"],visibleElementsMenuItemsZoomToSelection:["visibleElementsMenuItemsZoomToSelectionWatcher"],view:["viewWatcher"]}}};d.style=".arcgis-feature-table{width:100%;height:100%}";export{d as arcgis_feature_table}