@arcgis/map-components 5.2.0-next.96 → 5.2.0-next.97
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/{GIQDIWW4.js → 22VFTYTN.js} +1 -1
- package/dist/cdn/367Z3TKY.js +2 -0
- package/dist/cdn/{QTGJ2TIJ.js → 454H3MLO.js} +1 -1
- package/dist/cdn/{FRAZUJ7K.js → 4MSBOUHQ.js} +1 -1
- package/dist/cdn/{SK4OCYH7.js → 4YU2AF7S.js} +1 -1
- package/dist/cdn/5FWT3N7B.js +2 -0
- package/dist/cdn/6KYWLAYH.js +2 -0
- package/dist/cdn/6SEM26SM.js +2 -0
- package/dist/cdn/6ZE7BJTS.js +2 -0
- package/dist/cdn/72HH6FSN.js +2 -0
- package/dist/cdn/{LPB2JMJ5.js → 7F2DXC54.js} +1 -1
- package/dist/cdn/{Y56FOEA4.js → A3KD2UAY.js} +1 -1
- package/dist/cdn/{MXYWUI34.js → ASVNFERZ.js} +1 -1
- package/dist/cdn/{PWY44JI6.js → B4KOVXN3.js} +1 -1
- package/dist/cdn/{7TTSWTGP.js → BHENVS42.js} +1 -1
- package/dist/cdn/{VHHRBGXN.js → CJLML2XS.js} +1 -1
- package/dist/cdn/CKO4VE36.js +2 -0
- package/dist/cdn/{I3VQ46FA.js → EAQV7AZQ.js} +1 -1
- package/dist/cdn/{CEMBX25Q.js → EXIPQBCY.js} +1 -1
- package/dist/cdn/FCNNRX3Q.js +2 -0
- package/dist/cdn/FCVLHRLJ.js +2 -0
- package/dist/cdn/{3CHIGFZL.js → GLMK45AB.js} +1 -1
- package/dist/cdn/{S5XIZ2L4.js → HXNLIDLQ.js} +1 -1
- package/dist/cdn/{7ZZWKH2U.js → IPT3YBSG.js} +2 -2
- package/dist/cdn/{UAGCCYQB.js → IXDLJKJA.js} +1 -1
- package/dist/cdn/{B5FTF7WR.js → J624KHFL.js} +1 -1
- package/dist/cdn/{G2BLA5NQ.js → JAQYZZRT.js} +1 -1
- package/dist/cdn/{XAZNEI2W.js → LCG5BEEY.js} +1 -1
- package/dist/cdn/{VWV6XWSU.js → LW6SRLBI.js} +1 -1
- package/dist/cdn/{5SVULVBJ.js → MAILUSIQ.js} +1 -1
- package/dist/cdn/NRT2ZCWC.js +2 -0
- package/dist/cdn/{HOKDRJ4R.js → NSUQXUWH.js} +1 -1
- package/dist/cdn/{V42KBFW7.js → OCAPESF3.js} +1 -1
- package/dist/cdn/{F3JDX4A7.js → OMEJFPK7.js} +1 -1
- package/dist/cdn/{D6BWGR3Z.js → P5CQYFPA.js} +1 -1
- package/dist/cdn/R5GMCIAH.js +2 -0
- package/dist/cdn/{AKNAVXKD.js → RC7BSNQ3.js} +1 -1
- package/dist/cdn/SA4IYYIE.js +2 -0
- package/dist/cdn/{QD3GVN2C.js → SDY4E3WA.js} +1 -1
- package/dist/cdn/{CJ536VHT.js → SGU4TP7V.js} +1 -1
- package/dist/cdn/TDGEDT35.js +2 -0
- package/dist/cdn/{66PT52ED.js → TZEAPNBI.js} +1 -1
- package/dist/cdn/{CA5LXWO6.js → UOZG2EH7.js} +1 -1
- package/dist/cdn/{GMSIYMNC.js → UPJTKQR3.js} +1 -1
- package/dist/cdn/{2JLMOWRT.js → VULA5TJD.js} +1 -1
- package/dist/cdn/VZXCU47M.js +2 -0
- package/dist/cdn/{FRSROWP4.js → W6IFUQTQ.js} +1 -1
- package/dist/cdn/{SVJ7AEMP.js → WAFRMU5C.js} +1 -1
- package/dist/cdn/WLGR4IHZ.js +2 -0
- package/dist/cdn/{CX3OZJEH.js → WMK7RLBA.js} +1 -1
- package/dist/cdn/{4FVOBVTD.js → YEN7K65V.js} +2 -2
- package/dist/cdn/YVQJ4XD4.js +2 -0
- package/dist/cdn/{FZDURX2Y.js → YWOTHCBH.js} +1 -1
- package/dist/cdn/{N5VJ4SAX.js → ZCRUGROJ.js} +1 -1
- package/dist/cdn/{VT2IDAHB.js → ZUWNZX6G.js} +1 -1
- package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/layer-list-utils.js +23 -17
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/utils2.js +66 -50
- package/dist/chunks/utils3.js +50 -13
- package/dist/chunks/utils4.js +13 -45
- package/dist/chunks/utils5.js +51 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +21 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +16 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +6 -5
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +18 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +19 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +6 -6
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +20 -16
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +16 -0
- package/dist/components/arcgis-layer-list-next/customElement.js +49 -45
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +134 -10
- package/dist/components/arcgis-layer-list-next/types.d.ts +5 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +11 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -78
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -4
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +17 -25
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +37 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- 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 +7 -7
- package/dist/types/lumina.d.ts +9 -9
- package/dist/types/preact.d.ts +9 -9
- package/dist/types/react.d.ts +9 -9
- package/dist/types/stencil.d.ts +9 -9
- package/dist/utils/layer-list-utils.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cdn/376WTHOL.js +0 -2
- package/dist/cdn/4YFREAQ2.js +0 -2
- package/dist/cdn/ECXHREHJ.js +0 -2
- package/dist/cdn/FIIA3N5X.js +0 -2
- package/dist/cdn/HISWL3K3.js +0 -2
- package/dist/cdn/HPLMTKLF.js +0 -2
- package/dist/cdn/JKOIMKKL.js +0 -2
- package/dist/cdn/JOPAUFUX.js +0 -2
- package/dist/cdn/LDDAJOTV.js +0 -2
- package/dist/cdn/LMNH2RHA.js +0 -2
- package/dist/cdn/MBFY4GDJ.js +0 -2
- package/dist/cdn/PI55I5L7.js +0 -2
- package/dist/cdn/RCQKTBVC.js +0 -2
- package/dist/cdn/YDP5A3EP.js +0 -2
- package/dist/cdn/ZSDNX326.js +0 -2
- package/dist/chunks/layer-list-item.js +0 -181
- /package/dist/cdn/{WKBILCAY.js → 2ZG7S6GM.js} +0 -0
- /package/dist/cdn/{4WURS3DM.js → 3VWL4SN7.js} +0 -0
- /package/dist/cdn/{4GIRSQMC.js → 4F6FNH6V.js} +0 -0
- /package/dist/cdn/{KYWZUC6M.js → 4J6DMRVO.js} +0 -0
- /package/dist/cdn/{FVZJPOWC.js → 5OBSJYCP.js} +0 -0
- /package/dist/cdn/{5CB7FWG6.js → 657KH5W3.js} +0 -0
- /package/dist/cdn/{ESYSNSNH.js → 6B4ROFUM.js} +0 -0
- /package/dist/cdn/{RKXHWHFR.js → 6RT7GRX4.js} +0 -0
- /package/dist/cdn/{3ZXNGXHC.js → 7DI2ZSB3.js} +0 -0
- /package/dist/cdn/{4AEFZEGM.js → 7JKYXV7H.js} +0 -0
- /package/dist/cdn/{NDWLSQ4W.js → 7NO3F7GQ.js} +0 -0
- /package/dist/cdn/{4KYPBCNM.js → AA2HLLIM.js} +0 -0
- /package/dist/cdn/{BU5HRIOW.js → ADZF7IHV.js} +0 -0
- /package/dist/cdn/{B4RNNO6A.js → B6JLKBMG.js} +0 -0
- /package/dist/cdn/{ZOGRVFHK.js → D2FVI5JG.js} +0 -0
- /package/dist/cdn/{HW5YYDPC.js → D5LP3DJA.js} +0 -0
- /package/dist/cdn/{OJOQP2IU.js → DNQGXWL3.js} +0 -0
- /package/dist/cdn/{QU5PA5MZ.js → DSPV4EIK.js} +0 -0
- /package/dist/cdn/{FV7FUSTO.js → E3AEBH36.js} +0 -0
- /package/dist/cdn/{2EDZ2LNR.js → FRGVEQAZ.js} +0 -0
- /package/dist/cdn/{ZXEH6MEU.js → G7DHB4QN.js} +0 -0
- /package/dist/cdn/{MGILHYX4.js → GJAC7GKP.js} +0 -0
- /package/dist/cdn/{G42D353L.js → GLZMKGGW.js} +0 -0
- /package/dist/cdn/{WRKX7F2G.js → H3RDAWS7.js} +0 -0
- /package/dist/cdn/{YFM2SKWI.js → HDYBFSI5.js} +0 -0
- /package/dist/cdn/{NGQUETWM.js → HH4A44WX.js} +0 -0
- /package/dist/cdn/{5EU3QVP7.js → HRTVHZHG.js} +0 -0
- /package/dist/cdn/{7427KHVF.js → IU63DGNP.js} +0 -0
- /package/dist/cdn/{O3SPKYBG.js → J3KTKVLP.js} +0 -0
- /package/dist/cdn/{BV52G5DA.js → JHF7SGKM.js} +0 -0
- /package/dist/cdn/{GLKTAVV5.js → JU4MCJPU.js} +0 -0
- /package/dist/cdn/{77ZD2RFI.js → KVIE42LT.js} +0 -0
- /package/dist/cdn/{W2UZH6QI.js → LG3G4BFF.js} +0 -0
- /package/dist/cdn/{VDTRRLON.js → MDTNPISF.js} +0 -0
- /package/dist/cdn/{XYRTRBXU.js → OO4SKY7C.js} +0 -0
- /package/dist/cdn/{SNX6WY7J.js → OTTKYEPK.js} +0 -0
- /package/dist/cdn/{J4VKIBXE.js → QH4RNPEX.js} +0 -0
- /package/dist/cdn/{IHWFNEBS.js → QJBQ3JLC.js} +0 -0
- /package/dist/cdn/{KG3HVAZY.js → SE4NXMGA.js} +0 -0
- /package/dist/cdn/{AZWQWNTK.js → SOOVHYLT.js} +0 -0
- /package/dist/cdn/{KMNELKA3.js → T5QDEAAE.js} +0 -0
- /package/dist/cdn/{W2YB27M6.js → TKEBTPPA.js} +0 -0
- /package/dist/cdn/{6URW6H47.js → TTBQBEDS.js} +0 -0
- /package/dist/cdn/{BIKEUMV7.js → VFHHDNXC.js} +0 -0
- /package/dist/cdn/{QZHFPTSI.js → X2MAQDWV.js} +0 -0
- /package/dist/cdn/{LGNLLGA6.js → YWQU6EBN.js} +0 -0
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as d, html as i } from "lit";
|
|
4
|
-
import { ref as
|
|
4
|
+
import { ref as n } from "lit/directives/ref.js";
|
|
5
5
|
import g from "@arcgis/core/Color.js";
|
|
6
|
-
import { LitElement as h, createEvent as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
6
|
+
import { LitElement as h, createEvent as c } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as u } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { log as m, composeMissingPropertyMessage as p } from "@arcgis/toolkit/log";
|
|
9
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
10
|
+
const v = d`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.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)}.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)}`, l = {
|
|
10
11
|
dirtyAreasDiscovered: -2147208511,
|
|
11
12
|
noValidControllers: -2147208935,
|
|
12
13
|
pathNotFound: -2147208444
|
|
13
14
|
};
|
|
14
15
|
class y extends h {
|
|
15
16
|
constructor() {
|
|
16
|
-
super(...arguments), this._messages =
|
|
17
|
+
super(...arguments), this._messages = f({ blocking: !0 }), this.aggregatedGeometryGraphicsColor = new g([255, 255, 0, 0.6]), this.autoDestroyDisabled = !1, this.disableHighlightFeatureResults = !1, this.hideActionBar = !1, this.hideGraphics = !1, this.hidePlaceholder = !1, this.hideFeatureResults = !1, this.includeDefaultActionsDisabled = !1, this.layers = [], this.state = "loading", this.arcgisTraceResultFeaturesReady = c(), this.arcgisTriggerAction = c(), this.arcgisPropertyChange = u()("aggregatedGeometryGraphicsColor", "hideGraphics", "state", "traceError");
|
|
17
18
|
}
|
|
18
19
|
static {
|
|
19
|
-
this.properties = { actions: 0, aggregatedGeometryGraphicsColor: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, heading: 1, hideActionBar: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, layers: 0, messageOverrides: 0, numFeatureResults: 32, referenceElement: 1, state: 1, traceError: 0, traceResult: 0, traceResultFeatures: 32, utilityNetwork: 0, view: 0 };
|
|
20
|
+
this.properties = { actions: 0, aggregatedGeometryGraphicsColor: 0, autoDestroyDisabled: 5, disableHighlightFeatureResults: 5, heading: 1, hideActionBar: 5, hideGraphics: 5, hidePlaceholder: 5, hideFeatureResults: 5, includeDefaultActionsDisabled: 5, layers: 0, messageOverrides: 0, numFeatureResults: 32, referenceElement: 1, state: 1, traceError: 0, traceResult: 0, traceResultFeatures: 32, utilityNetwork: 0, view: 0 };
|
|
20
21
|
}
|
|
21
22
|
static {
|
|
22
23
|
this.styles = v;
|
|
@@ -36,7 +37,7 @@ class y extends h {
|
|
|
36
37
|
await this.#s?.destroy(), await this.#e?.destroy(), await this.manager.destroy();
|
|
37
38
|
}
|
|
38
39
|
load() {
|
|
39
|
-
this.traceResult && (this.view ||
|
|
40
|
+
this.traceResult && (this.view || m("warn", this, p("view")));
|
|
40
41
|
}
|
|
41
42
|
#i(e) {
|
|
42
43
|
e && (this.#s = e);
|
|
@@ -56,16 +57,7 @@ class y extends h {
|
|
|
56
57
|
}
|
|
57
58
|
#c(e) {
|
|
58
59
|
const { detail: t, target: s } = e;
|
|
59
|
-
|
|
60
|
-
e.stopPropagation();
|
|
61
|
-
const a = s[t.name];
|
|
62
|
-
this.arcgisHideGraphicsChange.emit(a);
|
|
63
|
-
}
|
|
64
|
-
if (t.name === "graphicsColor") {
|
|
65
|
-
e.stopPropagation();
|
|
66
|
-
const a = s[t.name];
|
|
67
|
-
this.aggregatedGeometryGraphicsColor = a, this.arcgisAggregatedGeometryGraphicsColorChange.emit(a);
|
|
68
|
-
}
|
|
60
|
+
t.name === "hideGraphics" ? (e.stopPropagation(), this.hideGraphics = s[t.name]) : t.name === "graphicsColor" && (e.stopPropagation(), this.aggregatedGeometryGraphicsColor = s[t.name]);
|
|
69
61
|
}
|
|
70
62
|
render() {
|
|
71
63
|
const { traceError: e, traceResult: t } = this;
|
|
@@ -73,15 +65,15 @@ class y extends h {
|
|
|
73
65
|
return this.#h(e);
|
|
74
66
|
if (!t)
|
|
75
67
|
return this.#m();
|
|
76
|
-
const { elements: s, globalFunctionResults: a, aggregatedGeometry:
|
|
77
|
-
return !s.length && !a.length && !
|
|
68
|
+
const { elements: s, globalFunctionResults: a, aggregatedGeometry: r } = t;
|
|
69
|
+
return !s.length && !a.length && !r ? this.#u() : i`<calcite-panel class="white-panel-background">${this.state === "loading" ? this.#o() : null}${this.#d(t)}</calcite-panel>`;
|
|
78
70
|
}
|
|
79
71
|
#o() {
|
|
80
72
|
return i`<calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader>`;
|
|
81
73
|
}
|
|
82
74
|
#d(e) {
|
|
83
|
-
const t = this.#e?.isFeaturesListShown, { elements: s, globalFunctionResults: a, aggregatedGeometry:
|
|
84
|
-
return i`<div .hidden=${this.state === "loading"}>${t ? null : this.#t()}${
|
|
75
|
+
const t = this.#e?.isFeaturesListShown, { elements: s, globalFunctionResults: a, aggregatedGeometry: r } = e;
|
|
76
|
+
return i`<div .hidden=${this.state === "loading"}>${t ? null : this.#t()}${r != null ? i`<arcgis-utility-network-aggregated-geometry-result-item auto-destroy-disabled .graphicsColor=${this.aggregatedGeometryGraphicsColor} .hideGraphics=${this.hideGraphics} .hidden=${t} .traceResult=${e} .view=${this.view} @arcgisPropertyChange=${this.#c} ${n(this.#i)}></arcgis-utility-network-aggregated-geometry-result-item>${!s.length && !t ? this.#g() : null}` : null}${s != null ? i`<arcgis-utility-network-elements-result-item .actions=${this.actions} auto-destroy-disabled .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hidePlaceholder=${this.hidePlaceholder} .hidden=${!s.length} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.layers} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceResult=${e} .utilityNetwork=${this.utilityNetwork} .view=${this.view} @arcgisPropertyChange=${this.#r} @arcgisResultReady=${this.#l} @arcgisTriggerAction=${this.#n} ${n(this.#a)}></arcgis-utility-network-elements-result-item>` : null}${a.length > 0 ? i`<arcgis-utility-network-trace-functions-result-item .heading=${this._messages.headings.functions} .hidden=${t} .traceResult=${e}></arcgis-utility-network-trace-functions-result-item>` : null}</div>`;
|
|
85
77
|
}
|
|
86
78
|
#g() {
|
|
87
79
|
return i`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
|
|
@@ -93,13 +85,13 @@ class y extends h {
|
|
|
93
85
|
const { _messages: t } = this;
|
|
94
86
|
let s = e.message;
|
|
95
87
|
switch (e.details?.raw?.extendedCode) {
|
|
96
|
-
case
|
|
88
|
+
case l.dirtyAreasDiscovered:
|
|
97
89
|
s = t.traceErrors.dirtyAreasDiscovered;
|
|
98
90
|
break;
|
|
99
|
-
case
|
|
91
|
+
case l.noValidControllers:
|
|
100
92
|
s = t.traceErrors.noValidControllers;
|
|
101
93
|
break;
|
|
102
|
-
case
|
|
94
|
+
case l.pathNotFound:
|
|
103
95
|
s = t.traceErrors.pathNotFound;
|
|
104
96
|
break;
|
|
105
97
|
}
|
|
@@ -308,6 +308,43 @@ export abstract class ArcgisVolumeMeasurement extends LitElement {
|
|
|
308
308
|
accessor icon: Icon["icon"] | undefined;
|
|
309
309
|
/** The component's default label. */
|
|
310
310
|
accessor label: string | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* Replace localized message strings with your own strings.
|
|
313
|
+
*
|
|
314
|
+
* _**Note**: Individual message keys may change between releases._
|
|
315
|
+
*/
|
|
316
|
+
accessor messageOverrides: {
|
|
317
|
+
componentLabel?: string | undefined;
|
|
318
|
+
title?: string | undefined;
|
|
319
|
+
hint?: string | undefined;
|
|
320
|
+
measurementMode?: string | undefined;
|
|
321
|
+
newMeasurement?: string | undefined;
|
|
322
|
+
cutAndFillMode?: string | undefined;
|
|
323
|
+
stockpileMode?: string | undefined;
|
|
324
|
+
cutVolume?: string | undefined;
|
|
325
|
+
totalVolume?: string | undefined;
|
|
326
|
+
fillVolume?: string | undefined;
|
|
327
|
+
netVolume?: string | undefined;
|
|
328
|
+
perimeter?: string | undefined;
|
|
329
|
+
area?: string | undefined;
|
|
330
|
+
snappingDisablePrompt?: string | undefined;
|
|
331
|
+
snappingDisablePromptAlternate?: string | undefined;
|
|
332
|
+
showSettings?: string | undefined;
|
|
333
|
+
hideSettings?: string | undefined;
|
|
334
|
+
unsupported?: string | undefined;
|
|
335
|
+
errorInsufficientData?: string | undefined;
|
|
336
|
+
errorPerimeterTooLarge?: string | undefined;
|
|
337
|
+
errorUnsupportedCoordinateSystem?: string | undefined;
|
|
338
|
+
errorUnsupportedLayerTransparency?: string | undefined;
|
|
339
|
+
errorUnknown?: string | undefined;
|
|
340
|
+
inputUnits?: string | undefined;
|
|
341
|
+
displayUnits?: string | undefined;
|
|
342
|
+
elevationInputUnit?: string | undefined;
|
|
343
|
+
elevationDisplayUnit?: string | undefined;
|
|
344
|
+
volumeDisplayUnit?: string | undefined;
|
|
345
|
+
areaDisplayUnit?: string | undefined;
|
|
346
|
+
perimeterDisplayUnit?: string | undefined;
|
|
347
|
+
};
|
|
311
348
|
/** @internal */
|
|
312
349
|
protected messages: {
|
|
313
350
|
componentLabel: string;
|
|
@@ -259,7 +259,7 @@ class le extends R {
|
|
|
259
259
|
super(...arguments), this.viewModel = oe(this), this.messages = G({ blocking: !0 }), this.#e = X(), this._settingsPopoverIsOpen = !1, this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.state = this.viewModel.state, this.volumeDisplayUnit = this.viewModel.volumeDisplayUnit, this.volumeDisplayUnitOptions = this.viewModel.volumeDisplayUnitOptions, this.elevationDisplayUnit = this.viewModel.elevationDisplayUnit, this.elevationDisplayUnitOptions = this.viewModel.elevationDisplayUnitOptions, this.elevationInputUnit = this.viewModel.elevationInputUnit, this.elevationInputUnitOptions = this.viewModel.elevationInputUnitOptions, this.areaDisplayUnit = this.viewModel.areaDisplayUnit, this.areaDisplayUnitOptions = this.viewModel.areaDisplayUnitOptions, this.perimeterDisplayUnit = this.viewModel.perimeterDisplayUnit, this.perimeterDisplayUnitOptions = this.viewModel.perimeterDisplayUnitOptions, this.hideHeader = !1, this.hideSettingsButton = !1, this.hideElevationDisplayUnitSelect = !1, this.hideElevationInputUnitSelect = !1, this.hideVolumeDisplayUnitSelect = !1, this.hideModeSelect = !1, this.hideStartButton = !1, this.hideVisualization = this.viewModel.hideVisualization, this.headingLevel = 2, this.hideAreaDisplayUnitSelect = !1, this.hidePerimeterDisplayUnitSelect = !1, this.arcgisPropertyChange = Z()("analysis", "state"), this.arcgisReady = F();
|
|
260
260
|
}
|
|
261
261
|
static {
|
|
262
|
-
this.properties = { _settingsPopoverIsOpen: 16, view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, referenceElement: 1, mode: 1, state: 32, volumeDisplayUnit: 1, volumeDisplayUnitOptions: 0, elevationDisplayUnit: 1, elevationDisplayUnitOptions: 0, elevationInputUnit: 1, elevationInputUnitOptions: 0, areaDisplayUnit: 1, areaDisplayUnitOptions: 0, perimeterDisplayUnit: 1, perimeterDisplayUnitOptions: 0, hideHeader: 5, hideSettingsButton: 5, hideElevationDisplayUnitSelect: 5, hideElevationInputUnitSelect: 5, hideVolumeDisplayUnitSelect: 5, hideModeSelect: 5, hideStartButton: 5, hideVisualization: 5, headingLevel: 9, hideAreaDisplayUnitSelect: 5, hidePerimeterDisplayUnitSelect: 5 };
|
|
262
|
+
this.properties = { _settingsPopoverIsOpen: 16, view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, referenceElement: 1, mode: 1, state: 32, volumeDisplayUnit: 1, volumeDisplayUnitOptions: 0, elevationDisplayUnit: 1, elevationDisplayUnitOptions: 0, elevationInputUnit: 1, elevationInputUnitOptions: 0, areaDisplayUnit: 1, areaDisplayUnitOptions: 0, perimeterDisplayUnit: 1, perimeterDisplayUnitOptions: 0, hideHeader: 5, hideSettingsButton: 5, hideElevationDisplayUnitSelect: 5, hideElevationInputUnitSelect: 5, hideVolumeDisplayUnitSelect: 5, hideModeSelect: 5, hideStartButton: 5, hideVisualization: 5, headingLevel: 9, hideAreaDisplayUnitSelect: 5, hidePerimeterDisplayUnitSelect: 5 };
|
|
263
263
|
}
|
|
264
264
|
static {
|
|
265
265
|
this.styles = se;
|