@arcgis/map-components 5.2.0-next.1 → 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/{72IUGDSR.js → 6633XT4Y.js} +1 -1
- 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/{BDDXZ4ML.js → A2BZKW2V.js} +1 -1
- 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/{PRZ7EKB7.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/{43Q3TUPX.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/{IAPVYBIO.js → WSFJMJKU.js} +1 -1
- 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/slots.js +1 -1
- package/dist/chunks/time-utils.js +14 -14
- package/dist/chunks/useArcgisViewReadyError.js +60 -111
- 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-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-table/customElement.d.ts +9 -0
- package/dist/components/arcgis-feature-table/customElement.js +28 -28
- 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 +4 -17
- package/dist/components/arcgis-features-next/customElement.d.ts +8 -0
- 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-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.js +1 -1
- 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 +21 -20
- 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.js +6 -6
- 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 +13 -10
- package/dist/types/lumina.d.ts +28 -6
- package/dist/types/preact.d.ts +31 -6
- package/dist/types/react.d.ts +34 -6
- package/dist/types/stencil.d.ts +28 -6
- package/package.json +7 -7
- 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/6NEHIRSM.js +0 -2
- package/dist/cdn/7HVDHWKE.js +0 -2
- package/dist/cdn/7LPXFLXF.js +0 -2
- package/dist/cdn/AU2KKQT7.js +0 -2
- package/dist/cdn/CPQQEWKH.js +0 -2
- package/dist/cdn/CWWTUOR7.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/GVOCIBLC.js +0 -2
- package/dist/cdn/IBTOXDST.js +0 -2
- package/dist/cdn/ICPGYJTW.js +0 -2
- package/dist/cdn/J6G5UUNA.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/MF5STJJO.js +0 -2
- package/dist/cdn/MHRXFE7S.js +0 -2
- package/dist/cdn/NEXYYXWU.js +0 -2
- package/dist/cdn/PECOFR7Q.js +0 -2
- package/dist/cdn/PMZAIPWC.js +0 -2
- package/dist/cdn/QZPKGHKG.js +0 -2
- package/dist/cdn/RAQVHNVI.js +0 -2
- package/dist/cdn/TFLKRVDZ.js +0 -2
- package/dist/cdn/UZWPHO3G.js +0 -2
- package/dist/cdn/W2ANYMK4.js +0 -2
- package/dist/cdn/X4COPBRD.js +0 -2
- package/dist/cdn/YJCBT5VK.js +0 -2
- package/dist/cdn/YJDTB6TD.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
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as T } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as g, html as o } from "lit";
|
|
4
|
+
import { LitElement as b, createEvent as h } from "@arcgis/lumina";
|
|
5
|
+
import { u as w } from "../../chunks/useT9n.js";
|
|
6
|
+
import { u as F } from "../../chunks/useView.js";
|
|
7
|
+
import { m as M } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { property as l, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
|
+
import _ from "@arcgis/core/core/Accessor.js";
|
|
10
|
+
import u from "@arcgis/core/editing/templates/TemplateListItem.js";
|
|
11
|
+
import { getAllStandardFeatureTemplatesForLayer as $, getTemplatesForLayers as x } from "@arcgis/core/applications/Components/templateUtils.js";
|
|
12
|
+
import { i as y, c as v } from "../../chunks/layer-utils.js";
|
|
13
|
+
import { isTable as m, getEffectiveLayerCapabilities as B } from "@arcgis/core/applications/Components/layerUtils.js";
|
|
14
|
+
import { usePropertyChange as D } from "@arcgis/lumina/controllers";
|
|
15
|
+
import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
|
+
import { debounce as L } from "@arcgis/toolkit/function";
|
|
17
|
+
const E = g`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`;
|
|
18
|
+
var U = Object.defineProperty, I = Object.getOwnPropertyDescriptor, a = (t, e, i, r) => {
|
|
19
|
+
for (var n = r > 1 ? void 0 : r ? I(e, i) : e, p = t.length - 1, c; p >= 0; p--)
|
|
20
|
+
(c = t[p]) && (n = (r ? c(e, i, n) : c(n)) || n);
|
|
21
|
+
return r && n && U(e, i, n), n;
|
|
22
|
+
};
|
|
23
|
+
function C(t) {
|
|
24
|
+
switch (t) {
|
|
25
|
+
case "point":
|
|
26
|
+
case "multipoint":
|
|
27
|
+
case "polyline":
|
|
28
|
+
case "polygon":
|
|
29
|
+
case "extent":
|
|
30
|
+
case "mesh":
|
|
31
|
+
return t;
|
|
32
|
+
}
|
|
33
|
+
return "noneSpecified";
|
|
34
|
+
}
|
|
35
|
+
const R = (t) => C(t.layer.geometryType ?? "");
|
|
36
|
+
let s = class extends _ {
|
|
37
|
+
//#region Lifecycle
|
|
38
|
+
constructor(t) {
|
|
39
|
+
super(t), this._hasRunInitialLoad = !1, this.favoritesEnabled = !1, this.recentlyUsedEnabled = !1, this.hideTemplateDescription = !1, this.filterText = "", this.recentFilterText = "", this.favoritesFilterText = "", this.display = "grouped", this.groupBy = "layer", this.hideTemplatesMode = "never", this.disableTemplatesMode = "never", this.sectionSortBy = "system", this.templateSortBy = "alphabetical", this.sharedTemplatesDisabled = !1, this.excludeTables = !1, this.favorites = /* @__PURE__ */ new Set(), this.fetchingTemplateMetaData = !1, this.recentlyUsed = [];
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region Public methods
|
|
43
|
+
/*
|
|
44
|
+
* The template source has changed. This maybe because layers
|
|
45
|
+
* have been added or removed, the map changed or application templates
|
|
46
|
+
* supplied.
|
|
47
|
+
*/
|
|
48
|
+
async handleTemplateSourceDefinitionChanged() {
|
|
49
|
+
if (this._hasRunInitialLoad = !1, this.applicationTemplates) {
|
|
50
|
+
await this._restore();
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
try {
|
|
54
|
+
this.fetchingTemplateMetaData = !0;
|
|
55
|
+
const t = this.activeLayers;
|
|
56
|
+
if (await Promise.allSettled(t.map((e) => e.load())), this.sharedTemplatesDisabled) {
|
|
57
|
+
const e = [];
|
|
58
|
+
for (const i of t) {
|
|
59
|
+
const r = $(i);
|
|
60
|
+
r.length > 0 && e.push({
|
|
61
|
+
layer: i,
|
|
62
|
+
templates: r
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
this.mapTemplates = e;
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
this.mapTemplates = await x(t, this.view, void 0, {
|
|
69
|
+
returnVisibleTemplatesOnly: !0
|
|
70
|
+
}), await this._restore();
|
|
71
|
+
} catch {
|
|
72
|
+
this.mapTemplates = [];
|
|
73
|
+
} finally {
|
|
74
|
+
this.fetchingTemplateMetaData = !1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
get loading() {
|
|
78
|
+
return !this._hasRunInitialLoad || this.layers !== void 0 || this.applicationTemplates !== void 0 || !this.view?.ready;
|
|
79
|
+
}
|
|
80
|
+
/*
|
|
81
|
+
* Add a favorite
|
|
82
|
+
*/
|
|
83
|
+
async addFavorite(t) {
|
|
84
|
+
this.favorites.add(t.id), this.favorites = new Set(this.favorites);
|
|
85
|
+
}
|
|
86
|
+
/*
|
|
87
|
+
* Remove a favorite
|
|
88
|
+
*/
|
|
89
|
+
async removeFavorite(t) {
|
|
90
|
+
this.favorites.delete(t.id), this.favorites = new Set(this.favorites);
|
|
91
|
+
}
|
|
92
|
+
/*
|
|
93
|
+
* Add a recently selected Template
|
|
94
|
+
*/
|
|
95
|
+
addRecent(t) {
|
|
96
|
+
if (!this.recentlyUsedEnabled)
|
|
97
|
+
return;
|
|
98
|
+
const e = this.recentlyUsed.filter((i) => i !== t.id);
|
|
99
|
+
e.unshift(t.id) > 20 && (e.length = 20), this.recentlyUsed = e;
|
|
100
|
+
}
|
|
101
|
+
/*
|
|
102
|
+
* Remove a favorite
|
|
103
|
+
*/
|
|
104
|
+
async removeRecent(t) {
|
|
105
|
+
this.recentlyUsed = this.recentlyUsed.filter((e) => e !== t.id);
|
|
106
|
+
}
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region Private methods
|
|
109
|
+
/*
|
|
110
|
+
* Restore favorites and recents, if there is a provider.
|
|
111
|
+
*/
|
|
112
|
+
async _restore() {
|
|
113
|
+
try {
|
|
114
|
+
if (this.favoritesEnabled && this.restoreFavorites) {
|
|
115
|
+
const t = await this.restoreFavorites();
|
|
116
|
+
this.favorites = new Set(t ?? []);
|
|
117
|
+
}
|
|
118
|
+
} catch {
|
|
119
|
+
}
|
|
120
|
+
try {
|
|
121
|
+
if (this.recentlyUsedEnabled && this.restoreRecentlyUsed) {
|
|
122
|
+
const t = await this.restoreRecentlyUsed();
|
|
123
|
+
this.recentlyUsed = t ?? [];
|
|
124
|
+
}
|
|
125
|
+
} catch {
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/*
|
|
129
|
+
* Sort the templates based on a function or alphabetical.
|
|
130
|
+
*/
|
|
131
|
+
_sortTemplates(t) {
|
|
132
|
+
if (this.templateSortByFunction) {
|
|
133
|
+
const e = this.templateSortByFunction(t) ?? null;
|
|
134
|
+
return e === null ? t : e;
|
|
135
|
+
}
|
|
136
|
+
return this.templateSortBy === "alphabetical" ? t.toSorted((e, i) => e.label.localeCompare(i.label)) : t;
|
|
137
|
+
}
|
|
138
|
+
/*
|
|
139
|
+
* Sort the sections based on a function or alphabetical, and sort the templates within the sections as well.
|
|
140
|
+
*/
|
|
141
|
+
_sortSections(t) {
|
|
142
|
+
if (this.sectionSortByFunction) {
|
|
143
|
+
const e = this.sectionSortByFunction(t);
|
|
144
|
+
e && (t = e);
|
|
145
|
+
} else if (this.sectionSortBy === "alphabetical")
|
|
146
|
+
t = t.toSorted((e, i) => e.sectionName.localeCompare(i.sectionName));
|
|
147
|
+
else if (this.groupBy === "geometry" && !this.groupByFunction) {
|
|
148
|
+
const e = {
|
|
149
|
+
point: 1,
|
|
150
|
+
multipoint: 2,
|
|
151
|
+
polyline: 3,
|
|
152
|
+
polygon: 4,
|
|
153
|
+
extent: 5,
|
|
154
|
+
mesh: 6,
|
|
155
|
+
noneSpecified: 7
|
|
156
|
+
};
|
|
157
|
+
t = t.toSorted((i, r) => {
|
|
158
|
+
const n = e[i.sectionName] ?? 10, p = e[r.sectionName] ?? 10;
|
|
159
|
+
return n - p;
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
for (const e of t)
|
|
163
|
+
e.templates = this._sortTemplates(e.templates);
|
|
164
|
+
return t;
|
|
165
|
+
}
|
|
166
|
+
_layerIsVisibleAtCurrentScale(t) {
|
|
167
|
+
if (!this.view)
|
|
168
|
+
return !0;
|
|
169
|
+
let e = t;
|
|
170
|
+
y(t) && (e = t.parent);
|
|
171
|
+
const i = this.view.allLayerViews.find((r) => r.layer === e);
|
|
172
|
+
if (!i)
|
|
173
|
+
return !0;
|
|
174
|
+
if (y(t)) {
|
|
175
|
+
const r = this.view.scale;
|
|
176
|
+
if (i.visibleAtCurrentScale) {
|
|
177
|
+
const n = t.minScale, p = t.maxScale;
|
|
178
|
+
let c = !n, d = !p;
|
|
179
|
+
return !c && r <= n && (c = !0), !d && r >= p && (d = !0), c && d;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return i.visibleAtCurrentScale;
|
|
183
|
+
}
|
|
184
|
+
get activeLayers() {
|
|
185
|
+
const t = [];
|
|
186
|
+
for (const e of this.layers ?? [])
|
|
187
|
+
if (v(e))
|
|
188
|
+
for (const i of e.sublayers)
|
|
189
|
+
t.push(i);
|
|
190
|
+
else
|
|
191
|
+
t.push(e);
|
|
192
|
+
if (this.layers === void 0 || this.layers === null) {
|
|
193
|
+
for (const e of [
|
|
194
|
+
...this.view?.map?.allLayers?.slice(0).reverse() ?? [],
|
|
195
|
+
...this.excludeTables ? [] : this.view?.map?.allTables?.slice(0).reverse() ?? []
|
|
196
|
+
])
|
|
197
|
+
if (e.type === "feature" || e.type === "scene" || e.type === "geojson" || e.type === "oriented-imagery" || e.type === "knowledge-graph")
|
|
198
|
+
t.push(e);
|
|
199
|
+
else if (v(e))
|
|
200
|
+
for (const i of e.sublayers)
|
|
201
|
+
t.push(i);
|
|
202
|
+
}
|
|
203
|
+
return t;
|
|
204
|
+
}
|
|
205
|
+
get selectedTemplate() {
|
|
206
|
+
return this.allTemplates.find((t) => t.id === this.selectedTemplateId);
|
|
207
|
+
}
|
|
208
|
+
get effectiveTemplates() {
|
|
209
|
+
return this.templates.map((t) => ({ ...t, templates: t.templates.filter((e) => this.inclusionFilter(e)) })).filter((t) => t.templates.length > 0);
|
|
210
|
+
}
|
|
211
|
+
get templateList() {
|
|
212
|
+
return this._sortTemplates(this.effectiveTemplates.flatMap((t) => t.templates));
|
|
213
|
+
}
|
|
214
|
+
get allTemplates() {
|
|
215
|
+
return this._sortTemplates(this.templates.flatMap((t) => t.templates));
|
|
216
|
+
}
|
|
217
|
+
inclusionFilter(t) {
|
|
218
|
+
if (this.excludeTables && m(t.layer) || this.applicationFilterFunction?.(t) === !1)
|
|
219
|
+
return !1;
|
|
220
|
+
const e = B(t.layer)?.operations;
|
|
221
|
+
return e?.supportsEditing === !1 && !e?.supportsAdd ? !1 : m(t.layer) ? !0 : !(this.hideTemplatesMode === "visible" && !t.layer.visible || this.hideTemplatesMode === "scale" && !this._layerIsVisibleAtCurrentScale(t.layer));
|
|
222
|
+
}
|
|
223
|
+
get templateSetKey() {
|
|
224
|
+
return this._sortTemplates(this.allTemplates).map((t) => t.id).join(",");
|
|
225
|
+
}
|
|
226
|
+
get disabledTemplates() {
|
|
227
|
+
const t = /* @__PURE__ */ new Set();
|
|
228
|
+
for (const e of this.allTemplates) {
|
|
229
|
+
if (this.applicationDisabledFunction && this.applicationDisabledFunction(e)) {
|
|
230
|
+
t.add(e);
|
|
231
|
+
continue;
|
|
232
|
+
}
|
|
233
|
+
if (!m(e.layer)) {
|
|
234
|
+
if (this.disableTemplatesMode === "visible" && !e.layer.visible) {
|
|
235
|
+
t.add(e);
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
if (this.disableTemplatesMode === "scale" && this.view && !this._layerIsVisibleAtCurrentScale(e.layer)) {
|
|
239
|
+
t.add(e);
|
|
240
|
+
continue;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return t;
|
|
245
|
+
}
|
|
246
|
+
get templates() {
|
|
247
|
+
return this.applicationTemplates ?? this.organizedMapTemplates;
|
|
248
|
+
}
|
|
249
|
+
get organizedMapTemplates() {
|
|
250
|
+
if (this.groupByFunction || this.groupBy === "geometry") {
|
|
251
|
+
const t = !this.groupByFunction, e = this.groupByFunction ?? R, i = /* @__PURE__ */ new Map();
|
|
252
|
+
for (const r of this.mapTemplates ?? [])
|
|
253
|
+
for (const n of r.templates) {
|
|
254
|
+
const p = new u({ template: n, layer: r.layer }), c = e(p);
|
|
255
|
+
if (c != null)
|
|
256
|
+
if (i.has(c))
|
|
257
|
+
i.get(c)?.templates.push(p);
|
|
258
|
+
else {
|
|
259
|
+
const d = {
|
|
260
|
+
sectionName: c,
|
|
261
|
+
...t ? { autoTranslate: !0 } : {},
|
|
262
|
+
templates: [p]
|
|
263
|
+
};
|
|
264
|
+
i.set(c, d);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
return this._sortSections(Array.from(i.values()));
|
|
268
|
+
}
|
|
269
|
+
return this._sortSections(
|
|
270
|
+
(this.mapTemplates ?? []).map(({ layer: t, templates: e }) => ({
|
|
271
|
+
sectionName: t.title ?? "",
|
|
272
|
+
templates: e.map((i) => new u({ layer: t, template: i }))
|
|
273
|
+
})).filter((t) => t.templates.length > 0)
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
get updating() {
|
|
277
|
+
return this.fetchingTemplateMetaData;
|
|
278
|
+
}
|
|
279
|
+
get favoriteTemplates() {
|
|
280
|
+
const t = [];
|
|
281
|
+
for (const e of this.effectiveTemplates)
|
|
282
|
+
for (const i of e.templates)
|
|
283
|
+
this.favorites.has(i.id) && t.push(i);
|
|
284
|
+
return t;
|
|
285
|
+
}
|
|
286
|
+
get recentTemplates() {
|
|
287
|
+
const t = /* @__PURE__ */ new Map();
|
|
288
|
+
for (const i of this.effectiveTemplates)
|
|
289
|
+
for (const r of i.templates)
|
|
290
|
+
t.set(r.id, r);
|
|
291
|
+
const e = [];
|
|
292
|
+
for (const i of this.recentlyUsed)
|
|
293
|
+
t.has(i) && e.push(t.get(i));
|
|
294
|
+
return e;
|
|
295
|
+
}
|
|
296
|
+
//#endregion
|
|
297
|
+
};
|
|
298
|
+
a([
|
|
299
|
+
l()
|
|
300
|
+
], s.prototype, "loading", 1);
|
|
301
|
+
a([
|
|
302
|
+
l()
|
|
303
|
+
], s.prototype, "_hasRunInitialLoad", 2);
|
|
304
|
+
a([
|
|
305
|
+
l()
|
|
306
|
+
], s.prototype, "activeLayers", 1);
|
|
307
|
+
a([
|
|
308
|
+
l()
|
|
309
|
+
], s.prototype, "favoritesEnabled", 2);
|
|
310
|
+
a([
|
|
311
|
+
l()
|
|
312
|
+
], s.prototype, "recentlyUsedEnabled", 2);
|
|
313
|
+
a([
|
|
314
|
+
l()
|
|
315
|
+
], s.prototype, "hideTemplateDescription", 2);
|
|
316
|
+
a([
|
|
317
|
+
l()
|
|
318
|
+
], s.prototype, "filterText", 2);
|
|
319
|
+
a([
|
|
320
|
+
l()
|
|
321
|
+
], s.prototype, "recentFilterText", 2);
|
|
322
|
+
a([
|
|
323
|
+
l()
|
|
324
|
+
], s.prototype, "favoritesFilterText", 2);
|
|
325
|
+
a([
|
|
326
|
+
l()
|
|
327
|
+
], s.prototype, "selectedTemplateId", 2);
|
|
328
|
+
a([
|
|
329
|
+
l()
|
|
330
|
+
], s.prototype, "selectedTemplate", 1);
|
|
331
|
+
a([
|
|
332
|
+
l()
|
|
333
|
+
], s.prototype, "layers", 2);
|
|
334
|
+
a([
|
|
335
|
+
l()
|
|
336
|
+
], s.prototype, "restoreFavorites", 2);
|
|
337
|
+
a([
|
|
338
|
+
l()
|
|
339
|
+
], s.prototype, "restoreRecentlyUsed", 2);
|
|
340
|
+
a([
|
|
341
|
+
l()
|
|
342
|
+
], s.prototype, "applicationDisabledFunction", 2);
|
|
343
|
+
a([
|
|
344
|
+
l()
|
|
345
|
+
], s.prototype, "applicationFilterFunction", 2);
|
|
346
|
+
a([
|
|
347
|
+
l()
|
|
348
|
+
], s.prototype, "display", 2);
|
|
349
|
+
a([
|
|
350
|
+
l()
|
|
351
|
+
], s.prototype, "groupBy", 2);
|
|
352
|
+
a([
|
|
353
|
+
l()
|
|
354
|
+
], s.prototype, "hideTemplatesMode", 2);
|
|
355
|
+
a([
|
|
356
|
+
l()
|
|
357
|
+
], s.prototype, "disableTemplatesMode", 2);
|
|
358
|
+
a([
|
|
359
|
+
l()
|
|
360
|
+
], s.prototype, "groupByFunction", 2);
|
|
361
|
+
a([
|
|
362
|
+
l()
|
|
363
|
+
], s.prototype, "sectionSortBy", 2);
|
|
364
|
+
a([
|
|
365
|
+
l()
|
|
366
|
+
], s.prototype, "templateSortBy", 2);
|
|
367
|
+
a([
|
|
368
|
+
l()
|
|
369
|
+
], s.prototype, "sectionSortByFunction", 2);
|
|
370
|
+
a([
|
|
371
|
+
l()
|
|
372
|
+
], s.prototype, "templateSortByFunction", 2);
|
|
373
|
+
a([
|
|
374
|
+
l()
|
|
375
|
+
], s.prototype, "sharedTemplatesDisabled", 2);
|
|
376
|
+
a([
|
|
377
|
+
l()
|
|
378
|
+
], s.prototype, "excludeTables", 2);
|
|
379
|
+
a([
|
|
380
|
+
l()
|
|
381
|
+
], s.prototype, "favorites", 2);
|
|
382
|
+
a([
|
|
383
|
+
l()
|
|
384
|
+
], s.prototype, "effectiveTemplates", 1);
|
|
385
|
+
a([
|
|
386
|
+
l()
|
|
387
|
+
], s.prototype, "templateList", 1);
|
|
388
|
+
a([
|
|
389
|
+
l()
|
|
390
|
+
], s.prototype, "allTemplates", 1);
|
|
391
|
+
a([
|
|
392
|
+
l()
|
|
393
|
+
], s.prototype, "templateSetKey", 1);
|
|
394
|
+
a([
|
|
395
|
+
l()
|
|
396
|
+
], s.prototype, "disabledTemplates", 1);
|
|
397
|
+
a([
|
|
398
|
+
l()
|
|
399
|
+
], s.prototype, "templates", 1);
|
|
400
|
+
a([
|
|
401
|
+
l()
|
|
402
|
+
], s.prototype, "mapTemplates", 2);
|
|
403
|
+
a([
|
|
404
|
+
l()
|
|
405
|
+
], s.prototype, "organizedMapTemplates", 1);
|
|
406
|
+
a([
|
|
407
|
+
l()
|
|
408
|
+
], s.prototype, "fetchingTemplateMetaData", 2);
|
|
409
|
+
a([
|
|
410
|
+
l()
|
|
411
|
+
], s.prototype, "updating", 1);
|
|
412
|
+
a([
|
|
413
|
+
l()
|
|
414
|
+
], s.prototype, "applicationTemplates", 2);
|
|
415
|
+
a([
|
|
416
|
+
l()
|
|
417
|
+
], s.prototype, "favoriteTemplates", 1);
|
|
418
|
+
a([
|
|
419
|
+
l()
|
|
420
|
+
], s.prototype, "recentTemplates", 1);
|
|
421
|
+
a([
|
|
422
|
+
l()
|
|
423
|
+
], s.prototype, "recentlyUsed", 2);
|
|
424
|
+
a([
|
|
425
|
+
l()
|
|
426
|
+
], s.prototype, "view", 2);
|
|
427
|
+
s = a([
|
|
428
|
+
S("components.feature-templates.FeatureTemplatesViewModel")
|
|
429
|
+
], s);
|
|
430
|
+
const A = M(s);
|
|
431
|
+
class P extends b {
|
|
432
|
+
constructor() {
|
|
433
|
+
super(...arguments), this._messages = w(), this.viewModel = A(this), this.favoritesEnabled = this.viewModel.favoritesEnabled, this.favorites = this.viewModel.favorites, this.restoreFavorites = this.viewModel.restoreFavorites, this.restoreRecentlyUsed = this.viewModel.restoreRecentlyUsed, this.recentlyUsed = this.viewModel.recentlyUsed, this.sharedTemplatesDisabled = this.viewModel.sharedTemplatesDisabled, this.filterText = this.viewModel.filterText, this.recentFilterText = this.viewModel.recentFilterText, this.favoritesFilterText = this.viewModel.favoritesFilterText, this.recentlyUsedEnabled = this.viewModel.recentlyUsedEnabled, this.excludeTables = this.viewModel.excludeTables, this.effectiveTemplates = this.viewModel.effectiveTemplates, this.applicationTemplates = this.viewModel.applicationTemplates, this.selectedTemplateId = this.viewModel.selectedTemplateId, this.selectedTemplate = this.viewModel.selectedTemplate, this.applicationFilterFunction = this.viewModel.applicationFilterFunction, this.applicationDisabledFunction = this.viewModel.applicationDisabledFunction, this.display = this.viewModel.display, this.groupBy = this.viewModel.groupBy, this.sectionSortBy = this.viewModel.sectionSortBy, this.templateSortBy = this.viewModel.templateSortBy, this.templateSortByFunction = this.viewModel.templateSortByFunction, this.sectionSortByFunction = this.viewModel.sectionSortByFunction, this.hideTemplatesMode = this.viewModel.hideTemplatesMode, this.disableTemplatesMode = this.viewModel.disableTemplatesMode, this.groupByFunction = this.viewModel.groupByFunction, this.hideTemplateDescription = this.viewModel.hideTemplateDescription, this.layers = this.viewModel.layers, this.view = F(this), this.autoDestroyDisabled = !1, this.updating = this.viewModel.updating, this.disabled = !1, this.showCollapseButton = !1, this.showFilter = !1, this.arcgisPropertyChange = D()("effectiveTemplates", "filterText", "recentlyUsed", "favorites"), this.arcgisReady = h(), this.arcgisTemplatesChanged = h(), this.arcgisSelectTemplate = h();
|
|
434
|
+
}
|
|
435
|
+
static {
|
|
436
|
+
this.properties = { favoritesEnabled: 5, favorites: 32, restoreFavorites: 0, restoreRecentlyUsed: 0, recentlyUsed: 32, sharedTemplatesDisabled: 5, filterText: 1, recentFilterText: 1, favoritesFilterText: 1, recentlyUsedEnabled: 5, excludeTables: 5, effectiveTemplates: 32, applicationTemplates: 0, selectedTemplateId: 1, selectedTemplate: 32, applicationFilterFunction: 0, applicationDisabledFunction: 0, display: 1, groupBy: 1, sectionSortBy: 1, templateSortBy: 1, templateSortByFunction: 0, sectionSortByFunction: 0, hideTemplatesMode: 1, disableTemplatesMode: 1, groupByFunction: 0, hideTemplateDescription: 5, layers: 0, view: 0, referenceElement: 1, autoDestroyDisabled: 5, updating: 32, disabled: 5, showCollapseButton: 5, showFilter: 5 };
|
|
437
|
+
}
|
|
438
|
+
static {
|
|
439
|
+
this.styles = E;
|
|
440
|
+
}
|
|
441
|
+
async destroy() {
|
|
442
|
+
await this.manager.destroy();
|
|
443
|
+
}
|
|
444
|
+
loaded() {
|
|
445
|
+
this.manager.onLifecycle(() => [
|
|
446
|
+
// Ensure the view is always mapped to the viewmodel
|
|
447
|
+
f(() => this.view, () => {
|
|
448
|
+
this.viewModel.view = this.view;
|
|
449
|
+
}, { initial: !0 }),
|
|
450
|
+
f(() => this.viewModel.templateSetKey, () => {
|
|
451
|
+
this.arcgisTemplatesChanged.emit();
|
|
452
|
+
}),
|
|
453
|
+
// Watch if the list of active layers changes. This will trigger a reload
|
|
454
|
+
f(() => [
|
|
455
|
+
this.viewModel.activeLayers?.map((e) => e.id).join(","),
|
|
456
|
+
this.viewModel?.applicationTemplates,
|
|
457
|
+
this.viewModel?.sharedTemplatesDisabled
|
|
458
|
+
], L(() => (
|
|
459
|
+
// Trigger refetching of templates
|
|
460
|
+
this.viewModel.handleTemplateSourceDefinitionChanged()
|
|
461
|
+
), 10), { initial: !0 })
|
|
462
|
+
]);
|
|
463
|
+
}
|
|
464
|
+
_handleSelectTemplate(e) {
|
|
465
|
+
this.selectedTemplateId = e.id, this.arcgisSelectTemplate.emit({ template: e }), this.viewModel.addRecent(e);
|
|
466
|
+
}
|
|
467
|
+
_removeTemplateFromList(e, i) {
|
|
468
|
+
if (i === "favorites") {
|
|
469
|
+
this.viewModel.removeFavorite(e);
|
|
470
|
+
return;
|
|
471
|
+
}
|
|
472
|
+
this.viewModel.removeRecent(e);
|
|
473
|
+
}
|
|
474
|
+
_renderTemplates() {
|
|
475
|
+
return this.effectiveTemplates.length === 0 ? o`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${this._messages.noTemplates}</div></calcite-notice>` : o`<calcite-list .filterPlaceholder=${this._messages.filterPlaceholder ?? ""} .filterText=${this.filterText} .label=${this._messages?.templates ?? ""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${(e) => {
|
|
476
|
+
this.filterText = e.target.filterText;
|
|
477
|
+
}}>${this.display === "grouped" ? this.effectiveTemplates.map((e) => o`<calcite-list-item-group .heading=${e.autoTranslate ? this._messages[e.sectionName] ?? "" : e.sectionName}>${e.templates.map((i) => o`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(i)} .label=${i.label} .selected=${i.id === this.selectedTemplateId} .description=${this.hideTemplateDescription ? void 0 : i.description} .value=${i.id} @calciteListItemSelect=${() => {
|
|
478
|
+
this._handleSelectTemplate(i);
|
|
479
|
+
}}><arcgis-template-image slot=content-start .template=${i}></arcgis-template-image>${this._renderAddFavorite(i)}</calcite-list-item>`)}</calcite-list-item-group>`) : this.viewModel.templateList.map((e) => o`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(e)} .label=${e.label} .selected=${e.id === this.selectedTemplateId} .description=${this.hideTemplateDescription ? void 0 : e.description} .value=${e.id} @calciteListItemSelect=${() => {
|
|
480
|
+
this._handleSelectTemplate(e);
|
|
481
|
+
}}><arcgis-template-image slot=content-start .template=${e}></arcgis-template-image>${this._renderAddFavorite(e)}</calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`;
|
|
482
|
+
}
|
|
483
|
+
_renderAddFavorite(e) {
|
|
484
|
+
return this.viewModel.favoritesEnabled ? o`<calcite-action slot=actions-end .icon=${this.viewModel.favorites.has(e.id) ? "heart-f" : "heart"} @click=${() => {
|
|
485
|
+
this.viewModel.favorites.has(e.id) ? this.viewModel.removeFavorite(e) : this.viewModel.addFavorite(e);
|
|
486
|
+
}} .text=${this._messages.addFavorite ?? ""}></calcite-action>` : "";
|
|
487
|
+
}
|
|
488
|
+
_renderList(e) {
|
|
489
|
+
const i = e === "favorites" ? this.viewModel.favoriteTemplates : this.viewModel.recentTemplates;
|
|
490
|
+
return i.length === 0 ? o`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${e === "favorites" ? this._messages.noFavorites : this._messages.noRecent}</div></calcite-notice>` : o`<calcite-list .filterText=${e === "favorites" ? this.favoritesFilterText : this.recentFilterText} .filterPlaceholder=${this._messages.filterPlaceholder ?? ""} .label=${(e === "favorites" ? this._messages.favorites : this._messages.recent) ?? ""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${(r) => {
|
|
491
|
+
this.filterText = r.target.filterText;
|
|
492
|
+
}}>${i.map((r) => o`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(r)} .label=${r.label} .description=${this.hideTemplateDescription ? void 0 : r.description} .value=${r.id} @calciteListItemSelect=${() => {
|
|
493
|
+
this._handleSelectTemplate(r);
|
|
494
|
+
}}><arcgis-template-image slot=content-start .template=${r}></arcgis-template-image><calcite-action slot=actions-end icon=x @click=${() => {
|
|
495
|
+
this._removeTemplateFromList(r, e);
|
|
496
|
+
}} .text=${(e === "favorites" ? this._messages.removeFavorite : this._messages.removeRecent) ?? ""}></calcite-action></calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`;
|
|
497
|
+
}
|
|
498
|
+
_renderFilteredEmpty() {
|
|
499
|
+
return o`<calcite-notice icon=filter slot=filter-no-results open class="filter-no-results"><div slot=message>${this._messages.noMatchingTemplates}</div></calcite-notice>`;
|
|
500
|
+
}
|
|
501
|
+
_renderContent() {
|
|
502
|
+
return this.effectiveTemplates.length === 0 && this.viewModel.loading ? null : this.favoritesEnabled || this.recentlyUsedEnabled ? o`<calcite-tabs class="feature-template-tabs"><calcite-tab-nav slot=title-group><calcite-tab-title icon-start=templates selected>${this._messages.templates}</calcite-tab-title>${this.recentlyUsedEnabled ? o`<calcite-tab-title icon-start=clock>${this._messages.recent}</calcite-tab-title>` : ""}${this.favoritesEnabled ? o`<calcite-tab-title icon-start=heart>${this._messages.favorites}</calcite-tab-title>` : ""}</calcite-tab-nav><calcite-tab selected>${this._renderTemplates()}</calcite-tab><calcite-tab>${this._renderList("recent")}</calcite-tab><calcite-tab>${this._renderList("favorites")}</calcite-tab></calcite-tabs>` : this._renderTemplates();
|
|
503
|
+
}
|
|
504
|
+
render() {
|
|
505
|
+
return o`<div class="root">${this._renderContent()}${this.viewModel.updating || this.disabled ? o`<calcite-scrim><calcite-loader scale=s label .hidden=${!this.viewModel.updating}></calcite-loader></calcite-scrim>` : null}</div>`;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
T("arcgis-feature-templates", P);
|
|
509
|
+
export {
|
|
510
|
+
P as ArcgisFeatureTemplates
|
|
511
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-list-item-group";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
import "../arcgis-template-image/index.js";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-tabs";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-tab-nav";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-tab-title";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-tab";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
13
|
+
export * from "./customElement.js";
|
|
@@ -493,6 +493,8 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
493
493
|
* no pending promises, the value is `null`. When the pending promises are
|
|
494
494
|
* resolved they are removed from this array and the features they return
|
|
495
495
|
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
|
|
496
|
+
*
|
|
497
|
+
* @deprecated since 5.1.
|
|
496
498
|
*/
|
|
497
499
|
accessor promises: Array<Promise<Array<Graphic>>>;
|
|
498
500
|
/**
|
|
@@ -576,7 +578,6 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
576
578
|
* - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
|
|
577
579
|
* - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
|
|
578
580
|
* Alternatively, set the [timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#timeZone) property.
|
|
579
|
-
* - Using the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures) method or the `fetchFeatures` option in the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open) method.
|
|
580
581
|
* - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) property to `true` to remove this default action.
|
|
581
582
|
*
|
|
582
583
|
* @since 4.34
|
|
@@ -599,25 +600,11 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
599
600
|
/**
|
|
600
601
|
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the location based on the input event's screen coordinates.
|
|
601
602
|
*
|
|
603
|
+
* @deprecated since 5.1. Use the `fetchPopupFeatures` method on the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#fetchPopupFeatures), or [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#fetchPopupFeatures) component to fetch features based on a screen location.
|
|
602
604
|
* @param screenPoint
|
|
603
605
|
* @param options
|
|
606
|
+
* @deprecated
|
|
604
607
|
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open)
|
|
605
|
-
* @example
|
|
606
|
-
* ```js
|
|
607
|
-
* const viewElement = document.querySelector("arcgis-map");
|
|
608
|
-
* // Get viewElement's click event
|
|
609
|
-
* reactiveUtils.on(()=>viewElement, "arcgisViewClick", async (event)=>{
|
|
610
|
-
* // Call fetchFeatures on the component and pass in the click event detail
|
|
611
|
-
* await component.fetchFeatures(event.detail);
|
|
612
|
-
* });
|
|
613
|
-
* // Watch for changes to the features property and open the component when features are available.
|
|
614
|
-
* reactiveUtils.watch(
|
|
615
|
-
* () => component.features,
|
|
616
|
-
* () => {
|
|
617
|
-
* component.open = component.features ? true : false;
|
|
618
|
-
* },
|
|
619
|
-
* );
|
|
620
|
-
* ```
|
|
621
608
|
*/
|
|
622
609
|
fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
|
|
623
610
|
/**
|
|
@@ -159,6 +159,14 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
159
159
|
* @default 20
|
|
160
160
|
*/
|
|
161
161
|
accessor featuresPerPage: number;
|
|
162
|
+
/**
|
|
163
|
+
* When `true`, the component will trap focus when opened.
|
|
164
|
+
* This ensures that keyboard navigation is contained within the component when it opens.
|
|
165
|
+
*
|
|
166
|
+
* @default false
|
|
167
|
+
* @since 5.1
|
|
168
|
+
*/
|
|
169
|
+
accessor focusTrapEnabled: boolean;
|
|
162
170
|
/**
|
|
163
171
|
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
164
172
|
*
|