@arcgis/map-components-react 4.33.0-next.16 → 4.33.0-next.160
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 +47 -8
- package/dist/components.js +35 -6
- package/package.json +7 -7
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"]>;
|
|
@@ -74,6 +77,7 @@ export declare const ArcgisDaylight: import("@lit/react").ReactWebComponent<HTML
|
|
|
74
77
|
class?: string;
|
|
75
78
|
}, {
|
|
76
79
|
onArcgisReady: EventName<HTMLArcgisDaylightElement["arcgisReady"]>;
|
|
80
|
+
onArcgisUserDateTimeChange: EventName<HTMLArcgisDaylightElement["arcgisUserDateTimeChange"]>;
|
|
77
81
|
}>;
|
|
78
82
|
export declare const ArcgisDirectionalPad: import("@lit/react").ReactWebComponent<HTMLArcgisDirectionalPadElement & {
|
|
79
83
|
class?: string;
|
|
@@ -87,6 +91,12 @@ export declare const ArcgisDirections: import("@lit/react").ReactWebComponent<HT
|
|
|
87
91
|
onArcgisPropertyChange: EventName<HTMLArcgisDirectionsElement["arcgisPropertyChange"]>;
|
|
88
92
|
onArcgisReady: EventName<HTMLArcgisDirectionsElement["arcgisReady"]>;
|
|
89
93
|
}>;
|
|
94
|
+
export declare const ArcgisDirectLineMeasurement3d: import("@lit/react").ReactWebComponent<HTMLArcgisDirectLineMeasurement3dElement & {
|
|
95
|
+
class?: string;
|
|
96
|
+
}, {
|
|
97
|
+
onArcgisPropertyChange: EventName<HTMLArcgisDirectLineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
98
|
+
onArcgisReady: EventName<HTMLArcgisDirectLineMeasurement3dElement["arcgisReady"]>;
|
|
99
|
+
}>;
|
|
90
100
|
export declare const ArcgisDirectlineMeasurement3d: import("@lit/react").ReactWebComponent<HTMLArcgisDirectlineMeasurement3dElement & {
|
|
91
101
|
class?: string;
|
|
92
102
|
}, {
|
|
@@ -152,6 +162,7 @@ export declare const ArcgisFeatureTemplates: import("@lit/react").ReactWebCompon
|
|
|
152
162
|
export declare const ArcgisFeatures: import("@lit/react").ReactWebComponent<HTMLArcgisFeaturesElement & {
|
|
153
163
|
class?: string;
|
|
154
164
|
}, {
|
|
165
|
+
onArcgisClose: EventName<HTMLArcgisFeaturesElement["arcgisClose"]>;
|
|
155
166
|
onArcgisPropertyChange: EventName<HTMLArcgisFeaturesElement["arcgisPropertyChange"]>;
|
|
156
167
|
onArcgisReady: EventName<HTMLArcgisFeaturesElement["arcgisReady"]>;
|
|
157
168
|
onArcgisTriggerAction: EventName<HTMLArcgisFeaturesElement["arcgisTriggerAction"]>;
|
|
@@ -167,11 +178,11 @@ export declare const ArcgisFullscreen: import("@lit/react").ReactWebComponent<HT
|
|
|
167
178
|
onArcgisPropertyChange: EventName<HTMLArcgisFullscreenElement["arcgisPropertyChange"]>;
|
|
168
179
|
onArcgisReady: EventName<HTMLArcgisFullscreenElement["arcgisReady"]>;
|
|
169
180
|
}>;
|
|
170
|
-
export declare const
|
|
181
|
+
export declare const ArcgisGridControls: import("@lit/react").ReactWebComponent<HTMLArcgisGridControlsElement & {
|
|
171
182
|
class?: string;
|
|
172
183
|
}, {
|
|
173
|
-
onArcgisPropertyChange: EventName<
|
|
174
|
-
onArcgisReady: EventName<
|
|
184
|
+
onArcgisPropertyChange: EventName<HTMLArcgisGridControlsElement["arcgisPropertyChange"]>;
|
|
185
|
+
onArcgisReady: EventName<HTMLArcgisGridControlsElement["arcgisReady"]>;
|
|
175
186
|
}>;
|
|
176
187
|
export declare const ArcgisHistogramRangeSlider: import("@lit/react").ReactWebComponent<HTMLArcgisHistogramRangeSliderElement & {
|
|
177
188
|
class?: string;
|
|
@@ -189,6 +200,7 @@ export declare const ArcgisHome: import("@lit/react").ReactWebComponent<HTMLArcg
|
|
|
189
200
|
export declare const ArcgisLayerList: import("@lit/react").ReactWebComponent<HTMLArcgisLayerListElement & {
|
|
190
201
|
class?: string;
|
|
191
202
|
}, {
|
|
203
|
+
onArcgisClose: EventName<HTMLArcgisLayerListElement["arcgisClose"]>;
|
|
192
204
|
onArcgisPropertyChange: EventName<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
193
205
|
onArcgisReady: EventName<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
194
206
|
onArcgisTriggerAction: EventName<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -311,6 +323,9 @@ export declare const ArcgisScaleRangeSlider: import("@lit/react").ReactWebCompon
|
|
|
311
323
|
export declare const ArcgisScene: import("@lit/react").ReactWebComponent<HTMLArcgisSceneElement & {
|
|
312
324
|
class?: string;
|
|
313
325
|
}, {
|
|
326
|
+
onArcgisAnalysisViewCreate: EventName<HTMLArcgisSceneElement["arcgisAnalysisViewCreate"]>;
|
|
327
|
+
onArcgisAnalysisViewCreateError: EventName<HTMLArcgisSceneElement["arcgisAnalysisViewCreateError"]>;
|
|
328
|
+
onArcgisAnalysisViewDestroy: EventName<HTMLArcgisSceneElement["arcgisAnalysisViewDestroy"]>;
|
|
314
329
|
onArcgisViewChange: EventName<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
315
330
|
onArcgisViewClick: EventName<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
316
331
|
onArcgisViewDoubleClick: EventName<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -334,17 +349,20 @@ export declare const ArcgisScene: import("@lit/react").ReactWebComponent<HTMLArc
|
|
|
334
349
|
export declare const ArcgisSearch: import("@lit/react").ReactWebComponent<HTMLArcgisSearchElement & {
|
|
335
350
|
class?: string;
|
|
336
351
|
}, {
|
|
337
|
-
onArcgisBlur: EventName<HTMLArcgisSearchElement["arcgisBlur"]>;
|
|
338
|
-
onArcgisClear: EventName<HTMLArcgisSearchElement["arcgisClear"]>;
|
|
339
|
-
onArcgisComplete: EventName<HTMLArcgisSearchElement["arcgisComplete"]>;
|
|
340
|
-
onArcgisFocus: EventName<HTMLArcgisSearchElement["arcgisFocus"]>;
|
|
341
352
|
onArcgisPropertyChange: EventName<HTMLArcgisSearchElement["arcgisPropertyChange"]>;
|
|
342
353
|
onArcgisReady: EventName<HTMLArcgisSearchElement["arcgisReady"]>;
|
|
354
|
+
onArcgisSearchClear: EventName<HTMLArcgisSearchElement["arcgisSearchClear"]>;
|
|
355
|
+
onArcgisSearchComplete: EventName<HTMLArcgisSearchElement["arcgisSearchComplete"]>;
|
|
356
|
+
onArcgisSearchStart: EventName<HTMLArcgisSearchElement["arcgisSearchStart"]>;
|
|
343
357
|
onArcgisSelectResult: EventName<HTMLArcgisSearchElement["arcgisSelectResult"]>;
|
|
344
|
-
onArcgisStart: EventName<HTMLArcgisSearchElement["arcgisStart"]>;
|
|
345
358
|
onArcgisSuggestComplete: EventName<HTMLArcgisSearchElement["arcgisSuggestComplete"]>;
|
|
346
359
|
onArcgisSuggestStart: EventName<HTMLArcgisSearchElement["arcgisSuggestStart"]>;
|
|
347
360
|
}>;
|
|
361
|
+
export declare const ArcgisSearchResultRenderer: import("@lit/react").ReactWebComponent<HTMLArcgisSearchResultRendererElement & {
|
|
362
|
+
class?: string;
|
|
363
|
+
}, {
|
|
364
|
+
onArcgisReady: EventName<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
365
|
+
}>;
|
|
348
366
|
export declare const ArcgisShadowCast: import("@lit/react").ReactWebComponent<HTMLArcgisShadowCastElement & {
|
|
349
367
|
class?: string;
|
|
350
368
|
}, {
|
|
@@ -394,6 +412,7 @@ export declare const ArcgisSwipe: import("@lit/react").ReactWebComponent<HTMLArc
|
|
|
394
412
|
export declare const ArcgisTableList: import("@lit/react").ReactWebComponent<HTMLArcgisTableListElement & {
|
|
395
413
|
class?: string;
|
|
396
414
|
}, {
|
|
415
|
+
onArcgisClose: EventName<HTMLArcgisTableListElement["arcgisClose"]>;
|
|
397
416
|
onArcgisPropertyChange: EventName<HTMLArcgisTableListElement["arcgisPropertyChange"]>;
|
|
398
417
|
onArcgisReady: EventName<HTMLArcgisTableListElement["arcgisReady"]>;
|
|
399
418
|
onArcgisTriggerAction: EventName<HTMLArcgisTableListElement["arcgisTriggerAction"]>;
|
|
@@ -405,6 +424,12 @@ export declare const ArcgisTimeSlider: import("@lit/react").ReactWebComponent<HT
|
|
|
405
424
|
onArcgisReady: EventName<HTMLArcgisTimeSliderElement["arcgisReady"]>;
|
|
406
425
|
onArcgisTriggerAction: EventName<HTMLArcgisTimeSliderElement["arcgisTriggerAction"]>;
|
|
407
426
|
}>;
|
|
427
|
+
export declare const ArcgisTimeZoneLabel: import("@lit/react").ReactWebComponent<HTMLArcgisTimeZoneLabelElement & {
|
|
428
|
+
class?: string;
|
|
429
|
+
}, {
|
|
430
|
+
onArcgisPropertyChange: EventName<HTMLArcgisTimeZoneLabelElement["arcgisPropertyChange"]>;
|
|
431
|
+
onArcgisReady: EventName<HTMLArcgisTimeZoneLabelElement["arcgisReady"]>;
|
|
432
|
+
}>;
|
|
408
433
|
export declare const ArcgisTrack: import("@lit/react").ReactWebComponent<HTMLArcgisTrackElement & {
|
|
409
434
|
class?: string;
|
|
410
435
|
}, {
|
|
@@ -425,12 +450,14 @@ export declare const ArcgisUtilityNetworkTrace: import("@lit/react").ReactWebCom
|
|
|
425
450
|
onArcgisAddFlagComplete: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddFlagComplete"]>;
|
|
426
451
|
onArcgisAddFlagError: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddFlagError"]>;
|
|
427
452
|
onArcgisAddResultArea: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddResultArea"]>;
|
|
453
|
+
onArcgisPropertyChange: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisPropertyChange"]>;
|
|
428
454
|
onArcgisReady: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisReady"]>;
|
|
429
455
|
onArcgisRemoveResultArea: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisRemoveResultArea"]>;
|
|
430
456
|
}>;
|
|
431
457
|
export declare const ArcgisUtilityNetworkValidateTopology: import("@lit/react").ReactWebComponent<HTMLArcgisUtilityNetworkValidateTopologyElement & {
|
|
432
458
|
class?: string;
|
|
433
459
|
}, {
|
|
460
|
+
onArcgisPropertyChange: EventName<HTMLArcgisUtilityNetworkValidateTopologyElement["arcgisPropertyChange"]>;
|
|
434
461
|
onArcgisReady: EventName<HTMLArcgisUtilityNetworkValidateTopologyElement["arcgisReady"]>;
|
|
435
462
|
}>;
|
|
436
463
|
export declare const ArcgisValuePicker: import("@lit/react").ReactWebComponent<HTMLArcgisValuePickerElement & {
|
|
@@ -450,6 +477,18 @@ export declare const ArcgisVersionManagement: import("@lit/react").ReactWebCompo
|
|
|
450
477
|
onArcgisReady: EventName<HTMLArcgisVersionManagementElement["arcgisReady"]>;
|
|
451
478
|
onArcgisVersioningStateChanged: EventName<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
452
479
|
}>;
|
|
480
|
+
export declare const ArcgisVideo: import("@lit/react").ReactWebComponent<HTMLArcgisVideoElement & {
|
|
481
|
+
class?: string;
|
|
482
|
+
}, {
|
|
483
|
+
onArcgisViewReadyChange: EventName<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
484
|
+
}>;
|
|
485
|
+
export declare const ArcgisVideoPlayer: import("@lit/react").ReactWebComponent<HTMLArcgisVideoPlayerElement & {
|
|
486
|
+
class?: string;
|
|
487
|
+
}, {
|
|
488
|
+
onArcgisPropertyChange: EventName<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
489
|
+
onArcgisReady: EventName<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
490
|
+
onArcgisVideoReady: EventName<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
|
491
|
+
}>;
|
|
453
492
|
export declare const ArcgisWeather: import("@lit/react").ReactWebComponent<HTMLArcgisWeatherElement & {
|
|
454
493
|
class?: string;
|
|
455
494
|
}, {
|
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",
|
|
@@ -53,6 +56,7 @@ export const ArcgisCoordinateConversion = /*@__PURE__*/ createWrapper(getReactWr
|
|
|
53
56
|
}));
|
|
54
57
|
export const ArcgisDaylight = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-daylight", {
|
|
55
58
|
onArcgisReady: "arcgisReady",
|
|
59
|
+
onArcgisUserDateTimeChange: "arcgisUserDateTimeChange",
|
|
56
60
|
}));
|
|
57
61
|
export const ArcgisDirectionalPad = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-directional-pad", {
|
|
58
62
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
@@ -62,6 +66,10 @@ export const ArcgisDirections = /*@__PURE__*/ createWrapper(getReactWrapperOptio
|
|
|
62
66
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
63
67
|
onArcgisReady: "arcgisReady",
|
|
64
68
|
}));
|
|
69
|
+
export const ArcgisDirectLineMeasurement3d = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-direct-line-measurement-3d", {
|
|
70
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
71
|
+
onArcgisReady: "arcgisReady",
|
|
72
|
+
}));
|
|
65
73
|
export const ArcgisDirectlineMeasurement3d = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-directline-measurement-3d", {
|
|
66
74
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
67
75
|
onArcgisReady: "arcgisReady",
|
|
@@ -107,6 +115,7 @@ export const ArcgisFeatureTemplates = /*@__PURE__*/ createWrapper(getReactWrappe
|
|
|
107
115
|
onArcgisSelect: "arcgisSelect",
|
|
108
116
|
}));
|
|
109
117
|
export const ArcgisFeatures = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-features", {
|
|
118
|
+
onArcgisClose: "arcgisClose",
|
|
110
119
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
111
120
|
onArcgisReady: "arcgisReady",
|
|
112
121
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -118,7 +127,7 @@ export const ArcgisFullscreen = /*@__PURE__*/ createWrapper(getReactWrapperOptio
|
|
|
118
127
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
119
128
|
onArcgisReady: "arcgisReady",
|
|
120
129
|
}));
|
|
121
|
-
export const
|
|
130
|
+
export const ArcgisGridControls = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-grid-controls", {
|
|
122
131
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
123
132
|
onArcgisReady: "arcgisReady",
|
|
124
133
|
}));
|
|
@@ -132,6 +141,7 @@ export const ArcgisHome = /*@__PURE__*/ createWrapper(getReactWrapperOptions("ar
|
|
|
132
141
|
onArcgisReady: "arcgisReady",
|
|
133
142
|
}));
|
|
134
143
|
export const ArcgisLayerList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-layer-list", {
|
|
144
|
+
onArcgisClose: "arcgisClose",
|
|
135
145
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
136
146
|
onArcgisReady: "arcgisReady",
|
|
137
147
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -226,6 +236,9 @@ export const ArcgisScaleRangeSlider = /*@__PURE__*/ createWrapper(getReactWrappe
|
|
|
226
236
|
onArcgisReady: "arcgisReady",
|
|
227
237
|
}));
|
|
228
238
|
export const ArcgisScene = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-scene", {
|
|
239
|
+
onArcgisAnalysisViewCreate: "arcgisAnalysisViewCreate",
|
|
240
|
+
onArcgisAnalysisViewCreateError: "arcgisAnalysisViewCreateError",
|
|
241
|
+
onArcgisAnalysisViewDestroy: "arcgisAnalysisViewDestroy",
|
|
229
242
|
onArcgisViewChange: "arcgisViewChange",
|
|
230
243
|
onArcgisViewClick: "arcgisViewClick",
|
|
231
244
|
onArcgisViewDoubleClick: "arcgisViewDoubleClick",
|
|
@@ -247,17 +260,18 @@ export const ArcgisScene = /*@__PURE__*/ createWrapper(getReactWrapperOptions("a
|
|
|
247
260
|
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
248
261
|
}));
|
|
249
262
|
export const ArcgisSearch = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-search", {
|
|
250
|
-
onArcgisBlur: "arcgisBlur",
|
|
251
|
-
onArcgisClear: "arcgisClear",
|
|
252
|
-
onArcgisComplete: "arcgisComplete",
|
|
253
|
-
onArcgisFocus: "arcgisFocus",
|
|
254
263
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
255
264
|
onArcgisReady: "arcgisReady",
|
|
265
|
+
onArcgisSearchClear: "arcgisSearchClear",
|
|
266
|
+
onArcgisSearchComplete: "arcgisSearchComplete",
|
|
267
|
+
onArcgisSearchStart: "arcgisSearchStart",
|
|
256
268
|
onArcgisSelectResult: "arcgisSelectResult",
|
|
257
|
-
onArcgisStart: "arcgisStart",
|
|
258
269
|
onArcgisSuggestComplete: "arcgisSuggestComplete",
|
|
259
270
|
onArcgisSuggestStart: "arcgisSuggestStart",
|
|
260
271
|
}));
|
|
272
|
+
export const ArcgisSearchResultRenderer = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-search-result-renderer", {
|
|
273
|
+
onArcgisReady: "arcgisReady",
|
|
274
|
+
}));
|
|
261
275
|
export const ArcgisShadowCast = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-shadow-cast", {
|
|
262
276
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
263
277
|
onArcgisReady: "arcgisReady",
|
|
@@ -295,6 +309,7 @@ export const ArcgisSwipe = /*@__PURE__*/ createWrapper(getReactWrapperOptions("a
|
|
|
295
309
|
onArcgisReady: "arcgisReady",
|
|
296
310
|
}));
|
|
297
311
|
export const ArcgisTableList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-table-list", {
|
|
312
|
+
onArcgisClose: "arcgisClose",
|
|
298
313
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
299
314
|
onArcgisReady: "arcgisReady",
|
|
300
315
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -304,6 +319,10 @@ export const ArcgisTimeSlider = /*@__PURE__*/ createWrapper(getReactWrapperOptio
|
|
|
304
319
|
onArcgisReady: "arcgisReady",
|
|
305
320
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
306
321
|
}));
|
|
322
|
+
export const ArcgisTimeZoneLabel = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-time-zone-label", {
|
|
323
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
324
|
+
onArcgisReady: "arcgisReady",
|
|
325
|
+
}));
|
|
307
326
|
export const ArcgisTrack = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-track", {
|
|
308
327
|
onArcgisComplete: "arcgisComplete",
|
|
309
328
|
onArcgisError: "arcgisError",
|
|
@@ -318,10 +337,12 @@ export const ArcgisUtilityNetworkTrace = /*@__PURE__*/ createWrapper(getReactWra
|
|
|
318
337
|
onArcgisAddFlagComplete: "arcgisAddFlagComplete",
|
|
319
338
|
onArcgisAddFlagError: "arcgisAddFlagError",
|
|
320
339
|
onArcgisAddResultArea: "arcgisAddResultArea",
|
|
340
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
321
341
|
onArcgisReady: "arcgisReady",
|
|
322
342
|
onArcgisRemoveResultArea: "arcgisRemoveResultArea",
|
|
323
343
|
}));
|
|
324
344
|
export const ArcgisUtilityNetworkValidateTopology = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-utility-network-validate-topology", {
|
|
345
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
325
346
|
onArcgisReady: "arcgisReady",
|
|
326
347
|
}));
|
|
327
348
|
export const ArcgisValuePicker = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-value-picker", {
|
|
@@ -337,6 +358,14 @@ export const ArcgisVersionManagement = /*@__PURE__*/ createWrapper(getReactWrapp
|
|
|
337
358
|
onArcgisReady: "arcgisReady",
|
|
338
359
|
onArcgisVersioningStateChanged: "arcgisVersioningStateChanged",
|
|
339
360
|
}));
|
|
361
|
+
export const ArcgisVideo = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-video", {
|
|
362
|
+
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
363
|
+
}));
|
|
364
|
+
export const ArcgisVideoPlayer = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-video-player", {
|
|
365
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
366
|
+
onArcgisReady: "arcgisReady",
|
|
367
|
+
onArcgisVideoReady: "arcgisVideoReady",
|
|
368
|
+
}));
|
|
340
369
|
export const ArcgisWeather = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-weather", {
|
|
341
370
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
342
371
|
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.160",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS map components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "SEE LICENSE.md",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@arcgis/map-components": "4.33.0-next.
|
|
33
|
-
"@esri/calcite-components": "
|
|
34
|
-
"@lit/react": "^1.0.
|
|
35
|
-
"tslib": "^2.
|
|
32
|
+
"@arcgis/map-components": "4.33.0-next.160",
|
|
33
|
+
"@esri/calcite-components": "^3.2.1",
|
|
34
|
+
"@lit/react": "^1.0.7",
|
|
35
|
+
"tslib": "^2.8.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@arcgis/core": ">=4.33.0-next <4.34",
|
|
39
|
-
"react": ">=18.0.0 <
|
|
40
|
-
"react-dom": ">=18.0.0 <
|
|
39
|
+
"react": ">=18.0.0 <20.0.0",
|
|
40
|
+
"react-dom": ">=18.0.0 <20.0.0"
|
|
41
41
|
}
|
|
42
42
|
}
|