@arcgis/map-components 5.2.0-next.104 → 5.2.0-next.106
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/27IFADBQ.js +2 -0
- package/dist/cdn/2W7OTZWE.js +2 -0
- package/dist/cdn/{CB564G7T.js → 3Q5ZNKFA.js} +1 -1
- package/dist/cdn/54ST7ZFM.js +2 -0
- package/dist/cdn/5IWPAMQX.js +2 -0
- package/dist/cdn/{PXSNOIDS.js → 5VFOV7OL.js} +1 -1
- package/dist/cdn/{L4DWZT4V.js → 6CXH46LW.js} +1 -1
- package/dist/cdn/6FNDBTL7.js +2 -0
- package/dist/cdn/BTDEIRWG.js +2 -0
- package/dist/cdn/CIVENBYG.js +2 -0
- package/dist/cdn/{WLGR4IHZ.js → GTGJEBPK.js} +1 -1
- package/dist/cdn/{KGFMFLEB.js → HUPYGWUJ.js} +1 -1
- package/dist/cdn/IJWUCK2O.js +2 -0
- package/dist/cdn/J7ZMGZ6U.js +2 -0
- package/dist/cdn/{SHMHGYVB.js → KDM7EERW.js} +1 -1
- package/dist/cdn/{RC2T53I5.js → KXGRFYAN.js} +1 -1
- package/dist/cdn/{5FWT3N7B.js → N4ECCRHC.js} +1 -1
- package/dist/cdn/{EHMCN2NS.js → NG4IEHMS.js} +1 -1
- package/dist/cdn/P5JRSGJG.js +2 -0
- package/dist/cdn/{CKO4VE36.js → Q4VMXDGI.js} +1 -1
- package/dist/cdn/{72HH6FSN.js → RFAICLUF.js} +1 -1
- package/dist/cdn/{BNZQH6YD.js → T7L5Q45E.js} +1 -1
- package/dist/cdn/WJKXUGQQ.js +2 -0
- package/dist/cdn/{6SEM26SM.js → XYIEHNTE.js} +1 -1
- package/dist/cdn/{R2WAEZ4G.js → Y4XJQ6Z7.js} +1 -1
- package/dist/cdn/{BR6D5EO4.js → Y6UJT3A4.js} +1 -1
- package/dist/cdn/{EYHS3JDR.js → YBXUZO5Y.js} +1 -1
- package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/messages.en.js +46 -0
- package/dist/chunks/utils2.js +36 -28
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +25 -25
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +2 -0
- package/dist/components/arcgis-features-next/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +27 -0
- package/dist/components/arcgis-layer-list-next/customElement.js +22 -22
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +44 -44
- package/dist/components/arcgis-layer-list-next/types.d.ts +9 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +5 -5
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-bar/customElement.d.ts +47 -16
- package/dist/components/arcgis-time-bar/customElement.js +50 -47
- package/dist/components/arcgis-time-bar/index.js +1 -1
- package/dist/components/arcgis-time-bar/types.d.ts +3 -1
- package/dist/components/arcgis-time-bar-settings/customElement.js +35 -73
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +87 -13
- package/dist/components/arcgis-time-bar-slider/customElement.js +31 -20
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +101 -161
- package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +1 -1
- package/dist/components/{arcgis-utility-network-trace-location-next → arcgis-utility-network-trace-locations}/customElement.d.ts +47 -26
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +397 -0
- package/dist/components/{arcgis-utility-network-trace-location-list-next → arcgis-utility-network-trace-locations}/index.js +2 -0
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/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/index.d.ts +7 -11
- package/dist/loader.js +4 -5
- package/dist/types/lumina.d.ts +8 -13
- package/dist/types/preact.d.ts +9 -15
- package/dist/types/react.d.ts +10 -17
- package/dist/types/stencil.d.ts +8 -13
- package/package.json +5 -5
- package/dist/cdn/5LGT6I7Y.js +0 -2
- package/dist/cdn/CDWU62VR.js +0 -2
- package/dist/cdn/EBPGSTIL.js +0 -2
- package/dist/cdn/GH2RPE3P.js +0 -2
- package/dist/cdn/JHWTX3YJ.js +0 -2
- package/dist/cdn/NRT2ZCWC.js +0 -2
- package/dist/cdn/R5GMCIAH.js +0 -2
- package/dist/cdn/VZXCU47M.js +0 -2
- package/dist/cdn/WNZ2XRBD.js +0 -2
- package/dist/cdn/YELCBIGX.js +0 -2
- package/dist/cdn/assets/utility-network-trace-location-list-next/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-trace-location-next/t9n/messages.en.json +0 -1
- package/dist/components/arcgis-utility-network-trace-location-list-next/customElement.d.ts +0 -43
- package/dist/components/arcgis-utility-network-trace-location-list-next/customElement.js +0 -70
- package/dist/components/arcgis-utility-network-trace-location-next/customElement.js +0 -292
- package/dist/components/arcgis-utility-network-trace-location-next/index.d.ts +0 -1
- package/dist/components/arcgis-utility-network-trace-location-next/index.js +0 -4
- /package/dist/components/{arcgis-utility-network-trace-location-list-next → arcgis-utility-network-trace-locations}/index.d.ts +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
const t = "Time Bar", e = "Count", o = "Please enter count", n = "Date", s = "Display", i = "Choose how to display date and time.";
|
|
3
|
+
const a = "Choose the time bar's end time.", c = "Every {count} {timeUnit}", r = "Every {duration}", m = { dateAndTime: "Date and time", dateOnly: "Date only" }, d = "Loop", p = "Mode", l = "Choose the time extent type shown by the time bar.", u = { "cumulative-from-end": "Cumulative from end", "cumulative-from-start": "Cumulative from start", instant: "Instant", "time-window": "Time window" }, h = "Next", y = "No adjustment", v = "Overview", D = "Play", b = "Playback rate", T = "The speed at which the time bar progresses.", w = "Previous", g = "Regular interval", C = "Settings", f = "Start", P = "Choose the time bar's start time.", S = "Stop", x = { discreteDates: "Discrete dates", evenlySpaced: "Evenly spaced", evenlySpacedTemplate: "{count} evenly spaced", freeMovement: "Free movement" }, M = "Stops", O = "Choose how the stops are generated for the time bar.", k = "Time", E = "Time bar settings", U = "Time extent", R = { day: "Day", hour: "Hour", millisecond: "Millisecond", minute: "Minute", month: "Month", second: "Second", week: "Week", year: "Year" }, Z = "Time zone", j = "Choose the time zone used to display the date and time in the time bar.", z = "Unit", A = "Please select unit", B = "Units", I = {
|
|
4
|
+
componentLabel: t,
|
|
5
|
+
count: e,
|
|
6
|
+
countPrompt: o,
|
|
7
|
+
date: n,
|
|
8
|
+
display: s,
|
|
9
|
+
displayDescription: i,
|
|
10
|
+
end: "End",
|
|
11
|
+
endDescription: a,
|
|
12
|
+
everyDurationPartsTemplate: c,
|
|
13
|
+
everyDurationTemplate: r,
|
|
14
|
+
formatOptions: m,
|
|
15
|
+
loop: d,
|
|
16
|
+
mode: p,
|
|
17
|
+
modeDescription: l,
|
|
18
|
+
modeOptions: u,
|
|
19
|
+
next: h,
|
|
20
|
+
noTimeZoneAdjustment: y,
|
|
21
|
+
overview: v,
|
|
22
|
+
play: D,
|
|
23
|
+
playbackRate: b,
|
|
24
|
+
playbackRateDescription: T,
|
|
25
|
+
previous: w,
|
|
26
|
+
regularInterval: g,
|
|
27
|
+
settings: C,
|
|
28
|
+
start: f,
|
|
29
|
+
startDescription: P,
|
|
30
|
+
stop: S,
|
|
31
|
+
stopOptions: x,
|
|
32
|
+
stops: M,
|
|
33
|
+
stopsDescription: O,
|
|
34
|
+
time: k,
|
|
35
|
+
timeBarSettings: E,
|
|
36
|
+
timeExtent: U,
|
|
37
|
+
timeUnitOptions: R,
|
|
38
|
+
timeZone: Z,
|
|
39
|
+
timeZoneDescription: j,
|
|
40
|
+
unit: z,
|
|
41
|
+
unitPrompt: A,
|
|
42
|
+
units: B
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
I as d
|
|
46
|
+
};
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,72 +1,80 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { html as c } from "lit";
|
|
3
|
-
import { safeClassMap as
|
|
4
|
-
import { classes as
|
|
5
|
-
import { g as
|
|
3
|
+
import { safeClassMap as p, safeStyleMap as m, nothing as s } from "@arcgis/lumina";
|
|
4
|
+
import { classes as y } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { g as v, a as $ } from "./action-utils.js";
|
|
6
6
|
import { s as b } from "./component-utils.js";
|
|
7
7
|
function A(e) {
|
|
8
8
|
return e && "visibilityMode" in e ? e.visibilityMode : null;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function x(e, t) {
|
|
11
11
|
if (!("visible" in e))
|
|
12
12
|
return;
|
|
13
13
|
A(t) === "exclusive" && e.visible || (e.visible = !e.visible);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function P(e, t) {
|
|
16
16
|
"panel" in e && (e.panel.open = !e.panel.open, e.panel.open && t && t());
|
|
17
17
|
}
|
|
18
18
|
function I(e) {
|
|
19
19
|
return Array.isArray(e) ? e.filter((t) => t !== "legend") : e === "legend" ? null : e;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function T(e) {
|
|
22
22
|
const t = I(e.panel?.content);
|
|
23
23
|
return Array.isArray(t) ? t.length > 0 : !!t;
|
|
24
24
|
}
|
|
25
|
+
function h(e) {
|
|
26
|
+
return !!e && "content" in e && e.content.type === "track-info";
|
|
27
|
+
}
|
|
25
28
|
function D(e) {
|
|
26
|
-
return !!e && "
|
|
29
|
+
return !!e && "content" in e && e.content.type === "telemetry-display";
|
|
30
|
+
}
|
|
31
|
+
function V(e) {
|
|
32
|
+
return h(e) || D(e);
|
|
27
33
|
}
|
|
28
|
-
function
|
|
34
|
+
function q(e, t, i, n) {
|
|
29
35
|
e && i === t.layer?.uid && (b(e), n?.(null));
|
|
30
36
|
}
|
|
31
|
-
function
|
|
37
|
+
function M(e, t, i) {
|
|
32
38
|
i.type === "toggle" && (i.value = !i.value), e(i, t);
|
|
33
39
|
}
|
|
34
|
-
function
|
|
40
|
+
function w(e) {
|
|
35
41
|
return e.actionsSections.map((t) => t.filter((i) => i.visible));
|
|
36
42
|
}
|
|
37
|
-
function
|
|
43
|
+
function R(e, t, i) {
|
|
38
44
|
return e.updateComplete.then(() => {
|
|
39
45
|
const n = () => {
|
|
40
46
|
const r = Array.from(e.el.shadowRoot?.querySelectorAll(`calcite-list-item[data-item="${t}"]`) ?? []);
|
|
41
47
|
if (r.length < 2)
|
|
42
48
|
return;
|
|
43
|
-
const
|
|
44
|
-
|
|
49
|
+
const l = r.find(i);
|
|
50
|
+
l && r.filter((o) => o !== l).forEach((o) => o.remove());
|
|
45
51
|
};
|
|
46
52
|
return n(), e.updateComplete.then(n);
|
|
47
53
|
});
|
|
48
54
|
}
|
|
49
|
-
function
|
|
55
|
+
function S(e, t) {
|
|
50
56
|
const { icon: i } = t;
|
|
51
57
|
if (i)
|
|
52
58
|
return null;
|
|
53
59
|
const n = "image" in t ? t.image : void 0;
|
|
54
|
-
return n ? c`<span aria-hidden=true class=${
|
|
60
|
+
return n ? c`<span aria-hidden=true class=${p(y(e.itemActionIcon, { [e.itemActionImage]: !!n }))} style=${m(v(n))}></span>` : null;
|
|
55
61
|
}
|
|
56
|
-
function
|
|
57
|
-
const { item: n, css: r, handleAction:
|
|
58
|
-
return c`<calcite-action .active=${f === "toggle" ? t.value : !1} data-action-id=${t.id ??
|
|
62
|
+
function j(e, t, i) {
|
|
63
|
+
const { item: n, css: r, handleAction: l } = e, { active: o, disabled: u, title: a, type: f, indicator: d } = t, g = $(t);
|
|
64
|
+
return c`<calcite-action .active=${f === "toggle" ? t.value : !1} data-action-id=${t.id ?? s} .disabled=${u} .icon=${g ?? void 0} .indicator=${d} .loading=${o} @click=${() => M(l, n, t)} scale=s slot=${(i ? void 0 : "actions-end") ?? s} .text=${a ?? ""} .textEnabled=${i} title=${a ?? void 0 ?? s}>${S(r, t)}</calcite-action>`;
|
|
59
65
|
}
|
|
60
66
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
S as F,
|
|
68
|
+
j as L,
|
|
69
|
+
h as a,
|
|
70
|
+
D as b,
|
|
71
|
+
P as c,
|
|
72
|
+
w as d,
|
|
73
|
+
I as e,
|
|
74
|
+
q as f,
|
|
67
75
|
A as g,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
T as h,
|
|
77
|
+
V as i,
|
|
78
|
+
R as r,
|
|
79
|
+
x as t
|
|
72
80
|
};
|
|
@@ -28,15 +28,15 @@ const p = {
|
|
|
28
28
|
section: "section",
|
|
29
29
|
editing: "editing",
|
|
30
30
|
editingForm: "editing-form"
|
|
31
|
-
},
|
|
31
|
+
}, re = x`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`, C = "nested", le = ".*\\S+.*", E = "data-basemap-layer-type", oe = K(N);
|
|
32
32
|
class ne extends G {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments), this._baseListRef = m(), this._referenceListRef = m(), this._editTitleInputRef = m(), this._layerFlowItemRef = m(), this._panelFlowItemRef = m(), this._rootFlowItemRef = m(), this._editingFlowItemRef = m(), this._lastDragDetail = null, this._selectedDragItemLayerUid = null, this._rootGroupUid = `basemap-${j()}`, this._openedLayersController = null, this._focusRootFlowItem = !1, this._focusPanelFlowItem = !1, this._focusLayerFlowItem = null, this._focusEditingFlowItem = !1, this.messages = J(), this.viewModel = oe(this), this.arcgisClose = z(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: s }, i) => {
|
|
35
|
-
const a = i === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction,
|
|
36
|
-
if (!
|
|
35
|
+
const a = i === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, l = h(e, this._allItems);
|
|
36
|
+
if (!l?.sortable)
|
|
37
37
|
return !1;
|
|
38
|
-
const
|
|
39
|
-
return A && P && typeof a == "function" ? a(R) : _ && !w.has(B) && !w.has(D) &&
|
|
38
|
+
const r = h(t, this._allItems), o = F(t), c = h(s, this._allItems), g = F(s), _ = !!o && !!g && o === g, R = { selected: l, from: r, to: c }, A = t.group, P = s.group, B = r?.layer?.type ?? "", D = c?.layer?.type ?? "", w = /* @__PURE__ */ new Set(["map-image", "catalog", "knowledge-graph"]);
|
|
39
|
+
return A && P && typeof a == "function" ? a(R) : _ && !w.has(B) && !w.has(D) && l.layer?.type !== "sublayer";
|
|
40
40
|
}, this._onTriggerAction = (e, t) => {
|
|
41
41
|
this.triggerAction(e, t);
|
|
42
42
|
}, this._onTooltipReferenceChange = (e, t) => {
|
|
@@ -71,7 +71,7 @@ class ne extends G {
|
|
|
71
71
|
this.properties = { _activeItem: 16, _catalogLayerList: 16, _tableList: 16, _tooltipReferenceMap: 16, _layerListMap: 16, openedLayerLists: 16, _allItems: 16, _visibleBaseItems: 16, _visibleReferenceItems: 16, _openedPanelItems: 16, _totalBaseItems: 16, _totalReferenceItems: 16, _baseFilterEnabled: 16, _referenceFilterEnabled: 16, _renderedOpenLayerFlowItems: 16, autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItemCreatedFunction: 0, baseItems: 32, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, closed: 5, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideCatalogLayerList: 5, hideHeading: 5, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, knowledgeGraphOptions: 0, label: 1, layerTablesEnabled: 0, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listModeDisabled: 5, mapImageOptions: 0, messageOverrides: 0, minFilterItems: 9, openedLayers: 32, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 32, tableList: 32, tileOptions: 0, view: 0, visibilityAppearance: 1 };
|
|
72
72
|
}
|
|
73
73
|
static {
|
|
74
|
-
this.styles = [te,
|
|
74
|
+
this.styles = [te, re, se];
|
|
75
75
|
}
|
|
76
76
|
get _allItems() {
|
|
77
77
|
return this.referenceItems.concat(this.baseItems);
|
|
@@ -143,19 +143,19 @@ class ne extends G {
|
|
|
143
143
|
this._openedLayersController = i, e.forEach((o, c) => {
|
|
144
144
|
t.includes(c) || (o?.destroy?.(), e.delete(c));
|
|
145
145
|
});
|
|
146
|
-
const
|
|
146
|
+
const l = await Promise.all(t.map((o) => this._createFlowList(o, a)));
|
|
147
147
|
if (a.aborted)
|
|
148
148
|
return;
|
|
149
|
-
s.removeAll(), s.addMany(
|
|
150
|
-
const
|
|
151
|
-
|
|
149
|
+
s.removeAll(), s.addMany(l);
|
|
150
|
+
const r = s.at(-1);
|
|
151
|
+
r ? "catalogLayer" in r ? (this._catalogLayerList = r, this._tableList = void 0) : (this._catalogLayerList = void 0, this._tableList = r) : (this._catalogLayerList = void 0, this._tableList = void 0), this.arcgisOpenedLayersChange.emit();
|
|
152
152
|
}
|
|
153
153
|
_destroyOpenedLayerLists() {
|
|
154
154
|
this.openedLayerLists.destroyAll(), this.openedLayers.removeAll(), this._layerListMap.clear();
|
|
155
155
|
}
|
|
156
156
|
async _createCatalogLayerList(e) {
|
|
157
|
-
const { headingLevel: t, catalogOptions: s, filterPlaceholder: i, minFilterItems: a, selectionMode:
|
|
158
|
-
return $(n`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? a} .selectionMode=${s?.selectionMode ??
|
|
157
|
+
const { headingLevel: t, catalogOptions: s, filterPlaceholder: i, minFilterItems: a, selectionMode: l, visibilityAppearance: r, layerTablesEnabled: o } = this;
|
|
158
|
+
return $(n`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${s?.filterPlaceholder ?? i} .listItemCreatedFunction=${s?.listItemCreatedFunction} .minFilterItems=${s?.minFilterItems ?? a} .selectionMode=${s?.selectionMode ?? l} .visibilityAppearance=${s?.visibilityAppearance ?? r} .showErrors=${s?.showErrors ?? this.showErrors} .showFilter=${s?.showFilter ?? this.showFilter} .hideStatusIndicators=${s?.hideStatusIndicators ?? this.hideStatusIndicators} .showTemporaryLayerIndicators=${s?.showTemporaryLayerIndicators ?? this.showTemporaryLayerIndicators} @arcgisReady=${(c) => c.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${o} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`);
|
|
159
159
|
}
|
|
160
160
|
_getTableListParams(e) {
|
|
161
161
|
switch (e.type) {
|
|
@@ -177,11 +177,11 @@ class ne extends G {
|
|
|
177
177
|
e.open = !1, this._focusRootFlowItem = !0;
|
|
178
178
|
}
|
|
179
179
|
_moveLayerFromChildList({ toEl: e, fromEl: t, dragEl: s, newIndex: i }) {
|
|
180
|
-
const a = h(s, this._allItems),
|
|
180
|
+
const a = h(s, this._allItems), l = e.hasAttribute("data-item") ? h(e, this._allItems) : null, r = t.hasAttribute("data-item") ? h(t, this._allItems) : null, o = M(t), c = M(e);
|
|
181
181
|
i == null || !a || !o || !c || (this.viewModel.moveItem({
|
|
182
182
|
targetItem: a,
|
|
183
|
-
fromParentItem:
|
|
184
|
-
toParentItem:
|
|
183
|
+
fromParentItem: r,
|
|
184
|
+
toParentItem: l,
|
|
185
185
|
newIndex: i,
|
|
186
186
|
from: o,
|
|
187
187
|
to: c
|
|
@@ -196,8 +196,8 @@ class ne extends G {
|
|
|
196
196
|
a == null || !t || !i || t.insertBefore(i, t.children[a]);
|
|
197
197
|
}
|
|
198
198
|
_onCalciteListOrderChange(e) {
|
|
199
|
-
const { _lastDragDetail: t } = this, { toEl: s, fromEl: i, dragEl: a, newIndex:
|
|
200
|
-
if (!i || !s ||
|
|
199
|
+
const { _lastDragDetail: t } = this, { toEl: s, fromEl: i, dragEl: a, newIndex: l } = e, r = t?.newIndex === l && t?.dragEl === a && t?.toEl === s && t?.fromEl === i;
|
|
200
|
+
if (!i || !s || r)
|
|
201
201
|
return;
|
|
202
202
|
this._lastDragDetail = e, this._selectedDragItemLayerUid = a.value.layer?.uid ?? null;
|
|
203
203
|
const o = i, c = s;
|
|
@@ -206,7 +206,7 @@ class ne extends G {
|
|
|
206
206
|
this._sortLayers(o, g);
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
209
|
-
this._moveLayerFromChildList({ toEl: c, fromEl: o, dragEl: a, newIndex:
|
|
209
|
+
this._moveLayerFromChildList({ toEl: c, fromEl: o, dragEl: a, newIndex: l });
|
|
210
210
|
}
|
|
211
211
|
_sortLayers(e, t) {
|
|
212
212
|
if (e === this._referenceListRef.value || e === this._baseListRef.value) {
|
|
@@ -252,7 +252,7 @@ class ne extends G {
|
|
|
252
252
|
return this.hideNoItemsNotice ? null : n`<div class=${f(p.itemMessage)}>${d(t, n`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`;
|
|
253
253
|
}
|
|
254
254
|
_renderEditingInput() {
|
|
255
|
-
return n`<div class=${f(p.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${
|
|
255
|
+
return n`<div class=${f(p.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${le} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle ?? I} type=text .value=${this.viewModel.basemapTitle ?? void 0} ${u(this._editTitleInputRef)}></calcite-input></calcite-label></div>`;
|
|
256
256
|
}
|
|
257
257
|
_renderEditingForm() {
|
|
258
258
|
return this.editingTitle ? n`<form class=${f(p.editingForm)} @submit=${this._formSubmit}><calcite-flow-item .heading=${this.hideHeading ? void 0 : this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && !this._openedPanelItems.length} @calciteFlowItemBack=${(e) => {
|
|
@@ -276,8 +276,8 @@ class ne extends G {
|
|
|
276
276
|
_renderPanelFlowItems() {
|
|
277
277
|
return k(this._openedPanelItems.toArray(), (e) => e.uid, (e, t) => {
|
|
278
278
|
const { panel: s, title: i } = e, a = () => this._handlePanelFlowItemBack(s);
|
|
279
|
-
return this._focusPanelFlowItem = this._focusFlowItem(this._panelFlowItemRef.value, this._focusPanelFlowItem), n`<calcite-flow-item .description=${i} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(
|
|
280
|
-
|
|
279
|
+
return this._focusPanelFlowItem = this._focusFlowItem(this._panelFlowItemRef.value, this._focusPanelFlowItem), n`<calcite-flow-item .description=${i} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length && t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(l) => {
|
|
280
|
+
l.preventDefault(), a();
|
|
281
281
|
}} ${u(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -290,11 +290,11 @@ class ne extends G {
|
|
|
290
290
|
}} ${u(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`);
|
|
291
291
|
}
|
|
292
292
|
_renderList(e, t, s) {
|
|
293
|
-
const i = t === "reference" ? this._referenceFilterEnabled : this._baseFilterEnabled, a = t === "reference" ? this.referenceFilterText : this.baseFilterText,
|
|
294
|
-
return d(`block-${t}`, n`<calcite-block class=${f(p.section)}
|
|
295
|
-
const o =
|
|
293
|
+
const i = t === "reference" ? this._referenceFilterEnabled : this._baseFilterEnabled, a = t === "reference" ? this.referenceFilterText : this.baseFilterText, l = (t === "reference" ? this.messages.noReferenceLayers : this.messages.noBaseLayers) ?? this.messages.noItemsToDisplay ?? "";
|
|
294
|
+
return d(`block-${t}`, n`<calcite-block class=${f(p.section)} expandable expanded .heading=${t === "reference" ? this.messages.referenceHeading : this.messages.baseHeading} .headingLevel=${this.headingLevel + 1}>${e?.length ? null : this._renderNoLayersInfo(l, t)}${d(`list-${t}`, n`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${(r) => this._canMove(r, "pull")} .canPut=${(r) => this._canMove(r, "put")} data-basemap-layer-type=${t ?? I} data-layer-type=${this._rootGroupUid ?? I} .displayMode=${C} .dragEnabled=${this.dragEnabled} .filterEnabled=${i} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${Z} .filterText=${i ? a : ""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel ?? ""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${(r) => this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${(r) => {
|
|
295
|
+
const o = r.currentTarget?.filterText ?? "";
|
|
296
296
|
this[t === "reference" ? "referenceFilterText" : "baseFilterText"] = o, t === "base" ? this.arcgisBaseFilterChange.emit() : this.arcgisReferenceFilterChange.emit();
|
|
297
|
-
}} @calciteListOrderChange=${(
|
|
297
|
+
}} @calciteListOrderChange=${(r) => this._onCalciteListOrderChange(r.detail)} ${u(t === "reference" ? this._referenceListRef : this._baseListRef)}>${e?.toArray().map((r) => this._renderItem(r, s))}${i && !this.hideNoFilterResultsNotice ? n`<div class=${f(p.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(l)}</calcite-notice></div>` : null}</calcite-list>`)}</calcite-block>`);
|
|
298
298
|
}
|
|
299
299
|
_renderBaseSection() {
|
|
300
300
|
return this.hideBaseLayers ? null : this._renderList(this._visibleBaseItems, "base", this._visibleBaseItems.length === 1);
|
|
@@ -296,7 +296,7 @@ class B extends S {
|
|
|
296
296
|
}
|
|
297
297
|
renderCoordinateInputView() {
|
|
298
298
|
const { messages: e } = this, o = this.inputFormat ?? this.conversions.at(0)?.format, i = this.getId("coordinate-input"), t = this.renderConversionOptions(this.formats, o ?? void 0), r = n`<calcite-action .icon=${l.goTo} .label=${e.convertAndGoTo} @click=${() => this.processUserMouseInput(!0)} .scale=${this.visualScale} .text=${e.convertAndGoTo} title=${e.convertAndGoTo ?? c}></calcite-action>`;
|
|
299
|
-
return n`<calcite-block
|
|
299
|
+
return n`<calcite-block expandable data-testid=input-block .disabled=${this.disabled} .heading=${e.input} .headingLevel=${this.headingLevel} .scale=${this.visualScale}><div class="input-form-group"><calcite-label .scale=${this.visualScale}>${e.inputFormat}<calcite-select aria-controls=${i ?? c} class="input-select" .label=${e.inputFormat} @calciteSelectChange=${this.setInputFormat} .scale=${this.visualScale}>${t}</calcite-select></calcite-label><calcite-label .scale=${this.visualScale}>${e.inputCoordTitle}<div class="go-to-input-holder"><calcite-input class="coordinate-input" data-format=${o ?? c} data-testid=coordinate-input id=${i ?? c} @keydown=${this.processUserKeyboardInput} .placeholder=${e.inputCoordTitle} required .scale=${this.visualScale} .status=${this.invalidInput ? "invalid" : "idle"} ${p(this._coordinateInput)}></calcite-input>${r}</div></calcite-label><calcite-button appearance=outline data-testid=convert-button kind=neutral @click=${() => this.processUserMouseInput(!1)} type=button .scale=${this.visualScale} width=auto>${e.convert}</calcite-button></div></calcite-block>`;
|
|
300
300
|
}
|
|
301
301
|
renderElevation() {
|
|
302
302
|
const { messages: e } = this, o = this.displayedElevation ?? e.noElevation, i = this.renderElevationActions(), t = this.hideSettingsButton ? null : this.renderElevationSettingsDropdown();
|
|
@@ -4,8 +4,8 @@ import { css as d, html as i } from "lit";
|
|
|
4
4
|
import { ref as h } from "lit/directives/ref.js";
|
|
5
5
|
import { keyed as s } from "lit/directives/keyed.js";
|
|
6
6
|
import { usePropertyChange as u } from "@arcgis/lumina/controllers";
|
|
7
|
-
import { focusElement as
|
|
8
|
-
import { watch as
|
|
7
|
+
import { focusElement as m } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
9
|
import b from "@arcgis/core/widgets/DirectionalPad/DirectionalPadViewModel.js";
|
|
10
10
|
import { LitElement as g, createEvent as v, safeClassMap as f, nothing as a, safeStyleMap as w } from "@arcgis/lumina";
|
|
11
11
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
@@ -13,7 +13,7 @@ import { m as $ } from "../../chunks/useViewModel.js";
|
|
|
13
13
|
import { g as R } from "../../chunks/component-utils.js";
|
|
14
14
|
import { g as r } from "../../chunks/globalCss.js";
|
|
15
15
|
import { f as C, c as x } from "../../chunks/utils.js";
|
|
16
|
-
const c = [-45, 0, 45, -90, 90, -135, 180, 135],
|
|
16
|
+
const c = [-45, 0, 45, -90, 90, -135, 180, 135], M = {
|
|
17
17
|
0: { label: "north", iconName: "chevron-up" },
|
|
18
18
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
19
19
|
90: { label: "east", iconName: "chevron-right" },
|
|
@@ -22,7 +22,7 @@ const c = [-45, 0, 45, -90, 90, -135, 180, 135], y = {
|
|
|
22
22
|
"-135": { label: "southWest", iconName: "chevron-down-left" },
|
|
23
23
|
"-90": { label: "west", iconName: "chevron-left" },
|
|
24
24
|
"-45": { label: "northWest", iconName: "chevron-up-left" }
|
|
25
|
-
},
|
|
25
|
+
}, y = d`:host{outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm)}.buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media(hover:none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.rotation-container{display:block;width:100%;calcite-action{flex:.3}}.rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}`, S = $(b);
|
|
26
26
|
class B extends g {
|
|
27
27
|
constructor() {
|
|
28
28
|
super(...arguments), this.messages = _({}), this._onContextMenu = (t) => t.preventDefault(), this._buttons = {}, this.viewModel = S(this), this.angle = this.viewModel.angle, this.rotation = this.viewModel.rotation, this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.disabled = this.viewModel.disabled, this.hideDirectionalButtons = !1, this.icon = "move", this.showRotationResetButton = !1, this.showRotationSlider = !1, this.state = this.viewModel.state, this.visualScale = "s", this.arcgisPropertyChange = u()("state"), this.arcgisReady = v();
|
|
@@ -31,7 +31,7 @@ class B extends g {
|
|
|
31
31
|
this.properties = { _rotationEnabled: 16, angle: 16, rotation: 16, view: 0, autoDestroyDisabled: 5, disabled: 5, hideDirectionalButtons: 5, icon: 1, label: 1, messageOverrides: 0, referenceElement: 1, showRotationResetButton: 5, showRotationSlider: 5, state: 32, visualScale: 1 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.styles =
|
|
34
|
+
this.styles = y;
|
|
35
35
|
}
|
|
36
36
|
get _rotationEnabled() {
|
|
37
37
|
return this.view?.ready ? this.view.constraints.rotationEnabled ?? !1 : !0;
|
|
@@ -42,8 +42,8 @@ class B extends g {
|
|
|
42
42
|
loaded() {
|
|
43
43
|
this.manager.onLifecycle(() => [
|
|
44
44
|
// Move focus when movement angle changed by touch/mouse (not keyboard!)
|
|
45
|
-
|
|
46
|
-
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ? R(this)?.focus() :
|
|
45
|
+
p(() => this.viewModel.angle, () => {
|
|
46
|
+
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ? R(this)?.focus() : m(this._buttons[this.viewModel.angle]));
|
|
47
47
|
})
|
|
48
48
|
]);
|
|
49
49
|
}
|
|
@@ -90,13 +90,13 @@ class B extends g {
|
|
|
90
90
|
];
|
|
91
91
|
}
|
|
92
92
|
_renderDirectionalButtons() {
|
|
93
|
-
return s("directional-buttons-container", i`<calcite-action-bar expand-disabled floating layout=grid .scale=${this.visualScale} overflow-
|
|
93
|
+
return s("directional-buttons-container", i`<calcite-action-bar expand-toggle-disabled floating layout=grid .scale=${this.visualScale} overflow-mode=none><calcite-action-group class="buttons-container" dir=ltr @contextmenu=${{
|
|
94
94
|
handleEvent: this._onContextMenu,
|
|
95
95
|
capture: !0
|
|
96
96
|
}} ${h(this._setButtonContainerRef)}>${c.slice(0, 4).map(this._renderButton, this)}${this._renderCompass()}${c.slice(4).map(this._renderButton, this)}</calcite-action-group></calcite-action-bar>`);
|
|
97
97
|
}
|
|
98
98
|
_renderButton(t) {
|
|
99
|
-
const { label: e, iconName: o } =
|
|
99
|
+
const { label: e, iconName: o } = M[t], n = this.messages[e];
|
|
100
100
|
return i`<calcite-action .active=${this.angle === t} alignment=center class="button" data-angle=${t ?? a} .disabled=${this.disabled} @click=${this._onClick.bind(this, t)} @pointerdown=${this._onButtonPointerDown} .text=${n ?? ""} title=${n ?? a}><calcite-icon .icon=${o} .scale=${this.visualScale}></calcite-icon></calcite-action>`;
|
|
101
101
|
}
|
|
102
102
|
_renderCompass() {
|
|
@@ -104,7 +104,7 @@ class B extends g {
|
|
|
104
104
|
return i`<calcite-action alignment=center class="compass" .disabled=${this.disabled || !this._rotationEnabled || e} @click=${this._onRotationReset} style=${w(this._rotateIcon(this.rotation))} .text=${o ?? ""} title=${o ?? a}>${!e && i`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>` || ""}</calcite-action>`;
|
|
105
105
|
}
|
|
106
106
|
_renderRotation() {
|
|
107
|
-
return s("slider-container", i`<calcite-action-bar expand-disabled floating layout=horizontal .scale=${this.visualScale}><calcite-action-group class="rotation-container">${this.showRotationResetButton ? this._renderRotationResetButton() : null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`);
|
|
107
|
+
return s("slider-container", i`<calcite-action-bar expand-toggle-disabled floating layout=horizontal .scale=${this.visualScale}><calcite-action-group class="rotation-container">${this.showRotationResetButton ? this._renderRotationResetButton() : null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`);
|
|
108
108
|
}
|
|
109
109
|
_renderRotationResetButton() {
|
|
110
110
|
const t = this.messages.resetHeading;
|
|
@@ -367,7 +367,7 @@ class oe extends Z {
|
|
|
367
367
|
}
|
|
368
368
|
_renderPagination() {
|
|
369
369
|
const { previous: e, next: t } = this.messages;
|
|
370
|
-
return a`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-
|
|
370
|
+
return a`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${e ?? ""} @click=${this._previousFeature} .text=${e ?? ""} title=${e ?? "" ?? h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${t ?? ""} @click=${this._nextFeature} .text=${t ?? ""} title=${t ?? "" ?? h}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
371
371
|
}
|
|
372
372
|
_renderFeatureMenuItem(e) {
|
|
373
373
|
const { initialDisplayMode: t } = this, { selectedFeatureViewModel: s, featureViewModels: i } = this.viewModel, n = e === s, o = i.indexOf(e);
|
|
@@ -36,6 +36,8 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
36
36
|
* The Features (next) component should be used if needing to use the Popup functionality outside of the map or scene component. To show a single feature's content without
|
|
37
37
|
* actions, related records, clustering configuration, etc., then use the [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/) component.
|
|
38
38
|
*
|
|
39
|
+
* @slot [actions-start] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the start of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the start of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
|
|
40
|
+
* @slot [actions-end] - _Since 5.2._ Slot for adding Calcite [actions](https://developers.arcgis.com/calcite-design-system/components/action/) or [action groups](https://developers.arcgis.com/calcite-design-system/components/action-group/) to the end of the action bar. Multiple actions or action groups can be placed in this slot. Slotted actions remain at the end of the action bar and are not automatically grouped if they exceed the available width. To group actions, place them in a Calcite action group. Actions in this slot remain separate from other actions, including default actions (such as "Zoom to" and "Browse features"), [PopupTemplate actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions), and [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions).
|
|
39
41
|
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
40
42
|
* @see [arcgis-feature-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-next/)
|
|
41
43
|
* @see [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/)
|
|
@@ -327,7 +327,7 @@ class re extends U {
|
|
|
327
327
|
e && (this._removeSpinner(e), this._spinnerEl = Z(r`<arcgis-spinner .label=${this.messages.loading ?? ""} .trackLocation=${this._getSpinnerTrackLocation()} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
328
328
|
}
|
|
329
329
|
render() {
|
|
330
|
-
return r`<div class="root"
|
|
330
|
+
return r`<div class="root">${this._renderContentContainer()}</div>`;
|
|
331
331
|
}
|
|
332
332
|
_renderFeatureNavigation() {
|
|
333
333
|
return [
|
|
@@ -390,7 +390,7 @@ class re extends U {
|
|
|
390
390
|
return r`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(T({
|
|
391
391
|
"content-feature": !0,
|
|
392
392
|
"flow-item-collapsed": i
|
|
393
|
-
}))} .closable=${!a} .closed=${!g} .collapsed=${i} .collapseDirection=${this.collapseDirection ?? (n ? "down" : "up")} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!c && p ? E(p) : void 0} ${f(this._rootFlowItemNode)}>${this._renderHeader()}${!c && p ? r`<div slot=heading><div .innerHTML=${b.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(T("container", "content-container", {
|
|
393
|
+
}))} .closable=${!a} .closed=${!g} .collapsed=${i} .collapseDirection=${this.collapseDirection ?? (n ? "down" : "up")} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!c && p ? E(p) : void 0} ${f(this._rootFlowItemNode)}>${this._renderHeader()}${!c && p ? r`<div slot=heading><div .innerHTML=${b.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(T("container", "content-container", {
|
|
394
394
|
"content-hidden": _
|
|
395
395
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
396
396
|
}
|
|
@@ -4,7 +4,7 @@ import { css as s, html as l } from "lit";
|
|
|
4
4
|
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { o as d } from "../../chunks/layer-list-utils.js";
|
|
6
6
|
import { LitElement as p, renderElement as g } from "@arcgis/lumina";
|
|
7
|
-
import { i as a,
|
|
7
|
+
import { i as a, e as m } from "../../chunks/utils2.js";
|
|
8
8
|
const f = s`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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{width:100%;div{width:100%}}arcgis-legend{--calcite-color-foreground-1: var(--calcite-color-transparent);--calcite-color-text-2: var(--arcgis-internal-layer-list-legend-color-text);width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;overflow-y:auto}`;
|
|
9
9
|
class h extends p {
|
|
10
10
|
constructor() {
|
|
@@ -428,6 +428,15 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
428
428
|
previousObservations?: string | undefined;
|
|
429
429
|
trackLines?: string | undefined;
|
|
430
430
|
} | undefined;
|
|
431
|
+
telemetryDisplay?: {
|
|
432
|
+
frame?: string | undefined;
|
|
433
|
+
frameCenter?: string | undefined;
|
|
434
|
+
frameOutline?: string | undefined;
|
|
435
|
+
lineOfSight?: string | undefined;
|
|
436
|
+
sensorLocation?: string | undefined;
|
|
437
|
+
sensorPath?: string | undefined;
|
|
438
|
+
sensorTrail?: string | undefined;
|
|
439
|
+
} | undefined;
|
|
431
440
|
catalogLayers?: string | undefined;
|
|
432
441
|
connectionStatus?: string | undefined;
|
|
433
442
|
updating?: string | undefined;
|
|
@@ -461,6 +470,15 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
461
470
|
previousObservations: string;
|
|
462
471
|
trackLines: string;
|
|
463
472
|
};
|
|
473
|
+
telemetryDisplay: {
|
|
474
|
+
frame: string;
|
|
475
|
+
frameCenter: string;
|
|
476
|
+
frameOutline: string;
|
|
477
|
+
lineOfSight: string;
|
|
478
|
+
sensorLocation: string;
|
|
479
|
+
sensorPath: string;
|
|
480
|
+
sensorTrail: string;
|
|
481
|
+
};
|
|
464
482
|
catalogLayers: string;
|
|
465
483
|
connectionStatus: string;
|
|
466
484
|
updating: string;
|
|
@@ -492,6 +510,15 @@ export abstract class ArcgisLayerListNext extends LitElement {
|
|
|
492
510
|
previousObservations: string;
|
|
493
511
|
trackLines: string;
|
|
494
512
|
};
|
|
513
|
+
telemetryDisplay: {
|
|
514
|
+
frame: string;
|
|
515
|
+
frameCenter: string;
|
|
516
|
+
frameOutline: string;
|
|
517
|
+
lineOfSight: string;
|
|
518
|
+
sensorLocation: string;
|
|
519
|
+
sensorPath: string;
|
|
520
|
+
sensorTrail: string;
|
|
521
|
+
};
|
|
495
522
|
catalogLayers: string;
|
|
496
523
|
connectionStatus: string;
|
|
497
524
|
updating: string;
|