@arcgis/map-components 4.29.0-beta.26 → 4.29.0-beta.28

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 (198) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  2. package/dist/arcgis-map-components/p-027c9e49.entry.js +1 -0
  3. package/dist/arcgis-map-components/{p-e542a72e.entry.js → p-085ee848.entry.js} +1 -1
  4. package/dist/arcgis-map-components/{p-68e79f08.entry.js → p-0bbf94b9.entry.js} +1 -1
  5. package/dist/arcgis-map-components/{p-8d37ccc8.entry.js → p-0cda46ba.entry.js} +1 -1
  6. package/dist/arcgis-map-components/{p-e765deec.entry.js → p-0f24c01e.entry.js} +1 -1
  7. package/dist/arcgis-map-components/{p-0adc450b.entry.js → p-111b7d47.entry.js} +1 -1
  8. package/dist/arcgis-map-components/{p-41070a7c.entry.js → p-13b0986e.entry.js} +1 -1
  9. package/dist/arcgis-map-components/p-143a2510.entry.js +1 -0
  10. package/dist/arcgis-map-components/p-16286afd.entry.js +1 -0
  11. package/dist/arcgis-map-components/{p-0c74ff98.entry.js → p-174b2cf3.entry.js} +1 -1
  12. package/dist/arcgis-map-components/{p-e8c0be13.entry.js → p-287d01e6.entry.js} +1 -1
  13. package/dist/arcgis-map-components/p-2acf072d.entry.js +1 -0
  14. package/dist/arcgis-map-components/p-313b8a97.entry.js +1 -0
  15. package/dist/arcgis-map-components/{p-45fd4f76.entry.js → p-32fdbec9.entry.js} +1 -1
  16. package/dist/arcgis-map-components/p-3605e0e3.entry.js +1 -0
  17. package/dist/arcgis-map-components/{p-4064f028.entry.js → p-3df9109f.entry.js} +1 -1
  18. package/dist/arcgis-map-components/p-3e3b3856.entry.js +1 -0
  19. package/dist/arcgis-map-components/{p-e7f5fad9.entry.js → p-4151c045.entry.js} +1 -1
  20. package/dist/arcgis-map-components/p-41521839.entry.js +1 -0
  21. package/dist/arcgis-map-components/{p-d06df52b.entry.js → p-4807aeb2.entry.js} +1 -1
  22. package/dist/arcgis-map-components/{p-55206cea.entry.js → p-4ae72dd5.entry.js} +1 -1
  23. package/dist/arcgis-map-components/{p-8617e4d1.entry.js → p-4e9d6419.entry.js} +1 -1
  24. package/dist/arcgis-map-components/{p-61ba38a9.entry.js → p-56d202dd.entry.js} +1 -1
  25. package/dist/arcgis-map-components/{p-b92055ca.entry.js → p-5e800501.entry.js} +1 -1
  26. package/dist/arcgis-map-components/{p-5b74cd3d.entry.js → p-62db093b.entry.js} +1 -1
  27. package/dist/arcgis-map-components/p-6f67cc5c.entry.js +1 -0
  28. package/dist/arcgis-map-components/{p-56efb6d2.entry.js → p-70628198.entry.js} +1 -1
  29. package/dist/arcgis-map-components/{p-fcf0c05c.entry.js → p-7175b5a9.entry.js} +1 -1
  30. package/dist/arcgis-map-components/{p-b3658283.entry.js → p-7706c616.entry.js} +1 -1
  31. package/dist/arcgis-map-components/{p-61557a57.entry.js → p-83678753.entry.js} +1 -1
  32. package/dist/arcgis-map-components/p-8e4aa8d4.js +1 -0
  33. package/dist/arcgis-map-components/{p-da099e3b.entry.js → p-9aa0a0b9.entry.js} +1 -1
  34. package/dist/arcgis-map-components/{p-704daaee.entry.js → p-9eb6a25b.entry.js} +1 -1
  35. package/dist/arcgis-map-components/p-a0c848a1.entry.js +1 -0
  36. package/dist/arcgis-map-components/p-a10e042c.entry.js +1 -0
  37. package/dist/arcgis-map-components/p-a168dd8d.entry.js +1 -0
  38. package/dist/arcgis-map-components/{p-b202b1aa.entry.js → p-a2d92644.entry.js} +1 -1
  39. package/dist/arcgis-map-components/p-a4b6ea63.entry.js +1 -0
  40. package/dist/arcgis-map-components/{p-c81a5e03.entry.js → p-a9ec8628.entry.js} +1 -1
  41. package/dist/arcgis-map-components/{p-8f656eff.entry.js → p-ab020e01.entry.js} +1 -1
  42. package/dist/arcgis-map-components/p-af78f7b8.js +1 -0
  43. package/dist/arcgis-map-components/{p-0d9e9d6a.entry.js → p-b064b2d8.entry.js} +1 -1
  44. package/dist/arcgis-map-components/p-b679ccf8.entry.js +1 -0
  45. package/dist/arcgis-map-components/p-b8acf499.entry.js +1 -0
  46. package/dist/arcgis-map-components/{p-569ef1c7.entry.js → p-bc0d59d0.entry.js} +1 -1
  47. package/dist/arcgis-map-components/{p-f86f779d.entry.js → p-c73560fd.entry.js} +1 -1
  48. package/dist/arcgis-map-components/p-d19bb993.entry.js +1 -0
  49. package/dist/arcgis-map-components/{p-d7b80bdc.entry.js → p-d20cb48d.entry.js} +1 -1
  50. package/dist/arcgis-map-components/p-d2bf9ce6.entry.js +1 -0
  51. package/dist/arcgis-map-components/{p-950d17a0.entry.js → p-df39f75d.entry.js} +1 -1
  52. package/dist/arcgis-map-components/{p-da7b4f86.entry.js → p-ebbe7ecf.entry.js} +1 -1
  53. package/dist/arcgis-map-components/p-ed9f6cfa.js +2 -0
  54. package/dist/arcgis-map-components/{p-c9946f2e.entry.js → p-f3388486.entry.js} +1 -1
  55. package/dist/arcgis-map-components/{p-4e01cbff.js → p-f80af06c.js} +1 -1
  56. package/dist/arcgis-map-components/p-f89c8421.entry.js +1 -0
  57. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +3 -3
  58. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +3 -3
  59. package/dist/cjs/arcgis-attachments.cjs.entry.js +2 -2
  60. package/dist/cjs/arcgis-basemap-gallery.cjs.entry.js +3 -3
  61. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +3 -3
  62. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +3 -3
  63. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +3 -3
  64. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +3 -3
  65. package/dist/cjs/arcgis-compass.cjs.entry.js +3 -3
  66. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +3 -3
  67. package/dist/cjs/arcgis-daylight.cjs.entry.js +3 -3
  68. package/dist/cjs/arcgis-directions.cjs.entry.js +3 -3
  69. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +3 -3
  70. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +3 -3
  71. package/dist/cjs/arcgis-editor.cjs.entry.js +3 -3
  72. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +3 -3
  73. package/dist/cjs/arcgis-expand_4.cjs.entry.js +45 -141
  74. package/dist/cjs/arcgis-feature-form.cjs.entry.js +1 -1
  75. package/dist/cjs/arcgis-feature-table.cjs.entry.js +3 -3
  76. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +3 -3
  77. package/dist/cjs/arcgis-feature.cjs.entry.js +3 -3
  78. package/dist/cjs/arcgis-features.cjs.entry.js +3 -3
  79. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +3 -3
  80. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +3 -3
  81. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +3 -3
  82. package/dist/cjs/arcgis-histogram.cjs.entry.js +1 -1
  83. package/dist/cjs/arcgis-home.cjs.entry.js +3 -3
  84. package/dist/cjs/arcgis-layer-list.cjs.entry.js +3 -3
  85. package/dist/cjs/arcgis-legend.cjs.entry.js +147 -0
  86. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +3 -3
  87. package/dist/cjs/arcgis-locate.cjs.entry.js +3 -3
  88. package/dist/cjs/arcgis-map-components.cjs.js +2 -2
  89. package/dist/cjs/arcgis-measurement.cjs.entry.js +3 -3
  90. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +3 -3
  91. package/dist/cjs/arcgis-print.cjs.entry.js +3 -3
  92. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +3 -3
  93. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +3 -3
  94. package/dist/cjs/arcgis-search.cjs.entry.js +3 -3
  95. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +3 -3
  96. package/dist/cjs/arcgis-sketch.cjs.entry.js +3 -3
  97. package/dist/cjs/arcgis-slice.cjs.entry.js +3 -3
  98. package/dist/cjs/arcgis-slider.cjs.entry.js +3 -3
  99. package/dist/cjs/arcgis-swipe.cjs.entry.js +3 -3
  100. package/dist/cjs/arcgis-table-list.cjs.entry.js +3 -3
  101. package/dist/cjs/arcgis-time-slider.cjs.entry.js +3 -3
  102. package/dist/cjs/arcgis-track.cjs.entry.js +3 -3
  103. package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +3 -3
  104. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +3 -3
  105. package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +3 -3
  106. package/dist/cjs/arcgis-value-picker.cjs.entry.js +3 -3
  107. package/dist/cjs/arcgis-weather.cjs.entry.js +3 -3
  108. package/dist/cjs/arcgis-zoom.cjs.entry.js +3 -3
  109. package/dist/cjs/{component-utils-17140a1b.js → component-utils-e43d9ad1.js} +4 -4
  110. package/dist/cjs/{disconnected-62af3ef1.js → disconnected-86c5cc08.js} +2 -2
  111. package/dist/cjs/{index-6b51d5a0.js → index-b9b7643c.js} +383 -6
  112. package/dist/cjs/loader.cjs.js +2 -2
  113. package/dist/components/arcgis-placement.d.ts +11 -0
  114. package/dist/components/arcgis-placement.js +67 -0
  115. package/dist/components/disconnected.js +5 -5
  116. package/dist/components/index.d.ts +1 -0
  117. package/dist/components/index.js +1 -0
  118. package/dist/esm/arcgis-area-measurement-2d.entry.js +4 -4
  119. package/dist/esm/arcgis-area-measurement-3d.entry.js +4 -4
  120. package/dist/esm/arcgis-attachments.entry.js +3 -3
  121. package/dist/esm/arcgis-basemap-gallery.entry.js +4 -4
  122. package/dist/esm/arcgis-basemap-layer-list.entry.js +4 -4
  123. package/dist/esm/arcgis-basemap-toggle.entry.js +4 -4
  124. package/dist/esm/arcgis-bookmarks.entry.js +4 -4
  125. package/dist/esm/arcgis-building-explorer.entry.js +4 -4
  126. package/dist/esm/arcgis-compass.entry.js +4 -4
  127. package/dist/esm/arcgis-coordinate-conversion.entry.js +4 -4
  128. package/dist/esm/arcgis-daylight.entry.js +4 -4
  129. package/dist/esm/arcgis-directions.entry.js +4 -4
  130. package/dist/esm/arcgis-directline-measurement-3d.entry.js +4 -4
  131. package/dist/esm/arcgis-distance-measurement-2d.entry.js +4 -4
  132. package/dist/esm/arcgis-editor.entry.js +4 -4
  133. package/dist/esm/arcgis-elevation-profile.entry.js +4 -4
  134. package/dist/esm/arcgis-expand_4.entry.js +46 -142
  135. package/dist/esm/arcgis-feature-form.entry.js +2 -2
  136. package/dist/esm/arcgis-feature-table.entry.js +4 -4
  137. package/dist/esm/arcgis-feature-templates.entry.js +4 -4
  138. package/dist/esm/arcgis-feature.entry.js +4 -4
  139. package/dist/esm/arcgis-features.entry.js +4 -4
  140. package/dist/esm/arcgis-floor-filter.entry.js +4 -4
  141. package/dist/esm/arcgis-fullscreen.entry.js +4 -4
  142. package/dist/esm/arcgis-histogram-range-slider.entry.js +4 -4
  143. package/dist/esm/arcgis-histogram.entry.js +2 -2
  144. package/dist/esm/arcgis-home.entry.js +4 -4
  145. package/dist/esm/arcgis-layer-list.entry.js +4 -4
  146. package/dist/esm/arcgis-legend.entry.js +143 -0
  147. package/dist/esm/arcgis-line-of-sight.entry.js +4 -4
  148. package/dist/esm/arcgis-locate.entry.js +4 -4
  149. package/dist/esm/arcgis-map-components.js +3 -3
  150. package/dist/esm/arcgis-measurement.entry.js +4 -4
  151. package/dist/esm/arcgis-navigation-toggle.entry.js +4 -4
  152. package/dist/esm/arcgis-print.entry.js +4 -4
  153. package/dist/esm/arcgis-scale-bar.entry.js +4 -4
  154. package/dist/esm/arcgis-scale-range-slider.entry.js +4 -4
  155. package/dist/esm/arcgis-search.entry.js +4 -4
  156. package/dist/esm/arcgis-shadow-cast.entry.js +4 -4
  157. package/dist/esm/arcgis-sketch.entry.js +4 -4
  158. package/dist/esm/arcgis-slice.entry.js +4 -4
  159. package/dist/esm/arcgis-slider.entry.js +4 -4
  160. package/dist/esm/arcgis-swipe.entry.js +4 -4
  161. package/dist/esm/arcgis-table-list.entry.js +4 -4
  162. package/dist/esm/arcgis-time-slider.entry.js +4 -4
  163. package/dist/esm/arcgis-track.entry.js +4 -4
  164. package/dist/esm/arcgis-utility-network-associations.entry.js +4 -4
  165. package/dist/esm/arcgis-utility-network-trace.entry.js +4 -4
  166. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +4 -4
  167. package/dist/esm/arcgis-value-picker.entry.js +4 -4
  168. package/dist/esm/arcgis-weather.entry.js +4 -4
  169. package/dist/esm/arcgis-zoom.entry.js +4 -4
  170. package/dist/esm/{component-utils-b2132dc6.js → component-utils-da49aed7.js} +4 -4
  171. package/dist/esm/{disconnected-b4c94753.js → disconnected-dc405cac.js} +2 -2
  172. package/dist/esm/{index-eb3ead33.js → index-d73b34b5.js} +383 -6
  173. package/dist/esm/{index-793aa630.js → index-f2d328e4.js} +1 -1
  174. package/dist/esm/loader.js +3 -3
  175. package/dist/types/components/placement/placement.d.ts +18 -0
  176. package/dist/types/components.d.ts +24 -0
  177. package/dist/types/utils/component-utils.d.ts +5 -3
  178. package/package.json +4 -4
  179. package/dist/arcgis-map-components/p-1464da83.js +0 -1
  180. package/dist/arcgis-map-components/p-1d1df08c.entry.js +0 -1
  181. package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
  182. package/dist/arcgis-map-components/p-23a946ff.entry.js +0 -1
  183. package/dist/arcgis-map-components/p-2819c845.entry.js +0 -1
  184. package/dist/arcgis-map-components/p-287dbb28.entry.js +0 -1
  185. package/dist/arcgis-map-components/p-2b530f54.entry.js +0 -1
  186. package/dist/arcgis-map-components/p-33b4a092.entry.js +0 -1
  187. package/dist/arcgis-map-components/p-4d8bc802.entry.js +0 -1
  188. package/dist/arcgis-map-components/p-5a9ea278.entry.js +0 -1
  189. package/dist/arcgis-map-components/p-72ce2a6e.entry.js +0 -1
  190. package/dist/arcgis-map-components/p-7330a10a.js +0 -1
  191. package/dist/arcgis-map-components/p-7d9bcc42.entry.js +0 -1
  192. package/dist/arcgis-map-components/p-7e0a2e8e.entry.js +0 -1
  193. package/dist/arcgis-map-components/p-97d6f3e7.entry.js +0 -1
  194. package/dist/arcgis-map-components/p-ab3dc9ad.entry.js +0 -1
  195. package/dist/arcgis-map-components/p-d7145fd7.entry.js +0 -1
  196. package/dist/arcgis-map-components/p-e616a1fd.entry.js +0 -1
  197. package/dist/arcgis-map-components/p-faee52eb.entry.js +0 -1
  198. package/dist/arcgis-map-components/p-ff2a451c.entry.js +0 -1
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-eb3ead33.js';
2
- export { s as setNonce } from './index-eb3ead33.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-d73b34b5.js';
2
+ export { s as setNonce } from './index-d73b34b5.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy(JSON.parse("[[\"arcgis-expand_4\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"backgroundColor\":[1025,\"background-color\"],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-line-of-sight\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-search\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}]]],[\"arcgis-shadow-cast\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-feature-table\",[[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[1040],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}]]],[\"arcgis-fullscreen\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-swipe\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
14
+ return bootstrapLazy(JSON.parse("[[\"arcgis-expand_4\",[[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"backgroundColor\":[1025,\"background-color\"],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040]}],[4,\"arcgis-placement\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[16],\"position\":[1]}],[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1025],\"itemId\":[1,\"item-id\"],\"portalUrl\":[1,\"portal-url\"],\"scale\":[1538],\"zoom\":[1538],\"center\":[1537],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-attachments\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-gallery\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list\",[[0,\"arcgis-basemap-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"basemapTitle\":[513,\"basemap-title\"],\"baseItems\":[1040],\"editingEnabled\":[516,\"editing-enabled\"],\"mulitpleSelectionEnabled\":[516,\"mulitple-selection-enabled\"],\"position\":[1],\"expandable\":[4],\"referenceItems\":[1040],\"selectedItems\":[1040],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-building-explorer\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-coordinate-conversion\",[[0,\"arcgis-coordinate-conversion\",{\"referenceElement\":[1,\"reference-element\"],\"conversions\":[16],\"currentLocation\":[1040],\"formats\":[16],\"locationSymbol\":[16],\"mode\":[1],\"multipleConversions\":[4,\"multiple-conversions\"],\"orientation\":[1],\"storageEnabled\":[4,\"storage-enabled\"],\"storageType\":[1,\"storage-type\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight\",[[0,\"arcgis-daylight\",{\"referenceElement\":[1,\"reference-element\"],\"dateOrSeason\":[1,\"date-or-season\"],\"playSpeedMultiplier\":[2,\"play-speed-multiplier\"],\"timeSliderSteps\":[2,\"time-slider-steps\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-directions\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"routeLayerItemId\":[1,\"route-layer-item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-distance-measurement-2d\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[1040]}]]],[\"arcgis-editor\",[[0,\"arcgis-editor\",{\"referenceElement\":[1,\"reference-element\"],\"activeWorkflow\":[1040],\"allowedWorkflows\":[1,\"allowed-workflows\"],\"labelOptions\":[16],\"layerInfos\":[16],\"snappingOptions\":[16],\"supportingWidgetDefaults\":[16],\"tooltipOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile\",[[0,\"arcgis-elevation-profile\",{\"referenceElement\":[1,\"reference-element\"],\"geodesicDistanceThreshold\":[2,\"geodesic-distance-threshold\"],\"input\":[16],\"profiles\":[16],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-feature-templates\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"content\":[1],\"features\":[16],\"selectedFeature\":[1040],\"selectedFeatureIndex\":[1026,\"selected-feature-index\"],\"selectedFeatureWidget\":[1040],\"widget\":[1040],\"fetchFeatures\":[64],\"clear\":[64],\"close\":[64],\"next\":[64],\"open\":[64],\"previous\":[64]}]]],[\"arcgis-floor-filter\",[[0,\"arcgis-floor-filter\",{\"referenceElement\":[1,\"reference-element\"],\"facility\":[1],\"level\":[1],\"longNames\":[4,\"long-names\"],\"site\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[1040],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list\",[[0,\"arcgis-layer-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"operationalItems\":[1040],\"selectedItems\":[16],\"selectionEnabled\":[4,\"selection-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend\",[[0,\"arcgis-legend\",{\"referenceElement\":[1,\"reference-element\"],\"activeLayerInfos\":[16],\"basemapLegendVisible\":[4,\"basemap-legend-visible\"],\"hideLayersNotInCurrentView\":[4,\"hide-layers-not-in-current-view\"],\"layerInfos\":[16],\"respectLayerVisibility\":[4,\"respect-layer-visibility\"],\"legendStyle\":[1,\"legend-style\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-line-of-sight\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-measurement\",[[0,\"arcgis-measurement\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1,\"active-tool\"],\"activeWidget\":[1040],\"areaUnit\":[1,\"area-unit\"],\"linearUnit\":[1,\"linear-unit\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print\",[[0,\"arcgis-print\",{\"referenceElement\":[1,\"reference-element\"],\"allowedFormats\":[1,\"allowed-formats\"],\"allowedLayouts\":[1,\"allowed-layouts\"],\"exportedLinks\":[1040],\"extraParameters\":[8,\"extra-parameters\"],\"includeDefaultTemplates\":[4,\"include-default-templates\"],\"portal\":[16],\"printServiceUrl\":[1,\"print-service-url\"],\"templateCustomTextElements\":[16],\"templateOptions\":[16],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-scale-bar\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layer\":[16],\"maxScale\":[2,\"max-scale\"],\"maxScaleLimit\":[2,\"max-scale-limit\"],\"minScale\":[2,\"min-scale\"],\"minScaleLimit\":[2,\"min-scale-limit\"],\"region\":[1]}]]],[\"arcgis-search\",[[0,\"arcgis-search\",{\"referenceElement\":[1,\"reference-element\"],\"activeMenu\":[1,\"active-menu\"],\"activeSource\":[1040],\"activeSourceIndex\":[1026,\"active-source-index\"],\"allPlaceholder\":[1,\"all-placeholder\"],\"allSources\":[1040],\"autoSelect\":[4,\"auto-select\"],\"defaultSources\":[1040],\"includeDefaultSources\":[4,\"include-default-sources\"],\"locationEnabled\":[4,\"location-enabled\"],\"maxResults\":[2,\"max-results\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"minSuggestCharacters\":[2,\"min-suggest-characters\"],\"popupEnabled\":[4,\"popup-enabled\"],\"popupTemplate\":[16],\"portal\":[16],\"resultGraphic\":[1040],\"resultGraphicEnabled\":[4,\"result-graphic-enabled\"],\"results\":[1040],\"searchAllEnabled\":[4,\"search-all-enabled\"],\"searchTerm\":[1,\"search-term\"],\"selectedResult\":[1040],\"sources\":[16],\"suggestions\":[16],\"suggestionsEnabled\":[4,\"suggestions-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}]]],[\"arcgis-shadow-cast\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch\",[[0,\"arcgis-sketch\",{\"referenceElement\":[1,\"reference-element\"],\"activeTool\":[1537,\"active-tool\"],\"availableCreateTools\":[16],\"createGraphic\":[1040],\"creationMode\":[1,\"creation-mode\"],\"defaultCreateOptions\":[16],\"defaultUpdateOptions\":[16],\"labelOptions\":[16],\"layer\":[1040],\"layout\":[1],\"snappingOptions\":[16],\"tooltipOptions\":[16],\"updateGraphics\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider\",[[0,\"arcgis-slider\",{\"referenceElement\":[1,\"reference-element\"],\"draggableSegmentsEnabled\":[4,\"draggable-segments-enabled\"],\"effectiveMax\":[2,\"effective-max\"],\"effectiveMin\":[2,\"effective-min\"],\"effectiveSegmentElements\":[1040],\"labelElements\":[1040],\"labelInputsEnabled\":[4,\"label-inputs-enabled\"],\"labels\":[16],\"layout\":[1],\"min\":[2],\"max\":[2],\"maxLabelElement\":[1040],\"minLabelElement\":[1040],\"precision\":[2],\"rangeLabelInputsEnabled\":[4,\"range-label-inputs-enabled\"],\"segmentElements\":[1040],\"snapOnClickEnabled\":[4,\"snap-on-click-enabled\"],\"syncedSegmentsEnabled\":[4,\"synced-segments-enabled\"],\"thumbElements\":[1040],\"thumbsConstrained\":[4,\"thumbs-constrained\"],\"tickConfigs\":[16],\"tickElements\":[1040],\"trackElement\":[1040],\"steps\":[8],\"values\":[1],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-table-list\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider\",[[0,\"arcgis-time-slider\",{\"referenceElement\":[1,\"reference-element\"],\"actions\":[16],\"effectiveStops\":[1040],\"fullTimeExtent\":[16],\"layout\":[1],\"loop\":[4],\"mode\":[1],\"playRate\":[2,\"play-rate\"],\"stops\":[16],\"tickConfigs\":[16],\"timeExtent\":[16],\"timeVisible\":[4,\"time-visible\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-associations\",[[0,\"arcgis-utility-network-associations\",{\"referenceElement\":[1,\"reference-element\"],\"autoRefreshAssociations\":[4,\"auto-refresh-associations\"],\"connectivityAssociationsLineSymbol\":[16],\"includeConnectivityAssociations\":[4,\"include-connectivity-associations\"],\"includeStructuralAttachmentAssociations\":[4,\"include-structural-attachment-associations\"],\"maxAllowableAssociations\":[2,\"max-allowable-associations\"],\"maxAllowableAssociationsSliderMax\":[2,\"max-allowable-associations-slider-max\"],\"maxAllowableAssociationsSliderMin\":[2,\"max-allowable-associations-slider-min\"],\"maxAllowableAssociationsSliderStep\":[2,\"max-allowable-associations-slider-step\"],\"showArrowsConnectivity\":[4,\"show-arrows-connectivity\"],\"showArrowsStructuralAttachment\":[4,\"show-arrows-structural-attachment\"],\"showAssociationsEnabled\":[4,\"show-associations-enabled\"],\"structuralAttachmentAssociationsLineSymbol\":[16],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-utility-network-trace\",[[0,\"arcgis-utility-network-trace\",{\"referenceElement\":[1,\"reference-element\"],\"defaultGraphicColor\":[16],\"flags\":[16],\"gdbVersion\":[1,\"gdb-version\"],\"inputSettings\":[16],\"selectedTraces\":[16],\"selectOnComplete\":[4,\"select-on-complete\"],\"showGraphicsOnComplete\":[4,\"show-graphics-on-complete\"],\"showSelectionAttributes\":[4,\"show-selection-attributes\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-utility-network-validate-topology\",[[0,\"arcgis-utility-network-validate-topology\",{\"referenceElement\":[1,\"reference-element\"],\"extentToValidate\":[1,\"extent-to-validate\"],\"utilityNetwork\":[16],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-value-picker\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[1040],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"canNext\":[516,\"can-next\"],\"canPlay\":[516,\"can-play\"],\"canPrevious\":[516,\"can-previous\"],\"caption\":[1],\"component\":[16],\"layout\":[1],\"loop\":[4],\"playRate\":[2,\"play-rate\"],\"values\":[1040],\"next\":[64],\"pause\":[64],\"play\":[64],\"previous\":[64]}]]],[\"arcgis-weather\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-compass\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[1040],\"reset\":[64]}]]],[\"arcgis-feature-form\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-feature-table\",[[0,\"arcgis-feature-table\",{\"referenceElement\":[1,\"reference-element\"],\"activeFilters\":[1040],\"activeSortOrders\":[1040],\"attachmentsEnabled\":[4,\"attachments-enabled\"],\"autoRefreshEnabled\":[4,\"auto-refresh-enabled\"],\"columnReorderingEnabled\":[4,\"column-reordering-enabled\"],\"columns\":[1040],\"editingEnabled\":[4,\"editing-enabled\"],\"filterGeometry\":[16],\"hiddenFields\":[16],\"highlightEnabled\":[4,\"highlight-enabled\"],\"highlightIds\":[16],\"layer\":[1040],\"menu\":[1040],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"url\":[1],\"view\":[1040],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}]]],[\"arcgis-fullscreen\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-histogram\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate\",[[0,\"arcgis-locate\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"popupEnabled\":[4,\"popup-enabled\"],\"scale\":[2],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[1040],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-swipe\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[1040],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track\",[[0,\"arcgis-track\",{\"referenceElement\":[1,\"reference-element\"],\"geolocationOptions\":[8,\"geolocation-options\"],\"goToLocationEnabled\":[4,\"go-to-location-enabled\"],\"graphic\":[16],\"scale\":[2],\"tracking\":[1540],\"useHeadingEnabled\":[4,\"use-heading-enabled\"],\"position\":[1],\"view\":[1040],\"widget\":[1040]}]]],[\"arcgis-zoom\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[1040],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
15
15
  });
16
16
  };
17
17
 
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
+ import { ArcgisReferenceElement, BaseComponentElement } from "../../utils/component-utils";
3
+ import { ArcGISMapView, ArcGISSceneView } from "../types";
4
+ export declare class ArcgisPlacement implements BaseComponentElement {
5
+ el: HTMLArcgisPlacementElement;
6
+ childElem: HTMLDivElement;
7
+ referenceElement: ArcgisReferenceElement | string;
8
+ referenceElementWatcher(newValue: ArcgisReferenceElement | string): void;
9
+ view: ArcGISMapView | ArcGISSceneView;
10
+ position: string;
11
+ positionWatcher(newValue: string): void;
12
+ placementReady: EventEmitter<{
13
+ ready: boolean;
14
+ }>;
15
+ componentDidLoad(): Promise<void>;
16
+ disconnectedCallback(): void;
17
+ render(): VNode;
18
+ }
@@ -441,6 +441,11 @@ export namespace Components {
441
441
  "view": ArcGISSceneView;
442
442
  "widget": NavigationToggleWidget;
443
443
  }
444
+ interface ArcgisPlacement {
445
+ "position": string;
446
+ "referenceElement": ArcgisReferenceElement | string;
447
+ "view": ArcGISMapView | ArcGISSceneView;
448
+ }
444
449
  interface ArcgisPrint {
445
450
  "allowedFormats": PrintWidget["allowedFormats"];
446
451
  "allowedLayouts": PrintWidget["allowedLayouts"];
@@ -867,6 +872,10 @@ export interface ArcgisNavigationToggleCustomEvent<T> extends CustomEvent<T> {
867
872
  detail: T;
868
873
  target: HTMLArcgisNavigationToggleElement;
869
874
  }
875
+ export interface ArcgisPlacementCustomEvent<T> extends CustomEvent<T> {
876
+ detail: T;
877
+ target: HTMLArcgisPlacementElement;
878
+ }
870
879
  export interface ArcgisPrintCustomEvent<T> extends CustomEvent<T> {
871
880
  detail: T;
872
881
  target: HTMLArcgisPrintElement;
@@ -1148,6 +1157,12 @@ declare global {
1148
1157
  prototype: HTMLArcgisNavigationToggleElement;
1149
1158
  new (): HTMLArcgisNavigationToggleElement;
1150
1159
  };
1160
+ interface HTMLArcgisPlacementElement extends Components.ArcgisPlacement, HTMLStencilElement {
1161
+ }
1162
+ var HTMLArcgisPlacementElement: {
1163
+ prototype: HTMLArcgisPlacementElement;
1164
+ new (): HTMLArcgisPlacementElement;
1165
+ };
1151
1166
  interface HTMLArcgisPrintElement extends Components.ArcgisPrint, HTMLStencilElement {
1152
1167
  }
1153
1168
  var HTMLArcgisPrintElement: {
@@ -1297,6 +1312,7 @@ declare global {
1297
1312
  "arcgis-map": HTMLArcgisMapElement;
1298
1313
  "arcgis-measurement": HTMLArcgisMeasurementElement;
1299
1314
  "arcgis-navigation-toggle": HTMLArcgisNavigationToggleElement;
1315
+ "arcgis-placement": HTMLArcgisPlacementElement;
1300
1316
  "arcgis-print": HTMLArcgisPrintElement;
1301
1317
  "arcgis-scale-bar": HTMLArcgisScaleBarElement;
1302
1318
  "arcgis-scale-range-slider": HTMLArcgisScaleRangeSliderElement;
@@ -1704,6 +1720,12 @@ declare namespace LocalJSX {
1704
1720
  "view"?: ArcGISSceneView;
1705
1721
  "widget"?: NavigationToggleWidget;
1706
1722
  }
1723
+ interface ArcgisPlacement {
1724
+ "onPlacementReady"?: (event: ArcgisPlacementCustomEvent<{ ready: boolean }>) => void;
1725
+ "position"?: string;
1726
+ "referenceElement"?: ArcgisReferenceElement | string;
1727
+ "view"?: ArcGISMapView | ArcGISSceneView;
1728
+ }
1707
1729
  interface ArcgisPrint {
1708
1730
  "allowedFormats"?: PrintWidget["allowedFormats"];
1709
1731
  "allowedLayouts"?: PrintWidget["allowedLayouts"];
@@ -2068,6 +2090,7 @@ declare namespace LocalJSX {
2068
2090
  "arcgis-map": ArcgisMap;
2069
2091
  "arcgis-measurement": ArcgisMeasurement;
2070
2092
  "arcgis-navigation-toggle": ArcgisNavigationToggle;
2093
+ "arcgis-placement": ArcgisPlacement;
2071
2094
  "arcgis-print": ArcgisPrint;
2072
2095
  "arcgis-scale-bar": ArcgisScaleBar;
2073
2096
  "arcgis-scale-range-slider": ArcgisScaleRangeSlider;
@@ -2127,6 +2150,7 @@ declare module "@stencil/core" {
2127
2150
  "arcgis-map": LocalJSX.ArcgisMap & JSXBase.HTMLAttributes<HTMLArcgisMapElement>;
2128
2151
  "arcgis-measurement": LocalJSX.ArcgisMeasurement & JSXBase.HTMLAttributes<HTMLArcgisMeasurementElement>;
2129
2152
  "arcgis-navigation-toggle": LocalJSX.ArcgisNavigationToggle & JSXBase.HTMLAttributes<HTMLArcgisNavigationToggleElement>;
2153
+ "arcgis-placement": LocalJSX.ArcgisPlacement & JSXBase.HTMLAttributes<HTMLArcgisPlacementElement>;
2130
2154
  "arcgis-print": LocalJSX.ArcgisPrint & JSXBase.HTMLAttributes<HTMLArcgisPrintElement>;
2131
2155
  "arcgis-scale-bar": LocalJSX.ArcgisScaleBar & JSXBase.HTMLAttributes<HTMLArcgisScaleBarElement>;
2132
2156
  "arcgis-scale-range-slider": LocalJSX.ArcgisScaleRangeSlider & JSXBase.HTMLAttributes<HTMLArcgisScaleRangeSliderElement>;
@@ -1,12 +1,14 @@
1
1
  import { ArcGISMapView, ArcGISSceneView } from "../components/types";
2
2
  import { ExpandableComponent } from "./expandable";
3
3
  export type ArcgisReferenceElement = HTMLArcgisMapElement | HTMLArcgisSceneElement;
4
- export interface WidgetElement extends Partial<HTMLElement> {
5
- el: HTMLDivElement;
6
- childElem?: HTMLDivElement;
4
+ export interface BaseComponentElement extends Partial<HTMLElement> {
5
+ childElem: HTMLDivElement;
7
6
  referenceElement?: ArcgisReferenceElement | string;
8
7
  view?: ArcGISMapView | ArcGISSceneView;
9
8
  position: string;
9
+ }
10
+ export interface WidgetElement extends BaseComponentElement {
11
+ el: HTMLDivElement;
10
12
  widget: any;
11
13
  _watchHandles: __esri.WatchHandle[];
12
14
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@arcgis/map-components",
3
3
  "description": "ArcGIS Map Components",
4
4
  "homepage": "https://developers.arcgis.com/javascript/latest/",
5
- "version": "4.29.0-beta.26",
5
+ "version": "4.29.0-beta.28",
6
6
  "module": "dist/components/index.js",
7
7
  "main": "dist/index.cjs.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -51,9 +51,9 @@
51
51
  "@stencil/core": "2.22.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@arcgis/components-plugins": "4.29.0-beta.26",
54
+ "@arcgis/components-plugins": "4.29.0-beta.28",
55
55
  "@arcgis/core": ">=4.29.0-next <4.30",
56
- "@arcgis/core-adapter": "4.29.0-beta.26",
56
+ "@arcgis/core-adapter": "4.29.0-beta.28",
57
57
  "@arcgis/eslint-config": "1.0.0",
58
58
  "@arcgis/typescript-config": "1.0.0",
59
59
  "@esri/calcite-components": "^1.8.0",
@@ -87,5 +87,5 @@
87
87
  "@arcgis/core": ">=4.29.0-next <4.30",
88
88
  "@esri/calcite-components": ">=1.7.0 <2.0.0"
89
89
  },
90
- "gitHead": "020043db1cc82117b6bdfd6c7b7794669360446b"
90
+ "gitHead": "b7203012c0dc7d2523c958a30f23500d5defbe5a"
91
91
  }
@@ -1 +0,0 @@
1
- function t(t){const e=t.el.closest("arcgis-expand")||t.expandElem;if(e?.widget)return t.view=e.view,e.widget.content=t.childElem,e.widget.expandIcon=t.widget.icon,e.widget.expandIconClass=t.widget.iconClass,!0;if(e){const n=()=>{e.removeEventListener("widgetReady",n,!1),t.view=e.view,e.widget.content=t.childElem,e.widget.expandIcon=t.widget.icon,e.widget.expandIconClass=t.widget.iconClass};return e.addEventListener("widgetReady",n,!1),!0}return!1}function e(t){t.childElem?t.el.isConnected||(t.view&&"string"!=typeof t.view?t.view.ui.remove(t.childElem):t.widget?.view&&t.widget.view.ui.remove(t.childElem),t._watchHandles.forEach((t=>{t.remove()})),t._watchHandles=[],t.widget?.destroy()):setTimeout((()=>{t.el.isConnected||(t.view&&"string"!=typeof t.view?t.view.ui.remove(t.el):t.widget?.view&&t.widget.view.ui.remove(t.el),t._watchHandles.forEach((t=>{t.remove()})),t._watchHandles=[],t.widget?.destroy())}),1e3)}export{t as c,e as o}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{o as h,b as a}from"./p-4e01cbff.js";import{r as o,c as r,a as d}from"./p-7330a10a.js";import{o as n}from"./p-1464da83.js";const c=class{constructor(s){t(this,s),this.bookmarkEdit=i(this,"bookmarkEdit",7),this.bookmarkSelect=i(this,"bookmarkSelect",7),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.bookmarks=void 0,this.defaultCreateOptions=void 0,this.defaultEditOptions=void 0,this.editingEnabled=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}bookmarksWatcher(t){void 0!==t&&this.widget&&(this.widget.bookmarks=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultEditOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultEditOptions=t)}editingEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.editingEnabled=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();d(this,t((()=>this.widget.editingEnabled),(t=>this.editingEnabled=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.bookmarks&&(t.bookmarks=this.bookmarks),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultEditOptions&&(t.defaultEditOptions=this.defaultEditOptions),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),t}_proxyEvents(){this.widget.on("bookmark-edit",(t=>this.bookmarkEdit.emit(t))),this.widget.on("bookmark-select",(t=>this.bookmarkSelect.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],bookmarks:["bookmarksWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultEditOptions:["defaultEditOptionsWatcher"],editingEnabled:["editingEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_bookmarks}
@@ -1,2 +0,0 @@
1
- let e=!1;const t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const o=(e,t,...l)=>{let o=null,c=!1,i=!1;const r=[],a=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((c="function"!=typeof e&&!n(o))&&(o+=""),c&&i?r[r.length-1].t+=o:r.push(c?s(null,o):o),i=c)};if(a(l),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}const u=s(e,null);return u.l=t,r.length>0&&(u.o=r),u},s=(e,t)=>({i:0,u:e,t,m:null,o:null,l:null}),c={},i=e=>A(e).p,r=(e,t,n)=>{const l=i(e);return{emit:e=>a(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},a=(e,t,n)=>{const l=G.ce(t,n);return e.dispatchEvent(l),l},u=new WeakMap,f=e=>"sc-"+e.h,d=(e,t,l,o,s,c)=>{if(l!==o){let i=U(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,n=p(l),s=p(o);t.remove(...n.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!n.includes(e))))}else if("ref"===t)o&&o(e);else{const r=n(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&c||s)&&!r&&e.setAttribute(t,o=!0===o?"":o)}}},m=/\s/,p=e=>e?e.split(m):[],h=(e,n,l,o)=>{const s=11===n.m.nodeType&&n.m.host?n.m.host:n.m,c=e&&e.l||t,i=n.l||t;for(o in c)o in i||d(s,o,c[o],void 0,l,n.i);for(o in i)d(s,o,c[o],i[o],l,n.i)},$=(e,t,n)=>{const l=t.o[n];let o,s,c=0;if(o=l.m=B.createElement(l.u),h(null,l,!1),l.o)for(c=0;c<l.o.length;++c)s=$(e,l,c),s&&o.appendChild(s);return o},y=(e,t,n,l,o,s)=>{let c,i=e;for(;o<=s;++o)l[o]&&(c=$(null,n,o),c&&(l[o].m=c,i.insertBefore(c,t)))},b=(e,t,n,l,o)=>{for(;t<=n;++t)(l=e[t])&&(o=l.m,g(l),o.remove())},w=(e,t)=>e.u===t.u,v=(e,t)=>{const n=t.m=e.m,l=e.o,o=t.o;h(e,t,!1),null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,c=0,i=t.length-1,r=t[0],a=t[i],u=l.length-1,f=l[0],d=l[u];for(;s<=i&&c<=u;)null==r?r=t[++s]:null==a?a=t[--i]:null==f?f=l[++c]:null==d?d=l[--u]:w(r,f)?(v(r,f),r=t[++s],f=l[++c]):w(a,d)?(v(a,d),a=t[--i],d=l[--u]):w(r,d)?(v(r,d),e.insertBefore(r.m,a.m.nextSibling),r=t[++s],d=l[--u]):w(a,f)?(v(a,f),e.insertBefore(a.m,r.m),a=t[--i],f=l[++c]):(o=$(t&&t[c],n,c),f=l[++c],o&&r.m.parentNode.insertBefore(o,r.m));s>i?y(e,null==l[u+1]?null:l[u+1].m,n,l,c,u):c>u&&b(t,s,i)})(n,l,t,o):null!==o?y(n,null,t,o,0,o.length-1):null!==l&&b(l,0,l.length-1)},g=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(g)},S=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},j=(e,t)=>{if(e.i|=16,!(4&e.i))return S(e,e.v),te((()=>M(e,t)));e.i|=512},M=(e,t)=>{const n=e.g;let l;return t&&(l=L(n,"componentWillLoad")),x(l,(()=>k(e,n,t)))},k=async(e,t,n)=>{const o=e.p,s=o["s-rc"];n&&(e=>{const t=e.S;((e,t)=>{var n;let o=f(t);const s=_.get(o);if(e=11===e.nodeType?e:B,s)if("string"==typeof s){let t,c=u.get(e=e.head||e);if(c||u.set(e,c=new Set),!c.has(o)){{t=B.createElement("style"),t.innerHTML=s;const o=null!==(n=G.j)&&void 0!==n?n:l(B);null!=o&&t.setAttribute("nonce",o),e.insertBefore(t,e.querySelector("link"))}c&&c.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.p.getRootNode(),t)})(e);C(e,t),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=o["s-p"],n=()=>O(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},C=(e,t)=>{try{t=t.render&&t.render(),e.i&=-17,e.i|=2,((e,t)=>{const n=e.p,l=e.S,i=e.M||s(null,null),r=(e=>e&&e.u===c)(t)?t:o(null,null,t);l.k&&(r.l=r.l||{},l.k.map((([e,t])=>r.l[t]=n[e]))),r.u=null,r.i|=4,e.M=r,r.m=i.m=n,v(i,r)})(e,t)}catch(t){q(t,e.p)}return null},O=e=>{const t=e.p,n=e.g,l=e.v;L(n,"componentDidRender"),64&e.i||(e.i|=64,E(t),L(n,"componentDidLoad"),e.C(t),l||P()),e.O(t),e.$&&(e.$(),e.$=void 0),512&e.i&&ee((()=>j(e,!1))),e.i&=-517},P=()=>{E(B.documentElement),ee((()=>a(z,"appload",{detail:{namespace:"arcgis-map-components"}})))},L=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){q(e)}},x=(e,t)=>e&&e.then?e.then(t):t(),E=e=>e.setAttribute("hydrated",""),N=(e,t,l)=>{if(t.P){e.watchers&&(t.L=e.watchers);const o=Object.entries(t.P),s=e.prototype;if(o.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(s,e,{get(){return((e,t)=>A(this).N.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=A(e),c=s.p,i=s.N.get(t),r=s.i,a=s.g;if(l=((e,t)=>null==e||n(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.P[t][0]),(!(8&r)||void 0===i)&&l!==i&&(!Number.isNaN(i)||!Number.isNaN(l))&&(s.N.set(t,l),a)){if(o.L&&128&r){const e=o.L[t];e&&e.map((e=>{try{a[e](l,i,t)}catch(e){q(e,c)}}))}2==(18&r)&&j(s,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(s,e,{value(...t){const n=A(this);return n.R.then((()=>n.g[e](...t)))}})})),1&l){const n=new Map;s.attributeChangedCallback=function(e,t,l){G.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=o.filter((([e,t])=>15&t[0])).map((([e,l])=>{const o=l[1]||e;return n.set(o,e),512&l[0]&&t.k.push([e,o]),o}))}}return e},R=(e,t={})=>{var n;const o=[],s=t.exclude||[],c=z.customElements,i=B.head,r=i.querySelector("meta[charset]"),a=B.createElement("style"),u=[];let d,m=!0;Object.assign(G,t),G.T=new URL(t.resourcesUrl||"./",B.baseURI).href,e.map((e=>{e[1].map((t=>{const n={i:t[0],h:t[1],P:t[2],W:t[3]};n.P=t[2],n.k=[],n.L={};const l=n.h,i=class extends HTMLElement{constructor(e){super(e),F(e=this,n)}connectedCallback(){d&&(clearTimeout(d),d=null),m?u.push(this):G.jmp((()=>(e=>{if(0==(1&G.i)){const t=A(e),n=t.S,l=()=>{};if(!(1&t.i)){t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){S(t,t.v=n);break}}n.P&&Object.entries(n.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.i)){{if(t.i|=32,(o=V(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.L=o.watchers,N(o,n,2),o.isProxied=!0);const e=()=>{};t.i|=8;try{new o(t)}catch(e){q(e)}t.i&=-9,t.i|=128,e()}if(o.style){let e=o.style;const t=f(n);if(!_.has(t)){const l=()=>{};((e,t,n)=>{let l=_.get(e);J&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,_.set(e,l)})(t,e,!!(1&n.i)),l()}}}const s=t.v,c=()=>j(t,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(()=>{0==(1&G.i)&&L(A(this).g,"disconnectedCallback")})()))}componentOnReady(){return A(this).A}};n.D=e[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,N(i,n,1)))}))}));{a.innerHTML=o+"{visibility:hidden}[hydrated]{visibility:inherit}",a.setAttribute("data-styles","");const e=null!==(n=G.j)&&void 0!==n?n:l(B);null!=e&&a.setAttribute("nonce",e),i.insertBefore(a,r?r.nextSibling:i.firstChild)}m=!1,u.length?u.map((e=>e.connectedCallback())):G.jmp((()=>d=setTimeout(P,30)))},T=e=>G.j=e,W=new WeakMap,A=e=>W.get(e),D=(e,t)=>W.set(t.g=e,t),F=(e,t)=>{const n={i:0,p:e,S:t,N:new Map};return n.R=new Promise((e=>n.O=e)),n.A=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],W.set(e,n)},U=(e,t)=>t in e,q=(e,t)=>(0,console.error)(e,t),H=new Map,V=e=>{const t=e.h.replace(/-/g,"_"),n=e.D,l=H.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(H.set(n,e),e[t])),q)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},_=new Map,z="undefined"!=typeof window?window:{},B=z.document||{head:{}},G={i:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},I=e=>Promise.resolve(e),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),K=[],Q=[],X=(t,n)=>l=>{t.push(l),e||(e=!0,n&&4&G.i?ee(Z):G.raf(Z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){q(e)}e.length=0},Z=()=>{Y(K),Y(Q),(e=K.length>0)&&G.raf(Z)},ee=e=>I().then(e),te=X(Q,!0);export{R as b,r as c,i as g,o as h,I as p,D as r,T as s}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{$ as h,b as a}from"./p-4e01cbff.js";import{r as o,c as r,a as c}from"./p-7330a10a.js";import{o as n}from"./p-1464da83.js";const d=class{constructor(s){t(this,s),this.trackComplete=i(this,"trackComplete",7),this.trackError=i(this,"trackError",7),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.geolocationOptions=void 0,this.goToLocationEnabled=void 0,this.graphic=void 0,this.scale=void 0,this.tracking=void 0,this.useHeadingEnabled=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}geolocationOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.geolocationOptions=t)}goToLocationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.goToLocationEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}scaleWatcher(t){void 0!==t&&this.widget&&(this.widget.scale=t)}useHeadingEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.useHeadingEnabled=t)}referenceElementWatcher(t){o(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){n(this)}render(){return s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.tracking),(t=>this.tracking=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return void 0!==this.geolocationOptions&&(t.geolocationOptions=this.geolocationOptions),void 0!==this.goToLocationEnabled&&(t.goToLocationEnabled=this.goToLocationEnabled),void 0!==this.graphic&&(t.graphic=this.graphic),void 0!==this.useHeadingEnabled&&(t.useHeadingEnabled=this.useHeadingEnabled),void 0!==this.scale&&(t.scale=this.scale),this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("track",(t=>this.trackComplete.emit(t))),this.widget.on("track-error",(t=>this.trackError.emit(t)))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],geolocationOptions:["geolocationOptionsWatcher"],goToLocationEnabled:["goToLocationEnabledWatcher"],graphic:["graphicWatcher"],scale:["scaleWatcher"],useHeadingEnabled:["useHeadingEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_track}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as e}from"./p-1e5e5ed9.js";import{x as r,b as a}from"./p-4e01cbff.js";import{r as h,c as o,a as n}from"./p-7330a10a.js";import{o as c}from"./p-1464da83.js";const l=class{constructor(i){t(this,i),this.widgetReady=s(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeWorkflow=void 0,this.allowedWorkflows=void 0,this.labelOptions=void 0,this.layerInfos=void 0,this.snappingOptions=void 0,this.supportingWidgetDefaults=void 0,this.tooltipOptions=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}allowedWorkflowsWatcher(t){t&&this.widget&&(this.widget.allowedWorkflows=t)}labelOptionsWatcher(t){t&&this.widget&&(this.widget.labelOptions=t)}layerInfosWatcher(t){t&&this.widget&&(this.widget.layerInfos=t)}snappingOptionsWatcher(t){t&&this.widget&&(this.widget.snappingOptions=t)}supportingWidgetDefaultsWatcher(t){t&&this.widget&&(this.widget.supportingWidgetDefaults=t)}tooltipOptionsWatcher(t){t&&this.widget&&(this.widget.tooltipOptions=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelWorkflow(){return this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){return this.widget?.deleteFeatureFromWorkflow()}async startCreateFeaturesWorkflowAtFeatureCreation(t){return this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(t)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){return this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(t){return this.widget?.startUpdateWorkflowAtFeatureEdit(t)}async startUpdateWorkflowAtFeatureSelection(){return this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(t){return this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(t)}async componentDidLoad(){const t=this._createParams(),s=await r(t);this.widget=s,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?i("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},i("div",{ref:t=>this.childElem=t})):i("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();n(this,t((()=>this.widget.activeWorkflow),(t=>this.activeWorkflow=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return this.allowedWorkflows&&(t.allowedWorkflows=this.allowedWorkflows),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layerInfos&&(t.layerInfos=this.layerInfos),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.supportingWidgetDefaults&&(t.supportingWidgetDefaults=this.supportingWidgetDefaults),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],allowedWorkflows:["allowedWorkflowsWatcher"],labelOptions:["labelOptionsWatcher"],layerInfos:["layerInfosWatcher"],snappingOptions:["snappingOptionsWatcher"],supportingWidgetDefaults:["supportingWidgetDefaultsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_editor}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{v as h,b as r}from"./p-4e01cbff.js";import{r as a,c as o,a as n}from"./p-7330a10a.js";import{o as c}from"./p-1464da83.js";const d=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.analysis=void 0,this.unit=void 0,this.unitOptions=void 0,this.widget=void 0,this.view=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){t&&this.widget&&(this.widget.unitOptions=t)}referenceElementWatcher(t){a(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await r();n(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directline_measurement_3d}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{Z as h,b as a}from"./p-4e01cbff.js";import{r,c as o,a as n}from"./p-7330a10a.js";import{o as c}from"./p-1464da83.js";const l=class{constructor(s){t(this,s),this.triggerAction=i(this,"triggerAction",7),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.multipleSelectionEnabled=!1,this.selectionEnabled=!0,this.selectedItems=void 0,this.tableItems=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.selectionEnabled=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.map=t.map)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this),this._hookEvents(this.widget)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();n(this,t((()=>this.widget.selectedItems),(t=>this.selectedItems=t))),n(this,t((()=>this.widget.tableItems),(t=>this.tableItems=t)))}_createParams(){const t={container:this.childElem,multipleSelectionEnabled:this.multipleSelectionEnabled,selectionEnabled:this.selectionEnabled};return this.view&&(t.map=this.view.map),t}_hookEvents(t){const i=t.on("trigger-action",(t=>{this.triggerAction.emit(t)}));t.own(i)}get el(){return e(this)}static get watchers(){return{multipleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectionEnabled:["selectionEnabledWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};l.style="arcgis-table-list{}";export{l as arcgis_table_list}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as r}from"./p-1e5e5ed9.js";import{j as h}from"./p-4e01cbff.js";import{c as a,o as e}from"./p-1464da83.js";const c=class{constructor(i){t(this,i),this.widgetReady=s(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.graphic=void 0,this.widget=void 0}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}async componentDidLoad(){const t=this._createParams(),s=await h(t);this.widget=s,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){e(this)}render(){return this.expandable?i("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},i("div",{ref:t=>this.childElem=t})):i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.graphic&&(t.graphic=this.graphic),t}get el(){return r(this)}static get watchers(){return{graphic:["graphicWatcher"]}}};c.style="";export{c as arcgis_attachments}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{U as e,b as a,V as o}from"./p-4e01cbff.js";import{r,c,a as n}from"./p-7330a10a.js";import{o as d}from"./p-1464da83.js";const p=class{constructor(s){t(this,s),this.sketchCreate=i(this,"sketchCreate",7),this.sketchDelete=i(this,"sketchDelete",7),this.sketchRedo=i(this,"sketchRedo",7),this.sketchUndo=i(this,"sketchUndo",7),this.sketchUpdate=i(this,"sketchUpdate",7),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeTool=void 0,this.availableCreateTools=void 0,this.createGraphic=void 0,this.creationMode=void 0,this.defaultCreateOptions=void 0,this.defaultUpdateOptions=void 0,this.labelOptions=void 0,this.layer=void 0,this.layout=void 0,this.snappingOptions=void 0,this.tooltipOptions=void 0,this.updateGraphics=void 0,this.view=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}availableCreateToolsWatcher(t){void 0!==t&&this.widget&&(this.widget.availableCreateTools=t)}creationModeWatcher(t){void 0!==t&&this.widget&&(this.widget.creationMode=t)}defaultCreateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultCreateOptions=t)}defaultUpdateOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultUpdateOptions=t)}labelOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.labelOptions=t)}layerWatcher(t){void 0!==t&&this.widget&&(this.widget.layer=t)}layoutWatcher(t){void 0!==t&&this.widget&&(this.widget.layout=t)}snappingOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.snappingOptions=t)}tooltipOptionsWatcher(t){void 0!==t&&this.widget&&(this.widget.tooltipOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t,this.widget.view.map?.add(this.layer))}async componentDidLoad(){const t=await this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),c(this)}disconnectedCallback(){d(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();n(this,t((()=>this.widget.activeTool),(t=>this.activeTool=t),{initial:!0})),n(this,t((()=>this.widget.createGraphic),(t=>this.createGraphic=t),{initial:!0})),n(this,t((()=>this.widget.updateGraphics),(t=>this.updateGraphics=t),{initial:!0}))}async _createParams(){this.layer=await o({title:"Sketch Layer",creationMode:"update"});const t={container:this.childElem,layer:this.layer};return this.view&&(t.view=this.view),this.availableCreateTools&&(t.availableCreateTools=this.availableCreateTools),this.creationMode&&(t.creationMode=this.creationMode),this.defaultCreateOptions&&(t.defaultCreateOptions=this.defaultCreateOptions),this.defaultUpdateOptions&&(t.defaultUpdateOptions=this.defaultUpdateOptions),this.labelOptions&&(t.labelOptions=this.labelOptions),this.layout&&(t.layout=this.layout),this.snappingOptions&&(t.snappingOptions=this.snappingOptions),this.tooltipOptions&&(t.tooltipOptions=this.tooltipOptions),t}get el(){return h(this)}static get watchers(){return{availableCreateTools:["availableCreateToolsWatcher"],creationMode:["creationModeWatcher"],defaultCreateOptions:["defaultCreateOptionsWatcher"],defaultUpdateOptions:["defaultUpdateOptionsWatcher"],labelOptions:["labelOptionsWatcher"],layer:["layerWatcher"],layout:["layoutWatcher"],snappingOptions:["snappingOptionsWatcher"],tooltipOptions:["tooltipOptionsWatcher"],position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};p.style="arcgis-sketch{}";export{p as arcgis_sketch}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{l as h,b as a}from"./p-4e01cbff.js";import{r,c as o,a as c}from"./p-7330a10a.js";import{o as n}from"./p-1464da83.js";const d=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.basemapTitle=void 0,this.baseItems=void 0,this.editingEnabled=!1,this.mulitpleSelectionEnabled=!1,this.position="bottom-left",this.expandable=!1,this.referenceItems=void 0,this.selectedItems=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}basemapTitleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapTitle=t)}editingBasemapEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.editingEnabled=t)}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectedItemsWatcher(t){void 0!==t&&this.widget&&(this.widget.selectedItems=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.basemapTitle&&(t.basemapTitle=this.basemapTitle),void 0!==this.editingEnabled&&(t.editingEnabled=this.editingEnabled),void 0!==this.mulitpleSelectionEnabled&&(t.multipleSelectionEnabled=this.mulitpleSelectionEnabled),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.basemapTitle),(t=>this.basemapTitle=t),{initial:!0})),c(this,t((()=>this.widget.editingEnabled),(t=>this.editingEnabled=t),{initial:!0})),c(this,t((()=>this.widget.multipleSelectionEnabled),(t=>this.mulitpleSelectionEnabled=t),{initial:!0})),c(this,t((()=>this.widget.referenceItems),(t=>this.referenceItems=t),{initial:!0})),c(this,t((()=>this.widget.selectedItems),(t=>this.selectedItems=t),{initial:!0}))}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],basemapTitle:["basemapTitleWatcher"],editingEnabled:["editingBasemapEnabledWatcher"],mulitpleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectedItems:["selectedItemsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_basemap_layer_list}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{S as e,b as a}from"./p-4e01cbff.js";import{r,c,a as o}from"./p-7330a10a.js";import{o as d}from"./p-1464da83.js";const l=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this.searchBlur=i(this,"searchBlur",7),this.searchClear=i(this,"searchClear",7),this.searchComplete=i(this,"searchComplete",7),this.searchFocus=i(this,"searchFocus",7),this.searchStart=i(this,"searchStart",7),this.selectResult=i(this,"selectResult",7),this.suggestComplete=i(this,"suggestComplete",7),this.suggestStart=i(this,"suggestStart",7),this._watchHandles=[],this.referenceElement=void 0,this.activeMenu=void 0,this.activeSource=void 0,this.activeSourceIndex=void 0,this.allPlaceholder=void 0,this.allSources=void 0,this.autoSelect=void 0,this.defaultSources=void 0,this.includeDefaultSources=void 0,this.locationEnabled=void 0,this.maxResults=void 0,this.maxSuggestions=void 0,this.minSuggestCharacters=void 0,this.popupEnabled=void 0,this.popupTemplate=void 0,this.portal=void 0,this.resultGraphic=void 0,this.resultGraphicEnabled=void 0,this.results=void 0,this.searchAllEnabled=void 0,this.searchTerm=void 0,this.selectedResult=void 0,this.sources=void 0,this.suggestions=void 0,this.suggestionsEnabled=void 0,this.position="top-right",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}activeMenuWatcher(t){void 0!==t&&this.widget&&(this.widget.activeMenu=t)}activeSourceIndexWatcher(t){void 0!==t&&this.widget&&(this.widget.activeSourceIndex=t)}allPlaceholderWatcher(t){void 0!==t&&this.widget&&(this.widget.allPlaceholder=t)}autoSelectWatcher(t){void 0!==t&&this.widget&&(this.widget.autoSelect=t)}includeDefaultSourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.includeDefaultSources=t)}locationEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.locationEnabled=t)}maxResultsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxResults=t)}maxSuggestionsWatcher(t){void 0!==t&&this.widget&&(this.widget.maxSuggestions=t)}minSuggestCharactersWatcher(t){void 0!==t&&this.widget&&(this.widget.minSuggestCharacters=t)}popupEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.popupEnabled=t)}popupTemplateWatcher(t){void 0!==t&&this.widget&&(this.widget.popupTemplate=t)}portalWatcher(t){void 0!==t&&this.widget&&(this.widget.portal=t)}resultGraphicEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.resultGraphicEnabled=t)}searchAllEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.searchAllEnabled=t)}searchTermWatcher(t){void 0!==t&&this.widget&&(this.widget.searchTerm=t)}sourcesWatcher(t){void 0!==t&&this.widget&&(this.widget.sources=t)}suggestionsEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.suggestionsEnabled=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async blurSearch(){return this.widget?.blur()}async clearSearch(){return this.widget?.clear()}async focusSearch(){return this.widget?.focus()}async search(t){return this.widget?.search(t)}async suggest(t){return this.widget?.suggest(t)}async componentDidLoad(){const t=this._createParams(),i=await e(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),c(this)}disconnectedCallback(){d(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();o(this,t((()=>this.widget.activeSource),(t=>this.activeSource=t),{initial:!0})),o(this,t((()=>this.widget.activeSourceIndex),(t=>this.activeSourceIndex=t),{initial:!0})),o(this,t((()=>this.widget.allSources),(t=>this.allSources=t),{initial:!0})),o(this,t((()=>this.widget.defaultSources),(t=>this.defaultSources=t),{initial:!0})),o(this,t((()=>this.widget.resultGraphic),(t=>this.resultGraphic=t),{initial:!0})),o(this,t((()=>this.widget.results),(t=>this.results=t),{initial:!0})),o(this,t((()=>this.widget.selectedResult),(t=>this.selectedResult=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}_proxyEvents(){this.widget.on("search-blur",(t=>this.searchBlur.emit(t))),this.widget.on("search-clear",(t=>this.searchClear.emit(t))),this.widget.on("search-complete",(t=>this.searchComplete.emit(t))),this.widget.on("search-focus",(t=>this.searchFocus.emit(t))),this.widget.on("search-start",(t=>this.searchStart.emit(t))),this.widget.on("select-result",(t=>this.selectResult.emit(t))),this.widget.on("suggest-complete",(t=>this.suggestComplete.emit(t))),this.widget.on("suggest-start",(t=>this.suggestStart.emit(t)))}get el(){return h(this)}static get watchers(){return{position:["positionWatcher"],activeMenu:["activeMenuWatcher"],activeSourceIndex:["activeSourceIndexWatcher"],allPlaceholder:["allPlaceholderWatcher"],autoSelect:["autoSelectWatcher"],includeDefaultSources:["includeDefaultSourcesWatcher"],locationEnabled:["locationEnabledWatcher"],maxResults:["maxResultsWatcher"],maxSuggestions:["maxSuggestionsWatcher"],minSuggestCharacters:["minSuggestCharactersWatcher"],popupEnabled:["popupEnabledWatcher"],popupTemplate:["popupTemplateWatcher"],portal:["portalWatcher"],resultGraphicEnabled:["resultGraphicEnabledWatcher"],searchAllEnabled:["searchAllEnabledWatcher"],searchTerm:["searchTermWatcher"],sources:["sourcesWatcher"],suggestionsEnabled:["suggestionsEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_search}
@@ -1 +0,0 @@
1
- import{c as e}from"./p-1464da83.js";function i(e,i){Array.isArray(i)?e._watchHandles=[...e._watchHandles,...i]:e._watchHandles.push(i)}function n(i){let n=!1;if(e(i)){const e=i.el.closest("arcgis-map")||i.el.closest("arcgis-scene");if(e?.view&&"string"!=typeof e?.view)i.view=e.view;else if(e){const n=()=>{e?.removeEventListener("viewReady",n,!1),i.view=e?.view};e.addEventListener("viewReady",n,!1)}}else{let e=i.el.closest("arcgis-map")||i.el.closest("arcgis-scene");e||"string"!=typeof i.referenceElement||(e=document.querySelector(i.referenceElement),n=!0),e?.view&&"string"!=typeof e?.view?(i.view=e.view,n||i.view.ui.add(i.childElem||i.el,i.position)):e&&function(e,i,n){const s=()=>{e?.removeEventListener("viewReady",s,!1),i.view=e?.view,n||"string"==typeof i.view||i.view?.ui.add(i.childElem?i.childElem:i.el,i.position)};e.addEventListener("viewReady",s,!1)}(e,i,n)}}async function s(e){const i=document.querySelector(e);return new Promise((e=>{if(void 0!==i?.view)e(i.view);else if(i){const n=()=>{i.removeEventListener("viewReady",n,!1),e(i.view)};i.addEventListener("viewReady",n,!1)}}))}async function t(e,i){"string"==typeof i?e.view=await s(i):void 0!==i&&e.widget&&(e.view=i.view)}export{i as a,n as c,t as r,s as u}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{k as h,b as a}from"./p-4e01cbff.js";import{r,c as o,a as c}from"./p-7330a10a.js";import{o as n}from"./p-1464da83.js";const d=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.position="bottom-left",this.expandable=!1,this.source=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widget.when((()=>{this.source=this.widget.source})),await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){n(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.source),(()=>this.source=this.widget.source))),c(this,t((()=>this.widget.activeBasemap),(t=>this.activeBasemap=t)))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_basemap_gallery}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,g as s}from"./p-1e5e5ed9.js";import{G as r}from"./p-4e01cbff.js";import{r as h,c as o}from"./p-7330a10a.js";import{o as a}from"./p-1464da83.js";const c=class{constructor(i){t(this,i),this.widgetReady=e(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.element=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}elementWatcher(t){void 0!==t&&this.widget&&(this.widget.element=t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await r(t);this.widget=e,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.element&&(t.element=this.element),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],element:["elementWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_fullscreen}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-1e5e5ed9.js";import{n as e,a,i as r,b as o,c,d as n,e as d,f as l}from"./p-4e01cbff.js";import{r as p,c as v}from"./p-7330a10a.js";import{o as m}from"./p-1464da83.js";const w=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.position="top-right",this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){p(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=await e({container:this.childElem});this.widget=t,this.view&&(this.widget.view=this.view),this._checkForView()}disconnectedCallback(){m(this)}render(){return s("div",{ref:t=>this.childElem=t})}_checkForView(){const t=this.el.closest("arcgis-map")||this.el.closest("arcgis-scene");if(t?.view)this.view=t.view,this.view.ui.add(this.childElem,this.position),this.widgetReady.emit({widget:this.widget});else if(t){const i=()=>{t.removeEventListener("viewReady",i,!1),this.view=t.view,this.view.ui.add(this.childElem,this.position),this.widgetReady.emit({widget:this.widget})};t.addEventListener("viewReady",i,!1)}}get el(){return h(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};w.style="arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";const W=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeLayerInfos=void 0,this.basemapLegendVisible=void 0,this.hideLayersNotInCurrentView=void 0,this.layerInfos=void 0,this.respectLayerVisibility=void 0,this.legendStyle=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}activeLayerInfosWatcher(t){void 0!==t&&this.widget&&(this.widget.activeLayerInfos=t)}basemapLegendVisibleWatcher(t){void 0!==t&&this.widget&&(this.widget.basemapLegendVisible=t)}hideLayersNotInCurrentViewWatcher(t){void 0!==t&&this.widget&&(this.widget.hideLayersNotInCurrentView=t)}layerInfosWatcher(t){void 0!==t&&this.widget&&(this.widget.layerInfos=t)}respectLayerVisibilityWatcher(t){void 0!==t&&this.widget&&(this.widget.respectLayerVisibility=t)}styleWatcher(t){void 0!==t&&this.widget&&(this.widget.style=t)}referenceElementWatcher(t){p(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),v(this)}disconnectedCallback(){m(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.activeLayerInfos&&(t.activeLayerInfos=this.activeLayerInfos),void 0!==this.basemapLegendVisible&&(t.basemapLegendVisible=this.basemapLegendVisible),void 0!==this.hideLayersNotInCurrentView&&(t.hideLayersNotInCurrentView=this.hideLayersNotInCurrentView),this.layerInfos&&(t.layerInfos=this.layerInfos),void 0!==this.respectLayerVisibility&&(t.respectLayerVisibility=this.respectLayerVisibility),this.legendStyle&&(t.style=this.legendStyle),this.view&&(t.view=this.view),t}get el(){return h(this)}static get watchers(){return{position:["positionWatcher"],activeLayerInfos:["activeLayerInfosWatcher"],basemapLegendVisible:["basemapLegendVisibleWatcher"],hideLayersNotInCurrentView:["hideLayersNotInCurrentViewWatcher"],layerInfos:["layerInfosWatcher"],respectLayerVisibility:["respectLayerVisibilityWatcher"],legendStyle:["styleWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};function g(t){function i(t){t.stopPropagation()}return"2d"===t.type&&(t.constraints.rotationEnabled=!1),t.popup.dockEnabled=!0,t.popup.actions.removeAll(),t.popup.viewModel.includeDefaultActions=!1,t.ui.components=["attribution"],t.on("mouse-wheel",i),t.on("double-click",i),t.on("double-click",["Control"],i),t.on("drag",i),t.on("drag",["Shift"],i),t.on("drag",["Shift","Control"],i),t.on("key-down",(t=>{-1!==["+","-","Shift","_","=","ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].indexOf(t.key)&&t.stopPropagation()})),t}W.style="";const u=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this._watchHandles=[],this.apiKey=void 0,this.basemap=void 0,this.backgroundColor=void 0,this.disableNavigation=!1,this.itemId=void 0,this.portalUrl=void 0,this.scale=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0}apiKeyWatcher(t){this.config.apiKey=t}backgroundColorWatcher(t){this.view.background={color:t}}itemIdWatcher(t,i){t&&t!==i&&(this.view?.map?this._updateMap():this._loadMap())}portalUrlWatcher(t,i){t&&t!==i&&(this.view?.map?this._updateMap():this._loadMap())}scaleWatcher(t,i){null!=t&&t!==i&&(this.view.scale=t)}zoomWatcher(t,i){null!=t&&t!==i&&(this.view.zoom=t)}async componentWillLoad(){this.config=await r(),this.apiKey&&(this.config.apiKey=this.apiKey),this._loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}disconnectedCallback(){this._clearWatchHandles(),this.view.destroy()}render(){return s("div",{class:"arcgis-map",ref:t=>this.el=t})}_clearWatchHandles(){this._watchHandles.forEach((t=>t.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:t,when:i}=await o();this._watchHandles.push(t((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`}))),this._watchHandles.push(i((()=>this.view.updating),(()=>{i((()=>!this.view.updating),(()=>{this.zoom!==this.view.zoom&&(this.zoom=this.view.zoom),this.scale!==this.view.scale&&(this.scale=this.view.scale)}),{once:!0})})))}async _createMap(){const t={};return this.itemId&&(t.portalItem=this._createPortalItem()),this.basemap&&(t.basemap=this.basemap),await c(t)}_createPortalItem(){const t={};return this.itemId&&(t.id=this.itemId),this.portalUrl&&(t.portal={url:this.portalUrl}),t}_createViewParams(){const t={};return this.backgroundColor&&(t.background={color:this.backgroundColor}),void 0!==this.zoom&&(t.zoom=this.zoom),void 0!==this.scale&&(t.scale=this.scale),this.center&&(t.center="string"==typeof this.center?this.center.split(",").map((t=>Number(t))):this.center),t}async _loadMap(){const t=await this._createMap(),i=this._createViewParams(),s=await n({map:t,...i});this.view=s,this._addWatchers(),this.disableNavigation&&g(this.view),this.view.when((()=>{this.viewReady.emit({view:this.view})}))}async _updateMap(){if(this.view?.map){this.view.map.destroy();const t=await this._createMap();this.view.map=t}}get _hostElement(){return h(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],backgroundColor:["backgroundColorWatcher"],itemId:["itemIdWatcher"],portalUrl:["portalUrlWatcher"],scale:["scaleWatcher"],zoom:["zoomWatcher"]}}};u.style=".arcgis-map{padding:0;margin:0;height:100%;width:100%}";const y=class{constructor(s){t(this,s),this.viewReady=i(this,"viewReady",7),this._watchHandles=[],this.apiKey=void 0,this.basemap=void 0,this.itemId=void 0,this.portalUrl=void 0,this.scale=void 0,this.zoom=void 0,this.center=void 0,this.view=void 0,this.disableNavigation=!1}apiKeyWatcher(t){this.config.apiKey=t}itemIdWatcher(t,i){t&&t!==i&&(this.view?.map?this._updateMap():this._loadMap())}portalUrlWatcher(t,i){t&&t!==i&&(this.view?.map?this._updateMap():this._loadMap())}scaleWatcher(t,i){null!=t&&t!==i&&(this.view.scale=t)}zoomWatcher(t,i){null!=t&&t!==i&&(this.view.zoom=t)}async componentWillLoad(){this.config=await r(),this.apiKey&&(this.config.apiKey=this.apiKey),this._loadMap()}componentDidRender(){this.view&&(this.view.container=this.el)}disconnectedCallback(){this._clearWatchHandles(),this.view.destroy()}render(){return s("div",{class:"arcgis-scene",ref:t=>this.el=t})}_clearWatchHandles(){this._watchHandles.forEach((t=>t.remove())),this._watchHandles=[]}async _addWatchers(){const{watch:t,when:i}=await o();this._watchHandles.push(t((()=>this.view.center),(t=>{this.center=`${t.longitude},${t.latitude}`}))),this._watchHandles.push(i((()=>this.view.updating),(()=>{i((()=>!this.view.updating),(()=>{this.zoom!==this.view.zoom&&(this.zoom=this.view.zoom),this.scale!==this.view.scale&&(this.scale=this.view.scale)}),{once:!0})})))}async _createMap(){const t={};return this.itemId&&(t.portalItem=this._createPortalItem()),this.basemap&&(t.basemap=this.basemap),await d(t)}_createPortalItem(){const t={};return this.itemId&&(t.id=this.itemId),this.portalUrl&&(t.portal={url:this.portalUrl}),t}_createViewParams(){const t={};return void 0!==this.zoom&&(t.zoom=this.zoom),void 0!==this.scale&&(t.scale=this.scale),this.center&&(t.center="string"==typeof this.center?this.center.split(",").map((t=>Number(t))):this.center),t}async _loadMap(){const t=await this._createMap(),i=this._createViewParams(),s=await l({map:t,...i});this.view=s,this._addWatchers(),this.disableNavigation&&g(this.view),this.view.when((()=>{this.viewReady.emit({view:this.view})}))}async _updateMap(){if(this.view?.map){this.view.map.destroy();const t=await this._createMap();this.view.map=t}}get _hostElement(){return h(this)}static get watchers(){return{apiKey:["apiKeyWatcher"],itemId:["itemIdWatcher"],portalUrl:["portalUrlWatcher"],scale:["scaleWatcher"],zoom:["zoomWatcher"]}}};y.style=".arcgis-scene{padding:0;margin:0;height:100%;width:100%}";export{w as arcgis_expand,W as arcgis_legend,u as arcgis_map,y as arcgis_scene}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{K as h,b as a}from"./p-4e01cbff.js";import{r,c as o,a as c}from"./p-7330a10a.js";import{o as n}from"./p-1464da83.js";const d=class{constructor(e){t(this,e),this.triggerActionEvent=i(this,"triggerActionEvent",7),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.multipleSelectionEnabled=void 0,this.operationalItems=void 0,this.selectedItems=void 0,this.selectionEnabled=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}multipleSelectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.multipleSelectionEnabled=t)}selectedItemsWatcher(t){void 0!==t&&this.widget&&(this.widget.selectedItems=t)}selectionEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.selectionEnabled=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async triggerAction(t,i){return this.widget?.triggerAction(t,i)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){n(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}async _addWatchers(){const{watch:t}=await a();c(this,t((()=>this.widget.operationalItems),(t=>this.operationalItems=t),{initial:!0}))}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),t}async _proxyEvents(){this.widget?.on("trigger-action",(t=>this.triggerActionEvent.emit(t)))}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],multipleSelectionEnabled:["multipleSelectionEnabledWatcher"],selectedItems:["selectedItemsWatcher"],selectionEnabled:["selectionEnabledWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_layer_list}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{h as r}from"./p-4e01cbff.js";import{r as h,c as o}from"./p-7330a10a.js";import{o as a}from"./p-1464da83.js";const c=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.unit=void 0,this.unitOptions=void 0,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}referenceElementWatcher(t){h(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await r(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_area_measurement_3d}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as s,g as h}from"./p-1e5e5ed9.js";import{X as e,b as a}from"./p-4e01cbff.js";import{c as r,a as n}from"./p-7330a10a.js";import{o as c}from"./p-1464da83.js";const d=class{constructor(s){i(this,s),this.sliderMaxChange=t(this,"sliderMaxChange",7),this.sliderMaxClick=t(this,"sliderMaxClick",7),this.sliderMinChange=t(this,"sliderMinChange",7),this.sliderMinClick=t(this,"sliderMinClick",7),this.sliderSegmentClick=t(this,"sliderSegmentClick",7),this.sliderSegmentDrag=t(this,"sliderSegmentDrag",7),this.sliderThumbChange=t(this,"sliderThumbChange",7),this.sliderThumbClick=t(this,"sliderThumbClick",7),this.sliderThumbDrag=t(this,"sliderThumbDrag",7),this.sliderTickClick=t(this,"sliderTickClick",7),this.sliderTrackClick=t(this,"sliderTrackClick",7),this.widgetReady=t(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.draggableSegmentsEnabled=void 0,this.effectiveMax=void 0,this.effectiveMin=void 0,this.effectiveSegmentElements=void 0,this.labelElements=void 0,this.labelInputsEnabled=void 0,this.labels=void 0,this.layout="horizontal",this.min=void 0,this.max=void 0,this.maxLabelElement=void 0,this.minLabelElement=void 0,this.precision=void 0,this.rangeLabelInputsEnabled=void 0,this.segmentElements=void 0,this.snapOnClickEnabled=void 0,this.syncedSegmentsEnabled=void 0,this.thumbElements=void 0,this.thumbsConstrained=void 0,this.tickConfigs=void 0,this.tickElements=void 0,this.trackElement=void 0,this.steps=void 0,this.values=void 0,this.position="bottom-left",this.expandable=!1,this.widget=void 0}draggableSegmentsEnabledWatcher(i){this.widget&&(this.widget.draggableSegmentsEnabled=i)}effectiveMaxWatcher(i){this.widget&&(this.widget.effectiveMax=i)}effectiveMinWatcher(i){this.widget&&(this.widget.effectiveMin=i)}layoutWatcher(i){this.widget&&(this.widget.layout=i)}minWatcher(i){this.widget&&(this.widget.min=i)}maxWatcher(i){this.widget&&(this.widget.max=i)}precisionWatcher(i){this.widget&&(this.widget.precision=i)}rangeLabelInputsEnabledWatcher(i){this.widget&&(this.widget.rangeLabelInputsEnabled=i)}snapOnClickEnabledWatcher(i){this.widget&&(this.widget.snapOnClickEnabled=i)}stepsWatcher(i){this.widget&&(this.widget.steps=i)}syncedSegmentsEnabledWatcher(i){this.widget&&(this.widget.syncedSegmentsEnabled=i)}thumbsConstrainedWatcher(i){this.widget&&(this.widget.thumbsConstrained=i)}tickConfigsWatcher(i){this.widget&&(this.widget.tickConfigs=i)}valuesWatcher(i){"string"==typeof i&&(this.values=i.split(",").map((i=>Number(i)))),this.widget&&(this.widget.values=this.values)}async componentDidLoad(){const i=this._createParams(),t=await e(i);this.widget=t,await this._addWatchers(),this.widgetReady.emit({widget:this.widget}),r(this)}disconnectedCallback(){c(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:i=>this.expandElem=i},s("div",{ref:i=>this.childElem=i})):s("div",{ref:i=>this.childElem=i})}async _addWatchers(){const{watch:i}=await a();n(this,i((()=>this.widget.effectiveSegmentElements),(i=>this.effectiveSegmentElements=i),{initial:!0})),n(this,i((()=>this.widget.labelElements),(i=>this.labelElements=i),{initial:!0})),n(this,i((()=>this.widget.maxLabelElement),(i=>this.maxLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.minLabelElement),(i=>this.minLabelElement=i),{initial:!0})),n(this,i((()=>this.widget.segmentElements),(i=>this.segmentElements=i),{initial:!0})),n(this,i((()=>this.widget.thumbElements),(i=>this.thumbElements=i),{initial:!0})),n(this,i((()=>this.widget.tickElements),(i=>this.tickElements=i),{initial:!0})),n(this,i((()=>this.widget.trackElement),(i=>this.trackElement=i),{initial:!0}))}_createParams(){const i={container:this.childElem,layout:this.layout};return void 0!==this.min&&(i.min=this.min),void 0!==this.max&&(i.max=this.max),this.steps&&("string"==typeof this.steps&&(this.steps=this.steps.split(",").map((i=>Number(i)))),i.steps=this.steps),this.values&&("string"==typeof this.values&&(this.values=this.values.split(",").map((i=>Number(i)))),i.values=this.values),i}get el(){return h(this)}static get watchers(){return{draggableSegmentsEnabled:["draggableSegmentsEnabledWatcher"],effectiveMax:["effectiveMaxWatcher"],effectiveMin:["effectiveMinWatcher"],layout:["layoutWatcher"],min:["minWatcher"],max:["maxWatcher"],precision:["precisionWatcher"],rangeLabelInputsEnabled:["rangeLabelInputsEnabledWatcher"],snapOnClickEnabled:["snapOnClickEnabledWatcher"],steps:["stepsWatcher"],syncedSegmentsEnabled:["syncedSegmentsEnabledWatcher"],thumbsConstrained:["thumbsConstrainedWatcher"],tickConfigs:["tickConfigsWatcher"],values:["valuesWatcher"]}}};d.style="arcgis-slider{min-width:200px;min-height:25px}";export{d as arcgis_slider}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-1e5e5ed9.js";import{z as h}from"./p-4e01cbff.js";import{r,c as a}from"./p-7330a10a.js";import{o}from"./p-1464da83.js";const c=class{constructor(e){t(this,e),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.defaultPopupTemplateEnabled=void 0,this.graphic=void 0,this.position="bottom-left",this.expandable=!1,this.view=void 0,this.widget=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}defaultPopupTemplateEnabledWatcher(t){void 0!==t&&this.widget&&(this.widget.defaultPopupTemplateEnabled=t)}graphicWatcher(t){void 0!==t&&this.widget&&(this.widget.graphic=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return this.expandable?e("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},e("div",{ref:t=>this.childElem=t})):e("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return void 0!==this.defaultPopupTemplateEnabled&&(t.defaultPopupTemplateEnabled=this.defaultPopupTemplateEnabled),this.graphic&&(t.graphic=this.graphic),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{position:["positionWatcher"],defaultPopupTemplateEnabled:["defaultPopupTemplateEnabledWatcher"],graphic:["graphicWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_feature}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as e}from"./p-1e5e5ed9.js";import{w as h}from"./p-4e01cbff.js";import{r,c as o}from"./p-7330a10a.js";import{o as a}from"./p-1464da83.js";const n=class{constructor(s){t(this,s),this.widgetReady=i(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.position="bottom-left",this.expandable=!1,this.unit=void 0,this.unitOptions=void 0,this.widget=void 0,this.view=void 0}positionWatcher(t){void 0!==t&&this.widget&&"string"!=typeof this.view&&this.view.ui.move(this.childElem,t)}unitWatcher(t){t&&this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){t&&this.widget&&(this.widget.unitOptions=t)}referenceElementWatcher(t){r(this,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this.widgetReady.emit({widget:this.widget}),o(this)}disconnectedCallback(){a(this)}render(){return this.expandable?s("arcgis-expand",{position:this.position,ref:t=>this.expandElem=t},s("div",{ref:t=>this.childElem=t})):s("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{position:["positionWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],referenceElement:["referenceElementWatcher"],view:["viewWatcher"]}}};n.style="";export{n as arcgis_distance_measurement_2d}