@krosoft/react 0.0.369 → 0.0.370
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-D8DvzKaE.js → AppActions-vBiDqnhb.js} +2 -2
- package/dist/{AppSubTitle-DjLxfDdQ.js → AppSubTitle-DlkRZRYa.js} +2 -2
- package/dist/{AppTitle-B__uWGg1.js → AppTitle-DPmsaG7W.js} +1 -1
- package/dist/{ErrorAlert-BQJ0UYzD.js → ErrorAlert-BlFBMJKb.js} +1 -1
- package/dist/{GenericForm-D5ULMcUK.js → GenericForm-d2YjLFhi.js} +6 -6
- package/dist/{ImageInput-D182olAB.js → ImageInput-BN_CDiia.js} +2 -2
- package/dist/{MultiSelect-BJjOnkZ0.js → MultiSelect-DiUQjZ58.js} +3 -3
- package/dist/{SearchInput-Bi0WZSmj.js → SearchInput-gCpPsJHL.js} +4 -4
- package/dist/{behavior-D_N16i-G.js → behavior-DHRFESHv.js} +1 -1
- package/dist/{cards-C4JhUCYX.js → cards-PrfJb6k_.js} +2 -2
- package/dist/{charts-tlI9yxLJ.js → charts-DcDWVpqY.js} +1 -1
- 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 +3 -3
- package/dist/components/core/filters/index.js +6 -6
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.d.ts +1 -0
- package/dist/components/core/index.d.ts.map +1 -1
- package/dist/components/core/index.js +20 -19
- package/dist/components/core/inputs/index.js +4 -4
- package/dist/components/core/language/index.js +1 -1
- package/dist/components/core/layouts/index.js +8 -8
- package/dist/components/core/markdown/AppMarkdown.d.ts +18 -0
- package/dist/components/core/markdown/AppMarkdown.d.ts.map +1 -0
- package/dist/components/core/markdown/AppMarkdownHeading.d.ts +17 -0
- package/dist/components/core/markdown/AppMarkdownHeading.d.ts.map +1 -0
- package/dist/components/core/markdown/index.d.ts +3 -0
- package/dist/components/core/markdown/index.d.ts.map +1 -0
- package/dist/components/core/markdown/index.js +1 -0
- 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 +3 -3
- package/dist/components/core/tabs/index.js +5 -5
- package/dist/components/core/theme/index.js +1 -1
- package/dist/components/index.js +20 -19
- package/dist/components/ui/index.js +2 -2
- package/dist/{dialogs-CkncdJMe.js → dialogs-D3n2lF9B.js} +5 -5
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +13 -12
- package/dist/helpers/markdown.helper.d.ts +17 -0
- package/dist/helpers/markdown.helper.d.ts.map +1 -0
- package/dist/hooks/behavior/index.js +1 -1
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/ui/index.js +4 -4
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/krosoftLocales.d.ts +10 -0
- package/dist/i18n/krosoftLocales.d.ts.map +1 -1
- package/dist/{i18n-B6Z-r24S.js → i18n-BLIrm5Rk.js} +10 -0
- package/dist/{inputs-DuVl8rjr.js → inputs-C5Ubg8-k.js} +4 -4
- package/dist/{language-BCHW6mfD.js → language-BHtRQqgU.js} +2 -2
- package/dist/markdown-DSJCcNLW.js +171 -0
- package/dist/markdown.helper-YJE2H5KQ.js +23 -0
- package/dist/{navbar-DhRbdhIn.js → navbar-CeKW296j.js} +3 -3
- package/dist/pwa/index.js +1 -1
- package/dist/seasonal/index.js +1 -1
- package/dist/{sheet-CjTPCDbG.js → sheet-BclAzFlO.js} +1 -1
- package/dist/{states-D0r5kq-c.js → states-DY3eYGsU.js} +2 -2
- package/dist/{theme-BSaUAa_E.js → theme-BQRtT5mk.js} +2 -2
- package/dist/{ui-CG_w0pia.js → ui-C4N0wRo_.js} +3 -3
- package/dist/{ui-DAspFMMW.js → ui-gBsRjbGy.js} +1 -1
- package/dist/{useDocumentTitle-DO_aSzZS.js → useDocumentTitle-DKldGP8V.js} +1 -1
- package/dist/{useLanguage-DnpnTn2U.js → useLanguage-CPfCdO2T.js} +1 -1
- package/dist/{useTheme-CTWEekc0.js → useTheme-Cbep8NPk.js} +1 -1
- package/package.json +4 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import { Nt as n, Rt as r, Ut as i, jt as a, kt as o } from "./ui-
|
|
2
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
3
|
+
import { Nt as n, Rt as r, Ut as i, jt as a, kt as o } from "./ui-gBsRjbGy.js";
|
|
4
4
|
import { c as s } from "./tooltip-_geGvbS7.js";
|
|
5
5
|
import { t as c } from "./useMobile-pTQ8lWvt.js";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./i18n-
|
|
2
|
-
import { t } from "./AppActions-
|
|
1
|
+
import { t as e } from "./i18n-BLIrm5Rk.js";
|
|
2
|
+
import { t } from "./AppActions-vBiDqnhb.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/core/layouts/AppSubTitle.tsx
|
|
5
5
|
function i({ titleKey: i, actions: a, className: o }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
2
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/core/layouts/AppTitle.tsx
|
|
5
5
|
function i({ titleKey: i, descriptionKey: a, isSubTitle: o, inline: s }) {
|
|
@@ -1,14 +1,14 @@
|
|
|
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-Dq3AIrue.js";
|
|
3
|
-
import { t as i } from "./i18n-
|
|
4
|
-
import { Dt as a, Et as o, St as s, Tt as c, p as l, vn as u, wt as d, xt as f } from "./ui-
|
|
3
|
+
import { t as i } from "./i18n-BLIrm5Rk.js";
|
|
4
|
+
import { Dt as a, Et as o, St as s, Tt as c, p as l, vn as u, wt as d, xt as f } from "./ui-gBsRjbGy.js";
|
|
5
5
|
import { c as p } from "./tooltip-_geGvbS7.js";
|
|
6
|
-
import { g as m } from "./sheet-
|
|
6
|
+
import { g as m } from "./sheet-BclAzFlO.js";
|
|
7
7
|
import { i as h, l as g, n as _, t as ee, u as v } from "./select-KWMg2_7Z.js";
|
|
8
8
|
import { n as y } from "./useToast-UeDRLovh.js";
|
|
9
|
-
import { t as b } from "./ImageInput-
|
|
10
|
-
import { t as x } from "./AppSubTitle-
|
|
11
|
-
import { t as S } from "./MultiSelect-
|
|
9
|
+
import { t as b } from "./ImageInput-BN_CDiia.js";
|
|
10
|
+
import { t as x } from "./AppSubTitle-DlkRZRYa.js";
|
|
11
|
+
import { t as S } from "./MultiSelect-DiUQjZ58.js";
|
|
12
12
|
import { useEffect as C, useRef as w, useState as T } from "react";
|
|
13
13
|
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
14
14
|
import { useForm as O } from "react-hook-form";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import "./ui-
|
|
2
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
3
|
+
import "./ui-gBsRjbGy.js";
|
|
4
4
|
import { c as n } from "./tooltip-_geGvbS7.js";
|
|
5
5
|
import { t as r } from "./useNotifications-CyhTruIG.js";
|
|
6
6
|
import { forwardRef as i, useRef as a, useState as o } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import { Mn as n, vn as r } from "./ui-
|
|
2
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
3
|
+
import { Mn as n, vn as r } from "./ui-gBsRjbGy.js";
|
|
4
4
|
import { a as i, o as a, s as o } from "./tooltip-_geGvbS7.js";
|
|
5
|
-
import { h as s, m as c, p as l } from "./sheet-
|
|
5
|
+
import { h as s, m as c, p as l } from "./sheet-BclAzFlO.js";
|
|
6
6
|
import { useCallback as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
7
7
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
8
8
|
import { ChevronDownIcon as v, SearchIcon as y, XIcon as b } from "lucide-react";
|
|
@@ -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-
|
|
3
|
-
import { wn as r } from "./ui-
|
|
2
|
+
import { r as t, t as n } from "./i18n-BLIrm5Rk.js";
|
|
3
|
+
import { wn as r } from "./ui-gBsRjbGy.js";
|
|
4
4
|
import { c as i, o as a, s as o } from "./tooltip-_geGvbS7.js";
|
|
5
|
-
import { g as s, h as c, m as l, p as u } from "./sheet-
|
|
5
|
+
import { g as s, h as c, m as l, p as u } from "./sheet-BclAzFlO.js";
|
|
6
6
|
import { i as d, l as f, n as p, t as m, u as h } from "./select-KWMg2_7Z.js";
|
|
7
|
-
import { n as g, r as _ } from "./MultiSelect-
|
|
7
|
+
import { n as g, r as _ } from "./MultiSelect-DiUQjZ58.js";
|
|
8
8
|
import * as v from "react";
|
|
9
9
|
import { useEffect as y, useMemo as b, useRef as x, useState as S } from "react";
|
|
10
10
|
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { c as t, d as n, f as r, s as i } from "./chart-Dq3AIrue.js";
|
|
3
|
-
import { t as a } from "./i18n-
|
|
4
|
-
import "./ui-
|
|
3
|
+
import { t as a } from "./i18n-BLIrm5Rk.js";
|
|
4
|
+
import "./ui-gBsRjbGy.js";
|
|
5
5
|
import { t as o } from "./skeleton-D6Ga4BLw.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
@@ -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-Dq3AIrue.js";
|
|
3
|
-
import { t as d } from "./i18n-
|
|
3
|
+
import { t as d } from "./i18n-BLIrm5Rk.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-PrfJb6k_.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-DcDWVpqY.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as e } from "../../../ui-
|
|
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-
|
|
1
|
+
import { F as e } from "../../../ui-gBsRjbGy.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-BclAzFlO.js";
|
|
3
|
+
import { i as d, n as f, r as p, t as m } from "../../../dialogs-D3n2lF9B.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,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "../../../i18n-
|
|
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-
|
|
2
|
+
import { t } from "../../../i18n-BLIrm5Rk.js";
|
|
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-gBsRjbGy.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-BclAzFlO.js";
|
|
6
6
|
import { n as w } from "../../../switch-DzZwmpBG.js";
|
|
7
7
|
import { t as T } from "../../../useMobile-pTQ8lWvt.js";
|
|
8
|
-
import { t as E } from "../../../MultiSelect-
|
|
9
|
-
import { i as D, n as O, r as k, t as A } from "../../../SearchInput-
|
|
10
|
-
import "../../../ui-
|
|
8
|
+
import { t as E } from "../../../MultiSelect-DiUQjZ58.js";
|
|
9
|
+
import { i as D, n as O, r as k, t as A } from "../../../SearchInput-gCpPsJHL.js";
|
|
10
|
+
import "../../../ui-C4N0wRo_.js";
|
|
11
11
|
import { useEffect as j, useMemo as M, useRef as N, useState as P } from "react";
|
|
12
12
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
13
13
|
import { getLocale as R } from "@krosoft/core/helpers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GenericForm } from "../../../GenericForm-
|
|
1
|
+
export { t as GenericForm } from "../../../GenericForm-d2YjLFhi.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-
|
|
2
|
-
import { F as o } from "../../ui-
|
|
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 { a as _, c as v, i as y, n as b, o as x, r as S, s as C, t as w } from "../../charts-
|
|
5
|
-
import { t as T } from "../../ErrorAlert-
|
|
6
|
-
import { i as E, n as D, r as O, t as k } from "../../dialogs-
|
|
7
|
-
import { t as A } from "../../ImageInput-
|
|
8
|
-
import { t as j } from "../../AppActions-
|
|
9
|
-
import { t as M } from "../../AppSubTitle-
|
|
10
|
-
import { t as N } from "../../MultiSelect-
|
|
11
|
-
import { t as P } from "../../GenericForm-
|
|
12
|
-
import { i as F, n as I, r as L, t as R } from "../../SearchInput-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-PrfJb6k_.js";
|
|
2
|
+
import { F as o } from "../../ui-gBsRjbGy.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-BclAzFlO.js";
|
|
4
|
+
import { a as _, c as v, i as y, n as b, o as x, r as S, s as C, t as w } from "../../charts-DcDWVpqY.js";
|
|
5
|
+
import { t as T } from "../../ErrorAlert-BlFBMJKb.js";
|
|
6
|
+
import { i as E, n as D, r as O, t as k } from "../../dialogs-D3n2lF9B.js";
|
|
7
|
+
import { t as A } from "../../ImageInput-BN_CDiia.js";
|
|
8
|
+
import { t as j } from "../../AppActions-vBiDqnhb.js";
|
|
9
|
+
import { t as M } from "../../AppSubTitle-DlkRZRYa.js";
|
|
10
|
+
import { t as N } from "../../MultiSelect-DiUQjZ58.js";
|
|
11
|
+
import { t as P } from "../../GenericForm-d2YjLFhi.js";
|
|
12
|
+
import { i as F, n as I, r as L, t as R } from "../../SearchInput-gCpPsJHL.js";
|
|
13
13
|
import { ActiveFilters as z, AdvancedFilters as B, ConditionFilter as V, ConditionFilterGroup as H, FilterField as U, FilterPills as W, FilterPillsGroup as G, FiltersContainer as K, FiltersMobileDrawer as q, TableFilter as J } from "./filters/index.js";
|
|
14
14
|
import "./forms/index.js";
|
|
15
15
|
import { n as Y, t as X } from "../../icons-n0m_1w7z.js";
|
|
16
|
-
import { n as Z, t as Q } from "../../inputs-
|
|
17
|
-
import { t as $ } from "../../language-
|
|
18
|
-
import { t as ee } from "../../AppTitle-
|
|
19
|
-
import { n as te, t as ne } from "../../states-
|
|
16
|
+
import { n as Z, t as Q } from "../../inputs-C5Ubg8-k.js";
|
|
17
|
+
import { t as $ } from "../../language-BHtRQqgU.js";
|
|
18
|
+
import { t as ee } from "../../AppTitle-DPmsaG7W.js";
|
|
19
|
+
import { n as te, t as ne } from "../../states-DY3eYGsU.js";
|
|
20
20
|
import { AppPageHeader as re, KpiCardsLayout as ie } from "./layouts/index.js";
|
|
21
|
-
import { a as ae, i as oe, n as se, o as ce, r as le, t as ue } from "../../navbar-
|
|
21
|
+
import { a as ae, i as oe, n as se, o as ce, r as le, t as ue } from "../../navbar-CeKW296j.js";
|
|
22
22
|
import { DataTable as de, JsonTableOutput as fe, TableActions as pe, TableBody as me, TableBulkActions as he, TableHeader as ge, TablePagination as _e, TableSettings as ve } from "./table/index.js";
|
|
23
23
|
import { AppTabContainer as ye, AppTabHeader as be, AppTabs as xe, AppVerticalTabs as Se } from "./tabs/index.js";
|
|
24
|
-
import { t as Ce } from "../../theme-
|
|
25
|
-
|
|
24
|
+
import { t as Ce } from "../../theme-BQRtT5mk.js";
|
|
25
|
+
import { t as we } from "../../markdown-DSJCcNLW.js";
|
|
26
|
+
export { k as AboutDialog, z as ActiveFilters, B as AdvancedFilters, j as AppActions, E as AppDialog, we as AppMarkdown, re as AppPageHeader, M as AppSubTitle, ye as AppTabContainer, be as AppTabHeader, xe as AppTabs, ee as AppTitle, Se as AppVerticalTabs, v as BarChartHorizontal, C as BarChartVertical, _ as CHART_COLORS, y as ChartCard, S as CircularGauge, V as ConditionFilter, H as ConditionFilterGroup, D as ConfirmationDialog, r as DashboardCard, de as DataTable, F as DatePicker, L 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, T as ErrorAlert, te as ErrorState, Z as FileDropzone, U as FilterField, W as FilterPills, G as FilterPillsGroup, K as FiltersContainer, q as FiltersMobileDrawer, Y as FlagFrIcon, X as FlagGbIcon, O as FormDialog, P as GenericForm, ce as GlobalSearch, A as ImageInput, fe as JsonTableOutput, e as KpiCard, t as KpiCards, ie as KpiCardsLayout, $ as LanguageSelector, b as LineChart, ne as LoadingState, i as MetricCard, N as MultiSelect, ae as NotificationsBell, w as PieChart, o as Progress, Q as RatingInput, R as SearchInput, le as Sidebar, se as SidebarHeader, oe as SidebarNavItem, I as SingleSelect, n as SkeletonCard, a as SkeletonCards, pe as TableActions, me as TableBody, he as TableBulkActions, J as TableFilter, ge as TableHeader, _e as TablePagination, ve as TableSettings, Ce as ThemeSelector, ue as Topbar, x as getChartColor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../ImageInput-
|
|
2
|
-
import { t } from "../../../MultiSelect-
|
|
3
|
-
import { i as n, n as r, r as i, t as a } from "../../../SearchInput-
|
|
4
|
-
import { n as o, t as s } from "../../../inputs-
|
|
1
|
+
import { t as e } from "../../../ImageInput-BN_CDiia.js";
|
|
2
|
+
import { t } from "../../../MultiSelect-DiUQjZ58.js";
|
|
3
|
+
import { i as n, n as r, r as i, t as a } from "../../../SearchInput-gCpPsJHL.js";
|
|
4
|
+
import { n as o, t as s } from "../../../inputs-C5Ubg8-k.js";
|
|
5
5
|
export { n as DatePicker, i as DateRangePicker, o as FileDropzone, e as ImageInput, t as MultiSelect, s as RatingInput, a as SearchInput, r as SingleSelect };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as LanguageSelector } from "../../../language-
|
|
1
|
+
export { t as LanguageSelector } from "../../../language-BHtRQqgU.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as e } from "../../../i18n-
|
|
2
|
-
import { i as t, t as n } from "../../../cards-
|
|
3
|
-
import "../../../ui-
|
|
1
|
+
import { t as e } from "../../../i18n-BLIrm5Rk.js";
|
|
2
|
+
import { i as t, t as n } from "../../../cards-PrfJb6k_.js";
|
|
3
|
+
import "../../../ui-gBsRjbGy.js";
|
|
4
4
|
import { c as r } from "../../../tooltip-_geGvbS7.js";
|
|
5
|
-
import { t as i } from "../../../AppActions-
|
|
6
|
-
import { t as a } from "../../../AppSubTitle-
|
|
7
|
-
import { t as o } from "../../../useDocumentTitle-
|
|
8
|
-
import { t as s } from "../../../AppTitle-
|
|
9
|
-
import { n as c } from "../../../states-
|
|
5
|
+
import { t as i } from "../../../AppActions-vBiDqnhb.js";
|
|
6
|
+
import { t as a } from "../../../AppSubTitle-DlkRZRYa.js";
|
|
7
|
+
import { t as o } from "../../../useDocumentTitle-DKldGP8V.js";
|
|
8
|
+
import { t as s } from "../../../AppTitle-DPmsaG7W.js";
|
|
9
|
+
import { n as c } from "../../../states-DY3eYGsU.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
12
12
|
import { ArrowLeftIcon as d } from "lucide-react";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
2
|
+
export interface AppMarkdownProps {
|
|
3
|
+
/** Contenu markdown (GFM : tableaux, listes de tâches, liens auto...). */
|
|
4
|
+
content: string;
|
|
5
|
+
/**
|
|
6
|
+
* Ancres partageables sur les titres h2-h4 (bouton « copier le lien » + scroll sur le hash de l'url).
|
|
7
|
+
* À désactiver quand le markdown n'est pas le contenu principal de la page (dialog, panneau...).
|
|
8
|
+
*/
|
|
9
|
+
headingAnchors?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Rendu markdown aligné sur le design system : pas de plugin typography dans le preset Tailwind,
|
|
13
|
+
* chaque élément est donc mappé sur les tokens.
|
|
14
|
+
* rehype-slug ajoute un id (slug façon GitHub) sur chaque titre pour que les ancres fonctionnent ;
|
|
15
|
+
* rehypeVersionSlug raccourcit ensuite l'id des titres de version d'un changelog (`v1.0.41`).
|
|
16
|
+
*/
|
|
17
|
+
export declare const AppMarkdown: ({ content, headingAnchors }: AppMarkdownProps) => JSX.Element;
|
|
18
|
+
//# sourceMappingURL=AppMarkdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppMarkdown.d.ts","sourceRoot":"","sources":["../../../../src/components/core/markdown/AppMarkdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAc,MAAM,OAAO,CAAC;AAU7C,MAAM,WAAW,gBAAgB;IAC/B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,6BAAoC,gBAAgB,KAAG,GAAG,CAAC,OAuHtF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { JSX, ReactNode } from "react";
|
|
2
|
+
interface AppMarkdownHeadingProps {
|
|
3
|
+
level: 2 | 3 | 4;
|
|
4
|
+
className?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
/** Affiche le bouton « copier le lien » ; à faux, le titre est rendu nu (id conservé). */
|
|
7
|
+
anchor?: boolean;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Titre markdown doté d'une ancre partageable : l'icône affichée au survol copie l'url complète
|
|
12
|
+
* de la section (query + ancre) et positionne le hash pour que le lien soit rejouable.
|
|
13
|
+
* L'id vient de rehype-slug, ou de `rehypeVersionSlug` pour les titres de version d'un changelog.
|
|
14
|
+
*/
|
|
15
|
+
export declare const AppMarkdownHeading: ({ level, className, id, anchor, children }: AppMarkdownHeadingProps) => JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=AppMarkdownHeading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppMarkdownHeading.d.ts","sourceRoot":"","sources":["../../../../src/components/core/markdown/AppMarkdownHeading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAO5C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAID;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,4CAAmD,uBAAuB,KAAG,GAAG,CAAC,OA+CnH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/markdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as AppMarkdown } from "../../../markdown-DSJCcNLW.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-CeKW296j.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-BlFBMJKb.js";
|
|
2
|
+
import { n as t, t as n } from "../../../states-DY3eYGsU.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-
|
|
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-
|
|
3
|
+
import { t as o } from "../../../i18n-BLIrm5Rk.js";
|
|
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-gBsRjbGy.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-BclAzFlO.js";
|
|
7
7
|
import { n as E, t as D } from "../../../switch-DzZwmpBG.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-Dq3AIrue.js";
|
|
3
|
-
import { t as i } from "../../../i18n-
|
|
4
|
-
import { _ as a, g as o, h as s, m as c } from "../../../ui-
|
|
5
|
-
import { d as l } from "../../../sheet-
|
|
3
|
+
import { t as i } from "../../../i18n-BLIrm5Rk.js";
|
|
4
|
+
import { _ as a, g as o, h as s, m as c } from "../../../ui-gBsRjbGy.js";
|
|
5
|
+
import { d as l } from "../../../sheet-BclAzFlO.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-vBiDqnhb.js";
|
|
8
|
+
import { t as g } from "../../../AppTitle-DPmsaG7W.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-BQRtT5mk.js";
|
package/dist/components/index.js
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
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-Dq3AIrue.js";
|
|
2
|
-
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "../cards-
|
|
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-
|
|
2
|
+
import { a as f, i as p, n as m, o as h, r as g, t as _ } from "../cards-PrfJb6k_.js";
|
|
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-gBsRjbGy.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-BclAzFlO.js";
|
|
7
7
|
import { n as cr, t as lr } from "../switch-DzZwmpBG.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 { a as xr, c as Sr, i as Cr, n as wr, o as Tr, r as Er, s as Dr, t as Or } from "../charts-
|
|
11
|
-
import { t as kr } from "../ErrorAlert-
|
|
12
|
-
import { i as Ar, n as jr, r as Mr, t as Nr } from "../dialogs-
|
|
13
|
-
import { t as Pr } from "../ImageInput-
|
|
14
|
-
import { t as Fr } from "../AppActions-
|
|
15
|
-
import { t as Ir } from "../AppSubTitle-
|
|
16
|
-
import { t as Lr } from "../MultiSelect-
|
|
17
|
-
import { t as Rr } from "../GenericForm-
|
|
18
|
-
import { i as zr, n as Br, r as Vr, t as Hr } from "../SearchInput-
|
|
10
|
+
import { a as xr, c as Sr, i as Cr, n as wr, o as Tr, r as Er, s as Dr, t as Or } from "../charts-DcDWVpqY.js";
|
|
11
|
+
import { t as kr } from "../ErrorAlert-BlFBMJKb.js";
|
|
12
|
+
import { i as Ar, n as jr, r as Mr, t as Nr } from "../dialogs-D3n2lF9B.js";
|
|
13
|
+
import { t as Pr } from "../ImageInput-BN_CDiia.js";
|
|
14
|
+
import { t as Fr } from "../AppActions-vBiDqnhb.js";
|
|
15
|
+
import { t as Ir } from "../AppSubTitle-DlkRZRYa.js";
|
|
16
|
+
import { t as Lr } from "../MultiSelect-DiUQjZ58.js";
|
|
17
|
+
import { t as Rr } from "../GenericForm-d2YjLFhi.js";
|
|
18
|
+
import { i as zr, n as Br, r as Vr, t as Hr } from "../SearchInput-gCpPsJHL.js";
|
|
19
19
|
import { ActiveFilters as Ur, AdvancedFilters as Wr, ConditionFilter as Gr, ConditionFilterGroup as Kr, FilterField as qr, FilterPills as Jr, FilterPillsGroup as Yr, FiltersContainer as Xr, FiltersMobileDrawer as Zr, TableFilter as Qr } from "./core/filters/index.js";
|
|
20
20
|
import { n as $r, t as ei } from "../icons-n0m_1w7z.js";
|
|
21
|
-
import { n as ti, t as ni } from "../inputs-
|
|
22
|
-
import { t as ri } from "../language-
|
|
23
|
-
import { t as ii } from "../AppTitle-
|
|
24
|
-
import { n as ai, t as oi } from "../states-
|
|
21
|
+
import { n as ti, t as ni } from "../inputs-C5Ubg8-k.js";
|
|
22
|
+
import { t as ri } from "../language-BHtRQqgU.js";
|
|
23
|
+
import { t as ii } from "../AppTitle-DPmsaG7W.js";
|
|
24
|
+
import { n as ai, t as oi } from "../states-DY3eYGsU.js";
|
|
25
25
|
import { AppPageHeader as si, KpiCardsLayout as ci } from "./core/layouts/index.js";
|
|
26
|
-
import { a as li, i as ui, n as di, o as fi, r as pi, t as mi } from "../navbar-
|
|
26
|
+
import { a as li, i as ui, n as di, o as fi, r as pi, t as mi } from "../navbar-CeKW296j.js";
|
|
27
27
|
import { DataTable as hi, JsonTableOutput as gi, TableActions as _i, TableBody as vi, TableBulkActions as yi, TableHeader as bi, TablePagination as xi, TableSettings as Si } from "./core/table/index.js";
|
|
28
28
|
import { AppTabContainer as Ci, AppTabHeader as wi, AppTabs as Ti, AppVerticalTabs as Ei } from "./core/tabs/index.js";
|
|
29
|
-
import { t as Di } from "../theme-
|
|
29
|
+
import { t as Di } from "../theme-BQRtT5mk.js";
|
|
30
|
+
import { t as Oi } from "../markdown-DSJCcNLW.js";
|
|
30
31
|
import "./core/index.js";
|
|
31
|
-
export { Nr as AboutDialog, zt as Accordion, J as AccordionContent, Re as AccordionItem, Fe as AccordionTrigger, Ur as ActiveFilters, Wr 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, Fr as AppActions, Ar as AppDialog, si as AppPageHeader, Ir as AppSubTitle, Ci as AppTabContainer, wi as AppTabHeader, Ti as AppTabs, ii as AppTitle, Ei as AppVerticalTabs, ee as AspectRatio, fe as Avatar, I as AvatarFallback, G as AvatarImage, re as Badge, Sr as BarChartHorizontal, Dr 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, xr 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, Cr as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, en as Checkbox, Er 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, Gr as ConditionFilter, Kr as ConditionFilterGroup, jr 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, hi as DataTable, zr as DatePicker, Vr 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, kr as ErrorAlert, ai as ErrorState, ti as FileDropzone, qr as FilterField, Jr as FilterPills, Yr as FilterPillsGroup, Xr as FiltersContainer, Zr as FiltersMobileDrawer, $r as FlagFrIcon, ei as FlagGbIcon, cn as Form, xe as FormControl, O as FormDescription, Mr as FormDialog, an as FormField, we as FormItem, P as FormLabel, j as FormMessage, Rr as GenericForm, fi as GlobalSearch, tn as HoverCard, dn as HoverCardContent, Xe as HoverCardTrigger, Pr as ImageInput, Wn as Input, Ot as InputOTP, pt as InputOTPGroup, ut as InputOTPSeparator, We as InputOTPSlot, gi as JsonTableOutput, f as KpiCard, p as KpiCards, ci as KpiCardsLayout, cr as Label, ri as LanguageSelector, wr as LineChart, oi 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, Lr 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, li as NotificationsBell, W as Pagination, $ as PaginationContent, ge as PaginationEllipsis, fn as PaginationItem, C as PaginationLink, Oe as PaginationNext, V as PaginationPrevious, Or as PieChart, $n as Popover, Xn as PopoverContent, Gn as PopoverTrigger, F as Progress, ae as RadioGroup, de as RadioGroupItem, ni as RatingInput, b as ResizableHandle, _t as ResizablePanel, ne as ResizablePanelGroup, Hn as ScrollArea, Un as ScrollBar, Hr 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, pi as Sidebar, di as SidebarHeader, ui 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, Br as SingleSelect, br as Skeleton, m as SkeletonCard, _ as SkeletonCards, Je as Slider, $t as Sonner, lr as Switch, _i as TableActions, vi as TableBody, yi as TableBulkActions, Qr as TableFilter, bi as TableHeader, xi as TablePagination, Si as TableSettings, Et as Tabs, dt as TabsContent, ct as TabsList, He as TabsTrigger, Ft as Textarea, Di 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, mi as Topbar, oe as badgeVariants, xn as buttonVariants, vn as controlBaseClass, Cn as controlFilterWidthClass, Tn as controlTriggerClass, Tr as getChartColor, Be as navigationMenuTriggerStyle, ln as toast, mt as toggleVariants, ue as useFormField };
|
|
32
|
+
export { Nr as AboutDialog, zt as Accordion, J as AccordionContent, Re as AccordionItem, Fe as AccordionTrigger, Ur as ActiveFilters, Wr 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, Fr as AppActions, Ar as AppDialog, Oi as AppMarkdown, si as AppPageHeader, Ir as AppSubTitle, Ci as AppTabContainer, wi as AppTabHeader, Ti as AppTabs, ii as AppTitle, Ei as AppVerticalTabs, ee as AspectRatio, fe as Avatar, I as AvatarFallback, G as AvatarImage, re as Badge, Sr as BarChartHorizontal, Dr 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, xr 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, Cr as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, en as Checkbox, Er 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, Gr as ConditionFilter, Kr as ConditionFilterGroup, jr 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, hi as DataTable, zr as DatePicker, Vr 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, kr as ErrorAlert, ai as ErrorState, ti as FileDropzone, qr as FilterField, Jr as FilterPills, Yr as FilterPillsGroup, Xr as FiltersContainer, Zr as FiltersMobileDrawer, $r as FlagFrIcon, ei as FlagGbIcon, cn as Form, xe as FormControl, O as FormDescription, Mr as FormDialog, an as FormField, we as FormItem, P as FormLabel, j as FormMessage, Rr as GenericForm, fi as GlobalSearch, tn as HoverCard, dn as HoverCardContent, Xe as HoverCardTrigger, Pr as ImageInput, Wn as Input, Ot as InputOTP, pt as InputOTPGroup, ut as InputOTPSeparator, We as InputOTPSlot, gi as JsonTableOutput, f as KpiCard, p as KpiCards, ci as KpiCardsLayout, cr as Label, ri as LanguageSelector, wr as LineChart, oi 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, Lr 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, li as NotificationsBell, W as Pagination, $ as PaginationContent, ge as PaginationEllipsis, fn as PaginationItem, C as PaginationLink, Oe as PaginationNext, V as PaginationPrevious, Or as PieChart, $n as Popover, Xn as PopoverContent, Gn as PopoverTrigger, F as Progress, ae as RadioGroup, de as RadioGroupItem, ni as RatingInput, b as ResizableHandle, _t as ResizablePanel, ne as ResizablePanelGroup, Hn as ScrollArea, Un as ScrollBar, Hr 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, pi as Sidebar, di as SidebarHeader, ui 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, Br as SingleSelect, br as Skeleton, m as SkeletonCard, _ as SkeletonCards, Je as Slider, $t as Sonner, lr as Switch, _i as TableActions, vi as TableBody, yi as TableBulkActions, Qr as TableFilter, bi as TableHeader, xi as TablePagination, Si as TableSettings, Et as Tabs, dt as TabsContent, ct as TabsList, He as TabsTrigger, Ft as Textarea, Di 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, mi as Topbar, oe as badgeVariants, xn as buttonVariants, vn as controlBaseClass, Cn as controlFilterWidthClass, Tn as controlTriggerClass, Tr as getChartColor, Be as navigationMenuTriggerStyle, ln as toast, mt as toggleVariants, ue as useFormField };
|
|
@@ -1,8 +1,8 @@
|
|
|
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-Dq3AIrue.js";
|
|
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-
|
|
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-gBsRjbGy.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-BclAzFlO.js";
|
|
6
6
|
import { n as nr, t as rr } from "../../switch-DzZwmpBG.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-
|
|
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-
|
|
2
|
+
import { r as t, t as n } from "./i18n-BLIrm5Rk.js";
|
|
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-gBsRjbGy.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-BclAzFlO.js";
|
|
6
|
+
import { t as _ } from "./ErrorAlert-BlFBMJKb.js";
|
|
7
|
+
import { t as v } from "./GenericForm-d2YjLFhi.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";
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
|
package/dist/helpers/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../tailwind.helper-CJaRYBmL.js";
|
|
2
|
+
import { t } from "../markdown.helper-YJE2H5KQ.js";
|
|
2
3
|
//#region src/helpers/supabase.helper.ts
|
|
3
|
-
function
|
|
4
|
+
function n(e, t, n = {}) {
|
|
4
5
|
let r = e, i = t.debouncedSearchText ?? t.searchText;
|
|
5
6
|
if (i?.trim() && n.searchColumns?.length) {
|
|
6
7
|
let e = `%${i.trim()}%`, t = n.searchColumns.map((t) => `${t}.ilike.${e}`).join(",");
|
|
@@ -22,13 +23,13 @@ function t(e, t, n = {}) {
|
|
|
22
23
|
let a = (t.currentPage - 1) * t.pageSize, o = a + t.pageSize - 1;
|
|
23
24
|
return r = r.range(a, o), r;
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
+
function r(e, t) {
|
|
26
27
|
return e ? e.map((e) => {
|
|
27
28
|
let n = e[t];
|
|
28
29
|
return Array.isArray(n) ? n[0] : n;
|
|
29
30
|
}).filter((e) => !!e) : [];
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
+
function i(e, t) {
|
|
32
33
|
if (!e) return null;
|
|
33
34
|
let n = Array.isArray(e) ? e[0] : e;
|
|
34
35
|
if (!n) return null;
|
|
@@ -40,24 +41,24 @@ function r(e, t) {
|
|
|
40
41
|
}
|
|
41
42
|
//#endregion
|
|
42
43
|
//#region src/helpers/table.helper.ts
|
|
43
|
-
var
|
|
44
|
+
var a = {
|
|
44
45
|
left: "text-left",
|
|
45
46
|
center: "text-center",
|
|
46
47
|
right: "text-right"
|
|
47
48
|
};
|
|
48
|
-
function
|
|
49
|
+
function o(e) {
|
|
49
50
|
if (e.align !== void 0) return e.align;
|
|
50
51
|
let t = (e.className ?? "").split(/\s+/);
|
|
51
52
|
return t.includes("text-right") ? "right" : t.includes("text-center") ? "center" : "left";
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
54
|
+
function s(e) {
|
|
55
|
+
return a[e];
|
|
55
56
|
}
|
|
56
|
-
var
|
|
57
|
+
var c = "__selection__", l = "__actions__", u = {
|
|
57
58
|
left: "border-r border-border",
|
|
58
59
|
right: "border-l border-border"
|
|
59
60
|
};
|
|
60
|
-
function
|
|
61
|
+
function d(e, t) {
|
|
61
62
|
if (e === void 0) return {
|
|
62
63
|
className: "relative",
|
|
63
64
|
style: {}
|
|
@@ -69,12 +70,12 @@ function u(e, t) {
|
|
|
69
70
|
n ? "z-20" : "z-10",
|
|
70
71
|
"before:absolute before:inset-0 before:-z-10 before:pointer-events-none",
|
|
71
72
|
n ? "before:bg-muted/50" : "group-hover:before:bg-muted/50",
|
|
72
|
-
e.isEdge ?
|
|
73
|
+
e.isEdge ? u[e.side] : ""
|
|
73
74
|
].filter(Boolean).join(" "),
|
|
74
75
|
style: e.side === "left" ? { left: e.offset } : { right: e.offset }
|
|
75
76
|
};
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function f(e) {
|
|
78
79
|
return {
|
|
79
80
|
read: () => {
|
|
80
81
|
if (typeof window < "u") try {
|
|
@@ -94,4 +95,4 @@ function d(e) {
|
|
|
94
95
|
};
|
|
95
96
|
}
|
|
96
97
|
//#endregion
|
|
97
|
-
export {
|
|
98
|
+
export { l as ACTIONS_COLUMN_KEY, c as SELECTION_COLUMN_KEY, n as applyTableStateToQuery, e as cn, s as getAlignmentClass, o as getColumnAlignment, d as getFixedCellProps, f as localStorageColumnVisibility, r as mapNestedRelationMany, i as mapNestedRelationOne, t as rehypeVersionSlug };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface HastNode {
|
|
2
|
+
type: string;
|
|
3
|
+
tagName?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
properties?: Record<string, unknown>;
|
|
6
|
+
children?: HastNode[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Rebase l'id des titres de version sur la seule version (`[1.0.41] - 2026-09-02 21:03` -> `v1.0.41`).
|
|
10
|
+
* Le slug de rehype-slug embarque la date et la ponctuation du titre : un lien partagé casserait à la
|
|
11
|
+
* moindre correction du libellé, alors que la version, elle, ne bouge plus.
|
|
12
|
+
* À enchaîner APRÈS rehype-slug, dont il écrase l'id sur ces titres uniquement.
|
|
13
|
+
* Un titre couvrant plusieurs versions n'expose que la première comme ancre.
|
|
14
|
+
*/
|
|
15
|
+
export declare const rehypeVersionSlug: () => (tree: HastNode) => void;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=markdown.helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.helper.d.ts","sourceRoot":"","sources":["../../src/helpers/markdown.helper.ts"],"names":[],"mappings":"AACA,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB;AAcD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,SAE3B,MAAM,QAAQ,KAAG,IAYjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as URL_DATE_FORMAT, n as parseDateRange, r as serializeDateRange, p as useConfirmDeleteDialog, m as useConfirmationDialog, f as useDebounce, d as useDebouncedValue, h as useDialog, u as usePage, l as useSidebar, c as useTable, i as useUrlArrayState, a as useUrlDateRangeState, o as useUrlNumberState, s as useUrlState } from "../../behavior-
|
|
1
|
+
export { t as URL_DATE_FORMAT, n as parseDateRange, r as serializeDateRange, p as useConfirmDeleteDialog, m as useConfirmationDialog, f as useDebounce, d as useDebouncedValue, h as useDialog, u as usePage, l as useSidebar, c as useTable, i as useUrlArrayState, a as useUrlDateRangeState, o as useUrlNumberState, s as useUrlState } from "../../behavior-DHRFESHv.js";
|
package/dist/hooks/index.js
CHANGED
|
@@ -3,9 +3,9 @@ import { n as t, t as n } from "../useToast-UeDRLovh.js";
|
|
|
3
3
|
import { t as r } from "../useMobile-pTQ8lWvt.js";
|
|
4
4
|
import { t as i } from "../useNotifications-CyhTruIG.js";
|
|
5
5
|
import { n as a, t as o } from "../useFixedColumns-Bo-Az3Hp.js";
|
|
6
|
-
import { t as s } from "../useDocumentTitle-
|
|
7
|
-
import { t as c } from "../useLanguage-
|
|
8
|
-
import { t as l } from "../ui-
|
|
9
|
-
import { t as u } from "../useTheme-
|
|
10
|
-
import { a as d, c as f, d as p, f as m, h, i as g, l as _, m as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T } from "../behavior-
|
|
6
|
+
import { t as s } from "../useDocumentTitle-DKldGP8V.js";
|
|
7
|
+
import { t as c } from "../useLanguage-CPfCdO2T.js";
|
|
8
|
+
import { t as l } from "../ui-C4N0wRo_.js";
|
|
9
|
+
import { t as u } from "../useTheme-Cbep8NPk.js";
|
|
10
|
+
import { a as d, c as f, d as p, f as m, h, i as g, l as _, m as v, n as y, o as b, p as x, r as S, s as C, t as w, u as T } from "../behavior-DHRFESHv.js";
|
|
11
11
|
export { w as URL_DATE_FORMAT, y as parseDateRange, S as serializeDateRange, n as toast, x as useConfirmDeleteDialog, v as useConfirmationDialog, a as useDataTable, m as useDebounce, p as useDebouncedValue, h as useDialog, s as useDocumentTitle, o as useFixedColumns, c as useLanguage, r as useMobile, i as useNotifications, T as usePage, e as useScrollFade, l as useServerTable, _ as useSidebar, f as useTable, u as useTheme, t as useToast, g as useUrlArrayState, d as useUrlDateRangeState, b as useUrlNumberState, C as useUrlState };
|
package/dist/hooks/ui/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { n as t, t as n } from "../../useToast-UeDRLovh.js";
|
|
|
3
3
|
import { t as r } from "../../useMobile-pTQ8lWvt.js";
|
|
4
4
|
import { t as i } from "../../useNotifications-CyhTruIG.js";
|
|
5
5
|
import { n as a, t as o } from "../../useFixedColumns-Bo-Az3Hp.js";
|
|
6
|
-
import { t as s } from "../../useDocumentTitle-
|
|
7
|
-
import { t as c } from "../../useLanguage-
|
|
8
|
-
import { t as l } from "../../ui-
|
|
9
|
-
import { t as u } from "../../useTheme-
|
|
6
|
+
import { t as s } from "../../useDocumentTitle-DKldGP8V.js";
|
|
7
|
+
import { t as c } from "../../useLanguage-CPfCdO2T.js";
|
|
8
|
+
import { t as l } from "../../ui-C4N0wRo_.js";
|
|
9
|
+
import { t as u } from "../../useTheme-Cbep8NPk.js";
|
|
10
10
|
export { n as toast, a as useDataTable, s as useDocumentTitle, o as useFixedColumns, c as useLanguage, r as useMobile, i as useNotifications, e as useScrollFade, l as useServerTable, u as useTheme, t as useToast };
|
package/dist/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as KROSOFT_NAMESPACE, n as dateFnsLocale, a as krosoftLocales, o as registerKrosoftLocales, r as useDateFnsLocale, t as useKrosoftTranslation } from "../i18n-
|
|
1
|
+
export { i as KROSOFT_NAMESPACE, n as dateFnsLocale, a as krosoftLocales, o as registerKrosoftLocales, r as useDateFnsLocale, t as useKrosoftTranslation } from "../i18n-BLIrm5Rk.js";
|
|
@@ -164,6 +164,11 @@ export declare const krosoftLocales: {
|
|
|
164
164
|
environment: string;
|
|
165
165
|
buildDate: string;
|
|
166
166
|
};
|
|
167
|
+
markdown: {
|
|
168
|
+
copyLink: string;
|
|
169
|
+
linkCopied: string;
|
|
170
|
+
linkCopyError: string;
|
|
171
|
+
};
|
|
167
172
|
};
|
|
168
173
|
en: {
|
|
169
174
|
actions: {
|
|
@@ -323,6 +328,11 @@ export declare const krosoftLocales: {
|
|
|
323
328
|
environment: string;
|
|
324
329
|
buildDate: string;
|
|
325
330
|
};
|
|
331
|
+
markdown: {
|
|
332
|
+
copyLink: string;
|
|
333
|
+
linkCopied: string;
|
|
334
|
+
linkCopyError: string;
|
|
335
|
+
};
|
|
326
336
|
};
|
|
327
337
|
};
|
|
328
338
|
/** Sous-ensemble d'i18next dont on a besoin : évite d'imposer le type complet de l'instance. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"krosoftLocales.d.ts","sourceRoot":"","sources":["../../src/i18n/krosoftLocales.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,8FAA8F;AAC9F,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"krosoftLocales.d.ts","sourceRoot":"","sources":["../../src/i18n/krosoftLocales.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,8FAA8F;AAC9F,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAC;AAEzC,gGAAgG;AAChG,UAAU,QAAQ;IAChB,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IACjH,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;CAC1D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,QAAQ,EAAE,gBAAuB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAO,KAAG,IAM5G,CAAC"}
|
|
@@ -157,6 +157,11 @@ var r = {
|
|
|
157
157
|
version: "Version",
|
|
158
158
|
environment: "Environment",
|
|
159
159
|
buildDate: "Build date"
|
|
160
|
+
},
|
|
161
|
+
markdown: {
|
|
162
|
+
copyLink: "Copy link to this section",
|
|
163
|
+
linkCopied: "Link copied to clipboard.",
|
|
164
|
+
linkCopyError: "Unable to copy the link."
|
|
160
165
|
}
|
|
161
166
|
}, i = {
|
|
162
167
|
actions: {
|
|
@@ -315,6 +320,11 @@ var r = {
|
|
|
315
320
|
version: "Version",
|
|
316
321
|
environment: "Environnement",
|
|
317
322
|
buildDate: "Date de build"
|
|
323
|
+
},
|
|
324
|
+
markdown: {
|
|
325
|
+
copyLink: "Copier le lien vers cette section",
|
|
326
|
+
linkCopied: "Lien copié dans le presse-papiers.",
|
|
327
|
+
linkCopyError: "Impossible de copier le lien."
|
|
318
328
|
}
|
|
319
329
|
}, a = "krosoft", o = {
|
|
320
330
|
fr: i,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import "./ImageInput-
|
|
4
|
-
import "./MultiSelect-
|
|
5
|
-
import "./SearchInput-
|
|
2
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
3
|
+
import "./ImageInput-BN_CDiia.js";
|
|
4
|
+
import "./MultiSelect-DiUQjZ58.js";
|
|
5
|
+
import "./SearchInput-gCpPsJHL.js";
|
|
6
6
|
import { useRef as n, useState as r } from "react";
|
|
7
7
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
8
8
|
import { Heart as s, Loader2 as c, Star as l, UploadIcon as u } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./i18n-
|
|
1
|
+
import { t as e } from "./i18n-BLIrm5Rk.js";
|
|
2
2
|
import { c as t, i as n, n as r, r as i, t as a } from "./tooltip-_geGvbS7.js";
|
|
3
3
|
import { i as o, l as s, n as c, t as l, u } from "./select-KWMg2_7Z.js";
|
|
4
|
-
import { t as d } from "./useLanguage-
|
|
4
|
+
import { t as d } from "./useLanguage-CPfCdO2T.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
7
7
|
import { LanguagesIcon as m } from "lucide-react";
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
+
import { t } from "./markdown.helper-YJE2H5KQ.js";
|
|
3
|
+
import { t as n } from "./i18n-BLIrm5Rk.js";
|
|
4
|
+
import { t as r } from "./useNotifications-CyhTruIG.js";
|
|
5
|
+
import { useEffect as i } from "react";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
+
import { LinkIcon as s } from "lucide-react";
|
|
8
|
+
import { useLocation as c, useNavigate as l } from "react-router-dom";
|
|
9
|
+
import u from "react-markdown";
|
|
10
|
+
import d from "rehype-slug";
|
|
11
|
+
import f from "remark-gfm";
|
|
12
|
+
//#region src/components/core/markdown/AppMarkdownHeading.tsx
|
|
13
|
+
var p = {
|
|
14
|
+
2: "h2",
|
|
15
|
+
3: "h3",
|
|
16
|
+
4: "h4"
|
|
17
|
+
}, m = ({ level: t, className: i, id: u, anchor: d = !0, children: f }) => {
|
|
18
|
+
let { t: m } = n(), { showSuccess: h, showError: g } = r(), _ = c(), v = l(), y = p[t];
|
|
19
|
+
if (!d || !u) return /* @__PURE__ */ a(y, {
|
|
20
|
+
id: u,
|
|
21
|
+
className: i,
|
|
22
|
+
children: f
|
|
23
|
+
});
|
|
24
|
+
let b = async () => {
|
|
25
|
+
v({
|
|
26
|
+
search: _.search,
|
|
27
|
+
hash: `#${u}`
|
|
28
|
+
}, { replace: !0 });
|
|
29
|
+
let e = `${window.location.origin}${_.pathname}${_.search}#${u}`;
|
|
30
|
+
try {
|
|
31
|
+
await navigator.clipboard.writeText(e), h(m("markdown.linkCopied"));
|
|
32
|
+
} catch {
|
|
33
|
+
g(m("markdown.linkCopyError"));
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ o(y, {
|
|
37
|
+
id: u,
|
|
38
|
+
className: e("group", i),
|
|
39
|
+
children: [f, /* @__PURE__ */ a("button", {
|
|
40
|
+
type: "button",
|
|
41
|
+
onClick: () => void b(),
|
|
42
|
+
title: m("markdown.copyLink"),
|
|
43
|
+
"aria-label": m("markdown.copyLink"),
|
|
44
|
+
className: "ml-2 inline-flex align-middle text-muted-foreground transition-opacity hover:text-primary md:opacity-0 md:group-hover:opacity-100 md:focus-visible:opacity-100",
|
|
45
|
+
children: /* @__PURE__ */ a(s, { className: "size-4" })
|
|
46
|
+
})]
|
|
47
|
+
});
|
|
48
|
+
}, h = ({ content: n, headingAnchors: r = !0 }) => {
|
|
49
|
+
let o = c(), s = l(), { hash: p } = o;
|
|
50
|
+
i(() => {
|
|
51
|
+
if (!r || !p) return;
|
|
52
|
+
let e = decodeURIComponent(p.slice(1)), t = requestAnimationFrame(() => {
|
|
53
|
+
document.getElementById(e)?.scrollIntoView({
|
|
54
|
+
behavior: "smooth",
|
|
55
|
+
block: "start"
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
return () => {
|
|
59
|
+
cancelAnimationFrame(t);
|
|
60
|
+
};
|
|
61
|
+
}, [
|
|
62
|
+
r,
|
|
63
|
+
p,
|
|
64
|
+
n
|
|
65
|
+
]);
|
|
66
|
+
let h = (e, t) => {
|
|
67
|
+
let n = decodeURIComponent(t.slice(1)), i = document.getElementById(n);
|
|
68
|
+
i && (e.preventDefault(), r ? s({
|
|
69
|
+
search: o.search,
|
|
70
|
+
hash: t
|
|
71
|
+
}) : i.scrollIntoView({
|
|
72
|
+
behavior: "smooth",
|
|
73
|
+
block: "start"
|
|
74
|
+
}));
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ a(u, {
|
|
77
|
+
remarkPlugins: [f],
|
|
78
|
+
rehypePlugins: [d, t],
|
|
79
|
+
components: {
|
|
80
|
+
h1: ({ id: e, children: t }) => /* @__PURE__ */ a("h1", {
|
|
81
|
+
id: e,
|
|
82
|
+
className: "text-2xl font-bold text-foreground mt-2 mb-4 first:mt-0 scroll-mt-4",
|
|
83
|
+
children: t
|
|
84
|
+
}),
|
|
85
|
+
h2: ({ id: t, children: n }) => /* @__PURE__ */ a(m, {
|
|
86
|
+
anchor: r,
|
|
87
|
+
level: 2,
|
|
88
|
+
id: t,
|
|
89
|
+
className: e("text-xl font-semibold text-foreground mt-8 mb-3 border-b pb-2 scroll-mt-4", !r && "first:mt-0"),
|
|
90
|
+
children: n
|
|
91
|
+
}),
|
|
92
|
+
h3: ({ id: e, children: t }) => /* @__PURE__ */ a(m, {
|
|
93
|
+
anchor: r,
|
|
94
|
+
level: 3,
|
|
95
|
+
id: e,
|
|
96
|
+
className: "text-base font-semibold text-foreground mt-6 mb-2 scroll-mt-4",
|
|
97
|
+
children: t
|
|
98
|
+
}),
|
|
99
|
+
h4: ({ id: e, children: t }) => /* @__PURE__ */ a(m, {
|
|
100
|
+
anchor: r,
|
|
101
|
+
level: 4,
|
|
102
|
+
id: e,
|
|
103
|
+
className: "text-sm font-semibold text-foreground mt-4 mb-2 scroll-mt-4",
|
|
104
|
+
children: t
|
|
105
|
+
}),
|
|
106
|
+
p: ({ children: e }) => /* @__PURE__ */ a("p", {
|
|
107
|
+
className: "text-sm text-foreground leading-relaxed mb-3",
|
|
108
|
+
children: e
|
|
109
|
+
}),
|
|
110
|
+
a: ({ href: e, children: t }) => {
|
|
111
|
+
let n = e?.startsWith("#");
|
|
112
|
+
return /* @__PURE__ */ a("a", {
|
|
113
|
+
href: e,
|
|
114
|
+
target: n ? void 0 : "_blank",
|
|
115
|
+
rel: n ? void 0 : "noopener noreferrer",
|
|
116
|
+
onClick: n && e ? (t) => {
|
|
117
|
+
h(t, e);
|
|
118
|
+
} : void 0,
|
|
119
|
+
className: "text-primary underline underline-offset-2 hover:opacity-80",
|
|
120
|
+
children: t
|
|
121
|
+
});
|
|
122
|
+
},
|
|
123
|
+
ul: ({ children: e }) => /* @__PURE__ */ a("ul", {
|
|
124
|
+
className: "list-disc pl-6 mb-3 space-y-1 text-sm text-foreground",
|
|
125
|
+
children: e
|
|
126
|
+
}),
|
|
127
|
+
ol: ({ children: e }) => /* @__PURE__ */ a("ol", {
|
|
128
|
+
className: "list-decimal pl-6 mb-3 space-y-1 text-sm text-foreground",
|
|
129
|
+
children: e
|
|
130
|
+
}),
|
|
131
|
+
blockquote: ({ children: e }) => /* @__PURE__ */ a("blockquote", {
|
|
132
|
+
className: "border-l-4 border-muted-foreground/30 bg-muted/50 px-4 py-2 mb-3 text-sm text-muted-foreground [&>p]:mb-0",
|
|
133
|
+
children: e
|
|
134
|
+
}),
|
|
135
|
+
code: ({ className: e, children: t }) => e ? /* @__PURE__ */ a("code", {
|
|
136
|
+
className: `${e} block text-xs font-mono`,
|
|
137
|
+
children: t
|
|
138
|
+
}) : /* @__PURE__ */ a("code", {
|
|
139
|
+
className: "text-xs font-mono bg-muted px-1.5 py-0.5 rounded",
|
|
140
|
+
children: t
|
|
141
|
+
}),
|
|
142
|
+
pre: ({ children: e }) => /* @__PURE__ */ a("pre", {
|
|
143
|
+
className: "bg-muted rounded-md p-4 mb-3 overflow-x-auto",
|
|
144
|
+
children: e
|
|
145
|
+
}),
|
|
146
|
+
table: ({ children: e }) => /* @__PURE__ */ a("div", {
|
|
147
|
+
className: "overflow-x-auto mb-3",
|
|
148
|
+
children: /* @__PURE__ */ a("table", {
|
|
149
|
+
className: "w-full text-sm border-collapse",
|
|
150
|
+
children: e
|
|
151
|
+
})
|
|
152
|
+
}),
|
|
153
|
+
thead: ({ children: e }) => /* @__PURE__ */ a("thead", {
|
|
154
|
+
className: "border-b",
|
|
155
|
+
children: e
|
|
156
|
+
}),
|
|
157
|
+
th: ({ children: e }) => /* @__PURE__ */ a("th", {
|
|
158
|
+
className: "text-left font-semibold text-foreground px-3 py-2",
|
|
159
|
+
children: e
|
|
160
|
+
}),
|
|
161
|
+
td: ({ children: e }) => /* @__PURE__ */ a("td", {
|
|
162
|
+
className: "border-b border-muted px-3 py-2 text-foreground",
|
|
163
|
+
children: e
|
|
164
|
+
}),
|
|
165
|
+
hr: () => /* @__PURE__ */ a("hr", { className: "my-6 border-muted" })
|
|
166
|
+
},
|
|
167
|
+
children: n
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
//#endregion
|
|
171
|
+
export { h as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/helpers/markdown.helper.ts
|
|
2
|
+
var e = /* @__PURE__ */ new Set([
|
|
3
|
+
"h1",
|
|
4
|
+
"h2",
|
|
5
|
+
"h3",
|
|
6
|
+
"h4",
|
|
7
|
+
"h5",
|
|
8
|
+
"h6"
|
|
9
|
+
]), t = /\[v?(\d+(?:\.\d+)+)]/, n = (e) => e.type === "text" ? e.value ?? "" : (e.children ?? []).map(n).join(""), r = () => (r) => {
|
|
10
|
+
let i = (r) => {
|
|
11
|
+
if (r.type === "element" && r.tagName && e.has(r.tagName)) {
|
|
12
|
+
let e = t.exec(n(r))?.[1];
|
|
13
|
+
e && (r.properties = {
|
|
14
|
+
...r.properties,
|
|
15
|
+
id: `v${e}`
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
r.children?.forEach(i);
|
|
19
|
+
};
|
|
20
|
+
i(r);
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { r as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
2
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
3
3
|
import { c as n, i as r, n as i, r as a, t as o } from "./tooltip-_geGvbS7.js";
|
|
4
|
-
import { C as s, S as c, b as l, d as u, g as d, h as f, i as p, l as m, m as h, p as g, r as _, t as v, v as y, x as b, y as x } from "./sheet-
|
|
4
|
+
import { C as s, S as c, b as l, d as u, g as d, h as f, i as p, l as m, m as h, p as g, r as _, t as v, v as y, x as b, y as x } from "./sheet-BclAzFlO.js";
|
|
5
5
|
import { t as S } from "./skeleton-D6Ga4BLw.js";
|
|
6
|
-
import { l as C } from "./behavior-
|
|
6
|
+
import { l as C } from "./behavior-DHRFESHv.js";
|
|
7
7
|
import "./hooks/index.js";
|
|
8
8
|
import * as w from "react";
|
|
9
9
|
import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
|
package/dist/pwa/index.js
CHANGED
package/dist/seasonal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../i18n-
|
|
1
|
+
import { t as e } from "../i18n-BLIrm5Rk.js";
|
|
2
2
|
import { n as t, t as n } from "../switch-DzZwmpBG.js";
|
|
3
3
|
import { t as r } from "../useNotifications-CyhTruIG.js";
|
|
4
4
|
import { useCallback as i, useMemo as a, useSyncExternalStore as o } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import "./helpers/index.js";
|
|
3
|
-
import { t } from "./i18n-
|
|
3
|
+
import { t } from "./i18n-BLIrm5Rk.js";
|
|
4
4
|
import { a as n } from "./tooltip-_geGvbS7.js";
|
|
5
5
|
import * as r from "react";
|
|
6
6
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./i18n-
|
|
2
|
-
import "./ErrorAlert-
|
|
1
|
+
import { t as e } from "./i18n-BLIrm5Rk.js";
|
|
2
|
+
import "./ErrorAlert-BlFBMJKb.js";
|
|
3
3
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
4
|
import { Loader2Icon as r } from "lucide-react";
|
|
5
5
|
//#region src/components/core/states/ErrorState.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./i18n-
|
|
1
|
+
import { t as e } from "./i18n-BLIrm5Rk.js";
|
|
2
2
|
import { c as t, i as n, n as r, r as i, t as a } from "./tooltip-_geGvbS7.js";
|
|
3
3
|
import { i as o, l as s, n as c, t as l, u } from "./select-KWMg2_7Z.js";
|
|
4
|
-
import { t as d } from "./useTheme-
|
|
4
|
+
import { t as d } from "./useTheme-Cbep8NPk.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/core/theme/ThemeSelector.tsx
|
|
@@ -3,10 +3,10 @@ import "./useToast-UeDRLovh.js";
|
|
|
3
3
|
import "./useMobile-pTQ8lWvt.js";
|
|
4
4
|
import "./useNotifications-CyhTruIG.js";
|
|
5
5
|
import "./useFixedColumns-Bo-Az3Hp.js";
|
|
6
|
-
import "./useDocumentTitle-
|
|
7
|
-
import "./useLanguage-
|
|
6
|
+
import "./useDocumentTitle-DKldGP8V.js";
|
|
7
|
+
import "./useLanguage-CPfCdO2T.js";
|
|
8
8
|
import "./constants/index.js";
|
|
9
|
-
import "./useTheme-
|
|
9
|
+
import "./useTheme-Cbep8NPk.js";
|
|
10
10
|
import { useCallback as e, useEffect as t, useState as n } from "react";
|
|
11
11
|
//#region src/hooks/ui/useServerTable.ts
|
|
12
12
|
function r(r, i = "nom", a = {}) {
|
|
@@ -3,7 +3,7 @@ import "./helpers/index.js";
|
|
|
3
3
|
import "./chart-Dq3AIrue.js";
|
|
4
4
|
import "./alert-REQGK9bR.js";
|
|
5
5
|
import { c as t, l as n } from "./tooltip-_geGvbS7.js";
|
|
6
|
-
import "./sheet-
|
|
6
|
+
import "./sheet-BclAzFlO.js";
|
|
7
7
|
import { n as r } from "./switch-DzZwmpBG.js";
|
|
8
8
|
import "./select-KWMg2_7Z.js";
|
|
9
9
|
import "./skeleton-D6Ga4BLw.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krosoft/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.370",
|
|
4
4
|
"description": "Krosoft shared React package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -94,8 +94,11 @@
|
|
|
94
94
|
"lucide-react": "^1.64.0",
|
|
95
95
|
"react-day-picker": "^10.0.2",
|
|
96
96
|
"react-hook-form": "^7.91.0",
|
|
97
|
+
"react-markdown": "^10.1.0",
|
|
97
98
|
"react-resizable-panels": "^4.15.1",
|
|
98
99
|
"recharts": "^3.10.1",
|
|
100
|
+
"rehype-slug": "^6.0.0",
|
|
101
|
+
"remark-gfm": "^4.0.1",
|
|
99
102
|
"sonner": "^2.0.8",
|
|
100
103
|
"tailwind-merge": "^2.6.1",
|
|
101
104
|
"tailwindcss-animate": "^1.0.7",
|