@arcgis/map-components 4.34.0-next.120 → 4.34.0-next.122
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/{B72JD5TO.js → 24QOAYDK.js} +2 -2
- package/dist/cdn/{FKUDUOEH.js → 25COAISL.js} +2 -2
- package/dist/cdn/{KCWL6UV4.js → 2I7LO3UT.js} +2 -2
- package/dist/cdn/{2HE2Z5NV.js → 2SGQ2L6N.js} +2 -2
- package/dist/cdn/2TJX62X4.js +4 -0
- package/dist/cdn/2UJ5F23Z.js +4 -0
- package/dist/cdn/{7TT4U7QY.js → 2YEIGOPG.js} +1 -1
- package/dist/cdn/{MN7CAQNX.js → 3LE5WXLU.js} +2 -2
- package/dist/cdn/{NOOBN67X.js → 3OERPG4C.js} +2 -2
- package/dist/cdn/44CVJOQC.js +4 -0
- package/dist/cdn/{LFZLQDDG.js → 4BPA3JA6.js} +2 -2
- package/dist/cdn/4EFZS352.js +4 -0
- package/dist/cdn/{FZI3AKTY.js → 4F5UOHKP.js} +1 -1
- package/dist/cdn/4TEKR2PV.js +4 -0
- package/dist/cdn/{COKDS53J.js → 4WCD3MYU.js} +2 -2
- package/dist/cdn/{5Y6Z6AU2.js → 4WVNABYU.js} +2 -2
- package/dist/cdn/4XIYZWSF.js +4 -0
- package/dist/cdn/4YXPME7B.js +4 -0
- package/dist/cdn/{EJ4Y7VTU.js → 54XEJ3QW.js} +2 -2
- package/dist/cdn/{I5VTUAC2.js → 5GCMPBWU.js} +2 -2
- package/dist/cdn/{YTOJP56H.js → 5MVNKBCG.js} +2 -2
- package/dist/cdn/5UTFAHXX.js +4 -0
- package/dist/cdn/5XPHCAAJ.js +4 -0
- package/dist/cdn/{I76USMBY.js → 65OX3CUB.js} +2 -2
- package/dist/cdn/{PKQNTFVZ.js → 6KYIR5C7.js} +2 -2
- package/dist/cdn/{G5MXZ3RB.js → 6SDHFX6T.js} +1 -1
- package/dist/cdn/6YHBEZX3.js +4 -0
- package/dist/cdn/6ZGP33QR.js +4 -0
- package/dist/cdn/{IMZUUJPE.js → 7774ECRP.js} +2 -2
- package/dist/cdn/{WUW4ZK2I.js → 7ACNO2AB.js} +2 -2
- package/dist/cdn/{VB3ERSMR.js → 7MMERZAD.js} +2 -2
- package/dist/cdn/{XW7I2P5P.js → 7N5SW52Y.js} +2 -2
- package/dist/cdn/{PLHQIKNT.js → A2PS7D5T.js} +2 -2
- package/dist/cdn/{IYY5KGSN.js → A3FCIDC7.js} +2 -2
- package/dist/cdn/{5PEK6KXY.js → AGFMEIVQ.js} +2 -2
- package/dist/cdn/{6AHLLAZO.js → AGMAIUGT.js} +2 -2
- package/dist/cdn/{WC7XPTBO.js → AHCYCHKH.js} +2 -2
- package/dist/cdn/{VTV2KINX.js → AIKOCYSZ.js} +2 -2
- package/dist/cdn/{UKNIOOAM.js → ARA5XXOM.js} +2 -2
- package/dist/cdn/{WN7VB3T5.js → AS62J7GQ.js} +2 -2
- package/dist/cdn/ATITHW4Y.js +4 -0
- package/dist/cdn/AV2LGRVP.js +4 -0
- package/dist/cdn/AZXZU6UG.js +4 -0
- package/dist/cdn/{ST4EJC3A.js → B2RFCJ5G.js} +2 -2
- package/dist/cdn/BDIWKUSR.js +4 -0
- package/dist/cdn/{UYR2Z7HF.js → BGXF3VHP.js} +2 -2
- package/dist/cdn/BKVJXKKC.js +4 -0
- package/dist/cdn/{BQGF3TJR.js → BSKX6IMQ.js} +2 -2
- package/dist/cdn/{P6HS5PC7.js → BSRYOSKX.js} +1 -1
- package/dist/cdn/BUJPO5XU.js +4 -0
- package/dist/cdn/{OC6TPBNB.js → BWTZVHWG.js} +2 -2
- package/dist/cdn/C2JARRH3.js +4 -0
- package/dist/cdn/CKKCUJ2J.js +4 -0
- package/dist/cdn/CRBFWZG7.js +4 -0
- package/dist/cdn/{P3B3P7L4.js → CXWWYBCL.js} +2 -2
- package/dist/cdn/{33OF3ZBL.js → DEZRR733.js} +2 -2
- package/dist/cdn/{YMLJJXLE.js → DGBRG7Q6.js} +2 -2
- package/dist/cdn/{SM6XPVPD.js → DNV7ARLA.js} +2 -2
- package/dist/cdn/{BHXMZU2O.js → DPMMLJIC.js} +2 -2
- package/dist/cdn/{YLIV52HA.js → DRKFPB5P.js} +2 -2
- package/dist/cdn/DX3UA6YF.js +4 -0
- package/dist/cdn/DZZIDIEA.js +4 -0
- package/dist/cdn/EIA3233Z.js +4 -0
- package/dist/cdn/{EX5SJOG7.js → EXZ32TSQ.js} +2 -2
- package/dist/cdn/F2I6TAH6.js +4 -0
- package/dist/cdn/F3Z6MV7Q.js +4 -0
- package/dist/cdn/{6U67NGEC.js → F4DI54E4.js} +2 -2
- package/dist/cdn/FG6G3JX2.js +4 -0
- package/dist/cdn/FGZ7KZN6.js +4 -0
- package/dist/cdn/FSXZTYYJ.js +4 -0
- package/dist/cdn/{LGUSMSGI.js → G4L6W6YB.js} +2 -2
- package/dist/cdn/{25ZDGUMM.js → G4VNBAI3.js} +1 -1
- package/dist/cdn/G6SJVKV7.js +4 -0
- package/dist/cdn/GI3LH46M.js +4 -0
- package/dist/cdn/GJDE5YRP.js +4 -0
- package/dist/cdn/GLETJSDS.js +4 -0
- package/dist/cdn/H73EBIUQ.js +4 -0
- package/dist/cdn/HCYRVFBP.js +4 -0
- package/dist/cdn/{Q5YQK2S3.js → HET3QDPM.js} +2 -2
- package/dist/cdn/HFG3YICH.js +4 -0
- package/dist/cdn/HKCSOE7A.js +4 -0
- package/dist/cdn/{R7M5WN2E.js → HMFSKCUA.js} +2 -2
- package/dist/cdn/{TCWVCV45.js → HMPF4F6A.js} +2 -2
- package/dist/cdn/HVX4YZLV.js +4 -0
- package/dist/cdn/{AWVU24JV.js → ICHIVOO2.js} +2 -2
- package/dist/cdn/{MIXSCPX5.js → IFL2SG6G.js} +2 -2
- package/dist/cdn/IMDAIDHE.js +4 -0
- package/dist/cdn/INH6VSM6.js +4 -0
- package/dist/cdn/J4G7ZYDV.js +4 -0
- package/dist/cdn/{N622KPPP.js → JABGY3LS.js} +2 -2
- package/dist/cdn/{IMBF7SKO.js → JCPR5IDI.js} +2 -2
- package/dist/cdn/JE2C5YST.js +4 -0
- package/dist/cdn/{6PHSJ3A3.js → JEMSZWRF.js} +2 -2
- package/dist/cdn/{ICP3J2N2.js → JN5QU22C.js} +2 -2
- package/dist/cdn/{CVTGNNNT.js → JO3624W2.js} +1 -1
- package/dist/cdn/{EGQJWIJU.js → JQG2EYDV.js} +2 -2
- package/dist/cdn/JVLSGQNX.js +4 -0
- package/dist/cdn/{ARQIMOEK.js → KINAHUEA.js} +2 -2
- package/dist/cdn/{2CXHMQTJ.js → KPW26ICE.js} +2 -2
- package/dist/cdn/{RQXFAZND.js → KQD6WAOZ.js} +2 -2
- package/dist/cdn/{ZKXGN63L.js → KT6NGDLY.js} +2 -2
- package/dist/cdn/KWAD7U3K.js +4 -0
- package/dist/cdn/KXK6YPVN.js +4 -0
- package/dist/cdn/{MYQDZZBV.js → KXPWLYMR.js} +2 -2
- package/dist/cdn/L2DK7UOF.js +4 -0
- package/dist/cdn/{AP3CYFMQ.js → LABTSTGZ.js} +2 -2
- package/dist/cdn/{HWPWUKY6.js → LMJMWYY7.js} +1 -1
- package/dist/cdn/{MZ6IXKKM.js → LVALMGZY.js} +2 -2
- package/dist/cdn/MAPN3WRY.js +4 -0
- package/dist/cdn/{HNLDTV7N.js → MAUD5CXT.js} +2 -2
- package/dist/cdn/{3KUOKMM6.js → MDS4ATRT.js} +2 -2
- package/dist/cdn/MKLBWVTY.js +4 -0
- package/dist/cdn/MSB52RLX.js +7 -0
- package/dist/cdn/MSQUWGCM.js +4 -0
- package/dist/cdn/MTJOF4UU.js +4 -0
- package/dist/cdn/{QRC7ZBBC.js → MX272IGS.js} +2 -2
- package/dist/cdn/{MGVKUYDH.js → N35ZFO2Q.js} +2 -2
- package/dist/cdn/N6Q54SM7.js +4 -0
- package/dist/cdn/N7K7DWZP.js +4 -0
- package/dist/cdn/{SNNTEXLH.js → NDWCMWQR.js} +2 -2
- package/dist/cdn/NF5J5DVG.js +4 -0
- package/dist/cdn/NKAQA6AI.js +4 -0
- package/dist/cdn/{MH7KAJHO.js → NLPVUUAQ.js} +2 -2
- package/dist/cdn/NNZBJTIY.js +4 -0
- package/dist/cdn/NRQMOT2P.js +4 -0
- package/dist/cdn/{W34GBMIV.js → NUQ4J6FO.js} +2 -2
- package/dist/cdn/{CE6ML33U.js → NV5HISV3.js} +2 -2
- package/dist/cdn/OBNSVR7V.js +4 -0
- package/dist/cdn/OBWQQOL4.js +4 -0
- package/dist/cdn/OECDVZPL.js +5 -0
- package/dist/cdn/{7HIZTTHU.js → OGU2N6GE.js} +2 -2
- package/dist/cdn/ONLMT3TZ.js +4 -0
- package/dist/cdn/{QWAMBTBH.js → OO7WKSG4.js} +2 -2
- package/dist/cdn/{6HHUN5YQ.js → OOTRZD4Y.js} +2 -2
- package/dist/cdn/OVLYJ3XL.js +4 -0
- package/dist/cdn/OXV66ZKC.js +4 -0
- package/dist/cdn/{BBPNY7E3.js → OY7SSMV5.js} +2 -2
- package/dist/cdn/OYDECWUP.js +4 -0
- package/dist/cdn/P3OQZJQ2.js +4 -0
- package/dist/cdn/{UCRV2PDT.js → P5FRRAQ5.js} +2 -2
- package/dist/cdn/PF7FY4Q5.js +4 -0
- package/dist/cdn/{QJI26PMM.js → PGAXHYX2.js} +2 -2
- package/dist/cdn/PKZ6YN4Y.js +4 -0
- package/dist/cdn/{6WA73KKR.js → PLKC7G54.js} +2 -2
- package/dist/cdn/{HQSZHIDX.js → Q4E2CJHA.js} +2 -2
- package/dist/cdn/QETLJS3F.js +4 -0
- package/dist/cdn/QEZKQQ6G.js +4 -0
- package/dist/cdn/{RMNCEUXY.js → QPBAASBC.js} +2 -2
- package/dist/cdn/QQHYLBKY.js +4 -0
- package/dist/cdn/{IND5WNZM.js → QQYRB2MI.js} +2 -2
- package/dist/cdn/{ZNIHPOQW.js → QVXJSNPF.js} +2 -2
- package/dist/cdn/{FSQ2KHIG.js → QYXPLOPV.js} +2 -2
- package/dist/cdn/{2UNBJPHV.js → QZ5YN2IE.js} +2 -2
- package/dist/cdn/R3MWXHYP.js +4 -0
- package/dist/cdn/RAD6YB43.js +4 -0
- package/dist/cdn/{DORZHLU3.js → RCPEJBJV.js} +2 -2
- package/dist/cdn/RETN56X2.js +4 -0
- package/dist/cdn/{6IWPGZTN.js → RTGFBXZU.js} +2 -2
- package/dist/cdn/{IRN5BQBL.js → RUX6YBCW.js} +2 -2
- package/dist/cdn/RXJJVEAO.js +4 -0
- package/dist/cdn/RXQR233O.js +4 -0
- package/dist/cdn/{JUSWF2RY.js → SA5MHOMT.js} +2 -2
- package/dist/cdn/{OIU3HXT4.js → SF5ZQKZZ.js} +2 -2
- package/dist/cdn/{UCRJMK5C.js → SG2GF3S4.js} +2 -2
- package/dist/cdn/{P7BNZYTQ.js → SHY42MBP.js} +2 -2
- package/dist/cdn/{QJVND6MN.js → SPOBXGFM.js} +2 -2
- package/dist/cdn/{QH6W2HS7.js → STPULIEM.js} +2 -2
- package/dist/cdn/TDZSW25R.js +4 -0
- package/dist/cdn/TF3YNFCX.js +4 -0
- package/dist/cdn/TL2KJ5MU.js +4 -0
- package/dist/cdn/{F6TOJFSA.js → TPSKQNRN.js} +2 -2
- package/dist/cdn/{KQBSK57H.js → TUOK2I25.js} +2 -2
- package/dist/cdn/{L22HLZL6.js → UBUJQZ6M.js} +2 -2
- package/dist/cdn/UCQQ3RAK.js +4 -0
- package/dist/cdn/UKW3YDPS.js +4 -0
- package/dist/cdn/{X22GYTEA.js → UNQIZA3J.js} +2 -2
- package/dist/cdn/UQUW34FW.js +4 -0
- package/dist/cdn/{FI7OZYLW.js → UU33CEJA.js} +1 -1
- package/dist/cdn/{SLVLT2UD.js → UZ22CGIZ.js} +2 -2
- package/dist/cdn/{67U6QXEY.js → V423GXVP.js} +2 -2
- package/dist/cdn/VFUIF6HI.js +4 -0
- package/dist/cdn/VG2SKJBB.js +4 -0
- package/dist/cdn/{5ZBM65DS.js → VLHYCVAB.js} +2 -2
- package/dist/cdn/{S3FSU7B3.js → VMKAOCEL.js} +2 -2
- package/dist/cdn/VMTAPSI4.js +4 -0
- package/dist/cdn/VN7GQJIU.js +4 -0
- package/dist/cdn/{JOTCO7VO.js → VZRVTLEP.js} +1 -1
- package/dist/cdn/W5XYA67A.js +4 -0
- package/dist/cdn/WAVVOV33.js +4 -0
- package/dist/cdn/{A27SKK6E.js → WDVEG3W3.js} +2 -2
- package/dist/cdn/{43EBEKFG.js → WKMOR2AQ.js} +1 -1
- package/dist/cdn/{3XJQU7UU.js → WL3YFJW6.js} +2 -2
- package/dist/cdn/WSNBUUE5.js +4 -0
- package/dist/cdn/{HI2SLBFX.js → WZ6KB7RD.js} +2 -2
- package/dist/cdn/{SKVXEDLE.js → WZHJKPHU.js} +2 -2
- package/dist/cdn/XDNNFU74.js +4 -0
- package/dist/cdn/{7RNIBDPL.js → XHSCS5I5.js} +2 -2
- package/dist/cdn/{CHS6E4Q2.js → XIY5EH66.js} +2 -2
- package/dist/cdn/{G5DQIZEV.js → XXSR4C2B.js} +2 -2
- package/dist/cdn/YEQ7YVBQ.js +4 -0
- package/dist/cdn/{2ORRNOGA.js → YOTFRMLD.js} +2 -2
- package/dist/cdn/YZS6Z6OU.js +4 -0
- package/dist/cdn/Z5IJGWWJ.js +4 -0
- package/dist/cdn/Z5NO34M7.js +4 -0
- package/dist/cdn/ZEUTCKEM.js +4 -0
- package/dist/cdn/{RKPME3GV.js → ZJ6RSOQH.js} +2 -2
- package/dist/cdn/{TANBMCPE.js → ZK7B4WHB.js} +2 -2
- package/dist/cdn/{VB2WGZSI.js → ZKQZDG2S.js} +1 -1
- package/dist/cdn/ZTAOHOCV.js +4 -0
- package/dist/cdn/{XWT7UESZ.js → ZTS2WJGQ.js} +2 -2
- package/dist/cdn/{ZLDXXV53.js → ZWTVKUE3.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/assets/result-feature-list/t9n/messages.en.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 +2 -2
- 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 +17 -7
- package/dist/components/arcgis-map/customElement.js +15 -14
- 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-result-feature-list/customElement.d.ts +34 -0
- package/dist/components/arcgis-result-feature-list/customElement.js +61 -0
- package/dist/components/arcgis-result-feature-list/index.d.ts +5 -0
- package/dist/components/arcgis-result-feature-list/index.js +5 -0
- 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 +19 -27
- 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 +2960 -142
- package/dist/docs/docs.json +2739 -101
- package/dist/docs/vscode.html-custom-data.json +393 -15
- package/dist/docs/web-types.json +702 -40
- package/dist/index.d.ts +89 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +21 -5
- package/dist/types/lumina.d.ts +78 -2
- package/dist/types/preact.d.ts +93 -2
- package/dist/types/react.d.ts +108 -2
- package/dist/types/stencil.d.ts +78 -2
- package/dist/utils/feature-form-utils.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/2HEAELDI.js +0 -4
- package/dist/cdn/36DABHYU.js +0 -4
- package/dist/cdn/4BRSXGDS.js +0 -4
- package/dist/cdn/5DUT2NR5.js +0 -4
- package/dist/cdn/5LYELUE4.js +0 -4
- package/dist/cdn/62OJ3TIR.js +0 -4
- package/dist/cdn/6E7XQLEO.js +0 -4
- package/dist/cdn/6KGIVKH4.js +0 -4
- package/dist/cdn/6TLE3FA7.js +0 -4
- package/dist/cdn/73ZURSDZ.js +0 -4
- package/dist/cdn/A47F55P3.js +0 -4
- package/dist/cdn/AD3ZURIR.js +0 -4
- package/dist/cdn/AKMDQAKK.js +0 -4
- package/dist/cdn/BX7RZDWX.js +0 -4
- package/dist/cdn/C3EGFMXI.js +0 -4
- package/dist/cdn/CSCY5BGQ.js +0 -4
- package/dist/cdn/DQAIINQI.js +0 -4
- package/dist/cdn/DSTWWXJ6.js +0 -4
- package/dist/cdn/EF4QVWNW.js +0 -4
- package/dist/cdn/EM34EP4Z.js +0 -4
- package/dist/cdn/EOOCRKS4.js +0 -4
- package/dist/cdn/FVAWWC65.js +0 -4
- package/dist/cdn/G4LBRTF4.js +0 -4
- package/dist/cdn/GCD4OD4U.js +0 -4
- package/dist/cdn/GKOFQM3H.js +0 -4
- package/dist/cdn/GVCPEM5I.js +0 -4
- package/dist/cdn/HBBVF6YP.js +0 -4
- package/dist/cdn/HD3MAW7N.js +0 -4
- package/dist/cdn/HHSZDHZG.js +0 -4
- package/dist/cdn/HKFM677E.js +0 -4
- package/dist/cdn/HVF3EZPU.js +0 -4
- package/dist/cdn/HZYHFZJV.js +0 -4
- package/dist/cdn/IDLHRY2H.js +0 -4
- package/dist/cdn/IJQOX3B2.js +0 -4
- package/dist/cdn/JCDQWAKQ.js +0 -4
- package/dist/cdn/JF2BPJEU.js +0 -4
- package/dist/cdn/JWB2OR3K.js +0 -4
- package/dist/cdn/K2QTC7O3.js +0 -4
- package/dist/cdn/K4IBGATC.js +0 -4
- package/dist/cdn/KAYMDWRG.js +0 -4
- package/dist/cdn/KTA3WCSN.js +0 -4
- package/dist/cdn/KZ6QYVM2.js +0 -4
- package/dist/cdn/L2PJBJYL.js +0 -4
- package/dist/cdn/L3MY4UQA.js +0 -4
- package/dist/cdn/L63SLUFS.js +0 -4
- package/dist/cdn/LLNOEFSY.js +0 -4
- package/dist/cdn/N3UHN63O.js +0 -4
- package/dist/cdn/NJIGADGX.js +0 -4
- package/dist/cdn/O2GQQ6TH.js +0 -4
- package/dist/cdn/O6A7CJF5.js +0 -4
- package/dist/cdn/OQKVLYO2.js +0 -4
- package/dist/cdn/OW4MVTU6.js +0 -4
- package/dist/cdn/PJOEPYWW.js +0 -4
- package/dist/cdn/PS2YINJK.js +0 -4
- package/dist/cdn/RNNWYTAK.js +0 -4
- package/dist/cdn/S7FUMVTD.js +0 -4
- package/dist/cdn/SVDLWPF2.js +0 -4
- package/dist/cdn/TARXJU2K.js +0 -4
- package/dist/cdn/TOCMF6TL.js +0 -4
- package/dist/cdn/U4NN24DZ.js +0 -4
- package/dist/cdn/UCY4LBO3.js +0 -4
- package/dist/cdn/UJIOALHT.js +0 -4
- package/dist/cdn/UNJNH3FF.js +0 -4
- package/dist/cdn/VASLNT5J.js +0 -4
- package/dist/cdn/VLSZ6K4N.js +0 -4
- package/dist/cdn/VMKYQFS5.js +0 -4
- package/dist/cdn/VSHCOOT3.js +0 -4
- package/dist/cdn/W2ERNWIA.js +0 -4
- package/dist/cdn/W42SCU72.js +0 -4
- package/dist/cdn/WBAEF3ZT.js +0 -4
- package/dist/cdn/WSRYRM56.js +0 -4
- package/dist/cdn/XVRPAQQS.js +0 -4
- package/dist/cdn/YEB3EV3Y.js +0 -5
- package/dist/cdn/YUD7XBVU.js +0 -4
- package/dist/cdn/ZGT3GAKW.js +0 -4
- package/dist/cdn/ZKGSYKZU.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.122 */
|
|
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.122 */
|
|
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.122 */
|
|
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.122 */
|
|
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.122 */
|
|
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.122 */
|
|
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.122 */
|
|
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
|
+
};
|