@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,33 +1,473 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as M, html as r } from "lit";
|
|
3
|
+
import { ref as $ } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as N } from "lit/directives/keyed.js";
|
|
5
|
+
import L from "@arcgis/core/widgets/Bookmarks/BookmarksViewModel.js";
|
|
6
|
+
import { g as S } from "../../chunks/globalCss.js";
|
|
7
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
8
|
+
import { H as P } from "../../chunks/heading.js";
|
|
9
|
+
import { generateGuid as V } from "@arcgis/toolkit/string";
|
|
10
|
+
import { classes as x } from "@arcgis/toolkit/dom";
|
|
11
|
+
import { usePropertyChange as R } from "@arcgis/lumina/controllers";
|
|
12
|
+
import { m as q } from "../../chunks/useViewModel.js";
|
|
13
|
+
import { LitElement as H, createEvent as I, noShadowRoot as Z, safeClassMap as c, nothing as w } from "@arcgis/lumina";
|
|
14
|
+
import { formatDate as F, convertDateFormatToIntlOptions as U } from "@arcgis/core/intl.js";
|
|
15
|
+
import { isHTTPSProtocol as b, isDataProtocol as T } from "@arcgis/core/core/urlUtils.js";
|
|
16
|
+
import { watch as E } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
|
+
import z from "@arcgis/core/core/Accessor.js";
|
|
18
|
+
import { property as _, subclass as j } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
12
|
-
const
|
|
13
|
-
|
|
21
|
+
v4.34.0-next.80 */
|
|
22
|
+
const d = "arcgis-bookmarks", y = `${d}__authoring`, C = `${d}__bookmark`, l = {
|
|
23
|
+
base: d,
|
|
24
|
+
empty: `${d}__empty`,
|
|
25
|
+
noBookmarksHeader: `${d}__no-bookmarks-heading`,
|
|
26
|
+
noBookmarksDescription: `${d}__no-bookmarks-description`,
|
|
27
|
+
form: `${d}__form`,
|
|
28
|
+
list: `${d}__list`,
|
|
29
|
+
loader: `${d}__loader`,
|
|
30
|
+
filterNoResults: `${d}__filter-no-results`,
|
|
31
|
+
formContent: `${d}__form-content`,
|
|
32
|
+
addBookmarkButton: `${d}__add-bookmark-button`,
|
|
33
|
+
editBookmarkInput: `${d}__edit-bookmark-input`,
|
|
34
|
+
addBookmarkInput: `${d}__add-bookmark-input`,
|
|
35
|
+
dragEnabled: `${d}--drag-enabled`,
|
|
36
|
+
bookmarkImage: `${d}__image`,
|
|
37
|
+
bookmarkImageContainer: `${C}-image-container`,
|
|
38
|
+
bookmarkContent: `${C}-content`,
|
|
39
|
+
bookmarkContentLabel: `${C}-content-label`,
|
|
40
|
+
authoring: y,
|
|
41
|
+
authoringImageContainer: `${y}-image-container`,
|
|
42
|
+
authoringRefreshThumbnailButton: `${y}-refresh-thumbnail-button`
|
|
43
|
+
}, G = M`@layer{arcgis-bookmarks{display:block}.arcgis-bookmarks{display:flex;background-color:transparent}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:16px;font-weight:400}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--2)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}}`;
|
|
44
|
+
var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, k = (s, t, e, i) => {
|
|
45
|
+
for (var a = i > 1 ? void 0 : i ? K(t, e) : t, o = s.length - 1, n; o >= 0; o--)
|
|
46
|
+
(n = s[o]) && (a = (i ? n(t, e, a) : n(a)) || a);
|
|
47
|
+
return i && a && J(t, e, a), a;
|
|
48
|
+
};
|
|
49
|
+
let m = class extends z {
|
|
50
|
+
constructor(s) {
|
|
51
|
+
super(s);
|
|
52
|
+
}
|
|
53
|
+
get editedBookmark() {
|
|
54
|
+
const { bookmark: s } = this;
|
|
55
|
+
return s ? this._get("editedBookmark") || s.clone() : null;
|
|
56
|
+
}
|
|
57
|
+
get customUrl() {
|
|
58
|
+
if (this._customUrl)
|
|
59
|
+
return this._customUrl;
|
|
60
|
+
const s = this.editedBookmark?.thumbnail?.url ?? "";
|
|
61
|
+
return s ?? (b(s) ? s : null);
|
|
62
|
+
}
|
|
63
|
+
set customUrl(s) {
|
|
64
|
+
this._customUrl = s;
|
|
65
|
+
}
|
|
66
|
+
get screenshotUrl() {
|
|
67
|
+
if (this._screenshotUrl)
|
|
68
|
+
return this._screenshotUrl;
|
|
69
|
+
const s = this.editedBookmark?.thumbnail?.url ?? "";
|
|
70
|
+
return s ?? (T(s) ? s : null);
|
|
71
|
+
}
|
|
72
|
+
set screenshotUrl(s) {
|
|
73
|
+
this._screenshotUrl = s;
|
|
74
|
+
}
|
|
75
|
+
get state() {
|
|
76
|
+
return this._get("state");
|
|
77
|
+
}
|
|
78
|
+
set state(s) {
|
|
79
|
+
this.validationState = void 0, this.creatingBookmark = void 0, this._set("state", s);
|
|
80
|
+
}
|
|
81
|
+
get thumbnailState() {
|
|
82
|
+
if (this._thumbnailState)
|
|
83
|
+
return this._thumbnailState;
|
|
84
|
+
const s = this.editedBookmark?.thumbnail?.url;
|
|
85
|
+
return s ? b(s) ? "url" : "screenshot" : "none";
|
|
86
|
+
}
|
|
87
|
+
set thumbnailState(s) {
|
|
88
|
+
this._thumbnailState = s;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
k([
|
|
92
|
+
_()
|
|
93
|
+
], m.prototype, "bookmark", 2);
|
|
94
|
+
k([
|
|
95
|
+
_({ readOnly: !0 })
|
|
96
|
+
], m.prototype, "editedBookmark", 1);
|
|
97
|
+
k([
|
|
98
|
+
_()
|
|
99
|
+
], m.prototype, "_customUrl", 2);
|
|
100
|
+
k([
|
|
101
|
+
_()
|
|
102
|
+
], m.prototype, "customUrl", 1);
|
|
103
|
+
k([
|
|
104
|
+
_()
|
|
105
|
+
], m.prototype, "_screenshotUrl", 2);
|
|
106
|
+
k([
|
|
107
|
+
_()
|
|
108
|
+
], m.prototype, "screenshotUrl", 1);
|
|
109
|
+
k([
|
|
110
|
+
_()
|
|
111
|
+
], m.prototype, "state", 1);
|
|
112
|
+
k([
|
|
113
|
+
_()
|
|
114
|
+
], m.prototype, "_thumbnailState", 2);
|
|
115
|
+
k([
|
|
116
|
+
_()
|
|
117
|
+
], m.prototype, "thumbnailState", 1);
|
|
118
|
+
k([
|
|
119
|
+
_()
|
|
120
|
+
], m.prototype, "validationState", 2);
|
|
121
|
+
k([
|
|
122
|
+
_()
|
|
123
|
+
], m.prototype, "creatingBookmark", 2);
|
|
124
|
+
m = k([
|
|
125
|
+
j("UserState")
|
|
126
|
+
], m);
|
|
127
|
+
const Q = q(L);
|
|
128
|
+
class W extends H {
|
|
14
129
|
constructor() {
|
|
15
|
-
super(...arguments), this.
|
|
130
|
+
super(...arguments), this._guid = V(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = O({}), this.viewModel = Q(this), this._storeEditFlowItemNode = (t) => {
|
|
131
|
+
this._editFlowItemEl = t;
|
|
132
|
+
}, this._storeRootFlowItem = (t) => {
|
|
133
|
+
this._rootFlowItemEl = t;
|
|
134
|
+
}, this._storeAddFlowItemNode = (t) => {
|
|
135
|
+
this._addFlowItemEl = t;
|
|
136
|
+
}, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.position = "top-left", this.icon = "icon", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit = I(), this.arcgisBookmarkSelect = I(), this.arcgisPropertyChange = R()("state"), this.arcgisReady = I();
|
|
16
137
|
}
|
|
17
138
|
static {
|
|
18
|
-
this.properties = {
|
|
139
|
+
this.properties = { _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, referenceElement: 1, position: 3, icon: 1, closed: 5, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: 0, disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, hideFlow: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
19
140
|
}
|
|
20
141
|
static {
|
|
21
|
-
this.
|
|
142
|
+
this.styles = G;
|
|
22
143
|
}
|
|
23
144
|
static {
|
|
24
|
-
this.
|
|
145
|
+
this.shadowRootOptions = Z;
|
|
25
146
|
}
|
|
26
147
|
async destroy() {
|
|
27
148
|
await this.manager.destroy();
|
|
28
149
|
}
|
|
150
|
+
goTo(t) {
|
|
151
|
+
return this.viewModel.goTo(t);
|
|
152
|
+
}
|
|
153
|
+
loaded() {
|
|
154
|
+
this.manager.onLifecycle(() => [
|
|
155
|
+
this.viewModel.on("bookmark-select", this.arcgisBookmarkSelect.emit),
|
|
156
|
+
this.viewModel.on("bookmark-edit", this.arcgisBookmarkEdit.emit),
|
|
157
|
+
E(() => this._userState?.state, (t) => this._userStateValue = t, { initial: !0 }),
|
|
158
|
+
E(() => this._userState?.validationState, (t) => this._userValidationState = t, { initial: !0 }),
|
|
159
|
+
E(() => this._userState?.thumbnailState, (t) => this._userThumbnailState = t, { initial: !0 }),
|
|
160
|
+
E(() => this._userState?.creatingBookmark, (t) => this._userCreatingBookmark = !!t, { initial: !0 })
|
|
161
|
+
]);
|
|
162
|
+
}
|
|
163
|
+
startAddBookmark() {
|
|
164
|
+
this._userState = new m({
|
|
165
|
+
state: "add"
|
|
166
|
+
}), requestAnimationFrame(() => {
|
|
167
|
+
this._addFlowItemEl?.setFocus();
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
_clearState() {
|
|
171
|
+
this._userState = null;
|
|
172
|
+
}
|
|
173
|
+
_getTimeExtentStrings(t) {
|
|
174
|
+
const { hideTime: e } = this, { timeExtent: i } = t;
|
|
175
|
+
if (!i)
|
|
176
|
+
return {};
|
|
177
|
+
const { start: a, end: o } = i, n = o != null && (a == null || a.getTime() !== o.getTime()), u = a ? this._formatDate(a) : "", h = a && !e ? this._formatTime(a) : "";
|
|
178
|
+
if (!n)
|
|
179
|
+
return { startDate: u, startTime: h };
|
|
180
|
+
const f = this._formatDate(o), g = e ? "" : this._formatTime(o);
|
|
181
|
+
return { startDate: u, startTime: h, endDate: f, endTime: g };
|
|
182
|
+
}
|
|
183
|
+
_handleUrlEditInputChange() {
|
|
184
|
+
const { _userState: t, _urlEditInputNode: e } = this, i = e?.value;
|
|
185
|
+
if (!t?.editedBookmark || !i)
|
|
186
|
+
return;
|
|
187
|
+
t.validationState = void 0, T(t.editedBookmark.thumbnail?.url ?? "") && (t.screenshotUrl = t.editedBookmark.thumbnail?.url);
|
|
188
|
+
const a = { url: i };
|
|
189
|
+
b(a.url) && (t.customUrl = i, t.editedBookmark.thumbnail = a);
|
|
190
|
+
}
|
|
191
|
+
_getBookmarkTitle(t) {
|
|
192
|
+
return (t?.name || this.messages.untitled) ?? "";
|
|
193
|
+
}
|
|
194
|
+
_formatDate(t) {
|
|
195
|
+
if (!t)
|
|
196
|
+
return "";
|
|
197
|
+
const e = this.viewModel.view, i = e && "timeZone" in e ? e.timeZone : "system";
|
|
198
|
+
return F(t, {
|
|
199
|
+
...U("short-date"),
|
|
200
|
+
timeZone: i
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
_formatTime(t) {
|
|
204
|
+
if (!t)
|
|
205
|
+
return "";
|
|
206
|
+
const e = this.viewModel.view, i = e && "timeZone" in e ? e.timeZone : "system";
|
|
207
|
+
return F(t, {
|
|
208
|
+
...U("long-time"),
|
|
209
|
+
timeZone: i
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
_onCalciteListOrderChange(t) {
|
|
213
|
+
const { _lastDragDetail: e, bookmarks: i } = this, { toEl: a, fromEl: o, dragEl: n, newIndex: u } = t;
|
|
214
|
+
if (!i.length)
|
|
215
|
+
return;
|
|
216
|
+
const h = e?.newIndex === u && e?.dragEl === n && e?.toEl === a && e?.fromEl === o;
|
|
217
|
+
if (!o || !a || h)
|
|
218
|
+
return;
|
|
219
|
+
this._lastDragDetail = t;
|
|
220
|
+
const f = Array.from(o.children).filter((g) => g?.matches("calcite-list-item")).map((g) => g.value);
|
|
221
|
+
i.sort((g, D) => {
|
|
222
|
+
const v = f.indexOf(g.uid), B = f.indexOf(D.uid);
|
|
223
|
+
return v > B ? 1 : v < B ? -1 : 0;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
_endAddBookmark() {
|
|
227
|
+
this._clearState(), this._focusRootFlowItem();
|
|
228
|
+
}
|
|
229
|
+
_showEditBookmarkForm(t) {
|
|
230
|
+
t && (this.editIncludeTimeExtent = !!t.timeExtent, this._userState = new m({
|
|
231
|
+
bookmark: t,
|
|
232
|
+
state: "edit"
|
|
233
|
+
}), requestAnimationFrame(() => {
|
|
234
|
+
this._editFlowItemEl?.setFocus();
|
|
235
|
+
}), this.viewModel.goTo(t));
|
|
236
|
+
}
|
|
237
|
+
async _createNewScreenshotUrl() {
|
|
238
|
+
return (await this.viewModel.createBookmark()).thumbnail?.url ?? null;
|
|
239
|
+
}
|
|
240
|
+
_storeCurrentUrl() {
|
|
241
|
+
const { _userState: t } = this, e = t?.editedBookmark?.thumbnail?.url;
|
|
242
|
+
e && (b(e) ? t.customUrl = e : T(e) && (t.screenshotUrl = e));
|
|
243
|
+
}
|
|
244
|
+
async _handleThumbnailTypeSelect(t) {
|
|
245
|
+
const { _userState: e } = this;
|
|
246
|
+
if (!e)
|
|
247
|
+
return;
|
|
248
|
+
const { screenshotUrl: i, customUrl: a, editedBookmark: o } = e, n = t === "screenshot" ? i ?? await this._createNewScreenshotUrl() : t === "url" && a ? a : null;
|
|
249
|
+
this._storeCurrentUrl(), o && n && (o.thumbnail = {
|
|
250
|
+
url: n
|
|
251
|
+
}), e.validationState = void 0, e.thumbnailState = t;
|
|
252
|
+
}
|
|
253
|
+
_focusRootFlowItem() {
|
|
254
|
+
requestAnimationFrame(() => {
|
|
255
|
+
this._rootFlowItemEl?.setFocus();
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
_closeEditBookmarkForm() {
|
|
259
|
+
this._clearState(), this._focusRootFlowItem();
|
|
260
|
+
}
|
|
261
|
+
_addBookmarkSubmitClick(t) {
|
|
262
|
+
t.preventDefault(), this._addBookmarkSubmit();
|
|
263
|
+
}
|
|
264
|
+
async _addBookmarkSubmit() {
|
|
265
|
+
const { _addInputNode: t, _userState: e, viewModel: i, viewModel: { bookmarks: a } } = this;
|
|
266
|
+
if (!e)
|
|
267
|
+
return;
|
|
268
|
+
const o = t ? t.value.trim() : null;
|
|
269
|
+
if (!o) {
|
|
270
|
+
e.validationState = "name-required";
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
e.creatingBookmark = !0;
|
|
274
|
+
const n = await i.createBookmark();
|
|
275
|
+
n.name = o, a.add(n), this._endAddBookmark();
|
|
276
|
+
}
|
|
277
|
+
async _editBookmarkAndClose(t, e) {
|
|
278
|
+
const { viewModel: i, viewModel: { defaultEditOptions: a } } = this;
|
|
279
|
+
await i.editBookmark(t, {
|
|
280
|
+
...a,
|
|
281
|
+
...e
|
|
282
|
+
}), this._closeEditBookmarkForm();
|
|
283
|
+
}
|
|
284
|
+
_editBookmarkSubmit(t) {
|
|
285
|
+
t.preventDefault();
|
|
286
|
+
const { _userState: e, _editInputNode: i, editIncludeTimeExtent: a, _urlEditInputNode: o } = this;
|
|
287
|
+
if (!e?.bookmark || !e.editedBookmark)
|
|
288
|
+
return;
|
|
289
|
+
e.validationState = void 0, e.customUrl = void 0, e.screenshotUrl = void 0;
|
|
290
|
+
const n = i?.value.trim();
|
|
291
|
+
if (!n) {
|
|
292
|
+
e.validationState = "name-required";
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
if (e.bookmark.name = n, e.bookmark.thumbnail = e.editedBookmark.thumbnail, a || (e.bookmark.timeExtent = null), e.thumbnailState === "url" && o) {
|
|
296
|
+
const h = { url: o.value };
|
|
297
|
+
if (!b(h.url)) {
|
|
298
|
+
e.validationState = "absolute-url-required";
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
e.bookmark.thumbnail = h;
|
|
302
|
+
} else e.thumbnailState === "none" && (e.bookmark.thumbnail = null);
|
|
303
|
+
this._editBookmarkAndClose(e.bookmark, {
|
|
304
|
+
takeScreenshot: !1,
|
|
305
|
+
captureTimeExtent: a
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
_storeEditInput(t) {
|
|
309
|
+
this._editInputNode = t;
|
|
310
|
+
}
|
|
311
|
+
_storeAddInput(t) {
|
|
312
|
+
this._addInputNode = t;
|
|
313
|
+
}
|
|
314
|
+
_storeUrlEditInput(t) {
|
|
315
|
+
this._urlEditInputNode = t;
|
|
316
|
+
}
|
|
317
|
+
_deleteBookmark(t) {
|
|
318
|
+
this._closeEditBookmarkForm(), t && (this.viewModel.bookmarks.remove(t), t.destroy());
|
|
319
|
+
}
|
|
320
|
+
_goToBookmark(t) {
|
|
321
|
+
this._clearState(), this.viewModel.goTo(t);
|
|
322
|
+
}
|
|
323
|
+
async _updateThumbnail() {
|
|
324
|
+
const { _userState: t, viewModel: e } = this;
|
|
325
|
+
t && (t.validationState = void 0, await e.editBookmark(t.editedBookmark, {
|
|
326
|
+
takeScreenshot: !0,
|
|
327
|
+
captureViewpoint: !1,
|
|
328
|
+
captureRotation: !1,
|
|
329
|
+
captureScale: !1,
|
|
330
|
+
captureTimeExtent: !1
|
|
331
|
+
}));
|
|
332
|
+
}
|
|
333
|
+
_handleCalciteListDragEnd(t) {
|
|
334
|
+
const { fromEl: e, dragEl: i, oldIndex: a } = t;
|
|
335
|
+
e.insertBefore(i, e.children[a]);
|
|
336
|
+
}
|
|
337
|
+
render() {
|
|
338
|
+
return r`<div class=${c(x(l.base, S.widget, { [S.panel]: !this.closed }))}>${this._renderBookmarksContainer()}</div>`;
|
|
339
|
+
}
|
|
340
|
+
_renderNoBookmarksContainer(t) {
|
|
341
|
+
const { messages: e, viewModel: { state: i } } = this;
|
|
342
|
+
return !t.length && i !== "loading" ? r`<div class=${c(l.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${P({ class: x(S.heading, l.noBookmarksHeader), level: this.headingLevel, children: e.noBookmarksHeading })}<p class=${c(l.noBookmarksDescription)}>${e.noBookmarksDescription}</p></div>` : null;
|
|
343
|
+
}
|
|
344
|
+
_renderEditBookmarkFlowItems() {
|
|
345
|
+
const t = this._userStateValue === "edit", e = this._userState?.editedBookmark;
|
|
346
|
+
return !e || !t ? [] : this._renderEditingBookmark(e);
|
|
347
|
+
}
|
|
348
|
+
_renderBookmarkItems(t) {
|
|
349
|
+
return t ? t.toArray().map((e) => this._renderBookmark(e)) : [];
|
|
350
|
+
}
|
|
351
|
+
_renderBookmarksContainer() {
|
|
352
|
+
const { viewModel: { state: t, bookmarks: e }, dragEnabled: i, messages: a, disabled: o, filterPlaceholder: n, filterText: u, closed: h, headingLevel: f } = this, g = e.filter((p) => p != null), v = g.length ? r`<calcite-list class=${c(l.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${n} .filterProps=${["label", "description", "metadata"]} .filterText=${u} .group=${`bookmarks-${this._guid}`} .label=${a.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(p) => this._handleCalciteListDragEnd(p.detail)} @calciteListFilter=${(p) => this.filterText = p.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(p) => this._onCalciteListOrderChange(p.detail)}>${this._renderBookmarkItems(g)}${this.showFilter ? r`<div class=${c(l.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${a.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, B = [
|
|
353
|
+
r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${h} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? a.componentLabel : void 0} .headingLevel=${f} .loading=${t === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${() => this.closed = !0} ${$(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${v}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
|
|
354
|
+
this._renderAddingBookmark(),
|
|
355
|
+
this._renderEditBookmarkFlowItems()
|
|
356
|
+
];
|
|
357
|
+
return h ? null : this.hideFlow ? B : r`<calcite-flow>${B}</calcite-flow>`;
|
|
358
|
+
}
|
|
359
|
+
_renderAddBookmarkButton() {
|
|
360
|
+
const { messages: t, disabled: e, viewModel: { view: i, state: a } } = this, o = this._userCreatingBookmark;
|
|
361
|
+
return i && a !== "loading" && this.showAddBookmarkButton ? r`<calcite-fab appearance=outline-fill class=${c(l.addBookmarkButton)} .disabled=${e || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${t.addBookmark} text-enabled title=${t.addBookmark ?? w}></calcite-fab>` : null;
|
|
362
|
+
}
|
|
363
|
+
_renderEditContainer(t) {
|
|
364
|
+
const { messages: e } = this, i = `${e.edit} ${this._getBookmarkTitle(t)}`;
|
|
365
|
+
return this.showEditBookmarkButton ? r`<calcite-action appearance=transparent icon=pencil @click=${() => this._showEditBookmarkForm(t)} slot=actions-end .text=${i} title=${i ?? w}></calcite-action>` : null;
|
|
366
|
+
}
|
|
367
|
+
_renderBookmarkImage(t, e) {
|
|
368
|
+
return e ? r`<img alt class=${c(l.bookmarkImage)} src=${t.thumbnail?.url ?? w}>` : null;
|
|
369
|
+
}
|
|
370
|
+
_renderBookmarkTimeSwitch(t) {
|
|
371
|
+
const { messages: e, viewModel: { view: i } } = this, { timeExtent: a } = t;
|
|
372
|
+
return i?.timeExtent ?? a ? r`<calcite-label layout=inline-space-between>${e.includeTimeExtent}<calcite-switch .checked=${!!a} @calciteSwitchChange=${(o) => {
|
|
373
|
+
this.editIncludeTimeExtent = !!o.currentTarget.checked;
|
|
374
|
+
}}></calcite-switch></calcite-label>` : null;
|
|
375
|
+
}
|
|
376
|
+
_renderEditBookmarkTimeExtent(t) {
|
|
377
|
+
return this.editIncludeTimeExtent ? this._renderBookmarkTimeExtent(t) : null;
|
|
378
|
+
}
|
|
379
|
+
_renderTimeExtentDescription(t) {
|
|
380
|
+
const { startDate: e, startTime: i, endDate: a, endTime: o } = this._getTimeExtentStrings(t);
|
|
381
|
+
if (!e)
|
|
382
|
+
return "";
|
|
383
|
+
const n = `${e} ${i}`, u = `${a} ${o}`;
|
|
384
|
+
return a ? `${n} - ${u}` : n;
|
|
385
|
+
}
|
|
386
|
+
_renderBookmarkTimeExtent(t, e = !1) {
|
|
387
|
+
const { messages: i } = this, { startDate: a, startTime: o, endDate: n, endTime: u } = this._getTimeExtentStrings(t), h = e ? null : r`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${n ? r`<calcite-table-header .heading=${i.endDate}></calcite-table-header>` : null}</calcite-table-row>`;
|
|
388
|
+
return a ? r`<calcite-table .caption=${i.timeExtent ?? ""} scale=s>${h}<calcite-table-row><calcite-table-cell>${a} ${o ? [r`<br>`, o] : null}</calcite-table-cell>${n ? r`<calcite-table-cell>${n}${u ? [r`<br>`, u] : null}</calcite-table-cell>` : null}</calcite-table-row></calcite-table>` : null;
|
|
389
|
+
}
|
|
390
|
+
_renderBookmarkActiveScrim(t, e) {
|
|
391
|
+
return this.viewModel.activeBookmark === t && e ? r`<calcite-scrim loading></calcite-scrim>` : null;
|
|
392
|
+
}
|
|
393
|
+
_renderBookmarkActiveLoader(t, e) {
|
|
394
|
+
return this.viewModel.activeBookmark === t && !e ? r`<calcite-loader class=${c(l.loader)} inline .label=${this.messages.loading ?? ""}></calcite-loader>` : null;
|
|
395
|
+
}
|
|
396
|
+
_renderBookmarkImageIcon(t, e) {
|
|
397
|
+
return this.viewModel.activeBookmark !== t && !e ? r`<calcite-icon icon=bookmark scale=s></calcite-icon>` : null;
|
|
398
|
+
}
|
|
399
|
+
_renderBookmarkThumbnail(t) {
|
|
400
|
+
const e = !this.hideThumbnail && !!t.thumbnail?.url;
|
|
401
|
+
return r`<div class=${c(l.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(t, e)}${this._renderBookmarkImage(t, e)}${this._renderBookmarkActiveLoader(t, e)}${this._renderBookmarkImageIcon(t, e)}</div>`;
|
|
402
|
+
}
|
|
403
|
+
_renderBookmark(t) {
|
|
404
|
+
return N(t.uid, r`<calcite-list-item class=${c(x({ [l.dragEnabled]: this.dragEnabled }))} .description=${this._renderTimeExtentDescription(t)} .label=${this._getBookmarkTitle(t)} .value=${t.uid} @calciteListItemSelect=${() => this._goToBookmark(t)}>${this._renderBookmarkThumbnail(t)}${this._renderBookmarkContent(t)}${this._renderEditContainer(t)}</calcite-list-item>`);
|
|
405
|
+
}
|
|
406
|
+
_renderBookmarkContent(t) {
|
|
407
|
+
return r`<div class=${c(l.bookmarkContent)} slot=content><span class=${c(l.bookmarkContentLabel)}>${this._getBookmarkTitle(t)}</span>${this._renderBookmarkTimeExtent(t, !0)}</div>`;
|
|
408
|
+
}
|
|
409
|
+
_renderEditingBookmarkName(t) {
|
|
410
|
+
const { messages: e } = this, i = this._userValidationState === "name-required";
|
|
411
|
+
return r`<calcite-label>${e.title}<calcite-input class=${c(l.editBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text .value=${t.name} ${$(this._storeEditInput)}></calcite-input>${i ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
|
|
412
|
+
}
|
|
413
|
+
_renderEditingBookmarkActions() {
|
|
414
|
+
const { messages: t, _userState: e } = this, i = e?.bookmark;
|
|
415
|
+
return [
|
|
416
|
+
r`<calcite-button appearance=transparent kind=danger @click=${() => this._deleteBookmark(i)} slot=footer type=button width=full>${t.delete}</calcite-button>`,
|
|
417
|
+
r`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${t.cancel}</calcite-button>`,
|
|
418
|
+
r`<calcite-button slot=footer type=submit width=full>${t.save}</calcite-button>`
|
|
419
|
+
];
|
|
420
|
+
}
|
|
421
|
+
_renderEditingTimeExtent(t) {
|
|
422
|
+
const { capabilities: e, view: i } = this.viewModel, { timeExtent: a } = t;
|
|
423
|
+
return e.time && (i?.timeExtent ?? a) ? r`<div>${this._renderBookmarkTimeSwitch(t)}${this._renderEditBookmarkTimeExtent(t)}</div>` : null;
|
|
424
|
+
}
|
|
425
|
+
_renderEditingBookmarkImage(t) {
|
|
426
|
+
const { _userThumbnailState: e } = this, i = t.thumbnail?.url ?? "", a = b(i) ? e === "url" : T(i) ? e === "screenshot" : null;
|
|
427
|
+
if (a)
|
|
428
|
+
return this._renderBookmarkImage(t, a);
|
|
429
|
+
}
|
|
430
|
+
_renderEditingThumbnail(t) {
|
|
431
|
+
const { _userThumbnailState: e, hideThumbnail: i } = this;
|
|
432
|
+
return !i && e !== "none" ? r`<div class=${c(l.authoringImageContainer)}>${this._renderEditingBookmarkImage(t)}</div>` : null;
|
|
433
|
+
}
|
|
434
|
+
_renderUpdateThumbnailButton() {
|
|
435
|
+
const { hideThumbnail: t, messages: e, _userThumbnailState: i } = this;
|
|
436
|
+
return !t && i === "screenshot" ? r`<calcite-button appearance=outline class=${c(l.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${() => void this._updateThumbnail()} width=full>${e.updateThumbnail}</calcite-button>` : null;
|
|
437
|
+
}
|
|
438
|
+
_renderEditingBookmarkUrlInput(t) {
|
|
439
|
+
const { messages: e, _userValidationState: i, _userThumbnailState: a } = this, o = t.thumbnail?.url ?? "", n = b(o) ? o : void 0, u = o && i === "absolute-url-required";
|
|
440
|
+
return a === "url" ? r`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${e ? `https://<${e.imageUrlPlaceholder}>` : void 0} required title=${e.imageUrlTooltip ?? w} type=text .value=${n} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${$(this._storeUrlEditInput)}></calcite-input>${u ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
|
|
441
|
+
}
|
|
442
|
+
_renderThumbnailSelector() {
|
|
443
|
+
const { hideThumbnail: t, messages: e, _userThumbnailState: i } = this;
|
|
444
|
+
return t ? null : r`<calcite-label>${e.thumbnail}<calcite-chip-group .label=${e.thumbnail ?? ""} selection-mode=single-persist @calciteChipGroupSelect=${(a) => this._handleThumbnailTypeSelect(a.currentTarget.selectedItems[0].value)}><calcite-chip .label=${e.screenshot ?? ""} .selected=${i === "screenshot"} value=screenshot>${e.screenshot}</calcite-chip><calcite-chip .label=${e.url ?? ""} .selected=${i === "url"} value=url>${e.url}</calcite-chip><calcite-chip .label=${e.none ?? ""} .selected=${i === "none"} value=none>${e.none}</calcite-chip></calcite-chip-group></calcite-label>`;
|
|
445
|
+
}
|
|
446
|
+
_renderEditingBookmark(t) {
|
|
447
|
+
const { disabled: e, messages: i, headingLevel: a } = this;
|
|
448
|
+
return t ? r`<form class=${c(l.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${e} .heading=${i.edit ?? ""} .headingLevel=${a} .selected=${this._userStateValue === "edit"} @calciteFlowItemBack=${(o) => {
|
|
449
|
+
o.preventDefault(), this._closeEditBookmarkForm();
|
|
450
|
+
}} ${$(this._storeEditFlowItemNode)}><div class=${c(l.formContent)}><div class=${c(l.authoring)}>${this._renderEditingBookmarkName(t)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(t)}${this._renderEditingBookmarkUrlInput(t)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(t)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
451
|
+
}
|
|
452
|
+
_renderAddingBookmarkName() {
|
|
453
|
+
const { messages: t } = this, e = this._userValidationState === "name-required";
|
|
454
|
+
return r`<calcite-label>${t.title}<calcite-input class=${c(l.addBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text value ${$(this._storeAddInput)}></calcite-input>${e ? r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
|
|
455
|
+
}
|
|
456
|
+
_renderAddingBookmarkActions() {
|
|
457
|
+
const { messages: t } = this;
|
|
458
|
+
return [
|
|
459
|
+
r`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${t.cancel}</calcite-button>`,
|
|
460
|
+
r`<calcite-button slot=footer type=submit width=full>${t.add}</calcite-button>`
|
|
461
|
+
];
|
|
462
|
+
}
|
|
463
|
+
_renderAddingBookmark() {
|
|
464
|
+
const { disabled: t, messages: e, headingLevel: i, _userStateValue: a } = this;
|
|
465
|
+
return a === "add" ? r`<form class=${c(l.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${t} .heading=${e.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${(o) => {
|
|
466
|
+
o.preventDefault(), this._endAddBookmark();
|
|
467
|
+
}} ${$(this._storeAddFlowItemNode)}><div class=${c(l.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
468
|
+
}
|
|
29
469
|
}
|
|
30
|
-
|
|
470
|
+
A("arcgis-bookmarks", W);
|
|
31
471
|
export {
|
|
32
|
-
|
|
472
|
+
W as ArcgisBookmarks
|
|
33
473
|
};
|
|
@@ -1 +1,22 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-fab";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-switch";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-table-row";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-table-header";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-table";
|
|
13
|
+
import "@esri/calcite-components/components/calcite-table-cell";
|
|
14
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
15
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
16
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
17
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
18
|
+
import "@esri/calcite-components/components/calcite-input-message";
|
|
19
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
20
|
+
import "@esri/calcite-components/components/calcite-chip-group";
|
|
21
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
1
22
|
export * from "./customElement.js";
|
|
@@ -1 +1,22 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-fab";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-switch";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-table-row";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-table-header";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-table";
|
|
13
|
+
import "@esri/calcite-components/components/calcite-table-cell";
|
|
14
|
+
import "@esri/calcite-components/components/calcite-scrim";
|
|
15
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
16
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
17
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
18
|
+
import "@esri/calcite-components/components/calcite-input-message";
|
|
19
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
20
|
+
import "@esri/calcite-components/components/calcite-chip-group";
|
|
21
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
1
22
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
export interface BookmarkOptions {
|
|
3
|
+
takeScreenshot?: boolean;
|
|
4
|
+
captureViewpoint?: boolean;
|
|
5
|
+
captureRotation?: boolean;
|
|
6
|
+
captureScale?: boolean;
|
|
7
|
+
screenshotSettings?: Partial<__esri.MapViewTakeScreenshotOptions>;
|
|
8
|
+
captureTimeExtent?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface BookmarksCapabilities {
|
|
11
|
+
time?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
2
|
+
import { default as Accessor } from '@arcgis/core/core/Accessor.js';
|
|
3
|
+
import { default as Bookmark } from '@arcgis/core/webmap/Bookmark.js';
|
|
4
|
+
export type State = "add" | "edit";
|
|
5
|
+
export type ThumbnailState = "none" | "screenshot" | "url";
|
|
6
|
+
export type ValidationState = "absolute-url-required" | "name-required";
|
|
7
|
+
type ConstructProperties = Partial<Pick<UserState, "bookmark" | "creatingBookmark" | "customUrl" | "editedBookmark" | "screenshotUrl" | "state" | "thumbnailState" | "validationState">>;
|
|
8
|
+
export declare class UserState extends Accessor {
|
|
9
|
+
constructor(properties?: ConstructProperties);
|
|
10
|
+
bookmark?: Bookmark;
|
|
11
|
+
get editedBookmark(): Bookmark | nil;
|
|
12
|
+
private _customUrl?;
|
|
13
|
+
get customUrl(): string | undefined;
|
|
14
|
+
set customUrl(value: string | undefined);
|
|
15
|
+
private _screenshotUrl?;
|
|
16
|
+
get screenshotUrl(): string | undefined;
|
|
17
|
+
set screenshotUrl(value: string | undefined);
|
|
18
|
+
get state(): State;
|
|
19
|
+
set state(value: State);
|
|
20
|
+
private _thumbnailState?;
|
|
21
|
+
get thumbnailState(): ThumbnailState;
|
|
22
|
+
set thumbnailState(value: ThumbnailState);
|
|
23
|
+
validationState?: ValidationState;
|
|
24
|
+
creatingBookmark?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export {};
|