@arcgis/map-components 4.32.0-next.116 → 4.32.0-next.117
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/{QA27YEDI.js → 26P7WYAH.js} +2 -2
- package/dist/arcgis-map-components/{Y4QCHU3Q.js → 2LC3SHAW.js} +2 -2
- package/dist/arcgis-map-components/{PTYXF7GU.js → 2TMWQQNX.js} +2 -2
- package/dist/arcgis-map-components/{AY273L6P.js → 2UNECELQ.js} +2 -2
- package/dist/arcgis-map-components/{XA3UCKEH.js → 2YJ7AYNY.js} +2 -2
- package/dist/arcgis-map-components/{M2OWNHMI.js → 3ERRD4AW.js} +2 -2
- package/dist/arcgis-map-components/{ZC63DPSH.js → 3GZ5QHD6.js} +2 -2
- package/dist/arcgis-map-components/{6VRYEU4N.js → 4LJN5T43.js} +2 -2
- package/dist/arcgis-map-components/{A53MOEWK.js → 4Z7C2ODE.js} +2 -2
- package/dist/arcgis-map-components/{K5BU3ULI.js → 5ML66TD3.js} +1 -1
- package/dist/arcgis-map-components/{USZXNJET.js → 5NDDQHKW.js} +2 -2
- package/dist/arcgis-map-components/{5TS4EFWI.js → 5SJJCR34.js} +2 -2
- package/dist/arcgis-map-components/{VV3DWCWP.js → 5VJNXUNN.js} +2 -2
- package/dist/arcgis-map-components/{BGTXH5LD.js → 5YYO2XCT.js} +2 -2
- package/dist/arcgis-map-components/{QPUXDMMW.js → 6FZUB5NX.js} +2 -2
- package/dist/arcgis-map-components/7GSTVNPL.js +4 -0
- package/dist/arcgis-map-components/{MIQEZOKO.js → 7MH3S7KJ.js} +1 -1
- package/dist/arcgis-map-components/{7YIZHLHX.js → A464UGRG.js} +2 -2
- package/dist/arcgis-map-components/{SLXK2I7X.js → A6O6WBMD.js} +2 -2
- package/dist/arcgis-map-components/{Z4RL567L.js → AA2NZ6JX.js} +2 -2
- package/dist/arcgis-map-components/{6RVHSQ5H.js → AOH6OI2V.js} +2 -2
- package/dist/arcgis-map-components/{KIAIWKBQ.js → AVOW3SWD.js} +2 -2
- package/dist/arcgis-map-components/{XDGQJKBX.js → B2UPBTVU.js} +2 -2
- package/dist/arcgis-map-components/{UMKIX4CB.js → B64JIPNU.js} +2 -2
- package/dist/arcgis-map-components/{FOQCZZXN.js → BF54IGV2.js} +2 -2
- package/dist/arcgis-map-components/{KPJCCNGQ.js → C3FRQVSB.js} +1 -1
- package/dist/arcgis-map-components/{3H6MAGZA.js → CTTQ5ISZ.js} +2 -2
- package/dist/arcgis-map-components/{YV2FL2IO.js → DZA6L5FZ.js} +2 -2
- package/dist/arcgis-map-components/E3MCTVXN.js +4 -0
- package/dist/arcgis-map-components/{SISG3G3P.js → E5HKFXIP.js} +2 -2
- package/dist/arcgis-map-components/{OY6GSDLS.js → E6SPBLZK.js} +2 -2
- package/dist/arcgis-map-components/{JUQS4ITT.js → ECV3YJL3.js} +2 -2
- package/dist/arcgis-map-components/{ZA3UWZ2F.js → ERHVNNIN.js} +1 -1
- package/dist/arcgis-map-components/{UMWCCPE2.js → EXIFR4YA.js} +2 -2
- package/dist/arcgis-map-components/{KDCGVGYH.js → F4XIKTOL.js} +2 -2
- package/dist/arcgis-map-components/{BWXDNELH.js → FYRT6MHO.js} +2 -2
- package/dist/arcgis-map-components/{TRA7WGHJ.js → H24H7ZNU.js} +2 -2
- package/dist/arcgis-map-components/{EE3MXPBL.js → HSP5U6FE.js} +2 -2
- package/dist/arcgis-map-components/{MTLWTLRT.js → IUH2NA3J.js} +2 -2
- package/dist/arcgis-map-components/{CE66WQX5.js → J2I3JP4T.js} +2 -2
- package/dist/arcgis-map-components/{HUN27NCI.js → JEOPYG2W.js} +2 -2
- package/dist/arcgis-map-components/JHCTPP2I.js +4 -0
- package/dist/arcgis-map-components/{3A5FC4KQ.js → JNMFFRL5.js} +2 -2
- package/dist/arcgis-map-components/JT3AWM6U.js +4 -0
- package/dist/arcgis-map-components/{FQPT5ZC6.js → JXXIXPN6.js} +2 -2
- package/dist/arcgis-map-components/{BV53SAHJ.js → LCLO7E37.js} +2 -2
- package/dist/arcgis-map-components/{QJLLUEEV.js → LTXYVQ3B.js} +2 -2
- package/dist/arcgis-map-components/{PGWRHIHM.js → NJLS4UVB.js} +2 -2
- package/dist/arcgis-map-components/{MSVZ2VUT.js → NSUYY7KF.js} +2 -2
- package/dist/arcgis-map-components/{Q7HMT6YC.js → ODTGJ45O.js} +2 -2
- package/dist/arcgis-map-components/{UFOTW5ES.js → OGWBN4HD.js} +2 -2
- package/dist/arcgis-map-components/{4HB5XJZJ.js → OQ2UYVSY.js} +2 -2
- package/dist/arcgis-map-components/{GCFTNE4V.js → OYPNBPE4.js} +2 -2
- package/dist/arcgis-map-components/{UHQVWMIH.js → P2KLP525.js} +2 -2
- package/dist/arcgis-map-components/PJ5B3SK3.js +4 -0
- package/dist/arcgis-map-components/{XWL5E4D5.js → PTM2OKM6.js} +2 -2
- package/dist/arcgis-map-components/{K22UC5QY.js → QQTK66I4.js} +2 -2
- package/dist/arcgis-map-components/{O5B2GAVD.js → T4PUC65F.js} +2 -2
- package/dist/arcgis-map-components/{HVQ2NT6X.js → TOJF3VSS.js} +2 -2
- package/dist/arcgis-map-components/{7ZVXYGGP.js → U72IUMSB.js} +2 -2
- package/dist/arcgis-map-components/{3KZSEZRN.js → UKTTAWH7.js} +2 -2
- package/dist/arcgis-map-components/{K4C66BPU.js → UMFKKYJF.js} +2 -2
- package/dist/arcgis-map-components/{TA2MDZPZ.js → UNBT3U4A.js} +2 -2
- package/dist/arcgis-map-components/{YW2IECCB.js → UUFVB3XF.js} +2 -2
- package/dist/arcgis-map-components/{S3XAFA5J.js → VNK6O2BI.js} +2 -2
- package/dist/arcgis-map-components/WAM3WB65.js +4 -0
- package/dist/arcgis-map-components/{4UMPFYC3.js → WUAPWNKE.js} +2 -2
- package/dist/arcgis-map-components/{2JPSW6AB.js → X55LTRC5.js} +2 -2
- package/dist/arcgis-map-components/{WFVQVSXS.js → XEMVO67G.js} +2 -2
- package/dist/arcgis-map-components/{O5QE74PM.js → XT4LT46N.js} +2 -2
- package/dist/arcgis-map-components/{CQVAZY7M.js → YOI6NSPO.js} +2 -2
- package/dist/arcgis-map-components/{DCEWCBP4.js → ZRBRLC6Y.js} +2 -2
- 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/useViewModel.js +65 -50
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +4 -4
- 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 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/NavigationToggleViewModel.d.ts +17 -0
- package/dist/components/arcgis-navigation-toggle/css.d.ts +3 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +41 -33
- package/dist/components/arcgis-navigation-toggle/customElement.js +93 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/controllers/useView.d.ts +41 -0
- package/dist/controllers/useViewModel.d.ts +14 -39
- package/dist/docs/api.json +384 -185
- package/dist/docs/docs.json +251 -63
- package/dist/docs/vscode.html-custom-data.json +167 -168
- package/dist/docs/web-types.json +113 -117
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -5
- 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/EDCLHEQ4.js +0 -4
- package/dist/arcgis-map-components/EUKI6DIN.js +0 -4
- package/dist/arcgis-map-components/NASMSXGY.js +0 -4
|
@@ -34,7 +34,7 @@ declare const useLegendWidget: (component: import('@arcgis/components-controller
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.LegendProperties | undefined): __esri.LegendProperties | Promise<__esri.LegendProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => Legend;
|
|
37
|
-
/** The
|
|
37
|
+
/** The Legend component describes the symbols used to represent layers in a map.
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisLegend extends LitElement {
|
|
40
40
|
activeLayerInfos: __esri.Collection<__esri.ActiveLayerInfo>;
|
|
@@ -6,7 +6,7 @@ import { m as o } 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.117 */
|
|
10
10
|
const d = n`arcgis-legend{display:block}`, h = o(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
|
@@ -34,7 +34,7 @@ declare const useLineOfSightWidget: (component: import('@arcgis/components-contr
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.LineOfSightProperties | undefined): __esri.LineOfSightProperties | Promise<__esri.LineOfSightProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => LineOfSight;
|
|
37
|
-
/**
|
|
37
|
+
/** LineOfSight component is a 3D analysis tool that allows you to perform visibility analysis in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisLineOfSight extends LitElement {
|
|
40
40
|
readonly analysis: __esri.LineOfSightAnalysis;
|
|
@@ -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.117 */
|
|
10
10
|
const l = n`arcgis-line-of-sight{display:block}`, h = r(i);
|
|
11
11
|
class c extends e {
|
|
12
12
|
constructor() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { makeAccessorController as
|
|
2
|
+
import { makeAccessorController as r, reEmitEvent as t, accessorSupport as v } from "@arcgis/components-controllers/accessor";
|
|
3
3
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import d from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import l from "@arcgis/core/WebLinkChart.js";
|
|
6
6
|
import { LitElement as p, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
|
|
7
|
-
import { e as
|
|
7
|
+
import { e as h, i as g } from "../../chunks/component-utils.js";
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
12
|
-
const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f =
|
|
11
|
+
v4.32.0-next.117 */
|
|
12
|
+
const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
13
13
|
l,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -20,12 +20,12 @@ const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f =
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
),
|
|
24
|
-
class
|
|
23
|
+
), V = r(d, {});
|
|
24
|
+
class b extends p {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(...arguments), this._map = f(this, {
|
|
26
|
+
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, {
|
|
27
27
|
editConstructorProperties: this._editMapProperties
|
|
28
|
-
}), this.view =
|
|
28
|
+
}), this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this.view = V(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
31
|
this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, graphics: 0, highlights: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
|
|
@@ -47,7 +47,7 @@ class V extends p {
|
|
|
47
47
|
return this.view.center ?? this._center;
|
|
48
48
|
}
|
|
49
49
|
set center(i) {
|
|
50
|
-
const e =
|
|
50
|
+
const e = h(i, this.ready ? this.view : void 0);
|
|
51
51
|
e && (this.ready && (this.view.center = e), this._center = e);
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -61,7 +61,7 @@ class V extends p {
|
|
|
61
61
|
return this.view.extent ?? this._extent;
|
|
62
62
|
}
|
|
63
63
|
set extent(i) {
|
|
64
|
-
this.view.ready
|
|
64
|
+
this.view.ready && !this.extent?.equals(i) && (this.view.extent = i), this._extent = i;
|
|
65
65
|
}
|
|
66
66
|
/** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
|
|
67
67
|
get interacting() {
|
|
@@ -106,7 +106,7 @@ class V extends p {
|
|
|
106
106
|
return this.view.viewpoint ?? this._viewpoint;
|
|
107
107
|
}
|
|
108
108
|
set viewpoint(i) {
|
|
109
|
-
g(this.viewpoint, i) && (this.
|
|
109
|
+
this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* Represents the level of detail (LOD) at the center of the view.
|
|
@@ -196,11 +196,11 @@ class V extends p {
|
|
|
196
196
|
await this.manager.use(this._map), this.view.ui || (i.ui = {
|
|
197
197
|
components: ["attribution"]
|
|
198
198
|
}), i.map ??= this._map;
|
|
199
|
-
const e =
|
|
199
|
+
const e = h(this.center, void 0);
|
|
200
200
|
return e && (i.center = e), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
c("arcgis-link-chart",
|
|
203
|
+
c("arcgis-link-chart", b);
|
|
204
204
|
export {
|
|
205
|
-
|
|
205
|
+
b as ArcgisLinkChart
|
|
206
206
|
};
|
|
@@ -11,29 +11,10 @@ declare const useLocateViewModel: (component: import('@arcgis/components-control
|
|
|
11
11
|
el: HTMLElement;
|
|
12
12
|
autoDestroyDisabled?: boolean;
|
|
13
13
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<LocateViewModel, never> & {
|
|
15
|
-
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
16
|
-
state?: "ready" | "disabled" | "error" | "feature-unsupported" | "locating" | 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<LocateViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LocateViewModel>, options?: {
|
|
34
15
|
editConstructorProperties(props: unknown): unknown;
|
|
35
16
|
} | undefined) => LocateViewModel;
|
|
36
|
-
/**
|
|
17
|
+
/** Locate component animates the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to the user's current location.
|
|
37
18
|
*/
|
|
38
19
|
export declare class ArcgisLocate extends LitElement {
|
|
39
20
|
private messages;
|
|
@@ -11,7 +11,7 @@ import { l as $ } from "../../chunks/legacyIcon.js";
|
|
|
11
11
|
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
14
|
-
v4.32.0-next.
|
|
14
|
+
v4.32.0-next.117 */
|
|
15
15
|
const D = L`arcgis-locate{display:block}`, O = {
|
|
16
16
|
base: "esri-locate"
|
|
17
17
|
}, n = "gps-off", T = y(v);
|
|
@@ -30,7 +30,7 @@ declare const useMapView: (component: import('@arcgis/components-controllers').S
|
|
|
30
30
|
}, options?: {
|
|
31
31
|
editConstructorProperties(props: __esri.MapViewProperties | undefined): __esri.MapViewProperties | Promise<__esri.MapViewProperties | undefined> | undefined;
|
|
32
32
|
} | undefined) => MapView;
|
|
33
|
-
/** Loads a
|
|
33
|
+
/** Loads a WebMap from [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
|
|
34
34
|
*/
|
|
35
35
|
export declare class ArcgisMap extends LitElement {
|
|
36
36
|
/** Internal view of the component. */
|
|
@@ -242,6 +242,10 @@ export declare class ArcgisMap extends LitElement {
|
|
|
242
242
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
243
243
|
/** Adds a layer or array of layers to the map layers collection. */
|
|
244
244
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
245
|
+
/** Adds a table to the map tables collection. */
|
|
246
|
+
addTable(table: __esri.FeatureLayer): Promise<void>;
|
|
247
|
+
/** Adds a table or array of tables to the map tables collection. */
|
|
248
|
+
addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>;
|
|
245
249
|
/** Closes the popup. */
|
|
246
250
|
closePopup(): Promise<void>;
|
|
247
251
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { makeAccessorController as r, reEmitEvent as e, accessorSupport as
|
|
2
|
+
import { makeAccessorController as r, reEmitEvent as e, accessorSupport as d } from "@arcgis/components-controllers/accessor";
|
|
3
3
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import p from "@arcgis/core/views/MapView.js";
|
|
5
|
+
import v from "@arcgis/core/WebMap.js";
|
|
6
6
|
import { LitElement as l, createEvent as a, noShadowRoot as m } from "@arcgis/lumina";
|
|
7
7
|
import { e as h, i as g } from "../../chunks/component-utils.js";
|
|
8
8
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
11
|
+
v4.32.0-next.117 */
|
|
12
12
|
const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
13
|
-
|
|
13
|
+
v,
|
|
14
14
|
/**
|
|
15
15
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
16
16
|
* a hack to remove them from the runtime code. This argument is not used at
|
|
@@ -20,10 +20,10 @@ const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
|
20
20
|
* in an externalized package.
|
|
21
21
|
*/
|
|
22
22
|
{}
|
|
23
|
-
), b = r(
|
|
24
|
-
class
|
|
23
|
+
), b = r(p, {});
|
|
24
|
+
class _ extends l {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(...arguments), this._map = f(this, { editConstructorProperties: this._editMapProperties }), this.view = b(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
|
|
26
|
+
super(...arguments), this._center = void 0, this._extent = void 0, this._itemId = void 0, this._map = f(this, { editConstructorProperties: this._editMapProperties }), this._scale = void 0, this._viewpoint = void 0, this._zoom = void 0, this.view = b(this, { editConstructorProperties: this._editViewProperties }), this.allLayerViews = this.view.allLayerViews, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layer-view-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layer-view-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layer-view-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a();
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
29
|
this.properties = { view: 32, allLayerViews: 0, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, highlights: 0, highlightOptions: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupDisabled: 5, ready: 4, resizeAlign: 1, resolution: 8, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, timeZone: 1, updating: 7, viewpoint: 0, zoom: 9 };
|
|
@@ -76,7 +76,7 @@ class V extends l {
|
|
|
76
76
|
return this._map.portalItem?.id ?? this._itemId;
|
|
77
77
|
}
|
|
78
78
|
set itemId(i) {
|
|
79
|
-
this._itemId = i, this.ready &&
|
|
79
|
+
this._itemId = i, this.ready && d.reCreate(this._map, this).then(() => {
|
|
80
80
|
this.view.map = this._map;
|
|
81
81
|
}).catch(console.error);
|
|
82
82
|
}
|
|
@@ -107,7 +107,7 @@ class V extends l {
|
|
|
107
107
|
return this.view.viewpoint ?? this._viewpoint;
|
|
108
108
|
}
|
|
109
109
|
set viewpoint(i) {
|
|
110
|
-
g(this.viewpoint, i) && (this.
|
|
110
|
+
this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* Represents the level of detail (LOD) at the center of the view.
|
|
@@ -136,6 +136,14 @@ class V extends l {
|
|
|
136
136
|
async addLayers(i, t) {
|
|
137
137
|
this.map?.addMany(i, t);
|
|
138
138
|
}
|
|
139
|
+
/** Adds a table to the map tables collection. */
|
|
140
|
+
async addTable(i) {
|
|
141
|
+
this.map?.tables.add(i);
|
|
142
|
+
}
|
|
143
|
+
/** Adds a table or array of tables to the map tables collection. */
|
|
144
|
+
async addTables(i, t) {
|
|
145
|
+
this.map?.tables.addMany(i, t);
|
|
146
|
+
}
|
|
139
147
|
/** Closes the popup. */
|
|
140
148
|
async closePopup() {
|
|
141
149
|
this.view?.closePopup();
|
|
@@ -207,7 +215,7 @@ class V extends l {
|
|
|
207
215
|
return t && (i.center = t), this.viewpoint && (i.viewpoint = this.viewpoint), this.scale !== void 0 && (i.scale = this.scale), this.extent && (i.extent = this.extent), this.zoom !== void 0 && (i.zoom = this.zoom), i;
|
|
208
216
|
}
|
|
209
217
|
}
|
|
210
|
-
c("arcgis-map",
|
|
218
|
+
c("arcgis-map", _);
|
|
211
219
|
export {
|
|
212
|
-
|
|
220
|
+
_ as ArcgisMap
|
|
213
221
|
};
|
|
@@ -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.117 */
|
|
10
10
|
const c = n`arcgis-measurement{display:block}`, h = r(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as Accessor } from '@arcgis/core/core/Accessor.js';
|
|
2
|
+
import { default as SceneView } from '@arcgis/core/views/SceneView.js';
|
|
3
|
+
export type State = "disabled" | "ready";
|
|
4
|
+
export type NavigationMode = "pan" | "rotate";
|
|
5
|
+
export type ConstructProperties = Pick<NavigationToggleViewModel, "navigationMode" | "view">;
|
|
6
|
+
export declare class NavigationToggleViewModel extends Accessor {
|
|
7
|
+
constructor(properties?: Partial<ConstructProperties>);
|
|
8
|
+
protected initialize(): void;
|
|
9
|
+
destroy(): void;
|
|
10
|
+
get state(): State;
|
|
11
|
+
private _navigationMode;
|
|
12
|
+
get navigationMode(): NavigationMode;
|
|
13
|
+
set navigationMode(mode: NavigationMode);
|
|
14
|
+
view: SceneView | undefined;
|
|
15
|
+
toggle(): void;
|
|
16
|
+
private _setNavigationMode;
|
|
17
|
+
}
|
|
@@ -2,39 +2,22 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
6
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
|
+
import { NavigationToggleViewModel } from './NavigationToggleViewModel';
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
type LayoutMode = "horizontal" | "vertical";
|
|
10
|
+
declare const useViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
10
11
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
11
12
|
el: HTMLElement;
|
|
12
13
|
autoDestroyDisabled?: boolean;
|
|
13
14
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
21
|
-
position: __esri.UIPosition;
|
|
22
|
-
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
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 | Nil;
|
|
31
|
-
};
|
|
32
|
-
autoDestroyDisabled: boolean;
|
|
33
|
-
destroy: () => Promise<void>;
|
|
34
|
-
}, options?: {
|
|
35
|
-
editConstructorProperties(props: __esri.NavigationToggleProperties | undefined): __esri.NavigationToggleProperties | Promise<__esri.NavigationToggleProperties | undefined> | undefined;
|
|
36
|
-
} | undefined) => NavigationToggle;
|
|
37
|
-
/** The [NavigationToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle.html) two simple buttons for toggling the [navigation mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle-NavigationToggleViewModel.html#navigationMode) of a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
15
|
+
} & Pick<NavigationToggleViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<NavigationToggleViewModel>, options?: {
|
|
16
|
+
editConstructorProperties(props: unknown): unknown;
|
|
17
|
+
} | undefined) => NavigationToggleViewModel;
|
|
18
|
+
/**
|
|
19
|
+
* The NavigationToggle component has two simple buttons for toggling the [navigation mode](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-NavigationToggle-NavigationToggleViewModel.html#navigationMode)
|
|
20
|
+
* of a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
38
21
|
*/
|
|
39
22
|
export declare class ArcgisNavigationToggle extends LitElement {
|
|
40
23
|
/**
|
|
@@ -50,14 +33,39 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
50
33
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
51
34
|
* Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
|
|
52
35
|
*/
|
|
53
|
-
icon:
|
|
54
|
-
/** The
|
|
55
|
-
label: string;
|
|
56
|
-
|
|
36
|
+
icon: HTMLCalciteIconElement["icon"] | Nil;
|
|
37
|
+
/** The widget's default label. */
|
|
38
|
+
label: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Sets the layout of the widget to either `horizontal` or `vertical`. See the
|
|
41
|
+
* table below for a list of possible values.
|
|
42
|
+
*
|
|
43
|
+
* Possible Value | Example
|
|
44
|
+
* ---------------|--------
|
|
45
|
+
* vertical | 
|
|
46
|
+
* horizontal | 
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* // creates a new instance of the NavigationToggle widget
|
|
50
|
+
* let navigationToggle = new NavigationToggle({
|
|
51
|
+
* view: view,
|
|
52
|
+
* layout: "horizontal" // makes the layout horizontal
|
|
53
|
+
* });
|
|
54
|
+
*/
|
|
55
|
+
layout: LayoutMode;
|
|
56
|
+
/**
|
|
57
|
+
* The navigation mode of the [view](#view). See the table below for a list of
|
|
58
|
+
* possible values.
|
|
59
|
+
*
|
|
60
|
+
* Possible Value | Description
|
|
61
|
+
* ---------------|-------------
|
|
62
|
+
* pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
63
|
+
* rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
64
|
+
*/
|
|
65
|
+
navigationMode: import('./NavigationToggleViewModel').NavigationMode;
|
|
57
66
|
position: __esri.UIPosition;
|
|
58
67
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
59
|
-
|
|
60
|
-
navigationMode: "rotate" | "pan";
|
|
68
|
+
state: import('./NavigationToggleViewModel').State;
|
|
61
69
|
/** Permanently destroy the component */
|
|
62
70
|
destroy(): Promise<void>;
|
|
63
71
|
toggle(): Promise<void>;
|
|
@@ -1,37 +1,112 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { m as
|
|
6
|
-
import {
|
|
1
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as p } from "lit-html";
|
|
3
|
+
import { usePropertyChange as h } from "@arcgis/components-controllers";
|
|
4
|
+
import { LitElement as M, createEvent as m, noShadowRoot as w, safeClassMap as y, nothing as g } from "@arcgis/lumina";
|
|
5
|
+
import { u, m as b } from "../../chunks/useViewModel.js";
|
|
6
|
+
import { g as f } from "../../chunks/globalCss.js";
|
|
7
|
+
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
8
|
+
import $ from "@arcgis/core/core/Accessor.js";
|
|
9
|
+
import { property as c, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
10
|
+
import { when as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const
|
|
11
|
-
|
|
13
|
+
v4.32.0-next.117 */
|
|
14
|
+
const x = "arcgis-navigation-toggle", N = {
|
|
15
|
+
base: x
|
|
16
|
+
}, D = _`.arcgis-navigation-toggle{display:flex}`;
|
|
17
|
+
var O = Object.defineProperty, E = Object.getOwnPropertyDescriptor, l = (t, e, r, o) => {
|
|
18
|
+
for (var i = o > 1 ? void 0 : o ? E(e, r) : e, s = t.length - 1, a; s >= 0; s--)
|
|
19
|
+
(a = t[s]) && (i = (o ? a(e, r, i) : a(i)) || i);
|
|
20
|
+
return o && i && O(e, r, i), i;
|
|
21
|
+
};
|
|
22
|
+
let n = class extends $ {
|
|
23
|
+
//#region Lifecyle
|
|
24
|
+
constructor(t) {
|
|
25
|
+
super(t), this._navigationMode = "pan", this.view = void 0;
|
|
26
|
+
}
|
|
27
|
+
initialize() {
|
|
28
|
+
this.addHandles([
|
|
29
|
+
P(
|
|
30
|
+
() => this.view?.navigation.actionMap,
|
|
31
|
+
() => this._setNavigationMode()
|
|
32
|
+
)
|
|
33
|
+
]);
|
|
34
|
+
}
|
|
35
|
+
destroy() {
|
|
36
|
+
this.view = void 0;
|
|
37
|
+
}
|
|
38
|
+
get state() {
|
|
39
|
+
return this.view?.ready && this.view?.type === "3d" ? "ready" : "disabled";
|
|
40
|
+
}
|
|
41
|
+
get navigationMode() {
|
|
42
|
+
return this._navigationMode;
|
|
43
|
+
}
|
|
44
|
+
set navigationMode(t) {
|
|
45
|
+
this._navigationMode = t, this._setNavigationMode();
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region Public Methods
|
|
49
|
+
toggle() {
|
|
50
|
+
this.state !== "disabled" && (this.navigationMode = this.navigationMode !== "pan" ? "pan" : "rotate");
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region Private Methods
|
|
54
|
+
_setNavigationMode() {
|
|
55
|
+
const t = this.view?.navigation.actionMap;
|
|
56
|
+
if (!t)
|
|
57
|
+
return;
|
|
58
|
+
const e = this._navigationMode === "pan";
|
|
59
|
+
t.dragPrimary = e ? "pan" : "rotate", t.dragSecondary = e ? "rotate" : "pan";
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
};
|
|
63
|
+
l([
|
|
64
|
+
c({ readOnly: !0 })
|
|
65
|
+
], n.prototype, "state", 1);
|
|
66
|
+
l([
|
|
67
|
+
c()
|
|
68
|
+
], n.prototype, "_navigationMode", 2);
|
|
69
|
+
l([
|
|
70
|
+
c()
|
|
71
|
+
], n.prototype, "view", 2);
|
|
72
|
+
n = l([
|
|
73
|
+
C("esri.widgets.NavigationToggle.NavigationToggleViewModel")
|
|
74
|
+
], n);
|
|
75
|
+
const R = b(n);
|
|
76
|
+
class T extends M {
|
|
12
77
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
78
|
+
super(...arguments), this.viewModel = R(this), this._messages = u(), this._onPanClick = () => {
|
|
79
|
+
this.viewModel.navigationMode = "pan";
|
|
80
|
+
}, this._onRotateClick = () => {
|
|
81
|
+
this.viewModel.navigationMode = "rotate";
|
|
82
|
+
}, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "pan", this.layout = "vertical", this.navigationMode = this.viewModel.navigationMode, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = h()("layout", "state"), this.arcgisReady = m();
|
|
14
83
|
}
|
|
15
84
|
static {
|
|
16
|
-
this.properties = { autoDestroyDisabled: 5, icon:
|
|
85
|
+
this.properties = { view: 16, autoDestroyDisabled: 5, icon: 3, label: 1, layout: 3, navigationMode: 3, position: 1, referenceElement: 1, state: 3 };
|
|
17
86
|
}
|
|
18
87
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
88
|
+
this.shadowRootOptions = w;
|
|
20
89
|
}
|
|
21
90
|
static {
|
|
22
|
-
this.styles =
|
|
91
|
+
this.styles = D;
|
|
23
92
|
}
|
|
24
|
-
|
|
25
|
-
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region Public Methods
|
|
26
95
|
/** Permanently destroy the component */
|
|
27
96
|
async destroy() {
|
|
28
97
|
await this.manager.destroy();
|
|
29
98
|
}
|
|
30
99
|
async toggle() {
|
|
31
|
-
this.
|
|
100
|
+
this.viewModel.toggle();
|
|
101
|
+
}
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region Rendering
|
|
104
|
+
render() {
|
|
105
|
+
const { _messages: e, navigationMode: r, state: o } = this, i = e.pan ?? "", s = e.rotate ?? "", a = o === "disabled", d = r === "pan";
|
|
106
|
+
return p`<calcite-action-bar .ariaLabel=${this.label} class=${y({ [N.base]: !0, [f.disabled]: a })} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${d} appearance=solid data-testid=navigation-toggle-pan .disabled=${a} icon=move @click=${this._onPanClick} scale=s .text=${i} title=${i ?? g}></calcite-action><calcite-action .active=${!d} appearance=solid data-testid=navigation-toggle-rotate .disabled=${a} icon=rotate @click=${this._onRotateClick} scale=s .text=${s} title=${s ?? g}></calcite-action></calcite-action-bar>`;
|
|
32
107
|
}
|
|
33
108
|
}
|
|
34
|
-
|
|
109
|
+
v("arcgis-navigation-toggle", T);
|
|
35
110
|
export {
|
|
36
|
-
|
|
111
|
+
T as ArcgisNavigationToggle
|
|
37
112
|
};
|
|
@@ -30,14 +30,22 @@ declare const useOrientedImageryViewerWidget: (component: import('@arcgis/compon
|
|
|
30
30
|
childElem?: HTMLElement & {
|
|
31
31
|
ownedBy?: HTMLElement;
|
|
32
32
|
};
|
|
33
|
-
view?: __esri.MapView | __esri.
|
|
33
|
+
view?: __esri.MapView | __esri.
|
|
34
|
+
/**
|
|
35
|
+
* If true, the component will not be destroyed automatically when it is
|
|
36
|
+
* disconnected from the document. This is useful when you want to move the
|
|
37
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
38
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
39
|
+
* memory leaks.
|
|
40
|
+
*/
|
|
41
|
+
SceneView | Nil;
|
|
34
42
|
};
|
|
35
43
|
autoDestroyDisabled: boolean;
|
|
36
44
|
destroy: () => Promise<void>;
|
|
37
45
|
}, options?: {
|
|
38
46
|
editConstructorProperties(props: __esri.OrientedImageryViewerProperties | undefined): __esri.OrientedImageryViewerProperties | Promise<__esri.OrientedImageryViewerProperties | undefined> | undefined;
|
|
39
47
|
} | undefined) => OrientedImageryViewer;
|
|
40
|
-
/** The
|
|
48
|
+
/** The OrientedImageryViewer component allows the user to explore and use their oriented images.
|
|
41
49
|
*/
|
|
42
50
|
export declare class ArcgisOrientedImageryViewer extends LitElement {
|
|
43
51
|
/**
|
|
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as g } 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.117 */
|
|
11
11
|
const h = g`arcgis-oriented-imagery-viewer{display:block}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { LitElement as r, createEvent as o, noShadowRoot as n } from "@arcgis/lu
|
|
|
4
4
|
import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
7
|
-
v4.32.0-next.
|
|
7
|
+
v4.32.0-next.117 */
|
|
8
8
|
const h = c`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`;
|
|
9
9
|
class a extends r {
|
|
10
10
|
//#endregion
|
|
@@ -34,7 +34,7 @@ declare const usePrintWidget: (component: import('@arcgis/components-controllers
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.PrintProperties | undefined): __esri.PrintProperties | Promise<__esri.PrintProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => Print;
|
|
37
|
-
/**
|
|
37
|
+
/** Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
|
|
38
38
|
*/
|
|
39
39
|
export declare class ArcgisPrint extends LitElement {
|
|
40
40
|
allowedFormats: string | string[];
|
|
@@ -7,7 +7,7 @@ import { m as n } 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.117 */
|
|
11
11
|
const d = h`arcgis-print{display:block}`, m = n(r);
|
|
12
12
|
class p extends o {
|
|
13
13
|
constructor() {
|