@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
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import"./ZURQLWM4.js";var d={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u03BC.\u03A7.",_era_bc:"\u03C0.\u03A7.",A:"\u03C0\u03BC",P:"\u03BC\u03BC",AM:"\u03C0.\u03BC.",PM:"\u03BC.\u03BC.","A.M.":"\u03C0.\u03BC.","P.M.":"\u03BC.\u03BC.",January:"\u0399\u03B1\u03BD\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",February:"\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",March:"\u039C\u03B1\u03C1\u03C4\u03AF\u03BF\u03C5",April:"\u0391\u03C0\u03C1\u03B9\u03BB\u03AF\u03BF\u03C5",May:"\u039C\u03B1\u0390\u03BF\u03C5",June:"\u0399\u03BF\u03C5\u03BD\u03AF\u03BF\u03C5",July:"\u0399\u03BF\u03C5\u03BB\u03AF\u03BF\u03C5",August:"\u0391\u03C5\u03B3\u03BF\u03CD\u03C3\u03C4\u03BF\u03C5",September:"\u03A3\u03B5\u03C0\u03C4\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",October:"\u039F\u03BA\u03C4\u03C9\u03B2\u03C1\u03AF\u03BF\u03C5",November:"\u039D\u03BF\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",December:"\u0394\u03B5\u03BA\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",Jan:"\u0399\u03B1\u03BD",Feb:"\u03A6\u03B5\u03B2",Mar:"\u039C\u03B1\u03C1",Apr:"\u0391\u03C0\u03C1","May(short)":"\u039C\u03B1\u0390",Jun:"\u0399\u03BF\u03C5\u03BD",Jul:"\u0399\u03BF\u03C5\u03BB",Aug:"\u0391\u03C5\u03B3",Sep:"\u03A3\u03B5\u03C0",Oct:"\u039F\u03BA\u03C4",Nov:"\u039D\u03BF\u03B5",Dec:"\u0394\u03B5\u03BA",Sunday:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE",Monday:"\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1",Tuesday:"\u03A4\u03C1\u03AF\u03C4\u03B7",Wednesday:"\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7",Thursday:"\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7",Friday:"\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE",Saturday:"\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF",Sun:"\u039A\u03C5\u03C1",Mon:"\u0394\u03B5\u03C5",Tue:"\u03A4\u03C1\u03AF",Wed:"\u03A4\u03B5\u03C4",Thu:"\u03A0\u03AD\u03BC",Fri:"\u03A0\u03B1\u03C1",Sat:"\u03A3\u03AC\u03B2",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0395\u03C3\u03C4\u03AF\u03B1\u03C3\u03B7",Play:"\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE",Stop:"\u03A3\u03C4\u03AC\u03C3\u03B7",Legend:"\u03A5\u03C0\u03CC\u03BC\u03BD\u03B7\u03BC\u03B1","Press ENTER to toggle":"",Loading:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7",Home:"\u0391\u03C1\u03C7\u03B9\u03BA\u03AE",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7",Image:"Image",Data:"\u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03B1",Print:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0391\u03C0\u03CC %1 \u03AD\u03C9\u03C2 %2","From %1":"\u0391\u03C0\u03CC %1","To %1":"\u0388\u03C9\u03C2 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as f}from"./4PNSNQAQ.js";import{a as m}from"./EHCN64LO.js";import b from"./NRYEDJ7Y.js";import{d as v,f as x}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as r}from"./V5SSJW7Z.js";import{J as g,K as a,M as c,O as u,i as h,j as n,s as p,x as _}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{when:z,watch:D},{a:$}])=>{var w=h`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},b=class extends g{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=$(this),this._direction=v(),this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:s}=this;return e?this._direction==="rtl"?s==="start"?"chevrons-left":"chevrons-right":s==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),s=this._renderExpander(),l=this._renderName(),d=this._renderBadge(),o=[s,l,d];return this.expandDirection==="start"&&o.reverse(),n`<div aria-label=${this.label??c} class=${a(e)}>${o}</div>`}_renderExpander(){let e=this._getIcon();return n`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return n`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",s="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,d=this._timeZone===s,o=n`<calcite-label class=${a(r(t.label,(!this.expanded||!d)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=n`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||d)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[o,y]}};u("arcgis-time-zone-label",b);return b},"core/reactiveUtils",b)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import"./ZURQLWM4.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM yyyy",_date_month:"MMM",_date_month_full:"MMM yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import d from"./AZB57AQG.js";import c from"./CVFCAHKM.js";import b from"./NRYEDJ7Y.js";import{f as g}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import"./V5SSJW7Z.js";import{J as h,O as l,i as s,s as a,x as n}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([c,,{a:t},m])=>{var r=s`@layer{arcgis-slider{min-width:200px;min-height:25px}}`,d=m(c),i=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"max-change"),this.arcgisMaxClick=t(()=>this.widget,"max-click"),this.arcgisMinChange=t(()=>this.widget,"min-change"),this.arcgisMinClick=t(()=>this.widget,"min-click"),this.arcgisPropertyChange=g()("state"),this.arcgisReady=a(),this.arcgisSegmentClick=t(()=>this.widget,"segment-click"),this.arcgisSegmentDrag=t(()=>this.widget,"segment-drag"),this.arcgisThumbChange=t(()=>this.widget,"thumb-change"),this.arcgisThumbClick=t(()=>this.widget,"thumb-click"),this.arcgisThumbDrag=t(()=>this.widget,"thumb-drag"),this.arcgisTickClick=t(()=>this.widget,"tick-click"),this.arcgisTrackClick=t(()=>this.widget,"track-click")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=n}static{this.styles=r}async destroy(){await this.manager.destroy()}};l("arcgis-slider",i);return i},"widgets/Slider",b,c,d)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as g}from"./YF73EYR6.js";import{J as x,K as c,M as d,O as f,i as u,j as n,x as h}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{watch:$,whenOnce:b}])=>{var L=u`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`,p="arcgis-print",m={exportedFile:`${p}__exported-file`,exportedFileLinkTitle:`${p}__exported-file-link-title`,exportedFileLinkDescription:`${p}__exported-file-link-description`};function w(l){let{state:e,extension:t}=l;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return t?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}function v(l,e){return!l||l==="all"||!!(e&&l.includes(e))}var k=class extends x{constructor(){super(...arguments),this._handleLinkClick=e=>{if(!e||e.state!=="ready"||!e.url)return;let t=e.url,i=document.createElement("a");i.target="_blank",i.href=t,i.rel="noreferrer",i.download=e.formattedName??"";{i.click();return}}}static{this.properties={saveAsButtonCallback:0,allowedFormatsForSaving:1,exportedLink:0,viewModel:0,messages:0}}static{this.styles=L}static{this.shadowRootOptions=h}loaded(){this.manager.onLifecycle(()=>[$(()=>this.exportedLink.state,()=>this.requestUpdate())])}render(){let{messages:e,exportedLink:t}=this,{error:i,state:o}=t,r;switch(o){case"pending":r=e.pending;break;case"ready":r=e.ready;break;case"error":r=e.errorMessage;break}let a=o==="error"?i?.name==="print-task:cim-symbol-unsupported"?e.exportWebMapCIMError:e.exportWebMapError:"";return n`<calcite-list-item .ariaLabel=${r} title=${a??d}>${this._renderExportedLinkItemContent(t,a)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t,a)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`}_renderExportedLinkItemPopover(e){let t=this.messages,i=e.formattedName??"",{state:o}=e,r=this.saveAsButtonCallback&&o!=="error"&&v(this.allowedFormatsForSaving,e.extension);return o!=="pending"&&r?n`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${i}-popover-button`} scale=s><calcite-list label>${e.portalItem?n`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let a=e.portalItem;if(!a?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=a.itemPageUrl,s.rel="noreferrer",s.click()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:n`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{this.saveAsButtonCallback&&(b(()=>e.portalItem).then(a=>{a.itemPageUrl&&this.requestUpdate()}),await this.saveAsButtonCallback(e))}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${()=>this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}_renderExportedLinkItemContent(e,t){let i=this.messages,{url:o,state:r}=e,a=e.formattedName??"",s=g(o||null,document.location.href);return n`<div class=${c(m.exportedFile)} slot=content @click=${()=>this._handleLinkClick(e)}><div><div class=${c(m.exportedFileLinkTitle)}>${a}</div><div class=${c(m.exportedFileLinkDescription)}>${r==="pending"?i.generatingExport:t||(s?i.ready:i.linkReady)}</div></div>${r==="ready"?n`<calcite-icon .ariaLabel=${`${a}. ${i.linkReady}`} .icon=${s?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?n`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:n`<calcite-icon .icon=${w(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e,t){let{state:i}=e,o=e.formattedName??"",r=this.saveAsButtonCallback&&i!=="error"&&v(this.allowedFormatsForSaving,e.extension);return i!=="pending"?n`<calcite-action .ariaLabel=${t} .icon=${r?"ellipsis":"x"} id=${(r?`${o}-popover-button`:void 0)??d} @click=${r?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${t}></calcite-action>`:null}};f("arcgis-print-exported-link",k);return k},"core/reactiveUtils")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import e from"./DLXVFCRB.js";import{a as _}from"./4PNSNQAQ.js";import{a as f}from"./EHCN64LO.js";import d from"./CVFCAHKM.js";import b from"./NRYEDJ7Y.js";import{f as m}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as g}from"./V5SSJW7Z.js";import{H as h,I as c,J as v,K as a,O as u,i as l,j as i,s,x as n}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([M,{watch:t},,,p])=>{var $=l`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,y="arcgis-video-player",w={base:y,videoView:`${y}__video-view`},b=p(M),o=class extends v{constructor(){super(...arguments),this.messages=_({blocking:!0}),this.viewModel=b(this),this._videoViewRef=h(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,_isLive:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=$}static{this.shadowRootOptions=n}get followingMode(){return this.viewModel.followingMode}set followingMode(e){this.viewModel.followingMode=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:e,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=e/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,e=>{this._videoViewReady=!!e},{initial:!0}),t(()=>this.layer?.title,e=>{this._layerTitle=e??void 0},{initial:!0}),t(()=>this.layer?.isLive,e=>{this._isLive=e??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return i`<div class=${a(g(w.base,f.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:i`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?i`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return i`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${c(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return this._isLive?null:i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,e)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as q}from"./OA6B37D2.js";import{a as R}from"./WOLDHY7N.js";import"./IGJJUQDZ.js";import c from"./DLXVFCRB.js";import{a as O}from"./4PNSNQAQ.js";import{a as T}from"./EHCN64LO.js";import b from"./CVFCAHKM.js";import a from"./NRYEDJ7Y.js";import{f as N}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as E}from"./V5SSJW7Z.js";import{I as p,J as M,K as l,M as v,O as L,i as D,j as r,s as w,w as U,x as A}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([Z,{formatDate:V,convertDateFormatToIntlOptions:H},{isHTTPSProtocol:$,isDataProtocol:x},{watch:S},z,{property:g,subclass:j},,,P])=>{var m="arcgis-bookmarks",y=`${m}__authoring`,C=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${C}-image-container`,bookmarkContent:`${C}-content`,bookmarkContentLabel:`${C}-content-label`,authoring:y,authoringImageContainer:`${y}-image-container`,authoringRefreshThumbnailButton:`${y}-refresh-thumbnail-button`},G=D`@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}}`,J=Object.defineProperty,K=Object.getOwnPropertyDescriptor,h=(n,e,t,i)=>{for(var a=i>1?void 0:i?K(e,t):e,o=n.length-1,s;o>=0;o--)(s=n[o])&&(a=(i?s(e,t,a):s(a))||a);return i&&a&&J(e,t,a),a},u=class extends z{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??($(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(x(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?$(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};h([g()],u.prototype,"bookmark",2);h([g({readOnly:!0})],u.prototype,"editedBookmark",1);h([g()],u.prototype,"_customUrl",2);h([g()],u.prototype,"customUrl",1);h([g()],u.prototype,"_screenshotUrl",2);h([g()],u.prototype,"screenshotUrl",1);h([g()],u.prototype,"state",1);h([g()],u.prototype,"_thumbnailState",2);h([g()],u.prototype,"thumbnailState",1);h([g()],u.prototype,"validationState",2);h([g()],u.prototype,"creatingBookmark",2);u=h([j("UserState")],u);var Q=P(Z),F=class extends M{constructor(){super(...arguments),this._guid=U(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=O({}),this.viewModel=Q(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},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=w(),this.arcgisBookmarkSelect=w(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=w()}static{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}}static{this.styles=G}static{this.shadowRootOptions=A}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),S(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),S(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),S(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),S(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}startAddBookmark(){this._userState=new u({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:a,end:o}=i,s=o!=null&&(a==null||a.getTime()!==o.getTime()),d=a?this._formatDate(a):"",b=a&&!t?this._formatTime(a):"";if(!s)return{startDate:d,startTime:b};let f=this._formatDate(o),k=t?"":this._formatTime(o);return{startDate:d,startTime:b,endDate:f,endTime:k}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,x(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let a={url:i};$(a.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=a)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return V(e,{...H("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return V(e,{...H("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:a,fromEl:o,dragEl:s,newIndex:d}=e;if(!i.length)return;let b=t?.newIndex===d&&t?.dragEl===s&&t?.toEl===a&&t?.fromEl===o;if(!o||!a||b)return;this._lastDragDetail=e;let f=Array.from(o.children).filter(k=>k?.matches("calcite-list-item")).map(k=>k.value);i.sort((k,I)=>{let B=f.indexOf(k.uid),_=f.indexOf(I.uid);return B>_?1:B<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new u({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&($(t)?e.customUrl=t:x(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:a,editedBookmark:o}=t,s=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&a?a:null;this._storeCurrentUrl(),o&&s&&(o.thumbnail={url:s}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:a}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let s=await i.createBookmark();s.name=o,a.add(s),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:a}}=this;await i.editBookmark(e,{...a,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:a,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let s=i?.value.trim();if(!s){t.validationState="name-required";return}if(t.bookmark.name=s,t.bookmark.thumbnail=t.editedBookmark.thumbnail,a||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!$(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:a})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:a}=e;t.insertBefore(i,t.children[a])}render(){return r`<div class=${l(E(c.base,T.widget,{[T.panel]:!this.closed}))}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?r`<div class=${l(c.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${R({class:E(T.heading,c.noBookmarksHeader),level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${l(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:a,disabled:o,filterPlaceholder:s,filterText:d,closed:b,headingLevel:f}=this,k=t.filter(_=>_!=null),I=k.length?r`<calcite-list class=${l(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${s} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${a.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(k)}${this.showFilter?r`<div class=${l(c.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=[r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${b} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?a.componentLabel:void 0} .headingLevel=${f} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${()=>this.closed=!0} ${p(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(k)}${I}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return b?null:this.hideFlow?B:r`<calcite-flow>${B}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:a}}=this,o=this._userCreatingBookmark;return i&&a!=="loading"&&this.showAddBookmarkButton?r`<calcite-fab appearance=outline-fill class=${l(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??v}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?r`<calcite-action appearance=transparent icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??v}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?r`<img alt class=${l(c.bookmarkImage)} src=${e.thumbnail?.url??v}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:a}=e;return i?.timeExtent??a?r`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!a} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:a,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let s=`${t} ${i}`,d=`${a} ${o}`;return a?`${s} - ${d}`:s}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:a,startTime:o,endDate:s,endTime:d}=this._getTimeExtentStrings(e),b=t?null:r`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${s?r`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return a?r`<calcite-table .caption=${i.timeExtent??""} scale=s>${b}<calcite-table-row><calcite-table-cell>${a} ${o?[r`<br>`,o]:null}</calcite-table-cell>${s?r`<calcite-table-cell>${s}${d?[r`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?r`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?r`<calcite-loader class=${l(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?r`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return r`<div class=${l(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return q(e.uid,r`<calcite-list-item class=${l(E({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return r`<div class=${l(c.bookmarkContent)} slot=content><span class=${l(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return r`<calcite-label>${t.title}<calcite-input class=${l(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${p(this._storeEditInput)}></calcite-input>${i?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[r`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,r`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,r`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:a}=e;return t.time&&(i?.timeExtent??a)?r`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",a=$(i)?t==="url":x(i)?t==="screenshot":null;if(a)return this._renderBookmarkImage(e,a)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?r`<div class=${l(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?r`<calcite-button appearance=outline class=${l(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:a}=this,o=e.thumbnail?.url??"",s=$(o)?o:void 0,d=o&&i==="absolute-url-required";return a==="url"?r`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??v} type=text .value=${s} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${p(this._storeUrlEditInput)}></calcite-input>${d?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:r`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${a=>this._handleThumbnailTypeSelect(a.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:a}=this;return e?r`<form class=${l(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${a} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${p(this._storeEditFlowItemNode)}><div class=${l(c.formContent)}><div class=${l(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return r`<calcite-label>${e.title}<calcite-input class=${l(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${p(this._storeAddInput)}></calcite-input>${t?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[r`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,r`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:a}=this;return a==="add"?r`<form class=${l(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${p(this._storeAddFlowItemNode)}><div class=${l(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};L("arcgis-bookmarks",F);return F},"widgets/Bookmarks/BookmarksViewModel","intl","core/urlUtils","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as c}from"./3IXHWZKY.js";import{a as s}from"./ZE5DIYPK.js";import{u as h}from"./ZMIFPURX.js";export default $arcgis.t(([l,{signal:m}])=>{var f=n=>p(n),i=class extends h{#e=m(void 0);#o=void 0;#t=!1;constructor(e){super(e);let{el:t}=e,r=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this.#e.value,set:o=>{if(this.exports===o)return;let a=t.view;this.#e.value=o,this.exports=o,this.component.requestUpdate("view",a),this.#s()},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>r?t.view=r:0)}hostConnected(){this.component.manager.hasDestroy&&(this.#o??=l.when(()=>this.#e.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.onDestroy(()=>this.#o?.remove())),this.component.manager.loadedCalled&&s(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem??=t,this.#t=!0,this.#s(),e.isConnected&&s(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.#e.value?.ui?.remove(this.component.el.childElem)}hostUpdate(e){e.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&s(this.component),e.has("referenceElement")&&s(this.component)}#s(){!this.#t||this.#e.value==null||(this.#t=!1,this.component.arcgisReady.emit())}},p=c(i);return{a:f,b:i}},"core/reactiveUtils","applications/Components/reactiveUtils")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as o}from"./V5SSJW7Z.js";var e=(r,i=100)=>{let t;return(...m)=>{let s=()=>{clearTimeout(t),r(...m)};clearTimeout(t),t=setTimeout(s,i)}};var n=o,u=e;export{n as a,u as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
4
|
var s=["metric","imperial"],r=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],t=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],i=[...s,...t],u=[...s,...r];function l(e,a=!0){return a?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function m(e,a){switch(a.type){case"length":return e.formatLength(a);case"area":return e.formatArea(a);default:return""}}export{i as a,u as b,l as c,m as d};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{A as Da,B as Ea,C as Fa,D as Ga,E as Ha,F as Ia,G as Ja,H as La,I as Ma,J as Na,K as Oa,L as Pa,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as ja,r as ka,s as la,t as ma,u as na,v as qa,w as sa,x as va,y as xa,z as Ca}from"./MFMSQZ6V.js";import{a as $,b as aa,c as wa}from"./TPJ7PZPF.js";import{a as ya}from"./OPG2L3CT.js";import{A as D,C as E,D as F,E as G,F as H,G as I,H as J,I as K,K as L,L as M,M as O,P as fa,Q as ga,R as ha,S as ia,aa as oa,ba as pa,c as r,ca as ra,da as ta,ea as ua,ka as za,la as Aa,ma as Ba,na as Ka,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as A,y as B,z as C}from"./K44JLHYA.js";import{P as o,Q as p,R as q,b as n}from"./FPETWGCF.js";import{a,b,c,d,e}from"./64FX632Q.js";import{D as g,J as h,L as i,M as j,N as k,O as l,P as m,U as z,V,l as f}from"./PN7UOLV7.js";import"./ZURQLWM4.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Ma as CSVParser,X as CanvasLayer,W as CanvasRenderer,za as Chart,ba as Circle,Fa as CirclePattern,q as Color,Ka as ColorSet,ia as Component,L as Container,m as CounterDisposer,ha as DataItem,Na as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,na as EditableLabel,da as Ellipse,y as Entity,ka as Gradient,Da as GrainPattern,E as Graphics,J as GridLayout,ma as HeatLegend,H as HorizontalLayout,N as InterfaceColors,La as JSONParser,ga as JsonData,O as Label,G as Layout,qa as Legend,ra as Line,Ga as LinePattern,la as LinearGradient,fa as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Ia as PathPattern,B as Pattern,Ja as PatternSet,a as Percent,sa as Picture,C as PicturePattern,P as PointedRectangle,ca as Polygon,Ea as RadialGradient,ua as RadialLabel,ta as RadialText,F as Rectangle,Ha as RectanglePattern,Y as Root,$ as RoundedRectangle,wa as Scrollbar,Aa as SerialChart,pa as Series,ya as Slice,xa as Slider,A as Sprite,Oa as SpriteResizer,ea as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ba as Tick,S as Timezone,Q as Tooltip,va as Triangle,I as VerticalLayout,Ca as ZoomTools,ja as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Pa as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,oa as time,f as type,o as utils};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as h}from"./OA6B37D2.js";import j from"./DLXVFCRB.js";import{a as C}from"./4PNSNQAQ.js";import{a as d}from"./EHCN64LO.js";import i from"./CVFCAHKM.js";import e from"./NRYEDJ7Y.js";import{f as w}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import{i as R}from"./ZE5DIYPK.js";import{f}from"./V5SSJW7Z.js";import{I as b,J as v,K as a,L as _,M as c,O as $,i as p,j as o,s as g,x as m}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{watch:M},S,,,y])=>{var x=[-45,0,45,-90,90,-135,180,135],B={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},E=p`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function k(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var N=y(S),u=class extends v{constructor(){super(...arguments),this.messages=C({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=N(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=w()("state"),this.arcgisReady=g()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=m}static{this.styles=E}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?R(this)?.focus():f(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=k(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return h("directional-buttons-container",o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${b(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-bar>`)}_renderButton(t){let{label:e,iconName:i}=B[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${_(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return h("slider-container",o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`)}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};$("arcgis-directional-pad",u);return u},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,i,j)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import"./ZURQLWM4.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n. \u0161t.",_era_bc:"pr. n. \u0161t.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Januar",February:"Februar",March:"Marec",April:"April",May:"Maj",June:"Junij",July:"Julij",August:"Avgust",September:"September",October:"Oktober",November:"November",December:"December",Jan:"Jan",Feb:"Feb",Mar:"Mar",Apr:"Apr","May(short)":"Maj",Jun:"Jun",Jul:"Jul",Aug:"Avg",Sep:"Sep",Oct:"Okt",Nov:"Nov",Dec:"Dec",Sunday:"Nedelja",Monday:"Ponedeljek",Tuesday:"Torek",Wednesday:"Sreda",Thursday:"\u010Cetrtek",Friday:"Petek",Saturday:"Sobota",Sun:"Ned",Mon:"Pon",Tue:"Tor",Wed:"Sre",Thu:"\u010Cet",Fri:"Pet",Sat:"Sob",_dateOrd:function(e){return"."},"Zoom Out":"Oddalji pogled",Play:"Za\u017Eeni",Stop:"Ustavi",Legend:"Legenda","Press ENTER to toggle":"Klikni, tapni ali pritisni ENTER za preklop",Loading:"Nalagam",Home:"Domov",Chart:"Graf","Serial chart":"Serijski graf","X/Y chart":"X/Y graf","Pie chart":"Tortni graf","Gauge chart":"Stev\u010Dni graf","Radar chart":"Radar graf","Sankey diagram":"Sankey diagram","Flow diagram":"Prikaz poteka","Chord diagram":"Kolobarni diagram","TreeMap chart":"Drevesi graf","Sliced chart":"Sliced graf",Series:"Serija","Candlestick Series":"Sve\u010Dna serija","OHLC Series":"OHLC serija","Column Series":"Stolpi\u010Dasta serija","Line Series":"\u010Crtna serija","Pie Slice Series":"Tortna serija","Funnel Series":"Lijak serija","Pyramid Series":"Piramidna serija","X/Y Series":"X/Y serija",Map:"Mapa","Press ENTER to zoom in":"Pritisni ENTER za pribli\u017Eevanje","Press ENTER to zoom out":"Pritisni ENTER za oddaljevanje","Use arrow keys to zoom in and out":"Uporabi smerne tiple za pribli\u017Eevanje in oddaljevanje","Use plus and minus keys on your keyboard to zoom in and out":"Uporabi plus in minus tipke na tipkovnici za pribli\u017Eevanje in oddaljevanje",Export:"Izvozi",Image:"Slika",Data:"Podatki",Print:"Natisni","Press ENTER to open":"Klikni, tapni ali pritisni ENTER da odpre\u0161.","Press ENTER to print.":"Klikni, tapni ali pritisni ENTER za tiskanje.","Press ENTER to export as %1.":"Klikni, tapni ali pritisni ENTER da izvozi\u0161 kot %1.","(Press ESC to close this message)":"(Pritisni ESC da zapre\u0161 to sporo\u010Dilo)","Image Export Complete":"Izvoz slike kon\u010Dan","Export operation took longer than expected. Something might have gone wrong.":"Operacija izvoza je trajala dlje kot pri\u010Dakovano. Nekaj je \u0161lo narobe.","Saved from":"Shranjeno od",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Uporabi TAB za izbiro drsnih gumbov ali levo in desno smerno tipko da spremeni\u0161 izbiro","Use left and right arrows to move selection":"Uporabi levo in desno smerno tipko za premik izbranega","Use left and right arrows to move left selection":"Uporabi levo in desno smerno tipko za premik leve izbire","Use left and right arrows to move right selection":"Uporabi levo in desno smerno tipko za premik desne izbire","Use TAB select grip buttons or up and down arrows to change selection":"Uporabi TAB za izbiro drsnih gumbov ali gor in dol smerno tipko da spremeni\u0161 izbiro","Use up and down arrows to move selection":"Uporabi gor in dol smerne tipke za premik izbire","Use up and down arrows to move lower selection":"Uporabi gor in dol smerne tipke za premik spodnje izbire","Use up and down arrows to move upper selection":"Uporabi gor in dol smerne tipke za premik zgornje izbire","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"Nobenega parserja ni na voljo za datoteko: %1","Error parsing file: %1":"Napaka pri parsanju datoteke: %1","Unable to load file: %1":"Ni mogo\u010De nalo\u017Eiti datoteke: %1","Invalid date":"Neveljaven datum"};export{a as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{A as s,B as i,E as o,n as r}from"./ZMIFPURX.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import c from"./DLXVFCRB.js";import{a as f}from"./4PNSNQAQ.js";import{a as r}from"./EHCN64LO.js";import b from"./CVFCAHKM.js";import a from"./NRYEDJ7Y.js";import{f as w}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as u}from"./V5SSJW7Z.js";import{J as p,K as o,M as m,O as v,i as d,j as e,s as h,x as g}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([T,,{a:s},M])=>{var $=d`@layer{arcgis-track{display:block}}`,D={base:"esri-track"},O=M(T),a=class extends p{constructor(){super(...arguments),this.messages=f(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.rotationDisabled=this.viewModel.rotationEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=s(()=>this.viewModel,"track"),this.arcgisError=s(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=w()("state"),this.arcgisReady=h()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:1,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,rotationDisabled:5,scale:9,state:3,tracking:4}}static{this.shadowRootOptions=g}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",l=this._localizeError(this.viewModel?.error),c=(b?n?.stopTracking:n?.startTracking)??"",k=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${o(u(D.base,r.widget))}>${!k&&e`<calcite-button class=${o(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${c} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${c??m}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};v("arcgis-track",a);return a},"widgets/Track/TrackViewModel",a,b,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as g}from"./UDWSKSBB.js";import h from"./DLXVFCRB.js";import{a as C}from"./4PNSNQAQ.js";import{a as x}from"./EHCN64LO.js";import e from"./CVFCAHKM.js";import c from"./NRYEDJ7Y.js";import{f as $}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as M}from"./V5SSJW7Z.js";import{I as d,J as S,K as a,M as b,O as f,i as m,j as o,o as _,s as v,x as w}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([T,{isAbortError:A},{substitute:D},{watch:E},,{a:l},R])=>{var c="arcgis-search",n={base:c,autocomplete:`${c}__autocomplete`,dropdown:`${c}__dropdown`,container:`${c}__container`,form:`${c}__form`,submitButton:`${c}__submit-button`},I=m`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}}`,N=R(T),p=class extends S{constructor(){super(...arguments),this.viewModel=N(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererContainerEl=document.createElement("div"),this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=C({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=$()("state"),this.arcgisReady=v(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=I}static{this.shadowRootOptions=w}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,i)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=void 0,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>E(()=>this.viewModel?.defaultPopupTemplate,e=>{if(e){let t=document.createElement("div");t.appendChild(this._searchResultRendererContainerEl),e.content=t}},{initial:!0}))}_addSearchResultRenderer(){_(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:r})=>r===s.sourceIndex)?.results?.find(({key:r})=>`${r}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),o`<div class=${a(M(n.base,x.widget))}><div class=${a(n.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:r}=this.viewModel;return i.length>1?o`<calcite-dropdown class=${a(n.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r?this._renderSource(-1):null}${i.map((h,u)=>this._renderSource(u)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:r,searchTerm:h,state:u}=this.viewModel,y=this.label??t.searchButtonTitle??"";return o`<calcite-autocomplete .autocomplete=${"off"} class=${a(n.autocomplete)} .disabled=${s} .icon=${this.icon||!1} .inputValue=${h} .label=${y} .loading=${u==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(h?"":r)??b} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return o`<form class=${a(n.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(n.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,r=e.results?.length,h=t.length>1&&s===-1,u=this._getSourceName(i);return r&&h?o`<calcite-autocomplete-item-group .heading=${u}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return o`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?D(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};f("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,e,h)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{C as c,d as o,fa as R,i as f,k as m}from"./K44JLHYA.js";import{a as d}from"./64FX632Q.js";import{g as h}from"./PN7UOLV7.js";var n=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"iy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_generator",{enumerable:!0,configurable:!0,writable:!0,value:R()})}_getTooltipPoint(){let i=this.get("tooltipX"),t=this.get("tooltipY"),s=0,a=0;h(i)&&(s=i),h(t)&&(a=t);let r=this.get("radius",0),e=this.get("innerRadius",0),l=this.get("dRadius",0),u=this.get("dInnerRadius",0);return r+=l,e+=u,e<0&&(e=r+e),i instanceof d&&(s=this.ix*(e+(r-e)*i.value)),t instanceof d&&(a=this.iy*(e+(r-e)*t.value)),this.get("arc")>=360&&e==0&&(s=0,a=0),{x:s,y:a}}_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("arc")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("dRadius")||this.isDirty("dInnerRadius")||this.isDirty("cornerRadius")||this.isDirty("shiftRadius"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let i=this.get("startAngle",0),t=this.get("arc",0),s=this._generator;t<0&&(i=i+t,t=t*-1),t>.1&&s.cornerRadius(this.get("cornerRadius",0)),s.context(this._display);let a=this.get("radius",0),r=this.get("innerRadius",0),e=this.get("dRadius",0),l=this.get("dInnerRadius",0);a+=e,r+=l,r<0&&(r=a+r),s({innerRadius:r,outerRadius:a,startAngle:(i+90)*o,endAngle:(i+t+90)*o});let u=i+t/2;this.ix=m(u),this.iy=f(u);let g=this.get("shiftRadius",0);this.setRaw("dx",this.ix*g),this.setRaw("dy",this.iy*g),this.markDirtyPosition()}}};Object.defineProperty(n,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slice"});Object.defineProperty(n,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:c.classNames.concat([n.className])});export{n as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{H as u,I as v,J as g,O as $,i as b,j as l,s as p,x as w}from"./ZMIFPURX.js";import"./ZURQLWM4.js";var k=b`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=u(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=p(),this.arcgisCreateVersion=p(),this.arcgisFlowItemBack=p(),this.arcgisFlowItemClose=p()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=w}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:d,isVersionAdministrator:t,serviceUrl:r,versionInfo:a}}=this,{_alterVersionParameters:c,_createVersionParameters:s}=this;switch(i==="create"&&(s||(s={access:"public",description:"",featureServerUrl:r,ownerName:d,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:r,versionIdentifier:a.versionIdentifier,ownerName:h,versionName:m,access:a.access,description:a.description})),e.type){case"calciteChipGroupSelect":{let n=e.target.label,o=e.target.selectedItems[0].label;i==="create"&&(s={...s,[n]:o}),i==="edit"&&(c={...c,[n]:o});break}case"calciteInputTextInput":{let n=e.target.name,o=e.target.value;i==="create"&&(s={...s,[n]:o}),i==="edit"&&(c={...c,[n]:o});break}case"calciteTextAreaInput":{let n=e.target.name,o=e.target.value;i==="create"&&(s={...s,[n]:o}),i==="edit"&&(c={...c,[n]:o});break}}i==="create"&&(s.access!=="public"&&d.toUpperCase()!==s.ownerName?.toUpperCase()&&!t?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=s),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{selected:e,showBackButton:i,versionPropertiesElementProps:{closable:h,currentUser:m,state:d,strings:t,versionInfo:r},_mode:a,_ownerName:c,_versionName:s}=this,n=l`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,o=l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a==="edit"&&r.access==="public"||a==="create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,V=l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a==="edit"?r.description:""}></calcite-text-area></calcite-label>`,f=l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a==="edit"?s:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,I=l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a==="edit"?c:m}></calcite-input-text></calcite-label>`,x=a==="create"?l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return l`<calcite-flow-item .closable=${h} .description=${r?r.versionIdentifier.name:""} .heading=${r?t.actions.editVersion:t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${v(this._flowItemElement)}><calcite-panel .loading=${d==="executing"}><calcite-block .label=${t.headers.versionProperties} open>${f}${V}${o}${I}${x}${n}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{R as e}from"./FPETWGCF.js";import"./64FX632Q.js";import{V as t}from"./PN7UOLV7.js";import"./ZURQLWM4.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as O}from"./ZURQLWM4.js";var m={};O(m,{PLACEHOLDER:()=>ee,PLACEHOLDER2:()=>te,assert:()=>V,getType:()=>C,isArray:()=>Z,isDate:()=>N,isNaN:()=>j,isNumber:()=>p,isObject:()=>E,isString:()=>F,numberToString:()=>X,repeat:()=>P,toDate:()=>W,toNumber:()=>R});function j(s){return Number(s)!==s}function C(s){return{}.toString.call(s)}function V(s,e="Assertion failed"){if(!s)throw new Error(e)}function R(s){if(s!=null&&!p(s)){let e=Number(s);return j(e)&&F(s)&&s!=""&&s.match(/[0-9]+/)?R(s.replace(/[^0-9.\-]+/g,"")):e}return s}function W(s){if(N(s))return new Date(s);if(p(s))return new Date(s);{let e=Number(s);return p(e)?new Date(e):new Date(s)}}function X(s){if(j(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),r=t[1],i=t[2]||"",n;if(t[3]===void 0)n=i===""?r:r+"."+i;else{let o=+t[3];if(s<1){let u=o-1;n="0."+P("0",u)+r+i}else{let u=o-i.length;u===0?n=r+i:u<0?n=r+i.slice(0,u)+"."+i.slice(u):n=r+i+P("0",u)}}return e?"-"+n:n}function P(s,e){return new Array(e+1).join(s)}function N(s){return C(s)==="[object Date]"}function F(s){return typeof s=="string"}function p(s){return typeof s=="number"&&Number(s)==s}function E(s){return typeof s=="object"&&s!==null}function Z(s){return Array.isArray(s)}var ee="__\xA7\xA7\xA7__",te="__\xA7\xA7\xA7\xA7__";var d={};O(d,{add:()=>pe,any:()=>D,copy:()=>be,each:()=>l,eachContinue:()=>ie,eachReverse:()=>re,find:()=>me,findIndex:()=>w,findIndexReverse:()=>z,findMap:()=>we,findReverse:()=>ve,first:()=>ue,getFirstSortedIndex:()=>ye,getSortedIndex:()=>k,has:()=>_e,indexOf:()=>$,insert:()=>T,insertIndex:()=>M,keepIf:()=>Oe,last:()=>oe,map:()=>se,move:()=>ce,pushAll:()=>he,pushOne:()=>ae,remove:()=>v,removeFirst:()=>f,removeIndex:()=>B,replace:()=>de,setIndex:()=>le,shiftLeft:()=>ne,shuffle:()=>xe,slice:()=>ge,toArray:()=>fe});function $(s,e){let t=s.length;for(let r=0;r<t;++r)if(s[r]===e)return r;return-1}function D(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r]))return!0;return!1}function se(s,e){let t=s.length,r=new Array(t);for(let i=0;i<t;++i)r[i]=e(s[i],i);return r}function l(s,e){let t=s.length;for(let r=0;r<t;++r)e(s[r],r)}function re(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function ie(s,e){let t=s.length;for(let r=0;r<t&&e(s[r],r);++r);}function ne(s,e){let t=s.length;for(let r=e;r<t;++r)s[r-e]=s[r];s.length=t-e}function oe(s){let e=s.length;return e?s[e-1]:void 0}function ue(s){return s[0]}function T(s,e,t){t=Math.max(0,Math.min(t,s.length)),s.splice(t,0,e)}function le(s,e,t){v(s,e),T(s,e,t)}function he(s,e){let t=e.length;for(let r=0;r<t;++r)s.push(e[r])}function v(s,e){let t=!1,r=0;for(;;){if(r=s.indexOf(e,r),r===-1)return t;t=!0,s.splice(r,1)}}function f(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function ce(s,e,t){let r=$(s,e);r!==-1&&B(s,r),t==null?s.push(e):M(s,t,e)}function pe(s,e,t){p(t)?t===0?s.unshift(e):s.splice(t,0,e):s.push(e)}function ae(s,e){s.indexOf(e)===-1&&s.push(e)}function de(s,e,t){let r=s.indexOf(e);r!==-1&&s.splice(r,1),p(t)?s.splice(t,0,e):s.push(e)}function fe(s){return Array.isArray(s)?s:[s]}function _e(s,e){return $(s,e)!==-1}function be(s){let e=s.length,t=new Array(e);for(let r=0;r<e;++r)t[r]=s[r];return t}function ge(s,e,t=s.length){let r=new Array(t-e);for(let i=e;i<t;++i)r[i-e]=s[i];return r}function M(s,e,t){s.splice(e,0,t)}function B(s,e){s.splice(e,1)}function w(s,e){let t=s.length;for(let r=0;r<t;++r)if(e(s[r],r))return r;return-1}function z(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function me(s,e){let t=w(s,e);if(t!==-1)return s[t]}function ve(s,e){let t=z(s,e);if(t!==-1)return s[t]}function we(s,e){let t=s.length;for(let r=0;r<t;++r){let i=e(s[r],r);if(i!==void 0)return i}}function xe(s){let e=s.length,t,r;for(;e!==0;)r=Math.floor(Math.random()*e),e-=1,t=s[e],s[e]=s[r],s[r]=t}function k(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:o===0?(i=!0,t=n+1):r=n}return{found:i,index:i?t-1:t}}function ye(s,e){let t=0,r=s.length,i=!1;for(;t<r;){let n=t+r>>1,o=e(s[n]);o<0?t=n+1:(o===0&&(i=!0),r=n)}return{found:i,index:t}}function Oe(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}var Y={};O(Y,{copy:()=>Pe,each:()=>h,eachContinue:()=>je,eachOrdered:()=>Ee,hasKey:()=>K,keys:()=>_,keysOrdered:()=>H,softCopyProperties:()=>$e});function _(s){return Object.keys(s)}function H(s,e){return _(s).sort(e)}function Pe(s){return Object.assign({},s)}function h(s,e){_(s).forEach(t=>{e(t,s[t])})}function je(s,e){for(let t in s)if(K(s,t)&&!e(t,s[t]))break}function Ee(s,e,t){l(H(s,t),r=>{e(r,s[r])})}function K(s,e){return{}.hasOwnProperty.call(s,e)}function $e(s,e){return h(s,(t,r)=>{r!=null&&e[t]==null&&(e[t]=r)}),e}var b=class{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},c=class{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},q=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){l(this._disposers,e=>{e.dispose()})}},a=class extends b{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){l(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}},G=class extends b{constructor(){super(...arguments),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_dispose(){this._disposer!=null&&(this._disposer.dispose(),this._disposer=void 0)}get(){return this._value}set(e,t){this._disposer!=null&&this._disposer.dispose(),this._disposer=t,this._value=e}reset(){this.set(void 0,void 0)}},J=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new c(()=>{--this._counter,this._counter===0&&this.dispose()})}};var x=class{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;let e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{l(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return D(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){let t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,r,i){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(r===void 0||n.callback===r)&&n.context===i&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,r){return w(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===r)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");let t=this._disabled[e];return p(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{l(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(l(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(r=>{!r.killed&&(r.type===null||r.type===e)&&r.dispatch(e,t)})}_on(e,t,r,i,n,o){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,r,i);let u={type:t,callback:r,context:i,shouldClone:n,dispatch:o,killed:!1,once:e,disposer:new c(()=>{u.killed=!0,this._removeListener(u)})};return this._listeners.push(u),u}onAll(e,t,r=!0){return this._on(!1,null,e,t,r,(i,n)=>e.call(t,n)).disposer}on(e,t,r,i=!0){return this._on(!1,e,t,r,i,(n,o)=>t.call(r,o)).disposer}once(e,t,r,i=!0){let n=this._on(!0,e,t,r,i,(o,u)=>{n.disposer.dispose(),t.call(r,u)});return n.disposer}off(e,t,r){this._removeExistingListener(!1,e,t,r)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");let t=[];return l(e._listeners,r=>{!r.killed&&r.shouldClone&&(r.type===null?t.push(this.onAll(r.callback,r.context)):r.once?t.push(this.once(r.type,r.callback,r.context)):t.push(this.on(r.type,r.callback,r.context)))}),new a(t)}};function A(s){h(s,(e,t)=>{E(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}var L=class{constructor(e,t,r){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=r}_dispose(){A(this._settings)}get(e,t){let r=this._settings[e];return r!==void 0?r:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){_(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){h(this._settings,(r,i)=>{!t[r]&&!e._userSettings[r]&&(t[r]=!0,e.setRaw(r,i))})}},S=class{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){h(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){let r=this._states[e];if(r)return r.setAll(t),r;{let i=new L(e,this._template,t);return this._states[e]=i,this._template._stateChanged(e),i}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){h(this._states,(r,i)=>{let n=t.states[r];n==null&&(n=t.states[r]={});let o=e.states.create(r,{});i._apply(o,n)})}},I=class{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let r=this._callbacks[e];return r===void 0&&(r=this._callbacks[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){let t=[];return h(this._callbacks,(r,i)=>{l(i,n=>{t.push(e.adapters.add(r,n))})}),new a(t)}},y=class s{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new S(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new I}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new x}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new s(e,!0)}_dispose(){A(this._settings),A(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();let r=this._settings[e];return r!==void 0?r:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEach(r=>{r._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),h(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();let r=this._privateSettings[e];return r!==void 0?r:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(r=>{r._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),h(e,(t,r)=>{this.set(t,r)})}on(e,t){this._checkDisposed();let r=this._settingEvents[e];return r===void 0&&(r=this._settingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let r=this._privateSettingEvents[e];return r===void 0&&(r=this._privateSettingEvents[e]=[]),r.push(t),new c(()=>{f(r,t),r.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();let r=[];return h(this._settingEvents,(i,n)=>{l(n,o=>{r.push(e.on(i,o))})}),h(this._privateSettingEvents,(i,n)=>{l(n,o=>{r.push(e.onPrivate(i,o))})}),this.states._apply(e,t),r.push(this.adapters._apply(e)),r.push(e.events.copyFrom(this.events)),new a(r)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){v(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}};function g(s,e){return s===e?0:s<e?-1:1}function Q(s,e,t){let r=s.length,i=e.length,n=Math.min(r,i);for(let o=0;o<n;++o){let u=t(s[o],e[o]);if(u!==0)return u}return g(r,i)}function Re(s,e){return s===e?0:s<e?-1:1}var U=class{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){let t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let r=this._rules[e];r||(r=this._rules[e]=[]),t.sort(g);let{index:i,found:n}=k(r,o=>{let u=g(o.tags.length,t.length);return u===0?Q(o.tags,t,g):u});if(n)return r[i].template;{let o=y.new({});return r.splice(i,0,{tags:t,template:o}),o}}rule(e,t=[]){return this.ruleRaw(e,t)}};export{j as a,R as b,W as c,X as d,N as e,F as f,p as g,E as h,Z as i,ee as j,te as k,m as l,$ as m,se as n,l as o,re as p,ie as q,v as r,f as s,ce as t,ae as u,be as v,M as w,B as x,me as y,ve as z,k as A,ye as B,Oe as C,d as D,_ as E,H as F,Pe as G,h as H,je as I,Y as J,b as K,c as L,q as M,a as N,G as O,J as P,x as Q,g as R,Q as S,Re as T,y as U,U as V};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import a from"./CVFCAHKM.js";import"./3IXHWZKY.js";import{e as v,f as l}from"./ZE5DIYPK.js";import{J as w,O as p,i as n,s,x as o}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{watch:r},m,g,{a:e,b:a,f:c}])=>{var d=n`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,y=a(g,{}),u=a(m,{}),h=class extends w{constructor(){super(),this._map=y(this),this.view=u(this),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=s(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,floors:0,focusAreas:0,gamepad:32,graphics:0,ground:1,highlights:0,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:4,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=d}get center(){return this.view.center}set center(i){let t=l(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){i&&!this.extent?.equals(i)&&(this.view.extent=i)}get focusAreas(){return this.map?this.map.focusAreas:{areas:[],style:"bright"}}set focusAreas(i){this.map&&(this.map.focusAreas=i)}get gamepad(){return this.view.input.gamepad}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){c(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async addTable(i){this.map?.tables.add(i)}async addTables(i,t){this.map?.tables.addMany(i,t)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view.goTo(i,t)}async hitTest(i,t){return await this.view.hitTest(i,t)}async openPopup(i){await this.view.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view.whenLayerView(i)}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[r(()=>this.map,i=>{i&&(this._map=i)},{initial:!0,sync:!0}),r(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),r(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}};p("arcgis-map",h);return h},"core/reactiveUtils","views/MapView","WebMap",a)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as E}from"./4PNSNQAQ.js";import{a as r}from"./EHCN64LO.js";import b from"./NRYEDJ7Y.js";import{f as g}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as f,c as h}from"./V5SSJW7Z.js";import{J as u,K as i,M as m,O as d,i as a,j as l,s as o}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{a:p}])=>{var y=a`arcgis-fullscreen{display:block}`,$={base:"esri-fullscreen"};function v(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var c=class extends u{constructor(){super(),this.messages=E(),this.view=p(this),this.position="top-left",this.arcgisPropertyChange=g()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,element:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:35}}static{this.styles=y}get fullscreenTitle(){let e=this.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=v(e),n=h(this.el,t);this.#e=n||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){return this.element??this.view?.container?.parentElement??null}_toggle(){document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen()}render(){let{fullscreenTitle:e,state:t}=this,n=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return l`<div class=${i(f($.base,r.widget))}>${!n&&l`<calcite-button class=${i(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} title=${e??m}></calcite-button>`||""}</div>`}};d("arcgis-fullscreen",c);return c},b)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as s}from"./FZ6LFZG5.js";import{a as y}from"./EHCN64LO.js";import{i as f}from"./ZE5DIYPK.js";import{a as v}from"./V5SSJW7Z.js";import{J as b,K as i,M as l,O as $,P as u,j as r,x as h}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{watch:I}])=>{function S(e){return e.portalItem?.type==="Web Scene"||e.referenceLayers.some(a=>a.type==="scene")}function L(e){return!!e?.portalItem?.tags?.some(a=>a.toLowerCase()==="beta")}var c=class extends b{constructor(){super(...arguments),this._itemState="loading",this._isActive=!1}static{this.properties={_itemState:16,_isActive:16,disabled:5,item:0,itemIndex:9,viewModel:0,messages:0}}static{this.shadowRootOptions=h}loaded(){this.manager.onLifecycle(()=>[I(()=>this.item.state,a=>{this._itemState=a},{sync:!0}),I(()=>this.viewModel.activeBasemap,a=>{this._isActive=this.item.basemap.id===a?.id,this._isActive&&(f(this)?.focus(),this.el.scrollIntoView({block:"nearest"}))},{initial:!0,sync:!0})])}render(){let{disabled:a,item:t,itemIndex:o,viewModel:n,messages:w}=this,_=t.basemap.thumbnailUrl||u("assets/basemap-gallery/images/basemap-toggle-64.svg"),p=t.basemap.title,x=t.basemap.portalItem?.snippet,A=t.error?.message||x||p,{activeBasemapIndex:d}=n,m=d===o,B=m||d===-1&&o===0?0:-1,C={[s.selectedItem]:m,[s.itemError]:t.state==="error"},g=`basemapgallery-item-${t.uid}`;return r`<div .ariaChecked=${m} .ariaDisabled=${a} aria-labelledby=${g??l} class=${i(v(s.item,C))} role=radio tabindex=${B??l} title=${A??l} @click=${()=>{t.state==="ready"&&(n.activeBasemap=t.basemap)}}><img alt class=${i(s.itemThumbnail)} src=${_??l}><div class=${i(s.itemContent)}><div class=${i(s.itemTitle)}><span id=${g??l}>${p}</span></div>${S(t.basemap)?M(t.basemap,w):null}</div>${t.state!=="loading"?null:r`<calcite-scrim><span aria-hidden=true class=${i(y.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}};function M(e,a){return r`<div class=${i(s.itemTagsContainer)}>${D(a)}${L(e)?k(a):null}</div>`}function D(e){return r`<calcite-chip scale=s .label=${e.tag3D}>${e.tag3D}</calcite-chip>`}function k(e){return r`<calcite-chip appearance=outline-fill scale=s .label=${e.tagBeta}>${e.tagBeta}</calcite-chip>`}$("arcgis-basemap-gallery-item",c);return c},"core/reactiveUtils")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{J as o,O as n,i as s,j as t}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([d,{watch:m}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[m(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:i,value:c})=>t`<calcite-list-item .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,v=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?v:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);return a},"Color","core/reactiveUtils")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import"./ZURQLWM4.js";var i={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"MMM dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"m.e.",_era_bc:"p.m.e.",A:"R",P:"V",AM:"ryto",PM:"vakaro","A.M.":"ryto","P.M.":"vakaro",January:"Sausio",February:"Vasario",March:"Kovo",April:"Baland\u017Eio",May:"Gegu\u017E\u0117s",June:"Bir\u017Eelio",July:"Liepos",August:"Rugpj\u016B\u010Dio",September:"Rugs\u0117jo",October:"Spalio",November:"Lapkri\u010Dio",December:"Gruod\u017Eio",Jan:"Sau",Feb:"Vas",Mar:"Kov",Apr:"Bal","May(short)":"Geg",Jun:"Bir",Jul:"Lie",Aug:"Rgp",Sep:"Rgs",Oct:"Spa",Nov:"Lap",Dec:"Gru",Sunday:"sekmadienis",Monday:"pirmadienis",Tuesday:"antradienis",Wednesday:"tre\u010Diadienis",Thursday:"ketvirtadienis",Friday:"penktadienis",Saturday:"\u0161e\u0161tadienis",Sun:"sekm.",Mon:"pirm.",Tue:"antr.",Wed:"tre\u010D.",Thu:"ketv.",Fri:"penk.",Sat:"\u0161e\u0161t.",_dateOrd:function(a){return"-a"},"Zoom Out":"Rodyti visk\u0105",Play:"Paleisti",Stop:"Sustabdyti",Legend:"Legenda","Press ENTER to toggle":"Spragtelkite, palieskite arba spauskite ENTER, kad perjungtum\u0117te",Loading:"Kraunama",Home:"Prad\u017Eia",Chart:"Grafikas","Serial chart":"Serijinis grafikas","X/Y chart":"X/Y grafikas","Pie chart":"Pyrago tipo grafikas","Gauge chart":"Daviklio tipo grafikas","Radar chart":"Radaro tipo grafikas","Sankey diagram":"Sankey diagrama","Chord diagram":"Chord diagrama","Flow diagram":"Flow diagrama","TreeMap chart":"TreeMap grafikas",Series:"Serija","Candlestick Series":'"Candlestick" tipo grafiko serija',"Column Series":"Stulpelinio grafiko serija","Line Series":"Linijinio grafiko serija","Pie Slice Series":"Pyrago tipo serija","X/Y Series":"X/Y serija",Map:"\u017Dem\u0117lapis","Press ENTER to zoom in":"Spauskite ENTER, kad pritrauktum\u0117te vaizd\u0105","Press ENTER to zoom out":"Spauskite ENTER, kad atitolintum\u0117te vaizd\u0105","Use arrow keys to zoom in and out":"Naudokit\u0117s roykl\u0117mis vaizdo pritraukimui ar atitolinimui","Use plus and minus keys on your keyboard to zoom in and out":"Spauskite pliuso arba minuso klavi\u0161us ant klaviat\u016Bros, kad pritrautum\u0117te arba atitolintum\u0117te vaizd\u0105",Export:"Eksportuoti",Image:"Vaizdas",Data:"Duomenys",Print:"Spausdinti","Press ENTER to open":"Spragtelkite arba spauskite ENTER, kad atidarytum\u0117te","Press ENTER to print.":"Spragtelkite arba spauskite ENTER, kad spausdintum\u0117te.","Press ENTER to export as %1.":"Spragtelkite arba spauskite ENTER, kad eksportuotum\u0117te kaip %1.","Image Export Complete":"Paveiksliuko eksportas baigtas","Export operation took longer than expected. Something might have gone wrong.":"Eksportas u\u017Etruko ilgiau negu tur\u0117t\u0173. Grei\u010Diausiai \u012Fvyko klaida.","Saved from":"I\u0161saugota i\u0161",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Spauskite TAB klavi\u0161\u0105, kad pasirinktum\u0117te \u017Eymeklius, arba kair\u0117/de\u0161in\u0117 klavi\u0161us, kad pakeistum\u0117te pasirinkim\u0105","Use left and right arrows to move selection":"Naudokit\u0117s klavi\u0161ais kair\u0117/de\u0161in\u0117, kad pajudintum\u0117te pasirinkim\u0105","Use left and right arrows to move left selection":"Naudokit\u0117s klavi\u0161ais kair\u0117/de\u0161in\u0117, kad pajudintum\u0117te kair\u012F \u017Eymekl\u012F","Use left and right arrows to move right selection":"Naudokit\u0117s klavi\u0161ais kair\u0117/de\u0161in\u0117, kad pajudintum\u0117te de\u0161in\u012F \u017Eymekl\u012F","Use TAB select grip buttons or up and down arrows to change selection":"Spauskite TAB klavi\u0161\u0105, kad pasirinktum\u0117te \u017Eymeklius, arba auk\u0161tyn/\u017Eemyn klavi\u0161us, kad pakeistum\u0117te pasirinkim\u0105","Use up and down arrows to move selection":"Naudokit\u0117s klavi\u0161ais auk\u0161tyn/\u017Eemyn, kad pajudintum\u0117te pasirinkim\u0105","Use up and down arrows to move lower selection":"Naudokit\u0117s klavi\u0161ais auk\u0161tyn/\u017Eemyn, kad pajudintum\u0117te apatin\u012F \u017Eymekl\u012F","Use up and down arrows to move upper selection":"Naudokit\u0117s klavi\u0161ais auk\u0161tyn/\u017Eemyn, kad pajudintum\u0117te vir\u0161utin\u012F \u017Eymekl\u012F","From %1 to %2":"Nuo %1 iki %2","From %1":"Nuo %1","To %1":"Iki %1","No parser available for file: %1":"Failui %1 neturime tinkamo de\u0161ifruotojo","Error parsing file: %1":"Skaitant fail\u0105 %1 \u012Fvyko klaida","Unable to load file: %1":"Nepavyko u\u017Ekrauti failo %1","Invalid date":"Klaidinga data"};export{i as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import f from"./DLXVFCRB.js";import{a as u}from"./4PNSNQAQ.js";import{a as i}from"./EHCN64LO.js";import b from"./CVFCAHKM.js";import a from"./NRYEDJ7Y.js";import{f as g}from"./QQAFAKII.js";import"./3IXHWZKY.js";import"./UC7BSHRN.js";import"./ZE5DIYPK.js";import{a as p}from"./V5SSJW7Z.js";import{J as d,K as s,L as h,M as e,O as m,i as r,j as n,s as c,x as l}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([$,,,v])=>{var b=r`@layer{arcgis-compass{display:block}}`,f="esri-compass",y={base:f,iconContainer:`${f}__icon-container`},C=v($),o=class extends d{constructor(){super(...arguments),this.messages=u(),this.viewModel=C(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=g()("state","orientation"),this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=b}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(t){this._icon=t}async destroy(){await this.manager.destroy()}async reset(){this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:t,icon:w}=this;return n`<div class=${s(p(y.base,i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset??e}><div aria-hidden=true class=${s(y.iconContainer)} title=${t.reset??e}><calcite-icon .icon=${w} style=${h(M(this.orientation))}></calcite-icon></div></calcite-button></div>`}},M=a=>({transform:`rotateZ(${a.z}deg)`});m("arcgis-compass",o);return o},"widgets/Compass/CompassViewModel",a,b,f)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{J as r,K as a,O as l,i as c,j as s}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{watch:n}])=>{var h=c`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`,o="arcgis-metadata-table",t={table:o,row:`${o}__row`,data:`${o}__data`,emptyState:`${o}__empty-state`},d=class extends r{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.state,i=>{this._disabled=i==="not-ready"||i==="waiting"},{initial:!0}),n(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:i}=this.viewModel;if(this._hasMetadata=!!i,!this._hasMetadata)return;let{missionInfo:e,platformInfo:m,frameInfo:f}=i;this._missionInfo=e,this._platformInfo=m,this._frameInfo=f},{initial:!0})])}render(){let{messages:i}=this;return this._disabled||!this._hasMetadata?s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>`:s`<calcite-block .heading=${i.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};l("arcgis-video-player-metadata",d);return d},"core/reactiveUtils")
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as x}from"./3IXHWZKY.js";import{a as O,b as k}from"./UC7BSHRN.js";import{b as P,e as L}from"./V5SSJW7Z.js";import{a as f,c as v,d as g,e as y,f as b,r as E,t as C}from"./ZMIFPURX.js";var u=o=>_(void 0,o),X=o=>s=>_(s,o),h=class extends C{constructor(s,t){super(s);let e=this.exports;try{v(this.component);let r=t(this.component,this),n=this.exports!==e;if(f(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},_=x(h);var Y=o=>(...s)=>{let t=b(),e=new o(...s);return y(t.at(-1)),e},Z=o=>u((s,t)=>{let e=globalThis.matchMedia(o),r=()=>{t.exports=e.matches};r(),t.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),w="ltr",ee=()=>u((o,s)=>{s.exports=w,s.onLifecycle(()=>{let t=()=>{let e=L(o.el,"dir",w);s.exports=e==="rtl"?"rtl":"ltr"};return t(),P(o.el,["dir"],t)})}),te=o=>(s={})=>u((t,e)=>{let r=O(t.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;e.onLifecycle(()=>k(t.el,()=>o("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let d={...l,_lang:p,_t9nLocale:c,_loading:!1};e.exports=d;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},s.name));let i=c=>{let l=e.exports,p=l._original??l,d=N(p,c);c&&(d._original=p),e.exports=d};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),N=(o,s)=>{if(!s)return o;let t={...o};return Object.entries(s).forEach(([e,r])=>{typeof r=="object"?t[e]=N(o[e],r):t[e]=r??o[e]}),t},re=o=>D,M="arcgisPropertyChange",D=(...o)=>{let s=g(),t=E(M,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of o)r.has(n)&&t.emit({name:n})}),t};export{X as a,Y as b,Z as c,ee as d,te as e,re as f};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.80 */
|
|
4
|
+
import{a as N,b as F}from"./NT4DIRVB.js";import"./YF73EYR6.js";import a from"./JFIMNNLR.js";import{a as M}from"./OA6B37D2.js";import"./UC7BSHRN.js";import"./V5SSJW7Z.js";import{I as f,J as B,K as h,O as V,i as j,j as l,o as O,x as k}from"./ZMIFPURX.js";import"./ZURQLWM4.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:T},{isRelatableFeatureSupportedLayer:X,findRelatedLayer:Y},{substitute:ee,formatNumber:Z},{watch:w,on:te},W,z,{ignoreAbortErrors:S},re,{g:H}])=>{var ie=j`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,se=m=>{let e=[];if(m.formTemplate){let{description:t,title:r}=m.formTemplate;m.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},x=100,v="arcgis-feature",p=`${v}-relationship`,u={base:p,listContainer:`${p}__list`,listItem:`${p}__list-item`,listItemHidden:`${p}__list-item--hidden`,listContainerQuerying:`${p}__list--querying`,featureObserver:`${v}__feature-observer`,stickySpinnerContainer:`${v}__sticky-loading-container`,loadingSpinnerContainer:`${v}__loading-container`},D=class extends B{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await S(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await S(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await S(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=F(this._queryController,x),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,x),this._queryPageDebounced=F(this._queryPageController,x),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new W,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new W,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ie}static{this.shadowRootOptions=k}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&X(e.parent)?e.parent:e;return Y(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return ee(e?.numberRecords??"",{number:Z(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[w(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),w(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),w(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),w(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),te(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:I}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:q}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:R}=await q({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),L=R.map(({count:c,value:g})=>{let C=t.subtypes?.find(P=>P.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=L}return}let{historicMoment:b,gdbVersion:$}=e,A=new z({cacheHint:I,gdbVersion:$,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),y=await e.queryRelatedFeaturesCount(A,{signal:r?.signal});this.allCategories=void 0,this.featureCount=y[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:I,showAllEnabled:b,supportsCacheHint:$}=this,{canQuery:A,objectId:y}=this;if(!A||!a||!o||y==null)return[];let q=b?((i-1)*s+r)%r:0,R=b?s:t,L=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...se(o),..._,L,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:P,gdbVersion:G}=a,J=new z({orderByFields:C,start:q,num:R,outFields:g,cacheHint:$,historicMoment:P,gdbVersion:G,relationshipId:I,returnGeometry:!1,objectIds:[y],where:this._getRelationshipWhereClause(o)}),E=(await a.queryRelatedFeatures(J,{signal:e?.signal}))[y]?.features||[];return o.type==="subtype-group"&&c?E.forEach(d=>{let U=d.attributes[c],Q=o.findSublayerForSubtypeCode?.(U);d.sourceLayer=Q,d.layer=Q}):E.forEach(d=>{d.sourceLayer=o,d.layer=o}),E}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&O(M(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){O(M(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new re({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=Z(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(N(u.listItem,{[u.listItemHidden]:a}))} .description=${T(s.toString())} .label=${T(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(N(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};V("arcgis-feature-relationship",D);return D},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
|