@arcgis/map-components 6.0.0-next.21 → 6.0.0-next.23
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/{G56N6RF4.js → 2S6RQ6Q4.js} +1 -1
- package/dist/cdn/{WUWF6ZDM.js → 2Z36ICJZ.js} +1 -1
- package/dist/cdn/{2NM6UWC4.js → 47CFYOUT.js} +1 -1
- package/dist/cdn/4N4XDCDQ.js +2 -0
- package/dist/cdn/{7ZWBGSCM.js → 4NG7CALI.js} +1 -1
- package/dist/cdn/{UFK7DHVC.js → 4WZ7Y57Q.js} +1 -1
- package/dist/cdn/{NTHSQXKG.js → 5DEJDR4W.js} +1 -1
- package/dist/cdn/{LUW2PXWZ.js → 5PPYHS6V.js} +1 -1
- package/dist/cdn/{M5OK7RKI.js → 66GRDX36.js} +1 -1
- package/dist/cdn/{SAQ5BNZJ.js → 6CKQPMJB.js} +1 -1
- package/dist/cdn/6GGKA7MT.js +2 -0
- package/dist/cdn/{XPBFBRSY.js → 6K4IASNK.js} +1 -1
- package/dist/cdn/{7LO6ACC7.js → 6VV5SX76.js} +1 -1
- package/dist/cdn/{Y3E2FJPQ.js → 74WM2EIB.js} +1 -1
- package/dist/cdn/{3GN3DAON.js → A7YFCO3R.js} +1 -1
- package/dist/cdn/{FDESUDJ5.js → AIF4MCBB.js} +1 -1
- package/dist/cdn/{3SXQLU4S.js → APFZ2FVO.js} +1 -1
- package/dist/cdn/{VLHURRRU.js → BM3FQ4OG.js} +1 -1
- package/dist/cdn/{LWVYNWD5.js → CGE6E3O3.js} +1 -1
- package/dist/cdn/{JUYPQUPQ.js → E5CGORXN.js} +1 -1
- package/dist/cdn/EJVFK7JX.js +2 -0
- package/dist/cdn/{SDLZ4BNM.js → EVWWTIEQ.js} +1 -1
- package/dist/cdn/{BUH3AQ7E.js → FTLNYN3G.js} +1 -1
- package/dist/cdn/{BJ35LPCU.js → G7BWEBJH.js} +1 -1
- package/dist/cdn/GIQT67VT.js +2 -0
- package/dist/cdn/{AOGDXJ2J.js → H66E4VOY.js} +1 -1
- package/dist/cdn/{BDZHLGVT.js → HL6WL2YA.js} +1 -1
- package/dist/cdn/{GQQTIX2X.js → HQXC5XLE.js} +1 -1
- package/dist/cdn/HTONXZBP.js +2 -0
- package/dist/cdn/{F2DTKJTK.js → HUWIY53T.js} +1 -1
- package/dist/cdn/{UE6EBLH3.js → IKVGZFZ6.js} +1 -1
- package/dist/cdn/{NKFAPBY3.js → JRO4IBJP.js} +1 -1
- package/dist/cdn/KXDLX4RE.js +2 -0
- package/dist/cdn/{4I6F64B2.js → LKKCTKMQ.js} +1 -1
- package/dist/cdn/MW27GSDX.js +2 -0
- package/dist/cdn/{LXJURAXP.js → NLG5U5ZN.js} +1 -1
- package/dist/cdn/{4LNXCEM5.js → NORQIOSX.js} +1 -1
- package/dist/cdn/{BLYXYNGB.js → PPGKQRNY.js} +1 -1
- package/dist/cdn/{DS6EUOYE.js → PW3QCZXY.js} +1 -1
- package/dist/cdn/{7EIN5VCY.js → Q2GYNZYQ.js} +1 -1
- package/dist/cdn/{SJGQALDG.js → Q2ZQOGM2.js} +1 -1
- package/dist/cdn/{NHMHVWNB.js → QKNHYZYS.js} +1 -1
- package/dist/cdn/{ZC5YVHZ3.js → QQLN6RWA.js} +1 -1
- package/dist/cdn/{BJJZGYBG.js → R6ARQKAY.js} +1 -1
- package/dist/cdn/RFO3M46K.js +2 -0
- package/dist/cdn/{YBXCTOS7.js → RQPOCDJS.js} +1 -1
- package/dist/cdn/SLWZHNVT.js +2 -0
- package/dist/cdn/TKIWKCDA.js +2 -0
- package/dist/cdn/{WTAAQHO3.js → TM4FFRX5.js} +1 -1
- package/dist/cdn/{SKAZPI3A.js → TTERKXN5.js} +1 -1
- package/dist/cdn/{LKGURYDH.js → TTWQ7RNF.js} +1 -1
- package/dist/cdn/{VHZM25YV.js → UB6BQW3G.js} +1 -1
- package/dist/cdn/{DGSTI5DI.js → UJURQACP.js} +1 -1
- package/dist/cdn/V3J5GQHD.js +2 -0
- package/dist/cdn/{UHDJ2SI5.js → VW35MSDL.js} +1 -1
- package/dist/cdn/{3B4VHD67.js → XN3MG6YU.js} +1 -1
- package/dist/cdn/XWBR6FXI.js +2 -0
- package/dist/cdn/{B2TICPHR.js → Y5ZZCA3R.js} +1 -1
- package/dist/cdn/{4IG6WUCI.js → YTZZRJ7Z.js} +1 -1
- package/dist/cdn/{OQ6SYZBT.js → YXIJXXTK.js} +1 -1
- package/dist/cdn/{L6FLCEH6.js → Z3674FMT.js} +1 -1
- package/dist/cdn/ZF7NUFAT.js +2 -0
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +155 -151
- package/dist/chunks/useViewModel.js +7 -7
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +88 -86
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
- package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-features-next/customElement.js +14 -15
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
- package/dist/components/arcgis-layer-list-next/customElement.js +97 -95
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-search/customElement.d.ts +12 -0
- package/dist/components/arcgis-search/customElement.js +3 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +308 -30
- package/dist/components/arcgis-sketch/customElement.js +48 -21
- package/dist/components/arcgis-swipe/customElement.d.ts +0 -22
- package/dist/components/arcgis-swipe/customElement.js +45 -63
- package/dist/components/arcgis-table-list-next/customElement.js +55 -54
- package/dist/components/arcgis-time-bar/customElement.d.ts +484 -409
- package/dist/components/arcgis-time-bar/types.d.ts +36 -15
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +179 -162
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-track/customElement.d.ts +12 -3
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +42 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +20 -17
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -70
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +161 -2
- package/dist/components/arcgis-video-player/customElement.d.ts +18 -0
- package/dist/components/arcgis-video-player/customElement.js +72 -72
- package/dist/components/arcgis-video-player/index.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
- package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
- package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
- package/dist/components/arcgis-video-player-slider/index.js +1 -0
- 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 +0 -20
- package/dist/loader.js +4 -5
- package/dist/types/lumina.d.ts +3 -24
- package/dist/types/preact.d.ts +3 -26
- package/dist/types/react.d.ts +3 -28
- package/dist/types/stencil.d.ts +3 -24
- package/package.json +6 -6
- package/dist/cdn/COSETVX4.js +0 -2
- package/dist/cdn/ED2T4ASN.js +0 -2
- package/dist/cdn/F74YQZ2X.js +0 -2
- package/dist/cdn/KXD4VEKE.js +0 -2
- package/dist/cdn/MBLS5ES4.js +0 -2
- package/dist/cdn/OJJSIN3V.js +0 -2
- package/dist/cdn/P3565WG3.js +0 -2
- package/dist/cdn/PHVKEWZ7.js +0 -2
- package/dist/cdn/QAOT2TJ6.js +0 -2
- package/dist/cdn/QKGJVGXJ.js +0 -2
- package/dist/cdn/QVJ2FUNW.js +0 -2
- package/dist/cdn/UI4IEVSV.js +0 -2
- package/dist/cdn/UPCWZNTA.js +0 -2
- package/dist/cdn/VEV3AAVP.js +0 -2
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
- package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
- package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -73
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
- package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
- package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
- package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
- /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { repeat as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import
|
|
6
|
-
import { watch as I, on as
|
|
7
|
-
import
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { usePropertyChange as
|
|
10
|
-
import { reEmitEvent as
|
|
2
|
+
import { c as M } from "../../chunks/runtime.js";
|
|
3
|
+
import { repeat as C } from "lit/directives/repeat.js";
|
|
4
|
+
import { keyed as v } from "lit/directives/keyed.js";
|
|
5
|
+
import L from "@arcgis/core/core/Collection.js";
|
|
6
|
+
import { watch as I, on as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
import E from "@arcgis/core/layerList/TableListModel.js";
|
|
8
|
+
import { LitElement as _, createEvent as c, safeClassMap as b, nothing as D } from "@arcgis/lumina";
|
|
9
|
+
import { usePropertyChange as F } from "@arcgis/lumina/controllers";
|
|
10
|
+
import { reEmitEvent as T } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
11
11
|
import { classes as P } from "@arcgis/toolkit/dom";
|
|
12
12
|
import { generateGuid as N } from "@arcgis/toolkit/string";
|
|
13
13
|
import { createRef as U, ref as x } from "lit/directives/ref.js";
|
|
14
14
|
import { html as o } from "lit";
|
|
15
15
|
import { u as A } from "../../chunks/useT9n.js";
|
|
16
|
-
import { g
|
|
16
|
+
import { g } from "../../chunks/globalCss.js";
|
|
17
17
|
import { m as B, b as R, r as k, e as S } from "../../chunks/layer-list-utils.js";
|
|
18
18
|
import { ArcgisLayerListItem as G } from "../arcgis-layer-list-next/layer-list-item/customElement.js";
|
|
19
19
|
import { s as O, a as q } from "../../chunks/layer-list-next.js";
|
|
20
20
|
import { c as H } from "../../chunks/css.js";
|
|
21
21
|
import { m as V } from "../../chunks/useViewModel.js";
|
|
22
|
-
const w = H,
|
|
23
|
-
class z extends
|
|
22
|
+
const w = H, $ = "nested", j = V(E);
|
|
23
|
+
class z extends _ {
|
|
24
24
|
constructor() {
|
|
25
|
-
super(...arguments), this
|
|
26
|
-
const l = s === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, a = this
|
|
25
|
+
super(...arguments), this.#t = null, this._rootGroupUid = `table-${N()}`, this._rootListRef = U(), this._selectedDragItemLayerUid = null, this.messages = A(), this.viewModel = j(this), this._canMove = ({ dragEl: e, fromEl: t, toEl: i }, s) => {
|
|
26
|
+
const l = s === "pull" ? this.listItemCanGiveFunction : this.listItemCanReceiveFunction, a = this.#e(e);
|
|
27
27
|
if (!a || !("sortable" in a) || !a.sortable)
|
|
28
28
|
return !1;
|
|
29
|
-
const h = this
|
|
30
|
-
return p && r && typeof l == "function" ? l(
|
|
29
|
+
const h = this.#e(t), d = this.#i(t), n = this.#e(i), m = this.#i(i), f = !!d && !!m && d === m, u = { selected: a, from: h, to: n }, p = t?.group, r = i?.group;
|
|
30
|
+
return p && r && typeof l == "function" ? l(u) : f;
|
|
31
31
|
}, this._onPanelOpen = () => {
|
|
32
32
|
this.requestUpdate();
|
|
33
33
|
}, this._onSelectedDragItemLayerUidChange = (e) => {
|
|
34
34
|
this._selectedDragItemLayerUid = e;
|
|
35
35
|
}, this._onTriggerAction = (e, t) => {
|
|
36
36
|
this.triggerAction(e, t);
|
|
37
|
-
}, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "table", this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.map = this.viewModel.map, this.minDragEnabledItems = B, this.minFilterItems = R, this.selectedItems = new
|
|
37
|
+
}, this.autoDestroyDisabled = !1, this.closed = !1, this.collapsed = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.hideNoFilterResultsNotice = !1, this.hideNoItemsNotice = !1, this.hideStatusIndicators = !1, this.icon = "table", this.listItemCreatedFunction = this.viewModel.listItemCreatedFunction, this.listModeDisabled = this.viewModel.listModeDisabled, this.map = this.viewModel.map, this.minDragEnabledItems = B, this.minFilterItems = R, this.selectedItems = new L(), this.selectionMode = "none", this.showCloseButton = !1, this.showCollapseButton = !1, this.showErrors = !1, this.showFilter = !1, this.showHeading = !1, this.showTemporaryTableIndicators = !1, this.tables = this.viewModel.tables, this.arcgisClose = c(), this.arcgisFilterChange = c(), this.arcgisPropertyChange = F()("state"), this.arcgisReady = c(), this.arcgisSelectedItemsChange = c(), this.arcgisTableItemsChanged = c(), this.arcgisTriggerAction = T(() => this.viewModel, "trigger-action");
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
40
|
this.properties = { _visibleItems: 16, _openedPanelItems: 16, _dragEnabled: 16, _filterEnabled: 16, autoDestroyDisabled: 5, closed: 5, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, headingLevel: 9, hideNoFilterResultsNotice: 5, hideNoItemsNotice: 5, hideStatusIndicators: 5, icon: 1, label: 1, listItemCanGiveFunction: 0, listItemCanReceiveFunction: 0, listItemCreatedFunction: 0, listModeDisabled: 5, map: 0, messageOverrides: 0, minDragEnabledItems: 9, minFilterItems: 9, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryTableIndicators: 5, state: 32, tableItems: 32, tables: 0, view: 0 };
|
|
@@ -42,6 +42,7 @@ class z extends E {
|
|
|
42
42
|
static {
|
|
43
43
|
this.styles = [O, q];
|
|
44
44
|
}
|
|
45
|
+
#t;
|
|
45
46
|
get _visibleItems() {
|
|
46
47
|
return this.tableItems?.filter((e) => !e.hidden && (this.showErrors || !e.error));
|
|
47
48
|
}
|
|
@@ -71,24 +72,24 @@ class z extends E {
|
|
|
71
72
|
I(() => this.view?.map, (e) => {
|
|
72
73
|
this.map || (this.viewModel.map = e);
|
|
73
74
|
}, { initial: !0 }),
|
|
74
|
-
|
|
75
|
+
y(() => this.viewModel.tableItems, "change", () => {
|
|
75
76
|
k(this.selectedItems), this.arcgisTableItemsChanged.emit(), this.requestUpdate();
|
|
76
77
|
}, { initial: !0 }),
|
|
77
|
-
|
|
78
|
+
y(() => this.selectedItems, "change", () => this.arcgisSelectedItemsChange.emit()),
|
|
78
79
|
I(() => [this.viewModel.state, this.viewModel.totalItems], () => this.requestUpdate(), { initial: !0 }),
|
|
79
|
-
I(() => [this.filterPredicate, this._rootListRef.value], () => this
|
|
80
|
+
I(() => [this.filterPredicate, this._rootListRef.value], () => this.#a())
|
|
80
81
|
]);
|
|
81
82
|
}
|
|
82
83
|
triggerAction(e, t) {
|
|
83
84
|
return this.viewModel.triggerAction(e, t);
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
+
#e(e) {
|
|
86
87
|
if (e?.tagName.toLowerCase() === "calcite-list-item")
|
|
87
88
|
return e.value;
|
|
88
89
|
const t = e?.getAttribute("data-item");
|
|
89
|
-
return t ? this
|
|
90
|
+
return t ? this.#l(t) : null;
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
#l(e) {
|
|
92
93
|
const t = this.tableItems?.toArray() ?? [];
|
|
93
94
|
for (; t.length; ) {
|
|
94
95
|
const i = t.shift();
|
|
@@ -100,82 +101,82 @@ class z extends E {
|
|
|
100
101
|
}
|
|
101
102
|
return null;
|
|
102
103
|
}
|
|
103
|
-
|
|
104
|
+
#i(e) {
|
|
104
105
|
return e?.getAttribute("data-layer-type") ?? null;
|
|
105
106
|
}
|
|
106
|
-
|
|
107
|
+
#a() {
|
|
107
108
|
const e = this._rootListRef.value;
|
|
108
109
|
e && (e.filterPredicate = this.filterPredicate ? (t) => {
|
|
109
|
-
const i = this
|
|
110
|
+
const i = this.#e(t);
|
|
110
111
|
return i ? this.filterPredicate(i) : !1;
|
|
111
112
|
} : void 0);
|
|
112
113
|
}
|
|
113
|
-
|
|
114
|
+
#r(e) {
|
|
114
115
|
e.open = !1;
|
|
115
116
|
}
|
|
116
|
-
|
|
117
|
+
#o(e, t) {
|
|
117
118
|
e?.sort((i, s) => {
|
|
118
119
|
const l = i.uid != null ? t.indexOf(i.uid) : -1, a = s.uid != null ? t.indexOf(s.uid) : -1;
|
|
119
120
|
return l > a ? -1 : l < a ? 1 : 0;
|
|
120
121
|
});
|
|
121
122
|
}
|
|
122
|
-
|
|
123
|
+
#n(e) {
|
|
123
124
|
const { fromEl: t, dragEl: i, oldIndex: s } = e;
|
|
124
125
|
s == null || !t || !i || t.insertBefore(i, t.children[s]);
|
|
125
126
|
}
|
|
126
|
-
|
|
127
|
-
const
|
|
127
|
+
#d(e) {
|
|
128
|
+
const t = this.#t, { toEl: i, fromEl: s, dragEl: l, newIndex: a } = e, h = t?.newIndex === a && t?.dragEl === l && t?.toEl === i && t?.fromEl === s;
|
|
128
129
|
if (!s || !i || h)
|
|
129
130
|
return;
|
|
130
|
-
this
|
|
131
|
+
this.#t = e, this._selectedDragItemLayerUid = l.value;
|
|
131
132
|
const d = Array.from(s.children).filter((n) => n?.matches("calcite-list-item")).map((n) => n.value.layer?.uid ?? "");
|
|
132
|
-
this
|
|
133
|
+
this.#o(this.viewModel.tables, d);
|
|
133
134
|
}
|
|
134
|
-
|
|
135
|
+
#h(e) {
|
|
135
136
|
const { selectionMode: t, selectedItems: i } = this;
|
|
136
137
|
if (t === "none")
|
|
137
138
|
return;
|
|
138
|
-
const s = e.target.selectedItems.map((l) => this
|
|
139
|
+
const s = e.target.selectedItems.map((l) => this.#e(l)).filter(Boolean);
|
|
139
140
|
i.removeAll(), i.addMany(s);
|
|
140
141
|
}
|
|
141
|
-
|
|
142
|
+
#c() {
|
|
142
143
|
this.closed = !0, this.arcgisClose.emit(), this.autoDestroyDisabled || this.destroy();
|
|
143
144
|
}
|
|
144
145
|
render() {
|
|
145
146
|
const { state: e } = this, t = {
|
|
146
|
-
[
|
|
147
|
-
[
|
|
147
|
+
[g.hidden]: e === "loading",
|
|
148
|
+
[g.disabled]: e === "disabled"
|
|
148
149
|
};
|
|
149
|
-
return o`<div class=${b(P(
|
|
150
|
+
return o`<div class=${b(P(g.widget, g.panel, t))}>${this.#g()}</div>`;
|
|
150
151
|
}
|
|
151
|
-
|
|
152
|
+
#s() {
|
|
152
153
|
return o`<div slot=message>${this.messages.noItemsToDisplay}</div>`;
|
|
153
154
|
}
|
|
154
|
-
|
|
155
|
-
return this.hideNoItemsNotice ? null : o`<div class=${b(w.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this
|
|
155
|
+
#m() {
|
|
156
|
+
return this.hideNoItemsNotice ? null : o`<div class=${b(w.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this.#s()}</calcite-notice></div>`;
|
|
156
157
|
}
|
|
157
|
-
|
|
158
|
-
return
|
|
159
|
-
const { panel: i, title: s } = e, l = () => this
|
|
158
|
+
#u() {
|
|
159
|
+
return C(this._openedPanelItems.toArray(), (e) => e.uid, (e, t) => {
|
|
160
|
+
const { panel: i, title: s } = e, l = () => this.#r(i);
|
|
160
161
|
return o`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${t === this._openedPanelItems.length - 1} @calciteFlowItemBack=${(a) => {
|
|
161
162
|
a.preventDefault(), l();
|
|
162
163
|
}}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`;
|
|
163
164
|
});
|
|
164
165
|
}
|
|
165
|
-
|
|
166
|
-
const { collapsed: e, _visibleItems: t, _filterEnabled: i, _rootGroupUid: s, showCloseButton: l, showCollapseButton: a, showHeading: h, _dragEnabled: d, selectionMode: n, filterText: m, filterPlaceholder: f, messages:
|
|
167
|
-
o`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${a} .heading=${h ? this.label ??
|
|
166
|
+
#g() {
|
|
167
|
+
const { collapsed: e, _visibleItems: t, _filterEnabled: i, _rootGroupUid: s, showCloseButton: l, showCollapseButton: a, showHeading: h, _dragEnabled: d, selectionMode: n, filterText: m, filterPlaceholder: f, messages: u } = this, p = [
|
|
168
|
+
o`<calcite-flow-item .closable=${l} .closed=${this.closed} .collapsed=${e} .collapsible=${a} .heading=${h ? this.label ?? u.componentLabel : void 0} .headingLevel=${this.headingLevel} .selected=${!this._openedPanelItems.length} @calciteFlowItemClose=${() => this.#c()}>${t?.length ? o`<calcite-list .canPull=${(r) => this._canMove(r, "pull")} .canPut=${(r) => this._canMove(r, "put")} data-layer-type=${s ?? D} .displayMode=${$} .dragEnabled=${d} .filterEnabled=${i} .filterPlaceholder=${f} .filterProps=${S} .filterText=${i ? m : ""} .group=${s} .label=${this.label ?? u.componentLabel} selection-appearance=border .selectionMode=${n} @calciteListChange=${this.#h} @calciteListDragEnd=${(r) => this.#n(r.detail)} @calciteListFilter=${(r) => {
|
|
168
169
|
this.filterText = r.currentTarget?.filterText ?? "", this.arcgisFilterChange.emit();
|
|
169
|
-
}} @calciteListOrderChange=${(r) => this
|
|
170
|
-
this
|
|
170
|
+
}} @calciteListOrderChange=${(r) => this.#d(r.detail)} ${x(this._rootListRef)}>${t.toArray().map((r) => this.#f(r))}${i && !this.hideNoFilterResultsNotice ? o`<div class=${b(w.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this.#s()}</calcite-notice></div>` : null}</calcite-list>` : this.#m()}</calcite-flow-item>`,
|
|
171
|
+
this.#u()
|
|
171
172
|
];
|
|
172
|
-
return this.closed ? null :
|
|
173
|
+
return this.closed ? null : v("root-flow", o`<calcite-flow>${p}</calcite-flow>`);
|
|
173
174
|
}
|
|
174
|
-
|
|
175
|
-
return
|
|
175
|
+
#f(e) {
|
|
176
|
+
return v(e.uid, G({ canMove: this._canMove, css: w, displayMode: $, dragEnabled: this.dragEnabled, hideStatusIndicators: this.hideStatusIndicators, item: e, itemType: "table", listModeDisabled: this.viewModel.listModeDisabled, messages: this.messages, rootGroupUid: this._rootGroupUid, selectedDragItemLayerUid: this._selectedDragItemLayerUid, selectedItems: this.selectedItems, selectionMode: this.selectionMode, showErrors: this.showErrors, showFilter: this.showFilter, showTemporaryTableIndicators: this.showTemporaryTableIndicators, handleAction: (t, i) => this._onTriggerAction(t, i), handlePanelOpen: this._onPanelOpen, handleSelectedDragItemLayerUidChange: this._onSelectedDragItemLayerUidChange, view: this.view }));
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
|
-
|
|
179
|
+
M("arcgis-table-list-next", z);
|
|
179
180
|
export {
|
|
180
181
|
z as ArcgisTableListNext
|
|
181
182
|
};
|