@arcgis/map-components 4.34.0-next.126 → 4.34.0-next.127
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/{AYOGHDI4.js → 25WBOOY5.js} +2 -2
- package/dist/cdn/{YKESPNAQ.js → 2EOPKN5B.js} +2 -2
- package/dist/cdn/2FTVVEWB.js +4 -0
- package/dist/cdn/{J5GNLGGY.js → 2GVVB7HK.js} +2 -2
- package/dist/cdn/{MXPES5JI.js → 2PIJPPHO.js} +2 -2
- package/dist/cdn/{ROAVA4JA.js → 2PS4JHBT.js} +2 -2
- package/dist/cdn/{2MQGFPDR.js → 2TVLDZYN.js} +2 -2
- package/dist/cdn/{XNNSC73G.js → 2UTJRL4L.js} +2 -2
- package/dist/cdn/{LLZ4JQRB.js → 2ZI5QEY4.js} +1 -1
- package/dist/cdn/{GMRQ63JW.js → 2ZRZBSJK.js} +2 -2
- package/dist/cdn/{AM7PEI2P.js → 34IY4NNN.js} +2 -2
- package/dist/cdn/{BG7GTNI2.js → 34J2AW6U.js} +2 -2
- package/dist/cdn/{FGJVMKGG.js → 34OX2SGN.js} +2 -2
- package/dist/cdn/{E3UPPRG5.js → 37H3EZT6.js} +2 -2
- package/dist/cdn/{UYCCGEVR.js → 3BJJCJHQ.js} +2 -2
- package/dist/cdn/{LCQ56ACM.js → 3DMTKPCK.js} +2 -2
- package/dist/cdn/{YFFTG7AG.js → 3HH2UWDI.js} +2 -2
- package/dist/cdn/{CGBOZKWZ.js → 3HVAPGH7.js} +2 -2
- package/dist/cdn/{UQPLFS36.js → 3MUILL6N.js} +2 -2
- package/dist/cdn/{XA3CG5EP.js → 3O2E3JMZ.js} +2 -2
- package/dist/cdn/{GPF3LTPZ.js → 3P663PMD.js} +2 -2
- package/dist/cdn/{KEXMSNPE.js → 3Q7LXEOU.js} +2 -2
- package/dist/cdn/3QHHTQQ4.js +4 -0
- package/dist/cdn/42BQG7MF.js +4 -0
- package/dist/cdn/{7WVBB25Q.js → 44VCATGL.js} +2 -2
- package/dist/cdn/{XF3IRPXR.js → 45ECZGNF.js} +2 -2
- package/dist/cdn/{EF6JLI3D.js → 47JI2ZEN.js} +2 -2
- package/dist/cdn/{NNIA4NN4.js → 4A6MIMST.js} +2 -2
- package/dist/cdn/{NOYXCWU2.js → 4KX2XOJ7.js} +2 -2
- package/dist/cdn/{7WQAAEMD.js → 4LPAXTPT.js} +2 -2
- package/dist/cdn/{MKAIDDSL.js → 4NX42B3A.js} +2 -2
- package/dist/cdn/{SNOMMY7T.js → 5CLIP3OV.js} +2 -2
- package/dist/cdn/{6KQ5PJGC.js → 5FUU3IZI.js} +2 -2
- package/dist/cdn/{P3PUOKVX.js → 5H275MPV.js} +2 -2
- package/dist/cdn/{IDUBBWVQ.js → 5H7GC2RC.js} +2 -2
- package/dist/cdn/{6IHB7OVK.js → 5TKKMZVT.js} +2 -2
- package/dist/cdn/624ZHPYX.js +4 -0
- package/dist/cdn/{NDJ4DLLV.js → 66D2YYDK.js} +2 -2
- package/dist/cdn/{T34X3YIQ.js → 67OAOHET.js} +2 -2
- package/dist/cdn/{F2K7AF6Z.js → 67ZSRQMY.js} +2 -2
- package/dist/cdn/{7TTV5PFB.js → 6QS56IW3.js} +2 -2
- package/dist/cdn/{B75V53DG.js → 6SJJXRK5.js} +2 -2
- package/dist/cdn/{23BQVV5P.js → 6ZRLKFSG.js} +2 -2
- package/dist/cdn/{XMNRYHBV.js → 7A5BPSWM.js} +2 -2
- package/dist/cdn/{I6JLX5KC.js → 7AKPLXKX.js} +2 -2
- package/dist/cdn/{AVFUK3B2.js → 7ASZ3SXV.js} +2 -2
- package/dist/cdn/{F6W27ADX.js → 7LE5ARX7.js} +2 -2
- package/dist/cdn/7LWA6GPF.js +4 -0
- package/dist/cdn/{3IYQOLWN.js → 7LYVHQOB.js} +2 -2
- package/dist/cdn/{OTELWF7N.js → 7QFKYHCZ.js} +2 -2
- package/dist/cdn/{XIMT6CTV.js → 7QZIIC47.js} +2 -2
- package/dist/cdn/{CEY2WMFN.js → 7R4ED2I3.js} +2 -2
- package/dist/cdn/{L4I2TX5J.js → 7UYY62BZ.js} +2 -2
- package/dist/cdn/{ZC65MIKC.js → 7XEDX4ZY.js} +2 -2
- package/dist/cdn/{7WK7MWXY.js → A3I63E5O.js} +2 -2
- package/dist/cdn/A6HSULSF.js +4 -0
- package/dist/cdn/{DST4YOTP.js → AGLSASU6.js} +2 -2
- package/dist/cdn/{OPMS4BVQ.js → AIWWQBTY.js} +2 -2
- package/dist/cdn/AJMKV2S4.js +4 -0
- package/dist/cdn/AQ5J2NAU.js +4 -0
- package/dist/cdn/{FGWI3CKE.js → ATVTLQXA.js} +2 -2
- package/dist/cdn/AVEP65AT.js +4 -0
- package/dist/cdn/{LSQE3IAM.js → AVKIF567.js} +2 -2
- package/dist/cdn/{QDGMQESG.js → AVT7DBNV.js} +2 -2
- package/dist/cdn/B5YBERRU.js +4 -0
- package/dist/cdn/{4EN76RE4.js → B5YK5S5Y.js} +2 -2
- package/dist/cdn/{RNZBGMVW.js → BCF3ALDB.js} +2 -2
- package/dist/cdn/{DGHKDLTH.js → BDTLIRZB.js} +2 -2
- package/dist/cdn/{RLW2HWUC.js → BLY527QN.js} +2 -2
- package/dist/cdn/{OQN4MGR3.js → BNTD7XCY.js} +1 -1
- package/dist/cdn/{NGQWSV2A.js → BS5YIZ4R.js} +1 -1
- package/dist/cdn/{3RCKMIZG.js → BXDBUJKV.js} +2 -2
- package/dist/cdn/C25OV7OV.js +4 -0
- package/dist/cdn/{L2STTIN5.js → CXOQMEJM.js} +2 -2
- package/dist/cdn/D2A7OY55.js +4 -0
- package/dist/cdn/{EIFMWR4A.js → DASOXSXV.js} +2 -2
- package/dist/cdn/{MGBURBCQ.js → DQDAW5IK.js} +2 -2
- package/dist/cdn/{2CGCEJBW.js → DSZEUC2S.js} +2 -2
- package/dist/cdn/E7K6ZUXN.js +4 -0
- package/dist/cdn/{LXJSY2MG.js → EFD7RB4D.js} +2 -2
- package/dist/cdn/EJIVYQEX.js +4 -0
- package/dist/cdn/{JSSGJ6QA.js → EOQ4DECP.js} +2 -2
- package/dist/cdn/{YPXIGB3R.js → EYLMWMML.js} +2 -2
- package/dist/cdn/{CG7FTUAS.js → F5F6LDGT.js} +2 -2
- package/dist/cdn/{PPMKWYXP.js → F6YLGOII.js} +2 -2
- package/dist/cdn/FF26D34V.js +4 -0
- package/dist/cdn/{VLIGGVPB.js → FKH6JGXT.js} +2 -2
- package/dist/cdn/{IXIGZZPZ.js → FTMMYPXR.js} +2 -2
- package/dist/cdn/{M73G7Y5Z.js → G2KJ4HA6.js} +2 -2
- package/dist/cdn/{HZK7BFEU.js → GE5H45LY.js} +2 -2
- package/dist/cdn/{CHGLN22H.js → GEAUSHL7.js} +2 -2
- package/dist/cdn/{RE6RPEK5.js → GGXN7WO5.js} +1 -1
- package/dist/cdn/{QRHJHPGM.js → GKH2OMJT.js} +1 -1
- package/dist/cdn/{2GU64EYX.js → GKY3B65T.js} +2 -2
- package/dist/cdn/{DYDJ3Q4A.js → GVINYGDX.js} +1 -1
- package/dist/cdn/{T7324YLA.js → GVVKHDKM.js} +2 -2
- package/dist/cdn/{RGUZMB66.js → GWJKDY5B.js} +2 -2
- package/dist/cdn/{Z3PGZKSN.js → GZUF2CJH.js} +2 -2
- package/dist/cdn/{RIUGYHZR.js → H7B2OG57.js} +2 -2
- package/dist/cdn/HBRTEVOR.js +5 -0
- package/dist/cdn/{77RD2G3G.js → HNJEO4FP.js} +2 -2
- package/dist/cdn/{H75OPTHT.js → HP45XLSI.js} +2 -2
- package/dist/cdn/{HDHMKQII.js → HP6RDJWR.js} +1 -1
- package/dist/cdn/{TRD5GIAV.js → I6KPZXLV.js} +2 -2
- package/dist/cdn/{RWFNVRUB.js → IJUV4LVV.js} +2 -2
- package/dist/cdn/{CJPUFBD2.js → IPRV57KC.js} +2 -2
- package/dist/cdn/{GDSL5OPE.js → IT2IKU3T.js} +2 -2
- package/dist/cdn/{NU4AD74P.js → ITGB3KWA.js} +2 -2
- package/dist/cdn/{6JLRXIIU.js → JA5OWQHO.js} +2 -2
- package/dist/cdn/{2564ALYI.js → JE36VNBE.js} +2 -2
- package/dist/cdn/{7MIUNXKP.js → JHFJLAED.js} +2 -2
- package/dist/cdn/{JBMNZ72D.js → JIZIEKXU.js} +2 -2
- package/dist/cdn/{XBW42KLF.js → JKRLMBNF.js} +2 -2
- package/dist/cdn/{AHVQ4H5J.js → JKSSL3TY.js} +2 -2
- package/dist/cdn/{KJ3X6V5U.js → JMSCFFAE.js} +2 -2
- package/dist/cdn/{Q4S3OBXP.js → JQY6H6SR.js} +2 -2
- package/dist/cdn/{5XH5ROO7.js → K6YAZ7X2.js} +2 -2
- package/dist/cdn/{YPZUH5O2.js → KCTZXBON.js} +2 -2
- package/dist/cdn/KEJPIWVL.js +4 -0
- package/dist/cdn/{VZWI77C2.js → KLXFASBS.js} +2 -2
- package/dist/cdn/{MQJONABN.js → KNKUFKS5.js} +1 -1
- package/dist/cdn/{ZFJ4HX7F.js → KTKNBBGP.js} +2 -2
- package/dist/cdn/L2LAQH2Y.js +4 -0
- package/dist/cdn/{FY7YUBGD.js → L6NR2V2X.js} +2 -2
- package/dist/cdn/{HDT5PZG6.js → LD65M5VY.js} +2 -2
- package/dist/cdn/{47R2YESS.js → LLXBVY47.js} +2 -2
- package/dist/cdn/{O5EP6F5A.js → LRKMMU5T.js} +2 -2
- package/dist/cdn/{JG654ASN.js → M4N3TVC4.js} +2 -2
- package/dist/cdn/{Y7RX3V36.js → MFRGJDO5.js} +2 -2
- package/dist/cdn/{RLVKJR7X.js → MLD3N5VR.js} +2 -2
- package/dist/cdn/{O6LHXWZW.js → MOVGCTGA.js} +2 -2
- package/dist/cdn/{AP4U4PLQ.js → MS7RZWCT.js} +2 -2
- package/dist/cdn/{4CPB32NP.js → MZIFDQTM.js} +2 -2
- package/dist/cdn/{5IUQW4SV.js → NF6SMDUY.js} +2 -2
- package/dist/cdn/{T4SEIDZD.js → NNWQQ2V3.js} +2 -2
- package/dist/cdn/NOSOQZZW.js +4 -0
- package/dist/cdn/{3TYLLPJM.js → NVZAMPVW.js} +2 -2
- package/dist/cdn/{G3D6GHQ5.js → NXNMWNVT.js} +2 -2
- package/dist/cdn/{CG4XV6GU.js → OCDQK7GO.js} +2 -2
- package/dist/cdn/{FUYBMKIT.js → OFMXVYXK.js} +2 -2
- package/dist/cdn/{EPGOIJ36.js → OLR4ZO7T.js} +2 -2
- package/dist/cdn/{55LQBMWX.js → ONLIJQ6D.js} +2 -2
- package/dist/cdn/{N2RX23W6.js → OOHXPVTO.js} +2 -2
- package/dist/cdn/{TKHOLMKU.js → ORRVXABT.js} +2 -2
- package/dist/cdn/{U456XBFI.js → OTDKNFX2.js} +2 -2
- package/dist/cdn/{HNIKYLKR.js → OY2Y77MF.js} +1 -1
- package/dist/cdn/{7JI7EN6Y.js → OZP64FV5.js} +2 -2
- package/dist/cdn/{GPAKJWXM.js → OZZ6LUTM.js} +2 -2
- package/dist/cdn/{T7CO6LBD.js → P5ES5BFE.js} +2 -2
- package/dist/cdn/{HTUJZ4JI.js → PDL2ZQCR.js} +2 -2
- package/dist/cdn/{YEBVECU4.js → PYV4C3BR.js} +2 -2
- package/dist/cdn/{CAHDNHKE.js → PZOZRUPS.js} +2 -2
- package/dist/cdn/{CSVVFUUC.js → Q4GNL2OA.js} +2 -2
- package/dist/cdn/{ET5C5YMY.js → QABQXPCV.js} +2 -2
- package/dist/cdn/{3FDYCN6J.js → QH2HINNP.js} +2 -2
- package/dist/cdn/{SQXD3VUO.js → QIMLCULK.js} +2 -2
- package/dist/cdn/{W3CTD2JA.js → QVKFSF6N.js} +2 -2
- package/dist/cdn/{BMKCXLJG.js → R2VDQE37.js} +2 -2
- package/dist/cdn/RBBLFIWF.js +4 -0
- package/dist/cdn/{3U6FL5CJ.js → RV6FSDXC.js} +2 -2
- package/dist/cdn/{HWBX65BI.js → RWLQH3CI.js} +2 -2
- package/dist/cdn/{ZFIZ5ICA.js → RX66DK6K.js} +2 -2
- package/dist/cdn/{VJMN4VGZ.js → S7FHUSIM.js} +2 -2
- package/dist/cdn/{QK7MQ3ZG.js → SDRZAIJB.js} +2 -2
- package/dist/cdn/{HDNJM2LD.js → SDTGIYEU.js} +2 -2
- package/dist/cdn/SQBIIWYZ.js +4 -0
- package/dist/cdn/{UTWATVD2.js → SRWQ3VMO.js} +2 -2
- package/dist/cdn/SWNW6JSR.js +4 -0
- package/dist/cdn/{HOIXT45X.js → SZ6CEFQU.js} +2 -2
- package/dist/cdn/{QIUGB7VY.js → TESTMMK2.js} +2 -2
- package/dist/cdn/{PLEDYCCT.js → THLKDRLD.js} +2 -2
- package/dist/cdn/{PEGWYXKX.js → TJZB6TSB.js} +2 -2
- package/dist/cdn/TR5HHTL6.js +4 -0
- package/dist/cdn/{B4KNVUPW.js → U3HEKMMP.js} +2 -2
- package/dist/cdn/{62TLIOD4.js → U44T7TX2.js} +2 -2
- package/dist/cdn/{FWMIDJWL.js → U6UZXCRJ.js} +2 -2
- package/dist/cdn/{EVTMUQHE.js → U7EGCZTQ.js} +2 -2
- package/dist/cdn/{BUTNMXZP.js → UCGL5ZOE.js} +2 -2
- package/dist/cdn/{XN5NVHQH.js → UEVG35MM.js} +2 -2
- package/dist/cdn/{3FL3UVTV.js → UF7E66BE.js} +2 -2
- package/dist/cdn/{VF4PKUB3.js → UGO5EWWW.js} +2 -2
- package/dist/cdn/UQO4V7J3.js +4 -0
- package/dist/cdn/{WCAX4RU7.js → UQQKDHOF.js} +2 -2
- package/dist/cdn/{DEVI26PS.js → UTBFEOCA.js} +2 -2
- package/dist/cdn/{UVZCPBXJ.js → UXQ26TYV.js} +2 -2
- package/dist/cdn/{GN3JIGKA.js → UYXCG5A7.js} +2 -2
- package/dist/cdn/{I43WLH4Q.js → VEXQ36I7.js} +2 -2
- package/dist/cdn/{FLBPJTU5.js → VMEPJKE6.js} +2 -2
- package/dist/cdn/{KOESCJOX.js → VUZECLE2.js} +2 -2
- package/dist/cdn/{2SMHV525.js → VVFXBFZP.js} +2 -2
- package/dist/cdn/{6ZX64NK4.js → VYPOS6F7.js} +2 -2
- package/dist/cdn/{OQXMPLC5.js → WBI2EYBU.js} +2 -2
- package/dist/cdn/{A6U7FTEU.js → WJXS54JZ.js} +2 -2
- package/dist/cdn/{Y3R4IE5F.js → WQFV2NDZ.js} +2 -2
- package/dist/cdn/{JA5JM23Q.js → WS3GDZCL.js} +2 -2
- package/dist/cdn/{E6ZLK23H.js → X4THS7TJ.js} +2 -2
- package/dist/cdn/{FAUOLDED.js → XBWWWQZV.js} +2 -2
- package/dist/cdn/{EGNVJKZ5.js → XMP5PXC7.js} +2 -2
- package/dist/cdn/{NRFGE4OE.js → XVS24NR4.js} +2 -2
- package/dist/cdn/{47M5YVES.js → XXDQTZ5J.js} +1 -1
- package/dist/cdn/{AKSS4A7A.js → XXF3OV3V.js} +1 -1
- package/dist/cdn/{Q2WV5SS7.js → XYC7YHZ2.js} +1 -1
- package/dist/cdn/{F77QW2WG.js → XZYP2IKA.js} +2 -2
- package/dist/cdn/{NJLNHW4X.js → Y7AL2MOQ.js} +2 -2
- package/dist/cdn/{ABY74RTP.js → YD362EXI.js} +2 -2
- package/dist/cdn/{5AOHIN4B.js → YJ6BMIY6.js} +2 -2
- package/dist/cdn/{23CPOPYJ.js → YJOCISXE.js} +2 -2
- package/dist/cdn/{YHGAKCIU.js → YKQHD47D.js} +1 -1
- package/dist/cdn/YRKCUMNC.js +4 -0
- package/dist/cdn/{UJIAE77U.js → YU5UBOVQ.js} +2 -2
- package/dist/cdn/{OSA6ZGPX.js → YWYXGENR.js} +2 -2
- package/dist/cdn/{W6XGDNMY.js → YY4HKJJZ.js} +2 -2
- package/dist/cdn/{AZAVO3S5.js → ZR6T3SDY.js} +2 -2
- package/dist/cdn/ZSSGN6OO.js +4 -0
- package/dist/cdn/assets/popup/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/popup/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +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 +34 -0
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/slots2.js +2 -2
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/titleUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +22 -43
- 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 +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -7
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +6 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +7 -7
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -0
- package/dist/components/arcgis-bookmarks/customElement.js +3 -3
- package/dist/components/arcgis-building-explorer/customElement.d.ts +7 -1
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +9 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +8 -1
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +8 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
- package/dist/components/arcgis-daylight/customElement.js +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- package/dist/components/arcgis-directional-pad/customElement.d.ts +6 -0
- package/dist/components/arcgis-directional-pad/customElement.js +7 -7
- package/dist/components/arcgis-directions/customElement.d.ts +7 -1
- package/dist/components/arcgis-directions/customElement.js +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +7 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-editor/customElement.d.ts +7 -1
- package/dist/components/arcgis-editor/customElement.js +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +7 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +3 -3
- 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.d.ts +1 -0
- package/dist/components/arcgis-elevation-profile-next/customElement.js +9 -9
- 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 +6 -0
- package/dist/components/arcgis-expand/customElement.js +31 -31
- package/dist/components/arcgis-feature/customElement.d.ts +9 -8
- package/dist/components/arcgis-feature/customElement.js +17 -17
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +6 -6
- package/dist/components/arcgis-feature-element-info/customElement.js +10 -10
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +10 -10
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +3 -7
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +3 -3
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +63 -34
- package/dist/components/arcgis-features/customElement.js +79 -79
- package/dist/components/arcgis-floor-filter/customElement.d.ts +11 -5
- package/dist/components/arcgis-floor-filter/customElement.js +3 -3
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -0
- package/dist/components/arcgis-fullscreen/customElement.js +6 -6
- package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -0
- package/dist/components/arcgis-grid-controls/customElement.js +3 -3
- 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.d.ts +6 -0
- package/dist/components/arcgis-home/customElement.js +13 -13
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +9 -1
- package/dist/components/arcgis-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +216 -60
- package/dist/components/arcgis-legend/customElement.js +10 -10
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +6 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -3
- package/dist/components/arcgis-locate/customElement.d.ts +2 -0
- package/dist/components/arcgis-locate/customElement.js +9 -9
- package/dist/components/arcgis-map/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +8 -4
- package/dist/components/arcgis-measurement/customElement.js +3 -3
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +7 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
- package/dist/components/arcgis-placement/customElement.d.ts +2 -1
- package/dist/components/arcgis-placement/customElement.js +11 -10
- package/dist/components/arcgis-popup/css.d.ts +31 -0
- package/dist/components/arcgis-popup/customElement.d.ts +651 -0
- package/dist/components/arcgis-popup/customElement.js +393 -0
- package/dist/components/arcgis-popup/index.d.ts +2 -0
- package/dist/components/arcgis-popup/index.js +2 -0
- package/dist/components/arcgis-popup/interfaces.d.ts +43 -0
- package/dist/components/arcgis-print/customElement.d.ts +6 -0
- package/dist/components/arcgis-print/customElement.js +3 -3
- 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.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-scale-bar/customElement.js +9 -9
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +3 -3
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +8 -0
- package/dist/components/arcgis-search/customElement.js +3 -3
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +7 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +3 -3
- package/dist/components/arcgis-sketch/customElement.d.ts +8 -2
- package/dist/components/arcgis-sketch/customElement.js +3 -3
- package/dist/components/arcgis-slice/customElement.d.ts +1 -0
- package/dist/components/arcgis-slice/customElement.js +7 -7
- package/dist/components/arcgis-spinner/customElement.js +18 -44
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -0
- package/dist/components/arcgis-swipe/customElement.js +3 -3
- 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 +7 -1
- package/dist/components/arcgis-time-slider/customElement.js +3 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +6 -0
- package/dist/components/arcgis-track/customElement.js +10 -10
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +8 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +8 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +3 -3
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.js +49 -49
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -0
- package/dist/components/arcgis-zoom/customElement.js +7 -7
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +8237 -7115
- package/dist/docs/docs.json +7540 -6401
- package/dist/docs/vscode.html-custom-data.json +241 -335
- package/dist/docs/web-types.json +1466 -1270
- package/dist/index.d.ts +23 -70
- package/dist/index.js +1 -1
- package/dist/loader.js +55 -54
- package/dist/types/lumina.d.ts +61 -121
- package/dist/types/preact.d.ts +62 -135
- package/dist/types/react.d.ts +63 -149
- package/dist/types/stencil.d.ts +61 -121
- package/package.json +3 -3
- package/dist/cdn/2OEJGJTN.js +0 -4
- package/dist/cdn/37IXK3LX.js +0 -4
- package/dist/cdn/4ARAQPEK.js +0 -4
- package/dist/cdn/4GPP7ZG2.js +0 -4
- package/dist/cdn/5PGLNF5F.js +0 -4
- package/dist/cdn/66LROTMP.js +0 -5
- package/dist/cdn/6VKN7ZIV.js +0 -4
- package/dist/cdn/C7WOKMZX.js +0 -4
- package/dist/cdn/CQLUVA4A.js +0 -4
- package/dist/cdn/EVODZEOK.js +0 -4
- package/dist/cdn/GWLTZFSG.js +0 -4
- package/dist/cdn/HHFIZ3CL.js +0 -4
- package/dist/cdn/JF6JKWM6.js +0 -4
- package/dist/cdn/KLYV2SZX.js +0 -4
- package/dist/cdn/KRWQCBAZ.js +0 -4
- package/dist/cdn/KVVUQQUC.js +0 -4
- package/dist/cdn/LDIYHILE.js +0 -4
- package/dist/cdn/NV2NHBFO.js +0 -4
- package/dist/cdn/Q257PG2M.js +0 -4
- package/dist/cdn/RGYQV5XB.js +0 -4
- package/dist/cdn/SG22KYCL.js +0 -4
- package/dist/cdn/T6EQEVD2.js +0 -4
- package/dist/cdn/UI4GQIIT.js +0 -4
- package/dist/cdn/XZOIOZ43.js +0 -4
|
@@ -3,26 +3,26 @@ import { css as r, html as i } from "lit";
|
|
|
3
3
|
import { usePropertyChange as l } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { reEmitEvent as n } from "@arcgis/lumina/controllers/accessor";
|
|
5
5
|
import { classes as h } from "@arcgis/toolkit/dom";
|
|
6
|
-
import
|
|
7
|
-
import { LitElement as
|
|
6
|
+
import d from "@arcgis/core/widgets/Home/HomeViewModel.js";
|
|
7
|
+
import { LitElement as m, createEvent as g, safeClassMap as v, nothing as u } from "@arcgis/lumina";
|
|
8
8
|
import { u as p } from "../../chunks/useT9n.js";
|
|
9
|
-
import { m as
|
|
9
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
13
|
-
const
|
|
14
|
-
base:
|
|
12
|
+
v4.34.0-next.127 */
|
|
13
|
+
const b = r`.arcgis-button{--calcite-ui-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:1.3em;display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-ui-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}`, f = "home", s = {
|
|
14
|
+
base: f,
|
|
15
15
|
button: "arcgis-button"
|
|
16
|
-
}, x =
|
|
17
|
-
class
|
|
16
|
+
}, x = w(d);
|
|
17
|
+
class M extends m {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this.messages = p(), this.viewModel = x(this), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = n(() => this.viewModel, "go"), this.arcgisPropertyChange = l()("state"), this.arcgisReady = g();
|
|
19
|
+
super(...arguments), this.messages = p(), this.viewModel = x(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = n(() => this.viewModel, "go"), this.arcgisPropertyChange = l()("state"), this.arcgisReady = g();
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.properties = { autoDestroyDisabled: 5, goToOverride: 0, icon: 1, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3, viewpoint: 0 };
|
|
22
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, goToOverride: 0, icon: 1, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3, viewpoint: 0 };
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.styles =
|
|
25
|
+
this.styles = b;
|
|
26
26
|
}
|
|
27
27
|
async cancelGo() {
|
|
28
28
|
this.viewModel.cancelGo();
|
|
@@ -42,7 +42,7 @@ class y extends d {
|
|
|
42
42
|
return i`<div class=${v(h(s.base, s.button))}><calcite-button .disabled=${t === "disabled"} .iconStart=${o ? void 0 : c ?? void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${o ? "s" : "m"} title=${(t === "going-home" ? e.cancel : e.title) ?? u}>${o ? i`<calcite-loader inline label></calcite-loader>` : null}</calcite-button></div>`;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
a("arcgis-home",
|
|
45
|
+
a("arcgis-home", M);
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
M as ArcgisHome
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ import { keyed as b } from "lit/directives/keyed.js";
|
|
|
5
5
|
import { LitElement as g, createEvent as m, safeClassMap as c } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.127 */
|
|
9
9
|
const f = p`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`, e = {
|
|
10
10
|
label: "label",
|
|
11
11
|
labelContent: "label-content",
|
|
@@ -21,7 +21,7 @@ declare const useLayerListWidget: (component: LitElement & Pick<LayerList, "icon
|
|
|
21
21
|
childElem?: HTMLElement & {
|
|
22
22
|
ownedBy?: HTMLElement;
|
|
23
23
|
};
|
|
24
|
-
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
24
|
+
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nullish;
|
|
25
25
|
};
|
|
26
26
|
autoDestroyDisabled: boolean;
|
|
27
27
|
destroy: () => Promise<void>;
|
|
@@ -38,6 +38,14 @@ export declare class ArcgisLayerList extends LitElement {
|
|
|
38
38
|
* @since 4.33
|
|
39
39
|
*/
|
|
40
40
|
readonly arcgisClose: TargetedEvent<this>;
|
|
41
|
+
/**
|
|
42
|
+
* A reference to the [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
43
|
+
*
|
|
44
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#view)
|
|
45
|
+
*
|
|
46
|
+
* @default null
|
|
47
|
+
*/
|
|
48
|
+
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
41
49
|
/**
|
|
42
50
|
* If true, the component will not be destroyed automatically when it is
|
|
43
51
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -8,14 +8,14 @@ import { s as d } from "../../chunks/layer-list.js";
|
|
|
8
8
|
import { c as n } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.127 */
|
|
12
12
|
const g = h(r);
|
|
13
13
|
class c extends o {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.arcgisClose = n(this), this.autoDestroyDisabled = !1, this.catalogOptions = this.widget.catalogOptions, this.closed = !1, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideCatalogLayerList = this.widget.visibleElements.catalogLayerList, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.knowledgeGraphOptions = this.widget.knowledgeGraphOptions, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.openedLayers = this.widget.openedLayers, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisTriggerAction = a(() => this.widget, "trigger-action");
|
|
15
|
+
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.arcgisClose = n(this), this.view = this.widget.view, this.autoDestroyDisabled = !1, this.catalogOptions = this.widget.catalogOptions, this.closed = !1, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideCatalogLayerList = this.widget.visibleElements.catalogLayerList, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.knowledgeGraphOptions = this.widget.knowledgeGraphOptions, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.openedLayers = this.widget.openedLayers, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisTriggerAction = a(() => this.widget, "trigger-action");
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.properties = { autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideFlow: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 0, operationalItems: 32, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, tableList: 32, visibilityAppearance: 1 };
|
|
18
|
+
this.properties = { view: 0, autoDestroyDisabled: 5, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideCatalogLayerList: 5, hideFlow: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, openedLayers: 0, operationalItems: 32, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, tableList: 32, visibilityAppearance: 1 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.styles = d;
|
|
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
|
|
|
10
10
|
import { u as x } from "../../chunks/useT9n.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.127 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -1,14 +1,89 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { default as LegendViewModel } from '@arcgis/core/widgets/Legend/LegendViewModel.js';
|
|
4
|
-
import { JsxNode,
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
5
|
import { Use } from '@arcgis/lumina/controllers';
|
|
6
6
|
import { HeadingLevel } from '../../support/heading';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
|
|
9
9
|
declare const useLegendViewModel: (component: LitElement & Pick<LegendViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LegendViewModel>) => LegendViewModel;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* The Legend component displays the symbols and labels used to represent layers in a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
12
|
+
* Only layers and sublayers visible in the view are shown, unless [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility) is set to `true`.
|
|
13
|
+
*
|
|
14
|
+
* The legend automatically updates when:
|
|
15
|
+
* - the visibility of a layer or sublayer changes
|
|
16
|
+
* - a layer is added or removed from the map
|
|
17
|
+
* - a layer's `renderer`, `opacity`, or `title` is changed
|
|
18
|
+
* - the `legendEnabled` property is changed (set to `true` or `false` on the layer)
|
|
19
|
+
*
|
|
20
|
+
* ## Known Limitations
|
|
21
|
+
*
|
|
22
|
+
* * Currently, the legend component does not support the following layer types:
|
|
23
|
+
* [ElevationLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ElevationLayer.html),
|
|
24
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html),
|
|
25
|
+
* [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-IntegratedMeshLayer.html),
|
|
26
|
+
* [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html),
|
|
27
|
+
* [MapNotesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapNotesLayer.html),
|
|
28
|
+
* [OpenStreetMapLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OpenStreetMapLayer.html),
|
|
29
|
+
* [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html),
|
|
30
|
+
* [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html), and
|
|
31
|
+
* [WebTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WebTileLayer.html).
|
|
32
|
+
* * [Symbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol3D.html) with more than one
|
|
33
|
+
* [symbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-Symbol3DLayer.html) are not supported.
|
|
34
|
+
* * [DictionaryRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-DictionaryRenderer.html) is not supported.
|
|
35
|
+
* * [TrackInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TrackInfo.html) is not supported.
|
|
36
|
+
* * CIM Symbol [primitiveOverride](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html#PrimitiveOverride) is not supported.
|
|
37
|
+
*
|
|
38
|
+
* ## Various examples of legends based on renderer type.
|
|
39
|
+
*
|
|
40
|
+
* ### Unique values
|
|
41
|
+
*
|
|
42
|
+
* [](../sample-code/visualization-location-types/)
|
|
43
|
+
*
|
|
44
|
+
* ### Continuous color
|
|
45
|
+
*
|
|
46
|
+
* [](../sample-code/visualization-vv-color/)
|
|
47
|
+
*
|
|
48
|
+
* ### Classed color
|
|
49
|
+
*
|
|
50
|
+
* [](../sample-code/visualization-classbreaks/)
|
|
51
|
+
*
|
|
52
|
+
* ### Continuous size
|
|
53
|
+
*
|
|
54
|
+
* [](../sample-code/visualization-sm-size/)
|
|
55
|
+
*
|
|
56
|
+
* ### Size - above and below
|
|
57
|
+
*
|
|
58
|
+
* [](../sample-code/visualization-sm-size-themes/)
|
|
59
|
+
*
|
|
60
|
+
* ### Dot density
|
|
61
|
+
*
|
|
62
|
+
* [](../sample-code/visualization-dot-density/)
|
|
63
|
+
*
|
|
64
|
+
* ### Predominance
|
|
65
|
+
*
|
|
66
|
+
* [](../sample-code/visualization-arcade/)
|
|
67
|
+
*
|
|
68
|
+
* ### Relationship
|
|
69
|
+
*
|
|
70
|
+
* [](../sample-code/visualization-sm-relationship/)
|
|
71
|
+
*
|
|
72
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/)
|
|
73
|
+
*
|
|
74
|
+
* @see [Sample - Legend component](https://developers.arcgis.com/javascript/latest/sample-code/legend/)
|
|
75
|
+
* @see [Sample - Add a Legend to the LayerList](https://developers.arcgis.com/javascript/latest/sample-code/layerlist-legend/)
|
|
76
|
+
* @see [Sample - Legend component card style](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
|
|
77
|
+
* @see [Sample - Update legend text](https://developers.arcgis.com/javascript/latest/sample-code/legend-update/)
|
|
78
|
+
* @since 4.28
|
|
79
|
+
*/
|
|
11
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
|
+
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
12
87
|
/**
|
|
13
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.
|
|
14
89
|
*
|
|
@@ -27,7 +102,7 @@ export declare class ArcgisLegend extends LitElement {
|
|
|
27
102
|
icon?: string;
|
|
28
103
|
/**
|
|
29
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
|
|
30
|
-
* display data in the legend. The legend
|
|
105
|
+
* display data in the legend. The legend component watches this property to hide or display the layer's legend when
|
|
31
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.
|
|
32
107
|
*
|
|
33
108
|
* @autocast { "value": "Object[]", "typedCollection": true }
|
|
@@ -35,44 +110,57 @@ export declare class ArcgisLegend extends LitElement {
|
|
|
35
110
|
activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
36
111
|
/**
|
|
37
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
|
|
38
|
-
* `true` and specify [layerInfos](
|
|
39
|
-
* specified in `layerInfos`.
|
|
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.
|
|
40
114
|
*
|
|
41
|
-
* @example
|
|
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
|
+
* ```
|
|
42
125
|
* @default false
|
|
43
126
|
*/
|
|
44
127
|
basemapLegendVisible: boolean;
|
|
45
128
|
/**
|
|
46
|
-
* Indicates the heading level to use for the legend title. By default, legend titles
|
|
47
|
-
*
|
|
48
|
-
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
49
|
-
* important for meeting accessibility standards.
|
|
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.
|
|
50
131
|
*
|
|
51
|
-
* @since 4.20
|
|
52
132
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
53
133
|
* @example
|
|
54
|
-
*
|
|
55
|
-
*
|
|
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
|
+
* ```
|
|
56
143
|
* @default 3
|
|
57
144
|
*/
|
|
58
145
|
headingLevel: HeadingLevel;
|
|
59
146
|
/**
|
|
60
|
-
* When `true`, layers will only be shown in the legend if
|
|
61
|
-
*
|
|
62
|
-
* is not visible in the view, the layer's legend information
|
|
63
|
-
* will be hidden. Only layers that implement the `createQuery()`
|
|
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()`
|
|
64
149
|
* and `queryFeatureCount()` methods are supported by `hideLayersNotInCurrentView`.
|
|
65
150
|
*
|
|
66
|
-
* To hide layers completely
|
|
67
|
-
* from the legend, you should set the `legendEnabled` property of
|
|
68
|
-
* the layer to `false`.
|
|
151
|
+
* To hide layers completely from the legend, you should set the `legendEnabled` property of the layer to `false`.
|
|
69
152
|
*
|
|
70
|
-
* @
|
|
71
|
-
* @see [respectLayerVisibility](#respectLayerVisibility)
|
|
153
|
+
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
72
154
|
* @example
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
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
|
+
* ```
|
|
76
164
|
* @default false
|
|
77
165
|
*/
|
|
78
166
|
hideLayersNotInCurrentView: boolean;
|
|
@@ -83,14 +171,22 @@ export declare class ArcgisLegend extends LitElement {
|
|
|
83
171
|
*
|
|
84
172
|
* @since 4.30
|
|
85
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
|
+
* ```
|
|
86
184
|
* @default false
|
|
87
185
|
*/
|
|
88
186
|
respectLayerDefinitionExpression: boolean;
|
|
89
187
|
/**
|
|
90
|
-
* Determines whether to respect the properties of the layers in the map that
|
|
91
|
-
*
|
|
92
|
-
* By default, a layer's legend elements **will
|
|
93
|
-
* not render** in the legend given the following conditions:
|
|
188
|
+
* Determines whether to respect the properties of the layers in the map that control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
|
|
189
|
+
* By default, a layer's legend elements **will not render** in the legend given the following conditions:
|
|
94
190
|
*
|
|
95
191
|
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
|
|
96
192
|
* is set to `false`.
|
|
@@ -98,61 +194,121 @@ export declare class ArcgisLegend extends LitElement {
|
|
|
98
194
|
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
|
|
99
195
|
* [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
|
|
100
196
|
*
|
|
101
|
-
* When the `
|
|
197
|
+
* When the `ignoreLayerVisibility` property of the legend is set to `true`, the legend elements for each
|
|
102
198
|
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
103
199
|
* and `legendEnabled` properties for each layer in the map.
|
|
104
200
|
*
|
|
105
|
-
* @since 4.
|
|
106
|
-
* @see [hideLayersNotInCurrentView](
|
|
201
|
+
* @since 4.34
|
|
202
|
+
* @see [hideLayersNotInCurrentView](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#hideLayersNotInCurrentView)
|
|
107
203
|
* @example
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
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
|
|
112
214
|
*/
|
|
113
215
|
ignoreLayerVisibility: boolean;
|
|
114
216
|
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
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.
|
|
120
229
|
*
|
|
230
|
+
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
121
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
|
|
122
254
|
* const subtypeGroupLayer = webmap.layers.getItemAt(0);
|
|
123
255
|
* const subtypeSubLayer = subtypeGroupLayer.sublayers.getItemAt(1);
|
|
124
256
|
* const subtypeSublayerId = parseInt(subtypeSubLayer.subtypeCode);
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* }
|
|
132
|
-
* ]
|
|
257
|
+
* document.querySelector("arcgis-legend").layerInfos = [
|
|
258
|
+
* {
|
|
259
|
+
* layer: subtypeGroupLayer,
|
|
260
|
+
* sublayerIds: [subtypeSublayerId]
|
|
261
|
+
* }
|
|
262
|
+
* ];
|
|
133
263
|
* });
|
|
264
|
+
* ```
|
|
134
265
|
*/
|
|
135
266
|
layerInfos: __esri.LegendViewModelLayerInfos[];
|
|
267
|
+
/**
|
|
268
|
+
* Indicates whether the legend is currently loading.
|
|
269
|
+
*
|
|
270
|
+
* @since 4.34
|
|
271
|
+
* @default false
|
|
272
|
+
*/
|
|
273
|
+
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
|
+
*/
|
|
136
294
|
cardStyleLayout?: "auto" | "side-by-side" | "stack";
|
|
137
295
|
/**
|
|
138
296
|
* Indicates the style of the legend. The style determines the legend's layout and behavior.
|
|
139
297
|
* You can either specify a string or an object to indicate the style. The known string values are the same values listed in
|
|
140
298
|
* the table within the `type` property.
|
|
141
299
|
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* legend.legendStyle = "card";
|
|
300
|
+
* [](../sample-code/legend-card/)
|
|
301
|
+
*
|
|
302
|
+
* @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#cardStyleLayout)
|
|
146
303
|
* @example
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
304
|
+
* Renders the legend in the card style with a stack layout
|
|
305
|
+
*
|
|
306
|
+
* ```js
|
|
307
|
+
* document.querySelector("arcgis-legend").legendStyle = legendStyle = {
|
|
150
308
|
* type: "card",
|
|
151
|
-
* layout: "
|
|
309
|
+
* layout: "stack"
|
|
152
310
|
* };
|
|
153
|
-
*
|
|
154
|
-
* // renders the legend in the classic layout
|
|
155
|
-
* legend.legendStyle = "classic";
|
|
311
|
+
* ```
|
|
156
312
|
* @default "classic"
|
|
157
313
|
*/
|
|
158
314
|
legendStyle: "card" | "classic" | {
|
|
@@ -6,19 +6,19 @@ import { LitElement as g, createEvent as h, safeClassMap as p } from "@arcgis/lu
|
|
|
6
6
|
import { usePropertyChange as f } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { classes as m } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { u as _ } from "../../chunks/useHandles.js";
|
|
9
|
-
import { u } from "../../chunks/useT9n.js";
|
|
10
|
-
import { m as
|
|
9
|
+
import { u as w } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as u } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as s } 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`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-collapse-icon-flip: scaleX(1);--arcgis-row-direction: row;--arcgis-legend-internal-width: 300px}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:block;overflow:auto;width:var(--arcgis-legend-internal-width)}:host([card-style-layout="side-by-side"]){--arcgis-legend-internal-width: auto}`,
|
|
16
|
-
class
|
|
14
|
+
v4.34.0-next.127 */
|
|
15
|
+
const v = d`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-expand-max-height: var(--calcite-spacing-xxxl);--arcgis-collapse-icon-flip: scaleX(1);--arcgis-row-direction: row;--arcgis-legend-internal-width: 300px}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:block;overflow:auto;width:var(--arcgis-legend-internal-width)}:host([card-style-layout="side-by-side"]){--arcgis-legend-internal-width: auto}`, y = u(c);
|
|
16
|
+
class b extends g {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this.messages =
|
|
18
|
+
super(...arguments), this.messages = w({}), this.final = _("destroy"), this.viewModel = y(this), this._isCardStyle = !1, this.view = this.viewModel.view, this.icon = "icon", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.ignoreLayerVisibility = !this.viewModel.respectLayerVisibility, this.respectLayerVisibilityDisabled = !this.viewModel.respectLayerVisibility, this.layerInfos = this.viewModel.layerInfos, this.loading = this.viewModel.loading, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("state"), this.arcgisReady = h();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.properties = { _isCardStyle: 16, referenceElement: 1, position: 1, icon: 1, activeLayerInfos: 0, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, respectLayerDefinitionExpression: 5, ignoreLayerVisibility: 5, layerInfos: 0, cardStyleLayout:
|
|
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 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
24
|
this.styles = v;
|
|
@@ -47,7 +47,7 @@ class y extends g {
|
|
|
47
47
|
}), this.requestUpdate();
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return r`<div class=${p(m(s.widget, { [s.panel]: !this._isCardStyle }))}>${this._isCardStyle ? r`<arcgis-legend-card-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages} .layout=${this.cardStyleLayout} .view=${this.
|
|
50
|
+
return r`<div class=${p(m(s.widget, { [s.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
51
|
}
|
|
52
52
|
_renderOnActiveLayerInfoChange(e) {
|
|
53
53
|
const i = a(() => e.version, () => this.requestUpdate());
|
|
@@ -56,7 +56,7 @@ class y extends g {
|
|
|
56
56
|
this.final.addHandles(n, `version_${e.layer.uid}`), e.children.forEach((t) => this._renderOnActiveLayerInfoChange(t));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
l("arcgis-legend",
|
|
59
|
+
l("arcgis-legend", b);
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
b as ArcgisLegend
|
|
62
62
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
5
5
|
|
|
6
|
-
/**
|
|
6
|
+
/** @private */
|
|
7
7
|
export declare class ArcgisLegendCardColorRamp extends LitElement {
|
|
8
8
|
cssEffectFilter?: string;
|
|
9
9
|
legendElement: __esri.ColorRampElement | __esri.HeatmapRampElement | __esri.OpacityRampElement | __esri.StretchRampElement;
|
|
@@ -6,7 +6,7 @@ import { c as b } from "../../chunks/svgUtils.js";
|
|
|
6
6
|
import { g as L } 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.
|
|
9
|
+
v4.34.0-next.127 */
|
|
10
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
11
|
layerRow: "arcgis-legend--card__layer-row",
|
|
12
12
|
colorRampContainer: "arcgis-legend--card__color-ramp-container",
|
|
@@ -4,7 +4,7 @@ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/
|
|
|
4
4
|
import { HeadingLevel } from '../../support/heading';
|
|
5
5
|
import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
6
6
|
|
|
7
|
-
/**
|
|
7
|
+
/** @private */
|
|
8
8
|
export declare class ArcgisLegendCardElement extends LitElement {
|
|
9
9
|
cssEffectFilter?: string;
|
|
10
10
|
/** @default false */
|
|
@@ -9,7 +9,7 @@ import { a as k, g as f } from "../../chunks/titleUtils.js";
|
|
|
9
9
|
import { i as C } from "../../chunks/utils2.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.127 */
|
|
13
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
14
|
carouselTitleContainer: "arcgis-legend--card__carousel-title-container",
|
|
15
15
|
carouselTitle: "arcgis-legend--card__carousel-title",
|