@arcgis/map-components 5.0.0-next.46 → 5.0.0-next.48
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/{KNNT2DGE.js → 25CS7UCA.js} +2 -2
- package/dist/cdn/{OKENNYX4.js → 2IWFCSW6.js} +2 -2
- package/dist/cdn/{Q5O43OUQ.js → 2KPA74G5.js} +2 -2
- package/dist/cdn/{FIQB6IDD.js → 2W7U7T3T.js} +2 -2
- package/dist/cdn/{R7AULBZ7.js → 32PICDDY.js} +2 -2
- package/dist/cdn/{ZGWZEADA.js → 35FYQ5EB.js} +2 -2
- package/dist/cdn/{3U7OCQIN.js → 37KWQS7Z.js} +2 -2
- package/dist/cdn/{Y46UEPAT.js → 3BUMGDJZ.js} +2 -2
- package/dist/cdn/{A5F7R3ZT.js → 3MBYNKQK.js} +2 -2
- package/dist/cdn/{MZX56BG5.js → 3PEJIYUY.js} +2 -2
- package/dist/cdn/{UMATSVG5.js → 3Q62V66D.js} +2 -2
- package/dist/cdn/{FFKXIM7R.js → 3SUYQ4OA.js} +2 -2
- package/dist/cdn/{GTAVG22A.js → 46XPJ2AL.js} +2 -2
- package/dist/cdn/{FN3PE23F.js → 4RD2NVVT.js} +2 -2
- package/dist/cdn/{7OLF2EDJ.js → 4S634OUU.js} +2 -2
- package/dist/cdn/{5GBPF6OO.js → 5CN4OHUG.js} +2 -2
- package/dist/cdn/{YPJRZSL5.js → 5D36FPG6.js} +2 -2
- package/dist/cdn/{SCAF6NUK.js → 5IMWZKUV.js} +2 -2
- package/dist/cdn/{GAHTTVYU.js → 5QDYKJI4.js} +2 -2
- package/dist/cdn/{GS7FHD5Q.js → 5QXTTY2N.js} +2 -2
- package/dist/cdn/{JM3WM5CS.js → 6AAWAFM7.js} +2 -2
- package/dist/cdn/{V36BISLU.js → 6BKVB6WA.js} +2 -2
- package/dist/cdn/{NORLZTPE.js → 6BTNNHZC.js} +2 -2
- package/dist/cdn/{UGHRGEGB.js → 6QU2XBOA.js} +2 -2
- package/dist/cdn/{WAN6EMXQ.js → 6S3VCT76.js} +2 -2
- package/dist/cdn/{7HHARQEH.js → 6SF5AAK4.js} +3 -3
- package/dist/cdn/{65NGVTYR.js → 6UUUQLRL.js} +2 -2
- package/dist/cdn/{TG26NSJY.js → 6WEASG4G.js} +1 -1
- package/dist/cdn/{3ULX5RSA.js → 6ZATWJUK.js} +1 -1
- package/dist/cdn/{W6O4VANJ.js → 76HBNLCK.js} +2 -2
- package/dist/cdn/{FGDFFLR3.js → 7DZKZL3T.js} +2 -2
- package/dist/cdn/7FM7UJHM.js +4 -0
- package/dist/cdn/{RKOVC3DD.js → 7JCOFQG2.js} +2 -2
- package/dist/cdn/{MRTIS774.js → 7OJLWNZM.js} +2 -2
- package/dist/cdn/{TRG2ALS5.js → 7QRKJAGO.js} +2 -2
- package/dist/cdn/{RW45M5EQ.js → 7R6WE6EM.js} +1 -1
- package/dist/cdn/{DFJRQIKN.js → 7YSTI757.js} +2 -2
- package/dist/cdn/{IRQNB3MS.js → 7YWMPURI.js} +2 -2
- package/dist/cdn/{GC3TKMDB.js → A2JFI3HW.js} +2 -2
- package/dist/cdn/{3NUH6WSI.js → A4QUJ7BR.js} +2 -2
- package/dist/cdn/{PZBHFXPA.js → A6VKHWPM.js} +2 -2
- package/dist/cdn/{F3FCSRPJ.js → AAFDLCS3.js} +2 -2
- package/dist/cdn/{OK5J4TL4.js → AHJZNQOC.js} +2 -2
- package/dist/cdn/{ON5V4WAN.js → AMWKM6PV.js} +2 -2
- package/dist/cdn/{F5DEK4TQ.js → APROIV53.js} +2 -2
- package/dist/cdn/{QPD55ZW5.js → AT3KZDU4.js} +2 -2
- package/dist/cdn/{HXG7U6YS.js → AVSN6RYA.js} +1 -1
- package/dist/cdn/{4LIAWAHO.js → AWRET3PW.js} +2 -2
- package/dist/cdn/{6E6L5MAY.js → B2LSRYHD.js} +2 -2
- package/dist/cdn/{KEMIPV6X.js → B476JM7S.js} +2 -2
- package/dist/cdn/{4QDFPD3P.js → BDDX5Q7E.js} +2 -2
- package/dist/cdn/{TJSETY56.js → BKVRQYP4.js} +2 -2
- package/dist/cdn/{W7FGTNL4.js → C34ESTLF.js} +2 -2
- package/dist/cdn/{DRF3UCNL.js → C4W7DWID.js} +2 -2
- package/dist/cdn/{VOILDNID.js → C67GFDSL.js} +2 -2
- package/dist/cdn/{U34L36PI.js → CBM7RJC5.js} +2 -2
- package/dist/cdn/{PG4QSKCU.js → CBO4MMHO.js} +2 -2
- package/dist/cdn/{4NRCLPWJ.js → CIYQJM3A.js} +2 -2
- package/dist/cdn/{QVOLLJ6I.js → CKSWZX4I.js} +2 -2
- package/dist/cdn/{VQ7KDCXU.js → CTP4DUUW.js} +2 -2
- package/dist/cdn/{P2BC4FE4.js → D2MRSKTE.js} +2 -2
- package/dist/cdn/{PMTG5FTI.js → D3VEX2RP.js} +2 -2
- package/dist/cdn/{RDKZAMLH.js → D4P4M4W5.js} +2 -2
- package/dist/cdn/{SLXRVLKC.js → DE64OVKM.js} +2 -2
- package/dist/cdn/{HRRLMXHC.js → DMME5RNM.js} +2 -2
- package/dist/cdn/{KNURGRUZ.js → DNYLY2OY.js} +2 -2
- package/dist/cdn/{JM54KG6D.js → DV2EXMUV.js} +2 -2
- package/dist/cdn/{3VHC2TBV.js → E3AJBR7Y.js} +2 -2
- package/dist/cdn/{4DAHEA7P.js → E576XMTC.js} +2 -2
- package/dist/cdn/E6T35GG5.js +4 -0
- package/dist/cdn/{4GSND4F7.js → E76QS654.js} +2 -2
- package/dist/cdn/EFADHFNJ.js +4 -0
- package/dist/cdn/{HV37AP2V.js → EPYUDTDV.js} +2 -2
- package/dist/cdn/{JVLCJWYE.js → FE7L2BSB.js} +2 -2
- package/dist/cdn/{7QZ6FF74.js → FFF2EQYS.js} +2 -2
- package/dist/cdn/FFJ4BAWY.js +4 -0
- package/dist/cdn/{XBFZZDWO.js → G3VGCFAP.js} +2 -2
- package/dist/cdn/{KFOCOCDM.js → G45U4FAI.js} +2 -2
- package/dist/cdn/{YTBTS53S.js → G7THV33V.js} +1 -1
- package/dist/cdn/{DJEGQIBV.js → GJMYEJ4F.js} +2 -2
- package/dist/cdn/{74G6NOA4.js → GLN6CDUO.js} +2 -2
- package/dist/cdn/{CWRDA2QG.js → GSZELEV5.js} +2 -2
- package/dist/cdn/{ZBLZCKJ2.js → GXM2YHNA.js} +2 -2
- package/dist/cdn/{WE2NX4WA.js → GXN2FPDK.js} +2 -2
- package/dist/cdn/{XCKKIW6G.js → GZ22JGJO.js} +2 -2
- package/dist/cdn/{23GMF7XI.js → H7M7GNYV.js} +2 -2
- package/dist/cdn/{RCFRZRKA.js → HBX6LBQV.js} +2 -2
- package/dist/cdn/{MKTJHHYL.js → HJPZ6RG3.js} +2 -2
- package/dist/cdn/{E3YQGLMQ.js → HO3GKC5B.js} +2 -2
- package/dist/cdn/{AGCOUXPQ.js → HOTVJLLU.js} +2 -2
- package/dist/cdn/{IGZSB6NX.js → HQT6ZQ7A.js} +2 -2
- package/dist/cdn/{63WREO62.js → HUEFRDZR.js} +2 -2
- package/dist/cdn/{HU4CV4V5.js → IDZVO7RB.js} +2 -2
- package/dist/cdn/{24UA23KN.js → IE62V3EE.js} +2 -2
- package/dist/cdn/{ESJQO5C2.js → IPWFL4TK.js} +2 -2
- package/dist/cdn/{NP6C6RM3.js → IRTFYHCQ.js} +2 -2
- package/dist/cdn/{X74J6X7P.js → IVDSXZUK.js} +2 -2
- package/dist/cdn/{7GLGF3SN.js → IVRQLLK7.js} +2 -2
- package/dist/cdn/{EW4L37YC.js → J2H5KQW3.js} +2 -2
- package/dist/cdn/J3U6IBLJ.js +4 -0
- package/dist/cdn/{6ICP5ZJ5.js → J4WZRF3H.js} +2 -2
- package/dist/cdn/{T7S2BJQR.js → JBNGGISF.js} +2 -2
- package/dist/cdn/{2ZKBEHWA.js → JHKQ3RYE.js} +2 -2
- package/dist/cdn/{OCMCGYNW.js → JHRFMWZX.js} +2 -2
- package/dist/cdn/{56OI4AA3.js → JI3PLAMK.js} +2 -2
- package/dist/cdn/{LVZD6FUT.js → JICB575X.js} +2 -2
- package/dist/cdn/{JZ25XF37.js → JJ64JQQQ.js} +2 -2
- package/dist/cdn/{EPDS7TBP.js → JL2BQIGL.js} +2 -2
- package/dist/cdn/{FT4ZSUBH.js → JONQ6XVA.js} +2 -2
- package/dist/cdn/JOYK4Y2E.js +4 -0
- package/dist/cdn/{XUSUDG7A.js → JPCASTRC.js} +2 -2
- package/dist/cdn/{IOFCGPRS.js → JULCTALG.js} +2 -2
- package/dist/cdn/{5K24FJHL.js → JVHHRFAL.js} +2 -2
- package/dist/cdn/{7CQOPWRB.js → JWUTY4FC.js} +2 -2
- package/dist/cdn/{KFSBAJFF.js → JZ7VKSEJ.js} +2 -2
- package/dist/cdn/{O7YUWBSU.js → K2ZBW7I2.js} +2 -2
- package/dist/cdn/{WIWF3Z65.js → K5HW6SLC.js} +2 -2
- package/dist/cdn/{N67EGIKZ.js → KDZ74YRT.js} +2 -2
- package/dist/cdn/{D73TXU2G.js → KHCFXFVO.js} +2 -2
- package/dist/cdn/{LQC3WIMP.js → KK6BVKDT.js} +2 -2
- package/dist/cdn/{MDOPAF5T.js → KUZEJGA5.js} +2 -2
- package/dist/cdn/{6ULCDPV3.js → KZIQU6EQ.js} +1 -1
- package/dist/cdn/{OG6HAUTJ.js → KZR3OSQQ.js} +2 -2
- package/dist/cdn/{UAK7KTCW.js → L6KFB77F.js} +2 -2
- package/dist/cdn/LEBC3A2N.js +9 -0
- package/dist/cdn/{3WOFKI6E.js → LFYHHMCA.js} +2 -2
- package/dist/cdn/{JBH6ANOS.js → LUGHHUP3.js} +2 -2
- package/dist/cdn/{S24MWGRY.js → LWTDFY46.js} +2 -2
- package/dist/cdn/{NF45EWVP.js → M6VACAG5.js} +2 -2
- package/dist/cdn/{UH5AGJNG.js → M7AB6WUQ.js} +2 -2
- package/dist/cdn/{EZ3K4KBP.js → MDUHQTLW.js} +2 -2
- package/dist/cdn/{BJ3R2AMI.js → MI5RLG2I.js} +2 -2
- package/dist/cdn/{PDEMCKDS.js → MJQ3ZRHK.js} +2 -2
- package/dist/cdn/{JVCXU4OX.js → MOFQDQRZ.js} +2 -2
- package/dist/cdn/{K45664W4.js → MUXX3REJ.js} +2 -2
- package/dist/cdn/{JUUQTT4Q.js → MX5MT3MX.js} +2 -2
- package/dist/cdn/{43CK3YRL.js → MYZLZHOG.js} +2 -2
- package/dist/cdn/{BY2CC6X5.js → MYZY5KMN.js} +2 -2
- package/dist/cdn/{ZCYRUK5U.js → N32RQBU3.js} +2 -2
- package/dist/cdn/{T6X52SSU.js → NAFGUVZ6.js} +2 -2
- package/dist/cdn/{K5TXNKEI.js → NDEJLXW5.js} +2 -2
- package/dist/cdn/{C3TXGMHT.js → NUPOZC52.js} +2 -2
- package/dist/cdn/{NKJORSLX.js → NVF2OQTB.js} +2 -2
- package/dist/cdn/{KA2IAXFA.js → NVU7MTWQ.js} +1 -1
- package/dist/cdn/{HZKDIIJ5.js → O6OLEEGF.js} +2 -2
- package/dist/cdn/{TL7OC5I3.js → OJNWXKUT.js} +2 -2
- package/dist/cdn/{RDPCHATG.js → OKH2O6XD.js} +2 -2
- package/dist/cdn/{CUKNJEV7.js → OKXXQO4N.js} +2 -2
- package/dist/cdn/{LIVKYCGT.js → P7V3SLTH.js} +2 -2
- package/dist/cdn/{7GN3DCWM.js → PD2HUIH7.js} +2 -2
- package/dist/cdn/{VU7BJ7QB.js → PD6SUZH7.js} +2 -2
- package/dist/cdn/{BI5SJGR6.js → PPKJ74F7.js} +2 -2
- package/dist/cdn/{NLA7U2GB.js → PQ4S2NDN.js} +2 -2
- package/dist/cdn/{SJXNUFHC.js → PZEGFMG6.js} +1 -1
- package/dist/cdn/{EHQRAD5S.js → Q3QGMSWB.js} +2 -2
- package/dist/cdn/{LXEGPFPY.js → Q46FHRG5.js} +2 -2
- package/dist/cdn/{4ZGE75OH.js → QB7N2SRB.js} +2 -2
- package/dist/cdn/{YZBZQXC7.js → RGTWYMXU.js} +2 -2
- package/dist/cdn/{RNDL4OYH.js → RJ4L5DHE.js} +2 -2
- package/dist/cdn/{AQBAC7HR.js → RJ6EUM5W.js} +1 -1
- package/dist/cdn/{56GSPX6L.js → RJFQYK3F.js} +1 -1
- package/dist/cdn/{QGTEWTCE.js → RKPXIJ2B.js} +2 -2
- package/dist/cdn/{JKCKFYIJ.js → RLQECTCD.js} +2 -2
- package/dist/cdn/{TDQQCXEK.js → RMHQPRWR.js} +2 -2
- package/dist/cdn/{XODDUZAO.js → RRS72TZR.js} +1 -1
- package/dist/cdn/{YXJRN6II.js → RS6JRJRS.js} +2 -2
- package/dist/cdn/{HOWQMRHG.js → S5MC25Z6.js} +1 -1
- package/dist/cdn/{VGA4NQIN.js → SI5LCDIK.js} +2 -2
- package/dist/cdn/{BDUFVJ3O.js → SJOZYYXZ.js} +2 -2
- package/dist/cdn/{Q34BWTEE.js → SLVY6HHP.js} +2 -2
- package/dist/cdn/{HSVALIUB.js → SM3THMIY.js} +2 -2
- package/dist/cdn/{EN754JRV.js → SQ36WBNL.js} +2 -2
- package/dist/cdn/{NJ5HQBVY.js → SZ4ZQWSD.js} +2 -2
- package/dist/cdn/TDHF4AII.js +4 -0
- package/dist/cdn/{2VKNMDAQ.js → TIJ5WGD6.js} +2 -2
- package/dist/cdn/{KT6DECFU.js → TLEFVT7H.js} +2 -2
- package/dist/cdn/{3MXLDCZI.js → TRRV26U5.js} +2 -2
- package/dist/cdn/{PHIFGJSS.js → TTQQNBHQ.js} +2 -2
- package/dist/cdn/{GYTJQMGZ.js → U34P7VVY.js} +2 -2
- package/dist/cdn/{JPQCS7IV.js → U3ATP7XB.js} +2 -2
- package/dist/cdn/{IXTQ6WQB.js → U4QCBCZ6.js} +2 -2
- package/dist/cdn/{QXU2FQZX.js → U6NDMHIF.js} +2 -2
- package/dist/cdn/{BG7EVZF3.js → UE67DXWT.js} +2 -2
- package/dist/cdn/{JT5QDHMR.js → UEBQDR5N.js} +2 -2
- package/dist/cdn/{ZKTOMV2V.js → UNU5L2JS.js} +2 -2
- package/dist/cdn/{DSSWWHZT.js → UOTTR5L3.js} +2 -2
- package/dist/cdn/{UETER6D4.js → UPSBXMUT.js} +2 -2
- package/dist/cdn/{6BMSATBH.js → UQ3JCWV4.js} +2 -2
- package/dist/cdn/{7GGB6Y23.js → UUCVMMZT.js} +1 -1
- package/dist/cdn/{NEXM427K.js → UVAXKQ2A.js} +2 -2
- package/dist/cdn/{YRUTAYTM.js → V27SG6ZH.js} +2 -2
- package/dist/cdn/{AOR4JIVT.js → V444SBNY.js} +2 -2
- package/dist/cdn/{J4TVMFAQ.js → VB7VINXU.js} +2 -2
- package/dist/cdn/{FGNIRLRR.js → VGL5CWJV.js} +2 -2
- package/dist/cdn/{ZKOIZJX5.js → VGRVDB7I.js} +2 -2
- package/dist/cdn/{K6TTTUYH.js → VIFQZK2I.js} +2 -2
- package/dist/cdn/{5L6YXZLM.js → VNSKKMX5.js} +2 -2
- package/dist/cdn/{SI2NTJDS.js → VYJQVMIR.js} +2 -2
- package/dist/cdn/{XNCZQBA2.js → W4EFJDYE.js} +2 -2
- package/dist/cdn/{LCS4TWT6.js → W4JZF7SV.js} +2 -2
- package/dist/cdn/{ULWS7KA4.js → W7VRL4BO.js} +2 -2
- package/dist/cdn/{6QNMEM5I.js → WAPCW33A.js} +2 -2
- package/dist/cdn/{R4VBVJFH.js → WB44FEWD.js} +2 -2
- package/dist/cdn/{4GHGHKKV.js → WEZ4SPJK.js} +2 -2
- package/dist/cdn/{FBPZVNLT.js → WI2GBM3W.js} +2 -2
- package/dist/cdn/WSJIQSNG.js +4 -0
- package/dist/cdn/{ADH6QRNC.js → WSK4WNWD.js} +2 -2
- package/dist/cdn/{25UUR63R.js → WUT4252Z.js} +2 -2
- package/dist/cdn/{THCD3FYN.js → WZB5MINN.js} +2 -2
- package/dist/cdn/{APD7ZV4K.js → WZYOITEV.js} +2 -2
- package/dist/cdn/{QZLLFLSU.js → XCYQ6LRM.js} +2 -2
- package/dist/cdn/{7DQDUNQF.js → XOLDURYI.js} +2 -2
- package/dist/cdn/{4E72I4OM.js → XTLSUWZD.js} +2 -2
- package/dist/cdn/{QVFYMRMM.js → XTSKGUIB.js} +1 -1
- package/dist/cdn/{JXR3BAC3.js → XV3TVU3D.js} +2 -2
- package/dist/cdn/{4DNXVHKT.js → Y7XRM5QX.js} +2 -2
- package/dist/cdn/{KMTEHHBM.js → YB6RMWZG.js} +2 -2
- package/dist/cdn/{7YXV6XVY.js → YLEZIZTS.js} +2 -2
- package/dist/cdn/{D277UODG.js → YR2AKPRL.js} +2 -2
- package/dist/cdn/{HE6BMBQG.js → YXTUMI6L.js} +2 -2
- package/dist/cdn/{OHXR3Q4L.js → YYR2FCHG.js} +2 -2
- package/dist/cdn/{PGJM3M5B.js → ZAI74Y4W.js} +2 -2
- package/dist/cdn/{OOG5O2QC.js → ZB73LAWG.js} +2 -2
- package/dist/cdn/{M3YSF2HA.js → ZHXYADNL.js} +2 -2
- package/dist/cdn/{EPBEIICY.js → ZYHO7MP7.js} +2 -2
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +2 -2
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +4 -4
- 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 +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 +24 -10
- 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/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
- 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 +3 -5
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- 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 +3 -3
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.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-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 +2 -2
- 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 +2 -2
- 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.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +25 -34
- package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
- package/dist/components/arcgis-measurement-content/index.js +1 -0
- 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-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.d.ts +2 -2
- 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.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-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/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 +1 -1
- 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-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +933 -3
- package/dist/docs/docs.json +712 -3
- package/dist/docs/vscode.html-custom-data.json +212 -1
- package/dist/docs/web-types.json +251 -2
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -2
- package/dist/support/measurementUtils.d.ts +6 -2
- package/dist/types/lumina.d.ts +7 -0
- package/dist/types/preact.d.ts +8 -0
- package/dist/types/preact10.d.ts +9 -0
- package/dist/types/react.d.ts +9 -0
- package/dist/types/stencil.d.ts +7 -0
- package/package.json +3 -3
- package/dist/cdn/2O5UNTWF.js +0 -4
- package/dist/cdn/6DSF7J6Q.js +0 -4
- package/dist/cdn/6F5OKRMG.js +0 -9
- package/dist/cdn/EOLVLKBH.js +0 -4
- package/dist/cdn/FSFNE2MI.js +0 -4
- package/dist/cdn/J2JXDUYO.js +0 -4
- package/dist/cdn/LRL3IIBC.js +0 -4
|
@@ -3,7 +3,7 @@ import { css as c, html as l } from "lit";
|
|
|
3
3
|
import { LitElement as t, safeClassMap as s } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.48 */
|
|
7
7
|
const d = c`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--arcgis-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--arcgis-video-player-progress-width) / 2);left:var(--arcgis-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--arcgis-video-player-controls-spacing) * 2);height:var(--arcgis-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--arcgis-video-player-controls-spacing) / 4) calc(var(--arcgis-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
|
|
8
8
|
progress: `${o}__progress`,
|
|
9
9
|
slider: `${o}__slider`,
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
3
|
+
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
4
|
+
import { default as VolumeMeasurementAnalysis } from '@arcgis/core/analysis/VolumeMeasurementAnalysis.js';
|
|
5
|
+
import { MeasurementState, MeasurementValue } from '../../support/measurementUtils';
|
|
6
|
+
import { MeasurementMode } from '@arcgis/core/views/analysis/types';
|
|
7
|
+
export interface Measurement {
|
|
8
|
+
readonly mode: MeasurementMode;
|
|
9
|
+
readonly totalVolume: MeasurementValue<__esri.Volume>;
|
|
10
|
+
readonly cutVolume: MeasurementValue<__esri.Volume>;
|
|
11
|
+
readonly fillVolume: MeasurementValue<__esri.Volume>;
|
|
12
|
+
readonly netVolume: MeasurementValue<__esri.Volume>;
|
|
13
|
+
}
|
|
14
|
+
export default class VolumeMeasurementViewModel extends AnalysisViewModel<SceneView, VolumeMeasurementAnalysis> {
|
|
15
|
+
initialize(): void;
|
|
16
|
+
protected readonly supportedViewType = "3d";
|
|
17
|
+
protected readonly unsupportedErrorMessage = "The Volume Measurement component is only supported in 3D views.";
|
|
18
|
+
get state(): Exclude<MeasurementState, "unsupported">;
|
|
19
|
+
get displayState(): MeasurementState;
|
|
20
|
+
/**
|
|
21
|
+
* The current measurement calculated based on the provided polygon.
|
|
22
|
+
*/
|
|
23
|
+
get measurement(): Measurement;
|
|
24
|
+
protected constructAnalysis(): VolumeMeasurementAnalysis;
|
|
25
|
+
protected place(options?: {
|
|
26
|
+
signal?: AbortSignal;
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
protected clearAnalysis(): void;
|
|
29
|
+
/**
|
|
30
|
+
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
31
|
+
*/
|
|
32
|
+
get volumeUnitOptions(): __esri.SystemOrVolumeUnit[];
|
|
33
|
+
set volumeUnitOptions(units: __esri.SystemOrVolumeUnit[] | undefined);
|
|
34
|
+
/**
|
|
35
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
36
|
+
*/
|
|
37
|
+
get volumeUnit(): __esri.SystemOrVolumeUnit;
|
|
38
|
+
set volumeUnit(unit: __esri.SystemOrVolumeUnit | undefined);
|
|
39
|
+
get defaultVolumeUnit(): __esri.MeasurementSystem | undefined;
|
|
40
|
+
private _userVolumeUnit?;
|
|
41
|
+
private _userVolumeUnitOptions?;
|
|
42
|
+
/**
|
|
43
|
+
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
44
|
+
*/
|
|
45
|
+
get elevationUnitOptions(): __esri.SystemOrLengthUnit[];
|
|
46
|
+
set elevationUnitOptions(units: __esri.SystemOrLengthUnit[] | undefined);
|
|
47
|
+
/**
|
|
48
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
49
|
+
*/
|
|
50
|
+
get elevationUnit(): __esri.SystemOrLengthUnit;
|
|
51
|
+
set elevationUnit(unit: __esri.SystemOrLengthUnit | undefined);
|
|
52
|
+
get defaultElevationUnit(): __esri.MeasurementSystem | undefined;
|
|
53
|
+
private _userElevationUnit?;
|
|
54
|
+
private _userElevationUnitOptions?;
|
|
55
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
|
4
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
5
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
6
|
+
import { default as VolumeMeasurementViewModel } from './VolumeMeasurementViewModel';
|
|
7
|
+
import { default as VolumeMeasurementAnalysis } from '@arcgis/core/analysis/VolumeMeasurementAnalysis';
|
|
8
|
+
import { HeadingLevel } from '../../support/heading';
|
|
9
|
+
|
|
10
|
+
declare const useViewModel: (component: LitElement & Pick<VolumeMeasurementViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<VolumeMeasurementViewModel>) => VolumeMeasurementViewModel;
|
|
11
|
+
/**
|
|
12
|
+
* The Volume Measurement component can be used to measure the volume of content in the scene.
|
|
13
|
+
*
|
|
14
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-volume-measurement/)
|
|
15
|
+
*
|
|
16
|
+
* @since 5.0
|
|
17
|
+
*/
|
|
18
|
+
export declare class ArcgisVolumeMeasurement extends LitElement {
|
|
19
|
+
/**
|
|
20
|
+
* The view associated with the component.
|
|
21
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Volume Measurement component will be associated with a map or scene component rather than using the `view` property.
|
|
22
|
+
*/
|
|
23
|
+
view?: __esri.SceneView | undefined;
|
|
24
|
+
/** Analysis data object. */
|
|
25
|
+
analysis: VolumeMeasurementAnalysis;
|
|
26
|
+
/**
|
|
27
|
+
* If true, the component will not be destroyed automatically when it is
|
|
28
|
+
* disconnected from the document. This is useful when you want to move the
|
|
29
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
30
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-volume-measurement/#destroy) method when you are done to
|
|
31
|
+
* prevent memory leaks.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
autoDestroyDisabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Icon which represents the component.
|
|
38
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
39
|
+
*
|
|
40
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
41
|
+
* @default "measure-area"
|
|
42
|
+
*/
|
|
43
|
+
icon?: HTMLCalciteIconElement["icon"];
|
|
44
|
+
/** The component's default label. */
|
|
45
|
+
label?: string;
|
|
46
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
47
|
+
position?: __esri.UIPosition;
|
|
48
|
+
/**
|
|
49
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
50
|
+
*
|
|
51
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
52
|
+
*/
|
|
53
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
54
|
+
/**
|
|
55
|
+
* The component's state. The values mean the following:
|
|
56
|
+
*
|
|
57
|
+
* * `disabled` - not ready yet
|
|
58
|
+
* * `ready` - ready for measuring
|
|
59
|
+
* * `measuring` - currently measuring
|
|
60
|
+
* * `measured` - measuring has finished
|
|
61
|
+
*/
|
|
62
|
+
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
63
|
+
/**
|
|
64
|
+
* Unit system (imperial, metric) or specific unit used for displaying the volume values. Possible values are listed in
|
|
65
|
+
* [volumeUnitOptions](#volumeUnitOptions).
|
|
66
|
+
*/
|
|
67
|
+
volumeUnit: __esri.SystemOrVolumeUnit;
|
|
68
|
+
/**
|
|
69
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
70
|
+
* By default, the following units are included: `imperial`, `metric`, `liters`, `cubic-millimeters`, `cubic-centimeters`, `cubic-decimeters`, `cubic-meters`, `cubic-kilometers`, `cubic-inches`, `cubic-feet`, `cubic-yards`, `cubic-miles`.
|
|
71
|
+
* Possible [volumeUnit](#volumeUnit) values can only be a subset of this list.
|
|
72
|
+
*/
|
|
73
|
+
volumeUnitOptions: __esri.SystemOrVolumeUnit[];
|
|
74
|
+
/**
|
|
75
|
+
* Unit system (imperial, metric) or specific unit used for displaying the elevation values. Possible values are listed in
|
|
76
|
+
* [elevationUnitOptions](#elevationUnitOptions).
|
|
77
|
+
*/
|
|
78
|
+
elevationUnit: __esri.SystemOrLengthUnit;
|
|
79
|
+
/**
|
|
80
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
81
|
+
* By default, the following units are included: `meters`, `imperial`, `metric`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
|
|
82
|
+
* Possible [elevationUnit](#elevationUnit) values can only be a subset of this list.
|
|
83
|
+
*/
|
|
84
|
+
elevationUnitOptions: __esri.SystemOrLengthUnit[];
|
|
85
|
+
/** @default false */
|
|
86
|
+
hideHeader: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Hides the units dropdown selectors.
|
|
89
|
+
*
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
hideUnits: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Hides the mode selection dropdown.
|
|
95
|
+
*
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
hideModeSelect: boolean;
|
|
99
|
+
/** @default 2 */
|
|
100
|
+
headingLevel: HeadingLevel;
|
|
101
|
+
/** Clears the current measurement. */
|
|
102
|
+
clear(): Promise<void>;
|
|
103
|
+
/** Permanently destroy the component. */
|
|
104
|
+
destroy(): Promise<void>;
|
|
105
|
+
/** Starts a new measurement. */
|
|
106
|
+
start(): Promise<void>;
|
|
107
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
108
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
109
|
+
name: "analysis" | "state";
|
|
110
|
+
}>;
|
|
111
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
112
|
+
readonly arcgisReady: TargetedEvent<this, void>;
|
|
113
|
+
}
|
|
114
|
+
export {};
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as y, html as a } from "lit";
|
|
3
|
+
import { LitElement as U, createEvent as k, nothing as z, safeClassMap as V, safeStyleMap as M } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
6
|
+
import { u as E } from "../../chunks/useT9n.js";
|
|
7
|
+
import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
8
|
+
import S from "@arcgis/core/analysis/VolumeMeasurementAnalysis.js";
|
|
9
|
+
import { g as p, m, a as _ } from "../../chunks/measurementUtils.js";
|
|
10
|
+
import { property as o, subclass as L } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
11
|
+
import { getDefaultUnitForView as v } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
+
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
+
import { i as T } from "../../chunks/async-utils.js";
|
|
14
|
+
import { H as j } from "../../chunks/heading.js";
|
|
15
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
16
|
+
import { V as h } from "../../chunks/visible-element.js";
|
|
17
|
+
import { createRef as A, ref as H } from "lit/directives/ref.js";
|
|
18
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
+
v5.0.0-next.48 */
|
|
21
|
+
const P = y`.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:300px;position:relative}.container{--calcite-label-margin-bottom: 0;display:flex;flex-direction:column;padding:var(--esri-widget-padding);gap:var(--calcite-spacing-md)}.header{display:flex;align-items:center;justify-content:space-between;& calcite-action{margin:calc(-1 * var(--esri-widget-padding-y)) calc(-1 * var(--esri-widget-padding-x))}}.heading{margin:0}.settings-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md)}`;
|
|
22
|
+
var F = Object.defineProperty, R = Object.getOwnPropertyDescriptor, s = (i, e, t, l) => {
|
|
23
|
+
for (var n = l > 1 ? void 0 : l ? R(e, t) : e, d = i.length - 1, c; d >= 0; d--)
|
|
24
|
+
(c = i[d]) && (n = (l ? c(e, t, n) : c(n)) || n);
|
|
25
|
+
return l && n && F(e, t, n), n;
|
|
26
|
+
};
|
|
27
|
+
let r = class extends C {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Volume Measurement component is only supported in 3D views.";
|
|
30
|
+
}
|
|
31
|
+
initialize() {
|
|
32
|
+
this.addHandles([
|
|
33
|
+
// Make sure the analysis and view model units are in sync.
|
|
34
|
+
D(
|
|
35
|
+
() => ({
|
|
36
|
+
analysis: this.analysis,
|
|
37
|
+
volumeUnit: this.volumeUnit,
|
|
38
|
+
elevationUnit: this.elevationUnit
|
|
39
|
+
}),
|
|
40
|
+
({ analysis: i, volumeUnit: e, elevationUnit: t }) => {
|
|
41
|
+
i != null && (i.displayUnits.volume = e, i.displayUnits.elevation = t);
|
|
42
|
+
},
|
|
43
|
+
{ sync: !0, initial: !0 }
|
|
44
|
+
)
|
|
45
|
+
]);
|
|
46
|
+
}
|
|
47
|
+
get state() {
|
|
48
|
+
return this.disabled || !this.ready ? "disabled" : this.operationState === "inactive" ? this.analysis.valid ? "measured" : "ready" : "measuring";
|
|
49
|
+
}
|
|
50
|
+
get displayState() {
|
|
51
|
+
if (!this.supported)
|
|
52
|
+
return "unsupported";
|
|
53
|
+
switch (this.state) {
|
|
54
|
+
case "disabled":
|
|
55
|
+
case "ready":
|
|
56
|
+
return "ready";
|
|
57
|
+
case "measuring":
|
|
58
|
+
return this.analysis.geometry == null ? "measuring" : "measured";
|
|
59
|
+
case "measured":
|
|
60
|
+
return "measured";
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
get measurement() {
|
|
64
|
+
const { analysisView: i } = this, e = i?.result, t = i?.error == null;
|
|
65
|
+
return {
|
|
66
|
+
mode: "euclidean",
|
|
67
|
+
totalVolume: p(e?.totalVolume, t),
|
|
68
|
+
cutVolume: p(e?.cutVolume, t),
|
|
69
|
+
fillVolume: p(e?.fillVolume, t),
|
|
70
|
+
netVolume: p(e?.netVolume, t)
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
constructAnalysis() {
|
|
74
|
+
return new S();
|
|
75
|
+
}
|
|
76
|
+
async place(i) {
|
|
77
|
+
await this.analysisView?.place(i);
|
|
78
|
+
}
|
|
79
|
+
clearAnalysis() {
|
|
80
|
+
this.analysis.geometry = null;
|
|
81
|
+
}
|
|
82
|
+
get volumeUnitOptions() {
|
|
83
|
+
const i = this._userVolumeUnitOptions?.filter((e) => m.includes(e));
|
|
84
|
+
return i && i.length > 0 ? i : m.slice();
|
|
85
|
+
}
|
|
86
|
+
set volumeUnitOptions(i) {
|
|
87
|
+
this._userVolumeUnitOptions = i;
|
|
88
|
+
}
|
|
89
|
+
get volumeUnit() {
|
|
90
|
+
const i = this._userVolumeUnit ?? this.analysis.displayUnits?.volume ?? void 0, e = this.volumeUnitOptions;
|
|
91
|
+
if (i && e.includes(i))
|
|
92
|
+
return i;
|
|
93
|
+
const t = this.defaultVolumeUnit;
|
|
94
|
+
return t && e.includes(t) ? t : e[0];
|
|
95
|
+
}
|
|
96
|
+
set volumeUnit(i) {
|
|
97
|
+
this._userVolumeUnit = i;
|
|
98
|
+
}
|
|
99
|
+
get defaultVolumeUnit() {
|
|
100
|
+
return this.view ? v(this.view) : void 0;
|
|
101
|
+
}
|
|
102
|
+
get elevationUnitOptions() {
|
|
103
|
+
const i = this._userElevationUnitOptions?.filter((e) => _.includes(e));
|
|
104
|
+
return i && i.length > 0 ? i : _.slice();
|
|
105
|
+
}
|
|
106
|
+
set elevationUnitOptions(i) {
|
|
107
|
+
this._userElevationUnitOptions = i;
|
|
108
|
+
}
|
|
109
|
+
get elevationUnit() {
|
|
110
|
+
const i = this._userElevationUnit ?? this.analysis.displayUnits?.elevation ?? void 0, e = this.elevationUnitOptions;
|
|
111
|
+
if (i && e.includes(i))
|
|
112
|
+
return i;
|
|
113
|
+
const t = this.defaultElevationUnit;
|
|
114
|
+
return t && e.includes(t) ? t : e[0];
|
|
115
|
+
}
|
|
116
|
+
set elevationUnit(i) {
|
|
117
|
+
this._userElevationUnit = i;
|
|
118
|
+
}
|
|
119
|
+
get defaultElevationUnit() {
|
|
120
|
+
return this.view ? v(this.view) : void 0;
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
s([
|
|
124
|
+
o()
|
|
125
|
+
], r.prototype, "state", 1);
|
|
126
|
+
s([
|
|
127
|
+
o({ readOnly: !0 })
|
|
128
|
+
], r.prototype, "displayState", 1);
|
|
129
|
+
s([
|
|
130
|
+
o({ readOnly: !0 })
|
|
131
|
+
], r.prototype, "measurement", 1);
|
|
132
|
+
s([
|
|
133
|
+
o()
|
|
134
|
+
], r.prototype, "volumeUnitOptions", 1);
|
|
135
|
+
s([
|
|
136
|
+
o()
|
|
137
|
+
], r.prototype, "volumeUnit", 1);
|
|
138
|
+
s([
|
|
139
|
+
o({ readOnly: !0 })
|
|
140
|
+
], r.prototype, "defaultVolumeUnit", 1);
|
|
141
|
+
s([
|
|
142
|
+
o()
|
|
143
|
+
], r.prototype, "_userVolumeUnit", 2);
|
|
144
|
+
s([
|
|
145
|
+
o()
|
|
146
|
+
], r.prototype, "_userVolumeUnitOptions", 2);
|
|
147
|
+
s([
|
|
148
|
+
o()
|
|
149
|
+
], r.prototype, "elevationUnitOptions", 1);
|
|
150
|
+
s([
|
|
151
|
+
o()
|
|
152
|
+
], r.prototype, "elevationUnit", 1);
|
|
153
|
+
s([
|
|
154
|
+
o({ readOnly: !0 })
|
|
155
|
+
], r.prototype, "defaultElevationUnit", 1);
|
|
156
|
+
s([
|
|
157
|
+
o()
|
|
158
|
+
], r.prototype, "_userElevationUnit", 2);
|
|
159
|
+
s([
|
|
160
|
+
o()
|
|
161
|
+
], r.prototype, "_userElevationUnitOptions", 2);
|
|
162
|
+
r = s([
|
|
163
|
+
L("components.volume-measurement.VolumeMeasurementViewModel")
|
|
164
|
+
], r);
|
|
165
|
+
const Z = $(r);
|
|
166
|
+
class B extends U {
|
|
167
|
+
constructor() {
|
|
168
|
+
super(...arguments), this.viewModel = Z(this), this.messages = E({ blocking: !0 }), this.#e = A(), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.state = this.viewModel.state, this.volumeUnit = this.viewModel.volumeUnit, this.volumeUnitOptions = this.viewModel.volumeUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.hideHeader = !1, this.hideUnits = !1, this.hideModeSelect = !1, this.headingLevel = 2, this.arcgisPropertyChange = O()("analysis", "state"), this.arcgisReady = k();
|
|
169
|
+
}
|
|
170
|
+
static {
|
|
171
|
+
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, volumeUnit: 1, volumeUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0, hideHeader: 5, hideUnits: 5, hideModeSelect: 5, headingLevel: 9 };
|
|
172
|
+
}
|
|
173
|
+
static {
|
|
174
|
+
this.styles = P;
|
|
175
|
+
}
|
|
176
|
+
#e;
|
|
177
|
+
async clear() {
|
|
178
|
+
this.viewModel.clear();
|
|
179
|
+
}
|
|
180
|
+
async destroy() {
|
|
181
|
+
await this.manager.destroy();
|
|
182
|
+
}
|
|
183
|
+
async start() {
|
|
184
|
+
T(this.viewModel.start());
|
|
185
|
+
}
|
|
186
|
+
#i(e) {
|
|
187
|
+
switch (e) {
|
|
188
|
+
case "distance-too-far":
|
|
189
|
+
return this.messages.errorDistanceTooFar;
|
|
190
|
+
case "distance-too-close":
|
|
191
|
+
return this.messages.errorDistanceTooClose;
|
|
192
|
+
case "perimeter-too-large":
|
|
193
|
+
return this.messages.errorPerimeterTooLarge;
|
|
194
|
+
case "unsupported-coordinate-system":
|
|
195
|
+
return this.messages.errorUnsupportedCoordinateSystem;
|
|
196
|
+
case "unsupported-layer-transparency":
|
|
197
|
+
return this.messages.errorUnsupportedLayerTransparency;
|
|
198
|
+
case "unknown":
|
|
199
|
+
default:
|
|
200
|
+
return this.messages.errorUnknown;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
render() {
|
|
204
|
+
const { messages: e, viewModel: t } = this, { measurement: l, state: n } = t, d = this.volumeUnitOptions, c = this.volumeUnit, b = this.elevationUnitOptions, x = this.elevationUnit, g = t.analysisView?.error?.name;
|
|
205
|
+
return a`<div aria-label=${e.componentLabel ?? z} class=${V({
|
|
206
|
+
container: !0,
|
|
207
|
+
[f.widget]: !0,
|
|
208
|
+
[f.panel]: !0
|
|
209
|
+
})} role=presentation>${n === "disabled" && a`<calcite-scrim></calcite-scrim>` || ""}<calcite-popover slot=settings label .referenceElement=${this.#e.value} overlay-positioning=fixed auto-close><div class="settings-content"><arcgis-unit-select .options=${b} .selectLabel=${e.elevationUnit} .value=${x} @arcgisUnitSelectChange=${(u) => {
|
|
210
|
+
this.analysis.displayUnits.elevation = u.detail;
|
|
211
|
+
}}></arcgis-unit-select><arcgis-unit-select .options=${d} .selectLabel=${e.volumeUnit} .value=${c} @arcgisUnitSelectChange=${(u) => {
|
|
212
|
+
this.analysis.displayUnits.volume = u.detail;
|
|
213
|
+
}}></arcgis-unit-select></div></calcite-popover>${h({ hidden: this.hideHeader && this.hideUnits, children: a`<div class="header">${h({ hidden: this.hideHeader, children: j({ class: "heading", level: this.headingLevel, children: e.title }) })}<span style=${M({ flex: 1 })}></span>${h({ hidden: this.hideUnits, children: a`<calcite-action icon=gear slot=settings .text=${e.displaySettings} ${H(this.#e)}></calcite-action>` })}</div>` })}${h({ hidden: this.hideModeSelect, children: a`<calcite-label>Mode<calcite-select label="Select measurement mode" @calciteSelectChange=${(u) => {
|
|
214
|
+
this.analysis.measureType = u.target.selectedOption.value;
|
|
215
|
+
}}><calcite-option value=cut-fill>${e.cutAndFillMode}</calcite-option><calcite-option value=stockpile>${e.stockpileMode}</calcite-option></calcite-select></calcite-label>` })}${g != null && a`<p>${this.#i(g)}</p>` || ""}<arcgis-measurement-content .state=${t.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} layout=inline-space-between .items=${[
|
|
216
|
+
{
|
|
217
|
+
title: e.cutVolume,
|
|
218
|
+
measurement: l.cutVolume
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
title: e.fillVolume,
|
|
222
|
+
measurement: l.fillVolume
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
title: e.netVolume,
|
|
226
|
+
measurement: l.netVolume
|
|
227
|
+
}
|
|
228
|
+
]}><calcite-button slot=actions width=full .disabled=${n === "disabled"} @click=${() => {
|
|
229
|
+
this.viewModel.start({ clear: !0 });
|
|
230
|
+
}}>${e.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
w("arcgis-volume-measurement", B);
|
|
234
|
+
export {
|
|
235
|
+
B as ArcgisVolumeMeasurement
|
|
236
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
3
|
+
import "../arcgis-unit-select/index.js";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-option";
|
|
8
|
+
import "../arcgis-measurement-content/index.js";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
10
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
3
|
+
import "../arcgis-unit-select/index.js";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-select";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-option";
|
|
8
|
+
import "../arcgis-measurement-content/index.js";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
10
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function urlForMockedService(serviceName: string, serviceType?: string): string;
|
|
@@ -17,7 +17,7 @@ import W from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
|
17
17
|
import A from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
18
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
19
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
20
|
+
v5.0.0-next.48 */
|
|
21
21
|
const g = "arcgis-weather", p = {
|
|
22
22
|
base: g,
|
|
23
23
|
content: `${g}__content`,
|
|
@@ -9,7 +9,7 @@ import { u as x } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { u as $ } from "../../chunks/useView.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
12
|
-
v5.0.0-next.
|
|
12
|
+
v5.0.0-next.48 */
|
|
13
13
|
const r = {
|
|
14
14
|
base: "arcgis-zoom",
|
|
15
15
|
button: "arcgis-button",
|