@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.60
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/22SN73CX.js +4 -0
- package/dist/cdn/23XXW3XX.js +4 -0
- package/dist/cdn/{LB5CIPFL.js → 2LCZJ7LM.js} +2 -2
- package/dist/cdn/2RZYFL5R.js +4 -0
- package/dist/cdn/2YZ6QJUD.js +4 -0
- package/dist/cdn/{UAIGXACR.js → 34PPGHFO.js} +2 -2
- package/dist/cdn/{GLODJKMZ.js → 36KYB2VL.js} +2 -2
- package/dist/cdn/3DE7CUJQ.js +4 -0
- package/dist/cdn/3GG7QSTZ.js +4 -0
- package/dist/cdn/{KOTDYNET.js → 3P7BK3SI.js} +2 -2
- package/dist/cdn/{6XWHYYCL.js → 3U5KO5V7.js} +2 -2
- package/dist/cdn/{QMJS7YYV.js → 3XCSQXUA.js} +2 -2
- package/dist/cdn/446JT3P3.js +4 -0
- package/dist/cdn/4F2D2S6T.js +4 -0
- package/dist/cdn/4H2UGOUX.js +4 -0
- package/dist/cdn/{YNUARQV3.js → 4H4N5ESW.js} +2 -2
- package/dist/cdn/4IOQ6ZXK.js +5 -0
- package/dist/cdn/4KNXSISO.js +4 -0
- package/dist/cdn/4R6AY5OZ.js +4 -0
- package/dist/cdn/4RR25Q2F.js +4 -0
- package/dist/cdn/4SI4KP5X.js +4 -0
- package/dist/cdn/4TIY7Z2U.js +4 -0
- package/dist/cdn/{ISU7UB5C.js → 4UN4QCTK.js} +2 -2
- package/dist/cdn/54BPT4FR.js +4 -0
- package/dist/cdn/5OI7JCR6.js +4 -0
- package/dist/cdn/5PBEHLYG.js +4 -0
- package/dist/cdn/5WOQUXW2.js +4 -0
- package/dist/cdn/5XQKT76I.js +4 -0
- package/dist/cdn/{MJ4YBES2.js → 65J5WO42.js} +2 -2
- package/dist/cdn/67FGHI5N.js +4 -0
- package/dist/cdn/6CFEML75.js +4 -0
- package/dist/cdn/6GXTSJZI.js +4 -0
- package/dist/cdn/{BZSTQJWD.js → 6XFOUMMD.js} +2 -2
- package/dist/cdn/6YB6XZCA.js +4 -0
- package/dist/cdn/{GTFTLDMW.js → 6ZXQ5RFE.js} +2 -2
- package/dist/cdn/753444OO.js +4 -0
- package/dist/cdn/7B5YPXQ3.js +4 -0
- package/dist/cdn/{OODU2NAN.js → 7BAAZ3KL.js} +2 -2
- package/dist/cdn/{3MHCWB64.js → 7CUAIADO.js} +2 -2
- package/dist/cdn/7FJK2DG7.js +4 -0
- package/dist/cdn/7JMTQAYT.js +4 -0
- package/dist/cdn/{5S42PJTM.js → 7O5Q2ZMM.js} +2 -2
- package/dist/cdn/7PWX7VTX.js +4 -0
- package/dist/cdn/{B2W4EWK6.js → 7XUMQ3UG.js} +2 -2
- package/dist/cdn/7YSAA3YB.js +4 -0
- package/dist/cdn/{EMMLC2ML.js → 7ZBFKZ2U.js} +2 -2
- package/dist/cdn/A3KFIAIH.js +4 -0
- package/dist/cdn/ATKFU76Z.js +4 -0
- package/dist/cdn/{6AJF75LJ.js → AUF7MVWC.js} +2 -2
- package/dist/cdn/AX5FS5UN.js +4 -0
- package/dist/cdn/{7333ELLT.js → AXKVT7YY.js} +2 -2
- package/dist/cdn/AXSZPPRK.js +4 -0
- package/dist/cdn/BMMMUTRA.js +4 -0
- package/dist/cdn/{XHJW7EJB.js → BV5DN5CR.js} +2 -2
- package/dist/cdn/{PKTRQSJ3.js → BXBF2FTT.js} +2 -2
- package/dist/cdn/{OAVOMLYV.js → BYQ3F7EH.js} +2 -2
- package/dist/cdn/BZR3WPNP.js +4 -0
- package/dist/cdn/CON2DKKW.js +4 -0
- package/dist/cdn/CY6JWEGQ.js +4 -0
- package/dist/cdn/D33GTAOP.js +4 -0
- package/dist/cdn/DAAY2X6G.js +4 -0
- package/dist/cdn/{G6YBBKHU.js → DC7PUH4R.js} +2 -2
- package/dist/cdn/{ZON57F3Z.js → DHAIKYXI.js} +2 -2
- package/dist/cdn/DOPVWON5.js +4 -0
- package/dist/cdn/DWJUCAFA.js +4 -0
- package/dist/cdn/DXLV6TA6.js +4 -0
- package/dist/cdn/{F2RWK5EM.js → E2JQFBJ5.js} +2 -2
- package/dist/cdn/EBHBX3FJ.js +4 -0
- package/dist/cdn/{6L4TZHKU.js → EBRUCS2H.js} +2 -2
- package/dist/cdn/{5ROISKK5.js → EDYFEOMK.js} +2 -2
- package/dist/cdn/EE4URIVE.js +4 -0
- package/dist/cdn/EF76ARPO.js +4 -0
- package/dist/cdn/{SN7O2A3T.js → EFGY3PUV.js} +2 -2
- package/dist/cdn/{IRJJTNFE.js → EMM2YXBZ.js} +2 -2
- package/dist/cdn/ETCPTUTC.js +4 -0
- package/dist/cdn/EUWLQ72X.js +4 -0
- package/dist/cdn/{2ZOE2EB7.js → FDZBJHOZ.js} +2 -2
- package/dist/cdn/{6H5AZ4GE.js → FF6MMPO5.js} +1 -1
- package/dist/cdn/{2QEVKF3M.js → FHX33I6H.js} +2 -2
- package/dist/cdn/FM2M5AD3.js +4 -0
- package/dist/cdn/FPLUROKR.js +4 -0
- package/dist/cdn/{CJGNIR2H.js → G6NT2BMO.js} +2 -2
- package/dist/cdn/G7F24YMX.js +4 -0
- package/dist/cdn/G7ZDX2ND.js +4 -0
- package/dist/cdn/GALIZUYK.js +4 -0
- package/dist/cdn/GFC73ZF7.js +4 -0
- package/dist/cdn/GGVLA2KE.js +4 -0
- package/dist/cdn/GJXJJCQW.js +4 -0
- package/dist/cdn/{MKR5A67F.js → GJZJ5LAZ.js} +2 -2
- package/dist/cdn/GLIG7D5P.js +4 -0
- package/dist/cdn/GMWZTZZP.js +4 -0
- package/dist/cdn/{UK5FKXNT.js → GPODR4DE.js} +2 -2
- package/dist/cdn/GRB6NIG4.js +4 -0
- package/dist/cdn/{C7O5KTPB.js → GT2CQ3HH.js} +2 -2
- package/dist/cdn/{ZNGXUT36.js → GUVB6M62.js} +1 -1
- package/dist/cdn/GYQVWLR6.js +4 -0
- package/dist/cdn/H3XX3LXB.js +4 -0
- package/dist/cdn/H3ZJXIOZ.js +4 -0
- package/dist/cdn/{NNNE2APH.js → H7D6W54Y.js} +2 -2
- package/dist/cdn/{ZXP6O3VA.js → HF3K3BG2.js} +2 -2
- package/dist/cdn/HTVFBEGF.js +4 -0
- package/dist/cdn/{KY4EUKNJ.js → HW7IQPIC.js} +2 -2
- package/dist/cdn/I45RBRX7.js +4 -0
- package/dist/cdn/I54UP3KH.js +4 -0
- package/dist/cdn/I5VUPFSB.js +4 -0
- package/dist/cdn/{ABX2KJWQ.js → I6ZS7ZLU.js} +2 -2
- package/dist/cdn/IBGKR27B.js +4 -0
- package/dist/cdn/{3KXHDPQI.js → IGHJSVOQ.js} +1 -1
- package/dist/cdn/{YLUUTWQL.js → ILCGUE25.js} +1 -1
- package/dist/cdn/ILQSC557.js +4 -0
- package/dist/cdn/{YXLQEOV6.js → IOUWIYUD.js} +2 -2
- package/dist/cdn/{5KTQXHUJ.js → IQ3EZESF.js} +2 -2
- package/dist/cdn/{XE4A4ZAW.js → IRY2CYGW.js} +2 -2
- package/dist/cdn/ITDAKK2T.js +4 -0
- package/dist/cdn/J5LCDVYE.js +4 -0
- package/dist/cdn/{4MWLYDY5.js → J7PVIFUK.js} +2 -2
- package/dist/cdn/JA2ZNYCQ.js +4 -0
- package/dist/cdn/{3UTRV5F5.js → JJRLF2KL.js} +2 -2
- package/dist/cdn/{ISGJWGMP.js → JKSULCOM.js} +2 -2
- package/dist/cdn/JLIIDJLK.js +4 -0
- package/dist/cdn/JMY2LNPO.js +4 -0
- package/dist/cdn/JWMVHAAK.js +4 -0
- package/dist/cdn/JYN3VTF4.js +4 -0
- package/dist/cdn/JZXPF7FZ.js +4 -0
- package/dist/cdn/K6MLJLZ2.js +4 -0
- package/dist/cdn/KBFUDIEE.js +4 -0
- package/dist/cdn/KIJ6BCCW.js +4 -0
- package/dist/cdn/{KK2JJGUK.js → KJUJ7YOG.js} +2 -2
- package/dist/cdn/{QZVSJ65F.js → KKL3WWJ5.js} +2 -2
- package/dist/cdn/KMCYG6KR.js +4 -0
- package/dist/cdn/KPR7IN5X.js +4 -0
- package/dist/cdn/L4ILTEMR.js +4 -0
- package/dist/cdn/LAUSVJJE.js +4 -0
- package/dist/cdn/LCGYWYQ2.js +4 -0
- package/dist/cdn/LCLFRJWL.js +4 -0
- package/dist/cdn/LKBEL3KQ.js +4 -0
- package/dist/cdn/LRTIDLE7.js +4 -0
- package/dist/cdn/{LDRCHRH6.js → LVZFWZQF.js} +2 -2
- package/dist/cdn/LW7J2CWH.js +4 -0
- package/dist/cdn/{GIDT5OTS.js → LXMJ47RA.js} +2 -2
- package/dist/cdn/{Q4MGAVXA.js → M3KAAQUI.js} +1 -1
- package/dist/cdn/{H4FO43TQ.js → M46I3LGU.js} +2 -2
- package/dist/cdn/ME7SVEDG.js +4 -0
- package/dist/cdn/{VRJQ2TUN.js → MWRI3V26.js} +2 -2
- package/dist/cdn/MXV2OMX7.js +4 -0
- package/dist/cdn/{RBW5EUUZ.js → NLFSWDXD.js} +2 -2
- package/dist/cdn/OAEHZO6N.js +4 -0
- package/dist/cdn/OERN3FK6.js +4 -0
- package/dist/cdn/OIEQGEKZ.js +4 -0
- package/dist/cdn/{6JZBRZQZ.js → OLQZP3JM.js} +2 -2
- package/dist/cdn/P7UQSQ3K.js +4 -0
- package/dist/cdn/PBKVAQTX.js +4 -0
- package/dist/cdn/{VVDPWDSN.js → PKG2F5FR.js} +2 -2
- package/dist/cdn/Q2JAGXGW.js +4 -0
- package/dist/cdn/Q2ZP2HGE.js +4 -0
- package/dist/cdn/Q4AQVLLX.js +4 -0
- package/dist/cdn/Q4PA5V34.js +4 -0
- package/dist/cdn/{NINFL2YQ.js → Q5THBP7L.js} +2 -2
- package/dist/cdn/QEQUWJYE.js +4 -0
- package/dist/cdn/{L4NOWY7R.js → QG2D36OH.js} +2 -2
- package/dist/cdn/QHYSFL2X.js +4 -0
- package/dist/cdn/{A3MI5N43.js → QL6XBD3S.js} +2 -2
- package/dist/cdn/QNWRCLOM.js +4 -0
- package/dist/cdn/{PIEJP6YZ.js → QP5LNEZQ.js} +2 -2
- package/dist/cdn/QSAT2XS5.js +4 -0
- package/dist/cdn/QVEQKS5Y.js +4 -0
- package/dist/cdn/{OO6TJIN7.js → QWEWBEK7.js} +2 -2
- package/dist/cdn/QYEIKSTH.js +4 -0
- package/dist/cdn/{G6RKDMGY.js → QZ3WG67T.js} +2 -2
- package/dist/cdn/RFMBSIRG.js +4 -0
- package/dist/cdn/RVC3I2JK.js +4 -0
- package/dist/cdn/{4VC56N4L.js → RY2FOWAL.js} +2 -2
- package/dist/cdn/S5T4SWOR.js +4 -0
- package/dist/cdn/S7YLWISM.js +4 -0
- package/dist/cdn/{K7O52SLI.js → SGBTS435.js} +1 -1
- package/dist/cdn/{3R4HANKL.js → SH55B65A.js} +1 -1
- package/dist/cdn/SLX46C62.js +4 -0
- package/dist/cdn/SSWBFA53.js +4 -0
- package/dist/cdn/SVV34IBA.js +4 -0
- package/dist/cdn/T2K62HCS.js +4 -0
- package/dist/cdn/T35HH7NQ.js +4 -0
- package/dist/cdn/TAWBYGR7.js +4 -0
- package/dist/cdn/{J52AVBWV.js → TIBRXO66.js} +2 -2
- package/dist/cdn/{C56GZNCL.js → TJZYKPRA.js} +2 -2
- package/dist/cdn/TKUZ6ILZ.js +4 -0
- package/dist/cdn/{J5DMYV4L.js → TSY4FGQB.js} +2 -2
- package/dist/cdn/{4LLXQ7MU.js → TYIAMK52.js} +1 -1
- package/dist/cdn/U2474QAL.js +4 -0
- package/dist/cdn/{2PXF3GPF.js → U2WQWPJ2.js} +2 -2
- package/dist/cdn/{DPDBGZUQ.js → U5LUVPZM.js} +2 -2
- package/dist/cdn/UFNMMEG5.js +4 -0
- package/dist/cdn/UJD34VGN.js +9 -0
- package/dist/cdn/{OOARTTCF.js → ULABUSZZ.js} +2 -2
- package/dist/cdn/USB5OTX7.js +4 -0
- package/dist/cdn/{5GGEMLNR.js → UWQUX3B7.js} +1 -1
- package/dist/cdn/UZUPD5HF.js +4 -0
- package/dist/cdn/V5ZUEKRE.js +4 -0
- package/dist/cdn/{DQFSD3BZ.js → V7SZATOE.js} +2 -2
- package/dist/cdn/VDKPLRQY.js +4 -0
- package/dist/cdn/VMCQ7VSM.js +4 -0
- package/dist/cdn/VSUZMEOA.js +4 -0
- package/dist/cdn/{ER5OU65T.js → VTBKKM7F.js} +2 -2
- package/dist/cdn/VTL73CLY.js +6 -0
- package/dist/cdn/W62B73QK.js +4 -0
- package/dist/cdn/{U4PIL5HO.js → W62WBKQ7.js} +1 -1
- package/dist/cdn/WAJLNECL.js +4 -0
- package/dist/cdn/{TELKXVUT.js → WFXHENZG.js} +2 -2
- package/dist/cdn/WG3MVZZJ.js +4 -0
- package/dist/cdn/WMDU32FK.js +4 -0
- package/dist/cdn/{YEZT5OD7.js → WVA4JG3V.js} +2 -2
- package/dist/cdn/WXTJPA67.js +4 -0
- package/dist/cdn/X4RX2SV5.js +4 -0
- package/dist/cdn/{JCYH652U.js → XO33YU52.js} +2 -2
- package/dist/cdn/XVPOAP2G.js +4 -0
- package/dist/cdn/XXWDSFBH.js +4 -0
- package/dist/cdn/XXWRP7TN.js +4 -0
- package/dist/cdn/YAATK2KM.js +4 -0
- package/dist/cdn/YCH22QKU.js +4 -0
- package/dist/cdn/{MGEO265K.js → YONEIJNH.js} +2 -2
- package/dist/cdn/YUSMRESW.js +4 -0
- package/dist/cdn/{Y3TA75KJ.js → YUZNRNKN.js} +2 -2
- package/dist/cdn/{YHSECDVX.js → Z55BQ4T5.js} +2 -2
- package/dist/cdn/Z5UJLPXU.js +4 -0
- package/dist/cdn/ZJIQGAHJ.js +4 -0
- package/dist/cdn/ZU3YVBF4.js +4 -0
- package/dist/cdn/ZZW3SXWK.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/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/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- 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 +42 -38
- 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/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 +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/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +44 -38
- 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 +13 -18
- 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 +6 -6
- 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 +6 -6
- 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 +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +158 -160
- 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 +36 -19
- 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 +46 -46
- 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 +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- 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 +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- 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 +8 -8
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +10 -12
- 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 +10 -6
- 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 +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 +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -21
- package/dist/components/arcgis-link-chart/customElement.js +17 -22
- 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 +525 -74
- package/dist/components/arcgis-map/customElement.js +14 -19
- 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 +54 -12
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-print/customElement.d.ts +46 -11
- package/dist/components/arcgis-print/customElement.js +34 -25
- 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-exports-panel/customElement.d.ts +5 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +76 -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 +22 -20
- 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 +23 -22
- 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 +129 -22
- package/dist/components/arcgis-scene/customElement.js +15 -20
- 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/customElement.d.ts +9 -7
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- 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-result-feature-list/customElement.d.ts +11 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +98 -46
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -1
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -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 +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 +72 -63
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- 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 +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -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 +6 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +32 -37
- 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 +2 -2
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- 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 +13 -13
- package/dist/components/arcgis-video/customElement.js +1 -1
- 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 +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/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 +5 -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 +11245 -10237
- package/dist/docs/docs.json +6724 -5601
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +603 -511
- package/dist/docs/web-types.json +1416 -1123
- package/dist/index.d.ts +74 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +37 -35
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/types/lumina.d.ts +53 -31
- package/dist/types/preact.d.ts +58 -33
- package/dist/types/preact10.d.ts +63 -35
- package/dist/types/react.d.ts +63 -35
- package/dist/types/stencil.d.ts +53 -31
- 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/24FIOFGL.js +0 -4
- package/dist/cdn/2QAML4P7.js +0 -4
- package/dist/cdn/2TT7JHKU.js +0 -4
- package/dist/cdn/2WK2MSUI.js +0 -4
- package/dist/cdn/36IQDZ3G.js +0 -4
- package/dist/cdn/3ETI3KHD.js +0 -4
- package/dist/cdn/3GLBQK27.js +0 -4
- package/dist/cdn/4P5DFLTX.js +0 -5
- package/dist/cdn/4PNCM4AX.js +0 -4
- package/dist/cdn/4VJ33WZ7.js +0 -4
- package/dist/cdn/4WMRWSKE.js +0 -4
- package/dist/cdn/4XPC3USH.js +0 -4
- package/dist/cdn/5KFUEZNB.js +0 -4
- package/dist/cdn/5NGQ34PO.js +0 -4
- package/dist/cdn/5PLNMTFM.js +0 -4
- package/dist/cdn/5VFO3P34.js +0 -4
- package/dist/cdn/637CWHOC.js +0 -4
- package/dist/cdn/65HNRYB4.js +0 -4
- package/dist/cdn/6AFC4KYA.js +0 -4
- package/dist/cdn/6N5YEI5U.js +0 -4
- package/dist/cdn/7B3GFLM4.js +0 -4
- package/dist/cdn/7BDY3BU7.js +0 -4
- package/dist/cdn/7KMCO32Q.js +0 -4
- package/dist/cdn/7L55KE2V.js +0 -4
- package/dist/cdn/A4AKT4LY.js +0 -4
- package/dist/cdn/A5LDRWTA.js +0 -4
- package/dist/cdn/B2ZFGOXD.js +0 -4
- package/dist/cdn/BD5LNODX.js +0 -4
- package/dist/cdn/BIUV2EW2.js +0 -4
- package/dist/cdn/BL6DFV7R.js +0 -4
- package/dist/cdn/BUFQD3QO.js +0 -4
- package/dist/cdn/CGL4MV5F.js +0 -4
- package/dist/cdn/CHYFQH6P.js +0 -4
- package/dist/cdn/CZZ7Y35Z.js +0 -4
- package/dist/cdn/D2LJXS5O.js +0 -4
- package/dist/cdn/D67SAEXC.js +0 -4
- package/dist/cdn/DRMOWRTY.js +0 -4
- package/dist/cdn/DUZNF3KO.js +0 -4
- package/dist/cdn/DXPNHQ2A.js +0 -4
- package/dist/cdn/E5DTA2QE.js +0 -4
- package/dist/cdn/EDBEJKG4.js +0 -4
- package/dist/cdn/EJLSAJ7Z.js +0 -4
- package/dist/cdn/EMQJDRYZ.js +0 -4
- package/dist/cdn/ENPAUNXX.js +0 -4
- package/dist/cdn/F32DNIAM.js +0 -4
- package/dist/cdn/F75STQIS.js +0 -4
- package/dist/cdn/FEJPBDMX.js +0 -4
- package/dist/cdn/FGRJXTC4.js +0 -4
- package/dist/cdn/FIOK6KKP.js +0 -4
- package/dist/cdn/FQHCN5PI.js +0 -4
- package/dist/cdn/FUNOEGEP.js +0 -4
- package/dist/cdn/FYLKCHLA.js +0 -4
- package/dist/cdn/FYLZIBTR.js +0 -4
- package/dist/cdn/G4KOFHHD.js +0 -4
- package/dist/cdn/GBFC7BDF.js +0 -4
- package/dist/cdn/GHCICMTZ.js +0 -4
- package/dist/cdn/GLWAKTJ6.js +0 -4
- package/dist/cdn/GLZM6JSO.js +0 -4
- package/dist/cdn/GOGBHK5W.js +0 -4
- package/dist/cdn/GPNRFEBQ.js +0 -4
- package/dist/cdn/HAD7DDQH.js +0 -4
- package/dist/cdn/HD7BQXXH.js +0 -4
- package/dist/cdn/HSORIPSD.js +0 -4
- package/dist/cdn/HT5P52JJ.js +0 -4
- package/dist/cdn/HTTTUKFU.js +0 -4
- package/dist/cdn/HXA2FJLS.js +0 -4
- package/dist/cdn/I3NH27UL.js +0 -4
- package/dist/cdn/IBLIJJ2U.js +0 -4
- package/dist/cdn/ILS226ZZ.js +0 -4
- package/dist/cdn/IM3WBCCU.js +0 -4
- package/dist/cdn/IQ2UBST6.js +0 -4
- package/dist/cdn/IXUH65C6.js +0 -4
- package/dist/cdn/J376WYHL.js +0 -4
- package/dist/cdn/JEKQ4FH3.js +0 -4
- package/dist/cdn/JGAMA7FC.js +0 -4
- package/dist/cdn/JO46OYZR.js +0 -4
- package/dist/cdn/JT24YIBS.js +0 -4
- package/dist/cdn/KD63FUE7.js +0 -4
- package/dist/cdn/KKW7L2H6.js +0 -4
- package/dist/cdn/KQBARG67.js +0 -4
- package/dist/cdn/KRJQ47FX.js +0 -4
- package/dist/cdn/KTUEXPGY.js +0 -4
- package/dist/cdn/KUGNRX5I.js +0 -4
- package/dist/cdn/KYK5G6U6.js +0 -4
- package/dist/cdn/LM6HXX6Z.js +0 -4
- package/dist/cdn/LNOGOTUO.js +0 -4
- package/dist/cdn/M35EWG3A.js +0 -4
- package/dist/cdn/M3JCFUWF.js +0 -4
- package/dist/cdn/M6XAZZYO.js +0 -4
- package/dist/cdn/MA6HL7K7.js +0 -4
- package/dist/cdn/MBMAIEIY.js +0 -4
- package/dist/cdn/MSBMMGC7.js +0 -4
- package/dist/cdn/MTOZCJE4.js +0 -4
- package/dist/cdn/N35AGRPR.js +0 -4
- package/dist/cdn/N54JLHJH.js +0 -4
- package/dist/cdn/NHJUZYR7.js +0 -4
- package/dist/cdn/NICHIV22.js +0 -4
- package/dist/cdn/NTGYJRE6.js +0 -4
- package/dist/cdn/NYJGMFYD.js +0 -4
- package/dist/cdn/OAL2DV3H.js +0 -4
- package/dist/cdn/OB7MFKZ2.js +0 -4
- package/dist/cdn/OLAIRBN2.js +0 -4
- package/dist/cdn/OM5T7IMH.js +0 -4
- package/dist/cdn/P7BS2OQL.js +0 -4
- package/dist/cdn/PF2BHU63.js +0 -4
- package/dist/cdn/PKSMBCZG.js +0 -4
- package/dist/cdn/Q4AC6G46.js +0 -4
- package/dist/cdn/Q7E3BJCS.js +0 -4
- package/dist/cdn/Q7RJTSMT.js +0 -4
- package/dist/cdn/QNRNXYW4.js +0 -4
- package/dist/cdn/QQHBOFYP.js +0 -4
- package/dist/cdn/R4KHFOUZ.js +0 -4
- package/dist/cdn/RTELX7UO.js +0 -4
- package/dist/cdn/RYZGV3PB.js +0 -4
- package/dist/cdn/SI3EGWNU.js +0 -4
- package/dist/cdn/SNZU6GQA.js +0 -4
- package/dist/cdn/SQHW7ZPZ.js +0 -4
- package/dist/cdn/SRQV7IAC.js +0 -4
- package/dist/cdn/TDWHOSGC.js +0 -4
- package/dist/cdn/TSL3GRQ7.js +0 -4
- package/dist/cdn/TVDSU7R2.js +0 -4
- package/dist/cdn/U4WWVT6W.js +0 -4
- package/dist/cdn/UKRZFM6L.js +0 -9
- package/dist/cdn/VA6J4CYT.js +0 -6
- package/dist/cdn/VGTBOKKG.js +0 -4
- package/dist/cdn/VN5JPWXN.js +0 -4
- package/dist/cdn/VOZF6LQJ.js +0 -4
- package/dist/cdn/X3OIHTMN.js +0 -4
- package/dist/cdn/XCQMZYFT.js +0 -4
- package/dist/cdn/XOUKYVQ4.js +0 -4
- package/dist/cdn/YGES3DLF.js +0 -4
- package/dist/cdn/YUWKUAFN.js +0 -4
- package/dist/cdn/YWD7ZFOR.js +0 -4
- package/dist/cdn/ZJE52YLT.js +0 -4
- package/dist/cdn/ZNSS52UU.js +0 -4
- package/dist/cdn/ZTB6OSGP.js +0 -4
- package/dist/cdn/ZWJFEUXM.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.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 -100
- 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/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
|
@@ -1,34 +1,603 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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
|
+
import { ignoreAbortErrors as m } from "@arcgis/core/core/promiseUtils.js";
|
|
5
|
+
import { LitElement as k, createEvent as U, nothing as u, safeClassMap as v } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { u as B } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as O } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
10
|
+
import P from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
11
|
+
import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
+
import { property as a, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
+
import { A as z } from "../../chunks/AnalysisViewModel.js";
|
|
15
|
+
import { a as D } from "../../chunks/maybe.js";
|
|
16
|
+
import { a as _ } from "../../chunks/measurementUtils.js";
|
|
17
|
+
import { t as F, c as b } from "../../chunks/async-utils.js";
|
|
18
|
+
import { m as E } from "../../chunks/handle.js";
|
|
19
|
+
import { createChart as A } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
7
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
21
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const s = n`.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{display:flex;width:550px}.esri-elevation-profile{--popover-padding: 12px 15px;--chart-height: 180px;--calcite-label-margin-bottom: 0;--actions-spacing-h: 7px;--actions-spacing-v: 6px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size}.esri-widget--panel{width:100%}.esri-elevation-profile__header{flex-direction:row;justify-content:flex-end;align-items:center;display:flex}.esri-elevation-profile__footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;margin-top:var(--calcite-spacing-md);display:flex}.esri-elevation-profile__footer calcite-button{min-height:var(--calcite-spacing-xxxl)}.esri-elevation-profile__action-button{width:auto;margin-inline-start:var(--actions-spacing-h)}.esri-elevation-profile__main-container{width:100%;height:var(--chart-height);flex-flow:column;display:flex;position:relative}.esri-elevation-profile__chart-container{width:100%;height:100%;position:relative}.esri-elevation-profile__prompt-container{box-sizing:border-box;text-align:center;justify-content:center;align-items:center;height:100%;margin-bottom:0;padding:var(--popover-padding);display:flex}.esri-elevation-profile__prompt-container>p{width:100%;margin:0}.esri-elevation-profile__chart-spinner{transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.esri-elevation-profile__chart-spinner--visible{opacity:1;transition-delay:50ms}.esri-elevation-profile__chart-spinner--small{inset-inline-start:0;top:-22px;left:unset;color:var(--calcite-color-brand);transform:none}@container (width<=400px){.esri-elevation-profile .esri-component.esri-widget--panel{height:auto}.esri-elevation-profile .esri-elevation-profile__footer{flex-direction:column}.esri-elevation-profile .esri-elevation-profile__action-button{align-self:stretch;margin-inline-start:0}.esri-elevation-profile .esri-elevation-profile__action-button:not(:last-of-type){margin-bottom:var(--actions-spacing-v)}}.esri-elevation-profile-settings calcite-popover[calcite-hydrated-hidden]{inset-block-start:-999999px;inset-inline-start:-999999px}.esri-elevation-profile-settings__popover-content{padding:var(--popover-padding);color:var(--calcite-color-text-1);flex-direction:column;gap:var(--calcite-spacing-md);min-width:180px;font-size:var(--calcite-font-size-sm);display:flex}.esri-elevation-profile-legend{margin-top:6px}.esri-elevation-profile-legend-item{background:var(--calcite-color-foreground-3);position:relative}.esri-elevation-profile-legend-item:not(:last-of-type){margin-bottom:2px}.esri-elevation-profile-legend-item--disabled{filter:grayscale();opacity:.4}.esri-elevation-profile-legend-item__color-indicator{inset-inline-start:0;width:3px;height:100%;position:absolute;top:0}.esri-elevation-profile-legend-item__header{flex-direction:row;justify-content:flex-start;align-items:center;display:flex}.esri-elevation-profile-legend-item__content{padding:0 15px 12px;display:block}.esri-elevation-profile-legend-item__collapse-toggle{flex-shrink:0;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-elevation-profile-legend-item__label{flex-grow:1;flex-shrink:1;min-width:0;padding-inline-start:15px}.esri-elevation-profile-statistics{--max-width: 1px;grid-template-columns:repeat(auto-fit,minmax(var(--max-width),1fr));contain:layout paint style;gap:2px 22px;width:100%;display:grid}.esri-elevation-profile-statistics__statistic{text-align:start;white-space:nowrap;width:max-content;display:block}.esri-elevation-profile-statistics__statistic__label{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-regular)}.esri-elevation-profile-statistics__statistic__value{margin-top:-.15em;font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-semibold)}.esri-elevation-profile-statistics__slope-value{align-items:center;display:flex}.esri-elevation-profile-statistics__slope-value calcite-icon{width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl)}.esri-view-height-xsmall .esri-elevation-profile{--chart-height: 68px}.esri-elevation-profile--portrait .esri-elevation-profile-statistics{gap:6px 22px;margin-bottom:var(--calcite-spacing-md)}.esri-elevation-profile--portrait .esri-elevation-profile-statistics__statistic__value{margin-top:var(--calcite-spacing-base)}`, l = a(t);
|
|
11
|
-
|
|
22
|
+
v5.0.0-next.60 */
|
|
23
|
+
const I = 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 T({ geometry: t }) {
|
|
25
|
+
return t != null && t.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
|
|
26
|
+
}
|
|
27
|
+
function L({ geometry: t }) {
|
|
28
|
+
return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
|
|
29
|
+
}
|
|
30
|
+
function H(t) {
|
|
31
|
+
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
32
|
+
}
|
|
33
|
+
function Z(t) {
|
|
34
|
+
return t?.type === "polyline";
|
|
35
|
+
}
|
|
36
|
+
async function j(t, e, i) {
|
|
37
|
+
const r = await R(t, e);
|
|
38
|
+
return F(i), q(r) ? r.highlight(e) : E();
|
|
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 q(t) {
|
|
46
|
+
return t != null && "highlight" in t && typeof t.highlight == "function";
|
|
47
|
+
}
|
|
48
|
+
var G = Object.defineProperty, N = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
|
|
49
|
+
for (var s = r > 1 ? void 0 : r ? N(e, i) : e, l = t.length - 1, d; l >= 0; l--)
|
|
50
|
+
(d = t[l]) && (s = (r ? d(e, i, s) : d(s)) || s);
|
|
51
|
+
return r && s && G(e, i, s), s;
|
|
52
|
+
};
|
|
53
|
+
let n = class extends z {
|
|
12
54
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
55
|
+
super(...arguments), this.highlightDisabled = !1, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
56
|
+
}
|
|
57
|
+
get _measurementSystem() {
|
|
58
|
+
return this.view ? V(this.view) : void 0;
|
|
59
|
+
}
|
|
60
|
+
get _hasSamples() {
|
|
61
|
+
const { progress: t } = this;
|
|
62
|
+
return this._analysisView?.results?.some((e) => e.available && (t < 1 || H(e))) ?? !1;
|
|
63
|
+
}
|
|
64
|
+
get doneButtonAvailable() {
|
|
65
|
+
if (this.featureIsSelected)
|
|
66
|
+
return !1;
|
|
67
|
+
const { geometry: t } = this.analysis;
|
|
68
|
+
return Z(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
69
|
+
}
|
|
70
|
+
get effectiveDisplayUnits() {
|
|
71
|
+
return this.analysisView?.effectiveDisplayUnits;
|
|
72
|
+
}
|
|
73
|
+
get errorState() {
|
|
74
|
+
if (!T(this.analysis))
|
|
75
|
+
return "no-valid-input";
|
|
76
|
+
const t = this.analysisView?.error;
|
|
77
|
+
if (t)
|
|
78
|
+
switch (t.name) {
|
|
79
|
+
case "too-complex":
|
|
80
|
+
return "too-complex";
|
|
81
|
+
case "elevation-query-error":
|
|
82
|
+
return "no-valid-input";
|
|
83
|
+
default:
|
|
84
|
+
return "unknown";
|
|
85
|
+
}
|
|
86
|
+
return this._hasSamples ? "none" : "no-available-profiles";
|
|
87
|
+
}
|
|
88
|
+
get feature() {
|
|
89
|
+
return this._selectedFeature;
|
|
90
|
+
}
|
|
91
|
+
set feature(t) {
|
|
92
|
+
t ? t !== this.feature && (this.analysis.setGeometryFromFeature(t), this._selectedFeature = t) : this._selectedFeature = void 0;
|
|
93
|
+
}
|
|
94
|
+
get featureIsSelected() {
|
|
95
|
+
return this.feature != null;
|
|
96
|
+
}
|
|
97
|
+
get hasVertices() {
|
|
98
|
+
return L(this.analysis);
|
|
99
|
+
}
|
|
100
|
+
get hoveredPosition() {
|
|
101
|
+
return this.analysisView?.hoveredPosition ?? void 0;
|
|
102
|
+
}
|
|
103
|
+
get geometry() {
|
|
104
|
+
return this.analysis.geometry;
|
|
105
|
+
}
|
|
106
|
+
set geometry(t) {
|
|
107
|
+
this.analysis.geometry = t;
|
|
108
|
+
}
|
|
109
|
+
get elevationInfo() {
|
|
110
|
+
return this.analysis.elevationInfo;
|
|
111
|
+
}
|
|
112
|
+
set elevationInfo(t) {
|
|
113
|
+
this.analysis.elevationInfo = t;
|
|
114
|
+
}
|
|
115
|
+
get profiles() {
|
|
116
|
+
return this.analysis.profiles;
|
|
117
|
+
}
|
|
118
|
+
set profiles(t) {
|
|
119
|
+
this.analysis.profiles = t;
|
|
120
|
+
}
|
|
121
|
+
get progress() {
|
|
122
|
+
return this.analysisView?.progress ?? 0;
|
|
123
|
+
}
|
|
124
|
+
get results() {
|
|
125
|
+
return this.analysisView?.results ?? [];
|
|
126
|
+
}
|
|
127
|
+
get selectButtonAvailable() {
|
|
128
|
+
for (const t of this.view?.map?.allLayers.toArray() ?? [])
|
|
129
|
+
if (t.type === "graphics" && !("internal" in t && t.internal) && t.graphics.some((e) => e.geometry?.type === "polyline") || "geometryType" in t && t.geometryType === "polyline")
|
|
130
|
+
return !0;
|
|
131
|
+
return !!this.view?.graphics?.some((t) => t.geometry?.type === "polyline");
|
|
132
|
+
}
|
|
133
|
+
get state() {
|
|
134
|
+
return this.disabled || !this.ready ? "disabled" : this._selectingPromise ? "selecting" : this.operationState === "active" ? "creating" : this.analysis.valid ? this.featureIsSelected ? "selected" : "created" : "ready";
|
|
135
|
+
}
|
|
136
|
+
get distanceUnit() {
|
|
137
|
+
return y(
|
|
138
|
+
this._userDistanceUnit ?? this.analysis.displayUnits?.distance ?? void 0,
|
|
139
|
+
this.distanceUnitOptions,
|
|
140
|
+
this._measurementSystem
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
set distanceUnit(t) {
|
|
144
|
+
this._userDistanceUnit = t;
|
|
145
|
+
}
|
|
146
|
+
get distanceUnitOptions() {
|
|
147
|
+
return w(this._userDistanceUnitOptions);
|
|
148
|
+
}
|
|
149
|
+
set distanceUnitOptions(t) {
|
|
150
|
+
this._userDistanceUnitOptions = t;
|
|
151
|
+
}
|
|
152
|
+
get elevationUnit() {
|
|
153
|
+
return y(
|
|
154
|
+
this._userElevationUnit ?? this.analysis.displayUnits?.elevation ?? void 0,
|
|
155
|
+
this.elevationUnitOptions,
|
|
156
|
+
this._measurementSystem
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
set elevationUnit(t) {
|
|
160
|
+
this._userElevationUnit = t;
|
|
161
|
+
}
|
|
162
|
+
get elevationUnitOptions() {
|
|
163
|
+
return w(this._userElevationUnitOptions);
|
|
164
|
+
}
|
|
165
|
+
set elevationUnitOptions(t) {
|
|
166
|
+
this._userElevationUnitOptions = t;
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region Public Methods
|
|
170
|
+
initialize() {
|
|
171
|
+
this.addHandles([
|
|
172
|
+
g(
|
|
173
|
+
() => ({
|
|
174
|
+
analysis: this.analysis,
|
|
175
|
+
unitDistance: this.distanceUnit,
|
|
176
|
+
unitElevation: this.elevationUnit
|
|
177
|
+
}),
|
|
178
|
+
({ analysis: t, unitDistance: e, unitElevation: i }) => {
|
|
179
|
+
if (t != null) {
|
|
180
|
+
const r = t.displayUnits;
|
|
181
|
+
r.elevation = i, r.distance = e;
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{ sync: !0, initial: !0 }
|
|
185
|
+
),
|
|
186
|
+
g(
|
|
187
|
+
() => ({
|
|
188
|
+
selectedFeature: this.feature,
|
|
189
|
+
profiles: this.analysis.profiles.toArray()
|
|
190
|
+
}),
|
|
191
|
+
({ selectedFeature: t, profiles: e }, i) => {
|
|
192
|
+
this._highlightSelectedFeature(this.highlightDisabled ? void 0 : t), this.analysis.viewOptions.geometryVisualizationVisible = !this.highlightDisabled && t == null;
|
|
193
|
+
const r = i?.selectedFeature;
|
|
194
|
+
e.forEach((s) => {
|
|
195
|
+
switch (s.type) {
|
|
196
|
+
case "scene":
|
|
197
|
+
this._excludeSelectedFeatureFromProfile(s, t, r);
|
|
198
|
+
break;
|
|
199
|
+
case "input":
|
|
200
|
+
s.chartOptions.lineVisible = t != null, s.viewOptions.lineVisible = t != null;
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
},
|
|
205
|
+
{ initial: !0 }
|
|
206
|
+
)
|
|
207
|
+
]);
|
|
208
|
+
}
|
|
209
|
+
destroy() {
|
|
210
|
+
this._removeSelectionHighlight();
|
|
211
|
+
}
|
|
212
|
+
async select() {
|
|
213
|
+
const t = this.analysisView;
|
|
214
|
+
if (!t)
|
|
215
|
+
return;
|
|
216
|
+
const e = super.start({
|
|
217
|
+
operation: async (i) => {
|
|
218
|
+
const r = await t.pickFeature(i);
|
|
219
|
+
i?.signal?.aborted || (t.interactive = !1, this.feature = r.feature);
|
|
220
|
+
},
|
|
221
|
+
clear: !1
|
|
222
|
+
});
|
|
223
|
+
e.finally(() => {
|
|
224
|
+
this._selectingPromise === e && (this._selectingPromise = void 0);
|
|
225
|
+
}), this._selectingPromise = e, await e.catch();
|
|
226
|
+
}
|
|
227
|
+
async place(t) {
|
|
228
|
+
await this.analysisView?.place(t);
|
|
229
|
+
}
|
|
230
|
+
clearAnalysis() {
|
|
231
|
+
this.geometry = null, this.elevationInfo = null, this.feature = void 0;
|
|
232
|
+
}
|
|
233
|
+
// Should never happen because both 2d and 3d are supported
|
|
234
|
+
constructAnalysis() {
|
|
235
|
+
return new P();
|
|
236
|
+
}
|
|
237
|
+
_highlightSelectedFeature(t) {
|
|
238
|
+
this._removeSelectionHighlight();
|
|
239
|
+
const e = this.view;
|
|
240
|
+
!e || !t || (this._selectionHighlightTask = b(
|
|
241
|
+
async (i) => await j(e, t, { signal: i })
|
|
242
|
+
));
|
|
243
|
+
}
|
|
244
|
+
_removeSelectionHighlight() {
|
|
245
|
+
this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = D(this._selectionHighlightTask);
|
|
246
|
+
}
|
|
247
|
+
_excludeSelectedFeatureFromProfile(t, e, i) {
|
|
248
|
+
const r = new Set(t.exclude ?? []);
|
|
249
|
+
i && r.delete(i), e && r.add(e), t.exclude = Array.from(r);
|
|
250
|
+
}
|
|
251
|
+
//#endregion
|
|
252
|
+
};
|
|
253
|
+
o([
|
|
254
|
+
a()
|
|
255
|
+
], n.prototype, "_userDistanceUnit", 2);
|
|
256
|
+
o([
|
|
257
|
+
a()
|
|
258
|
+
], n.prototype, "_userDistanceUnitOptions", 2);
|
|
259
|
+
o([
|
|
260
|
+
a()
|
|
261
|
+
], n.prototype, "_userElevationUnit", 2);
|
|
262
|
+
o([
|
|
263
|
+
a()
|
|
264
|
+
], n.prototype, "_userElevationUnitOptions", 2);
|
|
265
|
+
o([
|
|
266
|
+
a({ readOnly: !0 })
|
|
267
|
+
], n.prototype, "_measurementSystem", 1);
|
|
268
|
+
o([
|
|
269
|
+
a()
|
|
270
|
+
], n.prototype, "_selectingPromise", 2);
|
|
271
|
+
o([
|
|
272
|
+
a()
|
|
273
|
+
], n.prototype, "_selectedFeature", 2);
|
|
274
|
+
o([
|
|
275
|
+
a()
|
|
276
|
+
], n.prototype, "_selectionHighlightTask", 2);
|
|
277
|
+
o([
|
|
278
|
+
a()
|
|
279
|
+
], n.prototype, "_hasSamples", 1);
|
|
280
|
+
o([
|
|
281
|
+
a()
|
|
282
|
+
], n.prototype, "doneButtonAvailable", 1);
|
|
283
|
+
o([
|
|
284
|
+
a({ readOnly: !0 })
|
|
285
|
+
], n.prototype, "effectiveDisplayUnits", 1);
|
|
286
|
+
o([
|
|
287
|
+
a({ readOnly: !0 })
|
|
288
|
+
], n.prototype, "errorState", 1);
|
|
289
|
+
o([
|
|
290
|
+
a()
|
|
291
|
+
], n.prototype, "feature", 1);
|
|
292
|
+
o([
|
|
293
|
+
a()
|
|
294
|
+
], n.prototype, "featureIsSelected", 1);
|
|
295
|
+
o([
|
|
296
|
+
a({ readOnly: !0 })
|
|
297
|
+
], n.prototype, "hasVertices", 1);
|
|
298
|
+
o([
|
|
299
|
+
a()
|
|
300
|
+
], n.prototype, "highlightDisabled", 2);
|
|
301
|
+
o([
|
|
302
|
+
a()
|
|
303
|
+
], n.prototype, "hoveredPosition", 1);
|
|
304
|
+
o([
|
|
305
|
+
a()
|
|
306
|
+
], n.prototype, "geometry", 1);
|
|
307
|
+
o([
|
|
308
|
+
a()
|
|
309
|
+
], n.prototype, "elevationInfo", 1);
|
|
310
|
+
o([
|
|
311
|
+
a()
|
|
312
|
+
], n.prototype, "profiles", 1);
|
|
313
|
+
o([
|
|
314
|
+
a({ readOnly: !0 })
|
|
315
|
+
], n.prototype, "progress", 1);
|
|
316
|
+
o([
|
|
317
|
+
a({ readOnly: !0 })
|
|
318
|
+
], n.prototype, "results", 1);
|
|
319
|
+
o([
|
|
320
|
+
a({ readOnly: !0 })
|
|
321
|
+
], n.prototype, "selectButtonAvailable", 1);
|
|
322
|
+
o([
|
|
323
|
+
a({ readOnly: !0 })
|
|
324
|
+
], n.prototype, "state", 1);
|
|
325
|
+
o([
|
|
326
|
+
a()
|
|
327
|
+
], n.prototype, "uniformChartScaling", 2);
|
|
328
|
+
o([
|
|
329
|
+
a()
|
|
330
|
+
], n.prototype, "distanceUnit", 1);
|
|
331
|
+
o([
|
|
332
|
+
a()
|
|
333
|
+
], n.prototype, "distanceUnitOptions", 1);
|
|
334
|
+
o([
|
|
335
|
+
a()
|
|
336
|
+
], n.prototype, "elevationUnit", 1);
|
|
337
|
+
o([
|
|
338
|
+
a()
|
|
339
|
+
], n.prototype, "elevationUnitOptions", 1);
|
|
340
|
+
n = o([
|
|
341
|
+
$("components.elevation-profile.ElevationProfileViewModel")
|
|
342
|
+
], n);
|
|
343
|
+
function y(t, e, i) {
|
|
344
|
+
return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
|
|
345
|
+
}
|
|
346
|
+
function w(t) {
|
|
347
|
+
const e = t?.filter((i) => _.includes(i));
|
|
348
|
+
return e && e.length > 0 ? e : _.slice();
|
|
349
|
+
}
|
|
350
|
+
const J = O(n);
|
|
351
|
+
class K extends k {
|
|
352
|
+
constructor() {
|
|
353
|
+
super(...arguments), this.viewModel = J(this), this._messages = B(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.feature = this.viewModel.feature, 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.highlightDisabled = this.viewModel.highlightDisabled, 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.distanceUnit = this.viewModel.distanceUnit, this.distanceUnitOptions = this.viewModel.distanceUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.arcgisPropertyChange = M()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = U();
|
|
14
354
|
}
|
|
15
355
|
static {
|
|
16
|
-
this.properties = { view: 0, autoDestroyDisabled: 5,
|
|
356
|
+
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, feature: 0, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightDisabled: 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, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
|
|
17
357
|
}
|
|
18
358
|
static {
|
|
19
|
-
this.styles =
|
|
359
|
+
this.styles = I;
|
|
360
|
+
}
|
|
361
|
+
get _selectButtonVisible() {
|
|
362
|
+
return !this.hideSelectButton && this.viewModel.selectButtonAvailable;
|
|
363
|
+
}
|
|
364
|
+
get _chart() {
|
|
365
|
+
return this._chartInitializationTask?.value;
|
|
20
366
|
}
|
|
21
367
|
async destroy() {
|
|
22
368
|
await this.manager.destroy();
|
|
23
369
|
}
|
|
370
|
+
async select() {
|
|
371
|
+
m(this.viewModel.select());
|
|
372
|
+
}
|
|
24
373
|
async start() {
|
|
25
|
-
this.
|
|
374
|
+
m(this.viewModel.start());
|
|
26
375
|
}
|
|
27
376
|
async stop() {
|
|
28
|
-
this.
|
|
377
|
+
this.viewModel.stop();
|
|
378
|
+
}
|
|
379
|
+
async clear() {
|
|
380
|
+
this.viewModel.clear();
|
|
381
|
+
}
|
|
382
|
+
load() {
|
|
383
|
+
this.manager.onLifecycle(() => [
|
|
384
|
+
g(() => ({ container: this._chartContainer }), ({ container: e }) => {
|
|
385
|
+
this._destroyChart(), e && (this._chartInitializationTask = b(async (i) => await A({
|
|
386
|
+
view: this.viewModel.view,
|
|
387
|
+
analysisView: this.viewModel.analysisView,
|
|
388
|
+
container: e,
|
|
389
|
+
messages: this._messages,
|
|
390
|
+
signal: i,
|
|
391
|
+
uniformScaling: this.viewModel.uniformChartScaling,
|
|
392
|
+
onRangeChange: (r, s) => {
|
|
393
|
+
this._hideZoomOutButton = r === 1 && s === 1;
|
|
394
|
+
},
|
|
395
|
+
onCursorPositionChange: (r, s) => {
|
|
396
|
+
const { analysisView: l } = this.viewModel;
|
|
397
|
+
l && (l.hoveredPosition = r);
|
|
398
|
+
}
|
|
399
|
+
})));
|
|
400
|
+
}, { sync: !0, initial: !0 }),
|
|
401
|
+
g(() => ({
|
|
402
|
+
chart: this._chart,
|
|
403
|
+
view: this.viewModel.view,
|
|
404
|
+
analysisView: this.viewModel.analysisView,
|
|
405
|
+
uniformScaling: this.viewModel.uniformChartScaling
|
|
406
|
+
}), ({ chart: e, view: i, analysisView: r, uniformScaling: s }) => {
|
|
407
|
+
e && (e.view = i, e.analysisView = r, e.uniformScaling = s);
|
|
408
|
+
}, { sync: !0, initial: !0 }),
|
|
409
|
+
// Make sure to destroy the chart when the component is disconnected.
|
|
410
|
+
{ remove: () => this._destroyChart() }
|
|
411
|
+
]);
|
|
412
|
+
}
|
|
413
|
+
_destroyChart() {
|
|
414
|
+
const e = this._chart;
|
|
415
|
+
this._chartInitializationTask?.abort(), this._chartInitializationTask = void 0, e?.destroy();
|
|
416
|
+
}
|
|
417
|
+
_onCancelButtonClick() {
|
|
418
|
+
this.viewModel.stop(), this.viewModel.clear();
|
|
419
|
+
}
|
|
420
|
+
_onDoneButtonClick() {
|
|
421
|
+
this.viewModel.stop();
|
|
422
|
+
}
|
|
423
|
+
_getErrorMessage() {
|
|
424
|
+
const e = Q[this.viewModel.errorState];
|
|
425
|
+
return e ? this._messages?.errors?.[e] : void 0;
|
|
426
|
+
}
|
|
427
|
+
_onClearButtonClick() {
|
|
428
|
+
this.viewModel.clear();
|
|
429
|
+
}
|
|
430
|
+
_onZoomOutButtonClick() {
|
|
431
|
+
this._chart?.zoomOut();
|
|
432
|
+
}
|
|
433
|
+
_onChartContainerRef(e) {
|
|
434
|
+
this._chartContainer = e;
|
|
435
|
+
}
|
|
436
|
+
render() {
|
|
437
|
+
return c`<div aria-label=${this._messages.componentLabel ?? u} class=${v({
|
|
438
|
+
container: !0,
|
|
439
|
+
[f.widget]: !0,
|
|
440
|
+
[f.widgetDisabled]: this.viewModel.state === "disabled",
|
|
441
|
+
[f.panel]: !0
|
|
442
|
+
})} role=presentation>${this._renderContentForState()}</div>`;
|
|
443
|
+
}
|
|
444
|
+
_renderContentForState() {
|
|
445
|
+
switch (this.viewModel.state) {
|
|
446
|
+
case "ready":
|
|
447
|
+
return this._renderContentForReadyState();
|
|
448
|
+
case "selecting":
|
|
449
|
+
return this._renderContentForSelectingState();
|
|
450
|
+
case "creating":
|
|
451
|
+
return this._renderContentForCreatingState();
|
|
452
|
+
case "selected":
|
|
453
|
+
return this._renderContentForSelectedState();
|
|
454
|
+
case "created":
|
|
455
|
+
return this._renderContentForCreatedState();
|
|
456
|
+
case "disabled":
|
|
457
|
+
return this._renderContentForReadyState();
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
_renderContentForReadyState() {
|
|
461
|
+
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectButtonAvailable: s } = this.viewModel, l = !i && s;
|
|
462
|
+
let d;
|
|
463
|
+
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: p });
|
|
464
|
+
}
|
|
465
|
+
_renderContentForSelectingState() {
|
|
466
|
+
const { view: e } = this.viewModel;
|
|
467
|
+
if (!e)
|
|
468
|
+
return;
|
|
469
|
+
const i = this._messages[`selectingPrompt-${e.type}`];
|
|
470
|
+
return this._renderContent({
|
|
471
|
+
prompt: i,
|
|
472
|
+
chart: !1,
|
|
473
|
+
actions: [{ type: "select-cancel" }]
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
_renderContentForCreatingState() {
|
|
477
|
+
const { viewModel: e } = this, { view: i } = e;
|
|
478
|
+
if (!i)
|
|
479
|
+
return;
|
|
480
|
+
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.doneButtonAvailable }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
|
|
481
|
+
if (e.errorState === "no-valid-input") {
|
|
482
|
+
const l = this._messages[`creatingPrompt-${i.type}`];
|
|
483
|
+
return this._renderContent({
|
|
484
|
+
chart: !1,
|
|
485
|
+
actions: r,
|
|
486
|
+
prompt: l
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
const s = this._getErrorMessage();
|
|
490
|
+
return s ? this._renderContent({ chart: !1, actions: r, prompt: s }) : this._renderContent({ chart: !0, actions: r });
|
|
491
|
+
}
|
|
492
|
+
_renderContentForSelectedState() {
|
|
493
|
+
const e = this._getErrorMessage();
|
|
494
|
+
return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
|
|
495
|
+
}
|
|
496
|
+
_renderContentForCreatedState() {
|
|
497
|
+
const e = this._getErrorMessage();
|
|
498
|
+
return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
|
|
499
|
+
}
|
|
500
|
+
_renderContent(e) {
|
|
501
|
+
const { viewModel: i } = this, r = i.geometry != null;
|
|
502
|
+
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)}`;
|
|
503
|
+
}
|
|
504
|
+
_renderPrompt(e) {
|
|
505
|
+
return [
|
|
506
|
+
c`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
|
|
507
|
+
];
|
|
508
|
+
}
|
|
509
|
+
_renderZoomOutButton() {
|
|
510
|
+
const e = this._messages.zoomOut ?? "";
|
|
511
|
+
return c`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? u}></calcite-action>`;
|
|
512
|
+
}
|
|
513
|
+
_renderChart() {
|
|
514
|
+
if (this.hideChart)
|
|
515
|
+
return;
|
|
516
|
+
const e = this._chart;
|
|
517
|
+
return c`${this._renderSpinner({
|
|
518
|
+
size: e?.chartVisible ? "small" : "large",
|
|
519
|
+
visible: e?.spinnerVisible ?? !1
|
|
520
|
+
})}<div class="chart-container" ${S(this._onChartContainerRef)}></div>`;
|
|
521
|
+
}
|
|
522
|
+
_renderSpinner(e) {
|
|
523
|
+
const i = e.size === "small", r = e.visible ?? !0;
|
|
524
|
+
return c`<calcite-loader class=${v({
|
|
525
|
+
spinner: !0,
|
|
526
|
+
small: i,
|
|
527
|
+
visible: r
|
|
528
|
+
})} .inline=${i} label scale=s></calcite-loader>`;
|
|
529
|
+
}
|
|
530
|
+
_renderClearButton() {
|
|
531
|
+
const e = this._messages.clearProfile ?? "";
|
|
532
|
+
return c`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? u}></calcite-action>`;
|
|
533
|
+
}
|
|
534
|
+
_renderLegend() {
|
|
535
|
+
return c`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
536
|
+
}
|
|
537
|
+
_renderSettingsButton() {
|
|
538
|
+
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.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
539
|
+
this.viewModel.uniformChartScaling = e.detail;
|
|
540
|
+
}}></arcgis-elevation-profile-settings>`;
|
|
541
|
+
}
|
|
542
|
+
_renderActions({ actions: e }) {
|
|
543
|
+
const i = this._messages, r = e.map((s) => {
|
|
544
|
+
switch (s.type) {
|
|
545
|
+
case "sketch":
|
|
546
|
+
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
547
|
+
action: s,
|
|
548
|
+
label: i.sketchButtonLabel,
|
|
549
|
+
primary: !0,
|
|
550
|
+
onClick: () => void this.start()
|
|
551
|
+
}) });
|
|
552
|
+
case "sketch-cancel":
|
|
553
|
+
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
554
|
+
action: s,
|
|
555
|
+
label: i.cancelButtonLabel,
|
|
556
|
+
primary: !1,
|
|
557
|
+
onClick: this._onCancelButtonClick
|
|
558
|
+
}) });
|
|
559
|
+
case "sketch-done":
|
|
560
|
+
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
561
|
+
action: s,
|
|
562
|
+
label: i.doneButtonLabel,
|
|
563
|
+
primary: !0,
|
|
564
|
+
onClick: this._onDoneButtonClick
|
|
565
|
+
}) });
|
|
566
|
+
case "select":
|
|
567
|
+
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
568
|
+
action: s,
|
|
569
|
+
label: i.selectButtonLabel,
|
|
570
|
+
primary: !1,
|
|
571
|
+
onClick: () => void this.select()
|
|
572
|
+
}) });
|
|
573
|
+
case "select-cancel":
|
|
574
|
+
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
575
|
+
action: s,
|
|
576
|
+
label: i.cancelButtonLabel,
|
|
577
|
+
primary: !1,
|
|
578
|
+
onClick: this._onCancelButtonClick
|
|
579
|
+
}) });
|
|
580
|
+
default:
|
|
581
|
+
return;
|
|
582
|
+
}
|
|
583
|
+
}).filter(Boolean);
|
|
584
|
+
return r.length ? c`<footer class="actions">${r}</footer>` : void 0;
|
|
585
|
+
}
|
|
586
|
+
_renderAction({ action: e, label: i, onClick: r, primary: s }) {
|
|
587
|
+
return c`<calcite-button .appearance=${s ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
|
|
29
588
|
}
|
|
30
589
|
}
|
|
31
|
-
|
|
590
|
+
function h(t) {
|
|
591
|
+
return t.hidden ? void 0 : t.children;
|
|
592
|
+
}
|
|
593
|
+
const p = [{ type: "select" }, { type: "sketch" }], Q = {
|
|
594
|
+
none: void 0,
|
|
595
|
+
"no-valid-input": "noProfile",
|
|
596
|
+
"no-available-profiles": "noProfile",
|
|
597
|
+
"too-complex": "tooComplex",
|
|
598
|
+
unknown: "unknown"
|
|
599
|
+
};
|
|
600
|
+
x("arcgis-elevation-profile", K);
|
|
32
601
|
export {
|
|
33
|
-
|
|
602
|
+
K as ArcgisElevationProfile
|
|
34
603
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { default as ElevationProfileAnalysis } from '@arcgis/core/analysis/ElevationProfileAnalysis.js';
|
|
3
3
|
import { default as Polyline } from '@arcgis/core/geometry/Polyline.js';
|
|
4
|
-
import { ElevationProfileResult } from '
|
|
4
|
+
import { default as ElevationProfileResult } from '@arcgis/core/views/analysis/ElevationProfile/ElevationProfileResult';
|
|
5
5
|
export declare function inputIsValid({ geometry }: ElevationProfileAnalysis): boolean;
|
|
6
6
|
export declare function hasVertices({ geometry }: ElevationProfileAnalysis): boolean;
|
|
7
7
|
export declare function resultHasSamples(result: ElevationProfileResult | nullish): boolean;
|