@arcgis/map-components 4.34.0-next.8 → 4.34.0-next.80
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/22SKGKLB.js +4 -0
- package/dist/cdn/233URIFY.js +4 -0
- package/dist/cdn/27XJRIRJ.js +4 -0
- package/dist/cdn/2DFBRNUL.js +4 -0
- package/dist/cdn/2DYGWQK7.js +4 -0
- package/dist/cdn/2LYQBB22.js +4 -0
- package/dist/cdn/2QQDK63E.js +4 -0
- package/dist/cdn/2TQ37QPW.js +4 -0
- package/dist/cdn/3IXHWZKY.js +4 -0
- package/dist/cdn/3SM2JBDR.js +4 -0
- package/dist/cdn/4MZ5TXBY.js +4 -0
- package/dist/cdn/{PRI3F4JY.js → 4PNSNQAQ.js} +2 -2
- package/dist/cdn/4ULD7JOH.js +4 -0
- package/dist/cdn/57NW4JLD.js +4 -0
- package/dist/cdn/5ADM3XVW.js +4 -0
- package/dist/cdn/5O7OCBFC.js +4 -0
- package/dist/cdn/5POGMZHK.js +4 -0
- package/dist/cdn/5SJ534A3.js +4 -0
- package/dist/cdn/64FX632Q.js +4 -0
- package/dist/cdn/6CJCKCYO.js +4 -0
- package/dist/cdn/6JORGHOD.js +4 -0
- package/dist/cdn/6KL2XALE.js +4 -0
- package/dist/cdn/6VQOTE3L.js +4 -0
- package/dist/cdn/72PMMDXS.js +4 -0
- package/dist/cdn/7GBQJCSF.js +4 -0
- package/dist/cdn/7IZMEQLG.js +4 -0
- package/dist/cdn/7JCQEIUS.js +4 -0
- package/dist/cdn/7N7P6DN4.js +4 -0
- package/dist/cdn/7OGL22WY.js +4 -0
- package/dist/cdn/7XNF2L3V.js +4 -0
- package/dist/cdn/7YTA4R2K.js +4 -0
- package/dist/cdn/A5QQ5NOY.js +4 -0
- package/dist/cdn/AHFZLN2V.js +4 -0
- package/dist/cdn/AHMN7O6V.js +4 -0
- package/dist/cdn/AN7DOU2U.js +4 -0
- package/dist/cdn/ARP4PR2F.js +4 -0
- package/dist/cdn/AV2PBT6K.js +4 -0
- package/dist/cdn/{YLPU64QT.js → AZB57AQG.js} +2 -2
- package/dist/cdn/B27ZOLW7.js +4 -0
- package/dist/cdn/BAZ6UJU5.js +4 -0
- package/dist/cdn/{F4R4AZMX.js → BLIGAMZF.js} +2 -2
- package/dist/cdn/{GIDFUOKW.js → BTJ5EVWB.js} +2 -2
- package/dist/cdn/BVH6ZDHV.js +4 -0
- package/dist/cdn/{MYW7GAD7.js → BYUSE75Q.js} +2 -2
- package/dist/cdn/CJSKO6ID.js +4 -0
- package/dist/cdn/CLSQAPWU.js +4 -0
- package/dist/cdn/CNCRA26T.js +4 -0
- package/dist/cdn/CQS5H665.js +4 -0
- package/dist/cdn/CVFCAHKM.js +4 -0
- package/dist/cdn/DGOL7UL7.js +4 -0
- package/dist/cdn/{MR2LMEXV.js → DLXVFCRB.js} +2 -2
- package/dist/cdn/DSQL2LO4.js +4 -0
- package/dist/cdn/DTAPDUHW.js +4 -0
- package/dist/cdn/DTJZ3BG4.js +4 -0
- package/dist/cdn/DXQUQPVN.js +4 -0
- package/dist/cdn/DYRZR4UI.js +4 -0
- package/dist/cdn/DZCIXVDZ.js +4 -0
- package/dist/cdn/{PI7H5GRX.js → EHCN64LO.js} +1 -1
- package/dist/cdn/ERWAFFXT.js +4 -0
- package/dist/cdn/F5XXSOOL.js +4 -0
- package/dist/cdn/F6E53PUZ.js +4 -0
- package/dist/cdn/FPETWGCF.js +4 -0
- package/dist/cdn/{X7BQVP4K.js → FZ6LFZG5.js} +1 -1
- package/dist/cdn/G6OJ6DI5.js +4 -0
- package/dist/cdn/GB3ENHBV.js +4 -0
- package/dist/cdn/GEVDJXDT.js +4 -0
- package/dist/cdn/GJTC5J3P.js +4 -0
- package/dist/cdn/GUQATG65.js +4 -0
- package/dist/cdn/GWEZ7YO6.js +4 -0
- package/dist/cdn/GX4C4AXU.js +4 -0
- package/dist/cdn/H4RB43VA.js +4 -0
- package/dist/cdn/H646QUSZ.js +4 -0
- package/dist/cdn/H6UHXOXP.js +4 -0
- package/dist/cdn/I464S5CY.js +4 -0
- package/dist/cdn/IBSN7VKF.js +4 -0
- package/dist/cdn/{ILNZINO3.js → IGJJUQDZ.js} +2 -2
- package/dist/cdn/IKAXVMO3.js +4 -0
- package/dist/cdn/JFIMNNLR.js +4 -0
- package/dist/cdn/JJPVQ5DS.js +4 -0
- package/dist/cdn/JKPT7PYS.js +4 -0
- package/dist/cdn/JKXSM4JH.js +4 -0
- package/dist/cdn/JO2WLXYR.js +4 -0
- package/dist/cdn/JRPHCVPU.js +4 -0
- package/dist/cdn/K44JLHYA.js +4 -0
- package/dist/cdn/LBXNWAWW.js +4 -0
- package/dist/cdn/LCCORJ7O.js +4 -0
- package/dist/cdn/LCO33IBK.js +4 -0
- package/dist/cdn/LCXY2VDU.js +4 -0
- package/dist/cdn/LOIVTMWU.js +4 -0
- package/dist/cdn/LQLVZIQH.js +4 -0
- package/dist/cdn/{GYVHCFLW.js → LS5DTKY6.js} +1 -1
- package/dist/cdn/LVIIUVA3.js +4 -0
- package/dist/cdn/M2HBRROE.js +4 -0
- package/dist/cdn/MFMSQZ6V.js +4 -0
- package/dist/cdn/MHP4SGNE.js +4 -0
- package/dist/cdn/MOBSBKTH.js +4 -0
- package/dist/cdn/MTN2HN6F.js +4 -0
- package/dist/cdn/MWMZQVBE.js +4 -0
- package/dist/cdn/N5E3YC6G.js +4 -0
- package/dist/cdn/NDL4HQHN.js +4 -0
- package/dist/cdn/NHHAPANB.js +4 -0
- package/dist/cdn/NKFJZMJ3.js +4 -0
- package/dist/cdn/NKT3VUR4.js +4 -0
- package/dist/cdn/NQALMQIJ.js +4 -0
- package/dist/cdn/{RVL24YAQ.js → NRYEDJ7Y.js} +2 -2
- package/dist/cdn/NT4DIRVB.js +4 -0
- package/dist/cdn/{DVAYIM4A.js → NWUFD44V.js} +1 -1
- package/dist/cdn/NZYH3ELM.js +4 -0
- package/dist/cdn/O2KAMKVW.js +4 -0
- package/dist/cdn/O5GWOCBT.js +4 -0
- package/dist/cdn/{656YU7YM.js → OA6B37D2.js} +2 -2
- package/dist/cdn/OC2DDAZC.js +4 -0
- package/dist/cdn/OHSGTOFY.js +4 -0
- package/dist/cdn/OPG2L3CT.js +4 -0
- package/dist/cdn/OVTIGZQE.js +4 -0
- package/dist/cdn/PFPG5CNY.js +4 -0
- package/dist/cdn/PN7UOLV7.js +4 -0
- package/dist/cdn/Q65N5CN6.js +4 -0
- package/dist/cdn/QBUDJD6Y.js +4 -0
- package/dist/cdn/QBZ5KOKG.js +4 -0
- package/dist/cdn/QDXHRXKD.js +4 -0
- package/dist/cdn/QGDDWB5U.js +4 -0
- package/dist/cdn/QMZAY7JI.js +4 -0
- package/dist/cdn/QNJGJXB2.js +4 -0
- package/dist/cdn/QQAFAKII.js +4 -0
- package/dist/cdn/QQPLEUPN.js +4 -0
- package/dist/cdn/QRXUHH26.js +4 -0
- package/dist/cdn/R47D525N.js +4 -0
- package/dist/cdn/RGL4RA46.js +4 -0
- package/dist/cdn/RGQDG6B5.js +4 -0
- package/dist/cdn/RIGCGH73.js +4 -0
- package/dist/cdn/RL3UAW4X.js +4 -0
- package/dist/cdn/RRRAIDTT.js +4 -0
- package/dist/cdn/{4C2AMRV3.js → RS7VXL66.js} +2 -2
- package/dist/cdn/RSD24NHT.js +4 -0
- package/dist/cdn/RT4QMKXX.js +4 -0
- package/dist/cdn/SC6EL6Z7.js +4 -0
- package/dist/cdn/SVCYER2F.js +4 -0
- package/dist/cdn/SWAJD53W.js +4 -0
- package/dist/cdn/T56VDKZF.js +4 -0
- package/dist/cdn/TADTT677.js +4 -0
- package/dist/cdn/TEHGILTQ.js +4 -0
- package/dist/cdn/TPJ7PZPF.js +4 -0
- package/dist/cdn/UC7BSHRN.js +4 -0
- package/dist/cdn/{VTS7NWDH.js → UDWSKSBB.js} +1 -1
- package/dist/cdn/UEVOEUQ5.js +4 -0
- package/dist/cdn/UJELUCNF.js +4 -0
- package/dist/cdn/{IEE3ZBWU.js → UYJTP7GN.js} +2 -2
- package/dist/cdn/V4RM35JA.js +4 -0
- package/dist/cdn/V5SSJW7Z.js +4 -0
- package/dist/cdn/VFA3VGYG.js +4 -0
- package/dist/cdn/VNIHSYLT.js +4 -0
- package/dist/cdn/VNJHG6HS.js +4 -0
- package/dist/cdn/VT4AKPRB.js +4 -0
- package/dist/cdn/VWHVAW4I.js +4 -0
- package/dist/cdn/VYFQXRPK.js +5 -0
- package/dist/cdn/VYS43LKS.js +4 -0
- package/dist/cdn/W3MH6QK6.js +4 -0
- package/dist/cdn/W4F44VZT.js +4 -0
- package/dist/cdn/W4YE3UBC.js +4 -0
- package/dist/cdn/W5J6NT43.js +4 -0
- package/dist/cdn/W7LYTQYL.js +4 -0
- package/dist/cdn/{V6KYONBE.js → WDTQJOIG.js} +1 -1
- package/dist/cdn/WOLDHY7N.js +4 -0
- package/dist/cdn/XEKBIJXI.js +4 -0
- package/dist/cdn/{5WAM5HGJ.js → XENCWV4A.js} +2 -2
- package/dist/cdn/XLTIGJ3L.js +4 -0
- package/dist/cdn/XQZ4VQIX.js +4 -0
- package/dist/cdn/XT3IGFX3.js +4 -0
- package/dist/cdn/Y4NLR3CM.js +4 -0
- package/dist/cdn/Y6CYSR2G.js +4 -0
- package/dist/cdn/YBQT27HX.js +4 -0
- package/dist/cdn/YF73EYR6.js +4 -0
- package/dist/cdn/YHZIHGF3.js +4 -0
- package/dist/cdn/YIRDCYKZ.js +4 -0
- package/dist/cdn/YIXEFCYL.js +4 -0
- package/dist/cdn/YLKFJWMR.js +4 -0
- package/dist/cdn/YXPVLCKH.js +4 -0
- package/dist/cdn/ZAL3GTG7.js +4 -0
- package/dist/cdn/{OM2N2SN3.js → ZE5DIYPK.js} +1 -1
- package/dist/cdn/ZFWAC4IW.js +4 -0
- package/dist/cdn/ZL2RM62L.js +4 -0
- package/dist/cdn/ZMIFPURX.js +6 -0
- package/dist/cdn/ZOG3FT6C.js +4 -0
- package/dist/cdn/ZURQLWM4.js +4 -0
- package/dist/cdn/ZWVEO6UF.js +4 -0
- package/dist/cdn/ZWWUDLOR.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- 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 +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/index.js +17 -0
- 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 +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +33 -25
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +394 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +40 -29
- package/dist/components/arcgis-search/customElement.js +38 -34
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +43 -34
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +30 -19
- package/dist/components/arcgis-video-player-action-bar/index.d.ts +1 -0
- package/dist/components/arcgis-video-player-action-bar/index.js +1 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +18 -15
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +56 -5
- package/dist/components/arcgis-weather/customElement.js +60 -65
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3625 -1098
- package/dist/docs/docs.json +2525 -713
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1075 -487
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/2EL47YSQ.js +0 -4
- package/dist/cdn/2FWGOWFO.js +0 -4
- package/dist/cdn/2SULQ4KK.js +0 -4
- package/dist/cdn/3HSBCQKG.js +0 -4
- package/dist/cdn/4LS5QGQY.js +0 -4
- package/dist/cdn/4RPSRSY4.js +0 -4
- package/dist/cdn/4ZBYDBG2.js +0 -4
- package/dist/cdn/5C3EOKNR.js +0 -4
- package/dist/cdn/5ENOXTFZ.js +0 -4
- package/dist/cdn/5HFZPYQ3.js +0 -4
- package/dist/cdn/65FZ5SI5.js +0 -4
- package/dist/cdn/6OHNJ5KH.js +0 -4
- package/dist/cdn/6ZFIJSJE.js +0 -4
- package/dist/cdn/75Y5MUUW.js +0 -4
- package/dist/cdn/7HHVU46D.js +0 -4
- package/dist/cdn/7IUDGNHM.js +0 -4
- package/dist/cdn/7KFXGXRZ.js +0 -4
- package/dist/cdn/7TIBJRHQ.js +0 -4
- package/dist/cdn/7TOSFZBH.js +0 -4
- package/dist/cdn/AFQ3CNBA.js +0 -4
- package/dist/cdn/AGICPYUS.js +0 -4
- package/dist/cdn/APMFVINZ.js +0 -4
- package/dist/cdn/AXVNVZYY.js +0 -4
- package/dist/cdn/BH472V6R.js +0 -4
- package/dist/cdn/BSVQ73BN.js +0 -4
- package/dist/cdn/BXOEGYMC.js +0 -4
- package/dist/cdn/CORDNDJ7.js +0 -4
- package/dist/cdn/CYEXPOL6.js +0 -4
- package/dist/cdn/D3MRITGJ.js +0 -4
- package/dist/cdn/DJPZ44PI.js +0 -4
- package/dist/cdn/DMRETXSG.js +0 -4
- package/dist/cdn/DXY5GBKD.js +0 -6
- package/dist/cdn/E4JWST54.js +0 -4
- package/dist/cdn/E7DAI2OU.js +0 -4
- package/dist/cdn/F4IQXJLJ.js +0 -4
- package/dist/cdn/FCSFUTXJ.js +0 -4
- package/dist/cdn/FDHW3VRA.js +0 -4
- package/dist/cdn/FG7KDZIB.js +0 -4
- package/dist/cdn/FNLXG2W3.js +0 -4
- package/dist/cdn/G3QSNGGG.js +0 -4
- package/dist/cdn/GDWNN6TE.js +0 -4
- package/dist/cdn/GNJ4YNM2.js +0 -4
- package/dist/cdn/GOQV4ZD3.js +0 -4
- package/dist/cdn/HPUACRYC.js +0 -4
- package/dist/cdn/IBNTS6PG.js +0 -4
- package/dist/cdn/IE44CEMQ.js +0 -4
- package/dist/cdn/IL6WFIVO.js +0 -4
- package/dist/cdn/IRIDLSO3.js +0 -4
- package/dist/cdn/KB4RHIMM.js +0 -4
- package/dist/cdn/KNM2L55W.js +0 -4
- package/dist/cdn/L7WHPL3W.js +0 -4
- package/dist/cdn/MKPFXZNG.js +0 -4
- package/dist/cdn/MNRK63NF.js +0 -4
- package/dist/cdn/NAE6KF2V.js +0 -4
- package/dist/cdn/NKEGBDR7.js +0 -4
- package/dist/cdn/NMSW7IAE.js +0 -4
- package/dist/cdn/NRBNSX33.js +0 -4
- package/dist/cdn/OMWLA2K3.js +0 -4
- package/dist/cdn/ON2T4CBB.js +0 -4
- package/dist/cdn/ORMFB243.js +0 -4
- package/dist/cdn/OS7FSXE7.js +0 -4
- package/dist/cdn/OSXV6FXE.js +0 -4
- package/dist/cdn/OZKMAP4Z.js +0 -4
- package/dist/cdn/PIMX4X2G.js +0 -4
- package/dist/cdn/PISMFJUF.js +0 -4
- package/dist/cdn/PNHC4QAI.js +0 -4
- package/dist/cdn/PUSKMZOI.js +0 -4
- package/dist/cdn/PVE4KHDN.js +0 -4
- package/dist/cdn/Q643CZCT.js +0 -4
- package/dist/cdn/RPGEPAXC.js +0 -4
- package/dist/cdn/RSGPVWZC.js +0 -4
- package/dist/cdn/RVKZRZ5X.js +0 -4
- package/dist/cdn/RXJDYF45.js +0 -4
- package/dist/cdn/SN3TAFJA.js +0 -4
- package/dist/cdn/SUJ27253.js +0 -4
- package/dist/cdn/T7MQ5OG2.js +0 -4
- package/dist/cdn/TGAS4E4A.js +0 -4
- package/dist/cdn/TM7AOMFK.js +0 -4
- package/dist/cdn/TU3PDRR3.js +0 -4
- package/dist/cdn/TYGNKCZM.js +0 -4
- package/dist/cdn/U3A4L666.js +0 -4
- package/dist/cdn/U7JHAHCD.js +0 -4
- package/dist/cdn/UIWYLDIB.js +0 -4
- package/dist/cdn/VLYOEVJO.js +0 -4
- package/dist/cdn/WD7GKYC5.js +0 -4
- package/dist/cdn/WGLKRGHM.js +0 -4
- package/dist/cdn/WVMLI2M4.js +0 -4
- package/dist/cdn/WZVHCVXT.js +0 -4
- package/dist/cdn/X3ZXNMN7.js +0 -4
- package/dist/cdn/XHGDPFLO.js +0 -4
- package/dist/cdn/Y4PEPRXU.js +0 -4
- package/dist/cdn/Y4VFLWWQ.js +0 -4
- package/dist/cdn/Y57F7DDG.js +0 -4
- package/dist/cdn/YWOGURYY.js +0 -4
- package/dist/cdn/YZTG72SZ.js +0 -4
- package/dist/cdn/Z73JMBNO.js +0 -4
- package/dist/cdn/ZGVWKWHA.js +0 -4
- package/dist/cdn/ZID6LZJO.js +0 -4
- package/dist/cdn/ZLQ4G2XR.js +0 -4
- package/dist/cdn/ZXKHLRKF.js +0 -4
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as
|
|
1
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as G, html as g } from "lit";
|
|
3
|
+
import { usePropertyChange as F } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as z } from "@arcgis/toolkit/dom";
|
|
5
5
|
import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
6
|
+
import { LitElement as j, createEvent as f, noShadowRoot as Q, safeClassMap as w, nothing as V } from "@arcgis/lumina";
|
|
7
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
8
|
+
import { createRef as H, ref as K } from "lit-html/directives/ref.js";
|
|
9
|
+
import { m as J } from "../../chunks/useViewModel.js";
|
|
9
10
|
import { g as b } from "../../chunks/globalCss.js";
|
|
10
|
-
import { l as
|
|
11
|
-
import { css as K } from "@lit/reactive-element/css-tag.js";
|
|
11
|
+
import { l as q } from "../../chunks/legacyIcon.js";
|
|
12
12
|
import { property as n, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
13
|
import u from "@arcgis/core/core/Error.js";
|
|
14
|
-
import { onLocaleChange as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { t as
|
|
18
|
-
import
|
|
14
|
+
import { onLocaleChange as B } from "@arcgis/core/intl.js";
|
|
15
|
+
import W from "@arcgis/core/PopupTemplate.js";
|
|
16
|
+
import X from "@arcgis/core/support/actions/ActionButton.js";
|
|
17
|
+
import { t as Z, i as C } from "../../chunks/async-utils.js";
|
|
18
|
+
import Y from "@arcgis/core/core/Accessor.js";
|
|
19
19
|
import O from "@arcgis/core/Graphic.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import $ from "@arcgis/core/symbols/CIMSymbol.js";
|
|
21
|
+
import ee from "@arcgis/core/geometry/Point.js";
|
|
22
22
|
import * as A from "@arcgis/core/geometry/operators/projectOperator.js";
|
|
23
|
-
import
|
|
24
|
-
import { geographicToWebMercator as
|
|
25
|
-
import
|
|
26
|
-
import { project as
|
|
27
|
-
import
|
|
23
|
+
import E from "@arcgis/core/config.js";
|
|
24
|
+
import { geographicToWebMercator as te } from "@arcgis/core/geometry/support/webMercatorUtils.js";
|
|
25
|
+
import oe from "@arcgis/core/portal/Portal.js";
|
|
26
|
+
import { project as ie } from "@arcgis/core/rest/geometryService.js";
|
|
27
|
+
import re from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
30
|
-
v4.34.0-next.
|
|
31
|
-
const
|
|
32
|
-
let
|
|
33
|
-
const
|
|
30
|
+
v4.34.0-next.80 */
|
|
31
|
+
const ae = G`@layer{arcgis-locate{display:block}}`;
|
|
32
|
+
let P = !1;
|
|
33
|
+
const se = {
|
|
34
34
|
maximumAge: 0,
|
|
35
35
|
timeout: 15e3,
|
|
36
36
|
enableHighAccuracy: !0
|
|
37
37
|
};
|
|
38
|
-
function
|
|
38
|
+
function ne() {
|
|
39
39
|
const e = "geolocation" in navigator;
|
|
40
40
|
return e || console.warn("geolocation-unsupported", "Geolocation unsupported."), e;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function ce() {
|
|
43
43
|
const e = window.isSecureContext;
|
|
44
|
-
return e ||
|
|
44
|
+
return e || P || (P = !0, console.warn("insecure-context", "Geolocation requires a secure origin.")), e;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function le() {
|
|
47
|
+
return ne() && ce();
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return e ??=
|
|
49
|
+
function pe(e) {
|
|
50
|
+
return e ??= se, new Promise((o, r) => {
|
|
51
51
|
setTimeout(
|
|
52
52
|
() => r(new u("geolocation:timeout", "getting the current geolocation position timed out")),
|
|
53
53
|
e?.timeout ?? 15e3
|
|
54
54
|
), navigator.geolocation.getCurrentPosition(o, r, e ?? void 0);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
const { position: o, view: r } = e, a =
|
|
57
|
+
function de(e, t) {
|
|
58
|
+
const { position: o, view: r } = e, a = ue(o)?.coords;
|
|
59
59
|
if (!a)
|
|
60
60
|
throw new u("geometry-service:no-coords", "Geolocation has no coordinates");
|
|
61
|
-
const s =
|
|
62
|
-
return
|
|
61
|
+
const s = he(a);
|
|
62
|
+
return me(s, r, t);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function ue(e) {
|
|
65
65
|
const t = e?.coords || {}, o = {
|
|
66
66
|
accuracy: t.accuracy,
|
|
67
67
|
altitude: t.altitude,
|
|
@@ -82,8 +82,8 @@ function pe(e) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return new
|
|
85
|
+
function he({ longitude: e, latitude: t, altitude: o }) {
|
|
86
|
+
return new ee({
|
|
87
87
|
longitude: e,
|
|
88
88
|
latitude: t,
|
|
89
89
|
z: o || void 0,
|
|
@@ -92,36 +92,36 @@ function de({ longitude: e, latitude: t, altitude: o }) {
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
async function
|
|
95
|
+
async function me(e, t, o) {
|
|
96
96
|
if (!t)
|
|
97
97
|
return await Promise.resolve(e);
|
|
98
98
|
const r = t.spatialReference;
|
|
99
|
-
return r.isWGS84 ? await Promise.resolve(e) : r.isWebMercator ? await Promise.resolve(
|
|
99
|
+
return r.isWGS84 ? await Promise.resolve(e) : r.isWebMercator ? await Promise.resolve(te(e)) : A.isLoaded() ? await Promise.resolve(A.execute(e, r)) : await ge(o).then(async (i) => {
|
|
100
100
|
if (!i)
|
|
101
101
|
throw new u("geometry-service:missing-url", "Geometry service URL is missing");
|
|
102
|
-
const a = new
|
|
102
|
+
const a = new re({
|
|
103
103
|
geometries: [e],
|
|
104
104
|
outSpatialReference: r
|
|
105
105
|
});
|
|
106
|
-
return (await
|
|
106
|
+
return (await ie(i, a, o))[0];
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
async function
|
|
110
|
-
if (
|
|
111
|
-
return await Promise.resolve(
|
|
112
|
-
const t =
|
|
109
|
+
async function ge(e) {
|
|
110
|
+
if (E.geometryServiceUrl)
|
|
111
|
+
return await Promise.resolve(E.geometryServiceUrl);
|
|
112
|
+
const t = oe.getDefault();
|
|
113
113
|
try {
|
|
114
114
|
await t.load(e);
|
|
115
115
|
} catch {
|
|
116
116
|
}
|
|
117
117
|
return t.helperServices?.geometry?.url;
|
|
118
118
|
}
|
|
119
|
-
var
|
|
120
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
119
|
+
var fe = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, p = (e, t, o, r) => {
|
|
120
|
+
for (var i = r > 1 ? void 0 : r ? ye(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
121
121
|
(s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
|
|
122
|
-
return r && i &&
|
|
122
|
+
return r && i && fe(t, o, i), i;
|
|
123
123
|
};
|
|
124
|
-
const
|
|
124
|
+
const ve = 2500;
|
|
125
125
|
function T(e) {
|
|
126
126
|
const t = {
|
|
127
127
|
type: "CIMVectorMarker",
|
|
@@ -229,12 +229,12 @@ const L = {
|
|
|
229
229
|
scaleX: 1,
|
|
230
230
|
textureFilter: "Picture",
|
|
231
231
|
url: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="
|
|
232
|
-
},
|
|
232
|
+
}, we = T("layer"), be = T("background"), Ae = new $({
|
|
233
233
|
data: {
|
|
234
234
|
type: "CIMSymbolReference",
|
|
235
235
|
symbol: {
|
|
236
236
|
type: "CIMPointSymbol",
|
|
237
|
-
symbolLayers: [
|
|
237
|
+
symbolLayers: [we, be, L],
|
|
238
238
|
angleAlignment: "Map"
|
|
239
239
|
},
|
|
240
240
|
primitiveOverrides: [
|
|
@@ -263,15 +263,15 @@ const L = {
|
|
|
263
263
|
]
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
-
let
|
|
266
|
+
let c = class extends Y {
|
|
267
267
|
constructor() {
|
|
268
|
-
super(...arguments), this._geolocationUsable = !0, this.
|
|
269
|
-
symbol:
|
|
270
|
-
}), this.
|
|
268
|
+
super(...arguments), this._geolocationUsable = !0, this.goToLocationEnabled = !0, this.graphic = new O({
|
|
269
|
+
symbol: Ae
|
|
270
|
+
}), this.rotationEnabled = !0;
|
|
271
271
|
}
|
|
272
272
|
//#region Lifecycle
|
|
273
273
|
initialize() {
|
|
274
|
-
|
|
274
|
+
le() || (this._geolocationUsable = !1), this.addHandles([
|
|
275
275
|
y(
|
|
276
276
|
() => this.view?.type,
|
|
277
277
|
() => this._handleViewTypeChange(),
|
|
@@ -282,7 +282,7 @@ let l = class extends B {
|
|
|
282
282
|
]);
|
|
283
283
|
}
|
|
284
284
|
destroy() {
|
|
285
|
-
this._clearGraphic(), this.view =
|
|
285
|
+
this._clearGraphic(), this.view = void 0;
|
|
286
286
|
}
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region Private Methods
|
|
@@ -313,7 +313,7 @@ let l = class extends B {
|
|
|
313
313
|
return e;
|
|
314
314
|
}
|
|
315
315
|
_getScale(e) {
|
|
316
|
-
const { scale: t } = this, o = typeof t == "number" ? t :
|
|
316
|
+
const { scale: t } = this, o = typeof t == "number" ? t : ve;
|
|
317
317
|
return this._getScaleWithinConstraints(o, e);
|
|
318
318
|
}
|
|
319
319
|
_getHeading(e, t) {
|
|
@@ -344,28 +344,28 @@ let l = class extends B {
|
|
|
344
344
|
view: i
|
|
345
345
|
});
|
|
346
346
|
const s = { signal: r.signal };
|
|
347
|
-
|
|
347
|
+
Z(s), this.goToOverride && i && this.goToOverride(i, {
|
|
348
348
|
target: a,
|
|
349
349
|
options: s
|
|
350
350
|
}), await i.goTo(a, s);
|
|
351
351
|
}
|
|
352
352
|
async updatePosition(e, t) {
|
|
353
353
|
try {
|
|
354
|
-
const o = this.view, r = await
|
|
354
|
+
const o = this.view, r = await de({ position: e, view: o }, { signal: t.signal }), { graphic: i } = this, { timestamp: a, coords: s } = e, { accuracy: m, altitude: h, altitudeAccuracy: N, latitude: D, longitude: R, speed: x } = s, v = this._getHeading(e, o), U = {
|
|
355
355
|
timestamp: a,
|
|
356
|
-
accuracy:
|
|
356
|
+
accuracy: m,
|
|
357
357
|
altitude: h,
|
|
358
358
|
altitudeAccuracy: N,
|
|
359
359
|
heading: v,
|
|
360
360
|
latitude: D,
|
|
361
|
-
longitude:
|
|
362
|
-
speed:
|
|
361
|
+
longitude: R,
|
|
362
|
+
speed: x
|
|
363
363
|
};
|
|
364
364
|
i && (i.geometry = r, i.attributes = U);
|
|
365
|
-
const
|
|
366
|
-
await this._animatePoint(r,
|
|
365
|
+
const I = this._getScale(o);
|
|
366
|
+
await this._animatePoint(r, I, v, t);
|
|
367
367
|
} catch (o) {
|
|
368
|
-
if (!
|
|
368
|
+
if (!C(o))
|
|
369
369
|
throw new u("geolocation-positioning:invalid-point", "Cannot position invalid point", {
|
|
370
370
|
error: o
|
|
371
371
|
});
|
|
@@ -376,46 +376,46 @@ let l = class extends B {
|
|
|
376
376
|
};
|
|
377
377
|
p([
|
|
378
378
|
n()
|
|
379
|
-
],
|
|
379
|
+
], c.prototype, "_geolocationUsable", 2);
|
|
380
380
|
p([
|
|
381
381
|
n()
|
|
382
|
-
],
|
|
382
|
+
], c.prototype, "geolocationOptions", 2);
|
|
383
383
|
p([
|
|
384
384
|
n()
|
|
385
|
-
],
|
|
385
|
+
], c.prototype, "goToLocationEnabled", 2);
|
|
386
386
|
p([
|
|
387
387
|
n()
|
|
388
|
-
],
|
|
388
|
+
], c.prototype, "goToOverride", 2);
|
|
389
389
|
p([
|
|
390
390
|
n({
|
|
391
391
|
type: O
|
|
392
392
|
})
|
|
393
|
-
],
|
|
393
|
+
], c.prototype, "graphic", 2);
|
|
394
394
|
p([
|
|
395
395
|
n()
|
|
396
|
-
],
|
|
396
|
+
], c.prototype, "scale", 2);
|
|
397
397
|
p([
|
|
398
398
|
n()
|
|
399
|
-
],
|
|
399
|
+
], c.prototype, "rotationEnabled", 2);
|
|
400
400
|
p([
|
|
401
401
|
n()
|
|
402
|
-
],
|
|
403
|
-
|
|
402
|
+
], c.prototype, "view", 2);
|
|
403
|
+
c = p([
|
|
404
404
|
S("map-components.geolocation.GeolocationPositioning")
|
|
405
|
-
],
|
|
406
|
-
var
|
|
407
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
405
|
+
], c);
|
|
406
|
+
var Ee = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, d = (e, t, o, r) => {
|
|
407
|
+
for (var i = r > 1 ? void 0 : r ? Pe(t, o) : t, a = e.length - 1, s; a >= 0; a--)
|
|
408
408
|
(s = e[a]) && (i = (r ? s(t, o, i) : s(i)) || i);
|
|
409
|
-
return r && i &&
|
|
409
|
+
return r && i && Ee(t, o, i), i;
|
|
410
410
|
};
|
|
411
|
-
const
|
|
411
|
+
const Me = new X({
|
|
412
412
|
icon: "trash",
|
|
413
413
|
id: "remove-selected-feature",
|
|
414
414
|
title: "{messages.remove}",
|
|
415
415
|
className: "esri-icon-trash"
|
|
416
416
|
});
|
|
417
|
-
function
|
|
418
|
-
return new
|
|
417
|
+
function Se(e) {
|
|
418
|
+
return new W({
|
|
419
419
|
title: e.currentLocation,
|
|
420
420
|
fieldInfos: [
|
|
421
421
|
{
|
|
@@ -482,7 +482,7 @@ function Me(e) {
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
],
|
|
485
|
-
actions: [
|
|
485
|
+
actions: [Me.clone()],
|
|
486
486
|
content: [
|
|
487
487
|
{
|
|
488
488
|
type: "fields"
|
|
@@ -490,14 +490,14 @@ function Me(e) {
|
|
|
490
490
|
]
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
|
-
let
|
|
493
|
+
let l = class extends c {
|
|
494
494
|
//#region Lifecycle
|
|
495
495
|
constructor(e) {
|
|
496
|
-
super(e), this.
|
|
496
|
+
super(e), this.popupEnabled = !0, this.locate = this.locate.bind(this);
|
|
497
497
|
}
|
|
498
498
|
initialize() {
|
|
499
499
|
this.addHandles([
|
|
500
|
-
|
|
500
|
+
B(() => {
|
|
501
501
|
const { graphic: e, view: t } = this;
|
|
502
502
|
if (!e)
|
|
503
503
|
return;
|
|
@@ -521,66 +521,68 @@ let c = class extends l {
|
|
|
521
521
|
const e = new AbortController();
|
|
522
522
|
this._locateController = e, this.error = void 0;
|
|
523
523
|
try {
|
|
524
|
-
const t = await
|
|
524
|
+
const t = await pe(this.geolocationOptions);
|
|
525
525
|
if (await this.updatePosition(t, e), this._locateController !== e)
|
|
526
526
|
return null;
|
|
527
527
|
const { graphic: o } = this;
|
|
528
|
-
return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController =
|
|
528
|
+
return o && this._updatePopupTemplate(o), this._addGraphic(), this.currentPosition = t, this._locateController = void 0, t;
|
|
529
529
|
} catch (t) {
|
|
530
|
-
if (
|
|
530
|
+
if (C(t))
|
|
531
531
|
return null;
|
|
532
|
-
throw e === this._locateController && (this._locateController =
|
|
532
|
+
throw e === this._locateController && (this._locateController = void 0), this.error = t, t;
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
cancelLocate() {
|
|
536
|
-
this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController =
|
|
536
|
+
this._clearGraphic(), this._locateController && this._locateController.abort(), this._locateController = void 0;
|
|
537
537
|
}
|
|
538
538
|
//#endregion
|
|
539
539
|
//#region Private Methods
|
|
540
540
|
_updatePopupTemplate(e) {
|
|
541
541
|
if (!this.popupEnabled)
|
|
542
542
|
return;
|
|
543
|
-
const t =
|
|
543
|
+
const t = Se(this.messages), o = e !== this.graphic;
|
|
544
544
|
this.destroyed || o || (e.popupTemplate = t);
|
|
545
545
|
}
|
|
546
546
|
//#endregion
|
|
547
547
|
};
|
|
548
548
|
d([
|
|
549
549
|
n()
|
|
550
|
-
],
|
|
550
|
+
], l.prototype, "_locateController", 2);
|
|
551
551
|
d([
|
|
552
552
|
n()
|
|
553
|
-
],
|
|
553
|
+
], l.prototype, "currentPosition", 2);
|
|
554
554
|
d([
|
|
555
555
|
n()
|
|
556
|
-
],
|
|
556
|
+
], l.prototype, "error", 2);
|
|
557
557
|
d([
|
|
558
558
|
n()
|
|
559
|
-
],
|
|
559
|
+
], l.prototype, "messages", 2);
|
|
560
560
|
d([
|
|
561
561
|
n()
|
|
562
|
-
],
|
|
562
|
+
], l.prototype, "popupEnabled", 2);
|
|
563
563
|
d([
|
|
564
564
|
n({ readOnly: !0 })
|
|
565
|
-
],
|
|
566
|
-
|
|
565
|
+
], l.prototype, "state", 1);
|
|
566
|
+
l = d([
|
|
567
567
|
S("map-components.locate.LocateViewModel")
|
|
568
|
-
],
|
|
568
|
+
], l);
|
|
569
569
|
const Ce = {
|
|
570
570
|
base: "esri-locate"
|
|
571
|
-
},
|
|
572
|
-
class
|
|
571
|
+
}, M = "gps-off", Oe = J(l);
|
|
572
|
+
class Te extends j {
|
|
573
573
|
constructor() {
|
|
574
|
-
super(
|
|
574
|
+
super(), this.locateButtonElement = H(), this.messages = k(), this.viewModel = Oe(this), this.hideErrorTooltip = () => {
|
|
575
|
+
this.isErrorTooltipOpen = !1;
|
|
576
|
+
}, this.isErrorTooltipOpen = !1, this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = M, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = f(), this.arcgisPropertyChange = F()("state"), this.arcgisReady = f(), this.arcgisSuccess = f(), this.listenOn(document, "click", this.hideErrorTooltip);
|
|
575
577
|
}
|
|
576
578
|
static {
|
|
577
|
-
this.properties = { autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 1, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
|
|
579
|
+
this.properties = { isErrorTooltipOpen: 16, autoDestroyDisabled: 5, geolocationOptions: 0, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 1, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
|
|
578
580
|
}
|
|
579
581
|
static {
|
|
580
|
-
this.shadowRootOptions =
|
|
582
|
+
this.shadowRootOptions = Q;
|
|
581
583
|
}
|
|
582
584
|
static {
|
|
583
|
-
this.styles =
|
|
585
|
+
this.styles = ae;
|
|
584
586
|
}
|
|
585
587
|
async cancelLocate() {
|
|
586
588
|
this.viewModel.cancelLocate();
|
|
@@ -594,7 +596,7 @@ class Ee extends z {
|
|
|
594
596
|
loaded() {
|
|
595
597
|
this.viewModel.messages = { ...this.messages, ...this.messageOverrides }, this.manager.onLifecycle(() => [
|
|
596
598
|
y(() => this.viewModel.error, (t) => {
|
|
597
|
-
this.arcgisError.emit({ error: t });
|
|
599
|
+
this.isErrorTooltipOpen = !!t, this.arcgisError.emit({ error: t });
|
|
598
600
|
}),
|
|
599
601
|
y(() => this.viewModel.currentPosition, (t) => {
|
|
600
602
|
this.arcgisSuccess.emit({ position: t });
|
|
@@ -613,11 +615,11 @@ class Ee extends z {
|
|
|
613
615
|
});
|
|
614
616
|
}
|
|
615
617
|
render() {
|
|
616
|
-
const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported",
|
|
617
|
-
return
|
|
618
|
+
const { viewModel: t, icon: o } = this, { state: r } = t, i = r === "locating", a = i ? this.messages.cancel : this.messages.title, s = r === "feature-unsupported", m = q === void 0 ? M : void 0, h = this._localizeError(this.viewModel?.error);
|
|
619
|
+
return g`<div class=${w(z(Ce.base, b.widget))}>${!s && g`<calcite-button class=${w(b.widgetButton)} .disabled=${r === "disabled"} .loading=${i} .iconStart=${i ? void 0 : o ?? m} kind=neutral .label=${a} @click=${this._locate} title=${a ?? V} ${K(this.locateButtonElement)}></calcite-button>` || ""}${h ? g`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${h}</calcite-tooltip>` : null}</div>`;
|
|
618
620
|
}
|
|
619
621
|
}
|
|
620
|
-
|
|
622
|
+
_("arcgis-locate", Te);
|
|
621
623
|
export {
|
|
622
|
-
|
|
624
|
+
Te as ArcgisLocate
|
|
623
625
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import {
|
|
4
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
5
5
|
import { default as MapView } from '@arcgis/core/views/MapView.js';
|
|
6
6
|
import { default as WebMap } from '@arcgis/core/WebMap.js';
|
|
7
7
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
8
|
|
|
9
|
-
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "
|
|
9
|
+
declare const useWebMap: (component: LitElement & Omit<Pick<WebMap, "basemap" | "focusAreas" | "ground" | "ipsInfo" | "layers" | "bookmarks" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "presentation" | "tables" | "thumbnailUrl" | "widgets" | "utilityNetworks">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "bookmarks" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "geotriggersInfo" | "initialViewProperties" | "portalItem" | "presentation" | "tables" | "thumbnailUrl" | "widgets" | "utilityNetworks"> & {
|
|
10
10
|
autoDestroyDisabled: boolean;
|
|
11
11
|
destroy: () => Promise<void>;
|
|
12
12
|
}) => WebMap;
|
|
@@ -15,7 +15,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
15
15
|
destroy: () => Promise<void>;
|
|
16
16
|
}) => MapView;
|
|
17
17
|
/**
|
|
18
|
-
* The ArcGIS Map
|
|
18
|
+
* The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the
|
|
19
19
|
* [ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
20
20
|
*
|
|
21
21
|
* The Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).
|
|
@@ -51,7 +51,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
51
51
|
*
|
|
52
52
|
* See also:
|
|
53
53
|
* - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
|
|
54
|
-
* - [
|
|
54
|
+
* - [Get started](https://developers.arcgis.com/javascript/latest/get-started/)
|
|
55
55
|
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
56
56
|
*
|
|
57
57
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
@@ -102,7 +102,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
102
102
|
* For animating the view, see this component's goTo() method.
|
|
103
103
|
*/
|
|
104
104
|
get center(): __esri.MapView["center"];
|
|
105
|
-
set center(newValue: __esri.MapView["center"] |
|
|
105
|
+
set center(newValue: __esri.MapView["center"] | nil | number[] | string);
|
|
106
106
|
/** Specifies constraints to scale, zoom, and rotation that may be applied to the MapView. */
|
|
107
107
|
constraints: __esri.View2DConstraints;
|
|
108
108
|
/**
|
|
@@ -131,13 +131,14 @@ export declare class ArcgisMap extends LitElement {
|
|
|
131
131
|
get gamepad(): __esri.GamepadSettings;
|
|
132
132
|
/**
|
|
133
133
|
* Allows for adding graphics directly to the default graphics in the View.
|
|
134
|
-
*
|
|
135
|
-
*
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```js
|
|
136
137
|
* // Adds a graphic to the View
|
|
137
138
|
* graphics.add(pointGraphic);
|
|
138
139
|
* ```
|
|
139
|
-
*
|
|
140
|
-
* ```
|
|
140
|
+
* @example
|
|
141
|
+
* ```js
|
|
141
142
|
* // Removes a graphic from the View
|
|
142
143
|
* graphics.remove(pointGraphic);
|
|
143
144
|
* ```
|
|
@@ -155,6 +156,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
155
156
|
* Options for configuring the highlight.
|
|
156
157
|
*
|
|
157
158
|
* @deprecated
|
|
159
|
+
* since 4.33, use [highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#highlights) instead.
|
|
160
|
+
*
|
|
158
161
|
* Options for configuring the highlight. Use the highlight method on the
|
|
159
162
|
* appropriate esri/views/layers/LayerView to highlight a feature.
|
|
160
163
|
* The layerView's `highlightOptions` will take precedence over the MapView's `highlightOptions` if both properties are set.
|
|
@@ -173,8 +176,8 @@ export declare class ArcgisMap extends LitElement {
|
|
|
173
176
|
*
|
|
174
177
|
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the Map component loads.
|
|
175
178
|
*/
|
|
176
|
-
get itemId():
|
|
177
|
-
set itemId(newValue:
|
|
179
|
+
get itemId(): nil | string;
|
|
180
|
+
set itemId(newValue: nil | string);
|
|
178
181
|
/**
|
|
179
182
|
* A collection containing a hierarchical list of all the created
|
|
180
183
|
* esri/views/layers/LayerView LayerViews of the
|
|
@@ -184,7 +187,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
184
187
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
185
188
|
readonly magnifier: __esri.Magnifier;
|
|
186
189
|
/** An instance of a esri/Map object to display in the view. */
|
|
187
|
-
map: __esri.Map;
|
|
190
|
+
map: __esri.Map | nullish;
|
|
188
191
|
/**
|
|
189
192
|
* Indication whether the view is being navigated (for example when panning).
|
|
190
193
|
*
|
|
@@ -331,28 +334,28 @@ export declare class ArcgisMap extends LitElement {
|
|
|
331
334
|
set zoom(newValue: number);
|
|
332
335
|
/**
|
|
333
336
|
* @deprecated
|
|
334
|
-
* since 4.33
|
|
337
|
+
* since 4.33, use `element.map.add(layer)` instead.
|
|
335
338
|
*
|
|
336
339
|
* Adds a layer to the map layers collection.
|
|
337
340
|
*/
|
|
338
341
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
339
342
|
/**
|
|
340
343
|
* @deprecated
|
|
341
|
-
* since 4.33
|
|
344
|
+
* since 4.33, use `element.map.addMany([layer])` instead.
|
|
342
345
|
*
|
|
343
346
|
* Adds a layer or array of layers to the map layers collection.
|
|
344
347
|
*/
|
|
345
348
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
346
349
|
/**
|
|
347
350
|
* @deprecated
|
|
348
|
-
* since 4.33
|
|
351
|
+
* since 4.33, use `element.map.tables.add(table)` instead.
|
|
349
352
|
*
|
|
350
353
|
* Adds a table to the map tables collection.
|
|
351
354
|
*/
|
|
352
355
|
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
353
356
|
/**
|
|
354
357
|
* @deprecated
|
|
355
|
-
* since 4.33
|
|
358
|
+
* since 4.33, use `element.map.tables.addMany([table])` instead.
|
|
356
359
|
*
|
|
357
360
|
* Adds a table or array of tables to the map tables collection.
|
|
358
361
|
*/
|
|
@@ -379,8 +382,18 @@ export declare class ArcgisMap extends LitElement {
|
|
|
379
382
|
/** Gets the LayerView created on the view for the given layer. */
|
|
380
383
|
whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>;
|
|
381
384
|
/**
|
|
382
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
383
|
-
* This method takes two input parameters
|
|
385
|
+
* `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.
|
|
386
|
+
* This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
|
|
387
|
+
*
|
|
388
|
+
* @since 4.33
|
|
389
|
+
* @see [Watch for changes - waiting for components or views to be ready](https://developers.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
|
|
390
|
+
* @example
|
|
391
|
+
* ```js
|
|
392
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
393
|
+
* await viewElement.viewOnReady();
|
|
394
|
+
* // The view is now ready to be used.
|
|
395
|
+
* viewElement.map.add(new FeatureLayer({...}));
|
|
396
|
+
* ```
|
|
384
397
|
*/
|
|
385
398
|
viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
|
|
386
399
|
/**
|
|
@@ -429,7 +442,7 @@ export declare class ArcgisMap extends LitElement {
|
|
|
429
442
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
430
443
|
private _map: __esri.Map;
|
|
431
444
|
readonly _setterTypes: {
|
|
432
|
-
center?: __esri.MapView["center"] |
|
|
445
|
+
center?: __esri.MapView["center"] | nil | number[] | string;
|
|
433
446
|
ground?: __esri.Ground | string;
|
|
434
447
|
};
|
|
435
448
|
}
|