@arcgis/map-components 4.34.0-next.127 → 4.34.0-next.129
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/{SDRZAIJB.js → 26CKZ5SY.js} +2 -2
- package/dist/cdn/2E637E7P.js +4 -0
- package/dist/cdn/{CXOQMEJM.js → 2JDLOFWA.js} +2 -2
- package/dist/cdn/{RWLQH3CI.js → 2N5UKAN3.js} +2 -2
- package/dist/cdn/{7XEDX4ZY.js → 2PXBK7ZV.js} +2 -2
- package/dist/cdn/{3Q7LXEOU.js → 2RON2ZQ6.js} +2 -2
- package/dist/cdn/{5H7GC2RC.js → 2TAFFE53.js} +2 -2
- package/dist/cdn/{EFD7RB4D.js → 2TI5D53V.js} +2 -2
- package/dist/cdn/{7A5BPSWM.js → 2XSFFIDL.js} +2 -2
- package/dist/cdn/{3O2E3JMZ.js → 36OJTNPJ.js} +2 -2
- package/dist/cdn/{JKSSL3TY.js → 3AIQ4P53.js} +2 -2
- package/dist/cdn/{OOHXPVTO.js → 3G6DJ3HY.js} +2 -2
- package/dist/cdn/{YKQHD47D.js → 3H7RLSI7.js} +1 -1
- package/dist/cdn/{PZOZRUPS.js → 3JPQ7POI.js} +2 -2
- package/dist/cdn/{67ZSRQMY.js → 3KFTUCNQ.js} +2 -2
- package/dist/cdn/{WJXS54JZ.js → 3M7J2TSV.js} +2 -2
- package/dist/cdn/{MS7RZWCT.js → 3NABOBT4.js} +2 -2
- package/dist/cdn/{5H275MPV.js → 3OUW5P7L.js} +2 -2
- package/dist/cdn/{OTDKNFX2.js → 3OYJOZN3.js} +2 -2
- package/dist/cdn/3VTS6ILB.js +4 -0
- package/dist/cdn/{3HH2UWDI.js → 3WWTNBHY.js} +2 -2
- package/dist/cdn/{5FUU3IZI.js → 3ZAZU4LJ.js} +2 -2
- package/dist/cdn/{VUZECLE2.js → 44TXMD6H.js} +2 -2
- package/dist/cdn/{6SJJXRK5.js → 4ACV2KWJ.js} +2 -2
- package/dist/cdn/{ITGB3KWA.js → 4MS4DAXU.js} +2 -2
- package/dist/cdn/{JIZIEKXU.js → 4NXYXZH2.js} +2 -2
- package/dist/cdn/{UTBFEOCA.js → 4OVCOZ2F.js} +2 -2
- package/dist/cdn/{X4THS7TJ.js → 4OX54STK.js} +2 -2
- package/dist/cdn/{KTKNBBGP.js → 4QG6IFRB.js} +2 -2
- package/dist/cdn/{3BJJCJHQ.js → 5CTEAI7O.js} +2 -2
- package/dist/cdn/5HCV3QQQ.js +4 -0
- package/dist/cdn/{TESTMMK2.js → 5I2KQWEA.js} +2 -2
- package/dist/cdn/{SRWQ3VMO.js → 5OWD3DW5.js} +2 -2
- package/dist/cdn/{YY4HKJJZ.js → 5PRUKFRM.js} +2 -2
- package/dist/cdn/{OY2Y77MF.js → 5TSTUEKR.js} +1 -1
- package/dist/cdn/{MLD3N5VR.js → 5YME4JB5.js} +2 -2
- package/dist/cdn/{FTMMYPXR.js → 62KRTO32.js} +1 -1
- package/dist/cdn/{JHFJLAED.js → 6F7LAENI.js} +2 -2
- package/dist/cdn/{UXQ26TYV.js → 6ISWJUYK.js} +2 -2
- package/dist/cdn/{QVKFSF6N.js → 6IXPTA3B.js} +2 -2
- package/dist/cdn/{GWJKDY5B.js → 6KLKN2BJ.js} +2 -2
- package/dist/cdn/{NXNMWNVT.js → 6NJANHXX.js} +2 -2
- package/dist/cdn/{U7EGCZTQ.js → 6OWI2LAE.js} +2 -2
- package/dist/cdn/{ZSSGN6OO.js → 6U6OKIIN.js} +2 -2
- package/dist/cdn/{MOVGCTGA.js → 6V2E3PRP.js} +2 -2
- package/dist/cdn/{34IY4NNN.js → 6XKAX2FD.js} +2 -2
- package/dist/cdn/{2UTJRL4L.js → 6YEYD3QC.js} +2 -2
- package/dist/cdn/{YD362EXI.js → 72VKYKUS.js} +2 -2
- package/dist/cdn/{IJUV4LVV.js → 7BQT7JM4.js} +2 -2
- package/dist/cdn/{45ECZGNF.js → 7CARH35L.js} +2 -2
- package/dist/cdn/{KLXFASBS.js → 7JJES337.js} +2 -2
- package/dist/cdn/7RFA5NYQ.js +4 -0
- package/dist/cdn/{QABQXPCV.js → 7XAUTFYF.js} +2 -2
- package/dist/cdn/{YJ6BMIY6.js → A4VJAI7O.js} +2 -2
- package/dist/cdn/{JQY6H6SR.js → ALNL2S6K.js} +2 -2
- package/dist/cdn/{OLR4ZO7T.js → AMEJI4RL.js} +2 -2
- package/dist/cdn/{7LYVHQOB.js → AMEJKSJC.js} +2 -2
- package/dist/cdn/{R2VDQE37.js → AT4UORXF.js} +2 -2
- package/dist/cdn/{EJIVYQEX.js → AZBRZLSN.js} +2 -2
- package/dist/cdn/{4NX42B3A.js → B2MIRYCD.js} +2 -2
- package/dist/cdn/{GZUF2CJH.js → B2Y4TUXM.js} +2 -2
- package/dist/cdn/{7LE5ARX7.js → B55TI5U4.js} +2 -2
- package/dist/cdn/{FKH6JGXT.js → BHR3CY7L.js} +2 -2
- package/dist/cdn/{PYV4C3BR.js → BLJ7JUTQ.js} +2 -2
- package/dist/cdn/{IT2IKU3T.js → BRJHRBO3.js} +2 -2
- package/dist/cdn/{HP6RDJWR.js → BSJ2A7C7.js} +1 -1
- package/dist/cdn/{U44T7TX2.js → BXKVTFOR.js} +2 -2
- package/dist/cdn/{NNWQQ2V3.js → BXOVTHFP.js} +2 -2
- package/dist/cdn/{DASOXSXV.js → C4MOEQXH.js} +2 -2
- package/dist/cdn/{K6YAZ7X2.js → CDZR3LEH.js} +2 -2
- package/dist/cdn/{3P663PMD.js → CHTSSKTP.js} +2 -2
- package/dist/cdn/{OFMXVYXK.js → CLRR2HYX.js} +2 -2
- package/dist/cdn/{HBRTEVOR.js → CNJZCTHQ.js} +3 -3
- package/dist/cdn/{YU5UBOVQ.js → CQHSBP7T.js} +2 -2
- package/dist/cdn/{BLY527QN.js → D5U24EOV.js} +2 -2
- package/dist/cdn/{2ZI5QEY4.js → DBHU2KWC.js} +1 -1
- package/dist/cdn/{IPRV57KC.js → DDJCPTN7.js} +2 -2
- package/dist/cdn/{34OX2SGN.js → DJZUFQEC.js} +2 -2
- package/dist/cdn/{UQO4V7J3.js → DLW6ON74.js} +2 -2
- package/dist/cdn/{SQBIIWYZ.js → DY53JB2H.js} +2 -2
- package/dist/cdn/{3DMTKPCK.js → DZ62X5O2.js} +2 -2
- package/dist/cdn/{U6UZXCRJ.js → E5LPZEJR.js} +2 -2
- package/dist/cdn/{7R4ED2I3.js → ED767R4Z.js} +2 -2
- package/dist/cdn/{ZR6T3SDY.js → EFUAWE4Y.js} +2 -2
- package/dist/cdn/{UF7E66BE.js → ETEU2BFZ.js} +2 -2
- package/dist/cdn/{44VCATGL.js → EV7GV6L5.js} +2 -2
- package/dist/cdn/{Q4GNL2OA.js → EW4QYCWX.js} +2 -2
- package/dist/cdn/{XZYP2IKA.js → EX2SWAE2.js} +2 -2
- package/dist/cdn/{UGO5EWWW.js → FB53QAWB.js} +2 -2
- package/dist/cdn/{P5ES5BFE.js → FGFAUXE4.js} +2 -2
- package/dist/cdn/{UEVG35MM.js → FIM3G3JM.js} +2 -2
- package/dist/cdn/{7ASZ3SXV.js → FTPA6EOA.js} +2 -2
- package/dist/cdn/{BXDBUJKV.js → FWUU2H5D.js} +2 -2
- package/dist/cdn/{AJMKV2S4.js → GFWOUCKM.js} +2 -2
- package/dist/cdn/{AVEP65AT.js → GGQZYGIS.js} +2 -2
- package/dist/cdn/{47JI2ZEN.js → GJ2S5G76.js} +2 -2
- package/dist/cdn/{U3HEKMMP.js → GOIA2VIO.js} +2 -2
- package/dist/cdn/{3HVAPGH7.js → GPW4JO2G.js} +2 -2
- package/dist/cdn/{UQQKDHOF.js → GRWLWBKI.js} +2 -2
- package/dist/cdn/{JA5OWQHO.js → GZQT3AEY.js} +2 -2
- package/dist/cdn/{7QFKYHCZ.js → HG2HJLB7.js} +2 -2
- package/dist/cdn/{AIWWQBTY.js → HGJORWCV.js} +2 -2
- package/dist/cdn/{OZP64FV5.js → HR7L4FJM.js} +2 -2
- package/dist/cdn/{66D2YYDK.js → HWLDWN2W.js} +2 -2
- package/dist/cdn/{Y7AL2MOQ.js → HX6VS6DB.js} +2 -2
- package/dist/cdn/{GVINYGDX.js → I2DYMLCR.js} +1 -1
- package/dist/cdn/{I6KPZXLV.js → I3L57JG4.js} +2 -2
- package/dist/cdn/{A6HSULSF.js → I74PEICA.js} +2 -2
- package/dist/cdn/{XVS24NR4.js → IJ4LMUIQ.js} +2 -2
- package/dist/cdn/{TR5HHTL6.js → IM6QC53Y.js} +2 -2
- package/dist/cdn/IO3UX6D6.js +4 -0
- package/dist/cdn/{34J2AW6U.js → IP36PLM7.js} +2 -2
- package/dist/cdn/{G2KJ4HA6.js → IYWTYE7N.js} +2 -2
- package/dist/cdn/{JMSCFFAE.js → JATWKJFD.js} +2 -2
- package/dist/cdn/{6ZRLKFSG.js → JJCVXMRH.js} +2 -2
- package/dist/cdn/{7AKPLXKX.js → JKFKE5MR.js} +2 -2
- package/dist/cdn/{PDL2ZQCR.js → JLLFYDKG.js} +2 -2
- package/dist/cdn/{YRKCUMNC.js → JOBTPC22.js} +2 -2
- package/dist/cdn/{2ZRZBSJK.js → JUG7EGZK.js} +2 -2
- package/dist/cdn/{WQFV2NDZ.js → JY7GRNQD.js} +2 -2
- package/dist/cdn/{AGLSASU6.js → KMM7ZIDZ.js} +2 -2
- package/dist/cdn/{THLKDRLD.js → KP4TJKI4.js} +2 -2
- package/dist/cdn/{KCTZXBON.js → KRTWR7YQ.js} +2 -2
- package/dist/cdn/{BNTD7XCY.js → KZPYWVUU.js} +1 -1
- package/dist/cdn/{67OAOHET.js → L5VLN3DY.js} +2 -2
- package/dist/cdn/{25WBOOY5.js → LB2EL3BM.js} +2 -2
- package/dist/cdn/{NVZAMPVW.js → LECMV3I7.js} +2 -2
- package/dist/cdn/M4ZKGLFP.js +4 -0
- package/dist/cdn/{2TVLDZYN.js → MBJ3WPAK.js} +2 -2
- package/dist/cdn/{MZIFDQTM.js → MHNEHSFS.js} +2 -2
- package/dist/cdn/{XXF3OV3V.js → MIVCSX26.js} +1 -1
- package/dist/cdn/{42BQG7MF.js → MKH5RV6F.js} +2 -2
- package/dist/cdn/{WBI2EYBU.js → MNRTW2YK.js} +2 -2
- package/dist/cdn/{LLXBVY47.js → MPJTDJUB.js} +2 -2
- package/dist/cdn/{AVT7DBNV.js → MTTUF7TJ.js} +2 -2
- package/dist/cdn/{MFRGJDO5.js → MYFBCYBS.js} +2 -2
- package/dist/cdn/{AQ5J2NAU.js → MZNQCXEA.js} +2 -2
- package/dist/cdn/{7UYY62BZ.js → N3GTTH7I.js} +2 -2
- package/dist/cdn/{BCF3ALDB.js → N4BUIAU4.js} +2 -2
- package/dist/cdn/{GKY3B65T.js → NF76BGUH.js} +2 -2
- package/dist/cdn/{NOSOQZZW.js → NHBJFOV2.js} +2 -2
- package/dist/cdn/{4KX2XOJ7.js → NOGHTVOO.js} +2 -2
- package/dist/cdn/NTX3CJDJ.js +4 -0
- package/dist/cdn/{XMP5PXC7.js → O5ARGNZX.js} +2 -2
- package/dist/cdn/{RBBLFIWF.js → OJ2IPSJG.js} +2 -2
- package/dist/cdn/{5CLIP3OV.js → OOGFKOB4.js} +2 -2
- package/dist/cdn/{VEXQ36I7.js → OPUHC7QF.js} +2 -2
- package/dist/cdn/{FF26D34V.js → OVFFHM4S.js} +2 -2
- package/dist/cdn/{E7K6ZUXN.js → PG5HC5BN.js} +2 -2
- package/dist/cdn/{OCDQK7GO.js → PNKQDVD2.js} +2 -2
- package/dist/cdn/{ORRVXABT.js → PWAYTG3M.js} +2 -2
- package/dist/cdn/{KEJPIWVL.js → Q7DPW2L4.js} +2 -2
- package/dist/cdn/{YJOCISXE.js → QAXGZLQX.js} +2 -2
- package/dist/cdn/{SWNW6JSR.js → QJMRHMQL.js} +2 -2
- package/dist/cdn/{RX66DK6K.js → QMSOQX2W.js} +2 -2
- package/dist/cdn/{F6YLGOII.js → QTMPYE5M.js} +2 -2
- package/dist/cdn/{M4N3TVC4.js → QU7UNKRY.js} +2 -2
- package/dist/cdn/QVBEOQ5E.js +4 -0
- package/dist/cdn/{2GVVB7HK.js → QWNQHQ5X.js} +2 -2
- package/dist/cdn/{JE36VNBE.js → R355PA7E.js} +2 -2
- package/dist/cdn/{LD65M5VY.js → RDER4JIT.js} +2 -2
- package/dist/cdn/{2PIJPPHO.js → RDG67X6Y.js} +2 -2
- package/dist/cdn/{DSZEUC2S.js → RVRJ56GQ.js} +2 -2
- package/dist/cdn/{JKRLMBNF.js → S5NNKSEU.js} +2 -2
- package/dist/cdn/{UYXCG5A7.js → S7HD7IZR.js} +2 -2
- package/dist/cdn/SF2LYXB4.js +4 -0
- package/dist/cdn/{YWYXGENR.js → SGMAMSB2.js} +2 -2
- package/dist/cdn/{4A6MIMST.js → SHZNAPGY.js} +2 -2
- package/dist/cdn/{HNJEO4FP.js → SQP5CVZN.js} +2 -2
- package/dist/cdn/{TJZB6TSB.js → SUQLAWO2.js} +2 -2
- package/dist/cdn/{SDTGIYEU.js → SVR46FKF.js} +2 -2
- package/dist/cdn/{2FTVVEWB.js → TBSVSRJR.js} +2 -2
- package/dist/cdn/{GVVKHDKM.js → TH6CH4LR.js} +2 -2
- package/dist/cdn/{B5YK5S5Y.js → TJSIAN5W.js} +2 -2
- package/dist/cdn/{GEAUSHL7.js → TXEZBN74.js} +2 -2
- package/dist/cdn/{RV6FSDXC.js → TYECEK63.js} +2 -2
- package/dist/cdn/{LRKMMU5T.js → UBDXM6Z3.js} +2 -2
- package/dist/cdn/{GE5H45LY.js → UFCY2KFC.js} +2 -2
- package/dist/cdn/{2EOPKN5B.js → UICHASGY.js} +2 -2
- package/dist/cdn/{3QHHTQQ4.js → VA6OWDXD.js} +2 -2
- package/dist/cdn/{S7FHUSIM.js → VMTI6CHT.js} +2 -2
- package/dist/cdn/{A3I63E5O.js → VRMIMGUW.js} +2 -2
- package/dist/cdn/VSPSEOCX.js +7 -0
- package/dist/cdn/{SZ6CEFQU.js → VT64XTKU.js} +2 -2
- package/dist/cdn/{BS5YIZ4R.js → W26UZQGZ.js} +1 -1
- package/dist/cdn/{VVFXBFZP.js → W2GS5AIV.js} +2 -2
- package/dist/cdn/{F5F6LDGT.js → WERKFYQ3.js} +2 -2
- package/dist/cdn/{NF6SMDUY.js → WFHVCCXF.js} +2 -2
- package/dist/cdn/{624ZHPYX.js → WQMHKFQS.js} +2 -2
- package/dist/cdn/{7LWA6GPF.js → X3QJUUZL.js} +2 -2
- package/dist/cdn/{EYLMWMML.js → X5OPP7FT.js} +2 -2
- package/dist/cdn/{VMEPJKE6.js → X6BMBNFU.js} +2 -2
- package/dist/cdn/{UCGL5ZOE.js → XAZB3LU2.js} +2 -2
- package/dist/cdn/XBWPN3OT.js +4 -0
- package/dist/cdn/{DQDAW5IK.js → XL7W5GXZ.js} +2 -2
- package/dist/cdn/{KNKUFKS5.js → XPYEPS32.js} +1 -1
- package/dist/cdn/{OZZ6LUTM.js → XQCYTMXS.js} +2 -2
- package/dist/cdn/{EOQ4DECP.js → XQEU4QQD.js} +2 -2
- package/dist/cdn/{7QZIIC47.js → XVIWSCAO.js} +2 -2
- package/dist/cdn/XWGQZRDR.js +4 -0
- package/dist/cdn/{GKH2OMJT.js → XXSEDV33.js} +1 -1
- package/dist/cdn/{ONLIJQ6D.js → Y6K3P2SU.js} +2 -2
- package/dist/cdn/{2PS4JHBT.js → YJDHY6K6.js} +2 -2
- package/dist/cdn/{B5YBERRU.js → YQL2KFQC.js} +2 -2
- package/dist/cdn/{L2LAQH2Y.js → YRESWRME.js} +2 -2
- package/dist/cdn/{ATVTLQXA.js → YZXCXYHJ.js} +2 -2
- package/dist/cdn/{D2A7OY55.js → Z2LEAMGA.js} +2 -2
- package/dist/cdn/Z57Y6JWT.js +4 -0
- package/dist/cdn/{XXDQTZ5J.js → ZI6ORP7N.js} +1 -1
- package/dist/cdn/{QIMLCULK.js → ZMPKTRGL.js} +2 -2
- package/dist/cdn/ZOURP3J5.js +4 -0
- package/dist/cdn/{AVKIF567.js → ZS7VOTOT.js} +2 -2
- package/dist/cdn/{VYPOS6F7.js → ZVB2YOL2.js} +2 -2
- package/dist/cdn/assets/legend/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- 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/{slots2.js → esri-main.js} +2 -3
- 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 +1 -1
- 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/screenLocation.js +1 -1
- package/dist/chunks/slots.js +27 -25
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +55 -55
- 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 +74 -27
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -58
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -84
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +0 -71
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -60
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -153
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -51
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +0 -259
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -70
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -120
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -57
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -108
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +2 -113
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -84
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -72
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +3 -92
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -58
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +2 -85
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -101
- 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.d.ts +0 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -136
- package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +0 -3
- 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.d.ts +2 -156
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +1 -233
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +0 -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.d.ts +0 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.d.ts +0 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +0 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +0 -77
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +0 -4
- package/dist/components/arcgis-feature-media/customElement.js +43 -43
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +0 -25
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +2 -470
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -74
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -469
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -63
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +3 -16
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +0 -180
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +0 -105
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -89
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +0 -20
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -146
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +4 -242
- package/dist/components/arcgis-legend/customElement.js +25 -13
- package/dist/components/arcgis-legend/support/univariateUtils.d.ts +3 -2
- package/dist/components/arcgis-legend/support/utils.d.ts +2 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +0 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +24 -24
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +0 -2
- package/dist/components/arcgis-legend-card-element/customElement.js +35 -34
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +0 -2
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +29 -29
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +0 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +2 -2
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +0 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +6 -6
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +0 -7
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +0 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +20 -18
- package/dist/components/arcgis-legend-classic-element/customElement.js +31 -26
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +18 -14
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +0 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +4 -4
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +0 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +3 -3
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +0 -2
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +27 -27
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -90
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -293
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -81
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -44
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +2 -411
- package/dist/components/arcgis-map/customElement.js +19 -19
- package/dist/components/arcgis-measurement/customElement.d.ts +0 -63
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +0 -2
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -34
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -103
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +8 -8
- package/dist/components/arcgis-placement/customElement.d.ts +1 -7
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +0 -451
- package/dist/components/arcgis-popup/customElement.js +15 -15
- package/dist/components/arcgis-print/customElement.d.ts +2 -133
- 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.d.ts +0 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.d.ts +0 -3
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -47
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -84
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +2 -690
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +2 -277
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +0 -11
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -110
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +2 -152
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +0 -143
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.d.ts +0 -3
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -92
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -108
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -110
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -37
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +2 -105
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +0 -6
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -162
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -127
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +0 -28
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +7 -48
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +0 -83
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -43
- 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.d.ts +0 -3
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +0 -21
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.d.ts +0 -60
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +2 -51
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -43
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +367 -8
- package/dist/docs/docs.json +293 -12
- package/dist/docs/vscode.css-custom-data.json +66 -1
- package/dist/docs/vscode.html-custom-data.json +7 -7
- package/dist/docs/web-types.json +76 -10
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/37H3EZT6.js +0 -4
- package/dist/cdn/3MUILL6N.js +0 -4
- package/dist/cdn/4LPAXTPT.js +0 -4
- package/dist/cdn/5TKKMZVT.js +0 -4
- package/dist/cdn/6QS56IW3.js +0 -4
- package/dist/cdn/BDTLIRZB.js +0 -7
- package/dist/cdn/C25OV7OV.js +0 -4
- package/dist/cdn/GGXN7WO5.js +0 -4
- package/dist/cdn/H7B2OG57.js +0 -4
- package/dist/cdn/HP45XLSI.js +0 -4
- package/dist/cdn/L6NR2V2X.js +0 -4
- package/dist/cdn/QH2HINNP.js +0 -4
- package/dist/cdn/WS3GDZCL.js +0 -4
- package/dist/cdn/XBWWWQZV.js +0 -4
- package/dist/cdn/XYC7YHZ2.js +0 -4
- package/dist/chunks/titleUtils.js +0 -42
|
@@ -78,272 +78,34 @@ declare const useLegendViewModel: (component: LitElement & Pick<LegendViewModel,
|
|
|
78
78
|
* @since 4.28
|
|
79
79
|
*/
|
|
80
80
|
export declare class ArcgisLegend extends LitElement {
|
|
81
|
-
/**
|
|
82
|
-
* The view from which the widget will operate.
|
|
83
|
-
*
|
|
84
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#view)
|
|
85
|
-
*/
|
|
86
81
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
87
|
-
/**
|
|
88
|
-
* 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.
|
|
89
|
-
*
|
|
90
|
-
* @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)
|
|
91
|
-
*/
|
|
92
82
|
referenceElement?: ArcgisReferenceElement | string;
|
|
93
|
-
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
94
83
|
position?: __esri.UIPosition;
|
|
95
|
-
/**
|
|
96
|
-
* Icon which represents the component.
|
|
97
|
-
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
98
|
-
*
|
|
99
|
-
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
100
|
-
* @default "icon"
|
|
101
|
-
*/
|
|
102
84
|
icon?: string;
|
|
103
|
-
/**
|
|
104
|
-
* Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) objects used by the legend view to
|
|
105
|
-
* display data in the legend. The legend component watches this property to hide or display the layer's legend when
|
|
106
|
-
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) is removed from or added to this collection.
|
|
107
|
-
*
|
|
108
|
-
* @autocast { "value": "Object[]", "typedCollection": true }
|
|
109
|
-
*/
|
|
110
85
|
activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
111
|
-
/**
|
|
112
|
-
* 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
|
|
113
|
-
* `true` and specify [layerInfos](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#layerInfos) that include the basemap layers, the basemap will be displayed in the legend.
|
|
114
|
-
*
|
|
115
|
-
* @example
|
|
116
|
-
* Show basemap layers in the legend
|
|
117
|
-
*
|
|
118
|
-
* ```js
|
|
119
|
-
* const mapElement = document.querySelector("arcgis-map");
|
|
120
|
-
* const basemapLayer = mapElement.map.basemap.baseLayers.getItemAt(0);
|
|
121
|
-
* const legend = document.querySelector("arcgis-legend");
|
|
122
|
-
* legend.layerInfos = [{ layer: basemapLayer }];
|
|
123
|
-
* legend.basemapLegendVisible = true;
|
|
124
|
-
* ```
|
|
125
|
-
* @default false
|
|
126
|
-
*/
|
|
127
86
|
basemapLegendVisible: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Indicates the heading level to use for the legend title. By default, legend titles are rendered as level 3 headings (e.g. `<h3>Legend title</h3>`). Depending on the legend placement
|
|
130
|
-
* in your app, you may need to adjust this heading for proper semantics. This is important for meeting accessibility standards.
|
|
131
|
-
*
|
|
132
|
-
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
133
|
-
* @example
|
|
134
|
-
* Legend title will render as an `<h2>`
|
|
135
|
-
*
|
|
136
|
-
* ```html
|
|
137
|
-
* <arcgis-legend heading-level="2"></arcgis-legend>
|
|
138
|
-
* ```
|
|
139
|
-
*
|
|
140
|
-
* ```js
|
|
141
|
-
* document.querySelector("arcgis-legend").headingLevel = 2;
|
|
142
|
-
* ```
|
|
143
|
-
* @default 3
|
|
144
|
-
*/
|
|
145
87
|
headingLevel: HeadingLevel;
|
|
146
|
-
/**
|
|
147
|
-
* When `true`, layers will only be shown in the legend if they are visible in the view's extent. When data from a layer
|
|
148
|
-
* is not visible in the view, the layer's legend information will be hidden. Only layers that implement the `createQuery()`
|
|
149
|
-
* and `queryFeatureCount()` methods are supported by `hideLayersNotInCurrentView`.
|
|
150
|
-
*
|
|
151
|
-
* To hide layers completely from the legend, you should set the `legendEnabled` property of the layer to `false`.
|
|
152
|
-
*
|
|
153
|
-
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
154
|
-
* @example
|
|
155
|
-
* Layers not displayed in the current map extent will not be shown in the legend
|
|
156
|
-
*
|
|
157
|
-
* ```html
|
|
158
|
-
* <arcgis-legend hide-layers-not-in-current-view></arcgis-legend>
|
|
159
|
-
* ```
|
|
160
|
-
*
|
|
161
|
-
* ```js
|
|
162
|
-
* document.querySelector("arcgis-legend").hideLayersNotInCurrentView = true;
|
|
163
|
-
* ```
|
|
164
|
-
* @default false
|
|
165
|
-
*/
|
|
166
88
|
hideLayersNotInCurrentView: boolean;
|
|
167
|
-
/**
|
|
168
|
-
* If a layer uses a unique value render, only features that satisfy the layer's
|
|
169
|
-
* [definition](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
170
|
-
* will be displayed in the legend when set to true.
|
|
171
|
-
*
|
|
172
|
-
* @since 4.30
|
|
173
|
-
* @see [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
174
|
-
* @example
|
|
175
|
-
* Only display features that satisfy the layer's definitionExpression.
|
|
176
|
-
*
|
|
177
|
-
* ```html
|
|
178
|
-
* <arcgis-legend respect-layer-definition-expression></arcgis-legend>
|
|
179
|
-
* ```
|
|
180
|
-
*
|
|
181
|
-
* ```js
|
|
182
|
-
* document.querySelector("arcgis-legend").respectLayerDefinitionExpression = true;
|
|
183
|
-
* ```
|
|
184
|
-
* @default false
|
|
185
|
-
*/
|
|
186
89
|
respectLayerDefinitionExpression: boolean;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
|
|
192
|
-
* is set to `false`.
|
|
193
|
-
* - If the view's scale is outside the visibility range
|
|
194
|
-
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
|
|
195
|
-
* [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
|
|
196
|
-
*
|
|
197
|
-
* When the `ignoreLayerVisibility` property of the legend is set to `true`, the legend elements for each
|
|
198
|
-
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
199
|
-
* and `legendEnabled` properties for each layer in the map.
|
|
200
|
-
*
|
|
201
|
-
* @since 4.34
|
|
202
|
-
* @see [hideLayersNotInCurrentView](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#hideLayersNotInCurrentView)
|
|
203
|
-
* @example
|
|
204
|
-
* Always displays legend elements for the map's layers regardless of their minScale, maxScale, and legendEnabled properties.
|
|
205
|
-
*
|
|
206
|
-
* ```html
|
|
207
|
-
* <arcgis-legend ignore-layer-visibility></arcgis-legend>
|
|
208
|
-
* ```
|
|
209
|
-
*
|
|
210
|
-
* ```js
|
|
211
|
-
* document.querySelector("arcgis-legend").ignoreLayerVisibility = true;
|
|
212
|
-
* ```
|
|
213
|
-
* @default false
|
|
214
|
-
*/
|
|
215
|
-
ignoreLayerVisibility: boolean;
|
|
216
|
-
/**
|
|
217
|
-
* Determines whether to respect the properties of the layers in the map that control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
|
|
218
|
-
* By default, a layer's legend elements **will not render** in the legend given the following conditions:
|
|
219
|
-
*
|
|
220
|
-
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
|
|
221
|
-
* is set to `false`.
|
|
222
|
-
* - If the view's scale is outside the visibility range
|
|
223
|
-
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
|
|
224
|
-
* [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
|
|
225
|
-
*
|
|
226
|
-
* When the `respectLayerVisibilityDisabled` property of the legend is set to `false`, the legend elements for each
|
|
227
|
-
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
228
|
-
* and `legendEnabled` properties for each layer in the map.
|
|
229
|
-
*
|
|
230
|
-
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
231
|
-
* @example
|
|
232
|
-
* Always displays legend elements for the map's layers regardless of their minScale, maxScale, and legendEnabled properties.
|
|
233
|
-
*
|
|
234
|
-
* ```html
|
|
235
|
-
* <arcgis-legend respect-layer-visibility-disabled="false"></arcgis-legend>
|
|
236
|
-
* ```
|
|
237
|
-
*
|
|
238
|
-
* ```js
|
|
239
|
-
* document.querySelector("arcgis-legend").respectLayerVisibilityDisabled = true;
|
|
240
|
-
* ```
|
|
241
|
-
* @deprecated since 4.34 use [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility) instead.
|
|
242
|
-
* @default false
|
|
243
|
-
*/
|
|
244
|
-
respectLayerVisibilityDisabled: boolean;
|
|
245
|
-
/**
|
|
246
|
-
* Specifies a subset of the layers to display in the legend. This includes any basemap layers
|
|
247
|
-
* you want to be visible in the legend. If this property is not set, all layers in the map will display in the legend, including
|
|
248
|
-
* basemap layers if [basemapLegendVisible](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#basemapLegendVisible) is `true`. Objects in this array are defined with the properties in the example below.
|
|
249
|
-
*
|
|
250
|
-
* @example
|
|
251
|
-
* Only show a specific sublayer in the legend
|
|
252
|
-
*
|
|
253
|
-
* ```js
|
|
254
|
-
* const subtypeGroupLayer = webmap.layers.getItemAt(0);
|
|
255
|
-
* const subtypeSubLayer = subtypeGroupLayer.sublayers.getItemAt(1);
|
|
256
|
-
* const subtypeSublayerId = parseInt(subtypeSubLayer.subtypeCode);
|
|
257
|
-
* document.querySelector("arcgis-legend").layerInfos = [
|
|
258
|
-
* {
|
|
259
|
-
* layer: subtypeGroupLayer,
|
|
260
|
-
* sublayerIds: [subtypeSublayerId]
|
|
261
|
-
* }
|
|
262
|
-
* ];
|
|
263
|
-
* });
|
|
264
|
-
* ```
|
|
265
|
-
*/
|
|
90
|
+
get ignoreLayerVisibility(): boolean;
|
|
91
|
+
set ignoreLayerVisibility(value: boolean);
|
|
92
|
+
get respectLayerVisibilityDisabled(): boolean;
|
|
93
|
+
set respectLayerVisibilityDisabled(value: boolean);
|
|
266
94
|
layerInfos: __esri.LegendViewModelLayerInfos[];
|
|
267
|
-
/**
|
|
268
|
-
* Indicates whether the legend is currently loading.
|
|
269
|
-
*
|
|
270
|
-
* @since 4.34
|
|
271
|
-
* @default false
|
|
272
|
-
*/
|
|
273
95
|
readonly loading: boolean;
|
|
274
|
-
/**
|
|
275
|
-
* Indicates the layout of the legend when the [legendStyle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#legendStyle) is set to the string value of `"card"`.
|
|
276
|
-
* The layout determines how the legend's content is arranged.
|
|
277
|
-
*
|
|
278
|
-
* [](../sample-code/legend-card/)
|
|
279
|
-
*
|
|
280
|
-
* @since 4.34
|
|
281
|
-
* @example
|
|
282
|
-
* Renders the legend in the card style with a "stack" layout
|
|
283
|
-
*
|
|
284
|
-
* ```html
|
|
285
|
-
* <arcgis-legend legend-style="card" card-style-layout="stack"></arcgis-legend>
|
|
286
|
-
* ```
|
|
287
|
-
*
|
|
288
|
-
* ```js
|
|
289
|
-
* const legend = document.querySelector("arcgis-legend");
|
|
290
|
-
* legend.legendStyle = "card";
|
|
291
|
-
* legend.cardStyleLayout = "stack";
|
|
292
|
-
* ```
|
|
293
|
-
*/
|
|
294
96
|
cardStyleLayout?: "auto" | "side-by-side" | "stack";
|
|
295
|
-
/**
|
|
296
|
-
* Indicates the style of the legend. The style determines the legend's layout and behavior.
|
|
297
|
-
* You can either specify a string or an object to indicate the style. The known string values are the same values listed in
|
|
298
|
-
* the table within the `type` property.
|
|
299
|
-
*
|
|
300
|
-
* [](../sample-code/legend-card/)
|
|
301
|
-
*
|
|
302
|
-
* @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#cardStyleLayout)
|
|
303
|
-
* @example
|
|
304
|
-
* Renders the legend in the card style with a stack layout
|
|
305
|
-
*
|
|
306
|
-
* ```js
|
|
307
|
-
* document.querySelector("arcgis-legend").legendStyle = legendStyle = {
|
|
308
|
-
* type: "card",
|
|
309
|
-
* layout: "stack"
|
|
310
|
-
* };
|
|
311
|
-
* ```
|
|
312
|
-
* @default "classic"
|
|
313
|
-
*/
|
|
314
97
|
legendStyle: "card" | "classic" | {
|
|
315
98
|
type: "card" | "classic";
|
|
316
99
|
layout?: "auto" | "side-by-side" | "stack";
|
|
317
100
|
};
|
|
318
|
-
/**
|
|
319
|
-
* If true, the component will not be destroyed automatically when it is
|
|
320
|
-
* disconnected from the document. This is useful when you want to move the
|
|
321
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
322
|
-
* 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
|
|
323
|
-
* prevent memory leaks.
|
|
324
|
-
*
|
|
325
|
-
* @default false
|
|
326
|
-
*/
|
|
327
101
|
autoDestroyDisabled: boolean;
|
|
328
|
-
/** Overwrite localized strings for this component */
|
|
329
102
|
messageOverrides?: typeof this.messages._overrides;
|
|
330
|
-
/** The component's default label. */
|
|
331
103
|
label?: string;
|
|
332
|
-
/**
|
|
333
|
-
* The view model's state.
|
|
334
|
-
*
|
|
335
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html#state)
|
|
336
|
-
*
|
|
337
|
-
* @default "disabled"
|
|
338
|
-
*/
|
|
339
104
|
readonly state: "ready" | "disabled";
|
|
340
|
-
/** Permanently destroy the component. */
|
|
341
105
|
destroy(): Promise<void>;
|
|
342
|
-
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
343
106
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
344
107
|
name: "state";
|
|
345
108
|
}>;
|
|
346
|
-
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
347
109
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
348
110
|
private messages;
|
|
349
111
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as d, html as r } from "lit";
|
|
3
|
-
import { on as o, watch as
|
|
3
|
+
import { on as o, watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import c from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
5
5
|
import { LitElement as g, createEvent as h, safeClassMap as p } from "@arcgis/lumina";
|
|
6
6
|
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
7
|
-
import { classes as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u
|
|
10
|
-
import { m as
|
|
11
|
-
import { g as
|
|
7
|
+
import { classes as _ } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { u as m } from "../../chunks/useHandles.js";
|
|
9
|
+
import { u } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { g as a } from "../../chunks/globalCss.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
15
|
-
const v = d
|
|
14
|
+
v4.34.0-next.129 */
|
|
15
|
+
const v = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.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{overflow:auto;width:var(--arcgis-legend-internal-width, 300px)}:host([card-style-layout="side-by-side"]){--arcgis-legend-internal-width: auto}`, y = w(c);
|
|
16
16
|
class b extends g {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this.messages =
|
|
18
|
+
super(...arguments), this.messages = u({}), this.final = m("destroy"), this.viewModel = y(this), this._isCardStyle = !1, this.view = this.viewModel.view, this.icon = "legend", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.layerInfos = this.viewModel.layerInfos, this.loading = this.viewModel.loading, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.label = this.messages?.componentLabel, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("state"), this.arcgisReady = h();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.properties = { _isCardStyle: 16, view: 0, referenceElement: 1, position: 1, icon: 1, activeLayerInfos: 0, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, respectLayerDefinitionExpression: 5, ignoreLayerVisibility: 5, respectLayerVisibilityDisabled: 5, layerInfos: 0, loading: 39, cardStyleLayout: 1, legendStyle: 1, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
@@ -23,6 +23,18 @@ class b extends g {
|
|
|
23
23
|
static {
|
|
24
24
|
this.styles = v;
|
|
25
25
|
}
|
|
26
|
+
get ignoreLayerVisibility() {
|
|
27
|
+
return !this.viewModel.respectLayerVisibility;
|
|
28
|
+
}
|
|
29
|
+
set ignoreLayerVisibility(e) {
|
|
30
|
+
this.viewModel.respectLayerVisibility = !e;
|
|
31
|
+
}
|
|
32
|
+
get respectLayerVisibilityDisabled() {
|
|
33
|
+
return !this.viewModel.respectLayerVisibility;
|
|
34
|
+
}
|
|
35
|
+
set respectLayerVisibilityDisabled(e) {
|
|
36
|
+
this.viewModel.respectLayerVisibility = !e;
|
|
37
|
+
}
|
|
26
38
|
async destroy() {
|
|
27
39
|
await this.manager.destroy();
|
|
28
40
|
}
|
|
@@ -30,14 +42,14 @@ class b extends g {
|
|
|
30
42
|
this.manager.onLifecycle(() => [
|
|
31
43
|
o(() => this.el.view, "resize", () => this.requestUpdate()),
|
|
32
44
|
o(() => this.activeLayerInfos, "change", () => this._refreshActiveLayerInfos(this.activeLayerInfos)),
|
|
33
|
-
|
|
45
|
+
s(() => [
|
|
34
46
|
this.cardStyleLayout,
|
|
35
47
|
this.legendStyle,
|
|
36
48
|
typeof this.legendStyle == "object" ? this.legendStyle.type : void 0,
|
|
37
49
|
typeof this.legendStyle == "object" ? this.legendStyle.layout : void 0
|
|
38
50
|
], () => {
|
|
39
51
|
const e = this.legendStyle, i = typeof e == "object" ? e : { type: e };
|
|
40
|
-
this._isCardStyle = i.type === "card", this._isCardStyle
|
|
52
|
+
this._isCardStyle = i.type === "card", this._isCardStyle ? this.cardStyleLayout = this.cardStyleLayout || i.layout || "auto" : this.removeAttribute("card-style-layout");
|
|
41
53
|
}, { initial: !0 })
|
|
42
54
|
]);
|
|
43
55
|
}
|
|
@@ -47,10 +59,10 @@ class b extends g {
|
|
|
47
59
|
}), this.requestUpdate();
|
|
48
60
|
}
|
|
49
61
|
render() {
|
|
50
|
-
return r`<div class=${p(
|
|
62
|
+
return r`<div class=${p(_(a.widget, { [a.panel]: !this._isCardStyle }))}>${this._isCardStyle && this.view ? r`<arcgis-legend-card-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages} .layout=${this.cardStyleLayout} .view=${this.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
63
|
}
|
|
52
64
|
_renderOnActiveLayerInfoChange(e) {
|
|
53
|
-
const i =
|
|
65
|
+
const i = s(() => e.version, () => this.requestUpdate());
|
|
54
66
|
this.final.addHandles(i, `version_${e.layer.uid}`);
|
|
55
67
|
const n = o(() => e.children, "change", () => e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t)));
|
|
56
68
|
this.final.addHandles(n, `version_${e.layer.uid}`), e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
import { ArcgisLegend } from '../customElement.js';
|
|
2
3
|
export declare function getUnivariateColorRampMargin(sizeRampElement: __esri.SizeRampElement, style?: "card" | "classic"): number;
|
|
3
4
|
export declare function getUnivariateColorRampPreview(colorRampElement: __esri.ColorRampElement, options: {
|
|
4
5
|
width?: number | null;
|
|
@@ -11,11 +12,11 @@ export declare function getUnivariateColorRampPreview(colorRampElement: __esri.C
|
|
|
11
12
|
}): HTMLElement | null;
|
|
12
13
|
export declare function getUnivariateSizeRampSize(sizeRampElement: __esri.SizeRampElement, type: "above" | "below" | "full", isAboveAndBelow: boolean, rampAlignment?: "horizontal" | "vertical"): number;
|
|
13
14
|
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
|
+
export declare function getUnivariateAboveAndBelowRampElements(legendElement: __esri.UnivariateColorSizeRampElement, messages: ArcgisLegend["messages"], opacity: number, rampAlignment?: "horizontal" | "vertical"): {
|
|
15
16
|
sizeRampElement: __esri.SizeRampElement;
|
|
16
17
|
colorRampElement: __esri.ColorRampElement;
|
|
17
18
|
};
|
|
18
|
-
export declare function getUnivariateColorSizeRampElements(legendElement: __esri.UnivariateColorSizeRampElement, rampAlignment?: "horizontal" | "vertical"): {
|
|
19
|
+
export declare function getUnivariateColorSizeRampElements(legendElement: __esri.UnivariateColorSizeRampElement, messages: ArcgisLegend["messages"], rampAlignment?: "horizontal" | "vertical"): {
|
|
19
20
|
sizeRampElement: __esri.SizeRampElement;
|
|
20
21
|
colorRampElement: __esri.ColorRampElement;
|
|
21
22
|
};
|
|
@@ -6,3 +6,5 @@ export declare function isImageryStretchedLegend(layer: __esri.Layer, legendType
|
|
|
6
6
|
export declare function pt2px(pt: number): number;
|
|
7
7
|
export declare function px2pt(px: nil | number): number;
|
|
8
8
|
export declare function toPt(value: number | string): number;
|
|
9
|
+
export declare function getPreviewAriaLabelIntl(messages: ArcgisLegend["messages"], previewAriaLabel?: __esri.SymbolTableElementInfo["previewAriaLabel"]): string;
|
|
10
|
+
export declare function setAriaLabel(preview: HTMLElement | nil, ariaLabel: nil | string): void;
|
|
@@ -7,7 +7,6 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
7
7
|
export declare class ArcgisLegendCardColorRamp extends LitElement {
|
|
8
8
|
cssEffectFilter?: string;
|
|
9
9
|
legendElement: __esri.ColorRampElement | __esri.HeatmapRampElement | __esri.OpacityRampElement | __esri.StretchRampElement;
|
|
10
|
-
/** @default 1 */
|
|
11
10
|
opacity: number;
|
|
12
11
|
messages: ArcgisLegend["messages"];
|
|
13
12
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { classes as
|
|
5
|
-
import { c as
|
|
6
|
-
import {
|
|
1
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as v, html as l } from "lit";
|
|
3
|
+
import { LitElement as $, safeClassMap as n, safeStyleMap as b } from "@arcgis/lumina";
|
|
4
|
+
import { classes as L } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { c as u } from "../../chunks/svgUtils.js";
|
|
6
|
+
import { c as R } from "../../chunks/utils2.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const
|
|
9
|
+
v4.34.0-next.129 */
|
|
10
|
+
const w = v`: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}`, t = {
|
|
11
11
|
layerRow: "arcgis-legend--card__layer-row",
|
|
12
12
|
colorRampContainer: "arcgis-legend--card__color-ramp-container",
|
|
13
13
|
symbolContainer: "arcgis-legend--card__symbol-container",
|
|
14
14
|
intervalSeparatorsContainer: "arcgis-legend--card__interval-separators-container",
|
|
15
15
|
intervalSeparator: "arcgis-legend--card__interval-separator",
|
|
16
16
|
rampLabel: "arcgis-legend--card__ramp-label"
|
|
17
|
-
},
|
|
18
|
-
class
|
|
17
|
+
}, x = 25, S = 25, C = 100;
|
|
18
|
+
class E extends $ {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
21
21
|
}
|
|
@@ -23,19 +23,19 @@ class C extends v {
|
|
|
23
23
|
this.properties = { cssEffectFilter: 1, legendElement: 0, opacity: 9, messages: 0 };
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.styles =
|
|
26
|
+
this.styles = w;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const e = this.legendElement.infos.slice().reverse();
|
|
30
|
-
return l`<div class=${
|
|
30
|
+
return l`<div class=${n(L(t.layerRow, t.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${n(t.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`;
|
|
31
31
|
}
|
|
32
32
|
_renderPreview(e) {
|
|
33
|
-
const { opacity: i } = this, d = this.legendElement.type === "heatmap-ramp", o = e.length - 1,
|
|
33
|
+
const { opacity: i } = this, d = this.legendElement.type === "heatmap-ramp", o = e.length - 1, a = S, s = o > 2 && !d ? x * o : C, p = s + 20, r = 10, m = [
|
|
34
34
|
[
|
|
35
35
|
{
|
|
36
36
|
shape: {
|
|
37
37
|
type: "path",
|
|
38
|
-
path: `M0 ${
|
|
38
|
+
path: `M0 ${a / 2} L${r} 0 L${r} ${a} Z`
|
|
39
39
|
},
|
|
40
40
|
fill: e[0].color,
|
|
41
41
|
stroke: { width: 0 }
|
|
@@ -45,14 +45,14 @@ class C extends v {
|
|
|
45
45
|
type: "rect",
|
|
46
46
|
x: r,
|
|
47
47
|
y: 0,
|
|
48
|
-
width:
|
|
49
|
-
height:
|
|
48
|
+
width: s,
|
|
49
|
+
height: a
|
|
50
50
|
},
|
|
51
51
|
fill: {
|
|
52
52
|
type: "linear",
|
|
53
53
|
x1: r,
|
|
54
54
|
y1: 0,
|
|
55
|
-
x2:
|
|
55
|
+
x2: s + r,
|
|
56
56
|
y2: 0,
|
|
57
57
|
colors: e.map((c, _) => ({
|
|
58
58
|
color: c.color,
|
|
@@ -65,27 +65,27 @@ class C extends v {
|
|
|
65
65
|
{
|
|
66
66
|
shape: {
|
|
67
67
|
type: "path",
|
|
68
|
-
path: `M${
|
|
68
|
+
path: `M${s + r} 0 L${p} ${a / 2} L${s + r} ${a} Z`
|
|
69
69
|
},
|
|
70
70
|
fill: e[e.length - 1].color,
|
|
71
71
|
stroke: { width: 0 }
|
|
72
72
|
}
|
|
73
73
|
]
|
|
74
|
-
], g =
|
|
74
|
+
], g = this.legendElement.type === "opacity-ramp" ? this.messages.previewOpacityRampAriaLabel : this.messages.previewColorRampAriaLabel, h = u(m, p, a, { ariaLabel: g }), y = {
|
|
75
75
|
filter: this.cssEffectFilter,
|
|
76
76
|
opacity: i == null ? void 0 : `${i}`
|
|
77
77
|
};
|
|
78
|
-
return l`<div style=${
|
|
78
|
+
return l`<div style=${b(y)}>${h}</div>`;
|
|
79
79
|
}
|
|
80
80
|
_renderMiddleStopRampLabel(e) {
|
|
81
81
|
const i = e.length % 2 !== 0 ? e[e.length / 2 | 0] : null;
|
|
82
|
-
return i ? l`<div class=${
|
|
82
|
+
return i ? l`<div class=${n(t.intervalSeparatorsContainer)}><div class=${n(t.intervalSeparator)}>|</div>${this._renderRampLabel(i)}</div>` : null;
|
|
83
83
|
}
|
|
84
84
|
_renderRampLabel(e) {
|
|
85
|
-
return l`<div class=${
|
|
85
|
+
return l`<div class=${n(t.rampLabel)}>${R(e, this.legendElement.type, this.messages)}</div>`;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
f("arcgis-legend-card-color-ramp", E);
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
E as ArcgisLegendCardColorRamp
|
|
91
91
|
};
|
|
@@ -7,10 +7,8 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class ArcgisLegendCardElement extends LitElement {
|
|
9
9
|
cssEffectFilter?: string;
|
|
10
|
-
/** @default false */
|
|
11
10
|
stacked: boolean;
|
|
12
11
|
activeLayerInfo: __esri.ActiveLayerInfo;
|
|
13
|
-
/** @default 3 */
|
|
14
12
|
headingLevel: HeadingLevel;
|
|
15
13
|
layer: __esri.Layer;
|
|
16
14
|
legendElement: __esri.LegendElement;
|