@arcgis/map-components 4.32.0-next.117 → 4.32.0-next.119
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/arcgis-map-components/{5ML66TD3.js → 2KPZSSGU.js} +1 -1
- package/dist/arcgis-map-components/{AVOW3SWD.js → 2TG2RGS4.js} +2 -2
- package/dist/arcgis-map-components/{AOH6OI2V.js → 2XCO5GJO.js} +2 -2
- package/dist/arcgis-map-components/{NJLS4UVB.js → 37NJJL7I.js} +2 -2
- package/dist/arcgis-map-components/3CLRN45B.js +4 -0
- package/dist/arcgis-map-components/{TOJF3VSS.js → 3N5W5VE5.js} +2 -2
- package/dist/arcgis-map-components/{B64JIPNU.js → 3OHS7HGC.js} +2 -2
- package/dist/arcgis-map-components/{P2KLP525.js → 4R323QAF.js} +2 -2
- package/dist/arcgis-map-components/{PJ5B3SK3.js → 5CEZDF27.js} +2 -2
- package/dist/arcgis-map-components/{5VJNXUNN.js → 5F4BIMIS.js} +2 -2
- package/dist/arcgis-map-components/{F4XIKTOL.js → 5GDO5LU5.js} +2 -2
- package/dist/arcgis-map-components/5PWWJ72W.js +4 -0
- package/dist/arcgis-map-components/{OYPNBPE4.js → 5QQYS35V.js} +2 -2
- package/dist/arcgis-map-components/{4Z7C2ODE.js → 6ZGDSAFW.js} +2 -2
- package/dist/arcgis-map-components/7AWGFNFM.js +4 -0
- package/dist/arcgis-map-components/{X55LTRC5.js → 7MMOUBTA.js} +2 -2
- package/dist/arcgis-map-components/{JXXIXPN6.js → ATUYJEJ2.js} +2 -2
- package/dist/arcgis-map-components/{OQ2UYVSY.js → C2FP6YHE.js} +2 -2
- package/dist/arcgis-map-components/{6FZUB5NX.js → CJH4WVUG.js} +2 -2
- package/dist/arcgis-map-components/CUU4TE5E.js +4 -0
- package/dist/arcgis-map-components/{3ERRD4AW.js → DPGWV6LK.js} +2 -2
- package/dist/arcgis-map-components/{BF54IGV2.js → E4ZXLOUM.js} +2 -2
- package/dist/arcgis-map-components/{JNMFFRL5.js → EQ6WBLCR.js} +2 -2
- package/dist/arcgis-map-components/ERK2YWT4.js +4 -0
- package/dist/arcgis-map-components/EWGAVSCZ.js +4 -0
- package/dist/arcgis-map-components/F7KCB33I.js +4 -0
- package/dist/arcgis-map-components/FENSWPYY.js +4 -0
- package/dist/arcgis-map-components/{2YJ7AYNY.js → FLTDPYGA.js} +2 -2
- package/dist/arcgis-map-components/FSG2OL6A.js +4 -0
- package/dist/arcgis-map-components/{E5HKFXIP.js → FUKXZPQO.js} +2 -2
- package/dist/arcgis-map-components/{ODTGJ45O.js → IH4GGXIL.js} +2 -2
- package/dist/arcgis-map-components/{2TMWQQNX.js → JD3NBDFT.js} +2 -2
- package/dist/arcgis-map-components/JMKTI35O.js +4 -0
- package/dist/arcgis-map-components/{YOI6NSPO.js → JNC5L7MH.js} +2 -2
- package/dist/arcgis-map-components/{WUAPWNKE.js → L2KWBKRF.js} +2 -2
- package/dist/arcgis-map-components/{HSP5U6FE.js → MBEJZQR2.js} +2 -2
- package/dist/arcgis-map-components/{5NDDQHKW.js → MQ54H2II.js} +2 -2
- package/dist/arcgis-map-components/{IUH2NA3J.js → MRGSMUVU.js} +2 -2
- package/dist/arcgis-map-components/{XT4LT46N.js → N76JXYEV.js} +2 -2
- package/dist/arcgis-map-components/{UUFVB3XF.js → OWBYXHJC.js} +2 -2
- package/dist/arcgis-map-components/{QQTK66I4.js → PYKELQF2.js} +2 -2
- package/dist/arcgis-map-components/{NSUYY7KF.js → PZR62BAW.js} +2 -2
- package/dist/arcgis-map-components/{7MH3S7KJ.js → Q2TGOQH4.js} +1 -1
- package/dist/arcgis-map-components/{OGWBN4HD.js → R26JCTQT.js} +2 -2
- package/dist/arcgis-map-components/{LCLO7E37.js → RAZQ23BB.js} +2 -2
- package/dist/arcgis-map-components/{26P7WYAH.js → RCO5M4OK.js} +2 -2
- package/dist/arcgis-map-components/{2UNECELQ.js → RKZ2EP7Y.js} +2 -2
- package/dist/arcgis-map-components/RPJQHXYN.js +4 -0
- package/dist/arcgis-map-components/{ERHVNNIN.js → SIQPJISF.js} +1 -1
- package/dist/arcgis-map-components/{EXIFR4YA.js → TE2XPC7I.js} +2 -2
- package/dist/arcgis-map-components/{ZRBRLC6Y.js → TFXJX4P5.js} +2 -2
- package/dist/arcgis-map-components/{JHCTPP2I.js → TJSDTTOC.js} +2 -2
- package/dist/arcgis-map-components/{E6SPBLZK.js → TPHT73WF.js} +2 -2
- package/dist/arcgis-map-components/{VNK6O2BI.js → UAAEFA4Z.js} +2 -2
- package/dist/arcgis-map-components/{C3FRQVSB.js → UF6PPWPR.js} +1 -1
- package/dist/arcgis-map-components/{UKTTAWH7.js → UPQUX3QU.js} +2 -2
- package/dist/arcgis-map-components/{JEOPYG2W.js → UYU5TJUZ.js} +2 -2
- package/dist/arcgis-map-components/V5KSWMTN.js +4 -0
- package/dist/arcgis-map-components/{J2I3JP4T.js → VCPNFRSZ.js} +2 -2
- package/dist/arcgis-map-components/{A464UGRG.js → VMJHTJCI.js} +2 -2
- package/dist/arcgis-map-components/W73ZRFMC.js +4 -0
- package/dist/arcgis-map-components/{4LJN5T43.js → WDVZC3KP.js} +2 -2
- package/dist/arcgis-map-components/WWZDVUEE.js +4 -0
- package/dist/arcgis-map-components/{U72IUMSB.js → X5INLLRJ.js} +2 -2
- package/dist/arcgis-map-components/XYCGG7EF.js +4 -0
- package/dist/arcgis-map-components/{7GSTVNPL.js → Y4BXGN2Y.js} +2 -2
- package/dist/arcgis-map-components/{5YYO2XCT.js → Y6RBWNXB.js} +2 -2
- package/dist/arcgis-map-components/{2LC3SHAW.js → YR7VYXUY.js} +2 -2
- package/dist/arcgis-map-components/Z5PG726H.js +4 -0
- package/dist/arcgis-map-components/{H24H7ZNU.js → ZERRHYM5.js} +2 -2
- package/dist/arcgis-map-components/{AA2NZ6JX.js → ZFFIW5HR.js} +2 -2
- package/dist/arcgis-map-components/{A6O6WBMD.js → ZFYBHQD7.js} +2 -2
- package/dist/arcgis-map-components/{LTXYVQ3B.js → ZOXYDCRY.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 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -1
- 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 +11 -66
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +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.js +3 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +7 -6
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +6 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +3 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +0 -1
- package/dist/components/arcgis-editor/customElement.js +7 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- 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.js +6 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +11 -10
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +20 -33
- package/dist/components/arcgis-navigation-toggle/customElement.js +53 -87
- 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.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +22 -21
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +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.js +3 -2
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +3 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +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.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.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +9 -8
- package/dist/docs/api.json +21 -35
- package/dist/docs/docs.json +15 -36
- package/dist/docs/vscode.html-custom-data.json +4 -4
- package/dist/docs/web-types.json +10 -13
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- 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/3GZ5QHD6.js +0 -4
- package/dist/arcgis-map-components/5SJJCR34.js +0 -4
- package/dist/arcgis-map-components/B2UPBTVU.js +0 -4
- package/dist/arcgis-map-components/CTTQ5ISZ.js +0 -4
- package/dist/arcgis-map-components/DZA6L5FZ.js +0 -4
- package/dist/arcgis-map-components/E3MCTVXN.js +0 -4
- package/dist/arcgis-map-components/ECV3YJL3.js +0 -4
- package/dist/arcgis-map-components/FYRT6MHO.js +0 -4
- package/dist/arcgis-map-components/JT3AWM6U.js +0 -4
- package/dist/arcgis-map-components/PTM2OKM6.js +0 -4
- package/dist/arcgis-map-components/T4PUC65F.js +0 -4
- package/dist/arcgis-map-components/UMFKKYJF.js +0 -4
- package/dist/arcgis-map-components/UNBT3U4A.js +0 -4
- package/dist/arcgis-map-components/WAM3WB65.js +0 -4
- package/dist/arcgis-map-components/XEMVO67G.js +0 -4
- package/dist/components/arcgis-navigation-toggle/NavigationToggleViewModel.d.ts +0 -17
|
@@ -6,14 +6,15 @@ import { getDefaultUnitForView as w } from "@arcgis/core/applications/Components
|
|
|
6
6
|
import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
import { formatNumber as S } from "@arcgis/core/intl.js";
|
|
8
8
|
import L from "@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js";
|
|
9
|
-
import { LitElement as B, createEvent as M, noShadowRoot as R, safeClassMap as a, safeStyleMap as
|
|
10
|
-
import { u as x
|
|
9
|
+
import { LitElement as B, createEvent as M, noShadowRoot as R, safeClassMap as a, safeStyleMap as _ } from "@arcgis/lumina";
|
|
10
|
+
import { u as x } from "../../chunks/useView.js";
|
|
11
|
+
import { m as D } from "../../chunks/useViewModel.js";
|
|
11
12
|
import { g as v } from "../../chunks/globalCss.js";
|
|
12
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
14
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
14
|
-
v4.32.0-next.
|
|
15
|
-
function $(
|
|
16
|
-
return { x:
|
|
15
|
+
v4.32.0-next.119 */
|
|
16
|
+
function $(f = 0, e = 0) {
|
|
17
|
+
return { x: f, y: e };
|
|
17
18
|
}
|
|
18
19
|
const r = "esri-scale-bar", t = {
|
|
19
20
|
base: r,
|
|
@@ -87,7 +88,7 @@ class k extends B {
|
|
|
87
88
|
_handleRootCreateOrUpdate() {
|
|
88
89
|
if (!this.viewModel)
|
|
89
90
|
return;
|
|
90
|
-
const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(),
|
|
91
|
+
const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(), s = i.left + window.pageXOffset, l = i.top + window.pageYOffset, n = $(s, l);
|
|
91
92
|
(n.x !== e.x || n.y !== e.y) && (this._scaleComputedFrom = n);
|
|
92
93
|
}
|
|
93
94
|
_formatDistance(e, i) {
|
|
@@ -103,33 +104,33 @@ class k extends B {
|
|
|
103
104
|
const e = this.viewModel.state === "disabled", i = {
|
|
104
105
|
[v.disabled]: e
|
|
105
106
|
};
|
|
106
|
-
let
|
|
107
|
+
let s, l;
|
|
107
108
|
if (!e) {
|
|
108
|
-
const { unit: n, barStyle: c } = this,
|
|
109
|
-
if (b) {
|
|
110
|
-
const s = this.viewModel.getScaleBarProperties(m, "imperial");
|
|
111
|
-
s && (l = h === "ruler" ? this._renderRuler(s) : this._renderLine(s, "bottom"));
|
|
112
|
-
}
|
|
109
|
+
const { unit: n, barStyle: c } = this, p = n === "imperial" || n === "dual", b = n === "metric" || n === "dual", m = 100, h = n === "dual" ? "line" : c;
|
|
113
110
|
if (p) {
|
|
114
|
-
const
|
|
115
|
-
|
|
111
|
+
const o = this.viewModel.getScaleBarProperties(m, "imperial");
|
|
112
|
+
o && (l = h === "ruler" ? this._renderRuler(o) : this._renderLine(o, "bottom"));
|
|
113
|
+
}
|
|
114
|
+
if (b) {
|
|
115
|
+
const o = this.viewModel.getScaleBarProperties(m, "metric");
|
|
116
|
+
o && (s = h === "ruler" ? this._renderRuler(o) : this._renderLine(o, "top"));
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
|
-
return u`<div class=${a(d(t.base, v.widget, i))} ${g(this._handleContainerRef)}>${
|
|
119
|
+
return u`<div class=${a(d(t.base, v.widget, i))} ${g(this._handleContainerRef)}>${s}${l}</div>`;
|
|
119
120
|
}
|
|
120
121
|
_renderRuler(e) {
|
|
121
|
-
const { length: i, unit:
|
|
122
|
-
return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${
|
|
122
|
+
const { length: i, unit: s, value: l } = e, n = Math.round(i), c = this._formatDistance(l, s);
|
|
123
|
+
return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${_({ width: `${n}px` })}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer, t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${c}</div></div></div>`;
|
|
123
124
|
}
|
|
124
125
|
_renderLine(e, i) {
|
|
125
|
-
const { length:
|
|
126
|
+
const { length: s, unit: l, value: n } = e, c = Math.round(s), p = this._formatDistance(n, l), b = {
|
|
126
127
|
[t.topLabelContainer]: i === "top",
|
|
127
128
|
[t.bottomLabelContainer]: i === "bottom"
|
|
128
|
-
}, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer,
|
|
129
|
+
}, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer, b))}><div class=${a(t.label)}>${p}</div></div>`, h = {
|
|
129
130
|
[t.topLine]: i === "top",
|
|
130
131
|
[t.bottomLine]: i === "bottom"
|
|
131
|
-
},
|
|
132
|
-
return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[
|
|
132
|
+
}, o = u`<div class=${a(d(t.line, h))} style=${_({ width: `${c}px` })}></div>`;
|
|
133
|
+
return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[o, m]}</div>`;
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
C("arcgis-scale-bar", k);
|
|
@@ -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.119 */
|
|
10
10
|
const c = n`arcgis-scale-range-slider{display:block}`, r = o(t);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { c as h, p as n, e as o, i as p } 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.119 */
|
|
12
12
|
const u = y`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, f = c(d, {}), _ = c(w, {});
|
|
13
13
|
class b extends l {
|
|
14
14
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as c } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as o } 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.119 */
|
|
11
11
|
const g = o`arcgis-search{display:block}`, d = c(a);
|
|
12
12
|
class u extends r {
|
|
13
13
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as d } 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.119 */
|
|
10
10
|
const n = r`arcgis-shadow-cast{display:block}`, l = d(s);
|
|
11
11
|
class c extends o {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
8
8
|
import { css as g } 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.119 */
|
|
12
12
|
const p = g`arcgis-sketch{display:block}`, c = r(a);
|
|
13
13
|
class m extends n {
|
|
14
14
|
// #endregion
|
|
@@ -6,7 +6,7 @@ import { m as l } 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.119 */
|
|
10
10
|
const d = r`arcgis-slice{display:block}`, h = l(s);
|
|
11
11
|
class c extends i {
|
|
12
12
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as g } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } 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.119 */
|
|
11
11
|
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r = g(n);
|
|
12
12
|
class d extends a {
|
|
13
13
|
constructor() {
|
|
@@ -4,13 +4,14 @@ import { usePropertyChange as $ } from "@arcgis/components-controllers";
|
|
|
4
4
|
import { classes as v } from "@arcgis/components-utils";
|
|
5
5
|
import D from "@arcgis/core/widgets/Swipe/SwipeViewModel.js";
|
|
6
6
|
import { LitElement as P, createEvent as C, noShadowRoot as M, safeClassMap as h, safeStyleMap as _, nothing as K } from "@arcgis/lumina";
|
|
7
|
-
import { u as z
|
|
7
|
+
import { u as z } from "../../chunks/useView.js";
|
|
8
|
+
import { m as L } from "../../chunks/useViewModel.js";
|
|
8
9
|
import { g as m } from "../../chunks/globalCss.js";
|
|
9
10
|
import { l as b } from "../../chunks/legacyIcon.js";
|
|
10
11
|
import { css as A } 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.119 */
|
|
14
15
|
const H = A`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`, l = "arcgis-swipe", n = {
|
|
15
16
|
base: l,
|
|
16
17
|
baseDisabled: `${l}--disabled`,
|
|
@@ -7,7 +7,7 @@ import { m as a } 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.119 */
|
|
11
11
|
const d = h`arcgis-table-list{display:block}`, n = a(s);
|
|
12
12
|
class m extends o {
|
|
13
13
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as n } 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.119 */
|
|
11
11
|
const r = n`arcgis-time-slider{display:block}`, m = d(o);
|
|
12
12
|
class c extends a {
|
|
13
13
|
constructor() {
|
|
@@ -5,12 +5,13 @@ import { reEmitEvent as a } from "@arcgis/components-controllers/accessor";
|
|
|
5
5
|
import { classes as u } from "@arcgis/components-utils";
|
|
6
6
|
import v from "@arcgis/core/widgets/Track/TrackViewModel.js";
|
|
7
7
|
import { LitElement as w, createEvent as f, noShadowRoot as M, safeClassMap as n, nothing as k } from "@arcgis/lumina";
|
|
8
|
-
import { u as E
|
|
8
|
+
import { u as E } from "../../chunks/useView.js";
|
|
9
|
+
import { m as b } from "../../chunks/useViewModel.js";
|
|
9
10
|
import { g as c } from "../../chunks/globalCss.js";
|
|
10
11
|
import { css as T } 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.119 */
|
|
14
15
|
const y = T`arcgis-track{display:block}`, $ = {
|
|
15
16
|
base: "esri-track"
|
|
16
17
|
}, O = b(v);
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
|
|
|
4
4
|
import { m as A } from "../../chunks/useWidget.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.119 */
|
|
8
8
|
const S = A(a);
|
|
9
9
|
class g extends c {
|
|
10
10
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { html as p } from "lit";
|
|
|
8
8
|
import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lumina";
|
|
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.119 */
|
|
12
12
|
class g extends f {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this._watchHandles = [], this.defaultGraphicColor = {
|
|
@@ -7,7 +7,7 @@ import { html as d } from "lit";
|
|
|
7
7
|
import { LitElement as n, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
|
|
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.119 */
|
|
11
11
|
class m extends n {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._watchHandles = [], this.extentToValidate = "current", this.position = "bottom-left", this.arcgisReady = c();
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as r } 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.119 */
|
|
11
11
|
const l = r`arcgis-value-picker{display:block}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -4,11 +4,12 @@ import { once as _, watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import P from "@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js";
|
|
5
5
|
import { LitElement as F, createEvent as w, noShadowRoot as M, safeClassMap as N } from "@arcgis/lumina";
|
|
6
6
|
import { createRef as k, ref as C } from "lit-html/directives/ref.js";
|
|
7
|
-
import { u as b
|
|
7
|
+
import { u as b } from "../../chunks/useView.js";
|
|
8
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
8
9
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
9
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
11
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
12
|
+
v4.32.0-next.119 */
|
|
12
13
|
const T = A`.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`, x = $(P), u = "map-components:version-management";
|
|
13
14
|
class D extends F {
|
|
14
15
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { html as t } from "lit-html";
|
|
|
3
3
|
import { LitElement as C, createEvent as n, noShadowRoot as G, safeClassMap as F } from "@arcgis/lumina";
|
|
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.119 */
|
|
7
7
|
class y extends C {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._arcgisGetVersions = (e) => {
|
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
|
|
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.119 */
|
|
7
7
|
class E extends b {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = f();
|
|
@@ -5,7 +5,7 @@ import { LitElement as F, createEvent as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as U } from "@lit/reactive-element/css-tag.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.119 */
|
|
9
9
|
const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class N extends F {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
|
|
|
5
5
|
import { css as x } from "@lit/reactive-element/css-tag.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.119 */
|
|
9
9
|
const C = x`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`;
|
|
10
10
|
class k extends V {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as r } 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.119 */
|
|
10
10
|
const d = h`arcgis-weather{display:block}`, l = r(s);
|
|
11
11
|
class n extends i {
|
|
12
12
|
constructor() {
|
|
@@ -3,31 +3,32 @@ import { html as m } from "lit-html";
|
|
|
3
3
|
import { usePropertyChange as u } from "@arcgis/components-controllers";
|
|
4
4
|
import { classes as t } from "@arcgis/components-utils";
|
|
5
5
|
import d from "@arcgis/core/widgets/Zoom/ZoomViewModel.js";
|
|
6
|
-
import { LitElement as h, createEvent as z, noShadowRoot as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
6
|
+
import { LitElement as h, createEvent as z, noShadowRoot as p, safeClassMap as s, nothing as a } from "@arcgis/lumina";
|
|
7
|
+
import { u as g } from "../../chunks/useView.js";
|
|
8
|
+
import { m as b } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
9
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
11
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
12
|
+
v4.32.0-next.119 */
|
|
12
13
|
const o = {
|
|
13
14
|
base: "arcgis-zoom",
|
|
14
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
|
15
16
|
button: "esri-widget--button",
|
|
16
17
|
zoomIn: "arcgis-zoom__zoom-in",
|
|
17
18
|
zoomOut: "arcgis-zoom__zoom-out"
|
|
18
|
-
},
|
|
19
|
+
}, w = f`arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}`, y = b(d);
|
|
19
20
|
class v extends h {
|
|
20
21
|
constructor() {
|
|
21
|
-
super(...arguments), this.messages =
|
|
22
|
+
super(...arguments), this.messages = g({}), this.viewModel = y(this), this.canZoomIn = this.viewModel.canZoomIn, this.canZoomOut = this.viewModel.canZoomOut, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = u()("state"), this.arcgisReady = z();
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
25
|
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon: 3, label: 1, layout: 3, messageOverrides: 0, position: 1, referenceElement: 1, state: 3 };
|
|
25
26
|
}
|
|
26
27
|
static {
|
|
27
|
-
this.shadowRootOptions =
|
|
28
|
+
this.shadowRootOptions = p;
|
|
28
29
|
}
|
|
29
30
|
static {
|
|
30
|
-
this.styles =
|
|
31
|
+
this.styles = w;
|
|
31
32
|
}
|
|
32
33
|
// #endregion
|
|
33
34
|
// #region Public Methods
|
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-01-
|
|
2
|
+
"timestamp": "2025-01-31T04:53:02",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.32.0-next.
|
|
5
|
+
"version": "4.32.0-next.119",
|
|
6
6
|
"typescriptVersion": "5.6.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "1.0.0",
|
|
@@ -11154,24 +11154,6 @@
|
|
|
11154
11154
|
"readonly": true,
|
|
11155
11155
|
"docsOnlyReadonly": true
|
|
11156
11156
|
},
|
|
11157
|
-
{
|
|
11158
|
-
"kind": "field",
|
|
11159
|
-
"name": "allowedWorkflows",
|
|
11160
|
-
"description": "An array of string values which specifies what end users are allowed to\nedit.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html#allowedWorkflows)",
|
|
11161
|
-
"type": {
|
|
11162
|
-
"text": "Array<\"update\" | \"create-features\" | \"update-feature\" | \"update-table-record\">",
|
|
11163
|
-
"references": [
|
|
11164
|
-
{
|
|
11165
|
-
"name": "Array",
|
|
11166
|
-
"package": "typescript",
|
|
11167
|
-
"module": "lib/lib.es5.d.ts",
|
|
11168
|
-
"start": 0,
|
|
11169
|
-
"end": 5
|
|
11170
|
-
}
|
|
11171
|
-
]
|
|
11172
|
-
},
|
|
11173
|
-
"deprecated": "since version 4.29. Use [:esri/widgets/Editor#visibleElements Editor.visibleElements](module) instead."
|
|
11174
|
-
},
|
|
11175
11157
|
{
|
|
11176
11158
|
"kind": "field",
|
|
11177
11159
|
"name": "autoDestroyDisabled",
|
|
@@ -30994,7 +30976,7 @@
|
|
|
30994
30976
|
"customElement": true,
|
|
30995
30977
|
"name": "ArcgisNavigationToggle",
|
|
30996
30978
|
"tagName": "arcgis-navigation-toggle",
|
|
30997
|
-
"description": "
|
|
30979
|
+
"description": "A navigation toggle component can be used to control the navigation mode of an arcgis-scene component.\n\nWhen the navigation mode is set to \"pan\", the mouse drag gesture pans the view and right-click + drag allows the user\nto rotate the view. When the navigation mode is set to \"rotate\", the mouse drag gesture rotates the view and\nright-click + drag pans the view.\n\nThe navitation toggle component is not supported in 2d.",
|
|
30998
30980
|
"demos": [
|
|
30999
30981
|
{
|
|
31000
30982
|
"description": "Docs",
|
|
@@ -31083,7 +31065,7 @@
|
|
|
31083
31065
|
{
|
|
31084
31066
|
"kind": "field",
|
|
31085
31067
|
"name": "icon",
|
|
31086
|
-
"description": "Icon which represents the component
|
|
31068
|
+
"description": "Icon which represents the component. It is typically used when the\ncomponent is controlled by another one (e.g. in the arcgis-expand\ncomponent).",
|
|
31087
31069
|
"type": {
|
|
31088
31070
|
"text": "string",
|
|
31089
31071
|
"values": [
|
|
@@ -31094,12 +31076,18 @@
|
|
|
31094
31076
|
},
|
|
31095
31077
|
"default": "\"pan\"",
|
|
31096
31078
|
"attribute": "icon",
|
|
31097
|
-
"reflects": true
|
|
31079
|
+
"reflects": true,
|
|
31080
|
+
"docsTags": [
|
|
31081
|
+
{
|
|
31082
|
+
"name": "see",
|
|
31083
|
+
"text": "[Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
31084
|
+
}
|
|
31085
|
+
]
|
|
31098
31086
|
},
|
|
31099
31087
|
{
|
|
31100
31088
|
"kind": "field",
|
|
31101
31089
|
"name": "label",
|
|
31102
|
-
"description": "The
|
|
31090
|
+
"description": "The component's default label.",
|
|
31103
31091
|
"type": {
|
|
31104
31092
|
"text": "string",
|
|
31105
31093
|
"values": [
|
|
@@ -31113,7 +31101,7 @@
|
|
|
31113
31101
|
{
|
|
31114
31102
|
"kind": "field",
|
|
31115
31103
|
"name": "layout",
|
|
31116
|
-
"description": "
|
|
31104
|
+
"description": "The layout of the component.",
|
|
31117
31105
|
"type": {
|
|
31118
31106
|
"text": "\"horizontal\" | \"vertical\"",
|
|
31119
31107
|
"values": [
|
|
@@ -31129,13 +31117,7 @@
|
|
|
31129
31117
|
},
|
|
31130
31118
|
"default": "\"vertical\"",
|
|
31131
31119
|
"attribute": "layout",
|
|
31132
|
-
"reflects": true
|
|
31133
|
-
"docsTags": [
|
|
31134
|
-
{
|
|
31135
|
-
"name": "example",
|
|
31136
|
-
"text": "// creates a new instance of the NavigationToggle widget\nlet navigationToggle = new NavigationToggle({\n view: view,\n layout: \"horizontal\" // makes the layout horizontal\n});"
|
|
31137
|
-
}
|
|
31138
|
-
]
|
|
31120
|
+
"reflects": true
|
|
31139
31121
|
},
|
|
31140
31122
|
{
|
|
31141
31123
|
"kind": "field",
|
|
@@ -31154,6 +31136,7 @@
|
|
|
31154
31136
|
}
|
|
31155
31137
|
]
|
|
31156
31138
|
},
|
|
31139
|
+
"default": "\"pan\"",
|
|
31157
31140
|
"attribute": "navigation-mode",
|
|
31158
31141
|
"reflects": true
|
|
31159
31142
|
},
|
|
@@ -31253,6 +31236,7 @@
|
|
|
31253
31236
|
}
|
|
31254
31237
|
]
|
|
31255
31238
|
},
|
|
31239
|
+
"default": "\"disabled\"",
|
|
31256
31240
|
"attribute": "state",
|
|
31257
31241
|
"reflects": true
|
|
31258
31242
|
},
|
|
@@ -31294,7 +31278,7 @@
|
|
|
31294
31278
|
},
|
|
31295
31279
|
{
|
|
31296
31280
|
"name": "icon",
|
|
31297
|
-
"description": "Icon which represents the component
|
|
31281
|
+
"description": "Icon which represents the component. It is typically used when the\ncomponent is controlled by another one (e.g. in the arcgis-expand\ncomponent).",
|
|
31298
31282
|
"type": {
|
|
31299
31283
|
"text": "string",
|
|
31300
31284
|
"values": [
|
|
@@ -31308,7 +31292,7 @@
|
|
|
31308
31292
|
},
|
|
31309
31293
|
{
|
|
31310
31294
|
"name": "label",
|
|
31311
|
-
"description": "The
|
|
31295
|
+
"description": "The component's default label.",
|
|
31312
31296
|
"type": {
|
|
31313
31297
|
"text": "string",
|
|
31314
31298
|
"values": [
|
|
@@ -31321,7 +31305,7 @@
|
|
|
31321
31305
|
},
|
|
31322
31306
|
{
|
|
31323
31307
|
"name": "layout",
|
|
31324
|
-
"description": "
|
|
31308
|
+
"description": "The layout of the component.",
|
|
31325
31309
|
"type": {
|
|
31326
31310
|
"text": "\"horizontal\" | \"vertical\"",
|
|
31327
31311
|
"values": [
|
|
@@ -31354,6 +31338,7 @@
|
|
|
31354
31338
|
}
|
|
31355
31339
|
]
|
|
31356
31340
|
},
|
|
31341
|
+
"default": "\"pan\"",
|
|
31357
31342
|
"fieldName": "navigationMode"
|
|
31358
31343
|
},
|
|
31359
31344
|
{
|
|
@@ -31429,6 +31414,7 @@
|
|
|
31429
31414
|
}
|
|
31430
31415
|
]
|
|
31431
31416
|
},
|
|
31417
|
+
"default": "\"disabled\"",
|
|
31432
31418
|
"fieldName": "state"
|
|
31433
31419
|
}
|
|
31434
31420
|
],
|