@krosoft/react 0.0.373 → 0.0.374
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-DwzK-4t7.js → AppActions-ooZhFY4I.js} +1 -1
- package/dist/{AppMarkdown-ZT7xBtTk.js → AppMarkdown-DR9Xzort.js} +1 -1
- package/dist/{AppSubTitle-Bf9rFryk.js → AppSubTitle-RDgLo82r.js} +2 -2
- package/dist/{AppTitle-CQgw2Ody.js → AppTitle-HcuNVulh.js} +1 -1
- package/dist/{ErrorAlert-BYy61fcZ.js → ErrorAlert-Cyqycy2z.js} +1 -1
- package/dist/{GenericForm-C-vJXpaF.js → GenericForm-DrFyl2wt.js} +5 -5
- package/dist/{ImageInput-BDTQi0U9.js → ImageInput-Br8DQPTc.js} +1 -1
- package/dist/{MultiSelect-60rgAOBX.js → MultiSelect-Bht0L5il.js} +2 -2
- package/dist/SearchInput-VVu1aIU4.js +36 -0
- package/dist/{SearchInput-CqU6crOu.js → SingleSelect-8V30LYCi.js} +107 -134
- package/dist/{behavior-DRGttGb4.js → behavior-DUMKzliu.js} +1 -1
- package/dist/{cards-Bwm6Scwc.js → cards-s1HOBgc6.js} +1 -1
- package/dist/changelog-m-U0JTTM.js +139 -0
- package/dist/{charts-hsygNEkd.js → charts-DH_x5yPB.js} +1 -1
- package/dist/components/core/cards/index.js +1 -1
- package/dist/components/core/changelog/AppChangelog.d.ts +3 -1
- package/dist/components/core/changelog/AppChangelog.d.ts.map +1 -1
- package/dist/components/core/changelog/index.js +1 -1
- package/dist/components/core/charts/index.js +1 -1
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +20 -19
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +21 -20
- package/dist/components/core/inputs/index.js +6 -5
- package/dist/components/core/language/index.js +1 -1
- package/dist/components/core/layouts/index.js +7 -7
- package/dist/components/core/markdown/index.js +1 -1
- package/dist/components/core/navbar/index.js +1 -1
- package/dist/components/core/states/index.js +2 -2
- package/dist/components/core/table/index.js +2 -2
- package/dist/components/core/tabs/index.js +4 -4
- package/dist/components/core/theme/index.js +1 -1
- package/dist/components/index.js +21 -20
- package/dist/components/ui/index.js +1 -1
- package/dist/{dialogs-0PwhK6c1.js → dialogs-BGwVb_uW.js} +4 -4
- package/dist/helpers/changelog.helper.d.ts +5 -0
- package/dist/helpers/changelog.helper.d.ts.map +1 -1
- package/dist/helpers/index.js +50 -15
- package/dist/hooks/behavior/index.js +1 -1
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/ui/index.js +3 -3
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/krosoftLocales.d.ts +4 -0
- package/dist/i18n/krosoftLocales.d.ts.map +1 -1
- package/dist/{i18n-CytpX2hK.js → i18n-Cpw8DZt1.js} +6 -2
- package/dist/{inputs-D-ZCdo5D.js → inputs-ClkjpjY4.js} +1 -1
- package/dist/{language-Du46nzYN.js → language-Bb_6jQEn.js} +2 -2
- package/dist/{navbar-j2_a1yrA.js → navbar-CBtXvlA_.js} +3 -3
- package/dist/pwa/index.js +1 -1
- package/dist/seasonal/index.js +1 -1
- package/dist/{sheet-AgDmjyf2.js → sheet-DOU2o0gO.js} +1 -1
- package/dist/{states-BVEFGM99.js → states-CuRWHlch.js} +1 -1
- package/dist/{theme-CVY1Dh3F.js → theme-DsMX9lZ7.js} +2 -2
- package/dist/{useDocumentTitle-DYRVJ5wt.js → useDocumentTitle-BX7aZKoT.js} +1 -1
- package/dist/{useLanguage-CJM24_Ab.js → useLanguage-BigJQQLb.js} +1 -1
- package/dist/{useTheme-C5PI6ifZ.js → useTheme-C_AhwSy3.js} +1 -1
- package/package.json +1 -1
- package/dist/changelog-DA5nb3BI.js +0 -126
- package/dist/changelog.helper-BjCKlB0M.js +0 -31
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
+
import { filterChangelog as t, parseChangelog as n } from "./helpers/index.js";
|
|
3
|
+
import { r, t as i } from "./i18n-Cpw8DZt1.js";
|
|
4
|
+
import { t as a } from "./SearchInput-VVu1aIU4.js";
|
|
5
|
+
import { t as o } from "./useNotifications-CyhTruIG.js";
|
|
6
|
+
import { t as s } from "./AppMarkdown-DR9Xzort.js";
|
|
7
|
+
import { useEffect as c, useMemo as l, useState as u } from "react";
|
|
8
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
9
|
+
import { LinkIcon as m } from "lucide-react";
|
|
10
|
+
import { useLocation as h, useNavigate as g } from "react-router-dom";
|
|
11
|
+
import { format as _ } from "date-fns";
|
|
12
|
+
//#region src/components/core/changelog/AppChangelogEntry.tsx
|
|
13
|
+
var v = ({ entry: t, isLatest: n, isLast: a, isActive: o, onSelect: c, onCopyLink: l }) => {
|
|
14
|
+
let { t: u } = i(), h = r();
|
|
15
|
+
return /* @__PURE__ */ p("section", {
|
|
16
|
+
id: t.id,
|
|
17
|
+
className: "group flex scroll-mt-4 gap-4",
|
|
18
|
+
children: [/* @__PURE__ */ p("div", {
|
|
19
|
+
className: "flex w-24 shrink-0 flex-col items-center",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ f("a", {
|
|
22
|
+
href: `#${t.id}`,
|
|
23
|
+
onClick: (e) => {
|
|
24
|
+
e.preventDefault(), c(t.id);
|
|
25
|
+
},
|
|
26
|
+
className: e("mb-2 text-center text-xs font-medium leading-tight text-muted-foreground hover:text-primary", o && "text-primary"),
|
|
27
|
+
children: t.date ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("span", {
|
|
28
|
+
className: "block",
|
|
29
|
+
children: _(t.date, "d MMM yyyy", { locale: h })
|
|
30
|
+
}), t.hasTime ? /* @__PURE__ */ f("span", {
|
|
31
|
+
className: "block opacity-70",
|
|
32
|
+
children: _(t.date, "HH:mm", { locale: h })
|
|
33
|
+
}) : null] }) : t.title
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ f("div", { className: e("relative z-10 size-3 shrink-0 rounded-full", n ? "bg-primary" : "bg-muted-foreground/40", o && "ring-4 ring-primary/20") }),
|
|
36
|
+
a ? null : /* @__PURE__ */ f("div", { className: "w-0.5 grow bg-border" })
|
|
37
|
+
]
|
|
38
|
+
}), /* @__PURE__ */ p("div", {
|
|
39
|
+
className: e("relative mb-6 min-w-0 grow rounded-lg border bg-card px-5 py-4 pr-12 shadow-sm transition-colors [&>p:last-child]:mb-0", o && "border-primary/50"),
|
|
40
|
+
children: [/* @__PURE__ */ f("button", {
|
|
41
|
+
type: "button",
|
|
42
|
+
onClick: () => {
|
|
43
|
+
l(t.id);
|
|
44
|
+
},
|
|
45
|
+
title: u("markdown.copyLink"),
|
|
46
|
+
"aria-label": u("markdown.copyLink"),
|
|
47
|
+
className: "absolute right-4 top-4 inline-flex text-muted-foreground transition-opacity hover:text-primary md:opacity-0 md:focus-visible:opacity-100 md:group-hover:opacity-100",
|
|
48
|
+
children: /* @__PURE__ */ f(m, { className: "size-4" })
|
|
49
|
+
}), /* @__PURE__ */ f(s, {
|
|
50
|
+
content: t.content,
|
|
51
|
+
headingAnchors: !1
|
|
52
|
+
})]
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
}, y = ({ entries: t, activeId: n, onSelect: a, className: o }) => {
|
|
56
|
+
let { t: s } = i(), c = r();
|
|
57
|
+
return /* @__PURE__ */ p("nav", {
|
|
58
|
+
"aria-label": s("changelog.nav"),
|
|
59
|
+
className: o,
|
|
60
|
+
children: [/* @__PURE__ */ f("p", {
|
|
61
|
+
className: "mb-2 px-3 text-xs font-semibold uppercase tracking-wide text-muted-foreground",
|
|
62
|
+
children: s("changelog.nav")
|
|
63
|
+
}), /* @__PURE__ */ f("ul", {
|
|
64
|
+
className: "space-y-0.5 border-l",
|
|
65
|
+
children: t.map((t) => /* @__PURE__ */ f("li", { children: /* @__PURE__ */ f("a", {
|
|
66
|
+
href: `#${t.id}`,
|
|
67
|
+
onClick: (e) => {
|
|
68
|
+
e.preventDefault(), a(t.id);
|
|
69
|
+
},
|
|
70
|
+
className: e("-ml-px block border-l-2 border-transparent px-3 py-1 text-sm text-muted-foreground hover:border-muted-foreground/40 hover:text-foreground", t.id === n && "border-primary font-medium text-primary hover:border-primary hover:text-primary"),
|
|
71
|
+
children: t.date ? _(t.date, t.hasTime ? "d MMM yyyy · HH:mm" : "d MMM yyyy", { locale: c }) : t.title
|
|
72
|
+
}) }, t.id))
|
|
73
|
+
})]
|
|
74
|
+
});
|
|
75
|
+
}, b = ({ content: e, showNav: r = !0, showSearch: s = !0 }) => {
|
|
76
|
+
let { t: d } = i(), { showSuccess: m, showError: _ } = o(), b = h(), x = g(), [S, C] = u(""), w = l(() => n(e), [e]), T = l(() => t(w, S), [w, S]), E = w[0]?.id, D = decodeURIComponent(b.hash.slice(1)), O = T.some((e) => e.id === D) ? D : void 0;
|
|
77
|
+
c(() => {
|
|
78
|
+
if (!O) return;
|
|
79
|
+
let e = requestAnimationFrame(() => {
|
|
80
|
+
document.getElementById(O)?.scrollIntoView({
|
|
81
|
+
behavior: "smooth",
|
|
82
|
+
block: "start"
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
return () => {
|
|
86
|
+
cancelAnimationFrame(e);
|
|
87
|
+
};
|
|
88
|
+
}, [O]);
|
|
89
|
+
let k = (e) => {
|
|
90
|
+
x({
|
|
91
|
+
search: b.search,
|
|
92
|
+
hash: `#${e}`
|
|
93
|
+
}, { replace: !0 });
|
|
94
|
+
}, A = async (e) => {
|
|
95
|
+
k(e);
|
|
96
|
+
let t = `${window.location.origin}${b.pathname}${b.search}#${e}`;
|
|
97
|
+
try {
|
|
98
|
+
await navigator.clipboard.writeText(t), m(d("markdown.linkCopied"));
|
|
99
|
+
} catch {
|
|
100
|
+
_(d("markdown.linkCopyError"));
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
return w.length === 0 ? /* @__PURE__ */ f("p", {
|
|
104
|
+
className: "text-sm text-muted-foreground",
|
|
105
|
+
children: d("changelog.empty")
|
|
106
|
+
}) : /* @__PURE__ */ p("div", {
|
|
107
|
+
className: "flex gap-8",
|
|
108
|
+
children: [/* @__PURE__ */ p("div", {
|
|
109
|
+
className: "min-w-0 flex-1",
|
|
110
|
+
children: [
|
|
111
|
+
s ? /* @__PURE__ */ f(a, {
|
|
112
|
+
search: S,
|
|
113
|
+
onSearch: C,
|
|
114
|
+
placeholder: d("changelog.searchPlaceholder"),
|
|
115
|
+
className: "mb-6 md:w-96"
|
|
116
|
+
}) : null,
|
|
117
|
+
T.length === 0 ? /* @__PURE__ */ f("p", {
|
|
118
|
+
className: "text-sm text-muted-foreground",
|
|
119
|
+
children: d("changelog.noResult", { query: S.trim() })
|
|
120
|
+
}) : null,
|
|
121
|
+
T.map((e, t) => /* @__PURE__ */ f(v, {
|
|
122
|
+
entry: e,
|
|
123
|
+
isLatest: e.id === E,
|
|
124
|
+
isLast: t === T.length - 1,
|
|
125
|
+
isActive: e.id === O,
|
|
126
|
+
onSelect: k,
|
|
127
|
+
onCopyLink: (e) => void A(e)
|
|
128
|
+
}, e.id))
|
|
129
|
+
]
|
|
130
|
+
}), r && T.length > 0 ? /* @__PURE__ */ f(y, {
|
|
131
|
+
entries: T,
|
|
132
|
+
activeId: O,
|
|
133
|
+
onSelect: k,
|
|
134
|
+
className: "sticky top-4 hidden max-h-[calc(100vh-2rem)] w-52 shrink-0 self-start overflow-y-auto xl:block"
|
|
135
|
+
}) : null]
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
//#endregion
|
|
139
|
+
export { b as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { a as t, c as n, d as r, f as i, l as a, n as o, o as s, r as c, s as l, t as u } from "./chart-wW-fwL3s.js";
|
|
3
|
-
import { t as d } from "./i18n-
|
|
3
|
+
import { t as d } from "./i18n-Cpw8DZt1.js";
|
|
4
4
|
import { t as f } from "./skeleton-D6Ga4BLw.js";
|
|
5
5
|
import { t as p } from "./useMobile-pTQ8lWvt.js";
|
|
6
6
|
import * as m from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as DashboardCard, a as KpiCard, i as KpiCards, r as MetricCard, n as SkeletonCard, t as SkeletonCards } from "../../../cards-
|
|
1
|
+
export { o as DashboardCard, a as KpiCard, i as KpiCards, r as MetricCard, n as SkeletonCard, t as SkeletonCards } from "../../../cards-s1HOBgc6.js";
|
|
@@ -7,10 +7,12 @@ export interface AppChangelogProps {
|
|
|
7
7
|
content: string;
|
|
8
8
|
/** Sommaire des dates à droite de la frise (écrans larges uniquement). Vrai par défaut. */
|
|
9
9
|
showNav?: boolean;
|
|
10
|
+
/** Barre de recherche au-dessus de la frise (titre et contenu, sans casse ni accents). Vrai par défaut. */
|
|
11
|
+
showSearch?: boolean;
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
14
|
* Frise d'un journal des modifications. Chaque date porte une ancre partageable (`#2026-10-30-1441`) :
|
|
13
15
|
* ouvrir l'url fait défiler jusqu'à l'entrée, qui est mise en évidence dans la frise et le sommaire.
|
|
14
16
|
*/
|
|
15
|
-
export declare const AppChangelog: ({ content, showNav }: AppChangelogProps) => JSX.Element;
|
|
17
|
+
export declare const AppChangelog: ({ content, showNav, showSearch }: AppChangelogProps) => JSX.Element;
|
|
16
18
|
//# sourceMappingURL=AppChangelog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppChangelog.d.ts","sourceRoot":"","sources":["../../../../src/components/core/changelog/AppChangelog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AppChangelog.d.ts","sourceRoot":"","sources":["../../../../src/components/core/changelog/AppChangelog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAUjC,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2GAA2G;IAC3G,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,kCAAgD,iBAAiB,KAAG,GAAG,CAAC,OA0EpG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AppChangelog } from "../../../changelog-
|
|
1
|
+
export { t as AppChangelog } from "../../../changelog-m-U0JTTM.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as BarChartHorizontal, s as BarChartVertical, a as CHART_COLORS, i as ChartCard, r as CircularGauge, n as LineChart, t as PieChart, o as getChartColor } from "../../../charts-
|
|
1
|
+
export { c as BarChartHorizontal, s as BarChartVertical, a as CHART_COLORS, i as ChartCard, r as CircularGauge, n as LineChart, t as PieChart, o as getChartColor } from "../../../charts-DH_x5yPB.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { F as e } from "../../../ui-Fxy95kSJ.js";
|
|
2
|
-
import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-
|
|
3
|
-
import { i as d, n as f, r as p, t as m } from "../../../dialogs-
|
|
2
|
+
import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-DOU2o0gO.js";
|
|
3
|
+
import { i as d, n as f, r as p, t as m } from "../../../dialogs-BGwVb_uW.js";
|
|
4
4
|
export { m as AboutDialog, d as AppDialog, f as ConfirmationDialog, r as Dialog, n as DialogClose, s as DialogContent, u as DialogDescription, t as DialogFooter, l as DialogHeader, a as DialogOverlay, o as DialogPortal, c as DialogTitle, i as DialogTrigger, p as FormDialog, e as Progress };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "../../../i18n-
|
|
2
|
+
import { t } from "../../../i18n-Cpw8DZt1.js";
|
|
3
3
|
import { $t as n, Gt as r, Jt as i, Kt as a, Mn as o, Qt as s, Wt as c, Yt as l, n as u, t as d } from "../../../ui-Fxy95kSJ.js";
|
|
4
4
|
import { a as f, c as p } from "../../../tooltip-_geGvbS7.js";
|
|
5
|
-
import { a as m, g as h, h as g, l as _, m as v, o as y, p as b, r as x, t as S, u as C } from "../../../sheet-
|
|
5
|
+
import { a as m, g as h, h as g, l as _, m as v, o as y, p as b, r as x, t as S, u as C } from "../../../sheet-DOU2o0gO.js";
|
|
6
6
|
import { n as w } from "../../../switch-DspImmo_.js";
|
|
7
|
-
import { t as T } from "../../../
|
|
8
|
-
import { t as E } from "../../../
|
|
9
|
-
import {
|
|
7
|
+
import { t as T } from "../../../SearchInput-VVu1aIU4.js";
|
|
8
|
+
import { t as E } from "../../../useMobile-pTQ8lWvt.js";
|
|
9
|
+
import { t as D } from "../../../MultiSelect-Bht0L5il.js";
|
|
10
|
+
import { n as O, r as k, t as A } from "../../../SingleSelect-8V30LYCi.js";
|
|
10
11
|
import { useEffect as j, useMemo as M, useRef as N, useState as P } from "react";
|
|
11
12
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
12
13
|
import { getLocale as R } from "@krosoft/core/helpers";
|
|
@@ -95,7 +96,7 @@ var q = ({ field: e, value: n, onChange: r, onToggleMultiSelect: i }) => {
|
|
|
95
96
|
min: e.min,
|
|
96
97
|
max: e.max
|
|
97
98
|
});
|
|
98
|
-
case "select": return /* @__PURE__ */ I(
|
|
99
|
+
case "select": return /* @__PURE__ */ I(A, {
|
|
99
100
|
options: e.options ?? [],
|
|
100
101
|
value: n,
|
|
101
102
|
onChange: r,
|
|
@@ -103,17 +104,17 @@ var q = ({ field: e, value: n, onChange: r, onToggleMultiSelect: i }) => {
|
|
|
103
104
|
placeholder: e.placeholder,
|
|
104
105
|
searchPlaceholder: e.searchPlaceholder
|
|
105
106
|
});
|
|
106
|
-
case "date": return /* @__PURE__ */ I(
|
|
107
|
+
case "date": return /* @__PURE__ */ I(k, {
|
|
107
108
|
date: n,
|
|
108
109
|
onDateChange: r,
|
|
109
110
|
placeholder: e.placeholder ?? a("date.pickDate")
|
|
110
111
|
});
|
|
111
|
-
case "date-range": return /* @__PURE__ */ I(
|
|
112
|
+
case "date-range": return /* @__PURE__ */ I(O, {
|
|
112
113
|
value: n,
|
|
113
114
|
onChange: r,
|
|
114
115
|
placeholder: e.placeholder
|
|
115
116
|
});
|
|
116
|
-
case "multi-select": return /* @__PURE__ */ I(
|
|
117
|
+
case "multi-select": return /* @__PURE__ */ I(D, {
|
|
117
118
|
options: e.options ?? [],
|
|
118
119
|
selected: n ?? [],
|
|
119
120
|
onToggle: i,
|
|
@@ -319,11 +320,11 @@ function Q({ children: e, activeFiltersCount: o = 0, onReset: u, onApply: d }) {
|
|
|
319
320
|
//#region src/components/core/filters/FiltersContainer.tsx
|
|
320
321
|
function ne({ children: e, search: n, searchPlaceholder: r, activeFiltersCount: i = 0, onReset: a, onSearch: o }) {
|
|
321
322
|
let { t: s } = t();
|
|
322
|
-
return
|
|
323
|
+
return E() ? /* @__PURE__ */ L("div", {
|
|
323
324
|
className: "flex items-center gap-2",
|
|
324
325
|
children: [o !== void 0 && /* @__PURE__ */ I("div", {
|
|
325
326
|
className: "flex-1",
|
|
326
|
-
children: /* @__PURE__ */ I(
|
|
327
|
+
children: /* @__PURE__ */ I(T, {
|
|
327
328
|
search: n ?? "",
|
|
328
329
|
onSearch: o,
|
|
329
330
|
placeholder: r
|
|
@@ -337,7 +338,7 @@ function ne({ children: e, search: n, searchPlaceholder: r, activeFiltersCount:
|
|
|
337
338
|
className: "flex justify-between",
|
|
338
339
|
children: [/* @__PURE__ */ L("div", {
|
|
339
340
|
className: "flex flex-wrap gap-2",
|
|
340
|
-
children: [o !== void 0 && /* @__PURE__ */ I(
|
|
341
|
+
children: [o !== void 0 && /* @__PURE__ */ I(T, {
|
|
341
342
|
search: n ?? "",
|
|
342
343
|
onSearch: o,
|
|
343
344
|
placeholder: r
|
|
@@ -410,14 +411,14 @@ function re({ searchQuery: e, onSearchChange: n, searchPlaceholder: r, filters:
|
|
|
410
411
|
className: "flex flex-wrap items-center gap-2 justify-between",
|
|
411
412
|
children: [/* @__PURE__ */ L("div", {
|
|
412
413
|
className: "flex flex-wrap items-center gap-2",
|
|
413
|
-
children: [n === void 0 ? null : /* @__PURE__ */ I(
|
|
414
|
+
children: [n === void 0 ? null : /* @__PURE__ */ I(T, {
|
|
414
415
|
searchQuery: e,
|
|
415
416
|
onSearch: n,
|
|
416
417
|
onClear: () => {
|
|
417
418
|
n("");
|
|
418
419
|
},
|
|
419
420
|
placeholder: r ?? l("search.placeholder")
|
|
420
|
-
}), m.map((e) => /* @__PURE__ */ I(
|
|
421
|
+
}), m.map((e) => /* @__PURE__ */ I(D, {
|
|
421
422
|
variant: "pill",
|
|
422
423
|
labelKey: e.labelKey,
|
|
423
424
|
options: e.options,
|
|
@@ -457,13 +458,13 @@ function re({ searchQuery: e, onSearchChange: n, searchPlaceholder: r, filters:
|
|
|
457
458
|
//#region src/components/core/filters/ConditionFilter.tsx
|
|
458
459
|
var ie = (e) => e?.requiresValue !== !1;
|
|
459
460
|
function $({ fields: n, operators: r, value: i, onChange: a, labelKey: o, icon: s, disabled: c = !1, className: l }) {
|
|
460
|
-
let { t: m } = t(), [_, y] = P(!1), [x, S] = P({ value: "" }), C = i === void 0 ? void 0 : n.find((e) => e.value === i.field), T = i === void 0 ? void 0 : r.find((e) => e.value === i.operator), E = i !== void 0, D = r.find((e) => e.value === x.operator),
|
|
461
|
+
let { t: m } = t(), [_, y] = P(!1), [x, S] = P({ value: "" }), C = i === void 0 ? void 0 : n.find((e) => e.value === i.field), T = i === void 0 ? void 0 : r.find((e) => e.value === i.operator), E = i !== void 0, D = r.find((e) => e.value === x.operator), O = ie(D), k = D?.numeric === !0, j = x.value.trim(), M = O && k && j !== "" && Number.isNaN(Number(j)), N = x.field !== void 0 && D !== void 0 && (!O || j !== "") && !M, R = (e) => {
|
|
461
462
|
e && S(i === void 0 ? { value: "" } : { ...i }), y(e);
|
|
462
463
|
}, B = () => {
|
|
463
464
|
N && x.field !== void 0 && D !== void 0 && (a({
|
|
464
465
|
field: x.field,
|
|
465
466
|
operator: D.value,
|
|
466
|
-
value:
|
|
467
|
+
value: O ? j : ""
|
|
467
468
|
}), y(!1));
|
|
468
469
|
}, V = () => {
|
|
469
470
|
a(void 0), y(!1);
|
|
@@ -520,7 +521,7 @@ function $({ fields: n, operators: r, value: i, onChange: a, labelKey: o, icon:
|
|
|
520
521
|
children: [
|
|
521
522
|
/* @__PURE__ */ L("div", {
|
|
522
523
|
className: "space-y-1.5",
|
|
523
|
-
children: [/* @__PURE__ */ I(w, { children: m("filters.condition.field") }), /* @__PURE__ */ I(
|
|
524
|
+
children: [/* @__PURE__ */ I(w, { children: m("filters.condition.field") }), /* @__PURE__ */ I(A, {
|
|
524
525
|
options: n,
|
|
525
526
|
value: x.field,
|
|
526
527
|
onChange: (e) => {
|
|
@@ -559,7 +560,7 @@ function $({ fields: n, operators: r, value: i, onChange: a, labelKey: o, icon:
|
|
|
559
560
|
}, e.value))
|
|
560
561
|
})]
|
|
561
562
|
}),
|
|
562
|
-
|
|
563
|
+
O && /* @__PURE__ */ L("div", {
|
|
563
564
|
className: "space-y-1.5",
|
|
564
565
|
children: [
|
|
565
566
|
/* @__PURE__ */ I(w, {
|
|
@@ -569,7 +570,7 @@ function $({ fields: n, operators: r, value: i, onChange: a, labelKey: o, icon:
|
|
|
569
570
|
/* @__PURE__ */ I(h, {
|
|
570
571
|
id: "condition-filter-value",
|
|
571
572
|
value: x.value,
|
|
572
|
-
type:
|
|
573
|
+
type: k ? "number" : "text",
|
|
573
574
|
step: "any",
|
|
574
575
|
onChange: (e) => {
|
|
575
576
|
S((t) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GenericForm } from "../../../GenericForm-
|
|
1
|
+
export { t as GenericForm } from "../../../GenericForm-DrFyl2wt.js";
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-s1HOBgc6.js";
|
|
2
2
|
import { F as o } from "../../ui-Fxy95kSJ.js";
|
|
3
|
-
import { A as s, D as c, E as l, F as u, M as d, N as f, O as p, P as m, j as h, k as g } from "../../sheet-
|
|
4
|
-
import { t as _ } from "../../
|
|
5
|
-
import { t as v } from "../../
|
|
6
|
-
import {
|
|
7
|
-
import { t as D } from "../../
|
|
8
|
-
import {
|
|
9
|
-
import { t as M } from "../../
|
|
10
|
-
import { t as N } from "../../
|
|
11
|
-
import { t as P } from "../../
|
|
12
|
-
import { t as F } from "../../
|
|
13
|
-
import { t as I } from "../../
|
|
14
|
-
import {
|
|
3
|
+
import { A as s, D as c, E as l, F as u, M as d, N as f, O as p, P as m, j as h, k as g } from "../../sheet-DOU2o0gO.js";
|
|
4
|
+
import { t as _ } from "../../SearchInput-VVu1aIU4.js";
|
|
5
|
+
import { t as v } from "../../AppMarkdown-DR9Xzort.js";
|
|
6
|
+
import { t as y } from "../../changelog-m-U0JTTM.js";
|
|
7
|
+
import { a as b, c as x, i as S, n as C, o as w, r as T, s as E, t as D } from "../../charts-DH_x5yPB.js";
|
|
8
|
+
import { t as O } from "../../ErrorAlert-Cyqycy2z.js";
|
|
9
|
+
import { i as k, n as A, r as j, t as M } from "../../dialogs-BGwVb_uW.js";
|
|
10
|
+
import { t as N } from "../../ImageInput-Br8DQPTc.js";
|
|
11
|
+
import { t as P } from "../../AppActions-ooZhFY4I.js";
|
|
12
|
+
import { t as F } from "../../AppSubTitle-RDgLo82r.js";
|
|
13
|
+
import { t as I } from "../../MultiSelect-Bht0L5il.js";
|
|
14
|
+
import { t as L } from "../../GenericForm-DrFyl2wt.js";
|
|
15
|
+
import { n as R, r as z, t as B } from "../../SingleSelect-8V30LYCi.js";
|
|
15
16
|
import { ActiveFilters as V, AdvancedFilters as H, ConditionFilter as U, ConditionFilterGroup as W, FilterField as G, FilterPills as K, FilterPillsGroup as q, FiltersContainer as J, FiltersMobileDrawer as Y, TableFilter as X } from "./filters/index.js";
|
|
16
17
|
import { n as Z, t as Q } from "../../icons-n0m_1w7z.js";
|
|
17
|
-
import { n as $, t as ee } from "../../inputs-
|
|
18
|
-
import { t as te } from "../../language-
|
|
19
|
-
import { t as ne } from "../../AppTitle-
|
|
20
|
-
import { n as re, t as ie } from "../../states-
|
|
18
|
+
import { n as $, t as ee } from "../../inputs-ClkjpjY4.js";
|
|
19
|
+
import { t as te } from "../../language-Bb_6jQEn.js";
|
|
20
|
+
import { t as ne } from "../../AppTitle-HcuNVulh.js";
|
|
21
|
+
import { n as re, t as ie } from "../../states-CuRWHlch.js";
|
|
21
22
|
import { AppPageHeader as ae, KpiCardsLayout as oe } from "./layouts/index.js";
|
|
22
|
-
import { a as se, i as ce, n as le, o as ue, r as de, t as fe } from "../../navbar-
|
|
23
|
+
import { a as se, i as ce, n as le, o as ue, r as de, t as fe } from "../../navbar-CBtXvlA_.js";
|
|
23
24
|
import { DataTable as pe, JsonTableOutput as me, TableActions as he, TableBody as ge, TableBulkActions as _e, TableHeader as ve, TablePagination as ye, TableSettings as be } from "./table/index.js";
|
|
24
25
|
import { AppTabContainer as xe, AppTabHeader as Se, AppTabs as Ce, AppVerticalTabs as we } from "./tabs/index.js";
|
|
25
|
-
import { t as Te } from "../../theme-
|
|
26
|
-
export {
|
|
26
|
+
import { t as Te } from "../../theme-DsMX9lZ7.js";
|
|
27
|
+
export { M as AboutDialog, V as ActiveFilters, H as AdvancedFilters, P as AppActions, y as AppChangelog, k as AppDialog, v as AppMarkdown, ae as AppPageHeader, F as AppSubTitle, xe as AppTabContainer, Se as AppTabHeader, Ce as AppTabs, ne as AppTitle, we as AppVerticalTabs, x as BarChartHorizontal, E as BarChartVertical, b as CHART_COLORS, S as ChartCard, T as CircularGauge, U as ConditionFilter, W as ConditionFilterGroup, A as ConfirmationDialog, r as DashboardCard, pe as DataTable, z as DatePicker, R as DateRangePicker, l as Dialog, c as DialogClose, p as DialogContent, g as DialogDescription, s as DialogFooter, h as DialogHeader, d as DialogOverlay, f as DialogPortal, m as DialogTitle, u as DialogTrigger, O as ErrorAlert, re as ErrorState, $ as FileDropzone, G as FilterField, K as FilterPills, q as FilterPillsGroup, J as FiltersContainer, Y as FiltersMobileDrawer, Z as FlagFrIcon, Q as FlagGbIcon, j as FormDialog, L as GenericForm, ue as GlobalSearch, N as ImageInput, me as JsonTableOutput, e as KpiCard, t as KpiCards, oe as KpiCardsLayout, te as LanguageSelector, C as LineChart, ie as LoadingState, i as MetricCard, I as MultiSelect, se as NotificationsBell, D as PieChart, o as Progress, ee as RatingInput, _ as SearchInput, de as Sidebar, le as SidebarHeader, ce as SidebarNavItem, B as SingleSelect, n as SkeletonCard, a as SkeletonCards, he as TableActions, ge as TableBody, _e as TableBulkActions, X as TableFilter, ve as TableHeader, ye as TablePagination, be as TableSettings, Te as ThemeSelector, fe as Topbar, w as getChartColor };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../../../
|
|
2
|
-
import { t } from "../../../
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
|
|
1
|
+
import { t as e } from "../../../SearchInput-VVu1aIU4.js";
|
|
2
|
+
import { t } from "../../../ImageInput-Br8DQPTc.js";
|
|
3
|
+
import { t as n } from "../../../MultiSelect-Bht0L5il.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "../../../SingleSelect-8V30LYCi.js";
|
|
5
|
+
import { n as o, t as s } from "../../../inputs-ClkjpjY4.js";
|
|
6
|
+
export { i as DatePicker, r as DateRangePicker, o as FileDropzone, t as ImageInput, n as MultiSelect, s as RatingInput, e as SearchInput, a as SingleSelect };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as LanguageSelector } from "../../../language-
|
|
1
|
+
export { t as LanguageSelector } from "../../../language-Bb_6jQEn.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e } from "../../../i18n-
|
|
2
|
-
import { i as t, t as n } from "../../../cards-
|
|
1
|
+
import { t as e } from "../../../i18n-Cpw8DZt1.js";
|
|
2
|
+
import { i as t, t as n } from "../../../cards-s1HOBgc6.js";
|
|
3
3
|
import { c as r } from "../../../tooltip-_geGvbS7.js";
|
|
4
|
-
import { t as i } from "../../../AppActions-
|
|
5
|
-
import { t as a } from "../../../AppSubTitle-
|
|
6
|
-
import { t as o } from "../../../useDocumentTitle-
|
|
7
|
-
import { t as s } from "../../../AppTitle-
|
|
8
|
-
import { n as c } from "../../../states-
|
|
4
|
+
import { t as i } from "../../../AppActions-ooZhFY4I.js";
|
|
5
|
+
import { t as a } from "../../../AppSubTitle-RDgLo82r.js";
|
|
6
|
+
import { t as o } from "../../../useDocumentTitle-BX7aZKoT.js";
|
|
7
|
+
import { t as s } from "../../../AppTitle-HcuNVulh.js";
|
|
8
|
+
import { n as c } from "../../../states-CuRWHlch.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
11
11
|
import { ArrowLeftIcon as d } from "lucide-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AppMarkdown } from "../../../AppMarkdown-
|
|
1
|
+
export { t as AppMarkdown } from "../../../AppMarkdown-DR9Xzort.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as GlobalSearch, a as NotificationsBell, r as Sidebar, n as SidebarHeader, i as SidebarNavItem, t as Topbar } from "../../../navbar-
|
|
1
|
+
export { o as GlobalSearch, a as NotificationsBell, r as Sidebar, n as SidebarHeader, i as SidebarNavItem, t as Topbar } from "../../../navbar-CBtXvlA_.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "../../../ErrorAlert-
|
|
2
|
-
import { n as t, t as n } from "../../../states-
|
|
1
|
+
import { t as e } from "../../../ErrorAlert-Cyqycy2z.js";
|
|
2
|
+
import { n as t, t as n } from "../../../states-CuRWHlch.js";
|
|
3
3
|
export { e as ErrorAlert, t as ErrorState, n as LoadingState };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { ACTIONS_COLUMN_KEY as t, SELECTION_COLUMN_KEY as n, getAlignmentClass as r, getColumnAlignment as i, getFixedCellProps as a } from "../../../helpers/index.js";
|
|
3
|
-
import { t as o } from "../../../i18n-
|
|
3
|
+
import { t as o } from "../../../i18n-Cpw8DZt1.js";
|
|
4
4
|
import { D as s, E as c, Nt as l, O as u, S as d, Ut as f, jt as p, kt as m, vn as h, w as g, x as _ } from "../../../ui-Fxy95kSJ.js";
|
|
5
5
|
import { c as v, i as y, n as b, r as x, t as S } from "../../../tooltip-_geGvbS7.js";
|
|
6
|
-
import { h as C, m as w, p as T } from "../../../sheet-
|
|
6
|
+
import { h as C, m as w, p as T } from "../../../sheet-DOU2o0gO.js";
|
|
7
7
|
import { n as E, t as D } from "../../../switch-DspImmo_.js";
|
|
8
8
|
import { i as O, l as k, n as A, t as j, u as M } from "../../../select-KWMg2_7Z.js";
|
|
9
9
|
import { n as N, t as P } from "../../../useFixedColumns-Bo-Az3Hp.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { c as t, d as n, s as r } from "../../../chart-wW-fwL3s.js";
|
|
3
|
-
import { t as i } from "../../../i18n-
|
|
3
|
+
import { t as i } from "../../../i18n-Cpw8DZt1.js";
|
|
4
4
|
import { _ as a, g as o, h as s, m as c } from "../../../ui-Fxy95kSJ.js";
|
|
5
|
-
import { d as l } from "../../../sheet-
|
|
5
|
+
import { d as l } from "../../../sheet-DOU2o0gO.js";
|
|
6
6
|
import { i as u, l as d, n as f, t as p, u as m } from "../../../select-KWMg2_7Z.js";
|
|
7
|
-
import { t as h } from "../../../AppActions-
|
|
8
|
-
import { t as g } from "../../../AppTitle-
|
|
7
|
+
import { t as h } from "../../../AppActions-ooZhFY4I.js";
|
|
8
|
+
import { t as g } from "../../../AppTitle-HcuNVulh.js";
|
|
9
9
|
import { useEffect as _, useRef as v } from "react";
|
|
10
10
|
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
11
11
|
import { ConstructionIcon as x } from "lucide-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ThemeSelector } from "../../../theme-
|
|
1
|
+
export { t as ThemeSelector } from "../../../theme-DsMX9lZ7.js";
|
package/dist/components/index.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../chart-wW-fwL3s.js";
|
|
2
|
-
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "../cards-
|
|
2
|
+
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "../cards-s1HOBgc6.js";
|
|
3
3
|
import { $ as v, $t as y, A as b, An as x, At as S, B as C, Bn as w, Bt as T, C as E, Cn as D, Ct as O, D as k, Dn as A, Dt as j, E as M, En as N, Et as P, F, Fn as I, Ft as L, G as R, Gn as z, Gt as B, H as V, Hn as H, Ht as U, I as W, In as G, It as K, J as q, Jn as J, Jt as Y, K as X, Kn as Z, Kt as Q, L as $, Ln as ee, Lt as te, M as ne, Mn as re, Mt as ie, N as ae, Nn as oe, Nt as se, O as ce, On as le, Ot as ue, P as de, Pn as fe, Pt as pe, Q as me, Qt as he, R as ge, Rn as _e, Rt as ve, S as ye, Sn as be, St as xe, T as Se, Tn as Ce, Tt as we, U as Te, Un as Ee, Ut as De, V as Oe, Vn as ke, Vt as Ae, W as je, Wn as Me, Wt as Ne, X as Pe, Xn as Fe, Xt as Ie, Y as Le, Yn as Re, Yt as ze, Z as Be, Zt as Ve, _ as He, _n as Ue, _t as We, a as Ge, an as Ke, at as qe, b as Je, bn as Ye, bt as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as nt, en as rt, et as it, f as at, fn as ot, ft as st, g as ct, gn as lt, gt as ut, h as dt, hn as ft, ht as pt, i as mt, in as ht, it as gt, j as _t, jn as vt, jt as yt, k as bt, kn as xt, kt as St, l as Ct, ln as wt, lt as Tt, m as Et, mn as Dt, mt as Ot, n as kt, nn as At, nt as jt, o as Mt, on as Nt, ot as Pt, p as Ft, pn as It, pt as Lt, q as Rt, qn as zt, qt as Bt, r as Vt, rn as Ht, rt as Ut, s as Wt, sn as Gt, st as Kt, t as qt, tn as Jt, tt as Yt, u as Xt, un as Zt, ut as Qt, v as $t, vn as en, vt as tn, w as nn, wn as rn, wt as an, x as on, xn as sn, xt as cn, y as ln, yn as un, yt as dn, z as fn, zn as pn, zt as mn } from "../ui-Fxy95kSJ.js";
|
|
4
4
|
import { n as hn, r as gn, t as _n } from "../alert-REQGK9bR.js";
|
|
5
5
|
import { a as vn, c as yn, i as bn, l as xn, n as Sn, o as Cn, r as wn, s as Tn, t as En } from "../tooltip-_geGvbS7.js";
|
|
6
|
-
import { A as Dn, C as On, D as kn, E as An, F as jn, M as Mn, N as Nn, O as Pn, P as Fn, S as In, T as Ln, _ as Rn, a as zn, b as Bn, c as Vn, d as Hn, f as Un, g as Wn, h as Gn, i as Kn, j as qn, k as Jn, l as Yn, m as Xn, n as Zn, o as Qn, p as $n, r as er, s as tr, t as nr, u as rr, v as ir, w as ar, x as or, y as sr } from "../sheet-
|
|
6
|
+
import { A as Dn, C as On, D as kn, E as An, F as jn, M as Mn, N as Nn, O as Pn, P as Fn, S as In, T as Ln, _ as Rn, a as zn, b as Bn, c as Vn, d as Hn, f as Un, g as Wn, h as Gn, i as Kn, j as qn, k as Jn, l as Yn, m as Xn, n as Zn, o as Qn, p as $n, r as er, s as tr, t as nr, u as rr, v as ir, w as ar, x as or, y as sr } from "../sheet-DOU2o0gO.js";
|
|
7
7
|
import { n as cr, t as lr } from "../switch-DspImmo_.js";
|
|
8
8
|
import { a as ur, c as dr, i as fr, l as pr, n as mr, o as hr, r as gr, s as _r, t as vr, u as yr } from "../select-KWMg2_7Z.js";
|
|
9
9
|
import { t as br } from "../skeleton-D6Ga4BLw.js";
|
|
10
|
-
import { t as xr } from "../
|
|
11
|
-
import { t as Sr } from "../
|
|
12
|
-
import {
|
|
13
|
-
import { t as jr } from "../
|
|
14
|
-
import {
|
|
15
|
-
import { t as Ir } from "../
|
|
16
|
-
import { t as Lr } from "../
|
|
17
|
-
import { t as Rr } from "../
|
|
18
|
-
import { t as zr } from "../
|
|
19
|
-
import { t as Br } from "../
|
|
20
|
-
import {
|
|
10
|
+
import { t as xr } from "../SearchInput-VVu1aIU4.js";
|
|
11
|
+
import { t as Sr } from "../AppMarkdown-DR9Xzort.js";
|
|
12
|
+
import { t as Cr } from "../changelog-m-U0JTTM.js";
|
|
13
|
+
import { a as wr, c as Tr, i as Er, n as Dr, o as Or, r as kr, s as Ar, t as jr } from "../charts-DH_x5yPB.js";
|
|
14
|
+
import { t as Mr } from "../ErrorAlert-Cyqycy2z.js";
|
|
15
|
+
import { i as Nr, n as Pr, r as Fr, t as Ir } from "../dialogs-BGwVb_uW.js";
|
|
16
|
+
import { t as Lr } from "../ImageInput-Br8DQPTc.js";
|
|
17
|
+
import { t as Rr } from "../AppActions-ooZhFY4I.js";
|
|
18
|
+
import { t as zr } from "../AppSubTitle-RDgLo82r.js";
|
|
19
|
+
import { t as Br } from "../MultiSelect-Bht0L5il.js";
|
|
20
|
+
import { t as Vr } from "../GenericForm-DrFyl2wt.js";
|
|
21
|
+
import { n as Hr, r as Ur, t as Wr } from "../SingleSelect-8V30LYCi.js";
|
|
21
22
|
import { ActiveFilters as Gr, AdvancedFilters as Kr, ConditionFilter as qr, ConditionFilterGroup as Jr, FilterField as Yr, FilterPills as Xr, FilterPillsGroup as Zr, FiltersContainer as Qr, FiltersMobileDrawer as $r, TableFilter as ei } from "./core/filters/index.js";
|
|
22
23
|
import { n as ti, t as ni } from "../icons-n0m_1w7z.js";
|
|
23
|
-
import { n as ri, t as ii } from "../inputs-
|
|
24
|
-
import { t as ai } from "../language-
|
|
25
|
-
import { t as oi } from "../AppTitle-
|
|
26
|
-
import { n as si, t as ci } from "../states-
|
|
24
|
+
import { n as ri, t as ii } from "../inputs-ClkjpjY4.js";
|
|
25
|
+
import { t as ai } from "../language-Bb_6jQEn.js";
|
|
26
|
+
import { t as oi } from "../AppTitle-HcuNVulh.js";
|
|
27
|
+
import { n as si, t as ci } from "../states-CuRWHlch.js";
|
|
27
28
|
import { AppPageHeader as li, KpiCardsLayout as ui } from "./core/layouts/index.js";
|
|
28
|
-
import { a as di, i as fi, n as pi, o as mi, r as hi, t as gi } from "../navbar-
|
|
29
|
+
import { a as di, i as fi, n as pi, o as mi, r as hi, t as gi } from "../navbar-CBtXvlA_.js";
|
|
29
30
|
import { DataTable as _i, JsonTableOutput as vi, TableActions as yi, TableBody as bi, TableBulkActions as xi, TableHeader as Si, TablePagination as Ci, TableSettings as wi } from "./core/table/index.js";
|
|
30
31
|
import { AppTabContainer as Ti, AppTabHeader as Ei, AppTabs as Di, AppVerticalTabs as Oi } from "./core/tabs/index.js";
|
|
31
|
-
import { t as ki } from "../theme-
|
|
32
|
+
import { t as ki } from "../theme-DsMX9lZ7.js";
|
|
32
33
|
import "./core/index.js";
|
|
33
|
-
export {
|
|
34
|
+
export { Ir as AboutDialog, zt as Accordion, J as AccordionContent, Re as AccordionItem, Fe as AccordionTrigger, Gr as ActiveFilters, Kr as AdvancedFilters, _n as Alert, hn as AlertDescription, _e as AlertDialog, pn as AlertDialogAction, w as AlertDialogCancel, ke as AlertDialogContent, H as AlertDialogDescription, Ee as AlertDialogFooter, Me as AlertDialogHeader, z as AlertDialogTitle, Z as AlertDialogTrigger, gn as AlertTitle, Rr as AppActions, Cr as AppChangelog, Nr as AppDialog, Sr as AppMarkdown, li as AppPageHeader, zr as AppSubTitle, Ti as AppTabContainer, Ei as AppTabHeader, Di as AppTabs, oi as AppTitle, Oi as AppVerticalTabs, ee as AspectRatio, fe as Avatar, I as AvatarFallback, G as AvatarImage, re as Badge, Tr as BarChartHorizontal, Ar as BarChartVertical, Ce as Breadcrumb, N as BreadcrumbEllipsis, A as BreadcrumbItem, le as BreadcrumbLink, xt as BreadcrumbList, x as BreadcrumbPage, vt as BreadcrumbSeparator, yn as Button, wr as CHART_COLORS, rn as Calendar, l as Card, t as CardContent, a as CardDescription, d as CardFooter, n as CardHeader, r as CardTitle, un as Carousel, Ye as CarouselContent, sn as CarouselItem, be as CarouselNext, D as CarouselPrevious, Er as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, en as Checkbox, kr as CircularGauge, ft as Collapsible, lt as CollapsibleContent, Ue as CollapsibleTrigger, Rn as Command, ir as CommandDialog, sr as CommandEmpty, Bn as CommandGroup, or as CommandInput, In as CommandItem, On as CommandList, ar as CommandSeparator, Ln as CommandShortcut, qr as ConditionFilter, Jr as ConditionFilterGroup, Pr as ConfirmationDialog, rt as ContextMenu, Jt as ContextMenuCheckboxItem, At as ContextMenuContent, Ht as ContextMenuGroup, ht as ContextMenuItem, Ke as ContextMenuLabel, Nt as ContextMenuPortal, Gt as ContextMenuRadioGroup, Qe as ContextMenuRadioItem, wt as ContextMenuSeparator, Zt as ContextMenuShortcut, tt as ContextMenuSub, ot as ContextMenuSubContent, It as ContextMenuSubTrigger, Dt as ContextMenuTrigger, h as DashboardCard, _i as DataTable, Ur as DatePicker, Hr as DateRangePicker, An as Dialog, kn as DialogClose, Pn as DialogContent, Jn as DialogDescription, Dn as DialogFooter, qn as DialogHeader, Mn as DialogOverlay, Nn as DialogPortal, Fn as DialogTitle, jn as DialogTrigger, Ne as Drawer, B as DrawerClose, Q as DrawerContent, Bt as DrawerDescription, Y as DrawerFooter, ze as DrawerHeader, Ie as DrawerOverlay, Ve as DrawerPortal, he as DrawerTitle, y as DrawerTrigger, St as DropdownMenu, S as DropdownMenuCheckboxItem, yt as DropdownMenuContent, ie as DropdownMenuGroup, se as DropdownMenuItem, pe as DropdownMenuLabel, L as DropdownMenuPortal, K as DropdownMenuRadioGroup, te as DropdownMenuRadioItem, ve as DropdownMenuSeparator, mn as DropdownMenuShortcut, T as DropdownMenuSub, Ae as DropdownMenuSubContent, U as DropdownMenuSubTrigger, De as DropdownMenuTrigger, Mr as ErrorAlert, si as ErrorState, ri as FileDropzone, Yr as FilterField, Xr as FilterPills, Zr as FilterPillsGroup, Qr as FiltersContainer, $r as FiltersMobileDrawer, ti as FlagFrIcon, ni as FlagGbIcon, cn as Form, xe as FormControl, O as FormDescription, Fr as FormDialog, an as FormField, we as FormItem, P as FormLabel, j as FormMessage, Vr as GenericForm, mi as GlobalSearch, tn as HoverCard, dn as HoverCardContent, Xe as HoverCardTrigger, Lr as ImageInput, Wn as Input, Ot as InputOTP, pt as InputOTPGroup, ut as InputOTPSeparator, We as InputOTPSlot, vi as JsonTableOutput, f as KpiCard, p as KpiCards, ui as KpiCardsLayout, cr as Label, ai as LanguageSelector, Dr as LineChart, ci as LoadingState, me as Menubar, v as MenubarCheckboxItem, it as MenubarContent, Yt as MenubarGroup, jt as MenubarItem, Ut as MenubarLabel, gt as MenubarMenu, qe as MenubarPortal, Pt as MenubarRadioGroup, Kt as MenubarRadioItem, $e as MenubarSeparator, Tt as MenubarShortcut, Qt as MenubarSub, nt as MenubarSubContent, st as MenubarSubTrigger, Lt as MenubarTrigger, g as MetricCard, Br as MultiSelect, Te as NavigationMenu, je as NavigationMenuContent, R as NavigationMenuIndicator, X as NavigationMenuItem, Rt as NavigationMenuLink, q as NavigationMenuList, Le as NavigationMenuTrigger, Pe as NavigationMenuViewport, di as NotificationsBell, W as Pagination, $ as PaginationContent, ge as PaginationEllipsis, fn as PaginationItem, C as PaginationLink, Oe as PaginationNext, V as PaginationPrevious, jr as PieChart, $n as Popover, Xn as PopoverContent, Gn as PopoverTrigger, F as Progress, ae as RadioGroup, de as RadioGroupItem, ii as RatingInput, b as ResizableHandle, _t as ResizablePanel, ne as ResizablePanelGroup, Hn as ScrollArea, Un as ScrollBar, xr as SearchInput, vr as Select, mr as SelectContent, gr as SelectGroup, fr as SelectItem, ur as SelectLabel, hr as SelectScrollDownButton, _r as SelectScrollUpButton, dr as SelectSeparator, pr as SelectTrigger, yr as SelectValue, bt as Separator, nr as Sheet, Zn as SheetClose, er as SheetContent, Kn as SheetDescription, zn as SheetFooter, Qn as SheetHeader, tr as SheetOverlay, Vn as SheetPortal, Yn as SheetTitle, rr as SheetTrigger, hi as Sidebar, pi as SidebarHeader, fi as SidebarNavItem, on as SimpleTable, ye as SimpleTableBody, E as SimpleTableCaption, nn as SimpleTableCell, Se as SimpleTableFooter, M as SimpleTableHead, k as SimpleTableHeader, ce as SimpleTableRow, Wr as SingleSelect, br as Skeleton, m as SkeletonCard, _ as SkeletonCards, Je as Slider, $t as Sonner, lr as Switch, yi as TableActions, bi as TableBody, xi as TableBulkActions, ei as TableFilter, Si as TableHeader, Ci as TablePagination, wi as TableSettings, Et as Tabs, dt as TabsContent, ct as TabsList, He as TabsTrigger, Ft as Textarea, ki as ThemeSelector, Mt as Toast, Wt as ToastAction, Ze as ToastClose, Ct as ToastDescription, Xt as ToastProvider, et as ToastTitle, at as ToastViewport, Ge as Toaster, Vt as Toggle, qt as ToggleGroup, kt as ToggleGroupItem, En as Tooltip, Sn as TooltipContent, wn as TooltipProvider, bn as TooltipTrigger, gi as Topbar, oe as badgeVariants, xn as buttonVariants, vn as controlBaseClass, Cn as controlFilterWidthClass, Tn as controlTriggerClass, Or as getChartColor, Be as navigationMenuTriggerStyle, ln as toast, mt as toggleVariants, ue as useFormField };
|
|
@@ -2,7 +2,7 @@ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as
|
|
|
2
2
|
import { $ as f, $t as p, A as m, An as h, At as g, B as _, Bn as v, Bt as y, C as b, Cn as x, Ct as S, D as C, Dn as w, Dt as T, E, En as D, Et as O, F as k, Fn as A, Ft as j, G as M, Gn as N, Gt as P, H as F, Hn as I, Ht as L, I as R, In as z, It as B, J as V, Jn as H, Jt as U, K as W, Kn as G, Kt as K, L as q, Ln as J, Lt as Y, M as X, Mn as Z, Mt as Q, N as $, Nn as ee, Nt as te, O as ne, On as re, Ot as ie, P as ae, Pn as oe, Pt as se, Q as ce, Qt as le, R as ue, Rn as de, Rt as fe, S as pe, Sn as me, St as he, T as ge, Tn as _e, Tt as ve, U as ye, Un as be, Ut as xe, V as Se, Vn as Ce, Vt as we, W as Te, Wn as Ee, Wt as De, X as Oe, Xn as ke, Xt as Ae, Y as je, Yn as Me, Yt as Ne, Z as Pe, Zt as Fe, _ as Ie, _n as Le, _t as Re, a as ze, an as Be, at as Ve, b as He, bn as Ue, bt as We, c as Ge, cn as Ke, ct as qe, d as Je, dn as Ye, dt as Xe, en as Ze, et as Qe, f as $e, fn as et, ft as tt, g as nt, gn as rt, gt as it, h as at, hn as ot, ht as st, i as ct, in as lt, it as ut, j as dt, jn as ft, jt as pt, k as mt, kn as ht, kt as gt, l as _t, ln as vt, lt as yt, m as bt, mn as xt, mt as St, n as Ct, nn as wt, nt as Tt, o as Et, on as Dt, ot as Ot, p as kt, pn as At, pt as jt, q as Mt, qn as Nt, qt as Pt, r as Ft, rn as It, rt as Lt, s as Rt, sn as zt, st as Bt, t as Vt, tn as Ht, tt as Ut, u as Wt, un as Gt, ut as Kt, v as qt, vn as Jt, vt as Yt, w as Xt, wn as Zt, wt as Qt, x as $t, xn as en, xt as tn, y as nn, yn as rn, yt as an, z as on, zn as sn, zt as cn } from "../../ui-Fxy95kSJ.js";
|
|
3
3
|
import { n as ln, r as un, t as dn } from "../../alert-REQGK9bR.js";
|
|
4
4
|
import { a as fn, c as pn, i as mn, l as hn, n as gn, o as _n, r as vn, s as yn, t as bn } from "../../tooltip-_geGvbS7.js";
|
|
5
|
-
import { A as xn, C as Sn, D as Cn, E as wn, F as Tn, M as En, N as Dn, O as On, P as kn, S as An, T as jn, _ as Mn, a as Nn, b as Pn, c as Fn, d as In, f as Ln, g as Rn, h as zn, i as Bn, j as Vn, k as Hn, l as Un, m as Wn, n as Gn, o as Kn, p as qn, r as Jn, s as Yn, t as Xn, u as Zn, v as Qn, w as $n, x as er, y as tr } from "../../sheet-
|
|
5
|
+
import { A as xn, C as Sn, D as Cn, E as wn, F as Tn, M as En, N as Dn, O as On, P as kn, S as An, T as jn, _ as Mn, a as Nn, b as Pn, c as Fn, d as In, f as Ln, g as Rn, h as zn, i as Bn, j as Vn, k as Hn, l as Un, m as Wn, n as Gn, o as Kn, p as qn, r as Jn, s as Yn, t as Xn, u as Zn, v as Qn, w as $n, x as er, y as tr } from "../../sheet-DOU2o0gO.js";
|
|
6
6
|
import { n as nr, t as rr } from "../../switch-DspImmo_.js";
|
|
7
7
|
import { a as ir, c as ar, i as or, l as sr, n as cr, o as lr, r as ur, s as dr, t as fr, u as pr } from "../../select-KWMg2_7Z.js";
|
|
8
8
|
import { t as mr } from "../../skeleton-D6Ga4BLw.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { r as t, t as n } from "./i18n-
|
|
2
|
+
import { r as t, t as n } from "./i18n-Cpw8DZt1.js";
|
|
3
3
|
import { Bn as r, F as i, Gn as a, Hn as o, Rn as s, Un as c, Vn as l, Wn as u } from "./ui-Fxy95kSJ.js";
|
|
4
4
|
import { c as d } from "./tooltip-_geGvbS7.js";
|
|
5
|
-
import { E as f, O as p, P as m, j as h, k as g } from "./sheet-
|
|
6
|
-
import { t as _ } from "./ErrorAlert-
|
|
7
|
-
import { t as v } from "./GenericForm-
|
|
5
|
+
import { E as f, O as p, P as m, j as h, k as g } from "./sheet-DOU2o0gO.js";
|
|
6
|
+
import { t as _ } from "./ErrorAlert-Cyqycy2z.js";
|
|
7
|
+
import { t as v } from "./GenericForm-DrFyl2wt.js";
|
|
8
8
|
import { useEffect as y, useId as b, useState as x } from "react";
|
|
9
9
|
import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
10
10
|
import { Pen as T, Save as E, X as D } from "lucide-react";
|
|
@@ -6,4 +6,9 @@ export declare const slugifyChangelogTitle: (title: string) => string;
|
|
|
6
6
|
* dans l'ordre du fichier. Le texte placé avant le premier `##` est ignoré.
|
|
7
7
|
*/
|
|
8
8
|
export declare const parseChangelog: (markdown: string) => ChangelogEntry[];
|
|
9
|
+
/**
|
|
10
|
+
* Filtre les entrées dont le titre ou le contenu contient tous les mots de la recherche,
|
|
11
|
+
* sans tenir compte de la casse ni des accents. Une recherche vide renvoie toutes les entrées.
|
|
12
|
+
*/
|
|
13
|
+
export declare const filterChangelog: (entries: ChangelogEntry[], query: string) => ChangelogEntry[];
|
|
9
14
|
//# sourceMappingURL=changelog.helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog.helper.d.ts","sourceRoot":"","sources":["../../src/helpers/changelog.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK7D,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,KAAG,MAK9B,CAAC;AAazB;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,KAAG,cAAc,EAiC/D,CAAC"}
|
|
1
|
+
{"version":3,"file":"changelog.helper.d.ts","sourceRoot":"","sources":["../../src/helpers/changelog.helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAK7D,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,KAAG,MAK9B,CAAC;AAazB;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,KAAG,cAAc,EAiC/D,CAAC;AAKF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,cAAc,EAAE,EAAE,OAAO,MAAM,KAAG,cAAc,EASxF,CAAC"}
|