@arcgis/map-components 4.34.0-next.144 → 4.34.0-next.146
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/{6P3ABQXI.js → 26ADAPBP.js} +2 -2
- package/dist/cdn/{RRZX4XY4.js → 2CC65BNR.js} +2 -2
- package/dist/cdn/{5ABZVLAA.js → 2L45AMAV.js} +2 -2
- package/dist/cdn/{XKM3T5U5.js → 2LPHBV2F.js} +2 -2
- package/dist/cdn/{MUW7D2FM.js → 33B6YJUM.js} +2 -2
- package/dist/cdn/{JKW2YQL5.js → 34JJW4AE.js} +2 -2
- package/dist/cdn/{T4GEMNMA.js → 3CC4SU7B.js} +1 -1
- package/dist/cdn/{TK6L6XXT.js → 3NP6NPQ5.js} +1 -1
- package/dist/cdn/{LVZE2WE5.js → 3WTYZCBO.js} +2 -2
- package/dist/cdn/{WOSBMNM2.js → 3ZU347TS.js} +2 -2
- package/dist/cdn/{EP4DGGCS.js → 437GE4S5.js} +2 -2
- package/dist/cdn/{5ALHMSTV.js → 4BQQIRYA.js} +2 -2
- package/dist/cdn/{BJOO46N4.js → 4TNACKTK.js} +2 -2
- package/dist/cdn/{5ZB3FAPN.js → 4UO2IG3V.js} +2 -2
- package/dist/cdn/{YV7K6JWU.js → 4ZXW4VFA.js} +2 -2
- package/dist/cdn/{DMPFKF35.js → 5FKX2NQR.js} +2 -2
- package/dist/cdn/{MLFA3YJK.js → 5HFWLRKO.js} +2 -2
- package/dist/cdn/{2GLM4NH4.js → 5I23PWEC.js} +3 -3
- package/dist/cdn/{ZO4ZKJDJ.js → 5JFQLLOP.js} +2 -2
- package/dist/cdn/{2BMAIIT7.js → 5KPMZSRB.js} +2 -2
- package/dist/cdn/{VHHNVDDP.js → 5M5S5OLK.js} +2 -2
- package/dist/cdn/{XENIHOA3.js → 5RG4HWME.js} +2 -2
- package/dist/cdn/6B2K2K75.js +9 -0
- package/dist/cdn/{MYSF22C3.js → 6J2JCFSX.js} +2 -2
- package/dist/cdn/{R7VYUKEC.js → 6NWD5KR5.js} +2 -2
- package/dist/cdn/{J6WRPCZL.js → 75SCVO4M.js} +2 -2
- package/dist/cdn/{N5BRS5FM.js → 76MKS2QW.js} +2 -2
- package/dist/cdn/{74CQ6W25.js → 7AFPALZO.js} +2 -2
- package/dist/cdn/{AME5EAK2.js → 7G6WHPNS.js} +2 -2
- package/dist/cdn/{RRQNCD4C.js → 7HC5EWVT.js} +2 -2
- package/dist/cdn/{4UJ4LQS5.js → 7TGLENLM.js} +2 -2
- package/dist/cdn/{JSKNPFQG.js → 7XX4ALFE.js} +2 -2
- package/dist/cdn/{GOONL4IL.js → 7YZXSKNI.js} +2 -2
- package/dist/cdn/{22ZW73UV.js → AC3BTCUY.js} +2 -2
- package/dist/cdn/{CLKIYDHE.js → AHBGQN74.js} +2 -2
- package/dist/cdn/{FTH4NCZE.js → ANZD65AM.js} +2 -2
- package/dist/cdn/{FVC2PPAA.js → ASQC555G.js} +1 -1
- package/dist/cdn/{EGLNKNSH.js → AZWACSVM.js} +2 -2
- package/dist/cdn/{4VK43QZF.js → BFHFZZTD.js} +2 -2
- package/dist/cdn/{DB5PRVC6.js → BHAGMEKK.js} +2 -2
- package/dist/cdn/{GLEQRMNH.js → BKZOMKK7.js} +2 -2
- package/dist/cdn/{LAUIDHJB.js → BMYSVZ6F.js} +2 -2
- package/dist/cdn/{3KXEGQXC.js → BO4YI7KP.js} +2 -2
- package/dist/cdn/{4RJWNA22.js → BVBSWYKM.js} +2 -2
- package/dist/cdn/{GRJ4RACY.js → BVPNWCDP.js} +2 -2
- package/dist/cdn/{TUPJLGAL.js → CBZ3BYPR.js} +2 -2
- package/dist/cdn/{BFZ5XTGZ.js → CEWB3RJN.js} +2 -2
- package/dist/cdn/{SP4LZL3J.js → CJHFLV44.js} +2 -2
- package/dist/cdn/{WYX3FJLN.js → CLGDRCGE.js} +2 -2
- package/dist/cdn/{AHQYITOZ.js → CQKL67OY.js} +2 -2
- package/dist/cdn/{IZJ6M7QA.js → CWUMRNU4.js} +2 -2
- package/dist/cdn/{G4BNMKMH.js → D4HTT4ZL.js} +2 -2
- package/dist/cdn/{AY6TO3YS.js → D6M7PGB7.js} +2 -2
- package/dist/cdn/{RQRANMA2.js → DC7LXW6P.js} +2 -2
- package/dist/cdn/{3XFJ4MOS.js → DIKQV5G5.js} +2 -2
- package/dist/cdn/DXVZYPRG.js +4 -0
- package/dist/cdn/{XL2CPPGF.js → DYT7Q3LE.js} +2 -2
- package/dist/cdn/{VVPGVFOP.js → ECK3XQVJ.js} +2 -2
- package/dist/cdn/{RXXECT4D.js → EQOIUFFK.js} +2 -2
- package/dist/cdn/{P2SGMNN5.js → ETIX63NO.js} +2 -2
- package/dist/cdn/{QRJEP3HU.js → EXCZRDJQ.js} +2 -2
- package/dist/cdn/{X6JPEEYN.js → EXTSJN3U.js} +2 -2
- package/dist/cdn/{RWAJA3MZ.js → FFJINJSZ.js} +2 -2
- package/dist/cdn/{MANCWJWJ.js → FGZ5U6A6.js} +2 -2
- package/dist/cdn/{JY7Q2EKR.js → FUKHS4LN.js} +2 -2
- package/dist/cdn/{EZIA7M2B.js → G3VPYGQE.js} +2 -2
- package/dist/cdn/{NPL5XZ4P.js → GCJAF63S.js} +2 -2
- package/dist/cdn/{F6VOSJYE.js → GR3URPKN.js} +2 -2
- package/dist/cdn/{LUBJ67BD.js → GRT5KCOI.js} +2 -2
- package/dist/cdn/{VAMFF3Z7.js → GSZTXZX2.js} +2 -2
- package/dist/cdn/{TNZ5C26Q.js → GT6FQDRU.js} +2 -2
- package/dist/cdn/{F36K4NHA.js → GUSWIBWQ.js} +2 -2
- package/dist/cdn/{VHML7TMW.js → GVTQCHMT.js} +2 -2
- package/dist/cdn/{O3XJKFOD.js → GX5KRHI4.js} +2 -2
- package/dist/cdn/{AAZJ3YCX.js → H5MTYLXM.js} +2 -2
- package/dist/cdn/{PHNWJ7DG.js → HBRH6MN3.js} +1 -1
- package/dist/cdn/{NDQLWGMI.js → HENPEXUY.js} +2 -2
- package/dist/cdn/{VNG5PEVP.js → HH6ZQ3GG.js} +2 -2
- package/dist/cdn/{33XFDTVU.js → HSFYE4DG.js} +2 -2
- package/dist/cdn/{IHJHSBUM.js → HUOFFGD5.js} +2 -2
- package/dist/cdn/{FERKNGMT.js → HYIFG7VB.js} +2 -2
- package/dist/cdn/{L4NEYQNX.js → I7H4OYUI.js} +2 -2
- package/dist/cdn/{5AA3SVOG.js → IO7PCP6T.js} +2 -2
- package/dist/cdn/{EIU3YLQN.js → ITA76ZYZ.js} +2 -2
- package/dist/cdn/{OESPD2L4.js → IY4WDMFR.js} +2 -2
- package/dist/cdn/{VLYEOL4Y.js → IZRKFHUM.js} +2 -2
- package/dist/cdn/{ROUHAZRM.js → J3U2UFOO.js} +1 -1
- package/dist/cdn/{EOJ5O7ZX.js → JH2NQPP3.js} +2 -2
- package/dist/cdn/{2TYIXCOR.js → JKFOF4TB.js} +2 -2
- package/dist/cdn/{K2MG5BVB.js → JMB2Z4X4.js} +2 -2
- package/dist/cdn/{PP7B7DUG.js → JMQUAFCP.js} +2 -2
- package/dist/cdn/{UEGNUXA7.js → JWMQBUCY.js} +2 -2
- package/dist/cdn/{E6CLGSZF.js → JXSG5VHK.js} +2 -2
- package/dist/cdn/{ZUSFH2SF.js → K2FF5E6C.js} +2 -2
- package/dist/cdn/{3WIXOU2F.js → K6P3JMXS.js} +2 -2
- package/dist/cdn/{552Y4GPR.js → KAKWZX5B.js} +2 -2
- package/dist/cdn/{FKXXFRUE.js → KF56VA4U.js} +1 -1
- package/dist/cdn/{2VLLKVGA.js → KG2HDMQV.js} +2 -2
- package/dist/cdn/{42CQ6ETR.js → KM4ISBZZ.js} +2 -2
- package/dist/cdn/{KDSSIDH6.js → KO7JAOYX.js} +2 -2
- package/dist/cdn/{XTQLR7ZN.js → KPA4HFYV.js} +2 -2
- package/dist/cdn/{WVFQCSGJ.js → L4V7OEVD.js} +2 -2
- package/dist/cdn/{EIEJ2FVP.js → LA4XRGMH.js} +2 -2
- package/dist/cdn/{5TK5CTVN.js → LGRN2H63.js} +2 -2
- package/dist/cdn/{BMRUV3ZQ.js → LJGLWQZA.js} +2 -2
- package/dist/cdn/{JJJGWUQ5.js → LRMOL2E6.js} +2 -2
- package/dist/cdn/{AC6OVPGJ.js → LTNBFWYJ.js} +2 -2
- package/dist/cdn/{UXLBMCEO.js → LUUW4HVM.js} +2 -2
- package/dist/cdn/{Z4EF6OHC.js → LWHJ4QM4.js} +2 -2
- package/dist/cdn/{EUNUZVK6.js → LXONWAWX.js} +2 -2
- package/dist/cdn/{AC756L2T.js → LYAU4NO5.js} +2 -2
- package/dist/cdn/{SIAJYWZH.js → LYDKJL2J.js} +2 -2
- package/dist/cdn/{LRJDGMHT.js → M2AVXDT3.js} +2 -2
- package/dist/cdn/{GWI3C7ON.js → M3TVTMVO.js} +2 -2
- package/dist/cdn/{UJ6ZLD5G.js → MBZMRRDI.js} +2 -2
- package/dist/cdn/{R2HFQPBY.js → MC2XSLMA.js} +2 -2
- package/dist/cdn/{HQWMROW2.js → MGT2WZAZ.js} +2 -2
- package/dist/cdn/{NX5PENLQ.js → MJ2JQECY.js} +2 -2
- package/dist/cdn/{S76COB5E.js → MONAQVGJ.js} +2 -2
- package/dist/cdn/{N3UASBYU.js → MQ6GHVQR.js} +2 -2
- package/dist/cdn/{WBTBOFRH.js → MVCHVAQK.js} +1 -1
- package/dist/cdn/{6RNJ5QLI.js → MVTI2NBJ.js} +2 -2
- package/dist/cdn/{UCQ5RNYT.js → N2NT6UES.js} +2 -2
- package/dist/cdn/{VQHP4N6V.js → NFW4ETT5.js} +2 -2
- package/dist/cdn/{R7H6MUKC.js → NHYMUGDM.js} +2 -2
- package/dist/cdn/{SJR5BTAS.js → NJEJGJX4.js} +1 -1
- package/dist/cdn/{JU5EATYG.js → NOJ3LAWB.js} +2 -2
- package/dist/cdn/{CGSQLBVL.js → NRYNTOCS.js} +2 -2
- package/dist/cdn/{QPO5QTW7.js → NSE4ZCOO.js} +2 -2
- package/dist/cdn/{VOP2H6XC.js → NTEYY6UG.js} +2 -2
- package/dist/cdn/NXBBXPII.js +4 -0
- package/dist/cdn/{6KFS6VG5.js → NXVYQHPS.js} +2 -2
- package/dist/cdn/{24IHOCXI.js → O2Q6XKQQ.js} +2 -2
- package/dist/cdn/{IIUGCTUD.js → OH4GOJH2.js} +2 -2
- package/dist/cdn/{KDWXBNN4.js → OIBTENFE.js} +2 -2
- package/dist/cdn/{67BWBYF4.js → OL5FNVFN.js} +2 -2
- package/dist/cdn/{5G253XKZ.js → OOOKXINA.js} +2 -2
- package/dist/cdn/{DES4LLHG.js → OPPON2R2.js} +2 -2
- package/dist/cdn/{FCF4X7DI.js → OPUZB4RJ.js} +2 -2
- package/dist/cdn/{52MLIQNU.js → OTEL56ZF.js} +2 -2
- package/dist/cdn/{WQAT6Q56.js → P4NLW3UN.js} +2 -2
- package/dist/cdn/{CL7KCVJC.js → PC4W4S3Z.js} +2 -2
- package/dist/cdn/{EADFSGQ5.js → PEZEX4LB.js} +2 -2
- package/dist/cdn/{5Y72YS4U.js → PFNILQRD.js} +2 -2
- package/dist/cdn/{22OT66JX.js → PIIR6MCL.js} +2 -2
- package/dist/cdn/{3PPHJMDP.js → PR6INXS6.js} +2 -2
- package/dist/cdn/{XGXE2BSV.js → PX5KJM3E.js} +2 -2
- package/dist/cdn/{42KNHDG4.js → Q4WD3D3K.js} +2 -2
- package/dist/cdn/{JMLWOK3S.js → Q5WY62HA.js} +2 -2
- package/dist/cdn/{67HDG4S4.js → QFDCHT27.js} +2 -2
- package/dist/cdn/{V7AMEYFQ.js → QKUNOAT3.js} +2 -2
- package/dist/cdn/{OAFYVWKJ.js → QRAGEZV6.js} +2 -2
- package/dist/cdn/{RJBVMNS5.js → QRHQOPYZ.js} +2 -2
- package/dist/cdn/{RGMZCUHO.js → QWEDENRR.js} +2 -2
- package/dist/cdn/{HHPKKZT3.js → R36NINHK.js} +2 -2
- package/dist/cdn/{7BOXIFQZ.js → R3BCXYO6.js} +2 -2
- package/dist/cdn/{FTS3IIEO.js → R67MJTY2.js} +2 -2
- package/dist/cdn/{ER267YG3.js → RBIGCOC3.js} +1 -1
- package/dist/cdn/{6OGWPL32.js → REZSNH33.js} +2 -2
- package/dist/cdn/{DIHDDHJU.js → RHSKFJZP.js} +2 -2
- package/dist/cdn/{QSNGKLLM.js → RL4WCFXM.js} +2 -2
- package/dist/cdn/{SP3VQ6ZX.js → SD6NTDAO.js} +2 -2
- package/dist/cdn/{PHEKBQHV.js → SLAOLWEA.js} +1 -1
- package/dist/cdn/{4M2STTUX.js → SZVTTNWE.js} +2 -2
- package/dist/cdn/{4EXECRIT.js → T4CRQUJS.js} +2 -2
- package/dist/cdn/{OLGJZJGF.js → T5I5YW7Y.js} +2 -2
- package/dist/cdn/{WYYVBMR5.js → THXJSMOP.js} +2 -2
- package/dist/cdn/{2F5WLYQ7.js → TN4XZL66.js} +2 -2
- package/dist/cdn/{WR4KHK7X.js → U24M6TJ2.js} +2 -2
- package/dist/cdn/{PEQEBXVR.js → UMBBLAAI.js} +1 -1
- package/dist/cdn/{HT3BILB3.js → UN4V7M4O.js} +2 -2
- package/dist/cdn/{IR6YLRPT.js → UNIOEES5.js} +2 -2
- package/dist/cdn/{G3PQ7GAT.js → UR42SOKX.js} +2 -2
- package/dist/cdn/USETEWEQ.js +4 -0
- package/dist/cdn/{KI33S4UV.js → V3YK5OP7.js} +1 -1
- package/dist/cdn/{LTEGJVNQ.js → V555WOKU.js} +2 -2
- package/dist/cdn/V7U6BQ5O.js +4 -0
- package/dist/cdn/{DZ7MTS4U.js → VC3TWVGT.js} +2 -2
- package/dist/cdn/{U5FDP4RT.js → VIF5F2YK.js} +2 -2
- package/dist/cdn/{XK7UDWTK.js → VOD3XMQD.js} +2 -2
- package/dist/cdn/{ZP54HN2N.js → VRK5V3BH.js} +2 -2
- package/dist/cdn/{PNKHTIU2.js → VSALTQFW.js} +2 -2
- package/dist/cdn/{L3XFOEYQ.js → VVX7FXUW.js} +2 -2
- package/dist/cdn/{BGJVFCUH.js → W2UI3D5T.js} +2 -2
- package/dist/cdn/{MG5C5YD7.js → W3WQUK7F.js} +2 -2
- package/dist/cdn/{B3XSOCTF.js → WCS3TOXP.js} +2 -2
- package/dist/cdn/{MGTFM3IJ.js → WEJOYJIZ.js} +2 -2
- package/dist/cdn/{QRJKKG4J.js → WVNYLOXB.js} +2 -2
- package/dist/cdn/{FNNPHHI3.js → WZ4GOCF5.js} +2 -2
- package/dist/cdn/{JBZXIDUM.js → X4VAGX4G.js} +2 -2
- package/dist/cdn/{UWPJ64I7.js → XA4HDFHX.js} +2 -2
- package/dist/cdn/{IHABCSJT.js → XNNV3TSX.js} +2 -2
- package/dist/cdn/{IF7X53UG.js → XTF56ZSV.js} +2 -2
- package/dist/cdn/{HA2GSRFS.js → XUOLBRKW.js} +2 -2
- package/dist/cdn/{JQR5J643.js → Y23P4WBJ.js} +2 -2
- package/dist/cdn/{MEE5DIRA.js → Y2HMC3HH.js} +2 -2
- package/dist/cdn/{3WRKSQR3.js → Y2Q5ERCK.js} +2 -2
- package/dist/cdn/{FAEV7IZQ.js → Y2W5RM74.js} +2 -2
- package/dist/cdn/{7VRHI2RM.js → Y4V6CKHC.js} +2 -2
- package/dist/cdn/Y5SOGCUC.js +4 -0
- package/dist/cdn/{FDFJ4GCW.js → Y76AR6QO.js} +2 -2
- package/dist/cdn/{BSNF46OZ.js → YGD7BNRM.js} +2 -2
- package/dist/cdn/{PSG6GCOU.js → YHPDZWZR.js} +2 -2
- package/dist/cdn/{DR3PKLBO.js → YJ75L3QJ.js} +2 -2
- package/dist/cdn/{JMYJWICS.js → YODRRAV4.js} +2 -2
- package/dist/cdn/{NHMOOVHX.js → YRATHRMU.js} +2 -2
- package/dist/cdn/{5MS3G6T6.js → YUROEQ3E.js} +2 -2
- package/dist/cdn/{BLWWI45X.js → YVQGVCGG.js} +2 -2
- package/dist/cdn/{BVWY3TQI.js → Z4W6GCBL.js} +2 -2
- package/dist/cdn/{7GTNNAVZ.js → ZAFY6D6K.js} +2 -2
- package/dist/cdn/{AXM2CNEC.js → ZE6WS2KY.js} +1 -1
- package/dist/cdn/{ILLWJNDS.js → ZHSJNPNP.js} +2 -2
- package/dist/cdn/{U6EZ4OE4.js → ZILJSZC3.js} +2 -2
- package/dist/cdn/{NU7LANUZ.js → ZOS6JESU.js} +2 -2
- package/dist/cdn/{2CKGPUJT.js → ZRAG4USV.js} +2 -2
- package/dist/cdn/{56VKTDPV.js → ZVU3MPKL.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/uiController.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +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.d.ts +13 -1
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- 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/animation.d.ts +3 -1
- package/dist/components/arcgis-daylight/customElement.js +220 -187
- package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +1 -0
- 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 +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +10 -10
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +12 -12
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +7 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +19 -11
- package/dist/components/arcgis-elevation-profile-next/customElement.js +134 -136
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +2 -3
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +18 -16
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +2 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +9 -9
- 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.js +1 -1
- package/dist/components/arcgis-feature-templates/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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.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.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-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/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-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +12 -13
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -28
- 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 +90 -47
- package/dist/docs/docs.json +108 -49
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +27 -12
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/564UHJYM.js +0 -9
- package/dist/cdn/DQ2NRFUH.js +0 -4
- package/dist/cdn/HFE3XTS7.js +0 -4
- package/dist/cdn/KTRTDHHM.js +0 -4
- package/dist/cdn/L6JLNSWN.js +0 -4
- package/dist/cdn/ZZCCMRQY.js +0 -4
|
@@ -1,69 +1,61 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { ignoreAbortErrors as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
1
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as x, html as d } from "lit";
|
|
3
|
+
import { ref as C } from "lit/directives/ref.js";
|
|
4
|
+
import { ignoreAbortErrors as m } from "@arcgis/core/core/promiseUtils.js";
|
|
5
|
+
import { LitElement as S, createEvent as k, nothing as g, safeClassMap as v } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { u as B } from "../../chunks/useT9n.js";
|
|
8
|
-
import { m as
|
|
9
|
-
import { g } from "../../chunks/globalCss.js";
|
|
10
|
-
import
|
|
11
|
-
import { getDefaultUnitForView as
|
|
12
|
-
import { property as a, subclass as
|
|
8
|
+
import { m as E } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as u } from "../../chunks/globalCss.js";
|
|
10
|
+
import O from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
11
|
+
import { getDefaultUnitForView as D } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
+
import { property as a, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
13
|
import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
-
import { A as
|
|
15
|
-
import { m as
|
|
16
|
-
import { c as
|
|
17
|
-
import { createChart as
|
|
14
|
+
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
15
|
+
import { m as _ } from "../../chunks/measurementUtils.js";
|
|
16
|
+
import { c as z } from "../../chunks/async-utils.js";
|
|
17
|
+
import { createChart as U } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
18
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
19
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
20
|
-
v4.34.0-next.
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
return e != null && e.type === "polyline" && e.paths.length > 0 && e.paths.every((i) => i.length >= 2);
|
|
20
|
+
v4.34.0-next.146 */
|
|
21
|
+
const V = 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-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}}`;
|
|
22
|
+
function A({ geometry: t }) {
|
|
23
|
+
return t != null && t.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
|
|
25
24
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
return e?.type === "polyline" && e.paths.reduce((i, r) => i + r.length, 0) > 0;
|
|
29
|
-
}
|
|
30
|
-
function m({ input: t }) {
|
|
31
|
-
return j(t) ? t.geometry : t;
|
|
25
|
+
function F({ geometry: t }) {
|
|
26
|
+
return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
|
|
32
27
|
}
|
|
33
|
-
function
|
|
28
|
+
function L(t) {
|
|
34
29
|
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
35
30
|
}
|
|
36
|
-
function
|
|
31
|
+
function I(t) {
|
|
37
32
|
return t?.type === "polyline";
|
|
38
33
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
var R = Object.defineProperty, I = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
|
|
43
|
-
for (var n = r > 1 ? void 0 : r ? I(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
34
|
+
var T = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, s = (t, e, i, r) => {
|
|
35
|
+
for (var n = r > 1 ? void 0 : r ? Z(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
44
36
|
(c = t[l]) && (n = (r ? c(e, i, n) : c(n)) || n);
|
|
45
|
-
return r && n &&
|
|
37
|
+
return r && n && T(e, i, n), n;
|
|
46
38
|
};
|
|
47
|
-
let
|
|
39
|
+
let o = class extends $ {
|
|
48
40
|
constructor() {
|
|
49
|
-
super(...arguments), this.uniformChartScaling = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
41
|
+
super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
50
42
|
}
|
|
51
43
|
get _measurementSystem() {
|
|
52
|
-
return this.view ?
|
|
44
|
+
return this.view ? D(this.view) : void 0;
|
|
53
45
|
}
|
|
54
46
|
get _hasSamples() {
|
|
55
47
|
const { progress: t } = this;
|
|
56
|
-
return this._analysisView?.results?.some((e) => e.available && (t < 1 ||
|
|
48
|
+
return this._analysisView?.results?.some((e) => e.available && (t < 1 || L(e))) ?? !1;
|
|
57
49
|
}
|
|
58
50
|
get canStopCreating() {
|
|
59
|
-
const t =
|
|
60
|
-
return
|
|
51
|
+
const { geometry: t } = this.analysis;
|
|
52
|
+
return I(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
61
53
|
}
|
|
62
|
-
get
|
|
63
|
-
return this.analysisView?.
|
|
54
|
+
get effectiveDisplayUnits() {
|
|
55
|
+
return this.analysisView?.effectiveDisplayUnits;
|
|
64
56
|
}
|
|
65
57
|
get errorState() {
|
|
66
|
-
if (!
|
|
58
|
+
if (!A(this.analysis))
|
|
67
59
|
return "no-valid-input";
|
|
68
60
|
const t = this.analysisView?.error;
|
|
69
61
|
if (t)
|
|
@@ -80,22 +72,22 @@ let s = class extends V {
|
|
|
80
72
|
return this._hasSamples ? "none" : "no-available-profiles";
|
|
81
73
|
}
|
|
82
74
|
get hasVertices() {
|
|
83
|
-
return
|
|
84
|
-
}
|
|
85
|
-
get highlightEnabled() {
|
|
86
|
-
return this.analysis.viewOptions.highlightEnabled;
|
|
87
|
-
}
|
|
88
|
-
set highlightEnabled(t) {
|
|
89
|
-
this.analysis.viewOptions.highlightEnabled = t;
|
|
75
|
+
return F(this.analysis);
|
|
90
76
|
}
|
|
91
77
|
get hoveredPosition() {
|
|
92
78
|
return this.analysisView?.hoveredPosition ?? void 0;
|
|
93
79
|
}
|
|
94
|
-
get
|
|
95
|
-
return this.analysis.
|
|
80
|
+
get geometry() {
|
|
81
|
+
return this.analysis.geometry;
|
|
82
|
+
}
|
|
83
|
+
set geometry(t) {
|
|
84
|
+
this.analysis.geometry = t;
|
|
85
|
+
}
|
|
86
|
+
get elevationInfo() {
|
|
87
|
+
return this.analysis.elevationInfo;
|
|
96
88
|
}
|
|
97
|
-
set
|
|
98
|
-
this.analysis.
|
|
89
|
+
set elevationInfo(t) {
|
|
90
|
+
this.analysis.elevationInfo = t;
|
|
99
91
|
}
|
|
100
92
|
get profiles() {
|
|
101
93
|
return this.analysis.profiles;
|
|
@@ -130,7 +122,7 @@ let s = class extends V {
|
|
|
130
122
|
if (this.operationState === "active")
|
|
131
123
|
return "creating";
|
|
132
124
|
if (this.analysis.valid) {
|
|
133
|
-
const t = this.analysis.
|
|
125
|
+
const t = this.analysis.geometry;
|
|
134
126
|
return t != null && "geometry" in t ? "selected" : "created";
|
|
135
127
|
} else
|
|
136
128
|
return "ready";
|
|
@@ -148,13 +140,13 @@ let s = class extends V {
|
|
|
148
140
|
this._userUnitElevation = t;
|
|
149
141
|
}
|
|
150
142
|
get unitOptionsDistance() {
|
|
151
|
-
return
|
|
143
|
+
return w(this._userUnitOptionsDistance);
|
|
152
144
|
}
|
|
153
145
|
set unitOptionsDistance(t) {
|
|
154
146
|
this._userUnitOptionsDistance = t;
|
|
155
147
|
}
|
|
156
148
|
get unitOptionsElevation() {
|
|
157
|
-
return
|
|
149
|
+
return w(this._userUnitOptionsElevation);
|
|
158
150
|
}
|
|
159
151
|
set unitOptionsElevation(t) {
|
|
160
152
|
this._userUnitOptionsElevation = t;
|
|
@@ -170,7 +162,10 @@ let s = class extends V {
|
|
|
170
162
|
unitElevation: this.unitElevation
|
|
171
163
|
}),
|
|
172
164
|
({ analysis: t, unitDistance: e, unitElevation: i }) => {
|
|
173
|
-
t != null
|
|
165
|
+
if (t != null) {
|
|
166
|
+
const r = t.displayUnits;
|
|
167
|
+
r.elevation = i, r.distance = e;
|
|
168
|
+
}
|
|
174
169
|
},
|
|
175
170
|
{ sync: !0, initial: !0 }
|
|
176
171
|
)
|
|
@@ -195,106 +190,109 @@ let s = class extends V {
|
|
|
195
190
|
//#endregion
|
|
196
191
|
//#region Protected/Private Methods
|
|
197
192
|
clearAnalysis() {
|
|
198
|
-
this.
|
|
193
|
+
this.geometry = null, this.elevationInfo = null;
|
|
199
194
|
}
|
|
200
195
|
// Should never happen because both 2d and 3d are supported
|
|
201
196
|
constructAnalysis() {
|
|
202
|
-
return new
|
|
197
|
+
return new O();
|
|
203
198
|
}
|
|
204
199
|
//#endregion
|
|
205
200
|
};
|
|
206
|
-
|
|
201
|
+
s([
|
|
207
202
|
a()
|
|
208
|
-
],
|
|
209
|
-
|
|
203
|
+
], o.prototype, "_userUnitOptionsDistance", 2);
|
|
204
|
+
s([
|
|
210
205
|
a()
|
|
211
|
-
],
|
|
212
|
-
|
|
206
|
+
], o.prototype, "_userUnitOptionsElevation", 2);
|
|
207
|
+
s([
|
|
213
208
|
a()
|
|
214
|
-
],
|
|
215
|
-
|
|
209
|
+
], o.prototype, "_userUnitDistance", 2);
|
|
210
|
+
s([
|
|
216
211
|
a()
|
|
217
|
-
],
|
|
218
|
-
|
|
212
|
+
], o.prototype, "_userUnitElevation", 2);
|
|
213
|
+
s([
|
|
219
214
|
a({ readOnly: !0 })
|
|
220
|
-
],
|
|
221
|
-
|
|
215
|
+
], o.prototype, "_measurementSystem", 1);
|
|
216
|
+
s([
|
|
222
217
|
a()
|
|
223
|
-
],
|
|
224
|
-
|
|
218
|
+
], o.prototype, "_selectingPromise", 2);
|
|
219
|
+
s([
|
|
225
220
|
a()
|
|
226
|
-
],
|
|
227
|
-
|
|
221
|
+
], o.prototype, "_hasSamples", 1);
|
|
222
|
+
s([
|
|
228
223
|
a()
|
|
229
|
-
],
|
|
230
|
-
|
|
224
|
+
], o.prototype, "canStopCreating", 1);
|
|
225
|
+
s([
|
|
231
226
|
a({ readOnly: !0 })
|
|
232
|
-
],
|
|
233
|
-
|
|
227
|
+
], o.prototype, "effectiveDisplayUnits", 1);
|
|
228
|
+
s([
|
|
234
229
|
a({ readOnly: !0 })
|
|
235
|
-
],
|
|
236
|
-
|
|
230
|
+
], o.prototype, "errorState", 1);
|
|
231
|
+
s([
|
|
237
232
|
a({ readOnly: !0 })
|
|
238
|
-
],
|
|
239
|
-
|
|
233
|
+
], o.prototype, "hasVertices", 1);
|
|
234
|
+
s([
|
|
235
|
+
a()
|
|
236
|
+
], o.prototype, "highlightEnabled", 2);
|
|
237
|
+
s([
|
|
240
238
|
a()
|
|
241
|
-
],
|
|
242
|
-
|
|
239
|
+
], o.prototype, "hoveredPosition", 1);
|
|
240
|
+
s([
|
|
243
241
|
a()
|
|
244
|
-
],
|
|
245
|
-
|
|
242
|
+
], o.prototype, "geometry", 1);
|
|
243
|
+
s([
|
|
246
244
|
a()
|
|
247
|
-
],
|
|
248
|
-
|
|
245
|
+
], o.prototype, "elevationInfo", 1);
|
|
246
|
+
s([
|
|
249
247
|
a()
|
|
250
|
-
],
|
|
251
|
-
|
|
248
|
+
], o.prototype, "profiles", 1);
|
|
249
|
+
s([
|
|
252
250
|
a({ readOnly: !0 })
|
|
253
|
-
],
|
|
254
|
-
|
|
251
|
+
], o.prototype, "progress", 1);
|
|
252
|
+
s([
|
|
255
253
|
a({ readOnly: !0 })
|
|
256
|
-
],
|
|
257
|
-
|
|
254
|
+
], o.prototype, "results", 1);
|
|
255
|
+
s([
|
|
258
256
|
a({ readOnly: !0 })
|
|
259
|
-
],
|
|
260
|
-
|
|
257
|
+
], o.prototype, "selectAvailable", 1);
|
|
258
|
+
s([
|
|
261
259
|
a({ readOnly: !0 })
|
|
262
|
-
],
|
|
263
|
-
|
|
260
|
+
], o.prototype, "state", 1);
|
|
261
|
+
s([
|
|
264
262
|
a()
|
|
265
|
-
],
|
|
266
|
-
|
|
263
|
+
], o.prototype, "uniformChartScaling", 2);
|
|
264
|
+
s([
|
|
267
265
|
a()
|
|
268
|
-
],
|
|
269
|
-
|
|
266
|
+
], o.prototype, "unitDistance", 1);
|
|
267
|
+
s([
|
|
270
268
|
a()
|
|
271
|
-
],
|
|
272
|
-
|
|
269
|
+
], o.prototype, "unitElevation", 1);
|
|
270
|
+
s([
|
|
273
271
|
a()
|
|
274
|
-
],
|
|
275
|
-
|
|
272
|
+
], o.prototype, "unitOptionsDistance", 1);
|
|
273
|
+
s([
|
|
276
274
|
a()
|
|
277
|
-
],
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
],
|
|
275
|
+
], o.prototype, "unitOptionsElevation", 1);
|
|
276
|
+
o = s([
|
|
277
|
+
P("components.elevation-profile.ElevationProfileViewModel")
|
|
278
|
+
], o);
|
|
281
279
|
function y(t, e, i) {
|
|
282
280
|
return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
|
|
283
281
|
}
|
|
284
|
-
function
|
|
285
|
-
const e = t?.filter((i) =>
|
|
286
|
-
return e && e.length > 0 ? e :
|
|
282
|
+
function w(t) {
|
|
283
|
+
const e = t?.filter((i) => _.includes(i));
|
|
284
|
+
return e && e.length > 0 ? e : _.slice();
|
|
287
285
|
}
|
|
288
|
-
const
|
|
289
|
-
class
|
|
286
|
+
const j = E(o);
|
|
287
|
+
class R extends S {
|
|
290
288
|
constructor() {
|
|
291
|
-
super(...arguments), this.viewModel =
|
|
289
|
+
super(...arguments), this.viewModel = j(this), this._messages = B(), 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 = M()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = k();
|
|
292
290
|
}
|
|
293
291
|
static {
|
|
294
|
-
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5,
|
|
292
|
+
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 };
|
|
295
293
|
}
|
|
296
294
|
static {
|
|
297
|
-
this.styles =
|
|
295
|
+
this.styles = V;
|
|
298
296
|
}
|
|
299
297
|
get _selectButtonVisible() {
|
|
300
298
|
return !this.hideSelectButton && this.viewModel.selectAvailable;
|
|
@@ -317,7 +315,7 @@ class H extends k {
|
|
|
317
315
|
load() {
|
|
318
316
|
this.manager.onLifecycle(() => [
|
|
319
317
|
f(() => ({ container: this._chartContainer }), ({ container: e }) => {
|
|
320
|
-
this._destroyChart(), e && (this._chartInitializationTask =
|
|
318
|
+
this._destroyChart(), e && (this._chartInitializationTask = z(async (i) => await U({
|
|
321
319
|
view: this.viewModel.view,
|
|
322
320
|
analysisView: this.viewModel.analysisView,
|
|
323
321
|
container: e,
|
|
@@ -355,14 +353,14 @@ class H extends k {
|
|
|
355
353
|
this.viewModel.stop();
|
|
356
354
|
}
|
|
357
355
|
_getErrorMessage() {
|
|
358
|
-
const e =
|
|
356
|
+
const e = G[this.viewModel.errorState];
|
|
359
357
|
return e ? this._messages?.errors?.[e] : void 0;
|
|
360
358
|
}
|
|
361
359
|
_onSketchButtonClick() {
|
|
362
|
-
|
|
360
|
+
m(this.viewModel.start());
|
|
363
361
|
}
|
|
364
362
|
_onSelectButtonClick() {
|
|
365
|
-
|
|
363
|
+
m(this.viewModel.select());
|
|
366
364
|
}
|
|
367
365
|
_onClearButtonClick() {
|
|
368
366
|
this.viewModel.clear();
|
|
@@ -374,11 +372,11 @@ class H extends k {
|
|
|
374
372
|
this._chartContainer = e;
|
|
375
373
|
}
|
|
376
374
|
render() {
|
|
377
|
-
return d`<div aria-label=${this._messages.componentLabel ??
|
|
375
|
+
return d`<div aria-label=${this._messages.componentLabel ?? g} class=${v({
|
|
378
376
|
container: !0,
|
|
379
|
-
[
|
|
380
|
-
[
|
|
381
|
-
[
|
|
377
|
+
[u.widget]: !0,
|
|
378
|
+
[u.widgetDisabled]: this.viewModel.state === "disabled",
|
|
379
|
+
[u.panel]: !0
|
|
382
380
|
})} role=presentation>${this._renderContentForState()}</div>`;
|
|
383
381
|
}
|
|
384
382
|
_renderContentForState() {
|
|
@@ -438,7 +436,7 @@ class H extends k {
|
|
|
438
436
|
return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
|
|
439
437
|
}
|
|
440
438
|
_renderContent(e) {
|
|
441
|
-
const { viewModel: i } = this, r = i.
|
|
439
|
+
const { viewModel: i } = this, r = i.geometry != null;
|
|
442
440
|
return d`<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)}`;
|
|
443
441
|
}
|
|
444
442
|
_renderPrompt(e) {
|
|
@@ -448,7 +446,7 @@ class H extends k {
|
|
|
448
446
|
}
|
|
449
447
|
_renderZoomOutButton() {
|
|
450
448
|
const e = this._messages.zoomOut ?? "";
|
|
451
|
-
return d`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ??
|
|
449
|
+
return d`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
452
450
|
}
|
|
453
451
|
_renderChart() {
|
|
454
452
|
if (this.hideChart)
|
|
@@ -457,11 +455,11 @@ class H extends k {
|
|
|
457
455
|
return d`${this._renderSpinner({
|
|
458
456
|
size: e?.chartVisible ? "small" : "large",
|
|
459
457
|
visible: e?.spinnerVisible ?? !1
|
|
460
|
-
})}<div class="chart-container" ${
|
|
458
|
+
})}<div class="chart-container" ${C(this._onChartContainerRef)}></div>`;
|
|
461
459
|
}
|
|
462
460
|
_renderSpinner(e) {
|
|
463
461
|
const i = e.size === "small", r = e.visible ?? !0;
|
|
464
|
-
return d`<calcite-loader class=${
|
|
462
|
+
return d`<calcite-loader class=${v({
|
|
465
463
|
spinner: !0,
|
|
466
464
|
small: i,
|
|
467
465
|
visible: r
|
|
@@ -469,10 +467,10 @@ class H extends k {
|
|
|
469
467
|
}
|
|
470
468
|
_renderClearButton() {
|
|
471
469
|
const e = this._messages.clearProfile ?? "";
|
|
472
|
-
return d`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ??
|
|
470
|
+
return d`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
473
471
|
}
|
|
474
472
|
_renderLegend() {
|
|
475
|
-
return d`<arcgis-elevation-profile-legend .
|
|
473
|
+
return d`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
476
474
|
}
|
|
477
475
|
_renderSettingsButton() {
|
|
478
476
|
return d`<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) => {
|
|
@@ -530,7 +528,7 @@ class H extends k {
|
|
|
530
528
|
function h(t) {
|
|
531
529
|
return t.hidden ? void 0 : t.children;
|
|
532
530
|
}
|
|
533
|
-
const p = [{ type: "select" }, { type: "sketch" }],
|
|
531
|
+
const p = [{ type: "select" }, { type: "sketch" }], G = {
|
|
534
532
|
none: void 0,
|
|
535
533
|
"no-valid-input": "noProfile",
|
|
536
534
|
"no-available-profiles": "noProfile",
|
|
@@ -538,7 +536,7 @@ const p = [{ type: "select" }, { type: "sketch" }], N = {
|
|
|
538
536
|
unknown: "unknown",
|
|
539
537
|
"invalid-geometry": "invalidGeometry"
|
|
540
538
|
};
|
|
541
|
-
|
|
539
|
+
b("arcgis-elevation-profile-next", R);
|
|
542
540
|
export {
|
|
543
|
-
|
|
541
|
+
R as ArcgisElevationProfileNext
|
|
544
542
|
};
|
|
@@ -2,8 +2,7 @@
|
|
|
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
4
|
import { ElevationProfileResult } from './interfaces';
|
|
5
|
-
export declare function inputIsValid(
|
|
6
|
-
export declare function hasVertices(
|
|
7
|
-
export declare function getInputGeometry({ input }: ElevationProfileAnalysis): __esri.GeometryUnion | nullish;
|
|
5
|
+
export declare function inputIsValid({ geometry }: ElevationProfileAnalysis): boolean;
|
|
6
|
+
export declare function hasVertices({ geometry }: ElevationProfileAnalysis): boolean;
|
|
8
7
|
export declare function resultHasSamples(result: ElevationProfileResult | nullish): boolean;
|
|
9
8
|
export declare function isPolyline(geometry: __esri.GeometryUnion | nullish): geometry is Polyline;
|
|
@@ -6,7 +6,7 @@ export type AnalysisViewType = __esri.ElevationProfileAnalysisView2D | __esri.El
|
|
|
6
6
|
type CollectionType<T> = T extends Collection<infer U> ? U : never;
|
|
7
7
|
export type ElevationProfileLine = CollectionType<ElevationProfileAnalysis["profiles"]>;
|
|
8
8
|
export type ElevationProfileLineType = ElevationProfileLine["type"];
|
|
9
|
-
export type
|
|
9
|
+
export type ElevationProfileEffectiveDisplayUnits = AnalysisViewType["effectiveDisplayUnits"];
|
|
10
10
|
export type ElevationProfileResult = AnalysisViewType["results"][number];
|
|
11
11
|
export type ElevationProfileSamples = NonNullable<ElevationProfileResult["samples"]>;
|
|
12
12
|
export type ElevationProfileSample = ElevationProfileSamples[number];
|
|
@@ -138,7 +138,7 @@ export interface ChartData {
|
|
|
138
138
|
/**
|
|
139
139
|
* Units effectively picked by the analysis based on the magnitude of the results and the units selected by the user.
|
|
140
140
|
*/
|
|
141
|
-
readonly effectiveUnits:
|
|
141
|
+
readonly effectiveUnits: ElevationProfileEffectiveDisplayUnits;
|
|
142
142
|
/**
|
|
143
143
|
* Combined statistics of all the elevation profile results to be displayed in the chart.
|
|
144
144
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as c } from "lit/directives/ref.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
3
|
+
import { css as r, html as a } from "lit";
|
|
4
|
+
import { LitElement as l, createEvent as h, nothing as o } 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.
|
|
8
|
-
const g =
|
|
9
|
-
class p extends
|
|
7
|
+
v4.34.0-next.146 */
|
|
8
|
+
const g = r`calcite-popover[calcite-hydrated-hidden]{inset-block-start:-999999px;inset-inline-start:-999999px}.popover-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);min-width:180px}.uniform-chart-scaling-label{--calcite-label-margin-bottom: 0}`;
|
|
9
|
+
class p extends l {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._onUniformChartScalingChange = (e) => {
|
|
12
12
|
this.arcgisElevationProfileSettingsUniformChartScalingChange.emit(e.currentTarget.checked);
|
|
@@ -34,26 +34,28 @@ class p extends r {
|
|
|
34
34
|
if (!e || this.hideUnitSelector && this.hideUniformChartScalingToggle)
|
|
35
35
|
return;
|
|
36
36
|
const t = (this._popoverIsOpen ? e.hideSettings : e.showSettings) ?? "";
|
|
37
|
-
return
|
|
37
|
+
return a`<calcite-action appearance=transparent data-testid=settings-button icon=gear scale=s .text=${t} title=${t ?? o} ${c(this._onActionRef)}></calcite-action>${this._actionElement ? a`<calcite-popover auto-close .label=${t} placement=bottom-end .referenceElement=${this._actionElement} @calcitePopoverOpen=${this._onPopoverOpen} @calcitePopoverClose=${this._onPopoverClose}><div class="popover-content">${this._renderUnitSelector()}${this._renderUniformChartScalingToggle()}</div></calcite-popover>` : void 0}`;
|
|
38
38
|
}
|
|
39
39
|
_renderUnitSelector() {
|
|
40
40
|
const { messages: e, hideUnitSelector: t } = this;
|
|
41
|
-
if (
|
|
42
|
-
return
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
if (t)
|
|
42
|
+
return;
|
|
43
|
+
const i = this.analysis.displayUnits;
|
|
44
|
+
return a`<arcgis-unit-select .options=${this.unitOptionsDistance} .selectLabel=${e.unitDistanceSelectLabel} .value=${i.distance ?? void 0} @arcgisUnitSelectChange=${(n) => {
|
|
45
|
+
i.distance = n.detail;
|
|
46
|
+
}}></arcgis-unit-select><arcgis-unit-select .options=${this.unitOptionsElevation} .selectLabel=${e.unitElevationSelectLabel} .value=${i.elevation ?? void 0} @arcgisUnitSelectChange=${(n) => {
|
|
47
|
+
i.elevation = n.detail;
|
|
48
|
+
}}></arcgis-unit-select>`;
|
|
47
49
|
}
|
|
48
50
|
_renderUniformChartScalingToggle() {
|
|
49
51
|
const { messages: e, hideUniformChartScalingToggle: t, uniformChartScaling: i } = this;
|
|
50
52
|
if (t)
|
|
51
53
|
return;
|
|
52
|
-
const
|
|
53
|
-
return
|
|
54
|
+
const n = e?.[i ? "uniformChartScalingDisable" : "uniformChartScalingEnable"] ?? "";
|
|
55
|
+
return a`<calcite-label class="uniform-chart-scaling-label" layout=inline><calcite-checkbox .checked=${i} class="uniform-chart-scaling-checkbox" title=${n ?? o} @calciteCheckboxChange=${this._onUniformChartScalingChange}></calcite-checkbox>${e?.uniformChartScalingLabel}</calcite-label>`;
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
|
-
|
|
58
|
+
s("arcgis-elevation-profile-settings", p);
|
|
57
59
|
export {
|
|
58
60
|
p as ArcgisElevationProfileSettings
|
|
59
61
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { ElevationProfileCombinedResult,
|
|
4
|
+
import { ElevationProfileCombinedResult, ElevationProfileEffectiveDisplayUnits, ElevationProfileMessages } from '../arcgis-elevation-profile-next/interfaces';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Component which displays statistics for a profile line and a checkbox to toggle its visibility in the chart and view.
|
|
@@ -9,7 +9,7 @@ import { ElevationProfileCombinedResult, ElevationProfileEffectiveUnits, Elevati
|
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
11
11
|
export declare class ArcgisElevationProfileStatistics extends LitElement {
|
|
12
|
-
|
|
12
|
+
effectiveDisplayUnits?: ElevationProfileEffectiveDisplayUnits;
|
|
13
13
|
messages: ElevationProfileMessages;
|
|
14
14
|
result: ElevationProfileCombinedResult;
|
|
15
15
|
destroy(): Promise<void>;
|