@arcgis/map-components 5.0.0-next.4 → 5.0.0-next.42
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/{X2CAGYVV.js → 26AHC2O2.js} +2 -2
- package/dist/cdn/2GBU6RER.js +4 -0
- package/dist/cdn/{5ANKWYXX.js → 2ILPQ67E.js} +2 -2
- package/dist/cdn/2MQRYPJ7.js +4 -0
- package/dist/cdn/2PBPGYQT.js +4 -0
- package/dist/cdn/2TWHOD2A.js +4 -0
- package/dist/cdn/{BQJGJY6O.js → 2Z6QMMLC.js} +2 -2
- package/dist/cdn/{NILWGXLW.js → 3CISAILB.js} +2 -2
- package/dist/cdn/3GPIZCDK.js +4 -0
- package/dist/cdn/{DZXKOK24.js → 3RHK6GTA.js} +2 -2
- package/dist/cdn/{LN4NTJE5.js → 3XC5LLXH.js} +2 -2
- package/dist/cdn/3XMBO5YY.js +4 -0
- package/dist/cdn/{5ENT7TDL.js → 3ZHHI45D.js} +2 -2
- package/dist/cdn/{FQLBPHYZ.js → 437E7NEA.js} +2 -2
- package/dist/cdn/{XIRC4FZS.js → 44SEE53C.js} +2 -2
- package/dist/cdn/45BXB5A6.js +4 -0
- package/dist/cdn/46KCKCOD.js +4 -0
- package/dist/cdn/{23WG7RNB.js → 4CQX3PLJ.js} +2 -2
- package/dist/cdn/{7T7FHAAN.js → 4KZLTJJS.js} +2 -2
- package/dist/cdn/4LPAQNXP.js +4 -0
- package/dist/cdn/{P33VJA5V.js → 4MACVYVC.js} +2 -2
- package/dist/cdn/{P5JD5EAY.js → 4OFHSL6U.js} +2 -2
- package/dist/cdn/4RHDNXY4.js +4 -0
- package/dist/cdn/{IZJQ7VXF.js → 4T7FDEA3.js} +2 -2
- package/dist/cdn/{55S5XI5F.js → 5CEMGETK.js} +2 -2
- package/dist/cdn/{MJS7QXLQ.js → 5FTT3XDM.js} +2 -2
- package/dist/cdn/5KBC4PPX.js +4 -0
- package/dist/cdn/{7MDHOUFP.js → 5NXKMET3.js} +2 -2
- package/dist/cdn/5OP3S2YF.js +4 -0
- package/dist/cdn/5Q3LGBS5.js +4 -0
- package/dist/cdn/5W7XVVDR.js +4 -0
- package/dist/cdn/{MYW4EK3Z.js → 5ZT4TQ3T.js} +2 -2
- package/dist/cdn/{33ZEUWYM.js → 6APP6V3L.js} +2 -2
- package/dist/cdn/6HJ2NZNY.js +4 -0
- package/dist/cdn/6IEVTK2B.js +4 -0
- package/dist/cdn/6NN57V7S.js +4 -0
- package/dist/cdn/{JTTJ2YTN.js → 6SSRETHN.js} +2 -2
- package/dist/cdn/{HYDF3AIL.js → 6UDLWZO2.js} +2 -2
- package/dist/cdn/6YAASOET.js +4 -0
- package/dist/cdn/{L6DBLCPT.js → 6ZGQIMMH.js} +2 -2
- package/dist/cdn/{32YGUC2B.js → 76Q3ONI6.js} +2 -2
- package/dist/cdn/7I6XS4TQ.js +4 -0
- package/dist/cdn/A4I4QSH2.js +4 -0
- package/dist/cdn/ADGLJZIX.js +4 -0
- package/dist/cdn/{66ZKQ6QF.js → AFJY54O3.js} +2 -2
- package/dist/cdn/AHY5XPKW.js +4 -0
- package/dist/cdn/{5E6WEIL7.js → AOUI523S.js} +2 -2
- package/dist/cdn/{7CFKZWL5.js → AVEHWX6I.js} +2 -2
- package/dist/cdn/B5BYUALU.js +4 -0
- package/dist/cdn/{TNRR3XIP.js → B6VRNPR2.js} +2 -2
- package/dist/cdn/BD4QOQZE.js +4 -0
- package/dist/cdn/BFSCFSIM.js +4 -0
- package/dist/cdn/{26KAYELZ.js → BG3JTK7N.js} +2 -2
- package/dist/cdn/BI57R3B2.js +4 -0
- package/dist/cdn/{IHSOHQXE.js → BJYEKGN3.js} +2 -2
- package/dist/cdn/{ORQSSCQA.js → BMHZ6TWW.js} +2 -2
- package/dist/cdn/BQYS7G2M.js +4 -0
- package/dist/cdn/BYSL4JOQ.js +4 -0
- package/dist/cdn/{33MUHF7N.js → CAZIKY36.js} +2 -2
- package/dist/cdn/{JXRXECOI.js → CNZZZ66N.js} +2 -2
- package/dist/cdn/{VFAQJQEE.js → CQ5C4ELA.js} +2 -2
- package/dist/cdn/{IEXJD3D4.js → CV5QXH2T.js} +2 -2
- package/dist/cdn/CY6XYBBM.js +4 -0
- package/dist/cdn/D4DQXZBW.js +4 -0
- package/dist/cdn/D7XFDQLP.js +4 -0
- package/dist/cdn/{LTRE4ZJ5.js → DBIQ26ZR.js} +2 -2
- package/dist/cdn/{KVIACQ62.js → DGOAY54B.js} +2 -2
- package/dist/cdn/DJSHEU4G.js +4 -0
- package/dist/cdn/DN2MJK3M.js +4 -0
- package/dist/cdn/{HVROLASF.js → DQJNHWBD.js} +2 -2
- package/dist/cdn/DVLFHXKL.js +4 -0
- package/dist/cdn/DVRBN7DE.js +9 -0
- package/dist/cdn/{MBCS4MR7.js → DYAY77PO.js} +1 -1
- package/dist/cdn/{K4EQK6CI.js → E3ZK7TDE.js} +2 -2
- package/dist/cdn/{JQVETO2T.js → E4NHF63K.js} +2 -2
- package/dist/cdn/{QUY5MCYH.js → E5UVTEYA.js} +2 -2
- package/dist/cdn/ECXGQUM3.js +4 -0
- package/dist/cdn/EDGCFF35.js +4 -0
- package/dist/cdn/EFDBCIEV.js +4 -0
- package/dist/cdn/EFRYTIW3.js +4 -0
- package/dist/cdn/EHHF4YYL.js +4 -0
- package/dist/cdn/EHPZCNYR.js +4 -0
- package/dist/cdn/EK62S644.js +4 -0
- package/dist/cdn/{KW3OBSZ5.js → ELLLP244.js} +2 -2
- package/dist/cdn/EXYL4YNF.js +5 -0
- package/dist/cdn/{25OZNZDG.js → FCYPGVH7.js} +2 -2
- package/dist/cdn/FEVFQBPL.js +4 -0
- package/dist/cdn/FHP73FEY.js +4 -0
- package/dist/cdn/FL2ZAN56.js +4 -0
- package/dist/cdn/FVFTTJG4.js +4 -0
- package/dist/cdn/{DKAOOTL4.js → G7KJ7D5A.js} +2 -2
- package/dist/cdn/GCRBNUCG.js +4 -0
- package/dist/cdn/GGRGVCZ7.js +4 -0
- package/dist/cdn/{QM6B45PL.js → GHDEQERX.js} +2 -2
- package/dist/cdn/GPO5C4BV.js +4 -0
- package/dist/cdn/{AHK5STNI.js → H2LK6MDC.js} +2 -2
- package/dist/cdn/HEHKE6UM.js +4 -0
- package/dist/cdn/{ZRPU3SBV.js → HEZYPQZV.js} +2 -2
- package/dist/cdn/HSVI4BWE.js +4 -0
- package/dist/cdn/IDMM442T.js +4 -0
- package/dist/cdn/IIGKWJ7S.js +4 -0
- package/dist/cdn/INOZNR4P.js +4 -0
- package/dist/cdn/{SNABPZ4O.js → IQS4NP5Z.js} +2 -2
- package/dist/cdn/{7CMEKVXO.js → ITRBSG2R.js} +2 -2
- package/dist/cdn/IW4LGHXW.js +4 -0
- package/dist/cdn/IYMOKALO.js +4 -0
- package/dist/cdn/{K6S23FUD.js → J27HDYLO.js} +2 -2
- package/dist/cdn/{ZOZJ5PTC.js → J4VC7PFX.js} +2 -2
- package/dist/cdn/JEFM43GG.js +4 -0
- package/dist/cdn/JIFNA3O2.js +4 -0
- package/dist/cdn/{SIOAS4LN.js → JJW6FPHK.js} +2 -2
- package/dist/cdn/{W5RSFWDM.js → JTZRZHJJ.js} +2 -2
- package/dist/cdn/KGKEHE75.js +4 -0
- package/dist/cdn/{QJD2AOIJ.js → KP2VXBZX.js} +2 -2
- package/dist/cdn/KRV2USFI.js +4 -0
- package/dist/cdn/KU345RFS.js +4 -0
- package/dist/cdn/L3XIAKHE.js +4 -0
- package/dist/cdn/{PB5PBGVA.js → L54ULRBO.js} +2 -2
- package/dist/cdn/L6EPNSRC.js +4 -0
- package/dist/cdn/LLAAPKSJ.js +4 -0
- package/dist/cdn/LMD7QABD.js +4 -0
- package/dist/cdn/M3J6TN6V.js +4 -0
- package/dist/cdn/MD4RC6UO.js +4 -0
- package/dist/cdn/MLSRYW22.js +4 -0
- package/dist/cdn/MNHUWJPQ.js +4 -0
- package/dist/cdn/MOVRO726.js +4 -0
- package/dist/cdn/{QTYA6J2M.js → N45B7VZR.js} +2 -2
- package/dist/cdn/{SSF3GGRT.js → N5HVW72C.js} +2 -2
- package/dist/cdn/{LJXXNHM2.js → N6WGN3RH.js} +1 -1
- package/dist/cdn/N7K5TOAX.js +4 -0
- package/dist/cdn/{64QCM6E6.js → NANEJQWS.js} +2 -2
- package/dist/cdn/{IDPYPTKP.js → NH4WWDD6.js} +2 -2
- package/dist/cdn/{ZDV73SRA.js → NHVJLZVD.js} +2 -2
- package/dist/cdn/NJTTUKWX.js +4 -0
- package/dist/cdn/{W26K55Z3.js → NQSUUQJQ.js} +1 -1
- package/dist/cdn/{PPNF4MWG.js → OMKZBE4M.js} +2 -2
- package/dist/cdn/OPGQ3L32.js +4 -0
- package/dist/cdn/OQARHWHE.js +4 -0
- package/dist/cdn/ORD7LUG6.js +4 -0
- package/dist/cdn/{SYIYMPYO.js → OYJA7CVC.js} +2 -2
- package/dist/cdn/{5Y6AWZVI.js → P4PB7BMM.js} +1 -1
- package/dist/cdn/{4RMNOKZA.js → PD3YYS4P.js} +2 -2
- package/dist/cdn/PE7KMZEL.js +4 -0
- package/dist/cdn/{ITHKDNIT.js → PKO4NC2F.js} +2 -2
- package/dist/cdn/PMS2HSPL.js +4 -0
- package/dist/cdn/PR3SEAO3.js +4 -0
- package/dist/cdn/{NO7SHMLW.js → PZKGXDMH.js} +2 -2
- package/dist/cdn/Q4OL3MEK.js +4 -0
- package/dist/cdn/QAGS4LWK.js +4 -0
- package/dist/cdn/QDD72ULE.js +4 -0
- package/dist/cdn/QL22DAF3.js +4 -0
- package/dist/cdn/QOZJIIQV.js +4 -0
- package/dist/cdn/R44NES4T.js +4 -0
- package/dist/cdn/{FBF3422A.js → RCWUF6S4.js} +1 -1
- package/dist/cdn/RHZQM6A7.js +4 -0
- package/dist/cdn/RKN2TC6V.js +4 -0
- package/dist/cdn/{BU6OEMRF.js → RMLTRD2N.js} +2 -2
- package/dist/cdn/S3PC3JER.js +4 -0
- package/dist/cdn/SEZYH7ML.js +4 -0
- package/dist/cdn/SF7H6CC6.js +4 -0
- package/dist/cdn/{ELTTDD6I.js → SJDGMPA5.js} +2 -2
- package/dist/cdn/{ET53A7BD.js → SKLZL553.js} +2 -2
- package/dist/cdn/SKTK5FAR.js +4 -0
- package/dist/cdn/SOWZBXEP.js +4 -0
- package/dist/cdn/SRKOBPVJ.js +4 -0
- package/dist/cdn/SUYINKJG.js +4 -0
- package/dist/cdn/{H626OGEY.js → SWUABRSU.js} +2 -2
- package/dist/cdn/SX72KDE5.js +4 -0
- package/dist/cdn/T4KQMTU7.js +4 -0
- package/dist/cdn/TAV3RSBJ.js +4 -0
- package/dist/cdn/{644O2ZN3.js → TGA6P5QO.js} +1 -1
- package/dist/cdn/TH7TMHYX.js +4 -0
- package/dist/cdn/TJBUEBH6.js +4 -0
- package/dist/cdn/TL6HI6RS.js +4 -0
- package/dist/cdn/{3MOQYDDW.js → TMN7O6FJ.js} +2 -2
- package/dist/cdn/{ASCEZXVS.js → TWB5UE56.js} +2 -2
- package/dist/cdn/TXW5C7FV.js +4 -0
- package/dist/cdn/{GS75XXLE.js → U2YLERNW.js} +2 -2
- package/dist/cdn/UDSHZ4NK.js +4 -0
- package/dist/cdn/{DZJMGWFN.js → UFE2CTJD.js} +1 -1
- package/dist/cdn/UG4E2Y7P.js +4 -0
- package/dist/cdn/{YHV3NIO3.js → UGACUYY4.js} +1 -1
- package/dist/cdn/UK6V3N2R.js +4 -0
- package/dist/cdn/{5HDE6VZW.js → UKATBWRY.js} +2 -2
- package/dist/cdn/{OMZW5BFB.js → UQQL7D47.js} +2 -2
- package/dist/cdn/V24YNO43.js +4 -0
- package/dist/cdn/{HNTUWDN6.js → VAUPQJ24.js} +2 -2
- package/dist/cdn/{Z3GEIPVJ.js → VBQVICHI.js} +2 -2
- package/dist/cdn/VHQBX2CA.js +4 -0
- package/dist/cdn/{I33MLFDO.js → VIWRO3O7.js} +2 -2
- package/dist/cdn/VJUPFUYX.js +4 -0
- package/dist/cdn/{IHCNH2DN.js → VULZ3GVO.js} +2 -2
- package/dist/cdn/VUPAZ7FL.js +4 -0
- package/dist/cdn/W2UVOZ3H.js +4 -0
- package/dist/cdn/WCBGBBR4.js +4 -0
- package/dist/cdn/WE5URTYS.js +4 -0
- package/dist/cdn/{OWE7LN6J.js → WEUQ6XDA.js} +2 -2
- package/dist/cdn/WHW2YMIZ.js +4 -0
- package/dist/cdn/WQCWKDXR.js +4 -0
- package/dist/cdn/WTQ2766V.js +4 -0
- package/dist/cdn/{XHMPJYVP.js → WWTVT4BW.js} +2 -2
- package/dist/cdn/X3KXNIAK.js +4 -0
- package/dist/cdn/{GX6OS5WM.js → X6J2XYNW.js} +2 -2
- package/dist/cdn/{LIOCNLWV.js → X6NBUB7T.js} +2 -2
- package/dist/cdn/{ZQDZFMSQ.js → X72OYGLZ.js} +2 -2
- package/dist/cdn/XARPZTKD.js +4 -0
- package/dist/cdn/{4KQASVVE.js → XHD5C33K.js} +2 -2
- package/dist/cdn/{QVTN5NUW.js → XJGCAD24.js} +2 -2
- package/dist/cdn/{EXEKXFQP.js → XMVEZY6F.js} +1 -1
- package/dist/cdn/XNEKHNCW.js +4 -0
- package/dist/cdn/XQSYK7VD.js +4 -0
- package/dist/cdn/{7NWMMMFI.js → XRTHTHLN.js} +1 -1
- package/dist/cdn/{NTOKEBO7.js → XY6K5AAY.js} +2 -2
- package/dist/cdn/XZSFGWD2.js +4 -0
- package/dist/cdn/YIQYFEGK.js +4 -0
- package/dist/cdn/YMI3HQT6.js +4 -0
- package/dist/cdn/YNFFKZOP.js +4 -0
- package/dist/cdn/{PIOIDAJB.js → YW2ZTN2B.js} +2 -2
- package/dist/cdn/ZCI6GPV5.js +4 -0
- package/dist/cdn/ZISA556T.js +4 -0
- package/dist/cdn/{3SHRP7XO.js → ZQZOPER3.js} +2 -2
- package/dist/cdn/{AZTXI743.js → ZUCXXPW2.js} +2 -2
- package/dist/cdn/{YCQPBQWG.js → ZUVQ4I5R.js} +2 -2
- package/dist/cdn/{BKA4G57B.js → ZXUWT2XA.js} +2 -2
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/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 +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
- 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 +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- 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 +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- 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 +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- 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 +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +42 -50
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +38 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
- 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 +29 -7
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +108 -73
- package/dist/components/arcgis-elevation-profile/customElement.js +573 -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 +13 -12
- package/dist/components/arcgis-expand/customElement.js +153 -52
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- 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 +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +29 -14
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -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 +4 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- 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 +5 -5
- 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 +19 -4
- 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 +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
- package/dist/components/arcgis-link-chart/customElement.js +22 -27
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +479 -64
- package/dist/components/arcgis-map/customElement.js +28 -33
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +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 +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +50 -20
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +3 -3
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +66 -11
- package/dist/components/arcgis-scene/customElement.js +25 -30
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +3 -3
- 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 +5 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -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 +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- 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 +38 -52
- 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.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- 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-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +18 -2
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- 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 +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +3260 -3124
- package/dist/docs/docs.json +2768 -2485
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +307 -488
- package/dist/docs/web-types.json +929 -963
- package/dist/index.d.ts +39 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +28 -25
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +41 -29
- package/dist/types/preact.d.ts +44 -31
- package/dist/types/preact10.d.ts +47 -33
- package/dist/types/react.d.ts +47 -33
- package/dist/types/stencil.d.ts +41 -29
- 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/2BCLISGV.js +0 -4
- package/dist/cdn/2E2OTBP3.js +0 -4
- package/dist/cdn/2PQU44IE.js +0 -4
- package/dist/cdn/2TWS5YI6.js +0 -4
- package/dist/cdn/2X4FSJKI.js +0 -9
- package/dist/cdn/2XCV2CMA.js +0 -4
- package/dist/cdn/3CEZU4WQ.js +0 -4
- package/dist/cdn/3OQFJFII.js +0 -4
- package/dist/cdn/4AOQKZRQ.js +0 -4
- package/dist/cdn/4IMJQEWN.js +0 -4
- package/dist/cdn/4OEMJ2SD.js +0 -4
- package/dist/cdn/4XGQ26JG.js +0 -4
- package/dist/cdn/56OWPQVV.js +0 -4
- package/dist/cdn/5D2VWK66.js +0 -4
- package/dist/cdn/5FPDA2I6.js +0 -4
- package/dist/cdn/5FTBHJXN.js +0 -4
- package/dist/cdn/5N7KH7NZ.js +0 -4
- package/dist/cdn/5WLAQODX.js +0 -4
- package/dist/cdn/654H67QV.js +0 -4
- package/dist/cdn/66SUBFJS.js +0 -4
- package/dist/cdn/7BWGDUUQ.js +0 -4
- package/dist/cdn/7FS7KAGQ.js +0 -4
- package/dist/cdn/7UXSP6EE.js +0 -4
- package/dist/cdn/A7VZPANO.js +0 -4
- package/dist/cdn/AHVNWN6T.js +0 -4
- package/dist/cdn/AIJCNZRM.js +0 -4
- package/dist/cdn/ATK4EQ7U.js +0 -4
- package/dist/cdn/AWUVSJ4I.js +0 -4
- package/dist/cdn/B37SLAFV.js +0 -4
- package/dist/cdn/BHEWYFQY.js +0 -4
- package/dist/cdn/BKP4BYDJ.js +0 -4
- package/dist/cdn/BNHSOSCM.js +0 -4
- package/dist/cdn/BRTX4VDL.js +0 -4
- package/dist/cdn/BV332IWQ.js +0 -4
- package/dist/cdn/C6L47PCN.js +0 -4
- package/dist/cdn/CIVNL54M.js +0 -4
- package/dist/cdn/CQCD3WDG.js +0 -4
- package/dist/cdn/CSTMQZDP.js +0 -4
- package/dist/cdn/CXN7GCTD.js +0 -4
- package/dist/cdn/DJZCJD3T.js +0 -4
- package/dist/cdn/EC7NTTMA.js +0 -4
- package/dist/cdn/EFIRKPF3.js +0 -4
- package/dist/cdn/ELKVQQ7D.js +0 -4
- package/dist/cdn/F37SOOSB.js +0 -4
- package/dist/cdn/FAXTY5SS.js +0 -4
- package/dist/cdn/FYE7EKEC.js +0 -4
- package/dist/cdn/G5TZUCV3.js +0 -4
- package/dist/cdn/GJQ7PMB7.js +0 -4
- package/dist/cdn/GQJE5OUE.js +0 -4
- package/dist/cdn/GXI7P7XS.js +0 -4
- package/dist/cdn/H32W2DCZ.js +0 -4
- package/dist/cdn/H756UUMB.js +0 -4
- package/dist/cdn/HIOSPYNQ.js +0 -4
- package/dist/cdn/HQ44YTSF.js +0 -4
- package/dist/cdn/HY6634VN.js +0 -4
- package/dist/cdn/HYWMDLRY.js +0 -4
- package/dist/cdn/IA33VMUG.js +0 -4
- package/dist/cdn/IOOPHFHT.js +0 -4
- package/dist/cdn/J6GKTNWR.js +0 -4
- package/dist/cdn/JJ55OQED.js +0 -4
- package/dist/cdn/JK6DTNWT.js +0 -4
- package/dist/cdn/JLV2VBC5.js +0 -4
- package/dist/cdn/JT75CZUB.js +0 -4
- package/dist/cdn/K4BFKFZ2.js +0 -4
- package/dist/cdn/KDDEVH4U.js +0 -4
- package/dist/cdn/KLTVZHQA.js +0 -4
- package/dist/cdn/KNCA3SKI.js +0 -4
- package/dist/cdn/L5BT6RA6.js +0 -4
- package/dist/cdn/LRUCJZCF.js +0 -4
- package/dist/cdn/LUS46PJS.js +0 -4
- package/dist/cdn/LUU3MMZC.js +0 -4
- package/dist/cdn/LYTR47EO.js +0 -4
- package/dist/cdn/M5YYA3DP.js +0 -4
- package/dist/cdn/MHAOD5LL.js +0 -4
- package/dist/cdn/MRRTLF3Q.js +0 -4
- package/dist/cdn/NCTKCIMH.js +0 -4
- package/dist/cdn/NK7W7H3O.js +0 -4
- package/dist/cdn/NNBM4MJM.js +0 -4
- package/dist/cdn/NVCA4IBX.js +0 -4
- package/dist/cdn/NZP5SLEC.js +0 -4
- package/dist/cdn/OAKEOF5Z.js +0 -4
- package/dist/cdn/OXTE6NQP.js +0 -4
- package/dist/cdn/PN4NYC47.js +0 -4
- package/dist/cdn/PXZVIBO5.js +0 -4
- package/dist/cdn/QI2PIRGR.js +0 -4
- package/dist/cdn/QJKG2O2J.js +0 -4
- package/dist/cdn/QL7ZKKVM.js +0 -4
- package/dist/cdn/QTUINRMA.js +0 -4
- package/dist/cdn/QTX44MPH.js +0 -4
- package/dist/cdn/R2VYYTEB.js +0 -4
- package/dist/cdn/RZTPBL5M.js +0 -5
- package/dist/cdn/S6CCVUTN.js +0 -4
- package/dist/cdn/S6KWWLV3.js +0 -4
- package/dist/cdn/SEUXPSM6.js +0 -4
- package/dist/cdn/SEXAUJM5.js +0 -4
- package/dist/cdn/STJFX7RM.js +0 -4
- package/dist/cdn/SXHYCAIT.js +0 -4
- package/dist/cdn/T54DV4QC.js +0 -4
- package/dist/cdn/TQBIJGQS.js +0 -4
- package/dist/cdn/TYPX5QRF.js +0 -4
- package/dist/cdn/TYQGVZYI.js +0 -4
- package/dist/cdn/UJZ5JH6J.js +0 -4
- package/dist/cdn/V4N5GGFQ.js +0 -4
- package/dist/cdn/VMCP5ODS.js +0 -4
- package/dist/cdn/VPRPVNFB.js +0 -4
- package/dist/cdn/VT6EJ2WP.js +0 -4
- package/dist/cdn/VZHLFLNT.js +0 -4
- package/dist/cdn/WCHCFMJJ.js +0 -4
- package/dist/cdn/WGSCKAJJ.js +0 -4
- package/dist/cdn/WJCYWE3O.js +0 -4
- package/dist/cdn/YCX7GC7L.js +0 -4
- package/dist/cdn/Z2M5WQBL.js +0 -4
- package/dist/cdn/ZAVOAP6R.js +0 -4
- package/dist/cdn/ZB6HNUVW.js +0 -4
- package/dist/cdn/ZGKPCMCL.js +0 -4
- package/dist/cdn/ZWCA7RTD.js +0 -4
- package/dist/cdn/ZYF3EM6X.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/chunks/uiController.js +0 -45
- 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-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
- 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,542 +0,0 @@
|
|
|
1
|
-
import { c as b } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as x, html as d } from "lit";
|
|
3
|
-
import { ref as C } from "lit/directives/ref.js";
|
|
4
|
-
import { ignoreAbortErrors as m } from "@arcgis/core/core/promiseUtils.js";
|
|
5
|
-
import { LitElement as S, createEvent as k, nothing as g, safeClassMap as v } from "@arcgis/lumina";
|
|
6
|
-
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
7
|
-
import { u as B } from "../../chunks/useT9n.js";
|
|
8
|
-
import { m as E } from "../../chunks/useViewModel.js";
|
|
9
|
-
import { g as u } from "../../chunks/globalCss.js";
|
|
10
|
-
import O from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
11
|
-
import { getDefaultUnitForView as D } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
-
import { property as a, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
-
import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
-
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
15
|
-
import { m as _ } from "../../chunks/measurementUtils.js";
|
|
16
|
-
import { c as z } from "../../chunks/async-utils.js";
|
|
17
|
-
import { createChart as U } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
18
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.4 */
|
|
21
|
-
const V = x`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size;resize:horizontal}.container{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;top:-22px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
22
|
-
function A({ geometry: t }) {
|
|
23
|
-
return t != null && t.type === "polyline" && t.paths.length > 0 && t.paths.every((e) => e.length >= 2);
|
|
24
|
-
}
|
|
25
|
-
function F({ geometry: t }) {
|
|
26
|
-
return t?.type === "polyline" && t.paths.reduce((e, i) => e + i.length, 0) > 0;
|
|
27
|
-
}
|
|
28
|
-
function L(t) {
|
|
29
|
-
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
30
|
-
}
|
|
31
|
-
function I(t) {
|
|
32
|
-
return t?.type === "polyline";
|
|
33
|
-
}
|
|
34
|
-
var T = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, s = (t, e, i, r) => {
|
|
35
|
-
for (var n = r > 1 ? void 0 : r ? Z(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
36
|
-
(c = t[l]) && (n = (r ? c(e, i, n) : c(n)) || n);
|
|
37
|
-
return r && n && T(e, i, n), n;
|
|
38
|
-
};
|
|
39
|
-
let o = class extends $ {
|
|
40
|
-
constructor() {
|
|
41
|
-
super(...arguments), this.highlightEnabled = !0, this.uniformChartScaling = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
42
|
-
}
|
|
43
|
-
get _measurementSystem() {
|
|
44
|
-
return this.view ? D(this.view) : void 0;
|
|
45
|
-
}
|
|
46
|
-
get _hasSamples() {
|
|
47
|
-
const { progress: t } = this;
|
|
48
|
-
return this._analysisView?.results?.some((e) => e.available && (t < 1 || L(e))) ?? !1;
|
|
49
|
-
}
|
|
50
|
-
get canStopCreating() {
|
|
51
|
-
const { geometry: t } = this.analysis;
|
|
52
|
-
return I(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
53
|
-
}
|
|
54
|
-
get effectiveDisplayUnits() {
|
|
55
|
-
return this.analysisView?.effectiveDisplayUnits;
|
|
56
|
-
}
|
|
57
|
-
get errorState() {
|
|
58
|
-
if (!A(this.analysis))
|
|
59
|
-
return "no-valid-input";
|
|
60
|
-
const t = this.analysisView?.error;
|
|
61
|
-
if (t)
|
|
62
|
-
switch (t.name) {
|
|
63
|
-
case "too-complex":
|
|
64
|
-
return "too-complex";
|
|
65
|
-
case "invalid-geometry":
|
|
66
|
-
return "invalid-geometry";
|
|
67
|
-
case "elevation-query-error":
|
|
68
|
-
return "no-valid-input";
|
|
69
|
-
default:
|
|
70
|
-
return "unknown";
|
|
71
|
-
}
|
|
72
|
-
return this._hasSamples ? "none" : "no-available-profiles";
|
|
73
|
-
}
|
|
74
|
-
get hasVertices() {
|
|
75
|
-
return F(this.analysis);
|
|
76
|
-
}
|
|
77
|
-
get hoveredPosition() {
|
|
78
|
-
return this.analysisView?.hoveredPosition ?? void 0;
|
|
79
|
-
}
|
|
80
|
-
get geometry() {
|
|
81
|
-
return this.analysis.geometry;
|
|
82
|
-
}
|
|
83
|
-
set geometry(t) {
|
|
84
|
-
this.analysis.geometry = t;
|
|
85
|
-
}
|
|
86
|
-
get elevationInfo() {
|
|
87
|
-
return this.analysis.elevationInfo;
|
|
88
|
-
}
|
|
89
|
-
set elevationInfo(t) {
|
|
90
|
-
this.analysis.elevationInfo = t;
|
|
91
|
-
}
|
|
92
|
-
get profiles() {
|
|
93
|
-
return this.analysis.profiles;
|
|
94
|
-
}
|
|
95
|
-
set profiles(t) {
|
|
96
|
-
this.analysis.profiles = t;
|
|
97
|
-
}
|
|
98
|
-
get progress() {
|
|
99
|
-
return this.analysisView?.progress ?? 0;
|
|
100
|
-
}
|
|
101
|
-
get results() {
|
|
102
|
-
const { analysis: t, analysisView: e } = this;
|
|
103
|
-
if (!e)
|
|
104
|
-
return [];
|
|
105
|
-
const { profiles: i } = t, { results: r } = e;
|
|
106
|
-
return i.length !== r.length ? [] : i.toArray().map((n, l) => {
|
|
107
|
-
const c = r.at(l);
|
|
108
|
-
return { profileLine: n, result: c };
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
get selectAvailable() {
|
|
112
|
-
for (const t of this.view?.map?.allLayers.toArray() ?? [])
|
|
113
|
-
if (t.type === "graphics" && !("internal" in t && t.internal) && t.graphics.some((e) => e.geometry?.type === "polyline") || "geometryType" in t && t.geometryType === "polyline")
|
|
114
|
-
return !0;
|
|
115
|
-
return !!this.view?.graphics?.some((t) => t.geometry?.type === "polyline");
|
|
116
|
-
}
|
|
117
|
-
get state() {
|
|
118
|
-
if (this.disabled || !this.ready)
|
|
119
|
-
return "disabled";
|
|
120
|
-
if (this._selectingPromise)
|
|
121
|
-
return "selecting";
|
|
122
|
-
if (this.operationState === "active")
|
|
123
|
-
return "creating";
|
|
124
|
-
if (this.analysis.valid) {
|
|
125
|
-
const t = this.analysis.geometry;
|
|
126
|
-
return t != null && "geometry" in t ? "selected" : "created";
|
|
127
|
-
} else
|
|
128
|
-
return "ready";
|
|
129
|
-
}
|
|
130
|
-
get unitDistance() {
|
|
131
|
-
return y(this._userUnitDistance, this.unitOptionsDistance, this._measurementSystem);
|
|
132
|
-
}
|
|
133
|
-
set unitDistance(t) {
|
|
134
|
-
this._userUnitDistance = t;
|
|
135
|
-
}
|
|
136
|
-
get unitElevation() {
|
|
137
|
-
return y(this._userUnitElevation, this.unitOptionsElevation, this._measurementSystem);
|
|
138
|
-
}
|
|
139
|
-
set unitElevation(t) {
|
|
140
|
-
this._userUnitElevation = t;
|
|
141
|
-
}
|
|
142
|
-
get unitOptionsDistance() {
|
|
143
|
-
return w(this._userUnitOptionsDistance);
|
|
144
|
-
}
|
|
145
|
-
set unitOptionsDistance(t) {
|
|
146
|
-
this._userUnitOptionsDistance = t;
|
|
147
|
-
}
|
|
148
|
-
get unitOptionsElevation() {
|
|
149
|
-
return w(this._userUnitOptionsElevation);
|
|
150
|
-
}
|
|
151
|
-
set unitOptionsElevation(t) {
|
|
152
|
-
this._userUnitOptionsElevation = t;
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region Public Methods
|
|
156
|
-
initialize() {
|
|
157
|
-
this.addHandles(
|
|
158
|
-
f(
|
|
159
|
-
() => ({
|
|
160
|
-
analysis: this.analysis,
|
|
161
|
-
unitDistance: this.unitDistance,
|
|
162
|
-
unitElevation: this.unitElevation
|
|
163
|
-
}),
|
|
164
|
-
({ analysis: t, unitDistance: e, unitElevation: i }) => {
|
|
165
|
-
if (t != null) {
|
|
166
|
-
const r = t.displayUnits;
|
|
167
|
-
r.elevation = i, r.distance = e;
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
{ sync: !0, initial: !0 }
|
|
171
|
-
)
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
async select() {
|
|
175
|
-
const t = this.analysisView;
|
|
176
|
-
if (!t)
|
|
177
|
-
return;
|
|
178
|
-
const e = super.start({
|
|
179
|
-
operation: async (i) => {
|
|
180
|
-
await t.pickFeature(i);
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
e.finally(() => {
|
|
184
|
-
this._selectingPromise === e && (this._selectingPromise = void 0);
|
|
185
|
-
}), this._selectingPromise = e, await e.catch();
|
|
186
|
-
}
|
|
187
|
-
async place(t) {
|
|
188
|
-
await this.analysisView?.place(t);
|
|
189
|
-
}
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region Protected/Private Methods
|
|
192
|
-
clearAnalysis() {
|
|
193
|
-
this.geometry = null, this.elevationInfo = null;
|
|
194
|
-
}
|
|
195
|
-
// Should never happen because both 2d and 3d are supported
|
|
196
|
-
constructAnalysis() {
|
|
197
|
-
return new O();
|
|
198
|
-
}
|
|
199
|
-
//#endregion
|
|
200
|
-
};
|
|
201
|
-
s([
|
|
202
|
-
a()
|
|
203
|
-
], o.prototype, "_userUnitOptionsDistance", 2);
|
|
204
|
-
s([
|
|
205
|
-
a()
|
|
206
|
-
], o.prototype, "_userUnitOptionsElevation", 2);
|
|
207
|
-
s([
|
|
208
|
-
a()
|
|
209
|
-
], o.prototype, "_userUnitDistance", 2);
|
|
210
|
-
s([
|
|
211
|
-
a()
|
|
212
|
-
], o.prototype, "_userUnitElevation", 2);
|
|
213
|
-
s([
|
|
214
|
-
a({ readOnly: !0 })
|
|
215
|
-
], o.prototype, "_measurementSystem", 1);
|
|
216
|
-
s([
|
|
217
|
-
a()
|
|
218
|
-
], o.prototype, "_selectingPromise", 2);
|
|
219
|
-
s([
|
|
220
|
-
a()
|
|
221
|
-
], o.prototype, "_hasSamples", 1);
|
|
222
|
-
s([
|
|
223
|
-
a()
|
|
224
|
-
], o.prototype, "canStopCreating", 1);
|
|
225
|
-
s([
|
|
226
|
-
a({ readOnly: !0 })
|
|
227
|
-
], o.prototype, "effectiveDisplayUnits", 1);
|
|
228
|
-
s([
|
|
229
|
-
a({ readOnly: !0 })
|
|
230
|
-
], o.prototype, "errorState", 1);
|
|
231
|
-
s([
|
|
232
|
-
a({ readOnly: !0 })
|
|
233
|
-
], o.prototype, "hasVertices", 1);
|
|
234
|
-
s([
|
|
235
|
-
a()
|
|
236
|
-
], o.prototype, "highlightEnabled", 2);
|
|
237
|
-
s([
|
|
238
|
-
a()
|
|
239
|
-
], o.prototype, "hoveredPosition", 1);
|
|
240
|
-
s([
|
|
241
|
-
a()
|
|
242
|
-
], o.prototype, "geometry", 1);
|
|
243
|
-
s([
|
|
244
|
-
a()
|
|
245
|
-
], o.prototype, "elevationInfo", 1);
|
|
246
|
-
s([
|
|
247
|
-
a()
|
|
248
|
-
], o.prototype, "profiles", 1);
|
|
249
|
-
s([
|
|
250
|
-
a({ readOnly: !0 })
|
|
251
|
-
], o.prototype, "progress", 1);
|
|
252
|
-
s([
|
|
253
|
-
a({ readOnly: !0 })
|
|
254
|
-
], o.prototype, "results", 1);
|
|
255
|
-
s([
|
|
256
|
-
a({ readOnly: !0 })
|
|
257
|
-
], o.prototype, "selectAvailable", 1);
|
|
258
|
-
s([
|
|
259
|
-
a({ readOnly: !0 })
|
|
260
|
-
], o.prototype, "state", 1);
|
|
261
|
-
s([
|
|
262
|
-
a()
|
|
263
|
-
], o.prototype, "uniformChartScaling", 2);
|
|
264
|
-
s([
|
|
265
|
-
a()
|
|
266
|
-
], o.prototype, "unitDistance", 1);
|
|
267
|
-
s([
|
|
268
|
-
a()
|
|
269
|
-
], o.prototype, "unitElevation", 1);
|
|
270
|
-
s([
|
|
271
|
-
a()
|
|
272
|
-
], o.prototype, "unitOptionsDistance", 1);
|
|
273
|
-
s([
|
|
274
|
-
a()
|
|
275
|
-
], o.prototype, "unitOptionsElevation", 1);
|
|
276
|
-
o = s([
|
|
277
|
-
P("components.elevation-profile.ElevationProfileViewModel")
|
|
278
|
-
], o);
|
|
279
|
-
function y(t, e, i) {
|
|
280
|
-
return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
|
|
281
|
-
}
|
|
282
|
-
function w(t) {
|
|
283
|
-
const e = t?.filter((i) => _.includes(i));
|
|
284
|
-
return e && e.length > 0 ? e : _.slice();
|
|
285
|
-
}
|
|
286
|
-
const j = E(o);
|
|
287
|
-
class R extends S {
|
|
288
|
-
constructor() {
|
|
289
|
-
super(...arguments), this.viewModel = j(this), this._messages = B(), this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideSketchButton = !1, this.hideUniformChartScalingToggle = !1, this.hideUnitSelector = !1, this.highlightEnabled = this.viewModel.highlightEnabled, this.hoveredPosition = this.viewModel.hoveredPosition, this.icon = "altitude", this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.unitDistance = this.viewModel.unitDistance, this.unitElevation = this.viewModel.unitElevation, this.unitOptionsDistance = this.viewModel.unitOptionsDistance, this.unitOptionsElevation = this.viewModel.unitOptionsElevation, this.arcgisPropertyChange = M()("geometry", "effectiveDisplayUnits", "progress", "state"), this.arcgisReady = k();
|
|
290
|
-
}
|
|
291
|
-
static {
|
|
292
|
-
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredPosition: 9, icon: 3, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, profiles: 0, progress: 40, state: 3, uniformChartScaling: 5, unitDistance: 1, unitElevation: 1, unitOptionsDistance: 0, unitOptionsElevation: 0 };
|
|
293
|
-
}
|
|
294
|
-
static {
|
|
295
|
-
this.styles = V;
|
|
296
|
-
}
|
|
297
|
-
get _selectButtonVisible() {
|
|
298
|
-
return !this.hideSelectButton && this.viewModel.selectAvailable;
|
|
299
|
-
}
|
|
300
|
-
get _chart() {
|
|
301
|
-
return this._chartInitializationTask?.value;
|
|
302
|
-
}
|
|
303
|
-
async destroy() {
|
|
304
|
-
await this.manager.destroy();
|
|
305
|
-
}
|
|
306
|
-
async select() {
|
|
307
|
-
this.viewModel.select();
|
|
308
|
-
}
|
|
309
|
-
async start() {
|
|
310
|
-
this.viewModel.start();
|
|
311
|
-
}
|
|
312
|
-
async stop() {
|
|
313
|
-
this.viewModel.stop();
|
|
314
|
-
}
|
|
315
|
-
load() {
|
|
316
|
-
this.manager.onLifecycle(() => [
|
|
317
|
-
f(() => ({ container: this._chartContainer }), ({ container: e }) => {
|
|
318
|
-
this._destroyChart(), e && (this._chartInitializationTask = z(async (i) => await U({
|
|
319
|
-
view: this.viewModel.view,
|
|
320
|
-
analysisView: this.viewModel.analysisView,
|
|
321
|
-
container: e,
|
|
322
|
-
messages: this._messages,
|
|
323
|
-
signal: i,
|
|
324
|
-
onRangeChange: (r, n) => {
|
|
325
|
-
this._hideZoomOutButton = r === 1 && n === 1;
|
|
326
|
-
},
|
|
327
|
-
onCursorPositionChange: (r, n) => {
|
|
328
|
-
const { analysisView: l } = this.viewModel;
|
|
329
|
-
l && (l.hoveredPosition = r);
|
|
330
|
-
}
|
|
331
|
-
})));
|
|
332
|
-
}, { sync: !0, initial: !0 }),
|
|
333
|
-
f(() => ({
|
|
334
|
-
chart: this._chart,
|
|
335
|
-
view: this.viewModel.view,
|
|
336
|
-
analysisView: this.viewModel.analysisView,
|
|
337
|
-
uniformScaling: this.viewModel.uniformChartScaling
|
|
338
|
-
}), ({ chart: e, view: i, analysisView: r, uniformScaling: n }) => {
|
|
339
|
-
e && (e.view = i, e.analysisView = r, e.uniformScaling = n);
|
|
340
|
-
}, { sync: !0, initial: !0 }),
|
|
341
|
-
// Make sure to destroy the chart when the component is disconnected.
|
|
342
|
-
{ remove: () => this._destroyChart() }
|
|
343
|
-
]);
|
|
344
|
-
}
|
|
345
|
-
_destroyChart() {
|
|
346
|
-
const e = this._chart;
|
|
347
|
-
this._chartInitializationTask?.abort(), this._chartInitializationTask = void 0, e?.destroy();
|
|
348
|
-
}
|
|
349
|
-
_onCancelButtonClick() {
|
|
350
|
-
this.viewModel.stop();
|
|
351
|
-
}
|
|
352
|
-
_onDoneButtonClick() {
|
|
353
|
-
this.viewModel.stop();
|
|
354
|
-
}
|
|
355
|
-
_getErrorMessage() {
|
|
356
|
-
const e = H[this.viewModel.errorState];
|
|
357
|
-
return e ? this._messages?.errors?.[e] : void 0;
|
|
358
|
-
}
|
|
359
|
-
_onSketchButtonClick() {
|
|
360
|
-
m(this.viewModel.start());
|
|
361
|
-
}
|
|
362
|
-
_onSelectButtonClick() {
|
|
363
|
-
m(this.viewModel.select());
|
|
364
|
-
}
|
|
365
|
-
_onClearButtonClick() {
|
|
366
|
-
this.viewModel.clear();
|
|
367
|
-
}
|
|
368
|
-
_onZoomOutButtonClick() {
|
|
369
|
-
this._chart?.zoomOut();
|
|
370
|
-
}
|
|
371
|
-
_onChartContainerRef(e) {
|
|
372
|
-
this._chartContainer = e;
|
|
373
|
-
}
|
|
374
|
-
render() {
|
|
375
|
-
return d`<div aria-label=${this._messages.componentLabel ?? g} class=${v({
|
|
376
|
-
container: !0,
|
|
377
|
-
[u.widget]: !0,
|
|
378
|
-
[u.widgetDisabled]: this.viewModel.state === "disabled",
|
|
379
|
-
[u.panel]: !0
|
|
380
|
-
})} role=presentation>${this._renderContentForState()}</div>`;
|
|
381
|
-
}
|
|
382
|
-
_renderContentForState() {
|
|
383
|
-
switch (this.viewModel.state) {
|
|
384
|
-
case "ready":
|
|
385
|
-
return this._renderContentForReadyState();
|
|
386
|
-
case "selecting":
|
|
387
|
-
return this._renderContentForSelectingState();
|
|
388
|
-
case "creating":
|
|
389
|
-
return this._renderContentForCreatingState();
|
|
390
|
-
case "selected":
|
|
391
|
-
return this._renderContentForSelectedState();
|
|
392
|
-
case "created":
|
|
393
|
-
return this._renderContentForCreatedState();
|
|
394
|
-
case "disabled":
|
|
395
|
-
return this._renderContentForReadyState();
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
_renderContentForReadyState() {
|
|
399
|
-
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectAvailable: n } = this.viewModel, l = !i && n;
|
|
400
|
-
let c;
|
|
401
|
-
return !r && l ? c = e.readyPrompt : r ? l ? c = e.readyPromptSelectOnly : c = e.errors?.noProfile : c = e.readyPromptCreateOnly, this._renderContent({ prompt: c, chart: !1, actions: p });
|
|
402
|
-
}
|
|
403
|
-
_renderContentForSelectingState() {
|
|
404
|
-
const { view: e } = this.viewModel;
|
|
405
|
-
if (!e)
|
|
406
|
-
return;
|
|
407
|
-
const i = this._messages[`selectingPrompt-${e.type}`];
|
|
408
|
-
return this._renderContent({
|
|
409
|
-
prompt: i,
|
|
410
|
-
chart: !1,
|
|
411
|
-
actions: [{ type: "select-cancel" }]
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
_renderContentForCreatingState() {
|
|
415
|
-
const { viewModel: e } = this, { view: i } = e;
|
|
416
|
-
if (!i)
|
|
417
|
-
return;
|
|
418
|
-
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.canStopCreating }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
|
|
419
|
-
if (e.errorState === "no-valid-input") {
|
|
420
|
-
const l = this._messages[`creatingPrompt-${i.type}`];
|
|
421
|
-
return this._renderContent({
|
|
422
|
-
chart: !1,
|
|
423
|
-
actions: r,
|
|
424
|
-
prompt: l
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
const n = this._getErrorMessage();
|
|
428
|
-
return n ? this._renderContent({ chart: !1, actions: r, prompt: n }) : this._renderContent({ chart: !0, actions: r });
|
|
429
|
-
}
|
|
430
|
-
_renderContentForSelectedState() {
|
|
431
|
-
const e = this._getErrorMessage();
|
|
432
|
-
return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
|
|
433
|
-
}
|
|
434
|
-
_renderContentForCreatedState() {
|
|
435
|
-
const e = this._getErrorMessage();
|
|
436
|
-
return e ? this._renderContent({ chart: !1, actions: p, prompt: e }) : this._renderContent({ chart: !0, actions: p });
|
|
437
|
-
}
|
|
438
|
-
_renderContent(e) {
|
|
439
|
-
const { viewModel: i } = this, r = i.geometry != null;
|
|
440
|
-
return d`<header class="header">${h({ hidden: this._hideZoomOutButton, children: this._renderZoomOutButton() })}${h({ hidden: this.hideClearButton || !r, children: this._renderClearButton() })}${h({ hidden: this.hideSettingsButton, children: this._renderSettingsButton() })}</header><div class="main-container">${e.prompt != null ? this._renderPrompt(e.prompt) : e.chart ? this._renderChart() : void 0}</div>${h({ hidden: this.hideLegend, children: this._renderLegend() })}${this._renderActions(e)}`;
|
|
441
|
-
}
|
|
442
|
-
_renderPrompt(e) {
|
|
443
|
-
return [
|
|
444
|
-
d`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
|
|
445
|
-
];
|
|
446
|
-
}
|
|
447
|
-
_renderZoomOutButton() {
|
|
448
|
-
const e = this._messages.zoomOut ?? "";
|
|
449
|
-
return d`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
450
|
-
}
|
|
451
|
-
_renderChart() {
|
|
452
|
-
if (this.hideChart)
|
|
453
|
-
return;
|
|
454
|
-
const e = this._chart;
|
|
455
|
-
return d`${this._renderSpinner({
|
|
456
|
-
size: e?.chartVisible ? "small" : "large",
|
|
457
|
-
visible: e?.spinnerVisible ?? !1
|
|
458
|
-
})}<div class="chart-container" ${C(this._onChartContainerRef)}></div>`;
|
|
459
|
-
}
|
|
460
|
-
_renderSpinner(e) {
|
|
461
|
-
const i = e.size === "small", r = e.visible ?? !0;
|
|
462
|
-
return d`<calcite-loader class=${v({
|
|
463
|
-
spinner: !0,
|
|
464
|
-
small: i,
|
|
465
|
-
visible: r
|
|
466
|
-
})} .inline=${i} label scale=s></calcite-loader>`;
|
|
467
|
-
}
|
|
468
|
-
_renderClearButton() {
|
|
469
|
-
const e = this._messages.clearProfile ?? "";
|
|
470
|
-
return d`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? g}></calcite-action>`;
|
|
471
|
-
}
|
|
472
|
-
_renderLegend() {
|
|
473
|
-
return d`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
474
|
-
}
|
|
475
|
-
_renderSettingsButton() {
|
|
476
|
-
return d`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.unitOptionsDistance} .unitOptionsElevation=${this.viewModel.unitOptionsElevation} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
477
|
-
this.viewModel.uniformChartScaling = e.detail;
|
|
478
|
-
}}></arcgis-elevation-profile-settings>`;
|
|
479
|
-
}
|
|
480
|
-
_renderActions({ actions: e }) {
|
|
481
|
-
const i = this._messages, r = e.map((n) => {
|
|
482
|
-
switch (n.type) {
|
|
483
|
-
case "sketch":
|
|
484
|
-
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
485
|
-
action: n,
|
|
486
|
-
label: i.sketchButtonLabel,
|
|
487
|
-
primary: !0,
|
|
488
|
-
onClick: this._onSketchButtonClick
|
|
489
|
-
}) });
|
|
490
|
-
case "sketch-cancel":
|
|
491
|
-
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
492
|
-
action: n,
|
|
493
|
-
label: i.cancelButtonLabel,
|
|
494
|
-
primary: !1,
|
|
495
|
-
onClick: this._onCancelButtonClick
|
|
496
|
-
}) });
|
|
497
|
-
case "sketch-done":
|
|
498
|
-
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
499
|
-
action: n,
|
|
500
|
-
label: i.doneButtonLabel,
|
|
501
|
-
primary: !0,
|
|
502
|
-
onClick: this._onDoneButtonClick
|
|
503
|
-
}) });
|
|
504
|
-
case "select":
|
|
505
|
-
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
506
|
-
action: n,
|
|
507
|
-
label: i.selectButtonLabel,
|
|
508
|
-
primary: !1,
|
|
509
|
-
onClick: this._onSelectButtonClick
|
|
510
|
-
}) });
|
|
511
|
-
case "select-cancel":
|
|
512
|
-
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
513
|
-
action: n,
|
|
514
|
-
label: i.cancelButtonLabel,
|
|
515
|
-
primary: !1,
|
|
516
|
-
onClick: this._onCancelButtonClick
|
|
517
|
-
}) });
|
|
518
|
-
default:
|
|
519
|
-
return;
|
|
520
|
-
}
|
|
521
|
-
}).filter(Boolean);
|
|
522
|
-
return r.length ? d`<footer class="actions">${r}</footer>` : void 0;
|
|
523
|
-
}
|
|
524
|
-
_renderAction({ action: e, label: i, onClick: r, primary: n }) {
|
|
525
|
-
return d`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
function h(t) {
|
|
529
|
-
return t.hidden ? void 0 : t.children;
|
|
530
|
-
}
|
|
531
|
-
const p = [{ type: "select" }, { type: "sketch" }], H = {
|
|
532
|
-
none: void 0,
|
|
533
|
-
"no-valid-input": "noProfile",
|
|
534
|
-
"no-available-profiles": "noProfile",
|
|
535
|
-
"too-complex": "tooComplex",
|
|
536
|
-
unknown: "unknown",
|
|
537
|
-
"invalid-geometry": "invalidGeometry"
|
|
538
|
-
};
|
|
539
|
-
b("arcgis-elevation-profile-next", R);
|
|
540
|
-
export {
|
|
541
|
-
R as ArcgisElevationProfileNext
|
|
542
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
3
|
-
import "../arcgis-elevation-profile-legend/index.js";
|
|
4
|
-
import "../arcgis-elevation-profile-settings/index.js";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
6
|
-
export * from "./customElement.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
3
|
-
import "../arcgis-elevation-profile-legend/index.js";
|
|
4
|
-
import "../arcgis-elevation-profile-settings/index.js";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
6
|
-
export * from "./customElement.js";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference path="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { ArcgisVersionManagement } from '../arcgis-version-management/customElement.js';
|
|
5
|
-
|
|
6
|
-
/** @private */
|
|
7
|
-
export declare class ArcgisVersionManagementVersionItem extends LitElement {
|
|
8
|
-
versionItemElementProps: {
|
|
9
|
-
currentUser: string;
|
|
10
|
-
currentVersionIdentifier: __esri.VersionIdentifier;
|
|
11
|
-
isVersionAdministrator: boolean;
|
|
12
|
-
isVersioningApiAvailable: boolean;
|
|
13
|
-
serviceUrl: string;
|
|
14
|
-
strings: ArcgisVersionManagement["messages"];
|
|
15
|
-
versionInfo: __esri.VersionInfo;
|
|
16
|
-
};
|
|
17
|
-
readonly arcgisManageVersion: TargetedEvent<this, {
|
|
18
|
-
actionType: string;
|
|
19
|
-
serviceUrl: string;
|
|
20
|
-
versionInfo: __esri.VersionInfo;
|
|
21
|
-
}>;
|
|
22
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { c as u } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as c } from "lit";
|
|
3
|
-
import { LitElement as v, createEvent as b, nothing as f } from "@arcgis/lumina";
|
|
4
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.4 */
|
|
7
|
-
class x extends v {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments), this.arcgisManageVersion = b();
|
|
10
|
-
}
|
|
11
|
-
static {
|
|
12
|
-
this.properties = { versionItemElementProps: 0 };
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m, isVersionAdministrator: g, isVersioningApiAvailable: p, serviceUrl: t, strings: { actions: n }, versionInfo: e } } = this, s = e.versionIdentifier.name, V = s.substring(s.lastIndexOf(".") + 1), a = s.substring(0, s.lastIndexOf(".")), r = e.versionIdentifier.guid, l = `actionSwitchToVersion_${r}`, o = a.toUpperCase() === d.toUpperCase() && p || g, i = m.guid === e.versionIdentifier.guid, h = c`<calcite-action appearance=transparent .disabled=${i} id=${l ?? f} icon=code-branch text @click=${() => {
|
|
16
|
-
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
17
|
-
}} slot=actions-start></calcite-action>`, $ = i ? void 0 : c`<calcite-tooltip overlay-positioning=fixed .referenceElement=${l}><span>${n.switchToVersion}</span></calcite-tooltip>`;
|
|
18
|
-
return c`<calcite-list-item .description=${a} .label=${V} .value=${r}>${h}${$}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${() => {
|
|
19
|
-
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
20
|
-
}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || i} icon=code-branch-edit @click=${() => {
|
|
21
|
-
this.arcgisManageVersion.emit({ actionType: "editVersion", serviceUrl: t, versionInfo: e });
|
|
22
|
-
}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || o && i} icon=trash @click=${() => {
|
|
23
|
-
this.arcgisManageVersion.emit({ actionType: "deleteVersion", serviceUrl: t, versionInfo: e });
|
|
24
|
-
}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
u("arcgis-version-management-version-item", x);
|
|
28
|
-
export {
|
|
29
|
-
x as ArcgisVersionManagementVersionItem
|
|
30
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-tooltip";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-action-menu";
|
|
5
|
-
export * from "./customElement.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action";
|
|
2
|
-
import "@esri/calcite-components/components/calcite-tooltip";
|
|
3
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-action-menu";
|
|
5
|
-
export * from "./customElement.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|