@arcgis/map-components 4.32.0-next.84 → 4.32.0-next.85
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/{OUTOCGVP.js → 2TNEAZAF.js} +2 -2
- package/dist/arcgis-map-components/{FTOHM6K7.js → 32WNMGSE.js} +2 -2
- package/dist/arcgis-map-components/{JY2BL6QD.js → 35HPYV25.js} +2 -2
- package/dist/arcgis-map-components/{XJ5ZDZD5.js → 3LZI4V7A.js} +2 -2
- package/dist/arcgis-map-components/{SV37GYTZ.js → 44SXKBON.js} +2 -2
- package/dist/arcgis-map-components/{F2U6NY4G.js → 4GMWGCYP.js} +2 -2
- package/dist/arcgis-map-components/{SZI3EYQQ.js → 4OPF2YIS.js} +2 -2
- package/dist/arcgis-map-components/{LABTBYBR.js → 564KMD2H.js} +2 -2
- package/dist/arcgis-map-components/{GHPCV4MN.js → 5TMK2FY7.js} +2 -2
- package/dist/arcgis-map-components/{BVS52H6M.js → 6ADYLVHO.js} +2 -2
- package/dist/arcgis-map-components/{S2QUE2PT.js → 6IUOO2CX.js} +2 -2
- package/dist/arcgis-map-components/{XKY2Q5V6.js → 7XE2PHMN.js} +2 -2
- package/dist/arcgis-map-components/{XKFVFNRT.js → AHJ77DDX.js} +2 -2
- package/dist/arcgis-map-components/BO53EV22.js +4 -0
- package/dist/arcgis-map-components/{WCITYN6U.js → CCYD3GJL.js} +2 -2
- package/dist/arcgis-map-components/{CCF5WJQL.js → CF5DOP3R.js} +2 -2
- package/dist/arcgis-map-components/{6JAD4WKP.js → CSHTSK3A.js} +2 -2
- package/dist/arcgis-map-components/{OODDLGXW.js → CZMG37KX.js} +2 -2
- package/dist/arcgis-map-components/{ASLMMNFG.js → D727YOOX.js} +2 -2
- package/dist/arcgis-map-components/{QDTORANP.js → DBPKJOYW.js} +1 -1
- package/dist/arcgis-map-components/{LW4HCA3P.js → DLEN4ORI.js} +2 -2
- package/dist/arcgis-map-components/{C542LZ3W.js → DWMEEDHE.js} +2 -2
- package/dist/arcgis-map-components/{CAQQA5ME.js → DZF434YD.js} +2 -2
- package/dist/arcgis-map-components/{RLXPUR6U.js → ELYTB4XJ.js} +2 -2
- package/dist/arcgis-map-components/{D5YSPPQY.js → ERS4HX5J.js} +1 -1
- package/dist/arcgis-map-components/{CTCO63FH.js → FHOJWHL5.js} +2 -2
- package/dist/arcgis-map-components/{VHDI7NKV.js → FRIJ3FSA.js} +2 -2
- package/dist/arcgis-map-components/GAAOXAL6.js +4 -0
- package/dist/arcgis-map-components/{WZIB63XY.js → HG2VALA3.js} +2 -2
- package/dist/arcgis-map-components/HW7Z4CZB.js +4 -0
- package/dist/arcgis-map-components/{VY2AN4QN.js → HZNRXF47.js} +2 -2
- package/dist/arcgis-map-components/{VIEKXUEC.js → IKGSM2C2.js} +2 -2
- package/dist/arcgis-map-components/{2LH365WX.js → ITFN6HQK.js} +2 -2
- package/dist/arcgis-map-components/{H3QUUUNO.js → IUDW2ZVM.js} +2 -2
- package/dist/arcgis-map-components/{SJ23WYPX.js → IW775SZ3.js} +2 -2
- package/dist/arcgis-map-components/{TRRQPVCK.js → IXPHHN4Z.js} +2 -2
- package/dist/arcgis-map-components/{WOWZWSL5.js → J7HGN3TZ.js} +2 -2
- package/dist/arcgis-map-components/{NUF2ZXJB.js → JAQQBKX6.js} +2 -2
- package/dist/arcgis-map-components/{7IYUKHGU.js → K6PW23T7.js} +2 -2
- package/dist/arcgis-map-components/{UJJUHEQP.js → K77QPLOY.js} +2 -2
- package/dist/arcgis-map-components/{ADHZXMHO.js → LMOFB4IY.js} +2 -2
- package/dist/arcgis-map-components/{SDIRYXNN.js → M6O6GD4O.js} +2 -2
- package/dist/arcgis-map-components/{IF6ICBVD.js → MAMFUB2L.js} +2 -2
- package/dist/arcgis-map-components/{ALE6KF3F.js → MDHKEFLL.js} +1 -1
- package/dist/arcgis-map-components/{CHN4JGNG.js → MP3QQQKU.js} +2 -2
- package/dist/arcgis-map-components/{ZANDAN6Q.js → MSOBY6NR.js} +2 -2
- package/dist/arcgis-map-components/{CLW7FHWH.js → NCWZPEUO.js} +2 -2
- package/dist/arcgis-map-components/{G6CP2VYU.js → NVIX6GNC.js} +2 -2
- package/dist/arcgis-map-components/{JG6SSII2.js → NYN35UXK.js} +2 -2
- package/dist/arcgis-map-components/{MCAPSEE3.js → OMIYZ5A3.js} +2 -2
- package/dist/arcgis-map-components/{GP5KXKC6.js → OYUYZKN2.js} +2 -2
- package/dist/arcgis-map-components/PFRBRWGY.js +4 -0
- package/dist/arcgis-map-components/{JPFJWSQT.js → QBCARJYO.js} +2 -2
- package/dist/arcgis-map-components/QCYDFQGT.js +4 -0
- package/dist/arcgis-map-components/{SDTEUQJF.js → QVOQDJ5B.js} +2 -2
- package/dist/arcgis-map-components/{USOW5GMA.js → R3AVBSDU.js} +2 -2
- package/dist/arcgis-map-components/{QXH6QBCY.js → RBXK5JR3.js} +2 -2
- package/dist/arcgis-map-components/{HNBQDWNV.js → S3H7IQQP.js} +2 -2
- package/dist/arcgis-map-components/{S3HVEU43.js → S76V3WVV.js} +2 -2
- package/dist/arcgis-map-components/{GUBVA4HI.js → SI357SRE.js} +2 -2
- package/dist/arcgis-map-components/{SBFEI7G7.js → SPVD3PYB.js} +2 -2
- package/dist/arcgis-map-components/{NAN3TPDO.js → U6C4ZCMS.js} +2 -2
- package/dist/arcgis-map-components/{4HWKFVOD.js → VHE6RZA2.js} +2 -2
- package/dist/arcgis-map-components/{BCSTA4MD.js → VIUD4NSE.js} +2 -2
- package/dist/arcgis-map-components/{7PRXTQ4Y.js → VIVRU3Y4.js} +2 -2
- package/dist/arcgis-map-components/{CSEA27MX.js → VWEH2LWN.js} +2 -2
- package/dist/arcgis-map-components/{B2AHBB47.js → WZV3Y366.js} +2 -2
- package/dist/arcgis-map-components/X7EWPPQH.js +4 -0
- package/dist/arcgis-map-components/{OF62ZZDT.js → YHASKKJ6.js} +2 -2
- package/dist/arcgis-map-components/{SM27BTYQ.js → YK5CBUJC.js} +2 -2
- package/dist/arcgis-map-components/YXSRE3F6.js +4 -0
- package/dist/arcgis-map-components/{X3DKJFAI.js → Z6JJJVA2.js} +2 -2
- package/dist/arcgis-map-components/{VCU3GSEE.js → ZVNCPLXY.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 +43 -43
- 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.d.ts +2 -2
- 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.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +18 -18
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +9 -9
- 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.d.ts +11 -11
- 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.d.ts +3 -3
- 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.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +14 -11
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +12 -12
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -10
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +4 -4
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +18 -18
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +16 -16
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +9 -9
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +17 -17
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -10
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +11 -11
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +3 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +10 -10
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +22 -16
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +53 -47
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +10 -10
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +10 -10
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +6 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +23 -23
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +10 -10
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -10
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +84 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -5
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +9 -9
- 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.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/docs/api.json +811 -167
- package/dist/docs/docs.json +657 -179
- package/dist/docs/vscode.html-custom-data.json +100 -8
- package/dist/docs/web-types.json +288 -79
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/testing/commonSpatialReferences.d.ts +8 -0
- package/dist/testing/mockServices.d.ts +9 -0
- package/dist/testing/setupFile.d.ts +1 -0
- package/dist/testing/testUtils.d.ts +49 -0
- package/dist/testing/tileInfoUtils.d.ts +10 -0
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/dist/utils/component-utils.d.ts +2 -2
- package/package.json +5 -5
- package/dist/arcgis-map-components/BMZIKLJT.js +0 -4
- package/dist/arcgis-map-components/JDYFIYT3.js +0 -4
- package/dist/arcgis-map-components/MJBNTJRW.js +0 -4
- package/dist/arcgis-map-components/PBYUEHJ2.js +0 -4
- package/dist/arcgis-map-components/QWBNGCQZ.js +0 -4
- package/dist/arcgis-map-components/VQUVK2Z4.js +0 -4
- package/dist/arcgis-map-components/ZD343J42.js +0 -4
|
@@ -7,7 +7,7 @@ import { html as p } from "lit";
|
|
|
7
7
|
import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lumina";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
class g extends f {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._watchHandles = [], this.defaultGraphicColor = {
|
|
@@ -82,7 +82,7 @@ class g extends f {
|
|
|
82
82
|
e !== void 0 && this.widget && (this.widget.showSelectionAttributes = !e);
|
|
83
83
|
}
|
|
84
84
|
positionWatcher(e) {
|
|
85
|
-
e !== void 0 && this.widget && this.el.childElem && this.view.ui
|
|
85
|
+
e !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, e);
|
|
86
86
|
}
|
|
87
87
|
viewWatcher(e) {
|
|
88
88
|
e !== void 0 && this.widget && (this.widget.view = e);
|
|
@@ -7,7 +7,7 @@ import { html as d } from "lit";
|
|
|
7
7
|
import { LitElement as n, createEvent as w, noShadowRoot as c } from "@arcgis/lumina";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
class m extends n {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this._watchHandles = [], this.extentToValidate = "current", this.position = "bottom-left", this.arcgisReady = w();
|
|
@@ -42,7 +42,7 @@ class m extends n {
|
|
|
42
42
|
this.widget && t && (this.widget.utilityNetwork = t);
|
|
43
43
|
}
|
|
44
44
|
positionWatcher(t) {
|
|
45
|
-
t !== void 0 && this.widget && this.el.childElem && this.view.ui
|
|
45
|
+
t !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, t);
|
|
46
46
|
}
|
|
47
47
|
viewWatcher(t) {
|
|
48
48
|
t !== void 0 && this.widget && (this.widget.view = t, this._loadUtilityNetwork());
|
|
@@ -57,8 +57,8 @@ class m extends n {
|
|
|
57
57
|
async _loadUtilityNetwork() {
|
|
58
58
|
if (this.view?.map && this.view.map.portalItem) {
|
|
59
59
|
await this.view.map.load();
|
|
60
|
-
const t = this.view.map.utilityNetworks
|
|
61
|
-
await t
|
|
60
|
+
const t = this.view.map.utilityNetworks?.getItemAt(0);
|
|
61
|
+
await t?.load(), this.utilityNetwork = t;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
_setChildElement(t) {
|
|
@@ -48,8 +48,8 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
48
48
|
canNext: boolean;
|
|
49
49
|
canPlay: boolean;
|
|
50
50
|
canPrevious: boolean;
|
|
51
|
-
caption: string;
|
|
52
|
-
component: __esri.ValuePickerCollection | __esri.ValuePickerCombobox | __esri.ValuePickerLabel | __esri.ValuePickerSlider;
|
|
51
|
+
caption: string | nullish;
|
|
52
|
+
component: nullish | __esri.ValuePickerCollection | __esri.ValuePickerCombobox | __esri.ValuePickerLabel | __esri.ValuePickerSlider;
|
|
53
53
|
hideNextButton: boolean | undefined;
|
|
54
54
|
hidePlayButton: boolean | undefined;
|
|
55
55
|
hidePreviousButton: boolean | undefined;
|
|
@@ -60,13 +60,13 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
60
60
|
*/
|
|
61
61
|
icon: string;
|
|
62
62
|
/** The component's default label. */
|
|
63
|
-
label: string;
|
|
64
|
-
layout: "
|
|
63
|
+
label: string | nullish;
|
|
64
|
+
layout: "vertical" | "horizontal";
|
|
65
65
|
loop: boolean;
|
|
66
66
|
playRate: number;
|
|
67
67
|
position: __esri.UIPosition;
|
|
68
68
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
69
|
-
values: any[] | number[] | string[];
|
|
69
|
+
values: any[] | nullish | number[] | string[];
|
|
70
70
|
/** Permanently destroy the component */
|
|
71
71
|
destroy(): Promise<void>;
|
|
72
72
|
next(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const l = r`arcgis-value-picker{display:block}`, c = s(e);
|
|
12
12
|
class u extends o {
|
|
13
13
|
constructor() {
|
|
@@ -15,7 +15,7 @@ declare const useVersionManagementViewModel: (component: import('@arcgis/compone
|
|
|
15
15
|
destroy?: () => Promise<void>;
|
|
16
16
|
} & Pick<VersionManagementViewModel, never> & {
|
|
17
17
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
18
|
-
state?: "ready" | "disabled" | "loading" | "
|
|
18
|
+
state?: "ready" | "disabled" | "loading" | "executing" | "failed" | "success" | undefined;
|
|
19
19
|
icon: Nil | string;
|
|
20
20
|
label: Nil | string;
|
|
21
21
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
@@ -169,7 +169,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
169
169
|
pageSize: number;
|
|
170
170
|
position: __esri.UIPosition;
|
|
171
171
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
172
|
-
readonly state: "ready" | "disabled" | "loading" | "
|
|
172
|
+
readonly state: "ready" | "disabled" | "loading" | "executing" | "failed" | "success";
|
|
173
173
|
/**
|
|
174
174
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
175
175
|
* In the event that the Version Management Component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management Component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as S } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as g } from "lit-html";
|
|
3
3
|
import { load as _ } from "@arcgis/components-controllers";
|
|
4
4
|
import { importCoreReactiveUtils as y, newWidgetsVersionManagementVersionManagementViewModel as P } from "@arcgis/core-adapter";
|
|
5
5
|
import { u as F, m as M } from "../../chunks/useViewModel.js";
|
|
@@ -8,7 +8,7 @@ import { LitElement as k, createEvent as w, noShadowRoot as b, safeClassMap as $
|
|
|
8
8
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
11
|
+
v4.32.0-next.85 */
|
|
12
12
|
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";
|
|
13
13
|
class R extends k {
|
|
14
14
|
constructor() {
|
|
@@ -97,8 +97,8 @@ class R extends k {
|
|
|
97
97
|
type: "version-created",
|
|
98
98
|
versionIdentifier: l.versionIdentifier,
|
|
99
99
|
versioningState: t.versioningStateLookup.get(e)
|
|
100
|
-
}), v && await this.viewModel.changeVersion(e, l.versionIdentifier.name, l.versionIdentifier.guid).then((
|
|
101
|
-
|
|
100
|
+
}), v && await this.viewModel.changeVersion(e, l.versionIdentifier.name, l.versionIdentifier.guid).then((h) => {
|
|
101
|
+
h && this.arcgisVersioningStateChanged.emit({
|
|
102
102
|
type: "version-switched",
|
|
103
103
|
versionIdentifier: l.versionIdentifier,
|
|
104
104
|
versioningState: t.versioningStateLookup.get(e)
|
|
@@ -144,7 +144,7 @@ class R extends k {
|
|
|
144
144
|
const n = r?.versionInfos.find((v) => v.versionIdentifier.name === t);
|
|
145
145
|
if (!n)
|
|
146
146
|
throw i.set(s, !0), new Error(`${u} - version ${t} not found in the versioning state for feature service ${s}`);
|
|
147
|
-
const a = n.versionIdentifier, d = r?.currentVersionInfo
|
|
147
|
+
const a = n.versionIdentifier, d = r?.currentVersionInfo?.versionIdentifier;
|
|
148
148
|
a.guid !== d?.guid && o.changeVersion(s, a.name, a.guid);
|
|
149
149
|
}
|
|
150
150
|
_handleFlowItemClose() {
|
|
@@ -217,7 +217,7 @@ class R extends k {
|
|
|
217
217
|
//#endregion
|
|
218
218
|
//#region Rendering
|
|
219
219
|
render() {
|
|
220
|
-
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:
|
|
220
|
+
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: h, state: m } } = this, I = Array.from(l.serviceNameLookup, ([c, f]) => ({ url: c, name: f })), V = m !== "disabled" ? I.map((c) => {
|
|
221
221
|
const f = {
|
|
222
222
|
allowEditing: !e,
|
|
223
223
|
closable: i,
|
|
@@ -239,7 +239,7 @@ class R extends k {
|
|
|
239
239
|
strings: n,
|
|
240
240
|
versionInfos: l.versioningStateLookup.get(c.url)?.versionInfos ?? []
|
|
241
241
|
};
|
|
242
|
-
return
|
|
242
|
+
return g`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async (p) => {
|
|
243
243
|
await this._refreshVersionList(p.detail.serviceUrl);
|
|
244
244
|
}} @arcgisFlowItemBack=${() => {
|
|
245
245
|
o && (this._removeVersionListFlowItem(o), this.versionList = void 0);
|
|
@@ -248,8 +248,8 @@ class R extends k {
|
|
|
248
248
|
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(p) => {
|
|
249
249
|
this.versionList = p.detail;
|
|
250
250
|
}}></arcgis-version-management-service-item>`;
|
|
251
|
-
}) : void 0, E = m === "disabled" ?
|
|
252
|
-
return
|
|
251
|
+
}) : void 0, E = m === "disabled" && h != null ? g`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(h)}</div></calcite-notice>` : void 0, L = this._showInvalidFeatureServiceNotice ? g`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${() => this._showInvalidFeatureServiceNotice = !1}><div slot=title>${n.headers.invalidInitialFeatureService}</div><div slot=message>${n.loadErrors.invalidInitialFeatureService}</div></calcite-notice>` : void 0;
|
|
252
|
+
return g`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${$(this.mode === "dialog" ? "" : "calcite-flow-widget")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${r ?? void 0} @calciteFlowItemClose=${() => {
|
|
253
253
|
this._handleFlowItemClose();
|
|
254
254
|
}} .selected=${!v}>${L}<calcite-panel .loading=${m === "loading" || m === "executing"}>${V}${E}</calcite-panel></calcite-flow-item></calcite-flow>`;
|
|
255
255
|
}
|
|
@@ -3,7 +3,7 @@ import { html as t } from "lit-html";
|
|
|
3
3
|
import { LitElement as C, createEvent as n, noShadowRoot as G, safeClassMap as F } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.0-next.
|
|
6
|
+
v4.32.0-next.85 */
|
|
7
7
|
class y extends C {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._arcgisGetVersions = (e) => {
|
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.0-next.
|
|
6
|
+
v4.32.0-next.85 */
|
|
7
7
|
class E extends b {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = f();
|
|
@@ -8,7 +8,7 @@ export type VersionListElementProps = {
|
|
|
8
8
|
closable: boolean;
|
|
9
9
|
currentUser: string;
|
|
10
10
|
currentVersionIdentifier: __esri.VersionIdentifier;
|
|
11
|
-
executionError:
|
|
11
|
+
executionError: nullish | string;
|
|
12
12
|
hasAdvEditingUte: boolean;
|
|
13
13
|
heading: string;
|
|
14
14
|
isVersionAdministrator: boolean;
|
|
@@ -5,7 +5,7 @@ import { LitElement as F, createEvent as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as U } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.0-next.
|
|
8
|
+
v4.32.0-next.85 */
|
|
9
9
|
const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class N extends F {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
|
|
|
5
5
|
import { css as x } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.0-next.
|
|
8
|
+
v4.32.0-next.85 */
|
|
9
9
|
const C = x`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`;
|
|
10
10
|
class k extends V {
|
|
11
11
|
constructor() {
|
|
@@ -45,7 +45,7 @@ export declare class ArcgisWeather extends LitElement {
|
|
|
45
45
|
*/
|
|
46
46
|
autoDestroyDisabled: boolean;
|
|
47
47
|
headingLevel: number;
|
|
48
|
-
hideHeader: boolean
|
|
48
|
+
hideHeader: boolean;
|
|
49
49
|
/**
|
|
50
50
|
* Icon which represents the component.
|
|
51
51
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -6,7 +6,7 @@ import { LitElement as o, createEvent as a, noShadowRoot as r } from "@arcgis/lu
|
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.85 */
|
|
10
10
|
const d = h`arcgis-weather{display:block}`, l = i(t);
|
|
11
11
|
class n extends o {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { LitElement as g, createEvent as p, noShadowRoot as b, safeClassMap as s
|
|
|
8
8
|
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
11
|
+
v4.32.0-next.85 */
|
|
12
12
|
const o = {
|
|
13
13
|
base: "arcgis-zoom",
|
|
14
14
|
horizontalLayout: "arcgis-zoom--horizontal",
|
|
@@ -7,7 +7,7 @@ import { ArcgisReferenceElement } from '../utils/component-utils';
|
|
|
7
7
|
type Requires<Props, ViewModel extends ViewModelInstance> = BaseComponent & Pick<ViewModel, keyof Props & keyof ViewModel> & Uses<ViewModel>;
|
|
8
8
|
type ViewModelInstance = __esri.Accessor & Partial<__esri.Evented> & {
|
|
9
9
|
state?: string;
|
|
10
|
-
view?: __esri.MapView | __esri.SceneView |
|
|
10
|
+
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
11
11
|
map?: ArcgisMap | Nil;
|
|
12
12
|
};
|
|
13
13
|
type Uses<ViewModel extends ViewModelInstance> = {
|