@mittwald/flow-react-components 0.1.0-alpha.397 → 0.1.0-alpha.398

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