@arcgis/map-components 5.1.0-next.11 → 5.1.0-next.13
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/dist/cdn/24A3PRKY.js +2 -0
- package/dist/cdn/{VU3SJK5Z.js → 2KDBYYCF.js} +1 -1
- package/dist/cdn/{63P5VYGP.js → 4QKKEYOT.js} +1 -1
- package/dist/cdn/{6CGPJGIB.js → 57NR3THC.js} +1 -1
- package/dist/cdn/{HB3W3CO5.js → 5TQ4ESJT.js} +1 -1
- package/dist/cdn/{KY2UAUNI.js → 7MD3GFV6.js} +1 -1
- package/dist/cdn/BQRJK2MF.js +2 -0
- package/dist/cdn/D73JFV2R.js +2 -0
- package/dist/cdn/DDFVZ5WZ.js +2 -0
- package/dist/cdn/{2MTWUJIA.js → DEJGWX76.js} +1 -1
- package/dist/cdn/LIEE5WCD.js +2 -0
- package/dist/cdn/{NRBM3YR6.js → P6UY3ICC.js} +1 -1
- package/dist/cdn/{KHM3S4Q6.js → RP2MWWN5.js} +1 -1
- package/dist/cdn/RWQYK5BX.js +2 -0
- package/dist/cdn/SXS6AFSU.js +2 -0
- package/dist/cdn/{VNOZYJLP.js → SYMDMOKL.js} +1 -1
- package/dist/cdn/{FB6YQKF2.js → U37ZXVJO.js} +1 -1
- package/dist/cdn/XFDR4YDM.js +2 -0
- package/dist/cdn/XOPJ7VX2.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +4 -5
- package/dist/components/arcgis-directions/customElement.js +5 -5
- package/dist/components/arcgis-editor/customElement.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature/customElement.js +6 -6
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.d.ts +72 -24
- package/dist/components/arcgis-feature-table/customElement.js +28 -13
- package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +60 -60
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
- package/dist/components/arcgis-features/customElement.d.ts +13 -15
- package/dist/components/arcgis-features/customElement.js +16 -16
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
- package/dist/components/arcgis-legend/customElement.d.ts +3 -3
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -22
- package/dist/components/arcgis-link-chart/customElement.js +10 -15
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +54 -56
- package/dist/components/arcgis-map/customElement.js +1 -6
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.d.ts +4 -4
- package/dist/components/arcgis-popup/customElement.d.ts +16 -18
- package/dist/components/arcgis-popup/customElement.js +47 -52
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +22 -13
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-scene/customElement.d.ts +52 -54
- package/dist/components/arcgis-scene/customElement.js +8 -13
- package/dist/components/arcgis-search/customElement.d.ts +20 -22
- package/dist/components/arcgis-search/customElement.js +8 -9
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +19 -19
- package/dist/components/arcgis-slice/customElement.d.ts +8 -8
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +7 -8
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +10 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +7 -7
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/22EPKDUJ.js +0 -2
- package/dist/cdn/B3ANLEZW.js +0 -2
- package/dist/cdn/IDDSHZVB.js +0 -2
- package/dist/cdn/LHEP4QSS.js +0 -2
- package/dist/cdn/RSSYGNJQ.js +0 -2
- package/dist/cdn/S6G6XXTM.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/XCAWRUM6.js +0 -2
- package/dist/cdn/Z4F6DHBB.js +0 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
5
|
-
import type Analysis from "@arcgis/core/analysis/Analysis";
|
|
6
|
-
import type Point from "@arcgis/core/geometry/Point";
|
|
7
|
-
import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
8
|
-
import type Ground from "@arcgis/core/Ground";
|
|
9
|
-
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings";
|
|
10
|
-
import type Basemap from "@arcgis/core/Basemap";
|
|
4
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
5
|
+
import type Analysis from "@arcgis/core/analysis/Analysis.js";
|
|
6
|
+
import type Point from "@arcgis/core/geometry/Point.js";
|
|
7
|
+
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
8
|
+
import type Ground from "@arcgis/core/Ground.js";
|
|
9
|
+
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
|
|
10
|
+
import type Basemap from "@arcgis/core/Basemap.js";
|
|
11
|
+
import type Map from "@arcgis/core/Map.js";
|
|
11
12
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
12
|
-
import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
|
|
13
13
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
14
14
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
15
15
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
@@ -18,7 +18,6 @@ import type Graphic from "@arcgis/core/Graphic.js";
|
|
|
18
18
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
19
19
|
import type IPSInfo from "@arcgis/core/webdoc/IPSInfo.js";
|
|
20
20
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
21
|
-
import type Map2 from "@arcgis/core/Map.js";
|
|
22
21
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
23
22
|
import type Popup from "@arcgis/core/widgets/Popup.js";
|
|
24
23
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
@@ -28,15 +27,14 @@ import type Polygon from "@arcgis/core/geometry/Polygon.js";
|
|
|
28
27
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
29
28
|
import type { LoadErrorSource } from "../types.js";
|
|
30
29
|
import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
31
|
-
import type { LayerView2DFor } from "@arcgis/core/views/2d/types";
|
|
32
|
-
import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, ClickEvent } from "@arcgis/core/views/input/types";
|
|
33
|
-
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types";
|
|
34
|
-
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types";
|
|
35
|
-
import type { ScreenPoint } from "@arcgis/core/core/types";
|
|
36
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
|
|
30
|
+
import type { LayerView2DFor, ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
31
|
+
import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
32
|
+
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
33
|
+
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
34
|
+
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
35
|
+
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
37
36
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
38
37
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
39
|
-
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
40
38
|
|
|
41
39
|
/**
|
|
42
40
|
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
@@ -48,14 +46,14 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
48
46
|
*
|
|
49
47
|
* ##### 1. Using a WebMap
|
|
50
48
|
* Load a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/) from [ArcGIS Online](https://www.arcgis.com/home/index.html)
|
|
51
|
-
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [
|
|
49
|
+
* or an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) by specifying the [itemId](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#itemId) attribute.
|
|
52
50
|
*
|
|
53
51
|
* ```html
|
|
54
52
|
* <arcgis-map item-id="05e015c5f0314db9a487a9b46cb37eca"></arcgis-map>
|
|
55
53
|
* ```
|
|
56
54
|
*
|
|
57
55
|
* ##### 2. Setting Map component attributes directly
|
|
58
|
-
* Define the Map component using attributes like [basemap](
|
|
56
|
+
* Define the Map component using attributes like [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), and [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#zoom) directly.
|
|
59
57
|
*
|
|
60
58
|
* ```html
|
|
61
59
|
* <arcgis-map basemap="satellite" center="-154.88, 19.46" zoom="15"></arcgis-map>
|
|
@@ -63,8 +61,8 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
63
61
|
*
|
|
64
62
|
* ##### 3. Providing a Map instance
|
|
65
63
|
* Alternatively, you can provide your own [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) instance to the component.
|
|
66
|
-
* This allows full control over map configuration, including [basemap](
|
|
67
|
-
* and [
|
|
64
|
+
* This allows full control over map configuration, including [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap), operational [layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers)
|
|
65
|
+
* and [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference). See the [Select features by rectangle sample](https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/)
|
|
68
66
|
* for an example of this approach in action.
|
|
69
67
|
*
|
|
70
68
|
* ```html
|
|
@@ -145,7 +143,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
145
143
|
* // Removes an analysis from the View
|
|
146
144
|
* view.analyses.remove(elevationProfileAnalysis);
|
|
147
145
|
*/
|
|
148
|
-
accessor analyses: Collection<
|
|
146
|
+
accessor analyses: Collection<Analysis>;
|
|
149
147
|
/**
|
|
150
148
|
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
151
149
|
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
|
|
@@ -236,7 +234,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
236
234
|
* Represents the view's center point; when setting the center, you may pass a
|
|
237
235
|
* [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) instance, numbers representing
|
|
238
236
|
* a longitude/latitude pair (`[-100.4593, 36.9014]`), or a string attribute representing a longitude/latitude pair ("-100.4593, 36.9014").
|
|
239
|
-
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](
|
|
237
|
+
* Setting the `center` immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
240
238
|
*
|
|
241
239
|
* The returned [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) object is always
|
|
242
240
|
* in the spatial reference of the view and may be modified internally.
|
|
@@ -244,7 +242,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
244
242
|
*
|
|
245
243
|
* **Notes**
|
|
246
244
|
*
|
|
247
|
-
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](
|
|
245
|
+
* * If the spatial reference of `center` set in the constructor does not match the [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) of the view, then the
|
|
248
246
|
* [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) will be loaded dynamically.
|
|
249
247
|
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) must be
|
|
250
248
|
* [loaded](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) when
|
|
@@ -356,12 +354,12 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
356
354
|
/**
|
|
357
355
|
* The extent represents the visible portion of a map within the view as an instance of [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/).
|
|
358
356
|
* Setting the extent immediately changes the view without animation. To animate
|
|
359
|
-
* the view, see this component's [goTo()](
|
|
357
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
360
358
|
* When the view is rotated, the extent does not update to include the newly visible portions of the map.
|
|
361
359
|
*
|
|
362
360
|
* **Notes**
|
|
363
361
|
*
|
|
364
|
-
* * If the spatial reference of `extent` set does not match the [spatialReference](
|
|
362
|
+
* * If the spatial reference of `extent` set does not match the [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) of the view, then the
|
|
365
363
|
* [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/) will be loaded dynamically.
|
|
366
364
|
* * At runtime, the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
367
365
|
* must be [loaded](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) when
|
|
@@ -565,7 +563,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
565
563
|
*/
|
|
566
564
|
get magnifier(): Magnifier;
|
|
567
565
|
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) object to display in the view. */
|
|
568
|
-
accessor map:
|
|
566
|
+
accessor map: Map | null | undefined;
|
|
569
567
|
/**
|
|
570
568
|
* Indication whether the view is being navigated (for example when panning).
|
|
571
569
|
*
|
|
@@ -619,7 +617,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
619
617
|
*/
|
|
620
618
|
accessor popup: Popup | null | undefined;
|
|
621
619
|
/**
|
|
622
|
-
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) property (representing the component) will be used for popups instead of the [popup](
|
|
620
|
+
* Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) property (representing the component) will be used for popups instead of the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) property (representing the widget).
|
|
623
621
|
*
|
|
624
622
|
* **Note:** This is a beta feature and may change in future releases. At version 6.0, the Popup component will be used by default instead of the Popup widget and the `popup-component-enabled` attribute will no longer be necessary.
|
|
625
623
|
*
|
|
@@ -634,14 +632,14 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
634
632
|
*/
|
|
635
633
|
accessor popupComponentEnabled: boolean;
|
|
636
634
|
/**
|
|
637
|
-
* Controls whether the default popup opens automatically when users click on the view. This controls both the [
|
|
635
|
+
* Controls whether the default popup opens automatically when users click on the view. This controls both the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupElement) and [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
|
|
638
636
|
*
|
|
639
637
|
* @default false
|
|
640
638
|
* @see [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#openPopup)
|
|
641
639
|
*/
|
|
642
640
|
accessor popupDisabled: boolean;
|
|
643
641
|
/**
|
|
644
|
-
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](
|
|
642
|
+
* A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled) property must be set to `true` to use this property.
|
|
645
643
|
*
|
|
646
644
|
* **Note:** This is a beta feature and may change in future releases.
|
|
647
645
|
*
|
|
@@ -665,16 +663,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
665
663
|
*/
|
|
666
664
|
get popupElement(): ArcgisPopup | null;
|
|
667
665
|
/**
|
|
668
|
-
* When `true`, this property indicates whether the [view](
|
|
666
|
+
* When `true`, this property indicates whether the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#view) has successfully satisfied all dependencies, signaling that the following conditions are met:
|
|
669
667
|
*
|
|
670
|
-
* * The view has a [map](
|
|
668
|
+
* * The view has a [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map). If [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map)
|
|
671
669
|
* is a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/), then the map
|
|
672
670
|
* must be [loaded](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#loaded).
|
|
673
|
-
* * The view has a [spatialReference](
|
|
674
|
-
* These also can be inferred by setting an [extent](
|
|
671
|
+
* * The view has a [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference), a [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), and a [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale).
|
|
672
|
+
* These also can be inferred by setting an [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent).
|
|
675
673
|
*
|
|
676
674
|
* When a view becomes ready it will resolve itself and invoke
|
|
677
|
-
* the callback defined in [viewOnReady()](
|
|
675
|
+
* the callback defined in [viewOnReady()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewOnReady) where code can execute on a working view.
|
|
678
676
|
*
|
|
679
677
|
* @default false
|
|
680
678
|
* @see [when()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#when)
|
|
@@ -701,7 +699,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
701
699
|
* The view may be rotated by directly setting
|
|
702
700
|
* the rotation or by using the following mouse event: `Right-click + Drag`.
|
|
703
701
|
* Map rotation may be disabled by setting the `rotationEnabled` property
|
|
704
|
-
* in [constraints](
|
|
702
|
+
* in [constraints](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#constraints) to `false`. See the code snippet below for
|
|
705
703
|
* an example of this.
|
|
706
704
|
*
|
|
707
705
|
* @default 0
|
|
@@ -726,7 +724,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
726
724
|
accessor rotation: number;
|
|
727
725
|
/**
|
|
728
726
|
* Represents the map scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
729
|
-
* the view, see this component's [goTo()](
|
|
727
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
730
728
|
*/
|
|
731
729
|
accessor scale: number;
|
|
732
730
|
/**
|
|
@@ -734,12 +732,12 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
734
732
|
* You can change the spatialReference of the view after it is initialized by either directly changing
|
|
735
733
|
* this property, or by changing the basemap from the [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/)
|
|
736
734
|
* and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components.
|
|
737
|
-
* Set [spatialReferenceLocked](
|
|
735
|
+
* Set [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReferenceLocked) property to `true` to prevent users from changing the view's spatial reference at runtime.
|
|
738
736
|
*
|
|
739
737
|
* Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
|
|
740
738
|
* is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded) method.
|
|
741
739
|
* If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) method.
|
|
742
|
-
* If the `projectOperator` is not loaded, the view's [center](
|
|
740
|
+
* If the `projectOperator` is not loaded, the view's [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center) will default to `[0, 0]` in the new spatial reference of the view and a console error will be thrown.
|
|
743
741
|
*
|
|
744
742
|
* **Notes**
|
|
745
743
|
*
|
|
@@ -747,16 +745,16 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
747
745
|
* are not displayed. In such case, the layer view's [suspended](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/#suspended)
|
|
748
746
|
* property is `true` and [spatialReferenceSupported](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/#spatialReferenceSupported)
|
|
749
747
|
* property is `false`.
|
|
750
|
-
* * When setting view's spatial reference, the [center](
|
|
751
|
-
* reference. The [scale](
|
|
748
|
+
* * When setting view's spatial reference, the [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent) or [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewpoint) properties are projected to the new spatial
|
|
749
|
+
* reference. The [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale) and [rotation](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#rotation) properties are adjusted to keep the content of the map at the same size and orientation on screen.
|
|
752
750
|
* * To ensure [TileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/TileLayer/) and
|
|
753
751
|
* [VectorTileLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/)
|
|
754
|
-
* are displayed in a [basemap](
|
|
752
|
+
* are displayed in a [basemap](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#basemap) correctly, the spatialReference of the view must be set match their
|
|
755
753
|
* [tileInfo's](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/) spatial reference.
|
|
756
754
|
* * Switching spatial reference with an [imageCoordinateSystem](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/#imageCoordinateSystem)
|
|
757
755
|
* is not supported.
|
|
758
756
|
*
|
|
759
|
-
* @see [spatialReferenceLocked](
|
|
757
|
+
* @see [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReferenceLocked)
|
|
760
758
|
* @example
|
|
761
759
|
* ```js
|
|
762
760
|
* const viewElement = document.querySelector("arcgis-map");
|
|
@@ -780,7 +778,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
780
778
|
*/
|
|
781
779
|
accessor spatialReference: SpatialReference;
|
|
782
780
|
/**
|
|
783
|
-
* Indicates if the map's [spatialReference](
|
|
781
|
+
* Indicates if the map's [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#spatialReference) can be changed after it is ready.
|
|
784
782
|
* The default is `false`, indicating the map's spatialReference can be changed at runtime.
|
|
785
783
|
* When true, basemaps with spatial references that do not match the map's spatial reference
|
|
786
784
|
* will be disabled in [arcgis-basemap-gallery](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/) and [arcgis-basemap-toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) components and the map's spatialReference cannot be changed at runtime.
|
|
@@ -871,7 +869,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
871
869
|
/**
|
|
872
870
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
873
871
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
874
|
-
* the view, see this component's [goTo()](
|
|
872
|
+
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
875
873
|
*/
|
|
876
874
|
accessor viewpoint: Viewpoint;
|
|
877
875
|
/**
|
|
@@ -892,7 +890,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
892
890
|
* A value of -1 means the map has no LODs.
|
|
893
891
|
* When setting the zoom value, the component converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
894
892
|
*
|
|
895
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](
|
|
893
|
+
* Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
896
894
|
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
897
895
|
*/
|
|
898
896
|
accessor zoom: number;
|
|
@@ -1051,7 +1049,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1051
1049
|
ground?: Ground | string;
|
|
1052
1050
|
};
|
|
1053
1051
|
/**
|
|
1054
|
-
* Fires when
|
|
1052
|
+
* Fires when an arcgis-map fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
|
|
1055
1053
|
*
|
|
1056
1054
|
* @since 4.34
|
|
1057
1055
|
* @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#loadErrorSources)
|
|
@@ -1088,8 +1086,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1088
1086
|
*/
|
|
1089
1087
|
readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
|
|
1090
1088
|
/**
|
|
1091
|
-
* This event is triggered when view-related properties change, such as [zoom](
|
|
1092
|
-
* [viewpoint](
|
|
1089
|
+
* This event is triggered when view-related properties change, such as [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#zoom), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#scale), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#center), [rotation](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#rotation), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#extent),
|
|
1090
|
+
* [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#viewpoint), or [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#stationary).
|
|
1093
1091
|
* It reflects user interactions (e.g. panning or zooming) or programmatic updates to the view.
|
|
1094
1092
|
*
|
|
1095
1093
|
* @example
|
|
@@ -1108,8 +1106,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1108
1106
|
*/
|
|
1109
1107
|
readonly arcgisViewChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1110
1108
|
/**
|
|
1111
|
-
* Fires after a user clicks on the view. This event emits slightly slower than an [arcgisViewImmediateClick](
|
|
1112
|
-
* event to make sure that an [arcgisViewDoubleClick](
|
|
1109
|
+
* Fires after a user clicks on the view. This event emits slightly slower than an [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick)
|
|
1110
|
+
* event to make sure that an [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick) event isn't triggered instead. The `arcgisViewImmediateClick`
|
|
1113
1111
|
* event can be used for responding to an `arcgisViewClick` event without delay.
|
|
1114
1112
|
*
|
|
1115
1113
|
* @example
|
|
@@ -1164,8 +1162,8 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1164
1162
|
/** Fires after holding either a mouse button or a single finger on the view for a short amount of time. */
|
|
1165
1163
|
readonly arcgisViewHold: import("@arcgis/lumina").TargetedEvent<this, HoldEvent>;
|
|
1166
1164
|
/**
|
|
1167
|
-
* Fires right after a user clicks on the view. In contrast to the [arcgisViewClick](
|
|
1168
|
-
* is emitted as soon as the user clicks on the view, and is not inhibited by a [arcgisViewDoubleClick](
|
|
1165
|
+
* Fires right after a user clicks on the view. In contrast to the [@arcgisViewClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewClick) event, the `arcgisViewImmediateClick`
|
|
1166
|
+
* is emitted as soon as the user clicks on the view, and is not inhibited by a [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick) event.
|
|
1169
1167
|
* This event is useful for interactive experiences that require feedback without delay.
|
|
1170
1168
|
*
|
|
1171
1169
|
* @example
|
|
@@ -1178,9 +1176,9 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1178
1176
|
*/
|
|
1179
1177
|
readonly arcgisViewImmediateClick: import("@arcgis/lumina").TargetedEvent<this, ImmediateClickEvent>;
|
|
1180
1178
|
/**
|
|
1181
|
-
* Fires after two consecutive [arcgisViewImmediateClick](
|
|
1182
|
-
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [arcgisViewImmediateClick](
|
|
1183
|
-
* event and can therefore be used to react to double-clicking independently of usage of the [arcgisViewImmediateClick](
|
|
1179
|
+
* Fires after two consecutive [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick) events. In contrast to [@arcgisViewDoubleClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewDoubleClick),
|
|
1180
|
+
* an `arcgisViewImmediateDoubleClick` cannot be prevented by use of `stopPropagation()` on the [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick)
|
|
1181
|
+
* event and can therefore be used to react to double-clicking independently of usage of the [@arcgisViewImmediateClick](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#event-arcgisViewImmediateClick) event.
|
|
1184
1182
|
*/
|
|
1185
1183
|
readonly arcgisViewImmediateDoubleClick: import("@arcgis/lumina").TargetedEvent<this, ImmediateDoubleClickEvent>;
|
|
1186
1184
|
/**
|
|
@@ -1252,7 +1250,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
1252
1250
|
readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
|
|
1253
1251
|
/**
|
|
1254
1252
|
* This event is for the `ready` property and is emitted when the view is ready.
|
|
1255
|
-
* Fires also when the [map](
|
|
1253
|
+
* Fires also when the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#map) is updated.
|
|
1256
1254
|
*/
|
|
1257
1255
|
readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1258
1256
|
/**
|
|
@@ -164,12 +164,7 @@ class R extends m {
|
|
|
164
164
|
s(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
|
|
165
165
|
s(() => this.view.attributionHeight, (t) => {
|
|
166
166
|
this._uiController.handleAttributionHeightChange(t);
|
|
167
|
-
}, { initial: !0 })
|
|
168
|
-
// Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
|
|
169
|
-
// Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
|
|
170
|
-
s(() => this.view.ready, () => {
|
|
171
|
-
this.view.notifyChange("attributionHeight");
|
|
172
|
-
})
|
|
167
|
+
}, { initial: !0 })
|
|
173
168
|
]);
|
|
174
169
|
}
|
|
175
170
|
renderMain() {
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
3
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
4
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
4
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
5
5
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
6
|
-
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
7
6
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
7
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
9
|
-
import type { ValueChangeEvent } from "@arcgis/core/widgets/BatchAttributeForm/types";
|
|
8
|
+
import type { ValueChangeEvent, BatchAttributeFormState } from "@arcgis/core/widgets/BatchAttributeForm/types.js";
|
|
10
9
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
11
|
-
import type { SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel";
|
|
12
|
-
import type { UIPosition } from "@arcgis/core/views/ui/types";
|
|
10
|
+
import type { SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
|
|
11
|
+
import type { UIPosition } from "@arcgis/core/views/ui/types.js";
|
|
13
12
|
import type { EditType } from "@arcgis/core/widgets/support/forms/types.js";
|
|
14
13
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
15
|
-
import type { BatchAttributeFormState } from "@arcgis/core/widgets/BatchAttributeForm/types.js";
|
|
16
14
|
|
|
17
15
|
/**
|
|
18
16
|
* The Multi Feature Form component provides a Feature Form which works with
|
|
@@ -36,7 +34,7 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
|
|
|
36
34
|
/** @default false */
|
|
37
35
|
accessor disabled: boolean;
|
|
38
36
|
accessor editType: EditType;
|
|
39
|
-
accessor features: Collection<
|
|
37
|
+
accessor features: Collection<Graphic>;
|
|
40
38
|
accessor groupDisplay: "all" | "sequential";
|
|
41
39
|
/** @default false */
|
|
42
40
|
accessor hasTooManyComplexFeatures: boolean;
|
|
@@ -94,7 +92,7 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
|
|
|
94
92
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "status" | "valid" | "updating" | "submitHasBeenAttempted" | "activeFeatureIndex"; }>;
|
|
95
93
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
96
94
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
97
|
-
/** Fires when the [submit()](
|
|
95
|
+
/** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/#submit) method is called. */
|
|
98
96
|
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
|
|
99
97
|
/** Fires when a field value is updated. */
|
|
100
98
|
readonly arcgisValueChange: import("@arcgis/lumina").TargetedEvent<this, ValueChangeEvent>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
5
|
import type { NavigationToggleState } from "./types.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
3
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
4
|
-
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer";
|
|
2
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
|
+
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
5
5
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
6
6
|
|
|
7
7
|
/** @internal */
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
3
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
6
6
|
import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
7
7
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
8
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
9
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
10
|
-
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
|
|
11
|
-
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem";
|
|
12
|
-
import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel";
|
|
8
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
9
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
10
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
11
|
+
import type TemplateItem from "@arcgis/core/widgets/FeatureTemplates/TemplateItem.js";
|
|
12
|
+
import type BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
|
|
13
13
|
import type { EsriClipboard, ClipboardItem as EsriClipboardItem } from "@arcgis/core/applications/Components/clipboard.js";
|
|
14
14
|
import type { ApplySet, ApplySetLayerEditResult, ApplySetServiceEditResult } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
15
15
|
import type { ClipboardMove } from "./ClipboardMove.js";
|
|
16
|
-
import type { ResourceHandle } from "@arcgis/core/core/Handles";
|
|
16
|
+
import type { ResourceHandle } from "@arcgis/core/core/Handles.js";
|
|
17
17
|
import type { PasteCommand, PasteApplyError, PasteCommandApplyParameters } from "./commands/PasteCommand.js";
|
|
18
18
|
import type { CustomPasteCommand } from "./commands/PasteCustomCommand.js";
|
|
19
19
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type Accessor from "@arcgis/core/core/Accessor.js";
|
|
2
2
|
import type PasteViewModel from "../PasteViewModel.js";
|
|
3
3
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
5
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
4
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
5
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
6
6
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
7
7
|
import type { ApplySet } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
8
|
-
import type { GeometryUnion } from "@arcgis/core/geometry/types";
|
|
8
|
+
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
|
|
9
9
|
|
|
10
10
|
export interface PasteCommandProperties extends Partial<Pick<PasteCommand, "viewModel">> {}
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
1
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
2
2
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
3
|
-
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard";
|
|
3
|
+
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The definition of a custom paste operation.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
3
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
4
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
5
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
6
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
5
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
6
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { SupportedPasteCommand, ActiveFlowPage } from "./PasteViewModel.js";
|
|
9
9
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|