@mittwald/flow-react-components 0.1.0-alpha.210 → 0.1.0-alpha.211
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/List.js +403 -393
- package/dist/types/components/List/List.d.ts +2 -5
- package/dist/types/components/List/components/Items/Items.d.ts +1 -3
- package/dist/types/components/List/model/List.d.ts +3 -2
- package/dist/types/components/List/model/item/ItemView.d.ts +0 -2
- package/dist/types/components/List/model/loading/types.d.ts +2 -0
- package/dist/types/components/List/model/table/TableRow.d.ts +3 -2
- package/dist/types/components/List/model/table/types.d.ts +2 -2
- package/dist/types/components/List/model/types.d.ts +8 -3
- package/dist/types/components/List/stories/Default.stories.d.ts +0 -1
- package/dist/types/components/List/typedList.d.ts +2 -2
- package/package.json +4 -4
package/dist/List.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var r = (
|
|
6
|
-
import n, { createContext as
|
|
3
|
+
var Ot = Object.defineProperty;
|
|
4
|
+
var Ht = (a, t, e) => t in a ? Ot(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
|
|
5
|
+
var r = (a, t, e) => Ht(a, typeof t != "symbol" ? t + "" : t, e);
|
|
6
|
+
import n, { createContext as qt, useContext as Kt, createElement as ot, useState as lt, useEffect as I, useRef as ct, cloneElement as Gt } from "react";
|
|
7
7
|
import "./propsContext-DzAKlmhS.js";
|
|
8
|
-
import { P as
|
|
8
|
+
import { P as jt } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
|
-
import { isShallowEqual as
|
|
11
|
-
import { d as
|
|
12
|
-
import { B as
|
|
10
|
+
import { isShallowEqual as _t, unique as Wt, times as Jt } from "remeda";
|
|
11
|
+
import { d as Yt } from "./dynamic-ClpUSmEt.js";
|
|
12
|
+
import { B as v } from "./Button-DQtavSbo.js";
|
|
13
13
|
import "@tabler/icons-react";
|
|
14
14
|
import "./Icon-DPoIVASu.js";
|
|
15
|
-
import { I as
|
|
16
|
-
import { a as A, C as
|
|
17
|
-
import { M as
|
|
18
|
-
import { useLocalizedStringFormatter as
|
|
19
|
-
import { TunnelProvider as
|
|
20
|
-
import
|
|
21
|
-
import { g as
|
|
22
|
-
import { f as
|
|
23
|
-
import { R as
|
|
24
|
-
import { T
|
|
25
|
-
import { I as
|
|
26
|
-
import { I as
|
|
27
|
-
import { makeObservable as
|
|
15
|
+
import { I as Qt } from "./IconContextMenu-jwoVcLvd.js";
|
|
16
|
+
import { a as A, C as R } from "./ContextMenuTrigger-DOCNHDwJ.js";
|
|
17
|
+
import { M as D } from "./MenuItem-DcfYvfPJ.js";
|
|
18
|
+
import { useLocalizedStringFormatter as E } from "react-aria";
|
|
19
|
+
import { TunnelProvider as Xt, TunnelExit as Z } from "@mittwald/react-tunnel";
|
|
20
|
+
import y from "clsx";
|
|
21
|
+
import { g as Zt } from "./getContainerBreakpointSizeClassName-BrcFDcCY.js";
|
|
22
|
+
import { f as te } from "./flowComponent-DHPUcYyM.js";
|
|
23
|
+
import { R as ee } from "./Render-BdlTa7Qb.js";
|
|
24
|
+
import { T } from "./Text-Sd5q3Yme.js";
|
|
25
|
+
import { I as dt } from "./IconChevronDown--OxZLX8L.js";
|
|
26
|
+
import { I as se } from "./IconClose-BFwPT_IX.js";
|
|
27
|
+
import { makeObservable as ae, observable as tt, computed as et, action as B, makeAutoObservable as ie } from "mobx";
|
|
28
28
|
import "./context-Cf7tqFtF.js";
|
|
29
|
-
import { u as
|
|
30
|
-
import { S as
|
|
31
|
-
import { H as
|
|
32
|
-
import { S as
|
|
33
|
-
import { I as
|
|
34
|
-
import { getProperty as
|
|
29
|
+
import { u as ne } from "./useOnChange-C1Quwyuz.js";
|
|
30
|
+
import { S as re } from "./SearchField-DstUFmq4.js";
|
|
31
|
+
import { H as $ } from "./Heading-BEC6iPfF.js";
|
|
32
|
+
import { S as oe } from "./Section-DTR9rFAc.js";
|
|
33
|
+
import { I as le } from "./IconSettings-CisOFpPV.js";
|
|
34
|
+
import { getProperty as ce } from "dot-prop";
|
|
35
35
|
import { observer as ut } from "mobx-react-lite";
|
|
36
|
-
import { hash as
|
|
37
|
-
import { useReactTable as
|
|
38
|
-
import
|
|
39
|
-
import { getAsyncResource as
|
|
40
|
-
import { u as
|
|
41
|
-
import * as
|
|
42
|
-
import { I as
|
|
43
|
-
import { I as
|
|
44
|
-
import { S as
|
|
45
|
-
import { d as b, a as
|
|
46
|
-
import { ListLoaderAsyncResource as
|
|
47
|
-
import { S as
|
|
48
|
-
import { T as
|
|
49
|
-
const
|
|
50
|
-
view:
|
|
51
|
-
title:
|
|
52
|
-
topContent:
|
|
53
|
-
content:
|
|
54
|
-
action:
|
|
55
|
-
avatar:
|
|
56
|
-
text:
|
|
57
|
-
heading:
|
|
36
|
+
import { hash as mt } from "object-code";
|
|
37
|
+
import { useReactTable as de, getCoreRowModel as ue, getSortedRowModel as me, getFilteredRowModel as he, getPaginationRowModel as pe, getFacetedUniqueValues as ge } from "@tanstack/react-table";
|
|
38
|
+
import ht from "invariant";
|
|
39
|
+
import { getAsyncResource as st } from "@mittwald/react-use-promise";
|
|
40
|
+
import { u as at } from "./useSelector-DpU7_HMO.js";
|
|
41
|
+
import * as z from "react-aria-components";
|
|
42
|
+
import { I as be } from "./IllustratedMessage-B3MHD01M.js";
|
|
43
|
+
import { I as fe } from "./IconSearch-C7VQTAqK.js";
|
|
44
|
+
import { S as P } from "./SkeletonText-B5ZghZhO.js";
|
|
45
|
+
import { d as b, a as C } from "./deepFindOfType-6pG0fH7S.js";
|
|
46
|
+
import { ListLoaderAsyncResource as Se, TypedListLoaderAsyncResource as we } from "./List/ListLoaderAsyncResource.js";
|
|
47
|
+
import { S as ve } from "./Skeleton-CKLaTmDR.js";
|
|
48
|
+
import { T as pt, d as gt, c as bt, a as ft, e as St, b as wt } from "./TableRow-BAVeHa5X.js";
|
|
49
|
+
const ye = "flow--list--items--item--view", Ee = "flow--list--items--item--view--title", Te = "flow--list--items--item--view--top-content", Ce = "flow--list--items--item--view--content", Fe = "flow--list--items--item--view--action", Le = "flow--list--items--item--view--avatar", Ie = "flow--list--items--item--view--text", Pe = "flow--list--items--item--view--heading", m = {
|
|
50
|
+
view: ye,
|
|
51
|
+
title: Ee,
|
|
52
|
+
topContent: Te,
|
|
53
|
+
content: Ce,
|
|
54
|
+
action: Fe,
|
|
55
|
+
avatar: Le,
|
|
56
|
+
text: Ie,
|
|
57
|
+
heading: Pe,
|
|
58
58
|
"container-breakpoint-size-xs": "flow--list--items--item--view--container-breakpoint-size-xs",
|
|
59
59
|
"container-breakpoint-size-s": "flow--list--items--item--view--container-breakpoint-size-s",
|
|
60
60
|
"container-breakpoint-size-m": "flow--list--items--item--view--container-breakpoint-size-m",
|
|
@@ -64,9 +64,9 @@ const ve = "flow--list--items--item--view", ye = "flow--list--items--item--view-
|
|
|
64
64
|
"list.noResult.heading": "Keine Suchergebnisse gefunden",
|
|
65
65
|
"list.noResult.text": "Deine Suche ergab keine Ergebnisse. Bitte passe die Suchanfrage oder deine Filter an.",
|
|
66
66
|
"list.options": "Optionen",
|
|
67
|
-
"list.paginationInfo": (
|
|
67
|
+
"list.paginationInfo": (a) => `${a.visibleItemsCount} von insgesamt ${a.totalItemsCount} angezeigt`,
|
|
68
68
|
"list.resetAll": "Alles zurücksetzen",
|
|
69
|
-
"list.setSorting": (
|
|
69
|
+
"list.setSorting": (a) => `Sortierung: ${a.property}`,
|
|
70
70
|
"list.settings": "Einstellungen",
|
|
71
71
|
"list.settings.viewMode": "Ansicht",
|
|
72
72
|
"list.settings.viewMode.list": "Liste",
|
|
@@ -77,79 +77,79 @@ const ve = "flow--list--items--item--view", ye = "flow--list--items--item--view-
|
|
|
77
77
|
"list.noResult.heading": "No search results found",
|
|
78
78
|
"list.noResult.text": "Your search did not return any results. Please adjust the search query or your filters.",
|
|
79
79
|
"list.options": "Options",
|
|
80
|
-
"list.paginationInfo": (
|
|
80
|
+
"list.paginationInfo": (a) => `Showing ${a.visibleItemsCount} of ${a.totalItemsCount}`,
|
|
81
81
|
"list.resetAll": "Reset filters",
|
|
82
|
-
"list.setSorting": (
|
|
82
|
+
"list.setSorting": (a) => `Sorting: ${a.property}`,
|
|
83
83
|
"list.settings": "Settings",
|
|
84
84
|
"list.settings.viewMode": "View",
|
|
85
85
|
"list.settings.viewMode.list": "List",
|
|
86
86
|
"list.settings.viewMode.table": "Table",
|
|
87
87
|
"list.showMore": "Show more",
|
|
88
88
|
"list.sorting": "Sorting"
|
|
89
|
-
} },
|
|
90
|
-
const { className: t, children: e } =
|
|
89
|
+
} }, ke = (a) => {
|
|
90
|
+
const { className: t, children: e } = a, s = E(f);
|
|
91
91
|
return /* @__PURE__ */ n.createElement(A, null, /* @__PURE__ */ n.createElement(
|
|
92
|
-
|
|
92
|
+
v,
|
|
93
93
|
{
|
|
94
94
|
variant: "plain",
|
|
95
95
|
className: t,
|
|
96
96
|
"aria-label": s.format("list.options")
|
|
97
97
|
},
|
|
98
|
-
/* @__PURE__ */ n.createElement(
|
|
98
|
+
/* @__PURE__ */ n.createElement(Qt, null)
|
|
99
99
|
), e);
|
|
100
|
-
},
|
|
101
|
-
const { children: t, className: e, containerBreakpointSize: s = "m" } =
|
|
100
|
+
}, Ae = (a) => a === "top" ? m.topContent : a === "bottom" ? m.content : m.topContent, vt = (a) => {
|
|
101
|
+
const { children: t, className: e, containerBreakpointSize: s = "m" } = a, i = {
|
|
102
102
|
ContextMenu: {
|
|
103
|
-
wrapWith: /* @__PURE__ */ n.createElement(
|
|
103
|
+
wrapWith: /* @__PURE__ */ n.createElement(ke, { className: m.action }),
|
|
104
104
|
placement: "bottom end"
|
|
105
105
|
},
|
|
106
106
|
Button: {
|
|
107
|
-
className:
|
|
107
|
+
className: m.action
|
|
108
108
|
},
|
|
109
109
|
ActionGroup: {
|
|
110
|
-
className:
|
|
110
|
+
className: m.action,
|
|
111
111
|
ignoreBreakpoint: !0
|
|
112
112
|
},
|
|
113
113
|
Content: {
|
|
114
|
-
className:
|
|
114
|
+
className: Yt((l) => Ae(l.slot)),
|
|
115
115
|
tunnelId: "topContent"
|
|
116
116
|
},
|
|
117
117
|
Avatar: {
|
|
118
|
-
className:
|
|
118
|
+
className: m.avatar,
|
|
119
119
|
tunnelId: "title"
|
|
120
120
|
},
|
|
121
121
|
Heading: {
|
|
122
|
-
className:
|
|
122
|
+
className: m.heading,
|
|
123
123
|
level: 5,
|
|
124
124
|
tunnelId: "title"
|
|
125
125
|
},
|
|
126
126
|
Text: {
|
|
127
|
-
className:
|
|
127
|
+
className: m.text,
|
|
128
128
|
tunnelId: "title"
|
|
129
129
|
},
|
|
130
130
|
Link: {
|
|
131
131
|
unstyled: !0
|
|
132
132
|
}
|
|
133
|
-
}, o =
|
|
134
|
-
|
|
133
|
+
}, o = y(
|
|
134
|
+
m.view,
|
|
135
135
|
e,
|
|
136
|
-
|
|
136
|
+
m[Zt(s)]
|
|
137
137
|
);
|
|
138
|
-
return /* @__PURE__ */ n.createElement("div", { className: o }, /* @__PURE__ */ n.createElement(
|
|
139
|
-
},
|
|
138
|
+
return /* @__PURE__ */ n.createElement("div", { className: o }, /* @__PURE__ */ n.createElement(jt, { props: i }, /* @__PURE__ */ n.createElement(Xt, null, t, /* @__PURE__ */ n.createElement("div", { className: m.title }, /* @__PURE__ */ n.createElement(Z, { id: "title" })), /* @__PURE__ */ n.createElement(Z, { id: "topContent" }))));
|
|
139
|
+
}, yt = qt({}), h = () => Kt(yt).list, Ve = () => h().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ n.createElement(ee, { key: e }, () => {
|
|
140
140
|
t();
|
|
141
|
-
})),
|
|
142
|
-
const { sorting: t } =
|
|
143
|
-
return /* @__PURE__ */ n.createElement(
|
|
144
|
-
},
|
|
145
|
-
const { children: t, locales: e, variables: s } =
|
|
146
|
-
return
|
|
147
|
-
},
|
|
148
|
-
const
|
|
141
|
+
})), Be = (a) => {
|
|
142
|
+
const { sorting: t } = a;
|
|
143
|
+
return /* @__PURE__ */ n.createElement(D, { id: t.id }, t.name);
|
|
144
|
+
}, M = (a) => {
|
|
145
|
+
const { children: t, locales: e, variables: s } = a;
|
|
146
|
+
return E(e).format(t, s);
|
|
147
|
+
}, Me = () => {
|
|
148
|
+
const a = h(), t = a.visibleSorting.map((i) => /* @__PURE__ */ n.createElement(Be, { sorting: i, key: i.id }));
|
|
149
149
|
if (t.length === 0)
|
|
150
150
|
return null;
|
|
151
|
-
const e =
|
|
152
|
-
|
|
151
|
+
const e = a.visibleSorting.find((i) => i.isSorted()), s = /* @__PURE__ */ n.createElement(T, null, e ? /* @__PURE__ */ n.createElement(
|
|
152
|
+
M,
|
|
153
153
|
{
|
|
154
154
|
locales: f,
|
|
155
155
|
variables: {
|
|
@@ -157,21 +157,21 @@ const ve = "flow--list--items--item--view", ye = "flow--list--items--item--view-
|
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
"list.setSorting"
|
|
160
|
-
) : /* @__PURE__ */ n.createElement(
|
|
161
|
-
return /* @__PURE__ */ n.createElement(A, null, /* @__PURE__ */ n.createElement(
|
|
162
|
-
|
|
160
|
+
) : /* @__PURE__ */ n.createElement(M, { locales: f }, "list.sorting"));
|
|
161
|
+
return /* @__PURE__ */ n.createElement(A, null, /* @__PURE__ */ n.createElement(v, { variant: "soft", size: "s", color: "secondary" }, s, /* @__PURE__ */ n.createElement(dt, null)), /* @__PURE__ */ n.createElement(
|
|
162
|
+
R,
|
|
163
163
|
{
|
|
164
164
|
selectionMode: "single",
|
|
165
165
|
selectedKeys: e ? [e.id] : [],
|
|
166
|
-
onAction: (
|
|
167
|
-
|
|
166
|
+
onAction: (i) => {
|
|
167
|
+
a.getSorting(String(i)).enable();
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
t
|
|
171
171
|
));
|
|
172
|
-
},
|
|
173
|
-
const { filter: t } =
|
|
174
|
-
|
|
172
|
+
}, Ne = (a) => {
|
|
173
|
+
const { filter: t } = a, { values: e, mode: s, name: i, property: o } = t, l = e.map((c) => /* @__PURE__ */ n.createElement(
|
|
174
|
+
D,
|
|
175
175
|
{
|
|
176
176
|
id: c.id,
|
|
177
177
|
key: c.id,
|
|
@@ -180,107 +180,107 @@ const ve = "flow--list--items--item--view", ye = "flow--list--items--item--view-
|
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
c.render()
|
|
183
|
-
)),
|
|
184
|
-
return /* @__PURE__ */ n.createElement(A, null, /* @__PURE__ */ n.createElement(
|
|
185
|
-
|
|
183
|
+
)), d = e.filter((c) => c.isActive).map((c) => c.id);
|
|
184
|
+
return /* @__PURE__ */ n.createElement(A, null, /* @__PURE__ */ n.createElement(v, { variant: "soft", size: "s", color: "secondary" }, /* @__PURE__ */ n.createElement(T, null, i ?? o), /* @__PURE__ */ n.createElement(dt, null)), /* @__PURE__ */ n.createElement(
|
|
185
|
+
R,
|
|
186
186
|
{
|
|
187
187
|
selectionMode: s === "one" ? "single" : "multiple",
|
|
188
|
-
selectedKeys:
|
|
188
|
+
selectedKeys: d
|
|
189
189
|
},
|
|
190
190
|
l
|
|
191
191
|
));
|
|
192
|
-
},
|
|
193
|
-
header:
|
|
194
|
-
pickerListAndSearch:
|
|
195
|
-
pickerList:
|
|
196
|
-
searchField:
|
|
197
|
-
},
|
|
198
|
-
activeFilters:
|
|
199
|
-
clearButton:
|
|
200
|
-
},
|
|
201
|
-
const
|
|
192
|
+
}, xe = "flow--list--header", Re = "flow--list--header--picker-list-and-search", De = "flow--list--header--picker-list", $e = "flow--list--header--search-field", F = {
|
|
193
|
+
header: xe,
|
|
194
|
+
pickerListAndSearch: Re,
|
|
195
|
+
pickerList: De,
|
|
196
|
+
searchField: $e
|
|
197
|
+
}, ze = "flow--list--header--active-filters", Ue = "flow--list--header--active-filters--clear-button", it = {
|
|
198
|
+
activeFilters: ze,
|
|
199
|
+
clearButton: Ue
|
|
200
|
+
}, Oe = () => {
|
|
201
|
+
const a = h(), t = a.filters.flatMap(
|
|
202
202
|
(e) => e.values.filter((s) => s.isActive).map((s) => /* @__PURE__ */ n.createElement(
|
|
203
|
-
|
|
203
|
+
v,
|
|
204
204
|
{
|
|
205
205
|
variant: "soft",
|
|
206
206
|
size: "s",
|
|
207
207
|
key: s.id,
|
|
208
208
|
onPress: () => s.deactivate()
|
|
209
209
|
},
|
|
210
|
-
/* @__PURE__ */ n.createElement(
|
|
211
|
-
/* @__PURE__ */ n.createElement(
|
|
210
|
+
/* @__PURE__ */ n.createElement(T, null, s.render()),
|
|
211
|
+
/* @__PURE__ */ n.createElement(se, null)
|
|
212
212
|
))
|
|
213
213
|
);
|
|
214
|
-
return t.length <= 0 ? null : /* @__PURE__ */ n.createElement("div", { className:
|
|
215
|
-
|
|
214
|
+
return t.length <= 0 ? null : /* @__PURE__ */ n.createElement("div", { className: it.activeFilters }, t, /* @__PURE__ */ n.createElement(
|
|
215
|
+
v,
|
|
216
216
|
{
|
|
217
|
-
className:
|
|
217
|
+
className: it.clearButton,
|
|
218
218
|
size: "s",
|
|
219
219
|
variant: "plain",
|
|
220
|
-
onPress: () =>
|
|
220
|
+
onPress: () => a.clearFilters()
|
|
221
221
|
},
|
|
222
|
-
/* @__PURE__ */ n.createElement(
|
|
222
|
+
/* @__PURE__ */ n.createElement(M, { locales: f }, "list.resetAll")
|
|
223
223
|
));
|
|
224
|
-
},
|
|
225
|
-
const { className: t, onChange: e, value: s, ...
|
|
226
|
-
|
|
224
|
+
}, He = (a) => {
|
|
225
|
+
const { className: t, onChange: e, value: s, ...i } = a, [o, l] = lt(s ?? "");
|
|
226
|
+
ne(s, () => {
|
|
227
227
|
l(s ?? "");
|
|
228
228
|
}, [o]);
|
|
229
|
-
const
|
|
229
|
+
const d = () => {
|
|
230
230
|
e(void 0), l("");
|
|
231
|
-
}, c = (
|
|
232
|
-
|
|
231
|
+
}, c = (u) => {
|
|
232
|
+
u.key === "Enter" ? o.trim() === "" ? e(void 0) : e(o) : u.key === "Escape" && d();
|
|
233
233
|
};
|
|
234
234
|
return /* @__PURE__ */ n.createElement(
|
|
235
|
-
|
|
235
|
+
re,
|
|
236
236
|
{
|
|
237
237
|
className: t,
|
|
238
238
|
value: o,
|
|
239
239
|
onKeyUp: c,
|
|
240
|
-
onChange: (
|
|
241
|
-
onClear:
|
|
242
|
-
...
|
|
240
|
+
onChange: (u) => l(u),
|
|
241
|
+
onClear: d,
|
|
242
|
+
...i
|
|
243
243
|
}
|
|
244
244
|
);
|
|
245
|
-
},
|
|
246
|
-
const { className: t, search: e } =
|
|
247
|
-
return
|
|
245
|
+
}, qe = (a) => {
|
|
246
|
+
const { className: t, search: e } = a, s = e.render ?? He;
|
|
247
|
+
return ot(s, {
|
|
248
248
|
className: t,
|
|
249
249
|
value: e.value,
|
|
250
250
|
onChange: e.setValue.bind(e),
|
|
251
251
|
...e.textFieldProps
|
|
252
252
|
});
|
|
253
|
-
},
|
|
254
|
-
const
|
|
253
|
+
}, Ke = ut(() => {
|
|
254
|
+
const a = E(f), t = h(), e = t.viewMode, s = [];
|
|
255
255
|
return t.itemView && s.push("list"), t.table && s.push("table"), s.length <= 1 ? null : /* @__PURE__ */ n.createElement(A, null, /* @__PURE__ */ n.createElement(
|
|
256
|
-
|
|
256
|
+
v,
|
|
257
257
|
{
|
|
258
258
|
variant: "plain",
|
|
259
259
|
color: "secondary",
|
|
260
|
-
"aria-label":
|
|
260
|
+
"aria-label": a.format("list.settings")
|
|
261
261
|
},
|
|
262
|
-
/* @__PURE__ */ n.createElement(
|
|
263
|
-
), /* @__PURE__ */ n.createElement(
|
|
264
|
-
|
|
262
|
+
/* @__PURE__ */ n.createElement(le, null)
|
|
263
|
+
), /* @__PURE__ */ n.createElement(R, { selectionMode: "single", selectedKeys: [e] }, /* @__PURE__ */ n.createElement(oe, null, /* @__PURE__ */ n.createElement($, null, a.format("list.settings.viewMode")), s.map((i) => /* @__PURE__ */ n.createElement(
|
|
264
|
+
D,
|
|
265
265
|
{
|
|
266
|
-
id:
|
|
267
|
-
key:
|
|
266
|
+
id: i,
|
|
267
|
+
key: i,
|
|
268
268
|
onAction: () => {
|
|
269
|
-
t.setViewMode(
|
|
269
|
+
t.setViewMode(i);
|
|
270
270
|
}
|
|
271
271
|
},
|
|
272
|
-
|
|
272
|
+
a.format(`list.settings.viewMode.${i}`)
|
|
273
273
|
)))));
|
|
274
|
-
}),
|
|
275
|
-
const { className: t } =
|
|
274
|
+
}), Ge = (a) => {
|
|
275
|
+
const { className: t } = a, e = h();
|
|
276
276
|
if (e.filters.length === 0 && e.visibleSorting.length === 0 && !e.search)
|
|
277
277
|
return null;
|
|
278
|
-
const s = e.filters.map((
|
|
279
|
-
return /* @__PURE__ */ n.createElement("div", { className:
|
|
280
|
-
},
|
|
281
|
-
list:
|
|
278
|
+
const s = e.filters.map((i) => /* @__PURE__ */ n.createElement(Ne, { key: i.property, filter: i }));
|
|
279
|
+
return /* @__PURE__ */ n.createElement("div", { className: y(t, F.header) }, /* @__PURE__ */ n.createElement("div", { className: F.pickerListAndSearch }, /* @__PURE__ */ n.createElement("div", { className: F.pickerList }, /* @__PURE__ */ n.createElement(Me, null), s), e.search && /* @__PURE__ */ n.createElement(qe, { className: F.searchField, search: e.search }), /* @__PURE__ */ n.createElement(Ke, null)), /* @__PURE__ */ n.createElement(Oe, null));
|
|
280
|
+
}, je = "flow--list", _e = {
|
|
281
|
+
list: je
|
|
282
282
|
};
|
|
283
|
-
let
|
|
283
|
+
let We = class Et {
|
|
284
284
|
constructor(t, e, s) {
|
|
285
285
|
r(this, "id");
|
|
286
286
|
r(this, "data");
|
|
@@ -288,25 +288,25 @@ let _e = class vt {
|
|
|
288
288
|
this.collection = t, this.id = e, this.data = s;
|
|
289
289
|
}
|
|
290
290
|
static fromRow(t, e) {
|
|
291
|
-
return new
|
|
291
|
+
return new Et(t, e.id, e.original);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
|
-
class
|
|
294
|
+
class Je {
|
|
295
295
|
constructor(t) {
|
|
296
296
|
r(this, "list");
|
|
297
297
|
this.list = t;
|
|
298
298
|
}
|
|
299
299
|
get entries() {
|
|
300
|
-
return this.list.reactTable.table.getRowModel().rows.map((t) =>
|
|
300
|
+
return this.list.reactTable.table.getRowModel().rows.map((t) => We.fromRow(this, t));
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
class
|
|
303
|
+
class Ye {
|
|
304
304
|
constructor(t, e = {}) {
|
|
305
305
|
r(this, "batchSize");
|
|
306
306
|
r(this, "list");
|
|
307
|
-
var
|
|
307
|
+
var i;
|
|
308
308
|
const { batchSize: s = 20 } = e;
|
|
309
|
-
this.list = t, this.batchSize = s, t.filters.forEach((o) => o.onFilterUpdated(() => this.reset())), (
|
|
309
|
+
this.list = t, this.batchSize = s, t.filters.forEach((o) => o.onFilterUpdated(() => this.reset())), (i = t.search) == null || i.onUpdated(() => this.reset());
|
|
310
310
|
}
|
|
311
311
|
get reactTable() {
|
|
312
312
|
return this.list.reactTable.table;
|
|
@@ -347,8 +347,8 @@ class Je {
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
const
|
|
351
|
-
class
|
|
350
|
+
const Qe = "$";
|
|
351
|
+
class nt {
|
|
352
352
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
353
353
|
constructor(t, e) {
|
|
354
354
|
r(this, "filter");
|
|
@@ -356,10 +356,10 @@ class it {
|
|
|
356
356
|
this.filter = t, this.value = e;
|
|
357
357
|
}
|
|
358
358
|
equals(t) {
|
|
359
|
-
return
|
|
359
|
+
return _t(this.value, t.value);
|
|
360
360
|
}
|
|
361
361
|
get id() {
|
|
362
|
-
return `${this.filter.property}@@${
|
|
362
|
+
return `${this.filter.property}@@${mt(this.value)}`;
|
|
363
363
|
}
|
|
364
364
|
get isActive() {
|
|
365
365
|
return this.filter.isValueActive(this);
|
|
@@ -374,8 +374,8 @@ class it {
|
|
|
374
374
|
this.filter.deactivateValue(this);
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
const
|
|
378
|
-
class
|
|
377
|
+
const Xe = (a, t) => a === t, Ze = (a) => String(a);
|
|
378
|
+
class ts {
|
|
379
379
|
constructor(t, e) {
|
|
380
380
|
r(this, "_values");
|
|
381
381
|
r(this, "_valuesFromTableState");
|
|
@@ -387,28 +387,28 @@ class Ze {
|
|
|
387
387
|
r(this, "name");
|
|
388
388
|
r(this, "onFilterUpdateCallbacks", /* @__PURE__ */ new Set());
|
|
389
389
|
var s;
|
|
390
|
-
this.list = t, this.property = e.property, this.mode = e.mode ?? "one", this._values = (s = e.values) == null ? void 0 : s.map((
|
|
390
|
+
this.list = t, this.property = e.property, this.mode = e.mode ?? "one", this._values = (s = e.values) == null ? void 0 : s.map((i) => new nt(this, i)), this.matcher = e.matcher ?? Xe, this.renderItem = e.renderItem ?? Ze, this.name = e.name;
|
|
391
391
|
}
|
|
392
392
|
updateTableColumnDef(t) {
|
|
393
393
|
t.enableColumnFilter = !0, t.filterFn = this.getReactTableFilterFn();
|
|
394
394
|
}
|
|
395
395
|
getReactTableFilterFn() {
|
|
396
396
|
return (t, e, s) => {
|
|
397
|
-
const
|
|
397
|
+
const i = this.property, o = i.startsWith(Qe) ? t.original : ce(t.original, i);
|
|
398
398
|
return this.checkFilterMatches(o, s);
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
401
|
checkFilterMatches(t, e) {
|
|
402
402
|
if (e === null)
|
|
403
403
|
return !0;
|
|
404
|
-
const s = (o) => Array.isArray(o) ? o : [o],
|
|
404
|
+
const s = (o) => Array.isArray(o) ? o : [o], i = (o) => this.matcher(o.value, t);
|
|
405
405
|
if (this.mode === "all")
|
|
406
|
-
return s(e).every(
|
|
406
|
+
return s(e).every(i);
|
|
407
407
|
if (this.mode === "some") {
|
|
408
408
|
const o = s(e);
|
|
409
|
-
return o.length === 0 || o.some(
|
|
409
|
+
return o.length === 0 || o.some(i);
|
|
410
410
|
} else if (this.mode === "one")
|
|
411
|
-
return
|
|
411
|
+
return i(e);
|
|
412
412
|
throw new Error(`Unknown filter mode '${this.mode}'`);
|
|
413
413
|
}
|
|
414
414
|
getTableColumnFilter() {
|
|
@@ -422,9 +422,9 @@ class Ze {
|
|
|
422
422
|
return ((t = this.getTableColumnFilter()) == null ? void 0 : t.value) ?? null;
|
|
423
423
|
}
|
|
424
424
|
getValuesFromTableState() {
|
|
425
|
-
return
|
|
425
|
+
return Wt(
|
|
426
426
|
Array.from(this.getTableColumn().getFacetedUniqueValues().keys()).flatMap((t) => t).filter((t) => t != null)
|
|
427
|
-
).map((t) => new
|
|
427
|
+
).map((t) => new nt(this, t));
|
|
428
428
|
}
|
|
429
429
|
checkIfValueIsUnknown(t) {
|
|
430
430
|
return !this.values.some((s) => s.id === t.id);
|
|
@@ -453,7 +453,7 @@ class Ze {
|
|
|
453
453
|
deactivateValue(t) {
|
|
454
454
|
const e = this.getArrayValue();
|
|
455
455
|
let s;
|
|
456
|
-
this.mode === "all" || this.mode === "some" ? s = e.filter((
|
|
456
|
+
this.mode === "all" || this.mode === "some" ? s = e.filter((i) => !i.equals(t)) : s = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(s), this.onFilterUpdateCallbacks.forEach((i) => i());
|
|
457
457
|
}
|
|
458
458
|
clearValues() {
|
|
459
459
|
let t;
|
|
@@ -462,13 +462,13 @@ class Ze {
|
|
|
462
462
|
toggleValue(t) {
|
|
463
463
|
const e = this.getArrayValue();
|
|
464
464
|
let s;
|
|
465
|
-
this.mode === "all" || this.mode === "some" ? t.isActive ? s = e.filter((
|
|
465
|
+
this.mode === "all" || this.mode === "some" ? t.isActive ? s = e.filter((i) => !i.equals(t)) : s = [...e, t] : s = t.isActive ? null : t, this.list.reactTable.getTableColumn(this.property).setFilterValue(s), this.onFilterUpdateCallbacks.forEach((i) => i());
|
|
466
466
|
}
|
|
467
467
|
onFilterUpdated(t) {
|
|
468
468
|
this.onFilterUpdateCallbacks.add(t);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
class
|
|
471
|
+
class es {
|
|
472
472
|
constructor(t, e) {
|
|
473
473
|
r(this, "list");
|
|
474
474
|
r(this, "property");
|
|
@@ -502,25 +502,25 @@ class ts {
|
|
|
502
502
|
return `${this.getTableColumn().id}:${this.direction}`;
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class U {
|
|
506
506
|
constructor(t, e, s = {}) {
|
|
507
507
|
r(this, "list");
|
|
508
508
|
r(this, "table");
|
|
509
509
|
r(this, "sortingState");
|
|
510
510
|
r(this, "updateSortingState");
|
|
511
511
|
this.list = t;
|
|
512
|
-
const
|
|
513
|
-
(
|
|
514
|
-
), [o, l] =
|
|
515
|
-
|
|
512
|
+
const i = this.list.sorting.filter(
|
|
513
|
+
(d) => d.defaultEnabled !== !1
|
|
514
|
+
), [o, l] = lt(
|
|
515
|
+
i.map((d) => d.getReactTableColumnSort())
|
|
516
516
|
);
|
|
517
517
|
this.sortingState = o, this.updateSortingState = l, this.table = this.useReactTable(e, s);
|
|
518
518
|
}
|
|
519
519
|
static useNew(t, e, s = {}) {
|
|
520
|
-
return new
|
|
520
|
+
return new U(t, e, s);
|
|
521
521
|
}
|
|
522
522
|
useReactTable(t, e = {}) {
|
|
523
|
-
const s = this.list.loader.useData(),
|
|
523
|
+
const s = this.list.loader.useData(), i = de({
|
|
524
524
|
data: s,
|
|
525
525
|
state: {
|
|
526
526
|
sorting: this.sortingState
|
|
@@ -533,23 +533,23 @@ class z {
|
|
|
533
533
|
columns: this.getTableColumnDefs(),
|
|
534
534
|
getCoreRowModel: ue(),
|
|
535
535
|
getSortedRowModel: me(),
|
|
536
|
-
getFilteredRowModel:
|
|
537
|
-
getPaginationRowModel:
|
|
538
|
-
getFacetedUniqueValues:
|
|
536
|
+
getFilteredRowModel: he(),
|
|
537
|
+
getPaginationRowModel: pe(),
|
|
538
|
+
getFacetedUniqueValues: ge(),
|
|
539
539
|
onSortingChange: (o) => {
|
|
540
540
|
this.handleSortingStateUpdate(o);
|
|
541
541
|
},
|
|
542
542
|
globalFilterFn: "auto",
|
|
543
543
|
...e
|
|
544
544
|
});
|
|
545
|
-
return
|
|
545
|
+
return I(() => {
|
|
546
546
|
t && t(this.list);
|
|
547
|
-
}, [this.list, t,
|
|
547
|
+
}, [this.list, t, i]), i;
|
|
548
548
|
}
|
|
549
549
|
handleSortingStateUpdate(t) {
|
|
550
550
|
const e = typeof t == "function" ? t(this.sortingState) : t, s = this.list.sorting.filter(
|
|
551
|
-
(
|
|
552
|
-
).map((
|
|
551
|
+
(i) => i.defaultEnabled === "hidden" && !e.some((o) => o.id === i.property)
|
|
552
|
+
).map((i) => i.getReactTableColumnSort());
|
|
553
553
|
this.updateSortingState([...s, ...e]);
|
|
554
554
|
}
|
|
555
555
|
get searchString() {
|
|
@@ -557,13 +557,13 @@ class z {
|
|
|
557
557
|
}
|
|
558
558
|
getTableColumn(t) {
|
|
559
559
|
const e = this.table.getColumn(t);
|
|
560
|
-
return
|
|
560
|
+
return ht(!!e, `Column #${t} is not defined`), e;
|
|
561
561
|
}
|
|
562
562
|
getTableColumnDefs() {
|
|
563
563
|
const t = /* @__PURE__ */ new Map(), e = (s) => {
|
|
564
|
-
const
|
|
565
|
-
if (
|
|
566
|
-
return
|
|
564
|
+
const i = t.get(s);
|
|
565
|
+
if (i)
|
|
566
|
+
return i;
|
|
567
567
|
const o = {
|
|
568
568
|
id: s,
|
|
569
569
|
accessorKey: s,
|
|
@@ -579,26 +579,26 @@ class z {
|
|
|
579
579
|
), Array.from(t.values());
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
class
|
|
582
|
+
class O {
|
|
583
583
|
constructor() {
|
|
584
584
|
r(this, "dataBatches", []);
|
|
585
585
|
r(this, "prevDataBatches", []);
|
|
586
586
|
r(this, "batchLoadingStates", ["void"]);
|
|
587
|
-
|
|
587
|
+
ae(this, {
|
|
588
588
|
prevDataBatches: !1,
|
|
589
589
|
useMergedData: !1,
|
|
590
590
|
useIsLoading: !1,
|
|
591
|
-
dataBatches:
|
|
592
|
-
batchLoadingStates:
|
|
593
|
-
mergedData:
|
|
594
|
-
isLoading:
|
|
595
|
-
reset:
|
|
596
|
-
setDataBatch:
|
|
597
|
-
setBatchLoadingState:
|
|
591
|
+
dataBatches: tt.shallow,
|
|
592
|
+
batchLoadingStates: tt.shallow,
|
|
593
|
+
mergedData: et,
|
|
594
|
+
isLoading: et,
|
|
595
|
+
reset: B.bound,
|
|
596
|
+
setDataBatch: B.bound,
|
|
597
|
+
setBatchLoadingState: B.bound
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
600
|
static useNew() {
|
|
601
|
-
return
|
|
601
|
+
return ct(new O()).current;
|
|
602
602
|
}
|
|
603
603
|
reset() {
|
|
604
604
|
this.batchLoadingStates = [], this.dataBatches = [];
|
|
@@ -613,17 +613,17 @@ class U {
|
|
|
613
613
|
return (this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches).flatMap((e) => e);
|
|
614
614
|
}
|
|
615
615
|
useMergedData() {
|
|
616
|
-
return
|
|
616
|
+
return at(() => this.mergedData);
|
|
617
617
|
}
|
|
618
618
|
get isLoading() {
|
|
619
619
|
return this.batchLoadingStates.some((t) => t === "loading" || t === "void");
|
|
620
620
|
}
|
|
621
621
|
useIsLoading() {
|
|
622
|
-
return
|
|
622
|
+
return at(() => this.isLoading);
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
const
|
|
626
|
-
class
|
|
625
|
+
const ss = [];
|
|
626
|
+
class H {
|
|
627
627
|
constructor(t, e = {}) {
|
|
628
628
|
r(this, "list");
|
|
629
629
|
r(this, "dataSource");
|
|
@@ -631,14 +631,14 @@ class O {
|
|
|
631
631
|
r(this, "manualFiltering");
|
|
632
632
|
r(this, "manualPagination");
|
|
633
633
|
r(this, "loaderState");
|
|
634
|
-
var
|
|
634
|
+
var d;
|
|
635
635
|
const { source: s } = e;
|
|
636
|
-
this.dataSource = s ?? { staticData:
|
|
637
|
-
const
|
|
638
|
-
this.list = t, this.loaderState =
|
|
636
|
+
this.dataSource = s ?? { staticData: ss };
|
|
637
|
+
const i = "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;
|
|
638
|
+
this.list = t, this.loaderState = O.useNew(), this.manualPagination = i ?? !1, this.manualFiltering = o ?? this.manualPagination, this.manualSorting = l ?? this.manualPagination, this.list.filters.forEach((c) => c.onFilterUpdated(() => this.reset())), (d = this.list.search) == null || d.onUpdated(() => this.reset());
|
|
639
639
|
}
|
|
640
640
|
static useNew(t, e = {}) {
|
|
641
|
-
return new
|
|
641
|
+
return new H(t, e);
|
|
642
642
|
}
|
|
643
643
|
reset() {
|
|
644
644
|
this.loaderState.reset();
|
|
@@ -653,7 +653,7 @@ class O {
|
|
|
653
653
|
return this.loaderState.useMergedData();
|
|
654
654
|
}
|
|
655
655
|
getLoaderInvocationHooks() {
|
|
656
|
-
return
|
|
656
|
+
return Jt(this.list.batches.getBatchIndex() + 1, (e) => e).map((e) => () => {
|
|
657
657
|
this.useLoadBatch(e);
|
|
658
658
|
});
|
|
659
659
|
}
|
|
@@ -664,7 +664,7 @@ class O {
|
|
|
664
664
|
}), this.useObserveBatchData(e, t), this.useObserveBatchLoadingState(e, t);
|
|
665
665
|
}
|
|
666
666
|
useObserveBatchLoadingState(t, e) {
|
|
667
|
-
|
|
667
|
+
I(() => (this.loaderState.setBatchLoadingState(
|
|
668
668
|
e,
|
|
669
669
|
t.state.value
|
|
670
670
|
), t.state.observe((s) => {
|
|
@@ -672,12 +672,12 @@ class O {
|
|
|
672
672
|
})), [t, e]);
|
|
673
673
|
}
|
|
674
674
|
useObserveBatchData(t, e) {
|
|
675
|
-
const s = (
|
|
676
|
-
const { data: o, itemTotalCount: l } =
|
|
675
|
+
const s = (i) => {
|
|
676
|
+
const { data: o, itemTotalCount: l } = i;
|
|
677
677
|
this.loaderState.setDataBatch(e, o), l !== void 0 && this.list.batches.updateItemTotalCount(l);
|
|
678
678
|
};
|
|
679
|
-
|
|
680
|
-
|
|
679
|
+
I(() => (t.value.value.isSet && s(t.value.value.value), t.value.observe((i) => {
|
|
680
|
+
i.isSet && s(i.value);
|
|
681
681
|
})), [t, e]);
|
|
682
682
|
}
|
|
683
683
|
getDataLoaderOptions(t) {
|
|
@@ -704,25 +704,27 @@ class O {
|
|
|
704
704
|
getBatchDataAsyncResource(t) {
|
|
705
705
|
const e = this.dataSource, s = this.getDataLoaderOptions(t);
|
|
706
706
|
if ("staticData" in e)
|
|
707
|
-
return
|
|
708
|
-
async (
|
|
709
|
-
data:
|
|
710
|
-
itemTotalCount:
|
|
707
|
+
return st(
|
|
708
|
+
async (i) => ({
|
|
709
|
+
data: i,
|
|
710
|
+
itemTotalCount: i.length
|
|
711
711
|
}),
|
|
712
712
|
[e.staticData]
|
|
713
713
|
);
|
|
714
714
|
if ("asyncLoader" in e) {
|
|
715
|
-
const
|
|
716
|
-
return
|
|
715
|
+
const i = e.asyncLoader, o = e.dependencies, l = o ? mt(o).toString() : void 0;
|
|
716
|
+
return st(i, [s], {
|
|
717
|
+
loaderId: l
|
|
718
|
+
});
|
|
717
719
|
}
|
|
718
720
|
if ("asyncResourceFactory" in e) {
|
|
719
|
-
const
|
|
720
|
-
return
|
|
721
|
+
const i = e.asyncResourceFactory;
|
|
722
|
+
return i(s);
|
|
721
723
|
}
|
|
722
724
|
throw new Error("Unknown data source");
|
|
723
725
|
}
|
|
724
726
|
}
|
|
725
|
-
class
|
|
727
|
+
class as {
|
|
726
728
|
constructor(t, e) {
|
|
727
729
|
r(this, "list");
|
|
728
730
|
r(this, "render");
|
|
@@ -749,71 +751,70 @@ class ss {
|
|
|
749
751
|
this.onUpdateCallbacks.add(t);
|
|
750
752
|
}
|
|
751
753
|
}
|
|
752
|
-
const
|
|
754
|
+
const k = class k {
|
|
753
755
|
constructor(t, e = {}) {
|
|
754
756
|
r(this, "list");
|
|
755
757
|
r(this, "textValue");
|
|
756
758
|
r(this, "href");
|
|
757
|
-
r(this, "onAction");
|
|
758
759
|
r(this, "fallback");
|
|
759
760
|
r(this, "renderFn");
|
|
760
|
-
const {
|
|
761
|
-
this.list = t, this.textValue =
|
|
761
|
+
const { fallback: s, textValue: i, href: o, renderFn: l } = e;
|
|
762
|
+
this.list = t, this.textValue = i, this.renderFn = l, this.href = o, this.fallback = s;
|
|
762
763
|
}
|
|
763
764
|
render(t) {
|
|
764
|
-
return (this.renderFn ??
|
|
765
|
+
return (this.renderFn ?? k.fallbackRenderItemFn)(t);
|
|
765
766
|
}
|
|
766
767
|
};
|
|
767
|
-
r(
|
|
768
|
-
let
|
|
768
|
+
r(k, "fallbackRenderItemFn", (t) => ot("pre", void 0, JSON.stringify(t)));
|
|
769
|
+
let N = k, is = class {
|
|
769
770
|
constructor(t, e = {}) {
|
|
770
771
|
r(this, "tableHeader");
|
|
771
772
|
r(this, "componentProps");
|
|
772
773
|
this.tableHeader = t, this.componentProps = e;
|
|
773
774
|
}
|
|
774
|
-
},
|
|
775
|
+
}, ns = class {
|
|
775
776
|
constructor(t, e = {}) {
|
|
776
777
|
r(this, "table");
|
|
777
778
|
r(this, "componentProps");
|
|
778
779
|
r(this, "columns");
|
|
779
|
-
const { columns: s = [], ...
|
|
780
|
-
this.table = t, this.columns = s.map((o) => new
|
|
780
|
+
const { columns: s = [], ...i } = e;
|
|
781
|
+
this.table = t, this.columns = s.map((o) => new is(this, o)), this.componentProps = i;
|
|
781
782
|
}
|
|
782
|
-
},
|
|
783
|
+
}, rs = class {
|
|
783
784
|
constructor(t, e = {}) {
|
|
784
785
|
r(this, "row");
|
|
785
786
|
r(this, "renderFn");
|
|
786
787
|
r(this, "componentProps");
|
|
787
|
-
const { renderFn: s, ...
|
|
788
|
-
this.row = t, this.renderFn = s, this.componentProps =
|
|
788
|
+
const { renderFn: s, ...i } = e;
|
|
789
|
+
this.row = t, this.renderFn = s, this.componentProps = i;
|
|
789
790
|
}
|
|
790
|
-
},
|
|
791
|
+
}, os = class {
|
|
791
792
|
constructor(t, e = {}) {
|
|
792
793
|
r(this, "tableBody");
|
|
793
794
|
r(this, "onAction");
|
|
794
795
|
r(this, "cells");
|
|
795
796
|
r(this, "componentProps");
|
|
796
|
-
const { onAction: s, cells:
|
|
797
|
-
this.tableBody = t, this.onAction = s, this.cells =
|
|
797
|
+
const { onAction: s, cells: i = [], ...o } = e;
|
|
798
|
+
this.tableBody = t, this.onAction = s, this.cells = i.map((l) => new rs(this, l)), this.componentProps = o;
|
|
798
799
|
}
|
|
799
|
-
},
|
|
800
|
+
}, ls = class {
|
|
800
801
|
constructor(t, e = {}) {
|
|
801
802
|
r(this, "table");
|
|
802
803
|
r(this, "componentProps");
|
|
803
804
|
r(this, "row");
|
|
804
|
-
const { row: s, ...
|
|
805
|
-
this.table = t, this.row = new
|
|
805
|
+
const { row: s, ...i } = e;
|
|
806
|
+
this.table = t, this.row = new os(this, s), this.componentProps = i;
|
|
806
807
|
}
|
|
807
|
-
},
|
|
808
|
+
}, cs = class {
|
|
808
809
|
constructor(t, e = {}) {
|
|
809
810
|
r(this, "list");
|
|
810
811
|
r(this, "header");
|
|
811
812
|
r(this, "body");
|
|
812
813
|
r(this, "componentProps");
|
|
813
|
-
const { header: s, body:
|
|
814
|
-
this.list = t, this.header = new
|
|
814
|
+
const { header: s, body: i, ...o } = e;
|
|
815
|
+
this.list = t, this.header = new ns(this, s), this.body = new ls(this, i), this.componentProps = o;
|
|
815
816
|
}
|
|
816
|
-
},
|
|
817
|
+
}, ds = class Tt {
|
|
817
818
|
constructor(t) {
|
|
818
819
|
r(this, "filters");
|
|
819
820
|
r(this, "itemView");
|
|
@@ -824,27 +825,31 @@ let M = I, as = class {
|
|
|
824
825
|
r(this, "reactTable");
|
|
825
826
|
r(this, "batches");
|
|
826
827
|
r(this, "loader");
|
|
827
|
-
r(this, "
|
|
828
|
+
r(this, "onAction");
|
|
829
|
+
r(this, "componentProps");
|
|
828
830
|
r(this, "viewMode", "list");
|
|
829
831
|
const {
|
|
830
832
|
itemView: e,
|
|
831
833
|
table: s,
|
|
832
|
-
filters:
|
|
834
|
+
filters: i = [],
|
|
833
835
|
sorting: o = [],
|
|
834
836
|
batchesController: l,
|
|
835
|
-
|
|
836
|
-
|
|
837
|
+
onChange: d,
|
|
838
|
+
loader: c,
|
|
839
|
+
search: u,
|
|
840
|
+
onAction: g,
|
|
841
|
+
...S
|
|
837
842
|
} = t;
|
|
838
|
-
this.items = new
|
|
843
|
+
this.items = new Je(this), this.filters = i.map((w) => new ts(this, w)), this.sorting = o.map((w) => new es(this, w)), this.search = u ? new as(this, u) : void 0, this.itemView = e ? new N(this, e) : void 0, this.table = s ? new cs(this, s) : void 0, this.batches = new Ye(this, l), this.componentProps = S, this.loader = H.useNew(this, c), this.onAction = g, this.reactTable = U.useNew(this, d, {
|
|
839
844
|
manualFiltering: this.loader.manualFiltering,
|
|
840
845
|
manualPagination: this.loader.manualPagination,
|
|
841
846
|
manualSorting: this.loader.manualSorting
|
|
842
|
-
}),
|
|
843
|
-
this.filters.forEach((
|
|
844
|
-
}, [this.filters]),
|
|
847
|
+
}), I(() => {
|
|
848
|
+
this.filters.forEach((w) => w.deleteUnknownFilterValues());
|
|
849
|
+
}, [this.filters]), ie(this, { viewMode: !0, setViewMode: !0 });
|
|
845
850
|
}
|
|
846
851
|
static useNew(t) {
|
|
847
|
-
return
|
|
852
|
+
return ct(new Tt(t)).current;
|
|
848
853
|
}
|
|
849
854
|
get isFiltered() {
|
|
850
855
|
return this.filters.some((t) => t.isActive()) || !!this.search && this.search.isSet;
|
|
@@ -854,7 +859,7 @@ let M = I, as = class {
|
|
|
854
859
|
}
|
|
855
860
|
getSorting(t) {
|
|
856
861
|
const e = this.sorting.find((s) => s.id === t);
|
|
857
|
-
return
|
|
862
|
+
return ht(!!e, `Could not get Sorting (ID: ${t})`), e;
|
|
858
863
|
}
|
|
859
864
|
clearSorting() {
|
|
860
865
|
return this.sorting.forEach((t) => t.clear());
|
|
@@ -870,222 +875,227 @@ let M = I, as = class {
|
|
|
870
875
|
this.viewMode = t;
|
|
871
876
|
}
|
|
872
877
|
};
|
|
873
|
-
const us = "flow--list--items", ms = "flow--list--items--is-loading",
|
|
878
|
+
const us = "flow--list--items", ms = "flow--list--items--is-loading", rt = {
|
|
874
879
|
items: us,
|
|
875
880
|
isLoading: ms
|
|
876
|
-
},
|
|
877
|
-
item:
|
|
878
|
-
hasAction:
|
|
879
|
-
},
|
|
880
|
-
const { data: t, children: e } =
|
|
881
|
-
if (!
|
|
881
|
+
}, hs = "flow--list--items--item", ps = "flow--list--items--item--has-action", x = {
|
|
882
|
+
item: hs,
|
|
883
|
+
hasAction: ps
|
|
884
|
+
}, gs = (a) => {
|
|
885
|
+
const { data: t, children: e } = a, i = h().itemView;
|
|
886
|
+
if (!i)
|
|
882
887
|
return null;
|
|
883
|
-
const o =
|
|
888
|
+
const o = i.list.onAction, l = i.textValue ? i.textValue(t) : void 0, d = i.href ? i.href(t) : void 0, c = !!o || !!d, u = y(x.item, c && x.hasAction);
|
|
884
889
|
return /* @__PURE__ */ n.createElement(
|
|
885
|
-
|
|
890
|
+
z.GridListItem,
|
|
886
891
|
{
|
|
887
|
-
className:
|
|
888
|
-
onAction:
|
|
892
|
+
className: u,
|
|
893
|
+
onAction: () => o && o(t),
|
|
889
894
|
textValue: l,
|
|
890
|
-
href:
|
|
895
|
+
href: d
|
|
891
896
|
},
|
|
892
|
-
e ??
|
|
897
|
+
e ?? i.render(t)
|
|
893
898
|
);
|
|
894
|
-
},
|
|
895
|
-
const
|
|
896
|
-
return /* @__PURE__ */ n.createElement(
|
|
897
|
-
},
|
|
899
|
+
}, bs = (a) => /* @__PURE__ */ n.createElement(z.GridListItem, { textValue: "-", className: x.item }, a.children), Ct = () => {
|
|
900
|
+
const a = E(f);
|
|
901
|
+
return /* @__PURE__ */ n.createElement(be, null, /* @__PURE__ */ n.createElement(fe, null), /* @__PURE__ */ n.createElement($, null, a.format("list.noResult.heading")), /* @__PURE__ */ n.createElement(T, null, a.format("list.noResult.text")));
|
|
902
|
+
}, fs = () => /* @__PURE__ */ n.createElement(vt, null, /* @__PURE__ */ n.createElement($, null, /* @__PURE__ */ n.createElement(P, { width: "200px" })), /* @__PURE__ */ n.createElement(T, null, /* @__PURE__ */ n.createElement(P, { width: "300px" }))), Ss = () => {
|
|
898
903
|
var e;
|
|
899
|
-
const t = ((e = h().itemView) == null ? void 0 : e.fallback) ?? /* @__PURE__ */ n.createElement(
|
|
900
|
-
return Array.from(Array(5)).map((s,
|
|
901
|
-
},
|
|
902
|
-
const
|
|
903
|
-
if (!
|
|
904
|
+
const t = ((e = h().itemView) == null ? void 0 : e.fallback) ?? /* @__PURE__ */ n.createElement(fs, null);
|
|
905
|
+
return Array.from(Array(5)).map((s, i) => /* @__PURE__ */ n.createElement(bs, { key: i }, Gt(t)));
|
|
906
|
+
}, ws = () => {
|
|
907
|
+
const a = h(), t = a.loader.useIsLoading(), e = a.loader.useIsInitiallyLoading(), s = a.useIsEmpty();
|
|
908
|
+
if (!a.itemView)
|
|
904
909
|
return null;
|
|
905
|
-
const
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}, Tt = (i) => null, ws = () => Tt, Ct = (i) => null, vs = () => Ct, Ft = (i) => null, ys = () => Ft, Lt = (i) => null, Es = () => Lt, It = (i) => null, Ts = () => It, Cs = "flow--list--footer", Fs = {
|
|
912
|
-
footer: Cs
|
|
913
|
-
}, Ls = (i) => {
|
|
914
|
-
const t = v(f), e = h(), s = e.batches, a = e.loader.useIsInitiallyLoading(), o = e.useIsEmpty(), l = s.getTotalItemsCount(), u = s.getVisibleItemsCount();
|
|
910
|
+
const i = a.items.entries.map((l) => /* @__PURE__ */ n.createElement(gs, { key: l.id, data: l.data })), o = y(rt.items, t && rt.isLoading);
|
|
911
|
+
return s ? /* @__PURE__ */ n.createElement(Ct, null) : /* @__PURE__ */ n.createElement("div", { "aria-hidden": e, "aria-busy": t }, /* @__PURE__ */ n.createElement(z.GridList, { className: o, ...a.componentProps }, e ? /* @__PURE__ */ n.createElement(Ss, null) : i));
|
|
912
|
+
}, Ft = (a) => null, vs = () => Ft, Lt = (a) => null, ys = () => Lt, It = (a) => null, Es = () => It, Pt = (a) => null, Ts = () => Pt, kt = (a) => null, Cs = () => kt, Fs = "flow--list--footer", Ls = {
|
|
913
|
+
footer: Fs
|
|
914
|
+
}, Is = (a) => {
|
|
915
|
+
const t = E(f), e = h(), s = e.batches, i = e.loader.useIsInitiallyLoading(), o = e.useIsEmpty(), l = s.getTotalItemsCount(), d = s.getVisibleItemsCount();
|
|
915
916
|
if (o)
|
|
916
917
|
return null;
|
|
917
|
-
const c =
|
|
918
|
-
visibleItemsCount:
|
|
918
|
+
const c = i ? /* @__PURE__ */ n.createElement(ve, { width: "200px" }) : t.format("list.paginationInfo", {
|
|
919
|
+
visibleItemsCount: d,
|
|
919
920
|
totalItemsCount: l
|
|
920
921
|
});
|
|
921
|
-
return /* @__PURE__ */ n.createElement(
|
|
922
|
-
},
|
|
923
|
-
const t =
|
|
922
|
+
return /* @__PURE__ */ n.createElement(T, { ...a }, c);
|
|
923
|
+
}, Ps = (a) => {
|
|
924
|
+
const t = E(f), e = h(), s = e.loader.useIsLoading(), i = e.loader.useIsInitiallyLoading();
|
|
924
925
|
return !e.batches.hasNextBatch() && !s ? null : /* @__PURE__ */ n.createElement(
|
|
925
|
-
|
|
926
|
+
v,
|
|
926
927
|
{
|
|
927
|
-
isPending: s && !
|
|
928
|
-
isDisabled:
|
|
929
|
-
...
|
|
928
|
+
isPending: s && !i,
|
|
929
|
+
isDisabled: i,
|
|
930
|
+
...a,
|
|
930
931
|
onPress: () => e.batches.nextBatch(),
|
|
931
932
|
variant: "plain",
|
|
932
933
|
size: "s"
|
|
933
934
|
},
|
|
934
935
|
t.format("list.showMore")
|
|
935
936
|
);
|
|
936
|
-
},
|
|
937
|
-
function At(
|
|
937
|
+
}, ks = () => /* @__PURE__ */ n.createElement("div", { className: Ls.footer }, /* @__PURE__ */ n.createElement(Is, null), /* @__PURE__ */ n.createElement(Ps, null));
|
|
938
|
+
function At(a) {
|
|
938
939
|
return null;
|
|
939
940
|
}
|
|
940
|
-
const
|
|
941
|
-
table:
|
|
942
|
-
isLoading:
|
|
943
|
-
row:
|
|
944
|
-
hasAction:
|
|
945
|
-
},
|
|
946
|
-
const
|
|
941
|
+
const As = () => At, Vt = (a) => null, Bt = (a) => null, Mt = (a) => null, Vs = (a) => /* @__PURE__ */ n.createElement(pt, { ...a }, /* @__PURE__ */ n.createElement(gt, null, /* @__PURE__ */ n.createElement(bt, null, /* @__PURE__ */ n.createElement(P, { width: "100%" }))), /* @__PURE__ */ n.createElement(ft, null, Array.from(Array(5)).map((t, e) => /* @__PURE__ */ n.createElement(St, { key: e }, /* @__PURE__ */ n.createElement(wt, null, /* @__PURE__ */ n.createElement(P, { width: "100%" })))))), Bs = "flow--list--table", Ms = "flow--list--table--is-loading", Ns = "flow--list--table--row", xs = "flow--list--table--has-action", L = {
|
|
942
|
+
table: Bs,
|
|
943
|
+
isLoading: Ms,
|
|
944
|
+
row: Ns,
|
|
945
|
+
hasAction: xs
|
|
946
|
+
}, Rs = () => {
|
|
947
|
+
const a = h(), t = a.table, e = a.useIsEmpty(), s = a.loader.useIsLoading(), i = a.loader.useIsInitiallyLoading();
|
|
947
948
|
if (!t)
|
|
948
949
|
return null;
|
|
949
|
-
if (
|
|
950
|
-
return /* @__PURE__ */ n.createElement(
|
|
950
|
+
if (i)
|
|
951
|
+
return /* @__PURE__ */ n.createElement(Vs, { ...t.componentProps });
|
|
951
952
|
if (e)
|
|
952
|
-
return /* @__PURE__ */ n.createElement(
|
|
953
|
-
const o = t.body.row.onAction, l =
|
|
954
|
-
|
|
955
|
-
o &&
|
|
953
|
+
return /* @__PURE__ */ n.createElement(Ct, null);
|
|
954
|
+
const o = t.body.row.onAction, l = y(
|
|
955
|
+
L.row,
|
|
956
|
+
o && L.hasAction,
|
|
956
957
|
t.body.row.componentProps.className
|
|
957
|
-
),
|
|
958
|
-
|
|
959
|
-
s &&
|
|
958
|
+
), d = y(
|
|
959
|
+
L.table,
|
|
960
|
+
s && L.isLoading,
|
|
960
961
|
t.componentProps.className
|
|
961
962
|
);
|
|
962
|
-
return /* @__PURE__ */ n.createElement(
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
963
|
+
return /* @__PURE__ */ n.createElement(
|
|
964
|
+
pt,
|
|
965
|
+
{
|
|
966
|
+
...a.componentProps,
|
|
967
|
+
...t.componentProps,
|
|
968
|
+
className: d
|
|
969
|
+
},
|
|
970
|
+
/* @__PURE__ */ n.createElement(gt, { ...t.header.componentProps }, t.header.columns.map((c, u) => /* @__PURE__ */ n.createElement(bt, { key: u, ...c.componentProps }))),
|
|
971
|
+
/* @__PURE__ */ n.createElement(ft, { ...t.body.componentProps }, a.items.entries.map((c) => {
|
|
972
|
+
var u;
|
|
973
|
+
return /* @__PURE__ */ n.createElement(
|
|
974
|
+
St,
|
|
975
|
+
{
|
|
976
|
+
className: l,
|
|
977
|
+
key: c.id,
|
|
978
|
+
onAction: o ? () => o(c.data) : void 0,
|
|
979
|
+
...t.body.row.componentProps
|
|
980
|
+
},
|
|
981
|
+
(u = t.body.row) == null ? void 0 : u.cells.map((g, S) => /* @__PURE__ */ n.createElement(wt, { key: S, ...g.componentProps }, g.renderFn ? g.renderFn(c.data) : void 0))
|
|
982
|
+
);
|
|
983
|
+
}))
|
|
984
|
+
);
|
|
985
|
+
}, Nt = (a) => null, xt = (a) => null, Rt = (a) => null, Ds = te(
|
|
976
986
|
"List",
|
|
977
|
-
ut((
|
|
978
|
-
var
|
|
979
|
-
const { children: t, batchSize: e, onChange: s, ...
|
|
987
|
+
ut((a) => {
|
|
988
|
+
var K, G, j, _, W, J, Y, Q, X;
|
|
989
|
+
const { children: t, batchSize: e, onChange: s, refProp: i, ...o } = a, l = (K = b(
|
|
980
990
|
t,
|
|
981
|
-
|
|
982
|
-
)) == null ? void 0 :
|
|
991
|
+
Ft
|
|
992
|
+
)) == null ? void 0 : K.props, d = (G = b(
|
|
983
993
|
t,
|
|
984
|
-
|
|
985
|
-
)) == null ? void 0 :
|
|
994
|
+
Se
|
|
995
|
+
)) == null ? void 0 : G.props, c = (j = b(
|
|
986
996
|
t,
|
|
987
|
-
|
|
988
|
-
)) == null ? void 0 :
|
|
989
|
-
source:
|
|
990
|
-
...o,
|
|
991
|
-
asyncLoader: o.children
|
|
992
|
-
} : l ? {
|
|
997
|
+
kt
|
|
998
|
+
)) == null ? void 0 : j.props, u = {
|
|
999
|
+
source: l ? {
|
|
993
1000
|
...l,
|
|
994
|
-
|
|
995
|
-
} :
|
|
996
|
-
|
|
1001
|
+
asyncLoader: l.children
|
|
1002
|
+
} : d ? {
|
|
1003
|
+
...d,
|
|
1004
|
+
asyncResourceFactory: d.children
|
|
1005
|
+
} : c ? {
|
|
1006
|
+
staticData: c.data
|
|
997
1007
|
} : void 0
|
|
998
|
-
},
|
|
1008
|
+
}, g = (_ = b(t, At)) == null ? void 0 : _.props, S = (W = b(t, Pt)) == null ? void 0 : W.props, w = (J = b(t, Nt)) == null ? void 0 : J.props, q = C(t, Vt).map(
|
|
999
1009
|
(p) => ({
|
|
1000
1010
|
...p.props,
|
|
1001
1011
|
name: p.props.children
|
|
1002
1012
|
})
|
|
1003
|
-
),
|
|
1013
|
+
), Dt = C(t, Mt).map(
|
|
1004
1014
|
(p) => ({
|
|
1005
1015
|
...p.props,
|
|
1006
1016
|
renderFn: p.props.children
|
|
1007
1017
|
})
|
|
1008
|
-
),
|
|
1018
|
+
), $t = (Y = b(t, Bt)) == null ? void 0 : Y.props, zt = (Q = b(t, xt)) == null ? void 0 : Q.props, Ut = (X = b(t, Rt)) == null ? void 0 : X.props, V = ds.useNew({
|
|
1009
1019
|
onChange: s,
|
|
1010
|
-
loader:
|
|
1011
|
-
filters:
|
|
1020
|
+
loader: u,
|
|
1021
|
+
filters: C(t, Lt).map(
|
|
1012
1022
|
(p) => ({
|
|
1013
1023
|
...p.props,
|
|
1014
1024
|
renderItem: p.props.children
|
|
1015
1025
|
})
|
|
1016
1026
|
),
|
|
1017
|
-
search:
|
|
1018
|
-
render:
|
|
1019
|
-
textFieldProps:
|
|
1027
|
+
search: g ? {
|
|
1028
|
+
render: g.children,
|
|
1029
|
+
textFieldProps: g
|
|
1020
1030
|
} : void 0,
|
|
1021
|
-
sorting:
|
|
1031
|
+
sorting: C(t, It).map(
|
|
1022
1032
|
(p) => p.props
|
|
1023
1033
|
),
|
|
1024
|
-
itemView:
|
|
1025
|
-
...
|
|
1026
|
-
renderFn:
|
|
1034
|
+
itemView: S ? {
|
|
1035
|
+
...S,
|
|
1036
|
+
renderFn: S.children
|
|
1027
1037
|
} : void 0,
|
|
1028
|
-
table:
|
|
1038
|
+
table: q.length > 0 ? {
|
|
1029
1039
|
header: {
|
|
1030
|
-
...
|
|
1031
|
-
columns:
|
|
1040
|
+
...zt,
|
|
1041
|
+
columns: q
|
|
1032
1042
|
},
|
|
1033
1043
|
body: {
|
|
1034
|
-
|
|
1044
|
+
...Ut,
|
|
1035
1045
|
row: {
|
|
1036
|
-
|
|
1037
|
-
cells:
|
|
1046
|
+
...$t,
|
|
1047
|
+
cells: Dt
|
|
1038
1048
|
}
|
|
1039
1049
|
},
|
|
1040
|
-
...
|
|
1050
|
+
...w
|
|
1041
1051
|
} : void 0,
|
|
1042
1052
|
batchesController: {
|
|
1043
1053
|
batchSize: e
|
|
1044
1054
|
},
|
|
1045
|
-
|
|
1055
|
+
...o
|
|
1046
1056
|
});
|
|
1047
1057
|
return /* @__PURE__ */ n.createElement(
|
|
1048
|
-
|
|
1058
|
+
yt.Provider,
|
|
1049
1059
|
{
|
|
1050
1060
|
value: {
|
|
1051
|
-
list:
|
|
1061
|
+
list: V
|
|
1052
1062
|
}
|
|
1053
1063
|
},
|
|
1054
|
-
/* @__PURE__ */ n.createElement(
|
|
1055
|
-
/* @__PURE__ */ n.createElement("div", { className:
|
|
1064
|
+
/* @__PURE__ */ n.createElement(Ve, null),
|
|
1065
|
+
/* @__PURE__ */ n.createElement("div", { className: _e.list, ref: i }, /* @__PURE__ */ n.createElement(Ge, null), V.viewMode === "list" && /* @__PURE__ */ n.createElement(ws, null), V.viewMode === "table" && /* @__PURE__ */ n.createElement(Rs, null), /* @__PURE__ */ n.createElement(ks, null))
|
|
1056
1066
|
);
|
|
1057
1067
|
})
|
|
1058
|
-
),
|
|
1059
|
-
List:
|
|
1060
|
-
Filter:
|
|
1061
|
-
Search:
|
|
1062
|
-
Sorting:
|
|
1063
|
-
Item:
|
|
1064
|
-
ItemView:
|
|
1065
|
-
TableHeader:
|
|
1066
|
-
TableColumn:
|
|
1067
|
-
TableBody:
|
|
1068
|
-
TableRow:
|
|
1069
|
-
TableCell:
|
|
1070
|
-
Table:
|
|
1071
|
-
StaticData:
|
|
1072
|
-
LoaderAsync:
|
|
1073
|
-
LoaderAsyncResource:
|
|
1068
|
+
), $s = () => Ds, Na = () => ({
|
|
1069
|
+
List: $s(),
|
|
1070
|
+
Filter: ys(),
|
|
1071
|
+
Search: As(),
|
|
1072
|
+
Sorting: Es(),
|
|
1073
|
+
Item: Ts(),
|
|
1074
|
+
ItemView: vt,
|
|
1075
|
+
TableHeader: xt,
|
|
1076
|
+
TableColumn: Vt,
|
|
1077
|
+
TableBody: Rt,
|
|
1078
|
+
TableRow: Bt,
|
|
1079
|
+
TableCell: Mt,
|
|
1080
|
+
Table: Nt,
|
|
1081
|
+
StaticData: Cs(),
|
|
1082
|
+
LoaderAsync: vs(),
|
|
1083
|
+
LoaderAsyncResource: we()
|
|
1074
1084
|
});
|
|
1075
1085
|
export {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1086
|
+
Ds as List,
|
|
1087
|
+
Lt as ListFilter,
|
|
1088
|
+
Pt as ListItem,
|
|
1089
|
+
vt as ListItemView,
|
|
1090
|
+
Ft as ListLoaderAsync,
|
|
1091
|
+
It as ListSorting,
|
|
1092
|
+
kt as ListStaticData,
|
|
1093
|
+
$s as TypedList,
|
|
1094
|
+
ys as TypedListFilter,
|
|
1095
|
+
Ts as TypedListItem,
|
|
1096
|
+
vs as TypedListLoaderAsync,
|
|
1097
|
+
Es as TypedListSorting,
|
|
1098
|
+
Cs as TypedListStaticData,
|
|
1099
|
+
Na as typedList,
|
|
1090
1100
|
h as useList
|
|
1091
1101
|
};
|