@arcgis/map-components 5.2.0-next.61 → 5.2.0-next.62
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/2SZEQV37.js +2 -0
- package/dist/cdn/3WTBTYMS.js +2 -0
- package/dist/cdn/4ZHTGN7K.js +2 -0
- package/dist/cdn/55DP6FNP.js +2 -0
- package/dist/cdn/{X6K2RSPI.js → 5IYDETJ3.js} +1 -1
- package/dist/cdn/{WYZPOKJF.js → 7MH3SB7P.js} +1 -1
- package/dist/cdn/A2T36WPR.js +2 -0
- package/dist/cdn/AEIJFBBW.js +2 -0
- package/dist/cdn/{NRHOAASJ.js → APOCPBJG.js} +1 -1
- package/dist/cdn/AZFN3LR3.js +2 -0
- package/dist/cdn/{F3VS53GP.js → B4IHQKAA.js} +1 -1
- package/dist/cdn/{AFJW3C3J.js → CZ35ZBQO.js} +1 -1
- package/dist/cdn/DBA7NSTP.js +2 -0
- package/dist/cdn/{KEV6I36K.js → DJ5IUHJS.js} +1 -1
- package/dist/cdn/GU3M4JMW.js +2 -0
- package/dist/cdn/HFKN54XG.js +2 -0
- package/dist/cdn/{2JV5SN44.js → IDKRMHDS.js} +1 -1
- package/dist/cdn/{Y3X3K2RU.js → IYLOUQFV.js} +1 -1
- package/dist/cdn/{CJS5I43A.js → MZBHKC3U.js} +1 -1
- package/dist/cdn/{OMGRHB7H.js → ND6OMAWU.js} +1 -1
- package/dist/cdn/{KKBZEDN4.js → OIYQ43VS.js} +1 -1
- package/dist/cdn/{UX6QVJG6.js → ORL32J3S.js} +1 -1
- package/dist/cdn/{5W6NJGFF.js → QKCBSK73.js} +1 -1
- package/dist/cdn/{SCPSWHG4.js → QU6ARDF6.js} +1 -1
- package/dist/cdn/{QVOYYXIU.js → RLA7OC3V.js} +1 -1
- package/dist/cdn/{ALUQRMZW.js → RUI2QLEM.js} +1 -1
- package/dist/cdn/S3XR7KRN.js +2 -0
- package/dist/cdn/{T6CKYPI7.js → SADIYG5D.js} +1 -1
- package/dist/cdn/SRTPZO5Z.js +2 -0
- package/dist/cdn/U4S4I3VD.js +2 -0
- package/dist/cdn/{N2KU7FO4.js → UAA66BVA.js} +1 -1
- package/dist/cdn/VDTRRLON.js +2 -0
- package/dist/cdn/{CFIH5Y4K.js → YAXMVCUT.js} +1 -1
- package/dist/cdn/{5F6Q3XF5.js → ZV5BQFVT.js} +1 -1
- package/dist/cdn/assets/oriented-imagery-viewer-panoramic-viewer/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/action-utils.js +9 -9
- package/dist/chunks/graphicsLayerController.js +74 -0
- package/dist/chunks/utils3.js +13 -45
- package/dist/chunks/utils4.js +51 -0
- package/dist/chunks/zoom.js +32 -0
- package/dist/components/arcgis-aggregated-features/customElement.js +11 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +23 -18
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +125 -114
- package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-next/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-features-next/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.js +64 -132
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.d.ts +51 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1006 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.js +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicMedia.d.ts +49 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTilePlanner.d.ts +18 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTileSource.d.ts +36 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +91 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +93 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.js +2 -0
- package/dist/components/arcgis-paste/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.d.ts +3 -3
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.d.ts +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +2 -2
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-bar/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-slider/customElement.js +11 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -2
- package/dist/components/arcgis-track/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +21 -45
- package/dist/controllers/useT9n.d.ts +3 -0
- 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/index.d.ts +14 -0
- package/dist/loader.js +3 -1
- package/dist/types/lumina.d.ts +13 -0
- package/dist/types/preact.d.ts +15 -0
- package/dist/types/react.d.ts +17 -0
- package/dist/types/stencil.d.ts +13 -0
- package/package.json +4 -4
- package/dist/cdn/A5XIQWD5.js +0 -2
- package/dist/cdn/AK62SYBC.js +0 -2
- package/dist/cdn/D7DH54CE.js +0 -2
- package/dist/cdn/KBBYF7KD.js +0 -2
- package/dist/cdn/M4HY5VMM.js +0 -2
- package/dist/cdn/MBRWWICI.js +0 -2
- package/dist/cdn/OO6NV5GK.js +0 -2
- /package/dist/cdn/{MOJH7XEP.js → 3ZXNGXHC.js} +0 -0
|
@@ -9,6 +9,7 @@ import type { CatalogLayerListProperties } from "@arcgis/core/widgets/CatalogLay
|
|
|
9
9
|
import type { CatalogLayerListViewModelEvents } from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
|
|
10
10
|
import type { TableListProperties } from "@arcgis/core/widgets/TableList.js";
|
|
11
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
|
+
import type { useT9n } from "../../controllers/useT9n.js";
|
|
12
13
|
import type { VisibilityAppearance } from "../../utils/action-utils.js";
|
|
13
14
|
import type { setFilterPredicate } from "../../utils/layer-list-utils.js";
|
|
14
15
|
import type { ArcgisTableList } from "../arcgis-table-list/customElement.js";
|
|
@@ -59,22 +60,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
|
|
|
59
60
|
accessor label: string | undefined;
|
|
60
61
|
accessor listItemCreatedFunction: ListItemModifier | null | undefined;
|
|
61
62
|
/** Overwrite localized strings for this component */
|
|
62
|
-
accessor messageOverrides:
|
|
63
|
-
componentLabel?: string | undefined;
|
|
64
|
-
noItemsToDisplay?: string | undefined;
|
|
65
|
-
layerInvisibleAtScale?: string | undefined;
|
|
66
|
-
layerInvisibleAtTime?: string | undefined;
|
|
67
|
-
layerError?: string | undefined;
|
|
68
|
-
untitledLayer?: string | undefined;
|
|
69
|
-
layerVisibility?: string | undefined;
|
|
70
|
-
showLayer?: string | undefined;
|
|
71
|
-
hideLayer?: string | undefined;
|
|
72
|
-
layerIncompatible?: string | undefined;
|
|
73
|
-
layerIncompatibleTooltip?: string | undefined;
|
|
74
|
-
temporary?: string | undefined;
|
|
75
|
-
tables?: string | undefined;
|
|
76
|
-
catalogLayers?: string | undefined;
|
|
77
|
-
};
|
|
63
|
+
accessor messageOverrides: CatalogLayerListMessageOverrides;
|
|
78
64
|
/** @internal */
|
|
79
65
|
protected messages: Partial<{
|
|
80
66
|
componentLabel: string;
|
|
@@ -157,8 +143,8 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
|
|
|
157
143
|
/** @default false */
|
|
158
144
|
accessor topLayerDisabled: boolean;
|
|
159
145
|
/**
|
|
160
|
-
* The view associated with the component.
|
|
161
|
-
*
|
|
146
|
+
* The view associated with the component.
|
|
147
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-catalog-layer-list-next component will be associated with a map or scene component rather than using the `view` property.
|
|
162
148
|
*/
|
|
163
149
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
164
150
|
/** @default "default" */
|
|
@@ -170,6 +156,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
|
|
|
170
156
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
171
157
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
172
158
|
readonly arcgisSelectedItemsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
159
|
+
readonly arcgisTriggerAction: import("@arcgis/lumina").TargetedEvent<this, CatalogLayerListViewModelEvents["trigger-action"]>;
|
|
173
160
|
readonly "@eventTypes": {
|
|
174
161
|
arcgisCatalogItemsChange: ArcgisCatalogLayerListNext["arcgisCatalogItemsChange"]["detail"];
|
|
175
162
|
arcgisFilterChange: ArcgisCatalogLayerListNext["arcgisFilterChange"]["detail"];
|
|
@@ -177,6 +164,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
|
|
|
177
164
|
arcgisPropertyChange: ArcgisCatalogLayerListNext["arcgisPropertyChange"]["detail"];
|
|
178
165
|
arcgisReady: ArcgisCatalogLayerListNext["arcgisReady"]["detail"];
|
|
179
166
|
arcgisSelectedItemsChange: ArcgisCatalogLayerListNext["arcgisSelectedItemsChange"]["detail"];
|
|
167
|
+
arcgisTriggerAction: ArcgisCatalogLayerListNext["arcgisTriggerAction"]["detail"];
|
|
180
168
|
};
|
|
181
169
|
}
|
|
182
170
|
|
|
@@ -184,4 +172,21 @@ export type FlowLayer = CatalogLayer | SubtablesLayer;
|
|
|
184
172
|
|
|
185
173
|
export type FlowList = ArcgisCatalogLayerListNext | ArcgisTableList;
|
|
186
174
|
|
|
175
|
+
export type CatalogLayerListMessageOverrides = ReturnType<typeof useT9n<{
|
|
176
|
+
componentLabel: string;
|
|
177
|
+
noItemsToDisplay: string;
|
|
178
|
+
layerInvisibleAtScale: string;
|
|
179
|
+
layerInvisibleAtTime: string;
|
|
180
|
+
layerError: string;
|
|
181
|
+
untitledLayer: string;
|
|
182
|
+
layerVisibility: string;
|
|
183
|
+
showLayer: string;
|
|
184
|
+
hideLayer: string;
|
|
185
|
+
layerIncompatible: string;
|
|
186
|
+
layerIncompatibleTooltip: string;
|
|
187
|
+
temporary: string;
|
|
188
|
+
tables: string;
|
|
189
|
+
catalogLayers: string;
|
|
190
|
+
}>>["_overrides"];
|
|
191
|
+
|
|
187
192
|
export type SubtablesLayer = KnowledgeGraphLayer | MapImageLayer | TileLayer;
|
|
@@ -1,53 +1,66 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { html as
|
|
4
|
-
import { repeat as
|
|
2
|
+
import { c as O } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as n } from "lit";
|
|
4
|
+
import { repeat as A } from "lit/directives/repeat.js";
|
|
5
5
|
import { keyed as I } from "lit/directives/keyed.js";
|
|
6
|
-
import { createReactiveMap as
|
|
7
|
-
import
|
|
8
|
-
import { on as L, watch as
|
|
6
|
+
import { createReactiveMap as F } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
7
|
+
import u from "@arcgis/core/core/Collection.js";
|
|
8
|
+
import { on as L, watch as R } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
import k from "@arcgis/core/widgets/CatalogLayerList/CatalogLayerListViewModel.js";
|
|
10
10
|
import x from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
11
|
-
import {
|
|
12
|
-
import { LitElement as N, createEvent as h, renderElement as C, safeClassMap as w, nothing as F } from "@arcgis/lumina";
|
|
11
|
+
import { LitElement as D, createEvent as d, renderElement as _, safeClassMap as b, nothing as M } from "@arcgis/lumina";
|
|
13
12
|
import { usePropertyChange as B } from "@arcgis/lumina/controllers";
|
|
13
|
+
import { reEmitEvent as N } from "@arcgis/lumina/controllers/accessor";
|
|
14
14
|
import { classes as S } from "@arcgis/toolkit/dom";
|
|
15
15
|
import { generateGuid as G } from "@arcgis/toolkit/string";
|
|
16
|
+
import { createRef as H, ref as g } from "lit/directives/ref.js";
|
|
16
17
|
import { u as U } from "../../chunks/useT9n.js";
|
|
17
|
-
import { m as
|
|
18
|
+
import { m as V } from "../../chunks/useViewModel.js";
|
|
18
19
|
import { s as v } from "../../chunks/component-utils.js";
|
|
19
20
|
import { g as f } from "../../chunks/globalCss.js";
|
|
20
|
-
import { g as
|
|
21
|
-
import { ArcgisLayerListItem as
|
|
22
|
-
import { s as
|
|
23
|
-
import { c as
|
|
24
|
-
const m =
|
|
21
|
+
import { g as T, b as j, r as q, s as z, e as J } from "../../chunks/layer-list-utils.js";
|
|
22
|
+
import { ArcgisLayerListItem as K } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
|
|
23
|
+
import { s as Q, a as W } from "../../chunks/layer-list-next.js";
|
|
24
|
+
import { c as X } from "../../chunks/css.js";
|
|
25
|
+
const m = X, Y = (p) => {
|
|
25
26
|
const e = p?.type;
|
|
26
27
|
return e === "knowledge-graph" || e === "map-image" || e === "tile";
|
|
27
|
-
},
|
|
28
|
-
class
|
|
28
|
+
}, Z = (p) => p?.type === "catalog", E = "nested", ee = u.ofType(x), te = V(k);
|
|
29
|
+
class se extends D {
|
|
29
30
|
constructor() {
|
|
30
|
-
super(...arguments), this
|
|
31
|
+
super(...arguments), this.#l = `operational-${G()}`, this.#e = null, this.#o = H(), this.#i = !1, this.#t = !1, this.messages = U(), this.#r = () => {
|
|
31
32
|
this._activeItem = null;
|
|
32
|
-
}, this
|
|
33
|
+
}, this.#n = (e) => {
|
|
33
34
|
if (this.visibilityAppearance !== "default")
|
|
34
35
|
return;
|
|
35
36
|
const t = Array.from(e.composedPath()).find((s) => s.classList?.contains(m.item));
|
|
36
|
-
this._activeItem =
|
|
37
|
-
}, this
|
|
38
|
-
e && this
|
|
39
|
-
}, this
|
|
40
|
-
e && this
|
|
41
|
-
}, this
|
|
42
|
-
e && this
|
|
43
|
-
}, this.viewModel =
|
|
37
|
+
this._activeItem = T(t);
|
|
38
|
+
}, this.#a = F(), this.#s = F(), this.#c = (e) => {
|
|
39
|
+
e && this.#b(e);
|
|
40
|
+
}, this.#h = (e) => {
|
|
41
|
+
e && this.#L(e);
|
|
42
|
+
}, this.#d = (e) => {
|
|
43
|
+
e && this.#v(e);
|
|
44
|
+
}, this.viewModel = te(this), this._activeItem = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this.layerTablesEnabled = new u(["knowledge-graph"]), this.mapImageOptions = null, this.tileOptions = null, this.view = this.viewModel.view, this.hideCatalogLayerList = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.hideStatusIndicators = !1, this.showTemporaryLayerIndicators = !1, this.closed = !1, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.openedLayers = new u(), this.openedLayerLists = new u(), this.collapsed = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.minFilterItems = j, this.selectedItems = new ee(), this.selectionMode = "none", this.visibilityAppearance = "default", this.arcgisPropertyChange = B()("state"), this.arcgisReady = d(), this.arcgisCatalogItemsChange = d(), this.arcgisFilterChange = d(), this.arcgisSelectedItemsChange = d(), this.arcgisOpenedLayersChange = d(), this.arcgisTriggerAction = N(() => this.viewModel, "trigger-action");
|
|
44
45
|
}
|
|
45
46
|
static {
|
|
46
47
|
this.properties = { _catalogLayerList: 16, _activeItem: 16, _focusRootFlowItem: 16, _focusPanelFlowItem: 16, _focusLayerFlowItem: 16, _totalItems: 16, _filterEnabled: 16, _visibleItems: 16, _openedPanelItems: 16, _renderedOpenLayerFlowItems: 16, layerTablesEnabled: 16, mapImageOptions: 16, tileOptions: 16, view: 0, hideCatalogLayerList: 5, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryLayerIndicators: 5, closed: 5, topLayerDisabled: 5, autoDestroyDisabled: 5, referenceElement: 1, state: 32, openedLayers: 32, openedLayerLists: 32, catalogItems: 0, catalogLayer: 0, catalogOptions: 0, collapsed: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, minFilterItems: 9, selectedItems: 0, selectionMode: 1, visibilityAppearance: 1, messageOverrides: 0, onCatalogOpen: 0, onTablesOpen: 0 };
|
|
47
48
|
}
|
|
48
49
|
static {
|
|
49
|
-
this.styles = [
|
|
50
|
-
}
|
|
50
|
+
this.styles = [Q, W];
|
|
51
|
+
}
|
|
52
|
+
#l;
|
|
53
|
+
#e;
|
|
54
|
+
#o;
|
|
55
|
+
#i;
|
|
56
|
+
#t;
|
|
57
|
+
#r;
|
|
58
|
+
#n;
|
|
59
|
+
#a;
|
|
60
|
+
#s;
|
|
61
|
+
#c;
|
|
62
|
+
#h;
|
|
63
|
+
#d;
|
|
51
64
|
get _totalItems() {
|
|
52
65
|
return this.catalogItems?.flatten((e) => e.children.filter((t) => t.layer?.type !== "catalog-dynamic-group")).length ?? 0;
|
|
53
66
|
}
|
|
@@ -62,7 +75,7 @@ class te extends N {
|
|
|
62
75
|
}
|
|
63
76
|
get _renderedOpenLayerFlowItems() {
|
|
64
77
|
const { openedLayers: e } = this;
|
|
65
|
-
return e.toArray().map((t, s) => this
|
|
78
|
+
return e.toArray().map((t, s) => this.#k(t, s === e.length - 1));
|
|
66
79
|
}
|
|
67
80
|
get catalogItems() {
|
|
68
81
|
return this.viewModel.catalogItems;
|
|
@@ -77,68 +90,66 @@ class te extends N {
|
|
|
77
90
|
this.viewModel.catalogLayer = e;
|
|
78
91
|
}
|
|
79
92
|
async destroy() {
|
|
80
|
-
this
|
|
93
|
+
this.#i || this.#t || (this.#i = !0, this.#e?.abort(), this.#e = null, await this.manager.destroy(), this.openedLayerLists.removeAll(), this.openedLayers.removeAll(), this.#s.clear(), this.#a.clear(), this.#t = !0, this.#i = !1);
|
|
81
94
|
}
|
|
82
95
|
loaded() {
|
|
83
96
|
this.manager.onLifecycle(() => [
|
|
84
97
|
L(() => this.openedLayers, "change", () => {
|
|
85
|
-
this
|
|
98
|
+
this.#w();
|
|
86
99
|
}),
|
|
87
100
|
L(() => this.viewModel.catalogItems, "change", () => {
|
|
88
|
-
|
|
101
|
+
q(this.selectedItems), this.arcgisCatalogItemsChange.emit();
|
|
89
102
|
}),
|
|
90
103
|
L(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
|
|
91
|
-
|
|
104
|
+
R(() => [this.filterPredicate, this.#o.value], () => z(this.#o.value, this.filterPredicate))
|
|
92
105
|
]);
|
|
93
106
|
}
|
|
94
107
|
disconnectedCallback() {
|
|
95
|
-
super.disconnectedCallback(), this
|
|
96
|
-
}
|
|
97
|
-
loadDependencies() {
|
|
108
|
+
super.disconnectedCallback(), this.#e?.abort(), this.#e = null, !this.autoDestroyDisabled && !this.#t && !this.#i && this.destroy();
|
|
98
109
|
}
|
|
99
|
-
|
|
110
|
+
#u(e, t) {
|
|
100
111
|
return this.viewModel.triggerAction(e, t);
|
|
101
112
|
}
|
|
102
|
-
async
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
105
|
-
return
|
|
106
|
-
const
|
|
107
|
-
return t.aborted || !this.isConnected || this
|
|
113
|
+
async #y(e, t) {
|
|
114
|
+
const s = this.#s.get(e);
|
|
115
|
+
if (s)
|
|
116
|
+
return s;
|
|
117
|
+
const a = e.type === "catalog" ? await this.#$(e) : await this.#F(e);
|
|
118
|
+
return t.aborted || !this.isConnected || this.#t ? (a?.destroy?.(), a) : (t.aborted || this.#s.set(e, a), a);
|
|
108
119
|
}
|
|
109
|
-
async
|
|
110
|
-
if (!this.isConnected || this
|
|
120
|
+
async #w() {
|
|
121
|
+
if (!this.isConnected || this.#t)
|
|
111
122
|
return;
|
|
112
|
-
const {
|
|
113
|
-
this
|
|
114
|
-
const
|
|
115
|
-
this
|
|
116
|
-
|
|
123
|
+
const { openedLayers: e, openedLayerLists: t } = this;
|
|
124
|
+
this.#e?.abort();
|
|
125
|
+
const s = new AbortController(), { signal: a } = s;
|
|
126
|
+
this.#e = s, this.#s.forEach((r, c) => {
|
|
127
|
+
e.includes(c) || (r?.destroy?.(), this.#s.delete(c));
|
|
117
128
|
});
|
|
118
|
-
const
|
|
119
|
-
if (
|
|
129
|
+
const o = await Promise.all(e.map((r) => this.#y(r, a)));
|
|
130
|
+
if (a.aborted || !this.isConnected || this.#t)
|
|
120
131
|
return;
|
|
121
|
-
|
|
122
|
-
const
|
|
123
|
-
this._catalogLayerList !==
|
|
132
|
+
t.removeAll(), t.addMany(o);
|
|
133
|
+
const i = t.at(-1), l = i && "catalogLayer" in i ? i : void 0;
|
|
134
|
+
this._catalogLayerList !== l && (this._catalogLayerList = l), this.arcgisOpenedLayersChange.emit();
|
|
124
135
|
}
|
|
125
|
-
|
|
136
|
+
#I(e) {
|
|
126
137
|
e.open = !1, this._focusRootFlowItem = !0;
|
|
127
138
|
}
|
|
128
|
-
|
|
139
|
+
#L(e) {
|
|
129
140
|
this._focusRootFlowItem && (this._focusRootFlowItem = !1, v(e));
|
|
130
141
|
}
|
|
131
|
-
|
|
142
|
+
#b(e) {
|
|
132
143
|
this._focusPanelFlowItem && (this._focusPanelFlowItem = !1, v(e));
|
|
133
144
|
}
|
|
134
|
-
|
|
145
|
+
#v(e) {
|
|
135
146
|
this._focusLayerFlowItem === e.dataset.layerUid && (this._focusLayerFlowItem = null, v(e));
|
|
136
147
|
}
|
|
137
|
-
async
|
|
138
|
-
const { headingLevel: t, catalogOptions: s, view:
|
|
139
|
-
return
|
|
148
|
+
async #$(e) {
|
|
149
|
+
const { headingLevel: t, catalogOptions: s, view: a, referenceElement: o, filterPlaceholder: i, listItemCreatedFunction: l, minFilterItems: r, selectionMode: c, visibilityAppearance: h } = this;
|
|
150
|
+
return _(n`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? l} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? c} .visibilityAppearance=${s?.visibilityAppearance ?? h} .showErrors=${s?.visibleElements?.errors ?? this.showErrors} .showFilter=${s?.visibleElements?.filter ?? this.showFilter} .hideStatusIndicators=${s?.visibleElements?.statusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.visibleElements?.temporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(y) => y.stopPropagation()} .catalogLayer=${e} .view=${a} .referenceElement=${o} @catalogOpen=${this.#p} @tablesOpen=${this.#m}></arcgis-catalog-layer-list-next>`);
|
|
140
151
|
}
|
|
141
|
-
|
|
152
|
+
#C(e) {
|
|
142
153
|
switch (e.type) {
|
|
143
154
|
case "knowledge-graph":
|
|
144
155
|
return { ...this.knowledgeGraphOptions, tables: e.tables };
|
|
@@ -156,95 +167,95 @@ class te extends N {
|
|
|
156
167
|
return null;
|
|
157
168
|
}
|
|
158
169
|
}
|
|
159
|
-
async
|
|
160
|
-
const { headingLevel: t, selectionMode: s, referenceElement:
|
|
161
|
-
return
|
|
170
|
+
async #F(e) {
|
|
171
|
+
const { headingLevel: t, selectionMode: s, referenceElement: a, view: o } = this, i = this.#C(e);
|
|
172
|
+
return _(n`<arcgis-table-list .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .label=${i?.label} .tables=${i?.tables} .view=${o} .referenceElement=${a} @arcgisReady=${(l) => l.stopPropagation()}></arcgis-table-list>`);
|
|
162
173
|
}
|
|
163
|
-
|
|
174
|
+
#m(e) {
|
|
164
175
|
if (this.onTablesOpen) {
|
|
165
176
|
this.onTablesOpen(e);
|
|
166
177
|
return;
|
|
167
178
|
}
|
|
168
179
|
const t = e.layer;
|
|
169
|
-
|
|
180
|
+
Y(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = t.uid);
|
|
170
181
|
}
|
|
171
|
-
|
|
182
|
+
#p(e) {
|
|
172
183
|
if (this.onCatalogOpen) {
|
|
173
184
|
this.onCatalogOpen(e);
|
|
174
185
|
return;
|
|
175
186
|
}
|
|
176
187
|
const t = e.layer?.parent;
|
|
177
|
-
|
|
188
|
+
Z(t) && (this.openedLayers.push(t), this._focusLayerFlowItem = e.layer?.uid);
|
|
178
189
|
}
|
|
179
|
-
|
|
180
|
-
t ? this.
|
|
190
|
+
#_(e, t) {
|
|
191
|
+
t ? this.#a.set(e, t) : this.#a.delete(e);
|
|
181
192
|
}
|
|
182
|
-
|
|
183
|
-
this
|
|
193
|
+
#M(e, t) {
|
|
194
|
+
this.#u(e, t);
|
|
184
195
|
}
|
|
185
|
-
|
|
196
|
+
#T(e) {
|
|
186
197
|
const { selectionMode: t, selectedItems: s } = this;
|
|
187
198
|
if (t === "none")
|
|
188
199
|
return;
|
|
189
|
-
const
|
|
190
|
-
s.removeAll(), s.addMany(
|
|
200
|
+
const a = e.target.selectedItems.map((o) => T(o)).filter(Boolean);
|
|
201
|
+
s.removeAll(), s.addMany(a);
|
|
191
202
|
}
|
|
192
203
|
render() {
|
|
193
204
|
const { state: e } = this, t = {
|
|
194
205
|
[f.hidden]: e === "loading",
|
|
195
206
|
[f.disabled]: e === "disabled"
|
|
196
207
|
};
|
|
197
|
-
return
|
|
208
|
+
return n`<div class=${b(S(f.widget, f.panel, t))}>${this._visibleItems?.length ? this.#P() : null}${this.#R()}</div>`;
|
|
198
209
|
}
|
|
199
|
-
|
|
200
|
-
const
|
|
201
|
-
return e?.layer ?
|
|
210
|
+
#E(e) {
|
|
211
|
+
const t = this.#a, s = this.messages;
|
|
212
|
+
return e?.layer ? n`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer.uid)} .topLayerDisabled=${this.topLayerDisabled}>${s.layerIncompatibleTooltip}</calcite-tooltip>` : null;
|
|
202
213
|
}
|
|
203
|
-
|
|
204
|
-
return e.incompatible ? this
|
|
214
|
+
#g(e) {
|
|
215
|
+
return e.incompatible ? this.#E(e) : e.children?.filter((t) => !t.hidden).toArray().map((t) => this.#g(t));
|
|
205
216
|
}
|
|
206
|
-
|
|
207
|
-
return this._visibleItems?.toArray().map((e) => this
|
|
217
|
+
#P() {
|
|
218
|
+
return this._visibleItems?.toArray().map((e) => this.#g(e));
|
|
208
219
|
}
|
|
209
|
-
|
|
210
|
-
return
|
|
220
|
+
#f() {
|
|
221
|
+
return n`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
211
222
|
}
|
|
212
|
-
|
|
213
|
-
return
|
|
223
|
+
#O() {
|
|
224
|
+
return n`<div class=${b(m.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#f()}</calcite-notice></div>`;
|
|
214
225
|
}
|
|
215
|
-
|
|
226
|
+
#A() {
|
|
216
227
|
const { _openedPanelItems: e, openedLayers: t } = this;
|
|
217
|
-
return
|
|
218
|
-
const { uid: o, title:
|
|
219
|
-
return
|
|
220
|
-
c.preventDefault(),
|
|
221
|
-
}} ${g(this
|
|
228
|
+
return A(e.toArray(), ({ uid: s }) => s, (s, a) => {
|
|
229
|
+
const { uid: o, title: i, panel: l } = s, r = () => this.#I(l);
|
|
230
|
+
return n`<calcite-flow-item .description=${i} .heading=${l.title} .headingLevel=${this.headingLevel} .selected=${!t.length && a === e.length - 1} @calciteFlowItemBack=${(c) => {
|
|
231
|
+
c.preventDefault(), r();
|
|
232
|
+
}} ${g(this.#c)}><arcgis-layer-list-item-panel .item=${s} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent slot=footer-actions width=full @click=${r}>Back</calcite-button></calcite-flow-item>`;
|
|
222
233
|
});
|
|
223
234
|
}
|
|
224
|
-
|
|
225
|
-
const { collapsed: e, _visibleItems: t, _filterEnabled: s,
|
|
226
|
-
|
|
227
|
-
this.filterText =
|
|
228
|
-
}} @mouseleave=${this
|
|
229
|
-
this
|
|
235
|
+
#R() {
|
|
236
|
+
const { collapsed: e, _visibleItems: t, _filterEnabled: s, showCloseButton: a, showCollapseButton: o, showHeading: i, selectionMode: l, filterText: r, filterPlaceholder: c, openedLayers: h, _openedPanelItems: y } = this, $ = this.#l, C = this.label ?? this.messages.componentLabel ?? "", P = [
|
|
237
|
+
n`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${i ? C : void 0} .headingLevel=${this.headingLevel} .selected=${!h.length && !y.length} @calciteFlowItemClose=${() => this.closed = !0} ${g(this.#h)}>${t?.length ? n`<calcite-list data-layer-type=${$ ?? M} .displayMode=${E} .filterEnabled=${s} .filterPlaceholder=${c} .filterProps=${J} .filterText=${s ? r : ""} .group=${$} .label=${C} @focusin=${this.#n} @focusout=${this.#r} selection-appearance=border .selectionMode=${l} @calciteListChange=${this.#T} @calciteListFilter=${(w) => {
|
|
238
|
+
this.filterText = w.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
|
|
239
|
+
}} @mouseleave=${this.#r} @mouseover=${this.#n} ${g(this.#o)}>${t.toArray().map((w) => this.#x(w))}${s ? n`<div class=${b(m.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#f()}</calcite-notice></div>` : null}</calcite-list>` : this.#O()}</calcite-flow-item>`,
|
|
240
|
+
this.#A(),
|
|
230
241
|
this._renderedOpenLayerFlowItems
|
|
231
242
|
];
|
|
232
|
-
return this.closed ? null : I("root-flow",
|
|
243
|
+
return this.closed ? null : I("root-flow", n`<calcite-flow>${P}</calcite-flow>`);
|
|
233
244
|
}
|
|
234
|
-
|
|
235
|
-
const {
|
|
236
|
-
return I(e.uid,
|
|
237
|
-
|
|
238
|
-
const
|
|
239
|
-
|
|
240
|
-
}} ${g(this
|
|
245
|
+
#k(e, t) {
|
|
246
|
+
const { openedLayers: s } = this, a = e.title || this.messages.untitledLayer;
|
|
247
|
+
return I(e.uid, n`<calcite-flow-item data-layer-uid=${e.uid ?? M} .description=${a} .heading=${this.messages[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(o) => {
|
|
248
|
+
o.preventDefault(), s.pop();
|
|
249
|
+
const i = s.at(-1);
|
|
250
|
+
i ? this._focusLayerFlowItem = i.uid : this._focusRootFlowItem = !0;
|
|
251
|
+
}} ${g(this.#d)}>${this.#s.get(e)}</calcite-flow-item>`);
|
|
241
252
|
}
|
|
242
|
-
|
|
243
|
-
const { hideStatusIndicators:
|
|
244
|
-
return I(e.uid,
|
|
253
|
+
#x(e, t, s) {
|
|
254
|
+
const { hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: c, showTemporaryLayerIndicators: h } = this;
|
|
255
|
+
return I(e.uid, K({ activeItem: this._activeItem ?? void 0, css: { ...m, itemCatalogIcon: m.itemActionIcon }, displayMode: E, dragEnabled: !1, item: e, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, parent: t, parentTitles: s, rootGroupUid: this.#l, selectedItems: this.selectedItems, selectionMode: this.selectionMode, visibilityAppearance: this.visibilityAppearance, hideStatusIndicators: a, showCloseButton: o, showCollapseButton: i, showErrors: l, showFilter: r, showHeading: c, showTemporaryLayerIndicators: h, handleAction: this.#M.bind(this), handleCatalogOpen: this.#p.bind(this), handleTablesOpen: this.#m.bind(this), handleTooltipReferenceChange: this.#_.bind(this), view: this.view }));
|
|
245
256
|
}
|
|
246
257
|
}
|
|
247
|
-
|
|
258
|
+
O("arcgis-catalog-layer-list-next", se);
|
|
248
259
|
export {
|
|
249
|
-
|
|
260
|
+
se as ArcgisCatalogLayerListNext
|
|
250
261
|
};
|
|
@@ -44,8 +44,8 @@ export abstract class ArcgisClipboard extends LitElement {
|
|
|
44
44
|
*/
|
|
45
45
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
46
46
|
/**
|
|
47
|
-
* The view associated with the component.
|
|
48
|
-
*
|
|
47
|
+
* The view associated with the component.
|
|
48
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-clipboard component will be associated with a map or scene component rather than using the `view` property.
|
|
49
49
|
*/
|
|
50
50
|
accessor view: MapView | SceneView | undefined;
|
|
51
51
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
@@ -81,8 +81,8 @@ export abstract class ArcgisCompass extends LitElement {
|
|
|
81
81
|
*/
|
|
82
82
|
get state(): CompassState;
|
|
83
83
|
/**
|
|
84
|
-
* The view associated with the component.
|
|
85
|
-
*
|
|
84
|
+
* The view associated with the component.
|
|
85
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-compass component will be associated with a map or scene component rather than using the `view` property.
|
|
86
86
|
*/
|
|
87
87
|
accessor view: MapView | SceneView | undefined;
|
|
88
88
|
/**
|
|
@@ -362,8 +362,8 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
362
362
|
*/
|
|
363
363
|
accessor storageType: StorageType;
|
|
364
364
|
/**
|
|
365
|
-
* The view associated with the component.
|
|
366
|
-
*
|
|
365
|
+
* The view associated with the component.
|
|
366
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion component will be associated with a map or scene component rather than using the `view` property.
|
|
367
367
|
*/
|
|
368
368
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
369
369
|
/** Permanently destroy the component. */
|
|
@@ -386,8 +386,8 @@ export abstract class ArcgisCoordinateConversionNext extends LitElement {
|
|
|
386
386
|
*/
|
|
387
387
|
accessor verticalUnit: LengthUnit;
|
|
388
388
|
/**
|
|
389
|
-
* The view associated with the component.
|
|
390
|
-
*
|
|
389
|
+
* The view associated with the component.
|
|
390
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-coordinate-conversion-next component will be associated with a map or scene component rather than using the `view` property.
|
|
391
391
|
*/
|
|
392
392
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
393
393
|
/**
|
|
@@ -290,8 +290,8 @@ export abstract class ArcgisDaylight extends LitElement {
|
|
|
290
290
|
*/
|
|
291
291
|
accessor utcOffset: number | null | undefined;
|
|
292
292
|
/**
|
|
293
|
-
* The view associated with the component.
|
|
294
|
-
*
|
|
293
|
+
* The view associated with the component.
|
|
294
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-daylight component will be associated with a map or scene component rather than using the `view` property.
|
|
295
295
|
*/
|
|
296
296
|
accessor view: SceneView | undefined;
|
|
297
297
|
/**
|
|
@@ -218,8 +218,8 @@ export abstract class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
|
218
218
|
*/
|
|
219
219
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
220
220
|
/**
|
|
221
|
-
* The view associated with the component.
|
|
222
|
-
*
|
|
221
|
+
* The view associated with the component.
|
|
222
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-direct-line-measurement-3d component will be associated with a map or scene component rather than using the `view` property.
|
|
223
223
|
*/
|
|
224
224
|
accessor view: SceneView | undefined;
|
|
225
225
|
/** Clears the current measurement. */
|
|
@@ -121,8 +121,8 @@ export abstract class ArcgisDirectionalPad extends LitElement {
|
|
|
121
121
|
/** The current state of the component. */
|
|
122
122
|
get state(): DirectionalPadViewModelState;
|
|
123
123
|
/**
|
|
124
|
-
* The view associated with the component.
|
|
125
|
-
*
|
|
124
|
+
* The view associated with the component.
|
|
125
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-directional-pad component will be associated with a map or scene component rather than using the `view` property.
|
|
126
126
|
*/
|
|
127
127
|
accessor view: MapView | null | undefined;
|
|
128
128
|
/**
|
|
@@ -234,8 +234,8 @@ export abstract class ArcgisDirections extends LitElement {
|
|
|
234
234
|
*/
|
|
235
235
|
accessor useDefaultRouteLayer: boolean;
|
|
236
236
|
/**
|
|
237
|
-
* The view associated with the component.
|
|
238
|
-
*
|
|
237
|
+
* The view associated with the component.
|
|
238
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-directions component will be associated with a map or scene component rather than using the `view` property.
|
|
239
239
|
*/
|
|
240
240
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
241
241
|
/** Permanently destroy the component. */
|
|
@@ -189,8 +189,8 @@ export abstract class ArcgisDistanceMeasurement2d extends LitElement {
|
|
|
189
189
|
*/
|
|
190
190
|
accessor unitOptions: Array<SystemOrLengthUnit>;
|
|
191
191
|
/**
|
|
192
|
-
* The view associated with the component.
|
|
193
|
-
*
|
|
192
|
+
* The view associated with the component.
|
|
193
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-distance-measurement-2d component will be associated with a map or scene component rather than using the `view` property.
|
|
194
194
|
*/
|
|
195
195
|
accessor view: MapView | undefined;
|
|
196
196
|
/** Clears the current measurement. */
|
|
@@ -94,7 +94,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
94
94
|
*
|
|
95
95
|
* @default false
|
|
96
96
|
* @internal
|
|
97
|
-
* @
|
|
97
|
+
* @since 5.1
|
|
98
98
|
*/
|
|
99
99
|
accessor hideSelectionToolbar: boolean;
|
|
100
100
|
/**
|
|
@@ -398,8 +398,8 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
398
398
|
*/
|
|
399
399
|
accessor useLegacyCreateTools: boolean;
|
|
400
400
|
/**
|
|
401
|
-
* The view associated with the component.
|
|
402
|
-
*
|
|
401
|
+
* The view associated with the component.
|
|
402
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-editor component will be associated with a map or scene component rather than using the `view` property.
|
|
403
403
|
*/
|
|
404
404
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
405
405
|
/**
|
|
@@ -499,8 +499,8 @@ export abstract class ArcgisElevationProfile extends LitElement {
|
|
|
499
499
|
*/
|
|
500
500
|
accessor uniformChartScaling: boolean;
|
|
501
501
|
/**
|
|
502
|
-
* The view associated with the component.
|
|
503
|
-
*
|
|
502
|
+
* The view associated with the component.
|
|
503
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-elevation-profile component will be associated with a map or scene component rather than using the `view` property.
|
|
504
504
|
*/
|
|
505
505
|
accessor view: MapView | SceneView | undefined;
|
|
506
506
|
/**
|