@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,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a0 as newWidgetsUtilityNetworkTrace } 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 arcgisUtilityNetworkTraceCss = "";
7
+ const utilityNetworkTraceCss = "";
7
8
 
8
9
  const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -13,6 +14,7 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
13
14
  this.traceAddFlagComplete = createEvent(this, "traceAddFlagComplete", 7);
14
15
  this.traceAddFlagError = createEvent(this, "traceAddFlagError", 7);
15
16
  this.widgetReady = createEvent(this, "widgetReady", 7);
17
+ this._watchHandles = [];
16
18
  this.referenceElement = undefined;
17
19
  this.defaultGraphicColor = undefined;
18
20
  this.flags = undefined;
@@ -153,7 +155,7 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
153
155
  "referenceElement": ["referenceElementWatcher"],
154
156
  "view": ["viewWatcher"]
155
157
  }; }
156
- static get style() { return arcgisUtilityNetworkTraceCss; }
158
+ static get style() { return utilityNetworkTraceCss; }
157
159
  }, [0, "arcgis-utility-network-trace", {
158
160
  "referenceElement": [1, "reference-element"],
159
161
  "defaultGraphicColor": [16],
@@ -1,15 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a1 as newWidgetsUtilityNetworkValidateTopology } 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 arcgisUtilityNetworkValidateTopologyCss = "arcgis-utility-network-validate-topology{}";
7
+ const utilityNetworkValidateTopologyCss = "arcgis-utility-network-validate-topology{}";
7
8
 
8
9
  const ArcgisUtilityNetworkValidateTopology$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.extentToValidate = undefined;
15
17
  this.utilityNetwork = undefined;
@@ -101,7 +103,7 @@ const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(
101
103
  "referenceElement": ["referenceElementWatcher"],
102
104
  "view": ["viewWatcher"]
103
105
  }; }
104
- static get style() { return arcgisUtilityNetworkValidateTopologyCss; }
106
+ static get style() { return utilityNetworkValidateTopologyCss; }
105
107
  }, [0, "arcgis-utility-network-validate-topology", {
106
108
  "referenceElement": [1, "reference-element"],
107
109
  "extentToValidate": [1, "extent-to-validate"],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a2 as newWidgetsValuePicker, 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 arcgisValuePickerCss = "arcgis-value-picker{}";
7
+ const valuePickerCss = "arcgis-value-picker{}";
7
8
 
8
9
  const ArcgisValuePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
10
  constructor() {
@@ -15,6 +16,7 @@ const ArcgisValuePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
15
16
  this.valuePickerPause = createEvent(this, "valuePickerPause", 7);
16
17
  this.valuePickerPlay = createEvent(this, "valuePickerPlay", 7);
17
18
  this.valuePickerPrevious = createEvent(this, "valuePickerPrevious", 7);
19
+ this._watchHandles = [];
18
20
  this.referenceElement = undefined;
19
21
  this.view = undefined;
20
22
  this.position = "bottom-left";
@@ -104,15 +106,15 @@ const ArcgisValuePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
104
106
  //--------------------------------------------------------------------------
105
107
  async _addWatchers() {
106
108
  const { watch } = await importCoreReactiveUtils();
107
- watch(() => this.widget.canNext, (value) => (this.canNext = value), {
109
+ addHandles(this, watch(() => this.widget.canNext, (value) => (this.canNext = value), {
108
110
  initial: true
109
- });
110
- watch(() => this.widget.canPlay, (value) => (this.canPlay = value), {
111
+ }));
112
+ addHandles(this, watch(() => this.widget.canPlay, (value) => (this.canPlay = value), {
111
113
  initial: true
112
- });
113
- watch(() => this.widget.canPrevious, (value) => (this.canPrevious = value), {
114
+ }));
115
+ addHandles(this, watch(() => this.widget.canPrevious, (value) => (this.canPrevious = value), {
114
116
  initial: true
115
- });
117
+ }));
116
118
  }
117
119
  _createParams() {
118
120
  const params = {
@@ -151,7 +153,7 @@ const ArcgisValuePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
151
153
  "loop": ["loopWatcher"],
152
154
  "playRate": ["playRateWatcher"]
153
155
  }; }
154
- static get style() { return arcgisValuePickerCss; }
156
+ static get style() { return valuePickerCss; }
155
157
  }, [0, "arcgis-value-picker", {
156
158
  "referenceElement": [1, "reference-element"],
157
159
  "view": [1040],
@@ -1,15 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a3 as newWidgetsWeather } 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 arcgisWeatherCss = "";
7
+ const weatherCss = "";
7
8
 
8
9
  const ArcgisWeather$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.position = "bottom-left";
15
17
  this.expandable = false;
@@ -77,7 +79,7 @@ const ArcgisWeather$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
77
79
  "referenceElement": ["referenceElementWatcher"],
78
80
  "view": ["viewWatcher"]
79
81
  }; }
80
- static get style() { return arcgisWeatherCss; }
82
+ static get style() { return weatherCss; }
81
83
  }, [0, "arcgis-weather", {
82
84
  "referenceElement": [1, "reference-element"],
83
85
  "position": [1],
@@ -1,14 +1,16 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a4 as newWidgetsZoom } 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 arcgisZoomCss = "arcgis-zoom{}";
6
+ const zoomCss = "arcgis-zoom{}";
6
7
 
7
8
  const ArcgisZoom$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.layout = undefined;
14
16
  this.view = undefined;
@@ -90,7 +92,7 @@ const ArcgisZoom$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
90
92
  "referenceElement": ["referenceElementWatcher"],
91
93
  "view": ["viewWatcher"]
92
94
  }; }
93
- static get style() { return arcgisZoomCss; }
95
+ static get style() { return zoomCss; }
94
96
  }, [0, "arcgis-zoom", {
95
97
  "referenceElement": [1, "reference-element"],
96
98
  "layout": [1],
@@ -0,0 +1,119 @@
1
+ function checkForExpand(element) {
2
+ const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
3
+ if (expandRef?.widget) {
4
+ element.view = expandRef.view;
5
+ expandRef.widget.content = element.childElem;
6
+ // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
7
+ expandRef.widget.expandIcon = element.widget.icon;
8
+ expandRef.widget.expandIconClass = element.widget.iconClass;
9
+ return true;
10
+ }
11
+ if (expandRef) {
12
+ const widgetHandler = () => {
13
+ expandRef.removeEventListener("widgetReady", widgetHandler, false);
14
+ element.view = expandRef.view;
15
+ expandRef.widget.content = element.childElem;
16
+ expandRef.widget.expandIcon = element.widget.icon;
17
+ expandRef.widget.expandIconClass = element.widget.iconClass;
18
+ };
19
+ expandRef.addEventListener("widgetReady", widgetHandler, false);
20
+ return true;
21
+ }
22
+ return false;
23
+ }
24
+
25
+ //--------------------------------------------------------------------------
26
+ //
27
+ // Public Methods
28
+ //
29
+ //--------------------------------------------------------------------------
30
+ function addHandles(element, handle) {
31
+ if (Array.isArray(handle)) {
32
+ element._watchHandles = [...element._watchHandles, ...handle];
33
+ }
34
+ else {
35
+ element._watchHandles.push(handle);
36
+ }
37
+ }
38
+ function checkForView(element) {
39
+ let isDetached = false;
40
+ if (!checkForExpand(element)) {
41
+ let viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
42
+ if (!viewRef && typeof element.referenceElement === "string") {
43
+ viewRef = document.querySelector(element.referenceElement);
44
+ isDetached = true;
45
+ }
46
+ if (viewRef?.view) {
47
+ element.view = viewRef.view;
48
+ const el = element.childElem || element.el;
49
+ if (!isDetached) {
50
+ element.view.ui.add(el, element.position);
51
+ }
52
+ }
53
+ else if (viewRef) {
54
+ waitForViewHandler(viewRef, element, isDetached);
55
+ }
56
+ }
57
+ else {
58
+ const viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
59
+ if (viewRef?.view) {
60
+ element.view = viewRef.view;
61
+ }
62
+ else if (viewRef) {
63
+ const handler = () => {
64
+ viewRef?.removeEventListener("viewReady", handler, false);
65
+ element.view = viewRef?.view;
66
+ };
67
+ viewRef.addEventListener("viewReady", handler, false);
68
+ }
69
+ }
70
+ }
71
+ function isNullOrEmptyString(value) {
72
+ return value === undefined || value === null || value === "";
73
+ }
74
+ async function updateForView(viewStr) {
75
+ const viewRef = document.querySelector(viewStr);
76
+ return new Promise((resolve) => {
77
+ if (viewRef?.view !== undefined) {
78
+ resolve(viewRef.view);
79
+ }
80
+ else if (viewRef) {
81
+ const handler = () => {
82
+ viewRef.removeEventListener("viewReady", handler, false);
83
+ resolve(viewRef.view);
84
+ };
85
+ viewRef.addEventListener("viewReady", handler, false);
86
+ }
87
+ });
88
+ }
89
+ async function referenceElementHelper(element, refElement) {
90
+ if (typeof refElement === "string") {
91
+ element.view = await updateForView(refElement);
92
+ }
93
+ else if (refElement !== undefined && element.widget) {
94
+ element.view = refElement.view;
95
+ }
96
+ return;
97
+ }
98
+ //--------------------------------------------------------------------------
99
+ //
100
+ // Private Methods
101
+ //
102
+ //--------------------------------------------------------------------------
103
+ function waitForViewHandler(viewRef, element, isDetached) {
104
+ const handler = () => {
105
+ viewRef?.removeEventListener("viewReady", handler, false);
106
+ element.view = viewRef?.view;
107
+ if (!isDetached) {
108
+ if (element.childElem) {
109
+ element.view?.ui.add(element.childElem, element.position);
110
+ }
111
+ else {
112
+ element.view?.ui.add(element.el, element.position);
113
+ }
114
+ }
115
+ };
116
+ viewRef.addEventListener("viewReady", handler, false);
117
+ }
118
+
119
+ export { addHandles as a, checkForExpand as b, checkForView as c, isNullOrEmptyString as i, referenceElementHelper as r, updateForView as u };
@@ -1,122 +1,36 @@
1
- function checkForExpand(element) {
2
- const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
3
- if (expandRef?.widget) {
4
- element.view = expandRef.view;
5
- expandRef.widget.content = element.childElem;
6
- // TODO: Update to be expandIcon = widget.icon, not ready yet in 4.27next
7
- expandRef.widget.expandIcon = element.widget.icon;
8
- expandRef.widget.expandIconClass = element.widget.iconClass;
9
- return true;
10
- }
11
- if (expandRef) {
12
- const widgetHandler = () => {
13
- element.view = expandRef.view;
14
- expandRef.widget.content = element.childElem;
15
- expandRef.widget.expandIcon = element.widget.icon;
16
- expandRef.widget.expandIconClass = element.widget.iconClass;
17
- expandRef.removeEventListener("widgetReady", widgetHandler, false);
18
- };
19
- expandRef.addEventListener("widgetReady", widgetHandler, false);
20
- return true;
21
- }
22
- return false;
23
- }
24
-
25
- //--------------------------------------------------------------------------
26
- //
27
- // Public Methods
28
- //
29
- //--------------------------------------------------------------------------
30
- function checkForView(element) {
31
- let isDetached = false;
32
- if (!checkForExpand(element)) {
33
- let viewRef = element.el.closest("arcgis-map") || element.el.closest("arcgis-scene");
34
- if (!viewRef && typeof element.referenceElement === "string") {
35
- viewRef = document.querySelector(element.referenceElement);
36
- isDetached = true;
37
- }
38
- if (viewRef?.view && typeof viewRef?.view !== "string") {
39
- element.view = viewRef.view;
40
- const el = element.childElem || element.el;
41
- if (!isDetached) {
42
- element.view.ui.add(el, element.position);
43
- }
44
- }
45
- else if (viewRef) {
46
- waitForViewHandler(viewRef, element, isDetached);
47
- }
48
- }
49
- }
50
- async function updateForView(viewStr) {
51
- const viewRef = document.querySelector(viewStr);
52
- return new Promise((resolve) => {
53
- if (viewRef?.view !== undefined) {
54
- resolve(viewRef.view);
55
- }
56
- else if (viewRef) {
57
- const handler = () => {
58
- viewRef.removeEventListener("viewReady", handler, false);
59
- resolve(viewRef.view);
60
- };
61
- viewRef.addEventListener("viewReady", handler, false);
62
- }
63
- });
64
- }
65
- async function referenceElementHelper(element, refElement) {
66
- if (typeof refElement === "string") {
67
- element.view = await updateForView(refElement);
68
- }
69
- else if (refElement !== undefined && element.widget) {
70
- element.view = refElement.view;
71
- }
72
- return;
73
- }
74
- //--------------------------------------------------------------------------
75
- //
76
- // Private Methods
77
- //
78
- //--------------------------------------------------------------------------
79
- function waitForViewHandler(viewRef, element, isDetached) {
80
- const handler = () => {
81
- viewRef?.removeEventListener("viewReady", handler, false);
82
- element.view = viewRef?.view;
83
- if (!isDetached && typeof element.view !== "string") {
84
- if (element.childElem) {
85
- element.view?.ui.add(element.childElem, element.position);
86
- }
87
- else {
88
- element.view?.ui.add(element.el, element.position);
89
- }
90
- }
91
- };
92
- viewRef.addEventListener("viewReady", handler, false);
93
- }
94
-
95
1
  function onDisconnectedHelper(element) {
96
2
  if (element.childElem) {
97
3
  if (!element.el.isConnected) {
98
- if (element.view && typeof element.view !== "string") {
4
+ if (element.view) {
99
5
  element.view.ui.remove(element.childElem);
100
6
  }
101
7
  else if (element.widget?.view) {
102
8
  element.widget.view.ui.remove(element.childElem);
103
9
  }
10
+ element._watchHandles.forEach((handle) => {
11
+ handle.remove();
12
+ });
13
+ element._watchHandles = [];
104
14
  element.widget?.destroy();
105
15
  }
106
16
  }
107
17
  else {
108
18
  setTimeout(() => {
109
19
  if (!element.el.isConnected) {
110
- if (element.view && typeof element.view !== "string") {
20
+ if (element.view) {
111
21
  element.view.ui.remove(element.el);
112
22
  }
113
23
  else if (element.widget?.view) {
114
24
  element.widget.view.ui.remove(element.el);
115
25
  }
26
+ element._watchHandles.forEach((handle) => {
27
+ handle.remove();
28
+ });
29
+ element._watchHandles = [];
116
30
  element.widget?.destroy();
117
31
  }
118
32
  }, 1000);
119
33
  }
120
34
  }
121
35
 
122
- export { checkForExpand as a, checkForView as c, onDisconnectedHelper as o, referenceElementHelper as r, updateForView as u };
36
+ export { onDisconnectedHelper as o };
@@ -1,14 +1,16 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { a5 as newWidgetsExpand } from './index2.js';
3
- import { r as referenceElementHelper, o as onDisconnectedHelper } from './disconnected.js';
3
+ import { r as referenceElementHelper } from './component-utils.js';
4
+ import { o as onDisconnectedHelper } from './disconnected.js';
4
5
 
5
- const arcgisExpandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
6
+ const expandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
6
7
 
7
8
  const ArcgisExpand = /*@__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.position = "top-right";
14
16
  this.view = undefined;
@@ -69,6 +71,7 @@ const ArcgisExpand = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
69
71
  }
70
72
  else if (viewRef) {
71
73
  const handler = () => {
74
+ viewRef.removeEventListener("viewReady", handler, false);
72
75
  this.view = viewRef.view;
73
76
  this.view.ui.add(this.childElem, this.position);
74
77
  this.widgetReady.emit({ widget: this.widget });
@@ -82,7 +85,7 @@ const ArcgisExpand = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
82
85
  "referenceElement": ["referenceElementWatcher"],
83
86
  "view": ["viewWatcher"]
84
87
  }; }
85
- static get style() { return arcgisExpandCss; }
88
+ static get style() { return expandCss; }
86
89
  }, [0, "arcgis-expand", {
87
90
  "referenceElement": [1, "reference-element"],
88
91
  "position": [1],
@@ -1,57 +1,58 @@
1
1
  /* ArcgisMapComponents custom elements */
2
- export { ArcgisAreaMeasurement2d as ArcgisAreaMeasurement2d } from '../types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d';
3
- export { ArcgisAreaMeasurement3d as ArcgisAreaMeasurement3d } from '../types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d';
4
- export { ArcgisAttachments as ArcgisAttachments } from '../types/components/arcgis-attachments/arcgis-attachments';
5
- export { ArcgisBasemapGallery as ArcgisBasemapGallery } from '../types/components/arcgis-basemap-gallery/arcgis-basemap-gallery';
6
- export { ArcgisBasemapLayerList as ArcgisBasemapLayerList } from '../types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list';
7
- export { ArcgisBasemapToggle as ArcgisBasemapToggle } from '../types/components/arcgis-basemap-toggle/arcgis-basemap-toggle';
8
- export { ArcgisBookmarks as ArcgisBookmarks } from '../types/components/arcgis-bookmarks/arcgis-bookmarks';
9
- export { ArcgisBuildingExplorer as ArcgisBuildingExplorer } from '../types/components/arcgis-building-explorer/arcgis-building-explorer';
10
- export { ArcgisCompass as ArcgisCompass } from '../types/components/arcgis-compass/arcgis-compass';
11
- export { ArcgisCoordinateConversion as ArcgisCoordinateConversion } from '../types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion';
12
- export { ArcgisDaylight as ArcgisDaylight } from '../types/components/arcgis-daylight/arcgis-daylight';
13
- export { ArcgisDirections as ArcgisDirections } from '../types/components/arcgis-directions/arcgis-directions';
14
- export { ArcgisDirectLineMeasurement3d as ArcgisDirectlineMeasurement3d } from '../types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d';
15
- export { ArcgisDistanceMeasurement2d as ArcgisDistanceMeasurement2d } from '../types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d';
16
- export { ArcgisEditor as ArcgisEditor } from '../types/components/arcgis-editor/arcgis-editor';
17
- export { ArcgisElevationProfile as ArcgisElevationProfile } from '../types/components/arcgis-elevation-profile/arcgis-elevation-profile';
18
- export { ArcgisExpand as ArcgisExpand } from '../types/components/arcgis-expand/arcgis-expand';
19
- export { ArcgisFeature as ArcgisFeature } from '../types/components/arcgis-feature/arcgis-feature';
20
- export { ArcgisFeatureForm as ArcgisFeatureForm } from '../types/components/arcgis-feature-form/arcgis-feature-form';
21
- export { ArcgisFeatureTable as ArcgisFeatureTable } from '../types/components/arcgis-feature-table/arcgis-feature-table';
22
- export { ArcgisFeatureTemplates as ArcgisFeatureTemplates } from '../types/components/arcgis-feature-templates/arcgis-feature-templates';
23
- export { ArcgisFeatures as ArcgisFeatures } from '../types/components/arcgis-features/arcgis-features';
24
- export { ArcgisFloorFilter as ArcgisFloorFilter } from '../types/components/arcgis-floor-filter/arcgis-floor-filter';
25
- export { ArcgisFullscreen as ArcgisFullscreen } from '../types/components/arcgis-fullscreen/arcgis-fullscreen';
26
- export { ArcgisHistogram as ArcgisHistogram } from '../types/components/arcgis-histogram/arcgis-histogram';
27
- export { ArcgisHistogramRangeSlider as ArcgisHistogramRangeSlider } from '../types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider';
28
- export { ArcgisHome as ArcgisHome } from '../types/components/arcgis-home/arcgis-home';
29
- export { ArcgisLayerList as ArcgisLayerList } from '../types/components/arcgis-layer-list/arcgis-layer-list';
30
- export { ArcgisLegend as ArcgisLegend } from '../types/components/arcgis-legend/arcgis-legend';
31
- export { ArcgisLineOfSight as ArcgisLineOfSight } from '../types/components/arcgis-line-of-sight/arcgis-line-of-sight';
32
- export { ArcgisLocate as ArcgisLocate } from '../types/components/arcgis-locate/arcgis-locate';
33
- export { ArcgisMap as ArcgisMap } from '../types/components/arcgis-map/arcgis-map';
34
- export { ArcgisMeasurement as ArcgisMeasurement } from '../types/components/arcgis-measurement/arcgis-measurement';
35
- export { ArcgisNavigationToggle as ArcgisNavigationToggle } from '../types/components/arcgis-navigation-toggle/arcgis-navigation-toggle';
36
- export { ArcgisPrint as ArcgisPrint } from '../types/components/arcgis-print/arcgis-print';
37
- export { ArcgisScaleBar as ArcgisScaleBar } from '../types/components/arcgis-scale-bar/arcgis-scale-bar';
38
- export { ArcgisScaleRangeSlider as ArcgisScaleRangeSlider } from '../types/components/arcgis-scale-range-slider/arcgis-scale-range-slider';
39
- export { ArcgisScene as ArcgisScene } from '../types/components/arcgis-scene/arcgis-scene';
40
- export { ArcgisSearch as ArcgisSearch } from '../types/components/arcgis-search/arcgis-search';
41
- export { ArcgisShadowCast as ArcgisShadowCast } from '../types/components/arcgis-shadow-cast/arcgis-shadow-cast';
42
- export { ArcgisSketch as ArcgisSketch } from '../types/components/arcgis-sketch/arcgis-sketch';
43
- export { ArcgisSlice as ArcgisSlice } from '../types/components/arcgis-slice/arcgis-slice';
44
- export { ArcgisSlider as ArcgisSlider } from '../types/components/arcgis-slider/arcgis-slider';
45
- export { ArcgisSwipe as ArcgisSwipe } from '../types/components/arcgis-swipe/arcgis-swipe';
46
- export { ArcgisTableList as ArcgisTableList } from '../types/components/arcgis-table-list/arcgis-table-list';
47
- export { ArcgisTimeSlider as ArcgisTimeSlider } from '../types/components/arcgis-time-slider/arcgis-time-slider';
48
- export { ArcgisTrack as ArcgisTrack } from '../types/components/arcgis-track/arcgis-track';
49
- export { ArcgisUtilityNetworkAssociations as ArcgisUtilityNetworkAssociations } from '../types/components/arcgis-utility-network-associations/arcgis-utility-network-associations';
50
- export { ArcgisUtilityNetworkTrace as ArcgisUtilityNetworkTrace } from '../types/components/arcgis-utility-network-trace/arcgis-utility-network-trace';
51
- export { ArcgisUtilityNetworkValidateTopology as ArcgisUtilityNetworkValidateTopology } from '../types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology';
52
- export { ArcgisValuePicker as ArcgisValuePicker } from '../types/components/arcgis-value-picker/arcgis-value-picker';
53
- export { ArcgisWeather as ArcgisWeather } from '../types/components/arcgis-weather/arcgis-weather';
54
- export { ArcgisZoom as ArcgisZoom } from '../types/components/arcgis-zoom/arcgis-zoom';
2
+ export { ArcgisAreaMeasurement2d as ArcgisAreaMeasurement2d } from '../types/components/area-measurement-2d/area-measurement-2d';
3
+ export { ArcgisAreaMeasurement3d as ArcgisAreaMeasurement3d } from '../types/components/area-measurement-3d/area-measurement-3d';
4
+ export { ArcgisAttachments as ArcgisAttachments } from '../types/components/attachments/attachments';
5
+ export { ArcgisBasemapGallery as ArcgisBasemapGallery } from '../types/components/basemap-gallery/basemap-gallery';
6
+ export { ArcgisBasemapLayerList as ArcgisBasemapLayerList } from '../types/components/basemap-layer-list/basemap-layer-list';
7
+ export { ArcgisBasemapToggle as ArcgisBasemapToggle } from '../types/components/basemap-toggle/basemap-toggle';
8
+ export { ArcgisBookmarks as ArcgisBookmarks } from '../types/components/bookmarks/bookmarks';
9
+ export { ArcgisBuildingExplorer as ArcgisBuildingExplorer } from '../types/components/building-explorer/building-explorer';
10
+ export { ArcgisCompass as ArcgisCompass } from '../types/components/compass/compass';
11
+ export { ArcgisCoordinateConversion as ArcgisCoordinateConversion } from '../types/components/coordinate-conversion/coordinate-conversion';
12
+ export { ArcgisDaylight as ArcgisDaylight } from '../types/components/daylight/daylight';
13
+ export { ArcgisDirections as ArcgisDirections } from '../types/components/directions/directions';
14
+ export { ArcgisDirectLineMeasurement3d as ArcgisDirectlineMeasurement3d } from '../types/components/directline-measurement-3d/directline-measurement-3d';
15
+ export { ArcgisDistanceMeasurement2d as ArcgisDistanceMeasurement2d } from '../types/components/distance-measurement-2d/distance-measurement-2d';
16
+ export { ArcgisEditor as ArcgisEditor } from '../types/components/editor/editor';
17
+ export { ArcgisElevationProfile as ArcgisElevationProfile } from '../types/components/elevation-profile/elevation-profile';
18
+ export { ArcgisExpand as ArcgisExpand } from '../types/components/expand/expand';
19
+ export { ArcgisFeature as ArcgisFeature } from '../types/components/feature/feature';
20
+ export { ArcgisFeatureForm as ArcgisFeatureForm } from '../types/components/feature-form/feature-form';
21
+ export { ArcgisFeatureTable as ArcgisFeatureTable } from '../types/components/feature-table/feature-table';
22
+ export { ArcgisFeatureTemplates as ArcgisFeatureTemplates } from '../types/components/feature-templates/feature-templates';
23
+ export { ArcgisFeatures as ArcgisFeatures } from '../types/components/features/features';
24
+ export { ArcgisFloorFilter as ArcgisFloorFilter } from '../types/components/floor-filter/floor-filter';
25
+ export { ArcgisFullscreen as ArcgisFullscreen } from '../types/components/fullscreen/fullscreen';
26
+ export { ArcgisHistogram as ArcgisHistogram } from '../types/components/histogram/histogram';
27
+ export { ArcgisHistogramRangeSlider as ArcgisHistogramRangeSlider } from '../types/components/histogram-range-slider/histogram-range-slider';
28
+ export { ArcgisHome as ArcgisHome } from '../types/components/home/home';
29
+ export { ArcgisLayerList as ArcgisLayerList } from '../types/components/layer-list/layer-list';
30
+ export { ArcgisLegend as ArcgisLegend } from '../types/components/legend/legend';
31
+ export { ArcgisLineOfSight as ArcgisLineOfSight } from '../types/components/line-of-sight/line-of-sight';
32
+ export { ArcgisLocate as ArcgisLocate } from '../types/components/locate/locate';
33
+ export { ArcgisMap as ArcgisMap } from '../types/components/map/map';
34
+ export { ArcgisMeasurement as ArcgisMeasurement } from '../types/components/measurement/measurement';
35
+ export { ArcgisNavigationToggle as ArcgisNavigationToggle } from '../types/components/navigation-toggle/navigation-toggle';
36
+ export { ArcgisPlacement as ArcgisPlacement } from '../types/components/placement/placement';
37
+ export { ArcgisPrint as ArcgisPrint } from '../types/components/print/print';
38
+ export { ArcgisScaleBar as ArcgisScaleBar } from '../types/components/scale-bar/scale-bar';
39
+ export { ArcgisScaleRangeSlider as ArcgisScaleRangeSlider } from '../types/components/scale-range-slider/scale-range-slider';
40
+ export { ArcgisScene as ArcgisScene } from '../types/components/scene/scene';
41
+ export { ArcgisSearch as ArcgisSearch } from '../types/components/search/search';
42
+ export { ArcgisShadowCast as ArcgisShadowCast } from '../types/components/shadow-cast/shadow-cast';
43
+ export { ArcgisSketch as ArcgisSketch } from '../types/components/sketch/sketch';
44
+ export { ArcgisSlice as ArcgisSlice } from '../types/components/slice/slice';
45
+ export { ArcgisSlider as ArcgisSlider } from '../types/components/slider/slider';
46
+ export { ArcgisSwipe as ArcgisSwipe } from '../types/components/swipe/swipe';
47
+ export { ArcgisTableList as ArcgisTableList } from '../types/components/table-list/table-list';
48
+ export { ArcgisTimeSlider as ArcgisTimeSlider } from '../types/components/time-slider/time-slider';
49
+ export { ArcgisTrack as ArcgisTrack } from '../types/components/track/track';
50
+ export { ArcgisUtilityNetworkAssociations as ArcgisUtilityNetworkAssociations } from '../types/components/utility-network-associations/utility-network-associations';
51
+ export { ArcgisUtilityNetworkTrace as ArcgisUtilityNetworkTrace } from '../types/components/utility-network-trace/utility-network-trace';
52
+ export { ArcgisUtilityNetworkValidateTopology as ArcgisUtilityNetworkValidateTopology } from '../types/components/utility-network-validate-topology/utility-network-validate-topology';
53
+ export { ArcgisValuePicker as ArcgisValuePicker } from '../types/components/value-picker/value-picker';
54
+ export { ArcgisWeather as ArcgisWeather } from '../types/components/weather/weather';
55
+ export { ArcgisZoom as ArcgisZoom } from '../types/components/zoom/zoom';
55
56
 
56
57
  /**
57
58
  * Used to manually set the base path where assets can be found.
@@ -33,6 +33,7 @@ export { ArcgisLocate, defineCustomElement as defineCustomElementArcgisLocate }
33
33
  export { ArcgisMap, defineCustomElement as defineCustomElementArcgisMap } from './arcgis-map.js';
34
34
  export { ArcgisMeasurement, defineCustomElement as defineCustomElementArcgisMeasurement } from './arcgis-measurement.js';
35
35
  export { ArcgisNavigationToggle, defineCustomElement as defineCustomElementArcgisNavigationToggle } from './arcgis-navigation-toggle.js';
36
+ export { ArcgisPlacement, defineCustomElement as defineCustomElementArcgisPlacement } from './arcgis-placement.js';
36
37
  export { ArcgisPrint, defineCustomElement as defineCustomElementArcgisPrint } from './arcgis-print.js';
37
38
  export { ArcgisScaleBar, defineCustomElement as defineCustomElementArcgisScaleBar } from './arcgis-scale-bar.js';
38
39
  export { ArcgisScaleRangeSlider, defineCustomElement as defineCustomElementArcgisScaleRangeSlider } from './arcgis-scale-range-slider.js';
@@ -1,14 +1,15 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { g as newWidgetsAreaMeasurement2D, i as importCoreReactiveUtils } from './index-c227d296.js';
3
- import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
- import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-d73b34b5.js';
2
+ import { f as newWidgetsAreaMeasurement2D, a as importCoreReactiveUtils } from './index-307928e0.js';
3
+ import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils-6b40f5ab.js';
4
+ import { o as onDisconnectedHelper } from './disconnected-dc405cac.js';
5
5
 
6
- const arcgisAreaMeasurement2dCss = "";
6
+ const areaMeasurement2dCss = "";
7
7
 
8
8
  const ArcgisAreaMeasurement2d = class {
9
9
  constructor(hostRef) {
10
10
  registerInstance(this, hostRef);
11
11
  this.widgetReady = createEvent(this, "widgetReady", 7);
12
+ this._watchHandles = [];
12
13
  this.referenceElement = undefined;
13
14
  this.position = "bottom-left";
14
15
  this.expandable = false;
@@ -66,9 +67,9 @@ const ArcgisAreaMeasurement2d = class {
66
67
  //--------------------------------------------------------------------------
67
68
  async _addWatchers() {
68
69
  const { watch } = await importCoreReactiveUtils();
69
- watch(() => this.widget.unit, (value) => (this.unit = value), {
70
+ addHandles(this, watch(() => this.widget.unit, (value) => (this.unit = value), {
70
71
  initial: true
71
- });
72
+ }));
72
73
  }
73
74
  _createParams() {
74
75
  const params = {
@@ -92,6 +93,6 @@ const ArcgisAreaMeasurement2d = class {
92
93
  "view": ["viewWatcher"]
93
94
  }; }
94
95
  };
95
- ArcgisAreaMeasurement2d.style = arcgisAreaMeasurement2dCss;
96
+ ArcgisAreaMeasurement2d.style = areaMeasurement2dCss;
96
97
 
97
98
  export { ArcgisAreaMeasurement2d as arcgis_area_measurement_2d };