@arcgis/map-components 4.29.0-beta.4 → 4.29.0-beta.41

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 (608) 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-00f30dbd.entry.js +2 -0
  7. package/dist/arcgis-map-components/p-00f30dbd.entry.js.map +1 -0
  8. package/dist/arcgis-map-components/p-05478da4.entry.js +2 -0
  9. package/dist/arcgis-map-components/p-05478da4.entry.js.map +1 -0
  10. package/dist/arcgis-map-components/p-06dc39eb.entry.js +2 -0
  11. package/dist/arcgis-map-components/p-06dc39eb.entry.js.map +1 -0
  12. package/dist/arcgis-map-components/p-07325369.entry.js +2 -0
  13. package/dist/arcgis-map-components/p-07325369.entry.js.map +1 -0
  14. package/dist/arcgis-map-components/p-07e7d7b2.js +2 -0
  15. package/dist/arcgis-map-components/p-07e7d7b2.js.map +1 -0
  16. package/dist/arcgis-map-components/p-09b972be.entry.js +2 -0
  17. package/dist/arcgis-map-components/p-09b972be.entry.js.map +1 -0
  18. package/dist/arcgis-map-components/p-0e42e14b.entry.js +2 -0
  19. package/dist/arcgis-map-components/p-0e42e14b.entry.js.map +1 -0
  20. package/dist/arcgis-map-components/p-14f542a3.entry.js +2 -0
  21. package/dist/arcgis-map-components/p-14f542a3.entry.js.map +1 -0
  22. package/dist/arcgis-map-components/p-181101b2.entry.js +2 -0
  23. package/dist/arcgis-map-components/p-181101b2.entry.js.map +1 -0
  24. package/dist/arcgis-map-components/p-1aa22ffc.entry.js +2 -0
  25. package/dist/arcgis-map-components/p-1aa22ffc.entry.js.map +1 -0
  26. package/dist/arcgis-map-components/p-1ed5d647.entry.js +2 -0
  27. package/dist/arcgis-map-components/p-1ed5d647.entry.js.map +1 -0
  28. package/dist/arcgis-map-components/p-22738a30.entry.js +2 -0
  29. package/dist/arcgis-map-components/p-22738a30.entry.js.map +1 -0
  30. package/dist/arcgis-map-components/p-2a78610a.entry.js +2 -0
  31. package/dist/arcgis-map-components/p-2a78610a.entry.js.map +1 -0
  32. package/dist/arcgis-map-components/p-3209d063.entry.js +2 -0
  33. package/dist/arcgis-map-components/p-3209d063.entry.js.map +1 -0
  34. package/dist/arcgis-map-components/p-3a4ee895.entry.js +2 -0
  35. package/dist/arcgis-map-components/p-3a4ee895.entry.js.map +1 -0
  36. package/dist/arcgis-map-components/p-3ce612f0.entry.js +2 -0
  37. package/dist/arcgis-map-components/p-3ce612f0.entry.js.map +1 -0
  38. package/dist/arcgis-map-components/p-4280d545.js +2 -0
  39. package/dist/arcgis-map-components/p-4280d545.js.map +1 -0
  40. package/dist/arcgis-map-components/p-43e08c8e.entry.js +2 -0
  41. package/dist/arcgis-map-components/p-43e08c8e.entry.js.map +1 -0
  42. package/dist/arcgis-map-components/p-45a6ec08.entry.js +2 -0
  43. package/dist/arcgis-map-components/p-45a6ec08.entry.js.map +1 -0
  44. package/dist/arcgis-map-components/p-4edb69dc.entry.js +2 -0
  45. package/dist/arcgis-map-components/p-4edb69dc.entry.js.map +1 -0
  46. package/dist/arcgis-map-components/p-5245bc16.entry.js +2 -0
  47. package/dist/arcgis-map-components/p-5245bc16.entry.js.map +1 -0
  48. package/dist/arcgis-map-components/p-530503e3.js +2 -0
  49. package/dist/arcgis-map-components/p-530503e3.js.map +1 -0
  50. package/dist/arcgis-map-components/p-55d0f5ad.entry.js +2 -0
  51. package/dist/arcgis-map-components/p-55d0f5ad.entry.js.map +1 -0
  52. package/dist/arcgis-map-components/p-60a88ea8.entry.js +2 -0
  53. package/dist/arcgis-map-components/p-60a88ea8.entry.js.map +1 -0
  54. package/dist/arcgis-map-components/p-62249867.entry.js +2 -0
  55. package/dist/arcgis-map-components/p-62249867.entry.js.map +1 -0
  56. package/dist/arcgis-map-components/p-63bfa89a.entry.js +2 -0
  57. package/dist/arcgis-map-components/p-63bfa89a.entry.js.map +1 -0
  58. package/dist/arcgis-map-components/p-6eb31c62.entry.js +2 -0
  59. package/dist/arcgis-map-components/p-6eb31c62.entry.js.map +1 -0
  60. package/dist/arcgis-map-components/p-70d39dcf.entry.js +2 -0
  61. package/dist/arcgis-map-components/p-70d39dcf.entry.js.map +1 -0
  62. package/dist/arcgis-map-components/p-75c5fd05.entry.js +2 -0
  63. package/dist/arcgis-map-components/p-75c5fd05.entry.js.map +1 -0
  64. package/dist/arcgis-map-components/p-761ac7d4.entry.js +2 -0
  65. package/dist/arcgis-map-components/p-761ac7d4.entry.js.map +1 -0
  66. package/dist/arcgis-map-components/p-786c1915.entry.js +2 -0
  67. package/dist/arcgis-map-components/p-786c1915.entry.js.map +1 -0
  68. package/dist/arcgis-map-components/p-81207d02.entry.js +2 -0
  69. package/dist/arcgis-map-components/p-81207d02.entry.js.map +1 -0
  70. package/dist/arcgis-map-components/p-82ba1e5d.entry.js +2 -0
  71. package/dist/arcgis-map-components/p-82ba1e5d.entry.js.map +1 -0
  72. package/dist/arcgis-map-components/p-883490a4.entry.js +2 -0
  73. package/dist/arcgis-map-components/p-883490a4.entry.js.map +1 -0
  74. package/dist/arcgis-map-components/p-8a36eefa.entry.js +2 -0
  75. package/dist/arcgis-map-components/p-8a36eefa.entry.js.map +1 -0
  76. package/dist/arcgis-map-components/p-8c9da1b9.entry.js +2 -0
  77. package/dist/arcgis-map-components/p-8c9da1b9.entry.js.map +1 -0
  78. package/dist/arcgis-map-components/p-943108f9.entry.js +2 -0
  79. package/dist/arcgis-map-components/p-943108f9.entry.js.map +1 -0
  80. package/dist/arcgis-map-components/p-983881aa.entry.js +2 -0
  81. package/dist/arcgis-map-components/p-983881aa.entry.js.map +1 -0
  82. package/dist/arcgis-map-components/p-9d965bf8.entry.js +2 -0
  83. package/dist/arcgis-map-components/p-9d965bf8.entry.js.map +1 -0
  84. package/dist/arcgis-map-components/p-9de4c65d.entry.js +2 -0
  85. package/dist/arcgis-map-components/p-9de4c65d.entry.js.map +1 -0
  86. package/dist/arcgis-map-components/p-9efd1c60.entry.js +2 -0
  87. package/dist/arcgis-map-components/p-9efd1c60.entry.js.map +1 -0
  88. package/dist/arcgis-map-components/p-a096c52f.entry.js +2 -0
  89. package/dist/arcgis-map-components/p-a096c52f.entry.js.map +1 -0
  90. package/dist/arcgis-map-components/p-a29e5958.entry.js +2 -0
  91. package/dist/arcgis-map-components/p-a29e5958.entry.js.map +1 -0
  92. package/dist/arcgis-map-components/p-a4367c0d.entry.js +2 -0
  93. package/dist/arcgis-map-components/p-a4367c0d.entry.js.map +1 -0
  94. package/dist/arcgis-map-components/p-b28da40c.entry.js +2 -0
  95. package/dist/arcgis-map-components/p-b28da40c.entry.js.map +1 -0
  96. package/dist/arcgis-map-components/p-ba7bfe2a.entry.js +2 -0
  97. package/dist/arcgis-map-components/p-ba7bfe2a.entry.js.map +1 -0
  98. package/dist/arcgis-map-components/p-c1eb12b2.entry.js +2 -0
  99. package/dist/arcgis-map-components/p-c1eb12b2.entry.js.map +1 -0
  100. package/dist/arcgis-map-components/p-c8faa156.entry.js +2 -0
  101. package/dist/arcgis-map-components/p-c8faa156.entry.js.map +1 -0
  102. package/dist/arcgis-map-components/p-c95d50be.entry.js +2 -0
  103. package/dist/arcgis-map-components/p-c95d50be.entry.js.map +1 -0
  104. package/dist/arcgis-map-components/p-d0fb9a2a.entry.js +2 -0
  105. package/dist/arcgis-map-components/p-d0fb9a2a.entry.js.map +1 -0
  106. package/dist/arcgis-map-components/p-d142ff74.js +2 -0
  107. package/dist/arcgis-map-components/p-d142ff74.js.map +1 -0
  108. package/dist/arcgis-map-components/p-dbc82e69.js +3 -0
  109. package/dist/arcgis-map-components/p-dbc82e69.js.map +1 -0
  110. package/dist/arcgis-map-components/p-dbf111db.entry.js +2 -0
  111. package/dist/arcgis-map-components/p-dbf111db.entry.js.map +1 -0
  112. package/dist/arcgis-map-components/p-e4a12f83.entry.js +2 -0
  113. package/dist/arcgis-map-components/p-e4a12f83.entry.js.map +1 -0
  114. package/dist/arcgis-map-components/p-ee414323.entry.js +2 -0
  115. package/dist/arcgis-map-components/p-ee414323.entry.js.map +1 -0
  116. package/dist/arcgis-map-components/p-f66a4365.entry.js +2 -0
  117. package/dist/arcgis-map-components/p-f66a4365.entry.js.map +1 -0
  118. package/dist/arcgis-map-components/p-f674b7f4.entry.js +2 -0
  119. package/dist/arcgis-map-components/p-f674b7f4.entry.js.map +1 -0
  120. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +20 -16
  121. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js.map +1 -0
  122. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +18 -14
  123. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js.map +1 -0
  124. package/dist/cjs/arcgis-attachments.cjs.entry.js +47 -13
  125. package/dist/cjs/arcgis-attachments.cjs.entry.js.map +1 -0
  126. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +509 -0
  127. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js.map +1 -0
  128. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +63 -34
  129. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js.map +1 -0
  130. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +35 -29
  131. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js.map +1 -0
  132. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +33 -25
  133. package/dist/cjs/arcgis-bookmarks.cjs.entry.js.map +1 -0
  134. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +48 -23
  135. package/dist/cjs/arcgis-building-explorer.cjs.entry.js.map +1 -0
  136. package/dist/cjs/arcgis-compass.cjs.entry.js +14 -18
  137. package/dist/cjs/arcgis-compass.cjs.entry.js.map +1 -0
  138. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +60 -30
  139. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js.map +1 -0
  140. package/dist/cjs/arcgis-daylight.cjs.entry.js +24 -21
  141. package/dist/cjs/arcgis-daylight.cjs.entry.js.map +1 -0
  142. package/dist/cjs/arcgis-directions.cjs.entry.js +51 -29
  143. package/dist/cjs/arcgis-directions.cjs.entry.js.map +1 -0
  144. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +18 -22
  145. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js.map +1 -0
  146. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +16 -20
  147. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js.map +1 -0
  148. package/dist/cjs/arcgis-editor.cjs.entry.js +35 -29
  149. package/dist/cjs/arcgis-editor.cjs.entry.js.map +1 -0
  150. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +35 -22
  151. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js.map +1 -0
  152. package/dist/cjs/arcgis-feature-form.cjs.entry.js +120 -7
  153. package/dist/cjs/arcgis-feature-form.cjs.entry.js.map +1 -0
  154. package/dist/cjs/arcgis-feature-table.cjs.entry.js +72 -43
  155. package/dist/cjs/arcgis-feature-table.cjs.entry.js.map +1 -0
  156. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +77 -13
  157. package/dist/cjs/arcgis-feature-templates.cjs.entry.js.map +1 -0
  158. package/dist/cjs/arcgis-feature.cjs.entry.js +52 -22
  159. package/dist/cjs/arcgis-feature.cjs.entry.js.map +1 -0
  160. package/dist/cjs/arcgis-features.cjs.entry.js +52 -25
  161. package/dist/cjs/arcgis-features.cjs.entry.js.map +1 -0
  162. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +21 -25
  163. package/dist/cjs/arcgis-floor-filter.cjs.entry.js.map +1 -0
  164. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +18 -22
  165. package/dist/cjs/arcgis-fullscreen.cjs.entry.js.map +1 -0
  166. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +140 -12
  167. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js.map +1 -0
  168. package/dist/cjs/arcgis-histogram.cjs.entry.js +119 -7
  169. package/dist/cjs/arcgis-histogram.cjs.entry.js.map +1 -0
  170. package/dist/cjs/arcgis-home.cjs.entry.js +29 -23
  171. package/dist/cjs/arcgis-home.cjs.entry.js.map +1 -0
  172. package/dist/cjs/arcgis-layer-list.cjs.entry.js +47 -22
  173. package/dist/cjs/arcgis-layer-list.cjs.entry.js.map +1 -0
  174. package/dist/cjs/arcgis-legend.cjs.entry.js +19 -23
  175. package/dist/cjs/arcgis-legend.cjs.entry.js.map +1 -0
  176. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +16 -20
  177. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js.map +1 -0
  178. package/dist/cjs/arcgis-locate.cjs.entry.js +27 -32
  179. package/dist/cjs/arcgis-locate.cjs.entry.js.map +1 -0
  180. package/dist/cjs/arcgis-map-components.cjs.js +5 -3
  181. package/dist/cjs/arcgis-map-components.cjs.js.map +1 -0
  182. package/dist/cjs/arcgis-measurement.cjs.entry.js +28 -23
  183. package/dist/cjs/arcgis-measurement.cjs.entry.js.map +1 -0
  184. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +14 -18
  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 +41 -27
  189. package/dist/cjs/arcgis-print.cjs.entry.js.map +1 -0
  190. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +17 -21
  191. package/dist/cjs/arcgis-scale-bar.cjs.entry.js.map +1 -0
  192. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +40 -34
  193. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js.map +1 -0
  194. package/dist/cjs/arcgis-scene.cjs.entry.js +205 -0
  195. package/dist/cjs/arcgis-scene.cjs.entry.js.map +1 -0
  196. package/dist/cjs/arcgis-search.cjs.entry.js +320 -0
  197. package/dist/cjs/arcgis-search.cjs.entry.js.map +1 -0
  198. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +26 -29
  199. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js.map +1 -0
  200. package/dist/cjs/arcgis-sketch.cjs.entry.js +43 -37
  201. package/dist/cjs/arcgis-sketch.cjs.entry.js.map +1 -0
  202. package/dist/cjs/arcgis-slice.cjs.entry.js +18 -31
  203. package/dist/cjs/arcgis-slice.cjs.entry.js.map +1 -0
  204. package/dist/cjs/arcgis-slider.cjs.entry.js +41 -43
  205. package/dist/cjs/arcgis-slider.cjs.entry.js.map +1 -0
  206. package/dist/cjs/arcgis-swipe.cjs.entry.js +9 -6
  207. package/dist/cjs/arcgis-swipe.cjs.entry.js.map +1 -0
  208. package/dist/cjs/arcgis-table-list.cjs.entry.js +47 -27
  209. package/dist/cjs/arcgis-table-list.cjs.entry.js.map +1 -0
  210. package/dist/cjs/arcgis-time-slider.cjs.entry.js +37 -31
  211. package/dist/cjs/arcgis-time-slider.cjs.entry.js.map +1 -0
  212. package/dist/cjs/arcgis-track.cjs.entry.js +26 -30
  213. package/dist/cjs/arcgis-track.cjs.entry.js.map +1 -0
  214. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +30 -31
  215. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js.map +1 -0
  216. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +43 -23
  217. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js.map +1 -0
  218. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +21 -32
  219. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js.map +1 -0
  220. package/dist/cjs/arcgis-value-picker.cjs.entry.js +44 -27
  221. package/dist/cjs/arcgis-value-picker.cjs.entry.js.map +1 -0
  222. package/dist/cjs/arcgis-weather.cjs.entry.js +25 -19
  223. package/dist/cjs/arcgis-weather.cjs.entry.js.map +1 -0
  224. package/dist/cjs/arcgis-zoom.cjs.entry.js +23 -24
  225. package/dist/cjs/arcgis-zoom.cjs.entry.js.map +1 -0
  226. package/dist/cjs/{component-utils-cbd20e88.js → component-utils-70169d9c.js} +59 -5
  227. package/dist/cjs/component-utils-70169d9c.js.map +1 -0
  228. package/dist/cjs/disconnected-efe16c70.js +40 -0
  229. package/dist/cjs/disconnected-efe16c70.js.map +1 -0
  230. package/dist/cjs/{index-bfda1cdc.js → index-3c85172f.js} +2 -0
  231. package/dist/cjs/index-3c85172f.js.map +1 -0
  232. package/dist/cjs/{index-6b51d5a0.js → index-f95f0426.js} +752 -71
  233. package/dist/cjs/index-f95f0426.js.map +1 -0
  234. package/dist/cjs/index.cjs.js +2 -0
  235. package/dist/cjs/index.cjs.js.map +1 -0
  236. package/dist/cjs/loader.cjs.js +5 -12
  237. package/dist/cjs/loader.cjs.js.map +1 -0
  238. package/dist/cjs/mapping-utils-2c2f871e.js +42 -0
  239. package/dist/cjs/mapping-utils-2c2f871e.js.map +1 -0
  240. package/dist/components/arcgis-area-measurement-2d.js +25 -15
  241. package/dist/components/arcgis-area-measurement-2d.js.map +1 -0
  242. package/dist/components/arcgis-area-measurement-3d.js +24 -14
  243. package/dist/components/arcgis-area-measurement-3d.js.map +1 -0
  244. package/dist/components/arcgis-attachments.js +56 -13
  245. package/dist/components/arcgis-attachments.js.map +1 -0
  246. package/dist/components/arcgis-basemap-gallery.js +31 -22
  247. package/dist/components/arcgis-basemap-gallery.js.map +1 -0
  248. package/dist/components/arcgis-basemap-layer-list.js +80 -36
  249. package/dist/components/arcgis-basemap-layer-list.js.map +1 -0
  250. package/dist/components/arcgis-basemap-toggle.js +43 -29
  251. package/dist/components/arcgis-basemap-toggle.js.map +1 -0
  252. package/dist/components/arcgis-bookmarks.js +44 -25
  253. package/dist/components/arcgis-bookmarks.js.map +1 -0
  254. package/dist/components/arcgis-building-explorer.js +57 -23
  255. package/dist/components/arcgis-building-explorer.js.map +1 -0
  256. package/dist/components/arcgis-compass.js +18 -17
  257. package/dist/components/arcgis-compass.js.map +1 -0
  258. package/dist/components/arcgis-coordinate-conversion.js +75 -30
  259. package/dist/components/arcgis-coordinate-conversion.js.map +1 -0
  260. package/dist/components/arcgis-daylight.js +34 -21
  261. package/dist/components/arcgis-daylight.js.map +1 -0
  262. package/dist/components/arcgis-directions.js +65 -29
  263. package/dist/components/arcgis-directions.js.map +1 -0
  264. package/dist/components/arcgis-directline-measurement-3d.js +25 -22
  265. package/dist/components/arcgis-directline-measurement-3d.js.map +1 -0
  266. package/dist/components/arcgis-distance-measurement-2d.js +23 -20
  267. package/dist/components/arcgis-distance-measurement-2d.js.map +1 -0
  268. package/dist/components/arcgis-editor.js +48 -29
  269. package/dist/components/arcgis-editor.js.map +1 -0
  270. package/dist/components/arcgis-elevation-profile.js +48 -23
  271. package/dist/components/arcgis-elevation-profile.js.map +1 -0
  272. package/dist/components/arcgis-expand.js +3 -1
  273. package/dist/components/arcgis-expand.js.map +1 -0
  274. package/dist/components/arcgis-feature-form.js +146 -10
  275. package/dist/components/arcgis-feature-form.js.map +1 -0
  276. package/dist/components/arcgis-feature-table.js +97 -42
  277. package/dist/components/arcgis-feature-table.js.map +1 -0
  278. package/dist/components/arcgis-feature-templates.js +93 -14
  279. package/dist/components/arcgis-feature-templates.js.map +1 -0
  280. package/dist/components/arcgis-feature.js +67 -23
  281. package/dist/components/arcgis-feature.js.map +1 -0
  282. package/dist/components/arcgis-features.js +65 -27
  283. package/dist/components/arcgis-features.js.map +1 -0
  284. package/dist/components/arcgis-floor-filter.js +30 -25
  285. package/dist/components/arcgis-floor-filter.js.map +1 -0
  286. package/dist/components/arcgis-fullscreen.js +23 -21
  287. package/dist/components/arcgis-fullscreen.js.map +1 -0
  288. package/dist/components/arcgis-histogram-range-slider.js +170 -12
  289. package/dist/components/arcgis-histogram-range-slider.js.map +1 -0
  290. package/dist/components/arcgis-histogram.js +147 -9
  291. package/dist/components/arcgis-histogram.js.map +1 -0
  292. package/dist/components/arcgis-home.js +36 -22
  293. package/dist/components/arcgis-home.js.map +1 -0
  294. package/dist/components/arcgis-layer-list.js +60 -23
  295. package/dist/components/arcgis-layer-list.js.map +1 -0
  296. package/dist/components/arcgis-legend.js +30 -23
  297. package/dist/components/arcgis-legend.js.map +1 -0
  298. package/dist/components/arcgis-line-of-sight.js +21 -20
  299. package/dist/components/arcgis-line-of-sight.js.map +1 -0
  300. package/dist/components/arcgis-locate.js +38 -32
  301. package/dist/components/arcgis-locate.js.map +1 -0
  302. package/dist/components/arcgis-map.js +100 -40
  303. package/dist/components/arcgis-map.js.map +1 -0
  304. package/dist/components/arcgis-measurement.js +36 -23
  305. package/dist/components/arcgis-measurement.js.map +1 -0
  306. package/dist/components/arcgis-navigation-toggle.js +19 -17
  307. package/dist/components/arcgis-navigation-toggle.js.map +1 -0
  308. package/dist/components/arcgis-placement.d.ts +11 -0
  309. package/dist/components/arcgis-placement.js +73 -0
  310. package/dist/components/arcgis-placement.js.map +1 -0
  311. package/dist/components/arcgis-print.js +54 -27
  312. package/dist/components/arcgis-print.js.map +1 -0
  313. package/dist/components/arcgis-scale-bar.js +24 -21
  314. package/dist/components/arcgis-scale-bar.js.map +1 -0
  315. package/dist/components/arcgis-scale-range-slider.js +54 -35
  316. package/dist/components/arcgis-scale-range-slider.js.map +1 -0
  317. package/dist/components/arcgis-scene.js +98 -34
  318. package/dist/components/arcgis-scene.js.map +1 -0
  319. package/dist/components/arcgis-search.js +107 -41
  320. package/dist/components/arcgis-search.js.map +1 -0
  321. package/dist/components/arcgis-shadow-cast.js +34 -31
  322. package/dist/components/arcgis-shadow-cast.js.map +1 -0
  323. package/dist/components/arcgis-sketch.js +59 -37
  324. package/dist/components/arcgis-sketch.js.map +1 -0
  325. package/dist/components/arcgis-slice.js +24 -33
  326. package/dist/components/arcgis-slice.js.map +1 -0
  327. package/dist/components/arcgis-slider.js +57 -43
  328. package/dist/components/arcgis-slider.js.map +1 -0
  329. package/dist/components/arcgis-swipe.js +18 -5
  330. package/dist/components/arcgis-swipe.js.map +1 -0
  331. package/dist/components/arcgis-table-list.js +58 -27
  332. package/dist/components/arcgis-table-list.js.map +1 -0
  333. package/dist/components/arcgis-time-slider.js +54 -31
  334. package/dist/components/arcgis-time-slider.js.map +1 -0
  335. package/dist/components/arcgis-track.js +36 -30
  336. package/dist/components/arcgis-track.js.map +1 -0
  337. package/dist/components/arcgis-utility-network-associations.js +50 -31
  338. package/dist/components/arcgis-utility-network-associations.js.map +1 -0
  339. package/dist/components/arcgis-utility-network-trace.js +56 -23
  340. package/dist/components/arcgis-utility-network-trace.js.map +1 -0
  341. package/dist/components/arcgis-utility-network-validate-topology.js +28 -32
  342. package/dist/components/arcgis-utility-network-validate-topology.js.map +1 -0
  343. package/dist/components/arcgis-value-picker.js +54 -27
  344. package/dist/components/arcgis-value-picker.js.map +1 -0
  345. package/dist/components/arcgis-weather.js +32 -19
  346. package/dist/components/arcgis-weather.js.map +1 -0
  347. package/dist/components/arcgis-zoom.js +28 -23
  348. package/dist/components/arcgis-zoom.js.map +1 -0
  349. package/dist/{esm/component-utils-2ebdae59.js → components/component-utils.js} +56 -4
  350. package/dist/components/component-utils.js.map +1 -0
  351. package/dist/components/disconnected.js +13 -97
  352. package/dist/components/disconnected.js.map +1 -0
  353. package/dist/components/expand.js +256 -0
  354. package/dist/components/expand.js.map +1 -0
  355. package/dist/components/index.d.ts +5 -55
  356. package/dist/components/index.js +3 -54
  357. package/dist/components/index.js.map +1 -0
  358. package/dist/components/index2.js +3 -1
  359. package/dist/components/index2.js.map +1 -0
  360. package/dist/components/mapping-utils.js +12 -10
  361. package/dist/components/mapping-utils.js.map +1 -0
  362. package/dist/esm/arcgis-area-measurement-2d.entry.js +20 -16
  363. package/dist/esm/arcgis-area-measurement-2d.entry.js.map +1 -0
  364. package/dist/esm/arcgis-area-measurement-3d.entry.js +18 -14
  365. package/dist/esm/arcgis-area-measurement-3d.entry.js.map +1 -0
  366. package/dist/esm/arcgis-attachments.entry.js +46 -12
  367. package/dist/esm/arcgis-attachments.entry.js.map +1 -0
  368. package/dist/esm/arcgis-basemap-gallery_3.entry.js +503 -0
  369. package/dist/esm/arcgis-basemap-gallery_3.entry.js.map +1 -0
  370. package/dist/esm/arcgis-basemap-layer-list.entry.js +63 -34
  371. package/dist/esm/arcgis-basemap-layer-list.entry.js.map +1 -0
  372. package/dist/esm/arcgis-basemap-toggle.entry.js +35 -29
  373. package/dist/esm/arcgis-basemap-toggle.entry.js.map +1 -0
  374. package/dist/esm/arcgis-bookmarks.entry.js +33 -25
  375. package/dist/esm/arcgis-bookmarks.entry.js.map +1 -0
  376. package/dist/esm/arcgis-building-explorer.entry.js +48 -23
  377. package/dist/esm/arcgis-building-explorer.entry.js.map +1 -0
  378. package/dist/esm/arcgis-compass.entry.js +14 -18
  379. package/dist/esm/arcgis-compass.entry.js.map +1 -0
  380. package/dist/esm/arcgis-coordinate-conversion.entry.js +60 -30
  381. package/dist/esm/arcgis-coordinate-conversion.entry.js.map +1 -0
  382. package/dist/esm/arcgis-daylight.entry.js +24 -21
  383. package/dist/esm/arcgis-daylight.entry.js.map +1 -0
  384. package/dist/esm/arcgis-directions.entry.js +51 -29
  385. package/dist/esm/arcgis-directions.entry.js.map +1 -0
  386. package/dist/esm/arcgis-directline-measurement-3d.entry.js +18 -22
  387. package/dist/esm/arcgis-directline-measurement-3d.entry.js.map +1 -0
  388. package/dist/esm/arcgis-distance-measurement-2d.entry.js +16 -20
  389. package/dist/esm/arcgis-distance-measurement-2d.entry.js.map +1 -0
  390. package/dist/esm/arcgis-editor.entry.js +35 -29
  391. package/dist/esm/arcgis-editor.entry.js.map +1 -0
  392. package/dist/esm/arcgis-elevation-profile.entry.js +35 -22
  393. package/dist/esm/arcgis-elevation-profile.entry.js.map +1 -0
  394. package/dist/esm/arcgis-feature-form.entry.js +120 -7
  395. package/dist/esm/arcgis-feature-form.entry.js.map +1 -0
  396. package/dist/esm/arcgis-feature-table.entry.js +72 -43
  397. package/dist/esm/arcgis-feature-table.entry.js.map +1 -0
  398. package/dist/esm/arcgis-feature-templates.entry.js +77 -13
  399. package/dist/esm/arcgis-feature-templates.entry.js.map +1 -0
  400. package/dist/esm/arcgis-feature.entry.js +52 -22
  401. package/dist/esm/arcgis-feature.entry.js.map +1 -0
  402. package/dist/esm/arcgis-features.entry.js +52 -25
  403. package/dist/esm/arcgis-features.entry.js.map +1 -0
  404. package/dist/esm/arcgis-floor-filter.entry.js +21 -25
  405. package/dist/esm/arcgis-floor-filter.entry.js.map +1 -0
  406. package/dist/esm/arcgis-fullscreen.entry.js +18 -22
  407. package/dist/esm/arcgis-fullscreen.entry.js.map +1 -0
  408. package/dist/esm/arcgis-histogram-range-slider.entry.js +140 -12
  409. package/dist/esm/arcgis-histogram-range-slider.entry.js.map +1 -0
  410. package/dist/esm/arcgis-histogram.entry.js +119 -7
  411. package/dist/esm/arcgis-histogram.entry.js.map +1 -0
  412. package/dist/esm/arcgis-home.entry.js +29 -23
  413. package/dist/esm/arcgis-home.entry.js.map +1 -0
  414. package/dist/esm/arcgis-layer-list.entry.js +47 -22
  415. package/dist/esm/arcgis-layer-list.entry.js.map +1 -0
  416. package/dist/esm/arcgis-legend.entry.js +19 -23
  417. package/dist/esm/arcgis-legend.entry.js.map +1 -0
  418. package/dist/esm/arcgis-line-of-sight.entry.js +16 -20
  419. package/dist/esm/arcgis-line-of-sight.entry.js.map +1 -0
  420. package/dist/esm/arcgis-locate.entry.js +27 -32
  421. package/dist/esm/arcgis-locate.entry.js.map +1 -0
  422. package/dist/esm/arcgis-map-components.js +6 -4
  423. package/dist/esm/arcgis-map-components.js.map +1 -0
  424. package/dist/esm/arcgis-measurement.entry.js +28 -23
  425. package/dist/esm/arcgis-measurement.entry.js.map +1 -0
  426. package/dist/esm/arcgis-navigation-toggle.entry.js +14 -18
  427. package/dist/esm/arcgis-navigation-toggle.entry.js.map +1 -0
  428. package/dist/esm/arcgis-placement.entry.js +48 -0
  429. package/dist/esm/arcgis-placement.entry.js.map +1 -0
  430. package/dist/esm/arcgis-print.entry.js +41 -27
  431. package/dist/esm/arcgis-print.entry.js.map +1 -0
  432. package/dist/esm/arcgis-scale-bar.entry.js +17 -21
  433. package/dist/esm/arcgis-scale-bar.entry.js.map +1 -0
  434. package/dist/esm/arcgis-scale-range-slider.entry.js +40 -34
  435. package/dist/esm/arcgis-scale-range-slider.entry.js.map +1 -0
  436. package/dist/esm/arcgis-scene.entry.js +201 -0
  437. package/dist/esm/arcgis-scene.entry.js.map +1 -0
  438. package/dist/esm/arcgis-search.entry.js +316 -0
  439. package/dist/esm/arcgis-search.entry.js.map +1 -0
  440. package/dist/esm/arcgis-shadow-cast.entry.js +26 -29
  441. package/dist/esm/arcgis-shadow-cast.entry.js.map +1 -0
  442. package/dist/esm/arcgis-sketch.entry.js +43 -37
  443. package/dist/esm/arcgis-sketch.entry.js.map +1 -0
  444. package/dist/esm/arcgis-slice.entry.js +18 -31
  445. package/dist/esm/arcgis-slice.entry.js.map +1 -0
  446. package/dist/esm/arcgis-slider.entry.js +41 -43
  447. package/dist/esm/arcgis-slider.entry.js.map +1 -0
  448. package/dist/esm/arcgis-swipe.entry.js +9 -6
  449. package/dist/esm/arcgis-swipe.entry.js.map +1 -0
  450. package/dist/esm/arcgis-table-list.entry.js +47 -27
  451. package/dist/esm/arcgis-table-list.entry.js.map +1 -0
  452. package/dist/esm/arcgis-time-slider.entry.js +37 -31
  453. package/dist/esm/arcgis-time-slider.entry.js.map +1 -0
  454. package/dist/esm/arcgis-track.entry.js +26 -30
  455. package/dist/esm/arcgis-track.entry.js.map +1 -0
  456. package/dist/esm/arcgis-utility-network-associations.entry.js +30 -31
  457. package/dist/esm/arcgis-utility-network-associations.entry.js.map +1 -0
  458. package/dist/esm/arcgis-utility-network-trace.entry.js +43 -23
  459. package/dist/esm/arcgis-utility-network-trace.entry.js.map +1 -0
  460. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +21 -32
  461. package/dist/esm/arcgis-utility-network-validate-topology.entry.js.map +1 -0
  462. package/dist/esm/arcgis-value-picker.entry.js +44 -27
  463. package/dist/esm/arcgis-value-picker.entry.js.map +1 -0
  464. package/dist/esm/arcgis-weather.entry.js +25 -19
  465. package/dist/esm/arcgis-weather.entry.js.map +1 -0
  466. package/dist/esm/arcgis-zoom.entry.js +23 -24
  467. package/dist/esm/arcgis-zoom.entry.js.map +1 -0
  468. package/dist/esm/component-utils-42a79acb.js +125 -0
  469. package/dist/esm/component-utils-42a79acb.js.map +1 -0
  470. package/dist/esm/disconnected-bf72f8e5.js +38 -0
  471. package/dist/esm/disconnected-bf72f8e5.js.map +1 -0
  472. package/dist/esm/{index-eb3ead33.js → index-05f887cd.js} +752 -71
  473. package/dist/esm/index-05f887cd.js.map +1 -0
  474. package/dist/esm/{index-334b0bde.js → index-fd2cea51.js} +3 -1
  475. package/dist/esm/index-fd2cea51.js.map +1 -0
  476. package/dist/esm/index.js +2 -0
  477. package/dist/esm/index.js.map +1 -0
  478. package/dist/esm/loader.js +6 -13
  479. package/dist/esm/loader.js.map +1 -0
  480. package/dist/esm/mapping-utils-a935fed9.js +40 -0
  481. package/dist/esm/mapping-utils-a935fed9.js.map +1 -0
  482. package/dist/loader/index.d.ts +2 -2
  483. package/dist/types/components/{arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts → area-measurement-2d/area-measurement-2d.d.ts} +5 -3
  484. package/dist/types/components/{arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts → area-measurement-3d/area-measurement-3d.d.ts} +5 -3
  485. package/dist/types/components/{arcgis-attachments/arcgis-attachments.d.ts → attachments/attachments.d.ts} +10 -1
  486. package/dist/types/components/{arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts → basemap-gallery/basemap-gallery.d.ts} +5 -3
  487. package/dist/types/components/{arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts → basemap-layer-list/basemap-layer-list.d.ts} +15 -8
  488. package/dist/types/components/{arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts → basemap-toggle/basemap-toggle.d.ts} +7 -4
  489. package/dist/types/components/{arcgis-bookmarks/arcgis-bookmarks.d.ts → bookmarks/bookmarks.d.ts} +10 -7
  490. package/dist/types/components/{arcgis-building-explorer/arcgis-building-explorer.d.ts → building-explorer/building-explorer.d.ts} +9 -3
  491. package/dist/types/components/{arcgis-compass/arcgis-compass.d.ts → compass/compass.d.ts} +4 -3
  492. package/dist/types/components/{arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts → coordinate-conversion/coordinate-conversion.d.ts} +14 -11
  493. package/dist/types/components/{arcgis-daylight/arcgis-daylight.d.ts → daylight/daylight.d.ts} +9 -6
  494. package/dist/types/components/{arcgis-directions/arcgis-directions.d.ts → directions/directions.d.ts} +13 -9
  495. package/dist/types/components/{arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts → directline-measurement-3d/directline-measurement-3d.d.ts} +6 -5
  496. package/dist/types/components/{arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts → distance-measurement-2d/distance-measurement-2d.d.ts} +6 -5
  497. package/dist/types/components/{arcgis-editor/arcgis-editor.d.ts → editor/editor.d.ts} +12 -9
  498. package/dist/types/components/{arcgis-elevation-profile/arcgis-elevation-profile.d.ts → elevation-profile/elevation-profile.d.ts} +12 -8
  499. package/dist/types/components/expand/expand.d.ts +48 -0
  500. package/dist/types/components/{arcgis-feature/arcgis-feature.d.ts → feature/feature.d.ts} +13 -5
  501. package/dist/types/components/feature-form/feature-form.d.ts +42 -0
  502. package/dist/types/components/{arcgis-feature-table/arcgis-feature-table.d.ts → feature-table/feature-table.d.ts} +25 -18
  503. package/dist/types/components/feature-templates/feature-templates.d.ts +38 -0
  504. package/dist/types/components/{arcgis-features/arcgis-features.d.ts → features/features.d.ts} +13 -4
  505. package/dist/types/components/{arcgis-floor-filter/arcgis-floor-filter.d.ts → floor-filter/floor-filter.d.ts} +8 -7
  506. package/dist/types/components/{arcgis-fullscreen/arcgis-fullscreen.d.ts → fullscreen/fullscreen.d.ts} +5 -4
  507. package/dist/types/components/histogram/histogram.d.ts +41 -0
  508. package/dist/types/components/histogram-range-slider/histogram-range-slider.d.ts +52 -0
  509. package/dist/types/components/{arcgis-home/arcgis-home.d.ts → home/home.d.ts} +7 -4
  510. package/dist/types/components/{arcgis-layer-list/arcgis-layer-list.d.ts → layer-list/layer-list.d.ts} +11 -6
  511. package/dist/types/components/{arcgis-legend/arcgis-legend.d.ts → legend/legend.d.ts} +10 -9
  512. package/dist/types/components/{arcgis-line-of-sight/arcgis-line-of-sight.d.ts → line-of-sight/line-of-sight.d.ts} +4 -3
  513. package/dist/types/components/{arcgis-locate/arcgis-locate.d.ts → locate/locate.d.ts} +11 -10
  514. package/dist/types/components/{arcgis-map/arcgis-map.d.ts → map/map.d.ts} +9 -2
  515. package/dist/types/components/{arcgis-measurement/arcgis-measurement.d.ts → measurement/measurement.d.ts} +7 -6
  516. package/dist/types/components/{arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts → navigation-toggle/navigation-toggle.d.ts} +5 -4
  517. package/dist/types/components/{arcgis-expand/arcgis-expand.d.ts → placement/placement.d.ts} +8 -13
  518. package/dist/types/components/{arcgis-print/arcgis-print.d.ts → print/print.d.ts} +14 -13
  519. package/dist/types/components/{arcgis-scale-bar/arcgis-scale-bar.d.ts → scale-bar/scale-bar.d.ts} +6 -5
  520. package/dist/types/components/{arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts → scale-range-slider/scale-range-slider.d.ts} +12 -9
  521. package/dist/types/components/{arcgis-scene/arcgis-scene.d.ts → scene/scene.d.ts} +9 -2
  522. package/dist/types/components/{arcgis-search/arcgis-search.d.ts → search/search.d.ts} +21 -20
  523. package/dist/types/components/{arcgis-shadow-cast/arcgis-shadow-cast.d.ts → shadow-cast/shadow-cast.d.ts} +6 -5
  524. package/dist/types/components/{arcgis-sketch/arcgis-sketch.d.ts → sketch/sketch.d.ts} +15 -12
  525. package/dist/types/components/{arcgis-slice/arcgis-slice.d.ts → slice/slice.d.ts} +4 -5
  526. package/dist/types/components/{arcgis-slider/arcgis-slider.d.ts → slider/slider.d.ts} +15 -14
  527. package/dist/types/components/{arcgis-swipe/arcgis-swipe.d.ts → swipe/swipe.d.ts} +1 -0
  528. package/dist/types/components/{arcgis-table-list/arcgis-table-list.d.ts → table-list/table-list.d.ts} +10 -5
  529. package/dist/types/components/{arcgis-time-slider/arcgis-time-slider.d.ts → time-slider/time-slider.d.ts} +16 -13
  530. package/dist/types/components/{arcgis-track/arcgis-track.d.ts → track/track.d.ts} +10 -9
  531. package/dist/types/components/{arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts → utility-network-associations/utility-network-associations.d.ts} +20 -17
  532. package/dist/types/components/{arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts → utility-network-trace/utility-network-trace.d.ts} +12 -11
  533. package/dist/types/components/{arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts → utility-network-validate-topology/utility-network-validate-topology.d.ts} +6 -5
  534. package/dist/types/components/{arcgis-value-picker/arcgis-value-picker.d.ts → value-picker/value-picker.d.ts} +9 -6
  535. package/dist/types/components/{arcgis-weather/arcgis-weather.d.ts → weather/weather.d.ts} +6 -3
  536. package/dist/types/components/{arcgis-zoom/arcgis-zoom.d.ts → zoom/zoom.d.ts} +5 -4
  537. package/dist/types/components.d.ts +953 -62
  538. package/dist/types/stencil-public-runtime.d.ts +53 -17
  539. package/dist/types/utils/component-utils.d.ts +9 -4
  540. package/dist/types/utils/expandable.d.ts +1 -0
  541. package/dist/types/utils/mapping-utils.d.ts +1 -1
  542. package/package.json +21 -23
  543. package/dist/arcgis-map-components/p-037a3bb6.entry.js +0 -1
  544. package/dist/arcgis-map-components/p-064bf907.entry.js +0 -1
  545. package/dist/arcgis-map-components/p-08015460.entry.js +0 -1
  546. package/dist/arcgis-map-components/p-0d492ad6.entry.js +0 -1
  547. package/dist/arcgis-map-components/p-0ee8ea5a.entry.js +0 -1
  548. package/dist/arcgis-map-components/p-11168df4.entry.js +0 -1
  549. package/dist/arcgis-map-components/p-1680f044.entry.js +0 -1
  550. package/dist/arcgis-map-components/p-1a6dcf6a.entry.js +0 -1
  551. package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
  552. package/dist/arcgis-map-components/p-29c81862.entry.js +0 -1
  553. package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
  554. package/dist/arcgis-map-components/p-347dba98.entry.js +0 -1
  555. package/dist/arcgis-map-components/p-3673ae6e.entry.js +0 -1
  556. package/dist/arcgis-map-components/p-367c6986.entry.js +0 -1
  557. package/dist/arcgis-map-components/p-3b2623c6.entry.js +0 -1
  558. package/dist/arcgis-map-components/p-4722bbad.entry.js +0 -1
  559. package/dist/arcgis-map-components/p-48c89578.entry.js +0 -1
  560. package/dist/arcgis-map-components/p-5299aa69.entry.js +0 -1
  561. package/dist/arcgis-map-components/p-52c3388d.entry.js +0 -1
  562. package/dist/arcgis-map-components/p-5d2f53bd.entry.js +0 -1
  563. package/dist/arcgis-map-components/p-615399dd.entry.js +0 -1
  564. package/dist/arcgis-map-components/p-658a2499.entry.js +0 -1
  565. package/dist/arcgis-map-components/p-7031c422.entry.js +0 -1
  566. package/dist/arcgis-map-components/p-7084f84f.entry.js +0 -1
  567. package/dist/arcgis-map-components/p-74b7f2c3.entry.js +0 -1
  568. package/dist/arcgis-map-components/p-86a82586.entry.js +0 -1
  569. package/dist/arcgis-map-components/p-8a60074a.entry.js +0 -1
  570. package/dist/arcgis-map-components/p-8b4cf5da.entry.js +0 -1
  571. package/dist/arcgis-map-components/p-922bbfed.entry.js +0 -1
  572. package/dist/arcgis-map-components/p-932be58c.entry.js +0 -1
  573. package/dist/arcgis-map-components/p-99d486cb.entry.js +0 -1
  574. package/dist/arcgis-map-components/p-9fdd4596.entry.js +0 -1
  575. package/dist/arcgis-map-components/p-a0f092fc.entry.js +0 -1
  576. package/dist/arcgis-map-components/p-a1e2e59f.entry.js +0 -1
  577. package/dist/arcgis-map-components/p-a249c2fa.entry.js +0 -1
  578. package/dist/arcgis-map-components/p-a508d7c6.entry.js +0 -1
  579. package/dist/arcgis-map-components/p-a89102b6.entry.js +0 -1
  580. package/dist/arcgis-map-components/p-ac7e9294.entry.js +0 -1
  581. package/dist/arcgis-map-components/p-adcfd40d.entry.js +0 -1
  582. package/dist/arcgis-map-components/p-ae96d72a.entry.js +0 -1
  583. package/dist/arcgis-map-components/p-b026950f.entry.js +0 -1
  584. package/dist/arcgis-map-components/p-b5904340.entry.js +0 -1
  585. package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
  586. package/dist/arcgis-map-components/p-c57f270d.entry.js +0 -1
  587. package/dist/arcgis-map-components/p-c63d9e91.entry.js +0 -1
  588. package/dist/arcgis-map-components/p-c8516f87.entry.js +0 -1
  589. package/dist/arcgis-map-components/p-d3f3affa.entry.js +0 -1
  590. package/dist/arcgis-map-components/p-d5ac71b2.entry.js +0 -1
  591. package/dist/arcgis-map-components/p-dcf3861b.entry.js +0 -1
  592. package/dist/arcgis-map-components/p-e1201530.entry.js +0 -1
  593. package/dist/arcgis-map-components/p-eb95717e.entry.js +0 -1
  594. package/dist/arcgis-map-components/p-ee1086de.entry.js +0 -1
  595. package/dist/arcgis-map-components/p-f28d6d27.js +0 -1
  596. package/dist/arcgis-map-components/p-f8353590.entry.js +0 -1
  597. package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +0 -97
  598. package/dist/cjs/arcgis-expand_4.cjs.entry.js +0 -693
  599. package/dist/cjs/disconnected-306cb220.js +0 -55
  600. package/dist/components/arcgis-expand2.js +0 -107
  601. package/dist/esm/arcgis-basemap-gallery.entry.js +0 -93
  602. package/dist/esm/arcgis-expand_4.entry.js +0 -686
  603. package/dist/esm/disconnected-bc5fc8bc.js +0 -52
  604. package/dist/esm/polyfills/css-shim.js +0 -1
  605. package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +0 -18
  606. package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +0 -24
  607. package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +0 -18
  608. package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +0 -25
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-dbc82e69.js";export{s as setNonce}from"./p-dbc82e69.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-8a36eefa",[[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-map",{"apiKey":[1,"api-key"],"basemap":[1025],"backgroundColor":[1025,"background-color"],"disableNavigation":[4,"disable-navigation"],"itemId":[1537,"item-id"],"portalUrl":[1,"portal-url"],"scale":[1538],"zoom":[1538],"center":[1537],"view":[1040]},null,{"apiKey":["apiKeyWatcher"],"basemap":["basemapWatcher"],"backgroundColor":["backgroundColorWatcher"],"itemId":["itemIdWatcher"],"portalUrl":["portalUrlWatcher"],"scale":["scaleWatcher"],"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-45a6ec08",[[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-9efd1c60",[[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-63bfa89a",[[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-8c9da1b9",[[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-70d39dcf",[[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-dbf111db",[[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-a096c52f",[[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-943108f9",[[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-6eb31c62",[[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-09b972be",[[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-75c5fd05",[[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-07325369",[[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-60a88ea8",[[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-f674b7f4",[[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-62249867",[[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-c95d50be",[[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-c1eb12b2",[[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-81207d02",[[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-14f542a3",[[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-3209d063",[[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-a29e5958",[[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-55d0f5ad",[[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-9d965bf8",[[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-4edb69dc",[[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-c8faa156",[[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-22738a30",[[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-761ac7d4",[[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-f66a4365",[[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-3a4ee895",[[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-1aa22ffc",[[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-82ba1e5d",[[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-5245bc16",[[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-ba7bfe2a",[[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-d0fb9a2a",[[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-06dc39eb",[[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-0e42e14b",[[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-a4367c0d",[[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-983881aa",[[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-883490a4",[[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-181101b2",[[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-b28da40c",[[0,"arcgis-compass",{"referenceElement":[1,"reference-element"],"position":[1],"widget":[1040],"view":[1040],"reset":[64]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"],"view":["viewWatcher"]}]]],["p-2a78610a",[[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-00f30dbd",[[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-43e08c8e",[[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-9de4c65d",[[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-e4a12f83",[[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-3ce612f0",[[4,"arcgis-placement",{"referenceElement":[1,"reference-element"],"view":[16],"position":[1]},null,{"referenceElement":["referenceElementWatcher"],"position":["positionWatcher"]}]]],["p-05478da4",[[0,"arcgis-scene",{"apiKey":[1,"api-key"],"basemap":[1025],"itemId":[1537,"item-id"],"portalUrl":[1,"portal-url"],"scale":[1538],"zoom":[1538],"center":[1537],"view":[1040],"disableNavigation":[4,"disable-navigation"]},null,{"apiKey":["apiKeyWatcher"],"basemap":["basemapWatcher"],"itemId":["itemIdWatcher"],"portalUrl":["portalUrlWatcher"],"scale":["scaleWatcher"],"zoom":["zoomWatcher"]}]]],["p-ee414323",[[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-786c1915",[[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-1ed5d647",[[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.7.1 | 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,omlCAAuCH"}
@@ -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 e,h as i,g as s}from"./p-dbc82e69.js";import{D as r}from"./p-530503e3.js";import{r as n,c as h}from"./p-07e7d7b2.js";import{o as c}from"./p-4280d545.js";const a="";const o=class{constructor(i){t(this,i);this.widgetReady=e(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.element=undefined;this.position="bottom-left";this.view=undefined;this.widget=undefined}referenceElementWatcher(t){n(this,t)}elementWatcher(t){if(this.widget){this.widget.element=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 componentDidLoad(){const t=this._createParams();const e=await r(t);this.widget=e;this.widgetReady.emit({widget:this.widget});h(this)}disconnectedCallback(){c(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};if(this.element){t.element=this.element}if(this.view){t.view=this.view}return t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],element:["elementWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style=a;export{o as arcgis_fullscreen};
2
+ //# sourceMappingURL=p-00f30dbd.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["fullscreenCss","ArcgisFullscreen","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","elementWatcher","widget","element","positionWatcher","undefined","view","ui","move","childElem","viewWatcher","componentDidLoad","params","_createParams","newWidgetsFullscreen","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","h","ref","el","container"],"sources":["src/components/fullscreen/fullscreen.css?tag=arcgis-fullscreen","src/components/fullscreen/fullscreen.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsFullscreen } from \"@arcgis/core-adapter\";\nimport type Fullscreen from \"@arcgis/core/widgets/Fullscreen\";\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 FullscreenWidget = InstanceType<typeof Fullscreen>;\n\n@Component({\n tag: \"arcgis-fullscreen\",\n styleUrl: \"fullscreen.css\",\n shadow: false\n})\nexport class ArcgisFullscreen implements WidgetElement {\n //--------------------------------------------------------------------------\n //\n // Element\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() element: FullscreenWidget[\"element\"];\n\n @Watch(\"element\")\n elementWatcher(newValue: FullscreenWidget[\"element\"]): void {\n if (this.widget) {\n this.widget.element = 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: FullscreenWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Fullscreen }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsFullscreen(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 return <div ref={(el) => (this.childElem = el as HTMLDivElement)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _createParams(): Partial<FullscreenWidget> {\n const params: Partial<FullscreenWidget> = {\n container: this.childElem\n };\n\n if (this.element) {\n params.element = this.element;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"mappings":"4KAAA,MAAMA,EAAgB,G,MCqBTC,EAAgB,M,kEAqD3BC,KAAAC,cAAsC,G,qEApBnB,c,0CAbnB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,cAAAE,CAAeF,GACb,GAAIH,KAAKM,OAAQ,CACfN,KAAKM,OAAOC,QAAUJ,C,EAO1B,eAAAK,CAAgBL,GACd,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKU,KAAKC,GAAGC,KAAKZ,KAAKa,UAAWV,E,EAOtC,WAAAW,CAAYX,GACV,GAAIA,IAAaM,WAAaT,KAAKM,OAAQ,CACzCN,KAAKM,OAAOI,KAAOP,C,EAsBvB,sBAAMY,GACJ,MAAMC,EAAShB,KAAKiB,gBAEpB,MAAMX,QAAeY,EAAqBF,GAE1ChB,KAAKM,OAASA,EAEdN,KAAKmB,YAAYC,KAAK,CAAEd,OAAQN,KAAKM,SAErCe,EAAarB,K,CAGf,oBAAAsB,GACEC,EAAqBvB,K,CAGvB,MAAAwB,GACE,OAAOC,EAAA,OAAKC,IAAMC,GAAQ3B,KAAKa,UAAYc,G,CAQrC,aAAAV,GACN,MAAMD,EAAoC,CACxCY,UAAW5B,KAAKa,WAGlB,GAAIb,KAAKO,QAAS,CAChBS,EAAOT,QAAUP,KAAKO,O,CAGxB,GAAIP,KAAKU,KAAM,CACbM,EAAON,KAAOV,KAAKU,I,CAGrB,OAAOM,C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-dbc82e69.js";import{b as h,i as a,Q as n,R as r}from"./p-530503e3.js";import{i as c}from"./p-07e7d7b2.js";import{d as o}from"./p-d142ff74.js";const d=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";const f=class{constructor(s){t(this,s);this.viewReady=i(this,"viewReady",7);this._watchHandles=[];this.apiKey=undefined;this.basemap=undefined;this.itemId=undefined;this.portalUrl=undefined;this.scale=undefined;this.zoom=undefined;this.center=undefined;this.view=undefined;this.disableNavigation=false}apiKeyWatcher(t){this.config.apiKey=t}basemapWatcher(t){if(this.view?.map){this.view.map.basemap=t}}itemIdWatcher(t,i){if(t!==i){if(this.view?.map){this._updateMap()}else{this._loadMap()}}}portalUrlWatcher(t,i){if(t&&t!==i){if(this.view?.map){this._updateMap()}else{this._loadMap()}}}scaleWatcher(t,i){if(t!=null&&t!==i){this.view.scale=t}}zoomWatcher(t,i){if(t!=null&&t!==i){this.view.zoom=t}}async componentWillLoad(){this.config=await h();if(this.apiKey){this.config.apiKey=this.apiKey}this._loadMap()}componentDidRender(){if(this.view){this.view.container=this.el}}disconnectedCallback(){this._clearWatchHandles();this.view.destroy()}render(){return s("div",{class:"arcgis-scene",ref:t=>this.el=t})}_clearWatchHandles(){this._watchHandles.forEach((t=>t.remove()));this._watchHandles=[]}async _addWatchers(){const{watch:t,when:i}=await a();this._watchHandles.push(t((()=>this.view.center),(t=>{const i=`${t.longitude},${t.latitude}`;this.center=i})));this._watchHandles.push(i((()=>this.view.updating),(()=>{i((()=>!this.view.updating),(()=>{if(this.zoom!==this.view.zoom){this.zoom=this.view.zoom}if(this.scale!==this.view.scale){this.scale=this.view.scale}}),{once:true})})))}async _createMap(){const t={};if(this.itemId){t.portalItem=this._createPortalItem()}if(this.basemap){t.basemap=this.basemap}else if(c(this.itemId)){t.basemap="topo-vector"}const i=await n(t);return i}_createPortalItem(){const t={};if(this.itemId){t.id=this.itemId}if(this.portalUrl){t.portal={url:this.portalUrl}}return t}_createViewParams(){const t={};if(this.zoom!==undefined){t.zoom=this.zoom}if(this.scale!==undefined){t.scale=this.scale}if(this.center){if(typeof this.center==="string"){t.center=this.center.split(",").map((t=>Number(t)))}else{t.center=this.center}}return t}async _loadMap(){const t=await this._createMap();const i=this._createViewParams();const s=await r({map:t,...i});this.view=s;this._addWatchers();if(this.disableNavigation){o(this.view)}this.view.when((()=>{this.viewReady.emit({view:this.view})}))}async _updateMap(){if(this.view?.map){this.view.map.destroy();const t=await this._createMap();this.view.map=t}}get _hostElement(){return e(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],basemap:["basemapWatcher"],itemId:["itemIdWatcher"],portalUrl:["portalUrlWatcher"],scale:["scaleWatcher"],zoom:["zoomWatcher"]}}};f.style=d;export{f as arcgis_scene};
2
+ //# sourceMappingURL=p-05478da4.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["sceneCss","ArcgisScene","this","_watchHandles","apiKeyWatcher","value","config","apiKey","basemapWatcher","view","map","basemap","itemIdWatcher","old","_updateMap","_loadMap","portalUrlWatcher","scaleWatcher","scale","zoomWatcher","zoom","componentWillLoad","importConfig","componentDidRender","container","el","disconnectedCallback","_clearWatchHandles","destroy","render","h","class","ref","forEach","handle","remove","_addWatchers","watch","when","importCoreReactiveUtils","push","center","longitude","latitude","updating","once","_createMap","mapParams","itemId","portalItem","_createPortalItem","isNullOrEmptyString","newWebScene","item","id","portalUrl","portal","url","_createViewParams","params","undefined","split","x","Number","newViewsSceneView","disableNavigation","viewReady","emit"],"sources":["src/components/scene/scene.css?tag=arcgis-scene","src/components/scene/scene.tsx"],"sourcesContent":[".arcgis-scene {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { importConfig, importCoreReactiveUtils, newViewsSceneView, newWebScene } from \"@arcgis/core-adapter\";\nimport { isNullOrEmptyString, ViewElement } from \"../../utils/component-utils\";\nimport { disableNavigation } from \"../../utils/mapping-utils\";\nimport { ArcGISSceneView } from \"../types\";\n\n@Component({\n tag: \"arcgis-scene\",\n styleUrl: \"scene.css\",\n shadow: false\n})\nexport class ArcgisScene implements ViewElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n el: HTMLDivElement;\n\n @Element() _hostElement: HTMLArcgisSceneElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() apiKey: string;\n\n @Watch(\"apiKey\")\n apiKeyWatcher(value: string): void {\n this.config.apiKey = value;\n }\n\n @Prop({ mutable: true }) basemap: string;\n\n @Watch(\"basemap\")\n basemapWatcher(value: string): void {\n if (this.view?.map) {\n this.view.map.basemap = value as any;\n }\n }\n\n @Prop({ mutable: true, reflect: true }) itemId: string;\n\n @Watch(\"itemId\")\n itemIdWatcher(value: string, old: string): void {\n // NOTE: there is an issue when users set the value to undefined.\n // https://github.com/ionic-team/stencil/issues/2814\n // If user sets `itemid` to `undefined`, Stencil 2 will log the following warning:\n // `The state/prop \"${propName}\" changed during rendering.`\n // `This can potentially lead to infinite-loops and other bugs.`\n //\n // It appears consumer setting the value to null does not cause this warning.\n // In Stencil 4, if a user sets property to undefined, will trigger change, but\n // will not remove attribute from DOM.\n if (value !== old) {\n if (this.view?.map) {\n this._updateMap();\n } else {\n this._loadMap();\n }\n }\n }\n\n @Prop() portalUrl: string;\n\n @Watch(\"portalUrl\")\n portalUrlWatcher(value: string, old: string): void {\n if (value && value !== old) {\n if (this.view?.map) {\n this._updateMap();\n } else {\n this._loadMap();\n }\n }\n }\n\n @Prop({ mutable: true, reflect: true }) scale: number;\n\n @Watch(\"scale\")\n scaleWatcher(value: number, old: number): void {\n if (value != null && value !== old) {\n this.view.scale = value;\n }\n }\n\n @Prop({ mutable: true, reflect: true }) zoom: number;\n\n @Watch(\"zoom\")\n zoomWatcher(value: number, old: number): void {\n if (value != null && value !== old) {\n this.view.zoom = value;\n }\n }\n\n @Prop({ mutable: true, reflect: true }) center: number[] | string;\n\n @Prop({ mutable: true }) view: ArcGISSceneView;\n\n @Prop() disableNavigation = false;\n\n config: __esri.config;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) viewReady: EventEmitter<{ view: __esri.SceneView }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentWillLoad(): Promise<void> {\n this.config = await importConfig();\n if (this.apiKey) {\n this.config.apiKey = this.apiKey;\n }\n\n this._loadMap();\n }\n\n componentDidRender(): void {\n if (this.view) {\n this.view.container = this.el;\n }\n }\n\n disconnectedCallback(): void {\n this._clearWatchHandles();\n this.view.destroy();\n }\n\n render(): VNode {\n return <div class=\"arcgis-scene\" ref={(el) => (this.el = el!)}></div>;\n }\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private _clearWatchHandles(): void {\n this._watchHandles.forEach((handle) => handle.remove());\n this._watchHandles = [];\n }\n\n private async _addWatchers() {\n const { watch, when } = await importCoreReactiveUtils();\n\n this._watchHandles.push(\n watch(\n () => this.view.center,\n (center) => {\n const value = `${center.longitude},${center.latitude}`;\n this.center = value;\n }\n )\n );\n\n this._watchHandles.push(\n when(\n () => this.view.updating,\n () => {\n when(\n () => !this.view.updating,\n () => {\n if (this.zoom !== this.view.zoom) {\n this.zoom = this.view.zoom;\n }\n if (this.scale !== this.view.scale) {\n this.scale = this.view.scale;\n }\n },\n { once: true }\n );\n }\n )\n );\n }\n\n private async _createMap(): Promise<__esri.WebScene> {\n const mapParams: Partial<__esri.WebScene> = {};\n\n if (this.itemId) {\n mapParams.portalItem = this._createPortalItem() as any;\n }\n\n if (this.basemap) {\n mapParams.basemap = this.basemap as any;\n } else if (isNullOrEmptyString(this.itemId)) {\n mapParams.basemap = \"topo-vector\" as any;\n }\n\n const map = await newWebScene(mapParams);\n return map;\n }\n\n private _createPortalItem(): Partial<__esri.PortalItemProperties> {\n const item: Partial<__esri.PortalItemProperties> = {};\n\n if (this.itemId) {\n item.id = this.itemId;\n }\n if (this.portalUrl) {\n item.portal = {\n url: this.portalUrl\n } as Partial<__esri.PortalProperties>;\n }\n\n return item;\n }\n\n private _createViewParams(): Partial<__esri.SceneViewProperties> {\n const params: Partial<__esri.SceneViewProperties> = {};\n\n if (this.zoom !== undefined) {\n params.zoom = this.zoom;\n }\n\n if (this.scale !== undefined) {\n params.scale = this.scale;\n }\n\n if (this.center) {\n if (typeof this.center === \"string\") {\n params.center = this.center.split(\",\").map((x) => Number(x));\n } else {\n params.center = this.center;\n }\n }\n\n return params;\n }\n\n private async _loadMap(): Promise<void> {\n const map = await this._createMap();\n\n const params = this._createViewParams();\n\n const view = await newViewsSceneView({\n map,\n ...params\n });\n\n this.view = view;\n\n this._addWatchers();\n\n if (this.disableNavigation) {\n disableNavigation(this.view);\n }\n\n this.view.when(() => {\n this.viewReady.emit({ view: this.view });\n });\n }\n\n private async _updateMap(): Promise<void> {\n if (this.view?.map) {\n this.view.map.destroy();\n const map = await this._createMap();\n this.view.map = map;\n }\n }\n}\n"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as e,g as s}from"./p-dbc82e69.js";import{_ as h,i as n}from"./p-530503e3.js";import{r,c as a,a as d}from"./p-07e7d7b2.js";import{o as f}from"./p-4280d545.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){r(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});a(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-06dc39eb.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":"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"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-dbc82e69.js";import{t as n}from"./p-530503e3.js";import{r as h,c as r}from"./p-07e7d7b2.js";import{o as a}from"./p-4280d545.js";const c="";const o=class{constructor(e){t(this,e);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.position="bottom-left";this.expandable=false;this.unit=undefined;this.unitOptions=undefined;this.widget=undefined;this.view=undefined}referenceElementWatcher(t){h(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.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.view){t.view=this.view}if(this.unit){t.unit=this.unit}if(this.unitOptions){t.unitOptions=this.unitOptions}return t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],view:["viewWatcher"]}}};o.style=c;export{o as arcgis_distance_measurement_2d};
2
+ //# sourceMappingURL=p-07325369.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["distanceMeasurement2dCss","ArcgisDistanceMeasurement2d","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","positionWatcher","undefined","widget","view","ui","move","childElem","unitWatcher","value","unit","unitOptionsWatcher","unitOptions","viewWatcher","componentDidLoad","params","_createParams","newWidgetsDistanceMeasurement2D","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container"],"sources":["src/components/distance-measurement-2d/distance-measurement-2d.css?tag=arcgis-distance-measurement-2d","src/components/distance-measurement-2d/distance-measurement-2d.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsDistanceMeasurement2D } from \"@arcgis/core-adapter\";\nimport type DistanceMeasurement2D from \"@arcgis/core/widgets/DistanceMeasurement2D\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView } from \"../types\";\n\nexport type DistanceMeasurement2DWidget = InstanceType<typeof DistanceMeasurement2D>;\n\n@Component({\n tag: \"arcgis-distance-measurement-2d\",\n styleUrl: \"distance-measurement-2d.css\",\n shadow: false\n})\nexport class ArcgisDistanceMeasurement2d 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() unit: DistanceMeasurement2DWidget[\"unit\"];\n\n @Watch(\"unit\")\n unitWatcher(value: DistanceMeasurement2DWidget[\"unit\"]): void {\n if (this.widget) {\n this.widget.unit = value;\n }\n }\n\n @Prop() unitOptions: DistanceMeasurement2DWidget[\"unitOptions\"];\n\n @Watch(\"unitOptions\")\n unitOptionsWatcher(value: DistanceMeasurement2DWidget[\"unitOptions\"]): void {\n if (this.widget) {\n this.widget.unitOptions = value;\n }\n }\n\n @Prop({ mutable: true }) widget: DistanceMeasurement2DWidget;\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 _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.DistanceMeasurement2D }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsDistanceMeasurement2D(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<DistanceMeasurement2DWidget> {\n const params: Partial<DistanceMeasurement2DWidget> = {\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":"4KAAA,MAAMA,EAA2B,G,MCiBpBC,EAA2B,M,kEAkEtCC,KAAAC,cAAsC,G,8CAxCnB,c,gBASE,M,yFAbrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,eAAAE,CAAgBF,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKQ,KAAKC,GAAGC,KAAKV,KAAKW,UAAWR,E,EAStC,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,EAAgCF,GAErDnB,KAAKO,OAASA,EAEdP,KAAKsB,YAAYC,KAAK,CAAEhB,OAAQP,KAAKO,SAErCiB,EAAaxB,K,CAGf,oBAAAyB,GACEC,EAAqB1B,K,CAGvB,MAAA2B,GACE,GAAI3B,KAAK4B,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAU9B,KAAK8B,SAAUC,IAAMC,GAAQhC,KAAKiC,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQhC,KAAKW,UAAYqB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQhC,KAAKW,UAAYqB,G,CAQrC,aAAAZ,GACN,MAAMD,EAA+C,CACnDe,UAAWlC,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
+ function e(e){const i=e.el.closest("arcgis-expand")||e.expandElem;if(i?.widget){e.view=i.view;i.widget.content=e.childElem;if(!i.expandIcon){i.widget.expandIcon=e.widget.icon;i.widget.expandIconClass=e.widget.iconClass}return true}if(i){const n=()=>{i.removeEventListener("widgetReady",n,false);e.view=i.view;i.widget.content=e.childElem;if(!i.expandIcon){i.widget.expandIcon=e.widget.icon;i.widget.expandIconClass=e.widget.iconClass}};i.addEventListener("widgetReady",n,false);return true}return false}function i(e,i){if(Array.isArray(i)){e._watchHandles=[...e._watchHandles,...i]}else{e._watchHandles.push(i)}}function n(i){let n=false;if(!e(i)){let e=i.el.closest("arcgis-map")||i.el.closest("arcgis-scene");if(!e&&typeof i.referenceElement==="string"){e=document.querySelector(i.referenceElement);n=true}if(e?.view){i.view=e.view;const s=i.childElem||i.el;if(!n){i.view.ui.add(s,i.position)}}else if(e){t(e,i,n)}}else{const e=i.el.closest("arcgis-map")||i.el.closest("arcgis-scene");if(e?.view){i.view=e.view}else if(e){const n=()=>{e?.removeEventListener("viewReady",n,false);i.view=e?.view};e.addEventListener("viewReady",n,false)}}}function s(e){return e===undefined||e===null||e===""}async function f(e){const i=document.querySelector(e);return new Promise((e=>{if(i?.view!==undefined){e(i.view)}else if(i){const n=()=>{i.removeEventListener("viewReady",n,false);e(i.view)};i.addEventListener("viewReady",n,false)}}))}async function a(e,i){if(typeof i==="string"){e.view=await f(i)}else if(i!==undefined&&e.widget){e.view=i.view}return}function t(e,i,n){const s=()=>{e?.removeEventListener("viewReady",s,false);i.view=e?.view;if(!n){if(i.childElem){i.view?.ui.add(i.childElem,i.position)}else{i.view?.ui.add(i.el,i.position)}}};e.addEventListener("viewReady",s,false)}export{i as a,e as b,n as c,s as i,a as r};
2
+ //# sourceMappingURL=p-07e7d7b2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["checkForExpand","element","expandRef","el","closest","expandElem","widget","view","content","childElem","expandIcon","icon","expandIconClass","iconClass","widgetHandler","removeEventListener","addEventListener","addHandles","handle","Array","isArray","_watchHandles","push","checkForView","isDetached","viewRef","referenceElement","document","querySelector","ui","add","position","waitForViewHandler","handler","isNullOrEmptyString","value","undefined","async","updateForView","viewStr","Promise","resolve","referenceElementHelper","refElement"],"sources":["src/utils/expandable.ts","src/utils/component-utils.ts"],"sourcesContent":["import { WidgetElement } from \"./component-utils\";\n\nexport interface ExpandableComponent extends WidgetElement {\n expandable: boolean;\n expandIcon?: string;\n expandElem?: HTMLArcgisExpandElement;\n}\n\nexport function checkForExpand(element: WidgetElement | ExpandableComponent): boolean {\n const expandRef = element.el.closest(\"arcgis-expand\") || (element as ExpandableComponent).expandElem;\n if (expandRef?.widget) {\n element.view = expandRef.view;\n expandRef.widget.content = element.childElem as HTMLDivElement;\n // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next\n if (!expandRef.expandIcon) {\n expandRef.widget.expandIcon = element.widget.icon;\n expandRef.widget.expandIconClass = element.widget.iconClass;\n }\n return true;\n }\n if (expandRef) {\n const widgetHandler = () => {\n expandRef.removeEventListener(\"widgetReady\", widgetHandler, false);\n element.view = expandRef.view;\n expandRef.widget.content = element.childElem as HTMLDivElement;\n if (!expandRef.expandIcon) {\n expandRef.widget.expandIcon = element.widget.icon;\n expandRef.widget.expandIconClass = element.widget.iconClass;\n }\n };\n\n expandRef.addEventListener(\"widgetReady\", widgetHandler, false);\n return true;\n }\n return false;\n}\n","import { ArcGISMapView, ArcGISSceneView } from \"../components/types\";\nimport { checkForExpand, ExpandableComponent } from \"./expandable\";\n\nexport type ArcgisReferenceElement = HTMLArcgisMapElement | HTMLArcgisSceneElement;\n\nexport interface BaseComponentElement extends Partial<HTMLElement> {\n childElem: HTMLDivElement;\n referenceElement?: ArcgisReferenceElement | string;\n view?: ArcGISMapView | ArcGISSceneView;\n position: string;\n}\n\nexport interface WidgetElement extends BaseComponentElement {\n el: HTMLDivElement;\n widget: any;\n _watchHandles: __esri.WatchHandle[];\n}\n\nexport interface ViewElement extends Partial<HTMLElement> {\n el: HTMLDivElement;\n _hostElement?: HTMLArcgisMapElement | HTMLArcgisSceneElement;\n apiKey?: string;\n basemap?: string;\n itemId?: string;\n view?: ArcGISMapView | ArcGISSceneView;\n}\n\n//--------------------------------------------------------------------------\n//\n// Public Methods\n//\n//--------------------------------------------------------------------------\n\nexport function addHandles(element: WidgetElement, handle: __esri.WatchHandle | __esri.WatchHandle[]): void {\n if (Array.isArray(handle)) {\n element._watchHandles = [...element._watchHandles, ...handle];\n } else {\n element._watchHandles.push(handle);\n }\n}\n\nexport function checkForView(element: WidgetElement | ExpandableComponent): void {\n let isDetached = false;\n if (!checkForExpand(element)) {\n let viewRef: HTMLArcgisMapElement | HTMLArcgisSceneElement | null =\n element.el.closest(\"arcgis-map\") || element.el.closest(\"arcgis-scene\");\n\n if (!viewRef && typeof element.referenceElement === \"string\") {\n viewRef = document.querySelector(element.referenceElement) as\n | HTMLArcgisMapElement\n | HTMLArcgisSceneElement\n | null;\n isDetached = true;\n }\n\n if (viewRef?.view) {\n element.view = viewRef.view;\n const el = element.childElem || element.el;\n if (!isDetached) {\n element.view.ui.add(el, element.position);\n }\n } else if (viewRef) {\n waitForViewHandler(viewRef, element, isDetached);\n }\n } else {\n const viewRef: HTMLArcgisMapElement | HTMLArcgisSceneElement | null =\n element.el.closest(\"arcgis-map\") || element.el.closest(\"arcgis-scene\");\n\n if (viewRef?.view) {\n element.view = viewRef.view;\n } else if (viewRef) {\n const handler = () => {\n viewRef?.removeEventListener(\"viewReady\", handler, false);\n element.view = viewRef?.view;\n };\n viewRef.addEventListener(\"viewReady\", handler, false);\n }\n }\n}\n\nexport function isNullOrEmptyString(value: string): boolean {\n return value === undefined || value === null || value === \"\";\n}\n\nexport async function updateForView(viewStr: string): Promise<any> {\n const viewRef = document.querySelector(viewStr) as HTMLArcgisMapElement | HTMLArcgisSceneElement | null;\n return new Promise((resolve) => {\n if (viewRef?.view !== undefined) {\n resolve(viewRef.view);\n } else if (viewRef) {\n const handler = () => {\n viewRef.removeEventListener(\"viewReady\", handler, false);\n resolve(viewRef.view);\n };\n viewRef.addEventListener(\"viewReady\", handler, false);\n }\n });\n}\n\nexport async function referenceElementHelper(\n element: WidgetElement | ExpandableComponent,\n refElement: ArcgisReferenceElement | string\n): Promise<void> {\n if (typeof refElement === \"string\") {\n element.view = await updateForView(refElement);\n } else if (refElement !== undefined && element.widget) {\n element.view = refElement.view;\n }\n\n return;\n}\n\n//--------------------------------------------------------------------------\n//\n// Private Methods\n//\n//--------------------------------------------------------------------------\n\nfunction waitForViewHandler(\n viewRef: ArcgisReferenceElement,\n element: WidgetElement | ExpandableComponent,\n isDetached: boolean\n) {\n const handler = () => {\n viewRef?.removeEventListener(\"viewReady\", handler, false);\n element.view = viewRef?.view;\n if (!isDetached) {\n if (element.childElem) {\n element.view?.ui.add(element.childElem, element.position);\n } else {\n element.view?.ui.add(element.el, element.position);\n }\n }\n };\n viewRef.addEventListener(\"viewReady\", handler, false);\n}\n"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as s,g as e}from"./p-dbc82e69.js";import{q as h,r,i as a}from"./p-530503e3.js";import{r as n,i as c,c as d,a as f}from"./p-07e7d7b2.js";import{o}from"./p-4280d545.js";const u="";const l=class{constructor(s){t(this,s);this.widgetReady=i(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.apiKey=undefined;this.routeLayerItemId=undefined;this.lastRoute=undefined;this.layer=undefined;this.maxStops=undefined;this.searchProperties=undefined;this.unit=undefined;this.useDefaultRouteLayer=true;this.visibleElements=undefined;this.position="bottom-left";this.expandable=false;this.view=undefined;this.widget=undefined}referenceElementWatcher(t){n(this,t)}apiKeyWatcher(t){if(t&&this.widget){this.widget.apiKey=t}}routeLayerItemIdWatcher(t){if(c(t)){this.view?.map.remove(this.layer);if(this.useDefaultRouteLayer){h({}).then((t=>{this.layer=t}))}}else if(t&&this.widget){h({portalItem:{id:t}}).then((t=>{this.layer=t}))}}layerWatcher(t,i){if(i){this.view?.map.remove(i)}if(t&&this.widget){this.widget.layer=t;this.view?.map.add(this.layer)}else if(!t){this.widget.layer=null}}maxStopsWatcher(t){if(t!==undefined&&this.widget){this.widget.maxStops=t}}searchPropertiesWatcher(t){if(this.widget){this.widget.searchProperties=t}}unitWatcher(t){if(this.widget){this.widget.unit=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;if(this.layer){this.widget.view.map.add(this.layer)}}}async getDirections(){return this.widget?.getDirections()}async save(){return this.widget?.save()}async saveAs(t,i){return this.widget?.saveAs(t,i)}async zoomToRoute(){return this.widget?.zoomToRoute()}async componentDidLoad(){const t=await this._createParams();const i=await r(t);this.widget=i;await this._addWatchers();this.widgetReady.emit({widget:this.widget});d(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();f(this,t((()=>this.widget.lastRoute),(t=>this.lastRoute=t),{initial:true}))}async _createParams(){const t={container:this.childElem};if(this.view){t.view=this.view}if(this.apiKey){t.apiKey=this.apiKey}if(this.routeLayerItemId){t.layer=await h({portalItem:{id:this.routeLayerItemId}});this.layer=t.layer}else if(this.layer){t.layer=this.layer;this.layer=t.layer}else if(this.useDefaultRouteLayer){t.layer=await h({});this.layer=t.layer}if(this.layer!==undefined){this.view?.map.add(this.layer)}if(this.maxStops!==undefined){t.maxStops=this.maxStops}if(this.searchProperties){t.searchProperties=this.searchProperties}if(this.unit){t.unit=this.unit}if(this.visibleElements){t.visibleElements=this.visibleElements}return t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],apiKey:["apiKeyWatcher"],routeLayerItemId:["routeLayerItemIdWatcher"],layer:["layerWatcher"],maxStops:["maxStopsWatcher"],searchProperties:["searchPropertiesWatcher"],unit:["unitWatcher"],visibleElements:["visibleElementsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style=u;export{l as arcgis_directions};
2
+ //# sourceMappingURL=p-09b972be.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["directionsCss","ArcgisDirections","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","apiKeyWatcher","value","widget","apiKey","routeLayerItemIdWatcher","isNullOrEmptyString","view","map","remove","layer","useDefaultRouteLayer","newLayersRouteLayer","then","portalItem","id","layerWatcher","old","add","maxStopsWatcher","undefined","maxStops","searchPropertiesWatcher","searchProperties","unitWatcher","unit","visibleElementsWatcher","visibleElements","positionWatcher","ui","move","childElem","viewWatcher","getDirections","save","saveAs","options","zoomToRoute","componentDidLoad","params","_createParams","newWidgetsDirections","_addWatchers","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","watch","importCoreReactiveUtils","addHandles","lastRoute","initial","container","routeLayerItemId"],"sources":["src/components/directions/directions.css?tag=arcgis-directions","src/components/directions/directions.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, h, Method, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newLayersRouteLayer, newWidgetsDirections } from \"@arcgis/core-adapter\";\nimport type Directions from \"@arcgis/core/widgets/Directions\";\nimport {\n addHandles,\n ArcgisReferenceElement,\n checkForView,\n isNullOrEmptyString,\n referenceElementHelper\n} from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type DirectionsWidget = InstanceType<typeof Directions>;\n\n@Component({\n tag: \"arcgis-directions\",\n styleUrl: \"directions.css\",\n shadow: false\n})\nexport class ArcgisDirections 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() apiKey: string;\n\n @Watch(\"apiKey\")\n apiKeyWatcher(value: string): void {\n if (value && this.widget) {\n this.widget.apiKey = value;\n }\n }\n\n @Prop() routeLayerItemId: string;\n\n @Watch(\"routeLayerItemId\")\n routeLayerItemIdWatcher(value: string): void {\n if (isNullOrEmptyString(value)) {\n this.view?.map.remove(this.layer);\n // maintain a default route layer\n if (this.useDefaultRouteLayer) {\n newLayersRouteLayer({}).then((layer) => {\n this.layer = layer;\n });\n }\n } else if (value && this.widget) {\n newLayersRouteLayer({\n portalItem: {\n id: value\n } as any\n }).then((layer) => {\n this.layer = layer;\n });\n }\n }\n\n @Prop({ mutable: true }) lastRoute: DirectionsWidget[\"lastRoute\"];\n\n @Prop() layer: DirectionsWidget[\"layer\"];\n\n @Watch(\"layer\")\n layerWatcher(value: DirectionsWidget[\"layer\"], old: DirectionsWidget[\"layer\"]): void {\n if (old) {\n this.view?.map.remove(old);\n }\n if (value && this.widget) {\n this.widget.layer = value;\n this.view?.map.add(this.layer);\n } else if (!value) {\n this.widget.layer = null!;\n }\n }\n\n @Prop() maxStops: DirectionsWidget[\"maxStops\"];\n\n @Watch(\"maxStops\")\n maxStopsWatcher(value: DirectionsWidget[\"maxStops\"]): void {\n if (value !== undefined && this.widget) {\n this.widget.maxStops = value;\n }\n }\n\n @Prop() searchProperties: DirectionsWidget[\"searchProperties\"];\n\n @Watch(\"searchProperties\")\n searchPropertiesWatcher(value: DirectionsWidget[\"searchProperties\"]): void {\n if (this.widget) {\n this.widget.searchProperties = value;\n }\n }\n\n @Prop() unit: DirectionsWidget[\"unit\"];\n\n @Watch(\"unit\")\n unitWatcher(value: DirectionsWidget[\"unit\"]): void {\n if (this.widget) {\n this.widget.unit = value;\n }\n }\n\n @Prop() useDefaultRouteLayer: boolean = true;\n\n @Prop() visibleElements: DirectionsWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: DirectionsWidget[\"visibleElements\"]): void {\n if (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 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 if (this.layer) {\n this.widget.view.map.add(this.layer);\n }\n }\n }\n\n @Prop({ mutable: true }) widget: DirectionsWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Directions }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async getDirections(): Promise<__esri.RouteLayerSolveResult> {\n return this.widget?.getDirections();\n }\n\n @Method()\n async save(): Promise<__esri.PortalItem> {\n return this.widget?.save();\n }\n\n @Method()\n async saveAs(\n portalItem: Promise<__esri.PortalItem>,\n options: { folder: __esri.PortalFolder }\n ): Promise<__esri.PortalItem> {\n return this.widget?.saveAs(portalItem, options);\n }\n\n @Method()\n async zoomToRoute(): Promise<void> {\n return this.widget?.zoomToRoute();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = await this._createParams();\n\n const widget = await newWidgetsDirections(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.lastRoute,\n (value) => (this.lastRoute = value),\n {\n initial: true\n }\n )\n );\n }\n\n private async _createParams(): Promise<Partial<DirectionsWidget>> {\n const params: Partial<DirectionsWidget> = {\n container: this.childElem\n };\n\n if (this.view) {\n params.view = this.view;\n }\n\n if (this.apiKey) {\n params.apiKey = this.apiKey;\n }\n\n if (this.routeLayerItemId) {\n params.layer = await newLayersRouteLayer({\n portalItem: {\n id: this.routeLayerItemId\n }\n });\n this.layer = params.layer;\n } else if (this.layer) {\n params.layer = this.layer;\n this.layer = params.layer;\n } else if (this.useDefaultRouteLayer) {\n params.layer = await newLayersRouteLayer({});\n this.layer = params.layer;\n }\n\n if (this.layer !== undefined) {\n this.view?.map.add(this.layer);\n }\n\n if (this.maxStops !== undefined) {\n params.maxStops = this.maxStops;\n }\n\n if (this.searchProperties) {\n params.searchProperties = this.searchProperties;\n }\n\n if (this.unit) {\n params.unit = this.unit;\n }\n\n if (this.visibleElements) {\n params.visibleElements = this.visibleElements;\n }\n\n return params;\n }\n}\n"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as s,g as e}from"./p-dbc82e69.js";import{a0 as n}from"./p-530503e3.js";import{r as h,c as a}from"./p-07e7d7b2.js";import{o}from"./p-4280d545.js";const c="arcgis-utility-network-associations{}";const r=class{constructor(s){i(this,s);this.widgetReady=t(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.autoRefreshAssociations=undefined;this.connectivityAssociationsLineSymbol=undefined;this.includeConnectivityAssociations=undefined;this.includeStructuralAttachmentAssociations=undefined;this.maxAllowableAssociations=undefined;this.maxAllowableAssociationsSliderMax=undefined;this.maxAllowableAssociationsSliderMin=undefined;this.maxAllowableAssociationsSliderStep=undefined;this.showArrowsConnectivity=undefined;this.showArrowsStructuralAttachment=undefined;this.showAssociationsEnabled=undefined;this.structuralAttachmentAssociationsLineSymbol=undefined;this.utilityNetwork=undefined;this.visibleElements=undefined;this.view=undefined;this.position="bottom-left";this.expandable=false;this.widget=undefined}referenceElementWatcher(i){h(this,i)}autoRefreshAssociationsWatcher(i){if(i!==undefined&&this.widget){this.widget.autoRefreshAssociations=i}}connectivityAssociationsLineSymbolWatcher(i){if(this.widget){this.widget.connectivityAssociationsLineSymbol=i}}includeConnectivityAssociationsWatcher(i){if(i!==undefined&&this.widget){this.widget.includeConnectivityAssociations=i}}includeStructuralAttachmentAssociationsWatcher(i){if(i!==undefined&&this.widget){this.widget.includeStructuralAttachmentAssociations=i}}maxAllowableAssociationsWatcher(i){if(i!==undefined&&this.widget){this.widget.maxAllowableAssociations=i}}maxAllowableAssociationsSliderMaxWatcher(i){if(i!==undefined&&this.widget){this.widget.maxAllowableAssociationsSliderMax=i}}maxAllowableAssociationsSliderMinWatcher(i){if(i!==undefined&&this.widget){this.widget.maxAllowableAssociationsSliderMin=i}}maxAllowableAssociationsSliderStepWatcher(i){if(i!==undefined&&this.widget){this.widget.maxAllowableAssociationsSliderStep=i}}showArrowsConnectivityWatcher(i){if(i!==undefined&&this.widget){this.widget.showArrowsConnectivity=i}}showArrowsStructuralAttachmentWatcher(i){if(i!==undefined&&this.widget){this.widget.showArrowsStructuralAttachment=i}}showAssociationsEnabledWatcher(i){if(i!==undefined&&this.widget){this.widget.showAssociationsEnabled=i}}structuralAttachmentAssociationsLineSymbolWatcher(i){if(this.widget){this.widget.structuralAttachmentAssociationsLineSymbol=i}}utilityNetworkWatcher(i){if(this.widget){this.widget.utilityNetwork=i}}visibleElementsWatcher(i){if(this.widget){this.widget.visibleElements=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 componentDidLoad(){const i=this._createParams();const t=await n(i);this.widget=t;this.widgetReady.emit({widget:this.widget});a(this)}disconnectedCallback(){o(this)}render(){if(this.expandable){return s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i}))}return s("div",{ref:i=>this.childElem=i})}_createParams(){const i={container:this.childElem};if(this.autoRefreshAssociations!==undefined){i.autoRefreshAssociations=this.autoRefreshAssociations}if(this.connectivityAssociationsLineSymbol!==undefined){i.connectivityAssociationsLineSymbol=this.connectivityAssociationsLineSymbol}if(this.includeConnectivityAssociations!==undefined){i.includeConnectivityAssociations=this.includeConnectivityAssociations}if(this.includeStructuralAttachmentAssociations!==undefined){i.includeStructuralAttachmentAssociations=this.includeStructuralAttachmentAssociations}if(this.maxAllowableAssociations!==undefined){i.maxAllowableAssociations=this.maxAllowableAssociations}if(this.maxAllowableAssociationsSliderMax!==undefined){i.maxAllowableAssociationsSliderMax=this.maxAllowableAssociationsSliderMax}if(this.maxAllowableAssociationsSliderMin!==undefined){i.maxAllowableAssociationsSliderMin=this.maxAllowableAssociationsSliderMin}if(this.maxAllowableAssociationsSliderStep!==undefined){i.maxAllowableAssociationsSliderStep=this.maxAllowableAssociationsSliderStep}if(this.showArrowsConnectivity!==undefined){i.showArrowsConnectivity=this.showArrowsConnectivity}if(this.showArrowsStructuralAttachment!==undefined){i.showArrowsStructuralAttachment=this.showArrowsStructuralAttachment}if(this.showAssociationsEnabled!==undefined){i.showAssociationsEnabled=this.showAssociationsEnabled}if(this.structuralAttachmentAssociationsLineSymbol!==undefined){i.structuralAttachmentAssociationsLineSymbol=this.structuralAttachmentAssociationsLineSymbol}if(this.utilityNetwork!==undefined){i.utilityNetwork=this.utilityNetwork}if(this.visibleElements!==undefined){i.visibleElements=this.visibleElements}return i}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],autoRefreshAssociations:["autoRefreshAssociationsWatcher"],connectivityAssociationsLineSymbol:["connectivityAssociationsLineSymbolWatcher"],includeConnectivityAssociations:["includeConnectivityAssociationsWatcher"],includeStructuralAttachmentAssociations:["includeStructuralAttachmentAssociationsWatcher"],maxAllowableAssociations:["maxAllowableAssociationsWatcher"],maxAllowableAssociationsSliderMax:["maxAllowableAssociationsSliderMaxWatcher"],maxAllowableAssociationsSliderMin:["maxAllowableAssociationsSliderMinWatcher"],maxAllowableAssociationsSliderStep:["maxAllowableAssociationsSliderStepWatcher"],showArrowsConnectivity:["showArrowsConnectivityWatcher"],showArrowsStructuralAttachment:["showArrowsStructuralAttachmentWatcher"],showAssociationsEnabled:["showAssociationsEnabledWatcher"],structuralAttachmentAssociationsLineSymbol:["structuralAttachmentAssociationsLineSymbolWatcher"],utilityNetwork:["utilityNetworkWatcher"],visibleElements:["visibleElementsWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};r.style=c;export{r as arcgis_utility_network_associations};
2
+ //# sourceMappingURL=p-0e42e14b.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["utilityNetworkAssociationsCss","ArcgisUtilityNetworkAssociations","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","autoRefreshAssociationsWatcher","undefined","widget","autoRefreshAssociations","connectivityAssociationsLineSymbolWatcher","connectivityAssociationsLineSymbol","includeConnectivityAssociationsWatcher","includeConnectivityAssociations","includeStructuralAttachmentAssociationsWatcher","includeStructuralAttachmentAssociations","maxAllowableAssociationsWatcher","maxAllowableAssociations","maxAllowableAssociationsSliderMaxWatcher","maxAllowableAssociationsSliderMax","maxAllowableAssociationsSliderMinWatcher","maxAllowableAssociationsSliderMin","maxAllowableAssociationsSliderStepWatcher","maxAllowableAssociationsSliderStep","showArrowsConnectivityWatcher","showArrowsConnectivity","showArrowsStructuralAttachmentWatcher","showArrowsStructuralAttachment","showAssociationsEnabledWatcher","showAssociationsEnabled","structuralAttachmentAssociationsLineSymbolWatcher","structuralAttachmentAssociationsLineSymbol","utilityNetworkWatcher","utilityNetwork","visibleElementsWatcher","visibleElements","viewWatcher","view","positionWatcher","ui","move","childElem","componentDidLoad","params","_createParams","newWidgetsUtilityNetworkAssociations","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container"],"sources":["src/components/utility-network-associations/utility-network-associations.css?tag=arcgis-utility-network-associations","src/components/utility-network-associations/utility-network-associations.tsx"],"sourcesContent":["arcgis-utility-network-associations {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsUtilityNetworkAssociations } from \"@arcgis/core-adapter\";\nimport type UtilityNetworkAssociations from \"@arcgis/core/widgets/UtilityNetworkAssociations\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISMapView } from \"../types\";\n\nexport type UtilityNetworkAssociationsWidget = InstanceType<typeof UtilityNetworkAssociations>;\n\n@Component({\n tag: \"arcgis-utility-network-associations\",\n styleUrl: \"utility-network-associations.css\"\n})\nexport class ArcgisUtilityNetworkAssociations 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() autoRefreshAssociations: UtilityNetworkAssociationsWidget[\"autoRefreshAssociations\"];\n\n @Watch(\"autoRefreshAssociations\")\n autoRefreshAssociationsWatcher(newValue: UtilityNetworkAssociationsWidget[\"autoRefreshAssociations\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.autoRefreshAssociations = newValue;\n }\n }\n\n @Prop() connectivityAssociationsLineSymbol: UtilityNetworkAssociationsWidget[\"connectivityAssociationsLineSymbol\"];\n\n @Watch(\"connectivityAssociationsLineSymbol\")\n connectivityAssociationsLineSymbolWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"connectivityAssociationsLineSymbol\"]\n ): void {\n if (this.widget) {\n this.widget.connectivityAssociationsLineSymbol = newValue;\n }\n }\n\n @Prop() includeConnectivityAssociations: UtilityNetworkAssociationsWidget[\"includeConnectivityAssociations\"];\n\n @Watch(\"includeConnectivityAssociations\")\n includeConnectivityAssociationsWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"includeConnectivityAssociations\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.includeConnectivityAssociations = newValue;\n }\n }\n\n @Prop()\n includeStructuralAttachmentAssociations: UtilityNetworkAssociationsWidget[\"includeStructuralAttachmentAssociations\"];\n\n @Watch(\"includeStructuralAttachmentAssociations\")\n includeStructuralAttachmentAssociationsWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"includeStructuralAttachmentAssociations\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.includeStructuralAttachmentAssociations = newValue;\n }\n }\n\n @Prop() maxAllowableAssociations: UtilityNetworkAssociationsWidget[\"maxAllowableAssociations\"];\n\n @Watch(\"maxAllowableAssociations\")\n maxAllowableAssociationsWatcher(newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociations\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociations = newValue;\n }\n }\n\n @Prop() maxAllowableAssociationsSliderMax: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMax\"];\n\n @Watch(\"maxAllowableAssociationsSliderMax\")\n maxAllowableAssociationsSliderMaxWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMax\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociationsSliderMax = newValue;\n }\n }\n\n @Prop() maxAllowableAssociationsSliderMin: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMin\"];\n\n @Watch(\"maxAllowableAssociationsSliderMin\")\n maxAllowableAssociationsSliderMinWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderMin\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociationsSliderMin = newValue;\n }\n }\n\n @Prop() maxAllowableAssociationsSliderStep: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderStep\"];\n\n @Watch(\"maxAllowableAssociationsSliderStep\")\n maxAllowableAssociationsSliderStepWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"maxAllowableAssociationsSliderStep\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.maxAllowableAssociationsSliderStep = newValue;\n }\n }\n\n @Prop() showArrowsConnectivity: UtilityNetworkAssociationsWidget[\"showArrowsConnectivity\"];\n\n @Watch(\"showArrowsConnectivity\")\n showArrowsConnectivityWatcher(newValue: UtilityNetworkAssociationsWidget[\"showArrowsConnectivity\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showArrowsConnectivity = newValue;\n }\n }\n\n @Prop() showArrowsStructuralAttachment: UtilityNetworkAssociationsWidget[\"showArrowsStructuralAttachment\"];\n\n @Watch(\"showArrowsStructuralAttachment\")\n showArrowsStructuralAttachmentWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"showArrowsStructuralAttachment\"]\n ): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showArrowsStructuralAttachment = newValue;\n }\n }\n\n @Prop() showAssociationsEnabled: UtilityNetworkAssociationsWidget[\"showAssociationsEnabled\"];\n\n @Watch(\"showAssociationsEnabled\")\n showAssociationsEnabledWatcher(newValue: UtilityNetworkAssociationsWidget[\"showAssociationsEnabled\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showAssociationsEnabled = newValue;\n }\n }\n\n @Prop()\n structuralAttachmentAssociationsLineSymbol: UtilityNetworkAssociationsWidget[\"structuralAttachmentAssociationsLineSymbol\"];\n\n @Watch(\"structuralAttachmentAssociationsLineSymbol\")\n structuralAttachmentAssociationsLineSymbolWatcher(\n newValue: UtilityNetworkAssociationsWidget[\"structuralAttachmentAssociationsLineSymbol\"]\n ): void {\n if (this.widget) {\n this.widget.structuralAttachmentAssociationsLineSymbol = newValue;\n }\n }\n\n @Prop() utilityNetwork: UtilityNetworkAssociationsWidget[\"utilityNetwork\"];\n\n @Watch(\"utilityNetwork\")\n utilityNetworkWatcher(newValue: UtilityNetworkAssociationsWidget[\"utilityNetwork\"]): void {\n if (this.widget) {\n this.widget.utilityNetwork = newValue;\n }\n }\n\n @Prop() visibleElements: UtilityNetworkAssociationsWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: UtilityNetworkAssociationsWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = newValue;\n }\n }\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() 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: UtilityNetworkAssociationsWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.UtilityNetworkAssociations }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsUtilityNetworkAssociations(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<UtilityNetworkAssociationsWidget> {\n const params: Partial<UtilityNetworkAssociationsWidget> = {\n container: this.childElem\n };\n\n if (this.autoRefreshAssociations !== undefined) {\n params.autoRefreshAssociations = this.autoRefreshAssociations;\n }\n\n if (this.connectivityAssociationsLineSymbol !== undefined) {\n params.connectivityAssociationsLineSymbol = this.connectivityAssociationsLineSymbol;\n }\n\n if (this.includeConnectivityAssociations !== undefined) {\n params.includeConnectivityAssociations = this.includeConnectivityAssociations;\n }\n\n if (this.includeStructuralAttachmentAssociations !== undefined) {\n params.includeStructuralAttachmentAssociations = this.includeStructuralAttachmentAssociations;\n }\n\n if (this.maxAllowableAssociations !== undefined) {\n params.maxAllowableAssociations = this.maxAllowableAssociations;\n }\n\n if (this.maxAllowableAssociationsSliderMax !== undefined) {\n params.maxAllowableAssociationsSliderMax = this.maxAllowableAssociationsSliderMax;\n }\n\n if (this.maxAllowableAssociationsSliderMin !== undefined) {\n params.maxAllowableAssociationsSliderMin = this.maxAllowableAssociationsSliderMin;\n }\n\n if (this.maxAllowableAssociationsSliderStep !== undefined) {\n params.maxAllowableAssociationsSliderStep = this.maxAllowableAssociationsSliderStep;\n }\n\n if (this.showArrowsConnectivity !== undefined) {\n params.showArrowsConnectivity = this.showArrowsConnectivity;\n }\n\n if (this.showArrowsStructuralAttachment !== undefined) {\n params.showArrowsStructuralAttachment = this.showArrowsStructuralAttachment;\n }\n\n if (this.showAssociationsEnabled !== undefined) {\n params.showAssociationsEnabled = this.showAssociationsEnabled;\n }\n\n if (this.structuralAttachmentAssociationsLineSymbol !== undefined) {\n params.structuralAttachmentAssociationsLineSymbol = this.structuralAttachmentAssociationsLineSymbol;\n }\n\n if (this.utilityNetwork !== undefined) {\n params.utilityNetwork = this.utilityNetwork;\n }\n\n if (this.visibleElements !== undefined) {\n params.visibleElements = this.visibleElements;\n }\n\n return params;\n }\n}\n"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,g as s}from"./p-dbc82e69.js";import{C as h}from"./p-530503e3.js";import{r as n,c as r}from"./p-07e7d7b2.js";import{o as a}from"./p-4280d545.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-14f542a3.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 t,c as e,h as i,g as s}from"./p-dbc82e69.js";import{a4 as r}from"./p-530503e3.js";import{r as h,c as n}from"./p-07e7d7b2.js";import{o as a}from"./p-4280d545.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-181101b2.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["weatherCss","ArcgisWeather","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","positionWatcher","undefined","widget","view","ui","move","childElem","viewWatcher","visibleElementsWatcher","value","visibleElements","componentDidLoad","params","_createParams","newWidgetsWeather","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container"],"sources":["src/components/weather/weather.css?tag=arcgis-weather","src/components/weather/weather.tsx"],"sourcesContent":[null,"import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsWeather } from \"@arcgis/core-adapter\";\nimport type Weather from \"@arcgis/core/widgets/Weather\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISSceneView } from \"../types\";\n\nexport type WeatherWidget = InstanceType<typeof Weather>;\n\n@Component({\n tag: \"arcgis-weather\",\n styleUrl: \"weather.css\",\n shadow: false\n})\nexport class ArcgisWeather 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() 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: 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() visibleElements: WeatherWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(value: WeatherWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = value;\n }\n }\n\n @Prop({ mutable: true }) widget: WeatherWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Weather }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsWeather(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<WeatherWidget> {\n const params: Partial<WeatherWidget> = {\n container: this.childElem\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":"6KAAA,MAAMA,EAAa,G,MCiBNC,EAAa,M,kEAyDxBC,KAAAC,cAAsC,G,8CA/BnB,c,gBASE,M,yEAbrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,eAAAE,CAAgBF,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKQ,KAAKC,GAAGC,KAAKV,KAAKW,UAAWR,E,EAStC,WAAAS,CAAYT,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOC,KAAOL,C,EAOvB,sBAAAU,CAAuBC,GACrB,GAAId,KAAKO,OAAQ,CACfP,KAAKO,OAAOQ,gBAAkBD,C,EAsBlC,sBAAME,GACJ,MAAMC,EAASjB,KAAKkB,gBAEpB,MAAMX,QAAeY,EAAkBF,GAEvCjB,KAAKO,OAASA,EAEdP,KAAKoB,YAAYC,KAAK,CAAEd,OAAQP,KAAKO,SAErCe,EAAatB,K,CAGf,oBAAAuB,GACEC,EAAqBxB,K,CAGvB,MAAAyB,GACE,GAAIzB,KAAK0B,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAU5B,KAAK4B,SAAUC,IAAMC,GAAQ9B,KAAK+B,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQ9B,KAAKW,UAAYmB,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQ9B,KAAKW,UAAYmB,G,CAQrC,aAAAZ,GACN,MAAMD,EAAiC,CACrCe,UAAWhC,KAAKW,WAGlB,GAAIX,KAAKe,gBAAiB,CACxBE,EAAOF,gBAAkBf,KAAKe,e,CAGhC,GAAIf,KAAKQ,KAAM,CACbS,EAAOT,KAAOR,KAAKQ,I,CAGrB,OAAOS,C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,g as s}from"./p-dbc82e69.js";import{T as r}from"./p-530503e3.js";import{r as h,c as n}from"./p-07e7d7b2.js";import{o as a}from"./p-4280d545.js";const c="arcgis-shadow-cast{}";const o=class{constructor(i){t(this,i);this.widgetReady=e(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.view=undefined;this.visibleElements=undefined;this.position="bottom-left";this.expandable=false;this.widget=undefined}referenceElementWatcher(t){h(this,t)}viewWatcher(t){if(t!==undefined&&this.widget){this.widget.view=t}}visibleElementsWatcher(t){if(this.widget){this.widget.visibleElements=t}}positionWatcher(t){if(t!==undefined&&this.widget){this.view.ui.move(this.childElem,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"],view:["viewWatcher"],visibleElements:["visibleElementsWatcher"],position:["positionWatcher"]}}};o.style=c;export{o as arcgis_shadow_cast};
2
+ //# sourceMappingURL=p-1aa22ffc.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["shadowCastCss","ArcgisShadowCast","this","_watchHandles","referenceElementWatcher","newValue","referenceElementHelper","viewWatcher","undefined","widget","view","visibleElementsWatcher","value","visibleElements","positionWatcher","ui","move","childElem","componentDidLoad","params","_createParams","newWidgetsShadowCast","widgetReady","emit","checkForView","disconnectedCallback","onDisconnectedHelper","render","expandable","h","position","ref","el","expandElem","container"],"sources":["src/components/shadow-cast/shadow-cast.css?tag=arcgis-shadow-cast","src/components/shadow-cast/shadow-cast.tsx"],"sourcesContent":["arcgis-shadow-cast {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsShadowCast } from \"@arcgis/core-adapter\";\nimport type ShadowCast from \"@arcgis/core/widgets/ShadowCast\";\nimport { ArcgisReferenceElement, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ExpandableComponent } from \"../../utils/expandable\";\nimport { ArcGISSceneView } from \"../types\";\n\nexport type ShadowCastWidget = InstanceType<typeof ShadowCast>;\n\n@Component({\n tag: \"arcgis-shadow-cast\",\n styleUrl: \"shadow-cast.css\"\n})\nexport class ArcgisShadowCast 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 }) 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() visibleElements: ShadowCastWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(value: ShadowCastWidget[\"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 }) widget: ShadowCastWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.ShadowCast }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsShadowCast(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<ShadowCastWidget> {\n const params: Partial<ShadowCastWidget> = {\n container: this.childElem\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":"4KAAA,MAAMA,EAAgB,uB,MCgBTC,EAAgB,M,kEAyD3BC,KAAAC,cAAsC,G,iGAbnB,c,gBASE,M,sBA/BrB,uBAAAC,CAAwBC,GACtBC,EAAuBJ,KAAMG,E,CAM/B,WAAAE,CAAYF,GACV,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKO,OAAOC,KAAOL,C,EAOvB,sBAAAM,CAAuBC,GACrB,GAAIV,KAAKO,OAAQ,CACfP,KAAKO,OAAOI,gBAAkBD,C,EAOlC,eAAAE,CAAgBT,GACd,GAAIA,IAAaG,WAAaN,KAAKO,OAAQ,CACzCP,KAAKQ,KAAKK,GAAGC,KAAKd,KAAKe,UAAWZ,E,EAwBtC,sBAAMa,GACJ,MAAMC,EAASjB,KAAKkB,gBAEpB,MAAMX,QAAeY,EAAqBF,GAE1CjB,KAAKO,OAASA,EAEdP,KAAKoB,YAAYC,KAAK,CAAEd,OAAQP,KAAKO,SAErCe,EAAatB,K,CAGf,oBAAAuB,GACEC,EAAqBxB,K,CAGvB,MAAAyB,GACE,GAAIzB,KAAK0B,WAAY,CACnB,OACEC,EAAA,iBAAeC,SAAU5B,KAAK4B,SAAUC,IAAMC,GAAQ9B,KAAK+B,WAAaD,GACtEH,EAAA,OAAKE,IAAMC,GAAQ9B,KAAKe,UAAYe,I,CAI1C,OAAOH,EAAA,OAAKE,IAAMC,GAAQ9B,KAAKe,UAAYe,G,CAQrC,aAAAZ,GACN,MAAMD,EAAoC,CACxCe,UAAWhC,KAAKe,WAGlB,GAAIf,KAAKW,gBAAiB,CACxBM,EAAON,gBAAkBX,KAAKW,e,CAGhC,GAAIX,KAAKQ,KAAM,CACbS,EAAOT,KAAOR,KAAKQ,I,CAGrB,OAAOS,C"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,h as i,g as s}from"./p-dbc82e69.js";import{a5 as r}from"./p-530503e3.js";import{r as n,c as h}from"./p-07e7d7b2.js";import{o}from"./p-4280d545.js";const a="arcgis-zoom{}";const c=class{constructor(i){t(this,i);this.widgetReady=e(this,"widgetReady",7);this._watchHandles=[];this.referenceElement=undefined;this.layout=undefined;this.view=undefined;this.position="bottom-left";this.widget=undefined}referenceElementWatcher(t){n(this,t)}layoutWatcher(t){if(this.widget){this.widget.layout=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 zoomIn(){return this.widget?.zoomIn()}async zoomOut(){return this.widget?.zoomOut()}async componentDidLoad(){const t=this._createParams();const e=await r(t);this.widget=e;this.widgetReady.emit({widget:this.widget});h(this)}disconnectedCallback(){o(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};if(this.layout){t.layout=this.layout}if(this.view){t.view=this.view}return t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],layout:["layoutWatcher"],view:["viewWatcher"],position:["positionWatcher"]}}};c.style=a;export{c as arcgis_zoom};
2
+ //# sourceMappingURL=p-1ed5d647.entry.js.map