@baishuyun/ui-base 6.7.3 → 6.8.2

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.
Files changed (102) hide show
  1. package/dist/Amap/AmapCircle/index.js +1 -1
  2. package/dist/Amap/AmapMarker/index.js +1 -1
  3. package/dist/Amap/AmapMarkerCluster/index.js +1 -1
  4. package/dist/Amap/AmapProvider/index.js +4 -4
  5. package/dist/Amap/{AmapProvider-DSjQj2oA.js → AmapProvider-Cwi6WOe0.js} +1 -1
  6. package/dist/Amap/hooks/index.js +1 -1
  7. package/dist/Amap/index.js +4 -4
  8. package/dist/Calendar/{Calendar-C2iO_3cX.js → Calendar-DnQrN8KB.js} +2 -2
  9. package/dist/Calendar/context/index.js +1 -1
  10. package/dist/Calendar/index.js +5 -5
  11. package/dist/Calendar/subcomponents/AllDaySection/index.js +1 -1
  12. package/dist/Calendar/subcomponents/CurrentTimeIndicator/index.js +1 -1
  13. package/dist/Calendar/subcomponents/EventCard/index.js +1 -1
  14. package/dist/Calendar/subcomponents/TimeAxis/index.js +1 -1
  15. package/dist/Calendar/subcomponents/TimeGrid/index.js +1 -1
  16. package/dist/Calendar/utils/index.js +1 -1
  17. package/dist/Calendar/utils/layout/index.js +1 -1
  18. package/dist/Calendar/utils/theme/index.js +1 -1
  19. package/dist/Card/index.js +1 -1
  20. package/dist/CheckBox/index.js +1 -1
  21. package/dist/ColorPicker/{ColorPicker-BtTIb9tX.js → ColorPicker-CL57cSDG.js} +2 -1
  22. package/dist/ColorPicker/index.js +4 -4
  23. package/dist/ConfigProvider/index.js +3 -3
  24. package/dist/DatePicker/{DatePicker-BMTK0Phw.js → DatePicker-C0XbZmrZ.js} +2 -2
  25. package/dist/DatePicker/{DatePickerPanel-BH_Z4e88.js → DatePickerPanel-BEn16cat.js} +3 -3
  26. package/dist/DatePicker/index.js +4 -4
  27. package/dist/DatePicker/style/index.js +1 -1
  28. package/dist/DropDown/{DropDown-CdTjlySd.js → DropDown-yDH9V_9Y.js} +2 -2
  29. package/dist/DropDown/index.js +5 -5
  30. package/dist/DropDown/style/index.js +1 -1
  31. package/dist/Editor/{Buttons-BcP66z6E.js → Buttons-BivKInBV.js} +144 -124
  32. package/dist/Editor/ToolbarPlugin/Buttons/index.js +7 -7
  33. package/dist/Editor/constants/index.js +1 -1
  34. package/dist/Editor/index.js +274 -164
  35. package/dist/Gantt/GanttChart/index.js +7 -7
  36. package/dist/Gantt/{GanttChart-BYzMKcZ2.js → GanttChart-CDw1IQ4F.js} +2 -2
  37. package/dist/Gantt/GanttTable/index.js +5 -5
  38. package/dist/Gantt/{GanttTable-DqJziqML.js → GanttTable-xbXD_PWI.js} +1 -1
  39. package/dist/Gantt/GanttToolBar/index.js +6 -6
  40. package/dist/Gantt/{GanttToolBar-C50n7PD9.js → GanttToolBar-BTeTsR6Z.js} +2 -2
  41. package/dist/Gantt/index.js +9 -9
  42. package/dist/Gantt/utils/index.js +1 -1
  43. package/dist/Gantt/utils/theme/index.js +1 -1
  44. package/dist/Icon/index.js +1 -1
  45. package/dist/InputTag/InputTag-hzCCJQ1z.js +144 -0
  46. package/dist/InputTag/index.js +4 -2
  47. package/dist/Loading/Loading-DiywS7ex.js +19 -0
  48. package/dist/Loading/index.js +4 -2
  49. package/dist/Modal/index.js +1 -1
  50. package/dist/NotFoundContent/index.js +1 -1
  51. package/dist/Radio/{Radio-DSoZotcs.js → Radio-CX9cUqb7.js} +12 -12
  52. package/dist/Radio/index.js +2 -2
  53. package/dist/ScrollBar/index.js +1 -1
  54. package/dist/Segmented/index.js +1 -1
  55. package/dist/Select/{Select-DujgkkUp.js → Select-D6EK7whJ.js} +195 -194
  56. package/dist/Select/{SelectInputSearch-Bikrj3FI.js → SelectInputSearch-COUzreau.js} +1 -1
  57. package/dist/Select/index.js +7 -7
  58. package/dist/Table/{Table-k9wdWm6V.js → Table-yQXQEk6d.js} +1 -1
  59. package/dist/Table/hooks/index.js +1 -1
  60. package/dist/Table/index.js +4 -4
  61. package/dist/Table/style/index.js +1 -1
  62. package/dist/Table/utils/index.js +1 -1
  63. package/dist/Tabs/Tabs-BiKW70CL.js +398 -0
  64. package/dist/Tabs/index.js +4 -2
  65. package/dist/Tooltip/index.js +1 -1
  66. package/dist/Tree/index.js +3 -3
  67. package/dist/Tree/utils/index.js +1 -1
  68. package/dist/components/DropDown/interface.d.ts +167 -169
  69. package/dist/components/Editor/LengthBadge.d.ts +6 -0
  70. package/dist/components/Editor/ToolbarPlugin/BaseButton/BaseButton.d.ts +1 -1
  71. package/dist/components/Editor/ToolbarPlugin/ToolbarPlugin.d.ts +5 -1
  72. package/dist/components/Editor/ToolbarPlugin/context/EditorToolbarThemeContext.d.ts +6 -0
  73. package/dist/components/Editor/ToolbarPlugin/interface.d.ts +30 -32
  74. package/dist/components/Editor/index.d.ts +1 -1
  75. package/dist/components/Editor/interface.d.ts +118 -60
  76. package/dist/components/Editor/plugins/MaxLengthPlugin.d.ts +7 -0
  77. package/dist/components/Editor/utils/resolveEditorToolbarThemeVars.d.ts +5 -0
  78. package/dist/components/Editor/utils/textLength.d.ts +4 -0
  79. package/dist/components/InputTag/interface.d.ts +32 -32
  80. package/dist/components/Radio/interface.d.ts +95 -97
  81. package/dist/components/Tabs/TabSelect/interface.d.ts +23 -25
  82. package/dist/components/Tabs/interface.d.ts +58 -60
  83. package/dist/components/Tree/types/node.d.ts +19 -19
  84. package/dist/components/Tree/types/tree.d.ts +81 -83
  85. package/dist/components/index.d.ts +2 -0
  86. package/dist/index.js +18 -18
  87. package/dist/locale/index.d.ts +1 -1
  88. package/dist/locale/lang/en-US.json.d.ts +177 -166
  89. package/dist/locale/lang/zh-CN.json.d.ts +177 -166
  90. package/dist/locale/lang/zh-TW.json.d.ts +177 -166
  91. package/dist/style.css +1 -1
  92. package/dist/vendors/{ConfigProvider-C3Uwzinj.js → ConfigProvider-DxrZpdIb.js} +23 -1
  93. package/dist/vendors/{LocaleContext-B1HuhJc-.js → LocaleContext-Dcw6C1LX.js} +11 -0
  94. package/dist/vendors/{Tree-DQkpLl6f.js → Tree-DXmVRDn0.js} +8 -7
  95. package/dist/vendors/{useLocale-BYtF5pxt.js → useLocale-BKZX2_zw.js} +1 -1
  96. package/dist/vendors/{version-Dkos5Cha.js → version-4HBYLKDL.js} +1 -1
  97. package/dist/vite-env.d.ts +13 -13
  98. package/dist/vitest-matchers.d.ts +0 -1
  99. package/package.json +8 -8
  100. package/dist/InputTag/InputTag-LnUqz0Hz.js +0 -143
  101. package/dist/Loading/Loading-CcTZogVx.js +0 -15
  102. package/dist/Tabs/Tabs-Ctgg45Ox.js +0 -410
@@ -1,20 +1,20 @@
1
- import "../../vendors/version-Dkos5Cha.js";
1
+ import "../../vendors/version-4HBYLKDL.js";
2
2
  import "../../ScrollBar/style-D26azwz6.js";
3
3
  import "../../Icon/Icon-BBDcb-yw.js";
4
- import "../../vendors/LocaleContext-B1HuhJc-.js";
5
- import "../../vendors/useLocale-BYtF5pxt.js";
4
+ import "../../vendors/LocaleContext-Dcw6C1LX.js";
5
+ import "../../vendors/useLocale-BKZX2_zw.js";
6
6
  import "../../vendors/useLatchedPopupPortalRoot-4fVhqVT4.js";
7
7
  import "../../Tooltip/Tooltip-Ch9lti_7.js";
8
- import "../../Select/SelectInputSearch-Bikrj3FI.js";
8
+ import "../../Select/SelectInputSearch-COUzreau.js";
9
9
  import "../../NotFoundContent/NotFoundContent-BLmzWNBi.js";
10
10
  import "../../ScrollBar/ScrollBar-QhXVe8zd.js";
11
11
  import "../../vendors/useFloatingPortal-CmVJbuRm.js";
12
- import "../../DropDown/DropDown-CdTjlySd.js";
12
+ import "../../DropDown/DropDown-yDH9V_9Y.js";
13
13
  import "../../DropDown/style-Fdp-U4md.js";
14
14
  import "../constants-LIz5jwed.js";
15
15
  import "../GanttHighlightContext-ChThr8ia.js";
16
16
  import "../timelineViewConfig-9HArvbmb.js";
17
17
  import "../collapseKeys-B4SOVHjd.js";
18
- import { t as e } from "../GanttChart-BYzMKcZ2.js";
19
- import "../GanttToolBar-C50n7PD9.js";
18
+ import { t as e } from "../GanttChart-CDw1IQ4F.js";
19
+ import "../GanttToolBar-BTeTsR6Z.js";
20
20
  export { e as default };
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "../Icon/Icon-BBDcb-yw.js";
2
- import { t } from "../vendors/useLocale-BYtF5pxt.js";
2
+ import { t } from "../vendors/useLocale-BKZX2_zw.js";
3
3
  import { t as n } from "../Tooltip/Tooltip-Ch9lti_7.js";
4
4
  import { a as r, f as i, g as a, i as o, m as s, n as c, o as l, r as u } from "./constants-LIz5jwed.js";
5
5
  import { t as d } from "./GanttHighlightContext-ChThr8ia.js";
6
6
  import { n as f, r as p } from "./highlightTarget-BpkYTonb.js";
7
7
  import { a as m, d as h, i as g, n as _, r as v, t as y, u as b } from "./timelineViewConfig-9HArvbmb.js";
8
8
  import { _ as x, a as S, b as C, c as w, d as T, f as ee, g as E, h as D, i as O, l as k, m as A, o as j, p as M, r as te, s as ne, t as N, u as re, v as ie, x as P, y as ae } from "./collapseKeys-B4SOVHjd.js";
9
- import { r as oe, t as F } from "./GanttToolBar-C50n7PD9.js";
9
+ import { r as oe, t as F } from "./GanttToolBar-BTeTsR6Z.js";
10
10
  import { isFunction as se, isNumber as ce, isString as I } from "lodash-es";
11
11
  import { Fragment as L, jsx as R, jsxs as z } from "react/jsx-runtime";
12
12
  import B, { forwardRef as V, memo as H, useCallback as U, useEffect as W, useImperativeHandle as G, useLayoutEffect as le, useMemo as K, useRef as q, useState as J } from "react";
@@ -1,13 +1,13 @@
1
- import "../../vendors/version-Dkos5Cha.js";
1
+ import "../../vendors/version-4HBYLKDL.js";
2
2
  import "../../ScrollBar/style-D26azwz6.js";
3
- import "../../vendors/LocaleContext-B1HuhJc-.js";
4
- import "../../vendors/useLocale-BYtF5pxt.js";
3
+ import "../../vendors/LocaleContext-Dcw6C1LX.js";
4
+ import "../../vendors/useLocale-BKZX2_zw.js";
5
5
  import "../../Table/processRowspan-B0WELhG2.js";
6
- import "../../Table/Table-k9wdWm6V.js";
6
+ import "../../Table/Table-yQXQEk6d.js";
7
7
  import "../../Table/hooks-BceUZQQm.js";
8
8
  import "../../Table/style-DgiPEsSp.js";
9
9
  import "../constants-LIz5jwed.js";
10
10
  import "../columnResize-jG0Wy2PC.js";
11
- import { t as e } from "../GanttTable-DqJziqML.js";
11
+ import { t as e } from "../GanttTable-xbXD_PWI.js";
12
12
  import "../GanttHighlightContext-ChThr8ia.js";
13
13
  export { e as default };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../Table/Table-k9wdWm6V.js";
1
+ import { t as e } from "../Table/Table-yQXQEk6d.js";
2
2
  import { l as t } from "./constants-LIz5jwed.js";
3
3
  import { r as n } from "./columnResize-jG0Wy2PC.js";
4
4
  import { t as r } from "./GanttHighlightContext-ChThr8ia.js";
@@ -1,16 +1,16 @@
1
- import "../../vendors/version-Dkos5Cha.js";
1
+ import "../../vendors/version-4HBYLKDL.js";
2
2
  import "../../ScrollBar/style-D26azwz6.js";
3
3
  import "../../Icon/Icon-BBDcb-yw.js";
4
- import "../../vendors/LocaleContext-B1HuhJc-.js";
5
- import "../../vendors/useLocale-BYtF5pxt.js";
4
+ import "../../vendors/LocaleContext-Dcw6C1LX.js";
5
+ import "../../vendors/useLocale-BKZX2_zw.js";
6
6
  import "../../vendors/useLatchedPopupPortalRoot-4fVhqVT4.js";
7
- import "../../Select/SelectInputSearch-Bikrj3FI.js";
7
+ import "../../Select/SelectInputSearch-COUzreau.js";
8
8
  import "../../NotFoundContent/NotFoundContent-BLmzWNBi.js";
9
9
  import "../../ScrollBar/ScrollBar-QhXVe8zd.js";
10
10
  import "../../vendors/useFloatingPortal-CmVJbuRm.js";
11
- import "../../DropDown/DropDown-CdTjlySd.js";
11
+ import "../../DropDown/DropDown-yDH9V_9Y.js";
12
12
  import "../../DropDown/style-Fdp-U4md.js";
13
13
  import "../constants-LIz5jwed.js";
14
14
  import "../timelineViewConfig-9HArvbmb.js";
15
- import { t as e } from "../GanttToolBar-C50n7PD9.js";
15
+ import { t as e } from "../GanttToolBar-BTeTsR6Z.js";
16
16
  export { e as default };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../Icon/Icon-BBDcb-yw.js";
2
- import { t } from "../vendors/useLocale-BYtF5pxt.js";
3
- import { t as n } from "../DropDown/DropDown-CdTjlySd.js";
2
+ import { t } from "../vendors/useLocale-BKZX2_zw.js";
3
+ import { t as n } from "../DropDown/DropDown-yDH9V_9Y.js";
4
4
  import { l as r } from "./timelineViewConfig-9HArvbmb.js";
5
5
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
6
  import { createContext as o, useCallback as s, useContext as c, useMemo as l, useRef as u, useState as d } from "react";
@@ -1,29 +1,29 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import "../ScrollBar/style-D26azwz6.js";
3
3
  import "../Icon/Icon-BBDcb-yw.js";
4
- import "../vendors/LocaleContext-B1HuhJc-.js";
5
- import "../vendors/useLocale-BYtF5pxt.js";
4
+ import "../vendors/LocaleContext-Dcw6C1LX.js";
5
+ import "../vendors/useLocale-BKZX2_zw.js";
6
6
  import "../vendors/useLatchedPopupPortalRoot-4fVhqVT4.js";
7
7
  import "../Tooltip/Tooltip-Ch9lti_7.js";
8
- import "../Select/SelectInputSearch-Bikrj3FI.js";
8
+ import "../Select/SelectInputSearch-COUzreau.js";
9
9
  import "../NotFoundContent/NotFoundContent-BLmzWNBi.js";
10
10
  import "../ScrollBar/ScrollBar-QhXVe8zd.js";
11
11
  import "../vendors/useFloatingPortal-CmVJbuRm.js";
12
- import "../DropDown/DropDown-CdTjlySd.js";
12
+ import "../DropDown/DropDown-yDH9V_9Y.js";
13
13
  import "../DropDown/style-Fdp-U4md.js";
14
14
  import "../Table/processRowspan-B0WELhG2.js";
15
- import "../Table/Table-k9wdWm6V.js";
15
+ import "../Table/Table-yQXQEk6d.js";
16
16
  import "../Table/hooks-BceUZQQm.js";
17
17
  import "../Table/style-DgiPEsSp.js";
18
18
  import { a as e, c as t, i as n, l as r, o as i, s as a } from "./constants-LIz5jwed.js";
19
19
  import { r as o } from "./columnResize-jG0Wy2PC.js";
20
- import { t as s } from "./GanttTable-DqJziqML.js";
20
+ import { t as s } from "./GanttTable-xbXD_PWI.js";
21
21
  import { t as c } from "./GanttHighlightContext-ChThr8ia.js";
22
22
  import { n as l, t as u } from "./highlightTarget-BpkYTonb.js";
23
23
  import { c as d, o as f, r as p, s as m } from "./timelineViewConfig-9HArvbmb.js";
24
24
  import { n as h, r as g, t as _ } from "./collapseKeys-B4SOVHjd.js";
25
- import { t as v } from "./GanttChart-BYzMKcZ2.js";
26
- import { n as ee } from "./GanttToolBar-C50n7PD9.js";
25
+ import { t as v } from "./GanttChart-CDw1IQ4F.js";
26
+ import { n as ee } from "./GanttToolBar-BTeTsR6Z.js";
27
27
  import { i as y, n as te, r as b, t as x } from "./theme-DLNvgM9X.js";
28
28
  import { jsx as S, jsxs as C } from "react/jsx-runtime";
29
29
  import { forwardRef as w, useCallback as T, useEffect as E, useMemo as D, useRef as O, useState as k } from "react";
@@ -1,4 +1,4 @@
1
- import "../../vendors/version-Dkos5Cha.js";
1
+ import "../../vendors/version-4HBYLKDL.js";
2
2
  import { a as e, c as t, d as n, i as r, l as i, o as a, p as o, s, u as c } from "../constants-LIz5jwed.js";
3
3
  import { a as l, i as u, n as d, o as f, r as p, t as m } from "../columnResize-jG0Wy2PC.js";
4
4
  import { n as h, r as g, t as _ } from "../highlightTarget-BpkYTonb.js";
@@ -1,3 +1,3 @@
1
- import "../../../vendors/version-Dkos5Cha.js";
1
+ import "../../../vendors/version-4HBYLKDL.js";
2
2
  import { i as e, n as t, r as n, t as r } from "../../theme-DLNvgM9X.js";
3
3
  export { t as mapGanttThemeToCssVars, e as resolveGanttTheme, n as resolveGanttThemeVars, r as resolveTableThemeFromGantt };
@@ -1,3 +1,3 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import { t as e } from "./Icon-BBDcb-yw.js";
3
3
  export { e as default };
@@ -0,0 +1,144 @@
1
+ import { t as e } from "../Icon/Icon-BBDcb-yw.js";
2
+ import { t } from "../vendors/useLocale-BKZX2_zw.js";
3
+ import { t as n } from "../ScrollBar/ScrollBar-QhXVe8zd.js";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { useCallback as a, useEffect as o, useLayoutEffect as s, useRef as c, useState as l } from "react";
6
+ import u from "clsx";
7
+ import { useControllableValue as d } from "ahooks";
8
+ import { motion as f } from "motion/react";
9
+ //#region src/components/InputTag/input-tag.module.scss
10
+ var p = {
11
+ "bsy-inputTag": "_bsy-inputTag_46spj_11",
12
+ "bsy-inputTag__container": "_bsy-inputTag__container_46spj_22",
13
+ "bsy-inputTag__inputContainer": "_bsy-inputTag__inputContainer_46spj_27",
14
+ "bsy-inputTag__inputContainer--zeroMargin": "_bsy-inputTag__inputContainer--zeroMargin_46spj_37",
15
+ "bsy-inputTag__input": "_bsy-inputTag__input_46spj_27",
16
+ "scale-in": "_scale-in_46spj_1"
17
+ }, m = {
18
+ GAP: 4,
19
+ OFFSET: 3,
20
+ INPUT_MIN_WIDTH: 80,
21
+ CONTAINER_PADDING: 10,
22
+ INPUT_MARGIN: 4
23
+ }, h = (e, t) => {
24
+ let [n, r] = l(0);
25
+ return s(() => {
26
+ let t = e.current;
27
+ if (!t) return;
28
+ let n = () => {
29
+ let e = t.children, n = 0;
30
+ for (let t = 0; t < e.length; t++) n += e[t].clientWidth;
31
+ let i = Math.max(0, e.length - 1) * m.GAP, a = Math.max(0, n + i + m.OFFSET);
32
+ r((e) => e === a ? e : a);
33
+ };
34
+ n();
35
+ let i = new ResizeObserver(n);
36
+ return i.observe(t), () => {
37
+ i.disconnect();
38
+ };
39
+ }, [t, e]), n;
40
+ }, g = { overflow: {
41
+ x: "scroll",
42
+ y: "hidden"
43
+ } }, _ = (_) => {
44
+ let { t: v } = t(), { defaultValue: y, enableActive: b = !1, defaultActiveIndex: x, onActiveIndexChange: S } = _, [C, w] = d(_, { defaultValue: y || [] }), [T, E] = d(_, {
45
+ valuePropName: "activeIndex",
46
+ trigger: "onActiveIndexChange",
47
+ defaultValue: x
48
+ }), [D, O] = l(""), k = c(null), A = c(null), j = c(null), M = c(!1), N = () => {
49
+ if (A.current && A.current.children.length > 0) {
50
+ let e = A.current.children.length - 1;
51
+ A.current.children[e].scrollIntoView({
52
+ behavior: "smooth",
53
+ block: "nearest",
54
+ inline: "end"
55
+ });
56
+ }
57
+ };
58
+ o(() => {
59
+ M.current && C.length > 0 && (N(), M.current = !1);
60
+ }, [C.length]);
61
+ let P = (e) => {
62
+ O(e.currentTarget.value);
63
+ }, F = () => {
64
+ let e = D.trim();
65
+ if (e !== "") {
66
+ let t = e;
67
+ M.current = !0, w([...C, t]), O("");
68
+ }
69
+ }, I = (e, t) => {
70
+ if (!b) return;
71
+ let n = T === e ? void 0 : e;
72
+ E(n), S?.(n ?? -1, t);
73
+ }, L = (e) => {
74
+ e.key === "Enter" || e.key === "NumpadEnter" ? F() : e.key === "Backspace" && D === "" && C.length > 0 && w(C.slice(0, -1));
75
+ }, R = (e) => {
76
+ w(C.filter((t, n) => n !== e));
77
+ }, [z, B] = l(0), V = h(A, C.length), H = a(() => {
78
+ if (!k.current || !j.current) return;
79
+ let e = k.current.clientWidth - j.current.clientWidth - m.INPUT_MARGIN - m.CONTAINER_PADDING, t = Math.max(0, e);
80
+ B((e) => e === t ? e : t);
81
+ }, []);
82
+ s(() => {
83
+ if (!k.current || !j.current) return;
84
+ H();
85
+ let e = new ResizeObserver(() => {
86
+ H();
87
+ });
88
+ return e.observe(k.current), e.observe(j.current), () => {
89
+ e.disconnect();
90
+ };
91
+ }, [H]);
92
+ let U = Math.min(V, z);
93
+ return /* @__PURE__ */ i("div", {
94
+ className: p["bsy-inputTag"],
95
+ ref: k,
96
+ children: [/* @__PURE__ */ r("div", {
97
+ className: p["bsy-inputTag__container"],
98
+ children: C.length ? /* @__PURE__ */ r(n, {
99
+ style: { width: `${U}px` },
100
+ options: g,
101
+ children: /* @__PURE__ */ r("div", {
102
+ className: "flex gap-1 py-[3px]",
103
+ ref: A,
104
+ children: C.map((t, n) => /* @__PURE__ */ i(f.div, {
105
+ className: u("rounded-[2px] gap-1 px-[6px] h-[26px] flex items-center flex-shrink-0", {
106
+ "cursor-pointer": b,
107
+ "hover:bg-[#e0e0e0]": b && T !== n,
108
+ "bg-[#0265ff] text-white": b && T === n,
109
+ "bg-[#eee] text-black": !b || T !== n
110
+ }),
111
+ onClick: () => I(n, t),
112
+ children: [/* @__PURE__ */ r("span", { children: t }), /* @__PURE__ */ r("div", {
113
+ className: u("cursor-pointer", b && T === n ? "text-white hover:text-gray-200" : "text-[#666] hover:text-[#0265ff]"),
114
+ onClick: (e) => {
115
+ e.stopPropagation(), R(n);
116
+ },
117
+ children: /* @__PURE__ */ r(e, {
118
+ name: "close",
119
+ size: 12
120
+ })
121
+ })]
122
+ }, n))
123
+ })
124
+ }) : null
125
+ }), /* @__PURE__ */ r("div", {
126
+ ref: j,
127
+ className: u(p["bsy-inputTag__inputContainer"], { [p["bsy-inputTag__inputContainer--zeroMargin"]]: C.length === 0 }, "py-[3px]"),
128
+ children: /* @__PURE__ */ r("input", {
129
+ value: D,
130
+ onChange: P,
131
+ onKeyDown: L,
132
+ onBlur: F,
133
+ className: u(p["bsy-inputTag__input"], "placeholder:text-[#999]"),
134
+ placeholder: v("inputTagPlaceholder")
135
+ })
136
+ })]
137
+ });
138
+ };
139
+ _.displayName = "BsyInputTag";
140
+ //#endregion
141
+ //#region src/components/InputTag/index.ts
142
+ var v = _;
143
+ //#endregion
144
+ export { v as t };
@@ -1,6 +1,8 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import "../ScrollBar/style-D26azwz6.js";
3
3
  import "../Icon/Icon-BBDcb-yw.js";
4
+ import "../vendors/LocaleContext-Dcw6C1LX.js";
5
+ import "../vendors/useLocale-BKZX2_zw.js";
4
6
  import "../ScrollBar/ScrollBar-QhXVe8zd.js";
5
- import { t as e } from "./InputTag-LnUqz0Hz.js";
7
+ import { t as e } from "./InputTag-hzCCJQ1z.js";
6
8
  export { e as default };
@@ -0,0 +1,19 @@
1
+ import { t as e } from "../vendors/useLocale-BKZX2_zw.js";
2
+ import { LoadingOutlined as t } from "@ant-design/icons";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ //#region src/components/Loading/Loading.tsx
5
+ var i = ({ tip: i }) => {
6
+ let { t: a } = e();
7
+ return /* @__PURE__ */ r("div", {
8
+ className: "flex flex-col justify-center items-center h-full min-h-[100px] text-slate-500",
9
+ children: [/* @__PURE__ */ n(t, {
10
+ style: {
11
+ fontSize: 24,
12
+ marginBottom: 8
13
+ },
14
+ spin: !0
15
+ }), /* @__PURE__ */ n("span", { children: i ?? a("loading") })]
16
+ });
17
+ };
18
+ //#endregion
19
+ export { i as t };
@@ -1,3 +1,5 @@
1
- import "../vendors/version-Dkos5Cha.js";
2
- import { t as e } from "./Loading-CcTZogVx.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
+ import "../vendors/LocaleContext-Dcw6C1LX.js";
3
+ import "../vendors/useLocale-BKZX2_zw.js";
4
+ import { t as e } from "./Loading-DiywS7ex.js";
3
5
  export { e as default };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import "../Icon/Icon-BBDcb-yw.js";
3
3
  import { t as e } from "./Modal-LiztSF7x.js";
4
4
  export { e as default };
@@ -1,3 +1,3 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import { t as e } from "./NotFoundContent-BLmzWNBi.js";
3
3
  export { e as NotFoundContent };
@@ -7,18 +7,18 @@ import { useControllableValue as s } from "ahooks";
7
7
  var c = r(null), l = /* @__PURE__ */ function(e) {
8
8
  return e.NONE = "none", e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
9
9
  }({}), u = {
10
- "bsy-radio": "_bsy-radio_q02xg_1",
11
- "bsy-radio--disabled": "_bsy-radio--disabled_q02xg_8",
12
- "bsy-radio--full-width": "_bsy-radio--full-width_q02xg_11",
13
- "bsy-radio__input": "_bsy-radio__input_q02xg_14",
14
- "bsy-radio__input--checked": "_bsy-radio__input--checked_q02xg_38",
15
- "bsy-radio__input--disabled": "_bsy-radio__input--disabled_q02xg_45",
16
- "bsy-radio__label": "_bsy-radio__label_q02xg_60",
17
- "bsy-radio__label--left": "_bsy-radio__label--left_q02xg_65",
18
- "bsy-radio-group": "_bsy-radio-group_q02xg_75",
19
- "bsy-radio-group--none": "_bsy-radio-group--none_q02xg_78",
20
- "bsy-radio-group--vertical": "_bsy-radio-group--vertical_q02xg_81",
21
- "bsy-radio-group--horizontal": "_bsy-radio-group--horizontal_q02xg_85"
10
+ "bsy-radio": "_bsy-radio_tyzdi_1",
11
+ "bsy-radio--disabled": "_bsy-radio--disabled_tyzdi_8",
12
+ "bsy-radio--full-width": "_bsy-radio--full-width_tyzdi_11",
13
+ "bsy-radio__input": "_bsy-radio__input_tyzdi_15",
14
+ "bsy-radio__input--checked": "_bsy-radio__input--checked_tyzdi_39",
15
+ "bsy-radio__input--disabled": "_bsy-radio__input--disabled_tyzdi_46",
16
+ "bsy-radio__label": "_bsy-radio__label_tyzdi_61",
17
+ "bsy-radio__label--left": "_bsy-radio__label--left_tyzdi_68",
18
+ "bsy-radio-group": "_bsy-radio-group_tyzdi_78",
19
+ "bsy-radio-group--none": "_bsy-radio-group--none_tyzdi_82",
20
+ "bsy-radio-group--vertical": "_bsy-radio-group--vertical_tyzdi_86",
21
+ "bsy-radio-group--horizontal": "_bsy-radio-group--horizontal_tyzdi_91"
22
22
  }, d = i((r, i) => {
23
23
  let { checked: s, onChange: d, value: f = e("radio"), disabled: p = !1, children: m, style: h, labelPosition: g = "right", className: _ } = r, v = a(c), y = v ? v.value === f : s, b = () => {
24
24
  p || v?.disabled || (v ? y ? v.onDeselect?.(f) : v.onChange?.(f) : d?.(!y));
@@ -1,3 +1,3 @@
1
- import "../vendors/version-Dkos5Cha.js";
2
- import { t as e } from "./Radio-DSoZotcs.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
+ import { t as e } from "./Radio-CX9cUqb7.js";
3
3
  export { e as default };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import "./style-D26azwz6.js";
3
3
  import { t as e } from "./ScrollBar-QhXVe8zd.js";
4
4
  export { e as ScrollBar, e as default };
@@ -1,3 +1,3 @@
1
- import "../vendors/version-Dkos5Cha.js";
1
+ import "../vendors/version-4HBYLKDL.js";
2
2
  import { t as e } from "./Segmented-BDz1hMDT.js";
3
3
  export { e as default };