@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,32 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
export declare function getUnivariateColorRampMargin(sizeRampElement: __esri.SizeRampElement, style?: "card" | "classic"): number;
|
|
3
|
+
export declare function getUnivariateColorRampPreview(colorRampElement: __esri.ColorRampElement, options: {
|
|
4
|
+
width?: number | null;
|
|
5
|
+
height?: number | null;
|
|
6
|
+
rampAlignment: "horizontal" | "vertical";
|
|
7
|
+
opacity: number;
|
|
8
|
+
type: "above" | "below" | "full";
|
|
9
|
+
cssEffectFilter?: string;
|
|
10
|
+
ariaLabel?: string | null;
|
|
11
|
+
}): HTMLElement | null;
|
|
12
|
+
export declare function getUnivariateSizeRampSize(sizeRampElement: __esri.SizeRampElement, type: "above" | "below" | "full", isAboveAndBelow: boolean, rampAlignment?: "horizontal" | "vertical"): number;
|
|
13
|
+
export declare function getUnivariateColorRampSize(sizeRampElement: __esri.SizeRampElement, type: "above" | "below" | "full", isAboveAndBelow: boolean, rampAlignment?: "horizontal" | "vertical"): number;
|
|
14
|
+
export declare function getUnivariateAboveAndBelowRampElements(legendElement: __esri.UnivariateColorSizeRampElement, opacity: number, rampAlignment?: "horizontal" | "vertical"): {
|
|
15
|
+
sizeRampElement: __esri.SizeRampElement;
|
|
16
|
+
colorRampElement: __esri.ColorRampElement;
|
|
17
|
+
};
|
|
18
|
+
export declare function getUnivariateColorSizeRampElements(legendElement: __esri.UnivariateColorSizeRampElement, rampAlignment?: "horizontal" | "vertical"): {
|
|
19
|
+
sizeRampElement: __esri.SizeRampElement;
|
|
20
|
+
colorRampElement: __esri.ColorRampElement;
|
|
21
|
+
};
|
|
22
|
+
export declare const univariateColorRampContainerStyles: {
|
|
23
|
+
marginLeft: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const univariateColorRampStyles: {
|
|
26
|
+
display: string;
|
|
27
|
+
verticalAlign: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const univariateRampContainerStyles: {
|
|
30
|
+
display: string;
|
|
31
|
+
alignItems: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
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 getRampStopLabel(stop: __esri.ColorRampStop | __esri.HeatmapRampStop, type: string, messages: ArcgisLegend["messages"]): string | null;
|
|
5
|
+
export declare function isImageryStretchedLegend(layer: __esri.Layer, legendType: nil | string): boolean;
|
|
6
|
+
export declare function pt2px(pt: number): number;
|
|
7
|
+
export declare function px2pt(px: nil | number): number;
|
|
8
|
+
export declare function toPt(value: number | string): number;
|
|
File without changes
|
|
@@ -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-card-color-ramp/) */
|
|
7
|
+
export declare class ArcgisLegendCardColorRamp extends LitElement {
|
|
8
|
+
cssEffectFilter?: string;
|
|
9
|
+
legendElement: __esri.ColorRampElement | __esri.HeatmapRampElement | __esri.OpacityRampElement | __esri.StretchRampElement;
|
|
10
|
+
/** @default 1 */
|
|
11
|
+
opacity: number;
|
|
12
|
+
messages: ArcgisLegend["messages"];
|
|
13
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as f, html as l } from "lit";
|
|
3
|
+
import { LitElement as v, safeClassMap as s, safeStyleMap as $ } from "@arcgis/lumina";
|
|
4
|
+
import { classes as u } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { c as b } from "../../chunks/svgUtils.js";
|
|
6
|
+
import { g as L } 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 R = f`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:25px}`, a = {
|
|
11
|
+
layerRow: "arcgis-legend--card__layer-row",
|
|
12
|
+
colorRampContainer: "arcgis-legend--card__color-ramp-container",
|
|
13
|
+
symbolContainer: "arcgis-legend--card__symbol-container",
|
|
14
|
+
intervalSeparatorsContainer: "arcgis-legend--card__interval-separators-container",
|
|
15
|
+
intervalSeparator: "arcgis-legend--card__interval-separator",
|
|
16
|
+
rampLabel: "arcgis-legend--card__ramp-label"
|
|
17
|
+
}, w = 25, x = 25, S = 100;
|
|
18
|
+
class C extends v {
|
|
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 = R;
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const e = this.legendElement.infos.slice().reverse();
|
|
30
|
+
return l`<div class=${s(u(a.layerRow, a.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${s(a.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`;
|
|
31
|
+
}
|
|
32
|
+
_renderPreview(e) {
|
|
33
|
+
const { opacity: i } = this, d = this.legendElement.type === "heatmap-ramp", o = e.length - 1, t = x, n = o > 2 && !d ? w * o : S, p = n + 20, r = 10, m = [
|
|
34
|
+
[
|
|
35
|
+
{
|
|
36
|
+
shape: {
|
|
37
|
+
type: "path",
|
|
38
|
+
path: `M0 ${t / 2} L${r} 0 L${r} ${t} Z`
|
|
39
|
+
},
|
|
40
|
+
fill: e[0].color,
|
|
41
|
+
stroke: { width: 0 }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
shape: {
|
|
45
|
+
type: "rect",
|
|
46
|
+
x: r,
|
|
47
|
+
y: 0,
|
|
48
|
+
width: n,
|
|
49
|
+
height: t
|
|
50
|
+
},
|
|
51
|
+
fill: {
|
|
52
|
+
type: "linear",
|
|
53
|
+
x1: r,
|
|
54
|
+
y1: 0,
|
|
55
|
+
x2: n + r,
|
|
56
|
+
y2: 0,
|
|
57
|
+
colors: e.map((c, _) => ({
|
|
58
|
+
color: c.color,
|
|
59
|
+
// Adjust the stop offsets so that we have stops at fixed/equal interval.
|
|
60
|
+
offset: d && "ratio" in c ? c.ratio : _ / o
|
|
61
|
+
}))
|
|
62
|
+
},
|
|
63
|
+
stroke: { width: 0 }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
shape: {
|
|
67
|
+
type: "path",
|
|
68
|
+
path: `M${n + r} 0 L${p} ${t / 2} L${n + r} ${t} Z`
|
|
69
|
+
},
|
|
70
|
+
fill: e[e.length - 1].color,
|
|
71
|
+
stroke: { width: 0 }
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
], g = b(m, p, t), h = {
|
|
75
|
+
filter: this.cssEffectFilter,
|
|
76
|
+
opacity: i == null ? void 0 : `${i}`
|
|
77
|
+
};
|
|
78
|
+
return l`<div style=${$(h)}>${g}</div>`;
|
|
79
|
+
}
|
|
80
|
+
_renderMiddleStopRampLabel(e) {
|
|
81
|
+
const i = e.length % 2 !== 0 ? e[e.length / 2 | 0] : null;
|
|
82
|
+
return i ? l`<div class=${s(a.intervalSeparatorsContainer)}><div class=${s(a.intervalSeparator)}>|</div>${this._renderRampLabel(i)}</div>` : null;
|
|
83
|
+
}
|
|
84
|
+
_renderRampLabel(e) {
|
|
85
|
+
return l`<div class=${s(a.rampLabel)}>${L(e, this.legendElement.type, this.messages)}</div>`;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
y("arcgis-legend-card-color-ramp", C);
|
|
89
|
+
export {
|
|
90
|
+
C as ArcgisLegendCardColorRamp
|
|
91
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
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-card-element/) */
|
|
8
|
+
export declare class ArcgisLegendCardElement extends LitElement {
|
|
9
|
+
cssEffectFilter?: string;
|
|
10
|
+
/** @default false */
|
|
11
|
+
stacked: boolean;
|
|
12
|
+
activeLayerInfo: __esri.ActiveLayerInfo;
|
|
13
|
+
/** @default 3 */
|
|
14
|
+
headingLevel: HeadingLevel;
|
|
15
|
+
layer: __esri.Layer;
|
|
16
|
+
legendElement: __esri.LegendElement;
|
|
17
|
+
messages: ArcgisLegend["messages"];
|
|
18
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as x, html as s } from "lit";
|
|
3
|
+
import p from "@arcgis/core/Color.js";
|
|
4
|
+
import { LitElement as E, safeClassMap as l, safeStyleMap as b, nothing as y } from "@arcgis/lumina";
|
|
5
|
+
import { classes as n } from "@arcgis/toolkit/dom";
|
|
6
|
+
import { H as v } from "../../chunks/heading.js";
|
|
7
|
+
import { g as u } from "../../chunks/globalCss.js";
|
|
8
|
+
import { a as k, g as f } from "../../chunks/titleUtils.js";
|
|
9
|
+
import { i as C } from "../../chunks/utils2.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 L = x`.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)}.arcgis-legend--card__section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);min-width:250px;max-width:500px;height:100%;height:-moz-available;height:-webkit-fill-available;height:fill-available;overflow:auto;font-size:var(--calcite-font-size-sm)}.arcgis-legend--card__carousel-title-container{margin-bottom:var(--calcite-spacing-sm)}.arcgis-legend--card__carousel-title{margin:0}.arcgis-legend--card__section-title{font-weight:var(--calcite-font-weight-normal)}.arcgis-legend--card__layer-caption{padding:var(--calcite-spacing-xs) 0;margin:0;font-weight:var(--calcite-font-weight-normal)}.arcgis-legend--card__imagery-layer-image--stretched{display:block;margin-bottom:-2px}.arcgis-legend--card__image-label{padding-right:var(--calcite-spacing-xs);padding-left:var(--calcite-spacing-xs)}.arcgis-legend--card__label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__pie-chart-ramp-preview{display:flex;justify-content:center}.arcgis-legend--card__relationship-container{display:flex;flex-direction:column}.arcgis-legend--card__relationship-container .arcgis-legend--card__layer-row{padding-bottom:.5em}.arcgis-legend--card__relationship-container .arcgis-legend--card__layer-row:last-child{padding-bottom:0}.arcgis-legend--card__container{display:flex;gap:var(--calcite-spacing-sm);flex-wrap:wrap}.arcgis-legend--card__background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .arcgis-legend--card__container{display:table}:host([stacked]) .arcgis-legend--card__symbol-row{display:table-row;width:100%}:host([stacked]) .arcgis-legend--card__label-cell{display:table-cell;vertical-align:middle;padding:var(--calcite-spacing-xxs)}:host([stacked]) .arcgis-legend--card__symbol-cell{display:table-cell;vertical-align:middle;text-align:center;padding:var(--calcite-spacing-xxs)}:host([stacked]) .arcgis-legend--card__symbol-cell div{display:flex;align-items:center;justify-content:center}`, a = {
|
|
14
|
+
carouselTitleContainer: "arcgis-legend--card__carousel-title-container",
|
|
15
|
+
carouselTitle: "arcgis-legend--card__carousel-title",
|
|
16
|
+
sectionTitle: "arcgis-legend--card__section-title",
|
|
17
|
+
imageryLayerStretchedImage: "arcgis-legend--card__imagery-layer-image--stretched",
|
|
18
|
+
imageLabel: "arcgis-legend--card__image-label",
|
|
19
|
+
layerCaption: "arcgis-legend--card__layer-caption",
|
|
20
|
+
labelElement: "arcgis-legend--card__label-element",
|
|
21
|
+
layerRow: "arcgis-legend--card__layer-row",
|
|
22
|
+
labelCell: "arcgis-legend--card__label-cell",
|
|
23
|
+
section: "arcgis-legend--card__section",
|
|
24
|
+
symbol: "arcgis-legend--card__symbol",
|
|
25
|
+
symbolRow: "arcgis-legend--card__symbol-row",
|
|
26
|
+
symbolCell: "arcgis-legend--card__symbol-cell",
|
|
27
|
+
pieChartRampPreview: "arcgis-legend--card__pie-chart-ramp-preview",
|
|
28
|
+
relationshipContainer: "arcgis-legend--card__relationship-container",
|
|
29
|
+
backgroundStylesContainer: "arcgis-legend--card__background-styles-container",
|
|
30
|
+
container: "arcgis-legend--card__container"
|
|
31
|
+
};
|
|
32
|
+
function z(g) {
|
|
33
|
+
return g ? g.r * 0.299 + g.g * 0.587 + g.b * 0.114 >= 127 : void 0;
|
|
34
|
+
}
|
|
35
|
+
class F extends E {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments), this.stacked = !1, this.headingLevel = 3;
|
|
38
|
+
}
|
|
39
|
+
static {
|
|
40
|
+
this.properties = { cssEffectFilter: 1, stacked: 7, activeLayerInfo: 0, headingLevel: 9, layer: 0, legendElement: 0, messages: 0 };
|
|
41
|
+
}
|
|
42
|
+
static {
|
|
43
|
+
this.styles = L;
|
|
44
|
+
}
|
|
45
|
+
_getBackgroundStyles(e) {
|
|
46
|
+
const t = e.symbol, i = t.color, d = !!i?.a, c = "outline" in t ? t.outline : null, r = !!c?.color?.a, o = d && i ? new p([i.r, i.g, i.b, i.a * this.layer.opacity]) : new p([255, 255, 255, 0]), _ = r && c.color ? new p([c.color.r, c.color.g, c.color.b, c.color.a * this.layer.opacity]) : new p([255, 255, 255, 0]), m = z(e.symbol.color) ?? !0, $ = m ? "black" : "white", h = m ? "rgba(255, 255, 255, .6)" : "rgba(0, 0, 0, .6)";
|
|
47
|
+
return {
|
|
48
|
+
background: d ? o.toCss(!0) : "none",
|
|
49
|
+
color: $,
|
|
50
|
+
textShadow: `-1px -1px 0 ${h},
|
|
51
|
+
1px -1px 0 ${h},
|
|
52
|
+
-1px 1px 0 ${h},
|
|
53
|
+
1px 1px 0 ${h}`,
|
|
54
|
+
border: r ? `1px solid ${_.toCss(!0)}` : "none",
|
|
55
|
+
filter: this.cssEffectFilter ?? ""
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
render() {
|
|
59
|
+
const e = this._renderLegendElement(), t = k(this.legendElement, this.messages), i = this.stacked ? s`<div class=${l(a.carouselTitleContainer)}>${v({ class: n(a.carouselTitle, u.heading), level: this.headingLevel, children: this.activeLayerInfo.title })}${t ? s`<p class=${l(a.layerCaption)}>${t}</p>` : null}</div>` : t ? v({ class: n(a.sectionTitle, u.heading), level: this.headingLevel, children: t }) : null;
|
|
60
|
+
return s`<section class=${l(a.section)} role=tabpanel tabindex=0>${i}${e}</section>`;
|
|
61
|
+
}
|
|
62
|
+
_renderLegendElement() {
|
|
63
|
+
switch (this.legendElement.type) {
|
|
64
|
+
case "symbol-table":
|
|
65
|
+
return this._renderSymbolTable(this.legendElement);
|
|
66
|
+
case "size-ramp":
|
|
67
|
+
return s`<arcgis-legend-card-size-ramp .hasIndicators=${this.stacked} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-size-ramp>`;
|
|
68
|
+
case "color-ramp":
|
|
69
|
+
case "opacity-ramp":
|
|
70
|
+
case "heatmap-ramp":
|
|
71
|
+
case "stretch-ramp":
|
|
72
|
+
return s`<arcgis-legend-card-color-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-color-ramp>`;
|
|
73
|
+
case "relationship-ramp":
|
|
74
|
+
return s`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;
|
|
75
|
+
case "pie-chart-ramp":
|
|
76
|
+
return s`<div class=${l(a.pieChartRampPreview)}>${this.legendElement.preview}</div>`;
|
|
77
|
+
case "univariate-above-and-below-ramp":
|
|
78
|
+
return s`<arcgis-legend-card-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-above-and-below-ramp>`;
|
|
79
|
+
case "univariate-color-size-ramp":
|
|
80
|
+
return s`<arcgis-legend-card-univariate-color-size-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-color-size-ramp>`;
|
|
81
|
+
default:
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
_renderSymbolTable(e) {
|
|
86
|
+
const t = e.infos.map((r) => this._renderElementInfo(r, e.legendType)).filter(Boolean);
|
|
87
|
+
if (!t.length)
|
|
88
|
+
return null;
|
|
89
|
+
const i = e.infos.some((r) => "symbol" in r && r.symbol?.type.includes("simple-fill")), c = this.activeLayerInfo.legendElements.some(({ type: r }) => r === "relationship-ramp") ? a.relationshipContainer : i ? a.backgroundStylesContainer : a.container;
|
|
90
|
+
return s`<div class=${l(c)}>${t}</div>`;
|
|
91
|
+
}
|
|
92
|
+
_renderElementInfo(e, t) {
|
|
93
|
+
const { layer: i } = this, d = "label" in e ? e.label : null;
|
|
94
|
+
if ("type" in e && e.type)
|
|
95
|
+
return s`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${i} .legendElement=${e} .messages=${this.messages}></arcgis-legend-card-element>`;
|
|
96
|
+
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
97
|
+
return null;
|
|
98
|
+
const c = C(i, t), r = f(this.messages, d, !1) || "";
|
|
99
|
+
if ("src" in e && e.src) {
|
|
100
|
+
const o = {
|
|
101
|
+
[a.symbolCell]: this.stacked
|
|
102
|
+
};
|
|
103
|
+
return s`<div class=${l(n(a.layerRow, { [a.symbolRow]: this.stacked }))}><div class=${l(n(o))}>${this._renderImage(e, i, c)}</div><div class=${l(n(a.imageLabel, { [a.labelCell]: this.stacked }))}>${r}</div></div>`;
|
|
104
|
+
}
|
|
105
|
+
if ("symbol" in e && e.preview) {
|
|
106
|
+
if (!e.symbol?.type.includes("simple-fill")) {
|
|
107
|
+
if (!e.label)
|
|
108
|
+
return s`<div>${e.preview}</div>`;
|
|
109
|
+
const o = {
|
|
110
|
+
[a.symbolCell]: this.stacked
|
|
111
|
+
};
|
|
112
|
+
return s`<div class=${l(n(a.layerRow, { [a.symbolRow]: this.stacked }))}><div class=${l(n(o))}>${e.preview}</div><div class=${l(n(a.imageLabel, { [a.labelCell]: this.stacked }))}>${r}</div></div>`;
|
|
113
|
+
}
|
|
114
|
+
return s`<div class=${l(a.layerRow)}><div class=${l(a.labelElement)} style=${b(this._getBackgroundStyles(e))}>${r}</div></div>`;
|
|
115
|
+
}
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
_renderImage(e, t, i) {
|
|
119
|
+
const { label: d, src: c, opacity: r } = e, o = {
|
|
120
|
+
[a.imageryLayerStretchedImage]: i,
|
|
121
|
+
[a.symbol]: !i
|
|
122
|
+
}, _ = {
|
|
123
|
+
opacity: `${r ?? t.opacity}`
|
|
124
|
+
}, m = f(this.messages, d, !1);
|
|
125
|
+
return s`<img alt=${m ?? y} .ariaLabel=${m} class=${l(n(o))} height=${e.height ?? void 0 ?? y} src=${c ?? y} style=${b(_)} width=${e.width ?? void 0 ?? y}>`;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
w("arcgis-legend-card-element", F);
|
|
129
|
+
export {
|
|
130
|
+
F as ArcgisLegendCardElement
|
|
131
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../arcgis-legend-card-size-ramp/index.js";
|
|
2
|
+
import "../arcgis-legend-card-color-ramp/index.js";
|
|
3
|
+
import "../arcgis-legend-relationship-ramp/index.js";
|
|
4
|
+
import "../arcgis-legend-card-univariate-above-and-below-ramp/index.js";
|
|
5
|
+
import "../arcgis-legend-card-univariate-color-size-ramp/index.js";
|
|
6
|
+
import ".//index.js";
|
|
7
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../arcgis-legend-card-size-ramp/index.js";
|
|
2
|
+
import "../arcgis-legend-card-color-ramp/index.js";
|
|
3
|
+
import "../arcgis-legend-relationship-ramp/index.js";
|
|
4
|
+
import "../arcgis-legend-card-univariate-above-and-below-ramp/index.js";
|
|
5
|
+
import "../arcgis-legend-card-univariate-color-size-ramp/index.js";
|
|
6
|
+
import ".//index.js";
|
|
7
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
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-card-size-ramp/) */
|
|
7
|
+
export declare class LegendCardSizeRamp extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
hasIndicators: boolean;
|
|
10
|
+
legendElement: __esri.SizeRampElement;
|
|
11
|
+
/** @default 1 */
|
|
12
|
+
opacity: number;
|
|
13
|
+
messages: ArcgisLegend["messages"];
|
|
14
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { c as k } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as C, html as X } from "lit";
|
|
3
|
+
import { LitElement as I, safeStyleMap as z, safeClassMap as g } from "@arcgis/lumina";
|
|
4
|
+
import { p as Y } 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 P = C`.arcgis-legend--card__size-ramp--container{display:flex;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--label{margin:0 .5em;white-space:nowrap}.arcgis-legend--card__size-ramp--vertical-ramp{display:flex;flex-direction:column;align-items:center}.arcgis-legend--card__size-ramp--ramp{display:flex;flex-direction:row-reverse;align-items:center}.arcgis-legend--card__size-ramp--preview{display:flex}`, d = {
|
|
9
|
+
container: "arcgis-legend--card__size-ramp--container",
|
|
10
|
+
verticalContainer: "arcgis-legend--card__size-ramp--vertical-container",
|
|
11
|
+
label: "arcgis-legend--card__size-ramp--label",
|
|
12
|
+
ramp: "arcgis-legend--card__size-ramp--ramp",
|
|
13
|
+
verticalRamp: "arcgis-legend--card__size-ramp--vertical-ramp",
|
|
14
|
+
preview: "arcgis-legend--card__size-ramp--preview"
|
|
15
|
+
}, j = "#ddd";
|
|
16
|
+
function M(e) {
|
|
17
|
+
if (!e)
|
|
18
|
+
return;
|
|
19
|
+
if (e.type.includes("3d")) {
|
|
20
|
+
if (!("symbolLayers" in e) || !e.symbolLayers?.length)
|
|
21
|
+
return;
|
|
22
|
+
const t = e.symbolLayers.at(-1), i = t && "resource" in t ? t.resource?.primitive : void 0;
|
|
23
|
+
return i === "circle" || i === "cross" || i === "kite" || i === "sphere" || i === "cube" || i === "diamond";
|
|
24
|
+
}
|
|
25
|
+
const n = "style" in e ? e.style : void 0;
|
|
26
|
+
return n === "circle" || n === "diamond" || n === "cross";
|
|
27
|
+
}
|
|
28
|
+
function N(e) {
|
|
29
|
+
if (e) {
|
|
30
|
+
if (e.type.includes("3d")) {
|
|
31
|
+
if (!("symbolLayers" in e) || !e.symbolLayers?.length)
|
|
32
|
+
return;
|
|
33
|
+
const n = e.symbolLayers.at(-1), t = n && "resource" in n ? n.resource?.primitive : void 0;
|
|
34
|
+
return t === "triangle" || t === "cone" || t === "tetrahedron";
|
|
35
|
+
}
|
|
36
|
+
return "style" in e && e.style === "triangle";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
class O extends I {
|
|
40
|
+
constructor() {
|
|
41
|
+
super(...arguments), this.hasIndicators = !1, this.legendElement = null, this.opacity = 1;
|
|
42
|
+
}
|
|
43
|
+
static {
|
|
44
|
+
this.properties = { hasIndicators: 5, legendElement: 0, opacity: 9, messages: 0 };
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.styles = P;
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
if (this.legendElement.theme === "spike")
|
|
51
|
+
return X`<div style=${z({ display: "flex", flex: "1", justifyContent: "center" })}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;
|
|
52
|
+
const { legendElement: n, hasIndicators: t, opacity: i } = this, l = n.infos, v = l.at(0), p = l.at(-1);
|
|
53
|
+
if (!v || !p)
|
|
54
|
+
return null;
|
|
55
|
+
const { label: f, ...S } = v, { label: u, ..._ } = p;
|
|
56
|
+
let r = S.preview, s = _.preview;
|
|
57
|
+
if (!r || !s)
|
|
58
|
+
return null;
|
|
59
|
+
r = r.cloneNode(!0), r.style.display = "flex", s = s.cloneNode(!0), s.style.display = "flex";
|
|
60
|
+
const o = { opacity: `${i ?? ""}` };
|
|
61
|
+
return X`<div class=${g(t ? d.verticalContainer : d.container)}><div class=${g(d.label)}>${t ? f : u}</div><div class=${g(t ? d.verticalRamp : d.ramp)}><div class=${g(d.preview)} style=${z(o)}>${r}</div>${this._renderSizeRampLines(n)}<div class=${g(d.preview)} style=${z(o)}>${s}</div></div><div class=${g(d.label)}>${t ? u : f}</div></div>`;
|
|
62
|
+
}
|
|
63
|
+
_renderSizeRampLines(n) {
|
|
64
|
+
const t = n.infos, i = t.at(0), l = t.at(-1);
|
|
65
|
+
if (!i || !l)
|
|
66
|
+
return null;
|
|
67
|
+
const v = i.symbol, p = this.hasIndicators, f = i.size && typeof i.size == "number" ? i.size : 0, S = l.size && typeof l.size == "number" ? l.size : 0, u = i.outlineSize || 0, _ = l.outlineSize || 0, r = Y(f + u), s = Y(S + _), o = p ? r : r + 50, m = p ? r / 2 + 50 : r, y = N(v), h = M(v), c = document.createElement("canvas");
|
|
68
|
+
c.width = o, c.height = m, c.style.width = `${c.width}px`, c.style.height = `${c.height}px`;
|
|
69
|
+
const a = c.getContext("2d");
|
|
70
|
+
if (p) {
|
|
71
|
+
a.beginPath();
|
|
72
|
+
const $ = 0, x = 0, b = o / 2 - s / 2, w = m;
|
|
73
|
+
a.moveTo($, x), a.lineTo(b, w);
|
|
74
|
+
const L = o, T = 0, E = o / 2 + s / 2, R = m;
|
|
75
|
+
a.moveTo(L, T), a.lineTo(E, R);
|
|
76
|
+
} else {
|
|
77
|
+
a.beginPath();
|
|
78
|
+
const $ = 0, x = m / 2 - s / 2, b = o, w = 0;
|
|
79
|
+
a.moveTo($, x), a.lineTo(b, w);
|
|
80
|
+
const L = 0, T = m / 2 + s / 2, E = o, R = m;
|
|
81
|
+
a.moveTo(L, T), a.lineTo(E, R);
|
|
82
|
+
}
|
|
83
|
+
return a.strokeStyle = j, a.stroke(), X`<div style=${z(p ? {
|
|
84
|
+
display: "flex",
|
|
85
|
+
marginTop: `-${y ? 0 : h ? r / 2 : 0}px`,
|
|
86
|
+
marginBottom: `-${y ? s : h ? s / 2 : 0}px`
|
|
87
|
+
} : {
|
|
88
|
+
display: "flex",
|
|
89
|
+
marginRight: `-${y ? 0 : h ? r / 2 : 0}px`,
|
|
90
|
+
marginLeft: `-${y ? 0 : h ? s / 2 : 0}px`
|
|
91
|
+
})}>${c}</div>`;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
k("arcgis-legend-card-size-ramp", O);
|
|
95
|
+
export {
|
|
96
|
+
O as LegendCardSizeRamp
|
|
97
|
+
};
|
|
@@ -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-card-univariate-above-and-below-ramp/) */
|
|
7
|
+
export declare class LegendCardUnivariateAboveAndBelowRamp extends LitElement {
|
|
8
|
+
cssEffectFilter?: string;
|
|
9
|
+
legendElement: __esri.UnivariateColorSizeRampElement;
|
|
10
|
+
/** @default 1 */
|
|
11
|
+
opacity: number;
|
|
12
|
+
messages: ArcgisLegend["messages"];
|
|
13
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { c as C } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as E, html as r } from "lit";
|
|
3
|
+
import { LitElement as L, safeClassMap as a, safeStyleMap as o } from "@arcgis/lumina";
|
|
4
|
+
import { c as S } from "../../chunks/utils.js";
|
|
5
|
+
import { f as k, h as B, b, c as f, a as U } 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 F = E`.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-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-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-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)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`, i = {
|
|
10
|
+
layerRow: "arcgis-legend--card__layer-row",
|
|
11
|
+
symbol: "arcgis-legend--card__symbol",
|
|
12
|
+
symbolContainer: "arcgis-legend--card__symbol-container",
|
|
13
|
+
rampLabelsContainer: "arcgis-legend__ramp-labels",
|
|
14
|
+
layerInfo: "arcgis-legend__layer-cell arcgis-legend__layer-cell--info",
|
|
15
|
+
univariateAboveAndBelowColorRamp: "arcgis-univariate-above-and-below-ramp__color--card"
|
|
16
|
+
};
|
|
17
|
+
class M extends L {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.properties = { cssEffectFilter: 1, legendElement: 0, opacity: 9, messages: 0 };
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.styles = F;
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const { legendElement: y, opacity: t } = this, { sizeRampElement: e, colorRampElement: n } = k(y, t, "horizontal");
|
|
29
|
+
if (!e)
|
|
30
|
+
return null;
|
|
31
|
+
const w = B(e, "full", !0, "horizontal"), h = b(e, "above", !0, "horizontal"), _ = b(e, "below", !0, "horizontal"), c = 12, d = this.messages?.previewColorRampAriaLabel, m = f(n, {
|
|
32
|
+
width: h,
|
|
33
|
+
height: c,
|
|
34
|
+
rampAlignment: "horizontal",
|
|
35
|
+
opacity: t,
|
|
36
|
+
type: "above",
|
|
37
|
+
cssEffectFilter: this.cssEffectFilter,
|
|
38
|
+
ariaLabel: d
|
|
39
|
+
}), u = f(n, {
|
|
40
|
+
width: _,
|
|
41
|
+
height: c,
|
|
42
|
+
rampAlignment: "horizontal",
|
|
43
|
+
opacity: t,
|
|
44
|
+
type: "below",
|
|
45
|
+
cssEffectFilter: this.cssEffectFilter,
|
|
46
|
+
ariaLabel: d
|
|
47
|
+
}), p = U(e, "card"), g = e.infos.map((l) => l.label), R = g.length - 1, x = g.map((l, v) => v === 0 || v === R ? r`<div>${l}</div>` : null), $ = { display: "flex", flexDirection: "column" }, z = { display: "flex", flexDirection: "row" }, s = {
|
|
48
|
+
marginTop: "3px",
|
|
49
|
+
display: "flex"
|
|
50
|
+
};
|
|
51
|
+
S(this.el) ? s.marginRight = `${p}px` : s.marginLeft = `${p}px`;
|
|
52
|
+
const A = {
|
|
53
|
+
width: `${w}px`,
|
|
54
|
+
display: "flex",
|
|
55
|
+
flexDirection: "row",
|
|
56
|
+
justifyContent: "space-between"
|
|
57
|
+
};
|
|
58
|
+
return r`<div class=${a(i.layerRow)} style=${o($)}><div class=${a(i.symbolContainer)} style=${o(z)}>${e.infos.map((l) => r`<div class=${a(i.symbol)}>${l.preview}</div>`)}</div>${m ? r`<div class=${a(i.univariateAboveAndBelowColorRamp)} style=${o(s)}><div>${m}</div><div>${u}</div></div>` : null}<div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${o(A)}>${x}</div></div></div>`;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
C("arcgis-legend-card-univariate-above-and-below-ramp", M);
|
|
62
|
+
export {
|
|
63
|
+
M as LegendCardUnivariateAboveAndBelowRamp
|
|
64
|
+
};
|
|
@@ -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-card-univariate-color-size-ramp/) */
|
|
7
|
+
export declare class LegendCardUnivariateColorSizeRamp extends LitElement {
|
|
8
|
+
cssEffectFilter?: string;
|
|
9
|
+
legendElement: __esri.UnivariateColorSizeRampElement;
|
|
10
|
+
/** @default 1 */
|
|
11
|
+
opacity: number;
|
|
12
|
+
messages: ArcgisLegend["messages"];
|
|
13
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as u, html as o } from "lit";
|
|
3
|
+
import { LitElement as R, safeClassMap as a, safeStyleMap as l } from "@arcgis/lumina";
|
|
4
|
+
import { c as x } from "../../chunks/utils.js";
|
|
5
|
+
import { g as $, h as C, b as z, c as E, a as S } 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 L = u`.arcgis-legend--card__layer-row,.arcgis-legend--card__symbol{display:flex;align-items:center}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-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-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-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)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`, i = {
|
|
10
|
+
layerRow: "arcgis-legend--card__layer-row",
|
|
11
|
+
symbol: "arcgis-legend--card__symbol",
|
|
12
|
+
symbolContainer: "arcgis-legend--card__symbol-container",
|
|
13
|
+
rampLabelsContainer: "arcgis-legend__ramp-labels",
|
|
14
|
+
layerInfo: "arcgis-legend__layer-cell arcgis-legend__layer-cell--info",
|
|
15
|
+
univariateAboveAndBelowColorRamp: "arcgis-univariate-above-and-below-ramp__color--card"
|
|
16
|
+
};
|
|
17
|
+
class k extends R {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.properties = { cssEffectFilter: 1, legendElement: 0, opacity: 9, messages: 0 };
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.styles = L;
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const { legendElement: c, opacity: d } = this, { sizeRampElement: e, colorRampElement: m } = $(c, "horizontal");
|
|
29
|
+
if (!e)
|
|
30
|
+
return null;
|
|
31
|
+
const p = C(e, "full", !1, "horizontal"), g = z(e, "full", !1, "horizontal"), v = E(m, {
|
|
32
|
+
width: g,
|
|
33
|
+
height: 12,
|
|
34
|
+
rampAlignment: "horizontal",
|
|
35
|
+
opacity: d,
|
|
36
|
+
type: "full",
|
|
37
|
+
cssEffectFilter: this.cssEffectFilter,
|
|
38
|
+
ariaLabel: this.messages?.previewColorRampAriaLabel
|
|
39
|
+
}), s = S(e, "card"), f = e.infos.length - 1, y = e.infos.map((t, n) => n === 0 || n === f ? o`<div>${t.label}</div>` : null), b = {
|
|
40
|
+
display: "flex",
|
|
41
|
+
flexDirection: "column"
|
|
42
|
+
}, h = {
|
|
43
|
+
display: "flex",
|
|
44
|
+
flexDirection: "row"
|
|
45
|
+
}, r = {
|
|
46
|
+
marginTop: "3px",
|
|
47
|
+
display: "flex"
|
|
48
|
+
};
|
|
49
|
+
x(this.el) ? r.marginRight = `${s}px` : r.marginLeft = `${s}px`;
|
|
50
|
+
const w = {
|
|
51
|
+
width: `${p}px`,
|
|
52
|
+
display: "flex",
|
|
53
|
+
flexDirection: "row",
|
|
54
|
+
justifyContent: "space-between"
|
|
55
|
+
};
|
|
56
|
+
return o`<div class=${a(i.layerRow)} style=${l(b)}><div class=${a(i.symbolContainer)} style=${l(h)}>${e.infos.map((t) => o`<div class=${a(i.symbol)}>${t.preview}</div>`)}</div><div class=${a(i.univariateAboveAndBelowColorRamp)} style=${l(r)}><div>${v}</div></div><div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${l(w)}>${y}</div></div></div>`;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
_("arcgis-legend-card-univariate-color-size-ramp", k);
|
|
60
|
+
export {
|
|
61
|
+
k as LegendCardUnivariateColorSizeRamp
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|