@arcgis/map-components 6.0.0-next.8 → 6.0.0-next.9
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/4UDLUCTE.js +2 -0
- package/dist/cdn/5ITYFVDX.js +2 -0
- package/dist/cdn/7YHGGHJY.js +2 -0
- package/dist/cdn/{7ODW3J2D.js → BV6ID43I.js} +1 -1
- package/dist/cdn/CCBLZGVL.js +2 -0
- package/dist/cdn/{43ETXXS2.js → EVV5ZWO2.js} +1 -1
- package/dist/cdn/F4S2DPYN.js +2 -0
- package/dist/cdn/FMSA7336.js +2 -0
- package/dist/cdn/NUFSYQAJ.js +2 -0
- package/dist/cdn/{WO26ZR5Z.js → PIKYAUGU.js} +1 -1
- package/dist/cdn/{44CQCIZB.js → PSWXIEFK.js} +1 -1
- package/dist/cdn/QPW7LQT2.js +2 -0
- package/dist/cdn/{XZDVW553.js → QYUGC46B.js} +1 -1
- package/dist/cdn/RK65HKUN.js +2 -0
- package/dist/cdn/SKP3TGF4.js +2 -0
- package/dist/cdn/U73UTEIN.js +2 -0
- package/dist/cdn/WJG5SEIL.js +2 -0
- package/dist/cdn/ZDTIOBXY.js +2 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +120 -106
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.js +93 -89
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -18
- package/dist/components/arcgis-link-chart/customElement.js +5 -5
- package/dist/components/arcgis-map/customElement.d.ts +20 -18
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-measurement-content/customElement.js +6 -6
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.js +7 -7
- package/dist/components/arcgis-scene/customElement.d.ts +20 -18
- package/dist/components/arcgis-scene/customElement.js +9 -9
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +16 -16
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.js +6 -6
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.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 +3 -3
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +6 -6
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as S, html as
|
|
3
|
+
import { css as S, html as d } from "lit";
|
|
4
4
|
import { ref as U } from "lit/directives/ref.js";
|
|
5
5
|
import { createChart as k } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
6
6
|
import { signal as M } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
7
7
|
import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
|
|
8
|
-
import { watch as
|
|
8
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
import { LitElement as B, createEvent as O, nothing as u, safeClassMap as m } from "@arcgis/lumina";
|
|
10
10
|
import { usePropertyChange as D } from "@arcgis/lumina/controllers";
|
|
11
11
|
import { slotChangeHasContent as _ } from "@arcgis/toolkit/dom/slots";
|
|
@@ -21,8 +21,8 @@ import { c as y, d as w } from "../../chunks/measurementUtils.js";
|
|
|
21
21
|
import { m as L } from "../../chunks/handle.js";
|
|
22
22
|
const I = S`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{--internal-chart-height: 180px;--internal-gap: var(--calcite-spacing-sm-plus);width:550px;isolation:isolate;position:relative;container-type:inline-size}.root{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--internal-gap)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-bottom:calc(var(--internal-gap) * -1)}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;inset-block-start:-24px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
23
23
|
async function R(t, e, i) {
|
|
24
|
-
const
|
|
25
|
-
return V(i), H(
|
|
24
|
+
const s = await T(t, e);
|
|
25
|
+
return V(i), H(s) ? s.highlight(e) : L();
|
|
26
26
|
}
|
|
27
27
|
async function T(t, e) {
|
|
28
28
|
const i = e?.layer;
|
|
@@ -44,12 +44,12 @@ function G(t) {
|
|
|
44
44
|
function q(t) {
|
|
45
45
|
return t?.type === "polyline";
|
|
46
46
|
}
|
|
47
|
-
var N = Object.defineProperty, J = Object.getOwnPropertyDescriptor, o = (t, e, i,
|
|
48
|
-
for (var n =
|
|
49
|
-
(
|
|
50
|
-
return
|
|
47
|
+
var N = Object.defineProperty, J = Object.getOwnPropertyDescriptor, o = (t, e, i, s) => {
|
|
48
|
+
for (var n = s > 1 ? void 0 : s ? J(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
49
|
+
(c = t[l]) && (n = (s ? c(e, i, n) : c(n)) || n);
|
|
50
|
+
return s && n && N(e, i, n), n;
|
|
51
51
|
};
|
|
52
|
-
let
|
|
52
|
+
let r = class extends A {
|
|
53
53
|
constructor() {
|
|
54
54
|
super(...arguments), this._resettingUnits = !1, this.highlightDisabled = !1, this.uniformChartScaling = !1, this.shouldForceInteractive = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
55
55
|
}
|
|
@@ -185,7 +185,7 @@ let s = class extends A {
|
|
|
185
185
|
}
|
|
186
186
|
initialize() {
|
|
187
187
|
this.addHandles([
|
|
188
|
-
|
|
188
|
+
p(
|
|
189
189
|
() => ({
|
|
190
190
|
analysis: this.analysis,
|
|
191
191
|
unitDistance: this._userDistanceUnit,
|
|
@@ -196,18 +196,18 @@ let s = class extends A {
|
|
|
196
196
|
},
|
|
197
197
|
{ sync: !0, initial: !0 }
|
|
198
198
|
),
|
|
199
|
-
|
|
199
|
+
p(
|
|
200
200
|
() => ({
|
|
201
201
|
selectedFeature: this.feature,
|
|
202
202
|
profiles: this.analysis.profiles.toArray()
|
|
203
203
|
}),
|
|
204
204
|
({ selectedFeature: t, profiles: e }, i) => {
|
|
205
205
|
this._highlightSelectedFeature(this.highlightDisabled ? void 0 : t), this.analysis.viewOptions.geometryVisualizationVisible = !this.highlightDisabled && t == null;
|
|
206
|
-
const
|
|
206
|
+
const s = i?.selectedFeature;
|
|
207
207
|
e.forEach((n) => {
|
|
208
208
|
switch (n.type) {
|
|
209
209
|
case "scene":
|
|
210
|
-
this._excludeSelectedFeatureFromProfile(n, t,
|
|
210
|
+
this._excludeSelectedFeatureFromProfile(n, t, s);
|
|
211
211
|
break;
|
|
212
212
|
case "input":
|
|
213
213
|
n.chartOptions.lineVisible = t != null, n.viewOptions.lineVisible = t != null;
|
|
@@ -231,8 +231,8 @@ let s = class extends A {
|
|
|
231
231
|
this.clear();
|
|
232
232
|
const e = super.start({
|
|
233
233
|
operation: async (i) => {
|
|
234
|
-
const
|
|
235
|
-
i?.signal?.aborted || (t.interactive = !1, this.feature =
|
|
234
|
+
const s = await t.pickFeature(i);
|
|
235
|
+
i?.signal?.aborted || (t.interactive = !1, this.feature = s.feature);
|
|
236
236
|
},
|
|
237
237
|
clear: !1
|
|
238
238
|
});
|
|
@@ -264,115 +264,115 @@ let s = class extends A {
|
|
|
264
264
|
this._selectionHighlightTask?.value?.remove(), this._selectionHighlightTask = F(this._selectionHighlightTask);
|
|
265
265
|
}
|
|
266
266
|
_excludeSelectedFeatureFromProfile(t, e, i) {
|
|
267
|
-
const
|
|
268
|
-
i &&
|
|
267
|
+
const s = new Set(t.exclude ?? []);
|
|
268
|
+
i && s.delete(i), e && s.add(e), t.exclude = Array.from(s);
|
|
269
269
|
}
|
|
270
270
|
//#endregion
|
|
271
271
|
};
|
|
272
272
|
o([
|
|
273
273
|
a()
|
|
274
|
-
],
|
|
274
|
+
], r.prototype, "_userDistanceUnit", 2);
|
|
275
275
|
o([
|
|
276
276
|
a()
|
|
277
|
-
],
|
|
277
|
+
], r.prototype, "_userDistanceUnitOptions", 2);
|
|
278
278
|
o([
|
|
279
279
|
a()
|
|
280
|
-
],
|
|
280
|
+
], r.prototype, "_userElevationUnit", 2);
|
|
281
281
|
o([
|
|
282
282
|
a()
|
|
283
|
-
],
|
|
283
|
+
], r.prototype, "_userElevationUnitOptions", 2);
|
|
284
284
|
o([
|
|
285
285
|
a()
|
|
286
|
-
],
|
|
286
|
+
], r.prototype, "_selectingPromise", 2);
|
|
287
287
|
o([
|
|
288
288
|
a()
|
|
289
|
-
],
|
|
289
|
+
], r.prototype, "_selectedFeature", 2);
|
|
290
290
|
o([
|
|
291
291
|
a()
|
|
292
|
-
],
|
|
292
|
+
], r.prototype, "_selectionHighlightTask", 2);
|
|
293
293
|
o([
|
|
294
294
|
a()
|
|
295
|
-
],
|
|
295
|
+
], r.prototype, "_hasSamples", 1);
|
|
296
296
|
o([
|
|
297
297
|
a()
|
|
298
|
-
],
|
|
298
|
+
], r.prototype, "doneButtonAvailable", 1);
|
|
299
299
|
o([
|
|
300
300
|
a({ readOnly: !0 })
|
|
301
|
-
],
|
|
301
|
+
], r.prototype, "effectiveDisplayUnits", 1);
|
|
302
302
|
o([
|
|
303
303
|
a({ readOnly: !0 })
|
|
304
|
-
],
|
|
304
|
+
], r.prototype, "errorState", 1);
|
|
305
305
|
o([
|
|
306
306
|
a()
|
|
307
|
-
],
|
|
307
|
+
], r.prototype, "feature", 1);
|
|
308
308
|
o([
|
|
309
309
|
a()
|
|
310
|
-
],
|
|
310
|
+
], r.prototype, "featureIsSelected", 1);
|
|
311
311
|
o([
|
|
312
312
|
a({ readOnly: !0 })
|
|
313
|
-
],
|
|
313
|
+
], r.prototype, "hasVertices", 1);
|
|
314
314
|
o([
|
|
315
315
|
a()
|
|
316
|
-
],
|
|
316
|
+
], r.prototype, "highlightDisabled", 2);
|
|
317
317
|
o([
|
|
318
318
|
a()
|
|
319
|
-
],
|
|
319
|
+
], r.prototype, "indicatorRelativePosition", 1);
|
|
320
320
|
o([
|
|
321
321
|
a()
|
|
322
|
-
],
|
|
322
|
+
], r.prototype, "geometry", 1);
|
|
323
323
|
o([
|
|
324
324
|
a()
|
|
325
|
-
],
|
|
325
|
+
], r.prototype, "elevationInfo", 1);
|
|
326
326
|
o([
|
|
327
327
|
a()
|
|
328
|
-
],
|
|
328
|
+
], r.prototype, "profiles", 1);
|
|
329
329
|
o([
|
|
330
330
|
a({ readOnly: !0 })
|
|
331
|
-
],
|
|
331
|
+
], r.prototype, "progress", 1);
|
|
332
332
|
o([
|
|
333
333
|
a({ readOnly: !0 })
|
|
334
|
-
],
|
|
334
|
+
], r.prototype, "results", 1);
|
|
335
335
|
o([
|
|
336
336
|
a({ readOnly: !0 })
|
|
337
|
-
],
|
|
337
|
+
], r.prototype, "selectButtonAvailable", 1);
|
|
338
338
|
o([
|
|
339
339
|
a({ readOnly: !0 })
|
|
340
|
-
],
|
|
340
|
+
], r.prototype, "state", 1);
|
|
341
341
|
o([
|
|
342
342
|
a()
|
|
343
|
-
],
|
|
343
|
+
], r.prototype, "uniformChartScaling", 2);
|
|
344
344
|
o([
|
|
345
345
|
a()
|
|
346
|
-
],
|
|
346
|
+
], r.prototype, "distanceUnit", 1);
|
|
347
347
|
o([
|
|
348
348
|
a()
|
|
349
|
-
],
|
|
349
|
+
], r.prototype, "distanceUnitOptions", 1);
|
|
350
350
|
o([
|
|
351
351
|
a()
|
|
352
|
-
],
|
|
352
|
+
], r.prototype, "elevationUnit", 1);
|
|
353
353
|
o([
|
|
354
354
|
a()
|
|
355
|
-
],
|
|
355
|
+
], r.prototype, "elevationUnitOptions", 1);
|
|
356
356
|
o([
|
|
357
357
|
a({ readOnly: !0 })
|
|
358
|
-
],
|
|
358
|
+
], r.prototype, "canResetDistanceUnit", 1);
|
|
359
359
|
o([
|
|
360
360
|
a({ readOnly: !0 })
|
|
361
|
-
],
|
|
362
|
-
|
|
361
|
+
], r.prototype, "canResetElevationUnit", 1);
|
|
362
|
+
r = o([
|
|
363
363
|
z("components.elevation-profile.ElevationProfileViewModel")
|
|
364
|
-
],
|
|
364
|
+
], r);
|
|
365
365
|
function b(t) {
|
|
366
366
|
const e = t?.filter((i) => w.includes(i));
|
|
367
367
|
return e && e.length > 0 ? e : w.slice();
|
|
368
368
|
}
|
|
369
|
-
const K = E(
|
|
369
|
+
const K = E(r);
|
|
370
370
|
class Q extends B {
|
|
371
371
|
constructor() {
|
|
372
|
-
super(...arguments), this.viewModel = K(this), this.
|
|
372
|
+
super(...arguments), this.viewModel = K(this), this._chartInitializationTask = M(void 0), this._messages = $(), this._hideZoomOutButton = !0, this._hasSettingsStartContent = !1, this._hasSettingsEndContent = !1, this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.effectiveDisplayUnits = this.viewModel.effectiveDisplayUnits, this.feature = this.viewModel.feature, this.hideChart = !1, this.hideChartGridLines = !1, this.hideChartAxisLabels = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideResetUnitsButton = !1, this.hideStartButton = !1, this.hideUniformChartScalingToggle = !1, this.hideDistanceDisplayUnitSelect = !1, this.hideElevationDisplayUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.highlightDisabled = this.viewModel.highlightDisabled, this.icon = "altitude", this.indicatorRelativePosition = this.viewModel.indicatorRelativePosition, this.interactionDisabled = this.viewModel.interactionDisabled, this.geometry = this.viewModel.geometry, this.elevationInfo = this.viewModel.elevationInfo, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.distanceUnit = this.viewModel.distanceUnit, this.distanceUnitOptions = this.viewModel.distanceUnitOptions, this.elevationUnit = this.viewModel.elevationUnit, this.elevationUnitOptions = this.viewModel.elevationUnitOptions, this.arcgisPropertyChange = D()("analysis", "effectiveDisplayUnits", "elevationInfo", "feature", "geometry", "indicatorRelativePosition", "interactionDisabled", "progress", "state"), this.arcgisReady = O();
|
|
373
373
|
}
|
|
374
374
|
static {
|
|
375
|
-
this.properties = { _hideZoomOutButton: 16, _chartContainer: 16, _hasSettingsStartContent: 16, _hasSettingsEndContent: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, feature: 0, hideChart: 5, hideChartGridLines: 5, hideChartAxisLabels: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideResetUnitsButton: 5, hideStartButton: 5, hideUniformChartScalingToggle: 5, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideVisualization: 5, highlightDisabled: 5, icon: 3, indicatorRelativePosition: 40, interactionDisabled: 5, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, referenceElement: 1, profiles: 0, progress: 40, state: 32, uniformChartScaling: 5, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
|
|
375
|
+
this.properties = { _messages: 16, _hideZoomOutButton: 16, _chartContainer: 16, _hasSettingsStartContent: 16, _hasSettingsEndContent: 16, analysis: 0, view: 0, autoDestroyDisabled: 5, effectiveDisplayUnits: 32, feature: 0, hideChart: 5, hideChartGridLines: 5, hideChartAxisLabels: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideResetUnitsButton: 5, hideStartButton: 5, hideUniformChartScalingToggle: 5, hideDistanceDisplayUnitSelect: 5, hideElevationDisplayUnitSelect: 5, hideVisualization: 5, highlightDisabled: 5, icon: 3, indicatorRelativePosition: 40, interactionDisabled: 5, geometry: 0, elevationInfo: 0, label: 1, messageOverrides: 0, referenceElement: 1, profiles: 0, progress: 40, state: 32, uniformChartScaling: 5, distanceUnit: 1, distanceUnitOptions: 0, elevationUnit: 1, elevationUnitOptions: 0 };
|
|
376
376
|
}
|
|
377
377
|
static {
|
|
378
378
|
this.styles = I;
|
|
@@ -400,32 +400,36 @@ class Q extends B {
|
|
|
400
400
|
}
|
|
401
401
|
load() {
|
|
402
402
|
this.manager.onLifecycle(() => [
|
|
403
|
-
|
|
404
|
-
this.
|
|
403
|
+
p(() => ({
|
|
404
|
+
container: this._chartContainer,
|
|
405
|
+
messages: this._messages
|
|
406
|
+
}), ({ container: e, messages: i }) => {
|
|
407
|
+
this._destroyChart(), !(!e || i._loading) && (this._chartInitializationTask.value = x(async (s) => await k({
|
|
405
408
|
view: this.viewModel.view,
|
|
406
409
|
analysisView: this.viewModel.analysisView,
|
|
407
410
|
container: e,
|
|
408
|
-
messages:
|
|
409
|
-
signal:
|
|
411
|
+
messages: i,
|
|
412
|
+
signal: s,
|
|
410
413
|
uniformScaling: this.viewModel.uniformChartScaling,
|
|
411
|
-
onRangeChange: (
|
|
412
|
-
this._hideZoomOutButton =
|
|
414
|
+
onRangeChange: (n, l) => {
|
|
415
|
+
this._hideZoomOutButton = n === 1 && l === 1;
|
|
413
416
|
},
|
|
414
|
-
onCursorPositionChange: (
|
|
415
|
-
const { analysisView:
|
|
416
|
-
|
|
417
|
+
onCursorPositionChange: (n, l) => {
|
|
418
|
+
const { analysisView: c } = this.viewModel;
|
|
419
|
+
c && (c.indicatorRelativePosition = n);
|
|
417
420
|
}
|
|
418
421
|
})));
|
|
419
422
|
}, { sync: !0, initial: !0 }),
|
|
420
|
-
|
|
423
|
+
p(() => ({
|
|
421
424
|
chart: this._chart,
|
|
425
|
+
messages: this._messages,
|
|
422
426
|
view: this.viewModel.view,
|
|
423
427
|
analysisView: this.viewModel.analysisView,
|
|
424
428
|
uniformScaling: this.viewModel.uniformChartScaling,
|
|
425
429
|
hideGridLines: this.hideChartGridLines,
|
|
426
430
|
hideLabels: this.hideChartAxisLabels
|
|
427
|
-
}), ({ chart: e,
|
|
428
|
-
e && (e.
|
|
431
|
+
}), ({ chart: e, messages: i, view: s, analysisView: n, uniformScaling: l }) => {
|
|
432
|
+
e && (e.messages = i, e.view = s, e.analysisView = n, e.uniformScaling = l, e.hideGridLines = this.hideChartGridLines, e.hideAxisLabels = this.hideChartAxisLabels);
|
|
429
433
|
}, { sync: !0, initial: !0 }),
|
|
430
434
|
// Make sure to destroy the chart when the component is disconnected.
|
|
431
435
|
{ remove: () => this._destroyChart() }
|
|
@@ -455,7 +459,7 @@ class Q extends B {
|
|
|
455
459
|
this._chartContainer = e;
|
|
456
460
|
}
|
|
457
461
|
render() {
|
|
458
|
-
return
|
|
462
|
+
return d`<div aria-label=${this._messages.componentLabel ?? u} class=${m({
|
|
459
463
|
root: !0,
|
|
460
464
|
[f.widget]: !0,
|
|
461
465
|
[f.widgetDisabled]: this.viewModel.state === "disabled",
|
|
@@ -479,9 +483,9 @@ class Q extends B {
|
|
|
479
483
|
}
|
|
480
484
|
}
|
|
481
485
|
_renderContentForReadyState() {
|
|
482
|
-
const { _messages: e, hideSelectButton: i, hideStartButton:
|
|
483
|
-
let
|
|
484
|
-
return !
|
|
486
|
+
const { _messages: e, hideSelectButton: i, hideStartButton: s } = this, { selectButtonAvailable: n } = this.viewModel, l = !i && n;
|
|
487
|
+
let c;
|
|
488
|
+
return !s && l ? c = e.readyPrompt : s ? l ? c = e.readyPromptSelectOnly : c = e.errors?.noProfile : c = e.readyPromptCreateOnly, this._renderContent({ prompt: c, chart: !1, actions: g });
|
|
485
489
|
}
|
|
486
490
|
_renderContentForSelectingState() {
|
|
487
491
|
const { view: e } = this.viewModel;
|
|
@@ -498,65 +502,65 @@ class Q extends B {
|
|
|
498
502
|
const { viewModel: e } = this, { view: i } = e;
|
|
499
503
|
if (!i)
|
|
500
504
|
return;
|
|
501
|
-
const
|
|
505
|
+
const s = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.doneButtonAvailable }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
|
|
502
506
|
if (e.errorState === "no-valid-input") {
|
|
503
507
|
const l = this._messages[`creatingPrompt-${i.type}`];
|
|
504
508
|
return this._renderContent({
|
|
505
509
|
chart: !1,
|
|
506
|
-
actions:
|
|
510
|
+
actions: s,
|
|
507
511
|
prompt: l
|
|
508
512
|
});
|
|
509
513
|
}
|
|
510
514
|
const n = this._getErrorMessage();
|
|
511
|
-
return n ? this._renderContent({ chart: !1, actions:
|
|
515
|
+
return n ? this._renderContent({ chart: !1, actions: s, prompt: n }) : this._renderContent({ chart: !0, actions: s });
|
|
512
516
|
}
|
|
513
517
|
_renderContentForSelectedState() {
|
|
514
518
|
const e = this._getErrorMessage();
|
|
515
|
-
return e ? this._renderContent({ chart: !1, actions:
|
|
519
|
+
return e ? this._renderContent({ chart: !1, actions: g, prompt: e }) : this._renderContent({ chart: !0, actions: g });
|
|
516
520
|
}
|
|
517
521
|
_renderContentForCreatedState() {
|
|
518
522
|
const e = this._getErrorMessage();
|
|
519
|
-
return e ? this._renderContent({ chart: !1, actions:
|
|
523
|
+
return e ? this._renderContent({ chart: !1, actions: g, prompt: e }) : this._renderContent({ chart: !0, actions: g });
|
|
520
524
|
}
|
|
521
525
|
_renderContent(e) {
|
|
522
|
-
const { viewModel: i } = this,
|
|
523
|
-
return
|
|
526
|
+
const { viewModel: i } = this, s = i.geometry != null;
|
|
527
|
+
return d`<header class="header">${h({ hidden: this._hideZoomOutButton, children: this._renderZoomOutButton() })}${h({ hidden: this.hideClearButton || !s, children: this._renderClearButton() })}${h({ hidden: this.hideSettingsButton, children: this._renderSettingsButton() })}</header><div class="main-container">${e.prompt != null ? this._renderPrompt(e.prompt) : e.chart ? this._renderChart() : void 0}</div>${h({ hidden: this.hideLegend, children: this._renderLegend() })}${this._renderActions(e)}`;
|
|
524
528
|
}
|
|
525
529
|
_renderPrompt(e) {
|
|
526
530
|
return [
|
|
527
|
-
|
|
531
|
+
d`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
|
|
528
532
|
];
|
|
529
533
|
}
|
|
530
534
|
_renderZoomOutButton() {
|
|
531
535
|
const e = this._messages.zoomOut ?? "";
|
|
532
|
-
return
|
|
536
|
+
return d`<calcite-action icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} .text=${e} title=${e ?? u}></calcite-action>`;
|
|
533
537
|
}
|
|
534
538
|
_renderChart() {
|
|
535
539
|
if (this.hideChart)
|
|
536
540
|
return;
|
|
537
541
|
const e = this._chart;
|
|
538
|
-
return
|
|
542
|
+
return d`${this._renderSpinner({
|
|
539
543
|
size: e?.chartVisible ? "small" : "large",
|
|
540
544
|
visible: e?.spinnerVisible ?? !1
|
|
541
545
|
})}<div class="chart-container" ${U(this._onChartContainerRef)}></div>`;
|
|
542
546
|
}
|
|
543
547
|
_renderSpinner(e) {
|
|
544
|
-
const i = e.size === "small",
|
|
545
|
-
return
|
|
548
|
+
const i = e.size === "small", s = e.visible ?? !0;
|
|
549
|
+
return d`<calcite-loader class=${m({
|
|
546
550
|
spinner: !0,
|
|
547
551
|
small: i,
|
|
548
|
-
visible:
|
|
552
|
+
visible: s
|
|
549
553
|
})} .inline=${i} label></calcite-loader>`;
|
|
550
554
|
}
|
|
551
555
|
_renderClearButton() {
|
|
552
556
|
const e = this._messages.clearProfile ?? "";
|
|
553
|
-
return
|
|
557
|
+
return d`<calcite-action icon=trash @click=${this._onClearButtonClick} .text=${e} title=${e ?? u}></calcite-action>`;
|
|
554
558
|
}
|
|
555
559
|
_renderLegend() {
|
|
556
|
-
return
|
|
560
|
+
return d`<arcgis-elevation-profile-legend .effectiveDisplayUnits=${this.viewModel.effectiveDisplayUnits} .featureSelected=${this.viewModel.featureIsSelected} .messages=${this._messages} .profiles=${this.profiles} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
557
561
|
}
|
|
558
562
|
_renderSettingsButton() {
|
|
559
|
-
return
|
|
563
|
+
return d`<arcgis-elevation-profile-settings .hasCustomStartContent=${this._hasSettingsStartContent} .hasCustomEndContent=${this._hasSettingsEndContent} .viewModel=${this.viewModel} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideDistanceDisplayUnitSelect=${this.hideDistanceDisplayUnitSelect} .hideElevationDisplayUnitSelect=${this.hideElevationDisplayUnitSelect} .hideResetUnitsButton=${this.hideResetUnitsButton} .messages=${this._messages} .messageOverrides=${this.messageOverrides} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.distanceUnitOptions} .unitOptionsElevation=${this.viewModel.elevationUnitOptions} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
560
564
|
this.viewModel.uniformChartScaling = e.detail;
|
|
561
565
|
}}><slot name=settings-start slot=settings-start @slotchange=${(e) => {
|
|
562
566
|
this._hasSettingsStartContent = _(e);
|
|
@@ -565,7 +569,7 @@ class Q extends B {
|
|
|
565
569
|
}}></slot></arcgis-elevation-profile-settings>`;
|
|
566
570
|
}
|
|
567
571
|
_renderActions({ actions: e }) {
|
|
568
|
-
const i = this._messages,
|
|
572
|
+
const i = this._messages, s = e.map((n) => {
|
|
569
573
|
switch (n.type) {
|
|
570
574
|
case "sketch":
|
|
571
575
|
return h({ hidden: this.hideStartButton, children: this._renderAction({
|
|
@@ -610,16 +614,16 @@ class Q extends B {
|
|
|
610
614
|
return;
|
|
611
615
|
}
|
|
612
616
|
}).filter(Boolean);
|
|
613
|
-
return
|
|
617
|
+
return s.length ? d`<footer class="actions">${s}</footer>` : void 0;
|
|
614
618
|
}
|
|
615
|
-
_renderAction({ action: e, label: i, onClick:
|
|
616
|
-
return
|
|
619
|
+
_renderAction({ action: e, label: i, onClick: s, primary: n }) {
|
|
620
|
+
return d`<calcite-button .appearance=${n ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || this.interactionDisabled && (e.type === "sketch" || e.type === "select")} @click=${s}>${i}</calcite-button>`;
|
|
617
621
|
}
|
|
618
622
|
}
|
|
619
623
|
function h(t) {
|
|
620
624
|
return t.hidden ? void 0 : t.children;
|
|
621
625
|
}
|
|
622
|
-
const
|
|
626
|
+
const g = [{ type: "select" }, { type: "sketch" }], W = {
|
|
623
627
|
none: void 0,
|
|
624
628
|
"no-valid-input": "noProfile",
|
|
625
629
|
"no-available-profiles": "noProfile",
|
|
@@ -163,7 +163,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
163
163
|
accessor featureNavigationTop: boolean;
|
|
164
164
|
/**
|
|
165
165
|
* An array of graphics associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
166
|
-
*
|
|
166
|
+
*
|
|
167
167
|
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
|
|
168
168
|
*
|
|
169
169
|
* This value is `null` if no features are associated with the component.
|
|
@@ -162,7 +162,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
162
162
|
accessor featureNavigationTop: boolean;
|
|
163
163
|
/**
|
|
164
164
|
* An array of graphics associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
165
|
-
*
|
|
165
|
+
*
|
|
166
166
|
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature).
|
|
167
167
|
*
|
|
168
168
|
* This value is `null` if no features are associated with the component.
|
|
@@ -394,7 +394,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
394
394
|
accessor includeDefaultActionsDisabled: boolean;
|
|
395
395
|
/**
|
|
396
396
|
* Indicates whether to initially display a list of features, or the content for one feature.
|
|
397
|
-
* By default, a list is displayed when the associated view has `
|
|
397
|
+
* By default, a list is displayed when the associated view has `focusRegionVisible` enabled; otherwise, the content for one feature is displayed.
|
|
398
398
|
*/
|
|
399
399
|
accessor initialDisplayMode: InitialDisplayOptions;
|
|
400
400
|
/** The component's default label. */
|
|
@@ -361,7 +361,7 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
361
361
|
*
|
|
362
362
|
* // Wait for the layer to load and the item title to become available
|
|
363
363
|
* await item.layer.when();
|
|
364
|
-
*
|
|
364
|
+
*
|
|
365
365
|
* // If the item's title matches "US Demographics", customize the list item
|
|
366
366
|
* if (item.title === "US Demographics") {
|
|
367
367
|
* // open the list item in the LayerList component
|
|
@@ -11,7 +11,7 @@ import { V as c } from "../../chunks/visible-element.js";
|
|
|
11
11
|
import { A as y } from "../../chunks/AnalysisViewModel.js";
|
|
12
12
|
import k from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
13
13
|
import { property as z, subclass as M } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
14
|
-
const C = v`: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-view-corner-radius: var(--arcgis-view-corner-radius, 0px);--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}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-hidden{display:none!important}:host{min-width:300px}.container{display:flex;position:relative;flex-flow:column;gap:var(--arcgis-internal-panel-gap);overflow-y:auto}.error{color:var(--calcite-color-status-danger)}.hint{display:flex;flex-direction:column;gap:var(--arcgis-internal-panel-gap)}.error,.hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.actions{display:flex;flex-flow:column;gap:var(--arcgis-internal-panel-actions-gap);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`;
|
|
14
|
+
const C = v`: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}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-hidden{display:none!important}:host{min-width:300px}.container{display:flex;position:relative;flex-flow:column;gap:var(--arcgis-internal-panel-gap);overflow-y:auto}.error{color:var(--calcite-color-status-danger)}.hint{display:flex;flex-direction:column;gap:var(--arcgis-internal-panel-gap)}.error,.hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.actions{display:flex;flex-flow:column;gap:var(--arcgis-internal-panel-actions-gap);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`;
|
|
15
15
|
var D = Object.defineProperty, V = Object.getOwnPropertyDescriptor, u = (t, e, r, a) => {
|
|
16
16
|
for (var i = a > 1 ? void 0 : a ? V(e, r) : e, s = t.length - 1, l; s >= 0; s--)
|
|
17
17
|
(l = t[s]) && (i = (a ? l(e, r, i) : l(i)) || i);
|