@arcgis/map-components 4.29.0-beta.3 → 4.29.0-beta.30

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 (346) hide show
  1. package/{readme.md → README.md} +1 -1
  2. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  3. package/dist/arcgis-map-components/p-0076e605.entry.js +1 -0
  4. package/dist/arcgis-map-components/p-009f057c.entry.js +1 -0
  5. package/dist/arcgis-map-components/p-0127ffba.entry.js +1 -0
  6. package/dist/arcgis-map-components/{p-620959fc.js → p-01e1a2e1.js} +1 -1
  7. package/dist/arcgis-map-components/p-0bb43cd0.entry.js +1 -0
  8. package/dist/arcgis-map-components/p-0d1cd2e8.entry.js +1 -0
  9. package/dist/arcgis-map-components/p-0f14ea76.entry.js +1 -0
  10. package/dist/arcgis-map-components/p-0fcaa85d.entry.js +1 -0
  11. package/dist/arcgis-map-components/p-0fdf755a.entry.js +1 -0
  12. package/dist/arcgis-map-components/p-10572d2b.entry.js +1 -0
  13. package/dist/arcgis-map-components/p-12a52958.entry.js +1 -0
  14. package/dist/arcgis-map-components/p-149ebf01.entry.js +1 -0
  15. package/dist/arcgis-map-components/p-20df3c4e.entry.js +1 -0
  16. package/dist/arcgis-map-components/p-24a675dd.entry.js +1 -0
  17. package/dist/arcgis-map-components/p-2f2e72ee.entry.js +1 -0
  18. package/dist/arcgis-map-components/p-300406b2.entry.js +1 -0
  19. package/dist/arcgis-map-components/p-362072b4.entry.js +1 -0
  20. package/dist/arcgis-map-components/p-3bff45a4.entry.js +1 -0
  21. package/dist/arcgis-map-components/p-4677414a.entry.js +1 -0
  22. package/dist/arcgis-map-components/p-4c57ff19.entry.js +1 -0
  23. package/dist/arcgis-map-components/p-4da9380f.entry.js +1 -0
  24. package/dist/arcgis-map-components/p-4e46d4c9.entry.js +1 -0
  25. package/dist/arcgis-map-components/p-5128f95d.entry.js +1 -0
  26. package/dist/arcgis-map-components/p-5bf9cd80.entry.js +1 -0
  27. package/dist/arcgis-map-components/p-5fc3de02.entry.js +1 -0
  28. package/dist/arcgis-map-components/p-61a2aad6.entry.js +1 -0
  29. package/dist/arcgis-map-components/p-6d23feca.entry.js +1 -0
  30. package/dist/arcgis-map-components/p-7abd0a2e.js +1 -0
  31. package/dist/arcgis-map-components/p-8691e75d.entry.js +1 -0
  32. package/dist/arcgis-map-components/p-88368469.entry.js +1 -0
  33. package/dist/arcgis-map-components/p-89d6dbd8.entry.js +1 -0
  34. package/dist/arcgis-map-components/p-8c600310.entry.js +1 -0
  35. package/dist/arcgis-map-components/p-96b91396.entry.js +1 -0
  36. package/dist/arcgis-map-components/p-a3f21e98.entry.js +1 -0
  37. package/dist/arcgis-map-components/p-a584465f.entry.js +1 -0
  38. package/dist/arcgis-map-components/p-ab8aabdd.entry.js +1 -0
  39. package/dist/arcgis-map-components/p-ab913166.entry.js +1 -0
  40. package/dist/arcgis-map-components/p-ac581e44.entry.js +1 -0
  41. package/dist/arcgis-map-components/p-af78f7b8.js +1 -0
  42. package/dist/arcgis-map-components/p-b1269a65.entry.js +1 -0
  43. package/dist/arcgis-map-components/p-b2eba29e.entry.js +1 -0
  44. package/dist/arcgis-map-components/p-b9195a9c.entry.js +1 -0
  45. package/dist/arcgis-map-components/p-b9c68beb.entry.js +1 -0
  46. package/dist/arcgis-map-components/p-be3c8618.entry.js +1 -0
  47. package/dist/arcgis-map-components/p-ccc17e7b.entry.js +1 -0
  48. package/dist/arcgis-map-components/p-ccfa2c32.entry.js +1 -0
  49. package/dist/arcgis-map-components/p-d59a24e9.entry.js +1 -0
  50. package/dist/arcgis-map-components/p-da88cac1.entry.js +1 -0
  51. package/dist/arcgis-map-components/p-e1665f38.entry.js +1 -0
  52. package/dist/arcgis-map-components/p-e6f8ae2b.entry.js +1 -0
  53. package/dist/arcgis-map-components/p-e9c3edb0.entry.js +1 -0
  54. package/dist/arcgis-map-components/p-ed9f6cfa.js +2 -0
  55. package/dist/arcgis-map-components/p-f55b57a8.entry.js +1 -0
  56. package/dist/arcgis-map-components/p-f6a6f495.entry.js +1 -0
  57. package/dist/arcgis-map-components/p-fa328109.entry.js +1 -0
  58. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +9 -8
  59. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +7 -6
  60. package/dist/cjs/arcgis-attachments.cjs.entry.js +6 -5
  61. package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +9 -8
  62. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +17 -16
  63. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +11 -10
  64. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +9 -8
  65. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +7 -6
  66. package/dist/cjs/arcgis-compass.cjs.entry.js +7 -6
  67. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +9 -8
  68. package/dist/cjs/arcgis-daylight.cjs.entry.js +7 -6
  69. package/dist/cjs/arcgis-directions.cjs.entry.js +22 -10
  70. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +9 -8
  71. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +7 -6
  72. package/dist/cjs/arcgis-editor.cjs.entry.js +9 -8
  73. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +7 -6
  74. package/dist/cjs/arcgis-expand_4.cjs.entry.js +334 -554
  75. package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -4
  76. package/dist/cjs/arcgis-feature-table.cjs.entry.js +314 -0
  77. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +7 -6
  78. package/dist/cjs/arcgis-feature.cjs.entry.js +7 -6
  79. package/dist/cjs/arcgis-features.cjs.entry.js +13 -12
  80. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +7 -6
  81. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +7 -6
  82. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +7 -6
  83. package/dist/cjs/arcgis-histogram.cjs.entry.js +5 -4
  84. package/dist/cjs/arcgis-home.cjs.entry.js +7 -6
  85. package/dist/cjs/arcgis-layer-list.cjs.entry.js +9 -8
  86. package/dist/cjs/arcgis-legend.cjs.entry.js +7 -6
  87. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +9 -8
  88. package/dist/cjs/arcgis-locate.cjs.entry.js +7 -6
  89. package/dist/cjs/arcgis-map-components.cjs.js +2 -2
  90. package/dist/cjs/arcgis-measurement.cjs.entry.js +9 -8
  91. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +7 -6
  92. package/dist/cjs/arcgis-print.cjs.entry.js +9 -8
  93. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +7 -6
  94. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +7 -6
  95. package/dist/cjs/arcgis-search.cjs.entry.js +277 -0
  96. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +7 -6
  97. package/dist/cjs/arcgis-sketch.cjs.entry.js +13 -12
  98. package/dist/cjs/arcgis-slice.cjs.entry.js +9 -8
  99. package/dist/cjs/arcgis-slider.cjs.entry.js +23 -22
  100. package/dist/cjs/arcgis-swipe.cjs.entry.js +7 -6
  101. package/dist/cjs/arcgis-table-list.cjs.entry.js +9 -8
  102. package/dist/cjs/arcgis-time-slider.cjs.entry.js +9 -8
  103. package/dist/cjs/arcgis-track.cjs.entry.js +9 -8
  104. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +7 -6
  105. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +7 -6
  106. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +7 -6
  107. package/dist/cjs/arcgis-value-picker.cjs.entry.js +13 -12
  108. package/dist/cjs/arcgis-weather.cjs.entry.js +7 -6
  109. package/dist/cjs/arcgis-zoom.cjs.entry.js +7 -6
  110. package/dist/cjs/{component-utils-cbd20e88.js → component-utils-54ae1d40.js} +29 -3
  111. package/dist/cjs/{disconnected-306cb220.js → disconnected-86c5cc08.js} +11 -3
  112. package/dist/cjs/{index-6b51d5a0.js → index-b9b7643c.js} +385 -8
  113. package/dist/cjs/loader.cjs.js +2 -2
  114. package/dist/components/arcgis-area-measurement-2d.js +8 -6
  115. package/dist/components/arcgis-area-measurement-3d.js +6 -4
  116. package/dist/components/arcgis-attachments.js +6 -4
  117. package/dist/components/arcgis-basemap-gallery.js +8 -6
  118. package/dist/components/arcgis-basemap-layer-list.js +16 -14
  119. package/dist/components/arcgis-basemap-toggle.js +10 -8
  120. package/dist/components/arcgis-bookmarks.js +8 -6
  121. package/dist/components/arcgis-building-explorer.js +6 -4
  122. package/dist/components/arcgis-compass.js +5 -3
  123. package/dist/components/arcgis-coordinate-conversion.js +8 -6
  124. package/dist/components/arcgis-daylight.js +6 -4
  125. package/dist/components/arcgis-directions.js +21 -8
  126. package/dist/components/arcgis-directline-measurement-3d.js +8 -6
  127. package/dist/components/arcgis-distance-measurement-2d.js +6 -4
  128. package/dist/components/arcgis-editor.js +8 -6
  129. package/dist/components/arcgis-elevation-profile.js +6 -4
  130. package/dist/components/arcgis-expand.js +1 -1
  131. package/dist/components/arcgis-feature-form.js +3 -2
  132. package/dist/components/arcgis-feature-table.js +22 -14
  133. package/dist/components/arcgis-feature-templates.js +6 -4
  134. package/dist/components/arcgis-feature.js +6 -4
  135. package/dist/components/arcgis-features.js +12 -10
  136. package/dist/components/arcgis-floor-filter.js +6 -4
  137. package/dist/components/arcgis-fullscreen.js +5 -3
  138. package/dist/components/arcgis-histogram-range-slider.js +6 -4
  139. package/dist/components/arcgis-histogram.js +3 -2
  140. package/dist/components/arcgis-home.js +5 -3
  141. package/dist/components/arcgis-layer-list.js +8 -6
  142. package/dist/components/arcgis-legend.js +6 -4
  143. package/dist/components/arcgis-line-of-sight.js +8 -6
  144. package/dist/components/arcgis-locate.js +5 -3
  145. package/dist/components/arcgis-map.js +107 -35
  146. package/dist/components/arcgis-measurement.js +8 -6
  147. package/dist/components/arcgis-navigation-toggle.js +5 -3
  148. package/dist/components/arcgis-placement.d.ts +11 -0
  149. package/dist/components/arcgis-placement.js +68 -0
  150. package/dist/components/arcgis-print.js +8 -6
  151. package/dist/components/arcgis-scale-bar.js +6 -4
  152. package/dist/components/arcgis-scale-range-slider.js +6 -4
  153. package/dist/components/arcgis-scene.js +106 -29
  154. package/dist/components/arcgis-search.js +20 -18
  155. package/dist/components/arcgis-shadow-cast.js +6 -4
  156. package/dist/components/arcgis-sketch.js +12 -10
  157. package/dist/components/arcgis-slice.js +8 -6
  158. package/dist/components/arcgis-slider.js +22 -20
  159. package/dist/components/arcgis-swipe.js +5 -3
  160. package/dist/components/arcgis-table-list.js +8 -6
  161. package/dist/components/arcgis-time-slider.js +8 -6
  162. package/dist/components/arcgis-track.js +7 -5
  163. package/dist/components/arcgis-utility-network-associations.js +6 -4
  164. package/dist/components/arcgis-utility-network-trace.js +6 -4
  165. package/dist/components/arcgis-utility-network-validate-topology.js +6 -4
  166. package/dist/components/arcgis-value-picker.js +12 -10
  167. package/dist/components/arcgis-weather.js +6 -4
  168. package/dist/components/arcgis-zoom.js +5 -3
  169. package/dist/components/component-utils.js +119 -0
  170. package/dist/components/disconnected.js +11 -97
  171. package/dist/components/{arcgis-expand2.js → expand.js} +6 -3
  172. package/dist/components/index.d.ts +54 -53
  173. package/dist/components/index.js +1 -0
  174. package/dist/esm/arcgis-area-measurement-2d.entry.js +9 -8
  175. package/dist/esm/arcgis-area-measurement-3d.entry.js +7 -6
  176. package/dist/esm/arcgis-attachments.entry.js +6 -5
  177. package/dist/esm/arcgis-basemap-gallery.entry.js +9 -8
  178. package/dist/esm/arcgis-basemap-layer-list.entry.js +17 -16
  179. package/dist/esm/arcgis-basemap-toggle.entry.js +11 -10
  180. package/dist/esm/arcgis-bookmarks.entry.js +9 -8
  181. package/dist/esm/arcgis-building-explorer.entry.js +7 -6
  182. package/dist/esm/arcgis-compass.entry.js +7 -6
  183. package/dist/esm/arcgis-coordinate-conversion.entry.js +9 -8
  184. package/dist/esm/arcgis-daylight.entry.js +7 -6
  185. package/dist/esm/arcgis-directions.entry.js +22 -10
  186. package/dist/esm/arcgis-directline-measurement-3d.entry.js +9 -8
  187. package/dist/esm/arcgis-distance-measurement-2d.entry.js +7 -6
  188. package/dist/esm/arcgis-editor.entry.js +9 -8
  189. package/dist/esm/arcgis-elevation-profile.entry.js +7 -6
  190. package/dist/esm/arcgis-expand_4.entry.js +333 -553
  191. package/dist/esm/arcgis-feature-form.entry.js +5 -4
  192. package/dist/esm/arcgis-feature-table.entry.js +310 -0
  193. package/dist/esm/arcgis-feature-templates.entry.js +7 -6
  194. package/dist/esm/arcgis-feature.entry.js +7 -6
  195. package/dist/esm/arcgis-features.entry.js +13 -12
  196. package/dist/esm/arcgis-floor-filter.entry.js +7 -6
  197. package/dist/esm/arcgis-fullscreen.entry.js +7 -6
  198. package/dist/esm/arcgis-histogram-range-slider.entry.js +7 -6
  199. package/dist/esm/arcgis-histogram.entry.js +5 -4
  200. package/dist/esm/arcgis-home.entry.js +7 -6
  201. package/dist/esm/arcgis-layer-list.entry.js +9 -8
  202. package/dist/esm/arcgis-legend.entry.js +7 -6
  203. package/dist/esm/arcgis-line-of-sight.entry.js +9 -8
  204. package/dist/esm/arcgis-locate.entry.js +7 -6
  205. package/dist/esm/arcgis-map-components.js +3 -3
  206. package/dist/esm/arcgis-measurement.entry.js +9 -8
  207. package/dist/esm/arcgis-navigation-toggle.entry.js +7 -6
  208. package/dist/esm/arcgis-print.entry.js +9 -8
  209. package/dist/esm/arcgis-scale-bar.entry.js +7 -6
  210. package/dist/esm/arcgis-scale-range-slider.entry.js +7 -6
  211. package/dist/esm/arcgis-search.entry.js +273 -0
  212. package/dist/esm/arcgis-shadow-cast.entry.js +7 -6
  213. package/dist/esm/arcgis-sketch.entry.js +13 -12
  214. package/dist/esm/arcgis-slice.entry.js +9 -8
  215. package/dist/esm/arcgis-slider.entry.js +23 -22
  216. package/dist/esm/arcgis-swipe.entry.js +7 -6
  217. package/dist/esm/arcgis-table-list.entry.js +9 -8
  218. package/dist/esm/arcgis-time-slider.entry.js +9 -8
  219. package/dist/esm/arcgis-track.entry.js +9 -8
  220. package/dist/esm/arcgis-utility-network-associations.entry.js +7 -6
  221. package/dist/esm/arcgis-utility-network-trace.entry.js +7 -6
  222. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +7 -6
  223. package/dist/esm/arcgis-value-picker.entry.js +13 -12
  224. package/dist/esm/arcgis-weather.entry.js +7 -6
  225. package/dist/esm/arcgis-zoom.entry.js +7 -6
  226. package/dist/esm/{component-utils-2ebdae59.js → component-utils-6b40f5ab.js} +28 -4
  227. package/dist/esm/{disconnected-bc5fc8bc.js → disconnected-dc405cac.js} +11 -3
  228. package/dist/esm/{index-c227d296.js → index-307928e0.js} +1 -1
  229. package/dist/esm/{index-eb3ead33.js → index-d73b34b5.js} +385 -8
  230. package/dist/esm/loader.js +3 -3
  231. package/dist/types/components/{arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts → area-measurement-2d/area-measurement-2d.d.ts} +1 -0
  232. package/dist/types/components/{arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts → area-measurement-3d/area-measurement-3d.d.ts} +1 -0
  233. package/dist/types/components/{arcgis-attachments/arcgis-attachments.d.ts → attachments/attachments.d.ts} +1 -0
  234. package/dist/types/components/{arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts → basemap-gallery/basemap-gallery.d.ts} +1 -0
  235. package/dist/types/components/{arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts → basemap-layer-list/basemap-layer-list.d.ts} +1 -0
  236. package/dist/types/components/{arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts → basemap-toggle/basemap-toggle.d.ts} +1 -0
  237. package/dist/types/components/{arcgis-bookmarks/arcgis-bookmarks.d.ts → bookmarks/bookmarks.d.ts} +1 -0
  238. package/dist/types/components/{arcgis-building-explorer/arcgis-building-explorer.d.ts → building-explorer/building-explorer.d.ts} +1 -0
  239. package/dist/types/components/{arcgis-compass/arcgis-compass.d.ts → compass/compass.d.ts} +1 -0
  240. package/dist/types/components/{arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts → coordinate-conversion/coordinate-conversion.d.ts} +1 -0
  241. package/dist/types/components/{arcgis-daylight/arcgis-daylight.d.ts → daylight/daylight.d.ts} +1 -0
  242. package/dist/types/components/{arcgis-directions/arcgis-directions.d.ts → directions/directions.d.ts} +2 -1
  243. package/dist/types/components/{arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts → directline-measurement-3d/directline-measurement-3d.d.ts} +1 -0
  244. package/dist/types/components/{arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts → distance-measurement-2d/distance-measurement-2d.d.ts} +1 -0
  245. package/dist/types/components/{arcgis-editor/arcgis-editor.d.ts → editor/editor.d.ts} +1 -0
  246. package/dist/types/components/{arcgis-elevation-profile/arcgis-elevation-profile.d.ts → elevation-profile/elevation-profile.d.ts} +1 -0
  247. package/dist/types/components/{arcgis-expand/arcgis-expand.d.ts → expand/expand.d.ts} +1 -0
  248. package/dist/types/components/{arcgis-feature/arcgis-feature.d.ts → feature/feature.d.ts} +1 -0
  249. package/dist/types/components/{arcgis-feature-form/arcgis-feature-form.d.ts → feature-form/feature-form.d.ts} +1 -0
  250. package/dist/types/components/{arcgis-feature-table/arcgis-feature-table.d.ts → feature-table/feature-table.d.ts} +1 -0
  251. package/dist/types/components/{arcgis-feature-templates/arcgis-feature-templates.d.ts → feature-templates/feature-templates.d.ts} +1 -0
  252. package/dist/types/components/{arcgis-features/arcgis-features.d.ts → features/features.d.ts} +1 -0
  253. package/dist/types/components/{arcgis-floor-filter/arcgis-floor-filter.d.ts → floor-filter/floor-filter.d.ts} +1 -0
  254. package/dist/types/components/{arcgis-fullscreen/arcgis-fullscreen.d.ts → fullscreen/fullscreen.d.ts} +1 -0
  255. package/dist/types/components/{arcgis-histogram/arcgis-histogram.d.ts → histogram/histogram.d.ts} +1 -0
  256. package/dist/types/components/{arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts → histogram-range-slider/histogram-range-slider.d.ts} +1 -0
  257. package/dist/types/components/{arcgis-home/arcgis-home.d.ts → home/home.d.ts} +1 -0
  258. package/dist/types/components/{arcgis-layer-list/arcgis-layer-list.d.ts → layer-list/layer-list.d.ts} +1 -0
  259. package/dist/types/components/{arcgis-legend/arcgis-legend.d.ts → legend/legend.d.ts} +1 -0
  260. package/dist/types/components/{arcgis-line-of-sight/arcgis-line-of-sight.d.ts → line-of-sight/line-of-sight.d.ts} +1 -0
  261. package/dist/types/components/{arcgis-locate/arcgis-locate.d.ts → locate/locate.d.ts} +1 -0
  262. package/dist/types/components/{arcgis-map/arcgis-map.d.ts → map/map.d.ts} +11 -2
  263. package/dist/types/components/{arcgis-measurement/arcgis-measurement.d.ts → measurement/measurement.d.ts} +1 -0
  264. package/dist/types/components/{arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts → navigation-toggle/navigation-toggle.d.ts} +1 -0
  265. package/dist/types/components/placement/placement.d.ts +18 -0
  266. package/dist/types/components/{arcgis-print/arcgis-print.d.ts → print/print.d.ts} +1 -0
  267. package/dist/types/components/{arcgis-scale-bar/arcgis-scale-bar.d.ts → scale-bar/scale-bar.d.ts} +1 -0
  268. package/dist/types/components/{arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts → scale-range-slider/scale-range-slider.d.ts} +1 -0
  269. package/dist/types/components/{arcgis-scene/arcgis-scene.d.ts → scene/scene.d.ts} +11 -2
  270. package/dist/types/components/{arcgis-search/arcgis-search.d.ts → search/search.d.ts} +1 -0
  271. package/dist/types/components/{arcgis-shadow-cast/arcgis-shadow-cast.d.ts → shadow-cast/shadow-cast.d.ts} +1 -0
  272. package/dist/types/components/{arcgis-sketch/arcgis-sketch.d.ts → sketch/sketch.d.ts} +1 -0
  273. package/dist/types/components/{arcgis-slice/arcgis-slice.d.ts → slice/slice.d.ts} +1 -0
  274. package/dist/types/components/{arcgis-slider/arcgis-slider.d.ts → slider/slider.d.ts} +1 -0
  275. package/dist/types/components/{arcgis-swipe/arcgis-swipe.d.ts → swipe/swipe.d.ts} +1 -0
  276. package/dist/types/components/{arcgis-table-list/arcgis-table-list.d.ts → table-list/table-list.d.ts} +1 -0
  277. package/dist/types/components/{arcgis-time-slider/arcgis-time-slider.d.ts → time-slider/time-slider.d.ts} +1 -0
  278. package/dist/types/components/{arcgis-track/arcgis-track.d.ts → track/track.d.ts} +1 -0
  279. package/dist/types/components/{arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts → utility-network-associations/utility-network-associations.d.ts} +1 -0
  280. package/dist/types/components/{arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts → utility-network-trace/utility-network-trace.d.ts} +1 -0
  281. 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} +1 -0
  282. package/dist/types/components/{arcgis-value-picker/arcgis-value-picker.d.ts → value-picker/value-picker.d.ts} +1 -0
  283. package/dist/types/components/{arcgis-weather/arcgis-weather.d.ts → weather/weather.d.ts} +1 -0
  284. package/dist/types/components/{arcgis-zoom/arcgis-zoom.d.ts → zoom/zoom.d.ts} +1 -0
  285. package/dist/types/components.d.ts +75 -51
  286. package/dist/types/utils/component-utils.d.ts +9 -4
  287. package/package.json +15 -15
  288. package/dist/arcgis-map-components/p-01d9efae.entry.js +0 -1
  289. package/dist/arcgis-map-components/p-11e7ce02.entry.js +0 -1
  290. package/dist/arcgis-map-components/p-1435356e.entry.js +0 -1
  291. package/dist/arcgis-map-components/p-174f9d11.entry.js +0 -1
  292. package/dist/arcgis-map-components/p-18c653a4.entry.js +0 -1
  293. package/dist/arcgis-map-components/p-1b5e33ea.entry.js +0 -1
  294. package/dist/arcgis-map-components/p-1c631990.entry.js +0 -1
  295. package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
  296. package/dist/arcgis-map-components/p-21721d4b.entry.js +0 -1
  297. package/dist/arcgis-map-components/p-2becbf01.entry.js +0 -1
  298. package/dist/arcgis-map-components/p-2c5be6b0.entry.js +0 -1
  299. package/dist/arcgis-map-components/p-2d3406f7.js +0 -1
  300. package/dist/arcgis-map-components/p-312ff83f.entry.js +0 -1
  301. package/dist/arcgis-map-components/p-3361d81f.entry.js +0 -1
  302. package/dist/arcgis-map-components/p-3587b4d8.entry.js +0 -1
  303. package/dist/arcgis-map-components/p-3b5560bb.entry.js +0 -1
  304. package/dist/arcgis-map-components/p-3e676259.entry.js +0 -1
  305. package/dist/arcgis-map-components/p-47629a4c.entry.js +0 -1
  306. package/dist/arcgis-map-components/p-4b5fa9a2.entry.js +0 -1
  307. package/dist/arcgis-map-components/p-4bb15110.entry.js +0 -1
  308. package/dist/arcgis-map-components/p-4c103777.entry.js +0 -1
  309. package/dist/arcgis-map-components/p-4d5e7ddd.entry.js +0 -1
  310. package/dist/arcgis-map-components/p-4fa3c6fe.entry.js +0 -1
  311. package/dist/arcgis-map-components/p-501861a1.entry.js +0 -1
  312. package/dist/arcgis-map-components/p-535bf289.entry.js +0 -1
  313. package/dist/arcgis-map-components/p-5a91868a.entry.js +0 -1
  314. package/dist/arcgis-map-components/p-5cabdee7.js +0 -1
  315. package/dist/arcgis-map-components/p-5d835456.entry.js +0 -1
  316. package/dist/arcgis-map-components/p-5db2786d.entry.js +0 -1
  317. package/dist/arcgis-map-components/p-5ea3ce11.entry.js +0 -1
  318. package/dist/arcgis-map-components/p-721673c8.entry.js +0 -1
  319. package/dist/arcgis-map-components/p-8c18a99c.entry.js +0 -1
  320. package/dist/arcgis-map-components/p-8d184d92.entry.js +0 -1
  321. package/dist/arcgis-map-components/p-8fde8001.entry.js +0 -1
  322. package/dist/arcgis-map-components/p-927f8748.entry.js +0 -1
  323. package/dist/arcgis-map-components/p-9aad48fe.entry.js +0 -1
  324. package/dist/arcgis-map-components/p-9c1b8e69.entry.js +0 -1
  325. package/dist/arcgis-map-components/p-9e667282.entry.js +0 -1
  326. package/dist/arcgis-map-components/p-a67dda4e.entry.js +0 -1
  327. package/dist/arcgis-map-components/p-acb4a35a.entry.js +0 -1
  328. package/dist/arcgis-map-components/p-b19043d5.entry.js +0 -1
  329. package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
  330. package/dist/arcgis-map-components/p-bb6e5f04.entry.js +0 -1
  331. package/dist/arcgis-map-components/p-bfae0a1f.entry.js +0 -1
  332. package/dist/arcgis-map-components/p-c63a5c7f.entry.js +0 -1
  333. package/dist/arcgis-map-components/p-ce14e49f.entry.js +0 -1
  334. package/dist/arcgis-map-components/p-d3fbbf3f.entry.js +0 -1
  335. package/dist/arcgis-map-components/p-d8be8a46.entry.js +0 -1
  336. package/dist/arcgis-map-components/p-dafb17cf.entry.js +0 -1
  337. package/dist/arcgis-map-components/p-ec2cc024.entry.js +0 -1
  338. package/dist/arcgis-map-components/p-ef0b3818.entry.js +0 -1
  339. package/dist/arcgis-map-components/p-f0e5dcc7.entry.js +0 -1
  340. package/dist/arcgis-map-components/p-f5cc7f2d.entry.js +0 -1
  341. package/dist/arcgis-map-components/p-f7b74cd4.entry.js +0 -1
  342. package/dist/cjs/arcgis-scene.cjs.entry.js +0 -126
  343. package/dist/cjs/mapping-utils-c2c7b994.js +0 -40
  344. package/dist/esm/arcgis-scene.entry.js +0 -122
  345. package/dist/esm/mapping-utils-26beb904.js +0 -38
  346. /package/dist/cjs/{index-bfda1cdc.js → index-c24d722b.js} +0 -0
@@ -1,14 +1,16 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { H as importConfig, P as newWebScene, Q as newViewsSceneView, i as importCoreReactiveUtils } from './index2.js';
2
+ import { H as importConfig, i as importCoreReactiveUtils, P as newWebScene, Q as newViewsSceneView } from './index2.js';
3
+ import { i as isNullOrEmptyString } from './component-utils.js';
3
4
  import { d as disableNavigation } from './mapping-utils.js';
4
5
 
5
- const arcgisSceneCss = ".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";
6
+ const sceneCss = ".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";
6
7
 
7
8
  const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
9
  constructor() {
9
10
  super();
10
11
  this.__registerHost();
11
12
  this.viewReady = createEvent(this, "viewReady", 7);
13
+ this._watchHandles = [];
12
14
  this.apiKey = undefined;
13
15
  this.basemap = undefined;
14
16
  this.itemId = undefined;
@@ -22,9 +24,48 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
22
24
  apiKeyWatcher(value) {
23
25
  this.config.apiKey = value;
24
26
  }
27
+ basemapWatcher(value) {
28
+ if (this.view?.map) {
29
+ this.view.map.basemap = value;
30
+ }
31
+ }
25
32
  itemIdWatcher(value, old) {
33
+ // NOTE: there is an issue when users set the value to undefined.
34
+ // https://github.com/ionic-team/stencil/issues/2814
35
+ // If user sets `itemid` to `undefined`, Stencil 2 will log the following warning:
36
+ // `The state/prop "${propName}" changed during rendering.`
37
+ // `This can potentially lead to infinite-loops and other bugs.`
38
+ //
39
+ // It appears consumer setting the value to null does not cause this warning.
40
+ // In Stencil 4, if a user sets property to undefined, will trigger change, but
41
+ // will not remove attribute from DOM.
42
+ if (value !== old) {
43
+ if (this.view?.map) {
44
+ this._updateMap();
45
+ }
46
+ else {
47
+ this._loadMap();
48
+ }
49
+ }
50
+ }
51
+ portalUrlWatcher(value, old) {
26
52
  if (value && value !== old) {
27
- this.loadMap();
53
+ if (this.view?.map) {
54
+ this._updateMap();
55
+ }
56
+ else {
57
+ this._loadMap();
58
+ }
59
+ }
60
+ }
61
+ scaleWatcher(value, old) {
62
+ if (value != null && value !== old) {
63
+ this.view.scale = value;
64
+ }
65
+ }
66
+ zoomWatcher(value, old) {
67
+ if (value != null && value !== old) {
68
+ this.view.zoom = value;
28
69
  }
29
70
  }
30
71
  //--------------------------------------------------------------------------
@@ -37,13 +78,17 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
37
78
  if (this.apiKey) {
38
79
  this.config.apiKey = this.apiKey;
39
80
  }
40
- this.loadMap();
81
+ this._loadMap();
41
82
  }
42
83
  componentDidRender() {
43
84
  if (this.view) {
44
85
  this.view.container = this.el;
45
86
  }
46
87
  }
88
+ disconnectedCallback() {
89
+ this._clearWatchHandles();
90
+ this.view.destroy();
91
+ }
47
92
  render() {
48
93
  return h("div", { class: "arcgis-scene", ref: (el) => (this.el = el) });
49
94
  }
@@ -52,7 +97,28 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
52
97
  // Private Methods
53
98
  //
54
99
  //--------------------------------------------------------------------------
55
- async loadMap() {
100
+ _clearWatchHandles() {
101
+ this._watchHandles.forEach((handle) => handle.remove());
102
+ this._watchHandles = [];
103
+ }
104
+ async _addWatchers() {
105
+ const { watch, when } = await importCoreReactiveUtils();
106
+ this._watchHandles.push(watch(() => this.view.center, (center) => {
107
+ const value = `${center.longitude},${center.latitude}`;
108
+ this.center = value;
109
+ }));
110
+ this._watchHandles.push(when(() => this.view.updating, () => {
111
+ when(() => !this.view.updating, () => {
112
+ if (this.zoom !== this.view.zoom) {
113
+ this.zoom = this.view.zoom;
114
+ }
115
+ if (this.scale !== this.view.scale) {
116
+ this.scale = this.view.scale;
117
+ }
118
+ }, { once: true });
119
+ }));
120
+ }
121
+ async _createMap() {
56
122
  const mapParams = {};
57
123
  if (this.itemId) {
58
124
  mapParams.portalItem = this._createPortalItem();
@@ -60,27 +126,11 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
60
126
  if (this.basemap) {
61
127
  mapParams.basemap = this.basemap;
62
128
  }
63
- const map = await newWebScene(mapParams);
64
- const params = this._createViewParams();
65
- const view = await newViewsSceneView({
66
- map,
67
- ...params
68
- });
69
- this.view = view;
70
- this._addWatchers();
71
- if (this.disableNavigation) {
72
- disableNavigation(this.view);
129
+ else if (isNullOrEmptyString(this.itemId)) {
130
+ mapParams.basemap = "topo-vector";
73
131
  }
74
- this.view.when(() => this.viewReady.emit({ view: this.view }));
75
- }
76
- async _addWatchers() {
77
- const { watch } = await importCoreReactiveUtils();
78
- watch(() => this.view.center, (center) => {
79
- const value = `${center.longitude},${center.latitude}`;
80
- this.center = value;
81
- });
82
- watch(() => this.view.zoom, (value) => (this.zoom = value));
83
- watch(() => this.view.scale, (value) => (this.scale = value));
132
+ const map = await newWebScene(mapParams);
133
+ return map;
84
134
  }
85
135
  _createPortalItem() {
86
136
  const item = {};
@@ -112,16 +162,43 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
112
162
  }
113
163
  return params;
114
164
  }
115
- get hostElem() { return this; }
165
+ async _loadMap() {
166
+ const map = await this._createMap();
167
+ const params = this._createViewParams();
168
+ const view = await newViewsSceneView({
169
+ map,
170
+ ...params
171
+ });
172
+ this.view = view;
173
+ this._addWatchers();
174
+ if (this.disableNavigation) {
175
+ disableNavigation(this.view);
176
+ }
177
+ this.view.when(() => {
178
+ this.viewReady.emit({ view: this.view });
179
+ });
180
+ }
181
+ async _updateMap() {
182
+ if (this.view?.map) {
183
+ this.view.map.destroy();
184
+ const map = await this._createMap();
185
+ this.view.map = map;
186
+ }
187
+ }
188
+ get _hostElement() { return this; }
116
189
  static get watchers() { return {
117
190
  "apiKey": ["apiKeyWatcher"],
118
- "itemId": ["itemIdWatcher"]
191
+ "basemap": ["basemapWatcher"],
192
+ "itemId": ["itemIdWatcher"],
193
+ "portalUrl": ["portalUrlWatcher"],
194
+ "scale": ["scaleWatcher"],
195
+ "zoom": ["zoomWatcher"]
119
196
  }; }
120
- static get style() { return arcgisSceneCss; }
197
+ static get style() { return sceneCss; }
121
198
  }, [0, "arcgis-scene", {
122
199
  "apiKey": [1, "api-key"],
123
200
  "basemap": [1025],
124
- "itemId": [1, "item-id"],
201
+ "itemId": [1537, "item-id"],
125
202
  "portalUrl": [1, "portal-url"],
126
203
  "scale": [1538],
127
204
  "zoom": [1538],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { R as newWidgetsSearch, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisSearchCss = "";
7
+ const searchCss = "";
7
8
 
8
9
  const ArcgisSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -18,6 +19,7 @@ const ArcgisSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
18
19
  this.selectResult = createEvent(this, "selectResult", 7);
19
20
  this.suggestComplete = createEvent(this, "suggestComplete", 7);
20
21
  this.suggestStart = createEvent(this, "suggestStart", 7);
22
+ this._watchHandles = [];
21
23
  this.referenceElement = undefined;
22
24
  this.activeMenu = undefined;
23
25
  this.activeSource = undefined;
@@ -203,27 +205,27 @@ const ArcgisSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
203
205
  //--------------------------------------------------------------------------
204
206
  async _addWatchers() {
205
207
  const { watch } = await importCoreReactiveUtils();
206
- watch(() => this.widget.activeSource, (value) => (this.activeSource = value), {
208
+ addHandles(this, watch(() => this.widget.activeSource, (value) => (this.activeSource = value), {
207
209
  initial: true
208
- });
209
- watch(() => this.widget.activeSourceIndex, (value) => (this.activeSourceIndex = value), {
210
+ }));
211
+ addHandles(this, watch(() => this.widget.activeSourceIndex, (value) => (this.activeSourceIndex = value), {
210
212
  initial: true
211
- });
212
- watch(() => this.widget.allSources, (value) => (this.allSources = value), {
213
+ }));
214
+ addHandles(this, watch(() => this.widget.allSources, (value) => (this.allSources = value), {
213
215
  initial: true
214
- });
215
- watch(() => this.widget.defaultSources, (value) => (this.defaultSources = value), {
216
+ }));
217
+ addHandles(this, watch(() => this.widget.defaultSources, (value) => (this.defaultSources = value), {
216
218
  initial: true
217
- });
218
- watch(() => this.widget.resultGraphic, (value) => (this.resultGraphic = value), {
219
+ }));
220
+ addHandles(this, watch(() => this.widget.resultGraphic, (value) => (this.resultGraphic = value), {
219
221
  initial: true
220
- });
221
- watch(() => this.widget.results, (value) => (this.results = value), {
222
+ }));
223
+ addHandles(this, watch(() => this.widget.results, (value) => (this.results = value), {
222
224
  initial: true
223
- });
224
- watch(() => this.widget.selectedResult, (value) => (this.selectedResult = value), {
225
+ }));
226
+ addHandles(this, watch(() => this.widget.selectedResult, (value) => (this.selectedResult = value), {
225
227
  initial: true
226
- });
228
+ }));
227
229
  }
228
230
  _createParams() {
229
231
  const params = {
@@ -267,7 +269,7 @@ const ArcgisSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
267
269
  "referenceElement": ["referenceElementWatcher"],
268
270
  "view": ["viewWatcher"]
269
271
  }; }
270
- static get style() { return arcgisSearchCss; }
272
+ static get style() { return searchCss; }
271
273
  }, [0, "arcgis-search", {
272
274
  "referenceElement": [1, "reference-element"],
273
275
  "activeMenu": [1, "active-menu"],
@@ -1,15 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { S as newWidgetsShadowCast } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { r as referenceElementHelper, c as checkForView } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisShadowCastCss = "arcgis-shadow-cast{}";
7
+ const shadowCastCss = "arcgis-shadow-cast{}";
7
8
 
8
9
  const ArcgisShadowCast$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
10
11
  super();
11
12
  this.__registerHost();
12
13
  this.widgetReady = createEvent(this, "widgetReady", 7);
14
+ this._watchHandles = [];
13
15
  this.referenceElement = undefined;
14
16
  this.view = undefined;
15
17
  this.position = "bottom-left";
@@ -86,7 +88,7 @@ const ArcgisShadowCast$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
86
88
  "referenceElement": ["referenceElementWatcher"],
87
89
  "view": ["viewWatcher"]
88
90
  }; }
89
- static get style() { return arcgisShadowCastCss; }
91
+ static get style() { return shadowCastCss; }
90
92
  }, [0, "arcgis-shadow-cast", {
91
93
  "referenceElement": [1, "reference-element"],
92
94
  "view": [1040],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { T as newWidgetsSketch, i as importCoreReactiveUtils, U as newLayersGraphicsLayer } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisSketchCss = "arcgis-sketch{}";
7
+ const sketchCss = "arcgis-sketch{}";
7
8
 
8
9
  const ArcgisSketch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -15,6 +16,7 @@ const ArcgisSketch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
15
16
  this.sketchUndo = createEvent(this, "sketchUndo", 7);
16
17
  this.sketchUpdate = createEvent(this, "sketchUpdate", 7);
17
18
  this.widgetReady = createEvent(this, "widgetReady", 7);
19
+ this._watchHandles = [];
18
20
  this.referenceElement = undefined;
19
21
  this.activeTool = undefined;
20
22
  this.availableCreateTools = undefined;
@@ -128,15 +130,15 @@ const ArcgisSketch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
128
130
  //--------------------------------------------------------------------------
129
131
  async _addWatchers() {
130
132
  const { watch } = await importCoreReactiveUtils();
131
- watch(() => this.widget.activeTool, (value) => (this.activeTool = value), {
133
+ addHandles(this, watch(() => this.widget.activeTool, (value) => (this.activeTool = value), {
132
134
  initial: true
133
- });
134
- watch(() => this.widget.createGraphic, (value) => (this.createGraphic = value), {
135
+ }));
136
+ addHandles(this, watch(() => this.widget.createGraphic, (value) => (this.createGraphic = value), {
135
137
  initial: true
136
- });
137
- watch(() => this.widget.updateGraphics, (value) => (this.updateGraphics = value), {
138
+ }));
139
+ addHandles(this, watch(() => this.widget.updateGraphics, (value) => (this.updateGraphics = value), {
138
140
  initial: true
139
- });
141
+ }));
140
142
  }
141
143
  async _createParams() {
142
144
  const graphicsLayerProps = {
@@ -192,7 +194,7 @@ const ArcgisSketch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
192
194
  "referenceElement": ["referenceElementWatcher"],
193
195
  "view": ["viewWatcher"]
194
196
  }; }
195
- static get style() { return arcgisSketchCss; }
197
+ static get style() { return sketchCss; }
196
198
  }, [0, "arcgis-sketch", {
197
199
  "referenceElement": [1, "reference-element"],
198
200
  "activeTool": [1537, "active-tool"],
@@ -1,15 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { V as newWidgetsSlice, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisSliceCss = "arcgis-slice{}";
7
+ const sliceCss = "arcgis-slice{}";
7
8
 
8
9
  const ArcgisSlice$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
10
11
  super();
11
12
  this.__registerHost();
12
13
  this.widgetReady = createEvent(this, "widgetReady", 7);
14
+ this._watchHandles = [];
13
15
  this.referenceElement = undefined;
14
16
  this.analysis = undefined;
15
17
  this.view = undefined;
@@ -74,9 +76,9 @@ const ArcgisSlice$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
74
76
  //--------------------------------------------------------------------------
75
77
  async _addWatchers() {
76
78
  const { watch } = await importCoreReactiveUtils();
77
- watch(() => this.widget.analysis, (value) => (this.analysis = value), {
79
+ addHandles(this, watch(() => this.widget.analysis, (value) => (this.analysis = value), {
78
80
  initial: true
79
- });
81
+ }));
80
82
  }
81
83
  _createParams() {
82
84
  const params = {
@@ -94,7 +96,7 @@ const ArcgisSlice$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
94
96
  "referenceElement": ["referenceElementWatcher"],
95
97
  "view": ["viewWatcher"]
96
98
  }; }
97
- static get style() { return arcgisSliceCss; }
99
+ static get style() { return sliceCss; }
98
100
  }, [0, "arcgis-slice", {
99
101
  "referenceElement": [1, "reference-element"],
100
102
  "analysis": [1040],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { W as newWidgetsSlider, i as importCoreReactiveUtils } from './index2.js';
3
- import { c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisSliderCss = "arcgis-slider{min-width:200px;min-height:25px}";
7
+ const sliderCss = "arcgis-slider{min-width:200px;min-height:25px}";
7
8
 
8
9
  const ArcgisSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -21,6 +22,7 @@ const ArcgisSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
21
22
  this.sliderTickClick = createEvent(this, "sliderTickClick", 7);
22
23
  this.sliderTrackClick = createEvent(this, "sliderTrackClick", 7);
23
24
  this.widgetReady = createEvent(this, "widgetReady", 7);
25
+ this._watchHandles = [];
24
26
  this.referenceElement = undefined;
25
27
  this.draggableSegmentsEnabled = undefined;
26
28
  this.effectiveMax = undefined;
@@ -157,30 +159,30 @@ const ArcgisSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
157
159
  //--------------------------------------------------------------------------
158
160
  async _addWatchers() {
159
161
  const { watch } = await importCoreReactiveUtils();
160
- watch(() => this.widget.effectiveSegmentElements, (value) => (this.effectiveSegmentElements = value), {
162
+ addHandles(this, watch(() => this.widget.effectiveSegmentElements, (value) => (this.effectiveSegmentElements = value), {
161
163
  initial: true
162
- });
163
- watch(() => this.widget.labelElements, (value) => (this.labelElements = value), {
164
+ }));
165
+ addHandles(this, watch(() => this.widget.labelElements, (value) => (this.labelElements = value), {
164
166
  initial: true
165
- });
166
- watch(() => this.widget.maxLabelElement, (value) => (this.maxLabelElement = value), {
167
+ }));
168
+ addHandles(this, watch(() => this.widget.maxLabelElement, (value) => (this.maxLabelElement = value), {
167
169
  initial: true
168
- });
169
- watch(() => this.widget.minLabelElement, (value) => (this.minLabelElement = value), {
170
+ }));
171
+ addHandles(this, watch(() => this.widget.minLabelElement, (value) => (this.minLabelElement = value), {
170
172
  initial: true
171
- });
172
- watch(() => this.widget.segmentElements, (value) => (this.segmentElements = value), {
173
+ }));
174
+ addHandles(this, watch(() => this.widget.segmentElements, (value) => (this.segmentElements = value), {
173
175
  initial: true
174
- });
175
- watch(() => this.widget.thumbElements, (value) => (this.thumbElements = value), {
176
+ }));
177
+ addHandles(this, watch(() => this.widget.thumbElements, (value) => (this.thumbElements = value), {
176
178
  initial: true
177
- });
178
- watch(() => this.widget.tickElements, (value) => (this.tickElements = value), {
179
+ }));
180
+ addHandles(this, watch(() => this.widget.tickElements, (value) => (this.tickElements = value), {
179
181
  initial: true
180
- });
181
- watch(() => this.widget.trackElement, (value) => (this.trackElement = value), {
182
+ }));
183
+ addHandles(this, watch(() => this.widget.trackElement, (value) => (this.trackElement = value), {
182
184
  initial: true
183
- });
185
+ }));
184
186
  }
185
187
  _createParams() {
186
188
  const params = {
@@ -224,7 +226,7 @@ const ArcgisSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
224
226
  "tickConfigs": ["tickConfigsWatcher"],
225
227
  "values": ["valuesWatcher"]
226
228
  }; }
227
- static get style() { return arcgisSliderCss; }
229
+ static get style() { return sliderCss; }
228
230
  }, [0, "arcgis-slider", {
229
231
  "referenceElement": [1, "reference-element"],
230
232
  "draggableSegmentsEnabled": [4, "draggable-segments-enabled"],
@@ -1,14 +1,16 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { X as newWidgetsSwipe } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
3
+ import { r as referenceElementHelper, c as checkForView } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
4
5
 
5
- const arcgisSwipeCss = "arcgis-swipe{}";
6
+ const swipeCss = "arcgis-swipe{}";
6
7
 
7
8
  const ArcgisSwipe$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
9
  constructor() {
9
10
  super();
10
11
  this.__registerHost();
11
12
  this.widgetReady = createEvent(this, "widgetReady", 7);
13
+ this._watchHandles = [];
12
14
  this.referenceElement = undefined;
13
15
  this.direction = undefined;
14
16
  this.dragLabel = undefined;
@@ -107,7 +109,7 @@ const ArcgisSwipe$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
107
109
  "referenceElement": ["referenceElementWatcher"],
108
110
  "view": ["viewWatcher"]
109
111
  }; }
110
- static get style() { return arcgisSwipeCss; }
112
+ static get style() { return swipeCss; }
111
113
  }, [0, "arcgis-swipe", {
112
114
  "referenceElement": [1, "reference-element"],
113
115
  "direction": [1],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { Y as newWidgetsTableList, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisTableListCss = "arcgis-table-list{}";
7
+ const tableListCss = "arcgis-table-list{}";
7
8
 
8
9
  const ArcgisTableList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -11,6 +12,7 @@ const ArcgisTableList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
11
12
  this.__registerHost();
12
13
  this.triggerAction = createEvent(this, "triggerAction", 7);
13
14
  this.widgetReady = createEvent(this, "widgetReady", 7);
15
+ this._watchHandles = [];
14
16
  this.referenceElement = undefined;
15
17
  this.multipleSelectionEnabled = false;
16
18
  this.selectionEnabled = true;
@@ -81,8 +83,8 @@ const ArcgisTableList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
81
83
  //--------------------------------------------------------------------------
82
84
  async _addWatchers() {
83
85
  const { watch } = await importCoreReactiveUtils();
84
- watch(() => this.widget.selectedItems, (value) => (this.selectedItems = value));
85
- watch(() => this.widget.tableItems, (value) => (this.tableItems = value));
86
+ addHandles(this, watch(() => this.widget.selectedItems, (value) => (this.selectedItems = value)));
87
+ addHandles(this, watch(() => this.widget.tableItems, (value) => (this.tableItems = value)));
86
88
  }
87
89
  _createParams() {
88
90
  const params = {
@@ -109,7 +111,7 @@ const ArcgisTableList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
109
111
  "referenceElement": ["referenceElementWatcher"],
110
112
  "view": ["viewWatcher"]
111
113
  }; }
112
- static get style() { return arcgisTableListCss; }
114
+ static get style() { return tableListCss; }
113
115
  }, [0, "arcgis-table-list", {
114
116
  "referenceElement": [1, "reference-element"],
115
117
  "multipleSelectionEnabled": [4, "multiple-selection-enabled"],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { Z as newWidgetsTimeSlider, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisTimeSliderCss = "arcgis-time-slider{}";
7
+ const timeSliderCss = "arcgis-time-slider{}";
7
8
 
8
9
  const ArcgisTimeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -11,6 +12,7 @@ const ArcgisTimeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
11
12
  this.__registerHost();
12
13
  this.triggerAction = createEvent(this, "triggerAction", 7);
13
14
  this.widgetReady = createEvent(this, "widgetReady", 7);
15
+ this._watchHandles = [];
14
16
  this.referenceElement = undefined;
15
17
  this.actions = undefined;
16
18
  this.effectiveStops = undefined;
@@ -145,9 +147,9 @@ const ArcgisTimeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
145
147
  //--------------------------------------------------------------------------
146
148
  async _addWatchers() {
147
149
  const { watch } = await importCoreReactiveUtils();
148
- watch(() => this.widget.effectiveStops, (value) => (this.effectiveStops = value), {
150
+ addHandles(this, watch(() => this.widget.effectiveStops, (value) => (this.effectiveStops = value), {
149
151
  initial: true
150
- });
152
+ }));
151
153
  }
152
154
  _createParams() {
153
155
  const params = {
@@ -207,7 +209,7 @@ const ArcgisTimeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
207
209
  "referenceElement": ["referenceElementWatcher"],
208
210
  "view": ["viewWatcher"]
209
211
  }; }
210
- static get style() { return arcgisTimeSliderCss; }
212
+ static get style() { return timeSliderCss; }
211
213
  }, [0, "arcgis-time-slider", {
212
214
  "referenceElement": [1, "reference-element"],
213
215
  "actions": [16],
@@ -1,8 +1,9 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { _ as newWidgetsTrack, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
4
5
 
5
- const arcgisTrackCss = "";
6
+ const trackCss = "";
6
7
 
7
8
  const ArcgisTrack$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
9
  constructor() {
@@ -11,6 +12,7 @@ const ArcgisTrack$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
11
12
  this.trackComplete = createEvent(this, "trackComplete", 7);
12
13
  this.trackError = createEvent(this, "trackError", 7);
13
14
  this.widgetReady = createEvent(this, "widgetReady", 7);
15
+ this._watchHandles = [];
14
16
  this.referenceElement = undefined;
15
17
  this.geolocationOptions = undefined;
16
18
  this.goToLocationEnabled = undefined;
@@ -94,9 +96,9 @@ const ArcgisTrack$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
94
96
  //--------------------------------------------------------------------------
95
97
  async _addWatchers() {
96
98
  const { watch } = await importCoreReactiveUtils();
97
- watch(() => this.widget.tracking, (value) => (this.tracking = value), {
99
+ addHandles(this, watch(() => this.widget.tracking, (value) => (this.tracking = value), {
98
100
  initial: true
99
- });
101
+ }));
100
102
  }
101
103
  _createParams() {
102
104
  const params = {
@@ -137,7 +139,7 @@ const ArcgisTrack$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
137
139
  "referenceElement": ["referenceElementWatcher"],
138
140
  "view": ["viewWatcher"]
139
141
  }; }
140
- static get style() { return arcgisTrackCss; }
142
+ static get style() { return trackCss; }
141
143
  }, [0, "arcgis-track", {
142
144
  "referenceElement": [1, "reference-element"],
143
145
  "geolocationOptions": [8, "geolocation-options"],
@@ -1,15 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { $ as newWidgetsUtilityNetworkAssociations } from './index2.js';
3
- import { u as updateForView, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
3
+ import { u as updateForView, c as checkForView } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
5
+ import { d as defineCustomElement$2 } from './expand.js';
5
6
 
6
- const arcgisUtilityNetworkAssociationsCss = "arcgis-utility-network-associations{}";
7
+ const utilityNetworkAssociationsCss = "arcgis-utility-network-associations{}";
7
8
 
8
9
  const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
10
11
  super();
11
12
  this.__registerHost();
12
13
  this.widgetReady = createEvent(this, "widgetReady", 7);
14
+ this._watchHandles = [];
13
15
  this.referenceElement = undefined;
14
16
  this.autoRefreshAssociations = undefined;
15
17
  this.connectivityAssociationsLineSymbol = undefined;
@@ -211,7 +213,7 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
211
213
  "referenceElement": ["referenceElementWatcher"],
212
214
  "view": ["viewWatcher"]
213
215
  }; }
214
- static get style() { return arcgisUtilityNetworkAssociationsCss; }
216
+ static get style() { return utilityNetworkAssociationsCss; }
215
217
  }, [0, "arcgis-utility-network-associations", {
216
218
  "referenceElement": [1, "reference-element"],
217
219
  "autoRefreshAssociations": [4, "auto-refresh-associations"],