@arcgis/map-components 5.0.0-next.7 → 5.0.0-next.9
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/2A6AUVEE.js +4 -0
- package/dist/cdn/2ATPK47M.js +4 -0
- package/dist/cdn/{2HMB76Z5.js → 2EROOTDU.js} +2 -2
- package/dist/cdn/{27OLXDSF.js → 2Y5YG4Z7.js} +2 -2
- package/dist/cdn/35HQNOGY.js +4 -0
- package/dist/cdn/{MIZIJT77.js → 37YPSWO4.js} +1 -1
- package/dist/cdn/{W2ENKEBL.js → 3C4AR6SN.js} +2 -2
- package/dist/cdn/3HVXDM6N.js +4 -0
- package/dist/cdn/3JXVSI7Z.js +4 -0
- package/dist/cdn/{G4FVGNVY.js → 3OW6EIDJ.js} +2 -2
- package/dist/cdn/3PTAN4MR.js +4 -0
- package/dist/cdn/{Y3OSDFR4.js → 3QP334UZ.js} +2 -2
- package/dist/cdn/{SEDGRHB7.js → 3T2ADHJK.js} +2 -2
- package/dist/cdn/447GQOAT.js +4 -0
- package/dist/cdn/{R5W7EQYL.js → 44L6TTT4.js} +2 -2
- package/dist/cdn/{ES26WJJB.js → 47H7W7BO.js} +2 -2
- package/dist/cdn/{W5T3D66S.js → 4BT2XLUN.js} +2 -2
- package/dist/cdn/4F26RNCC.js +4 -0
- package/dist/cdn/{JE4BSPXI.js → 4GCXTLGM.js} +2 -2
- package/dist/cdn/4ID5DMA5.js +4 -0
- package/dist/cdn/{J4VS6ZIF.js → 4IJOWJLJ.js} +2 -2
- package/dist/cdn/{FPDZK5KF.js → 4JAQY2BN.js} +2 -2
- package/dist/cdn/{FRJJS6WF.js → 4MICNE3E.js} +2 -2
- package/dist/cdn/4Q5RMR4T.js +4 -0
- package/dist/cdn/{API4DWYS.js → 4R5WKGQP.js} +2 -2
- package/dist/cdn/{44D2CQXK.js → 5LD3V6QJ.js} +2 -2
- package/dist/cdn/{GCLPCPGB.js → 5PKPMA47.js} +2 -2
- package/dist/cdn/5SYVNQX7.js +4 -0
- package/dist/cdn/{RQX5L4VL.js → 64ZSJ47O.js} +2 -2
- package/dist/cdn/66EULTSC.js +4 -0
- package/dist/cdn/{EOCT6FGC.js → 67AITIYJ.js} +2 -2
- package/dist/cdn/67WQTX62.js +4 -0
- package/dist/cdn/{MI6G3PVS.js → 6JRUUMWG.js} +2 -2
- package/dist/cdn/6LHBDGWB.js +4 -0
- package/dist/cdn/{YY62WYQK.js → 6USQNX6K.js} +1 -1
- package/dist/cdn/{VVFA7BGW.js → 6XPM4RW6.js} +2 -2
- package/dist/cdn/{NIX62YJ5.js → 77HW5YH2.js} +2 -2
- package/dist/cdn/{IFZJKELT.js → 77Y2RMX4.js} +2 -2
- package/dist/cdn/7AF5EAG5.js +4 -0
- package/dist/cdn/7IJGGNQT.js +4 -0
- package/dist/cdn/7L3QXYUP.js +4 -0
- package/dist/cdn/7XW2UDS7.js +4 -0
- package/dist/cdn/{IPFACLKD.js → A7OVHRXV.js} +2 -2
- package/dist/cdn/A7SRETUG.js +4 -0
- package/dist/cdn/{NK4JJJ3J.js → ACNURAAQ.js} +1 -1
- package/dist/cdn/AQUX3EKH.js +4 -0
- package/dist/cdn/{M4TTKFBW.js → AS4VVNMD.js} +2 -2
- package/dist/cdn/{C2236CBZ.js → AX4YZ3OQ.js} +1 -1
- package/dist/cdn/{X73IB46P.js → B37LP25S.js} +2 -2
- package/dist/cdn/{HDNA5F6G.js → B6N3WMJV.js} +2 -2
- package/dist/cdn/B7DJDMTO.js +4 -0
- package/dist/cdn/{LFERT3PE.js → B7SPOYFN.js} +1 -1
- package/dist/cdn/{G5PMGVU4.js → BJ3RVCQX.js} +2 -2
- package/dist/cdn/{DFXD6UAY.js → BK47IEJ5.js} +2 -2
- package/dist/cdn/{HQVB755E.js → BL3QY4TW.js} +2 -2
- package/dist/cdn/BPA3G6YT.js +4 -0
- package/dist/cdn/{O3BCMGPN.js → BZP6D2MI.js} +2 -2
- package/dist/cdn/CFIRICIZ.js +4 -0
- package/dist/cdn/{ZIIGODZS.js → CK5AUYPJ.js} +2 -2
- package/dist/cdn/{Z3OUKTDA.js → CRFB37BT.js} +2 -2
- package/dist/cdn/{UB43YIRC.js → DCM5267U.js} +2 -2
- package/dist/cdn/{HUMIV3VH.js → DDGUYZ37.js} +2 -2
- package/dist/cdn/{WI5OAAU5.js → DEAO4O3X.js} +2 -2
- package/dist/cdn/E5P35PB7.js +4 -0
- package/dist/cdn/{XPV6WDON.js → EHBILRD3.js} +1 -1
- package/dist/cdn/{PM4SNJDH.js → EHSW2BIC.js} +2 -2
- package/dist/cdn/{IVS6B4TK.js → EL6HYBNC.js} +2 -2
- package/dist/cdn/ELSE7MFE.js +4 -0
- package/dist/cdn/{SIPZMYB4.js → EMEEY73G.js} +2 -2
- package/dist/cdn/{A4XLJBOQ.js → EN3LBVIG.js} +2 -2
- package/dist/cdn/{LOD2SN53.js → ERYLR4XT.js} +1 -1
- package/dist/cdn/ERZNVAWI.js +4 -0
- package/dist/cdn/ESN2X7YL.js +9 -0
- package/dist/cdn/{BJLLWEDQ.js → F5H3HO36.js} +1 -1
- package/dist/cdn/{SGARZDQH.js → FB2KVYJX.js} +2 -2
- package/dist/cdn/FBP6NBDQ.js +4 -0
- package/dist/cdn/{RXFIRFZE.js → FLO5LUXH.js} +2 -2
- package/dist/cdn/{AVCXAEKW.js → GB4J5XJ6.js} +2 -2
- package/dist/cdn/{GANTC2JR.js → GNOADAWJ.js} +2 -2
- package/dist/cdn/GZ4KCBGE.js +4 -0
- package/dist/cdn/{KCGCGEF7.js → H2CP5HFR.js} +2 -2
- package/dist/cdn/{ZZRSXHDL.js → HARI3PRR.js} +2 -2
- package/dist/cdn/{3U4KMEXD.js → HF24ULXX.js} +2 -2
- package/dist/cdn/{KD57RLBJ.js → I47RAA3F.js} +2 -2
- package/dist/cdn/{3YHA662Y.js → I522EP27.js} +2 -2
- package/dist/cdn/{Z3P3YHQ6.js → I6XESS6N.js} +2 -2
- package/dist/cdn/I7XKSEXB.js +4 -0
- package/dist/cdn/{MFNCONT5.js → IJE5UGXU.js} +2 -2
- package/dist/cdn/{2F2NXYKC.js → ITIONM7T.js} +2 -2
- package/dist/cdn/{ARBQIEOZ.js → IUIJSMKU.js} +2 -2
- package/dist/cdn/{7AMVYS4J.js → J37GLA5G.js} +2 -2
- package/dist/cdn/{BAYBJSRA.js → JAN4IYWB.js} +2 -2
- package/dist/cdn/JBWP6A45.js +4 -0
- package/dist/cdn/{5VJNY7VQ.js → JCUS7WFJ.js} +1 -1
- package/dist/cdn/JETD6JFY.js +4 -0
- package/dist/cdn/JMFSH7RH.js +4 -0
- package/dist/cdn/JZ2GF3SC.js +4 -0
- package/dist/cdn/{STOVGTPC.js → K2Y77DHB.js} +2 -2
- package/dist/cdn/{UEGTZRQO.js → KHC7SZS5.js} +2 -2
- package/dist/cdn/{BMHY3L6P.js → KJKZAZ5A.js} +2 -2
- package/dist/cdn/KLXCRO5N.js +4 -0
- package/dist/cdn/{GQTIMLNH.js → KMSKXIGX.js} +2 -2
- package/dist/cdn/{2DI73YIB.js → KU2P5TCM.js} +2 -2
- package/dist/cdn/{7X66YHTY.js → KV4TEG3J.js} +2 -2
- package/dist/cdn/{4HLE3NFA.js → KWHTSU7C.js} +2 -2
- package/dist/cdn/KXS26YLB.js +4 -0
- package/dist/cdn/{DF6FT47K.js → L2OF4K26.js} +1 -1
- package/dist/cdn/LBABPTH4.js +4 -0
- package/dist/cdn/{QP3MAEDM.js → LBADKNOK.js} +2 -2
- package/dist/cdn/{2RQATXIO.js → LRWX6XPN.js} +2 -2
- package/dist/cdn/{2WWNPYIH.js → LUANMBVH.js} +2 -2
- package/dist/cdn/{32AM3PJ5.js → LZTCXDAV.js} +2 -2
- package/dist/cdn/{4RZ2KUNN.js → M4HSHLPL.js} +2 -2
- package/dist/cdn/M5A2FN7F.js +4 -0
- package/dist/cdn/M7FG32BD.js +4 -0
- package/dist/cdn/{VHLNK34F.js → MA2PNTSN.js} +2 -2
- package/dist/cdn/{RHKQGAZU.js → MFASHV4E.js} +2 -2
- package/dist/cdn/MFKL7XPN.js +4 -0
- package/dist/cdn/{ZZ7RT7QM.js → MPBSZL45.js} +2 -2
- package/dist/cdn/MSHRVS6Z.js +4 -0
- package/dist/cdn/{YIIAEYM6.js → MU6EKSM7.js} +2 -2
- package/dist/cdn/{CV67UIOI.js → MZVOVWCJ.js} +2 -2
- package/dist/cdn/{BR4XEJ4B.js → N5KARJYU.js} +2 -2
- package/dist/cdn/N6WMMQTX.js +4 -0
- package/dist/cdn/{P34SUK6J.js → NAZZYL7D.js} +2 -2
- package/dist/cdn/{5T5JJGIY.js → NFJVBGAI.js} +2 -2
- package/dist/cdn/NGGS2VZK.js +4 -0
- package/dist/cdn/{EAW4FQUJ.js → NK3RE5SG.js} +2 -2
- package/dist/cdn/{DDDCENIA.js → O4I7Y3DW.js} +2 -2
- package/dist/cdn/{FBKD2FUV.js → O4T5RB6Z.js} +2 -2
- package/dist/cdn/{AMG4CQWO.js → OALDZ764.js} +2 -2
- package/dist/cdn/{UVKUXDIO.js → OJJZALPQ.js} +2 -2
- package/dist/cdn/{AZ2OINQZ.js → OP3W5AF3.js} +2 -2
- package/dist/cdn/OPBQUR4H.js +4 -0
- package/dist/cdn/{UBAX43ZI.js → OVRQQ75Q.js} +2 -2
- package/dist/cdn/{3LIPNJER.js → OY3ZHMDP.js} +2 -2
- package/dist/cdn/{LHPNHGL5.js → P2RFDK5N.js} +2 -2
- package/dist/cdn/{BWTML5G2.js → P4X47434.js} +2 -2
- package/dist/cdn/P6SPHDXP.js +4 -0
- package/dist/cdn/{7ZTK5RNR.js → PT6OVRXL.js} +2 -2
- package/dist/cdn/{R2S3OK5G.js → PX6KURLF.js} +1 -1
- package/dist/cdn/{6LADRP6U.js → Q4FDUWMO.js} +2 -2
- package/dist/cdn/QDXBRPCW.js +4 -0
- package/dist/cdn/{BW3BKF7S.js → QGPHJZLB.js} +2 -2
- package/dist/cdn/{ZYM4PPCW.js → QI6LVT3N.js} +2 -2
- package/dist/cdn/QIUIELBM.js +4 -0
- package/dist/cdn/{ZEHTSMNI.js → QP7RFE7T.js} +2 -2
- package/dist/cdn/QUJEY6H6.js +4 -0
- package/dist/cdn/{OXUZ35GH.js → QWHMC5JW.js} +3 -3
- package/dist/cdn/{XITYDU6J.js → RGC6L7EW.js} +2 -2
- package/dist/cdn/{7RMBEOAT.js → RQMKV3HS.js} +2 -2
- package/dist/cdn/{EHMZR5TR.js → RV56PCEB.js} +2 -2
- package/dist/cdn/{44LY3QB2.js → RVCA6WMU.js} +2 -2
- package/dist/cdn/{I3FHEM2H.js → RVS5COHM.js} +2 -2
- package/dist/cdn/{E7UOBFTE.js → RWEBXWLU.js} +2 -2
- package/dist/cdn/{AHWDCV4N.js → RWXBBVKG.js} +2 -2
- package/dist/cdn/{PG4JSSVK.js → RZYXI6M7.js} +2 -2
- package/dist/cdn/{MSZQYK2V.js → SAEVT3JM.js} +2 -2
- package/dist/cdn/SNCS2OI4.js +4 -0
- package/dist/cdn/{MNQPVVH3.js → SNXGH66M.js} +2 -2
- package/dist/cdn/{7ONVHE43.js → SPXBX6BE.js} +2 -2
- package/dist/cdn/{576GJQTN.js → SSNTSLAX.js} +2 -2
- package/dist/cdn/{PG4Z6IM6.js → SSOZGAEY.js} +2 -2
- package/dist/cdn/{EQBVGZUT.js → SXD4SCVW.js} +2 -2
- package/dist/cdn/{IWZMOW4V.js → SZGPMYE5.js} +2 -2
- package/dist/cdn/{LU2ZEFNK.js → T6DWFRSD.js} +2 -2
- package/dist/cdn/{FMOTQNWT.js → TBW6MVP2.js} +2 -2
- package/dist/cdn/{G7AINTVJ.js → TDNB4ZEM.js} +2 -2
- package/dist/cdn/{MK6DQGSF.js → TLPAK5QB.js} +2 -2
- package/dist/cdn/{JLMYKOTB.js → TN22XFO6.js} +2 -2
- package/dist/cdn/TNNFBO37.js +4 -0
- package/dist/cdn/{5WLA2JTM.js → TPHFVIVS.js} +2 -2
- package/dist/cdn/{FYCB5LC4.js → TR4M4KOG.js} +2 -2
- package/dist/cdn/TRYOZJ4J.js +4 -0
- package/dist/cdn/{OI7L5JYC.js → TTL5RPWZ.js} +2 -2
- package/dist/cdn/{ZY3XCOUK.js → TV4IJ6N6.js} +2 -2
- package/dist/cdn/TV6CP33E.js +4 -0
- package/dist/cdn/{R7CXX3HM.js → TYP2USY4.js} +2 -2
- package/dist/cdn/{7P4IZ3TJ.js → UFJKE6KW.js} +2 -2
- package/dist/cdn/{KYJ6ODES.js → UFOFV6YN.js} +2 -2
- package/dist/cdn/{54WB3EST.js → UJKTSJU6.js} +2 -2
- package/dist/cdn/{OO7IZEBI.js → ULO5II6A.js} +2 -2
- package/dist/cdn/UQ4HXS3Z.js +4 -0
- package/dist/cdn/{XAAWUQP3.js → UTR76FIP.js} +2 -2
- package/dist/cdn/{SDICLWFI.js → V2M3FK4O.js} +2 -2
- package/dist/cdn/{UDXVD5XZ.js → V5OTPB4N.js} +2 -2
- package/dist/cdn/VG6ES7SA.js +4 -0
- package/dist/cdn/VJXTH764.js +4 -0
- package/dist/cdn/{AMFMXMYU.js → VMOYAF7R.js} +2 -2
- package/dist/cdn/{7OFHFYVY.js → VMPEEKEI.js} +2 -2
- package/dist/cdn/{CF5WWETS.js → VSKG2ARA.js} +2 -2
- package/dist/cdn/{WDLQOKMF.js → W4Z4IOUY.js} +2 -2
- package/dist/cdn/{MD5JUHBL.js → W5INHL7R.js} +2 -2
- package/dist/cdn/WBBRBEAZ.js +4 -0
- package/dist/cdn/{6DWBG7BD.js → WC32Z2XP.js} +1 -1
- package/dist/cdn/WJBI2XFT.js +4 -0
- package/dist/cdn/{DXMYVDTD.js → WOYYBKWL.js} +2 -2
- package/dist/cdn/WR3KFAQY.js +4 -0
- package/dist/cdn/WRB552I2.js +4 -0
- package/dist/cdn/X5TKNZBE.js +4 -0
- package/dist/cdn/XDHXMC6O.js +4 -0
- package/dist/cdn/XG3RMEUW.js +4 -0
- package/dist/cdn/{QWRWNIDQ.js → XKRAIZZC.js} +2 -2
- package/dist/cdn/{WSROCQLI.js → XPP4HUJP.js} +2 -2
- package/dist/cdn/{UFJJSQPL.js → XVTLW3CS.js} +2 -2
- package/dist/cdn/{RJPMPWQK.js → XYDJHJJW.js} +2 -2
- package/dist/cdn/{YXSNZP3J.js → XYODSFDY.js} +2 -2
- package/dist/cdn/{BIW7LQAB.js → YAJ5Y53N.js} +2 -2
- package/dist/cdn/YGLBZZS3.js +4 -0
- package/dist/cdn/{6A5UTVGJ.js → YJBCZKCG.js} +2 -2
- package/dist/cdn/YQ2KWEQI.js +4 -0
- package/dist/cdn/{DOQSCVJD.js → YRLLDFS4.js} +1 -1
- package/dist/cdn/{MQL4RPHT.js → YSAKPAIT.js} +2 -2
- package/dist/cdn/{UP6V7HAC.js → YSDLB2IR.js} +2 -2
- package/dist/cdn/{75OXQ2H2.js → Z525JUIQ.js} +1 -1
- package/dist/cdn/{BZC6X3RM.js → Z63VX7UT.js} +2 -2
- package/dist/cdn/{IB4GIMGM.js → ZAOW6HZH.js} +2 -2
- package/dist/cdn/{UUBRHGGR.js → ZEBFVHV5.js} +2 -2
- package/dist/cdn/{WHXM4RSM.js → ZF5LDDXI.js} +2 -2
- package/dist/cdn/{VAE46PTT.js → ZGDVILRP.js} +2 -2
- package/dist/cdn/ZS6DRKIY.js +4 -0
- package/dist/cdn/{UGGH2ZYL.js → ZVZ3VQ2B.js} +2 -2
- package/dist/cdn/ZWHS5O2Y.js +4 -0
- package/dist/cdn/{XUUYGDDT.js → ZZEAR674.js} +2 -2
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +39 -35
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.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.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +93 -97
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.js +196 -147
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +1 -8
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -2
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +21 -4
- package/dist/components/arcgis-link-chart/customElement.js +3 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +18 -1
- package/dist/components/arcgis-map/customElement.js +3 -3
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +36 -0
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +0 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -0
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +31 -31
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +146 -102
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +4 -4
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +245 -22
- package/dist/docs/docs.json +210 -16
- package/dist/docs/vscode.html-custom-data.json +29 -5
- package/dist/docs/web-types.json +72 -10
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -6
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/types/lumina.d.ts +8 -3
- package/dist/types/preact.d.ts +9 -3
- package/dist/types/preact10.d.ts +10 -3
- package/dist/types/react.d.ts +10 -3
- package/dist/types/stencil.d.ts +8 -3
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/package.json +5 -5
- package/dist/cdn/3PHUVNMO.js +0 -4
- package/dist/cdn/3YNGI2TD.js +0 -4
- package/dist/cdn/62ACF4GK.js +0 -4
- package/dist/cdn/6UMHGQQQ.js +0 -4
- package/dist/cdn/7DDS4PSE.js +0 -4
- package/dist/cdn/7MSVBRFX.js +0 -4
- package/dist/cdn/7T3OMP3P.js +0 -4
- package/dist/cdn/AJTP62TS.js +0 -4
- package/dist/cdn/AMBRZDBB.js +0 -4
- package/dist/cdn/BHLLVXY4.js +0 -4
- package/dist/cdn/BS72LKTC.js +0 -4
- package/dist/cdn/BUQLVGX2.js +0 -4
- package/dist/cdn/CKKEUYVF.js +0 -4
- package/dist/cdn/CRLVMPT6.js +0 -4
- package/dist/cdn/DFGIY6KN.js +0 -4
- package/dist/cdn/DPL4VHPW.js +0 -4
- package/dist/cdn/DTW55COI.js +0 -4
- package/dist/cdn/E5R6OKXP.js +0 -4
- package/dist/cdn/EHFI4NFD.js +0 -4
- package/dist/cdn/EJG47NJ4.js +0 -4
- package/dist/cdn/EKGSDQRG.js +0 -4
- package/dist/cdn/EO3JN6RG.js +0 -4
- package/dist/cdn/EQDSFFHS.js +0 -4
- package/dist/cdn/EU5DIWMP.js +0 -4
- package/dist/cdn/EVNKT7CS.js +0 -4
- package/dist/cdn/EZXIWACW.js +0 -4
- package/dist/cdn/F7YID2WS.js +0 -4
- package/dist/cdn/FO5HN26Z.js +0 -4
- package/dist/cdn/GFZEN7IR.js +0 -4
- package/dist/cdn/GWSNNZXP.js +0 -4
- package/dist/cdn/JCHQDIR6.js +0 -4
- package/dist/cdn/JU3SPL5S.js +0 -4
- package/dist/cdn/K2F7CBO6.js +0 -4
- package/dist/cdn/KGX5BMVF.js +0 -4
- package/dist/cdn/KSXL7KZW.js +0 -4
- package/dist/cdn/KUJNPIQB.js +0 -4
- package/dist/cdn/MLMK5DYB.js +0 -4
- package/dist/cdn/MQL72DKL.js +0 -4
- package/dist/cdn/MUQAKAUR.js +0 -4
- package/dist/cdn/O65PIWHP.js +0 -4
- package/dist/cdn/OMYEERQN.js +0 -4
- package/dist/cdn/PC45POAO.js +0 -4
- package/dist/cdn/PGKZ2HPF.js +0 -4
- package/dist/cdn/PMSGGWUW.js +0 -4
- package/dist/cdn/Q6DSCXON.js +0 -4
- package/dist/cdn/QMC3TY3W.js +0 -9
- package/dist/cdn/QWW3MHGA.js +0 -4
- package/dist/cdn/R4DMYEQC.js +0 -4
- package/dist/cdn/R67Q3OIO.js +0 -4
- package/dist/cdn/RGNZOLUW.js +0 -4
- package/dist/cdn/RJ2F4ZE6.js +0 -4
- package/dist/cdn/S2R2RQ6R.js +0 -4
- package/dist/cdn/SNWM3QNT.js +0 -4
- package/dist/cdn/U2SXGKX4.js +0 -4
- package/dist/cdn/VCWGFFLB.js +0 -4
- package/dist/cdn/VF5ZEZIA.js +0 -4
- package/dist/cdn/VGOXORF3.js +0 -4
- package/dist/cdn/WPSYRM5U.js +0 -4
- package/dist/cdn/WQX34SJR.js +0 -4
- package/dist/cdn/WYSUU2YF.js +0 -4
- package/dist/cdn/X2HGZACW.js +0 -4
- package/dist/cdn/YGHWVOXY.js +0 -4
- package/dist/cdn/Z3AW5R2E.js +0 -4
- package/dist/cdn/ZEKB6D5C.js +0 -4
|
@@ -1,61 +1,77 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { ref as
|
|
1
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as C, html as c } from "lit";
|
|
3
|
+
import { ref as S } from "lit/directives/ref.js";
|
|
4
4
|
import { ignoreAbortErrors as m } from "@arcgis/core/core/promiseUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import { g as
|
|
10
|
-
import
|
|
11
|
-
import { getDefaultUnitForView as
|
|
12
|
-
import { property as a, subclass as
|
|
13
|
-
import { watch as
|
|
5
|
+
import { LitElement as k, createEvent as M, nothing as g, safeClassMap as v } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as B } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { u as E } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as O } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
10
|
+
import D from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
11
|
+
import { getDefaultUnitForView as P } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
+
import { property as a, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
14
|
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
15
|
+
import { a as z } from "../../chunks/maybe.js";
|
|
15
16
|
import { m as _ } from "../../chunks/measurementUtils.js";
|
|
16
|
-
import { c as
|
|
17
|
-
import {
|
|
17
|
+
import { t as U, c as b } from "../../chunks/async-utils.js";
|
|
18
|
+
import { m as F } from "../../chunks/handle.js";
|
|
19
|
+
import { createChart as A } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
18
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
21
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
21
|
-
const
|
|
22
|
-
function
|
|
22
|
+
v5.0.0-next.9 */
|
|
23
|
+
const T = C`.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-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size;resize:horizontal}.container{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;top:-22px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
24
|
+
function I({ geometry: t }) {
|
|
23
25
|
return t != null && t.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
|
|
24
26
|
}
|
|
25
|
-
function
|
|
27
|
+
function L({ geometry: t }) {
|
|
26
28
|
return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
|
|
27
29
|
}
|
|
28
|
-
function
|
|
30
|
+
function H(t) {
|
|
29
31
|
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
30
32
|
}
|
|
31
|
-
function
|
|
33
|
+
function Z(t) {
|
|
32
34
|
return t?.type === "polyline";
|
|
33
35
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
async function j(t, e, i) {
|
|
37
|
+
const r = await R(t, e);
|
|
38
|
+
return U(i), N(r) ? r.highlight(e) : F();
|
|
39
|
+
}
|
|
40
|
+
async function R(t, e) {
|
|
41
|
+
const i = e?.layer;
|
|
42
|
+
if (!(!i || i.type === "subtype-sublayer" || i.type === "sublayer" || i.type === "building-component"))
|
|
43
|
+
return await t.whenLayerView(i);
|
|
44
|
+
}
|
|
45
|
+
function N(t) {
|
|
46
|
+
return t != null && "highlight" in t && typeof t.highlight == "function";
|
|
47
|
+
}
|
|
48
|
+
var q = Object.defineProperty, G = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
|
|
49
|
+
for (var n = r > 1 ? void 0 : r ? G(e, i) : e, l = t.length - 1, d; l >= 0; l--)
|
|
50
|
+
(d = t[l]) && (n = (r ? d(e, i, n) : d(n)) || n);
|
|
51
|
+
return r && n && q(e, i, n), n;
|
|
38
52
|
};
|
|
39
|
-
let
|
|
53
|
+
let s = class extends $ {
|
|
40
54
|
constructor() {
|
|
41
|
-
super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
55
|
+
super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
42
56
|
}
|
|
43
57
|
get _measurementSystem() {
|
|
44
|
-
return this.view ?
|
|
58
|
+
return this.view ? P(this.view) : void 0;
|
|
45
59
|
}
|
|
46
60
|
get _hasSamples() {
|
|
47
61
|
const { progress: t } = this;
|
|
48
|
-
return this._analysisView?.results?.some((e) => e.available && (t < 1 ||
|
|
62
|
+
return this._analysisView?.results?.some((e) => e.available && (t < 1 || H(e))) ?? !1;
|
|
49
63
|
}
|
|
50
|
-
get
|
|
64
|
+
get doneButtonAvailable() {
|
|
65
|
+
if (this.featureSelected)
|
|
66
|
+
return !1;
|
|
51
67
|
const { geometry: t } = this.analysis;
|
|
52
|
-
return
|
|
68
|
+
return Z(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
53
69
|
}
|
|
54
70
|
get effectiveDisplayUnits() {
|
|
55
71
|
return this.analysisView?.effectiveDisplayUnits;
|
|
56
72
|
}
|
|
57
73
|
get errorState() {
|
|
58
|
-
if (!
|
|
74
|
+
if (!I(this.analysis))
|
|
59
75
|
return "no-valid-input";
|
|
60
76
|
const t = this.analysisView?.error;
|
|
61
77
|
if (t)
|
|
@@ -71,8 +87,11 @@ let o = class extends $ {
|
|
|
71
87
|
}
|
|
72
88
|
return this._hasSamples ? "none" : "no-available-profiles";
|
|
73
89
|
}
|
|
90
|
+
get featureSelected() {
|
|
91
|
+
return this._selectedFeature != null;
|
|
92
|
+
}
|
|
74
93
|
get hasVertices() {
|
|
75
|
-
return
|
|
94
|
+
return L(this.analysis);
|
|
76
95
|
}
|
|
77
96
|
get hoveredPosition() {
|
|
78
97
|
return this.analysisView?.hoveredPosition ?? void 0;
|
|
@@ -99,33 +118,16 @@ let o = class extends $ {
|
|
|
99
118
|
return this.analysisView?.progress ?? 0;
|
|
100
119
|
}
|
|
101
120
|
get results() {
|
|
102
|
-
|
|
103
|
-
if (!e)
|
|
104
|
-
return [];
|
|
105
|
-
const { profiles: i } = t, { results: r } = e;
|
|
106
|
-
return i.length !== r.length ? [] : i.toArray().map((n, l) => {
|
|
107
|
-
const c = r.at(l);
|
|
108
|
-
return { profileLine: n, result: c };
|
|
109
|
-
});
|
|
121
|
+
return this.analysisView?.results ?? [];
|
|
110
122
|
}
|
|
111
|
-
get
|
|
123
|
+
get selectButtonAvailable() {
|
|
112
124
|
for (const t of this.view?.map?.allLayers.toArray() ?? [])
|
|
113
125
|
if (t.type === "graphics" && !("internal" in t && t.internal) && t.graphics.some((e) => e.geometry?.type === "polyline") || "geometryType" in t && t.geometryType === "polyline")
|
|
114
126
|
return !0;
|
|
115
127
|
return !!this.view?.graphics?.some((t) => t.geometry?.type === "polyline");
|
|
116
128
|
}
|
|
117
129
|
get state() {
|
|
118
|
-
|
|
119
|
-
return "disabled";
|
|
120
|
-
if (this._selectingPromise)
|
|
121
|
-
return "selecting";
|
|
122
|
-
if (this.operationState === "active")
|
|
123
|
-
return "creating";
|
|
124
|
-
if (this.analysis.valid) {
|
|
125
|
-
const t = this.analysis.geometry;
|
|
126
|
-
return t != null && "geometry" in t ? "selected" : "created";
|
|
127
|
-
} else
|
|
128
|
-
return "ready";
|
|
130
|
+
return this.disabled || !this.ready ? "disabled" : this._selectingPromise ? "selecting" : this.operationState === "active" ? "creating" : this.analysis.valid ? this.featureSelected ? "selected" : "created" : "ready";
|
|
129
131
|
}
|
|
130
132
|
get unitDistance() {
|
|
131
133
|
return y(this._userUnitDistance, this.unitOptionsDistance, this._measurementSystem);
|
|
@@ -154,8 +156,8 @@ let o = class extends $ {
|
|
|
154
156
|
//#endregion
|
|
155
157
|
//#region Public Methods
|
|
156
158
|
initialize() {
|
|
157
|
-
this.addHandles(
|
|
158
|
-
|
|
159
|
+
this.addHandles([
|
|
160
|
+
p(
|
|
159
161
|
() => ({
|
|
160
162
|
analysis: this.analysis,
|
|
161
163
|
unitDistance: this.unitDistance,
|
|
@@ -168,8 +170,32 @@ let o = class extends $ {
|
|
|
168
170
|
}
|
|
169
171
|
},
|
|
170
172
|
{ sync: !0, initial: !0 }
|
|
173
|
+
),
|
|
174
|
+
p(
|
|
175
|
+
() => ({
|
|
176
|
+
selectedFeature: this._selectedFeature,
|
|
177
|
+
profiles: this.analysis.profiles.toArray()
|
|
178
|
+
}),
|
|
179
|
+
({ selectedFeature: t, profiles: e }, i) => {
|
|
180
|
+
this._highlightSelectedFeature(this.highlightEnabled ? t : void 0), this.analysis.viewOptions.geometryVisualizationVisible = this.highlightEnabled && t == null;
|
|
181
|
+
const r = i?.selectedFeature;
|
|
182
|
+
e.forEach((n) => {
|
|
183
|
+
switch (n.type) {
|
|
184
|
+
case "scene":
|
|
185
|
+
this._excludeSelectedFeatureFromProfile(n, t, r);
|
|
186
|
+
break;
|
|
187
|
+
case "input":
|
|
188
|
+
n.chartOptions.lineVisible = t != null, n.viewOptions.lineVisible = t != null;
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
},
|
|
193
|
+
{ initial: !0 }
|
|
171
194
|
)
|
|
172
|
-
);
|
|
195
|
+
]);
|
|
196
|
+
}
|
|
197
|
+
destroy() {
|
|
198
|
+
this._removeSelectionHighlight();
|
|
173
199
|
}
|
|
174
200
|
async select() {
|
|
175
201
|
const t = this.analysisView;
|
|
@@ -177,7 +203,8 @@ let o = class extends $ {
|
|
|
177
203
|
return;
|
|
178
204
|
const e = super.start({
|
|
179
205
|
operation: async (i) => {
|
|
180
|
-
await t.pickFeature(i);
|
|
206
|
+
const r = await t.pickFeature(i);
|
|
207
|
+
i?.signal?.aborted || (t.interactive = !1, this._selectedFeature = r.feature);
|
|
181
208
|
}
|
|
182
209
|
});
|
|
183
210
|
e.finally(() => {
|
|
@@ -185,97 +212,118 @@ let o = class extends $ {
|
|
|
185
212
|
}), this._selectingPromise = e, await e.catch();
|
|
186
213
|
}
|
|
187
214
|
async place(t) {
|
|
188
|
-
await this.analysisView?.place(t);
|
|
215
|
+
this.clearAnalysis(), await this.analysisView?.place(t);
|
|
189
216
|
}
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region Protected/Private Methods
|
|
192
217
|
clearAnalysis() {
|
|
193
|
-
this.geometry = null, this.elevationInfo = null;
|
|
218
|
+
this.geometry = null, this.elevationInfo = null, this._selectedFeature = void 0;
|
|
194
219
|
}
|
|
195
220
|
// Should never happen because both 2d and 3d are supported
|
|
196
221
|
constructAnalysis() {
|
|
197
|
-
return new
|
|
222
|
+
return new D();
|
|
223
|
+
}
|
|
224
|
+
_highlightSelectedFeature(t) {
|
|
225
|
+
this._removeSelectionHighlight();
|
|
226
|
+
const e = this.view;
|
|
227
|
+
!e || !t || (this._selectionHighlightTask = b(
|
|
228
|
+
async (i) => await j(e, t, { signal: i })
|
|
229
|
+
));
|
|
230
|
+
}
|
|
231
|
+
_removeSelectionHighlight() {
|
|
232
|
+
this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = z(this._selectionHighlightTask);
|
|
233
|
+
}
|
|
234
|
+
_excludeSelectedFeatureFromProfile(t, e, i) {
|
|
235
|
+
const r = new Set(t.exclude ?? []);
|
|
236
|
+
i && r.delete(i), e && r.add(e), t.exclude = Array.from(r);
|
|
198
237
|
}
|
|
199
238
|
//#endregion
|
|
200
239
|
};
|
|
201
|
-
|
|
240
|
+
o([
|
|
202
241
|
a()
|
|
203
|
-
],
|
|
204
|
-
|
|
242
|
+
], s.prototype, "_userUnitOptionsDistance", 2);
|
|
243
|
+
o([
|
|
205
244
|
a()
|
|
206
|
-
],
|
|
207
|
-
|
|
245
|
+
], s.prototype, "_userUnitOptionsElevation", 2);
|
|
246
|
+
o([
|
|
208
247
|
a()
|
|
209
|
-
],
|
|
210
|
-
|
|
248
|
+
], s.prototype, "_userUnitDistance", 2);
|
|
249
|
+
o([
|
|
211
250
|
a()
|
|
212
|
-
],
|
|
213
|
-
|
|
251
|
+
], s.prototype, "_userUnitElevation", 2);
|
|
252
|
+
o([
|
|
214
253
|
a({ readOnly: !0 })
|
|
215
|
-
],
|
|
216
|
-
|
|
254
|
+
], s.prototype, "_measurementSystem", 1);
|
|
255
|
+
o([
|
|
256
|
+
a()
|
|
257
|
+
], s.prototype, "_selectingPromise", 2);
|
|
258
|
+
o([
|
|
217
259
|
a()
|
|
218
|
-
],
|
|
219
|
-
|
|
260
|
+
], s.prototype, "_selectedFeature", 2);
|
|
261
|
+
o([
|
|
220
262
|
a()
|
|
221
|
-
],
|
|
222
|
-
|
|
263
|
+
], s.prototype, "_selectionHighlightTask", 2);
|
|
264
|
+
o([
|
|
223
265
|
a()
|
|
224
|
-
],
|
|
225
|
-
|
|
266
|
+
], s.prototype, "_hasSamples", 1);
|
|
267
|
+
o([
|
|
268
|
+
a()
|
|
269
|
+
], s.prototype, "doneButtonAvailable", 1);
|
|
270
|
+
o([
|
|
226
271
|
a({ readOnly: !0 })
|
|
227
|
-
],
|
|
228
|
-
|
|
272
|
+
], s.prototype, "effectiveDisplayUnits", 1);
|
|
273
|
+
o([
|
|
229
274
|
a({ readOnly: !0 })
|
|
230
|
-
],
|
|
231
|
-
|
|
275
|
+
], s.prototype, "errorState", 1);
|
|
276
|
+
o([
|
|
277
|
+
a()
|
|
278
|
+
], s.prototype, "featureSelected", 1);
|
|
279
|
+
o([
|
|
232
280
|
a({ readOnly: !0 })
|
|
233
|
-
],
|
|
234
|
-
|
|
281
|
+
], s.prototype, "hasVertices", 1);
|
|
282
|
+
o([
|
|
235
283
|
a()
|
|
236
|
-
],
|
|
237
|
-
|
|
284
|
+
], s.prototype, "highlightEnabled", 2);
|
|
285
|
+
o([
|
|
238
286
|
a()
|
|
239
|
-
],
|
|
240
|
-
|
|
287
|
+
], s.prototype, "hoveredPosition", 1);
|
|
288
|
+
o([
|
|
241
289
|
a()
|
|
242
|
-
],
|
|
243
|
-
|
|
290
|
+
], s.prototype, "geometry", 1);
|
|
291
|
+
o([
|
|
244
292
|
a()
|
|
245
|
-
],
|
|
246
|
-
|
|
293
|
+
], s.prototype, "elevationInfo", 1);
|
|
294
|
+
o([
|
|
247
295
|
a()
|
|
248
|
-
],
|
|
249
|
-
|
|
296
|
+
], s.prototype, "profiles", 1);
|
|
297
|
+
o([
|
|
250
298
|
a({ readOnly: !0 })
|
|
251
|
-
],
|
|
252
|
-
|
|
299
|
+
], s.prototype, "progress", 1);
|
|
300
|
+
o([
|
|
253
301
|
a({ readOnly: !0 })
|
|
254
|
-
],
|
|
255
|
-
|
|
302
|
+
], s.prototype, "results", 1);
|
|
303
|
+
o([
|
|
256
304
|
a({ readOnly: !0 })
|
|
257
|
-
],
|
|
258
|
-
|
|
305
|
+
], s.prototype, "selectButtonAvailable", 1);
|
|
306
|
+
o([
|
|
259
307
|
a({ readOnly: !0 })
|
|
260
|
-
],
|
|
261
|
-
|
|
308
|
+
], s.prototype, "state", 1);
|
|
309
|
+
o([
|
|
262
310
|
a()
|
|
263
|
-
],
|
|
264
|
-
|
|
311
|
+
], s.prototype, "uniformChartScaling", 2);
|
|
312
|
+
o([
|
|
265
313
|
a()
|
|
266
|
-
],
|
|
267
|
-
|
|
314
|
+
], s.prototype, "unitDistance", 1);
|
|
315
|
+
o([
|
|
268
316
|
a()
|
|
269
|
-
],
|
|
270
|
-
|
|
317
|
+
], s.prototype, "unitElevation", 1);
|
|
318
|
+
o([
|
|
271
319
|
a()
|
|
272
|
-
],
|
|
273
|
-
|
|
320
|
+
], s.prototype, "unitOptionsDistance", 1);
|
|
321
|
+
o([
|
|
274
322
|
a()
|
|
275
|
-
],
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
],
|
|
323
|
+
], s.prototype, "unitOptionsElevation", 1);
|
|
324
|
+
s = o([
|
|
325
|
+
V("components.elevation-profile.ElevationProfileViewModel")
|
|
326
|
+
], s);
|
|
279
327
|
function y(t, e, i) {
|
|
280
328
|
return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
|
|
281
329
|
}
|
|
@@ -283,19 +331,19 @@ function w(t) {
|
|
|
283
331
|
const e = t?.filter((i) => _.includes(i));
|
|
284
332
|
return e && e.length > 0 ? e : _.slice();
|
|
285
333
|
}
|
|
286
|
-
const
|
|
287
|
-
class
|
|
334
|
+
const J = O(s);
|
|
335
|
+
class K extends k {
|
|
288
336
|
constructor() {
|
|
289
|
-
super(...arguments), this.viewModel =
|
|
337
|
+
super(...arguments), this.viewModel = J(this), this._messages = E(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideSketchButton = !1, this.hideUniformChartScalingToggle = !1, this.hideUnitSelector = !1, this.highlightEnabled = this.viewModel.highlightEnabled, this.hoveredPosition = this.viewModel.hoveredPosition, this.icon = "altitude", this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.unitDistance = this.viewModel.unitDistance, this.unitElevation = this.viewModel.unitElevation, this.unitOptionsDistance = this.viewModel.unitOptionsDistance, this.unitOptionsElevation = this.viewModel.unitOptionsElevation, this.arcgisPropertyChange = B()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = M();
|
|
290
338
|
}
|
|
291
339
|
static {
|
|
292
340
|
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredPosition: 9, icon: 3, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, profiles: 0, progress: 40, state: 3, uniformChartScaling: 5, unitDistance: 1, unitElevation: 1, unitOptionsDistance: 0, unitOptionsElevation: 0 };
|
|
293
341
|
}
|
|
294
342
|
static {
|
|
295
|
-
this.styles =
|
|
343
|
+
this.styles = T;
|
|
296
344
|
}
|
|
297
345
|
get _selectButtonVisible() {
|
|
298
|
-
return !this.hideSelectButton && this.viewModel.
|
|
346
|
+
return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
|
|
299
347
|
}
|
|
300
348
|
get _chart() {
|
|
301
349
|
return this._chartInitializationTask?.value;
|
|
@@ -314,13 +362,14 @@ class R extends S {
|
|
|
314
362
|
}
|
|
315
363
|
load() {
|
|
316
364
|
this.manager.onLifecycle(() => [
|
|
317
|
-
|
|
318
|
-
this._destroyChart(), e && (this._chartInitializationTask =
|
|
365
|
+
p(() => ({ container: this._chartContainer }), ({ container: e }) => {
|
|
366
|
+
this._destroyChart(), e && (this._chartInitializationTask = b(async (i) => await A({
|
|
319
367
|
view: this.viewModel.view,
|
|
320
368
|
analysisView: this.viewModel.analysisView,
|
|
321
369
|
container: e,
|
|
322
370
|
messages: this._messages,
|
|
323
371
|
signal: i,
|
|
372
|
+
uniformScaling: this.viewModel.uniformChartScaling,
|
|
324
373
|
onRangeChange: (r, n) => {
|
|
325
374
|
this._hideZoomOutButton = r === 1 && n === 1;
|
|
326
375
|
},
|
|
@@ -330,7 +379,7 @@ class R extends S {
|
|
|
330
379
|
}
|
|
331
380
|
})));
|
|
332
381
|
}, { sync: !0, initial: !0 }),
|
|
333
|
-
|
|
382
|
+
p(() => ({
|
|
334
383
|
chart: this._chart,
|
|
335
384
|
view: this.viewModel.view,
|
|
336
385
|
analysisView: this.viewModel.analysisView,
|
|
@@ -353,7 +402,7 @@ class R extends S {
|
|
|
353
402
|
this.viewModel.stop();
|
|
354
403
|
}
|
|
355
404
|
_getErrorMessage() {
|
|
356
|
-
const e =
|
|
405
|
+
const e = Q[this.viewModel.errorState];
|
|
357
406
|
return e ? this._messages?.errors?.[e] : void 0;
|
|
358
407
|
}
|
|
359
408
|
_onSketchButtonClick() {
|
|
@@ -372,11 +421,11 @@ class R extends S {
|
|
|
372
421
|
this._chartContainer = e;
|
|
373
422
|
}
|
|
374
423
|
render() {
|
|
375
|
-
return
|
|
424
|
+
return c`<div aria-label=${this._messages.componentLabel ?? g} class=${v({
|
|
376
425
|
container: !0,
|
|
377
|
-
[
|
|
378
|
-
[
|
|
379
|
-
[
|
|
426
|
+
[f.widget]: !0,
|
|
427
|
+
[f.widgetDisabled]: this.viewModel.state === "disabled",
|
|
428
|
+
[f.panel]: !0
|
|
380
429
|
})} role=presentation>${this._renderContentForState()}</div>`;
|
|
381
430
|
}
|
|
382
431
|
_renderContentForState() {
|
|
@@ -396,9 +445,9 @@ class R extends S {
|
|
|
396
445
|
}
|
|
397
446
|
}
|
|
398
447
|
_renderContentForReadyState() {
|
|
399
|
-
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, {
|
|
400
|
-
let
|
|
401
|
-
return !r && l ?
|
|
448
|
+
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectButtonAvailable: n } = this.viewModel, l = !i && n;
|
|
449
|
+
let d;
|
|
450
|
+
return !r && l ? d = e.readyPrompt : r ? l ? d = e.readyPromptSelectOnly : d = e.errors?.noProfile : d = e.readyPromptCreateOnly, this._renderContent({ prompt: d, chart: !1, actions: u });
|
|
402
451
|
}
|
|
403
452
|
_renderContentForSelectingState() {
|
|
404
453
|
const { view: e } = this.viewModel;
|
|
@@ -415,7 +464,7 @@ class R extends S {
|
|
|
415
464
|
const { viewModel: e } = this, { view: i } = e;
|
|
416
465
|
if (!i)
|
|
417
466
|
return;
|
|
418
|
-
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.
|
|
467
|
+
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.doneButtonAvailable }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
|
|
419
468
|
if (e.errorState === "no-valid-input") {
|
|
420
469
|
const l = this._messages[`creatingPrompt-${i.type}`];
|
|
421
470
|
return this._renderContent({
|
|
@@ -429,37 +478,37 @@ class R extends S {
|
|
|
429
478
|
}
|
|
430
479
|
_renderContentForSelectedState() {
|
|
431
480
|
const e = this._getErrorMessage();
|
|
432
|
-
return e ? this._renderContent({ chart: !1, actions:
|
|
481
|
+
return e ? this._renderContent({ chart: !1, actions: u, prompt: e }) : this._renderContent({ chart: !0, actions: u });
|
|
433
482
|
}
|
|
434
483
|
_renderContentForCreatedState() {
|
|
435
484
|
const e = this._getErrorMessage();
|
|
436
|
-
return e ? this._renderContent({ chart: !1, actions:
|
|
485
|
+
return e ? this._renderContent({ chart: !1, actions: u, prompt: e }) : this._renderContent({ chart: !0, actions: u });
|
|
437
486
|
}
|
|
438
487
|
_renderContent(e) {
|
|
439
488
|
const { viewModel: i } = this, r = i.geometry != null;
|
|
440
|
-
return
|
|
489
|
+
return c`<header class="header">${h({ hidden: this._hideZoomOutButton, children: this._renderZoomOutButton() })}${h({ hidden: this.hideClearButton || !r, children: this._renderClearButton() })}${h({ hidden: this.hideSettingsButton, children: this._renderSettingsButton() })}</header><div class="main-container">${e.prompt != null ? this._renderPrompt(e.prompt) : e.chart ? this._renderChart() : void 0}</div>${h({ hidden: this.hideLegend, children: this._renderLegend() })}${this._renderActions(e)}`;
|
|
441
490
|
}
|
|
442
491
|
_renderPrompt(e) {
|
|
443
492
|
return [
|
|
444
|
-
|
|
493
|
+
c`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
|
|
445
494
|
];
|
|
446
495
|
}
|
|
447
496
|
_renderZoomOutButton() {
|
|
448
497
|
const e = this._messages.zoomOut ?? "";
|
|
449
|
-
return
|
|
498
|
+
return c`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
450
499
|
}
|
|
451
500
|
_renderChart() {
|
|
452
501
|
if (this.hideChart)
|
|
453
502
|
return;
|
|
454
503
|
const e = this._chart;
|
|
455
|
-
return
|
|
504
|
+
return c`${this._renderSpinner({
|
|
456
505
|
size: e?.chartVisible ? "small" : "large",
|
|
457
506
|
visible: e?.spinnerVisible ?? !1
|
|
458
|
-
})}<div class="chart-container" ${
|
|
507
|
+
})}<div class="chart-container" ${S(this._onChartContainerRef)}></div>`;
|
|
459
508
|
}
|
|
460
509
|
_renderSpinner(e) {
|
|
461
510
|
const i = e.size === "small", r = e.visible ?? !0;
|
|
462
|
-
return
|
|
511
|
+
return c`<calcite-loader class=${v({
|
|
463
512
|
spinner: !0,
|
|
464
513
|
small: i,
|
|
465
514
|
visible: r
|
|
@@ -467,13 +516,13 @@ class R extends S {
|
|
|
467
516
|
}
|
|
468
517
|
_renderClearButton() {
|
|
469
518
|
const e = this._messages.clearProfile ?? "";
|
|
470
|
-
return
|
|
519
|
+
return c`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
471
520
|
}
|
|
472
521
|
_renderLegend() {
|
|
473
|
-
return
|
|
522
|
+
return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
474
523
|
}
|
|
475
524
|
_renderSettingsButton() {
|
|
476
|
-
return
|
|
525
|
+
return c`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.unitOptionsDistance} .unitOptionsElevation=${this.viewModel.unitOptionsElevation} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
477
526
|
this.viewModel.uniformChartScaling = e.detail;
|
|
478
527
|
}}></arcgis-elevation-profile-settings>`;
|
|
479
528
|
}
|
|
@@ -519,16 +568,16 @@ class R extends S {
|
|
|
519
568
|
return;
|
|
520
569
|
}
|
|
521
570
|
}).filter(Boolean);
|
|
522
|
-
return r.length ?
|
|
571
|
+
return r.length ? c`<footer class="actions">${r}</footer>` : void 0;
|
|
523
572
|
}
|
|
524
573
|
_renderAction({ action: e, label: i, onClick: r, primary: n }) {
|
|
525
|
-
return
|
|
574
|
+
return c`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
|
|
526
575
|
}
|
|
527
576
|
}
|
|
528
577
|
function h(t) {
|
|
529
578
|
return t.hidden ? void 0 : t.children;
|
|
530
579
|
}
|
|
531
|
-
const
|
|
580
|
+
const u = [{ type: "select" }, { type: "sketch" }], Q = {
|
|
532
581
|
none: void 0,
|
|
533
582
|
"no-valid-input": "noProfile",
|
|
534
583
|
"no-available-profiles": "noProfile",
|
|
@@ -536,7 +585,7 @@ const p = [{ type: "select" }, { type: "sketch" }], H = {
|
|
|
536
585
|
unknown: "unknown",
|
|
537
586
|
"invalid-geometry": "invalidGeometry"
|
|
538
587
|
};
|
|
539
|
-
|
|
588
|
+
x("arcgis-elevation-profile-next", K);
|
|
540
589
|
export {
|
|
541
|
-
|
|
590
|
+
K as ArcgisElevationProfileNext
|
|
542
591
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { default as ElevationProfileAnalysis } from '@arcgis/core/analysis/ElevationProfileAnalysis.js';
|
|
3
3
|
import { default as Polyline } from '@arcgis/core/geometry/Polyline.js';
|
|
4
|
-
import { ElevationProfileResult } from '
|
|
4
|
+
import { default as ElevationProfileResult } from '@arcgis/core/views/analysis/ElevationProfile/ElevationProfileResult';
|
|
5
5
|
export declare function inputIsValid({ geometry }: ElevationProfileAnalysis): boolean;
|
|
6
6
|
export declare function hasVertices({ geometry }: ElevationProfileAnalysis): boolean;
|
|
7
7
|
export declare function resultHasSamples(result: ElevationProfileResult | nullish): boolean;
|