@mittwald/flow-react-components 0.1.0-alpha.397 → 0.1.0-alpha.398
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/CHANGELOG.md +12 -0
- package/dist/css/List.css +1 -1
- package/dist/js/ContextMenu.js +3 -3
- package/dist/js/{ContextMenuSection-CmajFz_f.js → ContextMenuSection-kLzjPKqH.js} +12 -12
- package/dist/js/{ContextMenuTrigger-BAV29sr-.js → ContextMenuTrigger-C6ZCPTHC.js} +1 -1
- package/dist/js/List.js +575 -538
- package/dist/js/{Section-wjl9OuOK.js → Section-BPfvjI0d.js} +1 -1
- package/dist/js/Section.js +1 -1
- package/dist/js/Tabs.js +2 -2
- package/dist/js/all.css +1 -1
- package/dist/js/types/components/List/components/Items/Items.d.ts +4 -1
- package/dist/js/types/components/List/components/Items/components/Item/Item.d.ts +4 -1
- package/dist/js/types/components/List/model/List.d.ts +3 -3
- package/dist/js/types/components/List/model/item/ItemView.d.ts +5 -1
- package/dist/js/types/components/List/model/types.d.ts +1 -1
- package/dist/js/types/components/List/stories/ListItem.stories.d.ts +1 -2
- package/package.json +4 -4
package/dist/js/List.js
CHANGED
|
@@ -1,68 +1,70 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var r = (n, t, e) =>
|
|
6
|
-
import
|
|
3
|
+
var _t = Object.defineProperty;
|
|
4
|
+
var te = (n, t, e) => t in n ? _t(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
5
|
+
var r = (n, t, e) => te(n, typeof t != "symbol" ? t + "" : t, e);
|
|
6
|
+
import s, { createContext as ee, useContext as se, createElement as yt, useState as H, useEffect as x, useRef as Ft, useId as ie, Suspense as ae, cloneElement as ne } from "react";
|
|
7
7
|
import "./propsContext-DzAKlmhS.js";
|
|
8
|
-
import { PropsContextProvider as
|
|
8
|
+
import { PropsContextProvider as _ } from "./PropsContextProvider.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
|
-
import { isShallowEqual as
|
|
11
|
-
import { d as
|
|
12
|
-
import { B as
|
|
13
|
-
import { IconArrowBackUp as
|
|
14
|
-
import { I as
|
|
15
|
-
import { I as
|
|
16
|
-
import { a as
|
|
17
|
-
import { M as
|
|
18
|
-
import "./ContextMenuSection-
|
|
10
|
+
import { isShallowEqual as re, unique as oe, difference as le, times as ce } from "remeda";
|
|
11
|
+
import { d as K } from "./dynamic-ClpUSmEt.js";
|
|
12
|
+
import { B as F } from "./Button-BTc_iJae.js";
|
|
13
|
+
import { IconArrowBackUp as de } from "@tabler/icons-react";
|
|
14
|
+
import { I as ft } from "./Icon--OEo4TjW.js";
|
|
15
|
+
import { I as ue } from "./IconContextMenu-x1p9NcUF.js";
|
|
16
|
+
import { a as q, C as tt } from "./ContextMenuTrigger-C6ZCPTHC.js";
|
|
17
|
+
import { M as et } from "./MenuItem-D5BsewlU.js";
|
|
18
|
+
import "./ContextMenuSection-kLzjPKqH.js";
|
|
19
19
|
import { useLocalizedStringFormatter as I } from "react-aria";
|
|
20
|
-
import { TunnelProvider as
|
|
21
|
-
import
|
|
20
|
+
import { TunnelProvider as Tt, TunnelExit as S } from "@mittwald/react-tunnel";
|
|
21
|
+
import L from "clsx";
|
|
22
22
|
import { f as It } from "./flowComponent-BQs9wMX_.js";
|
|
23
|
-
import { R as
|
|
24
|
-
import { T } from "./Text-Dh4iy9qD.js";
|
|
25
|
-
import { c as
|
|
26
|
-
import { observer as
|
|
27
|
-
import { a as
|
|
28
|
-
import { B as
|
|
29
|
-
import { makeObservable as
|
|
23
|
+
import { R as me } from "./Render-BOMk4emj.js";
|
|
24
|
+
import { T as P } from "./Text-Dh4iy9qD.js";
|
|
25
|
+
import { c as he, a as ge, b as pe, I as fe, d as be } from "./IconView-CSIFhlza.js";
|
|
26
|
+
import { observer as Se } from "mobx-react-lite";
|
|
27
|
+
import { a as j, T as W } from "./Tooltip-D5QM-BbC.js";
|
|
28
|
+
import { B as ve } from "./Badge-CIT6Z_E_.js";
|
|
29
|
+
import { makeObservable as we, observable as bt, computed as St, action as J } from "mobx";
|
|
30
30
|
import "./context-BaYmTa0I.js";
|
|
31
|
-
import { u as
|
|
32
|
-
import { S as
|
|
33
|
-
import { H as
|
|
34
|
-
import { S as
|
|
35
|
-
import { getProperty as
|
|
36
|
-
import { hash as
|
|
37
|
-
import
|
|
38
|
-
import { useReactTable as
|
|
39
|
-
import
|
|
40
|
-
import { getAsyncResource as
|
|
41
|
-
import { u as
|
|
42
|
-
import { u as
|
|
43
|
-
import * as
|
|
31
|
+
import { u as Ee } from "./useOnChange-C1Quwyuz.js";
|
|
32
|
+
import { S as ye } from "./SearchField-BGdC1K9_.js";
|
|
33
|
+
import { H as st } from "./Heading-C61IpDy1.js";
|
|
34
|
+
import { S as Fe } from "./Section-BPfvjI0d.js";
|
|
35
|
+
import { getProperty as Te } from "dot-prop";
|
|
36
|
+
import { hash as Ct } from "object-code";
|
|
37
|
+
import R from "zod";
|
|
38
|
+
import { useReactTable as Ie, getCoreRowModel as Ce, getSortedRowModel as Le, getFilteredRowModel as Pe, getPaginationRowModel as Ve, getFacetedUniqueValues as Ae } from "@tanstack/react-table";
|
|
39
|
+
import Lt from "invariant";
|
|
40
|
+
import { getAsyncResource as vt } from "@mittwald/react-use-promise";
|
|
41
|
+
import { u as wt } from "./useSelector-DpU7_HMO.js";
|
|
42
|
+
import { u as Me } from "./SettingsProvider-D9oDS5r9.js";
|
|
43
|
+
import * as it from "react-aria-components";
|
|
44
44
|
import { S as z } from "./SkeletonText-B5ZghZhO.js";
|
|
45
|
-
import {
|
|
46
|
-
import { I as ke } from "./
|
|
47
|
-
import { I as Be } from "./
|
|
48
|
-
import { I as
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import { a as
|
|
53
|
-
import { A as
|
|
54
|
-
const
|
|
55
|
-
view:
|
|
45
|
+
import { S as Pt } from "./Skeleton-CKLaTmDR.js";
|
|
46
|
+
import { I as ke } from "./IconChevronDown-wKRgAuyR.js";
|
|
47
|
+
import { I as Be } from "./IconChevronUp-C2rq4v--.js";
|
|
48
|
+
import { I as xe } from "./IllustratedMessage-DB1AH-Oq.js";
|
|
49
|
+
import { I as De } from "./IconSearch-9xESFc33.js";
|
|
50
|
+
import { a as E, b as N, d as Ne } from "./deepHas-KHS5X1F_.js";
|
|
51
|
+
import { ListLoaderAsyncResource as Re, TypedListLoaderAsyncResource as $e } from "./List/ListLoaderAsyncResource.js";
|
|
52
|
+
import { a as Vt, e as At, d as Mt, b as kt, T as Bt, c as xt } from "./Table-Cgwv_qa_.js";
|
|
53
|
+
import { A as Ue } from "./ActionGroup-cpOWMaBi.js";
|
|
54
|
+
const Ke = "flow--list--items--item--view", ze = "flow--list--items--item--view--content", Oe = "flow--list--items--item--view--title", He = "flow--list--items--item--view--sub-title", qe = "flow--list--items--item--view--avatar", Ge = "flow--list--items--item--view--heading", je = "flow--list--items--item--view--text", We = "flow--list--items--item--view--top-content", Je = "flow--list--items--item--view--action", Ye = "flow--list--items--item--view--bottom-content", Qe = "flow--list--items--item--view--tile", Xe = "flow--list--items--item--view--avatar-container", m = {
|
|
55
|
+
view: Ke,
|
|
56
56
|
content: ze,
|
|
57
|
-
title:
|
|
58
|
-
avatar: Oe,
|
|
57
|
+
title: Oe,
|
|
59
58
|
subTitle: He,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
avatar: qe,
|
|
60
|
+
heading: Ge,
|
|
61
|
+
text: je,
|
|
62
|
+
topContent: We,
|
|
63
|
+
action: Je,
|
|
64
|
+
bottomContent: Ye,
|
|
65
|
+
tile: Qe,
|
|
66
|
+
avatarContainer: Xe
|
|
67
|
+
}, v = { "de-DE": {
|
|
66
68
|
"list.filters.clear": "Filter entfernen",
|
|
67
69
|
"list.filters.reset": "Filter zurücksetzen",
|
|
68
70
|
"list.filters.store": "Filter speichern",
|
|
@@ -74,6 +76,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
74
76
|
"list.settings.viewMode": "Ansicht",
|
|
75
77
|
"list.settings.viewMode.list": "Liste",
|
|
76
78
|
"list.settings.viewMode.table": "Tabelle",
|
|
79
|
+
"list.settings.viewMode.tiles": "Kacheln",
|
|
77
80
|
"list.showMore": "Mehr anzeigen",
|
|
78
81
|
"list.sorting": "Sortierung",
|
|
79
82
|
"list.toggleExpandButton.collapse": "Weniger anzeigen",
|
|
@@ -90,36 +93,37 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
90
93
|
"list.settings.viewMode": "View",
|
|
91
94
|
"list.settings.viewMode.list": "List",
|
|
92
95
|
"list.settings.viewMode.table": "Table",
|
|
96
|
+
"list.settings.viewMode.tiles": "Tiles",
|
|
93
97
|
"list.showMore": "Show more",
|
|
94
98
|
"list.sorting": "Sorting",
|
|
95
99
|
"list.toggleExpandButton.collapse": "Show less",
|
|
96
100
|
"list.toggleExpandButton.expand": "Show more"
|
|
97
|
-
} },
|
|
98
|
-
const { className: t, children: e } = n,
|
|
99
|
-
return /* @__PURE__ */
|
|
100
|
-
|
|
101
|
+
} }, Ze = (n) => {
|
|
102
|
+
const { className: t, children: e } = n, i = I(v);
|
|
103
|
+
return /* @__PURE__ */ s.createElement(q, null, /* @__PURE__ */ s.createElement(
|
|
104
|
+
F,
|
|
101
105
|
{
|
|
102
106
|
variant: "plain",
|
|
103
107
|
color: "secondary",
|
|
104
108
|
className: t,
|
|
105
|
-
"aria-label":
|
|
109
|
+
"aria-label": i.format("list.options"),
|
|
106
110
|
tunnelId: null
|
|
107
111
|
},
|
|
108
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ s.createElement(ue, null)
|
|
109
113
|
), e);
|
|
110
|
-
},
|
|
111
|
-
const { children: t, className: e } = n,
|
|
114
|
+
}, _e = (n) => n === "top" ? m.topContent : n === "bottom" ? m.bottomContent : m.topContent, Dt = (n) => {
|
|
115
|
+
const { children: t, className: e } = n, a = f().viewMode === "tiles", o = {
|
|
112
116
|
ContextMenu: {
|
|
113
|
-
wrapWith: /* @__PURE__ */
|
|
117
|
+
wrapWith: /* @__PURE__ */ s.createElement(Ze, { className: m.action }),
|
|
114
118
|
placement: "bottom end",
|
|
115
119
|
tunnelId: "button"
|
|
116
120
|
},
|
|
117
121
|
Button: {
|
|
118
|
-
className:
|
|
122
|
+
className: m.action,
|
|
119
123
|
tunnelId: "button"
|
|
120
124
|
},
|
|
121
125
|
ActionGroup: {
|
|
122
|
-
className:
|
|
126
|
+
className: m.action,
|
|
123
127
|
ignoreBreakpoint: !0,
|
|
124
128
|
tunnelId: "button",
|
|
125
129
|
Button: {
|
|
@@ -127,87 +131,88 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
127
131
|
}
|
|
128
132
|
},
|
|
129
133
|
Content: {
|
|
130
|
-
className:
|
|
134
|
+
className: K((c) => _e(c.slot)),
|
|
135
|
+
tunnelId: K((c) => c.slot === "bottom" ? c.slot : void 0)
|
|
131
136
|
},
|
|
132
137
|
Avatar: {
|
|
133
|
-
className:
|
|
134
|
-
tunnelId: "
|
|
138
|
+
className: m.avatar,
|
|
139
|
+
tunnelId: "avatar"
|
|
135
140
|
},
|
|
136
141
|
Heading: {
|
|
137
|
-
className:
|
|
142
|
+
className: m.heading,
|
|
138
143
|
level: 5,
|
|
139
144
|
tunnelId: "title"
|
|
140
145
|
},
|
|
141
146
|
Text: {
|
|
142
|
-
className:
|
|
147
|
+
className: m.text,
|
|
143
148
|
tunnelId: "text"
|
|
144
149
|
},
|
|
145
150
|
Link: {
|
|
146
151
|
unstyled: !0
|
|
147
152
|
}
|
|
148
|
-
},
|
|
149
|
-
return /* @__PURE__ */
|
|
150
|
-
},
|
|
151
|
-
listSummary:
|
|
152
|
-
},
|
|
153
|
+
}, l = L(m.view, a && m.tile, e);
|
|
154
|
+
return /* @__PURE__ */ s.createElement("div", { className: l }, /* @__PURE__ */ s.createElement(_, { props: o, mergeInParentContext: !0 }, /* @__PURE__ */ s.createElement(Tt, null, a && /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("div", { className: m.avatarContainer }, /* @__PURE__ */ s.createElement(S, { id: "avatar" })), /* @__PURE__ */ s.createElement("div", { className: m.content }, /* @__PURE__ */ s.createElement("div", { className: m.title }, /* @__PURE__ */ s.createElement(S, { id: "title" }), /* @__PURE__ */ s.createElement("div", { className: m.subTitle }, /* @__PURE__ */ s.createElement(S, { id: "text" }))), /* @__PURE__ */ s.createElement(S, { id: "button" }), t, /* @__PURE__ */ s.createElement(S, { id: "bottom" }))), !a && /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("div", { className: m.content }, /* @__PURE__ */ s.createElement("div", { className: m.title }, /* @__PURE__ */ s.createElement(S, { id: "avatar" }), /* @__PURE__ */ s.createElement(S, { id: "title" }), /* @__PURE__ */ s.createElement("div", { className: m.subTitle }, /* @__PURE__ */ s.createElement(S, { id: "text" }))), t), /* @__PURE__ */ s.createElement(S, { id: "button" }), /* @__PURE__ */ s.createElement(S, { id: "bottom" })))));
|
|
155
|
+
}, ts = "flow--list--list-summary", es = {
|
|
156
|
+
listSummary: ts
|
|
157
|
+
}, da = It("ListSummary", (n) => {
|
|
153
158
|
const { children: t } = n;
|
|
154
|
-
return /* @__PURE__ */
|
|
155
|
-
}),
|
|
159
|
+
return /* @__PURE__ */ s.createElement("header", { className: es.listSummary, ...n }, t);
|
|
160
|
+
}), Nt = ee({}), f = () => se(Nt).list, ss = () => f().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ s.createElement(me, { key: e }, () => {
|
|
156
161
|
t();
|
|
157
|
-
})),
|
|
162
|
+
})), is = (n) => {
|
|
158
163
|
const { sorting: t } = n;
|
|
159
|
-
return /* @__PURE__ */
|
|
160
|
-
},
|
|
161
|
-
const { children: t, locales: e, variables:
|
|
162
|
-
return I(e).format(t,
|
|
163
|
-
},
|
|
164
|
-
const n =
|
|
164
|
+
return /* @__PURE__ */ s.createElement(et, { id: t.id }, t.name);
|
|
165
|
+
}, $ = (n) => {
|
|
166
|
+
const { children: t, locales: e, variables: i } = n;
|
|
167
|
+
return I(e).format(t, i);
|
|
168
|
+
}, as = () => {
|
|
169
|
+
const n = f(), t = n.visibleSorting.map((a) => /* @__PURE__ */ s.createElement(is, { sorting: a, key: a.id }));
|
|
165
170
|
if (t.length === 0)
|
|
166
171
|
return null;
|
|
167
|
-
const e = n.visibleSorting.find((
|
|
168
|
-
return /* @__PURE__ */
|
|
169
|
-
|
|
172
|
+
const e = n.visibleSorting.find((a) => a.isSorted()), i = /* @__PURE__ */ s.createElement(P, null, e ? /* @__PURE__ */ s.createElement(s.Fragment, null, e.name ?? e.property) : /* @__PURE__ */ s.createElement($, { locales: v }, "list.sorting"));
|
|
173
|
+
return /* @__PURE__ */ s.createElement(q, null, /* @__PURE__ */ s.createElement(F, { variant: "outline", color: "secondary" }, i, /* @__PURE__ */ s.createElement(he, null)), /* @__PURE__ */ s.createElement(
|
|
174
|
+
tt,
|
|
170
175
|
{
|
|
171
176
|
selectionMode: "single",
|
|
172
177
|
selectedKeys: e ? [e.id] : [],
|
|
173
|
-
onAction: (
|
|
174
|
-
n.getSorting(String(
|
|
178
|
+
onAction: (a) => {
|
|
179
|
+
n.getSorting(String(a)).enable();
|
|
175
180
|
}
|
|
176
181
|
},
|
|
177
182
|
t
|
|
178
183
|
));
|
|
179
|
-
},
|
|
180
|
-
const { filter: t } = n, { values: e, mode:
|
|
181
|
-
|
|
184
|
+
}, ns = (n) => {
|
|
185
|
+
const { filter: t } = n, { values: e, mode: i, name: a, property: o } = t, l = e.map((d) => /* @__PURE__ */ s.createElement(
|
|
186
|
+
et,
|
|
182
187
|
{
|
|
183
|
-
id:
|
|
184
|
-
key:
|
|
188
|
+
id: d.id,
|
|
189
|
+
key: d.id,
|
|
185
190
|
onAction: () => {
|
|
186
|
-
|
|
191
|
+
d.toggle();
|
|
187
192
|
}
|
|
188
193
|
},
|
|
189
|
-
|
|
190
|
-
)),
|
|
191
|
-
return /* @__PURE__ */
|
|
192
|
-
|
|
194
|
+
d.render()
|
|
195
|
+
)), c = e.filter((d) => d.isActive).map((d) => d.id);
|
|
196
|
+
return /* @__PURE__ */ s.createElement(q, null, /* @__PURE__ */ s.createElement(F, { variant: "outline", color: "secondary" }, /* @__PURE__ */ s.createElement(P, null, a ?? o), /* @__PURE__ */ s.createElement(ge, null)), /* @__PURE__ */ s.createElement(
|
|
197
|
+
tt,
|
|
193
198
|
{
|
|
194
|
-
selectionMode:
|
|
195
|
-
selectedKeys:
|
|
199
|
+
selectionMode: i === "one" ? "single" : "multiple",
|
|
200
|
+
selectedKeys: c
|
|
196
201
|
},
|
|
197
|
-
|
|
202
|
+
l
|
|
198
203
|
));
|
|
199
|
-
},
|
|
200
|
-
header:
|
|
201
|
-
pickerListAndSearch:
|
|
202
|
-
pickerList:
|
|
203
|
-
searchAndActions:
|
|
204
|
-
searchField:
|
|
205
|
-
},
|
|
206
|
-
activeFilters:
|
|
207
|
-
clearButton:
|
|
208
|
-
},
|
|
209
|
-
const n =
|
|
210
|
-
|
|
204
|
+
}, rs = "flow--list--header", os = "flow--list--header--picker-list-and-search", ls = "flow--list--header--picker-list", cs = "flow--list--header--search-and-actions", ds = "flow--list--header--search-field", B = {
|
|
205
|
+
header: rs,
|
|
206
|
+
pickerListAndSearch: os,
|
|
207
|
+
pickerList: ls,
|
|
208
|
+
searchAndActions: cs,
|
|
209
|
+
searchField: ds
|
|
210
|
+
}, us = "flow--list--header--active-filters", ms = "flow--list--header--active-filters--clear-button", hs = {
|
|
211
|
+
activeFilters: us,
|
|
212
|
+
clearButton: ms
|
|
213
|
+
}, gs = Se(() => {
|
|
214
|
+
const n = f(), t = I(v), i = n.filters.flatMap((d) => d.values).filter((d) => d.isActive).map((d) => /* @__PURE__ */ s.createElement(ve, { key: d.id, onClose: () => d.deactivate() }, /* @__PURE__ */ s.createElement(P, null, d.render()))), a = n.filters.filter((d) => d.hasChanged()).length > 0, o = n.supportsSettingsStorage && a && /* @__PURE__ */ s.createElement(j, null, /* @__PURE__ */ s.createElement(W, null, /* @__PURE__ */ s.createElement($, { locales: v }, "list.filters.store")), /* @__PURE__ */ s.createElement(
|
|
215
|
+
F,
|
|
211
216
|
{
|
|
212
217
|
size: "s",
|
|
213
218
|
variant: "plain",
|
|
@@ -215,9 +220,9 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
215
220
|
onPress: () => n.storeFilterDefaultSettings(),
|
|
216
221
|
"aria-label": t.format("list.filters.store")
|
|
217
222
|
},
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
)),
|
|
220
|
-
|
|
223
|
+
/* @__PURE__ */ s.createElement(pe, null)
|
|
224
|
+
)), l = a ? /* @__PURE__ */ s.createElement(j, null, /* @__PURE__ */ s.createElement(W, null, /* @__PURE__ */ s.createElement($, { locales: v }, "list.filters.reset")), /* @__PURE__ */ s.createElement(
|
|
225
|
+
F,
|
|
221
226
|
{
|
|
222
227
|
size: "s",
|
|
223
228
|
variant: "plain",
|
|
@@ -225,97 +230,99 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
225
230
|
onPress: () => n.resetFilters(),
|
|
226
231
|
"aria-label": t.format("list.filters.reset")
|
|
227
232
|
},
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
)) : void 0,
|
|
230
|
-
|
|
233
|
+
/* @__PURE__ */ s.createElement(ft, null, /* @__PURE__ */ s.createElement(de, null))
|
|
234
|
+
)) : void 0, c = i.length > 0 ? /* @__PURE__ */ s.createElement(j, null, /* @__PURE__ */ s.createElement(W, null, /* @__PURE__ */ s.createElement($, { locales: v }, "list.filters.clear")), /* @__PURE__ */ s.createElement(
|
|
235
|
+
F,
|
|
231
236
|
{
|
|
232
237
|
size: "s",
|
|
233
238
|
variant: "plain",
|
|
234
239
|
color: "secondary",
|
|
235
240
|
onPress: () => n.clearFilters()
|
|
236
241
|
},
|
|
237
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ s.createElement(ft, null, /* @__PURE__ */ s.createElement(fe, null))
|
|
238
243
|
)) : void 0;
|
|
239
|
-
return
|
|
240
|
-
}),
|
|
241
|
-
const { className: t, onChange: e, value:
|
|
242
|
-
|
|
244
|
+
return i.length === 0 && !o && !l ? null : /* @__PURE__ */ s.createElement("div", { className: hs.activeFilters }, i, o, l, c);
|
|
245
|
+
}), ps = 800, fs = (n) => {
|
|
246
|
+
const { className: t, onChange: e, value: i, autoSubmit: a, ...o } = n, [l, c] = H(i ?? ""), d = () => {
|
|
247
|
+
l.trim() === "" ? e(void 0) : e(l);
|
|
243
248
|
};
|
|
244
|
-
|
|
245
|
-
if (
|
|
246
|
-
const
|
|
247
|
-
return () => clearTimeout(
|
|
249
|
+
x(() => {
|
|
250
|
+
if (a) {
|
|
251
|
+
const g = setTimeout(() => d(), ps);
|
|
252
|
+
return () => clearTimeout(g);
|
|
248
253
|
}
|
|
249
|
-
}, [
|
|
250
|
-
|
|
251
|
-
}, [
|
|
254
|
+
}, [l, a]), Ee(i, () => {
|
|
255
|
+
c(i ?? "");
|
|
256
|
+
}, [l]);
|
|
252
257
|
const u = () => {
|
|
253
|
-
e(void 0),
|
|
254
|
-
},
|
|
255
|
-
|
|
258
|
+
e(void 0), c("");
|
|
259
|
+
}, h = (g) => {
|
|
260
|
+
g.key === "Enter" ? d() : g.key === "Escape" && u();
|
|
256
261
|
};
|
|
257
|
-
return /* @__PURE__ */
|
|
258
|
-
|
|
262
|
+
return /* @__PURE__ */ s.createElement(
|
|
263
|
+
ye,
|
|
259
264
|
{
|
|
260
265
|
className: t,
|
|
261
|
-
value:
|
|
262
|
-
onKeyUp:
|
|
263
|
-
onChange: (
|
|
266
|
+
value: l,
|
|
267
|
+
onKeyUp: h,
|
|
268
|
+
onChange: (g) => c(g),
|
|
264
269
|
onClear: u,
|
|
265
270
|
...o
|
|
266
271
|
}
|
|
267
272
|
);
|
|
268
|
-
},
|
|
269
|
-
const { className: t, search: e } = n,
|
|
270
|
-
return
|
|
273
|
+
}, bs = (n) => {
|
|
274
|
+
const { className: t, search: e } = n, i = e.render ?? fs;
|
|
275
|
+
return yt(i, {
|
|
271
276
|
className: t,
|
|
272
277
|
value: e.value,
|
|
273
278
|
onChange: e.setValue.bind(e),
|
|
274
279
|
...e.textFieldProps
|
|
275
280
|
});
|
|
276
|
-
},
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
281
|
+
}, Ss = () => {
|
|
282
|
+
var a, o;
|
|
283
|
+
const n = I(v), t = f(), e = t.viewMode, i = [];
|
|
284
|
+
return (a = t.itemView) != null && a.showList && i.push("list"), t.table && i.push("table"), (o = t.itemView) != null && o.showTiles && i.push("tiles"), i.length <= 1 ? null : /* @__PURE__ */ s.createElement(q, null, /* @__PURE__ */ s.createElement(
|
|
285
|
+
F,
|
|
280
286
|
{
|
|
281
287
|
variant: "outline",
|
|
282
288
|
color: "secondary",
|
|
283
289
|
"aria-label": n.format("list.settings")
|
|
284
290
|
},
|
|
285
|
-
/* @__PURE__ */
|
|
286
|
-
/* @__PURE__ */
|
|
287
|
-
), /* @__PURE__ */
|
|
288
|
-
|
|
291
|
+
/* @__PURE__ */ s.createElement(P, null, n.format(`list.settings.viewMode.${e}`)),
|
|
292
|
+
/* @__PURE__ */ s.createElement(be, null)
|
|
293
|
+
), /* @__PURE__ */ s.createElement(tt, { selectionMode: "single", selectedKeys: [e] }, /* @__PURE__ */ s.createElement(Fe, null, /* @__PURE__ */ s.createElement(st, null, n.format("list.settings.viewMode")), i.map((l) => /* @__PURE__ */ s.createElement(
|
|
294
|
+
et,
|
|
289
295
|
{
|
|
290
|
-
id:
|
|
291
|
-
key:
|
|
296
|
+
id: l,
|
|
297
|
+
key: l,
|
|
292
298
|
onAction: () => {
|
|
293
|
-
t.setViewMode(
|
|
299
|
+
t.setViewMode(l);
|
|
294
300
|
}
|
|
295
301
|
},
|
|
296
|
-
n.format(`list.settings.viewMode.${
|
|
302
|
+
n.format(`list.settings.viewMode.${l}`)
|
|
297
303
|
)))));
|
|
298
|
-
},
|
|
299
|
-
|
|
300
|
-
|
|
304
|
+
}, vs = (n) => {
|
|
305
|
+
var o, l;
|
|
306
|
+
const { className: t, hasActionGroup: e } = n, i = f();
|
|
307
|
+
if (i.filters.length === 0 && i.visibleSorting.length === 0 && !i.search && !i.table && !((o = i.itemView) != null && o.showTiles && ((l = i.itemView) != null && l.showList)) && !e)
|
|
301
308
|
return null;
|
|
302
|
-
const
|
|
303
|
-
return /* @__PURE__ */
|
|
304
|
-
},
|
|
305
|
-
list:
|
|
309
|
+
const a = i.filters.map((c) => /* @__PURE__ */ s.createElement(ns, { key: c.property, filter: c }));
|
|
310
|
+
return /* @__PURE__ */ s.createElement("div", { className: L(t, B.header) }, /* @__PURE__ */ s.createElement("div", { className: B.pickerListAndSearch }, /* @__PURE__ */ s.createElement("div", { className: B.pickerList }, /* @__PURE__ */ s.createElement(Ss, null), /* @__PURE__ */ s.createElement(as, null), a), /* @__PURE__ */ s.createElement("div", { className: B.searchAndActions }, i.search && /* @__PURE__ */ s.createElement(bs, { className: B.searchField, search: i.search }), /* @__PURE__ */ s.createElement(S, { id: "actions" }))), /* @__PURE__ */ s.createElement(gs, null));
|
|
311
|
+
}, ws = "flow--list", Es = {
|
|
312
|
+
list: ws
|
|
306
313
|
};
|
|
307
|
-
let ys = class
|
|
308
|
-
constructor(t, e,
|
|
314
|
+
let ys = class Rt {
|
|
315
|
+
constructor(t, e, i) {
|
|
309
316
|
r(this, "id");
|
|
310
317
|
r(this, "data");
|
|
311
318
|
r(this, "collection");
|
|
312
|
-
this.collection = t, this.id = e, this.data =
|
|
319
|
+
this.collection = t, this.id = e, this.data = i;
|
|
313
320
|
}
|
|
314
321
|
static fromRow(t, e) {
|
|
315
|
-
return new
|
|
322
|
+
return new Rt(t, e.id, e.original);
|
|
316
323
|
}
|
|
317
324
|
};
|
|
318
|
-
class
|
|
325
|
+
class Fs {
|
|
319
326
|
constructor(t) {
|
|
320
327
|
r(this, "list");
|
|
321
328
|
this.list = t;
|
|
@@ -324,13 +331,13 @@ class vs {
|
|
|
324
331
|
return this.list.reactTable.table.getRowModel().rows.map((t) => ys.fromRow(this, t));
|
|
325
332
|
}
|
|
326
333
|
}
|
|
327
|
-
class
|
|
334
|
+
class Ts {
|
|
328
335
|
constructor(t, e = {}) {
|
|
329
336
|
r(this, "batchSize");
|
|
330
337
|
r(this, "list");
|
|
331
|
-
var
|
|
332
|
-
const { batchSize:
|
|
333
|
-
this.list = t, this.batchSize =
|
|
338
|
+
var a;
|
|
339
|
+
const { batchSize: i = 20 } = e;
|
|
340
|
+
this.list = t, this.batchSize = i, t.filters.forEach((o) => o.onFilterUpdated(() => this.reset())), (a = t.search) == null || a.onUpdated(() => this.reset());
|
|
334
341
|
}
|
|
335
342
|
get reactTable() {
|
|
336
343
|
return this.list.reactTable.table;
|
|
@@ -371,22 +378,22 @@ class Es {
|
|
|
371
378
|
}
|
|
372
379
|
}
|
|
373
380
|
}
|
|
374
|
-
const
|
|
375
|
-
class
|
|
381
|
+
const Is = "$";
|
|
382
|
+
class T {
|
|
376
383
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
377
384
|
constructor(t, e) {
|
|
378
385
|
r(this, "filter");
|
|
379
386
|
r(this, "value");
|
|
380
387
|
r(this, "id");
|
|
381
|
-
var
|
|
382
|
-
this.filter = t, typeof e == "string" && e.startsWith("FilterValueId@@") ? (this.value = (
|
|
388
|
+
var i;
|
|
389
|
+
this.filter = t, typeof e == "string" && e.startsWith("FilterValueId@@") ? (this.value = (i = t.values.find((a) => a.id === e)) == null ? void 0 : i.value, this.id = e) : (this.value = e, this.id = `FilterValueId@@${this.filter.property}@@${Ct(this.value)}`);
|
|
383
390
|
}
|
|
384
391
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
385
392
|
static create(t, e) {
|
|
386
|
-
return e instanceof
|
|
393
|
+
return e instanceof T ? e : new T(t, e);
|
|
387
394
|
}
|
|
388
395
|
equals(t) {
|
|
389
|
-
return
|
|
396
|
+
return re(this.value, t.value);
|
|
390
397
|
}
|
|
391
398
|
get isActive() {
|
|
392
399
|
return this.filter.isValueActive(this);
|
|
@@ -401,8 +408,8 @@ class F {
|
|
|
401
408
|
this.filter.deactivateValue(this);
|
|
402
409
|
}
|
|
403
410
|
}
|
|
404
|
-
const
|
|
405
|
-
class
|
|
411
|
+
const Y = (n) => Array.isArray(n) ? n : [n], Cs = (n, t) => n === t, Ls = (n) => String(n);
|
|
412
|
+
class U {
|
|
406
413
|
constructor(t, e) {
|
|
407
414
|
r(this, "_values");
|
|
408
415
|
r(this, "_valuesFromTableState");
|
|
@@ -414,8 +421,8 @@ class $ {
|
|
|
414
421
|
r(this, "name");
|
|
415
422
|
r(this, "onFilterUpdateCallbacks", /* @__PURE__ */ new Set());
|
|
416
423
|
r(this, "defaultSelectedValues");
|
|
417
|
-
var
|
|
418
|
-
this.list = t, this.property = e.property, this.mode = e.mode ?? "one", this._values = (
|
|
424
|
+
var i;
|
|
425
|
+
this.list = t, this.property = e.property, this.mode = e.mode ?? "one", this._values = (i = e.values) == null ? void 0 : i.map((a) => T.create(this, a)), this.matcher = e.matcher ?? Cs, this.renderItem = e.renderItem ?? Ls, this.name = e.name, this.defaultSelectedValues = e.defaultSelected;
|
|
419
426
|
}
|
|
420
427
|
getStoredSelectedIds() {
|
|
421
428
|
var t;
|
|
@@ -435,22 +442,22 @@ class $ {
|
|
|
435
442
|
t.enableColumnFilter = !0, t.filterFn = this.getReactTableFilterFn();
|
|
436
443
|
}
|
|
437
444
|
getReactTableFilterFn() {
|
|
438
|
-
return (t, e,
|
|
439
|
-
const
|
|
440
|
-
return this.checkFilterMatches(o,
|
|
445
|
+
return (t, e, i) => {
|
|
446
|
+
const a = this.property, o = a.startsWith(Is) ? t.original : Te(t.original, a);
|
|
447
|
+
return this.checkFilterMatches(o, i);
|
|
441
448
|
};
|
|
442
449
|
}
|
|
443
450
|
checkFilterMatches(t, e) {
|
|
444
451
|
if (e === null)
|
|
445
452
|
return !0;
|
|
446
|
-
const
|
|
453
|
+
const i = (o) => this.matcher(o.value, t), a = (o) => T.create(this, o);
|
|
447
454
|
if (this.mode === "all")
|
|
448
|
-
return
|
|
455
|
+
return Y(e).map(a).every(i);
|
|
449
456
|
if (this.mode === "some") {
|
|
450
|
-
const o =
|
|
451
|
-
return o.length === 0 || o.map(
|
|
457
|
+
const o = Y(e);
|
|
458
|
+
return o.length === 0 || o.map(a).some(i);
|
|
452
459
|
} else if (this.mode === "one")
|
|
453
|
-
return
|
|
460
|
+
return i(a(e));
|
|
454
461
|
throw new Error(`Unknown filter mode '${this.mode}'`);
|
|
455
462
|
}
|
|
456
463
|
getTableColumnFilter() {
|
|
@@ -464,12 +471,12 @@ class $ {
|
|
|
464
471
|
return ((t = this.getTableColumnFilter()) == null ? void 0 : t.value) ?? null;
|
|
465
472
|
}
|
|
466
473
|
getValuesFromTableState() {
|
|
467
|
-
return
|
|
474
|
+
return oe(
|
|
468
475
|
Array.from(this.getTableColumn().getFacetedUniqueValues().keys()).flatMap((t) => t).filter((t) => t != null)
|
|
469
|
-
).map((t) =>
|
|
476
|
+
).map((t) => T.create(this, t));
|
|
470
477
|
}
|
|
471
478
|
checkIfValueIsUnknown(t) {
|
|
472
|
-
return !this.values.some((
|
|
479
|
+
return !this.values.some((i) => i.id === t.id);
|
|
473
480
|
}
|
|
474
481
|
deleteUnknownFilterValues() {
|
|
475
482
|
if (this.values !== this.valuesFromTableState)
|
|
@@ -484,7 +491,7 @@ class $ {
|
|
|
484
491
|
}
|
|
485
492
|
getArrayValue() {
|
|
486
493
|
const t = this.getValue();
|
|
487
|
-
return t === null ? [] :
|
|
494
|
+
return t === null ? [] : Y(t).map((e) => T.create(this, e));
|
|
488
495
|
}
|
|
489
496
|
isValueActive(t) {
|
|
490
497
|
return this.getArrayValue().some((e) => e.equals(t));
|
|
@@ -494,40 +501,40 @@ class $ {
|
|
|
494
501
|
}
|
|
495
502
|
deactivateValue(t) {
|
|
496
503
|
const e = this.getArrayValue();
|
|
497
|
-
let
|
|
498
|
-
this.mode === "all" || this.mode === "some" ?
|
|
504
|
+
let i;
|
|
505
|
+
this.mode === "all" || this.mode === "some" ? i = e.filter((a) => !a.equals(t)) : i = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(i), this.onFilterUpdateCallbacks.forEach((a) => a());
|
|
499
506
|
}
|
|
500
507
|
hasChanged() {
|
|
501
|
-
var
|
|
502
|
-
const t = this.getArrayValue().map((
|
|
503
|
-
return t.length !== e.length ||
|
|
508
|
+
var i;
|
|
509
|
+
const t = this.getArrayValue().map((a) => a.value), e = ((i = this.getInitialFilterValues()) == null ? void 0 : i.map((a) => a.value)) ?? [];
|
|
510
|
+
return t.length !== e.length || le(t, e).length > 0;
|
|
504
511
|
}
|
|
505
512
|
getInitialValues() {
|
|
506
513
|
return this.getStoredSelectedIds() ?? this.defaultSelectedValues;
|
|
507
514
|
}
|
|
508
515
|
getInitialFilterValues() {
|
|
509
516
|
var t;
|
|
510
|
-
return (t = this.getInitialValues()) == null ? void 0 : t.map((e) =>
|
|
517
|
+
return (t = this.getInitialValues()) == null ? void 0 : t.map((e) => T.create(this, e));
|
|
511
518
|
}
|
|
512
519
|
resetValues() {
|
|
513
520
|
let t;
|
|
514
521
|
const e = this.getInitialValues();
|
|
515
|
-
e ? t = e : this.mode === "all" || this.mode === "some" ? t = [] : t = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(t), this.onFilterUpdateCallbacks.forEach((
|
|
522
|
+
e ? t = e : this.mode === "all" || this.mode === "some" ? t = [] : t = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(t), this.onFilterUpdateCallbacks.forEach((i) => i());
|
|
516
523
|
}
|
|
517
524
|
clear() {
|
|
518
525
|
this.list.reactTable.getTableColumn(this.property).setFilterValue(null), this.onFilterUpdateCallbacks.forEach((t) => t());
|
|
519
526
|
}
|
|
520
527
|
toggleValue(t) {
|
|
521
528
|
const e = this.getArrayValue();
|
|
522
|
-
let
|
|
523
|
-
this.mode === "all" || this.mode === "some" ? t.isActive ?
|
|
529
|
+
let i;
|
|
530
|
+
this.mode === "all" || this.mode === "some" ? t.isActive ? i = e.filter((a) => !a.equals(t)) : i = [...e, t] : i = t.isActive ? null : t, this.list.reactTable.getTableColumn(this.property).setFilterValue(i), this.onFilterUpdateCallbacks.forEach((a) => a());
|
|
524
531
|
}
|
|
525
532
|
onFilterUpdated(t) {
|
|
526
533
|
this.onFilterUpdateCallbacks.add(t);
|
|
527
534
|
}
|
|
528
535
|
}
|
|
529
|
-
r(
|
|
530
|
-
class
|
|
536
|
+
r(U, "settingsStorageSchema", R.record(R.array(R.string())).optional());
|
|
537
|
+
class Ps {
|
|
531
538
|
constructor(t, e) {
|
|
532
539
|
r(this, "list");
|
|
533
540
|
r(this, "property");
|
|
@@ -562,112 +569,112 @@ class Ts {
|
|
|
562
569
|
}
|
|
563
570
|
}
|
|
564
571
|
class at {
|
|
565
|
-
constructor(t, e,
|
|
572
|
+
constructor(t, e, i = {}) {
|
|
566
573
|
r(this, "list");
|
|
567
574
|
r(this, "table");
|
|
568
575
|
r(this, "sortingState");
|
|
569
576
|
r(this, "updateSortingState");
|
|
570
577
|
this.list = t;
|
|
571
|
-
const
|
|
572
|
-
(
|
|
573
|
-
), [o,
|
|
574
|
-
|
|
578
|
+
const a = this.list.sorting.filter(
|
|
579
|
+
(c) => c.defaultEnabled !== !1
|
|
580
|
+
), [o, l] = H(
|
|
581
|
+
a.map((c) => c.getReactTableColumnSort())
|
|
575
582
|
);
|
|
576
|
-
this.sortingState = o, this.updateSortingState =
|
|
583
|
+
this.sortingState = o, this.updateSortingState = l, this.table = this.useReactTable(e, i);
|
|
577
584
|
}
|
|
578
585
|
get searchString() {
|
|
579
586
|
return this.table.getState().globalFilter;
|
|
580
587
|
}
|
|
581
|
-
static useNew(t, e,
|
|
582
|
-
return new at(t, e,
|
|
588
|
+
static useNew(t, e, i = {}) {
|
|
589
|
+
return new at(t, e, i);
|
|
583
590
|
}
|
|
584
591
|
getTableColumn(t) {
|
|
585
592
|
const e = this.table.getColumn(t);
|
|
586
|
-
return
|
|
593
|
+
return Lt(!!e, `Column #${t} is not defined`), e;
|
|
587
594
|
}
|
|
588
595
|
useReactTable(t, e = {}) {
|
|
589
|
-
var
|
|
590
|
-
const
|
|
596
|
+
var l;
|
|
597
|
+
const i = this.list.loader.useData(), a = {
|
|
591
598
|
pagination: {
|
|
592
599
|
pageSize: this.list.batches.batchSize
|
|
593
600
|
},
|
|
594
601
|
columnFilters: []
|
|
595
602
|
};
|
|
596
|
-
for (const
|
|
597
|
-
|
|
598
|
-
(
|
|
599
|
-
const o =
|
|
600
|
-
data:
|
|
603
|
+
for (const c of this.list.filters)
|
|
604
|
+
c.updateInitialState(a);
|
|
605
|
+
(l = this.list.search) == null || l.updateInitialState(a);
|
|
606
|
+
const o = Ie({
|
|
607
|
+
data: i,
|
|
601
608
|
state: {
|
|
602
609
|
sorting: this.sortingState
|
|
603
610
|
},
|
|
604
611
|
getRowId: this.list.getItemId,
|
|
605
|
-
initialState:
|
|
612
|
+
initialState: a,
|
|
606
613
|
columns: this.getTableColumnDefs(),
|
|
607
|
-
getCoreRowModel:
|
|
608
|
-
getSortedRowModel:
|
|
609
|
-
getFilteredRowModel:
|
|
610
|
-
getPaginationRowModel:
|
|
611
|
-
getFacetedUniqueValues:
|
|
612
|
-
onSortingChange: (
|
|
613
|
-
this.handleSortingStateUpdate(
|
|
614
|
+
getCoreRowModel: Ce(),
|
|
615
|
+
getSortedRowModel: Le(),
|
|
616
|
+
getFilteredRowModel: Pe(),
|
|
617
|
+
getPaginationRowModel: Ve(),
|
|
618
|
+
getFacetedUniqueValues: Ae(),
|
|
619
|
+
onSortingChange: (c) => {
|
|
620
|
+
this.handleSortingStateUpdate(c);
|
|
614
621
|
},
|
|
615
622
|
globalFilterFn: "auto",
|
|
616
623
|
...e
|
|
617
624
|
});
|
|
618
|
-
return
|
|
625
|
+
return x(() => {
|
|
619
626
|
t && t(this.list);
|
|
620
627
|
}, [this.list, t, o]), o;
|
|
621
628
|
}
|
|
622
629
|
handleSortingStateUpdate(t) {
|
|
623
|
-
const e = typeof t == "function" ? t(this.sortingState) : t,
|
|
624
|
-
(
|
|
625
|
-
).map((
|
|
626
|
-
this.updateSortingState([...
|
|
630
|
+
const e = typeof t == "function" ? t(this.sortingState) : t, i = this.list.sorting.filter(
|
|
631
|
+
(a) => a.defaultEnabled === "hidden" && !e.some((o) => o.id === a.property)
|
|
632
|
+
).map((a) => a.getReactTableColumnSort());
|
|
633
|
+
this.updateSortingState([...i, ...e]);
|
|
627
634
|
}
|
|
628
635
|
getTableColumnDefs() {
|
|
629
|
-
const t = /* @__PURE__ */ new Map(), e = (
|
|
630
|
-
const
|
|
631
|
-
if (
|
|
632
|
-
return
|
|
636
|
+
const t = /* @__PURE__ */ new Map(), e = (i) => {
|
|
637
|
+
const a = t.get(i);
|
|
638
|
+
if (a)
|
|
639
|
+
return a;
|
|
633
640
|
const o = {
|
|
634
|
-
id:
|
|
635
|
-
accessorKey:
|
|
641
|
+
id: i,
|
|
642
|
+
accessorKey: i,
|
|
636
643
|
enableSorting: !1,
|
|
637
644
|
enableColumnFilter: !1,
|
|
638
645
|
sortingFn: "alphanumeric"
|
|
639
646
|
};
|
|
640
|
-
return t.set(
|
|
647
|
+
return t.set(i, o), o;
|
|
641
648
|
};
|
|
642
649
|
return this.list.filters.forEach(
|
|
643
|
-
(
|
|
650
|
+
(i) => i.updateTableColumnDef(e(i.property))
|
|
644
651
|
), this.list.sorting.forEach(
|
|
645
|
-
(
|
|
646
|
-
), this.list.loader.staticDataProperties.forEach((
|
|
647
|
-
e(
|
|
652
|
+
(i) => i.updateTableColumnDef(e(i.property))
|
|
653
|
+
), this.list.loader.staticDataProperties.forEach((i) => {
|
|
654
|
+
e(i);
|
|
648
655
|
}), Array.from(t.values());
|
|
649
656
|
}
|
|
650
657
|
}
|
|
651
|
-
class
|
|
658
|
+
class nt {
|
|
652
659
|
constructor() {
|
|
653
660
|
r(this, "dataBatches", []);
|
|
654
661
|
r(this, "prevDataBatches", []);
|
|
655
662
|
r(this, "batchLoadingStates", ["void"]);
|
|
656
|
-
|
|
663
|
+
we(this, {
|
|
657
664
|
prevDataBatches: !1,
|
|
658
665
|
useMergedData: !1,
|
|
659
666
|
useIsLoading: !1,
|
|
660
|
-
dataBatches:
|
|
661
|
-
batchLoadingStates:
|
|
667
|
+
dataBatches: bt.shallow,
|
|
668
|
+
batchLoadingStates: bt.shallow,
|
|
662
669
|
mergedData: St,
|
|
663
670
|
isLoading: St,
|
|
664
|
-
reset:
|
|
665
|
-
setDataBatch:
|
|
666
|
-
setBatchLoadingState:
|
|
671
|
+
reset: J.bound,
|
|
672
|
+
setDataBatch: J.bound,
|
|
673
|
+
setBatchLoadingState: J.bound
|
|
667
674
|
});
|
|
668
675
|
}
|
|
669
676
|
static useNew() {
|
|
670
|
-
return
|
|
677
|
+
return Ft(new nt()).current;
|
|
671
678
|
}
|
|
672
679
|
reset() {
|
|
673
680
|
this.batchLoadingStates = [], this.dataBatches = [];
|
|
@@ -682,20 +689,20 @@ class it {
|
|
|
682
689
|
return (this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches).flatMap((e) => e);
|
|
683
690
|
}
|
|
684
691
|
useMergedData() {
|
|
685
|
-
return
|
|
692
|
+
return wt(() => this.mergedData);
|
|
686
693
|
}
|
|
687
694
|
get isLoading() {
|
|
688
695
|
return this.batchLoadingStates.some((t) => t === "loading" || t === "void");
|
|
689
696
|
}
|
|
690
697
|
useIsLoading() {
|
|
691
|
-
return
|
|
698
|
+
return wt(() => this.isLoading);
|
|
692
699
|
}
|
|
693
700
|
isBatchLoaded(t) {
|
|
694
701
|
return t in this.dataBatches;
|
|
695
702
|
}
|
|
696
703
|
}
|
|
697
|
-
const
|
|
698
|
-
class
|
|
704
|
+
const Vs = [];
|
|
705
|
+
class rt {
|
|
699
706
|
constructor(t, e = {}) {
|
|
700
707
|
r(this, "list");
|
|
701
708
|
r(this, "dataSource");
|
|
@@ -704,19 +711,19 @@ class nt {
|
|
|
704
711
|
r(this, "manualPagination");
|
|
705
712
|
r(this, "loaderState");
|
|
706
713
|
r(this, "staticDataProperties", []);
|
|
707
|
-
var
|
|
708
|
-
const { source:
|
|
709
|
-
this.dataSource =
|
|
710
|
-
const
|
|
711
|
-
this.list = t, this.loaderState =
|
|
714
|
+
var c;
|
|
715
|
+
const { source: i } = e;
|
|
716
|
+
this.dataSource = i ?? { staticData: Vs };
|
|
717
|
+
const a = "manualPagination" in this.dataSource ? this.dataSource.manualPagination : void 0, o = "manualFiltering" in this.dataSource ? this.dataSource.manualFiltering : void 0, l = "manualSorting" in this.dataSource ? this.dataSource.manualSorting : void 0;
|
|
718
|
+
this.list = t, this.loaderState = nt.useNew(), this.manualPagination = a ?? !1, this.manualFiltering = o ?? this.manualPagination, this.manualSorting = l ?? this.manualPagination, this.list.filters.forEach((d) => d.onFilterUpdated(() => this.reset())), (c = this.list.search) == null || c.onUpdated(() => this.reset()), this.initStaticDataProperties();
|
|
712
719
|
}
|
|
713
720
|
static useNew(t, e = {}) {
|
|
714
|
-
return new
|
|
721
|
+
return new rt(t, e);
|
|
715
722
|
}
|
|
716
723
|
initStaticDataProperties() {
|
|
717
724
|
const t = (e) => {
|
|
718
|
-
typeof e != "object" || e === null || Object.keys(e).filter((
|
|
719
|
-
this.staticDataProperties.push(
|
|
725
|
+
typeof e != "object" || e === null || Object.keys(e).filter((i) => !this.staticDataProperties.includes(i)).forEach((i) => {
|
|
726
|
+
this.staticDataProperties.push(i);
|
|
720
727
|
});
|
|
721
728
|
};
|
|
722
729
|
"staticData" in this.dataSource && this.dataSource.staticData.slice(0, 100).forEach(t);
|
|
@@ -734,7 +741,7 @@ class nt {
|
|
|
734
741
|
return this.loaderState.useMergedData();
|
|
735
742
|
}
|
|
736
743
|
getLoaderInvocationHooks() {
|
|
737
|
-
return
|
|
744
|
+
return ce(this.list.batches.getBatchIndex() + 1, (e) => e).map((e) => () => {
|
|
738
745
|
this.useLoadBatch(e);
|
|
739
746
|
});
|
|
740
747
|
}
|
|
@@ -745,21 +752,21 @@ class nt {
|
|
|
745
752
|
}), this.useObserveBatchData(e, t), this.useObserveBatchLoadingState(e, t);
|
|
746
753
|
}
|
|
747
754
|
useObserveBatchLoadingState(t, e) {
|
|
748
|
-
const
|
|
755
|
+
const i = (a) => {
|
|
749
756
|
this.loaderState.setBatchLoadingState(
|
|
750
757
|
e,
|
|
751
|
-
this.loaderState.isBatchLoaded(e) ? "loaded" :
|
|
758
|
+
this.loaderState.isBatchLoaded(e) ? "loaded" : a
|
|
752
759
|
);
|
|
753
760
|
};
|
|
754
|
-
|
|
761
|
+
x(() => (i(t.state.value), t.state.observe(i)), [t, e]);
|
|
755
762
|
}
|
|
756
763
|
useObserveBatchData(t, e) {
|
|
757
|
-
const
|
|
758
|
-
const { data: o, itemTotalCount:
|
|
759
|
-
this.loaderState.setDataBatch(e, o),
|
|
764
|
+
const i = (a) => {
|
|
765
|
+
const { data: o, itemTotalCount: l } = a;
|
|
766
|
+
this.loaderState.setDataBatch(e, o), l !== void 0 && this.list.batches.updateItemTotalCount(l);
|
|
760
767
|
};
|
|
761
|
-
|
|
762
|
-
|
|
768
|
+
x(() => (t.value.value.isSet && i(t.value.value.value), t.value.observe((a) => {
|
|
769
|
+
a.isSet && i(a.value);
|
|
763
770
|
})), [t, e]);
|
|
764
771
|
}
|
|
765
772
|
getDataLoaderOptions(t) {
|
|
@@ -776,7 +783,7 @@ class nt {
|
|
|
776
783
|
e.property,
|
|
777
784
|
{
|
|
778
785
|
mode: e.mode,
|
|
779
|
-
values: e.getArrayValue().map((
|
|
786
|
+
values: e.getArrayValue().map((i) => i.value)
|
|
780
787
|
}
|
|
781
788
|
])
|
|
782
789
|
) : void 0,
|
|
@@ -784,29 +791,29 @@ class nt {
|
|
|
784
791
|
};
|
|
785
792
|
}
|
|
786
793
|
getBatchDataAsyncResource(t) {
|
|
787
|
-
const e = this.dataSource,
|
|
794
|
+
const e = this.dataSource, i = this.getDataLoaderOptions(t);
|
|
788
795
|
if ("staticData" in e)
|
|
789
|
-
return
|
|
790
|
-
async (
|
|
791
|
-
data:
|
|
792
|
-
itemTotalCount:
|
|
796
|
+
return vt(
|
|
797
|
+
async (a) => ({
|
|
798
|
+
data: a,
|
|
799
|
+
itemTotalCount: a.length
|
|
793
800
|
}),
|
|
794
801
|
[e.staticData]
|
|
795
802
|
);
|
|
796
803
|
if ("asyncLoader" in e) {
|
|
797
|
-
const
|
|
798
|
-
return
|
|
799
|
-
loaderId:
|
|
804
|
+
const a = e.asyncLoader, o = e.dependencies, l = o ? Ct(o).toString() : void 0;
|
|
805
|
+
return vt(a, [i], {
|
|
806
|
+
loaderId: l
|
|
800
807
|
});
|
|
801
808
|
}
|
|
802
809
|
if ("asyncResourceFactory" in e) {
|
|
803
|
-
const
|
|
804
|
-
return i
|
|
810
|
+
const a = e.asyncResourceFactory;
|
|
811
|
+
return a(i);
|
|
805
812
|
}
|
|
806
813
|
throw new Error("Unknown data source");
|
|
807
814
|
}
|
|
808
815
|
}
|
|
809
|
-
class
|
|
816
|
+
class As {
|
|
810
817
|
constructor(t, e) {
|
|
811
818
|
r(this, "list");
|
|
812
819
|
r(this, "render");
|
|
@@ -837,72 +844,82 @@ class Ls {
|
|
|
837
844
|
this.onUpdateCallbacks.add(t);
|
|
838
845
|
}
|
|
839
846
|
}
|
|
840
|
-
const
|
|
847
|
+
const O = class O {
|
|
841
848
|
constructor(t, e = {}) {
|
|
842
849
|
r(this, "list");
|
|
843
850
|
r(this, "textValue");
|
|
844
851
|
r(this, "href");
|
|
845
852
|
r(this, "defaultExpanded");
|
|
846
853
|
r(this, "fallback");
|
|
854
|
+
r(this, "showTiles");
|
|
855
|
+
r(this, "showList");
|
|
847
856
|
r(this, "renderFn");
|
|
848
|
-
const {
|
|
849
|
-
|
|
857
|
+
const {
|
|
858
|
+
fallback: i,
|
|
859
|
+
textValue: a,
|
|
860
|
+
href: o,
|
|
861
|
+
defaultExpanded: l,
|
|
862
|
+
renderFn: c,
|
|
863
|
+
showTiles: d,
|
|
864
|
+
showList: u = !0
|
|
865
|
+
} = e;
|
|
866
|
+
this.list = t, this.textValue = a, this.renderFn = c, this.href = o, this.defaultExpanded = l, this.fallback = i, this.showTiles = d, this.showList = u;
|
|
850
867
|
}
|
|
851
868
|
render(t) {
|
|
852
|
-
return (this.renderFn ??
|
|
869
|
+
return (this.renderFn ?? O.fallbackRenderItemFn)(t, this.list);
|
|
853
870
|
}
|
|
854
871
|
};
|
|
855
|
-
r(
|
|
856
|
-
let
|
|
872
|
+
r(O, "fallbackRenderItemFn", (t) => yt("pre", void 0, JSON.stringify(t)));
|
|
873
|
+
let X = O, Ms = class {
|
|
857
874
|
constructor(t, e = {}) {
|
|
858
875
|
r(this, "tableHeader");
|
|
859
876
|
r(this, "componentProps");
|
|
860
877
|
this.tableHeader = t, this.componentProps = e;
|
|
861
878
|
}
|
|
862
|
-
},
|
|
879
|
+
}, ks = class {
|
|
863
880
|
constructor(t, e = {}) {
|
|
864
881
|
r(this, "table");
|
|
865
882
|
r(this, "componentProps");
|
|
866
883
|
r(this, "columns");
|
|
867
|
-
const { columns:
|
|
868
|
-
this.table = t, this.columns =
|
|
884
|
+
const { columns: i = [], ...a } = e;
|
|
885
|
+
this.table = t, this.columns = i.map((o) => new Ms(this, o)), this.componentProps = a;
|
|
869
886
|
}
|
|
870
|
-
},
|
|
887
|
+
}, Bs = class {
|
|
871
888
|
constructor(t, e = {}) {
|
|
872
889
|
r(this, "row");
|
|
873
890
|
r(this, "renderFn");
|
|
874
891
|
r(this, "componentProps");
|
|
875
|
-
const { renderFn:
|
|
876
|
-
this.row = t, this.renderFn =
|
|
892
|
+
const { renderFn: i, ...a } = e;
|
|
893
|
+
this.row = t, this.renderFn = i, this.componentProps = a;
|
|
877
894
|
}
|
|
878
|
-
},
|
|
895
|
+
}, xs = class {
|
|
879
896
|
constructor(t, e = {}) {
|
|
880
897
|
r(this, "tableBody");
|
|
881
898
|
r(this, "cells");
|
|
882
899
|
r(this, "componentProps");
|
|
883
|
-
const { cells:
|
|
884
|
-
this.tableBody = t, this.cells =
|
|
900
|
+
const { cells: i = [], ...a } = e;
|
|
901
|
+
this.tableBody = t, this.cells = i.map((o) => new Bs(this, o)), this.componentProps = a;
|
|
885
902
|
}
|
|
886
|
-
},
|
|
903
|
+
}, Ds = class {
|
|
887
904
|
constructor(t, e = {}) {
|
|
888
905
|
r(this, "table");
|
|
889
906
|
r(this, "componentProps");
|
|
890
907
|
r(this, "row");
|
|
891
|
-
const { row:
|
|
892
|
-
this.table = t, this.row = new
|
|
908
|
+
const { row: i, ...a } = e;
|
|
909
|
+
this.table = t, this.row = new xs(this, i), this.componentProps = a;
|
|
893
910
|
}
|
|
894
|
-
},
|
|
911
|
+
}, Ns = class {
|
|
895
912
|
constructor(t, e = {}) {
|
|
896
913
|
r(this, "list");
|
|
897
914
|
r(this, "header");
|
|
898
915
|
r(this, "body");
|
|
899
916
|
r(this, "componentProps");
|
|
900
|
-
const { header:
|
|
901
|
-
this.list = t, this.header = new
|
|
917
|
+
const { header: i, body: a, ...o } = e;
|
|
918
|
+
this.list = t, this.header = new ks(this, i), this.body = new Ds(this, a), this.componentProps = o;
|
|
902
919
|
}
|
|
903
920
|
};
|
|
904
|
-
var
|
|
905
|
-
let
|
|
921
|
+
var y;
|
|
922
|
+
let Rs = (y = class {
|
|
906
923
|
constructor(t) {
|
|
907
924
|
r(this, "filters");
|
|
908
925
|
r(this, "itemView");
|
|
@@ -919,44 +936,44 @@ let xs = (E = class {
|
|
|
919
936
|
r(this, "componentProps");
|
|
920
937
|
r(this, "viewMode");
|
|
921
938
|
r(this, "setViewMode");
|
|
922
|
-
r(this, "settingsStore");
|
|
923
939
|
r(this, "supportsSettingsStorage");
|
|
924
940
|
r(this, "settingStorageKey");
|
|
941
|
+
r(this, "settingsStore");
|
|
925
942
|
r(this, "viewModeStorageKey");
|
|
926
943
|
r(this, "filterSettingsStorageKey");
|
|
927
944
|
const {
|
|
928
945
|
settingStorageKey: e,
|
|
929
|
-
itemView:
|
|
930
|
-
table:
|
|
946
|
+
itemView: i,
|
|
947
|
+
table: a,
|
|
931
948
|
filters: o = [],
|
|
932
|
-
sorting:
|
|
933
|
-
batchesController:
|
|
934
|
-
onChange:
|
|
949
|
+
sorting: l = [],
|
|
950
|
+
batchesController: c,
|
|
951
|
+
onChange: d,
|
|
935
952
|
loader: u,
|
|
936
|
-
search:
|
|
937
|
-
onAction:
|
|
938
|
-
getItemId:
|
|
939
|
-
defaultViewMode:
|
|
940
|
-
accordion:
|
|
941
|
-
...
|
|
953
|
+
search: h,
|
|
954
|
+
onAction: g,
|
|
955
|
+
getItemId: V,
|
|
956
|
+
defaultViewMode: A,
|
|
957
|
+
accordion: M = !1,
|
|
958
|
+
...b
|
|
942
959
|
} = t;
|
|
943
|
-
this.settingsStore =
|
|
960
|
+
this.settingsStore = Me(), this.settingStorageKey = e, this.filterSettingsStorageKey = e ? `${e}.activeFilters` : void 0, this.viewModeStorageKey = e ? `${e}.viewMode` : void 0, this.supportsSettingsStorage = !!this.settingStorageKey, this.items = new Fs(this), this.filters = o.map((p) => new U(this, p)), this.sorting = l.map((p) => new Ps(this, p)), this.search = h ? new As(this, h) : void 0, this.itemView = i ? new X(this, i) : void 0, this.accordion = M, this.table = a ? new Ns(this, a) : void 0, this.batches = new Ts(this, c), this.componentProps = b, this.loader = rt.useNew(this, u), this.onAction = g, this.getItemId = V, this.reactTable = at.useNew(this, d, {
|
|
944
961
|
manualFiltering: this.loader.manualFiltering,
|
|
945
962
|
manualPagination: this.loader.manualPagination,
|
|
946
963
|
manualSorting: this.loader.manualSorting
|
|
947
964
|
});
|
|
948
|
-
const [
|
|
949
|
-
|
|
965
|
+
const [k, G] = H(
|
|
966
|
+
A ?? this.getStoredViewModeDefaultSetting() ?? "list"
|
|
950
967
|
);
|
|
951
|
-
this.viewMode =
|
|
952
|
-
|
|
968
|
+
this.viewMode = k, this.setViewMode = (p) => {
|
|
969
|
+
G(p), this.settingsStore && this.viewModeStorageKey && this.settingsStore.set(
|
|
953
970
|
"List",
|
|
954
971
|
this.viewModeStorageKey,
|
|
955
|
-
|
|
956
|
-
|
|
972
|
+
y.viewModeSettingsStorageSchema,
|
|
973
|
+
p
|
|
957
974
|
);
|
|
958
|
-
},
|
|
959
|
-
this.filters.forEach((
|
|
975
|
+
}, x(() => {
|
|
976
|
+
this.filters.forEach((p) => p.deleteUnknownFilterValues());
|
|
960
977
|
}, [this.filters]);
|
|
961
978
|
}
|
|
962
979
|
get isFiltered() {
|
|
@@ -966,20 +983,20 @@ let xs = (E = class {
|
|
|
966
983
|
return this.sorting.filter((t) => t.defaultEnabled !== "hidden");
|
|
967
984
|
}
|
|
968
985
|
static useNew(t) {
|
|
969
|
-
return new
|
|
986
|
+
return new y(t);
|
|
970
987
|
}
|
|
971
988
|
storeFilterDefaultSettings() {
|
|
972
989
|
if (this.settingsStore && this.filterSettingsStorageKey) {
|
|
973
990
|
const t = Object.fromEntries(
|
|
974
991
|
this.filters.map((e) => [
|
|
975
992
|
e.property,
|
|
976
|
-
e.getArrayValue().filter((
|
|
993
|
+
e.getArrayValue().filter((i) => i.isActive).map((i) => i.id)
|
|
977
994
|
])
|
|
978
995
|
);
|
|
979
996
|
this.settingsStore.set(
|
|
980
997
|
"List",
|
|
981
998
|
this.filterSettingsStorageKey,
|
|
982
|
-
|
|
999
|
+
U.settingsStorageSchema,
|
|
983
1000
|
t
|
|
984
1001
|
);
|
|
985
1002
|
}
|
|
@@ -989,7 +1006,7 @@ let xs = (E = class {
|
|
|
989
1006
|
return this.settingsStore.get(
|
|
990
1007
|
"List",
|
|
991
1008
|
this.filterSettingsStorageKey,
|
|
992
|
-
|
|
1009
|
+
U.settingsStorageSchema
|
|
993
1010
|
);
|
|
994
1011
|
}
|
|
995
1012
|
getStoredViewModeDefaultSetting() {
|
|
@@ -997,12 +1014,12 @@ let xs = (E = class {
|
|
|
997
1014
|
return this.settingsStore.get(
|
|
998
1015
|
"List",
|
|
999
1016
|
this.viewModeStorageKey,
|
|
1000
|
-
|
|
1017
|
+
y.viewModeSettingsStorageSchema
|
|
1001
1018
|
);
|
|
1002
1019
|
}
|
|
1003
1020
|
getSorting(t) {
|
|
1004
|
-
const e = this.sorting.find((
|
|
1005
|
-
return
|
|
1021
|
+
const e = this.sorting.find((i) => i.id === t);
|
|
1022
|
+
return Lt(!!e, `Could not get Sorting (ID: ${t})`), e;
|
|
1006
1023
|
}
|
|
1007
1024
|
clearSorting() {
|
|
1008
1025
|
return this.sorting.forEach((t) => t.clear());
|
|
@@ -1016,18 +1033,23 @@ let xs = (E = class {
|
|
|
1016
1033
|
useIsEmpty() {
|
|
1017
1034
|
return !this.loader.useIsLoading() && this.items.entries.length === 0;
|
|
1018
1035
|
}
|
|
1019
|
-
}, r(
|
|
1020
|
-
const
|
|
1021
|
-
items:
|
|
1022
|
-
isLoading:
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1036
|
+
}, r(y, "viewModeSettingsStorageSchema", R.enum(["list", "table", "tiles"]).optional()), y);
|
|
1037
|
+
const $s = "flow--list--items", Us = "flow--list--items--is-loading", Ks = "flow--list--items--tiles", Q = {
|
|
1038
|
+
items: $s,
|
|
1039
|
+
isLoading: Us,
|
|
1040
|
+
tiles: Ks
|
|
1041
|
+
}, zs = "flow--list--items--item", Os = "flow--list--items--item--is-selected", Hs = "flow--list--items--item--has-action", qs = "flow--list--items--item--tile", C = {
|
|
1042
|
+
item: zs,
|
|
1043
|
+
isSelected: Os,
|
|
1044
|
+
hasAction: Hs,
|
|
1045
|
+
tile: qs
|
|
1046
|
+
}, $t = () => {
|
|
1047
|
+
const t = f().viewMode === "tiles";
|
|
1048
|
+
return /* @__PURE__ */ s.createElement(Dt, null, t && /* @__PURE__ */ s.createElement(Pt, { style: { aspectRatio: 16 / 9 } }), /* @__PURE__ */ s.createElement(st, null, /* @__PURE__ */ s.createElement(z, { width: "200px" })), /* @__PURE__ */ s.createElement(P, null, /* @__PURE__ */ s.createElement(z, { width: "300px" })));
|
|
1049
|
+
}, Gs = (n) => {
|
|
1050
|
+
const { isExpanded: t, toggle: e, children: i, contentElementId: a } = n, o = I(v);
|
|
1051
|
+
return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(
|
|
1052
|
+
F,
|
|
1031
1053
|
{
|
|
1032
1054
|
variant: "plain",
|
|
1033
1055
|
color: "secondary",
|
|
@@ -1035,40 +1057,40 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", vt = {
|
|
|
1035
1057
|
"aria-label": o.format(
|
|
1036
1058
|
"list.toggleExpandButton." + (t ? "collapse" : "expand")
|
|
1037
1059
|
),
|
|
1038
|
-
"aria-controls":
|
|
1060
|
+
"aria-controls": a,
|
|
1039
1061
|
"aria-expanded": t
|
|
1040
1062
|
},
|
|
1041
|
-
t ? /* @__PURE__ */
|
|
1042
|
-
), t &&
|
|
1043
|
-
},
|
|
1044
|
-
var
|
|
1045
|
-
const { data: t, children: e } = n,
|
|
1046
|
-
((
|
|
1047
|
-
),
|
|
1048
|
-
if (
|
|
1049
|
-
var
|
|
1050
|
-
|
|
1051
|
-
}, [
|
|
1063
|
+
t ? /* @__PURE__ */ s.createElement(Be, null) : /* @__PURE__ */ s.createElement(ke, null)
|
|
1064
|
+
), t && i);
|
|
1065
|
+
}, js = (n) => {
|
|
1066
|
+
var M;
|
|
1067
|
+
const { data: t, children: e } = n, i = f(), a = i.itemView, o = i.onAction, [l, c] = H(
|
|
1068
|
+
((M = a == null ? void 0 : a.defaultExpanded) == null ? void 0 : M.call(a, t)) ?? !1
|
|
1069
|
+
), d = ie(), u = Ft(null), h = i.accordion, g = e ?? (a == null ? void 0 : a.render(t));
|
|
1070
|
+
if (x(() => {
|
|
1071
|
+
var b, k;
|
|
1072
|
+
h && ((b = u.current) == null || b.setAttribute("aria-expanded", String(l)), (k = u.current) == null || k.setAttribute("aria-controls", d));
|
|
1073
|
+
}, [l, d, u.current, h]), !h)
|
|
1052
1074
|
return {
|
|
1053
1075
|
gridItemProps: {
|
|
1054
1076
|
onAction: o ? () => {
|
|
1055
1077
|
o == null || o(t);
|
|
1056
1078
|
} : void 0
|
|
1057
1079
|
},
|
|
1058
|
-
children:
|
|
1080
|
+
children: g
|
|
1059
1081
|
};
|
|
1060
|
-
const
|
|
1061
|
-
|
|
1062
|
-
},
|
|
1082
|
+
const V = () => {
|
|
1083
|
+
c((b) => !b), o == null || o(t);
|
|
1084
|
+
}, A = {
|
|
1063
1085
|
Content: {
|
|
1064
|
-
id:
|
|
1065
|
-
wrapWith:
|
|
1066
|
-
(
|
|
1067
|
-
|
|
1086
|
+
id: K((b) => b.slot === "bottom" ? d : void 0),
|
|
1087
|
+
wrapWith: K(
|
|
1088
|
+
(b) => b.slot === "bottom" ? /* @__PURE__ */ s.createElement(
|
|
1089
|
+
Gs,
|
|
1068
1090
|
{
|
|
1069
|
-
contentElementId:
|
|
1070
|
-
toggle:
|
|
1071
|
-
isExpanded:
|
|
1091
|
+
contentElementId: d,
|
|
1092
|
+
toggle: V,
|
|
1093
|
+
isExpanded: l
|
|
1072
1094
|
}
|
|
1073
1095
|
) : void 0
|
|
1074
1096
|
)
|
|
@@ -1077,76 +1099,91 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", vt = {
|
|
|
1077
1099
|
return {
|
|
1078
1100
|
gridItemProps: {
|
|
1079
1101
|
ref: u,
|
|
1080
|
-
onAction:
|
|
1102
|
+
onAction: V
|
|
1081
1103
|
},
|
|
1082
|
-
children: /* @__PURE__ */
|
|
1083
|
-
|
|
1104
|
+
children: /* @__PURE__ */ s.createElement(
|
|
1105
|
+
_,
|
|
1084
1106
|
{
|
|
1085
|
-
props:
|
|
1086
|
-
dependencies: [
|
|
1107
|
+
props: A,
|
|
1108
|
+
dependencies: [d, l]
|
|
1087
1109
|
},
|
|
1088
|
-
|
|
1110
|
+
g
|
|
1089
1111
|
)
|
|
1090
1112
|
};
|
|
1091
|
-
},
|
|
1092
|
-
const { id: t, data: e } = n,
|
|
1093
|
-
if (!
|
|
1113
|
+
}, Ws = (n) => {
|
|
1114
|
+
const { id: t, data: e, tiles: i } = n, o = f().itemView, { gridItemProps: l, children: c } = js(n);
|
|
1115
|
+
if (!o)
|
|
1094
1116
|
return null;
|
|
1095
|
-
const d =
|
|
1096
|
-
return /* @__PURE__ */
|
|
1097
|
-
|
|
1117
|
+
const d = o.textValue ? o.textValue(e) : void 0, u = o.href ? o.href(e) : void 0, h = !!l.onAction || !!u;
|
|
1118
|
+
return /* @__PURE__ */ s.createElement(
|
|
1119
|
+
it.GridListItem,
|
|
1098
1120
|
{
|
|
1099
1121
|
id: t,
|
|
1100
|
-
className: (
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1122
|
+
className: (g) => L(
|
|
1123
|
+
C.item,
|
|
1124
|
+
h && C.hasAction,
|
|
1125
|
+
g.isSelected && C.isSelected,
|
|
1126
|
+
i && C.tile
|
|
1104
1127
|
),
|
|
1105
1128
|
textValue: d,
|
|
1106
|
-
href:
|
|
1107
|
-
...
|
|
1129
|
+
href: u,
|
|
1130
|
+
...l
|
|
1108
1131
|
},
|
|
1109
|
-
/* @__PURE__ */
|
|
1132
|
+
/* @__PURE__ */ s.createElement(ae, { fallback: /* @__PURE__ */ s.createElement($t, null) }, c)
|
|
1110
1133
|
);
|
|
1111
|
-
},
|
|
1112
|
-
const
|
|
1113
|
-
return /* @__PURE__ */
|
|
1114
|
-
|
|
1134
|
+
}, Js = (n) => {
|
|
1135
|
+
const { tiles: t, children: e } = n;
|
|
1136
|
+
return /* @__PURE__ */ s.createElement(
|
|
1137
|
+
it.GridListItem,
|
|
1138
|
+
{
|
|
1139
|
+
textValue: "-",
|
|
1140
|
+
className: L(C.item, C.fallbackItem, t && C.tile)
|
|
1141
|
+
},
|
|
1142
|
+
e
|
|
1143
|
+
);
|
|
1144
|
+
}, Z = () => {
|
|
1145
|
+
const n = I(v);
|
|
1146
|
+
return /* @__PURE__ */ s.createElement(xe, null, /* @__PURE__ */ s.createElement(De, null), /* @__PURE__ */ s.createElement(st, null, n.format("list.noResult.heading")), /* @__PURE__ */ s.createElement(P, null, n.format("list.noResult.text")));
|
|
1147
|
+
}, Ys = () => {
|
|
1115
1148
|
var e;
|
|
1116
|
-
const t = ((e =
|
|
1117
|
-
return Array.from(Array(5)).map((
|
|
1118
|
-
},
|
|
1119
|
-
const n =
|
|
1120
|
-
if (!
|
|
1149
|
+
const t = ((e = f().itemView) == null ? void 0 : e.fallback) ?? /* @__PURE__ */ s.createElement($t, null);
|
|
1150
|
+
return Array.from(Array(5)).map((i, a) => /* @__PURE__ */ s.createElement(Js, { key: a }, ne(t)));
|
|
1151
|
+
}, Et = (n) => {
|
|
1152
|
+
const { tiles: t } = n, e = f(), i = e.loader.useIsLoading(), a = e.loader.useIsInitiallyLoading();
|
|
1153
|
+
if (!e.itemView)
|
|
1121
1154
|
return null;
|
|
1122
|
-
const
|
|
1123
|
-
|
|
1124
|
-
|
|
1155
|
+
const o = e.items.entries.map((c) => /* @__PURE__ */ s.createElement(Ws, { key: c.id, data: c.data, id: c.id, tiles: t })), l = L(
|
|
1156
|
+
Q.items,
|
|
1157
|
+
i && Q.isLoading,
|
|
1158
|
+
t && Q.tiles
|
|
1159
|
+
);
|
|
1160
|
+
return /* @__PURE__ */ s.createElement("div", { "aria-hidden": a, "aria-busy": i }, /* @__PURE__ */ s.createElement(
|
|
1161
|
+
it.GridList,
|
|
1125
1162
|
{
|
|
1126
|
-
className:
|
|
1127
|
-
...
|
|
1128
|
-
renderEmptyState: () => /* @__PURE__ */
|
|
1163
|
+
className: l,
|
|
1164
|
+
...e.componentProps,
|
|
1165
|
+
renderEmptyState: () => /* @__PURE__ */ s.createElement(Z, null)
|
|
1129
1166
|
},
|
|
1130
|
-
|
|
1167
|
+
a ? /* @__PURE__ */ s.createElement(Ys, null) : o
|
|
1131
1168
|
));
|
|
1132
|
-
},
|
|
1133
|
-
footer:
|
|
1134
|
-
},
|
|
1135
|
-
const t = I(
|
|
1169
|
+
}, Ut = (n) => null, Qs = () => Ut, Kt = (n) => null, Xs = () => Kt, zt = (n) => null, Zs = () => zt, Ot = (n) => null, _s = () => Ot, Ht = (n) => null, ti = () => Ht, ei = "flow--list--footer", si = {
|
|
1170
|
+
footer: ei
|
|
1171
|
+
}, ii = (n) => {
|
|
1172
|
+
const t = I(v), e = f(), i = e.batches, a = e.loader.useIsInitiallyLoading(), o = e.useIsEmpty(), l = i.getTotalItemsCount(), c = i.getVisibleItemsCount();
|
|
1136
1173
|
if (o)
|
|
1137
1174
|
return null;
|
|
1138
|
-
const
|
|
1139
|
-
visibleItemsCount:
|
|
1140
|
-
totalItemsCount:
|
|
1175
|
+
const d = a ? /* @__PURE__ */ s.createElement(Pt, { width: "200px" }) : t.format("list.paginationInfo", {
|
|
1176
|
+
visibleItemsCount: c,
|
|
1177
|
+
totalItemsCount: l
|
|
1141
1178
|
});
|
|
1142
|
-
return /* @__PURE__ */
|
|
1143
|
-
},
|
|
1144
|
-
const t = I(
|
|
1145
|
-
return !e.batches.hasNextBatch() && !
|
|
1146
|
-
|
|
1179
|
+
return /* @__PURE__ */ s.createElement(P, { ...n }, d);
|
|
1180
|
+
}, ai = (n) => {
|
|
1181
|
+
const t = I(v), e = f(), i = e.loader.useIsLoading(), a = e.loader.useIsInitiallyLoading();
|
|
1182
|
+
return !e.batches.hasNextBatch() && !i ? null : /* @__PURE__ */ s.createElement(
|
|
1183
|
+
F,
|
|
1147
1184
|
{
|
|
1148
|
-
isPending:
|
|
1149
|
-
isDisabled:
|
|
1185
|
+
isPending: i && !a,
|
|
1186
|
+
isDisabled: a,
|
|
1150
1187
|
...n,
|
|
1151
1188
|
onPress: () => e.batches.nextBatch(),
|
|
1152
1189
|
variant: "plain",
|
|
@@ -1154,181 +1191,181 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", vt = {
|
|
|
1154
1191
|
},
|
|
1155
1192
|
t.format("list.showMore")
|
|
1156
1193
|
);
|
|
1157
|
-
},
|
|
1158
|
-
function
|
|
1194
|
+
}, ni = () => /* @__PURE__ */ s.createElement("div", { className: si.footer }, /* @__PURE__ */ s.createElement(ii, null), /* @__PURE__ */ s.createElement(ai, null));
|
|
1195
|
+
function qt(n) {
|
|
1159
1196
|
return null;
|
|
1160
1197
|
}
|
|
1161
|
-
const
|
|
1162
|
-
table:
|
|
1163
|
-
isLoading:
|
|
1164
|
-
row:
|
|
1165
|
-
isSelected:
|
|
1166
|
-
hasAction:
|
|
1167
|
-
},
|
|
1168
|
-
const n =
|
|
1198
|
+
const ri = () => qt, Gt = (n) => null, jt = (n) => null, Wt = (n) => null, oi = (n) => /* @__PURE__ */ s.createElement(Vt, { ...n }, /* @__PURE__ */ s.createElement(At, null, /* @__PURE__ */ s.createElement(Mt, null, /* @__PURE__ */ s.createElement(z, { width: "100%" }))), /* @__PURE__ */ s.createElement(kt, null, Array.from(Array(5)).map((t, e) => /* @__PURE__ */ s.createElement(Bt, { key: e }, /* @__PURE__ */ s.createElement(xt, null, /* @__PURE__ */ s.createElement(z, { width: "100%" })))))), li = "flow--list--table", ci = "flow--list--table--is-loading", di = "flow--list--table--row", ui = "flow--list--table--is-selected", mi = "flow--list--table--has-action", D = {
|
|
1199
|
+
table: li,
|
|
1200
|
+
isLoading: ci,
|
|
1201
|
+
row: di,
|
|
1202
|
+
isSelected: ui,
|
|
1203
|
+
hasAction: mi
|
|
1204
|
+
}, hi = () => {
|
|
1205
|
+
const n = f(), t = n.table, e = n.useIsEmpty(), i = n.loader.useIsLoading(), a = n.loader.useIsInitiallyLoading();
|
|
1169
1206
|
if (!t)
|
|
1170
1207
|
return null;
|
|
1171
|
-
if (
|
|
1172
|
-
return /* @__PURE__ */
|
|
1208
|
+
if (a)
|
|
1209
|
+
return /* @__PURE__ */ s.createElement(oi, { ...t.componentProps });
|
|
1173
1210
|
if (e)
|
|
1174
|
-
return /* @__PURE__ */
|
|
1175
|
-
const o = t.list.onAction,
|
|
1176
|
-
|
|
1177
|
-
|
|
1211
|
+
return /* @__PURE__ */ s.createElement(Z, null);
|
|
1212
|
+
const o = t.list.onAction, l = L(
|
|
1213
|
+
D.table,
|
|
1214
|
+
i && D.isLoading,
|
|
1178
1215
|
t.componentProps.className
|
|
1179
1216
|
);
|
|
1180
|
-
return /* @__PURE__ */
|
|
1181
|
-
|
|
1217
|
+
return /* @__PURE__ */ s.createElement(
|
|
1218
|
+
Vt,
|
|
1182
1219
|
{
|
|
1183
1220
|
...n.componentProps,
|
|
1184
1221
|
...t.componentProps,
|
|
1185
|
-
className:
|
|
1222
|
+
className: l
|
|
1186
1223
|
},
|
|
1187
|
-
/* @__PURE__ */
|
|
1188
|
-
/* @__PURE__ */
|
|
1189
|
-
|
|
1224
|
+
/* @__PURE__ */ s.createElement(At, { ...t.header.componentProps }, t.header.columns.map((c, d) => /* @__PURE__ */ s.createElement(Mt, { key: d, ...c.componentProps }))),
|
|
1225
|
+
/* @__PURE__ */ s.createElement(
|
|
1226
|
+
kt,
|
|
1190
1227
|
{
|
|
1191
1228
|
...t.body.componentProps,
|
|
1192
|
-
renderEmptyState: () => /* @__PURE__ */
|
|
1229
|
+
renderEmptyState: () => /* @__PURE__ */ s.createElement(Z, null)
|
|
1193
1230
|
},
|
|
1194
|
-
n.items.entries.map((
|
|
1195
|
-
var
|
|
1196
|
-
return /* @__PURE__ */
|
|
1197
|
-
|
|
1231
|
+
n.items.entries.map((c) => {
|
|
1232
|
+
var d;
|
|
1233
|
+
return /* @__PURE__ */ s.createElement(
|
|
1234
|
+
Bt,
|
|
1198
1235
|
{
|
|
1199
|
-
className: (u) =>
|
|
1200
|
-
|
|
1201
|
-
o &&
|
|
1236
|
+
className: (u) => L(
|
|
1237
|
+
D.row,
|
|
1238
|
+
o && D.hasAction,
|
|
1202
1239
|
t.body.row.componentProps.className,
|
|
1203
|
-
u.isSelected &&
|
|
1240
|
+
u.isSelected && D.isSelected
|
|
1204
1241
|
),
|
|
1205
|
-
key:
|
|
1206
|
-
id:
|
|
1207
|
-
onAction: o ? () => o(
|
|
1242
|
+
key: c.id,
|
|
1243
|
+
id: c.id,
|
|
1244
|
+
onAction: o ? () => o(c.data) : void 0,
|
|
1208
1245
|
...t.body.row.componentProps
|
|
1209
1246
|
},
|
|
1210
|
-
(
|
|
1247
|
+
(d = t.body.row) == null ? void 0 : d.cells.map((u, h) => /* @__PURE__ */ s.createElement(xt, { key: h, ...u.componentProps }, u.renderFn ? u.renderFn(c.data, n) : void 0))
|
|
1211
1248
|
);
|
|
1212
1249
|
})
|
|
1213
1250
|
)
|
|
1214
1251
|
);
|
|
1215
|
-
},
|
|
1216
|
-
var
|
|
1217
|
-
const { children: t, batchSize: e, onChange:
|
|
1252
|
+
}, Jt = (n) => null, Yt = (n) => null, Qt = (n) => null, gi = It("List", (n) => {
|
|
1253
|
+
var ot, lt, ct, dt, ut, mt, ht, gt, pt;
|
|
1254
|
+
const { children: t, batchSize: e, onChange: i, refProp: a, ...o } = n, l = (ot = E(
|
|
1218
1255
|
t,
|
|
1219
|
-
|
|
1220
|
-
)) == null ? void 0 :
|
|
1256
|
+
Ut
|
|
1257
|
+
)) == null ? void 0 : ot.props, c = (lt = E(
|
|
1221
1258
|
t,
|
|
1222
|
-
|
|
1223
|
-
)) == null ? void 0 :
|
|
1224
|
-
source:
|
|
1259
|
+
Re
|
|
1260
|
+
)) == null ? void 0 : lt.props, d = (ct = E(t, Ht)) == null ? void 0 : ct.props, u = {
|
|
1261
|
+
source: l ? {
|
|
1262
|
+
...l,
|
|
1263
|
+
asyncLoader: l.children
|
|
1264
|
+
} : c ? {
|
|
1225
1265
|
...c,
|
|
1226
|
-
|
|
1266
|
+
asyncResourceFactory: c.children
|
|
1227
1267
|
} : d ? {
|
|
1228
|
-
|
|
1229
|
-
asyncResourceFactory: d.children
|
|
1230
|
-
} : l ? {
|
|
1231
|
-
staticData: l.data
|
|
1268
|
+
staticData: d.data
|
|
1232
1269
|
} : void 0
|
|
1233
|
-
},
|
|
1234
|
-
(
|
|
1235
|
-
...
|
|
1236
|
-
name:
|
|
1270
|
+
}, h = (dt = E(t, qt)) == null ? void 0 : dt.props, g = (ut = E(t, Ot)) == null ? void 0 : ut.props, V = (mt = E(t, Jt)) == null ? void 0 : mt.props, A = N(t, Gt).map(
|
|
1271
|
+
(w) => ({
|
|
1272
|
+
...w.props,
|
|
1273
|
+
name: w.props.children
|
|
1237
1274
|
})
|
|
1238
|
-
),
|
|
1239
|
-
(
|
|
1240
|
-
...
|
|
1241
|
-
renderFn:
|
|
1275
|
+
), M = N(t, Wt).map(
|
|
1276
|
+
(w) => ({
|
|
1277
|
+
...w.props,
|
|
1278
|
+
renderFn: w.props.children
|
|
1242
1279
|
})
|
|
1243
|
-
),
|
|
1244
|
-
onChange:
|
|
1280
|
+
), b = (ht = E(t, jt)) == null ? void 0 : ht.props, k = (gt = E(t, Yt)) == null ? void 0 : gt.props, G = (pt = E(t, Qt)) == null ? void 0 : pt.props, p = Rs.useNew({
|
|
1281
|
+
onChange: i,
|
|
1245
1282
|
loader: u,
|
|
1246
|
-
filters:
|
|
1247
|
-
(
|
|
1248
|
-
...
|
|
1249
|
-
renderItem:
|
|
1283
|
+
filters: N(t, Kt).map(
|
|
1284
|
+
(w) => ({
|
|
1285
|
+
...w.props,
|
|
1286
|
+
renderItem: w.props.children
|
|
1250
1287
|
})
|
|
1251
1288
|
),
|
|
1252
|
-
search:
|
|
1253
|
-
render:
|
|
1254
|
-
textFieldProps:
|
|
1255
|
-
defaultValue:
|
|
1289
|
+
search: h ? {
|
|
1290
|
+
render: h.children,
|
|
1291
|
+
textFieldProps: h,
|
|
1292
|
+
defaultValue: h.defaultValue
|
|
1256
1293
|
} : void 0,
|
|
1257
|
-
sorting:
|
|
1258
|
-
itemView:
|
|
1259
|
-
...
|
|
1260
|
-
renderFn:
|
|
1294
|
+
sorting: N(t, zt).map((w) => w.props),
|
|
1295
|
+
itemView: g ? {
|
|
1296
|
+
...g,
|
|
1297
|
+
renderFn: g.children
|
|
1261
1298
|
} : void 0,
|
|
1262
|
-
table:
|
|
1299
|
+
table: A.length > 0 ? {
|
|
1263
1300
|
header: {
|
|
1264
|
-
...
|
|
1265
|
-
columns:
|
|
1301
|
+
...k,
|
|
1302
|
+
columns: A
|
|
1266
1303
|
},
|
|
1267
1304
|
body: {
|
|
1268
|
-
...
|
|
1305
|
+
...G,
|
|
1269
1306
|
row: {
|
|
1270
|
-
...
|
|
1271
|
-
cells:
|
|
1307
|
+
...b,
|
|
1308
|
+
cells: M
|
|
1272
1309
|
}
|
|
1273
1310
|
},
|
|
1274
|
-
...
|
|
1311
|
+
...V
|
|
1275
1312
|
} : void 0,
|
|
1276
1313
|
batchesController: {
|
|
1277
1314
|
batchSize: e
|
|
1278
1315
|
},
|
|
1279
1316
|
...o
|
|
1280
|
-
}),
|
|
1317
|
+
}), Xt = {
|
|
1281
1318
|
ActionGroup: {
|
|
1282
|
-
className:
|
|
1319
|
+
className: B.actions,
|
|
1283
1320
|
tunnelId: "actions",
|
|
1284
1321
|
ignoreBreakpoint: !0
|
|
1285
1322
|
},
|
|
1286
1323
|
ListSummary: {
|
|
1287
1324
|
tunnelId: "listSummary"
|
|
1288
1325
|
}
|
|
1289
|
-
},
|
|
1290
|
-
return /* @__PURE__ */
|
|
1291
|
-
|
|
1326
|
+
}, Zt = Ne(t, Ue);
|
|
1327
|
+
return /* @__PURE__ */ s.createElement(_, { props: Xt }, /* @__PURE__ */ s.createElement(Tt, null, /* @__PURE__ */ s.createElement(
|
|
1328
|
+
Nt.Provider,
|
|
1292
1329
|
{
|
|
1293
1330
|
value: {
|
|
1294
|
-
list:
|
|
1331
|
+
list: p
|
|
1295
1332
|
}
|
|
1296
1333
|
},
|
|
1297
|
-
/* @__PURE__ */
|
|
1298
|
-
/* @__PURE__ */
|
|
1334
|
+
/* @__PURE__ */ s.createElement(ss, null),
|
|
1335
|
+
/* @__PURE__ */ s.createElement("div", { className: Es.list, ref: a }, t, /* @__PURE__ */ s.createElement(vs, { hasActionGroup: Zt }), /* @__PURE__ */ s.createElement("div", null, p.items.entries.length > 0 && /* @__PURE__ */ s.createElement(S, { id: "listSummary" }), p.viewMode === "list" && /* @__PURE__ */ s.createElement(Et, null), p.viewMode === "tiles" && /* @__PURE__ */ s.createElement(Et, { tiles: !0 }), p.viewMode === "table" && /* @__PURE__ */ s.createElement(hi, null)), /* @__PURE__ */ s.createElement(ni, null))
|
|
1299
1336
|
)));
|
|
1300
|
-
}),
|
|
1301
|
-
List:
|
|
1302
|
-
Filter:
|
|
1303
|
-
Search:
|
|
1304
|
-
Sorting:
|
|
1305
|
-
Item:
|
|
1306
|
-
ItemView:
|
|
1307
|
-
TableHeader:
|
|
1308
|
-
TableColumn:
|
|
1309
|
-
TableBody:
|
|
1310
|
-
TableRow:
|
|
1311
|
-
TableCell:
|
|
1312
|
-
Table:
|
|
1313
|
-
StaticData:
|
|
1314
|
-
LoaderAsync:
|
|
1315
|
-
LoaderAsyncResource:
|
|
1337
|
+
}), pi = () => gi, ba = () => ({
|
|
1338
|
+
List: pi(),
|
|
1339
|
+
Filter: Xs(),
|
|
1340
|
+
Search: ri(),
|
|
1341
|
+
Sorting: Zs(),
|
|
1342
|
+
Item: _s(),
|
|
1343
|
+
ItemView: Dt,
|
|
1344
|
+
TableHeader: Yt,
|
|
1345
|
+
TableColumn: Gt,
|
|
1346
|
+
TableBody: Qt,
|
|
1347
|
+
TableRow: jt,
|
|
1348
|
+
TableCell: Wt,
|
|
1349
|
+
Table: Jt,
|
|
1350
|
+
StaticData: ti(),
|
|
1351
|
+
LoaderAsync: Qs(),
|
|
1352
|
+
LoaderAsyncResource: $e()
|
|
1316
1353
|
});
|
|
1317
1354
|
export {
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1355
|
+
gi as List,
|
|
1356
|
+
Kt as ListFilter,
|
|
1357
|
+
Ot as ListItem,
|
|
1358
|
+
Dt as ListItemView,
|
|
1359
|
+
Ut as ListLoaderAsync,
|
|
1360
|
+
zt as ListSorting,
|
|
1361
|
+
Ht as ListStaticData,
|
|
1362
|
+
da as ListSummary,
|
|
1363
|
+
pi as TypedList,
|
|
1364
|
+
Xs as TypedListFilter,
|
|
1365
|
+
_s as TypedListItem,
|
|
1366
|
+
Qs as TypedListLoaderAsync,
|
|
1367
|
+
Zs as TypedListSorting,
|
|
1368
|
+
ti as TypedListStaticData,
|
|
1369
|
+
ba as typedList,
|
|
1370
|
+
f as useList
|
|
1334
1371
|
};
|