@arcgis/map-components 1.0.0-beta.16 → 1.0.0-beta.17

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 (248) hide show
  1. package/dist/arcgis-map-components/app-globals-0f993ce5.js +3 -0
  2. package/dist/{esm → arcgis-map-components}/arcgis-area-measurement-2d.entry.js +2 -2
  3. package/dist/{esm → arcgis-map-components}/arcgis-area-measurement-3d.entry.js +2 -2
  4. package/dist/{esm → arcgis-map-components}/arcgis-attachments.entry.js +2 -2
  5. package/dist/arcgis-map-components/arcgis-basemap-gallery.entry.js +93 -0
  6. package/dist/{esm → arcgis-map-components}/arcgis-basemap-layer-list.entry.js +2 -2
  7. package/dist/{esm → arcgis-map-components}/arcgis-basemap-toggle.entry.js +2 -2
  8. package/dist/{esm → arcgis-map-components}/arcgis-bookmarks.entry.js +2 -2
  9. package/dist/{esm → arcgis-map-components}/arcgis-building-explorer.entry.js +2 -2
  10. package/dist/{esm → arcgis-map-components}/arcgis-compass.entry.js +2 -2
  11. package/dist/{esm → arcgis-map-components}/arcgis-coordinate-conversion.entry.js +2 -2
  12. package/dist/{esm → arcgis-map-components}/arcgis-daylight.entry.js +2 -2
  13. package/dist/{esm → arcgis-map-components}/arcgis-directions.entry.js +2 -2
  14. package/dist/{esm → arcgis-map-components}/arcgis-directline-measurement-3d.entry.js +2 -2
  15. package/dist/{esm → arcgis-map-components}/arcgis-distance-measurement-2d.entry.js +2 -2
  16. package/dist/{esm → arcgis-map-components}/arcgis-editor.entry.js +2 -2
  17. package/dist/{esm → arcgis-map-components}/arcgis-elevation-profile.entry.js +2 -2
  18. package/dist/{components/arcgis-expand2.js → arcgis-map-components/arcgis-expand.entry.js} +11 -30
  19. package/dist/{esm → arcgis-map-components}/arcgis-feature-form.entry.js +2 -2
  20. package/dist/{esm → arcgis-map-components}/arcgis-feature-table.entry.js +2 -2
  21. package/dist/{esm → arcgis-map-components}/arcgis-feature-templates.entry.js +2 -2
  22. package/dist/{esm → arcgis-map-components}/arcgis-feature.entry.js +2 -2
  23. package/dist/{esm → arcgis-map-components}/arcgis-features.entry.js +2 -2
  24. package/dist/{esm → arcgis-map-components}/arcgis-floor-filter.entry.js +2 -2
  25. package/dist/{esm → arcgis-map-components}/arcgis-fullscreen.entry.js +2 -2
  26. package/dist/{esm → arcgis-map-components}/arcgis-histogram-range-slider.entry.js +2 -2
  27. package/dist/{esm → arcgis-map-components}/arcgis-histogram.entry.js +2 -2
  28. package/dist/{esm → arcgis-map-components}/arcgis-home.entry.js +2 -2
  29. package/dist/{esm → arcgis-map-components}/arcgis-layer-list.entry.js +2 -2
  30. package/dist/{esm → arcgis-map-components}/arcgis-legend.entry.js +2 -2
  31. package/dist/{esm → arcgis-map-components}/arcgis-line-of-sight.entry.js +2 -2
  32. package/dist/{esm → arcgis-map-components}/arcgis-locate.entry.js +2 -2
  33. package/dist/arcgis-map-components/arcgis-map-components.esm.js +148 -1
  34. package/dist/{components/arcgis-map.js → arcgis-map-components/arcgis-map.entry.js} +10 -36
  35. package/dist/{esm → arcgis-map-components}/arcgis-measurement.entry.js +2 -2
  36. package/dist/{esm → arcgis-map-components}/arcgis-navigation-toggle.entry.js +2 -2
  37. package/dist/{esm → arcgis-map-components}/arcgis-print.entry.js +2 -2
  38. package/dist/{esm → arcgis-map-components}/arcgis-scale-bar.entry.js +2 -2
  39. package/dist/{esm → arcgis-map-components}/arcgis-scale-range-slider.entry.js +2 -2
  40. package/dist/{esm → arcgis-map-components}/arcgis-scene.entry.js +2 -2
  41. package/dist/{esm → arcgis-map-components}/arcgis-search.entry.js +2 -2
  42. package/dist/{esm → arcgis-map-components}/arcgis-shadow-cast.entry.js +2 -2
  43. package/dist/{esm → arcgis-map-components}/arcgis-sketch.entry.js +2 -2
  44. package/dist/{esm → arcgis-map-components}/arcgis-slice.entry.js +2 -2
  45. package/dist/{esm → arcgis-map-components}/arcgis-slider.entry.js +2 -2
  46. package/dist/{esm → arcgis-map-components}/arcgis-swipe.entry.js +2 -2
  47. package/dist/{esm → arcgis-map-components}/arcgis-table-list.entry.js +2 -2
  48. package/dist/{esm → arcgis-map-components}/arcgis-time-slider.entry.js +2 -2
  49. package/dist/{esm → arcgis-map-components}/arcgis-track.entry.js +2 -2
  50. package/dist/{esm → arcgis-map-components}/arcgis-utility-network-trace.entry.js +2 -2
  51. package/dist/{esm → arcgis-map-components}/arcgis-value-picker.entry.js +2 -2
  52. package/dist/{esm → arcgis-map-components}/arcgis-weather.entry.js +2 -2
  53. package/dist/{esm → arcgis-map-components}/arcgis-zoom.entry.js +2 -2
  54. package/dist/arcgis-map-components/css-shim-b7d3d95f.js +4 -0
  55. package/dist/arcgis-map-components/dom-64053c71.js +73 -0
  56. package/dist/arcgis-map-components/index-82d260eb.js +8293 -0
  57. package/dist/arcgis-map-components/index-d9a93dfb.js +3371 -0
  58. package/dist/arcgis-map-components/index.esm.js +1 -0
  59. package/dist/arcgis-map-components/shadow-css-008a49f5.js +387 -0
  60. package/package.json +3 -3
  61. package/dist/arcgis-map-components/p-095e0075.js +0 -1
  62. package/dist/arcgis-map-components/p-0a81674b.entry.js +0 -1
  63. package/dist/arcgis-map-components/p-0b5368a6.entry.js +0 -1
  64. package/dist/arcgis-map-components/p-0dddef29.entry.js +0 -1
  65. package/dist/arcgis-map-components/p-0decaa03.entry.js +0 -1
  66. package/dist/arcgis-map-components/p-1126ae71.entry.js +0 -1
  67. package/dist/arcgis-map-components/p-1307fe8a.entry.js +0 -1
  68. package/dist/arcgis-map-components/p-1401deea.js +0 -1
  69. package/dist/arcgis-map-components/p-1e5e5ed9.js +0 -2
  70. package/dist/arcgis-map-components/p-23530601.entry.js +0 -1
  71. package/dist/arcgis-map-components/p-3b5c0098.entry.js +0 -1
  72. package/dist/arcgis-map-components/p-406f187c.entry.js +0 -1
  73. package/dist/arcgis-map-components/p-5396bcb5.entry.js +0 -1
  74. package/dist/arcgis-map-components/p-5a87f5c4.entry.js +0 -1
  75. package/dist/arcgis-map-components/p-5cabdee7.js +0 -1
  76. package/dist/arcgis-map-components/p-69214958.entry.js +0 -1
  77. package/dist/arcgis-map-components/p-6e69fe28.entry.js +0 -1
  78. package/dist/arcgis-map-components/p-741086a4.entry.js +0 -1
  79. package/dist/arcgis-map-components/p-79080368.entry.js +0 -1
  80. package/dist/arcgis-map-components/p-7e5545cf.entry.js +0 -1
  81. package/dist/arcgis-map-components/p-7e90f27c.entry.js +0 -1
  82. package/dist/arcgis-map-components/p-80fd5534.entry.js +0 -1
  83. package/dist/arcgis-map-components/p-81a3bd3b.entry.js +0 -1
  84. package/dist/arcgis-map-components/p-85b278c1.entry.js +0 -1
  85. package/dist/arcgis-map-components/p-866d57e1.entry.js +0 -1
  86. package/dist/arcgis-map-components/p-86acdf29.entry.js +0 -1
  87. package/dist/arcgis-map-components/p-8bf81a13.entry.js +0 -1
  88. package/dist/arcgis-map-components/p-95287b70.entry.js +0 -1
  89. package/dist/arcgis-map-components/p-95aa4e86.entry.js +0 -1
  90. package/dist/arcgis-map-components/p-9634a446.entry.js +0 -1
  91. package/dist/arcgis-map-components/p-9d16369e.entry.js +0 -1
  92. package/dist/arcgis-map-components/p-a094dafc.entry.js +0 -1
  93. package/dist/arcgis-map-components/p-a6ab7f72.entry.js +0 -1
  94. package/dist/arcgis-map-components/p-a7715a1a.entry.js +0 -1
  95. package/dist/arcgis-map-components/p-aa73b1cb.entry.js +0 -1
  96. package/dist/arcgis-map-components/p-ae017ef1.entry.js +0 -1
  97. package/dist/arcgis-map-components/p-b5182c68.entry.js +0 -1
  98. package/dist/arcgis-map-components/p-b813c9e6.js +0 -1
  99. package/dist/arcgis-map-components/p-bfb9ceb4.entry.js +0 -1
  100. package/dist/arcgis-map-components/p-c28ede1a.entry.js +0 -1
  101. package/dist/arcgis-map-components/p-c64bceeb.entry.js +0 -1
  102. package/dist/arcgis-map-components/p-c726b024.entry.js +0 -1
  103. package/dist/arcgis-map-components/p-d0dc4119.entry.js +0 -1
  104. package/dist/arcgis-map-components/p-d2274db9.entry.js +0 -1
  105. package/dist/arcgis-map-components/p-d5b79b4e.entry.js +0 -1
  106. package/dist/arcgis-map-components/p-d9c0253a.entry.js +0 -1
  107. package/dist/arcgis-map-components/p-db02ac80.entry.js +0 -1
  108. package/dist/arcgis-map-components/p-dfbbbdad.entry.js +0 -1
  109. package/dist/arcgis-map-components/p-e432eb73.entry.js +0 -1
  110. package/dist/arcgis-map-components/p-e4f5a3f5.entry.js +0 -1
  111. package/dist/arcgis-map-components/p-f32183ab.entry.js +0 -1
  112. package/dist/arcgis-map-components/p-f9b78102.entry.js +0 -1
  113. package/dist/arcgis-map-components/p-fa591c93.entry.js +0 -1
  114. package/dist/arcgis-map-components/p-fee8b15a.entry.js +0 -1
  115. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +0 -101
  116. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +0 -94
  117. package/dist/cjs/arcgis-attachments.cjs.entry.js +0 -73
  118. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +0 -281
  119. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +0 -144
  120. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +0 -115
  121. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +0 -140
  122. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +0 -80
  123. package/dist/cjs/arcgis-compass.cjs.entry.js +0 -90
  124. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +0 -158
  125. package/dist/cjs/arcgis-daylight.cjs.entry.js +0 -116
  126. package/dist/cjs/arcgis-directions.cjs.entry.js +0 -194
  127. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +0 -114
  128. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +0 -106
  129. package/dist/cjs/arcgis-editor.cjs.entry.js +0 -180
  130. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +0 -136
  131. package/dist/cjs/arcgis-feature-form.cjs.entry.js +0 -36
  132. package/dist/cjs/arcgis-feature-table.cjs.entry.js +0 -300
  133. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +0 -73
  134. package/dist/cjs/arcgis-feature.cjs.entry.js +0 -106
  135. package/dist/cjs/arcgis-features.cjs.entry.js +0 -133
  136. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +0 -134
  137. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +0 -92
  138. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +0 -80
  139. package/dist/cjs/arcgis-histogram.cjs.entry.js +0 -36
  140. package/dist/cjs/arcgis-home.cjs.entry.js +0 -108
  141. package/dist/cjs/arcgis-layer-list.cjs.entry.js +0 -128
  142. package/dist/cjs/arcgis-legend.cjs.entry.js +0 -146
  143. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +0 -94
  144. package/dist/cjs/arcgis-locate.cjs.entry.js +0 -158
  145. package/dist/cjs/arcgis-map-components.cjs.js +0 -23
  146. package/dist/cjs/arcgis-measurement.cjs.entry.js +0 -123
  147. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +0 -97
  148. package/dist/cjs/arcgis-print.cjs.entry.js +0 -163
  149. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +0 -106
  150. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +0 -146
  151. package/dist/cjs/arcgis-scene.cjs.entry.js +0 -106
  152. package/dist/cjs/arcgis-search.cjs.entry.js +0 -276
  153. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +0 -95
  154. package/dist/cjs/arcgis-sketch.cjs.entry.js +0 -201
  155. package/dist/cjs/arcgis-slice.cjs.entry.js +0 -103
  156. package/dist/cjs/arcgis-slider.cjs.entry.js +0 -233
  157. package/dist/cjs/arcgis-swipe.cjs.entry.js +0 -117
  158. package/dist/cjs/arcgis-table-list.cjs.entry.js +0 -118
  159. package/dist/cjs/arcgis-time-slider.cjs.entry.js +0 -216
  160. package/dist/cjs/arcgis-track.cjs.entry.js +0 -147
  161. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +0 -162
  162. package/dist/cjs/arcgis-value-picker.cjs.entry.js +0 -160
  163. package/dist/cjs/arcgis-weather.cjs.entry.js +0 -86
  164. package/dist/cjs/arcgis-zoom.cjs.entry.js +0 -100
  165. package/dist/cjs/component-utils-933b7aca.js +0 -76
  166. package/dist/cjs/disconnected-306cb220.js +0 -55
  167. package/dist/cjs/index-6b51d5a0.js +0 -1607
  168. package/dist/cjs/index-ef2acc94.js +0 -717
  169. package/dist/cjs/index.cjs.js +0 -2
  170. package/dist/cjs/loader.cjs.js +0 -22
  171. package/dist/cjs/mapping-utils-c2c7b994.js +0 -40
  172. package/dist/components/arcgis-area-measurement-2d.js +0 -128
  173. package/dist/components/arcgis-area-measurement-3d.js +0 -121
  174. package/dist/components/arcgis-attachments.js +0 -99
  175. package/dist/components/arcgis-basemap-gallery.js +0 -124
  176. package/dist/components/arcgis-basemap-layer-list.js +0 -175
  177. package/dist/components/arcgis-basemap-toggle.js +0 -143
  178. package/dist/components/arcgis-bookmarks.js +0 -169
  179. package/dist/components/arcgis-building-explorer.js +0 -105
  180. package/dist/components/arcgis-compass.js +0 -109
  181. package/dist/components/arcgis-coordinate-conversion.js +0 -193
  182. package/dist/components/arcgis-daylight.js +0 -144
  183. package/dist/components/arcgis-directions.js +0 -230
  184. package/dist/components/arcgis-directline-measurement-3d.js +0 -142
  185. package/dist/components/arcgis-distance-measurement-2d.js +0 -133
  186. package/dist/components/arcgis-editor.js +0 -219
  187. package/dist/components/arcgis-elevation-profile.js +0 -166
  188. package/dist/components/arcgis-expand.js +0 -6
  189. package/dist/components/arcgis-feature-form.js +0 -55
  190. package/dist/components/arcgis-feature-table.js +0 -355
  191. package/dist/components/arcgis-feature-templates.js +0 -98
  192. package/dist/components/arcgis-feature.js +0 -133
  193. package/dist/components/arcgis-features.js +0 -169
  194. package/dist/components/arcgis-floor-filter.js +0 -164
  195. package/dist/components/arcgis-fullscreen.js +0 -111
  196. package/dist/components/arcgis-histogram-range-slider.js +0 -106
  197. package/dist/components/arcgis-histogram.js +0 -55
  198. package/dist/components/arcgis-home.js +0 -129
  199. package/dist/components/arcgis-layer-list.js +0 -158
  200. package/dist/components/arcgis-legend.js +0 -177
  201. package/dist/components/arcgis-line-of-sight.js +0 -120
  202. package/dist/components/arcgis-locate.js +0 -184
  203. package/dist/components/arcgis-measurement.js +0 -153
  204. package/dist/components/arcgis-navigation-toggle.js +0 -117
  205. package/dist/components/arcgis-print.js +0 -197
  206. package/dist/components/arcgis-scale-bar.js +0 -133
  207. package/dist/components/arcgis-scale-range-slider.js +0 -177
  208. package/dist/components/arcgis-scene.js +0 -127
  209. package/dist/components/arcgis-search.js +0 -330
  210. package/dist/components/arcgis-shadow-cast.js +0 -121
  211. package/dist/components/arcgis-sketch.js +0 -238
  212. package/dist/components/arcgis-slice.js +0 -130
  213. package/dist/components/arcgis-slider.js +0 -281
  214. package/dist/components/arcgis-swipe.js +0 -140
  215. package/dist/components/arcgis-table-list.js +0 -147
  216. package/dist/components/arcgis-time-slider.js +0 -256
  217. package/dist/components/arcgis-track.js +0 -171
  218. package/dist/components/arcgis-utility-network-trace.js +0 -197
  219. package/dist/components/arcgis-value-picker.js +0 -198
  220. package/dist/components/arcgis-weather.js +0 -111
  221. package/dist/components/arcgis-zoom.js +0 -121
  222. package/dist/components/disconnected.js +0 -122
  223. package/dist/components/index.js +0 -52
  224. package/dist/components/index2.js +0 -638
  225. package/dist/components/mapping-utils.js +0 -38
  226. package/dist/esm/arcgis-basemap-gallery_3.entry.js +0 -275
  227. package/dist/esm/arcgis-map-components.js +0 -18
  228. package/dist/esm/index-ad26b6d0.js +0 -638
  229. package/dist/esm/index-eb3ead33.js +0 -1579
  230. package/dist/esm/index.js +0 -1
  231. package/dist/esm/loader.js +0 -18
  232. package/dist/esm/polyfills/core-js.js +0 -11
  233. package/dist/esm/polyfills/css-shim.js +0 -1
  234. package/dist/esm/polyfills/dom.js +0 -79
  235. package/dist/esm/polyfills/es5-html-element.js +0 -1
  236. package/dist/esm/polyfills/index.js +0 -34
  237. package/dist/esm/polyfills/system.js +0 -6
  238. package/dist/index.cjs.js +0 -1
  239. package/dist/index.js +0 -1
  240. package/dist/loader/cdn.js +0 -3
  241. package/dist/loader/index.cjs.js +0 -3
  242. package/dist/loader/index.d.ts +0 -21
  243. package/dist/loader/index.es2017.js +0 -3
  244. package/dist/loader/index.js +0 -4
  245. package/dist/loader/package.json +0 -11
  246. /package/dist/{esm → arcgis-map-components}/component-utils-d3552de2.js +0 -0
  247. /package/dist/{esm → arcgis-map-components}/disconnected-bc5fc8bc.js +0 -0
  248. /package/dist/{esm → arcgis-map-components}/mapping-utils-26beb904.js +0 -0
@@ -1,2 +0,0 @@
1
- 'use strict';
2
-
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-6b51d5a0.js');
6
-
7
- /*
8
- Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
9
- */
10
- const patchEsm = () => {
11
- return index.promiseResolve();
12
- };
13
-
14
- const defineCustomElements = (win, options) => {
15
- if (typeof window === 'undefined') return Promise.resolve();
16
- return patchEsm().then(() => {
17
- return index.bootstrapLazy(JSON.parse("[[\"arcgis-basemap-gallery_3.cjs\",[[0,\"arcgis-basemap-gallery\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[1040],\"position\":[1],\"expandable\":[4],\"source\":[1040],\"view\":[16],\"widget\":[1040]}],[0,\"arcgis-map\",{\"apiKey\":[1,\"api-key\"],\"basemap\":[1],\"disableNavigation\":[4,\"disable-navigation\"],\"itemId\":[1,\"item-id\"],\"zoom\":[514],\"center\":[513],\"view\":[1040]}],[0,\"arcgis-expand\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-area-measurement-2d.cjs\",[[0,\"arcgis-area-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-area-measurement-3d.cjs\",[[0,\"arcgis-area-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1025],\"unitOptions\":[16],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-attachments.cjs\",[[0,\"arcgis-attachments\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"graphic\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-layer-list.cjs\",[[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\":[16],\"widget\":[1040]}]]],[\"arcgis-basemap-toggle.cjs\",[[0,\"arcgis-basemap-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"activeBasemap\":[16],\"nextBasemap\":[1025,\"next-basemap\"],\"position\":[1],\"expandable\":[4],\"view\":[16],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-bookmarks.cjs\",[[0,\"arcgis-bookmarks\",{\"referenceElement\":[1,\"reference-element\"],\"bookmarks\":[16],\"defaultCreateOptions\":[16],\"defaultEditOptions\":[16],\"editingEnabled\":[516,\"editing-enabled\"],\"position\":[1],\"expandable\":[4],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-building-explorer.cjs\",[[0,\"arcgis-building-explorer\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"view\":[16]}]]],[\"arcgis-coordinate-conversion.cjs\",[[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\":[16],\"widget\":[1040],\"reverseConvert\":[64]}]]],[\"arcgis-daylight.cjs\",[[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\":[16],\"widget\":[1040]}]]],[\"arcgis-directions.cjs\",[[0,\"arcgis-directions\",{\"referenceElement\":[1,\"reference-element\"],\"apiKey\":[1,\"api-key\"],\"itemId\":[1,\"item-id\"],\"lastRoute\":[1040],\"layer\":[16],\"maxStops\":[2,\"max-stops\"],\"searchProperties\":[16],\"unit\":[1],\"position\":[1],\"expandable\":[4],\"view\":[16],\"widget\":[1040],\"getDirections\":[64],\"save\":[64],\"saveAs\":[64],\"zoomToRoute\":[64]}]]],[\"arcgis-directline-measurement-3d.cjs\",[[0,\"arcgis-directline-measurement-3d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"analysis\":[1040],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[16]}]]],[\"arcgis-distance-measurement-2d.cjs\",[[0,\"arcgis-distance-measurement-2d\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"unit\":[1],\"unitOptions\":[16],\"widget\":[1040],\"view\":[16]}]]],[\"arcgis-editor.cjs\",[[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\":[16],\"widget\":[1040],\"cancelWorkflow\":[64],\"deleteFeatureFromWorkflow\":[64],\"startCreateFeaturesWorkflowAtFeatureCreation\":[64],\"startCreateFeaturesWorkflowAtFeatureTypeSelection\":[64],\"startUpdateWorkflowAtFeatureEdit\":[64],\"startUpdateWorkflowAtFeatureSelection\":[64],\"startUpdateWorkflowAtMultipleFeatureSelection\":[64]}]]],[\"arcgis-elevation-profile.cjs\",[[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\":[16],\"widget\":[1040]}]]],[\"arcgis-feature.cjs\",[[0,\"arcgis-feature\",{\"referenceElement\":[1,\"reference-element\"],\"defaultPopupTemplateEnabled\":[4,\"default-popup-template-enabled\"],\"graphic\":[16],\"position\":[1],\"expandable\":[4],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-feature-table.cjs\",[[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\":[16],\"menuConfig\":[16],\"multiSortEnabled\":[4,\"multi-sort-enabled\"],\"pageSize\":[2,\"page-size\"],\"state\":[1025],\"tableTemplate\":[16],\"itemId\":[1,\"item-id\"],\"position\":[1],\"expandable\":[4],\"url\":[1],\"view\":[16],\"widget\":[1040],\"clearSelectionFilter\":[64],\"deleteSelection\":[64],\"filterBySelection\":[64],\"findColumn\":[64],\"hideColumn\":[64],\"refresh\":[64],\"scrollToIndex\":[64],\"showAllColumns\":[64],\"showColumn\":[64],\"sortColumn\":[64]}]]],[\"arcgis-feature-templates.cjs\",[[0,\"arcgis-feature-templates\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"layers\":[16]}]]],[\"arcgis-features.cjs\",[[0,\"arcgis-features\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[16],\"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.cjs\",[[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\":[16],\"updateWebDocument\":[64]}]]],[\"arcgis-histogram-range-slider.cjs\",[[0,\"arcgis-histogram-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"max\":[2],\"min\":[2],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-layer-list.cjs\",[[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\":[16],\"widget\":[1040],\"triggerAction\":[64]}]]],[\"arcgis-legend.cjs\",[[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\":[16],\"widget\":[1040]}]]],[\"arcgis-line-of-sight.cjs\",[[0,\"arcgis-line-of-sight\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"position\":[1],\"expandable\":[4],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-measurement.cjs\",[[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\":[16],\"widget\":[1040],\"startMeasurement\":[64]}]]],[\"arcgis-print.cjs\",[[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\":[16],\"widget\":[1040]}]]],[\"arcgis-scale-bar.cjs\",[[0,\"arcgis-scale-bar\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[16],\"position\":[1],\"expandable\":[4],\"barStyle\":[1,\"bar-style\"],\"unit\":[1],\"widget\":[1040]}]]],[\"arcgis-scale-range-slider.cjs\",[[0,\"arcgis-scale-range-slider\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[16],\"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.cjs\",[[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\":[16],\"widget\":[1040],\"blurSearch\":[64],\"clearSearch\":[64],\"focusSearch\":[64],\"search\":[64],\"suggest\":[64]}]]],[\"arcgis-shadow-cast.cjs\",[[0,\"arcgis-shadow-cast\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[16],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-sketch.cjs\",[[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\":[16],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-slice.cjs\",[[0,\"arcgis-slice\",{\"referenceElement\":[1,\"reference-element\"],\"analysis\":[1040],\"view\":[16],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"headingLevel\":[2,\"heading-level\"]}]]],[\"arcgis-slider.cjs\",[[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.cjs\",[[0,\"arcgis-table-list\",{\"referenceElement\":[1,\"reference-element\"],\"multipleSelectionEnabled\":[4,\"multiple-selection-enabled\"],\"selectionEnabled\":[4,\"selection-enabled\"],\"selectedItems\":[1040],\"tableItems\":[1040],\"view\":[16],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-time-slider.cjs\",[[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\":[16],\"position\":[1],\"expandable\":[4],\"widget\":[1040],\"next\":[64],\"play\":[64],\"previous\":[64],\"stop\":[64]}]]],[\"arcgis-utility-network-trace.cjs\",[[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\":[16],\"widget\":[1040],\"checkCanTrace\":[64],\"confirmReset\":[64]}]]],[\"arcgis-value-picker.cjs\",[[0,\"arcgis-value-picker\",{\"referenceElement\":[1,\"reference-element\"],\"view\":[16],\"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.cjs\",[[0,\"arcgis-weather\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-compass.cjs\",[[0,\"arcgis-compass\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"widget\":[1040],\"view\":[16],\"reset\":[64]}]]],[\"arcgis-feature-form.cjs\",[[0,\"arcgis-feature-form\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-fullscreen.cjs\",[[0,\"arcgis-fullscreen\",{\"referenceElement\":[1,\"reference-element\"],\"element\":[16],\"position\":[1],\"view\":[16],\"widget\":[1040]}]]],[\"arcgis-histogram.cjs\",[[0,\"arcgis-histogram\",{\"referenceElement\":[1,\"reference-element\"],\"position\":[1],\"expandable\":[4],\"widget\":[1040]}]]],[\"arcgis-home.cjs\",[[0,\"arcgis-home\",{\"referenceElement\":[1,\"reference-element\"],\"viewpoint\":[16],\"view\":[16],\"position\":[1],\"widget\":[1040],\"cancelGo\":[64],\"go\":[64]}]]],[\"arcgis-locate.cjs\",[[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\":[16],\"widget\":[1040],\"useHeadingEnabled\":[1028,\"use-heading-enabled\"],\"cancelLocate\":[64],\"locate\":[64]}]]],[\"arcgis-navigation-toggle.cjs\",[[0,\"arcgis-navigation-toggle\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1537],\"position\":[1],\"view\":[16],\"widget\":[1040],\"toggle\":[64]}]]],[\"arcgis-scene.cjs\",[[0,\"arcgis-scene\",{\"apiKey\":[1,\"api-key\"],\"itemId\":[1,\"item-id\"],\"zoom\":[514],\"center\":[513],\"view\":[1040],\"disableNavigation\":[4,\"disable-navigation\"]}]]],[\"arcgis-swipe.cjs\",[[0,\"arcgis-swipe\",{\"referenceElement\":[1,\"reference-element\"],\"direction\":[1],\"dragLabel\":[1,\"drag-label\"],\"leadingLayers\":[16],\"swipePosition\":[2,\"swipe-position\"],\"trailingLayers\":[16],\"view\":[16],\"position\":[1],\"widget\":[1040]}]]],[\"arcgis-track.cjs\",[[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\":[16],\"widget\":[1040]}]]],[\"arcgis-zoom.cjs\",[[0,\"arcgis-zoom\",{\"referenceElement\":[1,\"reference-element\"],\"layout\":[1],\"view\":[16],\"position\":[1],\"widget\":[1040],\"zoomIn\":[64],\"zoomOut\":[64]}]]]]"), options);
18
- });
19
- };
20
-
21
- exports.setNonce = index.setNonce;
22
- exports.defineCustomElements = defineCustomElements;
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- function disableNavigation(view) {
4
- if (view.type === '2d') {
5
- view.constraints.rotationEnabled = false;
6
- }
7
- view.popup.dockEnabled = true;
8
- // Removes the zoom action on the popup
9
- view.popup.actions.removeAll();
10
- view.popup.viewModel.includeDefaultActions = false;
11
- // stops propagation of default behavior when an event fires
12
- function stopEvtPropagation(event) {
13
- event.stopPropagation();
14
- }
15
- // exlude the zoom widget from the default UI
16
- view.ui.components = ['attribution'];
17
- // disable mouse wheel scroll zooming on the view
18
- view.on('mouse-wheel', stopEvtPropagation);
19
- // disable zooming via double-click on the view
20
- view.on('double-click', stopEvtPropagation);
21
- // disable zooming out via double-click + Control on the view
22
- view.on('double-click', ['Control'], stopEvtPropagation);
23
- // disables pinch-zoom and panning on the view
24
- view.on('drag', stopEvtPropagation);
25
- // disable the view's zoom box to prevent the Shift + drag
26
- // and Shift + Control + drag zoom gestures.
27
- view.on('drag', ['Shift'], stopEvtPropagation);
28
- view.on('drag', ['Shift', 'Control'], stopEvtPropagation);
29
- // prevents zooming with the + and - keys
30
- view.on('key-down', event => {
31
- const prohibitedKeys = ['+', '-', 'Shift', '_', '=', 'ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft'];
32
- const keyPressed = event.key;
33
- if (prohibitedKeys.indexOf(keyPressed) !== -1) {
34
- event.stopPropagation();
35
- }
36
- });
37
- return view;
38
- }
39
-
40
- exports.disableNavigation = disableNavigation;
@@ -1,128 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { n as newWidgetsAreaMeasurement2D, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
-
6
- const arcgisAreaMeasurement2dCss = "";
7
-
8
- const ArcgisAreaMeasurement2d$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.widgetReady = createEvent(this, "widgetReady", 7);
13
- this.referenceElement = undefined;
14
- this.position = "bottom-left";
15
- this.expandable = false;
16
- this.unit = undefined;
17
- this.unitOptions = undefined;
18
- this.view = undefined;
19
- this.widget = undefined;
20
- }
21
- //--------------------------------------------------------------------------
22
- //
23
- // Watchers
24
- //
25
- //--------------------------------------------------------------------------
26
- positionWatcher(newValue) {
27
- if (newValue !== undefined && this.widget) {
28
- if (typeof this.view !== "string") {
29
- this.view.ui.move(this.childElem, newValue);
30
- }
31
- }
32
- }
33
- referenceElementWatcher(newValue) {
34
- referenceElementHelper(this, newValue);
35
- }
36
- viewWatcher(newValue) {
37
- if (newValue !== undefined && this.widget) {
38
- this.widget.view = newValue;
39
- }
40
- }
41
- //--------------------------------------------------------------------------
42
- //
43
- // Lifecycle
44
- //
45
- //--------------------------------------------------------------------------
46
- async componentDidLoad() {
47
- const params = this._createParams();
48
- const widget = await newWidgetsAreaMeasurement2D(params);
49
- this.widget = widget;
50
- await this._addWatchers();
51
- this.widgetReady.emit(true);
52
- checkForView(this);
53
- }
54
- disconnectedCallback() {
55
- onDisconnectedHelper(this);
56
- }
57
- render() {
58
- if (this.expandable) {
59
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
60
- }
61
- return h("div", { ref: (el) => (this.childElem = el) });
62
- }
63
- //--------------------------------------------------------------------------
64
- //
65
- // Private Methods
66
- //
67
- //--------------------------------------------------------------------------
68
- async _addWatchers() {
69
- const { watch } = await importCoreReactiveUtils();
70
- watch(() => this.widget.unit, (value) => (this.unit = value), {
71
- initial: true
72
- });
73
- }
74
- _createParams() {
75
- const params = {
76
- container: this.childElem
77
- };
78
- if (this.view) {
79
- params.view = this.view;
80
- }
81
- if (this.unit) {
82
- params.unit = this.unit;
83
- }
84
- if (this.unitOptions) {
85
- params.unitOptions = this.unitOptions;
86
- }
87
- return params;
88
- }
89
- get el() { return this; }
90
- static get watchers() { return {
91
- "position": ["positionWatcher"],
92
- "referenceElement": ["referenceElementWatcher"],
93
- "view": ["viewWatcher"]
94
- }; }
95
- static get style() { return arcgisAreaMeasurement2dCss; }
96
- }, [0, "arcgis-area-measurement-2d", {
97
- "referenceElement": [1, "reference-element"],
98
- "position": [1],
99
- "expandable": [4],
100
- "unit": [1025],
101
- "unitOptions": [16],
102
- "view": [16],
103
- "widget": [1040]
104
- }]);
105
- function defineCustomElement$1() {
106
- if (typeof customElements === "undefined") {
107
- return;
108
- }
109
- const components = ["arcgis-area-measurement-2d", "arcgis-expand"];
110
- components.forEach(tagName => { switch (tagName) {
111
- case "arcgis-area-measurement-2d":
112
- if (!customElements.get(tagName)) {
113
- customElements.define(tagName, ArcgisAreaMeasurement2d$1);
114
- }
115
- break;
116
- case "arcgis-expand":
117
- if (!customElements.get(tagName)) {
118
- defineCustomElement$2();
119
- }
120
- break;
121
- } });
122
- }
123
- defineCustomElement$1();
124
-
125
- const ArcgisAreaMeasurement2d = ArcgisAreaMeasurement2d$1;
126
- const defineCustomElement = defineCustomElement$1;
127
-
128
- export { ArcgisAreaMeasurement2d, defineCustomElement };
@@ -1,121 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { a as newWidgetsAreaMeasurement3D } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
-
6
- const arcgisAreaMeasurement3dCss = "";
7
-
8
- const ArcgisAreaMeasurement3d$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.widgetReady = createEvent(this, "widgetReady", 7);
13
- this.referenceElement = undefined;
14
- this.position = "bottom-left";
15
- this.expandable = false;
16
- this.unit = undefined;
17
- this.unitOptions = undefined;
18
- this.view = undefined;
19
- this.widget = undefined;
20
- }
21
- //--------------------------------------------------------------------------
22
- //
23
- // Watchers
24
- //
25
- //--------------------------------------------------------------------------
26
- positionWatcher(newValue) {
27
- if (newValue !== undefined && this.widget) {
28
- if (typeof this.view !== "string") {
29
- this.view.ui.move(this.childElem, newValue);
30
- }
31
- }
32
- }
33
- referenceElementWatcher(newValue) {
34
- referenceElementHelper(this, newValue);
35
- }
36
- viewWatcher(newValue) {
37
- if (newValue !== undefined && this.widget) {
38
- this.widget.view = newValue;
39
- }
40
- }
41
- //--------------------------------------------------------------------------
42
- //
43
- // Lifecycle
44
- //
45
- //--------------------------------------------------------------------------
46
- async componentDidLoad() {
47
- const params = this._createParams();
48
- const widget = await newWidgetsAreaMeasurement3D(params);
49
- this.widget = widget;
50
- this.widgetReady.emit(true);
51
- checkForView(this);
52
- }
53
- disconnectedCallback() {
54
- onDisconnectedHelper(this);
55
- }
56
- render() {
57
- if (this.expandable) {
58
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
59
- }
60
- return h("div", { ref: (el) => (this.childElem = el) });
61
- }
62
- //--------------------------------------------------------------------------
63
- //
64
- // Private Methods
65
- //
66
- //--------------------------------------------------------------------------
67
- _createParams() {
68
- const params = {
69
- container: this.childElem
70
- };
71
- if (this.view) {
72
- params.view = this.view;
73
- }
74
- if (this.unit) {
75
- params.unit = this.unit;
76
- }
77
- if (this.unitOptions) {
78
- params.unitOptions = this.unitOptions;
79
- }
80
- return params;
81
- }
82
- get el() { return this; }
83
- static get watchers() { return {
84
- "position": ["positionWatcher"],
85
- "referenceElement": ["referenceElementWatcher"],
86
- "view": ["viewWatcher"]
87
- }; }
88
- static get style() { return arcgisAreaMeasurement3dCss; }
89
- }, [0, "arcgis-area-measurement-3d", {
90
- "referenceElement": [1, "reference-element"],
91
- "position": [1],
92
- "expandable": [4],
93
- "unit": [1025],
94
- "unitOptions": [16],
95
- "view": [16],
96
- "widget": [1040]
97
- }]);
98
- function defineCustomElement$1() {
99
- if (typeof customElements === "undefined") {
100
- return;
101
- }
102
- const components = ["arcgis-area-measurement-3d", "arcgis-expand"];
103
- components.forEach(tagName => { switch (tagName) {
104
- case "arcgis-area-measurement-3d":
105
- if (!customElements.get(tagName)) {
106
- customElements.define(tagName, ArcgisAreaMeasurement3d$1);
107
- }
108
- break;
109
- case "arcgis-expand":
110
- if (!customElements.get(tagName)) {
111
- defineCustomElement$2();
112
- }
113
- break;
114
- } });
115
- }
116
- defineCustomElement$1();
117
-
118
- const ArcgisAreaMeasurement3d = ArcgisAreaMeasurement3d$1;
119
- const defineCustomElement = defineCustomElement$1;
120
-
121
- export { ArcgisAreaMeasurement3d, defineCustomElement };
@@ -1,99 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { b as newWidgetsAttachments } from './index2.js';
3
- import { a as checkForExpand, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
-
6
- const arcgisAttachmentsCss = "";
7
-
8
- const ArcgisAttachments$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.widgetReady = createEvent(this, "widgetReady", 7);
13
- this.referenceElement = undefined;
14
- this.position = "bottom-left";
15
- this.expandable = false;
16
- this.graphic = undefined;
17
- this.widget = undefined;
18
- }
19
- //--------------------------------------------------------------------------
20
- //
21
- // Watchers
22
- //
23
- //--------------------------------------------------------------------------
24
- graphicWatcher(newValue) {
25
- if (newValue !== undefined && this.widget) {
26
- this.widget.graphic = newValue;
27
- }
28
- }
29
- //--------------------------------------------------------------------------
30
- //
31
- // Lifecycle
32
- //
33
- //--------------------------------------------------------------------------
34
- async componentDidLoad() {
35
- const params = this._createParams();
36
- const widget = await newWidgetsAttachments(params);
37
- this.widget = widget;
38
- this.widgetReady.emit(true);
39
- checkForExpand(this);
40
- }
41
- disconnectedCallback() {
42
- onDisconnectedHelper(this);
43
- }
44
- render() {
45
- if (this.expandable) {
46
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
47
- }
48
- return h("div", { ref: (el) => (this.childElem = el) });
49
- }
50
- //--------------------------------------------------------------------------
51
- //
52
- // Private Methods
53
- //
54
- //--------------------------------------------------------------------------
55
- _createParams() {
56
- const params = {
57
- container: this.childElem
58
- };
59
- if (this.graphic) {
60
- params.graphic = this.graphic;
61
- }
62
- return params;
63
- }
64
- get el() { return this; }
65
- static get watchers() { return {
66
- "graphic": ["graphicWatcher"]
67
- }; }
68
- static get style() { return arcgisAttachmentsCss; }
69
- }, [0, "arcgis-attachments", {
70
- "referenceElement": [1, "reference-element"],
71
- "position": [1],
72
- "expandable": [4],
73
- "graphic": [16],
74
- "widget": [1040]
75
- }]);
76
- function defineCustomElement$1() {
77
- if (typeof customElements === "undefined") {
78
- return;
79
- }
80
- const components = ["arcgis-attachments", "arcgis-expand"];
81
- components.forEach(tagName => { switch (tagName) {
82
- case "arcgis-attachments":
83
- if (!customElements.get(tagName)) {
84
- customElements.define(tagName, ArcgisAttachments$1);
85
- }
86
- break;
87
- case "arcgis-expand":
88
- if (!customElements.get(tagName)) {
89
- defineCustomElement$2();
90
- }
91
- break;
92
- } });
93
- }
94
- defineCustomElement$1();
95
-
96
- const ArcgisAttachments = ArcgisAttachments$1;
97
- const defineCustomElement = defineCustomElement$1;
98
-
99
- export { ArcgisAttachments, defineCustomElement };
@@ -1,124 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as newWidgetsBasemapGallery, i as importCoreReactiveUtils } from './index2.js';
3
- import { r as referenceElementHelper, c as checkForView, o as onDisconnectedHelper } from './disconnected.js';
4
- import { d as defineCustomElement$2 } from './arcgis-expand2.js';
5
-
6
- const arcgisBasemapGalleryCss = "";
7
-
8
- const ArcgisBasemapGallery$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.widgetReady = createEvent(this, "widgetReady", 7);
13
- this.referenceElement = undefined;
14
- this.activeBasemap = undefined;
15
- this.position = "bottom-left";
16
- this.expandable = false;
17
- this.source = undefined;
18
- this.view = undefined;
19
- this.widget = undefined;
20
- }
21
- //--------------------------------------------------------------------------
22
- //
23
- // Watchers
24
- //
25
- //--------------------------------------------------------------------------
26
- positionWatcher(newValue) {
27
- if (newValue !== undefined && this.widget) {
28
- if (typeof this.view !== "string") {
29
- this.view.ui.move(this.childElem, newValue);
30
- }
31
- }
32
- }
33
- referenceElementWatcher(newValue) {
34
- referenceElementHelper(this, newValue);
35
- }
36
- viewWatcher(newValue) {
37
- if (newValue !== undefined && this.widget) {
38
- this.widget.view = newValue;
39
- }
40
- }
41
- //--------------------------------------------------------------------------
42
- //
43
- // Lifecycle
44
- //
45
- //--------------------------------------------------------------------------
46
- async componentDidLoad() {
47
- const params = this._createParams();
48
- const widget = await newWidgetsBasemapGallery(params);
49
- this.widget = widget;
50
- this.widget.when(() => {
51
- this.source = this.widget.source;
52
- });
53
- await this._addWatchers();
54
- this.widgetReady.emit(true);
55
- checkForView(this);
56
- }
57
- disconnectedCallback() {
58
- onDisconnectedHelper(this);
59
- }
60
- render() {
61
- if (this.expandable) {
62
- return (h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, h("div", { ref: (el) => (this.childElem = el) })));
63
- }
64
- return h("div", { ref: (el) => (this.childElem = el) });
65
- }
66
- //--------------------------------------------------------------------------
67
- //
68
- // Private Interal Methods
69
- //
70
- //--------------------------------------------------------------------------
71
- async _addWatchers() {
72
- const { watch } = await importCoreReactiveUtils();
73
- watch(() => this.widget.source, () => (this.source = this.widget.source));
74
- watch(() => this.widget.activeBasemap, (basemap) => (this.activeBasemap = basemap));
75
- }
76
- _createParams() {
77
- const params = {
78
- container: this.childElem
79
- };
80
- if (this.view) {
81
- params.view = this.view;
82
- }
83
- return params;
84
- }
85
- get el() { return this; }
86
- static get watchers() { return {
87
- "position": ["positionWatcher"],
88
- "referenceElement": ["referenceElementWatcher"],
89
- "view": ["viewWatcher"]
90
- }; }
91
- static get style() { return arcgisBasemapGalleryCss; }
92
- }, [0, "arcgis-basemap-gallery", {
93
- "referenceElement": [1, "reference-element"],
94
- "activeBasemap": [1040],
95
- "position": [1],
96
- "expandable": [4],
97
- "source": [1040],
98
- "view": [16],
99
- "widget": [1040]
100
- }]);
101
- function defineCustomElement$1() {
102
- if (typeof customElements === "undefined") {
103
- return;
104
- }
105
- const components = ["arcgis-basemap-gallery", "arcgis-expand"];
106
- components.forEach(tagName => { switch (tagName) {
107
- case "arcgis-basemap-gallery":
108
- if (!customElements.get(tagName)) {
109
- customElements.define(tagName, ArcgisBasemapGallery$1);
110
- }
111
- break;
112
- case "arcgis-expand":
113
- if (!customElements.get(tagName)) {
114
- defineCustomElement$2();
115
- }
116
- break;
117
- } });
118
- }
119
- defineCustomElement$1();
120
-
121
- const ArcgisBasemapGallery = ArcgisBasemapGallery$1;
122
- const defineCustomElement = defineCustomElement$1;
123
-
124
- export { ArcgisBasemapGallery, defineCustomElement };