@arcgis/map-components-react 4.33.0-next.15 → 4.33.0-next.151
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 +44 -8
- package/dist/components.js +32 -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"]>;
|
|
@@ -334,17 +346,20 @@ export declare const ArcgisScene: import("@lit/react").ReactWebComponent<HTMLArc
|
|
|
334
346
|
export declare const ArcgisSearch: import("@lit/react").ReactWebComponent<HTMLArcgisSearchElement & {
|
|
335
347
|
class?: string;
|
|
336
348
|
}, {
|
|
337
|
-
onArcgisBlur: EventName<HTMLArcgisSearchElement["arcgisBlur"]>;
|
|
338
|
-
onArcgisClear: EventName<HTMLArcgisSearchElement["arcgisClear"]>;
|
|
339
|
-
onArcgisComplete: EventName<HTMLArcgisSearchElement["arcgisComplete"]>;
|
|
340
|
-
onArcgisFocus: EventName<HTMLArcgisSearchElement["arcgisFocus"]>;
|
|
341
349
|
onArcgisPropertyChange: EventName<HTMLArcgisSearchElement["arcgisPropertyChange"]>;
|
|
342
350
|
onArcgisReady: EventName<HTMLArcgisSearchElement["arcgisReady"]>;
|
|
351
|
+
onArcgisSearchClear: EventName<HTMLArcgisSearchElement["arcgisSearchClear"]>;
|
|
352
|
+
onArcgisSearchComplete: EventName<HTMLArcgisSearchElement["arcgisSearchComplete"]>;
|
|
353
|
+
onArcgisSearchStart: EventName<HTMLArcgisSearchElement["arcgisSearchStart"]>;
|
|
343
354
|
onArcgisSelectResult: EventName<HTMLArcgisSearchElement["arcgisSelectResult"]>;
|
|
344
|
-
onArcgisStart: EventName<HTMLArcgisSearchElement["arcgisStart"]>;
|
|
345
355
|
onArcgisSuggestComplete: EventName<HTMLArcgisSearchElement["arcgisSuggestComplete"]>;
|
|
346
356
|
onArcgisSuggestStart: EventName<HTMLArcgisSearchElement["arcgisSuggestStart"]>;
|
|
347
357
|
}>;
|
|
358
|
+
export declare const ArcgisSearchResultRenderer: import("@lit/react").ReactWebComponent<HTMLArcgisSearchResultRendererElement & {
|
|
359
|
+
class?: string;
|
|
360
|
+
}, {
|
|
361
|
+
onArcgisReady: EventName<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
362
|
+
}>;
|
|
348
363
|
export declare const ArcgisShadowCast: import("@lit/react").ReactWebComponent<HTMLArcgisShadowCastElement & {
|
|
349
364
|
class?: string;
|
|
350
365
|
}, {
|
|
@@ -394,6 +409,7 @@ export declare const ArcgisSwipe: import("@lit/react").ReactWebComponent<HTMLArc
|
|
|
394
409
|
export declare const ArcgisTableList: import("@lit/react").ReactWebComponent<HTMLArcgisTableListElement & {
|
|
395
410
|
class?: string;
|
|
396
411
|
}, {
|
|
412
|
+
onArcgisClose: EventName<HTMLArcgisTableListElement["arcgisClose"]>;
|
|
397
413
|
onArcgisPropertyChange: EventName<HTMLArcgisTableListElement["arcgisPropertyChange"]>;
|
|
398
414
|
onArcgisReady: EventName<HTMLArcgisTableListElement["arcgisReady"]>;
|
|
399
415
|
onArcgisTriggerAction: EventName<HTMLArcgisTableListElement["arcgisTriggerAction"]>;
|
|
@@ -405,6 +421,12 @@ export declare const ArcgisTimeSlider: import("@lit/react").ReactWebComponent<HT
|
|
|
405
421
|
onArcgisReady: EventName<HTMLArcgisTimeSliderElement["arcgisReady"]>;
|
|
406
422
|
onArcgisTriggerAction: EventName<HTMLArcgisTimeSliderElement["arcgisTriggerAction"]>;
|
|
407
423
|
}>;
|
|
424
|
+
export declare const ArcgisTimeZoneLabel: import("@lit/react").ReactWebComponent<HTMLArcgisTimeZoneLabelElement & {
|
|
425
|
+
class?: string;
|
|
426
|
+
}, {
|
|
427
|
+
onArcgisPropertyChange: EventName<HTMLArcgisTimeZoneLabelElement["arcgisPropertyChange"]>;
|
|
428
|
+
onArcgisReady: EventName<HTMLArcgisTimeZoneLabelElement["arcgisReady"]>;
|
|
429
|
+
}>;
|
|
408
430
|
export declare const ArcgisTrack: import("@lit/react").ReactWebComponent<HTMLArcgisTrackElement & {
|
|
409
431
|
class?: string;
|
|
410
432
|
}, {
|
|
@@ -425,12 +447,14 @@ export declare const ArcgisUtilityNetworkTrace: import("@lit/react").ReactWebCom
|
|
|
425
447
|
onArcgisAddFlagComplete: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddFlagComplete"]>;
|
|
426
448
|
onArcgisAddFlagError: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddFlagError"]>;
|
|
427
449
|
onArcgisAddResultArea: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisAddResultArea"]>;
|
|
450
|
+
onArcgisPropertyChange: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisPropertyChange"]>;
|
|
428
451
|
onArcgisReady: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisReady"]>;
|
|
429
452
|
onArcgisRemoveResultArea: EventName<HTMLArcgisUtilityNetworkTraceElement["arcgisRemoveResultArea"]>;
|
|
430
453
|
}>;
|
|
431
454
|
export declare const ArcgisUtilityNetworkValidateTopology: import("@lit/react").ReactWebComponent<HTMLArcgisUtilityNetworkValidateTopologyElement & {
|
|
432
455
|
class?: string;
|
|
433
456
|
}, {
|
|
457
|
+
onArcgisPropertyChange: EventName<HTMLArcgisUtilityNetworkValidateTopologyElement["arcgisPropertyChange"]>;
|
|
434
458
|
onArcgisReady: EventName<HTMLArcgisUtilityNetworkValidateTopologyElement["arcgisReady"]>;
|
|
435
459
|
}>;
|
|
436
460
|
export declare const ArcgisValuePicker: import("@lit/react").ReactWebComponent<HTMLArcgisValuePickerElement & {
|
|
@@ -450,6 +474,18 @@ export declare const ArcgisVersionManagement: import("@lit/react").ReactWebCompo
|
|
|
450
474
|
onArcgisReady: EventName<HTMLArcgisVersionManagementElement["arcgisReady"]>;
|
|
451
475
|
onArcgisVersioningStateChanged: EventName<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
452
476
|
}>;
|
|
477
|
+
export declare const ArcgisVideo: import("@lit/react").ReactWebComponent<HTMLArcgisVideoElement & {
|
|
478
|
+
class?: string;
|
|
479
|
+
}, {
|
|
480
|
+
onArcgisViewReadyChange: EventName<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
481
|
+
}>;
|
|
482
|
+
export declare const ArcgisVideoPlayer: import("@lit/react").ReactWebComponent<HTMLArcgisVideoPlayerElement & {
|
|
483
|
+
class?: string;
|
|
484
|
+
}, {
|
|
485
|
+
onArcgisPropertyChange: EventName<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
486
|
+
onArcgisReady: EventName<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
487
|
+
onArcgisVideoReady: EventName<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
|
488
|
+
}>;
|
|
453
489
|
export declare const ArcgisWeather: import("@lit/react").ReactWebComponent<HTMLArcgisWeatherElement & {
|
|
454
490
|
class?: string;
|
|
455
491
|
}, {
|
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",
|
|
@@ -247,17 +257,18 @@ export const ArcgisScene = /*@__PURE__*/ createWrapper(getReactWrapperOptions("a
|
|
|
247
257
|
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
248
258
|
}));
|
|
249
259
|
export const ArcgisSearch = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-search", {
|
|
250
|
-
onArcgisBlur: "arcgisBlur",
|
|
251
|
-
onArcgisClear: "arcgisClear",
|
|
252
|
-
onArcgisComplete: "arcgisComplete",
|
|
253
|
-
onArcgisFocus: "arcgisFocus",
|
|
254
260
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
255
261
|
onArcgisReady: "arcgisReady",
|
|
262
|
+
onArcgisSearchClear: "arcgisSearchClear",
|
|
263
|
+
onArcgisSearchComplete: "arcgisSearchComplete",
|
|
264
|
+
onArcgisSearchStart: "arcgisSearchStart",
|
|
256
265
|
onArcgisSelectResult: "arcgisSelectResult",
|
|
257
|
-
onArcgisStart: "arcgisStart",
|
|
258
266
|
onArcgisSuggestComplete: "arcgisSuggestComplete",
|
|
259
267
|
onArcgisSuggestStart: "arcgisSuggestStart",
|
|
260
268
|
}));
|
|
269
|
+
export const ArcgisSearchResultRenderer = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-search-result-renderer", {
|
|
270
|
+
onArcgisReady: "arcgisReady",
|
|
271
|
+
}));
|
|
261
272
|
export const ArcgisShadowCast = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-shadow-cast", {
|
|
262
273
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
263
274
|
onArcgisReady: "arcgisReady",
|
|
@@ -295,6 +306,7 @@ export const ArcgisSwipe = /*@__PURE__*/ createWrapper(getReactWrapperOptions("a
|
|
|
295
306
|
onArcgisReady: "arcgisReady",
|
|
296
307
|
}));
|
|
297
308
|
export const ArcgisTableList = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-table-list", {
|
|
309
|
+
onArcgisClose: "arcgisClose",
|
|
298
310
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
299
311
|
onArcgisReady: "arcgisReady",
|
|
300
312
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
@@ -304,6 +316,10 @@ export const ArcgisTimeSlider = /*@__PURE__*/ createWrapper(getReactWrapperOptio
|
|
|
304
316
|
onArcgisReady: "arcgisReady",
|
|
305
317
|
onArcgisTriggerAction: "arcgisTriggerAction",
|
|
306
318
|
}));
|
|
319
|
+
export const ArcgisTimeZoneLabel = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-time-zone-label", {
|
|
320
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
321
|
+
onArcgisReady: "arcgisReady",
|
|
322
|
+
}));
|
|
307
323
|
export const ArcgisTrack = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-track", {
|
|
308
324
|
onArcgisComplete: "arcgisComplete",
|
|
309
325
|
onArcgisError: "arcgisError",
|
|
@@ -318,10 +334,12 @@ export const ArcgisUtilityNetworkTrace = /*@__PURE__*/ createWrapper(getReactWra
|
|
|
318
334
|
onArcgisAddFlagComplete: "arcgisAddFlagComplete",
|
|
319
335
|
onArcgisAddFlagError: "arcgisAddFlagError",
|
|
320
336
|
onArcgisAddResultArea: "arcgisAddResultArea",
|
|
337
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
321
338
|
onArcgisReady: "arcgisReady",
|
|
322
339
|
onArcgisRemoveResultArea: "arcgisRemoveResultArea",
|
|
323
340
|
}));
|
|
324
341
|
export const ArcgisUtilityNetworkValidateTopology = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-utility-network-validate-topology", {
|
|
342
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
325
343
|
onArcgisReady: "arcgisReady",
|
|
326
344
|
}));
|
|
327
345
|
export const ArcgisValuePicker = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-value-picker", {
|
|
@@ -337,6 +355,14 @@ export const ArcgisVersionManagement = /*@__PURE__*/ createWrapper(getReactWrapp
|
|
|
337
355
|
onArcgisReady: "arcgisReady",
|
|
338
356
|
onArcgisVersioningStateChanged: "arcgisVersioningStateChanged",
|
|
339
357
|
}));
|
|
358
|
+
export const ArcgisVideo = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-video", {
|
|
359
|
+
onArcgisViewReadyChange: "arcgisViewReadyChange",
|
|
360
|
+
}));
|
|
361
|
+
export const ArcgisVideoPlayer = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-video-player", {
|
|
362
|
+
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
363
|
+
onArcgisReady: "arcgisReady",
|
|
364
|
+
onArcgisVideoReady: "arcgisVideoReady",
|
|
365
|
+
}));
|
|
340
366
|
export const ArcgisWeather = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-weather", {
|
|
341
367
|
onArcgisPropertyChange: "arcgisPropertyChange",
|
|
342
368
|
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.151",
|
|
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.151",
|
|
33
|
+
"@esri/calcite-components": "^3.2.0",
|
|
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
|
}
|