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

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 (241) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -148
  2. package/dist/arcgis-map-components/index.esm.js +0 -1
  3. package/dist/arcgis-map-components/p-095e0075.js +1 -0
  4. package/dist/arcgis-map-components/p-0a81674b.entry.js +1 -0
  5. package/dist/arcgis-map-components/p-0b5368a6.entry.js +1 -0
  6. package/dist/arcgis-map-components/p-0dddef29.entry.js +1 -0
  7. package/dist/arcgis-map-components/p-0decaa03.entry.js +1 -0
  8. package/dist/arcgis-map-components/p-1126ae71.entry.js +1 -0
  9. package/dist/arcgis-map-components/p-1307fe8a.entry.js +1 -0
  10. package/dist/arcgis-map-components/p-1401deea.js +1 -0
  11. package/dist/arcgis-map-components/p-1e5e5ed9.js +2 -0
  12. package/dist/arcgis-map-components/p-23530601.entry.js +1 -0
  13. package/dist/arcgis-map-components/p-3b5c0098.entry.js +1 -0
  14. package/dist/arcgis-map-components/p-406f187c.entry.js +1 -0
  15. package/dist/arcgis-map-components/p-5396bcb5.entry.js +1 -0
  16. package/dist/arcgis-map-components/p-5a87f5c4.entry.js +1 -0
  17. package/dist/arcgis-map-components/p-5cabdee7.js +1 -0
  18. package/dist/arcgis-map-components/p-69214958.entry.js +1 -0
  19. package/dist/arcgis-map-components/p-6e69fe28.entry.js +1 -0
  20. package/dist/arcgis-map-components/p-741086a4.entry.js +1 -0
  21. package/dist/arcgis-map-components/p-79080368.entry.js +1 -0
  22. package/dist/arcgis-map-components/p-7e5545cf.entry.js +1 -0
  23. package/dist/arcgis-map-components/p-7e90f27c.entry.js +1 -0
  24. package/dist/arcgis-map-components/p-80fd5534.entry.js +1 -0
  25. package/dist/arcgis-map-components/p-81a3bd3b.entry.js +1 -0
  26. package/dist/arcgis-map-components/p-85b278c1.entry.js +1 -0
  27. package/dist/arcgis-map-components/p-866d57e1.entry.js +1 -0
  28. package/dist/arcgis-map-components/p-86acdf29.entry.js +1 -0
  29. package/dist/arcgis-map-components/p-8bf81a13.entry.js +1 -0
  30. package/dist/arcgis-map-components/p-95287b70.entry.js +1 -0
  31. package/dist/arcgis-map-components/p-95aa4e86.entry.js +1 -0
  32. package/dist/arcgis-map-components/p-9634a446.entry.js +1 -0
  33. package/dist/arcgis-map-components/p-9d16369e.entry.js +1 -0
  34. package/dist/arcgis-map-components/p-a094dafc.entry.js +1 -0
  35. package/dist/arcgis-map-components/p-a6ab7f72.entry.js +1 -0
  36. package/dist/arcgis-map-components/p-a7715a1a.entry.js +1 -0
  37. package/dist/arcgis-map-components/p-aa73b1cb.entry.js +1 -0
  38. package/dist/arcgis-map-components/p-ae017ef1.entry.js +1 -0
  39. package/dist/arcgis-map-components/p-b5182c68.entry.js +1 -0
  40. package/dist/arcgis-map-components/p-b813c9e6.js +1 -0
  41. package/dist/arcgis-map-components/p-bfb9ceb4.entry.js +1 -0
  42. package/dist/arcgis-map-components/p-c28ede1a.entry.js +1 -0
  43. package/dist/arcgis-map-components/p-c64bceeb.entry.js +1 -0
  44. package/dist/arcgis-map-components/p-c726b024.entry.js +1 -0
  45. package/dist/arcgis-map-components/p-d0dc4119.entry.js +1 -0
  46. package/dist/arcgis-map-components/p-d2274db9.entry.js +1 -0
  47. package/dist/arcgis-map-components/p-d5b79b4e.entry.js +1 -0
  48. package/dist/arcgis-map-components/p-d9c0253a.entry.js +1 -0
  49. package/dist/arcgis-map-components/p-db02ac80.entry.js +1 -0
  50. package/dist/arcgis-map-components/p-dfbbbdad.entry.js +1 -0
  51. package/dist/arcgis-map-components/p-e432eb73.entry.js +1 -0
  52. package/dist/arcgis-map-components/p-e4f5a3f5.entry.js +1 -0
  53. package/dist/arcgis-map-components/p-f32183ab.entry.js +1 -0
  54. package/dist/arcgis-map-components/p-f9b78102.entry.js +1 -0
  55. package/dist/arcgis-map-components/p-fa591c93.entry.js +1 -0
  56. package/dist/arcgis-map-components/p-fee8b15a.entry.js +1 -0
  57. package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +101 -0
  58. package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +94 -0
  59. package/dist/cjs/arcgis-attachments.cjs.entry.js +73 -0
  60. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +281 -0
  61. package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +144 -0
  62. package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +115 -0
  63. package/dist/cjs/arcgis-bookmarks.cjs.entry.js +140 -0
  64. package/dist/cjs/arcgis-building-explorer.cjs.entry.js +80 -0
  65. package/dist/cjs/arcgis-compass.cjs.entry.js +90 -0
  66. package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +158 -0
  67. package/dist/cjs/arcgis-daylight.cjs.entry.js +116 -0
  68. package/dist/cjs/arcgis-directions.cjs.entry.js +194 -0
  69. package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +114 -0
  70. package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +106 -0
  71. package/dist/cjs/arcgis-editor.cjs.entry.js +180 -0
  72. package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +136 -0
  73. package/dist/cjs/arcgis-feature-form.cjs.entry.js +36 -0
  74. package/dist/cjs/arcgis-feature-table.cjs.entry.js +300 -0
  75. package/dist/cjs/arcgis-feature-templates.cjs.entry.js +73 -0
  76. package/dist/cjs/arcgis-feature.cjs.entry.js +106 -0
  77. package/dist/cjs/arcgis-features.cjs.entry.js +133 -0
  78. package/dist/cjs/arcgis-floor-filter.cjs.entry.js +134 -0
  79. package/dist/cjs/arcgis-fullscreen.cjs.entry.js +92 -0
  80. package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +80 -0
  81. package/dist/cjs/arcgis-histogram.cjs.entry.js +36 -0
  82. package/dist/cjs/arcgis-home.cjs.entry.js +108 -0
  83. package/dist/cjs/arcgis-layer-list.cjs.entry.js +128 -0
  84. package/dist/cjs/arcgis-legend.cjs.entry.js +146 -0
  85. package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +94 -0
  86. package/dist/cjs/arcgis-locate.cjs.entry.js +158 -0
  87. package/dist/cjs/arcgis-map-components.cjs.js +23 -0
  88. package/dist/cjs/arcgis-measurement.cjs.entry.js +123 -0
  89. package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +97 -0
  90. package/dist/cjs/arcgis-print.cjs.entry.js +163 -0
  91. package/dist/cjs/arcgis-scale-bar.cjs.entry.js +106 -0
  92. package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +146 -0
  93. package/dist/cjs/arcgis-scene.cjs.entry.js +106 -0
  94. package/dist/cjs/arcgis-search.cjs.entry.js +276 -0
  95. package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +95 -0
  96. package/dist/cjs/arcgis-sketch.cjs.entry.js +201 -0
  97. package/dist/cjs/arcgis-slice.cjs.entry.js +103 -0
  98. package/dist/cjs/arcgis-slider.cjs.entry.js +233 -0
  99. package/dist/cjs/arcgis-swipe.cjs.entry.js +117 -0
  100. package/dist/cjs/arcgis-table-list.cjs.entry.js +118 -0
  101. package/dist/cjs/arcgis-time-slider.cjs.entry.js +216 -0
  102. package/dist/cjs/arcgis-track.cjs.entry.js +147 -0
  103. package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +162 -0
  104. package/dist/cjs/arcgis-value-picker.cjs.entry.js +160 -0
  105. package/dist/cjs/arcgis-weather.cjs.entry.js +86 -0
  106. package/dist/cjs/arcgis-zoom.cjs.entry.js +100 -0
  107. package/dist/cjs/component-utils-933b7aca.js +76 -0
  108. package/dist/cjs/disconnected-306cb220.js +55 -0
  109. package/dist/cjs/index-6b51d5a0.js +1607 -0
  110. package/dist/cjs/index-ef2acc94.js +717 -0
  111. package/dist/cjs/index.cjs.js +2 -0
  112. package/dist/cjs/loader.cjs.js +22 -0
  113. package/dist/cjs/mapping-utils-c2c7b994.js +40 -0
  114. package/dist/components/arcgis-area-measurement-2d.js +128 -0
  115. package/dist/components/arcgis-area-measurement-3d.js +121 -0
  116. package/dist/components/arcgis-attachments.js +99 -0
  117. package/dist/components/arcgis-basemap-gallery.js +124 -0
  118. package/dist/components/arcgis-basemap-layer-list.js +175 -0
  119. package/dist/components/arcgis-basemap-toggle.js +143 -0
  120. package/dist/components/arcgis-bookmarks.js +169 -0
  121. package/dist/components/arcgis-building-explorer.js +105 -0
  122. package/dist/components/arcgis-compass.js +109 -0
  123. package/dist/components/arcgis-coordinate-conversion.js +193 -0
  124. package/dist/components/arcgis-daylight.js +144 -0
  125. package/dist/components/arcgis-directions.js +230 -0
  126. package/dist/components/arcgis-directline-measurement-3d.js +142 -0
  127. package/dist/components/arcgis-distance-measurement-2d.js +133 -0
  128. package/dist/components/arcgis-editor.js +219 -0
  129. package/dist/components/arcgis-elevation-profile.js +166 -0
  130. package/dist/components/arcgis-expand.js +6 -0
  131. package/dist/components/arcgis-expand2.js +107 -0
  132. package/dist/components/arcgis-feature-form.js +55 -0
  133. package/dist/components/arcgis-feature-table.js +355 -0
  134. package/dist/components/arcgis-feature-templates.js +98 -0
  135. package/dist/components/arcgis-feature.js +133 -0
  136. package/dist/components/arcgis-features.js +169 -0
  137. package/dist/components/arcgis-floor-filter.js +164 -0
  138. package/dist/components/arcgis-fullscreen.js +111 -0
  139. package/dist/components/arcgis-histogram-range-slider.js +106 -0
  140. package/dist/components/arcgis-histogram.js +55 -0
  141. package/dist/components/arcgis-home.js +129 -0
  142. package/dist/components/arcgis-layer-list.js +158 -0
  143. package/dist/components/arcgis-legend.js +177 -0
  144. package/dist/components/arcgis-line-of-sight.js +120 -0
  145. package/dist/components/arcgis-locate.js +184 -0
  146. package/dist/components/arcgis-map.js +130 -0
  147. package/dist/components/arcgis-measurement.js +153 -0
  148. package/dist/components/arcgis-navigation-toggle.js +117 -0
  149. package/dist/components/arcgis-print.js +197 -0
  150. package/dist/components/arcgis-scale-bar.js +133 -0
  151. package/dist/components/arcgis-scale-range-slider.js +177 -0
  152. package/dist/components/arcgis-scene.js +127 -0
  153. package/dist/components/arcgis-search.js +330 -0
  154. package/dist/components/arcgis-shadow-cast.js +121 -0
  155. package/dist/components/arcgis-sketch.js +238 -0
  156. package/dist/components/arcgis-slice.js +130 -0
  157. package/dist/components/arcgis-slider.js +281 -0
  158. package/dist/components/arcgis-swipe.js +140 -0
  159. package/dist/components/arcgis-table-list.js +147 -0
  160. package/dist/components/arcgis-time-slider.js +256 -0
  161. package/dist/components/arcgis-track.js +171 -0
  162. package/dist/components/arcgis-utility-network-trace.js +197 -0
  163. package/dist/components/arcgis-value-picker.js +198 -0
  164. package/dist/components/arcgis-weather.js +111 -0
  165. package/dist/components/arcgis-zoom.js +121 -0
  166. package/dist/components/disconnected.js +122 -0
  167. package/dist/components/index.js +52 -0
  168. package/dist/components/index2.js +638 -0
  169. package/dist/components/mapping-utils.js +38 -0
  170. package/dist/esm/arcgis-area-measurement-2d.entry.js +97 -0
  171. package/dist/esm/arcgis-area-measurement-3d.entry.js +90 -0
  172. package/dist/esm/arcgis-attachments.entry.js +69 -0
  173. package/dist/esm/arcgis-basemap-gallery_3.entry.js +275 -0
  174. package/dist/esm/arcgis-basemap-layer-list.entry.js +140 -0
  175. package/dist/esm/arcgis-basemap-toggle.entry.js +111 -0
  176. package/dist/esm/arcgis-bookmarks.entry.js +136 -0
  177. package/dist/esm/arcgis-building-explorer.entry.js +76 -0
  178. package/dist/esm/arcgis-compass.entry.js +86 -0
  179. package/dist/esm/arcgis-coordinate-conversion.entry.js +154 -0
  180. package/dist/esm/arcgis-daylight.entry.js +112 -0
  181. package/dist/esm/arcgis-directions.entry.js +190 -0
  182. package/dist/esm/arcgis-directline-measurement-3d.entry.js +110 -0
  183. package/dist/esm/arcgis-distance-measurement-2d.entry.js +102 -0
  184. package/dist/esm/arcgis-editor.entry.js +176 -0
  185. package/dist/esm/arcgis-elevation-profile.entry.js +132 -0
  186. package/dist/esm/arcgis-feature-form.entry.js +32 -0
  187. package/dist/esm/arcgis-feature-table.entry.js +296 -0
  188. package/dist/esm/arcgis-feature-templates.entry.js +69 -0
  189. package/dist/esm/arcgis-feature.entry.js +102 -0
  190. package/dist/esm/arcgis-features.entry.js +129 -0
  191. package/dist/esm/arcgis-floor-filter.entry.js +130 -0
  192. package/dist/esm/arcgis-fullscreen.entry.js +88 -0
  193. package/dist/esm/arcgis-histogram-range-slider.entry.js +76 -0
  194. package/dist/esm/arcgis-histogram.entry.js +32 -0
  195. package/dist/esm/arcgis-home.entry.js +104 -0
  196. package/dist/esm/arcgis-layer-list.entry.js +124 -0
  197. package/dist/esm/arcgis-legend.entry.js +142 -0
  198. package/dist/esm/arcgis-line-of-sight.entry.js +90 -0
  199. package/dist/esm/arcgis-locate.entry.js +154 -0
  200. package/dist/esm/arcgis-map-components.js +18 -0
  201. package/dist/esm/arcgis-measurement.entry.js +119 -0
  202. package/dist/esm/arcgis-navigation-toggle.entry.js +93 -0
  203. package/dist/esm/arcgis-print.entry.js +159 -0
  204. package/dist/esm/arcgis-scale-bar.entry.js +102 -0
  205. package/dist/esm/arcgis-scale-range-slider.entry.js +142 -0
  206. package/dist/esm/arcgis-scene.entry.js +102 -0
  207. package/dist/esm/arcgis-search.entry.js +272 -0
  208. package/dist/esm/arcgis-shadow-cast.entry.js +91 -0
  209. package/dist/esm/arcgis-sketch.entry.js +197 -0
  210. package/dist/esm/arcgis-slice.entry.js +99 -0
  211. package/dist/esm/arcgis-slider.entry.js +229 -0
  212. package/dist/esm/arcgis-swipe.entry.js +113 -0
  213. package/dist/esm/arcgis-table-list.entry.js +114 -0
  214. package/dist/esm/arcgis-time-slider.entry.js +212 -0
  215. package/dist/esm/arcgis-track.entry.js +143 -0
  216. package/dist/esm/arcgis-utility-network-trace.entry.js +158 -0
  217. package/dist/esm/arcgis-value-picker.entry.js +156 -0
  218. package/dist/esm/arcgis-weather.entry.js +82 -0
  219. package/dist/esm/arcgis-zoom.entry.js +96 -0
  220. package/dist/esm/component-utils-d3552de2.js +73 -0
  221. package/dist/esm/disconnected-bc5fc8bc.js +52 -0
  222. package/dist/esm/index-ad26b6d0.js +638 -0
  223. package/dist/esm/index-eb3ead33.js +1579 -0
  224. package/dist/esm/index.js +1 -0
  225. package/dist/esm/loader.js +18 -0
  226. package/dist/esm/mapping-utils-26beb904.js +38 -0
  227. package/dist/esm/polyfills/core-js.js +11 -0
  228. package/dist/esm/polyfills/css-shim.js +1 -0
  229. package/dist/esm/polyfills/dom.js +79 -0
  230. package/dist/esm/polyfills/es5-html-element.js +1 -0
  231. package/dist/esm/polyfills/index.js +34 -0
  232. package/dist/esm/polyfills/system.js +6 -0
  233. package/dist/index.cjs.js +1 -0
  234. package/dist/index.js +1 -0
  235. package/dist/loader/cdn.js +3 -0
  236. package/dist/loader/index.cjs.js +3 -0
  237. package/dist/loader/index.d.ts +21 -0
  238. package/dist/loader/index.es2017.js +3 -0
  239. package/dist/loader/index.js +4 -0
  240. package/dist/loader/package.json +11 -0
  241. package/package.json +3 -3
@@ -0,0 +1,147 @@
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 arcgisTrackCss = "";
11
+
12
+ const ArcgisTrack = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.trackComplete = index.createEvent(this, "trackComplete", 7);
16
+ this.trackError = index.createEvent(this, "trackError", 7);
17
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
18
+ this.referenceElement = undefined;
19
+ this.geolocationOptions = undefined;
20
+ this.goToLocationEnabled = undefined;
21
+ this.graphic = undefined;
22
+ this.scale = undefined;
23
+ this.tracking = undefined;
24
+ this.useHeadingEnabled = undefined;
25
+ this.position = "bottom-left";
26
+ this.view = undefined;
27
+ this.widget = undefined;
28
+ }
29
+ //--------------------------------------------------------------------------
30
+ //
31
+ // Watchers
32
+ //
33
+ //--------------------------------------------------------------------------
34
+ positionWatcher(newValue) {
35
+ if (newValue !== undefined && this.widget) {
36
+ if (typeof this.view !== "string") {
37
+ this.view.ui.move(this.childElem, newValue);
38
+ }
39
+ }
40
+ }
41
+ geolocationOptionsWatcher(newValue) {
42
+ if (newValue !== undefined && this.widget) {
43
+ this.widget.geolocationOptions = newValue;
44
+ }
45
+ }
46
+ goToLocationEnabledWatcher(newValue) {
47
+ if (newValue !== undefined && this.widget) {
48
+ this.widget.goToLocationEnabled = newValue;
49
+ }
50
+ }
51
+ graphicWatcher(newValue) {
52
+ if (newValue !== undefined && this.widget) {
53
+ this.widget.graphic = newValue;
54
+ }
55
+ }
56
+ scaleWatcher(newValue) {
57
+ if (newValue !== undefined && this.widget) {
58
+ this.widget.scale = newValue;
59
+ }
60
+ }
61
+ useHeadingEnabledWatcher(newValue) {
62
+ if (newValue !== undefined && this.widget) {
63
+ this.widget.useHeadingEnabled = newValue;
64
+ }
65
+ }
66
+ referenceElementWatcher(newValue) {
67
+ componentUtils.referenceElementHelper(this, newValue);
68
+ }
69
+ viewWatcher(newValue) {
70
+ if (newValue !== undefined && this.widget) {
71
+ this.widget.view = newValue;
72
+ }
73
+ }
74
+ //--------------------------------------------------------------------------
75
+ //
76
+ // Lifecycle
77
+ //
78
+ //--------------------------------------------------------------------------
79
+ async componentDidLoad() {
80
+ const params = this._createParams();
81
+ const widget = await index$1.newWidgetsTrack(params);
82
+ this.widget = widget;
83
+ await this._addWatchers();
84
+ this._proxyEvents();
85
+ this.widgetReady.emit(true);
86
+ componentUtils.checkForView(this);
87
+ }
88
+ disconnectedCallback() {
89
+ disconnected.onDisconnectedHelper(this);
90
+ }
91
+ render() {
92
+ return index.h("div", { ref: (el) => (this.childElem = el) });
93
+ }
94
+ //--------------------------------------------------------------------------
95
+ //
96
+ // Private Methods
97
+ //
98
+ //--------------------------------------------------------------------------
99
+ async _addWatchers() {
100
+ const { watch } = await index$1.importCoreReactiveUtils();
101
+ watch(() => this.widget.tracking, (value) => (this.tracking = value), {
102
+ initial: true
103
+ });
104
+ }
105
+ _createParams() {
106
+ const params = {
107
+ container: this.childElem
108
+ };
109
+ if (this.geolocationOptions !== undefined) {
110
+ params.geolocationOptions = this.geolocationOptions;
111
+ }
112
+ if (this.goToLocationEnabled !== undefined) {
113
+ params.goToLocationEnabled = this.goToLocationEnabled;
114
+ }
115
+ if (this.graphic !== undefined) {
116
+ params.graphic = this.graphic;
117
+ }
118
+ if (this.useHeadingEnabled !== undefined) {
119
+ params.useHeadingEnabled = this.useHeadingEnabled;
120
+ }
121
+ if (this.scale !== undefined) {
122
+ params.scale = this.scale;
123
+ }
124
+ if (this.view) {
125
+ params.view = this.view;
126
+ }
127
+ return params;
128
+ }
129
+ _proxyEvents() {
130
+ this.widget.on("track", (e) => this.trackComplete.emit(e));
131
+ this.widget.on("track-error", (e) => this.trackError.emit(e));
132
+ }
133
+ get el() { return index.getElement(this); }
134
+ static get watchers() { return {
135
+ "position": ["positionWatcher"],
136
+ "geolocationOptions": ["geolocationOptionsWatcher"],
137
+ "goToLocationEnabled": ["goToLocationEnabledWatcher"],
138
+ "graphic": ["graphicWatcher"],
139
+ "scale": ["scaleWatcher"],
140
+ "useHeadingEnabled": ["useHeadingEnabledWatcher"],
141
+ "referenceElement": ["referenceElementWatcher"],
142
+ "view": ["viewWatcher"]
143
+ }; }
144
+ };
145
+ ArcgisTrack.style = arcgisTrackCss;
146
+
147
+ exports.arcgis_track = ArcgisTrack;
@@ -0,0 +1,162 @@
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 arcgisUtilityNetworkTraceCss = "";
11
+
12
+ const ArcgisUtilityNetworkTrace = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.traceAddFlag = index.createEvent(this, "traceAddFlag", 7);
16
+ this.traceAddFlagComplete = index.createEvent(this, "traceAddFlagComplete", 7);
17
+ this.traceAddFlagError = index.createEvent(this, "traceAddFlagError", 7);
18
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
19
+ this.referenceElement = undefined;
20
+ this.defaultGraphicColor = undefined;
21
+ this.flags = undefined;
22
+ this.gdbVersion = undefined;
23
+ this.inputSettings = undefined;
24
+ this.selectedTraces = undefined;
25
+ this.selectOnComplete = undefined;
26
+ this.showGraphicsOnComplete = undefined;
27
+ this.showSelectionAttributes = undefined;
28
+ this.position = "bottom-left";
29
+ this.expandable = false;
30
+ this.view = undefined;
31
+ this.widget = undefined;
32
+ }
33
+ //--------------------------------------------------------------------------
34
+ //
35
+ // Watchers
36
+ //
37
+ //--------------------------------------------------------------------------
38
+ defaultGraphicColorWatcher(newValue) {
39
+ if (newValue !== undefined && this.widget) {
40
+ this.widget.defaultGraphicColor = newValue;
41
+ }
42
+ }
43
+ flagsWatcher(newValue) {
44
+ if (newValue !== undefined && this.widget) {
45
+ this.widget.flags = newValue;
46
+ }
47
+ }
48
+ gdbVersionWatcher(newValue) {
49
+ if (newValue !== undefined && this.widget) {
50
+ this.widget.gdbVersion = newValue;
51
+ }
52
+ }
53
+ inputSettingsWatcher(newValue) {
54
+ if (newValue !== undefined && this.widget) {
55
+ this.widget.inputSettings = newValue;
56
+ }
57
+ }
58
+ selectedTracesWatcher(newValue) {
59
+ if (newValue !== undefined && this.widget) {
60
+ this.widget.selectedTraces = newValue;
61
+ }
62
+ }
63
+ selectOnCompleteWatcher(newValue) {
64
+ if (newValue !== undefined && this.widget) {
65
+ this.widget.selectOnComplete = newValue;
66
+ }
67
+ }
68
+ showGraphicsOnCompleteWatcher(newValue) {
69
+ if (newValue !== undefined && this.widget) {
70
+ this.widget.showGraphicsOnComplete = newValue;
71
+ }
72
+ }
73
+ showSelectionAttributesWatcher(newValue) {
74
+ if (newValue !== undefined && this.widget) {
75
+ this.widget.showSelectionAttributes = newValue;
76
+ }
77
+ }
78
+ positionWatcher(newValue) {
79
+ if (newValue !== undefined && this.widget) {
80
+ if (typeof this.view !== "string") {
81
+ this.view.ui.move(this.childElem, newValue);
82
+ }
83
+ }
84
+ }
85
+ referenceElementWatcher(newValue) {
86
+ componentUtils.referenceElementHelper(this, newValue);
87
+ }
88
+ viewWatcher(newValue) {
89
+ if (newValue !== undefined && this.widget) {
90
+ this.widget.view = newValue;
91
+ }
92
+ }
93
+ //--------------------------------------------------------------------------
94
+ //
95
+ // Methods
96
+ //
97
+ //--------------------------------------------------------------------------
98
+ async checkCanTrace() {
99
+ return this.widget?.checkCanTrace();
100
+ }
101
+ async confirmReset() {
102
+ return this.widget?.confirmReset();
103
+ }
104
+ //--------------------------------------------------------------------------
105
+ //
106
+ // Lifecycle
107
+ //
108
+ //--------------------------------------------------------------------------
109
+ async componentDidLoad() {
110
+ const params = this._createParams();
111
+ const widget = await index$1.newWidgetsUtilityNetworkTrace(params);
112
+ this.widget = widget;
113
+ this._proxyEvents();
114
+ this.widgetReady.emit(true);
115
+ componentUtils.checkForView(this);
116
+ }
117
+ disconnectedCallback() {
118
+ disconnected.onDisconnectedHelper(this);
119
+ }
120
+ render() {
121
+ if (this.expandable) {
122
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
123
+ }
124
+ return index.h("div", { ref: (el) => (this.childElem = el) });
125
+ }
126
+ //--------------------------------------------------------------------------
127
+ //
128
+ // Private Methods
129
+ //
130
+ //--------------------------------------------------------------------------
131
+ _createParams() {
132
+ const params = {
133
+ container: this.childElem
134
+ };
135
+ if (this.view) {
136
+ params.view = this.view;
137
+ }
138
+ return params;
139
+ }
140
+ _proxyEvents() {
141
+ this.widget.on("add-flag", (e) => this.traceAddFlag.emit(e));
142
+ this.widget.on("add-flag-complete", (e) => this.traceAddFlagComplete.emit(e));
143
+ this.widget.on("add-flag-error", (e) => this.traceAddFlagError.emit(e));
144
+ }
145
+ get el() { return index.getElement(this); }
146
+ static get watchers() { return {
147
+ "defaultGraphicColor": ["defaultGraphicColorWatcher"],
148
+ "flags": ["flagsWatcher"],
149
+ "gdbVersion": ["gdbVersionWatcher"],
150
+ "inputSettings": ["inputSettingsWatcher"],
151
+ "selectedTraces": ["selectedTracesWatcher"],
152
+ "selectOnComplete": ["selectOnCompleteWatcher"],
153
+ "showGraphicsOnComplete": ["showGraphicsOnCompleteWatcher"],
154
+ "showSelectionAttributes": ["showSelectionAttributesWatcher"],
155
+ "position": ["positionWatcher"],
156
+ "referenceElement": ["referenceElementWatcher"],
157
+ "view": ["viewWatcher"]
158
+ }; }
159
+ };
160
+ ArcgisUtilityNetworkTrace.style = arcgisUtilityNetworkTraceCss;
161
+
162
+ exports.arcgis_utility_network_trace = ArcgisUtilityNetworkTrace;
@@ -0,0 +1,160 @@
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 arcgisValuePickerCss = "arcgis-value-picker{}";
11
+
12
+ const ArcgisValuePicker = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this.valuePickerAnimate = index.createEvent(this, "valuePickerAnimate", 7);
17
+ this.valuePickerNext = index.createEvent(this, "valuePickerNext", 7);
18
+ this.valuePickerPause = index.createEvent(this, "valuePickerPause", 7);
19
+ this.valuePickerPlay = index.createEvent(this, "valuePickerPlay", 7);
20
+ this.valuePickerPrevious = index.createEvent(this, "valuePickerPrevious", 7);
21
+ this.referenceElement = undefined;
22
+ this.view = undefined;
23
+ this.position = "bottom-left";
24
+ this.expandable = false;
25
+ this.widget = undefined;
26
+ this.canNext = undefined;
27
+ this.canPlay = undefined;
28
+ this.canPrevious = undefined;
29
+ this.caption = undefined;
30
+ this.component = undefined;
31
+ this.layout = undefined;
32
+ this.loop = undefined;
33
+ this.playRate = undefined;
34
+ this.values = undefined;
35
+ }
36
+ //--------------------------------------------------------------------------
37
+ //
38
+ // Watchers
39
+ //
40
+ //--------------------------------------------------------------------------
41
+ positionWatcher(newValue) {
42
+ if (newValue !== undefined && this.widget) {
43
+ if (typeof this.view !== "string") {
44
+ this.view.ui.move(this.childElem, newValue);
45
+ }
46
+ }
47
+ }
48
+ captionWatcher(newValue) {
49
+ this.widget.caption = newValue;
50
+ }
51
+ componentWatcher(newValue) {
52
+ this.widget.component = newValue;
53
+ }
54
+ layoutWatcher(newValue) {
55
+ this.widget.layout = newValue;
56
+ }
57
+ loopWatcher(newValue) {
58
+ this.widget.loop = newValue;
59
+ }
60
+ playRateWatcher(newValue) {
61
+ this.widget.playRate = newValue;
62
+ }
63
+ //--------------------------------------------------------------------------
64
+ //
65
+ // Methods
66
+ //
67
+ //--------------------------------------------------------------------------
68
+ async next() {
69
+ return this.widget?.next();
70
+ }
71
+ async pause() {
72
+ return this.widget?.pause();
73
+ }
74
+ async play() {
75
+ return this.widget?.play();
76
+ }
77
+ async previous() {
78
+ return this.widget?.previous();
79
+ }
80
+ //--------------------------------------------------------------------------
81
+ //
82
+ // Lifecycle
83
+ //
84
+ //--------------------------------------------------------------------------
85
+ async componentDidLoad() {
86
+ const params = this._createParams();
87
+ const widget = await index$1.newWidgetsValuePicker(params);
88
+ this.widget = widget;
89
+ await this._addWatchers();
90
+ this._proxyEvents();
91
+ this.widgetReady.emit(true);
92
+ componentUtils.checkForView(this);
93
+ }
94
+ disconnectedCallback() {
95
+ disconnected.onDisconnectedHelper(this);
96
+ }
97
+ render() {
98
+ if (this.expandable) {
99
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
100
+ }
101
+ return index.h("div", { ref: (el) => (this.childElem = el) });
102
+ }
103
+ //--------------------------------------------------------------------------
104
+ //
105
+ // Private Interal Methods
106
+ //
107
+ //--------------------------------------------------------------------------
108
+ async _addWatchers() {
109
+ const { watch } = await index$1.importCoreReactiveUtils();
110
+ watch(() => this.widget.canNext, (value) => (this.canNext = value), {
111
+ initial: true
112
+ });
113
+ watch(() => this.widget.canPlay, (value) => (this.canPlay = value), {
114
+ initial: true
115
+ });
116
+ watch(() => this.widget.canPrevious, (value) => (this.canPrevious = value), {
117
+ initial: true
118
+ });
119
+ }
120
+ _createParams() {
121
+ const params = {
122
+ container: this.childElem
123
+ };
124
+ if (this.caption) {
125
+ params.caption = this.caption;
126
+ }
127
+ if (this.component) {
128
+ params.component = this.component;
129
+ }
130
+ if (this.layout) {
131
+ params.layout = this.layout;
132
+ }
133
+ if (this.loop) {
134
+ params.loop = this.loop;
135
+ }
136
+ if (this.playRate) {
137
+ params.playRate = this.playRate;
138
+ }
139
+ return params;
140
+ }
141
+ _proxyEvents() {
142
+ this.widget.on("animate", (e) => this.valuePickerAnimate.emit(e));
143
+ this.widget.on("next", (e) => this.valuePickerNext.emit(e));
144
+ this.widget.on("pause", (e) => this.valuePickerPause.emit(e));
145
+ this.widget.on("play", (e) => this.valuePickerPlay.emit(e));
146
+ this.widget.on("previous", (e) => this.valuePickerPrevious.emit(e));
147
+ }
148
+ get el() { return index.getElement(this); }
149
+ static get watchers() { return {
150
+ "position": ["positionWatcher"],
151
+ "caption": ["captionWatcher"],
152
+ "component": ["componentWatcher"],
153
+ "layout": ["layoutWatcher"],
154
+ "loop": ["loopWatcher"],
155
+ "playRate": ["playRateWatcher"]
156
+ }; }
157
+ };
158
+ ArcgisValuePicker.style = arcgisValuePickerCss;
159
+
160
+ exports.arcgis_value_picker = ArcgisValuePicker;
@@ -0,0 +1,86 @@
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 arcgisWeatherCss = "";
11
+
12
+ const ArcgisWeather = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this.referenceElement = undefined;
17
+ this.position = "bottom-left";
18
+ this.expandable = false;
19
+ this.view = undefined;
20
+ this.widget = undefined;
21
+ }
22
+ //--------------------------------------------------------------------------
23
+ //
24
+ // Watchers
25
+ //
26
+ //--------------------------------------------------------------------------
27
+ positionWatcher(newValue) {
28
+ if (newValue !== undefined && this.widget) {
29
+ if (typeof this.view !== "string") {
30
+ this.view.ui.move(this.childElem, newValue);
31
+ }
32
+ }
33
+ }
34
+ referenceElementWatcher(newValue) {
35
+ componentUtils.referenceElementHelper(this, newValue);
36
+ }
37
+ viewWatcher(newValue) {
38
+ if (newValue !== undefined && this.widget) {
39
+ this.widget.view = newValue;
40
+ }
41
+ }
42
+ //--------------------------------------------------------------------------
43
+ //
44
+ // Lifecycle
45
+ //
46
+ //--------------------------------------------------------------------------
47
+ async componentDidLoad() {
48
+ const params = this._createParams();
49
+ const widget = await index$1.newWidgetsWeather(params);
50
+ this.widget = widget;
51
+ this.widgetReady.emit(true);
52
+ componentUtils.checkForView(this);
53
+ }
54
+ disconnectedCallback() {
55
+ disconnected.onDisconnectedHelper(this);
56
+ }
57
+ render() {
58
+ if (this.expandable) {
59
+ return (index.h("arcgis-expand", { position: this.position, ref: (el) => (this.expandElem = el) }, index.h("div", { ref: (el) => (this.childElem = el) })));
60
+ }
61
+ return index.h("div", { ref: (el) => (this.childElem = el) });
62
+ }
63
+ //--------------------------------------------------------------------------
64
+ //
65
+ // Private Methods
66
+ //
67
+ //--------------------------------------------------------------------------
68
+ _createParams() {
69
+ const params = {
70
+ container: this.childElem
71
+ };
72
+ if (this.view) {
73
+ params.view = this.view;
74
+ }
75
+ return params;
76
+ }
77
+ get el() { return index.getElement(this); }
78
+ static get watchers() { return {
79
+ "position": ["positionWatcher"],
80
+ "referenceElement": ["referenceElementWatcher"],
81
+ "view": ["viewWatcher"]
82
+ }; }
83
+ };
84
+ ArcgisWeather.style = arcgisWeatherCss;
85
+
86
+ exports.arcgis_weather = ArcgisWeather;
@@ -0,0 +1,100 @@
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 arcgisZoomCss = "arcgis-zoom{}";
11
+
12
+ const ArcgisZoom = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ this.widgetReady = index.createEvent(this, "widgetReady", 7);
16
+ this.referenceElement = undefined;
17
+ this.layout = undefined;
18
+ this.view = undefined;
19
+ this.position = "bottom-left";
20
+ this.widget = undefined;
21
+ }
22
+ //--------------------------------------------------------------------------
23
+ //
24
+ // Watchers
25
+ //
26
+ //--------------------------------------------------------------------------
27
+ layoutWatcher(newValue) {
28
+ if (newValue !== undefined && this.widget) {
29
+ this.widget.layout = newValue;
30
+ }
31
+ }
32
+ positionWatcher(newValue) {
33
+ if (newValue !== undefined && this.widget) {
34
+ if (typeof this.view !== "string") {
35
+ this.view.ui.move(this.childElem, newValue);
36
+ }
37
+ }
38
+ }
39
+ referenceElementWatcher(newValue) {
40
+ componentUtils.referenceElementHelper(this, newValue);
41
+ }
42
+ viewWatcher(newValue) {
43
+ if (newValue !== undefined && this.widget) {
44
+ this.widget.view = newValue;
45
+ }
46
+ }
47
+ //--------------------------------------------------------------------------
48
+ //
49
+ // Methods
50
+ //
51
+ //--------------------------------------------------------------------------
52
+ async zoomIn() {
53
+ return this.widget?.zoomIn();
54
+ }
55
+ async zoomOut() {
56
+ return this.widget?.zoomOut();
57
+ }
58
+ //--------------------------------------------------------------------------
59
+ //
60
+ // Lifecycle
61
+ //
62
+ //--------------------------------------------------------------------------
63
+ async componentDidLoad() {
64
+ const params = this._createParams();
65
+ const widget = await index$1.newWidgetsZoom(params);
66
+ this.widget = widget;
67
+ this.widgetReady.emit(true);
68
+ componentUtils.checkForView(this);
69
+ }
70
+ disconnectedCallback() {
71
+ disconnected.onDisconnectedHelper(this);
72
+ }
73
+ render() {
74
+ return index.h("div", { ref: (el) => (this.childElem = el) });
75
+ }
76
+ //--------------------------------------------------------------------------
77
+ //
78
+ // Private Methods
79
+ //
80
+ //--------------------------------------------------------------------------
81
+ _createParams() {
82
+ const params = {
83
+ container: this.childElem
84
+ };
85
+ if (this.view) {
86
+ params.view = this.view;
87
+ }
88
+ return params;
89
+ }
90
+ get el() { return index.getElement(this); }
91
+ static get watchers() { return {
92
+ "layout": ["layoutWatcher"],
93
+ "position": ["positionWatcher"],
94
+ "referenceElement": ["referenceElementWatcher"],
95
+ "view": ["viewWatcher"]
96
+ }; }
97
+ };
98
+ ArcgisZoom.style = arcgisZoomCss;
99
+
100
+ exports.arcgis_zoom = ArcgisZoom;