@arcgis/map-components 4.32.0-next.8 → 4.32.0-next.9
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/{GWM5YZJP.js → 26IYLFMW.js} +2 -2
- package/dist/arcgis-map-components/2NLVO2DQ.js +6 -0
- package/dist/arcgis-map-components/4DS67L3N.js +6 -0
- package/dist/arcgis-map-components/4U3MD2IE.js +6 -0
- package/dist/arcgis-map-components/5CG53WVB.js +6 -0
- package/dist/arcgis-map-components/5S45K6QF.js +6 -0
- package/dist/arcgis-map-components/5UPWC6GZ.js +6 -0
- package/dist/arcgis-map-components/5XDQP6JG.js +6 -0
- package/dist/arcgis-map-components/6B5KJD57.js +6 -0
- package/dist/arcgis-map-components/6I7U5UCS.js +6 -0
- package/dist/arcgis-map-components/A2A7Z4ID.js +6 -0
- package/dist/arcgis-map-components/AD7FBQ4W.js +6 -0
- package/dist/arcgis-map-components/AEPYAEVB.js +6 -0
- package/dist/arcgis-map-components/{QR3XASHQ.js → AJBMZJ46.js} +2 -2
- package/dist/arcgis-map-components/{FFBYYHGU.js → ASOVND72.js} +2 -2
- package/dist/arcgis-map-components/BDQRZM2Q.js +6 -0
- package/dist/arcgis-map-components/BW6XFJ64.js +6 -0
- package/dist/arcgis-map-components/BWSISUD3.js +6 -0
- package/dist/arcgis-map-components/CE427RF3.js +6 -0
- package/dist/arcgis-map-components/{IZYKFXP5.js → DR55OESP.js} +1 -1
- package/dist/arcgis-map-components/{43GCCQ4L.js → DZGDTHN3.js} +2 -2
- package/dist/arcgis-map-components/E5NA4STS.js +6 -0
- package/dist/arcgis-map-components/{WYLHKII6.js → ECNITWEN.js} +2 -2
- package/dist/arcgis-map-components/EP2NIALP.js +6 -0
- package/dist/arcgis-map-components/G6A2LTFS.js +6 -0
- package/dist/arcgis-map-components/GHMNH7PB.js +6 -0
- package/dist/arcgis-map-components/GOUTHFFW.js +6 -0
- package/dist/arcgis-map-components/H2SRIRSA.js +6 -0
- package/dist/arcgis-map-components/HHSIOPLT.js +6 -0
- package/dist/arcgis-map-components/I6MLF4MJ.js +6 -0
- package/dist/arcgis-map-components/IGEB3BAW.js +6 -0
- package/dist/arcgis-map-components/IWQWKCKH.js +6 -0
- package/dist/arcgis-map-components/{LNSQ32WQ.js → KJVDJ5OQ.js} +2 -2
- package/dist/arcgis-map-components/LDQ4VWNS.js +6 -0
- package/dist/arcgis-map-components/{5EP74C7X.js → LPX3CLLP.js} +2 -2
- package/dist/arcgis-map-components/LS5OI6R6.js +6 -0
- package/dist/arcgis-map-components/NJA3KSNJ.js +6 -0
- package/dist/arcgis-map-components/NYSPYER3.js +6 -0
- package/dist/arcgis-map-components/{FVFH5V4K.js → O37OVJBX.js} +2 -2
- package/dist/arcgis-map-components/OGAYYWBW.js +6 -0
- package/dist/arcgis-map-components/P3VFC5ZQ.js +6 -0
- package/dist/arcgis-map-components/PIXMMVWC.js +6 -0
- package/dist/arcgis-map-components/{EEZJ56IS.js → PPUMGJ6W.js} +1 -1
- package/dist/arcgis-map-components/PSV23ZT3.js +6 -0
- package/dist/arcgis-map-components/PUWJT4NL.js +6 -0
- package/dist/arcgis-map-components/Q5PZSLA2.js +6 -0
- package/dist/arcgis-map-components/QEXPZ2TP.js +6 -0
- package/dist/arcgis-map-components/{S2O4ZDWX.js → QLIW6OTC.js} +2 -2
- package/dist/arcgis-map-components/RBIF6BPB.js +6 -0
- package/dist/arcgis-map-components/RGW45NMO.js +6 -0
- package/dist/arcgis-map-components/{JNGQNCAL.js → RPGH4LB5.js} +2 -2
- package/dist/arcgis-map-components/{YBB23ALW.js → RW4HTOWG.js} +2 -2
- package/dist/arcgis-map-components/{HRNJIDAS.js → RYYEB6TZ.js} +2 -2
- package/dist/arcgis-map-components/S5FY5R2K.js +6 -0
- package/dist/arcgis-map-components/{Z6LBL5EZ.js → SB7AEVIC.js} +1 -1
- package/dist/arcgis-map-components/TQSVOK7C.js +6 -0
- package/dist/arcgis-map-components/{22TUFTJ3.js → TVJVBCTP.js} +2 -2
- package/dist/arcgis-map-components/UGW6Q5E5.js +6 -0
- package/dist/arcgis-map-components/{QZU4BCAM.js → UNA6PFSU.js} +2 -2
- package/dist/arcgis-map-components/V6CV3CBQ.js +6 -0
- package/dist/arcgis-map-components/{B4HPKENV.js → W2WPL3LZ.js} +2 -2
- package/dist/arcgis-map-components/{NNSDVBO7.js → WIFWKZMZ.js} +2 -2
- package/dist/arcgis-map-components/XDUFXVMY.js +6 -0
- package/dist/arcgis-map-components/{54YVOIIP.js → XQBJES6M.js} +1 -1
- package/dist/arcgis-map-components/XTHTIM4Q.js +6 -0
- package/dist/arcgis-map-components/XWWCB3F4.js +6 -0
- package/dist/arcgis-map-components/XXDM3O3A.js +6 -0
- package/dist/arcgis-map-components/{4XDOSD62.js → YONYTIVG.js} +2 -2
- package/dist/arcgis-map-components/{AJ64ANVX.js → Z4MFCZ54.js} +2 -2
- package/dist/arcgis-map-components/{HGVFIOAY.js → Z6SSMZQE.js} +2 -2
- package/dist/arcgis-map-components/ZLNOA2ME.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- 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/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +7 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -3
- package/dist/components/arcgis-attachments/customElement.d.ts +7 -0
- package/dist/components/arcgis-attachments/customElement.js +11 -7
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -12
- package/dist/components/arcgis-bookmarks/customElement.js +12 -8
- package/dist/components/arcgis-building-explorer/customElement.js +10 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-compass/customElement.js +19 -12
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +10 -6
- package/dist/components/arcgis-daylight/customElement.d.ts +7 -0
- package/dist/components/arcgis-daylight/customElement.js +12 -8
- package/dist/components/arcgis-directional-pad/customElement.js +12 -8
- package/dist/components/arcgis-directions/customElement.js +15 -11
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +7 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +10 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +0 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +14 -10
- package/dist/components/arcgis-editor/customElement.js +11 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +10 -6
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +18 -14
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-form/customElement.js +10 -6
- package/dist/components/arcgis-feature-table/customElement.js +5 -5
- package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-templates/customElement.js +10 -6
- package/dist/components/arcgis-features/customElement.d.ts +7 -0
- package/dist/components/arcgis-features/customElement.js +10 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -0
- package/dist/components/arcgis-floor-filter/customElement.js +10 -6
- package/dist/components/arcgis-fullscreen/customElement.js +15 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +7 -0
- package/dist/components/arcgis-histogram/customElement.js +10 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +12 -8
- package/dist/components/arcgis-home/customElement.js +15 -11
- package/dist/components/arcgis-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-legend/customElement.js +10 -6
- package/dist/components/arcgis-line-of-sight/customElement.js +12 -8
- package/dist/components/arcgis-locate/customElement.js +14 -10
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +10 -6
- package/dist/components/arcgis-navigation-toggle/customElement.js +12 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +12 -8
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +10 -6
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -6
- package/dist/components/arcgis-scene/customElement.d.ts +18 -1
- package/dist/components/arcgis-scene/customElement.js +19 -2
- package/dist/components/arcgis-search/customElement.d.ts +7 -1
- package/dist/components/arcgis-search/customElement.js +10 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +10 -6
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -0
- package/dist/components/arcgis-sketch/customElement.js +12 -8
- package/dist/components/arcgis-slice/customElement.js +12 -8
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +14 -10
- package/dist/components/arcgis-time-slider/customElement.js +13 -9
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +13 -9
- 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.d.ts +0 -7
- package/dist/components/arcgis-value-picker/customElement.js +10 -6
- 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.js +12 -8
- package/dist/components/arcgis-zoom/customElement.js +7 -7
- package/dist/docs/docs.json +7 -7
- package/dist/docs/manifest.json +11 -11
- package/dist/docs/vscode.html-custom-data.json +4 -4
- package/dist/docs/web-types.json +9 -9
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/components.d.ts +1 -5
- package/package.json +6 -6
- package/dist/arcgis-map-components/3QCCXS3H.js +0 -6
- package/dist/arcgis-map-components/3QPRNSBZ.js +0 -6
- package/dist/arcgis-map-components/4QUJJ2II.js +0 -6
- package/dist/arcgis-map-components/4TEHBDRX.js +0 -6
- package/dist/arcgis-map-components/4TQ6LVAO.js +0 -6
- package/dist/arcgis-map-components/57TW6U5N.js +0 -6
- package/dist/arcgis-map-components/74WRREWX.js +0 -6
- package/dist/arcgis-map-components/7ALDBQRZ.js +0 -6
- package/dist/arcgis-map-components/7MAUBIXS.js +0 -6
- package/dist/arcgis-map-components/7XINDKSI.js +0 -6
- package/dist/arcgis-map-components/B3CTFOJQ.js +0 -6
- package/dist/arcgis-map-components/B5BJ3LU3.js +0 -6
- package/dist/arcgis-map-components/BMOY4OXW.js +0 -6
- package/dist/arcgis-map-components/BZKJPHX5.js +0 -6
- package/dist/arcgis-map-components/CAXTP5IW.js +0 -6
- package/dist/arcgis-map-components/DGDEK5J4.js +0 -6
- package/dist/arcgis-map-components/FXYTJEWC.js +0 -6
- package/dist/arcgis-map-components/GAVVNSGK.js +0 -6
- package/dist/arcgis-map-components/GSXJTYIM.js +0 -6
- package/dist/arcgis-map-components/GUZOC3NU.js +0 -6
- package/dist/arcgis-map-components/IKBJQN6B.js +0 -6
- package/dist/arcgis-map-components/IVNTYVV6.js +0 -6
- package/dist/arcgis-map-components/JHJEXFRQ.js +0 -6
- package/dist/arcgis-map-components/JIS66VBD.js +0 -6
- package/dist/arcgis-map-components/KJYMAR7G.js +0 -6
- package/dist/arcgis-map-components/KLW55FLB.js +0 -6
- package/dist/arcgis-map-components/LAWFOVGI.js +0 -6
- package/dist/arcgis-map-components/LIIHMDYD.js +0 -6
- package/dist/arcgis-map-components/LJOXE4BX.js +0 -6
- package/dist/arcgis-map-components/LX3UECVC.js +0 -6
- package/dist/arcgis-map-components/MTJOGTKX.js +0 -6
- package/dist/arcgis-map-components/NAS3YJDX.js +0 -6
- package/dist/arcgis-map-components/NT4AWAXV.js +0 -6
- package/dist/arcgis-map-components/OJZQEYM5.js +0 -6
- package/dist/arcgis-map-components/RMWYYG25.js +0 -6
- package/dist/arcgis-map-components/SHHNWXJN.js +0 -6
- package/dist/arcgis-map-components/SXCBQQPX.js +0 -6
- package/dist/arcgis-map-components/T5Y7WYGJ.js +0 -6
- package/dist/arcgis-map-components/TE6YAHEH.js +0 -6
- package/dist/arcgis-map-components/U4Z5STVP.js +0 -6
- package/dist/arcgis-map-components/VOA22JK2.js +0 -6
- package/dist/arcgis-map-components/WNCBFKHY.js +0 -6
- package/dist/arcgis-map-components/WNUEJGKJ.js +0 -6
- package/dist/arcgis-map-components/YH24QDM4.js +0 -6
- package/dist/arcgis-map-components/ZD7SCHUX.js +0 -6
- package/dist/arcgis-map-components/ZDX7WO6G.js +0 -6
- package/dist/arcgis-map-components/ZG66MOWN.js +0 -6
- package/dist/arcgis-map-components/ZLIL7MJL.js +0 -6
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as l } from "lit-html";
|
|
3
3
|
import { g as b } from "../../chunks/globalCss.js";
|
|
4
|
-
import { u as f, m as
|
|
4
|
+
import { u as f, m as x } from "../../chunks/useViewModel.js";
|
|
5
5
|
import { classes as r } from "@arcgis/components-utils";
|
|
6
|
-
import { load as
|
|
6
|
+
import { load as S, usePropertyChange as T } from "@arcgis/components-controllers";
|
|
7
7
|
import { importApplicationsComponentsBasemapUtils as M, newWidgetsBasemapToggleBasemapToggleViewModel as k } from "@arcgis/core-adapter";
|
|
8
|
-
import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as
|
|
8
|
+
import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as c, safeStyleMap as u } from "@arcgis/lumina";
|
|
9
|
+
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
9
10
|
/*!
|
|
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.9
|
|
13
14
|
*/
|
|
14
15
|
const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
15
16
|
base: s,
|
|
@@ -20,10 +21,10 @@ const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
|
20
21
|
overlay: `${o}__overlay ${s}__image-overlay`,
|
|
21
22
|
title: `${o}__title ${s}__title`,
|
|
22
23
|
overlayScrim: `${o}__overlay-scrim`
|
|
23
|
-
}, L =
|
|
24
|
-
class
|
|
24
|
+
}, U = L`arcgis-basemap-toggle{display:flex}`, D = x(k);
|
|
25
|
+
class E extends C {
|
|
25
26
|
constructor() {
|
|
26
|
-
super(...arguments), this.basemapUtils =
|
|
27
|
+
super(...arguments), this.basemapUtils = S(M), this.messages = f(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = T()("nextBasemap", "state"), this.arcgisReady = I();
|
|
27
28
|
}
|
|
28
29
|
static {
|
|
29
30
|
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
|
|
@@ -31,6 +32,9 @@ class U extends C {
|
|
|
31
32
|
static {
|
|
32
33
|
this.shadowRootOptions = A;
|
|
33
34
|
}
|
|
35
|
+
static {
|
|
36
|
+
this.styles = U;
|
|
37
|
+
}
|
|
34
38
|
// #endregion
|
|
35
39
|
// #region Public Methods
|
|
36
40
|
/** Permanently destroy the component */
|
|
@@ -50,13 +54,13 @@ class U extends C {
|
|
|
50
54
|
// #endregion
|
|
51
55
|
// #region Rendering
|
|
52
56
|
render() {
|
|
53
|
-
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap",
|
|
57
|
+
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap", m = i?.title ?? "", d = i && i.loadStatus !== "loaded";
|
|
54
58
|
let g;
|
|
55
|
-
const h = this.showTitle &&
|
|
56
|
-
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${
|
|
59
|
+
const h = this.showTitle && m, v = p, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
|
|
60
|
+
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${m ?? c}>${m}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(r(e.base, b.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${p} kind=neutral .label=${(this.label ?? void 0) || ""} @click=${() => void this.toggle()} title=${((this.label ?? void 0) || "") ?? c}><div class=${a(r(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${u(w)}></div></div><div class=${a(e.container)}><div class=${a(r(e.image, d ? e.imageLoading : null))} style=${u(_)}>${d || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(b.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
|
-
B("arcgis-basemap-toggle",
|
|
63
|
+
B("arcgis-basemap-toggle", E);
|
|
60
64
|
export {
|
|
61
|
-
|
|
65
|
+
E as ArcgisBasemapToggle
|
|
62
66
|
};
|
|
@@ -2,23 +2,27 @@ import { c as i } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { newWidgetsBookmarks as e } from "@arcgis/core-adapter";
|
|
3
3
|
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
4
4
|
import { m as o } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as
|
|
5
|
+
import { LitElement as a, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
6
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
7
|
+
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
7
8
|
/*!
|
|
8
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.9
|
|
11
12
|
*/
|
|
12
|
-
const d = o(e);
|
|
13
|
-
class
|
|
13
|
+
const r = d`arcgis-bookmarks{display:flex}`, n = o(e);
|
|
14
|
+
class m extends a {
|
|
14
15
|
constructor() {
|
|
15
|
-
super(...arguments), this.widget =
|
|
16
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
19
|
this.properties = { autoDestroyDisabled: 5, bookmarks: 0, defaultCreateOptions: 0, defaultEditOptions: 0, disabled: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, hideFlow: 5, hideThumbnail: 5, hideTime: 5, icon: 1, label: 1, position: 1, referenceElement: 1, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, state: 3 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.shadowRootOptions =
|
|
22
|
+
this.shadowRootOptions = h;
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.styles = r;
|
|
22
26
|
}
|
|
23
27
|
// #endregion
|
|
24
28
|
// #region Public Methods
|
|
@@ -27,7 +31,7 @@ class r extends h {
|
|
|
27
31
|
await this.manager.destroy();
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
i("arcgis-bookmarks",
|
|
34
|
+
i("arcgis-bookmarks", m);
|
|
31
35
|
export {
|
|
32
|
-
|
|
36
|
+
m as ArcgisBookmarks
|
|
33
37
|
};
|
|
@@ -3,15 +3,16 @@ import { newWidgetsBuildingExplorer as i } from "@arcgis/core-adapter";
|
|
|
3
3
|
import { m as s } from "../../chunks/useWidget.js";
|
|
4
4
|
import { usePropertyChange as t } from "@arcgis/components-controllers";
|
|
5
5
|
import { LitElement as l, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
|
+
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
6
7
|
/*!
|
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
10
11
|
*/
|
|
11
|
-
const a = s(i);
|
|
12
|
-
class
|
|
12
|
+
const a = r`arcgis-building-explorer{display:flex}`, d = s(i);
|
|
13
|
+
class n extends l {
|
|
13
14
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget =
|
|
15
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = t()("level", "phase", "state"), this.arcgisReady = o();
|
|
15
16
|
}
|
|
16
17
|
static {
|
|
17
18
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 0, phase: 0, position: 1, referenceElement: 1, state: 3 };
|
|
@@ -19,6 +20,9 @@ class r extends l {
|
|
|
19
20
|
static {
|
|
20
21
|
this.shadowRootOptions = h;
|
|
21
22
|
}
|
|
23
|
+
static {
|
|
24
|
+
this.styles = a;
|
|
25
|
+
}
|
|
22
26
|
// #endregion
|
|
23
27
|
// #region Public Methods
|
|
24
28
|
/** Permanently destroy the component */
|
|
@@ -26,7 +30,7 @@ class r extends l {
|
|
|
26
30
|
await this.manager.destroy();
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
|
-
e("arcgis-building-explorer",
|
|
33
|
+
e("arcgis-building-explorer", n);
|
|
30
34
|
export {
|
|
31
|
-
|
|
35
|
+
n as ArcgisBuildingExplorer
|
|
32
36
|
};
|
|
@@ -4,15 +4,16 @@ import { newWidgetsCatalogLayerList as i } from "@arcgis/core-adapter";
|
|
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
|
5
5
|
import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
6
|
import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
|
|
7
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
8
|
/*!
|
|
8
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.9
|
|
11
12
|
*/
|
|
12
|
-
const h = s(i);
|
|
13
|
-
class
|
|
13
|
+
const d = h`arcgis-catalog-layer-list{display:flex}`, n = s(i);
|
|
14
|
+
class c extends o {
|
|
14
15
|
constructor() {
|
|
15
|
-
super(...arguments), this.widget =
|
|
16
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = r(() => this.widget, "trigger-action");
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
19
|
this.properties = { autoDestroyDisabled: 5, catalogItems: 32, catalogLayer: 0, collapsed: 7, filterPlaceholder: 1, filterText: 1, headingLevel: 9, hideFlow: 5, hideStatusIndicators: 5, icon: 1, label: 1, listItemCreatedFunction: 0, minFilterItems: 9, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
|
|
@@ -20,6 +21,9 @@ class d extends o {
|
|
|
20
21
|
static {
|
|
21
22
|
this.shadowRootOptions = l;
|
|
22
23
|
}
|
|
24
|
+
static {
|
|
25
|
+
this.styles = d;
|
|
26
|
+
}
|
|
23
27
|
/** A collection of ListItems representing the catalogLayers dynamicGroupLayer. */
|
|
24
28
|
get catalogItems() {
|
|
25
29
|
return this.widget.catalogItems;
|
|
@@ -31,7 +35,7 @@ class d extends o {
|
|
|
31
35
|
await this.manager.destroy();
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
|
-
t("arcgis-catalog-layer-list",
|
|
38
|
+
t("arcgis-catalog-layer-list", c);
|
|
35
39
|
export {
|
|
36
|
-
|
|
40
|
+
c as ArcgisCatalogLayerList
|
|
37
41
|
};
|
|
@@ -3,25 +3,32 @@ import { html as l } from "lit-html";
|
|
|
3
3
|
import { usePropertyChange as m } from "@arcgis/components-controllers";
|
|
4
4
|
import { classes as d } from "@arcgis/components-utils";
|
|
5
5
|
import { newWidgetsCompassCompassViewModel as h } from "@arcgis/core-adapter";
|
|
6
|
-
import { u as p, m as
|
|
6
|
+
import { u as p, m as g } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { g as i } from "../../chunks/globalCss.js";
|
|
8
|
-
import { LitElement as
|
|
8
|
+
import { LitElement as u, createEvent as f, noShadowRoot as w, safeClassMap as s, nothing as o, safeStyleMap as y } from "@arcgis/lumina";
|
|
9
|
+
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
9
10
|
/*!
|
|
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.9
|
|
13
14
|
*/
|
|
14
|
-
const a = "esri-compass", r = {
|
|
15
|
+
const b = $`arcgis-compass{display:flex}`, a = "esri-compass", r = {
|
|
15
16
|
base: a,
|
|
16
17
|
iconContainer: `${a}__icon-container`
|
|
17
|
-
},
|
|
18
|
-
class
|
|
18
|
+
}, v = g(h);
|
|
19
|
+
class C extends u {
|
|
19
20
|
constructor() {
|
|
20
|
-
super(...arguments), this.messages = p(), this.viewModel =
|
|
21
|
+
super(...arguments), this.messages = p(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = f();
|
|
21
22
|
}
|
|
22
23
|
static {
|
|
23
24
|
this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, orientation: 0, position: 3, referenceElement: 1, state: 3 };
|
|
24
25
|
}
|
|
26
|
+
static {
|
|
27
|
+
this.shadowRootOptions = w;
|
|
28
|
+
}
|
|
29
|
+
static {
|
|
30
|
+
this.styles = b;
|
|
31
|
+
}
|
|
25
32
|
get icon() {
|
|
26
33
|
return this._icon ?? (this.state === "rotation" ? "arrow-up" : "compass-needle");
|
|
27
34
|
}
|
|
@@ -45,13 +52,13 @@ class b extends g {
|
|
|
45
52
|
// #region Rendering
|
|
46
53
|
render() {
|
|
47
54
|
const { messages: t, icon: n } = this;
|
|
48
|
-
return l`<div class=${
|
|
55
|
+
return l`<div class=${s(d(r.base, i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? o}><div aria-hidden=true class=${s(r.iconContainer)} title=${t.reset ?? o}><calcite-icon .icon=${n} style=${y(M(this.orientation))}></calcite-icon></div></calcite-button></div>`;
|
|
49
56
|
}
|
|
50
57
|
}
|
|
51
|
-
const
|
|
52
|
-
transform: `rotateZ(${
|
|
58
|
+
const M = (e) => ({
|
|
59
|
+
transform: `rotateZ(${e.z}deg)`
|
|
53
60
|
});
|
|
54
|
-
c("arcgis-compass",
|
|
61
|
+
c("arcgis-compass", C);
|
|
55
62
|
export {
|
|
56
|
-
|
|
63
|
+
C as ArcgisCompass
|
|
57
64
|
};
|
|
@@ -12,17 +12,16 @@ declare const useCoordinateConversionWidget: (component: import('@arcgis/compone
|
|
|
12
12
|
} & Pick<__esri.CoordinateConversion, "orientation" | "label" | "viewModel" | "icon" | "mode" | "headingLevel" | "conversions" | "formats" | "locationSymbol" | "storageType"> & {
|
|
13
13
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
|
14
14
|
state?: unknown;
|
|
15
|
-
|
|
15
|
+
viewModel?: __esri.CoordinateConversionViewModel | undefined;
|
|
16
|
+
icon: string | Nil;
|
|
17
|
+
label: string | Nil;
|
|
18
|
+
referenceElement: string | Nil | ArcgisReferenceElement; /**
|
|
16
19
|
* If true, the component will not be destroyed automatically when it is
|
|
17
20
|
* disconnected from the document. This is useful when you want to move the
|
|
18
21
|
* component to a different place on the page, or temporary hide it. If this
|
|
19
22
|
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
20
23
|
* memory leaks.
|
|
21
24
|
*/
|
|
22
|
-
viewModel?: __esri.CoordinateConversionViewModel | undefined;
|
|
23
|
-
icon: string | Nil;
|
|
24
|
-
label: string | Nil;
|
|
25
|
-
referenceElement: string | Nil | ArcgisReferenceElement;
|
|
26
25
|
position: __esri.UIPosition;
|
|
27
26
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
28
27
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
@@ -3,15 +3,16 @@ import { newWidgetsCoordinateConversion as s } from "@arcgis/core-adapter";
|
|
|
3
3
|
import { usePropertyChange as o } from "@arcgis/components-controllers";
|
|
4
4
|
import { m as n } from "../../chunks/useWidget.js";
|
|
5
5
|
import { LitElement as r, createEvent as a, noShadowRoot as d } from "@arcgis/lumina";
|
|
6
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
6
7
|
/*!
|
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
10
11
|
*/
|
|
11
|
-
const h = n(s);
|
|
12
|
-
class
|
|
12
|
+
const l = h`arcgis-coordinate-conversion{display:flex}`, g = n(s);
|
|
13
|
+
class c extends r {
|
|
13
14
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget =
|
|
15
|
+
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.conversions = this.widget.conversions, this.currentLocation = this.widget.currentLocation, this.formats = this.widget.formats, this.headingLevel = this.widget.headingLevel, this.hideCaptureButton = this.widget.visibleElements.captureButton, this.hideEditButton = this.widget.visibleElements.editButton, this.hideExpandButton = this.widget.visibleElements.expandButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.icon = this.widget.icon, this.label = this.widget.label, this.locationSymbol = this.widget.locationSymbol, this.mode = this.widget.mode, this.multipleConversionsDisabled = this.widget.multipleConversions, this.orientation = this.widget.orientation, this.position = "bottom-left", this.state = this.viewModel.state, this.storageDisabled = this.widget.storageEnabled, this.storageType = this.widget.storageType, this.arcgisPropertyChange = o()("currentLocation", "state"), this.arcgisReady = a();
|
|
15
16
|
}
|
|
16
17
|
static {
|
|
17
18
|
this.properties = { autoDestroyDisabled: 5, conversions: 0, currentLocation: 0, formats: 0, headingLevel: 9, hideCaptureButton: 5, hideEditButton: 5, hideExpandButton: 5, hideSettingsButton: 5, icon: 1, label: 1, locationSymbol: 0, mode: 1, multipleConversionsDisabled: 5, orientation: 1, position: 1, referenceElement: 1, state: 3, storageDisabled: 5, storageType: 1 };
|
|
@@ -19,6 +20,9 @@ class l extends r {
|
|
|
19
20
|
static {
|
|
20
21
|
this.shadowRootOptions = d;
|
|
21
22
|
}
|
|
23
|
+
static {
|
|
24
|
+
this.styles = l;
|
|
25
|
+
}
|
|
22
26
|
// #endregion
|
|
23
27
|
// #region Public Methods
|
|
24
28
|
/** Permanently destroy the component */
|
|
@@ -29,7 +33,7 @@ class l extends r {
|
|
|
29
33
|
return await this.widget?.reverseConvert(t, e);
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
|
-
i("arcgis-coordinate-conversion",
|
|
36
|
+
i("arcgis-coordinate-conversion", c);
|
|
33
37
|
export {
|
|
34
|
-
|
|
38
|
+
c as ArcgisCoordinateConversion
|
|
35
39
|
};
|
|
@@ -10,6 +10,13 @@ declare const useDaylightWidget: (component: import('@arcgis/components-controll
|
|
|
10
10
|
autoDestroyDisabled?: boolean | undefined;
|
|
11
11
|
destroy?: (() => Promise<void>) | undefined;
|
|
12
12
|
} & Pick<__esri.Daylight, "label" | "viewModel" | "icon" | "headingLevel" | "dateOrSeason" | "playSpeedMultiplier" | "timeSliderSteps"> & {
|
|
13
|
+
/**
|
|
14
|
+
* If true, the component will not be destroyed automatically when it is
|
|
15
|
+
* disconnected from the document. This is useful when you want to move the
|
|
16
|
+
* component to a different place on the page, or temporary hide it. If this
|
|
17
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
18
|
+
* memory leaks.
|
|
19
|
+
*/
|
|
13
20
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
|
14
21
|
state?: unknown;
|
|
15
22
|
viewModel?: __esri.DaylightViewModel | undefined;
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
2
|
import { newWidgetsDaylight as i } from "@arcgis/core-adapter";
|
|
3
3
|
import { m as t } from "../../chunks/useWidget.js";
|
|
4
|
-
import { LitElement as s, createEvent as a, noShadowRoot as
|
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
5
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
5
6
|
/*!
|
|
6
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
* v4.32.0-next.
|
|
9
|
+
* v4.32.0-next.9
|
|
9
10
|
*/
|
|
10
|
-
const
|
|
11
|
-
class
|
|
11
|
+
const o = h`arcgis-daylight{display:flex}`, d = t(i);
|
|
12
|
+
class n extends s {
|
|
12
13
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget =
|
|
14
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentSeason = this.viewModel.currentSeason, this.dateOrSeason = this.widget.dateOrSeason, this.dayPlaying = this.viewModel.dayPlaying, this.headingLevel = this.widget.headingLevel, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideHeader = this.widget.visibleElements.header, this.hidePlayButtons = this.widget.visibleElements.playButtons, this.hideShadowsToggle = this.widget.visibleElements.shadowsToggle, this.hideSunLightingToggle = this.widget.visibleElements.sunLightingToggle, this.hideTimezone = this.widget.visibleElements.timezone, this.icon = this.widget.icon, this.label = this.widget.label, this.playSpeedMultiplier = this.widget.playSpeedMultiplier, this.position = "bottom-left", this.timeSliderSteps = this.widget.timeSliderSteps, this.yearPlaying = this.viewModel.yearPlaying, this.arcgisReady = a();
|
|
14
15
|
}
|
|
15
16
|
static {
|
|
16
17
|
this.properties = { autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 1, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 1, label: 1, playSpeedMultiplier: 9, position: 1, referenceElement: 1, timeSliderSteps: 9, yearPlaying: 5 };
|
|
17
18
|
}
|
|
18
19
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = l;
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.styles = o;
|
|
20
24
|
}
|
|
21
25
|
// #endregion
|
|
22
26
|
// #region Public Methods
|
|
@@ -25,7 +29,7 @@ class d extends s {
|
|
|
25
29
|
await this.manager.destroy();
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
|
-
e("arcgis-daylight",
|
|
32
|
+
e("arcgis-daylight", n);
|
|
29
33
|
export {
|
|
30
|
-
|
|
34
|
+
n as ArcgisDaylight
|
|
31
35
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import { newWidgetsDirectionalPad as
|
|
3
|
-
import { usePropertyChange as
|
|
2
|
+
import { newWidgetsDirectionalPad as i } from "@arcgis/core-adapter";
|
|
3
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
|
5
5
|
import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
|
|
6
|
+
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
6
7
|
/*!
|
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
10
11
|
*/
|
|
11
|
-
const l = s(
|
|
12
|
-
class
|
|
12
|
+
const d = l`arcgis-directional-pad{display:flex}`, c = s(i);
|
|
13
|
+
class n extends a {
|
|
13
14
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget =
|
|
15
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.visualScale = this.widget.visualScale, this.arcgisPropertyChange = e()("state"), this.arcgisReady = o();
|
|
15
16
|
}
|
|
16
17
|
static {
|
|
17
18
|
this.properties = { autoDestroyDisabled: 5, disabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, visualScale: 1 };
|
|
@@ -19,6 +20,9 @@ class d extends a {
|
|
|
19
20
|
static {
|
|
20
21
|
this.shadowRootOptions = r;
|
|
21
22
|
}
|
|
23
|
+
static {
|
|
24
|
+
this.styles = d;
|
|
25
|
+
}
|
|
22
26
|
// #endregion
|
|
23
27
|
// #region Public Methods
|
|
24
28
|
/** Permanently destroy the component */
|
|
@@ -26,7 +30,7 @@ class d extends a {
|
|
|
26
30
|
await this.manager.destroy();
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
|
-
t("arcgis-directional-pad",
|
|
33
|
+
t("arcgis-directional-pad", n);
|
|
30
34
|
export {
|
|
31
|
-
|
|
35
|
+
n as ArcgisDirectionalPad
|
|
32
36
|
};
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
2
2
|
import { newLayersRouteLayer as s, newWidgetsDirections as r } from "@arcgis/core-adapter";
|
|
3
3
|
import { f as h } from "../../chunks/component-utils.js";
|
|
4
4
|
import { usePropertyChange as n } from "@arcgis/components-controllers";
|
|
5
5
|
import { m as d } from "../../chunks/useWidget.js";
|
|
6
|
-
import { LitElement as l, createEvent as
|
|
6
|
+
import { LitElement as l, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
|
|
7
|
+
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
7
8
|
/*!
|
|
8
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
* v4.32.0-next.
|
|
11
|
+
* v4.32.0-next.9
|
|
11
12
|
*/
|
|
12
|
-
const y = d(r), i = "map-components:arcgis-directions";
|
|
13
|
-
class
|
|
13
|
+
const y = u`arcgis-directions{display:flex}`, m = d(r), i = "map-components:arcgis-directions";
|
|
14
|
+
class g extends l {
|
|
14
15
|
constructor() {
|
|
15
|
-
super(...arguments), this.widget =
|
|
16
|
+
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.maxStops = this.widget.maxStops, this.position = "bottom-left", this.searchProperties = this.widget.searchProperties, this.state = this.viewModel.state, this.unit = this.widget.unit, this.useDefaultRouteLayer = !1, this.arcgisPropertyChange = n()("lastRoute", "state"), this.arcgisReady = c();
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
19
|
this.properties = { apiKey: 1, autoDestroyDisabled: 5, headingLevel: 9, hideLayerDetails: 5, hideSaveAsButton: 5, hideSaveButton: 5, icon: 1, label: 1, lastRoute: 0, layer: 0, maxStops: 9, position: 1, referenceElement: 1, routeLayerItemId: 1, searchProperties: 0, state: 0, unit: 1, useDefaultRouteLayer: 5 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.shadowRootOptions =
|
|
22
|
+
this.shadowRootOptions = w;
|
|
23
|
+
}
|
|
24
|
+
static {
|
|
25
|
+
this.styles = y;
|
|
22
26
|
}
|
|
23
27
|
// #endregion
|
|
24
28
|
// #region Public Methods
|
|
@@ -55,8 +59,8 @@ class c extends l {
|
|
|
55
59
|
portalItem: {
|
|
56
60
|
id: e
|
|
57
61
|
}
|
|
58
|
-
}).then((
|
|
59
|
-
this.layer =
|
|
62
|
+
}).then((o) => {
|
|
63
|
+
this.layer = o, this.widget.view?.map.add(this.layer);
|
|
60
64
|
}).catch(console.error);
|
|
61
65
|
}
|
|
62
66
|
t.has("useDefaultRouteLayer") && this._setDefaultLayer();
|
|
@@ -70,7 +74,7 @@ class c extends l {
|
|
|
70
74
|
}).catch(console.error);
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
|
-
|
|
77
|
+
a("arcgis-directions", g);
|
|
74
78
|
export {
|
|
75
|
-
|
|
79
|
+
g as ArcgisDirections
|
|
76
80
|
};
|
|
@@ -15,7 +15,13 @@ declare const useDirectLineMeasurement3dWidget: (component: import('@arcgis/comp
|
|
|
15
15
|
viewModel?: __esri.DirectLineMeasurement3DViewModel | undefined;
|
|
16
16
|
icon: string | Nil;
|
|
17
17
|
label: string | Nil;
|
|
18
|
-
referenceElement: string | Nil | ArcgisReferenceElement;
|
|
18
|
+
referenceElement: string | Nil | ArcgisReferenceElement; /**
|
|
19
|
+
* If true, the component will not be destroyed automatically when it is
|
|
20
|
+
* disconnected from the document. This is useful when you want to move the
|
|
21
|
+
* component to a different place on the page, or temporary hide it. If this
|
|
22
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
23
|
+
* memory leaks.
|
|
24
|
+
*/
|
|
19
25
|
position: __esri.UIPosition;
|
|
20
26
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
21
27
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
@@ -3,15 +3,16 @@ import { newWidgetsDirectLineMeasurement3D as e } from "@arcgis/core-adapter";
|
|
|
3
3
|
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
|
5
5
|
import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
|
|
6
|
+
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
7
|
/*!
|
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
10
11
|
*/
|
|
11
|
-
const n = s(e);
|
|
12
|
-
class
|
|
12
|
+
const l = n`arcgis-directline-measurement-3d{display:flex}`, d = s(e);
|
|
13
|
+
class c extends a {
|
|
13
14
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget =
|
|
15
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = i()("analysis", "state"), this.arcgisReady = o();
|
|
15
16
|
}
|
|
16
17
|
static {
|
|
17
18
|
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
|
|
@@ -19,6 +20,9 @@ class d extends a {
|
|
|
19
20
|
static {
|
|
20
21
|
this.shadowRootOptions = r;
|
|
21
22
|
}
|
|
23
|
+
static {
|
|
24
|
+
this.styles = l;
|
|
25
|
+
}
|
|
22
26
|
// #endregion
|
|
23
27
|
// #region Public Methods
|
|
24
28
|
async clear() {
|
|
@@ -32,7 +36,7 @@ class d extends a {
|
|
|
32
36
|
this.widget?.viewModel.start();
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
|
-
t("arcgis-directline-measurement-3d",
|
|
39
|
+
t("arcgis-directline-measurement-3d", c);
|
|
36
40
|
export {
|
|
37
|
-
|
|
41
|
+
c as ArcgisDirectLineMeasurement3d
|
|
38
42
|
};
|
|
@@ -11,13 +11,6 @@ declare const useDistanceMeasurement2dWidget: (component: import('@arcgis/compon
|
|
|
11
11
|
destroy?: (() => Promise<void>) | undefined;
|
|
12
12
|
} & Pick<__esri.DistanceMeasurement2D, "label" | "viewModel" | "icon" | "unit" | "unitOptions"> & {
|
|
13
13
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* If true, the component will not be destroyed automatically when it is
|
|
16
|
-
* disconnected from the document. This is useful when you want to move the
|
|
17
|
-
* component to a different place on the page, or temporary hide it. If this
|
|
18
|
-
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
19
|
-
* memory leaks.
|
|
20
|
-
*/
|
|
21
14
|
state?: unknown;
|
|
22
15
|
viewModel?: __esri.DistanceMeasurement2DViewModel | undefined;
|
|
23
16
|
icon: string | Nil;
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { newWidgetsDistanceMeasurement2D as e } from "@arcgis/core-adapter";
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { m as
|
|
5
|
-
import { LitElement as o, createEvent as a, noShadowRoot as
|
|
3
|
+
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
4
|
+
import { m as i } from "../../chunks/useWidget.js";
|
|
5
|
+
import { LitElement as o, createEvent as a, noShadowRoot as r } from "@arcgis/lumina";
|
|
6
|
+
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
7
|
/*!
|
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
* v4.32.0-next.
|
|
10
|
+
* v4.32.0-next.9
|
|
10
11
|
*/
|
|
11
|
-
const
|
|
12
|
-
class
|
|
12
|
+
const m = n`arcgis-distance-measurement-2d{display:flex}`, c = i(e);
|
|
13
|
+
class d extends o {
|
|
13
14
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget =
|
|
15
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = s()("state"), this.arcgisReady = a();
|
|
15
16
|
}
|
|
16
17
|
static {
|
|
17
18
|
this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
|
|
18
19
|
}
|
|
19
20
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
21
|
+
this.shadowRootOptions = r;
|
|
22
|
+
}
|
|
23
|
+
static {
|
|
24
|
+
this.styles = m;
|
|
21
25
|
}
|
|
22
26
|
// #endregion
|
|
23
27
|
// #region Public Methods
|
|
@@ -26,7 +30,7 @@ class h extends o {
|
|
|
26
30
|
await this.manager.destroy();
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
|
-
t("arcgis-distance-measurement-2d",
|
|
33
|
+
t("arcgis-distance-measurement-2d", d);
|
|
30
34
|
export {
|
|
31
|
-
|
|
35
|
+
d as ArcgisDistanceMeasurement2d
|
|
32
36
|
};
|