@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,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } 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 r = l`arcgis-elevation-profile{display:block}`, a = n(e);
|
|
11
11
|
class d extends s {
|
|
12
12
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as n } 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 = n`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`, d = a(e);
|
|
10
10
|
class l extends i {
|
|
11
11
|
// #endregion
|
|
@@ -6,7 +6,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } 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 r = l`arcgis-feature{display:block}`, c = d(a);
|
|
11
11
|
class p extends n {
|
|
12
12
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as h } 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 l = m`arcgis-feature-form{display:block}`, g = h(s);
|
|
12
12
|
class n extends r {
|
|
13
13
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { f as m } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
v4.32.0-next.
|
|
12
|
+
v4.32.0-next.119 */
|
|
13
13
|
const u = c`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`, w = g(d);
|
|
14
14
|
class b extends a {
|
|
15
15
|
constructor() {
|
|
@@ -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 n = h`arcgis-feature-templates{display:block}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as l } 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 = l`arcgis-features{display:block}`, g = d(o);
|
|
12
12
|
class u extends r {
|
|
13
13
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as r } 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 h = r`arcgis-floor-filter{display:block}`, n = a(i);
|
|
10
10
|
class c extends s {
|
|
11
11
|
constructor() {
|
|
@@ -3,25 +3,26 @@ import { html as s } from "lit-html";
|
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/components-controllers";
|
|
4
4
|
import { classes as d } from "@arcgis/components-utils";
|
|
5
5
|
import m from "@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js";
|
|
6
|
-
import { LitElement as u, createEvent as h, noShadowRoot as
|
|
7
|
-
import { u as
|
|
6
|
+
import { LitElement as u, createEvent as h, noShadowRoot as p, safeClassMap as i, nothing as f } from "@arcgis/lumina";
|
|
7
|
+
import { u as g } from "../../chunks/useView.js";
|
|
8
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
8
9
|
import { g as o } from "../../chunks/globalCss.js";
|
|
9
10
|
import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
10
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
v4.32.0-next.
|
|
13
|
+
v4.32.0-next.119 */
|
|
13
14
|
const y = b`arcgis-fullscreen{display:block}`, v = {
|
|
14
15
|
base: "esri-fullscreen"
|
|
15
16
|
}, M = w(m);
|
|
16
17
|
class $ extends u {
|
|
17
18
|
constructor() {
|
|
18
|
-
super(...arguments), this.messages =
|
|
19
|
+
super(...arguments), this.messages = g(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.element = this.viewModel.element, this.icon = "zoom-out-fixed", this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = c()("state"), this.arcgisReady = h();
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
22
|
this.properties = { autoDestroyDisabled: 5, element: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3 };
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = p;
|
|
25
26
|
}
|
|
26
27
|
static {
|
|
27
28
|
this.styles = y;
|
|
@@ -46,7 +47,7 @@ class $ extends u {
|
|
|
46
47
|
// #region Rendering
|
|
47
48
|
render() {
|
|
48
49
|
const { fullscreenTitle: e, icon: r } = this, t = this.viewModel?.state, a = t === "feature-unsupported", l = t === "ready" || t === "disabled" || t === "feature-unsupported" ? "zoom-out-fixed" : "zoom-in-fixed";
|
|
49
|
-
return s`<div class=${i(d(v.base, o.widget))}>${!a && s`<calcite-button class=${i(o.widgetButton)} .disabled=${t === "disabled"} .iconStart=${r ?? l} kind=neutral .label=${e} @click=${this._toggle} title=${e ??
|
|
50
|
+
return s`<div class=${i(d(v.base, o.widget))}>${!a && s`<calcite-button class=${i(o.widgetButton)} .disabled=${t === "disabled"} .iconStart=${r ?? l} kind=neutral .label=${e} @click=${this._toggle} title=${e ?? f}></calcite-button>` || ""}</div>`;
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
n("arcgis-fullscreen", $);
|
|
@@ -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.119 */
|
|
10
10
|
const h = n`arcgis-histogram{display:block}`, d = r(e);
|
|
11
11
|
class m extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as d } 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 h = d`arcgis-histogram-range-slider{display:block}`, l = n(s);
|
|
11
11
|
class g extends a {
|
|
12
12
|
constructor() {
|
|
@@ -5,15 +5,16 @@ import { reEmitEvent as n } from "@arcgis/components-controllers/accessor";
|
|
|
5
5
|
import { classes as m } from "@arcgis/components-utils";
|
|
6
6
|
import d from "@arcgis/core/widgets/Home/HomeViewModel.js";
|
|
7
7
|
import { LitElement as h, createEvent as g, noShadowRoot as p, safeClassMap as i, nothing as v } from "@arcgis/lumina";
|
|
8
|
-
import { u as w
|
|
8
|
+
import { u as w } from "../../chunks/useView.js";
|
|
9
|
+
import { m as f } from "../../chunks/useViewModel.js";
|
|
9
10
|
import { g as a } from "../../chunks/globalCss.js";
|
|
10
|
-
import { css as
|
|
11
|
+
import { css as u } 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
|
-
const b =
|
|
14
|
+
v4.32.0-next.119 */
|
|
15
|
+
const b = u`arcgis-home{display:block}`, y = {
|
|
15
16
|
base: "esri-home"
|
|
16
|
-
}, M =
|
|
17
|
+
}, M = f(d);
|
|
17
18
|
class $ extends h {
|
|
18
19
|
constructor() {
|
|
19
20
|
super(...arguments), this.messages = w(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.position = "top-left", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = n(() => this.viewModel, "go"), this.arcgisPropertyChange = c()("state"), this.arcgisReady = g();
|
|
@@ -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 g = n`arcgis-layer-list{display:block}`, c = d(o);
|
|
12
12
|
class m extends r {
|
|
13
13
|
constructor() {
|
|
@@ -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 d = n`arcgis-legend{display:block}`, h = o(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
|
@@ -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.119 */
|
|
10
10
|
const l = n`arcgis-line-of-sight{display:block}`, h = r(i);
|
|
11
11
|
class c extends e {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,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.119 */
|
|
12
12
|
const u = y`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
13
13
|
l,
|
|
14
14
|
/**
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { c as m } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as t } from "lit-html";
|
|
3
3
|
import { usePropertyChange as g } from "@arcgis/components-controllers";
|
|
4
|
-
import { reEmitEvent as
|
|
4
|
+
import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
|
|
5
5
|
import { classes as u } from "@arcgis/components-utils";
|
|
6
|
-
import
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { u as M
|
|
9
|
-
import {
|
|
6
|
+
import f from "@arcgis/core/widgets/Locate/LocateViewModel.js";
|
|
7
|
+
import { LitElement as v, createEvent as w, noShadowRoot as E, safeClassMap as c, nothing as b } from "@arcgis/lumina";
|
|
8
|
+
import { u as M } from "../../chunks/useView.js";
|
|
9
|
+
import { m as y } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { g as l } from "../../chunks/globalCss.js";
|
|
10
11
|
import { l as $ } from "../../chunks/legacyIcon.js";
|
|
11
12
|
import { css as L } from "@lit/reactive-element/css-tag.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
|
+
v4.32.0-next.119 */
|
|
15
16
|
const D = L`arcgis-locate{display:block}`, O = {
|
|
16
17
|
base: "esri-locate"
|
|
17
|
-
}, n = "gps-off", T = y(
|
|
18
|
-
class I extends
|
|
18
|
+
}, n = "gps-off", T = y(f);
|
|
19
|
+
class I extends v {
|
|
19
20
|
constructor() {
|
|
20
|
-
super(...arguments), this.messages = M(), this.viewModel = T(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = n, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError =
|
|
21
|
+
super(...arguments), this.messages = M(), this.viewModel = T(this), this.autoDestroyDisabled = !1, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.goToOverride = this.viewModel.goToOverride, this.graphic = this.viewModel.graphic, this.icon = n, this.popupDisabled = this.viewModel.popupEnabled, this.position = "top-left", this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.arcgisError = r(() => this.viewModel, "locate-error"), this.arcgisPropertyChange = g()("state"), this.arcgisReady = w(), this.arcgisSuccess = r(() => this.viewModel, "locate");
|
|
21
22
|
}
|
|
22
23
|
static {
|
|
23
24
|
this.properties = { autoDestroyDisabled: 5, geolocationOptions: 1, goToLocationDisabled: 7, goToOverride: 0, graphic: 0, icon: 3, label: 1, messageOverrides: 0, popupDisabled: 5, position: 3, referenceElement: 1, scale: 9, state: 3 };
|
|
@@ -61,7 +62,7 @@ class I extends f {
|
|
|
61
62
|
// #region Rendering
|
|
62
63
|
render() {
|
|
63
64
|
const { viewModel: e, icon: d } = this, { state: o } = e, i = o === "locating", s = i ? this.messages.cancel : this.messages.title, h = o === "feature-unsupported", p = $ === void 0 ? n : void 0, a = this._localizeError(this.viewModel?.error);
|
|
64
|
-
return t`<div class=${
|
|
65
|
+
return t`<div class=${c(u(O.base, l.widget))}>${!h && t`<calcite-button class=${c(l.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? b}>${i ? t`<calcite-loader inline label></calcite-loader>` : null}</calcite-button>` || ""}${a ? t`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${a}</calcite-tooltip>` : null}</div>`;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
m("arcgis-locate", I);
|
|
@@ -8,7 +8,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.119 */
|
|
12
12
|
const u = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, f = r(
|
|
13
13
|
v,
|
|
14
14
|
/**
|
|
@@ -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.119 */
|
|
10
10
|
const c = n`arcgis-measurement{display:block}`, h = r(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
|
+
import { PropertyValues } from 'lit';
|
|
7
|
+
import { useView } from '../../controllers/useView';
|
|
6
8
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
|
-
import { NavigationToggleViewModel } from './NavigationToggleViewModel';
|
|
8
9
|
|
|
10
|
+
type State = "disabled" | "ready";
|
|
11
|
+
type NavigationMode = "pan" | "rotate";
|
|
9
12
|
type LayoutMode = "horizontal" | "vertical";
|
|
10
|
-
declare const useViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
11
|
-
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
12
|
-
el: HTMLElement;
|
|
13
|
-
autoDestroyDisabled?: boolean;
|
|
14
|
-
destroy?: () => Promise<void>;
|
|
15
|
-
} & Pick<NavigationToggleViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<NavigationToggleViewModel>, options?: {
|
|
16
|
-
editConstructorProperties(props: unknown): unknown;
|
|
17
|
-
} | undefined) => NavigationToggleViewModel;
|
|
18
13
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
14
|
+
* A navigation toggle component can be used to control the navigation mode of an arcgis-scene component.
|
|
15
|
+
*
|
|
16
|
+
* When the navigation mode is set to "pan", the mouse drag gesture pans the view and right-click + drag allows the user
|
|
17
|
+
* to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
|
|
18
|
+
* right-click + drag pans the view.
|
|
19
|
+
*
|
|
20
|
+
* The navitation toggle component is not supported in 2d.
|
|
21
21
|
*/
|
|
22
22
|
export declare class ArcgisNavigationToggle extends LitElement {
|
|
23
23
|
/**
|
|
@@ -29,29 +29,16 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
29
29
|
*/
|
|
30
30
|
autoDestroyDisabled: boolean;
|
|
31
31
|
/**
|
|
32
|
-
* Icon which represents the component.
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* Icon which represents the component. It is typically used when the
|
|
33
|
+
* component is controlled by another one (e.g. in the arcgis-expand
|
|
34
|
+
* component).
|
|
35
|
+
*
|
|
36
|
+
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
35
37
|
*/
|
|
36
38
|
icon: HTMLCalciteIconElement["icon"] | Nil;
|
|
37
|
-
/** The
|
|
39
|
+
/** The component's default label. */
|
|
38
40
|
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
|
-
*/
|
|
41
|
+
/** The layout of the component. */
|
|
55
42
|
layout: LayoutMode;
|
|
56
43
|
/**
|
|
57
44
|
* The navigation mode of the [view](#view). See the table below for a list of
|
|
@@ -62,10 +49,10 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
62
49
|
* 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
50
|
* 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
51
|
*/
|
|
65
|
-
navigationMode:
|
|
52
|
+
navigationMode: NavigationMode;
|
|
66
53
|
position: __esri.UIPosition;
|
|
67
54
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
68
|
-
state:
|
|
55
|
+
state: State;
|
|
69
56
|
/** Permanently destroy the component */
|
|
70
57
|
destroy(): Promise<void>;
|
|
71
58
|
toggle(): Promise<void>;
|
|
@@ -1,94 +1,29 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
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";
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import { usePropertyChange as d } from "@arcgis/components-controllers";
|
|
3
|
+
import { when as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as g, createEvent as p, noShadowRoot as h, safeClassMap as m, nothing as c } from "@arcgis/lumina";
|
|
5
|
+
import { html as v } from "lit";
|
|
6
|
+
import { a as u, u as y } from "../../chunks/useView.js";
|
|
7
|
+
import { g as b } from "../../chunks/globalCss.js";
|
|
8
|
+
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
11
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
14
|
-
const
|
|
15
|
-
base:
|
|
16
|
-
},
|
|
17
|
-
|
|
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 {
|
|
11
|
+
v4.32.0-next.119 */
|
|
12
|
+
const f = "arcgis-navigation-toggle", $ = {
|
|
13
|
+
base: f
|
|
14
|
+
}, w = M`.arcgis-navigation-toggle{display:flex}`;
|
|
15
|
+
class _ extends g {
|
|
77
16
|
constructor() {
|
|
78
|
-
super(...arguments), this.
|
|
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();
|
|
17
|
+
super(...arguments), this.view = u(this), this._messages = y(), this.autoDestroyDisabled = !1, this.icon = "pan", this.layout = "vertical", this.navigationMode = "pan", this.position = "bottom-left", this.state = "disabled", this.arcgisPropertyChange = d()("layout", "state"), this.arcgisReady = p();
|
|
83
18
|
}
|
|
84
19
|
static {
|
|
85
|
-
this.properties = {
|
|
20
|
+
this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, layout: 3, navigationMode: 3, position: 1, referenceElement: 1, state: 3 };
|
|
86
21
|
}
|
|
87
22
|
static {
|
|
88
|
-
this.shadowRootOptions =
|
|
23
|
+
this.shadowRootOptions = h;
|
|
89
24
|
}
|
|
90
25
|
static {
|
|
91
|
-
this.styles =
|
|
26
|
+
this.styles = w;
|
|
92
27
|
}
|
|
93
28
|
//#endregion
|
|
94
29
|
//#region Public Methods
|
|
@@ -97,16 +32,47 @@ class T extends M {
|
|
|
97
32
|
await this.manager.destroy();
|
|
98
33
|
}
|
|
99
34
|
async toggle() {
|
|
100
|
-
this.
|
|
35
|
+
this.state !== "disabled" && (this.navigationMode = this.navigationMode !== "pan" ? "pan" : "rotate");
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region Lifecycle
|
|
39
|
+
load() {
|
|
40
|
+
this.manager.onLifecycle(() => [
|
|
41
|
+
n(() => this.view?.navigation.actionMap, () => this._updateNavigationActionMap()),
|
|
42
|
+
n(() => {
|
|
43
|
+
const { view: t } = this;
|
|
44
|
+
return t?.ready && t?.type === "3d" ? "ready" : "disabled";
|
|
45
|
+
}, (t) => {
|
|
46
|
+
this.state = t;
|
|
47
|
+
}, { sync: !0, initial: !0 })
|
|
48
|
+
]);
|
|
49
|
+
}
|
|
50
|
+
willUpdate(t) {
|
|
51
|
+
t.has("navigationMode") && this._updateNavigationActionMap();
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region Private Methods
|
|
55
|
+
_onPanClick() {
|
|
56
|
+
this.navigationMode = "pan";
|
|
57
|
+
}
|
|
58
|
+
_onRotateClick() {
|
|
59
|
+
this.navigationMode = "rotate";
|
|
60
|
+
}
|
|
61
|
+
_updateNavigationActionMap() {
|
|
62
|
+
const t = this.view?.navigation.actionMap;
|
|
63
|
+
if (!t)
|
|
64
|
+
return;
|
|
65
|
+
const a = this.navigationMode === "pan";
|
|
66
|
+
t.dragPrimary = a ? "pan" : "rotate", t.dragSecondary = a ? "rotate" : "pan";
|
|
101
67
|
}
|
|
102
68
|
//#endregion
|
|
103
69
|
//#region Rendering
|
|
104
70
|
render() {
|
|
105
|
-
const { _messages:
|
|
106
|
-
return
|
|
71
|
+
const { _messages: t, navigationMode: a, state: r } = this, e = t.pan ?? "", s = t.rotate ?? "", i = r === "disabled", o = a === "pan";
|
|
72
|
+
return v`<calcite-action-bar .ariaLabel=${this.label} class=${m({ [$.base]: !0, [b.disabled]: i })} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${o} appearance=solid data-testid=navigation-toggle-pan .disabled=${i} icon=move @click=${this._onPanClick} scale=s .text=${e} title=${e ?? c}></calcite-action><calcite-action .active=${!o} appearance=solid data-testid=navigation-toggle-rotate .disabled=${i} icon=rotate @click=${this._onRotateClick} scale=s .text=${s} title=${s ?? c}></calcite-action></calcite-action-bar>`;
|
|
107
73
|
}
|
|
108
74
|
}
|
|
109
|
-
|
|
75
|
+
l("arcgis-navigation-toggle", _);
|
|
110
76
|
export {
|
|
111
|
-
|
|
77
|
+
_ as ArcgisNavigationToggle
|
|
112
78
|
};
|
|
@@ -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.119 */
|
|
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.119 */
|
|
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
|
|
@@ -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.119 */
|
|
11
11
|
const d = h`arcgis-print{display:block}`, m = n(r);
|
|
12
12
|
class p extends o {
|
|
13
13
|
constructor() {
|