@arcgis/map-components 5.0.3 → 5.0.5
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/{IQJFR3TR.js → 26VRRGUW.js} +1 -1
- package/dist/cdn/{YL6LFOI6.js → 2FVZ2L32.js} +1 -1
- package/dist/cdn/{UQ75DYBR.js → 2GGAEJNI.js} +1 -1
- package/dist/cdn/2QWCB7GX.js +2 -0
- package/dist/cdn/{N6EXL5PV.js → 2QWJ2ZHP.js} +1 -1
- package/dist/cdn/{ZYW575W2.js → 2RA54D2B.js} +1 -1
- package/dist/cdn/2YBKWLT6.js +2 -0
- package/dist/cdn/{BXBZ45Z6.js → 3DLW2M43.js} +1 -1
- package/dist/cdn/{HJOLEPJQ.js → 3HHVT72L.js} +1 -1
- package/dist/cdn/{5TDRJ6BO.js → 3NHT23VJ.js} +1 -1
- package/dist/cdn/{KPVOST74.js → 44VMR4JB.js} +1 -1
- package/dist/cdn/455CNC2X.js +2 -0
- package/dist/cdn/4MMWFGGQ.js +2 -0
- package/dist/cdn/{NM2EWCQF.js → 4Q2CQXZM.js} +1 -1
- package/dist/cdn/56VJEIND.js +2 -0
- package/dist/cdn/5BACVRLF.js +2 -0
- package/dist/cdn/5L7UUJ66.js +2 -0
- package/dist/cdn/{6DT4W3PN.js → 5MPJ5TRF.js} +1 -1
- package/dist/cdn/5NBBZ5WV.js +2 -0
- package/dist/cdn/5QH4JWF5.js +2 -0
- package/dist/cdn/{6UF3GD42.js → 5U7NIXQ6.js} +1 -1
- package/dist/cdn/62OC5IBG.js +2 -0
- package/dist/cdn/6E6ZUR66.js +2 -0
- package/dist/cdn/6K2ESAWF.js +2 -0
- package/dist/cdn/6V3ZKOES.js +2 -0
- package/dist/cdn/{DPTX2JAJ.js → 6ZX2WPNN.js} +1 -1
- package/dist/cdn/75JRU7XJ.js +2 -0
- package/dist/cdn/{ZBZNQJTB.js → 7AGRHMNT.js} +1 -1
- package/dist/cdn/{AINOSF34.js → 7DSZFPFQ.js} +1 -1
- package/dist/cdn/7WR4XB3L.js +2 -0
- package/dist/cdn/{LMO54LM5.js → 7XKRUO3L.js} +1 -1
- package/dist/cdn/{XWXDZCHT.js → A2A6CN44.js} +1 -1
- package/dist/cdn/ACKNTQRK.js +2 -0
- package/dist/cdn/{BLUSCZEI.js → AOEKBWNA.js} +1 -1
- package/dist/cdn/{L4TN2JVW.js → APAPCPXT.js} +1 -1
- package/dist/cdn/AR44QMUK.js +2 -0
- package/dist/cdn/{KUKA64TP.js → AZFKJZ3C.js} +1 -1
- package/dist/cdn/{Y5LMOCNV.js → BAKCV4BT.js} +1 -1
- package/dist/cdn/{5SQO5LG2.js → C6BRR6HO.js} +1 -1
- package/dist/cdn/{OLWVHUY3.js → C6ESN7QO.js} +1 -1
- package/dist/cdn/{PGVDMQFL.js → CC4PR3SI.js} +1 -1
- package/dist/cdn/CIE5JE3M.js +2 -0
- package/dist/cdn/CUOULJK4.js +2 -0
- package/dist/cdn/{74VZCYGW.js → CVO6GRJE.js} +1 -1
- package/dist/cdn/DGRJQ3VH.js +2 -0
- package/dist/cdn/{GCV66L4K.js → DLBLKQYS.js} +1 -1
- package/dist/cdn/{HGGPCEHX.js → DORZKGB4.js} +1 -1
- package/dist/cdn/{ZAUJLPVR.js → DXTTUW4R.js} +1 -1
- package/dist/cdn/{PDWTBEA4.js → E2PRW7I3.js} +1 -1
- package/dist/cdn/{ZW3EETDO.js → E3ZQD7XL.js} +1 -1
- package/dist/cdn/E7N2OSLX.js +2 -0
- package/dist/cdn/{Z6AWAFSU.js → ECCKHLGV.js} +1 -1
- package/dist/cdn/{QHHSQ4PK.js → EDIR5P2A.js} +1 -1
- package/dist/cdn/EHBJMP6X.js +2 -0
- package/dist/cdn/{NG7JSMH7.js → EHG6SCFZ.js} +1 -1
- package/dist/cdn/EIKPSSW2.js +2 -0
- package/dist/cdn/{KRWHZBRS.js → EOGSQKVI.js} +1 -1
- package/dist/cdn/{W5QO26OY.js → EONM4HYL.js} +1 -1
- package/dist/cdn/{R4OHHSET.js → EX4MJAID.js} +1 -1
- package/dist/cdn/{XZYJEEQN.js → FDIL4ELG.js} +1 -1
- package/dist/cdn/FRUEPZ4B.js +2 -0
- package/dist/cdn/{CDBZTWVN.js → G3DKNGC5.js} +1 -1
- package/dist/cdn/{S3ECVY5S.js → GL4AGX76.js} +1 -1
- package/dist/cdn/GNNPY6WD.js +2 -0
- package/dist/cdn/{DQVSAW2U.js → GONPBVCY.js} +1 -1
- package/dist/cdn/GZ72DRZ2.js +2 -0
- package/dist/cdn/{I3VFN634.js → H3WU3CWO.js} +1 -1
- package/dist/cdn/HDL5ODBI.js +2 -0
- package/dist/cdn/{HXSSXVQK.js → HDQ4SRNQ.js} +1 -1
- package/dist/cdn/{MCXOEQ57.js → HPVG2G33.js} +1 -1
- package/dist/cdn/{HIUGPCYF.js → HRQLL3UQ.js} +1 -1
- package/dist/cdn/{AWW45DN2.js → HTAV4X3L.js} +1 -1
- package/dist/cdn/HWGBPD5G.js +2 -0
- package/dist/cdn/HZXKATGS.js +2 -0
- package/dist/cdn/I5YYZ23M.js +2 -0
- package/dist/cdn/{OZI3G6BL.js → IBODWA4K.js} +1 -1
- package/dist/cdn/{YAJDGP47.js → IFFOJCJM.js} +1 -1
- package/dist/cdn/IJI3KL3X.js +2 -0
- package/dist/cdn/{K6ANC3XJ.js → IRGOEAMU.js} +1 -1
- package/dist/cdn/{SXE3A52W.js → IVVA3NWA.js} +1 -1
- package/dist/cdn/IZ7RGQYP.js +2 -0
- package/dist/cdn/J7IUPILV.js +2 -0
- package/dist/cdn/{3D4FQXME.js → JDO4ZDWR.js} +1 -1
- package/dist/cdn/{MARCV7CJ.js → JG526BSF.js} +1 -1
- package/dist/cdn/{GSOYY5SL.js → JLKRZGKU.js} +1 -1
- package/dist/cdn/JQFJA2R3.js +2 -0
- package/dist/cdn/JX64UKPQ.js +2 -0
- package/dist/cdn/{Z2F3JU24.js → KALOND7U.js} +1 -1
- package/dist/cdn/KMP45A7X.js +2 -0
- package/dist/cdn/KONASQUW.js +2 -0
- package/dist/cdn/KTDXN3YM.js +2 -0
- package/dist/cdn/{YP7GAJRJ.js → KTZZ6FEB.js} +1 -1
- package/dist/cdn/{EFAHD2H7.js → L3R6FYFA.js} +1 -1
- package/dist/cdn/L7I3A5GU.js +2 -0
- package/dist/cdn/LIH3KD2N.js +2 -0
- package/dist/cdn/{BIW4IWVY.js → LNCUA6VO.js} +1 -1
- package/dist/cdn/{6RSTA5F2.js → LQJ2NJ7Q.js} +1 -1
- package/dist/cdn/{LHLOMM4E.js → LWLYKJEM.js} +1 -1
- package/dist/cdn/M5FJVBHY.js +2 -0
- package/dist/cdn/{W4GQIU35.js → MAT7KTFT.js} +1 -1
- package/dist/cdn/{OGNESIA3.js → MCFGHI5T.js} +1 -1
- package/dist/cdn/{G5D3LOP2.js → MDNMH2GD.js} +1 -1
- package/dist/cdn/{H57ABA4Z.js → MMQXKWWI.js} +1 -1
- package/dist/cdn/{QFO7XK5M.js → MP5XTNII.js} +1 -1
- package/dist/cdn/MS2FXMWM.js +2 -0
- package/dist/cdn/MT3AIRKP.js +2 -0
- package/dist/cdn/{XULFHT6A.js → MWC7VXMT.js} +1 -1
- package/dist/cdn/{FZNIZIF6.js → MYY77Q2M.js} +1 -1
- package/dist/cdn/{BXS4RT2N.js → N2JCJYCR.js} +1 -1
- package/dist/cdn/{R7B5B7QH.js → N3VTGUSB.js} +1 -1
- package/dist/cdn/N6XL766F.js +2 -0
- package/dist/cdn/{2MK7EZDU.js → NHXJDS4A.js} +1 -1
- package/dist/cdn/{ZQF6QJFM.js → NIGGISCR.js} +1 -1
- package/dist/cdn/{22G7NCSZ.js → NZKU7MTU.js} +1 -1
- package/dist/cdn/{PNVTGMJV.js → OKKARBPJ.js} +1 -1
- package/dist/cdn/{T6V66FCM.js → OVAULEST.js} +1 -1
- package/dist/cdn/{BCBANHH3.js → OWEQ6PYO.js} +1 -1
- package/dist/cdn/P56Q3MNI.js +2 -0
- package/dist/cdn/P5Z3VSAL.js +2 -0
- package/dist/cdn/PHKNWWES.js +2 -0
- package/dist/cdn/PHNAP4HO.js +2 -0
- package/dist/cdn/PHNPROZ2.js +2 -0
- package/dist/cdn/{ZJH3LOXI.js → PHNSXBYN.js} +1 -1
- package/dist/cdn/PNM6EWGT.js +2 -0
- package/dist/cdn/{G4D5Q7Q4.js → Q63FZKZF.js} +1 -1
- package/dist/cdn/{3XETVG7K.js → QGFESPLP.js} +1 -1
- package/dist/cdn/QK6IDWCZ.js +2 -0
- package/dist/cdn/{VNKCJQ5W.js → QS2DT6TO.js} +1 -1
- package/dist/cdn/{JT77ECX6.js → QVGEZ3ZM.js} +1 -1
- package/dist/cdn/{Z4HWMM4S.js → QXCHMTUI.js} +1 -1
- package/dist/cdn/{AJN3G2KH.js → QYCOPDMB.js} +1 -1
- package/dist/cdn/R45Q5BKQ.js +2 -0
- package/dist/cdn/R7GTTNWF.js +2 -0
- package/dist/cdn/{PJAPMYAR.js → R7HXZAPP.js} +1 -1
- package/dist/cdn/ROC7HOOF.js +2 -0
- package/dist/cdn/RV5T6FOK.js +2 -0
- package/dist/cdn/{3AEBND6G.js → RZDIAMRJ.js} +1 -1
- package/dist/cdn/{A2Z2VCTQ.js → S3YS5TWW.js} +1 -1
- package/dist/cdn/{YZNTWZ2C.js → S4SNMYII.js} +1 -1
- package/dist/cdn/S5XPO4X3.js +2 -0
- package/dist/cdn/SBQPFK7O.js +2 -0
- package/dist/cdn/SIR6LQYG.js +2 -0
- package/dist/cdn/SIXUBCBZ.js +2 -0
- package/dist/cdn/SMBZ4HCK.js +2 -0
- package/dist/cdn/SPNOOYWE.js +2 -0
- package/dist/cdn/SUH6Q6VA.js +2 -0
- package/dist/cdn/{Y3ITJCU6.js → SUWU7QIA.js} +1 -1
- package/dist/cdn/{34FSSQXM.js → SVVZAW3N.js} +1 -1
- package/dist/cdn/TBFNXPO7.js +2 -0
- package/dist/cdn/{DMP23AFX.js → TDNW2OHP.js} +1 -1
- package/dist/cdn/TGDMJJCN.js +2 -0
- package/dist/cdn/{WYT32WC6.js → TGZLVR52.js} +1 -1
- package/dist/cdn/{YKGW52WZ.js → TQGIV3K4.js} +1 -1
- package/dist/cdn/TRJHM2AU.js +2 -0
- package/dist/cdn/TRO5YRIR.js +2 -0
- package/dist/cdn/{U2TK55BA.js → TZOMLSCD.js} +1 -1
- package/dist/cdn/{2T7GITCO.js → UC4B5RZR.js} +1 -1
- package/dist/cdn/UPL42Z7Y.js +2 -0
- package/dist/cdn/{I2DGSPZU.js → USA5BTOC.js} +1 -1
- package/dist/cdn/VAX7LMWJ.js +2 -0
- package/dist/cdn/VIFT4BU2.js +2 -0
- package/dist/cdn/VJ2SE6UE.js +2 -0
- package/dist/cdn/{NTORPPUA.js → VORF5SSY.js} +1 -1
- package/dist/cdn/VRMHUMSJ.js +2 -0
- package/dist/cdn/{GJV2ZQXB.js → W4OZI46N.js} +1 -1
- package/dist/cdn/WDGESHIM.js +2 -0
- package/dist/cdn/WNTJFIQQ.js +2 -0
- package/dist/cdn/WNWFJZWJ.js +2 -0
- package/dist/cdn/{CIGSNHL4.js → WU5EH6LB.js} +1 -1
- package/dist/cdn/XDJQQXLH.js +2 -0
- package/dist/cdn/{EY43UHHH.js → XEDYZ2AY.js} +1 -1
- package/dist/cdn/{QTPKQNBY.js → XJZCNL65.js} +1 -1
- package/dist/cdn/XQKXDDAR.js +2 -0
- package/dist/cdn/{4ODDYEVQ.js → Y66GCVMG.js} +1 -1
- package/dist/cdn/{2KVZ36IK.js → YCKXA6G3.js} +1 -1
- package/dist/cdn/{BC5WFWRT.js → YOJN3RDZ.js} +1 -1
- package/dist/cdn/YQXDHXA6.js +2 -0
- package/dist/cdn/{ESBU5JJB.js → ZAWXEB6X.js} +1 -1
- package/dist/cdn/{TVJHKOYG.js → ZIFQ2O7M.js} +1 -1
- package/dist/cdn/ZIP7A4OP.js +2 -0
- package/dist/cdn/ZK47NIZB.js +2 -0
- package/dist/cdn/{UGWL3UK4.js → ZTBIXNFX.js} +1 -1
- package/dist/cdn/ZUPERN26.js +2 -0
- package/dist/cdn/{CWKYAZQO.js → ZWFZY2MA.js} +1 -1
- package/dist/cdn/{SY3ONBJT.js → ZY3BVDLT.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/component-utils.js +85 -72
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +4 -0
- package/dist/components/arcgis-features/customElement.js +38 -37
- package/dist/components/arcgis-paste/customElement.js +4 -2
- package/dist/components/arcgis-popup/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +8 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +9 -5
- package/dist/components/arcgis-utility-network-trace-results/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/package.json +4 -4
- package/dist/cdn/2CPZBOJU.js +0 -2
- package/dist/cdn/2FR3RIFL.js +0 -2
- package/dist/cdn/37KK4NSD.js +0 -2
- package/dist/cdn/3AY6LF2C.js +0 -2
- package/dist/cdn/3BLI6P6V.js +0 -2
- package/dist/cdn/4AAA22LW.js +0 -2
- package/dist/cdn/4PV3WVQG.js +0 -2
- package/dist/cdn/5C7TZISA.js +0 -2
- package/dist/cdn/5DR2WPE6.js +0 -2
- package/dist/cdn/5M2JEZ2R.js +0 -2
- package/dist/cdn/5TYQD2XK.js +0 -2
- package/dist/cdn/6APGEDF2.js +0 -2
- package/dist/cdn/6ILPTKXQ.js +0 -2
- package/dist/cdn/74XVTUIU.js +0 -2
- package/dist/cdn/74YR2GMG.js +0 -2
- package/dist/cdn/7L6MSW52.js +0 -2
- package/dist/cdn/7X4MUVGU.js +0 -2
- package/dist/cdn/AESYVLNJ.js +0 -2
- package/dist/cdn/AH4CQRBT.js +0 -2
- package/dist/cdn/AHBILHCV.js +0 -2
- package/dist/cdn/AR6UJZIW.js +0 -2
- package/dist/cdn/BAS4FDKI.js +0 -2
- package/dist/cdn/BIBSQPCZ.js +0 -2
- package/dist/cdn/CAO4NHCY.js +0 -2
- package/dist/cdn/CHCOWKYJ.js +0 -2
- package/dist/cdn/CIEACKVE.js +0 -2
- package/dist/cdn/CSDFVDAI.js +0 -2
- package/dist/cdn/CUWPSCZM.js +0 -2
- package/dist/cdn/CW6ZVLAU.js +0 -2
- package/dist/cdn/DI5ZMM6O.js +0 -2
- package/dist/cdn/DOXD3QLK.js +0 -2
- package/dist/cdn/DSML2TRF.js +0 -2
- package/dist/cdn/EBHWWPMA.js +0 -2
- package/dist/cdn/EKQKCLSK.js +0 -2
- package/dist/cdn/F5SSOC7L.js +0 -2
- package/dist/cdn/GN3IL4IJ.js +0 -2
- package/dist/cdn/H3DJOS5A.js +0 -2
- package/dist/cdn/HHDTGMYM.js +0 -2
- package/dist/cdn/I5I7M7RU.js +0 -2
- package/dist/cdn/IOHZAH45.js +0 -2
- package/dist/cdn/JNB4QSCA.js +0 -2
- package/dist/cdn/KA5TVZVJ.js +0 -2
- package/dist/cdn/KVWAHPSN.js +0 -2
- package/dist/cdn/L2KU7WKA.js +0 -2
- package/dist/cdn/L6QXUF7M.js +0 -2
- package/dist/cdn/LPY4DF3H.js +0 -2
- package/dist/cdn/LWZ5CMKZ.js +0 -2
- package/dist/cdn/MCPM6R7G.js +0 -2
- package/dist/cdn/N3E4FBLC.js +0 -2
- package/dist/cdn/NDSSASAU.js +0 -2
- package/dist/cdn/NOJAJCMT.js +0 -2
- package/dist/cdn/NQ3XBJM4.js +0 -2
- package/dist/cdn/NS4JLBIF.js +0 -2
- package/dist/cdn/OBY2INIT.js +0 -2
- package/dist/cdn/OLOIDFRG.js +0 -2
- package/dist/cdn/OWA5LPNO.js +0 -2
- package/dist/cdn/PAWGXUUP.js +0 -2
- package/dist/cdn/PGFTFMXL.js +0 -2
- package/dist/cdn/PNXUNGMT.js +0 -2
- package/dist/cdn/Q5XOXU7U.js +0 -2
- package/dist/cdn/RGYU3YRI.js +0 -2
- package/dist/cdn/SKZKOJIQ.js +0 -2
- package/dist/cdn/SS6STPJ7.js +0 -2
- package/dist/cdn/TP3DEPTO.js +0 -2
- package/dist/cdn/VF5AR5B7.js +0 -2
- package/dist/cdn/WHBMBVAC.js +0 -2
- package/dist/cdn/WLXFMXBT.js +0 -2
- package/dist/cdn/WTC7UYZ5.js +0 -2
- package/dist/cdn/WVNSSDTL.js +0 -2
- package/dist/cdn/WW7X6KMT.js +0 -2
- package/dist/cdn/XFF27HKM.js +0 -2
- package/dist/cdn/XFW2KNNO.js +0 -2
- package/dist/cdn/XPUGIMN4.js +0 -2
- package/dist/cdn/XWPGW5PP.js +0 -2
- package/dist/cdn/XXSD7577.js +0 -2
- package/dist/cdn/XZITWYR7.js +0 -2
- package/dist/cdn/Y6U3REVL.js +0 -2
- package/dist/cdn/Z2PRNIJR.js +0 -2
- package/dist/cdn/ZTRYQINY.js +0 -2
- package/dist/cdn/ZWQGXYPW.js +0 -2
|
@@ -1,100 +1,113 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
2
3
|
import "@arcgis/toolkit/log";
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
if (!
|
|
7
|
-
const
|
|
8
|
-
if (!
|
|
9
|
-
c(
|
|
4
|
+
function N(e) {
|
|
5
|
+
e.el.childElem && (e.el.childElem.ownedBy = e.el);
|
|
6
|
+
const t = g(e);
|
|
7
|
+
if (!t) {
|
|
8
|
+
const r = y(e);
|
|
9
|
+
if (!r) {
|
|
10
|
+
c(e);
|
|
10
11
|
return;
|
|
11
12
|
}
|
|
12
|
-
return
|
|
13
|
+
return a(r, e, !0), r;
|
|
13
14
|
}
|
|
14
|
-
return
|
|
15
|
+
return E(t, e.el.parent) || (e.el.parent = t, t.localName === "arcgis-expand" ? h(t, e) : a(t, e, !1)), t;
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
for (let
|
|
18
|
-
if (
|
|
19
|
-
return
|
|
20
|
-
if ("ownedBy" in
|
|
21
|
-
return
|
|
17
|
+
function g({ el: e }) {
|
|
18
|
+
for (let t = e.parentElement; t; t = t?.parentElement ?? null) {
|
|
19
|
+
if (o.has(t.localName))
|
|
20
|
+
return t;
|
|
21
|
+
if ("ownedBy" in t && t.ownedBy instanceof HTMLElement && o.has(t.ownedBy.localName))
|
|
22
|
+
return t.ownedBy;
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
const
|
|
25
|
-
function
|
|
26
|
-
return
|
|
25
|
+
const o = /* @__PURE__ */ new Set(["arcgis-map", "arcgis-scene", "arcgis-link-chart", "arcgis-expand"]);
|
|
26
|
+
function E(e, t) {
|
|
27
|
+
return e !== t ? !1 : e.localName === "arcgis-expand";
|
|
27
28
|
}
|
|
28
|
-
function s(
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
|
|
29
|
+
function s(e, t, r = "arcgisReady") {
|
|
30
|
+
const i = e;
|
|
31
|
+
if (i.view)
|
|
32
|
+
t(i.view);
|
|
32
33
|
else {
|
|
33
|
-
let n = function(
|
|
34
|
-
|
|
34
|
+
let n = function(l) {
|
|
35
|
+
l.target === e && (s(e, t, r), e.removeEventListener(r, n));
|
|
35
36
|
};
|
|
36
|
-
|
|
37
|
+
e.addEventListener(r, n);
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
const h = (e, t) => s(e, (r) => {
|
|
41
|
+
const i = d(t);
|
|
42
|
+
if (t.el.shadowRoot ? e.content = t.el : t.el.childElem && e.content != null && i.append(t.el.childElem), t.el.view = r, e.referenceElement) {
|
|
43
|
+
t.referenceElement = e.referenceElement;
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
u(
|
|
47
|
+
() => e.referenceElement,
|
|
48
|
+
(n) => {
|
|
49
|
+
t.referenceElement = n;
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
once: !0
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}), a = (e, t, r) => s(
|
|
56
|
+
e,
|
|
57
|
+
(i) => {
|
|
58
|
+
r && c(t), t.el.view = i, t.referenceElement = e;
|
|
46
59
|
},
|
|
47
60
|
"arcgisViewReadyChange"
|
|
48
61
|
);
|
|
49
|
-
function
|
|
50
|
-
return
|
|
62
|
+
function S(e) {
|
|
63
|
+
return e == null || e === "";
|
|
51
64
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
65
|
+
function T(e, t) {
|
|
66
|
+
return e?.position === t?.position && e?.heading === t.heading && e?.tilt === t.tilt && e?.fov === t.fov;
|
|
54
67
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
68
|
+
function B(e, t) {
|
|
69
|
+
return t === void 0 || e?.targetGeometry !== t?.targetGeometry || e?.rotation !== t?.rotation || e?.scale !== t?.scale;
|
|
57
70
|
}
|
|
58
|
-
function
|
|
59
|
-
return f(
|
|
71
|
+
function m(e, t) {
|
|
72
|
+
return f(t?.center, e);
|
|
60
73
|
}
|
|
61
|
-
function f(
|
|
62
|
-
if (typeof
|
|
63
|
-
return f(
|
|
64
|
-
if (!
|
|
65
|
-
return
|
|
66
|
-
if (Array.isArray(
|
|
67
|
-
const
|
|
68
|
-
if (
|
|
69
|
-
return
|
|
70
|
-
} else if (
|
|
71
|
-
return
|
|
74
|
+
function f(e, t) {
|
|
75
|
+
if (typeof t == "string")
|
|
76
|
+
return f(e, t.split(",").map(Number));
|
|
77
|
+
if (!e)
|
|
78
|
+
return t;
|
|
79
|
+
if (Array.isArray(t)) {
|
|
80
|
+
const r = t[0], i = t[1], n = t.length > 2 ? t[2] : void 0;
|
|
81
|
+
if (r !== e.longitude || i !== e.latitude || n !== e.z)
|
|
82
|
+
return t;
|
|
83
|
+
} else if (t && !e?.equals(t))
|
|
84
|
+
return t;
|
|
72
85
|
}
|
|
73
|
-
function c(
|
|
74
|
-
|
|
86
|
+
function c(e) {
|
|
87
|
+
e.el.childElem && d(e).append(e.el.childElem);
|
|
75
88
|
}
|
|
76
|
-
function d(
|
|
77
|
-
return
|
|
89
|
+
function d(e) {
|
|
90
|
+
return e.el.shadowRoot ?? e.el;
|
|
78
91
|
}
|
|
79
|
-
function
|
|
80
|
-
const
|
|
81
|
-
if (typeof
|
|
82
|
-
return
|
|
83
|
-
const
|
|
84
|
-
return (
|
|
92
|
+
function y(e, t) {
|
|
93
|
+
const r = e.referenceElement;
|
|
94
|
+
if (typeof r != "string")
|
|
95
|
+
return r ?? void 0;
|
|
96
|
+
const i = r.includes("#") || r.includes(".") || r.includes("["), n = e.el.getRootNode();
|
|
97
|
+
return (i ? void 0 : n.querySelector(`#${r}`)) ?? n.querySelector(r) ?? void 0;
|
|
85
98
|
}
|
|
86
|
-
const
|
|
87
|
-
async function
|
|
88
|
-
const
|
|
89
|
-
|
|
99
|
+
const q = (e) => e.el.childElem;
|
|
100
|
+
async function F(e) {
|
|
101
|
+
const t = typeof e == "function" ? e() : e;
|
|
102
|
+
t && ("setFocus" in t && typeof t.setFocus == "function" ? await t.setFocus() : t instanceof HTMLElement && t.focus());
|
|
90
103
|
}
|
|
91
104
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
105
|
+
N as a,
|
|
106
|
+
T as b,
|
|
94
107
|
f as c,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
108
|
+
S as d,
|
|
109
|
+
q as g,
|
|
110
|
+
B as i,
|
|
111
|
+
m as p,
|
|
112
|
+
F as s
|
|
100
113
|
};
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -3,7 +3,7 @@ import "../cdn/main.css";
|
|
|
3
3
|
import { css as t } from "lit";
|
|
4
4
|
import { makeRuntime as r } from "@arcgis/lumina";
|
|
5
5
|
import { trackAccess as i, createObservable as a, createTrackingTarget as s, runTracked as n } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
6
|
-
const o = t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`, e = r({ defaultAssetPath: "https://js.arcgis.com/5.0.
|
|
6
|
+
const o = t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`, e = r({ defaultAssetPath: "https://js.arcgis.com/5.0.5/map-components/", hydratedAttribute: "hydrated", commonStyles: o }), { customElement: l, getAssetPath: m, setAssetPath: d } = e;
|
|
7
7
|
e.t = i;
|
|
8
8
|
e.o = a;
|
|
9
9
|
e.c = s;
|
|
@@ -435,15 +435,19 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
435
435
|
/**
|
|
436
436
|
* Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
|
|
437
437
|
*
|
|
438
|
+
* When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
|
|
439
|
+
*
|
|
438
440
|
* @default false
|
|
439
441
|
* @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures)
|
|
440
442
|
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/widgets/Features/FeaturesViewModel/#active)
|
|
443
|
+
* @see [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#clear)
|
|
441
444
|
* @since 5.0
|
|
442
445
|
* @example
|
|
443
446
|
* ```js
|
|
444
447
|
* // Listen for clicks on the view and open the component at the clicked location with custom content.
|
|
445
448
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
446
449
|
* const { mapPoint } = event.detail;
|
|
450
|
+
* component.clear();
|
|
447
451
|
* component.location = mapPoint;
|
|
448
452
|
* component.heading = "You clicked here";
|
|
449
453
|
* component.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as D } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as E, html as o } from "lit";
|
|
4
|
-
import { keyed as
|
|
4
|
+
import { keyed as _ } from "lit/directives/keyed.js";
|
|
5
5
|
import O from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
6
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
7
7
|
import { classes as b } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { m as R } from "../../chunks/useViewModel.js";
|
|
10
|
-
import { LitElement as P, createEvent as C, renderElement as
|
|
11
|
-
import { substitute as u, formatNumber as
|
|
10
|
+
import { LitElement as P, createEvent as C, renderElement as S, nothing as d, safeClassMap as $ } from "@arcgis/lumina";
|
|
11
|
+
import { substitute as u, formatNumber as F } from "@arcgis/core/intl.js";
|
|
12
12
|
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
-
import { t as
|
|
13
|
+
import { t as H, z, b as U } from "../../chunks/action-utils.js";
|
|
14
14
|
import { stripHTML as A } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
15
15
|
import x from "@arcgis/core/core/Collection.js";
|
|
16
16
|
import { a as Z } from "../../chunks/feature-utils.js";
|
|
17
17
|
import { renderingSanitizer as y } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
18
18
|
import { initializeProjection as j } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
19
|
-
import { createRef as
|
|
19
|
+
import { createRef as M, ref as v } from "lit/directives/ref.js";
|
|
20
20
|
const G = E`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`;
|
|
21
21
|
function K(c) {
|
|
22
22
|
switch (c?.type) {
|
|
@@ -44,7 +44,7 @@ class q extends P {
|
|
|
44
44
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
45
45
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
46
46
|
root: window.document
|
|
47
|
-
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode =
|
|
47
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = M(), this._featureMenuViewportNode = M(), this._actionBarMenuNode = M(), this._flowContainerNode = M(), this.messages = B(), this._selectedFeatureComponent = M(), this._cancelOpenRelatedFeature = () => {
|
|
48
48
|
const { _openRelatedFeatureAbortController: e } = this;
|
|
49
49
|
e && e.abort(), this._openRelatedFeatureAbortController = null;
|
|
50
50
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new x(), this.viewModel = X(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new x(), this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.hideContent = !1, this.hideExpressionContent = !1, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.visible, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = L()("active", "collapsed", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = C(), this.arcgisClose = C(), this.arcgisTriggerAction = C();
|
|
@@ -153,7 +153,7 @@ class q extends P {
|
|
|
153
153
|
}
|
|
154
154
|
async triggerAction(e) {
|
|
155
155
|
if (!e.disabled)
|
|
156
|
-
return e?.type === "toggle" && (e.value = !e.value), await
|
|
156
|
+
return e?.type === "toggle" && (e.value = !e.value), await H(e, this.viewModel);
|
|
157
157
|
}
|
|
158
158
|
loaded() {
|
|
159
159
|
this.manager.onLifecycle(() => [
|
|
@@ -189,8 +189,8 @@ class q extends P {
|
|
|
189
189
|
const n = i?.graphic;
|
|
190
190
|
if (!n)
|
|
191
191
|
return;
|
|
192
|
-
const s = Z(n), a = W(s) ? s : null,
|
|
193
|
-
t.set(a, [...
|
|
192
|
+
const s = Z(n), a = W(s) ? s : null, l = t.get(a) ?? [];
|
|
193
|
+
t.set(a, [...l, i]);
|
|
194
194
|
}), t;
|
|
195
195
|
}
|
|
196
196
|
_handleCollapseToggle() {
|
|
@@ -248,8 +248,8 @@ class q extends P {
|
|
|
248
248
|
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
249
249
|
}
|
|
250
250
|
_getActionTitle(e) {
|
|
251
|
-
const { messages: t, selectedFeature: i } = this, { id: n } = e, s = i?.attributes, a = e.title ?? "",
|
|
252
|
-
return
|
|
251
|
+
const { messages: t, selectedFeature: i } = this, { id: n } = e, s = i?.attributes, a = e.title ?? "", l = n === "zoom-to-feature" ? u(a, { messages: t }) : n === "remove-selected-feature" ? u(a, { messages: t }) : n === "zoom-to-clustered-features" ? u(a, { messages: t }) : n === "browse-clustered-features" ? u(a, { messages: t }) : e.title;
|
|
252
|
+
return l && s ? u(l, s) : l ?? "";
|
|
253
253
|
}
|
|
254
254
|
_onMainKeydown(e) {
|
|
255
255
|
const { key: t } = e;
|
|
@@ -298,7 +298,7 @@ class q extends P {
|
|
|
298
298
|
}
|
|
299
299
|
async _createSpinner() {
|
|
300
300
|
const e = this.referenceElement;
|
|
301
|
-
e && (await this._destroySpinner(e), this._spinnerEl =
|
|
301
|
+
e && (await this._destroySpinner(e), this._spinnerEl = S(o`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
304
|
return o`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
@@ -318,15 +318,15 @@ class q extends P {
|
|
|
318
318
|
_renderFeaturePaginationText() {
|
|
319
319
|
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: n } = t;
|
|
320
320
|
return o`<div class="pagination-text">${u(e.pageText ?? "", {
|
|
321
|
-
index:
|
|
322
|
-
total:
|
|
321
|
+
index: F(n + 1),
|
|
322
|
+
total: F(i)
|
|
323
323
|
})}</div>`;
|
|
324
324
|
}
|
|
325
325
|
_renderFeatureMenuButton() {
|
|
326
326
|
const { messages: e, viewModel: t } = this, { featureCount: i, selectedFeatureIndex: n, pendingPromisesCount: s } = t;
|
|
327
327
|
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${s > 0} @click=${this._handlePaginationMenuButton} .text=${u(e.pageText ?? "", {
|
|
328
|
-
index:
|
|
329
|
-
total:
|
|
328
|
+
index: F(n + 1),
|
|
329
|
+
total: F(i)
|
|
330
330
|
})} text-enabled title=${e.selectFeature ?? d}></calcite-action>`;
|
|
331
331
|
}
|
|
332
332
|
_renderPagination() {
|
|
@@ -340,8 +340,8 @@ class q extends P {
|
|
|
340
340
|
_renderFeatureMenu() {
|
|
341
341
|
const { messages: e, viewModel: t } = this, i = this._groupResultsByLayer(), n = this.initialDisplayMode === "list" ? "none" : "single";
|
|
342
342
|
return t.featureViewModels.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${n}>${Array.from(i.keys(), (s) => {
|
|
343
|
-
const a = i.get(s)?.map((
|
|
344
|
-
return !this.hideFeatureListLayerTitle &&
|
|
343
|
+
const a = i.get(s)?.map((r) => this._renderFeatureMenuItem(r)), l = s ? s.title ?? this.messages.untitled : null;
|
|
344
|
+
return !this.hideFeatureListLayerTitle && l !== null ? _(s ?? "map-graphics", o`<calcite-list-item-group .heading=${l}>${a}</calcite-list-item-group>`) : a;
|
|
345
345
|
})}</calcite-list>` : null;
|
|
346
346
|
}
|
|
347
347
|
_renderHeaderAction(e) {
|
|
@@ -352,40 +352,41 @@ class q extends P {
|
|
|
352
352
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
353
353
|
}
|
|
354
354
|
_renderContentFeature() {
|
|
355
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: n, featureNavigationTop: s, flowItems: a, initialDisplayMode:
|
|
356
|
-
if (
|
|
355
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: i, _collapseEnabled: n, featureNavigationTop: s, flowItems: a, initialDisplayMode: l, selectedFeature: r, featureMenuOpen: p } = this, { active: f } = this.viewModel, g = this._getHeading();
|
|
356
|
+
if (l === "list" && !r)
|
|
357
357
|
return null;
|
|
358
|
-
const
|
|
358
|
+
const w = a.length === 0 && (l === "list" ? !!r : !p);
|
|
359
359
|
return o`<calcite-flow-item class=${$(b({
|
|
360
360
|
"content-feature": !0,
|
|
361
361
|
"flow-item-collapsed": i
|
|
362
|
-
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${s ? "down" : "up"} .collapsible=${n} .headingLevel=${e} .selected=${
|
|
362
|
+
}))} .closable=${!t} .closed=${!f} .collapsed=${i} .collapseDirection=${s ? "down" : "up"} .collapsible=${n} .headingLevel=${e} .selected=${w} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${A(g)} ${v(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${$(b("container", "content-container"))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
363
363
|
}
|
|
364
364
|
_renderFeatureMenuContainer() {
|
|
365
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: n, initialDisplayMode: s, featureMenuOpen: a, selectedFeature:
|
|
365
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: n, initialDisplayMode: s, featureMenuOpen: a, selectedFeature: l, _collapseEnabled: r, _isCollapsed: p, featureNavigationTop: f, headingLevel: g } = this, { active: w, featureViewModels: T, pendingPromisesCount: I } = e, k = i ?? n.selectFeature;
|
|
366
366
|
if (s === "feature" && !a)
|
|
367
367
|
return null;
|
|
368
|
-
const V = s === "list" ? !
|
|
368
|
+
const V = s === "list" ? !l : a;
|
|
369
369
|
return o`<calcite-flow-item class=${$(b({
|
|
370
370
|
"flow-item-collapsed": p
|
|
371
|
-
}))} .closable=${s === "list" && !t} .closed=${!
|
|
372
|
-
total:
|
|
373
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(
|
|
374
|
-
|
|
375
|
-
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${
|
|
371
|
+
}))} .closable=${s === "list" && !t} .closed=${!w} .collapsed=${s === "list" && p} .collapseDirection=${f ? "down" : "up"} .collapsible=${s === "list" && r} .description=${this.hideFeatureMenuHeading ? void 0 : u(n.total ?? "", {
|
|
372
|
+
total: T.length
|
|
373
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : k} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${V} @calciteFlowItemBack=${(N) => {
|
|
374
|
+
N.preventDefault(), this._handleFeatureMenuBack();
|
|
375
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${I > 0 ? o`<calcite-loader class="loader" inline .label=${n.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${n.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
376
376
|
}
|
|
377
377
|
_renderFlowItem(e, t) {
|
|
378
|
-
const { messages: i, hideCloseButton: n, active: s } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable,
|
|
379
|
-
return o`<calcite-flow-item .closable=${!n} .closed=${!s} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(
|
|
380
|
-
|
|
381
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${
|
|
378
|
+
const { messages: i, hideCloseButton: n, active: s } = this, a = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = e.flowType === "feature-association", r = i.returnToInitialFeature ?? "", p = i?.selectFeature, f = this._getActionTitle(m), g = l && a;
|
|
379
|
+
return o`<calcite-flow-item .closable=${!n} .closed=${!s} .description=${A(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${this.hideHeading ? void 0 : A(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(w) => {
|
|
380
|
+
w.preventDefault(), this._handleDrillInBackClick();
|
|
381
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r ?? ""} title=${r ?? "" ?? d}></calcite-action>${a ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? d}></calcite-action>` : null}${g ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${m.disabled} .icon=${m.icon ?? void 0} .loading=${m.active} scale=s text-enabled .text=${f} title=${f ?? d} @click=${() => U(this.viewModel, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
382
382
|
}
|
|
383
383
|
_renderContentContainer() {
|
|
384
384
|
const e = this.flowItems?.toArray(), t = e?.map((n, s) => this._renderFlowItem(n, this.initialDisplayMode === "list" || !this.featureMenuOpen && s === e.length - 1)), i = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
385
385
|
return o`<calcite-flow ${v(this._flowContainerNode)}>${i}</calcite-flow>`;
|
|
386
386
|
}
|
|
387
387
|
_renderActionBar() {
|
|
388
|
-
|
|
388
|
+
const t = this.viewModel.selectedFeatureViewModel?.isFeatureFromTable && !this.location ? this.viewModel.allActions.filter((i) => i.id !== m.id) : this.viewModel.allActions;
|
|
389
|
+
return !this._isCollapsed && !this.hideActionBar && t.length ? o`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${v(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>` : null;
|
|
389
390
|
}
|
|
390
391
|
_renderActions() {
|
|
391
392
|
return this.viewModel.allActions.toArray().map((e) => {
|
|
@@ -395,10 +396,10 @@ class q extends P {
|
|
|
395
396
|
}
|
|
396
397
|
_renderContent() {
|
|
397
398
|
const { content: e, selectedFeatureViewModel: t } = this.viewModel;
|
|
398
|
-
return t ?
|
|
399
|
+
return t ? _(t, o`<arcgis-feature .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature>`) : typeof e == "string" ? _(e, o`<div .innerHTML=${y.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
399
400
|
}
|
|
400
401
|
}
|
|
401
|
-
|
|
402
|
+
D("arcgis-features", q);
|
|
402
403
|
export {
|
|
403
404
|
q as ArcgisFeatures
|
|
404
405
|
};
|
|
@@ -1130,7 +1130,9 @@ let n = class extends U {
|
|
|
1130
1130
|
return;
|
|
1131
1131
|
}
|
|
1132
1132
|
if (this.showClipboardItems && this.view) {
|
|
1133
|
-
this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new we(
|
|
1133
|
+
this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new we({
|
|
1134
|
+
listMode: "hide"
|
|
1135
|
+
}), this.view.map?.layers.add(this.clipboardGraphicsLayer));
|
|
1134
1136
|
const e = this.clipboard.items;
|
|
1135
1137
|
this.clipboardGraphicsLayer.removeAll();
|
|
1136
1138
|
let t = -1;
|
|
@@ -1834,7 +1836,7 @@ class st extends he {
|
|
|
1834
1836
|
this.viewModel.previousActiveFeature();
|
|
1835
1837
|
}}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!o || a || !i} @click=${() => {
|
|
1836
1838
|
this.viewModel.nextActiveFeature();
|
|
1837
|
-
}}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${me(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${(p) => {
|
|
1839
|
+
}}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${me(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .view=${this.view} .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${(p) => {
|
|
1838
1840
|
this._updateBauViewModelFields(p.target);
|
|
1839
1841
|
}} @arcgisValueChange=${(p) => {
|
|
1840
1842
|
let u = 0;
|
|
@@ -51,6 +51,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
51
51
|
* // Listen for clicks on the view and open the popup at the clicked location with custom content.
|
|
52
52
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
53
53
|
* const { mapPoint } = event.detail;
|
|
54
|
+
* popupComponent.clear();
|
|
54
55
|
* popupComponent.location = mapPoint;
|
|
55
56
|
* popupComponent.heading = "You clicked here";
|
|
56
57
|
* popupComponent.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -467,15 +468,19 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
467
468
|
/**
|
|
468
469
|
* Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
|
|
469
470
|
*
|
|
471
|
+
* When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
|
|
472
|
+
*
|
|
470
473
|
* @default false
|
|
471
474
|
* @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures)
|
|
472
475
|
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/widgets/Features/FeaturesViewModel/#active)
|
|
476
|
+
* @see [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#clear)
|
|
473
477
|
* @since 5.0
|
|
474
478
|
* @example
|
|
475
479
|
* ```js
|
|
476
480
|
* // Listen for clicks on the view and open the component at the clicked location with custom content.
|
|
477
481
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
478
482
|
* const { mapPoint } = event.detail;
|
|
483
|
+
* component.clear();
|
|
479
484
|
* component.location = mapPoint;
|
|
480
485
|
* component.heading = "You clicked here";
|
|
481
486
|
* component.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
|
|
@@ -10,11 +10,11 @@ import { LitElement as w, createEvent as _, nothing as f } from "@arcgis/lumina"
|
|
|
10
10
|
import { log as s, composeMissingPropertyMessage as a } from "@arcgis/toolkit/log";
|
|
11
11
|
import { css as G, html as u } from "lit";
|
|
12
12
|
import { u as L } from "../../chunks/useT9n.js";
|
|
13
|
-
import { i as v, a as
|
|
14
|
-
const b = G`.loader-container{display:flex;justify-content:center;padding-bottom:var(--calcite-spacing-md)}`,
|
|
13
|
+
import { i as v, a as o } from "../../chunks/layer-utils.js";
|
|
14
|
+
const b = G`.loader-container{display:flex;justify-content:center;padding-bottom:var(--calcite-spacing-md)}`, h = 12;
|
|
15
15
|
class S extends w {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this._graphicsLayerName =
|
|
17
|
+
super(...arguments), this._graphicsLayerName = "arcgis-utility-network-aggregated-geometry-graphics", this._messages = L({ blocking: !0 }), this._graphics = [], this._addAggregatedGeometryToView = () => {
|
|
18
18
|
const e = this.geometry, { line: i, multipoint: r, polygon: c } = e;
|
|
19
19
|
this._graphics = [i, r, c].filter((t) => t != null).map((t) => this._makeGraphicFromGeometry(t)), this._graphicsLayer.addMany(this._graphics);
|
|
20
20
|
}, this._createGraphicsLayer = () => {
|
|
@@ -27,7 +27,7 @@ class S extends w {
|
|
|
27
27
|
id: i,
|
|
28
28
|
listMode: "hide",
|
|
29
29
|
title: i
|
|
30
|
-
}),
|
|
30
|
+
}), o(this.view, this._graphicsLayer);
|
|
31
31
|
}, this.hideGraphics = !1, this.graphicsColor = new p([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.arcgisHideGraphicsChange = _();
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
@@ -40,7 +40,7 @@ class S extends w {
|
|
|
40
40
|
this.view?.map && this._graphicsLayer && this.view.map.remove(this._graphicsLayer), await this.manager.destroy();
|
|
41
41
|
}
|
|
42
42
|
connectedCallback() {
|
|
43
|
-
super.connectedCallback(), this.view && this._graphicsLayer &&
|
|
43
|
+
super.connectedCallback(), this.view && this._graphicsLayer && o(this.view, this._graphicsLayer);
|
|
44
44
|
}
|
|
45
45
|
load() {
|
|
46
46
|
!this.geometry || !this.view?.map || this._createGraphicsLayer();
|
|
@@ -69,7 +69,7 @@ class S extends w {
|
|
|
69
69
|
case "multipoint":
|
|
70
70
|
return new d({
|
|
71
71
|
color: i,
|
|
72
|
-
size:
|
|
72
|
+
size: h,
|
|
73
73
|
outline: {
|
|
74
74
|
color: i,
|
|
75
75
|
width: 0
|
|
@@ -80,13 +80,13 @@ class S extends w {
|
|
|
80
80
|
color: i,
|
|
81
81
|
outline: {
|
|
82
82
|
color: i,
|
|
83
|
-
width:
|
|
83
|
+
width: h
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
case "polyline":
|
|
87
87
|
return new n({
|
|
88
88
|
color: i,
|
|
89
|
-
width:
|
|
89
|
+
width: h
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -14,12 +14,12 @@ import y from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSourc
|
|
|
14
14
|
import $ from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
15
15
|
import { LitElement as v, createEvent as d } from "@arcgis/lumina";
|
|
16
16
|
import { usePropertyChange as E } from "@arcgis/lumina/controllers";
|
|
17
|
-
import { log as u, composeMissingPropertyMessage as F, composeEmptyPropertyMessage as
|
|
18
|
-
import { css as
|
|
17
|
+
import { log as u, composeMissingPropertyMessage as F, composeEmptyPropertyMessage as I } from "@arcgis/toolkit/log";
|
|
18
|
+
import { css as P, html as s } from "lit";
|
|
19
19
|
import { u as U } from "../../chunks/useT9n.js";
|
|
20
20
|
import { h as w } from "../../chunks/feature-utils.js";
|
|
21
21
|
import { a as A, i as b } from "../../chunks/layer-utils.js";
|
|
22
|
-
const D =
|
|
22
|
+
const D = P`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-select,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md) 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}`, p = `utility-network-trace-inputs-sketch-${Date.now()}`, n = `utility-network-trace-inputs-flags-${Date.now()}`, M = 20;
|
|
23
23
|
class B extends v {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = U({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new l(), this._barriers = new l(), this._stoppingPoints = new l(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
@@ -68,6 +68,10 @@ class B extends v {
|
|
|
68
68
|
const e = this.selectedNamedTraceConfiguration?.traceType;
|
|
69
69
|
return e === "path" || e === "circuit";
|
|
70
70
|
}
|
|
71
|
+
get _subnetworkLayerIds() {
|
|
72
|
+
const e = this.selectedUtilityNetwork?.dataElement?.domainNetworks;
|
|
73
|
+
return e ? e.map((t) => t.subnetworkLayerId).filter((t) => t != null && t > -1) : [];
|
|
74
|
+
}
|
|
71
75
|
get unTraceConfiguration() {
|
|
72
76
|
return this._unTraceConfiguration;
|
|
73
77
|
}
|
|
@@ -212,12 +216,12 @@ class B extends v {
|
|
|
212
216
|
}
|
|
213
217
|
_filterUnLayers() {
|
|
214
218
|
const { selectedUtilityNetwork: e } = this;
|
|
215
|
-
this._unLayers = new l(this._allLayers.filter((t) => e?.isUtilityLayer(t))), this._setSnappingOption();
|
|
219
|
+
this._unLayers = new l(this._allLayers.filter((t) => e?.isUtilityLayer(t) && !this._subnetworkLayerIds.includes(t.layerId))), this._setSnappingOption();
|
|
216
220
|
}
|
|
217
221
|
_handleUtilityNetworksChange() {
|
|
218
222
|
const { utilityNetworks: e } = this;
|
|
219
223
|
if (!e || e.length === 0) {
|
|
220
|
-
this._state = "error", u("error", this,
|
|
224
|
+
this._state = "error", u("error", this, I("utilityNetworks"));
|
|
221
225
|
return;
|
|
222
226
|
}
|
|
223
227
|
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
@@ -170,7 +170,7 @@ class E extends F {
|
|
|
170
170
|
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s != null ? this._renderAggregatedGeometry(s) : null}${s != null && !t.length ? this._renderNoSelectableResults() : null}${t.length > 0 ? this.hideFeatureResults ? this._renderFeaturesAreHidden() : this._renderElementsResults() : null}${a.length > 0 ? this._renderFunctionsResults(a) : null}</calcite-panel>`;
|
|
171
171
|
}
|
|
172
172
|
_renderAggregatedGeometry(e) {
|
|
173
|
-
return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange}
|
|
173
|
+
return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} auto-destroy-disabled ${g(this._aggregateGeometryRefChange)}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()} .disabled=${this._aggregatedGeometryDisabled}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable ${g(this._popoverRef)}><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${(t) => {
|
|
174
174
|
const a = t.target.value;
|
|
175
175
|
this.arcgisAggregatedGeometryGraphicsColorChange.emit(a);
|
|
176
176
|
}} .disabled=${this._aggregatedGeometryDisabled}></calcite-color-picker></calcite-popover></div>`;
|