@arcgis/map-components 4.28.0-beta.8 → 4.29.0-beta.0

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 (360) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  2. package/dist/arcgis-map-components/{p-fa53d702.entry.js → p-01d9efae.entry.js} +1 -1
  3. package/dist/arcgis-map-components/{p-131f6553.entry.js → p-06df2252.entry.js} +1 -1
  4. package/dist/arcgis-map-components/{p-694bf52e.entry.js → p-109bebac.entry.js} +1 -1
  5. package/dist/arcgis-map-components/p-11e7ce02.entry.js +1 -0
  6. package/dist/arcgis-map-components/p-1435356e.entry.js +1 -0
  7. package/dist/arcgis-map-components/p-174f9d11.entry.js +1 -0
  8. package/dist/arcgis-map-components/p-18c653a4.entry.js +1 -0
  9. package/dist/arcgis-map-components/{p-178ada61.entry.js → p-198374aa.entry.js} +1 -1
  10. package/dist/arcgis-map-components/p-1b5e33ea.entry.js +1 -0
  11. package/dist/arcgis-map-components/{p-d0d53630.entry.js → p-1c631990.entry.js} +1 -1
  12. package/dist/arcgis-map-components/p-1e9abc6d.entry.js +1 -0
  13. package/dist/arcgis-map-components/{p-e16e6352.entry.js → p-2165089c.entry.js} +1 -1
  14. package/dist/arcgis-map-components/p-21721d4b.entry.js +1 -0
  15. package/dist/arcgis-map-components/p-25089dd3.entry.js +1 -0
  16. package/dist/arcgis-map-components/p-2792ef61.entry.js +1 -0
  17. package/dist/arcgis-map-components/{p-22fbffc8.entry.js → p-2a84985d.entry.js} +1 -1
  18. package/dist/arcgis-map-components/{p-0036f333.entry.js → p-2abff98f.entry.js} +1 -1
  19. package/dist/arcgis-map-components/p-2becbf01.entry.js +1 -0
  20. package/dist/arcgis-map-components/{p-918a22de.entry.js → p-2c5be6b0.entry.js} +1 -1
  21. package/dist/arcgis-map-components/p-2cf30ef5.entry.js +1 -0
  22. package/dist/arcgis-map-components/p-30ef17d7.entry.js +1 -0
  23. package/dist/arcgis-map-components/{p-ac93136c.entry.js → p-312ff83f.entry.js} +1 -1
  24. package/dist/arcgis-map-components/{p-83e008fe.entry.js → p-3155dc12.entry.js} +1 -1
  25. package/dist/arcgis-map-components/p-3279d5e4.entry.js +1 -0
  26. package/dist/arcgis-map-components/p-3361d81f.entry.js +1 -0
  27. package/dist/arcgis-map-components/p-3587b4d8.entry.js +1 -0
  28. package/dist/arcgis-map-components/p-35b675ca.entry.js +1 -0
  29. package/dist/arcgis-map-components/{p-f3bbc227.entry.js → p-364d4187.entry.js} +1 -1
  30. package/dist/arcgis-map-components/{p-76a7858b.entry.js → p-37eceffa.entry.js} +1 -1
  31. package/dist/arcgis-map-components/p-39443d81.entry.js +1 -0
  32. package/dist/arcgis-map-components/{p-8dd1ea88.entry.js → p-3b5560bb.entry.js} +1 -1
  33. package/dist/arcgis-map-components/p-3bd2d0aa.entry.js +1 -0
  34. package/dist/arcgis-map-components/p-3d55c74c.entry.js +1 -0
  35. package/dist/arcgis-map-components/p-3e676259.entry.js +1 -0
  36. package/dist/arcgis-map-components/{p-4d34e104.entry.js → p-43c52a2d.entry.js} +1 -1
  37. package/dist/arcgis-map-components/p-47629a4c.entry.js +1 -0
  38. package/dist/arcgis-map-components/p-4b5fa9a2.entry.js +1 -0
  39. package/dist/arcgis-map-components/p-4bb15110.entry.js +1 -0
  40. package/dist/arcgis-map-components/p-4c103777.entry.js +1 -0
  41. package/dist/arcgis-map-components/p-4d5e7ddd.entry.js +1 -0
  42. package/dist/arcgis-map-components/p-4dfcfa91.entry.js +1 -0
  43. package/dist/arcgis-map-components/{p-ef6e48a8.entry.js → p-4fa3c6fe.entry.js} +1 -1
  44. package/dist/arcgis-map-components/p-501861a1.entry.js +1 -0
  45. package/dist/arcgis-map-components/p-535bf289.entry.js +1 -0
  46. package/dist/arcgis-map-components/p-56d3bde2.entry.js +1 -0
  47. package/dist/arcgis-map-components/p-576ef000.entry.js +1 -0
  48. package/dist/arcgis-map-components/p-5a91868a.entry.js +1 -0
  49. package/dist/arcgis-map-components/{p-0fdd549f.entry.js → p-5d835456.entry.js} +1 -1
  50. package/dist/arcgis-map-components/{p-6d0f4381.entry.js → p-5db2786d.entry.js} +1 -1
  51. package/dist/arcgis-map-components/p-5ea3ce11.entry.js +1 -0
  52. package/dist/arcgis-map-components/p-620959fc.js +1 -0
  53. package/dist/arcgis-map-components/p-64607de6.entry.js +1 -0
  54. package/dist/arcgis-map-components/p-69374811.entry.js +1 -0
  55. package/dist/arcgis-map-components/p-69b6541c.entry.js +1 -0
  56. package/dist/arcgis-map-components/{p-bcae4704.entry.js → p-6c3e28cd.entry.js} +1 -1
  57. package/dist/arcgis-map-components/p-721673c8.entry.js +1 -0
  58. package/dist/arcgis-map-components/p-737f79f3.entry.js +1 -0
  59. package/dist/arcgis-map-components/p-76af5d10.entry.js +1 -0
  60. package/dist/arcgis-map-components/p-7add1ddc.entry.js +1 -0
  61. package/dist/arcgis-map-components/{p-d876ad64.entry.js → p-82462685.entry.js} +1 -1
  62. package/dist/arcgis-map-components/{p-8703c914.entry.js → p-83b8f950.entry.js} +1 -1
  63. package/dist/arcgis-map-components/{p-1f9f5867.entry.js → p-859d99ff.entry.js} +1 -1
  64. package/dist/arcgis-map-components/p-8c18a99c.entry.js +1 -0
  65. package/dist/arcgis-map-components/{p-7920ac5d.entry.js → p-8d184d92.entry.js} +1 -1
  66. package/dist/arcgis-map-components/p-8fde8001.entry.js +1 -0
  67. package/dist/arcgis-map-components/p-9040f50a.entry.js +1 -0
  68. package/dist/arcgis-map-components/p-927f8748.entry.js +1 -0
  69. package/dist/arcgis-map-components/p-93b5c951.entry.js +1 -0
  70. package/dist/arcgis-map-components/p-96b72ddd.js +1 -0
  71. package/dist/arcgis-map-components/p-99ab4a91.entry.js +1 -0
  72. package/dist/arcgis-map-components/p-9aad48fe.entry.js +1 -0
  73. package/dist/arcgis-map-components/p-9c1b8e69.entry.js +1 -0
  74. package/dist/arcgis-map-components/p-9cfcd5e2.entry.js +1 -0
  75. package/dist/arcgis-map-components/p-9daf744f.entry.js +1 -0
  76. package/dist/arcgis-map-components/p-9e667282.entry.js +1 -0
  77. package/dist/arcgis-map-components/p-a242b477.entry.js +1 -0
  78. package/dist/arcgis-map-components/p-a5f78ba3.entry.js +1 -0
  79. package/dist/arcgis-map-components/p-a67dda4e.entry.js +1 -0
  80. package/dist/arcgis-map-components/{p-fb435fba.entry.js → p-acb4a35a.entry.js} +1 -1
  81. package/dist/arcgis-map-components/{p-6f0ff570.entry.js → p-aed5d6b3.entry.js} +1 -1
  82. package/dist/arcgis-map-components/p-b19043d5.entry.js +1 -0
  83. package/dist/arcgis-map-components/p-b47a4384.entry.js +1 -0
  84. package/dist/arcgis-map-components/p-b9acaa74.entry.js +1 -0
  85. package/dist/arcgis-map-components/p-ba19bf3b.entry.js +1 -0
  86. package/dist/arcgis-map-components/p-ba6ee56b.entry.js +1 -0
  87. package/dist/arcgis-map-components/p-c0d9a07e.entry.js +1 -0
  88. package/dist/arcgis-map-components/p-c63a5c7f.entry.js +1 -0
  89. package/dist/arcgis-map-components/p-c6e11b15.entry.js +1 -0
  90. package/dist/arcgis-map-components/p-ce14e49f.entry.js +1 -0
  91. package/dist/arcgis-map-components/p-d3fbbf3f.entry.js +1 -0
  92. package/dist/arcgis-map-components/p-d8be8a46.entry.js +1 -0
  93. package/dist/arcgis-map-components/p-dafb17cf.entry.js +1 -0
  94. package/dist/arcgis-map-components/p-dd2f47ce.entry.js +1 -0
  95. package/dist/arcgis-map-components/p-df6a6059.entry.js +1 -0
  96. package/dist/arcgis-map-components/p-e15196d8.entry.js +1 -0
  97. package/dist/arcgis-map-components/p-ec2cc024.entry.js +1 -0
  98. package/dist/arcgis-map-components/p-ef0b3818.entry.js +1 -0
  99. package/dist/arcgis-map-components/p-f03d0e30.entry.js +1 -0
  100. package/dist/arcgis-map-components/p-f0e5dcc7.entry.js +1 -0
  101. package/dist/arcgis-map-components/p-f5cc7f2d.entry.js +1 -0
  102. package/dist/arcgis-map-components/p-f5fd6688.entry.js +1 -0
  103. package/dist/arcgis-map-components/p-f7b74cd4.entry.js +1 -0
  104. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +2 -2
  105. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +2 -2
  106. package/dist/cjs/arcgis-attachments.cjs.entry.js +2 -2
  107. package/dist/cjs/{arcgis-directional-pad.cjs.entry.js → arcgis-basemap-gallery.cjs.entry.js} +23 -26
  108. package/dist/cjs/{arcgis-search.cjs.entry.js → arcgis-basemap-gallery_4.cjs.entry.js} +274 -2
  109. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +2 -2
  110. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +2 -2
  111. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +2 -2
  112. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +2 -2
  113. package/dist/cjs/arcgis-compass.cjs.entry.js +2 -2
  114. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +2 -2
  115. package/dist/cjs/arcgis-daylight.cjs.entry.js +2 -2
  116. package/dist/cjs/arcgis-directions.cjs.entry.js +7 -7
  117. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +2 -2
  118. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +2 -2
  119. package/dist/cjs/arcgis-editor.cjs.entry.js +2 -2
  120. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +2 -2
  121. package/dist/cjs/arcgis-expand_4.cjs.entry.js +758 -0
  122. package/dist/cjs/arcgis-feature-form.cjs.entry.js +2 -2
  123. package/dist/cjs/arcgis-feature-table.cjs.entry.js +2 -2
  124. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +1 -1
  125. package/dist/cjs/arcgis-feature.cjs.entry.js +2 -2
  126. package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
  127. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +2 -2
  128. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +2 -2
  129. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +2 -2
  130. package/dist/cjs/arcgis-histogram.cjs.entry.js +2 -2
  131. package/dist/cjs/arcgis-home.cjs.entry.js +2 -2
  132. package/dist/cjs/arcgis-layer-list.cjs.entry.js +2 -2
  133. package/dist/cjs/arcgis-legend.cjs.entry.js +2 -2
  134. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +2 -2
  135. package/dist/cjs/arcgis-locate.cjs.entry.js +2 -2
  136. package/dist/cjs/arcgis-map-components.cjs.js +1 -1
  137. package/dist/cjs/arcgis-measurement.cjs.entry.js +2 -2
  138. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +2 -2
  139. package/dist/cjs/arcgis-print.cjs.entry.js +2 -2
  140. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +2 -2
  141. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +2 -2
  142. package/dist/cjs/arcgis-scene.cjs.entry.js +2 -2
  143. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +2 -2
  144. package/dist/cjs/arcgis-sketch.cjs.entry.js +2 -2
  145. package/dist/cjs/arcgis-slice.cjs.entry.js +2 -2
  146. package/dist/cjs/arcgis-slider.cjs.entry.js +2 -2
  147. package/dist/cjs/arcgis-swipe.cjs.entry.js +2 -2
  148. package/dist/cjs/arcgis-table-list.cjs.entry.js +2 -2
  149. package/dist/cjs/arcgis-time-slider.cjs.entry.js +2 -2
  150. package/dist/cjs/arcgis-track.cjs.entry.js +2 -2
  151. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +2 -2
  152. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +2 -2
  153. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +2 -2
  154. package/dist/cjs/arcgis-value-picker.cjs.entry.js +2 -2
  155. package/dist/cjs/arcgis-weather.cjs.entry.js +2 -2
  156. package/dist/cjs/arcgis-zoom.cjs.entry.js +2 -2
  157. package/dist/cjs/index-6b51d5a0.js +6 -14
  158. package/dist/cjs/{index-4fbb72fc.js → index-bfda1cdc.js} +0 -12
  159. package/dist/cjs/loader.cjs.js +1 -1
  160. package/dist/components/arcgis-area-measurement-2d.js +2 -2
  161. package/dist/components/arcgis-area-measurement-3d.js +2 -2
  162. package/dist/components/arcgis-attachments.js +1 -1
  163. package/dist/components/arcgis-basemap-gallery.js +2 -2
  164. package/dist/components/arcgis-basemap-layer-list.js +2 -2
  165. package/dist/components/arcgis-basemap-toggle.js +2 -2
  166. package/dist/components/arcgis-bookmarks.js +2 -2
  167. package/dist/components/arcgis-building-explorer.js +2 -2
  168. package/dist/components/arcgis-compass.js +2 -2
  169. package/dist/components/arcgis-coordinate-conversion.js +2 -2
  170. package/dist/components/arcgis-daylight.js +2 -2
  171. package/dist/components/arcgis-directions.js +9 -9
  172. package/dist/components/arcgis-directline-measurement-3d.js +3 -3
  173. package/dist/components/arcgis-distance-measurement-2d.js +3 -3
  174. package/dist/components/arcgis-editor.js +3 -3
  175. package/dist/components/arcgis-elevation-profile.js +3 -3
  176. package/dist/components/arcgis-expand2.js +4 -4
  177. package/dist/components/arcgis-feature-form.js +2 -2
  178. package/dist/components/arcgis-feature-table.js +22 -22
  179. package/dist/components/arcgis-feature-templates.js +1 -1
  180. package/dist/components/arcgis-feature.js +3 -3
  181. package/dist/components/arcgis-features.js +3 -3
  182. package/dist/components/arcgis-floor-filter.js +3 -3
  183. package/dist/components/arcgis-fullscreen.js +3 -3
  184. package/dist/components/arcgis-histogram-range-slider.js +2 -2
  185. package/dist/components/arcgis-histogram.js +2 -2
  186. package/dist/components/arcgis-home.js +3 -3
  187. package/dist/components/arcgis-layer-list.js +3 -3
  188. package/dist/components/arcgis-legend.js +3 -3
  189. package/dist/components/arcgis-line-of-sight.js +3 -3
  190. package/dist/components/arcgis-locate.js +3 -3
  191. package/dist/components/arcgis-map.js +4 -4
  192. package/dist/components/arcgis-measurement.js +3 -3
  193. package/dist/components/arcgis-navigation-toggle.js +3 -3
  194. package/dist/components/arcgis-print.js +3 -3
  195. package/dist/components/arcgis-scale-bar.js +3 -3
  196. package/dist/components/arcgis-scale-range-slider.js +3 -3
  197. package/dist/components/arcgis-scene.js +4 -4
  198. package/dist/components/arcgis-search.js +3 -3
  199. package/dist/components/arcgis-shadow-cast.js +3 -3
  200. package/dist/components/arcgis-sketch.js +3 -3
  201. package/dist/components/arcgis-slice.js +3 -3
  202. package/dist/components/arcgis-slider.js +2 -2
  203. package/dist/components/arcgis-swipe.js +3 -3
  204. package/dist/components/arcgis-table-list.js +3 -3
  205. package/dist/components/arcgis-time-slider.js +3 -3
  206. package/dist/components/arcgis-track.js +3 -3
  207. package/dist/components/arcgis-utility-network-associations.js +3 -3
  208. package/dist/components/arcgis-utility-network-trace.js +3 -3
  209. package/dist/components/arcgis-utility-network-validate-topology.js +3 -3
  210. package/dist/components/arcgis-value-picker.js +3 -3
  211. package/dist/components/arcgis-weather.js +3 -3
  212. package/dist/components/arcgis-zoom.js +3 -3
  213. package/dist/components/index.d.ts +0 -1
  214. package/dist/components/index.js +0 -1
  215. package/dist/components/index2.js +1 -12
  216. package/dist/esm/arcgis-area-measurement-2d.entry.js +2 -2
  217. package/dist/esm/arcgis-area-measurement-3d.entry.js +2 -2
  218. package/dist/esm/arcgis-attachments.entry.js +2 -2
  219. package/dist/esm/{arcgis-directional-pad.entry.js → arcgis-basemap-gallery.entry.js} +24 -27
  220. package/dist/esm/{arcgis-search.entry.js → arcgis-basemap-gallery_4.entry.js} +272 -3
  221. package/dist/esm/arcgis-basemap-layer-list.entry.js +2 -2
  222. package/dist/esm/arcgis-basemap-toggle.entry.js +2 -2
  223. package/dist/esm/arcgis-bookmarks.entry.js +2 -2
  224. package/dist/esm/arcgis-building-explorer.entry.js +2 -2
  225. package/dist/esm/arcgis-compass.entry.js +2 -2
  226. package/dist/esm/arcgis-coordinate-conversion.entry.js +2 -2
  227. package/dist/esm/arcgis-daylight.entry.js +2 -2
  228. package/dist/esm/arcgis-directions.entry.js +7 -7
  229. package/dist/esm/arcgis-directline-measurement-3d.entry.js +2 -2
  230. package/dist/esm/arcgis-distance-measurement-2d.entry.js +2 -2
  231. package/dist/esm/arcgis-editor.entry.js +2 -2
  232. package/dist/esm/arcgis-elevation-profile.entry.js +2 -2
  233. package/dist/esm/arcgis-expand_4.entry.js +751 -0
  234. package/dist/esm/arcgis-feature-form.entry.js +2 -2
  235. package/dist/esm/arcgis-feature-table.entry.js +2 -2
  236. package/dist/esm/arcgis-feature-templates.entry.js +1 -1
  237. package/dist/esm/arcgis-feature.entry.js +2 -2
  238. package/dist/esm/arcgis-features.entry.js +2 -2
  239. package/dist/esm/arcgis-floor-filter.entry.js +2 -2
  240. package/dist/esm/arcgis-fullscreen.entry.js +2 -2
  241. package/dist/esm/arcgis-histogram-range-slider.entry.js +2 -2
  242. package/dist/esm/arcgis-histogram.entry.js +2 -2
  243. package/dist/esm/arcgis-home.entry.js +2 -2
  244. package/dist/esm/arcgis-layer-list.entry.js +2 -2
  245. package/dist/esm/arcgis-legend.entry.js +2 -2
  246. package/dist/esm/arcgis-line-of-sight.entry.js +2 -2
  247. package/dist/esm/arcgis-locate.entry.js +2 -2
  248. package/dist/esm/arcgis-map-components.js +1 -1
  249. package/dist/esm/arcgis-measurement.entry.js +2 -2
  250. package/dist/esm/arcgis-navigation-toggle.entry.js +2 -2
  251. package/dist/esm/arcgis-print.entry.js +2 -2
  252. package/dist/esm/arcgis-scale-bar.entry.js +2 -2
  253. package/dist/esm/arcgis-scale-range-slider.entry.js +2 -2
  254. package/dist/esm/arcgis-scene.entry.js +2 -2
  255. package/dist/esm/arcgis-shadow-cast.entry.js +2 -2
  256. package/dist/esm/arcgis-sketch.entry.js +2 -2
  257. package/dist/esm/arcgis-slice.entry.js +2 -2
  258. package/dist/esm/arcgis-slider.entry.js +2 -2
  259. package/dist/esm/arcgis-swipe.entry.js +2 -2
  260. package/dist/esm/arcgis-table-list.entry.js +2 -2
  261. package/dist/esm/arcgis-time-slider.entry.js +2 -2
  262. package/dist/esm/arcgis-track.entry.js +2 -2
  263. package/dist/esm/arcgis-utility-network-associations.entry.js +2 -2
  264. package/dist/esm/arcgis-utility-network-trace.entry.js +2 -2
  265. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +2 -2
  266. package/dist/esm/arcgis-value-picker.entry.js +2 -2
  267. package/dist/esm/arcgis-weather.entry.js +2 -2
  268. package/dist/esm/arcgis-zoom.entry.js +2 -2
  269. package/dist/esm/{index-529f12dd.js → index-60c6bcb8.js} +1 -12
  270. package/dist/esm/index-c227d296.js +660 -0
  271. package/dist/esm/index-eb3ead33.js +6 -14
  272. package/dist/esm/loader.js +1 -1
  273. package/dist/types/components/arcgis-area-measurement-2d/arcgis-area-measurement-2d.d.ts +3 -1
  274. package/dist/types/components/arcgis-area-measurement-3d/arcgis-area-measurement-3d.d.ts +3 -1
  275. package/dist/types/components/arcgis-attachments/arcgis-attachments.d.ts +3 -1
  276. package/dist/types/components/arcgis-basemap-gallery/arcgis-basemap-gallery.d.ts +3 -1
  277. package/dist/types/components/arcgis-basemap-layer-list/arcgis-basemap-layer-list.d.ts +3 -1
  278. package/dist/types/components/arcgis-basemap-toggle/arcgis-basemap-toggle.d.ts +3 -1
  279. package/dist/types/components/arcgis-bookmarks/arcgis-bookmarks.d.ts +3 -1
  280. package/dist/types/components/arcgis-building-explorer/arcgis-building-explorer.d.ts +3 -1
  281. package/dist/types/components/arcgis-compass/arcgis-compass.d.ts +3 -1
  282. package/dist/types/components/arcgis-coordinate-conversion/arcgis-coordinate-conversion.d.ts +3 -1
  283. package/dist/types/components/arcgis-daylight/arcgis-daylight.d.ts +3 -1
  284. package/dist/types/components/arcgis-directions/arcgis-directions.d.ts +5 -3
  285. package/dist/types/components/arcgis-directline-measurement-3d/arcgis-directline-measurement-3d.d.ts +3 -1
  286. package/dist/types/components/arcgis-distance-measurement-2d/arcgis-distance-measurement-2d.d.ts +3 -1
  287. package/dist/types/components/arcgis-editor/arcgis-editor.d.ts +3 -1
  288. package/dist/types/components/arcgis-elevation-profile/arcgis-elevation-profile.d.ts +3 -1
  289. package/dist/types/components/arcgis-expand/arcgis-expand.d.ts +3 -1
  290. package/dist/types/components/arcgis-feature/arcgis-feature.d.ts +3 -1
  291. package/dist/types/components/arcgis-feature-form/arcgis-feature-form.d.ts +3 -1
  292. package/dist/types/components/arcgis-feature-table/arcgis-feature-table.d.ts +5 -6
  293. package/dist/types/components/arcgis-feature-templates/arcgis-feature-templates.d.ts +3 -1
  294. package/dist/types/components/arcgis-features/arcgis-features.d.ts +3 -1
  295. package/dist/types/components/arcgis-floor-filter/arcgis-floor-filter.d.ts +3 -1
  296. package/dist/types/components/arcgis-fullscreen/arcgis-fullscreen.d.ts +3 -1
  297. package/dist/types/components/arcgis-histogram/arcgis-histogram.d.ts +3 -1
  298. package/dist/types/components/arcgis-histogram-range-slider/arcgis-histogram-range-slider.d.ts +3 -1
  299. package/dist/types/components/arcgis-home/arcgis-home.d.ts +3 -1
  300. package/dist/types/components/arcgis-layer-list/arcgis-layer-list.d.ts +3 -1
  301. package/dist/types/components/arcgis-legend/arcgis-legend.d.ts +3 -1
  302. package/dist/types/components/arcgis-line-of-sight/arcgis-line-of-sight.d.ts +3 -1
  303. package/dist/types/components/arcgis-locate/arcgis-locate.d.ts +3 -1
  304. package/dist/types/components/arcgis-map/arcgis-map.d.ts +3 -1
  305. package/dist/types/components/arcgis-measurement/arcgis-measurement.d.ts +3 -1
  306. package/dist/types/components/arcgis-navigation-toggle/arcgis-navigation-toggle.d.ts +3 -1
  307. package/dist/types/components/arcgis-print/arcgis-print.d.ts +3 -1
  308. package/dist/types/components/arcgis-scale-bar/arcgis-scale-bar.d.ts +3 -1
  309. package/dist/types/components/arcgis-scale-range-slider/arcgis-scale-range-slider.d.ts +3 -1
  310. package/dist/types/components/arcgis-scene/arcgis-scene.d.ts +3 -1
  311. package/dist/types/components/arcgis-search/arcgis-search.d.ts +3 -1
  312. package/dist/types/components/arcgis-shadow-cast/arcgis-shadow-cast.d.ts +3 -1
  313. package/dist/types/components/arcgis-sketch/arcgis-sketch.d.ts +3 -1
  314. package/dist/types/components/arcgis-slice/arcgis-slice.d.ts +3 -1
  315. package/dist/types/components/arcgis-slider/arcgis-slider.d.ts +3 -1
  316. package/dist/types/components/arcgis-swipe/arcgis-swipe.d.ts +3 -1
  317. package/dist/types/components/arcgis-table-list/arcgis-table-list.d.ts +3 -1
  318. package/dist/types/components/arcgis-time-slider/arcgis-time-slider.d.ts +3 -1
  319. package/dist/types/components/arcgis-track/arcgis-track.d.ts +3 -1
  320. package/dist/types/components/arcgis-utility-network-associations/arcgis-utility-network-associations.d.ts +3 -1
  321. package/dist/types/components/arcgis-utility-network-trace/arcgis-utility-network-trace.d.ts +3 -1
  322. package/dist/types/components/arcgis-utility-network-validate-topology/arcgis-utility-network-validate-topology.d.ts +3 -1
  323. package/dist/types/components/arcgis-value-picker/arcgis-value-picker.d.ts +3 -1
  324. package/dist/types/components/arcgis-weather/arcgis-weather.d.ts +3 -1
  325. package/dist/types/components/arcgis-zoom/arcgis-zoom.d.ts +3 -1
  326. package/dist/types/components.d.ts +55 -88
  327. package/package.json +19 -14
  328. package/dist/arcgis-map-components/p-05d42e0b.entry.js +0 -1
  329. package/dist/arcgis-map-components/p-183f0226.entry.js +0 -1
  330. package/dist/arcgis-map-components/p-19731f4b.entry.js +0 -1
  331. package/dist/arcgis-map-components/p-19d06e84.entry.js +0 -1
  332. package/dist/arcgis-map-components/p-1d276a57.entry.js +0 -1
  333. package/dist/arcgis-map-components/p-22d64d2c.entry.js +0 -1
  334. package/dist/arcgis-map-components/p-2528eed4.entry.js +0 -1
  335. package/dist/arcgis-map-components/p-26058199.entry.js +0 -1
  336. package/dist/arcgis-map-components/p-2a688f98.js +0 -1
  337. package/dist/arcgis-map-components/p-2d210f7f.entry.js +0 -1
  338. package/dist/arcgis-map-components/p-2dd0ed49.entry.js +0 -1
  339. package/dist/arcgis-map-components/p-4abada4a.entry.js +0 -1
  340. package/dist/arcgis-map-components/p-4d3de60f.entry.js +0 -1
  341. package/dist/arcgis-map-components/p-4fb8ebf8.entry.js +0 -1
  342. package/dist/arcgis-map-components/p-6025087f.entry.js +0 -1
  343. package/dist/arcgis-map-components/p-6d312ec0.entry.js +0 -1
  344. package/dist/arcgis-map-components/p-6ebe2752.entry.js +0 -1
  345. package/dist/arcgis-map-components/p-8bf2f1a9.entry.js +0 -1
  346. package/dist/arcgis-map-components/p-8d9d155f.entry.js +0 -1
  347. package/dist/arcgis-map-components/p-a831ab0b.entry.js +0 -1
  348. package/dist/arcgis-map-components/p-c17d358c.entry.js +0 -1
  349. package/dist/arcgis-map-components/p-c53e4d50.entry.js +0 -1
  350. package/dist/arcgis-map-components/p-c5b98cfa.entry.js +0 -1
  351. package/dist/arcgis-map-components/p-ca3f1297.entry.js +0 -1
  352. package/dist/arcgis-map-components/p-cfd17a58.entry.js +0 -1
  353. package/dist/arcgis-map-components/p-d10d4150.entry.js +0 -1
  354. package/dist/arcgis-map-components/p-d1ce1089.entry.js +0 -1
  355. package/dist/arcgis-map-components/p-fbba5c07.entry.js +0 -1
  356. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +0 -281
  357. package/dist/components/arcgis-directional-pad.d.ts +0 -11
  358. package/dist/components/arcgis-directional-pad.js +0 -126
  359. package/dist/esm/arcgis-basemap-gallery_3.entry.js +0 -275
  360. package/dist/types/components/arcgis-directional-pad/arcgis-directional-pad.d.ts +0 -27
@@ -0,0 +1,751 @@
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
+ import { n as newWidgetsExpand, a as newLayersFeatureLayer, b as newWidgetsFeatureTable, i as importCoreReactiveUtils, c as importConfig, d as newWebMap, e as newViewsMapView, f as newWidgetsSearch } 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';
5
+ import { d as disableNavigation } from './mapping-utils-26beb904.js';
6
+
7
+ const arcgisExpandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
8
+
9
+ const ArcgisExpand = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ this.widgetReady = createEvent(this, "widgetReady", 7);
13
+ this.referenceElement = undefined;
14
+ this.position = "top-right";
15
+ this.view = undefined;
16
+ this.widget = undefined;
17
+ }
18
+ //--------------------------------------------------------------------------
19
+ //
20
+ // Watchers
21
+ //
22
+ //--------------------------------------------------------------------------
23
+ positionWatcher(newValue) {
24
+ if (newValue !== undefined && this.widget) {
25
+ if (typeof this.view !== "string") {
26
+ this.view.ui.move(this.childElem, newValue);
27
+ }
28
+ }
29
+ }
30
+ referenceElementWatcher(newValue) {
31
+ referenceElementHelper(this, newValue);
32
+ }
33
+ viewWatcher(newValue) {
34
+ if (newValue !== undefined && this.widget) {
35
+ this.widget.view = newValue;
36
+ }
37
+ }
38
+ //--------------------------------------------------------------------------
39
+ //
40
+ // Lifecycle
41
+ //
42
+ //--------------------------------------------------------------------------
43
+ async componentDidLoad() {
44
+ const widget = await newWidgetsExpand({
45
+ container: this.childElem
46
+ });
47
+ this.widget = widget;
48
+ if (this.view) {
49
+ this.widget.view = this.view;
50
+ }
51
+ this._checkForView();
52
+ }
53
+ disconnectedCallback() {
54
+ onDisconnectedHelper(this);
55
+ }
56
+ render() {
57
+ return h("div", { ref: (el) => (this.childElem = el) });
58
+ }
59
+ //--------------------------------------------------------------------------
60
+ //
61
+ // Private Internal Methods
62
+ //
63
+ //--------------------------------------------------------------------------
64
+ _checkForView() {
65
+ const viewRef = this.el.closest("arcgis-map") || this.el.closest("arcgis-scene");
66
+ if (viewRef?.view) {
67
+ this.view = viewRef.view;
68
+ this.view.ui.add(this.childElem, this.position);
69
+ this.widgetReady.emit({ widget: this.widget });
70
+ }
71
+ else if (viewRef) {
72
+ const handler = () => {
73
+ this.view = viewRef.view;
74
+ this.view.ui.add(this.childElem, this.position);
75
+ this.widgetReady.emit({ widget: this.widget });
76
+ };
77
+ viewRef.addEventListener("viewReady", handler, false);
78
+ }
79
+ }
80
+ get el() { return getElement(this); }
81
+ static get watchers() { return {
82
+ "position": ["positionWatcher"],
83
+ "referenceElement": ["referenceElementWatcher"],
84
+ "view": ["viewWatcher"]
85
+ }; }
86
+ };
87
+ ArcgisExpand.style = arcgisExpandCss;
88
+
89
+ const arcgisFeatureTableCss = ".arcgis-feature-table{width:100%;height:100%}";
90
+
91
+ const ArcgisFeatureTable = class {
92
+ constructor(hostRef) {
93
+ registerInstance(this, hostRef);
94
+ this.rowSelectionChange = createEvent(this, "rowSelectionChange", 7);
95
+ this.widgetReady = createEvent(this, "widgetReady", 7);
96
+ this.referenceElement = undefined;
97
+ this.activeFilters = undefined;
98
+ this.activeSortOrders = undefined;
99
+ this.attachmentsEnabled = undefined;
100
+ this.autoRefreshEnabled = undefined;
101
+ this.columnReorderingEnabled = undefined;
102
+ this.columns = undefined;
103
+ this.editingEnabled = undefined;
104
+ this.filterGeometry = undefined;
105
+ this.hiddenFields = undefined;
106
+ this.highlightEnabled = undefined;
107
+ this.highlightIds = undefined;
108
+ this.layer = undefined;
109
+ this.menu = undefined;
110
+ this.menuConfig = undefined;
111
+ this.multiSortEnabled = undefined;
112
+ this.pageSize = undefined;
113
+ this.state = undefined;
114
+ this.tableTemplate = undefined;
115
+ this.itemId = undefined;
116
+ this.position = "bottom-left";
117
+ this.url = undefined;
118
+ this.view = undefined;
119
+ this.widget = undefined;
120
+ }
121
+ //--------------------------------------------------------------------------
122
+ //
123
+ // Watchers
124
+ //
125
+ //--------------------------------------------------------------------------
126
+ positionWatcher(newValue) {
127
+ if (newValue !== undefined && this.widget) {
128
+ if (typeof this.view !== "string") {
129
+ this.view.ui.move(this.childElem, newValue);
130
+ }
131
+ }
132
+ }
133
+ attachmentsEnabledWatcher(value) {
134
+ if (value && this.widget) {
135
+ this.widget.attachmentsEnabled = value;
136
+ }
137
+ }
138
+ autoRefreshEnabledWatcher(value) {
139
+ if (value && this.widget) {
140
+ this.widget.autoRefreshEnabled = value;
141
+ }
142
+ }
143
+ columnReorderingEnabledWatcher(value) {
144
+ if (value && this.widget) {
145
+ this.widget.columnReorderingEnabled = value;
146
+ }
147
+ }
148
+ editingEnabledWatcher(value) {
149
+ if (value && this.widget) {
150
+ this.widget.editingEnabled = value;
151
+ }
152
+ }
153
+ filterGeometryWatcher(value) {
154
+ if (value && this.widget) {
155
+ this.widget.filterGeometry = value;
156
+ }
157
+ }
158
+ hiddenFieldsWatcher(value) {
159
+ if (value && this.widget) {
160
+ this.widget.hiddenFields = value;
161
+ }
162
+ }
163
+ highlightEnabledWatcher(value) {
164
+ if (value && this.widget) {
165
+ this.widget.highlightEnabled = value;
166
+ }
167
+ }
168
+ highlightIdsWatcher(value) {
169
+ if (value && this.widget) {
170
+ this.widget.highlightIds = value;
171
+ }
172
+ }
173
+ menuConfigWatcher(value) {
174
+ if (value && this.widget) {
175
+ this.widget.menuConfig = value;
176
+ }
177
+ }
178
+ multiSortEnabledWatcher(value) {
179
+ if (value && this.widget) {
180
+ this.widget.multiSortEnabled = value;
181
+ }
182
+ }
183
+ pageSizeWatcher(value) {
184
+ if (value && this.widget) {
185
+ this.widget.pageSize = value;
186
+ }
187
+ }
188
+ tableTemplateWatcher(value) {
189
+ if (value && this.widget) {
190
+ this.widget.tableTemplate = value;
191
+ }
192
+ }
193
+ async itemIdWatcher(value, old) {
194
+ if (value && value !== old) {
195
+ const layer = await newLayersFeatureLayer({
196
+ portalItem: {
197
+ id: value
198
+ }
199
+ });
200
+ this.layer = layer;
201
+ }
202
+ }
203
+ layerWatcher(value) {
204
+ if (value && this.widget) {
205
+ this.widget.layer = value;
206
+ }
207
+ }
208
+ async urlWatcher(value, old) {
209
+ if (value && value !== old) {
210
+ const layer = await newLayersFeatureLayer({ url: value });
211
+ this.layer = layer;
212
+ }
213
+ }
214
+ referenceElementWatcher(newValue) {
215
+ referenceElementHelper(this, newValue);
216
+ }
217
+ viewWatcher(newValue) {
218
+ if (newValue !== undefined && this.widget) {
219
+ this.widget.view = newValue;
220
+ }
221
+ }
222
+ //--------------------------------------------------------------------------
223
+ //
224
+ // Methods
225
+ //
226
+ //--------------------------------------------------------------------------
227
+ async clearSelectionFilter() {
228
+ return this.widget?.clearSelectionFilter();
229
+ }
230
+ async deleteSelection(showWarningPrompt) {
231
+ return this.widget?.deleteSelection(showWarningPrompt);
232
+ }
233
+ async filterBySelection() {
234
+ return this.widget?.filterBySelection();
235
+ }
236
+ async findColumn(fieldName) {
237
+ return this.widget?.findColumn(fieldName);
238
+ }
239
+ async hideColumn(fieldName) {
240
+ return this.widget?.hideColumn(fieldName);
241
+ }
242
+ async refresh() {
243
+ return this.widget?.refresh();
244
+ }
245
+ async scrollToIndex(index) {
246
+ return this.widget?.scrollToIndex(index);
247
+ }
248
+ async showAllColumns() {
249
+ return this.widget?.showAllColumns();
250
+ }
251
+ async showColumn(fieldName) {
252
+ return this.widget?.showColumn(fieldName);
253
+ }
254
+ async sortColumn(path, direction) {
255
+ return this.widget?.sortColumn(path, direction);
256
+ }
257
+ //--------------------------------------------------------------------------
258
+ //
259
+ // Lifecycle
260
+ //
261
+ //--------------------------------------------------------------------------
262
+ async componentDidLoad() {
263
+ const params = await this._createParams();
264
+ const widget = await newWidgetsFeatureTable(params);
265
+ this.widget = widget;
266
+ await this._addWatchers();
267
+ this._proxyEvents();
268
+ this.widgetReady.emit({ widget: this.widget });
269
+ checkForView(this);
270
+ }
271
+ disconnectedCallback() {
272
+ onDisconnectedHelper(this);
273
+ }
274
+ render() {
275
+ return h("div", { class: "arcgis-feature-table", ref: (el) => (this.childElem = el) });
276
+ }
277
+ //--------------------------------------------------------------------------
278
+ //
279
+ // Private Methods
280
+ //
281
+ //--------------------------------------------------------------------------
282
+ async _addWatchers() {
283
+ const { watch } = await importCoreReactiveUtils();
284
+ watch(() => this.widget.activeFilters, (value) => (this.activeFilters = value), {
285
+ initial: true
286
+ });
287
+ watch(() => this.widget.activeSortOrders, (value) => (this.activeSortOrders = value), {
288
+ initial: true
289
+ });
290
+ watch(() => this.widget.columns, (value) => (this.columns = value), {
291
+ initial: true
292
+ });
293
+ watch(() => this.widget.menu, (value) => (this.menu = value), {
294
+ initial: true
295
+ });
296
+ watch(() => this.widget.state, (value) => (this.state = value), {
297
+ initial: true
298
+ });
299
+ }
300
+ async _createParams() {
301
+ const params = {
302
+ container: this.childElem
303
+ };
304
+ if (this.view) {
305
+ params.view = this.view;
306
+ }
307
+ if (this.attachmentsEnabled !== undefined) {
308
+ params.attachmentsEnabled = this.attachmentsEnabled;
309
+ }
310
+ if (this.autoRefreshEnabled !== undefined) {
311
+ params.autoRefreshEnabled = this.autoRefreshEnabled;
312
+ }
313
+ if (this.columnReorderingEnabled !== undefined) {
314
+ params.columnReorderingEnabled = this.columnReorderingEnabled;
315
+ }
316
+ if (this.editingEnabled !== undefined) {
317
+ params.editingEnabled = this.editingEnabled;
318
+ }
319
+ if (this.filterGeometry !== undefined) {
320
+ params.filterGeometry = this.filterGeometry;
321
+ }
322
+ if (this.hiddenFields !== undefined) {
323
+ params.hiddenFields = this.hiddenFields;
324
+ }
325
+ if (this.highlightEnabled !== undefined) {
326
+ params.highlightEnabled = this.highlightEnabled;
327
+ }
328
+ if (this.highlightIds !== undefined) {
329
+ params.highlightIds = this.highlightIds;
330
+ }
331
+ if (this.menuConfig !== undefined) {
332
+ params.menuConfig = this.menuConfig;
333
+ }
334
+ if (this.multiSortEnabled !== undefined) {
335
+ params.multiSortEnabled = this.multiSortEnabled;
336
+ }
337
+ if (this.pageSize !== undefined) {
338
+ params.pageSize = this.pageSize;
339
+ }
340
+ if (this.tableTemplate !== undefined) {
341
+ params.tableTemplate = this.tableTemplate;
342
+ }
343
+ // Handle loading a layer, url, or itemId
344
+ if (this.layer !== undefined) {
345
+ params.layer = this.layer;
346
+ }
347
+ else if (this.url) {
348
+ params.layer = await newLayersFeatureLayer({ url: this.url });
349
+ }
350
+ else if (this.itemId) {
351
+ params.layer = await newLayersFeatureLayer({
352
+ portalItem: {
353
+ id: this.itemId
354
+ }
355
+ });
356
+ }
357
+ return params;
358
+ }
359
+ async _proxyEvents() {
360
+ this.widget?.highlightIds.on("change", (e) => this.rowSelectionChange.emit(e));
361
+ }
362
+ get el() { return getElement(this); }
363
+ static get watchers() { return {
364
+ "position": ["positionWatcher"],
365
+ "attachmentsEnabled": ["attachmentsEnabledWatcher"],
366
+ "autoRefreshEnabled": ["autoRefreshEnabledWatcher"],
367
+ "columnReorderingEnabled": ["columnReorderingEnabledWatcher"],
368
+ "editingEnabled": ["editingEnabledWatcher"],
369
+ "filterGeometry": ["filterGeometryWatcher"],
370
+ "hiddenFields": ["hiddenFieldsWatcher"],
371
+ "highlightEnabled": ["highlightEnabledWatcher"],
372
+ "highlightIds": ["highlightIdsWatcher"],
373
+ "menuConfig": ["menuConfigWatcher"],
374
+ "multiSortEnabled": ["multiSortEnabledWatcher"],
375
+ "pageSize": ["pageSizeWatcher"],
376
+ "tableTemplate": ["tableTemplateWatcher"],
377
+ "itemId": ["itemIdWatcher"],
378
+ "layer": ["layerWatcher"],
379
+ "url": ["urlWatcher"],
380
+ "referenceElement": ["referenceElementWatcher"],
381
+ "view": ["viewWatcher"]
382
+ }; }
383
+ };
384
+ ArcgisFeatureTable.style = arcgisFeatureTableCss;
385
+
386
+ const arcgisMapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
387
+
388
+ const ArcgisMap = class {
389
+ constructor(hostRef) {
390
+ registerInstance(this, hostRef);
391
+ this.viewReady = createEvent(this, "viewReady", 7);
392
+ this.apiKey = undefined;
393
+ this.basemap = undefined;
394
+ this.disableNavigation = false;
395
+ this.itemId = undefined;
396
+ this.zoom = undefined;
397
+ this.center = undefined;
398
+ this.view = undefined;
399
+ }
400
+ //--------------------------------------------------------------------------
401
+ //
402
+ // Watchers
403
+ //
404
+ //--------------------------------------------------------------------------
405
+ apiKeyWatcher(value) {
406
+ this.config.apiKey = value;
407
+ }
408
+ itemIdWatcher(value, old) {
409
+ if (value && value !== old) {
410
+ this.loadMap();
411
+ }
412
+ }
413
+ //--------------------------------------------------------------------------
414
+ //
415
+ // Lifecycle
416
+ //
417
+ //--------------------------------------------------------------------------
418
+ async componentWillLoad() {
419
+ this.config = await importConfig();
420
+ if (this.apiKey) {
421
+ this.config.apiKey = this.apiKey;
422
+ }
423
+ await this.loadMap();
424
+ }
425
+ componentDidRender() {
426
+ if (this.view) {
427
+ this.view.container = this.el;
428
+ }
429
+ }
430
+ render() {
431
+ return h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
432
+ }
433
+ //--------------------------------------------------------------------------
434
+ //
435
+ // Private Methods
436
+ //
437
+ //--------------------------------------------------------------------------
438
+ async loadMap() {
439
+ const mapParams = {};
440
+ if (this.itemId) {
441
+ mapParams.portalItem = {
442
+ id: this.itemId
443
+ };
444
+ }
445
+ if (this.basemap) {
446
+ mapParams.basemap = this.basemap;
447
+ }
448
+ const map = await newWebMap(mapParams);
449
+ const params = {};
450
+ if (this.zoom) {
451
+ params.zoom = this.zoom;
452
+ }
453
+ if (this.center) {
454
+ if (typeof this.center === "string") {
455
+ params.center = this.center.split(",").map((x) => Number(x));
456
+ }
457
+ else {
458
+ params.center = this.center;
459
+ }
460
+ }
461
+ const view = await newViewsMapView({
462
+ map,
463
+ ...params
464
+ });
465
+ const { watch } = await importCoreReactiveUtils();
466
+ this.view = view;
467
+ watch(() => this.view.center, (center) => {
468
+ const value = `${center.longitude},${center.latitude}`;
469
+ this.center = value;
470
+ });
471
+ watch(() => this.view.zoom, (value) => (this.zoom = value));
472
+ if (this.disableNavigation) {
473
+ disableNavigation(this.view);
474
+ }
475
+ this.view.when(() => this.viewReady.emit({ view: this.view }));
476
+ }
477
+ get hostElem() { return getElement(this); }
478
+ static get watchers() { return {
479
+ "apiKey": ["apiKeyWatcher"],
480
+ "itemId": ["itemIdWatcher"]
481
+ }; }
482
+ };
483
+ ArcgisMap.style = arcgisMapCss;
484
+
485
+ const arcgisSearchCss = "";
486
+
487
+ const ArcgisSearch = class {
488
+ constructor(hostRef) {
489
+ registerInstance(this, hostRef);
490
+ this.widgetReady = createEvent(this, "widgetReady", 7);
491
+ this.searchBlur = createEvent(this, "searchBlur", 7);
492
+ this.searchClear = createEvent(this, "searchClear", 7);
493
+ this.searchComplete = createEvent(this, "searchComplete", 7);
494
+ this.searchFocus = createEvent(this, "searchFocus", 7);
495
+ this.searchStart = createEvent(this, "searchStart", 7);
496
+ this.selectResult = createEvent(this, "selectResult", 7);
497
+ this.suggestComplete = createEvent(this, "suggestComplete", 7);
498
+ this.suggestStart = createEvent(this, "suggestStart", 7);
499
+ this.referenceElement = undefined;
500
+ this.activeMenu = undefined;
501
+ this.activeSource = undefined;
502
+ this.activeSourceIndex = undefined;
503
+ this.allPlaceholder = undefined;
504
+ this.allSources = undefined;
505
+ this.autoSelect = undefined;
506
+ this.defaultSources = undefined;
507
+ this.includeDefaultSources = undefined;
508
+ this.locationEnabled = undefined;
509
+ this.maxResults = undefined;
510
+ this.maxSuggestions = undefined;
511
+ this.minSuggestCharacters = undefined;
512
+ this.popupEnabled = undefined;
513
+ this.popupTemplate = undefined;
514
+ this.portal = undefined;
515
+ this.resultGraphic = undefined;
516
+ this.resultGraphicEnabled = undefined;
517
+ this.results = undefined;
518
+ this.searchAllEnabled = undefined;
519
+ this.searchTerm = undefined;
520
+ this.selectedResult = undefined;
521
+ this.sources = undefined;
522
+ this.suggestions = undefined;
523
+ this.suggestionsEnabled = undefined;
524
+ this.position = "top-right";
525
+ this.expandable = false;
526
+ this.view = undefined;
527
+ this.widget = undefined;
528
+ }
529
+ //--------------------------------------------------------------------------
530
+ //
531
+ // Watchers
532
+ //
533
+ //--------------------------------------------------------------------------
534
+ positionWatcher(newValue) {
535
+ if (newValue !== undefined && this.widget) {
536
+ if (typeof this.view !== "string") {
537
+ this.view.ui.move(this.childElem, newValue);
538
+ }
539
+ }
540
+ }
541
+ activeMenuWatcher(newValue) {
542
+ if (newValue !== undefined && this.widget) {
543
+ this.widget.activeMenu = newValue;
544
+ }
545
+ }
546
+ activeSourceIndexWatcher(newValue) {
547
+ if (newValue !== undefined && this.widget) {
548
+ this.widget.activeSourceIndex = newValue;
549
+ }
550
+ }
551
+ allPlaceholderWatcher(newValue) {
552
+ if (newValue !== undefined && this.widget) {
553
+ this.widget.allPlaceholder = newValue;
554
+ }
555
+ }
556
+ autoSelectWatcher(newValue) {
557
+ if (newValue !== undefined && this.widget) {
558
+ this.widget.autoSelect = newValue;
559
+ }
560
+ }
561
+ includeDefaultSourcesWatcher(newValue) {
562
+ if (newValue !== undefined && this.widget) {
563
+ this.widget.includeDefaultSources = newValue;
564
+ }
565
+ }
566
+ locationEnabledWatcher(newValue) {
567
+ if (newValue !== undefined && this.widget) {
568
+ this.widget.locationEnabled = newValue;
569
+ }
570
+ }
571
+ maxResultsWatcher(newValue) {
572
+ if (newValue !== undefined && this.widget) {
573
+ this.widget.maxResults = newValue;
574
+ }
575
+ }
576
+ maxSuggestionsWatcher(newValue) {
577
+ if (newValue !== undefined && this.widget) {
578
+ this.widget.maxSuggestions = newValue;
579
+ }
580
+ }
581
+ minSuggestCharactersWatcher(newValue) {
582
+ if (newValue !== undefined && this.widget) {
583
+ this.widget.minSuggestCharacters = newValue;
584
+ }
585
+ }
586
+ popupEnabledWatcher(newValue) {
587
+ if (newValue !== undefined && this.widget) {
588
+ this.widget.popupEnabled = newValue;
589
+ }
590
+ }
591
+ popupTemplateWatcher(newValue) {
592
+ if (newValue !== undefined && this.widget) {
593
+ this.widget.popupTemplate = newValue;
594
+ }
595
+ }
596
+ portalWatcher(newValue) {
597
+ if (newValue !== undefined && this.widget) {
598
+ this.widget.portal = newValue;
599
+ }
600
+ }
601
+ resultGraphicEnabledWatcher(newValue) {
602
+ if (newValue !== undefined && this.widget) {
603
+ this.widget.resultGraphicEnabled = newValue;
604
+ }
605
+ }
606
+ searchAllEnabledWatcher(newValue) {
607
+ if (newValue !== undefined && this.widget) {
608
+ this.widget.searchAllEnabled = newValue;
609
+ }
610
+ }
611
+ searchTermWatcher(newValue) {
612
+ if (newValue !== undefined && this.widget) {
613
+ this.widget.searchTerm = newValue;
614
+ }
615
+ }
616
+ sourcesWatcher(newValue) {
617
+ if (newValue !== undefined && this.widget) {
618
+ this.widget.sources = newValue;
619
+ }
620
+ }
621
+ suggestionsEnabledWatcher(newValue) {
622
+ if (newValue !== undefined && this.widget) {
623
+ this.widget.suggestionsEnabled = newValue;
624
+ }
625
+ }
626
+ referenceElementWatcher(newValue) {
627
+ referenceElementHelper(this, newValue);
628
+ }
629
+ viewWatcher(newValue) {
630
+ if (newValue !== undefined && this.widget) {
631
+ this.widget.view = newValue;
632
+ }
633
+ }
634
+ //--------------------------------------------------------------------------
635
+ //
636
+ // Methods
637
+ //
638
+ //--------------------------------------------------------------------------
639
+ async blurSearch() {
640
+ return this.widget?.blur();
641
+ }
642
+ async clearSearch() {
643
+ return this.widget?.clear();
644
+ }
645
+ async focusSearch() {
646
+ return this.widget?.focus();
647
+ }
648
+ async search(term) {
649
+ return this.widget?.search(term);
650
+ }
651
+ async suggest(term) {
652
+ return this.widget?.suggest(term);
653
+ }
654
+ //--------------------------------------------------------------------------
655
+ //
656
+ // Lifecycle
657
+ //
658
+ //--------------------------------------------------------------------------
659
+ async componentDidLoad() {
660
+ const params = this._createParams();
661
+ const widget = await newWidgetsSearch(params);
662
+ this.widget = widget;
663
+ await this._addWatchers();
664
+ this._proxyEvents();
665
+ this.widgetReady.emit({ widget: this.widget });
666
+ checkForView(this);
667
+ }
668
+ disconnectedCallback() {
669
+ onDisconnectedHelper(this);
670
+ }
671
+ render() {
672
+ if (this.expandable) {
673
+ return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
674
+ }
675
+ return h("div", { ref: (el) => (this.childElem = el) });
676
+ }
677
+ //--------------------------------------------------------------------------
678
+ //
679
+ // Private Interal Methods
680
+ //
681
+ //--------------------------------------------------------------------------
682
+ async _addWatchers() {
683
+ const { watch } = await importCoreReactiveUtils();
684
+ watch(() => this.widget.activeSource, (value) => (this.activeSource = value), {
685
+ initial: true
686
+ });
687
+ watch(() => this.widget.activeSourceIndex, (value) => (this.activeSourceIndex = value), {
688
+ initial: true
689
+ });
690
+ watch(() => this.widget.allSources, (value) => (this.allSources = value), {
691
+ initial: true
692
+ });
693
+ watch(() => this.widget.defaultSources, (value) => (this.defaultSources = value), {
694
+ initial: true
695
+ });
696
+ watch(() => this.widget.resultGraphic, (value) => (this.resultGraphic = value), {
697
+ initial: true
698
+ });
699
+ watch(() => this.widget.results, (value) => (this.results = value), {
700
+ initial: true
701
+ });
702
+ watch(() => this.widget.selectedResult, (value) => (this.selectedResult = value), {
703
+ initial: true
704
+ });
705
+ }
706
+ _createParams() {
707
+ const params = {
708
+ container: this.childElem
709
+ };
710
+ if (this.view) {
711
+ params.view = this.view;
712
+ }
713
+ return params;
714
+ }
715
+ _proxyEvents() {
716
+ this.widget.on("search-blur", (e) => this.searchBlur.emit(e));
717
+ this.widget.on("search-clear", (e) => this.searchClear.emit(e));
718
+ this.widget.on("search-complete", (e) => this.searchComplete.emit(e));
719
+ this.widget.on("search-focus", (e) => this.searchFocus.emit(e));
720
+ this.widget.on("search-start", (e) => this.searchStart.emit(e));
721
+ this.widget.on("select-result", (e) => this.selectResult.emit(e));
722
+ this.widget.on("suggest-complete", (e) => this.suggestComplete.emit(e));
723
+ this.widget.on("suggest-start", (e) => this.suggestStart.emit(e));
724
+ }
725
+ get el() { return getElement(this); }
726
+ static get watchers() { return {
727
+ "position": ["positionWatcher"],
728
+ "activeMenu": ["activeMenuWatcher"],
729
+ "activeSourceIndex": ["activeSourceIndexWatcher"],
730
+ "allPlaceholder": ["allPlaceholderWatcher"],
731
+ "autoSelect": ["autoSelectWatcher"],
732
+ "includeDefaultSources": ["includeDefaultSourcesWatcher"],
733
+ "locationEnabled": ["locationEnabledWatcher"],
734
+ "maxResults": ["maxResultsWatcher"],
735
+ "maxSuggestions": ["maxSuggestionsWatcher"],
736
+ "minSuggestCharacters": ["minSuggestCharactersWatcher"],
737
+ "popupEnabled": ["popupEnabledWatcher"],
738
+ "popupTemplate": ["popupTemplateWatcher"],
739
+ "portal": ["portalWatcher"],
740
+ "resultGraphicEnabled": ["resultGraphicEnabledWatcher"],
741
+ "searchAllEnabled": ["searchAllEnabledWatcher"],
742
+ "searchTerm": ["searchTermWatcher"],
743
+ "sources": ["sourcesWatcher"],
744
+ "suggestionsEnabled": ["suggestionsEnabledWatcher"],
745
+ "referenceElement": ["referenceElementWatcher"],
746
+ "view": ["viewWatcher"]
747
+ }; }
748
+ };
749
+ ArcgisSearch.style = arcgisSearchCss;
750
+
751
+ export { ArcgisExpand as arcgis_expand, ArcgisFeatureTable as arcgis_feature_table, ArcgisMap as arcgis_map, ArcgisSearch as arcgis_search };