@arcgis/map-components 4.34.0-next.120 → 4.34.0-next.121
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/{MH7KAJHO.js → 2B25JVV5.js} +2 -2
- package/dist/cdn/{S3FSU7B3.js → 2SV7S2M5.js} +2 -2
- package/dist/cdn/346TTNOJ.js +4 -0
- package/dist/cdn/{YMLJJXLE.js → 35DSKNLR.js} +2 -2
- package/dist/cdn/{L22HLZL6.js → 35HI7H6E.js} +2 -2
- package/dist/cdn/{LLNOEFSY.js → 372YSHKS.js} +2 -2
- package/dist/cdn/{TCWVCV45.js → 37DWQGUS.js} +2 -2
- package/dist/cdn/{VB2WGZSI.js → 3LZLMEK2.js} +1 -1
- package/dist/cdn/{ZNIHPOQW.js → 3TZ45SVB.js} +2 -2
- package/dist/cdn/45Y76WDN.js +4 -0
- package/dist/cdn/{HI2SLBFX.js → 47CPMTMK.js} +2 -2
- package/dist/cdn/4IPEPFHT.js +4 -0
- package/dist/cdn/4JNZVJZW.js +4 -0
- package/dist/cdn/4JVBMEN6.js +4 -0
- package/dist/cdn/{JOTCO7VO.js → 4VATR35U.js} +1 -1
- package/dist/cdn/{EM34EP4Z.js → 535NKYWC.js} +2 -2
- package/dist/cdn/{4BRSXGDS.js → 55HJNAJR.js} +2 -2
- package/dist/cdn/{BQGF3TJR.js → 5RUSI26F.js} +2 -2
- package/dist/cdn/5TFDDVH2.js +4 -0
- package/dist/cdn/{I5VTUAC2.js → 5UGXWLKI.js} +2 -2
- package/dist/cdn/{CE6ML33U.js → 5V4I3OAQ.js} +2 -2
- package/dist/cdn/6CDWV4G6.js +4 -0
- package/dist/cdn/{KAYMDWRG.js → 6IOBYIAP.js} +2 -2
- package/dist/cdn/6JVHY2EU.js +4 -0
- package/dist/cdn/{3KUOKMM6.js → 6Q6P2VXD.js} +2 -2
- package/dist/cdn/{HD3MAW7N.js → 6RB6IL7R.js} +2 -2
- package/dist/cdn/{7HIZTTHU.js → 6RXGSCAV.js} +2 -2
- package/dist/cdn/6UUISLIM.js +4 -0
- package/dist/cdn/{LGUSMSGI.js → 6ZQGNPYK.js} +2 -2
- package/dist/cdn/{U4NN24DZ.js → 7242OGMC.js} +1 -1
- package/dist/cdn/{QJI26PMM.js → 74GPMRTV.js} +2 -2
- package/dist/cdn/{VSHCOOT3.js → 7FFJLHJW.js} +2 -2
- package/dist/cdn/{7TT4U7QY.js → 7FUHE2YM.js} +1 -1
- package/dist/cdn/7JJHAC7T.js +4 -0
- package/dist/cdn/{VLSZ6K4N.js → 7R7XMUEV.js} +2 -2
- package/dist/cdn/{HQSZHIDX.js → 7TPKNPCZ.js} +2 -2
- package/dist/cdn/{C3EGFMXI.js → 7UBSZH7Y.js} +2 -2
- package/dist/cdn/{KTA3WCSN.js → A35H2227.js} +2 -2
- package/dist/cdn/{HNLDTV7N.js → AF5ZEU4H.js} +2 -2
- package/dist/cdn/{XVRPAQQS.js → AJDNGTJ2.js} +2 -2
- package/dist/cdn/{JUSWF2RY.js → AKEH4M7F.js} +2 -2
- package/dist/cdn/{W2ERNWIA.js → AMIRL4B5.js} +2 -2
- package/dist/cdn/{QJVND6MN.js → ANCURBC4.js} +2 -2
- package/dist/cdn/{FI7OZYLW.js → ANPO74QG.js} +1 -1
- package/dist/cdn/{WC7XPTBO.js → AT3WZET4.js} +2 -2
- package/dist/cdn/{IND5WNZM.js → AVKXZPGN.js} +2 -2
- package/dist/cdn/{AWVU24JV.js → B3TXBOOS.js} +2 -2
- package/dist/cdn/{SLVLT2UD.js → BNXQLG7Q.js} +2 -2
- package/dist/cdn/{HBBVF6YP.js → BRQR34WD.js} +2 -2
- package/dist/cdn/{62OJ3TIR.js → C2GT3GCS.js} +2 -2
- package/dist/cdn/{FKUDUOEH.js → C2TL26SK.js} +2 -2
- package/dist/cdn/CI2FSKVH.js +4 -0
- package/dist/cdn/{2HE2Z5NV.js → CI44ZNLN.js} +2 -2
- package/dist/cdn/{KQBSK57H.js → CI47PXCU.js} +2 -2
- package/dist/cdn/{W42SCU72.js → CRSV4PPM.js} +2 -2
- package/dist/cdn/{FVAWWC65.js → CWVECJKT.js} +2 -2
- package/dist/cdn/{6U67NGEC.js → DEBWZDGT.js} +2 -2
- package/dist/cdn/{O6A7CJF5.js → DEWCHYPV.js} +2 -2
- package/dist/cdn/{ZKGSYKZU.js → DFVCHRKI.js} +2 -2
- package/dist/cdn/{NJIGADGX.js → DK75MF3J.js} +2 -2
- package/dist/cdn/{EOOCRKS4.js → DL5TD37V.js} +2 -2
- package/dist/cdn/{UYR2Z7HF.js → DQGVC6D4.js} +2 -2
- package/dist/cdn/{DSTWWXJ6.js → DRCUZDKE.js} +2 -2
- package/dist/cdn/{BBPNY7E3.js → DRLZFDYB.js} +2 -2
- package/dist/cdn/{XW7I2P5P.js → DSUS7JYQ.js} +2 -2
- package/dist/cdn/{33OF3ZBL.js → DX7IPNVA.js} +2 -2
- package/dist/cdn/{A47F55P3.js → E4EENGHK.js} +2 -2
- package/dist/cdn/{PLHQIKNT.js → E54IMENW.js} +2 -2
- package/dist/cdn/{COKDS53J.js → E5B5SZTG.js} +2 -2
- package/dist/cdn/{6TLE3FA7.js → E5X3KKD6.js} +2 -2
- package/dist/cdn/{TOCMF6TL.js → ECQRIY6D.js} +2 -2
- package/dist/cdn/{AKMDQAKK.js → EF5GBJRK.js} +2 -2
- package/dist/cdn/{5ZBM65DS.js → EFWDWNPE.js} +2 -2
- package/dist/cdn/{PKQNTFVZ.js → EWZB3F6Q.js} +2 -2
- package/dist/cdn/{L3MY4UQA.js → F4LUVKMI.js} +2 -2
- package/dist/cdn/{36DABHYU.js → F7U5I4D5.js} +2 -2
- package/dist/cdn/FHG3JTHR.js +4 -0
- package/dist/cdn/{OQKVLYO2.js → FNZ57JKR.js} +2 -2
- package/dist/cdn/FOH33NCI.js +4 -0
- package/dist/cdn/{BHXMZU2O.js → FOZTM2NA.js} +2 -2
- package/dist/cdn/{QRC7ZBBC.js → FX6B3JWJ.js} +2 -2
- package/dist/cdn/{IMBF7SKO.js → G2IGWV44.js} +2 -2
- package/dist/cdn/{UNJNH3FF.js → GE6XLA3C.js} +2 -2
- package/dist/cdn/{GCD4OD4U.js → GFHM25IN.js} +1 -1
- package/dist/cdn/{EF4QVWNW.js → GRP6EZWO.js} +2 -2
- package/dist/cdn/{MIXSCPX5.js → GXGLFWPF.js} +2 -2
- package/dist/cdn/{G5DQIZEV.js → HDEREMLN.js} +2 -2
- package/dist/cdn/{YEB3EV3Y.js → HPKF24JA.js} +3 -3
- package/dist/cdn/{F6TOJFSA.js → ID46TCU6.js} +2 -2
- package/dist/cdn/{FZI3AKTY.js → IJAOM6ZW.js} +1 -1
- package/dist/cdn/{6HHUN5YQ.js → IN2QCSQO.js} +2 -2
- package/dist/cdn/{PJOEPYWW.js → IOKUBAPF.js} +2 -2
- package/dist/cdn/{6AHLLAZO.js → IPXEEQQK.js} +2 -2
- package/dist/cdn/{SNNTEXLH.js → IQR5CM2A.js} +2 -2
- package/dist/cdn/{X22GYTEA.js → IXKSOIUP.js} +2 -2
- package/dist/cdn/{AP3CYFMQ.js → J5F6AIIB.js} +2 -2
- package/dist/cdn/{5DUT2NR5.js → J5VNFJVZ.js} +2 -2
- package/dist/cdn/JFIYPPD5.js +7 -0
- package/dist/cdn/{6E7XQLEO.js → JS4BHDB4.js} +2 -2
- package/dist/cdn/{B72JD5TO.js → JZF63QVT.js} +2 -2
- package/dist/cdn/{RMNCEUXY.js → K2URZH4W.js} +2 -2
- package/dist/cdn/{HZYHFZJV.js → K6CBR2XP.js} +2 -2
- package/dist/cdn/K7LNIGMP.js +4 -0
- package/dist/cdn/{6PHSJ3A3.js → KIUHTF3Y.js} +1 -1
- package/dist/cdn/{CVTGNNNT.js → KKJGEIVN.js} +1 -1
- package/dist/cdn/{YLIV52HA.js → KQ2MJSN6.js} +2 -2
- package/dist/cdn/{5Y6Z6AU2.js → KUUP2XQV.js} +2 -2
- package/dist/cdn/KYN36ZI3.js +4 -0
- package/dist/cdn/{WUW4ZK2I.js → LCCXLXMZ.js} +2 -2
- package/dist/cdn/{S7FUMVTD.js → LDSMGJB2.js} +2 -2
- package/dist/cdn/{HHSZDHZG.js → LH5FQJI2.js} +2 -2
- package/dist/cdn/{JWB2OR3K.js → LJUO3WHF.js} +2 -2
- package/dist/cdn/{CSCY5BGQ.js → LMPJ77PH.js} +2 -2
- package/dist/cdn/{MZ6IXKKM.js → LMWV7UIV.js} +2 -2
- package/dist/cdn/{PS2YINJK.js → M3RUGM2V.js} +2 -2
- package/dist/cdn/{HVF3EZPU.js → M6IFXZLY.js} +2 -2
- package/dist/cdn/{JF2BPJEU.js → M7RCOZ4B.js} +2 -2
- package/dist/cdn/{MGVKUYDH.js → MKVN3TTT.js} +2 -2
- package/dist/cdn/{2CXHMQTJ.js → ML7UPLPP.js} +2 -2
- package/dist/cdn/{6IWPGZTN.js → MMHFWQW2.js} +2 -2
- package/dist/cdn/{YTOJP56H.js → MPBVDV2T.js} +2 -2
- package/dist/cdn/{XWT7UESZ.js → MPNDAQ6F.js} +2 -2
- package/dist/cdn/{ZGT3GAKW.js → MSBWFYRL.js} +2 -2
- package/dist/cdn/{MYQDZZBV.js → MUSHZIHK.js} +2 -2
- package/dist/cdn/{2UNBJPHV.js → N7DFCSEY.js} +2 -2
- package/dist/cdn/{O2GQQ6TH.js → NOVUMXRE.js} +2 -2
- package/dist/cdn/{73ZURSDZ.js → NRF6GBIG.js} +2 -2
- package/dist/cdn/{RQXFAZND.js → NTGUYVHC.js} +2 -2
- package/dist/cdn/{ARQIMOEK.js → NTLSQ5MN.js} +2 -2
- package/dist/cdn/{EX5SJOG7.js → NWTJ4Z4R.js} +2 -2
- package/dist/cdn/{WN7VB3T5.js → OEMF5KZZ.js} +2 -2
- package/dist/cdn/{SVDLWPF2.js → OENFPHNZ.js} +2 -2
- package/dist/cdn/{UCY4LBO3.js → OJTQIQUR.js} +2 -2
- package/dist/cdn/{Q5YQK2S3.js → OKOHU2OJ.js} +2 -2
- package/dist/cdn/{VMKYQFS5.js → OLUQVJOZ.js} +2 -2
- package/dist/cdn/{CHS6E4Q2.js → OPY3WBSM.js} +2 -2
- package/dist/cdn/OQWO6BB3.js +4 -0
- package/dist/cdn/{K4IBGATC.js → OTMBIUL5.js} +2 -2
- package/dist/cdn/{I76USMBY.js → OVNUOLLO.js} +2 -2
- package/dist/cdn/{L63SLUFS.js → P45GLN3X.js} +2 -2
- package/dist/cdn/{RKPME3GV.js → P4B3WO3X.js} +2 -2
- package/dist/cdn/{7RNIBDPL.js → P4S2TKIT.js} +2 -2
- package/dist/cdn/{IYY5KGSN.js → P5GMXIT4.js} +2 -2
- package/dist/cdn/{ZKXGN63L.js → PAHH73NW.js} +2 -2
- package/dist/cdn/{FSQ2KHIG.js → PAWLZ2PM.js} +2 -2
- package/dist/cdn/{KZ6QYVM2.js → PDQINBKC.js} +2 -2
- package/dist/cdn/{P6HS5PC7.js → POALYNOP.js} +1 -1
- package/dist/cdn/POPYE6CL.js +4 -0
- package/dist/cdn/{43EBEKFG.js → PQFKIKYA.js} +1 -1
- package/dist/cdn/{IDLHRY2H.js → PRBE56AU.js} +2 -2
- package/dist/cdn/{UCRV2PDT.js → PX5FXGL4.js} +2 -2
- package/dist/cdn/{DORZHLU3.js → QYJ4HYGZ.js} +2 -2
- package/dist/cdn/{6WA73KKR.js → QYPAUKF3.js} +2 -2
- package/dist/cdn/{IRN5BQBL.js → R3OLBAJR.js} +2 -2
- package/dist/cdn/{N622KPPP.js → R5PZWYMI.js} +2 -2
- package/dist/cdn/{UKNIOOAM.js → R6KOIYXN.js} +2 -2
- package/dist/cdn/{IJQOX3B2.js → R7IZUL4R.js} +2 -2
- package/dist/cdn/{GKOFQM3H.js → RGJEU4NN.js} +2 -2
- package/dist/cdn/{ST4EJC3A.js → RGSXGE7O.js} +2 -2
- package/dist/cdn/{WSRYRM56.js → RM3B4UHT.js} +2 -2
- package/dist/cdn/{TANBMCPE.js → RNAEBFZW.js} +2 -2
- package/dist/cdn/{VB3ERSMR.js → RNYH2TRL.js} +2 -2
- package/dist/cdn/{IMZUUJPE.js → RQB3U5J2.js} +2 -2
- package/dist/cdn/{R7M5WN2E.js → RR5ZNA2U.js} +2 -2
- package/dist/cdn/{VTV2KINX.js → RZ45UDKK.js} +2 -2
- package/dist/cdn/S74YMN7I.js +4 -0
- package/dist/cdn/{2ORRNOGA.js → S7STOGUY.js} +2 -2
- package/dist/cdn/{EJ4Y7VTU.js → SENVVVYE.js} +2 -2
- package/dist/cdn/{A27SKK6E.js → SL6MMN2Q.js} +2 -2
- package/dist/cdn/SU6HNPLT.js +4 -0
- package/dist/cdn/TBJCDUNI.js +4 -0
- package/dist/cdn/{OC6TPBNB.js → TFGCYOWA.js} +2 -2
- package/dist/cdn/{AD3ZURIR.js → TMLC4M73.js} +2 -2
- package/dist/cdn/TS2GUWU3.js +4 -0
- package/dist/cdn/{SKVXEDLE.js → TXPXKVCW.js} +2 -2
- package/dist/cdn/{KCWL6UV4.js → UDHP27HO.js} +2 -2
- package/dist/cdn/{67U6QXEY.js → UIU3O5KY.js} +2 -2
- package/dist/cdn/{QH6W2HS7.js → UQAFKOEC.js} +2 -2
- package/dist/cdn/UQRSBMCA.js +4 -0
- package/dist/cdn/{WBAEF3ZT.js → UYN2Y7US.js} +2 -2
- package/dist/cdn/{UJIOALHT.js → V2ZSUMAT.js} +2 -2
- package/dist/cdn/{VASLNT5J.js → VCE3MJOP.js} +2 -2
- package/dist/cdn/{NOOBN67X.js → VFOZPBRE.js} +2 -2
- package/dist/cdn/{W34GBMIV.js → VJ4HCE25.js} +2 -2
- package/dist/cdn/{ZLDXXV53.js → VMQG3RI6.js} +2 -2
- package/dist/cdn/{2HEAELDI.js → VPRTCSMA.js} +2 -2
- package/dist/cdn/{YUD7XBVU.js → W5ZHEGYW.js} +2 -2
- package/dist/cdn/{3XJQU7UU.js → WC62N27T.js} +2 -2
- package/dist/cdn/WF5D2QSI.js +4 -0
- package/dist/cdn/{ICP3J2N2.js → WFTOSGYT.js} +2 -2
- package/dist/cdn/{25ZDGUMM.js → WKAWGDGM.js} +1 -1
- package/dist/cdn/{SM6XPVPD.js → WYFAZXAQ.js} +2 -2
- package/dist/cdn/{G5MXZ3RB.js → X3DN7NQI.js} +1 -1
- package/dist/cdn/{GVCPEM5I.js → XHSSH7BD.js} +2 -2
- package/dist/cdn/XK2VKK6A.js +4 -0
- package/dist/cdn/{P3B3P7L4.js → XKE6Y6DR.js} +2 -2
- package/dist/cdn/{LFZLQDDG.js → XQKKIK2L.js} +2 -2
- package/dist/cdn/{6KGIVKH4.js → XZEOBHWL.js} +2 -2
- package/dist/cdn/{UCRJMK5C.js → Y3VB7R7E.js} +2 -2
- package/dist/cdn/{HWPWUKY6.js → Y7W6FEYB.js} +1 -1
- package/dist/cdn/{P7BNZYTQ.js → YCBORB5I.js} +2 -2
- package/dist/cdn/{5PEK6KXY.js → YCFZ4WWA.js} +2 -2
- package/dist/cdn/{L2PJBJYL.js → YE5OIRHL.js} +2 -2
- package/dist/cdn/{QWAMBTBH.js → YOAXZDYA.js} +2 -2
- package/dist/cdn/{OIU3HXT4.js → YQ44NZDF.js} +2 -2
- package/dist/cdn/YRHUU3RQ.js +4 -0
- package/dist/cdn/{N3UHN63O.js → YV5H7JC3.js} +2 -2
- package/dist/cdn/{OW4MVTU6.js → YZXBNKZM.js} +2 -2
- package/dist/cdn/{RNNWYTAK.js → Z22CE2BK.js} +2 -2
- package/dist/cdn/{MN7CAQNX.js → Z4KTVLWK.js} +2 -2
- package/dist/cdn/{EGQJWIJU.js → ZDQQISWT.js} +2 -2
- package/dist/cdn/{HKFM677E.js → ZDYNAGAU.js} +2 -2
- package/dist/cdn/{TARXJU2K.js → ZGHEV5H3.js} +2 -2
- package/dist/cdn/assets/legend/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/legend/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/slots2.js +2 -2
- package/dist/chunks/svgUtils.js +229 -0
- package/dist/chunks/titleUtils.js +42 -0
- package/dist/chunks/univariateUtils.js +101 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +45 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +93 -119
- package/dist/components/arcgis-features/index.d.ts +2 -1
- package/dist/components/arcgis-features/index.js +2 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +136 -82
- package/dist/components/arcgis-legend/customElement.js +48 -14
- package/dist/components/arcgis-legend/index.d.ts +2 -0
- package/dist/components/arcgis-legend/index.js +2 -0
- package/dist/components/arcgis-legend/support/svgGlobalState.d.ts +7 -0
- package/dist/components/arcgis-legend/support/svgUtils.d.ts +173 -0
- package/dist/components/arcgis-legend/support/titleUtils.d.ts +6 -0
- package/dist/components/arcgis-legend/support/univariateUtils.d.ts +32 -0
- package/dist/components/arcgis-legend/support/utils.d.ts +8 -0
- package/dist/components/arcgis-legend/types.d.ts +0 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +13 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +91 -0
- package/dist/components/arcgis-legend-card-color-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-card-color-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +18 -0
- package/dist/components/arcgis-legend-card-element/customElement.js +131 -0
- package/dist/components/arcgis-legend-card-element/index.d.ts +7 -0
- package/dist/components/arcgis-legend-card-element/index.js +7 -0
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +14 -0
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +97 -0
- package/dist/components/arcgis-legend-card-size-ramp/index.d.ts +2 -0
- package/dist/components/arcgis-legend-card-size-ramp/index.js +2 -0
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +13 -0
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +64 -0
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +13 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +62 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +23 -0
- package/dist/components/arcgis-legend-card-view/customElement.js +90 -0
- package/dist/components/arcgis-legend-card-view/index.d.ts +4 -0
- package/dist/components/arcgis-legend-card-view/index.js +4 -0
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +12 -0
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +49 -0
- package/dist/components/arcgis-legend-classic-color-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-color-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-classic-element/customElement.d.ts +12 -0
- package/dist/components/arcgis-legend-classic-element/customElement.js +92 -0
- package/dist/components/arcgis-legend-classic-element/index.d.ts +7 -0
- package/dist/components/arcgis-legend-classic-element/index.js +7 -0
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.d.ts +10 -0
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +38 -0
- package/dist/components/arcgis-legend-classic-size-ramp/index.d.ts +2 -0
- package/dist/components/arcgis-legend-classic-size-ramp/index.js +2 -0
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +13 -0
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +55 -0
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +13 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +48 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +15 -0
- package/dist/components/arcgis-legend-classic-view/customElement.js +53 -0
- package/dist/components/arcgis-legend-classic-view/index.d.ts +2 -0
- package/dist/components/arcgis-legend-classic-view/index.js +2 -0
- package/dist/components/arcgis-legend-relationship-ramp/customElement.d.ts +12 -0
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +94 -0
- package/dist/components/arcgis-legend-relationship-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-relationship-ramp/index.js +1 -0
- package/dist/components/arcgis-legend-spike-ramp/customElement.d.ts +10 -0
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +68 -0
- package/dist/components/arcgis-legend-spike-ramp/index.d.ts +1 -0
- package/dist/components/arcgis-legend-spike-ramp/index.js +1 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +7 -6
- package/dist/components/arcgis-map/customElement.js +10 -9
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.d.ts +17 -0
- package/dist/components/arcgis-spinner/customElement.js +66 -0
- package/dist/components/arcgis-spinner/index.d.ts +2 -0
- package/dist/components/arcgis-spinner/index.js +2 -0
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2672 -77
- package/dist/docs/docs.json +2471 -66
- package/dist/docs/vscode.html-custom-data.json +377 -15
- package/dist/docs/web-types.json +647 -40
- package/dist/index.d.ts +70 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +17 -2
- package/dist/types/lumina.d.ts +71 -1
- package/dist/types/preact.d.ts +85 -1
- package/dist/types/react.d.ts +99 -1
- package/dist/types/stencil.d.ts +71 -1
- package/package.json +4 -4
- package/dist/cdn/5LYELUE4.js +0 -4
- package/dist/cdn/BX7RZDWX.js +0 -4
- package/dist/cdn/DQAIINQI.js +0 -4
- package/dist/cdn/G4LBRTF4.js +0 -4
- package/dist/cdn/JCDQWAKQ.js +0 -4
- package/dist/cdn/K2QTC7O3.js +0 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { HeadingLevel } from '../../support/heading';
|
|
5
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
6
|
+
|
|
7
|
+
export type CardLayout = "auto" | "side-by-side" | "stack";
|
|
8
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-card-view/) */
|
|
9
|
+
export declare class LegendCardView extends LitElement {
|
|
10
|
+
activeLayerInfos?: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
11
|
+
/** @default 3 */
|
|
12
|
+
headingLevel: HeadingLevel;
|
|
13
|
+
messages: ArcgisLegend["messages"];
|
|
14
|
+
view: __esri.MapView | __esri.SceneView;
|
|
15
|
+
/**
|
|
16
|
+
* The rendering layout.
|
|
17
|
+
*
|
|
18
|
+
* @default "auto"
|
|
19
|
+
*/
|
|
20
|
+
layout: CardLayout;
|
|
21
|
+
/** The type of style. For Card this value is always `card`. */
|
|
22
|
+
readonly type: "card";
|
|
23
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as d, html as r } from "lit";
|
|
3
|
+
import { repeat as o } from "lit/directives/repeat.js";
|
|
4
|
+
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { substitute as h } from "@arcgis/core/intl.js";
|
|
6
|
+
import { LitElement as m, safeClassMap as a } from "@arcgis/lumina";
|
|
7
|
+
import { classes as f } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { H as _ } from "../../chunks/heading.js";
|
|
9
|
+
import { g as v } from "../../chunks/globalCss.js";
|
|
10
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
+
v4.34.0-next.121 */
|
|
13
|
+
const u = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.arcgis-legend--card__message{padding:.5em 1em}.arcgis-legend--card__service-caption-text{margin:0}.arcgis-legend--card__service-content{display:flex;flex:1}.arcgis-legend--card__service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.arcgis-legend--card__service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content;display:flex;flex-direction:column;flex:1}.arcgis-legend--card__service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, n = {
|
|
14
|
+
message: "arcgis-legend--card__message",
|
|
15
|
+
serviceCaptionText: "arcgis-legend--card__service-caption-text",
|
|
16
|
+
serviceContent: "arcgis-legend--card__service-content",
|
|
17
|
+
service: "arcgis-legend--card__service",
|
|
18
|
+
serviceCaptionContainer: "arcgis-legend--card__service-caption-container"
|
|
19
|
+
}, p = 768;
|
|
20
|
+
class $ extends m {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments), this.stacked = !1, this.headingLevel = 3, this.layout = "auto", this.type = "card";
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.properties = { stacked: 16, activeLayerInfos: 0, headingLevel: 9, messages: 0, view: 0, layout: 1, type: 32 };
|
|
26
|
+
}
|
|
27
|
+
static {
|
|
28
|
+
this.styles = u;
|
|
29
|
+
}
|
|
30
|
+
loaded() {
|
|
31
|
+
this.manager.onLifecycle(() => [
|
|
32
|
+
g(() => [this.layout, this.view.width], () => {
|
|
33
|
+
this.stacked = this.layout === "stack" || (!this.layout || this.layout === "auto") && this.view.width <= p;
|
|
34
|
+
}, { initial: !0 })
|
|
35
|
+
]);
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
return (this.stacked ? this._renderCarousel() : this._renderLayers()) || r`<div class=${a(n.message)}>${this.messages.noLegend}</div>`;
|
|
39
|
+
}
|
|
40
|
+
_renderTitle(e) {
|
|
41
|
+
return r`<div class=${a(n.serviceCaptionContainer)}>${_({ class: f(n.serviceCaptionText, v.heading), level: this.headingLevel, children: e })}</div>`;
|
|
42
|
+
}
|
|
43
|
+
_renderCarousel() {
|
|
44
|
+
const e = [], t = this.activeLayerInfos;
|
|
45
|
+
if (t)
|
|
46
|
+
for (const s of t)
|
|
47
|
+
this._renderSections(s, e);
|
|
48
|
+
return e?.length ? r`<calcite-carousel .label=${this.messages.carousel ?? ""}>${e.map((s, i) => r`<calcite-carousel-item .label=${h(this.messages?.pagination?.pageText ?? "", {
|
|
49
|
+
index: i + 1,
|
|
50
|
+
total: e.length
|
|
51
|
+
})}>${s}</calcite-carousel-item>`)}</calcite-carousel>` : null;
|
|
52
|
+
}
|
|
53
|
+
_renderLayers() {
|
|
54
|
+
const t = this.activeLayerInfos?.toArray()?.map((s) => this._renderLegendForLayer(s)).filter(Boolean);
|
|
55
|
+
return t?.length ? t : null;
|
|
56
|
+
}
|
|
57
|
+
_renderLegendForLayer(e) {
|
|
58
|
+
if (!e.ready)
|
|
59
|
+
return null;
|
|
60
|
+
if (e.children.length) {
|
|
61
|
+
const t = e.children.toArray().map(this._renderLegendForLayer, this);
|
|
62
|
+
return r`<section class=${a(n.service)}>${this._renderTitle(e.title)}<div class=${a(n.serviceContent)}>${t}</div></section>`;
|
|
63
|
+
}
|
|
64
|
+
return this._renderLegendElementsForLayer(e);
|
|
65
|
+
}
|
|
66
|
+
_renderLegendElementsForLayer(e) {
|
|
67
|
+
const t = e.legendElements?.filter(Boolean);
|
|
68
|
+
if (!t?.length)
|
|
69
|
+
return null;
|
|
70
|
+
const s = o(t, (i) => `${e.layer.uid}-${i.type}`, (i) => r`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter ?? void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${i} .messages=${this.messages}></arcgis-legend-card-element>`);
|
|
71
|
+
return r`<section class=${a(n.service)}>${this._renderTitle(e.title)}<div class=${a(n.serviceContent)}>${s}</div></section>`;
|
|
72
|
+
}
|
|
73
|
+
_renderSections(e, t) {
|
|
74
|
+
if (!e.ready)
|
|
75
|
+
return;
|
|
76
|
+
if (e.children.length)
|
|
77
|
+
for (const i of e.children)
|
|
78
|
+
this._renderSections(i, t);
|
|
79
|
+
const s = e.legendElements;
|
|
80
|
+
if (s?.length)
|
|
81
|
+
for (const i of s) {
|
|
82
|
+
const c = r`<arcgis-legend-card-element .activeLayerInfo=${e} .cssEffectFilter=${e.cssEffectFilter ?? void 0} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${e.layer} .legendElement=${i} .messages=${this.messages}></arcgis-legend-card-element>`;
|
|
83
|
+
c && t.push(c);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
l("arcgis-legend-card-view", $);
|
|
88
|
+
export {
|
|
89
|
+
$ as LegendCardView
|
|
90
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
5
|
+
|
|
6
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-classic-color-ramp/) */
|
|
7
|
+
export declare class ArcgisLegendClassicColorRamp extends LitElement {
|
|
8
|
+
legendElement: __esri.ColorRampElement | __esri.HeatmapRampElement | __esri.OpacityRampElement | __esri.StretchRampElement;
|
|
9
|
+
/** @default 1 */
|
|
10
|
+
opacity: number;
|
|
11
|
+
messages: ArcgisLegend["messages"];
|
|
12
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as c, html as r } from "lit";
|
|
3
|
+
import { LitElement as g, safeClassMap as i, safeStyleMap as p } from "@arcgis/lumina";
|
|
4
|
+
import { g as o } from "../../chunks/utils2.js";
|
|
5
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
+
v4.34.0-next.121 */
|
|
8
|
+
const m = c`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent rgba(0,1,0) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent rgba(0,1,0)}`, a = {
|
|
9
|
+
layerRow: "arcgis-legend__layer-row",
|
|
10
|
+
layerInfo: "arcgis-legend__layer-cell arcgis-legend__layer-cell--info",
|
|
11
|
+
symbolContainer: "arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",
|
|
12
|
+
rampContainer: "arcgis-legend__ramps",
|
|
13
|
+
colorRamp: "arcgis-legend__color-ramp",
|
|
14
|
+
opacityRamp: "arcgis-legend__opacity-ramp",
|
|
15
|
+
rampLabelsContainer: "arcgis-legend__ramp-labels",
|
|
16
|
+
rampLabel: "arcgis-legend__ramp-label"
|
|
17
|
+
};
|
|
18
|
+
class d extends g {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.properties = { _preview: 16, legendElement: 0, opacity: 9, messages: 0 };
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
this.styles = m;
|
|
27
|
+
}
|
|
28
|
+
get _preview() {
|
|
29
|
+
const e = this.legendElement.preview;
|
|
30
|
+
if (!e)
|
|
31
|
+
return null;
|
|
32
|
+
const l = this.legendElement.type === "opacity-ramp" ? a.opacityRamp : "";
|
|
33
|
+
return e.className = `${a.colorRamp} ${l}`, this.opacity != null && (e.style.opacity = this.opacity.toString()), e;
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
const { legendElement: e, _preview: l } = this;
|
|
37
|
+
if (!l)
|
|
38
|
+
return null;
|
|
39
|
+
const t = { height: l.style.height };
|
|
40
|
+
return r`<div class=${i(a.layerRow)}><div class=${i(a.symbolContainer)}><div class=${i(a.rampContainer)}>${l}</div></div><div class=${i(a.layerInfo)}><div class=${i(a.rampLabelsContainer)} style=${p(t)}>${e.infos.map((s) => this._renderRampLabel(s, e.type))}</div></div></div>`;
|
|
41
|
+
}
|
|
42
|
+
_renderRampLabel(e, l) {
|
|
43
|
+
return r`<div class=${i(e.label ? a.rampLabel : void 0)}>${o(e, l, this.messages)}</div>`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
n("arcgis-legend-classic-color-ramp", d);
|
|
47
|
+
export {
|
|
48
|
+
d as ArcgisLegendClassicColorRamp
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
5
|
+
|
|
6
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-classic-element/) */
|
|
7
|
+
export declare class ArcgisLegendClassicElement extends LitElement {
|
|
8
|
+
cssEffectFilter?: string;
|
|
9
|
+
layer: __esri.Layer;
|
|
10
|
+
legendElement: __esri.LegendElement;
|
|
11
|
+
messages: ArcgisLegend["messages"];
|
|
12
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as _, html as a } from "lit";
|
|
3
|
+
import { LitElement as b, safeClassMap as i, nothing as n, safeStyleMap as $ } from "@arcgis/lumina";
|
|
4
|
+
import { classes as g } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { a as v, g as y } from "../../chunks/titleUtils.js";
|
|
6
|
+
import { i as f } from "../../chunks/utils2.js";
|
|
7
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
+
v4.34.0-next.121 */
|
|
10
|
+
const u = _`.arcgis-legend__layer-table{display:flex;flex-flow:column;margin-bottom:var(--calcite-spacing-md);width:100%}.arcgis-legend__layer-table--size-ramp{display:table}.arcgis-legend__layer-table--size-ramp .arcgis-legend__layer-cell{display:table-cell}.arcgis-legend__layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-table--size-ramp .arcgis-legend__layer-row{display:table-row}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word;display:flex;align-items:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__imagery-layer-image--stretched{display:block;margin-bottom:-2px}.arcgis-legend__imagery-layer-info--stretched{padding:0 2px;vertical-align:top}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__symbol{display:flex;justify-content:center}`, s = {
|
|
11
|
+
layerTable: "arcgis-legend__layer-table",
|
|
12
|
+
layerTableSizeRamp: "arcgis-legend__layer-table--size-ramp",
|
|
13
|
+
layerCaption: "arcgis-legend__layer-caption",
|
|
14
|
+
layerBody: "arcgis-legend__layer-body",
|
|
15
|
+
layerRow: "arcgis-legend__layer-row",
|
|
16
|
+
layerInfo: "arcgis-legend__layer-cell arcgis-legend__layer-cell--info",
|
|
17
|
+
imageryLayerStretchedImage: "arcgis-legend__imagery-layer-image--stretched",
|
|
18
|
+
imageryLayerInfoStretched: "arcgis-legend__imagery-layer-info--stretched",
|
|
19
|
+
symbolContainer: "arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",
|
|
20
|
+
symbol: "arcgis-legend__symbol"
|
|
21
|
+
};
|
|
22
|
+
class w extends b {
|
|
23
|
+
static {
|
|
24
|
+
this.properties = { cssEffectFilter: 1, layer: 0, legendElement: 0, messages: 0 };
|
|
25
|
+
}
|
|
26
|
+
static {
|
|
27
|
+
this.styles = u;
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
const e = this._renderLegendElement(), r = v(this.legendElement, this.messages), l = r ? a`<div class=${i(s.layerCaption)}>${r}</div>` : null, t = {
|
|
31
|
+
[s.layerTableSizeRamp]: this.legendElement.type === "size-ramp"
|
|
32
|
+
};
|
|
33
|
+
return a`<section class=${i(g(s.layerTable, t))}>${l}${e}</section>`;
|
|
34
|
+
}
|
|
35
|
+
_renderLegendElement() {
|
|
36
|
+
switch (this.legendElement.type) {
|
|
37
|
+
case "symbol-table":
|
|
38
|
+
return this._renderSymbolTable(this.legendElement);
|
|
39
|
+
case "size-ramp":
|
|
40
|
+
return a`<arcgis-legend-classic-size-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-classic-size-ramp>`;
|
|
41
|
+
case "color-ramp":
|
|
42
|
+
case "opacity-ramp":
|
|
43
|
+
case "heatmap-ramp":
|
|
44
|
+
case "stretch-ramp":
|
|
45
|
+
return a`<arcgis-legend-classic-color-ramp .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-classic-color-ramp>`;
|
|
46
|
+
case "relationship-ramp":
|
|
47
|
+
return a`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;
|
|
48
|
+
case "pie-chart-ramp":
|
|
49
|
+
return a`<div>${this.legendElement.preview}</div>`;
|
|
50
|
+
case "univariate-above-and-below-ramp":
|
|
51
|
+
return a`<arcgis-legend-classic-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-classic-univariate-above-and-below-ramp>`;
|
|
52
|
+
case "univariate-color-size-ramp":
|
|
53
|
+
return a`<arcgis-legend-classic-univariate-color-size-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-classic-univariate-color-size-ramp>`;
|
|
54
|
+
default:
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
_renderSymbolTable(e) {
|
|
59
|
+
const r = e.infos.map((l) => this._renderElementInfo(l, e.legendType)).filter(Boolean);
|
|
60
|
+
return r.length ? a`<div class=${i(s.layerBody)}>${r}</div>` : null;
|
|
61
|
+
}
|
|
62
|
+
_renderElementInfo(e, r) {
|
|
63
|
+
const { layer: l } = this, t = "label" in e ? e.label : null;
|
|
64
|
+
if ("type" in e && e.type)
|
|
65
|
+
return e ? a`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${l} .legendElement=${e} .messages=${this.messages}></arcgis-legend-classic-element>` : null;
|
|
66
|
+
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
67
|
+
return null;
|
|
68
|
+
const c = f(l, r), d = {
|
|
69
|
+
[s.imageryLayerInfoStretched]: c
|
|
70
|
+
}, o = {
|
|
71
|
+
[s.imageryLayerInfoStretched]: c
|
|
72
|
+
};
|
|
73
|
+
return a`<div class=${i(s.layerRow)}><div class=${i(g(s.symbolContainer, o))}>${this._renderPreview(e, c)}</div><div class=${i(g(s.layerInfo, d))}>${y(this.messages, t, !1) || ""}</div></div>`;
|
|
74
|
+
}
|
|
75
|
+
_renderPreview(e, r) {
|
|
76
|
+
const { layer: l } = this;
|
|
77
|
+
return "preview" in e && e.preview ? a`<div class=${i(s.symbol)}>${e.preview}</div>` : "src" in e && e.src ? this._renderImage(e, l, r) : null;
|
|
78
|
+
}
|
|
79
|
+
_renderImage(e, r, l) {
|
|
80
|
+
const { label: t, src: c, opacity: d } = e, o = {
|
|
81
|
+
[s.imageryLayerStretchedImage]: l,
|
|
82
|
+
[s.symbol]: !l
|
|
83
|
+
}, p = {
|
|
84
|
+
opacity: `${d ?? r.opacity}`
|
|
85
|
+
}, m = y(this.messages, t, !1);
|
|
86
|
+
return a`<img alt=${m ?? n} .ariaLabel=${m} class=${i(g(o))} height=${e.height ?? void 0 ?? n} src=${c ?? n} style=${$(p)} width=${e.width ?? void 0 ?? n}>`;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
h("arcgis-legend-classic-element", w);
|
|
90
|
+
export {
|
|
91
|
+
w as ArcgisLegendClassicElement
|
|
92
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../arcgis-legend-classic-size-ramp/index.js";
|
|
2
|
+
import "../arcgis-legend-classic-color-ramp/index.js";
|
|
3
|
+
import "../arcgis-legend-relationship-ramp/index.js";
|
|
4
|
+
import "../arcgis-legend-classic-univariate-above-and-below-ramp/index.js";
|
|
5
|
+
import "../arcgis-legend-classic-univariate-color-size-ramp/index.js";
|
|
6
|
+
import ".//index.js";
|
|
7
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../arcgis-legend-classic-size-ramp/index.js";
|
|
2
|
+
import "../arcgis-legend-classic-color-ramp/index.js";
|
|
3
|
+
import "../arcgis-legend-relationship-ramp/index.js";
|
|
4
|
+
import "../arcgis-legend-classic-univariate-above-and-below-ramp/index.js";
|
|
5
|
+
import "../arcgis-legend-classic-univariate-color-size-ramp/index.js";
|
|
6
|
+
import ".//index.js";
|
|
7
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
5
|
+
|
|
6
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-classic-size-ramp/) */
|
|
7
|
+
export declare class ArcgisLegendClassicSizeRamp extends LitElement {
|
|
8
|
+
legendElement: __esri.SizeRampElement;
|
|
9
|
+
messages: ArcgisLegend["messages"];
|
|
10
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as t, html as a } from "lit";
|
|
3
|
+
import { LitElement as c, safeClassMap as i } from "@arcgis/lumina";
|
|
4
|
+
import { classes as r } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { g as m } from "../../chunks/titleUtils.js";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
+
v4.34.0-next.121 */
|
|
9
|
+
const g = t`.arcgis-legend__size-ramp--container{margin-left:var(--calcite-spacing-sm);display:table}:dir(rtl) .arcgis-legend__size-ramp--container{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__size-ramp--row{display:table-row}.arcgis-legend__size-ramp--cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word;display:table-cell}.arcgis-legend__size-ramp--label{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__size-ramp--symbol-container{min-width:10px;text-align:center}.arcgis-legend__size-ramp--symbol{display:flex;justify-content:center}`, e = {
|
|
10
|
+
container: "arcgis-legend__size-ramp--container",
|
|
11
|
+
row: "arcgis-legend__size-ramp--row",
|
|
12
|
+
cell: "arcgis-legend__size-ramp--cell",
|
|
13
|
+
label: "arcgis-legend__size-ramp--label",
|
|
14
|
+
symbol: "arcgis-legend__size-ramp--symbol",
|
|
15
|
+
symbolContainer: "arcgis-legend__size-ramp--symbol-container"
|
|
16
|
+
};
|
|
17
|
+
class d extends c {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments), this.legendElement = null;
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.properties = { legendElement: 0, messages: 0 };
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.styles = g;
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const s = this.legendElement.infos.map((l) => this._renderRow(l)).filter(Boolean);
|
|
29
|
+
return s.length ? this.legendElement.theme === "spike" ? a`<arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp>` : a`<div class=${i(e.container)}>${s}</div>` : null;
|
|
30
|
+
}
|
|
31
|
+
_renderRow(s) {
|
|
32
|
+
return s.preview ? a`<div class=${i(e.row)}><div class=${i(r(e.cell, e.symbolContainer))}><div class=${i(e.symbol)}>${s.preview}</div></div><div class=${i(r(e.cell, e.label))}>${m(this.messages, s.label, !1) || ""}</div></div>` : null;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
n("arcgis-legend-classic-size-ramp", d);
|
|
36
|
+
export {
|
|
37
|
+
d as ArcgisLegendClassicSizeRamp
|
|
38
|
+
};
|
package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
5
|
+
|
|
6
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-classic-univariate-above-and-below-ramp/) */
|
|
7
|
+
export declare class ArcgisLegendClassicUnivariateAboveAndBelowRamp extends LitElement {
|
|
8
|
+
cssEffectFilter?: string;
|
|
9
|
+
legendElement: __esri.UnivariateColorSizeRampElement;
|
|
10
|
+
/** @default 1 */
|
|
11
|
+
opacity: number;
|
|
12
|
+
messages: ArcgisLegend["messages"];
|
|
13
|
+
}
|
package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { c as M } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as k, html as t } from "lit";
|
|
3
|
+
import { LitElement as F, safeClassMap as i, safeStyleMap as a } from "@arcgis/lumina";
|
|
4
|
+
import { f as P, b as y, c as f, a as U, u as I, d as _, e as c } from "../../chunks/univariateUtils.js";
|
|
5
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
+
v4.34.0-next.121 */
|
|
8
|
+
const j = k`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm);display:table}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row{display:table-row}.arcgis-legend__layer-cell{display:table-cell;padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent rgba(0,1,0) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent rgba(0,1,0)}.arcgis-univariate-above-and-below-ramp__label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-univariate-above-and-below-ramp__label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-univariate-above-and-below-ramp__label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-univariate-above-and-below-ramp__label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-univariate-above-and-below-ramp__label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`, e = {
|
|
9
|
+
layerBody: "arcgis-legend__layer-body",
|
|
10
|
+
layerRow: "arcgis-legend__layer-row",
|
|
11
|
+
layerInfo: "arcgis-legend__layer-cell arcgis-legend__layer-cell--info",
|
|
12
|
+
symbol: "arcgis-legend__symbol",
|
|
13
|
+
rampContainer: "arcgis-legend__ramps",
|
|
14
|
+
rampLabelsContainer: "arcgis-legend__ramp-labels",
|
|
15
|
+
rampLabel: "arcgis-legend__ramp-label",
|
|
16
|
+
univariateAboveAndBelowLabel: "arcgis-univariate-above-and-below-ramp__label"
|
|
17
|
+
};
|
|
18
|
+
class H extends F {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.properties = { cssEffectFilter: 1, legendElement: 0, opacity: 9, messages: 0 };
|
|
24
|
+
}
|
|
25
|
+
static {
|
|
26
|
+
this.styles = j;
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const { legendElement: w, opacity: d } = this, { sizeRampElement: s, colorRampElement: p } = P(w, d);
|
|
30
|
+
if (!s)
|
|
31
|
+
return null;
|
|
32
|
+
const m = this.messages.previewColorRampAriaLabel, g = y(s, "above", !0), v = y(s, "below", !0), b = 12, o = f(p, {
|
|
33
|
+
width: b,
|
|
34
|
+
height: g,
|
|
35
|
+
rampAlignment: "vertical",
|
|
36
|
+
opacity: d,
|
|
37
|
+
type: "above",
|
|
38
|
+
cssEffectFilter: this.cssEffectFilter,
|
|
39
|
+
ariaLabel: m
|
|
40
|
+
}), h = f(p, {
|
|
41
|
+
width: b,
|
|
42
|
+
height: v,
|
|
43
|
+
rampAlignment: "vertical",
|
|
44
|
+
opacity: d,
|
|
45
|
+
type: "below",
|
|
46
|
+
cssEffectFilter: this.cssEffectFilter,
|
|
47
|
+
ariaLabel: m
|
|
48
|
+
}), u = U(s), n = s.infos.map((l) => l.label), $ = n.map((l, r) => r === 0 ? t`<div class=${i(l ? o ? e.univariateAboveAndBelowLabel : e.rampLabel : void 0)}>${l}</div>` : r === 2 ? t`<div></div>` : null), L = n.length - 1, R = Math.floor(n.length / 2), x = n.map((l, r) => r === R || r === L ? t`<div class=${i(l ? o ? e.univariateAboveAndBelowLabel : e.rampLabel : void 0)}>${l}</div>` : null), A = { display: "table-cell", verticalAlign: "middle" }, C = { marginTop: `${u}px` }, E = { height: `${g}px` }, z = { height: `${v}px` };
|
|
49
|
+
return t`<div style=${a(I)}><div class=${i(e.layerBody)}>${s.infos.map((l, r) => t`<div class=${i(e.layerRow)}><div class=${i(e.symbol)} style=${a(A)}>${l.preview}</div>${!o && r % 2 === 0 ? t`<div class=${i(e.layerInfo)}>${n[r]}</div>` : null}</div>`)}</div>${o ? t`<div style=${a(C)}><div style=${a(_)}><div style=${a(c)}><div class=${i(e.rampContainer)}>${o}</div></div><div style=${a(c)}><div class=${i(e.rampLabelsContainer)} style=${a(E)}>${$}</div></div></div><div style=${a(_)}><div style=${a(c)}><div class=${i(e.rampContainer)}>${h}</div></div><div style=${a(c)}><div class=${i(e.rampLabelsContainer)} style=${a(z)}>${x}</div></div></div></div>` : null}</div>`;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
M("arcgis-legend-classic-univariate-above-and-below-ramp", H);
|
|
53
|
+
export {
|
|
54
|
+
H as ArcgisLegendClassicUnivariateAboveAndBelowRamp
|
|
55
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
5
|
+
|
|
6
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-classic-univariate-color-size-ramp/) */
|
|
7
|
+
export declare class ArcgisLegendClassicUnivariateColorSizeRamp extends LitElement {
|
|
8
|
+
cssEffectFilter?: string;
|
|
9
|
+
legendElement: __esri.UnivariateColorSizeRampElement;
|
|
10
|
+
/** @default 1 */
|
|
11
|
+
opacity: number;
|
|
12
|
+
messages: ArcgisLegend["messages"];
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as w, html as t } from "lit";
|
|
3
|
+
import { LitElement as R, safeClassMap as l, safeStyleMap as a } from "@arcgis/lumina";
|
|
4
|
+
import { classes as $ } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { g as x, a as z, b as C, c as E, u as L, d as S, e as c } from "../../chunks/univariateUtils.js";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
+
v4.34.0-next.121 */
|
|
9
|
+
const U = w`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row,.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__size-ramp~.arcgis-legend__layer-cell--info{width:80%;max-width:80%}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent rgba(0,1,0) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent rgba(0,1,0)}.arcgis-legend__univariate-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__univariate-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-legend__univariate-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-legend__univariate-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-legend__univariate-label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-legend__univariate-label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`, e = {
|
|
10
|
+
layerBody: "arcgis-legend__layer-body",
|
|
11
|
+
layerRow: "arcgis-legend__layer-row",
|
|
12
|
+
symbol: "arcgis-legend__symbol",
|
|
13
|
+
rampContainer: "arcgis-legend__ramps",
|
|
14
|
+
sizeRamp: "arcgis-legend__size-ramp",
|
|
15
|
+
rampLabelsContainer: "arcgis-legend__ramp-labels",
|
|
16
|
+
rampLabel: "arcgis-legend__ramp-label",
|
|
17
|
+
univariateLabel: "arcgis-legend__univariate-label"
|
|
18
|
+
};
|
|
19
|
+
class A extends R {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
22
|
+
}
|
|
23
|
+
static {
|
|
24
|
+
this.properties = { cssEffectFilter: 1, legendElement: 0, opacity: 9, messages: 0 };
|
|
25
|
+
}
|
|
26
|
+
static {
|
|
27
|
+
this.styles = U;
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
const { legendElement: g, opacity: p } = this, { sizeRampElement: i, colorRampElement: s } = x(g);
|
|
31
|
+
if (!i)
|
|
32
|
+
return null;
|
|
33
|
+
const m = z(i), d = 12, n = C(i, "full", !1), v = E(s, {
|
|
34
|
+
width: d,
|
|
35
|
+
height: n,
|
|
36
|
+
rampAlignment: "vertical",
|
|
37
|
+
opacity: p,
|
|
38
|
+
type: "full",
|
|
39
|
+
cssEffectFilter: this.cssEffectFilter,
|
|
40
|
+
ariaLabel: this.messages?.previewColorRampAriaLabel
|
|
41
|
+
}), b = i.infos.length - 1, _ = i.infos.map((r, o) => o === 0 || o === b ? t`<div class=${l(r.label ? s ? e.univariateLabel : e.rampLabel : void 0)}>${r.label}</div>` : null), f = { display: "table-cell", verticalAlign: "middle" }, y = { marginTop: `${m}px` }, h = { height: `${n}px` };
|
|
42
|
+
return t`<div style=${a(L)}><div class=${l(e.layerBody)}>${i.infos.map((r) => t`<div class=${l($(e.layerRow, e.sizeRamp))}><div class=${l(e.symbol)} style=${a(f)}>${r.preview}</div></div>`)}</div><div style=${a(y)}><div style=${a(S)}><div style=${a(c)}><div class=${l(e.rampContainer)}>${v}</div></div><div style=${a(c)}><div class=${l(e.rampLabelsContainer)} style=${a(h)}>${_}</div></div></div></div></div>`;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
u("arcgis-legend-classic-univariate-color-size-ramp", A);
|
|
46
|
+
export {
|
|
47
|
+
A as ArcgisLegendClassicUnivariateColorSizeRamp
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { HeadingLevel } from '../../support/heading';
|
|
5
|
+
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
6
|
+
|
|
7
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend-classic-view/) */
|
|
8
|
+
export declare class LegendClassicView extends LitElement {
|
|
9
|
+
activeLayerInfos?: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
10
|
+
/** @default 3 */
|
|
11
|
+
headingLevel: HeadingLevel;
|
|
12
|
+
/** The type of style. For Classic this value is always `classic`. */
|
|
13
|
+
readonly type: "classic";
|
|
14
|
+
messages: ArcgisLegend["messages"];
|
|
15
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as g, html as i } from "lit";
|
|
3
|
+
import { LitElement as o, safeClassMap as t } from "@arcgis/lumina";
|
|
4
|
+
import { classes as m } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { H as h } from "../../chunks/heading.js";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
+
v4.34.0-next.121 */
|
|
9
|
+
const _ = g`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:block}.arcgis-legend__no-legend{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md)}.arcgis-legend__layer{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-sm);word-wrap:break-word}.arcgis-legend__layer:last-child{border-bottom:none}.arcgis-legend__layer--elements{margin-left:var(--calcite-spacing-sm);overflow:auto}.arcgis-legend__layer-child{margin-left:var(--calcite-spacing-sm);padding-right:0;padding-left:0}:dir(rtl) .arcgis-legend__layer--elements,:dir(rtl) .arcgis-legend__layer-child{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}`, l = {
|
|
10
|
+
layer: "arcgis-legend__layer",
|
|
11
|
+
layerElements: "arcgis-legend__layer--elements",
|
|
12
|
+
layerChild: "arcgis-legend__layer-child",
|
|
13
|
+
noLegend: "arcgis-legend__no-legend"
|
|
14
|
+
};
|
|
15
|
+
class y extends o {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments), this.headingLevel = 3, this.type = "classic";
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.properties = { activeLayerInfos: 0, headingLevel: 9, type: 32, messages: 0 };
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.styles = _;
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const s = this.activeLayerInfos?.toArray().map((r) => this._renderLegendForLayer(r)).filter(Boolean);
|
|
27
|
+
return s?.length ? i`<section>${s}</section>` : i`<div class=${t(l.noLegend)}>${this.messages.noLegend}</div>`;
|
|
28
|
+
}
|
|
29
|
+
_renderLegendForLayer(e) {
|
|
30
|
+
if (!e.ready)
|
|
31
|
+
return null;
|
|
32
|
+
const s = e.title ? h({
|
|
33
|
+
level: this.headingLevel,
|
|
34
|
+
children: e.title
|
|
35
|
+
}) : null;
|
|
36
|
+
if (e.children.length) {
|
|
37
|
+
const r = e.children.toArray().map((a) => this._renderLegendForLayer(a));
|
|
38
|
+
return i`<section class=${t(l.layer)}>${s}${r}</section>`;
|
|
39
|
+
}
|
|
40
|
+
return this._renderLegendElementsForLayer(e, s);
|
|
41
|
+
}
|
|
42
|
+
_renderLegendElementsForLayer(e, s) {
|
|
43
|
+
const r = e.legendElements?.filter(Boolean);
|
|
44
|
+
if (!r?.length)
|
|
45
|
+
return null;
|
|
46
|
+
const a = r.map((c) => i`<arcgis-legend-classic-element .cssEffectFilter=${e.cssEffectFilter ?? void 0} .layer=${e.layer} .legendElement=${c} .messages=${this.messages}></arcgis-legend-classic-element>`), n = { [l.layerChild]: !!e.parent };
|
|
47
|
+
return i`<section class=${t(m(l.layer, n))}>${s}<div class=${t(l.layerElements)}>${a}</div></section>`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
d("arcgis-legend-classic-view", y);
|
|
51
|
+
export {
|
|
52
|
+
y as LegendClassicView
|
|
53
|
+
};
|