@arcgis/map-components 5.2.0-next.155 → 5.2.0-next.156
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/5QPPN5GG.js +2 -0
- package/dist/cdn/6JYHS4C3.js +2 -0
- package/dist/cdn/74SNPIFY.js +2 -0
- package/dist/cdn/AHR2EGDU.js +2 -0
- package/dist/cdn/DV5RJXB4.js +2 -0
- package/dist/cdn/F6BKCG5R.js +2 -0
- package/dist/cdn/GUY54PVD.js +2 -0
- package/dist/cdn/{VE63QFIL.js → HGMLU4M2.js} +1 -1
- package/dist/cdn/{LBWATU26.js → N2BLQYTT.js} +1 -1
- package/dist/cdn/PT7IKQT5.js +2 -0
- package/dist/cdn/QTTIUOSW.js +2 -0
- package/dist/cdn/{RKTSSP3O.js → TD5NCGK6.js} +1 -1
- package/dist/cdn/V6RSLRWE.js +2 -0
- package/dist/cdn/{WXJN23WI.js → Y5LZUAMK.js} +1 -1
- package/dist/cdn/YYBNA7EL.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/loader-utils.js +41 -0
- package/dist/chunks/useArcgisViewReadyError.js +53 -50
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
- package/dist/components/arcgis-features-next/customElement.js +137 -116
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-sketch/customElement.js +146 -178
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
- package/dist/components/arcgis-time-bar/customElement.js +108 -105
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-slider/customElement.js +27 -33
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +60 -67
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -2
- 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/loader.js +1 -1
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +6 -6
- package/dist/cdn/2AQYGR7K.js +0 -2
- package/dist/cdn/357GV4BC.js +0 -2
- package/dist/cdn/5OE4PEME.js +0 -2
- package/dist/cdn/ENZAFG6F.js +0 -2
- package/dist/cdn/I3KUEZ7I.js +0 -2
- package/dist/cdn/M7LDGJG6.js +0 -2
- package/dist/cdn/RZNCVTKT.js +0 -2
- package/dist/cdn/TZ6WQV6O.js +0 -2
- package/dist/cdn/TZXSRFN5.js +0 -2
- package/dist/cdn/ZFHHY72B.js +0 -2
|
@@ -1,30 +1,30 @@
|
|
|
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
|
|
3
|
+
import { ref as h } from "lit/directives/ref.js";
|
|
4
4
|
import c from "@arcgis/core/core/Collection.js";
|
|
5
5
|
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import { substitute as m } from "@arcgis/core/intl.js";
|
|
7
7
|
import f from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
8
|
-
import { LitElement as y, createEvent as
|
|
8
|
+
import { LitElement as y, createEvent as l } from "@arcgis/lumina";
|
|
9
9
|
import { usePropertyChange as w } from "@arcgis/lumina/controllers";
|
|
10
|
-
import { css as
|
|
11
|
-
import { u as
|
|
10
|
+
import { css as b, html as s } from "lit";
|
|
11
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
12
12
|
import { l as u } from "../../chunks/async-utils.js";
|
|
13
|
-
import { q as T, i as
|
|
14
|
-
import { ArcgisUtilityNetworkTraceLocations as
|
|
15
|
-
const
|
|
16
|
-
class
|
|
13
|
+
import { q as T, i as $ } from "../../chunks/layer-utils.js";
|
|
14
|
+
import { ArcgisUtilityNetworkTraceLocations as d } from "../arcgis-utility-network-trace-locations/customElement.js";
|
|
15
|
+
const v = b`:host{height:100%;flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-combobox,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0}calcite-notice{margin:var(--calcite-spacing-md)}.subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}.results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-medium)}`;
|
|
16
|
+
class L extends y {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._messages =
|
|
18
|
+
super(...arguments), this._messages = k({ blocking: !0 }), this.#c = !0, this.#l = /* @__PURE__ */ new Map(), this.#t = new c(), this.#i = new c(), this.#a = new c(), this.#e = null, this.#s = 20, this._candidateFeatures = [], this._compatibleSubnetworkNames = [], this._namedTraceConfigurations = [], this._subnetworkNamesState = "ready", this._exceedDisplayLimit = !1, this.autoDestroyDisabled = !1, this.hideActionBar = !1, this.includeDefaultActionsDisabled = !1, this.mode = "default", this.arcgisPropertyChange = w()("mode", "selectedNamedTraceConfiguration", "selectedUtilityNetwork", "traceLocations"), this.arcgisTraceLocationSelectEnd = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTriggerAction = l();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.properties = { _selectedFeature: 16, _candidateFeatures: 16, _compatibleSubnetworkNames: 16, _subnetworksTable: 16, _namedTraceConfigurations: 16, _traceConfiguration: 16, _error: 16, _subnetworkNamesState: 16, _activeTraceLocationType: 16, _exceedDisplayLimit: 16, beforeMapInteraction: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5,
|
|
21
|
+
this.properties = { _selectedFeature: 16, _candidateFeatures: 16, _compatibleSubnetworkNames: 16, _subnetworksTable: 16, _namedTraceConfigurations: 16, _traceConfiguration: 16, _error: 16, _subnetworkNamesState: 16, _activeTraceLocationType: 16, _exceedDisplayLimit: 16, actions: 0, beforeMapInteraction: 0, view: 0, selectedUtilityNetwork: 0, selectedNamedTraceConfiguration: 0, autoDestroyDisabled: 5, hideActionBar: 5, includeDefaultActionsDisabled: 5, traceConfiguration: 32, isSubnetworkNameTraceSelected: 32, messageOverrides: 0, referenceElement: 1, mode: 3, traceLocationDetails: 32, traceLocations: 32 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.styles =
|
|
24
|
+
this.styles = v;
|
|
25
25
|
}
|
|
26
26
|
#c;
|
|
27
|
-
get #
|
|
27
|
+
get #k() {
|
|
28
28
|
const { view: e } = this;
|
|
29
29
|
return e?.map ? e.map.allLayers.toArray().concat(e.map.allTables.toArray()) : [];
|
|
30
30
|
}
|
|
@@ -65,7 +65,7 @@ class $ extends y {
|
|
|
65
65
|
return this.#m && this.#t.forEach((t) => e.push(...this.#d(t))), this.#f && this.#a.forEach((t) => e.push(...this.#d(t))), this.#i.forEach((t) => e.push(...this.#d(t))), e;
|
|
66
66
|
}
|
|
67
67
|
async destroy() {
|
|
68
|
-
this.#w(),
|
|
68
|
+
this.#w(), d.getSketchViewModel(this.view)?.cancel(), d.removeSketchGraphicsLayer(this.view);
|
|
69
69
|
const t = await Promise.allSettled([
|
|
70
70
|
this.#r?.destroy(),
|
|
71
71
|
this.#u?.destroy(),
|
|
@@ -82,11 +82,14 @@ class $ extends y {
|
|
|
82
82
|
]);
|
|
83
83
|
}
|
|
84
84
|
willUpdate(e) {
|
|
85
|
-
e.has("selectedUtilityNetwork") && this.#
|
|
85
|
+
e.has("selectedUtilityNetwork") && this.#N();
|
|
86
86
|
}
|
|
87
87
|
disconnectedCallback() {
|
|
88
88
|
super.disconnectedCallback(), this.#l.clear();
|
|
89
89
|
}
|
|
90
|
+
#$(e) {
|
|
91
|
+
e.stopPropagation(), this.arcgisTriggerAction.emit(e.detail);
|
|
92
|
+
}
|
|
90
93
|
#v({ detail: e, target: t }) {
|
|
91
94
|
(e.name === "selectedDrillInFeature" || e.name === "selectedFeature") && (this._selectedFeature = t.selectedDrillInFeature ?? t.selectedFeature ?? void 0);
|
|
92
95
|
}
|
|
@@ -99,13 +102,13 @@ class $ extends y {
|
|
|
99
102
|
#L(e) {
|
|
100
103
|
e && (this.#u = e);
|
|
101
104
|
}
|
|
102
|
-
|
|
105
|
+
#C(e) {
|
|
103
106
|
e && (this.#p = e);
|
|
104
107
|
}
|
|
105
|
-
#
|
|
108
|
+
#S(e) {
|
|
106
109
|
e && (this.#g = e);
|
|
107
110
|
}
|
|
108
|
-
#
|
|
111
|
+
#_(e) {
|
|
109
112
|
e && (this.#r = e);
|
|
110
113
|
}
|
|
111
114
|
#d(e) {
|
|
@@ -128,30 +131,30 @@ class $ extends y {
|
|
|
128
131
|
t.spatialProperties.flagGraphic && e?.graphics.remove(t.spatialProperties.flagGraphic);
|
|
129
132
|
}), this.#a.removeAll();
|
|
130
133
|
}
|
|
131
|
-
async #
|
|
134
|
+
async #N() {
|
|
132
135
|
const { selectedUtilityNetwork: e } = this;
|
|
133
136
|
try {
|
|
134
137
|
e && !e.loaded && await e.load();
|
|
135
138
|
} catch (t) {
|
|
136
139
|
u(t, this, "Error while loading the selected utility network");
|
|
137
140
|
}
|
|
138
|
-
this.#
|
|
141
|
+
this.#P(), this.#F(), this.#w();
|
|
139
142
|
}
|
|
140
|
-
#
|
|
143
|
+
#P() {
|
|
141
144
|
this._traceConfiguration = void 0, this.selectedNamedTraceConfiguration = void 0, this._namedTraceConfigurations = this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.filter(Boolean).filter((e) => e.traceType !== "circuit").sort((e, t) => e.title.localeCompare(t.title)) || [];
|
|
142
145
|
}
|
|
143
146
|
#F() {
|
|
144
147
|
const { selectedUtilityNetwork: e } = this;
|
|
145
|
-
this.#n = new c(this.#
|
|
148
|
+
this.#n = new c(this.#k.filter((t) => e?.isUtilityLayer(t) && !this.#T.includes(t.layerId)));
|
|
146
149
|
}
|
|
147
|
-
#
|
|
150
|
+
#A(e) {
|
|
148
151
|
if (e.stopPropagation(), this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented) {
|
|
149
152
|
e.preventDefault();
|
|
150
153
|
return;
|
|
151
154
|
}
|
|
152
155
|
this._activeTraceLocationType = e?.target?.traceLocationType, this.mode = "add-spatial-instructions";
|
|
153
156
|
}
|
|
154
|
-
#
|
|
157
|
+
#D(e) {
|
|
155
158
|
if (e == null)
|
|
156
159
|
return;
|
|
157
160
|
const t = this.#l, i = this.#n, a = t.get(e);
|
|
@@ -162,7 +165,7 @@ class $ extends y {
|
|
|
162
165
|
const r = i.find((o) => "layerId" in o && o.layerId === e);
|
|
163
166
|
return r && t.set(e, r), r;
|
|
164
167
|
}
|
|
165
|
-
async #
|
|
168
|
+
async #E(e, t) {
|
|
166
169
|
const i = e.createQuery();
|
|
167
170
|
i.gdbVersion = this.selectedUtilityNetwork?.gdbVersion, i.objectIds = t.map((r) => r.getObjectId()), i.outFields = ["*"];
|
|
168
171
|
const { features: a } = await T(e, i);
|
|
@@ -173,35 +176,35 @@ class $ extends y {
|
|
|
173
176
|
}
|
|
174
177
|
}), a;
|
|
175
178
|
}
|
|
176
|
-
async #
|
|
179
|
+
async #U(e) {
|
|
177
180
|
const t = /* @__PURE__ */ new Map(), i = [];
|
|
178
181
|
return e.forEach((a) => {
|
|
179
|
-
const r =
|
|
182
|
+
const r = $(a.layer) ? a.layer.parent : a.layer;
|
|
180
183
|
if (r) {
|
|
181
|
-
const o = this.#
|
|
184
|
+
const o = this.#D(r.layerId);
|
|
182
185
|
if (o) {
|
|
183
186
|
const n = t.get(o) || [];
|
|
184
187
|
n.push(a), t.set(o, n);
|
|
185
188
|
}
|
|
186
189
|
}
|
|
187
190
|
}), await Promise.all(Array.from(t.keys()).map(async (a) => {
|
|
188
|
-
const r = t.get(a) ?? [], o = await this.#
|
|
191
|
+
const r = t.get(a) ?? [], o = await this.#E(a, r);
|
|
189
192
|
i.push(...o);
|
|
190
193
|
})), i;
|
|
191
194
|
}
|
|
192
|
-
async #
|
|
193
|
-
return this._exceedDisplayLimit = e.length > this.#s, this._candidateFeatures = await this.#
|
|
195
|
+
async #I(e) {
|
|
196
|
+
return this._exceedDisplayLimit = e.length > this.#s, this._candidateFeatures = await this.#U(e.slice(0, this.#s)), this._candidateFeatures.length === 0 ? (this.#o(), await Promise.reject(Error("No features found"))) : (this._candidateFeatures.length === 1 && (this._selectedFeature = this._candidateFeatures.at(0)), this.mode = "add-spatial-feature", this.#e?.reject(), this.#e = Promise.withResolvers(), await this.#e.promise);
|
|
194
197
|
}
|
|
195
|
-
#
|
|
198
|
+
#x(e) {
|
|
196
199
|
e.stopPropagation(), this.arcgisTraceLocationSelectEnd.emit(), this._activeTraceLocationType = void 0, this.mode = "default", this.#o();
|
|
197
200
|
}
|
|
198
201
|
#o(e) {
|
|
199
|
-
e?.stopPropagation(), this.#r?.clear(), this.#
|
|
202
|
+
e?.stopPropagation(), this.#r?.clear(), this.#b(), (this.view ? d.getSketchViewModel(this.view) : null)?.cancel();
|
|
200
203
|
}
|
|
201
|
-
#
|
|
204
|
+
#b() {
|
|
202
205
|
this.mode = "default", this._candidateFeatures = [], this._selectedFeature = void 0, this.#e?.reject(), this.#e = null;
|
|
203
206
|
}
|
|
204
|
-
#
|
|
207
|
+
#M() {
|
|
205
208
|
const e = this.#e, t = this.#r, { _selectedFeature: i } = this;
|
|
206
209
|
if (e && t) {
|
|
207
210
|
if (!i)
|
|
@@ -209,56 +212,56 @@ class $ extends y {
|
|
|
209
212
|
e.resolve(i), this.#e = null;
|
|
210
213
|
}
|
|
211
214
|
}
|
|
212
|
-
#
|
|
215
|
+
#B(e, t = !1, i) {
|
|
213
216
|
return s`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`;
|
|
214
217
|
}
|
|
215
|
-
#
|
|
218
|
+
#O() {
|
|
216
219
|
const { _namedTraceConfigurations: e, selectedUtilityNetwork: t } = this;
|
|
217
220
|
return s`<arcgis-utility-network-trace-configuration-picker .messageOverrides=${this.messageOverrides} .traceConfigurations=${e} .utilityNetwork=${t} @arcgisPropertyChange=${(i) => {
|
|
218
221
|
i.stopPropagation(), i.detail.name === "selectedNamedTraceConfiguration" && (this.selectedNamedTraceConfiguration = i.target.selectedNamedTraceConfiguration), i.detail.name === "traceConfiguration" && (this._traceConfiguration = i.target.traceConfiguration);
|
|
219
222
|
}}></arcgis-utility-network-trace-configuration-picker>`;
|
|
220
223
|
}
|
|
221
|
-
#
|
|
224
|
+
#V() {
|
|
222
225
|
const { selectedUtilityNetwork: e, view: t } = this;
|
|
223
226
|
return s`<arcgis-utility-network-picker .messageOverrides=${this.messageOverrides} .selectedUtilityNetwork=${e} .view=${t} @arcgisPropertyChange=${(i) => {
|
|
224
227
|
i.detail.name === "selectedUtilityNetwork" && (this.selectedUtilityNetwork = i.target.selectedUtilityNetwork);
|
|
225
228
|
}}></arcgis-utility-network-picker>`;
|
|
226
229
|
}
|
|
227
|
-
#
|
|
230
|
+
#G() {
|
|
228
231
|
const { _error: e } = this, { noView: t } = this._messages.errors;
|
|
229
232
|
let i;
|
|
230
|
-
return e === t ? i = this.#
|
|
233
|
+
return e === t ? i = this.#B(e, !1, "exclamation-mark-triangle") : i = this.#z(), s`<calcite-flow-item .selected=${this.mode === "default"}>${i}</calcite-flow-item>`;
|
|
231
234
|
}
|
|
232
|
-
#
|
|
235
|
+
#j() {
|
|
233
236
|
const { _messages: e, mode: t } = this, i = this._activeTraceLocationType === "starting-point" ? e.labels.addSpatial.startingPoint : this._activeTraceLocationType === "barrier" ? e.labels.addSpatial.barrier : e.labels.addSpatial.stoppingPoint;
|
|
234
237
|
return s`<calcite-flow-item .selected=${t === "add-spatial-instructions"} .heading=${i} @calciteFlowItemBack=${(a) => this.#o(a)}><div class="add-spatial-mode"><div><h5 class="heading">${e.instructions.addSpatial.selectFeature.heading}</h5>${e.instructions.addSpatial.selectFeature.subheading}</div><div><h5 class="heading">${e.instructions.addSpatial.selectAssociatedFeature.heading}</h5>${e.instructions.addSpatial.selectAssociatedFeature.subheading}</div></div></calcite-flow-item>`;
|
|
235
238
|
}
|
|
236
|
-
#
|
|
239
|
+
#q() {
|
|
237
240
|
const { _activeTraceLocationType: e, _candidateFeatures: t, _messages: i } = this;
|
|
238
241
|
if (!t.length)
|
|
239
242
|
return this.mode = "default", null;
|
|
240
243
|
const a = e === "starting-point" ? i.labels.addSpatial.startingPoint : e === "barrier" ? i.labels.addSpatial.barrier : i.labels.addSpatial.stoppingPoint, r = t.length === 1 ? "feature" : "list";
|
|
241
|
-
return s`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#c} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.
|
|
244
|
+
return s`<arcgis-features-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this.#c} .features=${this._candidateFeatures} .featureMenuTitle=${a} .hideActionBar=${this.hideActionBar} hide-select-feature .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .initialDisplayMode=${r} .messageOverrides=${this.messageOverrides} @arcgisClose=${() => this.#b()} @arcgisPropertyChange=${this.#v} @arcgisTriggerAction=${this.#$} open .referenceElement=${this.referenceElement} .view=${this.view} ${h(this.#_)}></arcgis-features-next>`;
|
|
242
245
|
}
|
|
243
|
-
#
|
|
246
|
+
#R() {
|
|
244
247
|
const { mode: e, _messages: t, _selectedFeature: i, selectedUtilityNetwork: a } = this, r = e === "add-spatial-feature" && this._exceedDisplayLimit && !i, o = m(t.warnings.exceededDisplayLimit, {
|
|
245
248
|
limit: this.#s.toString()
|
|
246
249
|
}), n = i ? !(a?.isUtilityLayer(i.layer) ?? !0) : !0;
|
|
247
|
-
return s`${r && s`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => this.#o()} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => this.#
|
|
250
|
+
return s`${r && s`<calcite-input-message class="results-limited-message" icon=exclamation-mark-circle status=idle>${o}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => this.#o()} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => this.#M()} .disabled=${n}>${t.buttons.add}</calcite-button>` || ""}`;
|
|
248
251
|
}
|
|
249
252
|
#h(e, t, i) {
|
|
250
|
-
return s`<arcgis-utility-network-trace-locations .messageOverrides=${this.messageOverrides} .view=${this.view} .traceLocationType=${e} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisTraceLocationSelectStart=${this.#
|
|
253
|
+
return s`<arcgis-utility-network-trace-locations .messageOverrides=${this.messageOverrides} .view=${this.view} .traceLocationType=${e} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisTraceLocationSelectStart=${this.#A} @arcgisTraceLocationSelectEnd=${this.#x} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this.#n} .traceLocations=${t} .afterMapInteraction=${this.#I.bind(this)} .autoDestroyDisabled=${this.autoDestroyDisabled} ${h(i)}></arcgis-utility-network-trace-locations>`;
|
|
251
254
|
}
|
|
252
|
-
#
|
|
253
|
-
const { _messages: e } = this, t = this.#
|
|
255
|
+
#z() {
|
|
256
|
+
const { _messages: e } = this, t = this.#V(), i = this.#O(), a = this._namedTraceConfigurations.length && this.traceConfiguration ? s`${this.#m ? this.#h("starting-point", this.#t, this.#L) : null}${this.#f ? this.#h("stopping-point", this.#a, this.#S) : null}${this.#h("barrier", this.#i, this.#C)}` : null, r = this.selectedUtilityNetwork?.loaded ? s`${i}${a}` : null;
|
|
254
257
|
return s`<calcite-block-group .label=${e.labels.traceInputs}>${t}${r}</calcite-block-group>`;
|
|
255
258
|
}
|
|
256
259
|
render() {
|
|
257
260
|
const { mode: e } = this;
|
|
258
|
-
return s`<calcite-panel>${e === "add-spatial-feature" ? this.#
|
|
261
|
+
return s`<calcite-panel>${e === "add-spatial-feature" ? this.#q() : null}<calcite-flow .hidden=${e === "add-spatial-feature"}>${this.#G()}${this.#j()}</calcite-flow>${e !== "default" ? this.#R() : null}</calcite-panel>`;
|
|
259
262
|
}
|
|
260
263
|
}
|
|
261
|
-
p("arcgis-utility-network-trace-inputs",
|
|
264
|
+
p("arcgis-utility-network-trace-inputs", L);
|
|
262
265
|
export {
|
|
263
|
-
|
|
266
|
+
L as ArcgisUtilityNetworkTraceInputs
|
|
264
267
|
};
|
|
@@ -131,8 +131,7 @@ export abstract class ArcgisUtilityNetworkTraceResults extends LitElement {
|
|
|
131
131
|
accessor heading: string | undefined;
|
|
132
132
|
/**
|
|
133
133
|
* Indicates whether to hide the action bar that holds the feature's
|
|
134
|
-
* [arcgis-features-next.actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) when
|
|
135
|
-
* and viewing trace result features.
|
|
134
|
+
* [arcgis-features-next.actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) when viewing trace result features.
|
|
136
135
|
*
|
|
137
136
|
* @default false
|
|
138
137
|
*/
|