aristid-ds 16.1.0 → 16.2.0
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 +14 -0
- package/dist/Kit/DataDisplay/Collapse/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemList/index.js +1 -1
- package/dist/Kit/DataDisplay/RedirectCard/index.js +1 -1
- package/dist/Kit/DataDisplay/Table/index.js +1 -1
- package/dist/Kit/DataDisplay/Tabs/index.js +1 -1
- package/dist/Kit/DataDisplay/Tabs/types.d.ts +1 -1
- package/dist/Kit/DataDisplay/Tag/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.js +1 -1
- package/dist/Kit/DataEntry/Select/index.js +1 -1
- package/dist/Kit/DataEntry/TreeSelect/index.js +1 -1
- package/dist/Kit/DataEntry/Upload/index.js +1 -1
- package/dist/Kit/Feedback/Modal/index.js +1 -1
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/SnackBar/index.js +1 -1
- package/dist/Kit/General/Button/index.js +1 -1
- package/dist/Kit/General/DynamicActions/index.js +1 -1
- package/dist/Kit/General/Icon/index.js +1 -1
- package/dist/Kit/Layout/PageLayout/index.js +1 -1
- package/dist/Kit/Navigation/Header/index.js +1 -1
- package/dist/Kit/Navigation/PageHeader/index.js +1 -1
- package/dist/Kit/Navigation/SideMenu/index.js +1 -1
- package/dist/Kit/Navigation/SidePanel/index.js +1 -1
- package/dist/Kit/index.js +20 -20
- package/dist/assets/ItemCard.css +1 -1
- package/dist/assets/Tabs.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/chunks/{Button.DpqgHUnY.js → Button.W4yUc4_g.js} +15 -15
- package/dist/chunks/{Collapse.B3UwCcGO.js → Collapse.Kx-SBhE4.js} +2 -2
- package/dist/chunks/{DynamicActions.DHDIl5-h.js → DynamicActions.DLAChqhe.js} +1 -1
- package/dist/chunks/{Header.D6fLQ7Mt.js → Header.BJgzh9IF.js} +1 -1
- package/dist/chunks/{Icon.sjej1yCA.js → Icon.CxPVsgjL.js} +8 -8
- package/dist/chunks/{ItemCard.BvY_r-dg.js → ItemCard.CZWby7um.js} +3 -3
- package/dist/chunks/{ItemList.r-y6KzU1.js → ItemList.D3ZOFW5C.js} +1 -1
- package/dist/chunks/{LinkButton.DphCC7Rv.js → LinkButton.BBk_vytt.js} +2 -2
- package/dist/chunks/{Modal.C5SJAENF.js → Modal.CvtoS2TF.js} +2 -2
- package/dist/chunks/{Notification.BnuvQBxz.js → Notification.DRllbqkG.js} +2 -2
- package/dist/chunks/{PageHeader.BnSVtOFI.js → PageHeader.StAURUeV.js} +1 -1
- package/dist/chunks/{PageLayout.DYKBSKyY.js → PageLayout.BS_4gV3M.js} +2 -2
- package/dist/chunks/{RedirectCard.BT3eQLV1.js → RedirectCard.DvR9Spw2.js} +2 -2
- package/dist/chunks/{Select.DvAxIzIn.js → Select.CepppHZ6.js} +3 -3
- package/dist/chunks/{SideMenu.D4wozNhB.js → SideMenu.BFZc2x69.js} +11 -11
- package/dist/chunks/{SidePanel.BJuPploc.js → SidePanel.CaUEt3pC.js} +1 -1
- package/dist/chunks/{SnackBar.BWnfof-_.js → SnackBar.Dvnae0aa.js} +2 -2
- package/dist/chunks/{Table.DsE1qZU6.js → Table.DvFA660k.js} +2 -2
- package/dist/chunks/{Tabs.DB5WWK-g.js → Tabs.YH0DNmKq.js} +41 -38
- package/dist/chunks/{Tag.CxgIR_go.js → Tag.B9K2nEub.js} +1 -1
- package/dist/chunks/{TreeSelect.BvpOIkIV.js → TreeSelect.k8HffaA-.js} +3 -3
- package/dist/chunks/{Upload.BgdoWha4.js → Upload.C_TOub0N.js} +2 -2
- package/dist/chunks/{styles.module.C0REJD9g.js → styles.module.Bfe7jTpt.js} +1 -1
- package/dist/index.es.js +20 -20
- package/dist/index.umd.js +2 -2
- package/package.json +8 -5
|
@@ -3,7 +3,7 @@ import { n as t } from "./useKitTheme.Bcv-etUA.js";
|
|
|
3
3
|
import { n } from "./useKitLocale.45Rjhfd0.js";
|
|
4
4
|
import { t as r } from "./IdCard.BBfDw0-e.js";
|
|
5
5
|
import { t as i } from "./Checkbox.CD7_4xKA.js";
|
|
6
|
-
import { t as a } from "./Button.
|
|
6
|
+
import { t as a } from "./Button.W4yUc4_g.js";
|
|
7
7
|
import { KitDropDown as o } from "../Kit/Navigation/DropDown/index.js";
|
|
8
8
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
9
|
import { forwardRef as u, useState as d } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./useKitLocale.45Rjhfd0.js";
|
|
2
2
|
import { KitSpace as t } from "../Kit/Layout/Space/index.js";
|
|
3
|
-
import { t as n } from "./Modal.
|
|
4
|
-
import { t as r } from "./Button.
|
|
3
|
+
import { t as n } from "./Modal.CvtoS2TF.js";
|
|
4
|
+
import { t as r } from "./Button.W4yUc4_g.js";
|
|
5
5
|
import { t as i } from "./Input.CtZ4tgRD.js";
|
|
6
6
|
import { KitButtonTooltip as a } from "../Kit/DataEntry/RichText/MenuBar/ButtonTooltip/index.js";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
@@ -5,8 +5,8 @@ import { n as r } from "./useKitLocale.45Rjhfd0.js";
|
|
|
5
5
|
import { t as i } from "./Typography.LjOcXtjO.js";
|
|
6
6
|
import { KitTooltip as a } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
7
7
|
import { KitSpace as o } from "../Kit/Layout/Space/index.js";
|
|
8
|
-
import { t as s } from "./Button.
|
|
9
|
-
import { t as c } from "./Icon.
|
|
8
|
+
import { t as s } from "./Button.W4yUc4_g.js";
|
|
9
|
+
import { t as c } from "./Icon.CxPVsgjL.js";
|
|
10
10
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
11
11
|
import f from "classnames";
|
|
12
12
|
import { FontAwesomeIcon as p } from "@fortawesome/react-fontawesome";
|
|
@@ -3,8 +3,8 @@ import { utilitiesCssTokens as t } from "../theme/aristid/general/utilities/inde
|
|
|
3
3
|
import { n } from "./useKitLocale.45Rjhfd0.js";
|
|
4
4
|
import { t as r } from "./Typography.LjOcXtjO.js";
|
|
5
5
|
import { KitTooltip as i } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
6
|
-
import { t as a } from "./Button.
|
|
7
|
-
import { t as o } from "./Icon.
|
|
6
|
+
import { t as a } from "./Button.W4yUc4_g.js";
|
|
7
|
+
import { t as o } from "./Icon.CxPVsgjL.js";
|
|
8
8
|
import { kitNotificationCssTokens as s } from "../theme/aristid/components/Feedback/Notification/index.js";
|
|
9
9
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
10
10
|
import { useState as u } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
2
2
|
import { t } from "./Typography.LjOcXtjO.js";
|
|
3
3
|
import { KitSpace as n } from "../Kit/Layout/Space/index.js";
|
|
4
|
-
import { t as r } from "./Button.
|
|
4
|
+
import { t as r } from "./Button.W4yUc4_g.js";
|
|
5
5
|
import { t as i } from "./Input.CtZ4tgRD.js";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
import { cloneElement as s, useMemo as c } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Header.
|
|
2
|
-
import { t } from "./SideMenu.
|
|
1
|
+
import { t as e } from "./Header.BJgzh9IF.js";
|
|
2
|
+
import { t } from "./SideMenu.BFZc2x69.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import i from "classnames";
|
|
5
5
|
import '../assets/PageLayout.css';var a = {
|
|
@@ -2,9 +2,9 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { n as t } from "./useKitLocale.45Rjhfd0.js";
|
|
3
3
|
import { t as n } from "./Typography.LjOcXtjO.js";
|
|
4
4
|
import { KitTooltip as r } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
5
|
-
import { t as i } from "./Button.
|
|
5
|
+
import { t as i } from "./Button.W4yUc4_g.js";
|
|
6
6
|
import { KitDropDown as a } from "../Kit/Navigation/DropDown/index.js";
|
|
7
|
-
import { t as o } from "./Icon.
|
|
7
|
+
import { t as o } from "./Icon.CxPVsgjL.js";
|
|
8
8
|
import { t as s } from "./Divider.BmAL40z9.js";
|
|
9
9
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
10
|
import { forwardRef as d } from "react";
|
|
@@ -2,10 +2,10 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { t } from "./Typography.LjOcXtjO.js";
|
|
3
3
|
import { t as n } from "./IdCard.BBfDw0-e.js";
|
|
4
4
|
import { t as r } from "./InputWrapper.DuqdZ-tp.js";
|
|
5
|
-
import { t as i } from "./Tag.
|
|
5
|
+
import { t as i } from "./Tag.B9K2nEub.js";
|
|
6
6
|
import { t as a } from "./useGetPopupContainer.C6KjVnVk.js";
|
|
7
|
-
import { t as o } from "./Icon.
|
|
8
|
-
import { t as s } from "./styles.module.
|
|
7
|
+
import { t as o } from "./Icon.CxPVsgjL.js";
|
|
8
|
+
import { t as s } from "./styles.module.Bfe7jTpt.js";
|
|
9
9
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
10
10
|
import { forwardRef as u, useEffect as d, useMemo as f, useRef as p, useState as ee } from "react";
|
|
11
11
|
import { Select as te } from "antd";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { t as r } from "./Button.
|
|
1
|
+
import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
2
|
+
import { KitTooltip as t } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
3
|
+
import n from "../hooks/useSecureClick/index.js";
|
|
4
|
+
import { t as r } from "./Button.W4yUc4_g.js";
|
|
5
5
|
import { t as i } from "./SearchInput.CZnUAGz5.js";
|
|
6
6
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
7
|
import { createElement as c, useEffect as l, useState as u } from "react";
|
|
@@ -15,9 +15,9 @@ var h = {
|
|
|
15
15
|
"kit-side-menu-separator": "_kit-side-menu-separator_lb7uz_180",
|
|
16
16
|
"kit-side-menu-group": "_kit-side-menu-group_lb7uz_188"
|
|
17
17
|
}, g = ({ type: r = "default", itemKey: i = "", title: c, tooltip: l, complement: u, icon: f, disabled: p, large: m, active: g, onClick: _, disabledSecureClick: v, className: y, ...b }) => {
|
|
18
|
-
let { appId: x } =
|
|
18
|
+
let { appId: x } = e(), S = (e) => {
|
|
19
19
|
e.stopPropagation(), _?.(i);
|
|
20
|
-
}, C =
|
|
20
|
+
}, C = n(S), w = () => {
|
|
21
21
|
let e = d(x, h["kit-side-menu-item"], {
|
|
22
22
|
large: m,
|
|
23
23
|
active: g,
|
|
@@ -54,15 +54,15 @@ var h = {
|
|
|
54
54
|
className: "kit-side-menu-item-complement",
|
|
55
55
|
children: u
|
|
56
56
|
})] })]
|
|
57
|
-
}) : m ? w() : o(
|
|
57
|
+
}) : m ? w() : o(t, {
|
|
58
58
|
title: l ?? (typeof c == "string" ? c : void 0),
|
|
59
59
|
children: w()
|
|
60
60
|
});
|
|
61
|
-
}, _ = ({ open:
|
|
62
|
-
let { appId: E } =
|
|
61
|
+
}, _ = ({ open: t = !1, showSearch: n, searchOptions: a, customContent: _, items: v = [], onMenuClick: y, onOpenChanged: b, defaultActiveItemKey: x, activeItemKey: S, disabledSecureClick: C, className: w, ...T }) => {
|
|
62
|
+
let { appId: E } = e(), [D, O] = u(t), [k, A] = u(x), j = S !== void 0, M = j ? S : k;
|
|
63
63
|
l(() => {
|
|
64
|
-
O(
|
|
65
|
-
}, [
|
|
64
|
+
O(t);
|
|
65
|
+
}, [t]), l(() => {
|
|
66
66
|
j || A(x);
|
|
67
67
|
}, [x, j]);
|
|
68
68
|
let N = d(E, h["kit-side-menu"], { open: D }, w), P = () => {
|
|
@@ -2,7 +2,7 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { n as t } from "./useKitLocale.45Rjhfd0.js";
|
|
3
3
|
import { KitSpace as n } from "../Kit/Layout/Space/index.js";
|
|
4
4
|
import { t as r } from "./IdCard.BBfDw0-e.js";
|
|
5
|
-
import { t as i } from "./Button.
|
|
5
|
+
import { t as i } from "./Button.W4yUc4_g.js";
|
|
6
6
|
import { n as a } from "./useGetPopupContainer.C6KjVnVk.js";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { forwardRef as l, useEffect as u, useImperativeHandle as d, useRef as f, useState as p } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./SnackBarProvider.Uz7S9Dwk.js";
|
|
2
2
|
import { n as t } from "./useKitTheme.Bcv-etUA.js";
|
|
3
3
|
import { t as n } from "./Typography.LjOcXtjO.js";
|
|
4
|
-
import { t as r } from "./Button.
|
|
4
|
+
import { t as r } from "./Button.W4yUc4_g.js";
|
|
5
5
|
import { t as i } from "./Divider.BmAL40z9.js";
|
|
6
|
-
import { t as a } from "./DynamicActions.
|
|
6
|
+
import { t as a } from "./DynamicActions.DLAChqhe.js";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { toast as l } from "react-hot-toast";
|
|
9
9
|
import u from "classnames";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
2
|
-
import { t } from "./Button.
|
|
3
|
-
import { t as n } from "./Icon.
|
|
2
|
+
import { t } from "./Button.W4yUc4_g.js";
|
|
3
|
+
import { t as n } from "./Icon.CxPVsgjL.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { forwardRef as i, useMemo as a } from "react";
|
|
6
6
|
import { Table as o } from "antd";
|
|
@@ -2,7 +2,7 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { n as t } from "./useKitLocale.45Rjhfd0.js";
|
|
3
3
|
import { t as n } from "./Typography.LjOcXtjO.js";
|
|
4
4
|
import { t as r } from "./Badge.BmH3YSz4.js";
|
|
5
|
-
import { t as i } from "./Button.
|
|
5
|
+
import { t as i } from "./Button.W4yUc4_g.js";
|
|
6
6
|
import { KitDropDown as a } from "../Kit/Navigation/DropDown/index.js";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { useLayoutEffect as l, useRef as u, useState as d } from "react";
|
|
@@ -11,8 +11,8 @@ import { FontAwesomeIcon as p } from "@fortawesome/react-fontawesome";
|
|
|
11
11
|
import { faEllipsisVertical as m, faPlus as h } from "@fortawesome/free-solid-svg-icons";
|
|
12
12
|
import '../assets/Tabs.css';//#region src/Kit/DataDisplay/Tabs/styles.module.scss
|
|
13
13
|
var g = {
|
|
14
|
-
"kit-tabs-wrapper": "_kit-tabs-
|
|
15
|
-
"kit-tabs": "_kit-
|
|
14
|
+
"kit-tabs-wrapper": "_kit-tabs-wrapper_1ocnn_1",
|
|
15
|
+
"kit-tabs": "_kit-tabs_1ocnn_1"
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/Kit/DataDisplay/Tabs/useOverflowTabs.tsx
|
|
@@ -85,70 +85,73 @@ var y = ({ icon: e, label: t, size: i, badgeCount: a, badgeOverflowCount: l }) =
|
|
|
85
85
|
})] });
|
|
86
86
|
function b(e) {
|
|
87
87
|
switch (e) {
|
|
88
|
-
case "
|
|
89
|
-
case "
|
|
90
|
-
case "medium": return "fontSize4";
|
|
88
|
+
case "small": return "fontSize7";
|
|
89
|
+
case "medium": return "fontSize6";
|
|
91
90
|
default: return "fontSize4";
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
//#endregion
|
|
95
94
|
//#region src/Kit/DataDisplay/Tabs/index.tsx
|
|
96
|
-
var x =
|
|
97
|
-
|
|
95
|
+
var x = {
|
|
96
|
+
small: "s",
|
|
97
|
+
medium: "m",
|
|
98
|
+
large: "l"
|
|
99
|
+
}, S = ({ addTab: n, centered: r, className: l, activeKey: u, defaultKey: v, items: b, onChange: S, fullwidthTab: C, size: w = "medium", variant: T = "classic" }) => {
|
|
100
|
+
let { appId: E } = e(), { locale: D } = t(), [O, k] = d(v ?? b[0]?.key), A = u ?? O, j = b.find((e) => e.key === A)?.tabContent, M = f(E, l, g["kit-tabs"], w, T, C ? "fullwidth" : "", j && T === "pill" ? "tabs-bottom-spacing" : ""), N = f(g["kit-tabs-wrapper"], { centered: r }), { containerRef: P, tabRefs: F, overflowedKeys: I, overflowedItems: L, overflowCalculated: R } = _({
|
|
98
101
|
items: b,
|
|
99
102
|
addTab: !!n,
|
|
100
|
-
disableOverflow: !!
|
|
101
|
-
}),
|
|
102
|
-
|
|
103
|
-
},
|
|
104
|
-
e.code === "Enter" && (
|
|
103
|
+
disableOverflow: !!C
|
|
104
|
+
}), z = (e) => {
|
|
105
|
+
k(e), S?.(e);
|
|
106
|
+
}, B = (e, t) => {
|
|
107
|
+
e.code === "Enter" && (k(t), S?.(t));
|
|
105
108
|
};
|
|
106
109
|
return c(o, { children: [s("div", {
|
|
107
|
-
className:
|
|
108
|
-
ref:
|
|
110
|
+
className: N,
|
|
111
|
+
ref: P,
|
|
109
112
|
children: c("div", {
|
|
110
|
-
className:
|
|
113
|
+
className: M,
|
|
111
114
|
role: "tablist",
|
|
112
115
|
children: [
|
|
113
116
|
b.map(({ icon: e, label: t, badgeCount: n, badgeOverflowCount: r, key: i, disabled: a }) => {
|
|
114
|
-
let o =
|
|
117
|
+
let o = I.includes(i), c = A === i;
|
|
115
118
|
return s("div", {
|
|
116
|
-
ref: (e) =>
|
|
117
|
-
className: f("kit-tab", "kit-tab-" +
|
|
118
|
-
visible:
|
|
119
|
+
ref: (e) => F.current[i] = e,
|
|
120
|
+
className: f("kit-tab", "kit-tab-" + w, T, {
|
|
121
|
+
visible: R && !o,
|
|
119
122
|
disabled: a,
|
|
120
123
|
active: c,
|
|
121
|
-
fullwidth:
|
|
124
|
+
fullwidth: C
|
|
122
125
|
}),
|
|
123
126
|
role: "tab",
|
|
124
127
|
tabIndex: 0,
|
|
125
|
-
onClick: a ? void 0 : () =>
|
|
126
|
-
onKeyDown: a ? void 0 : (e) =>
|
|
128
|
+
onClick: a ? void 0 : () => z(i),
|
|
129
|
+
onKeyDown: a ? void 0 : (e) => B(e, i),
|
|
127
130
|
children: s(y, {
|
|
128
131
|
icon: e,
|
|
129
132
|
label: t,
|
|
130
|
-
size:
|
|
133
|
+
size: w,
|
|
131
134
|
badgeCount: n,
|
|
132
135
|
badgeOverflowCount: r
|
|
133
136
|
})
|
|
134
137
|
}, i);
|
|
135
138
|
}),
|
|
136
|
-
n &&
|
|
139
|
+
n && T === "classic" && s(i, {
|
|
137
140
|
disableSecureClick: !0,
|
|
138
141
|
type: "tertiary",
|
|
139
142
|
icon: s(p, { icon: h }),
|
|
140
143
|
onClick: n,
|
|
141
|
-
size:
|
|
144
|
+
size: x[w]
|
|
142
145
|
}),
|
|
143
|
-
|
|
146
|
+
I.length > 0 && s(a, {
|
|
144
147
|
menu: {
|
|
145
|
-
items:
|
|
148
|
+
items: L.map((e) => ({
|
|
146
149
|
label: s("div", {
|
|
147
|
-
className: f("kit-tab-dropdown", `kit-tab-dropdown-${
|
|
150
|
+
className: f("kit-tab-dropdown", `kit-tab-dropdown-${w}`),
|
|
148
151
|
children: s(y, {
|
|
149
152
|
icon: e.icon,
|
|
150
153
|
label: e.label,
|
|
151
|
-
size:
|
|
154
|
+
size: w,
|
|
152
155
|
badgeCount: e.badgeCount,
|
|
153
156
|
badgeOverflowCount: e.badgeOverflowCount
|
|
154
157
|
})
|
|
@@ -156,22 +159,22 @@ var x = ({ addTab: n, centered: r, className: l, activeKey: u, defaultKey: v, it
|
|
|
156
159
|
type: "item",
|
|
157
160
|
key: e.key,
|
|
158
161
|
disabled: e.disabled,
|
|
159
|
-
onClick: () => !e.disabled &&
|
|
162
|
+
onClick: () => !e.disabled && z(e.key)
|
|
160
163
|
})),
|
|
161
|
-
selectedKeys: [
|
|
164
|
+
selectedKeys: [A]
|
|
162
165
|
},
|
|
163
166
|
trigger: ["click"],
|
|
164
167
|
children: s(i, {
|
|
165
168
|
icon: s(p, { icon: m }),
|
|
166
|
-
type:
|
|
167
|
-
"aria-label":
|
|
168
|
-
size:
|
|
169
|
+
type: I.includes(A) ? "primary" : "tertiary",
|
|
170
|
+
"aria-label": D.Tabs?.moreOptions,
|
|
171
|
+
size: x[w]
|
|
169
172
|
})
|
|
170
173
|
})
|
|
171
174
|
]
|
|
172
175
|
})
|
|
173
|
-
}),
|
|
176
|
+
}), j] });
|
|
174
177
|
};
|
|
175
|
-
|
|
178
|
+
S.displayName = "KitTabs";
|
|
176
179
|
//#endregion
|
|
177
|
-
export {
|
|
180
|
+
export { S as t };
|
|
@@ -2,7 +2,7 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { n as t } from "./useKitLocale.45Rjhfd0.js";
|
|
3
3
|
import { KitTooltip as n } from "../Kit/DataDisplay/Tooltip/index.js";
|
|
4
4
|
import { t as r } from "./IdCard.BBfDw0-e.js";
|
|
5
|
-
import { t as i } from "./Modal.
|
|
5
|
+
import { t as i } from "./Modal.CvtoS2TF.js";
|
|
6
6
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
7
|
import { forwardRef as c, useLayoutEffect as l, useRef as u, useState as d } from "react";
|
|
8
8
|
import { Tag as f } from "antd";
|
|
@@ -2,10 +2,10 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { n as t } from "./useKitLocale.45Rjhfd0.js";
|
|
3
3
|
import { t as n } from "./IdCard.BBfDw0-e.js";
|
|
4
4
|
import { t as r } from "./InputWrapper.DuqdZ-tp.js";
|
|
5
|
-
import { t as i } from "./Tag.
|
|
5
|
+
import { t as i } from "./Tag.B9K2nEub.js";
|
|
6
6
|
import { t as a } from "./useGetPopupContainer.C6KjVnVk.js";
|
|
7
|
-
import { t as o } from "./Icon.
|
|
8
|
-
import { t as s } from "./styles.module.
|
|
7
|
+
import { t as o } from "./Icon.CxPVsgjL.js";
|
|
8
|
+
import { t as s } from "./styles.module.Bfe7jTpt.js";
|
|
9
9
|
import { jsx as c } from "react/jsx-runtime";
|
|
10
10
|
import { forwardRef as l, useEffect as u, useRef as d, useState as f } from "react";
|
|
11
11
|
import { TreeSelect as ee } from "antd";
|
|
@@ -2,8 +2,8 @@ import { n as e } from "./useKitTheme.Bcv-etUA.js";
|
|
|
2
2
|
import { n as t } from "./useKitLocale.45Rjhfd0.js";
|
|
3
3
|
import { t as n } from "./Typography.LjOcXtjO.js";
|
|
4
4
|
import { t as r } from "./Avatar.BkWsGZQz.js";
|
|
5
|
-
import { t as i } from "./Button.
|
|
6
|
-
import { t as a } from "./ItemList.
|
|
5
|
+
import { t as i } from "./Button.W4yUc4_g.js";
|
|
6
|
+
import { t as a } from "./ItemList.D3ZOFW5C.js";
|
|
7
7
|
import { t as o } from "./Progress.ZWy41SUW.js";
|
|
8
8
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
9
|
import { forwardRef as l, useEffect as u, useState as d } from "react";
|
package/dist/index.es.js
CHANGED
|
@@ -15,22 +15,22 @@ import { t as m } from "./chunks/Checkbox.CD7_4xKA.js";
|
|
|
15
15
|
import { t as h } from "./chunks/CheckableTile.G1mWLqE7.js";
|
|
16
16
|
import { t as g } from "./chunks/Switch.6L3-gRH2.js";
|
|
17
17
|
import { t as _ } from "./chunks/Breadcrumb.DIt0b2vn.js";
|
|
18
|
-
import { t as v } from "./chunks/Tag.
|
|
19
|
-
import { t as y } from "./chunks/Modal.
|
|
20
|
-
import { t as b } from "./chunks/Button.
|
|
18
|
+
import { t as v } from "./chunks/Tag.B9K2nEub.js";
|
|
19
|
+
import { t as y } from "./chunks/Modal.CvtoS2TF.js";
|
|
20
|
+
import { t as b } from "./chunks/Button.W4yUc4_g.js";
|
|
21
21
|
import { KitDropDown as x } from "./Kit/Navigation/DropDown/index.js";
|
|
22
|
-
import { t as S } from "./chunks/Icon.
|
|
23
|
-
import { t as C } from "./chunks/ItemCard.
|
|
24
|
-
import { t as w } from "./chunks/Collapse.
|
|
22
|
+
import { t as S } from "./chunks/Icon.CxPVsgjL.js";
|
|
23
|
+
import { t as C } from "./chunks/ItemCard.CZWby7um.js";
|
|
24
|
+
import { t as w } from "./chunks/Collapse.Kx-SBhE4.js";
|
|
25
25
|
import { t as T } from "./chunks/Image.kjyHNj64.js";
|
|
26
26
|
import { t as E } from "./chunks/Error.BUEl7nbL.js";
|
|
27
27
|
import { t as D } from "./chunks/Loader.C-wRwi_O.js";
|
|
28
|
-
import { t as O } from "./chunks/ItemList.
|
|
29
|
-
import { n as k, t as A } from "./chunks/Table.
|
|
30
|
-
import { t as j } from "./chunks/Tabs.
|
|
28
|
+
import { t as O } from "./chunks/ItemList.D3ZOFW5C.js";
|
|
29
|
+
import { n as k, t as A } from "./chunks/Table.DvFA660k.js";
|
|
30
|
+
import { t as j } from "./chunks/Tabs.YH0DNmKq.js";
|
|
31
31
|
import { t as M } from "./chunks/Tree.DI2X_dWa.js";
|
|
32
32
|
import { KitTour as N } from "./Kit/DataDisplay/Tour/index.js";
|
|
33
|
-
import { t as P } from "./chunks/RedirectCard.
|
|
33
|
+
import { t as P } from "./chunks/RedirectCard.DvR9Spw2.js";
|
|
34
34
|
import { t as F } from "./chunks/Divider.BmAL40z9.js";
|
|
35
35
|
import { t as I } from "./chunks/Input.CtZ4tgRD.js";
|
|
36
36
|
import { t as L } from "./chunks/InputNumber.BEYbLzDt.js";
|
|
@@ -39,27 +39,27 @@ import { t as z } from "./chunks/Rate.Dmfwlgev.js";
|
|
|
39
39
|
import { t as B } from "./chunks/RichText.BR_A94YI.js";
|
|
40
40
|
import { AntAffix as V, AntAlert as H, AntAnchor as U, AntApp as W, AntAutoComplete as G, AntAvatar as K, AntBackTop as q, AntBadge as J, AntBreadcrumb as Y, AntButton as X, AntCalendar as Z, AntCard as Q, AntCarousel as $, AntCascader as ee, AntCheckbox as te, AntCol as ne, AntCollapse as re, AntColorPicker as ie, AntConfigProvider as ae, AntDatePicker as oe, AntDescriptions as se, AntDivider as ce, AntDrawer as le, AntDropdown as ue, AntEmpty as de, AntFlex as fe, AntFloatButton as pe, AntForm as me, AntGrid as he, AntImage as ge, AntInput as _e, AntInputNumber as ve, AntLayout as ye, AntList as be, AntMentions as xe, AntMenu as Se, AntModal as Ce, AntPagination as we, AntPopconfirm as Te, AntPopover as Ee, AntProgress as De, AntQRCode as Oe, AntRadio as ke, AntRate as Ae, AntResult as je, AntRow as Me, AntSegmented as Ne, AntSelect as Pe, AntSkeleton as Fe, AntSlider as Ie, AntSpace as Le, AntSpin as Re, AntStatistic as ze, AntSteps as Be, AntSwitch as Ve, AntTable as He, AntTabs as Ue, AntTag as We, AntTimePicker as Ge, AntTimeline as Ke, AntTooltip as qe, AntTour as Je, AntTransfer as Ye, AntTree as Xe, AntTreeSelect as Ze, AntTypography as Qe, AntUpload as $e, AntWatermark as et } from "./Kit/Ant/index.js";
|
|
41
41
|
import { t as tt } from "./chunks/SearchInput.CZnUAGz5.js";
|
|
42
|
-
import { t as nt } from "./chunks/Select.
|
|
42
|
+
import { t as nt } from "./chunks/Select.CepppHZ6.js";
|
|
43
43
|
import { t as rt } from "./chunks/DatePicker.s-w_Yoy_.js";
|
|
44
44
|
import { t as it } from "./chunks/AutoComplete.DjcjDCwe.js";
|
|
45
45
|
import { t as at } from "./chunks/Progress.ZWy41SUW.js";
|
|
46
|
-
import { t as ot } from "./chunks/Upload.
|
|
46
|
+
import { t as ot } from "./chunks/Upload.C_TOub0N.js";
|
|
47
47
|
import { t as st } from "./chunks/Slider.DqG7lOzt.js";
|
|
48
48
|
import { t as ct } from "./chunks/ColorPicker.CiLVQ7ma.js";
|
|
49
49
|
import { t as lt } from "./chunks/Filter.CEQpPFYE.js";
|
|
50
|
-
import { t as ut } from "./chunks/TreeSelect.
|
|
50
|
+
import { t as ut } from "./chunks/TreeSelect.k8HffaA-.js";
|
|
51
51
|
import { t as dt } from "./chunks/Alert.CptjyHNo.js";
|
|
52
|
-
import { n as ft, r as pt, t as mt } from "./chunks/SnackBar.
|
|
53
|
-
import { t as ht } from "./chunks/Notification.
|
|
52
|
+
import { n as ft, r as pt, t as mt } from "./chunks/SnackBar.Dvnae0aa.js";
|
|
53
|
+
import { t as ht } from "./chunks/Notification.DRllbqkG.js";
|
|
54
54
|
import { t as gt } from "./chunks/Skeleton.w4TjsphH.js";
|
|
55
55
|
import { t as _t } from "./chunks/Section.DX_VJj4c.js";
|
|
56
56
|
import { t as vt } from "./chunks/Grid.C52krwRd.js";
|
|
57
|
-
import { t as yt } from "./chunks/Header.
|
|
58
|
-
import { t as bt } from "./chunks/SideMenu.
|
|
59
|
-
import { t as xt } from "./chunks/PageLayout.
|
|
60
|
-
import { t as St } from "./chunks/PageHeader.
|
|
57
|
+
import { t as yt } from "./chunks/Header.BJgzh9IF.js";
|
|
58
|
+
import { t as bt } from "./chunks/SideMenu.BFZc2x69.js";
|
|
59
|
+
import { t as xt } from "./chunks/PageLayout.BS_4gV3M.js";
|
|
60
|
+
import { t as St } from "./chunks/PageHeader.StAURUeV.js";
|
|
61
61
|
import { t as Ct } from "./chunks/Steps.CF_4sPDw.js";
|
|
62
62
|
import { t as wt } from "./chunks/Pagination.D4RHg4eu.js";
|
|
63
|
-
import { n as Tt, r as Et, t as Dt } from "./chunks/SidePanel.
|
|
63
|
+
import { n as Tt, r as Et, t as Dt } from "./chunks/SidePanel.CaUEt3pC.js";
|
|
64
64
|
import "./Kit/index.js";
|
|
65
65
|
export { V as AntAffix, H as AntAlert, U as AntAnchor, W as AntApp, G as AntAutoComplete, K as AntAvatar, q as AntBackTop, J as AntBadge, Y as AntBreadcrumb, X as AntButton, Z as AntCalendar, Q as AntCard, $ as AntCarousel, ee as AntCascader, te as AntCheckbox, ne as AntCol, re as AntCollapse, ie as AntColorPicker, ae as AntConfigProvider, oe as AntDatePicker, se as AntDescriptions, ce as AntDivider, le as AntDrawer, ue as AntDropdown, de as AntEmpty, fe as AntFlex, pe as AntFloatButton, me as AntForm, he as AntGrid, ge as AntImage, _e as AntInput, ve as AntInputNumber, ye as AntLayout, be as AntList, xe as AntMentions, Se as AntMenu, Ce as AntModal, we as AntPagination, Te as AntPopconfirm, Ee as AntPopover, De as AntProgress, Oe as AntQRCode, ke as AntRadio, Ae as AntRate, je as AntResult, Me as AntRow, Ne as AntSegmented, Pe as AntSelect, Fe as AntSkeleton, Ie as AntSlider, Le as AntSpace, Re as AntSpin, ze as AntStatistic, Be as AntSteps, Ve as AntSwitch, He as AntTable, Ue as AntTabs, We as AntTag, Ge as AntTimePicker, Ke as AntTimeline, qe as AntTooltip, Je as AntTour, Ye as AntTransfer, Xe as AntTree, Ze as AntTreeSelect, Qe as AntTypography, $e as AntUpload, et as AntWatermark, dt as KitAlert, t as KitApp, it as KitAutoComplete, c as KitAvatar, l as KitBadge, _ as KitBreadcrumb, b as KitButton, h as KitCheckableTile, m as KitCheckbox, w as KitCollapse, ct as KitColorPicker, u as KitComment, rt as KitDatePicker, F as KitDivider, x as KitDropDown, r as KitEmpty, E as KitError, lt as KitFilter, vt as KitGrid, yt as KitHeader, S as KitIcon, f as KitIdCard, T as KitImage, I as KitInput, L as KitInputNumber, p as KitInputWrapper, C as KitItemCard, O as KitItemList, D as KitLoader, y as KitModal, ht as KitNotification, St as KitPageHeader, xt as KitPageLayout, wt as KitPagination, at as KitProgress, R as KitRadio, z as KitRate, P as KitRedirectCard, B as KitRichText, tt as KitSearchInput, _t as KitSection, nt as KitSelect, bt as KitSideMenu, Dt as KitSidePanel, Tt as KitSidePanelContent, Et as KitSidePanelHeader, gt as KitSkeleton, st as KitSlider, mt as KitSnackBarProvider, o as KitSpace, Ct as KitSteps, g as KitSwitch, A as KitTable, k as KitTableExpandButton, j as KitTabs, v as KitTag, d as KitThread, a as KitTooltip, N as KitTour, M as KitTree, ut as KitTreeSelect, i as KitTypography, ot as KitUpload, ft as closeKitSnackBar, pt as openKitSnackBar, n as useKitLocale, s as useKitSpellCheckConfig, e as useKitTheme };
|