@mittwald/flow-react-components 0.1.0-alpha.389 → 0.1.0-alpha.390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/css/MenuItem.css +1 -1
- package/dist/css/Navigation.css +1 -1
- package/dist/css/Select.css +1 -1
- package/dist/js/ContextMenu.js +7 -5
- package/dist/js/ContextMenuSection-CmajFz_f.js +43 -0
- package/dist/js/ContextMenuTrigger-BAV29sr-.js +102 -0
- package/dist/js/List.js +96 -84
- package/dist/js/MenuItem-BUyas6dP.js +64 -0
- package/dist/js/MenuItem.js +1 -1
- package/dist/js/Navigation.js +5 -4
- package/dist/js/Section-wjl9OuOK.js +49 -0
- package/dist/js/Section.js +1 -1
- package/dist/js/Select.js +4 -3
- package/dist/js/Switch-BhDMHWjv.js +39 -0
- package/dist/js/Switch.js +3 -36
- package/dist/js/Tabs.js +10 -9
- package/dist/js/all.css +1 -1
- package/dist/js/types/components/ContextMenu/ContextMenu.d.ts +2 -1
- package/dist/js/types/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.d.ts +7 -2
- package/dist/js/types/components/ContextMenu/index.d.ts +1 -0
- package/dist/js/types/components/ContextMenu/lib.d.ts +4 -0
- package/dist/js/types/components/ContextMenu/stories/Default.stories.d.ts +1 -0
- package/dist/js/types/components/List/model/loading/IncrementalLoader.d.ts +3 -0
- package/dist/js/types/components/MenuItem/MenuItem.d.ts +1 -1
- package/dist/js/types/components/MenuItem/MenuItemContent.d.ts +1 -1
- package/package.json +4 -4
- package/dist/js/ContextMenu.module-_LC3xtX0.js +0 -9
- package/dist/js/ContextMenuTrigger-CsnzKkVf.js +0 -96
- package/dist/js/MenuItem-BhQ--5y5.js +0 -59
- package/dist/js/Section-7khrqgxc.js +0 -61
- /package/dist/css/{ContextMenu.css → ContextMenuSection.css} +0 -0
package/dist/js/List.js
CHANGED
|
@@ -13,8 +13,9 @@ import { B as w } from "./Button-BTc_iJae.js";
|
|
|
13
13
|
import { IconArrowBackUp as le } from "@tabler/icons-react";
|
|
14
14
|
import { I as pt } from "./Icon--OEo4TjW.js";
|
|
15
15
|
import { I as ce } from "./IconContextMenu-x1p9NcUF.js";
|
|
16
|
-
import { a as H, C as _ } from "./ContextMenuTrigger-
|
|
17
|
-
import { M as tt } from "./MenuItem-
|
|
16
|
+
import { a as H, C as _ } from "./ContextMenuTrigger-BAV29sr-.js";
|
|
17
|
+
import { M as tt } from "./MenuItem-BUyas6dP.js";
|
|
18
|
+
import "./ContextMenuSection-CmajFz_f.js";
|
|
18
19
|
import { useLocalizedStringFormatter as I } from "react-aria";
|
|
19
20
|
import { TunnelProvider as Ft, TunnelExit as x } from "@mittwald/react-tunnel";
|
|
20
21
|
import B from "clsx";
|
|
@@ -23,21 +24,21 @@ import { R as de } from "./Render-BOMk4emj.js";
|
|
|
23
24
|
import { T } from "./Text-Dh4iy9qD.js";
|
|
24
25
|
import { c as ue, a as me, b as he, I as ge, d as pe } from "./IconView-CSIFhlza.js";
|
|
25
26
|
import { observer as fe } from "mobx-react-lite";
|
|
26
|
-
import { a as G, T as
|
|
27
|
-
import { B as
|
|
28
|
-
import { makeObservable as
|
|
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";
|
|
29
30
|
import "./context-BaYmTa0I.js";
|
|
30
|
-
import { u as
|
|
31
|
-
import { S as
|
|
31
|
+
import { u as ye } from "./useOnChange-C1Quwyuz.js";
|
|
32
|
+
import { S as ve } from "./SearchField-BGdC1K9_.js";
|
|
32
33
|
import { H as et } from "./Heading-C61IpDy1.js";
|
|
33
|
-
import { S as Ee } from "./Section-
|
|
34
|
+
import { S as Ee } from "./Section-wjl9OuOK.js";
|
|
34
35
|
import { getProperty as we } from "dot-prop";
|
|
35
36
|
import { hash as Tt } from "object-code";
|
|
36
37
|
import N from "zod";
|
|
37
38
|
import { useReactTable as Fe, getCoreRowModel as Ie, getSortedRowModel as Te, getFilteredRowModel as Ce, getPaginationRowModel as Le, getFacetedUniqueValues as Pe } from "@tanstack/react-table";
|
|
38
39
|
import Ct from "invariant";
|
|
39
|
-
import { getAsyncResource as
|
|
40
|
-
import { u as
|
|
40
|
+
import { getAsyncResource as bt } from "@mittwald/react-use-promise";
|
|
41
|
+
import { u as yt } from "./useSelector-DpU7_HMO.js";
|
|
41
42
|
import { u as Ae } from "./SettingsProvider-D9oDS5r9.js";
|
|
42
43
|
import * as st from "react-aria-components";
|
|
43
44
|
import { S as z } from "./SkeletonText-B5ZghZhO.js";
|
|
@@ -45,12 +46,12 @@ import { I as Ve } from "./IconChevronDown-wKRgAuyR.js";
|
|
|
45
46
|
import { I as ke } from "./IconChevronUp-C2rq4v--.js";
|
|
46
47
|
import { I as Be } from "./IllustratedMessage-DB1AH-Oq.js";
|
|
47
48
|
import { I as Me } from "./IconSearch-9xESFc33.js";
|
|
48
|
-
import { a as
|
|
49
|
+
import { a as v, b as D, d as xe } from "./deepHas-KHS5X1F_.js";
|
|
49
50
|
import { ListLoaderAsyncResource as De, TypedListLoaderAsyncResource as Ne } from "./List/ListLoaderAsyncResource.js";
|
|
50
51
|
import { S as Re } from "./Skeleton-CKLaTmDR.js";
|
|
51
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";
|
|
52
53
|
import { A as $e } from "./ActionGroup-Bd0aZvbX.js";
|
|
53
|
-
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",
|
|
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 = {
|
|
54
55
|
view: Ue,
|
|
55
56
|
content: ze,
|
|
56
57
|
title: Ke,
|
|
@@ -58,10 +59,10 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
58
59
|
subTitle: He,
|
|
59
60
|
heading: qe,
|
|
60
61
|
text: Ge,
|
|
61
|
-
topContent:
|
|
62
|
-
action:
|
|
62
|
+
topContent: je,
|
|
63
|
+
action: We,
|
|
63
64
|
bottomContent: Je
|
|
64
|
-
},
|
|
65
|
+
}, b = { "de-DE": {
|
|
65
66
|
"list.filters.clear": "Filter entfernen",
|
|
66
67
|
"list.filters.reset": "Filter zurücksetzen",
|
|
67
68
|
"list.filters.store": "Filter speichern",
|
|
@@ -94,7 +95,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
94
95
|
"list.toggleExpandButton.collapse": "Show less",
|
|
95
96
|
"list.toggleExpandButton.expand": "Show more"
|
|
96
97
|
} }, Ye = (n) => {
|
|
97
|
-
const { className: t, children: e } = n, s = I(
|
|
98
|
+
const { className: t, children: e } = n, s = I(b);
|
|
98
99
|
return /* @__PURE__ */ a.createElement(H, null, /* @__PURE__ */ a.createElement(
|
|
99
100
|
w,
|
|
100
101
|
{
|
|
@@ -148,10 +149,10 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
148
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" }))));
|
|
149
150
|
}, Xe = "flow--list--list-summary", Ze = {
|
|
150
151
|
listSummary: Xe
|
|
151
|
-
},
|
|
152
|
+
}, ri = It("ListSummary", (n) => {
|
|
152
153
|
const { children: t } = n;
|
|
153
154
|
return /* @__PURE__ */ a.createElement("header", { className: Ze.listSummary, ...n }, t);
|
|
154
|
-
}), xt = _t({}),
|
|
155
|
+
}), xt = _t({}), S = () => te(xt).list, _e = () => S().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ a.createElement(de, { key: e }, () => {
|
|
155
156
|
t();
|
|
156
157
|
})), ts = (n) => {
|
|
157
158
|
const { sorting: t } = n;
|
|
@@ -160,10 +161,10 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
160
161
|
const { children: t, locales: e, variables: s } = n;
|
|
161
162
|
return I(e).format(t, s);
|
|
162
163
|
}, es = () => {
|
|
163
|
-
const n =
|
|
164
|
+
const n = S(), t = n.visibleSorting.map((i) => /* @__PURE__ */ a.createElement(ts, { sorting: i, key: i.id }));
|
|
164
165
|
if (t.length === 0)
|
|
165
166
|
return null;
|
|
166
|
-
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:
|
|
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"));
|
|
167
168
|
return /* @__PURE__ */ a.createElement(H, null, /* @__PURE__ */ a.createElement(w, { variant: "outline", color: "secondary" }, s, /* @__PURE__ */ a.createElement(ue, null)), /* @__PURE__ */ a.createElement(
|
|
168
169
|
_,
|
|
169
170
|
{
|
|
@@ -205,7 +206,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
205
206
|
activeFilters: ls,
|
|
206
207
|
clearButton: cs
|
|
207
208
|
}, us = fe(() => {
|
|
208
|
-
const n =
|
|
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(
|
|
209
210
|
w,
|
|
210
211
|
{
|
|
211
212
|
size: "s",
|
|
@@ -215,7 +216,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
215
216
|
"aria-label": t.format("list.filters.store")
|
|
216
217
|
},
|
|
217
218
|
/* @__PURE__ */ a.createElement(he, null)
|
|
218
|
-
)), c = i ? /* @__PURE__ */ a.createElement(G, null, /* @__PURE__ */ a.createElement(
|
|
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(
|
|
219
220
|
w,
|
|
220
221
|
{
|
|
221
222
|
size: "s",
|
|
@@ -225,7 +226,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
225
226
|
"aria-label": t.format("list.filters.reset")
|
|
226
227
|
},
|
|
227
228
|
/* @__PURE__ */ a.createElement(pt, null, /* @__PURE__ */ a.createElement(le, null))
|
|
228
|
-
)) : void 0, d = s.length > 0 ? /* @__PURE__ */ a.createElement(G, null, /* @__PURE__ */ a.createElement(
|
|
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(
|
|
229
230
|
w,
|
|
230
231
|
{
|
|
231
232
|
size: "s",
|
|
@@ -245,7 +246,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
245
246
|
const h = setTimeout(() => l(), ms);
|
|
246
247
|
return () => clearTimeout(h);
|
|
247
248
|
}
|
|
248
|
-
}, [c, i]),
|
|
249
|
+
}, [c, i]), ye(s, () => {
|
|
249
250
|
d(s ?? "");
|
|
250
251
|
}, [c]);
|
|
251
252
|
const u = () => {
|
|
@@ -254,7 +255,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
254
255
|
h.key === "Enter" ? l() : h.key === "Escape" && u();
|
|
255
256
|
};
|
|
256
257
|
return /* @__PURE__ */ a.createElement(
|
|
257
|
-
|
|
258
|
+
ve,
|
|
258
259
|
{
|
|
259
260
|
className: t,
|
|
260
261
|
value: c,
|
|
@@ -273,7 +274,7 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
273
274
|
...e.textFieldProps
|
|
274
275
|
});
|
|
275
276
|
}, ps = () => {
|
|
276
|
-
const n = I(
|
|
277
|
+
const n = I(b), t = S(), e = t.viewMode, s = [];
|
|
277
278
|
return t.itemView && s.push("list"), t.table && s.push("table"), s.length <= 1 ? null : /* @__PURE__ */ a.createElement(H, null, /* @__PURE__ */ a.createElement(
|
|
278
279
|
w,
|
|
279
280
|
{
|
|
@@ -295,15 +296,15 @@ const Ue = "flow--list--items--item--view", ze = "flow--list--items--item--view-
|
|
|
295
296
|
n.format(`list.settings.viewMode.${i}`)
|
|
296
297
|
)))));
|
|
297
298
|
}, fs = (n) => {
|
|
298
|
-
const { className: t, hasActionGroup: e } = n, s =
|
|
299
|
+
const { className: t, hasActionGroup: e } = n, s = S();
|
|
299
300
|
if (s.filters.length === 0 && s.visibleSorting.length === 0 && !s.search && !s.table && !e)
|
|
300
301
|
return null;
|
|
301
302
|
const i = s.filters.map((o) => /* @__PURE__ */ a.createElement(ss, { key: o.property, filter: o }));
|
|
302
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));
|
|
303
|
-
},
|
|
304
|
-
list:
|
|
304
|
+
}, Ss = "flow--list", bs = {
|
|
305
|
+
list: Ss
|
|
305
306
|
};
|
|
306
|
-
let
|
|
307
|
+
let ys = class Dt {
|
|
307
308
|
constructor(t, e, s) {
|
|
308
309
|
r(this, "id");
|
|
309
310
|
r(this, "data");
|
|
@@ -314,13 +315,13 @@ let vs = class Dt {
|
|
|
314
315
|
return new Dt(t, e.id, e.original);
|
|
315
316
|
}
|
|
316
317
|
};
|
|
317
|
-
class
|
|
318
|
+
class vs {
|
|
318
319
|
constructor(t) {
|
|
319
320
|
r(this, "list");
|
|
320
321
|
this.list = t;
|
|
321
322
|
}
|
|
322
323
|
get entries() {
|
|
323
|
-
return this.list.reactTable.table.getRowModel().rows.map((t) =>
|
|
324
|
+
return this.list.reactTable.table.getRowModel().rows.map((t) => ys.fromRow(this, t));
|
|
324
325
|
}
|
|
325
326
|
}
|
|
326
327
|
class Es {
|
|
@@ -641,7 +642,9 @@ class at {
|
|
|
641
642
|
(s) => s.updateTableColumnDef(e(s.property))
|
|
642
643
|
), this.list.sorting.forEach(
|
|
643
644
|
(s) => s.updateTableColumnDef(e(s.property))
|
|
644
|
-
),
|
|
645
|
+
), this.list.loader.staticDataProperties.forEach((s) => {
|
|
646
|
+
e(s);
|
|
647
|
+
}), Array.from(t.values());
|
|
645
648
|
}
|
|
646
649
|
}
|
|
647
650
|
class it {
|
|
@@ -649,17 +652,17 @@ class it {
|
|
|
649
652
|
r(this, "dataBatches", []);
|
|
650
653
|
r(this, "prevDataBatches", []);
|
|
651
654
|
r(this, "batchLoadingStates", ["void"]);
|
|
652
|
-
|
|
655
|
+
be(this, {
|
|
653
656
|
prevDataBatches: !1,
|
|
654
657
|
useMergedData: !1,
|
|
655
658
|
useIsLoading: !1,
|
|
656
659
|
dataBatches: ft.shallow,
|
|
657
660
|
batchLoadingStates: ft.shallow,
|
|
658
|
-
mergedData:
|
|
659
|
-
isLoading:
|
|
660
|
-
reset:
|
|
661
|
-
setDataBatch:
|
|
662
|
-
setBatchLoadingState:
|
|
661
|
+
mergedData: St,
|
|
662
|
+
isLoading: St,
|
|
663
|
+
reset: W.bound,
|
|
664
|
+
setDataBatch: W.bound,
|
|
665
|
+
setBatchLoadingState: W.bound
|
|
663
666
|
});
|
|
664
667
|
}
|
|
665
668
|
static useNew() {
|
|
@@ -678,13 +681,13 @@ class it {
|
|
|
678
681
|
return (this.dataBatches.length === 0 ? this.prevDataBatches : this.dataBatches).flatMap((e) => e);
|
|
679
682
|
}
|
|
680
683
|
useMergedData() {
|
|
681
|
-
return
|
|
684
|
+
return yt(() => this.mergedData);
|
|
682
685
|
}
|
|
683
686
|
get isLoading() {
|
|
684
687
|
return this.batchLoadingStates.some((t) => t === "loading" || t === "void");
|
|
685
688
|
}
|
|
686
689
|
useIsLoading() {
|
|
687
|
-
return
|
|
690
|
+
return yt(() => this.isLoading);
|
|
688
691
|
}
|
|
689
692
|
isBatchLoaded(t) {
|
|
690
693
|
return t in this.dataBatches;
|
|
@@ -699,15 +702,24 @@ class nt {
|
|
|
699
702
|
r(this, "manualFiltering");
|
|
700
703
|
r(this, "manualPagination");
|
|
701
704
|
r(this, "loaderState");
|
|
705
|
+
r(this, "staticDataProperties", []);
|
|
702
706
|
var d;
|
|
703
707
|
const { source: s } = e;
|
|
704
708
|
this.dataSource = s ?? { staticData: Cs };
|
|
705
709
|
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;
|
|
706
|
-
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());
|
|
710
|
+
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();
|
|
707
711
|
}
|
|
708
712
|
static useNew(t, e = {}) {
|
|
709
713
|
return new nt(t, e);
|
|
710
714
|
}
|
|
715
|
+
initStaticDataProperties() {
|
|
716
|
+
const t = (e) => {
|
|
717
|
+
typeof e != "object" || e === null || Object.keys(e).filter((s) => !this.staticDataProperties.includes(s)).forEach((s) => {
|
|
718
|
+
this.staticDataProperties.push(s);
|
|
719
|
+
});
|
|
720
|
+
};
|
|
721
|
+
"staticData" in this.dataSource && this.dataSource.staticData.slice(0, 100).forEach(t);
|
|
722
|
+
}
|
|
711
723
|
reset() {
|
|
712
724
|
this.loaderState.reset();
|
|
713
725
|
}
|
|
@@ -773,7 +785,7 @@ class nt {
|
|
|
773
785
|
getBatchDataAsyncResource(t) {
|
|
774
786
|
const e = this.dataSource, s = this.getDataLoaderOptions(t);
|
|
775
787
|
if ("staticData" in e)
|
|
776
|
-
return
|
|
788
|
+
return bt(
|
|
777
789
|
async (i) => ({
|
|
778
790
|
data: i,
|
|
779
791
|
itemTotalCount: i.length
|
|
@@ -782,7 +794,7 @@ class nt {
|
|
|
782
794
|
);
|
|
783
795
|
if ("asyncLoader" in e) {
|
|
784
796
|
const i = e.asyncLoader, o = e.dependencies, c = o ? Tt(o).toString() : void 0;
|
|
785
|
-
return
|
|
797
|
+
return bt(i, [s], {
|
|
786
798
|
loaderId: c
|
|
787
799
|
});
|
|
788
800
|
}
|
|
@@ -927,7 +939,7 @@ let xs = (E = class {
|
|
|
927
939
|
accordion: P = !1,
|
|
928
940
|
...f
|
|
929
941
|
} = t;
|
|
930
|
-
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
|
|
942
|
+
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, {
|
|
931
943
|
manualFiltering: this.loader.manualFiltering,
|
|
932
944
|
manualPagination: this.loader.manualPagination,
|
|
933
945
|
manualSorting: this.loader.manualSorting
|
|
@@ -1004,7 +1016,7 @@ let xs = (E = class {
|
|
|
1004
1016
|
return !this.loader.useIsLoading() && this.items.entries.length === 0;
|
|
1005
1017
|
}
|
|
1006
1018
|
}, r(E, "viewModeSettingsStorageSchema", N.enum(["list", "table"]).optional()), E);
|
|
1007
|
-
const Ds = "flow--list--items", Ns = "flow--list--items--is-loading",
|
|
1019
|
+
const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", vt = {
|
|
1008
1020
|
items: Ds,
|
|
1009
1021
|
isLoading: Ns
|
|
1010
1022
|
}, Rs = "flow--list--items--item", $s = "flow--list--items--item--is-selected", Us = "flow--list--items--item--has-action", U = {
|
|
@@ -1012,7 +1024,7 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", yt = {
|
|
|
1012
1024
|
isSelected: $s,
|
|
1013
1025
|
hasAction: Us
|
|
1014
1026
|
}, 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) => {
|
|
1015
|
-
const { isExpanded: t, toggle: e, children: s, contentElementId: i } = n, o = I(
|
|
1027
|
+
const { isExpanded: t, toggle: e, children: s, contentElementId: i } = n, o = I(b);
|
|
1016
1028
|
return /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
1017
1029
|
w,
|
|
1018
1030
|
{
|
|
@@ -1029,7 +1041,7 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", yt = {
|
|
|
1029
1041
|
), t && s);
|
|
1030
1042
|
}, Ks = (n) => {
|
|
1031
1043
|
var P;
|
|
1032
|
-
const { data: t, children: e } = n, s =
|
|
1044
|
+
const { data: t, children: e } = n, s = S(), i = s.itemView, o = s.onAction, [c, d] = O(
|
|
1033
1045
|
((P = i == null ? void 0 : i.defaultExpanded) == null ? void 0 : P.call(i, t)) ?? !1
|
|
1034
1046
|
), l = ee(), u = wt(null), m = s.accordion, h = e ?? (i == null ? void 0 : i.render(t));
|
|
1035
1047
|
if (k(() => {
|
|
@@ -1076,7 +1088,7 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", yt = {
|
|
|
1076
1088
|
)
|
|
1077
1089
|
};
|
|
1078
1090
|
}, Os = (n) => {
|
|
1079
|
-
const { id: t, data: e } = n, i =
|
|
1091
|
+
const { id: t, data: e } = n, i = S().itemView, { gridItemProps: o, children: c } = Ks(n);
|
|
1080
1092
|
if (!i)
|
|
1081
1093
|
return null;
|
|
1082
1094
|
const d = i.textValue ? i.textValue(e) : void 0, l = i.href ? i.href(e) : void 0, u = !!o.onAction || !!l;
|
|
@@ -1096,17 +1108,17 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", yt = {
|
|
|
1096
1108
|
/* @__PURE__ */ a.createElement(se, { fallback: /* @__PURE__ */ a.createElement(Nt, null) }, c)
|
|
1097
1109
|
);
|
|
1098
1110
|
}, Hs = (n) => /* @__PURE__ */ a.createElement(st.GridListItem, { textValue: "-", className: U.item }, n.children), X = () => {
|
|
1099
|
-
const n = I(
|
|
1111
|
+
const n = I(b);
|
|
1100
1112
|
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")));
|
|
1101
1113
|
}, qs = () => {
|
|
1102
1114
|
var e;
|
|
1103
|
-
const t = ((e =
|
|
1115
|
+
const t = ((e = S().itemView) == null ? void 0 : e.fallback) ?? /* @__PURE__ */ a.createElement(Nt, null);
|
|
1104
1116
|
return Array.from(Array(5)).map((s, i) => /* @__PURE__ */ a.createElement(Hs, { key: i }, ae(t)));
|
|
1105
1117
|
}, Gs = () => {
|
|
1106
|
-
const n =
|
|
1118
|
+
const n = S(), t = n.loader.useIsLoading(), e = n.loader.useIsInitiallyLoading();
|
|
1107
1119
|
if (!n.itemView)
|
|
1108
1120
|
return null;
|
|
1109
|
-
const s = n.items.entries.map((o) => /* @__PURE__ */ a.createElement(Os, { key: o.id, data: o.data, id: o.id })), i = B(
|
|
1121
|
+
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);
|
|
1110
1122
|
return /* @__PURE__ */ a.createElement("div", { "aria-hidden": e, "aria-busy": t }, /* @__PURE__ */ a.createElement(
|
|
1111
1123
|
st.GridList,
|
|
1112
1124
|
{
|
|
@@ -1116,10 +1128,10 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", yt = {
|
|
|
1116
1128
|
},
|
|
1117
1129
|
e ? /* @__PURE__ */ a.createElement(qs, null) : s
|
|
1118
1130
|
));
|
|
1119
|
-
}, Rt = (n) => null,
|
|
1131
|
+
}, 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 = {
|
|
1120
1132
|
footer: Xs
|
|
1121
1133
|
}, _s = (n) => {
|
|
1122
|
-
const t = I(
|
|
1134
|
+
const t = I(b), e = S(), s = e.batches, i = e.loader.useIsInitiallyLoading(), o = e.useIsEmpty(), c = s.getTotalItemsCount(), d = s.getVisibleItemsCount();
|
|
1123
1135
|
if (o)
|
|
1124
1136
|
return null;
|
|
1125
1137
|
const l = i ? /* @__PURE__ */ a.createElement(Re, { width: "200px" }) : t.format("list.paginationInfo", {
|
|
@@ -1128,7 +1140,7 @@ const Ds = "flow--list--items", Ns = "flow--list--items--is-loading", yt = {
|
|
|
1128
1140
|
});
|
|
1129
1141
|
return /* @__PURE__ */ a.createElement(T, { ...n }, l);
|
|
1130
1142
|
}, ta = (n) => {
|
|
1131
|
-
const t = I(
|
|
1143
|
+
const t = I(b), e = S(), s = e.loader.useIsLoading(), i = e.loader.useIsInitiallyLoading();
|
|
1132
1144
|
return !e.batches.hasNextBatch() && !s ? null : /* @__PURE__ */ a.createElement(
|
|
1133
1145
|
w,
|
|
1134
1146
|
{
|
|
@@ -1152,7 +1164,7 @@ const sa = () => Ot, Ht = (n) => null, qt = (n) => null, Gt = (n) => null, aa =
|
|
|
1152
1164
|
isSelected: oa,
|
|
1153
1165
|
hasAction: la
|
|
1154
1166
|
}, ca = () => {
|
|
1155
|
-
const n =
|
|
1167
|
+
const n = S(), t = n.table, e = n.useIsEmpty(), s = n.loader.useIsLoading(), i = n.loader.useIsInitiallyLoading();
|
|
1156
1168
|
if (!t)
|
|
1157
1169
|
return null;
|
|
1158
1170
|
if (i)
|
|
@@ -1199,15 +1211,15 @@ const sa = () => Ot, Ht = (n) => null, qt = (n) => null, Gt = (n) => null, aa =
|
|
|
1199
1211
|
})
|
|
1200
1212
|
)
|
|
1201
1213
|
);
|
|
1202
|
-
},
|
|
1214
|
+
}, jt = (n) => null, Wt = (n) => null, Jt = (n) => null, da = It("List", (n) => {
|
|
1203
1215
|
var rt, ot, lt, ct, dt, ut, mt, ht, gt;
|
|
1204
|
-
const { children: t, batchSize: e, onChange: s, refProp: i, ...o } = n, c = (rt =
|
|
1216
|
+
const { children: t, batchSize: e, onChange: s, refProp: i, ...o } = n, c = (rt = v(
|
|
1205
1217
|
t,
|
|
1206
1218
|
Rt
|
|
1207
|
-
)) == null ? void 0 : rt.props, d = (ot =
|
|
1219
|
+
)) == null ? void 0 : rt.props, d = (ot = v(
|
|
1208
1220
|
t,
|
|
1209
1221
|
De
|
|
1210
|
-
)) == null ? void 0 : ot.props, l = (lt =
|
|
1222
|
+
)) == null ? void 0 : ot.props, l = (lt = v(t, Kt)) == null ? void 0 : lt.props, u = {
|
|
1211
1223
|
source: c ? {
|
|
1212
1224
|
...c,
|
|
1213
1225
|
asyncLoader: c.children
|
|
@@ -1217,23 +1229,23 @@ const sa = () => Ot, Ht = (n) => null, qt = (n) => null, Gt = (n) => null, aa =
|
|
|
1217
1229
|
} : l ? {
|
|
1218
1230
|
staticData: l.data
|
|
1219
1231
|
} : void 0
|
|
1220
|
-
}, m = (ct =
|
|
1221
|
-
(
|
|
1222
|
-
...
|
|
1223
|
-
name:
|
|
1232
|
+
}, 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(
|
|
1233
|
+
(y) => ({
|
|
1234
|
+
...y.props,
|
|
1235
|
+
name: y.props.children
|
|
1224
1236
|
})
|
|
1225
1237
|
), P = D(t, Gt).map(
|
|
1226
|
-
(
|
|
1227
|
-
...
|
|
1228
|
-
renderFn:
|
|
1238
|
+
(y) => ({
|
|
1239
|
+
...y.props,
|
|
1240
|
+
renderFn: y.props.children
|
|
1229
1241
|
})
|
|
1230
|
-
), f = (mt =
|
|
1242
|
+
), 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({
|
|
1231
1243
|
onChange: s,
|
|
1232
1244
|
loader: u,
|
|
1233
1245
|
filters: D(t, $t).map(
|
|
1234
|
-
(
|
|
1235
|
-
...
|
|
1236
|
-
renderItem:
|
|
1246
|
+
(y) => ({
|
|
1247
|
+
...y.props,
|
|
1248
|
+
renderItem: y.props.children
|
|
1237
1249
|
})
|
|
1238
1250
|
),
|
|
1239
1251
|
search: m ? {
|
|
@@ -1241,7 +1253,7 @@ const sa = () => Ot, Ht = (n) => null, qt = (n) => null, Gt = (n) => null, aa =
|
|
|
1241
1253
|
textFieldProps: m,
|
|
1242
1254
|
defaultValue: m.defaultValue
|
|
1243
1255
|
} : void 0,
|
|
1244
|
-
sorting: D(t, Ut).map((
|
|
1256
|
+
sorting: D(t, Ut).map((y) => y.props),
|
|
1245
1257
|
itemView: h ? {
|
|
1246
1258
|
...h,
|
|
1247
1259
|
renderFn: h.children
|
|
@@ -1282,23 +1294,23 @@ const sa = () => Ot, Ht = (n) => null, qt = (n) => null, Gt = (n) => null, aa =
|
|
|
1282
1294
|
}
|
|
1283
1295
|
},
|
|
1284
1296
|
/* @__PURE__ */ a.createElement(_e, null),
|
|
1285
|
-
/* @__PURE__ */ a.createElement("div", { className:
|
|
1297
|
+
/* @__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))
|
|
1286
1298
|
)));
|
|
1287
|
-
}), ua = () => da,
|
|
1299
|
+
}), ua = () => da, hi = () => ({
|
|
1288
1300
|
List: ua(),
|
|
1289
|
-
Filter:
|
|
1301
|
+
Filter: Ws(),
|
|
1290
1302
|
Search: sa(),
|
|
1291
1303
|
Sorting: Js(),
|
|
1292
1304
|
Item: Ys(),
|
|
1293
1305
|
ItemView: Mt,
|
|
1294
|
-
TableHeader:
|
|
1306
|
+
TableHeader: Wt,
|
|
1295
1307
|
TableColumn: Ht,
|
|
1296
1308
|
TableBody: Jt,
|
|
1297
1309
|
TableRow: qt,
|
|
1298
1310
|
TableCell: Gt,
|
|
1299
|
-
Table:
|
|
1311
|
+
Table: jt,
|
|
1300
1312
|
StaticData: Qs(),
|
|
1301
|
-
LoaderAsync:
|
|
1313
|
+
LoaderAsync: js(),
|
|
1302
1314
|
LoaderAsyncResource: Ne()
|
|
1303
1315
|
});
|
|
1304
1316
|
export {
|
|
@@ -1309,13 +1321,13 @@ export {
|
|
|
1309
1321
|
Rt as ListLoaderAsync,
|
|
1310
1322
|
Ut as ListSorting,
|
|
1311
1323
|
Kt as ListStaticData,
|
|
1312
|
-
|
|
1324
|
+
ri as ListSummary,
|
|
1313
1325
|
ua as TypedList,
|
|
1314
|
-
|
|
1326
|
+
Ws as TypedListFilter,
|
|
1315
1327
|
Ys as TypedListItem,
|
|
1316
|
-
|
|
1328
|
+
js as TypedListLoaderAsync,
|
|
1317
1329
|
Js as TypedListSorting,
|
|
1318
1330
|
Qs as TypedListStaticData,
|
|
1319
|
-
|
|
1320
|
-
|
|
1331
|
+
hi as typedList,
|
|
1332
|
+
S as useList
|
|
1321
1333
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import * as x from "react-aria-components";
|
|
5
|
+
import i from "clsx";
|
|
6
|
+
import "./propsContext-DzAKlmhS.js";
|
|
7
|
+
import { PropsContextProvider as p } from "./PropsContextProvider.js";
|
|
8
|
+
import "@react-aria/utils";
|
|
9
|
+
import "remeda";
|
|
10
|
+
import "@tabler/icons-react";
|
|
11
|
+
import "./Icon--OEo4TjW.js";
|
|
12
|
+
import { I as E, a as d } from "./IconCheckboxEmpty-CZrD3f3O.js";
|
|
13
|
+
import { I as v, a as C } from "./IconRadioOn-D7w6KLWm.js";
|
|
14
|
+
import { T as u } from "./Text-Dh4iy9qD.js";
|
|
15
|
+
import { d as f } from "./deepHas-KHS5X1F_.js";
|
|
16
|
+
import { W as N } from "./Wrap-DGT1h1o3.js";
|
|
17
|
+
import { A as M } from "./Avatar-BtigJjWX.js";
|
|
18
|
+
import { S as I } from "./Switch-BhDMHWjv.js";
|
|
19
|
+
import { f as A } from "./flowComponent-BQs9wMX_.js";
|
|
20
|
+
const R = "flow--menu-item", S = "flow--menu-item--icon", g = "flow--menu-item--text", y = "flow--menu-item--control-icon", O = "flow--menu-item--avatar", t = {
|
|
21
|
+
menuItem: R,
|
|
22
|
+
switch: "flow--menu-item--switch",
|
|
23
|
+
icon: S,
|
|
24
|
+
text: g,
|
|
25
|
+
controlIcon: y,
|
|
26
|
+
avatar: O
|
|
27
|
+
}, P = (a) => {
|
|
28
|
+
const {
|
|
29
|
+
selectionMode: n,
|
|
30
|
+
isSelected: o,
|
|
31
|
+
selectionVariant: r = "control",
|
|
32
|
+
children: c
|
|
33
|
+
} = a, m = {
|
|
34
|
+
Icon: {
|
|
35
|
+
className: t.icon
|
|
36
|
+
},
|
|
37
|
+
Text: {
|
|
38
|
+
className: t.text
|
|
39
|
+
},
|
|
40
|
+
Avatar: {
|
|
41
|
+
className: t.avatar
|
|
42
|
+
}
|
|
43
|
+
}, s = {
|
|
44
|
+
Icon: {
|
|
45
|
+
className: i(t.controlIcon, t.icon)
|
|
46
|
+
},
|
|
47
|
+
Switch: {
|
|
48
|
+
className: i(t.controlIcon, t.switch)
|
|
49
|
+
}
|
|
50
|
+
}, l = n === "none" || r === "navigation" ? null : r === "switch" && o ? /* @__PURE__ */ e.createElement(I, { isReadOnly: !0, isSelected: !0 }) : r === "switch" && !o ? /* @__PURE__ */ e.createElement(I, { isReadOnly: !0 }) : n === "single" && o ? /* @__PURE__ */ e.createElement(v, null) : n === "single" && !o ? /* @__PURE__ */ e.createElement(C, null) : n === "multiple" && o ? /* @__PURE__ */ e.createElement(E, null) : /* @__PURE__ */ e.createElement(d, null), h = f(c, u), w = f(c, M);
|
|
51
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(p, { props: s }, l), /* @__PURE__ */ e.createElement(p, { props: m }, /* @__PURE__ */ e.createElement(N, { if: !h && !w }, /* @__PURE__ */ e.createElement(u, null, c))));
|
|
52
|
+
}, Q = A("MenuItem", (a) => {
|
|
53
|
+
const {
|
|
54
|
+
children: n,
|
|
55
|
+
className: o,
|
|
56
|
+
selectionVariant: r,
|
|
57
|
+
refProp: c,
|
|
58
|
+
...m
|
|
59
|
+
} = a, s = i(t.menuItem, o);
|
|
60
|
+
return /* @__PURE__ */ e.createElement(x.MenuItem, { ...m, className: s, ref: c }, (l) => /* @__PURE__ */ e.createElement(P, { ...l, selectionVariant: r }, n));
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
Q as M
|
|
64
|
+
};
|
package/dist/js/MenuItem.js
CHANGED
package/dist/js/Navigation.js
CHANGED
|
@@ -11,10 +11,11 @@ import { d as E } from "./deepHas-KHS5X1F_.js";
|
|
|
11
11
|
import { TunnelProvider as g, TunnelExit as p } from "@mittwald/react-tunnel";
|
|
12
12
|
import { A as x } from "./Accordion-Btnh1ek-.js";
|
|
13
13
|
import { C as b } from "./Content-BHs6Idqq.js";
|
|
14
|
-
const
|
|
15
|
-
navigation:
|
|
16
|
-
item:
|
|
17
|
-
|
|
14
|
+
const w = "flow--navigation", N = "flow--navigation--item", C = "flow--navigation--icon", I = "flow--navigation--text", P = "flow--navigation--control-icon", h = "flow--navigation--avatar", r = {
|
|
15
|
+
navigation: w,
|
|
16
|
+
item: N,
|
|
17
|
+
switch: "flow--navigation--switch",
|
|
18
|
+
icon: C,
|
|
18
19
|
text: I,
|
|
19
20
|
controlIcon: P,
|
|
20
21
|
avatar: h
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import t, { useId as p } from "react";
|
|
4
|
+
import f from "clsx";
|
|
5
|
+
import "./propsContext-DzAKlmhS.js";
|
|
6
|
+
import { PropsContextProvider as h } from "./PropsContextProvider.js";
|
|
7
|
+
import "@react-aria/utils";
|
|
8
|
+
import "remeda";
|
|
9
|
+
import { f as u } from "./flowComponent-BQs9wMX_.js";
|
|
10
|
+
import { C as S } from "./ContextMenuSection-CmajFz_f.js";
|
|
11
|
+
const C = "flow--section", g = "flow--section--hide-separator", x = "flow--section--heading", o = {
|
|
12
|
+
section: C,
|
|
13
|
+
hideSeparator: g,
|
|
14
|
+
heading: x
|
|
15
|
+
}, y = u("Section", (n) => {
|
|
16
|
+
const {
|
|
17
|
+
children: e,
|
|
18
|
+
className: i,
|
|
19
|
+
refProp: a,
|
|
20
|
+
renderContextMenuSection: s,
|
|
21
|
+
hideSeparator: c,
|
|
22
|
+
...l
|
|
23
|
+
} = n;
|
|
24
|
+
if (!e)
|
|
25
|
+
return null;
|
|
26
|
+
if (s)
|
|
27
|
+
return /* @__PURE__ */ t.createElement(S, null, e);
|
|
28
|
+
const m = f(
|
|
29
|
+
o.section,
|
|
30
|
+
i,
|
|
31
|
+
c && o.hideSeparator
|
|
32
|
+
), r = p(), d = {
|
|
33
|
+
Heading: {
|
|
34
|
+
level: 2,
|
|
35
|
+
id: r,
|
|
36
|
+
className: o.heading
|
|
37
|
+
},
|
|
38
|
+
Header: {
|
|
39
|
+
renderSectionHeader: !0
|
|
40
|
+
},
|
|
41
|
+
List: {
|
|
42
|
+
"aria-labelledby": r
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ t.createElement("section", { ...l, className: m, ref: a }, /* @__PURE__ */ t.createElement(h, { props: d, mergeInParentContext: !0 }, e));
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
y as S
|
|
49
|
+
};
|