@arcgis/map-components 4.29.0-beta.63 → 4.29.0-beta.65

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 (221) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  2. package/dist/arcgis-map-components/{p-70f9949a.entry.js → p-03d91445.entry.js} +2 -2
  3. package/dist/arcgis-map-components/p-061ad510.entry.js +2 -0
  4. package/dist/arcgis-map-components/{p-5f8a99f7.entry.js.map → p-061ad510.entry.js.map} +1 -1
  5. package/dist/arcgis-map-components/{p-f7043c4c.entry.js → p-0780b907.entry.js} +2 -2
  6. package/dist/arcgis-map-components/{p-b67989bd.entry.js → p-0c37d8a7.entry.js} +2 -2
  7. package/dist/arcgis-map-components/{p-8453af24.entry.js → p-1561977d.entry.js} +2 -2
  8. package/dist/arcgis-map-components/{p-dbf39de1.entry.js → p-1688ad49.entry.js} +2 -2
  9. package/dist/arcgis-map-components/{p-69e6c2e9.entry.js → p-269e4018.entry.js} +2 -2
  10. package/dist/arcgis-map-components/{p-50ce6df4.entry.js → p-26c8efa0.entry.js} +2 -2
  11. package/dist/arcgis-map-components/{p-2f5c705f.entry.js → p-2b8dde05.entry.js} +2 -2
  12. package/dist/arcgis-map-components/{p-a66eba59.entry.js → p-2f7311c6.entry.js} +2 -2
  13. package/dist/arcgis-map-components/p-343f5803.entry.js +2 -0
  14. package/dist/arcgis-map-components/{p-196c9d02.entry.js.map → p-343f5803.entry.js.map} +1 -1
  15. package/dist/arcgis-map-components/{p-28146c9f.entry.js → p-37b0fd31.entry.js} +2 -2
  16. package/dist/arcgis-map-components/{p-7069aac7.entry.js → p-4055fed1.entry.js} +2 -2
  17. package/dist/arcgis-map-components/{p-38fc3808.entry.js → p-42f250a9.entry.js} +2 -2
  18. package/dist/arcgis-map-components/{p-17fbb7f7.entry.js → p-4d5979ea.entry.js} +2 -2
  19. package/dist/arcgis-map-components/p-4d5979ea.entry.js.map +1 -0
  20. package/dist/arcgis-map-components/p-5183adfb.entry.js +2 -0
  21. package/dist/arcgis-map-components/{p-90c3ef92.entry.js.map → p-5183adfb.entry.js.map} +1 -1
  22. package/dist/arcgis-map-components/{p-4838a8e7.entry.js → p-58544c5b.entry.js} +2 -2
  23. package/dist/arcgis-map-components/{p-229afaa6.entry.js → p-591e7b46.entry.js} +2 -2
  24. package/dist/arcgis-map-components/{p-07a1f989.entry.js → p-60b5fe3c.entry.js} +2 -2
  25. package/dist/arcgis-map-components/{p-32a43969.entry.js → p-62716f0f.entry.js} +2 -2
  26. package/dist/arcgis-map-components/{p-bdd22673.entry.js → p-669bffd2.entry.js} +2 -2
  27. package/dist/arcgis-map-components/{p-8ef18112.entry.js → p-69da0de3.entry.js} +2 -2
  28. package/dist/arcgis-map-components/{p-0b50c5df.js → p-758f6c5a.js} +1 -1
  29. package/dist/arcgis-map-components/{p-0b50c5df.js.map → p-758f6c5a.js.map} +1 -1
  30. package/dist/arcgis-map-components/{p-b6f617df.entry.js → p-7cb578f1.entry.js} +2 -2
  31. package/dist/arcgis-map-components/{p-c99c7170.entry.js → p-82a12245.entry.js} +2 -2
  32. package/dist/arcgis-map-components/{p-a4f5814a.entry.js → p-83685046.entry.js} +2 -2
  33. package/dist/arcgis-map-components/{p-cd5602ae.entry.js → p-852d81d1.entry.js} +2 -2
  34. package/dist/arcgis-map-components/{p-446bdd38.entry.js → p-8bf4b85e.entry.js} +2 -2
  35. package/dist/arcgis-map-components/{p-9abcb259.entry.js → p-93d69b82.entry.js} +2 -2
  36. package/dist/arcgis-map-components/{p-28be2cdc.entry.js → p-af6b52cb.entry.js} +2 -2
  37. package/dist/arcgis-map-components/{p-cd4f0d97.entry.js → p-b0abd711.entry.js} +2 -2
  38. package/dist/arcgis-map-components/{p-af64e0b3.entry.js → p-b5127ca2.entry.js} +2 -2
  39. package/dist/arcgis-map-components/{p-2c7ad79a.entry.js → p-b9043526.entry.js} +2 -2
  40. package/dist/arcgis-map-components/{p-a6e8676b.entry.js → p-b97b5ab8.entry.js} +2 -2
  41. package/dist/arcgis-map-components/{p-2011a8df.entry.js → p-bbe42bba.entry.js} +2 -2
  42. package/dist/arcgis-map-components/{p-5aaa1033.entry.js → p-bc1bbb01.entry.js} +2 -2
  43. package/dist/arcgis-map-components/{p-1a057b17.entry.js → p-bef2916b.entry.js} +2 -2
  44. package/dist/arcgis-map-components/{p-faa3b286.entry.js → p-c2b55df9.entry.js} +2 -2
  45. package/dist/arcgis-map-components/{p-2ae301b4.entry.js → p-c74a83ee.entry.js} +2 -2
  46. package/dist/arcgis-map-components/{p-788c5d98.entry.js → p-d3050c56.entry.js} +2 -2
  47. package/dist/arcgis-map-components/{p-3add9f68.entry.js → p-d3e791dc.entry.js} +2 -2
  48. package/dist/arcgis-map-components/{p-76be4f5a.entry.js → p-d42639bc.entry.js} +2 -2
  49. package/dist/arcgis-map-components/{p-d3637bdd.entry.js → p-d74f2d38.entry.js} +2 -2
  50. package/dist/arcgis-map-components/{p-36e0470c.entry.js → p-dcab884b.entry.js} +2 -2
  51. package/dist/arcgis-map-components/{p-47453260.entry.js → p-ddeb17e1.entry.js} +2 -2
  52. package/dist/arcgis-map-components/{p-27d4ff53.entry.js → p-e14af886.entry.js} +2 -2
  53. package/dist/arcgis-map-components/{p-eaea9330.entry.js → p-e3f82d1c.entry.js} +2 -2
  54. package/dist/arcgis-map-components/{p-eb7b836a.entry.js → p-e7679e9c.entry.js} +2 -2
  55. package/dist/arcgis-map-components/{p-8c15df82.entry.js → p-e77700c7.entry.js} +2 -2
  56. package/dist/arcgis-map-components/{p-956e5312.entry.js → p-edf74e10.entry.js} +2 -2
  57. package/dist/arcgis-map-components/{p-1dffbae6.entry.js → p-f41b7c4a.entry.js} +2 -2
  58. package/dist/arcgis-map-components/{p-96b48828.entry.js → p-fc5cdeeb.entry.js} +2 -2
  59. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +1 -1
  60. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +1 -1
  61. package/dist/cjs/arcgis-attachments.cjs.entry.js +1 -1
  62. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +1 -1
  63. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +1 -1
  64. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +1 -1
  65. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +1 -1
  66. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +1 -1
  67. package/dist/cjs/arcgis-compass.cjs.entry.js +1 -1
  68. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +1 -1
  69. package/dist/cjs/arcgis-daylight.cjs.entry.js +1 -1
  70. package/dist/cjs/arcgis-directions.cjs.entry.js +1 -1
  71. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +1 -1
  72. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +1 -1
  73. package/dist/cjs/arcgis-editor.cjs.entry.js +1 -1
  74. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +1 -1
  75. package/dist/cjs/arcgis-feature-form.cjs.entry.js +1 -1
  76. package/dist/cjs/arcgis-feature-table.cjs.entry.js +1 -1
  77. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +1 -1
  78. package/dist/cjs/arcgis-feature.cjs.entry.js +1 -1
  79. package/dist/cjs/arcgis-features.cjs.entry.js +2 -2
  80. package/dist/cjs/arcgis-features.cjs.entry.js.map +1 -1
  81. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +1 -1
  82. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +1 -1
  83. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/arcgis-histogram.cjs.entry.js +1 -1
  85. package/dist/cjs/arcgis-home.cjs.entry.js +1 -1
  86. package/dist/cjs/arcgis-layer-list.cjs.entry.js +1 -1
  87. package/dist/cjs/arcgis-legend.cjs.entry.js +1 -1
  88. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +1 -1
  89. package/dist/cjs/arcgis-locate.cjs.entry.js +1 -1
  90. package/dist/cjs/arcgis-map.cjs.entry.js +1 -1
  91. package/dist/cjs/arcgis-measurement.cjs.entry.js +1 -1
  92. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +1 -1
  93. package/dist/cjs/arcgis-print.cjs.entry.js +1 -1
  94. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +1 -1
  95. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +1 -1
  96. package/dist/cjs/arcgis-search.cjs.entry.js +1 -1
  97. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +1 -1
  98. package/dist/cjs/arcgis-sketch.cjs.entry.js +1 -1
  99. package/dist/cjs/arcgis-slice.cjs.entry.js +1 -1
  100. package/dist/cjs/arcgis-slider.cjs.entry.js +1 -1
  101. package/dist/cjs/arcgis-swipe.cjs.entry.js +1 -1
  102. package/dist/cjs/arcgis-table-list.cjs.entry.js +1 -1
  103. package/dist/cjs/arcgis-time-slider.cjs.entry.js +1 -1
  104. package/dist/cjs/arcgis-track.cjs.entry.js +1 -1
  105. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +1 -1
  106. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +1 -1
  107. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +1 -1
  108. package/dist/cjs/arcgis-value-picker.cjs.entry.js +1 -1
  109. package/dist/cjs/arcgis-weather.cjs.entry.js +1 -1
  110. package/dist/cjs/arcgis-zoom.cjs.entry.js +1 -1
  111. package/dist/cjs/{index-7d247473.js → index-09a0e90f.js} +1 -1
  112. package/dist/cjs/{index-7d247473.js.map → index-09a0e90f.js.map} +1 -1
  113. package/dist/components/arcgis-features.js +1 -1
  114. package/dist/components/arcgis-features.js.map +1 -1
  115. package/dist/components/index2.js.map +1 -1
  116. package/dist/esm/arcgis-area-measurement-2d.entry.js +1 -1
  117. package/dist/esm/arcgis-area-measurement-3d.entry.js +1 -1
  118. package/dist/esm/arcgis-attachments.entry.js +1 -1
  119. package/dist/esm/arcgis-basemap-gallery_3.entry.js +1 -1
  120. package/dist/esm/arcgis-basemap-layer-list.entry.js +1 -1
  121. package/dist/esm/arcgis-basemap-toggle.entry.js +1 -1
  122. package/dist/esm/arcgis-bookmarks.entry.js +1 -1
  123. package/dist/esm/arcgis-building-explorer.entry.js +1 -1
  124. package/dist/esm/arcgis-compass.entry.js +1 -1
  125. package/dist/esm/arcgis-coordinate-conversion.entry.js +1 -1
  126. package/dist/esm/arcgis-daylight.entry.js +1 -1
  127. package/dist/esm/arcgis-directions.entry.js +1 -1
  128. package/dist/esm/arcgis-directline-measurement-3d.entry.js +1 -1
  129. package/dist/esm/arcgis-distance-measurement-2d.entry.js +1 -1
  130. package/dist/esm/arcgis-editor.entry.js +1 -1
  131. package/dist/esm/arcgis-elevation-profile.entry.js +1 -1
  132. package/dist/esm/arcgis-feature-form.entry.js +1 -1
  133. package/dist/esm/arcgis-feature-table.entry.js +1 -1
  134. package/dist/esm/arcgis-feature-templates.entry.js +1 -1
  135. package/dist/esm/arcgis-feature.entry.js +1 -1
  136. package/dist/esm/arcgis-features.entry.js +2 -2
  137. package/dist/esm/arcgis-features.entry.js.map +1 -1
  138. package/dist/esm/arcgis-floor-filter.entry.js +1 -1
  139. package/dist/esm/arcgis-fullscreen.entry.js +1 -1
  140. package/dist/esm/arcgis-histogram-range-slider.entry.js +1 -1
  141. package/dist/esm/arcgis-histogram.entry.js +1 -1
  142. package/dist/esm/arcgis-home.entry.js +1 -1
  143. package/dist/esm/arcgis-layer-list.entry.js +1 -1
  144. package/dist/esm/arcgis-legend.entry.js +1 -1
  145. package/dist/esm/arcgis-line-of-sight.entry.js +1 -1
  146. package/dist/esm/arcgis-locate.entry.js +1 -1
  147. package/dist/esm/arcgis-map.entry.js +1 -1
  148. package/dist/esm/arcgis-measurement.entry.js +1 -1
  149. package/dist/esm/arcgis-navigation-toggle.entry.js +1 -1
  150. package/dist/esm/arcgis-print.entry.js +1 -1
  151. package/dist/esm/arcgis-scale-bar.entry.js +1 -1
  152. package/dist/esm/arcgis-scale-range-slider.entry.js +1 -1
  153. package/dist/esm/arcgis-search.entry.js +1 -1
  154. package/dist/esm/arcgis-shadow-cast.entry.js +1 -1
  155. package/dist/esm/arcgis-sketch.entry.js +1 -1
  156. package/dist/esm/arcgis-slice.entry.js +1 -1
  157. package/dist/esm/arcgis-slider.entry.js +1 -1
  158. package/dist/esm/arcgis-swipe.entry.js +1 -1
  159. package/dist/esm/arcgis-table-list.entry.js +1 -1
  160. package/dist/esm/arcgis-time-slider.entry.js +1 -1
  161. package/dist/esm/arcgis-track.entry.js +1 -1
  162. package/dist/esm/arcgis-utility-network-associations.entry.js +1 -1
  163. package/dist/esm/arcgis-utility-network-trace.entry.js +1 -1
  164. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +1 -1
  165. package/dist/esm/arcgis-value-picker.entry.js +1 -1
  166. package/dist/esm/arcgis-weather.entry.js +1 -1
  167. package/dist/esm/arcgis-zoom.entry.js +1 -1
  168. package/dist/esm/{index-85cad293.js → index-344075c3.js} +1 -1
  169. package/dist/esm/{index-85cad293.js.map → index-344075c3.js.map} +1 -1
  170. package/package.json +5 -5
  171. package/dist/arcgis-map-components/p-17fbb7f7.entry.js.map +0 -1
  172. package/dist/arcgis-map-components/p-196c9d02.entry.js +0 -2
  173. package/dist/arcgis-map-components/p-5f8a99f7.entry.js +0 -2
  174. package/dist/arcgis-map-components/p-90c3ef92.entry.js +0 -2
  175. /package/dist/arcgis-map-components/{p-70f9949a.entry.js.map → p-03d91445.entry.js.map} +0 -0
  176. /package/dist/arcgis-map-components/{p-f7043c4c.entry.js.map → p-0780b907.entry.js.map} +0 -0
  177. /package/dist/arcgis-map-components/{p-b67989bd.entry.js.map → p-0c37d8a7.entry.js.map} +0 -0
  178. /package/dist/arcgis-map-components/{p-8453af24.entry.js.map → p-1561977d.entry.js.map} +0 -0
  179. /package/dist/arcgis-map-components/{p-dbf39de1.entry.js.map → p-1688ad49.entry.js.map} +0 -0
  180. /package/dist/arcgis-map-components/{p-69e6c2e9.entry.js.map → p-269e4018.entry.js.map} +0 -0
  181. /package/dist/arcgis-map-components/{p-50ce6df4.entry.js.map → p-26c8efa0.entry.js.map} +0 -0
  182. /package/dist/arcgis-map-components/{p-2f5c705f.entry.js.map → p-2b8dde05.entry.js.map} +0 -0
  183. /package/dist/arcgis-map-components/{p-a66eba59.entry.js.map → p-2f7311c6.entry.js.map} +0 -0
  184. /package/dist/arcgis-map-components/{p-28146c9f.entry.js.map → p-37b0fd31.entry.js.map} +0 -0
  185. /package/dist/arcgis-map-components/{p-7069aac7.entry.js.map → p-4055fed1.entry.js.map} +0 -0
  186. /package/dist/arcgis-map-components/{p-38fc3808.entry.js.map → p-42f250a9.entry.js.map} +0 -0
  187. /package/dist/arcgis-map-components/{p-4838a8e7.entry.js.map → p-58544c5b.entry.js.map} +0 -0
  188. /package/dist/arcgis-map-components/{p-229afaa6.entry.js.map → p-591e7b46.entry.js.map} +0 -0
  189. /package/dist/arcgis-map-components/{p-07a1f989.entry.js.map → p-60b5fe3c.entry.js.map} +0 -0
  190. /package/dist/arcgis-map-components/{p-32a43969.entry.js.map → p-62716f0f.entry.js.map} +0 -0
  191. /package/dist/arcgis-map-components/{p-bdd22673.entry.js.map → p-669bffd2.entry.js.map} +0 -0
  192. /package/dist/arcgis-map-components/{p-8ef18112.entry.js.map → p-69da0de3.entry.js.map} +0 -0
  193. /package/dist/arcgis-map-components/{p-b6f617df.entry.js.map → p-7cb578f1.entry.js.map} +0 -0
  194. /package/dist/arcgis-map-components/{p-c99c7170.entry.js.map → p-82a12245.entry.js.map} +0 -0
  195. /package/dist/arcgis-map-components/{p-a4f5814a.entry.js.map → p-83685046.entry.js.map} +0 -0
  196. /package/dist/arcgis-map-components/{p-cd5602ae.entry.js.map → p-852d81d1.entry.js.map} +0 -0
  197. /package/dist/arcgis-map-components/{p-446bdd38.entry.js.map → p-8bf4b85e.entry.js.map} +0 -0
  198. /package/dist/arcgis-map-components/{p-9abcb259.entry.js.map → p-93d69b82.entry.js.map} +0 -0
  199. /package/dist/arcgis-map-components/{p-28be2cdc.entry.js.map → p-af6b52cb.entry.js.map} +0 -0
  200. /package/dist/arcgis-map-components/{p-cd4f0d97.entry.js.map → p-b0abd711.entry.js.map} +0 -0
  201. /package/dist/arcgis-map-components/{p-af64e0b3.entry.js.map → p-b5127ca2.entry.js.map} +0 -0
  202. /package/dist/arcgis-map-components/{p-2c7ad79a.entry.js.map → p-b9043526.entry.js.map} +0 -0
  203. /package/dist/arcgis-map-components/{p-a6e8676b.entry.js.map → p-b97b5ab8.entry.js.map} +0 -0
  204. /package/dist/arcgis-map-components/{p-2011a8df.entry.js.map → p-bbe42bba.entry.js.map} +0 -0
  205. /package/dist/arcgis-map-components/{p-5aaa1033.entry.js.map → p-bc1bbb01.entry.js.map} +0 -0
  206. /package/dist/arcgis-map-components/{p-1a057b17.entry.js.map → p-bef2916b.entry.js.map} +0 -0
  207. /package/dist/arcgis-map-components/{p-faa3b286.entry.js.map → p-c2b55df9.entry.js.map} +0 -0
  208. /package/dist/arcgis-map-components/{p-2ae301b4.entry.js.map → p-c74a83ee.entry.js.map} +0 -0
  209. /package/dist/arcgis-map-components/{p-788c5d98.entry.js.map → p-d3050c56.entry.js.map} +0 -0
  210. /package/dist/arcgis-map-components/{p-3add9f68.entry.js.map → p-d3e791dc.entry.js.map} +0 -0
  211. /package/dist/arcgis-map-components/{p-76be4f5a.entry.js.map → p-d42639bc.entry.js.map} +0 -0
  212. /package/dist/arcgis-map-components/{p-d3637bdd.entry.js.map → p-d74f2d38.entry.js.map} +0 -0
  213. /package/dist/arcgis-map-components/{p-36e0470c.entry.js.map → p-dcab884b.entry.js.map} +0 -0
  214. /package/dist/arcgis-map-components/{p-47453260.entry.js.map → p-ddeb17e1.entry.js.map} +0 -0
  215. /package/dist/arcgis-map-components/{p-27d4ff53.entry.js.map → p-e14af886.entry.js.map} +0 -0
  216. /package/dist/arcgis-map-components/{p-eaea9330.entry.js.map → p-e3f82d1c.entry.js.map} +0 -0
  217. /package/dist/arcgis-map-components/{p-eb7b836a.entry.js.map → p-e7679e9c.entry.js.map} +0 -0
  218. /package/dist/arcgis-map-components/{p-8c15df82.entry.js.map → p-e77700c7.entry.js.map} +0 -0
  219. /package/dist/arcgis-map-components/{p-956e5312.entry.js.map → p-edf74e10.entry.js.map} +0 -0
  220. /package/dist/arcgis-map-components/{p-1dffbae6.entry.js.map → p-f41b7c4a.entry.js.map} +0 -0
  221. /package/dist/arcgis-map-components/{p-96b48828.entry.js.map → p-fc5cdeeb.entry.js.map} +0 -0
@@ -110,7 +110,7 @@ const ArcgisFeatures$1 = /*@__PURE__*/ proxyCustomElement(class ArcgisFeatures e
110
110
  //--------------------------------------------------------------------------
111
111
  async _addWatchers() {
112
112
  const { watch } = await importCoreReactiveUtils();
113
- addHandles(this, watch(async () => await this.widget.promises, async (value) => await (this.promises = value), {
113
+ addHandles(this, watch(() => this.widget.promises, (value) => (this.promises = value), {
114
114
  initial: true
115
115
  }));
116
116
  addHandles(this, watch(() => this.widget.selectedFeature, (value) => (this.selectedFeature = value), {
@@ -1 +1 @@
1
- {"file":"arcgis-features.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,mBAAmB;;MCiB1BA,gBAAc;;;;;;QA4EzB,kBAAa,GAAyB,EAAE,CAAC;;wBAxDtB,aAAa;0BASX,KAAK;;;;;;;;;;;IAb1B,uBAAuB,CAAC,QAAyC;QAC/D,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;KACxC;IAKD,eAAe,CAAC,QAAgB;QAC9B,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YACzC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;SAC7C;KACF;IAOD,cAAc,CAAC,QAAmC;QAChD,IAAI,IAAI,CAAC,MAAM,EAA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AAK,CACH,MAAM,IAAI,CAAC,MAAM,CAAC,oBAAoB,EACtC,CAAC,KAAK,MAAM,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC,EAC9C;YACE,OAAO,EAAE,IAAI;SACd,CACF,CACF,CAAC;QAEF,UAAU,CACR,IAAI,EACJ,KAAK,CACH,MAAM,IAAI,CAAC,MAAM,CAAC,qBAAqB,EACvC,CAAC,KAAK,MAAM,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC,EAC/C;YACE,OAAO,EAAE,IAAI;SACd,CACF,CACF,CAAC;KACH;IAEO,aAAa;QACnB,MAAM,MAAM,GAA4B;YACtC,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;QAEF,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACzB;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;SAC/B;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;SACjC;QAED,OAAO,MAAM,CAAC;KACf;IAEO,YAAY;QAClB,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;KAC7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ArcgisFeatures"],"sources":["src/components/features/features.css?tag=arcgis-features","src/components/features/features.tsx"],"sourcesContent":["arcgis-features {\n /* Component styles go here */\n}\n","import type { EventEmitter, VNode } from \"@stencil/core\";\nimport { Component, Element, Event, Method, Prop, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsFeatures } from \"@arcgis/core-adapter\";\nimport type Features from \"@arcgis/core/widgets/Features\";\nimport type { ArcgisReferenceElement } from \"../../utils/component-utils\";\nimport { addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport type { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type FeaturesWidget = InstanceType<typeof Features>;\n\n@Component({\n tag: \"arcgis-features\",\n styleUrl: \"features.css\"\n})\nexport class ArcgisFeatures {\n @Element() el!: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop() content: FeaturesWidget[\"content\"];\n\n @Watch(\"content\")\n contentWatcher(newValue: FeaturesWidget[\"content\"]): void {\n if (this.widget) {\n this.widget.content = newValue;\n }\n }\n\n @Prop() features: FeaturesWidget[\"features\"];\n\n @Watch(\"features\")\n featuresWatcher(newValue: FeaturesWidget[\"features\"]): void {\n if (this.widget) {\n this.widget.features = newValue;\n }\n }\n @Prop({ mutable: true }) promises: FeaturesWidget[\"promises\"];\n\n @Prop({ mutable: true }) selectedFeature: FeaturesWidget[\"selectedFeature\"];\n\n @Prop({ mutable: true }) selectedFeatureIndex: FeaturesWidget[\"selectedFeatureIndex\"];\n\n @Prop({ mutable: true }) selectedFeatureWidget: FeaturesWidget[\"selectedFeatureWidget\"];\n\n @Prop() visibleElements: FeaturesWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: FeaturesWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: FeaturesWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady!: EventEmitter<{ widget: __esri.Features }>;\n\n @Event({ cancelable: true }) featuresTriggerAction!: EventEmitter<__esri.FeaturesTriggerActionEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async fetchFeatures(\n screenPoint: __esri.FeaturesFetchFeaturesScreenPoint,\n options?: __esri.FetchFeaturesOptions\n ): Promise<__esri.FetchPopupFeaturesResult> {\n return await this.widget?.fetchFeatures(screenPoint, options);\n }\n\n @Method()\n async clear(): Promise<void> {\n this.widget?.clear();\n }\n\n @Method()\n async close(): Promise<void> {\n this.widget?.close();\n }\n\n @Method()\n async next(): Promise<__esri.FeaturesViewModel> {\n return this.widget?.next();\n }\n\n @Method()\n async open(options?: __esri.FeaturesOpenOptions): Promise<void> {\n this.widget?.open(options);\n }\n\n @Method()\n async previous(): Promise<__esri.FeaturesViewModel> {\n return this.widget?.previous();\n }\n\n @Method()\n async triggerAction(actionIndex: number): Promise<void> {\n this.widget?.triggerAction(actionIndex);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsFeatures(params);\n\n this.widget = widget;\n\n await this._addWatchers();\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el!)}>\n <div ref={(el) => (this.childElem = el!)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el!)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n async () => await this.widget.promises,\n async (value) => await (this.promises = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.selectedFeature,\n (value) => (this.selectedFeature = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.selectedFeatureIndex,\n (value) => (this.selectedFeatureIndex = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.selectedFeatureWidget,\n (value) => (this.selectedFeatureWidget = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<FeaturesWidget> {\n const params: Partial<FeaturesWidget> = {\n container: this.childElem\n };\n\n if (this.view) {\n params.view = this.view;\n }\n\n if (this.content) {\n params.content = this.content;\n }\n\n if (this.features) {\n params.features = this.features;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"trigger-action\", (e) => this.featuresTriggerAction.emit(e));\n }\n}\n"],"version":3}
1
+ {"file":"arcgis-features.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,mBAAmB;;MCiB1BA,gBAAc;;;;;;QA4EzB,kBAAa,GAAyB,EAAE,CAAC;;wBAxDtB,aAAa;0BASX,KAAK;;;;;;;;;;;IAb1B,uBAAuB,CAAC,QAAyC;QAC/D,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;KACxC;IAKD,eAAe,CAAC,QAAgB;QAC9B,IAAI,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,EAAE;YACzC,IAAI,CAAC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EACjC,CAAC,KAAK,MAAM,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,EACzC;YACE,OAAO,EAAE,IAAI;SACd,CACF,CACF,CAAC;QAEF,UAAU,CACR,IAAI,EACJ,KAAK,CACH,MAAM,IAAI,CAAC,MAAM,CAAC,oBAAoB,EACtC,CAAC,KAAK,MAAM,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC,EAC9C;YACE,OAAO,EAAE,IAAI;SACd,CACF,CACF,CAAC;QAEF,UAAU,CACR,IAAI,EACJ,KAAK,CACH,MAAM,IAAI,CAAC,MAAM,CAAC,qBAAqB,EACvC,CAAC,KAAK,MAAM,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC,EAC/C;YACE,OAAO,EAAE,IAAI;SACd,CACF,CACF,CAAC;KACH;IAEO,aAAa;QACnB,MAAM,MAAM,GAA4B;YACtC,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;QAEF,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;SACzB;QAED,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;SAC/B;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;SACjC;QAED,OAAO,MAAM,CAAC;KACf;IAEO,YAAY;QAClB,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;KAC7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ArcgisFeatures"],"sources":["src/components/features/features.css?tag=arcgis-features","src/components/features/features.tsx"],"sourcesContent":["arcgis-features {\n /* Component styles go here */\n}\n","import type { EventEmitter, VNode } from \"@stencil/core\";\nimport { Component, Element, Event, Method, Prop, Watch, h } from \"@stencil/core\";\n\n// arcgis imports\nimport { importCoreReactiveUtils, newWidgetsFeatures } from \"@arcgis/core-adapter\";\nimport type Features from \"@arcgis/core/widgets/Features\";\nimport type { ArcgisReferenceElement } from \"../../utils/component-utils\";\nimport { addHandles, checkForView, referenceElementHelper } from \"../../utils/component-utils\";\nimport { onDisconnectedHelper } from \"../../utils/disconnected\";\nimport type { ArcGISMapView, ArcGISSceneView } from \"../types\";\n\nexport type FeaturesWidget = InstanceType<typeof Features>;\n\n@Component({\n tag: \"arcgis-features\",\n styleUrl: \"features.css\"\n})\nexport class ArcgisFeatures {\n @Element() el!: HTMLDivElement;\n\n childElem: HTMLDivElement;\n\n expandElem: HTMLArcgisExpandElement;\n\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n @Prop() referenceElement: ArcgisReferenceElement | string;\n\n @Watch(\"referenceElement\")\n referenceElementWatcher(newValue: ArcgisReferenceElement | string): void {\n referenceElementHelper(this, newValue);\n }\n\n @Prop() position = \"bottom-left\";\n\n @Watch(\"position\")\n positionWatcher(newValue: string): void {\n if (newValue !== undefined && this.widget) {\n this.view.ui.move(this.childElem, newValue);\n }\n }\n\n @Prop() expandable = false;\n\n @Prop() content: FeaturesWidget[\"content\"];\n\n @Watch(\"content\")\n contentWatcher(newValue: FeaturesWidget[\"content\"]): void {\n if (this.widget) {\n this.widget.content = newValue;\n }\n }\n\n @Prop() features: FeaturesWidget[\"features\"];\n\n @Watch(\"features\")\n featuresWatcher(newValue: FeaturesWidget[\"features\"]): void {\n if (this.widget) {\n this.widget.features = newValue;\n }\n }\n @Prop({ mutable: true }) promises: FeaturesWidget[\"promises\"];\n\n @Prop({ mutable: true }) selectedFeature: FeaturesWidget[\"selectedFeature\"];\n\n @Prop({ mutable: true }) selectedFeatureIndex: FeaturesWidget[\"selectedFeatureIndex\"];\n\n @Prop({ mutable: true }) selectedFeatureWidget: FeaturesWidget[\"selectedFeatureWidget\"];\n\n @Prop() visibleElements: FeaturesWidget[\"visibleElements\"];\n\n @Watch(\"visibleElements\")\n visibleElementsWatcher(newValue: FeaturesWidget[\"visibleElements\"]): void {\n if (this.widget) {\n this.widget.visibleElements = newValue;\n }\n }\n\n @Prop({ mutable: true }) view: ArcGISMapView | ArcGISSceneView;\n\n @Watch(\"view\")\n viewWatcher(newValue: ArcGISMapView | ArcGISSceneView): void {\n if (newValue !== undefined && this.widget) {\n this.widget.view = newValue;\n }\n }\n\n @Prop({ mutable: true }) widget: FeaturesWidget;\n\n _watchHandles: __esri.WatchHandle[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: true }) widgetReady!: EventEmitter<{ widget: __esri.Features }>;\n\n @Event({ cancelable: true }) featuresTriggerAction!: EventEmitter<__esri.FeaturesTriggerActionEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async fetchFeatures(\n screenPoint: __esri.FeaturesFetchFeaturesScreenPoint,\n options?: __esri.FetchFeaturesOptions\n ): Promise<__esri.FetchPopupFeaturesResult> {\n return await this.widget?.fetchFeatures(screenPoint, options);\n }\n\n @Method()\n async clear(): Promise<void> {\n this.widget?.clear();\n }\n\n @Method()\n async close(): Promise<void> {\n this.widget?.close();\n }\n\n @Method()\n async next(): Promise<__esri.FeaturesViewModel> {\n return this.widget?.next();\n }\n\n @Method()\n async open(options?: __esri.FeaturesOpenOptions): Promise<void> {\n this.widget?.open(options);\n }\n\n @Method()\n async previous(): Promise<__esri.FeaturesViewModel> {\n return this.widget?.previous();\n }\n\n @Method()\n async triggerAction(actionIndex: number): Promise<void> {\n this.widget?.triggerAction(actionIndex);\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n async componentDidLoad(): Promise<void> {\n const params = this._createParams();\n\n const widget = await newWidgetsFeatures(params);\n\n this.widget = widget;\n\n await this._addWatchers();\n\n this._proxyEvents();\n\n this.widgetReady.emit({ widget: this.widget });\n\n checkForView(this);\n }\n\n disconnectedCallback(): void {\n onDisconnectedHelper(this);\n }\n\n render(): VNode {\n if (this.expandable) {\n return (\n <arcgis-expand position={this.position} ref={(el) => (this.expandElem = el!)}>\n <div ref={(el) => (this.childElem = el!)}></div>\n </arcgis-expand>\n );\n }\n return <div ref={(el) => (this.childElem = el!)}></div>;\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private async _addWatchers() {\n const { watch } = await importCoreReactiveUtils();\n\n addHandles(\n this,\n watch(\n () => this.widget.promises,\n (value) => (this.promises = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.selectedFeature,\n (value) => (this.selectedFeature = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.selectedFeatureIndex,\n (value) => (this.selectedFeatureIndex = value),\n {\n initial: true\n }\n )\n );\n\n addHandles(\n this,\n watch(\n () => this.widget.selectedFeatureWidget,\n (value) => (this.selectedFeatureWidget = value),\n {\n initial: true\n }\n )\n );\n }\n\n private _createParams(): Partial<FeaturesWidget> {\n const params: Partial<FeaturesWidget> = {\n container: this.childElem\n };\n\n if (this.view) {\n params.view = this.view;\n }\n\n if (this.content) {\n params.content = this.content;\n }\n\n if (this.features) {\n params.features = this.features;\n }\n\n return params;\n }\n\n private _proxyEvents() {\n this.widget.on(\"trigger-action\", (e) => this.featuresTriggerAction.emit(e));\n }\n}\n"],"version":3}