aristid-ds 8.0.0 → 9.0.0-366eae1
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 +73 -0
- package/dist/Kit/App/index.d.ts +1 -0
- package/dist/Kit/App/index.js +119 -57
- 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 +2 -2
- package/dist/Kit/DataDisplay/Error/index.js +8 -20
- package/dist/Kit/DataDisplay/IdCard/index.js +15 -15
- package/dist/Kit/DataDisplay/Image/index.js +8 -22
- package/dist/Kit/DataDisplay/ItemCard/index.js +2 -2
- package/dist/Kit/DataDisplay/ItemList/index.js +4 -6
- package/dist/Kit/DataDisplay/RedirectCard/RedirectCardActions.d.ts +3 -0
- package/dist/Kit/DataDisplay/RedirectCard/index.js +11 -22
- package/dist/Kit/DataDisplay/RedirectCard/types.d.ts +12 -2
- package/dist/Kit/DataDisplay/Table/index.js +26 -26
- package/dist/Kit/DataDisplay/Tabs/index.js +6 -6
- package/dist/Kit/DataDisplay/Tag/index.js +2 -2
- package/dist/Kit/DataDisplay/Tree/index.js +7 -7
- package/dist/Kit/DataDisplay/index.js +11 -13
- package/dist/Kit/DataEntry/AutoComplete/index.js +19 -18
- package/dist/Kit/DataEntry/AutoComplete/types.d.ts +1 -0
- package/dist/Kit/DataEntry/Checkbox/index.js +12 -12
- package/dist/Kit/DataEntry/ColorPicker/index.js +6 -6
- package/dist/Kit/DataEntry/DatePicker/index.js +24 -22
- package/dist/Kit/DataEntry/DatePicker/types.d.ts +2 -0
- package/dist/Kit/DataEntry/Input/index.js +29 -28
- package/dist/Kit/DataEntry/Input/types.d.ts +3 -0
- package/dist/Kit/DataEntry/InputNumber/index.js +14 -13
- package/dist/Kit/DataEntry/InputNumber/types.d.ts +1 -0
- package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
- package/dist/Kit/DataEntry/InputWrapper/types.d.ts +4 -0
- package/dist/Kit/DataEntry/Radio/index.js +10 -10
- package/dist/Kit/DataEntry/Rate/index.js +5 -5
- package/dist/Kit/DataEntry/Select/index.js +3 -3
- package/dist/Kit/DataEntry/Select/types.d.ts +1 -0
- package/dist/Kit/DataEntry/Slider/index.js +10 -10
- package/dist/Kit/DataEntry/Switch/index.js +6 -6
- package/dist/Kit/DataEntry/Upload/index.js +17 -17
- package/dist/Kit/DataEntry/index.js +3 -3
- package/dist/Kit/Feedback/Alert/index.js +7 -7
- package/dist/Kit/Feedback/Loader/index.js +10 -10
- package/dist/Kit/Feedback/Modal/index.js +3 -3
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/Progress/index.js +1 -1
- package/dist/Kit/Feedback/Skeleton/KitAvatarSkeleton.d.ts +3 -0
- package/dist/Kit/Feedback/Skeleton/KitCustomSkeleton.d.ts +3 -0
- package/dist/Kit/Feedback/Skeleton/KitInputSkeleton.d.ts +3 -0
- package/dist/Kit/Feedback/Skeleton/KitItemCard.d.ts +3 -0
- package/dist/Kit/Feedback/Skeleton/KitItemListSkeleton.d.ts +3 -0
- package/dist/Kit/Feedback/Skeleton/index.d.ts +12 -0
- package/dist/Kit/Feedback/Skeleton/index.js +47 -0
- package/dist/Kit/Feedback/Skeleton/types.d.ts +21 -0
- package/dist/Kit/Feedback/SnackBar/index.js +13 -13
- package/dist/Kit/Feedback/index.d.ts +1 -0
- package/dist/Kit/Feedback/index.js +9 -7
- package/dist/Kit/General/Button/index.js +53 -46
- package/dist/Kit/General/Button/types.d.ts +6 -1
- package/dist/Kit/General/Icon/index.js +9 -9
- package/dist/Kit/General/Typography/commons.d.ts +2 -4
- package/dist/Kit/General/Typography/index.js +40 -52
- package/dist/Kit/General/Typography/types.d.ts +5 -17
- package/dist/Kit/Layout/Divider/index.js +1 -1
- package/dist/Kit/Layout/Grid/Col.d.ts +2 -2
- package/dist/Kit/Layout/Grid/Grid.d.ts +3 -0
- package/dist/Kit/Layout/Grid/GridContext.d.ts +10 -0
- package/dist/Kit/Layout/Grid/GridStyle.d.ts +8 -0
- package/dist/Kit/Layout/Grid/Row.d.ts +2 -2
- package/dist/Kit/Layout/Grid/index.d.ts +2 -9
- package/dist/Kit/Layout/Grid/index.js +2 -8
- package/dist/Kit/Layout/Grid/types.d.ts +38 -7
- package/dist/Kit/Layout/Grid/useGridContext.d.ts +1 -0
- package/dist/Kit/Layout/Section/index.js +6 -6
- package/dist/Kit/Layout/index.d.ts +1 -1
- package/dist/Kit/Layout/index.js +6 -6
- package/dist/Kit/Navigation/Breadcrumb/index.js +10 -10
- 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 +2 -3
- 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 +23 -11
- package/dist/Kit/Navigation/index.js +3 -3
- package/dist/Kit/index.js +156 -159
- 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/index10.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/index14.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/index18.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/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.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.tJodbKzs.js +32 -0
- package/dist/chunks/{KitNotification.YKY0mq-u.js → KitNotification.Hqe2lX1N.js} +6 -6
- package/dist/chunks/index.k39RLiRt.js +612 -0
- package/dist/chunks/index.qBmLATvd.js +31 -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 +122 -126
- package/dist/index.umd.js +49 -6
- 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/grid/index.d.ts +2 -0
- package/dist/theme/aristid/general/grid/index.js +108 -0
- package/dist/theme/aristid/general/index.js +9 -6
- package/dist/theme/aristid/general/utilities/index.js +65 -65
- package/dist/theme/theme-context.d.ts +1 -0
- 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/general/grid/index.d.ts +16 -0
- package/dist/theme/types/index.d.ts +3 -0
- 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 +3 -3
- package/dist/assets/index33.css +0 -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/dist/chunks/useKitLocale.96CdK3og.js +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [X.X.X](https://www.npmjs.com/package/aristid-ds/v/X.X.X) (202X-XX-XX)
|
|
4
|
+
|
|
5
|
+
### ✨ Features
|
|
6
|
+
|
|
7
|
+
- **InputWrapper:**
|
|
8
|
+
- Add `hoverable` to change border color when `bordered` is set to `true` (@philippechevieux)
|
|
9
|
+
- Add `onFocus` to trigger a given function when content is focused. Also if `bordered` is set to `true` it will change the border render (@philippechevieux)
|
|
10
|
+
- Add `htmlFor` property to link the label to the wrapped content. This property is also available for: (@philippechevieux)
|
|
11
|
+
- `AutoComplete`
|
|
12
|
+
- `DatePicker` and `RangePicker`
|
|
13
|
+
- `Input`, `Password` and `TextArea`
|
|
14
|
+
- `InputNumber`
|
|
15
|
+
- `Select`
|
|
16
|
+
|
|
17
|
+
### 📚 Documentation
|
|
18
|
+
|
|
19
|
+
- Fix design tokens page that crashed every time it was consulted (@philippechevieux)
|
|
20
|
+
|
|
21
|
+
## [9.0.0](https://www.npmjs.com/package/aristid-ds/v/9.0.0) (2024-08-28)
|
|
22
|
+
|
|
23
|
+
### 🎨 Theming
|
|
24
|
+
|
|
25
|
+
- **⚠️ Breaking change - Update tokens and CSS variables:**
|
|
26
|
+
|
|
27
|
+
- Rename last part of color tokens. The color name does not appear anymore. Exemple:
|
|
28
|
+
`primary.blue100` is now `primary.100`. This applies to all colors. (@evoiron)
|
|
29
|
+
- Rename utilities colors tokens: (@evoiron)
|
|
30
|
+
- Same as color tokens. Exemple: `main.mainLight` is now `main.light`(@evoiron)
|
|
31
|
+
- Rename `main.mainColor` as `main.default` (@evoiron)
|
|
32
|
+
- Rename `error.errorColor` as `error.default` (@evoiron)
|
|
33
|
+
- Rename `success.successColor` as `success.default` (@evoiron)
|
|
34
|
+
- Rename `warning.warningColor` as `warning.default` (@evoiron)
|
|
35
|
+
- Rename `shadow.shadowLight` as `shadow.light`, `shadow.shadowMedium` as `shadow.medium`,
|
|
36
|
+
`shadow.shadowBlue` as `shadow.blue` (@evoiron)
|
|
37
|
+
|
|
38
|
+
> If you use tokens or css variables in your application, we strongly recommend that you update them and prefer to use utilities.
|
|
39
|
+
|
|
40
|
+
### ✨ Features
|
|
41
|
+
|
|
42
|
+
- **⚠️ Breaking change - Header Component:**
|
|
43
|
+
- Rename `menuCard` prop of `Header.Profile` to `profileCardProps` and change its type from `ReactNode` to `IKitIdCard` (@evoiron)
|
|
44
|
+
- Add `profileMenuCardProps` in `Header.Profile` as `IKitIdCard` (@evoiron)
|
|
45
|
+
- Add `complement` in `Header.Profile` as `ReactNode` (@evoiron)
|
|
46
|
+
- **⚠️ Breaking change - Typography:**
|
|
47
|
+
- Change expected value of `size` prop. `small`, `medium` and `large` are replaced by fontSize from `fontSize1` to `fontSize7` (@philippechevieux)
|
|
48
|
+
- Remove `type` prop because it is not used anymore and has been replaced by `color` (@philippechevieux)
|
|
49
|
+
- **⚠️ Breaking change - RedirectCard:**
|
|
50
|
+
|
|
51
|
+
- Rename `imageSrc` as `coverSrc` and `imageAlt` as `coverAlt` (@philippechevieux)
|
|
52
|
+
- Add `actions` prop to display between 1 and 3 buttons (@philippechevieux)
|
|
53
|
+
- Fix cover divider render on hover (@philippechevieux)
|
|
54
|
+
|
|
55
|
+
- **⚠️ Breaking change - Grid Component:**
|
|
56
|
+
|
|
57
|
+
- Update `Grid` internal code. We have moved from the Antd Grid component to a home-made component. Please refer to the documentation for use.
|
|
58
|
+
|
|
59
|
+
- **Dropdown:**
|
|
60
|
+
- Update border, active & selected styles (@renaudAmsellem)
|
|
61
|
+
- Add new example with custom items (@renaudAmsellem)
|
|
62
|
+
- **DatePicker:**
|
|
63
|
+
- Update font used for icons (@philippechevieux)
|
|
64
|
+
- Update icons used as separator (@philippechevieux)
|
|
65
|
+
- **Steps:**
|
|
66
|
+
- Update overall styles (@renaudAmsellem)
|
|
67
|
+
- **Menu (Deprecated):**
|
|
68
|
+
- Deprecate Menu component
|
|
69
|
+
- Move Menu documentation to deprecated folder
|
|
70
|
+
- **Button**
|
|
71
|
+
- Add `link` and `redirect` Button types (@evoiron)
|
|
72
|
+
- Deprecate `text' Button type (@evoiron)
|
|
73
|
+
- **Skeleton:**
|
|
74
|
+
- Add a new component `KitSkeleton` (@Delmotte-Vincent)
|
|
75
|
+
|
|
3
76
|
## [8.0.0](https://www.npmjs.com/package/aristid-ds/v/8.0.0) (2024-07-25)
|
|
4
77
|
|
|
5
78
|
### ✨ Features
|
package/dist/Kit/App/index.d.ts
CHANGED
package/dist/Kit/App/index.js
CHANGED
|
@@ -1,74 +1,136 @@
|
|
|
1
|
-
import "../../assets/
|
|
2
|
-
import { jsx as n, jsxs as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { ConfigProvider as
|
|
5
|
-
import { I as
|
|
6
|
-
import { createGlobalStyle as
|
|
7
|
-
import { toCssVariables as
|
|
8
|
-
import
|
|
9
|
-
import { Style as
|
|
10
|
-
import { K as
|
|
11
|
-
import { KitAristidThemeGeneral as
|
|
12
|
-
import { antdThemeConfig as
|
|
13
|
-
import { frFR as
|
|
14
|
-
import { enUS as
|
|
15
|
-
import {
|
|
16
|
-
import { mapKitLocaleToAntdLocale as
|
|
17
|
-
import { d as
|
|
1
|
+
import "../../assets/index25.css";
|
|
2
|
+
import { jsx as n, jsxs as v, Fragment as x } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo as K, useState as k, useLayoutEffect as b, useRef as S, useEffect as P } from "react";
|
|
4
|
+
import { ConfigProvider as L } from "antd";
|
|
5
|
+
import { I as y } from "../../chunks/SnackBarProvider.iuCIyLXl.js";
|
|
6
|
+
import { createGlobalStyle as R } from "styled-components";
|
|
7
|
+
import { toCssVariables as h, uuid as C } from "../../utils/functions/index.js";
|
|
8
|
+
import s from "lodash/merge";
|
|
9
|
+
import { Style as w } from "react-style-tag";
|
|
10
|
+
import { K as G } from "../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
11
|
+
import { KitAristidThemeGeneral as a } from "../../theme/aristid/general/index.js";
|
|
12
|
+
import { antdThemeConfig as I } from "../../theme/utils/tokens-mapper/index.js";
|
|
13
|
+
import { frFR as f } from "../../translation/fr-FR/index.js";
|
|
14
|
+
import { enUS as E } from "../../translation/en-US/index.js";
|
|
15
|
+
import { a as _, u as j } from "../../chunks/index.qBmLATvd.js";
|
|
16
|
+
import { mapKitLocaleToAntdLocale as A } from "../../translation/utils/index.js";
|
|
17
|
+
import { d as F } from "../../chunks/notification-provider.5EFnJe91.js";
|
|
18
18
|
import "../DataDisplay/Avatar/index.js";
|
|
19
19
|
import "../DataDisplay/Badge/index.js";
|
|
20
|
-
import "../../chunks/index.
|
|
21
|
-
import { KitEmpty as
|
|
22
|
-
import "../DataDisplay/Error/index.js";
|
|
20
|
+
import { l as z } from "../../chunks/index.k39RLiRt.js";
|
|
21
|
+
import { KitEmpty as $ } from "../DataDisplay/Empty/index.js";
|
|
23
22
|
import "../DataDisplay/IdCard/index.js";
|
|
24
|
-
import "../DataDisplay/Image/index.js";
|
|
25
23
|
import "../DataDisplay/Table/index.js";
|
|
26
24
|
import "../DataDisplay/Tabs/index.js";
|
|
27
25
|
import "../DataDisplay/Tree/index.js";
|
|
28
26
|
import "../DataDisplay/Tooltip/index.js";
|
|
29
27
|
import "classnames";
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
const M = "aristid-ds-grid", m = (i, o) => !i && !o ? "" : i ? o ? `@media screen and (min-width: ${i}px) and (max-width: ${o}px)` : `@media screen and (min-width: ${i}px)` : `@media screen and (max-width: ${o}px)`, g = (i) => {
|
|
29
|
+
var o, t;
|
|
30
|
+
const e = (o = i.closed.colWidth) !== null && o !== void 0 ? o : "auto", r = (t = i.open.colWidth) !== null && t !== void 0 ? t : "auto";
|
|
31
|
+
return `
|
|
32
|
+
.kit-row-inner {
|
|
33
|
+
grid-template-columns: repeat(${i.columns}, ${e === "auto" ? "1fr" : `${e}px`});
|
|
34
|
+
column-gap: ${i.closed.colGap}px;
|
|
35
|
+
width: ${e === "auto" ? "100%" : "auto"};
|
|
36
|
+
${i.closed.marginRight ? `margin-right: ${i.closed.marginRight}px;` : ""}
|
|
37
|
+
${i.horizontalPadding ? `padding: 0 ${i.horizontalPadding}px` : ""}
|
|
38
|
+
}
|
|
39
|
+
&.kit-row-menu-open {
|
|
40
|
+
.kit-row-inner {
|
|
41
|
+
grid-template-columns: repeat(${i.columns}, ${r === "auto" ? "1fr" : `${r}px`});
|
|
42
|
+
column-gap: ${i.open.colGap}px;
|
|
43
|
+
width: ${r === "auto" ? "100%" : "auto"};
|
|
44
|
+
${i.open.marginRight ? `margin-right: ${i.open.marginRight}px;` : ""}
|
|
45
|
+
${i.horizontalPadding ? `padding: 0 ${i.horizontalPadding}px` : ""}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
}, B = ({ theme: i, customTheme: o, id: t }) => {
|
|
50
|
+
const r = K(() => s(i, o == null ? void 0 : o.general), [i, o]).breakpoints.reverse(), c = [
|
|
51
|
+
// add css rules for fixed rows breakpoints (non mediaQueries)
|
|
52
|
+
...r.map((d) => `
|
|
53
|
+
.${t}.kit-row.kit-row-fixed.${d} {
|
|
54
|
+
${g(i.grid[d])}
|
|
55
|
+
}
|
|
56
|
+
`),
|
|
57
|
+
// add css rules for non width > larger breakpoints
|
|
58
|
+
`
|
|
59
|
+
${m(i.grid[r[0]].width + 1, void 0)} {
|
|
60
|
+
/* breakpoint: ${r[0]}*/
|
|
61
|
+
.${t}.kit-row:not(.kit-row-fixed) {
|
|
62
|
+
${g(i.grid[r[0]])}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`,
|
|
66
|
+
// add css rules for intermediate breakpoints breakpoints
|
|
67
|
+
...r.slice(0, -1).map((d, l) => `
|
|
68
|
+
${m(i.grid[r[l + 1]].width + 1, i.grid[d].width)} {
|
|
69
|
+
/* breakpoint: ${d}*/
|
|
70
|
+
.${t}.kit-row:not(.kit-row-fixed) {
|
|
71
|
+
${g(i.grid[d])}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
`),
|
|
75
|
+
// css rules for width < smallest breakpoint
|
|
76
|
+
`
|
|
77
|
+
${m(void 0, i.grid[r[r.length - 1]].width)} {
|
|
78
|
+
/* breakpoint: ${r[r.length - 1]}*/
|
|
79
|
+
.${t}.kit-row:not(.kit-row-fixed) {
|
|
80
|
+
${g(i.grid[r[r.length - 1]])}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
`
|
|
84
|
+
];
|
|
85
|
+
return n(w, { id: M, hasSourceMap: !1, children: c.join("") });
|
|
86
|
+
}, N = R`
|
|
87
|
+
.${(i) => i.id} {
|
|
88
|
+
${(i) => h(i.customTheme)};
|
|
89
|
+
|
|
34
90
|
}
|
|
35
|
-
`,
|
|
36
|
-
const [
|
|
37
|
-
return
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
}, []), n(
|
|
91
|
+
`, U = "aristid-ds-global", V = ({ children: i, customTheme: o, id: t, useMediaQueries: e = !0 }) => {
|
|
92
|
+
const [r, c] = k(null), { theme: d, appId: l, spacing: u } = D(t, o);
|
|
93
|
+
return b(() => {
|
|
94
|
+
const p = h(a, "--general");
|
|
95
|
+
c(p);
|
|
96
|
+
}, []), n(G.Provider, { value: { theme: d, appId: l, spacing: u }, children: r !== null && v(x, { children: [n(w, { id: U, hasSourceMap: !1, children: `
|
|
41
97
|
:root{
|
|
42
|
-
${Object.keys(
|
|
98
|
+
${Object.keys(r).map((p) => `${p}: ${r[p]}`).join(";")}
|
|
43
99
|
}
|
|
44
|
-
` }),
|
|
45
|
-
},
|
|
46
|
-
var
|
|
47
|
-
const
|
|
48
|
-
return {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
100
|
+
` }), o && n(N, { id: l, customTheme: s({ general: { utilities: a.utilities } }, o) }), e && n(B, { theme: a, customTheme: o, id: l }), i] }) });
|
|
101
|
+
}, D = (i, o) => {
|
|
102
|
+
var t, e, r;
|
|
103
|
+
const c = S(i || "ds-" + C().substring(0, 8)), d = s(a.spacing, (t = o == null ? void 0 : o.general) === null || t === void 0 ? void 0 : t.spacing), l = s(a.breakpoints, (e = o == null ? void 0 : o.general) === null || e === void 0 ? void 0 : e.breakpoints), u = s(a.grid, (r = o == null ? void 0 : o.general) === null || r === void 0 ? void 0 : r.grid);
|
|
104
|
+
return {
|
|
105
|
+
theme: a,
|
|
106
|
+
appId: c.current,
|
|
107
|
+
spacing: d,
|
|
108
|
+
breakpoints: l,
|
|
109
|
+
grid: u
|
|
110
|
+
};
|
|
111
|
+
}, O = ({ children: i }) => {
|
|
112
|
+
const o = Q();
|
|
113
|
+
return n(_.Provider, { value: o, children: i });
|
|
114
|
+
}, Q = () => {
|
|
115
|
+
const [i, o] = k(f);
|
|
116
|
+
return { locale: i, setKitLocale: (e) => {
|
|
117
|
+
if (e.locale === "frFR") {
|
|
118
|
+
const r = s(f, e);
|
|
119
|
+
o(r);
|
|
58
120
|
} else {
|
|
59
|
-
const
|
|
60
|
-
r
|
|
121
|
+
const r = s(E, e);
|
|
122
|
+
o(r);
|
|
61
123
|
}
|
|
62
124
|
} };
|
|
63
|
-
},
|
|
64
|
-
const { locale:
|
|
65
|
-
return
|
|
66
|
-
|
|
67
|
-
}, [
|
|
68
|
-
var
|
|
69
|
-
return n(
|
|
70
|
-
}, children:
|
|
125
|
+
}, wi = ({ children: i, locale: o, customTheme: t, id: e, useMediaQueries: r }) => n(V, { customTheme: t, id: e, useMediaQueries: r, children: n(O, { children: n(q, { locale: o, children: n(z, { children: i }) }) }) }), q = ({ children: i, locale: o }) => {
|
|
126
|
+
const { locale: t, setKitLocale: e } = j();
|
|
127
|
+
return P(() => {
|
|
128
|
+
o !== void 0 && e(o);
|
|
129
|
+
}, [o, e]), n(L, { theme: I, locale: A(o), renderEmpty: () => {
|
|
130
|
+
var r;
|
|
131
|
+
return n($, { className: "default-render", image: $.ASSET_LIST, description: (r = t.Empty) === null || r === void 0 ? void 0 : r.noData });
|
|
132
|
+
}, children: v(F, { children: [n(y, {}), i] }) });
|
|
71
133
|
};
|
|
72
134
|
export {
|
|
73
|
-
|
|
135
|
+
wi as KitApp
|
|
74
136
|
};
|
|
@@ -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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../assets/
|
|
1
|
+
import "../../../assets/index31.css";
|
|
2
2
|
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import { Empty as m } from "antd";
|
|
4
4
|
import { u } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
@@ -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] });
|
|
@@ -1,30 +1,18 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { u as n } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "antd";
|
|
3
|
+
import "../../../chunks/index.qBmLATvd.js";
|
|
4
|
+
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
5
|
import "../../General/Button/index.js";
|
|
7
|
-
import
|
|
6
|
+
import "../../General/Typography/index.js";
|
|
8
7
|
import "../../General/Icon/index.js";
|
|
9
8
|
import "../../Layout/Divider/index.js";
|
|
10
|
-
import "../../Layout/
|
|
11
|
-
import { KitSpace as v } from "../../Layout/Space/index.js";
|
|
9
|
+
import "../../Layout/Space/index.js";
|
|
12
10
|
import "color-convert";
|
|
13
11
|
import "color-string";
|
|
14
12
|
import "lodash/isEmpty";
|
|
15
|
-
import
|
|
13
|
+
import "classnames";
|
|
16
14
|
import "../../../chunks/styles.module.Q_QQjQdX.js";
|
|
17
|
-
|
|
18
|
-
"kit-error": "_kit-error_13xb5_2"
|
|
19
|
-
}, u = ({ title: i, description: r }, e) => {
|
|
20
|
-
var o;
|
|
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 });
|
|
22
|
-
return l(v, { direction: "vertical", size: "l", children: [t(s.Title, { className: "error-title", level: "h1", children: i }), m, c] });
|
|
23
|
-
}, g = ({ className: i, title: r, description: e, ...o }) => {
|
|
24
|
-
const { appId: m } = n(), { locale: c } = h(), a = d(m, Z["kit-error"], i);
|
|
25
|
-
return t(p, { ...o, description: u({ title: r, description: e }, c), image: f, className: a });
|
|
26
|
-
};
|
|
27
|
-
g.displayName = "KitError";
|
|
15
|
+
import { b as g } from "../../../chunks/index.k39RLiRt.js";
|
|
28
16
|
export {
|
|
29
17
|
g as KitError
|
|
30
18
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "../../../assets/index2.css";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import { u as
|
|
2
|
+
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import n from "classnames";
|
|
4
|
+
import { u as x } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
5
5
|
import "../../General/Button/index.js";
|
|
6
|
-
import { KitTypography as
|
|
6
|
+
import { KitTypography as m } from "../../General/Typography/index.js";
|
|
7
7
|
import "../../General/Icon/index.js";
|
|
8
|
-
import { K as
|
|
9
|
-
const
|
|
8
|
+
import { K as y } from "../../../chunks/Avatar.N2w2jq_C.js";
|
|
9
|
+
const g = {
|
|
10
10
|
"kit-id-card": "_kit-id-card_mmcks_2"
|
|
11
|
-
}, D = (
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
}, K = (
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
-
}, T = ({ className:
|
|
18
|
-
const { appId: u } =
|
|
19
|
-
return
|
|
11
|
+
}, D = (r, i, t) => {
|
|
12
|
+
const o = n({ "kit-id-card-title-large": i === "large" });
|
|
13
|
+
return s(m.Text, { className: o, size: "fontSize5", weight: "bold", ellipsis: { tooltip: !0 }, disabled: t, children: r });
|
|
14
|
+
}, K = (r, i, t) => {
|
|
15
|
+
const o = i === "medium" ? "fontSize7" : "fontSize5";
|
|
16
|
+
return s(m.Text, { size: o, ellipsis: { tooltip: !0 }, disabled: t, children: r });
|
|
17
|
+
}, T = ({ className: r, title: i, description: t, avatarProps: o, size: c = "medium", disabled: e = !1, ...p }) => {
|
|
18
|
+
const { appId: u } = x(), h = n(u, g["kit-id-card"], r), f = o !== void 0, a = i !== void 0, d = t !== void 0, v = a || d;
|
|
19
|
+
return l("div", { className: `${h} id-card-grid`, ...p, children: [f && s("div", { className: "card-avatar", children: s(y, { ...o, disabled: e }) }), v && l("div", { className: "card-info", children: [a && D(i, c, e), d && K(t, c, e)] })] });
|
|
20
20
|
};
|
|
21
21
|
T.displayName = "KitIdCard";
|
|
22
22
|
export {
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import { u as j } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
9
|
-
const m = {
|
|
10
|
-
"kit-image": "_kit-image_t5juo_2",
|
|
11
|
-
"mask-container": "_mask-container_t5juo_23"
|
|
12
|
-
}, x = ({ rounded: n, bordered: c, preview: o, className: t, ...p }) => {
|
|
13
|
-
var e;
|
|
14
|
-
const { locale: u } = _(), { appId: f } = j(), i = k("div", { className: m["mask-container"], children: [r(v, { icon: I }), (e = u.Image) === null || e === void 0 ? void 0 : e.preview] }), l = () => typeof o == "object" ? { mask: i, ...o } : o === void 0 ? { mask: i } : o, g = d(f, m["kit-image"], t ?? "", {
|
|
15
|
-
rounded: n,
|
|
16
|
-
bordered: c
|
|
17
|
-
});
|
|
18
|
-
return r(a, { className: g, preview: l(), ...p });
|
|
19
|
-
}, s = x;
|
|
20
|
-
s.PreviewGroup = a.PreviewGroup;
|
|
21
|
-
s.displayName = "KitImage";
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "antd";
|
|
3
|
+
import "classnames";
|
|
4
|
+
import "@fortawesome/react-fontawesome";
|
|
5
|
+
import "@fortawesome/free-solid-svg-icons";
|
|
6
|
+
import { K } from "../../../chunks/index.qBmLATvd.js";
|
|
7
|
+
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
22
8
|
export {
|
|
23
|
-
|
|
9
|
+
K as KitImage
|
|
24
10
|
};
|
|
@@ -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.k39RLiRt.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 {
|
|
8
|
+
import { c as H } from "../../../chunks/index.k39RLiRt.js";
|
|
9
9
|
import "../../DataEntry/Switch/index.js";
|
|
10
10
|
import "../../DataEntry/DatePicker/index.js";
|
|
11
11
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -15,9 +15,8 @@ import "../../DataEntry/ColorPicker/index.js";
|
|
|
15
15
|
import "../Avatar/index.js";
|
|
16
16
|
import "../Badge/index.js";
|
|
17
17
|
import "../Empty/index.js";
|
|
18
|
-
import "../Error/index.js";
|
|
19
18
|
import "../IdCard/index.js";
|
|
20
|
-
import "
|
|
19
|
+
import "../../../chunks/index.qBmLATvd.js";
|
|
21
20
|
import "../Table/index.js";
|
|
22
21
|
import "../Tabs/index.js";
|
|
23
22
|
import "../Tree/index.js";
|
|
@@ -25,16 +24,15 @@ import "../Tooltip/index.js";
|
|
|
25
24
|
import "antd";
|
|
26
25
|
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
27
26
|
import "classnames";
|
|
28
|
-
import "../RedirectCard/index.js";
|
|
29
27
|
import "../../General/Button/index.js";
|
|
30
28
|
import "../../General/Typography/index.js";
|
|
31
29
|
import "../../General/Icon/index.js";
|
|
32
30
|
import "../../Navigation/Breadcrumb/index.js";
|
|
33
31
|
import "../../Navigation/DropDown/index.js";
|
|
34
32
|
import "../../Navigation/Steps/index.js";
|
|
35
|
-
import "../../../chunks/styles.module.
|
|
33
|
+
import "../../../chunks/styles.module.taPo3VoP.js";
|
|
36
34
|
import "@fortawesome/react-fontawesome";
|
|
37
35
|
import "@fortawesome/free-solid-svg-icons";
|
|
38
36
|
export {
|
|
39
|
-
|
|
37
|
+
H as KitItemList
|
|
40
38
|
};
|
|
@@ -1,30 +1,19 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "classnames";
|
|
3
|
+
import { d as g } from "../../../chunks/index.k39RLiRt.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
|
+
import "@fortawesome/react-fontawesome";
|
|
7
|
+
import "@fortawesome/free-solid-svg-icons";
|
|
8
8
|
import "../../General/Button/index.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import "../../Layout/Grid/index.js";
|
|
9
|
+
import "../../General/Typography/index.js";
|
|
10
|
+
import "../../General/Icon/index.js";
|
|
11
|
+
import "../../Layout/Divider/index.js";
|
|
13
12
|
import "../../Layout/Space/index.js";
|
|
14
13
|
import "color-convert";
|
|
15
14
|
import "color-string";
|
|
16
15
|
import "lodash/isEmpty";
|
|
17
16
|
import "../../../chunks/styles.module.Q_QQjQdX.js";
|
|
18
|
-
const R = {
|
|
19
|
-
"kit-redirect-card": "_kit-redirect-card_3mcox_2"
|
|
20
|
-
}, D = K(({ className: a, style: d, title: n, description: e, icon: c, imageAlt: p = "", imageSrc: i, disabled: t, onClick: l }, h) => {
|
|
21
|
-
const { appId: f } = g(), k = I(R["kit-redirect-card"], a, f, {
|
|
22
|
-
"kit-redirect-card-disabled": t,
|
|
23
|
-
"kit-redirect-card-image": i
|
|
24
|
-
}), x = c && !i, u = i;
|
|
25
|
-
return o("div", { className: k, tabIndex: t ? -1 : 0, style: d, onClick: l, ref: h, children: [x && r(s, { className: "kit-redirect-card-icon", icon: c }), u && 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(m.Title, { ellipsis: { tooltip: !0 }, level: "h3", disabled: t, children: n }), e && r(m.Paragraph, { ellipsis: { rows: 2, tooltip: e }, disabled: t, children: e })] }), r(s, { className: "kit-redirect-card-redirect-icon", icon: r(N, { icon: v }) })] })] });
|
|
26
|
-
});
|
|
27
|
-
D.displayName = "KitRedirectCard";
|
|
28
17
|
export {
|
|
29
|
-
|
|
18
|
+
g as KitRedirectCard
|
|
30
19
|
};
|