@arcgis/map-components 4.32.0-next.116 → 4.32.0-next.118
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/arcgis-map-components/{Q7HMT6YC.js → 2SLYTOGS.js} +2 -2
- package/dist/arcgis-map-components/{QPUXDMMW.js → 32XU4DDZ.js} +2 -2
- package/dist/arcgis-map-components/{K5BU3ULI.js → 3BIVBSJD.js} +1 -1
- package/dist/arcgis-map-components/3U4SUV5J.js +4 -0
- package/dist/arcgis-map-components/{TRA7WGHJ.js → 3ZSERA7V.js} +2 -2
- package/dist/arcgis-map-components/{BGTXH5LD.js → 4E6QHIJM.js} +2 -2
- package/dist/arcgis-map-components/4UVXENNK.js +4 -0
- package/dist/arcgis-map-components/{4HB5XJZJ.js → 5ESSL5X2.js} +2 -2
- package/dist/arcgis-map-components/{YW2IECCB.js → 5VYPRKRT.js} +2 -2
- package/dist/arcgis-map-components/{UHQVWMIH.js → 647HSNEY.js} +2 -2
- package/dist/arcgis-map-components/{UMWCCPE2.js → 7S552M7M.js} +2 -2
- package/dist/arcgis-map-components/A5LAJIQH.js +4 -0
- package/dist/arcgis-map-components/AA6MP2RR.js +4 -0
- package/dist/arcgis-map-components/{7ZVXYGGP.js → AIAMZDR5.js} +2 -2
- package/dist/arcgis-map-components/{CE66WQX5.js → BMTHXGOO.js} +2 -2
- package/dist/arcgis-map-components/{FOQCZZXN.js → CHY6MSAJ.js} +2 -2
- package/dist/arcgis-map-components/{UFOTW5ES.js → CJB4AQNW.js} +2 -2
- package/dist/arcgis-map-components/CMCUVR2O.js +4 -0
- package/dist/arcgis-map-components/{7YIZHLHX.js → CRTAEAFR.js} +2 -2
- package/dist/arcgis-map-components/{UMKIX4CB.js → DBYPOQFN.js} +2 -2
- package/dist/arcgis-map-components/DFG567OH.js +4 -0
- package/dist/arcgis-map-components/{GCFTNE4V.js → DGXJEZGR.js} +2 -2
- package/dist/arcgis-map-components/{DCEWCBP4.js → DJAOHPWN.js} +2 -2
- package/dist/arcgis-map-components/{ZA3UWZ2F.js → DJVK4KUC.js} +1 -1
- package/dist/arcgis-map-components/E3IXYUMW.js +4 -0
- package/dist/arcgis-map-components/{HUN27NCI.js → ELDSUYAU.js} +2 -2
- package/dist/arcgis-map-components/{EE3MXPBL.js → FNB2XNIT.js} +2 -2
- package/dist/arcgis-map-components/{KPJCCNGQ.js → FUI5OMEA.js} +1 -1
- package/dist/arcgis-map-components/{O5QE74PM.js → FWC3YR25.js} +2 -2
- package/dist/arcgis-map-components/{SLXK2I7X.js → GOSYOR4U.js} +2 -2
- package/dist/arcgis-map-components/{OY6GSDLS.js → GRV2AUVA.js} +2 -2
- package/dist/arcgis-map-components/{Z4RL567L.js → HG3SZTGT.js} +2 -2
- package/dist/arcgis-map-components/{VV3DWCWP.js → HO5YWPFM.js} +2 -2
- package/dist/arcgis-map-components/{2JPSW6AB.js → INRBGBYV.js} +2 -2
- package/dist/arcgis-map-components/{SISG3G3P.js → INWHZ7L3.js} +2 -2
- package/dist/arcgis-map-components/{XA3UCKEH.js → J6ASGVXU.js} +2 -2
- package/dist/arcgis-map-components/{MTLWTLRT.js → J7T2BT5J.js} +2 -2
- package/dist/arcgis-map-components/JGCXCURU.js +4 -0
- package/dist/arcgis-map-components/{K22UC5QY.js → JJBY3YTG.js} +2 -2
- package/dist/arcgis-map-components/{CQVAZY7M.js → KHBA4OYW.js} +2 -2
- package/dist/arcgis-map-components/KSME6U5Y.js +4 -0
- package/dist/arcgis-map-components/{4UMPFYC3.js → LORQX2JD.js} +2 -2
- package/dist/arcgis-map-components/MBBOOAEU.js +4 -0
- package/dist/arcgis-map-components/{FQPT5ZC6.js → MZLOVIPA.js} +2 -2
- package/dist/arcgis-map-components/{MSVZ2VUT.js → NBDNPA4X.js} +2 -2
- package/dist/arcgis-map-components/{Y4QCHU3Q.js → NGUSKYVR.js} +2 -2
- package/dist/arcgis-map-components/{USZXNJET.js → NMBSR6NR.js} +2 -2
- package/dist/arcgis-map-components/{S3XAFA5J.js → NWYV6L4P.js} +2 -2
- package/dist/arcgis-map-components/OBC3S6VT.js +4 -0
- package/dist/arcgis-map-components/{M2OWNHMI.js → OGLLW2FV.js} +2 -2
- package/dist/arcgis-map-components/P2CLEOHE.js +4 -0
- package/dist/arcgis-map-components/{HVQ2NT6X.js → PKKL65A5.js} +2 -2
- package/dist/arcgis-map-components/{3A5FC4KQ.js → PKVDVS64.js} +2 -2
- package/dist/arcgis-map-components/{AY273L6P.js → PNORYIYX.js} +2 -2
- package/dist/arcgis-map-components/QLOX24UX.js +4 -0
- package/dist/arcgis-map-components/QZXFWCBX.js +4 -0
- package/dist/arcgis-map-components/{QJLLUEEV.js → SMIZOY3N.js} +2 -2
- package/dist/arcgis-map-components/{KIAIWKBQ.js → TBXAXPXO.js} +2 -2
- package/dist/arcgis-map-components/{KDCGVGYH.js → TSEVAAY5.js} +2 -2
- package/dist/arcgis-map-components/{3KZSEZRN.js → U54FPFXH.js} +2 -2
- package/dist/arcgis-map-components/{PGWRHIHM.js → UNMBUOHY.js} +2 -2
- package/dist/arcgis-map-components/VZM2TQ75.js +4 -0
- package/dist/arcgis-map-components/{A53MOEWK.js → WSK43RRV.js} +2 -2
- package/dist/arcgis-map-components/WXIB4GL4.js +4 -0
- package/dist/arcgis-map-components/{6RVHSQ5H.js → XMDB32OA.js} +2 -2
- package/dist/arcgis-map-components/{6VRYEU4N.js → XYKWR2B5.js} +2 -2
- package/dist/arcgis-map-components/{BV53SAHJ.js → Y3AWKOXA.js} +2 -2
- package/dist/arcgis-map-components/YFYSMCB6.js +4 -0
- package/dist/arcgis-map-components/{MIQEZOKO.js → YIEWNW4M.js} +1 -1
- package/dist/arcgis-map-components/YKR7TDB2.js +4 -0
- package/dist/arcgis-map-components/{PTYXF7GU.js → YV2TPLPI.js} +2 -2
- package/dist/arcgis-map-components/{QA27YEDI.js → YZI65CCO.js} +2 -2
- package/dist/arcgis-map-components/ZX57SG2S.js +4 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ar.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.en.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.js +64 -0
- package/dist/chunks/useViewModel.js +17 -57
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -22
- package/dist/components/arcgis-basemap-gallery/customElement.js +3 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -22
- package/dist/components/arcgis-basemap-toggle/customElement.js +7 -6
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +11 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -21
- package/dist/components/arcgis-compass/customElement.js +6 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -42
- package/dist/components/arcgis-directional-pad/customElement.js +6 -5
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -2
- package/dist/components/arcgis-editor/customElement.js +7 -7
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -10
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -20
- package/dist/components/arcgis-fullscreen/customElement.js +7 -6
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +3 -22
- package/dist/components/arcgis-home/customElement.js +6 -5
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +14 -14
- package/dist/components/arcgis-locate/customElement.d.ts +2 -21
- package/dist/components/arcgis-locate/customElement.js +11 -10
- package/dist/components/arcgis-map/customElement.d.ts +5 -1
- package/dist/components/arcgis-map/customElement.js +20 -12
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/css.d.ts +3 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +34 -39
- package/dist/components/arcgis-navigation-toggle/customElement.js +59 -18
- package/dist/components/arcgis-navigation-toggle/index.d.ts +2 -0
- package/dist/components/arcgis-navigation-toggle/index.js +2 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -21
- package/dist/components/arcgis-scale-bar/customElement.js +22 -21
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +5 -1
- package/dist/components/arcgis-scene/customElement.js +25 -17
- package/dist/components/arcgis-search/customElement.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -21
- package/dist/components/arcgis-swipe/customElement.js +3 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -11
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +2 -21
- package/dist/components/arcgis-track/customElement.js +3 -2
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -21
- package/dist/components/arcgis-version-management/customElement.js +3 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -21
- package/dist/components/arcgis-zoom/customElement.js +9 -8
- package/dist/controllers/useView.d.ts +41 -0
- package/dist/controllers/useViewModel.d.ts +14 -39
- package/dist/docs/api.json +383 -198
- package/dist/docs/docs.json +251 -84
- package/dist/docs/vscode.html-custom-data.json +167 -168
- package/dist/docs/web-types.json +113 -120
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +5 -5
- package/dist/arcgis-map-components/3H6MAGZA.js +0 -4
- package/dist/arcgis-map-components/5TS4EFWI.js +0 -4
- package/dist/arcgis-map-components/5WYQRESU.js +0 -4
- package/dist/arcgis-map-components/AOVFY7XF.js +0 -4
- package/dist/arcgis-map-components/B6CBNZBZ.js +0 -4
- package/dist/arcgis-map-components/BWXDNELH.js +0 -4
- package/dist/arcgis-map-components/EDCLHEQ4.js +0 -4
- package/dist/arcgis-map-components/EUKI6DIN.js +0 -4
- package/dist/arcgis-map-components/JUQS4ITT.js +0 -4
- package/dist/arcgis-map-components/K4C66BPU.js +0 -4
- package/dist/arcgis-map-components/NASMSXGY.js +0 -4
- package/dist/arcgis-map-components/O5B2GAVD.js +0 -4
- package/dist/arcgis-map-components/TA2MDZPZ.js +0 -4
- package/dist/arcgis-map-components/WFVQVSXS.js +0 -4
- package/dist/arcgis-map-components/XDGQJKBX.js +0 -4
- package/dist/arcgis-map-components/XWL5E4D5.js +0 -4
- package/dist/arcgis-map-components/YV2FL2IO.js +0 -4
- package/dist/arcgis-map-components/ZC63DPSH.js +0 -4
|
@@ -5,7 +5,7 @@ import { g as v } from "./runtime.js";
|
|
|
5
5
|
import { g as B } from "./globalCss.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.0-next.
|
|
8
|
+
v4.32.0-next.118 */
|
|
9
9
|
const t = "esri-basemap-gallery", i = {
|
|
10
10
|
base: t,
|
|
11
11
|
sourceLoading: `${t}--source-loading`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
3
|
+
v4.32.0-next.118 */
|
|
4
4
|
function P(e, i) {
|
|
5
5
|
Array.isArray(i) ? e._watchHandles = [...e._watchHandles, ...i] : e._watchHandles.push(i);
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { devToolsAwareTimeout as d } from "@arcgis/components-utils";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
v4.32.0-next.
|
|
4
|
+
v4.32.0-next.118 */
|
|
5
5
|
function a(i) {
|
|
6
6
|
i.el.childElem ? i.el.isConnected || (i.view?.ui ? i.view.ui.remove(i.el.childElem) : i.widget?.view && i.widget.view.ui.remove(i.el.childElem), i._watchHandles && i._watchHandles.forEach((o) => {
|
|
7
7
|
o.remove();
|
package/dist/chunks/globalCss.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
3
|
+
v4.32.0-next.118 */
|
|
4
4
|
const e = {
|
|
5
5
|
anchor: "esri-widget__anchor",
|
|
6
6
|
anchorDisabled: "esri-widget__anchor--disabled",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.
|
|
3
|
+
v4.32.0-next.118 */
|
|
4
4
|
const i = {
|
|
5
5
|
arrowDown: "esri-icon-arrow-down",
|
|
6
6
|
arrowUp: "esri-icon-arrow-up",
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeRuntime as t } from "@arcgis/lumina";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
v4.32.0-next.
|
|
4
|
+
v4.32.0-next.118 */
|
|
5
5
|
const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/map-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: m, setAssetPath: o } = s;
|
|
6
6
|
export {
|
|
7
7
|
a as c,
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { makeT9nController as a, proxyExports as h, GenericController as l, watch as n } from "@arcgis/components-controllers";
|
|
2
|
+
import { g as d } from "./runtime.js";
|
|
3
|
+
import { signal as m } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
4
|
+
import * as p from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { a as i } from "./component-utils.js";
|
|
6
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
|
+
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
+
v4.32.0-next.118 */
|
|
9
|
+
const E = a(d), _ = (s) => u(s);
|
|
10
|
+
class v extends l {
|
|
11
|
+
constructor(e) {
|
|
12
|
+
super(e), this._view$ = m(void 0), this._viewDestroyHandle = void 0, this._arcgisReadyEmitted = !1;
|
|
13
|
+
const { el: t } = e, r = t.view;
|
|
14
|
+
this.setProvisionalExports(void 0), Object.defineProperty(t, "view", {
|
|
15
|
+
get: () => this._view$.value,
|
|
16
|
+
set: (o) => {
|
|
17
|
+
if (this.exports === o)
|
|
18
|
+
return;
|
|
19
|
+
const c = t.view;
|
|
20
|
+
this._view$.value = o, this.exports = o, this.component.requestUpdate("view", c), !this._arcgisReadyEmitted && o != null && (this._arcgisReadyEmitted = !0, this.component.arcgisReady.emit());
|
|
21
|
+
},
|
|
22
|
+
configurable: !0,
|
|
23
|
+
enumerable: !0
|
|
24
|
+
}), e !== t && Object.defineProperty(e, "view", {
|
|
25
|
+
get: () => t.view,
|
|
26
|
+
set: (o) => {
|
|
27
|
+
t.view = o;
|
|
28
|
+
}
|
|
29
|
+
}), queueMicrotask(() => {
|
|
30
|
+
r && (t.view = r);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
hostConnected() {
|
|
34
|
+
this._viewDestroyHandle ??= p.when(
|
|
35
|
+
() => this._view$.value?.destroyed,
|
|
36
|
+
() => void this.component.destroy?.().catch(console.error),
|
|
37
|
+
{ sync: !0 }
|
|
38
|
+
), this.component.manager.loadedCalled && i(this.component);
|
|
39
|
+
}
|
|
40
|
+
hostLoad() {
|
|
41
|
+
this.component.manager.destroyed || this._watchMetaProperties();
|
|
42
|
+
}
|
|
43
|
+
hostLoaded() {
|
|
44
|
+
const { el: e } = this.component, t = e.shadowRoot?.firstElementChild ?? e.firstElementChild ?? void 0;
|
|
45
|
+
e.childElem = t ?? e.childElem, e.isConnected && i(this.component);
|
|
46
|
+
}
|
|
47
|
+
hostDisconnected() {
|
|
48
|
+
typeof this.component.el.childElem == "object" && this._view$.value?.ui?.remove(this.component.el.childElem);
|
|
49
|
+
}
|
|
50
|
+
hostDestroy() {
|
|
51
|
+
this._viewDestroyHandle?.remove();
|
|
52
|
+
}
|
|
53
|
+
_watchMetaProperties() {
|
|
54
|
+
n(this.component, "position", (e) => {
|
|
55
|
+
this.component.el.childElem != null && typeof e == "string" && i(this.component);
|
|
56
|
+
}), n(this.component, "referenceElement", () => i(this.component));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
const u = h(v);
|
|
60
|
+
export {
|
|
61
|
+
v as V,
|
|
62
|
+
_ as a,
|
|
63
|
+
E as u
|
|
64
|
+
};
|
|
@@ -1,68 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as o } from "./component-utils.js";
|
|
1
|
+
import { proxyExports as r } from "@arcgis/components-controllers";
|
|
2
|
+
import { AccessorController as i } from "@arcgis/components-controllers/accessor";
|
|
3
|
+
import { V as n } from "./useView.js";
|
|
5
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
7
|
-
v4.32.0-next.
|
|
8
|
-
const
|
|
9
|
-
class
|
|
10
|
-
|
|
11
|
-
this.
|
|
6
|
+
v4.32.0-next.118 */
|
|
7
|
+
const m = (o, t) => (e, s) => l(e, o, s);
|
|
8
|
+
class a extends i {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.viewController = new n(this.component), this._viewWatchHandle = void 0;
|
|
12
11
|
}
|
|
13
12
|
async hostLoad() {
|
|
14
|
-
await super.hostLoad(),
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
e.childElem = i ?? e.childElem;
|
|
19
|
-
let t = !1;
|
|
20
|
-
const n = this.component.el.view;
|
|
21
|
-
Object.defineProperty(this.component.el, "view", {
|
|
22
|
-
get: () => this._instance.view,
|
|
23
|
-
set: (c) => {
|
|
24
|
-
const a = this.component.el.view, r = c;
|
|
25
|
-
this._instance.view = r, this._instance.map = r?.map, this._watchViewDestroy(), this.component.requestUpdate("view", a), c && !t && (t = !0, this.component.arcgisReady.emit());
|
|
13
|
+
await super.hostLoad(), this._viewWatchHandle = this.reactiveUtils.watch(
|
|
14
|
+
() => this.component.el.view,
|
|
15
|
+
(t) => {
|
|
16
|
+
this._instance.view = t, this._instance.map = t?.map;
|
|
26
17
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}), n && (this._instance.view = n), this.component.el.isConnected && (o(this.component), this._watchViewDestroy());
|
|
30
|
-
}
|
|
31
|
-
hostDisconnected() {
|
|
32
|
-
typeof this.component.el.childElem == "object" && this.component.el.view?.ui?.remove(this.component.el.childElem);
|
|
18
|
+
{ sync: !0, initial: !0 }
|
|
19
|
+
);
|
|
33
20
|
}
|
|
34
21
|
hostDestroy() {
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
_watchMetaProperties() {
|
|
38
|
-
h(this.component, "position", (e) => {
|
|
39
|
-
this.component.el.childElem != null && typeof e == "string" && o(this.component);
|
|
40
|
-
}), h(this.component, "referenceElement", () => o(this.component));
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Destroy the component if view gets destroyed.
|
|
44
|
-
*
|
|
45
|
-
* When view is destroyed, component disconnect is triggered, which will
|
|
46
|
-
* destroy the component in 1s but that can be too late, because in the
|
|
47
|
-
* meanwhile, a watcher on the widget/viewModel instance may get triggered,
|
|
48
|
-
* and throw an error if it's not able to access this.view.map or etc
|
|
49
|
-
* (happens in VersionManagementViewModel for example).
|
|
50
|
-
*
|
|
51
|
-
* We can't check for this in disconnectedCallback though as, if the entire
|
|
52
|
-
* component tree is removed, the disconnect for the component will be
|
|
53
|
-
* triggered before that of arcgis-map, so the view might not be destroyed
|
|
54
|
-
* yet at that point.
|
|
55
|
-
*/
|
|
56
|
-
_watchViewDestroy() {
|
|
57
|
-
this._watchViewDestroyHandle?.remove(), this._watchViewDestroyHandle = this.reactiveUtils.when(
|
|
58
|
-
() => this.component.el.view?.destroyed === !0,
|
|
59
|
-
() => void this.component.destroy().catch(console.error),
|
|
60
|
-
{ sync: !0 }
|
|
61
|
-
);
|
|
22
|
+
this._viewWatchHandle?.remove(), super.hostDestroy();
|
|
62
23
|
}
|
|
63
24
|
}
|
|
64
|
-
const
|
|
25
|
+
const l = r(a);
|
|
65
26
|
export {
|
|
66
|
-
|
|
67
|
-
V as u
|
|
27
|
+
m
|
|
68
28
|
};
|
package/dist/chunks/useWidget.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AccessorController as p, accessorSupport as a } from "@arcgis/component
|
|
|
3
3
|
import { a as l } from "./component-utils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.0-next.
|
|
6
|
+
v4.32.0-next.118 */
|
|
7
7
|
const P = (d, s) => (i, e) => _(i, d, e);
|
|
8
8
|
class y extends p {
|
|
9
9
|
constructor(s, i, e) {
|
|
@@ -38,7 +38,7 @@ declare const useAreaMeasurement2dWidget: (component: import('@arcgis/components
|
|
|
38
38
|
} | undefined) => AreaMeasurement2D & {
|
|
39
39
|
viewModel: __esri.Accessor;
|
|
40
40
|
};
|
|
41
|
-
/**
|
|
41
|
+
/** AreaMeasurement2D component calculates and displays the area and perimeter of a polygon only in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
|
|
42
42
|
*/
|
|
43
43
|
export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
44
44
|
/**
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.118 */
|
|
10
10
|
const m = n`arcgis-area-measurement-2d{display:block}`, h = r(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
|
|
12
12
|
s
|
|
@@ -34,7 +34,7 @@ declare const useAreaMeasurement3dWidget: (component: import('@arcgis/components
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.AreaMeasurement3DProperties | undefined): __esri.AreaMeasurement3DProperties | Promise<__esri.AreaMeasurement3DProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => AreaMeasurement3D;
|
|
37
|
-
/**
|
|
37
|
+
/** AreaMeasurement3D component calculates and displays the area and perimeter of a polygon. This component can be used in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html) to measure the area and perimeter of a polygon.
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
40
40
|
readonly analysis: __esri.AreaMeasurementAnalysis;
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.118 */
|
|
10
10
|
const l = n`arcgis-area-measurement-3d{display:block}`, h = r(e);
|
|
11
11
|
class d extends i {
|
|
12
12
|
constructor() {
|
|
@@ -67,7 +67,7 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
67
67
|
label: string | nullish;
|
|
68
68
|
position: __esri.UIPosition;
|
|
69
69
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
70
|
-
readonly state: "ready" | "
|
|
70
|
+
readonly state: "ready" | "loading" | "disabled";
|
|
71
71
|
readonly submitting: boolean;
|
|
72
72
|
/** Permanently destroy the component */
|
|
73
73
|
destroy(): Promise<void>;
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.118 */
|
|
10
10
|
const n = h`arcgis-attachments{display:block}`, r = o(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js
CHANGED
|
@@ -6,7 +6,7 @@ import { B as e } from "../../../../chunks/basemap-gallery-item.js";
|
|
|
6
6
|
import "../../../../chunks/globalCss.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.118 */
|
|
10
10
|
export {
|
|
11
11
|
e as BasemapGalleryItem
|
|
12
12
|
};
|
|
@@ -12,29 +12,10 @@ declare const useBasemapGalleryViewModel: (component: import('@arcgis/components
|
|
|
12
12
|
el: HTMLElement;
|
|
13
13
|
autoDestroyDisabled?: boolean;
|
|
14
14
|
destroy?: () => Promise<void>;
|
|
15
|
-
} & Pick<BasemapGalleryViewModel, never> & {
|
|
16
|
-
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
17
|
-
state?: "ready" | "disabled" | "loading" | "unsupported" | undefined;
|
|
18
|
-
icon: Nil | string;
|
|
19
|
-
label: Nil | string;
|
|
20
|
-
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
21
|
-
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
22
|
-
position: __esri.UIPosition;
|
|
23
|
-
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
24
|
-
name: string;
|
|
25
|
-
}> | undefined;
|
|
26
|
-
el: HTMLElement & {
|
|
27
|
-
childElem?: HTMLElement & {
|
|
28
|
-
ownedBy?: HTMLElement;
|
|
29
|
-
};
|
|
30
|
-
view?: __esri.MapView | __esri.SceneView | undefined;
|
|
31
|
-
};
|
|
32
|
-
autoDestroyDisabled: boolean;
|
|
33
|
-
destroy: () => Promise<void>;
|
|
34
|
-
}, options?: {
|
|
15
|
+
} & Pick<BasemapGalleryViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<BasemapGalleryViewModel>, options?: {
|
|
35
16
|
editConstructorProperties(props: unknown): unknown;
|
|
36
17
|
} | undefined) => BasemapGalleryViewModel;
|
|
37
|
-
/**
|
|
18
|
+
/** BasemapGallery component displays a collection images representing basemaps from [ArcGIS.com](https://www.arcgis.com/index.html) or a user-defined set of map or image services. When a new basemap is selected from the BasemapGallery, the map's basemap layers are removed and replaced with the basemap layers of the associated basemap selected in the gallery.
|
|
38
19
|
*/
|
|
39
20
|
export declare class ArcgisBasemapGallery extends LitElement {
|
|
40
21
|
activeBasemap: __esri.Basemap | nullish;
|
|
@@ -74,7 +55,7 @@ export declare class ArcgisBasemapGallery extends LitElement {
|
|
|
74
55
|
/**
|
|
75
56
|
* The current state of the component.
|
|
76
57
|
*/
|
|
77
|
-
readonly state: "ready" | "
|
|
58
|
+
readonly state: "ready" | "loading" | "unsupported" | "disabled";
|
|
78
59
|
/** Permanently destroy the component */
|
|
79
60
|
destroy(): Promise<void>;
|
|
80
61
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -5,14 +5,15 @@ import { classes as v } from "@arcgis/components-utils";
|
|
|
5
5
|
import { when as b, watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import M from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
|
|
7
7
|
import { safeClassMap as r, LitElement as $, createEvent as _, noShadowRoot as B, nothing as g, safeStyleMap as x } from "@arcgis/lumina";
|
|
8
|
-
import { u as L
|
|
8
|
+
import { u as L } from "../../chunks/useView.js";
|
|
9
|
+
import { m as R } from "../../chunks/useViewModel.js";
|
|
9
10
|
import { unsafeStatic as E, html as I } from "lit/static-html.js";
|
|
10
11
|
import { g as n } from "../../chunks/globalCss.js";
|
|
11
12
|
import { c as l, B as D } from "../../chunks/basemap-gallery-item.js";
|
|
12
13
|
import { css as S } from "@lit/reactive-element/css-tag.js";
|
|
13
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
15
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
15
|
-
v4.32.0-next.
|
|
16
|
+
v4.32.0-next.118 */
|
|
16
17
|
function A({ level: o, class: t, children: e }) {
|
|
17
18
|
const s = k(o), a = `h${s}`, i = E(a);
|
|
18
19
|
return I`<${i} .ariaLevel=${String(s)} class=${r(v(n.heading, t))} role=heading>${e}</${i}>`;
|
|
@@ -34,7 +34,7 @@ declare const useBasemapLayerListWidget: (component: import('@arcgis/components-
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.BasemapLayerListProperties | undefined): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => BasemapLayerList;
|
|
37
|
-
/**
|
|
37
|
+
/** BasemapLayerList component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisBasemapLayerList extends LitElement {
|
|
40
40
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class ArcgisBasemapLayerList extends LitElement {
|
|
|
88
88
|
showErrors: boolean;
|
|
89
89
|
showFilter: boolean;
|
|
90
90
|
showTemporaryLayerIndicators: boolean;
|
|
91
|
-
readonly state: "ready" | "
|
|
91
|
+
readonly state: "ready" | "loading" | "disabled";
|
|
92
92
|
visibilityAppearance: "default" | "checkbox";
|
|
93
93
|
/** Permanently destroy the component */
|
|
94
94
|
destroy(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.118 */
|
|
11
11
|
const d = h`arcgis-basemap-layer-list{display:block}`, n = o(s);
|
|
12
12
|
class c extends r {
|
|
13
13
|
constructor() {
|
|
@@ -11,29 +11,10 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
|
|
|
11
11
|
el: HTMLElement;
|
|
12
12
|
autoDestroyDisabled?: boolean;
|
|
13
13
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<BasemapToggleViewModel, never> & {
|
|
15
|
-
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
16
|
-
state?: "ready" | "disabled" | "loading" | "incompatible-next-basemap" | undefined;
|
|
17
|
-
icon: Nil | string;
|
|
18
|
-
label: Nil | string;
|
|
19
|
-
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
20
|
-
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
21
|
-
position: __esri.UIPosition;
|
|
22
|
-
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
23
|
-
name: string;
|
|
24
|
-
}> | undefined;
|
|
25
|
-
el: HTMLElement & {
|
|
26
|
-
childElem?: HTMLElement & {
|
|
27
|
-
ownedBy?: HTMLElement;
|
|
28
|
-
};
|
|
29
|
-
view?: __esri.MapView | __esri.SceneView | undefined;
|
|
30
|
-
};
|
|
31
|
-
autoDestroyDisabled: boolean;
|
|
32
|
-
destroy: () => Promise<void>;
|
|
33
|
-
}, options?: {
|
|
14
|
+
} & Pick<BasemapToggleViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<BasemapToggleViewModel>, options?: {
|
|
34
15
|
editConstructorProperties(props: unknown): unknown;
|
|
35
16
|
} | undefined) => BasemapToggleViewModel;
|
|
36
|
-
/**
|
|
17
|
+
/** BasemapToggle component allows an end-user to switch between two basemaps. The toggled basemap is set inside the [view's](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html#view) [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#map) object.
|
|
37
18
|
*/
|
|
38
19
|
export declare class ArcgisBasemapToggle extends LitElement {
|
|
39
20
|
private messages;
|
|
@@ -61,7 +42,7 @@ export declare class ArcgisBasemapToggle extends LitElement {
|
|
|
61
42
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
62
43
|
/** The visible elements that are displayed within the widget. */
|
|
63
44
|
showTitle: boolean;
|
|
64
|
-
readonly state: "ready" | "
|
|
45
|
+
readonly state: "ready" | "loading" | "disabled" | "incompatible-next-basemap";
|
|
65
46
|
/** Permanently destroy the component */
|
|
66
47
|
destroy(): Promise<void>;
|
|
67
48
|
/** Toggles to the [next basemap](#nextBasemap). */
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as l } from "lit-html";
|
|
3
|
-
import { usePropertyChange as
|
|
3
|
+
import { usePropertyChange as B } from "@arcgis/components-controllers";
|
|
4
4
|
import { classes as m } from "@arcgis/components-utils";
|
|
5
5
|
import { getBasemapThumbnailUrl as S } from "@arcgis/core/applications/Components/basemapUtils.js";
|
|
6
6
|
import x from "@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js";
|
|
7
7
|
import { LitElement as T, createEvent as M, noShadowRoot as k, safeClassMap as a, nothing as c, safeStyleMap as b } from "@arcgis/lumina";
|
|
8
|
-
import { u as I
|
|
8
|
+
import { u as I } from "../../chunks/useView.js";
|
|
9
|
+
import { m as C } from "../../chunks/useViewModel.js";
|
|
9
10
|
import { g as u } from "../../chunks/globalCss.js";
|
|
10
11
|
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
11
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
13
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
14
|
+
v4.32.0-next.118 */
|
|
14
15
|
const A = L`arcgis-basemap-toggle{display:block}`, s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
15
16
|
base: s,
|
|
16
17
|
secondaryBasemapImage: `${s}__image--secondary`,
|
|
@@ -23,7 +24,7 @@ const A = L`arcgis-basemap-toggle{display:block}`, s = "esri-basemap-toggle", o
|
|
|
23
24
|
}, D = C(x);
|
|
24
25
|
class E extends T {
|
|
25
26
|
constructor() {
|
|
26
|
-
super(...arguments), this.messages = I(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange =
|
|
27
|
+
super(...arguments), this.messages = I(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = B()("nextBasemap", "state"), this.arcgisReady = M();
|
|
27
28
|
}
|
|
28
29
|
static {
|
|
29
30
|
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
|
|
@@ -59,7 +60,7 @@ class E extends T {
|
|
|
59
60
|
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${r ?? c}>${r}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(m(e.base, u.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${d} kind=neutral .label=${this.label ?? void 0} @click=${() => void this.toggle()} title=${this.label ?? void 0 ?? c}><div class=${a(m(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${b(w)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image, p ? e.imageLoading : null))} style=${b(_)}>${p || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(u.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
|
|
63
|
+
f("arcgis-basemap-toggle", E);
|
|
63
64
|
export {
|
|
64
65
|
E as ArcgisBasemapToggle
|
|
65
66
|
};
|
|
@@ -34,7 +34,7 @@ declare const useBookmarksWidget: (component: import('@arcgis/components-control
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.BookmarksProperties | undefined): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => Bookmarks;
|
|
37
|
-
/**
|
|
37
|
+
/** Bookmarks component allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisBookmarks extends LitElement {
|
|
40
40
|
/**
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.118 */
|
|
11
11
|
const r = d`arcgis-bookmarks{display:block}`, n = h(s);
|
|
12
12
|
class m extends o {
|
|
13
13
|
constructor() {
|
|
@@ -34,7 +34,7 @@ declare const useBuildingExplorerWidget: (component: import('@arcgis/components-
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.BuildingExplorerProperties | undefined): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => BuildingExplorer;
|
|
37
|
-
/**
|
|
37
|
+
/** BuildingExplorer component is used to filter and explore the various components of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of components grouped in sublayers. Using this component, buildings can be filtered by level, construction phase or by disciplines and categories.
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisBuildingExplorer extends LitElement {
|
|
40
40
|
/**
|
|
@@ -62,7 +62,7 @@ export declare class ArcgisBuildingExplorer extends LitElement {
|
|
|
62
62
|
readonly phase: __esri.BuildingPhase;
|
|
63
63
|
position: __esri.UIPosition;
|
|
64
64
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
65
|
-
readonly state: "ready" | "
|
|
65
|
+
readonly state: "ready" | "loading" | "failed" | "disabled";
|
|
66
66
|
/** Permanently destroy the component */
|
|
67
67
|
destroy(): Promise<void>;
|
|
68
68
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -6,7 +6,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.118 */
|
|
10
10
|
const a = r`arcgis-building-explorer{display:block}`, d = h(s);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
|
@@ -18,7 +18,15 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
|
|
|
18
18
|
icon: Nil | string;
|
|
19
19
|
label: Nil | string;
|
|
20
20
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
21
|
-
position: __esri.
|
|
21
|
+
position: __esri.
|
|
22
|
+
/**
|
|
23
|
+
* If true, the component will not be destroyed automatically when it is
|
|
24
|
+
* disconnected from the document. This is useful when you want to move the
|
|
25
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
26
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
27
|
+
* memory leaks.
|
|
28
|
+
*/
|
|
29
|
+
UIPosition;
|
|
22
30
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
23
31
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
24
32
|
name: string;
|
|
@@ -34,7 +42,7 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
|
|
|
34
42
|
}, options?: {
|
|
35
43
|
editConstructorProperties(props: __esri.CatalogLayerListProperties | undefined): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties | undefined> | undefined;
|
|
36
44
|
} | undefined) => CatalogLayerList;
|
|
37
|
-
/** The
|
|
45
|
+
/** The CatalogLayerList component provides a way to display and interact with CatalogLayers.
|
|
38
46
|
*/
|
|
39
47
|
export declare class ArcgisCatalogLayerList extends LitElement {
|
|
40
48
|
/**
|
|
@@ -75,7 +83,7 @@ export declare class ArcgisCatalogLayerList extends LitElement {
|
|
|
75
83
|
showFilter: boolean;
|
|
76
84
|
showHeading: boolean;
|
|
77
85
|
showTemporaryLayerIndicators: boolean;
|
|
78
|
-
readonly state: "ready" | "
|
|
86
|
+
readonly state: "ready" | "loading" | "disabled";
|
|
79
87
|
visibilityAppearance: "default" | "checkbox";
|
|
80
88
|
/** Permanently destroy the component */
|
|
81
89
|
destroy(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.118 */
|
|
11
11
|
const d = h`arcgis-catalog-layer-list{display:block}`, n = r(s);
|
|
12
12
|
class c extends o {
|
|
13
13
|
constructor() {
|
|
@@ -11,29 +11,10 @@ declare const useCompassViewModel: (component: import('@arcgis/components-contro
|
|
|
11
11
|
el: HTMLElement;
|
|
12
12
|
autoDestroyDisabled?: boolean;
|
|
13
13
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<CompassViewModel, never> & {
|
|
15
|
-
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
16
|
-
state?: "rotation" | "disabled" | "compass" | undefined;
|
|
17
|
-
icon: Nil | string;
|
|
18
|
-
label: Nil | string;
|
|
19
|
-
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
20
|
-
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
21
|
-
position: __esri.UIPosition;
|
|
22
|
-
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
23
|
-
name: string;
|
|
24
|
-
}> | undefined;
|
|
25
|
-
el: HTMLElement & {
|
|
26
|
-
childElem?: HTMLElement & {
|
|
27
|
-
ownedBy?: HTMLElement;
|
|
28
|
-
};
|
|
29
|
-
view?: __esri.MapView | __esri.SceneView | undefined;
|
|
30
|
-
};
|
|
31
|
-
autoDestroyDisabled: boolean;
|
|
32
|
-
destroy: () => Promise<void>;
|
|
33
|
-
}, options?: {
|
|
14
|
+
} & Pick<CompassViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<CompassViewModel>, options?: {
|
|
34
15
|
editConstructorProperties(props: unknown): unknown;
|
|
35
16
|
} | undefined) => CompassViewModel;
|
|
36
|
-
/** The
|
|
17
|
+
/** The Compass component indicates where north is in relation to the current view [rotation](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#rotation) or [camera heading](https://developers.arcgis.com/javascript/latest/api-reference/esri-Camera.html#heading).
|
|
37
18
|
*/
|
|
38
19
|
export declare class ArcgisCompass extends LitElement {
|
|
39
20
|
private messages;
|