@mittwald/flow-react-components 0.1.0-alpha.131 → 0.1.0-alpha.133
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/{Accordion-BzgwSHYE.js → Accordion-rCpRbkUM.js} +5 -5
- package/dist/Accordion.js +1 -1
- package/dist/Action-Dp9FyJCZ.js +282 -0
- package/dist/Action.js +1 -1
- package/dist/ActionGroup.js +25 -25
- package/dist/Avatar.js +4 -4
- package/dist/Breadcrumb.js +21 -19
- package/dist/{Button-DAoWF37n.js → Button-BPAhEOTg.js} +24 -24
- package/dist/Button.js +1 -1
- package/dist/{Checkbox-2PUuXc0T.js → Checkbox-CD6v6jqo.js} +6 -6
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-BPHQLZJq.js → CheckboxButton-I0WYBLv2.js} +5 -5
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +5 -5
- package/dist/{ClearPropsContext-mes1t7Bj.js → ClearPropsContext-CUvsbMn8.js} +1 -1
- package/dist/{Content-eQoJ_gHK.js → Content-DlB-BYko.js} +3 -3
- package/dist/Content.js +1 -1
- package/dist/ContextMenu.js +3 -3
- package/dist/{ContextMenuTrigger-AyIRlUZ8.js → ContextMenuTrigger-BwhLrGm5.js} +15 -18
- package/dist/CopyButton.js +7 -7
- package/dist/CounterBadge.js +18 -0
- package/dist/FieldDescription.js +4 -4
- package/dist/{FieldError-BKoqRvQY.js → FieldError-D_VRyiJG.js} +5 -5
- package/dist/FieldError.js +1 -1
- package/dist/{Header-XA8CGkKW.js → Header-BetbThNR.js} +1 -1
- package/dist/Header.js +1 -1
- package/dist/HeaderNavigation.js +23 -24
- package/dist/{Heading-C-bS3Ayo.js → Heading-CfQzGjxY.js} +4 -4
- package/dist/Heading.js +1 -1
- package/dist/{Icon-DdmDlHdu.js → Icon-D4bkU_pz.js} +3 -3
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-B1Dn4nJ7.js → IconCheck-CMWmQYpS.js} +1 -1
- package/dist/{IconCheckboxEmpty-BxpTlSro.js → IconCheckboxEmpty-DQLeOSmS.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-Cc72OI6v.js → IconCheckboxIndeterminate-DoNQre-9.js} +1 -1
- package/dist/{IconChevronDown-1Ln2Aunx.js → IconChevronDown-HLDPe1kj.js} +1 -1
- package/dist/{IconChevronRight-CAcIYBGT.js → IconChevronRight-DmCZeDFh.js} +1 -1
- package/dist/IconChevronUp-CUKpaGeP.js +9 -0
- package/dist/{IconClose-BuwjCtDl.js → IconClose-FTrJdf_N.js} +1 -1
- package/dist/{IconContextMenu-Cbh6mtE6.js → IconContextMenu-Bmk1_j_0.js} +1 -1
- package/dist/{IconCopy-CMzS4NPN.js → IconCopy-DH_CNzXF.js} +1 -1
- package/dist/{IconDanger-DJImCjO3.js → IconDanger-PwvUWqzQ.js} +1 -1
- package/dist/{IconPending-D_CAUjui.js → IconPending-BV7TXz8_.js} +1 -1
- package/dist/IconPlus-CAQpgAH5.js +10 -0
- package/dist/{IconRadioOn-DV1XnVyC.js → IconRadioOn-BIS8wd64.js} +1 -1
- package/dist/{IconSearch-zHh8DtpL.js → IconSearch-DadOOeXe.js} +1 -1
- package/dist/{IconSucceeded-cPVVsQAs.js → IconSucceeded-KKiDIenP.js} +1 -1
- package/dist/{IconWarning-Cl_jqXKr.js → IconWarning-DFG_1t6M.js} +1 -1
- package/dist/Icons.js +39 -38
- package/dist/{IllustratedMessage-D07W9uSy.js → IllustratedMessage-DadLfPs9.js} +2 -2
- package/dist/IllustratedMessage.js +1 -1
- package/dist/Image.js +3 -3
- package/dist/Initials.js +3 -3
- package/dist/InlineAlert.js +5 -5
- package/dist/{InlineCode-Sk5wfXAE.js → InlineCode-BT-PKxVv.js} +2 -2
- package/dist/InlineCode.js +1 -1
- package/dist/{Label-BK1BkCCd.js → Label-CJi7iMmE.js} +3 -3
- package/dist/Label.js +1 -1
- package/dist/LabeledValue.js +3 -3
- package/dist/LayoutCard.js +3 -3
- package/dist/{Link-DufTU3kG.js → Link-TcBL3IVI.js} +4 -4
- package/dist/Link.js +1 -1
- package/dist/List.js +42 -43
- package/dist/{LoadingSpinner-VQh3iQVs.js → LoadingSpinner-CoSM7GIL.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-DL25To7v.js → MenuItem-Dny58Rqq.js} +7 -7
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +4 -4
- package/dist/Navigation.js +37 -35
- package/dist/NumberField.js +21 -20
- package/dist/OffCanvas.js +8 -8
- package/dist/OverlayTrigger-DbjMkqKf.js +20 -0
- package/dist/ProgressBar.js +2 -2
- package/dist/{PropsContextProvider-B7e3QrmR.js → PropsContextProvider-C6Z4XGp6.js} +17 -17
- package/dist/RadioGroup.js +8 -8
- package/dist/Section.js +3 -3
- package/dist/Select.js +44 -45
- package/dist/Slider.js +105 -0
- package/dist/StatusBadge.js +5 -5
- package/dist/{StatusIcon-DEiuIEOs.js → StatusIcon-Dj5p-iL1.js} +5 -5
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +7 -7
- package/dist/Tabs.js +9 -9
- package/dist/{Text-CZrXXfX3.js → Text-D6e-S6em.js} +4 -4
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +4 -4
- package/dist/TextField.js +4 -4
- package/dist/{TextFieldBase-BItZ1rm6.js → TextFieldBase-D6wA8562.js} +4 -4
- package/dist/flowComponent-CPKCCJEg.js +120 -0
- package/dist/getActionGroupSlot-izllH4ID.js +59 -0
- package/dist/propsContext-DzAKlmhS.js +10 -0
- package/dist/react-hook-form.js +10 -9
- package/dist/slotContext-DoCFkzCA.js +8 -0
- package/dist/styles.css +1 -1
- package/dist/types/components/Action/hooks/useActionButtonState.d.ts +4 -0
- package/dist/types/components/Action/hooks/useConfirmationModalButtonSlot.d.ts +3 -0
- package/dist/types/components/ActionGroup/ActionGroup.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Content/Content.d.ts +1 -1
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/types/components/CopyButton/CopyButton.d.ts +1 -1
- package/dist/types/components/CounterBadge/CounterBadge.d.ts +9 -0
- package/dist/types/components/CounterBadge/index.d.ts +4 -0
- package/dist/types/components/{CounterLabel → CounterBadge}/stories/Default.stories.d.ts +3 -3
- package/dist/types/components/Header/Header.d.ts +1 -1
- package/dist/types/components/Link/Link.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.d.ts +1 -1
- package/dist/types/components/Modal/Modal.d.ts +1 -1
- package/dist/types/components/Section/Section.d.ts +1 -1
- package/dist/types/components/Slider/Slider.d.ts +9 -0
- package/dist/types/components/Slider/index.d.ts +4 -0
- package/dist/types/components/Slider/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/propTypes/index.d.ts +5 -3
- package/dist/types/lib/componentFactory/flowComponent.d.ts +6 -4
- package/dist/types/lib/propsContext/propsContext.d.ts +6 -4
- package/dist/types/lib/slotContext/SlotContextProvider.d.ts +9 -0
- package/dist/types/lib/slotContext/slotContext.d.ts +44 -0
- package/dist/types/lib/slotContext/types.d.ts +5 -0
- package/dist/types/lib/slotContext/useContextSlot.d.ts +4 -0
- package/dist/types/lib/types/props.d.ts +1 -4
- package/package.json +36 -32
- package/dist/Action-COYULIMl.js +0 -307
- package/dist/ActionStateContext-C_nPivaA.js +0 -55
- package/dist/ComponentRenderContextProvider-C-1_ziLI.js +0 -29
- package/dist/CounterLabel.js +0 -18
- package/dist/IconPlus-CUaWlT-v.js +0 -11
- package/dist/OverlayTrigger-Bb8cs_IA.js +0 -21
- package/dist/context-D_-mRqs8.js +0 -8
- package/dist/flowComponent-CpHt0lsO.js +0 -124
- package/dist/getActionGroupSlot-B4Vu4Kix.js +0 -9
- package/dist/types/components/Action/components/ActionButton.d.ts +0 -4
- package/dist/types/components/Action/components/ActionComponentsRenderContext.d.ts +0 -3
- package/dist/types/components/Action/components/ActionLink.d.ts +0 -4
- package/dist/types/components/Action/components/ActionModal.d.ts +0 -4
- package/dist/types/components/Action/components/ModalActionButton.d.ts +0 -4
- package/dist/types/components/CounterLabel/CounterLabel.d.ts +0 -9
- package/dist/types/components/CounterLabel/index.d.ts +0 -4
- package/dist/types/lib/propsContext/render/ComponentRenderContextProvider.d.ts +0 -18
- package/dist/types/lib/propsContext/render/useComponentRenderFn.d.ts +0 -8
package/dist/Icons.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
|
-
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as
|
|
5
|
-
import { I as t } from "./Icon-
|
|
6
|
-
import { I as Pe } from "./IconCheck-
|
|
7
|
-
import { I as Re, a as Ve } from "./IconCheckboxEmpty-
|
|
8
|
-
import { I as Te } from "./IconCheckboxIndeterminate-
|
|
9
|
-
import { I as ze } from "./IconChevronDown-
|
|
10
|
-
import { I as Ge } from "./IconChevronRight-
|
|
11
|
-
import {
|
|
12
|
-
import { I as
|
|
13
|
-
import { I as
|
|
14
|
-
import { I as
|
|
15
|
-
import { I as
|
|
16
|
-
import { a as
|
|
17
|
-
import { I as
|
|
18
|
-
import { I as
|
|
19
|
-
import {
|
|
20
|
-
import { I as
|
|
21
|
-
|
|
4
|
+
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as r, IconCode as a, IconCalendarCheck as I, IconBuilding as m, IconLayoutBoard as s, IconDatabase as E, IconCalendar as u, IconTrash as i, IconWorld as p, IconMail as h, IconExternalLink as f, IconFilter as d, IconEyeCancel as x, IconHome as C, IconInbox as S, IconList as v, IconPower as b, IconUsersGroup as g, IconMenu2 as k, IconBell as L, IconArchive as w, IconDice3 as D, IconDeviceFloppy as M, IconListSearch as $, IconServer as y, IconSettings as F, IconShare3 as B, IconEye as H, IconAdjustmentsHorizontal as P, IconShield as A, IconShieldCheckFilled as R, IconDoor as V, IconSubtask as O, IconHeadset as T, IconFileX as j, IconLayoutGrid as z } from "@tabler/icons-react";
|
|
5
|
+
import { I as t } from "./Icon-D4bkU_pz.js";
|
|
6
|
+
import { I as Pe } from "./IconCheck-CMWmQYpS.js";
|
|
7
|
+
import { I as Re, a as Ve } from "./IconCheckboxEmpty-DQLeOSmS.js";
|
|
8
|
+
import { I as Te } from "./IconCheckboxIndeterminate-DoNQre-9.js";
|
|
9
|
+
import { I as ze } from "./IconChevronDown-HLDPe1kj.js";
|
|
10
|
+
import { I as Ge } from "./IconChevronRight-DmCZeDFh.js";
|
|
11
|
+
import { I as Ne } from "./IconChevronUp-CUKpaGeP.js";
|
|
12
|
+
import { I as qe } from "./IconClose-FTrJdf_N.js";
|
|
13
|
+
import { I as Ke } from "./IconContextMenu-Bmk1_j_0.js";
|
|
14
|
+
import { I as Ye } from "./IconCopy-DH_CNzXF.js";
|
|
15
|
+
import { I as _e } from "./IconDanger-PwvUWqzQ.js";
|
|
16
|
+
import { a as nn, I as tn } from "./IconSucceeded-KKiDIenP.js";
|
|
17
|
+
import { I as on, a as ln, b as rn } from "./IconWarning-DFG_1t6M.js";
|
|
18
|
+
import { I as In, a as mn } from "./IconPlus-CAQpgAH5.js";
|
|
19
|
+
import { I as En } from "./IconPending-BV7TXz8_.js";
|
|
20
|
+
import { a as pn, I as hn } from "./IconRadioOn-BIS8wd64.js";
|
|
21
|
+
import { I as dn } from "./IconSearch-DadOOeXe.js";
|
|
22
|
+
const N = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(o, null)), X = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(l, null)), q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), J = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(r, null)), K = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(a, null)), Q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(I, null)), Y = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(m, null)), Z = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(s, null)), _ = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(E, null)), ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(u, null)), ne = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(i, null)), te = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(p, null)), ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(h, null)), oe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(f, null)), le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(d, null)), re = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(x, null)), ae = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(C, null)), Ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(S, null)), me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(v, null)), se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(b, null)), Ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(g, null)), ue = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(k, null)), ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(L, null)), pe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(w, null)), he = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(D, null)), fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(M, null)), de = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement($, null)), xe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(y, null)), Ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(F, null)), Se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(B, null)), ve = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(H, null)), be = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(P, null)), ge = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(A, null)), ke = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(R, null)), Le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(V, null)), we = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(O, null)), De = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(T, null)), Me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(j, null)), $e = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(z, null)), ye = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), Fe = (e) => /* @__PURE__ */ n.createElement(
|
|
22
23
|
t,
|
|
23
24
|
{
|
|
24
25
|
...e
|
|
@@ -41,13 +42,13 @@ export {
|
|
|
41
42
|
J as IconChevronLeft,
|
|
42
43
|
Ge as IconChevronRight,
|
|
43
44
|
Ne as IconChevronUp,
|
|
44
|
-
|
|
45
|
+
qe as IconClose,
|
|
45
46
|
K as IconCode,
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
Ke as IconContextMenu,
|
|
48
|
+
Ye as IconCopy,
|
|
48
49
|
Q as IconCronjob,
|
|
49
50
|
Y as IconCustomer,
|
|
50
|
-
|
|
51
|
+
_e as IconDanger,
|
|
51
52
|
Z as IconDashboard,
|
|
52
53
|
_ as IconDatabase,
|
|
53
54
|
ee as IconDate,
|
|
@@ -55,30 +56,30 @@ export {
|
|
|
55
56
|
te as IconDomain,
|
|
56
57
|
ce as IconEmail,
|
|
57
58
|
oe as IconExternalLink,
|
|
58
|
-
|
|
59
|
+
nn as IconFailed,
|
|
59
60
|
le as IconFilter,
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
re as IconHide,
|
|
62
|
+
ae as IconHome,
|
|
62
63
|
Ie as IconInbox,
|
|
63
|
-
|
|
64
|
+
on as IconInfo,
|
|
64
65
|
me as IconListView,
|
|
65
66
|
se as IconLogout,
|
|
66
67
|
Ee as IconMember,
|
|
67
68
|
ue as IconMenu,
|
|
68
|
-
|
|
69
|
+
In as IconMinus,
|
|
69
70
|
Fe as IconMittwald,
|
|
70
71
|
ie as IconNotification,
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
En as IconPending,
|
|
73
|
+
mn as IconPlus,
|
|
73
74
|
pe as IconProject,
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
pn as IconRadioOff,
|
|
76
|
+
hn as IconRadioOn,
|
|
76
77
|
he as IconRandom,
|
|
77
|
-
|
|
78
|
+
fe as IconSave,
|
|
78
79
|
dn as IconSearch,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
de as IconSearchEngine,
|
|
81
|
+
xe as IconServer,
|
|
82
|
+
Ce as IconSettings,
|
|
82
83
|
Se as IconShare,
|
|
83
84
|
ve as IconShow,
|
|
84
85
|
be as IconSorting,
|
|
@@ -86,11 +87,11 @@ export {
|
|
|
86
87
|
ke as IconSpamProtectionOn,
|
|
87
88
|
Le as IconSshSftp,
|
|
88
89
|
we as IconSubdomain,
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
tn as IconSucceeded,
|
|
91
|
+
ln as IconSuccess,
|
|
91
92
|
De as IconSupport,
|
|
92
93
|
Me as IconTerminate,
|
|
93
94
|
$e as IconTileView,
|
|
94
95
|
ye as IconTime,
|
|
95
|
-
|
|
96
|
+
rn as IconWarning
|
|
96
97
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
|
-
import "./
|
|
6
|
-
import { P as m } from "./PropsContextProvider-
|
|
5
|
+
import "./propsContext-DzAKlmhS.js";
|
|
6
|
+
import { P as m } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
const d = "flow--illustrated-message--illustrated-message-container", g = "flow--illustrated-message", u = "flow--illustrated-message--icon", p = "flow--illustrated-message--heading", f = "flow--illustrated-message--text", x = "flow--illustrated-message--button", N = "flow--illustrated-message--negative", e = {
|
package/dist/Image.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
|
-
import { C as m } from "./ClearPropsContext-
|
|
5
|
-
import "./
|
|
4
|
+
import { C as m } from "./ClearPropsContext-CUvsbMn8.js";
|
|
5
|
+
import "./propsContext-DzAKlmhS.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
8
|
import "dot-prop";
|
|
9
|
-
import { f as p } from "./flowComponent-
|
|
9
|
+
import { f as p } from "./flowComponent-CPKCCJEg.js";
|
|
10
10
|
const C = p("Image", (t) => {
|
|
11
11
|
const { refProp: e, ...o } = t;
|
|
12
12
|
return /* @__PURE__ */ r.createElement(m, null, /* @__PURE__ */ r.createElement("img", { ...o, ref: e }));
|
package/dist/Initials.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import c from "clsx";
|
|
5
|
-
import { C as f } from "./ClearPropsContext-
|
|
6
|
-
import "./
|
|
5
|
+
import { C as f } from "./ClearPropsContext-CUvsbMn8.js";
|
|
6
|
+
import "./propsContext-DzAKlmhS.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import "dot-prop";
|
|
10
10
|
import { onlyText as C } from "react-children-utilities";
|
|
11
|
-
import { f as u } from "./flowComponent-
|
|
11
|
+
import { f as u } from "./flowComponent-CPKCCJEg.js";
|
|
12
12
|
const x = (i) => i.replace(/[^\p{L}\s]/giu, "").split(" ").map((t) => t.trim()[0]).filter((t) => t !== void 0).map((t) => t.toUpperCase()).slice(0, 2), d = "flow--initials", E = {
|
|
13
13
|
initials: d
|
|
14
14
|
}, k = u("Initials", (i) => {
|
package/dist/InlineAlert.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { C as m } from "./ClearPropsContext-
|
|
5
|
-
import { P as f } from "./PropsContextProvider-
|
|
4
|
+
import { C as m } from "./ClearPropsContext-CUvsbMn8.js";
|
|
5
|
+
import { P as f } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
|
-
import "./
|
|
7
|
+
import "./propsContext-DzAKlmhS.js";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import p from "clsx";
|
|
10
|
-
import { S as u } from "./StatusIcon-
|
|
11
|
-
import { f as d } from "./flowComponent-
|
|
10
|
+
import { S as u } from "./StatusIcon-Dj5p-iL1.js";
|
|
11
|
+
import { f as d } from "./flowComponent-CPKCCJEg.js";
|
|
12
12
|
const w = "flow--inline-alert", g = "flow--inline-alert--status-icon", C = "flow--inline-alert--heading", I = "flow--inline-alert--content", N = "flow--inline-alert--info", h = "flow--inline-alert--warning", x = "flow--inline-alert--danger", A = "flow--inline-alert--success", n = {
|
|
13
13
|
inlineAlert: w,
|
|
14
14
|
statusIcon: g,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import i from "clsx";
|
|
5
|
-
import { C as l } from "./ClearPropsContext-
|
|
6
|
-
import "./
|
|
5
|
+
import { C as l } from "./ClearPropsContext-CUvsbMn8.js";
|
|
6
|
+
import "./propsContext-DzAKlmhS.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import "dot-prop";
|
package/dist/InlineCode.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import t from "react";
|
|
4
4
|
import * as c from "react-aria-components";
|
|
5
5
|
import f from "clsx";
|
|
6
|
-
import { C as b } from "./ClearPropsContext-
|
|
7
|
-
import "./
|
|
6
|
+
import { C as b } from "./ClearPropsContext-CUvsbMn8.js";
|
|
7
|
+
import "./propsContext-DzAKlmhS.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
11
|
import { useLocalizedStringFormatter as C } from "react-aria";
|
|
12
|
-
import { f as L } from "./flowComponent-
|
|
12
|
+
import { f as L } from "./flowComponent-CPKCCJEg.js";
|
|
13
13
|
const d = "flow--label", u = {
|
|
14
14
|
label: d
|
|
15
15
|
}, E = {
|
package/dist/Label.js
CHANGED
package/dist/LabeledValue.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import l from "react";
|
|
4
4
|
import r from "clsx";
|
|
5
|
-
import { C as m } from "./ClearPropsContext-
|
|
6
|
-
import { P as c } from "./PropsContextProvider-
|
|
5
|
+
import { C as m } from "./ClearPropsContext-CUvsbMn8.js";
|
|
6
|
+
import { P as c } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
import "./
|
|
8
|
+
import "./propsContext-DzAKlmhS.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
const b = "flow--labeled-value", p = "flow--labeled-value--button", u = "flow--labeled-value--label", e = {
|
|
11
11
|
labeledValue: b,
|
package/dist/LayoutCard.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import d from "clsx";
|
|
5
|
-
import { f } from "./flowComponent-
|
|
6
|
-
import "./
|
|
7
|
-
import { P as i } from "./PropsContextProvider-
|
|
5
|
+
import { f } from "./flowComponent-CPKCCJEg.js";
|
|
6
|
+
import "./propsContext-DzAKlmhS.js";
|
|
7
|
+
import { P as i } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
const u = "flow--layout-card", y = "flow--layout-card--tabs", o = {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o, { useContext as d } from "react";
|
|
4
4
|
import * as P from "react-aria-components";
|
|
5
|
-
import { C as w } from "./ClearPropsContext-
|
|
6
|
-
import { P as L } from "./PropsContextProvider-
|
|
5
|
+
import { C as w } from "./ClearPropsContext-CUvsbMn8.js";
|
|
6
|
+
import { P as L } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
import "./
|
|
8
|
+
import "./propsContext-DzAKlmhS.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import g from "clsx";
|
|
11
|
-
import { f as h } from "./flowComponent-
|
|
11
|
+
import { f as h } from "./flowComponent-CPKCCJEg.js";
|
|
12
12
|
import { l as y } from "./context-BlNV7smK.js";
|
|
13
13
|
const N = "flow--link", E = "flow--link--inline", F = "flow--link--icon", v = "flow--link--dark", z = "flow--link--light", n = {
|
|
14
14
|
link: N,
|
package/dist/Link.js
CHANGED
package/dist/List.js
CHANGED
|
@@ -5,42 +5,40 @@ var et = (i, t, e) => t in i ? tt(i, t, { enumerable: !0, configurable: !0, writ
|
|
|
5
5
|
var o = (i, t, e) => (et(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
6
6
|
import s, { createContext as at, useContext as st, createElement as nt, useEffect as I, useRef as it, Suspense as rt } from "react";
|
|
7
7
|
import { R as ot } from "./Render-BdlTa7Qb.js";
|
|
8
|
-
import { C as q, a as lt } from "./ContextMenuTrigger-
|
|
9
|
-
import { M as K } from "./MenuItem-
|
|
8
|
+
import { C as q, a as lt } from "./ContextMenuTrigger-BwhLrGm5.js";
|
|
9
|
+
import { M as K } from "./MenuItem-Dny58Rqq.js";
|
|
10
10
|
import * as j from "react-aria-components";
|
|
11
11
|
import { autorun as ct, runInAction as ut, makeObservable as mt, observable as N, computed as R, action as C } from "mobx";
|
|
12
12
|
import "./useOverlayController-CGKumeGL.js";
|
|
13
|
-
import
|
|
14
|
-
import "./context-D_-mRqs8.js";
|
|
15
|
-
import "./ActionStateContext-C_nPivaA.js";
|
|
16
|
-
import "./ComponentRenderContextProvider-C-1_ziLI.js";
|
|
13
|
+
import "./propsContext-DzAKlmhS.js";
|
|
17
14
|
import "@react-aria/utils";
|
|
18
15
|
import { times as dt } from "remeda";
|
|
19
16
|
import { getProperty as ht } from "dot-prop";
|
|
20
|
-
import { T as y } from "./Text-
|
|
17
|
+
import { T as y } from "./Text-D6e-S6em.js";
|
|
21
18
|
import "@tabler/icons-react";
|
|
22
|
-
import "./Icon-
|
|
23
|
-
import { I as
|
|
24
|
-
import { B as g } from "./Button-
|
|
25
|
-
import { useMessageFormatter as
|
|
26
|
-
import
|
|
27
|
-
import { I as gt } from "./IconClose-
|
|
19
|
+
import "./Icon-D4bkU_pz.js";
|
|
20
|
+
import { I as J } from "./IconChevronDown-HLDPe1kj.js";
|
|
21
|
+
import { B as g } from "./Button-BPAhEOTg.js";
|
|
22
|
+
import { useMessageFormatter as W, useLocalizedStringFormatter as L } from "react-aria";
|
|
23
|
+
import Y from "clsx";
|
|
24
|
+
import { I as gt } from "./IconClose-FTrJdf_N.js";
|
|
28
25
|
import { useReactTable as pt, getCoreRowModel as ft, getSortedRowModel as bt, getFilteredRowModel as St, getPaginationRowModel as yt, getFacetedUniqueValues as vt } from "@tanstack/react-table";
|
|
26
|
+
import G from "invariant";
|
|
29
27
|
import { useLocalObservable as Et } from "mobx-react-lite";
|
|
30
28
|
import { getAsyncResource as V } from "@mittwald/react-use-promise";
|
|
31
29
|
import { u as x } from "./useSelector-DpU7_HMO.js";
|
|
32
|
-
import { I as Ct } from "./IllustratedMessage-
|
|
33
|
-
import { I as It } from "./IconSearch-
|
|
34
|
-
import { H as Ft } from "./Heading-
|
|
35
|
-
import { S as
|
|
36
|
-
import { P as Tt } from "./PropsContextProvider-
|
|
30
|
+
import { I as Ct } from "./IllustratedMessage-DadLfPs9.js";
|
|
31
|
+
import { I as It } from "./IconSearch-DadOOeXe.js";
|
|
32
|
+
import { H as Ft } from "./Heading-CfQzGjxY.js";
|
|
33
|
+
import { S as Q } from "./Skeleton-CKLaTmDR.js";
|
|
34
|
+
import { P as Tt } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
37
35
|
import { d as Lt } from "./dynamic-ClpUSmEt.js";
|
|
38
|
-
import { I as wt } from "./IconContextMenu-
|
|
36
|
+
import { I as wt } from "./IconContextMenu-Bmk1_j_0.js";
|
|
39
37
|
import { TunnelProvider as Bt, TunnelExit as z } from "@mittwald/react-tunnel";
|
|
40
|
-
import { L as At } from "./Link-
|
|
38
|
+
import { L as At } from "./Link-TcBL3IVI.js";
|
|
41
39
|
import { d as E, a as O } from "./deepFindOfType-6pG0fH7S.js";
|
|
42
40
|
import { ListLoaderAsyncResource as kt } from "./List/ListLoaderAsyncResource.js";
|
|
43
|
-
import { I as Dt } from "./InlineCode-
|
|
41
|
+
import { I as Dt } from "./InlineCode-BT-PKxVv.js";
|
|
44
42
|
import "react-children-utilities";
|
|
45
43
|
const X = at({}), h = () => st(X).list, Mt = () => h().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ s.createElement(ot, { key: e }, () => {
|
|
46
44
|
t();
|
|
@@ -72,7 +70,7 @@ const X = at({}), h = () => st(X).list, Mt = () => h().loader.getLoaderInvocatio
|
|
|
72
70
|
}
|
|
73
71
|
}, F = (i) => {
|
|
74
72
|
const { children: t, locales: e, variables: a } = i;
|
|
75
|
-
return
|
|
73
|
+
return W(e)(t, a);
|
|
76
74
|
}, Nt = () => {
|
|
77
75
|
const i = h(), t = i.sorting.map((n) => /* @__PURE__ */ s.createElement(Pt, { sorting: n, key: n.getTableColumn().id }));
|
|
78
76
|
if (i.sorting.length === 0)
|
|
@@ -87,7 +85,7 @@ const X = at({}), h = () => st(X).list, Mt = () => h().loader.getLoaderInvocatio
|
|
|
87
85
|
},
|
|
88
86
|
"list.setSorting"
|
|
89
87
|
) : /* @__PURE__ */ s.createElement(F, { locales: d }, "list.sorting"));
|
|
90
|
-
return /* @__PURE__ */ s.createElement(j.MenuTrigger, null, /* @__PURE__ */ s.createElement(g, { variant: "soft", size: "s", color: "secondary" }, a, /* @__PURE__ */ s.createElement(
|
|
88
|
+
return /* @__PURE__ */ s.createElement(j.MenuTrigger, null, /* @__PURE__ */ s.createElement(g, { variant: "soft", size: "s", color: "secondary" }, a, /* @__PURE__ */ s.createElement(J, null)), /* @__PURE__ */ s.createElement(
|
|
91
89
|
q,
|
|
92
90
|
{
|
|
93
91
|
selectionMode: "single",
|
|
@@ -102,7 +100,7 @@ const X = at({}), h = () => st(X).list, Mt = () => h().loader.getLoaderInvocatio
|
|
|
102
100
|
const { filter: t } = i, e = t.values.map((r) => /* @__PURE__ */ s.createElement(K, { key: t.getValueId(r), id: String(r) }, String(r))), a = t.values.filter((r) => t.isValueActive(r)).map((r) => String(r)), n = (r) => {
|
|
103
101
|
t.toggleValue(r);
|
|
104
102
|
};
|
|
105
|
-
return /* @__PURE__ */ s.createElement(j.MenuTrigger, null, /* @__PURE__ */ s.createElement(g, { variant: "soft", size: "s", color: "secondary" }, /* @__PURE__ */ s.createElement(y, null, t.name ?? t.property), /* @__PURE__ */ s.createElement(
|
|
103
|
+
return /* @__PURE__ */ s.createElement(j.MenuTrigger, null, /* @__PURE__ */ s.createElement(g, { variant: "soft", size: "s", color: "secondary" }, /* @__PURE__ */ s.createElement(y, null, t.name ?? t.property), /* @__PURE__ */ s.createElement(J, null)), /* @__PURE__ */ s.createElement(
|
|
106
104
|
q,
|
|
107
105
|
{
|
|
108
106
|
onAction: n,
|
|
@@ -143,7 +141,7 @@ const X = at({}), h = () => st(X).list, Mt = () => h().loader.getLoaderInvocatio
|
|
|
143
141
|
));
|
|
144
142
|
}, $t = (i) => {
|
|
145
143
|
const { className: t } = i, a = h().filters.map((n) => /* @__PURE__ */ s.createElement(Rt, { key: n.property, filter: n }));
|
|
146
|
-
return /* @__PURE__ */ s.createElement("div", { className:
|
|
144
|
+
return /* @__PURE__ */ s.createElement("div", { className: Y(t, U.header) }, /* @__PURE__ */ s.createElement("div", { className: U.pickerList }, /* @__PURE__ */ s.createElement(Nt, null), a), /* @__PURE__ */ s.createElement(Ut, null));
|
|
147
145
|
}, Ht = "flow--list", qt = {
|
|
148
146
|
list: Ht
|
|
149
147
|
}, S = class S {
|
|
@@ -306,7 +304,7 @@ class Jt {
|
|
|
306
304
|
this.onFilterUpdateCallbacks.add(t);
|
|
307
305
|
}
|
|
308
306
|
}
|
|
309
|
-
class
|
|
307
|
+
class Wt {
|
|
310
308
|
constructor(t, e) {
|
|
311
309
|
o(this, "list");
|
|
312
310
|
o(this, "property");
|
|
@@ -331,7 +329,7 @@ class Yt {
|
|
|
331
329
|
this.list.reactTable.getTableColumn(this.property).clearSorting();
|
|
332
330
|
}
|
|
333
331
|
}
|
|
334
|
-
const
|
|
332
|
+
const Yt = (i) => I(ct(i));
|
|
335
333
|
class B {
|
|
336
334
|
constructor(t, e = {}) {
|
|
337
335
|
o(this, "list");
|
|
@@ -375,7 +373,7 @@ class B {
|
|
|
375
373
|
return this.useUpdateTableState(n), n;
|
|
376
374
|
}
|
|
377
375
|
useUpdateTableState(t) {
|
|
378
|
-
|
|
376
|
+
Yt(() => {
|
|
379
377
|
const e = this.tableState.value;
|
|
380
378
|
e ? t.setOptions((a) => ({
|
|
381
379
|
...a,
|
|
@@ -388,7 +386,7 @@ class B {
|
|
|
388
386
|
}
|
|
389
387
|
getTableColumn(t) {
|
|
390
388
|
const e = this.table.getColumn(t);
|
|
391
|
-
return
|
|
389
|
+
return G(!!e, `Column #${t} is not defined`), e;
|
|
392
390
|
}
|
|
393
391
|
getTableColumnDefs() {
|
|
394
392
|
const t = /* @__PURE__ */ new Map(), e = (a) => {
|
|
@@ -450,7 +448,7 @@ class A {
|
|
|
450
448
|
return x(() => this.isLoading);
|
|
451
449
|
}
|
|
452
450
|
}
|
|
453
|
-
const
|
|
451
|
+
const Gt = [];
|
|
454
452
|
class k {
|
|
455
453
|
constructor(t, e = {}) {
|
|
456
454
|
o(this, "list");
|
|
@@ -460,7 +458,7 @@ class k {
|
|
|
460
458
|
o(this, "manualPagination");
|
|
461
459
|
o(this, "loaderState");
|
|
462
460
|
const { source: a } = e;
|
|
463
|
-
this.dataSource = a ?? { staticData:
|
|
461
|
+
this.dataSource = a ?? { staticData: Gt };
|
|
464
462
|
const n = "manualPagination" in this.dataSource ? this.dataSource.manualPagination : void 0, r = "manualFiltering" in this.dataSource ? this.dataSource.manualFiltering : void 0, l = "manualSorting" in this.dataSource ? this.dataSource.manualSorting : void 0;
|
|
465
463
|
this.list = t, this.loaderState = A.useNew(), this.manualPagination = n ?? !1, this.manualFiltering = r ?? this.manualPagination, this.manualSorting = l ?? this.manualPagination, this.list.filters.forEach((u) => u.onFilterUpdated(() => this.reset()));
|
|
466
464
|
}
|
|
@@ -547,7 +545,7 @@ class k {
|
|
|
547
545
|
throw new Error("Unknown data source");
|
|
548
546
|
}
|
|
549
547
|
}
|
|
550
|
-
let
|
|
548
|
+
let Qt = class Z {
|
|
551
549
|
constructor(t) {
|
|
552
550
|
o(this, "filters");
|
|
553
551
|
o(this, "sorting");
|
|
@@ -557,7 +555,7 @@ let Wt = class Z {
|
|
|
557
555
|
o(this, "batches");
|
|
558
556
|
o(this, "loader");
|
|
559
557
|
const { render: e, filters: a = [], sorting: n = [], batchesController: r } = t;
|
|
560
|
-
this.render = e, this.items = w.useNew(this), this.filters = a.map((l) => new Jt(this, l)), this.sorting = n.map((l) => new
|
|
558
|
+
this.render = e, this.items = w.useNew(this), this.filters = a.map((l) => new Jt(this, l)), this.sorting = n.map((l) => new Wt(this, l)), this.batches = new Kt(this, r), this.loader = k.useNew(this, t.loader), this.reactTable = B.useNew(this, {
|
|
561
559
|
manualFiltering: this.loader.manualFiltering,
|
|
562
560
|
manualPagination: this.loader.manualPagination,
|
|
563
561
|
manualSorting: this.loader.manualSorting
|
|
@@ -571,7 +569,7 @@ let Wt = class Z {
|
|
|
571
569
|
}
|
|
572
570
|
getSorting(t) {
|
|
573
571
|
const e = this.sorting.find((a) => a.property === t);
|
|
574
|
-
return
|
|
572
|
+
return G(!!e, `Could not get Sorting (property: ${t})`), e;
|
|
575
573
|
}
|
|
576
574
|
clearSorting() {
|
|
577
575
|
return this.sorting.forEach((t) => t.clear());
|
|
@@ -610,7 +608,8 @@ const Xt = "flow--list--items--item-list", Zt = "flow--list--items--is-loading",
|
|
|
610
608
|
}, ce = (i) => i === "top" ? c.topContent : i === "bottom" ? c.content : c.topContent, _ = (i) => {
|
|
611
609
|
const { children: t, href: e, ...a } = i, n = {
|
|
612
610
|
ContextMenu: {
|
|
613
|
-
|
|
611
|
+
wrapWith: /* @__PURE__ */ s.createElement(le, { className: c.action }),
|
|
612
|
+
placement: "bottom end"
|
|
614
613
|
},
|
|
615
614
|
Button: {
|
|
616
615
|
className: c.action
|
|
@@ -641,8 +640,8 @@ const Xt = "flow--list--items--item-list", Zt = "flow--list--items--is-loading",
|
|
|
641
640
|
}
|
|
642
641
|
}, r = (l) => e ? /* @__PURE__ */ s.createElement(At, { unstyled: !0, ...a, className: c.item, href: e }, l.children) : /* @__PURE__ */ s.createElement("div", { className: c.item }, l.children);
|
|
643
642
|
return /* @__PURE__ */ s.createElement(r, null, /* @__PURE__ */ s.createElement(Tt, { props: n }, /* @__PURE__ */ s.createElement(Bt, null, t, /* @__PURE__ */ s.createElement("div", { className: c.title }, /* @__PURE__ */ s.createElement(z, { id: "title" })), /* @__PURE__ */ s.createElement(z, { id: "topContent" }))));
|
|
644
|
-
}, b = () => /* @__PURE__ */ s.createElement(_, null, /* @__PURE__ */ s.createElement(
|
|
645
|
-
const { className: t } = i, e = h(), a = e.loader.useIsLoading(), n = e.loader.useIsInitiallyLoading(), r = e.useIsEmpty(), l = L(d), u = e.items.entries.map((m) => /* @__PURE__ */ s.createElement(rt, { key: m.id }, m.render())), p =
|
|
643
|
+
}, b = () => /* @__PURE__ */ s.createElement(_, null, /* @__PURE__ */ s.createElement(Q, { height: "3rem" })), ue = (i) => {
|
|
644
|
+
const { className: t } = i, e = h(), a = e.loader.useIsLoading(), n = e.loader.useIsInitiallyLoading(), r = e.useIsEmpty(), l = L(d), u = e.items.entries.map((m) => /* @__PURE__ */ s.createElement(rt, { key: m.id }, m.render())), p = Y(
|
|
646
645
|
H.itemList,
|
|
647
646
|
t,
|
|
648
647
|
a && H.isLoading
|
|
@@ -667,10 +666,10 @@ function fe(i) {
|
|
|
667
666
|
const be = "flow--list--footer", Se = {
|
|
668
667
|
footer: be
|
|
669
668
|
}, ye = (i) => {
|
|
670
|
-
const t =
|
|
669
|
+
const t = W(d), e = h(), a = e.batches, n = e.isFiltered() && !e.loader.manualFiltering, r = e.loader.useIsInitiallyLoading(), l = e.useIsEmpty(), u = a.getTotalItemsCount(), p = a.getFilteredItemsCount(), m = a.getVisibleItemsCount();
|
|
671
670
|
if (l)
|
|
672
671
|
return null;
|
|
673
|
-
const v = r ? /* @__PURE__ */ s.createElement(
|
|
672
|
+
const v = r ? /* @__PURE__ */ s.createElement(Q, { width: "200px" }) : n ? t("list.paginationInfoFiltered", {
|
|
674
673
|
visibleItemsCount: m,
|
|
675
674
|
filteredItemsCount: p,
|
|
676
675
|
totalItemsCount: u
|
|
@@ -694,7 +693,7 @@ const be = "flow--list--footer", Se = {
|
|
|
694
693
|
t.format("list.showMore")
|
|
695
694
|
);
|
|
696
695
|
}, Ee = () => /* @__PURE__ */ s.createElement("div", { className: Se.footer }, /* @__PURE__ */ s.createElement(ye, null), /* @__PURE__ */ s.createElement(ve, null)), Ce = (i) => /* @__PURE__ */ s.createElement(_, null, /* @__PURE__ */ s.createElement(Dt, null, JSON.stringify(i.data)));
|
|
697
|
-
function
|
|
696
|
+
function ra(i) {
|
|
698
697
|
var v, D, M, P;
|
|
699
698
|
const { children: t, batchSize: e, ...a } = i, n = (v = E(t, de)) == null ? void 0 : v.props, r = (D = E(
|
|
700
699
|
t,
|
|
@@ -709,7 +708,7 @@ function la(i) {
|
|
|
709
708
|
} : l ? {
|
|
710
709
|
staticData: l.data
|
|
711
710
|
} : void 0
|
|
712
|
-
}, p = (f) => /* @__PURE__ */ s.createElement(Ce, { data: f }), m =
|
|
711
|
+
}, p = (f) => /* @__PURE__ */ s.createElement(Ce, { data: f }), m = Qt.useNew({
|
|
713
712
|
loader: u,
|
|
714
713
|
filters: O(t, he).map((f) => f.props),
|
|
715
714
|
sorting: O(t, ge).map((f) => f.props),
|
|
@@ -731,12 +730,12 @@ function la(i) {
|
|
|
731
730
|
);
|
|
732
731
|
}
|
|
733
732
|
export {
|
|
734
|
-
|
|
733
|
+
ra as List,
|
|
735
734
|
he as ListFilter,
|
|
736
735
|
_ as ListItem,
|
|
737
736
|
pe as ListItemView,
|
|
738
737
|
de as ListLoaderAsync,
|
|
739
738
|
ge as ListSorting,
|
|
740
739
|
fe as ListStaticData,
|
|
741
|
-
|
|
740
|
+
ra as default
|
|
742
741
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { I as e } from "./IconPending-
|
|
5
|
+
import "./Icon-D4bkU_pz.js";
|
|
6
|
+
import { I as e } from "./IconPending-BV7TXz8_.js";
|
|
7
7
|
import t from "clsx";
|
|
8
8
|
const a = "flow--loading-spinner", p = "flow--loading-spinner--spin", l = {
|
|
9
9
|
loadingSpinner: a,
|
package/dist/LoadingSpinner.js
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as I from "react-aria-components";
|
|
5
5
|
import f from "clsx";
|
|
6
|
-
import "./
|
|
7
|
-
import { P as i } from "./PropsContextProvider-
|
|
6
|
+
import "./propsContext-DzAKlmhS.js";
|
|
7
|
+
import { P as i } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
|
-
import "./Icon-
|
|
12
|
-
import { I as x, a as d } from "./IconCheckboxEmpty-
|
|
13
|
-
import { I as E, a as C } from "./IconRadioOn-
|
|
14
|
-
import { T as p } from "./Text-
|
|
11
|
+
import "./Icon-D4bkU_pz.js";
|
|
12
|
+
import { I as x, a as d } from "./IconCheckboxEmpty-DQLeOSmS.js";
|
|
13
|
+
import { I as E, a as C } from "./IconRadioOn-BIS8wd64.js";
|
|
14
|
+
import { T as p } from "./Text-D6e-S6em.js";
|
|
15
15
|
import { d as h } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
16
|
import { W as M } from "./Wrap-DGT1h1o3.js";
|
|
17
|
-
import { f as N } from "./flowComponent-
|
|
17
|
+
import { f as N } from "./flowComponent-CPKCCJEg.js";
|
|
18
18
|
const w = "flow--menu-item", P = "flow--menu-item--icon", T = "flow--menu-item--text", g = "flow--menu-item--control-icon", c = {
|
|
19
19
|
menuItem: w,
|
|
20
20
|
icon: P,
|