@arcgis/map-components 4.32.0-next.73 → 4.32.0-next.75
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/26WMRKA2.js +6 -0
- package/dist/arcgis-map-components/{SMYLZF3X.js → 2DIFMIME.js} +2 -2
- package/dist/arcgis-map-components/{URISU6GT.js → 2QFETID2.js} +1 -1
- package/dist/arcgis-map-components/{OGTJBLM7.js → 2ZUQZPTX.js} +2 -2
- package/dist/arcgis-map-components/{6NOH6HWU.js → 46E63U6G.js} +2 -2
- package/dist/arcgis-map-components/{DLRFNNKK.js → 4MSG3HX4.js} +2 -2
- package/dist/arcgis-map-components/{24GS76HY.js → 4PEXKXKA.js} +2 -2
- package/dist/arcgis-map-components/{TWUS2BUI.js → 4RJ6E4TO.js} +2 -2
- package/dist/arcgis-map-components/{KFIN65DU.js → 52XICSSU.js} +2 -2
- package/dist/arcgis-map-components/{EMXIMQUA.js → 5I4C5UJA.js} +1 -1
- package/dist/arcgis-map-components/{W5FZIAYV.js → 5TQMYGZS.js} +2 -2
- package/dist/arcgis-map-components/{DPLQLBIH.js → 6XNU2IBP.js} +2 -2
- package/dist/arcgis-map-components/{SLUA5U7G.js → 6YJJET6S.js} +2 -2
- package/dist/arcgis-map-components/{P4KSWU3P.js → 75ZYLQAA.js} +2 -2
- package/dist/arcgis-map-components/{EI262WRA.js → 7E5JXJOV.js} +2 -2
- package/dist/arcgis-map-components/{T2PR6S6N.js → 7I4CUQF6.js} +2 -2
- package/dist/arcgis-map-components/{46ND5HT6.js → 7TSETBXM.js} +2 -2
- package/dist/arcgis-map-components/{Q2S4KDQP.js → 7VJS7HVG.js} +2 -2
- package/dist/arcgis-map-components/{DCILFCER.js → BFIE7XCV.js} +1 -1
- package/dist/arcgis-map-components/{PFDUHW6R.js → BKX2OTBN.js} +2 -2
- package/dist/arcgis-map-components/{2JBW4BOI.js → C3UML7RC.js} +2 -2
- package/dist/arcgis-map-components/{YJAL57TD.js → DG4MLCMW.js} +2 -2
- package/dist/arcgis-map-components/{7MTJ667P.js → DN5D5BC2.js} +2 -2
- package/dist/arcgis-map-components/{RN6XAHME.js → EBGFPGE6.js} +2 -2
- package/dist/arcgis-map-components/{DUNFZDKI.js → ECMZW4DV.js} +2 -2
- package/dist/arcgis-map-components/{GRPQ4OZZ.js → EPKTMM5Q.js} +2 -2
- package/dist/arcgis-map-components/{UMY4XCNK.js → FCLOAJKG.js} +1 -1
- package/dist/arcgis-map-components/{RFYPLRKW.js → FLRYVWFF.js} +2 -2
- package/dist/arcgis-map-components/{UAFN6RG5.js → FMEI4LWJ.js} +2 -2
- package/dist/arcgis-map-components/{IKZMO6ZV.js → GY2ASIEW.js} +2 -2
- package/dist/arcgis-map-components/{SJR7K33D.js → HNRQN2YS.js} +2 -2
- package/dist/arcgis-map-components/{R5ONXRGH.js → HOV4KSPR.js} +2 -2
- package/dist/arcgis-map-components/{5FY7XVHG.js → I3NLKLN7.js} +2 -2
- package/dist/arcgis-map-components/{57F6FKWE.js → IQ7EVV44.js} +2 -2
- package/dist/arcgis-map-components/{3E2TDX2O.js → IQFWFAW5.js} +2 -2
- package/dist/arcgis-map-components/{Z2RBBHJE.js → J53TMOB6.js} +2 -2
- package/dist/arcgis-map-components/{5OUFTSJ2.js → J6NXK7FF.js} +2 -2
- package/dist/arcgis-map-components/{ZXXRSOM3.js → JH3IDT5W.js} +2 -2
- package/dist/arcgis-map-components/{Y3TBTGHA.js → K7XOHRJF.js} +2 -2
- package/dist/arcgis-map-components/{KTGEMVJF.js → KCRX4KZE.js} +2 -2
- package/dist/arcgis-map-components/{GKAKA6KM.js → KD2OK6QD.js} +1 -1
- package/dist/arcgis-map-components/{DU4PZ477.js → KO6KC3WR.js} +2 -2
- package/dist/arcgis-map-components/{BGJNLAZ5.js → KPS6KSSO.js} +2 -2
- package/dist/arcgis-map-components/{V6ICONRJ.js → LO33J543.js} +2 -2
- package/dist/arcgis-map-components/{O3CENDHJ.js → MDQTP44P.js} +2 -2
- package/dist/arcgis-map-components/{VGP5JDE4.js → ML6HT26P.js} +2 -2
- package/dist/arcgis-map-components/{CJGN2I5U.js → O4IAB7N5.js} +2 -2
- package/dist/arcgis-map-components/{4FRRFFHX.js → O74M6DQZ.js} +2 -2
- package/dist/arcgis-map-components/{ON7MB424.js → P33TK45A.js} +2 -2
- package/dist/arcgis-map-components/{SSBRPB2L.js → PLDYU6YG.js} +2 -2
- package/dist/arcgis-map-components/{BQCC4MP3.js → QKQAEQNM.js} +2 -2
- package/dist/arcgis-map-components/{4IF6ZFZQ.js → RFYHPSZ4.js} +2 -2
- package/dist/arcgis-map-components/{RZFHNFQG.js → RIQM7MRR.js} +2 -2
- package/dist/arcgis-map-components/{GSHHBG2Y.js → SD243P7B.js} +2 -2
- package/dist/arcgis-map-components/{HBUEEVSO.js → STJ6SNRI.js} +2 -2
- package/dist/arcgis-map-components/{JNG4ETFC.js → TAERIHPL.js} +2 -2
- package/dist/arcgis-map-components/{YR2WSN7X.js → TGJWKCND.js} +2 -2
- package/dist/arcgis-map-components/{FC5UZ7WC.js → VPP7W74Q.js} +2 -2
- package/dist/arcgis-map-components/{45KI6NDO.js → WCQEXD3O.js} +2 -2
- package/dist/arcgis-map-components/{W5BODCLI.js → WE3XOHXH.js} +2 -2
- package/dist/arcgis-map-components/{EIOSYAPN.js → WHSPC5RU.js} +2 -2
- package/dist/arcgis-map-components/{RRCXNW5T.js → WOFYKSMG.js} +2 -2
- package/dist/arcgis-map-components/WXYXXP4N.js +6 -0
- package/dist/arcgis-map-components/{B7KQYPLN.js → XJJD7THO.js} +2 -2
- package/dist/arcgis-map-components/{ZVIU4YDB.js → XK66NLX3.js} +2 -2
- package/dist/arcgis-map-components/{SN66EUX2.js → XOLZT77U.js} +2 -2
- package/dist/arcgis-map-components/{UFLXRM7M.js → YO5BVSJL.js} +2 -2
- package/dist/arcgis-map-components/{XCPTC4GK.js → Z4VE35TR.js} +2 -2
- package/dist/arcgis-map-components/{AIO6J67Y.js → ZDDQQ347.js} +2 -2
- package/dist/arcgis-map-components/{N7TNR4PV.js → ZDNISS4Q.js} +2 -2
- package/dist/arcgis-map-components/{QWSQXNUG.js → ZJHQV6SN.js} +2 -2
- package/dist/arcgis-map-components/{F3NWYBOH.js → ZWPDU2J7.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- 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 +22 -20
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -10
- package/dist/components/arcgis-home/customElement.js +18 -33
- package/dist/components/arcgis-home/index.d.ts +1 -0
- package/dist/components/arcgis-home/index.js +1 -0
- 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-locate/customElement.d.ts +1 -4
- package/dist/components/arcgis-locate/customElement.js +13 -30
- package/dist/components/arcgis-locate/index.d.ts +1 -0
- package/dist/components/arcgis-locate/index.js +1 -0
- 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.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +7 -7
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +14 -14
- 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 +13 -15
- package/dist/components/arcgis-version-management-version-properties/customElement.js +13 -15
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/JQWYLUZ3.js +0 -6
- package/dist/arcgis-map-components/TEAKKNJZ.js +0 -6
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as o } from "lit-html";
|
|
3
3
|
import { g as i } from "../../chunks/globalCss.js";
|
|
4
|
-
import { classes as
|
|
5
|
-
import { usePropertyChange as
|
|
4
|
+
import { classes as n } from "@arcgis/components-utils";
|
|
5
|
+
import { usePropertyChange as c } from "@arcgis/components-controllers";
|
|
6
6
|
import { newWidgetsHomeHomeViewModel as m } from "@arcgis/core-adapter";
|
|
7
7
|
import { u as d, m as h } from "../../chunks/useViewModel.js";
|
|
8
|
-
import { LitElement as g, createEvent as p, noShadowRoot as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
8
|
+
import { LitElement as g, createEvent as p, noShadowRoot as v, safeClassMap as a, nothing as w } from "@arcgis/lumina";
|
|
9
|
+
import { reEmitEvent as u } from "@arcgis/components-controllers/accessor";
|
|
10
|
+
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
12
11
|
/*!
|
|
13
12
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
13
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
15
|
-
* v4.32.0-next.
|
|
14
|
+
* v4.32.0-next.75
|
|
16
15
|
*/
|
|
17
|
-
const
|
|
16
|
+
const b = f`arcgis-home{display:block}`, y = {
|
|
18
17
|
base: "esri-home"
|
|
19
|
-
},
|
|
20
|
-
class
|
|
18
|
+
}, M = h(m);
|
|
19
|
+
class $ extends g {
|
|
21
20
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages = d(), this.viewModel =
|
|
21
|
+
super(...arguments), this.messages = d(), 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 = u(() => this.viewModel, "go"), this.arcgisPropertyChange = c()("state"), this.arcgisReady = p();
|
|
23
22
|
}
|
|
24
23
|
static {
|
|
25
24
|
this.properties = { autoDestroyDisabled: 5, goToOverride: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3, viewpoint: 0 };
|
|
26
25
|
}
|
|
27
26
|
static {
|
|
28
|
-
this.shadowRootOptions =
|
|
27
|
+
this.shadowRootOptions = v;
|
|
29
28
|
}
|
|
30
29
|
static {
|
|
31
|
-
this.styles =
|
|
30
|
+
this.styles = b;
|
|
32
31
|
}
|
|
33
32
|
// #endregion
|
|
34
33
|
// #region Public Methods
|
|
@@ -54,20 +53,6 @@ class B extends g {
|
|
|
54
53
|
}
|
|
55
54
|
// #endregion
|
|
56
55
|
// #region Lifecycle
|
|
57
|
-
/**
|
|
58
|
-
* Workaround for https://github.com/Esri/calcite-design-system/issues/10076
|
|
59
|
-
*/
|
|
60
|
-
updated() {
|
|
61
|
-
if (!this._calciteButton.value)
|
|
62
|
-
return;
|
|
63
|
-
if (this.viewModel?.state === "going-home") {
|
|
64
|
-
if (!this._calciteButton.value.children[0]) {
|
|
65
|
-
const t = document.createElement("calcite-loader");
|
|
66
|
-
t.inline = !0, t.label = "", this._calciteButton.value.append(t);
|
|
67
|
-
}
|
|
68
|
-
} else
|
|
69
|
-
this._calciteButton.value.children[0]?.remove();
|
|
70
|
-
}
|
|
71
56
|
// #endregion
|
|
72
57
|
// #region Private Methods
|
|
73
58
|
_go() {
|
|
@@ -77,11 +62,11 @@ class B extends g {
|
|
|
77
62
|
// #endregion
|
|
78
63
|
// #region Rendering
|
|
79
64
|
render() {
|
|
80
|
-
const { messages: e, icon:
|
|
81
|
-
return
|
|
65
|
+
const { messages: e, icon: r } = this, t = this.viewModel?.state, s = t === "going-home";
|
|
66
|
+
return o`<div class=${a(n(y.base, i.widget))}><calcite-button class=${a(i.widgetButton)} .disabled=${t === "disabled"} .iconStart=${s ? void 0 : r ?? void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s ? "s" : "m"} title=${(t === "going-home" ? e.cancel : e.title) ?? w}>${s ? o`<calcite-loader inline label></calcite-loader>` : null}</calcite-button></div>`;
|
|
82
67
|
}
|
|
83
68
|
}
|
|
84
|
-
|
|
69
|
+
l("arcgis-home", $);
|
|
85
70
|
export {
|
|
86
|
-
|
|
71
|
+
$ as ArcgisHome
|
|
87
72
|
};
|
|
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const g = d`arcgis-layer-list{display:block}`, c = a(s);
|
|
14
14
|
class m extends r {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const d = n`arcgis-legend{display:block}`, h = s(t);
|
|
13
13
|
class l extends r {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const l = n`arcgis-line-of-sight{display:block}`, h = e(s);
|
|
13
13
|
class c extends o {
|
|
@@ -25,10 +25,7 @@ declare const useLocateViewModel: (component: import('@arcgis/components-control
|
|
|
25
25
|
childElem?: HTMLElement & {
|
|
26
26
|
ownedBy?: HTMLElement;
|
|
27
27
|
};
|
|
28
|
-
view?: __esri.
|
|
29
|
-
/** [Locate](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Locate.html) animates the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to the user's current location.
|
|
30
|
-
*/
|
|
31
|
-
MapView | __esri.SceneView | undefined;
|
|
28
|
+
view?: __esri.MapView | __esri.SceneView | undefined;
|
|
32
29
|
};
|
|
33
30
|
autoDestroyDisabled: boolean;
|
|
34
31
|
destroy: () => Promise<void>;
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import { g as
|
|
2
|
+
import { html as t } from "lit-html";
|
|
3
|
+
import { g as c } from "../../chunks/globalCss.js";
|
|
4
4
|
import { l as g } from "../../chunks/legacyIcon.js";
|
|
5
5
|
import { u, m as v } from "../../chunks/useViewModel.js";
|
|
6
6
|
import { classes as f } from "@arcgis/components-utils";
|
|
7
7
|
import { usePropertyChange as w } from "@arcgis/components-controllers";
|
|
8
8
|
import { newWidgetsLocateLocateViewModel as E } from "@arcgis/core-adapter";
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { reEmitEvent as
|
|
11
|
-
import {
|
|
12
|
-
import { css as D } from "@lit/reactive-element/css-tag.js";
|
|
9
|
+
import { LitElement as b, createEvent as M, noShadowRoot as y, safeClassMap as l, nothing as $ } from "@arcgis/lumina";
|
|
10
|
+
import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
|
|
11
|
+
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
13
12
|
/*!
|
|
14
13
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
14
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
16
|
-
* v4.32.0-next.
|
|
15
|
+
* v4.32.0-next.75
|
|
17
16
|
*/
|
|
18
|
-
const
|
|
17
|
+
const D = L`arcgis-locate{display:block}`, O = {
|
|
19
18
|
base: "esri-locate"
|
|
20
|
-
},
|
|
21
|
-
class I extends
|
|
19
|
+
}, n = "gps-off", T = v(E);
|
|
20
|
+
class I extends b {
|
|
22
21
|
constructor() {
|
|
23
|
-
super(...arguments), this.messages = u(), this.viewModel =
|
|
22
|
+
super(...arguments), this.messages = u(), 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 = w()("state"), this.arcgisReady = M(), this.arcgisSuccess = r(() => this.viewModel, "locate");
|
|
24
23
|
}
|
|
25
24
|
static {
|
|
26
25
|
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 };
|
|
@@ -29,7 +28,7 @@ class I extends M {
|
|
|
29
28
|
this.shadowRootOptions = y;
|
|
30
29
|
}
|
|
31
30
|
static {
|
|
32
|
-
this.styles =
|
|
31
|
+
this.styles = D;
|
|
33
32
|
}
|
|
34
33
|
// #endregion
|
|
35
34
|
// #region Public Methods
|
|
@@ -48,22 +47,6 @@ class I extends M {
|
|
|
48
47
|
return await this.viewModel.locate();
|
|
49
48
|
}
|
|
50
49
|
// #endregion
|
|
51
|
-
// #region Lifecycle
|
|
52
|
-
/**
|
|
53
|
-
* Workaround for https://github.com/Esri/calcite-design-system/issues/10076
|
|
54
|
-
*/
|
|
55
|
-
updated() {
|
|
56
|
-
if (!this._calciteButton.value)
|
|
57
|
-
return;
|
|
58
|
-
if (this.viewModel.state === "locating") {
|
|
59
|
-
if (!this._calciteButton.value.children[0]) {
|
|
60
|
-
const t = document.createElement("calcite-loader");
|
|
61
|
-
t.inline = !0, t.label = "", this._calciteButton.value.append(t);
|
|
62
|
-
}
|
|
63
|
-
} else
|
|
64
|
-
this._calciteButton.value.children[0]?.remove();
|
|
65
|
-
}
|
|
66
|
-
// #endregion
|
|
67
50
|
// #region Private Methods
|
|
68
51
|
_localizeError(e) {
|
|
69
52
|
if (e instanceof GeolocationPositionError)
|
|
@@ -79,8 +62,8 @@ class I extends M {
|
|
|
79
62
|
// #endregion
|
|
80
63
|
// #region Rendering
|
|
81
64
|
render() {
|
|
82
|
-
const { viewModel: e, icon:
|
|
83
|
-
return
|
|
65
|
+
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 = g === void 0 ? n : void 0, a = this._localizeError(this.viewModel?.error);
|
|
66
|
+
return t`<div class=${l(f(O.base, c.widget))}>${!h && t`<calcite-button class=${l(c.widgetButton)} .disabled=${o === "disabled"} .iconStart=${i ? void 0 : d ?? p} kind=neutral .label=${s} @click=${this._locate} title=${s ?? $}>${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>`;
|
|
84
67
|
}
|
|
85
68
|
}
|
|
86
69
|
m("arcgis-locate", I);
|
|
@@ -8,7 +8,7 @@ import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const f = y`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`, V = h(
|
|
14
14
|
v,
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const c = n`arcgis-measurement{display:block}`, h = s(e);
|
|
13
13
|
class l extends a {
|
|
@@ -7,7 +7,7 @@ import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const l = g`arcgis-navigation-toggle{display:block}`, n = s(i);
|
|
13
13
|
class h extends o {
|
|
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const m = h`arcgis-oriented-imagery-viewer{display:block}`, y = d(o);
|
|
13
13
|
class c extends n {
|
|
@@ -5,18 +5,18 @@ import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
|
5
5
|
/*!
|
|
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.75
|
|
9
9
|
*/
|
|
10
10
|
const h = c`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`;
|
|
11
11
|
class a extends r {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region Lifecycle
|
|
14
14
|
constructor() {
|
|
15
|
-
super(), this._observer = void 0, this.
|
|
15
|
+
super(), this._observer = void 0, this._moveChildren = () => {
|
|
16
16
|
if (this.el.childElem.parentElement !== this.el)
|
|
17
17
|
for (let e = this.el.firstElementChild; e !== null; e = this.el.firstElementChild)
|
|
18
18
|
this.el.childElem.append(e);
|
|
19
|
-
}, this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-placement__container"), this.listen("arcgisReady", this._startObserving, { once: !0 });
|
|
19
|
+
}, this.position = "bottom-left", this.arcgisReady = o(), this.el.childElem = document.createElement("div"), this.el.childElem.classList.add("arcgis-placement__container"), this.listen("arcgisReady", this._startObserving, { once: !0 });
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.properties = { position: 1, referenceElement: 1 };
|
|
@@ -39,8 +39,8 @@ class a extends r {
|
|
|
39
39
|
disconnectedCallback() {
|
|
40
40
|
super.disconnectedCallback(), this.el.childElem && this.el.view?.ui?.remove(this.el.childElem), this._observer?.disconnect();
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region Private Methods
|
|
44
44
|
/**
|
|
45
45
|
* We only call this method once the view property is set. Because when that
|
|
46
46
|
* happens, the childElem contains is already attached to it's final
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const d = h`arcgis-print{display:block}`, m = o(s);
|
|
14
14
|
class p extends a {
|
|
@@ -10,7 +10,7 @@ import { LitElement as R, createEvent as D, noShadowRoot as x, safeClassMap as r
|
|
|
10
10
|
/*!
|
|
11
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
* v4.32.0-next.
|
|
13
|
+
* v4.32.0-next.75
|
|
14
14
|
*/
|
|
15
15
|
const i = "esri-scale-bar", t = {
|
|
16
16
|
base: i,
|
|
@@ -7,7 +7,7 @@ import { css as o } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const c = o`arcgis-scale-range-slider{display:block}`, r = s(i);
|
|
13
13
|
class d extends a {
|
|
@@ -8,7 +8,7 @@ import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const f = y`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, _ = o(v, {}), b = o(l, {});
|
|
14
14
|
class V extends p {
|
|
@@ -8,7 +8,7 @@ import { css as o } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const g = o`arcgis-search{display:block}`, d = r(a);
|
|
14
14
|
class u extends h {
|
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const r = n`arcgis-shadow-cast{display:block}`, l = o(e);
|
|
13
13
|
class c extends a {
|
|
@@ -8,7 +8,7 @@ import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const p = g`arcgis-sketch{display:block}`, c = n(l);
|
|
14
14
|
class m extends h {
|
|
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
/*!
|
|
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.75
|
|
11
11
|
*/
|
|
12
12
|
const d = r`arcgis-slice{display:block}`, h = i(t);
|
|
13
13
|
class c extends a {
|
|
@@ -8,7 +8,7 @@ import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r = a(s);
|
|
14
14
|
class d extends h {
|
|
@@ -11,7 +11,7 @@ import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
|
11
11
|
/*!
|
|
12
12
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
14
|
-
* v4.32.0-next.
|
|
14
|
+
* v4.32.0-next.75
|
|
15
15
|
*/
|
|
16
16
|
const H = A`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input);&--hidden{visibility:hidden}}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`, l = "arcgis-swipe", n = {
|
|
17
17
|
base: l,
|
|
@@ -8,7 +8,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const m = n`arcgis-table-list{display:block}`, d = i(s);
|
|
14
14
|
class h extends l {
|
|
@@ -8,7 +8,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const r = n`arcgis-time-slider{display:block}`, m = o(e);
|
|
14
14
|
class c extends a {
|
|
@@ -11,7 +11,7 @@ import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
|
11
11
|
/*!
|
|
12
12
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
14
|
-
* v4.32.0-next.
|
|
14
|
+
* v4.32.0-next.75
|
|
15
15
|
*/
|
|
16
16
|
const y = b`arcgis-track{display:block}`, $ = {
|
|
17
17
|
base: "esri-track"
|
|
@@ -8,7 +8,7 @@ import { LitElement as h, createEvent as A, noShadowRoot as m } from "@arcgis/lu
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
class v extends h {
|
|
14
14
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lu
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
class g extends f {
|
|
14
14
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { LitElement as n, createEvent as w, noShadowRoot as c } from "@arcgis/lu
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
class m extends n {
|
|
14
14
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
/*!
|
|
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.75
|
|
12
12
|
*/
|
|
13
13
|
const l = r`arcgis-value-picker{display:block}`, c = s(e);
|
|
14
14
|
class u extends o {
|
|
@@ -153,12 +153,12 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
153
153
|
*/
|
|
154
154
|
autoDestroyDisabled: boolean;
|
|
155
155
|
closable: boolean;
|
|
156
|
+
get initialVersionInfos(): InitialVersionInfo[];
|
|
156
157
|
/**
|
|
157
158
|
* The `initialVersionInfos` property enables users to initialize the Version Management Component with a predefined set of versions.
|
|
158
159
|
* By providing an array of `InitialVersionInfo`, the component displays a specified version for each feature service upon initialization.
|
|
159
160
|
*/
|
|
160
161
|
set initialVersionInfos(value: InitialVersionInfo[]);
|
|
161
|
-
get initialVersionInfos(): InitialVersionInfo[];
|
|
162
162
|
icon: Nil | string;
|
|
163
163
|
label: string | undefined;
|
|
164
164
|
messageOverrides?: typeof this.messages._overrides;
|
|
@@ -9,7 +9,7 @@ import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
|
9
9
|
/*!
|
|
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.75
|
|
13
13
|
*/
|
|
14
14
|
const T = A`.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`, x = M(P), u = "map-components:version-management";
|
|
15
15
|
class R extends k {
|
|
@@ -20,10 +20,13 @@ class R extends k {
|
|
|
20
20
|
this.properties = { versionList: 16, _showInvalidFeatureServiceNotice: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, initialVersionInfos: 0, icon: 3, label: 3, messageOverrides: 0, mode: 1, pageSize: 9, position: 1, referenceElement: 1, state: 3, versioningStates: 0, view: 0 };
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
this.
|
|
23
|
+
this.styles = T;
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.
|
|
26
|
+
this.shadowRootOptions = b;
|
|
27
|
+
}
|
|
28
|
+
get initialVersionInfos() {
|
|
29
|
+
return this._initialVersionInfos;
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
29
32
|
* The `initialVersionInfos` property enables users to initialize the Version Management Component with a predefined set of versions.
|
|
@@ -35,17 +38,14 @@ class R extends k {
|
|
|
35
38
|
url: this._removeTrailingSlash(i.url)
|
|
36
39
|
}));
|
|
37
40
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
// #endregion
|
|
42
|
-
// #region Public Methods
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region Public Methods
|
|
43
43
|
/** Permanently destroy the component */
|
|
44
44
|
async destroy() {
|
|
45
45
|
await this.manager.destroy();
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region Lifecycle
|
|
49
49
|
async load() {
|
|
50
50
|
const { once: e, watch: i } = this.reactiveUtils;
|
|
51
51
|
e(() => this.viewModel.state === "ready").then(() => {
|
|
@@ -76,8 +76,8 @@ class R extends k {
|
|
|
76
76
|
})
|
|
77
77
|
]);
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region Private Methods
|
|
81
81
|
_removeTrailingSlash(e) {
|
|
82
82
|
return e.replace(/\/+$/u, "");
|
|
83
83
|
}
|
|
@@ -216,8 +216,8 @@ class R extends k {
|
|
|
216
216
|
for (const i of e.childNodes)
|
|
217
217
|
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES" && e.removeChild(i);
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region Rendering
|
|
221
221
|
render() {
|
|
222
222
|
const { allowEditingDisabled: e, closable: i, flowElement: { value: o }, initialVersionInfos: s, _isInitialVersionInvalid: t, label: r, messages: n, mode: a, pageSize: d, versionList: v, viewModel: l, viewModel: { loadError: g, state: m } } = this, I = Array.from(l.serviceNameLookup, ([c, f]) => ({ url: c, name: f })), V = m !== "disabled" ? I.map((c) => {
|
|
223
223
|
const f = {
|
|
@@ -4,7 +4,7 @@ import { LitElement as C, createEvent as n, noShadowRoot as G, safeClassMap as F
|
|
|
4
4
|
/*!
|
|
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.75
|
|
8
8
|
*/
|
|
9
9
|
class y extends C {
|
|
10
10
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } fr
|
|
|
4
4
|
/*!
|
|
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.75
|
|
8
8
|
*/
|
|
9
9
|
class E extends b {
|
|
10
10
|
constructor() {
|