@arcgis/map-components 4.28.0-beta.17 → 4.28.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 (172) hide show
  1. package/dist/arcgis-map-components/arcgis-map-components.esm.js +1 -1
  2. package/dist/arcgis-map-components/{p-1276eb62.entry.js → p-0242af60.entry.js} +1 -1
  3. package/dist/arcgis-map-components/{p-6609ee7e.entry.js → p-03b5251f.entry.js} +1 -1
  4. package/dist/arcgis-map-components/{p-b1c703e3.entry.js → p-0936e80b.entry.js} +1 -1
  5. package/dist/arcgis-map-components/{p-b0a38600.entry.js → p-13e6a7d8.entry.js} +1 -1
  6. package/dist/arcgis-map-components/{p-6364554a.entry.js → p-13f54a3d.entry.js} +1 -1
  7. package/dist/arcgis-map-components/{p-b2243bb7.entry.js → p-1ad8b180.entry.js} +1 -1
  8. package/dist/arcgis-map-components/{p-0d840d8a.js → p-22fc56c8.js} +1 -1
  9. package/dist/arcgis-map-components/p-33cb8b14.entry.js +1 -0
  10. package/dist/arcgis-map-components/{p-c56960fd.entry.js → p-3c808d29.entry.js} +1 -1
  11. package/dist/arcgis-map-components/{p-30699f92.entry.js → p-3f59a46a.entry.js} +1 -1
  12. package/dist/arcgis-map-components/{p-b00e54a6.entry.js → p-3f877201.entry.js} +1 -1
  13. package/dist/arcgis-map-components/{p-86df43b4.entry.js → p-414430ed.entry.js} +1 -1
  14. package/dist/arcgis-map-components/{p-2fc502aa.entry.js → p-47b01830.entry.js} +1 -1
  15. package/dist/arcgis-map-components/{p-c97b580e.entry.js → p-4a77113b.entry.js} +1 -1
  16. package/dist/arcgis-map-components/{p-277f095a.entry.js → p-4b5deb57.entry.js} +1 -1
  17. package/dist/arcgis-map-components/p-4fe58b25.entry.js +1 -0
  18. package/dist/arcgis-map-components/p-51f8744c.entry.js +1 -0
  19. package/dist/arcgis-map-components/p-5db42e63.entry.js +1 -0
  20. package/dist/arcgis-map-components/{p-7d5d1afb.entry.js → p-5e3d16a0.entry.js} +1 -1
  21. package/dist/arcgis-map-components/p-6408870b.entry.js +1 -0
  22. package/dist/arcgis-map-components/{p-98bd22de.entry.js → p-6749a599.entry.js} +1 -1
  23. package/dist/arcgis-map-components/p-697a71a7.entry.js +1 -0
  24. package/dist/arcgis-map-components/{p-4117bf34.entry.js → p-6b479b72.entry.js} +1 -1
  25. package/dist/arcgis-map-components/{p-127d4102.entry.js → p-6c66cdcb.entry.js} +1 -1
  26. package/dist/arcgis-map-components/{p-179177e6.entry.js → p-7873dbf3.entry.js} +1 -1
  27. package/dist/arcgis-map-components/{p-0a37ebc1.entry.js → p-78e77f3b.entry.js} +1 -1
  28. package/dist/arcgis-map-components/p-89b1cd22.entry.js +1 -0
  29. package/dist/arcgis-map-components/{p-fdcc3045.entry.js → p-8f42c1d8.entry.js} +1 -1
  30. package/dist/arcgis-map-components/{p-3fc12c14.entry.js → p-9e08ec68.entry.js} +1 -1
  31. package/dist/arcgis-map-components/{p-731670a5.entry.js → p-9fde7a15.entry.js} +1 -1
  32. package/dist/arcgis-map-components/{p-08c65582.entry.js → p-a112eadb.entry.js} +1 -1
  33. package/dist/arcgis-map-components/{p-d23633b7.entry.js → p-a89496a7.entry.js} +1 -1
  34. package/dist/arcgis-map-components/{p-b75e9f5b.entry.js → p-acc2e85a.entry.js} +1 -1
  35. package/dist/arcgis-map-components/{p-da3a4c81.entry.js → p-af824cf7.entry.js} +1 -1
  36. package/dist/arcgis-map-components/{p-d23149d2.entry.js → p-b9fd5532.entry.js} +1 -1
  37. package/dist/arcgis-map-components/p-bb953d4e.entry.js +1 -0
  38. package/dist/arcgis-map-components/{p-957785b7.entry.js → p-bd14245a.entry.js} +1 -1
  39. package/dist/arcgis-map-components/{p-a87f8978.entry.js → p-bdd98302.entry.js} +1 -1
  40. package/dist/arcgis-map-components/{p-261995ff.entry.js → p-c657ea3a.entry.js} +1 -1
  41. package/dist/arcgis-map-components/{p-5eefc469.entry.js → p-cb795f29.entry.js} +1 -1
  42. package/dist/arcgis-map-components/{p-63d2e224.entry.js → p-cb8dd459.entry.js} +1 -1
  43. package/dist/arcgis-map-components/{p-7b5802c0.entry.js → p-d94df2de.entry.js} +1 -1
  44. package/dist/arcgis-map-components/{p-79b4b71b.entry.js → p-df745cb2.entry.js} +1 -1
  45. package/dist/arcgis-map-components/{p-8cb11200.entry.js → p-e01bdc7d.entry.js} +1 -1
  46. package/dist/arcgis-map-components/{p-1fefe50e.entry.js → p-e12442a4.entry.js} +1 -1
  47. package/dist/arcgis-map-components/{p-a1b3960f.entry.js → p-e1742407.entry.js} +1 -1
  48. package/dist/arcgis-map-components/{p-f6bfc95a.entry.js → p-f3ec85f2.entry.js} +1 -1
  49. package/dist/arcgis-map-components/{p-dfd70b03.entry.js → p-f6ff546b.entry.js} +1 -1
  50. package/dist/arcgis-map-components/{p-ae817fb1.entry.js → p-fa9fd142.entry.js} +1 -1
  51. package/dist/arcgis-map-components/{p-3de0e8b3.entry.js → p-faf08bf1.entry.js} +1 -1
  52. package/dist/arcgis-map-components/{p-1a619284.entry.js → p-fd06e0e1.entry.js} +1 -1
  53. package/dist/arcgis-map-components/{p-fb566956.entry.js → p-fe144585.entry.js} +1 -1
  54. package/dist/cjs/{arcgis-search.cjs.entry.js → arcgis-basemap-gallery_4.cjs.entry.js} +272 -0
  55. package/dist/cjs/arcgis-map-components.cjs.js +1 -1
  56. package/dist/cjs/index-6b51d5a0.js +2 -6
  57. package/dist/cjs/loader.cjs.js +1 -1
  58. package/dist/components/arcgis-area-measurement-2d.js +1 -1
  59. package/dist/components/arcgis-area-measurement-3d.js +1 -1
  60. package/dist/components/arcgis-basemap-gallery.js +1 -1
  61. package/dist/components/arcgis-basemap-layer-list.js +1 -1
  62. package/dist/components/arcgis-basemap-toggle.js +1 -1
  63. package/dist/components/arcgis-bookmarks.js +1 -1
  64. package/dist/components/arcgis-building-explorer.js +1 -1
  65. package/dist/components/arcgis-compass.js +1 -1
  66. package/dist/components/arcgis-coordinate-conversion.js +1 -1
  67. package/dist/components/arcgis-daylight.js +1 -1
  68. package/dist/components/arcgis-directional-pad.js +1 -1
  69. package/dist/components/arcgis-directions.js +1 -1
  70. package/dist/components/arcgis-directline-measurement-3d.js +1 -1
  71. package/dist/components/arcgis-distance-measurement-2d.js +1 -1
  72. package/dist/components/arcgis-editor.js +1 -1
  73. package/dist/components/arcgis-elevation-profile.js +1 -1
  74. package/dist/components/arcgis-expand2.js +1 -1
  75. package/dist/components/arcgis-feature-table.js +1 -1
  76. package/dist/components/arcgis-feature.js +1 -1
  77. package/dist/components/arcgis-features.js +1 -1
  78. package/dist/components/arcgis-floor-filter.js +1 -1
  79. package/dist/components/arcgis-fullscreen.js +1 -1
  80. package/dist/components/arcgis-home.js +1 -1
  81. package/dist/components/arcgis-layer-list.js +1 -1
  82. package/dist/components/arcgis-legend.js +1 -1
  83. package/dist/components/arcgis-line-of-sight.js +1 -1
  84. package/dist/components/arcgis-locate.js +1 -1
  85. package/dist/components/arcgis-map.js +2 -2
  86. package/dist/components/arcgis-measurement.js +1 -1
  87. package/dist/components/arcgis-navigation-toggle.js +1 -1
  88. package/dist/components/arcgis-print.js +1 -1
  89. package/dist/components/arcgis-scale-bar.js +1 -1
  90. package/dist/components/arcgis-scale-range-slider.js +1 -1
  91. package/dist/components/arcgis-scene.js +2 -2
  92. package/dist/components/arcgis-search.js +1 -1
  93. package/dist/components/arcgis-shadow-cast.js +1 -1
  94. package/dist/components/arcgis-sketch.js +1 -1
  95. package/dist/components/arcgis-slice.js +1 -1
  96. package/dist/components/arcgis-swipe.js +1 -1
  97. package/dist/components/arcgis-table-list.js +1 -1
  98. package/dist/components/arcgis-time-slider.js +1 -1
  99. package/dist/components/arcgis-track.js +1 -1
  100. package/dist/components/arcgis-utility-network-associations.js +1 -1
  101. package/dist/components/arcgis-utility-network-trace.js +1 -1
  102. package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
  103. package/dist/components/arcgis-value-picker.js +1 -1
  104. package/dist/components/arcgis-weather.js +1 -1
  105. package/dist/components/arcgis-zoom.js +1 -1
  106. package/dist/esm/arcgis-area-measurement-2d.entry.js +1 -1
  107. package/dist/esm/arcgis-area-measurement-3d.entry.js +1 -1
  108. package/dist/esm/arcgis-attachments.entry.js +1 -1
  109. package/dist/esm/{arcgis-search.entry.js → arcgis-basemap-gallery_4.entry.js} +271 -2
  110. package/dist/esm/arcgis-basemap-layer-list.entry.js +1 -1
  111. package/dist/esm/arcgis-basemap-toggle.entry.js +1 -1
  112. package/dist/esm/arcgis-bookmarks.entry.js +1 -1
  113. package/dist/esm/arcgis-building-explorer.entry.js +1 -1
  114. package/dist/esm/arcgis-compass.entry.js +1 -1
  115. package/dist/esm/arcgis-coordinate-conversion.entry.js +1 -1
  116. package/dist/esm/arcgis-daylight.entry.js +1 -1
  117. package/dist/esm/arcgis-directional-pad.entry.js +1 -1
  118. package/dist/esm/arcgis-directions.entry.js +1 -1
  119. package/dist/esm/arcgis-directline-measurement-3d.entry.js +1 -1
  120. package/dist/esm/arcgis-distance-measurement-2d.entry.js +1 -1
  121. package/dist/esm/arcgis-editor.entry.js +1 -1
  122. package/dist/esm/arcgis-elevation-profile.entry.js +1 -1
  123. package/dist/esm/arcgis-feature-form.entry.js +1 -1
  124. package/dist/esm/arcgis-feature-table.entry.js +1 -1
  125. package/dist/esm/arcgis-feature-templates.entry.js +1 -1
  126. package/dist/esm/arcgis-feature.entry.js +1 -1
  127. package/dist/esm/arcgis-features.entry.js +1 -1
  128. package/dist/esm/arcgis-floor-filter.entry.js +1 -1
  129. package/dist/esm/arcgis-fullscreen.entry.js +1 -1
  130. package/dist/esm/arcgis-histogram-range-slider.entry.js +1 -1
  131. package/dist/esm/arcgis-histogram.entry.js +1 -1
  132. package/dist/esm/arcgis-home.entry.js +1 -1
  133. package/dist/esm/arcgis-layer-list.entry.js +1 -1
  134. package/dist/esm/arcgis-legend.entry.js +1 -1
  135. package/dist/esm/arcgis-line-of-sight.entry.js +1 -1
  136. package/dist/esm/arcgis-locate.entry.js +1 -1
  137. package/dist/esm/arcgis-map-components.js +1 -1
  138. package/dist/esm/arcgis-measurement.entry.js +1 -1
  139. package/dist/esm/arcgis-navigation-toggle.entry.js +1 -1
  140. package/dist/esm/arcgis-print.entry.js +1 -1
  141. package/dist/esm/arcgis-scale-bar.entry.js +1 -1
  142. package/dist/esm/arcgis-scale-range-slider.entry.js +1 -1
  143. package/dist/esm/arcgis-scene.entry.js +1 -1
  144. package/dist/esm/arcgis-shadow-cast.entry.js +1 -1
  145. package/dist/esm/arcgis-sketch.entry.js +1 -1
  146. package/dist/esm/arcgis-slice.entry.js +1 -1
  147. package/dist/esm/arcgis-slider.entry.js +1 -1
  148. package/dist/esm/arcgis-swipe.entry.js +1 -1
  149. package/dist/esm/arcgis-table-list.entry.js +1 -1
  150. package/dist/esm/arcgis-time-slider.entry.js +1 -1
  151. package/dist/esm/arcgis-track.entry.js +1 -1
  152. package/dist/esm/arcgis-utility-network-associations.entry.js +1 -1
  153. package/dist/esm/arcgis-utility-network-trace.entry.js +1 -1
  154. package/dist/esm/arcgis-utility-network-validate-topology.entry.js +1 -1
  155. package/dist/esm/arcgis-value-picker.entry.js +1 -1
  156. package/dist/esm/arcgis-weather.entry.js +1 -1
  157. package/dist/esm/arcgis-zoom.entry.js +1 -1
  158. package/dist/esm/{index-bba27dab.js → index-800067b5.js} +1 -1
  159. package/dist/esm/index-eb3ead33.js +2 -6
  160. package/dist/esm/loader.js +1 -1
  161. package/package.json +10 -6
  162. package/dist/arcgis-map-components/p-23a160b5.entry.js +0 -1
  163. package/dist/arcgis-map-components/p-36de52a5.entry.js +0 -1
  164. package/dist/arcgis-map-components/p-a0fe6134.entry.js +0 -1
  165. package/dist/arcgis-map-components/p-cb3622cf.entry.js +0 -1
  166. package/dist/arcgis-map-components/p-cec94607.entry.js +0 -1
  167. package/dist/arcgis-map-components/p-cfff222e.entry.js +0 -1
  168. package/dist/arcgis-map-components/p-d0946ed2.entry.js +0 -1
  169. package/dist/arcgis-map-components/p-f08bed17.entry.js +0 -1
  170. package/dist/arcgis-map-components/p-ff66e8db.entry.js +0 -1
  171. package/dist/cjs/arcgis-basemap-gallery_3.cjs.entry.js +0 -281
  172. package/dist/esm/arcgis-basemap-gallery_3.entry.js +0 -275
@@ -100,7 +100,7 @@ const ArcgisScaleBar$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
100
100
  static get style() { return arcgisScaleBarCss; }
101
101
  }, [0, "arcgis-scale-bar", {
102
102
  "referenceElement": [1, "reference-element"],
103
- "view": [16],
103
+ "view": [1040],
104
104
  "position": [1],
105
105
  "expandable": [4],
106
106
  "barStyle": [1, "bar-style"],
@@ -140,7 +140,7 @@ const ArcgisScaleRangeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends
140
140
  static get style() { return arcgisScaleRangeSliderCss; }
141
141
  }, [0, "arcgis-scale-range-slider", {
142
142
  "referenceElement": [1, "reference-element"],
143
- "view": [16],
143
+ "view": [1040],
144
144
  "position": [1],
145
145
  "expandable": [4],
146
146
  "widget": [1040],
@@ -101,8 +101,8 @@ const ArcgisScene$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
101
101
  }, [0, "arcgis-scene", {
102
102
  "apiKey": [1, "api-key"],
103
103
  "itemId": [1, "item-id"],
104
- "zoom": [514],
105
- "center": [513],
104
+ "zoom": [1538],
105
+ "center": [1537],
106
106
  "view": [1040],
107
107
  "disableNavigation": [4, "disable-navigation"]
108
108
  }]);
@@ -296,7 +296,7 @@ const ArcgisSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
296
296
  "suggestionsEnabled": [4, "suggestions-enabled"],
297
297
  "position": [1],
298
298
  "expandable": [4],
299
- "view": [16],
299
+ "view": [1040],
300
300
  "widget": [1040],
301
301
  "blurSearch": [64],
302
302
  "clearSearch": [64],
@@ -89,7 +89,7 @@ const ArcgisShadowCast$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
89
89
  static get style() { return arcgisShadowCastCss; }
90
90
  }, [0, "arcgis-shadow-cast", {
91
91
  "referenceElement": [1, "reference-element"],
92
- "view": [16],
92
+ "view": [1040],
93
93
  "position": [1],
94
94
  "expandable": [4],
95
95
  "widget": [1040],
@@ -207,7 +207,7 @@ const ArcgisSketch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
207
207
  "snappingOptions": [16],
208
208
  "tooltipOptions": [16],
209
209
  "updateGraphics": [1040],
210
- "view": [16],
210
+ "view": [1040],
211
211
  "position": [1],
212
212
  "expandable": [4],
213
213
  "widget": [1040]
@@ -98,7 +98,7 @@ const ArcgisSlice$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
98
98
  }, [0, "arcgis-slice", {
99
99
  "referenceElement": [1, "reference-element"],
100
100
  "analysis": [1040],
101
- "view": [16],
101
+ "view": [1040],
102
102
  "position": [1],
103
103
  "expandable": [4],
104
104
  "widget": [1040],
@@ -115,7 +115,7 @@ const ArcgisSwipe$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
115
115
  "leadingLayers": [16],
116
116
  "swipePosition": [2, "swipe-position"],
117
117
  "trailingLayers": [16],
118
- "view": [16],
118
+ "view": [1040],
119
119
  "position": [1],
120
120
  "widget": [1040]
121
121
  }]);
@@ -116,7 +116,7 @@ const ArcgisTableList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
116
116
  "selectionEnabled": [4, "selection-enabled"],
117
117
  "selectedItems": [1040],
118
118
  "tableItems": [1040],
119
- "view": [16],
119
+ "view": [1040],
120
120
  "position": [1],
121
121
  "expandable": [4],
122
122
  "widget": [1040]
@@ -221,7 +221,7 @@ const ArcgisTimeSlider$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
221
221
  "tickConfigs": [16],
222
222
  "timeExtent": [16],
223
223
  "timeVisible": [4, "time-visible"],
224
- "view": [16],
224
+ "view": [1040],
225
225
  "position": [1],
226
226
  "expandable": [4],
227
227
  "widget": [1040],
@@ -147,7 +147,7 @@ const ArcgisTrack$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
147
147
  "tracking": [1540],
148
148
  "useHeadingEnabled": [4, "use-heading-enabled"],
149
149
  "position": [1],
150
- "view": [16],
150
+ "view": [1040],
151
151
  "widget": [1040]
152
152
  }]);
153
153
  function defineCustomElement$1() {
@@ -227,7 +227,7 @@ const ArcgisUtilityNetworkAssociations$1 = /*@__PURE__*/ proxyCustomElement(clas
227
227
  "showAssociationsEnabled": [4, "show-associations-enabled"],
228
228
  "structuralAttachmentAssociationsLineSymbol": [16],
229
229
  "utilityNetwork": [16],
230
- "view": [16],
230
+ "view": [1040],
231
231
  "position": [1],
232
232
  "expandable": [4],
233
233
  "widget": [1040]
@@ -166,7 +166,7 @@ const ArcgisUtilityNetworkTrace$1 = /*@__PURE__*/ proxyCustomElement(class exten
166
166
  "showSelectionAttributes": [4, "show-selection-attributes"],
167
167
  "position": [1],
168
168
  "expandable": [4],
169
- "view": [16],
169
+ "view": [1040],
170
170
  "widget": [1040],
171
171
  "checkCanTrace": [64],
172
172
  "confirmReset": [64]
@@ -106,7 +106,7 @@ const ArcgisUtilityNetworkValidateTopology$1 = /*@__PURE__*/ proxyCustomElement(
106
106
  "referenceElement": [1, "reference-element"],
107
107
  "extentToValidate": [1, "extent-to-validate"],
108
108
  "utilityNetwork": [16],
109
- "view": [16],
109
+ "view": [1040],
110
110
  "position": [1],
111
111
  "expandable": [4],
112
112
  "widget": [1040]
@@ -154,7 +154,7 @@ const ArcgisValuePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
154
154
  static get style() { return arcgisValuePickerCss; }
155
155
  }, [0, "arcgis-value-picker", {
156
156
  "referenceElement": [1, "reference-element"],
157
- "view": [16],
157
+ "view": [1040],
158
158
  "position": [1],
159
159
  "expandable": [4],
160
160
  "widget": [1040],
@@ -82,7 +82,7 @@ const ArcgisWeather$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
82
82
  "referenceElement": [1, "reference-element"],
83
83
  "position": [1],
84
84
  "expandable": [4],
85
- "view": [16],
85
+ "view": [1040],
86
86
  "widget": [1040]
87
87
  }]);
88
88
  function defineCustomElement$1() {
@@ -94,7 +94,7 @@ const ArcgisZoom$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
94
94
  }, [0, "arcgis-zoom", {
95
95
  "referenceElement": [1, "reference-element"],
96
96
  "layout": [1],
97
- "view": [16],
97
+ "view": [1040],
98
98
  "position": [1],
99
99
  "widget": [1040],
100
100
  "zoomIn": [64],
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { e as newWidgetsAreaMeasurement2D, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { f as newWidgetsAreaMeasurement2D, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { f as newWidgetsAreaMeasurement3D } from './index-bba27dab.js';
2
+ import { g as newWidgetsAreaMeasurement3D } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { g as newWidgetsAttachments } from './index-bba27dab.js';
2
+ import { h as newWidgetsAttachments } from './index-800067b5.js';
3
3
  import { c as checkForExpand, o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
4
4
 
5
5
  const arcgisAttachmentsCss = "";
@@ -1,7 +1,276 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { T as newWidgetsSearch, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { n as newWidgetsBasemapGallery, i as importCoreReactiveUtils, a as newWidgetsExpand, b as importConfig, c as newWebMap, d as newViewsMapView, e as newWidgetsSearch } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
+ import { d as disableNavigation } from './mapping-utils-26beb904.js';
6
+
7
+ const arcgisBasemapGalleryCss = "";
8
+
9
+ const ArcgisBasemapGallery = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
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({ widget: this.widget });
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 getElement(this); }
86
+ static get watchers() { return {
87
+ "position": ["positionWatcher"],
88
+ "referenceElement": ["referenceElementWatcher"],
89
+ "view": ["viewWatcher"]
90
+ }; }
91
+ };
92
+ ArcgisBasemapGallery.style = arcgisBasemapGalleryCss;
93
+
94
+ const arcgisExpandCss = "arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-ui-background)}";
95
+
96
+ const ArcgisExpand = class {
97
+ constructor(hostRef) {
98
+ registerInstance(this, hostRef);
99
+ this.widgetReady = createEvent(this, "widgetReady", 7);
100
+ this.referenceElement = undefined;
101
+ this.position = "top-right";
102
+ this.view = undefined;
103
+ this.widget = undefined;
104
+ }
105
+ //--------------------------------------------------------------------------
106
+ //
107
+ // Watchers
108
+ //
109
+ //--------------------------------------------------------------------------
110
+ positionWatcher(newValue) {
111
+ if (newValue !== undefined && this.widget) {
112
+ if (typeof this.view !== "string") {
113
+ this.view.ui.move(this.childElem, newValue);
114
+ }
115
+ }
116
+ }
117
+ referenceElementWatcher(newValue) {
118
+ referenceElementHelper(this, newValue);
119
+ }
120
+ viewWatcher(newValue) {
121
+ if (newValue !== undefined && this.widget) {
122
+ this.widget.view = newValue;
123
+ }
124
+ }
125
+ //--------------------------------------------------------------------------
126
+ //
127
+ // Lifecycle
128
+ //
129
+ //--------------------------------------------------------------------------
130
+ async componentDidLoad() {
131
+ const widget = await newWidgetsExpand({
132
+ container: this.childElem
133
+ });
134
+ this.widget = widget;
135
+ if (this.view) {
136
+ this.widget.view = this.view;
137
+ }
138
+ this._checkForView();
139
+ }
140
+ disconnectedCallback() {
141
+ onDisconnectedHelper(this);
142
+ }
143
+ render() {
144
+ return h("div", { ref: (el) => (this.childElem = el) });
145
+ }
146
+ //--------------------------------------------------------------------------
147
+ //
148
+ // Private Internal Methods
149
+ //
150
+ //--------------------------------------------------------------------------
151
+ _checkForView() {
152
+ const viewRef = this.el.closest("arcgis-map") || this.el.closest("arcgis-scene");
153
+ if (viewRef?.view) {
154
+ this.view = viewRef.view;
155
+ this.view.ui.add(this.childElem, this.position);
156
+ this.widgetReady.emit({ widget: this.widget });
157
+ }
158
+ else if (viewRef) {
159
+ const handler = () => {
160
+ this.view = viewRef.view;
161
+ this.view.ui.add(this.childElem, this.position);
162
+ this.widgetReady.emit({ widget: this.widget });
163
+ };
164
+ viewRef.addEventListener("viewReady", handler, false);
165
+ }
166
+ }
167
+ get el() { return getElement(this); }
168
+ static get watchers() { return {
169
+ "position": ["positionWatcher"],
170
+ "referenceElement": ["referenceElementWatcher"],
171
+ "view": ["viewWatcher"]
172
+ }; }
173
+ };
174
+ ArcgisExpand.style = arcgisExpandCss;
175
+
176
+ const arcgisMapCss = ".arcgis-map{padding:0;margin:0;height:100%;width:100%}";
177
+
178
+ const ArcgisMap = class {
179
+ constructor(hostRef) {
180
+ registerInstance(this, hostRef);
181
+ this.viewReady = createEvent(this, "viewReady", 7);
182
+ this.apiKey = undefined;
183
+ this.basemap = undefined;
184
+ this.disableNavigation = false;
185
+ this.itemId = undefined;
186
+ this.zoom = undefined;
187
+ this.center = undefined;
188
+ this.view = undefined;
189
+ }
190
+ //--------------------------------------------------------------------------
191
+ //
192
+ // Watchers
193
+ //
194
+ //--------------------------------------------------------------------------
195
+ apiKeyWatcher(value) {
196
+ this.config.apiKey = value;
197
+ }
198
+ itemIdWatcher(value, old) {
199
+ if (value && value !== old) {
200
+ this.loadMap();
201
+ }
202
+ }
203
+ //--------------------------------------------------------------------------
204
+ //
205
+ // Lifecycle
206
+ //
207
+ //--------------------------------------------------------------------------
208
+ async componentWillLoad() {
209
+ this.config = await importConfig();
210
+ if (this.apiKey) {
211
+ this.config.apiKey = this.apiKey;
212
+ }
213
+ await this.loadMap();
214
+ }
215
+ componentDidRender() {
216
+ if (this.view) {
217
+ this.view.container = this.el;
218
+ }
219
+ }
220
+ render() {
221
+ return h("div", { class: "arcgis-map", ref: (el) => (this.el = el) });
222
+ }
223
+ //--------------------------------------------------------------------------
224
+ //
225
+ // Private Methods
226
+ //
227
+ //--------------------------------------------------------------------------
228
+ async loadMap() {
229
+ const mapParams = {};
230
+ if (this.itemId) {
231
+ mapParams.portalItem = {
232
+ id: this.itemId
233
+ };
234
+ }
235
+ if (this.basemap) {
236
+ mapParams.basemap = this.basemap;
237
+ }
238
+ const map = await newWebMap(mapParams);
239
+ const params = {};
240
+ if (this.zoom) {
241
+ params.zoom = this.zoom;
242
+ }
243
+ if (this.center) {
244
+ if (typeof this.center === "string") {
245
+ params.center = this.center.split(",").map((x) => Number(x));
246
+ }
247
+ else {
248
+ params.center = this.center;
249
+ }
250
+ }
251
+ const view = await newViewsMapView({
252
+ map,
253
+ ...params
254
+ });
255
+ const { watch } = await importCoreReactiveUtils();
256
+ this.view = view;
257
+ watch(() => this.view.center, (center) => {
258
+ const value = `${center.longitude},${center.latitude}`;
259
+ this.center = value;
260
+ });
261
+ watch(() => this.view.zoom, (value) => (this.zoom = value));
262
+ if (this.disableNavigation) {
263
+ disableNavigation(this.view);
264
+ }
265
+ this.view.when(() => this.viewReady.emit({ view: this.view }));
266
+ }
267
+ get hostElem() { return getElement(this); }
268
+ static get watchers() { return {
269
+ "apiKey": ["apiKeyWatcher"],
270
+ "itemId": ["itemIdWatcher"]
271
+ }; }
272
+ };
273
+ ArcgisMap.style = arcgisMapCss;
5
274
 
6
275
  const arcgisSearchCss = "";
7
276
 
@@ -269,4 +538,4 @@ const ArcgisSearch = class {
269
538
  };
270
539
  ArcgisSearch.style = arcgisSearchCss;
271
540
 
272
- export { ArcgisSearch as arcgis_search };
541
+ export { ArcgisBasemapGallery as arcgis_basemap_gallery, ArcgisExpand as arcgis_expand, ArcgisMap as arcgis_map, ArcgisSearch as arcgis_search };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { h as newWidgetsBasemapLayerList, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { j as newWidgetsBasemapLayerList, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { j as newWidgetsBasemapToggle, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { k as newWidgetsBasemapToggle, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { k as newWidgetsBookmarks, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { l as newWidgetsBookmarks, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { l as newWidgetsBuildingExplorer } from './index-bba27dab.js';
2
+ import { m as newWidgetsBuildingExplorer } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { m as newWidgetsCompass } from './index-bba27dab.js';
2
+ import { o as newWidgetsCompass } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { o as newWidgetsCoordinateConversion, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { p as newWidgetsCoordinateConversion, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { p as newWidgetsDaylight } from './index-bba27dab.js';
2
+ import { q as newWidgetsDaylight } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { q as newWidgetsDirectionalPad } from './index-bba27dab.js';
2
+ import { r as newWidgetsDirectionalPad } from './index-800067b5.js';
3
3
  import { u as updateForView, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { r as newLayersRouteLayer, s as newWidgetsDirections, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { s as newLayersRouteLayer, t as newWidgetsDirections, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { t as newWidgetsDirectLineMeasurement3D, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { u as newWidgetsDirectLineMeasurement3D, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { u as newWidgetsDistanceMeasurement2D } from './index-bba27dab.js';
2
+ import { v as newWidgetsDistanceMeasurement2D } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { v as newWidgetsEditor, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { w as newWidgetsEditor, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { w as newWidgetsElevationProfile } from './index-bba27dab.js';
2
+ import { x as newWidgetsElevationProfile } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, g as getElement } from './index-eb3ead33.js';
2
- import { y as newWidgetsFeatureForm } from './index-bba27dab.js';
2
+ import { z as newWidgetsFeatureForm } from './index-800067b5.js';
3
3
 
4
4
  const arcgisFeatureFormCss = "";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { z as newLayersFeatureLayer, A as newWidgetsFeatureTable, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { A as newLayersFeatureLayer, B as newWidgetsFeatureTable, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { B as newWidgetsFeatureTemplates } from './index-bba27dab.js';
2
+ import { C as newWidgetsFeatureTemplates } from './index-800067b5.js';
3
3
  import { c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { x as newWidgetsFeature } from './index-bba27dab.js';
2
+ import { y as newWidgetsFeature } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { C as newWidgetsFeatures, i as importCoreReactiveUtils } from './index-bba27dab.js';
2
+ import { D as newWidgetsFeatures, i as importCoreReactiveUtils } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-eb3ead33.js';
2
- import { D as newWidgetsFloorFilter } from './index-bba27dab.js';
2
+ import { E as newWidgetsFloorFilter } from './index-800067b5.js';
3
3
  import { r as referenceElementHelper, c as checkForView } from './component-utils-2ebdae59.js';
4
4
  import { o as onDisconnectedHelper } from './disconnected-bc5fc8bc.js';
5
5