@arcgis/map-components 4.34.0-next.133 → 4.34.0-next.135
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/{LOL2IS6N.js → 24G4KXF4.js} +2 -2
- package/dist/cdn/{S5HHBRBG.js → 264NOLBX.js} +2 -2
- package/dist/cdn/{XFOMKQBM.js → 2A5SP3FY.js} +2 -2
- package/dist/cdn/{OPI2P667.js → 2BJON3MS.js} +2 -2
- package/dist/cdn/2NFD3DLX.js +4 -0
- package/dist/cdn/2WOVVHNS.js +4 -0
- package/dist/cdn/32GN4GF6.js +4 -0
- package/dist/cdn/3EWV2UDG.js +4 -0
- package/dist/cdn/3KBDOGHF.js +4 -0
- package/dist/cdn/3ZNR75MJ.js +4 -0
- package/dist/cdn/{3L66IRCG.js → 4CJ777MB.js} +2 -2
- package/dist/cdn/{OKTJ26YW.js → 4HX3NLQ5.js} +2 -2
- package/dist/cdn/{FTKUTQFI.js → 4OHWKEBH.js} +2 -2
- package/dist/cdn/{I7TF7AUF.js → 4QIHENSS.js} +2 -2
- package/dist/cdn/4QNNS53Y.js +4 -0
- package/dist/cdn/{EQLQJ6MB.js → 55RLV3XN.js} +2 -2
- package/dist/cdn/{SMPFHXUH.js → 57UAA5RQ.js} +2 -2
- package/dist/cdn/{46ETRS3K.js → 5AOHDKA5.js} +2 -2
- package/dist/cdn/{PYL7Z2W7.js → 5DSKIMHA.js} +2 -2
- package/dist/cdn/{GTXGX2VL.js → 5F6DTRLQ.js} +2 -2
- package/dist/cdn/{LKBBTZBH.js → 5KYPGW4S.js} +2 -2
- package/dist/cdn/5T5GV4GI.js +4 -0
- package/dist/cdn/5TU3LUBS.js +4 -0
- package/dist/cdn/64L5YHK2.js +4 -0
- package/dist/cdn/64PCOXHU.js +4 -0
- package/dist/cdn/{DPT27LMS.js → 66AU52N3.js} +2 -2
- package/dist/cdn/{PMI55QLI.js → 6PHRGCCS.js} +2 -2
- package/dist/cdn/6V5CIFPF.js +4 -0
- package/dist/cdn/{74SUH53T.js → 6W26HVIN.js} +2 -2
- package/dist/cdn/{ARSQ2M6R.js → 6ZCZBY2B.js} +2 -2
- package/dist/cdn/72YLQ2CB.js +4 -0
- package/dist/cdn/{YLRX44WW.js → 757V342B.js} +2 -2
- package/dist/cdn/{AJCOE4FW.js → 7G6CHYW5.js} +2 -2
- package/dist/cdn/{QREAX6T4.js → 7I3DAAV3.js} +2 -2
- package/dist/cdn/7ICOHWUX.js +4 -0
- package/dist/cdn/{WJMTBFOT.js → 7JOTCTMB.js} +2 -2
- package/dist/cdn/{BQDX5X62.js → 7NCUHQ4Q.js} +2 -2
- package/dist/cdn/7SH234WN.js +4 -0
- package/dist/cdn/{A3O3VXYT.js → 7SJJDINO.js} +2 -2
- package/dist/cdn/{SOAJC5OE.js → 7SYH3CBS.js} +2 -2
- package/dist/cdn/{HDL5KPOZ.js → 7YLHJUKW.js} +2 -2
- package/dist/cdn/A2Z2OVCJ.js +4 -0
- package/dist/cdn/A5XFBRR4.js +4 -0
- package/dist/cdn/AC4F7N6Z.js +4 -0
- package/dist/cdn/{TRHJKH4Y.js → AHSOTRYK.js} +2 -2
- package/dist/cdn/ANRWYRKZ.js +4 -0
- package/dist/cdn/{N2GGOJYR.js → BBHGEMM6.js} +2 -2
- package/dist/cdn/{SEP5SEJA.js → BERCN4WK.js} +2 -2
- package/dist/cdn/BHKKC7I3.js +4 -0
- package/dist/cdn/{QJRMFXTR.js → BZ64WIOC.js} +2 -2
- package/dist/cdn/{FKJ5GRT2.js → C2LLHWNX.js} +2 -2
- package/dist/cdn/{KVDMXAG7.js → C43Z7ZK5.js} +2 -2
- package/dist/cdn/{ZOYDWFG2.js → CAM63JR6.js} +2 -2
- package/dist/cdn/{CGI4SPUC.js → CGL53F3M.js} +2 -2
- package/dist/cdn/CUXZRRNQ.js +4 -0
- package/dist/cdn/{DHYV7QYP.js → D3J7GOCH.js} +2 -2
- package/dist/cdn/{IML6V74T.js → D4NWB6DX.js} +2 -2
- package/dist/cdn/D5KP4JLY.js +4 -0
- package/dist/cdn/{QI5R4SWT.js → D5NTDQ3O.js} +2 -2
- package/dist/cdn/{AIV3S2HK.js → D6T5ALXG.js} +2 -2
- package/dist/cdn/D7U2T34S.js +4 -0
- package/dist/cdn/DBBSW6MT.js +4 -0
- package/dist/cdn/{4TADWPXC.js → DJE3X6R7.js} +2 -2
- package/dist/cdn/{VRWIVXKN.js → DOKXCLLT.js} +2 -2
- package/dist/cdn/DYIIIKP4.js +4 -0
- package/dist/cdn/DZFFQGVC.js +4 -0
- package/dist/cdn/{NZXTSKAO.js → E3OCCK4M.js} +2 -2
- package/dist/cdn/EBZSGQYG.js +4 -0
- package/dist/cdn/{TJBW6LMV.js → EFDM7AQ5.js} +2 -2
- package/dist/cdn/EHI67J76.js +4 -0
- package/dist/cdn/EQMK75JU.js +4 -0
- package/dist/cdn/{SZRR3V4F.js → ETMOWVT6.js} +2 -2
- package/dist/cdn/{5YV2ME2C.js → EU36DQG5.js} +2 -2
- package/dist/cdn/{MJBYXK4R.js → F4RW4VP6.js} +2 -2
- package/dist/cdn/F4VZQC52.js +4 -0
- package/dist/cdn/{4XK46X44.js → F6W46JTS.js} +2 -2
- package/dist/cdn/FB67RDMQ.js +4 -0
- package/dist/cdn/{TNRTOBB7.js → FBO7P2RW.js} +2 -2
- package/dist/cdn/FL4MZSJR.js +4 -0
- package/dist/cdn/{OVLRLYZG.js → FMKKP2ZS.js} +2 -2
- package/dist/cdn/FNCZ3ZJK.js +4 -0
- package/dist/cdn/FWZXXV64.js +4 -0
- package/dist/cdn/{VYD63UBY.js → FYV3WPAV.js} +2 -2
- package/dist/cdn/{6FDOTFMC.js → G443PEPV.js} +2 -2
- package/dist/cdn/{BP5IKO2W.js → GEHNQE6L.js} +2 -2
- package/dist/cdn/{SZVINOSR.js → GIJMJVL3.js} +2 -2
- package/dist/cdn/{JYMNGGAN.js → GS5LA5GX.js} +1 -1
- package/dist/cdn/{KD6CNBIX.js → GUIKE26S.js} +2 -2
- package/dist/cdn/{H7OJ3ADS.js → HDV6ELSV.js} +2 -2
- package/dist/cdn/{QP5XD7EP.js → HGPEH3VF.js} +1 -1
- package/dist/cdn/HN4AT6JQ.js +4 -0
- package/dist/cdn/I2AB3ZHX.js +4 -0
- package/dist/cdn/{ZG2QLCVN.js → IEDCOT4Z.js} +2 -2
- package/dist/cdn/{2IJEHLYV.js → IJREQ7LE.js} +2 -2
- package/dist/cdn/{FOQSPMMT.js → ITGNHGFO.js} +2 -2
- package/dist/cdn/{CRDFDB4R.js → ITSAYHM7.js} +1 -1
- package/dist/cdn/{RRFBG5HD.js → IYHY5KI2.js} +2 -2
- package/dist/cdn/J4BW42ZE.js +4 -0
- package/dist/cdn/{JWTWQYMT.js → J7HG4ZH4.js} +2 -2
- package/dist/cdn/{5KY5FNP3.js → JNGGQPSW.js} +2 -2
- package/dist/cdn/{PPGQ7KJ2.js → JOUYINWG.js} +2 -2
- package/dist/cdn/{GDXUZGJL.js → JS4DD37B.js} +2 -2
- package/dist/cdn/{H4YVZYJF.js → K3DLY7YD.js} +2 -2
- package/dist/cdn/{KIUNSHU2.js → KHND5PEY.js} +2 -2
- package/dist/cdn/KIIHE4GM.js +4 -0
- package/dist/cdn/{O6VHOOAC.js → KJ7C22DL.js} +3 -3
- package/dist/cdn/KLOJICVI.js +4 -0
- package/dist/cdn/{M72S34GW.js → KTJ7BNX6.js} +2 -2
- package/dist/cdn/KUFO6RJ4.js +4 -0
- package/dist/cdn/{FC5KUYKW.js → KURHJODN.js} +2 -2
- package/dist/cdn/KWPHHM2X.js +4 -0
- package/dist/cdn/{LWK56WWB.js → KZNPXDP5.js} +2 -2
- package/dist/cdn/L3Y3BPRR.js +4 -0
- package/dist/cdn/{6MRAWRE5.js → L7GBHPKE.js} +2 -2
- package/dist/cdn/{BLO3PH63.js → L7QT7WG6.js} +1 -1
- package/dist/cdn/L7THQQXD.js +4 -0
- package/dist/cdn/{DZCXVCEA.js → LHSHAI3I.js} +1 -1
- package/dist/cdn/{DKVRCSPL.js → LI77S7L5.js} +1 -1
- package/dist/cdn/{QUVHG4VI.js → LUGCCBM4.js} +2 -2
- package/dist/cdn/{KD4F5NQR.js → LVFAANQ5.js} +1 -1
- package/dist/cdn/M5HPQTUP.js +4 -0
- package/dist/cdn/MLU4LLAN.js +4 -0
- package/dist/cdn/{FEQGF7DG.js → MN4TRI2D.js} +2 -2
- package/dist/cdn/{UPZIPW6L.js → MNXKIZHM.js} +2 -2
- package/dist/cdn/{ESQCPXNG.js → MPSSP4H3.js} +2 -2
- package/dist/cdn/{Y7TJKEQJ.js → MQAJ2B2M.js} +2 -2
- package/dist/cdn/{SRKZXRDQ.js → N7BVQ6RN.js} +2 -2
- package/dist/cdn/NHEID6C7.js +4 -0
- package/dist/cdn/{CEILZGTG.js → NRV6ZVQT.js} +2 -2
- package/dist/cdn/NUJBYA6R.js +4 -0
- package/dist/cdn/{PRRW75AG.js → NVUG33B6.js} +2 -2
- package/dist/cdn/{ZXKVHQCT.js → NZDV4UUN.js} +2 -2
- package/dist/cdn/{K54GN2OA.js → O4ZHDDL5.js} +2 -2
- package/dist/cdn/{EVZACT2Q.js → OLF4UO6H.js} +2 -2
- package/dist/cdn/{DXCCOUDT.js → ONFSDX3Z.js} +2 -2
- package/dist/cdn/{7TVV3P7P.js → ONL7EUL3.js} +2 -2
- package/dist/cdn/{454X6TWM.js → OOPLLTER.js} +2 -2
- package/dist/cdn/{5PLFYAP7.js → OQ5NKSMC.js} +2 -2
- package/dist/cdn/{XK44F75N.js → OT7W6BQB.js} +2 -2
- package/dist/cdn/OY54SPKL.js +4 -0
- package/dist/cdn/PC6DT567.js +4 -0
- package/dist/cdn/{GFTBGEHF.js → PD5IDQ7D.js} +2 -2
- package/dist/cdn/{2YY2TNL3.js → PHFF2DME.js} +2 -2
- package/dist/cdn/{XGJO7D77.js → PQBS7HYH.js} +2 -2
- package/dist/cdn/{YO5D24AF.js → PSREMJQR.js} +2 -2
- package/dist/cdn/{YXQM3OY4.js → PWLFY6B7.js} +2 -2
- package/dist/cdn/{GCD75UHB.js → PWM7DSFP.js} +2 -2
- package/dist/cdn/Q4DAYIDP.js +4 -0
- package/dist/cdn/{O4QZN6PX.js → QCLAADHB.js} +2 -2
- package/dist/cdn/{YZPYENRQ.js → QCWA3ZS3.js} +2 -2
- package/dist/cdn/{5XRDVKLQ.js → QKOQA623.js} +2 -2
- package/dist/cdn/{RAGSKOED.js → QRLTIUD2.js} +2 -2
- package/dist/cdn/QU6EUKD5.js +4 -0
- package/dist/cdn/{VNGPOITT.js → R5TXNP22.js} +2 -2
- package/dist/cdn/{KYUKYL7I.js → R7VUWD3S.js} +2 -2
- package/dist/cdn/{6RT63RR3.js → RDBBBBCG.js} +2 -2
- package/dist/cdn/{WP3NQCWY.js → RF5PSFKI.js} +2 -2
- package/dist/cdn/{7LHBDH44.js → RN43MDI3.js} +2 -2
- package/dist/cdn/{72VRO56J.js → RTHSQUH3.js} +2 -2
- package/dist/cdn/RVKWSYM4.js +4 -0
- package/dist/cdn/{U2LQNCA7.js → RZZJBZ74.js} +2 -2
- package/dist/cdn/{H2QBZPWQ.js → S2DXVBCK.js} +2 -2
- package/dist/cdn/{UPT6RSNI.js → S76VT3Z2.js} +2 -2
- package/dist/cdn/{V4YHBNOT.js → SFPNCIUP.js} +2 -2
- package/dist/cdn/SI7IEN5N.js +4 -0
- package/dist/cdn/SPVXZ5DW.js +4 -0
- package/dist/cdn/{YKICJUIU.js → SRFCJ4KP.js} +2 -2
- package/dist/cdn/STMFD7OE.js +4 -0
- package/dist/cdn/{73KR4UUG.js → STZLVHSH.js} +2 -2
- package/dist/cdn/{BFX2CXI3.js → SW4FXTYN.js} +2 -2
- package/dist/cdn/SZA23EJE.js +4 -0
- package/dist/cdn/T5UHCKZQ.js +4 -0
- package/dist/cdn/TGRHIFYX.js +4 -0
- package/dist/cdn/{5B6RPQW5.js → TH66C4YJ.js} +2 -2
- package/dist/cdn/{F5L564NB.js → TKGKESXY.js} +2 -2
- package/dist/cdn/TMVF2T6U.js +4 -0
- package/dist/cdn/{KG3A4QD7.js → TRSDIDJG.js} +2 -2
- package/dist/cdn/{KN6UIK2Q.js → TUVNY665.js} +1 -1
- package/dist/cdn/UOY7EBH4.js +4 -0
- package/dist/cdn/{FCGYD4F2.js → UPZMSWOV.js} +2 -2
- package/dist/cdn/{WWX6LKRR.js → USFXWQ7A.js} +2 -2
- package/dist/cdn/V22DWTVI.js +4 -0
- package/dist/cdn/{YZ4U4IWO.js → V4JZ434T.js} +1 -1
- package/dist/cdn/{PU6DA3OE.js → VFWDMDA4.js} +2 -2
- package/dist/cdn/VI4ZJU62.js +4 -0
- package/dist/cdn/{5LWU7TBO.js → VIYVJIVZ.js} +2 -2
- package/dist/cdn/VNNW3GJU.js +4 -0
- package/dist/cdn/W3B2PM2Z.js +4 -0
- package/dist/cdn/{ITYUH45Q.js → WMMA3Y5T.js} +2 -2
- package/dist/cdn/{Q3NEG6FB.js → WT7S4T2J.js} +2 -2
- package/dist/cdn/WVZWEUIS.js +4 -0
- package/dist/cdn/{IJ4OXERF.js → X2ZTYVSJ.js} +2 -2
- package/dist/cdn/{FD7TDTK7.js → XBKVHMXN.js} +2 -2
- package/dist/cdn/{GKMA7IAU.js → XKGVCJS7.js} +2 -2
- package/dist/cdn/{I7IE2OIU.js → XOQTZETE.js} +2 -2
- package/dist/cdn/{M7X6UEEV.js → XYKZOXXS.js} +2 -2
- package/dist/cdn/{5K6FVVGM.js → XZGYMLEG.js} +2 -2
- package/dist/cdn/{LETMD3L6.js → Y6Z6ESI6.js} +2 -2
- package/dist/cdn/{KYSXOKCO.js → YCVLRBJZ.js} +2 -2
- package/dist/cdn/{4QHSR24N.js → YHAVKIZ4.js} +2 -2
- package/dist/cdn/{35S344QP.js → YMENMSXM.js} +2 -2
- package/dist/cdn/{RR6GB7E5.js → YN3CIS3T.js} +2 -2
- package/dist/cdn/{CTQFFZJH.js → YODO4JMG.js} +2 -2
- package/dist/cdn/{KX4K5NCB.js → YPE3VKQ2.js} +2 -2
- package/dist/cdn/{7RKIIL6Q.js → YSDIKWKH.js} +2 -2
- package/dist/cdn/{OHQMB32N.js → Z2SKTWLG.js} +2 -2
- package/dist/cdn/{VPKP2LJT.js → ZCYRWXWO.js} +1 -1
- package/dist/cdn/{Z2IRJXHS.js → ZDPZJ6WF.js} +1 -1
- package/dist/cdn/{GNLXYSEG.js → ZEOFEXBN.js} +2 -2
- package/dist/cdn/ZHYT4QQD.js +4 -0
- package/dist/cdn/{LGC6RK6O.js → ZLTISH33.js} +1 -1
- package/dist/cdn/ZN5RNFDT.js +4 -0
- package/dist/cdn/ZPNSI43G.js +4 -0
- package/dist/cdn/{HZM7E55B.js → ZSDHEU3N.js} +2 -2
- package/dist/cdn/{6NQXSZ4F.js → ZU26UOHH.js} +2 -2
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +45 -38
- 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 +2 -2
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +12 -12
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +8 -6
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/uiController.js +45 -0
- 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 +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 +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +8 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +14 -14
- package/dist/components/arcgis-attachments/customElement.d.ts +70 -0
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +57 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +151 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +48 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +11 -11
- package/dist/components/arcgis-bookmarks/customElement.d.ts +256 -0
- package/dist/components/arcgis-bookmarks/customElement.js +13 -13
- package/dist/components/arcgis-building-explorer/customElement.d.ts +69 -0
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +52 -0
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/css.d.ts +26 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +286 -40
- package/dist/components/arcgis-coordinate-conversion/customElement.js +319 -16
- package/dist/components/arcgis-coordinate-conversion/index.d.ts +7 -0
- package/dist/components/arcgis-coordinate-conversion/index.js +7 -0
- package/dist/components/arcgis-coordinate-conversion/interfaces.d.ts +20 -0
- package/dist/components/arcgis-daylight/animation.d.ts +7 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +125 -8
- package/dist/components/arcgis-daylight/customElement.js +392 -295
- package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +2 -0
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +17 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +67 -0
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +91 -2
- package/dist/components/arcgis-directions/customElement.js +11 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +6 -6
- package/dist/components/arcgis-editor/customElement.d.ts +81 -0
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +101 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +3 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +141 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +3 -0
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +151 -0
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +303 -0
- package/dist/components/arcgis-feature/customElement.js +104 -62
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +1 -0
- 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 +1 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +76 -0
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +470 -2
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +497 -4
- package/dist/components/arcgis-features/customElement.js +15 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +60 -0
- package/dist/components/arcgis-floor-filter/customElement.js +4 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +15 -0
- package/dist/components/arcgis-fullscreen/customElement.js +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +179 -0
- package/dist/components/arcgis-grid-controls/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +102 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +86 -0
- package/dist/components/arcgis-home/customElement.js +7 -7
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +20 -0
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +144 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +22 -0
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +241 -0
- package/dist/components/arcgis-legend/customElement.js +11 -11
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +8 -8
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +2 -0
- 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 -0
- 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 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +7 -0
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +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 -0
- 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 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +2 -0
- 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 +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +94 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +293 -1
- package/dist/components/arcgis-link-chart/customElement.js +29 -21
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +77 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +53 -0
- package/dist/components/arcgis-locate/customElement.js +13 -13
- package/dist/components/arcgis-map/customElement.d.ts +410 -0
- package/dist/components/arcgis-map/customElement.js +25 -17
- package/dist/components/arcgis-measurement/customElement.d.ts +61 -0
- package/dist/components/arcgis-measurement/customElement.js +6 -6
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +38 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +103 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +11 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/css.d.ts +1 -0
- package/dist/components/arcgis-popup/customElement.d.ts +569 -123
- package/dist/components/arcgis-popup/customElement.js +111 -112
- package/dist/components/arcgis-popup/interfaces.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +132 -0
- package/dist/components/arcgis-print/customElement.js +8 -8
- 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 +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +46 -0
- package/dist/components/arcgis-scale-bar/customElement.js +12 -12
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +83 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +8 -8
- package/dist/components/arcgis-scene/customElement.d.ts +689 -0
- package/dist/components/arcgis-scene/customElement.js +32 -24
- package/dist/components/arcgis-search/customElement.d.ts +274 -0
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +11 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +16 -16
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +109 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +151 -3
- package/dist/components/arcgis-sketch/customElement.js +12 -14
- package/dist/components/arcgis-slice/customElement.d.ts +148 -0
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-spinner/customElement.d.ts +3 -0
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +89 -0
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-table-list/customElement.js +5 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +108 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +37 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +7 -7
- package/dist/components/arcgis-track/customElement.d.ts +110 -0
- package/dist/components/arcgis-track/customElement.js +4 -4
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -0
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +162 -0
- package/dist/components/arcgis-utility-network-associations/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +119 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +30 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +41 -61
- package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +2 -5
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +2 -5
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +36 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +103 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +45 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +85 -1
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +45 -0
- package/dist/components/arcgis-version-management/customElement.js +6 -6
- 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 +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +21 -0
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +56 -0
- 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 +55 -0
- package/dist/components/arcgis-weather/customElement.js +46 -46
- package/dist/components/arcgis-zoom/customElement.d.ts +47 -0
- package/dist/components/arcgis-zoom/customElement.js +10 -10
- package/dist/controllers/uiController.d.ts +21 -0
- package/dist/docs/api.json +1541 -539
- package/dist/docs/docs.json +1272 -470
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +212 -104
- package/dist/docs/web-types.json +562 -295
- package/dist/index.d.ts +21 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -8
- package/dist/support/earth-utils.d.ts +1 -2
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/measurementUtils.d.ts +1 -1
- package/dist/support/resources.d.ts +2 -0
- package/dist/support/slots.d.ts +2 -2
- package/dist/support/time-utils.d.ts +5 -1
- package/dist/types/lumina.d.ts +16 -7
- package/dist/types/preact.d.ts +81 -71
- package/dist/types/preact10.d.ts +756 -0
- package/dist/types/react.d.ts +18 -7
- package/dist/types/stencil.d.ts +16 -7
- package/dist/utils/math-utils.d.ts +6 -0
- package/dist/utils/signal-utils.d.ts +26 -0
- package/package.json +3 -3
- package/dist/cdn/27WMEF5S.js +0 -4
- package/dist/cdn/2VWA3OG6.js +0 -4
- package/dist/cdn/2W3TJFMA.js +0 -4
- package/dist/cdn/35RXSHVS.js +0 -4
- package/dist/cdn/35VOLBPZ.js +0 -4
- package/dist/cdn/4W3CFH6E.js +0 -4
- package/dist/cdn/4Y5GUCNJ.js +0 -4
- package/dist/cdn/6NZIJ433.js +0 -4
- package/dist/cdn/6XVYZVBO.js +0 -4
- package/dist/cdn/7KK2WCWD.js +0 -4
- package/dist/cdn/7S7BRL2R.js +0 -4
- package/dist/cdn/AFDQOEM2.js +0 -4
- package/dist/cdn/AX2KA2M6.js +0 -4
- package/dist/cdn/B3SUUTAF.js +0 -4
- package/dist/cdn/BC3RKC5I.js +0 -4
- package/dist/cdn/BOFZNXI7.js +0 -4
- package/dist/cdn/C4KSUDG6.js +0 -4
- package/dist/cdn/C6Z7X55M.js +0 -4
- package/dist/cdn/CC6NJOP5.js +0 -4
- package/dist/cdn/CER3LIOO.js +0 -4
- package/dist/cdn/CLCAUVIP.js +0 -4
- package/dist/cdn/DO6OZIXK.js +0 -4
- package/dist/cdn/DRTV25UV.js +0 -4
- package/dist/cdn/GXAGQIF7.js +0 -4
- package/dist/cdn/HJ7M6BW2.js +0 -4
- package/dist/cdn/HJJJLIV3.js +0 -4
- package/dist/cdn/HNNTLPL3.js +0 -4
- package/dist/cdn/HUF2RSHK.js +0 -4
- package/dist/cdn/IC55LEKW.js +0 -4
- package/dist/cdn/IDZMCIOS.js +0 -4
- package/dist/cdn/IXAGZ3RI.js +0 -4
- package/dist/cdn/JINI3JGE.js +0 -4
- package/dist/cdn/L7R3YPKP.js +0 -4
- package/dist/cdn/LC4VWZNC.js +0 -4
- package/dist/cdn/LKBS3726.js +0 -4
- package/dist/cdn/LWQXR2JI.js +0 -4
- package/dist/cdn/MV2H5AQC.js +0 -4
- package/dist/cdn/NKJONXTQ.js +0 -4
- package/dist/cdn/NOTSC5KN.js +0 -4
- package/dist/cdn/NW2XB2K6.js +0 -4
- package/dist/cdn/O4CVKIFA.js +0 -4
- package/dist/cdn/O6TE36QE.js +0 -4
- package/dist/cdn/PY2SF5ID.js +0 -4
- package/dist/cdn/QBYT6BW5.js +0 -4
- package/dist/cdn/QCPNRNPU.js +0 -4
- package/dist/cdn/QTQL5KV5.js +0 -4
- package/dist/cdn/QYAP7DBK.js +0 -4
- package/dist/cdn/R73NZWQJ.js +0 -4
- package/dist/cdn/R7B2MYES.js +0 -4
- package/dist/cdn/RAUV2KQ7.js +0 -4
- package/dist/cdn/RNFXIHDL.js +0 -4
- package/dist/cdn/RTDCXUDE.js +0 -4
- package/dist/cdn/SXHML6YB.js +0 -4
- package/dist/cdn/T7VH64WD.js +0 -4
- package/dist/cdn/TI3S4F6E.js +0 -4
- package/dist/cdn/TJP4VNIA.js +0 -4
- package/dist/cdn/TRSSX2OL.js +0 -4
- package/dist/cdn/UBKZ3TB5.js +0 -4
- package/dist/cdn/UUPK5JKU.js +0 -4
- package/dist/cdn/VSJMGGJE.js +0 -4
- package/dist/cdn/X24VUFUZ.js +0 -4
- package/dist/cdn/XTAVU3CZ.js +0 -4
- package/dist/cdn/Y4HMSIMF.js +0 -4
- package/dist/cdn/YAFQZDIF.js +0 -4
- package/dist/cdn/YOCFMRO4.js +0 -4
- package/dist/cdn/ZIILBGPX.js +0 -4
|
@@ -15,19 +15,31 @@ export declare class ArcgisLayerListItem extends LitElement {
|
|
|
15
15
|
canMove?: ({ dragEl, fromEl, toEl }: DragDetail, type: "pull" | "put") => boolean;
|
|
16
16
|
css: UnionCSS;
|
|
17
17
|
displayMode: ListDisplayMode;
|
|
18
|
+
/** @default false */
|
|
18
19
|
hideCatalogLayerList: boolean;
|
|
20
|
+
/** @default false */
|
|
19
21
|
showCloseButton: boolean;
|
|
22
|
+
/** @default false */
|
|
20
23
|
showCollapseButton: boolean;
|
|
24
|
+
/** @default false */
|
|
21
25
|
showErrors: boolean;
|
|
26
|
+
/** @default false */
|
|
22
27
|
showFilter: boolean;
|
|
28
|
+
/** @default false */
|
|
23
29
|
hideFlow: boolean;
|
|
30
|
+
/** @default false */
|
|
24
31
|
showHeading: boolean;
|
|
32
|
+
/** @default false */
|
|
25
33
|
hideStatusIndicators: boolean;
|
|
34
|
+
/** @default false */
|
|
26
35
|
showTemporaryLayerIndicators: boolean;
|
|
36
|
+
/** @default false */
|
|
27
37
|
showTemporaryTableIndicators: boolean;
|
|
38
|
+
/** @default false */
|
|
28
39
|
dragEnabled: boolean;
|
|
29
40
|
item: UnionListItem;
|
|
30
41
|
layerTablesEnabled?: __esri.Collection<TableSupportedLayers>;
|
|
42
|
+
/** @default false */
|
|
31
43
|
listModeDisabled: boolean;
|
|
32
44
|
handleAction: (action: Action, item: UnionListItem) => void;
|
|
33
45
|
handlePanelOpen: () => void;
|
|
@@ -42,7 +54,17 @@ export declare class ArcgisLayerListItem extends LitElement {
|
|
|
42
54
|
selectedItems: __esri.Collection<UnionListItem>;
|
|
43
55
|
selectedDragItemLayerUid?: string;
|
|
44
56
|
visibilityAppearance?: VisibilityAppearance;
|
|
57
|
+
/**
|
|
58
|
+
* If true, the component will not be destroyed automatically when it is
|
|
59
|
+
* disconnected from the document. This is useful when you want to move the
|
|
60
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
61
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list-item/#destroy) method when you are done to
|
|
62
|
+
* prevent memory leaks.
|
|
63
|
+
*
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
45
66
|
autoDestroyDisabled: boolean;
|
|
67
|
+
/** Permanently destroy the component. */
|
|
46
68
|
destroy(): Promise<void>;
|
|
47
69
|
}
|
|
48
70
|
export {};
|
|
@@ -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.135 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -78,34 +78,275 @@ declare const useLegendViewModel: (component: LitElement & Pick<LegendViewModel,
|
|
|
78
78
|
* @since 4.28
|
|
79
79
|
*/
|
|
80
80
|
export declare class ArcgisLegend extends LitElement {
|
|
81
|
+
/**
|
|
82
|
+
* The view associated with the component.
|
|
83
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the ArcgisLegend component will be associated with a map or scene component rather than using the `view` property.
|
|
84
|
+
*/
|
|
81
85
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
86
|
+
/**
|
|
87
|
+
* 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.
|
|
88
|
+
*
|
|
89
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
90
|
+
*/
|
|
82
91
|
referenceElement?: ArcgisReferenceElement | string;
|
|
92
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
83
93
|
position?: __esri.UIPosition;
|
|
94
|
+
/**
|
|
95
|
+
* Icon which represents the component.
|
|
96
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
97
|
+
*
|
|
98
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
99
|
+
* @default "legend"
|
|
100
|
+
*/
|
|
84
101
|
icon?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Collection of [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) objects used by the legend view to
|
|
104
|
+
* display data in the legend. The legend component watches this property to hide or display the layer's legend when
|
|
105
|
+
* an [ActiveLayerInfo](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html) is removed from or added to this collection.
|
|
106
|
+
*
|
|
107
|
+
* @autocast { "value": "Object[]", "typedCollection": true }
|
|
108
|
+
*/
|
|
85
109
|
activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
110
|
+
/**
|
|
111
|
+
* 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
|
|
112
|
+
* `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.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* Show basemap layers in the legend
|
|
116
|
+
*
|
|
117
|
+
* ```js
|
|
118
|
+
* const mapElement = document.querySelector("arcgis-map");
|
|
119
|
+
* const basemapLayer = mapElement.map.basemap.baseLayers.getItemAt(0);
|
|
120
|
+
* const legend = document.querySelector("arcgis-legend");
|
|
121
|
+
* legend.layerInfos = [{ layer: basemapLayer }];
|
|
122
|
+
* legend.basemapLegendVisible = true;
|
|
123
|
+
* ```
|
|
124
|
+
* @default false
|
|
125
|
+
*/
|
|
86
126
|
basemapLegendVisible: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* 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
|
|
129
|
+
* in your app, you may need to adjust this heading for proper semantics. This is important for meeting accessibility standards.
|
|
130
|
+
*
|
|
131
|
+
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
132
|
+
* @example
|
|
133
|
+
* Legend title will render as an `<h2>`
|
|
134
|
+
*
|
|
135
|
+
* ```html
|
|
136
|
+
* <arcgis-legend heading-level="2"></arcgis-legend>
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* ```js
|
|
140
|
+
* document.querySelector("arcgis-legend").headingLevel = 2;
|
|
141
|
+
* ```
|
|
142
|
+
* @default 3
|
|
143
|
+
*/
|
|
87
144
|
headingLevel: HeadingLevel;
|
|
145
|
+
/**
|
|
146
|
+
* When `true`, layers will only be shown in the legend if they are visible in the view's extent. When data from a layer
|
|
147
|
+
* is not visible in the view, the layer's legend information will be hidden. Only layers that implement the `createQuery()`
|
|
148
|
+
* and `queryFeatureCount()` methods are supported by `hideLayersNotInCurrentView`.
|
|
149
|
+
*
|
|
150
|
+
* To hide layers completely from the legend, you should set the `legendEnabled` property of the layer to `false`.
|
|
151
|
+
*
|
|
152
|
+
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
153
|
+
* @example
|
|
154
|
+
* Layers not displayed in the current map extent will not be shown in the legend
|
|
155
|
+
*
|
|
156
|
+
* ```html
|
|
157
|
+
* <arcgis-legend hide-layers-not-in-current-view></arcgis-legend>
|
|
158
|
+
* ```
|
|
159
|
+
*
|
|
160
|
+
* ```js
|
|
161
|
+
* document.querySelector("arcgis-legend").hideLayersNotInCurrentView = true;
|
|
162
|
+
* ```
|
|
163
|
+
* @default false
|
|
164
|
+
*/
|
|
88
165
|
hideLayersNotInCurrentView: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* If a layer uses a unique value render, only features that satisfy the layer's
|
|
168
|
+
* [definition](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
169
|
+
* will be displayed in the legend when set to true.
|
|
170
|
+
*
|
|
171
|
+
* @since 4.30
|
|
172
|
+
* @see [definitionExpression](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression)
|
|
173
|
+
* @example
|
|
174
|
+
* Only display features that satisfy the layer's definitionExpression.
|
|
175
|
+
*
|
|
176
|
+
* ```html
|
|
177
|
+
* <arcgis-legend respect-layer-definition-expression></arcgis-legend>
|
|
178
|
+
* ```
|
|
179
|
+
*
|
|
180
|
+
* ```js
|
|
181
|
+
* document.querySelector("arcgis-legend").respectLayerDefinitionExpression = true;
|
|
182
|
+
* ```
|
|
183
|
+
* @default false
|
|
184
|
+
*/
|
|
89
185
|
respectLayerDefinitionExpression: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Determines whether to respect the properties of the layers in the map that control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
|
|
188
|
+
* By default, a layer's legend elements **will not render** in the legend given the following conditions:
|
|
189
|
+
*
|
|
190
|
+
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
|
|
191
|
+
* is set to `false`.
|
|
192
|
+
* - If the view's scale is outside the visibility range
|
|
193
|
+
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
|
|
194
|
+
* [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
|
|
195
|
+
*
|
|
196
|
+
* When the `ignoreLayerVisibility` property of the legend is set to `true`, the legend elements for each
|
|
197
|
+
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
198
|
+
* and `legendEnabled` properties for each layer in the map.
|
|
199
|
+
*
|
|
200
|
+
* @since 4.34
|
|
201
|
+
* @see [hideLayersNotInCurrentView](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#hideLayersNotInCurrentView)
|
|
202
|
+
* @example
|
|
203
|
+
* Always displays legend elements for the map's layers regardless of their minScale, maxScale, and legendEnabled properties.
|
|
204
|
+
*
|
|
205
|
+
* ```html
|
|
206
|
+
* <arcgis-legend ignore-layer-visibility></arcgis-legend>
|
|
207
|
+
* ```
|
|
208
|
+
*
|
|
209
|
+
* ```js
|
|
210
|
+
* document.querySelector("arcgis-legend").ignoreLayerVisibility = true;
|
|
211
|
+
* ```
|
|
212
|
+
* @default false
|
|
213
|
+
*/
|
|
90
214
|
get ignoreLayerVisibility(): boolean;
|
|
91
215
|
set ignoreLayerVisibility(value: boolean);
|
|
216
|
+
/**
|
|
217
|
+
* Determines whether to respect the properties of the layers in the map that control the legend's visibility (`minScale`, `maxScale`, `legendEnabled`).
|
|
218
|
+
* By default, a layer's legend elements **will not render** in the legend given the following conditions:
|
|
219
|
+
*
|
|
220
|
+
* - The layer's [legendEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled) property
|
|
221
|
+
* is set to `false`.
|
|
222
|
+
* - If the view's scale is outside the visibility range
|
|
223
|
+
* defined by the layer's [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#minScale) and
|
|
224
|
+
* [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#maxScale) properties.
|
|
225
|
+
*
|
|
226
|
+
* When the `respectLayerVisibilityDisabled` property of the legend is set to `false`, the legend elements for each
|
|
227
|
+
* layer in the map will always display, thus disregarding the `minScale`, `maxScale`,
|
|
228
|
+
* and `legendEnabled` properties for each layer in the map.
|
|
229
|
+
*
|
|
230
|
+
* @see [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility)
|
|
231
|
+
* @example
|
|
232
|
+
* Always displays legend elements for the map's layers regardless of their minScale, maxScale, and legendEnabled properties.
|
|
233
|
+
*
|
|
234
|
+
* ```html
|
|
235
|
+
* <arcgis-legend respect-layer-visibility-disabled="false"></arcgis-legend>
|
|
236
|
+
* ```
|
|
237
|
+
*
|
|
238
|
+
* ```js
|
|
239
|
+
* document.querySelector("arcgis-legend").respectLayerVisibilityDisabled = true;
|
|
240
|
+
* ```
|
|
241
|
+
* @deprecated since 4.34 use [ignoreLayerVisibility](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#ignoreLayerVisibility) instead.
|
|
242
|
+
* @default false
|
|
243
|
+
*/
|
|
92
244
|
get respectLayerVisibilityDisabled(): boolean;
|
|
93
245
|
set respectLayerVisibilityDisabled(value: boolean);
|
|
246
|
+
/**
|
|
247
|
+
* Specifies a subset of the layers to display in the legend. This includes any basemap layers
|
|
248
|
+
* 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
|
|
249
|
+
* 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.
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* Only show a specific sublayer in the legend
|
|
253
|
+
*
|
|
254
|
+
* ```js
|
|
255
|
+
* const subtypeGroupLayer = webmap.layers.getItemAt(0);
|
|
256
|
+
* const subtypeSubLayer = subtypeGroupLayer.sublayers.getItemAt(1);
|
|
257
|
+
* const subtypeSublayerId = parseInt(subtypeSubLayer.subtypeCode);
|
|
258
|
+
* document.querySelector("arcgis-legend").layerInfos = [
|
|
259
|
+
* {
|
|
260
|
+
* layer: subtypeGroupLayer,
|
|
261
|
+
* sublayerIds: [subtypeSublayerId]
|
|
262
|
+
* }
|
|
263
|
+
* ];
|
|
264
|
+
* });
|
|
265
|
+
* ```
|
|
266
|
+
*/
|
|
94
267
|
layerInfos: __esri.LegendViewModelLayerInfos[];
|
|
268
|
+
/**
|
|
269
|
+
* Indicates whether the legend is currently loading.
|
|
270
|
+
*
|
|
271
|
+
* @since 4.34
|
|
272
|
+
* @default false
|
|
273
|
+
*/
|
|
95
274
|
readonly loading: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* 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"`.
|
|
277
|
+
* The layout determines how the legend's content is arranged.
|
|
278
|
+
*
|
|
279
|
+
* [](../sample-code/legend-card/)
|
|
280
|
+
*
|
|
281
|
+
* @since 4.34
|
|
282
|
+
* @example
|
|
283
|
+
* Renders the legend in the card style with a "stack" layout
|
|
284
|
+
*
|
|
285
|
+
* ```html
|
|
286
|
+
* <arcgis-legend legend-style="card" card-style-layout="stack"></arcgis-legend>
|
|
287
|
+
* ```
|
|
288
|
+
*
|
|
289
|
+
* ```js
|
|
290
|
+
* const legend = document.querySelector("arcgis-legend");
|
|
291
|
+
* legend.legendStyle = "card";
|
|
292
|
+
* legend.cardStyleLayout = "stack";
|
|
293
|
+
* ```
|
|
294
|
+
*/
|
|
96
295
|
cardStyleLayout?: "auto" | "side-by-side" | "stack";
|
|
296
|
+
/**
|
|
297
|
+
* Indicates the style of the legend. The style determines the legend's layout and behavior.
|
|
298
|
+
* You can either specify a string or an object to indicate the style. The known string values are the same values listed in
|
|
299
|
+
* the table within the `type` property.
|
|
300
|
+
*
|
|
301
|
+
* [](../sample-code/legend-card/)
|
|
302
|
+
*
|
|
303
|
+
* @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#cardStyleLayout)
|
|
304
|
+
* @example
|
|
305
|
+
* Renders the legend in the card style with a stack layout
|
|
306
|
+
*
|
|
307
|
+
* ```js
|
|
308
|
+
* document.querySelector("arcgis-legend").legendStyle = legendStyle = {
|
|
309
|
+
* type: "card",
|
|
310
|
+
* layout: "stack"
|
|
311
|
+
* };
|
|
312
|
+
* ```
|
|
313
|
+
* @default "classic"
|
|
314
|
+
*/
|
|
97
315
|
legendStyle: "card" | "classic" | {
|
|
98
316
|
type: "card" | "classic";
|
|
99
317
|
layout?: "auto" | "side-by-side" | "stack";
|
|
100
318
|
};
|
|
319
|
+
/**
|
|
320
|
+
* If true, the component will not be destroyed automatically when it is
|
|
321
|
+
* disconnected from the document. This is useful when you want to move the
|
|
322
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
323
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/#destroy) method when you are done to
|
|
324
|
+
* prevent memory leaks.
|
|
325
|
+
*
|
|
326
|
+
* @default false
|
|
327
|
+
*/
|
|
101
328
|
autoDestroyDisabled: boolean;
|
|
329
|
+
/** Overwrite localized strings for this component */
|
|
102
330
|
messageOverrides?: typeof this.messages._overrides;
|
|
331
|
+
/**
|
|
332
|
+
* The component's default label.
|
|
333
|
+
*
|
|
334
|
+
* @default "Legend"
|
|
335
|
+
*/
|
|
103
336
|
label?: string;
|
|
337
|
+
/**
|
|
338
|
+
* The current state of the component.
|
|
339
|
+
*
|
|
340
|
+
* @default "disabled"
|
|
341
|
+
*/
|
|
104
342
|
readonly state: "ready" | "disabled";
|
|
343
|
+
/** Permanently destroy the component. */
|
|
105
344
|
destroy(): Promise<void>;
|
|
345
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
106
346
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
107
347
|
name: "state";
|
|
108
348
|
}>;
|
|
349
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
109
350
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
110
351
|
private messages;
|
|
111
352
|
}
|
|
@@ -3,25 +3,25 @@ import { css as d, html as r } from "lit";
|
|
|
3
3
|
import { on as o, watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import c from "@arcgis/core/widgets/Legend/LegendViewModel.js";
|
|
5
5
|
import { LitElement as g, createEvent as h, safeClassMap as p } from "@arcgis/lumina";
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import { classes as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u } from "../../chunks/useT9n.js";
|
|
10
|
-
import { m as
|
|
6
|
+
import { usePropertyChange as u } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { classes as f } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { u as _ } from "../../chunks/useHandles.js";
|
|
9
|
+
import { u as m } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as v } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as a } from "../../chunks/globalCss.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
15
|
-
const
|
|
14
|
+
v4.34.0-next.135 */
|
|
15
|
+
const w = d`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.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:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.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:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{overflow:auto;width:var(--arcgis-legend-internal-width, 300px)}:host([card-style-layout="side-by-side"]){--arcgis-legend-internal-width: auto}`, y = v(c);
|
|
16
16
|
class b extends g {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this.messages =
|
|
18
|
+
super(...arguments), this.messages = m({}), this.final = _("destroy"), this.viewModel = y(this), this._isCardStyle = !1, this.view = this.viewModel.view, this.icon = "legend", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.layerInfos = this.viewModel.layerInfos, this.loading = this.viewModel.loading, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.label = this.messages?.componentLabel, this.state = this.viewModel.state, this.arcgisPropertyChange = u()("state"), this.arcgisReady = h();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.properties = { _isCardStyle: 16, view: 0, referenceElement: 1, position: 1, icon: 1, activeLayerInfos: 0, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, respectLayerDefinitionExpression: 5, ignoreLayerVisibility: 5, respectLayerVisibilityDisabled: 5, layerInfos: 0, loading: 39, cardStyleLayout: 1, legendStyle: 1, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.styles =
|
|
24
|
+
this.styles = w;
|
|
25
25
|
}
|
|
26
26
|
get ignoreLayerVisibility() {
|
|
27
27
|
return !this.viewModel.respectLayerVisibility;
|
|
@@ -49,7 +49,7 @@ class b extends g {
|
|
|
49
49
|
typeof this.legendStyle == "object" ? this.legendStyle.layout : void 0
|
|
50
50
|
], () => {
|
|
51
51
|
const e = this.legendStyle, i = typeof e == "object" ? e : { type: e };
|
|
52
|
-
this._isCardStyle = i.type === "card", this._isCardStyle ? this.cardStyleLayout = this.cardStyleLayout || i.layout || "auto" : this.removeAttribute("card-style-layout");
|
|
52
|
+
this._isCardStyle = i.type === "card", this._isCardStyle ? (this.cardStyleLayout = this.cardStyleLayout || i.layout || "auto", this.cardStyleLayout === "auto" && this.el.closest("arcgis-expand") && (this.cardStyleLayout = "stack"), this.setAttribute("card-style-layout", this.cardStyleLayout)) : this.removeAttribute("card-style-layout");
|
|
53
53
|
}, { initial: !0 })
|
|
54
54
|
]);
|
|
55
55
|
}
|
|
@@ -59,7 +59,7 @@ class b extends g {
|
|
|
59
59
|
}), this.requestUpdate();
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return r`<div class=${p(
|
|
62
|
+
return r`<div class=${p(f(a.widget, { [a.panel]: !this._isCardStyle }))}>${this._isCardStyle && this.view ? r`<arcgis-legend-card-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages} .layout=${this.cardStyleLayout} .view=${this.view}></arcgis-legend-card-view>` : r`<arcgis-legend-classic-view .activeLayerInfos=${this.activeLayerInfos} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-legend-classic-view>`}</div>`;
|
|
63
63
|
}
|
|
64
64
|
_renderOnActiveLayerInfoChange(e) {
|
|
65
65
|
const i = s(() => e.version, () => this.requestUpdate());
|
|
@@ -7,6 +7,7 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
7
7
|
export declare class ArcgisLegendCardColorRamp extends LitElement {
|
|
8
8
|
cssEffectFilter?: string;
|
|
9
9
|
legendElement: __esri.ColorRampElement | __esri.HeatmapRampElement | __esri.OpacityRampElement | __esri.StretchRampElement;
|
|
10
|
+
/** @default 1 */
|
|
10
11
|
opacity: number;
|
|
11
12
|
messages: ArcgisLegend["messages"];
|
|
12
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as f } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as v, html as
|
|
3
|
-
import { LitElement as $, safeClassMap as
|
|
2
|
+
import { css as v, html as n } from "lit";
|
|
3
|
+
import { LitElement as $, safeClassMap as l, safeStyleMap as b } from "@arcgis/lumina";
|
|
4
4
|
import { classes as L } from "@arcgis/toolkit/dom";
|
|
5
5
|
import { c as u } from "../../chunks/svgUtils.js";
|
|
6
6
|
import { c as R } from "../../chunks/utils2.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const w = v`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:
|
|
9
|
+
v4.34.0-next.135 */
|
|
10
|
+
const w = v`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:var(--calcite-font-line-height-fixed-xl)}`, t = {
|
|
11
11
|
layerRow: "arcgis-legend--card__layer-row",
|
|
12
12
|
colorRampContainer: "arcgis-legend--card__color-ramp-container",
|
|
13
13
|
symbolContainer: "arcgis-legend--card__symbol-container",
|
|
@@ -27,7 +27,7 @@ class E extends $ {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const e = this.legendElement.infos.slice().reverse();
|
|
30
|
-
return
|
|
30
|
+
return n`<div class=${l(L(t.layerRow, t.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${l(t.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`;
|
|
31
31
|
}
|
|
32
32
|
_renderPreview(e) {
|
|
33
33
|
const { opacity: i } = this, d = this.legendElement.type === "heatmap-ramp", o = e.length - 1, a = S, s = o > 2 && !d ? x * o : C, p = s + 20, r = 10, m = [
|
|
@@ -75,14 +75,14 @@ class E extends $ {
|
|
|
75
75
|
filter: this.cssEffectFilter,
|
|
76
76
|
opacity: i == null ? void 0 : `${i}`
|
|
77
77
|
};
|
|
78
|
-
return
|
|
78
|
+
return n`<div style=${b(y)}>${h}</div>`;
|
|
79
79
|
}
|
|
80
80
|
_renderMiddleStopRampLabel(e) {
|
|
81
81
|
const i = e.length % 2 !== 0 ? e[e.length / 2 | 0] : null;
|
|
82
|
-
return i ?
|
|
82
|
+
return i ? n`<div class=${l(t.intervalSeparatorsContainer)}><div class=${l(t.intervalSeparator)}>|</div>${this._renderRampLabel(i)}</div>` : null;
|
|
83
83
|
}
|
|
84
84
|
_renderRampLabel(e) {
|
|
85
|
-
return
|
|
85
|
+
return n`<div class=${l(t.rampLabel)}>${R(e, this.legendElement.type, this.messages)}</div>`;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
f("arcgis-legend-card-color-ramp", E);
|
|
@@ -7,8 +7,10 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class ArcgisLegendCardElement extends LitElement {
|
|
9
9
|
cssEffectFilter?: string;
|
|
10
|
+
/** @default false */
|
|
10
11
|
stacked: boolean;
|
|
11
12
|
activeLayerInfo: __esri.ActiveLayerInfo;
|
|
13
|
+
/** @default 3 */
|
|
12
14
|
headingLevel: HeadingLevel;
|
|
13
15
|
layer: __esri.Layer;
|
|
14
16
|
legendElement: __esri.LegendElement;
|
|
@@ -8,7 +8,7 @@ import { g as $ } from "../../chunks/globalCss.js";
|
|
|
8
8
|
import { b as C, s as f, i as z, a as v, g as x } from "../../chunks/utils2.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.135 */
|
|
12
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 = {
|
|
13
13
|
carouselTitleContainer: "arcgis-legend--card__carousel-title-container",
|
|
14
14
|
carouselTitle: "arcgis-legend--card__carousel-title",
|
|
@@ -5,8 +5,10 @@ import { ArcgisLegend } from '../arcgis-legend/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class LegendCardSizeRamp extends LitElement {
|
|
8
|
+
/** @default false */
|
|
8
9
|
hasIndicators: boolean;
|
|
9
10
|
legendElement: __esri.SizeRampElement;
|
|
11
|
+
/** @default 1 */
|
|
10
12
|
opacity: number;
|
|
11
13
|
messages: ArcgisLegend["messages"];
|
|
12
14
|
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as j, safeStyleMap as z, safeClassMap as g } from "@arcgis/l
|
|
|
4
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.
|
|
7
|
+
v4.34.0-next.135 */
|
|
8
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",
|
package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ 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 */
|
|
10
11
|
opacity: number;
|
|
11
12
|
messages: ArcgisLegend["messages"];
|
|
12
13
|
}
|
|
@@ -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.135 */
|
|
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",
|
|
@@ -7,6 +7,7 @@ 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 */
|
|
10
11
|
opacity: number;
|
|
11
12
|
messages: ArcgisLegend["messages"];
|
|
12
13
|
}
|
|
@@ -5,7 +5,7 @@ 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.135 */
|
|
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",
|
|
@@ -8,9 +8,16 @@ 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 */
|
|
11
12
|
headingLevel: HeadingLevel;
|
|
12
13
|
messages: ArcgisLegend["messages"];
|
|
13
14
|
view: __esri.MapView | __esri.SceneView;
|
|
15
|
+
/**
|
|
16
|
+
* The rendering layout.
|
|
17
|
+
*
|
|
18
|
+
* @default "auto"
|
|
19
|
+
*/
|
|
14
20
|
layout: CardLayout;
|
|
21
|
+
/** The type of style. For Card this value is always `card`. */
|
|
15
22
|
readonly type: "card";
|
|
16
23
|
}
|
|
@@ -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.135 */
|
|
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,6 +6,7 @@ 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 */
|
|
9
10
|
opacity: number;
|
|
10
11
|
messages: ArcgisLegend["messages"];
|
|
11
12
|
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as p, safeClassMap as l, safeStyleMap as g } from "@arcgis/l
|
|
|
4
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.
|
|
7
|
+
v4.34.0-next.135 */
|
|
8
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",
|