@arcgis/map-components 6.0.0-next.8 → 6.0.0-next.9
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/4UDLUCTE.js +2 -0
- package/dist/cdn/5ITYFVDX.js +2 -0
- package/dist/cdn/7YHGGHJY.js +2 -0
- package/dist/cdn/{7ODW3J2D.js → BV6ID43I.js} +1 -1
- package/dist/cdn/CCBLZGVL.js +2 -0
- package/dist/cdn/{43ETXXS2.js → EVV5ZWO2.js} +1 -1
- package/dist/cdn/F4S2DPYN.js +2 -0
- package/dist/cdn/FMSA7336.js +2 -0
- package/dist/cdn/NUFSYQAJ.js +2 -0
- package/dist/cdn/{WO26ZR5Z.js → PIKYAUGU.js} +1 -1
- package/dist/cdn/{44CQCIZB.js → PSWXIEFK.js} +1 -1
- package/dist/cdn/QPW7LQT2.js +2 -0
- package/dist/cdn/{XZDVW553.js → QYUGC46B.js} +1 -1
- package/dist/cdn/RK65HKUN.js +2 -0
- package/dist/cdn/SKP3TGF4.js +2 -0
- package/dist/cdn/U73UTEIN.js +2 -0
- package/dist/cdn/WJG5SEIL.js +2 -0
- package/dist/cdn/ZDTIOBXY.js +2 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +120 -106
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.js +93 -89
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -18
- package/dist/components/arcgis-link-chart/customElement.js +5 -5
- package/dist/components/arcgis-map/customElement.d.ts +20 -18
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.js +7 -7
- package/dist/components/arcgis-scene/customElement.d.ts +20 -18
- package/dist/components/arcgis-scene/customElement.js +9 -9
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +16 -16
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.js +6 -6
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.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 +3 -3
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +6 -6
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { html as
|
|
3
|
-
import { initializeProjection as
|
|
4
|
-
import { signal as
|
|
5
|
-
import {
|
|
2
|
+
import { html as C } from "lit";
|
|
3
|
+
import { initializeProjection as R } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
4
|
+
import { signal as O } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
5
|
+
import { watch as u, when as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import P from "@arcgis/core/geometry/Point.js";
|
|
7
7
|
import F from "@arcgis/core/Graphic.js";
|
|
8
8
|
import { GenericController as L, useDirection as G, makeController as M, makeGenericController as _ } from "@arcgis/lumina/controllers";
|
|
@@ -12,63 +12,66 @@ import { createRef as V } from "lit/directives/ref.js";
|
|
|
12
12
|
import { c as k, S as x } from "./slots.js";
|
|
13
13
|
import { i as T, t as H } from "./async-utils.js";
|
|
14
14
|
import { observeAncestorsMutation as j, unsafeGetCalciteModeName as q } from "@arcgis/toolkit/dom";
|
|
15
|
-
import { createEvent as
|
|
16
|
-
async function* U(
|
|
17
|
-
for (const e of
|
|
18
|
-
const
|
|
15
|
+
import { createEvent as S } from "@arcgis/lumina";
|
|
16
|
+
async function* U(n, t) {
|
|
17
|
+
for (const e of n) {
|
|
18
|
+
const i = await y(e, t).catch(() => {
|
|
19
19
|
});
|
|
20
20
|
if (t.aborted)
|
|
21
21
|
return;
|
|
22
|
-
yield* Array.isArray(
|
|
22
|
+
yield* Array.isArray(i) ? i.filter((o) => o instanceof F) : [];
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
async function* v() {
|
|
26
26
|
yield* [];
|
|
27
27
|
}
|
|
28
|
-
async function* K(
|
|
29
|
-
await y(
|
|
28
|
+
async function* K(n, t) {
|
|
29
|
+
await y(n, t).catch(() => {
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
async function N(
|
|
33
|
-
let
|
|
34
|
-
if (e instanceof P ? (await
|
|
32
|
+
async function N(n, t, e, i) {
|
|
33
|
+
let o;
|
|
34
|
+
if (e instanceof P ? (await R(e.spatialReference, n.spatialReference), H(i.signal), o = n.toScreen(e)) : o = e, !o)
|
|
35
35
|
return v();
|
|
36
|
-
const
|
|
37
|
-
...
|
|
36
|
+
const r = Promise.withResolvers(), a = n.fetchPopupFeatures(o, {
|
|
37
|
+
...i,
|
|
38
38
|
defaultPopupTemplateEnabled: t.defaultPopupTemplateEnabled,
|
|
39
|
-
hitTestResolver:
|
|
39
|
+
hitTestResolver: r
|
|
40
40
|
}) ?? v();
|
|
41
|
-
return await
|
|
41
|
+
return await r.promise, a;
|
|
42
42
|
}
|
|
43
|
-
function d(
|
|
43
|
+
function d(n, t) {
|
|
44
44
|
if (t instanceof P)
|
|
45
45
|
return t;
|
|
46
46
|
const e = "width" in t ? { x: t.x + t.width / 2, y: t.y + t.height / 2 } : t;
|
|
47
|
-
return
|
|
47
|
+
return n.toMap(e) ?? void 0;
|
|
48
48
|
}
|
|
49
|
-
async function $(
|
|
50
|
-
const
|
|
49
|
+
async function $(n, t, e, i) {
|
|
50
|
+
const o = {};
|
|
51
51
|
return {
|
|
52
|
-
diagnostics:
|
|
53
|
-
featureStream: await N(
|
|
54
|
-
diagnostics:
|
|
55
|
-
signal:
|
|
52
|
+
diagnostics: o,
|
|
53
|
+
featureStream: await N(n, t, e, {
|
|
54
|
+
diagnostics: o,
|
|
55
|
+
signal: i
|
|
56
56
|
}),
|
|
57
|
-
location: d(
|
|
57
|
+
location: d(n, e)
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
class
|
|
60
|
+
class re extends L {
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region Lifecycle
|
|
63
63
|
constructor(t) {
|
|
64
|
-
super(t), this.direction = G(), this.popupRef = V(), this._popupElement =
|
|
65
|
-
const
|
|
66
|
-
if (
|
|
67
|
-
const { name:
|
|
68
|
-
this.webGLError = { name:
|
|
64
|
+
super(t), this.direction = G(), this.popupRef = V(), this._popupElement = O(void 0), this._popupAbortController = null, this._popupClickOpenCount = 0, this.slotGroupRefs = k(), this.attributionHeight = 0, this._uiContainer = null, this.component.listenOn(globalThis, "unhandledrejection", (e) => {
|
|
65
|
+
const i = e.reason;
|
|
66
|
+
if (i?.name === "webgl:required") {
|
|
67
|
+
const { name: o } = i;
|
|
68
|
+
this.webGLError = { name: o };
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
+
get _focusRegionSelectionSupported() {
|
|
73
|
+
return !this.component.popupDisabled && (this.component.popupComponentEnabled || !!this.popupElement && this.popupElement !== this._defaultPopupElement);
|
|
74
|
+
}
|
|
72
75
|
get popupElement() {
|
|
73
76
|
return this._popupElement.value;
|
|
74
77
|
}
|
|
@@ -78,33 +81,44 @@ class ne extends L {
|
|
|
78
81
|
//#endregion
|
|
79
82
|
//#region Private Methods
|
|
80
83
|
hostLifecycle() {
|
|
84
|
+
const { view: t } = this.component, e = t.focusRegionShortcutEnabled;
|
|
81
85
|
return [
|
|
82
|
-
|
|
83
|
-
this.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
() => this.component.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
86
|
+
...[
|
|
87
|
+
u(() => this.component.focusRegionShortcutEnabled ?? this._focusRegionSelectionSupported, (o) => {
|
|
88
|
+
this.component.view.focusRegionShortcutEnabled = o;
|
|
89
|
+
}, { initial: !0, sync: !0 }),
|
|
90
|
+
A(() => this.component.view.ready, () => {
|
|
91
|
+
this._assignDefaultPopup();
|
|
92
|
+
}),
|
|
93
|
+
u(() => this.component.view.popup?.visible, (o, r) => {
|
|
94
|
+
(o || r) && this._cancelPopupOperation(), o && this.popupElement?.open && (this.popupElement.open = !1);
|
|
95
|
+
}, { initial: !0 }),
|
|
96
|
+
u(
|
|
97
|
+
() => this.component.popupElement?.open,
|
|
98
|
+
(o, r) => {
|
|
99
|
+
r && !o && this._cancelPopupOperation();
|
|
100
|
+
},
|
|
101
|
+
// Using sync to preemptively prevent a close notification from canceling a replacement operation.
|
|
102
|
+
{ initial: !0, sync: !0 }
|
|
103
|
+
),
|
|
104
|
+
this.component.view.on("focus-region-select", (o) => this._handleFocusRegionSelect(o)),
|
|
105
|
+
this.component.view.on(
|
|
106
|
+
"click",
|
|
107
|
+
[],
|
|
108
|
+
(o) => {
|
|
109
|
+
const r = o.native;
|
|
110
|
+
o.button !== 0 || r?.ctrlKey || r?.metaKey || this._handleOpenPopup(o).catch(() => {
|
|
111
|
+
});
|
|
112
|
+
},
|
|
113
|
+
// @ts-ignore: Core supports a click listener priority argument, needed for Popup click
|
|
114
|
+
-2
|
|
115
|
+
)
|
|
116
|
+
],
|
|
117
|
+
{
|
|
118
|
+
remove: () => {
|
|
119
|
+
t.focusRegionShortcutEnabled = e;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
108
122
|
];
|
|
109
123
|
}
|
|
110
124
|
hostDestroy() {
|
|
@@ -112,39 +126,39 @@ class ne extends L {
|
|
|
112
126
|
}
|
|
113
127
|
async openPopup(t = {}) {
|
|
114
128
|
this._assignDefaultPopup();
|
|
115
|
-
const e = this.popupElement,
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
if (this._popupAbortController =
|
|
119
|
-
const { fetchFeatures: a, shouldFocus: h, title:
|
|
120
|
-
p &&
|
|
121
|
-
}), e.featureStream = K(
|
|
129
|
+
const e = this.popupElement, i = t.location ?? e?.location, o = !!e && !t.featureStream && !t.promises?.length && !!t.fetchFeatures && !!i;
|
|
130
|
+
this._cancelPopupOperation();
|
|
131
|
+
const r = new AbortController();
|
|
132
|
+
if (this._popupAbortController = r, e) {
|
|
133
|
+
const { fetchFeatures: a, shouldFocus: h, title: l, featureStream: E, promises: b, location: c, ...g } = t, m = c ? d(this.component.view, c) : void 0, w = c ?? i, p = o && w ? $(this.component.view, e, w, r.signal) : null, f = p ? Promise.withResolvers() : null;
|
|
134
|
+
p && f && (p.catch(() => {
|
|
135
|
+
}), e.featureStream = K(f.promise, r.signal));
|
|
122
136
|
try {
|
|
123
137
|
await e.componentOnReady();
|
|
124
138
|
} catch (s) {
|
|
125
|
-
throw p && this._isCurrentPopupOperation(
|
|
139
|
+
throw p && this._isCurrentPopupOperation(r) && (r.abort(), e.open = !1, await e.clear()), s;
|
|
126
140
|
}
|
|
127
|
-
if (!this._isCurrentPopupOperation(
|
|
141
|
+
if (!this._isCurrentPopupOperation(r))
|
|
128
142
|
return;
|
|
129
143
|
if (p)
|
|
130
144
|
try {
|
|
131
145
|
const s = await p;
|
|
132
|
-
if (!this._isCurrentPopupOperation(
|
|
146
|
+
if (!this._isCurrentPopupOperation(r))
|
|
133
147
|
return;
|
|
134
|
-
Object.assign(e,
|
|
148
|
+
Object.assign(e, g), l !== void 0 && (e.heading = l), await e.openFeatureStream(s);
|
|
135
149
|
} catch (s) {
|
|
136
150
|
if (!T(s))
|
|
137
|
-
throw this._isCurrentPopupOperation(
|
|
151
|
+
throw this._isCurrentPopupOperation(r) && (e.open = !1, await e.clear()), s;
|
|
138
152
|
return;
|
|
139
153
|
} finally {
|
|
140
|
-
|
|
154
|
+
f?.resolve();
|
|
141
155
|
}
|
|
142
156
|
else
|
|
143
|
-
Object.assign(e,
|
|
144
|
-
featureStream: U(b,
|
|
145
|
-
location:
|
|
146
|
-
}) : (e.featureStream = null,
|
|
147
|
-
h && this._isCurrentPopupOperation(
|
|
157
|
+
Object.assign(e, g), l !== void 0 && (e.heading = l), E ? await e.openFeatureStream({ featureStream: E, location: m }) : b?.length ? await e.openFeatureStream({
|
|
158
|
+
featureStream: U(b, r.signal),
|
|
159
|
+
location: m
|
|
160
|
+
}) : (e.featureStream = null, c !== void 0 && (e.location = m), e.open = !0);
|
|
161
|
+
h && this._isCurrentPopupOperation(r) && await e.setFocus();
|
|
148
162
|
} else {
|
|
149
163
|
const { location: a, ...h } = t;
|
|
150
164
|
await this.component.view.openPopup({
|
|
@@ -154,7 +168,7 @@ class ne extends L {
|
|
|
154
168
|
}
|
|
155
169
|
}
|
|
156
170
|
closePopup() {
|
|
157
|
-
this._cancelPopupOperation(), this.popupElement
|
|
171
|
+
this._cancelPopupOperation(), this.popupElement ? (this.popupElement.open = !1, this.popupElement.clear()) : this.component.view.closePopup();
|
|
158
172
|
}
|
|
159
173
|
_cancelPopupOperation() {
|
|
160
174
|
this._popupAbortController?.abort(), this._popupAbortController = null;
|
|
@@ -163,7 +177,7 @@ class ne extends L {
|
|
|
163
177
|
return this._popupAbortController === t && !t.signal.aborted;
|
|
164
178
|
}
|
|
165
179
|
_assignDefaultPopup() {
|
|
166
|
-
this.popupRef.value && !this.popupElement && (this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
|
|
180
|
+
this.popupRef.value && !this.popupElement && (this._defaultPopupElement = this.popupRef.value, this.popupElement = this.popupRef.value, this.popupElement.referenceElement = this.component.el, this.popupElement.view = this.component.view);
|
|
167
181
|
}
|
|
168
182
|
handleAttributionHeightChange(t) {
|
|
169
183
|
if (!(this.attributionHeight === t || !this.component.el.shadowRoot)) {
|
|
@@ -194,7 +208,7 @@ class ne extends L {
|
|
|
194
208
|
}
|
|
195
209
|
}
|
|
196
210
|
_handleFocusRegionSelect(t) {
|
|
197
|
-
this._assignDefaultPopup(), this.popupElement && queueMicrotask(() => {
|
|
211
|
+
this._assignDefaultPopup(), !(!this._focusRegionSelectionSupported || !this.popupElement) && queueMicrotask(() => {
|
|
198
212
|
const { focusRegion: e } = this.component.view;
|
|
199
213
|
!t.defaultPrevented && e && this.openPopup({ fetchFeatures: !0, location: e }).catch(() => {
|
|
200
214
|
});
|
|
@@ -205,7 +219,7 @@ class ne extends L {
|
|
|
205
219
|
!this.popupElement && e.length ? this.popupElement = e[0] : e.length || (this.popupElement = void 0);
|
|
206
220
|
}
|
|
207
221
|
_webGLErrorAlert() {
|
|
208
|
-
return this.webGLError ?
|
|
222
|
+
return this.webGLError ? C`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
|
|
209
223
|
}
|
|
210
224
|
//#endregion
|
|
211
225
|
//#region Rendering
|
|
@@ -213,52 +227,52 @@ class ne extends L {
|
|
|
213
227
|
return x({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (t) => this._handlePopupSlotChange(t), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef });
|
|
214
228
|
}
|
|
215
229
|
}
|
|
216
|
-
function pe(
|
|
230
|
+
function pe(n) {
|
|
217
231
|
M((t, e) => {
|
|
218
|
-
const
|
|
219
|
-
if (
|
|
232
|
+
const i = () => {
|
|
233
|
+
if (n.attributionMode !== "auto")
|
|
220
234
|
return;
|
|
221
|
-
const
|
|
222
|
-
|
|
235
|
+
const o = q(n.el);
|
|
236
|
+
n.view.attributionMode !== o && (n.view.attributionMode = o);
|
|
223
237
|
};
|
|
224
|
-
e.onLifecycle(() => (
|
|
225
|
-
|
|
238
|
+
e.onLifecycle(() => (i(), j(n.el, ["class"], i))), e.onUpdate((o) => {
|
|
239
|
+
o.has("attributionMode") && n.attributionMode === "auto" && i();
|
|
226
240
|
});
|
|
227
241
|
});
|
|
228
242
|
}
|
|
229
|
-
const se = _((
|
|
230
|
-
const e =
|
|
243
|
+
const se = _((n, t) => {
|
|
244
|
+
const e = S();
|
|
231
245
|
return t.onLifecycle(
|
|
232
|
-
() =>
|
|
246
|
+
() => u(
|
|
233
247
|
() => {
|
|
234
|
-
const { map:
|
|
235
|
-
if (!
|
|
248
|
+
const { map: i } = n;
|
|
249
|
+
if (!i || i.destroyed)
|
|
236
250
|
return [];
|
|
237
|
-
const
|
|
238
|
-
return
|
|
239
|
-
|
|
240
|
-
}),
|
|
251
|
+
const o = [];
|
|
252
|
+
return i.loadError && o.push(i), i.basemap?.loadError && o.push(i.basemap), i.ground.loadError && o.push(i.ground), [...i.allLayers, ...i.allTables].forEach((r) => {
|
|
253
|
+
r.loadError && o.push(r);
|
|
254
|
+
}), o;
|
|
241
255
|
},
|
|
242
|
-
(
|
|
243
|
-
|
|
256
|
+
(i) => {
|
|
257
|
+
i.length && (n.loadErrorSources = i, e.emit());
|
|
244
258
|
}
|
|
245
259
|
)
|
|
246
260
|
), e;
|
|
247
261
|
}), ae = _(
|
|
248
|
-
(
|
|
249
|
-
const e =
|
|
262
|
+
(n, t) => {
|
|
263
|
+
const e = S();
|
|
250
264
|
return t.onLifecycle(
|
|
251
|
-
() =>
|
|
252
|
-
() =>
|
|
253
|
-
(
|
|
254
|
-
(
|
|
265
|
+
() => u(
|
|
266
|
+
() => n.view?.readyState,
|
|
267
|
+
(i) => {
|
|
268
|
+
(i === "map-content-error" || i === "rendering-error") && e.emit();
|
|
255
269
|
}
|
|
256
270
|
)
|
|
257
271
|
), e;
|
|
258
272
|
}
|
|
259
273
|
);
|
|
260
274
|
export {
|
|
261
|
-
|
|
275
|
+
re as U,
|
|
262
276
|
ae as a,
|
|
263
277
|
pe as b,
|
|
264
278
|
se as u
|
|
@@ -8,7 +8,7 @@ import type { VisibilityAppearance } from "../../utils/action-utils.js";
|
|
|
8
8
|
import type { setFilterPredicate } from "../../utils/layer-list-utils.js";
|
|
9
9
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
10
10
|
import type { CatalogLayerListMessageOverrides, CatalogLayerListOptions, FlowLayer, FlowList } from "./types.js";
|
|
11
|
-
import type {
|
|
11
|
+
import type { TableListOptions } from "../arcgis-table-list-next/types.js";
|
|
12
12
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
13
13
|
import type { ItemModifier, State } from "@arcgis/core/layerList/types.js";
|
|
14
14
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
@@ -258,7 +258,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
|
|
|
258
258
|
*/
|
|
259
259
|
accessor hideStatusIndicators: boolean;
|
|
260
260
|
/** @internal */
|
|
261
|
-
accessor knowledgeGraphOptions:
|
|
261
|
+
accessor knowledgeGraphOptions: TableListOptions | undefined;
|
|
262
262
|
/** The component's default label. */
|
|
263
263
|
accessor label: string | undefined;
|
|
264
264
|
/**
|
|
@@ -292,7 +292,7 @@ export abstract class ArcgisCatalogLayerListNext extends LitElement {
|
|
|
292
292
|
*
|
|
293
293
|
* // Wait for the layer to load and the item title to become available
|
|
294
294
|
* await item.layer.when();
|
|
295
|
-
*
|
|
295
|
+
*
|
|
296
296
|
* // If the item's title matches "US Demographics", customize the list item
|
|
297
297
|
* if (item.title === "US Demographics") {
|
|
298
298
|
* // open the list item in the LayerList component
|