@arcgis/map-components 5.1.0-next.104 → 5.1.0-next.107
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/{VCOJNSMR.js → 22EHINJ6.js} +1 -1
- package/dist/cdn/22XK6OWI.js +2 -0
- package/dist/cdn/{DDGMFJPF.js → 2AJPRLPG.js} +1 -1
- package/dist/cdn/{UZY4KUCA.js → 2B32BS3N.js} +1 -1
- package/dist/cdn/{QZVEBQEO.js → 2FEX7FAZ.js} +1 -1
- package/dist/cdn/{KDVGMEXC.js → 2NCN7SVY.js} +1 -1
- package/dist/cdn/{TZ5P64J7.js → 2SZ3WJGX.js} +1 -1
- package/dist/cdn/{YKZWVFIT.js → 2VG7LVCD.js} +1 -1
- package/dist/cdn/{XIYJ5JNR.js → 2W2B6UCH.js} +1 -1
- package/dist/cdn/{7YEXZHW3.js → 2XH6PDNZ.js} +1 -1
- package/dist/cdn/{7Z4UURLS.js → 35GLDN32.js} +1 -1
- package/dist/cdn/{MQSMJ752.js → 35MUWKRF.js} +1 -1
- package/dist/cdn/{B5E5IELI.js → 3CRPDGKR.js} +1 -1
- package/dist/cdn/{VS7S2XSU.js → 3TGXFEAO.js} +1 -1
- package/dist/cdn/{JRFXSXZO.js → 4C4DRKA5.js} +1 -1
- package/dist/cdn/{M25IKQAK.js → 4IQZ7YKM.js} +1 -1
- package/dist/cdn/{2XA5VKFB.js → 4TNQAYN7.js} +1 -1
- package/dist/cdn/{C7GD2VM7.js → 4UFESOBA.js} +1 -1
- package/dist/cdn/{67FDS54S.js → 4ZGRNFX6.js} +1 -1
- package/dist/cdn/{XI5FYKAQ.js → 5BQOO23Z.js} +1 -1
- package/dist/cdn/{4KRKSVWF.js → 5H2D2FEP.js} +1 -1
- package/dist/cdn/{BLPEMTBM.js → 5K745NP2.js} +1 -1
- package/dist/cdn/{MTLZ6DUG.js → 5NXHZR7R.js} +1 -1
- package/dist/cdn/{7EUCUK6E.js → 5TR5VXFA.js} +1 -1
- package/dist/cdn/{XQUM3DDR.js → 5WRH6CCB.js} +1 -1
- package/dist/cdn/{KNY3MXYR.js → 63IRZGDD.js} +1 -1
- package/dist/cdn/{GJBXXJEX.js → 63MBM4HS.js} +1 -1
- package/dist/cdn/{6NSYCKDQ.js → 6BLVM6AJ.js} +1 -1
- package/dist/cdn/{RTMPZHFG.js → 6FNGCBCG.js} +1 -1
- package/dist/cdn/{4OATMH6T.js → 6KMHCO4F.js} +1 -1
- package/dist/cdn/{OEMGOAKL.js → 6N2BSX65.js} +1 -1
- package/dist/cdn/{Z7RQODIW.js → 6PA4PJUA.js} +1 -1
- package/dist/cdn/{GJEVQI2U.js → 6Z7KLXBW.js} +1 -1
- package/dist/cdn/{HZS6FWGW.js → 77D3QVM3.js} +1 -1
- package/dist/cdn/7B2KRFVN.js +2 -0
- package/dist/cdn/{TQA6ARSR.js → 7C32A3BK.js} +1 -1
- package/dist/cdn/{NC7KDVFD.js → 7CENB7GZ.js} +1 -1
- package/dist/cdn/{BPXRWL4P.js → 7E62VO5W.js} +1 -1
- package/dist/cdn/7LJ2L4R2.js +2 -0
- package/dist/cdn/{N7WQSWA6.js → 7LTXXXEL.js} +1 -1
- package/dist/cdn/{22J5VDJZ.js → 7OJMEGF6.js} +1 -1
- package/dist/cdn/{S7EK2RYF.js → 7QFK7SAA.js} +1 -1
- package/dist/cdn/{R4PMUTJU.js → 7SSL5FEN.js} +1 -1
- package/dist/cdn/{XNU5CZ5E.js → 7YLS4UPC.js} +1 -1
- package/dist/cdn/{FSJA2U5J.js → AAS5G7SF.js} +1 -1
- package/dist/cdn/AG3IGPKA.js +2 -0
- package/dist/cdn/{IPNECELZ.js → AG4PHJDU.js} +1 -1
- package/dist/cdn/{SULA6AYT.js → AJU5I33F.js} +1 -1
- package/dist/cdn/{TZJIGYA5.js → AJW3H57I.js} +1 -1
- package/dist/cdn/AP5KCMFI.js +2 -0
- package/dist/cdn/{EB5D4MAZ.js → AWPHNA34.js} +1 -1
- package/dist/cdn/{7XOYRHT7.js → B64OEPE6.js} +1 -1
- package/dist/cdn/{3F3KQBNH.js → BAGJSTM5.js} +1 -1
- package/dist/cdn/{JV2QO2SP.js → BBMSFQ7P.js} +1 -1
- package/dist/cdn/{5FHYTVXJ.js → BBSA3HJF.js} +1 -1
- package/dist/cdn/{Q3CT3SAK.js → BFIGCUPC.js} +1 -1
- package/dist/cdn/{7MG2HVHJ.js → BFIPCOC4.js} +1 -1
- package/dist/cdn/{Z26BVI2A.js → BJRSU6ZM.js} +1 -1
- package/dist/cdn/{DHDTAYWB.js → BLETIM2F.js} +1 -1
- package/dist/cdn/BREMJFSW.js +2 -0
- package/dist/cdn/{S36YQI7W.js → BRX2TSCS.js} +1 -1
- package/dist/cdn/{AU5Y2WFE.js → BTNROQSF.js} +1 -1
- package/dist/cdn/{IT7L4W6Y.js → BWHNSIY3.js} +1 -1
- package/dist/cdn/{7XP2BIXW.js → CAHAW2AM.js} +1 -1
- package/dist/cdn/{MXXKVA3L.js → CDAVRSOJ.js} +1 -1
- package/dist/cdn/CGPDVRVA.js +2 -0
- package/dist/cdn/{QIYQHCGN.js → COKJF3EH.js} +1 -1
- package/dist/cdn/{CDNHMAUM.js → CUSB5Q24.js} +1 -1
- package/dist/cdn/{DWWDCRDK.js → DFRRQWPQ.js} +1 -1
- package/dist/cdn/DFUIUXWM.js +2 -0
- package/dist/cdn/{MRRU6ZCT.js → DXJGJIPP.js} +1 -1
- package/dist/cdn/{M4OB3GV3.js → E2WOHIT4.js} +1 -1
- package/dist/cdn/{ZDOE5UWP.js → E3V3VK77.js} +1 -1
- package/dist/cdn/{EUCDUR2W.js → EHR4VXEG.js} +1 -1
- package/dist/cdn/{273FDZCS.js → EKO2QPHF.js} +1 -1
- package/dist/cdn/{WZGAHVXI.js → EKOP2FPI.js} +1 -1
- package/dist/cdn/{LIKBJZXA.js → F5J3SZUX.js} +1 -1
- package/dist/cdn/F62OZOHL.js +2 -0
- package/dist/cdn/{EPO62377.js → FAECSPBC.js} +1 -1
- package/dist/cdn/{BWA2UVP2.js → FGQWP4JO.js} +1 -1
- package/dist/cdn/{MTKZBIHD.js → FKJWY2PS.js} +2 -2
- package/dist/cdn/{SK5OGXKV.js → FOW4N2SJ.js} +1 -1
- package/dist/cdn/{JAXUWUHS.js → FPUBHBVG.js} +1 -1
- package/dist/cdn/{W6Q2SLIS.js → G3EGZLN3.js} +1 -1
- package/dist/cdn/{AEGMONLR.js → GHXPEWKH.js} +1 -1
- package/dist/cdn/{HMWOHSHV.js → GI5SSBWA.js} +1 -1
- package/dist/cdn/{T2RNAPRO.js → GIFKI4P4.js} +1 -1
- package/dist/cdn/{EZKQ32UE.js → GKDRPOLL.js} +1 -1
- package/dist/cdn/{TGNR3DAP.js → GMFJ55C3.js} +1 -1
- package/dist/cdn/{LDOE7T7F.js → GQTLJGQ6.js} +1 -1
- package/dist/cdn/{64QHDCUF.js → GQVWO6YT.js} +1 -1
- package/dist/cdn/{XRYAQCBG.js → GSEGRE5A.js} +1 -1
- package/dist/cdn/{L4VYWSIR.js → H4OT64AB.js} +1 -1
- package/dist/cdn/{CXPIQET3.js → HCPH66IR.js} +1 -1
- package/dist/cdn/{Z7SJ6AO7.js → HDB5PLOI.js} +1 -1
- package/dist/cdn/{6OWWUSS7.js → I6KMMQ5H.js} +1 -1
- package/dist/cdn/{QL46G5FB.js → IEIYU5FT.js} +1 -1
- package/dist/cdn/{S35VRA2Q.js → IKDYM2LY.js} +1 -1
- package/dist/cdn/{NWLO4YJB.js → IMDZ24LN.js} +1 -1
- package/dist/cdn/{E5WLOLQF.js → IV6YP3QH.js} +1 -1
- package/dist/cdn/{OCLLMQGL.js → J26EKNWT.js} +1 -1
- package/dist/cdn/{UP3AGLUN.js → J67C2CPB.js} +1 -1
- package/dist/cdn/{4LMLSKXT.js → JA7RPLTP.js} +2 -2
- package/dist/cdn/{AQL3HNTJ.js → JHWVXE5N.js} +1 -1
- package/dist/cdn/{E26XTJ3J.js → JRO53TBV.js} +1 -1
- package/dist/cdn/{YTE4UNSA.js → JVXWX2VG.js} +1 -1
- package/dist/cdn/{ZOPB777S.js → JYVV3JI3.js} +1 -1
- package/dist/cdn/{33KK4LP7.js → JYYU6CK2.js} +1 -1
- package/dist/cdn/{TTVGFF4P.js → KOBC25QZ.js} +1 -1
- package/dist/cdn/{C5RCUSYN.js → KVWS7HLA.js} +1 -1
- package/dist/cdn/{B2COUWK5.js → LHYZ6RHA.js} +1 -1
- package/dist/cdn/{EHEUO5SV.js → LXJDDYNY.js} +1 -1
- package/dist/cdn/{GA25H7TO.js → M35DILXG.js} +1 -1
- package/dist/cdn/{6SLFSRO3.js → MIMBF65F.js} +1 -1
- package/dist/cdn/{SNDZKJDW.js → N22FA6RM.js} +1 -1
- package/dist/cdn/{RWBGPFTB.js → NA76FGKR.js} +1 -1
- package/dist/cdn/{TNDRCMN3.js → NHBQXARI.js} +1 -1
- package/dist/cdn/{Z4ZJOKKX.js → NHFSD3XX.js} +1 -1
- package/dist/cdn/{ZVYG4LKK.js → NHJ3PDXY.js} +1 -1
- package/dist/cdn/{GFXNIWNG.js → NIIEN7QF.js} +1 -1
- package/dist/cdn/{4P5SOHAK.js → NLF3OSMK.js} +1 -1
- package/dist/cdn/{6LADJTTX.js → NRM7WVKU.js} +1 -1
- package/dist/cdn/{TXX46EIE.js → NW32PW4D.js} +1 -1
- package/dist/cdn/{3LEEPP2H.js → NWAAG2VT.js} +1 -1
- package/dist/cdn/{Z5RIW77H.js → O2ECQYMW.js} +1 -1
- package/dist/cdn/{UNFS72TS.js → O3RAM64Y.js} +1 -1
- package/dist/cdn/{S7MJPT67.js → O766XVKR.js} +1 -1
- package/dist/cdn/{G2AWBB3W.js → OCMGQ4AF.js} +1 -1
- package/dist/cdn/{AJ7GYM4O.js → OJX2G6SB.js} +1 -1
- package/dist/cdn/PARVLXOV.js +2 -0
- package/dist/cdn/{YGYGCNWI.js → PCNY2DM3.js} +1 -1
- package/dist/cdn/{7QIIFQFB.js → PITKKVQC.js} +1 -1
- package/dist/cdn/{UZIWAJUS.js → PKJFYEJ5.js} +1 -1
- package/dist/cdn/PLZXMKTU.js +2 -0
- package/dist/cdn/Q3JMDZLP.js +2 -0
- package/dist/cdn/{6QUBJ7E2.js → Q7BHUMEZ.js} +1 -1
- package/dist/cdn/{JQVJUBK3.js → QKL3NW53.js} +1 -1
- package/dist/cdn/{GBHDATFS.js → QMNT6ZOV.js} +1 -1
- package/dist/cdn/{7XLOYU6B.js → QO2BKR7Z.js} +1 -1
- package/dist/cdn/{UISXZIUL.js → QTLTAHKM.js} +1 -1
- package/dist/cdn/{LFFZNI4J.js → QVVNZ55K.js} +1 -1
- package/dist/cdn/{KD54LCQO.js → QWE4KYFW.js} +1 -1
- package/dist/cdn/{5F4QQFMV.js → QXR2ECUC.js} +1 -1
- package/dist/cdn/QYD5H5D2.js +2 -0
- package/dist/cdn/{G4CNNMC7.js → QZDMKH63.js} +1 -1
- package/dist/cdn/{CIFVM6AU.js → R2NTRI4S.js} +1 -1
- package/dist/cdn/{Z7OT5CZM.js → R45DWBFZ.js} +1 -1
- package/dist/cdn/{JRCHFREE.js → R4VSDUYE.js} +1 -1
- package/dist/cdn/{I7HKS77T.js → R6JH26DC.js} +1 -1
- package/dist/cdn/R6YTS64N.js +2 -0
- package/dist/cdn/{JHRGEQOM.js → RA743EAU.js} +1 -1
- package/dist/cdn/RED6TO3K.js +2 -0
- package/dist/cdn/{KUURJZ7F.js → RSP2IHLD.js} +1 -1
- package/dist/cdn/{GGX2U62R.js → RV2HDCTB.js} +1 -1
- package/dist/cdn/{IXPKHDYQ.js → RZRYRMCH.js} +1 -1
- package/dist/cdn/{5CVCIDET.js → S2FU55BL.js} +1 -1
- package/dist/cdn/{OD3DBBUP.js → S6AILN4S.js} +1 -1
- package/dist/cdn/{UW5RUFDI.js → S7KJ6UHZ.js} +1 -1
- package/dist/cdn/{ICIX7OQK.js → S7QKAC74.js} +1 -1
- package/dist/cdn/{42YT33SI.js → SAK32CLY.js} +1 -1
- package/dist/cdn/{L62UQYTW.js → SDGXT6FJ.js} +1 -1
- package/dist/cdn/{37ET5N3U.js → SM3WAOS7.js} +1 -1
- package/dist/cdn/{GRVVSZWB.js → SNOTVPX5.js} +1 -1
- package/dist/cdn/{IDOO4DBA.js → SOPDMCGS.js} +1 -1
- package/dist/cdn/{MLD4FBFB.js → SSJ4KCCP.js} +1 -1
- package/dist/cdn/{UCPJMQPU.js → SX2P3ZNL.js} +1 -1
- package/dist/cdn/{YHUPCIHU.js → TECHWIP5.js} +1 -1
- package/dist/cdn/{D4ATYXZL.js → THQ4KH2D.js} +1 -1
- package/dist/cdn/{PO4N3MEU.js → TIBPAW3D.js} +1 -1
- package/dist/cdn/{L7LBVNZQ.js → TNZZL4I4.js} +1 -1
- package/dist/cdn/TTEZBXUT.js +2 -0
- package/dist/cdn/{GAWULXAQ.js → TWE422S7.js} +1 -1
- package/dist/cdn/{HMQPOXIG.js → U6XX6KJB.js} +1 -1
- package/dist/cdn/{OU6CKOXX.js → U76ZHI24.js} +1 -1
- package/dist/cdn/{5A2T35G4.js → UCSX7UDB.js} +1 -1
- package/dist/cdn/{E72KULK2.js → UFZGZY4Y.js} +1 -1
- package/dist/cdn/{MZ5UTKUW.js → UGPLX7NA.js} +1 -1
- package/dist/cdn/{R6HP6YWU.js → UYAGGGZ7.js} +1 -1
- package/dist/cdn/{HYYJAFDF.js → UZSUKGBY.js} +1 -1
- package/dist/cdn/{OXZUHXDI.js → V5UAMNIN.js} +1 -1
- package/dist/cdn/{6YNKUAXV.js → VCAHAHB5.js} +1 -1
- package/dist/cdn/{LNB4R35D.js → VFABMH2Y.js} +1 -1
- package/dist/cdn/VG6UIJ3W.js +2 -0
- package/dist/cdn/{VSZ3LZA2.js → VKBCGGKM.js} +1 -1
- package/dist/cdn/{V2RXBLNO.js → VQIFXIMQ.js} +1 -1
- package/dist/cdn/{CKK5QADX.js → VXR6MKJI.js} +1 -1
- package/dist/cdn/{DUMY7S4D.js → WEP2ECBW.js} +1 -1
- package/dist/cdn/{VDSKVXIQ.js → WUGO4BAF.js} +1 -1
- package/dist/cdn/{B3GUVSOH.js → WYSDWU5P.js} +1 -1
- package/dist/cdn/{BLOFOXUM.js → X3KD5RLS.js} +1 -1
- package/dist/cdn/X3YFIQGW.js +2 -0
- package/dist/cdn/{4BUXOQ5X.js → X5TD4KCW.js} +1 -1
- package/dist/cdn/XD2NCTBH.js +2 -0
- package/dist/cdn/{EXT4OIWZ.js → XDZFCSTG.js} +1 -1
- package/dist/cdn/{YGXWGRVN.js → XK5OIQGH.js} +1 -1
- package/dist/cdn/XVWZZS5G.js +2 -0
- package/dist/cdn/{KELOCYUX.js → XZF45XSL.js} +1 -1
- package/dist/cdn/{ABOTXBSJ.js → Y7X7TMXK.js} +1 -1
- package/dist/cdn/{FKLH5Y2K.js → YDIKH6TZ.js} +1 -1
- package/dist/cdn/{P36R3KMU.js → YIJGXTVW.js} +1 -1
- package/dist/cdn/{EE4OHTHH.js → ZOZ7JLQ5.js} +1 -1
- package/dist/cdn/{ILZF34TP.js → ZVTOXQKI.js} +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/features/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/action-utils.js +37 -23
- package/dist/components/arcgis-aggregated-features/customElement.js +32 -33
- package/dist/components/arcgis-aggregated-features/index.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +2 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -1
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +69 -117
- package/dist/components/arcgis-feature/index.js +0 -1
- package/dist/components/arcgis-feature-next/customElement.d.ts +444 -0
- package/dist/components/arcgis-feature-next/customElement.js +273 -0
- package/dist/components/arcgis-feature-next/index.d.ts +1 -0
- package/dist/components/arcgis-feature-next/index.js +12 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +65 -63
- package/dist/components/arcgis-feature-relationship/index.js +1 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +14 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +18 -15
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +63 -53
- package/dist/components/arcgis-features/customElement.d.ts +28 -52
- package/dist/components/arcgis-features/customElement.js +198 -191
- package/dist/components/arcgis-features/index.js +0 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +678 -0
- package/dist/components/arcgis-features-next/customElement.js +410 -0
- package/dist/components/arcgis-features-next/index.d.ts +1 -0
- package/dist/components/arcgis-features-next/index.js +15 -0
- package/dist/components/arcgis-layer-list-new/customElement.js +30 -35
- package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +28 -27
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.js +44 -45
- package/dist/components/arcgis-popup/index.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-slice/customElement.js +2 -1
- package/dist/components/arcgis-slider-time/customElement.js +87 -82
- package/dist/components/arcgis-spinner/customElement.js +8 -11
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +32 -33
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +47 -47
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +1 -4
- 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 +20 -0
- package/dist/loader.js +8 -6
- package/dist/types/lumina.d.ts +18 -1
- package/dist/types/preact.d.ts +20 -1
- package/dist/types/react.d.ts +22 -1
- package/dist/types/stencil.d.ts +18 -1
- package/package.json +4 -4
- package/dist/cdn/2OCU4DWR.js +0 -2
- package/dist/cdn/37PU5RQF.js +0 -2
- package/dist/cdn/3E67ABXC.js +0 -2
- package/dist/cdn/6J657VEN.js +0 -2
- package/dist/cdn/6U7WM64M.js +0 -2
- package/dist/cdn/AHWGHYPQ.js +0 -2
- package/dist/cdn/AWQHNAWY.js +0 -2
- package/dist/cdn/DTIC27TR.js +0 -2
- package/dist/cdn/FNHPWOUX.js +0 -2
- package/dist/cdn/HVKDLP74.js +0 -2
- package/dist/cdn/HXOSQFMS.js +0 -2
- package/dist/cdn/KASY64TA.js +0 -2
- package/dist/cdn/LTUURA6B.js +0 -2
- package/dist/cdn/OGV2KLWY.js +0 -2
- package/dist/cdn/SKRNQKVO.js +0 -2
- package/dist/cdn/W2QDJLIF.js +0 -2
- package/dist/cdn/WBMQWJPR.js +0 -2
- package/dist/cdn/XIN3BIAA.js +0 -2
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as w, html as r } from "lit";
|
|
4
|
+
import { ref as y } from "lit/directives/ref.js";
|
|
5
|
+
import { u as I } from "../../chunks/useT9n.js";
|
|
6
|
+
import { classes as M } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { usePropertyChange as C } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { m as x } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { LitElement as b, createEvent as F, nothing as _, safeClassMap as L } from "@arcgis/lumina";
|
|
10
|
+
import { substitute as T } from "@arcgis/core/intl.js";
|
|
11
|
+
import { renderingSanitizer as A } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
12
|
+
import { a as R, g as D, c as V, b as k, s as d, i as E, d as B } from "../../chunks/feature-utils.js";
|
|
13
|
+
import N from "@arcgis/core/core/Collection.js";
|
|
14
|
+
import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
|
|
15
|
+
import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
16
|
+
import Z from "@arcgis/core/popup/Feature.js";
|
|
17
|
+
const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(Z);
|
|
18
|
+
class S extends b {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = F();
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.properties = { popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, flowType: 1, viewModel: 0, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
this.styles = z;
|
|
27
|
+
}
|
|
28
|
+
get popupTemplate() {
|
|
29
|
+
return R(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
|
|
30
|
+
}
|
|
31
|
+
get sourceLayer() {
|
|
32
|
+
return D(this.graphic);
|
|
33
|
+
}
|
|
34
|
+
get fieldInfoMap() {
|
|
35
|
+
return V(k(this.popupTemplate), this.sourceLayer);
|
|
36
|
+
}
|
|
37
|
+
get values() {
|
|
38
|
+
return this.graphic?.attributes ?? {};
|
|
39
|
+
}
|
|
40
|
+
get globalValues() {
|
|
41
|
+
return this.viewModel.formattedAttributes?.global ?? {};
|
|
42
|
+
}
|
|
43
|
+
async destroy() {
|
|
44
|
+
this._removeFlowItems(), await this.manager.destroy();
|
|
45
|
+
}
|
|
46
|
+
nextMedia(e) {
|
|
47
|
+
this._pageContentElementMedia(e, 1);
|
|
48
|
+
}
|
|
49
|
+
previousMedia(e) {
|
|
50
|
+
this._pageContentElementMedia(e, -1);
|
|
51
|
+
}
|
|
52
|
+
setActiveMedia(e, t) {
|
|
53
|
+
const i = this.viewModel.content;
|
|
54
|
+
if (!Array.isArray(i))
|
|
55
|
+
return;
|
|
56
|
+
const s = i[e];
|
|
57
|
+
if (s?.type !== "media")
|
|
58
|
+
return;
|
|
59
|
+
const a = s;
|
|
60
|
+
this._setContentElementMedia(a, t);
|
|
61
|
+
}
|
|
62
|
+
async updateGeometry() {
|
|
63
|
+
return await this.viewModel.updateGeometry();
|
|
64
|
+
}
|
|
65
|
+
loaded() {
|
|
66
|
+
this.manager.onLifecycle(() => [
|
|
67
|
+
H(() => [this.internalFlowItems?.length], () => this._setFocus())
|
|
68
|
+
]);
|
|
69
|
+
}
|
|
70
|
+
_setContentElementMedia(e, t) {
|
|
71
|
+
const i = e.mediaInfos?.length ?? 0, s = (t + i) % i;
|
|
72
|
+
e.activeMediaInfoIndex = s;
|
|
73
|
+
}
|
|
74
|
+
_pageContentElementMedia(e, t) {
|
|
75
|
+
const i = this.viewModel.content;
|
|
76
|
+
if (!Array.isArray(i))
|
|
77
|
+
return;
|
|
78
|
+
const s = i[e];
|
|
79
|
+
if (s?.type !== "media")
|
|
80
|
+
return;
|
|
81
|
+
const a = s, { activeMediaInfoIndex: o } = a, n = (o ?? 0) + t;
|
|
82
|
+
this._setContentElementMedia(a, n);
|
|
83
|
+
}
|
|
84
|
+
_removeFlowItems() {
|
|
85
|
+
this.internalFlowItems?.destroyAll();
|
|
86
|
+
}
|
|
87
|
+
_storeRootFlowNode(e) {
|
|
88
|
+
this._rootFlowNode = e;
|
|
89
|
+
}
|
|
90
|
+
_setFocus() {
|
|
91
|
+
this._rootFlowNode?.setFocus();
|
|
92
|
+
}
|
|
93
|
+
_handleDrillInBackClick() {
|
|
94
|
+
this.internalFlowItems?.pop()?.destroy();
|
|
95
|
+
}
|
|
96
|
+
render() {
|
|
97
|
+
const { state: e } = this.viewModel, t = r`<div class="container">${e === "error" ? this._renderError() : this._renderContentContainer()}</div>`;
|
|
98
|
+
return r`<div class="root">${t}</div>`;
|
|
99
|
+
}
|
|
100
|
+
_renderError() {
|
|
101
|
+
const { messages: e, hideHeading: t } = this;
|
|
102
|
+
return r`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : r`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
|
|
103
|
+
}
|
|
104
|
+
_renderAttachments(e) {
|
|
105
|
+
const { values: t, fieldInfoMap: i, sourceLayer: s, globalValues: a } = this, o = d({
|
|
106
|
+
values: t,
|
|
107
|
+
fieldInfoMap: i,
|
|
108
|
+
globalValues: a,
|
|
109
|
+
layer: s,
|
|
110
|
+
text: e.title
|
|
111
|
+
}), n = d({
|
|
112
|
+
values: t,
|
|
113
|
+
fieldInfoMap: i,
|
|
114
|
+
globalValues: a,
|
|
115
|
+
layer: s,
|
|
116
|
+
text: e.description
|
|
117
|
+
});
|
|
118
|
+
return r`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${o} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${n} .messages=${this.messages}></arcgis-feature-attachments>`;
|
|
119
|
+
}
|
|
120
|
+
_renderCustom(e) {
|
|
121
|
+
return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
|
|
122
|
+
}
|
|
123
|
+
_renderFields(e, t) {
|
|
124
|
+
const i = this.viewModel.formattedAttributes, { values: s, fieldInfoMap: a, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (E(g) || B(g) || g in s)), f = n?.expressionInfos, m = d({
|
|
125
|
+
values: s,
|
|
126
|
+
fieldInfoMap: a,
|
|
127
|
+
globalValues: l,
|
|
128
|
+
layer: o,
|
|
129
|
+
text: e.title
|
|
130
|
+
}), v = d({
|
|
131
|
+
values: s,
|
|
132
|
+
fieldInfoMap: a,
|
|
133
|
+
globalValues: l,
|
|
134
|
+
layer: o,
|
|
135
|
+
text: e.description
|
|
136
|
+
});
|
|
137
|
+
return r`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${c ?? void 0} .isContentFieldInfos=${h} .layer=${o} .description=${v} .values=${{
|
|
138
|
+
...i?.global,
|
|
139
|
+
...i?.content?.[t]
|
|
140
|
+
}} .fieldInfos=${u} .expressionInfos=${f ?? void 0}></arcgis-feature-fields>`;
|
|
141
|
+
}
|
|
142
|
+
_renderMedia(e, t) {
|
|
143
|
+
const { values: i, graphic: s, fieldInfoMap: a, sourceLayer: o, popupTemplate: n, globalValues: l } = this, { formattedAttributes: c, relatedInfos: h, expressionAttributes: p } = this.viewModel, u = {
|
|
144
|
+
...c?.global,
|
|
145
|
+
...c?.content?.[t]
|
|
146
|
+
}, f = d({
|
|
147
|
+
values: i,
|
|
148
|
+
fieldInfoMap: a,
|
|
149
|
+
globalValues: l,
|
|
150
|
+
layer: o,
|
|
151
|
+
text: e.title
|
|
152
|
+
}), m = d({
|
|
153
|
+
values: i,
|
|
154
|
+
fieldInfoMap: a,
|
|
155
|
+
globalValues: l,
|
|
156
|
+
layer: o,
|
|
157
|
+
text: e.description
|
|
158
|
+
});
|
|
159
|
+
return r`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${f} class="content-element" .description=${m} .values=${i} .expressionValues=${p} .layer=${o} .graphic=${s ?? void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${n ?? void 0} .relatedInfos=${h} .formattedValues=${u}></arcgis-feature-media>`;
|
|
160
|
+
}
|
|
161
|
+
_renderText(e) {
|
|
162
|
+
const { values: t, fieldInfoMap: i, sourceLayer: s, globalValues: a } = this;
|
|
163
|
+
return r`<arcgis-feature-content .creator=${d({
|
|
164
|
+
values: t,
|
|
165
|
+
fieldInfoMap: i,
|
|
166
|
+
globalValues: a,
|
|
167
|
+
layer: s,
|
|
168
|
+
text: e.text
|
|
169
|
+
})} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
|
|
170
|
+
}
|
|
171
|
+
_renderExpression(e, t) {
|
|
172
|
+
const i = this.viewModel.formattedAttributes, { fieldInfoMap: s } = this;
|
|
173
|
+
return r`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${s} .values=${{
|
|
174
|
+
...i?.global,
|
|
175
|
+
...i?.content?.[t]
|
|
176
|
+
}}></arcgis-feature-expression>`;
|
|
177
|
+
}
|
|
178
|
+
_renderRelationship(e, t) {
|
|
179
|
+
const { values: i, graphic: s, fieldInfoMap: a, sourceLayer: o, globalValues: n } = this, { displayCount: l, orderByFields: c, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
|
|
180
|
+
...p?.global,
|
|
181
|
+
...p?.content?.[t]
|
|
182
|
+
}, m = d({
|
|
183
|
+
values: i,
|
|
184
|
+
fieldInfoMap: a,
|
|
185
|
+
globalValues: n,
|
|
186
|
+
layer: o,
|
|
187
|
+
text: e.title
|
|
188
|
+
}), v = d({
|
|
189
|
+
values: i,
|
|
190
|
+
fieldInfoMap: a,
|
|
191
|
+
globalValues: n,
|
|
192
|
+
layer: o,
|
|
193
|
+
text: e.description
|
|
194
|
+
});
|
|
195
|
+
return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${o} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${s ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${c ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
|
|
196
|
+
}
|
|
197
|
+
_renderAssociation(e) {
|
|
198
|
+
const { fieldInfoMap: t, globalValues: i, graphic: s, messages: a, sourceLayer: o, values: n } = this, l = d({
|
|
199
|
+
values: n,
|
|
200
|
+
fieldInfoMap: t,
|
|
201
|
+
globalValues: i,
|
|
202
|
+
layer: o,
|
|
203
|
+
text: e.title
|
|
204
|
+
}), c = d({
|
|
205
|
+
values: n,
|
|
206
|
+
fieldInfoMap: t,
|
|
207
|
+
globalValues: i,
|
|
208
|
+
layer: o,
|
|
209
|
+
text: e.description
|
|
210
|
+
});
|
|
211
|
+
return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${s ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${o} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
|
|
212
|
+
}
|
|
213
|
+
_renderContentElement(e, t) {
|
|
214
|
+
switch (e.type) {
|
|
215
|
+
case "attachments":
|
|
216
|
+
return this.hideAttachmentsContent ? null : this._renderAttachments(e);
|
|
217
|
+
case "custom":
|
|
218
|
+
return this.hideCustomContent ? null : this._renderCustom(e);
|
|
219
|
+
case "fields":
|
|
220
|
+
return this.hideFieldsContent ? null : this._renderFields(e, t);
|
|
221
|
+
case "media":
|
|
222
|
+
return this.hideMediaContent ? null : this._renderMedia(e, t);
|
|
223
|
+
case "text":
|
|
224
|
+
return this.hideTextContent ? null : this._renderText(e);
|
|
225
|
+
case "expression":
|
|
226
|
+
return this.hideExpressionContent ? null : this._renderExpression(e, t);
|
|
227
|
+
case "relationship":
|
|
228
|
+
return this.showRelationshipContent ? this._renderRelationship(e, t) : null;
|
|
229
|
+
case "utility-network-associations":
|
|
230
|
+
return this.showUtilityNetworkContent ? this._renderAssociation(e) : null;
|
|
231
|
+
default:
|
|
232
|
+
return null;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
_renderContent() {
|
|
236
|
+
const { content: e, graphic: t } = this.viewModel;
|
|
237
|
+
if (!e)
|
|
238
|
+
return null;
|
|
239
|
+
if (Array.isArray(e) && e.length)
|
|
240
|
+
return e.length ? e.map(this._renderContentElement, this) : null;
|
|
241
|
+
if (typeof e == "string") {
|
|
242
|
+
const { values: i, fieldInfoMap: s, sourceLayer: a, globalValues: o } = this;
|
|
243
|
+
return r`<arcgis-feature-content .creator=${d({
|
|
244
|
+
values: i,
|
|
245
|
+
fieldInfoMap: s,
|
|
246
|
+
globalValues: o,
|
|
247
|
+
layer: a,
|
|
248
|
+
text: e
|
|
249
|
+
})} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>`;
|
|
250
|
+
}
|
|
251
|
+
return e instanceof HTMLElement ? e : null;
|
|
252
|
+
}
|
|
253
|
+
_renderContentContainer() {
|
|
254
|
+
const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: s, state: a, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
|
|
255
|
+
return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${a === "loading"} .headingLevel=${s} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item @calciteFlowItemBack=${(f) => {
|
|
256
|
+
f.preventDefault(), this._handleDrillInBackClick();
|
|
257
|
+
}} .loading=${a === "loading"} .headingLevel=${s} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
|
|
258
|
+
}
|
|
259
|
+
_renderLastEditInfo() {
|
|
260
|
+
const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
|
|
261
|
+
if (!i || e)
|
|
262
|
+
return null;
|
|
263
|
+
const { date: s, user: a } = i, o = i.type === "edit" ? a ? t.lastEditedByUser : t.lastEdited : a ? t.lastCreatedByUser : t.lastCreated, n = T(o ?? "", {
|
|
264
|
+
date: s,
|
|
265
|
+
user: a
|
|
266
|
+
});
|
|
267
|
+
return r`<div class=${L(M("last-edited-info", "content-element"))}>${n}</div>`;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
$("arcgis-feature-next", S);
|
|
271
|
+
export {
|
|
272
|
+
S as ArcgisFeatureNext
|
|
273
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "../arcgis-feature-attachments/index.js";
|
|
3
|
+
import "../arcgis-feature-content/index.js";
|
|
4
|
+
import "../arcgis-feature-fields/index.js";
|
|
5
|
+
import "../arcgis-feature-media/index.js";
|
|
6
|
+
import "../arcgis-feature-expression/index.js";
|
|
7
|
+
import "../arcgis-feature-relationship/index.js";
|
|
8
|
+
import "../arcgis-feature-utility-network-associations/index.js";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
12
|
+
export * from "./customElement.js";
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as B } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as H, html as o } from "lit";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import S from "@arcgis/core/
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
const ee = H`:host{position:relative;flex:1 1 auto}.list{min-height:var(--calcite-spacing-xxxl)}.list-item-hidden{display:none}.feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`, te = (g) => {
|
|
4
|
+
import { debounce as A } from "@arcgis/toolkit/function";
|
|
5
|
+
import { LitElement as k, renderElement as q, safeClassMap as x } from "@arcgis/lumina";
|
|
6
|
+
import { templateHasKey as D, stripHTML as E } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
7
|
+
import { renderingSanitizer as N } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
8
|
+
import { isRelatableFeatureSupportedLayer as K, findRelatedLayer as W } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
9
|
+
import { substitute as Z, formatNumber as O } from "@arcgis/core/intl.js";
|
|
10
|
+
import { watch as f, on as z } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import { o as G } from "../../chunks/feature-utils.js";
|
|
12
|
+
import M from "@arcgis/core/core/Collection.js";
|
|
13
|
+
import S from "@arcgis/core/rest/support/RelationshipQuery.js";
|
|
14
|
+
import { ignoreAbortErrors as L } from "@arcgis/core/core/promiseUtils.js";
|
|
15
|
+
import { classes as V } from "@arcgis/toolkit/dom";
|
|
16
|
+
import { createRef as J, ref as U } from "lit/directives/ref.js";
|
|
17
|
+
import X from "@arcgis/core/popup/Feature.js";
|
|
18
|
+
const Y = H`:host{position:relative;flex:1 1 auto}.list{min-height:var(--calcite-spacing-xxxl)}.list-item-hidden{display:none}.feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`, ee = (g) => {
|
|
20
19
|
const e = [];
|
|
21
20
|
if (g.formTemplate) {
|
|
22
21
|
const { description: t, title: r } = g.formTemplate;
|
|
23
22
|
g.fields?.forEach((i) => {
|
|
24
|
-
const s = r &&
|
|
23
|
+
const s = r && D(r, i.name), a = t && D(t, i.name);
|
|
25
24
|
(s || a) && e.push(i.name);
|
|
26
25
|
});
|
|
27
26
|
}
|
|
28
27
|
return e;
|
|
29
|
-
},
|
|
30
|
-
class
|
|
28
|
+
}, R = 100;
|
|
29
|
+
class te extends k {
|
|
31
30
|
constructor() {
|
|
32
31
|
super(...arguments), this._increaseFeaturePage = () => {
|
|
33
32
|
const { state: e, showAllEnabled: t, relatedFeatures: r, featuresPerPage: i, featurePage: s } = this;
|
|
@@ -48,32 +47,32 @@ class re extends K {
|
|
|
48
47
|
}, this._queryController = async () => {
|
|
49
48
|
this._cancelQuery();
|
|
50
49
|
const e = new AbortController();
|
|
51
|
-
this._queryAbortController = e, await
|
|
50
|
+
this._queryAbortController = e, await L(this._query()), this._queryAbortController === e && (this._queryAbortController = null);
|
|
52
51
|
}, this._queryFeatureCountController = async () => {
|
|
53
52
|
this._loaded = !1, this._cancelQueryFeatureCount();
|
|
54
53
|
const e = new AbortController();
|
|
55
|
-
this._queryFeatureCountAbortController = e, await
|
|
54
|
+
this._queryFeatureCountAbortController = e, await L(this._queryFeatureCount()), this._queryFeatureCountAbortController === e && (this._queryFeatureCountAbortController = null), this._loaded = !0;
|
|
56
55
|
}, this._queryPageController = async () => {
|
|
57
56
|
const e = new AbortController();
|
|
58
|
-
this._queryPageAbortController = e, await
|
|
59
|
-
}, this._queryDebounced =
|
|
57
|
+
this._queryPageAbortController = e, await L(this._queryPage()), this._queryPageAbortController === e && (this._queryPageAbortController = null);
|
|
58
|
+
}, this._queryDebounced = A(this._queryController, R), this._queryFeatureCountDebounced = A(this._queryFeatureCountController, R), this._queryPageDebounced = A(this._queryPageController, R), this._query = async () => {
|
|
60
59
|
const { _queryAbortController: e, relatedFeatures: t } = this;
|
|
61
60
|
!this.featureCount || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || (this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, t.destroyAll(), t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({ signal: e?.signal }))));
|
|
62
61
|
}, this._addFlowItem = (e) => {
|
|
63
62
|
e && this.flowItems?.push(e);
|
|
64
|
-
}, this._relatedFeatureIntersectionObserverNode =
|
|
63
|
+
}, this._relatedFeatureIntersectionObserverNode = J(), this.relatedFeatures = new M(), this._queryAbortController = null, this._queryPageAbortController = null, this._queryFeatureCountAbortController = null, this.featureCount = 0, this._loaded = !1, this.relatedFeatureViewModels = new M(), this.autoDestroyDisabled = !1, this.featuresPerPage = 10, this.useFeatureNextFlowItem = !1, this.flowType = "feature-relationship", this.headingLevel = 2, this.hideHeading = !1, this.hideDescription = !1, this.showAllEnabled = !1;
|
|
65
64
|
}
|
|
66
65
|
static {
|
|
67
|
-
this.properties = { allCategories: 16, _queryAbortController: 16, _queryPageAbortController: 16, _queryFeatureCountAbortController: 16, featureCount: 16, _loaded: 16, canLoad: 16, canQuery: 16, displayShowAllButton: 16, displayListItems: 16, categories: 16, itemDescriptionFieldName: 16, relatedFeatureViewModels: 16, state: 16, autoDestroyDisabled: 5, allItemsDescription: 32, featurePage: 9, featuresPerPage: 9, flowItems: 0, flowType: 1, headingLevel: 9, messages: 0, heading: 1, description: 1, values: 0, activeCategory: 0, hideHeading: 5, hideDescription: 5, displayCount: 9, graphic: 0, layer: 0, map: 0, view: 0, spatialReference: 0, timeZone: 1, orderByFields: 0, relationshipId: 9, showAllEnabled: 5, label: 3 };
|
|
66
|
+
this.properties = { allCategories: 16, _queryAbortController: 16, _queryPageAbortController: 16, _queryFeatureCountAbortController: 16, featureCount: 16, _loaded: 16, canLoad: 16, canQuery: 16, displayShowAllButton: 16, displayListItems: 16, categories: 16, itemDescriptionFieldName: 16, relatedFeatureViewModels: 16, state: 16, autoDestroyDisabled: 5, allItemsDescription: 32, featurePage: 9, featuresPerPage: 9, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, headingLevel: 9, messages: 0, heading: 1, description: 1, values: 0, activeCategory: 0, hideHeading: 5, hideDescription: 5, displayCount: 9, graphic: 0, layer: 0, map: 0, view: 0, spatialReference: 0, timeZone: 1, orderByFields: 0, relationshipId: 9, showAllEnabled: 5, label: 3 };
|
|
68
67
|
}
|
|
69
68
|
static {
|
|
70
|
-
this.styles =
|
|
69
|
+
this.styles = Y;
|
|
71
70
|
}
|
|
72
71
|
get orderByFieldsFixedCasing() {
|
|
73
72
|
const { orderByFields: e, relatedLayer: t } = this;
|
|
74
73
|
return e && t?.loaded ? e.map((r) => {
|
|
75
74
|
const i = r.clone();
|
|
76
|
-
return i.field =
|
|
75
|
+
return i.field = G(r.field, t), i;
|
|
77
76
|
}) : e ?? [];
|
|
78
77
|
}
|
|
79
78
|
get supportsCacheHint() {
|
|
@@ -92,8 +91,8 @@ class re extends K {
|
|
|
92
91
|
const { layer: e, map: t, relationship: r } = this;
|
|
93
92
|
if (!e?.loaded || !t || !r)
|
|
94
93
|
return null;
|
|
95
|
-
const i = e.type === "subtype-sublayer" && e.parent &&
|
|
96
|
-
return
|
|
94
|
+
const i = e.type === "subtype-sublayer" && e.parent && K(e.parent) ? e.parent : e;
|
|
95
|
+
return W(t, i, r) ?? null;
|
|
97
96
|
}
|
|
98
97
|
get relatedLayerKeyField() {
|
|
99
98
|
const { relatedLayer: e, relationshipId: t } = this;
|
|
@@ -143,7 +142,7 @@ class re extends K {
|
|
|
143
142
|
get allItemsDescription() {
|
|
144
143
|
const { messages: e, featureCount: t, allCategories: r, allCategoriesCount: i } = this;
|
|
145
144
|
return Z(e?.numberRecords ?? "", {
|
|
146
|
-
number:
|
|
145
|
+
number: O(r ? i : t)
|
|
147
146
|
});
|
|
148
147
|
}
|
|
149
148
|
get featurePage() {
|
|
@@ -188,7 +187,7 @@ class re extends K {
|
|
|
188
187
|
f(() => [this.featurePage, this.showAllEnabled], () => this._queryPageDebounced()),
|
|
189
188
|
f(() => [this.layer, this.relationshipId, this.objectId, this.canQuery, this.activeCategory], () => this._queryFeatureCountDebounced(), { initial: !0 }),
|
|
190
189
|
f(() => [this.state, this.showAllEnabled, this._relatedFeatureIntersectionObserverNode], () => this._handleRelatedFeatureObserverChange()),
|
|
191
|
-
|
|
190
|
+
z(() => this.relatedFeatures, "change", () => this._setRelatedFeaturesViewModels())
|
|
192
191
|
]), this.manager.onDestroy(() => {
|
|
193
192
|
this.relatedFeatureViewModels.destroyAll(), this.relatedFeatures.destroyAll(), this._cancelQuery(), this._cancelQueryFeatureCount(), this._cancelQueryPage(), this._unobserveRelatedFeatureObserver();
|
|
194
193
|
});
|
|
@@ -203,12 +202,12 @@ class re extends K {
|
|
|
203
202
|
}
|
|
204
203
|
if (t?.type === "subtype-group" && !i) {
|
|
205
204
|
if (this.featureCount = 0, this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, this.relatedFeatures.destroyAll(), n && d != null) {
|
|
206
|
-
const { default:
|
|
205
|
+
const { default: C } = await import("@arcgis/core/smartMapping/statistics/uniqueValues.js"), { uniqueValueInfos: w } = await C({
|
|
207
206
|
layer: t,
|
|
208
207
|
sqlWhere: `${n} = '${d}'`,
|
|
209
208
|
field: t.subtypeField ?? void 0,
|
|
210
209
|
signal: r?.signal
|
|
211
|
-
}),
|
|
210
|
+
}), v = w.map(({ count: h, value: y }) => {
|
|
212
211
|
const m = t.subtypes?.find((I) => I.code === y)?.name;
|
|
213
212
|
return y != null && m ? {
|
|
214
213
|
count: h,
|
|
@@ -216,19 +215,19 @@ class re extends K {
|
|
|
216
215
|
name: m
|
|
217
216
|
} : void 0;
|
|
218
217
|
}).filter((h) => h != null);
|
|
219
|
-
this.allCategories =
|
|
218
|
+
this.allCategories = v;
|
|
220
219
|
}
|
|
221
220
|
return;
|
|
222
221
|
}
|
|
223
|
-
const { historicMoment: p, gdbVersion:
|
|
222
|
+
const { historicMoment: p, gdbVersion: F } = e, _ = new S({
|
|
224
223
|
cacheHint: b,
|
|
225
|
-
gdbVersion:
|
|
224
|
+
gdbVersion: F,
|
|
226
225
|
historicMoment: p,
|
|
227
226
|
relationshipId: l,
|
|
228
227
|
returnGeometry: !1,
|
|
229
228
|
objectIds: [a],
|
|
230
229
|
where: this._getRelationshipWhereClause(t)
|
|
231
|
-
}), c = await e.queryRelatedFeaturesCount(
|
|
230
|
+
}), c = await e.queryRelatedFeaturesCount(_, {
|
|
232
231
|
signal: r?.signal
|
|
233
232
|
});
|
|
234
233
|
this.allCategories = void 0, this.featureCount = c[a] || 0;
|
|
@@ -246,36 +245,36 @@ class re extends K {
|
|
|
246
245
|
!r || t < 2 || !s || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || e.addMany(await this._queryRelatedFeatures({ signal: i?.signal }));
|
|
247
246
|
}
|
|
248
247
|
async _queryRelatedFeatures(e) {
|
|
249
|
-
const { displayCount: t, featureCount: r, featurePage: i, featuresPerPage: s, layer: a, orderByFieldsFixedCasing: n, relatedLayer: l, relatedLayerKeyFields: d, relationshipId: b, showAllEnabled: p, supportsCacheHint:
|
|
250
|
-
if (!
|
|
248
|
+
const { displayCount: t, featureCount: r, featurePage: i, featuresPerPage: s, layer: a, orderByFieldsFixedCasing: n, relatedLayer: l, relatedLayerKeyFields: d, relationshipId: b, showAllEnabled: p, supportsCacheHint: F } = this, { canQuery: _, objectId: c } = this;
|
|
249
|
+
if (!_ || !a || !l || c == null)
|
|
251
250
|
return [];
|
|
252
|
-
const
|
|
251
|
+
const C = p ? ((i - 1) * s + r) % r : 0, w = p ? s : t, v = l.objectIdField, h = "subtypeField" in l ? l.subtypeField : void 0, y = [
|
|
253
252
|
...n.map((u) => u.field),
|
|
254
|
-
...
|
|
253
|
+
...ee(l),
|
|
255
254
|
...d,
|
|
256
|
-
|
|
255
|
+
v,
|
|
257
256
|
h
|
|
258
|
-
].filter((u) => u != null), m = n.map((u) => `${u.field} ${u.order}`), { historicMoment: I, gdbVersion:
|
|
257
|
+
].filter((u) => u != null), m = n.map((u) => `${u.field} ${u.order}`), { historicMoment: I, gdbVersion: Q } = a, j = new S({
|
|
259
258
|
orderByFields: m,
|
|
260
|
-
start:
|
|
261
|
-
num:
|
|
259
|
+
start: C,
|
|
260
|
+
num: w,
|
|
262
261
|
outFields: y,
|
|
263
|
-
cacheHint:
|
|
262
|
+
cacheHint: F,
|
|
264
263
|
historicMoment: I,
|
|
265
|
-
gdbVersion:
|
|
264
|
+
gdbVersion: Q,
|
|
266
265
|
relationshipId: b,
|
|
267
266
|
returnGeometry: !1,
|
|
268
267
|
objectIds: [c],
|
|
269
268
|
where: this._getRelationshipWhereClause(l)
|
|
270
|
-
}),
|
|
269
|
+
}), $ = (await a.queryRelatedFeatures(j, {
|
|
271
270
|
signal: e?.signal
|
|
272
271
|
}))[c]?.features || [];
|
|
273
|
-
return l.type === "subtype-group" && h ?
|
|
274
|
-
const
|
|
275
|
-
u.sourceLayer =
|
|
276
|
-
}) :
|
|
272
|
+
return l.type === "subtype-group" && h ? $.forEach((u) => {
|
|
273
|
+
const T = u.attributes[h], P = l.findSublayerForSubtypeCode?.(T);
|
|
274
|
+
u.sourceLayer = P, u.layer = P;
|
|
275
|
+
}) : $.forEach((u) => {
|
|
277
276
|
u.sourceLayer = l, u.layer = l;
|
|
278
|
-
}),
|
|
277
|
+
}), $;
|
|
279
278
|
}
|
|
280
279
|
_selectCategory(e) {
|
|
281
280
|
const { flowItems: t } = this;
|
|
@@ -283,10 +282,13 @@ class re extends K {
|
|
|
283
282
|
}
|
|
284
283
|
_selectRecord(e) {
|
|
285
284
|
const { flowItems: t } = this;
|
|
286
|
-
|
|
285
|
+
if (!t)
|
|
286
|
+
return;
|
|
287
|
+
const r = this.useFeatureNextFlowItem ? q(o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`) : q(o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`);
|
|
288
|
+
this._addFlowItem(r);
|
|
287
289
|
}
|
|
288
290
|
_addRelationshipFlowItem({ showAllEnabled: e = !1, activeCategory: t }) {
|
|
289
|
-
this._addFlowItem(
|
|
291
|
+
this._addFlowItem(q(o`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} .messages=${this.messages} .activeCategory=${t} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} .heading=${this.heading} hide-description .showAllEnabled=${e} hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem} .values=${this.values} .view=${this.view}></arcgis-feature-relationship>`));
|
|
290
292
|
}
|
|
291
293
|
_showAllRecords() {
|
|
292
294
|
const { flowItems: e } = this;
|
|
@@ -307,7 +309,7 @@ class re extends K {
|
|
|
307
309
|
_setRelatedFeaturesViewModels() {
|
|
308
310
|
const { relatedFeatures: e, relatedFeatureViewModels: t, map: r, view: i, spatialReference: s, timeZone: a } = this;
|
|
309
311
|
e?.filter(Boolean).forEach((n) => {
|
|
310
|
-
t.some((d) => this._matchesFeature(d, n)) || t.add(new
|
|
312
|
+
t.some((d) => this._matchesFeature(d, n)) || t.add(new X({
|
|
311
313
|
abilities: { relationshipContent: !1 },
|
|
312
314
|
map: r,
|
|
313
315
|
view: i,
|
|
@@ -339,7 +341,7 @@ class re extends K {
|
|
|
339
341
|
return o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`;
|
|
340
342
|
}
|
|
341
343
|
_renderCategory(e) {
|
|
342
|
-
const { count: t, name: r } = e, i =
|
|
344
|
+
const { count: t, name: r } = e, i = O(t);
|
|
343
345
|
return o`<calcite-list-item class="list-item" .disabled=${!t} .label=${r} @calciteListItemSelect=${() => this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`;
|
|
344
346
|
}
|
|
345
347
|
_renderRelatedFeature(e) {
|
|
@@ -347,7 +349,7 @@ class re extends K {
|
|
|
347
349
|
...r,
|
|
348
350
|
...i?.global
|
|
349
351
|
}, l = (t && n?.[t]) ?? "";
|
|
350
|
-
return o`<calcite-list-item class=${x(
|
|
352
|
+
return o`<calcite-list-item class=${x(V("list-item", { "list-item-hidden": s === "loading" }))} .description=${E(l.toString())} .label=${E(a)} @calciteListItemSelect=${() => this._selectRecord(e)}><div slot=heading><div .innerHTML=${N.sanitize(a ?? "") ?? ""}></div></div><div slot=description><div .innerHTML=${N.sanitize(l ?? "") ?? ""}></div></div>${this._renderChevronIconNode()}</calcite-list-item>`;
|
|
351
353
|
}
|
|
352
354
|
_renderShowAllListItem() {
|
|
353
355
|
return this.displayShowAllButton ? o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${() => this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>` : null;
|
|
@@ -356,7 +358,7 @@ class re extends K {
|
|
|
356
358
|
return o`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`;
|
|
357
359
|
}
|
|
358
360
|
_renderFeatureObserver() {
|
|
359
|
-
return o`<div class="feature-observer" ${
|
|
361
|
+
return o`<div class="feature-observer" ${U(this._relatedFeatureIntersectionObserverNode)}></div>`;
|
|
360
362
|
}
|
|
361
363
|
_renderList() {
|
|
362
364
|
const { relatedFeatureViewModels: e, categories: t } = this;
|
|
@@ -364,7 +366,7 @@ class re extends K {
|
|
|
364
366
|
}
|
|
365
367
|
_renderRelatedFeatures() {
|
|
366
368
|
const { displayListItems: e } = this, { state: t } = this;
|
|
367
|
-
return o`<div class=${x(
|
|
369
|
+
return o`<div class=${x(V("list", {
|
|
368
370
|
"list-querying": t === "querying"
|
|
369
371
|
}))}>${e ? this._renderList() : t === "ready" ? this._renderNoRelatedFeaturesMessage() : null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`;
|
|
370
372
|
}
|
|
@@ -372,7 +374,7 @@ class re extends K {
|
|
|
372
374
|
return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`;
|
|
373
375
|
}
|
|
374
376
|
}
|
|
375
|
-
|
|
377
|
+
B("arcgis-feature-relationship", te);
|
|
376
378
|
export {
|
|
377
|
-
|
|
379
|
+
te as ArcgisFeatureRelationship
|
|
378
380
|
};
|
|
@@ -19,7 +19,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
19
19
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
20
20
|
import type { FeatureStoreItem, ActionColumnConfig, FeatureTableSupportedFilters, ColumnSortOrder, FeatureTableSupportedLayer } from "@arcgis/core/widgets/FeatureTable/support/types.js";
|
|
21
21
|
import type { CollectionChangeEvent } from "@arcgis/core/core/Collection.js";
|
|
22
|
-
import type { DiscardPendingEditsParameters, FeatureStoreEdits, TableInteractionColumnReorderEvent, TableInteractionCellPointeroverEvent, TableInteractionCellPointeroutEvent, TableInteractionCellKeydownEvent, TableInteractionCellClickEvent, TableMenuConfig, GridMultiSortPriority, FeatureTableState } from "@arcgis/core/widgets/FeatureTable/Grid/types.js";
|
|
22
|
+
import type { DiscardPendingEditsParameters, FeatureStoreEdits, TableInteractionColumnReorderEvent, TableInteractionCellPointeroverEvent, TableInteractionCellPointeroutEvent, TableInteractionCellKeydownEvent, TableInteractionCellClickEvent, TableInteractionCellDblclickEvent, TableMenuConfig, GridMultiSortPriority, FeatureTableState } from "@arcgis/core/widgets/FeatureTable/Grid/types.js";
|
|
23
23
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
24
24
|
import type { FeatureTableDescriptionFunction, FeatureTableTitleFunction } from "@arcgis/core/widgets/FeatureTable.js";
|
|
25
25
|
import type { GeometryUnion } from "@arcgis/core/geometry/types.js";
|
|
@@ -1143,18 +1143,31 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
1143
1143
|
"@setterTypes": {
|
|
1144
1144
|
icon?: IconName;
|
|
1145
1145
|
};
|
|
1146
|
+
/** Fires when a cell within the table is clicked. */
|
|
1146
1147
|
readonly arcgisCellClick: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellClickEvent>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Fires when a cell within the table is double-clicked.
|
|
1150
|
+
*
|
|
1151
|
+
* @since 5.1
|
|
1152
|
+
*/
|
|
1153
|
+
readonly arcgisCellDblClick: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellDblclickEvent>;
|
|
1154
|
+
/** Fires when a key is pressed down within a cell within the table. */
|
|
1147
1155
|
readonly arcgisCellKeydown: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellKeydownEvent>;
|
|
1156
|
+
/** Fires when the mouse pointer is moved out of a cell within the table. This event is useful for scenarios highlighting for things like highlighting a feature in the view, while hovering, without requiring manual interaction to select a row. Another example: these events can also be used to show information about the cell in a tooltip attached to the mouse. */
|
|
1148
1157
|
readonly arcgisCellPointerout: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellPointeroutEvent>;
|
|
1158
|
+
/** Fires when the mouse pointer is moved over a cell within the table. */
|
|
1149
1159
|
readonly arcgisCellPointerover: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellPointeroverEvent>;
|
|
1160
|
+
/** Fires when a column is reordered via drag-and-drop. */
|
|
1150
1161
|
readonly arcgisColumnReorder: import("@arcgis/lumina").TargetedEvent<this, TableInteractionColumnReorderEvent>;
|
|
1151
1162
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
1152
1163
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "effectiveSize" | "isQueryingOrSyncing" | "layerView" | "size" | "state"; }>;
|
|
1153
1164
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
1154
1165
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1166
|
+
/** Fires when a row selection is added or removed. */
|
|
1155
1167
|
readonly arcgisSelectionChange: import("@arcgis/lumina").TargetedEvent<this, CollectionChangeEvent<number | string>>;
|
|
1156
1168
|
readonly "@eventTypes": {
|
|
1157
1169
|
arcgisCellClick: ArcgisFeatureTable["arcgisCellClick"]["detail"];
|
|
1170
|
+
arcgisCellDblClick: ArcgisFeatureTable["arcgisCellDblClick"]["detail"];
|
|
1158
1171
|
arcgisCellKeydown: ArcgisFeatureTable["arcgisCellKeydown"]["detail"];
|
|
1159
1172
|
arcgisCellPointerout: ArcgisFeatureTable["arcgisCellPointerout"]["detail"];
|
|
1160
1173
|
arcgisCellPointerover: ArcgisFeatureTable["arcgisCellPointerover"]["detail"];
|