@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,233 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-ef2acc94.js');
7
- const componentUtils = require('./component-utils-933b7aca.js');
8
- const disconnected = require('./disconnected-306cb220.js');
9
-
10
- const arcgisSliderCss = "arcgis-slider{min-width:200px;min-height:25px}";
11
-
12
- const ArcgisSlider = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.sliderMaxChange = index.createEvent(this, "sliderMaxChange", 7);
16
- this.sliderMaxClick = index.createEvent(this, "sliderMaxClick", 7);
17
- this.sliderMinChange = index.createEvent(this, "sliderMinChange", 7);
18
- this.sliderMinClick = index.createEvent(this, "sliderMinClick", 7);
19
- this.sliderSegmentClick = index.createEvent(this, "sliderSegmentClick", 7);
20
- this.sliderSegmentDrag = index.createEvent(this, "sliderSegmentDrag", 7);
21
- this.sliderThumbChange = index.createEvent(this, "sliderThumbChange", 7);
22
- this.sliderThumbClick = index.createEvent(this, "sliderThumbClick", 7);
23
- this.sliderThumbDrag = index.createEvent(this, "sliderThumbDrag", 7);
24
- this.sliderTickClick = index.createEvent(this, "sliderTickClick", 7);
25
- this.sliderTrackClick = index.createEvent(this, "sliderTrackClick", 7);
26
- this.widgetReady = index.createEvent(this, "widgetReady", 7);
27
- this.referenceElement = undefined;
28
- this.draggableSegmentsEnabled = undefined;
29
- this.effectiveMax = undefined;
30
- this.effectiveMin = undefined;
31
- this.effectiveSegmentElements = undefined;
32
- this.labelElements = undefined;
33
- this.labelInputsEnabled = undefined;
34
- this.labels = undefined;
35
- this.layout = "horizontal";
36
- this.min = undefined;
37
- this.max = undefined;
38
- this.maxLabelElement = undefined;
39
- this.minLabelElement = undefined;
40
- this.precision = undefined;
41
- this.rangeLabelInputsEnabled = undefined;
42
- this.segmentElements = undefined;
43
- this.snapOnClickEnabled = undefined;
44
- this.syncedSegmentsEnabled = undefined;
45
- this.thumbElements = undefined;
46
- this.thumbsConstrained = undefined;
47
- this.tickConfigs = undefined;
48
- this.tickElements = undefined;
49
- this.trackElement = undefined;
50
- this.steps = undefined;
51
- this.values = undefined;
52
- this.position = "bottom-left";
53
- this.expandable = false;
54
- this.widget = undefined;
55
- }
56
- //--------------------------------------------------------------------------
57
- //
58
- // Watchers
59
- //
60
- //--------------------------------------------------------------------------
61
- draggableSegmentsEnabledWatcher(newValue) {
62
- if (this.widget) {
63
- this.widget.draggableSegmentsEnabled = newValue;
64
- }
65
- }
66
- effectiveMaxWatcher(newValue) {
67
- if (this.widget) {
68
- this.widget.effectiveMax = newValue;
69
- }
70
- }
71
- effectiveMinWatcher(newValue) {
72
- if (this.widget) {
73
- this.widget.effectiveMin = newValue;
74
- }
75
- }
76
- layoutWatcher(newValue) {
77
- if (this.widget) {
78
- this.widget.layout = newValue;
79
- }
80
- }
81
- minWatcher(newValue) {
82
- if (this.widget) {
83
- this.widget.min = newValue;
84
- }
85
- }
86
- maxWatcher(newValue) {
87
- if (this.widget) {
88
- this.widget.max = newValue;
89
- }
90
- }
91
- precisionWatcher(newValue) {
92
- if (this.widget) {
93
- this.widget.precision = newValue;
94
- }
95
- }
96
- rangeLabelInputsEnabledWatcher(newValue) {
97
- if (this.widget) {
98
- this.widget.rangeLabelInputsEnabled = newValue;
99
- }
100
- }
101
- snapOnClickEnabledWatcher(newValue) {
102
- if (this.widget) {
103
- this.widget.snapOnClickEnabled = newValue;
104
- }
105
- }
106
- stepsWatcher(newValue) {
107
- if (this.widget) {
108
- this.widget.steps = newValue;
109
- }
110
- }
111
- syncedSegmentsEnabledWatcher(newValue) {
112
- if (this.widget) {
113
- this.widget.syncedSegmentsEnabled = newValue;
114
- }
115
- }
116
- thumbsConstrainedWatcher(newValue) {
117
- if (this.widget) {
118
- this.widget.thumbsConstrained = newValue;
119
- }
120
- }
121
- tickConfigsWatcher(newValue) {
122
- if (this.widget) {
123
- this.widget.tickConfigs = newValue;
124
- }
125
- }
126
- valuesWatcher(newValue) {
127
- if (typeof newValue === "string") {
128
- this.values = newValue.split(",").map((n) => Number(n));
129
- }
130
- if (this.widget) {
131
- this.widget.values = this.values;
132
- }
133
- }
134
- //--------------------------------------------------------------------------
135
- //
136
- // Lifecycle
137
- //
138
- //--------------------------------------------------------------------------
139
- async componentDidLoad() {
140
- const params = this._createParams();
141
- const widget = await index$1.newWidgetsSlider(params);
142
- this.widget = widget;
143
- await this._addWatchers();
144
- this.widgetReady.emit(true);
145
- componentUtils.checkForView(this);
146
- }
147
- disconnectedCallback() {
148
- disconnected.onDisconnectedHelper(this);
149
- }
150
- render() {
151
- if (this.expandable) {
152
- return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
153
- }
154
- return index.h("div", { ref: (el) => (this.childElem = el) });
155
- }
156
- //--------------------------------------------------------------------------
157
- //
158
- // Private Methods
159
- //
160
- //--------------------------------------------------------------------------
161
- async _addWatchers() {
162
- const { watch } = await index$1.importCoreReactiveUtils();
163
- watch(() => this.widget.effectiveSegmentElements, (value) => (this.effectiveSegmentElements = value), {
164
- initial: true
165
- });
166
- watch(() => this.widget.labelElements, (value) => (this.labelElements = value), {
167
- initial: true
168
- });
169
- watch(() => this.widget.maxLabelElement, (value) => (this.maxLabelElement = value), {
170
- initial: true
171
- });
172
- watch(() => this.widget.minLabelElement, (value) => (this.minLabelElement = value), {
173
- initial: true
174
- });
175
- watch(() => this.widget.segmentElements, (value) => (this.segmentElements = value), {
176
- initial: true
177
- });
178
- watch(() => this.widget.thumbElements, (value) => (this.thumbElements = value), {
179
- initial: true
180
- });
181
- watch(() => this.widget.tickElements, (value) => (this.tickElements = value), {
182
- initial: true
183
- });
184
- watch(() => this.widget.trackElement, (value) => (this.trackElement = value), {
185
- initial: true
186
- });
187
- }
188
- _createParams() {
189
- const params = {
190
- container: this.childElem,
191
- layout: this.layout
192
- };
193
- if (this.min !== undefined) {
194
- params.min = this.min;
195
- }
196
- if (this.max !== undefined) {
197
- params.max = this.max;
198
- }
199
- if (this.steps) {
200
- if (typeof this.steps === "string") {
201
- this.steps = this.steps.split(",").map((n) => Number(n));
202
- }
203
- params.steps = this.steps;
204
- }
205
- if (this.values) {
206
- if (typeof this.values === "string") {
207
- this.values = this.values.split(",").map((n) => Number(n));
208
- }
209
- params.values = this.values;
210
- }
211
- return params;
212
- }
213
- get el() { return index.getElement(this); }
214
- static get watchers() { return {
215
- "draggableSegmentsEnabled": ["draggableSegmentsEnabledWatcher"],
216
- "effectiveMax": ["effectiveMaxWatcher"],
217
- "effectiveMin": ["effectiveMinWatcher"],
218
- "layout": ["layoutWatcher"],
219
- "min": ["minWatcher"],
220
- "max": ["maxWatcher"],
221
- "precision": ["precisionWatcher"],
222
- "rangeLabelInputsEnabled": ["rangeLabelInputsEnabledWatcher"],
223
- "snapOnClickEnabled": ["snapOnClickEnabledWatcher"],
224
- "steps": ["stepsWatcher"],
225
- "syncedSegmentsEnabled": ["syncedSegmentsEnabledWatcher"],
226
- "thumbsConstrained": ["thumbsConstrainedWatcher"],
227
- "tickConfigs": ["tickConfigsWatcher"],
228
- "values": ["valuesWatcher"]
229
- }; }
230
- };
231
- ArcgisSlider.style = arcgisSliderCss;
232
-
233
- exports.arcgis_slider = ArcgisSlider;
@@ -1,117 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-ef2acc94.js');
7
- const componentUtils = require('./component-utils-933b7aca.js');
8
- const disconnected = require('./disconnected-306cb220.js');
9
-
10
- const arcgisSwipeCss = "arcgis-swipe{}";
11
-
12
- const ArcgisSwipe = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
- this.referenceElement = undefined;
17
- this.direction = undefined;
18
- this.dragLabel = undefined;
19
- this.leadingLayers = undefined;
20
- this.swipePosition = undefined;
21
- this.trailingLayers = undefined;
22
- this.view = undefined;
23
- this.position = "bottom-left";
24
- this.widget = undefined;
25
- }
26
- //--------------------------------------------------------------------------
27
- //
28
- // Watchers
29
- //
30
- //--------------------------------------------------------------------------
31
- directionWatcher(newValue) {
32
- if (newValue !== undefined && this.widget) {
33
- this.widget.direction = newValue;
34
- }
35
- }
36
- dragLabelWatcher(newValue) {
37
- if (newValue !== undefined && this.widget) {
38
- this.widget.dragLabel = newValue;
39
- }
40
- }
41
- leadingLayersWatcher(newValue) {
42
- if (newValue !== undefined && this.widget) {
43
- this.widget.leadingLayers = newValue;
44
- }
45
- }
46
- swipePositionWatcher(newValue) {
47
- if (newValue !== undefined && this.widget) {
48
- this.widget.position = newValue;
49
- }
50
- }
51
- trailingLayersWatcher(newValue) {
52
- if (newValue !== undefined && this.widget) {
53
- this.widget.trailingLayers = newValue;
54
- }
55
- }
56
- positionWatcher(newValue) {
57
- if (newValue !== undefined && this.widget) {
58
- if (typeof this.view !== "string") {
59
- this.view.ui.move(this.childElem, newValue);
60
- }
61
- }
62
- }
63
- referenceElementWatcher(newValue) {
64
- componentUtils.referenceElementHelper(this, newValue);
65
- }
66
- viewWatcher(newValue) {
67
- if (newValue !== undefined && this.widget) {
68
- this.widget.view = newValue;
69
- }
70
- }
71
- //--------------------------------------------------------------------------
72
- //
73
- // Lifecycle
74
- //
75
- //--------------------------------------------------------------------------
76
- async componentDidLoad() {
77
- const params = this._createParams();
78
- const widget = await index$1.newWidgetsSwipe(params);
79
- this.widget = widget;
80
- this.widgetReady.emit(true);
81
- componentUtils.checkForView(this);
82
- }
83
- disconnectedCallback() {
84
- disconnected.onDisconnectedHelper(this);
85
- }
86
- render() {
87
- return index.h("div", { ref: (el) => (this.childElem = el) });
88
- }
89
- //--------------------------------------------------------------------------
90
- //
91
- // Private Methods
92
- //
93
- //--------------------------------------------------------------------------
94
- _createParams() {
95
- const params = {
96
- container: this.childElem
97
- };
98
- if (this.view) {
99
- params.view = this.view;
100
- }
101
- return params;
102
- }
103
- get el() { return index.getElement(this); }
104
- static get watchers() { return {
105
- "direction": ["directionWatcher"],
106
- "dragLabel": ["dragLabelWatcher"],
107
- "leadingLayers": ["leadingLayersWatcher"],
108
- "swipePosition": ["swipePositionWatcher"],
109
- "trailingLayers": ["trailingLayersWatcher"],
110
- "position": ["positionWatcher"],
111
- "referenceElement": ["referenceElementWatcher"],
112
- "view": ["viewWatcher"]
113
- }; }
114
- };
115
- ArcgisSwipe.style = arcgisSwipeCss;
116
-
117
- exports.arcgis_swipe = ArcgisSwipe;
@@ -1,118 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-ef2acc94.js');
7
- const componentUtils = require('./component-utils-933b7aca.js');
8
- const disconnected = require('./disconnected-306cb220.js');
9
-
10
- const arcgisTableListCss = "arcgis-table-list{}";
11
-
12
- const ArcgisTableList = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.triggerAction = index.createEvent(this, "triggerAction", 7);
16
- this.widgetReady = index.createEvent(this, "widgetReady", 7);
17
- this.referenceElement = undefined;
18
- this.multipleSelectionEnabled = false;
19
- this.selectionEnabled = true;
20
- this.selectedItems = undefined;
21
- this.tableItems = undefined;
22
- this.view = undefined;
23
- this.position = "bottom-left";
24
- this.expandable = false;
25
- this.widget = undefined;
26
- }
27
- //--------------------------------------------------------------------------
28
- //
29
- // Watchers
30
- //
31
- //--------------------------------------------------------------------------
32
- multipleSelectionEnabledWatcher(newValue) {
33
- if (newValue !== undefined && this.widget) {
34
- this.widget.multipleSelectionEnabled = newValue;
35
- }
36
- }
37
- selectionEnabledWatcher(newValue) {
38
- if (newValue !== undefined && this.widget) {
39
- this.widget.selectionEnabled = newValue;
40
- }
41
- }
42
- positionWatcher(newValue) {
43
- if (newValue !== undefined && this.widget) {
44
- if (typeof this.view !== "string") {
45
- this.view.ui.move(this.childElem, newValue);
46
- }
47
- }
48
- }
49
- referenceElementWatcher(newValue) {
50
- componentUtils.referenceElementHelper(this, newValue);
51
- }
52
- viewWatcher(newValue) {
53
- if (newValue !== undefined && this.widget) {
54
- this.widget.map = newValue.map;
55
- }
56
- }
57
- //--------------------------------------------------------------------------
58
- //
59
- // Lifecycle
60
- //
61
- //--------------------------------------------------------------------------
62
- async componentDidLoad() {
63
- const params = this._createParams();
64
- const widget = await index$1.newWidgetsTableList(params);
65
- this.widget = widget;
66
- await this._addWatchers();
67
- this.widgetReady.emit(true);
68
- componentUtils.checkForView(this);
69
- this._hookEvents(this.widget);
70
- }
71
- disconnectedCallback() {
72
- disconnected.onDisconnectedHelper(this);
73
- }
74
- render() {
75
- if (this.expandable) {
76
- return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
77
- }
78
- return index.h("div", { ref: (el) => (this.childElem = el) });
79
- }
80
- //--------------------------------------------------------------------------
81
- //
82
- // Private Methods
83
- //
84
- //--------------------------------------------------------------------------
85
- async _addWatchers() {
86
- const { watch } = await index$1.importCoreReactiveUtils();
87
- watch(() => this.widget.selectedItems, (value) => (this.selectedItems = value));
88
- watch(() => this.widget.tableItems, (value) => (this.tableItems = value));
89
- }
90
- _createParams() {
91
- const params = {
92
- container: this.childElem,
93
- multipleSelectionEnabled: this.multipleSelectionEnabled,
94
- selectionEnabled: this.selectionEnabled
95
- };
96
- if (this.view) {
97
- params.map = this.view.map;
98
- }
99
- return params;
100
- }
101
- _hookEvents(widget) {
102
- const triggerHandle = widget.on("trigger-action", (e) => {
103
- this.triggerAction.emit(e);
104
- });
105
- widget.own(triggerHandle);
106
- }
107
- get el() { return index.getElement(this); }
108
- static get watchers() { return {
109
- "multipleSelectionEnabled": ["multipleSelectionEnabledWatcher"],
110
- "selectionEnabled": ["selectionEnabledWatcher"],
111
- "position": ["positionWatcher"],
112
- "referenceElement": ["referenceElementWatcher"],
113
- "view": ["viewWatcher"]
114
- }; }
115
- };
116
- ArcgisTableList.style = arcgisTableListCss;
117
-
118
- exports.arcgis_table_list = ArcgisTableList;
@@ -1,216 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-6b51d5a0.js');
6
- const index$1 = require('./index-ef2acc94.js');
7
- const componentUtils = require('./component-utils-933b7aca.js');
8
- const disconnected = require('./disconnected-306cb220.js');
9
-
10
- const arcgisTimeSliderCss = "arcgis-time-slider{}";
11
-
12
- const ArcgisTimeSlider = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- this.triggerAction = index.createEvent(this, "triggerAction", 7);
16
- this.widgetReady = index.createEvent(this, "widgetReady", 7);
17
- this.referenceElement = undefined;
18
- this.actions = undefined;
19
- this.effectiveStops = undefined;
20
- this.fullTimeExtent = undefined;
21
- this.layout = undefined;
22
- this.loop = undefined;
23
- this.mode = undefined;
24
- this.playRate = undefined;
25
- this.stops = undefined;
26
- this.tickConfigs = undefined;
27
- this.timeExtent = undefined;
28
- this.timeVisible = undefined;
29
- this.view = undefined;
30
- this.position = "bottom-left";
31
- this.expandable = false;
32
- this.widget = undefined;
33
- }
34
- //--------------------------------------------------------------------------
35
- //
36
- // Watchers
37
- //
38
- //--------------------------------------------------------------------------
39
- actionsWatcher(newValue) {
40
- if (newValue !== undefined && this.widget) {
41
- this.widget.actions = newValue;
42
- }
43
- }
44
- fullTimeExtentWatcher(newValue) {
45
- if (newValue !== undefined && this.widget) {
46
- this.widget.fullTimeExtent = newValue;
47
- }
48
- }
49
- layoutWatcher(newValue) {
50
- if (newValue !== undefined && this.widget) {
51
- this.widget.layout = newValue;
52
- }
53
- }
54
- loopWatcher(newValue) {
55
- if (newValue !== undefined && this.widget) {
56
- this.widget.loop = newValue;
57
- }
58
- }
59
- modeWatcher(newValue) {
60
- if (newValue !== undefined && this.widget) {
61
- this.widget.mode = newValue;
62
- }
63
- }
64
- playRateWatcher(newValue) {
65
- if (newValue !== undefined && this.widget) {
66
- this.widget.playRate = newValue;
67
- }
68
- }
69
- stopsWatcher(newValue) {
70
- if (newValue !== undefined && this.widget) {
71
- this.widget.stops = newValue;
72
- }
73
- }
74
- tickConfigsWatcher(newValue) {
75
- if (newValue !== undefined && this.widget) {
76
- this.widget.tickConfigs = newValue;
77
- }
78
- }
79
- timeExtentWatcher(newValue) {
80
- if (newValue !== undefined && this.widget) {
81
- this.widget.timeExtent = newValue;
82
- }
83
- }
84
- timeVisibleWatcher(newValue) {
85
- if (newValue !== undefined && this.widget) {
86
- this.widget.timeVisible = newValue;
87
- }
88
- }
89
- positionWatcher(newValue) {
90
- if (newValue !== undefined && this.widget) {
91
- if (typeof this.view !== "string") {
92
- this.view.ui.move(this.childElem, newValue);
93
- }
94
- }
95
- }
96
- referenceElementWatcher(newValue) {
97
- componentUtils.referenceElementHelper(this, newValue);
98
- }
99
- viewWatcher(newValue) {
100
- if (newValue !== undefined && this.widget) {
101
- this.widget.view = newValue;
102
- }
103
- }
104
- //--------------------------------------------------------------------------
105
- //
106
- // Methods
107
- //
108
- //--------------------------------------------------------------------------
109
- async next() {
110
- return this.widget?.next();
111
- }
112
- async play() {
113
- return this.widget?.play();
114
- }
115
- async previous() {
116
- return this.widget?.previous();
117
- }
118
- async stop() {
119
- return this.widget?.stop();
120
- }
121
- //--------------------------------------------------------------------------
122
- //
123
- // Lifecycle
124
- //
125
- //--------------------------------------------------------------------------
126
- async componentDidLoad() {
127
- const params = this._createParams();
128
- const widget = await index$1.newWidgetsTimeSlider(params);
129
- this.widget = widget;
130
- await this._addWatchers();
131
- this._proxyEvents();
132
- this.widgetReady.emit(true);
133
- componentUtils.checkForView(this);
134
- }
135
- disconnectedCallback() {
136
- disconnected.onDisconnectedHelper(this);
137
- }
138
- render() {
139
- if (this.expandable) {
140
- return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
141
- }
142
- return index.h("div", { ref: (el) => (this.childElem = el) });
143
- }
144
- //--------------------------------------------------------------------------
145
- //
146
- // Private Methods
147
- //
148
- //--------------------------------------------------------------------------
149
- async _addWatchers() {
150
- const { watch } = await index$1.importCoreReactiveUtils();
151
- watch(() => this.widget.effectiveStops, (value) => (this.effectiveStops = value), {
152
- initial: true
153
- });
154
- }
155
- _createParams() {
156
- const params = {
157
- container: this.childElem
158
- };
159
- if (this.actions !== undefined) {
160
- params.actions = this.actions;
161
- }
162
- if (this.fullTimeExtent !== undefined) {
163
- params.fullTimeExtent = this.fullTimeExtent;
164
- }
165
- if (this.layout !== undefined) {
166
- params.layout = this.layout;
167
- }
168
- if (this.loop !== undefined) {
169
- params.loop = this.loop;
170
- }
171
- if (this.mode !== undefined) {
172
- params.mode = this.mode;
173
- }
174
- if (this.playRate !== undefined) {
175
- params.playRate = this.playRate;
176
- }
177
- if (this.stops !== undefined) {
178
- params.stops = this.stops;
179
- }
180
- if (this.tickConfigs !== undefined) {
181
- params.tickConfigs = this.tickConfigs;
182
- }
183
- if (this.timeExtent !== undefined) {
184
- params.timeExtent = this.timeExtent;
185
- }
186
- if (this.timeVisible !== undefined) {
187
- params.timeVisible = this.timeVisible;
188
- }
189
- if (this.view) {
190
- params.view = this.view;
191
- }
192
- return params;
193
- }
194
- async _proxyEvents() {
195
- this.widget?.on("trigger-action", (e) => this.triggerAction.emit(e));
196
- }
197
- get el() { return index.getElement(this); }
198
- static get watchers() { return {
199
- "actions": ["actionsWatcher"],
200
- "fullTimeExtent": ["fullTimeExtentWatcher"],
201
- "layout": ["layoutWatcher"],
202
- "loop": ["loopWatcher"],
203
- "mode": ["modeWatcher"],
204
- "playRate": ["playRateWatcher"],
205
- "stops": ["stopsWatcher"],
206
- "tickConfigs": ["tickConfigsWatcher"],
207
- "timeExtent": ["timeExtentWatcher"],
208
- "timeVisible": ["timeVisibleWatcher"],
209
- "position": ["positionWatcher"],
210
- "referenceElement": ["referenceElementWatcher"],
211
- "view": ["viewWatcher"]
212
- }; }
213
- };
214
- ArcgisTimeSlider.style = arcgisTimeSliderCss;
215
-
216
- exports.arcgis_time_slider = ArcgisTimeSlider;