@arcgis/map-components 5.2.0-next.0 → 5.2.0-next.10
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/{O7FJMEMD.js → 2HPEYG66.js} +1 -1
- package/dist/cdn/{UHHTJK2I.js → 2LRS7XSQ.js} +1 -1
- package/dist/cdn/{OUW4GHOA.js → 2RPBZ63W.js} +1 -1
- package/dist/cdn/{VGY3SY4N.js → 2SGIMHBR.js} +1 -1
- package/dist/cdn/{TNILH7D7.js → 2X7DYSZN.js} +1 -1
- package/dist/cdn/{LIUWARHG.js → 33H2BYBU.js} +1 -1
- package/dist/cdn/{6UZE2NMX.js → 3IJCXYVS.js} +1 -1
- package/dist/cdn/{5DX23PKC.js → 3NET2XNA.js} +1 -1
- package/dist/cdn/{6B3LWOSR.js → 3PF6PWNS.js} +1 -1
- package/dist/cdn/462X4ZCG.js +2 -0
- package/dist/cdn/{6FLKFYZS.js → 56DOE2Z5.js} +1 -1
- package/dist/cdn/{JBJLMUHX.js → 5GIEYYKL.js} +1 -1
- package/dist/cdn/{C53XXDLL.js → 5L26MT7T.js} +1 -1
- package/dist/cdn/6633XT4Y.js +2 -0
- package/dist/cdn/{Y4LAL4D3.js → 6DVVJ6UQ.js} +1 -1
- package/dist/cdn/6N6IQMKG.js +2 -0
- package/dist/cdn/{XRTJ3EUO.js → 6S2YQK4D.js} +1 -1
- package/dist/cdn/{UC4ZZXFO.js → 6U7SFUIF.js} +1 -1
- package/dist/cdn/72ABM47G.js +2 -0
- package/dist/cdn/{TMDT3QFH.js → 7IZCHCV2.js} +1 -1
- package/dist/cdn/{QEPCYJLX.js → 7YHULYNL.js} +1 -1
- package/dist/cdn/A2BZKW2V.js +2 -0
- package/dist/cdn/A2W2G6ZQ.js +2 -0
- package/dist/cdn/{5YLWFVCR.js → ACAJBRVF.js} +1 -1
- package/dist/cdn/{6RVCU3XX.js → AHGRASYK.js} +1 -1
- package/dist/cdn/{TOKXAMIO.js → ALKSU6PT.js} +1 -1
- package/dist/cdn/{6WJC22XL.js → ALX2QTSD.js} +1 -1
- package/dist/cdn/AUGAOAKN.js +2 -0
- package/dist/cdn/{XDPTVNYI.js → AVU5N7N6.js} +1 -1
- package/dist/cdn/{ENVZLZTN.js → C3QMAJ2O.js} +1 -1
- package/dist/cdn/{OYGDLBCN.js → CERDSXEF.js} +1 -1
- package/dist/cdn/{NGGYUKKX.js → CLAEZUSG.js} +1 -1
- package/dist/cdn/CP5XCMNN.js +2 -0
- package/dist/cdn/{GSMQDS7C.js → CW7J5L5W.js} +1 -1
- package/dist/cdn/{677ZJV57.js → CWUG2MGN.js} +1 -1
- package/dist/cdn/D2JUQOOB.js +2 -0
- package/dist/cdn/{O33Q3AY4.js → D3OAWQ5Z.js} +1 -1
- package/dist/cdn/{NTGB5SHW.js → D6DLKKWM.js} +1 -1
- package/dist/cdn/{SZUSZJBL.js → DBCTQ7ZD.js} +1 -1
- package/dist/cdn/{RPVITNNA.js → DLR57QBH.js} +1 -1
- package/dist/cdn/{UGIPDM5B.js → DNUCOUYU.js} +1 -1
- package/dist/cdn/{MH6OJCJ6.js → DSNTT27D.js} +1 -1
- package/dist/cdn/{OMUMDPCJ.js → DWLPX47U.js} +1 -1
- package/dist/cdn/{PSILIICR.js → E7264Z6I.js} +1 -1
- package/dist/cdn/EGGKSLR2.js +2 -0
- package/dist/cdn/{QHO6KMH2.js → EI6H5VOO.js} +1 -1
- package/dist/cdn/EWYSBOXF.js +2 -0
- package/dist/cdn/{J23UDIAN.js → F2KOZSQD.js} +1 -1
- package/dist/cdn/{3WUFMA2I.js → FGPO275L.js} +1 -1
- package/dist/cdn/FQRS5UJF.js +2 -0
- package/dist/cdn/FU4GWX2G.js +2 -0
- package/dist/cdn/FWCUCVK4.js +2 -0
- package/dist/cdn/{BHPWS2QK.js → FWHB7TJS.js} +1 -1
- package/dist/cdn/{32HC6PWY.js → GLR6Y532.js} +1 -1
- package/dist/cdn/{CK4PHS32.js → GRAS7JP7.js} +1 -1
- package/dist/cdn/{SITKA5S5.js → GX45UPO4.js} +1 -1
- package/dist/cdn/{2IHSVTUV.js → HDFFXUXA.js} +1 -1
- package/dist/cdn/{L4EHCDIJ.js → HLDFAUXU.js} +1 -1
- package/dist/cdn/{EJT4UYVM.js → HLRWMA4I.js} +1 -1
- package/dist/cdn/{6BUPJWLA.js → HRK2DQJO.js} +1 -1
- package/dist/cdn/HXDS4O7D.js +2 -0
- package/dist/cdn/HXHMU23F.js +2 -0
- package/dist/cdn/{Z5YGVWFI.js → HYFMWTWO.js} +1 -1
- package/dist/cdn/{RVM3LW65.js → I7XEJYNZ.js} +1 -1
- package/dist/cdn/{VBWKWSWH.js → IJTFLZTR.js} +1 -1
- package/dist/cdn/{247JB6HC.js → IYCMJ2Q7.js} +1 -1
- package/dist/cdn/{5G3WPEKE.js → J2VDU3S5.js} +1 -1
- package/dist/cdn/{AD3PXUFR.js → J4MKTTB4.js} +1 -1
- package/dist/cdn/{RMW557ZN.js → JAANZHBL.js} +1 -1
- package/dist/cdn/{4KS4DINK.js → JCQMPSDG.js} +1 -1
- package/dist/cdn/{NEJ3H2LB.js → JPRKITN4.js} +1 -1
- package/dist/cdn/{OAUNPVAN.js → K7HIGO6U.js} +1 -1
- package/dist/cdn/{4OTJYTTQ.js → KC4OLX6Q.js} +1 -1
- package/dist/cdn/{BIOHRZG4.js → KFZTGKIF.js} +1 -1
- package/dist/cdn/KLEUYLUA.js +2 -0
- package/dist/cdn/KNGWBAKB.js +2 -0
- package/dist/cdn/KP3AJBKW.js +2 -0
- package/dist/cdn/KU63IINR.js +2 -0
- package/dist/cdn/{PNBNM2CX.js → KU6KNKRU.js} +1 -1
- package/dist/cdn/{AJJQYWT2.js → L3S2G2RR.js} +1 -1
- package/dist/cdn/{LID7GFUT.js → L6HQV4QC.js} +1 -1
- package/dist/cdn/LM56QFP5.js +2 -0
- package/dist/cdn/{ZBKRBSVS.js → LPUBRZAO.js} +1 -1
- package/dist/cdn/{ZSI6JMCS.js → LTJDTDLL.js} +1 -1
- package/dist/cdn/{IG4R2XLP.js → M4VOJ3WM.js} +1 -1
- package/dist/cdn/{M6KJCZWB.js → MC2UKG72.js} +1 -1
- package/dist/cdn/MFYO6QLJ.js +2 -0
- package/dist/cdn/{HZ5Z3AFP.js → MJR5WG2I.js} +1 -1
- package/dist/cdn/{GDYHCLUR.js → MQS6S5NN.js} +1 -1
- package/dist/cdn/{M3U7I4H6.js → N24CODZ6.js} +1 -1
- package/dist/cdn/{H6ZQZLZH.js → N7OKY3SS.js} +1 -1
- package/dist/cdn/{SWOFXLPC.js → N7SH7GMY.js} +1 -1
- package/dist/cdn/NBDIFUEK.js +2 -0
- package/dist/cdn/{4FZ4IAPL.js → NBVIGTR7.js} +1 -1
- package/dist/cdn/{4UMLJTUD.js → NCI5CMYE.js} +1 -1
- package/dist/cdn/{P7JISRFX.js → NFER2CWJ.js} +1 -1
- package/dist/cdn/{CLRULE43.js → NUK55ZZ5.js} +1 -1
- package/dist/cdn/{SNPNJWEW.js → OHIN4KCU.js} +1 -1
- package/dist/cdn/OLYGDPEW.js +2 -0
- package/dist/cdn/{ICMAOGTU.js → OO3T24WP.js} +1 -1
- package/dist/cdn/ORLHLWJQ.js +2 -0
- package/dist/cdn/{WL5U5CAI.js → P6NMMVED.js} +1 -1
- package/dist/cdn/{WSAN54E7.js → P7CHT5MB.js} +1 -1
- package/dist/cdn/{TQUEVR5G.js → QA4JBRQF.js} +1 -1
- package/dist/cdn/{5HLB5EA2.js → QII4DMIB.js} +1 -1
- package/dist/cdn/{WNQPFJIY.js → QNV6J5E7.js} +1 -1
- package/dist/cdn/QQQ4XVOM.js +2 -0
- package/dist/cdn/QRAFTVPJ.js +2 -0
- package/dist/cdn/{A2HZCAZE.js → R5OJIDB6.js} +1 -1
- package/dist/cdn/RJ6JENWK.js +2 -0
- package/dist/cdn/{TJCT3W5Z.js → RLHBDF4V.js} +1 -1
- package/dist/cdn/{UNGXK2Y7.js → RWLNOF6V.js} +1 -1
- package/dist/cdn/{A5ST5PJ5.js → S62BCFBA.js} +1 -1
- package/dist/cdn/{GV4HF2GT.js → SDLJ2WAX.js} +1 -1
- package/dist/cdn/SFH6ANCF.js +2 -0
- package/dist/cdn/{UBAD7GRA.js → SI56MY7Q.js} +1 -1
- package/dist/cdn/{MJYIEJPU.js → SMZ2ZORV.js} +2 -2
- package/dist/cdn/SNGGG7FD.js +2 -0
- package/dist/cdn/{646E35Z7.js → SWRI7BSF.js} +1 -1
- package/dist/cdn/{TCLL6YSI.js → TCDBO2BE.js} +1 -1
- package/dist/cdn/{LA4S2O5W.js → TFIPBSXB.js} +1 -1
- package/dist/cdn/THRRGHTM.js +2 -0
- package/dist/cdn/{AOIJ5WKT.js → TPMUBBLR.js} +1 -1
- package/dist/cdn/{ABGIEQOM.js → TQSA5HN6.js} +1 -1
- package/dist/cdn/TQYGI7O4.js +4 -0
- package/dist/cdn/{M7XQTF3M.js → TTOHBNNF.js} +1 -1
- package/dist/cdn/{E6YUUO2H.js → TXVKQEZW.js} +1 -1
- package/dist/cdn/TYX3FZAF.js +2 -0
- package/dist/cdn/{MVJ7QDW6.js → U42D6C4Y.js} +1 -1
- package/dist/cdn/U6FG3DCW.js +2 -0
- package/dist/cdn/{D5CSONNZ.js → UADZMW3G.js} +1 -1
- package/dist/cdn/{5MIR5GO7.js → UDUEFY4H.js} +1 -1
- package/dist/cdn/{HEXBGK66.js → UM6MGJRJ.js} +1 -1
- package/dist/cdn/{T4E43QYP.js → UML33FPY.js} +1 -1
- package/dist/cdn/{PB2LBPTM.js → URAXEQY4.js} +1 -1
- package/dist/cdn/{Z2I526XO.js → UUDCO37F.js} +1 -1
- package/dist/cdn/{LDM5UMZM.js → UUDUO3NV.js} +1 -1
- package/dist/cdn/{QV5MMPOA.js → VBGDIK4L.js} +1 -1
- package/dist/cdn/VCRESLPM.js +2 -0
- package/dist/cdn/{FMAUG4J6.js → VPKDM54C.js} +1 -1
- package/dist/cdn/{AZBJOEWG.js → VYQTGTRF.js} +1 -1
- package/dist/cdn/W42XLSER.js +2 -0
- package/dist/cdn/{OF5Q7FRP.js → W4PBGG53.js} +1 -1
- package/dist/cdn/W6CL72LN.js +2 -0
- package/dist/cdn/{CXNLXDLW.js → WA7IUOYU.js} +1 -1
- package/dist/cdn/WEVTZJPH.js +2 -0
- package/dist/cdn/{FMV55CW5.js → WF5XAE3M.js} +1 -1
- package/dist/cdn/WMH7TCIP.js +2 -0
- package/dist/cdn/WOTMBIQE.js +2 -0
- package/dist/cdn/{VNYFKVJ2.js → WQDUJLSY.js} +1 -1
- package/dist/cdn/WSFJMJKU.js +2 -0
- package/dist/cdn/{XUPZR2SQ.js → WVQJOSGR.js} +1 -1
- package/dist/cdn/{GBFRPLDY.js → X4F7SYRQ.js} +1 -1
- package/dist/cdn/X7M3MX36.js +2 -0
- package/dist/cdn/{TLCRVU3X.js → XAEEIDZQ.js} +1 -1
- package/dist/cdn/{WIWQH44O.js → XGCBKRFU.js} +1 -1
- package/dist/cdn/{ZNYLFGEB.js → XMYIWNY6.js} +1 -1
- package/dist/cdn/XZHBWJTY.js +2 -0
- package/dist/cdn/{AC4VLUR7.js → YHOPKV64.js} +1 -1
- package/dist/cdn/{GHWKTOPC.js → YRKL7O2R.js} +1 -1
- package/dist/cdn/{QZF3RIPB.js → YRNFO3WV.js} +1 -1
- package/dist/cdn/{ENZYELFC.js → Z3J2NO3P.js} +1 -1
- package/dist/cdn/{B3FETUUC.js → Z6N4FCMR.js} +1 -1
- package/dist/cdn/{WTL3FIGS.js → ZHSOQIU2.js} +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature-templates/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/time-utils.js +14 -14
- package/dist/chunks/useArcgisViewReadyError.js +60 -111
- package/dist/chunks/useLayerById.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.js +38 -38
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +51 -110
- package/dist/components/arcgis-coordinate-conversion/customElement.js +198 -250
- package/dist/components/arcgis-coordinate-conversion/index.js +3 -12
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +427 -0
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +361 -0
- package/dist/components/arcgis-coordinate-conversion-next/index.d.ts +1 -0
- package/dist/components/arcgis-coordinate-conversion-next/index.js +19 -0
- package/dist/components/arcgis-coordinate-conversion-next/types.d.ts +1 -0
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
- package/dist/components/arcgis-daylight/customElement.js +258 -226
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +20 -20
- package/dist/components/arcgis-directions/customElement.d.ts +5 -5
- package/dist/components/arcgis-directions/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +14 -0
- package/dist/components/arcgis-elevation-profile/customElement.js +77 -75
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +21 -21
- package/dist/components/arcgis-expand/customElement.js +5 -5
- package/dist/components/arcgis-feature/customElement.d.ts +4 -1
- package/dist/components/arcgis-feature-next/customElement.d.ts +27 -65
- package/dist/components/arcgis-feature-table/customElement.d.ts +36 -20
- package/dist/components/arcgis-feature-table/customElement.js +36 -30
- package/dist/components/arcgis-feature-templates/customElement.d.ts +277 -0
- package/dist/components/arcgis-feature-templates/customElement.js +511 -0
- package/dist/components/arcgis-feature-templates/index.d.ts +1 -0
- package/dist/components/arcgis-feature-templates/index.js +13 -0
- package/dist/components/arcgis-features/customElement.d.ts +14 -28
- package/dist/components/arcgis-features-next/customElement.d.ts +67 -126
- package/dist/components/arcgis-features-next/customElement.js +70 -64
- package/dist/components/arcgis-features-next/index.js +1 -0
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +319 -32
- package/dist/components/arcgis-layer-list-next/customElement.js +7 -3
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +27 -24
- package/dist/components/arcgis-legend/customElement.js +6 -6
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +16 -16
- package/dist/components/arcgis-link-chart/customElement.d.ts +35 -4
- package/dist/components/arcgis-link-chart/customElement.js +11 -11
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +102 -42
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-measurement-content/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +12 -12
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +23 -20
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +2 -2
- package/dist/components/arcgis-paste/customElement.js +27 -38
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +26 -29
- package/dist/components/arcgis-popup/customElement.js +9 -9
- package/dist/components/arcgis-print/customElement.js +10 -4
- package/dist/components/arcgis-print-dpi-input/customElement.js +22 -14
- package/dist/components/arcgis-scene/customElement.d.ts +34 -3
- package/dist/components/arcgis-scene/customElement.js +24 -24
- package/dist/components/arcgis-search/customElement.d.ts +7 -0
- package/dist/components/arcgis-search/customElement.js +38 -38
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-scale-range/customElement.js +65 -31
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -10
- package/dist/components/arcgis-template-image/customElement.d.ts +14 -0
- package/dist/components/arcgis-template-image/customElement.js +122 -0
- package/dist/components/arcgis-template-image/index.d.ts +1 -0
- package/dist/components/arcgis-template-image/index.js +2 -0
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +16 -16
- package/dist/components/arcgis-version-management/customElement.d.ts +9 -1
- package/dist/components/arcgis-version-management/customElement.js +21 -20
- package/dist/components/arcgis-version-management/index.js +1 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +7 -4
- package/dist/components/arcgis-video/customElement.d.ts +15 -2
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
- package/dist/components/arcgis-video-player/customElement.js +14 -11
- package/dist/components/arcgis-video-player-controls-group/customElement.js +19 -17
- package/dist/components/arcgis-video-player-settings/customElement.js +20 -18
- package/dist/components/arcgis-video-player-settings/index.js +1 -0
- package/dist/components/arcgis-weather/customElement.js +112 -104
- 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 +24 -0
- package/dist/loader.js +16 -13
- package/dist/types/lumina.d.ts +32 -10
- package/dist/types/preact.d.ts +35 -10
- package/dist/types/react.d.ts +38 -10
- package/dist/types/stencil.d.ts +32 -10
- package/package.json +7 -7
- package/dist/cdn/25DYY7HH.js +0 -2
- package/dist/cdn/274IEJH2.js +0 -2
- package/dist/cdn/4XR7RDUC.js +0 -2
- package/dist/cdn/4XVCI45D.js +0 -2
- package/dist/cdn/65P3TECS.js +0 -2
- package/dist/cdn/6DIRMUKS.js +0 -2
- package/dist/cdn/7HVDHWKE.js +0 -2
- package/dist/cdn/7LPXFLXF.js +0 -2
- package/dist/cdn/AKNID6WJ.js +0 -2
- package/dist/cdn/AU2KKQT7.js +0 -2
- package/dist/cdn/CPQQEWKH.js +0 -2
- package/dist/cdn/CZ3FVANK.js +0 -2
- package/dist/cdn/FNOJC6RY.js +0 -2
- package/dist/cdn/GSXZL5BA.js +0 -2
- package/dist/cdn/IBTOXDST.js +0 -2
- package/dist/cdn/ICPGYJTW.js +0 -2
- package/dist/cdn/IGXBF2RY.js +0 -2
- package/dist/cdn/IHDWD72J.js +0 -2
- package/dist/cdn/JFVZHHIX.js +0 -2
- package/dist/cdn/JH45FDUO.js +0 -2
- package/dist/cdn/JK33HXYG.js +0 -2
- package/dist/cdn/KRJOFH5A.js +0 -4
- package/dist/cdn/L5SSZOSL.js +0 -2
- package/dist/cdn/M4CPJTHZ.js +0 -2
- package/dist/cdn/MF5STJJO.js +0 -2
- package/dist/cdn/MHRXFE7S.js +0 -2
- package/dist/cdn/NLHFLEWT.js +0 -2
- package/dist/cdn/OFUAKDTE.js +0 -2
- package/dist/cdn/PECOFR7Q.js +0 -2
- package/dist/cdn/PMZAIPWC.js +0 -2
- package/dist/cdn/RAQVHNVI.js +0 -2
- package/dist/cdn/TFLKRVDZ.js +0 -2
- package/dist/cdn/UZ3CMTNE.js +0 -2
- package/dist/cdn/UZWPHO3G.js +0 -2
- package/dist/cdn/W2ANYMK4.js +0 -2
- package/dist/cdn/WTGXVWSL.js +0 -2
- package/dist/cdn/YJCBT5VK.js +0 -2
- package/dist/cdn/YJDTB6TD.js +0 -2
- package/dist/cdn/YMUQ7JSB.js +0 -2
- package/dist/cdn/ZCULSTYU.js +0 -2
- /package/dist/cdn/{3IBA2E3M.js → 2IJFHZMD.js} +0 -0
- /package/dist/cdn/{7EFRKXP6.js → 2KJOV5HK.js} +0 -0
- /package/dist/cdn/{IJMXE77N.js → 2SUHVYCI.js} +0 -0
- /package/dist/cdn/{VF6C5V2D.js → 2YXRZJMN.js} +0 -0
- /package/dist/cdn/{YDJ7YXWL.js → 3JMCA4ZR.js} +0 -0
- /package/dist/cdn/{2EP5VXD6.js → 4GKDVLBA.js} +0 -0
- /package/dist/cdn/{HGQ44436.js → 4XU4I5VY.js} +0 -0
- /package/dist/cdn/{GIM5WRSV.js → 5DCYVSSO.js} +0 -0
- /package/dist/cdn/{VQSQJFKX.js → 5UPND3OG.js} +0 -0
- /package/dist/cdn/{2TRD5SF7.js → 6CGHMQTL.js} +0 -0
- /package/dist/cdn/{SMZ3OJKR.js → AQB6HLVS.js} +0 -0
- /package/dist/cdn/{342CXNII.js → B4A4RH4L.js} +0 -0
- /package/dist/cdn/{7JIQFRV4.js → B5D6OPEJ.js} +0 -0
- /package/dist/cdn/{WP4KFUY3.js → C3LA23CB.js} +0 -0
- /package/dist/cdn/{COD4GW2E.js → C436KPG7.js} +0 -0
- /package/dist/cdn/{IYDUUPIY.js → CGISH4NH.js} +0 -0
- /package/dist/cdn/{R2EB7EHT.js → DF5Q25A7.js} +0 -0
- /package/dist/cdn/{V4CD5PGC.js → DIZDIIUN.js} +0 -0
- /package/dist/cdn/{DXLEA2EP.js → DJ3VJDLN.js} +0 -0
- /package/dist/cdn/{4JEJXGJU.js → DVZKG2WC.js} +0 -0
- /package/dist/cdn/{TBYXPWDW.js → EFUEICKE.js} +0 -0
- /package/dist/cdn/{7RZWWLDN.js → ELJCC3WK.js} +0 -0
- /package/dist/cdn/{527J47AJ.js → EPLP4YMK.js} +0 -0
- /package/dist/cdn/{E4CZXX27.js → F7DW6VHH.js} +0 -0
- /package/dist/cdn/{RVUYYH7M.js → FBXUEXNZ.js} +0 -0
- /package/dist/cdn/{XX2NQ7F7.js → FZYHVESP.js} +0 -0
- /package/dist/cdn/{3N4S6FME.js → HAADLXJX.js} +0 -0
- /package/dist/cdn/{RKUTQD6Q.js → HQZQCK6J.js} +0 -0
- /package/dist/cdn/{73S5NFVN.js → L3L24SIA.js} +0 -0
- /package/dist/cdn/{M63QHTM6.js → LM6ZA4HA.js} +0 -0
- /package/dist/cdn/{UPU33OD4.js → LXZ2GZTN.js} +0 -0
- /package/dist/cdn/{6R766RG6.js → O263Z4SH.js} +0 -0
- /package/dist/cdn/{NBH6PROL.js → O4PQUMJR.js} +0 -0
- /package/dist/cdn/{W2JV27PM.js → PU6QKY7I.js} +0 -0
- /package/dist/cdn/{7NPPDW6X.js → TW24OEJB.js} +0 -0
- /package/dist/cdn/{3X7ZHD6L.js → UJA6BLTS.js} +0 -0
- /package/dist/cdn/{EACNQTOQ.js → UUCYWMS2.js} +0 -0
- /package/dist/cdn/{NT3F6SCH.js → VKIVTDAN.js} +0 -0
- /package/dist/cdn/{ECVDZYOP.js → WBNMJ4VE.js} +0 -0
- /package/dist/cdn/{PE2SVZDC.js → WGGJPXPR.js} +0 -0
- /package/dist/cdn/{AXN2DJ6L.js → YJMFI5UV.js} +0 -0
- /package/dist/cdn/{M7EKIG3O.js → YLLLSHFK.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as l } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as d, html as r } from "lit";
|
|
4
|
-
import { on as o, watch as
|
|
4
|
+
import { on as o, watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import c from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
6
6
|
import { LitElement as g, createEvent as h, safeClassMap as p } from "@arcgis/lumina";
|
|
7
7
|
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
@@ -9,8 +9,8 @@ import { classes as u } from "@arcgis/toolkit/dom";
|
|
|
9
9
|
import { u as _ } from "../../chunks/useHandles.js";
|
|
10
10
|
import { u as m } from "../../chunks/useT9n.js";
|
|
11
11
|
import { m as v } from "../../chunks/useViewModel.js";
|
|
12
|
-
import { g as
|
|
13
|
-
const w = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{overflow:auto;width:var(--arcgis-internal-legend-width, 300px)}.root{overflow-y:var(--arcgis-internal-panel-overflow, auto)}:host([card-style-layout="side-by-side"]){--arcgis-internal-legend-width: auto}`, y = v(c);
|
|
12
|
+
import { g as s } from "../../chunks/globalCss.js";
|
|
13
|
+
const w = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{--arcgis-internal-legend-heading-margin: 0 0 .5rem;--arcgis-internal-legend-layer-padding: var( --arcgis-internal-padding, var(--calcite-spacing-md) var(--calcite-spacing-lg) );--arcgis-internal-legend-layer-gap: var(--calcite-spacing-xxl);--arcgis-internal-legend-layer-element-gap: var(--calcite-spacing-md);overflow:auto;width:var(--arcgis-internal-legend-width, 300px)}.root{overflow-y:var(--arcgis-internal-panel-overflow, auto)}:host([card-style-layout="side-by-side"]){--arcgis-internal-legend-width: auto}`, y = v(c);
|
|
14
14
|
class b extends g {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this.messages = m({}), this.final = _("destroy"), this.viewModel = y(this), this._isCardStyle = !1, this.view = this.viewModel.view, this.icon = "legend", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.layerInfos = this.viewModel.layerInfos, this.loading = this.viewModel.loading, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.label = this.messages?.componentLabel, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("state"), this.arcgisReady = h();
|
|
@@ -34,7 +34,7 @@ class b extends g {
|
|
|
34
34
|
this.manager.onLifecycle(() => [
|
|
35
35
|
o(() => this.el.view, "resize", () => this.requestUpdate()),
|
|
36
36
|
o(() => this.activeLayerInfos, "change", () => this._refreshActiveLayerInfos(this.activeLayerInfos)),
|
|
37
|
-
|
|
37
|
+
a(() => [
|
|
38
38
|
this.cardStyleLayout,
|
|
39
39
|
this.legendStyle,
|
|
40
40
|
typeof this.legendStyle == "object" ? this.legendStyle.type : void 0,
|
|
@@ -51,10 +51,10 @@ class b extends g {
|
|
|
51
51
|
}), this.requestUpdate();
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return r`<div class=${p(u("root",
|
|
54
|
+
return r`<div class=${p(u("root", s.widget, { [s.panel]: !this._isCardStyle }))}>${this._isCardStyle && this.view ? r`<arcgis-legend-card-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages} .layout=${this.cardStyleLayout} .view=${this.view}></arcgis-legend-card-view>` : r`<arcgis-legend-classic-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-legend-classic-view>`}</div>`;
|
|
55
55
|
}
|
|
56
56
|
_renderOnActiveLayerInfoChange(e) {
|
|
57
|
-
const i =
|
|
57
|
+
const i = a(() => e.version, () => this.requestUpdate());
|
|
58
58
|
this.final.addHandles(i, `version_${e.layer.uid}`);
|
|
59
59
|
const n = o(() => e.children, "change", () => e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t)));
|
|
60
60
|
this.final.addHandles(n, `version_${e.layer.uid}`), e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t));
|
|
@@ -4,7 +4,7 @@ import { css as $, html as s } from "lit";
|
|
|
4
4
|
import { LitElement as u, safeClassMap as n, nothing as c, safeStyleMap as w } from "@arcgis/lumina";
|
|
5
5
|
import { classes as g } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { b as E, s as p, i as f, c as d, g as y } from "../../chunks/utils2.js";
|
|
7
|
-
const L =
|
|
7
|
+
const L = $`:host{contain:content}.layer-table{display:table;width:100%}.layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.layer-row{display:table-row}.layer-cell{padding:var(--calcite-spacing-xxs) 0;vertical-align:middle;word-break:break-word;display:table-cell}.layer-cell-info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.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}`;
|
|
8
8
|
class x extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { cssEffectFilter: 1, layer: 0, legendElement: 0, messages: 0 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as c, html as
|
|
3
|
+
import { css as c, html as a } from "lit";
|
|
4
4
|
import { LitElement as d, safeClassMap as o } from "@arcgis/lumina";
|
|
5
5
|
import { classes as g } from "@arcgis/toolkit/dom";
|
|
6
6
|
import { H as m } from "../../chunks/heading.js";
|
|
7
|
-
const h = c`.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)}:host{display:block}.
|
|
8
|
-
class
|
|
7
|
+
const h = c`.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)}:host{display:block}.layers{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-gap)}.layers>.layer{position:relative}.layers>.layer:not(:last-child):after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--arcgis-internal-legend-layer-gap) / -2);border-bottom:1px solid var(--calcite-color-border-2)}.layers>.layer:last-child{padding-bottom:var(--arcgis-internal-legend-layer-gap)}.layer>.esri-widget__heading{margin:var(--arcgis-internal-legend-heading-margin)}.no-legend{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md)}.layer{padding:var(--arcgis-internal-legend-layer-padding);word-wrap:break-word}.layer-elements{margin-left:var(--calcite-spacing-sm);display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-element-gap);overflow:auto}.layer-children{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-layer-gap)}.layer-children>.layer{position:relative}.layer-children>.layer:not(:last-child):after{content:"";position:absolute;left:0;right:0;bottom:calc(var(--arcgis-internal-legend-layer-gap) / -2);border-bottom:1px solid var(--calcite-color-border-2)}.layer-child{margin-left:var(--calcite-spacing-sm);padding:0}:dir(rtl) .layer-elements,:dir(rtl) .layer-child{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}`;
|
|
8
|
+
class y extends d {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.headingLevel = 3, this.type = "classic";
|
|
11
11
|
}
|
|
@@ -16,31 +16,31 @@ class p extends d {
|
|
|
16
16
|
this.styles = h;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
const
|
|
20
|
-
return
|
|
19
|
+
const r = this.activeLayerInfos?.toArray().map((l) => this._renderLegendForLayer(l)).filter(Boolean);
|
|
20
|
+
return r?.length ? a`<section class="layers">${r}</section>` : a`<div class="no-legend">${this.messages.noLegend}</div>`;
|
|
21
21
|
}
|
|
22
22
|
_renderLegendForLayer(e) {
|
|
23
23
|
if (!e.ready)
|
|
24
24
|
return null;
|
|
25
|
-
const
|
|
25
|
+
const r = e.title ? m({
|
|
26
26
|
level: this.headingLevel,
|
|
27
27
|
children: e.title
|
|
28
28
|
}) : null;
|
|
29
29
|
if (e.children.length) {
|
|
30
|
-
const
|
|
31
|
-
return
|
|
30
|
+
const l = e.children.toArray().map((i) => this._renderLegendForLayer(i));
|
|
31
|
+
return a`<section class="layer">${r}<div class="layer-children">${l}</div></section>`;
|
|
32
32
|
}
|
|
33
|
-
return this._renderLegendElementsForLayer(e,
|
|
33
|
+
return this._renderLegendElementsForLayer(e, r);
|
|
34
34
|
}
|
|
35
|
-
_renderLegendElementsForLayer(e,
|
|
36
|
-
const
|
|
37
|
-
if (!
|
|
35
|
+
_renderLegendElementsForLayer(e, r) {
|
|
36
|
+
const l = e.legendElements?.filter(Boolean);
|
|
37
|
+
if (!l?.length)
|
|
38
38
|
return null;
|
|
39
|
-
const i =
|
|
40
|
-
return
|
|
39
|
+
const i = l.map((s) => a`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter ?? void 0} .layer=${e.layer} .legendElement=${s} .messages=${this.messages}></arcgis-legend-classic-element>`), t = { "layer-child": !!e.parent };
|
|
40
|
+
return a`<section class=${o(g("layer", t))}>${r}<div class="layer-elements">${i}</div></section>`;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
n("arcgis-legend-classic-view",
|
|
43
|
+
n("arcgis-legend-classic-view", y);
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
y as LegendClassicView
|
|
46
46
|
};
|
|
@@ -7,12 +7,12 @@ import type Analysis from "@arcgis/core/analysis/Analysis.js";
|
|
|
7
7
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
8
8
|
import type Viewpoint from "@arcgis/core/Viewpoint.js";
|
|
9
9
|
import type Basemap from "@arcgis/core/Basemap.js";
|
|
10
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
10
11
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
11
12
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
12
13
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
13
14
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
14
15
|
import type Error from "@arcgis/core/core/Error.js";
|
|
15
|
-
import type Graphic from "@arcgis/core/Graphic.js";
|
|
16
16
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
17
17
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
18
18
|
import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
|
|
@@ -27,8 +27,8 @@ import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
|
27
27
|
import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
28
28
|
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
29
29
|
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
30
|
-
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
31
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
30
|
+
import type { ScreenPoint, ScreenRect } from "@arcgis/core/core/types.js";
|
|
31
|
+
import type { FetchPopupFeaturesOptions, ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
32
32
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
33
33
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
34
34
|
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
@@ -730,7 +730,38 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
730
730
|
closePopup(): Promise<void>;
|
|
731
731
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
732
732
|
destroy(): Promise<void>;
|
|
733
|
-
|
|
733
|
+
/**
|
|
734
|
+
* Use this method to query for features at a given screen location. These features come from origins (layers and sublayers) configured with a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [FeatureLayer.popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled) set. One example could be a custom side panel that displays feature-specific information based on an end user's click location. This method allows a developer to control how the input location is handled, and then subsequently, what to do with the results.
|
|
735
|
+
*
|
|
736
|
+
* @param hitTarget
|
|
737
|
+
* @param options
|
|
738
|
+
* @since 5.1
|
|
739
|
+
* @example
|
|
740
|
+
* ```js
|
|
741
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
742
|
+
* // Get viewElement's click event
|
|
743
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
744
|
+
* const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
|
|
745
|
+
* pointerType: event.detail.pointerType
|
|
746
|
+
* });
|
|
747
|
+
* // Access the features returned from the generator
|
|
748
|
+
* for await (const feature of generator) {
|
|
749
|
+
* console.log(feature);
|
|
750
|
+
* }
|
|
751
|
+
* });
|
|
752
|
+
* ```
|
|
753
|
+
* @example
|
|
754
|
+
* ```js
|
|
755
|
+
* // Wait for all the features to be available
|
|
756
|
+
* view.on("click", async (event) => {
|
|
757
|
+
* const generator = view.fetchPopupFeatures(event.screenPoint, {
|
|
758
|
+
* pointerType: event.pointerType
|
|
759
|
+
* });
|
|
760
|
+
*
|
|
761
|
+
* const features = await Array.fromAsync(generator);
|
|
762
|
+
* });
|
|
763
|
+
*/
|
|
764
|
+
fetchPopupFeatures(hitTarget: ScreenPoint | ScreenRect, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
|
|
734
765
|
/**
|
|
735
766
|
* Sets the view to a given target.
|
|
736
767
|
*
|
|
@@ -10,14 +10,14 @@ import { s as I } from "../../chunks/esri-main.js";
|
|
|
10
10
|
import { s as E } from "../../chunks/slots.js";
|
|
11
11
|
import { C as u } from "../../chunks/resources.js";
|
|
12
12
|
import { p as L, i as k } from "../../chunks/component-utils.js";
|
|
13
|
-
import { U as M,
|
|
14
|
-
import { fetchKnowledgeGraph as
|
|
13
|
+
import { U as M, u as R, a as U } from "../../chunks/useArcgisViewReadyError.js";
|
|
14
|
+
import { fetchKnowledgeGraph as D } from "@arcgis/core/rest/knowledgeGraphService.js";
|
|
15
15
|
import x from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
|
|
16
16
|
import { t as d } from "../../chunks/async-utils.js";
|
|
17
17
|
import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
|
|
18
18
|
import { html as y } from "lit";
|
|
19
19
|
import Q from "@arcgis/core/layers/LinkChartLayer.js";
|
|
20
|
-
const
|
|
20
|
+
const P = f(
|
|
21
21
|
b,
|
|
22
22
|
/**
|
|
23
23
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -28,10 +28,10 @@ const z = f(
|
|
|
28
28
|
* in an externalized package.
|
|
29
29
|
*/
|
|
30
30
|
{}
|
|
31
|
-
),
|
|
32
|
-
class
|
|
31
|
+
), z = f(_, {});
|
|
32
|
+
class Z extends V {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this.
|
|
34
|
+
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._activeLoadAbortController = null, this.arcgisLoadError = R(this), this.arcgisViewReadyError = U(this), this._map = P(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
35
35
|
components: []
|
|
36
36
|
};
|
|
37
37
|
}
|
|
@@ -129,8 +129,8 @@ class F extends V {
|
|
|
129
129
|
async closePopup() {
|
|
130
130
|
this._uiController.closePopup();
|
|
131
131
|
}
|
|
132
|
-
async
|
|
133
|
-
this.
|
|
132
|
+
async fetchPopupFeatures(i, t) {
|
|
133
|
+
return this.view.fetchPopupFeatures(i, t);
|
|
134
134
|
}
|
|
135
135
|
async destroy() {
|
|
136
136
|
await this.manager.destroy();
|
|
@@ -236,7 +236,7 @@ class F extends V {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
const s = {
|
|
239
|
-
fetchKnowledgeGraph: async (r) => await
|
|
239
|
+
fetchKnowledgeGraph: async (r) => await D(r),
|
|
240
240
|
WebLinkChart: b,
|
|
241
241
|
LinkChartLayer: Q,
|
|
242
242
|
setMap: (r, i) => {
|
|
@@ -253,8 +253,8 @@ const s = {
|
|
|
253
253
|
},
|
|
254
254
|
reCreateAccessor: A
|
|
255
255
|
};
|
|
256
|
-
C("arcgis-link-chart",
|
|
256
|
+
C("arcgis-link-chart", Z);
|
|
257
257
|
export {
|
|
258
|
-
|
|
258
|
+
Z as ArcgisLinkChart,
|
|
259
259
|
s as exportsForTests
|
|
260
260
|
};
|
|
@@ -9,12 +9,12 @@ import type Ground from "@arcgis/core/Ground.js";
|
|
|
9
9
|
import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
|
|
10
10
|
import type Basemap from "@arcgis/core/Basemap.js";
|
|
11
11
|
import type Map from "@arcgis/core/Map.js";
|
|
12
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
12
13
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
13
14
|
import type ColorBackground from "@arcgis/core/webmap/background/ColorBackground.js";
|
|
14
15
|
import type BasemapView from "@arcgis/core/views/BasemapView.js";
|
|
15
16
|
import type MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
|
|
16
17
|
import type Error from "@arcgis/core/core/Error.js";
|
|
17
|
-
import type Graphic from "@arcgis/core/Graphic.js";
|
|
18
18
|
import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
|
|
19
19
|
import type IPSInfo from "@arcgis/core/webdoc/IPSInfo.js";
|
|
20
20
|
import type Magnifier from "@arcgis/core/views/Magnifier.js";
|
|
@@ -33,7 +33,7 @@ import type { DoubleClickEvent, DoubleTapDragEvent, VerticalTwoFingerDragEvent,
|
|
|
33
33
|
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, Screenshot, UserSettings, ViewHitTestResult, HitTestOptions, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types.js";
|
|
34
34
|
import type { AnalysisView2DUnion } from "@arcgis/core/views/2d/analysis/types.js";
|
|
35
35
|
import type { ScreenPoint, ScreenRect } from "@arcgis/core/core/types.js";
|
|
36
|
-
import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
36
|
+
import type { FetchPopupFeaturesOptions, ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
|
|
37
37
|
import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
|
|
38
38
|
import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
39
39
|
import type { SlotGroupRefs } from "../../support/slots.js";
|
|
@@ -211,11 +211,34 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
211
211
|
* Specifies a basemap for the map. The basemap is a set of layers that give
|
|
212
212
|
* geographic context to the view and the other operational layers
|
|
213
213
|
* in the map.
|
|
214
|
-
* It can either be set using a basemap ID string ([see values](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)),
|
|
215
|
-
* [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/)
|
|
216
|
-
* or [BasemapStyle](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/).
|
|
217
214
|
*
|
|
218
|
-
* [
|
|
215
|
+
* The basemap can be set from a basemap ID string from the [basemap styles service](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/), such as `arcgis/navigation`, or from the [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) class.
|
|
216
|
+
*
|
|
217
|
+
* > [!NOTE]
|
|
218
|
+
* > Accessing the basemap styles service requires authentication, see [Authentication and access tokens](https://developers.arcgis.com/javascript/latest/authentication/access-tokens/) for more information.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* ```html
|
|
222
|
+
* <!-- Basemap set using a basemap ID string from the basemap styles service -->
|
|
223
|
+
* <arcgis-map basemap="arcgis/navigation" center="-98, 39" zoom="4"></arcgis-map>
|
|
224
|
+
* ```
|
|
225
|
+
* @example
|
|
226
|
+
* ```js
|
|
227
|
+
* // Basemap set using a Basemap instance
|
|
228
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
229
|
+
* viewElement.basemap = new Basemap({
|
|
230
|
+
* title: "Terrain",
|
|
231
|
+
* baseLayers: [
|
|
232
|
+
* new VectorTileLayer({
|
|
233
|
+
* url: "https://arcgis.com/sharing/rest/content/items/b5676525747f499687f12746441101ef/resources/styles/root.json",
|
|
234
|
+
* })
|
|
235
|
+
* ]
|
|
236
|
+
* });
|
|
237
|
+
* ```
|
|
238
|
+
* @see [Map.basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)
|
|
239
|
+
* @see [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/)
|
|
240
|
+
* @see [BasemapStyle](https://developers.arcgis.com/javascript/latest/references/core/support/BasemapStyle/)
|
|
241
|
+
* @see [Authentication and access tokens](https://developers.arcgis.com/javascript/latest/authentication/access-tokens/)
|
|
219
242
|
*/
|
|
220
243
|
accessor basemap: Basemap | string | undefined;
|
|
221
244
|
/** Represents the view for a single basemap after it has been added to the map. */
|
|
@@ -883,6 +906,26 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
883
906
|
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
884
907
|
* Setting the viewpoint immediately changes the current view. For animating
|
|
885
908
|
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) method.
|
|
909
|
+
*
|
|
910
|
+
* @example
|
|
911
|
+
* ```js
|
|
912
|
+
* // Set the viewpoint to the Empire State Building in New York City
|
|
913
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
914
|
+
* viewElement.viewpoint = new Viewpoint({
|
|
915
|
+
* targetGeometry: new Point({
|
|
916
|
+
* longitude: -73.9857,
|
|
917
|
+
* latitude: 40.7484
|
|
918
|
+
* }),
|
|
919
|
+
* scale: 5000
|
|
920
|
+
* });
|
|
921
|
+
* ```
|
|
922
|
+
* @example
|
|
923
|
+
* ```js
|
|
924
|
+
* // Get the initial viewpoint of the view once the view is ready
|
|
925
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
926
|
+
* await viewElement.viewOnReady();
|
|
927
|
+
* const initialViewpoint = viewElement.viewpoint.clone();
|
|
928
|
+
* ```
|
|
886
929
|
*/
|
|
887
930
|
accessor viewpoint: Viewpoint;
|
|
888
931
|
/**
|
|
@@ -911,7 +954,38 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
911
954
|
closePopup(): Promise<void>;
|
|
912
955
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
913
956
|
destroy(): Promise<void>;
|
|
914
|
-
|
|
957
|
+
/**
|
|
958
|
+
* Use this method to query for features at a given screen location. These features come from origins (layers and sublayers) configured with a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [FeatureLayer.popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled) set. One example could be a custom side panel that displays feature-specific information based on an end user's click location. This method allows a developer to control how the input location is handled, and then subsequently, what to do with the results.
|
|
959
|
+
*
|
|
960
|
+
* @param hitTarget
|
|
961
|
+
* @param options
|
|
962
|
+
* @since 5.1
|
|
963
|
+
* @example
|
|
964
|
+
* ```js
|
|
965
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
966
|
+
* // Get viewElement's click event
|
|
967
|
+
* viewElement.addEventListener("arcgisViewClick", async (event) => {
|
|
968
|
+
* const generator = await viewElement.fetchPopupFeatures(event.detail.screenPoint, {
|
|
969
|
+
* pointerType: event.detail.pointerType
|
|
970
|
+
* });
|
|
971
|
+
* // Access the features returned from the generator
|
|
972
|
+
* for await (const feature of generator) {
|
|
973
|
+
* console.log(feature);
|
|
974
|
+
* }
|
|
975
|
+
* });
|
|
976
|
+
* ```
|
|
977
|
+
* @example
|
|
978
|
+
* ```js
|
|
979
|
+
* // Wait for all the features to be available
|
|
980
|
+
* view.on("click", async (event) => {
|
|
981
|
+
* const generator = view.fetchPopupFeatures(event.screenPoint, {
|
|
982
|
+
* pointerType: event.pointerType
|
|
983
|
+
* });
|
|
984
|
+
*
|
|
985
|
+
* const features = await Array.fromAsync(generator);
|
|
986
|
+
* });
|
|
987
|
+
*/
|
|
988
|
+
fetchPopupFeatures(hitTarget: ScreenPoint | ScreenRect, options?: FetchPopupFeaturesOptions): Promise<AsyncGenerator<Graphic>>;
|
|
915
989
|
/**
|
|
916
990
|
* Sets the view to a given target.
|
|
917
991
|
*
|
|
@@ -920,42 +994,28 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
920
994
|
*/
|
|
921
995
|
goTo(target: GoToTarget2D, options?: GoToOptions2D): Promise<unknown>;
|
|
922
996
|
/**
|
|
923
|
-
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/references/core/views/
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
*
|
|
927
|
-
*
|
|
928
|
-
*
|
|
929
|
-
* [
|
|
930
|
-
* [
|
|
931
|
-
* [
|
|
932
|
-
* [
|
|
933
|
-
* [
|
|
934
|
-
* [
|
|
935
|
-
* [
|
|
936
|
-
*
|
|
937
|
-
* [
|
|
938
|
-
* [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/),
|
|
939
|
-
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/), and
|
|
940
|
-
* [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer/).
|
|
941
|
-
*
|
|
942
|
-
* The [ParquetLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ParquetLayer/) hit result returns only the topmost feature
|
|
943
|
-
* when the hit occurs on overlapping features in a ParquetLayer.
|
|
944
|
-
*
|
|
945
|
-
* The [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer/) hit test result contains an array of objects containing
|
|
946
|
-
* a [graphic](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#GraphicHit).
|
|
947
|
-
* The graphic returns attributes of a style layer. In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#origin)
|
|
948
|
-
* contains the style layer's [id](https://maplibre.org/maplibre-style-spec/layers/#id) and layer index within the [vector tile style](https://doc.arcgis.com/en/arcgis-online/reference/tile-layers.htm#ESRI_SECTION1_8F68399EB47B48FF9EF46719FCC96978).
|
|
949
|
-
* Spatial information about the actual feature represented in the style layer is returned only if the style layer is a [symbol layer](https://maplibre.org/maplibre-style-spec/layers/#symbol).
|
|
950
|
-
* Otherwise, the graphic's geometry is `null`.
|
|
951
|
-
*
|
|
952
|
-
* The [MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/) hit test result contains all media elements if the hit is made on intersecting elements.
|
|
953
|
-
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/RouteLayer/) hit test result contains all route elements if the hit is made on intersecting elements.
|
|
954
|
-
*
|
|
955
|
-
* If the [polygon](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/) feature's symbol
|
|
956
|
-
* [style](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol/#style) is set to `none`, the hitTest method will not
|
|
997
|
+
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHitTestResult) from each layer that intersects the specified screen point or screen rectangle.
|
|
998
|
+
* The results are organized as an array of objects containing different [ViewHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHit) result types such as graphics, raster pixels, media elements, or routes.
|
|
999
|
+
*
|
|
1000
|
+
* **2D hitTest() behavior by layer type**
|
|
1001
|
+
* | Layer type | Hit test behavior |
|
|
1002
|
+
* | :--- | :--- |
|
|
1003
|
+
* | [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer), [CatalogFootprintLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/catalog/CatalogFootprintLayer), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer), [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer), [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer), [OrientedImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OrientedImageryLayer), [StreamLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/StreamLayer), [SubtypeGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SubtypeGroupLayer), [WFSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WFSLayer) | Returns all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features at the hit location. |
|
|
1004
|
+
* | [ParquetLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ParquetLayer) | Returns only the topmost [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) feature when the hit occurs on overlapping features. (as of version 4.34). |
|
|
1005
|
+
* | [GeoRSSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoRSSLayer), [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer), [KMLLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/KMLLayer), [MapNotesLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MapNotesLayer) | Returns all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features at the hit location. |
|
|
1006
|
+
* | [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer), [ImageryTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryTileLayer)| Returns [RasterHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#RasterHit) result containing raster pixel value used in rendering and bandId info on intersecting pixels. The `screenRect` hitTarget is not supported for these layers. |
|
|
1007
|
+
* | [VectorTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VectorTileLayer) | Returns a result for all intersecting [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) features containing attributes of style layers (as of version 4.29; in prior releases, only the topmost style layer result was returned). In addition, the graphic's [origin](https://developers.arcgis.com/javascript/latest/references/core/Graphic#origin) contains the style layer's [id](https://maplibre.org/maplibre-style-spec/layers/#id) and layer index within the [vector tile style](https://doc.arcgis.com/en/arcgis-online/reference/tile-layers.htm#ESRI_SECTION1_8F68399EB47B48FF9EF46719FCC96978). Spatial information about the actual feature represented in the style layer is returned only if the style layer is a [symbol layer](https://maplibre.org/maplibre-style-spec/layers/#symbol). Otherwise, the graphic's geometry is `null`. |
|
|
1008
|
+
* | [MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer) | Returns [MediaHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#MediaHit) result containing all media elements if the hit is made on intersecting elements. |
|
|
1009
|
+
* | [RouteLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/RouteLayer) | Returns [RouteHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#RouteHit) result containing all intersecting route elements if the hit is made on intersecting elements. |
|
|
1010
|
+
*
|
|
1011
|
+
* **Note:** If the [Polygon](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon) feature's symbol [SimpleFillSymbol.style](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol#style) is set to "none", the hitTest method will not
|
|
957
1012
|
* return results when the fill is clicked. However, it will return results when the outline is clicked. To get results when clicking the fill, set the
|
|
958
|
-
* [color](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol
|
|
1013
|
+
* [SimpleFillSymbol.color](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol#color) to a transparent color instead.
|
|
1014
|
+
*
|
|
1015
|
+
* Release-specific changes:
|
|
1016
|
+
* * At version 5.1, the [ScreenRect](https://developers.arcgis.com/javascript/latest/references/core/core/types/#ScreenRect) option was added to perform hit tests on rectangular areas.
|
|
1017
|
+
* * At version 4.24, [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHitTestResult) returns an array of objects containing [GraphicHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#GraphicHit) graphic, [MediaHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#MediaHit) media element, and [RouteHit](https://developers.arcgis.com/javascript/latest/references/core/views/types/#RouteHit) route.
|
|
1018
|
+
* * At version 4.23, all hit test features from feature layers are returned in the result. In prior releases, only the top most feature was returned.
|
|
959
1019
|
*
|
|
960
1020
|
* @param hitTarget
|
|
961
1021
|
* @param options
|
|
@@ -11,9 +11,9 @@ import { s as g } from "../../chunks/esri-main.js";
|
|
|
11
11
|
import { s as d } from "../../chunks/slots.js";
|
|
12
12
|
import { C as w } from "../../chunks/resources.js";
|
|
13
13
|
import { p as y, i as f } from "../../chunks/component-utils.js";
|
|
14
|
-
import { U as b,
|
|
15
|
-
import
|
|
16
|
-
const
|
|
14
|
+
import { U as b, u as V, a as C } from "../../chunks/useArcgisViewReadyError.js";
|
|
15
|
+
import E from "@arcgis/core/core/Collection.js";
|
|
16
|
+
const A = p(
|
|
17
17
|
v,
|
|
18
18
|
/**
|
|
19
19
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -25,9 +25,9 @@ const _ = p(
|
|
|
25
25
|
*/
|
|
26
26
|
{}
|
|
27
27
|
), R = p(c, {});
|
|
28
|
-
class
|
|
28
|
+
class _ extends m {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new b(this), this.
|
|
30
|
+
super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new b(this), this.extraContent = new E(), this.arcgisLoadError = V(this), this.arcgisViewReadyError = C(this), this._map = A(this), this.view = R(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
31
31
|
components: []
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -116,8 +116,8 @@ class D extends m {
|
|
|
116
116
|
async closePopup() {
|
|
117
117
|
this._uiController.closePopup();
|
|
118
118
|
}
|
|
119
|
-
async
|
|
120
|
-
this.
|
|
119
|
+
async fetchPopupFeatures(i, t) {
|
|
120
|
+
return this.view.fetchPopupFeatures(i, t);
|
|
121
121
|
}
|
|
122
122
|
async destroy() {
|
|
123
123
|
await this.manager.destroy();
|
|
@@ -178,7 +178,7 @@ class D extends m {
|
|
|
178
178
|
return a`${this.renderMain()}<section class=${o(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
l("arcgis-map",
|
|
181
|
+
l("arcgis-map", _);
|
|
182
182
|
export {
|
|
183
|
-
|
|
183
|
+
_ as ArcgisMap
|
|
184
184
|
};
|