@arcgis/map-components 4.29.0-beta.5 → 4.29.0-beta.50

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 (706) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -1
  3. package/dist/arcgis-map-components/arcgis-map-components.esm.js.map +1 -0
  4. package/dist/arcgis-map-components/index.esm.js +2 -0
  5. package/dist/arcgis-map-components/index.esm.js.map +1 -0
  6. package/dist/arcgis-map-components/p-04a5c176.entry.js +2 -0
  7. package/dist/arcgis-map-components/p-04a5c176.entry.js.map +1 -0
  8. package/dist/arcgis-map-components/p-0bd2cb52.entry.js +2 -0
  9. package/dist/arcgis-map-components/p-0bd2cb52.entry.js.map +1 -0
  10. package/dist/arcgis-map-components/p-108fc9da.entry.js +2 -0
  11. package/dist/arcgis-map-components/p-108fc9da.entry.js.map +1 -0
  12. package/dist/arcgis-map-components/p-16b1105c.entry.js +2 -0
  13. package/dist/arcgis-map-components/p-16b1105c.entry.js.map +1 -0
  14. package/dist/arcgis-map-components/p-182e62c1.entry.js +2 -0
  15. package/dist/arcgis-map-components/p-182e62c1.entry.js.map +1 -0
  16. package/dist/arcgis-map-components/p-1b3c344e.entry.js +2 -0
  17. package/dist/arcgis-map-components/p-1b3c344e.entry.js.map +1 -0
  18. package/dist/arcgis-map-components/p-1cbc6c67.entry.js +2 -0
  19. package/dist/arcgis-map-components/p-1cbc6c67.entry.js.map +1 -0
  20. package/dist/arcgis-map-components/p-234bce9a.entry.js +2 -0
  21. package/dist/arcgis-map-components/p-234bce9a.entry.js.map +1 -0
  22. package/dist/arcgis-map-components/p-280a13d4.entry.js +2 -0
  23. package/dist/arcgis-map-components/p-280a13d4.entry.js.map +1 -0
  24. package/dist/arcgis-map-components/p-2f3c811c.entry.js +2 -0
  25. package/dist/arcgis-map-components/p-2f3c811c.entry.js.map +1 -0
  26. package/dist/arcgis-map-components/p-3b572dd1.entry.js +2 -0
  27. package/dist/arcgis-map-components/p-3b572dd1.entry.js.map +1 -0
  28. package/dist/arcgis-map-components/p-41cc628e.entry.js +2 -0
  29. package/dist/arcgis-map-components/p-41cc628e.entry.js.map +1 -0
  30. package/dist/arcgis-map-components/p-4ee3e288.entry.js +2 -0
  31. package/dist/arcgis-map-components/p-4ee3e288.entry.js.map +1 -0
  32. package/dist/arcgis-map-components/p-4fcb2958.entry.js +2 -0
  33. package/dist/arcgis-map-components/p-4fcb2958.entry.js.map +1 -0
  34. package/dist/arcgis-map-components/p-5ea9c4f5.entry.js +2 -0
  35. package/dist/arcgis-map-components/p-5ea9c4f5.entry.js.map +1 -0
  36. package/dist/arcgis-map-components/p-6651c132.entry.js +2 -0
  37. package/dist/arcgis-map-components/p-6651c132.entry.js.map +1 -0
  38. package/dist/arcgis-map-components/p-6944d5fa.entry.js +2 -0
  39. package/dist/arcgis-map-components/p-6944d5fa.entry.js.map +1 -0
  40. package/dist/arcgis-map-components/p-6a660600.entry.js +2 -0
  41. package/dist/arcgis-map-components/p-6a660600.entry.js.map +1 -0
  42. package/dist/arcgis-map-components/p-6b0badf4.entry.js +2 -0
  43. package/dist/arcgis-map-components/p-6b0badf4.entry.js.map +1 -0
  44. package/dist/arcgis-map-components/p-7323ead1.entry.js +2 -0
  45. package/dist/arcgis-map-components/p-7323ead1.entry.js.map +1 -0
  46. package/dist/arcgis-map-components/p-75df58f2.entry.js +2 -0
  47. package/dist/arcgis-map-components/p-75df58f2.entry.js.map +1 -0
  48. package/dist/arcgis-map-components/p-76d8a9c0.entry.js +2 -0
  49. package/dist/arcgis-map-components/p-76d8a9c0.entry.js.map +1 -0
  50. package/dist/arcgis-map-components/p-77c37a42.entry.js +2 -0
  51. package/dist/arcgis-map-components/p-77c37a42.entry.js.map +1 -0
  52. package/dist/arcgis-map-components/p-79cd2168.entry.js +2 -0
  53. package/dist/arcgis-map-components/p-79cd2168.entry.js.map +1 -0
  54. package/dist/arcgis-map-components/p-7d0292de.entry.js +2 -0
  55. package/dist/arcgis-map-components/p-7d0292de.entry.js.map +1 -0
  56. package/dist/arcgis-map-components/p-7e08fce7.entry.js +2 -0
  57. package/dist/arcgis-map-components/p-7e08fce7.entry.js.map +1 -0
  58. package/dist/arcgis-map-components/p-85f15a50.entry.js +2 -0
  59. package/dist/arcgis-map-components/p-85f15a50.entry.js.map +1 -0
  60. package/dist/arcgis-map-components/p-8896b456.js +3 -0
  61. package/dist/arcgis-map-components/p-8896b456.js.map +1 -0
  62. package/dist/arcgis-map-components/p-898ebe55.entry.js +2 -0
  63. package/dist/arcgis-map-components/p-898ebe55.entry.js.map +1 -0
  64. package/dist/arcgis-map-components/p-8c591aa0.js +2 -0
  65. package/dist/arcgis-map-components/p-8c591aa0.js.map +1 -0
  66. package/dist/arcgis-map-components/p-8cd5e748.js +2 -0
  67. package/dist/arcgis-map-components/p-8cd5e748.js.map +1 -0
  68. package/dist/arcgis-map-components/p-8db54e82.entry.js +2 -0
  69. package/dist/arcgis-map-components/p-8db54e82.entry.js.map +1 -0
  70. package/dist/arcgis-map-components/p-91d8c561.entry.js +2 -0
  71. package/dist/arcgis-map-components/p-91d8c561.entry.js.map +1 -0
  72. package/dist/arcgis-map-components/p-9d5e3443.entry.js +2 -0
  73. package/dist/arcgis-map-components/p-9d5e3443.entry.js.map +1 -0
  74. package/dist/arcgis-map-components/p-9e18ff46.entry.js +2 -0
  75. package/dist/arcgis-map-components/p-9e18ff46.entry.js.map +1 -0
  76. package/dist/arcgis-map-components/p-a6f2aeb4.entry.js +2 -0
  77. package/dist/arcgis-map-components/p-a6f2aeb4.entry.js.map +1 -0
  78. package/dist/arcgis-map-components/p-a8d8d49d.entry.js +2 -0
  79. package/dist/arcgis-map-components/p-a8d8d49d.entry.js.map +1 -0
  80. package/dist/arcgis-map-components/p-a90d4d13.entry.js +2 -0
  81. package/dist/arcgis-map-components/p-a90d4d13.entry.js.map +1 -0
  82. package/dist/arcgis-map-components/p-aa368620.entry.js +2 -0
  83. package/dist/arcgis-map-components/p-aa368620.entry.js.map +1 -0
  84. package/dist/arcgis-map-components/p-b7d8ba84.entry.js +2 -0
  85. package/dist/arcgis-map-components/p-b7d8ba84.entry.js.map +1 -0
  86. package/dist/arcgis-map-components/p-b967fefd.entry.js +2 -0
  87. package/dist/arcgis-map-components/p-b967fefd.entry.js.map +1 -0
  88. package/dist/arcgis-map-components/p-bd4b7737.entry.js +2 -0
  89. package/dist/arcgis-map-components/p-bd4b7737.entry.js.map +1 -0
  90. package/dist/arcgis-map-components/p-becce538.entry.js +2 -0
  91. package/dist/arcgis-map-components/p-becce538.entry.js.map +1 -0
  92. package/dist/arcgis-map-components/p-bfdae454.entry.js +2 -0
  93. package/dist/arcgis-map-components/p-bfdae454.entry.js.map +1 -0
  94. package/dist/arcgis-map-components/p-c267fbc2.entry.js +2 -0
  95. package/dist/arcgis-map-components/p-c267fbc2.entry.js.map +1 -0
  96. package/dist/arcgis-map-components/p-c59f364d.entry.js +2 -0
  97. package/dist/arcgis-map-components/p-c59f364d.entry.js.map +1 -0
  98. package/dist/arcgis-map-components/p-cd74ffa9.entry.js +2 -0
  99. package/dist/arcgis-map-components/p-cd74ffa9.entry.js.map +1 -0
  100. package/dist/arcgis-map-components/p-cfc6c36b.entry.js +2 -0
  101. package/dist/arcgis-map-components/p-cfc6c36b.entry.js.map +1 -0
  102. package/dist/arcgis-map-components/p-d48b266d.entry.js +2 -0
  103. package/dist/arcgis-map-components/p-d48b266d.entry.js.map +1 -0
  104. package/dist/arcgis-map-components/p-dc0af55d.entry.js +2 -0
  105. package/dist/arcgis-map-components/p-dc0af55d.entry.js.map +1 -0
  106. package/dist/arcgis-map-components/p-dc29ada7.entry.js +2 -0
  107. package/dist/arcgis-map-components/p-dc29ada7.entry.js.map +1 -0
  108. package/dist/arcgis-map-components/p-e72408d1.entry.js +2 -0
  109. package/dist/arcgis-map-components/p-e72408d1.entry.js.map +1 -0
  110. package/dist/arcgis-map-components/p-e8f7bdbb.js +2 -0
  111. package/dist/arcgis-map-components/p-e8f7bdbb.js.map +1 -0
  112. package/dist/arcgis-map-components/p-f2d20842.entry.js +2 -0
  113. package/dist/arcgis-map-components/p-f2d20842.entry.js.map +1 -0
  114. package/dist/arcgis-map-components/p-f770a6be.entry.js +2 -0
  115. package/dist/arcgis-map-components/p-f770a6be.entry.js.map +1 -0
  116. package/dist/arcgis-map-components/p-fce90981.entry.js +2 -0
  117. package/dist/arcgis-map-components/p-fce90981.entry.js.map +1 -0
  118. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +89 -85
  119. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js.map +1 -0
  120. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +82 -78
  121. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js.map +1 -0
  122. package/dist/cjs/arcgis-attachments.cjs.entry.js +94 -60
  123. package/dist/cjs/arcgis-attachments.cjs.entry.js.map +1 -0
  124. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +884 -0
  125. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js.map +1 -0
  126. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +163 -134
  127. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js.map +1 -0
  128. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +105 -99
  129. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js.map +1 -0
  130. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +126 -118
  131. package/dist/cjs/arcgis-bookmarks.cjs.entry.js.map +1 -0
  132. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +90 -65
  133. package/dist/cjs/arcgis-building-explorer.cjs.entry.js.map +1 -0
  134. package/dist/cjs/arcgis-compass.cjs.entry.js +73 -77
  135. package/dist/cjs/arcgis-compass.cjs.entry.js.map +1 -0
  136. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +178 -148
  137. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js.map +1 -0
  138. package/dist/cjs/arcgis-daylight.cjs.entry.js +99 -96
  139. package/dist/cjs/arcgis-daylight.cjs.entry.js.map +1 -0
  140. package/dist/cjs/arcgis-directions.cjs.entry.js +206 -184
  141. package/dist/cjs/arcgis-directions.cjs.entry.js.map +1 -0
  142. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +92 -96
  143. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js.map +1 -0
  144. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +84 -88
  145. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js.map +1 -0
  146. package/dist/cjs/arcgis-editor.cjs.entry.js +176 -170
  147. package/dist/cjs/arcgis-editor.cjs.entry.js.map +1 -0
  148. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +125 -112
  149. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js.map +1 -0
  150. package/dist/cjs/arcgis-feature-form.cjs.entry.js +139 -26
  151. package/dist/cjs/arcgis-feature-form.cjs.entry.js.map +1 -0
  152. package/dist/cjs/arcgis-feature-table.cjs.entry.js +326 -297
  153. package/dist/cjs/arcgis-feature-table.cjs.entry.js.map +1 -0
  154. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +124 -60
  155. package/dist/cjs/arcgis-feature-templates.cjs.entry.js.map +1 -0
  156. package/dist/cjs/arcgis-feature.cjs.entry.js +118 -88
  157. package/dist/cjs/arcgis-feature.cjs.entry.js.map +1 -0
  158. package/dist/cjs/arcgis-features.cjs.entry.js +150 -123
  159. package/dist/cjs/arcgis-features.cjs.entry.js.map +1 -0
  160. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +108 -112
  161. package/dist/cjs/arcgis-floor-filter.cjs.entry.js.map +1 -0
  162. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +73 -77
  163. package/dist/cjs/arcgis-fullscreen.cjs.entry.js.map +1 -0
  164. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +198 -70
  165. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js.map +1 -0
  166. package/dist/cjs/arcgis-histogram.cjs.entry.js +138 -26
  167. package/dist/cjs/arcgis-histogram.cjs.entry.js.map +1 -0
  168. package/dist/cjs/arcgis-home.cjs.entry.js +99 -93
  169. package/dist/cjs/arcgis-home.cjs.entry.js.map +1 -0
  170. package/dist/cjs/arcgis-layer-list.cjs.entry.js +143 -118
  171. package/dist/cjs/arcgis-layer-list.cjs.entry.js.map +1 -0
  172. package/dist/cjs/arcgis-legend.cjs.entry.js +132 -136
  173. package/dist/cjs/arcgis-legend.cjs.entry.js.map +1 -0
  174. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +76 -80
  175. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js.map +1 -0
  176. package/dist/cjs/arcgis-locate.cjs.entry.js +143 -148
  177. package/dist/cjs/arcgis-locate.cjs.entry.js.map +1 -0
  178. package/dist/cjs/arcgis-map-components.cjs.js +5 -3
  179. package/dist/cjs/arcgis-map-components.cjs.js.map +1 -0
  180. package/dist/cjs/arcgis-map.cjs.entry.js +543 -0
  181. package/dist/cjs/arcgis-map.cjs.entry.js.map +1 -0
  182. package/dist/cjs/arcgis-measurement.cjs.entry.js +111 -106
  183. package/dist/cjs/arcgis-measurement.cjs.entry.js.map +1 -0
  184. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +79 -83
  185. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js.map +1 -0
  186. package/dist/cjs/arcgis-placement.cjs.entry.js +52 -0
  187. package/dist/cjs/arcgis-placement.cjs.entry.js.map +1 -0
  188. package/dist/cjs/arcgis-print.cjs.entry.js +167 -153
  189. package/dist/cjs/arcgis-print.cjs.entry.js.map +1 -0
  190. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +84 -88
  191. package/dist/cjs/arcgis-scale-bar.cjs.entry.js.map +1 -0
  192. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +142 -136
  193. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js.map +1 -0
  194. package/dist/cjs/arcgis-search.cjs.entry.js +320 -0
  195. package/dist/cjs/arcgis-search.cjs.entry.js.map +1 -0
  196. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +77 -80
  197. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js.map +1 -0
  198. package/dist/cjs/arcgis-sketch.cjs.entry.js +197 -191
  199. package/dist/cjs/arcgis-sketch.cjs.entry.js.map +1 -0
  200. package/dist/cjs/arcgis-slice.cjs.entry.js +75 -88
  201. package/dist/cjs/arcgis-slice.cjs.entry.js.map +1 -0
  202. package/dist/cjs/arcgis-slider.cjs.entry.js +221 -223
  203. package/dist/cjs/arcgis-slider.cjs.entry.js.map +1 -0
  204. package/dist/cjs/arcgis-swipe.cjs.entry.js +102 -99
  205. package/dist/cjs/arcgis-swipe.cjs.entry.js.map +1 -0
  206. package/dist/cjs/arcgis-table-list.cjs.entry.js +122 -102
  207. package/dist/cjs/arcgis-table-list.cjs.entry.js.map +1 -0
  208. package/dist/cjs/arcgis-time-slider.cjs.entry.js +212 -206
  209. package/dist/cjs/arcgis-time-slider.cjs.entry.js.map +1 -0
  210. package/dist/cjs/arcgis-track.cjs.entry.js +120 -124
  211. package/dist/cjs/arcgis-track.cjs.entry.js.map +1 -0
  212. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +209 -210
  213. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js.map +1 -0
  214. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +172 -152
  215. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js.map +1 -0
  216. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +80 -91
  217. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js.map +1 -0
  218. package/dist/cjs/arcgis-value-picker.cjs.entry.js +167 -150
  219. package/dist/cjs/arcgis-value-picker.cjs.entry.js.map +1 -0
  220. package/dist/cjs/arcgis-weather.cjs.entry.js +78 -72
  221. package/dist/cjs/arcgis-weather.cjs.entry.js.map +1 -0
  222. package/dist/cjs/arcgis-zoom.cjs.entry.js +85 -86
  223. package/dist/cjs/arcgis-zoom.cjs.entry.js.map +1 -0
  224. package/dist/cjs/component-utils-ca1e18a6.js +161 -0
  225. package/dist/cjs/component-utils-ca1e18a6.js.map +1 -0
  226. package/dist/cjs/disconnected-4490368b.js +40 -0
  227. package/dist/cjs/disconnected-4490368b.js.map +1 -0
  228. package/dist/cjs/{index-bfda1cdc.js → index-048e90f4.js} +2 -8
  229. package/dist/cjs/index-048e90f4.js.map +1 -0
  230. package/dist/cjs/index-fbce570d.js +2351 -0
  231. package/dist/cjs/index-fbce570d.js.map +1 -0
  232. package/dist/cjs/index.cjs.js +2 -0
  233. package/dist/cjs/index.cjs.js.map +1 -0
  234. package/dist/cjs/loader.cjs.js +5 -12
  235. package/dist/cjs/loader.cjs.js.map +1 -0
  236. package/dist/components/arcgis-area-measurement-2d.d.ts +2 -2
  237. package/dist/components/arcgis-area-measurement-2d.js +119 -109
  238. package/dist/components/arcgis-area-measurement-2d.js.map +1 -0
  239. package/dist/components/arcgis-area-measurement-3d.d.ts +2 -2
  240. package/dist/components/arcgis-area-measurement-3d.js +113 -103
  241. package/dist/components/arcgis-area-measurement-3d.js.map +1 -0
  242. package/dist/components/arcgis-attachments.d.ts +2 -2
  243. package/dist/components/arcgis-attachments.js +127 -84
  244. package/dist/components/arcgis-attachments.js.map +1 -0
  245. package/dist/components/arcgis-basemap-gallery.d.ts +2 -2
  246. package/dist/components/arcgis-basemap-gallery.js +117 -108
  247. package/dist/components/arcgis-basemap-gallery.js.map +1 -0
  248. package/dist/components/arcgis-basemap-layer-list.d.ts +2 -2
  249. package/dist/components/arcgis-basemap-layer-list.js +207 -163
  250. package/dist/components/arcgis-basemap-layer-list.js.map +1 -0
  251. package/dist/components/arcgis-basemap-toggle.d.ts +2 -2
  252. package/dist/components/arcgis-basemap-toggle.js +139 -125
  253. package/dist/components/arcgis-basemap-toggle.js.map +1 -0
  254. package/dist/components/arcgis-bookmarks.d.ts +2 -2
  255. package/dist/components/arcgis-bookmarks.js +176 -157
  256. package/dist/components/arcgis-bookmarks.js.map +1 -0
  257. package/dist/components/arcgis-building-explorer.d.ts +2 -2
  258. package/dist/components/arcgis-building-explorer.js +122 -88
  259. package/dist/components/arcgis-building-explorer.js.map +1 -0
  260. package/dist/components/arcgis-compass.d.ts +2 -2
  261. package/dist/components/arcgis-compass.js +95 -94
  262. package/dist/components/arcgis-compass.js.map +1 -0
  263. package/dist/components/arcgis-coordinate-conversion.d.ts +2 -2
  264. package/dist/components/arcgis-coordinate-conversion.js +226 -181
  265. package/dist/components/arcgis-coordinate-conversion.js.map +1 -0
  266. package/dist/components/arcgis-daylight.d.ts +2 -2
  267. package/dist/components/arcgis-daylight.js +135 -122
  268. package/dist/components/arcgis-daylight.js.map +1 -0
  269. package/dist/components/arcgis-directions.d.ts +2 -2
  270. package/dist/components/arcgis-directions.js +254 -218
  271. package/dist/components/arcgis-directions.js.map +1 -0
  272. package/dist/components/arcgis-directline-measurement-3d.d.ts +2 -2
  273. package/dist/components/arcgis-directline-measurement-3d.js +125 -122
  274. package/dist/components/arcgis-directline-measurement-3d.js.map +1 -0
  275. package/dist/components/arcgis-distance-measurement-2d.d.ts +2 -2
  276. package/dist/components/arcgis-distance-measurement-2d.js +116 -113
  277. package/dist/components/arcgis-distance-measurement-2d.js.map +1 -0
  278. package/dist/components/arcgis-editor.d.ts +2 -2
  279. package/dist/components/arcgis-editor.js +226 -207
  280. package/dist/components/arcgis-editor.js.map +1 -0
  281. package/dist/components/arcgis-elevation-profile.d.ts +2 -2
  282. package/dist/components/arcgis-elevation-profile.js +179 -154
  283. package/dist/components/arcgis-elevation-profile.js.map +1 -0
  284. package/dist/components/arcgis-expand.d.ts +2 -2
  285. package/dist/components/arcgis-expand.js +3 -1
  286. package/dist/components/arcgis-expand.js.map +1 -0
  287. package/dist/components/arcgis-feature-form.d.ts +2 -2
  288. package/dist/components/arcgis-feature-form.js +180 -44
  289. package/dist/components/arcgis-feature-form.js.map +1 -0
  290. package/dist/components/arcgis-feature-table.d.ts +2 -2
  291. package/dist/components/arcgis-feature-table.js +398 -343
  292. package/dist/components/arcgis-feature-table.js.map +1 -0
  293. package/dist/components/arcgis-feature-templates.d.ts +2 -2
  294. package/dist/components/arcgis-feature-templates.js +162 -83
  295. package/dist/components/arcgis-feature-templates.js.map +1 -0
  296. package/dist/components/arcgis-feature.d.ts +2 -2
  297. package/dist/components/arcgis-feature.js +165 -121
  298. package/dist/components/arcgis-feature.js.map +1 -0
  299. package/dist/components/arcgis-features.d.ts +2 -2
  300. package/dist/components/arcgis-features.js +195 -157
  301. package/dist/components/arcgis-features.js.map +1 -0
  302. package/dist/components/arcgis-floor-filter.d.ts +2 -2
  303. package/dist/components/arcgis-floor-filter.js +145 -140
  304. package/dist/components/arcgis-floor-filter.js.map +1 -0
  305. package/dist/components/arcgis-fullscreen.d.ts +2 -2
  306. package/dist/components/arcgis-fullscreen.js +96 -94
  307. package/dist/components/arcgis-fullscreen.js.map +1 -0
  308. package/dist/components/arcgis-histogram-range-slider.d.ts +2 -2
  309. package/dist/components/arcgis-histogram-range-slider.js +252 -94
  310. package/dist/components/arcgis-histogram-range-slider.js.map +1 -0
  311. package/dist/components/arcgis-histogram.d.ts +2 -2
  312. package/dist/components/arcgis-histogram.js +182 -44
  313. package/dist/components/arcgis-histogram.js.map +1 -0
  314. package/dist/components/arcgis-home.d.ts +2 -2
  315. package/dist/components/arcgis-home.js +126 -112
  316. package/dist/components/arcgis-home.js.map +1 -0
  317. package/dist/components/arcgis-layer-list.d.ts +2 -2
  318. package/dist/components/arcgis-layer-list.js +183 -146
  319. package/dist/components/arcgis-layer-list.js.map +1 -0
  320. package/dist/components/arcgis-legend.d.ts +2 -2
  321. package/dist/components/arcgis-legend.js +172 -165
  322. package/dist/components/arcgis-legend.js.map +1 -0
  323. package/dist/components/arcgis-line-of-sight.d.ts +2 -2
  324. package/dist/components/arcgis-line-of-sight.js +105 -104
  325. package/dist/components/arcgis-line-of-sight.js.map +1 -0
  326. package/dist/components/arcgis-locate.d.ts +2 -2
  327. package/dist/components/arcgis-locate.js +178 -172
  328. package/dist/components/arcgis-locate.js.map +1 -0
  329. package/dist/components/arcgis-map.d.ts +2 -2
  330. package/dist/components/arcgis-map.js +616 -178
  331. package/dist/components/arcgis-map.js.map +1 -0
  332. package/dist/components/arcgis-measurement.d.ts +2 -2
  333. package/dist/components/arcgis-measurement.js +146 -133
  334. package/dist/components/arcgis-measurement.js.map +1 -0
  335. package/dist/components/arcgis-navigation-toggle.d.ts +2 -2
  336. package/dist/components/arcgis-navigation-toggle.js +102 -100
  337. package/dist/components/arcgis-navigation-toggle.js.map +1 -0
  338. package/dist/components/arcgis-placement.d.ts +11 -0
  339. package/dist/components/arcgis-placement.js +73 -0
  340. package/dist/components/arcgis-placement.js.map +1 -0
  341. package/dist/components/arcgis-print.d.ts +2 -2
  342. package/dist/components/arcgis-print.js +211 -184
  343. package/dist/components/arcgis-print.js.map +1 -0
  344. package/dist/components/arcgis-scale-bar.d.ts +2 -2
  345. package/dist/components/arcgis-scale-bar.js +115 -112
  346. package/dist/components/arcgis-scale-bar.js.map +1 -0
  347. package/dist/components/arcgis-scale-range-slider.d.ts +2 -2
  348. package/dist/components/arcgis-scale-range-slider.js +183 -164
  349. package/dist/components/arcgis-scale-range-slider.js.map +1 -0
  350. package/dist/components/arcgis-scene.d.ts +2 -2
  351. package/dist/components/arcgis-scene.js +674 -160
  352. package/dist/components/arcgis-scene.js.map +1 -0
  353. package/dist/components/arcgis-search.d.ts +2 -2
  354. package/dist/components/arcgis-search.js +383 -317
  355. package/dist/components/arcgis-search.js.map +1 -0
  356. package/dist/components/arcgis-shadow-cast.d.ts +2 -2
  357. package/dist/components/arcgis-shadow-cast.js +106 -103
  358. package/dist/components/arcgis-shadow-cast.js.map +1 -0
  359. package/dist/components/arcgis-sketch.d.ts +2 -2
  360. package/dist/components/arcgis-sketch.js +247 -225
  361. package/dist/components/arcgis-sketch.js.map +1 -0
  362. package/dist/components/arcgis-slice.d.ts +2 -2
  363. package/dist/components/arcgis-slice.js +103 -112
  364. package/dist/components/arcgis-slice.js.map +1 -0
  365. package/dist/components/arcgis-slider.d.ts +2 -2
  366. package/dist/components/arcgis-slider.js +262 -248
  367. package/dist/components/arcgis-slider.js.map +1 -0
  368. package/dist/components/arcgis-swipe.d.ts +2 -2
  369. package/dist/components/arcgis-swipe.js +132 -119
  370. package/dist/components/arcgis-swipe.js.map +1 -0
  371. package/dist/components/arcgis-table-list.d.ts +2 -2
  372. package/dist/components/arcgis-table-list.js +159 -128
  373. package/dist/components/arcgis-table-list.js.map +1 -0
  374. package/dist/components/arcgis-time-slider.d.ts +2 -2
  375. package/dist/components/arcgis-time-slider.js +242 -219
  376. package/dist/components/arcgis-time-slider.js.map +1 -0
  377. package/dist/components/arcgis-track.d.ts +2 -2
  378. package/dist/components/arcgis-track.js +164 -158
  379. package/dist/components/arcgis-track.js.map +1 -0
  380. package/dist/components/arcgis-utility-network-associations.d.ts +2 -2
  381. package/dist/components/arcgis-utility-network-associations.js +242 -223
  382. package/dist/components/arcgis-utility-network-associations.js.map +1 -0
  383. package/dist/components/arcgis-utility-network-trace.d.ts +2 -2
  384. package/dist/components/arcgis-utility-network-trace.js +217 -184
  385. package/dist/components/arcgis-utility-network-trace.js.map +1 -0
  386. package/dist/components/arcgis-utility-network-validate-topology.d.ts +2 -2
  387. package/dist/components/arcgis-utility-network-validate-topology.js +111 -115
  388. package/dist/components/arcgis-utility-network-validate-topology.js.map +1 -0
  389. package/dist/components/arcgis-value-picker.d.ts +2 -2
  390. package/dist/components/arcgis-value-picker.js +212 -185
  391. package/dist/components/arcgis-value-picker.js.map +1 -0
  392. package/dist/components/arcgis-weather.d.ts +2 -2
  393. package/dist/components/arcgis-weather.js +107 -94
  394. package/dist/components/arcgis-weather.js.map +1 -0
  395. package/dist/components/arcgis-zoom.d.ts +2 -2
  396. package/dist/components/arcgis-zoom.js +109 -104
  397. package/dist/components/arcgis-zoom.js.map +1 -0
  398. package/dist/components/component-utils.js +151 -0
  399. package/dist/components/component-utils.js.map +1 -0
  400. package/dist/components/disconnected.js +33 -117
  401. package/dist/components/disconnected.js.map +1 -0
  402. package/dist/components/expand.js +256 -0
  403. package/dist/components/expand.js.map +1 -0
  404. package/dist/components/index.d.ts +5 -55
  405. package/dist/components/index.js +3 -54
  406. package/dist/components/index.js.map +1 -0
  407. package/dist/components/index2.js +3 -8
  408. package/dist/components/index2.js.map +1 -0
  409. package/dist/esm/arcgis-area-measurement-2d.entry.js +89 -85
  410. package/dist/esm/arcgis-area-measurement-2d.entry.js.map +1 -0
  411. package/dist/esm/arcgis-area-measurement-3d.entry.js +82 -78
  412. package/dist/esm/arcgis-area-measurement-3d.entry.js.map +1 -0
  413. package/dist/esm/arcgis-attachments.entry.js +94 -60
  414. package/dist/esm/arcgis-attachments.entry.js.map +1 -0
  415. package/dist/esm/arcgis-basemap-gallery_3.entry.js +878 -0
  416. package/dist/esm/arcgis-basemap-gallery_3.entry.js.map +1 -0
  417. package/dist/esm/arcgis-basemap-layer-list.entry.js +163 -134
  418. package/dist/esm/arcgis-basemap-layer-list.entry.js.map +1 -0
  419. package/dist/esm/arcgis-basemap-toggle.entry.js +105 -99
  420. package/dist/esm/arcgis-basemap-toggle.entry.js.map +1 -0
  421. package/dist/esm/arcgis-bookmarks.entry.js +126 -118
  422. package/dist/esm/arcgis-bookmarks.entry.js.map +1 -0
  423. package/dist/esm/arcgis-building-explorer.entry.js +90 -65
  424. package/dist/esm/arcgis-building-explorer.entry.js.map +1 -0
  425. package/dist/esm/arcgis-compass.entry.js +73 -77
  426. package/dist/esm/arcgis-compass.entry.js.map +1 -0
  427. package/dist/esm/arcgis-coordinate-conversion.entry.js +178 -148
  428. package/dist/esm/arcgis-coordinate-conversion.entry.js.map +1 -0
  429. package/dist/esm/arcgis-daylight.entry.js +99 -96
  430. package/dist/esm/arcgis-daylight.entry.js.map +1 -0
  431. package/dist/esm/arcgis-directions.entry.js +206 -184
  432. package/dist/esm/arcgis-directions.entry.js.map +1 -0
  433. package/dist/esm/arcgis-directline-measurement-3d.entry.js +92 -96
  434. package/dist/esm/arcgis-directline-measurement-3d.entry.js.map +1 -0
  435. package/dist/esm/arcgis-distance-measurement-2d.entry.js +84 -88
  436. package/dist/esm/arcgis-distance-measurement-2d.entry.js.map +1 -0
  437. package/dist/esm/arcgis-editor.entry.js +176 -170
  438. package/dist/esm/arcgis-editor.entry.js.map +1 -0
  439. package/dist/esm/arcgis-elevation-profile.entry.js +125 -112
  440. package/dist/esm/arcgis-elevation-profile.entry.js.map +1 -0
  441. package/dist/esm/arcgis-feature-form.entry.js +139 -26
  442. package/dist/esm/arcgis-feature-form.entry.js.map +1 -0
  443. package/dist/esm/arcgis-feature-table.entry.js +326 -297
  444. package/dist/esm/arcgis-feature-table.entry.js.map +1 -0
  445. package/dist/esm/arcgis-feature-templates.entry.js +124 -60
  446. package/dist/esm/arcgis-feature-templates.entry.js.map +1 -0
  447. package/dist/esm/arcgis-feature.entry.js +118 -88
  448. package/dist/esm/arcgis-feature.entry.js.map +1 -0
  449. package/dist/esm/arcgis-features.entry.js +150 -123
  450. package/dist/esm/arcgis-features.entry.js.map +1 -0
  451. package/dist/esm/arcgis-floor-filter.entry.js +108 -112
  452. package/dist/esm/arcgis-floor-filter.entry.js.map +1 -0
  453. package/dist/esm/arcgis-fullscreen.entry.js +73 -77
  454. package/dist/esm/arcgis-fullscreen.entry.js.map +1 -0
  455. package/dist/esm/arcgis-histogram-range-slider.entry.js +198 -70
  456. package/dist/esm/arcgis-histogram-range-slider.entry.js.map +1 -0
  457. package/dist/esm/arcgis-histogram.entry.js +138 -26
  458. package/dist/esm/arcgis-histogram.entry.js.map +1 -0
  459. package/dist/esm/arcgis-home.entry.js +99 -93
  460. package/dist/esm/arcgis-home.entry.js.map +1 -0
  461. package/dist/esm/arcgis-layer-list.entry.js +143 -118
  462. package/dist/esm/arcgis-layer-list.entry.js.map +1 -0
  463. package/dist/esm/arcgis-legend.entry.js +132 -136
  464. package/dist/esm/arcgis-legend.entry.js.map +1 -0
  465. package/dist/esm/arcgis-line-of-sight.entry.js +76 -80
  466. package/dist/esm/arcgis-line-of-sight.entry.js.map +1 -0
  467. package/dist/esm/arcgis-locate.entry.js +143 -148
  468. package/dist/esm/arcgis-locate.entry.js.map +1 -0
  469. package/dist/esm/arcgis-map-components.js +6 -4
  470. package/dist/esm/arcgis-map-components.js.map +1 -0
  471. package/dist/esm/arcgis-map.entry.js +539 -0
  472. package/dist/esm/arcgis-map.entry.js.map +1 -0
  473. package/dist/esm/arcgis-measurement.entry.js +111 -106
  474. package/dist/esm/arcgis-measurement.entry.js.map +1 -0
  475. package/dist/esm/arcgis-navigation-toggle.entry.js +79 -83
  476. package/dist/esm/arcgis-navigation-toggle.entry.js.map +1 -0
  477. package/dist/esm/arcgis-placement.entry.js +48 -0
  478. package/dist/esm/arcgis-placement.entry.js.map +1 -0
  479. package/dist/esm/arcgis-print.entry.js +167 -153
  480. package/dist/esm/arcgis-print.entry.js.map +1 -0
  481. package/dist/esm/arcgis-scale-bar.entry.js +84 -88
  482. package/dist/esm/arcgis-scale-bar.entry.js.map +1 -0
  483. package/dist/esm/arcgis-scale-range-slider.entry.js +142 -136
  484. package/dist/esm/arcgis-scale-range-slider.entry.js.map +1 -0
  485. package/dist/esm/arcgis-search.entry.js +316 -0
  486. package/dist/esm/arcgis-search.entry.js.map +1 -0
  487. package/dist/esm/arcgis-shadow-cast.entry.js +77 -80
  488. package/dist/esm/arcgis-shadow-cast.entry.js.map +1 -0
  489. package/dist/esm/arcgis-sketch.entry.js +197 -191
  490. package/dist/esm/arcgis-sketch.entry.js.map +1 -0
  491. package/dist/esm/arcgis-slice.entry.js +75 -88
  492. package/dist/esm/arcgis-slice.entry.js.map +1 -0
  493. package/dist/esm/arcgis-slider.entry.js +221 -223
  494. package/dist/esm/arcgis-slider.entry.js.map +1 -0
  495. package/dist/esm/arcgis-swipe.entry.js +102 -99
  496. package/dist/esm/arcgis-swipe.entry.js.map +1 -0
  497. package/dist/esm/arcgis-table-list.entry.js +122 -102
  498. package/dist/esm/arcgis-table-list.entry.js.map +1 -0
  499. package/dist/esm/arcgis-time-slider.entry.js +212 -206
  500. package/dist/esm/arcgis-time-slider.entry.js.map +1 -0
  501. package/dist/esm/arcgis-track.entry.js +120 -124
  502. package/dist/esm/arcgis-track.entry.js.map +1 -0
  503. package/dist/esm/arcgis-utility-network-associations.entry.js +209 -210
  504. package/dist/esm/arcgis-utility-network-associations.entry.js.map +1 -0
  505. package/dist/esm/arcgis-utility-network-trace.entry.js +172 -152
  506. package/dist/esm/arcgis-utility-network-trace.entry.js.map +1 -0
  507. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +80 -91
  508. package/dist/esm/arcgis-utility-network-validate-topology.entry.js.map +1 -0
  509. package/dist/esm/arcgis-value-picker.entry.js +167 -150
  510. package/dist/esm/arcgis-value-picker.entry.js.map +1 -0
  511. package/dist/esm/arcgis-weather.entry.js +78 -72
  512. package/dist/esm/arcgis-weather.entry.js.map +1 -0
  513. package/dist/esm/arcgis-zoom.entry.js +85 -86
  514. package/dist/esm/arcgis-zoom.entry.js.map +1 -0
  515. package/dist/esm/component-utils-d5af09d8.js +151 -0
  516. package/dist/esm/component-utils-d5af09d8.js.map +1 -0
  517. package/dist/esm/disconnected-a94f2aea.js +38 -0
  518. package/dist/esm/disconnected-a94f2aea.js.map +1 -0
  519. package/dist/esm/{index-334b0bde.js → index-41244c71.js} +3 -8
  520. package/dist/esm/index-41244c71.js.map +1 -0
  521. package/dist/{cjs/index-6b51d5a0.js → esm/index-525856d7.js} +1025 -313
  522. package/dist/esm/index-525856d7.js.map +1 -0
  523. package/dist/esm/index.js +2 -0
  524. package/dist/esm/index.js.map +1 -0
  525. package/dist/esm/loader.js +6 -13
  526. package/dist/esm/loader.js.map +1 -0
  527. package/dist/loader/index.d.ts +2 -2
  528. package/dist/types/components/area-measurement-2d/area-measurement-2d.d.ts +31 -0
  529. package/dist/types/components/area-measurement-3d/area-measurement-3d.d.ts +30 -0
  530. package/dist/types/components/attachments/attachments.d.ts +33 -0
  531. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +31 -0
  532. package/dist/types/components/basemap-layer-list/basemap-layer-list.d.ts +44 -0
  533. package/dist/types/components/basemap-toggle/basemap-toggle.d.ts +34 -0
  534. package/dist/types/components/bookmarks/bookmarks.d.ts +41 -0
  535. package/dist/types/components/building-explorer/building-explorer.d.ts +31 -0
  536. package/dist/types/components/compass/compass.d.ts +25 -0
  537. package/dist/types/components/coordinate-conversion/coordinate-conversion.d.ts +48 -0
  538. package/dist/types/components/daylight/daylight.d.ts +35 -0
  539. package/dist/types/components/directions/directions.d.ts +50 -0
  540. package/dist/types/components/directline-measurement-3d/directline-measurement-3d.d.ts +33 -0
  541. package/dist/types/components/distance-measurement-2d/distance-measurement-2d.d.ts +31 -0
  542. package/dist/types/components/editor/editor.d.ts +50 -0
  543. package/dist/types/components/elevation-profile/elevation-profile.d.ts +40 -0
  544. package/dist/types/components/expand/expand.d.ts +48 -0
  545. package/dist/types/components/feature/feature.d.ts +38 -0
  546. package/dist/types/components/feature-form/feature-form.d.ts +42 -0
  547. package/dist/types/components/feature-table/feature-table.d.ts +78 -0
  548. package/dist/types/components/feature-templates/feature-templates.d.ts +38 -0
  549. package/dist/types/components/features/features.d.ts +46 -0
  550. package/dist/types/components/floor-filter/floor-filter.d.ts +36 -0
  551. package/dist/types/components/fullscreen/fullscreen.d.ts +26 -0
  552. package/dist/types/components/histogram/histogram.d.ts +41 -0
  553. package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +52 -0
  554. package/dist/types/components/home/home.d.ts +32 -0
  555. package/dist/types/components/layer-list/layer-list.d.ts +42 -0
  556. package/dist/types/components/legend/legend.d.ts +39 -0
  557. package/dist/types/components/line-of-sight/line-of-sight.d.ts +29 -0
  558. package/dist/types/components/locate/locate.d.ts +41 -0
  559. package/dist/types/components/map/map.d.ts +119 -0
  560. package/dist/types/components/measurement/measurement.d.ts +36 -0
  561. package/dist/types/components/navigation-toggle/navigation-toggle.d.ts +27 -0
  562. package/dist/types/components/placement/placement.d.ts +18 -0
  563. package/dist/types/components/print/print.d.ts +48 -0
  564. package/dist/types/components/scale-bar/scale-bar.d.ts +31 -0
  565. package/dist/types/components/scale-range-slider/scale-range-slider.d.ts +43 -0
  566. package/dist/types/components/scene/scene.d.ts +129 -0
  567. package/dist/types/components/search/search.d.ts +83 -0
  568. package/dist/types/components/shadow-cast/shadow-cast.d.ts +29 -0
  569. package/dist/types/components/sketch/sketch.d.ts +56 -0
  570. package/dist/types/components/slice/slice.d.ts +29 -0
  571. package/dist/types/components/slider/slider.d.ts +72 -0
  572. package/dist/types/components/swipe/swipe.d.ts +34 -0
  573. package/dist/types/components/table-list/table-list.d.ts +40 -0
  574. package/dist/types/components/time-slider/time-slider.d.ts +57 -0
  575. package/dist/types/components/track/track.d.ts +39 -0
  576. package/dist/types/components/utility-network-associations/utility-network-associations.d.ts +55 -0
  577. package/dist/types/components/utility-network-trace/utility-network-trace.d.ts +49 -0
  578. package/dist/types/components/utility-network-validate-topology/utility-network-validate-topology.d.ts +31 -0
  579. package/dist/types/components/value-picker/value-picker.d.ts +51 -0
  580. package/dist/types/components/weather/weather.d.ts +29 -0
  581. package/dist/types/components/zoom/zoom.d.ts +28 -0
  582. package/dist/types/components.d.ts +1204 -86
  583. package/dist/types/stencil-public-runtime.d.ts +61 -17
  584. package/dist/types/utils/component-utils.d.ts +23 -13
  585. package/dist/types/utils/expandable.d.ts +3 -2
  586. package/dist/types/utils/mapping-utils.d.ts +1 -1
  587. package/package.json +21 -23
  588. package/dist/arcgis-map-components/p-037a3bb6.entry.js +0 -1
  589. package/dist/arcgis-map-components/p-064bf907.entry.js +0 -1
  590. package/dist/arcgis-map-components/p-08015460.entry.js +0 -1
  591. package/dist/arcgis-map-components/p-0d492ad6.entry.js +0 -1
  592. package/dist/arcgis-map-components/p-0ee8ea5a.entry.js +0 -1
  593. package/dist/arcgis-map-components/p-11168df4.entry.js +0 -1
  594. package/dist/arcgis-map-components/p-1680f044.entry.js +0 -1
  595. package/dist/arcgis-map-components/p-1a6dcf6a.entry.js +0 -1
  596. package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
  597. package/dist/arcgis-map-components/p-29c81862.entry.js +0 -1
  598. package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
  599. package/dist/arcgis-map-components/p-347dba98.entry.js +0 -1
  600. package/dist/arcgis-map-components/p-3673ae6e.entry.js +0 -1
  601. package/dist/arcgis-map-components/p-367c6986.entry.js +0 -1
  602. package/dist/arcgis-map-components/p-3b2623c6.entry.js +0 -1
  603. package/dist/arcgis-map-components/p-4722bbad.entry.js +0 -1
  604. package/dist/arcgis-map-components/p-48c89578.entry.js +0 -1
  605. package/dist/arcgis-map-components/p-5299aa69.entry.js +0 -1
  606. package/dist/arcgis-map-components/p-52c3388d.entry.js +0 -1
  607. package/dist/arcgis-map-components/p-5d2f53bd.entry.js +0 -1
  608. package/dist/arcgis-map-components/p-615399dd.entry.js +0 -1
  609. package/dist/arcgis-map-components/p-658a2499.entry.js +0 -1
  610. package/dist/arcgis-map-components/p-7031c422.entry.js +0 -1
  611. package/dist/arcgis-map-components/p-7084f84f.entry.js +0 -1
  612. package/dist/arcgis-map-components/p-74b7f2c3.entry.js +0 -1
  613. package/dist/arcgis-map-components/p-86a82586.entry.js +0 -1
  614. package/dist/arcgis-map-components/p-8a60074a.entry.js +0 -1
  615. package/dist/arcgis-map-components/p-8b4cf5da.entry.js +0 -1
  616. package/dist/arcgis-map-components/p-922bbfed.entry.js +0 -1
  617. package/dist/arcgis-map-components/p-932be58c.entry.js +0 -1
  618. package/dist/arcgis-map-components/p-99d486cb.entry.js +0 -1
  619. package/dist/arcgis-map-components/p-9fdd4596.entry.js +0 -1
  620. package/dist/arcgis-map-components/p-a0f092fc.entry.js +0 -1
  621. package/dist/arcgis-map-components/p-a1e2e59f.entry.js +0 -1
  622. package/dist/arcgis-map-components/p-a249c2fa.entry.js +0 -1
  623. package/dist/arcgis-map-components/p-a508d7c6.entry.js +0 -1
  624. package/dist/arcgis-map-components/p-a89102b6.entry.js +0 -1
  625. package/dist/arcgis-map-components/p-ac7e9294.entry.js +0 -1
  626. package/dist/arcgis-map-components/p-adcfd40d.entry.js +0 -1
  627. package/dist/arcgis-map-components/p-ae96d72a.entry.js +0 -1
  628. package/dist/arcgis-map-components/p-b026950f.entry.js +0 -1
  629. package/dist/arcgis-map-components/p-b5904340.entry.js +0 -1
  630. package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
  631. package/dist/arcgis-map-components/p-c57f270d.entry.js +0 -1
  632. package/dist/arcgis-map-components/p-c63d9e91.entry.js +0 -1
  633. package/dist/arcgis-map-components/p-c8516f87.entry.js +0 -1
  634. package/dist/arcgis-map-components/p-d3f3affa.entry.js +0 -1
  635. package/dist/arcgis-map-components/p-d5ac71b2.entry.js +0 -1
  636. package/dist/arcgis-map-components/p-dcf3861b.entry.js +0 -1
  637. package/dist/arcgis-map-components/p-e1201530.entry.js +0 -1
  638. package/dist/arcgis-map-components/p-eb95717e.entry.js +0 -1
  639. package/dist/arcgis-map-components/p-ee1086de.entry.js +0 -1
  640. package/dist/arcgis-map-components/p-f28d6d27.js +0 -1
  641. package/dist/arcgis-map-components/p-f8353590.entry.js +0 -1
  642. package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +0 -97
  643. package/dist/cjs/arcgis-expand_4.cjs.entry.js +0 -693
  644. package/dist/cjs/component-utils-cbd20e88.js +0 -77
  645. package/dist/cjs/disconnected-306cb220.js +0 -55
  646. package/dist/components/arcgis-expand2.js +0 -107
  647. package/dist/components/mapping-utils.js +0 -38
  648. package/dist/esm/arcgis-basemap-gallery.entry.js +0 -93
  649. package/dist/esm/arcgis-expand_4.entry.js +0 -686
  650. package/dist/esm/component-utils-2ebdae59.js +0 -73
  651. package/dist/esm/disconnected-bc5fc8bc.js +0 -52
  652. package/dist/esm/index-eb3ead33.js +0 -1583
  653. package/dist/esm/polyfills/css-shim.js +0 -1
  654. package/dist/types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts +0 -29
  655. package/dist/types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts +0 -28
  656. package/dist/types/components/arcgis-attachments/arcgis-attachments.d.ts +0 -24
  657. package/dist/types/components/arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts +0 -29
  658. package/dist/types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts +0 -37
  659. package/dist/types/components/arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts +0 -31
  660. package/dist/types/components/arcgis-bookmarks/arcgis-bookmarks.d.ts +0 -38
  661. package/dist/types/components/arcgis-building-explorer/arcgis-building-explorer.d.ts +0 -25
  662. package/dist/types/components/arcgis-compass/arcgis-compass.d.ts +0 -24
  663. package/dist/types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts +0 -45
  664. package/dist/types/components/arcgis-daylight/arcgis-daylight.d.ts +0 -32
  665. package/dist/types/components/arcgis-directions/arcgis-directions.d.ts +0 -46
  666. package/dist/types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts +0 -32
  667. package/dist/types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts +0 -30
  668. package/dist/types/components/arcgis-editor/arcgis-editor.d.ts +0 -47
  669. package/dist/types/components/arcgis-elevation-profile/arcgis-elevation-profile.d.ts +0 -36
  670. package/dist/types/components/arcgis-expand/arcgis-expand.d.ts +0 -23
  671. package/dist/types/components/arcgis-feature/arcgis-feature.d.ts +0 -30
  672. package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +0 -18
  673. package/dist/types/components/arcgis-feature-table/arcgis-feature-table.d.ts +0 -71
  674. package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +0 -24
  675. package/dist/types/components/arcgis-features/arcgis-features.d.ts +0 -37
  676. package/dist/types/components/arcgis-floor-filter/arcgis-floor-filter.d.ts +0 -35
  677. package/dist/types/components/arcgis-fullscreen/arcgis-fullscreen.d.ts +0 -25
  678. package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +0 -18
  679. package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +0 -25
  680. package/dist/types/components/arcgis-home/arcgis-home.d.ts +0 -29
  681. package/dist/types/components/arcgis-layer-list/arcgis-layer-list.d.ts +0 -37
  682. package/dist/types/components/arcgis-legend/arcgis-legend.d.ts +0 -38
  683. package/dist/types/components/arcgis-line-of-sight/arcgis-line-of-sight.d.ts +0 -28
  684. package/dist/types/components/arcgis-locate/arcgis-locate.d.ts +0 -40
  685. package/dist/types/components/arcgis-map/arcgis-map.d.ts +0 -35
  686. package/dist/types/components/arcgis-measurement/arcgis-measurement.d.ts +0 -35
  687. package/dist/types/components/arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts +0 -26
  688. package/dist/types/components/arcgis-print/arcgis-print.d.ts +0 -47
  689. package/dist/types/components/arcgis-scale-bar/arcgis-scale-bar.d.ts +0 -30
  690. package/dist/types/components/arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts +0 -40
  691. package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +0 -31
  692. package/dist/types/components/arcgis-search/arcgis-search.d.ts +0 -82
  693. package/dist/types/components/arcgis-shadow-cast/arcgis-shadow-cast.d.ts +0 -28
  694. package/dist/types/components/arcgis-sketch/arcgis-sketch.d.ts +0 -53
  695. package/dist/types/components/arcgis-slice/arcgis-slice.d.ts +0 -30
  696. package/dist/types/components/arcgis-slider/arcgis-slider.d.ts +0 -71
  697. package/dist/types/components/arcgis-swipe/arcgis-swipe.d.ts +0 -33
  698. package/dist/types/components/arcgis-table-list/arcgis-table-list.d.ts +0 -35
  699. package/dist/types/components/arcgis-time-slider/arcgis-time-slider.d.ts +0 -54
  700. package/dist/types/components/arcgis-track/arcgis-track.d.ts +0 -38
  701. package/dist/types/components/arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts +0 -52
  702. package/dist/types/components/arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts +0 -48
  703. package/dist/types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts +0 -30
  704. package/dist/types/components/arcgis-value-picker/arcgis-value-picker.d.ts +0 -48
  705. package/dist/types/components/arcgis-weather/arcgis-weather.d.ts +0 -26
  706. package/dist/types/components/arcgis-zoom/arcgis-zoom.d.ts +0 -27
package/LICENSE.md CHANGED
@@ -10,4 +10,4 @@ See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
10
10
 
11
11
  For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
12
12
 
13
- email: contracts@esri.com
13
+ email: contracts@esri.com
@@ -1 +1,2 @@
1
- import{p as e,b as t}from"./p-1e5e5ed9.js";export{s as setNonce}from"./p-1e5e5ed9.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t(JSON.parse('[["p-7031c422",[[0,"arcgis-search",{"referenceElement":[1,"reference-element"],"activeMenu":[1,"active-menu"],"activeSource":[1040],"activeSourceIndex":[1026,"active-source-index"],"allPlaceholder":[1,"all-placeholder"],"allSources":[1040],"autoSelect":[4,"auto-select"],"defaultSources":[1040],"includeDefaultSources":[4,"include-default-sources"],"locationEnabled":[4,"location-enabled"],"maxResults":[2,"max-results"],"maxSuggestions":[2,"max-suggestions"],"minSuggestCharacters":[2,"min-suggest-characters"],"popupEnabled":[4,"popup-enabled"],"popupTemplate":[16],"portal":[16],"resultGraphic":[1040],"resultGraphicEnabled":[4,"result-graphic-enabled"],"results":[1040],"searchAllEnabled":[4,"search-all-enabled"],"searchTerm":[1,"search-term"],"selectedResult":[1040],"sources":[16],"suggestions":[16],"suggestionsEnabled":[4,"suggestions-enabled"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"blurSearch":[64],"clearSearch":[64],"focusSearch":[64],"search":[64],"suggest":[64]}],[0,"arcgis-map",{"apiKey":[1,"api-key"],"basemap":[1025],"backgroundColor":[1025,"background-color"],"disableNavigation":[4,"disable-navigation"],"itemId":[1,"item-id"],"portalUrl":[1,"portal-url"],"scale":[1538],"zoom":[1538],"center":[1537],"view":[1040]}],[0,"arcgis-scene",{"apiKey":[1,"api-key"],"basemap":[1025],"itemId":[1,"item-id"],"portalUrl":[1,"portal-url"],"scale":[1538],"zoom":[1538],"center":[1537],"view":[1040],"disableNavigation":[4,"disable-navigation"]}],[0,"arcgis-expand",{"referenceElement":[1,"reference-element"],"position":[1],"view":[1040],"widget":[1040]}]]],["p-b026950f",[[0,"arcgis-area-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-922bbfed",[[0,"arcgis-area-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-ac7e9294",[[0,"arcgis-attachments",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"graphic":[16],"widget":[1040]}]]],["p-86a82586",[[0,"arcgis-basemap-gallery",{"referenceElement":[1,"reference-element"],"activeBasemap":[1040],"position":[1],"expandable":[4],"source":[1040],"view":[1040],"widget":[1040]}]]],["p-5299aa69",[[0,"arcgis-basemap-layer-list",{"referenceElement":[1,"reference-element"],"basemapTitle":[513,"basemap-title"],"baseItems":[1040],"editingEnabled":[516,"editing-enabled"],"mulitpleSelectionEnabled":[516,"mulitple-selection-enabled"],"position":[1],"expandable":[4],"referenceItems":[1040],"selectedItems":[1040],"view":[1040],"widget":[1040]}]]],["p-a89102b6",[[0,"arcgis-basemap-toggle",{"referenceElement":[1,"reference-element"],"activeBasemap":[16],"nextBasemap":[1025,"next-basemap"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"toggle":[64]}]]],["p-1680f044",[[0,"arcgis-bookmarks",{"referenceElement":[1,"reference-element"],"bookmarks":[16],"defaultCreateOptions":[16],"defaultEditOptions":[16],"editingEnabled":[516,"editing-enabled"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-9fdd4596",[[0,"arcgis-building-explorer",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"view":[1040]}]]],["p-8a60074a",[[0,"arcgis-coordinate-conversion",{"referenceElement":[1,"reference-element"],"conversions":[16],"currentLocation":[1040],"formats":[16],"locationSymbol":[16],"mode":[1],"multipleConversions":[4,"multiple-conversions"],"orientation":[1],"storageEnabled":[4,"storage-enabled"],"storageType":[1,"storage-type"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"reverseConvert":[64]}]]],["p-1a6dcf6a",[[0,"arcgis-daylight",{"referenceElement":[1,"reference-element"],"dateOrSeason":[1,"date-or-season"],"playSpeedMultiplier":[2,"play-speed-multiplier"],"timeSliderSteps":[2,"time-slider-steps"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-347dba98",[[0,"arcgis-directions",{"referenceElement":[1,"reference-element"],"apiKey":[1,"api-key"],"routeLayerItemId":[1,"route-layer-item-id"],"lastRoute":[1040],"layer":[16],"maxStops":[2,"max-stops"],"searchProperties":[16],"unit":[1],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"getDirections":[64],"save":[64],"saveAs":[64],"zoomToRoute":[64]}]]],["p-037a3bb6",[[0,"arcgis-directline-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"analysis":[1040],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]}]]],["p-658a2499",[[0,"arcgis-distance-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]}]]],["p-c8516f87",[[0,"arcgis-editor",{"referenceElement":[1,"reference-element"],"activeWorkflow":[1040],"allowedWorkflows":[1,"allowed-workflows"],"labelOptions":[16],"layerInfos":[16],"snappingOptions":[16],"supportingWidgetDefaults":[16],"tooltipOptions":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"cancelWorkflow":[64],"deleteFeatureFromWorkflow":[64],"startCreateFeaturesWorkflowAtFeatureCreation":[64],"startCreateFeaturesWorkflowAtFeatureTypeSelection":[64],"startUpdateWorkflowAtFeatureEdit":[64],"startUpdateWorkflowAtFeatureSelection":[64],"startUpdateWorkflowAtMultipleFeatureSelection":[64]}]]],["p-74b7f2c3",[[0,"arcgis-elevation-profile",{"referenceElement":[1,"reference-element"],"geodesicDistanceThreshold":[2,"geodesic-distance-threshold"],"input":[16],"profiles":[16],"position":[1],"expandable":[4],"unit":[1],"unitOptions":[16],"view":[1040],"widget":[1040]}]]],["p-5d2f53bd",[[0,"arcgis-feature",{"referenceElement":[1,"reference-element"],"defaultPopupTemplateEnabled":[4,"default-popup-template-enabled"],"graphic":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-08015460",[[0,"arcgis-feature-templates",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"layers":[16]}]]],["p-0ee8ea5a",[[0,"arcgis-features",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"content":[1],"features":[16],"selectedFeature":[1040],"selectedFeatureIndex":[1026,"selected-feature-index"],"selectedFeatureWidget":[1040],"widget":[1040],"fetchFeatures":[64],"clear":[64],"close":[64],"next":[64],"open":[64],"previous":[64]}]]],["p-c57f270d",[[0,"arcgis-floor-filter",{"referenceElement":[1,"reference-element"],"facility":[1],"level":[1],"longNames":[4,"long-names"],"site":[1],"position":[1],"expandable":[4],"widget":[1040],"view":[1040],"updateWebDocument":[64]}]]],["p-367c6986",[[0,"arcgis-histogram-range-slider",{"referenceElement":[1,"reference-element"],"max":[2],"min":[2],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-3b2623c6",[[0,"arcgis-layer-list",{"referenceElement":[1,"reference-element"],"multipleSelectionEnabled":[4,"multiple-selection-enabled"],"operationalItems":[1040],"selectedItems":[16],"selectionEnabled":[4,"selection-enabled"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"triggerAction":[64]}]]],["p-615399dd",[[0,"arcgis-legend",{"referenceElement":[1,"reference-element"],"activeLayerInfos":[16],"basemapLegendVisible":[4,"basemap-legend-visible"],"hideLayersNotInCurrentView":[4,"hide-layers-not-in-current-view"],"layerInfos":[16],"respectLayerVisibility":[4,"respect-layer-visibility"],"legendStyle":[1,"legend-style"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-dcf3861b",[[0,"arcgis-line-of-sight",{"referenceElement":[1,"reference-element"],"analysis":[1040],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-932be58c",[[0,"arcgis-measurement",{"referenceElement":[1,"reference-element"],"activeTool":[1,"active-tool"],"activeWidget":[1040],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"startMeasurement":[64]}]]],["p-52c3388d",[[0,"arcgis-print",{"referenceElement":[1,"reference-element"],"allowedFormats":[1,"allowed-formats"],"allowedLayouts":[1,"allowed-layouts"],"exportedLinks":[1040],"extraParameters":[8,"extra-parameters"],"includeDefaultTemplates":[4,"include-default-templates"],"portal":[16],"printServiceUrl":[1,"print-service-url"],"templateCustomTextElements":[16],"templateOptions":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-ae96d72a",[[0,"arcgis-scale-bar",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"barStyle":[1,"bar-style"],"unit":[1],"widget":[1040]}]]],["p-8b4cf5da",[[0,"arcgis-scale-range-slider",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"layer":[16],"maxScale":[2,"max-scale"],"maxScaleLimit":[2,"max-scale-limit"],"minScale":[2,"min-scale"],"minScaleLimit":[2,"min-scale-limit"],"region":[1]}]]],["p-d5ac71b2",[[0,"arcgis-shadow-cast",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"headingLevel":[2,"heading-level"]}]]],["p-c63d9e91",[[0,"arcgis-sketch",{"referenceElement":[1,"reference-element"],"activeTool":[1537,"active-tool"],"availableCreateTools":[16],"createGraphic":[1040],"creationMode":[1,"creation-mode"],"defaultCreateOptions":[16],"defaultUpdateOptions":[16],"labelOptions":[16],"layer":[1040],"layout":[1],"snappingOptions":[16],"tooltipOptions":[16],"updateGraphics":[1040],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-4722bbad",[[0,"arcgis-slice",{"referenceElement":[1,"reference-element"],"analysis":[1040],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"headingLevel":[2,"heading-level"]}]]],["p-ee1086de",[[0,"arcgis-slider",{"referenceElement":[1,"reference-element"],"draggableSegmentsEnabled":[4,"draggable-segments-enabled"],"effectiveMax":[2,"effective-max"],"effectiveMin":[2,"effective-min"],"effectiveSegmentElements":[1040],"labelElements":[1040],"labelInputsEnabled":[4,"label-inputs-enabled"],"labels":[16],"layout":[1],"min":[2],"max":[2],"maxLabelElement":[1040],"minLabelElement":[1040],"precision":[2],"rangeLabelInputsEnabled":[4,"range-label-inputs-enabled"],"segmentElements":[1040],"snapOnClickEnabled":[4,"snap-on-click-enabled"],"syncedSegmentsEnabled":[4,"synced-segments-enabled"],"thumbElements":[1040],"thumbsConstrained":[4,"thumbs-constrained"],"tickConfigs":[16],"tickElements":[1040],"trackElement":[1040],"steps":[8],"values":[1],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-064bf907",[[0,"arcgis-table-list",{"referenceElement":[1,"reference-element"],"multipleSelectionEnabled":[4,"multiple-selection-enabled"],"selectionEnabled":[4,"selection-enabled"],"selectedItems":[1040],"tableItems":[1040],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-d3f3affa",[[0,"arcgis-time-slider",{"referenceElement":[1,"reference-element"],"actions":[16],"effectiveStops":[1040],"fullTimeExtent":[16],"layout":[1],"loop":[4],"mode":[1],"playRate":[2,"play-rate"],"stops":[16],"tickConfigs":[16],"timeExtent":[16],"timeVisible":[4,"time-visible"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"next":[64],"play":[64],"previous":[64],"stop":[64]}]]],["p-f8353590",[[0,"arcgis-utility-network-associations",{"referenceElement":[1,"reference-element"],"autoRefreshAssociations":[4,"auto-refresh-associations"],"connectivityAssociationsLineSymbol":[16],"includeConnectivityAssociations":[4,"include-connectivity-associations"],"includeStructuralAttachmentAssociations":[4,"include-structural-attachment-associations"],"maxAllowableAssociations":[2,"max-allowable-associations"],"maxAllowableAssociationsSliderMax":[2,"max-allowable-associations-slider-max"],"maxAllowableAssociationsSliderMin":[2,"max-allowable-associations-slider-min"],"maxAllowableAssociationsSliderStep":[2,"max-allowable-associations-slider-step"],"showArrowsConnectivity":[4,"show-arrows-connectivity"],"showArrowsStructuralAttachment":[4,"show-arrows-structural-attachment"],"showAssociationsEnabled":[4,"show-associations-enabled"],"structuralAttachmentAssociationsLineSymbol":[16],"utilityNetwork":[16],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-a249c2fa",[[0,"arcgis-utility-network-trace",{"referenceElement":[1,"reference-element"],"defaultGraphicColor":[16],"flags":[16],"gdbVersion":[1,"gdb-version"],"inputSettings":[16],"selectedTraces":[16],"selectOnComplete":[4,"select-on-complete"],"showGraphicsOnComplete":[4,"show-graphics-on-complete"],"showSelectionAttributes":[4,"show-selection-attributes"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"checkCanTrace":[64],"confirmReset":[64]}]]],["p-a0f092fc",[[0,"arcgis-utility-network-validate-topology",{"referenceElement":[1,"reference-element"],"extentToValidate":[1,"extent-to-validate"],"utilityNetwork":[16],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-48c89578",[[0,"arcgis-value-picker",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"canNext":[516,"can-next"],"canPlay":[516,"can-play"],"canPrevious":[516,"can-previous"],"caption":[1],"component":[16],"layout":[1],"loop":[4],"playRate":[2,"play-rate"],"values":[1040],"next":[64],"pause":[64],"play":[64],"previous":[64]}]]],["p-11168df4",[[0,"arcgis-weather",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]}]]],["p-adcfd40d",[[0,"arcgis-compass",{"referenceElement":[1,"reference-element"],"position":[1],"widget":[1040],"view":[1040],"reset":[64]}]]],["p-a1e2e59f",[[0,"arcgis-feature-form",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-b5904340",[[0,"arcgis-feature-table",{"referenceElement":[1,"reference-element"],"activeFilters":[1040],"activeSortOrders":[1040],"attachmentsEnabled":[4,"attachments-enabled"],"autoRefreshEnabled":[4,"auto-refresh-enabled"],"columnReorderingEnabled":[4,"column-reordering-enabled"],"columns":[1040],"editingEnabled":[4,"editing-enabled"],"filterGeometry":[16],"hiddenFields":[16],"highlightEnabled":[4,"highlight-enabled"],"highlightIds":[16],"layer":[1040],"menu":[1040],"menuConfig":[16],"multiSortEnabled":[4,"multi-sort-enabled"],"pageSize":[2,"page-size"],"state":[1025],"tableTemplate":[16],"itemId":[1,"item-id"],"position":[1],"url":[1],"view":[1040],"widget":[1040],"clearSelectionFilter":[64],"deleteSelection":[64],"filterBySelection":[64],"findColumn":[64],"hideColumn":[64],"refresh":[64],"scrollToIndex":[64],"showAllColumns":[64],"showColumn":[64],"sortColumn":[64]}]]],["p-0d492ad6",[[0,"arcgis-fullscreen",{"referenceElement":[1,"reference-element"],"element":[16],"position":[1],"view":[1040],"widget":[1040]}]]],["p-eb95717e",[[0,"arcgis-histogram",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040]}]]],["p-3673ae6e",[[0,"arcgis-home",{"referenceElement":[1,"reference-element"],"viewpoint":[16],"view":[1040],"position":[1],"widget":[1040],"cancelGo":[64],"go":[64]}]]],["p-29c81862",[[0,"arcgis-locate",{"referenceElement":[1,"reference-element"],"geolocationOptions":[8,"geolocation-options"],"goToLocationEnabled":[4,"go-to-location-enabled"],"graphic":[16],"popupEnabled":[4,"popup-enabled"],"scale":[2],"position":[1],"view":[1040],"widget":[1040],"useHeadingEnabled":[1028,"use-heading-enabled"],"cancelLocate":[64],"locate":[64]}]]],["p-e1201530",[[0,"arcgis-navigation-toggle",{"referenceElement":[1,"reference-element"],"layout":[1537],"position":[1],"view":[1040],"widget":[1040],"toggle":[64]}]]],["p-99d486cb",[[0,"arcgis-swipe",{"referenceElement":[1,"reference-element"],"direction":[1],"dragLabel":[1,"drag-label"],"leadingLayers":[16],"swipePosition":[2,"swipe-position"],"trailingLayers":[16],"view":[1040],"position":[1],"widget":[1040]}]]],["p-7084f84f",[[0,"arcgis-track",{"referenceElement":[1,"reference-element"],"geolocationOptions":[8,"geolocation-options"],"goToLocationEnabled":[4,"go-to-location-enabled"],"graphic":[16],"scale":[2],"tracking":[1540],"useHeadingEnabled":[4,"use-heading-enabled"],"position":[1],"view":[1040],"widget":[1040]}]]],["p-a508d7c6",[[0,"arcgis-zoom",{"referenceElement":[1,"reference-element"],"layout":[1],"view":[1040],"position":[1],"widget":[1040],"zoomIn":[64],"zoomOut":[64]}]]]]'),e)));
1
+ import{p as e,b as t}from"./p-8896b456.js";export{s as setNonce}from"./p-8896b456.js";const a=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};a().then((e=>t(JSON.parse('[["p-d48b266d",[[0,"arcgis-basemap-gallery",{"referenceElement":[1,"reference-element"],"activeBasemap":[1040],"position":[1],"expandable":[4],"source":[1040],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"source":["sourceWatcher"],"view":["viewWatcher"]}],[0,"arcgis-scene",{"allLayerViews":[1040],"alphaCompositingEnabled":[4,"alpha-compositing-enabled"],"analyses":[1040],"basemapView":[1040],"basemap":[1040],"camera":[1040],"center":[1025],"clippingArea":[16],"constraints":[16],"destroyDisabled":[4,"destroy-disabled"],"environment":[1040],"extent":[1040],"fatalError":[1040],"floors":[16],"graphics":[1040],"groundView":[1040],"highlightOptions":[16],"interacting":[1028],"itemId":[1537,"item-id"],"layerViews":[1040],"magnifier":[1040],"map":[1040],"navigating":[1028],"navigation":[1040],"padding":[16],"performanceInfo":[1040],"popup":[1040],"popupEnabled":[4,"popup-enabled"],"qualityProfile":[1025,"quality-profile"],"ready":[1028],"resolution":[1026],"scale":[1026],"spatialReference":[1040],"stationary":[1028],"suspended":[1540],"theme":[16],"timeExtent":[16],"toMap":[1040],"toScreen":[1040],"updating":[1540],"viewingMode":[1,"viewing-mode"],"viewpoint":[1040],"zoom":[1538],"view":[1040],"disableNavigation":[4,"disable-navigation"],"closePopup":[64],"destroy":[64],"goTo":[64],"hitTest":[64],"openPopup":[64],"takeScreenshot":[64],"tryFatalErrorRecovery":[64],"whenAnalysisView":[64],"whenLayerView":[64]},null,{"alphaCompositingEnabled":["alphaCompositingEnabledWatcher"],"basemap":["basemapWatcher"],"camera":["cameraWatcher"],"center":["centerWatcher"],"clippingArea":["clippingAreaWatcher"],"constraints":["constraintsWatcher"],"environment":["environmentWatcher"],"extent":["extentWatcher"],"floors":["floorsWatcher"],"graphics":["graphicsWatcher"],"highlightOptions":["highlightOptionsWatcher"],"itemId":["itemIdWatcher"],"map":["mapWatcher"],"navigation":["navigationWatcher"],"padding":["paddingWatcher"],"popupEnabled":["popupEnabledWatcher"],"qualityProfile":["qualityProfileWatcher"],"scale":["scaleWatcher"],"spatialReference":["spatialReferenceWatcher"],"theme":["themeWatcher"],"timeExtent":["timeExtentWatcher"],"viewingMode":["viewingModeWatcher"],"viewpoint":["viewpointWatcher"],"zoom":["zoomWatcher"]}],[0,"arcgis-expand",{"autoCollapse":[4,"auto-collapse"],"closeOnEsc":[4,"close-on-esc"],"collapseIcon":[1,"collapse-icon"],"collapseTooltip":[1,"collapse-tooltip"],"expanded":[4],"expandIcon":[1,"expand-icon"],"expandTooltip":[1,"expand-tooltip"],"group":[1],"iconNumber":[2,"icon-number"],"mode":[1],"referenceElement":[1,"reference-element"],"position":[1],"view":[1040],"widget":[1040],"collapse":[64],"expand":[64],"toggle":[64]},null,{"autoCollapse":["autoCollapseWatcher"],"closeOnEsc":["closeOnEscWatcher"],"collapseIcon":["collapseIconWatcher"],"collapseTooltip":["collapseTooltipWatcher"],"expanded":["expandedWatcher"],"expandIcon":["expandIconWatcher"],"expandTooltip":["expandTooltipWatcher"],"group":["groupWatcher"],"iconNumber":["iconNumberWatcher"],"mode":["modeWatcher"],"referenceElement":["referenceElementWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-a6f2aeb4",[[0,"arcgis-area-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"unit":["unitWatcher"],"view":["viewWatcher"]}]]],["p-6b0badf4",[[0,"arcgis-area-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1025],"unitOptions":[16],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"unit":["unitWatcher"],"view":["viewWatcher"]}]]],["p-b967fefd",[[0,"arcgis-attachments",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"capabilities":[16],"displayType":[1,"display-type"],"graphic":[16],"submitting":[1028],"visibleElements":[16],"widget":[1040]},null,{"capabilities":["capabilitiesWatcher"],"displayType":["displayTypeWatcher"],"graphic":["graphicWatcher"],"visibleElements":["visibleElementsWatcher"]}]]],["p-c59f364d",[[0,"arcgis-basemap-layer-list",{"referenceElement":[1,"reference-element"],"baseItems":[1040],"baseListItemCreatedFunction":[16],"basemapTitle":[513,"basemap-title"],"editingEnabled":[516,"editing-enabled"],"mulitpleSelectionEnabled":[4,"mulitple-selection-enabled"],"position":[1],"expandable":[4],"referenceItems":[1040],"referenceListItemCreatedFunction":[16],"selectedItems":[1040],"visibleElements":[16],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"baseListItemCreatedFunction":["baseListItemCreatedFunctionWatcher"],"basemapTitle":["basemapTitleWatcher"],"editingEnabled":["editingBasemapEnabledWatcher"],"mulitpleSelectionEnabled":["multipleSelectionEnabledWatcher"],"position":["positionWatcher"],"referenceListItemCreatedFunction":["referenceListItemCreatedFunctionWatcher"],"selectedItems":["selectedItemsWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"]}]]],["p-75df58f2",[[0,"arcgis-basemap-toggle",{"referenceElement":[1,"reference-element"],"activeBasemap":[16],"nextBasemap":[1025,"next-basemap"],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"toggle":[64]},null,{"referenceElement":["referenceElementWatcher"],"nextBasemap":["nextBasemapWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-234bce9a",[[0,"arcgis-bookmarks",{"referenceElement":[1,"reference-element"],"bookmarks":[16],"defaultCreateOptions":[16],"defaultEditOptions":[16],"editingEnabled":[516,"editing-enabled"],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"bookmarks":["bookmarksWatcher"],"defaultCreateOptions":["defaultCreateOptionsWatcher"],"defaultEditOptions":["defaultEditOptionsWatcher"],"editingEnabled":["editingEnabledWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-76d8a9c0",[[0,"arcgis-building-explorer",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"layers":[16],"visibleElements":[16],"widget":[1040],"view":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"layers":["layersWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"]}]]],["p-c267fbc2",[[0,"arcgis-coordinate-conversion",{"referenceElement":[1,"reference-element"],"conversions":[16],"currentLocation":[1040],"formats":[16],"locationSymbol":[16],"mode":[1],"multipleConversions":[4,"multiple-conversions"],"orientation":[1],"storageEnabled":[4,"storage-enabled"],"storageType":[1,"storage-type"],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"reverseConvert":[64]},null,{"referenceElement":["referenceElementWatcher"],"conversions":["conversionsWatcher"],"formats":["formatsWatcher"],"locationSymbol":["locationSymbolWatcher"],"mode":["modeWatcher"],"multipleConversions":["multipleConversionsWatcher"],"orientation":["orientationWatcher"],"storageEnabled":["storageEnabledWatcher"],"storageType":["storageTypeWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-cfc6c36b",[[0,"arcgis-daylight",{"referenceElement":[1,"reference-element"],"dateOrSeason":[1,"date-or-season"],"playSpeedMultiplier":[2,"play-speed-multiplier"],"timeSliderSteps":[2,"time-slider-steps"],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"dateOrSeason":["dateOrSeasonWatcher"],"playSpeedMultiplier":["playSpeedMultiplierWatcher"],"timeSliderSteps":["timeSliderStepsWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-b7d8ba84",[[0,"arcgis-directions",{"referenceElement":[1,"reference-element"],"apiKey":[1,"api-key"],"routeLayerItemId":[1,"route-layer-item-id"],"lastRoute":[1040],"layer":[16],"maxStops":[2,"max-stops"],"searchProperties":[16],"unit":[1],"useDefaultRouteLayer":[4,"use-default-route-layer"],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"getDirections":[64],"save":[64],"saveAs":[64],"zoomToRoute":[64]},null,{"referenceElement":["referenceElementWatcher"],"apiKey":["apiKeyWatcher"],"routeLayerItemId":["routeLayerItemIdWatcher"],"layer":["layerWatcher"],"maxStops":["maxStopsWatcher"],"searchProperties":["searchPropertiesWatcher"],"unit":["unitWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-04a5c176",[[0,"arcgis-directline-measurement-3d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"analysis":[1040],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"unit":["unitWatcher"],"unitOptions":["unitOptionsWatcher"],"view":["viewWatcher"]}]]],["p-f770a6be",[[0,"arcgis-distance-measurement-2d",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"unit":[1],"unitOptions":[16],"widget":[1040],"view":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"unit":["unitWatcher"],"unitOptions":["unitOptionsWatcher"],"view":["viewWatcher"]}]]],["p-108fc9da",[[0,"arcgis-editor",{"referenceElement":[1,"reference-element"],"activeWorkflow":[1040],"allowedWorkflows":[1,"allowed-workflows"],"labelOptions":[16],"layerInfos":[16],"snappingOptions":[16],"supportingWidgetDefaults":[16],"tooltipOptions":[16],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"cancelWorkflow":[64],"deleteFeatureFromWorkflow":[64],"startCreateFeaturesWorkflowAtFeatureCreation":[64],"startCreateFeaturesWorkflowAtFeatureTypeSelection":[64],"startUpdateWorkflowAtFeatureEdit":[64],"startUpdateWorkflowAtFeatureSelection":[64],"startUpdateWorkflowAtMultipleFeatureSelection":[64]},null,{"referenceElement":["referenceElementWatcher"],"allowedWorkflows":["allowedWorkflowsWatcher"],"labelOptions":["labelOptionsWatcher"],"layerInfos":["layerInfosWatcher"],"snappingOptions":["snappingOptionsWatcher"],"supportingWidgetDefaults":["supportingWidgetDefaultsWatcher"],"tooltipOptions":["tooltipOptionsWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-91d8c561",[[0,"arcgis-elevation-profile",{"referenceElement":[1,"reference-element"],"geodesicDistanceThreshold":[2,"geodesic-distance-threshold"],"input":[1040],"profiles":[16],"position":[1],"expandable":[4],"unit":[1],"unitOptions":[16],"visibleElements":[16],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"geodesicDistanceThreshold":["geodesicDistanceThresholdWatcher"],"input":["inputWatcher"],"profiles":["profilesWatcher"],"position":["positionWatcher"],"unit":["unitWatcher"],"unitOptions":["unitOptionsWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"]}]]],["p-7e08fce7",[[0,"arcgis-feature",{"referenceElement":[1,"reference-element"],"defaultPopupTemplateEnabled":[4,"default-popup-template-enabled"],"graphic":[16],"spatialReference":[16],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"nextMedia":[64],"previousMedia":[64],"setActiveMedia":[64]},null,{"referenceElement":["referenceElementWatcher"],"defaultPopupTemplateEnabled":["defaultPopupTemplateEnabledWatcher"],"graphic":["graphicWatcher"],"spatialReference":["spatialReferenceWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-16b1105c",[[0,"arcgis-feature-form",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"feature":[16],"formTemplate":[16],"groupDisplay":[1,"group-display"],"layer":[16],"timeZone":[1,"time-zone"],"view":[1040],"widget":[1040],"getValues":[64],"submit":[64]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"feature":["featureWatcher"],"formTemplate":["formTemplateWatcher"],"groupDisplay":["groupDisplayWatcher"],"layer":["layerWatcher"],"timeZone":["timeZoneWatcher"],"view":["viewWatcher"]}]]],["p-dc29ada7",[[0,"arcgis-feature-templates",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"widget":[1040],"enableListScroll":[4,"enable-list-scroll"],"filterFunction":[16],"filterText":[1,"filter-text"],"groupBy":[1,"group-by"],"layers":[16],"selectionMode":[1,"selection-mode"],"visibleElements":[16]},null,{"enableListScroll":["enableListScrolWatcher"],"filterFunction":["filterFunctionWatcher"],"filterText":["filterTextWatcher"],"groupBy":["groupByWatcher"],"layers":["layersWatcher"],"selectionMode":["selectionModeWatcher"],"visibleElements":["visibleElementsWatcher"]}]]],["p-7323ead1",[[0,"arcgis-features",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"content":[1],"features":[16],"promises":[1040],"selectedFeature":[1040],"selectedFeatureIndex":[1026,"selected-feature-index"],"selectedFeatureWidget":[1040],"visibleElements":[16],"view":[1040],"widget":[1040],"fetchFeatures":[64],"clear":[64],"close":[64],"next":[64],"open":[64],"previous":[64],"triggerAction":[64]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"content":["contentWatcher"],"features":["featuresWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"]}]]],["p-280a13d4",[[0,"arcgis-floor-filter",{"referenceElement":[1,"reference-element"],"facility":[1],"level":[1],"longNames":[4,"long-names"],"site":[1],"position":[1],"expandable":[4],"widget":[1040],"view":[1040],"updateWebDocument":[64]},null,{"referenceElement":["referenceElementWatcher"],"facility":["facilityWatcher"],"level":["levelWatcher"],"longNames":["longNamesWatcher"],"site":["siteWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-8db54e82",[[0,"arcgis-histogram",{"referenceElement":[1,"reference-element"],"average":[2],"barCreatedFunction":[16],"bins":[16],"dataLineCreatedFunction":[16],"dataLines":[16],"labelFormatFunction":[16],"layout":[1],"max":[2],"min":[2],"state":[1025],"position":[1],"expandable":[4],"widget":[1040]},null,{"average":["averageWatcher"],"barCreatedFunction":["barCreatedFunctionWatcher"],"bins":["binsWatcher"],"dataLineCreatedFunction":["dataLineCreatedFunctionWatcher"],"dataLines":["dataLinesWatcher"],"labelFormatFunction":["labelFormatFunctionWatcher"],"layout":["layoutWatcher"],"max":["maxWatcher"],"min":["minWatcher"]}]]],["p-6944d5fa",[[0,"arcgis-histogram-range-slider",{"referenceElement":[1,"reference-element"],"average":[2],"barCreatedFunction":[16],"bins":[16],"dataLineCreatedFunction":[16],"dataLines":[16],"excludedBarColor":[16],"includedBarColor":[16],"labelFormatFunction":[16],"max":[2],"min":[2],"precision":[2],"rangeType":[1,"range-type"],"standardDeviation":[2,"standard-deviation"],"standardDeviationCount":[2,"standard-deviation-count"],"values":[16],"position":[1],"expandable":[4],"widget":[1040]},null,{"average":["averageWatcher"],"barCreatedFunction":["barCreatedFunctionWatcher"],"bins":["binsWatcher"],"dataLineCreatedFunction":["dataLineCreatedFunctionWatcher"],"dataLines":["dataLinesWatcher"],"excludedBarColor":["excludedBarColorWatcher"],"includedBarColor":["includedBarColorWatcher"],"labelFormatFunction":["labelFormatFunctionWatcher"],"max":["maxWatcher"],"min":["minWatcher"],"precision":["precisionWatcher"],"rangeType":["rangeTypeWatcher"],"standardDeviation":["standardDeviationWatcher"],"standardDeviationCount":["standardDeviationCountWatcher"],"values":["valuesWatcher"]}]]],["p-a90d4d13",[[0,"arcgis-layer-list",{"referenceElement":[1,"reference-element"],"listItemCreatedFunction":[16],"multipleSelectionEnabled":[4,"multiple-selection-enabled"],"operationalItems":[1040],"selectedItems":[1040],"selectionEnabled":[4,"selection-enabled"],"visibleElements":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"triggerAction":[64]},null,{"referenceElement":["referenceElementWatcher"],"listItemCreatedFunction":["listItemCreatedFunctionWatcher"],"multipleSelectionEnabled":["multipleSelectionEnabledWatcher"],"selectedItems":["selectedItemsWatcher"],"selectionEnabled":["selectionEnabledWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-2f3c811c",[[0,"arcgis-legend",{"referenceElement":[1,"reference-element"],"activeLayerInfos":[16],"basemapLegendVisible":[4,"basemap-legend-visible"],"hideLayersNotInCurrentView":[4,"hide-layers-not-in-current-view"],"layerInfos":[16],"respectLayerVisibility":[4,"respect-layer-visibility"],"legendStyle":[1,"legend-style"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"activeLayerInfos":["activeLayerInfosWatcher"],"basemapLegendVisible":["basemapLegendVisibleWatcher"],"hideLayersNotInCurrentView":["hideLayersNotInCurrentViewWatcher"],"layerInfos":["layerInfosWatcher"],"respectLayerVisibility":["respectLayerVisibilityWatcher"],"legendStyle":["styleWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-a8d8d49d",[[0,"arcgis-line-of-sight",{"referenceElement":[1,"reference-element"],"analysis":[1040],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-79cd2168",[[0,"arcgis-measurement",{"referenceElement":[1,"reference-element"],"activeTool":[1,"active-tool"],"activeWidget":[1040],"areaUnit":[1,"area-unit"],"linearUnit":[1,"linear-unit"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"startMeasurement":[64]},null,{"referenceElement":["referenceElementWatcher"],"activeTool":["activeToolWatcher"],"areaUnit":["areaUnitWatcher"],"linearUnit":["linearUnitWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-6a660600",[[0,"arcgis-print",{"referenceElement":[1,"reference-element"],"allowedFormats":[1,"allowed-formats"],"allowedLayouts":[1,"allowed-layouts"],"exportedLinks":[1040],"extraParameters":[8,"extra-parameters"],"includeDefaultTemplates":[4,"include-default-templates"],"portal":[16],"printServiceUrl":[1,"print-service-url"],"templateCustomTextElements":[16],"templateOptions":[16],"position":[1],"expandable":[4],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"allowedFormats":["allowedFormatsWatcher"],"allowedLayouts":["allowedLayoutsWatcher"],"extraParameters":["extraParametersWatcher"],"includeDefaultTemplates":["includeDefaultTemplatesWatcher"],"portal":["portalWatcher"],"printServiceUrl":["printServiceUrlWatcher"],"templateCustomTextElements":["templateCustomTextElementsWatcher"],"templateOptions":["templateOptionsWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-bfdae454",[[0,"arcgis-scale-bar",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"barStyle":[1,"bar-style"],"unit":[1],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"view":["viewWatcher"],"position":["positionWatcher"],"barStyle":["styleWatcher"],"unit":["unitWatcher"]}]]],["p-85f15a50",[[0,"arcgis-scale-range-slider",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"layer":[16],"maxScale":[2,"max-scale"],"maxScaleLimit":[2,"max-scale-limit"],"minScale":[2,"min-scale"],"minScaleLimit":[2,"min-scale-limit"],"region":[1],"visibleElements":[16]},null,{"referenceElement":["referenceElementWatcher"],"view":["viewWatcher"],"position":["positionWatcher"],"layer":["layerWatcher"],"maxScale":["maxScaleWatcher"],"maxScaleLimit":["maxScaleLimitWatcher"],"minScale":["minScaleWatcher"],"minScaleLimit":["minScaleLimitWatcher"],"region":["regionWatcher"],"visibleElements":["visibleElementsWatcher"]}]]],["p-cd74ffa9",[[0,"arcgis-search",{"referenceElement":[1,"reference-element"],"activeMenu":[1,"active-menu"],"activeSource":[1040],"activeSourceIndex":[1026,"active-source-index"],"allPlaceholder":[1,"all-placeholder"],"allSources":[1040],"autoSelect":[4,"auto-select"],"defaultSources":[1040],"includeDefaultSources":[4,"include-default-sources"],"locationEnabled":[4,"location-enabled"],"maxResults":[2,"max-results"],"maxSuggestions":[2,"max-suggestions"],"minSuggestCharacters":[2,"min-suggest-characters"],"popupEnabled":[4,"popup-enabled"],"popupTemplate":[16],"portal":[16],"resultGraphic":[1040],"resultGraphicEnabled":[4,"result-graphic-enabled"],"results":[1040],"searchAllEnabled":[4,"search-all-enabled"],"searchTerm":[1,"search-term"],"selectedResult":[1040],"sources":[16],"suggestions":[1040],"suggestionsEnabled":[4,"suggestions-enabled"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"blurSearch":[64],"clearSearch":[64],"focusSearch":[64],"search":[64],"suggest":[64]},null,{"referenceElement":["referenceElementWatcher"],"activeMenu":["activeMenuWatcher"],"activeSourceIndex":["activeSourceIndexWatcher"],"allPlaceholder":["allPlaceholderWatcher"],"autoSelect":["autoSelectWatcher"],"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"]}]]],["p-898ebe55",[[0,"arcgis-shadow-cast",{"referenceElement":[1,"reference-element"],"view":[1040],"visibleElements":[16],"position":[1],"expandable":[4],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"view":["viewWatcher"],"visibleElements":["visibleElementsWatcher"],"position":["positionWatcher"]}]]],["p-9d5e3443",[[0,"arcgis-sketch",{"referenceElement":[1,"reference-element"],"activeTool":[1537,"active-tool"],"availableCreateTools":[16],"createGraphic":[1040],"creationMode":[1,"creation-mode"],"defaultCreateOptions":[16],"defaultUpdateOptions":[16],"labelOptions":[16],"layer":[1040],"layout":[1],"snappingOptions":[16],"tooltipOptions":[16],"updateGraphics":[1040],"visibleElements":[16],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"availableCreateTools":["availableCreateToolsWatcher"],"creationMode":["creationModeWatcher"],"defaultCreateOptions":["defaultCreateOptionsWatcher"],"defaultUpdateOptions":["defaultUpdateOptionsWatcher"],"labelOptions":["labelOptionsWatcher"],"layer":["layerWatcher"],"layout":["layoutWatcher"],"snappingOptions":["snappingOptionsWatcher"],"tooltipOptions":["tooltipOptionsWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-182e62c1",[[0,"arcgis-slice",{"referenceElement":[1,"reference-element"],"analysis":[1040],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-6651c132",[[0,"arcgis-slider",{"referenceElement":[1,"reference-element"],"draggableSegmentsEnabled":[4,"draggable-segments-enabled"],"effectiveMax":[2,"effective-max"],"effectiveMin":[2,"effective-min"],"effectiveSegmentElements":[1040],"labelElements":[1040],"labelInputsEnabled":[4,"label-inputs-enabled"],"labels":[16],"layout":[1],"min":[2],"max":[2],"maxLabelElement":[1040],"minLabelElement":[1040],"precision":[2],"rangeLabelInputsEnabled":[4,"range-label-inputs-enabled"],"segmentElements":[1040],"snapOnClickEnabled":[4,"snap-on-click-enabled"],"syncedSegmentsEnabled":[4,"synced-segments-enabled"],"thumbElements":[1040],"thumbsConstrained":[4,"thumbs-constrained"],"tickConfigs":[16],"tickElements":[1040],"trackElement":[1040],"steps":[8],"values":[1],"position":[1],"expandable":[4],"widget":[1040]},null,{"draggableSegmentsEnabled":["draggableSegmentsEnabledWatcher"],"effectiveMax":["effectiveMaxWatcher"],"effectiveMin":["effectiveMinWatcher"],"layout":["layoutWatcher"],"min":["minWatcher"],"max":["maxWatcher"],"precision":["precisionWatcher"],"rangeLabelInputsEnabled":["rangeLabelInputsEnabledWatcher"],"snapOnClickEnabled":["snapOnClickEnabledWatcher"],"syncedSegmentsEnabled":["syncedSegmentsEnabledWatcher"],"thumbsConstrained":["thumbsConstrainedWatcher"],"tickConfigs":["tickConfigsWatcher"],"steps":["stepsWatcher"],"values":["valuesWatcher"]}]]],["p-4ee3e288",[[0,"arcgis-table-list",{"referenceElement":[1,"reference-element"],"listItemCreatedFunction":[16],"multipleSelectionEnabled":[4,"multiple-selection-enabled"],"selectionEnabled":[4,"selection-enabled"],"selectedItems":[1040],"tableItems":[1040],"visibleElements":[16],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"listItemCreatedFunction":["listItemCreatedFunctionWatcher"],"multipleSelectionEnabled":["multipleSelectionEnabledWatcher"],"selectionEnabled":["selectionEnabledWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-1cbc6c67",[[0,"arcgis-time-slider",{"referenceElement":[1,"reference-element"],"actions":[16],"effectiveStops":[1040],"fullTimeExtent":[16],"layout":[1],"loop":[4],"mode":[1],"playRate":[2,"play-rate"],"stops":[16],"tickConfigs":[16],"timeExtent":[16],"timeVisible":[4,"time-visible"],"timeZone":[1,"time-zone"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"next":[64],"play":[64],"previous":[64],"stop":[64]},null,{"referenceElement":["referenceElementWatcher"],"actions":["actionsWatcher"],"fullTimeExtent":["fullTimeExtentWatcher"],"layout":["layoutWatcher"],"loop":["loopWatcher"],"mode":["modeWatcher"],"playRate":["playRateWatcher"],"stops":["stopsWatcher"],"tickConfigs":["tickConfigsWatcher"],"timeExtent":["timeExtentWatcher"],"timeVisible":["timeVisibleWatcher"],"timeZone":["timeZoneWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-41cc628e",[[0,"arcgis-utility-network-associations",{"referenceElement":[1,"reference-element"],"autoRefreshAssociations":[4,"auto-refresh-associations"],"connectivityAssociationsLineSymbol":[16],"includeConnectivityAssociations":[4,"include-connectivity-associations"],"includeStructuralAttachmentAssociations":[4,"include-structural-attachment-associations"],"maxAllowableAssociations":[2,"max-allowable-associations"],"maxAllowableAssociationsSliderMax":[2,"max-allowable-associations-slider-max"],"maxAllowableAssociationsSliderMin":[2,"max-allowable-associations-slider-min"],"maxAllowableAssociationsSliderStep":[2,"max-allowable-associations-slider-step"],"showArrowsConnectivity":[4,"show-arrows-connectivity"],"showArrowsStructuralAttachment":[4,"show-arrows-structural-attachment"],"showAssociationsEnabled":[4,"show-associations-enabled"],"structuralAttachmentAssociationsLineSymbol":[16],"utilityNetwork":[16],"visibleElements":[16],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]},null,{"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"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-7d0292de",[[0,"arcgis-utility-network-trace",{"referenceElement":[1,"reference-element"],"defaultGraphicColor":[16],"flags":[16],"gdbVersion":[1,"gdb-version"],"inputSettings":[16],"selectedTraces":[16],"selectOnComplete":[4,"select-on-complete"],"showGraphicsOnComplete":[4,"show-graphics-on-complete"],"showSelectionAttributes":[4,"show-selection-attributes"],"position":[1],"expandable":[4],"view":[1040],"widget":[1040],"checkCanTrace":[64],"confirmReset":[64]},null,{"referenceElement":["referenceElementWatcher"],"defaultGraphicColor":["defaultGraphicColorWatcher"],"flags":["flagsWatcher"],"gdbVersion":["gdbVersionWatcher"],"inputSettings":["inputSettingsWatcher"],"selectedTraces":["selectedTracesWatcher"],"selectOnComplete":["selectOnCompleteWatcher"],"showGraphicsOnComplete":["showGraphicsOnCompleteWatcher"],"showSelectionAttributes":["showSelectionAttributesWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-f2d20842",[[0,"arcgis-utility-network-validate-topology",{"referenceElement":[1,"reference-element"],"extentToValidate":[1,"extent-to-validate"],"utilityNetwork":[16],"view":[1040],"position":[1],"expandable":[4],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"extentToValidate":["extentToValidateWatcher"],"utilityNetwork":["utilityNetworkWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-77c37a42",[[0,"arcgis-value-picker",{"referenceElement":[1,"reference-element"],"view":[1040],"position":[1],"expandable":[4],"widget":[1040],"canNext":[516,"can-next"],"canPlay":[516,"can-play"],"canPrevious":[516,"can-previous"],"caption":[1],"component":[16],"layout":[1],"loop":[4],"playRate":[2,"play-rate"],"visibleElements":[16],"values":[1040],"next":[64],"pause":[64],"play":[64],"previous":[64]},null,{"position":["positionWatcher"],"caption":["captionWatcher"],"component":["componentWatcher"],"layout":["layoutWatcher"],"loop":["loopWatcher"],"playRate":["playRateWatcher"],"visibleElements":["visibleElementsWatcher"]}]]],["p-3b572dd1",[[0,"arcgis-weather",{"referenceElement":[1,"reference-element"],"position":[1],"expandable":[4],"view":[1040],"visibleElements":[16],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"view":["viewWatcher"],"visibleElements":["visibleElementsWatcher"]}]]],["p-bd4b7737",[[0,"arcgis-compass",{"referenceElement":[1,"reference-element"],"position":[1],"widget":[1040],"view":[1040],"reset":[64]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-aa368620",[[0,"arcgis-feature-table",{"referenceElement":[1,"reference-element"],"activeFilters":[1040],"activeSortOrders":[1040],"attachmentsEnabled":[4,"attachments-enabled"],"autoRefreshEnabled":[4,"auto-refresh-enabled"],"columnReorderingEnabled":[4,"column-reordering-enabled"],"columns":[1040],"editingEnabled":[4,"editing-enabled"],"filterGeometry":[16],"hiddenFields":[16],"highlightEnabled":[4,"highlight-enabled"],"highlightIds":[16],"layer":[1040],"menu":[1040],"menuConfig":[16],"multiSortEnabled":[4,"multi-sort-enabled"],"pageSize":[2,"page-size"],"returnGeometryEnabled":[4,"return-geometry-enabled"],"state":[1025],"tableTemplate":[16],"timeZone":[1,"time-zone"],"itemId":[1,"item-id"],"position":[1],"url":[1],"visibleElements":[16],"view":[1040],"widget":[1040],"clearSelectionFilter":[64],"deleteSelection":[64],"filterBySelection":[64],"findColumn":[64],"hideColumn":[64],"refresh":[64],"scrollToIndex":[64],"showAllColumns":[64],"showColumn":[64],"sortColumn":[64]},null,{"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"],"position":["positionWatcher"],"url":["urlWatcher"],"visibleElements":["visibleElementsWatcher"],"view":["viewWatcher"]}]]],["p-9e18ff46",[[0,"arcgis-fullscreen",{"referenceElement":[1,"reference-element"],"element":[16],"position":[1],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"element":["elementWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-e72408d1",[[0,"arcgis-home",{"referenceElement":[1,"reference-element"],"viewpoint":[16],"uiStrings":[8,"ui-strings"],"view":[1040],"position":[1],"widget":[1040],"cancelGo":[64],"go":[64]},null,{"referenceElement":["referenceElementWatcher"],"viewpoint":["viewpointWatcher"],"uiStrings":["uiStringsWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]],["p-0bd2cb52",[[0,"arcgis-locate",{"referenceElement":[1,"reference-element"],"geolocationOptions":[8,"geolocation-options"],"goToLocationEnabled":[4,"go-to-location-enabled"],"graphic":[16],"popupEnabled":[4,"popup-enabled"],"rotationEnabled":[4,"rotation-enabled"],"scale":[2],"position":[1],"view":[1040],"widget":[1040],"cancelLocate":[64],"locate":[64]},null,{"referenceElement":["referenceElementWatcher"],"geolocationOptions":["geolocationOptionsWatcher"],"goToLocationEnabled":["goToLocationEnabledWatcher"],"graphic":["graphicWatcher"],"popupEnabled":["popupEnabledWatcher"],"rotationEnabled":["rotationEnabledWatcher"],"scale":["scaleWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-becce538",[[0,"arcgis-map",{"allLayerViews":[1040],"background":[1040],"basemapView":[1040],"basemap":[1040],"center":[1025],"constraints":[16],"destroyDisabled":[4,"destroy-disabled"],"extent":[1040],"fatalError":[1040],"floors":[16],"graphics":[1040],"highlightOptions":[16],"interacting":[1028],"itemId":[1537,"item-id"],"layerViews":[1040],"magnifier":[1040],"map":[1040],"navigating":[1028],"navigation":[1040],"padding":[16],"popup":[1040],"popupEnabled":[4,"popup-enabled"],"ready":[1028],"resizeAlign":[1,"resize-align"],"resolution":[1026],"rotation":[1026],"scale":[1026],"spatialReference":[1040],"stationary":[1028],"suspended":[1540],"theme":[16],"timeExtent":[16],"timeZone":[1,"time-zone"],"toMap":[1040],"toScreen":[1040],"updating":[1540],"viewpoint":[1040],"zoom":[1538],"view":[1040],"closePopup":[64],"destroy":[64],"goTo":[64],"hitTest":[64],"openPopup":[64],"takeScreenshot":[64],"tryFatalErrorRecovery":[64],"whenLayerView":[64]},null,{"background":["backgroundWatcher"],"basemap":["basemapWatcher"],"center":["centerWatcher"],"constraints":["constraintsWatcher"],"extent":["extentWatcher"],"floors":["floorsWatcher"],"graphics":["graphicsWatcher"],"highlightOptions":["highlightOptionsWatcher"],"itemId":["itemIdWatcher"],"map":["mapWatcher"],"navigation":["navigationWatcher"],"padding":["paddingWatcher"],"popupEnabled":["popupEnabledWatcher"],"resizeAlign":["resizeAlignWatcher"],"rotation":["rotationWatcher"],"scale":["scaleWatcher"],"spatialReference":["spatialReferenceWatcher"],"theme":["themeWatcher"],"timeExtent":["timeExtentWatcher"],"timeZone":["timeZoneWatcher"],"viewpoint":["viewpointWatcher"],"zoom":["zoomWatcher"]}]]],["p-dc0af55d",[[0,"arcgis-navigation-toggle",{"referenceElement":[1,"reference-element"],"layout":[1537],"position":[1],"view":[1040],"widget":[1040],"toggle":[64]},null,{"referenceElement":["referenceElementWatcher"],"layout":["layoutWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-1b3c344e",[[4,"arcgis-placement",{"referenceElement":[1,"reference-element"],"view":[16],"position":[1]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"]}]]],["p-5ea9c4f5",[[0,"arcgis-swipe",{"referenceElement":[1,"reference-element"],"direction":[1],"dragLabel":[1,"drag-label"],"leadingLayers":[16],"swipePosition":[2,"swipe-position"],"trailingLayers":[16],"view":[1040],"position":[1],"widget":[1040]},null,{"direction":["directionWatcher"],"dragLabel":["dragLabelWatcher"],"leadingLayers":["leadingLayersWatcher"],"swipePosition":["swipePositionWatcher"],"trailingLayers":["trailingLayersWatcher"],"position":["positionWatcher"],"referenceElement":["referenceElementWatcher"],"view":["viewWatcher"]}]]],["p-fce90981",[[0,"arcgis-track",{"referenceElement":[1,"reference-element"],"geolocationOptions":[8,"geolocation-options"],"goToLocationEnabled":[4,"go-to-location-enabled"],"graphic":[16],"scale":[2],"tracking":[1540],"rotationEnabled":[4,"rotation-enabled"],"position":[1],"view":[1040],"widget":[1040]},null,{"referenceElement":["referenceElementWatcher"],"geolocationOptions":["geolocationOptionsWatcher"],"goToLocationEnabled":["goToLocationEnabledWatcher"],"graphic":["graphicWatcher"],"scale":["scaleWatcher"],"rotationEnabled":["rotationEnabledWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-4fcb2958",[[0,"arcgis-zoom",{"referenceElement":[1,"reference-element"],"layout":[1],"view":[1040],"position":[1],"widget":[1040],"zoomIn":[64],"zoomOut":[64]},null,{"referenceElement":["referenceElementWatcher"],"layout":["layoutWatcher"],"view":["viewWatcher"],"position":["positionWatcher"]}]]]]'),e)));
2
+ //# sourceMappingURL=arcgis-map-components.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.8.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,+yqCAAuCH"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-8896b456.js";import{r as n,i as h}from"./p-e8f7bdbb.js";import{r,c as a,a as c}from"./p-8c591aa0.js";import{o}from"./p-8cd5e748.js";const d="";const f=class{constructor(s){t(this,s);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.position="bottom-left";this.expandable=false;this.analysis=undefined;this.unit=undefined;this.unitOptions=undefined;this.widget=undefined;this.view=undefined}referenceElementWatcher(t){r(this,t)}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}unitWatcher(t){if(this.widget){this.widget.unit=t}}unitOptionsWatcher(t){if(this.widget){this.widget.unitOptions=t}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}async componentDidLoad(){const t=this._createParams();const i=await n(t);this.widget=i;this._addWatchers();this.widgetReady.emit({widget:this.widget});a(this)}disconnectedCallback(){o(this)}render(){if(this.expandable){return s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t}))}return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await h();c(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:true}))}_createParams(){const t={container:this.childElem};if(this.view){t.view=this.view}if(this.unit){t.unit=this.unit}if(this.unitOptions){t.unitOptions=this.unitOptions}return t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],view:["viewWatcher"]}}};f.style=d;export{f as arcgis_directline_measurement_3d};
2
+ //# sourceMappingURL=p-04a5c176.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["directlineMeasurement3dCss","ArcgisDirectLineMeasurement3d","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","positionWatcher","undefined","widget","view","ui","move","childElem","unitWatcher","value","unit","unitOptionsWatcher","unitOptions","viewWatcher","componentDidLoad","params","_createParams","newWidgetsDirectLineMeasurement3D","_addWatchers","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","watch","importCoreReactiveUtils","addHandles","analysis","initial","container"],"sources":["src/components/directline-measurement-3d/directline-measurement-3d.css?tag=arcgis-directline-measurement-3d","src/components/directline-measurement-3d/directline-measurement-3d.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsDirectLineMeasurement3D } from \"@arcgis/core-adapter\";\nimport type DirectLineMeasurement3D from \"@arcgis/core/widgets/DirectLineMeasurement3D\";\nimport { ArcgisReferenceElement, addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISSceneView } from \"../types\";\n\nexport type DirectLineMeasurement3DWidget = InstanceType<typeof DirectLineMeasurement3D>;\n\n@Component({\n tag: \"arcgis-directline-measurement-3d\",\n styleUrl: \"directline-measurement-3d.css\",\n shadow: false\n})\nexport class ArcgisDirectLineMeasurement3d implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Element\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) analysis: DirectLineMeasurement3DWidget[\"analysis\"];\n\n @Prop() unit: DirectLineMeasurement3DWidget[\"unit\"];\n\n @Watch(\"unit\")\n unitWatcher(value: DirectLineMeasurement3DWidget[\"unit\"]): void {\n if (this.widget) {\n this.widget.unit = value;\n }\n }\n\n @Prop() unitOptions: DirectLineMeasurement3DWidget[\"unitOptions\"];\n\n @Watch(\"unitOptions\")\n unitOptionsWatcher(value: DirectLineMeasurement3DWidget[\"unitOptions\"]): void {\n if (this.widget) {\n this.widget.unitOptions = value;\n }\n }\n\n @Prop({ mutable: true }) widget: DirectLineMeasurement3DWidget;\n\n @Prop({ mutable: true }) view: ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.DirectLineMeasurement3D }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsDirectLineMeasurement3D(params);\n\n this.widget = widget;\n\n this._addWatchers();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.analysis,\n (value) => (this.analysis = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<DirectLineMeasurement3DWidget> {\n const params: Partial<DirectLineMeasurement3DWidget> = {\n container: this.childElem\n };\n\n if (this.view) {\n params.view = this.view;\n }\n\n if (this.unit) {\n params.unit = this.unit;\n }\n\n if (this.unitOptions) {\n params.unitOptions = this.unitOptions;\n }\n\n return params;\n }\n}\n"],"mappings":"gLAAA,MAAMA,EAA6B,G,MCiBtBC,EAA6B,M,kEAoExCC,KAAAC,cAAsC,G,8CA1CnB,c,gBASE,M,iHAbrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,eAAAE,CAAgBF,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKQ,KAAKC,GAAGC,KAAKV,KAAKW,UAAWR,E,EAWtC,WAAAS,CAAYC,GACV,GAAIb,KAAKO,OAAQ,CACfP,KAAKO,OAAOO,KAAOD,C,EAOvB,kBAAAE,CAAmBF,GACjB,GAAIb,KAAKO,OAAQ,CACfP,KAAKO,OAAOS,YAAcH,C,EAS9B,WAAAI,CAAYd,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOC,KAAOL,C,EAoBvB,sBAAMe,GACJ,MAAMC,EAASnB,KAAKoB,gBAEpB,MAAMb,QAAec,EAAkCF,GAEvDnB,KAAKO,OAASA,EAEdP,KAAKsB,eAELtB,KAAKuB,YAAYC,KAAK,CAAEjB,OAAQP,KAAKO,SAErCkB,EAAazB,K,CAGf,oBAAA0B,GACEC,EAAqB3B,K,CAGvB,MAAA4B,GACE,GAAI5B,KAAK6B,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAU/B,KAAK+B,SAAUC,IAAMC,GAAQjC,KAAKkC,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQjC,KAAKW,UAAYsB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQjC,KAAKW,UAAYsB,G,CAQrC,kBAAMX,GACZ,MAAMa,MAAEA,SAAgBC,IAExBC,EACErC,KACAmC,GACE,IAAMnC,KAAKO,OAAO+B,WACjBzB,GAAWb,KAAKsC,SAAWzB,GAC5B,CACE0B,QAAS,O,CAMT,aAAAnB,GACN,MAAMD,EAAiD,CACrDqB,UAAWxC,KAAKW,WAGlB,GAAIX,KAAKQ,KAAM,CACbW,EAAOX,KAAOR,KAAKQ,I,CAGrB,GAAIR,KAAKc,KAAM,CACbK,EAAOL,KAAOd,KAAKc,I,CAGrB,GAAId,KAAKgB,YAAa,CACpBG,EAAOH,YAAchB,KAAKgB,W,CAG5B,OAAOG,C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-8896b456.js";import{J as n}from"./p-e8f7bdbb.js";import{r as h,c as a}from"./p-8c591aa0.js";import{o}from"./p-8cd5e748.js";const c="arcgis-locate{}";const r=class{constructor(e){t(this,e);this.widgetReady=i(this,"widgetReady",7);this.locateSuccess=i(this,"locateSuccess",7);this.locateError=i(this,"locateError",7);this._watchHandles=[];this.referenceElement=undefined;this.geolocationOptions=undefined;this.goToLocationEnabled=undefined;this.graphic=undefined;this.popupEnabled=undefined;this.rotationEnabled=undefined;this.scale=undefined;this.position="bottom-left";this.view=undefined;this.widget=undefined}referenceElementWatcher(t){h(this,t)}geolocationOptionsWatcher(t){if(t!==undefined&&this.widget){this.widget.geolocationOptions=t}}goToLocationEnabledWatcher(t){if(t!==undefined&&this.widget){this.widget.goToLocationEnabled=t}}graphicWatcher(t){if(this.widget){this.widget.graphic=t}}popupEnabledWatcher(t){if(t!==undefined&&this.widget){this.widget.popupEnabled=t}}rotationEnabledWatcher(t){if(t!==undefined&&this.widget){this.widget.rotationEnabled=t}}scaleWatcher(t){if(t!==undefined&&this.widget){this.widget.scale=t}}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}async cancelLocate(){return this.widget?.cancelLocate()}async locate(){return this.widget?.locate()}async componentDidLoad(){const t=this._createParams();const i=await n(t);this.widget=i;this._proxyEvents();this.widgetReady.emit({widget:this.widget});a(this)}disconnectedCallback(){o(this)}render(){return e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};if(this.geolocationOptions!==undefined){t.geolocationOptions=this.geolocationOptions}if(this.goToLocationEnabled!==undefined){t.goToLocationEnabled=this.goToLocationEnabled}if(this.graphic!==undefined){t.graphic=this.graphic}if(this.popupEnabled!==undefined){t.popupEnabled=this.popupEnabled}if(this.scale!==undefined){t.scale=this.scale}if(this.view){t.view=this.view}return t}async _proxyEvents(){this.widget?.on("locate",(t=>this.locateSuccess.emit(t)));this.widget?.on("locate-error",(t=>this.locateError.emit(t)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],popupEnabled:["popupEnabledWatcher"],rotationEnabled:["rotationEnabledWatcher"],scale:["scaleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};r.style=c;export{r as arcgis_locate};
2
+ //# sourceMappingURL=p-0bd2cb52.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["locateCss","ArcgisLocate","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","geolocationOptionsWatcher","undefined","widget","geolocationOptions","goToLocationEnabledWatcher","goToLocationEnabled","graphicWatcher","graphic","popupEnabledWatcher","popupEnabled","rotationEnabledWatcher","rotationEnabled","scaleWatcher","scale","positionWatcher","view","ui","move","childElem","viewWatcher","cancelLocate","locate","componentDidLoad","params","_createParams","newWidgetsLocate","_proxyEvents","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","h","ref","el","container","on","e","locateSuccess","locateError"],"sources":["src/components/locate/locate.css?tag=arcgis-locate","src/components/locate/locate.tsx"],"sourcesContent":["arcgis-locate {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsLocate } from \"@arcgis/core-adapter\";\nimport type Locate from \"@arcgis/core/widgets/Locate\";\nimport {\n ArcgisReferenceElement,\n checkForView,\n referenceElementHelper,\n WidgetElement\n} from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type LocateWidget = InstanceType<typeof Locate>;\n\n@Component({\n tag: \"arcgis-locate\",\n styleUrl: \"locate.css\"\n})\nexport class ArcgisLocate implements WidgetElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() geolocationOptions: LocateWidget[\"geolocationOptions\"];\n\n @Watch(\"geolocationOptions\")\n geolocationOptionsWatcher(newValue: LocateWidget[\"geolocationOptions\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.geolocationOptions = newValue;\n }\n }\n\n @Prop() goToLocationEnabled: LocateWidget[\"goToLocationEnabled\"];\n\n @Watch(\"goToLocationEnabled\")\n goToLocationEnabledWatcher(newValue: LocateWidget[\"goToLocationEnabled\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.goToLocationEnabled = newValue;\n }\n }\n\n @Prop() graphic: LocateWidget[\"graphic\"];\n\n @Watch(\"graphic\")\n graphicWatcher(newValue: LocateWidget[\"graphic\"]): void {\n if (this.widget) {\n this.widget.graphic = newValue;\n }\n }\n\n @Prop() popupEnabled: LocateWidget[\"popupEnabled\"];\n\n @Watch(\"popupEnabled\")\n popupEnabledWatcher(newValue: LocateWidget[\"popupEnabled\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.popupEnabled = newValue;\n }\n }\n\n @Prop() rotationEnabled: LocateWidget[\"rotationEnabled\"];\n\n @Watch(\"rotationEnabled\")\n rotationEnabledWatcher(newValue: LocateWidget[\"rotationEnabled\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.rotationEnabled = newValue;\n }\n }\n\n @Prop() scale: LocateWidget[\"scale\"];\n\n @Watch(\"scale\")\n scaleWatcher(newValue: LocateWidget[\"scale\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.scale = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: LocateWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Locate }>;\n\n @Event({ cancelable: true }) locateSuccess: EventEmitter<__esri.LocateLocateEvent>;\n @Event({ cancelable: true }) locateError: EventEmitter<__esri.LocateLocateErrorEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async cancelLocate(): Promise<void> {\n return this.widget?.cancelLocate();\n }\n\n @Method()\n async locate(): Promise<any> {\n return this.widget?.locate();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsLocate(params);\n\n this.widget = widget;\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<LocateWidget> {\n const params: Partial<LocateWidget> = {\n container: this.childElem\n };\n\n if (this.geolocationOptions !== undefined) {\n params.geolocationOptions = this.geolocationOptions;\n }\n\n if (this.goToLocationEnabled !== undefined) {\n params.goToLocationEnabled = this.goToLocationEnabled;\n }\n\n if (this.graphic !== undefined) {\n params.graphic = this.graphic;\n }\n\n if (this.popupEnabled !== undefined) {\n params.popupEnabled = this.popupEnabled;\n }\n\n if (this.scale !== undefined) {\n params.scale = this.scale;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n\n private async _proxyEvents() {\n this.widget?.on(\"locate\", (e) => this.locateSuccess.emit(e));\n this.widget?.on(\"locate-error\", (e) => this.locateError.emit(e));\n }\n}\n"],"mappings":"uKAAA,MAAMA,EAAY,kB,MCoBLC,EAAY,M,wJAkGvBC,KAAAC,cAAsC,G,0NApBnB,c,0CA1DnB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,yBAAAE,CAA0BF,GACxB,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOC,mBAAqBL,C,EAOrC,0BAAAM,CAA2BN,GACzB,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOG,oBAAsBP,C,EAOtC,cAAAQ,CAAeR,GACb,GAAIH,KAAKO,OAAQ,CACfP,KAAKO,OAAOK,QAAUT,C,EAO1B,mBAAAU,CAAoBV,GAClB,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOO,aAAeX,C,EAO/B,sBAAAY,CAAuBZ,GACrB,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOS,gBAAkBb,C,EAOlC,YAAAc,CAAad,GACX,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOW,MAAQf,C,EAOxB,eAAAgB,CAAgBhB,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKoB,KAAKC,GAAGC,KAAKtB,KAAKuB,UAAWpB,E,EAOtC,WAAAqB,CAAYrB,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOa,KAAOjB,C,EA0BvB,kBAAMsB,GACJ,OAAOzB,KAAKO,QAAQkB,c,CAItB,YAAMC,GACJ,OAAO1B,KAAKO,QAAQmB,Q,CAStB,sBAAMC,GACJ,MAAMC,EAAS5B,KAAK6B,gBAEpB,MAAMtB,QAAeuB,EAAiBF,GAEtC5B,KAAKO,OAASA,EAEdP,KAAK+B,eAEL/B,KAAKgC,YAAYC,KAAK,CAAE1B,OAAQP,KAAKO,SAErC2B,EAAalC,K,CAGf,oBAAAmC,GACEC,EAAqBpC,K,CAGvB,MAAAqC,GACE,OAAOC,EAAA,OAAKC,IAAMC,GAAQxC,KAAKuB,UAAYiB,G,CAQrC,aAAAX,GACN,MAAMD,EAAgC,CACpCa,UAAWzC,KAAKuB,WAGlB,GAAIvB,KAAKQ,qBAAuBF,UAAW,CACzCsB,EAAOpB,mBAAqBR,KAAKQ,kB,CAGnC,GAAIR,KAAKU,sBAAwBJ,UAAW,CAC1CsB,EAAOlB,oBAAsBV,KAAKU,mB,CAGpC,GAAIV,KAAKY,UAAYN,UAAW,CAC9BsB,EAAOhB,QAAUZ,KAAKY,O,CAGxB,GAAIZ,KAAKc,eAAiBR,UAAW,CACnCsB,EAAOd,aAAed,KAAKc,Y,CAG7B,GAAId,KAAKkB,QAAUZ,UAAW,CAC5BsB,EAAOV,MAAQlB,KAAKkB,K,CAGtB,GAAIlB,KAAKoB,KAAM,CACbQ,EAAOR,KAAOpB,KAAKoB,I,CAGrB,OAAOQ,C,CAGD,kBAAMG,GACZ/B,KAAKO,QAAQmC,GAAG,UAAWC,GAAM3C,KAAK4C,cAAcX,KAAKU,KACzD3C,KAAKO,QAAQmC,GAAG,gBAAiBC,GAAM3C,KAAK6C,YAAYZ,KAAKU,I"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-8896b456.js";import{t as r,i as n}from"./p-e8f7bdbb.js";import{r as a,c as h,a as o}from"./p-8c591aa0.js";import{o as c}from"./p-8cd5e748.js";const f="";const l=class{constructor(e){t(this,e);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.activeWorkflow=undefined;this.allowedWorkflows=undefined;this.labelOptions=undefined;this.layerInfos=undefined;this.snappingOptions=undefined;this.supportingWidgetDefaults=undefined;this.tooltipOptions=undefined;this.visibleElements=undefined;this.position="bottom-left";this.expandable=false;this.view=undefined;this.widget=undefined}referenceElementWatcher(t){a(this,t)}allowedWorkflowsWatcher(t){if(this.widget){this.widget.allowedWorkflows=t}}labelOptionsWatcher(t){if(this.widget){this.widget.labelOptions=t}}layerInfosWatcher(t){if(this.widget){this.widget.layerInfos=t}}snappingOptionsWatcher(t){if(this.widget){this.widget.snappingOptions=t}}supportingWidgetDefaultsWatcher(t){if(this.widget){this.widget.supportingWidgetDefaults=t}}tooltipOptionsWatcher(t){if(this.widget){this.widget.tooltipOptions=t}}visibleElementsWatcher(t){if(this.widget){this.widget.visibleElements=t}}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}async cancelWorkflow(){return this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){return this.widget?.deleteFeatureFromWorkflow()}async startCreateFeaturesWorkflowAtFeatureCreation(t){return this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){return this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(t){return this.widget?.startUpdateWorkflowAtFeatureEdit(t)}async startUpdateWorkflowAtFeatureSelection(){return this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(t){return this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t)}async componentDidLoad(){const t=this._createParams();const i=await r(t);this.widget=i;this._addWatchers();this.widgetReady.emit({widget:this.widget});h(this)}disconnectedCallback(){c(this)}render(){if(this.expandable){return e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t}))}return e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await n();o(this,t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:true}))}_createParams(){const t={container:this.childElem};if(this.allowedWorkflows){t.allowedWorkflows=this.allowedWorkflows}if(this.labelOptions){t.labelOptions=this.labelOptions}if(this.layerInfos){t.layerInfos=this.layerInfos}if(this.snappingOptions){t.snappingOptions=this.snappingOptions}if(this.supportingWidgetDefaults){t.supportingWidgetDefaults=this.supportingWidgetDefaults}if(this.tooltipOptions){t.tooltipOptions=this.tooltipOptions}if(this.visibleElements){t.visibleElements=this.visibleElements}if(this.view){t.view=this.view}return t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],visibleElements:["visibleElementsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style=f;export{l as arcgis_editor};
2
+ //# sourceMappingURL=p-108fc9da.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["editorCss","ArcgisEditor","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","allowedWorkflowsWatcher","value","widget","allowedWorkflows","labelOptionsWatcher","labelOptions","layerInfosWatcher","layerInfos","snappingOptionsWatcher","snappingOptions","supportingWidgetDefaultsWatcher","supportingWidgetDefaults","tooltipOptionsWatcher","tooltipOptions","visibleElementsWatcher","visibleElements","positionWatcher","undefined","view","ui","move","childElem","viewWatcher","cancelWorkflow","deleteFeatureFromWorkflow","startCreateFeaturesWorkflowAtFeatureCreation","info","startCreateFeaturesWorkflowAtFeatureTypeSelection","startUpdateWorkflowAtFeatureEdit","feature","startUpdateWorkflowAtFeatureSelection","startUpdateWorkflowAtMultipleFeatureSelection","candidates","componentDidLoad","params","_createParams","newWidgetsEditor","_addWatchers","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","watch","importCoreReactiveUtils","addHandles","activeWorkflow","initial","container"],"sources":["src/components/editor/editor.css?tag=arcgis-editor","src/components/editor/editor.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Method, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsEditor } from \"@arcgis/core-adapter\";\nimport type Editor from \"@arcgis/core/widgets/Editor\";\nimport { ArcgisReferenceElement, addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISGraphic, ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type EditorWidget = InstanceType<typeof Editor>;\n\n@Component({\n tag: \"arcgis-editor\",\n styleUrl: \"editor.css\",\n shadow: false\n})\nexport class ArcgisEditor implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Element\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop({ mutable: true }) activeWorkflow: EditorWidget[\"activeWorkflow\"];\n\n @Prop() allowedWorkflows: EditorWidget[\"allowedWorkflows\"];\n\n @Watch(\"allowedWorkflows\")\n allowedWorkflowsWatcher(value: EditorWidget[\"allowedWorkflows\"]): void {\n if (this.widget) {\n this.widget.allowedWorkflows = value;\n }\n }\n\n @Prop() labelOptions: EditorWidget[\"labelOptions\"];\n\n @Watch(\"labelOptions\")\n labelOptionsWatcher(value: EditorWidget[\"labelOptions\"]): void {\n if (this.widget) {\n this.widget.labelOptions = value;\n }\n }\n\n @Prop() layerInfos: EditorWidget[\"layerInfos\"];\n\n @Watch(\"layerInfos\")\n layerInfosWatcher(value: EditorWidget[\"layerInfos\"]): void {\n if (this.widget) {\n this.widget.layerInfos = value;\n }\n }\n\n @Prop() snappingOptions: EditorWidget[\"snappingOptions\"];\n\n @Watch(\"snappingOptions\")\n snappingOptionsWatcher(value: EditorWidget[\"snappingOptions\"]): void {\n if (this.widget) {\n this.widget.snappingOptions = value;\n }\n }\n\n @Prop() supportingWidgetDefaults: EditorWidget[\"supportingWidgetDefaults\"];\n\n @Watch(\"supportingWidgetDefaults\")\n supportingWidgetDefaultsWatcher(value: EditorWidget[\"supportingWidgetDefaults\"]): void {\n if (this.widget) {\n this.widget.supportingWidgetDefaults = value;\n }\n }\n\n @Prop() tooltipOptions: EditorWidget[\"tooltipOptions\"];\n\n @Watch(\"tooltipOptions\")\n tooltipOptionsWatcher(value: EditorWidget[\"tooltipOptions\"]): void {\n if (this.widget) {\n this.widget.tooltipOptions = value;\n }\n }\n\n @Prop() visibleElements: EditorWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(value: EditorWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = value;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: EditorWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Editor }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async cancelWorkflow(): Promise<void> {\n return this.widget?.cancelWorkflow();\n }\n\n @Method()\n async deleteFeatureFromWorkflow(): Promise<void> {\n return this.widget?.deleteFeatureFromWorkflow();\n }\n\n @Method()\n async startCreateFeaturesWorkflowAtFeatureCreation(info: __esri.CreationInfo): Promise<void> {\n return this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(info);\n }\n\n @Method()\n async startCreateFeaturesWorkflowAtFeatureTypeSelection(): Promise<void> {\n return this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection();\n }\n\n @Method()\n async startUpdateWorkflowAtFeatureEdit(feature: ArcGISGraphic): Promise<void> {\n return this.widget?.startUpdateWorkflowAtFeatureEdit(feature);\n }\n\n @Method()\n async startUpdateWorkflowAtFeatureSelection(): Promise<void> {\n return this.widget?.startUpdateWorkflowAtFeatureSelection();\n }\n\n @Method()\n async startUpdateWorkflowAtMultipleFeatureSelection(candidates: ArcGISGraphic[]): Promise<void> {\n return this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(candidates);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsEditor(params);\n\n this.widget = widget;\n\n this._addWatchers();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.activeWorkflow,\n (value) => (this.activeWorkflow = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<EditorWidget> {\n const params: Partial<EditorWidget> = {\n container: this.childElem\n };\n\n if (this.allowedWorkflows) {\n params.allowedWorkflows = this.allowedWorkflows;\n }\n\n if (this.labelOptions) {\n params.labelOptions = this.labelOptions;\n }\n\n if (this.layerInfos) {\n params.layerInfos = this.layerInfos;\n }\n\n if (this.snappingOptions) {\n params.snappingOptions = this.snappingOptions;\n }\n\n if (this.supportingWidgetDefaults) {\n params.supportingWidgetDefaults = this.supportingWidgetDefaults;\n }\n\n if (this.tooltipOptions) {\n params.tooltipOptions = this.tooltipOptions;\n }\n\n if (this.visibleElements) {\n params.visibleElements = this.visibleElements;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"mappings":"0LAAA,MAAMA,EAAY,G,MCiBLC,EAAY,M,kEAiHvBC,KAAAC,cAAsC,G,sSAtBnB,c,gBASE,M,0CA9ErB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAQ/B,uBAAAE,CAAwBC,GACtB,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOC,iBAAmBF,C,EAOnC,mBAAAG,CAAoBH,GAClB,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOG,aAAeJ,C,EAO/B,iBAAAK,CAAkBL,GAChB,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOK,WAAaN,C,EAO7B,sBAAAO,CAAuBP,GACrB,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOO,gBAAkBR,C,EAOlC,+BAAAS,CAAgCT,GAC9B,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOS,yBAA2BV,C,EAO3C,qBAAAW,CAAsBX,GACpB,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOW,eAAiBZ,C,EAOjC,sBAAAa,CAAuBb,GACrB,GAAIN,KAAKO,OAAQ,CACfP,KAAKO,OAAOa,gBAAkBd,C,EAOlC,eAAAe,CAAgBlB,GACd,GAAIA,IAAamB,WAAatB,KAAKO,OAAQ,CACzCP,KAAKuB,KAAKC,GAAGC,KAAKzB,KAAK0B,UAAWvB,E,EAStC,WAAAwB,CAAYxB,GACV,GAAIA,IAAamB,WAAatB,KAAKO,OAAQ,CACzCP,KAAKO,OAAOgB,KAAOpB,C,EAuBvB,oBAAMyB,GACJ,OAAO5B,KAAKO,QAAQqB,gB,CAItB,+BAAMC,GACJ,OAAO7B,KAAKO,QAAQsB,2B,CAItB,kDAAMC,CAA6CC,GACjD,OAAO/B,KAAKO,QAAQuB,6CAA6CC,E,CAInE,uDAAMC,GACJ,OAAOhC,KAAKO,QAAQyB,mD,CAItB,sCAAMC,CAAiCC,GACrC,OAAOlC,KAAKO,QAAQ0B,iCAAiCC,E,CAIvD,2CAAMC,GACJ,OAAOnC,KAAKO,QAAQ4B,uC,CAItB,mDAAMC,CAA8CC,GAClD,OAAOrC,KAAKO,QAAQ6B,8CAA8CC,E,CASpE,sBAAMC,GACJ,MAAMC,EAASvC,KAAKwC,gBAEpB,MAAMjC,QAAekC,EAAiBF,GAEtCvC,KAAKO,OAASA,EAEdP,KAAK0C,eAEL1C,KAAK2C,YAAYC,KAAK,CAAErC,OAAQP,KAAKO,SAErCsC,EAAa7C,K,CAGf,oBAAA8C,GACEC,EAAqB/C,K,CAGvB,MAAAgD,GACE,GAAIhD,KAAKiD,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAUnD,KAAKmD,SAAUC,IAAMC,GAAQrD,KAAKsD,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQrD,KAAK0B,UAAY2B,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQrD,KAAK0B,UAAY2B,G,CASrC,kBAAMX,GACZ,MAAMa,MAAEA,SAAgBC,IAExBC,EACEzD,KACAuD,GACE,IAAMvD,KAAKO,OAAOmD,iBACjBpD,GAAWN,KAAK0D,eAAiBpD,GAClC,CACEqD,QAAS,O,CAMT,aAAAnB,GACN,MAAMD,EAAgC,CACpCqB,UAAW5D,KAAK0B,WAGlB,GAAI1B,KAAKQ,iBAAkB,CACzB+B,EAAO/B,iBAAmBR,KAAKQ,gB,CAGjC,GAAIR,KAAKU,aAAc,CACrB6B,EAAO7B,aAAeV,KAAKU,Y,CAG7B,GAAIV,KAAKY,WAAY,CACnB2B,EAAO3B,WAAaZ,KAAKY,U,CAG3B,GAAIZ,KAAKc,gBAAiB,CACxByB,EAAOzB,gBAAkBd,KAAKc,e,CAGhC,GAAId,KAAKgB,yBAA0B,CACjCuB,EAAOvB,yBAA2BhB,KAAKgB,wB,CAGzC,GAAIhB,KAAKkB,eAAgB,CACvBqB,EAAOrB,eAAiBlB,KAAKkB,c,CAG/B,GAAIlB,KAAKoB,gBAAiB,CACxBmB,EAAOnB,gBAAkBpB,KAAKoB,e,CAGhC,GAAIpB,KAAKuB,KAAM,CACbgB,EAAOhB,KAAOvB,KAAKuB,I,CAGrB,OAAOgB,C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-8896b456.js";import{w as h}from"./p-e8f7bdbb.js";import{r}from"./p-8c591aa0.js";import{o as a}from"./p-8cd5e748.js";const n="";const f=class{constructor(e){t(this,e);this.widgetReady=i(this,"widgetReady",7);this.featureFormSubmit=i(this,"featureFormSubmit",7);this.featureFormValueChange=i(this,"featureFormValueChange",7);this._watchHandles=[];this.referenceElement=undefined;this.position="bottom-left";this.expandable=false;this.feature=undefined;this.formTemplate=undefined;this.groupDisplay=undefined;this.layer=undefined;this.timeZone=undefined;this.view=undefined;this.widget=undefined}referenceElementWatcher(t){r(this,t)}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}featureWatcher(t){if(this.widget){this.widget.feature=t}}formTemplateWatcher(t){if(this.widget){this.widget.formTemplate=t}}groupDisplayWatcher(t){if(this.widget){this.widget.groupDisplay=t}}layerWatcher(t){if(this.widget){this.widget.layer=t}}timeZoneWatcher(t){if(this.widget){this.widget.timeZone=t}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.map=t.map}}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}async componentDidLoad(){const t=this._createParams();const i=await h(t);this.widget=i;this._proxyEvents();this.widgetReady.emit({widget:this.widget})}disconnectedCallback(){a(this)}render(){if(this.expandable){return e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t}))}return e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};if(this.feature){t.feature=this.feature}if(this.formTemplate){t.formTemplate=this.formTemplate}if(this.groupDisplay){t.groupDisplay=this.groupDisplay}if(this.layer){t.layer=this.layer}if(this.timeZone){t.timeZone=this.timeZone}if(this.view){t.map=this.view.map}return t}_proxyEvents(){this.widget.on("submit",(t=>this.featureFormSubmit.emit(t)));this.widget.on("value-change",(t=>this.featureFormValueChange.emit(t)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"],feature:["featureWatcher"],formTemplate:["formTemplateWatcher"],groupDisplay:["groupDisplayWatcher"],layer:["layerWatcher"],timeZone:["timeZoneWatcher"],view:["viewWatcher"]}}};f.style=n;export{f as arcgis_feature_form};
2
+ //# sourceMappingURL=p-16b1105c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["featureFormCss","ArcgisFeatureForm","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","positionWatcher","undefined","widget","view","ui","move","childElem","featureWatcher","feature","formTemplateWatcher","formTemplate","groupDisplayWatcher","groupDisplay","layerWatcher","layer","timeZoneWatcher","timeZone","viewWatcher","map","getValues","submit","componentDidLoad","params","_createParams","newWidgetsFeatureForm","_proxyEvents","widgetReady","emit","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container","on","e","featureFormSubmit","featureFormValueChange"],"sources":["src/components/feature-form/feature-form.css?tag=arcgis-feature-form","src/components/feature-form/feature-form.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Method, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsFeatureForm } from \"@arcgis/core-adapter\";\nimport type FeatureForm from \"@arcgis/core/widgets/FeatureForm\";\nimport { ArcgisReferenceElement, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type FeatureFormWidget = InstanceType<typeof FeatureForm>;\n\n@Component({\n tag: \"arcgis-feature-form\",\n styleUrl: \"feature-form.css\",\n shadow: false\n})\nexport class ArcgisFeatureForm implements ExpandableComponent {\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n @Prop() expandable = false;\n\n @Prop() feature: FeatureFormWidget[\"feature\"];\n\n @Watch(\"feature\")\n featureWatcher(newValue: FeatureFormWidget[\"feature\"]): void {\n if (this.widget) {\n this.widget.feature = newValue;\n }\n }\n\n @Prop() formTemplate: FeatureFormWidget[\"formTemplate\"];\n\n @Watch(\"formTemplate\")\n formTemplateWatcher(newValue: FeatureFormWidget[\"formTemplate\"]): void {\n if (this.widget) {\n this.widget.formTemplate = newValue;\n }\n }\n\n @Prop() groupDisplay: FeatureFormWidget[\"groupDisplay\"];\n\n @Watch(\"groupDisplay\")\n groupDisplayWatcher(newValue: FeatureFormWidget[\"groupDisplay\"]): void {\n if (this.widget) {\n this.widget.groupDisplay = newValue;\n }\n }\n\n @Prop() layer: FeatureFormWidget[\"layer\"];\n\n @Watch(\"layer\")\n layerWatcher(newValue: FeatureFormWidget[\"layer\"]): void {\n if (this.widget) {\n this.widget.layer = newValue;\n }\n }\n\n @Prop() timeZone: FeatureFormWidget[\"timeZone\"];\n\n @Watch(\"timeZone\")\n timeZoneWatcher(newValue: FeatureFormWidget[\"timeZone\"]): void {\n if (this.widget) {\n this.widget.timeZone = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.map = newValue.map;\n }\n }\n\n @Prop({ mutable: true }) widget: FeatureFormWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.FeatureForm }>;\n\n @Event({ cancelable: true }) featureFormSubmit: EventEmitter<__esri.FeatureFormSubmitEvent>;\n @Event({ cancelable: true }) featureFormValueChange: EventEmitter<__esri.FeatureFormValueChangeEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async getValues(): Promise<any> {\n return this.widget?.getValues();\n }\n\n @Method()\n async submit(): Promise<void> {\n return this.widget?.submit();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsFeatureForm(params);\n this.widget = widget;\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Interal Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<__esri.FeatureFormProperties> {\n const params: Partial<__esri.FeatureFormProperties> = {\n container: this.childElem\n };\n\n if (this.feature) {\n params.feature = this.feature;\n }\n\n if (this.formTemplate) {\n params.formTemplate = this.formTemplate;\n }\n\n if (this.groupDisplay) {\n params.groupDisplay = this.groupDisplay;\n }\n\n if (this.layer) {\n params.layer = this.layer;\n }\n\n if (this.timeZone) {\n params.timeZone = this.timeZone;\n }\n\n if (this.view) {\n params.map = this.view.map;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"submit\", (e) => this.featureFormSubmit.emit(e));\n this.widget.on(\"value-change\", (e) => this.featureFormValueChange.emit(e));\n }\n}\n"],"mappings":"gKAAA,MAAMA,EAAiB,G,MCiBVC,EAAiB,M,sLAsF5BC,KAAAC,cAAsC,G,8CAlEnB,c,gBAQE,M,sKAZrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,eAAAE,CAAgBF,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKQ,KAAKC,GAAGC,KAAKV,KAAKW,UAAWR,E,EAQtC,cAAAS,CAAeT,GACb,GAAIH,KAAKO,OAAQ,CACfP,KAAKO,OAAOM,QAAUV,C,EAO1B,mBAAAW,CAAoBX,GAClB,GAAIH,KAAKO,OAAQ,CACfP,KAAKO,OAAOQ,aAAeZ,C,EAO/B,mBAAAa,CAAoBb,GAClB,GAAIH,KAAKO,OAAQ,CACfP,KAAKO,OAAOU,aAAed,C,EAO/B,YAAAe,CAAaf,GACX,GAAIH,KAAKO,OAAQ,CACfP,KAAKO,OAAOY,MAAQhB,C,EAOxB,eAAAiB,CAAgBjB,GACd,GAAIH,KAAKO,OAAQ,CACfP,KAAKO,OAAOc,SAAWlB,C,EAO3B,WAAAmB,CAAYnB,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOgB,IAAMpB,EAASoB,G,EA0B/B,eAAMC,GACJ,OAAOxB,KAAKO,QAAQiB,W,CAItB,YAAMC,GACJ,OAAOzB,KAAKO,QAAQkB,Q,CAStB,sBAAMC,GACJ,MAAMC,EAAS3B,KAAK4B,gBAEpB,MAAMrB,QAAesB,EAAsBF,GAC3C3B,KAAKO,OAASA,EAEdP,KAAK8B,eAEL9B,KAAK+B,YAAYC,KAAK,CAAEzB,OAAQP,KAAKO,Q,CAGvC,oBAAA0B,GACEC,EAAqBlC,K,CAGvB,MAAAmC,GACE,GAAInC,KAAKoC,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAUtC,KAAKsC,SAAUC,IAAMC,GAAQxC,KAAKyC,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQxC,KAAKW,UAAY6B,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQxC,KAAKW,UAAY6B,G,CASrC,aAAAZ,GACN,MAAMD,EAAgD,CACpDe,UAAW1C,KAAKW,WAGlB,GAAIX,KAAKa,QAAS,CAChBc,EAAOd,QAAUb,KAAKa,O,CAGxB,GAAIb,KAAKe,aAAc,CACrBY,EAAOZ,aAAef,KAAKe,Y,CAG7B,GAAIf,KAAKiB,aAAc,CACrBU,EAAOV,aAAejB,KAAKiB,Y,CAG7B,GAAIjB,KAAKmB,MAAO,CACdQ,EAAOR,MAAQnB,KAAKmB,K,CAGtB,GAAInB,KAAKqB,SAAU,CACjBM,EAAON,SAAWrB,KAAKqB,Q,CAGzB,GAAIrB,KAAKQ,KAAM,CACbmB,EAAOJ,IAAMvB,KAAKQ,KAAKe,G,CAGzB,OAAOI,C,CAGD,YAAAG,GACN9B,KAAKO,OAAOoC,GAAG,UAAWC,GAAM5C,KAAK6C,kBAAkBb,KAAKY,KAC5D5C,KAAKO,OAAOoC,GAAG,gBAAiBC,GAAM5C,KAAK8C,uBAAuBd,KAAKY,I"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-8896b456.js";import{V as r,i as a}from"./p-e8f7bdbb.js";import{r as n,c as h,a as c}from"./p-8c591aa0.js";import{o}from"./p-8cd5e748.js";const d="arcgis-slice{}";const f=class{constructor(s){t(this,s);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.analysis=undefined;this.view=undefined;this.position="bottom-left";this.expandable=false;this.widget=undefined}referenceElementWatcher(t){n(this,t)}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}async componentDidLoad(){const t=this._createParams();const i=await r(t);this.widget=i;await this._addWatchers();this.widgetReady.emit({widget:this.widget});h(this)}disconnectedCallback(){o(this)}render(){if(this.expandable){return s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t}))}return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:true}))}_createParams(){const t={container:this.childElem};if(this.view){t.view=this.view}return t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};f.style=d;export{f as arcgis_slice};
2
+ //# sourceMappingURL=p-182e62c1.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sliceCss","ArcgisSlice","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","viewWatcher","undefined","widget","view","positionWatcher","ui","move","childElem","componentDidLoad","params","_createParams","newWidgetsSlice","_addWatchers","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","watch","importCoreReactiveUtils","addHandles","analysis","value","initial","container"],"sources":["src/components/slice/slice.css?tag=arcgis-slice","src/components/slice/slice.tsx"],"sourcesContent":["arcgis-slice {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsSlice } from \"@arcgis/core-adapter\";\nimport type Slice from \"@arcgis/core/widgets/Slice\";\nimport { ArcgisReferenceElement, addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISSceneView } from \"../types\";\n\nexport type SliceWidget = InstanceType<typeof Slice>;\n\n@Component({\n tag: \"arcgis-slice\",\n styleUrl: \"slice.css\"\n})\nexport class ArcgisSlice implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop({ mutable: true }) analysis: SliceWidget[\"analysis\"];\n\n @Prop({ mutable: true }) view: ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) widget: SliceWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Slice }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsSlice(params);\n\n this.widget = widget;\n\n await this._addWatchers();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.analysis,\n (value) => (this.analysis = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<SliceWidget> {\n const params: Partial<SliceWidget> = {\n container: this.childElem\n };\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"mappings":"qLAAA,MAAMA,EAAW,iB,MCgBJC,EAAW,M,kEAkDtBC,KAAAC,cAAsC,G,0FAbnB,c,gBASE,M,sBAxBrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAQ/B,WAAAE,CAAYF,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOC,KAAOL,C,EAOvB,eAAAM,CAAgBN,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKQ,KAAKE,GAAGC,KAAKX,KAAKY,UAAWT,E,EAwBtC,sBAAMU,GACJ,MAAMC,EAASd,KAAKe,gBAEpB,MAAMR,QAAeS,EAAgBF,GAErCd,KAAKO,OAASA,QAERP,KAAKiB,eAEXjB,KAAKkB,YAAYC,KAAK,CAAEZ,OAAQP,KAAKO,SAErCa,EAAapB,K,CAGf,oBAAAqB,GACEC,EAAqBtB,K,CAGvB,MAAAuB,GACE,GAAIvB,KAAKwB,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAU1B,KAAK0B,SAAUC,IAAMC,GAAQ5B,KAAK6B,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQ5B,KAAKY,UAAYgB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQ5B,KAAKY,UAAYgB,G,CAQrC,kBAAMX,GACZ,MAAMa,MAAEA,SAAgBC,IAExBC,EACEhC,KACA8B,GACE,IAAM9B,KAAKO,OAAO0B,WACjBC,GAAWlC,KAAKiC,SAAWC,GAC5B,CACEC,QAAS,O,CAMT,aAAApB,GACN,MAAMD,EAA+B,CACnCsB,UAAWpC,KAAKY,WAGlB,GAAIZ,KAAKQ,KAAM,CACbM,EAAON,KAAOR,KAAKQ,I,CAGrB,OAAOM,C"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as s,g as r}from"./p-8896b456.js";import{r as i,c as n}from"./p-8c591aa0.js";import{o as c}from"./p-8cd5e748.js";const a="arcgis-placement{}";const o=class{constructor(s){e(this,s);this.placementReady=t(this,"placementReady",7);this.referenceElement=undefined;this.view=undefined;this.position="bottom-left"}referenceElementWatcher(e){i(this,e)}positionWatcher(e){if(e!==undefined){this.view.ui.move(this.childElem,e)}}async componentDidLoad(){this.placementReady.emit({ready:true});n(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:e=>this.childElem=e},s("slot",null))}get el(){return r(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"]}}};o.style=a;export{o as arcgis_placement};
2
+ //# sourceMappingURL=p-1b3c344e.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["placementCss","ArcgisPlacement","referenceElementWatcher","newValue","referenceElementHelper","this","positionWatcher","undefined","view","ui","move","childElem","componentDidLoad","placementReady","emit","ready","checkForView","disconnectedCallback","onDisconnectedHelper","render","h","ref","el"],"sources":["src/components/placement/placement.css?tag=arcgis-placement","src/components/placement/placement.tsx"],"sourcesContent":["arcgis-placement {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport {\n ArcgisReferenceElement,\n BaseComponentElement,\n checkForView,\n referenceElementHelper\n} from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\n@Component({\n tag: \"arcgis-placement\",\n styleUrl: \"placement.css\"\n})\nexport class ArcgisPlacement implements BaseComponentElement {\n @Element() el: HTMLArcgisPlacementElement;\n\n childElem: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this as any, newValue);\n }\n\n @Prop() view: ArcGISMapView | ArcGISSceneView;\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) placementReady: EventEmitter<{ ready: boolean }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n this.placementReady.emit({ ready: true });\n\n checkForView(this as any);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this as any);\n }\n\n render(): VNode {\n return (\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}>\n <slot />\n </div>\n );\n }\n}\n"],"mappings":"wIAAA,MAAMA,EAAe,qB,MCgBRC,EAAe,M,0IAoBP,a,CANnB,uBAAAC,CAAwBC,GACtBC,EAAuBC,KAAaF,E,CAQtC,eAAAG,CAAgBH,GACd,GAAIA,IAAaI,UAAW,CAC1BF,KAAKG,KAAKC,GAAGC,KAAKL,KAAKM,UAAWR,E,EAkBtC,sBAAMS,GACJP,KAAKQ,eAAeC,KAAK,CAAEC,MAAO,OAElCC,EAAaX,K,CAGf,oBAAAY,GACEC,EAAqBb,K,CAGvB,MAAAc,GACE,OACEC,EAAA,OAAKC,IAAMC,GAAQjB,KAAKM,UAAYW,GAClCF,EAAA,a"}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as e,g as s}from"./p-8896b456.js";import{Z as h,i as n}from"./p-e8f7bdbb.js";import{r as a,c as r,a as d}from"./p-8c591aa0.js";import{o as f}from"./p-8cd5e748.js";const c="arcgis-time-slider{}";const o=class{constructor(e){i(this,e);this.triggerAction=t(this,"triggerAction",7);this.widgetReady=t(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.actions=undefined;this.effectiveStops=undefined;this.fullTimeExtent=undefined;this.layout=undefined;this.loop=undefined;this.mode=undefined;this.playRate=undefined;this.stops=undefined;this.tickConfigs=undefined;this.timeExtent=undefined;this.timeVisible=undefined;this.timeZone=undefined;this.view=undefined;this.position="bottom-left";this.expandable=false;this.widget=undefined}referenceElementWatcher(i){a(this,i)}actionsWatcher(i){if(this.widget){this.widget.actions=i}}fullTimeExtentWatcher(i){if(this.widget){this.widget.fullTimeExtent=i}}layoutWatcher(i){if(this.widget){this.widget.layout=i}}loopWatcher(i){if(i!==undefined&&this.widget){this.widget.loop=i}}modeWatcher(i){if(this.widget){this.widget.mode=i}}playRateWatcher(i){if(i!==undefined&&this.widget){this.widget.playRate=i}}stopsWatcher(i){if(this.widget){this.widget.stops=i}}tickConfigsWatcher(i){if(this.widget){this.widget.tickConfigs=i}}timeExtentWatcher(i){if(this.widget){this.widget.timeExtent=i}}timeVisibleWatcher(i){if(i!==undefined&&this.widget){this.widget.timeVisible=i}}timeZoneWatcher(i){if(this.widget){this.widget.timeZone=i}}viewWatcher(i){if(i!==undefined&&this.widget){this.widget.view=i}}positionWatcher(i){if(i!==undefined&&this.widget){this.view.ui.move(this.childElem,i)}}async next(){return this.widget?.next()}async play(){return this.widget?.play()}async previous(){return this.widget?.previous()}async stop(){return this.widget?.stop()}async componentDidLoad(){const i=this._createParams();const t=await h(i);this.widget=t;await this._addWatchers();this._proxyEvents();this.widgetReady.emit({widget:this.widget});r(this)}disconnectedCallback(){f(this)}render(){if(this.expandable){return e("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},e("div",{ref:i=>this.childElem=i}))}return e("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await n();d(this,i((()=>this.widget.effectiveStops),(i=>this.effectiveStops=i),{initial:true}))}_createParams(){const i={container:this.childElem};if(this.actions!==undefined){i.actions=this.actions}if(this.fullTimeExtent!==undefined){i.fullTimeExtent=this.fullTimeExtent}if(this.layout!==undefined){i.layout=this.layout}if(this.loop!==undefined){i.loop=this.loop}if(this.mode!==undefined){i.mode=this.mode}if(this.playRate!==undefined){i.playRate=this.playRate}if(this.stops!==undefined){i.stops=this.stops}if(this.tickConfigs!==undefined){i.tickConfigs=this.tickConfigs}if(this.timeExtent!==undefined){i.timeExtent=this.timeExtent}if(this.timeVisible!==undefined){i.timeVisible=this.timeVisible}if(this.timeZone){i.timeZone=this.timeZone}if(this.view){i.view=this.view}return i}async _proxyEvents(){this.widget?.on("trigger-action",(i=>this.triggerAction.emit(i)))}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],actions:["actionsWatcher"],fullTimeExtent:["fullTimeExtentWatcher"],layout:["layoutWatcher"],loop:["loopWatcher"],mode:["modeWatcher"],playRate:["playRateWatcher"],stops:["stopsWatcher"],tickConfigs:["tickConfigsWatcher"],timeExtent:["timeExtentWatcher"],timeVisible:["timeVisibleWatcher"],timeZone:["timeZoneWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};o.style=c;export{o as arcgis_time_slider};
2
+ //# sourceMappingURL=p-1cbc6c67.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["timeSliderCss","ArcgisTimeSlider","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","actionsWatcher","widget","actions","fullTimeExtentWatcher","fullTimeExtent","layoutWatcher","layout","loopWatcher","undefined","loop","modeWatcher","mode","playRateWatcher","playRate","stopsWatcher","stops","tickConfigsWatcher","tickConfigs","timeExtentWatcher","timeExtent","timeVisibleWatcher","timeVisible","timeZoneWatcher","timeZone","viewWatcher","view","positionWatcher","ui","move","childElem","next","play","previous","stop","componentDidLoad","params","_createParams","newWidgetsTimeSlider","_addWatchers","_proxyEvents","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","watch","importCoreReactiveUtils","addHandles","effectiveStops","value","initial","container","on","e","triggerAction"],"sources":["src/components/time-slider/time-slider.css?tag=arcgis-time-slider","src/components/time-slider/time-slider.tsx"],"sourcesContent":["arcgis-time-slider {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, Method, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsTimeSlider } from \"@arcgis/core-adapter\";\nimport type TimeSlider from \"@arcgis/core/widgets/TimeSlider\";\nimport { ArcgisReferenceElement, addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type TimeSliderWidget = InstanceType<typeof TimeSlider>;\n\n@Component({\n tag: \"arcgis-time-slider\",\n styleUrl: \"time-slider.css\"\n})\nexport class ArcgisTimeSlider implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() actions: TimeSliderWidget[\"actions\"];\n\n @Watch(\"actions\")\n actionsWatcher(newValue: TimeSliderWidget[\"actions\"]): void {\n if (this.widget) {\n this.widget.actions = newValue;\n }\n }\n\n @Prop({ mutable: true }) effectiveStops: TimeSliderWidget[\"effectiveStops\"];\n\n @Prop() fullTimeExtent: TimeSliderWidget[\"fullTimeExtent\"];\n\n @Watch(\"fullTimeExtent\")\n fullTimeExtentWatcher(newValue: TimeSliderWidget[\"fullTimeExtent\"]): void {\n if (this.widget) {\n this.widget.fullTimeExtent = newValue;\n }\n }\n\n @Prop() layout: TimeSliderWidget[\"layout\"];\n\n @Watch(\"layout\")\n layoutWatcher(newValue: TimeSliderWidget[\"layout\"]): void {\n if (this.widget) {\n this.widget.layout = newValue;\n }\n }\n\n @Prop() loop: TimeSliderWidget[\"loop\"];\n\n @Watch(\"loop\")\n loopWatcher(newValue: TimeSliderWidget[\"loop\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.loop = newValue;\n }\n }\n\n @Prop() mode: TimeSliderWidget[\"mode\"];\n\n @Watch(\"mode\")\n modeWatcher(newValue: TimeSliderWidget[\"mode\"]): void {\n if (this.widget) {\n this.widget.mode = newValue;\n }\n }\n\n @Prop() playRate: TimeSliderWidget[\"playRate\"];\n\n @Watch(\"playRate\")\n playRateWatcher(newValue: TimeSliderWidget[\"playRate\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.playRate = newValue;\n }\n }\n\n @Prop() stops: TimeSliderWidget[\"stops\"];\n\n @Watch(\"stops\")\n stopsWatcher(newValue: TimeSliderWidget[\"stops\"]): void {\n if (this.widget) {\n this.widget.stops = newValue;\n }\n }\n\n @Prop() tickConfigs: TimeSliderWidget[\"tickConfigs\"];\n\n @Watch(\"tickConfigs\")\n tickConfigsWatcher(newValue: TimeSliderWidget[\"tickConfigs\"]): void {\n if (this.widget) {\n this.widget.tickConfigs = newValue;\n }\n }\n\n @Prop() timeExtent: TimeSliderWidget[\"timeExtent\"];\n\n @Watch(\"timeExtent\")\n timeExtentWatcher(newValue: TimeSliderWidget[\"timeExtent\"]): void {\n if (this.widget) {\n this.widget.timeExtent = newValue;\n }\n }\n\n @Prop() timeVisible: TimeSliderWidget[\"timeVisible\"];\n\n @Watch(\"timeVisible\")\n timeVisibleWatcher(newValue: TimeSliderWidget[\"timeVisible\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.timeVisible = newValue;\n }\n }\n\n @Prop() timeZone: TimeSliderWidget[\"timeZone\"];\n\n @Watch(\"timeZone\")\n timeZoneWatcher(newValue: TimeSliderWidget[\"timeZone\"]): void {\n if (this.widget) {\n this.widget.timeZone = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) widget: TimeSliderWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) triggerAction: EventEmitter<__esri.TimeSliderTriggerActionEvent>;\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.TimeSlider }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async next(): Promise<void> {\n return this.widget?.next();\n }\n\n @Method()\n async play(): Promise<void> {\n return this.widget?.play();\n }\n\n @Method()\n async previous(): Promise<void> {\n return this.widget?.previous();\n }\n\n @Method()\n async stop(): Promise<void> {\n return this.widget?.stop();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsTimeSlider(params);\n\n this.widget = widget;\n\n await this._addWatchers();\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.effectiveStops,\n (value) => (this.effectiveStops = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<TimeSliderWidget> {\n const params: Partial<TimeSliderWidget> = {\n container: this.childElem\n };\n\n if (this.actions !== undefined) {\n params.actions = this.actions;\n }\n\n if (this.fullTimeExtent !== undefined) {\n params.fullTimeExtent = this.fullTimeExtent;\n }\n\n if (this.layout !== undefined) {\n params.layout = this.layout;\n }\n\n if (this.loop !== undefined) {\n params.loop = this.loop;\n }\n\n if (this.mode !== undefined) {\n params.mode = this.mode;\n }\n\n if (this.playRate !== undefined) {\n params.playRate = this.playRate;\n }\n\n if (this.stops !== undefined) {\n params.stops = this.stops;\n }\n\n if (this.tickConfigs !== undefined) {\n params.tickConfigs = this.tickConfigs;\n }\n\n if (this.timeExtent !== undefined) {\n params.timeExtent = this.timeExtent;\n }\n\n if (this.timeVisible !== undefined) {\n params.timeVisible = this.timeVisible;\n }\n\n if (this.timeZone) {\n params.timeZone = this.timeZone;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n\n private async _proxyEvents() {\n this.widget?.on(\"trigger-action\", (e) => this.triggerAction.emit(e));\n }\n}\n"],"mappings":"0LAAA,MAAMA,EAAgB,uB,MCgBTC,EAAgB,M,+GAqJ3BC,KAAAC,cAAsC,G,wWAbnB,c,gBASE,M,sBA3HrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,cAAAE,CAAeF,GACb,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOC,QAAUJ,C,EAS1B,qBAAAK,CAAsBL,GACpB,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOG,eAAiBN,C,EAOjC,aAAAO,CAAcP,GACZ,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOK,OAASR,C,EAOzB,WAAAS,CAAYT,GACV,GAAIA,IAAaU,WAAab,KAAKM,OAAQ,CACzCN,KAAKM,OAAOQ,KAAOX,C,EAOvB,WAAAY,CAAYZ,GACV,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOU,KAAOb,C,EAOvB,eAAAc,CAAgBd,GACd,GAAIA,IAAaU,WAAab,KAAKM,OAAQ,CACzCN,KAAKM,OAAOY,SAAWf,C,EAO3B,YAAAgB,CAAahB,GACX,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOc,MAAQjB,C,EAOxB,kBAAAkB,CAAmBlB,GACjB,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOgB,YAAcnB,C,EAO9B,iBAAAoB,CAAkBpB,GAChB,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOkB,WAAarB,C,EAO7B,kBAAAsB,CAAmBtB,GACjB,GAAIA,IAAaU,WAAab,KAAKM,OAAQ,CACzCN,KAAKM,OAAOoB,YAAcvB,C,EAO9B,eAAAwB,CAAgBxB,GACd,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOsB,SAAWzB,C,EAO3B,WAAA0B,CAAY1B,GACV,GAAIA,IAAaU,WAAab,KAAKM,OAAQ,CACzCN,KAAKM,OAAOwB,KAAO3B,C,EAOvB,eAAA4B,CAAgB5B,GACd,GAAIA,IAAaU,WAAab,KAAKM,OAAQ,CACzCN,KAAK8B,KAAKE,GAAGC,KAAKjC,KAAKkC,UAAW/B,E,EA2BtC,UAAMgC,GACJ,OAAOnC,KAAKM,QAAQ6B,M,CAItB,UAAMC,GACJ,OAAOpC,KAAKM,QAAQ8B,M,CAItB,cAAMC,GACJ,OAAOrC,KAAKM,QAAQ+B,U,CAItB,UAAMC,GACJ,OAAOtC,KAAKM,QAAQgC,M,CAStB,sBAAMC,GACJ,MAAMC,EAASxC,KAAKyC,gBAEpB,MAAMnC,QAAeoC,EAAqBF,GAE1CxC,KAAKM,OAASA,QAERN,KAAK2C,eAEX3C,KAAK4C,eAEL5C,KAAK6C,YAAYC,KAAK,CAAExC,OAAQN,KAAKM,SAErCyC,EAAa/C,K,CAGf,oBAAAgD,GACEC,EAAqBjD,K,CAGvB,MAAAkD,GACE,GAAIlD,KAAKmD,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAUrD,KAAKqD,SAAUC,IAAMC,GAAQvD,KAAKwD,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQvD,KAAKkC,UAAYqB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQvD,KAAKkC,UAAYqB,G,CAQrC,kBAAMZ,GACZ,MAAMc,MAAEA,SAAgBC,IAExBC,EACE3D,KACAyD,GACE,IAAMzD,KAAKM,OAAOsD,iBACjBC,GAAW7D,KAAK4D,eAAiBC,GAClC,CACEC,QAAS,O,CAMT,aAAArB,GACN,MAAMD,EAAoC,CACxCuB,UAAW/D,KAAKkC,WAGlB,GAAIlC,KAAKO,UAAYM,UAAW,CAC9B2B,EAAOjC,QAAUP,KAAKO,O,CAGxB,GAAIP,KAAKS,iBAAmBI,UAAW,CACrC2B,EAAO/B,eAAiBT,KAAKS,c,CAG/B,GAAIT,KAAKW,SAAWE,UAAW,CAC7B2B,EAAO7B,OAASX,KAAKW,M,CAGvB,GAAIX,KAAKc,OAASD,UAAW,CAC3B2B,EAAO1B,KAAOd,KAAKc,I,CAGrB,GAAId,KAAKgB,OAASH,UAAW,CAC3B2B,EAAOxB,KAAOhB,KAAKgB,I,CAGrB,GAAIhB,KAAKkB,WAAaL,UAAW,CAC/B2B,EAAOtB,SAAWlB,KAAKkB,Q,CAGzB,GAAIlB,KAAKoB,QAAUP,UAAW,CAC5B2B,EAAOpB,MAAQpB,KAAKoB,K,CAGtB,GAAIpB,KAAKsB,cAAgBT,UAAW,CAClC2B,EAAOlB,YAActB,KAAKsB,W,CAG5B,GAAItB,KAAKwB,aAAeX,UAAW,CACjC2B,EAAOhB,WAAaxB,KAAKwB,U,CAG3B,GAAIxB,KAAK0B,cAAgBb,UAAW,CAClC2B,EAAOd,YAAc1B,KAAK0B,W,CAG5B,GAAI1B,KAAK4B,SAAU,CACjBY,EAAOZ,SAAW5B,KAAK4B,Q,CAGzB,GAAI5B,KAAK8B,KAAM,CACbU,EAAOV,KAAO9B,KAAK8B,I,CAGrB,OAAOU,C,CAGD,kBAAMI,GACZ5C,KAAKM,QAAQ0D,GAAG,kBAAmBC,GAAMjE,KAAKkE,cAAcpB,KAAKmB,I"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-8896b456.js";import{j as h,i as n}from"./p-e8f7bdbb.js";import{r as a,c as r,a as d}from"./p-8c591aa0.js";import{o}from"./p-8cd5e748.js";const f="";const c=class{constructor(e){t(this,e);this.bookmarkEdit=i(this,"bookmarkEdit",7);this.bookmarkSelect=i(this,"bookmarkSelect",7);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.bookmarks=undefined;this.defaultCreateOptions=undefined;this.defaultEditOptions=undefined;this.editingEnabled=undefined;this.visibleElements=undefined;this.position="bottom-left";this.expandable=false;this.view=undefined;this.widget=undefined}referenceElementWatcher(t){a(this,t)}bookmarksWatcher(t){if(t!==undefined&&this.widget){this.widget.bookmarks=t}}defaultCreateOptionsWatcher(t){if(t!==undefined&&this.widget){this.widget.defaultCreateOptions=t}}defaultEditOptionsWatcher(t){if(t!==undefined&&this.widget){this.widget.defaultEditOptions=t}}editingEnabledWatcher(t,i){if(t!==undefined&&t!==i&&this.widget){this.widget.editingEnabled=t}}visibleElementsWatcher(t){if(t!==undefined&&this.widget){this.widget.visibleElements=t}}positionWatcher(t){if(t!==undefined&&this.widget){if(typeof this.view!=="string"){this.view.ui.move(this.childElem,t)}}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}async componentDidLoad(){const t=this._createParams();const i=await h(t);this.widget=i;await this._addWatchers();this._proxyEvents();this.widgetReady.emit({widget:this.widget});r(this)}disconnectedCallback(){o(this)}render(){if(this.expandable){return e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t}))}return e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await n();d(this,t((()=>this.widget.editingEnabled),(t=>this.editingEnabled=t),{initial:true}))}_createParams(){const t={container:this.childElem};if(this.view){t.view=this.view}if(this.bookmarks){t.bookmarks=this.bookmarks}if(this.defaultCreateOptions){t.defaultCreateOptions=this.defaultCreateOptions}if(this.defaultEditOptions){t.defaultEditOptions=this.defaultEditOptions}if(this.editingEnabled!==undefined){t.editingEnabled=this.editingEnabled}if(this.visibleElements){t.visibleElements=this.visibleElements}return 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 s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],bookmarks:["bookmarksWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultEditOptions:["defaultEditOptionsWatcher"],editingEnabled:["editingEnabledWatcher"],visibleElements:["visibleElementsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style=f;export{c as arcgis_bookmarks};
2
+ //# sourceMappingURL=p-234bce9a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bookmarksCss","ArcgisBookmarks","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","bookmarksWatcher","undefined","widget","bookmarks","defaultCreateOptionsWatcher","defaultCreateOptions","defaultEditOptionsWatcher","defaultEditOptions","editingEnabledWatcher","old","editingEnabled","visibleElementsWatcher","visibleElements","positionWatcher","view","ui","move","childElem","viewWatcher","componentDidLoad","params","_createParams","newWidgetsBookmarks","_addWatchers","_proxyEvents","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","watch","importCoreReactiveUtils","addHandles","value","initial","container","on","e","bookmarkEdit","bookmarkSelect"],"sources":["src/components/bookmarks/bookmarks.css?tag=arcgis-bookmarks","src/components/bookmarks/bookmarks.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsBookmarks } from \"@arcgis/core-adapter\";\nimport type Bookmarks from \"@arcgis/core/widgets/Bookmarks\";\nimport { ArcgisReferenceElement, addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView } from \"../types\";\n\nexport type BookmarksWidget = InstanceType<typeof Bookmarks>;\n\n@Component({\n tag: \"arcgis-bookmarks\",\n styleUrl: \"bookmarks.css\",\n shadow: false\n})\nexport class ArcgisBookmarks implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() bookmarks: BookmarksWidget[\"bookmarks\"];\n\n @Watch(\"bookmarks\")\n bookmarksWatcher(newValue: BookmarksWidget[\"bookmarks\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.bookmarks = newValue;\n }\n }\n\n @Prop() defaultCreateOptions: BookmarksWidget[\"defaultCreateOptions\"];\n\n @Watch(\"defaultCreateOptions\")\n defaultCreateOptionsWatcher(newValue: BookmarksWidget[\"defaultCreateOptions\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.defaultCreateOptions = newValue;\n }\n }\n\n @Prop() defaultEditOptions: BookmarksWidget[\"defaultEditOptions\"];\n\n @Watch(\"defaultEditOptions\")\n defaultEditOptionsWatcher(newValue: BookmarksWidget[\"defaultEditOptions\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.defaultEditOptions = newValue;\n }\n }\n\n @Prop({ reflect: true }) editingEnabled: BookmarksWidget[\"editingEnabled\"];\n\n @Watch(\"editingEnabled\")\n editingEnabledWatcher(newValue: BookmarksWidget[\"editingEnabled\"], old: BookmarksWidget[\"editingEnabled\"]): void {\n if (newValue !== undefined && newValue !== old && this.widget) {\n this.widget.editingEnabled = newValue;\n }\n }\n\n @Prop() visibleElements: BookmarksWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: BookmarksWidget[\"visibleElements\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.visibleElements = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n if (typeof this.view !== \"string\") {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) view: ArcGISMapView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: BookmarksWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) bookmarkEdit: EventEmitter<__esri.BookmarksBookmarkEditEvent>;\n @Event({ cancelable: true }) bookmarkSelect: EventEmitter<__esri.BookmarksBookmarkSelectEvent>;\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Bookmarks }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsBookmarks(params);\n\n this.widget = widget;\n\n await this._addWatchers();\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.editingEnabled,\n (value) => (this.editingEnabled = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<BookmarksWidget> {\n const params: Partial<BookmarksWidget> = {\n container: this.childElem\n };\n\n if (this.view) {\n params.view = this.view;\n }\n\n if (this.bookmarks) {\n params.bookmarks = this.bookmarks;\n }\n\n if (this.defaultCreateOptions) {\n params.defaultCreateOptions = this.defaultCreateOptions;\n }\n\n if (this.defaultEditOptions) {\n params.defaultEditOptions = this.defaultEditOptions;\n }\n\n if (this.editingEnabled !== undefined) {\n params.editingEnabled = this.editingEnabled;\n }\n\n if (this.visibleElements) {\n params.visibleElements = this.visibleElements;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"bookmark-edit\", (e) => this.bookmarkEdit.emit(e));\n this.widget.on(\"bookmark-select\", (e) => this.bookmarkSelect.emit(e));\n }\n}\n"],"mappings":"qLAAA,MAAMA,EAAe,G,MCiBRC,EAAe,M,4JA+F1BC,KAAAC,cAAsC,G,0MAxBnB,c,gBAWE,M,0CA5DrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,gBAAAE,CAAiBF,GACf,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOC,UAAYL,C,EAO5B,2BAAAM,CAA4BN,GAC1B,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOG,qBAAuBP,C,EAOvC,yBAAAQ,CAA0BR,GACxB,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOK,mBAAqBT,C,EAOrC,qBAAAU,CAAsBV,EAA6CW,GACjE,GAAIX,IAAaG,WAAaH,IAAaW,GAAOd,KAAKO,OAAQ,CAC7DP,KAAKO,OAAOQ,eAAiBZ,C,EAOjC,sBAAAa,CAAuBb,GACrB,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOU,gBAAkBd,C,EAOlC,eAAAe,CAAgBf,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzC,UAAWP,KAAKmB,OAAS,SAAU,CACjCnB,KAAKmB,KAAKC,GAAGC,KAAKrB,KAAKsB,UAAWnB,E,GAUxC,WAAAoB,CAAYpB,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOY,KAAOhB,C,EAyBvB,sBAAMqB,GACJ,MAAMC,EAASzB,KAAK0B,gBAEpB,MAAMnB,QAAeoB,EAAoBF,GAEzCzB,KAAKO,OAASA,QAERP,KAAK4B,eAEX5B,KAAK6B,eAEL7B,KAAK8B,YAAYC,KAAK,CAAExB,OAAQP,KAAKO,SAErCyB,EAAahC,K,CAGf,oBAAAiC,GACEC,EAAqBlC,K,CAGvB,MAAAmC,GACE,GAAInC,KAAKoC,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAUtC,KAAKsC,SAAUC,IAAMC,GAAQxC,KAAKyC,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQxC,KAAKsB,UAAYkB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQxC,KAAKsB,UAAYkB,G,CAQrC,kBAAMZ,GACZ,MAAMc,MAAEA,SAAgBC,IAExBC,EACE5C,KACA0C,GACE,IAAM1C,KAAKO,OAAOQ,iBACjB8B,GAAW7C,KAAKe,eAAiB8B,GAClC,CACEC,QAAS,O,CAMT,aAAApB,GACN,MAAMD,EAAmC,CACvCsB,UAAW/C,KAAKsB,WAGlB,GAAItB,KAAKmB,KAAM,CACbM,EAAON,KAAOnB,KAAKmB,I,CAGrB,GAAInB,KAAKQ,UAAW,CAClBiB,EAAOjB,UAAYR,KAAKQ,S,CAG1B,GAAIR,KAAKU,qBAAsB,CAC7Be,EAAOf,qBAAuBV,KAAKU,oB,CAGrC,GAAIV,KAAKY,mBAAoB,CAC3Ba,EAAOb,mBAAqBZ,KAAKY,kB,CAGnC,GAAIZ,KAAKe,iBAAmBT,UAAW,CACrCmB,EAAOV,eAAiBf,KAAKe,c,CAG/B,GAAIf,KAAKiB,gBAAiB,CACxBQ,EAAOR,gBAAkBjB,KAAKiB,e,CAGhC,OAAOQ,C,CAGD,YAAAI,GACN7B,KAAKO,OAAOyC,GAAG,iBAAkBC,GAAMjD,KAAKkD,aAAanB,KAAKkB,KAC9DjD,KAAKO,OAAOyC,GAAG,mBAAoBC,GAAMjD,KAAKmD,eAAepB,KAAKkB,I"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-8896b456.js";import{B as h}from"./p-e8f7bdbb.js";import{r as n,c as r}from"./p-8c591aa0.js";import{o as a}from"./p-8cd5e748.js";const c="";const f=class{constructor(e){t(this,e);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.facility=undefined;this.level=undefined;this.longNames=undefined;this.site=undefined;this.position="bottom-left";this.expandable=false;this.widget=undefined;this.view=undefined}referenceElementWatcher(t){n(this,t)}facilityWatcher(t){if(this.widget){this.widget.facility=t}}levelWatcher(t){if(this.widget){this.widget.level=t}}longNamesWatcher(t){if(t!==undefined&&this.widget){this.widget.longNames=t}}siteWatcher(t){if(this.widget){this.widget.site=t}}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}async updateWebDocument(t){return this.widget?.updateWebDocument(t)}async componentDidLoad(){const t=this._createParams();const i=await h(t);this.widget=i;this.widgetReady.emit({widget:this.widget});r(this)}disconnectedCallback(){a(this)}render(){if(this.expandable){return e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t}))}return e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};if(this.facility){t.facility=this.facility}if(this.level){t.level=this.level}if(this.longNames!==undefined){t.longNames=this.longNames}if(this.site){t.site=this.site}if(this.view){t.view=this.view}return t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],facility:["facilityWatcher"],level:["levelWatcher"],longNames:["longNamesWatcher"],site:["siteWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};f.style=c;export{f as arcgis_floor_filter};
2
+ //# sourceMappingURL=p-280a13d4.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["floorFilterCss","ArcgisFloorFilter","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","facilityWatcher","widget","facility","levelWatcher","level","longNamesWatcher","undefined","longNames","siteWatcher","site","positionWatcher","view","ui","move","childElem","viewWatcher","updateWebDocument","webmap","componentDidLoad","params","_createParams","newWidgetsFloorFilter","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container"],"sources":["src/components/floor-filter/floor-filter.css?tag=arcgis-floor-filter","src/components/floor-filter/floor-filter.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Method, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsFloorFilter } from \"@arcgis/core-adapter\";\nimport type FloorFilter from \"@arcgis/core/widgets/FloorFilter\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type FloorFilterWidget = InstanceType<typeof FloorFilter>;\n\n@Component({\n tag: \"arcgis-floor-filter\",\n styleUrl: \"floor-filter.css\",\n shadow: false\n})\nexport class ArcgisFloorFilter implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Element\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() facility: FloorFilterWidget[\"facility\"];\n\n @Watch(\"facility\")\n facilityWatcher(newValue: FloorFilterWidget[\"facility\"]): void {\n if (this.widget) {\n this.widget.facility = newValue;\n }\n }\n\n @Prop() level: FloorFilterWidget[\"level\"];\n\n @Watch(\"level\")\n levelWatcher(newValue: FloorFilterWidget[\"level\"]): void {\n if (this.widget) {\n this.widget.level = newValue;\n }\n }\n\n @Prop() longNames: FloorFilterWidget[\"longNames\"];\n\n @Watch(\"longNames\")\n longNamesWatcher(newValue: FloorFilterWidget[\"longNames\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.longNames = newValue;\n }\n }\n\n @Prop() site: FloorFilterWidget[\"site\"];\n\n @Watch(\"site\")\n siteWatcher(newValue: FloorFilterWidget[\"site\"]): void {\n if (this.widget) {\n this.widget.site = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) widget: FloorFilterWidget;\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.FloorFilter }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async updateWebDocument(webmap: __esri.WebMap): Promise<void> {\n return this.widget?.updateWebDocument(webmap);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsFloorFilter(params);\n\n this.widget = widget;\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<FloorFilterWidget> {\n const params: Partial<FloorFilterWidget> = {\n container: this.childElem\n };\n\n if (this.facility) {\n params.facility = this.facility;\n }\n\n if (this.level) {\n params.level = this.level;\n }\n\n if (this.longNames !== undefined) {\n params.longNames = this.longNames;\n }\n\n if (this.site) {\n params.site = this.site;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"mappings":"4KAAA,MAAMA,EAAiB,G,MCiBVC,EAAiB,M,kEAoF5BC,KAAAC,cAAsC,G,wIAtBnB,c,gBASE,M,0CAjDrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,eAAAE,CAAgBF,GACd,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOC,SAAWJ,C,EAO3B,YAAAK,CAAaL,GACX,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOG,MAAQN,C,EAOxB,gBAAAO,CAAiBP,GACf,GAAIA,IAAaQ,WAAaX,KAAKM,OAAQ,CACzCN,KAAKM,OAAOM,UAAYT,C,EAO5B,WAAAU,CAAYV,GACV,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOQ,KAAOX,C,EAOvB,eAAAY,CAAgBZ,GACd,GAAIA,IAAaQ,WAAaX,KAAKM,OAAQ,CACzCN,KAAKgB,KAAKC,GAAGC,KAAKlB,KAAKmB,UAAWhB,E,EAWtC,WAAAiB,CAAYjB,GACV,GAAIA,IAAaQ,WAAaX,KAAKM,OAAQ,CACzCN,KAAKM,OAAOU,KAAOb,C,EAqBvB,uBAAMkB,CAAkBC,GACtB,OAAOtB,KAAKM,QAAQe,kBAAkBC,E,CASxC,sBAAMC,GACJ,MAAMC,EAASxB,KAAKyB,gBAEpB,MAAMnB,QAAeoB,EAAsBF,GAE3CxB,KAAKM,OAASA,EAEdN,KAAK2B,YAAYC,KAAK,CAAEtB,OAAQN,KAAKM,SAErCuB,EAAa7B,K,CAGf,oBAAA8B,GACEC,EAAqB/B,K,CAGvB,MAAAgC,GACE,GAAIhC,KAAKiC,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAUnC,KAAKmC,SAAUC,IAAMC,GAAQrC,KAAKsC,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQrC,KAAKmB,UAAYkB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQrC,KAAKmB,UAAYkB,G,CAQrC,aAAAZ,GACN,MAAMD,EAAqC,CACzCe,UAAWvC,KAAKmB,WAGlB,GAAInB,KAAKO,SAAU,CACjBiB,EAAOjB,SAAWP,KAAKO,Q,CAGzB,GAAIP,KAAKS,MAAO,CACde,EAAOf,MAAQT,KAAKS,K,CAGtB,GAAIT,KAAKY,YAAcD,UAAW,CAChCa,EAAOZ,UAAYZ,KAAKY,S,CAG1B,GAAIZ,KAAKc,KAAM,CACbU,EAAOV,KAAOd,KAAKc,I,CAGrB,GAAId,KAAKgB,KAAM,CACbQ,EAAOR,KAAOhB,KAAKgB,I,CAGrB,OAAOQ,C"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as i,h as t,g as s}from"./p-8896b456.js";import{H as n}from"./p-e8f7bdbb.js";import{r as h,c as r}from"./p-8c591aa0.js";import{o as a}from"./p-8cd5e748.js";const d="";const f=class{constructor(t){e(this,t);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.activeLayerInfos=undefined;this.basemapLegendVisible=undefined;this.hideLayersNotInCurrentView=undefined;this.layerInfos=undefined;this.respectLayerVisibility=undefined;this.legendStyle=undefined;this.position="bottom-left";this.expandable=false;this.view=undefined;this.widget=undefined}referenceElementWatcher(e){h(this,e)}activeLayerInfosWatcher(e){if(this.widget){this.widget.activeLayerInfos=e}}basemapLegendVisibleWatcher(e){if(e!==undefined&&this.widget){this.widget.basemapLegendVisible=e}}hideLayersNotInCurrentViewWatcher(e){if(e!==undefined&&this.widget){this.widget.hideLayersNotInCurrentView=e}}layerInfosWatcher(e){if(this.widget){this.widget.layerInfos=e}}respectLayerVisibilityWatcher(e){if(e!==undefined&&this.widget){this.widget.respectLayerVisibility=e}}styleWatcher(e){if(e!==undefined&&this.widget){this.widget.style=e}}positionWatcher(e){if(e!==undefined&&this.widget){this.view.ui.move(this.childElem,e)}}viewWatcher(e){if(e!==undefined&&this.widget){this.widget.view=e}}async componentDidLoad(){const e=this._createParams();const i=await n(e);this.widget=i;this.widgetReady.emit({widget:this.widget});r(this)}disconnectedCallback(){a(this)}render(){if(this.expandable){return t("arcgis-expand",{position:this.position,ref:e=>this.expandElem=e},t("div",{ref:e=>this.childElem=e}))}return t("div",{ref:e=>this.childElem=e})}_createParams(){const e={container:this.childElem};if(this.activeLayerInfos){e.activeLayerInfos=this.activeLayerInfos}if(this.basemapLegendVisible!==undefined){e.basemapLegendVisible=this.basemapLegendVisible}if(this.hideLayersNotInCurrentView!==undefined){e.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView}if(this.layerInfos){e.layerInfos=this.layerInfos}if(this.respectLayerVisibility!==undefined){e.respectLayerVisibility=this.respectLayerVisibility}if(this.legendStyle){e.style=this.legendStyle}if(this.view){e.view=this.view}return e}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],layerInfos:["layerInfosWatcher"],respectLayerVisibility:["respectLayerVisibilityWatcher"],legendStyle:["styleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};f.style=d;export{f as arcgis_legend};
2
+ //# sourceMappingURL=p-2f3c811c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["legendCss","ArcgisLegend","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","activeLayerInfosWatcher","widget","activeLayerInfos","basemapLegendVisibleWatcher","undefined","basemapLegendVisible","hideLayersNotInCurrentViewWatcher","hideLayersNotInCurrentView","layerInfosWatcher","layerInfos","respectLayerVisibilityWatcher","respectLayerVisibility","styleWatcher","style","positionWatcher","view","ui","move","childElem","viewWatcher","componentDidLoad","params","_createParams","newWidgetsLegend","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container","legendStyle"],"sources":["src/components/legend/legend.css?tag=arcgis-legend","src/components/legend/legend.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsLegend } from \"@arcgis/core-adapter\";\nimport type Legend from \"@arcgis/core/widgets/Legend\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type LegendWidget = InstanceType<typeof Legend>;\n\n@Component({\n tag: \"arcgis-legend\",\n styleUrl: \"legend.css\",\n shadow: false\n})\nexport class ArcgisLegend implements ExpandableComponent {\n //--------------------------------------------------------------------------\n //\n // Element\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() activeLayerInfos: LegendWidget[\"activeLayerInfos\"];\n\n @Watch(\"activeLayerInfos\")\n activeLayerInfosWatcher(newValue: LegendWidget[\"activeLayerInfos\"]): void {\n if (this.widget) {\n this.widget.activeLayerInfos = newValue;\n }\n }\n\n @Prop() basemapLegendVisible: LegendWidget[\"basemapLegendVisible\"];\n\n @Watch(\"basemapLegendVisible\")\n basemapLegendVisibleWatcher(newValue: LegendWidget[\"basemapLegendVisible\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.basemapLegendVisible = newValue;\n }\n }\n\n @Prop() hideLayersNotInCurrentView: LegendWidget[\"hideLayersNotInCurrentView\"];\n\n @Watch(\"hideLayersNotInCurrentView\")\n hideLayersNotInCurrentViewWatcher(newValue: LegendWidget[\"hideLayersNotInCurrentView\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.hideLayersNotInCurrentView = newValue;\n }\n }\n\n @Prop() layerInfos: LegendWidget[\"layerInfos\"];\n\n @Watch(\"layerInfos\")\n layerInfosWatcher(newValue: LegendWidget[\"layerInfos\"]): void {\n if (this.widget) {\n this.widget.layerInfos = newValue;\n }\n }\n\n @Prop() respectLayerVisibility: LegendWidget[\"respectLayerVisibility\"];\n\n @Watch(\"respectLayerVisibility\")\n respectLayerVisibilityWatcher(newValue: LegendWidget[\"respectLayerVisibility\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.respectLayerVisibility = newValue;\n }\n }\n\n @Prop() legendStyle: LegendWidget[\"style\"];\n\n @Watch(\"legendStyle\")\n styleWatcher(newValue: LegendWidget[\"style\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.style = newValue;\n }\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: LegendWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Legend }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsLegend(params);\n\n this.widget = widget;\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el as HTMLArcgisExpandElement)}>\n <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<LegendWidget> {\n const params: Partial<LegendWidget> = {\n container: this.childElem\n };\n\n if (this.activeLayerInfos) {\n params.activeLayerInfos = this.activeLayerInfos;\n }\n\n if (this.basemapLegendVisible !== undefined) {\n params.basemapLegendVisible = this.basemapLegendVisible;\n }\n\n if (this.hideLayersNotInCurrentView !== undefined) {\n params.hideLayersNotInCurrentView = this.hideLayersNotInCurrentView;\n }\n\n if (this.layerInfos) {\n params.layerInfos = this.layerInfos;\n }\n\n if (this.respectLayerVisibility !== undefined) {\n params.respectLayerVisibility = this.respectLayerVisibility;\n }\n\n if (this.legendStyle) {\n params.style = this.legendStyle;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"mappings":"4KAAA,MAAMA,EAAY,G,MCiBLC,EAAY,M,kEAsGvBC,KAAAC,cAAsC,G,uPAtBnB,c,gBASE,M,0CAnErB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,uBAAAE,CAAwBF,GACtB,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOC,iBAAmBJ,C,EAOnC,2BAAAK,CAA4BL,GAC1B,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKM,OAAOI,qBAAuBP,C,EAOvC,iCAAAQ,CAAkCR,GAChC,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKM,OAAOM,2BAA6BT,C,EAO7C,iBAAAU,CAAkBV,GAChB,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOQ,WAAaX,C,EAO7B,6BAAAY,CAA8BZ,GAC5B,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKM,OAAOU,uBAAyBb,C,EAOzC,YAAAc,CAAad,GACX,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKM,OAAOY,MAAQf,C,EAOxB,eAAAgB,CAAgBhB,GACd,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKoB,KAAKC,GAAGC,KAAKtB,KAAKuB,UAAWpB,E,EAStC,WAAAqB,CAAYrB,GACV,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKM,OAAOc,KAAOjB,C,EAsBvB,sBAAMsB,GACJ,MAAMC,EAAS1B,KAAK2B,gBAEpB,MAAMrB,QAAesB,EAAiBF,GAEtC1B,KAAKM,OAASA,EAEdN,KAAK6B,YAAYC,KAAK,CAAExB,OAAQN,KAAKM,SAErCyB,EAAa/B,K,CAGf,oBAAAgC,GACEC,EAAqBjC,K,CAGvB,MAAAkC,GACE,GAAIlC,KAAKmC,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAUrC,KAAKqC,SAAUC,IAAMC,GAAQvC,KAAKwC,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQvC,KAAKuB,UAAYgB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQvC,KAAKuB,UAAYgB,G,CASrC,aAAAZ,GACN,MAAMD,EAAgC,CACpCe,UAAWzC,KAAKuB,WAGlB,GAAIvB,KAAKO,iBAAkB,CACzBmB,EAAOnB,iBAAmBP,KAAKO,gB,CAGjC,GAAIP,KAAKU,uBAAyBD,UAAW,CAC3CiB,EAAOhB,qBAAuBV,KAAKU,oB,CAGrC,GAAIV,KAAKY,6BAA+BH,UAAW,CACjDiB,EAAOd,2BAA6BZ,KAAKY,0B,CAG3C,GAAIZ,KAAKc,WAAY,CACnBY,EAAOZ,WAAad,KAAKc,U,CAG3B,GAAId,KAAKgB,yBAA2BP,UAAW,CAC7CiB,EAAOV,uBAAyBhB,KAAKgB,sB,CAGvC,GAAIhB,KAAK0C,YAAa,CACpBhB,EAAOR,MAAQlB,KAAK0C,W,CAGtB,GAAI1C,KAAKoB,KAAM,CACbM,EAAON,KAAOpB,KAAKoB,I,CAGrB,OAAOM,C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,g as s}from"./p-8896b456.js";import{a3 as r}from"./p-e8f7bdbb.js";import{r as h,c as n}from"./p-8c591aa0.js";import{o as a}from"./p-8cd5e748.js";const c="";const o=class{constructor(i){t(this,i);this.widgetReady=e(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.position="bottom-left";this.expandable=false;this.view=undefined;this.visibleElements=undefined;this.widget=undefined}referenceElementWatcher(t){h(this,t)}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,t)}}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}visibleElementsWatcher(t){if(this.widget){this.widget.visibleElements=t}}async componentDidLoad(){const t=this._createParams();const e=await r(t);this.widget=e;this.widgetReady.emit({widget:this.widget});n(this)}disconnectedCallback(){a(this)}render(){if(this.expandable){return i("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},i("div",{ref:t=>this.childElem=t}))}return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};if(this.visibleElements){t.visibleElements=this.visibleElements}if(this.view){t.view=this.view}return t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"],view:["viewWatcher"],visibleElements:["visibleElementsWatcher"]}}};o.style=c;export{o as arcgis_weather};
2
+ //# sourceMappingURL=p-3b572dd1.entry.js.map