@arcgis/map-components 4.34.0-next.8 → 4.34.0-next.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/22SKGKLB.js +4 -0
- package/dist/cdn/233URIFY.js +4 -0
- package/dist/cdn/27XJRIRJ.js +4 -0
- package/dist/cdn/2DFBRNUL.js +4 -0
- package/dist/cdn/2DYGWQK7.js +4 -0
- package/dist/cdn/2LYQBB22.js +4 -0
- package/dist/cdn/2QQDK63E.js +4 -0
- package/dist/cdn/2TQ37QPW.js +4 -0
- package/dist/cdn/3IXHWZKY.js +4 -0
- package/dist/cdn/3SM2JBDR.js +4 -0
- package/dist/cdn/4MZ5TXBY.js +4 -0
- package/dist/cdn/{PRI3F4JY.js → 4PNSNQAQ.js} +2 -2
- package/dist/cdn/4ULD7JOH.js +4 -0
- package/dist/cdn/57NW4JLD.js +4 -0
- package/dist/cdn/5ADM3XVW.js +4 -0
- package/dist/cdn/5O7OCBFC.js +4 -0
- package/dist/cdn/5POGMZHK.js +4 -0
- package/dist/cdn/5SJ534A3.js +4 -0
- package/dist/cdn/64FX632Q.js +4 -0
- package/dist/cdn/6CJCKCYO.js +4 -0
- package/dist/cdn/6JORGHOD.js +4 -0
- package/dist/cdn/6KL2XALE.js +4 -0
- package/dist/cdn/6VQOTE3L.js +4 -0
- package/dist/cdn/72PMMDXS.js +4 -0
- package/dist/cdn/7GBQJCSF.js +4 -0
- package/dist/cdn/7IZMEQLG.js +4 -0
- package/dist/cdn/7JCQEIUS.js +4 -0
- package/dist/cdn/7N7P6DN4.js +4 -0
- package/dist/cdn/7OGL22WY.js +4 -0
- package/dist/cdn/7XNF2L3V.js +4 -0
- package/dist/cdn/7YTA4R2K.js +4 -0
- package/dist/cdn/A5QQ5NOY.js +4 -0
- package/dist/cdn/AHFZLN2V.js +4 -0
- package/dist/cdn/AHMN7O6V.js +4 -0
- package/dist/cdn/AN7DOU2U.js +4 -0
- package/dist/cdn/ARP4PR2F.js +4 -0
- package/dist/cdn/AV2PBT6K.js +4 -0
- package/dist/cdn/{YLPU64QT.js → AZB57AQG.js} +2 -2
- package/dist/cdn/B27ZOLW7.js +4 -0
- package/dist/cdn/BAZ6UJU5.js +4 -0
- package/dist/cdn/{F4R4AZMX.js → BLIGAMZF.js} +2 -2
- package/dist/cdn/{GIDFUOKW.js → BTJ5EVWB.js} +2 -2
- package/dist/cdn/BVH6ZDHV.js +4 -0
- package/dist/cdn/{MYW7GAD7.js → BYUSE75Q.js} +2 -2
- package/dist/cdn/CJSKO6ID.js +4 -0
- package/dist/cdn/CLSQAPWU.js +4 -0
- package/dist/cdn/CNCRA26T.js +4 -0
- package/dist/cdn/CQS5H665.js +4 -0
- package/dist/cdn/CVFCAHKM.js +4 -0
- package/dist/cdn/DGOL7UL7.js +4 -0
- package/dist/cdn/{MR2LMEXV.js → DLXVFCRB.js} +2 -2
- package/dist/cdn/DSQL2LO4.js +4 -0
- package/dist/cdn/DTAPDUHW.js +4 -0
- package/dist/cdn/DTJZ3BG4.js +4 -0
- package/dist/cdn/DXQUQPVN.js +4 -0
- package/dist/cdn/DYRZR4UI.js +4 -0
- package/dist/cdn/DZCIXVDZ.js +4 -0
- package/dist/cdn/{PI7H5GRX.js → EHCN64LO.js} +1 -1
- package/dist/cdn/ERWAFFXT.js +4 -0
- package/dist/cdn/F5XXSOOL.js +4 -0
- package/dist/cdn/F6E53PUZ.js +4 -0
- package/dist/cdn/FPETWGCF.js +4 -0
- package/dist/cdn/{X7BQVP4K.js → FZ6LFZG5.js} +1 -1
- package/dist/cdn/G6OJ6DI5.js +4 -0
- package/dist/cdn/GB3ENHBV.js +4 -0
- package/dist/cdn/GEVDJXDT.js +4 -0
- package/dist/cdn/GJTC5J3P.js +4 -0
- package/dist/cdn/GUQATG65.js +4 -0
- package/dist/cdn/GWEZ7YO6.js +4 -0
- package/dist/cdn/GX4C4AXU.js +4 -0
- package/dist/cdn/H4RB43VA.js +4 -0
- package/dist/cdn/H646QUSZ.js +4 -0
- package/dist/cdn/H6UHXOXP.js +4 -0
- package/dist/cdn/I464S5CY.js +4 -0
- package/dist/cdn/IBSN7VKF.js +4 -0
- package/dist/cdn/{ILNZINO3.js → IGJJUQDZ.js} +2 -2
- package/dist/cdn/IKAXVMO3.js +4 -0
- package/dist/cdn/JFIMNNLR.js +4 -0
- package/dist/cdn/JJPVQ5DS.js +4 -0
- package/dist/cdn/JKPT7PYS.js +4 -0
- package/dist/cdn/JKXSM4JH.js +4 -0
- package/dist/cdn/JO2WLXYR.js +4 -0
- package/dist/cdn/JRPHCVPU.js +4 -0
- package/dist/cdn/K44JLHYA.js +4 -0
- package/dist/cdn/LBXNWAWW.js +4 -0
- package/dist/cdn/LCCORJ7O.js +4 -0
- package/dist/cdn/LCO33IBK.js +4 -0
- package/dist/cdn/LCXY2VDU.js +4 -0
- package/dist/cdn/LOIVTMWU.js +4 -0
- package/dist/cdn/LQLVZIQH.js +4 -0
- package/dist/cdn/{GYVHCFLW.js → LS5DTKY6.js} +1 -1
- package/dist/cdn/LVIIUVA3.js +4 -0
- package/dist/cdn/M2HBRROE.js +4 -0
- package/dist/cdn/MFMSQZ6V.js +4 -0
- package/dist/cdn/MHP4SGNE.js +4 -0
- package/dist/cdn/MOBSBKTH.js +4 -0
- package/dist/cdn/MTN2HN6F.js +4 -0
- package/dist/cdn/MWMZQVBE.js +4 -0
- package/dist/cdn/N5E3YC6G.js +4 -0
- package/dist/cdn/NDL4HQHN.js +4 -0
- package/dist/cdn/NHHAPANB.js +4 -0
- package/dist/cdn/NKFJZMJ3.js +4 -0
- package/dist/cdn/NKT3VUR4.js +4 -0
- package/dist/cdn/NQALMQIJ.js +4 -0
- package/dist/cdn/{RVL24YAQ.js → NRYEDJ7Y.js} +2 -2
- package/dist/cdn/NT4DIRVB.js +4 -0
- package/dist/cdn/{DVAYIM4A.js → NWUFD44V.js} +1 -1
- package/dist/cdn/NZYH3ELM.js +4 -0
- package/dist/cdn/O2KAMKVW.js +4 -0
- package/dist/cdn/O5GWOCBT.js +4 -0
- package/dist/cdn/{656YU7YM.js → OA6B37D2.js} +2 -2
- package/dist/cdn/OC2DDAZC.js +4 -0
- package/dist/cdn/OHSGTOFY.js +4 -0
- package/dist/cdn/OPG2L3CT.js +4 -0
- package/dist/cdn/OVTIGZQE.js +4 -0
- package/dist/cdn/PFPG5CNY.js +4 -0
- package/dist/cdn/PN7UOLV7.js +4 -0
- package/dist/cdn/Q65N5CN6.js +4 -0
- package/dist/cdn/QBUDJD6Y.js +4 -0
- package/dist/cdn/QBZ5KOKG.js +4 -0
- package/dist/cdn/QDXHRXKD.js +4 -0
- package/dist/cdn/QGDDWB5U.js +4 -0
- package/dist/cdn/QMZAY7JI.js +4 -0
- package/dist/cdn/QNJGJXB2.js +4 -0
- package/dist/cdn/QQAFAKII.js +4 -0
- package/dist/cdn/QQPLEUPN.js +4 -0
- package/dist/cdn/QRXUHH26.js +4 -0
- package/dist/cdn/R47D525N.js +4 -0
- package/dist/cdn/RGL4RA46.js +4 -0
- package/dist/cdn/RGQDG6B5.js +4 -0
- package/dist/cdn/RIGCGH73.js +4 -0
- package/dist/cdn/RL3UAW4X.js +4 -0
- package/dist/cdn/RRRAIDTT.js +4 -0
- package/dist/cdn/{4C2AMRV3.js → RS7VXL66.js} +2 -2
- package/dist/cdn/RSD24NHT.js +4 -0
- package/dist/cdn/RT4QMKXX.js +4 -0
- package/dist/cdn/SC6EL6Z7.js +4 -0
- package/dist/cdn/SVCYER2F.js +4 -0
- package/dist/cdn/SWAJD53W.js +4 -0
- package/dist/cdn/T56VDKZF.js +4 -0
- package/dist/cdn/TADTT677.js +4 -0
- package/dist/cdn/TEHGILTQ.js +4 -0
- package/dist/cdn/TPJ7PZPF.js +4 -0
- package/dist/cdn/UC7BSHRN.js +4 -0
- package/dist/cdn/{VTS7NWDH.js → UDWSKSBB.js} +1 -1
- package/dist/cdn/UEVOEUQ5.js +4 -0
- package/dist/cdn/UJELUCNF.js +4 -0
- package/dist/cdn/{IEE3ZBWU.js → UYJTP7GN.js} +2 -2
- package/dist/cdn/V4RM35JA.js +4 -0
- package/dist/cdn/V5SSJW7Z.js +4 -0
- package/dist/cdn/VFA3VGYG.js +4 -0
- package/dist/cdn/VNIHSYLT.js +4 -0
- package/dist/cdn/VNJHG6HS.js +4 -0
- package/dist/cdn/VT4AKPRB.js +4 -0
- package/dist/cdn/VWHVAW4I.js +4 -0
- package/dist/cdn/VYFQXRPK.js +5 -0
- package/dist/cdn/VYS43LKS.js +4 -0
- package/dist/cdn/W3MH6QK6.js +4 -0
- package/dist/cdn/W4F44VZT.js +4 -0
- package/dist/cdn/W4YE3UBC.js +4 -0
- package/dist/cdn/W5J6NT43.js +4 -0
- package/dist/cdn/W7LYTQYL.js +4 -0
- package/dist/cdn/{V6KYONBE.js → WDTQJOIG.js} +1 -1
- package/dist/cdn/WOLDHY7N.js +4 -0
- package/dist/cdn/XEKBIJXI.js +4 -0
- package/dist/cdn/{5WAM5HGJ.js → XENCWV4A.js} +2 -2
- package/dist/cdn/XLTIGJ3L.js +4 -0
- package/dist/cdn/XQZ4VQIX.js +4 -0
- package/dist/cdn/XT3IGFX3.js +4 -0
- package/dist/cdn/Y4NLR3CM.js +4 -0
- package/dist/cdn/Y6CYSR2G.js +4 -0
- package/dist/cdn/YBQT27HX.js +4 -0
- package/dist/cdn/YF73EYR6.js +4 -0
- package/dist/cdn/YHZIHGF3.js +4 -0
- package/dist/cdn/YIRDCYKZ.js +4 -0
- package/dist/cdn/YIXEFCYL.js +4 -0
- package/dist/cdn/YLKFJWMR.js +4 -0
- package/dist/cdn/YXPVLCKH.js +4 -0
- package/dist/cdn/ZAL3GTG7.js +4 -0
- package/dist/cdn/{OM2N2SN3.js → ZE5DIYPK.js} +1 -1
- package/dist/cdn/ZFWAC4IW.js +4 -0
- package/dist/cdn/ZL2RM62L.js +4 -0
- package/dist/cdn/ZMIFPURX.js +6 -0
- package/dist/cdn/ZOG3FT6C.js +4 -0
- package/dist/cdn/ZURQLWM4.js +4 -0
- package/dist/cdn/ZWVEO6UF.js +4 -0
- package/dist/cdn/ZWWUDLOR.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/index.js +17 -0
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +33 -25
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +394 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.d.ts +40 -29
- package/dist/components/arcgis-search/customElement.js +38 -34
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +43 -34
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +30 -19
- package/dist/components/arcgis-video-player-action-bar/index.d.ts +1 -0
- package/dist/components/arcgis-video-player-action-bar/index.js +1 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +18 -15
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +56 -5
- package/dist/components/arcgis-weather/customElement.js +60 -65
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3625 -1098
- package/dist/docs/docs.json +2525 -713
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1075 -487
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/2EL47YSQ.js +0 -4
- package/dist/cdn/2FWGOWFO.js +0 -4
- package/dist/cdn/2SULQ4KK.js +0 -4
- package/dist/cdn/3HSBCQKG.js +0 -4
- package/dist/cdn/4LS5QGQY.js +0 -4
- package/dist/cdn/4RPSRSY4.js +0 -4
- package/dist/cdn/4ZBYDBG2.js +0 -4
- package/dist/cdn/5C3EOKNR.js +0 -4
- package/dist/cdn/5ENOXTFZ.js +0 -4
- package/dist/cdn/5HFZPYQ3.js +0 -4
- package/dist/cdn/65FZ5SI5.js +0 -4
- package/dist/cdn/6OHNJ5KH.js +0 -4
- package/dist/cdn/6ZFIJSJE.js +0 -4
- package/dist/cdn/75Y5MUUW.js +0 -4
- package/dist/cdn/7HHVU46D.js +0 -4
- package/dist/cdn/7IUDGNHM.js +0 -4
- package/dist/cdn/7KFXGXRZ.js +0 -4
- package/dist/cdn/7TIBJRHQ.js +0 -4
- package/dist/cdn/7TOSFZBH.js +0 -4
- package/dist/cdn/AFQ3CNBA.js +0 -4
- package/dist/cdn/AGICPYUS.js +0 -4
- package/dist/cdn/APMFVINZ.js +0 -4
- package/dist/cdn/AXVNVZYY.js +0 -4
- package/dist/cdn/BH472V6R.js +0 -4
- package/dist/cdn/BSVQ73BN.js +0 -4
- package/dist/cdn/BXOEGYMC.js +0 -4
- package/dist/cdn/CORDNDJ7.js +0 -4
- package/dist/cdn/CYEXPOL6.js +0 -4
- package/dist/cdn/D3MRITGJ.js +0 -4
- package/dist/cdn/DJPZ44PI.js +0 -4
- package/dist/cdn/DMRETXSG.js +0 -4
- package/dist/cdn/DXY5GBKD.js +0 -6
- package/dist/cdn/E4JWST54.js +0 -4
- package/dist/cdn/E7DAI2OU.js +0 -4
- package/dist/cdn/F4IQXJLJ.js +0 -4
- package/dist/cdn/FCSFUTXJ.js +0 -4
- package/dist/cdn/FDHW3VRA.js +0 -4
- package/dist/cdn/FG7KDZIB.js +0 -4
- package/dist/cdn/FNLXG2W3.js +0 -4
- package/dist/cdn/G3QSNGGG.js +0 -4
- package/dist/cdn/GDWNN6TE.js +0 -4
- package/dist/cdn/GNJ4YNM2.js +0 -4
- package/dist/cdn/GOQV4ZD3.js +0 -4
- package/dist/cdn/HPUACRYC.js +0 -4
- package/dist/cdn/IBNTS6PG.js +0 -4
- package/dist/cdn/IE44CEMQ.js +0 -4
- package/dist/cdn/IL6WFIVO.js +0 -4
- package/dist/cdn/IRIDLSO3.js +0 -4
- package/dist/cdn/KB4RHIMM.js +0 -4
- package/dist/cdn/KNM2L55W.js +0 -4
- package/dist/cdn/L7WHPL3W.js +0 -4
- package/dist/cdn/MKPFXZNG.js +0 -4
- package/dist/cdn/MNRK63NF.js +0 -4
- package/dist/cdn/NAE6KF2V.js +0 -4
- package/dist/cdn/NKEGBDR7.js +0 -4
- package/dist/cdn/NMSW7IAE.js +0 -4
- package/dist/cdn/NRBNSX33.js +0 -4
- package/dist/cdn/OMWLA2K3.js +0 -4
- package/dist/cdn/ON2T4CBB.js +0 -4
- package/dist/cdn/ORMFB243.js +0 -4
- package/dist/cdn/OS7FSXE7.js +0 -4
- package/dist/cdn/OSXV6FXE.js +0 -4
- package/dist/cdn/OZKMAP4Z.js +0 -4
- package/dist/cdn/PIMX4X2G.js +0 -4
- package/dist/cdn/PISMFJUF.js +0 -4
- package/dist/cdn/PNHC4QAI.js +0 -4
- package/dist/cdn/PUSKMZOI.js +0 -4
- package/dist/cdn/PVE4KHDN.js +0 -4
- package/dist/cdn/Q643CZCT.js +0 -4
- package/dist/cdn/RPGEPAXC.js +0 -4
- package/dist/cdn/RSGPVWZC.js +0 -4
- package/dist/cdn/RVKZRZ5X.js +0 -4
- package/dist/cdn/RXJDYF45.js +0 -4
- package/dist/cdn/SN3TAFJA.js +0 -4
- package/dist/cdn/SUJ27253.js +0 -4
- package/dist/cdn/T7MQ5OG2.js +0 -4
- package/dist/cdn/TGAS4E4A.js +0 -4
- package/dist/cdn/TM7AOMFK.js +0 -4
- package/dist/cdn/TU3PDRR3.js +0 -4
- package/dist/cdn/TYGNKCZM.js +0 -4
- package/dist/cdn/U3A4L666.js +0 -4
- package/dist/cdn/U7JHAHCD.js +0 -4
- package/dist/cdn/UIWYLDIB.js +0 -4
- package/dist/cdn/VLYOEVJO.js +0 -4
- package/dist/cdn/WD7GKYC5.js +0 -4
- package/dist/cdn/WGLKRGHM.js +0 -4
- package/dist/cdn/WVMLI2M4.js +0 -4
- package/dist/cdn/WZVHCVXT.js +0 -4
- package/dist/cdn/X3ZXNMN7.js +0 -4
- package/dist/cdn/XHGDPFLO.js +0 -4
- package/dist/cdn/Y4PEPRXU.js +0 -4
- package/dist/cdn/Y4VFLWWQ.js +0 -4
- package/dist/cdn/Y57F7DDG.js +0 -4
- package/dist/cdn/YWOGURYY.js +0 -4
- package/dist/cdn/YZTG72SZ.js +0 -4
- package/dist/cdn/Z73JMBNO.js +0 -4
- package/dist/cdn/ZGVWKWHA.js +0 -4
- package/dist/cdn/ZID6LZJO.js +0 -4
- package/dist/cdn/ZLQ4G2XR.js +0 -4
- package/dist/cdn/ZXKHLRKF.js +0 -4
|
@@ -1,40 +1,227 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { c as M } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as _, html as n } from "lit";
|
|
3
|
+
import C from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
4
|
+
import { g as b } from "../../chunks/globalCss.js";
|
|
5
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
6
|
+
import { H as I } from "../../chunks/heading.js";
|
|
7
|
+
import { classes as y } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { usePropertyChange as L } from "@arcgis/lumina/controllers";
|
|
9
|
+
import { m as T } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { LitElement as A, createEvent as E, noShadowRoot as F, safeClassMap as l } from "@arcgis/lumina";
|
|
11
|
+
import { substitute as k } from "@arcgis/core/intl.js";
|
|
12
|
+
import { renderingSanitizer as R } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
13
|
+
import { k as V, l as z, m as D, n as H, s as c, c as P, i as S } from "../../chunks/feature-utils.js";
|
|
7
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const
|
|
11
|
-
|
|
16
|
+
v4.34.0-next.80 */
|
|
17
|
+
const U = _`@layer{arcgis-feature{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}}`, p = "arcgis-feature", o = {
|
|
18
|
+
// popup renderer
|
|
19
|
+
base: p,
|
|
20
|
+
// containers and content
|
|
21
|
+
container: `${p}__size-container`,
|
|
22
|
+
title: `${p}__title`,
|
|
23
|
+
main: `${p}__main-container`,
|
|
24
|
+
contentElement: `${p}__content-element`,
|
|
25
|
+
lastEditedInfo: `${p}__last-edited-info`,
|
|
26
|
+
// loading
|
|
27
|
+
loadingSpinnerContainer: `${p}__loading-container`
|
|
28
|
+
}, Z = T(C);
|
|
29
|
+
class B extends A {
|
|
12
30
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
31
|
+
super(...arguments), this.messages = x({}), this.viewModel = Z(this), this.flowType = "feature", this.flowItems = null, this.position = "top-left", this.icon = "icon", this.graphic = this.viewModel.graphic, this.view = this.viewModel.view, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = L()("state"), this.arcgisReady = E();
|
|
14
32
|
}
|
|
15
33
|
static {
|
|
16
|
-
this.properties = {
|
|
34
|
+
this.properties = { flowType: 16, flowItems: 16, isTable: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, referenceElement: 1, position: 3, icon: 1, graphic: 0, view: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 3 };
|
|
17
35
|
}
|
|
18
36
|
static {
|
|
19
|
-
this.
|
|
37
|
+
this.styles = U;
|
|
20
38
|
}
|
|
21
39
|
static {
|
|
22
|
-
this.
|
|
40
|
+
this.shadowRootOptions = F;
|
|
41
|
+
}
|
|
42
|
+
get isTable() {
|
|
43
|
+
return this.viewModel.isFeatureFromTable;
|
|
44
|
+
}
|
|
45
|
+
get popupTemplate() {
|
|
46
|
+
return V(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
|
|
47
|
+
}
|
|
48
|
+
get sourceLayer() {
|
|
49
|
+
return z(this.graphic);
|
|
50
|
+
}
|
|
51
|
+
get fieldInfoMap() {
|
|
52
|
+
return D(H(this.popupTemplate), this.sourceLayer);
|
|
53
|
+
}
|
|
54
|
+
get values() {
|
|
55
|
+
return this.graphic?.attributes ?? {};
|
|
56
|
+
}
|
|
57
|
+
get globalValues() {
|
|
58
|
+
return this.viewModel.formattedAttributes?.global ?? {};
|
|
23
59
|
}
|
|
24
60
|
async destroy() {
|
|
25
61
|
await this.manager.destroy();
|
|
26
62
|
}
|
|
27
|
-
async nextMedia(
|
|
28
|
-
this.
|
|
63
|
+
async nextMedia(e) {
|
|
64
|
+
return this.viewModel.nextMedia(e);
|
|
65
|
+
}
|
|
66
|
+
async previousMedia(e) {
|
|
67
|
+
return this.viewModel.previousMedia(e);
|
|
68
|
+
}
|
|
69
|
+
async setActiveMedia(e, t) {
|
|
70
|
+
return this.viewModel.setActiveMedia(e, t);
|
|
71
|
+
}
|
|
72
|
+
render() {
|
|
73
|
+
const { state: e } = this.viewModel, t = n`<div class=${l(o.container)}>${this._renderTitle()}${e === "error" ? this._renderError() : e === "loading" ? this._renderLoading() : this._renderContentContainer()}</div>`;
|
|
74
|
+
return n`<div class=${l(y(o.base, b.widget))}>${t}</div>`;
|
|
75
|
+
}
|
|
76
|
+
_renderError() {
|
|
77
|
+
const { messages: e, hideHeading: t } = this;
|
|
78
|
+
return n`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : n`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
|
|
79
|
+
}
|
|
80
|
+
_renderLoading() {
|
|
81
|
+
return n`<div class=${l(o.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
82
|
+
}
|
|
83
|
+
_renderAttachments(e) {
|
|
84
|
+
const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues: s } = this, r = c({
|
|
85
|
+
values: t,
|
|
86
|
+
fieldInfoMap: i,
|
|
87
|
+
globalValues: s,
|
|
88
|
+
layer: a,
|
|
89
|
+
text: e.title
|
|
90
|
+
}), d = c({
|
|
91
|
+
values: t,
|
|
92
|
+
fieldInfoMap: i,
|
|
93
|
+
globalValues: s,
|
|
94
|
+
layer: a,
|
|
95
|
+
text: e.description
|
|
96
|
+
});
|
|
97
|
+
return n`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${r} .displayType=${e.displayType} .graphic=${this.graphic ?? void 0} .description=${d} .messages=${this.messages}></arcgis-feature-attachments>`;
|
|
98
|
+
}
|
|
99
|
+
_renderCustom(e) {
|
|
100
|
+
return n`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class=${l(o.contentElement)}></arcgis-feature-content>`;
|
|
101
|
+
}
|
|
102
|
+
_renderFields(e, t) {
|
|
103
|
+
const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: s, sourceLayer: r, popupTemplate: d, globalValues: h } = this, m = (e.fieldInfos ?? d?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (P(g) || S(g) || g in a)), u = d?.expressionInfos, v = c({
|
|
104
|
+
values: a,
|
|
105
|
+
fieldInfoMap: s,
|
|
106
|
+
globalValues: h,
|
|
107
|
+
layer: r,
|
|
108
|
+
text: e.title
|
|
109
|
+
}), $ = c({
|
|
110
|
+
values: a,
|
|
111
|
+
fieldInfoMap: s,
|
|
112
|
+
globalValues: h,
|
|
113
|
+
layer: r,
|
|
114
|
+
text: e.description
|
|
115
|
+
});
|
|
116
|
+
return n`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${v} class=${l(o.contentElement)} .messages=${this.messages} .description=${$} .values=${{
|
|
117
|
+
...i?.global,
|
|
118
|
+
...i?.content?.[t]
|
|
119
|
+
}} .fieldInfos=${m} .expressionInfos=${u ?? void 0}></arcgis-feature-fields>`;
|
|
120
|
+
}
|
|
121
|
+
_renderMedia(e, t) {
|
|
122
|
+
const { values: i, graphic: a, fieldInfoMap: s, sourceLayer: r, popupTemplate: d, globalValues: h } = this, { formattedAttributes: f, relatedInfos: m } = this.viewModel, u = {
|
|
123
|
+
...f?.global,
|
|
124
|
+
...f?.content?.[t]
|
|
125
|
+
}, v = c({
|
|
126
|
+
values: i,
|
|
127
|
+
fieldInfoMap: s,
|
|
128
|
+
globalValues: h,
|
|
129
|
+
layer: r,
|
|
130
|
+
text: e.title
|
|
131
|
+
}), $ = c({
|
|
132
|
+
values: i,
|
|
133
|
+
fieldInfoMap: s,
|
|
134
|
+
globalValues: h,
|
|
135
|
+
layer: r,
|
|
136
|
+
text: e.description
|
|
137
|
+
});
|
|
138
|
+
return n`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(o.contentElement)} .description=${$} .values=${i} .layer=${r} .isAggregate=${a?.isAggregate} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${d ?? void 0} .relatedInfos=${m} .formattedValues=${u}></arcgis-feature-media>`;
|
|
139
|
+
}
|
|
140
|
+
_renderText(e) {
|
|
141
|
+
const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues: s } = this, r = c({
|
|
142
|
+
values: t,
|
|
143
|
+
fieldInfoMap: i,
|
|
144
|
+
globalValues: s,
|
|
145
|
+
layer: a,
|
|
146
|
+
text: e.text
|
|
147
|
+
});
|
|
148
|
+
return n`<arcgis-feature-content .creator=${r} .graphic=${this.graphic ?? void 0} class=${l(o.contentElement)}></arcgis-feature-content>`;
|
|
149
|
+
}
|
|
150
|
+
_renderExpression(e, t) {
|
|
151
|
+
const i = this.viewModel.formattedAttributes, { fieldInfoMap: a } = this;
|
|
152
|
+
return n`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class=${l(o.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${a} .values=${{
|
|
153
|
+
...i?.global,
|
|
154
|
+
...i?.content?.[t]
|
|
155
|
+
}}></arcgis-feature-expression>`;
|
|
156
|
+
}
|
|
157
|
+
_renderRelationship(e, t) {
|
|
158
|
+
const { values: i, graphic: a, fieldInfoMap: s, sourceLayer: r, globalValues: d } = this, { displayCount: h, orderByFields: f, relationshipId: m } = e, { formattedAttributes: u, view: v } = this.viewModel, $ = {
|
|
159
|
+
...u?.global,
|
|
160
|
+
...u?.content?.[t]
|
|
161
|
+
}, g = c({
|
|
162
|
+
values: i,
|
|
163
|
+
fieldInfoMap: s,
|
|
164
|
+
globalValues: d,
|
|
165
|
+
layer: r,
|
|
166
|
+
text: e.title
|
|
167
|
+
}), w = c({
|
|
168
|
+
values: i,
|
|
169
|
+
fieldInfoMap: s,
|
|
170
|
+
globalValues: d,
|
|
171
|
+
layer: r,
|
|
172
|
+
text: e.description
|
|
173
|
+
});
|
|
174
|
+
return n`<arcgis-feature-relationship class=${l(o.contentElement)} .description=${w} .displayCount=${h} .graphic=${a ?? void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${f ?? void 0} .relationshipId=${m ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${$} .view=${v ?? void 0}></arcgis-feature-relationship>`;
|
|
175
|
+
}
|
|
176
|
+
_renderAssociation() {
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
_renderContentElement(e, t) {
|
|
180
|
+
switch (e.type) {
|
|
181
|
+
case "attachments":
|
|
182
|
+
return this.hideAttachmentsContent ? null : this._renderAttachments(e);
|
|
183
|
+
case "custom":
|
|
184
|
+
return this.hideCustomContent ? null : this._renderCustom(e);
|
|
185
|
+
case "fields":
|
|
186
|
+
return this.hideFieldsContent ? null : this._renderFields(e, t);
|
|
187
|
+
case "media":
|
|
188
|
+
return this.hideMediaContent ? null : this._renderMedia(e, t);
|
|
189
|
+
case "text":
|
|
190
|
+
return this.hideTextContent ? null : this._renderText(e);
|
|
191
|
+
case "expression":
|
|
192
|
+
return this.hideExpressionContent ? null : this._renderExpression(e, t);
|
|
193
|
+
case "relationship":
|
|
194
|
+
return this.showRelationshipContent ? this._renderRelationship(e, t) : null;
|
|
195
|
+
case "utility-network-associations":
|
|
196
|
+
return this.showUtilityNetworkContent ? this._renderAssociation() : null;
|
|
197
|
+
default:
|
|
198
|
+
return null;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
_renderContent() {
|
|
202
|
+
const { content: e, graphic: t } = this.viewModel;
|
|
203
|
+
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? n`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class=${l(o.contentElement)}></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
|
|
204
|
+
}
|
|
205
|
+
_renderContentContainer() {
|
|
206
|
+
const { hideContent: e } = this;
|
|
207
|
+
return e ? null : n`<div class=${l(o.main)}>${[this._renderContent(), this._renderLastEditInfo()]}</div>`;
|
|
29
208
|
}
|
|
30
|
-
|
|
31
|
-
this
|
|
209
|
+
_renderTitle() {
|
|
210
|
+
const { hideHeading: e, heading: t } = this;
|
|
211
|
+
return e ? null : I({ class: o.title, level: this.headingLevel, children: n`<div .innerHTML=${R.sanitize(t) ?? ""}></div>` });
|
|
32
212
|
}
|
|
33
|
-
|
|
34
|
-
this
|
|
213
|
+
_renderLastEditInfo() {
|
|
214
|
+
const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
|
|
215
|
+
if (!i || e)
|
|
216
|
+
return null;
|
|
217
|
+
const { date: a, user: s } = i, r = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, d = k(r ?? "", {
|
|
218
|
+
date: a,
|
|
219
|
+
user: s
|
|
220
|
+
});
|
|
221
|
+
return n`<div class=${l(y(o.lastEditedInfo, o.contentElement))}>${d}</div>`;
|
|
35
222
|
}
|
|
36
223
|
}
|
|
37
|
-
|
|
224
|
+
M("arcgis-feature", B);
|
|
38
225
|
export {
|
|
39
|
-
|
|
226
|
+
B as ArcgisFeature
|
|
40
227
|
};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
3
|
+
import "../arcgis-feature-attachments/index.js";
|
|
4
|
+
import "../arcgis-feature-content/index.js";
|
|
5
|
+
import "../arcgis-feature-fields/index.js";
|
|
6
|
+
import "../arcgis-feature-media/index.js";
|
|
7
|
+
import "../arcgis-feature-expression/index.js";
|
|
8
|
+
import "../arcgis-feature-relationship/index.js";
|
|
1
9
|
export * from "./customElement.js";
|
|
@@ -1 +1,9 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
3
|
+
import "../arcgis-feature-attachments/index.js";
|
|
4
|
+
import "../arcgis-feature-content/index.js";
|
|
5
|
+
import "../arcgis-feature-fields/index.js";
|
|
6
|
+
import "../arcgis-feature-media/index.js";
|
|
7
|
+
import "../arcgis-feature-expression/index.js";
|
|
8
|
+
import "../arcgis-feature-relationship/index.js";
|
|
1
9
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { HeadingLevel } from '../../support/heading';
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
6
|
+
import { ArcgisAttachments } from '../arcgis-attachments/customElement.js';
|
|
7
|
+
|
|
8
|
+
/** @private */
|
|
9
|
+
export declare class ArcgisFeatureAttachments extends LitElement {
|
|
10
|
+
description?: string;
|
|
11
|
+
displayType?: __esri.AttachmentsContent["displayType"];
|
|
12
|
+
graphic?: __esri.Graphic;
|
|
13
|
+
heading?: string;
|
|
14
|
+
/** @default 2 */
|
|
15
|
+
headingLevel: HeadingLevel;
|
|
16
|
+
messages?: ArcgisFeature["messages"];
|
|
17
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as s, html as t } from "lit";
|
|
3
|
+
import { LitElement as a, noShadowRoot as i, safeClassMap as n } from "@arcgis/lumina";
|
|
4
|
+
import { createRef as h, ref as c } from "lit-html/directives/ref.js";
|
|
5
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
+
v4.34.0-next.80 */
|
|
8
|
+
const r = s`@layer{arcgis-feature-attachments{display:block}}`, o = "arcgis-feature-attachments", m = {
|
|
9
|
+
base: o
|
|
10
|
+
};
|
|
11
|
+
class d extends a {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments), this._attachmentsRef = h(), this.hideSection = !1, this.attachmentsLength = 0, this.headingLevel = 2;
|
|
14
|
+
}
|
|
15
|
+
static {
|
|
16
|
+
this.properties = { hideSection: 16, attachmentsLength: 16, state: 16, description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.styles = r;
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.shadowRootOptions = i;
|
|
23
|
+
}
|
|
24
|
+
_updateAttachmentsState() {
|
|
25
|
+
this.state = this._attachmentsRef.value?.state, this.attachmentsLength = this._attachmentsRef.value?.attachmentInfos?.length ?? 0;
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return t`<div class=${n(m.base)}>${this.renderContent()}</div>`;
|
|
29
|
+
}
|
|
30
|
+
renderContent() {
|
|
31
|
+
return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} ${c(this._attachmentsRef)}></arcgis-attachments></div>`;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
e("arcgis-feature-attachments", d);
|
|
35
|
+
export {
|
|
36
|
+
d as ArcgisFeatureAttachments
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
|
|
6
|
+
/** @private */
|
|
7
|
+
export declare class ArcgisFeatureContent extends LitElement {
|
|
8
|
+
creator?: __esri.PopupTemplateContent | __esri.PopupTemplateContentCreator | Promise<__esri.PopupTemplateContent>;
|
|
9
|
+
destroyer?: __esri.PopupTemplateContentDestroyer;
|
|
10
|
+
graphic?: __esri.Graphic;
|
|
11
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as g, html as r } from "lit";
|
|
3
|
+
import { ref as f } from "lit/directives/ref.js";
|
|
4
|
+
import { LitElement as d, noShadowRoot as h, safeClassMap as i } from "@arcgis/lumina";
|
|
5
|
+
import { j as n, h as u } from "../../chunks/feature-utils.js";
|
|
6
|
+
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
+
v4.34.0-next.80 */
|
|
10
|
+
const p = g`@layer{arcgis-feature-content{display:block}.arcgis-feature-content__loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.arcgis-feature-content{font-size:var(--calcite-font-size-md)}.arcgis-feature-content h1,.arcgis-feature-content h2,.arcgis-feature-content h3,.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{margin:var(--calcite-spacing-sm) 0;line-height:normal;letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.arcgis-feature-content h1{font-size:var(--calcite-font-size-xxl)}.arcgis-feature-content h2{font-size:var(--calcite-font-size-xl)}.arcgis-feature-content h3{font-size:var(--calcite-font-size-lg)}.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{font-size:var(--calcite-font-size)}.arcgis-widget__heading.arcgis-feature-element-info__title{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-lg);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-content p{margin:0 0 var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular)}.arcgis-feature-content p:last-child{margin-block-end:0}.arcgis-feature-content img{max-width:100%;max-height:100%;image-orientation:from-image}.arcgis-feature-content video{max-width:100%;max-height:100%}.arcgis-feature-content figure{margin:0;padding:0}.arcgis-feature-content figcaption{display:block;margin:var(--calcite-spacing-xs) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.arcgis-feature-content ul,.arcgis-feature-content ol{margin-block:var(--calcite-spacing-sm)}.arcgis-feature-content ul:first-child,.arcgis-feature-content ol:first-child{margin-block-start:0}.arcgis-feature-content a,.arcgis-feature-content a:hover,.arcgis-feature-content a:focus{color:var(--calcite-color-text-link)}}`, c = "arcgis-feature-content", o = {
|
|
11
|
+
base: c,
|
|
12
|
+
loaderContainer: `${c}__loader-container`
|
|
13
|
+
};
|
|
14
|
+
class v extends d {
|
|
15
|
+
static {
|
|
16
|
+
this.properties = { _loadingPromise: 16, _created: 16, creator: 1, destroyer: 0, graphic: 0 };
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.styles = p;
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.shadowRootOptions = h;
|
|
23
|
+
}
|
|
24
|
+
loaded() {
|
|
25
|
+
this.manager.onLifecycle(() => m(() => this.creator, (t) => {
|
|
26
|
+
this._destroyContent(), this._createContent(t);
|
|
27
|
+
}, { initial: !0 }));
|
|
28
|
+
}
|
|
29
|
+
async _createContent(t) {
|
|
30
|
+
const { graphic: e } = this;
|
|
31
|
+
if (!e || !t)
|
|
32
|
+
return;
|
|
33
|
+
const a = n({
|
|
34
|
+
type: "content",
|
|
35
|
+
value: t,
|
|
36
|
+
event: { graphic: e }
|
|
37
|
+
});
|
|
38
|
+
this._loadingPromise = a;
|
|
39
|
+
const s = await a;
|
|
40
|
+
a === this._loadingPromise && (this._loadingPromise = void 0, this._created = s);
|
|
41
|
+
}
|
|
42
|
+
_destroyContent() {
|
|
43
|
+
const { _created: t, graphic: e, destroyer: a } = this;
|
|
44
|
+
t && e && (n({ type: "content", value: a, event: { graphic: e } }), this._created = null);
|
|
45
|
+
}
|
|
46
|
+
_addTargetToAnchors(t) {
|
|
47
|
+
t && Array.from(t.querySelectorAll("a")).forEach((e) => {
|
|
48
|
+
u(e.href) && !e.hasAttribute("target") && e.setAttribute("target", "_blank");
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return r`<div class=${i(o.base)}>${this._loadingPromise ? this._renderLoading() : this._renderCreated()}</div>`;
|
|
53
|
+
}
|
|
54
|
+
_renderLoading() {
|
|
55
|
+
return r`<div class=${i(o.loaderContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
56
|
+
}
|
|
57
|
+
_renderCreated() {
|
|
58
|
+
const { _created: t } = this;
|
|
59
|
+
return t instanceof HTMLElement ? t : typeof t == "string" ? r`<div .innerHTML=${t ?? ""} ${f(this._addTargetToAnchors)}></div>` : null;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
l("arcgis-feature-content", v);
|
|
63
|
+
export {
|
|
64
|
+
v as ArcgisFeatureContent
|
|
65
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import { HeadingLevel } from '../../support/heading';
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
|
|
5
|
+
/** @private */
|
|
6
|
+
export declare class ArcgisFeatureElementInfo extends LitElement {
|
|
7
|
+
description?: string;
|
|
8
|
+
/** @default 2 */
|
|
9
|
+
headingLevel: HeadingLevel;
|
|
10
|
+
heading?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as o, html as i } from "lit";
|
|
3
|
+
import { H as c } from "../../chunks/heading.js";
|
|
4
|
+
import { LitElement as l, noShadowRoot as d, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { renderingSanitizer as r } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
+
v4.34.0-next.80 */
|
|
9
|
+
const g = o`@layer{arcgis-feature-element-info{display:block}.arcgis-feature-element-info__heading{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-sm);font-size:var(--calcite-font-line-height-fixed-base);font-weight:var(--calcite-font-weight-regular)}}`, t = "arcgis-feature-element-info", n = {
|
|
10
|
+
base: t,
|
|
11
|
+
heading: `${t}__heading`,
|
|
12
|
+
description: `${t}__description`
|
|
13
|
+
};
|
|
14
|
+
class h extends l {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments), this.headingLevel = 2;
|
|
17
|
+
}
|
|
18
|
+
static {
|
|
19
|
+
this.properties = { description: 1, headingLevel: 9, heading: 1 };
|
|
20
|
+
}
|
|
21
|
+
static {
|
|
22
|
+
this.styles = g;
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.shadowRootOptions = d;
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return i`<div class=${s(n.base)}>${this._renderHeading()}${this._renderDescription()}</div>`;
|
|
29
|
+
}
|
|
30
|
+
_renderHeading() {
|
|
31
|
+
const { heading: e } = this;
|
|
32
|
+
return e ? c({ class: n.heading, level: this.headingLevel, excludeGlobalCss: !0, children: i`<div .innerHTML=${r.sanitize(e) ?? ""}></div>` }) : null;
|
|
33
|
+
}
|
|
34
|
+
_renderDescription() {
|
|
35
|
+
const { description: e } = this;
|
|
36
|
+
return e ? i`<div class=${s(n.description)} .innerHTML=${r.sanitize(e) ?? ""}></div>` : null;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
a("arcgis-feature-element-info", h);
|
|
40
|
+
export {
|
|
41
|
+
h as ArcgisFeatureElementInfo
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { HeadingLevel } from '../../support/heading';
|
|
5
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
6
|
+
|
|
7
|
+
/** @private */
|
|
8
|
+
export declare class ArcgisFeatureExpression extends LitElement {
|
|
9
|
+
values?: HashMap<number | string>;
|
|
10
|
+
fieldInfoMap?: Map<string, __esri.FieldInfo>;
|
|
11
|
+
expressionInfo?: __esri.ElementExpressionInfo;
|
|
12
|
+
graphic?: __esri.Graphic;
|
|
13
|
+
/** @default 2 */
|
|
14
|
+
headingLevel: HeadingLevel;
|
|
15
|
+
interceptor?: __esri.RequestInterceptor;
|
|
16
|
+
location?: __esri.Point;
|
|
17
|
+
messages?: ArcgisFeature["messages"];
|
|
18
|
+
spatialReference?: __esri.SpatialReference;
|
|
19
|
+
map?: __esri.Map;
|
|
20
|
+
view?: __esri.View;
|
|
21
|
+
}
|