@arcgis/map-components 4.32.0-next.47 → 4.32.0-next.48
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/{VEINHQQD.js → 255AF7AC.js} +2 -2
- package/dist/arcgis-map-components/{MZAVXUZD.js → 25HXP7UN.js} +2 -2
- package/dist/arcgis-map-components/{OXYN5F22.js → 2IVXNZ5G.js} +2 -2
- package/dist/arcgis-map-components/{FOQWMRFK.js → 2N4QR7RI.js} +2 -2
- package/dist/arcgis-map-components/{OGLL3SVD.js → 2O6UQR2A.js} +2 -2
- package/dist/arcgis-map-components/{YSSF4ED4.js → 2WOO4K3K.js} +2 -2
- package/dist/arcgis-map-components/{IEIFBIIS.js → 34ZYU6GD.js} +2 -2
- package/dist/arcgis-map-components/{DWE2TIQK.js → 3EDA4EJI.js} +2 -2
- package/dist/arcgis-map-components/3SVHMH5O.js +6 -0
- package/dist/arcgis-map-components/{GNF5KT5X.js → 3T6JLMBN.js} +1 -1
- package/dist/arcgis-map-components/{LAXC6FVF.js → 4EFG4KSH.js} +2 -2
- package/dist/arcgis-map-components/{YKGJ5IBU.js → 4IDPHUGW.js} +2 -2
- package/dist/arcgis-map-components/{2RU5SPWR.js → 4RAX377Q.js} +2 -2
- package/dist/arcgis-map-components/{WFTMORXO.js → 4RHUWBNR.js} +2 -2
- package/dist/arcgis-map-components/{A5KW63WX.js → 54NPAJV6.js} +2 -2
- package/dist/arcgis-map-components/{EOXBO4RH.js → 5NKTXYEJ.js} +2 -2
- package/dist/arcgis-map-components/{LWO26JBR.js → 7RW3EKDP.js} +2 -2
- package/dist/arcgis-map-components/{PRKJYBCJ.js → ACCUGOPO.js} +2 -2
- package/dist/arcgis-map-components/{GZQKU35F.js → AKIR55OV.js} +2 -2
- package/dist/arcgis-map-components/{DFS6HCHO.js → BWYA7KZO.js} +2 -2
- package/dist/arcgis-map-components/C2XVHDPB.js +6 -0
- package/dist/arcgis-map-components/{TJTBXXY7.js → C3TCQB6B.js} +2 -2
- package/dist/arcgis-map-components/{Q26FTWJP.js → C6ULWFIA.js} +1 -1
- package/dist/arcgis-map-components/{722AIY4B.js → CDZUFILE.js} +2 -2
- package/dist/arcgis-map-components/{OY67DYJO.js → CERXMPRI.js} +2 -2
- package/dist/arcgis-map-components/{EY5CKDGG.js → CIJPEHP7.js} +2 -2
- package/dist/arcgis-map-components/{MJUMOONG.js → CTUPTIGR.js} +2 -2
- package/dist/arcgis-map-components/{RQOCXUKO.js → CZRCGFY6.js} +2 -2
- package/dist/arcgis-map-components/{BTUX2Z66.js → D2KKSD6K.js} +2 -2
- package/dist/arcgis-map-components/{HROHFNSS.js → DGAF5G46.js} +2 -2
- package/dist/arcgis-map-components/{ZCPLK45Q.js → DIZ3X6T6.js} +2 -2
- package/dist/arcgis-map-components/{HG5L57KX.js → DTYRN6A7.js} +2 -2
- package/dist/arcgis-map-components/{PTGJKOHK.js → E3ZHUE7Q.js} +2 -2
- package/dist/arcgis-map-components/{HZAGHNFW.js → FAQDEPJU.js} +2 -2
- package/dist/arcgis-map-components/{YLCCNC34.js → FG2DBLHX.js} +1 -1
- package/dist/arcgis-map-components/{252D7QVH.js → FR4NIQMB.js} +2 -2
- package/dist/arcgis-map-components/{EWPJIHIX.js → IBF3IDNS.js} +2 -2
- package/dist/arcgis-map-components/{B7PSHKMP.js → ICQN7RHD.js} +2 -2
- package/dist/arcgis-map-components/{76GJWP5W.js → KBY7WV5U.js} +2 -2
- package/dist/arcgis-map-components/KJBGYMCP.js +6 -0
- package/dist/arcgis-map-components/{MBLK645G.js → KX642INY.js} +2 -2
- package/dist/arcgis-map-components/LMZJUHTX.js +6 -0
- package/dist/arcgis-map-components/{T6WJR2KJ.js → M2CY4E72.js} +2 -2
- package/dist/arcgis-map-components/{464GKVW3.js → M5JPBKKG.js} +2 -2
- package/dist/arcgis-map-components/{FU24MSS4.js → MOVRRE5O.js} +2 -2
- package/dist/arcgis-map-components/{QMASVEGG.js → P7QJCESO.js} +2 -2
- package/dist/arcgis-map-components/{4Y6NHB7L.js → Q4P2B5QS.js} +2 -2
- package/dist/arcgis-map-components/{ZVO6UFKM.js → QEHLK3F5.js} +2 -2
- package/dist/arcgis-map-components/{RAMMIRXI.js → QH6U3FYJ.js} +2 -2
- package/dist/arcgis-map-components/{JRO4QAU6.js → QN3QN7Z3.js} +2 -2
- package/dist/arcgis-map-components/{MYFPFCDM.js → QO7AJ3ZP.js} +2 -2
- package/dist/arcgis-map-components/{IQHQSS6T.js → QQ6V3U4B.js} +2 -2
- package/dist/arcgis-map-components/{NRLXPEDG.js → R6WS2GEC.js} +2 -2
- package/dist/arcgis-map-components/{HNE6XW3C.js → RGSWC3TK.js} +2 -2
- package/dist/arcgis-map-components/{BFLSXYU5.js → STIATALH.js} +2 -2
- package/dist/arcgis-map-components/{JLOFZ3HY.js → SVO7I4WD.js} +2 -2
- package/dist/arcgis-map-components/{IFQOSCFG.js → T6AUTHJO.js} +2 -2
- package/dist/arcgis-map-components/{PBJ2P6QO.js → TC353VRU.js} +2 -2
- package/dist/arcgis-map-components/{VPQHMDJ2.js → TIK77BMG.js} +2 -2
- package/dist/arcgis-map-components/{CX5WIDQ7.js → UIOALA5O.js} +2 -2
- package/dist/arcgis-map-components/{VH5QTUDW.js → UM4Y7YHA.js} +1 -1
- package/dist/arcgis-map-components/{6B5VN2AZ.js → VK3OKZOT.js} +2 -2
- package/dist/arcgis-map-components/{EAGHH6QU.js → VMYH6A2G.js} +2 -2
- package/dist/arcgis-map-components/W3JEHP5Y.js +6 -0
- package/dist/arcgis-map-components/{R5OPZNHX.js → W5MX4AM4.js} +2 -2
- package/dist/arcgis-map-components/{ZQWZWRDC.js → WNKCAUDW.js} +2 -2
- package/dist/arcgis-map-components/{XUT27GQR.js → WOUSZBPG.js} +2 -2
- package/dist/arcgis-map-components/{TJ4OGPG4.js → XFZJCGS6.js} +2 -2
- package/dist/arcgis-map-components/{5NRNYEDM.js → XVBXW5FD.js} +2 -2
- package/dist/arcgis-map-components/{7363UCEV.js → YZ6TRGHV.js} +2 -2
- package/dist/arcgis-map-components/{7SVQKUF4.js → ZRRQ2LNJ.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/version-management/t9n/messages.en.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/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 +1 -1
- 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.d.ts +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.js +1 -1
- 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.js +1 -1
- 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 +1 -1
- 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 +5 -0
- package/dist/components/arcgis-version-management/customElement.js +80 -78
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-service-item/customElement.js +21 -21
- package/dist/components/arcgis-version-management-version-item/customElement.js +2 -2
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +48 -35
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +56 -43
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/package.json +5 -5
- package/dist/arcgis-map-components/3YN2ATEM.js +0 -6
- package/dist/arcgis-map-components/7APV5GQD.js +0 -6
- package/dist/arcgis-map-components/7XKIPITA.js +0 -6
- package/dist/arcgis-map-components/QIDSHFN3.js +0 -6
- package/dist/arcgis-map-components/ZKHFO7X5.js +0 -6
|
@@ -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.48
|
|
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 D, createEvent as R, noShadowRoot as x, safeClassMap as s
|
|
|
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.48
|
|
14
14
|
*/
|
|
15
15
|
const r = "esri-scale-bar", t = {
|
|
16
16
|
base: r,
|
|
@@ -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.48
|
|
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.48
|
|
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.48
|
|
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.48
|
|
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.48
|
|
12
12
|
*/
|
|
13
13
|
const p = g`arcgis-sketch{display:block}`, c = n(l);
|
|
14
14
|
class m extends d {
|
|
@@ -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.48
|
|
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.48
|
|
12
12
|
*/
|
|
13
13
|
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r = a(s);
|
|
14
14
|
class d extends h {
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lu
|
|
|
6
6
|
/*!
|
|
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.48
|
|
10
10
|
*/
|
|
11
11
|
const n = s(i);
|
|
12
12
|
class d extends a {
|
|
@@ -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.48
|
|
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.48
|
|
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.48
|
|
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.48
|
|
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.48
|
|
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.48
|
|
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.48
|
|
12
12
|
*/
|
|
13
13
|
const l = r`arcgis-value-picker{display:block}`, c = s(e);
|
|
14
14
|
class u extends o {
|
|
@@ -40,6 +40,7 @@ export interface VersioningStateEvent {
|
|
|
40
40
|
versionIdentifier?: __esri.VersionInfoVersionIdentifier;
|
|
41
41
|
versioningState?: __esri.VersioningState;
|
|
42
42
|
}
|
|
43
|
+
export type VersioningFlowState = "properties" | "root" | "version-list";
|
|
43
44
|
export declare class ArcgisVersionManagement extends LitElement {
|
|
44
45
|
private messages: {
|
|
45
46
|
label: string;
|
|
@@ -68,6 +69,8 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
68
69
|
headers: {
|
|
69
70
|
currentVersion: string;
|
|
70
71
|
manageVersions: string;
|
|
72
|
+
filterVersions: string;
|
|
73
|
+
versionProperties: string;
|
|
71
74
|
};
|
|
72
75
|
input: {
|
|
73
76
|
versionAccess: string;
|
|
@@ -106,6 +109,8 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
106
109
|
headers: {
|
|
107
110
|
currentVersion: string;
|
|
108
111
|
manageVersions: string;
|
|
112
|
+
filterVersions: string;
|
|
113
|
+
versionProperties: string;
|
|
109
114
|
};
|
|
110
115
|
input: {
|
|
111
116
|
versionAccess: string;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as E } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as f } from "lit-html";
|
|
3
|
-
import { load as
|
|
3
|
+
import { load as I } from "@arcgis/components-controllers";
|
|
4
4
|
import { importCoreReactiveUtils as V, newWidgetsVersionManagementVersionManagementViewModel as L } from "@arcgis/core-adapter";
|
|
5
|
-
import { u as S, m as
|
|
6
|
-
import { createRef as
|
|
7
|
-
import { LitElement as M, createEvent as p, noShadowRoot as
|
|
5
|
+
import { u as S, m as P } from "../../chunks/useViewModel.js";
|
|
6
|
+
import { createRef as y, ref as C } from "lit-html/directives/ref.js";
|
|
7
|
+
import { LitElement as M, createEvent as p, noShadowRoot as k, safeClassMap as _ } from "@arcgis/lumina";
|
|
8
8
|
import { css as F } 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.48
|
|
13
13
|
*/
|
|
14
|
-
const
|
|
14
|
+
const b = F`.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`, N = P(L);
|
|
15
15
|
class A extends M {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this.flowElement =
|
|
17
|
+
super(...arguments), this.flowElement = y(), this.messages = S({ blocking: !0 }), this.reactiveUtils = I(V), this.viewModel = N(this), this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.pageSize = 5, this.position = "top-right", this.state = this.viewModel.state, this.versioningStates = this.viewModel.versioningStates, this.view = this.viewModel.view, this.arcgisReady = p(), this.arcgisVersioningStateChanged = p();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.properties = { allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, icon: 3, label: 3, messageOverrides: 0, mode: 1, pageSize: 9, position: 1, referenceElement: 1, state: 3, versioningStates: 0, view: 0 };
|
|
20
|
+
this.properties = { versionList: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, 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.shadowRootOptions =
|
|
23
|
+
this.shadowRootOptions = k;
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.styles =
|
|
26
|
+
this.styles = b;
|
|
27
27
|
}
|
|
28
28
|
// #endregion
|
|
29
29
|
// #region Public Methods
|
|
@@ -37,19 +37,19 @@ class A extends M {
|
|
|
37
37
|
const { watch: e } = this.reactiveUtils;
|
|
38
38
|
this.manager.onLifecycle(() => [
|
|
39
39
|
e(() => this.viewModel.state, (i) => {
|
|
40
|
-
const { flowElement: { value: s } } = this,
|
|
41
|
-
if (i === "disabled") {
|
|
42
|
-
|
|
40
|
+
const { flowElement: { value: s }, versionList: o } = this, t = s?.getElementsByTagName("arcgis-version-management-version-properties")[0];
|
|
41
|
+
if (i === "disabled" && s) {
|
|
42
|
+
t && this._removeVersionPropertiesFlowItem(s), o && this._removeVersionListFlowItem(s);
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
...
|
|
45
|
+
o && (o.versionListElementProps = {
|
|
46
|
+
...o.versionListElementProps,
|
|
47
47
|
executionError: this.viewModel.executionError
|
|
48
|
-
},
|
|
49
|
-
...
|
|
48
|
+
}, o.versionListElementProps = {
|
|
49
|
+
...o.versionListElementProps,
|
|
50
50
|
state: i
|
|
51
|
-
}),
|
|
52
|
-
...
|
|
51
|
+
}), t && (t.versionPropertiesElementProps = {
|
|
52
|
+
...t.versionPropertiesElementProps,
|
|
53
53
|
state: i
|
|
54
54
|
});
|
|
55
55
|
})
|
|
@@ -58,48 +58,48 @@ class A extends M {
|
|
|
58
58
|
// #endregion
|
|
59
59
|
// #region Private Methods
|
|
60
60
|
_createVersionPropertiesFlowItem(e, i) {
|
|
61
|
-
const { closable: s, flowElement: { value: o }, viewModel: t, viewModel: { state:
|
|
61
|
+
const { closable: s, flowElement: { value: o }, viewModel: t, viewModel: { state: m } } = this, n = document.createElement("arcgis-version-management-version-properties");
|
|
62
62
|
return n.versionPropertiesElementProps = {
|
|
63
63
|
closable: s,
|
|
64
64
|
currentUser: t.userLookup.get(e),
|
|
65
65
|
hasAdvEditingUte: t.advancedEditingUserTypeExtensionLookup.get(e),
|
|
66
66
|
isVersionAdministrator: t.versionAdministratorLookup.get(e),
|
|
67
67
|
serviceUrl: e,
|
|
68
|
-
state:
|
|
68
|
+
state: m,
|
|
69
69
|
strings: this.messages,
|
|
70
70
|
versionInfo: i
|
|
71
|
-
}, n.addEventListener("arcgisCreateVersion", (
|
|
72
|
-
const { createVersionParameters:
|
|
73
|
-
t.createVersion(
|
|
74
|
-
|
|
71
|
+
}, n.selected = !0, n.showBackButton = !0, n.addEventListener("arcgisCreateVersion", (l) => {
|
|
72
|
+
const { createVersionParameters: a, switchToVersion: d } = l.detail;
|
|
73
|
+
t.createVersion(a).then(async (r) => {
|
|
74
|
+
r && this.arcgisVersioningStateChanged.emit({
|
|
75
75
|
type: "version-created",
|
|
76
|
-
versionIdentifier:
|
|
76
|
+
versionIdentifier: r.versionIdentifier,
|
|
77
77
|
versioningState: t.versioningStateLookup.get(e)
|
|
78
|
-
}),
|
|
79
|
-
|
|
78
|
+
}), d && await this.viewModel.changeVersion(e, r.versionIdentifier.name, r.versionIdentifier.guid).then((v) => {
|
|
79
|
+
v && this.arcgisVersioningStateChanged.emit({
|
|
80
80
|
type: "version-switched",
|
|
81
|
-
versionIdentifier:
|
|
81
|
+
versionIdentifier: r.versionIdentifier,
|
|
82
82
|
versioningState: t.versioningStateLookup.get(e)
|
|
83
83
|
});
|
|
84
84
|
}), await this._refreshVersionList(e);
|
|
85
85
|
}).finally(() => {
|
|
86
86
|
o && this._removeVersionPropertiesFlowItem(o);
|
|
87
87
|
});
|
|
88
|
-
}), n.addEventListener("arcgisAlterVersion", async (
|
|
89
|
-
const { flowElement: { value:
|
|
90
|
-
await t.alterVersion(
|
|
91
|
-
|
|
88
|
+
}), n.addEventListener("arcgisAlterVersion", async (l) => {
|
|
89
|
+
const { flowElement: { value: a } } = this, { alterVersionParameters: d } = l.detail;
|
|
90
|
+
await t.alterVersion(d).then(async (r) => {
|
|
91
|
+
r && this.arcgisVersioningStateChanged.emit({
|
|
92
92
|
type: "version-changed",
|
|
93
|
-
versionIdentifier:
|
|
93
|
+
versionIdentifier: d.versionIdentifier,
|
|
94
94
|
versioningState: t.versioningStateLookup.get(e)
|
|
95
95
|
}), await this._refreshVersionList(e);
|
|
96
96
|
}).finally(() => {
|
|
97
|
-
|
|
97
|
+
a && this._removeVersionPropertiesFlowItem(a);
|
|
98
98
|
});
|
|
99
99
|
}), n.addEventListener("arcgisFlowItemBack", () => {
|
|
100
100
|
this._removeVersionPropertiesFlowItem(this.flowElement.value);
|
|
101
|
-
}), n.addEventListener("calciteFlowItemBack", (
|
|
102
|
-
|
|
101
|
+
}), n.addEventListener("calciteFlowItemBack", (l) => {
|
|
102
|
+
l.preventDefault(), this._removeVersionPropertiesFlowItem(this.flowElement.value), this.versionList && (this.versionList.selected = !0);
|
|
103
103
|
}), n.addEventListener("calciteFlowItemClose", () => {
|
|
104
104
|
this._handleFlowItemClose();
|
|
105
105
|
}), n;
|
|
@@ -119,8 +119,12 @@ class A extends M {
|
|
|
119
119
|
const e = document.querySelector("arcgis-version-management");
|
|
120
120
|
e.parentElement?.removeChild(e);
|
|
121
121
|
}
|
|
122
|
+
async _handleNewVersionAction(e) {
|
|
123
|
+
const i = this._createVersionPropertiesFlowItem(e.detail.serviceUrl, void 0);
|
|
124
|
+
this.flowElement.value?.appendChild(i), this.versionList && (this.versionList.selected = !1);
|
|
125
|
+
}
|
|
122
126
|
async _handleManageVersionAction(e) {
|
|
123
|
-
const { actionType: i, serviceUrl: s, versionInfo: o } = e.detail, { viewModel: t, flowElement:
|
|
127
|
+
const { actionType: i, serviceUrl: s, versionInfo: o } = e.detail, { viewModel: t, flowElement: m } = this;
|
|
124
128
|
switch (i) {
|
|
125
129
|
case "changeVersion": {
|
|
126
130
|
t.changeVersion(s, o.versionIdentifier.name, o.versionIdentifier.guid).then((n) => {
|
|
@@ -129,9 +133,9 @@ class A extends M {
|
|
|
129
133
|
versionIdentifier: o.versionIdentifier,
|
|
130
134
|
versioningState: t.versioningStateLookup.get(s)
|
|
131
135
|
});
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
...
|
|
136
|
+
const { versionList: l } = this;
|
|
137
|
+
l && (l.versionListElementProps = {
|
|
138
|
+
...l.versionListElementProps,
|
|
135
139
|
currentVersionIdentifier: t.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier
|
|
136
140
|
});
|
|
137
141
|
});
|
|
@@ -149,76 +153,74 @@ class A extends M {
|
|
|
149
153
|
}
|
|
150
154
|
case "editVersion": {
|
|
151
155
|
const n = this._createVersionPropertiesFlowItem(s, o);
|
|
152
|
-
|
|
156
|
+
m.value?.appendChild(n), this.versionList && (this.versionList.selected = !1);
|
|
153
157
|
break;
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
}
|
|
157
161
|
async _refreshVersionList(e) {
|
|
158
|
-
const { flowElement: { value: i },
|
|
162
|
+
const { flowElement: { value: i }, versionList: s, viewModel: o } = this;
|
|
159
163
|
if (i) {
|
|
160
|
-
const
|
|
161
|
-
for (const n of
|
|
164
|
+
const t = await o.getVersionInfos(e), m = i.getElementsByTagName("arcgis-version-management-service-item");
|
|
165
|
+
for (const n of m)
|
|
162
166
|
n.serviceItemElementProps.serviceUrl === e && (n.serviceItemElementProps = {
|
|
163
167
|
...n.serviceItemElementProps,
|
|
164
|
-
versionInfos:
|
|
168
|
+
versionInfos: t
|
|
165
169
|
});
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
versionInfos: o
|
|
170
|
+
s && (s.versionListElementProps = {
|
|
171
|
+
...s.versionListElementProps,
|
|
172
|
+
currentVersionIdentifier: o.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,
|
|
173
|
+
versionInfos: t
|
|
171
174
|
});
|
|
172
175
|
}
|
|
173
176
|
}
|
|
174
177
|
_removeVersionListFlowItem(e) {
|
|
175
178
|
for (const i of e.childNodes)
|
|
176
|
-
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST" && e.removeChild(i), i.nodeName.toUpperCase() === "CALCITE-FLOW-ITEM" && (i.hidden = !1);
|
|
179
|
+
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST" && (e.removeChild(i), this.versionList = void 0), i.nodeName.toUpperCase() === "CALCITE-FLOW-ITEM" && (i.hidden = !1);
|
|
177
180
|
}
|
|
178
181
|
_removeVersionPropertiesFlowItem(e) {
|
|
179
182
|
for (const i of e.childNodes)
|
|
180
|
-
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES" && e.removeChild(i)
|
|
183
|
+
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES" && e.removeChild(i);
|
|
181
184
|
}
|
|
182
185
|
// #endregion
|
|
183
186
|
// #region Rendering
|
|
184
187
|
render() {
|
|
185
|
-
const { allowEditingDisabled: e, closable: i, flowElement: { value: s },
|
|
186
|
-
const
|
|
188
|
+
const { allowEditingDisabled: e, closable: i, flowElement: { value: s }, versionList: o, label: t, messages: m, mode: n, pageSize: l, viewModel: a, viewModel: { loadError: d, state: r } } = this, v = Array.from(a.serviceNameLookup, ([c, g]) => ({ url: c, name: g })), w = r !== "disabled" ? v.map((c) => {
|
|
189
|
+
const g = {
|
|
187
190
|
allowEditing: !e,
|
|
188
191
|
closable: i,
|
|
189
|
-
currentUser:
|
|
190
|
-
currentVersionIdentifier:
|
|
192
|
+
currentUser: a.userLookup.get(c.url),
|
|
193
|
+
currentVersionIdentifier: a.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,
|
|
191
194
|
executionError: void 0,
|
|
192
195
|
flowElement: s,
|
|
193
|
-
hasAdvEditingUte:
|
|
194
|
-
heading:
|
|
195
|
-
isVersionAdministrator:
|
|
196
|
-
isVersioningApiAvailable: (
|
|
197
|
-
mode:
|
|
198
|
-
pageSize:
|
|
199
|
-
serviceName:
|
|
200
|
-
state:
|
|
201
|
-
serviceUrl:
|
|
202
|
-
strings:
|
|
203
|
-
versionInfos:
|
|
196
|
+
hasAdvEditingUte: a.advancedEditingUserTypeExtensionLookup.get(c.url),
|
|
197
|
+
heading: t,
|
|
198
|
+
isVersionAdministrator: a.versionAdministratorLookup.get(c.url),
|
|
199
|
+
isVersioningApiAvailable: (a.serverVersionLookup.get(c.url) ?? 0) >= 11.2,
|
|
200
|
+
mode: n,
|
|
201
|
+
pageSize: l,
|
|
202
|
+
serviceName: c.name,
|
|
203
|
+
state: r,
|
|
204
|
+
serviceUrl: c.url,
|
|
205
|
+
strings: m,
|
|
206
|
+
versionInfos: a.versioningStateLookup.get(c.url)?.versionInfos ?? []
|
|
204
207
|
};
|
|
205
|
-
return f`<arcgis-version-management-service-item .serviceItemElementProps=${
|
|
208
|
+
return f`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisGetVersions=${async (h) => {
|
|
206
209
|
await this._refreshVersionList(h.detail.serviceUrl);
|
|
207
210
|
}} @arcgisFlowItemBack=${() => {
|
|
208
|
-
s && this._removeVersionListFlowItem(s);
|
|
211
|
+
s && (this._removeVersionListFlowItem(s), this.versionList = void 0);
|
|
209
212
|
}} @arcgisFlowItemClose=${() => {
|
|
210
213
|
this._handleFlowItemClose();
|
|
211
|
-
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${(h) => {
|
|
212
|
-
|
|
213
|
-
s?.appendChild(E);
|
|
214
|
+
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(h) => {
|
|
215
|
+
this.versionList = h.detail;
|
|
214
216
|
}}></arcgis-version-management-service-item>`;
|
|
215
|
-
}) : void 0,
|
|
216
|
-
return f`<calcite-flow class=${
|
|
217
|
+
}) : void 0, u = r === "disabled" ? f`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(d)}</div></calcite-notice>` : void 0;
|
|
218
|
+
return f`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${_(this.mode === "dialog" ? "" : "calcite-flow-widget")} ${C(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${t ?? void 0} @calciteFlowItemClose=${() => {
|
|
217
219
|
this._handleFlowItemClose();
|
|
218
|
-
}}><calcite-panel .loading=${
|
|
220
|
+
}} .selected=${!o}><calcite-panel .loading=${r === "loading" || r === "executing"}>${w}${u}</calcite-panel></calcite-flow-item></calcite-flow>`;
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
|
-
|
|
223
|
+
E("arcgis-version-management", A);
|
|
222
224
|
export {
|
|
223
225
|
A as ArcgisVersionManagement
|
|
224
226
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { Nil } from '@arcgis/components-utils';
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
+
import { ArcgisVersionManagementVersionList } from '../arcgis-version-management-version-list/customElement.js';
|
|
4
5
|
import { ArcgisVersionManagement } from '../arcgis-version-management/customElement.js';
|
|
5
6
|
|
|
6
7
|
/** @private */
|
|
@@ -37,4 +38,5 @@ export declare class ArcgisVersionManagementServiceItem extends LitElement {
|
|
|
37
38
|
readonly arcgisNewVersion: TargetedEvent<this, {
|
|
38
39
|
serviceUrl: string;
|
|
39
40
|
}>;
|
|
41
|
+
readonly arcgisCreateVersionList: TargetedEvent<this, import('@arcgis/lumina').ToElement<ArcgisVersionManagementVersionList>>;
|
|
40
42
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as I } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import { LitElement as
|
|
2
|
+
import { html as r } from "lit-html";
|
|
3
|
+
import { LitElement as C, createEvent as t, noShadowRoot as k, safeClassMap as N } from "@arcgis/lumina";
|
|
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.48
|
|
8
8
|
*/
|
|
9
|
-
class G extends
|
|
9
|
+
class G extends C {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._arcgisGetVersions = (e) => {
|
|
12
12
|
this.arcgisGetVersions.emit(e.detail);
|
|
@@ -14,13 +14,13 @@ class G extends k {
|
|
|
14
14
|
this.arcgisManageVersion.emit(e.detail);
|
|
15
15
|
}, this._arcgisNewVersion = (e) => {
|
|
16
16
|
this.arcgisNewVersion.emit(e.detail);
|
|
17
|
-
}, this._versionListEventListeners = /* @__PURE__ */ new Map(), this.arcgisFlowItemBack =
|
|
17
|
+
}, this._versionListEventListeners = /* @__PURE__ */ new Map(), this.arcgisFlowItemBack = t(), this.arcgisFlowItemClose = t(), this.arcgisGetVersions = t(), this.arcgisManageVersion = t(), this.arcgisNewVersion = t(), this.arcgisCreateVersionList = t();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.properties = { serviceItemElementProps: 0 };
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
this.shadowRootOptions =
|
|
23
|
+
this.shadowRootOptions = k;
|
|
24
24
|
}
|
|
25
25
|
// #endregion
|
|
26
26
|
// #region Lifecycle
|
|
@@ -39,15 +39,15 @@ class G extends k {
|
|
|
39
39
|
// #endregion
|
|
40
40
|
// #region Rendering
|
|
41
41
|
render() {
|
|
42
|
-
const { serviceItemElementProps: { allowEditing: e, closable: a, currentUser: c, executionError: h, currentVersionIdentifier: l, flowElement: V, hasAdvEditingUte: p, heading: L, isVersionAdministrator: E, isVersioningApiAvailable: b, mode: _, pageSize:
|
|
43
|
-
let { _versionList:
|
|
44
|
-
const
|
|
45
|
-
const $ =
|
|
42
|
+
const { serviceItemElementProps: { allowEditing: e, closable: a, currentUser: c, executionError: h, currentVersionIdentifier: l, flowElement: V, hasAdvEditingUte: p, heading: L, isVersionAdministrator: E, isVersioningApiAvailable: b, mode: _, pageSize: u, serviceName: n, serviceUrl: g, state: f, strings: m, versionInfos: o } } = this;
|
|
43
|
+
let { _versionList: i } = this;
|
|
44
|
+
const w = r`<calcite-combobox clear-disabled .label=${n} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${(s) => {
|
|
45
|
+
const $ = s.target, x = o.find((M) => M.versionIdentifier.guid === $.value);
|
|
46
46
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: g, versionInfo: x });
|
|
47
|
-
}}>${o ? o.map((
|
|
47
|
+
}}>${o ? o.map((s) => r`<calcite-combobox-item class=${N(_ === "dialog" ? "" : "calcite-combobox-item")} .selected=${l.guid === s.versionIdentifier.guid && l.name === s.versionIdentifier.name} .textLabel=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
|
|
48
48
|
let d, v;
|
|
49
|
-
return e && (d =
|
|
50
|
-
|
|
49
|
+
return e && (d = r`<calcite-action .id=${`actionManageVersions_${n}`} icon=list scale=s slot=control text @click=${async () => {
|
|
50
|
+
i = document.createElement("arcgis-version-management-version-list"), i.versionListElementProps = {
|
|
51
51
|
closable: a,
|
|
52
52
|
currentUser: c,
|
|
53
53
|
currentVersionIdentifier: l,
|
|
@@ -56,18 +56,18 @@ class G extends k {
|
|
|
56
56
|
heading: L,
|
|
57
57
|
isVersionAdministrator: E,
|
|
58
58
|
isVersioningApiAvailable: b,
|
|
59
|
-
pageSize:
|
|
60
|
-
serviceName:
|
|
59
|
+
pageSize: u,
|
|
60
|
+
serviceName: n,
|
|
61
61
|
serviceUrl: g,
|
|
62
|
-
state:
|
|
62
|
+
state: f,
|
|
63
63
|
strings: m,
|
|
64
64
|
versionInfos: o
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
}),
|
|
65
|
+
}, i.selected = !0, i.showBackButton = !0, i.addEventListener("calciteFlowItemBack", (s) => {
|
|
66
|
+
s.preventDefault(), this.arcgisFlowItemBack.emit();
|
|
67
|
+
}), i.addEventListener("calciteFlowItemClose", () => {
|
|
68
68
|
this.arcgisFlowItemClose.emit();
|
|
69
|
-
}), this._addVersionListEventListeners(
|
|
70
|
-
}}></calcite-action>`, v =
|
|
69
|
+
}), this._addVersionListEventListeners(i), V?.append(i), this.arcgisCreateVersionList.emit(i);
|
|
70
|
+
}}></calcite-action>`, v = r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${n}`}><span>${m.headers.manageVersions}</span></calcite-tooltip>`), r`<calcite-block open .heading=${n}>${w}${d}${v}</calcite-block>`;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
I("arcgis-version-management-service-item", G);
|
|
@@ -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.48
|
|
8
8
|
*/
|
|
9
9
|
class E extends b {
|
|
10
10
|
constructor() {
|
|
@@ -19,7 +19,7 @@ class E extends b {
|
|
|
19
19
|
// #endregion
|
|
20
20
|
// #region Rendering
|
|
21
21
|
render() {
|
|
22
|
-
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m, hasAdvEditingUte: g, isVersionAdministrator: p, isVersioningApiAvailable: h, serviceUrl: t, strings: { actions: n }, versionInfo: e } } = this, s = e.versionIdentifier.name, V = s.substring(s.lastIndexOf(".") + 1), a = s.substring(0, s.lastIndexOf(".")), r = e.versionIdentifier.guid, l = `actionSwitchToVersion_${r}`, o = a.toUpperCase() === d.toUpperCase() && h && g || p, i = m.guid === e.versionIdentifier.guid, $ = c`<calcite-action .disabled=${i} id=${l ?? I} icon=code-branch text @click=${() => {
|
|
22
|
+
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m, hasAdvEditingUte: g, isVersionAdministrator: p, isVersioningApiAvailable: h, serviceUrl: t, strings: { actions: n }, versionInfo: e } } = this, s = e.versionIdentifier.name, V = s.substring(s.lastIndexOf(".") + 1), a = s.substring(0, s.lastIndexOf(".")), r = e.versionIdentifier.guid, l = `actionSwitchToVersion_${r}`, o = a.toUpperCase() === d.toUpperCase() && h && g || p, i = m.guid === e.versionIdentifier.guid, $ = c`<calcite-action appearance=transparent .disabled=${i} id=${l ?? I} icon=code-branch text @click=${() => {
|
|
23
23
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
24
24
|
}} slot=actions-start></calcite-action>`, u = i ? void 0 : c`<calcite-tooltip overlay-positioning=fixed .referenceElement=${l}><span>${n.switchToVersion}</span></calcite-tooltip>`;
|
|
25
25
|
return c`<calcite-list-item .description=${a} .label=${V} .value=${r}>${$}${u}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${() => {
|
|
@@ -22,6 +22,8 @@ export type VersionListElementProps = {
|
|
|
22
22
|
/** @private */
|
|
23
23
|
export declare class ArcgisVersionManagementVersionList extends LitElement {
|
|
24
24
|
currentPage: number;
|
|
25
|
+
selected: boolean;
|
|
26
|
+
showBackButton: boolean;
|
|
25
27
|
versionListElementProps: VersionListElementProps;
|
|
26
28
|
readonly arcgisGetVersions: TargetedEvent<this, {
|
|
27
29
|
serviceUrl: string;
|