@mittwald/flow-react-components 0.1.0-alpha.279 → 0.1.0-alpha.280

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 CHANGED
@@ -1,69 +1,70 @@
1
1
  "use client"
2
2
  /* */
3
- var je = Object.defineProperty;
4
- var We = (a, e, t) => e in a ? je(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
5
- var r = (a, e, t) => We(a, typeof e != "symbol" ? e + "" : e, t);
6
- import i, { createContext as Je, useContext as Ye, createElement as Se, useState as j, useEffect as M, useRef as _e, Suspense as Qe, cloneElement as Xe } from "react";
3
+ var We = Object.defineProperty;
4
+ var Je = (a, e, t) => e in a ? We(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
5
+ var r = (a, e, t) => Je(a, typeof e != "symbol" ? e + "" : e, t);
6
+ import i, { createContext as Ye, useContext as _e, createElement as Se, useState as J, useEffect as B, useRef as Qe, Suspense as Xe, cloneElement as Ze } from "react";
7
7
  import "./propsContext-DzAKlmhS.js";
8
- import { P as be } from "./PropsContextProvider-C6Z4XGp6.js";
8
+ import { P as ve } from "./PropsContextProvider-C6Z4XGp6.js";
9
9
  import "@react-aria/utils";
10
- import { isShallowEqual as Ze, unique as et, difference as tt, times as st } from "remeda";
11
- import { d as it } from "./dynamic-ClpUSmEt.js";
10
+ import { isShallowEqual as et, unique as tt, difference as st, times as it } from "remeda";
11
+ import { d as at } from "./dynamic-ClpUSmEt.js";
12
12
  import { B as w } from "./Button-DYHIOEMk.js";
13
- import { IconArrowBackUp as at } from "@tabler/icons-react";
14
- import { I as nt } from "./Icon-C5gtbUkg.js";
13
+ import { IconArrowBackUp as nt } from "@tabler/icons-react";
14
+ import { I as ue } from "./Icon-C5gtbUkg.js";
15
15
  import { I as rt } from "./IconContextMenu-DoHZ9Lnm.js";
16
- import { a as x, C as W } from "./ContextMenuTrigger-Vw5RLEk8.js";
17
- import { M as J } from "./MenuItem-BzSyWdbX.js";
16
+ import { a as N, C as Y } from "./ContextMenuTrigger-Vw5RLEk8.js";
17
+ import { M as _ } from "./MenuItem-BzSyWdbX.js";
18
18
  import { useLocalizedStringFormatter as y } from "react-aria";
19
- import { TunnelProvider as ve, TunnelExit as O } from "@mittwald/react-tunnel";
19
+ import { TunnelProvider as we, TunnelExit as G } from "@mittwald/react-tunnel";
20
20
  import T from "clsx";
21
21
  import { g as ot } from "./getContainerBreakpointSizeClassName-BrcFDcCY.js";
22
22
  import { f as lt } from "./flowComponent-CcGqg9eo.js";
23
23
  import { R as ct } from "./Render-BdlTa7Qb.js";
24
24
  import { T as E } from "./Text-caKNaa01.js";
25
- import { b as dt, I as ut, a as mt, c as ht } from "./IconView-D_nWltIo.js";
26
- import { observer as gt } from "mobx-react-lite";
27
- import { a as ce, T as de } from "./TooltipTrigger-TslkLN5s.js";
28
- import { B as pt } from "./Badge-pCsoX-qX.js";
29
- import { makeObservable as ft, observable as ue, computed as me, action as K } from "mobx";
25
+ import { c as dt, a as ut, b as mt, I as ht, d as gt } from "./IconView-CelEa7lf.js";
26
+ import { observer as pt } from "mobx-react-lite";
27
+ import { a as O, T as H } from "./TooltipTrigger-TslkLN5s.js";
28
+ import { B as ft } from "./Badge-pCsoX-qX.js";
29
+ import { makeObservable as bt, observable as me, computed as he, action as q } from "mobx";
30
30
  import "./context-Cf7tqFtF.js";
31
31
  import { u as St } from "./useOnChange-C1Quwyuz.js";
32
- import { S as bt } from "./SearchField-DLprEGo_.js";
33
- import { H as Y } from "./Heading-BdmMWxrs.js";
34
- import { S as vt } from "./Section-C_h0987n.js";
35
- import { getProperty as wt } from "dot-prop";
36
- import { hash as we } from "object-code";
32
+ import { S as vt } from "./SearchField-DLprEGo_.js";
33
+ import { H as Q } from "./Heading-BdmMWxrs.js";
34
+ import { S as wt } from "./Section-C_h0987n.js";
35
+ import { getProperty as yt } from "dot-prop";
36
+ import { hash as ye } from "object-code";
37
37
  import V from "zod";
38
- import { useReactTable as yt, getCoreRowModel as Et, getSortedRowModel as Ft, getFilteredRowModel as Tt, getPaginationRowModel as Ct, getFacetedUniqueValues as It } from "@tanstack/react-table";
39
- import ye from "invariant";
40
- import { getAsyncResource as he } from "@mittwald/react-use-promise";
41
- import { u as ge } from "./useSelector-DpU7_HMO.js";
42
- import { u as Lt } from "./SettingsProvider-D9oDS5r9.js";
43
- import * as _ from "react-aria-components";
44
- import { S as B } from "./SkeletonText-B5ZghZhO.js";
45
- import { I as Pt } from "./IllustratedMessage-B3MHD01M.js";
46
- import { I as Vt } from "./IconSearch-CNdq-JdP.js";
47
- import { d as S, a as P } from "./deepFindOfType-6pG0fH7S.js";
48
- import { ListLoaderAsyncResource as kt, TypedListLoaderAsyncResource as At } from "./List/ListLoaderAsyncResource.js";
49
- import { S as Mt } from "./Skeleton-CKLaTmDR.js";
50
- import { a as Ee, e as Fe, d as Te, b as Ce, T as Ie, c as Le } from "./TableRow-DNTJVTkO.js";
51
- import { A as Bt } from "./ActionGroup-BaKhW0E3.js";
52
- const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view--title", Nt = "flow--list--items--item--view--top-content", Rt = "flow--list--items--item--view--content", $t = "flow--list--items--item--view--action", zt = "flow--list--items--item--view--avatar", Ut = "flow--list--items--item--view--text", Kt = "flow--list--items--item--view--heading", m = {
53
- view: Dt,
54
- title: xt,
55
- topContent: Nt,
56
- content: Rt,
57
- action: $t,
58
- avatar: zt,
59
- text: Ut,
60
- heading: Kt,
38
+ import { useReactTable as Et, getCoreRowModel as Ft, getSortedRowModel as Tt, getFilteredRowModel as Ct, getPaginationRowModel as It, getFacetedUniqueValues as Lt } from "@tanstack/react-table";
39
+ import Ee from "invariant";
40
+ import { getAsyncResource as ge } from "@mittwald/react-use-promise";
41
+ import { u as pe } from "./useSelector-DpU7_HMO.js";
42
+ import { u as Pt } from "./SettingsProvider-D9oDS5r9.js";
43
+ import * as X from "react-aria-components";
44
+ import { S as D } from "./SkeletonText-B5ZghZhO.js";
45
+ import { I as Vt } from "./IllustratedMessage-B3MHD01M.js";
46
+ import { I as kt } from "./IconSearch-CNdq-JdP.js";
47
+ import { d as b, a as P } from "./deepFindOfType-6pG0fH7S.js";
48
+ import { ListLoaderAsyncResource as At, TypedListLoaderAsyncResource as Mt } from "./List/ListLoaderAsyncResource.js";
49
+ import { S as Bt } from "./Skeleton-CKLaTmDR.js";
50
+ import { a as Fe, e as Te, d as Ce, b as Ie, T as Le, c as Pe } from "./TableRow-C2VaotTp.js";
51
+ import { A as Dt } from "./ActionGroup-BaKhW0E3.js";
52
+ const xt = "flow--list--items--item--view", Nt = "flow--list--items--item--view--title", Rt = "flow--list--items--item--view--top-content", $t = "flow--list--items--item--view--content", zt = "flow--list--items--item--view--action", Ut = "flow--list--items--item--view--avatar", Kt = "flow--list--items--item--view--text", Ot = "flow--list--items--item--view--heading", m = {
53
+ view: xt,
54
+ title: Nt,
55
+ topContent: Rt,
56
+ content: $t,
57
+ action: zt,
58
+ avatar: Ut,
59
+ text: Kt,
60
+ heading: Ot,
61
61
  "container-breakpoint-size-xs": "flow--list--items--item--view--container-breakpoint-size-xs",
62
62
  "container-breakpoint-size-s": "flow--list--items--item--view--container-breakpoint-size-s",
63
63
  "container-breakpoint-size-m": "flow--list--items--item--view--container-breakpoint-size-m",
64
64
  "container-breakpoint-size-l": "flow--list--items--item--view--container-breakpoint-size-l",
65
65
  "container-breakpoint-size-xl": "flow--list--items--item--view--container-breakpoint-size-xl"
66
- }, v = { "de-DE": {
66
+ }, S = { "de-DE": {
67
+ "list.filters.clear": "Filter entfernen",
67
68
  "list.filters.reset": "Filter zurücksetzen",
68
69
  "list.filters.store": "Filter speichern",
69
70
  "list.noResult.heading": "Keine Suchergebnisse gefunden",
@@ -77,6 +78,7 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
77
78
  "list.showMore": "Mehr anzeigen",
78
79
  "list.sorting": "Sortierung"
79
80
  }, "en-EN": {
81
+ "list.filters.clear": "Clear filters",
80
82
  "list.filters.reset": "Reset filters",
81
83
  "list.filters.store": "Store filters",
82
84
  "list.noResult.heading": "No search results found",
@@ -89,9 +91,9 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
89
91
  "list.settings.viewMode.table": "Table",
90
92
  "list.showMore": "Show more",
91
93
  "list.sorting": "Sorting"
92
- } }, Ot = (a) => {
93
- const { className: e, children: t } = a, s = y(v);
94
- return /* @__PURE__ */ i.createElement(x, null, /* @__PURE__ */ i.createElement(
94
+ } }, Ht = (a) => {
95
+ const { className: e, children: t } = a, s = y(S);
96
+ return /* @__PURE__ */ i.createElement(N, null, /* @__PURE__ */ i.createElement(
95
97
  w,
96
98
  {
97
99
  variant: "plain",
@@ -100,10 +102,10 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
100
102
  },
101
103
  /* @__PURE__ */ i.createElement(rt, null)
102
104
  ), t);
103
- }, Ht = (a) => a === "top" ? m.topContent : a === "bottom" ? m.content : m.topContent, Pe = (a) => {
105
+ }, qt = (a) => a === "top" ? m.topContent : a === "bottom" ? m.content : m.topContent, Ve = (a) => {
104
106
  const { children: e, className: t, containerBreakpointSize: s = "m" } = a, n = {
105
107
  ContextMenu: {
106
- wrapWith: /* @__PURE__ */ i.createElement(Ot, { className: m.action }),
108
+ wrapWith: /* @__PURE__ */ i.createElement(Ht, { className: m.action }),
107
109
  placement: "bottom end"
108
110
  },
109
111
  Button: {
@@ -114,7 +116,7 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
114
116
  ignoreBreakpoint: !0
115
117
  },
116
118
  Content: {
117
- className: it((c) => Ht(c.slot)),
119
+ className: at((l) => qt(l.slot)),
118
120
  tunnelId: "topContent"
119
121
  },
120
122
  Avatar: {
@@ -138,22 +140,22 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
138
140
  t,
139
141
  m[ot(s)]
140
142
  );
141
- return /* @__PURE__ */ i.createElement("div", { className: o }, /* @__PURE__ */ i.createElement(be, { props: n }, /* @__PURE__ */ i.createElement(ve, null, e, /* @__PURE__ */ i.createElement("div", { className: m.title }, /* @__PURE__ */ i.createElement(O, { id: "title" })), /* @__PURE__ */ i.createElement(O, { id: "topContent" }))));
142
- }, Ve = Je({}), g = () => Ye(Ve).list, qt = () => g().loader.getLoaderInvocationHooks().map((e, t) => /* @__PURE__ */ i.createElement(ct, { key: t }, () => {
143
+ return /* @__PURE__ */ i.createElement("div", { className: o }, /* @__PURE__ */ i.createElement(ve, { props: n }, /* @__PURE__ */ i.createElement(we, null, e, /* @__PURE__ */ i.createElement("div", { className: m.title }, /* @__PURE__ */ i.createElement(G, { id: "title" })), /* @__PURE__ */ i.createElement(G, { id: "topContent" }))));
144
+ }, ke = Ye({}), g = () => _e(ke).list, Gt = () => g().loader.getLoaderInvocationHooks().map((e, t) => /* @__PURE__ */ i.createElement(ct, { key: t }, () => {
143
145
  e();
144
- })), Gt = (a) => {
146
+ })), jt = (a) => {
145
147
  const { sorting: e } = a;
146
- return /* @__PURE__ */ i.createElement(J, { id: e.id }, e.name);
147
- }, H = (a) => {
148
+ return /* @__PURE__ */ i.createElement(_, { id: e.id }, e.name);
149
+ }, k = (a) => {
148
150
  const { children: e, locales: t, variables: s } = a;
149
151
  return y(t).format(e, s);
150
- }, jt = () => {
151
- const a = g(), e = a.visibleSorting.map((n) => /* @__PURE__ */ i.createElement(Gt, { sorting: n, key: n.id }));
152
+ }, Wt = () => {
153
+ const a = g(), e = a.visibleSorting.map((n) => /* @__PURE__ */ i.createElement(jt, { sorting: n, key: n.id }));
152
154
  if (e.length === 0)
153
155
  return null;
154
- const t = a.visibleSorting.find((n) => n.isSorted()), s = /* @__PURE__ */ i.createElement(E, null, t ? /* @__PURE__ */ i.createElement(i.Fragment, null, t.name ?? t.property) : /* @__PURE__ */ i.createElement(H, { locales: v }, "list.sorting"));
155
- return /* @__PURE__ */ i.createElement(x, null, /* @__PURE__ */ i.createElement(w, { variant: "outline", color: "secondary" }, s, /* @__PURE__ */ i.createElement(dt, null)), /* @__PURE__ */ i.createElement(
156
- W,
156
+ const t = a.visibleSorting.find((n) => n.isSorted()), s = /* @__PURE__ */ i.createElement(E, null, t ? /* @__PURE__ */ i.createElement(i.Fragment, null, t.name ?? t.property) : /* @__PURE__ */ i.createElement(k, { locales: S }, "list.sorting"));
157
+ return /* @__PURE__ */ i.createElement(N, null, /* @__PURE__ */ i.createElement(w, { variant: "outline", color: "secondary" }, s, /* @__PURE__ */ i.createElement(dt, null)), /* @__PURE__ */ i.createElement(
158
+ Y,
157
159
  {
158
160
  selectionMode: "single",
159
161
  selectedKeys: t ? [t.id] : [],
@@ -163,38 +165,38 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
163
165
  },
164
166
  e
165
167
  ));
166
- }, Wt = (a) => {
167
- const { filter: e } = a, { values: t, mode: s, name: n, property: o } = e, c = t.map((d) => /* @__PURE__ */ i.createElement(
168
- J,
168
+ }, Jt = (a) => {
169
+ const { filter: e } = a, { values: t, mode: s, name: n, property: o } = e, l = t.map((c) => /* @__PURE__ */ i.createElement(
170
+ _,
169
171
  {
170
- id: d.id,
171
- key: d.id,
172
+ id: c.id,
173
+ key: c.id,
172
174
  onAction: () => {
173
- d.toggle();
175
+ c.toggle();
174
176
  }
175
177
  },
176
- d.render()
177
- )), l = t.filter((d) => d.isActive).map((d) => d.id);
178
- return /* @__PURE__ */ i.createElement(x, null, /* @__PURE__ */ i.createElement(w, { variant: "outline", color: "secondary" }, /* @__PURE__ */ i.createElement(E, null, n ?? o), /* @__PURE__ */ i.createElement(ut, null)), /* @__PURE__ */ i.createElement(
179
- W,
178
+ c.render()
179
+ )), d = t.filter((c) => c.isActive).map((c) => c.id);
180
+ return /* @__PURE__ */ i.createElement(N, null, /* @__PURE__ */ i.createElement(w, { variant: "outline", color: "secondary" }, /* @__PURE__ */ i.createElement(E, null, n ?? o), /* @__PURE__ */ i.createElement(ut, null)), /* @__PURE__ */ i.createElement(
181
+ Y,
180
182
  {
181
183
  selectionMode: s === "one" ? "single" : "multiple",
182
- selectedKeys: l
184
+ selectedKeys: d
183
185
  },
184
- c
186
+ l
185
187
  ));
186
- }, Jt = "flow--list--header", Yt = "flow--list--header--picker-list-and-search", _t = "flow--list--header--picker-list", Qt = "flow--list--header--search-and-actions", Xt = "flow--list--header--search-field", Zt = "flow--list--header--actions", F = {
187
- header: Jt,
188
- pickerListAndSearch: Yt,
189
- pickerList: _t,
190
- searchAndActions: Qt,
191
- searchField: Xt,
192
- actions: Zt
193
- }, es = "flow--list--header--active-filters", ts = "flow--list--header--active-filters--clear-button", ss = {
194
- activeFilters: es,
195
- clearButton: ts
196
- }, is = gt(() => {
197
- const a = g(), e = y(v), s = a.filters.flatMap((l) => l.values).filter((l) => l.isActive).map((l) => /* @__PURE__ */ i.createElement(pt, { key: l.id, onClose: () => l.deactivate() }, /* @__PURE__ */ i.createElement(E, null, l.render()))), n = a.filters.filter((l) => l.hasChanged()).length > 0, o = a.supportsSettingsStorage && n && /* @__PURE__ */ i.createElement(ce, null, /* @__PURE__ */ i.createElement(de, null, /* @__PURE__ */ i.createElement(H, { locales: v }, "list.filters.store")), /* @__PURE__ */ i.createElement(
188
+ }, Yt = "flow--list--header", _t = "flow--list--header--picker-list-and-search", Qt = "flow--list--header--picker-list", Xt = "flow--list--header--search-and-actions", Zt = "flow--list--header--search-field", es = "flow--list--header--actions", F = {
189
+ header: Yt,
190
+ pickerListAndSearch: _t,
191
+ pickerList: Qt,
192
+ searchAndActions: Xt,
193
+ searchField: Zt,
194
+ actions: es
195
+ }, ts = "flow--list--header--active-filters", ss = "flow--list--header--active-filters--clear-button", is = {
196
+ activeFilters: ts,
197
+ clearButton: ss
198
+ }, as = pt(() => {
199
+ const a = g(), e = y(S), s = a.filters.flatMap((c) => c.values).filter((c) => c.isActive).map((c) => /* @__PURE__ */ i.createElement(ft, { key: c.id, onClose: () => c.deactivate() }, /* @__PURE__ */ i.createElement(E, null, c.render()))), n = a.filters.filter((c) => c.hasChanged()).length > 0, o = a.supportsSettingsStorage && n && /* @__PURE__ */ i.createElement(O, null, /* @__PURE__ */ i.createElement(H, null, /* @__PURE__ */ i.createElement(k, { locales: S }, "list.filters.store")), /* @__PURE__ */ i.createElement(
198
200
  w,
199
201
  {
200
202
  size: "s",
@@ -204,7 +206,7 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
204
206
  "aria-label": e.format("list.filters.store")
205
207
  },
206
208
  /* @__PURE__ */ i.createElement(mt, null)
207
- )), c = n ? /* @__PURE__ */ i.createElement(ce, null, /* @__PURE__ */ i.createElement(de, null, /* @__PURE__ */ i.createElement(H, { locales: v }, "list.filters.reset")), /* @__PURE__ */ i.createElement(
209
+ )), l = n ? /* @__PURE__ */ i.createElement(O, null, /* @__PURE__ */ i.createElement(H, null, /* @__PURE__ */ i.createElement(k, { locales: S }, "list.filters.reset")), /* @__PURE__ */ i.createElement(
208
210
  w,
209
211
  {
210
212
  size: "s",
@@ -213,41 +215,50 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
213
215
  onPress: () => a.resetFilters(),
214
216
  "aria-label": e.format("list.filters.reset")
215
217
  },
216
- /* @__PURE__ */ i.createElement(nt, null, /* @__PURE__ */ i.createElement(at, null))
218
+ /* @__PURE__ */ i.createElement(ue, null, /* @__PURE__ */ i.createElement(nt, null))
219
+ )) : void 0, d = s.length > 0 ? /* @__PURE__ */ i.createElement(O, null, /* @__PURE__ */ i.createElement(H, null, /* @__PURE__ */ i.createElement(k, { locales: S }, "list.filters.clear")), /* @__PURE__ */ i.createElement(
220
+ w,
221
+ {
222
+ size: "s",
223
+ variant: "plain",
224
+ color: "secondary",
225
+ onPress: () => a.clearFilters()
226
+ },
227
+ /* @__PURE__ */ i.createElement(ue, null, /* @__PURE__ */ i.createElement(ht, null))
217
228
  )) : void 0;
218
- return s.length === 0 && !o && !c ? null : /* @__PURE__ */ i.createElement("div", { className: ss.activeFilters }, s, o, c);
219
- }), as = (a) => {
220
- const { className: e, onChange: t, value: s, ...n } = a, [o, c] = j(s ?? "");
229
+ return s.length === 0 && !o && !l ? null : /* @__PURE__ */ i.createElement("div", { className: is.activeFilters }, s, o, l, d);
230
+ }), ns = (a) => {
231
+ const { className: e, onChange: t, value: s, ...n } = a, [o, l] = J(s ?? "");
221
232
  St(s, () => {
222
- c(s ?? "");
233
+ l(s ?? "");
223
234
  }, [o]);
224
- const l = () => {
225
- t(void 0), c("");
226
- }, d = (u) => {
227
- u.key === "Enter" ? o.trim() === "" ? t(void 0) : t(o) : u.key === "Escape" && l();
235
+ const d = () => {
236
+ t(void 0), l("");
237
+ }, c = (u) => {
238
+ u.key === "Enter" ? o.trim() === "" ? t(void 0) : t(o) : u.key === "Escape" && d();
228
239
  };
229
240
  return /* @__PURE__ */ i.createElement(
230
- bt,
241
+ vt,
231
242
  {
232
243
  className: e,
233
244
  value: o,
234
- onKeyUp: d,
235
- onChange: (u) => c(u),
236
- onClear: l,
245
+ onKeyUp: c,
246
+ onChange: (u) => l(u),
247
+ onClear: d,
237
248
  ...n
238
249
  }
239
250
  );
240
- }, ns = (a) => {
241
- const { className: e, search: t } = a, s = t.render ?? as;
251
+ }, rs = (a) => {
252
+ const { className: e, search: t } = a, s = t.render ?? ns;
242
253
  return Se(s, {
243
254
  className: e,
244
255
  value: t.value,
245
256
  onChange: t.setValue.bind(t),
246
257
  ...t.textFieldProps
247
258
  });
248
- }, rs = () => {
249
- const a = y(v), e = g(), t = e.viewMode, s = [];
250
- return e.itemView && s.push("list"), e.table && s.push("table"), s.length <= 1 ? null : /* @__PURE__ */ i.createElement(x, null, /* @__PURE__ */ i.createElement(
259
+ }, os = () => {
260
+ const a = y(S), e = g(), t = e.viewMode, s = [];
261
+ return e.itemView && s.push("list"), e.table && s.push("table"), s.length <= 1 ? null : /* @__PURE__ */ i.createElement(N, null, /* @__PURE__ */ i.createElement(
251
262
  w,
252
263
  {
253
264
  variant: "outline",
@@ -255,9 +266,9 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
255
266
  "aria-label": a.format("list.settings")
256
267
  },
257
268
  /* @__PURE__ */ i.createElement(E, null, a.format(`list.settings.viewMode.${t}`)),
258
- /* @__PURE__ */ i.createElement(ht, null)
259
- ), /* @__PURE__ */ i.createElement(W, { selectionMode: "single", selectedKeys: [t] }, /* @__PURE__ */ i.createElement(vt, null, /* @__PURE__ */ i.createElement(Y, null, a.format("list.settings.viewMode")), s.map((n) => /* @__PURE__ */ i.createElement(
260
- J,
269
+ /* @__PURE__ */ i.createElement(gt, null)
270
+ ), /* @__PURE__ */ i.createElement(Y, { selectionMode: "single", selectedKeys: [t] }, /* @__PURE__ */ i.createElement(wt, null, /* @__PURE__ */ i.createElement(Q, null, a.format("list.settings.viewMode")), s.map((n) => /* @__PURE__ */ i.createElement(
271
+ _,
261
272
  {
262
273
  id: n,
263
274
  key: n,
@@ -267,16 +278,16 @@ const Dt = "flow--list--items--item--view", xt = "flow--list--items--item--view-
267
278
  },
268
279
  a.format(`list.settings.viewMode.${n}`)
269
280
  )))));
270
- }, os = (a) => {
281
+ }, ls = (a) => {
271
282
  const { className: e, hasActionGroup: t } = a, s = g();
272
283
  if (s.filters.length === 0 && s.visibleSorting.length === 0 && !s.search && !s.table && !t)
273
284
  return null;
274
- const n = s.filters.map((o) => /* @__PURE__ */ i.createElement(Wt, { key: o.property, filter: o }));
275
- return /* @__PURE__ */ i.createElement("div", { className: T(e, F.header) }, /* @__PURE__ */ i.createElement("div", { className: F.pickerListAndSearch }, /* @__PURE__ */ i.createElement("div", { className: F.pickerList }, /* @__PURE__ */ i.createElement(rs, null), /* @__PURE__ */ i.createElement(jt, null), n), /* @__PURE__ */ i.createElement("div", { className: F.searchAndActions }, s.search && /* @__PURE__ */ i.createElement(ns, { className: F.searchField, search: s.search }), /* @__PURE__ */ i.createElement(O, { id: "actions" }))), /* @__PURE__ */ i.createElement(is, null));
276
- }, ls = "flow--list", cs = {
277
- list: ls
285
+ const n = s.filters.map((o) => /* @__PURE__ */ i.createElement(Jt, { key: o.property, filter: o }));
286
+ return /* @__PURE__ */ i.createElement("div", { className: T(e, F.header) }, /* @__PURE__ */ i.createElement("div", { className: F.pickerListAndSearch }, /* @__PURE__ */ i.createElement("div", { className: F.pickerList }, /* @__PURE__ */ i.createElement(os, null), /* @__PURE__ */ i.createElement(Wt, null), n), /* @__PURE__ */ i.createElement("div", { className: F.searchAndActions }, s.search && /* @__PURE__ */ i.createElement(rs, { className: F.searchField, search: s.search }), /* @__PURE__ */ i.createElement(G, { id: "actions" }))), /* @__PURE__ */ i.createElement(as, null));
287
+ }, cs = "flow--list", ds = {
288
+ list: cs
278
289
  };
279
- let ds = class ke {
290
+ let us = class Ae {
280
291
  constructor(e, t, s) {
281
292
  r(this, "id");
282
293
  r(this, "data");
@@ -284,19 +295,19 @@ let ds = class ke {
284
295
  this.collection = e, this.id = t, this.data = s;
285
296
  }
286
297
  static fromRow(e, t) {
287
- return new ke(e, t.id, t.original);
298
+ return new Ae(e, t.id, t.original);
288
299
  }
289
300
  };
290
- class us {
301
+ class ms {
291
302
  constructor(e) {
292
303
  r(this, "list");
293
304
  this.list = e;
294
305
  }
295
306
  get entries() {
296
- return this.list.reactTable.table.getRowModel().rows.map((e) => ds.fromRow(this, e));
307
+ return this.list.reactTable.table.getRowModel().rows.map((e) => us.fromRow(this, e));
297
308
  }
298
309
  }
299
- class ms {
310
+ class hs {
300
311
  constructor(e, t = {}) {
301
312
  r(this, "batchSize");
302
313
  r(this, "list");
@@ -343,8 +354,8 @@ class ms {
343
354
  }
344
355
  }
345
356
  }
346
- const hs = "$";
347
- class pe {
357
+ const gs = "$";
358
+ class fe {
348
359
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
349
360
  constructor(e, t) {
350
361
  r(this, "filter");
@@ -352,10 +363,10 @@ class pe {
352
363
  this.filter = e, this.value = t;
353
364
  }
354
365
  equals(e) {
355
- return Ze(this.value, e.value);
366
+ return et(this.value, e.value);
356
367
  }
357
368
  get id() {
358
- return `${this.filter.property}@@${we(this.value)}`;
369
+ return `${this.filter.property}@@${ye(this.value)}`;
359
370
  }
360
371
  get isActive() {
361
372
  return this.filter.isValueActive(this);
@@ -370,8 +381,8 @@ class pe {
370
381
  this.filter.deactivateValue(this);
371
382
  }
372
383
  }
373
- const gs = (a, e) => a === e, ps = (a) => String(a);
374
- class k {
384
+ const ps = (a, e) => a === e, fs = (a) => String(a);
385
+ class A {
375
386
  constructor(e, t) {
376
387
  r(this, "_values");
377
388
  r(this, "_valuesFromTableState");
@@ -384,10 +395,10 @@ class k {
384
395
  r(this, "onFilterUpdateCallbacks", /* @__PURE__ */ new Set());
385
396
  r(this, "defaultSelectedValues");
386
397
  var s;
387
- this.list = e, this.property = t.property, this.mode = t.mode ?? "one", this._values = (s = t.values) == null ? void 0 : s.map((n) => new pe(this, n)), this.matcher = t.matcher ?? gs, this.renderItem = t.renderItem ?? ps, this.name = t.name, this.defaultSelectedValues = t.defaultSelected ? this.values.filter(
398
+ this.list = e, this.property = t.property, this.mode = t.mode ?? "one", this._values = (s = t.values) == null ? void 0 : s.map((n) => new fe(this, n)), this.matcher = t.matcher ?? ps, this.renderItem = t.renderItem ?? fs, this.name = t.name, this.defaultSelectedValues = t.defaultSelected ? this.values.filter(
388
399
  (n) => {
389
400
  var o;
390
- return (o = t.defaultSelected) == null ? void 0 : o.some((c) => c === n.value);
401
+ return (o = t.defaultSelected) == null ? void 0 : o.some((l) => l === n.value);
391
402
  }
392
403
  ) : void 0;
393
404
  }
@@ -411,7 +422,7 @@ class k {
411
422
  }
412
423
  getReactTableFilterFn() {
413
424
  return (e, t, s) => {
414
- const n = this.property, o = n.startsWith(hs) ? e.original : wt(e.original, n);
425
+ const n = this.property, o = n.startsWith(gs) ? e.original : yt(e.original, n);
415
426
  return this.checkFilterMatches(o, s);
416
427
  };
417
428
  }
@@ -439,9 +450,9 @@ class k {
439
450
  return ((e = this.getTableColumnFilter()) == null ? void 0 : e.value) ?? null;
440
451
  }
441
452
  getValuesFromTableState() {
442
- return et(
453
+ return tt(
443
454
  Array.from(this.getTableColumn().getFacetedUniqueValues().keys()).flatMap((e) => e).filter((e) => e != null)
444
- ).map((e) => new pe(this, e));
455
+ ).map((e) => new fe(this, e));
445
456
  }
446
457
  checkIfValueIsUnknown(e) {
447
458
  return !this.values.some((s) => s.id === e.id);
@@ -474,7 +485,7 @@ class k {
474
485
  }
475
486
  hasChanged() {
476
487
  const e = this.getArrayValue().map((s) => s.value), t = (this.getInitialValues() ?? []).map((s) => s.value);
477
- return e.length !== t.length || tt(e, t).length > 0;
488
+ return e.length !== t.length || st(e, t).length > 0;
478
489
  }
479
490
  getInitialValues() {
480
491
  return this.getStoredDefaultSelectedValues() ?? this.defaultSelectedValues;
@@ -484,6 +495,9 @@ class k {
484
495
  const t = this.getInitialValues();
485
496
  t ? e = t : this.mode === "all" || this.mode === "some" ? e = [] : e = null, this.list.reactTable.getTableColumn(this.property).setFilterValue(e), this.onFilterUpdateCallbacks.forEach((s) => s());
486
497
  }
498
+ clear() {
499
+ this.list.reactTable.getTableColumn(this.property).setFilterValue(null), this.onFilterUpdateCallbacks.forEach((e) => e());
500
+ }
487
501
  toggleValue(e) {
488
502
  const t = this.getArrayValue();
489
503
  let s;
@@ -493,8 +507,8 @@ class k {
493
507
  this.onFilterUpdateCallbacks.add(e);
494
508
  }
495
509
  }
496
- r(k, "settingsStorageSchema", V.record(V.array(V.unknown())).optional());
497
- class fs {
510
+ r(A, "settingsStorageSchema", V.record(V.array(V.unknown())).optional());
511
+ class bs {
498
512
  constructor(e, t) {
499
513
  r(this, "list");
500
514
  r(this, "property");
@@ -528,7 +542,7 @@ class fs {
528
542
  return `${this.getTableColumn().id}:${this.direction}`;
529
543
  }
530
544
  }
531
- class Q {
545
+ class Z {
532
546
  constructor(e, t, s = {}) {
533
547
  r(this, "list");
534
548
  r(this, "table");
@@ -536,27 +550,27 @@ class Q {
536
550
  r(this, "updateSortingState");
537
551
  this.list = e;
538
552
  const n = this.list.sorting.filter(
539
- (l) => l.defaultEnabled !== !1
540
- ), [o, c] = j(
541
- n.map((l) => l.getReactTableColumnSort())
553
+ (d) => d.defaultEnabled !== !1
554
+ ), [o, l] = J(
555
+ n.map((d) => d.getReactTableColumnSort())
542
556
  );
543
- this.sortingState = o, this.updateSortingState = c, this.table = this.useReactTable(t, s);
557
+ this.sortingState = o, this.updateSortingState = l, this.table = this.useReactTable(t, s);
544
558
  }
545
559
  static useNew(e, t, s = {}) {
546
- return new Q(e, t, s);
560
+ return new Z(e, t, s);
547
561
  }
548
562
  useReactTable(e, t = {}) {
549
- var c;
563
+ var l;
550
564
  const s = this.list.loader.useData(), n = {
551
565
  pagination: {
552
566
  pageSize: this.list.batches.batchSize
553
567
  },
554
568
  columnFilters: []
555
569
  };
556
- for (const l of this.list.filters)
557
- l.updateInitialState(n);
558
- (c = this.list.search) == null || c.updateInitialState(n);
559
- const o = yt({
570
+ for (const d of this.list.filters)
571
+ d.updateInitialState(n);
572
+ (l = this.list.search) == null || l.updateInitialState(n);
573
+ const o = Et({
560
574
  data: s,
561
575
  state: {
562
576
  sorting: this.sortingState
@@ -564,18 +578,18 @@ class Q {
564
578
  getRowId: this.list.getItemId,
565
579
  initialState: n,
566
580
  columns: this.getTableColumnDefs(),
567
- getCoreRowModel: Et(),
568
- getSortedRowModel: Ft(),
569
- getFilteredRowModel: Tt(),
570
- getPaginationRowModel: Ct(),
571
- getFacetedUniqueValues: It(),
572
- onSortingChange: (l) => {
573
- this.handleSortingStateUpdate(l);
581
+ getCoreRowModel: Ft(),
582
+ getSortedRowModel: Tt(),
583
+ getFilteredRowModel: Ct(),
584
+ getPaginationRowModel: It(),
585
+ getFacetedUniqueValues: Lt(),
586
+ onSortingChange: (d) => {
587
+ this.handleSortingStateUpdate(d);
574
588
  },
575
589
  globalFilterFn: "auto",
576
590
  ...t
577
591
  });
578
- return M(() => {
592
+ return B(() => {
579
593
  e && e(this.list);
580
594
  }, [this.list, e, o]), o;
581
595
  }
@@ -590,7 +604,7 @@ class Q {
590
604
  }
591
605
  getTableColumn(e) {
592
606
  const t = this.table.getColumn(e);
593
- return ye(!!t, `Column #${e} is not defined`), t;
607
+ return Ee(!!t, `Column #${e} is not defined`), t;
594
608
  }
595
609
  getTableColumnDefs() {
596
610
  const e = /* @__PURE__ */ new Map(), t = (s) => {
@@ -612,26 +626,26 @@ class Q {
612
626
  ), Array.from(e.values());
613
627
  }
614
628
  }
615
- class X {
629
+ class ee {
616
630
  constructor() {
617
631
  r(this, "dataBatches", []);
618
632
  r(this, "prevDataBatches", []);
619
633
  r(this, "batchLoadingStates", ["void"]);
620
- ft(this, {
634
+ bt(this, {
621
635
  prevDataBatches: !1,
622
636
  useMergedData: !1,
623
637
  useIsLoading: !1,
624
- dataBatches: ue.shallow,
625
- batchLoadingStates: ue.shallow,
626
- mergedData: me,
627
- isLoading: me,
628
- reset: K.bound,
629
- setDataBatch: K.bound,
630
- setBatchLoadingState: K.bound
638
+ dataBatches: me.shallow,
639
+ batchLoadingStates: me.shallow,
640
+ mergedData: he,
641
+ isLoading: he,
642
+ reset: q.bound,
643
+ setDataBatch: q.bound,
644
+ setBatchLoadingState: q.bound
631
645
  });
632
646
  }
633
647
  static useNew() {
634
- return _e(new X()).current;
648
+ return Qe(new ee()).current;
635
649
  }
636
650
  reset() {
637
651
  this.batchLoadingStates = [], this.dataBatches = [];
@@ -646,17 +660,17 @@ class X {
646
660
  return (this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches).flatMap((t) => t);
647
661
  }
648
662
  useMergedData() {
649
- return ge(() => this.mergedData);
663
+ return pe(() => this.mergedData);
650
664
  }
651
665
  get isLoading() {
652
666
  return this.batchLoadingStates.some((e) => e === "loading" || e === "void");
653
667
  }
654
668
  useIsLoading() {
655
- return ge(() => this.isLoading);
669
+ return pe(() => this.isLoading);
656
670
  }
657
671
  }
658
672
  const Ss = [];
659
- class Z {
673
+ class te {
660
674
  constructor(e, t = {}) {
661
675
  r(this, "list");
662
676
  r(this, "dataSource");
@@ -664,14 +678,14 @@ class Z {
664
678
  r(this, "manualFiltering");
665
679
  r(this, "manualPagination");
666
680
  r(this, "loaderState");
667
- var l;
681
+ var d;
668
682
  const { source: s } = t;
669
683
  this.dataSource = s ?? { staticData: Ss };
670
- const n = "manualPagination" in this.dataSource ? this.dataSource.manualPagination : void 0, o = "manualFiltering" in this.dataSource ? this.dataSource.manualFiltering : void 0, c = "manualSorting" in this.dataSource ? this.dataSource.manualSorting : void 0;
671
- this.list = e, this.loaderState = X.useNew(), this.manualPagination = n ?? !1, this.manualFiltering = o ?? this.manualPagination, this.manualSorting = c ?? this.manualPagination, this.list.filters.forEach((d) => d.onFilterUpdated(() => this.reset())), (l = this.list.search) == null || l.onUpdated(() => this.reset());
684
+ const n = "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;
685
+ this.list = e, this.loaderState = ee.useNew(), this.manualPagination = n ?? !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());
672
686
  }
673
687
  static useNew(e, t = {}) {
674
- return new Z(e, t);
688
+ return new te(e, t);
675
689
  }
676
690
  reset() {
677
691
  this.loaderState.reset();
@@ -686,7 +700,7 @@ class Z {
686
700
  return this.loaderState.useMergedData();
687
701
  }
688
702
  getLoaderInvocationHooks() {
689
- return st(this.list.batches.getBatchIndex() + 1, (t) => t).map((t) => () => {
703
+ return it(this.list.batches.getBatchIndex() + 1, (t) => t).map((t) => () => {
690
704
  this.useLoadBatch(t);
691
705
  });
692
706
  }
@@ -697,7 +711,7 @@ class Z {
697
711
  }), this.useObserveBatchData(t, e), this.useObserveBatchLoadingState(t, e);
698
712
  }
699
713
  useObserveBatchLoadingState(e, t) {
700
- M(() => (this.loaderState.setBatchLoadingState(
714
+ B(() => (this.loaderState.setBatchLoadingState(
701
715
  t,
702
716
  e.state.value
703
717
  ), e.state.observe((s) => {
@@ -706,10 +720,10 @@ class Z {
706
720
  }
707
721
  useObserveBatchData(e, t) {
708
722
  const s = (n) => {
709
- const { data: o, itemTotalCount: c } = n;
710
- this.loaderState.setDataBatch(t, o), c !== void 0 && this.list.batches.updateItemTotalCount(c);
723
+ const { data: o, itemTotalCount: l } = n;
724
+ this.loaderState.setDataBatch(t, o), l !== void 0 && this.list.batches.updateItemTotalCount(l);
711
725
  };
712
- M(() => (e.value.value.isSet && s(e.value.value.value), e.value.observe((n) => {
726
+ B(() => (e.value.value.isSet && s(e.value.value.value), e.value.observe((n) => {
713
727
  n.isSet && s(n.value);
714
728
  })), [e, t]);
715
729
  }
@@ -737,7 +751,7 @@ class Z {
737
751
  getBatchDataAsyncResource(e) {
738
752
  const t = this.dataSource, s = this.getDataLoaderOptions(e);
739
753
  if ("staticData" in t)
740
- return he(
754
+ return ge(
741
755
  async (n) => ({
742
756
  data: n,
743
757
  itemTotalCount: n.length
@@ -745,9 +759,9 @@ class Z {
745
759
  [t.staticData]
746
760
  );
747
761
  if ("asyncLoader" in t) {
748
- const n = t.asyncLoader, o = t.dependencies, c = o ? we(o).toString() : void 0;
749
- return he(n, [s], {
750
- loaderId: c
762
+ const n = t.asyncLoader, o = t.dependencies, l = o ? ye(o).toString() : void 0;
763
+ return ge(n, [s], {
764
+ loaderId: l
751
765
  });
752
766
  }
753
767
  if ("asyncResourceFactory" in t) {
@@ -757,7 +771,7 @@ class Z {
757
771
  throw new Error("Unknown data source");
758
772
  }
759
773
  }
760
- class bs {
774
+ class vs {
761
775
  constructor(e, t) {
762
776
  r(this, "list");
763
777
  r(this, "render");
@@ -788,36 +802,36 @@ class bs {
788
802
  this.onUpdateCallbacks.add(e);
789
803
  }
790
804
  }
791
- const D = class D {
805
+ const x = class x {
792
806
  constructor(e, t = {}) {
793
807
  r(this, "list");
794
808
  r(this, "textValue");
795
809
  r(this, "href");
796
810
  r(this, "fallback");
797
811
  r(this, "renderFn");
798
- const { fallback: s, textValue: n, href: o, renderFn: c } = t;
799
- this.list = e, this.textValue = n, this.renderFn = c, this.href = o, this.fallback = s;
812
+ const { fallback: s, textValue: n, href: o, renderFn: l } = t;
813
+ this.list = e, this.textValue = n, this.renderFn = l, this.href = o, this.fallback = s;
800
814
  }
801
815
  render(e) {
802
- return (this.renderFn ?? D.fallbackRenderItemFn)(e, this.list);
816
+ return (this.renderFn ?? x.fallbackRenderItemFn)(e, this.list);
803
817
  }
804
818
  };
805
- r(D, "fallbackRenderItemFn", (e) => Se("pre", void 0, JSON.stringify(e)));
806
- let q = D, vs = class {
819
+ r(x, "fallbackRenderItemFn", (e) => Se("pre", void 0, JSON.stringify(e)));
820
+ let j = x, ws = class {
807
821
  constructor(e, t = {}) {
808
822
  r(this, "tableHeader");
809
823
  r(this, "componentProps");
810
824
  this.tableHeader = e, this.componentProps = t;
811
825
  }
812
- }, ws = class {
826
+ }, ys = class {
813
827
  constructor(e, t = {}) {
814
828
  r(this, "table");
815
829
  r(this, "componentProps");
816
830
  r(this, "columns");
817
831
  const { columns: s = [], ...n } = t;
818
- this.table = e, this.columns = s.map((o) => new vs(this, o)), this.componentProps = n;
832
+ this.table = e, this.columns = s.map((o) => new ws(this, o)), this.componentProps = n;
819
833
  }
820
- }, ys = class {
834
+ }, Es = class {
821
835
  constructor(e, t = {}) {
822
836
  r(this, "row");
823
837
  r(this, "renderFn");
@@ -825,34 +839,34 @@ let q = D, vs = class {
825
839
  const { renderFn: s, ...n } = t;
826
840
  this.row = e, this.renderFn = s, this.componentProps = n;
827
841
  }
828
- }, Es = class {
842
+ }, Fs = class {
829
843
  constructor(e, t = {}) {
830
844
  r(this, "tableBody");
831
845
  r(this, "cells");
832
846
  r(this, "componentProps");
833
847
  const { cells: s = [], ...n } = t;
834
- this.tableBody = e, this.cells = s.map((o) => new ys(this, o)), this.componentProps = n;
848
+ this.tableBody = e, this.cells = s.map((o) => new Es(this, o)), this.componentProps = n;
835
849
  }
836
- }, Fs = class {
850
+ }, Ts = class {
837
851
  constructor(e, t = {}) {
838
852
  r(this, "table");
839
853
  r(this, "componentProps");
840
854
  r(this, "row");
841
855
  const { row: s, ...n } = t;
842
- this.table = e, this.row = new Es(this, s), this.componentProps = n;
856
+ this.table = e, this.row = new Fs(this, s), this.componentProps = n;
843
857
  }
844
- }, Ts = class {
858
+ }, Cs = class {
845
859
  constructor(e, t = {}) {
846
860
  r(this, "list");
847
861
  r(this, "header");
848
862
  r(this, "body");
849
863
  r(this, "componentProps");
850
864
  const { header: s, body: n, ...o } = t;
851
- this.list = e, this.header = new ws(this, s), this.body = new Fs(this, n), this.componentProps = o;
865
+ this.list = e, this.header = new ys(this, s), this.body = new Ts(this, n), this.componentProps = o;
852
866
  }
853
867
  };
854
- var b;
855
- let Cs = (b = class {
868
+ var v;
869
+ let Is = (v = class {
856
870
  constructor(e) {
857
871
  r(this, "filters");
858
872
  r(this, "itemView");
@@ -878,32 +892,32 @@ let Cs = (b = class {
878
892
  itemView: s,
879
893
  table: n,
880
894
  filters: o = [],
881
- sorting: c = [],
882
- batchesController: l,
883
- onChange: d,
895
+ sorting: l = [],
896
+ batchesController: d,
897
+ onChange: c,
884
898
  loader: u,
885
899
  search: h,
886
900
  onAction: C,
887
- getItemId: N,
901
+ getItemId: R,
888
902
  defaultViewMode: L,
889
- ...R
903
+ ...$
890
904
  } = e;
891
- this.settingsStore = Lt(), this.settingStorageKey = t, this.filterSettingsStorageKey = t ? `${t}.activeFilters` : void 0, this.viewModeStorageKey = t ? `${t}.viewMode` : void 0, this.supportsSettingsStorage = !!this.settingStorageKey, this.items = new us(this), this.filters = o.map((p) => new k(this, p)), this.sorting = c.map((p) => new fs(this, p)), this.search = h ? new bs(this, h) : void 0, this.itemView = s ? new q(this, s) : void 0, this.table = n ? new Ts(this, n) : void 0, this.batches = new ms(this, l), this.componentProps = R, this.loader = Z.useNew(this, u), this.onAction = C, this.getItemId = N, this.reactTable = Q.useNew(this, d, {
905
+ this.settingsStore = Pt(), this.settingStorageKey = t, this.filterSettingsStorageKey = t ? `${t}.activeFilters` : void 0, this.viewModeStorageKey = t ? `${t}.viewMode` : void 0, this.supportsSettingsStorage = !!this.settingStorageKey, this.items = new ms(this), this.filters = o.map((p) => new A(this, p)), this.sorting = l.map((p) => new bs(this, p)), this.search = h ? new vs(this, h) : void 0, this.itemView = s ? new j(this, s) : void 0, this.table = n ? new Cs(this, n) : void 0, this.batches = new hs(this, d), this.componentProps = $, this.loader = te.useNew(this, u), this.onAction = C, this.getItemId = R, this.reactTable = Z.useNew(this, c, {
892
906
  manualFiltering: this.loader.manualFiltering,
893
907
  manualPagination: this.loader.manualPagination,
894
908
  manualSorting: this.loader.manualSorting
895
909
  });
896
- const [$, z] = j(
910
+ const [z, U] = J(
897
911
  L ?? this.getStoredViewModeDefaultSetting() ?? "list"
898
912
  );
899
- this.viewMode = $, this.setViewMode = (p) => {
900
- z(p), this.settingsStore && this.viewModeStorageKey && this.settingsStore.set(
913
+ this.viewMode = z, this.setViewMode = (p) => {
914
+ U(p), this.settingsStore && this.viewModeStorageKey && this.settingsStore.set(
901
915
  "List",
902
916
  this.viewModeStorageKey,
903
- b.viewModeSettingsStorageSchema,
917
+ v.viewModeSettingsStorageSchema,
904
918
  p
905
919
  );
906
- }, M(() => {
920
+ }, B(() => {
907
921
  this.filters.forEach((p) => p.deleteUnknownFilterValues());
908
922
  }, [this.filters]);
909
923
  }
@@ -914,7 +928,7 @@ let Cs = (b = class {
914
928
  return this.sorting.filter((e) => e.defaultEnabled !== "hidden");
915
929
  }
916
930
  static useNew(e) {
917
- return new b(e);
931
+ return new v(e);
918
932
  }
919
933
  storeFilterDefaultSettings() {
920
934
  if (this.settingsStore && this.filterSettingsStorageKey) {
@@ -927,7 +941,7 @@ let Cs = (b = class {
927
941
  this.settingsStore.set(
928
942
  "List",
929
943
  this.filterSettingsStorageKey,
930
- k.settingsStorageSchema,
944
+ A.settingsStorageSchema,
931
945
  e
932
946
  );
933
947
  }
@@ -937,7 +951,7 @@ let Cs = (b = class {
937
951
  return this.settingsStore.get(
938
952
  "List",
939
953
  this.filterSettingsStorageKey,
940
- k.settingsStorageSchema
954
+ A.settingsStorageSchema
941
955
  );
942
956
  }
943
957
  getStoredViewModeDefaultSetting() {
@@ -945,12 +959,12 @@ let Cs = (b = class {
945
959
  return this.settingsStore.get(
946
960
  "List",
947
961
  this.viewModeStorageKey,
948
- b.viewModeSettingsStorageSchema
962
+ v.viewModeSettingsStorageSchema
949
963
  );
950
964
  }
951
965
  getSorting(e) {
952
966
  const t = this.sorting.find((s) => s.id === e);
953
- return ye(!!t, `Could not get Sorting (ID: ${e})`), t;
967
+ return Ee(!!t, `Could not get Sorting (ID: ${e})`), t;
954
968
  }
955
969
  clearSorting() {
956
970
  return this.sorting.forEach((e) => e.clear());
@@ -958,71 +972,74 @@ let Cs = (b = class {
958
972
  resetFilters() {
959
973
  return this.filters.forEach((e) => e.resetValues());
960
974
  }
975
+ clearFilters() {
976
+ return this.filters.forEach((e) => e.clear());
977
+ }
961
978
  useIsEmpty() {
962
979
  return !this.loader.useIsLoading() && this.items.entries.length === 0;
963
980
  }
964
- }, r(b, "viewModeSettingsStorageSchema", V.enum(["list", "table"]).optional()), b);
965
- const Is = "flow--list--items", Ls = "flow--list--items--is-loading", fe = {
966
- items: Is,
967
- isLoading: Ls
968
- }, Ps = "flow--list--items--item", Vs = "flow--list--items--item--is-selected", ks = "flow--list--items--item--has-action", A = {
969
- item: Ps,
970
- isSelected: Vs,
971
- hasAction: ks
972
- }, Ae = () => /* @__PURE__ */ i.createElement(Pe, null, /* @__PURE__ */ i.createElement(Y, null, /* @__PURE__ */ i.createElement(B, { width: "200px" })), /* @__PURE__ */ i.createElement(E, null, /* @__PURE__ */ i.createElement(B, { width: "300px" }))), As = (a) => {
981
+ }, r(v, "viewModeSettingsStorageSchema", V.enum(["list", "table"]).optional()), v);
982
+ const Ls = "flow--list--items", Ps = "flow--list--items--is-loading", be = {
983
+ items: Ls,
984
+ isLoading: Ps
985
+ }, Vs = "flow--list--items--item", ks = "flow--list--items--item--is-selected", As = "flow--list--items--item--has-action", M = {
986
+ item: Vs,
987
+ isSelected: ks,
988
+ hasAction: As
989
+ }, Me = () => /* @__PURE__ */ i.createElement(Ve, null, /* @__PURE__ */ i.createElement(Q, null, /* @__PURE__ */ i.createElement(D, { width: "200px" })), /* @__PURE__ */ i.createElement(E, null, /* @__PURE__ */ i.createElement(D, { width: "300px" }))), Ms = (a) => {
973
990
  const { id: e, data: t, children: s } = a, o = g().itemView;
974
991
  if (!o)
975
992
  return null;
976
- const c = o.list.onAction, l = o.textValue ? o.textValue(t) : void 0, d = o.href ? o.href(t) : void 0, u = !!c || !!d;
993
+ const l = o.list.onAction, d = o.textValue ? o.textValue(t) : void 0, c = o.href ? o.href(t) : void 0, u = !!l || !!c;
977
994
  return /* @__PURE__ */ i.createElement(
978
- _.GridListItem,
995
+ X.GridListItem,
979
996
  {
980
997
  id: e,
981
998
  className: (h) => T(
982
- A.item,
983
- u && A.hasAction,
984
- h.isSelected && A.isSelected
999
+ M.item,
1000
+ u && M.hasAction,
1001
+ h.isSelected && M.isSelected
985
1002
  ),
986
- onAction: () => c && c(t),
987
- textValue: l,
988
- href: d
1003
+ onAction: () => l && l(t),
1004
+ textValue: d,
1005
+ href: c
989
1006
  },
990
- /* @__PURE__ */ i.createElement(Qe, { fallback: /* @__PURE__ */ i.createElement(Ae, null) }, s ?? o.render(t))
1007
+ /* @__PURE__ */ i.createElement(Xe, { fallback: /* @__PURE__ */ i.createElement(Me, null) }, s ?? o.render(t))
991
1008
  );
992
- }, Ms = (a) => /* @__PURE__ */ i.createElement(_.GridListItem, { textValue: "-", className: A.item }, a.children), G = () => {
993
- const a = y(v);
994
- return /* @__PURE__ */ i.createElement(Pt, null, /* @__PURE__ */ i.createElement(Vt, null), /* @__PURE__ */ i.createElement(Y, null, a.format("list.noResult.heading")), /* @__PURE__ */ i.createElement(E, null, a.format("list.noResult.text")));
995
- }, Bs = () => {
996
- var t;
997
- const e = ((t = g().itemView) == null ? void 0 : t.fallback) ?? /* @__PURE__ */ i.createElement(Ae, null);
998
- return Array.from(Array(5)).map((s, n) => /* @__PURE__ */ i.createElement(Ms, { key: n }, Xe(e)));
1009
+ }, Bs = (a) => /* @__PURE__ */ i.createElement(X.GridListItem, { textValue: "-", className: M.item }, a.children), W = () => {
1010
+ const a = y(S);
1011
+ return /* @__PURE__ */ i.createElement(Vt, null, /* @__PURE__ */ i.createElement(kt, null), /* @__PURE__ */ i.createElement(Q, null, a.format("list.noResult.heading")), /* @__PURE__ */ i.createElement(E, null, a.format("list.noResult.text")));
999
1012
  }, Ds = () => {
1013
+ var t;
1014
+ const e = ((t = g().itemView) == null ? void 0 : t.fallback) ?? /* @__PURE__ */ i.createElement(Me, null);
1015
+ return Array.from(Array(5)).map((s, n) => /* @__PURE__ */ i.createElement(Bs, { key: n }, Ze(e)));
1016
+ }, xs = () => {
1000
1017
  const a = g(), e = a.loader.useIsLoading(), t = a.loader.useIsInitiallyLoading();
1001
1018
  if (!a.itemView)
1002
1019
  return null;
1003
- const s = a.items.entries.map((o) => /* @__PURE__ */ i.createElement(As, { key: o.id, data: o.data, id: o.id })), n = T(fe.items, e && fe.isLoading);
1020
+ const s = a.items.entries.map((o) => /* @__PURE__ */ i.createElement(Ms, { key: o.id, data: o.data, id: o.id })), n = T(be.items, e && be.isLoading);
1004
1021
  return /* @__PURE__ */ i.createElement("div", { "aria-hidden": t, "aria-busy": e }, /* @__PURE__ */ i.createElement(
1005
- _.GridList,
1022
+ X.GridList,
1006
1023
  {
1007
1024
  className: n,
1008
1025
  ...a.componentProps,
1009
- renderEmptyState: () => /* @__PURE__ */ i.createElement(G, null)
1026
+ renderEmptyState: () => /* @__PURE__ */ i.createElement(W, null)
1010
1027
  },
1011
- t ? /* @__PURE__ */ i.createElement(Bs, null) : s
1028
+ t ? /* @__PURE__ */ i.createElement(Ds, null) : s
1012
1029
  ));
1013
- }, Me = (a) => null, xs = () => Me, Be = (a) => null, Ns = () => Be, De = (a) => null, Rs = () => De, xe = (a) => null, $s = () => xe, Ne = (a) => null, zs = () => Ne, Us = "flow--list--footer", Ks = {
1014
- footer: Us
1015
- }, Os = (a) => {
1016
- const e = y(v), t = g(), s = t.batches, n = t.loader.useIsInitiallyLoading(), o = t.useIsEmpty(), c = s.getTotalItemsCount(), l = s.getVisibleItemsCount();
1030
+ }, Be = (a) => null, Ns = () => Be, De = (a) => null, Rs = () => De, xe = (a) => null, $s = () => xe, Ne = (a) => null, zs = () => Ne, Re = (a) => null, Us = () => Re, Ks = "flow--list--footer", Os = {
1031
+ footer: Ks
1032
+ }, Hs = (a) => {
1033
+ const e = y(S), t = g(), s = t.batches, n = t.loader.useIsInitiallyLoading(), o = t.useIsEmpty(), l = s.getTotalItemsCount(), d = s.getVisibleItemsCount();
1017
1034
  if (o)
1018
1035
  return null;
1019
- const d = n ? /* @__PURE__ */ i.createElement(Mt, { width: "200px" }) : e.format("list.paginationInfo", {
1020
- visibleItemsCount: l,
1021
- totalItemsCount: c
1036
+ const c = n ? /* @__PURE__ */ i.createElement(Bt, { width: "200px" }) : e.format("list.paginationInfo", {
1037
+ visibleItemsCount: d,
1038
+ totalItemsCount: l
1022
1039
  });
1023
- return /* @__PURE__ */ i.createElement(E, { ...a }, d);
1024
- }, Hs = (a) => {
1025
- const e = y(v), t = g(), s = t.loader.useIsLoading(), n = t.loader.useIsInitiallyLoading();
1040
+ return /* @__PURE__ */ i.createElement(E, { ...a }, c);
1041
+ }, qs = (a) => {
1042
+ const e = y(S), t = g(), s = t.loader.useIsLoading(), n = t.loader.useIsInitiallyLoading();
1026
1043
  return !t.batches.hasNextBatch() && !s ? null : /* @__PURE__ */ i.createElement(
1027
1044
  w,
1028
1045
  {
@@ -1035,47 +1052,47 @@ const Is = "flow--list--items", Ls = "flow--list--items--is-loading", fe = {
1035
1052
  },
1036
1053
  e.format("list.showMore")
1037
1054
  );
1038
- }, qs = () => /* @__PURE__ */ i.createElement("div", { className: Ks.footer }, /* @__PURE__ */ i.createElement(Os, null), /* @__PURE__ */ i.createElement(Hs, null));
1039
- function Re(a) {
1055
+ }, Gs = () => /* @__PURE__ */ i.createElement("div", { className: Os.footer }, /* @__PURE__ */ i.createElement(Hs, null), /* @__PURE__ */ i.createElement(qs, null));
1056
+ function $e(a) {
1040
1057
  return null;
1041
1058
  }
1042
- const Gs = () => Re, $e = (a) => null, ze = (a) => null, Ue = (a) => null, js = (a) => /* @__PURE__ */ i.createElement(Ee, { ...a }, /* @__PURE__ */ i.createElement(Fe, null, /* @__PURE__ */ i.createElement(Te, null, /* @__PURE__ */ i.createElement(B, { width: "100%" }))), /* @__PURE__ */ i.createElement(Ce, null, Array.from(Array(5)).map((e, t) => /* @__PURE__ */ i.createElement(Ie, { key: t }, /* @__PURE__ */ i.createElement(Le, null, /* @__PURE__ */ i.createElement(B, { width: "100%" })))))), Ws = "flow--list--table", Js = "flow--list--table--is-loading", Ys = "flow--list--table--row", _s = "flow--list--table--is-selected", Qs = "flow--list--table--has-action", I = {
1043
- table: Ws,
1044
- isLoading: Js,
1045
- row: Ys,
1046
- isSelected: _s,
1047
- hasAction: Qs
1048
- }, Xs = () => {
1059
+ const js = () => $e, ze = (a) => null, Ue = (a) => null, Ke = (a) => null, Ws = (a) => /* @__PURE__ */ i.createElement(Fe, { ...a }, /* @__PURE__ */ i.createElement(Te, null, /* @__PURE__ */ i.createElement(Ce, null, /* @__PURE__ */ i.createElement(D, { width: "100%" }))), /* @__PURE__ */ i.createElement(Ie, null, Array.from(Array(5)).map((e, t) => /* @__PURE__ */ i.createElement(Le, { key: t }, /* @__PURE__ */ i.createElement(Pe, null, /* @__PURE__ */ i.createElement(D, { width: "100%" })))))), Js = "flow--list--table", Ys = "flow--list--table--is-loading", _s = "flow--list--table--row", Qs = "flow--list--table--is-selected", Xs = "flow--list--table--has-action", I = {
1060
+ table: Js,
1061
+ isLoading: Ys,
1062
+ row: _s,
1063
+ isSelected: Qs,
1064
+ hasAction: Xs
1065
+ }, Zs = () => {
1049
1066
  const a = g(), e = a.table, t = a.useIsEmpty(), s = a.loader.useIsLoading(), n = a.loader.useIsInitiallyLoading();
1050
1067
  if (!e)
1051
1068
  return null;
1052
1069
  if (n)
1053
- return /* @__PURE__ */ i.createElement(js, { ...e.componentProps });
1070
+ return /* @__PURE__ */ i.createElement(Ws, { ...e.componentProps });
1054
1071
  if (t)
1055
- return /* @__PURE__ */ i.createElement(G, null);
1056
- const o = e.list.onAction, c = T(
1072
+ return /* @__PURE__ */ i.createElement(W, null);
1073
+ const o = e.list.onAction, l = T(
1057
1074
  I.table,
1058
1075
  s && I.isLoading,
1059
1076
  e.componentProps.className
1060
1077
  );
1061
1078
  return /* @__PURE__ */ i.createElement(
1062
- Ee,
1079
+ Fe,
1063
1080
  {
1064
1081
  ...a.componentProps,
1065
1082
  ...e.componentProps,
1066
- className: c
1083
+ className: l
1067
1084
  },
1068
- /* @__PURE__ */ i.createElement(Fe, { ...e.header.componentProps }, e.header.columns.map((l, d) => /* @__PURE__ */ i.createElement(Te, { key: d, ...l.componentProps }))),
1085
+ /* @__PURE__ */ i.createElement(Te, { ...e.header.componentProps }, e.header.columns.map((d, c) => /* @__PURE__ */ i.createElement(Ce, { key: c, ...d.componentProps }))),
1069
1086
  /* @__PURE__ */ i.createElement(
1070
- Ce,
1087
+ Ie,
1071
1088
  {
1072
1089
  ...e.body.componentProps,
1073
- renderEmptyState: () => /* @__PURE__ */ i.createElement(G, null)
1090
+ renderEmptyState: () => /* @__PURE__ */ i.createElement(W, null)
1074
1091
  },
1075
- a.items.entries.map((l) => {
1076
- var d;
1092
+ a.items.entries.map((d) => {
1093
+ var c;
1077
1094
  return /* @__PURE__ */ i.createElement(
1078
- Ie,
1095
+ Le,
1079
1096
  {
1080
1097
  className: (u) => T(
1081
1098
  I.row,
@@ -1083,48 +1100,48 @@ const Gs = () => Re, $e = (a) => null, ze = (a) => null, Ue = (a) => null, js =
1083
1100
  e.body.row.componentProps.className,
1084
1101
  u.isSelected && I.isSelected
1085
1102
  ),
1086
- key: l.id,
1087
- id: l.id,
1088
- onAction: o ? () => o(l.data) : void 0,
1103
+ key: d.id,
1104
+ id: d.id,
1105
+ onAction: o ? () => o(d.data) : void 0,
1089
1106
  ...e.body.row.componentProps
1090
1107
  },
1091
- (d = e.body.row) == null ? void 0 : d.cells.map((u, h) => /* @__PURE__ */ i.createElement(Le, { key: h, ...u.componentProps }, u.renderFn ? u.renderFn(l.data, a) : void 0))
1108
+ (c = e.body.row) == null ? void 0 : c.cells.map((u, h) => /* @__PURE__ */ i.createElement(Pe, { key: h, ...u.componentProps }, u.renderFn ? u.renderFn(d.data, a) : void 0))
1092
1109
  );
1093
1110
  })
1094
1111
  )
1095
1112
  );
1096
- }, Ke = (a) => null, Oe = (a) => null, He = (a) => null, Zs = lt("List", (a) => {
1097
- var ee, te, se, ie, ae, ne, re, oe, le;
1098
- const { children: e, batchSize: t, onChange: s, refProp: n, ...o } = a, c = (ee = S(
1113
+ }, Oe = (a) => null, He = (a) => null, qe = (a) => null, ei = lt("List", (a) => {
1114
+ var se, ie, ae, ne, re, oe, le, ce, de;
1115
+ const { children: e, batchSize: t, onChange: s, refProp: n, ...o } = a, l = (se = b(
1099
1116
  e,
1100
- Me
1101
- )) == null ? void 0 : ee.props, l = (te = S(
1117
+ Be
1118
+ )) == null ? void 0 : se.props, d = (ie = b(
1102
1119
  e,
1103
- kt
1104
- )) == null ? void 0 : te.props, d = (se = S(e, Ne)) == null ? void 0 : se.props, u = {
1105
- source: c ? {
1106
- ...c,
1107
- asyncLoader: c.children
1108
- } : l ? {
1120
+ At
1121
+ )) == null ? void 0 : ie.props, c = (ae = b(e, Re)) == null ? void 0 : ae.props, u = {
1122
+ source: l ? {
1109
1123
  ...l,
1110
- asyncResourceFactory: l.children
1124
+ asyncLoader: l.children
1111
1125
  } : d ? {
1112
- staticData: d.data
1126
+ ...d,
1127
+ asyncResourceFactory: d.children
1128
+ } : c ? {
1129
+ staticData: c.data
1113
1130
  } : void 0
1114
- }, h = (ie = S(e, Re)) == null ? void 0 : ie.props, C = (ae = S(e, xe)) == null ? void 0 : ae.props, N = (ne = S(e, Ke)) == null ? void 0 : ne.props, L = P(e, $e).map(
1131
+ }, h = (ne = b(e, $e)) == null ? void 0 : ne.props, C = (re = b(e, Ne)) == null ? void 0 : re.props, R = (oe = b(e, Oe)) == null ? void 0 : oe.props, L = P(e, ze).map(
1115
1132
  (f) => ({
1116
1133
  ...f.props,
1117
1134
  name: f.props.children
1118
1135
  })
1119
- ), R = P(e, Ue).map(
1136
+ ), $ = P(e, Ke).map(
1120
1137
  (f) => ({
1121
1138
  ...f.props,
1122
1139
  renderFn: f.props.children
1123
1140
  })
1124
- ), $ = (re = S(e, ze)) == null ? void 0 : re.props, z = (oe = S(e, Oe)) == null ? void 0 : oe.props, p = (le = S(e, He)) == null ? void 0 : le.props, U = Cs.useNew({
1141
+ ), z = (le = b(e, Ue)) == null ? void 0 : le.props, U = (ce = b(e, He)) == null ? void 0 : ce.props, p = (de = b(e, qe)) == null ? void 0 : de.props, K = Is.useNew({
1125
1142
  onChange: s,
1126
1143
  loader: u,
1127
- filters: P(e, Be).map(
1144
+ filters: P(e, De).map(
1128
1145
  (f) => ({
1129
1146
  ...f.props,
1130
1147
  renderItem: f.props.children
@@ -1135,77 +1152,77 @@ const Gs = () => Re, $e = (a) => null, ze = (a) => null, Ue = (a) => null, js =
1135
1152
  textFieldProps: h,
1136
1153
  defaultValue: h.defaultValue
1137
1154
  } : void 0,
1138
- sorting: P(e, De).map((f) => f.props),
1155
+ sorting: P(e, xe).map((f) => f.props),
1139
1156
  itemView: C ? {
1140
1157
  ...C,
1141
1158
  renderFn: C.children
1142
1159
  } : void 0,
1143
1160
  table: L.length > 0 ? {
1144
1161
  header: {
1145
- ...z,
1162
+ ...U,
1146
1163
  columns: L
1147
1164
  },
1148
1165
  body: {
1149
1166
  ...p,
1150
1167
  row: {
1151
- ...$,
1152
- cells: R
1168
+ ...z,
1169
+ cells: $
1153
1170
  }
1154
1171
  },
1155
- ...N
1172
+ ...R
1156
1173
  } : void 0,
1157
1174
  batchesController: {
1158
1175
  batchSize: t
1159
1176
  },
1160
1177
  ...o
1161
- }), qe = {
1178
+ }), Ge = {
1162
1179
  ActionGroup: {
1163
1180
  className: F.actions,
1164
1181
  tunnelId: "actions",
1165
1182
  ignoreBreakpoint: !0
1166
1183
  }
1167
- }, Ge = !!S(e, Bt);
1168
- return /* @__PURE__ */ i.createElement(be, { props: qe }, /* @__PURE__ */ i.createElement(ve, null, /* @__PURE__ */ i.createElement(
1169
- Ve.Provider,
1184
+ }, je = !!b(e, Dt);
1185
+ return /* @__PURE__ */ i.createElement(ve, { props: Ge }, /* @__PURE__ */ i.createElement(we, null, /* @__PURE__ */ i.createElement(
1186
+ ke.Provider,
1170
1187
  {
1171
1188
  value: {
1172
- list: U
1189
+ list: K
1173
1190
  }
1174
1191
  },
1175
- /* @__PURE__ */ i.createElement(qt, null),
1176
- /* @__PURE__ */ i.createElement("div", { className: cs.list, ref: n }, e, /* @__PURE__ */ i.createElement(os, { hasActionGroup: Ge }), U.viewMode === "list" && /* @__PURE__ */ i.createElement(Ds, null), U.viewMode === "table" && /* @__PURE__ */ i.createElement(Xs, null), /* @__PURE__ */ i.createElement(qs, null))
1192
+ /* @__PURE__ */ i.createElement(Gt, null),
1193
+ /* @__PURE__ */ i.createElement("div", { className: ds.list, ref: n }, e, /* @__PURE__ */ i.createElement(ls, { hasActionGroup: je }), K.viewMode === "list" && /* @__PURE__ */ i.createElement(xs, null), K.viewMode === "table" && /* @__PURE__ */ i.createElement(Zs, null), /* @__PURE__ */ i.createElement(Gs, null))
1177
1194
  )));
1178
- }), ei = () => Zs, Zi = () => ({
1179
- List: ei(),
1180
- Filter: Ns(),
1181
- Search: Gs(),
1182
- Sorting: Rs(),
1183
- Item: $s(),
1184
- ItemView: Pe,
1185
- TableHeader: Oe,
1186
- TableColumn: $e,
1187
- TableBody: He,
1188
- TableRow: ze,
1189
- TableCell: Ue,
1190
- Table: Ke,
1191
- StaticData: zs(),
1192
- LoaderAsync: xs(),
1193
- LoaderAsyncResource: At()
1195
+ }), ti = () => ei, ea = () => ({
1196
+ List: ti(),
1197
+ Filter: Rs(),
1198
+ Search: js(),
1199
+ Sorting: $s(),
1200
+ Item: zs(),
1201
+ ItemView: Ve,
1202
+ TableHeader: He,
1203
+ TableColumn: ze,
1204
+ TableBody: qe,
1205
+ TableRow: Ue,
1206
+ TableCell: Ke,
1207
+ Table: Oe,
1208
+ StaticData: Us(),
1209
+ LoaderAsync: Ns(),
1210
+ LoaderAsyncResource: Mt()
1194
1211
  });
1195
1212
  export {
1196
- Zs as List,
1197
- Be as ListFilter,
1198
- xe as ListItem,
1199
- Pe as ListItemView,
1200
- Me as ListLoaderAsync,
1201
- De as ListSorting,
1202
- Ne as ListStaticData,
1203
- ei as TypedList,
1204
- Ns as TypedListFilter,
1205
- $s as TypedListItem,
1206
- xs as TypedListLoaderAsync,
1207
- Rs as TypedListSorting,
1208
- zs as TypedListStaticData,
1209
- Zi as typedList,
1213
+ ei as List,
1214
+ De as ListFilter,
1215
+ Ne as ListItem,
1216
+ Ve as ListItemView,
1217
+ Be as ListLoaderAsync,
1218
+ xe as ListSorting,
1219
+ Re as ListStaticData,
1220
+ ti as TypedList,
1221
+ Rs as TypedListFilter,
1222
+ zs as TypedListItem,
1223
+ Ns as TypedListLoaderAsync,
1224
+ $s as TypedListSorting,
1225
+ Us as TypedListStaticData,
1226
+ ea as typedList,
1210
1227
  g as useList
1211
1228
  };