@arcgis/map-components 5.2.0-next.65 → 5.2.0-next.67
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/{RMKRRXJS.js → 3B3RGT2G.js} +1 -1
- package/dist/cdn/{5KBFECNZ.js → 6NWYETZO.js} +1 -1
- package/dist/cdn/{54DPKOI2.js → AKQ23RYL.js} +1 -1
- package/dist/cdn/{FWYUKFIR.js → AOGPP4VX.js} +1 -1
- package/dist/cdn/{HRJIMMTW.js → DY6AWYYR.js} +1 -1
- package/dist/cdn/ERZ355Q7.js +2 -0
- package/dist/cdn/{FBCMR23T.js → FUISFUR3.js} +1 -1
- package/dist/cdn/GP76UUFG.js +2 -0
- package/dist/cdn/{SHNSCLFF.js → IGORAGVE.js} +2 -2
- package/dist/cdn/{WP6ZYNAK.js → KHIHHUKA.js} +1 -1
- package/dist/cdn/{DTR5I2KQ.js → L254HFGW.js} +1 -1
- package/dist/cdn/{ARVSEV26.js → MFRZNKMQ.js} +1 -1
- package/dist/cdn/{LH246IIL.js → N34R2VNP.js} +1 -1
- package/dist/cdn/NCSFZ67G.js +2 -0
- package/dist/cdn/{34HQ4DIU.js → ORO4OWNH.js} +1 -1
- package/dist/cdn/OXJ6JBJF.js +2 -0
- package/dist/cdn/{FOHSM4R7.js → PT33LZD5.js} +1 -1
- package/dist/cdn/QGWMP6TU.js +2 -0
- package/dist/cdn/SRNGMDBR.js +2 -0
- package/dist/cdn/{BYZRGKOW.js → U5NYFDPL.js} +1 -1
- package/dist/cdn/{VC4FPVTG.js → UAFLVW2D.js} +1 -1
- package/dist/cdn/{4IOVE754.js → UDZLCLOW.js} +1 -1
- package/dist/cdn/UJAX7TII.js +2 -0
- package/dist/cdn/USMSBMGF.js +2 -0
- package/dist/cdn/{RWDCU2CO.js → VFFB35S6.js} +1 -1
- package/dist/cdn/XKC3DFCU.js +2 -0
- package/dist/cdn/{3K7YV4SA.js → XVUJEFQE.js} +1 -1
- package/dist/cdn/ZGGP2PLT.js +2 -0
- package/dist/cdn/ZHA4C7BC.js +2 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/basemap-toggle/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/layer-list-item.js +170 -0
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/slots.js +10 -10
- package/dist/chunks/useArcgisViewReadyError.js +35 -30
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +42 -42
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +8 -0
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +61 -61
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +30 -22
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +8 -0
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +17 -17
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +8 -0
- package/dist/components/arcgis-layer-list-next/customElement.js +27 -27
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +10 -154
- package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/customElement.d.ts +9 -3
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +411 -0
- package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/index.js +1 -0
- package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/support/NonPanoramicMedia.d.ts +12 -3
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +379 -0
- package/dist/components/arcgis-selection-toolbar/customElement.js +191 -0
- package/dist/components/arcgis-selection-toolbar/index.d.ts +1 -0
- package/dist/components/arcgis-selection-toolbar/index.js +10 -0
- package/dist/components/arcgis-selection-toolbar/types.d.ts +8 -0
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list-next/customElement.d.ts +8 -0
- package/dist/components/arcgis-table-list-next/customElement.js +12 -12
- 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 +13 -3
- package/dist/loader.js +6 -5
- package/dist/types/lumina.d.ts +18 -8
- package/dist/types/preact.d.ts +20 -9
- package/dist/types/react.d.ts +22 -10
- package/dist/types/stencil.d.ts +18 -8
- package/package.json +6 -6
- package/dist/cdn/2CRPXLAY.js +0 -2
- package/dist/cdn/3EYX5DTH.js +0 -2
- package/dist/cdn/74IVEAEO.js +0 -2
- package/dist/cdn/EF7LH4GQ.js +0 -2
- package/dist/cdn/GBLPYWL2.js +0 -2
- package/dist/cdn/JA3PSEUL.js +0 -2
- package/dist/cdn/KAXVBIZ7.js +0 -2
- package/dist/cdn/QNQQA4BU.js +0 -2
- package/dist/cdn/VAISR7CN.js +0 -2
- package/dist/cdn/XCCZTOXH.js +0 -2
- package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.js +0 -231
- /package/dist/cdn/{M5YTVQ3E.js → 2ROKOM2Z.js} +0 -0
- /package/dist/cdn/{JYWV4RJT.js → 37VIO2V5.js} +0 -0
- /package/dist/cdn/{RDWKI3KP.js → 3RVEVJVG.js} +0 -0
- /package/dist/cdn/{57URHW23.js → 4O5BM5AI.js} +0 -0
- /package/dist/cdn/{UHL5U7GJ.js → 4XAKKTWP.js} +0 -0
- /package/dist/cdn/{Y3QCO64W.js → 55GK5OAA.js} +0 -0
- /package/dist/cdn/{CGM2YWJH.js → 5KSNV3AD.js} +0 -0
- /package/dist/cdn/{GJRDLFOY.js → 6CHIESQS.js} +0 -0
- /package/dist/cdn/{3J2BDZNE.js → 6TPIG3XC.js} +0 -0
- /package/dist/cdn/{INJXVNS3.js → 6WOUFI3X.js} +0 -0
- /package/dist/cdn/{I62OLA5J.js → 73PS6B6H.js} +0 -0
- /package/dist/cdn/{SMOBVQX6.js → CBHZA2RM.js} +0 -0
- /package/dist/cdn/{VXYZPWDK.js → D4LXZSJU.js} +0 -0
- /package/dist/cdn/{3XZU4KZX.js → ETAL67B5.js} +0 -0
- /package/dist/cdn/{EAN2ER5F.js → EW7KQ7UM.js} +0 -0
- /package/dist/cdn/{7IA62IHQ.js → FQS7XRHV.js} +0 -0
- /package/dist/cdn/{KU2D7B6L.js → FRNAEEL2.js} +0 -0
- /package/dist/cdn/{F3MJCQ74.js → J3LAIXMY.js} +0 -0
- /package/dist/cdn/{A4LOY55I.js → JOPE2HA7.js} +0 -0
- /package/dist/cdn/{YKVEZBMI.js → LIKCZBSN.js} +0 -0
- /package/dist/cdn/{SKVY2FTI.js → LKS3BW4E.js} +0 -0
- /package/dist/cdn/{MUMLZBK2.js → LNV4R7FO.js} +0 -0
- /package/dist/cdn/{UT4Y7W2I.js → LYVEFTG5.js} +0 -0
- /package/dist/cdn/{YYY2B7Z3.js → M5RPB52H.js} +0 -0
- /package/dist/cdn/{2WS6ADGC.js → QDOF7WAJ.js} +0 -0
- /package/dist/cdn/{3PLX2VZZ.js → QG5I2LDY.js} +0 -0
- /package/dist/cdn/{4WTMWS4L.js → RCXLHOT5.js} +0 -0
- /package/dist/cdn/{KUGHB56Z.js → RMUOAQL7.js} +0 -0
- /package/dist/cdn/{OCYNG6CZ.js → SMGBVJDQ.js} +0 -0
- /package/dist/cdn/{5D5K4ODL.js → SWUDJD3D.js} +0 -0
- /package/dist/cdn/{TDMJD6KE.js → TXH2FVPB.js} +0 -0
- /package/dist/cdn/{ULVWM2Z5.js → TXLEUQGC.js} +0 -0
- /package/dist/cdn/{6D7LJWC3.js → URSO4VYE.js} +0 -0
- /package/dist/cdn/{Z5KZ3J36.js → VISNMKBR.js} +0 -0
- /package/dist/cdn/{WLNDY4AF.js → VM2FDVMM.js} +0 -0
- /package/dist/cdn/{ZIHLJCFU.js → VZMX6AAC.js} +0 -0
- /package/dist/cdn/{4B2SV3DL.js → W3ELQQ2T.js} +0 -0
- /package/dist/cdn/{FFKWCM3U.js → XNUG4O7M.js} +0 -0
- /package/dist/cdn/{6IZPSVRK.js → YNAWY2DP.js} +0 -0
- /package/dist/cdn/{SF5BNNTL.js → ZDEXTEYL.js} +0 -0
- /package/dist/cdn/{BSA3D7EV.js → ZTCPBOG3.js} +0 -0
- /package/dist/cdn/{POCKSTPT.js → ZUKUN26H.js} +0 -0
- /package/dist/cdn/{X7DC4UOR.js → ZWWCLNZL.js} +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/index.d.ts +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as l } from "lit";
|
|
3
3
|
import { when as s, watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import { GenericController as h, useDirection as
|
|
5
|
-
import { getSlotAssignedElements as
|
|
6
|
-
import { createRef as
|
|
7
|
-
import { c as
|
|
8
|
-
import { createEvent as
|
|
4
|
+
import { GenericController as h, useDirection as m, makeGenericController as a } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { getSlotAssignedElements as c } from "@arcgis/toolkit/dom/slots";
|
|
6
|
+
import { createRef as d } from "lit/directives/ref.js";
|
|
7
|
+
import { c as f, S as E } from "./slots.js";
|
|
8
|
+
import { createEvent as u } from "@arcgis/lumina";
|
|
9
9
|
class C extends h {
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region Lifecycle
|
|
12
12
|
constructor(o) {
|
|
13
|
-
super(o), this.direction =
|
|
13
|
+
super(o), this.direction = m(), this.popupRef = d(), this.popupOpenAttempted = !1, this.slotGroupRefs = f(), this.attributionHeight = 0, this._uiContainer = null, this.component.listenOn(globalThis, "unhandledrejection", (t) => {
|
|
14
14
|
const e = t.reason;
|
|
15
15
|
if (e?.name === "webgl:required") {
|
|
16
|
-
const { name:
|
|
17
|
-
this.webGLError = { name:
|
|
16
|
+
const { name: p } = e;
|
|
17
|
+
this.webGLError = { name: p };
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
}
|
|
@@ -33,8 +33,10 @@ class C extends h {
|
|
|
33
33
|
"click",
|
|
34
34
|
[],
|
|
35
35
|
(t) => {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
this._maybeLoadPopup().then(() => {
|
|
37
|
+
const e = t.native;
|
|
38
|
+
t.button !== 0 || e?.ctrlKey || e?.metaKey || this._handleOpenPopup(t);
|
|
39
|
+
});
|
|
38
40
|
},
|
|
39
41
|
// @ts-ignore: Core supports a click listener priority argument, needed for Popup click
|
|
40
42
|
-2
|
|
@@ -42,10 +44,10 @@ class C extends h {
|
|
|
42
44
|
];
|
|
43
45
|
}
|
|
44
46
|
async openPopup(o) {
|
|
45
|
-
if (this._assignDefaultPopup(), this.closePopup(), this.popupElement) {
|
|
47
|
+
if (await this._maybeLoadPopup(), this._assignDefaultPopup(), this.closePopup(), this.popupElement) {
|
|
46
48
|
await this.popupElement.componentOnReady(), this.popupElement.open = !0;
|
|
47
|
-
const { fetchFeatures: t, shouldFocus: e, title:
|
|
48
|
-
delete o.fetchFeatures, Object.assign(this.popupElement, n),
|
|
49
|
+
const { fetchFeatures: t, shouldFocus: e, title: p, ...n } = o;
|
|
50
|
+
delete o.fetchFeatures, Object.assign(this.popupElement, n), p !== void 0 && (this.popupElement.heading = p), e && await this.popupElement.setFocus(), t && this.popupElement.fetchFeatures();
|
|
49
51
|
} else
|
|
50
52
|
await this.component.view.openPopup(o);
|
|
51
53
|
}
|
|
@@ -67,6 +69,9 @@ class C extends h {
|
|
|
67
69
|
_maybeDisableViewPopup() {
|
|
68
70
|
this.component.view && (this.component.popupComponentEnabled || this.popupElement) && (this.previousViewPopupEnabled = this.component.view.popupEnabled, this.component.view.popupEnabled = !1);
|
|
69
71
|
}
|
|
72
|
+
async _maybeLoadPopup() {
|
|
73
|
+
this.popupOpenAttempted || (this.popupOpenAttempted = !0, this.component.requestUpdate(), await this.component.updateComplete);
|
|
74
|
+
}
|
|
70
75
|
_maybeResetViewPopup() {
|
|
71
76
|
this.component.view && this.previousViewPopupEnabled !== void 0 && (this.component.view.popupEnabled = this.previousViewPopupEnabled, this.previousViewPopupEnabled = void 0);
|
|
72
77
|
}
|
|
@@ -80,42 +85,42 @@ class C extends h {
|
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
_handlePopupSlotChange(o) {
|
|
83
|
-
const t =
|
|
88
|
+
const t = c(o.target, "arcgis-popup");
|
|
84
89
|
!this.popupElement && t.length ? this.popupElement = t[0] : t.length || (this.popupElement = void 0);
|
|
85
90
|
}
|
|
86
91
|
_webGLErrorAlert() {
|
|
87
|
-
return this.webGLError ?
|
|
92
|
+
return this.webGLError ? l`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>` : null;
|
|
88
93
|
}
|
|
89
94
|
//#endregion
|
|
90
95
|
//#region Rendering
|
|
91
96
|
render() {
|
|
92
|
-
return
|
|
97
|
+
return E({ direction: this.direction, popupComponentEnabled: this.component.popupComponentEnabled, slotGroupRefs: this.slotGroupRefs, handlePopupSlotChange: (o) => this._handlePopupSlotChange(o), webGLErrorElement: this._webGLErrorAlert(), popupElement: this.popupRef, popupOpenAttempted: this.popupOpenAttempted });
|
|
93
98
|
}
|
|
94
99
|
}
|
|
95
|
-
const R = a((
|
|
96
|
-
const t =
|
|
100
|
+
const R = a((i, o) => {
|
|
101
|
+
const t = u();
|
|
97
102
|
return o.onLifecycle(
|
|
98
103
|
() => r(
|
|
99
104
|
() => {
|
|
100
|
-
const { map: e } =
|
|
105
|
+
const { map: e } = i;
|
|
101
106
|
if (!e || e.destroyed)
|
|
102
107
|
return [];
|
|
103
|
-
const
|
|
104
|
-
return e.loadError &&
|
|
105
|
-
n.loadError &&
|
|
106
|
-
}),
|
|
108
|
+
const p = [];
|
|
109
|
+
return e.loadError && p.push(e), e.basemap?.loadError && p.push(e.basemap), e.ground.loadError && p.push(e.ground), [...e.allLayers, ...e.allTables].forEach((n) => {
|
|
110
|
+
n.loadError && p.push(n);
|
|
111
|
+
}), p;
|
|
107
112
|
},
|
|
108
113
|
(e) => {
|
|
109
|
-
e.length && (
|
|
114
|
+
e.length && (i.loadErrorSources = e, t.emit());
|
|
110
115
|
}
|
|
111
116
|
)
|
|
112
117
|
), t;
|
|
113
|
-
}),
|
|
114
|
-
(
|
|
115
|
-
const t =
|
|
118
|
+
}), L = a(
|
|
119
|
+
(i, o) => {
|
|
120
|
+
const t = u();
|
|
116
121
|
return o.onLifecycle(
|
|
117
122
|
() => r(
|
|
118
|
-
() =>
|
|
123
|
+
() => i.view?.readyState,
|
|
119
124
|
(e) => {
|
|
120
125
|
(e === "map-content-error" || e === "rendering-error") && t.emit();
|
|
121
126
|
}
|
|
@@ -125,6 +130,6 @@ const R = a((p, o) => {
|
|
|
125
130
|
);
|
|
126
131
|
export {
|
|
127
132
|
C as U,
|
|
128
|
-
|
|
133
|
+
L as a,
|
|
129
134
|
R as u
|
|
130
135
|
};
|
|
@@ -130,6 +130,7 @@ export abstract class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
130
130
|
/** @internal */
|
|
131
131
|
protected messages: {
|
|
132
132
|
area: string;
|
|
133
|
+
aria: { label: string; };
|
|
133
134
|
componentLabel: string;
|
|
134
135
|
hint: string;
|
|
135
136
|
mode: string;
|
|
@@ -144,6 +145,7 @@ export abstract class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
144
145
|
unsupported: string;
|
|
145
146
|
} & T9nMeta<{
|
|
146
147
|
area: string;
|
|
148
|
+
aria: { label: string; };
|
|
147
149
|
componentLabel: string;
|
|
148
150
|
hint: string;
|
|
149
151
|
mode: string;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as v, html as c } from "lit";
|
|
4
|
-
import { LitElement as b, createEvent as x,
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
8
|
-
import { b as
|
|
4
|
+
import { LitElement as b, createEvent as x, safeClassMap as y } from "@arcgis/lumina";
|
|
5
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as O } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { b as z } from "../../chunks/async-utils.js";
|
|
9
9
|
import { g as p } from "../../chunks/globalCss.js";
|
|
10
10
|
import { V as g } from "../../chunks/visible-element.js";
|
|
11
|
-
import
|
|
12
|
-
import { property as n, subclass as
|
|
11
|
+
import V from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
12
|
+
import { property as n, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
13
|
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
14
|
import _ from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
15
|
-
import { A as
|
|
16
|
-
import { g as
|
|
17
|
-
const
|
|
18
|
-
var
|
|
19
|
-
for (var i =
|
|
20
|
-
(d = t[a]) && (i = (
|
|
21
|
-
return
|
|
15
|
+
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
16
|
+
import { g as U, a as A, b as m, r as C, m as h, c as E } from "../../chunks/measurementUtils.js";
|
|
17
|
+
const D = v`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{.esri-widget--panel{min-width:0}}`;
|
|
18
|
+
var j = Object.defineProperty, P = Object.getOwnPropertyDescriptor, s = (t, e, l, o) => {
|
|
19
|
+
for (var i = o > 1 ? void 0 : o ? P(e, l) : e, a = t.length - 1, d; a >= 0; a--)
|
|
20
|
+
(d = t[a]) && (i = (o ? d(e, l, i) : d(i)) || i);
|
|
21
|
+
return o && i && j(e, l, i), i;
|
|
22
22
|
};
|
|
23
|
-
let r = class extends
|
|
23
|
+
let r = class extends $ {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments), this.snappingOptions = new _(), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Area Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
26
26
|
}
|
|
@@ -49,11 +49,11 @@ let r = class extends U {
|
|
|
49
49
|
]);
|
|
50
50
|
}
|
|
51
51
|
get state() {
|
|
52
|
-
const { analysis: t, disabled: e, operationState: l, ready:
|
|
53
|
-
return
|
|
52
|
+
const { analysis: t, disabled: e, operationState: l, ready: o, supported: i } = this, { valid: a } = t;
|
|
53
|
+
return U({ supported: i, disabled: e, ready: o, operationState: l, valid: a });
|
|
54
54
|
}
|
|
55
55
|
get displayState() {
|
|
56
|
-
return
|
|
56
|
+
return A(this.state, !!this.analysis.geometry);
|
|
57
57
|
}
|
|
58
58
|
get measurement() {
|
|
59
59
|
return {
|
|
@@ -63,13 +63,13 @@ let r = class extends U {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
get unitOptions() {
|
|
66
|
-
return
|
|
66
|
+
return C(this._userUnitOptions, h, h);
|
|
67
67
|
}
|
|
68
68
|
set unitOptions(t) {
|
|
69
69
|
this._userUnitOptions = t;
|
|
70
70
|
}
|
|
71
71
|
get unit() {
|
|
72
|
-
return
|
|
72
|
+
return E(this._userUnit, this.analysis.unit, this.unitOptions, this.defaultMeasurementSystem);
|
|
73
73
|
}
|
|
74
74
|
set unit(t) {
|
|
75
75
|
this._userUnit = t;
|
|
@@ -81,46 +81,46 @@ let r = class extends U {
|
|
|
81
81
|
this.analysis.geometry = null;
|
|
82
82
|
}
|
|
83
83
|
constructAnalysis() {
|
|
84
|
-
return new
|
|
84
|
+
return new V();
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
s([
|
|
88
88
|
n({ readOnly: !0 })
|
|
89
89
|
], r.prototype, "state", 1);
|
|
90
|
-
|
|
90
|
+
s([
|
|
91
91
|
n({ readOnly: !0 })
|
|
92
92
|
], r.prototype, "displayState", 1);
|
|
93
|
-
|
|
93
|
+
s([
|
|
94
94
|
n()
|
|
95
95
|
], r.prototype, "measurement", 1);
|
|
96
|
-
|
|
96
|
+
s([
|
|
97
97
|
n({ type: _ })
|
|
98
98
|
], r.prototype, "snappingOptions", 2);
|
|
99
|
-
|
|
99
|
+
s([
|
|
100
100
|
n()
|
|
101
101
|
], r.prototype, "unitOptions", 1);
|
|
102
|
-
|
|
102
|
+
s([
|
|
103
103
|
n()
|
|
104
104
|
], r.prototype, "_userUnitOptions", 2);
|
|
105
|
-
|
|
105
|
+
s([
|
|
106
106
|
n()
|
|
107
107
|
], r.prototype, "unit", 1);
|
|
108
|
-
|
|
108
|
+
s([
|
|
109
109
|
n()
|
|
110
110
|
], r.prototype, "_userUnit", 2);
|
|
111
|
-
r =
|
|
112
|
-
|
|
111
|
+
r = s([
|
|
112
|
+
S("components.area-measurement-2d.AreaMeasurement2dViewModel")
|
|
113
113
|
], r);
|
|
114
|
-
const
|
|
115
|
-
class
|
|
114
|
+
const L = O(r);
|
|
115
|
+
class B extends b {
|
|
116
116
|
constructor() {
|
|
117
|
-
super(...arguments), this.viewModel =
|
|
117
|
+
super(...arguments), this.viewModel = L(this), this.messages = k({ name: "area-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-area", this.snappingOptions = this.viewModel.snappingOptions, this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = M()("analysis", "state"), this.arcgisReady = x();
|
|
118
118
|
}
|
|
119
119
|
static {
|
|
120
120
|
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, snappingOptions: 0, state: 32, unit: 1, unitOptions: 0 };
|
|
121
121
|
}
|
|
122
122
|
static {
|
|
123
|
-
this.styles =
|
|
123
|
+
this.styles = D;
|
|
124
124
|
}
|
|
125
125
|
async clear() {
|
|
126
126
|
this.viewModel.clear();
|
|
@@ -129,14 +129,14 @@ class T extends b {
|
|
|
129
129
|
await this.manager.destroy();
|
|
130
130
|
}
|
|
131
131
|
async start() {
|
|
132
|
-
|
|
132
|
+
z(this.viewModel.start());
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
const { messages: e, unit: l, unitOptions:
|
|
136
|
-
return c`<div
|
|
135
|
+
const { messages: e, unit: l, unitOptions: o, viewModel: i } = this, { measurement: a, state: d } = i;
|
|
136
|
+
return c`<div .ariaLabel=${e.aria.label} class=${y({
|
|
137
137
|
[p.widget]: !0,
|
|
138
138
|
[p.panel]: !0
|
|
139
|
-
})} role=
|
|
139
|
+
})} aria-live=polite role=region><arcgis-measurement-content .state=${i.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[
|
|
140
140
|
{
|
|
141
141
|
title: e.area,
|
|
142
142
|
measurement: a.area
|
|
@@ -145,12 +145,12 @@ class T extends b {
|
|
|
145
145
|
title: e.perimeter,
|
|
146
146
|
measurement: a.perimeter
|
|
147
147
|
}
|
|
148
|
-
]}>${g({ hidden: this.hideUnitSelect, children: c`<arcgis-unit-select slot=settings .options=${
|
|
148
|
+
]}>${g({ hidden: this.hideUnitSelect, children: c`<arcgis-unit-select slot=settings .options=${o} .selectLabel=${e.unit} .value=${l} @arcgisUnitSelectChange=${(w) => {
|
|
149
149
|
this.unit = w.detail;
|
|
150
150
|
}}></arcgis-unit-select>` })}${g({ hidden: this.hideStartButton, children: c`<calcite-button slot=actions .disabled=${d === "unsupported" || d === "disabled"} @click=${this.start}>${e.newMeasurement}</calcite-button>` })}</arcgis-measurement-content></div>`;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
f("arcgis-area-measurement-2d",
|
|
153
|
+
f("arcgis-area-measurement-2d", B);
|
|
154
154
|
export {
|
|
155
|
-
|
|
155
|
+
B as ArcgisAreaMeasurement2d
|
|
156
156
|
};
|
|
@@ -19,7 +19,7 @@ export abstract class ArcgisAttachments extends LitElement {
|
|
|
19
19
|
/** An array of strings used to identify attachment(s). When attachments are displayed, this property is used to query attachments using an exact match on the keywords provided. */
|
|
20
20
|
accessor attachmentKeywords: Array<string> | null | undefined;
|
|
21
21
|
/** An array of strings representing MIME types. When attachments are displayed, this property is used to query attachments based on MIME type. Valid values: application, audio, image, model, text, and video. */
|
|
22
|
-
accessor attachmentTypes: Array<"image" | "model" | "text" | "video" | "
|
|
22
|
+
accessor attachmentTypes: Array<"image" | "model" | "text" | "video" | "audio" | "application"> | null | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* If true, the component will not be destroyed automatically when it is
|
|
25
25
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -321,7 +321,7 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
321
321
|
* basemapLayerListElement.selectionMode = "multiple";
|
|
322
322
|
* ```
|
|
323
323
|
*/
|
|
324
|
-
accessor selectionMode: "
|
|
324
|
+
accessor selectionMode: "none" | "single-persist" | "multiple" | "single";
|
|
325
325
|
/**
|
|
326
326
|
* Indicates whether to display a close button in the header.
|
|
327
327
|
*
|
|
@@ -91,6 +91,14 @@ export abstract class ArcgisBasemapLayerListNext extends LitElement {
|
|
|
91
91
|
accessor layerTablesEnabled: Collection<TableSupportedLayers>;
|
|
92
92
|
accessor listItemCanGiveFunction: CanSortFunction | undefined;
|
|
93
93
|
accessor listItemCanReceiveFunction: CanSortFunction | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies whether to ignore the [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property to display all layers. A common use case for `listModeDisabled` is when you want to use the component to manage and configure a layer's `listMode` value.
|
|
96
|
+
*
|
|
97
|
+
* @default false
|
|
98
|
+
* @see [listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode)
|
|
99
|
+
* @since 5.2
|
|
100
|
+
*/
|
|
101
|
+
accessor listModeDisabled: boolean;
|
|
94
102
|
accessor mapImageOptions: TableListParams | undefined;
|
|
95
103
|
accessor messageOverrides: {
|
|
96
104
|
componentLabel?: string | undefined;
|