@arcgis/map-components 5.2.0-next.95 → 5.2.0-next.97
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/22TB66OC.js +2 -0
- package/dist/cdn/{GIQDIWW4.js → 22VFTYTN.js} +1 -1
- package/dist/cdn/367Z3TKY.js +2 -0
- package/dist/cdn/{AY2PVEY5.js → 3AIQYNSA.js} +1 -1
- package/dist/cdn/{QTGJ2TIJ.js → 454H3MLO.js} +1 -1
- package/dist/cdn/{FRAZUJ7K.js → 4MSBOUHQ.js} +1 -1
- package/dist/cdn/{SK4OCYH7.js → 4YU2AF7S.js} +1 -1
- package/dist/cdn/5FWT3N7B.js +2 -0
- package/dist/cdn/6KYWLAYH.js +2 -0
- package/dist/cdn/6SEM26SM.js +2 -0
- package/dist/cdn/6ZE7BJTS.js +2 -0
- package/dist/cdn/72HH6FSN.js +2 -0
- package/dist/cdn/{SSJBKHEN.js → 77NK4UBY.js} +1 -1
- package/dist/cdn/{LPB2JMJ5.js → 7F2DXC54.js} +1 -1
- package/dist/cdn/{Y56FOEA4.js → A3KD2UAY.js} +1 -1
- package/dist/cdn/AJBOKAK6.js +2 -0
- package/dist/cdn/{2HYRTMJ6.js → AOBYM5ZK.js} +1 -1
- package/dist/cdn/{MXYWUI34.js → ASVNFERZ.js} +1 -1
- package/dist/cdn/AZ6IOGGT.js +2 -0
- package/dist/cdn/{PWY44JI6.js → B4KOVXN3.js} +1 -1
- package/dist/cdn/{7TTSWTGP.js → BHENVS42.js} +1 -1
- package/dist/cdn/BOPKJR3D.js +2 -0
- package/dist/cdn/{K2FKS4AS.js → BZGHEINJ.js} +1 -1
- package/dist/cdn/{VHHRBGXN.js → CJLML2XS.js} +1 -1
- package/dist/cdn/CKO4VE36.js +2 -0
- package/dist/cdn/{2F6NRCC5.js → DVGE5VPK.js} +1 -1
- package/dist/cdn/{I3VQ46FA.js → EAQV7AZQ.js} +1 -1
- package/dist/cdn/EDGLEFG3.js +2 -0
- package/dist/cdn/{CEMBX25Q.js → EXIPQBCY.js} +1 -1
- package/dist/cdn/FCNNRX3Q.js +2 -0
- package/dist/cdn/FCVLHRLJ.js +2 -0
- package/dist/cdn/G743AW46.js +2 -0
- package/dist/cdn/{XZGU6TR6.js → GGKOLSCH.js} +1 -1
- package/dist/cdn/{3CHIGFZL.js → GLMK45AB.js} +1 -1
- package/dist/cdn/H7KG55LR.js +2 -0
- package/dist/cdn/{S5XIZ2L4.js → HXNLIDLQ.js} +1 -1
- package/dist/cdn/{7ZZWKH2U.js → IPT3YBSG.js} +2 -2
- package/dist/cdn/{UAGCCYQB.js → IXDLJKJA.js} +1 -1
- package/dist/cdn/{B5FTF7WR.js → J624KHFL.js} +1 -1
- package/dist/cdn/{G2BLA5NQ.js → JAQYZZRT.js} +1 -1
- package/dist/cdn/{KZPPV365.js → JMYDF3AT.js} +1 -1
- package/dist/cdn/L4DWZT4V.js +2 -0
- package/dist/cdn/{XAZNEI2W.js → LCG5BEEY.js} +1 -1
- package/dist/cdn/{VWV6XWSU.js → LW6SRLBI.js} +1 -1
- package/dist/cdn/{5SVULVBJ.js → MAILUSIQ.js} +1 -1
- package/dist/cdn/N2RLGXGJ.js +2 -0
- package/dist/cdn/NRT2ZCWC.js +2 -0
- package/dist/cdn/{HOKDRJ4R.js → NSUQXUWH.js} +1 -1
- package/dist/cdn/{V42KBFW7.js → OCAPESF3.js} +1 -1
- package/dist/cdn/{F3JDX4A7.js → OMEJFPK7.js} +1 -1
- package/dist/cdn/P2JBFLSB.js +2 -0
- package/dist/cdn/{D6BWGR3Z.js → P5CQYFPA.js} +1 -1
- package/dist/cdn/R5GMCIAH.js +2 -0
- package/dist/cdn/{AKNAVXKD.js → RC7BSNQ3.js} +1 -1
- package/dist/cdn/{O6CGTOAO.js → S7JDLOX2.js} +1 -1
- package/dist/cdn/SA4IYYIE.js +2 -0
- package/dist/cdn/{QD3GVN2C.js → SDY4E3WA.js} +1 -1
- package/dist/cdn/{CJ536VHT.js → SGU4TP7V.js} +1 -1
- package/dist/cdn/TDGEDT35.js +2 -0
- package/dist/cdn/{66PT52ED.js → TZEAPNBI.js} +1 -1
- package/dist/cdn/{CA5LXWO6.js → UOZG2EH7.js} +1 -1
- package/dist/cdn/{GMSIYMNC.js → UPJTKQR3.js} +1 -1
- package/dist/cdn/{2JLMOWRT.js → VULA5TJD.js} +1 -1
- package/dist/cdn/VZXCU47M.js +2 -0
- package/dist/cdn/{FRSROWP4.js → W6IFUQTQ.js} +1 -1
- package/dist/cdn/{SVJ7AEMP.js → WAFRMU5C.js} +1 -1
- package/dist/cdn/WLGR4IHZ.js +2 -0
- package/dist/cdn/{CX3OZJEH.js → WMK7RLBA.js} +1 -1
- package/dist/cdn/{4FVOBVTD.js → YEN7K65V.js} +2 -2
- package/dist/cdn/YVQJ4XD4.js +2 -0
- package/dist/cdn/{FZDURX2Y.js → YWOTHCBH.js} +1 -1
- package/dist/cdn/{N5VJ4SAX.js → ZCRUGROJ.js} +1 -1
- package/dist/cdn/{VT2IDAHB.js → ZUWNZX6G.js} +1 -1
- package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/selection-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-utils.js +23 -17
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/utils2.js +66 -50
- package/dist/chunks/utils3.js +50 -13
- package/dist/chunks/utils4.js +13 -45
- package/dist/chunks/utils5.js +51 -0
- package/dist/components/arcgis-aggregated-features/customElement.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +21 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +16 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +5 -6
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +6 -5
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +11 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +18 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +19 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-feature/customElement.js +27 -27
- package/dist/components/arcgis-feature-attachments/customElement.js +73 -60
- package/dist/components/arcgis-feature-next/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-next/customElement.js +12 -12
- package/dist/components/arcgis-feature-relationship/customElement.js +54 -45
- package/dist/components/arcgis-features-next/customElement.d.ts +7 -0
- package/dist/components/arcgis-features-next/customElement.js +16 -16
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +6 -6
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +20 -16
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +41 -9
- package/dist/components/arcgis-layer-list-next/customElement.js +49 -45
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +134 -10
- package/dist/components/arcgis-layer-list-next/types.d.ts +5 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +7 -0
- package/dist/components/arcgis-popup/customElement.js +15 -15
- 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-scene/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-list/customElement.d.ts +421 -0
- package/dist/components/arcgis-selection-list/customElement.js +279 -0
- package/dist/components/arcgis-selection-list/index.d.ts +1 -0
- package/dist/components/arcgis-selection-list/index.js +16 -0
- package/dist/components/arcgis-selection-list/types.d.ts +85 -0
- package/dist/components/arcgis-table-list-next/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +11 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -78
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +17 -25
- package/dist/components/arcgis-video-player/customElement.d.ts +3 -0
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +9 -9
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +37 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- 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 +10 -0
- package/dist/loader.js +15 -14
- package/dist/types/lumina.d.ts +19 -12
- package/dist/types/preact.d.ts +20 -12
- package/dist/types/react.d.ts +21 -12
- package/dist/types/stencil.d.ts +19 -12
- package/dist/utils/layer-list-utils.d.ts +1 -1
- package/package.json +7 -7
- package/dist/cdn/2GDWXNYN.js +0 -2
- package/dist/cdn/376WTHOL.js +0 -2
- package/dist/cdn/4YFREAQ2.js +0 -2
- package/dist/cdn/A6Z7H75I.js +0 -2
- package/dist/cdn/CDMVB72W.js +0 -2
- package/dist/cdn/D5TJRWW3.js +0 -2
- package/dist/cdn/ECXHREHJ.js +0 -2
- package/dist/cdn/FIIA3N5X.js +0 -2
- package/dist/cdn/FY6IGGPV.js +0 -2
- package/dist/cdn/G7HOUS4O.js +0 -2
- package/dist/cdn/HF3GCBAI.js +0 -2
- package/dist/cdn/HISWL3K3.js +0 -2
- package/dist/cdn/HPLMTKLF.js +0 -2
- package/dist/cdn/JKOIMKKL.js +0 -2
- package/dist/cdn/JOPAUFUX.js +0 -2
- package/dist/cdn/LDDAJOTV.js +0 -2
- package/dist/cdn/LKCX5SXM.js +0 -2
- package/dist/cdn/LMNH2RHA.js +0 -2
- package/dist/cdn/MBFY4GDJ.js +0 -2
- package/dist/cdn/PI55I5L7.js +0 -2
- package/dist/cdn/S3QMZKDY.js +0 -2
- package/dist/cdn/XQH6U57U.js +0 -2
- package/dist/cdn/YDP5A3EP.js +0 -2
- package/dist/cdn/ZSDNX326.js +0 -2
- package/dist/chunks/layer-list-item.js +0 -181
- /package/dist/cdn/{WKBILCAY.js → 2ZG7S6GM.js} +0 -0
- /package/dist/cdn/{4WURS3DM.js → 3VWL4SN7.js} +0 -0
- /package/dist/cdn/{4GIRSQMC.js → 4F6FNH6V.js} +0 -0
- /package/dist/cdn/{KYWZUC6M.js → 4J6DMRVO.js} +0 -0
- /package/dist/cdn/{FVZJPOWC.js → 5OBSJYCP.js} +0 -0
- /package/dist/cdn/{5CB7FWG6.js → 657KH5W3.js} +0 -0
- /package/dist/cdn/{ESYSNSNH.js → 6B4ROFUM.js} +0 -0
- /package/dist/cdn/{RKXHWHFR.js → 6RT7GRX4.js} +0 -0
- /package/dist/cdn/{3ZXNGXHC.js → 7DI2ZSB3.js} +0 -0
- /package/dist/cdn/{4AEFZEGM.js → 7JKYXV7H.js} +0 -0
- /package/dist/cdn/{NDWLSQ4W.js → 7NO3F7GQ.js} +0 -0
- /package/dist/cdn/{4KYPBCNM.js → AA2HLLIM.js} +0 -0
- /package/dist/cdn/{BU5HRIOW.js → ADZF7IHV.js} +0 -0
- /package/dist/cdn/{B4RNNO6A.js → B6JLKBMG.js} +0 -0
- /package/dist/cdn/{ZOGRVFHK.js → D2FVI5JG.js} +0 -0
- /package/dist/cdn/{HW5YYDPC.js → D5LP3DJA.js} +0 -0
- /package/dist/cdn/{OJOQP2IU.js → DNQGXWL3.js} +0 -0
- /package/dist/cdn/{QU5PA5MZ.js → DSPV4EIK.js} +0 -0
- /package/dist/cdn/{FV7FUSTO.js → E3AEBH36.js} +0 -0
- /package/dist/cdn/{2EDZ2LNR.js → FRGVEQAZ.js} +0 -0
- /package/dist/cdn/{ZXEH6MEU.js → G7DHB4QN.js} +0 -0
- /package/dist/cdn/{MGILHYX4.js → GJAC7GKP.js} +0 -0
- /package/dist/cdn/{G42D353L.js → GLZMKGGW.js} +0 -0
- /package/dist/cdn/{WRKX7F2G.js → H3RDAWS7.js} +0 -0
- /package/dist/cdn/{YFM2SKWI.js → HDYBFSI5.js} +0 -0
- /package/dist/cdn/{NGQUETWM.js → HH4A44WX.js} +0 -0
- /package/dist/cdn/{5EU3QVP7.js → HRTVHZHG.js} +0 -0
- /package/dist/cdn/{7427KHVF.js → IU63DGNP.js} +0 -0
- /package/dist/cdn/{O3SPKYBG.js → J3KTKVLP.js} +0 -0
- /package/dist/cdn/{BV52G5DA.js → JHF7SGKM.js} +0 -0
- /package/dist/cdn/{GLKTAVV5.js → JU4MCJPU.js} +0 -0
- /package/dist/cdn/{77ZD2RFI.js → KVIE42LT.js} +0 -0
- /package/dist/cdn/{W2UZH6QI.js → LG3G4BFF.js} +0 -0
- /package/dist/cdn/{VDTRRLON.js → MDTNPISF.js} +0 -0
- /package/dist/cdn/{XYRTRBXU.js → OO4SKY7C.js} +0 -0
- /package/dist/cdn/{SNX6WY7J.js → OTTKYEPK.js} +0 -0
- /package/dist/cdn/{J4VKIBXE.js → QH4RNPEX.js} +0 -0
- /package/dist/cdn/{IHWFNEBS.js → QJBQ3JLC.js} +0 -0
- /package/dist/cdn/{KG3HVAZY.js → SE4NXMGA.js} +0 -0
- /package/dist/cdn/{AZWQWNTK.js → SOOVHYLT.js} +0 -0
- /package/dist/cdn/{KMNELKA3.js → T5QDEAAE.js} +0 -0
- /package/dist/cdn/{W2YB27M6.js → TKEBTPPA.js} +0 -0
- /package/dist/cdn/{6URW6H47.js → TTBQBEDS.js} +0 -0
- /package/dist/cdn/{BIKEUMV7.js → VFHHDNXC.js} +0 -0
- /package/dist/cdn/{QZHFPTSI.js → X2MAQDWV.js} +0 -0
- /package/dist/cdn/{LGNLLGA6.js → YWQU6EBN.js} +0 -0
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as k } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as h } from "lit";
|
|
4
4
|
import { keyed as v } from "lit/directives/keyed.js";
|
|
5
|
-
import { repeat as
|
|
6
|
-
import
|
|
7
|
-
import { classes as
|
|
8
|
-
import { generateGuid as
|
|
5
|
+
import { repeat as x } from "lit/directives/repeat.js";
|
|
6
|
+
import B from "@arcgis/core/layers/list/LayerItemCollection.js";
|
|
7
|
+
import { classes as S } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { generateGuid as U } from "@arcgis/toolkit/string";
|
|
9
9
|
import { createRef as w, ref as b } from "lit/directives/ref.js";
|
|
10
|
-
import { u as
|
|
11
|
-
import { m as
|
|
12
|
-
import { g as
|
|
13
|
-
import { c as
|
|
14
|
-
import { g as m, a as F, m as
|
|
10
|
+
import { u as G } from "../../chunks/useT9n.js";
|
|
11
|
+
import { m as H } from "../../chunks/useViewModel.js";
|
|
12
|
+
import { g as C } from "../../chunks/globalCss.js";
|
|
13
|
+
import { c as I } from "../../chunks/css.js";
|
|
14
|
+
import { g as m, a as F, m as V, b as j, r as M, s as q, c as z, d as J, e as K } from "../../chunks/layer-list-utils.js";
|
|
15
15
|
import p from "@arcgis/core/core/Collection.js";
|
|
16
|
-
import { on as
|
|
17
|
-
import { LitElement as Q, createEvent as
|
|
16
|
+
import { on as $, watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
|
+
import { LitElement as Q, createEvent as y, renderElement as O, safeClassMap as E, nothing as D } from "@arcgis/lumina";
|
|
18
18
|
import { usePropertyChange as W } from "@arcgis/lumina/controllers";
|
|
19
19
|
import { reEmitEvent as X } from "@arcgis/lumina/controllers/accessor";
|
|
20
20
|
import { u as Y } from "../../chunks/useCloseEvent.js";
|
|
21
|
-
import {
|
|
22
|
-
import { s as
|
|
21
|
+
import { ArcgisLayerListItem as Z } from "./layer-list-item/customElement.js";
|
|
22
|
+
import { s as ee, a as te } from "../../chunks/layer-list-next.js";
|
|
23
|
+
import { i as se, h as ie, r as ae } from "../../chunks/utils2.js";
|
|
23
24
|
import "../arcgis-layer-list-item-indicator/customElement.js";
|
|
24
|
-
const
|
|
25
|
-
class
|
|
25
|
+
const P = "nested", re = H(B);
|
|
26
|
+
class oe extends Q {
|
|
26
27
|
constructor() {
|
|
27
|
-
super(...arguments), this._lastDragDetail = null, this._rootListRef = w(), this._layerFlowItemRef = w(), this._panelFlowItemRef = w(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${
|
|
28
|
+
super(...arguments), this._lastDragDetail = null, this._rootListRef = w(), this._layerFlowItemRef = w(), this._panelFlowItemRef = w(), this._selectedDragItemLayerUid = null, this._rootGroupUid = `operational-${U()}`, this._openedLayersController = null, this.messages = G(), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, a) => {
|
|
28
29
|
const i = a === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, r = m(e, this.operationalItems);
|
|
29
30
|
if (!r?.sortable)
|
|
30
31
|
return !1;
|
|
@@ -32,8 +33,8 @@ class ae extends Q {
|
|
|
32
33
|
selected: r,
|
|
33
34
|
from: n,
|
|
34
35
|
to: g
|
|
35
|
-
}, _ = o?.group, c = l?.group,
|
|
36
|
-
return _ && c && typeof i == "function" ? i(f) : L && !T.has(
|
|
36
|
+
}, _ = o?.group, c = l?.group, R = n?.layer?.type ?? "", N = g?.layer?.type ?? "", T = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
|
|
37
|
+
return _ && c && typeof i == "function" ? i(f) : L && !T.has(R) && !T.has(N) && r?.layer?.type !== "sublayer";
|
|
37
38
|
}, this._onCatalogOpen = (e) => {
|
|
38
39
|
this.openedLayers.push(e.layer?.parent);
|
|
39
40
|
}, this._onTablesOpen = (e) => {
|
|
@@ -45,30 +46,30 @@ class ae extends Q {
|
|
|
45
46
|
}, this._setActiveItem = (e) => {
|
|
46
47
|
if (this.visibilityAppearance !== "default")
|
|
47
48
|
return;
|
|
48
|
-
const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(
|
|
49
|
+
const t = Array.from(e.composedPath()).find((a) => a.classList?.contains(I.item)), s = m(t, this.operationalItems);
|
|
49
50
|
this._activeItem = s;
|
|
50
|
-
}, this.viewModel =
|
|
51
|
+
}, this.viewModel = re(this), this.arcgisClose = Y(this), this._activeItem = null, this._onTooltipReferenceChange = (e, t) => {
|
|
51
52
|
t ? this._tooltipReferenceMap.set(e, t) : this._tooltipReferenceMap.delete(e);
|
|
52
53
|
}, this._onSelectedDragItemLayerUidChange = (e) => {
|
|
53
54
|
this._selectedDragItemLayerUid = e;
|
|
54
55
|
}, this._onTriggerAction = (e, t) => {
|
|
55
56
|
this.triggerAction(e, t);
|
|
56
|
-
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems =
|
|
57
|
+
}, this._tooltipReferenceMap = /* @__PURE__ */ new Map(), this._layerListMap = /* @__PURE__ */ new Map(), this.layerTablesEnabled = new p(["knowledge-graph"]), this.mapImageOptions = null, this.openedLayerLists = new p(), this.tileOptions = null, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideCatalogLayerList = !1, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "layers", this.layerTablesAvailable = new p(["knowledge-graph"]), this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.minDragEnabledItems = V, this.minFilterItems = j, this.openedLayers = new p(), this.operationalItems = this.viewModel.operationalItems, this.selectedItems = new p(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryLayerIndicators = !1, this.state = this.viewModel.state, this.view = this.viewModel.view, this.visibilityAppearance = "default", this.arcgisFilterChange = y(), this.arcgisOpenedLayersChange = y(), this.arcgisPropertyChange = W()("state"), this.arcgisReady = y(), this.arcgisSelectedItemsChange = y(), this.arcgisTriggerAction = X(() => this.viewModel, "trigger-action");
|
|
57
58
|
}
|
|
58
59
|
static {
|
|
59
60
|
this.properties = { _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, _totalItems: 16, _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, layerTablesEnabled: 16, mapImageOptions: 16, openedLayerLists: 16, tileOptions: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 5, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesAvailable: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 32, operationalItems: 0, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, view: 0, visibilityAppearance: 1 };
|
|
60
61
|
}
|
|
61
62
|
static {
|
|
62
|
-
this.styles = [
|
|
63
|
+
this.styles = [ee, te];
|
|
63
64
|
}
|
|
64
65
|
get _totalItems() {
|
|
65
|
-
return this.viewModel.operationalItems.flatten((
|
|
66
|
+
return this.viewModel.operationalItems.flatten((t) => t.children.filter((s) => s.layer?.type !== "catalog-dynamic-group")).length;
|
|
66
67
|
}
|
|
67
68
|
get _visibleItems() {
|
|
68
69
|
return this.operationalItems?.filter((e) => !e.hidden && (this.showErrors || !e.error));
|
|
69
70
|
}
|
|
70
71
|
get _openedPanelItems() {
|
|
71
|
-
return this._visibleItems.flatten((e) => e.children).filter((
|
|
72
|
+
return this._visibleItems.flatten((e) => e.children).filter((e) => !e.hidden && e.panel?.open && !e.panel.disabled && e.panel.flowEnabled && (!se(e) || ie(e)));
|
|
72
73
|
}
|
|
73
74
|
get _dragEnabled() {
|
|
74
75
|
return this._totalItems >= this.minDragEnabledItems && this.dragEnabled;
|
|
@@ -91,12 +92,15 @@ class ae extends Q {
|
|
|
91
92
|
}
|
|
92
93
|
loaded() {
|
|
93
94
|
this.manager.onLifecycle(() => [
|
|
94
|
-
|
|
95
|
+
$(() => this.openedLayers, "change", () => {
|
|
95
96
|
this._handleOpenedLayersChange();
|
|
96
97
|
}, { initial: !0 }),
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
$(() => this.viewModel.operationalItems, "change", () => M(this.selectedItems), { initial: !0 }),
|
|
99
|
+
A(() => this.operationalItems.flatten((e) => e.children).map((e) => e.uid).join(","), () => {
|
|
100
|
+
M(this.selectedItems), this.requestUpdate();
|
|
101
|
+
}, { initial: !0 }),
|
|
102
|
+
$(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
|
|
103
|
+
A(() => [this.filterPredicate, this._rootListRef.value], () => q(this._rootListRef.value, this.filterPredicate, this.operationalItems))
|
|
100
104
|
]);
|
|
101
105
|
}
|
|
102
106
|
triggerAction(e, t) {
|
|
@@ -153,7 +157,7 @@ class ae extends Q {
|
|
|
153
157
|
}
|
|
154
158
|
async _createCatalogLayerList(e) {
|
|
155
159
|
const { headingLevel: t, catalogOptions: s, filterPlaceholder: a, listItemCreatedFunction: i, minFilterItems: r, selectionMode: o, visibilityAppearance: l } = this;
|
|
156
|
-
return
|
|
160
|
+
return O(h`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? a} .listItemCreatedFunction=${s?.listItemCreatedFunction ?? i} .minFilterItems=${s?.minFilterItems ?? r} .selectionMode=${s?.selectionMode ?? o} .visibilityAppearance=${s?.visibilityAppearance ?? l} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${(n) => n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
|
|
157
161
|
}
|
|
158
162
|
_getTableListParams(e) {
|
|
159
163
|
switch (e.type) {
|
|
@@ -175,14 +179,14 @@ class ae extends Q {
|
|
|
175
179
|
}
|
|
176
180
|
async _createTableList(e) {
|
|
177
181
|
const { headingLevel: t, selectionMode: s, dragEnabled: a } = this, i = this._getTableListParams(e);
|
|
178
|
-
return
|
|
182
|
+
return O(h`<arcgis-table-list-next .headingLevel=${i?.headingLevel ?? t} .selectionMode=${i?.selectionMode ?? s} .dragEnabled=${i?.dragEnabled ?? a} .collapsed=${i?.collapsed} .filterPlaceholder=${i?.filterPlaceholder} .filterText=${i?.filterText} .icon=${i?.icon ?? void 0} .label=${i?.label ?? void 0} .listItemCreatedFunction=${i?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${i?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${(r) => r.stopPropagation()}></arcgis-table-list-next>`);
|
|
179
183
|
}
|
|
180
184
|
_handlePanelFlowItemBack(e) {
|
|
181
185
|
e.open = !1;
|
|
182
186
|
}
|
|
183
187
|
_moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: a }) {
|
|
184
188
|
const i = this._resolveListContainer(e), r = this._resolveListContainer(t), o = m(s, this.operationalItems), l = this._getContainerItem(i), n = this._getContainerItem(r);
|
|
185
|
-
a == null || !o || (this.viewModel.moveItem(o, n, l, a),
|
|
189
|
+
a == null || !o || (this.viewModel.moveItem(o, n, l, a), ae(this, o.uid, (d) => this._resolveListContainer(d.parentElement) === i));
|
|
186
190
|
}
|
|
187
191
|
_onCalciteListDragEnd(e) {
|
|
188
192
|
const { fromEl: t, toEl: s, dragEl: a, oldIndex: i } = e;
|
|
@@ -215,12 +219,12 @@ class ae extends Q {
|
|
|
215
219
|
_sortLayers(e, t) {
|
|
216
220
|
if (e)
|
|
217
221
|
if (e === this._rootListRef.value)
|
|
218
|
-
|
|
222
|
+
z(this.el.view?.map?.layers, t);
|
|
219
223
|
else {
|
|
220
224
|
const s = m(e, this.operationalItems);
|
|
221
225
|
if (!s)
|
|
222
226
|
return;
|
|
223
|
-
|
|
227
|
+
J(s, t);
|
|
224
228
|
}
|
|
225
229
|
}
|
|
226
230
|
_handleCalciteListChange(e) {
|
|
@@ -232,10 +236,10 @@ class ae extends Q {
|
|
|
232
236
|
}
|
|
233
237
|
render() {
|
|
234
238
|
const { state: e } = this, t = {
|
|
235
|
-
[
|
|
236
|
-
[
|
|
239
|
+
[C.hidden]: e === "loading",
|
|
240
|
+
[C.disabled]: e === "disabled"
|
|
237
241
|
};
|
|
238
|
-
return h`<div class=${E(
|
|
242
|
+
return h`<div class=${E(S(C.widget, t))}>${this._visibleItems?.length ? this._renderItemTooltips() : null}${this._renderItems()}</div>`;
|
|
239
243
|
}
|
|
240
244
|
_renderItemTooltip(e) {
|
|
241
245
|
const { _tooltipReferenceMap: t, messages: s } = this;
|
|
@@ -254,17 +258,17 @@ class ae extends Q {
|
|
|
254
258
|
return h`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
255
259
|
}
|
|
256
260
|
_renderNoItems() {
|
|
257
|
-
return this.hideNoItemsNotice ? null : h`<div class=${E(
|
|
261
|
+
return this.hideNoItemsNotice ? null : h`<div class=${E(I.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`;
|
|
258
262
|
}
|
|
259
263
|
_renderLayerFlowItem(e, t) {
|
|
260
264
|
const { messages: s, openedLayers: a } = this, i = e.title || this.messages.untitledLayer;
|
|
261
|
-
return v(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ??
|
|
265
|
+
return v(e?.uid ?? i, h`<calcite-flow-item data-layer-uid=${e?.uid ?? "" ?? D} .description=${i} .heading=${s[e.type === "catalog" ? "catalogLayers" : "tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${(r) => {
|
|
262
266
|
r.preventDefault(), a.pop(), a.at(-1) && this._layerFlowItemRef.value?.setFocus();
|
|
263
267
|
}} ${b(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
|
|
264
268
|
}
|
|
265
269
|
_renderPanelFlowItems() {
|
|
266
270
|
const { _openedPanelItems: e, openedLayers: t } = this;
|
|
267
|
-
return
|
|
271
|
+
return x(e.toArray(), (a) => a.uid, (a, i) => {
|
|
268
272
|
const { panel: r, title: o } = a, l = () => this._handlePanelFlowItemBack(r);
|
|
269
273
|
return h`<calcite-flow-item .description=${o} .heading=${r.title} .headingLevel=${this.headingLevel} .selected=${!t.length && i === e.length - 1} @calciteFlowItemBack=${(n) => {
|
|
270
274
|
n.preventDefault(), l();
|
|
@@ -273,19 +277,19 @@ class ae extends Q {
|
|
|
273
277
|
}
|
|
274
278
|
_renderItems() {
|
|
275
279
|
const { collapsed: e, _visibleItems: t, _openedPanelItems: s, _filterEnabled: a, _rootGroupUid: i, showCloseButton: r, showCollapseButton: o, showHeading: l, _dragEnabled: n, selectionMode: d, filterText: g, openedLayers: u, filterPlaceholder: L, messages: f } = this, _ = [
|
|
276
|
-
h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${l ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ??
|
|
280
|
+
h`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${o} .heading=${l ? f.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!u.length && !s.length} @calciteFlowItemClose=${() => this.closed = !1}>${t?.length ? h`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(c) => this._canMove(c, "pull")} .canPut=${(c) => this._canMove(c, "put")} data-layer-type=${i ?? D} .displayMode=${P} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${L} .filterProps=${K} .filterText=${a ? g : ""} .group=${i} .label=${f.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${d} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${(c) => {
|
|
277
281
|
this.filterText = c.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
|
|
278
|
-
}} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${E(
|
|
282
|
+
}} @calciteListOrderChange=${(c) => this._onCalciteListOrderChange(c.detail)} @calciteListDragEnd=${(c) => this._onCalciteListDragEnd(c.detail)} ${b(this._rootListRef)}>${t.toArray().map((c) => this._renderItem(c))}${a && !this.hideNoFilterResultsNotice ? h`<div class=${E(I.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>` : null}</calcite-list>` : this._renderNoItems()}</calcite-flow-item>`,
|
|
279
283
|
this._renderPanelFlowItems(),
|
|
280
284
|
this._renderedOpenLayerFlowItems
|
|
281
285
|
];
|
|
282
286
|
return this.closed ? null : v("root-flow", h`<calcite-flow>${_}</calcite-flow>`);
|
|
283
287
|
}
|
|
284
288
|
_renderItem(e, t, s) {
|
|
285
|
-
return v(e.uid,
|
|
289
|
+
return v(e.uid, Z({ activeItem: this._activeItem, canMove: this._canMove, css: I, displayMode: P, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, hideCatalogLayerList: this.hideCatalogLayerList, item: e, messages: this.messages, layerTablesEnabled: this.layerTablesEnabled, listModeDisabled: this.viewModel.listModeDisabled, operationalItems: this.operationalItems, parent: t, parentTitles: s, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, setCurrentActiveItem: this._setCurrentActiveItem, showTemporaryLayerIndicators: this.showTemporaryLayerIndicators, showCloseButton: this.showCloseButton, showCollapseButton: this.showCollapseButton, showErrors: this.showErrors, showHeading: this.showHeading, showFilter: this.showFilter, clearActiveItem: this._clearActiveItem, visibilityAppearance: this.visibilityAppearance, handleAction: this._onTriggerAction, handleCatalogOpen: this._onCatalogOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, handleTablesOpen: this._onTablesOpen, handleTooltipReferenceChange: this._onTooltipReferenceChange, view: this.view }));
|
|
286
290
|
}
|
|
287
291
|
}
|
|
288
|
-
|
|
292
|
+
k("arcgis-layer-list-next", oe);
|
|
289
293
|
export {
|
|
290
|
-
|
|
294
|
+
oe as ArcgisLayerListNext
|
|
291
295
|
};
|
|
@@ -1,13 +1,137 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import "lit";
|
|
3
|
-
import "lit/directives/keyed.js";
|
|
4
|
-
import "@arcgis/core/layers/catalog/catalogUtils.js";
|
|
5
|
-
import "@arcgis/lumina";
|
|
6
|
-
import "@arcgis/toolkit/dom";
|
|
7
|
-
import "lit/directives/ref.js";
|
|
8
|
-
import "../../../chunks/action-utils.js";
|
|
9
|
-
import "../../../chunks/layer-list-utils.js";
|
|
10
|
-
import {
|
|
2
|
+
import { html as s } from "lit";
|
|
3
|
+
import { keyed as K } from "lit/directives/keyed.js";
|
|
4
|
+
import { isLayerFromCatalog as Le } from "@arcgis/core/layers/catalog/catalogUtils.js";
|
|
5
|
+
import { safeClassMap as r, nothing as d } from "@arcgis/lumina";
|
|
6
|
+
import { classes as Q } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { createRef as W, ref as X } from "lit/directives/ref.js";
|
|
8
|
+
import { a as Me } from "../../../chunks/action-utils.js";
|
|
9
|
+
import { f as ke, i as Y, l as Ee, h as Pe, j as we, k as De, g as Oe } from "../../../chunks/layer-list-utils.js";
|
|
10
|
+
import { i as Fe, g as Z, t as ee, h as te, a as Ge, F as Re, b as Ve, L as ie, f as He } from "../../../chunks/utils2.js";
|
|
11
|
+
const ae = /* @__PURE__ */ new Map();
|
|
12
|
+
function le(a) {
|
|
13
|
+
return a ? ae.get(a) ?? !1 : !1;
|
|
14
|
+
}
|
|
15
|
+
function Ue(a, e) {
|
|
16
|
+
const y = !(a.aria?.pressed ?? le(e));
|
|
17
|
+
return a.aria = { ...a.aria, pressed: y }, e && ae.set(e, y), y;
|
|
18
|
+
}
|
|
19
|
+
function qe(a) {
|
|
20
|
+
const { item: e, itemType: y = "layer", parent: f, hideStatusIndicators: ne, css: i, visibilityAppearance: I, hideCatalogLayerList: ce, dragEnabled: P = !1, rootGroupUid: A, listModeDisabled: se = !1, selectionMode: T, displayMode: oe, layerTablesEnabled: C, showErrors: re, parentTitles: w, selectedItems: de, activeItem: me, handleCatalogOpen: ue, handleTablesOpen: be, selectedDragItemLayerUid: ge, handleSelectedDragItemLayerUidChange: pe, handlePanelOpen: $e, messages: l, setCurrentActiveItem: D, clearActiveItem: O } = a, c = Fe(e), p = W(), S = W(), ye = y === "table" ? l.untitledTable ?? "" : l.untitledLayer ?? "", fe = c ? l.trackInfo?.[e.trackInfoType] ?? e.trackInfoType ?? "" : "", b = e.title || fe || ye || "";
|
|
21
|
+
let F = null;
|
|
22
|
+
!ne && !c && (F = s`<arcgis-layer-list-item-indicator class=${r(i.statusIndicator)} .messages=${l} .item=${e} .parent=${f} slot=content-end></arcgis-layer-list-item-indicator>`);
|
|
23
|
+
let G = null;
|
|
24
|
+
{
|
|
25
|
+
const { layer: t } = e, n = t && "persistenceEnabled" in t && (Le(t) || !t.persistenceEnabled);
|
|
26
|
+
!c && (a.showTemporaryLayerIndicators || a.showTemporaryTableIndicators) && n && (G = s`<calcite-icon class=${r(i.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${l.temporary ?? d}></calcite-icon>`);
|
|
27
|
+
}
|
|
28
|
+
let R = null;
|
|
29
|
+
if ("visible" in e && "visibleToggle" in i && I) {
|
|
30
|
+
const t = Z(f);
|
|
31
|
+
if (t !== "inherited") {
|
|
32
|
+
const n = ke({
|
|
33
|
+
visible: e.visible,
|
|
34
|
+
exclusive: t === "exclusive",
|
|
35
|
+
visibilityAppearance: I
|
|
36
|
+
}), o = I === "checkbox", m = l.layerVisibility, $ = e.title ?? e.layer?.title ?? "", g = $ ? `${m ?? ""}: ${$}` : m ?? "", v = c ? e.visible : le(e.layer?.id);
|
|
37
|
+
R = s`<calcite-action .aria=${{ pressed: v }} class=${r(i.visibleToggle)} .icon=${o ? n : void 0} .label=${g} @click=${(E) => {
|
|
38
|
+
c || Ue(E.currentTarget, e.layer?.id), ee(e, f);
|
|
39
|
+
}} .slot=${o ? "actions-start" : "actions-end"} .text=${m ?? ""} title=${m ?? d}>${o ? null : s`<calcite-icon class=${r(Q({
|
|
40
|
+
[i.visibleIcon]: t !== "exclusive" && e.visible
|
|
41
|
+
}))} .icon=${n} scale=s></calcite-icon>`}</calcite-action>`;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
let V = null;
|
|
45
|
+
{
|
|
46
|
+
const t = e.panel;
|
|
47
|
+
t?.open && !t.disabled && !t.flowEnabled && (!c || te(e)) && (V = s`<div class=${r(i.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${a.view}></arcgis-layer-list-item-panel></div>`);
|
|
48
|
+
}
|
|
49
|
+
let H = null;
|
|
50
|
+
{
|
|
51
|
+
const t = e.panel;
|
|
52
|
+
if (t?.visible && (!c || te(e))) {
|
|
53
|
+
const { open: n, title: o, disabled: m } = t;
|
|
54
|
+
(t.content === "legend" || Array.isArray(t.content) && t.content.includes("legend")) && (t.icon = "legend");
|
|
55
|
+
const $ = {
|
|
56
|
+
icon: t.icon,
|
|
57
|
+
image: t.image ?? void 0,
|
|
58
|
+
indicator: !1
|
|
59
|
+
}, g = Me($);
|
|
60
|
+
H = s`<calcite-action .active=${n} .disabled=${m} .icon=${g} @click=${() => Ge(e, $e)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? d}>${Re(i, t)}</calcite-action>`;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
let U = null;
|
|
64
|
+
{
|
|
65
|
+
const t = e.layer, n = t?.type === "catalog-footprint", o = t?.type === "sublayer" && Y(t, "footprints");
|
|
66
|
+
!c && "itemCatalogIcon" in i && (n || o) && (U = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`);
|
|
67
|
+
}
|
|
68
|
+
let q = null;
|
|
69
|
+
{
|
|
70
|
+
const t = e.layer, n = t?.type === "catalog-dynamic-group", o = t?.type === "sublayer" && Y(t, "layers-in-view");
|
|
71
|
+
!c && "itemCatalogIcon" in i && (n || o) && (q = s`<calcite-icon class=${r(i.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`);
|
|
72
|
+
}
|
|
73
|
+
let j = null;
|
|
74
|
+
if ("visible" in e) {
|
|
75
|
+
const t = e.layer;
|
|
76
|
+
!c && !ce && t?.type === "catalog-dynamic-group" && (j = s`<calcite-action .disabled=${!t.visible} icon=chevron-right icon-flip-rtl @click=${() => ue?.(e)} scale=s slot=actions-end .text=${b ?? ""}></calcite-action>`);
|
|
77
|
+
}
|
|
78
|
+
let B = null, x = !1;
|
|
79
|
+
{
|
|
80
|
+
const t = e.layer;
|
|
81
|
+
if (!c && C && t)
|
|
82
|
+
switch (t.type) {
|
|
83
|
+
case "knowledge-graph":
|
|
84
|
+
x = C.includes(t.type) && "tables" in t && !!t.tables?.length;
|
|
85
|
+
break;
|
|
86
|
+
case "map-image":
|
|
87
|
+
case "tile":
|
|
88
|
+
x = C.includes(t.type) && "subtables" in t && !!t.subtables?.length;
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
"itemTableIcon" in i && "visible" in e && "tables" in l && x && (B = K(`${e.uid}-tables`, s`<calcite-list-item class=${r(i.item)} data-layer-id=${t?.id ?? d} drag-disabled .label=${l.tables} title=${l.tables ?? d} @calciteListItemSelect=${() => be?.(e)} .value=${e}><calcite-icon class=${r(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`));
|
|
92
|
+
}
|
|
93
|
+
let N = null;
|
|
94
|
+
if ("children" in e) {
|
|
95
|
+
const t = [...w ?? [], e.title], { children: n, layer: o } = e, m = o?.type !== "catalog-dynamic-group" && Ee(e), $ = se ? !1 : Pe(o), g = o?.type === "group", v = !$ && !m && P && g, E = g && "sortable" in e && e.sortable, Ce = n.some((u) => "sortable" in u && u.sortable), Se = P && (m || v) && (Ce || v) && ("childrenSortable" in e && e.childrenSortable || E) && we(e), xe = m ? (n?.filter((u) => !u.hidden && (re || !u.error)).toArray() ?? []).map((u) => qe({
|
|
96
|
+
...a,
|
|
97
|
+
item: u,
|
|
98
|
+
parent: e,
|
|
99
|
+
parentTitles: t
|
|
100
|
+
})) : null;
|
|
101
|
+
(m || v) && (N = s`<calcite-list .canPull=${(u) => a.canMove ? a.canMove(u, "pull") : !1} .canPut=${(u) => a.canMove ? a.canMove(u, "put") : !1} data-item=${e.uid ?? d} data-layer-type=${A ?? d} .displayMode=${oe} .dragEnabled=${Se} .group=${g ? A : `${A}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${T}>${xe}${B}</calcite-list>`);
|
|
102
|
+
}
|
|
103
|
+
let L = null;
|
|
104
|
+
if (!c && e.error) {
|
|
105
|
+
const t = "layerError" in l ? l.layerError : l.tableError;
|
|
106
|
+
L = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${t}</div></calcite-notice></div>`;
|
|
107
|
+
} else "incompatible" in e && e.incompatible && "layerIncompatible" in l && (L = s`<div class=${r(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${X(S)}><div slot=message>${l.layerIncompatible}</div></calcite-notice></div>`);
|
|
108
|
+
const _ = Ve(e), M = e.actionsSections.reduce((t, n) => t + n.length, 0), z = De(_), ve = _.toArray().map((t) => s`<calcite-action-group>${t.toArray().map((n) => ie(a, n, !0))}</calcite-action-group>`), he = (t) => {
|
|
109
|
+
e.actionsOpen = t.currentTarget.open;
|
|
110
|
+
};
|
|
111
|
+
let J = null;
|
|
112
|
+
M > 1 && (J = s`<calcite-action-menu appearance=transparent .label=${l.menu ?? ""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${he}><calcite-action .aria=${{
|
|
113
|
+
expanded: e.actionsOpen ?? !1,
|
|
114
|
+
hasPopup: "true"
|
|
115
|
+
}} icon=ellipsis scale=s slot=trigger .text=${l.options ?? ""} title=${l.options ?? d}></calcite-action>${ve}</calcite-action-menu>`);
|
|
116
|
+
let k = null;
|
|
117
|
+
M === 1 && z ? k = ie(a, z, !1) : M > 1 && (k = J);
|
|
118
|
+
const Ie = c ? b : "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in l && !e.visibleAtCurrentTimeExtent ? `${b} (${l.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in l && !e.visibleAtCurrentScale ? `${b} (${l.layerInvisibleAtScale})` : b, Ae = "parent" in e && e.parent?.layer?.type === "catalog", h = e.layer, Te = !c && ("visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent);
|
|
119
|
+
return queueMicrotask(() => {
|
|
120
|
+
c || He(p.value ?? null, e, ge, pe), S.value && (a.handleTooltipReferenceChange?.(h?.uid, S.value), queueMicrotask(() => a.handleTooltipReferenceChange?.(h?.uid, null)));
|
|
121
|
+
}), K(e.uid, s`<calcite-list-item class=${r(Q(i.item, "itemActive" in i && { [i.itemActive]: me?.uid === e.uid }))} data-item=${e.uid ?? d} data-layer-id=${h?.id ?? d} .dragDisabled=${!("sortable" in e && e.sortable) || Ae} id=${(c ? void 0 : h?.uid) ?? d} .label=${b} .metadata=${{ parentTitles: w ?? [], _title: b }} .expanded=${"open" in e && e.open} .selected=${T !== "none" ? de.includes(e) : !1} title=${Ie ?? d} .unavailable=${Te} .value=${e} @focusin=${() => {
|
|
122
|
+
D?.(e), p.value?.classList.add(i.itemActive);
|
|
123
|
+
}} @focusout=${() => {
|
|
124
|
+
O?.(), p.value?.classList.remove(i.itemActive);
|
|
125
|
+
}} @mouseover=${() => {
|
|
126
|
+
D?.(e), p.value?.classList.add(i.itemActive);
|
|
127
|
+
}} @mouseleave=${() => {
|
|
128
|
+
O?.(), p.value?.classList.remove(i.itemActive);
|
|
129
|
+
}} @calciteListItemSelect=${(t) => {
|
|
130
|
+
t.target === t.currentTarget && "visible" in e && Oe(t.currentTarget, a.operationalItems) === e && T === "none" && Z(f) !== "inherited" && ee(e, f);
|
|
131
|
+
}} @calciteListItemToggle=${(t) => {
|
|
132
|
+
"open" in e && (t.stopPropagation(), e.open = t.target.expanded);
|
|
133
|
+
}} ${X(p)}>${U}${q}${F}${R}${j}${G}${N}${L}${V}${H}${k}</calcite-list-item>`);
|
|
134
|
+
}
|
|
11
135
|
export {
|
|
12
|
-
|
|
136
|
+
qe as ArcgisLayerListItem
|
|
13
137
|
};
|
|
@@ -40,6 +40,11 @@ export type LayerListMessages = {
|
|
|
40
40
|
tableError: string;
|
|
41
41
|
temporary: string;
|
|
42
42
|
tables: string;
|
|
43
|
+
trackInfo: {
|
|
44
|
+
latestObservations: string;
|
|
45
|
+
previousObservations: string;
|
|
46
|
+
trackLines: string;
|
|
47
|
+
};
|
|
43
48
|
catalogLayers: string;
|
|
44
49
|
connectionStatus: string;
|
|
45
50
|
updating: string;
|
|
@@ -4,7 +4,7 @@ import { css as y, html as s } from "lit";
|
|
|
4
4
|
import { LitElement as v, safeClassMap as $, safeStyleMap as u } from "@arcgis/lumina";
|
|
5
5
|
import { classes as L } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { r as b } from "../../chunks/svgUtils.js";
|
|
7
|
-
import { a as x } from "../../chunks/
|
|
7
|
+
import { a as x } from "../../chunks/utils3.js";
|
|
8
8
|
const w = y`:host{display:flex}.layer-row{display:flex;flex:1}.color-ramp-container{justify-content:center}.symbol-container{display:flex;flex-direction:column}.interval-separators-container{text-align:center}.interval-separator{font-size:.5em}.ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:var(--calcite-font-line-height-fixed-xl)}`, R = 25, E = 25, _ = 100;
|
|
9
9
|
class S extends v {
|
|
10
10
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { classes as r } from "@arcgis/toolkit/dom";
|
|
|
7
7
|
import { H as w } from "../../chunks/heading.js";
|
|
8
8
|
import { g as f } from "../../chunks/globalCss.js";
|
|
9
9
|
import { a as _, g as v } from "../../chunks/titleUtils.js";
|
|
10
|
-
import { s as $, i as z, g as x } from "../../chunks/
|
|
10
|
+
import { s as $, i as z, g as x } from "../../chunks/utils3.js";
|
|
11
11
|
const C = k`.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)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;height:100%;height:-moz-available;height:-webkit-fill-available;height:fill-available;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;
|
|
12
12
|
function F(m) {
|
|
13
13
|
return m ? m.r * 0.299 + m.g * 0.587 + m.b * 0.114 >= 127 : void 0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as P, html as X } from "lit";
|
|
4
4
|
import { LitElement as j, safeStyleMap as v, safeClassMap as Y } from "@arcgis/lumina";
|
|
5
|
-
import { s as k, g as I, p as R } from "../../chunks/
|
|
5
|
+
import { s as k, g as I, p as R } from "../../chunks/utils3.js";
|
|
6
6
|
const A = P`.size-ramp-container{display:flex;align-items:center;justify-content:center}.size-ramp-vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.size-ramp-label{margin:0 .5em;white-space:nowrap}.size-ramp-vertical-ramp{display:flex;flex-direction:column;align-items:center}.size-ramp-ramp{display:flex;flex-direction:row-reverse;align-items:center}.size-ramp-preview{display:flex}`, M = "#ddd";
|
|
7
7
|
function N(e) {
|
|
8
8
|
if (!e)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as s, html as l } from "lit";
|
|
4
4
|
import { LitElement as i, safeStyleMap as c, safeClassMap as o } from "@arcgis/lumina";
|
|
5
|
-
import { s as p, a as n } from "../../chunks/
|
|
5
|
+
import { s as p, a as n } from "../../chunks/utils3.js";
|
|
6
6
|
const m = s`.layer-row{display:flex}.layer-cell{padding:var(--calcite-space-2xs) 0;vertical-align:middle;word-break:break-word}.layer-cell-symbols{text-align:center}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.color-ramp{width:24px}.opacity-ramp{background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAG1pZjFhdmlmbWlhZgAAANZtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAImlsb2MAAAAAREAAAQABAAAAAAD6AAEAAAAAAAAAHgAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAVmlwcnAAAAA4aXBjbwAAAAxhdjFDgQAMAAAAABRpc3BlAAAAAAAAAAgAAAAIAAAAEHBpeGkAAAAAAwgICAAAABZpcG1hAAAAAAAAAAEAAQOBAgMAAAAmbWRhdBIACggYCL/kgIaDQjIQGAAAAEBAA1LuL7oS8L0QEA==)}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.layer-caption{display:table-caption;padding:var(--calcite-space-sm) 0}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`;
|
|
7
7
|
class d extends i {
|
|
8
8
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { css as f, html as s } from "lit";
|
|
|
4
4
|
import { LitElement as u, safeClassMap as m, nothing as o, safeStyleMap as $ } from "@arcgis/lumina";
|
|
5
5
|
import { classes as y } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { a as E, g as p } from "../../chunks/titleUtils.js";
|
|
7
|
-
import { s as h, i as L, g as b } from "../../chunks/
|
|
7
|
+
import { s as h, i as L, g as b } from "../../chunks/utils3.js";
|
|
8
8
|
const x = f`:host{contain:content}.layer-body:has(>arcgis-legend-classic-element){display:flex;flex-direction:column;gap:calc(var(--arcgis-internal-legend-layer-gap) / 2)}.layer-body arcgis-legend-classic-element{margin-inline-start:var(--arcgis-internal-legend-layer-padding)}.layer-table{display:table;width:100%}.layer-caption{display:table-caption;word-break:break-word;color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);padding-bottom:var(--calcite-space-sm)}.layer-row{display:table-row}.layer-body:has(>.layer-row+.layer-row)>.layer-row .layer-cell{padding-block:var(--calcite-space-2xs)}.layer-cell{vertical-align:middle;word-break:break-word;display:table-cell}.layer-cell-info{padding-inline-start:var(--calcite-space-xs);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.layer-cell-inline-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.imagery-layer-info-stretched{padding:0 2px;vertical-align:top}.layer-cell-symbols{text-align:center}.symbol{display:flex;justify-content:center}`;
|
|
9
9
|
class z extends u {
|
|
10
10
|
static {
|
|
@@ -4,7 +4,7 @@ import { css as n, html as i } from "lit";
|
|
|
4
4
|
import { LitElement as m, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
import { classes as l } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { g as o } from "../../chunks/titleUtils.js";
|
|
7
|
-
import { s as c, g as p } from "../../chunks/
|
|
7
|
+
import { s as c, g as p } from "../../chunks/utils3.js";
|
|
8
8
|
const d = n`.size-ramp-container{display:table}.size-ramp-row{display:table-row}.size-ramp-row:not(:last-child) .size-ramp-cell,.size-ramp-row:not(:last-child) .size-ramp-label{padding-bottom:var(--calcite-space-xs)}.size-ramp-cell{min-width:100px;vertical-align:middle;word-break:break-word;display:table-cell}.size-ramp-label{padding-inline-start:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.size-ramp-symbol-container{min-width:10px;text-align:center}.size-ramp-symbol{display:flex;justify-content:center}`;
|
|
9
9
|
class g extends m {
|
|
10
10
|
constructor() {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { c as W } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as X, html as v } from "lit";
|
|
4
4
|
import { LitElement as Y, safeStyleMap as b } from "@arcgis/lumina";
|
|
5
|
-
import { s as A, g as z, p as k } from "../../chunks/
|
|
5
|
+
import { s as A, g as z, p as k } from "../../chunks/utils3.js";
|
|
6
6
|
const C = X`.spike-ramp-container{display:flex;flex-direction:row;gap:var(--calcite-space-sm-plus)}.spike-ramp-preview-container{display:flex;position:relative;gap:var(--calcite-space-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding-inline-end:var(--calcite-space-xl)}.spike-ramp-preview{display:flex;gap:var(--calcite-space-sm-plus);align-items:end}.spike-ramp-symbol-preview{display:flex}.spike-ramp-lines{display:flex;position:absolute;bottom:0}.spike-ramp-labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.spike-ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.spike-ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`, I = "#ddd", e = window.devicePixelRatio;
|
|
7
7
|
function u(m) {
|
|
8
8
|
return m.infos.filter((r, o) => o % 2 === 0);
|
|
@@ -29,7 +29,7 @@ import W from "@arcgis/core/geometry/Point.js";
|
|
|
29
29
|
import { createSphere as Te } from "@arcgis/core/geometry/support/meshUtils.js";
|
|
30
30
|
import Se from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
31
31
|
import ze from "@arcgis/core/symbols/Font.js";
|
|
32
|
-
import { c as Ie, b as Pe, f as Le } from "../../chunks/
|
|
32
|
+
import { c as Ie, b as Pe, f as Le } from "../../chunks/utils4.js";
|
|
33
33
|
import Re from "@arcgis/core/symbols/TextSymbol.js";
|
|
34
34
|
import { log as Ae } from "@arcgis/toolkit/log";
|
|
35
35
|
const Fe = se`:host{height:100%;--arcgis-view-color-focus: none}`;
|
package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js
CHANGED
|
@@ -6,7 +6,7 @@ import { g as f } from "../../chunks/globalCss.js";
|
|
|
6
6
|
import { s as w, c as d, a as g } from "../../chunks/zoom.js";
|
|
7
7
|
import { u as O } from "../../chunks/useT9n.js";
|
|
8
8
|
import { u as V } from "../../chunks/useView.js";
|
|
9
|
-
import { m as s, f as i, a as n, b as p, c as y, d as m } from "../../chunks/
|
|
9
|
+
import { m as s, f as i, a as n, b as p, c as y, d as m } from "../../chunks/utils4.js";
|
|
10
10
|
import { clamp as z } from "@arcgis/toolkit/number";
|
|
11
11
|
class F extends l {
|
|
12
12
|
constructor() {
|
|
@@ -395,6 +395,13 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
395
395
|
* @default false
|
|
396
396
|
*/
|
|
397
397
|
accessor hideCollapseButton: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* Indicates whether to hide relationship content when there are no relationship items to display.
|
|
400
|
+
*
|
|
401
|
+
* @default false
|
|
402
|
+
* @since 5.2
|
|
403
|
+
*/
|
|
404
|
+
accessor hideEmptyRelationshipContent: boolean;
|
|
398
405
|
/**
|
|
399
406
|
* Indicates whether to hide the group heading for a list of multiple features.
|
|
400
407
|
*
|