@arcgis/map-components 4.34.0-next.128 → 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/{OV7FLXQK.js → 26CKZ5SY.js} +2 -2
- package/dist/cdn/2E637E7P.js +4 -0
- package/dist/cdn/{HLIF2MOX.js → 2JDLOFWA.js} +2 -2
- package/dist/cdn/{RTC37Y5W.js → 2N5UKAN3.js} +2 -2
- package/dist/cdn/{IPQ6R5Z7.js → 2PXBK7ZV.js} +2 -2
- package/dist/cdn/{JRXBVEW7.js → 2RON2ZQ6.js} +2 -2
- package/dist/cdn/{ZNOVB4YO.js → 2TAFFE53.js} +2 -2
- package/dist/cdn/{LOUJDVKG.js → 2TI5D53V.js} +2 -2
- package/dist/cdn/{37SGC6JO.js → 2XSFFIDL.js} +2 -2
- package/dist/cdn/{WDRSWYAT.js → 36OJTNPJ.js} +2 -2
- package/dist/cdn/{RGOWUXWS.js → 3AIQ4P53.js} +2 -2
- package/dist/cdn/{PWWDMTGF.js → 3G6DJ3HY.js} +2 -2
- package/dist/cdn/{IN32G4PC.js → 3H7RLSI7.js} +1 -1
- package/dist/cdn/{NV23B34I.js → 3JPQ7POI.js} +2 -2
- package/dist/cdn/{SWY2HN6J.js → 3KFTUCNQ.js} +2 -2
- package/dist/cdn/{VNYNALS7.js → 3M7J2TSV.js} +2 -2
- package/dist/cdn/{FNBJH4AX.js → 3NABOBT4.js} +2 -2
- package/dist/cdn/{OZCL6R6M.js → 3OUW5P7L.js} +2 -2
- package/dist/cdn/{Y4DGIKUB.js → 3OYJOZN3.js} +2 -2
- package/dist/cdn/3VTS6ILB.js +4 -0
- package/dist/cdn/{MGDAIXBC.js → 3WWTNBHY.js} +2 -2
- package/dist/cdn/{CRKP4B32.js → 3ZAZU4LJ.js} +2 -2
- package/dist/cdn/{62VYTKLK.js → 44TXMD6H.js} +2 -2
- package/dist/cdn/{4EMGEB6M.js → 4ACV2KWJ.js} +2 -2
- package/dist/cdn/{VUT6XGHU.js → 4MS4DAXU.js} +2 -2
- package/dist/cdn/{RXPZPX4D.js → 4NXYXZH2.js} +2 -2
- package/dist/cdn/{IKPHWLL7.js → 4OVCOZ2F.js} +2 -2
- package/dist/cdn/{BLZ7A4MO.js → 4OX54STK.js} +2 -2
- package/dist/cdn/{Q5JJF7JN.js → 4QG6IFRB.js} +2 -2
- package/dist/cdn/{KX7DGN5F.js → 5CTEAI7O.js} +2 -2
- package/dist/cdn/{54WC2T2L.js → 5HCV3QQQ.js} +2 -2
- package/dist/cdn/{OB6QBXC6.js → 5I2KQWEA.js} +2 -2
- package/dist/cdn/{DI5YJ3E3.js → 5OWD3DW5.js} +2 -2
- package/dist/cdn/{Z534ORPK.js → 5PRUKFRM.js} +2 -2
- package/dist/cdn/{DJ44Q2JM.js → 5TSTUEKR.js} +1 -1
- package/dist/cdn/{EPXWQERC.js → 5YME4JB5.js} +2 -2
- package/dist/cdn/{OI5H3BL2.js → 62KRTO32.js} +1 -1
- package/dist/cdn/{PPMLSRAL.js → 6F7LAENI.js} +2 -2
- package/dist/cdn/{NZDLPUF7.js → 6ISWJUYK.js} +2 -2
- package/dist/cdn/{RVR3KJDU.js → 6IXPTA3B.js} +2 -2
- package/dist/cdn/{ENTL7LUH.js → 6KLKN2BJ.js} +2 -2
- package/dist/cdn/{5NDNY4PP.js → 6NJANHXX.js} +2 -2
- package/dist/cdn/{2H6QPPKV.js → 6OWI2LAE.js} +2 -2
- package/dist/cdn/{QQRBSWTG.js → 6U6OKIIN.js} +2 -2
- package/dist/cdn/{YGR6QLX5.js → 6V2E3PRP.js} +2 -2
- package/dist/cdn/{QOVGM25K.js → 6XKAX2FD.js} +2 -2
- package/dist/cdn/{JNUQB6QP.js → 6YEYD3QC.js} +2 -2
- package/dist/cdn/{VC6HWBIL.js → 72VKYKUS.js} +2 -2
- package/dist/cdn/{5BH6C35G.js → 7BQT7JM4.js} +2 -2
- package/dist/cdn/{V3ZZOWOZ.js → 7CARH35L.js} +2 -2
- package/dist/cdn/{727FOAJC.js → 7JJES337.js} +2 -2
- package/dist/cdn/7RFA5NYQ.js +4 -0
- package/dist/cdn/{2ECBWCO2.js → 7XAUTFYF.js} +2 -2
- package/dist/cdn/{2H3XO7CN.js → A4VJAI7O.js} +2 -2
- package/dist/cdn/{7DB6DUCJ.js → ALNL2S6K.js} +2 -2
- package/dist/cdn/{V2C7SG42.js → AMEJI4RL.js} +2 -2
- package/dist/cdn/{KRKTWT35.js → AMEJKSJC.js} +2 -2
- package/dist/cdn/{OYCJFRBN.js → AT4UORXF.js} +2 -2
- package/dist/cdn/{LAL3LRXS.js → AZBRZLSN.js} +2 -2
- package/dist/cdn/{K4C5QXH3.js → B2MIRYCD.js} +2 -2
- package/dist/cdn/{X77TSJNR.js → B2Y4TUXM.js} +2 -2
- package/dist/cdn/{OQHKBGAG.js → B55TI5U4.js} +2 -2
- package/dist/cdn/{7OENE6ZM.js → BHR3CY7L.js} +2 -2
- package/dist/cdn/{FGRYUWY4.js → BLJ7JUTQ.js} +2 -2
- package/dist/cdn/{DXLAVJAL.js → BRJHRBO3.js} +2 -2
- package/dist/cdn/{Z5MROVYA.js → BSJ2A7C7.js} +1 -1
- package/dist/cdn/{W5LV6KJQ.js → BXKVTFOR.js} +2 -2
- package/dist/cdn/{DMQERREH.js → BXOVTHFP.js} +2 -2
- package/dist/cdn/{MWL2W7MK.js → C4MOEQXH.js} +2 -2
- package/dist/cdn/{L7UBSVYJ.js → CDZR3LEH.js} +2 -2
- package/dist/cdn/{CW2666RZ.js → CHTSSKTP.js} +2 -2
- package/dist/cdn/{PV6MXF7P.js → CLRR2HYX.js} +2 -2
- package/dist/cdn/{UBPY57H7.js → CNJZCTHQ.js} +3 -3
- package/dist/cdn/{7RZWYNDZ.js → CQHSBP7T.js} +2 -2
- package/dist/cdn/{WRCKK4JT.js → D5U24EOV.js} +2 -2
- package/dist/cdn/{CGR2JG6D.js → DBHU2KWC.js} +1 -1
- package/dist/cdn/{3H5CGF2W.js → DDJCPTN7.js} +2 -2
- package/dist/cdn/{WS44MNJS.js → DJZUFQEC.js} +2 -2
- package/dist/cdn/{3XJLVWBC.js → DLW6ON74.js} +2 -2
- package/dist/cdn/{THZWI5UZ.js → DY53JB2H.js} +2 -2
- package/dist/cdn/{DVT2QMCH.js → DZ62X5O2.js} +2 -2
- package/dist/cdn/{JAU6IZNV.js → E5LPZEJR.js} +2 -2
- package/dist/cdn/{IINDWWUN.js → ED767R4Z.js} +2 -2
- package/dist/cdn/{EDZONWNW.js → EFUAWE4Y.js} +2 -2
- package/dist/cdn/{DVNN7IFJ.js → ETEU2BFZ.js} +2 -2
- package/dist/cdn/{54YUDXEI.js → EV7GV6L5.js} +2 -2
- package/dist/cdn/{THNVOXBQ.js → EW4QYCWX.js} +2 -2
- package/dist/cdn/{CI5Y2Q6H.js → EX2SWAE2.js} +2 -2
- package/dist/cdn/{NRKJBQCD.js → FB53QAWB.js} +2 -2
- package/dist/cdn/{WYIGBP6C.js → FGFAUXE4.js} +2 -2
- package/dist/cdn/{EZJRKL2Y.js → FIM3G3JM.js} +2 -2
- package/dist/cdn/{ZGY5YA4V.js → FTPA6EOA.js} +2 -2
- package/dist/cdn/{UJB6XFFE.js → FWUU2H5D.js} +2 -2
- package/dist/cdn/{6UQYYNES.js → GFWOUCKM.js} +2 -2
- package/dist/cdn/{P7EJRVNJ.js → GGQZYGIS.js} +2 -2
- package/dist/cdn/{CEH5AMZP.js → GJ2S5G76.js} +2 -2
- package/dist/cdn/{GF7XUPUG.js → GOIA2VIO.js} +2 -2
- package/dist/cdn/{LYXF5RII.js → GPW4JO2G.js} +2 -2
- package/dist/cdn/{ZA46SSTL.js → GRWLWBKI.js} +2 -2
- package/dist/cdn/{GBZWFRT5.js → GZQT3AEY.js} +2 -2
- package/dist/cdn/{ZHTQNBPM.js → HG2HJLB7.js} +2 -2
- package/dist/cdn/{EDN4E7VX.js → HGJORWCV.js} +2 -2
- package/dist/cdn/{DNC4RW63.js → HR7L4FJM.js} +2 -2
- package/dist/cdn/{Q3Q4VDPU.js → HWLDWN2W.js} +2 -2
- package/dist/cdn/{GYWPHVHB.js → HX6VS6DB.js} +2 -2
- package/dist/cdn/{HJOWHWPI.js → I2DYMLCR.js} +1 -1
- package/dist/cdn/{R42VWPV7.js → I3L57JG4.js} +2 -2
- package/dist/cdn/{ALIRDKZL.js → I74PEICA.js} +2 -2
- package/dist/cdn/{O32K44FO.js → IJ4LMUIQ.js} +2 -2
- package/dist/cdn/{5KMO7TRX.js → IM6QC53Y.js} +2 -2
- package/dist/cdn/IO3UX6D6.js +4 -0
- package/dist/cdn/{I4RQS3XS.js → IP36PLM7.js} +2 -2
- package/dist/cdn/{ZVI6TJKU.js → IYWTYE7N.js} +2 -2
- package/dist/cdn/{GKGDT535.js → JATWKJFD.js} +2 -2
- package/dist/cdn/{HQTXLNAM.js → JJCVXMRH.js} +2 -2
- package/dist/cdn/{GOLFULXL.js → JKFKE5MR.js} +2 -2
- package/dist/cdn/{J6TGDZAG.js → JLLFYDKG.js} +2 -2
- package/dist/cdn/{OTAVYVFZ.js → JOBTPC22.js} +2 -2
- package/dist/cdn/{EFJCUY4W.js → JUG7EGZK.js} +2 -2
- package/dist/cdn/{GHJY55KQ.js → JY7GRNQD.js} +2 -2
- package/dist/cdn/{QVOSBNB5.js → KMM7ZIDZ.js} +2 -2
- package/dist/cdn/{HNTDZ7QS.js → KP4TJKI4.js} +2 -2
- package/dist/cdn/{L2JAUAVY.js → KRTWR7YQ.js} +2 -2
- package/dist/cdn/{L4OQNX5N.js → KZPYWVUU.js} +1 -1
- package/dist/cdn/{LDWFL552.js → L5VLN3DY.js} +2 -2
- package/dist/cdn/{CMCJGWKJ.js → LB2EL3BM.js} +2 -2
- package/dist/cdn/{OS6SSKFR.js → LECMV3I7.js} +2 -2
- package/dist/cdn/M4ZKGLFP.js +4 -0
- package/dist/cdn/{MYEL4Y44.js → MBJ3WPAK.js} +2 -2
- package/dist/cdn/{UCTEISBH.js → MHNEHSFS.js} +2 -2
- package/dist/cdn/{MBHMZBQQ.js → MIVCSX26.js} +1 -1
- package/dist/cdn/{A4ICMR3Y.js → MKH5RV6F.js} +2 -2
- package/dist/cdn/{QDF36CXE.js → MNRTW2YK.js} +2 -2
- package/dist/cdn/{5PGYUSRZ.js → MPJTDJUB.js} +2 -2
- package/dist/cdn/{TKB5EQJG.js → MTTUF7TJ.js} +2 -2
- package/dist/cdn/{H3C7V4NF.js → MYFBCYBS.js} +2 -2
- package/dist/cdn/{S4PMWJSR.js → MZNQCXEA.js} +2 -2
- package/dist/cdn/{O4MJ4QT5.js → N3GTTH7I.js} +2 -2
- package/dist/cdn/{IRYI2C5T.js → N4BUIAU4.js} +2 -2
- package/dist/cdn/{7J34FORW.js → NF76BGUH.js} +2 -2
- package/dist/cdn/{KBB4ZI2O.js → NHBJFOV2.js} +2 -2
- package/dist/cdn/{HD6WVRXY.js → NOGHTVOO.js} +2 -2
- package/dist/cdn/NTX3CJDJ.js +4 -0
- package/dist/cdn/{ZNFBOSZA.js → O5ARGNZX.js} +2 -2
- package/dist/cdn/{2OUPGH3T.js → OJ2IPSJG.js} +2 -2
- package/dist/cdn/{INZGS6EI.js → OOGFKOB4.js} +2 -2
- package/dist/cdn/{UGZTTEAN.js → OPUHC7QF.js} +2 -2
- package/dist/cdn/{3TYD7MXA.js → OVFFHM4S.js} +2 -2
- package/dist/cdn/{AYHLSBH3.js → PG5HC5BN.js} +2 -2
- package/dist/cdn/{OZL4Y6PI.js → PNKQDVD2.js} +2 -2
- package/dist/cdn/{MQAAOELP.js → PWAYTG3M.js} +2 -2
- package/dist/cdn/{DR6PZOO4.js → Q7DPW2L4.js} +2 -2
- package/dist/cdn/{TO76MUXW.js → QAXGZLQX.js} +2 -2
- package/dist/cdn/{YTWAF4LD.js → QJMRHMQL.js} +2 -2
- package/dist/cdn/{7KGDRCGZ.js → QMSOQX2W.js} +2 -2
- package/dist/cdn/{MKE4XYAJ.js → QTMPYE5M.js} +2 -2
- package/dist/cdn/{ZVGMRQCQ.js → QU7UNKRY.js} +2 -2
- package/dist/cdn/QVBEOQ5E.js +4 -0
- package/dist/cdn/{4YNGM73K.js → QWNQHQ5X.js} +2 -2
- package/dist/cdn/{TRCE2UD4.js → R355PA7E.js} +2 -2
- package/dist/cdn/{2U23PR2Z.js → RDER4JIT.js} +2 -2
- package/dist/cdn/{LRD7NK6W.js → RDG67X6Y.js} +2 -2
- package/dist/cdn/{6CWVQ6UR.js → RVRJ56GQ.js} +2 -2
- package/dist/cdn/{VB5UXWAE.js → S5NNKSEU.js} +2 -2
- package/dist/cdn/{QGU4G2LK.js → S7HD7IZR.js} +2 -2
- package/dist/cdn/{X64RV363.js → SF2LYXB4.js} +2 -2
- package/dist/cdn/{TPLNN22C.js → SGMAMSB2.js} +2 -2
- package/dist/cdn/{BPX4DFYT.js → SHZNAPGY.js} +2 -2
- package/dist/cdn/{5SKPSGZO.js → SQP5CVZN.js} +2 -2
- package/dist/cdn/{6SFA2TBD.js → SUQLAWO2.js} +2 -2
- package/dist/cdn/{VQMB3CD5.js → SVR46FKF.js} +2 -2
- package/dist/cdn/{V453Q5SF.js → TBSVSRJR.js} +2 -2
- package/dist/cdn/{X5SAGX4O.js → TH6CH4LR.js} +2 -2
- package/dist/cdn/{AIBMTQIL.js → TJSIAN5W.js} +2 -2
- package/dist/cdn/{TLMJYYUH.js → TXEZBN74.js} +2 -2
- package/dist/cdn/{BEFAFUTF.js → TYECEK63.js} +2 -2
- package/dist/cdn/{CUHVMMFH.js → UBDXM6Z3.js} +2 -2
- package/dist/cdn/{62EOE6VY.js → UFCY2KFC.js} +2 -2
- package/dist/cdn/{MP4DJY5C.js → UICHASGY.js} +2 -2
- package/dist/cdn/{ZB65AVDQ.js → VA6OWDXD.js} +2 -2
- package/dist/cdn/{R2YJ4VKL.js → VMTI6CHT.js} +2 -2
- package/dist/cdn/{UAYBOFPS.js → VRMIMGUW.js} +2 -2
- package/dist/cdn/VSPSEOCX.js +7 -0
- package/dist/cdn/{5V37ZOQL.js → VT64XTKU.js} +2 -2
- package/dist/cdn/{KNAS2HY5.js → W26UZQGZ.js} +1 -1
- package/dist/cdn/{QIYI4QWP.js → W2GS5AIV.js} +2 -2
- package/dist/cdn/{BFTQA6P5.js → WERKFYQ3.js} +2 -2
- package/dist/cdn/{6LRAALBX.js → WFHVCCXF.js} +2 -2
- package/dist/cdn/{YHGSE3BM.js → WQMHKFQS.js} +2 -2
- package/dist/cdn/{3Y6MSDPY.js → X3QJUUZL.js} +2 -2
- package/dist/cdn/{V635Q4AX.js → X5OPP7FT.js} +2 -2
- package/dist/cdn/{SAHQV77E.js → X6BMBNFU.js} +2 -2
- package/dist/cdn/{SMDIWIPV.js → XAZB3LU2.js} +2 -2
- package/dist/cdn/XBWPN3OT.js +4 -0
- package/dist/cdn/{A6FXBFIG.js → XL7W5GXZ.js} +2 -2
- package/dist/cdn/{DRTV5TKW.js → XPYEPS32.js} +1 -1
- package/dist/cdn/{KDSVA2B7.js → XQCYTMXS.js} +2 -2
- package/dist/cdn/{H4P4G25Z.js → XQEU4QQD.js} +2 -2
- package/dist/cdn/{JLNXFQR7.js → XVIWSCAO.js} +2 -2
- package/dist/cdn/XWGQZRDR.js +4 -0
- package/dist/cdn/{66UDJ2TB.js → XXSEDV33.js} +1 -1
- package/dist/cdn/{6LNLTFMY.js → Y6K3P2SU.js} +2 -2
- package/dist/cdn/{6LHSMDAL.js → YJDHY6K6.js} +2 -2
- package/dist/cdn/{5WO6TN2Z.js → YQL2KFQC.js} +2 -2
- package/dist/cdn/{KHS3SWXG.js → YRESWRME.js} +2 -2
- package/dist/cdn/{LUCLWH5K.js → YZXCXYHJ.js} +2 -2
- package/dist/cdn/{N4MXMJGO.js → Z2LEAMGA.js} +2 -2
- package/dist/cdn/Z57Y6JWT.js +4 -0
- package/dist/cdn/{RGZDXD5H.js → ZI6ORP7N.js} +1 -1
- package/dist/cdn/{AXYL6UJQ.js → ZMPKTRGL.js} +2 -2
- package/dist/cdn/{FAJ6AS6Z.js → ZOURP3J5.js} +2 -2
- package/dist/cdn/{TVG544VC.js → ZS7VOTOT.js} +2 -2
- package/dist/cdn/{IFPTT4L5.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/esri-main.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 +1 -1
- package/dist/chunks/slots.js +1 -1
- 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 +0 -58
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +0 -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 +0 -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 +0 -153
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +0 -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 +0 -70
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +0 -120
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +0 -57
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +0 -108
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +0 -113
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +0 -84
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +0 -72
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +0 -91
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +0 -58
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +0 -85
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +0 -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 +0 -156
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +0 -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 +1 -1
- 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 +0 -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 +0 -469
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +0 -60
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +0 -15
- 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 +0 -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 +0 -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 +24 -12
- 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 +0 -90
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +0 -292
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +0 -80
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +0 -44
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +0 -410
- package/dist/components/arcgis-map/customElement.js +1 -1
- 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 +0 -34
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -103
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +0 -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 +0 -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 +0 -47
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -84
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +0 -689
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +0 -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 +0 -110
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +0 -152
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +0 -144
- 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 +0 -92
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +0 -108
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +0 -110
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +0 -37
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +0 -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 +0 -162
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +0 -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 +0 -47
- 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 +0 -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 +1 -1
- 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 +0 -51
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +0 -43
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +6 -4
- package/dist/docs/docs.json +4 -3
- package/dist/docs/web-types.json +3 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/6C2FFQO2.js +0 -4
- package/dist/cdn/7EVEBQOO.js +0 -4
- package/dist/cdn/BXL3SOA7.js +0 -4
- package/dist/cdn/FA66GK4V.js +0 -4
- package/dist/cdn/G4BGDKAH.js +0 -4
- package/dist/cdn/JJTJRWHU.js +0 -4
- package/dist/cdn/SK65SOQI.js +0 -4
- package/dist/cdn/T5HWMNIT.js +0 -4
- package/dist/cdn/TINFHRAM.js +0 -4
- package/dist/cdn/VZGNVDRD.js +0 -7
- package/dist/cdn/W6EGVMM4.js +0 -4
- package/dist/cdn/XCKNQRIC.js +0 -4
- package/dist/chunks/titleUtils.js +0 -42
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as E } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as k, html as s } from "lit";
|
|
3
|
+
import b from "@arcgis/core/Color.js";
|
|
4
|
+
import { LitElement as L, safeClassMap as l, safeStyleMap as u, nothing as _ } from "@arcgis/lumina";
|
|
5
5
|
import { classes as n } from "@arcgis/toolkit/dom";
|
|
6
|
-
import { H as
|
|
7
|
-
import { g as
|
|
8
|
-
import { a as
|
|
9
|
-
import { i as C } from "../../chunks/utils2.js";
|
|
6
|
+
import { H as w } from "../../chunks/heading.js";
|
|
7
|
+
import { g as $ } from "../../chunks/globalCss.js";
|
|
8
|
+
import { b as C, s as f, i as z, a as v, g as x } from "../../chunks/utils2.js";
|
|
10
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
13
|
-
const
|
|
11
|
+
v4.34.0-next.129 */
|
|
12
|
+
const F = k`.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
13
|
carouselTitleContainer: "arcgis-legend--card__carousel-title-container",
|
|
15
14
|
carouselTitle: "arcgis-legend--card__carousel-title",
|
|
16
15
|
sectionTitle: "arcgis-legend--card__section-title",
|
|
@@ -29,10 +28,10 @@ const L = x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .
|
|
|
29
28
|
backgroundStylesContainer: "arcgis-legend--card__background-styles-container",
|
|
30
29
|
container: "arcgis-legend--card__container"
|
|
31
30
|
};
|
|
32
|
-
function
|
|
33
|
-
return
|
|
31
|
+
function S(p) {
|
|
32
|
+
return p ? p.r * 0.299 + p.g * 0.587 + p.b * 0.114 >= 127 : void 0;
|
|
34
33
|
}
|
|
35
|
-
class
|
|
34
|
+
class R extends L {
|
|
36
35
|
constructor() {
|
|
37
36
|
super(...arguments), this.stacked = !1, this.headingLevel = 3;
|
|
38
37
|
}
|
|
@@ -40,23 +39,23 @@ class F extends E {
|
|
|
40
39
|
this.properties = { cssEffectFilter: 1, stacked: 7, activeLayerInfo: 0, headingLevel: 9, layer: 0, legendElement: 0, messages: 0 };
|
|
41
40
|
}
|
|
42
41
|
static {
|
|
43
|
-
this.styles =
|
|
42
|
+
this.styles = F;
|
|
44
43
|
}
|
|
45
44
|
_getBackgroundStyles(e) {
|
|
46
|
-
const t = e.symbol, i = t.color, d = !!i?.a, c = "outline" in t ? t.outline : null, r = !!c?.color?.a, o = d && i ? new
|
|
45
|
+
const t = e.symbol, i = t.color, d = !!i?.a, c = "outline" in t ? t.outline : null, r = !!c?.color?.a, o = d && i ? new b([i.r, i.g, i.b, i.a * this.layer.opacity]) : new b([255, 255, 255, 0]), g = r && c.color ? new b([c.color.r, c.color.g, c.color.b, c.color.a * this.layer.opacity]) : new b([255, 255, 255, 0]), h = S(e.symbol.color) ?? !0, m = h ? "black" : "white", y = h ? "rgba(255, 255, 255, .6)" : "rgba(0, 0, 0, .6)";
|
|
47
46
|
return {
|
|
48
47
|
background: d ? o.toCss(!0) : "none",
|
|
49
|
-
color:
|
|
50
|
-
textShadow: `-1px -1px 0 ${
|
|
51
|
-
1px -1px 0 ${
|
|
52
|
-
-1px 1px 0 ${
|
|
53
|
-
1px 1px 0 ${
|
|
54
|
-
border: r ? `1px solid ${
|
|
48
|
+
color: m,
|
|
49
|
+
textShadow: `-1px -1px 0 ${y},
|
|
50
|
+
1px -1px 0 ${y},
|
|
51
|
+
-1px 1px 0 ${y},
|
|
52
|
+
1px 1px 0 ${y}`,
|
|
53
|
+
border: r ? `1px solid ${g.toCss(!0)}` : "none",
|
|
55
54
|
filter: this.cssEffectFilter ?? ""
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
57
|
render() {
|
|
59
|
-
const e = this._renderLegendElement(), t =
|
|
58
|
+
const e = this._renderLegendElement(), t = C(this.legendElement, this.messages), i = this.stacked ? s`<div class=${l(a.carouselTitleContainer)}>${w({ class: n(a.carouselTitle, $.heading), level: this.headingLevel, children: this.activeLayerInfo.title })}${t ? s`<p class=${l(a.layerCaption)}>${t}</p>` : null}</div>` : t ? w({ class: n(a.sectionTitle, $.heading), level: this.headingLevel, children: t }) : null;
|
|
60
59
|
return s`<section class=${l(a.section)} role=tabpanel tabindex=0>${i}${e}</section>`;
|
|
61
60
|
}
|
|
62
61
|
_renderLegendElement() {
|
|
@@ -72,8 +71,10 @@ class F extends E {
|
|
|
72
71
|
return s`<arcgis-legend-card-color-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-color-ramp>`;
|
|
73
72
|
case "relationship-ramp":
|
|
74
73
|
return s`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;
|
|
75
|
-
case "pie-chart-ramp":
|
|
76
|
-
|
|
74
|
+
case "pie-chart-ramp": {
|
|
75
|
+
const { preview: e } = this.legendElement;
|
|
76
|
+
return f(e, this.messages.previewPieChartAriaLabel), s`<div class=${l(a.pieChartRampPreview)}>${e}</div>`;
|
|
77
|
+
}
|
|
77
78
|
case "univariate-above-and-below-ramp":
|
|
78
79
|
return s`<arcgis-legend-card-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-above-and-below-ramp>`;
|
|
79
80
|
case "univariate-color-size-ramp":
|
|
@@ -95,7 +96,7 @@ class F extends E {
|
|
|
95
96
|
return s`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${i} .legendElement=${e} .messages=${this.messages}></arcgis-legend-card-element>`;
|
|
96
97
|
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
97
98
|
return null;
|
|
98
|
-
const c =
|
|
99
|
+
const c = z(i, t), r = v(this.messages, d, !1) || "";
|
|
99
100
|
if ("src" in e && e.src) {
|
|
100
101
|
const o = {
|
|
101
102
|
[a.symbolCell]: this.stacked
|
|
@@ -108,24 +109,24 @@ class F extends E {
|
|
|
108
109
|
return s`<div>${e.preview}</div>`;
|
|
109
110
|
const o = {
|
|
110
111
|
[a.symbolCell]: this.stacked
|
|
111
|
-
};
|
|
112
|
-
return s`<div class=${l(n(a.layerRow, { [a.symbolRow]: this.stacked }))}><div class=${l(n(o))}>${
|
|
112
|
+
}, { preview: g } = e, h = "previewAriaLabel" in e ? e.previewAriaLabel : null, m = "label" in e ? v(this.messages, e.label, !1) : null;
|
|
113
|
+
return f(g, x(this.messages, h || m)), s`<div class=${l(n(a.layerRow, { [a.symbolRow]: this.stacked }))}><div class=${l(n(o))}>${g}</div><div class=${l(n(a.imageLabel, { [a.labelCell]: this.stacked }))}>${r}</div></div>`;
|
|
113
114
|
}
|
|
114
|
-
return s`<div class=${l(a.layerRow)}><div class=${l(a.labelElement)} style=${
|
|
115
|
+
return s`<div class=${l(a.layerRow)}><div class=${l(a.labelElement)} style=${u(this._getBackgroundStyles(e))}>${r}</div></div>`;
|
|
115
116
|
}
|
|
116
117
|
return null;
|
|
117
118
|
}
|
|
118
119
|
_renderImage(e, t, i) {
|
|
119
|
-
const {
|
|
120
|
+
const { previewAriaLabel: d, src: c, opacity: r } = e, o = v(this.messages, e.label, !1), g = {
|
|
120
121
|
[a.imageryLayerStretchedImage]: i,
|
|
121
122
|
[a.symbol]: !i
|
|
122
|
-
},
|
|
123
|
+
}, h = {
|
|
123
124
|
opacity: `${r ?? t.opacity}`
|
|
124
|
-
}, m =
|
|
125
|
-
return s`<img alt=${m ??
|
|
125
|
+
}, m = x(this.messages, d || o);
|
|
126
|
+
return s`<img alt=${m ?? _} .ariaLabel=${m} class=${l(n(g))} height=${e.height ?? void 0 ?? _} src=${c ?? _} style=${u(h)} width=${e.width ?? void 0 ?? _}>`;
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
|
-
|
|
129
|
+
E("arcgis-legend-card-element", R);
|
|
129
130
|
export {
|
|
130
|
-
|
|
131
|
+
R as ArcgisLegendCardElement
|
|
131
132
|
};
|
|
@@ -5,10 +5,8 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class LegendCardSizeRamp extends LitElement {
|
|
8
|
-
/** @default false */
|
|
9
8
|
hasIndicators: boolean;
|
|
10
9
|
legendElement: __esri.SizeRampElement;
|
|
11
|
-
/** @default 1 */
|
|
12
10
|
opacity: number;
|
|
13
11
|
messages: ArcgisLegend["messages"];
|
|
14
12
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import {
|
|
1
|
+
import { c as I } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as P, html as X } from "lit";
|
|
3
|
+
import { LitElement as j, safeStyleMap as z, safeClassMap as g } from "@arcgis/lumina";
|
|
4
|
+
import { s as Y, g as k, p as C } from "../../chunks/utils2.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
const
|
|
7
|
+
v4.34.0-next.129 */
|
|
8
|
+
const A = P`.arcgis-legend--card__size-ramp--container{display:flex;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--vertical-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.arcgis-legend--card__size-ramp--label{margin:0 .5em;white-space:nowrap}.arcgis-legend--card__size-ramp--vertical-ramp{display:flex;flex-direction:column;align-items:center}.arcgis-legend--card__size-ramp--ramp{display:flex;flex-direction:row-reverse;align-items:center}.arcgis-legend--card__size-ramp--preview{display:flex}`, d = {
|
|
9
9
|
container: "arcgis-legend--card__size-ramp--container",
|
|
10
10
|
verticalContainer: "arcgis-legend--card__size-ramp--vertical-container",
|
|
11
11
|
label: "arcgis-legend--card__size-ramp--label",
|
|
12
12
|
ramp: "arcgis-legend--card__size-ramp--ramp",
|
|
13
13
|
verticalRamp: "arcgis-legend--card__size-ramp--vertical-ramp",
|
|
14
14
|
preview: "arcgis-legend--card__size-ramp--preview"
|
|
15
|
-
},
|
|
16
|
-
function
|
|
15
|
+
}, M = "#ddd";
|
|
16
|
+
function N(e) {
|
|
17
17
|
if (!e)
|
|
18
18
|
return;
|
|
19
19
|
if (e.type.includes("3d")) {
|
|
@@ -22,21 +22,21 @@ function M(e) {
|
|
|
22
22
|
const t = e.symbolLayers.at(-1), i = t && "resource" in t ? t.resource?.primitive : void 0;
|
|
23
23
|
return i === "circle" || i === "cross" || i === "kite" || i === "sphere" || i === "cube" || i === "diamond";
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
return
|
|
25
|
+
const r = "style" in e ? e.style : void 0;
|
|
26
|
+
return r === "circle" || r === "diamond" || r === "cross";
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function O(e) {
|
|
29
29
|
if (e) {
|
|
30
30
|
if (e.type.includes("3d")) {
|
|
31
31
|
if (!("symbolLayers" in e) || !e.symbolLayers?.length)
|
|
32
32
|
return;
|
|
33
|
-
const
|
|
33
|
+
const r = e.symbolLayers.at(-1), t = r && "resource" in r ? r.resource?.primitive : void 0;
|
|
34
34
|
return t === "triangle" || t === "cone" || t === "tetrahedron";
|
|
35
35
|
}
|
|
36
36
|
return "style" in e && e.style === "triangle";
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
class
|
|
39
|
+
class B extends j {
|
|
40
40
|
constructor() {
|
|
41
41
|
super(...arguments), this.hasIndicators = !1, this.legendElement = null, this.opacity = 1;
|
|
42
42
|
}
|
|
@@ -44,27 +44,27 @@ class O extends I {
|
|
|
44
44
|
this.properties = { hasIndicators: 5, legendElement: 0, opacity: 9, messages: 0 };
|
|
45
45
|
}
|
|
46
46
|
static {
|
|
47
|
-
this.styles =
|
|
47
|
+
this.styles = A;
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
if (this.legendElement.theme === "spike")
|
|
51
51
|
return X`<div style=${z({ display: "flex", flex: "1", justifyContent: "center" })}><arcgis-legend-spike-ramp .legendElement=${this.legendElement} .messages=${this.messages}></arcgis-legend-spike-ramp></div>`;
|
|
52
|
-
const { legendElement:
|
|
52
|
+
const { legendElement: r, hasIndicators: t, opacity: i } = this, l = r.infos, v = l.at(0), p = l.at(-1);
|
|
53
53
|
if (!v || !p)
|
|
54
54
|
return null;
|
|
55
55
|
const { label: f, ...S } = v, { label: u, ..._ } = p;
|
|
56
|
-
let
|
|
57
|
-
if (!
|
|
56
|
+
let n = S.preview, s = _.preview;
|
|
57
|
+
if (!n || !s)
|
|
58
58
|
return null;
|
|
59
|
-
|
|
59
|
+
n = n.cloneNode(!0), n.style.display = "flex", Y(n, k(this.messages, f)), s = s.cloneNode(!0), s.style.display = "flex", Y(s, k(this.messages, u));
|
|
60
60
|
const o = { opacity: `${i ?? ""}` };
|
|
61
|
-
return X`<div class=${g(t ? d.verticalContainer : d.container)}><div class=${g(d.label)}>${t ? f : u}</div><div class=${g(t ? d.verticalRamp : d.ramp)}><div class=${g(d.preview)} style=${z(o)}>${
|
|
61
|
+
return X`<div class=${g(t ? d.verticalContainer : d.container)}><div class=${g(d.label)}>${t ? f : u}</div><div class=${g(t ? d.verticalRamp : d.ramp)}><div class=${g(d.preview)} style=${z(o)}>${n}</div>${this._renderSizeRampLines(r)}<div class=${g(d.preview)} style=${z(o)}>${s}</div></div><div class=${g(d.label)}>${t ? u : f}</div></div>`;
|
|
62
62
|
}
|
|
63
|
-
_renderSizeRampLines(
|
|
64
|
-
const t =
|
|
63
|
+
_renderSizeRampLines(r) {
|
|
64
|
+
const t = r.infos, i = t.at(0), l = t.at(-1);
|
|
65
65
|
if (!i || !l)
|
|
66
66
|
return null;
|
|
67
|
-
const v = i.symbol, p = this.hasIndicators, f = i.size && typeof i.size == "number" ? i.size : 0, S = l.size && typeof l.size == "number" ? l.size : 0, u = i.outlineSize || 0, _ = l.outlineSize || 0,
|
|
67
|
+
const v = i.symbol, p = this.hasIndicators, f = i.size && typeof i.size == "number" ? i.size : 0, S = l.size && typeof l.size == "number" ? l.size : 0, u = i.outlineSize || 0, _ = l.outlineSize || 0, n = C(f + u), s = C(S + _), o = p ? n : n + 50, m = p ? n / 2 + 50 : n, h = O(v), y = N(v), c = document.createElement("canvas");
|
|
68
68
|
c.width = o, c.height = m, c.style.width = `${c.width}px`, c.style.height = `${c.height}px`;
|
|
69
69
|
const a = c.getContext("2d");
|
|
70
70
|
if (p) {
|
|
@@ -80,18 +80,18 @@ class O extends I {
|
|
|
80
80
|
const L = 0, T = m / 2 + s / 2, E = o, R = m;
|
|
81
81
|
a.moveTo(L, T), a.lineTo(E, R);
|
|
82
82
|
}
|
|
83
|
-
return a.strokeStyle =
|
|
83
|
+
return a.strokeStyle = M, a.stroke(), X`<div style=${z(p ? {
|
|
84
84
|
display: "flex",
|
|
85
|
-
marginTop: `-${
|
|
86
|
-
marginBottom: `-${
|
|
85
|
+
marginTop: `-${h ? 0 : y ? n / 2 : 0}px`,
|
|
86
|
+
marginBottom: `-${h ? s : y ? s / 2 : 0}px`
|
|
87
87
|
} : {
|
|
88
88
|
display: "flex",
|
|
89
|
-
marginRight: `-${
|
|
90
|
-
marginLeft: `-${
|
|
89
|
+
marginRight: `-${h ? 0 : y ? n / 2 : 0}px`,
|
|
90
|
+
marginLeft: `-${h ? 0 : y ? s / 2 : 0}px`
|
|
91
91
|
})}>${c}</div>`;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
I("arcgis-legend-card-size-ramp", B);
|
|
95
95
|
export {
|
|
96
|
-
|
|
96
|
+
B as LegendCardSizeRamp
|
|
97
97
|
};
|
package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
7
7
|
export declare class LegendCardUnivariateAboveAndBelowRamp extends LitElement {
|
|
8
8
|
cssEffectFilter?: string;
|
|
9
9
|
legendElement: __esri.UnivariateColorSizeRampElement;
|
|
10
|
-
/** @default 1 */
|
|
11
10
|
opacity: number;
|
|
12
11
|
messages: ArcgisLegend["messages"];
|
|
13
12
|
}
|
|
@@ -5,7 +5,7 @@ import { c as S } from "../../chunks/utils.js";
|
|
|
5
5
|
import { f as k, h as B, b, c as f, a as U } from "../../chunks/univariateUtils.js";
|
|
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.129 */
|
|
9
9
|
const F = E`.arcgis-legend--card__layer-row{display:flex;align-items:center}.arcgis-legend--card__symbol{display:block;margin:auto}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`, i = {
|
|
10
10
|
layerRow: "arcgis-legend--card__layer-row",
|
|
11
11
|
symbol: "arcgis-legend--card__symbol",
|
|
@@ -25,7 +25,7 @@ class M extends L {
|
|
|
25
25
|
this.styles = F;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
const { legendElement: y, opacity: t } = this, { sizeRampElement: e, colorRampElement: n } = k(y, t, "horizontal");
|
|
28
|
+
const { legendElement: y, opacity: t } = this, { sizeRampElement: e, colorRampElement: n } = k(y, this.messages, t, "horizontal");
|
|
29
29
|
if (!e)
|
|
30
30
|
return null;
|
|
31
31
|
const w = B(e, "full", !0, "horizontal"), h = b(e, "above", !0, "horizontal"), _ = b(e, "below", !0, "horizontal"), c = 12, d = this.messages?.previewColorRampAriaLabel, m = f(n, {
|
|
@@ -7,7 +7,6 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
7
7
|
export declare class LegendCardUnivariateColorSizeRamp extends LitElement {
|
|
8
8
|
cssEffectFilter?: string;
|
|
9
9
|
legendElement: __esri.UnivariateColorSizeRampElement;
|
|
10
|
-
/** @default 1 */
|
|
11
10
|
opacity: number;
|
|
12
11
|
messages: ArcgisLegend["messages"];
|
|
13
12
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as _ } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as u, html as
|
|
2
|
+
import { css as u, html as t } from "lit";
|
|
3
3
|
import { LitElement as R, safeClassMap as a, safeStyleMap as l } from "@arcgis/lumina";
|
|
4
4
|
import { c as x } from "../../chunks/utils.js";
|
|
5
5
|
import { g as $, h as C, b as z, c as E, a as S } from "../../chunks/univariateUtils.js";
|
|
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.129 */
|
|
9
9
|
const L = u`.arcgis-legend--card__layer-row,.arcgis-legend--card__symbol{display:flex;align-items:center}.arcgis-legend--card__symbol-container{position:relative}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__color--card{position:relative}.arcgis-univariate-above-and-below-ramp__color--card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-background);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-background);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`, i = {
|
|
10
10
|
layerRow: "arcgis-legend--card__layer-row",
|
|
11
11
|
symbol: "arcgis-legend--card__symbol",
|
|
@@ -25,7 +25,7 @@ class k extends R {
|
|
|
25
25
|
this.styles = L;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
const { legendElement: c, opacity: d } = this, { sizeRampElement: e, colorRampElement: m } = $(c, "horizontal");
|
|
28
|
+
const { legendElement: c, opacity: d } = this, { sizeRampElement: e, colorRampElement: m } = $(c, this.messages, "horizontal");
|
|
29
29
|
if (!e)
|
|
30
30
|
return null;
|
|
31
31
|
const p = C(e, "full", !1, "horizontal"), g = z(e, "full", !1, "horizontal"), v = E(m, {
|
|
@@ -36,7 +36,7 @@ class k extends R {
|
|
|
36
36
|
type: "full",
|
|
37
37
|
cssEffectFilter: this.cssEffectFilter,
|
|
38
38
|
ariaLabel: this.messages?.previewColorRampAriaLabel
|
|
39
|
-
}),
|
|
39
|
+
}), o = S(e, "card"), f = e.infos.length - 1, y = e.infos.map((s, n) => n === 0 || n === f ? t`<div>${s.label}</div>` : null), b = {
|
|
40
40
|
display: "flex",
|
|
41
41
|
flexDirection: "column"
|
|
42
42
|
}, h = {
|
|
@@ -46,14 +46,14 @@ class k extends R {
|
|
|
46
46
|
marginTop: "3px",
|
|
47
47
|
display: "flex"
|
|
48
48
|
};
|
|
49
|
-
x(this.el) ? r.marginRight = `${
|
|
49
|
+
x(this.el) ? r.marginRight = `${o}px` : r.marginLeft = `${o}px`;
|
|
50
50
|
const w = {
|
|
51
51
|
width: `${p}px`,
|
|
52
52
|
display: "flex",
|
|
53
53
|
flexDirection: "row",
|
|
54
54
|
justifyContent: "space-between"
|
|
55
55
|
};
|
|
56
|
-
return
|
|
56
|
+
return t`<div class=${a(i.layerRow)} style=${l(b)}><div class=${a(i.symbolContainer)} style=${l(h)}>${e.infos.map((s) => t`<div class=${a(i.symbol)}>${s.preview}</div>`)}</div><div class=${a(i.univariateAboveAndBelowColorRamp)} style=${l(r)}><div>${v}</div></div><div class=${a(i.layerInfo)}><div class=${a(i.rampLabelsContainer)} style=${l(w)}>${y}</div></div></div>`;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
_("arcgis-legend-card-univariate-color-size-ramp", k);
|
|
@@ -8,16 +8,9 @@ export type CardLayout = "auto" | "side-by-side" | "stack";
|
|
|
8
8
|
/** @private */
|
|
9
9
|
export declare class LegendCardView extends LitElement {
|
|
10
10
|
activeLayerInfos?: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
11
|
-
/** @default 3 */
|
|
12
11
|
headingLevel: HeadingLevel;
|
|
13
12
|
messages: ArcgisLegend["messages"];
|
|
14
13
|
view: __esri.MapView | __esri.SceneView;
|
|
15
|
-
/**
|
|
16
|
-
* The rendering layout.
|
|
17
|
-
*
|
|
18
|
-
* @default "auto"
|
|
19
|
-
*/
|
|
20
14
|
layout: CardLayout;
|
|
21
|
-
/** The type of style. For Card this value is always `card`. */
|
|
22
15
|
readonly type: "card";
|
|
23
16
|
}
|
|
@@ -9,7 +9,7 @@ import { H as _ } from "../../chunks/heading.js";
|
|
|
9
9
|
import { g as v } from "../../chunks/globalCss.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.129 */
|
|
13
13
|
const u = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.arcgis-legend--card__message{padding:.5em 1em}.arcgis-legend--card__service-caption-text{margin:0}.arcgis-legend--card__service-content{display:flex;flex:1}.arcgis-legend--card__service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.arcgis-legend--card__service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content;display:flex;flex-direction:column;flex:1}.arcgis-legend--card__service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, n = {
|
|
14
14
|
message: "arcgis-legend--card__message",
|
|
15
15
|
serviceCaptionText: "arcgis-legend--card__service-caption-text",
|
|
@@ -6,7 +6,6 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class ArcgisLegendClassicColorRamp extends LitElement {
|
|
8
8
|
legendElement: __esri.ColorRampElement | __esri.HeatmapRampElement | __esri.OpacityRampElement | __esri.StretchRampElement;
|
|
9
|
-
/** @default 1 */
|
|
10
9
|
opacity: number;
|
|
11
10
|
messages: ArcgisLegend["messages"];
|
|
12
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import {
|
|
1
|
+
import { c } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as n, html as t } from "lit";
|
|
3
|
+
import { LitElement as p, safeClassMap as l, safeStyleMap as g } from "@arcgis/lumina";
|
|
4
|
+
import { s as o, c as m } from "../../chunks/utils2.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
const
|
|
7
|
+
v4.34.0-next.129 */
|
|
8
|
+
const d = n`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent rgba(0,1,0) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent rgba(0,1,0)}`, i = {
|
|
9
9
|
layerRow: "arcgis-legend__layer-row",
|
|
10
10
|
layerInfo: "arcgis-legend__layer-cell arcgis-legend__layer-cell--info",
|
|
11
11
|
symbolContainer: "arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",
|
|
@@ -15,7 +15,7 @@ const m = c`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{pa
|
|
|
15
15
|
rampLabelsContainer: "arcgis-legend__ramp-labels",
|
|
16
16
|
rampLabel: "arcgis-legend__ramp-label"
|
|
17
17
|
};
|
|
18
|
-
class
|
|
18
|
+
class b extends p {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.legendElement = null, this.opacity = 1;
|
|
21
21
|
}
|
|
@@ -23,27 +23,29 @@ class d extends g {
|
|
|
23
23
|
this.properties = { _preview: 16, legendElement: 0, opacity: 9, messages: 0 };
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.styles =
|
|
26
|
+
this.styles = d;
|
|
27
27
|
}
|
|
28
28
|
get _preview() {
|
|
29
29
|
const e = this.legendElement.preview;
|
|
30
30
|
if (!e)
|
|
31
31
|
return null;
|
|
32
|
-
const
|
|
33
|
-
|
|
32
|
+
const a = this.legendElement.type === "opacity-ramp", r = a ? i.opacityRamp : "";
|
|
33
|
+
e.className = `${i.colorRamp} ${r}`, this.opacity != null && (e.style.opacity = this.opacity.toString());
|
|
34
|
+
const s = a ? this.messages.previewOpacityRampAriaLabel : this.messages.previewColorRampAriaLabel;
|
|
35
|
+
return o(e, s), e;
|
|
34
36
|
}
|
|
35
37
|
render() {
|
|
36
|
-
const { legendElement: e, _preview:
|
|
37
|
-
if (!
|
|
38
|
+
const { legendElement: e, _preview: a } = this;
|
|
39
|
+
if (!a)
|
|
38
40
|
return null;
|
|
39
|
-
const
|
|
40
|
-
return
|
|
41
|
+
const r = { height: a.style.height };
|
|
42
|
+
return t`<div class=${l(i.layerRow)}><div class=${l(i.symbolContainer)}><div class=${l(i.rampContainer)}>${a}</div></div><div class=${l(i.layerInfo)}><div class=${l(i.rampLabelsContainer)} style=${g(r)}>${e.infos.map((s) => this._renderRampLabel(s, e.type))}</div></div></div>`;
|
|
41
43
|
}
|
|
42
|
-
_renderRampLabel(e,
|
|
43
|
-
return
|
|
44
|
+
_renderRampLabel(e, a) {
|
|
45
|
+
return t`<div class=${l(e.label ? i.rampLabel : void 0)}>${m(e, a, this.messages)}</div>`;
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
|
-
|
|
48
|
+
c("arcgis-legend-classic-color-ramp", b);
|
|
47
49
|
export {
|
|
48
|
-
|
|
50
|
+
b as ArcgisLegendClassicColorRamp
|
|
49
51
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { classes as
|
|
5
|
-
import { a as
|
|
6
|
-
import { i as f } from "../../chunks/utils2.js";
|
|
1
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as $, html as a } from "lit";
|
|
3
|
+
import { LitElement as w, safeClassMap as t, nothing as g, safeStyleMap as f } from "@arcgis/lumina";
|
|
4
|
+
import { classes as d } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { b as u, s as p, i as E, a as m, g as h } from "../../chunks/utils2.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const
|
|
8
|
+
v4.34.0-next.129 */
|
|
9
|
+
const L = $`.arcgis-legend__layer-table{display:flex;flex-flow:column;margin-bottom:var(--calcite-spacing-md);width:100%}.arcgis-legend__layer-table--size-ramp{display:table}.arcgis-legend__layer-table--size-ramp .arcgis-legend__layer-cell{display:table-cell}.arcgis-legend__layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0;word-break:break-word}.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-table--size-ramp .arcgis-legend__layer-row{display:table-row}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word;display:flex;align-items:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__imagery-layer-image--stretched{display:block;margin-bottom:-2px}.arcgis-legend__imagery-layer-info--stretched{padding:0 2px;vertical-align:top}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__symbol{display:flex;justify-content:center}`, s = {
|
|
11
10
|
layerTable: "arcgis-legend__layer-table",
|
|
12
11
|
layerTableSizeRamp: "arcgis-legend__layer-table--size-ramp",
|
|
13
12
|
layerCaption: "arcgis-legend__layer-caption",
|
|
@@ -19,18 +18,18 @@ const u = _`.arcgis-legend__layer-table{display:flex;flex-flow:column;margin-bot
|
|
|
19
18
|
symbolContainer: "arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",
|
|
20
19
|
symbol: "arcgis-legend__symbol"
|
|
21
20
|
};
|
|
22
|
-
class
|
|
21
|
+
class x extends w {
|
|
23
22
|
static {
|
|
24
23
|
this.properties = { cssEffectFilter: 1, layer: 0, legendElement: 0, messages: 0 };
|
|
25
24
|
}
|
|
26
25
|
static {
|
|
27
|
-
this.styles =
|
|
26
|
+
this.styles = L;
|
|
28
27
|
}
|
|
29
28
|
render() {
|
|
30
|
-
const e = this._renderLegendElement(), r =
|
|
29
|
+
const e = this._renderLegendElement(), r = u(this.legendElement, this.messages), l = r ? a`<div class=${t(s.layerCaption)}>${r}</div>` : null, i = {
|
|
31
30
|
[s.layerTableSizeRamp]: this.legendElement.type === "size-ramp"
|
|
32
31
|
};
|
|
33
|
-
return a`<section class=${
|
|
32
|
+
return a`<section class=${t(d(s.layerTable, i))}>${l}${e}</section>`;
|
|
34
33
|
}
|
|
35
34
|
_renderLegendElement() {
|
|
36
35
|
switch (this.legendElement.type) {
|
|
@@ -45,8 +44,10 @@ class w extends b {
|
|
|
45
44
|
return a`<arcgis-legend-classic-color-ramp .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-classic-color-ramp>`;
|
|
46
45
|
case "relationship-ramp":
|
|
47
46
|
return a`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;
|
|
48
|
-
case "pie-chart-ramp":
|
|
49
|
-
|
|
47
|
+
case "pie-chart-ramp": {
|
|
48
|
+
const { preview: e } = this.legendElement;
|
|
49
|
+
return p(e, this.messages.previewPieChartAriaLabel), a`<div>${e}</div>`;
|
|
50
|
+
}
|
|
50
51
|
case "univariate-above-and-below-ramp":
|
|
51
52
|
return a`<arcgis-legend-classic-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-classic-univariate-above-and-below-ramp>`;
|
|
52
53
|
case "univariate-color-size-ramp":
|
|
@@ -57,36 +58,40 @@ class w extends b {
|
|
|
57
58
|
}
|
|
58
59
|
_renderSymbolTable(e) {
|
|
59
60
|
const r = e.infos.map((l) => this._renderElementInfo(l, e.legendType)).filter(Boolean);
|
|
60
|
-
return r.length ? a`<div class=${
|
|
61
|
+
return r.length ? a`<div class=${t(s.layerBody)}>${r}</div>` : null;
|
|
61
62
|
}
|
|
62
63
|
_renderElementInfo(e, r) {
|
|
63
|
-
const { layer: l } = this,
|
|
64
|
+
const { layer: l } = this, i = "label" in e ? e.label : null;
|
|
64
65
|
if ("type" in e && e.type)
|
|
65
66
|
return e ? a`<arcgis-legend-classic-element .cssEffectFilter=${this.cssEffectFilter} .layer=${l} .legendElement=${e} .messages=${this.messages}></arcgis-legend-classic-element>` : null;
|
|
66
67
|
if (!("preview" in e && e.preview) && !("src" in e && e.src))
|
|
67
68
|
return null;
|
|
68
|
-
const c =
|
|
69
|
+
const c = E(l, r), n = {
|
|
69
70
|
[s.imageryLayerInfoStretched]: c
|
|
70
71
|
}, o = {
|
|
71
72
|
[s.imageryLayerInfoStretched]: c
|
|
72
73
|
};
|
|
73
|
-
return a`<div class=${
|
|
74
|
+
return a`<div class=${t(s.layerRow)}><div class=${t(d(s.symbolContainer, o))}>${this._renderPreview(e, c)}</div><div class=${t(d(s.layerInfo, n))}>${m(this.messages, i, !1) || ""}</div></div>`;
|
|
74
75
|
}
|
|
75
76
|
_renderPreview(e, r) {
|
|
76
77
|
const { layer: l } = this;
|
|
77
|
-
|
|
78
|
+
if ("preview" in e && e.preview) {
|
|
79
|
+
const { preview: i } = e, c = "previewAriaLabel" in e ? e.previewAriaLabel : null, n = "label" in e ? m(this.messages, e.label, !1) : null;
|
|
80
|
+
return p(i, h(this.messages, c || n)), a`<div class=${t(s.symbol)}>${i}</div>`;
|
|
81
|
+
}
|
|
82
|
+
return "src" in e && e.src ? this._renderImage(e, l, r) : null;
|
|
78
83
|
}
|
|
79
84
|
_renderImage(e, r, l) {
|
|
80
|
-
const {
|
|
85
|
+
const { previewAriaLabel: i, src: c, opacity: n } = e, o = m(this.messages, e.label, !1), b = {
|
|
81
86
|
[s.imageryLayerStretchedImage]: l,
|
|
82
87
|
[s.symbol]: !l
|
|
83
|
-
},
|
|
84
|
-
opacity: `${
|
|
85
|
-
},
|
|
86
|
-
return a`<img alt=${
|
|
88
|
+
}, _ = {
|
|
89
|
+
opacity: `${n ?? r.opacity}`
|
|
90
|
+
}, y = h(this.messages, i || o);
|
|
91
|
+
return a`<img alt=${y ?? g} .ariaLabel=${y} class=${t(d(b))} height=${e.height ?? void 0 ?? g} src=${c ?? g} style=${f(_)} width=${e.width ?? void 0 ?? g}>`;
|
|
87
92
|
}
|
|
88
93
|
}
|
|
89
|
-
|
|
94
|
+
v("arcgis-legend-classic-element", x);
|
|
90
95
|
export {
|
|
91
|
-
|
|
96
|
+
x as ArcgisLegendClassicElement
|
|
92
97
|
};
|