@krosoft/react 0.0.208 → 0.0.210
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/{AppActions-ViFjSupi.js → AppActions-BCXERyyB.js} +1 -1
- package/dist/{AppSubTitle-ClHzadQW.js → AppSubTitle-H8ElNObI.js} +1 -1
- package/dist/{AppVerticalTabs-Cj66X8_R.js → AppVerticalTabs-aJmAVu6F.js} +1 -1
- package/dist/{ConfirmationDialog-BoajNW2s.js → ConfirmationDialog-BmxaMEYz.js} +2 -2
- package/dist/{DataTable-BUcnJCi6.js → DataTable-0-lae9KY.js} +1 -1
- package/dist/{GenericForm-BPY5O-B6.js → GenericForm-DJR7PD-i.js} +4 -4
- package/dist/{ImageInput-DOIglcpv.js → ImageInput-DYe2XPNZ.js} +1 -1
- package/dist/{KpiCardsLayout-D9NSC5Fb.js → KpiCardsLayout-XZTxB8FV.js} +3 -3
- package/dist/{MultiSelect-B60y82TF.js → MultiSelect-Cj8vgAXJ.js} +1 -1
- package/dist/{SearchInput-C-jCOSoi.js → SearchInput-oeq0NBIc.js} +1 -1
- package/dist/{SkeletonCards-63vDljXy.js → SkeletonCards-CYo_lvKx.js} +1 -1
- package/dist/{TableFilter-DP7cq0PU.js → TableFilter-DbnGaGKL.js} +3 -3
- package/dist/{Topbar-158DklWB.js → Topbar-DUq-UeR0.js} +1 -1
- package/dist/components/core/cards/index.js +1 -1
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +14 -14
- package/dist/components/core/inputs/index.js +3 -3
- package/dist/components/core/layouts/index.js +3 -3
- package/dist/components/core/navbar/index.js +1 -1
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/index.js +15 -15
- package/dist/components/ui/command.d.ts +6 -0
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/{sheet-C-QvdRNi.js → sheet-BQmtrGf2.js} +16 -15
- package/dist/{toaster-D6OHn49K.js → toaster-BkgWp-w-.js} +34 -29
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
5
5
|
import { B as p } from "./tooltip-DVeqVwqV.js";
|
|
6
6
|
import "./chart-DntJZGxB.js";
|
|
7
7
|
import "@radix-ui/react-collapsible";
|
|
8
|
-
import "./sheet-
|
|
8
|
+
import "./sheet-BQmtrGf2.js";
|
|
9
9
|
import { MoreVerticalIcon as h } from "lucide-react";
|
|
10
10
|
import "react-resizable-panels";
|
|
11
11
|
import { c as i } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as l } from "react-i18next";
|
|
3
|
-
import { A as m } from "./AppActions-
|
|
3
|
+
import { A as m } from "./AppActions-BCXERyyB.js";
|
|
4
4
|
function f({ titleKey: s, actions: t, className: o }) {
|
|
5
5
|
const { t: r } = l();
|
|
6
6
|
return /* @__PURE__ */ i("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-4", children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { C as b, d as w, a as S } from "./chart-DntJZGxB.js";
|
|
3
|
-
import { A as C } from "./AppActions-
|
|
3
|
+
import { A as C } from "./AppActions-BCXERyyB.js";
|
|
4
4
|
import { A as T } from "./AppTitle-D15YXeMx.js";
|
|
5
5
|
import { bi as A, bk as P, bl as k, bj as j, b5 as z } from "./toggle-group-DLLrEwv2.js";
|
|
6
6
|
import { useRef as V, useEffect as R } from "react";
|
|
@@ -5,7 +5,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
5
5
|
import { B as v } from "./tooltip-DVeqVwqV.js";
|
|
6
6
|
import "./chart-DntJZGxB.js";
|
|
7
7
|
import "@radix-ui/react-collapsible";
|
|
8
|
-
import { D as U, b as V, e as Y, h as Z, c as _ } from "./sheet-
|
|
8
|
+
import { D as U, b as V, e as Y, h as Z, c as _ } from "./sheet-BQmtrGf2.js";
|
|
9
9
|
import { AlertCircleIcon as L, X as S, Save as T, Pen as I } from "lucide-react";
|
|
10
10
|
import "react-resizable-panels";
|
|
11
11
|
import "clsx";
|
|
@@ -15,7 +15,7 @@ import "next-themes";
|
|
|
15
15
|
import "sonner";
|
|
16
16
|
import { useState as y, useEffect as ee } from "react";
|
|
17
17
|
import { useTranslation as O } from "react-i18next";
|
|
18
|
-
import { G as le } from "./GenericForm-
|
|
18
|
+
import { G as le } from "./GenericForm-DJR7PD-i.js";
|
|
19
19
|
import { E as ie } from "./ErrorAlert-SrIcU1mM.js";
|
|
20
20
|
function re({ open: t, onOpenChange: c, config: l, isLoading: u, error: s, children: p }) {
|
|
21
21
|
const { t: i } = O(), { title: b, description: d, icon: f, maxWidth: g = "sm:max-w-xl", actions: n } = l;
|
|
@@ -6,7 +6,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
6
6
|
import { B as y } from "./tooltip-DVeqVwqV.js";
|
|
7
7
|
import "./chart-DntJZGxB.js";
|
|
8
8
|
import "@radix-ui/react-collapsible";
|
|
9
|
-
import "./sheet-
|
|
9
|
+
import "./sheet-BQmtrGf2.js";
|
|
10
10
|
import { MoreVerticalIcon as oe, Loader2Icon as he, AlertTriangleIcon as me, GripVerticalIcon as ge, ArrowUpIcon as ue, ArrowDownIcon as fe, ArrowUpDownIcon as pe, ChevronLeftIcon as xe, ChevronRightIcon as ve, SettingsIcon as ye } from "lucide-react";
|
|
11
11
|
import "react-resizable-panels";
|
|
12
12
|
import "clsx";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { I as W } from "./ImageInput-
|
|
3
|
-
import { A as T } from "./AppSubTitle-
|
|
4
|
-
import { M as q } from "./MultiSelect-
|
|
2
|
+
import { I as W } from "./ImageInput-DYe2XPNZ.js";
|
|
3
|
+
import { A as T } from "./AppSubTitle-H8ElNObI.js";
|
|
4
|
+
import { M as q } from "./MultiSelect-Cj8vgAXJ.js";
|
|
5
5
|
import { ai as D, al as J, am as L, an as Q, aj as j, ao as X, bm as Y, E as $ } from "./toggle-group-DLLrEwv2.js";
|
|
6
6
|
import "./alert-B9F1N9Qk.js";
|
|
7
7
|
import "@radix-ui/react-aspect-ratio";
|
|
8
8
|
import { B as A } from "./tooltip-DVeqVwqV.js";
|
|
9
9
|
import { C as F, d as ee, a as te } from "./chart-DntJZGxB.js";
|
|
10
10
|
import "@radix-ui/react-collapsible";
|
|
11
|
-
import { I as k } from "./sheet-
|
|
11
|
+
import { I as k } from "./sheet-BQmtrGf2.js";
|
|
12
12
|
import "lucide-react";
|
|
13
13
|
import "react-resizable-panels";
|
|
14
14
|
import { c as i } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -5,7 +5,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
5
5
|
import { B as x } from "./tooltip-DVeqVwqV.js";
|
|
6
6
|
import "./chart-DntJZGxB.js";
|
|
7
7
|
import "@radix-ui/react-collapsible";
|
|
8
|
-
import "./sheet-
|
|
8
|
+
import "./sheet-BQmtrGf2.js";
|
|
9
9
|
import { XIcon as N, ImageIcon as v, UploadIcon as w } from "lucide-react";
|
|
10
10
|
import "react-resizable-panels";
|
|
11
11
|
import { c as u } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -5,7 +5,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
5
5
|
import { B as c } from "./tooltip-DVeqVwqV.js";
|
|
6
6
|
import "./chart-DntJZGxB.js";
|
|
7
7
|
import "@radix-ui/react-collapsible";
|
|
8
|
-
import "./sheet-
|
|
8
|
+
import "./sheet-BQmtrGf2.js";
|
|
9
9
|
import { ArrowLeftIcon as l } from "lucide-react";
|
|
10
10
|
import "react-resizable-panels";
|
|
11
11
|
import "clsx";
|
|
@@ -14,12 +14,12 @@ import "./select-BpjFWqAY.js";
|
|
|
14
14
|
import "next-themes";
|
|
15
15
|
import "sonner";
|
|
16
16
|
import "react";
|
|
17
|
-
import { A as f } from "./AppActions-
|
|
17
|
+
import { A as f } from "./AppActions-BCXERyyB.js";
|
|
18
18
|
import { A as d } from "./AppTitle-D15YXeMx.js";
|
|
19
19
|
import { u } from "./useDocumentTitle-WNwdPz-I.js";
|
|
20
20
|
import { useTranslation as g } from "react-i18next";
|
|
21
21
|
import "@krosoft/core/helpers";
|
|
22
|
-
import { b as h, a as x } from "./SkeletonCards-
|
|
22
|
+
import { b as h, a as x } from "./SkeletonCards-CYo_lvKx.js";
|
|
23
23
|
import { E as A } from "./ErrorState-CmaxuJyW.js";
|
|
24
24
|
function O({
|
|
25
25
|
icon: t,
|
|
@@ -6,7 +6,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
6
6
|
import { f as M } from "./tooltip-DVeqVwqV.js";
|
|
7
7
|
import "./chart-DntJZGxB.js";
|
|
8
8
|
import "@radix-ui/react-collapsible";
|
|
9
|
-
import "./sheet-
|
|
9
|
+
import "./sheet-BQmtrGf2.js";
|
|
10
10
|
import { XIcon as O, ChevronDownIcon as P, SearchIcon as S } from "lucide-react";
|
|
11
11
|
import "react-resizable-panels";
|
|
12
12
|
import { c as I } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -7,7 +7,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
7
7
|
import { B as y, f as X } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import "./chart-DntJZGxB.js";
|
|
9
9
|
import "@radix-ui/react-collapsible";
|
|
10
|
-
import { C as F, m as H, o as J, k as Q, l as U, n as E, I as W } from "./sheet-
|
|
10
|
+
import { C as F, m as H, o as J, k as Q, l as U, n as E, I as W } from "./sheet-BQmtrGf2.js";
|
|
11
11
|
import { CalendarIcon as _, XIcon as M, ChevronDownIcon as Y, CheckIcon as Z, PlusIcon as ee, SearchIcon as te } from "lucide-react";
|
|
12
12
|
import "react-resizable-panels";
|
|
13
13
|
import { c as g } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -8,7 +8,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
8
8
|
import "./tooltip-DVeqVwqV.js";
|
|
9
9
|
import { C as c, d as p, e as v, a as h } from "./chart-DntJZGxB.js";
|
|
10
10
|
import "@radix-ui/react-collapsible";
|
|
11
|
-
import "./sheet-
|
|
11
|
+
import "./sheet-BQmtrGf2.js";
|
|
12
12
|
import "lucide-react";
|
|
13
13
|
import "react-resizable-panels";
|
|
14
14
|
import "./select-BpjFWqAY.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as F, useEffect as O, useMemo as A } from "react";
|
|
3
|
-
import { a as j, D as M, b as z, S as I } from "./SearchInput-
|
|
3
|
+
import { a as j, D as M, b as z, S as I } from "./SearchInput-oeq0NBIc.js";
|
|
4
4
|
import { B as k, aw as $, b0 as B, b2 as R, b1 as Q, E as C } from "./toggle-group-DLLrEwv2.js";
|
|
5
5
|
import "./alert-B9F1N9Qk.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
7
|
import { B as w, e as V } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import "./chart-DntJZGxB.js";
|
|
9
9
|
import "@radix-ui/react-collapsible";
|
|
10
|
-
import { I as E, S as _, z as H, s as X, v as G, y as J, u as K } from "./sheet-
|
|
10
|
+
import { I as E, S as _, z as H, s as X, v as G, y as J, u as K } from "./sheet-BQmtrGf2.js";
|
|
11
11
|
import { XIcon as P, Filter as U, ChevronDown as W, Search as Y } from "lucide-react";
|
|
12
12
|
import "react-resizable-panels";
|
|
13
13
|
import "clsx";
|
|
@@ -16,7 +16,7 @@ import { S as Z, h as q, i as ee, a as re, c as te } from "./select-BpjFWqAY.js"
|
|
|
16
16
|
import "next-themes";
|
|
17
17
|
import "sonner";
|
|
18
18
|
import { c as T } from "./tailwind.helper-B6yFEsav.js";
|
|
19
|
-
import { M as le } from "./MultiSelect-
|
|
19
|
+
import { M as le } from "./MultiSelect-Cj8vgAXJ.js";
|
|
20
20
|
const L = (a, n, c = {}) => {
|
|
21
21
|
if (n instanceof Date)
|
|
22
22
|
return n.toLocaleDateString("fr-FR");
|
|
@@ -3,7 +3,7 @@ import * as j from "react";
|
|
|
3
3
|
import { SearchIcon as O, LoaderCircleIcon as W, ChevronDownIcon as M, MenuIcon as B } from "lucide-react";
|
|
4
4
|
import { c as o } from "./tailwind.helper-B6yFEsav.js";
|
|
5
5
|
import { B as E, T as F, c as Q, a as q, b as H } from "./tooltip-DVeqVwqV.js";
|
|
6
|
-
import { j as U, m as V, o as _, k as J, l as X, n as Y, I as Z, S as P, s as I, y as ee, t as re } from "./sheet-
|
|
6
|
+
import { j as U, m as V, o as _, k as J, l as X, n as Y, I as Z, S as P, s as I, y as ee, t as re } from "./sheet-BQmtrGf2.js";
|
|
7
7
|
import "./sidebar.context-D5nywlmP.js";
|
|
8
8
|
import { u as G } from "./useSidebar-BJuALHqQ.js";
|
|
9
9
|
import "react-i18next";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as s, M as d } from "../../../MetricCard-B0xnFyim.js";
|
|
2
|
-
import { K as o, a as C, S as t, b as p } from "../../../SkeletonCards-
|
|
2
|
+
import { K as o, a as C, S as t, b as p } from "../../../SkeletonCards-CYo_lvKx.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DashboardCard,
|
|
5
5
|
o as KpiCard,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as i, C as s, F as g } from "../../../ConfirmationDialog-
|
|
2
|
-
import { D as r, a as D, b as e, c as t, d as p, e as f, f as m, g as n, h as C, i as x } from "../../../sheet-
|
|
1
|
+
import { A as i, C as s, F as g } from "../../../ConfirmationDialog-BmxaMEYz.js";
|
|
2
|
+
import { D as r, a as D, b as e, c as t, d as p, e as f, f as m, g as n, h as C, i as x } from "../../../sheet-BQmtrGf2.js";
|
|
3
3
|
import { P } from "../../../toggle-group-DLLrEwv2.js";
|
|
4
4
|
export {
|
|
5
5
|
i as AppDialog,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { D as e, M as o } from "../../MetricCard-B0xnFyim.js";
|
|
2
|
-
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-
|
|
2
|
+
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-CYo_lvKx.js";
|
|
3
3
|
import { B as m, a as g, C as c, b as d, c as f, L as C, P as n, g as A } from "../../PieChart-D6y5EQnh.js";
|
|
4
|
-
import { A as x, C as D, F as S } from "../../ConfirmationDialog-
|
|
5
|
-
import { D as F, a as P, b as u, c as H, d as L, e as k, f as B, g as G, h as I, i as K } from "../../sheet-
|
|
4
|
+
import { A as x, C as D, F as S } from "../../ConfirmationDialog-BmxaMEYz.js";
|
|
5
|
+
import { D as F, a as P, b as u, c as H, d as L, e as k, f as B, g as G, h as I, i as K } from "../../sheet-BQmtrGf2.js";
|
|
6
6
|
import { P as E } from "../../toggle-group-DLLrEwv2.js";
|
|
7
|
-
import { A as y, a as O, F as R, S as V, T as z } from "../../TableFilter-
|
|
8
|
-
import { G as _ } from "../../GenericForm-
|
|
9
|
-
import { I as q } from "../../ImageInput-
|
|
10
|
-
import { D as J, a as Q, S as U, b as W } from "../../SearchInput-
|
|
11
|
-
import { M as Y } from "../../MultiSelect-
|
|
12
|
-
import { A as $ } from "../../AppActions-
|
|
13
|
-
import { A as ra, K as ea } from "../../KpiCardsLayout-
|
|
14
|
-
import { A as sa } from "../../AppSubTitle-
|
|
7
|
+
import { A as y, a as O, F as R, S as V, T as z } from "../../TableFilter-DbnGaGKL.js";
|
|
8
|
+
import { G as _ } from "../../GenericForm-DJR7PD-i.js";
|
|
9
|
+
import { I as q } from "../../ImageInput-DYe2XPNZ.js";
|
|
10
|
+
import { D as J, a as Q, S as U, b as W } from "../../SearchInput-oeq0NBIc.js";
|
|
11
|
+
import { M as Y } from "../../MultiSelect-Cj8vgAXJ.js";
|
|
12
|
+
import { A as $ } from "../../AppActions-BCXERyyB.js";
|
|
13
|
+
import { A as ra, K as ea } from "../../KpiCardsLayout-XZTxB8FV.js";
|
|
14
|
+
import { A as sa } from "../../AppSubTitle-H8ElNObI.js";
|
|
15
15
|
import { A as ia } from "../../AppTitle-D15YXeMx.js";
|
|
16
|
-
import { G as pa, S as ba, a as ma, b as ga, T as ca } from "../../Topbar-
|
|
16
|
+
import { G as pa, S as ba, a as ma, b as ga, T as ca } from "../../Topbar-DUq-UeR0.js";
|
|
17
17
|
import { E as fa } from "../../ErrorAlert-SrIcU1mM.js";
|
|
18
18
|
import { E as na } from "../../ErrorState-CmaxuJyW.js";
|
|
19
19
|
import { L as Ta } from "../../LoadingState-BN0YaPSs.js";
|
|
20
|
-
import { D as Da, T as Sa, a as ha, b as Fa, c as Pa, d as ua, e as Ha } from "../../DataTable-
|
|
21
|
-
import { A as ka, a as Ba, b as Ga, c as Ia } from "../../AppVerticalTabs-
|
|
20
|
+
import { D as Da, T as Sa, a as ha, b as Fa, c as Pa, d as ua, e as Ha } from "../../DataTable-0-lae9KY.js";
|
|
21
|
+
import { A as ka, a as Ba, b as Ga, c as Ia } from "../../AppVerticalTabs-aJmAVu6F.js";
|
|
22
22
|
import { T as va } from "../../ThemeSelector-BFC37dSl.js";
|
|
23
23
|
export {
|
|
24
24
|
y as ActiveFilters,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as r } from "../../../ImageInput-
|
|
2
|
-
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-
|
|
3
|
-
import { M as l } from "../../../MultiSelect-
|
|
1
|
+
import { I as r } from "../../../ImageInput-DYe2XPNZ.js";
|
|
2
|
+
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-oeq0NBIc.js";
|
|
3
|
+
import { M as l } from "../../../MultiSelect-Cj8vgAXJ.js";
|
|
4
4
|
export {
|
|
5
5
|
c as DatePicker,
|
|
6
6
|
o as DateRangePicker,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as r } from "../../../AppActions-
|
|
2
|
-
import { A as e, K as A } from "../../../KpiCardsLayout-
|
|
3
|
-
import { A as s } from "../../../AppSubTitle-
|
|
1
|
+
import { A as r } from "../../../AppActions-BCXERyyB.js";
|
|
2
|
+
import { A as e, K as A } from "../../../KpiCardsLayout-XZTxB8FV.js";
|
|
3
|
+
import { A as s } from "../../../AppSubTitle-H8ElNObI.js";
|
|
4
4
|
import { A as i } from "../../../AppTitle-D15YXeMx.js";
|
|
5
5
|
export {
|
|
6
6
|
r as AppActions,
|
package/dist/components/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { D as r, M as o } from "../MetricCard-B0xnFyim.js";
|
|
2
|
-
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-
|
|
2
|
+
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-CYo_lvKx.js";
|
|
3
3
|
import { B as p, a as u, C, b as g, c as d, L as m, P as S, g as T } from "../PieChart-D6y5EQnh.js";
|
|
4
|
-
import { A as D, C as M, F as x } from "../ConfirmationDialog-
|
|
5
|
-
import { C as h, j as f, k as P, l as I, m as w, n as v, o as F, p as L, q as B, D as G, a as k, b as H, c as R, d as y, e as N, f as O, g as V, h as E, i as z, I as K, S as j, r as q, s as U, t as _, u as J, v as Q, w as W, x as X, y as Y, z as Z } from "../sheet-
|
|
4
|
+
import { A as D, C as M, F as x } from "../ConfirmationDialog-BmxaMEYz.js";
|
|
5
|
+
import { C as h, j as f, k as P, l as I, m as w, n as v, o as F, p as L, q as B, D as G, a as k, b as H, c as R, d as y, e as N, f as O, g as V, h as E, i as z, I as K, S as j, r as q, s as U, t as _, u as J, v as Q, w as W, x as X, y as Y, z as Z } from "../sheet-BQmtrGf2.js";
|
|
6
6
|
import { A as aa, a as ea, b as ra, c as oa, d as sa, e as ta, f as na, g as ia, h as la, i as ba, j as pa, k as ua, l as Ca, m as ga, n as da, o as ma, B as Sa, p as Ta, q as ca, r as Da, s as Ma, t as xa, u as Aa, v as ha, C as fa, w as Pa, x as Ia, y as wa, z as va, D as Fa, E as La, F as Ba, G as Ga, H as ka, I as Ha, J as Ra, K as ya, L as Na, M as Oa, N as Va, O as Ea, Q as za, R as Ka, S as ja, T as qa, U as Ua, V as _a, W as Ja, X as Qa, Y as Wa, Z as Xa, _ as Ya, $ as Za, a0 as $a, a1 as ae, a2 as ee, a3 as re, a4 as oe, a5 as se, a6 as te, a7 as ne, a8 as ie, a9 as le, aa as be, ab as pe, ac as ue, ad as Ce, ae as ge, af as de, ag as me, ah as Se, ai as Te, aj as ce, ak as De, al as Me, am as xe, an as Ae, ao as he, ap as fe, aq as Pe, ar as Ie, as as we, at as ve, au as Fe, av as Le, aw as Be, ax as Ge, ay as ke, az as He, aA as Re, aB as ye, aC as Ne, aD as Oe, aE as Ve, aF as Ee, aG as ze, aH as Ke, aI as je, aJ as qe, aK as Ue, aL as _e, aM as Je, aN as Qe, aO as We, aP as Xe, aQ as Ye, aR as Ze, aS as $e, aT as ar, aU as er, aV as rr, aW as or, aX as sr, aY as tr, aZ as nr, a_ as ir, a$ as lr, b0 as br, b1 as pr, b2 as ur, P as Cr, b3 as gr, b4 as dr, b5 as mr, b6 as Sr, b7 as Tr, b8 as cr, b9 as Dr, ba as Mr, bb as xr, bc as Ar, bd as hr, be as fr, bf as Pr, bg as Ir, bh as wr, bi as vr, bj as Fr, bk as Lr, bl as Br, bm as Gr, bn as kr, bo as Hr, bp as Rr, bq as yr, br as Nr, bs as Or, bt as Vr, bu as Er, bv as zr, bw as Kr, bx as jr, by as qr, bz as Ur, bA as _r } from "../toggle-group-DLLrEwv2.js";
|
|
7
|
-
import { A as Qr, a as Wr, F as Xr, S as Yr, T as Zr } from "../TableFilter-
|
|
8
|
-
import { G as ao } from "../GenericForm-
|
|
9
|
-
import { I as ro } from "../ImageInput-
|
|
10
|
-
import { D as so, a as to, S as no, b as io } from "../SearchInput-
|
|
11
|
-
import { M as bo } from "../MultiSelect-
|
|
12
|
-
import { A as uo } from "../AppActions-
|
|
13
|
-
import { A as go, K as mo } from "../KpiCardsLayout-
|
|
14
|
-
import { A as To } from "../AppSubTitle-
|
|
7
|
+
import { A as Qr, a as Wr, F as Xr, S as Yr, T as Zr } from "../TableFilter-DbnGaGKL.js";
|
|
8
|
+
import { G as ao } from "../GenericForm-DJR7PD-i.js";
|
|
9
|
+
import { I as ro } from "../ImageInput-DYe2XPNZ.js";
|
|
10
|
+
import { D as so, a as to, S as no, b as io } from "../SearchInput-oeq0NBIc.js";
|
|
11
|
+
import { M as bo } from "../MultiSelect-Cj8vgAXJ.js";
|
|
12
|
+
import { A as uo } from "../AppActions-BCXERyyB.js";
|
|
13
|
+
import { A as go, K as mo } from "../KpiCardsLayout-XZTxB8FV.js";
|
|
14
|
+
import { A as To } from "../AppSubTitle-H8ElNObI.js";
|
|
15
15
|
import { A as Do } from "../AppTitle-D15YXeMx.js";
|
|
16
|
-
import { G as xo, S as Ao, a as ho, b as fo, T as Po } from "../Topbar-
|
|
16
|
+
import { G as xo, S as Ao, a as ho, b as fo, T as Po } from "../Topbar-DUq-UeR0.js";
|
|
17
17
|
import { E as wo } from "../ErrorAlert-SrIcU1mM.js";
|
|
18
18
|
import { E as Fo } from "../ErrorState-CmaxuJyW.js";
|
|
19
19
|
import { L as Bo } from "../LoadingState-BN0YaPSs.js";
|
|
20
|
-
import { D as ko, T as Ho, a as Ro, b as yo, c as No, d as Oo, e as Vo } from "../DataTable-
|
|
21
|
-
import { A as zo, a as Ko, b as jo, c as qo } from "../AppVerticalTabs-
|
|
20
|
+
import { D as ko, T as Ho, a as Ro, b as yo, c as No, d as Oo, e as Vo } from "../DataTable-0-lae9KY.js";
|
|
21
|
+
import { A as zo, a as Ko, b as jo, c as qo } from "../AppVerticalTabs-aJmAVu6F.js";
|
|
22
22
|
import { T as _o } from "../ThemeSelector-BFC37dSl.js";
|
|
23
23
|
import { A as Qo, a as Wo, b as Xo } from "../alert-B9F1N9Qk.js";
|
|
24
|
-
import { A as Zo, C as $o, a as as, b as es, R as rs, c as os, d as ss, T as ts, e as ns } from "../toaster-
|
|
24
|
+
import { A as Zo, C as $o, a as as, b as es, R as rs, c as os, d as ss, T as ts, e as ns } from "../toaster-BkgWp-w-.js";
|
|
25
25
|
import { B as ls, T as bs, a as ps, b as us, c as Cs, d as gs, e as ds, f as ms } from "../tooltip-DVeqVwqV.js";
|
|
26
26
|
import { C as Ts, a as cs, b as Ds, c as Ms, d as xs, e as As, f as hs, g as fs, h as Ps, i as Is, j as ws, k as vs } from "../chart-DntJZGxB.js";
|
|
27
27
|
import { S as Ls, a as Bs, b as Gs, c as ks, d as Hs, e as Rs, f as ys, g as Ns, h as Os, i as Vs } from "../select-BpjFWqAY.js";
|
|
@@ -36,6 +36,12 @@ export interface CommandDialogProps extends DialogProps {
|
|
|
36
36
|
*
|
|
37
37
|
* Le dimensionnement des icônes des items n'est pas imposé — chaque item garde
|
|
38
38
|
* les classes qu'on lui donne (`size-4`, `size-5`…).
|
|
39
|
+
*
|
|
40
|
+
* Sur mobile la dialog occupe tout l'écran : la colonne flex laisse la liste
|
|
41
|
+
* prendre la hauteur restante (`flex-1`, plafond de 300px levé) au lieu de
|
|
42
|
+
* s'arrêter au tiers de l'écran, la saisie restant en haut et le `hint` en bas.
|
|
43
|
+
* À partir de `sm`, la dialog reprend sa hauteur automatique et la liste son
|
|
44
|
+
* plafond habituel.
|
|
39
45
|
*/
|
|
40
46
|
declare const CommandDialog: ({ title, description, shouldFilter, className, children, ...props }: CommandDialogProps) => React.ReactElement;
|
|
41
47
|
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/ui/command.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;sFAQZ,CAAC;AAGF,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/ui/command.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;sFAQZ,CAAC;AAGF,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,aAAa,GAAI,qEAOpB,kBAAkB,KAAG,KAAK,CAAC,YAmB7B,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;0FAcjB,CAAC;AAIF,QAAA,MAAM,WAAW;;;;;;;;sFAEhB,CAAC;AAIF,QAAA,MAAM,YAAY;;;;;;uJAEjB,CAAC;AAIF,QAAA,MAAM,YAAY;;;;;;;;;;sFAWjB,CAAC;AAIF,QAAA,MAAM,gBAAgB;;;;;;sFAGoH,CAAC;AAG3I,QAAA,MAAM,WAAW;;;;;;;;;;;;sFAWhB,CAAC;AAIF,QAAA,MAAM,eAAe;8BAA6B,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAEtF,CAAC;AAGF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as o, a as s, b as r, c as t, d as n, e as i, f as l, g as u, h as b, i as g, j as p, k as C, l as d, m, n as S, o as T, B as c, p as M, q as D, r as x, s as w, t as h, u as I, v as P, C as v, w as A, x as F, y as B, z as L, D as f, E as G, F as R, G as k, H, I as N, J as y, K as O, L as V, M as z, N as j, O as E, Q as q, R as U, S as J, T as K, U as Q, V as W, W as X, X as Y, Y as Z, Z as _, _ as $, $ as aa, a0 as ea, a1 as oa, a2 as sa, a3 as ra, a4 as ta, a5 as na, a6 as ia, a7 as la, a8 as ua, a9 as ba, aa as ga, ab as pa, ac as Ca, ad as da, ae as ma, af as Sa, ag as Ta, ah as ca, ai as Ma, aj as Da, ak as xa, al as wa, am as ha, an as Ia, ao as Pa, ap as va, aq as Aa, ar as Fa, as as Ba, at as La, au as fa, av as Ga, aw as Ra, ax as ka, ay as Ha, az as Na, aA as ya, aB as Oa, aC as Va, aD as za, aE as ja, aF as Ea, aG as qa, aH as Ua, aI as Ja, aJ as Ka, aK as Qa, aL as Wa, aM as Xa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as ae, aS as ee, aT as oe, aU as se, aV as re, aW as te, aX as ne, aY as ie, aZ as le, a_ as ue, a$ as be, b0 as ge, b1 as pe, b2 as Ce, P as de, b3 as me, b4 as Se, b5 as Te, b6 as ce, b7 as Me, b8 as De, b9 as xe, ba as we, bb as he, bc as Ie, bd as Pe, be as ve, bf as Ae, bg as Fe, bh as Be, bi as Le, bj as fe, bk as Ge, bl as Re, bm as ke, bn as He, bo as Ne, bp as ye, bq as Oe, br as Ve, bs as ze, bt as je, bu as Ee, bv as qe, bw as Ue, bx as Je, by as Ke, bz as Qe, bA as We } from "../../toggle-group-DLLrEwv2.js";
|
|
2
2
|
import { A as Ye, a as Ze, b as _e } from "../../alert-B9F1N9Qk.js";
|
|
3
|
-
import { A as ao, C as eo, a as oo, b as so, R as ro, c as to, d as no, T as io, e as lo } from "../../toaster-
|
|
3
|
+
import { A as ao, C as eo, a as oo, b as so, R as ro, c as to, d as no, T as io, e as lo } from "../../toaster-BkgWp-w-.js";
|
|
4
4
|
import { B as bo, T as go, a as po, b as Co, c as mo, d as So, e as To, f as co } from "../../tooltip-DVeqVwqV.js";
|
|
5
5
|
import { C as Do, a as xo, b as wo, c as ho, d as Io, e as Po, f as vo, g as Ao, h as Fo, i as Bo, j as Lo, k as fo } from "../../chart-DntJZGxB.js";
|
|
6
|
-
import { C as Ro, j as ko, k as Ho, l as No, m as yo, n as Oo, o as Vo, p as zo, q as jo, D as Eo, a as qo, b as Uo, c as Jo, d as Ko, e as Qo, f as Wo, g as Xo, h as Yo, i as Zo, I as _o, S as $o, r as as, s as es, t as os, u as ss, v as rs, w as ts, x as ns, y as is, z as ls } from "../../sheet-
|
|
6
|
+
import { C as Ro, j as ko, k as Ho, l as No, m as yo, n as Oo, o as Vo, p as zo, q as jo, D as Eo, a as qo, b as Uo, c as Jo, d as Ko, e as Qo, f as Wo, g as Xo, h as Yo, i as Zo, I as _o, S as $o, r as as, s as es, t as os, u as ss, v as rs, w as ts, x as ns, y as is, z as ls } from "../../sheet-BQmtrGf2.js";
|
|
7
7
|
import { S as bs, a as gs, b as ps, c as Cs, d as ds, e as ms, f as Ss, g as Ts, h as cs, i as Ms } from "../../select-BpjFWqAY.js";
|
|
8
8
|
import { S as xs } from "../../skeleton-BX4RcsiK.js";
|
|
9
9
|
import { toast as hs } from "sonner";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAElD,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAExD,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,gCAyB1C,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ import * as n from "react";
|
|
|
6
6
|
import * as s from "@radix-ui/react-dialog";
|
|
7
7
|
import { e as b } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import { cva as w } from "class-variance-authority";
|
|
9
|
-
const v = s.Root, M = s.Trigger,
|
|
9
|
+
const v = s.Root, M = s.Trigger, k = s.Portal, Q = s.Close, p = n.forwardRef(
|
|
10
10
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
11
11
|
s.Overlay,
|
|
12
12
|
{
|
|
@@ -20,8 +20,8 @@ const v = s.Root, M = s.Trigger, C = s.Portal, Q = s.Close, p = n.forwardRef(
|
|
|
20
20
|
)
|
|
21
21
|
);
|
|
22
22
|
p.displayName = s.Overlay.displayName;
|
|
23
|
-
const
|
|
24
|
-
({ className: e, children: a, ...t }, l) => /* @__PURE__ */ i(
|
|
23
|
+
const C = "w-full max-w-none h-[100dvh] max-h-[100dvh] content-start rounded-none sm:h-auto sm:max-h-[95vh] sm:max-w-lg sm:rounded-surface", f = n.forwardRef(
|
|
24
|
+
({ className: e, children: a, ...t }, l) => /* @__PURE__ */ i(k, { children: [
|
|
25
25
|
/* @__PURE__ */ o(p, {}),
|
|
26
26
|
/* @__PURE__ */ i(
|
|
27
27
|
s.Content,
|
|
@@ -29,7 +29,7 @@ const k = "w-full max-w-none h-[100dvh] max-h-[100dvh] content-start rounded-non
|
|
|
29
29
|
ref: l,
|
|
30
30
|
className: d(
|
|
31
31
|
"fixed left-[50%] top-[50%] z-[70] grid overflow-y-auto translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
|
32
|
-
|
|
32
|
+
C,
|
|
33
33
|
e
|
|
34
34
|
),
|
|
35
35
|
...t,
|
|
@@ -47,8 +47,8 @@ const k = "w-full max-w-none h-[100dvh] max-h-[100dvh] content-start rounded-non
|
|
|
47
47
|
f.displayName = s.Content.displayName;
|
|
48
48
|
const D = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: d("flex flex-col space-y-1.5 text-center sm:text-left", e), ...a });
|
|
49
49
|
D.displayName = "DialogHeader";
|
|
50
|
-
const
|
|
51
|
-
|
|
50
|
+
const _ = ({ className: e, ...a }) => /* @__PURE__ */ o("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
51
|
+
_.displayName = "DialogFooter";
|
|
52
52
|
const u = n.forwardRef(
|
|
53
53
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Title, { ref: t, className: d("text-lg font-semibold leading-none tracking-tight", e), ...a })
|
|
54
54
|
);
|
|
@@ -73,7 +73,7 @@ const U = ({
|
|
|
73
73
|
className: l,
|
|
74
74
|
children: m,
|
|
75
75
|
...y
|
|
76
|
-
}) => /* @__PURE__ */ o(v, { ...y, children: /* @__PURE__ */ i(f, { className: "overflow-hidden p-0 shadow-lg", children: [
|
|
76
|
+
}) => /* @__PURE__ */ o(v, { ...y, children: /* @__PURE__ */ i(f, { className: "flex flex-col overflow-hidden p-0 shadow-lg", children: [
|
|
77
77
|
/* @__PURE__ */ o(u, { className: "sr-only", children: e }),
|
|
78
78
|
/* @__PURE__ */ o(g, { className: "sr-only", children: a }),
|
|
79
79
|
/* @__PURE__ */ o(
|
|
@@ -82,12 +82,13 @@ const U = ({
|
|
|
82
82
|
shouldFilter: t,
|
|
83
83
|
className: d(
|
|
84
84
|
"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3",
|
|
85
|
+
"[&_[cmdk-list]]:max-h-none [&_[cmdk-list]]:min-h-0 [&_[cmdk-list]]:flex-1 sm:[&_[cmdk-list]]:max-h-[300px] sm:[&_[cmdk-list]]:flex-none",
|
|
85
86
|
l
|
|
86
87
|
),
|
|
87
88
|
children: m
|
|
88
89
|
}
|
|
89
90
|
)
|
|
90
|
-
] }) }),
|
|
91
|
+
] }) }), R = n.forwardRef(
|
|
91
92
|
({ className: e, ...a }, t) => /* @__PURE__ */ i("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
92
93
|
/* @__PURE__ */ o(N, { className: "mr-2 size-4 shrink-0 opacity-50" }),
|
|
93
94
|
/* @__PURE__ */ o(
|
|
@@ -103,11 +104,11 @@ const U = ({
|
|
|
103
104
|
)
|
|
104
105
|
] })
|
|
105
106
|
);
|
|
106
|
-
|
|
107
|
-
const
|
|
107
|
+
R.displayName = r.Input.displayName;
|
|
108
|
+
const S = n.forwardRef(
|
|
108
109
|
({ className: e, ...a }, t) => /* @__PURE__ */ o(r.List, { ref: t, className: d("max-h-[300px] overflow-y-auto overflow-x-hidden", e), ...a })
|
|
109
110
|
);
|
|
110
|
-
|
|
111
|
+
S.displayName = r.List.displayName;
|
|
111
112
|
const z = n.forwardRef(
|
|
112
113
|
(e, a) => /* @__PURE__ */ o(r.Empty, { ref: a, className: "py-6 text-center text-sm", ...e })
|
|
113
114
|
);
|
|
@@ -219,18 +220,18 @@ export {
|
|
|
219
220
|
Q as a,
|
|
220
221
|
f as b,
|
|
221
222
|
g as c,
|
|
222
|
-
|
|
223
|
+
_ as d,
|
|
223
224
|
D as e,
|
|
224
225
|
p as f,
|
|
225
|
-
|
|
226
|
+
k as g,
|
|
226
227
|
u as h,
|
|
227
228
|
M as i,
|
|
228
229
|
U as j,
|
|
229
230
|
z as k,
|
|
230
231
|
I as l,
|
|
231
|
-
|
|
232
|
+
R as m,
|
|
232
233
|
O as n,
|
|
233
|
-
|
|
234
|
+
S as o,
|
|
234
235
|
T as p,
|
|
235
236
|
P as q,
|
|
236
237
|
Z as r,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as u from "@radix-ui/react-aspect-ratio";
|
|
2
2
|
import * as s from "@radix-ui/react-collapsible";
|
|
3
|
-
import { jsx as t, jsxs as
|
|
4
|
-
import { GripVertical as d } from "lucide-react";
|
|
3
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { GripVertical as d, XIcon as f } from "lucide-react";
|
|
5
5
|
import * as i from "react-resizable-panels";
|
|
6
6
|
import { c as n } from "./tailwind.helper-B6yFEsav.js";
|
|
7
|
-
import { useTheme as
|
|
7
|
+
import { useTheme as g } from "next-themes";
|
|
8
8
|
import { Toaster as m } from "sonner";
|
|
9
|
-
import { u as
|
|
10
|
-
import { br as
|
|
11
|
-
const
|
|
9
|
+
import { u as b } from "./useToast-BFTk4lWz.js";
|
|
10
|
+
import { br as v, bn as h, bs as x, bq as T, bp as C, bt as w } from "./toggle-group-DLLrEwv2.js";
|
|
11
|
+
const B = u.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent, k = ({ className: e, ...r }) => /* @__PURE__ */ t(i.Group, { className: n("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", e), ...r }), q = i.Panel, D = ({
|
|
12
12
|
withHandle: e,
|
|
13
13
|
className: r,
|
|
14
|
-
...
|
|
14
|
+
...o
|
|
15
15
|
}) => /* @__PURE__ */ t(
|
|
16
16
|
i.Separator,
|
|
17
17
|
{
|
|
@@ -19,52 +19,57 @@ const A = u.Root, G = s.Root, B = s.CollapsibleTrigger, V = s.CollapsibleContent
|
|
|
19
19
|
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
20
20
|
r
|
|
21
21
|
),
|
|
22
|
-
...
|
|
22
|
+
...o,
|
|
23
23
|
children: e && /* @__PURE__ */ t("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ t(d, { className: "h-2.5 w-2.5" }) })
|
|
24
24
|
}
|
|
25
|
-
),
|
|
26
|
-
const { theme: r = "system" } =
|
|
25
|
+
), H = ({ ...e }) => {
|
|
26
|
+
const { theme: r = "system" } = g();
|
|
27
27
|
return /* @__PURE__ */ t(
|
|
28
28
|
m,
|
|
29
29
|
{
|
|
30
30
|
theme: r,
|
|
31
31
|
className: "toaster group",
|
|
32
|
+
icons: { close: /* @__PURE__ */ t(f, { className: "size-4" }) },
|
|
32
33
|
toastOptions: {
|
|
33
34
|
classNames: {
|
|
34
35
|
toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
|
|
35
36
|
description: "group-[.toast]:text-muted-foreground",
|
|
36
37
|
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
|
|
37
|
-
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
|
|
38
|
+
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
|
|
39
|
+
// Sonner colle par défaut une pastille cerclée en absolu au coin du toast. On la
|
|
40
|
+
// remet dans le flux (`order-last`) pour qu'elle se pose après le bouton d'action.
|
|
41
|
+
// Le `!` est indispensable : les règles de sonner sont plus spécifiques que ces classes.
|
|
42
|
+
closeButton: "!static !order-last !size-6 !transform-none !rounded-control !border-0 !bg-transparent !text-foreground/60 !opacity-100 hover:!bg-muted hover:!text-foreground focus-visible:!ring-2 focus-visible:!ring-ring"
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
45
|
...e
|
|
41
46
|
}
|
|
42
47
|
);
|
|
43
48
|
};
|
|
44
|
-
function
|
|
45
|
-
const { toasts: e } =
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
-
e.map(function({ id: r, title:
|
|
48
|
-
return /* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
|
|
51
|
-
l && /* @__PURE__ */ t(
|
|
49
|
+
function I() {
|
|
50
|
+
const { toasts: e } = b();
|
|
51
|
+
return /* @__PURE__ */ a(v, { children: [
|
|
52
|
+
e.map(function({ id: r, title: o, description: l, action: c, ...p }) {
|
|
53
|
+
return /* @__PURE__ */ a(h, { ...p, children: [
|
|
54
|
+
/* @__PURE__ */ a("div", { className: "grid gap-1", children: [
|
|
55
|
+
o && /* @__PURE__ */ t(x, { children: o }),
|
|
56
|
+
l && /* @__PURE__ */ t(T, { children: l })
|
|
52
57
|
] }),
|
|
53
58
|
c,
|
|
54
|
-
/* @__PURE__ */ t(
|
|
59
|
+
/* @__PURE__ */ t(C, {})
|
|
55
60
|
] }, r);
|
|
56
61
|
}),
|
|
57
|
-
/* @__PURE__ */ t(
|
|
62
|
+
/* @__PURE__ */ t(w, {})
|
|
58
63
|
] });
|
|
59
64
|
}
|
|
60
65
|
export {
|
|
61
|
-
A,
|
|
66
|
+
B as A,
|
|
62
67
|
G as C,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
D as R,
|
|
69
|
+
H as T,
|
|
70
|
+
$ as a,
|
|
71
|
+
V as b,
|
|
72
|
+
q as c,
|
|
73
|
+
k as d,
|
|
74
|
+
I as e
|
|
70
75
|
};
|