@arcgis/map-components 5.0.0-next.7 → 5.0.0-next.71
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/{AMG4CQWO.js → 25MTYPG7.js} +2 -2
- package/dist/cdn/2ENVPPC2.js +4 -0
- package/dist/cdn/2N7N2XOS.js +4 -0
- package/dist/cdn/2PPXGILJ.js +4 -0
- package/dist/cdn/2PW7EQ4D.js +4 -0
- package/dist/cdn/2QPT2ZP4.js +4 -0
- package/dist/cdn/{G5PMGVU4.js → 2UD5CADS.js} +2 -2
- package/dist/cdn/{YXSNZP3J.js → 2WDLD4PP.js} +2 -2
- package/dist/cdn/2YAARW2G.js +4 -0
- package/dist/cdn/2YKVF7XN.js +4 -0
- package/dist/cdn/33V2BTFA.js +4 -0
- package/dist/cdn/3QINMTW2.js +4 -0
- package/dist/cdn/3WWAQMTP.js +4 -0
- package/dist/cdn/3YHUU45B.js +4 -0
- package/dist/cdn/{C2236CBZ.js → 43A6P6H2.js} +1 -1
- package/dist/cdn/474TZ4PK.js +4 -0
- package/dist/cdn/4BH7EKTR.js +4 -0
- package/dist/cdn/4C4GLK7I.js +4 -0
- package/dist/cdn/4GBEEWNV.js +4 -0
- package/dist/cdn/{R5W7EQYL.js → 4MOPLWIM.js} +2 -2
- package/dist/cdn/4PBELKFV.js +4 -0
- package/dist/cdn/{W5T3D66S.js → 4PNBN3DU.js} +2 -2
- package/dist/cdn/4SKUWCIE.js +4 -0
- package/dist/cdn/5AHCAHBR.js +4 -0
- package/dist/cdn/5IG73RFY.js +4 -0
- package/dist/cdn/{RJPMPWQK.js → 5INWFQR3.js} +2 -2
- package/dist/cdn/5RHTJMAU.js +9 -0
- package/dist/cdn/{W2ENKEBL.js → 5VI72H3Z.js} +2 -2
- package/dist/cdn/{BJLLWEDQ.js → 6AVCHD6H.js} +1 -1
- package/dist/cdn/6DCQH5JX.js +4 -0
- package/dist/cdn/{EOCT6FGC.js → 6K4NWV7B.js} +2 -2
- package/dist/cdn/7GYG4IEX.js +4 -0
- package/dist/cdn/{HDNA5F6G.js → 7IVE3VPE.js} +2 -2
- package/dist/cdn/7KLBXM66.js +4 -0
- package/dist/cdn/{XPV6WDON.js → 7OWHKGQD.js} +1 -1
- package/dist/cdn/7SQHTHHC.js +4 -0
- package/dist/cdn/{UEGTZRQO.js → 7UBQJMHA.js} +2 -2
- package/dist/cdn/A25INMKO.js +4 -0
- package/dist/cdn/A6AE62VH.js +4 -0
- package/dist/cdn/{CV67UIOI.js → AAXKZHXS.js} +2 -2
- package/dist/cdn/AB775LN7.js +4 -0
- package/dist/cdn/{FBKD2FUV.js → AMVDSDF7.js} +2 -2
- package/dist/cdn/{GANTC2JR.js → AQAGUM62.js} +2 -2
- package/dist/cdn/AW3IG2C6.js +4 -0
- package/dist/cdn/B7VK3Q73.js +5 -0
- package/dist/cdn/BCFNTPXF.js +4 -0
- package/dist/cdn/BDQ7V7E5.js +4 -0
- package/dist/cdn/BEUEAKN6.js +4 -0
- package/dist/cdn/{7P4IZ3TJ.js → BGEE7F2B.js} +2 -2
- package/dist/cdn/BSO6JVVF.js +4 -0
- package/dist/cdn/BTYD53B6.js +4 -0
- package/dist/cdn/{M4TTKFBW.js → BVPDB6TV.js} +2 -2
- package/dist/cdn/C7NDOBN3.js +4 -0
- package/dist/cdn/CFQLSE4M.js +4 -0
- package/dist/cdn/{Y3OSDFR4.js → CGNLLX4Q.js} +2 -2
- package/dist/cdn/CGT67PB5.js +4 -0
- package/dist/cdn/CIGUGZVT.js +4 -0
- package/dist/cdn/CMXCRP7V.js +4 -0
- package/dist/cdn/{EHMZR5TR.js → CWBFN4WD.js} +2 -2
- package/dist/cdn/CY2NH4L4.js +4 -0
- package/dist/cdn/D55YSLYD.js +4 -0
- package/dist/cdn/{3YHA662Y.js → DEGJSEG3.js} +2 -2
- package/dist/cdn/DFRWPASD.js +4 -0
- package/dist/cdn/DI33B6W4.js +4 -0
- package/dist/cdn/DMHV6ZWF.js +4 -0
- package/dist/cdn/DNWD7SWZ.js +4 -0
- package/dist/cdn/DPA7YP2O.js +4 -0
- package/dist/cdn/{MNQPVVH3.js → DR7WRTEO.js} +2 -2
- package/dist/cdn/DTQQKXWE.js +4 -0
- package/dist/cdn/{G4FVGNVY.js → DZLONOLM.js} +2 -2
- package/dist/cdn/{VHLNK34F.js → E2AWSO7H.js} +2 -2
- package/dist/cdn/E3CM77ET.js +4 -0
- package/dist/cdn/{44LY3QB2.js → E4AR6WJC.js} +2 -2
- package/dist/cdn/EHVEZMBD.js +4 -0
- package/dist/cdn/EPOBQ7YW.js +4 -0
- package/dist/cdn/EWK5XIZW.js +4 -0
- package/dist/cdn/{BWTML5G2.js → F3UKNXQL.js} +2 -2
- package/dist/cdn/FCK7OAJ3.js +4 -0
- package/dist/cdn/FFHHAW23.js +4 -0
- package/dist/cdn/FKI3RQJH.js +4 -0
- package/dist/cdn/FSQ6JDGZ.js +6 -0
- package/dist/cdn/FTRZSGN7.js +4 -0
- package/dist/cdn/{75OXQ2H2.js → FWB6M3LB.js} +1 -1
- package/dist/cdn/FYRAR57A.js +4 -0
- package/dist/cdn/G3Z6546U.js +4 -0
- package/dist/cdn/{FPDZK5KF.js → G3ZO7MIT.js} +2 -2
- package/dist/cdn/GE3LTPPF.js +4 -0
- package/dist/cdn/GF2737YJ.js +4 -0
- package/dist/cdn/GR4AN2BB.js +4 -0
- package/dist/cdn/GR77ET4Z.js +4 -0
- package/dist/cdn/GRGUPIGF.js +4 -0
- package/dist/cdn/GRX4TT67.js +4 -0
- package/dist/cdn/{QWRWNIDQ.js → GVBPHZ73.js} +2 -2
- package/dist/cdn/GWEWKTQD.js +4 -0
- package/dist/cdn/{DOQSCVJD.js → HBFWVQZJ.js} +1 -1
- package/dist/cdn/HFO6QPTQ.js +4 -0
- package/dist/cdn/{32AM3PJ5.js → HLODJHMJ.js} +2 -2
- package/dist/cdn/HPYVFRQR.js +4 -0
- package/dist/cdn/HTH2X5OO.js +4 -0
- package/dist/cdn/HV64EGSU.js +4 -0
- package/dist/cdn/ICVSKVZS.js +4 -0
- package/dist/cdn/{UBAX43ZI.js → IGGTCIDR.js} +2 -2
- package/dist/cdn/IGNCHKQX.js +4 -0
- package/dist/cdn/IK7PL6QN.js +4 -0
- package/dist/cdn/ILIYPB2B.js +4 -0
- package/dist/cdn/{BIW7LQAB.js → IPOQGJ4M.js} +2 -2
- package/dist/cdn/{ZEHTSMNI.js → ISKHG6YT.js} +2 -2
- package/dist/cdn/ISQERAKQ.js +4 -0
- package/dist/cdn/IXA3XOQM.js +4 -0
- package/dist/cdn/J77D7DKV.js +4 -0
- package/dist/cdn/JBR5WEYU.js +4 -0
- package/dist/cdn/JDFYLXRO.js +4 -0
- package/dist/cdn/JIBDVZU5.js +4 -0
- package/dist/cdn/JJOJ6D27.js +4 -0
- package/dist/cdn/JNXWFKYJ.js +4 -0
- package/dist/cdn/JR2YGNGR.js +4 -0
- package/dist/cdn/JT37SW5R.js +4 -0
- package/dist/cdn/JWBTHUXH.js +4 -0
- package/dist/cdn/KD3KE77D.js +4 -0
- package/dist/cdn/KEBMKH6Z.js +4 -0
- package/dist/cdn/KEHAQC2R.js +4 -0
- package/dist/cdn/L5EDLGGP.js +4 -0
- package/dist/cdn/{RXFIRFZE.js → LA4UTU2N.js} +2 -2
- package/dist/cdn/LG6XNWLE.js +4 -0
- package/dist/cdn/{SEDGRHB7.js → LGSK6HZ2.js} +2 -2
- package/dist/cdn/LKBEX4XQ.js +4 -0
- package/dist/cdn/LN3XFOYJ.js +4 -0
- package/dist/cdn/{O3BCMGPN.js → LPI4F2QQ.js} +2 -2
- package/dist/cdn/{BR4XEJ4B.js → LVELBGXK.js} +2 -2
- package/dist/cdn/LVRY32ZM.js +4 -0
- package/dist/cdn/LWCJIUB3.js +4 -0
- package/dist/cdn/LXB5VZCG.js +4 -0
- package/dist/cdn/MAS7ZWEU.js +4 -0
- package/dist/cdn/MF2NFBVQ.js +4 -0
- package/dist/cdn/MF5PIPZN.js +4 -0
- package/dist/cdn/MJUACG4Z.js +4 -0
- package/dist/cdn/MLGV6336.js +4 -0
- package/dist/cdn/MLSXRHY4.js +4 -0
- package/dist/cdn/MQT5Q5AY.js +4 -0
- package/dist/cdn/MV6JHUNW.js +4 -0
- package/dist/cdn/MWPAVG7Y.js +4 -0
- package/dist/cdn/{5T5JJGIY.js → MXKX43IF.js} +2 -2
- package/dist/cdn/N3C4MSSG.js +4 -0
- package/dist/cdn/{U2SXGKX4.js → N4UG4QXS.js} +2 -2
- package/dist/cdn/NCTQBVVA.js +4 -0
- package/dist/cdn/{MI6G3PVS.js → NDTMUWWV.js} +2 -2
- package/dist/cdn/NGC66WJ2.js +4 -0
- package/dist/cdn/NQ4BG6Y2.js +4 -0
- package/dist/cdn/{MD5JUHBL.js → NZOVREIM.js} +2 -2
- package/dist/cdn/O7UCAF5M.js +4 -0
- package/dist/cdn/OEM4FCAH.js +4 -0
- package/dist/cdn/OLXZMEFY.js +4 -0
- package/dist/cdn/ONJ2QBMV.js +4 -0
- package/dist/cdn/OXHFC77P.js +4 -0
- package/dist/cdn/OZ3TQUPM.js +4 -0
- package/dist/cdn/P4GNHID4.js +4 -0
- package/dist/cdn/{FMOTQNWT.js → P7YUDQHP.js} +2 -2
- package/dist/cdn/{MK6DQGSF.js → PESYNCDN.js} +2 -2
- package/dist/cdn/{PG4Z6IM6.js → PESZMZGP.js} +2 -2
- package/dist/cdn/PLYD7E44.js +4 -0
- package/dist/cdn/PNT2B2WF.js +4 -0
- package/dist/cdn/{DFXD6UAY.js → POEHXXRY.js} +2 -2
- package/dist/cdn/PTH2FFGR.js +4 -0
- package/dist/cdn/PUHRBH35.js +4 -0
- package/dist/cdn/PVHPJ5IA.js +4 -0
- package/dist/cdn/QG7A6GWR.js +4 -0
- package/dist/cdn/QGFUHVYS.js +4 -0
- package/dist/cdn/QIP2OSPJ.js +4 -0
- package/dist/cdn/{IFZJKELT.js → QJXOY2Z6.js} +2 -2
- package/dist/cdn/R6I6QBXB.js +4 -0
- package/dist/cdn/RCAJFGXB.js +4 -0
- package/dist/cdn/RL3Z5ZIG.js +4 -0
- package/dist/cdn/RPZWKLAH.js +4 -0
- package/dist/cdn/{E7UOBFTE.js → RQLIBSGG.js} +2 -2
- package/dist/cdn/S36KXTBZ.js +4 -0
- package/dist/cdn/S3EVC26P.js +4 -0
- package/dist/cdn/S3HP3HVG.js +4 -0
- package/dist/cdn/S5OBEMRR.js +4 -0
- package/dist/cdn/{LFERT3PE.js → SBE2EB4C.js} +1 -1
- package/dist/cdn/SBHDGTTZ.js +4 -0
- package/dist/cdn/SJPTHDK2.js +4 -0
- package/dist/cdn/SSO6AU3Z.js +4 -0
- package/dist/cdn/SVFUZFFG.js +4 -0
- package/dist/cdn/SWXE4UO2.js +4 -0
- package/dist/cdn/SXKRSGGH.js +4 -0
- package/dist/cdn/TJWOPI25.js +4 -0
- package/dist/cdn/{UUBRHGGR.js → TVAAWXV3.js} +2 -2
- package/dist/cdn/TVZZHIAF.js +4 -0
- package/dist/cdn/{MQL4RPHT.js → TXWB6F7V.js} +2 -2
- package/dist/cdn/U7ZFHRWZ.js +4 -0
- package/dist/cdn/{7ZTK5RNR.js → UCK6UFYC.js} +2 -2
- package/dist/cdn/UM5UZVNR.js +4 -0
- package/dist/cdn/UUW2QLFI.js +4 -0
- package/dist/cdn/{2WWNPYIH.js → UW5UPGBC.js} +2 -2
- package/dist/cdn/V5FLQRFL.js +4 -0
- package/dist/cdn/VBTOIO7B.js +4 -0
- package/dist/cdn/VDS77KMI.js +4 -0
- package/dist/cdn/VILIDCJR.js +4 -0
- package/dist/cdn/{HUMIV3VH.js → VIP4QCWY.js} +2 -2
- package/dist/cdn/VKLXH46A.js +4 -0
- package/dist/cdn/{2RQATXIO.js → VPEXIWPZ.js} +2 -2
- package/dist/cdn/VSRAD3YG.js +4 -0
- package/dist/cdn/VTZOAWNC.js +4 -0
- package/dist/cdn/VXQI4EIZ.js +4 -0
- package/dist/cdn/W4QDMZ6Q.js +4 -0
- package/dist/cdn/W4VRYJ4U.js +4 -0
- package/dist/cdn/W5WTAOCF.js +4 -0
- package/dist/cdn/WEYIXGE4.js +4 -0
- package/dist/cdn/WHAYWTF5.js +4 -0
- package/dist/cdn/{MIZIJT77.js → WM66Z6VL.js} +1 -1
- package/dist/cdn/WO7UHNZ7.js +4 -0
- package/dist/cdn/{BZC6X3RM.js → WQSN425R.js} +2 -2
- package/dist/cdn/WSEZKLWP.js +4 -0
- package/dist/cdn/WT3DBNFU.js +4 -0
- package/dist/cdn/WYYJ5WQY.js +4 -0
- package/dist/cdn/{YY62WYQK.js → X6O3UK7O.js} +1 -1
- package/dist/cdn/XEBKJSBU.js +4 -0
- package/dist/cdn/XXCYGOV7.js +4 -0
- package/dist/cdn/YH2TK37D.js +4 -0
- package/dist/cdn/YIUZRZJS.js +4 -0
- package/dist/cdn/YZBBODTV.js +4 -0
- package/dist/cdn/YZE5HZDJ.js +4 -0
- package/dist/cdn/Z3QCHMQN.js +4 -0
- package/dist/cdn/{XAAWUQP3.js → Z7O4D4FY.js} +2 -2
- package/dist/cdn/ZCZFLWGN.js +4 -0
- package/dist/cdn/{R2S3OK5G.js → ZEY732TR.js} +1 -1
- package/dist/cdn/ZN5BORFE.js +4 -0
- package/dist/cdn/ZNODKXO4.js +4 -0
- package/dist/cdn/{6DWBG7BD.js → ZPDFQVRB.js} +1 -1
- package/dist/cdn/ZQLMEFI7.js +4 -0
- package/dist/cdn/ZUB7JS6B.js +4 -0
- package/dist/cdn/ZWIQ5FPN.js +4 -0
- package/dist/cdn/ZWNKCU7T.js +4 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +52 -43
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +79 -61
- 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/constants.js +10 -0
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +33 -33
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +2 -2
- 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 +5 -5
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +53 -0
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +79 -49
- 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 +5 -5
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +72 -56
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
- package/dist/components/arcgis-color-select/customElement.js +59 -0
- package/dist/components/arcgis-color-select/index.d.ts +5 -0
- package/dist/components/arcgis-color-select/index.js +5 -0
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +66 -65
- package/dist/components/arcgis-coordinate-conversion/customElement.js +13 -13
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +209 -250
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +5 -15
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +9 -5
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +71 -52
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +33 -8
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +37 -20
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
- package/dist/components/arcgis-elevation-profile/customElement.js +585 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +16 -15
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +37 -31
- package/dist/components/arcgis-feature/customElement.js +15 -15
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- 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.d.ts +1 -2
- package/dist/components/arcgis-feature-fields/customElement.js +27 -27
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +9 -9
- package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
- package/dist/components/arcgis-feature-table/customElement.d.ts +21 -8
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +10 -9
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +9 -11
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +6 -5
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +5 -5
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +11 -7
- 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.d.ts +29 -14
- 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 +10 -10
- 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 +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- 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 +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +103 -21
- package/dist/components/arcgis-link-chart/customElement.js +27 -25
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +3 -3
- package/dist/components/arcgis-locate/customElement.js +9 -7
- package/dist/components/arcgis-map/customElement.d.ts +517 -51
- package/dist/components/arcgis-map/customElement.js +26 -24
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
- 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.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +3 -3
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +53 -11
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +27 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +56 -0
- package/dist/components/arcgis-presentation/customElement.js +140 -0
- package/dist/components/arcgis-presentation/index.d.ts +2 -0
- package/dist/components/arcgis-presentation/index.js +2 -0
- package/dist/components/arcgis-print/customElement.d.ts +56 -11
- package/dist/components/arcgis-print/customElement.js +47 -32
- package/dist/components/arcgis-print/utils.d.ts +0 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +5 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +80 -19
- package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
- package/dist/components/arcgis-print-exports-panel/index.js +4 -1
- package/dist/components/arcgis-print-format-select/customElement.js +15 -16
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +58 -24
- package/dist/components/arcgis-print-layout-advanced-options/index.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/index.js +2 -0
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +8 -2
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
- 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 +22 -23
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
- package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/index.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +149 -22
- package/dist/components/arcgis-scene/customElement.js +26 -24
- package/dist/components/arcgis-search/customElement.d.ts +25 -23
- 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/ShadowCastViewModel.d.ts +44 -0
- package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +220 -89
- package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
- package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
- package/dist/components/arcgis-shadow-cast/index.js +9 -0
- package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +4 -4
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -4
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +7 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +5 -5
- package/dist/components/arcgis-track/customElement.js +2 -2
- 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.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +7 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +69 -40
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +16 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +175 -110
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +173 -117
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +26 -6
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -34
- package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +5 -5
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
- package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +21 -13
- package/dist/components/arcgis-video/customElement.js +3 -3
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +220 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +245 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +11 -0
- package/dist/components/arcgis-volume-measurement/index.js +11 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +20 -4
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +6 -0
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +10682 -9046
- package/dist/docs/docs.json +7051 -5602
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +832 -546
- package/dist/docs/web-types.json +1780 -1157
- package/dist/index.d.ts +139 -125
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +40 -36
- package/dist/support/AnalysisViewModel.d.ts +4 -3
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/support/time-utils.d.ts +6 -0
- package/dist/types/components.d.ts +1 -1
- package/dist/types/lumina.d.ts +120 -105
- package/dist/types/preact.d.ts +125 -108
- package/dist/types/preact10.d.ts +129 -110
- package/dist/types/react.d.ts +130 -111
- package/dist/types/stencil.d.ts +120 -105
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +4 -4
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/package.json +5 -5
- package/dist/cdn/27OLXDSF.js +0 -4
- package/dist/cdn/2DI73YIB.js +0 -4
- package/dist/cdn/2F2NXYKC.js +0 -4
- package/dist/cdn/2HMB76Z5.js +0 -4
- package/dist/cdn/3LIPNJER.js +0 -4
- package/dist/cdn/3PHUVNMO.js +0 -4
- package/dist/cdn/3U4KMEXD.js +0 -4
- package/dist/cdn/3YNGI2TD.js +0 -4
- package/dist/cdn/44D2CQXK.js +0 -4
- package/dist/cdn/4HLE3NFA.js +0 -4
- package/dist/cdn/4RZ2KUNN.js +0 -4
- package/dist/cdn/54WB3EST.js +0 -4
- package/dist/cdn/576GJQTN.js +0 -4
- package/dist/cdn/5VJNY7VQ.js +0 -4
- package/dist/cdn/5WLA2JTM.js +0 -4
- package/dist/cdn/62ACF4GK.js +0 -4
- package/dist/cdn/6A5UTVGJ.js +0 -4
- package/dist/cdn/6LADRP6U.js +0 -4
- package/dist/cdn/6UMHGQQQ.js +0 -4
- package/dist/cdn/7AMVYS4J.js +0 -4
- package/dist/cdn/7DDS4PSE.js +0 -4
- package/dist/cdn/7MSVBRFX.js +0 -4
- package/dist/cdn/7OFHFYVY.js +0 -4
- package/dist/cdn/7ONVHE43.js +0 -4
- package/dist/cdn/7RMBEOAT.js +0 -4
- package/dist/cdn/7T3OMP3P.js +0 -4
- package/dist/cdn/7X66YHTY.js +0 -4
- package/dist/cdn/A4XLJBOQ.js +0 -4
- package/dist/cdn/AHWDCV4N.js +0 -4
- package/dist/cdn/AJTP62TS.js +0 -4
- package/dist/cdn/AMBRZDBB.js +0 -4
- package/dist/cdn/AMFMXMYU.js +0 -4
- package/dist/cdn/API4DWYS.js +0 -4
- package/dist/cdn/ARBQIEOZ.js +0 -4
- package/dist/cdn/AVCXAEKW.js +0 -4
- package/dist/cdn/AZ2OINQZ.js +0 -4
- package/dist/cdn/BAYBJSRA.js +0 -4
- package/dist/cdn/BHLLVXY4.js +0 -4
- package/dist/cdn/BMHY3L6P.js +0 -4
- package/dist/cdn/BS72LKTC.js +0 -4
- package/dist/cdn/BUQLVGX2.js +0 -4
- package/dist/cdn/BW3BKF7S.js +0 -4
- package/dist/cdn/CF5WWETS.js +0 -4
- package/dist/cdn/CKKEUYVF.js +0 -4
- package/dist/cdn/CRLVMPT6.js +0 -4
- package/dist/cdn/DDDCENIA.js +0 -4
- package/dist/cdn/DF6FT47K.js +0 -6
- package/dist/cdn/DFGIY6KN.js +0 -4
- package/dist/cdn/DPL4VHPW.js +0 -4
- package/dist/cdn/DTW55COI.js +0 -4
- package/dist/cdn/DXMYVDTD.js +0 -4
- package/dist/cdn/E5R6OKXP.js +0 -4
- package/dist/cdn/EAW4FQUJ.js +0 -4
- package/dist/cdn/EHFI4NFD.js +0 -4
- package/dist/cdn/EJG47NJ4.js +0 -4
- package/dist/cdn/EKGSDQRG.js +0 -4
- package/dist/cdn/EO3JN6RG.js +0 -4
- package/dist/cdn/EQBVGZUT.js +0 -4
- package/dist/cdn/EQDSFFHS.js +0 -4
- package/dist/cdn/ES26WJJB.js +0 -4
- package/dist/cdn/EU5DIWMP.js +0 -4
- package/dist/cdn/EVNKT7CS.js +0 -4
- package/dist/cdn/EZXIWACW.js +0 -4
- package/dist/cdn/F7YID2WS.js +0 -4
- package/dist/cdn/FO5HN26Z.js +0 -4
- package/dist/cdn/FRJJS6WF.js +0 -4
- package/dist/cdn/FYCB5LC4.js +0 -4
- package/dist/cdn/G7AINTVJ.js +0 -4
- package/dist/cdn/GCLPCPGB.js +0 -4
- package/dist/cdn/GFZEN7IR.js +0 -4
- package/dist/cdn/GQTIMLNH.js +0 -4
- package/dist/cdn/GWSNNZXP.js +0 -4
- package/dist/cdn/HQVB755E.js +0 -4
- package/dist/cdn/I3FHEM2H.js +0 -4
- package/dist/cdn/IB4GIMGM.js +0 -4
- package/dist/cdn/IPFACLKD.js +0 -4
- package/dist/cdn/IVS6B4TK.js +0 -4
- package/dist/cdn/IWZMOW4V.js +0 -4
- package/dist/cdn/J4VS6ZIF.js +0 -4
- package/dist/cdn/JCHQDIR6.js +0 -4
- package/dist/cdn/JE4BSPXI.js +0 -4
- package/dist/cdn/JLMYKOTB.js +0 -4
- package/dist/cdn/JU3SPL5S.js +0 -4
- package/dist/cdn/K2F7CBO6.js +0 -4
- package/dist/cdn/KCGCGEF7.js +0 -4
- package/dist/cdn/KD57RLBJ.js +0 -4
- package/dist/cdn/KGX5BMVF.js +0 -4
- package/dist/cdn/KSXL7KZW.js +0 -4
- package/dist/cdn/KUJNPIQB.js +0 -4
- package/dist/cdn/KYJ6ODES.js +0 -4
- package/dist/cdn/LHPNHGL5.js +0 -4
- package/dist/cdn/LOD2SN53.js +0 -4
- package/dist/cdn/LU2ZEFNK.js +0 -4
- package/dist/cdn/MFNCONT5.js +0 -4
- package/dist/cdn/MLMK5DYB.js +0 -4
- package/dist/cdn/MQL72DKL.js +0 -4
- package/dist/cdn/MSZQYK2V.js +0 -4
- package/dist/cdn/MUQAKAUR.js +0 -4
- package/dist/cdn/NIX62YJ5.js +0 -4
- package/dist/cdn/NK4JJJ3J.js +0 -4
- package/dist/cdn/O65PIWHP.js +0 -4
- package/dist/cdn/OI7L5JYC.js +0 -4
- package/dist/cdn/OMYEERQN.js +0 -4
- package/dist/cdn/OO7IZEBI.js +0 -4
- package/dist/cdn/OXUZ35GH.js +0 -5
- package/dist/cdn/P34SUK6J.js +0 -4
- package/dist/cdn/PC45POAO.js +0 -4
- package/dist/cdn/PG4JSSVK.js +0 -4
- package/dist/cdn/PGKZ2HPF.js +0 -4
- package/dist/cdn/PM4SNJDH.js +0 -4
- package/dist/cdn/PMSGGWUW.js +0 -4
- package/dist/cdn/Q6DSCXON.js +0 -4
- package/dist/cdn/QMC3TY3W.js +0 -9
- package/dist/cdn/QP3MAEDM.js +0 -4
- package/dist/cdn/QWW3MHGA.js +0 -4
- package/dist/cdn/R4DMYEQC.js +0 -4
- package/dist/cdn/R67Q3OIO.js +0 -4
- package/dist/cdn/R7CXX3HM.js +0 -4
- package/dist/cdn/RGNZOLUW.js +0 -4
- package/dist/cdn/RHKQGAZU.js +0 -4
- package/dist/cdn/RJ2F4ZE6.js +0 -4
- package/dist/cdn/RQX5L4VL.js +0 -4
- package/dist/cdn/S2R2RQ6R.js +0 -4
- package/dist/cdn/SDICLWFI.js +0 -4
- package/dist/cdn/SGARZDQH.js +0 -4
- package/dist/cdn/SIPZMYB4.js +0 -4
- package/dist/cdn/SNWM3QNT.js +0 -4
- package/dist/cdn/STOVGTPC.js +0 -4
- package/dist/cdn/UB43YIRC.js +0 -4
- package/dist/cdn/UDXVD5XZ.js +0 -4
- package/dist/cdn/UFJJSQPL.js +0 -4
- package/dist/cdn/UGGH2ZYL.js +0 -4
- package/dist/cdn/UP6V7HAC.js +0 -4
- package/dist/cdn/UVKUXDIO.js +0 -4
- package/dist/cdn/VAE46PTT.js +0 -4
- package/dist/cdn/VCWGFFLB.js +0 -4
- package/dist/cdn/VF5ZEZIA.js +0 -4
- package/dist/cdn/VGOXORF3.js +0 -4
- package/dist/cdn/VVFA7BGW.js +0 -4
- package/dist/cdn/WDLQOKMF.js +0 -4
- package/dist/cdn/WHXM4RSM.js +0 -4
- package/dist/cdn/WI5OAAU5.js +0 -4
- package/dist/cdn/WPSYRM5U.js +0 -4
- package/dist/cdn/WQX34SJR.js +0 -4
- package/dist/cdn/WSROCQLI.js +0 -4
- package/dist/cdn/WYSUU2YF.js +0 -4
- package/dist/cdn/X2HGZACW.js +0 -4
- package/dist/cdn/X73IB46P.js +0 -4
- package/dist/cdn/XITYDU6J.js +0 -4
- package/dist/cdn/XUUYGDDT.js +0 -4
- package/dist/cdn/YGHWVOXY.js +0 -4
- package/dist/cdn/YIIAEYM6.js +0 -4
- package/dist/cdn/Z3AW5R2E.js +0 -4
- package/dist/cdn/Z3OUKTDA.js +0 -4
- package/dist/cdn/Z3P3YHQ6.js +0 -4
- package/dist/cdn/ZEKB6D5C.js +0 -4
- package/dist/cdn/ZIIGODZS.js +0 -4
- package/dist/cdn/ZY3XCOUK.js +0 -4
- package/dist/cdn/ZYM4PPCW.js +0 -4
- package/dist/cdn/ZZ7RT7QM.js +0 -4
- package/dist/cdn/ZZRSXHDL.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-TW.json +0 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -90
- package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
- package/dist/components/arcgis-print-exported-link/index.js +0 -7
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +0 -33
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +0 -72
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -6
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -6
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -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,220 @@
|
|
|
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 added to a
|
|
13
|
+
* [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) to
|
|
14
|
+
* calculate and visualize the volume of ground surfaces within a defined polygonal area.
|
|
15
|
+
*
|
|
16
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/analysis-volume-measurement/)*
|
|
17
|
+
*
|
|
18
|
+
* Volume Measurement component offers multiple volume measurement modes:
|
|
19
|
+
*
|
|
20
|
+
* - **Cut & Fill Volume**: Computes cut and fill volumes relative to a flat, horizontal surface defined by the input
|
|
21
|
+
* polygon. Ideal for estimating the amount of material to remove or add to level terrain for construction.
|
|
22
|
+
*
|
|
23
|
+
* - **Stockpile Volume**: Calculates cut and fill volumes against a surface approximated from the polygon's coordinates.
|
|
24
|
+
* Useful for estimating the volume of temporary ground features such as piles of material, mounds or depressions.
|
|
25
|
+
*
|
|
26
|
+
* The analysis depends on the scene's spatial reference, and the length of the measured perimeter:
|
|
27
|
+
*
|
|
28
|
+
* - In **Projected Coordinate Systems (PCS)**, apart from Web Mercator used in **local** viewing mode, there is no limit
|
|
29
|
+
* to the measurement's perimeter, making it the recommended setup for analysis as accuracy is not compromised.
|
|
30
|
+
*
|
|
31
|
+
* - In **Web Mercator PCS** used in **local** viewing mode, if the measurement's perimeter exceeds 10 km, the analysis is considered invalid due to potential accuracy issues.
|
|
32
|
+
*
|
|
33
|
+
* - In **Geographic Coordinate Systems (GCS)** and **Web Mercator** in **global** viewing mode, if the measurement's perimeter exceeds 50 km, the analysis is considered invalid due to potential accuracy issues.
|
|
34
|
+
*
|
|
35
|
+
*
|
|
36
|
+
* **Known Limitations**
|
|
37
|
+
*
|
|
38
|
+
* - Volume Measurement component can only be added to a
|
|
39
|
+
* [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
40
|
+
* - The results of the tool vary depending on the zoom level, as changes in zoom level affect the level of detail (LOD) of the scene geometry.
|
|
41
|
+
* - If the view is too close or too far from the measurement polygon, the results will not be computed due to LOD-induced inaccuracies.
|
|
42
|
+
* - The elevation of the target surface in the "Cut & Fill Volume" mode is restricted to the range of -11 km and +9 km.
|
|
43
|
+
* - This tool operates only on the non-transparent [Map.ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#ground),
|
|
44
|
+
* [IntegratedMeshLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-IntegratedMeshLayer.html)
|
|
45
|
+
* and an [IntegratedMesh3DTilesLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-IntegratedMesh3DTilesLayer.html).
|
|
46
|
+
* - This tool does not support WGS 1984 spatial reference in a local
|
|
47
|
+
* [viewing mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-webscene-InitialViewProperties.html#viewingMode).
|
|
48
|
+
*
|
|
49
|
+
* **Things to consider**
|
|
50
|
+
*
|
|
51
|
+
* - In "Cut & Fill Volume" mode, you can hover over the shift manipulator, press `Tab` to enable tooltip input,
|
|
52
|
+
* and enter the target surface elevation.
|
|
53
|
+
* - Snapping is enabled by default. This can be temporarily disabled by holding the `CTRL` key.
|
|
54
|
+
* - Layer types currently supported for snapping are:
|
|
55
|
+
* [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
|
|
56
|
+
* [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) (except Mesh geometries),
|
|
57
|
+
* [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
|
|
58
|
+
* [WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html),
|
|
59
|
+
* [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
|
|
60
|
+
* [3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
|
|
61
|
+
* and [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).
|
|
62
|
+
*
|
|
63
|
+
* **See also**
|
|
64
|
+
*
|
|
65
|
+
* - [Volume Measurement Analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurementAnalysis.html)
|
|
66
|
+
* - [VolumeMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-VolumeMeasurementAnalysisView3D.html)
|
|
67
|
+
* - [VolumeMeasurementCutFillOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurement-VolumeMeasurementCutFillOptions.html)
|
|
68
|
+
* - [VolumeMeasurementResult](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-VolumeMeasurement-VolumeMeasurementResult.html)
|
|
69
|
+
* - [VolumeMeasurementDisplayUnits](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurement-VolumeMeasurementDisplayUnits.html)
|
|
70
|
+
* - [VolumeMeasurementInputUnits](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurement-VolumeMeasurementInputUnits.html)
|
|
71
|
+
* - [VolumeMeasurementError](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-VolumeMeasurement-VolumeMeasurementError.html)
|
|
72
|
+
* - [Sample - Volume measurement analysis object](https://developers.arcgis.com/javascript/latest/sample-code/analysis-volume-measurement/)
|
|
73
|
+
*
|
|
74
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-volume-measurement/)
|
|
75
|
+
*
|
|
76
|
+
* @since 5.0
|
|
77
|
+
*/
|
|
78
|
+
export declare class ArcgisVolumeMeasurement extends LitElement {
|
|
79
|
+
/**
|
|
80
|
+
* The view associated with the component.
|
|
81
|
+
* > **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.
|
|
82
|
+
*/
|
|
83
|
+
view?: __esri.SceneView | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* The [VolumeMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-VolumeMeasurementAnalysis.html)
|
|
86
|
+
* created or modified by the component.
|
|
87
|
+
*
|
|
88
|
+
* When connecting the Volume Measurement component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
89
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
90
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
91
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
92
|
+
*
|
|
93
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
94
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
95
|
+
*
|
|
96
|
+
* ```js
|
|
97
|
+
* // Create the analysis.
|
|
98
|
+
* const volumeMeasurementAnalysis = new VolumeMeasurementAnalysis({
|
|
99
|
+
* geometry: new Polygon({
|
|
100
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
101
|
+
* rings: [
|
|
102
|
+
* [
|
|
103
|
+
* [-13624861.22274897, 4550346.5519295, 63.378210234455764],
|
|
104
|
+
* [-13624935.305160372, 4550273.144585712, 63.37829629518092],
|
|
105
|
+
* [-13624995.61798748, 4550334.030096778, 63.37819860037416],
|
|
106
|
+
* [-13624921.53589075, 4550407.42357004, 63.3783810287714],
|
|
107
|
+
* [-13624861.22274897, 4550346.5519295, 63.378210234455764]
|
|
108
|
+
* ]
|
|
109
|
+
* ]
|
|
110
|
+
* })
|
|
111
|
+
* });
|
|
112
|
+
* // Get the Scene and measurement component and wait until they are ready.
|
|
113
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
114
|
+
* await viewElement.viewOnReady();
|
|
115
|
+
* const volumeMeasurementElement = document.querySelector("arcgis-volume-measurement");
|
|
116
|
+
* await volumeMeasurementElement.componentOnReady();
|
|
117
|
+
* // Add the analysis to the Scene component.
|
|
118
|
+
* viewElement.analyses.add(volumeMeasurementAnalysis);
|
|
119
|
+
* // Connect the analysis to the measurement component:
|
|
120
|
+
* volumeMeasurementElement.analysis = volumeMeasurementAnalysis;
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
analysis: VolumeMeasurementAnalysis;
|
|
124
|
+
/**
|
|
125
|
+
* If true, the component will not be destroyed automatically when it is
|
|
126
|
+
* disconnected from the document. This is useful when you want to move the
|
|
127
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
128
|
+
* 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
|
|
129
|
+
* prevent memory leaks.
|
|
130
|
+
*
|
|
131
|
+
* @default false
|
|
132
|
+
*/
|
|
133
|
+
autoDestroyDisabled: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Icon which represents the component.
|
|
136
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
137
|
+
*
|
|
138
|
+
* @default "measure-area"
|
|
139
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
140
|
+
*/
|
|
141
|
+
icon?: HTMLCalciteIconElement["icon"];
|
|
142
|
+
/** The component's default label. */
|
|
143
|
+
label?: string;
|
|
144
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
145
|
+
position?: __esri.UIPosition;
|
|
146
|
+
/**
|
|
147
|
+
* 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.
|
|
148
|
+
*
|
|
149
|
+
* @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)
|
|
150
|
+
*/
|
|
151
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
152
|
+
/**
|
|
153
|
+
* The component's state. The values mean the following:
|
|
154
|
+
*
|
|
155
|
+
* * `disabled` - not ready yet
|
|
156
|
+
* * `ready` - ready for measuring
|
|
157
|
+
* * `measuring` - currently measuring
|
|
158
|
+
* * `measured` - measuring has finished
|
|
159
|
+
*/
|
|
160
|
+
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
161
|
+
/**
|
|
162
|
+
* Unit system (imperial, metric) or specific unit used for displaying the volume values. Possible values are listed in
|
|
163
|
+
* [volumeUnitOptions](#volumeUnitOptions).
|
|
164
|
+
*/
|
|
165
|
+
volumeUnit: __esri.SystemOrVolumeUnit;
|
|
166
|
+
/**
|
|
167
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
168
|
+
* 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`.
|
|
169
|
+
* Possible [volumeUnit](#volumeUnit) values can only be a subset of this list.
|
|
170
|
+
*/
|
|
171
|
+
volumeUnitOptions: __esri.SystemOrVolumeUnit[];
|
|
172
|
+
/**
|
|
173
|
+
* Unit system (imperial, metric) or specific unit used for displaying the cut and fill target elevation. Possible values are listed in
|
|
174
|
+
* [elevationUnitOptions](#elevationUnitOptions).
|
|
175
|
+
*/
|
|
176
|
+
elevationUnit: __esri.SystemOrLengthUnit;
|
|
177
|
+
/**
|
|
178
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
179
|
+
* By default, the following units are included: `metric`, `imperial`, `meters`, `millimeters`, `centimeters`, `decimeters`, `kilometers`, `inches`, `feet`, `yards`, `miles`, `nautical-miles`, `us-feet`.
|
|
180
|
+
* Possible [elevationUnit](#elevationUnit) values can only be a subset of this list.
|
|
181
|
+
*/
|
|
182
|
+
elevationUnitOptions: __esri.SystemOrLengthUnit[];
|
|
183
|
+
/**
|
|
184
|
+
* Hides the header.
|
|
185
|
+
*
|
|
186
|
+
* @default false
|
|
187
|
+
*/
|
|
188
|
+
hideHeader: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Hides the units dropdown selectors.
|
|
191
|
+
*
|
|
192
|
+
* @default false
|
|
193
|
+
*/
|
|
194
|
+
hideUnits: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Hides the mode selection dropdown.
|
|
197
|
+
*
|
|
198
|
+
* @default false
|
|
199
|
+
*/
|
|
200
|
+
hideModeSelect: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Indicates the heading level to use for the headings in the component.
|
|
203
|
+
*
|
|
204
|
+
* @default 2
|
|
205
|
+
*/
|
|
206
|
+
headingLevel: HeadingLevel;
|
|
207
|
+
/** Clears the current measurement. */
|
|
208
|
+
clear(): Promise<void>;
|
|
209
|
+
/** Permanently destroy the component. */
|
|
210
|
+
destroy(): Promise<void>;
|
|
211
|
+
/** Starts a new measurement. */
|
|
212
|
+
start(): Promise<void>;
|
|
213
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
214
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
215
|
+
name: "analysis" | "state";
|
|
216
|
+
}>;
|
|
217
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
218
|
+
readonly arcgisReady: TargetedEvent<this, void>;
|
|
219
|
+
}
|
|
220
|
+
export {};
|
|
@@ -0,0 +1,245 @@
|
|
|
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 u, 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 j } from "../../chunks/async-utils.js";
|
|
14
|
+
import { H as T } from "../../chunks/heading.js";
|
|
15
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
16
|
+
import { V as g } 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.71 */
|
|
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)}.error-message{display:flex;gap:var(--calcite-spacing-md);align-items:center;color:var(--calcite-color-status-warning);>p{margin:0}}`;
|
|
22
|
+
var F = Object.defineProperty, R = Object.getOwnPropertyDescriptor, s = (i, e, t, n) => {
|
|
23
|
+
for (var l = n > 1 ? void 0 : n ? R(e, t) : e, c = i.length - 1, d; c >= 0; c--)
|
|
24
|
+
(d = i[c]) && (l = (n ? d(e, t, l) : d(l)) || l);
|
|
25
|
+
return n && l && F(e, t, l), l;
|
|
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: u(e?.totalVolume, t),
|
|
68
|
+
cutVolume: u(e?.cutVolume, t),
|
|
69
|
+
fillVolume: u(e?.fillVolume, t),
|
|
70
|
+
netVolume: u(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
|
+
j(this.viewModel.start());
|
|
185
|
+
}
|
|
186
|
+
render() {
|
|
187
|
+
const { messages: e, viewModel: t } = this, { measurement: n, state: l } = t, c = this.volumeUnitOptions, d = this.volumeUnit, b = this.elevationUnitOptions, x = this.elevationUnit, h = t.analysisView?.error?.name;
|
|
188
|
+
return a`<div aria-label=${e.componentLabel ?? z} class=${V({
|
|
189
|
+
container: !0,
|
|
190
|
+
[f.widget]: !0,
|
|
191
|
+
[f.panel]: !0
|
|
192
|
+
})} role=presentation>${l === "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=${(p) => {
|
|
193
|
+
this.analysis.displayUnits.elevation = p.detail;
|
|
194
|
+
}}></arcgis-unit-select><arcgis-unit-select .options=${c} .selectLabel=${e.volumeUnit} .value=${d} @arcgisUnitSelectChange=${(p) => {
|
|
195
|
+
this.analysis.displayUnits.volume = p.detail;
|
|
196
|
+
}}></arcgis-unit-select></div></calcite-popover>${g({ hidden: this.hideHeader && this.hideUnits, children: a`<div class="header">${g({ hidden: this.hideHeader, children: T({ class: "heading", level: this.headingLevel, children: e.title }) })}<span style=${M({ flex: 1 })}></span>${g({ hidden: this.hideUnits, children: a`<calcite-action icon=gear slot=settings .text=${e.displaySettings} ${H(this.#e)}></calcite-action>` })}</div>` })}${g({ hidden: this.hideModeSelect, children: a`<calcite-label>${this.messages.measurementMode}<calcite-select label="Select measurement mode" @calciteSelectChange=${(p) => {
|
|
197
|
+
this.analysis.measureType = p.target.selectedOption.value;
|
|
198
|
+
}}><calcite-option value=cut-fill>${e.cutAndFillMode}</calcite-option><calcite-option value=stockpile>${e.stockpileMode}</calcite-option></calcite-select></calcite-label>` })}${h != null && q({ error: h, messages: e }) || ""}<arcgis-measurement-content .state=${t.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} layout=inline-space-between .items=${[
|
|
199
|
+
{
|
|
200
|
+
title: e.cutVolume,
|
|
201
|
+
measurement: n.cutVolume
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
title: e.fillVolume,
|
|
205
|
+
measurement: n.fillVolume
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
title: e.netVolume,
|
|
209
|
+
measurement: n.netVolume
|
|
210
|
+
}
|
|
211
|
+
]}><calcite-button slot=actions width=full .disabled=${l === "disabled"} @click=${() => {
|
|
212
|
+
this.viewModel.start({ clear: !0 });
|
|
213
|
+
}}>${e.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
function q(i) {
|
|
217
|
+
let e;
|
|
218
|
+
const { messages: t, error: n } = i;
|
|
219
|
+
switch (n) {
|
|
220
|
+
case "distance-too-far":
|
|
221
|
+
e = t.errorDistanceTooFar;
|
|
222
|
+
break;
|
|
223
|
+
case "distance-too-close":
|
|
224
|
+
e = t.errorDistanceTooClose;
|
|
225
|
+
break;
|
|
226
|
+
case "perimeter-too-large":
|
|
227
|
+
e = t.errorPerimeterTooLarge;
|
|
228
|
+
break;
|
|
229
|
+
case "unsupported-coordinate-system":
|
|
230
|
+
e = t.errorUnsupportedCoordinateSystem;
|
|
231
|
+
break;
|
|
232
|
+
case "unsupported-layer-transparency":
|
|
233
|
+
e = t.errorUnsupportedLayerTransparency;
|
|
234
|
+
break;
|
|
235
|
+
case "unknown":
|
|
236
|
+
default:
|
|
237
|
+
e = t.errorUnknown;
|
|
238
|
+
break;
|
|
239
|
+
}
|
|
240
|
+
return a`<div class="error-message"><calcite-icon icon=exclamation-mark-triangle scale=s class="error-icon"></calcite-icon><p>${e}</p></div>`;
|
|
241
|
+
}
|
|
242
|
+
w("arcgis-volume-measurement", B);
|
|
243
|
+
export {
|
|
244
|
+
B as ArcgisVolumeMeasurement
|
|
245
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
11
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
11
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function urlForMockedService(serviceName: string, serviceType?: string): string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JsxNode } from '@arcgis/lumina';
|
|
2
|
-
export declare function LabeledSlider({ label, value, disabled, onChange, }: {
|
|
3
|
-
label
|
|
2
|
+
export declare function LabeledSlider({ label, ariaLabel, value, disabled, onChange, }: {
|
|
3
|
+
label: string | undefined;
|
|
4
|
+
ariaLabel: string | undefined;
|
|
4
5
|
value?: number;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
onChange?: (value: number) => void;
|