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

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
@@ -0,0 +1 @@
1
+ {"file":"arcgis-utility-network-trace.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,sBAAsB,GAAG,EAAE;;MCiBpB,yBAAyB;;;;;;;IAyHpC,kBAAa,GAAyB,EAAE,CAAC;;;;;;;;;;oBAtBtB,aAAa;sBASX,KAAK;;;;EArF1B,uBAAuB,CAAC,QAAyC;IAC/DA,qCAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;GACxC;EAKD,0BAA0B,CAAC,QAA0D;IACnF,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,mBAAmB,GAAG,QAAQ,CAAC;KAC5C;GACF;EAKD,YAAY,CAAC,QAA4C;IACvD,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,QAAQ,CAAC;KAC9B;GACF;EAKD,iBAAiB,CAAC,QAAiD;IACjE,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;KACnC;GACF;EAKD,oBAAoB,CAAC,QAAoD;IACvE,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,aAAa,GAAG,QAAQ,CAAC;KACtC;GACF;EAKD,qBAAqB,CAAC,QAAqD;IACzE,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,cAAc,GAAG,QAAQ,CAAC;KACvC;GACF;EAKD,uBAAuB,CAAC,QAAuD;IAC7E,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;MACzC,IAAI,CAAC,MAAM,CAAC,gBA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CAAC,sBAAsB,CAAC;KAC7D;IAED,IAAI,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE;MAC9C,MAAM,CAAC,uBAAuB,GAAG,IAAI,CAAC,uBAAuB,CAAC;KAC/D;IAED,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;KACzB;IAED,OAAO,MAAM,CAAC;GACf;EAEO,YAAY;IAClB,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;GACzE;;;;;;;;;;;;;;;;;;;;","names":["referenceElementHelper","newWidgetsUtilityNetworkTrace","checkForView","onDisconnectedHelper","h"],"sources":["src/components/utility-network-trace/utility-network-trace.css?tag=arcgis-utility-network-trace","src/components/utility-network-trace/utility-network-trace.tsx"],"sourcesContent":["","import { Component, Element, Event, EventEmitter, Method, Prop, VNode, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsUtilityNetworkTrace } from \"@arcgis/core-adapter\";\nimport type UtilityNetworkTrace from \"@arcgis/core/widgets/UtilityNetworkTrace\";\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 UtilityNetworkTraceWidget = InstanceType<typeof UtilityNetworkTrace>;\n\n@Component({\n tag: \"arcgis-utility-network-trace\",\n styleUrl: \"utility-network-trace.css\",\n shadow: false\n})\nexport class ArcgisUtilityNetworkTrace implements ExpandableComponent {\n //--------------------------------------------------------------------------\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() defaultGraphicColor: UtilityNetworkTraceWidget[\"defaultGraphicColor\"];\n\n @Watch(\"defaultGraphicColor\")\n defaultGraphicColorWatcher(newValue: UtilityNetworkTraceWidget[\"defaultGraphicColor\"]): void {\n if (this.widget) {\n this.widget.defaultGraphicColor = newValue;\n }\n }\n\n @Prop() flags: UtilityNetworkTraceWidget[\"flags\"];\n\n @Watch(\"flags\")\n flagsWatcher(newValue: UtilityNetworkTraceWidget[\"flags\"]): void {\n if (this.widget) {\n this.widget.flags = newValue;\n }\n }\n\n @Prop() gdbVersion: UtilityNetworkTraceWidget[\"gdbVersion\"];\n\n @Watch(\"gdbVersion\")\n gdbVersionWatcher(newValue: UtilityNetworkTraceWidget[\"gdbVersion\"]): void {\n if (this.widget) {\n this.widget.gdbVersion = newValue;\n }\n }\n\n @Prop() inputSettings: UtilityNetworkTraceWidget[\"inputSettings\"];\n\n @Watch(\"inputSettings\")\n inputSettingsWatcher(newValue: UtilityNetworkTraceWidget[\"inputSettings\"]): void {\n if (this.widget) {\n this.widget.inputSettings = newValue;\n }\n }\n\n @Prop() selectedTraces: UtilityNetworkTraceWidget[\"selectedTraces\"];\n\n @Watch(\"selectedTraces\")\n selectedTracesWatcher(newValue: UtilityNetworkTraceWidget[\"selectedTraces\"]): void {\n if (this.widget) {\n this.widget.selectedTraces = newValue;\n }\n }\n\n @Prop() selectOnComplete: UtilityNetworkTraceWidget[\"selectOnComplete\"];\n\n @Watch(\"selectOnComplete\")\n selectOnCompleteWatcher(newValue: UtilityNetworkTraceWidget[\"selectOnComplete\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.selectOnComplete = newValue;\n }\n }\n\n @Prop() showGraphicsOnComplete: UtilityNetworkTraceWidget[\"showGraphicsOnComplete\"];\n\n @Watch(\"showGraphicsOnComplete\")\n showGraphicsOnCompleteWatcher(newValue: UtilityNetworkTraceWidget[\"showGraphicsOnComplete\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showGraphicsOnComplete = newValue;\n }\n }\n\n @Prop() showSelectionAttributes: UtilityNetworkTraceWidget[\"showSelectionAttributes\"];\n\n @Watch(\"showSelectionAttributes\")\n showSelectionAttributesWatcher(newValue: UtilityNetworkTraceWidget[\"showSelectionAttributes\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.showSelectionAttributes = 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;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: UtilityNetworkTraceWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) traceAddFlag: EventEmitter<__esri.UtilityNetworkTraceAddFlagEvent>;\n @Event({ cancelable: true }) traceAddFlagComplete: EventEmitter<__esri.UtilityNetworkTraceAddFlagCompleteEvent>;\n @Event({ cancelable: true }) traceAddFlagError: EventEmitter<__esri.UtilityNetworkTraceAddFlagErrorEvent>;\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.UtilityNetworkTrace }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async checkCanTrace(): Promise<void> {\n return this.widget?.checkCanTrace();\n }\n\n @Method()\n async confirmReset(): Promise<void> {\n return this.widget?.confirmReset();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsUtilityNetworkTrace(params);\n\n this.widget = widget;\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n 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<UtilityNetworkTraceWidget> {\n const params: Partial<UtilityNetworkTraceWidget> = {\n container: this.childElem\n };\n\n if (this.defaultGraphicColor) {\n params.defaultGraphicColor = this.defaultGraphicColor;\n }\n\n if (this.flags) {\n params.flags = this.flags;\n }\n\n if (this.gdbVersion) {\n params.gdbVersion = this.gdbVersion;\n }\n\n if (this.inputSettings) {\n params.inputSettings = this.inputSettings;\n }\n\n if (this.selectedTraces) {\n params.selectedTraces = this.selectedTraces;\n }\n\n if (this.selectOnComplete !== undefined) {\n params.selectOnComplete = this.selectOnComplete;\n }\n\n if (this.showGraphicsOnComplete !== undefined) {\n params.showGraphicsOnComplete = this.showGraphicsOnComplete;\n }\n\n if (this.showSelectionAttributes !== undefined) {\n params.showSelectionAttributes = this.showSelectionAttributes;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"add-flag\", (e) => this.traceAddFlag.emit(e));\n this.widget.on(\"add-flag-complete\", (e) => this.traceAddFlagComplete.emit(e));\n this.widget.on(\"add-flag-error\", (e) => this.traceAddFlagError.emit(e));\n }\n}\n"],"version":3}
@@ -2,17 +2,18 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-bfda1cdc.js');
7
- const componentUtils = require('./component-utils-cbd20e88.js');
8
- const disconnected = require('./disconnected-306cb220.js');
5
+ const index = require('./index-f95f0426.js');
6
+ const index$1 = require('./index-3c85172f.js');
7
+ const componentUtils = require('./component-utils-70169d9c.js');
8
+ const disconnected = require('./disconnected-efe16c70.js');
9
9
 
10
- const arcgisUtilityNetworkValidateTopologyCss = "arcgis-utility-network-validate-topology{}";
10
+ const utilityNetworkValidateTopologyCss = "arcgis-utility-network-validate-topology{}";
11
11
 
12
12
  const ArcgisUtilityNetworkValidateTopology = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
15
  this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this._watchHandles = [];
16
17
  this.referenceElement = undefined;
17
18
  this.extentToValidate = undefined;
18
19
  this.utilityNetwork = undefined;
@@ -21,43 +22,29 @@ const ArcgisUtilityNetworkValidateTopology = class {
21
22
  this.expandable = false;
22
23
  this.widget = undefined;
23
24
  }
24
- //--------------------------------------------------------------------------
25
- //
26
- // Watchers
27
- //
28
- //--------------------------------------------------------------------------
29
- positionWatcher(newValue) {
30
- if (newValue !== undefined && this.widget) {
31
- if (typeof this.view !== "string") {
32
- this.view.ui.move(this.childElem, newValue);
33
- }
34
- }
25
+ referenceElementWatcher(newValue) {
26
+ componentUtils.referenceElementHelper(this, newValue);
35
27
  }
36
28
  extentToValidateWatcher(newValue) {
37
- if (newValue !== undefined && this.widget) {
29
+ if (this.widget) {
38
30
  this.widget.extentToValidate = newValue;
39
31
  }
40
32
  }
41
33
  utilityNetworkWatcher(newValue) {
42
- if (newValue !== undefined && this.widget) {
34
+ if (this.widget) {
43
35
  this.widget.utilityNetwork = newValue;
44
36
  }
45
37
  }
46
- referenceElementWatcher(newValue) {
47
- if (typeof newValue === "string") {
48
- componentUtils.updateForView(newValue).then((view) => {
49
- this.widget.view = view;
50
- });
51
- }
52
- else if (newValue !== undefined && this.widget) {
53
- this.widget.view = newValue.view;
54
- }
55
- }
56
38
  viewWatcher(newValue) {
57
39
  if (newValue !== undefined && this.widget) {
58
40
  this.widget.view = newValue;
59
41
  }
60
42
  }
43
+ positionWatcher(newValue) {
44
+ if (newValue !== undefined && this.widget) {
45
+ this.view.ui.move(this.childElem, newValue);
46
+ }
47
+ }
61
48
  //--------------------------------------------------------------------------
62
49
  //
63
50
  // Lifecycle
@@ -98,13 +85,15 @@ const ArcgisUtilityNetworkValidateTopology = class {
98
85
  }
99
86
  get el() { return index.getElement(this); }
100
87
  static get watchers() { return {
101
- "position": ["positionWatcher"],
88
+ "referenceElement": ["referenceElementWatcher"],
102
89
  "extentToValidate": ["extentToValidateWatcher"],
103
90
  "utilityNetwork": ["utilityNetworkWatcher"],
104
- "referenceElement": ["referenceElementWatcher"],
105
- "view": ["viewWatcher"]
91
+ "view": ["viewWatcher"],
92
+ "position": ["positionWatcher"]
106
93
  }; }
107
94
  };
108
- ArcgisUtilityNetworkValidateTopology.style = arcgisUtilityNetworkValidateTopologyCss;
95
+ ArcgisUtilityNetworkValidateTopology.style = utilityNetworkValidateTopologyCss;
109
96
 
110
97
  exports.arcgis_utility_network_validate_topology = ArcgisUtilityNetworkValidateTopology;
98
+
99
+ //# sourceMappingURL=arcgis-utility-network-validate-topology.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"arcgis-utility-network-validate-topology.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,iCAAiC,GAAG,4CAA4C;;MCgBzE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C,2BAAe,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,GAAG,EAA6B,CAAC,IACpGA,iBAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAoB,CAAC,GAAQ,CACnD,EAChB;KACH;IACD,OAAOA,iBAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAoB,CAAC,GAAQ,CAAC;GAC1E;;;;;;EAQO,aAAa;IACnB,MAAM,MAAM,GAAkD;MAC5D,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC;IAEF,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,EAAE;MACvC,MAAM,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;KACjD;IAED,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,EAAE;MACrC,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;KAC7C;IAED,OAAO,MAAM,CAAC;GACf;;;;;;;;;;;;;;","names":["referenceElementHelper","newWidgetsUtilityNetworkValidateTopology","checkForView","onDisconnectedHelper","h"],"sources":["src/components/utility-network-validate-topology/utility-network-validate-topology.css?tag=arcgis-utility-network-validate-topology","src/components/utility-network-validate-topology/utility-network-validate-topology.tsx"],"sourcesContent":["arcgis-utility-network-validate-topology {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsUtilityNetworkValidateTopology } from \"@arcgis/core-adapter\";\nimport type UtilityNetworkValidateTopology from \"@arcgis/core/widgets/UtilityNetworkValidateTopology\";\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 UtilityNetworkValidateTopologyWidget = InstanceType<typeof UtilityNetworkValidateTopology>;\n\n@Component({\n tag: \"arcgis-utility-network-validate-topology\",\n styleUrl: \"utility-network-validate-topology.css\"\n})\nexport class ArcgisUtilityNetworkValidateTopology 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() extentToValidate: UtilityNetworkValidateTopologyWidget[\"extentToValidate\"];\n\n @Watch(\"extentToValidate\")\n extentToValidateWatcher(newValue: UtilityNetworkValidateTopologyWidget[\"extentToValidate\"]): void {\n if (this.widget) {\n this.widget.extentToValidate = newValue;\n }\n }\n\n @Prop() utilityNetwork: UtilityNetworkValidateTopologyWidget[\"utilityNetwork\"];\n\n @Watch(\"utilityNetwork\")\n utilityNetworkWatcher(newValue: UtilityNetworkValidateTopologyWidget[\"utilityNetwork\"]): void {\n if (this.widget) {\n this.widget.utilityNetwork = 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: UtilityNetworkValidateTopologyWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.UtilityNetworkValidateTopology }>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsUtilityNetworkValidateTopology(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<UtilityNetworkValidateTopologyWidget> {\n const params: Partial<UtilityNetworkValidateTopologyWidget> = {\n container: this.childElem\n };\n\n if (this.extentToValidate !== undefined) {\n params.extentToValidate = this.extentToValidate;\n }\n\n if (this.utilityNetwork !== undefined) {\n params.utilityNetwork = this.utilityNetwork;\n }\n\n return params;\n }\n}\n"],"version":3}
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-bfda1cdc.js');
7
- const componentUtils = require('./component-utils-cbd20e88.js');
8
- const disconnected = require('./disconnected-306cb220.js');
5
+ const index = require('./index-f95f0426.js');
6
+ const index$1 = require('./index-3c85172f.js');
7
+ const componentUtils = require('./component-utils-70169d9c.js');
8
+ const disconnected = require('./disconnected-efe16c70.js');
9
9
 
10
- const arcgisValuePickerCss = "arcgis-value-picker{}";
10
+ const valuePickerCss = "arcgis-value-picker{}";
11
11
 
12
12
  const ArcgisValuePicker = class {
13
13
  constructor(hostRef) {
@@ -18,6 +18,7 @@ const ArcgisValuePicker = class {
18
18
  this.valuePickerPause = index.createEvent(this, "valuePickerPause", 7);
19
19
  this.valuePickerPlay = index.createEvent(this, "valuePickerPlay", 7);
20
20
  this.valuePickerPrevious = index.createEvent(this, "valuePickerPrevious", 7);
21
+ this._watchHandles = [];
21
22
  this.referenceElement = undefined;
22
23
  this.view = undefined;
23
24
  this.position = "bottom-left";
@@ -31,34 +32,41 @@ const ArcgisValuePicker = class {
31
32
  this.layout = undefined;
32
33
  this.loop = undefined;
33
34
  this.playRate = undefined;
35
+ this.visibleElements = undefined;
34
36
  this.values = undefined;
35
37
  }
36
- //--------------------------------------------------------------------------
37
- //
38
- // Watchers
39
- //
40
- //--------------------------------------------------------------------------
41
38
  positionWatcher(newValue) {
42
39
  if (newValue !== undefined && this.widget) {
43
- if (typeof this.view !== "string") {
44
- this.view.ui.move(this.childElem, newValue);
45
- }
40
+ this.view.ui.move(this.childElem, newValue);
46
41
  }
47
42
  }
48
43
  captionWatcher(newValue) {
49
44
  this.widget.caption = newValue;
50
45
  }
51
46
  componentWatcher(newValue) {
52
- this.widget.component = newValue;
47
+ if (this.widget) {
48
+ this.widget.component = newValue;
49
+ }
53
50
  }
54
51
  layoutWatcher(newValue) {
55
- this.widget.layout = newValue;
52
+ if (this.widget) {
53
+ this.widget.layout = newValue;
54
+ }
56
55
  }
57
56
  loopWatcher(newValue) {
58
- this.widget.loop = newValue;
57
+ if (newValue !== undefined && this.widget) {
58
+ this.widget.loop = newValue;
59
+ }
59
60
  }
60
61
  playRateWatcher(newValue) {
61
- this.widget.playRate = newValue;
62
+ if (newValue !== undefined && this.widget) {
63
+ this.widget.playRate = newValue;
64
+ }
65
+ }
66
+ visibleElementsWatcher(newValue) {
67
+ if (this.widget) {
68
+ this.widget.visibleElements = newValue;
69
+ }
62
70
  }
63
71
  //--------------------------------------------------------------------------
64
72
  //
@@ -107,15 +115,18 @@ const ArcgisValuePicker = class {
107
115
  //--------------------------------------------------------------------------
108
116
  async _addWatchers() {
109
117
  const { watch } = await index$1.importCoreReactiveUtils();
110
- watch(() => this.widget.canNext, (value) => (this.canNext = value), {
118
+ componentUtils.addHandles(this, watch(() => this.widget.canNext, (value) => (this.canNext = value), {
111
119
  initial: true
112
- });
113
- watch(() => this.widget.canPlay, (value) => (this.canPlay = value), {
120
+ }));
121
+ componentUtils.addHandles(this, watch(() => this.widget.canPlay, (value) => (this.canPlay = value), {
114
122
  initial: true
115
- });
116
- watch(() => this.widget.canPrevious, (value) => (this.canPrevious = value), {
123
+ }));
124
+ componentUtils.addHandles(this, watch(() => this.widget.canPrevious, (value) => (this.canPrevious = value), {
117
125
  initial: true
118
- });
126
+ }));
127
+ componentUtils.addHandles(this, watch(() => this.widget.values, (value) => (this.values = value), {
128
+ initial: true
129
+ }));
119
130
  }
120
131
  _createParams() {
121
132
  const params = {
@@ -130,12 +141,15 @@ const ArcgisValuePicker = class {
130
141
  if (this.layout) {
131
142
  params.layout = this.layout;
132
143
  }
133
- if (this.loop) {
144
+ if (this.loop !== undefined) {
134
145
  params.loop = this.loop;
135
146
  }
136
- if (this.playRate) {
147
+ if (this.playRate !== undefined) {
137
148
  params.playRate = this.playRate;
138
149
  }
150
+ if (this.visibleElements) {
151
+ params.visibleElements = this.visibleElements;
152
+ }
139
153
  return params;
140
154
  }
141
155
  _proxyEvents() {
@@ -152,9 +166,12 @@ const ArcgisValuePicker = class {
152
166
  "component": ["componentWatcher"],
153
167
  "layout": ["layoutWatcher"],
154
168
  "loop": ["loopWatcher"],
155
- "playRate": ["playRateWatcher"]
169
+ "playRate": ["playRateWatcher"],
170
+ "visibleElements": ["visibleElementsWatcher"]
156
171
  }; }
157
172
  };
158
- ArcgisValuePicker.style = arcgisValuePickerCss;
173
+ ArcgisValuePicker.style = valuePickerCss;
159
174
 
160
175
  exports.arcgis_value_picker = ArcgisValuePicker;
176
+
177
+ //# sourceMappingURL=arcgis-value-picker.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"arcgis-value-picker.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,cAAc,GAAG,uBAAuB;;M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ACjC;IAED,IAAI,IAAI,CAAC,eAAe,EAAE;MACxB,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;KAC/C;IAED,OAAO,MAAM,CAAC;GACf;EAEO,YAAY;IAClB,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAClE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5D,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;GACrE;;;;;;;;;;;;;;;;","names":["newWidgetsValuePicker","checkForView","onDisconnectedHelper","h","importCoreReactiveUtils","addHandles"],"sources":["src/components/value-picker/value-picker.css?tag=arcgis-value-picker","src/components/value-picker/value-picker.tsx"],"sourcesContent":["arcgis-value-picker {\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, newWidgetsValuePicker } from \"@arcgis/core-adapter\";\nimport type ValuePicker from \"@arcgis/core/widgets/ValuePicker\";\nimport { ArcgisReferenceElement, addHandles, checkForView } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type ValuePickerWidget = InstanceType<typeof ValuePicker>;\n\n@Component({\n tag: \"arcgis-value-picker\",\n styleUrl: \"value-picker.css\"\n})\nexport class ArcgisValuePicker {\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 @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\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: ValuePickerWidget;\n\n @Prop({ reflect: true }) canNext: ValuePickerWidget[\"canNext\"];\n\n @Prop({ reflect: true }) canPlay: ValuePickerWidget[\"canPlay\"];\n\n @Prop({ reflect: true }) canPrevious: ValuePickerWidget[\"canPrevious\"];\n\n @Prop() caption: ValuePickerWidget[\"caption\"];\n\n @Watch(\"caption\")\n captionWatcher(newValue: ValuePickerWidget[\"caption\"]): void {\n this.widget.caption = newValue;\n }\n\n @Prop() component: ValuePickerWidget[\"component\"];\n\n @Watch(\"component\")\n componentWatcher(newValue: ValuePickerWidget[\"component\"]): void {\n if (this.widget) {\n this.widget.component = newValue;\n }\n }\n\n @Prop() layout: ValuePickerWidget[\"layout\"];\n\n @Watch(\"layout\")\n layoutWatcher(newValue: ValuePickerWidget[\"layout\"]): void {\n if (this.widget) {\n this.widget.layout = newValue;\n }\n }\n\n @Prop() loop: ValuePickerWidget[\"loop\"];\n\n @Watch(\"loop\")\n loopWatcher(newValue: ValuePickerWidget[\"loop\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.loop = newValue;\n }\n }\n\n @Prop() playRate: ValuePickerWidget[\"playRate\"];\n\n @Watch(\"playRate\")\n playRateWatcher(newValue: ValuePickerWidget[\"playRate\"]): void {\n if (newValue !== undefined && this.widget) {\n this.widget.playRate = newValue;\n }\n }\n\n @Prop() visibleElements: ValuePickerWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: ValuePickerWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = newValue;\n }\n }\n\n @Prop({ mutable: true }) values: ValuePickerWidget[\"values\"];\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.ValuePicker }>;\n\n @Event({ cancelable: true }) valuePickerAnimate: EventEmitter<__esri.ValuePickerAnimateEvent>;\n @Event({ cancelable: true }) valuePickerNext: EventEmitter<__esri.ValuePickerNextEvent>;\n @Event({ cancelable: true }) valuePickerPause: EventEmitter<__esri.ValuePickerPauseEvent>;\n @Event({ cancelable: true }) valuePickerPlay: EventEmitter<__esri.ValuePickerPlayEvent>;\n @Event({ cancelable: true }) valuePickerPrevious: EventEmitter<__esri.ValuePickerPreviousEvent>;\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 pause(): Promise<void> {\n return this.widget?.pause();\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 //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsValuePicker(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 Interal Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.canNext,\n (value) => (this.canNext = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.canPlay,\n (value) => (this.canPlay = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.canPrevious,\n (value) => (this.canPrevious = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.values,\n (value) => (this.values = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<InstanceType<typeof ValuePicker>> {\n const params: __esri.ValuePickerProperties = {\n container: this.childElem\n };\n\n if (this.caption) {\n params.caption = this.caption;\n }\n\n if (this.component) {\n params.component = this.component;\n }\n\n if (this.layout) {\n params.layout = this.layout;\n }\n\n if (this.loop !== undefined) {\n params.loop = this.loop;\n }\n\n if (this.playRate !== undefined) {\n params.playRate = this.playRate;\n }\n\n if (this.visibleElements) {\n params.visibleElements = this.visibleElements;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"animate\", (e) => this.valuePickerAnimate.emit(e));\n this.widget.on(\"next\", (e) => this.valuePickerNext.emit(e));\n this.widget.on(\"pause\", (e) => this.valuePickerPause.emit(e));\n this.widget.on(\"play\", (e) => this.valuePickerPlay.emit(e));\n this.widget.on(\"previous\", (e) => this.valuePickerPrevious.emit(e));\n }\n}\n"],"version":3}
@@ -2,43 +2,43 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-bfda1cdc.js');
7
- const componentUtils = require('./component-utils-cbd20e88.js');
8
- const disconnected = require('./disconnected-306cb220.js');
5
+ const index = require('./index-f95f0426.js');
6
+ const index$1 = require('./index-3c85172f.js');
7
+ const componentUtils = require('./component-utils-70169d9c.js');
8
+ const disconnected = require('./disconnected-efe16c70.js');
9
9
 
10
- const arcgisWeatherCss = "";
10
+ const weatherCss = "";
11
11
 
12
12
  const ArcgisWeather = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
15
  this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this._watchHandles = [];
16
17
  this.referenceElement = undefined;
17
18
  this.position = "bottom-left";
18
19
  this.expandable = false;
19
20
  this.view = undefined;
21
+ this.visibleElements = undefined;
20
22
  this.widget = undefined;
21
23
  }
22
- //--------------------------------------------------------------------------
23
- //
24
- // Watchers
25
- //
26
- //--------------------------------------------------------------------------
24
+ referenceElementWatcher(newValue) {
25
+ componentUtils.referenceElementHelper(this, newValue);
26
+ }
27
27
  positionWatcher(newValue) {
28
28
  if (newValue !== undefined && this.widget) {
29
- if (typeof this.view !== "string") {
30
- this.view.ui.move(this.childElem, newValue);
31
- }
29
+ this.view.ui.move(this.childElem, newValue);
32
30
  }
33
31
  }
34
- referenceElementWatcher(newValue) {
35
- componentUtils.referenceElementHelper(this, newValue);
36
- }
37
32
  viewWatcher(newValue) {
38
33
  if (newValue !== undefined && this.widget) {
39
34
  this.widget.view = newValue;
40
35
  }
41
36
  }
37
+ visibleElementsWatcher(value) {
38
+ if (this.widget) {
39
+ this.widget.visibleElements = value;
40
+ }
41
+ }
42
42
  //--------------------------------------------------------------------------
43
43
  //
44
44
  // Lifecycle
@@ -69,6 +69,9 @@ const ArcgisWeather = class {
69
69
  const params = {
70
70
  container: this.childElem
71
71
  };
72
+ if (this.visibleElements) {
73
+ params.visibleElements = this.visibleElements;
74
+ }
72
75
  if (this.view) {
73
76
  params.view = this.view;
74
77
  }
@@ -76,11 +79,14 @@ const ArcgisWeather = class {
76
79
  }
77
80
  get el() { return index.getElement(this); }
78
81
  static get watchers() { return {
79
- "position": ["positionWatcher"],
80
82
  "referenceElement": ["referenceElementWatcher"],
81
- "view": ["viewWatcher"]
83
+ "position": ["positionWatcher"],
84
+ "view": ["viewWatcher"],
85
+ "visibleElements": ["visibleElementsWatcher"]
82
86
  }; }
83
87
  };
84
- ArcgisWeather.style = arcgisWeatherCss;
88
+ ArcgisWeather.style = weatherCss;
85
89
 
86
90
  exports.arcgis_weather = ArcgisWeather;
91
+
92
+ //# sourceMappingURL=arcgis-weather.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"arcgis-weather.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,UAAU,GAAG,EAAE;;MCiBR,aAAa;;;;IAyDxB,kBAAa,GAAyB,EAAE,CAAC;;oBA/BtB,aAAa;sBASX,KAAK;;;;;EAb1B,uBAAuB,CAAC,QAAyC;IAC/DA,qCAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;GACxC;EAKD,eAAe,CAAC,QAAgB;IAC9B,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;MACzC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC7C;GACF;EAOD,WAAW,CAAC,QAAyB;IACnC,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;MACzC,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC;KAC7B;GACF;EAKD,sBAAsB,CAAC,KAAuC;IAC5D,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,IAAI,CAAC,MAAM,CAAC,eAAe,GAAG,KAAK,CAAC;KACrC;GACF;;;;;;EAoBD,MAAM,gBAAgB;IACpB,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;IAEpC,MAAM,MAAM,GAAG,MAAMC,yBAAiB,CAAC,MAAM,CAAC,CAAC;IAE/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IAErB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAE/CC,2BAAY,CAAC,IAAI,CAAC,CAAC;GACpB;EAED,oBAAoB;IAClBC,iCAAoB,CAAC,IAAI,CAAC,CAAC;GAC5B;EAED,MAAM;IACJ,IAAI,IAAI,CAAC,UAAU,EAAE;MACnB,QACEC,2BAAe,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,GAAG,EAA6B,CAAC,IACpGA,iBAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAoB,CAAC,GAAQ,CACnD,EAChB;KACH;IACD,OAAOA,iBAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAoB,CAAC,GAAQ,CAAC;GAC1E;;;;;;EAOO,aAAa;IACnB,MAAM,MAAM,GAA2B;MACrC,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC;IAEF,IAAI,IAAI,CAAC,eAAe,EAAE;MACxB,MAAM,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;KAC/C;IAED,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;KACzB;IAED,OAAO,MAAM,CAAC;GACf;;;;;;;;;;;;;","names":["referenceElementHelper","newWidgetsWeather","checkForView","onDisconnectedHelper","h"],"sources":["src/components/weather/weather.css?tag=arcgis-weather","src/components/weather/weather.tsx"],"sourcesContent":["","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"],"version":3}
@@ -2,46 +2,40 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-bfda1cdc.js');
7
- const componentUtils = require('./component-utils-cbd20e88.js');
8
- const disconnected = require('./disconnected-306cb220.js');
5
+ const index = require('./index-f95f0426.js');
6
+ const index$1 = require('./index-3c85172f.js');
7
+ const componentUtils = require('./component-utils-70169d9c.js');
8
+ const disconnected = require('./disconnected-efe16c70.js');
9
9
 
10
- const arcgisZoomCss = "arcgis-zoom{}";
10
+ const zoomCss = "arcgis-zoom{}";
11
11
 
12
12
  const ArcgisZoom = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
15
  this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this._watchHandles = [];
16
17
  this.referenceElement = undefined;
17
18
  this.layout = undefined;
18
19
  this.view = undefined;
19
20
  this.position = "bottom-left";
20
21
  this.widget = undefined;
21
22
  }
22
- //--------------------------------------------------------------------------
23
- //
24
- // Watchers
25
- //
26
- //--------------------------------------------------------------------------
23
+ referenceElementWatcher(newValue) {
24
+ componentUtils.referenceElementHelper(this, newValue);
25
+ }
27
26
  layoutWatcher(newValue) {
28
- if (newValue !== undefined && this.widget) {
27
+ if (this.widget) {
29
28
  this.widget.layout = newValue;
30
29
  }
31
30
  }
32
- positionWatcher(newValue) {
31
+ viewWatcher(newValue) {
33
32
  if (newValue !== undefined && this.widget) {
34
- if (typeof this.view !== "string") {
35
- this.view.ui.move(this.childElem, newValue);
36
- }
33
+ this.widget.view = newValue;
37
34
  }
38
35
  }
39
- referenceElementWatcher(newValue) {
40
- componentUtils.referenceElementHelper(this, newValue);
41
- }
42
- viewWatcher(newValue) {
36
+ positionWatcher(newValue) {
43
37
  if (newValue !== undefined && this.widget) {
44
- this.widget.view = newValue;
38
+ this.view.ui.move(this.childElem, newValue);
45
39
  }
46
40
  }
47
41
  //--------------------------------------------------------------------------
@@ -82,6 +76,9 @@ const ArcgisZoom = class {
82
76
  const params = {
83
77
  container: this.childElem
84
78
  };
79
+ if (this.layout) {
80
+ params.layout = this.layout;
81
+ }
85
82
  if (this.view) {
86
83
  params.view = this.view;
87
84
  }
@@ -89,12 +86,14 @@ const ArcgisZoom = class {
89
86
  }
90
87
  get el() { return index.getElement(this); }
91
88
  static get watchers() { return {
92
- "layout": ["layoutWatcher"],
93
- "position": ["positionWatcher"],
94
89
  "referenceElement": ["referenceElementWatcher"],
95
- "view": ["viewWatcher"]
90
+ "layout": ["layoutWatcher"],
91
+ "view": ["viewWatcher"],
92
+ "position": ["positionWatcher"]
96
93
  }; }
97
94
  };
98
- ArcgisZoom.style = arcgisZoomCss;
95
+ ArcgisZoom.style = zoomCss;
99
96
 
100
97
  exports.arcgis_zoom = ArcgisZoom;
98
+
99
+ //# sourceMappingURL=arcgis-zoom.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"arcgis-zoom.entry.cjs.js","mappings":";;;;;;;;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ED,MAAM;IACJ,OAAOC,iBAAK,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,SAAS,GAAG,EAAoB,CAAC,GAAQ,CAAC;GAC1E;;;;;;EAOO,aAAa;IACnB,MAAM,MAAM,GAAwB;MAClC,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC;IAEF,IAAI,IAAI,CAAC,MAAM,EAAE;MACf,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;KAC7B;IAED,IAAI,IAAI,CAAC,IAAI,EAAE;MACb,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;KACzB;IAED,OAAO,MAAM,CAAC;GACf;;;;;;;;;;;;;","names":["referenceElementHelper","newWidgetsZoom","checkForView","onDisconnectedHelper","h"],"sources":["src/components/zoom/zoom.css?tag=arcgis-zoom","src/components/zoom/zoom.tsx"],"sourcesContent":["arcgis-zoom {\n /* Component styles go here */\n}\n","import { Component, Element, Event, EventEmitter, h, Method, Prop, VNode, Watch } from \"@stencil/core\";\n\n// arcgis imports\nimport { newWidgetsZoom } from \"@arcgis/core-adapter\";\nimport type Zoom from \"@arcgis/core/widgets/Zoom\";\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 ZoomWidget = InstanceType<typeof Zoom>;\n\n@Component({\n tag: \"arcgis-zoom\",\n styleUrl: \"zoom.css\"\n})\nexport class ArcgisZoom implements WidgetElement {\n //--------------------------------------------------------------------------\n //\n // Elements\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() layout: ZoomWidget[\"layout\"];\n\n @Watch(\"layout\")\n layoutWatcher(newValue: ZoomWidget[\"layout\"]): void {\n if (this.widget) {\n this.widget.layout = 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({ mutable: true }) widget: ZoomWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady: EventEmitter<{ widget: __esri.Zoom }>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async zoomIn(): Promise<void> {\n return this.widget?.zoomIn();\n }\n\n @Method()\n async zoomOut(): Promise<void> {\n return this.widget?.zoomOut();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsZoom(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<ZoomWidget> {\n const params: Partial<ZoomWidget> = {\n container: this.childElem\n };\n\n if (this.layout) {\n params.layout = this.layout;\n }\n\n if (this.view) {\n params.view = this.view;\n }\n\n return params;\n }\n}\n"],"version":3}
@@ -1,21 +1,55 @@
1
1
  'use strict';
2
2
 
3
- const disconnected = require('./disconnected-306cb220.js');
3
+ function checkForExpand(element) {
4
+ const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
5
+ if (expandRef?.widget) {
6
+ element.view = expandRef.view;
7
+ expandRef.widget.content = element.childElem;
8
+ // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
9
+ if (!expandRef.expandIcon) {
10
+ expandRef.widget.expandIcon = element.widget.icon;
11
+ expandRef.widget.expandIconClass = element.widget.iconClass;
12
+ }
13
+ return true;
14
+ }
15
+ if (expandRef) {
16
+ const widgetHandler = () => {
17
+ expandRef.removeEventListener("widgetReady", widgetHandler, false);
18
+ element.view = expandRef.view;
19
+ expandRef.widget.content = element.childElem;
20
+ if (!expandRef.expandIcon) {
21
+ expandRef.widget.expandIcon = element.widget.icon;
22
+ expandRef.widget.expandIconClass = element.widget.iconClass;
23
+ }
24
+ };
25
+ expandRef.addEventListener("widgetReady", widgetHandler, false);
26
+ return true;
27
+ }
28
+ return false;
29
+ }
4
30
 
5
31
  //--------------------------------------------------------------------------
6
32
  //
7
33
  // Public Methods
8
34
  //
9
35
  //--------------------------------------------------------------------------
36
+ function addHandles(element, handle) {
37
+ if (Array.isArray(handle)) {
38
+ element._watchHandles = [...element._watchHandles, ...handle];
39
+ }
40
+ else {
41
+ element._watchHandles.push(handle);
42
+ }
43
+ }
10
44
  function checkForView(element) {
11
45
  let isDetached = false;
12
- if (!disconnected.checkForExpand(element)) {
46
+ if (!checkForExpand(element)) {
13
47
  let viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
14
48
  if (!viewRef && typeof element.referenceElement === "string") {
15
49
  viewRef = document.querySelector(element.referenceElement);
16
50
  isDetached = true;
17
51
  }
18
- if (viewRef?.view && typeof viewRef?.view !== "string") {
52
+ if (viewRef?.view) {
19
53
  element.view = viewRef.view;
20
54
  const el = element.childElem || element.el;
21
55
  if (!isDetached) {
@@ -26,6 +60,22 @@ function checkForView(element) {
26
60
  waitForViewHandler(viewRef, element, isDetached);
27
61
  }
28
62
  }
63
+ else {
64
+ const viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
65
+ if (viewRef?.view) {
66
+ element.view = viewRef.view;
67
+ }
68
+ else if (viewRef) {
69
+ const handler = () => {
70
+ viewRef?.removeEventListener("viewReady", handler, false);
71
+ element.view = viewRef?.view;
72
+ };
73
+ viewRef.addEventListener("viewReady", handler, false);
74
+ }
75
+ }
76
+ }
77
+ function isNullOrEmptyString(value) {
78
+ return value === undefined || value === null || value === "";
29
79
  }
30
80
  async function updateForView(viewStr) {
31
81
  const viewRef = document.querySelector(viewStr);
@@ -60,7 +110,7 @@ function waitForViewHandler(viewRef, element, isDetached) {
60
110
  const handler = () => {
61
111
  viewRef?.removeEventListener("viewReady", handler, false);
62
112
  element.view = viewRef?.view;
63
- if (!isDetached && typeof element.view !== "string") {
113
+ if (!isDetached) {
64
114
  if (element.childElem) {
65
115
  element.view?.ui.add(element.childElem, element.position);
66
116
  }
@@ -72,6 +122,10 @@ function waitForViewHandler(viewRef, element, isDetached) {
72
122
  viewRef.addEventListener("viewReady", handler, false);
73
123
  }
74
124
 
125
+ exports.addHandles = addHandles;
126
+ exports.checkForExpand = checkForExpand;
75
127
  exports.checkForView = checkForView;
128
+ exports.isNullOrEmptyString = isNullOrEmptyString;
76
129
  exports.referenceElementHelper = referenceElementHelper;
77
- exports.updateForView = updateForView;
130
+
131
+ //# sourceMappingURL=component-utils-70169d9c.js.map
@@ -0,0 +1 @@
1
+ {"file":"component-utils-70169d9c.js","mappings":";;SAQgB,cAAc,CAAC,OAA4C;EACzE,MAAM,SAAS,GAAG,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,IAAK,OAA+B,CAAC,UAAU,CAAC;EACrG,IAAI,SAAS,EAAE,MAAM,EAAE;IACrB,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;I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;IAC1D,OAAO,CAAC,IAAI,GAAG,OAAO,EAAE,IAAI,CAAC;IAC7B,IAAI,CAAC,UAAU,EAAE;MACf,IAAI,OAAO,CAAC,SAAS,EAAE;QACrB,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;OAC3D;WAAM;QACL,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;OACpD;KACF;GACF,CAAC;EACF,OAAO,CAAC,gBAAgB,CAAC,WAAW,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AACxD;;;;;;;;","names":[],"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"],"version":3}