@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,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as ShadowCast } from '@arcgis/core/widgets/ShadowCast.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useShadowCastWidget: (component: LitElement & Pick<ShadowCast, "ic
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.ShadowCastViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -27,7 +27,54 @@ declare const useShadowCastWidget: (component: LitElement & Pick<ShadowCast, "ic
|
|
|
27
27
|
destroy: () => Promise<void>;
|
|
28
28
|
}) => ShadowCast;
|
|
29
29
|
/**
|
|
30
|
-
* The Shadow Cast component displays the cumulative shadows of 3D features in a [
|
|
30
|
+
* The Shadow Cast component displays the cumulative shadows of 3D features in a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
31
|
+
* This type of analysis is helpful in urban development, where new projects have to satisfy certain shadow duration constraints.
|
|
32
|
+
*
|
|
33
|
+
* The component calculates the cumulative shadows for a time range during a single day. The user can
|
|
34
|
+
* configure the time range and select a calendar date. This time range and calendar date are only used
|
|
35
|
+
* for the shadow analysis and are not connected to the lighting in the scene.
|
|
36
|
+
* To control the lighting in the scene, the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component can be used.
|
|
37
|
+
* Changing the timezone in the component updates the visualization by interpreting the time range as being
|
|
38
|
+
* in that timezone. This behavior is different from the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component,
|
|
39
|
+
* where selecting a timezone updates the [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) date and time according to the camera position.
|
|
40
|
+
*
|
|
41
|
+
* The component provides three [visualization modes](#visualizationType): threshold, duration, and discrete mode.
|
|
42
|
+
*
|
|
43
|
+
* In the **threshold** mode, only the areas that receive
|
|
44
|
+
* shadows for more than a certain amount of time are displayed. In the image below, on May 1, 2021 the red areas receive
|
|
45
|
+
* shadow for more than 4 hours within the time interval of 10AM to 4PM.
|
|
46
|
+
*
|
|
47
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
48
|
+
*
|
|
49
|
+
* **Total shadow duration** mode displays the duration of the cumulative shadow using opacity: areas that don't
|
|
50
|
+
* receive any shadow are fully transparent and areas that receive a maximum amount of shadow have a default opacity
|
|
51
|
+
* of 0.7. The values in between are interpolated. Hovering over the Scene will display a tooltip showing the
|
|
52
|
+
* amount of time that location is in shadow, rounded to 15-minute intervals. In this mode, the visualization
|
|
53
|
+
* can display shadow cast in a continuous way or in 1-hour intervals.
|
|
54
|
+
*
|
|
55
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
56
|
+
*
|
|
57
|
+
* **Discrete shadows** is a third visualization mode which displays individual shadows at a given time interval.
|
|
58
|
+
* For example, setting the time range to 10AM-11AM and the visualization time interval to 30 minutes will display
|
|
59
|
+
* shadows for 10AM, 10:30AM and 11:00AM.
|
|
60
|
+
*
|
|
61
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
62
|
+
*
|
|
63
|
+
* The defaults for the time range and visualization settings can be changed using the [startTimeOfDay](#startTimeOfDay), [endTimeOfDay](#endTimeOfDay), and [visualizationType](#visualizationType) properties.
|
|
64
|
+
*
|
|
65
|
+
* **Known limitations**
|
|
66
|
+
*
|
|
67
|
+
* * Shadow Cast is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
68
|
+
* * Terrain does not cast shadows and it is therefore not taken into account in this analysis.
|
|
69
|
+
* This influences the results when the start time of the range is before sunrise or when the end time is after the sunset.
|
|
70
|
+
* * The component does not take into account the daylight savings.
|
|
71
|
+
* Use the timezone dropdown to adjust the offset from the Coordinated Universal Time (UTC) and account for the daylight saving time.
|
|
72
|
+
* * The timezone is automatically detected by the component based on the camera location. In some situations, this might not be accurate.
|
|
73
|
+
* In case of an inaccurate timezone, users can set it manually using the timezone dropdown.
|
|
74
|
+
*
|
|
75
|
+
* **See also**
|
|
76
|
+
*
|
|
77
|
+
* - [Sample - Shadow cast component](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
31
78
|
*
|
|
32
79
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
33
80
|
*/
|
|
@@ -42,24 +89,34 @@ export declare class ArcgisShadowCast extends LitElement {
|
|
|
42
89
|
* @default false
|
|
43
90
|
*/
|
|
44
91
|
autoDestroyDisabled: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* The calendar date used to calculate the shadow cast. This date excludes the time. If a date with a time is set, the time value will be set to midnight (`00:00:00`) of that date in local system time.
|
|
94
|
+
* If no date is set, then it defaults to the current date in local system time.
|
|
95
|
+
*
|
|
96
|
+
* _See also_
|
|
97
|
+
*
|
|
98
|
+
* * [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date)
|
|
99
|
+
*/
|
|
45
100
|
get date(): Date;
|
|
46
101
|
set date(value: Date | number | string);
|
|
47
102
|
/**
|
|
48
|
-
* The configuration used when the
|
|
103
|
+
* The configuration used when the component's [visualizationType](#visualizationType)
|
|
104
|
+
* is set to "discrete".
|
|
49
105
|
*
|
|
50
|
-
* [Read more
|
|
106
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DiscreteOptions.html)
|
|
51
107
|
*/
|
|
52
108
|
discreteOptions: __esri.DiscreteOptions;
|
|
53
109
|
/**
|
|
54
|
-
* The configuration used when the
|
|
110
|
+
* The configuration used when the component's [visualizationType](#visualizationType)
|
|
111
|
+
* is set to "duration".
|
|
55
112
|
*
|
|
56
|
-
* [Read more
|
|
113
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-DurationOptions.html)
|
|
57
114
|
*/
|
|
58
115
|
durationOptions: __esri.DurationOptions;
|
|
59
116
|
/**
|
|
60
|
-
* Time (in milliseconds from midnight of the [date](
|
|
117
|
+
* Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should stop.
|
|
61
118
|
*
|
|
62
|
-
* [Read more
|
|
119
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#endTimeOfDay)
|
|
63
120
|
*
|
|
64
121
|
* @default 16 * 3600 * 1000
|
|
65
122
|
*/
|
|
@@ -91,69 +148,75 @@ export declare class ArcgisShadowCast extends LitElement {
|
|
|
91
148
|
/** @default false */
|
|
92
149
|
hideThresholdContextToggle: boolean;
|
|
93
150
|
/**
|
|
94
|
-
* Icon which represents the
|
|
151
|
+
* Icon which represents the component. Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
152
|
+
*
|
|
153
|
+
* See also: [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
95
154
|
*
|
|
96
|
-
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
97
155
|
* @default "measure-building-height-shadow"
|
|
98
156
|
*/
|
|
99
157
|
icon: string;
|
|
100
|
-
/**
|
|
101
|
-
* The widget's default label.
|
|
102
|
-
*
|
|
103
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast.html#label)
|
|
104
|
-
*/
|
|
158
|
+
/** The component's default label. */
|
|
105
159
|
label: string;
|
|
106
160
|
/** @default "bottom-left" */
|
|
107
161
|
position: __esri.UIPosition;
|
|
162
|
+
/**
|
|
163
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
164
|
+
*
|
|
165
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
166
|
+
*/
|
|
108
167
|
referenceElement?: ArcgisReferenceElement | string;
|
|
109
168
|
/**
|
|
110
|
-
* Time (in milliseconds from midnight of the [date](
|
|
111
|
-
* when the shadow cast computation should start.
|
|
169
|
+
* Time (in milliseconds from midnight of the [date](#date)) when the shadow cast computation should start.
|
|
112
170
|
*
|
|
113
|
-
* [Read more
|
|
171
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#startTimeOfDay)
|
|
114
172
|
*
|
|
115
173
|
* @default 10 * 3600 * 1000
|
|
116
174
|
*/
|
|
117
175
|
startTimeOfDay: number;
|
|
118
176
|
/**
|
|
119
|
-
* The
|
|
120
|
-
* of the widget.
|
|
177
|
+
* The component's state. The values mean the following:
|
|
121
178
|
*
|
|
122
|
-
*
|
|
179
|
+
* * `disabled` - component is being created
|
|
180
|
+
* * `ready` - component is ready
|
|
123
181
|
*
|
|
124
182
|
* @default "disabled"
|
|
125
183
|
*/
|
|
126
184
|
readonly state: "ready" | "disabled";
|
|
127
185
|
/**
|
|
128
|
-
* The configuration used when the
|
|
186
|
+
* The configuration used when the component's [visualizationType](#visualizationType)
|
|
187
|
+
* is set to "threshold".
|
|
129
188
|
*
|
|
130
|
-
* [Read more
|
|
189
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ThresholdOptions.html)
|
|
131
190
|
*/
|
|
132
191
|
thresholdOptions: __esri.ThresholdOptions;
|
|
133
|
-
/**
|
|
134
|
-
* The difference in hours between UTC time and the times displayed in the widget.
|
|
135
|
-
*
|
|
136
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#utcOffset)
|
|
137
|
-
*/
|
|
192
|
+
/** The difference in hours between UTC time and the times displayed in the component. */
|
|
138
193
|
utcOffset: number;
|
|
139
194
|
/**
|
|
140
|
-
* Type of visualization to use when showing the shadows.
|
|
141
|
-
*
|
|
142
|
-
*
|
|
195
|
+
* Type of visualization to use when showing the shadows. There are 3 types of visualization:
|
|
196
|
+
* * `threshold` - only displays areas that receive shadows for a period longer than a given threshold value
|
|
197
|
+
* * `duration` - displays all areas that receive shadows either in a continuous mode or in 1 hour time intervals
|
|
198
|
+
* * `discrete` - displays individual shadows cast at a given time interval
|
|
143
199
|
*
|
|
144
200
|
* @default "threshold"
|
|
145
201
|
*/
|
|
146
202
|
visualizationType: "duration" | "threshold" | "discrete";
|
|
147
203
|
/** Permanently destroy the component. */
|
|
148
204
|
destroy(): Promise<void>;
|
|
205
|
+
/**
|
|
206
|
+
* Returns the time (in milliseconds) spent in shadow for a certain point on the screen.
|
|
207
|
+
*
|
|
208
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ShadowCast-ShadowCastViewModel.html#getDuration)
|
|
209
|
+
*/
|
|
149
210
|
getDuration(point: __esri.Point): Promise<number>;
|
|
211
|
+
/** Starts the component. While running, it will automatically perform shadow accumulation. */
|
|
150
212
|
start(): Promise<void>;
|
|
213
|
+
/** Stops the component. */
|
|
151
214
|
stop(): Promise<void>;
|
|
152
215
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
153
216
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
154
217
|
name: "state";
|
|
155
218
|
}>;
|
|
156
|
-
/** Emitted when the component associated with a map or scene view is
|
|
219
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
157
220
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
158
221
|
readonly _setterTypes: {
|
|
159
222
|
date?: Date | number | string;
|
|
@@ -3,10 +3,10 @@ import { usePropertyChange as i } from "@arcgis/lumina/controllers";
|
|
|
3
3
|
import s from "@arcgis/core/widgets/ShadowCast.js";
|
|
4
4
|
import { LitElement as o, createEvent as h, noShadowRoot as d } from "@arcgis/lumina";
|
|
5
5
|
import { m as l } from "../../chunks/useWidget.js";
|
|
6
|
-
import { css as a } from "
|
|
6
|
+
import { css as a } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.80 */
|
|
10
10
|
const r = a`@layer{arcgis-shadow-cast{display:block}}`, n = l(s);
|
|
11
11
|
class m extends o {
|
|
12
12
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as GraphicsLayer } from '@arcgis/core/layers/GraphicsLayer.js';
|
|
5
5
|
import { default as Sketch } from '@arcgis/core/widgets/Sketch.js';
|
|
@@ -10,8 +10,8 @@ declare const useSketchWidget: (component: LitElement & Pick<Sketch, "icon" | "l
|
|
|
10
10
|
state?: "ready" | "disabled" | "active" | undefined;
|
|
11
11
|
viewModel?: __esri.SketchViewModel | undefined;
|
|
12
12
|
closed?: boolean;
|
|
13
|
-
icon: import('@arcgis/
|
|
14
|
-
label: import('@arcgis/
|
|
13
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
14
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
15
15
|
referenceElement?: ArcgisReferenceElement | string;
|
|
16
16
|
position: __esri.UIPosition;
|
|
17
17
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -39,7 +39,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
39
39
|
*
|
|
40
40
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#activeTool)
|
|
41
41
|
*/
|
|
42
|
-
readonly activeTool: nullish | "
|
|
42
|
+
readonly activeTool: nullish | "polygon" | "multipoint" | "point" | "polyline" | "mesh" | "circle" | "rectangle" | "move" | "reshape" | "transform" | "freehandPolyline" | "freehandPolygon" | "rectangle-selection" | "lasso-selection" | "custom-selection";
|
|
43
43
|
/**
|
|
44
44
|
* If true, the component will not be destroyed automatically when it is
|
|
45
45
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -55,7 +55,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
55
55
|
*
|
|
56
56
|
* @default ["point", "polyline", "polygon", "rectangle", "circle"]
|
|
57
57
|
*/
|
|
58
|
-
availableCreateTools: nullish | ("
|
|
58
|
+
availableCreateTools: nullish | ("polygon" | "multipoint" | "point" | "polyline" | "mesh" | "circle" | "rectangle" | "freehandPolyline" | "freehandPolygon")[];
|
|
59
59
|
/**
|
|
60
60
|
* The graphic that is being created.
|
|
61
61
|
*
|
|
@@ -67,7 +67,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
67
67
|
*
|
|
68
68
|
* @default "continuous"
|
|
69
69
|
*/
|
|
70
|
-
creationMode: "
|
|
70
|
+
creationMode: "single" | "update" | "continuous";
|
|
71
71
|
/**
|
|
72
72
|
* Default create options set for the Sketch widget.
|
|
73
73
|
*
|
|
@@ -155,7 +155,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
155
155
|
*
|
|
156
156
|
* @default "horizontal"
|
|
157
157
|
*/
|
|
158
|
-
layout: "
|
|
158
|
+
layout: "horizontal" | "vertical";
|
|
159
159
|
/**
|
|
160
160
|
* A [SimpleMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html), [PointSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PointSymbol3D.html), [TextSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html), [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html), or [WebStyleSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-WebStyleSymbol.html) used for representing the point geometry that is being drawn.
|
|
161
161
|
*
|
|
@@ -176,6 +176,11 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
176
176
|
polylineSymbol: __esri.SimpleLineSymbol | __esri.CIMSymbol | __esri.LineSymbol3D;
|
|
177
177
|
/** @default "bottom-left" */
|
|
178
178
|
position: __esri.UIPosition;
|
|
179
|
+
/**
|
|
180
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
181
|
+
*
|
|
182
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
183
|
+
*/
|
|
179
184
|
referenceElement?: ArcgisReferenceElement | string;
|
|
180
185
|
/**
|
|
181
186
|
* Determines the size of widget elements.
|
|
@@ -232,7 +237,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
232
237
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
233
238
|
name: "state";
|
|
234
239
|
}>;
|
|
235
|
-
/** Emitted when the component associated with a map or scene view is
|
|
240
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
236
241
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
237
242
|
readonly arcgisRedo: TargetedEvent<this, __esri.SketchRedoEvent>;
|
|
238
243
|
readonly arcgisUndo: TargetedEvent<this, __esri.SketchUndoEvent>;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as o } from "@arcgis/lumina/controllers";
|
|
3
|
-
import { reEmitEvent as
|
|
4
|
-
import
|
|
3
|
+
import { reEmitEvent as i } from "@arcgis/lumina/controllers/accessor";
|
|
4
|
+
import a from "@arcgis/core/layers/GraphicsLayer.js";
|
|
5
5
|
import n from "@arcgis/core/widgets/Sketch.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { m as
|
|
8
|
-
import { css as
|
|
6
|
+
import { LitElement as h, createEvent as d, noShadowRoot as r } from "@arcgis/lumina";
|
|
7
|
+
import { m as g } from "../../chunks/useWidget.js";
|
|
8
|
+
import { css as p } from "lit";
|
|
9
|
+
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
12
|
-
const
|
|
13
|
-
class
|
|
12
|
+
v4.34.0-next.80 */
|
|
13
|
+
const m = p`@layer{arcgis-sketch{display:block}}`, y = g(n);
|
|
14
|
+
class w extends h {
|
|
14
15
|
constructor() {
|
|
15
|
-
super(), this.widget =
|
|
16
|
+
super(), this.widget = y(this), this.viewModel = this.widget.viewModel, this._defaultGraphicsLayer = null, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideSelectionCountLabel = this.widget.visibleElements.selectionCountLabel, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.toolbarKind = this.widget.toolbarKind, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = i(() => this.widget, "create"), this.arcgisDelete = i(() => this.widget, "delete"), this.arcgisPropertyChange = o()("state"), this.arcgisReady = d(), this.arcgisRedo = i(() => this.widget, "redo"), this.arcgisUndo = i(() => this.widget, "undo"), this.arcgisUpdate = i(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
19
|
this.properties = { activeTool: 3, autoDestroyDisabled: 5, availableCreateTools: 0, createGraphic: 0, creationMode: 1, defaultCreateOptions: 0, defaultGraphicsLayerDisabled: 5, defaultUpdateOptions: 0, hideCreateToolsCircle: 5, hideCreateToolsPoint: 5, hideCreateToolsPolygon: 5, hideCreateToolsPolyline: 5, hideCreateToolsRectangle: 5, hideDuplicateButton: 5, hideDeleteButton: 5, hideSelectionCountLabel: 5, hideLabelsToggle: 5, hideSelectionToolsLassoSelection: 5, hideSelectionToolsRectangleSelection: 5, hideSettingsMenu: 5, hideSnappingControls: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, hideUndoRedoMenu: 5, icon: 1, label: 1, labelOptions: 0, layer: 0, layout: 1, pointSymbol: 0, polygonSymbol: 0, polylineSymbol: 0, position: 1, referenceElement: 1, scale: 1, toolbarKind: 1, showSnappingControlsElementsHeader: 5, snappingOptions: 0, state: 3, tooltipOptions: 0, updateGraphics: 0 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.shadowRootOptions =
|
|
22
|
+
this.shadowRootOptions = r;
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
|
-
this.styles =
|
|
25
|
+
this.styles = m;
|
|
25
26
|
}
|
|
26
27
|
async cancel() {
|
|
27
28
|
this.widget?.cancel();
|
|
@@ -29,8 +30,8 @@ class m extends a {
|
|
|
29
30
|
async complete() {
|
|
30
31
|
this.widget?.complete();
|
|
31
32
|
}
|
|
32
|
-
async create(t,
|
|
33
|
-
await this.widget?.create(t,
|
|
33
|
+
async create(t, e) {
|
|
34
|
+
await this.widget?.create(t, e);
|
|
34
35
|
}
|
|
35
36
|
async delete() {
|
|
36
37
|
this.widget?.delete();
|
|
@@ -44,17 +45,24 @@ class m extends a {
|
|
|
44
45
|
async redo() {
|
|
45
46
|
this.widget?.redo();
|
|
46
47
|
}
|
|
47
|
-
async triggerUpdate(t,
|
|
48
|
-
this.widget?.update(t,
|
|
48
|
+
async triggerUpdate(t, e) {
|
|
49
|
+
this.widget?.update(t, e);
|
|
49
50
|
}
|
|
50
51
|
async undo() {
|
|
51
52
|
this.widget?.undo();
|
|
52
53
|
}
|
|
53
54
|
_arcgisReadyHandler() {
|
|
54
|
-
this.defaultGraphicsLayerDisabled || this.el.view?.map?.add(this.widget.layer)
|
|
55
|
+
this.defaultGraphicsLayerDisabled || (this._defaultGraphicsLayer = new a({ title: "Sketch Layer" }), this.widget.layer = this._defaultGraphicsLayer, this.el.view?.map?.add(this.widget.layer), this.manager.onLifecycle(() => c(() => this.el.view?.map, (t, e) => {
|
|
56
|
+
if (this.widget.layer !== this._defaultGraphicsLayer)
|
|
57
|
+
return;
|
|
58
|
+
const s = this._defaultGraphicsLayer;
|
|
59
|
+
e?.allLayers.includes(s) && e.allLayers.remove(s), t?.add(s);
|
|
60
|
+
})), this.manager.onDestroy(() => {
|
|
61
|
+
this._defaultGraphicsLayer && this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.el.view?.map?.remove(this._defaultGraphicsLayer), this._defaultGraphicsLayer?.destroy(), this._defaultGraphicsLayer = null;
|
|
62
|
+
}));
|
|
55
63
|
}
|
|
56
64
|
}
|
|
57
|
-
|
|
65
|
+
l("arcgis-sketch", w);
|
|
58
66
|
export {
|
|
59
|
-
|
|
67
|
+
w as ArcgisSketch
|
|
60
68
|
};
|
|
@@ -30,7 +30,6 @@ declare class SliceViewModel extends AnalysisViewModel<SceneView, SliceAnalysis>
|
|
|
30
30
|
*/
|
|
31
31
|
get tiltEnabled(): boolean;
|
|
32
32
|
set tiltEnabled(enabled: boolean);
|
|
33
|
-
get layersMode(): LayersMode;
|
|
34
33
|
/**
|
|
35
34
|
* Add layers to this collection to exclude them from the slice. Layers that
|
|
36
35
|
* are draped on the ground surface are not affected by this property
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
5
5
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
@@ -8,28 +8,80 @@ import { HeadingLevel } from '../../support/heading';
|
|
|
8
8
|
|
|
9
9
|
declare const useSliceViewModel: (component: LitElement & Pick<SliceViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<SliceViewModel>) => SliceViewModel;
|
|
10
10
|
/**
|
|
11
|
-
* The Slice component is a 3D analysis tool that can be used to reveal occluded content in a
|
|
11
|
+
* The Slice component is a 3D analysis tool that can be used to reveal occluded content in a
|
|
12
|
+
* [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). It applies
|
|
12
13
|
* [slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)
|
|
13
14
|
* to any layer type, making it possible to see inside buildings or to explore geological surfaces.
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
17
|
+
*
|
|
18
|
+
* The slicing [shape](#shape)
|
|
16
19
|
* is always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).
|
|
17
20
|
* By default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set
|
|
18
|
-
* [tiltEnabled](
|
|
21
|
+
* [tiltEnabled](#tiltEnabled)
|
|
19
22
|
* to `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust
|
|
20
23
|
* the size, heading, tilt, and position of the slice plane.
|
|
21
24
|
* The [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)
|
|
22
|
-
* can be set or retrieved using the [shape](
|
|
25
|
+
* can be set or retrieved using the [shape](#shape) property.
|
|
23
26
|
*
|
|
24
27
|
* Once the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include
|
|
25
28
|
* columns and floor slabs, the inner structure of a building can investigated.
|
|
26
29
|
*
|
|
30
|
+
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
31
|
+
*
|
|
32
|
+
* Holding the `Shift` key while placing a new slice applies it vertically.
|
|
33
|
+
*
|
|
34
|
+
* **Known limitation**
|
|
35
|
+
*
|
|
36
|
+
* Slice is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
37
|
+
*
|
|
38
|
+
* **See also**
|
|
39
|
+
*
|
|
40
|
+
* - [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)
|
|
41
|
+
* - [Sample - BuildingSceneLayer with Slice component](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/)
|
|
42
|
+
* - [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
43
|
+
*
|
|
27
44
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/)
|
|
28
45
|
*/
|
|
29
46
|
export declare class ArcgisSlice extends LitElement {
|
|
30
47
|
/**
|
|
31
|
-
* The [
|
|
32
|
-
*
|
|
48
|
+
* The [SliceAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)
|
|
49
|
+
* created or modified by the component.
|
|
50
|
+
*
|
|
51
|
+
* When connecting the Slice component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
52
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
53
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
54
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
55
|
+
*
|
|
56
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
57
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* // Create the analysis.
|
|
61
|
+
* const sliceAnalysis = new SliceAnalysis({
|
|
62
|
+
* shape: new SlicePlane({
|
|
63
|
+
* position: new Point({
|
|
64
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
65
|
+
* x: -13624925.727820931,
|
|
66
|
+
* y: 4550341.695170021,
|
|
67
|
+
* z: 56
|
|
68
|
+
* }),
|
|
69
|
+
* tilt: 270,
|
|
70
|
+
* width: 310,
|
|
71
|
+
* height: 190,
|
|
72
|
+
* heading: 45
|
|
73
|
+
* })
|
|
74
|
+
* });
|
|
75
|
+
* // Get the Scene and Slice component and wait until they are ready.
|
|
76
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
77
|
+
* await viewElement.viewOnReady();
|
|
78
|
+
* const slice = document.querySelector("arcgis-slice");
|
|
79
|
+
* await slice.componentOnReady();
|
|
80
|
+
* // Add the analysis to the Scene component.
|
|
81
|
+
* viewElement.analyses.add(sliceAnalysis);
|
|
82
|
+
* // Connect the analysis to the slice component:
|
|
83
|
+
* slice.analysis = sliceAnalysis;
|
|
84
|
+
* ```
|
|
33
85
|
*/
|
|
34
86
|
analysis: __esri.SliceAnalysis;
|
|
35
87
|
/**
|
|
@@ -54,7 +106,11 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
54
106
|
* are draped on the ground surface are not affected by this property
|
|
55
107
|
*/
|
|
56
108
|
excludedLayers: __esri.Collection<SliceableLayer>;
|
|
57
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Indicates the heading level to use for the "Excluded layers" heading.
|
|
111
|
+
*
|
|
112
|
+
* @default 3
|
|
113
|
+
*/
|
|
58
114
|
headingLevel: HeadingLevel;
|
|
59
115
|
/**
|
|
60
116
|
* Icon which represents the component.
|
|
@@ -66,21 +122,50 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
66
122
|
icon?: HTMLCalciteIconElement["icon"];
|
|
67
123
|
/** The component's default label. */
|
|
68
124
|
label?: string;
|
|
69
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* Replace localized message strings with your own strings.
|
|
127
|
+
*
|
|
128
|
+
* _**Note**: Individual message keys may change between releases._
|
|
129
|
+
*/
|
|
70
130
|
messageOverrides?: typeof this._messages._overrides;
|
|
71
131
|
/** @default "bottom-left" */
|
|
72
132
|
position: __esri.UIPosition;
|
|
133
|
+
/**
|
|
134
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
135
|
+
*
|
|
136
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
137
|
+
*/
|
|
73
138
|
referenceElement?: ArcgisReferenceElement | string;
|
|
74
139
|
/**
|
|
75
|
-
* The shape used to slice elements in a 3D scene. Currently the only supported shape is a
|
|
76
|
-
*
|
|
140
|
+
* The shape used to slice elements in a 3D scene. Currently the only supported shape is a
|
|
141
|
+
* [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```js
|
|
145
|
+
* // Create a slice plane programmatically.
|
|
146
|
+
* const shape = new SlicePlane({
|
|
147
|
+
* position: new Point({
|
|
148
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
149
|
+
* x: -13624925.727820931,
|
|
150
|
+
* y: 4550341.695170021,
|
|
151
|
+
* z: 56
|
|
152
|
+
* }),
|
|
153
|
+
* tilt: 270,
|
|
154
|
+
* width: 310,
|
|
155
|
+
* height: 190,
|
|
156
|
+
* heading: 45
|
|
157
|
+
* });
|
|
158
|
+
* // Apply the new shape to the slice component's shape.
|
|
159
|
+
* slice.shape = shape;
|
|
77
160
|
* ```
|
|
78
|
-
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```js
|
|
163
|
+
* // Clone the shape to modify its properties.
|
|
79
164
|
* const shape = slice.shape.clone();
|
|
80
|
-
* // Set new values for heading and tilt
|
|
165
|
+
* // Set new values for heading and tilt.
|
|
81
166
|
* shape.heading = 180;
|
|
82
167
|
* shape.tilt = 45;
|
|
83
|
-
* // Apply the new shape to the slice component's shape
|
|
168
|
+
* // Apply the new shape to the slice component's shape.
|
|
84
169
|
* slice.shape = shape;
|
|
85
170
|
* ```
|
|
86
171
|
*/
|
|
@@ -88,12 +173,13 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
88
173
|
/**
|
|
89
174
|
* The component's state. The values mean the following:
|
|
90
175
|
*
|
|
91
|
-
* * `disabled` -
|
|
176
|
+
* * `disabled` - not ready yet
|
|
177
|
+
* * `excludingLayer` - currently excluding a layer from the slice
|
|
92
178
|
* * `ready` - ready for slicing
|
|
93
179
|
* * `slicing` - currently slicing
|
|
94
|
-
* * `sliced` - finished slicing
|
|
180
|
+
* * `sliced` - finished slicing and a valid shape is available
|
|
95
181
|
*/
|
|
96
|
-
state: "ready" | "disabled" | "excludingLayer" | "sliced" | "slicing";
|
|
182
|
+
readonly state: "ready" | "disabled" | "excludingLayer" | "sliced" | "slicing";
|
|
97
183
|
/**
|
|
98
184
|
* Enable tilting the slice shape. If set to true, the slice shape will orient itself as best as
|
|
99
185
|
* possible to the surface under the cursor when first placing the shape. If set to false, the slice shape is
|
|
@@ -103,23 +189,23 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
103
189
|
*/
|
|
104
190
|
tiltEnabled: boolean;
|
|
105
191
|
/**
|
|
106
|
-
* Clear the [shape](
|
|
107
|
-
*
|
|
108
|
-
*
|
|
192
|
+
* Clear the [shape](#shape) of the slice, effectively removing it from the view. Other properties like [excludedLayers](#excludedLayers)
|
|
193
|
+
* and [excludeGroundSurface](#excludeGroundSurface) are not modified.
|
|
194
|
+
* Calling this method changes the [state](#state) to `ready`.
|
|
109
195
|
*/
|
|
110
196
|
clear(): Promise<void>;
|
|
111
197
|
/** Permanently destroy the component. */
|
|
112
198
|
destroy(): Promise<void>;
|
|
113
199
|
/**
|
|
114
|
-
* Start the interactive
|
|
115
|
-
* [
|
|
200
|
+
* Start the interactive placement of a new slice, clearing the previous [shape](#shape).
|
|
201
|
+
* Calling this method changes the [state](#state) to `slicing`.
|
|
116
202
|
*/
|
|
117
203
|
start(): Promise<void>;
|
|
118
204
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
119
205
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
120
206
|
name: "state" | "analysis";
|
|
121
207
|
}>;
|
|
122
|
-
/** Emitted when the component associated with a map or scene view is
|
|
208
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
123
209
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
124
210
|
private _messages;
|
|
125
211
|
}
|