aristid-ds 7.2.0-3aead0c → 7.2.0-e49c136
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 +295 -215
- package/dist/Kit/App/index.js +2 -2
- package/dist/Kit/DataDisplay/Avatar/index.js +1 -1
- package/dist/Kit/DataDisplay/Badge/index.js +8 -8
- package/dist/Kit/DataDisplay/Card/index.js +2 -2
- 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 +2 -2
- package/dist/Kit/DataDisplay/IdCard/index.js +1 -1
- package/dist/Kit/DataDisplay/Image/index.js +9 -9
- package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemList/index.d.ts +2 -2
- package/dist/Kit/DataDisplay/ItemList/index.js +2 -2
- package/dist/Kit/DataDisplay/LegacyCard/index.js +5 -5
- package/dist/Kit/DataDisplay/Table/index.js +33 -33
- package/dist/Kit/DataDisplay/Tabs/index.js +4 -4
- package/dist/Kit/DataDisplay/Tag/Tag.d.ts +2 -2
- package/dist/Kit/DataDisplay/Tag/index.js +1 -1
- package/dist/Kit/DataDisplay/Tree/index.js +4 -4
- package/dist/Kit/DataDisplay/index.js +1 -1
- package/dist/Kit/DataEntry/AutoComplete/index.d.ts +2 -2
- package/dist/Kit/DataEntry/AutoComplete/index.js +10 -10
- package/dist/Kit/DataEntry/Checkbox/Checkbox.d.ts +2 -2
- package/dist/Kit/DataEntry/Checkbox/Group.d.ts +2 -3
- package/dist/Kit/DataEntry/Checkbox/index.js +14 -14
- package/dist/Kit/DataEntry/ColorPicker/index.js +5 -5
- package/dist/Kit/DataEntry/DatePicker/DatePicker.d.ts +2 -2
- package/dist/Kit/DataEntry/DatePicker/RangePicker.d.ts +4 -4
- package/dist/Kit/DataEntry/DatePicker/index.js +19 -19
- package/dist/Kit/DataEntry/DatePicker/types.d.ts +2 -0
- package/dist/Kit/DataEntry/Input/Input.d.ts +2 -2
- package/dist/Kit/DataEntry/Input/Password.d.ts +2 -2
- package/dist/Kit/DataEntry/Input/TextArea.d.ts +2 -2
- package/dist/Kit/DataEntry/Input/index.js +29 -24
- package/dist/Kit/DataEntry/Input/types.d.ts +2 -0
- package/dist/Kit/DataEntry/InputNumber/index.d.ts +2 -2
- package/dist/Kit/DataEntry/InputNumber/index.js +2 -2
- package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
- package/dist/Kit/DataEntry/Radio/Group.d.ts +2 -2
- package/dist/Kit/DataEntry/Radio/Radio.d.ts +2 -2
- package/dist/Kit/DataEntry/Radio/index.js +12 -12
- package/dist/Kit/DataEntry/Rate/index.d.ts +2 -2
- package/dist/Kit/DataEntry/Rate/index.js +1 -1
- package/dist/Kit/DataEntry/Select/index.js +2 -2
- package/dist/Kit/DataEntry/Select/types.d.ts +1 -0
- package/dist/Kit/DataEntry/Slider/index.d.ts +2 -2
- package/dist/Kit/DataEntry/Slider/index.js +8 -8
- package/dist/Kit/DataEntry/Switch/index.d.ts +2 -2
- package/dist/Kit/DataEntry/Switch/index.js +8 -8
- package/dist/Kit/DataEntry/Upload/Upload.d.ts +2 -2
- package/dist/Kit/DataEntry/Upload/index.js +8 -8
- package/dist/Kit/DataEntry/index.js +2 -2
- package/dist/Kit/Feedback/Alert/index.js +6 -6
- package/dist/Kit/Feedback/Modal/index.js +9 -9
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/Notification/notification-provider.d.ts +2 -2
- package/dist/Kit/Feedback/SnackBar/index.js +9 -9
- package/dist/Kit/Feedback/index.js +1 -1
- package/dist/Kit/General/Button/index.js +10 -10
- package/dist/Kit/General/Icon/index.js +8 -8
- package/dist/Kit/General/Typography/Link.d.ts +2 -2
- package/dist/Kit/General/Typography/Paragraph.d.ts +2 -2
- package/dist/Kit/General/Typography/Text.d.ts +2 -2
- package/dist/Kit/General/Typography/Title.d.ts +2 -2
- package/dist/Kit/General/Typography/index.js +41 -50
- package/dist/Kit/Layout/Divider/index.js +9 -10
- package/dist/Kit/Layout/Divider/types.d.ts +0 -4
- package/dist/Kit/Layout/Section/index.js +8 -8
- package/dist/Kit/Navigation/Breadcrumb/index.js +9 -9
- package/dist/Kit/Navigation/Header/index.js +1 -1
- package/dist/Kit/Navigation/Menu/index.js +1 -1
- package/dist/Kit/Navigation/PageHeader/index.js +2 -2
- package/dist/Kit/Navigation/Pagination/index.d.ts +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 +6 -6
- 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/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/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/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/assets/styles2.css +1 -1
- package/dist/chunks/Avatar.icARSD26.js +30 -0
- package/dist/chunks/InputWrapper.RG8Q9Ntu.js +26 -0
- package/dist/chunks/{KitNotification.eFNdYjE1.js → KitNotification.YKY0mq-u.js} +5 -5
- package/dist/chunks/index.wMOo1bfz.js +572 -0
- package/dist/chunks/notification-provider.EgQZHEbE.js +74 -0
- package/dist/chunks/styles.module.Q_QQjQdX.js +8 -0
- package/dist/chunks/{styles.module.x1Oajwjm.js → styles.module.XgQ5x7Pq.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +7 -7
- package/dist/theme/aristid/components/Layout/Divider/index.js +1 -2
- package/dist/theme/aristid/general/colors/index.js +101 -149
- package/dist/theme/aristid/general/index.js +5 -3
- package/dist/theme/aristid/general/utilities/index.d.ts +3 -0
- package/dist/theme/aristid/general/utilities/index.js +107 -0
- package/dist/theme/types/components/Layout/Divider/index.d.ts +0 -2
- package/dist/theme/types/general/colors/index.d.ts +92 -196
- package/dist/theme/types/index.d.ts +2 -0
- package/dist/theme/types/utilities/index.d.ts +249 -0
- package/dist/theme/utils/testTokens.d.ts +31 -48
- package/dist/theme/utils/tokens-mapper/DataDisplay/Badge/index.d.ts +1 -0
- package/dist/theme/utils/tokens-mapper/DataDisplay/Badge/index.js +8 -7
- package/dist/theme/utils/tokens-mapper/DataDisplay/Collapse/index.d.ts +0 -1
- package/dist/theme/utils/tokens-mapper/DataDisplay/Collapse/index.js +4 -5
- package/dist/theme/utils/tokens-mapper/DataDisplay/Table/index.d.ts +0 -1
- package/dist/theme/utils/tokens-mapper/DataDisplay/Table/index.js +3 -5
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tabs/index.js +8 -8
- package/dist/theme/utils/tokens-mapper/{DataEntry → DataDisplay}/Tag/index.d.ts +0 -2
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tag/index.js +8 -0
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tooltip/index.js +8 -8
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tree/index.d.ts +0 -1
- package/dist/theme/utils/tokens-mapper/DataDisplay/Tree/index.js +6 -8
- package/dist/theme/utils/tokens-mapper/DataDisplay/index.d.ts +1 -0
- package/dist/theme/utils/tokens-mapper/DataDisplay/index.js +4 -2
- package/dist/theme/utils/tokens-mapper/DataEntry/Checkbox/index.js +8 -8
- package/dist/theme/utils/tokens-mapper/DataEntry/ColorPicker/index.d.ts +0 -2
- package/dist/theme/utils/tokens-mapper/DataEntry/ColorPicker/index.js +9 -11
- package/dist/theme/utils/tokens-mapper/DataEntry/DatePicker/index.js +16 -16
- package/dist/theme/utils/tokens-mapper/DataEntry/Form/index.js +2 -2
- package/dist/theme/utils/tokens-mapper/DataEntry/Input/index.js +10 -10
- package/dist/theme/utils/tokens-mapper/DataEntry/InputNumber/index.js +12 -12
- package/dist/theme/utils/tokens-mapper/DataEntry/Rate/index.js +1 -1
- package/dist/theme/utils/tokens-mapper/DataEntry/Select/index.js +6 -6
- package/dist/theme/utils/tokens-mapper/DataEntry/Slider/index.js +9 -9
- package/dist/theme/utils/tokens-mapper/Feedback/Alert/index.js +14 -14
- package/dist/theme/utils/tokens-mapper/Feedback/Progress/index.js +5 -5
- package/dist/theme/utils/tokens-mapper/Layout/Divider/index.d.ts +0 -1
- package/dist/theme/utils/tokens-mapper/Layout/Divider/index.js +7 -8
- package/dist/theme/utils/tokens-mapper/Navigation/Pagination/index.js +13 -13
- package/dist/theme/utils/tokens-mapper/Navigation/Steps/index.js +11 -11
- package/dist/theme/utils/tokens-mapper/index.js +26 -26
- package/dist/utils/functions/index.d.ts +4 -1
- package/dist/utils/functions/index.js +50 -37
- package/package.json +1 -1
- package/dist/chunks/Avatar.VZkvLuLD.js +0 -30
- package/dist/chunks/InputWrapper.NQtlTzQk.js +0 -26
- package/dist/chunks/index.tMktkiEu.js +0 -570
- package/dist/chunks/notification-provider.pUKOxZw6.js +0 -74
- package/dist/chunks/styles.module.tkXR5gsa.js +0 -8
- package/dist/theme/utils/tokens-mapper/DataEntry/Tag/index.js +0 -11
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../../../assets/index.css";
|
|
2
2
|
import { jsx as g } from "react/jsx-runtime";
|
|
3
|
-
import { useMemo as
|
|
4
|
-
import { Badge as
|
|
5
|
-
import { u
|
|
6
|
-
import { isValidColor as
|
|
3
|
+
import { useMemo as d } from "react";
|
|
4
|
+
import { Badge as l } from "antd";
|
|
5
|
+
import { u } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
|
+
import { isValidColor as f, 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_dmljo_2"
|
|
11
|
+
}, B = (t, o) => !t || !f(t) ? null : {
|
|
12
12
|
[s.colors.background.default]: n(t, o),
|
|
13
13
|
[s.colors.typography.default]: c(t, o)
|
|
14
14
|
}, C = ({ color: t, style: o, secondaryColorInvert: e = !1, className: m, ...r }) => {
|
|
15
|
-
const { appId: i } =
|
|
16
|
-
return g(
|
|
15
|
+
const { appId: i } = u(), a = d(() => ({ ...o, ...B(t, e) }), [t, e, o]), p = k(i, b["kit-badge"], m);
|
|
16
|
+
return g(l, { style: a, ...r, className: p });
|
|
17
17
|
};
|
|
18
18
|
C.displayName = "KitBadge";
|
|
19
19
|
export {
|
|
@@ -8,7 +8,7 @@ import "../../DataEntry/Input/index.js";
|
|
|
8
8
|
import "../../DataEntry/InputNumber/index.js";
|
|
9
9
|
import "../../DataEntry/Radio/index.js";
|
|
10
10
|
import "../../DataEntry/Rate/index.js";
|
|
11
|
-
import { K as y } from "../../../chunks/index.
|
|
11
|
+
import { K as y } from "../../../chunks/index.wMOo1bfz.js";
|
|
12
12
|
import "../../DataEntry/Switch/index.js";
|
|
13
13
|
import "../../DataEntry/DatePicker/index.js";
|
|
14
14
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -22,7 +22,7 @@ import "../../Navigation/DropDown/index.js";
|
|
|
22
22
|
import "../../Navigation/Steps/index.js";
|
|
23
23
|
import "antd";
|
|
24
24
|
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
25
|
-
import "../../../chunks/styles.module.
|
|
25
|
+
import "../../../chunks/styles.module.XgQ5x7Pq.js";
|
|
26
26
|
export {
|
|
27
27
|
y as KitCard
|
|
28
28
|
};
|
|
@@ -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_1aqfk_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] });
|
|
@@ -13,9 +13,9 @@ import "color-convert";
|
|
|
13
13
|
import "color-string";
|
|
14
14
|
import "lodash/isEmpty";
|
|
15
15
|
import d from "classnames";
|
|
16
|
-
import "../../../chunks/styles.module.
|
|
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_13xb5_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.icARSD26.js";
|
|
9
9
|
const y = {
|
|
10
10
|
"kit-id-card": "_kit-id-card_mmcks_2"
|
|
11
11
|
}, D = (s, i, t) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "../../../assets/index3.css";
|
|
2
|
-
import { jsxs as k, jsx as
|
|
2
|
+
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { Image as a } from "antd";
|
|
4
4
|
import d from "classnames";
|
|
5
5
|
import { FontAwesomeIcon as v } from "@fortawesome/react-fontawesome";
|
|
6
6
|
import { faEye as I } from "@fortawesome/free-solid-svg-icons";
|
|
7
7
|
import { u as _ } from "../../../chunks/useKitLocale.96CdK3og.js";
|
|
8
|
-
import { u as
|
|
8
|
+
import { u as j } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
9
9
|
const m = {
|
|
10
|
-
"kit-image": "_kit-
|
|
11
|
-
"mask-container": "_mask-
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
const { locale:
|
|
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
15
|
rounded: n,
|
|
16
16
|
bordered: c
|
|
17
17
|
});
|
|
18
|
-
return
|
|
19
|
-
}, s =
|
|
18
|
+
return r(a, { className: g, preview: l(), ...p });
|
|
19
|
+
}, s = x;
|
|
20
20
|
s.PreviewGroup = a.PreviewGroup;
|
|
21
21
|
s.displayName = "KitImage";
|
|
22
22
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "classnames";
|
|
4
|
-
import { a as u } from "../../../chunks/index.
|
|
4
|
+
import { a as u } from "../../../chunks/index.wMOo1bfz.js";
|
|
5
5
|
import "../../General/Button/index.js";
|
|
6
6
|
import "../../General/Typography/index.js";
|
|
7
7
|
import "../../General/Icon/index.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IKitItemList } from './types';
|
|
3
|
-
export declare const KitItemList:
|
|
3
|
+
export declare const KitItemList: import("react").ForwardRefExoticComponent<IKitItemList & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -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 { c as M } from "../../../chunks/index.
|
|
8
|
+
import { c as M } from "../../../chunks/index.wMOo1bfz.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.XgQ5x7Pq.js";
|
|
36
36
|
import "@fortawesome/react-fontawesome";
|
|
37
37
|
import "@fortawesome/free-solid-svg-icons";
|
|
38
38
|
export {
|
|
@@ -12,12 +12,12 @@ import { KitSpace as k } from "../../Layout/Space/index.js";
|
|
|
12
12
|
import "color-convert";
|
|
13
13
|
import "color-string";
|
|
14
14
|
import "lodash/isEmpty";
|
|
15
|
-
import "../../../chunks/styles.module.
|
|
15
|
+
import "../../../chunks/styles.module.Q_QQjQdX.js";
|
|
16
16
|
import { u as K } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
17
17
|
import { FontAwesomeIcon as A } from "@fortawesome/react-fontawesome";
|
|
18
18
|
import { faLink as E } from "@fortawesome/free-solid-svg-icons";
|
|
19
19
|
const w = {
|
|
20
|
-
"kit-legacy-card": "_kit-legacy-
|
|
20
|
+
"kit-legacy-card": "_kit-legacy-card_1fhm7_2"
|
|
21
21
|
}, I = (c) => {
|
|
22
22
|
var r;
|
|
23
23
|
let t = null;
|
|
@@ -44,15 +44,15 @@ const w = {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
return o;
|
|
47
|
-
}, $ = ({ style: c, cover: r, extra: t, contentTitle: o, contentDescription: i, actions: l, onContentTitleClick: a, className: s, separator:
|
|
47
|
+
}, $ = ({ style: c, cover: r, extra: t, contentTitle: o, contentDescription: i, actions: l, onContentTitleClick: a, className: s, separator: f = !1, disabled: m = !1, ...v }) => {
|
|
48
48
|
var n;
|
|
49
49
|
const { appId: h } = K(), g = {
|
|
50
50
|
width: (n = c == null ? void 0 : c.width) !== null && n !== void 0 ? n : "340px"
|
|
51
51
|
}, x = _(h, w["kit-legacy-card"], s ?? "", {
|
|
52
52
|
disabled: m,
|
|
53
|
-
separator:
|
|
53
|
+
separator: f
|
|
54
54
|
});
|
|
55
|
-
return e(y, { ...
|
|
55
|
+
return e(y, { ...v, className: x, style: g, extra: S(m, t), cover: I(r), bodyStyle: o || i ? {} : { padding: 0, height: 0 }, actions: L(m, l), children: p(k, { direction: "vertical", children: [(o || a) && p("div", { className: `content-title-container ${a ? "content-title-click" : ""}`, onClick: m ? void 0 : a, children: [a && e(N, { className: "kit-card-content-title-icon", icon: e(A, { icon: E }) }), o && e(u.Text, { className: "card-content-title", children: o })] }), i && e(u.Text, { className: "card-content-description", children: i })] }) });
|
|
56
56
|
};
|
|
57
57
|
$.displayName = "KitLegacyCard";
|
|
58
58
|
export {
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import "../../../assets/index22.css";
|
|
2
2
|
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import { Table as
|
|
4
|
-
import
|
|
5
|
-
import { u as
|
|
6
|
-
import { KitButton as
|
|
3
|
+
import { Table as I } from "antd";
|
|
4
|
+
import y from "classnames";
|
|
5
|
+
import { u as g } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
|
+
import { KitButton as N } 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
|
|
10
|
+
import { faUpDown as K, faArrowDown as T, faArrowUp as R, faCaretDown as j, faCaretRight as D } from "@fortawesome/free-solid-svg-icons";
|
|
11
11
|
const h = {
|
|
12
|
-
"kit-table": "_kit-
|
|
13
|
-
"expand-button": "_expand-
|
|
12
|
+
"kit-table": "_kit-table_1tgk0_2",
|
|
13
|
+
"expand-button": "_expand-button_1tgk0_555"
|
|
14
14
|
}, _ = (n) => {
|
|
15
|
-
const l = n == null ? void 0 : n.split(" "), a = l == null ? void 0 : l.filter((
|
|
15
|
+
const l = n == null ? void 0 : n.split(" "), a = l == null ? void 0 : l.filter((e) => e !== "ant-table-cell").join(" "), i = 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: a,
|
|
18
18
|
internalCell: i
|
|
19
19
|
};
|
|
20
20
|
}, S = (n) => ({
|
|
21
21
|
header: {
|
|
22
|
-
cell: ({ children: l, className: a, style: i, title:
|
|
22
|
+
cell: ({ children: l, className: a, style: i, title: e, rowSpan: d, colSpan: c, ...v }) => {
|
|
23
23
|
const s = _(a);
|
|
24
|
-
return o("th", { className: s.antCell, style: i, title:
|
|
24
|
+
return o("th", { className: s.antCell, style: i, title: e, rowSpan: d, colSpan: c, ...v, children: o("div", { className: s.internalCell, children: l }) });
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
body: {
|
|
28
|
-
cell: ({ children: l, className: a, style: i, title:
|
|
28
|
+
cell: ({ children: l, className: a, style: i, title: e, rowSpan: d, colSpan: c, ...v }) => {
|
|
29
29
|
var s, u;
|
|
30
|
-
const
|
|
31
|
-
let
|
|
32
|
-
return !((u = b.antCell) === null || u === void 0) && u.includes("ant-table-cell-ellipsis") && (
|
|
30
|
+
const C = (s = n == null ? void 0 : n.body) === null || s === void 0 ? void 0 : s.cell, b = _(a);
|
|
31
|
+
let f = "";
|
|
32
|
+
return !((u = b.antCell) === null || u === void 0) && u.includes("ant-table-cell-ellipsis") && (f = e), o("td", { className: b.antCell, style: i, title: f, rowSpan: d, colSpan: c, children: o("div", { className: b.internalCell, children: C ? o(C, { title: e, ...v, children: l }) : l }) });
|
|
33
33
|
},
|
|
34
34
|
row: ({ children: l, ...a }) => {
|
|
35
35
|
var i;
|
|
36
|
-
const
|
|
37
|
-
return
|
|
36
|
+
const e = (i = n == null ? void 0 : n.body) === null || i === void 0 ? void 0 : i.row;
|
|
37
|
+
return e ? o("tr", { ...a, tabIndex: 0, children: o(e, { children: l }) }) : o("tr", { ...a, tabIndex: 0, children: l });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}), W = ({ sortOrder: n }) => {
|
|
41
41
|
let l, a;
|
|
42
42
|
switch (n) {
|
|
43
43
|
case "ascend":
|
|
44
|
-
l =
|
|
44
|
+
l = R, a = "blue";
|
|
45
45
|
break;
|
|
46
46
|
case "descend":
|
|
47
|
-
l =
|
|
47
|
+
l = T, a = "blue";
|
|
48
48
|
break;
|
|
49
49
|
default:
|
|
50
|
-
l =
|
|
50
|
+
l = K;
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
return o(A, { color: a, icon: o(x, { icon: l }) });
|
|
54
|
-
},
|
|
55
|
-
const { appId: v, theme: s } =
|
|
56
|
-
|
|
57
|
-
},
|
|
54
|
+
}, U = ({ className: n, style: l, cellsBackgroundColor: a, columns: i, onChange: e, components: d, ...c }) => {
|
|
55
|
+
const { appId: v, theme: s } = g(), u = y(v, h["kit-table"], n), C = i == null ? void 0 : i.map((t) => (t.sorter && (t.sortIcon = ({ sortOrder: p }) => o(W, { 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 o(
|
|
61
|
-
},
|
|
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 o(N, { className: h["expand-button"], type: "text", color: "black", onClick: (w) => m(t, w), children: o(x, { icon: p ? j : D }) });
|
|
61
|
+
}, k = (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
|
-
return o(
|
|
65
|
+
return o(I, {
|
|
66
66
|
className: u,
|
|
67
67
|
style: { "--kit-table-cells-background-color": a, ...l },
|
|
68
|
-
columns:
|
|
68
|
+
columns: C,
|
|
69
69
|
components: S(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é
|
|
73
73
|
expandable: {
|
|
74
|
-
expandedRowClassName:
|
|
75
|
-
expandIcon:
|
|
74
|
+
expandedRowClassName: k,
|
|
75
|
+
expandIcon: f,
|
|
76
76
|
indentSize: s.spacing.m
|
|
77
77
|
},
|
|
78
78
|
...c
|
|
79
79
|
});
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
U.displayName = "KitTable";
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
U as KitTable
|
|
84
84
|
};
|
|
@@ -4,10 +4,10 @@ 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 e(c, { className:
|
|
7
|
+
"kit-tabs": "_kit-tabs_aumoc_2"
|
|
8
|
+
}, b = ({ className: o, popupClassName: a, hideSeparator: p = !1, ...m }) => {
|
|
9
|
+
const { appId: s } = l(), r = t(s, n["kit-tabs"], o, { "hide-separator": p }), i = t(s, a);
|
|
10
|
+
return e(c, { className: r, popupClassName: i, ...m });
|
|
11
11
|
};
|
|
12
12
|
b.displayName = "KitTabs";
|
|
13
13
|
export {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IKitTag } from './types';
|
|
3
|
-
export declare const InternalTag:
|
|
3
|
+
export declare const InternalTag: import("react").ForwardRefExoticComponent<IKitTag & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -2,11 +2,11 @@ import "../../../assets/index6.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-
|
|
5
|
+
import m from "classnames";
|
|
6
|
+
const s = {
|
|
7
|
+
"kit-tree": "_kit-tree_1q9wm_2"
|
|
8
8
|
}, d = ({ className: o, ...r }) => {
|
|
9
|
-
const { appId: e } = n(), t =
|
|
9
|
+
const { appId: e } = n(), t = m(e, s["kit-tree"], o);
|
|
10
10
|
return i(a, { ...r, 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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KitAvatar as o } from "./Avatar/index.js";
|
|
2
2
|
import { KitBadge as a } from "./Badge/index.js";
|
|
3
|
-
import { K, b as m, a as p, c as f, d as x } from "../../chunks/index.
|
|
3
|
+
import { K, b as m, a as p, c as f, d as x } from "../../chunks/index.wMOo1bfz.js";
|
|
4
4
|
import { KitEmpty as d } from "./Empty/index.js";
|
|
5
5
|
import { KitError as C } from "./Error/index.js";
|
|
6
6
|
import { KitIdCard as l } from "./IdCard/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { RefSelectProps } from 'antd';
|
|
3
3
|
import type { IKitAutoComplete } from './types';
|
|
4
|
-
export declare const KitAutoComplete:
|
|
4
|
+
export declare const KitAutoComplete: import("react").ForwardRefExoticComponent<IKitAutoComplete & import("react").RefAttributes<RefSelectProps>>;
|
|
@@ -3,25 +3,25 @@ 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.RG8Q9Ntu.js";
|
|
7
7
|
import { FontAwesomeIcon as j } from "@fortawesome/react-fontawesome";
|
|
8
|
-
import { faMagnifyingGlass as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
"kit-autocomplete": "_kit-
|
|
12
|
-
},
|
|
8
|
+
import { faMagnifyingGlass as B } from "@fortawesome/free-solid-svg-icons";
|
|
9
|
+
import G from "classnames";
|
|
10
|
+
const M = {
|
|
11
|
+
"kit-autocomplete": "_kit-autocomplete_kox09_2"
|
|
12
|
+
}, R = (e, r, o) => G(e, "ant-select-dropdown", "kit-select-dropdown-bottom", {
|
|
13
13
|
"kit-select-dropdown-focus": r,
|
|
14
14
|
"kit-select-dropdown-error": o === "error",
|
|
15
15
|
"kit-select-dropdown-warning": o === "warning"
|
|
16
|
-
}),
|
|
16
|
+
}), S = I(({ allowClear: e, label: r, helper: o, autoFocus: l, defaultValue: a, disabled: i, placeholder: f, status: n, value: u, onFocus: s, onBlur: m, popupClassName: d, wrapperClassName: w, required: k, infoIcon: _, actions: g, onInfoClick: C, ...K }, h) => {
|
|
17
17
|
const [x, c] = N(!1), A = (p) => {
|
|
18
18
|
c(!0), s && s(p);
|
|
19
19
|
}, F = (p) => {
|
|
20
20
|
c(!1), m && m(p);
|
|
21
21
|
};
|
|
22
|
-
return t(P, { label: r, helper: o, disabled: i, status: n, className: w, required: k, infoIcon: _, actions: g, onInfoClick: C, children: t(y, { ...K, disabled: i, ref: h, className:
|
|
22
|
+
return t(P, { label: r, helper: o, disabled: i, status: n, className: w, required: k, infoIcon: _, actions: g, onInfoClick: C, children: t(y, { ...K, disabled: i, ref: h, className: M["kit-autocomplete"], popupClassName: R(d, x, n), children: t(O, { prefix: t(j, { icon: B }), allowClear: e, autoFocus: l, defaultValue: a, placeholder: f, status: n, value: u, onBlur: F, onFocus: A }) }) });
|
|
23
23
|
});
|
|
24
|
-
|
|
24
|
+
S.displayName = "KitAutoComplete";
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
S as KitAutoComplete
|
|
27
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CheckboxRef } from 'antd';
|
|
3
3
|
import { IKitCheckbox } from './types';
|
|
4
|
-
declare const KitCheckbox:
|
|
4
|
+
declare const KitCheckbox: import("react").ForwardRefExoticComponent<IKitCheckbox & import("react").RefAttributes<CheckboxRef>>;
|
|
5
5
|
export default KitCheckbox;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ForwardRefRenderFunction } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
import { ICheckboxGroupContext, ICheckboxGroup } from './types';
|
|
4
|
-
export declare const GroupContext:
|
|
3
|
+
export declare const GroupContext: import("react").Context<ICheckboxGroupContext | null>;
|
|
5
4
|
export declare const InternalCheckboxGroup: ForwardRefRenderFunction<HTMLDivElement, ICheckboxGroup>;
|
|
6
|
-
declare const CheckboxGroup:
|
|
5
|
+
declare const CheckboxGroup: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ICheckboxGroup & import("react").RefAttributes<HTMLDivElement>>>;
|
|
7
6
|
export default CheckboxGroup;
|
|
@@ -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.
|
|
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:
|
|
12
|
-
const { getPrefixCls:
|
|
8
|
+
import { ConfigContext as ie } from "antd/es/config-provider/";
|
|
9
|
+
import ce from "antd/es/checkbox/style";
|
|
10
|
+
import { K as ue } from "../../../chunks/InputWrapper.RG8Q9Ntu.js";
|
|
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(ie), [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((i) => i.filter((c) => c !== e));
|
|
21
21
|
}, H = (e) => {
|
|
22
|
-
y((
|
|
22
|
+
y((i) => [...i, e]);
|
|
23
23
|
}, J = (e) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
24
|
+
const i = s.indexOf(e.value), c = [...s];
|
|
25
|
+
i === -1 ? c.push(e.value) : c.splice(i, 1), "value" in n || G(c);
|
|
26
26
|
const K = I();
|
|
27
|
-
d == null || d(
|
|
27
|
+
d == null || d(c.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 =
|
|
31
|
+
}, g = W("checkbox", m), h = `${g}-group`, [L, M] = ce(g), Q = te(n, ["value", "disabled"]);
|
|
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,
|
|
@@ -39,11 +39,11 @@ const R = p(null), de = ({ defaultValue: v, children: o, options: a = [], prefix
|
|
|
39
39
|
registerValue: H,
|
|
40
40
|
cancelValue: F
|
|
41
41
|
}, X = w(h, {
|
|
42
|
-
[`${h}-rtl`]:
|
|
42
|
+
[`${h}-rtl`]: q === "rtl"
|
|
43
43
|
}, l, u, M);
|
|
44
|
-
return L(r("div", { className: X, style: t, ...Q, ref:
|
|
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_x4tki_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.RG8Q9Ntu.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:
|
|
10
|
-
const { appId: r } = C(), n = i(r, "kit-colorpicker-panel",
|
|
11
|
-
return t(f, { label: e, helper:
|
|
8
|
+
"kit-colorpicker": "_kit-colorpicker_5o9zg_2"
|
|
9
|
+
}, x = ({ label: e, className: c, helper: p, rootClassName: s, required: l, infoIcon: m, actions: a, onInfoClick: k, ...o }) => {
|
|
10
|
+
const { appId: r } = C(), n = 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: k, children: t(K, { ...o, rootClassName: n, className: d }) });
|
|
12
12
|
};
|
|
13
13
|
x.displayName = "KitColorPicker";
|
|
14
14
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IKitDatePicker } from './types';
|
|
3
|
-
declare const KitDatePicker:
|
|
3
|
+
declare const KitDatePicker: import("react").ForwardRefExoticComponent<Omit<IKitDatePicker, "ref"> & import("react").RefAttributes<any>>;
|
|
4
4
|
export default KitDatePicker;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const KitRangePicker:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const KitRangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
3
3
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale | undefined;
|
|
4
4
|
size?: import("antd/es/button").ButtonSize;
|
|
5
5
|
placement?: "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | undefined;
|
|
@@ -9,6 +9,6 @@ declare const KitRangePicker: React.ForwardRefExoticComponent<Omit<import("rc-pi
|
|
|
9
9
|
dropdownClassName?: string | undefined;
|
|
10
10
|
popupClassName?: string | undefined;
|
|
11
11
|
rootClassName?: string | undefined;
|
|
12
|
-
popupStyle?:
|
|
13
|
-
} & import("./types").IInternalRangerPicker &
|
|
12
|
+
popupStyle?: import("react").CSSProperties | undefined;
|
|
13
|
+
} & import("./types").IInternalRangerPicker & import("react").RefAttributes<any>>;
|
|
14
14
|
export default KitRangePicker;
|