@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
|
@@ -8,7 +8,7 @@ import { s as d } from "../../chunks/layer-list.js";
|
|
|
8
8
|
import { c as n } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.122 */
|
|
12
12
|
const g = h(r);
|
|
13
13
|
class c extends o {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
|
|
|
10
10
|
import { u as x } from "../../chunks/useT9n.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.122 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -1,125 +1,178 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as LegendViewModel } from '@arcgis/core/widgets/Legend/LegendViewModel.js';
|
|
4
|
+
import { JsxNode, ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
5
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import {
|
|
5
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
+
import { HeadingLevel } from '../../support/heading';
|
|
6
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
declare const useLegendViewModel: (component: LitElement & Pick<LegendViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LegendViewModel>) => LegendViewModel;
|
|
10
|
+
/** [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/) */
|
|
11
|
+
export declare class ArcgisLegend extends LitElement {
|
|
12
|
+
/**
|
|
13
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
14
|
+
*
|
|
15
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
16
|
+
*/
|
|
14
17
|
referenceElement?: ArcgisReferenceElement | string;
|
|
18
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
15
19
|
position?: __esri.UIPosition;
|
|
16
|
-
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
17
|
-
arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
|
|
18
|
-
name: string;
|
|
19
|
-
}> | undefined;
|
|
20
|
-
el: HTMLElement & {
|
|
21
|
-
childElem?: HTMLElement & {
|
|
22
|
-
ownedBy?: HTMLElement;
|
|
23
|
-
};
|
|
24
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
25
|
-
};
|
|
26
|
-
autoDestroyDisabled: boolean;
|
|
27
|
-
destroy: () => Promise<void>;
|
|
28
|
-
}) => Legend;
|
|
29
|
-
/**
|
|
30
|
-
* The Legend component describes the symbols used to represent layers in a map.
|
|
31
|
-
*
|
|
32
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/)
|
|
33
|
-
*/
|
|
34
|
-
export declare class ArcgisLegend extends LitElement {
|
|
35
20
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
21
|
+
* Icon which represents the component.
|
|
22
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
38
23
|
*
|
|
39
|
-
* [
|
|
24
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
25
|
+
* @default "icon"
|
|
40
26
|
*/
|
|
41
|
-
|
|
27
|
+
icon?: string;
|
|
42
28
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#destroy) method when you are done to
|
|
47
|
-
* prevent memory leaks.
|
|
29
|
+
* Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) objects used by the legend view to
|
|
30
|
+
* display data in the legend. The legend widget watches this property to hide or display the layer's legend when
|
|
31
|
+
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) is removed from or added to this collection.
|
|
48
32
|
*
|
|
49
|
-
* @
|
|
33
|
+
* @autocast { "value": "Object[]", "typedCollection": true }
|
|
50
34
|
*/
|
|
51
|
-
|
|
35
|
+
activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
52
36
|
/**
|
|
53
|
-
* Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers in the Legend.
|
|
37
|
+
* Indicates whether to show the [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers in the Legend. If you set this property to
|
|
38
|
+
* `true` and specify [layerInfos](#layerInfos), the basemap layers you want included in the legend must also be
|
|
39
|
+
* specified in `layerInfos`.
|
|
54
40
|
*
|
|
41
|
+
* @example legend.basemapLegendVisible = true;
|
|
55
42
|
* @default false
|
|
56
43
|
*/
|
|
57
44
|
basemapLegendVisible: boolean;
|
|
58
45
|
/**
|
|
59
|
-
* Indicates the heading level to use for the legend title.
|
|
60
|
-
*
|
|
46
|
+
* Indicates the heading level to use for the legend title. By default, legend titles
|
|
47
|
+
* are rendered as level 3 headings (e.g. `<h3>Legend title</h3>`). Depending on the legend placement
|
|
48
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
49
|
+
* important for meeting accessibility standards.
|
|
50
|
+
*
|
|
51
|
+
* @since 4.20
|
|
52
|
+
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
53
|
+
* @example
|
|
54
|
+
* // legend title will render as an <h2>
|
|
55
|
+
* legend.headingLevel = 2;
|
|
61
56
|
* @default 3
|
|
62
57
|
*/
|
|
63
|
-
headingLevel:
|
|
58
|
+
headingLevel: HeadingLevel;
|
|
64
59
|
/**
|
|
65
60
|
* When `true`, layers will only be shown in the legend if
|
|
66
|
-
* they are visible in the view's extent.
|
|
67
|
-
*
|
|
61
|
+
* they are visible in the view's extent. When data from a layer
|
|
62
|
+
* is not visible in the view, the layer's legend information
|
|
63
|
+
* will be hidden. Only layers that implement the `createQuery()`
|
|
64
|
+
* and `queryFeatureCount()` methods are supported by `hideLayersNotInCurrentView`.
|
|
65
|
+
*
|
|
66
|
+
* To hide layers completely
|
|
67
|
+
* from the legend, you should set the `legendEnabled` property of
|
|
68
|
+
* the layer to `false`.
|
|
69
|
+
*
|
|
70
|
+
* @since 4.21
|
|
71
|
+
* @see [respectLayerVisibility](#respectLayerVisibility)
|
|
72
|
+
* @example
|
|
73
|
+
* // layers not displayed in the view
|
|
74
|
+
* // will not be shown in the legend
|
|
75
|
+
* legend.hideLayersNotInCurrentView = true;
|
|
68
76
|
* @default false
|
|
69
77
|
*/
|
|
70
78
|
hideLayersNotInCurrentView: boolean;
|
|
71
79
|
/**
|
|
72
|
-
*
|
|
80
|
+
* If a layer uses a unique value render, only features that satisfy the layer's
|
|
81
|
+
* [definition](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
82
|
+
* will be displayed in the legend when set to true.
|
|
73
83
|
*
|
|
74
|
-
* @
|
|
75
|
-
* @
|
|
84
|
+
* @since 4.30
|
|
85
|
+
* @see [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
86
|
+
* @default false
|
|
76
87
|
*/
|
|
77
|
-
|
|
88
|
+
respectLayerDefinitionExpression: boolean;
|
|
78
89
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
90
|
+
* Determines whether to respect the properties of the layers in the map that
|
|
91
|
+
* control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
|
|
92
|
+
* By default, a layer's legend elements **will
|
|
93
|
+
* not render** in the legend given the following conditions:
|
|
94
|
+
*
|
|
95
|
+
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
|
|
96
|
+
* is set to `false`.
|
|
97
|
+
* - If the view's scale is outside the visibility range
|
|
98
|
+
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
|
|
99
|
+
* [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
|
|
100
|
+
*
|
|
101
|
+
* When the `respectLayerVisibility` property of the legend is set to `false`, the legend elements for each
|
|
102
|
+
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
103
|
+
* and `legendEnabled` properties for each layer in the map.
|
|
104
|
+
*
|
|
105
|
+
* @since 4.13
|
|
106
|
+
* @see [hideLayersNotInCurrentView](#hideLayersNotInCurrentView)
|
|
107
|
+
* @example
|
|
108
|
+
* // Always displays legend elements for the map's layers
|
|
109
|
+
* // regardless of their minScale, maxScale, and legendEnabled properties
|
|
110
|
+
* legend.respectLayerVisibility = false;
|
|
111
|
+
* @default true
|
|
82
112
|
*/
|
|
83
|
-
|
|
113
|
+
ignoreLayerVisibility: boolean;
|
|
84
114
|
/**
|
|
85
|
-
* Specifies a subset of the layers to display in the legend.
|
|
86
|
-
*
|
|
87
|
-
*
|
|
115
|
+
* Specifies a subset of the layers to display in the legend. This includes any [basemap layers](#basemapLegendVisible)
|
|
116
|
+
* you want to be visible in the legend.
|
|
117
|
+
* If this property is not set, all layers in the map will display in the legend, including
|
|
118
|
+
* basemap layers if [basemapLegendVisible](#basemapLegendVisible) is `true`.
|
|
119
|
+
* Objects in this array are defined with the properties listed below.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* const subtypeGroupLayer = webmap.layers.getItemAt(0);
|
|
123
|
+
* const subtypeSubLayer = subtypeGroupLayer.sublayers.getItemAt(1);
|
|
124
|
+
* const subtypeSublayerId = parseInt(subtypeSubLayer.subtypeCode);
|
|
125
|
+
* const legend = new Legend({
|
|
126
|
+
* view: view,
|
|
127
|
+
* layerInfos: [
|
|
128
|
+
* {
|
|
129
|
+
* layer: subtypeGroupLayer,
|
|
130
|
+
* sublayerIds: [subtypeSublayerId]
|
|
131
|
+
* }
|
|
132
|
+
* ]
|
|
133
|
+
* });
|
|
88
134
|
*/
|
|
89
|
-
layerInfos: __esri.
|
|
135
|
+
layerInfos: __esri.LegendViewModelLayerInfos[];
|
|
136
|
+
cardStyleLayout?: "auto" | "side-by-side" | "stack";
|
|
90
137
|
/**
|
|
91
|
-
* Indicates the style of the legend.
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
138
|
+
* Indicates the style of the legend. The style determines the legend's layout and behavior.
|
|
139
|
+
* You can either specify a string or an object to indicate the style. The known string values are the same values listed in
|
|
140
|
+
* the table within the `type` property.
|
|
141
|
+
*
|
|
142
|
+
* @since 4.7
|
|
143
|
+
* @example
|
|
144
|
+
* // renders the legend in the card style with a "stack" layout
|
|
145
|
+
* legend.legendStyle = "card";
|
|
146
|
+
* @example
|
|
147
|
+
* // renders the legend in the card style with a responsive
|
|
148
|
+
* // layout that toggles between "stack" and "side-by-side"
|
|
149
|
+
* legend.legendStyle = {
|
|
150
|
+
* type: "card",
|
|
151
|
+
* layout: "auto"
|
|
152
|
+
* };
|
|
153
|
+
* @example
|
|
154
|
+
* // renders the legend in the classic layout
|
|
155
|
+
* legend.legendStyle = "classic";
|
|
95
156
|
* @default "classic"
|
|
96
157
|
*/
|
|
97
|
-
legendStyle:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
102
|
-
*
|
|
103
|
-
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
104
|
-
*/
|
|
105
|
-
referenceElement?: ArcgisReferenceElement | string;
|
|
106
|
-
/**
|
|
107
|
-
* If a layer uses a unique value render, only features that satisfy the layer's
|
|
108
|
-
* [definition expression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
109
|
-
* will be displayed in the legend when set to true.
|
|
110
|
-
*
|
|
111
|
-
* @default false
|
|
112
|
-
*/
|
|
113
|
-
respectLayerDefinitionExpression: boolean;
|
|
158
|
+
legendStyle: "card" | "classic" | {
|
|
159
|
+
type: "card" | "classic";
|
|
160
|
+
layout?: "auto" | "side-by-side" | "stack";
|
|
161
|
+
};
|
|
114
162
|
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* [
|
|
163
|
+
* If true, the component will not be destroyed automatically when it is
|
|
164
|
+
* disconnected from the document. This is useful when you want to move the
|
|
165
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
166
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#destroy) method when you are done to
|
|
167
|
+
* prevent memory leaks.
|
|
119
168
|
*
|
|
120
169
|
* @default false
|
|
121
170
|
*/
|
|
122
|
-
|
|
171
|
+
autoDestroyDisabled: boolean;
|
|
172
|
+
/** Overwrite localized strings for this component */
|
|
173
|
+
messageOverrides?: typeof this.messages._overrides;
|
|
174
|
+
/** The component's default label. */
|
|
175
|
+
label?: string;
|
|
123
176
|
/**
|
|
124
177
|
* The view model's state.
|
|
125
178
|
*
|
|
@@ -136,5 +189,6 @@ export declare class ArcgisLegend extends LitElement {
|
|
|
136
189
|
}>;
|
|
137
190
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
138
191
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
192
|
+
private messages;
|
|
139
193
|
}
|
|
140
194
|
export {};
|
|
@@ -1,28 +1,62 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as d, html as r } from "lit";
|
|
3
|
+
import { on as o, watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import c from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
5
|
+
import { LitElement as g, createEvent as h, safeClassMap as p } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { classes as m } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { u as _ } from "../../chunks/useHandles.js";
|
|
9
|
+
import { u } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { g as s } from "../../chunks/globalCss.js";
|
|
7
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const d = o`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.esri-legend{width:100%;overflow:hidden auto}.esri-legend__message{padding:.5em 1em}.esri-legend__service{padding:var(--esri-widget-padding);word-wrap:break-word;border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2)}.esri-legend__service:last-child{border-bottom:none}.esri-legend__layer{margin-left:var(--calcite-spacing-sm);overflow:auto}.esri-legend__group-layer-child{margin-left:var(--calcite-spacing-sm);padding-left:0;padding-right:0}.esri-legend__layer-table{flex-flow:column;width:100%;margin-bottom:var(--calcite-spacing-md);display:flex}.esri-legend__layer-child-table{border-collapse:collapse;width:100%;margin-bottom:var(--calcite-spacing-md);display:table}.esri-legend__layer-body{margin-left:var(--calcite-spacing-sm)}.esri-legend__layer-row{display:flex}.esri-legend__layer-cell{vertical-align:middle;word-break:break-word;min-width:100px;padding:var(--calcite-spacing-xxs) 0}.esri-legend__layer-cell--symbols{text-align:center;min-width:10px}.esri-legend--card__color-ramp-container{justify-content:center}.esri-legend__layer-table--size-ramp{display:table}.esri-legend__layer-table--size-ramp .esri-legend__layer-row{display:table-row}.esri-legend__layer-table--size-ramp .esri-legend__layer-cell{display:table-cell}.esri-legend__size-ramp~.esri-legend__layer-cell--info{width:80%;max-width:80%}.esri-legend__layer-cell--info{word-break:normal;word-wrap:normal;max-width:250px;padding-left:var(--calcite-spacing-sm);padding-right:var(--calcite-spacing-sm);font-size:var(--calcite-spacing-md)}.esri-legend__imagery-layer-image--stretched{margin-bottom:-2px;display:block}.esri-legend__imagery-layer-cell--stretched{vertical-align:top;padding:0;line-height:1}.esri-legend__imagery-layer-info--stretched{vertical-align:top;padding:0 2px}.esri-legend__symbol{justify-content:center;display:flex}.esri-legend__layer-caption{word-break:break-word;padding:6px 0;display:table-caption}.esri-legend__ramp-labels{flex-flow:column;justify-content:space-between;display:flex}.esri-legend__ramps{margin-left:3px}.esri-legend__color-ramp{width:2var (--calcite-spacing-xxs)}.esri-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.esri-legend__ramp-tick{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);width:var(--calcite-spacing-xxs);line-height:0;position:absolute;left:auto;right:var(--calcite-border-width-sm)}.esri-legend__ramp-label{white-space:nowrap;padding:0 var(--calcite-spacing-sm);font-size:var(--calcite-spacing-md);line-height:1em;position:relative}.esri-legend__ramp-label:before{content:"";border:3px solid var(--calcite-color-transparent);border-left-width:0;border-right:4px solid var(--calcite-color-inverse);width:0;height:0;display:block;position:absolute;top:.25em;right:100%}.esri-legend__ramp-label:first-child{margin-top:-var(--calcite-spacing-xxs)}.esri-legend__ramp-label:last-child{bottom:-3px}.esri-legend-layer-caption{padding:6px 0;display:table-caption}:dir(rtl) .esri-legend__ramp-label:before{border-width:3px 0 3px var(--calcite-spacing-xxs);border-color:var(--calcite-color-border-2) var(--calcite-color-border-2) var(--calcite-color-border-2) var(--calcite-color-border-2);left:100%;right:auto}:dir(rtl) .esri-legend__layer,:dir(rtl) .esri-legend__group-layer-child,:dir(rtl) .esri-legend__layer-body{margin-left:0;margin-right:var(--calcite-spacing-sm);overflow:auto}:dir(rtl) .esri-legend__ramps{margin-left:auto;margin-right:3px}.esri-legend--card{background:var(--calcite-color-foreground-1);transition:max-width .25s ease-in-out;display:flex;position:relative;overflow-x:auto}.esri-legend--card__section{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:300px;padding:var(--calcite-spacing-md) 15px;font-size:var(--calcite-spacing-md);overflow:auto}.esri-legend--card__section:first-child{border-left:none}.esri-legend--card__message{padding:.5em 1em}.esri-legend--card__service-caption-container{border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);height:45px;padding:var(--calcite-spacing-md) 15px;font-weight:600}.esri-legend--card__service-caption-text{margin:0;padding-bottom:20px;overflow:auto}.esri-legend--card__layer-caption{margin-bottom:var(--calcite-spacing-md);padding:6px 0;font-weight:400}.esri-legend--card__service-content{height:calc(100% - 45px);display:flex}.esri-legend--card__label-container{flex-wrap:wrap;display:flex}.esri-legend--card__relationship-label-container{flex-direction:column;display:flex}.esri-legend--card__relationship-label-container .esri-legend--card__layer-row{padding-bottom:.5em}.esri-legend--card__relationship-label-container .esri-legend--card__layer-row:last-child{padding-bottom:0}.esri-legend--card__relationship-section{border:none}.esri-legend--card__label-element{text-align:center;min-width:4em;min-height:2.7em;margin:.1em;padding:.5em 1em}.esri-legend--card__image-label{padding-left:var(--calcite-spacing-sm);padding-right:var(--calcite-spacing-sm)}.esri-legend--card__layer-row,.esri-legend--card__size-ramp-container{align-items:center;display:flex}.esri-legend--card__size-ramp-preview{display:flex}.esri-legend--card__ramp-label{white-space:nowrap;margin:0 .5em}.esri-legend--card__pie-chart-ramp-preview{justify-content:center;display:flex}.esri-legend--card__interval-separator{text-align:center;font-size:.5em}.esri-legend--card__imagery-layer-image--stretched{margin-bottom:-2px;display:block}.esri-legend--card__symbol-container{position:relative}.esri-legend--card__interval-separators-container{position:absolute;top:50px;left:50%;transform:translate(-50%,-50%)}.esri-legend--card__carousel-title{margin:0}.esri-legend--card__service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content}.esri-legend--card__symbol{margin:auto;display:block}.esri-legend--stacked{flex-direction:column;min-width:300px;display:flex}.esri-legend--stacked .esri-legend--card__carousel{width:300px;max-height:420px}.esri-legend--stacked .esri-legend--card__carousel-item{max-height:388px}.esri-legend--stacked calcite-carousel-item[selected]{flex:1}.esri-legend--stacked .esri-legend--card__section{box-sizing:border-box;width:100%;min-width:unset;border:none;height:auto;overflow:auto}.esri-legend--stacked .esri-legend--card__size-ramp-row{flex-direction:column}.esri-legend--stacked .esri-legend--card__symbol-row{width:100%;margin:5px 0;display:table-row}.esri-legend--stacked .esri-legend--card__label-cell{vertical-align:middle;display:table-cell}.esri-legend--stacked .esri-legend--card__symbol-cell{vertical-align:middle;text-align:center;display:table-cell}.esri-legend--stacked .esri-legend--card__carousel-indicator-container{justify-content:center;width:300px;height:32px;display:flex;overflow:auto;box-shadow:0 -var(--calcite-border-width-sm) var(--calcite-color-border-2)}.esri-legend--stacked .esri-legend--card__carousel-indicator{cursor:pointer;justify-content:center;align-items:center;width:16px;height:auto;display:flex}.esri-legend--stacked .esri-legend--card__carousel-indicator:before{content:"";background-color:var(--calcite-color-border-2);border-radius:50%;width:10px;height:10px;transition:background-color .125s ease-in-out;display:block;box-shadow:0 0 0 var(--calcite-border-width-sm) var(--calcite-color-border-2)}.esri-legend--stacked .esri-legend--card__carousel-indicator:hover:before,.esri-legend--stacked .esri-legend--card__carousel-indicator--activated:before,.esri-legend--stacked .esri-legend--card__carousel-indicator--activated:hover:before{background-color:var(--calcite-color-border-2)}.esri-ui-corner .esri-legend--card{max-height:420px}:dir(rtl) .esri-view-width-greater-than-small .esri-legend--card__section{border-left:0;border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-2)}:dir(rtl) .esri-view-width-greater-than-small .esri-legend--card__section:first-child{border-right:none}.esri-relationship-ramp--diamond__container{font-size:var(--calcite-spacing-md);display:flex}.esri-relationship-ramp--diamond__left-column{text-align:right;align-self:center;max-width:85px;padding-right:5px}.esri-relationship-ramp--diamond__right-column{text-align:left;align-self:center;max-width:85px;padding-left:5px}.esri-relationship-ramp--diamond__middle-column{text-align:center;flex-direction:column;display:flex}.esri-relationship-ramp--diamond__middle-column--label{align-self:center;max-width:85px}.esri-relationship-ramp--diamond__middle-column--ramp{width:85px;height:85px}.esri-relationship-ramp--square__table{font-size:var(--calcite-spacing-md);display:table}.esri-relationship-ramp--square__table-row{display:table-row}.esri-relationship-ramp--square__table-cell{display:table-cell}.esri-relationship-ramp--square__table-label{max-width:95px}.esri-relationship-ramp--square__table-label--left-bottom{vertical-align:bottom;text-align:left}.esri-relationship-ramp--square__table-label--right-bottom{vertical-align:bottom;text-align:right}.esri-relationship-ramp--square__table-label--left-top{vertical-align:top;text-align:left}.esri-relationship-ramp--square__table-label--right-top{vertical-align:top;text-align:right}.esri-univariate-above-and-below-ramp__symbol{justify-content:center;align-items:center;display:flex}.esri-univariate-above-and-below-ramp__label{white-space:nowrap;margin-left:var(--calcite-spacing-sm);font-size:var(--calcite-spacing-md);line-height:1em;position:relative}.esri-univariate-above-and-below-ramp__label:before{content:"";border-style:solid;border-width:var(--calcite-border-width-sm) 0 0;width:1var (--calcite-spacing-xxs);height:0;display:block;position:absolute;top:.45em;left:-19px}.esri-univariate-above-and-below-ramp__label:first-child{top:-6px}.esri-univariate-above-and-below-ramp__label:last-child{bottom:-6px}.esri-univariate-above-and-below-ramp__color--card{position:relative}.esri-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}:dir(rtl) .esri-univariate-above-and-below-ramp__label{margin-left:auto;margin-right:var(--calcite-spacing-sm)}:dir(rtl) .esri-univariate-above-and-below-ramp__label:before{left:auto;right:-19px}`, n = l(r);
|
|
11
|
-
class
|
|
14
|
+
v4.34.0-next.122 */
|
|
15
|
+
const v = d`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-collapse-icon-flip: scaleX(1);--arcgis-row-direction: row;--arcgis-legend-internal-width: 300px}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:block;overflow:auto;width:var(--arcgis-legend-internal-width)}:host([card-style-layout="side-by-side"]){--arcgis-legend-internal-width: auto}`, b = w(c);
|
|
16
|
+
class y extends g {
|
|
12
17
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
18
|
+
super(...arguments), this.messages = u({}), this.final = _("destroy"), this.viewModel = b(this), this._isCardStyle = !1, this.icon = "icon", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.ignoreLayerVisibility = !this.viewModel.respectLayerVisibility, this.layerInfos = this.viewModel.layerInfos, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("state"), this.arcgisReady = h();
|
|
14
19
|
}
|
|
15
20
|
static {
|
|
16
|
-
this.properties = {
|
|
21
|
+
this.properties = { _isCardStyle: 16, referenceElement: 1, position: 1, icon: 1, activeLayerInfos: 0, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, respectLayerDefinitionExpression: 5, ignoreLayerVisibility: 5, layerInfos: 0, cardStyleLayout: 3, legendStyle: 1, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
17
22
|
}
|
|
18
23
|
static {
|
|
19
|
-
this.styles =
|
|
24
|
+
this.styles = v;
|
|
20
25
|
}
|
|
21
26
|
async destroy() {
|
|
22
27
|
await this.manager.destroy();
|
|
23
28
|
}
|
|
29
|
+
loaded() {
|
|
30
|
+
this.manager.onLifecycle(() => [
|
|
31
|
+
o(() => this.el.view, "resize", () => this.requestUpdate()),
|
|
32
|
+
o(() => this.activeLayerInfos, "change", () => this._refreshActiveLayerInfos(this.activeLayerInfos)),
|
|
33
|
+
a(() => [
|
|
34
|
+
this.cardStyleLayout,
|
|
35
|
+
this.legendStyle,
|
|
36
|
+
typeof this.legendStyle == "object" ? this.legendStyle.type : void 0,
|
|
37
|
+
typeof this.legendStyle == "object" ? this.legendStyle.layout : void 0
|
|
38
|
+
], () => {
|
|
39
|
+
const e = this.legendStyle, i = typeof e == "object" ? e : { type: e };
|
|
40
|
+
this._isCardStyle = i.type === "card", this._isCardStyle && (i.layout = this.cardStyleLayout || i.layout || "auto"), this.cardStyleLayout = this._isCardStyle ? i.layout : void 0;
|
|
41
|
+
}, { initial: !0 })
|
|
42
|
+
]);
|
|
43
|
+
}
|
|
44
|
+
_refreshActiveLayerInfos(e) {
|
|
45
|
+
e.forEach((i) => {
|
|
46
|
+
this.final.removeHandles(`version_${i.layer.uid}`), this._renderOnActiveLayerInfoChange(i);
|
|
47
|
+
}), this.requestUpdate();
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
return r`<div class=${p(m(s.widget, { [s.panel]: !this._isCardStyle }))}>${this._isCardStyle ? r`<arcgis-legend-card-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages} .layout=${this.cardStyleLayout} .view=${this.el.view}></arcgis-legend-card-view>` : r`<arcgis-legend-classic-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-legend-classic-view>`}</div>`;
|
|
51
|
+
}
|
|
52
|
+
_renderOnActiveLayerInfoChange(e) {
|
|
53
|
+
const i = a(() => e.version, () => this.requestUpdate());
|
|
54
|
+
this.final.addHandles(i, `version_${e.layer.uid}`);
|
|
55
|
+
const n = o(() => e.children, "change", () => e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t)));
|
|
56
|
+
this.final.addHandles(n, `version_${e.layer.uid}`), e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t));
|
|
57
|
+
}
|
|
24
58
|
}
|
|
25
|
-
|
|
59
|
+
l("arcgis-legend", y);
|
|
26
60
|
export {
|
|
27
|
-
|
|
61
|
+
y as ArcgisLegend
|
|
28
62
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function nextPatternId(): number;
|
|
2
|
+
export declare function resetPatternId(value?: number): void;
|
|
3
|
+
export declare function nextLinearGradientId(): number;
|
|
4
|
+
export declare function resetLinearGradientId(value?: number): void;
|
|
5
|
+
export declare function nextBloomId(): number;
|
|
6
|
+
export declare function resetBloomId(value?: number): void;
|
|
7
|
+
export declare function resetSVGGlobalState(): void;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { default as Color } from '@arcgis/core/Color.js';
|
|
2
|
+
import { JsxNode } from '@arcgis/lumina';
|
|
3
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
4
|
+
export interface Descriptor {
|
|
5
|
+
shape: ShapeDescriptor;
|
|
6
|
+
fill?: FillDescriptor | null;
|
|
7
|
+
stroke?: StrokeDescriptor | null;
|
|
8
|
+
font?: FontDescriptor | null;
|
|
9
|
+
offset?: [number, number] | null;
|
|
10
|
+
}
|
|
11
|
+
export type ShapeDescriptor = CircleDescriptor | EllipseDescriptor | ImageDescriptor | PathDescriptor | RectDescriptor | TextDescriptor;
|
|
12
|
+
export interface PathDescriptor {
|
|
13
|
+
type: "path";
|
|
14
|
+
path: CommandObject[] | string;
|
|
15
|
+
}
|
|
16
|
+
export interface CircleDescriptor {
|
|
17
|
+
type: "circle";
|
|
18
|
+
cx: number;
|
|
19
|
+
cy: number;
|
|
20
|
+
r: number;
|
|
21
|
+
}
|
|
22
|
+
export interface EllipseDescriptor {
|
|
23
|
+
type: "ellipse";
|
|
24
|
+
cx: number;
|
|
25
|
+
cy: number;
|
|
26
|
+
rx: number;
|
|
27
|
+
ry: number;
|
|
28
|
+
}
|
|
29
|
+
export interface RectDescriptor {
|
|
30
|
+
type: "rect";
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
}
|
|
36
|
+
export interface ImageDescriptor {
|
|
37
|
+
type: "image";
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
src: string;
|
|
43
|
+
}
|
|
44
|
+
export interface TextDescriptor {
|
|
45
|
+
type: "text";
|
|
46
|
+
text: string;
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
align: string;
|
|
50
|
+
alignBaseline?: string;
|
|
51
|
+
decoration: string;
|
|
52
|
+
rotated: boolean;
|
|
53
|
+
kerning: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface CommandObject {
|
|
56
|
+
command: string;
|
|
57
|
+
values: number[];
|
|
58
|
+
}
|
|
59
|
+
export type FillDescriptor = Color | GradientDescriptor | [number, number, number, number] | [number, number, number];
|
|
60
|
+
export type GradientDescriptor = LinearDescriptor | PatternDescriptor;
|
|
61
|
+
export interface LinearDescriptor {
|
|
62
|
+
type: "linear";
|
|
63
|
+
x1: number;
|
|
64
|
+
y1: number;
|
|
65
|
+
x2: number;
|
|
66
|
+
y2: number;
|
|
67
|
+
colors: {
|
|
68
|
+
color: Color | number[];
|
|
69
|
+
offset: number;
|
|
70
|
+
opacity?: number;
|
|
71
|
+
}[];
|
|
72
|
+
}
|
|
73
|
+
export interface PatternDescriptor {
|
|
74
|
+
type: "pattern";
|
|
75
|
+
src: string;
|
|
76
|
+
width: number;
|
|
77
|
+
height: number;
|
|
78
|
+
x?: number | null;
|
|
79
|
+
y?: number | null;
|
|
80
|
+
}
|
|
81
|
+
export interface StrokeDescriptor {
|
|
82
|
+
color?: Color | string | [number, number, number, number] | [number, number, number] | null;
|
|
83
|
+
style?: string | null;
|
|
84
|
+
width?: number | null;
|
|
85
|
+
cap?: string | null;
|
|
86
|
+
join?: number | string | null;
|
|
87
|
+
dashArray?: string | null;
|
|
88
|
+
dashoffset?: string | null;
|
|
89
|
+
}
|
|
90
|
+
interface FontDescriptor {
|
|
91
|
+
size: number;
|
|
92
|
+
style: string;
|
|
93
|
+
decoration: string;
|
|
94
|
+
weight: string;
|
|
95
|
+
family: string;
|
|
96
|
+
variant?: string | null;
|
|
97
|
+
}
|
|
98
|
+
export interface FillAttributes {
|
|
99
|
+
fill: string;
|
|
100
|
+
pattern: {
|
|
101
|
+
id: string;
|
|
102
|
+
x: nil | number;
|
|
103
|
+
y: nil | number;
|
|
104
|
+
width: number;
|
|
105
|
+
height: number;
|
|
106
|
+
image: {
|
|
107
|
+
x: number;
|
|
108
|
+
y: number;
|
|
109
|
+
width: number;
|
|
110
|
+
height: number;
|
|
111
|
+
href: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
linearGradient: {
|
|
115
|
+
id: string;
|
|
116
|
+
x1: number;
|
|
117
|
+
y1: number;
|
|
118
|
+
x2: number;
|
|
119
|
+
y2: number;
|
|
120
|
+
stops: {
|
|
121
|
+
offset: number;
|
|
122
|
+
color: string;
|
|
123
|
+
}[];
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
export interface StrokeAttributes {
|
|
127
|
+
color: string;
|
|
128
|
+
width: number;
|
|
129
|
+
cap: string;
|
|
130
|
+
join: string;
|
|
131
|
+
dashArray: nil | string;
|
|
132
|
+
dashOffset: nil | string;
|
|
133
|
+
}
|
|
134
|
+
export interface TextAttributes {
|
|
135
|
+
align: string;
|
|
136
|
+
dominantBaseline?: string;
|
|
137
|
+
decoration: string;
|
|
138
|
+
kerning: string;
|
|
139
|
+
rotate: string;
|
|
140
|
+
font: {
|
|
141
|
+
style: string;
|
|
142
|
+
variant: string;
|
|
143
|
+
weight: string;
|
|
144
|
+
size: string;
|
|
145
|
+
family: string;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
interface RenderOptions {
|
|
149
|
+
node?: HTMLElement | null;
|
|
150
|
+
scale?: boolean | null;
|
|
151
|
+
opacity?: number | null;
|
|
152
|
+
rotations?: (number | null)[];
|
|
153
|
+
useRotationSize?: boolean | null;
|
|
154
|
+
cssEffectFilter?: string | null;
|
|
155
|
+
ignoreStrokeWidth?: boolean | null;
|
|
156
|
+
masking?: Descriptor[][] | null;
|
|
157
|
+
ariaLabel?: nil | string;
|
|
158
|
+
clipBloomEffect?: boolean | null;
|
|
159
|
+
}
|
|
160
|
+
export interface BBox {
|
|
161
|
+
x: number;
|
|
162
|
+
y: number;
|
|
163
|
+
width: number;
|
|
164
|
+
height: number;
|
|
165
|
+
}
|
|
166
|
+
export declare function renderDef(attrs: FillAttributes): JsxNode | null;
|
|
167
|
+
export declare function generateFillAttributes(fill: FillDescriptor | nil): FillAttributes;
|
|
168
|
+
export declare function generateStrokeAttributes(stroke: nil | StrokeDescriptor): StrokeAttributes;
|
|
169
|
+
export declare function getDashArray(stroke: StrokeDescriptor | null): number[];
|
|
170
|
+
export declare function renderShape(shape: ShapeDescriptor, fill: string, stroke: StrokeAttributes, textAttrs: nil | TextAttributes, ariaLabel?: nil | string): JsxNode | null;
|
|
171
|
+
export declare function generateTextAttributes(text: nil | TextDescriptor, font: FontDescriptor | nil): TextAttributes;
|
|
172
|
+
export declare function renderSVG(swatch: Descriptor[][], width: number, height: number, options?: RenderOptions): JsxNode;
|
|
173
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
3
|
+
import { ArcgisLegend } from '../customElement.js';
|
|
4
|
+
export declare function getTitle(messages: ArcgisLegend["messages"], titleInfo: __esri.ClusterTitle | __esri.DotDensityTitle | __esri.RampTitle | __esri.RendererTitle | __esri.StretchMultibandTitle | nil | string, isRamp: boolean): string | undefined;
|
|
5
|
+
export declare function isRendererTitle(_titleInfo: unknown, isRamp: boolean): _titleInfo is __esri.RendererTitle;
|
|
6
|
+
export declare function getLegendElementTitle(legendElement: __esri.LegendElement, messages: ArcgisLegend["messages"]): nil | string;
|