@arcgis/map-components 5.2.0-next.75 → 5.2.0-next.77
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/cdn/3MDNGD5N.js +2 -0
- package/dist/cdn/4RYR4YDD.js +2 -0
- package/dist/cdn/{Y52XLS45.js → 4ULHWCEQ.js} +1 -1
- package/dist/cdn/{4IYAEXT6.js → 5AQ2DLHA.js} +1 -1
- package/dist/cdn/5GD232OU.js +2 -0
- package/dist/cdn/6C542P4V.js +2 -0
- package/dist/cdn/6XJLNNXF.js +2 -0
- package/dist/cdn/AQ2V4DTN.js +2 -0
- package/dist/cdn/AYJ4XEW3.js +2 -0
- package/dist/cdn/BZZONX7U.js +2 -0
- package/dist/cdn/C2JQUU2L.js +2 -0
- package/dist/cdn/CNDTQDTD.js +2 -0
- package/dist/cdn/CO4UDHQO.js +5 -0
- package/dist/cdn/DXRIB5HU.js +2 -0
- package/dist/cdn/{AXEUVRDP.js → GYD6SJRD.js} +1 -1
- package/dist/cdn/HSRSC5A3.js +2 -0
- package/dist/cdn/KKN5ZNLH.js +2 -0
- package/dist/cdn/LCWKOR7D.js +2 -0
- package/dist/cdn/LFEMVA6D.js +2 -0
- package/dist/cdn/LSBT72HH.js +2 -0
- package/dist/cdn/LWGNINKF.js +2 -0
- package/dist/cdn/{6T4SNDWL.js → N7YPGWHZ.js} +1 -1
- package/dist/cdn/NAW2XY64.js +2 -0
- package/dist/cdn/{RNUWRSX7.js → NESU6NXH.js} +1 -1
- package/dist/cdn/{YJYUG3DP.js → NR6IHW45.js} +1 -1
- package/dist/cdn/NVYQR4DS.js +2 -0
- package/dist/cdn/{VQG7S23K.js → QD2A52JY.js} +1 -1
- package/dist/cdn/QO6WDURE.js +2 -0
- package/dist/cdn/RIZHD5EC.js +2 -0
- package/dist/cdn/{VJIYYZW3.js → SJOTL7SU.js} +1 -1
- package/dist/cdn/UYF6TF6U.js +2 -0
- package/dist/cdn/WD25DNJL.js +2 -0
- package/dist/cdn/assets/utility-network-aggregated-geometry-result-item/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-results-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/layer-list-item.js +35 -24
- package/dist/chunks/titleUtils.js +40 -0
- package/dist/chunks/utils2.js +36 -71
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +18 -21
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +12 -12
- package/dist/components/arcgis-basemap-layer-list-next/index.js +2 -2
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +19 -14
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +26 -26
- package/dist/components/arcgis-catalog-layer-list-next/index.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +9 -9
- package/dist/components/arcgis-layer-list-next/customElement.js +12 -12
- package/dist/components/arcgis-layer-list-next/types.d.ts +4 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +34 -33
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +11 -11
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +15 -15
- package/dist/components/arcgis-legend-classic-element/customElement.js +39 -35
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +5 -4
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +6 -6
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +3 -3
- package/dist/components/arcgis-legend-classic-view/customElement.js +41 -18
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +8 -8
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +13 -13
- package/dist/components/arcgis-scene/customElement.d.ts +1 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +17 -13
- package/dist/components/arcgis-table-list-next/customElement.js +11 -11
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +105 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +125 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/index.js +5 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +6 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +9 -9
- package/dist/components/arcgis-utility-network-trace-analysis-next/types.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +4 -25
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +86 -86
- package/dist/components/arcgis-utility-network-trace-results-next/index.js +1 -4
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +19 -0
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +129 -86
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +7 -6
- package/dist/types/preact.d.ts +8 -7
- package/dist/types/react.d.ts +9 -8
- package/dist/types/stencil.d.ts +7 -6
- package/dist/utils/layer-list-utils.d.ts +6 -6
- package/package.json +5 -5
- package/dist/cdn/2O6GHHUY.js +0 -2
- package/dist/cdn/7THMBHKF.js +0 -2
- package/dist/cdn/A6CH2UFJ.js +0 -2
- package/dist/cdn/AZSWPMSD.js +0 -2
- package/dist/cdn/CQV2TQUQ.js +0 -2
- package/dist/cdn/D6Z3MYCF.js +0 -2
- package/dist/cdn/D75QAAQT.js +0 -5
- package/dist/cdn/GG4ZP72A.js +0 -2
- package/dist/cdn/GOIKNGEI.js +0 -2
- package/dist/cdn/HZR3HENL.js +0 -2
- package/dist/cdn/IIYUVBKU.js +0 -2
- package/dist/cdn/KUR5PBEN.js +0 -2
- package/dist/cdn/LIEZSWE4.js +0 -2
- package/dist/cdn/MOOIQJP4.js +0 -2
- package/dist/cdn/NJ4CBOJN.js +0 -2
- package/dist/cdn/R5ZY52DF.js +0 -2
- package/dist/cdn/SWDOEOEG.js +0 -2
- package/dist/cdn/TKTHZ2GE.js +0 -2
- package/dist/cdn/TZTJY3L5.js +0 -2
- package/dist/cdn/X3TEGOBL.js +0 -2
- package/dist/cdn/XLAW24IV.js +0 -2
- package/dist/cdn/ZMLP2ZB4.js +0 -2
- package/dist/cdn/ZWAOPC3F.js +0 -2
- package/dist/cdn/assets/utility-network-aggregated-geometry-next/t9n/messages.en.json +0 -1
- package/dist/components/arcgis-utility-network-aggregated-geometry-next/customElement.d.ts +0 -63
- package/dist/components/arcgis-utility-network-aggregated-geometry-next/customElement.js +0 -109
- package/dist/components/arcgis-utility-network-aggregated-geometry-next/index.js +0 -2
- /package/dist/components/{arcgis-utility-network-aggregated-geometry-next → arcgis-utility-network-aggregated-geometry-result-item}/index.d.ts +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-switch";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-swatch";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-color-picker";
|
|
5
|
+
export * from "./customElement.js";
|
|
@@ -155,6 +155,12 @@ export abstract class ArcgisUtilityNetworkTraceAnalysisNext extends LitElement {
|
|
|
155
155
|
*
|
|
156
156
|
* Default color is #FFFF00.
|
|
157
157
|
*
|
|
158
|
+
* @example
|
|
159
|
+
* Set the default aggregated geometry graphics color to lime green.
|
|
160
|
+
* ```js
|
|
161
|
+
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis-next");
|
|
162
|
+
* traceElement.aggregatedGeometryGraphicsColor = new Color("lime");
|
|
163
|
+
* ```
|
|
158
164
|
* @see [Color constructor](https://developers.arcgis.com/javascript/latest/references/core/Color/#constructors-summary)
|
|
159
165
|
*/
|
|
160
166
|
accessor aggregatedGeometryGraphicsColor: Color;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as m, html as a } from "lit";
|
|
4
4
|
import { ref as g } from "lit/directives/ref.js";
|
|
5
5
|
import { keyed as u } from "lit/directives/keyed.js";
|
|
6
|
-
import
|
|
6
|
+
import y from "@arcgis/core/Color.js";
|
|
7
7
|
import "@arcgis/core/core/Error.js";
|
|
8
8
|
import { when as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
import b from "@arcgis/core/networks/UtilityNetworkTraceAnalysis.js";
|
|
@@ -12,10 +12,10 @@ import { log as v } from "@arcgis/toolkit/log";
|
|
|
12
12
|
import { u as T } from "../../chunks/useT9n.js";
|
|
13
13
|
import { m as $ } from "../../chunks/useViewModel.js";
|
|
14
14
|
import { l as _ } from "../../chunks/async-utils.js";
|
|
15
|
-
const R =
|
|
15
|
+
const R = m`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}arcgis-utility-network-trace-inputs-next[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-tab:not([selected]){flex:0}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`, x = $(b);
|
|
16
16
|
class C extends w {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._messages = T({ blocking: !0 }), this.#t = x(this), this.#s = [], this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new
|
|
18
|
+
super(...arguments), this._messages = T({ blocking: !0 }), this.#t = x(this), this.#s = [], this._activeTab = "input", this._showMissingTerminalWarning = !1, this._showNoStartingPointsWarning = !1, this._mode = "default", this.autoDestroyDisabled = !1, this.aggregatedGeometryGraphicsColor = new y([255, 255, 0, 0.6]), this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideFeatureResults = !1, this.state = this.#t.state, this.view = this.#t.view, this.arcgisHideGraphicsChange = o(), this.arcgisReady = o(), this.arcgisTraceLocationSelectEnd = o(), this.arcgisTraceLocationSelectStart = o(), this.arcgisTraceResultClear = o(), this.arcgisTraceResultFeaturesReady = o();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.properties = { _activeTab: 16, _traceError: 16, _traceResult: 16, _showMissingTerminalWarning: 16, _showNoStartingPointsWarning: 16, _mode: 16, autoDestroyDisabled: 5, beforeTraceLocationSelectStart: 0, aggregatedGeometryGraphicsColor: 0, disableHighlightFeatureResults: 5, hideActionBar: 5, hideFeatureResults: 5, label: 3, messageOverrides: 0, traceResultFeatures: 32, referenceElement: 1, state: 32, view: 0 };
|
|
@@ -84,8 +84,8 @@ class C extends w {
|
|
|
84
84
|
const c = e.allLayerViews.find((n) => {
|
|
85
85
|
const h = n.layer;
|
|
86
86
|
if (r.isUtilityLayer(h)) {
|
|
87
|
-
const
|
|
88
|
-
return h.layerId ===
|
|
87
|
+
const d = Number(i.layerUrl.split("/").pop());
|
|
88
|
+
return h.layerId === d;
|
|
89
89
|
}
|
|
90
90
|
return !1;
|
|
91
91
|
});
|
|
@@ -137,7 +137,7 @@ class C extends w {
|
|
|
137
137
|
}
|
|
138
138
|
#T(t) {
|
|
139
139
|
const e = t.detail;
|
|
140
|
-
this.aggregatedGeometryGraphicsColor =
|
|
140
|
+
this.aggregatedGeometryGraphicsColor = e;
|
|
141
141
|
}
|
|
142
142
|
#$() {
|
|
143
143
|
this._showNoStartingPointsWarning = !1, this._showMissingTerminalWarning = !1;
|
|
@@ -180,7 +180,7 @@ class C extends w {
|
|
|
180
180
|
return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this.#a("input")} .selected=${t === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this.#a("results")} .selected=${t === "results"} .disabled=${e === "disabled" || e === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#S()}${this.#C()}</calcite-tabs>${t === "input" ? this.#N() : null}${t === "results" ? this.#k() : null}</calcite-panel>`;
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
p("arcgis-utility-network-trace-analysis-next", C);
|
|
184
184
|
export {
|
|
185
185
|
C as ArcgisUtilityNetworkTraceAnalysisNext
|
|
186
186
|
};
|
|
@@ -10,17 +10,18 @@ export type UtilityNetworkTraceAnalysisDisplayMode = "add-spatial-feature" | "ad
|
|
|
10
10
|
*
|
|
11
11
|
* @internal
|
|
12
12
|
* @since 5.2
|
|
13
|
-
* @knipIgnore
|
|
14
13
|
*/
|
|
15
14
|
export interface UtilityNetworkTraceResultItem {
|
|
16
15
|
/** The layers used by the result item. */
|
|
17
|
-
layers
|
|
18
|
-
/** The
|
|
19
|
-
|
|
16
|
+
layers?: Layer[];
|
|
17
|
+
/** The heading of the result item. */
|
|
18
|
+
heading?: string;
|
|
20
19
|
/** The trace result used by the result item. */
|
|
21
20
|
traceResult?: TraceResult;
|
|
22
21
|
/** The utility network used by the result item. */
|
|
23
22
|
utilityNetwork?: UtilityNetwork;
|
|
24
23
|
/** The MapView used by the result item. */
|
|
25
24
|
view?: MapView;
|
|
25
|
+
/** A method to clean up side effects from the result item. */
|
|
26
|
+
clearResult?: () => void;
|
|
26
27
|
}
|
|
@@ -23,20 +23,14 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
23
23
|
protected _messages: {
|
|
24
24
|
gettingResults: string;
|
|
25
25
|
headings: {
|
|
26
|
+
aggregatedGeometry: string;
|
|
26
27
|
features: string;
|
|
27
28
|
functions: string;
|
|
28
|
-
setColor: string;
|
|
29
|
-
totalFeatures: string;
|
|
30
|
-
traceResultsCustom: string;
|
|
31
29
|
traceResultsGeneric: string;
|
|
32
30
|
};
|
|
33
31
|
labels: {
|
|
34
|
-
aggregatedGeometryGraphicsColor: string;
|
|
35
32
|
functionResults: string;
|
|
36
|
-
numElements: string;
|
|
37
33
|
numFeatures: string;
|
|
38
|
-
numFunctions: string;
|
|
39
|
-
traceResultElementsByLayer: string;
|
|
40
34
|
};
|
|
41
35
|
noResultsDescription: string;
|
|
42
36
|
noResultsHeading: string;
|
|
@@ -51,24 +45,17 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
51
45
|
};
|
|
52
46
|
traceFailedDescription: string;
|
|
53
47
|
traceFailedHeading: string;
|
|
54
|
-
unknown: string;
|
|
55
48
|
} & T9nMeta<{
|
|
56
49
|
gettingResults: string;
|
|
57
50
|
headings: {
|
|
51
|
+
aggregatedGeometry: string;
|
|
58
52
|
features: string;
|
|
59
53
|
functions: string;
|
|
60
|
-
setColor: string;
|
|
61
|
-
totalFeatures: string;
|
|
62
|
-
traceResultsCustom: string;
|
|
63
54
|
traceResultsGeneric: string;
|
|
64
55
|
};
|
|
65
56
|
labels: {
|
|
66
|
-
aggregatedGeometryGraphicsColor: string;
|
|
67
57
|
functionResults: string;
|
|
68
|
-
numElements: string;
|
|
69
58
|
numFeatures: string;
|
|
70
|
-
numFunctions: string;
|
|
71
|
-
traceResultElementsByLayer: string;
|
|
72
59
|
};
|
|
73
60
|
noResultsDescription: string;
|
|
74
61
|
noResultsHeading: string;
|
|
@@ -83,7 +70,6 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
83
70
|
};
|
|
84
71
|
traceFailedDescription: string;
|
|
85
72
|
traceFailedHeading: string;
|
|
86
|
-
unknown: string;
|
|
87
73
|
}>;
|
|
88
74
|
accessor aggregatedGeometryGraphicsColor: Color;
|
|
89
75
|
/**
|
|
@@ -114,20 +100,14 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
114
100
|
accessor messageOverrides: NonNullable<ArcgisFeaturesNext["messageOverrides"]> & {
|
|
115
101
|
gettingResults?: string | undefined;
|
|
116
102
|
headings?: {
|
|
103
|
+
aggregatedGeometry?: string | undefined;
|
|
117
104
|
features?: string | undefined;
|
|
118
105
|
functions?: string | undefined;
|
|
119
|
-
setColor?: string | undefined;
|
|
120
|
-
totalFeatures?: string | undefined;
|
|
121
|
-
traceResultsCustom?: string | undefined;
|
|
122
106
|
traceResultsGeneric?: string | undefined;
|
|
123
107
|
} | undefined;
|
|
124
108
|
labels?: {
|
|
125
|
-
aggregatedGeometryGraphicsColor?: string | undefined;
|
|
126
109
|
functionResults?: string | undefined;
|
|
127
|
-
numElements?: string | undefined;
|
|
128
110
|
numFeatures?: string | undefined;
|
|
129
|
-
numFunctions?: string | undefined;
|
|
130
|
-
traceResultElementsByLayer?: string | undefined;
|
|
131
111
|
} | undefined;
|
|
132
112
|
noResultsDescription?: string | undefined;
|
|
133
113
|
noResultsHeading?: string | undefined;
|
|
@@ -142,7 +122,6 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
142
122
|
} | undefined;
|
|
143
123
|
traceFailedDescription?: string | undefined;
|
|
144
124
|
traceFailedHeading?: string | undefined;
|
|
145
|
-
unknown?: string | undefined;
|
|
146
125
|
};
|
|
147
126
|
get numResults(): number;
|
|
148
127
|
/**
|
|
@@ -166,7 +145,7 @@ export abstract class ArcgisUtilityNetworkTraceResultsNext extends LitElement {
|
|
|
166
145
|
clearAggregatedGeometryGraphics(): void;
|
|
167
146
|
/** Permanently destroy the component. */
|
|
168
147
|
destroy(): Promise<void>;
|
|
169
|
-
readonly arcgisAggregatedGeometryGraphicsColorChange: import("@arcgis/lumina").TargetedEvent<this,
|
|
148
|
+
readonly arcgisAggregatedGeometryGraphicsColorChange: import("@arcgis/lumina").TargetedEvent<this, Color>;
|
|
170
149
|
readonly arcgisHideGraphicsChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
171
150
|
readonly arcgisSelectedResultTypeChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
172
151
|
readonly arcgisTraceResultFeaturesReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as h } from "lit/directives/ref.js";
|
|
3
4
|
import y from "@arcgis/core/Color.js";
|
|
4
5
|
import "@arcgis/core/core/Error.js";
|
|
5
6
|
import "@arcgis/core/Graphic.js";
|
|
6
7
|
import { LitElement as f, createEvent as d } from "@arcgis/lumina";
|
|
7
8
|
import { log as o, composeMissingPropertyMessage as g, composeEmptyPropertyMessage as v } from "@arcgis/toolkit/log";
|
|
8
9
|
import { css as b, html as l } from "lit";
|
|
9
|
-
import { createRef as $, ref as u } from "lit/directives/ref.js";
|
|
10
10
|
import { u as w } from "../../chunks/useT9n.js";
|
|
11
|
-
import { l as
|
|
12
|
-
import { q as R, c as
|
|
13
|
-
const
|
|
11
|
+
import { l as $ } from "../../chunks/async-utils.js";
|
|
12
|
+
import { q as R, c as C } from "../../chunks/layer-utils.js";
|
|
13
|
+
const E = b`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features-next{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, u = {
|
|
14
14
|
dirtyAreasDiscovered: -2147208511,
|
|
15
15
|
noValidControllers: -2147208935,
|
|
16
16
|
pathNotFound: -2147208444
|
|
17
17
|
};
|
|
18
18
|
class F extends f {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(...arguments), this._messages = w({ blocking: !0 }), this.#
|
|
20
|
+
super(...arguments), this._messages = w({ blocking: !0 }), this.#l = !0, this.#t = [], this.#s = /* @__PURE__ */ new Map(), this.#c = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = /* @__PURE__ */ new Map(), this.#r = [], this._aggregatedGeometryDisabled = !1, this.aggregatedGeometryGraphicsColor = new y([255, 255, 0, 0.6]), this.hideActionBar = !1, this.hideFeatureResults = !1, this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.traceResultFeatures = [], this.autoDestroyDisabled = !1, this.arcgisAggregatedGeometryGraphicsColorChange = d(), this.arcgisHideGraphicsChange = d(), this.arcgisSelectedResultTypeChange = d(), this.arcgisTraceResultFeaturesReady = d();
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.properties = { _aggregatedGeometryDisabled: 16, _featuresComponentElement: 16, aggregatedGeometryGraphicsColor: 0, hideActionBar: 5, hideFeatureResults: 5, isElementsSelected: 5, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, state: 1, traceConfigTitle: 1, traceError: 0, traceResult: 0, traceResultFeatures: 0, utilityNetwork: 0, view: 0, autoDestroyDisabled: 5 };
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.styles =
|
|
26
|
+
this.styles = E;
|
|
27
27
|
}
|
|
28
|
-
#
|
|
28
|
+
#l;
|
|
29
29
|
#t;
|
|
30
30
|
#n;
|
|
31
31
|
#s;
|
|
32
|
-
#
|
|
33
|
-
#o;
|
|
32
|
+
#c;
|
|
34
33
|
#i;
|
|
34
|
+
#a;
|
|
35
35
|
#r;
|
|
36
|
-
#l;
|
|
37
36
|
get numResults() {
|
|
38
37
|
return this.traceResultFeatures.length + this.#t.length;
|
|
39
38
|
}
|
|
@@ -41,10 +40,10 @@ class F extends f {
|
|
|
41
40
|
this.#n?.destroy();
|
|
42
41
|
}
|
|
43
42
|
async destroy() {
|
|
44
|
-
this.#
|
|
43
|
+
this.#s.clear(), this.#i.clear(), this.#a.clear(), this.#n?.destroy(), this._featuresComponentElement?.destroy(), await this.manager.destroy();
|
|
45
44
|
}
|
|
46
45
|
load() {
|
|
47
|
-
this.traceResult && (this
|
|
46
|
+
this.traceResult && (this.#b(), this.#f().then(() => this.#v()).finally(() => {
|
|
48
47
|
this.arcgisTraceResultFeaturesReady.emit(), this.state = "ready";
|
|
49
48
|
}));
|
|
50
49
|
}
|
|
@@ -55,151 +54,152 @@ class F extends f {
|
|
|
55
54
|
this.traceResult && (this.utilityNetwork || o("warn", this, g("utilityNetwork")), this.layers.length || o("warn", this, v("layers")), this.view || o("warn", this, g("view")));
|
|
56
55
|
}
|
|
57
56
|
disconnectedCallback() {
|
|
58
|
-
super.disconnectedCallback(), this.#
|
|
57
|
+
super.disconnectedCallback(), this.#c.clear();
|
|
59
58
|
}
|
|
60
|
-
#
|
|
59
|
+
#u(e) {
|
|
61
60
|
e && (this.#n = e);
|
|
62
61
|
}
|
|
63
|
-
#
|
|
62
|
+
#h(e) {
|
|
64
63
|
e && (this._featuresComponentElement = e);
|
|
65
64
|
}
|
|
66
|
-
async #
|
|
67
|
-
const s = this.utilityNetwork?.getLayerIdBySourceId(e),
|
|
68
|
-
if (s == null || !
|
|
69
|
-
this.#t.push(...
|
|
65
|
+
async #g([e, t]) {
|
|
66
|
+
const s = this.utilityNetwork?.getLayerIdBySourceId(e), i = this.#m(s), a = this.#p(t);
|
|
67
|
+
if (s == null || !i) {
|
|
68
|
+
this.#t.push(...a);
|
|
70
69
|
return;
|
|
71
70
|
}
|
|
72
|
-
const r =
|
|
73
|
-
r.gdbVersion = this.utilityNetwork?.gdbVersion, r.objectIds =
|
|
74
|
-
const { features:
|
|
75
|
-
|
|
76
|
-
const m =
|
|
77
|
-
|
|
78
|
-
}),
|
|
79
|
-
}
|
|
80
|
-
#
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
#
|
|
71
|
+
const r = i.createQuery();
|
|
72
|
+
r.gdbVersion = this.utilityNetwork?.gdbVersion, r.objectIds = a.map((n) => n.objectId), r.outFields = ["*"];
|
|
73
|
+
const { features: c } = await R(i, r);
|
|
74
|
+
c.forEach((n) => {
|
|
75
|
+
const m = n.layer;
|
|
76
|
+
n.getEffectivePopupTemplate(this.#l) || (n.popupTemplate = m.createPopupTemplate());
|
|
77
|
+
}), C(i) ? c.forEach((n) => this.#o(this.#i, n.layer.subtypeCode, n)) : this.#s.set(s, c);
|
|
78
|
+
}
|
|
79
|
+
#o(e, t, s) {
|
|
80
|
+
const i = e.get(t);
|
|
81
|
+
i == null ? e.set(t, [s]) : i.push(s);
|
|
82
|
+
}
|
|
83
|
+
#m(e) {
|
|
85
84
|
if (e == null)
|
|
86
85
|
return;
|
|
87
|
-
const t = this.#
|
|
88
|
-
if (
|
|
89
|
-
return
|
|
86
|
+
const t = this.#c, s = this.#r, i = t.get(e);
|
|
87
|
+
if (i)
|
|
88
|
+
return i;
|
|
90
89
|
if (!s)
|
|
91
90
|
return;
|
|
92
|
-
const
|
|
93
|
-
return
|
|
91
|
+
const a = s.find((r) => "layerId" in r && r.layerId === e);
|
|
92
|
+
return a && t.set(e, a), a;
|
|
94
93
|
}
|
|
95
|
-
#
|
|
94
|
+
#p(e) {
|
|
96
95
|
return Array.from(new Map(e.map((t) => [t.globalId, t])).values());
|
|
97
96
|
}
|
|
98
|
-
#
|
|
99
|
-
e
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
#y(e) {
|
|
98
|
+
const { detail: t, target: s } = e;
|
|
99
|
+
if (t.name === "hideGraphics") {
|
|
100
|
+
e.stopPropagation();
|
|
101
|
+
const i = s[t.name];
|
|
102
|
+
this.arcgisHideGraphicsChange.emit(i);
|
|
103
|
+
}
|
|
104
|
+
if (t.name === "graphicsColor") {
|
|
105
|
+
e.stopPropagation();
|
|
106
|
+
const i = s[t.name];
|
|
107
|
+
this.aggregatedGeometryGraphicsColor = i, this.arcgisAggregatedGeometryGraphicsColorChange.emit(i);
|
|
108
|
+
}
|
|
102
109
|
}
|
|
103
|
-
async #
|
|
110
|
+
async #f() {
|
|
104
111
|
const { layers: e, utilityNetwork: t } = this;
|
|
105
112
|
if (!t)
|
|
106
113
|
return;
|
|
107
114
|
try {
|
|
108
115
|
t.loaded || (this.state = "loading", await t.load());
|
|
109
|
-
} catch (
|
|
110
|
-
|
|
116
|
+
} catch (a) {
|
|
117
|
+
$(a, this, "Error while loading the selected utility network");
|
|
111
118
|
}
|
|
112
|
-
this.#
|
|
113
|
-
const
|
|
114
|
-
|
|
119
|
+
this.#r = e.filter((a) => t.isUtilityLayer(a));
|
|
120
|
+
const i = this.#r.filter((a) => !a.loaded).map((a) => a.load());
|
|
121
|
+
i.length > 0 && (this.state = "loading", (await Promise.allSettled(i)).forEach((r) => {
|
|
115
122
|
r.status === "rejected" && o("error", this, `Failed to load layer. Reason: ${r.reason}`);
|
|
116
123
|
}));
|
|
117
124
|
}
|
|
118
|
-
async #
|
|
119
|
-
const e = Array.from(this.#
|
|
125
|
+
async #v() {
|
|
126
|
+
const e = Array.from(this.#a.entries());
|
|
120
127
|
if (!e.length)
|
|
121
128
|
return;
|
|
122
129
|
this.state = "loading";
|
|
123
|
-
const t = e.map((r) => this.#
|
|
124
|
-
(await Promise.allSettled(t)).forEach((r,
|
|
130
|
+
const t = e.map((r) => this.#g(r));
|
|
131
|
+
(await Promise.allSettled(t)).forEach((r, c) => {
|
|
125
132
|
if (r.status === "rejected") {
|
|
126
|
-
const [
|
|
127
|
-
o("error", this, `Failed to query features for source ${
|
|
133
|
+
const [n] = e[c];
|
|
134
|
+
o("error", this, `Failed to query features for source ${n}. Reason: ${r.reason}`);
|
|
128
135
|
}
|
|
129
136
|
});
|
|
130
|
-
const
|
|
131
|
-
this.traceResultFeatures =
|
|
137
|
+
const i = Array.from(this.#s.values()), a = Array.from(this.#i.values());
|
|
138
|
+
this.traceResultFeatures = i.concat(a).flat();
|
|
132
139
|
}
|
|
133
|
-
|
|
134
|
-
this.traceResult.elements?.forEach((e) => this.#
|
|
140
|
+
#b() {
|
|
141
|
+
this.traceResult.elements?.forEach((e) => this.#o(this.#a, e.networkSourceId, e));
|
|
135
142
|
}
|
|
136
143
|
render() {
|
|
137
144
|
const { traceError: e, traceResult: t } = this;
|
|
138
145
|
if (e)
|
|
139
|
-
return this.#
|
|
146
|
+
return this.#k(e);
|
|
140
147
|
if (!t)
|
|
141
|
-
return this.#
|
|
142
|
-
const { elements: s, globalFunctionResults:
|
|
143
|
-
return r ? this.#
|
|
148
|
+
return this.#G();
|
|
149
|
+
const { elements: s, globalFunctionResults: i, aggregatedGeometry: a } = t, r = !s.length && !i.length && !a, c = s.length > 0 && !i.length && !a;
|
|
150
|
+
return r ? this.#x() : this.state === "loading" ? this.#w() : this.hideFeatureResults && c ? this.#R() : this.isElementsSelected || c ? l`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#l} .features=${this.traceResultFeatures} .hideActionBar=${this.hideActionBar} .hideCloseButton=${c} hide-select-feature initial-display-mode=list .messageOverrides=${this.messageOverrides} @arcgisClose=${() => this.isElementsSelected = !1} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this.#h)}></arcgis-features-next>` : this.#$(t);
|
|
144
151
|
}
|
|
145
152
|
#w() {
|
|
146
153
|
return l`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`;
|
|
147
154
|
}
|
|
148
|
-
|
|
149
|
-
const { elements: t, globalFunctionResults: s, aggregatedGeometry:
|
|
150
|
-
return l`<calcite-panel class="white-panel-background">${this.#e()}${
|
|
151
|
-
}
|
|
152
|
-
#R(e) {
|
|
153
|
-
const { _aggregatedGeometryDisabled: t, aggregatedGeometryGraphicsColor: s, _messages: a } = this;
|
|
154
|
-
return l`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry-next .graphicsColor=${s} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this.#f} auto-destroy-disabled ${u(this.#h)}></arcgis-utility-network-aggregated-geometry-next><calcite-swatch id=geometry-color-swatch .label=${a.labels.aggregatedGeometryGraphicsColor} .color=${s.toCss()} .disabled=${t}></calcite-swatch><calcite-popover .heading=${a.headings.setColor} .label=${a.headings.setColor} reference-element=geometry-color-swatch closable ${u(this.#s)}><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${s} @calciteColorPickerChange=${(i) => {
|
|
155
|
-
const r = i.target.value;
|
|
156
|
-
this.arcgisAggregatedGeometryGraphicsColorChange.emit(r);
|
|
157
|
-
}} .disabled=${t}></calcite-color-picker></calcite-popover></div>`;
|
|
155
|
+
#$(e) {
|
|
156
|
+
const { elements: t, globalFunctionResults: s, aggregatedGeometry: i } = e;
|
|
157
|
+
return l`<calcite-panel class="white-panel-background">${this.#e()}${i != null ? l`<arcgis-utility-network-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#y} ${h(this.#u)}></arcgis-utility-network-aggregated-geometry-result-item>` : null}${i != null && !t.length ? this.#C() : null}${t.length > 0 ? this.hideFeatureResults ? this.#d() : this.#E() : null}${s.length > 0 ? this.#F(s) : null}</calcite-panel>`;
|
|
158
158
|
}
|
|
159
|
-
#
|
|
160
|
-
return l`<calcite-panel class="white-panel-background">${this.#e()}${this.#
|
|
159
|
+
#R() {
|
|
160
|
+
return l`<calcite-panel class="white-panel-background">${this.#e()}${this.#d()}</calcite-panel>`;
|
|
161
161
|
}
|
|
162
|
-
#
|
|
162
|
+
#d() {
|
|
163
163
|
return l`<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div>`;
|
|
164
164
|
}
|
|
165
|
-
#
|
|
165
|
+
#C() {
|
|
166
166
|
return l`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
|
|
167
167
|
}
|
|
168
|
-
#
|
|
168
|
+
#E() {
|
|
169
169
|
const { _messages: e } = this;
|
|
170
170
|
return l`<calcite-list .label=${e.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${e.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${e.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
171
171
|
}
|
|
172
|
-
#
|
|
172
|
+
#F(e) {
|
|
173
173
|
const { _messages: t } = this;
|
|
174
174
|
return l`<div class="functions-heading">${t.headings.functions}</div><calcite-table .caption=${t.labels.functionResults}>${e.filter((s) => s.networkAttributeName != null && s.result != null && s.functionType != null).map((s) => {
|
|
175
|
-
const { functionName:
|
|
176
|
-
return l`<calcite-table-row><calcite-table-cell>${
|
|
175
|
+
const { functionName: i, networkAttributeName: a, functionType: r, result: c } = s, n = i || `${a} ${r}`;
|
|
176
|
+
return l`<calcite-table-row><calcite-table-cell>${n}</calcite-table-cell><calcite-table-cell>${c}</calcite-table-cell></calcite-table-row>`;
|
|
177
177
|
})}</calcite-table>`;
|
|
178
178
|
}
|
|
179
179
|
#e() {
|
|
180
180
|
return l`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle ? l`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>` : null}</div>`;
|
|
181
181
|
}
|
|
182
|
-
#
|
|
182
|
+
#k(e) {
|
|
183
183
|
const { _messages: t } = this;
|
|
184
184
|
let s = e.message;
|
|
185
185
|
switch (e.details?.raw?.extendedCode) {
|
|
186
|
-
case
|
|
186
|
+
case u.dirtyAreasDiscovered:
|
|
187
187
|
s = t.traceErrors.dirtyAreasDiscovered;
|
|
188
188
|
break;
|
|
189
|
-
case
|
|
189
|
+
case u.noValidControllers:
|
|
190
190
|
s = t.traceErrors.noValidControllers;
|
|
191
191
|
break;
|
|
192
|
-
case
|
|
192
|
+
case u.pathNotFound:
|
|
193
193
|
s = t.traceErrors.pathNotFound;
|
|
194
194
|
break;
|
|
195
195
|
}
|
|
196
196
|
return l`<calcite-panel class="white-panel-background">${this.#e()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${t.traceFailedHeading}</div><div class="no-results-description">${t.traceFailedDescription}</div><div class="no-results-description">${s}</div></div></calcite-panel>`;
|
|
197
197
|
}
|
|
198
|
-
#
|
|
198
|
+
#x() {
|
|
199
199
|
const { _messages: e } = this;
|
|
200
200
|
return l`<calcite-panel class="white-panel-background">${this.#e()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${e.noResultsHeading}</div><div class="no-results-description">${e.noResultsDescription}</div></div></calcite-panel>`;
|
|
201
201
|
}
|
|
202
|
-
#
|
|
202
|
+
#G() {
|
|
203
203
|
const { _messages: e } = this;
|
|
204
204
|
return l`<calcite-panel class="white-panel-background">${this.#e()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${e.noTraceConfigHeading}</div><div class="no-results-description">${e.noTraceConfigDescription}</div></div></calcite-panel>`;
|
|
205
205
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import "../arcgis-features-next/index.js";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-panel";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-loader";
|
|
4
|
-
import "../arcgis-utility-network-aggregated-geometry-
|
|
5
|
-
import "@esri/calcite-components/components/calcite-swatch";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-popover";
|
|
7
|
-
import "@esri/calcite-components/components/calcite-color-picker";
|
|
4
|
+
import "../arcgis-utility-network-aggregated-geometry-result-item/index.js";
|
|
8
5
|
import "@esri/calcite-components/components/calcite-list";
|
|
9
6
|
import "@esri/calcite-components/components/calcite-list-item";
|
|
10
7
|
import "@esri/calcite-components/components/calcite-chip";
|
|
@@ -112,6 +112,7 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
|
|
|
112
112
|
noUtilityNetworks: string;
|
|
113
113
|
noUtilityNetworkServiceUserTypeExtension: string;
|
|
114
114
|
noView: string;
|
|
115
|
+
operationDisabledOnDefaultVersion: string;
|
|
115
116
|
operationOnlyAllowedByOwner: string;
|
|
116
117
|
sceneViewNotSupported: string;
|
|
117
118
|
utilityNetworkLoadFailed: string;
|
|
@@ -143,6 +144,7 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
|
|
|
143
144
|
noUtilityNetworks: string;
|
|
144
145
|
noUtilityNetworkServiceUserTypeExtension: string;
|
|
145
146
|
noView: string;
|
|
147
|
+
operationDisabledOnDefaultVersion: string;
|
|
146
148
|
operationOnlyAllowedByOwner: string;
|
|
147
149
|
sceneViewNotSupported: string;
|
|
148
150
|
utilityNetworkLoadFailed: string;
|
|
@@ -184,6 +186,22 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
|
|
|
184
186
|
* @default false
|
|
185
187
|
*/
|
|
186
188
|
accessor disabled: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Whether to disable execution on the Default version.
|
|
191
|
+
*
|
|
192
|
+
* If true, the execute action button will be disabled.
|
|
193
|
+
*
|
|
194
|
+
* @default false
|
|
195
|
+
* @example
|
|
196
|
+
* Disable execution on the Default version.
|
|
197
|
+
* ```html
|
|
198
|
+
* <arcgis-map item-id="471eb0bf37074b1fbb972b1da70fb310">
|
|
199
|
+
* <arcgis-utility-network-validate-network-topology disable-execute-on-default-version slot="top-right">
|
|
200
|
+
* </arcgis-utility-network-validate-network-topology>
|
|
201
|
+
* </arcgis-map>
|
|
202
|
+
* ```
|
|
203
|
+
*/
|
|
204
|
+
accessor disableExecuteOnDefaultVersion: boolean;
|
|
187
205
|
/**
|
|
188
206
|
* Specifies the area to validate.
|
|
189
207
|
*
|
|
@@ -219,6 +237,7 @@ export abstract class ArcgisUtilityNetworkValidateNetworkTopology extends LitEle
|
|
|
219
237
|
noUtilityNetworks?: string | undefined;
|
|
220
238
|
noUtilityNetworkServiceUserTypeExtension?: string | undefined;
|
|
221
239
|
noView?: string | undefined;
|
|
240
|
+
operationDisabledOnDefaultVersion?: string | undefined;
|
|
222
241
|
operationOnlyAllowedByOwner?: string | undefined;
|
|
223
242
|
sceneViewNotSupported?: string | undefined;
|
|
224
243
|
utilityNetworkLoadFailed?: string | undefined;
|