@arcgis/map-components 5.0.0-next.2 → 5.0.0-next.21
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/24XNA3OF.js +4 -0
- package/dist/cdn/25JAF5AZ.js +4 -0
- package/dist/cdn/{RCUV5H2V.js → 2AX7IE5Y.js} +1 -1
- package/dist/cdn/2CLQRRRI.js +4 -0
- package/dist/cdn/{KBZ46AZB.js → 2NPH73QX.js} +2 -2
- package/dist/cdn/{C7RJNWOA.js → 2QHU4D6K.js} +1 -1
- package/dist/cdn/2S34KCLL.js +4 -0
- package/dist/cdn/2W25NBQQ.js +4 -0
- package/dist/cdn/{IUNO4GDY.js → 375RYBJL.js} +1 -1
- package/dist/cdn/3DEMDHHZ.js +4 -0
- package/dist/cdn/3DSFHU4T.js +4 -0
- package/dist/cdn/3DYWHZWE.js +4 -0
- package/dist/cdn/{EVVWYUQ6.js → 3EGA73RX.js} +2 -2
- package/dist/cdn/{MOOKKPWD.js → 3FUVUZUS.js} +2 -2
- package/dist/cdn/3I4ARDUA.js +4 -0
- package/dist/cdn/{4F255Q2I.js → 3JVPZBGB.js} +2 -2
- package/dist/cdn/{LW2KXU4H.js → 3KJBPRNQ.js} +2 -2
- package/dist/cdn/3NNUM27B.js +4 -0
- package/dist/cdn/{AG36YWTY.js → 3XH6PMIS.js} +2 -2
- package/dist/cdn/{QUEYDMQM.js → 3YH5PVTG.js} +2 -2
- package/dist/cdn/3Z3B3FUT.js +4 -0
- package/dist/cdn/{WQIHCSIB.js → 3ZUX4EMW.js} +2 -2
- package/dist/cdn/{7JWW45TB.js → 45HRDNX7.js} +2 -2
- package/dist/cdn/4E3CKVPN.js +4 -0
- package/dist/cdn/4NRC4ECR.js +4 -0
- package/dist/cdn/{FLOAUQJS.js → 4YHTUMCP.js} +2 -2
- package/dist/cdn/4Z4V7IB3.js +4 -0
- package/dist/cdn/55YM6FKZ.js +4 -0
- package/dist/cdn/{QQSTRBG5.js → 5H6Z377K.js} +2 -2
- package/dist/cdn/{GMXKAB4P.js → 5KURPCMY.js} +1 -1
- package/dist/cdn/{NGCUJMMV.js → 5MXHE7BW.js} +2 -2
- package/dist/cdn/5ORPWZY4.js +4 -0
- package/dist/cdn/5WHZWJLM.js +4 -0
- package/dist/cdn/{KINLQCMT.js → 66I3Q2D6.js} +2 -2
- package/dist/cdn/{7BF6TZXK.js → 6BGGRCJ7.js} +2 -2
- package/dist/cdn/{S57WM3UW.js → 6CGAQMBX.js} +2 -2
- package/dist/cdn/{ZHBKFF6D.js → 6O76RJI2.js} +2 -2
- package/dist/cdn/6QOHFJFZ.js +4 -0
- package/dist/cdn/{BZWAV4OI.js → 75Z637LG.js} +2 -2
- package/dist/cdn/772QWOSV.js +4 -0
- package/dist/cdn/{SLNGCIFR.js → 7E6RYSA5.js} +2 -2
- package/dist/cdn/7F4QLSFS.js +4 -0
- package/dist/cdn/7HJ4N5EY.js +4 -0
- package/dist/cdn/7HR7L2E4.js +4 -0
- package/dist/cdn/{QIHNJACI.js → 7N6MDBOX.js} +2 -2
- package/dist/cdn/{2ZJAWBCC.js → 7OC4FNSJ.js} +2 -2
- package/dist/cdn/{WMNU6EQE.js → 7RE23NUS.js} +2 -2
- package/dist/cdn/7W34S7DX.js +4 -0
- package/dist/cdn/A23L5AQ7.js +4 -0
- package/dist/cdn/A3KEHVFS.js +4 -0
- package/dist/cdn/{L2VWD5AA.js → ABJZNTU7.js} +2 -2
- package/dist/cdn/{DYE3OMWI.js → AC7KTHY5.js} +2 -2
- package/dist/cdn/AKHYENBF.js +4 -0
- package/dist/cdn/{SOKL4WDT.js → AS3FCHHG.js} +2 -2
- package/dist/cdn/AY374JF2.js +4 -0
- package/dist/cdn/AY4ACZXB.js +4 -0
- package/dist/cdn/BJLXUTHH.js +4 -0
- package/dist/cdn/BMRKHEDT.js +4 -0
- package/dist/cdn/BMZTQ37D.js +4 -0
- package/dist/cdn/BSA4VQVA.js +4 -0
- package/dist/cdn/BUSIYCON.js +4 -0
- package/dist/cdn/{TCN4TY3G.js → BWFV2235.js} +2 -2
- package/dist/cdn/BZ56UWMU.js +4 -0
- package/dist/cdn/{NJRBHNFE.js → CCSKXRAX.js} +2 -2
- package/dist/cdn/CLIS2HMO.js +4 -0
- package/dist/cdn/CM45GNIN.js +4 -0
- package/dist/cdn/CQ6TVLF6.js +4 -0
- package/dist/cdn/CV4MTDLI.js +4 -0
- package/dist/cdn/{YWABNYKW.js → CVLRFSFC.js} +2 -2
- package/dist/cdn/{2UUSKOCF.js → D4YUANLS.js} +2 -2
- package/dist/cdn/{XIM54QCG.js → DCWQERDJ.js} +2 -2
- package/dist/cdn/DLZSKULW.js +4 -0
- package/dist/cdn/{T3BYAPRC.js → EAHEIZYY.js} +2 -2
- package/dist/cdn/{MS724JQD.js → EGKX3XNO.js} +2 -2
- package/dist/cdn/ERXJZ24O.js +5 -0
- package/dist/cdn/{A7KL6REP.js → F7JX5WKZ.js} +2 -2
- package/dist/cdn/{MWEAYQ6P.js → FF27FIVH.js} +2 -2
- package/dist/cdn/{HRMU6ZLG.js → FUGRVP6W.js} +2 -2
- package/dist/cdn/{4OPRCCEM.js → FVYQSMTS.js} +2 -2
- package/dist/cdn/{YCMFGIA7.js → FY4IZYHR.js} +2 -2
- package/dist/cdn/{T7W2MKY4.js → G67QQFRU.js} +2 -2
- package/dist/cdn/{HZSHBIZC.js → GB6W6AHW.js} +2 -2
- package/dist/cdn/GC6IBJDP.js +4 -0
- package/dist/cdn/{2FSZ533Q.js → GDGYNRHV.js} +2 -2
- package/dist/cdn/{5ZM27QOF.js → GFZYNR7F.js} +2 -2
- package/dist/cdn/GGFKAOAK.js +4 -0
- package/dist/cdn/GNSWLZNY.js +4 -0
- package/dist/cdn/GSDZP5MO.js +4 -0
- package/dist/cdn/{GWZVUYWG.js → GTFKYZEI.js} +2 -2
- package/dist/cdn/GVRD23TT.js +4 -0
- package/dist/cdn/{DQLQ6VQI.js → H4OUBUC6.js} +2 -2
- package/dist/cdn/H6VT6UL3.js +4 -0
- package/dist/cdn/{7CKYJWVX.js → HM7IEIYM.js} +2 -2
- package/dist/cdn/HMMTLGRW.js +4 -0
- package/dist/cdn/HNUYO6KA.js +4 -0
- package/dist/cdn/{F7PYYQH3.js → HSYAU6NS.js} +1 -1
- package/dist/cdn/HWV3KCIN.js +4 -0
- package/dist/cdn/I4QHKXVL.js +4 -0
- package/dist/cdn/{DELMWERE.js → I4WGJORX.js} +2 -2
- package/dist/cdn/IALXI7VP.js +4 -0
- package/dist/cdn/IDFEZGQQ.js +4 -0
- package/dist/cdn/IFMXKXF3.js +4 -0
- package/dist/cdn/ILLKFO2T.js +4 -0
- package/dist/cdn/{DNDRYUZU.js → IQVB2PKG.js} +2 -2
- package/dist/cdn/IVRJJPVX.js +4 -0
- package/dist/cdn/J3IIOTJC.js +4 -0
- package/dist/cdn/{LJEJWOTO.js → J6W6XVAK.js} +2 -2
- package/dist/cdn/JFDVLLWU.js +4 -0
- package/dist/cdn/{KEBAU3JT.js → JJJMCKQH.js} +2 -2
- package/dist/cdn/{EE5HN4P2.js → JSS3WYRB.js} +2 -2
- package/dist/cdn/JU662V3W.js +4 -0
- package/dist/cdn/JW6AJ733.js +4 -0
- package/dist/cdn/{XKZUF3A3.js → K4ICCYWY.js} +2 -2
- package/dist/cdn/KAWBHDXB.js +4 -0
- package/dist/cdn/KC2ZJNT5.js +4 -0
- package/dist/cdn/KCURCW22.js +4 -0
- package/dist/cdn/{T4XPBRWM.js → KFIFYQLX.js} +2 -2
- package/dist/cdn/KII7RSDD.js +4 -0
- package/dist/cdn/KQZJ43JY.js +4 -0
- package/dist/cdn/{FUGPLS6Q.js → KUEX5DRL.js} +2 -2
- package/dist/cdn/L2VX5RJK.js +4 -0
- package/dist/cdn/LN57T3MN.js +4 -0
- package/dist/cdn/LQTXHRVF.js +4 -0
- package/dist/cdn/LU2DYUCL.js +4 -0
- package/dist/cdn/{XWVEOBZY.js → LWL4CPD6.js} +2 -2
- package/dist/cdn/{SEPN6RPM.js → MBEPAUIW.js} +1 -1
- package/dist/cdn/{ZSBYVNTF.js → MIECREOE.js} +2 -2
- package/dist/cdn/MJRMAVS3.js +4 -0
- package/dist/cdn/MQVLRALG.js +4 -0
- package/dist/cdn/{SFPTSDC5.js → MSXCVNJY.js} +2 -2
- package/dist/cdn/MYDY3AZU.js +4 -0
- package/dist/cdn/N65RE6ON.js +4 -0
- package/dist/cdn/N6H6ONSY.js +4 -0
- package/dist/cdn/{2YFA7MO7.js → NA4LDRXR.js} +2 -2
- package/dist/cdn/{KYNMU5VZ.js → NG53EB3C.js} +2 -2
- package/dist/cdn/NHVJQDWL.js +4 -0
- package/dist/cdn/NLJSAOM6.js +4 -0
- package/dist/cdn/{PTWD2CWF.js → NMWUIHYJ.js} +2 -2
- package/dist/cdn/NOG7MP2X.js +4 -0
- package/dist/cdn/NR5SXHAH.js +4 -0
- package/dist/cdn/{SOMLC3JY.js → NXHRALN4.js} +2 -2
- package/dist/cdn/NZDYLDLL.js +4 -0
- package/dist/cdn/NZTXGXC4.js +4 -0
- package/dist/cdn/OGWWLI7A.js +4 -0
- package/dist/cdn/{CT5WHZRX.js → OHFMAN5W.js} +2 -2
- package/dist/cdn/{XSCRYZTU.js → OKHKPZJD.js} +2 -2
- package/dist/cdn/{IGQM4UBV.js → OLXN372Q.js} +2 -2
- package/dist/cdn/{OQOY43UX.js → ONHXTD2Y.js} +2 -2
- package/dist/cdn/{DDX32HNA.js → OPKG3FXJ.js} +2 -2
- package/dist/cdn/{M43ZPMYR.js → PEKIUAYW.js} +2 -2
- package/dist/cdn/PHZGOZZB.js +4 -0
- package/dist/cdn/{EVUBVCYC.js → PJ22Z2UF.js} +2 -2
- package/dist/cdn/{VPXTL3JW.js → PJNG3TR6.js} +2 -2
- package/dist/cdn/{53EJENRW.js → PKAX2UU6.js} +1 -1
- package/dist/cdn/PPABQE7P.js +4 -0
- package/dist/cdn/PS2J56HD.js +4 -0
- package/dist/cdn/PVJRTMKS.js +4 -0
- package/dist/cdn/{42QXWX4H.js → PWC7DVAK.js} +2 -2
- package/dist/cdn/{D3J6FQND.js → PZS2UGBJ.js} +2 -2
- package/dist/cdn/Q3ZE7LTH.js +4 -0
- package/dist/cdn/Q6ZYXPQM.js +9 -0
- package/dist/cdn/QFNTEZLG.js +4 -0
- package/dist/cdn/RAX7EBCM.js +4 -0
- package/dist/cdn/{NCV3ZNHB.js → RMIWSLTF.js} +2 -2
- package/dist/cdn/RO647MJM.js +4 -0
- package/dist/cdn/{JEJFR6MK.js → ROMBC4ZS.js} +2 -2
- package/dist/cdn/RPYV2IKC.js +4 -0
- package/dist/cdn/{DSG63V6Y.js → S5XHWMMP.js} +2 -2
- package/dist/cdn/{7M6KRUMN.js → SAT6LZUO.js} +2 -2
- package/dist/cdn/SCL5OLFP.js +4 -0
- package/dist/cdn/SKTZYGSR.js +4 -0
- package/dist/cdn/{K3GYNTLH.js → STQF2DYR.js} +2 -2
- package/dist/cdn/{GMRX73WP.js → SWL2DUTD.js} +2 -2
- package/dist/cdn/{IOTAY2KD.js → T4WD6HN2.js} +2 -2
- package/dist/cdn/{S5GZVWZU.js → TAJCYM6X.js} +2 -2
- package/dist/cdn/THKBAUSH.js +4 -0
- package/dist/cdn/{B4TY42RA.js → THKPZYIU.js} +2 -2
- package/dist/cdn/{K5Q7ZDK6.js → TNQVVY22.js} +2 -2
- package/dist/cdn/{ID7ZALPM.js → TO2AQPZP.js} +2 -2
- package/dist/cdn/{JKK3KMTQ.js → TPPLHRQC.js} +2 -2
- package/dist/cdn/{ADZMLGPK.js → TRBDAVDC.js} +2 -2
- package/dist/cdn/UHICS5IL.js +4 -0
- package/dist/cdn/UNMP6EDV.js +4 -0
- package/dist/cdn/UVIFI6DD.js +4 -0
- package/dist/cdn/V5PHXTM6.js +4 -0
- package/dist/cdn/VM2GMKYL.js +4 -0
- package/dist/cdn/VNAFDTZZ.js +4 -0
- package/dist/cdn/{GWEK6NJW.js → VNQT6U7A.js} +2 -2
- package/dist/cdn/{2QL4MBR6.js → VYXZAQWW.js} +2 -2
- package/dist/cdn/{EXQRV7AV.js → W2AOAOCN.js} +2 -2
- package/dist/cdn/W4XCO3ZK.js +4 -0
- package/dist/cdn/W6KXAWZP.js +4 -0
- package/dist/cdn/{ZKHGJOMM.js → WG2P3E33.js} +2 -2
- package/dist/cdn/{3UM5ZMDK.js → WLNN7SXU.js} +2 -2
- package/dist/cdn/{M4Q6OT7N.js → WNF54NOK.js} +2 -2
- package/dist/cdn/WXMGMCSA.js +4 -0
- package/dist/cdn/X3PCRLH3.js +4 -0
- package/dist/cdn/{WGTKEB4I.js → X62MEYBB.js} +2 -2
- package/dist/cdn/XDRBLZEC.js +4 -0
- package/dist/cdn/XPL2DQC7.js +4 -0
- package/dist/cdn/XTDTBRZB.js +4 -0
- package/dist/cdn/{SFUUC5SB.js → XWSPVNM2.js} +2 -2
- package/dist/cdn/XYJAGSVA.js +4 -0
- package/dist/cdn/{3IKTR6VS.js → Y27HMTIO.js} +1 -1
- package/dist/cdn/{GKWPGMXB.js → Y3C343YV.js} +2 -2
- package/dist/cdn/{U3YH2U3R.js → Y4BOQW2Z.js} +2 -2
- package/dist/cdn/Y64T2JTL.js +4 -0
- package/dist/cdn/{T77V6MVE.js → YB3KDZQF.js} +2 -2
- package/dist/cdn/YH54NITK.js +4 -0
- package/dist/cdn/{4SNBAULO.js → YHDXIKML.js} +2 -2
- package/dist/cdn/{IMVOXJ3X.js → YLDGKJYZ.js} +2 -2
- package/dist/cdn/YMCGZXWV.js +4 -0
- package/dist/cdn/{EXYDF553.js → YNJTAHYB.js} +1 -1
- package/dist/cdn/YOFCJ6HF.js +4 -0
- package/dist/cdn/{3T7FDPDY.js → YPKAPL7S.js} +2 -2
- package/dist/cdn/YRZQXRKX.js +4 -0
- package/dist/cdn/{VESDBJJS.js → YY3R7QXQ.js} +2 -2
- package/dist/cdn/{HI46JHLQ.js → Z4EP4AEU.js} +2 -2
- package/dist/cdn/{OKEKQ465.js → ZBDECJAG.js} +2 -2
- package/dist/cdn/{V3APUWXR.js → ZCG5V2US.js} +2 -2
- package/dist/cdn/{OAVOB53K.js → ZGA5HIYO.js} +2 -2
- package/dist/cdn/{VKB3RDAQ.js → ZGFP7UIN.js} +1 -1
- package/dist/cdn/ZGNCCZTC.js +4 -0
- package/dist/cdn/ZMAG2GT2.js +4 -0
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- 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 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- 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 +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -1
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +42 -43
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +79 -35
- package/dist/components/arcgis-daylight/customElement.js +110 -114
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +3 -3
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.d.ts +6 -8
- package/dist/components/arcgis-expand/customElement.js +29 -35
- package/dist/components/arcgis-feature/customElement.d.ts +6 -5
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- 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 +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -6
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +8 -9
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- 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 +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +60 -4
- package/dist/components/arcgis-link-chart/customElement.js +20 -22
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +96 -35
- package/dist/components/arcgis-map/customElement.js +29 -31
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -5
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -18
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +46 -6
- package/dist/components/arcgis-scene/customElement.js +27 -29
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +16 -18
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- 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 +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +11 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
- 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 +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
- 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 +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +1479 -1203
- package/dist/docs/docs.json +1443 -1045
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +173 -238
- package/dist/docs/web-types.json +482 -375
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +22 -19
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +28 -15
- package/dist/types/preact.d.ts +30 -16
- package/dist/types/preact10.d.ts +32 -17
- package/dist/types/react.d.ts +32 -17
- package/dist/types/stencil.d.ts +28 -15
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/2ABU443O.js +0 -4
- package/dist/cdn/2LYAFHOG.js +0 -4
- package/dist/cdn/2X42KENH.js +0 -4
- package/dist/cdn/3GOJ3L5A.js +0 -4
- package/dist/cdn/3H4MAGDU.js +0 -4
- package/dist/cdn/3LBGFTG4.js +0 -4
- package/dist/cdn/443UF6ND.js +0 -4
- package/dist/cdn/4EKVN2G7.js +0 -4
- package/dist/cdn/4JGOSQMJ.js +0 -4
- package/dist/cdn/4L4EMIWX.js +0 -4
- package/dist/cdn/4NAR65FM.js +0 -4
- package/dist/cdn/4NZNNIW4.js +0 -4
- package/dist/cdn/4QUI24BM.js +0 -4
- package/dist/cdn/4ZVQXWPU.js +0 -4
- package/dist/cdn/55TYV6SS.js +0 -4
- package/dist/cdn/56CNVNWC.js +0 -9
- package/dist/cdn/5CTVGNOG.js +0 -4
- package/dist/cdn/5S546GEJ.js +0 -4
- package/dist/cdn/6ONVXD3F.js +0 -4
- package/dist/cdn/6VR4KXG4.js +0 -4
- package/dist/cdn/7JWZ6WMI.js +0 -4
- package/dist/cdn/7LQEVAFG.js +0 -4
- package/dist/cdn/7O6BYFZT.js +0 -4
- package/dist/cdn/7VHCUTDX.js +0 -4
- package/dist/cdn/A5PCP4UZ.js +0 -4
- package/dist/cdn/ACOZPFBS.js +0 -4
- package/dist/cdn/AIE6ABFJ.js +0 -4
- package/dist/cdn/ANNCBYQ4.js +0 -4
- package/dist/cdn/B7P75WLO.js +0 -4
- package/dist/cdn/BAG6ZD4C.js +0 -4
- package/dist/cdn/BC26BQJE.js +0 -4
- package/dist/cdn/BCX44KFS.js +0 -4
- package/dist/cdn/BKRVU6NB.js +0 -4
- package/dist/cdn/BT3CCAKU.js +0 -4
- package/dist/cdn/BZWMKXFD.js +0 -4
- package/dist/cdn/DDFQHH4T.js +0 -4
- package/dist/cdn/F42WR2KG.js +0 -4
- package/dist/cdn/FLGSSZCA.js +0 -4
- package/dist/cdn/FXAZDV22.js +0 -4
- package/dist/cdn/GVLCW3KB.js +0 -4
- package/dist/cdn/H5LJ4EI5.js +0 -4
- package/dist/cdn/HKDCTJ4N.js +0 -4
- package/dist/cdn/HNQAWGEN.js +0 -4
- package/dist/cdn/HNYGMKKJ.js +0 -4
- package/dist/cdn/HONXVVWS.js +0 -4
- package/dist/cdn/HRNRYC5Q.js +0 -4
- package/dist/cdn/IGQOSGHX.js +0 -4
- package/dist/cdn/IKNRSFWX.js +0 -5
- package/dist/cdn/IMLRCSF7.js +0 -4
- package/dist/cdn/IPGZD2C2.js +0 -4
- package/dist/cdn/IWZF3ZFJ.js +0 -4
- package/dist/cdn/J4EZ2X2C.js +0 -4
- package/dist/cdn/JD7NCLEN.js +0 -4
- package/dist/cdn/JK4B6OM6.js +0 -4
- package/dist/cdn/JRJOS5VN.js +0 -4
- package/dist/cdn/JRU5LK6B.js +0 -4
- package/dist/cdn/JULYEPM5.js +0 -4
- package/dist/cdn/KQ4KIIUY.js +0 -4
- package/dist/cdn/LBZO6H7A.js +0 -4
- package/dist/cdn/LDXGIM6Z.js +0 -4
- package/dist/cdn/LLYWMKR3.js +0 -4
- package/dist/cdn/LUKVX5GF.js +0 -4
- package/dist/cdn/LUQ6NIJV.js +0 -4
- package/dist/cdn/M76STHQT.js +0 -4
- package/dist/cdn/MFCJHVPX.js +0 -4
- package/dist/cdn/MIRZXXAK.js +0 -4
- package/dist/cdn/MS27ZNB6.js +0 -4
- package/dist/cdn/N3J3SWM7.js +0 -4
- package/dist/cdn/N6CFUROA.js +0 -4
- package/dist/cdn/NFSQPAAU.js +0 -4
- package/dist/cdn/NG7P6VOK.js +0 -4
- package/dist/cdn/NHY2PQJJ.js +0 -4
- package/dist/cdn/NJVB7ZLX.js +0 -4
- package/dist/cdn/P34WNOEX.js +0 -4
- package/dist/cdn/PUPUWJBY.js +0 -4
- package/dist/cdn/QNVPUZNY.js +0 -4
- package/dist/cdn/RN5L3ZSL.js +0 -4
- package/dist/cdn/RSGU5OJQ.js +0 -4
- package/dist/cdn/S3LDELWL.js +0 -4
- package/dist/cdn/SHQUFFBF.js +0 -4
- package/dist/cdn/SK64U7Z2.js +0 -4
- package/dist/cdn/SMYTWYGP.js +0 -4
- package/dist/cdn/SOPUMOKS.js +0 -4
- package/dist/cdn/TNWXMQOG.js +0 -4
- package/dist/cdn/TQ7LQYAE.js +0 -4
- package/dist/cdn/TWBTJV4V.js +0 -4
- package/dist/cdn/U7FJT636.js +0 -4
- package/dist/cdn/VTQUONQX.js +0 -4
- package/dist/cdn/WECVZJHB.js +0 -4
- package/dist/cdn/WIYF4ODA.js +0 -4
- package/dist/cdn/WTCGQIMA.js +0 -4
- package/dist/cdn/WVQ3U5YC.js +0 -4
- package/dist/cdn/XCSN24IP.js +0 -4
- package/dist/cdn/XUIMDOP7.js +0 -4
- package/dist/cdn/XXHAZXR7.js +0 -4
- package/dist/cdn/Y23YPB3G.js +0 -4
- package/dist/cdn/YM274DMT.js +0 -4
- package/dist/cdn/YQIWRVI7.js +0 -4
- package/dist/cdn/YXS5KPZR.js +0 -4
- package/dist/cdn/YYELAI4Z.js +0 -4
- package/dist/cdn/Z4Q536P6.js +0 -4
- package/dist/cdn/Z6SQULCL.js +0 -4
- package/dist/cdn/ZA676A7N.js +0 -4
- package/dist/cdn/ZDLPT4R6.js +0 -4
- package/dist/cdn/ZHJWHENF.js +0 -4
- package/dist/cdn/ZJMYDJNR.js +0 -4
- package/dist/cdn/ZRF2VRDP.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -1,69 +1,83 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { ref as
|
|
1
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as C, html as c } from "lit";
|
|
3
|
+
import { ref as S } from "lit/directives/ref.js";
|
|
4
4
|
import { ignoreAbortErrors as m } from "@arcgis/core/core/promiseUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import { g as
|
|
10
|
-
import
|
|
11
|
-
import { getDefaultUnitForView as
|
|
12
|
-
import { property as a, subclass as
|
|
13
|
-
import { watch as
|
|
5
|
+
import { LitElement as k, createEvent as M, nothing as g, safeClassMap as v } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as B } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { u as E } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as O } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
10
|
+
import D from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
11
|
+
import { getDefaultUnitForView as P } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
+
import { property as a, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
14
|
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
15
|
+
import { a as z } from "../../chunks/maybe.js";
|
|
15
16
|
import { m as _ } from "../../chunks/measurementUtils.js";
|
|
16
|
-
import { c as
|
|
17
|
-
import {
|
|
17
|
+
import { t as U, c as b } from "../../chunks/async-utils.js";
|
|
18
|
+
import { m as F } from "../../chunks/handle.js";
|
|
19
|
+
import { createChart as A } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
18
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
21
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
21
|
-
const
|
|
22
|
-
function
|
|
22
|
+
v5.0.0-next.21 */
|
|
23
|
+
const T = C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size;resize:horizontal}.container{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;top:-22px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
24
|
+
function I({ geometry: t }) {
|
|
23
25
|
return t != null && t.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
|
|
24
26
|
}
|
|
25
|
-
function
|
|
27
|
+
function L({ geometry: t }) {
|
|
26
28
|
return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
|
|
27
29
|
}
|
|
28
|
-
function
|
|
30
|
+
function H(t) {
|
|
29
31
|
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
30
32
|
}
|
|
31
|
-
function
|
|
33
|
+
function Z(t) {
|
|
32
34
|
return t?.type === "polyline";
|
|
33
35
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
async function j(t, e, i) {
|
|
37
|
+
const r = await R(t, e);
|
|
38
|
+
return U(i), N(r) ? r.highlight(e) : F();
|
|
39
|
+
}
|
|
40
|
+
async function R(t, e) {
|
|
41
|
+
const i = e?.layer;
|
|
42
|
+
if (!(!i || i.type === "subtype-sublayer" || i.type === "sublayer" || i.type === "building-component"))
|
|
43
|
+
return await t.whenLayerView(i);
|
|
44
|
+
}
|
|
45
|
+
function N(t) {
|
|
46
|
+
return t != null && "highlight" in t && typeof t.highlight == "function";
|
|
47
|
+
}
|
|
48
|
+
var q = Object.defineProperty, G = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
|
|
49
|
+
for (var n = r > 1 ? void 0 : r ? G(e, i) : e, l = t.length - 1, d; l >= 0; l--)
|
|
50
|
+
(d = t[l]) && (n = (r ? d(e, i, n) : d(n)) || n);
|
|
51
|
+
return r && n && q(e, i, n), n;
|
|
38
52
|
};
|
|
39
|
-
let
|
|
53
|
+
let s = class extends $ {
|
|
40
54
|
constructor() {
|
|
41
|
-
super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
55
|
+
super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
42
56
|
}
|
|
43
57
|
get _measurementSystem() {
|
|
44
|
-
return this.view ?
|
|
58
|
+
return this.view ? P(this.view) : void 0;
|
|
45
59
|
}
|
|
46
60
|
get _hasSamples() {
|
|
47
61
|
const { progress: t } = this;
|
|
48
|
-
return this._analysisView?.results?.some((e) => e.available && (t < 1 ||
|
|
62
|
+
return this._analysisView?.results?.some((e) => e.available && (t < 1 || H(e))) ?? !1;
|
|
49
63
|
}
|
|
50
|
-
get
|
|
64
|
+
get doneButtonAvailable() {
|
|
65
|
+
if (this.featureSelected)
|
|
66
|
+
return !1;
|
|
51
67
|
const { geometry: t } = this.analysis;
|
|
52
|
-
return
|
|
68
|
+
return Z(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
53
69
|
}
|
|
54
70
|
get effectiveDisplayUnits() {
|
|
55
71
|
return this.analysisView?.effectiveDisplayUnits;
|
|
56
72
|
}
|
|
57
73
|
get errorState() {
|
|
58
|
-
if (!
|
|
74
|
+
if (!I(this.analysis))
|
|
59
75
|
return "no-valid-input";
|
|
60
76
|
const t = this.analysisView?.error;
|
|
61
77
|
if (t)
|
|
62
78
|
switch (t.name) {
|
|
63
79
|
case "too-complex":
|
|
64
80
|
return "too-complex";
|
|
65
|
-
case "invalid-geometry":
|
|
66
|
-
return "invalid-geometry";
|
|
67
81
|
case "elevation-query-error":
|
|
68
82
|
return "no-valid-input";
|
|
69
83
|
default:
|
|
@@ -71,8 +85,11 @@ let o = class extends $ {
|
|
|
71
85
|
}
|
|
72
86
|
return this._hasSamples ? "none" : "no-available-profiles";
|
|
73
87
|
}
|
|
88
|
+
get featureSelected() {
|
|
89
|
+
return this._selectedFeature != null;
|
|
90
|
+
}
|
|
74
91
|
get hasVertices() {
|
|
75
|
-
return
|
|
92
|
+
return L(this.analysis);
|
|
76
93
|
}
|
|
77
94
|
get hoveredPosition() {
|
|
78
95
|
return this.analysisView?.hoveredPosition ?? void 0;
|
|
@@ -99,42 +116,33 @@ let o = class extends $ {
|
|
|
99
116
|
return this.analysisView?.progress ?? 0;
|
|
100
117
|
}
|
|
101
118
|
get results() {
|
|
102
|
-
|
|
103
|
-
if (!e)
|
|
104
|
-
return [];
|
|
105
|
-
const { profiles: i } = t, { results: r } = e;
|
|
106
|
-
return i.length !== r.length ? [] : i.toArray().map((n, l) => {
|
|
107
|
-
const c = r.at(l);
|
|
108
|
-
return { profileLine: n, result: c };
|
|
109
|
-
});
|
|
119
|
+
return this.analysisView?.results ?? [];
|
|
110
120
|
}
|
|
111
|
-
get
|
|
121
|
+
get selectButtonAvailable() {
|
|
112
122
|
for (const t of this.view?.map?.allLayers.toArray() ?? [])
|
|
113
123
|
if (t.type === "graphics" && !("internal" in t && t.internal) && t.graphics.some((e) => e.geometry?.type === "polyline") || "geometryType" in t && t.geometryType === "polyline")
|
|
114
124
|
return !0;
|
|
115
125
|
return !!this.view?.graphics?.some((t) => t.geometry?.type === "polyline");
|
|
116
126
|
}
|
|
117
127
|
get state() {
|
|
118
|
-
|
|
119
|
-
return "disabled";
|
|
120
|
-
if (this._selectingPromise)
|
|
121
|
-
return "selecting";
|
|
122
|
-
if (this.operationState === "active")
|
|
123
|
-
return "creating";
|
|
124
|
-
if (this.analysis.valid) {
|
|
125
|
-
const t = this.analysis.geometry;
|
|
126
|
-
return t != null && "geometry" in t ? "selected" : "created";
|
|
127
|
-
} else
|
|
128
|
-
return "ready";
|
|
128
|
+
return this.disabled || !this.ready ? "disabled" : this._selectingPromise ? "selecting" : this.operationState === "active" ? "creating" : this.analysis.valid ? this.featureSelected ? "selected" : "created" : "ready";
|
|
129
129
|
}
|
|
130
130
|
get unitDistance() {
|
|
131
|
-
return y(
|
|
131
|
+
return y(
|
|
132
|
+
this._userUnitDistance ?? this.analysis.displayUnits?.distance ?? void 0,
|
|
133
|
+
this.unitOptionsDistance,
|
|
134
|
+
this._measurementSystem
|
|
135
|
+
);
|
|
132
136
|
}
|
|
133
137
|
set unitDistance(t) {
|
|
134
138
|
this._userUnitDistance = t;
|
|
135
139
|
}
|
|
136
140
|
get unitElevation() {
|
|
137
|
-
return y(
|
|
141
|
+
return y(
|
|
142
|
+
this._userUnitElevation ?? this.analysis.displayUnits?.elevation ?? void 0,
|
|
143
|
+
this.unitOptionsElevation,
|
|
144
|
+
this._measurementSystem
|
|
145
|
+
);
|
|
138
146
|
}
|
|
139
147
|
set unitElevation(t) {
|
|
140
148
|
this._userUnitElevation = t;
|
|
@@ -154,8 +162,8 @@ let o = class extends $ {
|
|
|
154
162
|
//#endregion
|
|
155
163
|
//#region Public Methods
|
|
156
164
|
initialize() {
|
|
157
|
-
this.addHandles(
|
|
158
|
-
|
|
165
|
+
this.addHandles([
|
|
166
|
+
p(
|
|
159
167
|
() => ({
|
|
160
168
|
analysis: this.analysis,
|
|
161
169
|
unitDistance: this.unitDistance,
|
|
@@ -168,8 +176,32 @@ let o = class extends $ {
|
|
|
168
176
|
}
|
|
169
177
|
},
|
|
170
178
|
{ sync: !0, initial: !0 }
|
|
179
|
+
),
|
|
180
|
+
p(
|
|
181
|
+
() => ({
|
|
182
|
+
selectedFeature: this._selectedFeature,
|
|
183
|
+
profiles: this.analysis.profiles.toArray()
|
|
184
|
+
}),
|
|
185
|
+
({ selectedFeature: t, profiles: e }, i) => {
|
|
186
|
+
this._highlightSelectedFeature(this.highlightEnabled ? t : void 0), this.analysis.viewOptions.geometryVisualizationVisible = this.highlightEnabled && t == null;
|
|
187
|
+
const r = i?.selectedFeature;
|
|
188
|
+
e.forEach((n) => {
|
|
189
|
+
switch (n.type) {
|
|
190
|
+
case "scene":
|
|
191
|
+
this._excludeSelectedFeatureFromProfile(n, t, r);
|
|
192
|
+
break;
|
|
193
|
+
case "input":
|
|
194
|
+
n.chartOptions.lineVisible = t != null, n.viewOptions.lineVisible = t != null;
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
},
|
|
199
|
+
{ initial: !0 }
|
|
171
200
|
)
|
|
172
|
-
);
|
|
201
|
+
]);
|
|
202
|
+
}
|
|
203
|
+
destroy() {
|
|
204
|
+
this._removeSelectionHighlight();
|
|
173
205
|
}
|
|
174
206
|
async select() {
|
|
175
207
|
const t = this.analysisView;
|
|
@@ -177,8 +209,10 @@ let o = class extends $ {
|
|
|
177
209
|
return;
|
|
178
210
|
const e = super.start({
|
|
179
211
|
operation: async (i) => {
|
|
180
|
-
await t.pickFeature(i);
|
|
181
|
-
|
|
212
|
+
const r = await t.pickFeature(i);
|
|
213
|
+
i?.signal?.aborted || (t.interactive = !1, this._selectedFeature = r.feature);
|
|
214
|
+
},
|
|
215
|
+
clear: !1
|
|
182
216
|
});
|
|
183
217
|
e.finally(() => {
|
|
184
218
|
this._selectingPromise === e && (this._selectingPromise = void 0);
|
|
@@ -187,95 +221,116 @@ let o = class extends $ {
|
|
|
187
221
|
async place(t) {
|
|
188
222
|
await this.analysisView?.place(t);
|
|
189
223
|
}
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region Protected/Private Methods
|
|
192
224
|
clearAnalysis() {
|
|
193
|
-
this.geometry = null, this.elevationInfo = null;
|
|
225
|
+
this.geometry = null, this.elevationInfo = null, this._selectedFeature = void 0;
|
|
194
226
|
}
|
|
195
227
|
// Should never happen because both 2d and 3d are supported
|
|
196
228
|
constructAnalysis() {
|
|
197
|
-
return new
|
|
229
|
+
return new D();
|
|
230
|
+
}
|
|
231
|
+
_highlightSelectedFeature(t) {
|
|
232
|
+
this._removeSelectionHighlight();
|
|
233
|
+
const e = this.view;
|
|
234
|
+
!e || !t || (this._selectionHighlightTask = b(
|
|
235
|
+
async (i) => await j(e, t, { signal: i })
|
|
236
|
+
));
|
|
237
|
+
}
|
|
238
|
+
_removeSelectionHighlight() {
|
|
239
|
+
this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = z(this._selectionHighlightTask);
|
|
240
|
+
}
|
|
241
|
+
_excludeSelectedFeatureFromProfile(t, e, i) {
|
|
242
|
+
const r = new Set(t.exclude ?? []);
|
|
243
|
+
i && r.delete(i), e && r.add(e), t.exclude = Array.from(r);
|
|
198
244
|
}
|
|
199
245
|
//#endregion
|
|
200
246
|
};
|
|
201
|
-
|
|
247
|
+
o([
|
|
202
248
|
a()
|
|
203
|
-
],
|
|
204
|
-
|
|
249
|
+
], s.prototype, "_userUnitOptionsDistance", 2);
|
|
250
|
+
o([
|
|
205
251
|
a()
|
|
206
|
-
],
|
|
207
|
-
|
|
252
|
+
], s.prototype, "_userUnitOptionsElevation", 2);
|
|
253
|
+
o([
|
|
208
254
|
a()
|
|
209
|
-
],
|
|
210
|
-
|
|
255
|
+
], s.prototype, "_userUnitDistance", 2);
|
|
256
|
+
o([
|
|
211
257
|
a()
|
|
212
|
-
],
|
|
213
|
-
|
|
258
|
+
], s.prototype, "_userUnitElevation", 2);
|
|
259
|
+
o([
|
|
214
260
|
a({ readOnly: !0 })
|
|
215
|
-
],
|
|
216
|
-
|
|
261
|
+
], s.prototype, "_measurementSystem", 1);
|
|
262
|
+
o([
|
|
263
|
+
a()
|
|
264
|
+
], s.prototype, "_selectingPromise", 2);
|
|
265
|
+
o([
|
|
266
|
+
a()
|
|
267
|
+
], s.prototype, "_selectedFeature", 2);
|
|
268
|
+
o([
|
|
217
269
|
a()
|
|
218
|
-
],
|
|
219
|
-
|
|
270
|
+
], s.prototype, "_selectionHighlightTask", 2);
|
|
271
|
+
o([
|
|
220
272
|
a()
|
|
221
|
-
],
|
|
222
|
-
|
|
273
|
+
], s.prototype, "_hasSamples", 1);
|
|
274
|
+
o([
|
|
223
275
|
a()
|
|
224
|
-
],
|
|
225
|
-
|
|
276
|
+
], s.prototype, "doneButtonAvailable", 1);
|
|
277
|
+
o([
|
|
226
278
|
a({ readOnly: !0 })
|
|
227
|
-
],
|
|
228
|
-
|
|
279
|
+
], s.prototype, "effectiveDisplayUnits", 1);
|
|
280
|
+
o([
|
|
229
281
|
a({ readOnly: !0 })
|
|
230
|
-
],
|
|
231
|
-
|
|
282
|
+
], s.prototype, "errorState", 1);
|
|
283
|
+
o([
|
|
284
|
+
a()
|
|
285
|
+
], s.prototype, "featureSelected", 1);
|
|
286
|
+
o([
|
|
232
287
|
a({ readOnly: !0 })
|
|
233
|
-
],
|
|
234
|
-
|
|
288
|
+
], s.prototype, "hasVertices", 1);
|
|
289
|
+
o([
|
|
235
290
|
a()
|
|
236
|
-
],
|
|
237
|
-
|
|
291
|
+
], s.prototype, "highlightEnabled", 2);
|
|
292
|
+
o([
|
|
238
293
|
a()
|
|
239
|
-
],
|
|
240
|
-
|
|
294
|
+
], s.prototype, "hoveredPosition", 1);
|
|
295
|
+
o([
|
|
241
296
|
a()
|
|
242
|
-
],
|
|
243
|
-
|
|
297
|
+
], s.prototype, "geometry", 1);
|
|
298
|
+
o([
|
|
244
299
|
a()
|
|
245
|
-
],
|
|
246
|
-
|
|
300
|
+
], s.prototype, "elevationInfo", 1);
|
|
301
|
+
o([
|
|
247
302
|
a()
|
|
248
|
-
],
|
|
249
|
-
|
|
303
|
+
], s.prototype, "profiles", 1);
|
|
304
|
+
o([
|
|
250
305
|
a({ readOnly: !0 })
|
|
251
|
-
],
|
|
252
|
-
|
|
306
|
+
], s.prototype, "progress", 1);
|
|
307
|
+
o([
|
|
253
308
|
a({ readOnly: !0 })
|
|
254
|
-
],
|
|
255
|
-
|
|
309
|
+
], s.prototype, "results", 1);
|
|
310
|
+
o([
|
|
256
311
|
a({ readOnly: !0 })
|
|
257
|
-
],
|
|
258
|
-
|
|
312
|
+
], s.prototype, "selectButtonAvailable", 1);
|
|
313
|
+
o([
|
|
259
314
|
a({ readOnly: !0 })
|
|
260
|
-
],
|
|
261
|
-
|
|
315
|
+
], s.prototype, "state", 1);
|
|
316
|
+
o([
|
|
262
317
|
a()
|
|
263
|
-
],
|
|
264
|
-
|
|
318
|
+
], s.prototype, "uniformChartScaling", 2);
|
|
319
|
+
o([
|
|
265
320
|
a()
|
|
266
|
-
],
|
|
267
|
-
|
|
321
|
+
], s.prototype, "unitDistance", 1);
|
|
322
|
+
o([
|
|
268
323
|
a()
|
|
269
|
-
],
|
|
270
|
-
|
|
324
|
+
], s.prototype, "unitElevation", 1);
|
|
325
|
+
o([
|
|
271
326
|
a()
|
|
272
|
-
],
|
|
273
|
-
|
|
327
|
+
], s.prototype, "unitOptionsDistance", 1);
|
|
328
|
+
o([
|
|
274
329
|
a()
|
|
275
|
-
],
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
],
|
|
330
|
+
], s.prototype, "unitOptionsElevation", 1);
|
|
331
|
+
s = o([
|
|
332
|
+
V("components.elevation-profile.ElevationProfileViewModel")
|
|
333
|
+
], s);
|
|
279
334
|
function y(t, e, i) {
|
|
280
335
|
return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
|
|
281
336
|
}
|
|
@@ -283,19 +338,19 @@ function w(t) {
|
|
|
283
338
|
const e = t?.filter((i) => _.includes(i));
|
|
284
339
|
return e && e.length > 0 ? e : _.slice();
|
|
285
340
|
}
|
|
286
|
-
const
|
|
287
|
-
class
|
|
341
|
+
const J = O(s);
|
|
342
|
+
class K extends k {
|
|
288
343
|
constructor() {
|
|
289
|
-
super(...arguments), this.viewModel =
|
|
344
|
+
super(...arguments), this.viewModel = J(this), this._messages = E(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideSketchButton = !1, this.hideUniformChartScalingToggle = !1, this.hideUnitSelector = !1, this.highlightEnabled = this.viewModel.highlightEnabled, this.hoveredPosition = this.viewModel.hoveredPosition, this.icon = "altitude", this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.unitDistance = this.viewModel.unitDistance, this.unitElevation = this.viewModel.unitElevation, this.unitOptionsDistance = this.viewModel.unitOptionsDistance, this.unitOptionsElevation = this.viewModel.unitOptionsElevation, this.arcgisPropertyChange = B()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = M();
|
|
290
345
|
}
|
|
291
346
|
static {
|
|
292
347
|
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredPosition: 9, icon: 3, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, profiles: 0, progress: 40, state: 3, uniformChartScaling: 5, unitDistance: 1, unitElevation: 1, unitOptionsDistance: 0, unitOptionsElevation: 0 };
|
|
293
348
|
}
|
|
294
349
|
static {
|
|
295
|
-
this.styles =
|
|
350
|
+
this.styles = T;
|
|
296
351
|
}
|
|
297
352
|
get _selectButtonVisible() {
|
|
298
|
-
return !this.hideSelectButton && this.viewModel.
|
|
353
|
+
return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
|
|
299
354
|
}
|
|
300
355
|
get _chart() {
|
|
301
356
|
return this._chartInitializationTask?.value;
|
|
@@ -304,23 +359,24 @@ class R extends S {
|
|
|
304
359
|
await this.manager.destroy();
|
|
305
360
|
}
|
|
306
361
|
async select() {
|
|
307
|
-
this.viewModel.select();
|
|
362
|
+
m(this.viewModel.select());
|
|
308
363
|
}
|
|
309
364
|
async start() {
|
|
310
|
-
this.viewModel.start();
|
|
365
|
+
m(this.viewModel.start());
|
|
311
366
|
}
|
|
312
367
|
async stop() {
|
|
313
368
|
this.viewModel.stop();
|
|
314
369
|
}
|
|
315
370
|
load() {
|
|
316
371
|
this.manager.onLifecycle(() => [
|
|
317
|
-
|
|
318
|
-
this._destroyChart(), e && (this._chartInitializationTask =
|
|
372
|
+
p(() => ({ container: this._chartContainer }), ({ container: e }) => {
|
|
373
|
+
this._destroyChart(), e && (this._chartInitializationTask = b(async (i) => await A({
|
|
319
374
|
view: this.viewModel.view,
|
|
320
375
|
analysisView: this.viewModel.analysisView,
|
|
321
376
|
container: e,
|
|
322
377
|
messages: this._messages,
|
|
323
378
|
signal: i,
|
|
379
|
+
uniformScaling: this.viewModel.uniformChartScaling,
|
|
324
380
|
onRangeChange: (r, n) => {
|
|
325
381
|
this._hideZoomOutButton = r === 1 && n === 1;
|
|
326
382
|
},
|
|
@@ -330,7 +386,7 @@ class R extends S {
|
|
|
330
386
|
}
|
|
331
387
|
})));
|
|
332
388
|
}, { sync: !0, initial: !0 }),
|
|
333
|
-
|
|
389
|
+
p(() => ({
|
|
334
390
|
chart: this._chart,
|
|
335
391
|
view: this.viewModel.view,
|
|
336
392
|
analysisView: this.viewModel.analysisView,
|
|
@@ -353,15 +409,9 @@ class R extends S {
|
|
|
353
409
|
this.viewModel.stop();
|
|
354
410
|
}
|
|
355
411
|
_getErrorMessage() {
|
|
356
|
-
const e =
|
|
412
|
+
const e = Q[this.viewModel.errorState];
|
|
357
413
|
return e ? this._messages?.errors?.[e] : void 0;
|
|
358
414
|
}
|
|
359
|
-
_onSketchButtonClick() {
|
|
360
|
-
m(this.viewModel.start());
|
|
361
|
-
}
|
|
362
|
-
_onSelectButtonClick() {
|
|
363
|
-
m(this.viewModel.select());
|
|
364
|
-
}
|
|
365
415
|
_onClearButtonClick() {
|
|
366
416
|
this.viewModel.clear();
|
|
367
417
|
}
|
|
@@ -372,11 +422,11 @@ class R extends S {
|
|
|
372
422
|
this._chartContainer = e;
|
|
373
423
|
}
|
|
374
424
|
render() {
|
|
375
|
-
return
|
|
425
|
+
return c`<div aria-label=${this._messages.componentLabel ?? g} class=${v({
|
|
376
426
|
container: !0,
|
|
377
|
-
[
|
|
378
|
-
[
|
|
379
|
-
[
|
|
427
|
+
[f.widget]: !0,
|
|
428
|
+
[f.widgetDisabled]: this.viewModel.state === "disabled",
|
|
429
|
+
[f.panel]: !0
|
|
380
430
|
})} role=presentation>${this._renderContentForState()}</div>`;
|
|
381
431
|
}
|
|
382
432
|
_renderContentForState() {
|
|
@@ -396,9 +446,9 @@ class R extends S {
|
|
|
396
446
|
}
|
|
397
447
|
}
|
|
398
448
|
_renderContentForReadyState() {
|
|
399
|
-
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, {
|
|
400
|
-
let
|
|
401
|
-
return !r && l ?
|
|
449
|
+
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectButtonAvailable: n } = this.viewModel, l = !i && n;
|
|
450
|
+
let d;
|
|
451
|
+
return !r && l ? d = e.readyPrompt : r ? l ? d = e.readyPromptSelectOnly : d = e.errors?.noProfile : d = e.readyPromptCreateOnly, this._renderContent({ prompt: d, chart: !1, actions: u });
|
|
402
452
|
}
|
|
403
453
|
_renderContentForSelectingState() {
|
|
404
454
|
const { view: e } = this.viewModel;
|
|
@@ -415,7 +465,7 @@ class R extends S {
|
|
|
415
465
|
const { viewModel: e } = this, { view: i } = e;
|
|
416
466
|
if (!i)
|
|
417
467
|
return;
|
|
418
|
-
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.
|
|
468
|
+
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.doneButtonAvailable }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
|
|
419
469
|
if (e.errorState === "no-valid-input") {
|
|
420
470
|
const l = this._messages[`creatingPrompt-${i.type}`];
|
|
421
471
|
return this._renderContent({
|
|
@@ -429,37 +479,37 @@ class R extends S {
|
|
|
429
479
|
}
|
|
430
480
|
_renderContentForSelectedState() {
|
|
431
481
|
const e = this._getErrorMessage();
|
|
432
|
-
return e ? this._renderContent({ chart: !1, actions:
|
|
482
|
+
return e ? this._renderContent({ chart: !1, actions: u, prompt: e }) : this._renderContent({ chart: !0, actions: u });
|
|
433
483
|
}
|
|
434
484
|
_renderContentForCreatedState() {
|
|
435
485
|
const e = this._getErrorMessage();
|
|
436
|
-
return e ? this._renderContent({ chart: !1, actions:
|
|
486
|
+
return e ? this._renderContent({ chart: !1, actions: u, prompt: e }) : this._renderContent({ chart: !0, actions: u });
|
|
437
487
|
}
|
|
438
488
|
_renderContent(e) {
|
|
439
489
|
const { viewModel: i } = this, r = i.geometry != null;
|
|
440
|
-
return
|
|
490
|
+
return c`<header class="header">${h({ hidden: this._hideZoomOutButton, children: this._renderZoomOutButton() })}${h({ hidden: this.hideClearButton || !r, children: this._renderClearButton() })}${h({ hidden: this.hideSettingsButton, children: this._renderSettingsButton() })}</header><div class="main-container">${e.prompt != null ? this._renderPrompt(e.prompt) : e.chart ? this._renderChart() : void 0}</div>${h({ hidden: this.hideLegend, children: this._renderLegend() })}${this._renderActions(e)}`;
|
|
441
491
|
}
|
|
442
492
|
_renderPrompt(e) {
|
|
443
493
|
return [
|
|
444
|
-
|
|
494
|
+
c`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
|
|
445
495
|
];
|
|
446
496
|
}
|
|
447
497
|
_renderZoomOutButton() {
|
|
448
498
|
const e = this._messages.zoomOut ?? "";
|
|
449
|
-
return
|
|
499
|
+
return c`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
450
500
|
}
|
|
451
501
|
_renderChart() {
|
|
452
502
|
if (this.hideChart)
|
|
453
503
|
return;
|
|
454
504
|
const e = this._chart;
|
|
455
|
-
return
|
|
505
|
+
return c`${this._renderSpinner({
|
|
456
506
|
size: e?.chartVisible ? "small" : "large",
|
|
457
507
|
visible: e?.spinnerVisible ?? !1
|
|
458
|
-
})}<div class="chart-container" ${
|
|
508
|
+
})}<div class="chart-container" ${S(this._onChartContainerRef)}></div>`;
|
|
459
509
|
}
|
|
460
510
|
_renderSpinner(e) {
|
|
461
511
|
const i = e.size === "small", r = e.visible ?? !0;
|
|
462
|
-
return
|
|
512
|
+
return c`<calcite-loader class=${v({
|
|
463
513
|
spinner: !0,
|
|
464
514
|
small: i,
|
|
465
515
|
visible: r
|
|
@@ -467,13 +517,13 @@ class R extends S {
|
|
|
467
517
|
}
|
|
468
518
|
_renderClearButton() {
|
|
469
519
|
const e = this._messages.clearProfile ?? "";
|
|
470
|
-
return
|
|
520
|
+
return c`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
471
521
|
}
|
|
472
522
|
_renderLegend() {
|
|
473
|
-
return
|
|
523
|
+
return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
474
524
|
}
|
|
475
525
|
_renderSettingsButton() {
|
|
476
|
-
return
|
|
526
|
+
return c`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.unitOptionsDistance} .unitOptionsElevation=${this.viewModel.unitOptionsElevation} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
477
527
|
this.viewModel.uniformChartScaling = e.detail;
|
|
478
528
|
}}></arcgis-elevation-profile-settings>`;
|
|
479
529
|
}
|
|
@@ -485,7 +535,7 @@ class R extends S {
|
|
|
485
535
|
action: n,
|
|
486
536
|
label: i.sketchButtonLabel,
|
|
487
537
|
primary: !0,
|
|
488
|
-
onClick: this.
|
|
538
|
+
onClick: () => void this.start()
|
|
489
539
|
}) });
|
|
490
540
|
case "sketch-cancel":
|
|
491
541
|
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
@@ -506,7 +556,7 @@ class R extends S {
|
|
|
506
556
|
action: n,
|
|
507
557
|
label: i.selectButtonLabel,
|
|
508
558
|
primary: !1,
|
|
509
|
-
onClick: this.
|
|
559
|
+
onClick: () => void this.select()
|
|
510
560
|
}) });
|
|
511
561
|
case "select-cancel":
|
|
512
562
|
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
@@ -519,24 +569,23 @@ class R extends S {
|
|
|
519
569
|
return;
|
|
520
570
|
}
|
|
521
571
|
}).filter(Boolean);
|
|
522
|
-
return r.length ?
|
|
572
|
+
return r.length ? c`<footer class="actions">${r}</footer>` : void 0;
|
|
523
573
|
}
|
|
524
574
|
_renderAction({ action: e, label: i, onClick: r, primary: n }) {
|
|
525
|
-
return
|
|
575
|
+
return c`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
|
|
526
576
|
}
|
|
527
577
|
}
|
|
528
578
|
function h(t) {
|
|
529
579
|
return t.hidden ? void 0 : t.children;
|
|
530
580
|
}
|
|
531
|
-
const
|
|
581
|
+
const u = [{ type: "select" }, { type: "sketch" }], Q = {
|
|
532
582
|
none: void 0,
|
|
533
583
|
"no-valid-input": "noProfile",
|
|
534
584
|
"no-available-profiles": "noProfile",
|
|
535
585
|
"too-complex": "tooComplex",
|
|
536
|
-
unknown: "unknown"
|
|
537
|
-
"invalid-geometry": "invalidGeometry"
|
|
586
|
+
unknown: "unknown"
|
|
538
587
|
};
|
|
539
|
-
|
|
588
|
+
x("arcgis-elevation-profile-next", K);
|
|
540
589
|
export {
|
|
541
|
-
|
|
590
|
+
K as ArcgisElevationProfileNext
|
|
542
591
|
};
|