@krosoft/react 0.0.220 → 0.0.221
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-BFmagl91.js → AppActions-BSJrimRT.js} +1 -1
- package/dist/{AppSubTitle-BMQMoehZ.js → AppSubTitle-Equl_f9z.js} +1 -1
- package/dist/{AppVerticalTabs-0DrrDO3S.js → AppVerticalTabs-BFq6RKPC.js} +2 -2
- package/dist/{ConfirmationDialog-CFsh-Eui.js → ConfirmationDialog-DN6GePo-.js} +4 -4
- package/dist/{DataTable-Cpbp6yse.js → DataTable-NyRTdROD.js} +2 -2
- package/dist/{ErrorAlert-D_203tKa.js → ErrorAlert-BKC2JjNf.js} +1 -1
- package/dist/{ErrorState-DfJ009uc.js → ErrorState-C8pd098n.js} +1 -1
- package/dist/{GenericForm-q9dvYl_h.js → GenericForm-BKePZqqI.js} +5 -5
- package/dist/{ImageInput-BYXz8wM1.js → ImageInput-BkmK7odp.js} +2 -2
- package/dist/{KpiCardsLayout-B-lMaUMA.js → KpiCardsLayout-D44vxMHX.js} +4 -4
- package/dist/{MultiSelect-Dkz1dgXo.js → MultiSelect-D0WF96y6.js} +2 -2
- package/dist/{PieChart-bDy_V9Xt.js → PieChart-DvJ9D4dB.js} +1 -1
- package/dist/{SearchInput-CJ2YZpmB.js → SearchInput-pnwtB4jO.js} +2 -2
- package/dist/{SkeletonCards-Bg2ygjwy.js → SkeletonCards-DhsZyG9k.js} +1 -1
- package/dist/{TableFilter-u6F06nMx.js → TableFilter-DXPRe6iE.js} +4 -4
- package/dist/{ThemeSelector-BRpEgvX8.js → ThemeSelector-sn3tI4F7.js} +2 -2
- package/dist/{Topbar-bIyAunNd.js → Topbar-BkP4V9zD.js} +2 -2
- package/dist/components/core/cards/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 +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +18 -18
- 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/states/index.js +2 -2
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/core/theme/index.js +1 -1
- package/dist/components/index.js +18 -18
- package/dist/components/ui/index.js +1 -1
- package/dist/hooks/behavior/index.js +1 -1
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/ui/index.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/useKrosoftTranslation.d.ts.map +1 -1
- package/dist/{sheet-CDqLa-FP.js → sheet-C_39QrG0.js} +1 -1
- package/dist/{useKrosoftTranslation-DdcylBY2.js → useKrosoftTranslation-C6AC_uCA.js} +22 -22
- package/dist/{usePage-Bhb81ffo.js → usePage-C5RL0-WN.js} +1 -1
- package/dist/{useTheme-Cmw14Zxi.js → useTheme-CJVjqtt2.js} +1 -1
- 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-C_39QrG0.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-BSJrimRT.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 a } from "react/jsx-runtime";
|
|
2
2
|
import { C as w, d as S, a as T } from "./chart-DntJZGxB.js";
|
|
3
|
-
import { A as b } from "./AppActions-
|
|
3
|
+
import { A as b } from "./AppActions-BSJrimRT.js";
|
|
4
4
|
import { A as C } 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 K, useEffect as V } from "react";
|
|
@@ -9,7 +9,7 @@ import { useSearchParams as y } from "react-router-dom";
|
|
|
9
9
|
import { c as R } from "./tailwind.helper-B6yFEsav.js";
|
|
10
10
|
import { S as q, h as I, i as L, a as H, c as U } from "./select-BpjFWqAY.js";
|
|
11
11
|
import { ConstructionIcon as v } from "lucide-react";
|
|
12
|
-
import { u as D } from "./useKrosoftTranslation-
|
|
12
|
+
import { u as D } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
13
13
|
function E({ titleKey: s, descriptionKey: t, actions: c = [], className: l }) {
|
|
14
14
|
return /* @__PURE__ */ r("div", { className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
15
15
|
/* @__PURE__ */ a(C, { titleKey: s, descriptionKey: t, isSubTitle: !0 }),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as M } from "react/jsx-runtime";
|
|
2
|
-
import { u as R } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as R } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import { P as W, d as X, g as $, j, k as q, h as T, i as J, f as Q } from "./toggle-group-DLLrEwv2.js";
|
|
4
4
|
import { A as U, a as V } from "./alert-B9F1N9Qk.js";
|
|
5
5
|
import "@radix-ui/react-aspect-ratio";
|
|
6
6
|
import { B as v } from "./tooltip-DVeqVwqV.js";
|
|
7
7
|
import "./chart-DntJZGxB.js";
|
|
8
8
|
import "@radix-ui/react-collapsible";
|
|
9
|
-
import { D as Y, b as Z, e as _, h as L, c as ee } from "./sheet-
|
|
9
|
+
import { D as Y, b as Z, e as _, h as L, c as ee } from "./sheet-C_39QrG0.js";
|
|
10
10
|
import { AlertCircleIcon as le, X as S, Save as I, Pen as K } from "lucide-react";
|
|
11
11
|
import "react-resizable-panels";
|
|
12
12
|
import "clsx";
|
|
@@ -16,8 +16,8 @@ import "next-themes";
|
|
|
16
16
|
import "sonner";
|
|
17
17
|
import { useState as A, useEffect as ie } from "react";
|
|
18
18
|
import { useTranslation as O } from "react-i18next";
|
|
19
|
-
import { G as re } from "./GenericForm-
|
|
20
|
-
import { E as se } from "./ErrorAlert-
|
|
19
|
+
import { G as re } from "./GenericForm-BKePZqqI.js";
|
|
20
|
+
import { E as se } from "./ErrorAlert-BKC2JjNf.js";
|
|
21
21
|
function te({ open: t, onOpenChange: d, config: l, isLoading: u, error: s, children: p }) {
|
|
22
22
|
const { t: i } = O(), { title: b, description: c, icon: f, maxWidth: g = "sm:max-w-xl", actions: n } = l;
|
|
23
23
|
return /* @__PURE__ */ e(Y, { open: t, onOpenChange: d, children: /* @__PURE__ */ r(Z, { className: `${g} max-h-[100dvh] sm:max-h-[90vh] border-0 shadow-2xl p-0 flex flex-col overflow-hidden`, children: [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
2
2
|
import { u as de } from "./useDataTable-CxcA5S-s.js";
|
|
3
|
-
import { u as B } from "./useKrosoftTranslation-
|
|
3
|
+
import { u as B } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
4
4
|
import { a3 as L, ah as V, a5 as O, a7 as ce, E as H, a4 as oe } from "./toggle-group-DLLrEwv2.js";
|
|
5
5
|
import "./alert-B9F1N9Qk.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
7
|
import { B as b } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import "./chart-DntJZGxB.js";
|
|
9
9
|
import "@radix-ui/react-collapsible";
|
|
10
|
-
import "./sheet-
|
|
10
|
+
import "./sheet-C_39QrG0.js";
|
|
11
11
|
import { MoreVerticalIcon as he, Loader2Icon as me, AlertTriangleIcon as ge, GripVerticalIcon as ue, ArrowUpIcon as fe, ArrowDownIcon as pe, ArrowUpDownIcon as xe, ChevronLeftIcon as ve, ChevronRightIcon as ye, SettingsIcon as be } from "lucide-react";
|
|
12
12
|
import "react-resizable-panels";
|
|
13
13
|
import "clsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as a } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as a } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import { A as n, a as c } from "./alert-B9F1N9Qk.js";
|
|
4
4
|
import { AlertTriangle as o } from "lucide-react";
|
|
5
5
|
const h = ({ error: s }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { u as o } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as o } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
const d = ({ message: r }) => {
|
|
4
4
|
const { t: e } = o();
|
|
5
5
|
return /* @__PURE__ */ s("div", { className: "p-6 border border-destructive bg-destructive/10 text-destructive rounded-surface animate-fade-in", children: [
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { u as q } from "./useKrosoftTranslation-
|
|
3
|
-
import { I as D } from "./ImageInput-
|
|
4
|
-
import { A as V } from "./AppSubTitle-
|
|
5
|
-
import { M as J } from "./MultiSelect-
|
|
2
|
+
import { u as q } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
|
+
import { I as D } from "./ImageInput-BkmK7odp.js";
|
|
4
|
+
import { A as V } from "./AppSubTitle-Equl_f9z.js";
|
|
5
|
+
import { M as J } from "./MultiSelect-D0WF96y6.js";
|
|
6
6
|
import { ai as L, al as Q, am as X, an as Y, aj as j, ao as $, bm as F, E as ee } from "./toggle-group-DLLrEwv2.js";
|
|
7
7
|
import "./alert-B9F1N9Qk.js";
|
|
8
8
|
import "@radix-ui/react-aspect-ratio";
|
|
9
9
|
import { B as P } from "./tooltip-DVeqVwqV.js";
|
|
10
10
|
import { C as te, d as ae, a as re } from "./chart-DntJZGxB.js";
|
|
11
11
|
import "@radix-ui/react-collapsible";
|
|
12
|
-
import { I as C } from "./sheet-
|
|
12
|
+
import { I as C } from "./sheet-C_39QrG0.js";
|
|
13
13
|
import "lucide-react";
|
|
14
14
|
import "react-resizable-panels";
|
|
15
15
|
import { c as i } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as x } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as x } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import "./toggle-group-DLLrEwv2.js";
|
|
4
4
|
import "./alert-B9F1N9Qk.js";
|
|
5
5
|
import "@radix-ui/react-aspect-ratio";
|
|
6
6
|
import { B as N } from "./tooltip-DVeqVwqV.js";
|
|
7
7
|
import "./chart-DntJZGxB.js";
|
|
8
8
|
import "@radix-ui/react-collapsible";
|
|
9
|
-
import "./sheet-
|
|
9
|
+
import "./sheet-C_39QrG0.js";
|
|
10
10
|
import { XIcon as w, ImageIcon as y, UploadIcon as I } from "lucide-react";
|
|
11
11
|
import "react-resizable-panels";
|
|
12
12
|
import { c as p } 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-C_39QrG0.js";
|
|
9
9
|
import { ArrowLeftIcon as l } from "lucide-react";
|
|
10
10
|
import "react-resizable-panels";
|
|
11
11
|
import "clsx";
|
|
@@ -14,13 +14,13 @@ 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-BSJrimRT.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-
|
|
23
|
-
import { E as A } from "./ErrorState-
|
|
22
|
+
import { b as h, a as x } from "./SkeletonCards-DhsZyG9k.js";
|
|
23
|
+
import { E as A } from "./ErrorState-C8pd098n.js";
|
|
24
24
|
function O({
|
|
25
25
|
icon: t,
|
|
26
26
|
titleKey: e,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { u as O } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as O } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import { useState as L, useRef as T, useMemo as x, useEffect as z } from "react";
|
|
4
4
|
import { E as I } from "./toggle-group-DLLrEwv2.js";
|
|
5
5
|
import "./alert-B9F1N9Qk.js";
|
|
@@ -7,7 +7,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
7
7
|
import { f as P } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import "./chart-DntJZGxB.js";
|
|
9
9
|
import "@radix-ui/react-collapsible";
|
|
10
|
-
import "./sheet-
|
|
10
|
+
import "./sheet-C_39QrG0.js";
|
|
11
11
|
import { XIcon as q, ChevronDownIcon as S, SearchIcon as F } from "lucide-react";
|
|
12
12
|
import "react-resizable-panels";
|
|
13
13
|
import { c as R } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -3,7 +3,7 @@ import { f as N, j as x, k as y, C as R, d as A, e as V, b as P, a as S, g as B,
|
|
|
3
3
|
import { c as C } from "./tailwind.helper-B6yFEsav.js";
|
|
4
4
|
import * as p from "react";
|
|
5
5
|
import { BarChart as b, CartesianGrid as M, XAxis as w, YAxis as D, Bar as j, LineChart as O, Line as _, PieChart as $, Pie as E } from "recharts";
|
|
6
|
-
import { u as I } from "./useKrosoftTranslation-
|
|
6
|
+
import { u as I } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
7
7
|
import { S as G } from "./skeleton-BX4RcsiK.js";
|
|
8
8
|
import { u as z } from "./useMobile-DN1_OMDB.js";
|
|
9
9
|
const L = (t, r) => t ? (n, s) => /* @__PURE__ */ m("div", { className: "flex flex-1 justify-between gap-4", children: [
|
|
@@ -7,7 +7,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
7
7
|
import { B as v, f as H } from "./tooltip-DVeqVwqV.js";
|
|
8
8
|
import "./chart-DntJZGxB.js";
|
|
9
9
|
import "@radix-ui/react-collapsible";
|
|
10
|
-
import { C as J, m as Q, o as U, k as W, l as Y, n as T, I as Z } from "./sheet-
|
|
10
|
+
import { C as J, m as Q, o as U, k as W, l as Y, n as T, I as Z } from "./sheet-C_39QrG0.js";
|
|
11
11
|
import { CalendarIcon as A, XIcon as I, ChevronDownIcon as ee, CheckIcon as te, PlusIcon as re, SearchIcon as ae } from "lucide-react";
|
|
12
12
|
import "react-resizable-panels";
|
|
13
13
|
import { c as g } from "./tailwind.helper-B6yFEsav.js";
|
|
@@ -16,7 +16,7 @@ import "next-themes";
|
|
|
16
16
|
import "sonner";
|
|
17
17
|
import { format as x } from "date-fns";
|
|
18
18
|
import { fr as k } from "date-fns/locale";
|
|
19
|
-
import { u as P } from "./useKrosoftTranslation-
|
|
19
|
+
import { u as P } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
20
20
|
const ke = ({ date: r, onDateChange: n, placeholder: p }) => {
|
|
21
21
|
const [c, s] = S(!1), i = G(null);
|
|
22
22
|
X(() => {
|
|
@@ -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-C_39QrG0.js";
|
|
12
12
|
import "lucide-react";
|
|
13
13
|
import "react-resizable-panels";
|
|
14
14
|
import "./select-BpjFWqAY.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { u as w } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as w } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import { useState as C, useEffect as O, useMemo as S } from "react";
|
|
4
|
-
import { a as z, D as I, b as $, S as B } from "./SearchInput-
|
|
4
|
+
import { a as z, D as I, b as $, S as B } from "./SearchInput-pnwtB4jO.js";
|
|
5
5
|
import { getLocale as Q } from "@krosoft/core/helpers";
|
|
6
6
|
import { B as E, aw as V, b0 as _, b2 as R, b1 as H, E as P } from "./toggle-group-DLLrEwv2.js";
|
|
7
7
|
import "./alert-B9F1N9Qk.js";
|
|
@@ -9,7 +9,7 @@ import "@radix-ui/react-aspect-ratio";
|
|
|
9
9
|
import { B as F, e as K } from "./tooltip-DVeqVwqV.js";
|
|
10
10
|
import "./chart-DntJZGxB.js";
|
|
11
11
|
import "@radix-ui/react-collapsible";
|
|
12
|
-
import { I as L, S as X, z as G, s as J, v as U, y as W, u as Y } from "./sheet-
|
|
12
|
+
import { I as L, S as X, z as G, s as J, v as U, y as W, u as Y } from "./sheet-C_39QrG0.js";
|
|
13
13
|
import { XIcon as T, Filter as Z, ChevronDown as q, Search as ee } from "lucide-react";
|
|
14
14
|
import "react-resizable-panels";
|
|
15
15
|
import "clsx";
|
|
@@ -18,7 +18,7 @@ import { S as re, h as te, i as le, a as ae, c as se } from "./select-BpjFWqAY.j
|
|
|
18
18
|
import "next-themes";
|
|
19
19
|
import "sonner";
|
|
20
20
|
import { c as j } from "./tailwind.helper-B6yFEsav.js";
|
|
21
|
-
import { M as ne } from "./MultiSelect-
|
|
21
|
+
import { M as ne } from "./MultiSelect-D0WF96y6.js";
|
|
22
22
|
const D = (a, n, c, i = {}) => {
|
|
23
23
|
if (n instanceof Date)
|
|
24
24
|
return n.toLocaleDateString(Q());
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { u as h } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as h } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import { b as u, T as g, c as f, B as v, a as b } from "./tooltip-DVeqVwqV.js";
|
|
4
4
|
import { S as N, h as T, i as x, a as C, c as S } from "./select-BpjFWqAY.js";
|
|
5
|
-
import { u as p } from "./useTheme-
|
|
5
|
+
import { u as p } from "./useTheme-CJVjqtt2.js";
|
|
6
6
|
function P({ themeOptions: c, variant: t = "select" }) {
|
|
7
7
|
const { t: o } = h(), { theme: i, handleThemeChange: n, currentThemeOption: e, nextThemeOption: r, cycleTheme: d } = p(c);
|
|
8
8
|
if (t === "mini") {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as $, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as G } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as G } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import * as A from "react";
|
|
4
4
|
import { SearchIcon as W, LoaderCircleIcon as F, ChevronDownIcon as M, MenuIcon as Q } from "lucide-react";
|
|
5
5
|
import { c as o } from "./tailwind.helper-B6yFEsav.js";
|
|
6
6
|
import { B as R, T as q, c as H, a as U, b as V } from "./tooltip-DVeqVwqV.js";
|
|
7
|
-
import { j as _, m as J, o as X, k as Y, l as Z, n as P, I, S as ee, s as re, y as ae, t as te } from "./sheet-
|
|
7
|
+
import { j as _, m as J, o as X, k as Y, l as Z, n as P, I, S as ee, s as re, y as ae, t as te } from "./sheet-C_39QrG0.js";
|
|
8
8
|
import "./sidebar.context-D5nywlmP.js";
|
|
9
9
|
import { u as B } from "./useSidebar-BJuALHqQ.js";
|
|
10
10
|
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-DhsZyG9k.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DashboardCard,
|
|
5
5
|
o as KpiCard,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as C, a as t, C as s, b as e, c as h, L as o, P as i, g as l } from "../../../PieChart-
|
|
1
|
+
import { B as C, a as t, C as s, b as e, c as h, L as o, P as i, g as l } from "../../../PieChart-DvJ9D4dB.js";
|
|
2
2
|
export {
|
|
3
3
|
C as BarChartHorizontal,
|
|
4
4
|
t as BarChartVertical,
|
|
@@ -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-DN6GePo-.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-C_39QrG0.js";
|
|
3
3
|
import { P } from "../../../toggle-group-DLLrEwv2.js";
|
|
4
4
|
export {
|
|
5
5
|
i as AppDialog,
|
|
@@ -1,25 +1,25 @@
|
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
+
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-DhsZyG9k.js";
|
|
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-DvJ9D4dB.js";
|
|
4
|
+
import { A as x, C as D, F as S } from "../../ConfirmationDialog-DN6GePo-.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-C_39QrG0.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-DXPRe6iE.js";
|
|
8
|
+
import { G as _ } from "../../GenericForm-BKePZqqI.js";
|
|
9
|
+
import { I as q } from "../../ImageInput-BkmK7odp.js";
|
|
10
|
+
import { D as J, a as Q, S as U, b as W } from "../../SearchInput-pnwtB4jO.js";
|
|
11
|
+
import { M as Y } from "../../MultiSelect-D0WF96y6.js";
|
|
12
|
+
import { A as $ } from "../../AppActions-BSJrimRT.js";
|
|
13
|
+
import { A as ra, K as ea } from "../../KpiCardsLayout-D44vxMHX.js";
|
|
14
|
+
import { A as sa } from "../../AppSubTitle-Equl_f9z.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-
|
|
17
|
-
import { E as fa } from "../../ErrorAlert-
|
|
18
|
-
import { E as na } from "../../ErrorState-
|
|
16
|
+
import { G as pa, S as ba, a as ma, b as ga, T as ca } from "../../Topbar-BkP4V9zD.js";
|
|
17
|
+
import { E as fa } from "../../ErrorAlert-BKC2JjNf.js";
|
|
18
|
+
import { E as na } from "../../ErrorState-C8pd098n.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-
|
|
22
|
-
import { T as va } from "../../ThemeSelector-
|
|
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-NyRTdROD.js";
|
|
21
|
+
import { A as ka, a as Ba, b as Ga, c as Ia } from "../../AppVerticalTabs-BFq6RKPC.js";
|
|
22
|
+
import { T as va } from "../../ThemeSelector-sn3tI4F7.js";
|
|
23
23
|
export {
|
|
24
24
|
y as ActiveFilters,
|
|
25
25
|
O as AdvancedFilters,
|
|
@@ -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-BkmK7odp.js";
|
|
2
|
+
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-pnwtB4jO.js";
|
|
3
|
+
import { M as l } from "../../../MultiSelect-D0WF96y6.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-BSJrimRT.js";
|
|
2
|
+
import { A as e, K as A } from "../../../KpiCardsLayout-D44vxMHX.js";
|
|
3
|
+
import { A as s } from "../../../AppSubTitle-Equl_f9z.js";
|
|
4
4
|
import { A as i } from "../../../AppTitle-D15YXeMx.js";
|
|
5
5
|
export {
|
|
6
6
|
r as AppActions,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as t } from "../../../ErrorAlert-
|
|
2
|
-
import { E as e } from "../../../ErrorState-
|
|
1
|
+
import { E as t } from "../../../ErrorAlert-BKC2JjNf.js";
|
|
2
|
+
import { E as e } from "../../../ErrorState-C8pd098n.js";
|
|
3
3
|
import { L as f } from "../../../LoadingState-BN0YaPSs.js";
|
|
4
4
|
export {
|
|
5
5
|
t as ErrorAlert,
|
package/dist/components/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
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-
|
|
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-
|
|
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-
|
|
2
|
+
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-DhsZyG9k.js";
|
|
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-DvJ9D4dB.js";
|
|
4
|
+
import { A as D, C as M, F as x } from "../ConfirmationDialog-DN6GePo-.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-C_39QrG0.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-DXPRe6iE.js";
|
|
8
|
+
import { G as ao } from "../GenericForm-BKePZqqI.js";
|
|
9
|
+
import { I as ro } from "../ImageInput-BkmK7odp.js";
|
|
10
|
+
import { D as so, a as to, S as no, b as io } from "../SearchInput-pnwtB4jO.js";
|
|
11
|
+
import { M as bo } from "../MultiSelect-D0WF96y6.js";
|
|
12
|
+
import { A as uo } from "../AppActions-BSJrimRT.js";
|
|
13
|
+
import { A as go, K as mo } from "../KpiCardsLayout-D44vxMHX.js";
|
|
14
|
+
import { A as To } from "../AppSubTitle-Equl_f9z.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-
|
|
17
|
-
import { E as wo } from "../ErrorAlert-
|
|
18
|
-
import { E as Fo } from "../ErrorState-
|
|
16
|
+
import { G as xo, S as Ao, a as ho, b as fo, T as Po } from "../Topbar-BkP4V9zD.js";
|
|
17
|
+
import { E as wo } from "../ErrorAlert-BKC2JjNf.js";
|
|
18
|
+
import { E as Fo } from "../ErrorState-C8pd098n.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-
|
|
22
|
-
import { T as _o } from "../ThemeSelector-
|
|
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-NyRTdROD.js";
|
|
21
|
+
import { A as zo, a as Ko, b as jo, c as qo } from "../AppVerticalTabs-BFq6RKPC.js";
|
|
22
|
+
import { T as _o } from "../ThemeSelector-sn3tI4F7.js";
|
|
23
23
|
import { A as Qo, a as Wo, b as Xo } from "../alert-B9F1N9Qk.js";
|
|
24
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-B1J0puB_.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";
|
|
@@ -3,7 +3,7 @@ import { A as Ye, a as Ze, b as _e } from "../../alert-B9F1N9Qk.js";
|
|
|
3
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-B1J0puB_.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-C_39QrG0.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";
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as s, a, b as u, c as r, d as t } from "../usePage-
|
|
1
|
+
import { u as s, a, b as u, c as r, d as t } from "../usePage-C5RL0-WN.js";
|
|
2
2
|
import { u as f } from "../useSidebar-BJuALHqQ.js";
|
|
3
3
|
import { u as l } from "../useDataTable-CxcA5S-s.js";
|
|
4
4
|
import { u as x } from "../useDocumentTitle-WNwdPz-I.js";
|
|
@@ -6,7 +6,7 @@ import { u as b } from "../useMobile-DN1_OMDB.js";
|
|
|
6
6
|
import { u as c } from "../useNotifications-zbUhCvF_.js";
|
|
7
7
|
import { u as d } from "../useScrollFade-BA4KqJYp.js";
|
|
8
8
|
import { u as S } from "../useServerTable-UvTY6L1N.js";
|
|
9
|
-
import { u as h } from "../useTheme-
|
|
9
|
+
import { u as h } from "../useTheme-CJVjqtt2.js";
|
|
10
10
|
import { t as F, u as M } from "../useToast-BFTk4lWz.js";
|
|
11
11
|
export {
|
|
12
12
|
F as toast,
|
package/dist/hooks/ui/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { u } from "../../useMobile-DN1_OMDB.js";
|
|
|
4
4
|
import { u as f } from "../../useNotifications-zbUhCvF_.js";
|
|
5
5
|
import { u as x } from "../../useScrollFade-BA4KqJYp.js";
|
|
6
6
|
import { u as i } from "../../useServerTable-UvTY6L1N.js";
|
|
7
|
-
import { u as b } from "../../useTheme-
|
|
7
|
+
import { u as b } from "../../useTheme-CJVjqtt2.js";
|
|
8
8
|
import { t as n, u as D } from "../../useToast-BFTk4lWz.js";
|
|
9
9
|
export {
|
|
10
10
|
n as toast,
|
package/dist/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKrosoftTranslation.d.ts","sourceRoot":"","sources":["../../src/i18n/useKrosoftTranslation.ts"],"names":[],"mappings":"AAIA,KAAK,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAe3D;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,QAAO;IAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,mBAAmB,KAAK,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"useKrosoftTranslation.d.ts","sourceRoot":"","sources":["../../src/i18n/useKrosoftTranslation.ts"],"names":[],"mappings":"AAIA,KAAK,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAe3D;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,QAAO;IAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,mBAAmB,KAAK,MAAM,CAAA;CAgBlG,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { u as b } from "./useKrosoftTranslation-
|
|
2
|
+
import { u as b } from "./useKrosoftTranslation-C6AC_uCA.js";
|
|
3
3
|
import { c as d } from "./tailwind.helper-B6yFEsav.js";
|
|
4
4
|
import { Command as r } from "cmdk";
|
|
5
5
|
import { X as p, SearchIcon as w } from "lucide-react";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { useTranslation as c } from "react-i18next";
|
|
2
|
-
const l = { cancel: "Cancel", save: "Save", saving: "Saving...", edit: "Edit", delete: "Delete" }, d = { loading: "Loading...", error: "Something went wrong.", errorPrefix: "Error:", errorTitle: "Error", noResult: "No result", noResultDot: "No result.", noData: "No data available", underConstruction: "Section under development", comingSoon: "This feature will be available soon" }, u = { trigger: "Search", placeholder: "Search...", globalTitle: "Global search", globalDescription: "Search for a page or a record across the application.", commandTitle: "Command palette", commandDescription: "Search for a command to run.", loading: "Searching..." }, p = { placeholder: "Select...", create: "Create “{{search}}”", section: "Select a section", theme: "Select a theme" },
|
|
2
|
+
const l = { cancel: "Cancel", save: "Save", saving: "Saving...", edit: "Edit", delete: "Delete" }, d = { loading: "Loading...", error: "Something went wrong.", errorPrefix: "Error:", errorTitle: "Error", noResult: "No result", noResultDot: "No result.", noData: "No data available", underConstruction: "Section under development", comingSoon: "This feature will be available soon" }, u = { trigger: "Search", placeholder: "Search...", globalTitle: "Global search", globalDescription: "Search for a page or a record across the application.", commandTitle: "Command palette", commandDescription: "Search for a command to run.", loading: "Searching..." }, p = { placeholder: "Select...", create: "Create “{{search}}”", section: "Select a section", theme: "Select a theme" }, m = { pickDate: "Select a date", pickPeriod: "Select a period", clearPeriod: "Clear the selected period" }, g = { advanced: "Advanced filters", more: "More filters", yes: "Yes", no: "No" }, h = { validationTitle: "Validation error", validationMessage: "Please check the form fields", submitError: "Something went wrong while saving" }, f = { empty: "No image", upload: "Click to upload", invalidType: "Only {{types}} files are accepted", tooLarge: "The file must not exceed {{size}}MB" }, v = { previousPage: "Previous page", nextPage: "Next page" }, S = { menu: "Navigation menu", description: "Main navigation of the application" }, b = { updatedTitle: "Theme updated", updatedMessage: "The theme has been changed to {{theme}}." }, T = {
|
|
3
3
|
actions: l,
|
|
4
4
|
states: d,
|
|
5
5
|
search: u,
|
|
6
6
|
select: p,
|
|
7
|
-
date:
|
|
8
|
-
filters:
|
|
7
|
+
date: m,
|
|
8
|
+
filters: g,
|
|
9
9
|
form: h,
|
|
10
10
|
image: f,
|
|
11
11
|
table: v,
|
|
12
12
|
sidebar: S,
|
|
13
13
|
theme: b
|
|
14
|
-
}, P = { cancel: "Annuler", save: "Enregistrer", saving: "Enregistrement...", edit: "Modifier", delete: "Supprimer" },
|
|
14
|
+
}, P = { cancel: "Annuler", save: "Enregistrer", saving: "Enregistrement...", edit: "Modifier", delete: "Supprimer" }, E = { loading: "Chargement...", error: "Une erreur est survenue.", errorPrefix: "Erreur :", errorTitle: "Erreur", noResult: "Aucun résultat", noResultDot: "Aucun résultat.", noData: "Aucune donnée disponible", underConstruction: "Section en cours de développement", comingSoon: "Cette fonctionnalité sera bientôt disponible" }, R = { trigger: "Rechercher", placeholder: "Rechercher...", globalTitle: "Recherche globale", globalDescription: "Rechercher une page ou une donnée dans l'application.", commandTitle: "Palette de commandes", commandDescription: "Rechercher une commande à exécuter.", loading: "Recherche..." }, C = { placeholder: "Sélectionner...", create: "Créer « {{search}} »", section: "Sélectionner une section", theme: "Sélectionner un thème" }, D = { pickDate: "Sélectionner une date", pickPeriod: "Sélectionner une période", clearPeriod: "Effacer la période sélectionnée" }, M = { advanced: "Filtres avancés", more: "Plus de filtres", yes: "Oui", no: "Non" }, $ = { validationTitle: "Erreur de validation", validationMessage: "Veuillez vérifier les champs du formulaire", submitError: "Une erreur est survenue lors de l'enregistrement" }, y = { empty: "Aucune image", upload: "Cliquer pour uploader", invalidType: "Seuls les fichiers {{types}} sont acceptés", tooLarge: "Le fichier ne doit pas dépasser {{size}}MB" }, N = { previousPage: "Page précédente", nextPage: "Page suivante" }, x = { menu: "Menu de navigation", description: "Navigation principale de l'application" }, A = { updatedTitle: "Thème mis à jour", updatedMessage: "Le thème a été changé vers {{theme}}." }, s = {
|
|
15
15
|
actions: P,
|
|
16
|
-
states:
|
|
17
|
-
search:
|
|
16
|
+
states: E,
|
|
17
|
+
search: R,
|
|
18
18
|
select: C,
|
|
19
|
-
date:
|
|
20
|
-
filters:
|
|
21
|
-
form:
|
|
22
|
-
image:
|
|
19
|
+
date: D,
|
|
20
|
+
filters: M,
|
|
21
|
+
form: $,
|
|
22
|
+
image: y,
|
|
23
23
|
table: N,
|
|
24
|
-
sidebar:
|
|
25
|
-
theme:
|
|
26
|
-
},
|
|
24
|
+
sidebar: x,
|
|
25
|
+
theme: A
|
|
26
|
+
}, a = "krosoft", w = { fr: s, en: T }, O = (e, { overwrite: t = !1 } = {}) => {
|
|
27
27
|
typeof e.addResourceBundle == "function" && Object.entries(w).forEach(([r, o]) => {
|
|
28
|
-
var
|
|
29
|
-
(
|
|
28
|
+
var n;
|
|
29
|
+
(n = e.addResourceBundle) == null || n.call(e, r, a, o, !0, t);
|
|
30
30
|
});
|
|
31
|
-
},
|
|
31
|
+
}, L = (e) => {
|
|
32
32
|
const t = e.split(".").reduce((r, o) => typeof r == "object" && r !== null ? r[o] : void 0, s);
|
|
33
33
|
return typeof t == "string" ? t : void 0;
|
|
34
|
-
},
|
|
35
|
-
const { t: e, i18n: t, ready: r } = c(
|
|
36
|
-
return { t: (
|
|
34
|
+
}, k = (e, t) => t === void 0 ? e : e.replace(/\{\{(\w+)\}\}/g, (r, o) => o in t ? String(t[o]) : r), K = () => {
|
|
35
|
+
const { t: e, i18n: t, ready: r } = c(a, { useSuspense: !1 });
|
|
36
|
+
return { t: (n, i) => r && t.exists(n, { ns: a }) ? e(n, i ?? {}) : k(L(n) ?? n, i) };
|
|
37
37
|
};
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
a as K,
|
|
40
40
|
w as k,
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
O as r,
|
|
42
|
+
K as u
|
|
43
43
|
};
|