@arcgis/map-components-react 4.33.0-next.1 → 4.33.0-next.100
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.
- package/README.md +61 -3
- package/dist/components.d.ts +49 -8
- package/dist/components.js +35 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# ArcGIS Maps SDK for JavaScript - React wrapper for Map Components
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Note: `@arcgis/map-components-react` was developed for use in React 18. Consider updating to React 19 where the React wrapper is no longer necessary. Check out the [documentation](https://developers.arcgis.com/javascript/latest/get-started-react/) to get started with `@arcgis/map-components` in React 19.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The ArcGIS Maps SDK for JavaScript provides a suite of ready-to-use UI components that simplify the process of creating GIS web applications. This package contains a map component, scene component, and many other components with functionality made possible through the SDK's core API which is also accessible through the components.
|
|
6
6
|
|
|
7
7
|
## Documentation
|
|
8
8
|
|
|
@@ -20,11 +20,69 @@ Samples for how to use this package are available on github in the [jsapi-resour
|
|
|
20
20
|
- [Licensing](https://developers.arcgis.com/javascript/latest/licensing/)
|
|
21
21
|
- [Working with `next` versions](https://github.com/Esri/feedback-js-api-next/blob/main/README.md)
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Support
|
|
24
24
|
|
|
25
25
|
- General questions about using this package or the ArcGIS Maps SDK for JavaScript? See the [Esri developer community](https://community.esri.com/t5/arcgis-api-for-javascript/ct-p/arcgis-api-for-javascript).
|
|
26
26
|
- [Technical support](https://support.esri.com/).
|
|
27
27
|
|
|
28
|
+
## Quick start guide
|
|
29
|
+
|
|
30
|
+
- Get started by using the [react 18 sample](https://developers.arcgis.com/javascript/latest/get-started-react/#download-project).
|
|
31
|
+
- Install the required packages: `@arcgis/map-components-react`, `@arcgis/core`, `@esri/calcite-components-react`.
|
|
32
|
+
- Import the necessary CSS files in your project and ensure CSS is configured for the map components:
|
|
33
|
+
|
|
34
|
+
```js
|
|
35
|
+
@import 'https://js.arcgis.com/4.31/@arcgis/core/assets/esri/themes/dark/main.css';
|
|
36
|
+
@import url("https://js.arcgis.com/calcite-components/2.3.2/calcite.css");
|
|
37
|
+
|
|
38
|
+
#root,
|
|
39
|
+
html,
|
|
40
|
+
body {
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
arcgis-map {
|
|
45
|
+
display: block;
|
|
46
|
+
height: 100vh;
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- Add map component: In your main file (e.g., index.tsx), add the `ArcgisMap` component and configure it with an optional `item-id` if using a WebMap from ArcGIS Online or an ArcGIS Enterprise portal:
|
|
51
|
+
|
|
52
|
+
```js
|
|
53
|
+
import React from "react";
|
|
54
|
+
import ReactDOM from "react-dom/client";
|
|
55
|
+
import "@arcgis/map-components/components/arcgis-map";
|
|
56
|
+
import "@arcgis/map-components/components/arcgis-zoom";
|
|
57
|
+
import { ArcgisMap, ArcgisZoom } from "@arcgis/map-components-react";
|
|
58
|
+
|
|
59
|
+
const root = ReactDOM.createRoot(document.getElementById("root"));
|
|
60
|
+
root.render(
|
|
61
|
+
<React.StrictMode>
|
|
62
|
+
<ArcgisMap itemId="your-webmap-item-id"></ArcgisMap>
|
|
63
|
+
</React.StrictMode>,
|
|
64
|
+
);
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
- Add additional functionality: To your map, you could set properties and use events like `onArcgisViewReadyChange` to detect when the map view is ready, and implement custom JavaScript logic using the core API. For example, you can add the `ArcgisZoom` component and listen for view changes:
|
|
68
|
+
|
|
69
|
+
```js
|
|
70
|
+
root.render(
|
|
71
|
+
<React.StrictMode>
|
|
72
|
+
<ArcgisMap
|
|
73
|
+
itemId="your-webmap-item-id"
|
|
74
|
+
onArcgisViewReadyChange={(event: CustomEvent) => {
|
|
75
|
+
console.log("MapView ready", event);
|
|
76
|
+
}}
|
|
77
|
+
>
|
|
78
|
+
<ArcgisZoom position="top-left"></ArcgisZoom>
|
|
79
|
+
</ArcgisMap>
|
|
80
|
+
</React.StrictMode>
|
|
81
|
+
);
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Alternatively, an [example](https://github.com/Esri/jsapi-resources/tree/50579b9362b846e869a343b660c5a2415176a275/component-samples/map-components/samples/react) is available from the 4.31 release in the jsapi-resources repo.
|
|
85
|
+
|
|
28
86
|
## License
|
|
29
87
|
|
|
30
88
|
COPYRIGHT © 2025 Esri
|
package/dist/components.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const ArcgisBasemapGallery: import("@lit/react").ReactWebComponen
|
|
|
27
27
|
export declare const ArcgisBasemapLayerList: import("@lit/react").ReactWebComponent<HTMLArcgisBasemapLayerListElement & {
|
|
28
28
|
class?: string;
|
|
29
29
|
}, {
|
|
30
|
+
onArcgisClose: EventName<HTMLArcgisBasemapLayerListElement["arcgisClose"]>;
|
|
30
31
|
onArcgisPropertyChange: EventName<HTMLArcgisBasemapLayerListElement["arcgisPropertyChange"]>;
|
|
31
32
|
onArcgisReady: EventName<HTMLArcgisBasemapLayerListElement["arcgisReady"]>;
|
|
32
33
|
onArcgisTriggerAction: EventName<HTMLArcgisBasemapLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -40,6 +41,7 @@ export declare const ArcgisBasemapToggle: import("@lit/react").ReactWebComponent
|
|
|
40
41
|
export declare const ArcgisBookmarks: import("@lit/react").ReactWebComponent<HTMLArcgisBookmarksElement & {
|
|
41
42
|
class?: string;
|
|
42
43
|
}, {
|
|
44
|
+
onArcgisClose: EventName<HTMLArcgisBookmarksElement["arcgisClose"]>;
|
|
43
45
|
onArcgisEdit: EventName<HTMLArcgisBookmarksElement["arcgisEdit"]>;
|
|
44
46
|
onArcgisPropertyChange: EventName<HTMLArcgisBookmarksElement["arcgisPropertyChange"]>;
|
|
45
47
|
onArcgisReady: EventName<HTMLArcgisBookmarksElement["arcgisReady"]>;
|
|
@@ -54,6 +56,7 @@ export declare const ArcgisBuildingExplorer: import("@lit/react").ReactWebCompon
|
|
|
54
56
|
export declare const ArcgisCatalogLayerList: import("@lit/react").ReactWebComponent<HTMLArcgisCatalogLayerListElement & {
|
|
55
57
|
class?: string;
|
|
56
58
|
}, {
|
|
59
|
+
onArcgisClose: EventName<HTMLArcgisCatalogLayerListElement["arcgisClose"]>;
|
|
57
60
|
onArcgisPropertyChange: EventName<HTMLArcgisCatalogLayerListElement["arcgisPropertyChange"]>;
|
|
58
61
|
onArcgisReady: EventName<HTMLArcgisCatalogLayerListElement["arcgisReady"]>;
|
|
59
62
|
onArcgisTriggerAction: EventName<HTMLArcgisCatalogLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -152,6 +155,7 @@ export declare const ArcgisFeatureTemplates: import("@lit/react").ReactWebCompon
|
|
|
152
155
|
export declare const ArcgisFeatures: import("@lit/react").ReactWebComponent<HTMLArcgisFeaturesElement & {
|
|
153
156
|
class?: string;
|
|
154
157
|
}, {
|
|
158
|
+
onArcgisClose: EventName<HTMLArcgisFeaturesElement["arcgisClose"]>;
|
|
155
159
|
onArcgisPropertyChange: EventName<HTMLArcgisFeaturesElement["arcgisPropertyChange"]>;
|
|
156
160
|
onArcgisReady: EventName<HTMLArcgisFeaturesElement["arcgisReady"]>;
|
|
157
161
|
onArcgisTriggerAction: EventName<HTMLArcgisFeaturesElement["arcgisTriggerAction"]>;
|
|
@@ -167,11 +171,11 @@ export declare const ArcgisFullscreen: import("@lit/react").ReactWebComponent<HT
|
|
|
167
171
|
onArcgisPropertyChange: EventName<HTMLArcgisFullscreenElement["arcgisPropertyChange"]>;
|
|
168
172
|
onArcgisReady: EventName<HTMLArcgisFullscreenElement["arcgisReady"]>;
|
|
169
173
|
}>;
|
|
170
|
-
export declare const
|
|
174
|
+
export declare const ArcgisGridControls: import("@lit/react").ReactWebComponent<HTMLArcgisGridControlsElement & {
|
|
171
175
|
class?: string;
|
|
172
176
|
}, {
|
|
173
|
-
onArcgisPropertyChange: EventName<
|
|
174
|
-
onArcgisReady: EventName<
|
|
177
|
+
onArcgisPropertyChange: EventName<HTMLArcgisGridControlsElement["arcgisPropertyChange"]>;
|
|
178
|
+
onArcgisReady: EventName<HTMLArcgisGridControlsElement["arcgisReady"]>;
|
|
175
179
|
}>;
|
|
176
180
|
export declare const ArcgisHistogramRangeSlider: import("@lit/react").ReactWebComponent<HTMLArcgisHistogramRangeSliderElement & {
|
|
177
181
|
class?: string;
|
|
@@ -189,10 +193,16 @@ export declare const ArcgisHome: import("@lit/react").ReactWebComponent<HTMLArcg
|
|
|
189
193
|
export declare const ArcgisLayerList: import("@lit/react").ReactWebComponent<HTMLArcgisLayerListElement & {
|
|
190
194
|
class?: string;
|
|
191
195
|
}, {
|
|
196
|
+
onArcgisClose: EventName<HTMLArcgisLayerListElement["arcgisClose"]>;
|
|
192
197
|
onArcgisPropertyChange: EventName<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
193
198
|
onArcgisReady: EventName<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
194
199
|
onArcgisTriggerAction: EventName<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
195
200
|
}>;
|
|
201
|
+
export declare const ArcgisLayerListItem: import("@lit/react").ReactWebComponent<HTMLArcgisLayerListItemElement & {
|
|
202
|
+
class?: string;
|
|
203
|
+
}, {
|
|
204
|
+
onArcgisPropertyChange: EventName<HTMLArcgisLayerListItemElement["arcgisPropertyChange"]>;
|
|
205
|
+
}>;
|
|
196
206
|
export declare const ArcgisLegend: import("@lit/react").ReactWebComponent<HTMLArcgisLegendElement & {
|
|
197
207
|
class?: string;
|
|
198
208
|
}, {
|
|
@@ -228,6 +238,13 @@ export declare const ArcgisLinkChart: import("@lit/react").ReactWebComponent<HTM
|
|
|
228
238
|
onArcgisViewPointerUp: EventName<HTMLArcgisLinkChartElement["arcgisViewPointerUp"]>;
|
|
229
239
|
onArcgisViewReadyChange: EventName<HTMLArcgisLinkChartElement["arcgisViewReadyChange"]>;
|
|
230
240
|
}>;
|
|
241
|
+
export declare const ArcgisLinkChartLayoutSwitcher: import("@lit/react").ReactWebComponent<HTMLArcgisLinkChartLayoutSwitcherElement & {
|
|
242
|
+
class?: string;
|
|
243
|
+
}, {
|
|
244
|
+
onArcgisPropertyChange: EventName<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisPropertyChange"]>;
|
|
245
|
+
onArcgisReady: EventName<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisReady"]>;
|
|
246
|
+
onArcgisSwitchLayout: EventName<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisSwitchLayout"]>;
|
|
247
|
+
}>;
|
|
231
248
|
export declare const ArcgisLocate: import("@lit/react").ReactWebComponent<HTMLArcgisLocateElement & {
|
|
232
249
|
class?: string;
|
|
233
250
|
}, {
|
|
@@ -327,17 +344,20 @@ export declare const ArcgisScene: import("@lit/react").ReactWebComponent<HTMLArc
|
|
|
327
344
|
export declare const ArcgisSearch: import("@lit/react").ReactWebComponent<HTMLArcgisSearchElement & {
|
|
328
345
|
class?: string;
|
|
329
346
|
}, {
|
|
330
|
-
onArcgisBlur: EventName<HTMLArcgisSearchElement["arcgisBlur"]>;
|
|
331
|
-
onArcgisClear: EventName<HTMLArcgisSearchElement["arcgisClear"]>;
|
|
332
|
-
onArcgisComplete: EventName<HTMLArcgisSearchElement["arcgisComplete"]>;
|
|
333
|
-
onArcgisFocus: EventName<HTMLArcgisSearchElement["arcgisFocus"]>;
|
|
334
347
|
onArcgisPropertyChange: EventName<HTMLArcgisSearchElement["arcgisPropertyChange"]>;
|
|
335
348
|
onArcgisReady: EventName<HTMLArcgisSearchElement["arcgisReady"]>;
|
|
349
|
+
onArcgisSearchClear: EventName<HTMLArcgisSearchElement["arcgisSearchClear"]>;
|
|
350
|
+
onArcgisSearchComplete: EventName<HTMLArcgisSearchElement["arcgisSearchComplete"]>;
|
|
351
|
+
onArcgisSearchStart: EventName<HTMLArcgisSearchElement["arcgisSearchStart"]>;
|
|
336
352
|
onArcgisSelectResult: EventName<HTMLArcgisSearchElement["arcgisSelectResult"]>;
|
|
337
|
-
onArcgisStart: EventName<HTMLArcgisSearchElement["arcgisStart"]>;
|
|
338
353
|
onArcgisSuggestComplete: EventName<HTMLArcgisSearchElement["arcgisSuggestComplete"]>;
|
|
339
354
|
onArcgisSuggestStart: EventName<HTMLArcgisSearchElement["arcgisSuggestStart"]>;
|
|
340
355
|
}>;
|
|
356
|
+
export declare const ArcgisSearchResultRenderer: import("@lit/react").ReactWebComponent<HTMLArcgisSearchResultRendererElement & {
|
|
357
|
+
class?: string;
|
|
358
|
+
}, {
|
|
359
|
+
onArcgisReady: EventName<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
360
|
+
}>;
|
|
341
361
|
export declare const ArcgisShadowCast: import("@lit/react").ReactWebComponent<HTMLArcgisShadowCastElement & {
|
|
342
362
|
class?: string;
|
|
343
363
|
}, {
|
|
@@ -387,6 +407,7 @@ export declare const ArcgisSwipe: import("@lit/react").ReactWebComponent<HTMLArc
|
|
|
387
407
|
export declare const ArcgisTableList: import("@lit/react").ReactWebComponent<HTMLArcgisTableListElement & {
|
|
388
408
|
class?: string;
|
|
389
409
|
}, {
|
|
410
|
+
onArcgisClose: EventName<HTMLArcgisTableListElement["arcgisClose"]>;
|
|
390
411
|
onArcgisPropertyChange: EventName<HTMLArcgisTableListElement["arcgisPropertyChange"]>;
|
|
391
412
|
onArcgisReady: EventName<HTMLArcgisTableListElement["arcgisReady"]>;
|
|
392
413
|
onArcgisTriggerAction: EventName<HTMLArcgisTableListElement["arcgisTriggerAction"]>;
|
|
@@ -398,6 +419,12 @@ export declare const ArcgisTimeSlider: import("@lit/react").ReactWebComponent<HT
|
|
|
398
419
|
onArcgisReady: EventName<HTMLArcgisTimeSliderElement["arcgisReady"]>;
|
|
399
420
|
onArcgisTriggerAction: EventName<HTMLArcgisTimeSliderElement["arcgisTriggerAction"]>;
|
|
400
421
|
}>;
|
|
422
|
+
export declare const ArcgisTimeZoneLabel: import("@lit/react").ReactWebComponent<HTMLArcgisTimeZoneLabelElement & {
|
|
423
|
+
class?: string;
|
|
424
|
+
}, {
|
|
425
|
+
onArcgisPropertyChange: EventName<HTMLArcgisTimeZoneLabelElement["arcgisPropertyChange"]>;
|
|
426
|
+
onArcgisReady: EventName<HTMLArcgisTimeZoneLabelElement["arcgisReady"]>;
|
|
427
|
+
}>;
|
|
401
428
|
export declare const ArcgisTrack: import("@lit/react").ReactWebComponent<HTMLArcgisTrackElement & {
|
|
402
429
|
class?: string;
|
|
403
430
|
}, {
|
|
@@ -418,12 +445,14 @@ export declare const ArcgisUtilityNetworkTrace: import("@lit/react").ReactWebCom
|
|
|
418
445
|
onArcgisAddFlagComplete: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddFlagComplete"]>;
|
|
419
446
|
onArcgisAddFlagError: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddFlagError"]>;
|
|
420
447
|
onArcgisAddResultArea: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddResultArea"]>;
|
|
448
|
+
onArcgisPropertyChange: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisPropertyChange"]>;
|
|
421
449
|
onArcgisReady: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisReady"]>;
|
|
422
450
|
onArcgisRemoveResultArea: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisRemoveResultArea"]>;
|
|
423
451
|
}>;
|
|
424
452
|
export declare const ArcgisUtilityNetworkValidateTopology: import("@lit/react").ReactWebComponent<HTMLArcgisUtilityNetworkValidateTopologyElement & {
|
|
425
453
|
class?: string;
|
|
426
454
|
}, {
|
|
455
|
+
onArcgisPropertyChange: EventName<HTMLArcgisUtilityNetworkValidateTopologyElement["arcgisPropertyChange"]>;
|
|
427
456
|
onArcgisReady: EventName<HTMLArcgisUtilityNetworkValidateTopologyElement["arcgisReady"]>;
|
|
428
457
|
}>;
|
|
429
458
|
export declare const ArcgisValuePicker: import("@lit/react").ReactWebComponent<HTMLArcgisValuePickerElement & {
|
|
@@ -443,6 +472,18 @@ export declare const ArcgisVersionManagement: import("@lit/react").ReactWebCompo
|
|
|
443
472
|
onArcgisReady: EventName<HTMLArcgisVersionManagementElement["arcgisReady"]>;
|
|
444
473
|
onArcgisVersioningStateChanged: EventName<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
445
474
|
}>;
|
|
475
|
+
export declare const ArcgisVideo: import("@lit/react").ReactWebComponent<HTMLArcgisVideoElement & {
|
|
476
|
+
class?: string;
|
|
477
|
+
}, {
|
|
478
|
+
onArcgisViewReadyChange: EventName<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
479
|
+
}>;
|
|
480
|
+
export declare const ArcgisVideoPlayer: import("@lit/react").ReactWebComponent<HTMLArcgisVideoPlayerElement & {
|
|
481
|
+
class?: string;
|
|
482
|
+
}, {
|
|
483
|
+
onArcgisPropertyChange: EventName<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
484
|
+
onArcgisReady: EventName<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
485
|
+
onArcgisVideoReady: EventName<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
|
486
|
+
}>;
|
|
446
487
|
export declare const ArcgisWeather: import("@lit/react").ReactWebComponent<HTMLArcgisWeatherElement & {
|
|
447
488
|
class?: string;
|
|
448
489
|
}, {
|
package/dist/components.js
CHANGED
|
@@ -20,6 +20,7 @@ export const ArcgisBasemapGallery = /*@__PURE__*/ createWrapper(getReactWrapperO
|
|
|
20
20
|
onArcgisReady: "arcgisReady",
|
|
21
21
|
}));
|
|
22
22
|
export const ArcgisBasemapLayerList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-basemap-layer-list", {
|
|
23
|
+
onArcgisClose: "arcgisClose",
|
|
23
24
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
24
25
|
onArcgisReady: "arcgisReady",
|
|
25
26
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -29,6 +30,7 @@ export const ArcgisBasemapToggle = /*@__PURE__*/ createWrapper(getReactWrapperOp
|
|
|
29
30
|
onArcgisReady: "arcgisReady",
|
|
30
31
|
}));
|
|
31
32
|
export const ArcgisBookmarks = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-bookmarks", {
|
|
33
|
+
onArcgisClose: "arcgisClose",
|
|
32
34
|
onArcgisEdit: "arcgisEdit",
|
|
33
35
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
34
36
|
onArcgisReady: "arcgisReady",
|
|
@@ -39,6 +41,7 @@ export const ArcgisBuildingExplorer = /*@__PURE__*/ createWrapper(getReactWrappe
|
|
|
39
41
|
onArcgisReady: "arcgisReady",
|
|
40
42
|
}));
|
|
41
43
|
export const ArcgisCatalogLayerList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-catalog-layer-list", {
|
|
44
|
+
onArcgisClose: "arcgisClose",
|
|
42
45
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
43
46
|
onArcgisReady: "arcgisReady",
|
|
44
47
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -107,6 +110,7 @@ export const ArcgisFeatureTemplates = /*@__PURE__*/ createWrapper(getReactWrappe
|
|
|
107
110
|
onArcgisSelect: "arcgisSelect",
|
|
108
111
|
}));
|
|
109
112
|
export const ArcgisFeatures = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-features", {
|
|
113
|
+
onArcgisClose: "arcgisClose",
|
|
110
114
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
111
115
|
onArcgisReady: "arcgisReady",
|
|
112
116
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -118,7 +122,7 @@ export const ArcgisFullscreen = /*@__PURE__*/ createWrapper(getReactWrapperOptio
|
|
|
118
122
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
119
123
|
onArcgisReady: "arcgisReady",
|
|
120
124
|
}));
|
|
121
|
-
export const
|
|
125
|
+
export const ArcgisGridControls = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-grid-controls", {
|
|
122
126
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
123
127
|
onArcgisReady: "arcgisReady",
|
|
124
128
|
}));
|
|
@@ -132,10 +136,14 @@ export const ArcgisHome = /*@__PURE__*/ createWrapper(getReactWrapperOptions("ar
|
|
|
132
136
|
onArcgisReady: "arcgisReady",
|
|
133
137
|
}));
|
|
134
138
|
export const ArcgisLayerList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-layer-list", {
|
|
139
|
+
onArcgisClose: "arcgisClose",
|
|
135
140
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
136
141
|
onArcgisReady: "arcgisReady",
|
|
137
142
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
138
143
|
}));
|
|
144
|
+
export const ArcgisLayerListItem = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-layer-list-item", {
|
|
145
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
146
|
+
}));
|
|
139
147
|
export const ArcgisLegend = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-legend", {
|
|
140
148
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
141
149
|
onArcgisReady: "arcgisReady",
|
|
@@ -165,6 +173,11 @@ export const ArcgisLinkChart = /*@__PURE__*/ createWrapper(getReactWrapperOption
|
|
|
165
173
|
onArcgisViewPointerUp: "arcgisViewPointerUp",
|
|
166
174
|
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
167
175
|
}));
|
|
176
|
+
export const ArcgisLinkChartLayoutSwitcher = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-link-chart-layout-switcher", {
|
|
177
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
178
|
+
onArcgisReady: "arcgisReady",
|
|
179
|
+
onArcgisSwitchLayout: "arcgisSwitchLayout",
|
|
180
|
+
}));
|
|
168
181
|
export const ArcgisLocate = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-locate", {
|
|
169
182
|
onArcgisError: "arcgisError",
|
|
170
183
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
@@ -242,17 +255,18 @@ export const ArcgisScene = /*@__PURE__*/ createWrapper(getReactWrapperOptions("a
|
|
|
242
255
|
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
243
256
|
}));
|
|
244
257
|
export const ArcgisSearch = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-search", {
|
|
245
|
-
onArcgisBlur: "arcgisBlur",
|
|
246
|
-
onArcgisClear: "arcgisClear",
|
|
247
|
-
onArcgisComplete: "arcgisComplete",
|
|
248
|
-
onArcgisFocus: "arcgisFocus",
|
|
249
258
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
250
259
|
onArcgisReady: "arcgisReady",
|
|
260
|
+
onArcgisSearchClear: "arcgisSearchClear",
|
|
261
|
+
onArcgisSearchComplete: "arcgisSearchComplete",
|
|
262
|
+
onArcgisSearchStart: "arcgisSearchStart",
|
|
251
263
|
onArcgisSelectResult: "arcgisSelectResult",
|
|
252
|
-
onArcgisStart: "arcgisStart",
|
|
253
264
|
onArcgisSuggestComplete: "arcgisSuggestComplete",
|
|
254
265
|
onArcgisSuggestStart: "arcgisSuggestStart",
|
|
255
266
|
}));
|
|
267
|
+
export const ArcgisSearchResultRenderer = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-search-result-renderer", {
|
|
268
|
+
onArcgisReady: "arcgisReady",
|
|
269
|
+
}));
|
|
256
270
|
export const ArcgisShadowCast = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-shadow-cast", {
|
|
257
271
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
258
272
|
onArcgisReady: "arcgisReady",
|
|
@@ -290,6 +304,7 @@ export const ArcgisSwipe = /*@__PURE__*/ createWrapper(getReactWrapperOptions("a
|
|
|
290
304
|
onArcgisReady: "arcgisReady",
|
|
291
305
|
}));
|
|
292
306
|
export const ArcgisTableList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-table-list", {
|
|
307
|
+
onArcgisClose: "arcgisClose",
|
|
293
308
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
294
309
|
onArcgisReady: "arcgisReady",
|
|
295
310
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -299,6 +314,10 @@ export const ArcgisTimeSlider = /*@__PURE__*/ createWrapper(getReactWrapperOptio
|
|
|
299
314
|
onArcgisReady: "arcgisReady",
|
|
300
315
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
301
316
|
}));
|
|
317
|
+
export const ArcgisTimeZoneLabel = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-time-zone-label", {
|
|
318
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
319
|
+
onArcgisReady: "arcgisReady",
|
|
320
|
+
}));
|
|
302
321
|
export const ArcgisTrack = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-track", {
|
|
303
322
|
onArcgisComplete: "arcgisComplete",
|
|
304
323
|
onArcgisError: "arcgisError",
|
|
@@ -313,10 +332,12 @@ export const ArcgisUtilityNetworkTrace = /*@__PURE__*/ createWrapper(getReactWra
|
|
|
313
332
|
onArcgisAddFlagComplete: "arcgisAddFlagComplete",
|
|
314
333
|
onArcgisAddFlagError: "arcgisAddFlagError",
|
|
315
334
|
onArcgisAddResultArea: "arcgisAddResultArea",
|
|
335
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
316
336
|
onArcgisReady: "arcgisReady",
|
|
317
337
|
onArcgisRemoveResultArea: "arcgisRemoveResultArea",
|
|
318
338
|
}));
|
|
319
339
|
export const ArcgisUtilityNetworkValidateTopology = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-utility-network-validate-topology", {
|
|
340
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
320
341
|
onArcgisReady: "arcgisReady",
|
|
321
342
|
}));
|
|
322
343
|
export const ArcgisValuePicker = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-value-picker", {
|
|
@@ -332,6 +353,14 @@ export const ArcgisVersionManagement = /*@__PURE__*/ createWrapper(getReactWrapp
|
|
|
332
353
|
onArcgisReady: "arcgisReady",
|
|
333
354
|
onArcgisVersioningStateChanged: "arcgisVersioningStateChanged",
|
|
334
355
|
}));
|
|
356
|
+
export const ArcgisVideo = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-video", {
|
|
357
|
+
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
358
|
+
}));
|
|
359
|
+
export const ArcgisVideoPlayer = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-video-player", {
|
|
360
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
361
|
+
onArcgisReady: "arcgisReady",
|
|
362
|
+
onArcgisVideoReady: "arcgisVideoReady",
|
|
363
|
+
}));
|
|
335
364
|
export const ArcgisWeather = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-weather", {
|
|
336
365
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
337
366
|
onArcgisReady: "arcgisReady",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components-react",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.100",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS map components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "SEE LICENSE.md",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@arcgis/map-components": "4.33.0-next.
|
|
33
|
-
"@esri/calcite-components": "
|
|
32
|
+
"@arcgis/map-components": "4.33.0-next.100",
|
|
33
|
+
"@esri/calcite-components": "^3.2.0-next.15",
|
|
34
34
|
"@lit/react": "^1.0.5",
|
|
35
35
|
"tslib": "^2.7.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@arcgis/core": ">=4.
|
|
38
|
+
"@arcgis/core": ">=4.33.0-next <4.34",
|
|
39
39
|
"react": ">=18.0.0 <19.0.0",
|
|
40
40
|
"react-dom": ">=18.0.0 <19.0.0"
|
|
41
41
|
}
|