@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
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as
|
|
3
|
-
import { classes as
|
|
2
|
+
import { css as g, html as t } from "lit";
|
|
3
|
+
import { classes as p } from "@arcgis/toolkit/dom";
|
|
4
4
|
import h from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
5
5
|
import { LitElement as m, createEvent as w, safeClassMap as s } from "@arcgis/lumina";
|
|
6
6
|
import { usePropertyChange as _ } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { reEmitEvent as l } from "@arcgis/lumina/controllers/accessor";
|
|
8
8
|
import { u } from "../../chunks/useT9n.js";
|
|
9
|
-
import { m as
|
|
9
|
+
import { m as v } from "../../chunks/useViewModel.js";
|
|
10
10
|
import { g as n } from "../../chunks/globalCss.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.
|
|
14
|
-
const
|
|
13
|
+
v4.34.0-next.135 */
|
|
14
|
+
const f = g`.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{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md);overflow-y:auto}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}`, o = "arcgis-print", a = {
|
|
15
15
|
base: o,
|
|
16
16
|
headerTitle: `${o}__header-title`,
|
|
17
17
|
panelItemsCentered: `${o}__panel-items--centered`,
|
|
18
18
|
printWidgetContainer: `${o}__container`,
|
|
19
19
|
panelError: `${o}__panel--error`
|
|
20
|
-
}, x =
|
|
20
|
+
}, x = v(h), d = (r) => {
|
|
21
21
|
if (!r)
|
|
22
22
|
return "all";
|
|
23
23
|
const e = typeof r == "string" ? r.split(",").map((i) => i.trim()).filter((i) => i) : [r];
|
|
@@ -31,7 +31,7 @@ class b extends m {
|
|
|
31
31
|
this.properties = { _showTemplates: 16, error: 16, view: 0, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: [1, { type: String, converter: d }], allowedLayouts: [1, { type: String, converter: d }], browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.styles =
|
|
34
|
+
this.styles = f;
|
|
35
35
|
}
|
|
36
36
|
async destroy() {
|
|
37
37
|
await this.manager.destroy(), this.viewModel.destroy();
|
|
@@ -51,7 +51,7 @@ class b extends m {
|
|
|
51
51
|
const e = {
|
|
52
52
|
[a.panelItemsCentered]: this.viewModel.state === "initializing"
|
|
53
53
|
};
|
|
54
|
-
return t`<div class=${s(
|
|
54
|
+
return t`<div class=${s(p(a.base, n.widget, n.panel, e))}>${this._renderPanel()}</div>`;
|
|
55
55
|
}
|
|
56
56
|
_renderPanel() {
|
|
57
57
|
return this.viewModel.state === "initializing" ? t`<calcite-loader label=loading scale=m></calcite-loader>` : t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${s(a.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
|
|
@@ -4,7 +4,7 @@ import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as u } from "@arcgis/lumina";
|
|
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
|
class p extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -4,7 +4,7 @@ import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as s } from "@arcgis/lumina";
|
|
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
|
class p extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._dpi = 1;
|
|
@@ -3,7 +3,7 @@ import { html as r } from "lit";
|
|
|
3
3
|
import { LitElement as l } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.135 */
|
|
7
7
|
class n extends l {
|
|
8
8
|
static {
|
|
9
9
|
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0 };
|
|
@@ -5,7 +5,7 @@ import { watch as v, whenOnce as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
5
5
|
import { LitElement as b, nothing as u, safeClassMap as o } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.135 */
|
|
9
9
|
const x = f`.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}`, d = "arcgis-print", m = {
|
|
10
10
|
exportedFile: `${d}__exported-file`,
|
|
11
11
|
exportedFileLinkTitle: `${d}__exported-file-link-title`,
|
|
@@ -4,7 +4,7 @@ import { classes as c } from "@arcgis/toolkit/dom";
|
|
|
4
4
|
import { LitElement as p, safeClassMap as a } from "@arcgis/lumina";
|
|
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 = r`.arcgis-print__export-section--centered{text-align:center}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`, e = "arcgis-print", t = {
|
|
9
9
|
exportSection: `${e}__export-section`,
|
|
10
10
|
panelContainer: `${e}__panel-container`,
|
|
@@ -6,7 +6,7 @@ import { LitElement as n } from "@arcgis/lumina";
|
|
|
6
6
|
import { f as p } from "../../chunks/utils.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.135 */
|
|
10
10
|
class c extends n {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this._formats = [];
|
|
@@ -6,7 +6,7 @@ import { LitElement as o, safeClassMap as l } from "@arcgis/lumina";
|
|
|
6
6
|
import { u as r } from "../../chunks/useHandles.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.135 */
|
|
10
10
|
const c = n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, h = "arcgis-print", p = {
|
|
11
11
|
advancedOptionsContainer: `${h}__advanced-options-container`
|
|
12
12
|
};
|
|
@@ -6,7 +6,7 @@ import { LitElement as d, safeClassMap as i } from "@arcgis/lumina";
|
|
|
6
6
|
import { u as m } from "../../chunks/useHandles.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.135 */
|
|
10
10
|
const h = c`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}`, a = "arcgis-print", s = {
|
|
11
11
|
advancedOptionsSection: `${a}__advanced-options-section`,
|
|
12
12
|
layoutSection: `${a}__layout-section`,
|
|
@@ -6,7 +6,7 @@ import { u as c } from "../../chunks/useHandles.js";
|
|
|
6
6
|
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.135 */
|
|
10
10
|
const p = l`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
11
11
|
class r extends i {
|
|
12
12
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { css as s, html as e } from "lit";
|
|
|
3
3
|
import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.135 */
|
|
7
7
|
const r = s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
8
8
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
9
9
|
};
|
|
@@ -4,7 +4,7 @@ import { classes as l } from "@arcgis/toolkit/dom";
|
|
|
4
4
|
import { LitElement as p, safeClassMap as s } from "@arcgis/lumina";
|
|
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 = c`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, n = "arcgis-print", a = {
|
|
9
9
|
advancedOptionsSection: `${n}__advanced-options-section`,
|
|
10
10
|
mapOnlySection: `${n}__map-only-section`,
|
|
@@ -6,7 +6,7 @@ import f from "@arcgis/core/geometry/SpatialReference.js";
|
|
|
6
6
|
import { LitElement as m, safeClassMap as n } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.135 */
|
|
10
10
|
const v = o`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`, s = "arcgis-print", c = {
|
|
11
11
|
srLabel: `${s}__sr-label`,
|
|
12
12
|
invalidWkidText: `${s}__invalid-wkid-text`
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as a } from "@arcgis/lumina";
|
|
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
|
class s extends a {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._showPrintAreaEnabled = !1;
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as d, safeClassMap as l } from "@arcgis/lumina";
|
|
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 m = p`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`, c = "arcgis-print", n = {
|
|
9
9
|
scaleInfoContainer: `${c}__scale-info-container`,
|
|
10
10
|
scaleInputContainer: `${c}__scale-input-container`,
|
|
@@ -7,7 +7,7 @@ import { u as p } from "../../chunks/useHandles.js";
|
|
|
7
7
|
import { g as d, a as h, b as _, c as g } from "../../chunks/utils.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.135 */
|
|
11
11
|
const u = n`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`, s = "arcgis-print", c = {
|
|
12
12
|
templateSelectContainer: `${s}__template-select-container`,
|
|
13
13
|
templateSelectError: `${s}__template-select-error`,
|
|
@@ -5,6 +5,7 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintTemplateSelector extends LitElement {
|
|
8
|
+
/** @default false */
|
|
8
9
|
excludeOrganizationTemplates: boolean;
|
|
9
10
|
browseTemplateButtonOnClick?: () => void;
|
|
10
11
|
viewModel: __esri.PrintViewModel;
|
|
@@ -7,7 +7,7 @@ import { i as d, r as _, g as T, a as b, b as y } from "../../chunks/utils.js";
|
|
|
7
7
|
import { u as L } from "../../chunks/useHandles.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.135 */
|
|
11
11
|
const S = v`.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`, o = "arcgis-print", a = {
|
|
12
12
|
templateSelectError: `${o}__template-select-error`,
|
|
13
13
|
templateButtonContainer: `${o}__template-button-container`,
|
|
@@ -18,10 +18,13 @@ type State = "loading" | "ready";
|
|
|
18
18
|
* @since 4.34
|
|
19
19
|
*/
|
|
20
20
|
export declare class ArcgisResultFeatureList extends LitElement {
|
|
21
|
+
/** @required */
|
|
21
22
|
elements: NetworkElement[];
|
|
23
|
+
/** @required */
|
|
22
24
|
layers: Layer[];
|
|
23
25
|
messageOverrides?: typeof this._messages._overrides;
|
|
24
26
|
selectedLayer?: Layer;
|
|
27
|
+
/** @required */
|
|
25
28
|
utilityNetwork?: UtilityNetwork;
|
|
26
29
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
27
30
|
name: "selectedLayer";
|
|
@@ -5,7 +5,7 @@ import { html as o } from "lit";
|
|
|
5
5
|
import { u as d } from "../../chunks/useT9n.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
|
class h extends y {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._layerByLayerId = /* @__PURE__ */ new Map(), this._messages = d({ blocking: !0 }), this._compareByLayerTitle = ([e], [t]) => {
|
|
@@ -27,17 +27,63 @@ declare const useScaleBarViewModel: (component: LitElement & Pick<ScaleBarViewMo
|
|
|
27
27
|
* @since 4.28
|
|
28
28
|
*/
|
|
29
29
|
export declare class ArcgisScaleBar extends LitElement {
|
|
30
|
+
/**
|
|
31
|
+
* The view associated with the component.
|
|
32
|
+
* > **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 ArcgisScaleBar component will be associated with a map or scene component rather than using the `view` property.
|
|
33
|
+
*/
|
|
30
34
|
view?: __esri.MapView | nullish;
|
|
35
|
+
/**
|
|
36
|
+
* If true, the component will not be destroyed automatically when it is
|
|
37
|
+
* disconnected from the document. This is useful when you want to move the
|
|
38
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
39
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-bar/#destroy) method when you are done to
|
|
40
|
+
* prevent memory leaks.
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
31
44
|
autoDestroyDisabled: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The style for the scale bar.
|
|
47
|
+
* When `unit` is set to `dual`, the style will always be `line`.
|
|
48
|
+
*
|
|
49
|
+
* @default "line"
|
|
50
|
+
*/
|
|
32
51
|
barStyle: ScaleBarStyle;
|
|
52
|
+
/**
|
|
53
|
+
* Icon which represents the component.
|
|
54
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
55
|
+
*
|
|
56
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
57
|
+
* @default "actual-size"
|
|
58
|
+
*/
|
|
33
59
|
icon?: string;
|
|
60
|
+
/** The component's default label. */
|
|
34
61
|
label?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Replace localized message strings with your own strings.
|
|
64
|
+
*
|
|
65
|
+
* _**Note**: Individual message keys may change between releases._
|
|
66
|
+
*/
|
|
35
67
|
messageOverrides?: typeof this.messages._overrides;
|
|
68
|
+
/** @deprecated since 4.34, use `slot` instead. */
|
|
36
69
|
position?: __esri.UIPosition;
|
|
70
|
+
/**
|
|
71
|
+
* 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.
|
|
72
|
+
*
|
|
73
|
+
* @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)
|
|
74
|
+
*/
|
|
37
75
|
referenceElement?: ArcgisReferenceElement | string;
|
|
76
|
+
/**
|
|
77
|
+
* Units to use for the scale bar.
|
|
78
|
+
* When using `dual`, the scale bar displays both metric and imperial units.
|
|
79
|
+
* When metric, distances will be shown in either kilometers, meters, centimeters, or millimeters depending on the scale. Similarly, imperial
|
|
80
|
+
* units will be shown in either miles, feet, or inches.
|
|
81
|
+
*/
|
|
38
82
|
get unit(): ScaleBarUnit | undefined;
|
|
39
83
|
set unit(value: ScaleBarUnit | undefined);
|
|
84
|
+
/** Permanently destroy the component. */
|
|
40
85
|
destroy(): Promise<void>;
|
|
86
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
41
87
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
42
88
|
private messages: Partial<{
|
|
43
89
|
componentLabel: string;
|
|
@@ -12,7 +12,7 @@ import { m as S } from "../../chunks/useViewModel.js";
|
|
|
12
12
|
import { g as m } from "../../chunks/globalCss.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
15
|
+
v4.34.0-next.135 */
|
|
16
16
|
function B(u = 0, e = 0) {
|
|
17
17
|
return { x: u, y: e };
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ const t = "esri-scale-bar", i = {
|
|
|
31
31
|
barContainer: `${t}__bar-container`,
|
|
32
32
|
rulerBarContainer: `${t}__bar-container--ruler`,
|
|
33
33
|
lineBarContainer: `${t}__bar-container--line`
|
|
34
|
-
}, D = x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-scale-bar{box-shadow:none!important;background:0 0}.esri-component.esri-scale-bar.esri-widget,.esri-scale-bar.esri-widget{box-shadow:none;background:0 0}.esri-scale-bar__bar-container{align-items:flex-end;font-size:var(--calcite-font-size-sm);transition:width .25s ease-in-out;display:flex;position:relative}.esri-scale-bar__bar-container--ruler{flex-direction:column}.esri-scale-bar__ruler{--color-ruler-background: var(--calcite-color-inverse);--color-ruler-foreground: var(--calcite-color-foreground-1);height:var(--calcite-spacing-xs);box-shadow:0 0 0 1px var(--calcite-color-text-1),0 1px 2px var(--calcite-color-foreground-1)}.esri-scale-bar__ruler:before,.esri-scale-bar__ruler:after{content:"";display:block;height:50%;background-image:linear-gradient(to right,var(--color-ruler-foreground) 0%,var(--color-ruler-foreground) 25%,var(--color-ruler-background) 25%,var(--color-ruler-background) 50%,var(--color-ruler-foreground) 50%,var(--color-ruler-foreground) 75%,var(--color-ruler-background) 75%,var(--color-ruler-background) 100%)}.esri-scale-bar__ruler:after{transform:scaleX(-1)}.esri-scale-bar__bar-container--line:last-child{align-items:flex-start}.esri-scale-bar__line{--line-thickness: 2px;--tic-height: 1.5em;--border-style: var(--line-thickness) solid var(--calcite-color-text-1);z-index:1;background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);height:var(--tic-height);position:relative;left:0}.esri-scale-bar__line--top{border-bottom:var(--border-style)}.esri-scale-bar__line--bottom{border-top:var(--border-style);top:calc(-1 * var(--line-thickness))}.esri-scale-bar__line--top:before,.esri-scale-bar__line--top:after,.esri-scale-bar__line--bottom:before,.esri-scale-bar__line--bottom:after{content:"";background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);border-right:var(--border-style);width:1px;height:var(--tic-height);display:block;position:absolute}.esri-scale-bar__line--top:before{bottom:calc(-1 * var(--line-thickness));left:0}.esri-scale-bar__line--top:after{bottom:calc(-1 * var(--line-thickness));right:0}.esri-scale-bar__line--bottom:before{top:calc(-1 * var(--line-thickness));left:0}.esri-scale-bar__line--bottom:after{height:var(--tic-height);top:calc(-1 * var(--line-thickness));right:0}.esri-scale-bar__label-container--line{z-index:1;position:absolute;left:0}.esri-scale-bar__label-container--ruler{justify-content:space-between;width:100%;display:flex;position:relative}.esri-scale-bar__label-container--ruler .esri-scale-bar__label{text-shadow:1px 0 var(--calcite-color-foreground-1),0 1px var(--calcite-color-foreground-1),1px 1px var(--calcite-color-foreground-1),-1px 0 var(--calcite-color-foreground-1),0 -1px var(--calcite-color-foreground-1),-1px -1px var(--calcite-color-foreground-1);padding:6px 0 0}.esri-scale-bar__label-container--top{bottom:0}.esri-scale-bar__label-container--bottom{top:1px}.esri-scale-bar__label{white-space:nowrap;color:var(--calcite-color-text-1);font-size:inherit;padding:0 7px;font-weight:var(--calcite-font-weight-semibold)}:dir(rtl) .esri-scale-bar__ruler{margin:0 .5ch 0 2ch}:dir(rtl) .esri-scale-bar__label-container--line{left:auto;right:0}`, R = S($);
|
|
34
|
+
}, D = x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.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}.esri-scale-bar{box-shadow:none!important;background:0 0}.esri-component.esri-scale-bar.esri-widget,.esri-scale-bar.esri-widget{box-shadow:none;background:0 0}.esri-scale-bar__bar-container{align-items:flex-end;font-size:var(--calcite-font-size-sm);transition:width .25s ease-in-out;display:flex;position:relative}.esri-scale-bar__bar-container--ruler{flex-direction:column}.esri-scale-bar__ruler{--color-ruler-background: var(--calcite-color-inverse);--color-ruler-foreground: var(--calcite-color-foreground-1);height:var(--calcite-spacing-xs);box-shadow:0 0 0 1px var(--calcite-color-text-1),0 1px 2px var(--calcite-color-foreground-1)}.esri-scale-bar__ruler:before,.esri-scale-bar__ruler:after{content:"";display:block;height:50%;background-image:linear-gradient(to right,var(--color-ruler-foreground) 0%,var(--color-ruler-foreground) 25%,var(--color-ruler-background) 25%,var(--color-ruler-background) 50%,var(--color-ruler-foreground) 50%,var(--color-ruler-foreground) 75%,var(--color-ruler-background) 75%,var(--color-ruler-background) 100%)}.esri-scale-bar__ruler:after{transform:scaleX(-1)}.esri-scale-bar__bar-container--line:last-child{align-items:flex-start}.esri-scale-bar__line{--line-thickness: 2px;--tic-height: 1.5em;--border-style: var(--line-thickness) solid var(--calcite-color-text-1);z-index:1;background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);height:var(--tic-height);position:relative;left:0}.esri-scale-bar__line--top{border-bottom:var(--border-style)}.esri-scale-bar__line--bottom{border-top:var(--border-style);top:calc(-1 * var(--line-thickness))}.esri-scale-bar__line--top:before,.esri-scale-bar__line--top:after,.esri-scale-bar__line--bottom:before,.esri-scale-bar__line--bottom:after{content:"";background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);border-right:var(--border-style);width:1px;height:var(--tic-height);display:block;position:absolute}.esri-scale-bar__line--top:before{bottom:calc(-1 * var(--line-thickness));left:0}.esri-scale-bar__line--top:after{bottom:calc(-1 * var(--line-thickness));right:0}.esri-scale-bar__line--bottom:before{top:calc(-1 * var(--line-thickness));left:0}.esri-scale-bar__line--bottom:after{height:var(--tic-height);top:calc(-1 * var(--line-thickness));right:0}.esri-scale-bar__label-container--line{z-index:1;position:absolute;left:0}.esri-scale-bar__label-container--ruler{justify-content:space-between;width:100%;display:flex;position:relative}.esri-scale-bar__label-container--ruler .esri-scale-bar__label{text-shadow:1px 0 var(--calcite-color-foreground-1),0 1px var(--calcite-color-foreground-1),1px 1px var(--calcite-color-foreground-1),-1px 0 var(--calcite-color-foreground-1),0 -1px var(--calcite-color-foreground-1),-1px -1px var(--calcite-color-foreground-1);padding:6px 0 0}.esri-scale-bar__label-container--top{bottom:0}.esri-scale-bar__label-container--bottom{top:1px}.esri-scale-bar__label{white-space:nowrap;color:var(--calcite-color-text-1);font-size:inherit;padding:0 7px;font-weight:var(--calcite-font-weight-semibold)}:dir(rtl) .esri-scale-bar__ruler{margin:0 .5ch 0 2ch}:dir(rtl) .esri-scale-bar__label-container--line{left:auto;right:0}`, R = S($);
|
|
35
35
|
class E extends z {
|
|
36
36
|
constructor() {
|
|
37
37
|
super(...arguments), this._defaultUnit = "metric", this.messages = L(), this.viewModel = R(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.arcgisReady = M();
|
|
@@ -75,8 +75,8 @@ class E extends z {
|
|
|
75
75
|
const r = e.childElem?.getBoundingClientRect();
|
|
76
76
|
if (!r)
|
|
77
77
|
return;
|
|
78
|
-
const { scaleComputedFrom:
|
|
79
|
-
(
|
|
78
|
+
const { scaleComputedFrom: l } = this.viewModel, c = r.left + window.pageXOffset, o = r.top + window.pageYOffset, n = B(c, o);
|
|
79
|
+
(n.x !== l.x || n.y !== l.y) && (this.viewModel.scaleComputedFrom = n);
|
|
80
80
|
}
|
|
81
81
|
_formatDistance(e, r) {
|
|
82
82
|
return C(e, {
|
|
@@ -89,32 +89,32 @@ class E extends z {
|
|
|
89
89
|
const e = this.viewModel.state === "disabled", r = {
|
|
90
90
|
[m.disabled]: e
|
|
91
91
|
};
|
|
92
|
-
let
|
|
92
|
+
let l, c;
|
|
93
93
|
if (!e) {
|
|
94
|
-
const { unit: o, barStyle:
|
|
94
|
+
const { unit: o, barStyle: n } = this, p = o === "imperial" || o === "dual", h = o === "metric" || o === "dual", b = 100, _ = o === "dual" ? "line" : n;
|
|
95
95
|
if (p) {
|
|
96
96
|
const s = this.viewModel.getScaleBarProperties(b, "imperial");
|
|
97
97
|
s && (c = _ === "ruler" ? this._renderRuler(s) : this._renderLine(s, "bottom"));
|
|
98
98
|
}
|
|
99
99
|
if (h) {
|
|
100
100
|
const s = this.viewModel.getScaleBarProperties(b, "metric");
|
|
101
|
-
s && (
|
|
101
|
+
s && (l = _ === "ruler" ? this._renderRuler(s) : this._renderLine(s, "top"));
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
return g`<div class=${a(d(i.base, m.widget, r))} ${w(this._handleContainerRef)}>${
|
|
104
|
+
return g`<div class=${a(d(i.base, m.widget, r))} ${w(this._handleContainerRef)}>${l}${c}</div>`;
|
|
105
105
|
}
|
|
106
106
|
_renderRuler(e) {
|
|
107
|
-
const { length: r, unit:
|
|
108
|
-
return g`<div class=${a(d(i.barContainer, i.rulerBarContainer))}><div class=${a(i.ruler)} style=${f({ width: `${o}px` })}></div><div class=${a(d(i.labelContainer, i.rulerLabelContainer))}><div class=${a(i.label)}>0</div><div class=${a(i.label)}>${
|
|
107
|
+
const { length: r, unit: l, value: c } = e, o = Math.round(r), n = this._formatDistance(c, l);
|
|
108
|
+
return g`<div class=${a(d(i.barContainer, i.rulerBarContainer))}><div class=${a(i.ruler)} style=${f({ width: `${o}px` })}></div><div class=${a(d(i.labelContainer, i.rulerLabelContainer))}><div class=${a(i.label)}>0</div><div class=${a(i.label)}>${n}</div></div></div>`;
|
|
109
109
|
}
|
|
110
110
|
_renderLine(e, r) {
|
|
111
|
-
const { length:
|
|
111
|
+
const { length: l, unit: c, value: o } = e, n = Math.round(l), p = this._formatDistance(o, c), h = {
|
|
112
112
|
[i.topLabelContainer]: r === "top",
|
|
113
113
|
[i.bottomLabelContainer]: r === "bottom"
|
|
114
114
|
}, b = g`<div class=${a(d(i.labelContainer, i.lineLabelContainer, h))}><div class=${a(i.label)}>${p}</div></div>`, _ = {
|
|
115
115
|
[i.topLine]: r === "top",
|
|
116
116
|
[i.bottomLine]: r === "bottom"
|
|
117
|
-
}, s = g`<div class=${a(d(i.line, _))} style=${f({ width: `${
|
|
117
|
+
}, s = g`<div class=${a(d(i.line, _))} style=${f({ width: `${n}px` })}></div>`;
|
|
118
118
|
return g`<div class=${a(d(i.barContainer, i.lineBarContainer))}>${[s, b]}</div>`;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -5,7 +5,7 @@ import { default as ScaleRangeSlider } from '@arcgis/core/widgets/ScaleRangeSlid
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useScaleRangeSliderWidget: (component: LitElement & Pick<ScaleRangeSlider, "icon" | "label" | "mode" | "layer" | "disabled" | "viewModel" | "region" | "maxScale" | "
|
|
8
|
+
declare const useScaleRangeSliderWidget: (component: LitElement & Pick<ScaleRangeSlider, "icon" | "label" | "mode" | "layer" | "disabled" | "viewModel" | "region" | "maxScale" | "minScale" | "maxScaleLimit" | "minScaleLimit"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.ScaleRangeSliderViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -34,28 +34,110 @@ declare const useScaleRangeSliderWidget: (component: LitElement & Pick<ScaleRang
|
|
|
34
34
|
* @since 4.28
|
|
35
35
|
*/
|
|
36
36
|
export declare class ArcgisScaleRangeSlider extends LitElement {
|
|
37
|
+
/**
|
|
38
|
+
* The view associated with the component.
|
|
39
|
+
* > **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 ArcgisScaleRangeSlider component will be associated with a map or scene component rather than using the `view` property.
|
|
40
|
+
*/
|
|
37
41
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
42
|
+
/**
|
|
43
|
+
* If true, the component will not be destroyed automatically when it is
|
|
44
|
+
* disconnected from the document. This is useful when you want to move the
|
|
45
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
46
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-range-slider/#destroy) method when you are done to
|
|
47
|
+
* prevent memory leaks.
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
38
51
|
autoDestroyDisabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* When `true`, sets the widget to a disabled state so the user cannot interact with it.
|
|
54
|
+
*
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
39
57
|
disabled: boolean;
|
|
58
|
+
/** @default false */
|
|
40
59
|
hidePreview: boolean | undefined;
|
|
60
|
+
/** @default false */
|
|
41
61
|
hideScaleMenusMaxScaleMenu: boolean | undefined;
|
|
62
|
+
/** @default false */
|
|
42
63
|
hideScaleMenusMinScaleMenu: boolean | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Icon which represents the component.
|
|
66
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
67
|
+
*
|
|
68
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
69
|
+
* @default "actual-size"
|
|
70
|
+
*/
|
|
43
71
|
icon: string;
|
|
72
|
+
/**
|
|
73
|
+
* The widget's default label.
|
|
74
|
+
*
|
|
75
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#label)
|
|
76
|
+
*/
|
|
44
77
|
label: string;
|
|
78
|
+
/**
|
|
79
|
+
* When provided, the initial [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#minScale) and [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#maxScale) values will match the layer's.
|
|
80
|
+
*
|
|
81
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#layer)
|
|
82
|
+
*/
|
|
45
83
|
layer: nullish | __esri.Layer | __esri.Sublayer;
|
|
84
|
+
/**
|
|
85
|
+
* The maximum scale of the active scale range.
|
|
86
|
+
*
|
|
87
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#maxScale)
|
|
88
|
+
*/
|
|
46
89
|
maxScale: number;
|
|
90
|
+
/**
|
|
91
|
+
* The lowest possible maximum scale value on the slider.
|
|
92
|
+
*
|
|
93
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#maxScaleLimit)
|
|
94
|
+
*/
|
|
47
95
|
maxScaleLimit: number;
|
|
96
|
+
/**
|
|
97
|
+
* The minimum scale of the active scale range.
|
|
98
|
+
*
|
|
99
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#minScale)
|
|
100
|
+
*/
|
|
48
101
|
minScale: number;
|
|
102
|
+
/**
|
|
103
|
+
* The highest possible minimum scale value on the slider.
|
|
104
|
+
*
|
|
105
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#minScaleLimit)
|
|
106
|
+
*/
|
|
49
107
|
minScaleLimit: number;
|
|
108
|
+
/**
|
|
109
|
+
* The mode of the widget, indicating which slider thumbs can be adjusted.
|
|
110
|
+
*
|
|
111
|
+
* @default "range"
|
|
112
|
+
*/
|
|
50
113
|
mode: "range" | "max-scale-only" | "min-scale-only";
|
|
114
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
51
115
|
position?: __esri.UIPosition;
|
|
116
|
+
/**
|
|
117
|
+
* 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.
|
|
118
|
+
*
|
|
119
|
+
* @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)
|
|
120
|
+
*/
|
|
52
121
|
referenceElement?: ArcgisReferenceElement | string;
|
|
122
|
+
/**
|
|
123
|
+
* The region that the scale thumbnails will focus on.
|
|
124
|
+
*
|
|
125
|
+
* @default "US"
|
|
126
|
+
*/
|
|
53
127
|
region: __esri.SupportedRegion;
|
|
128
|
+
/**
|
|
129
|
+
* The current state of the component.
|
|
130
|
+
*
|
|
131
|
+
* @default "disabled"
|
|
132
|
+
*/
|
|
54
133
|
readonly state: "ready" | "disabled";
|
|
134
|
+
/** Permanently destroy the component. */
|
|
55
135
|
destroy(): Promise<void>;
|
|
136
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
56
137
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
57
138
|
name: "state" | "maxScale" | "minScale";
|
|
58
139
|
}>;
|
|
140
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
59
141
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
60
142
|
}
|
|
61
143
|
export {};
|