aristid-ds 8.0.0-d8e89ec → 8.0.0-e14b2c4
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/CHANGELOG.md +38 -0
- package/dist/Kit/App/index.js +32 -31
- package/dist/Kit/DataDisplay/Avatar/index.js +1 -1
- package/dist/Kit/DataDisplay/Badge/index.js +8 -8
- package/dist/Kit/DataDisplay/Collapse/index.js +1 -1
- package/dist/Kit/DataDisplay/Empty/index.js +1 -1
- package/dist/Kit/DataDisplay/Error/index.js +1 -1
- package/dist/Kit/DataDisplay/IdCard/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemCard/index.js +2 -2
- package/dist/Kit/DataDisplay/ItemList/index.js +2 -2
- package/dist/Kit/DataDisplay/RedirectCard/index.js +7 -7
- package/dist/Kit/DataDisplay/Table/index.js +25 -25
- package/dist/Kit/DataDisplay/Tabs/index.js +5 -5
- package/dist/Kit/DataDisplay/Tag/index.js +1 -1
- package/dist/Kit/DataDisplay/Tree/index.js +6 -6
- package/dist/Kit/DataDisplay/index.js +1 -1
- package/dist/Kit/DataEntry/AutoComplete/index.js +1 -1
- package/dist/Kit/DataEntry/Checkbox/index.js +11 -11
- package/dist/Kit/DataEntry/ColorPicker/index.js +5 -5
- package/dist/Kit/DataEntry/DatePicker/index.js +19 -19
- package/dist/Kit/DataEntry/Input/index.js +15 -15
- package/dist/Kit/DataEntry/InputNumber/index.js +7 -7
- package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
- package/dist/Kit/DataEntry/Radio/index.js +9 -9
- package/dist/Kit/DataEntry/Rate/index.js +4 -4
- package/dist/Kit/DataEntry/Select/index.js +2 -2
- package/dist/Kit/DataEntry/Slider/index.js +9 -9
- package/dist/Kit/DataEntry/Switch/index.js +5 -5
- package/dist/Kit/DataEntry/Upload/index.js +16 -16
- package/dist/Kit/DataEntry/index.js +2 -2
- package/dist/Kit/Feedback/Alert/index.js +6 -6
- package/dist/Kit/Feedback/Loader/index.js +9 -9
- package/dist/Kit/Feedback/Modal/index.js +1 -1
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/SnackBar/index.js +11 -11
- package/dist/Kit/Feedback/index.js +1 -1
- package/dist/Kit/General/Button/index.js +13 -13
- package/dist/Kit/General/Icon/index.js +8 -8
- package/dist/Kit/Layout/Section/index.js +6 -6
- package/dist/Kit/Navigation/Breadcrumb/index.js +9 -9
- package/dist/Kit/Navigation/DropDown/index.js +30 -9
- package/dist/Kit/Navigation/Header/index.js +1 -1
- package/dist/Kit/Navigation/Header/types.d.ts +6 -1
- package/dist/Kit/Navigation/Menu/index.d.ts +3 -0
- package/dist/Kit/Navigation/Menu/index.js +1 -1
- package/dist/Kit/Navigation/PageHeader/index.js +1 -1
- package/dist/Kit/Navigation/Pagination/index.js +1 -1
- package/dist/Kit/Navigation/SideMenu/index.js +1 -1
- package/dist/Kit/Navigation/Steps/index.js +22 -10
- package/dist/Kit/Navigation/index.js +1 -1
- package/dist/Kit/index.js +3 -3
- package/dist/assets/Avatar.css +1 -1
- package/dist/assets/InputWrapper.css +1 -1
- package/dist/assets/KitNotification.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/chunks/Avatar.N2w2jq_C.js +30 -0
- package/dist/chunks/InputWrapper.vbAs3Gxi.js +30 -0
- package/dist/chunks/{KitNotification.YKY0mq-u.js → KitNotification.GMSsnt0S.js} +5 -5
- package/dist/chunks/index.8ubgPqV2.js +530 -0
- package/dist/chunks/notification-provider.5EFnJe91.js +74 -0
- package/dist/chunks/{styles.module.XgQ5x7Pq.js → styles.module.taPo3VoP.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +6 -5
- package/dist/theme/aristid/components/Navigation/DropDown/index.js +0 -1
- package/dist/theme/aristid/general/colors/index.js +106 -106
- package/dist/theme/aristid/general/utilities/index.js +65 -65
- package/dist/theme/types/components/Navigation/DropDown/index.d.ts +0 -6
- package/dist/theme/types/general/colors/index.d.ts +50 -50
- package/dist/theme/types/utilities/index.d.ts +62 -62
- package/dist/theme/utils/testTokens.d.ts +49 -49
- package/dist/theme/utils/tokens-mapper/DataDisplay/Badge/index.js +6 -6
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tabs/index.js +8 -8
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tooltip/index.d.ts +1 -1
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tooltip/index.js +4 -4
- package/dist/theme/utils/tokens-mapper/DataEntry/Checkbox/index.js +4 -4
- package/dist/theme/utils/tokens-mapper/DataEntry/ColorPicker/index.js +5 -5
- package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.js +11 -11
- package/dist/theme/utils/tokens-mapper/DataEntry/Form/index.js +3 -3
- package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.js +8 -8
- package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.js +5 -5
- package/dist/theme/utils/tokens-mapper/DataEntry/Rate/index.js +1 -1
- package/dist/theme/utils/tokens-mapper/DataEntry/Slider/index.js +8 -8
- package/dist/theme/utils/tokens-mapper/Feedback/Alert/index.js +11 -11
- package/dist/theme/utils/tokens-mapper/Feedback/Progress/index.js +6 -6
- package/dist/theme/utils/tokens-mapper/Layout/Divider/index.js +7 -7
- package/dist/theme/utils/tokens-mapper/Navigation/Pagination/index.js +9 -9
- package/dist/theme/utils/tokens-mapper/Navigation/Steps/index.js +9 -9
- package/dist/utils/functions/index.js +20 -31
- package/package.json +1 -1
- package/dist/chunks/Avatar.icARSD26.js +0 -30
- package/dist/chunks/InputWrapper.OOEt7qkE.js +0 -26
- package/dist/chunks/index.uizEBfCW.js +0 -507
- package/dist/chunks/notification-provider.EgQZHEbE.js +0 -74
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [x.x.x](https://www.npmjs.com/package/aristid-ds/v/X.X.X) (2024-07-31)
|
|
4
|
+
|
|
5
|
+
### 🎨 Theming
|
|
6
|
+
|
|
7
|
+
- **⚠️ Breaking change - Update tokens and CSS variables:**
|
|
8
|
+
|
|
9
|
+
- Rename last part of color tokens. The color name does not appear anymore. Exemple:
|
|
10
|
+
`primary.blue100` is now `primary.100`. This applies to all colors. (@evoiron)
|
|
11
|
+
- Rename utilities colors tokens: (@evoiron)
|
|
12
|
+
- Same as color tokens. Exemple: `main.mainLight` is now `main.light`(@evoiron)
|
|
13
|
+
- Rename `main.mainColor` as `main.default` (@evoiron)
|
|
14
|
+
- Rename `error.errorColor` as `error.default` (@evoiron)
|
|
15
|
+
- Rename `success.successColor` as `success.default` (@evoiron)
|
|
16
|
+
- Rename `warning.warningColor` as `warning.default` (@evoiron)
|
|
17
|
+
- Rename `shadow.shadowLight` as `shadow.light`, `shadow.shadowMedium` as `shadow.medium`,
|
|
18
|
+
`shadow.shadowBlue` as `shadow.blue` (@evoiron)
|
|
19
|
+
|
|
20
|
+
> If you use tokens or css variables in your application, we strongly recommend that you update them and prefer to use utilities.
|
|
21
|
+
|
|
22
|
+
### ✨ Features
|
|
23
|
+
|
|
24
|
+
- **⚠️ Breaking change - Header Component:**
|
|
25
|
+
- Rename `menuCard` prop of `Header.Profile` to `profileCardProps` and change its type from `ReactNode` to `IKitIdCard` (@evoiron)
|
|
26
|
+
- Add `profileMenuCardProps` in `Header.Profile` as `IKitIdCard` (@evoiron)
|
|
27
|
+
- Add `complement` in `Header.Profile` as `ReactNode` (@evoiron)
|
|
28
|
+
|
|
29
|
+
- **Dropdown:**
|
|
30
|
+
- Update border, active & selected styles (@renaudAmsellem)
|
|
31
|
+
- Add new example with custom items (@renaudAmsellem)
|
|
32
|
+
- **DatePicker:**
|
|
33
|
+
- Update font used for icons (@philippechevieux)
|
|
34
|
+
- Update icons used as separator (@philippechevieux)
|
|
35
|
+
- **Steps:**
|
|
36
|
+
- Update overall styles (@renaudAmsellem)
|
|
37
|
+
- **Menu (Deprecated):**
|
|
38
|
+
- Deprecate Menu component
|
|
39
|
+
- Move Menu documentation to deprecated folder
|
|
40
|
+
|
|
3
41
|
## [8.0.0](https://www.npmjs.com/package/aristid-ds/v/8.0.0) (2024-07-25)
|
|
4
42
|
|
|
5
43
|
### ✨ Features
|
package/dist/Kit/App/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "../../assets/index22.css";
|
|
2
|
-
import { jsx as n, jsxs as d, Fragment as
|
|
2
|
+
import { jsx as n, jsxs as d, Fragment as K } from "react/jsx-runtime";
|
|
3
3
|
import { useState as f, useLayoutEffect as h, useRef as L, useEffect as S } from "react";
|
|
4
4
|
import { ConfigProvider as P } from "antd";
|
|
5
5
|
import { K as C } from "../../chunks/SnackBarProvider.xMKXdZ88.js";
|
|
6
|
-
import { createGlobalStyle as
|
|
7
|
-
import { toCssVariables as u, uuid as
|
|
6
|
+
import { createGlobalStyle as T } from "styled-components";
|
|
7
|
+
import { toCssVariables as u, uuid as b } from "../../utils/functions/index.js";
|
|
8
8
|
import a from "lodash/merge";
|
|
9
|
-
import { Style as
|
|
10
|
-
import { K as
|
|
9
|
+
import { Style as y } from "react-style-tag";
|
|
10
|
+
import { K as E } from "../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
11
11
|
import { KitAristidThemeGeneral as m } from "../../theme/aristid/general/index.js";
|
|
12
12
|
import { antdThemeConfig as k } from "../../theme/utils/tokens-mapper/index.js";
|
|
13
13
|
import { frFR as p } from "../../translation/fr-FR/index.js";
|
|
14
14
|
import { enUS as x } from "../../translation/en-US/index.js";
|
|
15
15
|
import { K as A, u as F } from "../../chunks/useKitLocale.96CdK3og.js";
|
|
16
16
|
import { mapKitLocaleToAntdLocale as I } from "../../translation/utils/index.js";
|
|
17
|
-
import { d as $ } from "../../chunks/notification-provider.
|
|
17
|
+
import { d as $ } from "../../chunks/notification-provider.5EFnJe91.js";
|
|
18
18
|
import "../DataDisplay/Avatar/index.js";
|
|
19
19
|
import "../DataDisplay/Badge/index.js";
|
|
20
|
-
import "../../chunks/index.
|
|
20
|
+
import "../../chunks/index.8ubgPqV2.js";
|
|
21
21
|
import { KitEmpty as c } from "../DataDisplay/Empty/index.js";
|
|
22
22
|
import "../DataDisplay/Error/index.js";
|
|
23
23
|
import "../DataDisplay/IdCard/index.js";
|
|
@@ -28,47 +28,48 @@ import "../DataDisplay/Tree/index.js";
|
|
|
28
28
|
import "../DataDisplay/Tooltip/index.js";
|
|
29
29
|
import "classnames";
|
|
30
30
|
import "../DataDisplay/RedirectCard/index.js";
|
|
31
|
-
const j =
|
|
32
|
-
.${(
|
|
33
|
-
|
|
31
|
+
const j = T`
|
|
32
|
+
.${(t) => t.id} {
|
|
33
|
+
${(t) => u(t.customTheme)};
|
|
34
|
+
|
|
34
35
|
}
|
|
35
|
-
`, R = "aristid-ds-global", _ = ({ children:
|
|
36
|
-
const [
|
|
36
|
+
`, R = "aristid-ds-global", _ = ({ children: t, customTheme: r, id: i }) => {
|
|
37
|
+
const [o, e] = f(null), { theme: g, appId: l, spacing: v } = G(i, r);
|
|
37
38
|
return h(() => {
|
|
38
39
|
const s = u(m, "--general");
|
|
39
40
|
e(s);
|
|
40
|
-
}, []), n(
|
|
41
|
+
}, []), n(E.Provider, { value: { theme: g, appId: l, spacing: v }, children: o !== null && d(K, { children: [n(y, { id: R, hasSourceMap: !1, children: `
|
|
41
42
|
:root{
|
|
42
|
-
${Object.keys(
|
|
43
|
+
${Object.keys(o).map((s) => `${s}: ${o[s]}`).join(";")}
|
|
43
44
|
}
|
|
44
|
-
` }), r && n(j, { id: l, customTheme: r }),
|
|
45
|
-
}, G = (
|
|
45
|
+
` }), r && n(j, { id: l, customTheme: a({ general: { utilities: m.utilities } }, r) }), t] }) });
|
|
46
|
+
}, G = (t, r) => {
|
|
46
47
|
var i;
|
|
47
|
-
const
|
|
48
|
-
return { theme: m, appId:
|
|
49
|
-
}, N = ({ children:
|
|
48
|
+
const o = L(t || "ds-" + b().substring(0, 8)), e = a(m.spacing, (i = r == null ? void 0 : r.general) === null || i === void 0 ? void 0 : i.spacing);
|
|
49
|
+
return { theme: m, appId: o.current, spacing: e };
|
|
50
|
+
}, N = ({ children: t }) => {
|
|
50
51
|
const r = U();
|
|
51
|
-
return n(A.Provider, { value: r, children:
|
|
52
|
+
return n(A.Provider, { value: r, children: t });
|
|
52
53
|
}, U = () => {
|
|
53
|
-
const [
|
|
54
|
-
return { locale:
|
|
55
|
-
if (
|
|
56
|
-
const e = a(p,
|
|
54
|
+
const [t, r] = f(p);
|
|
55
|
+
return { locale: t, setKitLocale: (o) => {
|
|
56
|
+
if (o.locale === "frFR") {
|
|
57
|
+
const e = a(p, o);
|
|
57
58
|
r(e);
|
|
58
59
|
} else {
|
|
59
|
-
const e = a(x,
|
|
60
|
+
const e = a(x, o);
|
|
60
61
|
r(e);
|
|
61
62
|
}
|
|
62
63
|
} };
|
|
63
|
-
},
|
|
64
|
-
const { locale: i, setKitLocale:
|
|
64
|
+
}, vr = ({ children: t, locale: r, customTheme: i, id: o }) => n(_, { customTheme: i, id: o, children: n(N, { children: n(V, { locale: r, children: t }) }) }), V = ({ children: t, locale: r }) => {
|
|
65
|
+
const { locale: i, setKitLocale: o } = F();
|
|
65
66
|
return S(() => {
|
|
66
|
-
r !== void 0 &&
|
|
67
|
-
}, [r,
|
|
67
|
+
r !== void 0 && o(r);
|
|
68
|
+
}, [r, o]), n(P, { theme: k, locale: I(r), renderEmpty: () => {
|
|
68
69
|
var e;
|
|
69
70
|
return n(c, { className: "default-render", image: c.ASSET_LIST, description: (e = i.Empty) === null || e === void 0 ? void 0 : e.noData });
|
|
70
|
-
}, children: d($, { children: [n(C, {}),
|
|
71
|
+
}, children: d($, { children: [n(C, {}), t] }) });
|
|
71
72
|
};
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
vr as KitApp
|
|
74
75
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as a, K as m } from "../../../chunks/Avatar.
|
|
1
|
+
import { s as a, K as m } from "../../../chunks/Avatar.N2w2jq_C.js";
|
|
2
2
|
import { jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { Avatar as l } from "antd";
|
|
4
4
|
import { u as n } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../../../assets/index.css";
|
|
2
2
|
import { jsx as g } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo as d } from "react";
|
|
4
|
-
import { Badge as
|
|
5
|
-
import { u } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
|
-
import { isValidColor as
|
|
4
|
+
import { Badge as u } from "antd";
|
|
5
|
+
import { u as f } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
|
+
import { isValidColor as l, getColor as n, getLighterColor as c } from "../../../utils/functions/index.js";
|
|
7
7
|
import { kitBadgeCssTokens as s } from "../../../theme/aristid/components/DataDisplay/Badge/index.js";
|
|
8
8
|
import k from "classnames";
|
|
9
9
|
const b = {
|
|
10
|
-
"kit-badge": "_kit-
|
|
11
|
-
}, B = (t, o) => !t || !
|
|
10
|
+
"kit-badge": "_kit-badge_9qdi1_2"
|
|
11
|
+
}, B = (t, o) => !t || !l(t) ? null : {
|
|
12
12
|
[s.colors.background.default]: n(t, o),
|
|
13
13
|
[s.colors.typography.default]: c(t, o)
|
|
14
|
-
}, C = ({ color: t, style: o, secondaryColorInvert: e = !1, className:
|
|
15
|
-
const { appId:
|
|
16
|
-
return g(
|
|
14
|
+
}, C = ({ color: t, style: o, secondaryColorInvert: e = !1, className: i, ...m }) => {
|
|
15
|
+
const { appId: r } = f(), a = d(() => ({ ...o, ...B(t, e) }), [t, e, o]), p = k(r, b["kit-badge"], i);
|
|
16
|
+
return g(u, { style: a, ...m, className: p });
|
|
17
17
|
};
|
|
18
18
|
C.displayName = "KitBadge";
|
|
19
19
|
export {
|
|
@@ -6,7 +6,7 @@ import { KitTypography as o } from "../../General/Typography/index.js";
|
|
|
6
6
|
import { KitSpace as g } from "../../Layout/Space/index.js";
|
|
7
7
|
import x from "classnames";
|
|
8
8
|
const w = e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "41 42 124 106", children: [a("path", { className: "fill-100", d: "M150.941 132.426V66.624a4 4 0 0 0-4-4H99.969a4 4 0 0 1-4-4V57.1a4 4 0 0 0-4-4H44.997a4 4 0 0 0-4 4v75.325a4 4 0 0 0 4 4h101.944a4 4 0 0 0 4-4Z" }), e("g", { filter: "url(#filter-folder)", children: [a("path", { className: "fill-white", d: "M71.978 144V91.68a4 4 0 0 1 4-4h35.507a3.892 3.892 0 0 0 3.892-3.891 3.891 3.891 0 0 1 3.891-3.892h35.507a4 4 0 0 1 4 4V144a4 4 0 0 1-4 4H75.978a4 4 0 0 1-4-4Z" }), a("path", { className: "stroke-400", d: "M72.478 91.68V144a3.5 3.5 0 0 0 3.5 3.5h78.797a3.5 3.5 0 0 0 3.5-3.5V83.897a3.5 3.5 0 0 0-3.5-3.5h-35.507a3.391 3.391 0 0 0-3.391 3.392 4.392 4.392 0 0 1-4.392 4.392H75.978a3.5 3.5 0 0 0-3.5 3.5Z" })] }), a("path", { className: "fill-200", d: "M55 108a4 4 0 0 1 4-4h34a4 4 0 0 1 0 8H59a4 4 0 0 1-4-4ZM55 121a4 4 0 0 1 4-4h66a4 4 0 0 1 0 8H59a4 4 0 0 1-4-4Z" }), a("path", { className: "fill-400", d: "M165 82a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM71.996 54.571a2.67 2.67 0 0 0-3.777 0l-11.33 11.33a2.67 2.67 0 0 0 3.776 3.778l11.33-11.331a2.67 2.67 0 0 0 0-3.777Z" }), a("path", { className: "fill-white stroke-400", strokeWidth: "2", d: "M74.113 43c-5.347 0-9.683 4.335-9.683 9.683 0 5.347 4.335 9.683 9.683 9.683s9.683-4.336 9.683-9.683c0-5.348-4.335-9.683-9.683-9.683Z" }), a("defs", { children: e("filter", { id: "filter-folder", width: "102.798", height: "84.103", x: "63.978", y: "74.897", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse", children: [a("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), a("feColorMatrix", { in: "SourceAlpha", result: "hardAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), a("feOffset", { dy: "3" }), a("feGaussianBlur", { stdDeviation: "4" }), a("feComposite", { in2: "hardAlpha", operator: "out" }), a("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }), a("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_5857_64030" }), a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_5857_64030", result: "shape" })] }) })] }), M = e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "17 46 161 108", children: [a("path", { className: "fill-100", d: "M17 110a8 8 0 0 1 8-8h72a8 8 0 0 1 8 8v30a8 8 0 0 1-8 8H25a8 8 0 0 1-8-8v-30Z" }), a("path", { className: "fill-200", d: "M33 118a3 3 0 0 1 3-3h26a3 3 0 1 1 0 6H36a3 3 0 0 1-3-3ZM89 118a8 8 0 1 0-16 0 8 8 0 0 0 16 0Z" }), a("path", { className: "fill-white", d: "M33 137a3 3 0 0 1 3-3h50a3 3 0 1 1 0 6H36a3 3 0 0 1-3-3Z" }), a("path", { className: "fill-100", d: "M114 61a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v44a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8V61Z" }), a("path", { className: "fill-200", d: "M154 69a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM130 88a3 3 0 0 1 3-3h26a3 3 0 1 1 0 6h-26a3 3 0 0 1-3-3Z" }), a("path", { className: "fill-white", d: "M130 102a3 3 0 0 1 3-3h26a3 3 0 1 1 0 6h-26a3 3 0 0 1-3-3Z" }), a("path", { className: "stroke-400", strokeLinecap: "round", strokeWidth: "2", d: "M47 140.529V149a4 4 0 0 0 4 4h8.47M140.529 153H149a4 4 0 0 0 4-4v-8.471M59.47 47H51a4 4 0 0 0-4 4v8.47M153 59.47V51a4 4 0 0 0-4-4h-8.471" }), e("g", { filter: "url(#filter-list)", children: [a("path", { className: "fill-white", d: "M47 90a8 8 0 0 1 8-8h90a8 8 0 0 1 8 8v20a8 8 0 0 1-8 8H55a8 8 0 0 1-8-8V90Z" }), a("path", { className: "stroke-400", d: "M47.5 90a7.5 7.5 0 0 1 7.5-7.5h90a7.5 7.5 0 0 1 7.5 7.5v20a7.5 7.5 0 0 1-7.5 7.5H55a7.5 7.5 0 0 1-7.5-7.5V90Z" }), a("path", { className: "fill-400", d: "M79 98a8 8 0 1 0-16 0 8 8 0 0 0 16 0Z" }), a("path", { className: "fill-200", d: "M87 93a3 3 0 0 1 3-3h26a3 3 0 1 1 0 6H90a3 3 0 0 1-3-3Z" }), a("path", { className: "fill-100", d: "M87 107a3 3 0 0 1 3-3h44a3 3 0 1 1 0 6H90a3 3 0 0 1-3-3Z" })] }), a("defs", { children: e("filter", { id: "filter-list", width: "122", height: "52", x: "39", y: "77", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse", children: [a("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), a("feColorMatrix", { in: "SourceAlpha", result: "hardAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), a("feOffset", { dy: "3" }), a("feGaussianBlur", { stdDeviation: "4" }), a("feComposite", { in2: "hardAlpha", operator: "out" }), a("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }), a("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_5857_63975" }), a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_5857_63975", result: "shape" })] }) })] }), N = e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "16.4 44.4 167.2 105.6", children: [a("rect", { width: "30.8", height: "14.3", x: "16.4", y: "56.5", className: "fill-100", rx: "4.4" }), a("rect", { width: "30.8", height: "14.3", x: "49.4", y: "56.5", className: "fill-100", rx: "4.4" }), a("rect", { width: "30.8", height: "14.3", x: "82.4", y: "56.5", className: "fill-100", rx: "4.4" }), a("rect", { width: "30.8", height: "14.3", x: "86.8", y: "135.7", className: "fill-100", rx: "4.4" }), a("rect", { width: "30.8", height: "14.3", x: "119.8", y: "135.7", className: "fill-100", rx: "4.4" }), a("rect", { width: "30.8", height: "14.3", x: "152.8", y: "135.7", className: "fill-100", rx: "4.4" }), e("g", { filter: "url(#filter-modal)", children: [a("path", { className: "fill-white", d: "M42.8 74.1a8.8 8.8 0 0 1 8.8-8.8h96.8a8.8 8.8 0 0 1 8.8 8.8v58.3a8.8 8.8 0 0 1-8.8 8.8H51.6a8.8 8.8 0 0 1-8.8-8.8V74.1Z", shapeRendering: "crispEdges" }), a("path", { className: "stroke-400", strokeWidth: "1.1", d: "M43.35 74.1a8.25 8.25 0 0 1 8.25-8.25h96.8a8.25 8.25 0 0 1 8.25 8.25v58.3a8.25 8.25 0 0 1-8.25 8.25H51.6a8.25 8.25 0 0 1-8.25-8.25V74.1Z", shapeRendering: "crispEdges" }), a("path", { className: "fill-200", d: "M51.6 77.4a3.3 3.3 0 0 1 3.3-3.3h61.6a3.3 3.3 0 1 1 0 6.6H54.9a3.3 3.3 0 0 1-3.3-3.3Z" }), a("path", { className: "fill-100", d: "M51.6 86.2a3.3 3.3 0 0 1 3.3-3.3h28.6a3.3 3.3 0 0 1 0 6.6H54.9a3.3 3.3 0 0 1-3.3-3.3Z" }), a("rect", { width: "29.7", height: "13.2", x: "52.15", y: "92.25", className: "fill-white stroke-400", strokeWidth: "1.1", rx: "3.85" }), a("rect", { width: "29.7", height: "13.2", x: "85.15", y: "92.25", className: "fill-white stroke-400", strokeWidth: "1.1", rx: "3.85" }), e("g", { filter: "url(#filter-modal-bis)", children: [a("rect", { width: "30.8", height: "14.3", x: "117.6", y: "91.7", className: "fill-white", rx: "4.4" }), a("rect", { width: "29.7", height: "13.2", x: "118.15", y: "92.25", className: "stroke-400", strokeWidth: "1.1", rx: "3.85" })] }), a("path", { className: "stroke-400 fill-400", d: "M145.891 111.225c.275.241.343.584.24.928a.867.867 0 0 1-.79.516h-4.366l2.028 4.262c.206.413 0 .894-.412 1.1a.775.775 0 0 1-1.066-.378l-2.028-4.228-2.853 3.369a.834.834 0 0 1-.619.309.984.984 0 0 1-.309-.069c-.31-.103-.516-.412-.516-.756v-12.719c0-.343.172-.618.481-.756a.578.578 0 0 1 .344-.103c.172 0 .378.103.516.206l9.35 8.319Z" })] }), a("path", { className: "fill-white stroke-400", strokeWidth: "2.2", d: "M148.292 47.15c1.27-2.2 4.446-2.2 5.716 0l15.718 27.225c1.27 2.2-.317 4.95-2.858 4.95h-31.436c-2.541 0-4.128-2.75-2.858-4.95l15.718-27.225Z" }), a("path", { className: "fill-400", d: "M149.752 68.216v-.196c.004-.671.063-1.207.177-1.606.119-.399.29-.721.515-.967.225-.246.495-.468.812-.668.236-.153.447-.313.634-.477.187-.166.336-.348.446-.547.111-.204.166-.43.166-.68 0-.264-.063-.497-.189-.696a1.256 1.256 0 0 0-.509-.46 1.503 1.503 0 0 0-.697-.162c-.248 0-.482.056-.703.167a1.346 1.346 0 0 0-.543.484c-.141.21-.217.474-.229.788H147.3c.019-.767.202-1.4.549-1.9a3.144 3.144 0 0 1 1.377-1.122 4.683 4.683 0 0 1 1.892-.374c.759 0 1.43.127 2.013.38.583.25 1.04.612 1.372 1.088.331.476.497 1.05.497 1.721 0 .45-.074.848-.223 1.197a2.922 2.922 0 0 1-.612.921 4.744 4.744 0 0 1-.931.72c-.302.18-.549.368-.744.564a1.92 1.92 0 0 0-.428.68c-.092.257-.139.573-.143.95v.195h-2.167Zm1.132 3.684c-.381 0-.707-.134-.977-.403a1.328 1.328 0 0 1-.395-.978 1.302 1.302 0 0 1 .395-.968c.27-.268.596-.403.977-.403.362 0 .68.135.955.403a1.327 1.327 0 0 1 .217 1.664 1.492 1.492 0 0 1-.497.5 1.294 1.294 0 0 1-.675.185Z" }), e("defs", { children: [e("filter", { id: "filter-modal", width: "130.4", height: "91.9", x: "34.8", y: "60.3", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse", children: [a("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), a("feColorMatrix", { in: "SourceAlpha", result: "hardAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), a("feOffset", { dy: "3" }), a("feGaussianBlur", { stdDeviation: "4" }), a("feComposite", { in2: "hardAlpha", operator: "out" }), a("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }), a("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_5874_69211" }), a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_5874_69211", result: "shape" })] }), e("filter", { id: "filter-modal-bis", width: "46.8", height: "30.3", x: "109.6", y: "86.7", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse", children: [a("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), a("feColorMatrix", { in: "SourceAlpha", result: "hardAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), a("feOffset", { dy: "3" }), a("feGaussianBlur", { stdDeviation: "4" }), a("feComposite", { in2: "hardAlpha", operator: "out" }), a("feColorMatrix", { values: "0 0 0 0 0.592157 0 0 0 0 0.72549 0 0 0 0 0.992157 0 0 0 1 0" }), a("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_5874_69211" }), a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_5874_69211", result: "shape" })] })] })] }), y = e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "44 21 128 151", children: [a("path", { className: "fill-100", d: "M60 111a8 8 0 0 1 8-8h96a8 8 0 0 1 8 8v53a8 8 0 0 1-8 8H68a8 8 0 0 1-8-8v-53Z" }), e("g", { filter: "url(#filter-page)", children: [a("path", { className: "fill-white", d: "M44 52a8 8 0 0 1 8-8h96a8 8 0 0 1 8 8v96a8 8 0 0 1-8 8H52a8 8 0 0 1-8-8V52Z" }), a("path", { className: "stroke-400", d: "M44.5 52a7.5 7.5 0 0 1 7.5-7.5h96a7.5 7.5 0 0 1 7.5 7.5v96a7.5 7.5 0 0 1-7.5 7.5H52a7.5 7.5 0 0 1-7.5-7.5V52Z" }), a("rect", { width: "44", height: "37", x: "52", y: "52", className: "fill-100", rx: "4" }), a("path", { className: "fill-200", d: "M52 96a3 3 0 0 1 3-3h18a3 3 0 1 1 0 6H55a3 3 0 0 1-3-3Z" }), a("path", { className: "fill-100", d: "M52 104a3 3 0 0 1 3-3h18a3 3 0 1 1 0 6H55a3 3 0 0 1-3-3Z" }), a("rect", { width: "44", height: "37", x: "52", y: "111", className: "fill-200", rx: "4" }), a("path", { className: "fill-100", d: "M104 55a3 3 0 0 1 3-3h26a3 3 0 1 1 0 6h-26a3 3 0 0 1-3-3Z" }), a("path", { className: "fill-200", d: "M104 63a3 3 0 0 1 3-3h38a3 3 0 1 1 0 6h-38a3 3 0 0 1-3-3Z" }), a("rect", { width: "44", height: "74", x: "104", y: "74", className: "fill-200", rx: "4" })] }), a("path", { className: "fill-white stroke-400", strokeWidth: "2", d: "M141.902 23.5c1.155-2 4.041-2 5.196 0l14.29 24.75c1.154 2-.289 4.5-2.599 4.5h-28.578c-2.31 0-3.753-2.5-2.598-4.5l14.289-24.75Z" }), a("path", { className: "fill-400", d: "m145.625 35-.222 8.148h-2.079L143.097 35h2.528Zm-1.261 11.784c-.375 0-.697-.133-.966-.398a1.297 1.297 0 0 1-.398-.966c-.004-.37.129-.689.398-.954s.591-.398.966-.398c.36 0 .676.133.949.398a1.303 1.303 0 0 1 .215 1.642c-.125.205-.289.37-.494.494a1.29 1.29 0 0 1-.67.182Z" }), a("defs", { children: e("filter", { id: "filter-page", width: "128", height: "128", x: "36", y: "39", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse", children: [a("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), a("feColorMatrix", { in: "SourceAlpha", result: "hardAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), a("feOffset", { dy: "3" }), a("feGaussianBlur", { stdDeviation: "4" }), a("feComposite", { in2: "hardAlpha", operator: "out" }), a("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }), a("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_5857_63996" }), a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_5857_63996", result: "shape" })] }) })] }), c = e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "45.01 39 109.78 129.06", children: [a("path", { className: "fill-100", d: "M89.038 52.737a8 8 0 0 1 10.928-2.928l50.107 28.929a8 8 0 0 1 2.928 10.928l-42.953 74.396a8 8 0 0 1-10.928 2.929l-50.107-28.929a8.001 8.001 0 0 1-2.928-10.929l42.953-74.396Z" }), a("path", { className: "fill-100", d: "M74.605 56.807a8 8 0 0 1 9.798-5.656l55.887 14.974a8 8 0 0 1 5.657 9.798l-22.234 82.979a8 8 0 0 1-9.798 5.657l-55.887-14.975a8 8 0 0 1-5.657-9.798l22.234-82.978Z" }), e("g", { filter: "url(#filter-result)", children: [a("path", { className: "fill-white", d: "M62.643 64.731a8 8 0 0 1 8-8h57.894a8 8 0 0 1 8 8v85.179a8 8 0 0 1-8 8H70.643a8 8 0 0 1-8-8V64.731Z", shapeRendering: "crispEdges" }), a("path", { className: "stroke-400", d: "M63.143 64.731a7.5 7.5 0 0 1 7.5-7.5h57.894a7.5 7.5 0 0 1 7.5 7.5v85.179a7.5 7.5 0 0 1-7.5 7.5H70.643a7.5 7.5 0 0 1-7.5-7.5V64.731Z", shapeRendering: "crispEdges" }), a("path", { className: "fill-100", d: "M45.559 73.123a3 3 0 0 1 3-3h26a3 3 0 0 1 0 6h-26a3 3 0 0 1-3-3Z" }), a("path", { className: "fill-200", d: "M45.559 81.123a3 3 0 0 1 3-3h34a3 3 0 0 1 0 6h-34a3 3 0 0 1-3-3Z" })] }), a("rect", { width: "24", height: "8", x: "127", y: "123", className: "fill-400", rx: "4" }), a("rect", { width: "40", height: "12", x: "111", y: "133", className: "fill-200", rx: "4" }), a("path", { className: "fill-white stroke-400", strokeWidth: "2", d: "M133.902 41.5c1.155-2 4.041-2 5.196 0l14.29 24.75c1.154 2-.289 4.5-2.599 4.5h-28.578c-2.31 0-3.753-2.5-2.598-4.5l14.289-24.75Z" }), a("path", { className: "fill-400", d: "M135.229 60.65v-.177c.004-.61.058-1.097.161-1.46.108-.363.264-.656.468-.88a3.62 3.62 0 0 1 .738-.606c.215-.14.407-.285.577-.435.17-.15.305-.315.405-.497.101-.185.151-.39.151-.617 0-.241-.057-.452-.171-.634a1.15 1.15 0 0 0-.463-.418 1.37 1.37 0 0 0-.634-.147c-.225 0-.438.05-.639.152a1.222 1.222 0 0 0-.494.44c-.128.191-.197.43-.208.716H133c.017-.697.184-1.273.499-1.726a2.862 2.862 0 0 1 1.252-1.02 4.255 4.255 0 0 1 1.72-.341c.69 0 1.3.115 1.83.345.53.227.945.557 1.247.99.301.432.452.954.452 1.564 0 .408-.068.771-.203 1.089a2.643 2.643 0 0 1-.556.837c-.239.24-.521.459-.847.654a3.43 3.43 0 0 0-.675.513 1.726 1.726 0 0 0-.39.617 2.67 2.67 0 0 0-.13.864v.178h-1.97Zm1.029 3.35c-.346 0-.642-.122-.888-.366a1.209 1.209 0 0 1-.359-.89 1.185 1.185 0 0 1 .359-.88c.246-.243.542-.365.888-.365.329 0 .619.122.868.366a1.205 1.205 0 0 1 .198 1.512c-.115.189-.265.34-.452.456a1.179 1.179 0 0 1-.614.167Z" }), a("defs", { children: e("filter", { id: "filter-result", width: "106.978", height: "117.178", x: "37.559", y: "51.731", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse", children: [a("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), a("feColorMatrix", { in: "SourceAlpha", result: "hardAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), a("feOffset", { dy: "3" }), a("feGaussianBlur", { stdDeviation: "4" }), a("feComposite", { in2: "hardAlpha", operator: "out" }), a("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }), a("feBlend", { in2: "BackgroundImageFix", result: "effect1_dropShadow_5857_64016" }), a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_5857_64016", result: "shape" })] }) })] }), v = {
|
|
9
|
-
"kit-empty": "_kit-
|
|
9
|
+
"kit-empty": "_kit-empty_e9fuc_2"
|
|
10
10
|
}, Z = (l, t, s) => {
|
|
11
11
|
const r = typeof l == "string" || typeof l == "number" ? a(o.Title, { className: "empty-title", level: "h4", children: l }) : l, h = typeof t == "string" || typeof t == "number" ? a(o.Text, { children: t }) : t;
|
|
12
12
|
return e(g, { direction: "vertical", size: "s", children: [r, h, s] });
|
|
@@ -15,7 +15,7 @@ import "lodash/isEmpty";
|
|
|
15
15
|
import d from "classnames";
|
|
16
16
|
import "../../../chunks/styles.module.Q_QQjQdX.js";
|
|
17
17
|
const f = l("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 602 301", width: "602", height: "301", fill: "none", "aria-hidden": !0, children: [t("path", { className: "fill-100", d: "M0 222.443v-41.122L89.3821 40.483h36.5409v55.8238h-21.2L52.4148 179.19v1.705H181.854v41.548H0Zm105.362 36.222v-48.793l1.066-18.004V40.483h49.325v218.182h-50.391ZM299.734 263.991c-19.034 0-35.441-4.509-49.219-13.529-13.778-9.091-24.396-22.124-31.854-39.098-7.457-17.046-11.15-37.536-11.079-61.471.071-23.934 3.799-44.247 11.186-60.937 7.457-16.7614 18.04-29.51 31.747-38.2458C264.293 41.9034 280.7 37.5 299.734 37.5c19.034 0 35.44 4.4034 49.218 13.2102 13.85 8.7358 24.503 21.4844 31.961 38.2458 7.457 16.761 11.15 37.074 11.079 60.937 0 24.006-3.729 44.532-11.186 61.577-7.457 17.046-18.075 30.078-31.854 39.098-13.707 8.949-30.113 13.423-49.218 13.423Zm0-43.146c11.363 0 20.561-5.788 27.592-17.365 7.031-11.648 10.511-29.51 10.44-53.587 0-15.767-1.598-28.764-4.794-38.991-3.196-10.298-7.635-17.9688-13.316-23.0114-5.682-5.0426-12.323-7.5639-19.922-7.5639-11.293 0-20.419 5.7173-27.38 17.152-6.96 11.3633-10.475 28.8353-10.546 52.4143-.071 15.981 1.455 29.226 4.58 39.738 3.197 10.511 7.671 18.359 13.424 23.544 5.753 5.113 12.393 7.67 19.922 7.67ZM419.531 222.443v-41.122l89.382-140.838h36.542v55.8238h-21.201L471.946 179.19v1.705h129.439v41.548H419.531Zm105.362 36.222v-48.793l1.066-18.004V40.483h49.325v218.182h-50.391Z" }), t("path", { className: "fill-200", d: "M252.023 171.594c1.758-2.93 5.86-2.93 7.618 0 7.617 9.961 24.023 33.398 24.023 45.117 0 15.234-12.305 27.539-28.125 27.539-15.234 0-28.125-12.305-28.125-27.539 0-11.719 16.992-35.156 24.609-45.117Zm116.602 32.226c5.273 5.274 5.859 14.063.586 19.922-4.688 5.86-14.063 6.446-19.922 1.172-12.305-11.133-28.711-18.164-46.289-18.164-8.203 0-14.062-5.859-14.062-14.062 0-7.618 5.859-14.063 14.062-14.063 25.195 0 48.047 9.961 65.625 25.195Zm-19.336-100.195c10.547 0 18.75 8.789 18.75 18.75 0 10.547-8.203 18.75-18.75 18.75s-18.75-8.203-18.75-18.75c0-9.961 8.203-18.75 18.75-18.75Zm-93.75 37.5c-10.547 0-18.75-8.203-18.75-18.75 0-9.961 8.203-18.75 18.75-18.75s18.75 8.789 18.75 18.75c0 10.547-8.203 18.75-18.75 18.75ZM303 .5c82.617 0 150 67.3828 150 150 0 83.203-67.383 150-150 150-83.203 0-150-66.797-150-150 0-82.6172 66.797-150 150-150ZM255.539 263c14.649 6.445 30.469 9.375 47.461 9.375 66.797 0 121.875-54.492 121.875-121.875 0-66.7969-55.078-121.875-121.875-121.875-67.383 0-121.875 55.0781-121.875 121.875 0 31.055 11.133 59.18 29.883 80.859 6.445 18.75 24.023 31.641 44.531 31.641Z" })] }), Z = {
|
|
18
|
-
"kit-error": "_kit-
|
|
18
|
+
"kit-error": "_kit-error_1ivt5_2"
|
|
19
19
|
}, u = ({ title: i, description: r }, e) => {
|
|
20
20
|
var o;
|
|
21
21
|
const m = typeof r == "string" || typeof r == "number" ? t(s.Paragraph, { children: r }) : r, c = t(s.Paragraph, { children: (o = e.Error) === null || o === void 0 ? void 0 : o.error404 });
|
|
@@ -5,7 +5,7 @@ import { u as v } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
|
5
5
|
import "../../General/Button/index.js";
|
|
6
6
|
import { KitTypography as n } from "../../General/Typography/index.js";
|
|
7
7
|
import "../../General/Icon/index.js";
|
|
8
|
-
import { K as x } from "../../../chunks/Avatar.
|
|
8
|
+
import { K as x } from "../../../chunks/Avatar.N2w2jq_C.js";
|
|
9
9
|
const y = {
|
|
10
10
|
"kit-id-card": "_kit-id-card_mmcks_2"
|
|
11
11
|
}, D = (s, i, t) => {
|
|
@@ -9,7 +9,7 @@ import "../../DataEntry/Input/index.js";
|
|
|
9
9
|
import "../../DataEntry/InputNumber/index.js";
|
|
10
10
|
import "../../DataEntry/Radio/index.js";
|
|
11
11
|
import "../../DataEntry/Rate/index.js";
|
|
12
|
-
import { K as y } from "../../../chunks/index.
|
|
12
|
+
import { K as y } from "../../../chunks/index.8ubgPqV2.js";
|
|
13
13
|
import "../../DataEntry/Switch/index.js";
|
|
14
14
|
import "../../DataEntry/DatePicker/index.js";
|
|
15
15
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -21,7 +21,7 @@ import "../../Navigation/DropDown/index.js";
|
|
|
21
21
|
import "../../Navigation/Steps/index.js";
|
|
22
22
|
import "antd";
|
|
23
23
|
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
24
|
-
import "../../../chunks/styles.module.
|
|
24
|
+
import "../../../chunks/styles.module.taPo3VoP.js";
|
|
25
25
|
import "@fortawesome/react-fontawesome";
|
|
26
26
|
import "@fortawesome/free-solid-svg-icons";
|
|
27
27
|
export {
|
|
@@ -5,7 +5,7 @@ import "../../DataEntry/Input/index.js";
|
|
|
5
5
|
import "../../DataEntry/InputNumber/index.js";
|
|
6
6
|
import "../../DataEntry/Radio/index.js";
|
|
7
7
|
import "../../DataEntry/Rate/index.js";
|
|
8
|
-
import { b as M } from "../../../chunks/index.
|
|
8
|
+
import { b as M } from "../../../chunks/index.8ubgPqV2.js";
|
|
9
9
|
import "../../DataEntry/Switch/index.js";
|
|
10
10
|
import "../../DataEntry/DatePicker/index.js";
|
|
11
11
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -32,7 +32,7 @@ import "../../General/Icon/index.js";
|
|
|
32
32
|
import "../../Navigation/Breadcrumb/index.js";
|
|
33
33
|
import "../../Navigation/DropDown/index.js";
|
|
34
34
|
import "../../Navigation/Steps/index.js";
|
|
35
|
-
import "../../../chunks/styles.module.
|
|
35
|
+
import "../../../chunks/styles.module.taPo3VoP.js";
|
|
36
36
|
import "@fortawesome/react-fontawesome";
|
|
37
37
|
import "@fortawesome/free-solid-svg-icons";
|
|
38
38
|
export {
|
|
@@ -6,8 +6,8 @@ import { u as g } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
|
6
6
|
import { FontAwesomeIcon as N } from "@fortawesome/react-fontawesome";
|
|
7
7
|
import { faArrowRight as v } from "@fortawesome/free-solid-svg-icons";
|
|
8
8
|
import "../../General/Button/index.js";
|
|
9
|
-
import { KitTypography as
|
|
10
|
-
import { KitIcon as
|
|
9
|
+
import { KitTypography as s } from "../../General/Typography/index.js";
|
|
10
|
+
import { KitIcon as m } from "../../General/Icon/index.js";
|
|
11
11
|
import { KitDivider as w } from "../../Layout/Divider/index.js";
|
|
12
12
|
import "../../Layout/Grid/index.js";
|
|
13
13
|
import "../../Layout/Space/index.js";
|
|
@@ -16,13 +16,13 @@ import "color-string";
|
|
|
16
16
|
import "lodash/isEmpty";
|
|
17
17
|
import "../../../chunks/styles.module.Q_QQjQdX.js";
|
|
18
18
|
const R = {
|
|
19
|
-
"kit-redirect-card": "_kit-redirect-
|
|
20
|
-
}, D = K(({ className: a, style: d, title: n, description: e, icon: c, imageAlt: p = "", imageSrc: i, disabled: t, onClick: l },
|
|
21
|
-
const { appId:
|
|
19
|
+
"kit-redirect-card": "_kit-redirect-card_19ref_2"
|
|
20
|
+
}, D = K(({ className: a, style: d, title: n, description: e, icon: c, imageAlt: p = "", imageSrc: i, disabled: t, onClick: l }, f) => {
|
|
21
|
+
const { appId: h } = g(), k = I(R["kit-redirect-card"], a, h, {
|
|
22
22
|
"kit-redirect-card-disabled": t,
|
|
23
23
|
"kit-redirect-card-image": i
|
|
24
|
-
}),
|
|
25
|
-
return o("div", { className: k, tabIndex: t ? -1 : 0, style: d, onClick: l, ref:
|
|
24
|
+
}), u = c && !i, x = i;
|
|
25
|
+
return o("div", { className: k, tabIndex: t ? -1 : 0, style: d, onClick: l, ref: f, children: [u && r(m, { className: "kit-redirect-card-icon", icon: c }), x && o(y, { children: [r("img", { alt: p, src: i }), r(w, { noMargin: !0 })] }), o("div", { className: "kit-redirect-card-content", children: [o("section", { children: [r(s.Title, { ellipsis: { tooltip: !0 }, level: "h3", disabled: t, children: n }), e && r(s.Paragraph, { ellipsis: { rows: 2, tooltip: e }, disabled: t, children: e })] }), r(m, { className: "kit-redirect-card-redirect-icon", icon: r(N, { icon: v }) })] })] });
|
|
26
26
|
});
|
|
27
27
|
D.displayName = "KitRedirectCard";
|
|
28
28
|
export {
|
|
@@ -7,37 +7,37 @@ import { KitButton as g } from "../../General/Button/index.js";
|
|
|
7
7
|
import "../../General/Typography/index.js";
|
|
8
8
|
import { KitIcon as A } from "../../General/Icon/index.js";
|
|
9
9
|
import { FontAwesomeIcon as x } from "@fortawesome/react-fontawesome";
|
|
10
|
-
import { faUpDown as K, faArrowDown as T, faArrowUp as R, faCaretDown as j, faCaretRight as
|
|
10
|
+
import { faUpDown as K, faArrowDown as T, faArrowUp as R, faCaretDown as j, faCaretRight as z } from "@fortawesome/free-solid-svg-icons";
|
|
11
11
|
const h = {
|
|
12
|
-
"kit-table": "_kit-
|
|
13
|
-
"expand-button": "_expand-
|
|
12
|
+
"kit-table": "_kit-table_ztqiv_2",
|
|
13
|
+
"expand-button": "_expand-button_ztqiv_555"
|
|
14
14
|
}, _ = (n) => {
|
|
15
|
-
const l = n == null ? void 0 : n.split(" "), i = l == null ? void 0 : l.filter((
|
|
15
|
+
const l = n == null ? void 0 : n.split(" "), i = l == null ? void 0 : l.filter((e) => e !== "ant-table-cell").join(" "), o = l == null ? void 0 : l.filter((e) => ["ant-table-cell", "ant-table-cell-ellipsis", "ant-table-selection-column"].includes(e)).join(" ");
|
|
16
16
|
return {
|
|
17
17
|
antCell: i,
|
|
18
18
|
internalCell: o
|
|
19
19
|
};
|
|
20
|
-
},
|
|
20
|
+
}, D = (n) => ({
|
|
21
21
|
header: {
|
|
22
|
-
cell: ({ children: l, className: i, style: o, title:
|
|
22
|
+
cell: ({ children: l, className: i, style: o, title: e, rowSpan: d, colSpan: c, ...v }) => {
|
|
23
23
|
const s = _(i);
|
|
24
|
-
return a("th", { className: s.antCell, style: o, title:
|
|
24
|
+
return a("th", { className: s.antCell, style: o, title: e, rowSpan: d, colSpan: c, ...v, children: a("div", { className: s.internalCell, children: l }) });
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
body: {
|
|
28
|
-
cell: ({ children: l, className: i, style: o, title:
|
|
29
|
-
var s,
|
|
28
|
+
cell: ({ children: l, className: i, style: o, title: e, rowSpan: d, colSpan: c, ...v }) => {
|
|
29
|
+
var s, u;
|
|
30
30
|
const C = (s = n == null ? void 0 : n.body) === null || s === void 0 ? void 0 : s.cell, b = _(i);
|
|
31
31
|
let f = "";
|
|
32
|
-
return !((
|
|
32
|
+
return !((u = b.antCell) === null || u === void 0) && u.includes("ant-table-cell-ellipsis") && (f = e), a("td", { className: b.antCell, style: o, title: f, rowSpan: d, colSpan: c, children: a("div", { className: b.internalCell, children: C ? a(C, { title: e, ...v, children: l }) : l }) });
|
|
33
33
|
},
|
|
34
34
|
row: ({ children: l, ...i }) => {
|
|
35
35
|
var o;
|
|
36
|
-
const
|
|
37
|
-
return
|
|
36
|
+
const e = (o = n == null ? void 0 : n.body) === null || o === void 0 ? void 0 : o.row;
|
|
37
|
+
return e ? a("tr", { ...i, tabIndex: 0, children: a(e, { children: l }) }) : a("tr", { ...i, tabIndex: 0, children: l });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
40
|
+
}), S = ({ sortOrder: n }) => {
|
|
41
41
|
let l, i;
|
|
42
42
|
switch (n) {
|
|
43
43
|
case "ascend":
|
|
@@ -51,22 +51,22 @@ const h = {
|
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
return a(A, { color: i, icon: a(x, { icon: l }) });
|
|
54
|
-
},
|
|
55
|
-
const { appId:
|
|
56
|
-
|
|
57
|
-
}, f = ({ record:
|
|
54
|
+
}, W = ({ className: n, style: l, cellsBackgroundColor: i, columns: o, onChange: e, components: d, ...c }) => {
|
|
55
|
+
const { appId: v, theme: s } = N(), u = k(v, h["kit-table"], n), C = o == null ? void 0 : o.map((t) => (t.sorter && (t.sortIcon = ({ sortOrder: p }) => a(S, { sortOrder: p })), t)), b = (t, p, m, r) => {
|
|
56
|
+
e == null || e(t, m, r);
|
|
57
|
+
}, f = ({ record: t, expanded: p, onExpand: m }) => {
|
|
58
58
|
var r;
|
|
59
|
-
if (!(!Array.isArray(
|
|
60
|
-
return a(g, { className: h["expand-button"], type: "tertiary", onClick: (y) => m(
|
|
61
|
-
}, w = (
|
|
59
|
+
if (!(!Array.isArray(t == null ? void 0 : t.children) || !(!((r = t == null ? void 0 : t.children) === null || r === void 0) && r.length)))
|
|
60
|
+
return a(g, { className: h["expand-button"], type: "tertiary", onClick: (y) => m(t, y), children: a(x, { icon: p ? j : z }) });
|
|
61
|
+
}, w = (t, p, m) => {
|
|
62
62
|
var r;
|
|
63
|
-
return m > 0 && (!Array.isArray(
|
|
63
|
+
return m > 0 && (!Array.isArray(t == null ? void 0 : t.children) || !(!((r = t == null ? void 0 : t.children) === null || r === void 0) && r.length)) ? "last-expandable-level" : "";
|
|
64
64
|
};
|
|
65
65
|
return a(I, {
|
|
66
|
-
className:
|
|
66
|
+
className: u,
|
|
67
67
|
style: { "--kit-table-cells-background-color": i, ...l },
|
|
68
68
|
columns: C,
|
|
69
|
-
components:
|
|
69
|
+
components: D(d),
|
|
70
70
|
onChange: b,
|
|
71
71
|
// Pour l'instant on garde expandable dans les props à Omit<>
|
|
72
72
|
// A voir si on permet de custom uniquement certaines propriété
|
|
@@ -78,7 +78,7 @@ const h = {
|
|
|
78
78
|
...c
|
|
79
79
|
});
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
W.displayName = "KitTable";
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
W as KitTable
|
|
84
84
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../../assets/index4.css";
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
3
3
|
import { Tabs as c } from "antd";
|
|
4
4
|
import { u as l } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
5
5
|
import t from "classnames";
|
|
6
6
|
const n = {
|
|
7
|
-
"kit-tabs": "_kit-
|
|
8
|
-
}, b = ({ className: o, popupClassName: a, hideSeparator: p = !1, ...
|
|
9
|
-
const { appId: s } = l(),
|
|
10
|
-
return
|
|
7
|
+
"kit-tabs": "_kit-tabs_1qpe7_2"
|
|
8
|
+
}, b = ({ className: o, popupClassName: a, hideSeparator: p = !1, ...r }) => {
|
|
9
|
+
const { appId: s } = l(), e = t(s, n["kit-tabs"], o, { "hide-separator": p }), i = t(s, a);
|
|
10
|
+
return m(c, { className: e, popupClassName: i, ...r });
|
|
11
11
|
};
|
|
12
12
|
b.displayName = "KitTabs";
|
|
13
13
|
export {
|
|
@@ -2,12 +2,12 @@ import "../../../assets/index5.css";
|
|
|
2
2
|
import { jsx as i } from "react/jsx-runtime";
|
|
3
3
|
import { Tree as a } from "antd";
|
|
4
4
|
import { u as n } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
"kit-tree": "_kit-
|
|
8
|
-
}, d = ({ className:
|
|
9
|
-
const { appId:
|
|
10
|
-
return i(a, { ...
|
|
5
|
+
import s from "classnames";
|
|
6
|
+
const m = {
|
|
7
|
+
"kit-tree": "_kit-tree_bkzte_2"
|
|
8
|
+
}, d = ({ className: e, ...o }) => {
|
|
9
|
+
const { appId: r } = n(), t = s(r, m["kit-tree"], e);
|
|
10
|
+
return i(a, { ...o, className: t, blockNode: !0, draggable: !1, onDragEnd: void 0, onDragEnter: void 0, onDragLeave: void 0, onDragOver: void 0, onDragStart: void 0, onDrop: void 0 });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "KitTree";
|
|
13
13
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KitAvatar as o } from "./Avatar/index.js";
|
|
2
2
|
import { KitBadge as i } from "./Badge/index.js";
|
|
3
|
-
import { a as K, K as a, b as p, c as f } from "../../chunks/index.
|
|
3
|
+
import { a as K, K as a, b as p, c as f } from "../../chunks/index.8ubgPqV2.js";
|
|
4
4
|
import { KitEmpty as s } from "./Empty/index.js";
|
|
5
5
|
import { KitError as T } from "./Error/index.js";
|
|
6
6
|
import { KitIdCard as C } from "./IdCard/index.js";
|
|
@@ -3,7 +3,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
3
3
|
import { forwardRef as I, useState as N } from "react";
|
|
4
4
|
import { AutoComplete as y } from "antd";
|
|
5
5
|
import { KitInput as O } from "../Input/index.js";
|
|
6
|
-
import { K as P } from "../../../chunks/InputWrapper.
|
|
6
|
+
import { K as P } from "../../../chunks/InputWrapper.vbAs3Gxi.js";
|
|
7
7
|
import { FontAwesomeIcon as j } from "@fortawesome/react-fontawesome";
|
|
8
8
|
import { faMagnifyingGlass as B } from "@fortawesome/free-solid-svg-icons";
|
|
9
9
|
import G from "classnames";
|
|
@@ -5,11 +5,11 @@ import { Checkbox as ae } from "antd";
|
|
|
5
5
|
import { u as ne } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
6
|
import w from "classnames";
|
|
7
7
|
import te from "rc-util/es/omit";
|
|
8
|
-
import { ConfigContext as
|
|
9
|
-
import
|
|
10
|
-
import { K as ue } from "../../../chunks/InputWrapper.
|
|
8
|
+
import { ConfigContext as ce } from "antd/es/config-provider/";
|
|
9
|
+
import ie from "antd/es/checkbox/style";
|
|
10
|
+
import { K as ue } from "../../../chunks/InputWrapper.vbAs3Gxi.js";
|
|
11
11
|
const R = p(null), de = ({ defaultValue: v, children: o, options: a = [], prefixCls: m, className: l, wrapperClassName: f, status: b, rootClassName: u, style: t, onChange: d, label: x, helper: j, required: A, infoIcon: B, actions: D, onInfoClick: E, ...n }, T) => {
|
|
12
|
-
const { getPrefixCls: W, direction: q } = O(
|
|
12
|
+
const { getPrefixCls: W, direction: q } = O(ce), [s, G] = S(n.value || v || []), [z, y] = S([]);
|
|
13
13
|
V(() => {
|
|
14
14
|
"value" in n && G(n.value || []);
|
|
15
15
|
}, [n]);
|
|
@@ -17,18 +17,18 @@ const R = p(null), de = ({ defaultValue: v, children: o, options: a = [], prefix
|
|
|
17
17
|
label: e,
|
|
18
18
|
value: e
|
|
19
19
|
} : e), F = (e) => {
|
|
20
|
-
y((
|
|
20
|
+
y((c) => c.filter((i) => i !== e));
|
|
21
21
|
}, H = (e) => {
|
|
22
|
-
y((
|
|
22
|
+
y((c) => [...c, e]);
|
|
23
23
|
}, J = (e) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
24
|
+
const c = s.indexOf(e.value), i = [...s];
|
|
25
|
+
c === -1 ? i.push(e.value) : i.splice(c, 1), "value" in n || G(i);
|
|
26
26
|
const K = I();
|
|
27
|
-
d == null || d(
|
|
27
|
+
d == null || d(i.filter((k) => z.includes(k)).sort((k, Y) => {
|
|
28
28
|
const Z = K.findIndex((C) => C.value === k), P = K.findIndex((C) => C.value === Y);
|
|
29
29
|
return Z - P;
|
|
30
30
|
}));
|
|
31
|
-
}, g = W("checkbox", m), h = `${g}-group`, [L, M] =
|
|
31
|
+
}, g = W("checkbox", m), h = `${g}-group`, [L, M] = ie(g), Q = te(n, ["value", "disabled", "bordered"]);
|
|
32
32
|
a && a.length > 0 && (o = I().map((e) => r(_, { prefixCls: g, danger: "danger" in e ? e.danger : n.danger, disabled: "disabled" in e ? e.disabled : n.disabled, value: e.value, checked: s.includes(e.value), onChange: e.onChange, className: `${h}-item`, style: e.style, children: e.label }, e.value.toString())));
|
|
33
33
|
const U = {
|
|
34
34
|
toggleOption: J,
|
|
@@ -43,7 +43,7 @@ const R = p(null), de = ({ defaultValue: v, children: o, options: a = [], prefix
|
|
|
43
43
|
}, l, u, M);
|
|
44
44
|
return L(r("div", { className: X, style: t, ...Q, ref: T, children: r(R.Provider, { value: U, children: r(ue, { label: x, helper: j, disabled: n.disabled, bordered: n.bordered, status: b, className: f, required: A, infoIcon: B, actions: D, onInfoClick: E, children: o }) }) }));
|
|
45
45
|
}, re = ee(N(de)), oe = re, se = {
|
|
46
|
-
"kit-checkbox": "_kit-
|
|
46
|
+
"kit-checkbox": "_kit-checkbox_16ama_2"
|
|
47
47
|
}, _ = N(({ danger: v, className: o, ...a }, m) => {
|
|
48
48
|
const l = O(R), { appId: f } = ne(), b = (l == null ? void 0 : l.disabled) || a.disabled, u = le(a.value);
|
|
49
49
|
V(() => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../../assets/index12.css";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import { K as f } from "../../../chunks/InputWrapper.
|
|
3
|
+
import { K as f } from "../../../chunks/InputWrapper.vbAs3Gxi.js";
|
|
4
4
|
import { u as C } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
5
5
|
import { ColorPicker as K } from "antd";
|
|
6
6
|
import i from "classnames";
|
|
7
7
|
const u = {
|
|
8
|
-
"kit-colorpicker": "_kit-
|
|
9
|
-
}, x = ({ label: e, className: c, helper: p, rootClassName: s, required: l, infoIcon: m, actions: a, onInfoClick:
|
|
10
|
-
const { appId: r } = C(),
|
|
11
|
-
return t(f, { label: e, helper: p, disabled: o.disabled, required: l, infoIcon: m, actions: a, onInfoClick:
|
|
8
|
+
"kit-colorpicker": "_kit-colorpicker_qfonm_2"
|
|
9
|
+
}, x = ({ label: e, className: c, helper: p, rootClassName: s, required: l, infoIcon: m, actions: a, onInfoClick: n, ...o }) => {
|
|
10
|
+
const { appId: r } = C(), k = i(r, "kit-colorpicker-panel", s), d = i(r, u["kit-colorpicker"], c);
|
|
11
|
+
return t(f, { label: e, helper: p, disabled: o.disabled, required: l, infoIcon: m, actions: a, onInfoClick: n, children: t(K, { ...o, rootClassName: k, className: d }) });
|
|
12
12
|
};
|
|
13
13
|
x.displayName = "KitColorPicker";
|
|
14
14
|
export {
|