@baishuyun/ui-base 6.23.4 → 6.24.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/dist/Amap/index.js +1 -1
- package/dist/Calendar/{Calendar-BKIWDQuM.js → Calendar-Iyzwzp_2.js} +1 -1
- package/dist/Calendar/index.js +3 -3
- package/dist/Card/index.js +1 -1
- package/dist/CheckBox/{CheckBox-BErX3YWP.js → CheckBox-BzEWkFYf.js} +15 -15
- package/dist/CheckBox/{CheckBox-Dp7hxT2F.js → CheckBox-DwM2Jof2.js} +1 -1
- package/dist/CheckBox/index.js +3 -3
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/DatePicker/{DatePicker-f_fVD2Ba.js → DatePicker-B3AcIGVB.js} +1 -1
- package/dist/DatePicker/{DatePickerPanel-5aZUPcVN.js → DatePickerPanel-WIC4IcER.js} +1 -1
- package/dist/DatePicker/index.js +2 -2
- package/dist/DropDown/index.js +1 -1
- package/dist/Editor/index.js +3 -3
- package/dist/Gantt/index.js +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/InputTag/index.js +1 -1
- package/dist/Loading/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/NotFoundContent/index.js +1 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Select/Select-BdTsElGr.js +776 -0
- package/dist/Select/index.js +5 -5
- package/dist/Table/index.js +1 -1
- package/dist/Tabs/{Tabs-BupQZHao.js → Tabs-BXW_WHe7.js} +4 -4
- package/dist/Tabs/index.js +2 -2
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +3 -3
- package/dist/components/Select/HighlightText/HighlightText.d.ts +1 -0
- package/dist/components/Select/interface.d.ts +8 -1
- package/dist/index.js +8 -8
- package/dist/style.css +1 -1
- package/dist/vendors/{Tree-DWK-JPnJ.js → Tree-BX1wWVS4.js} +10 -10
- package/dist/vendors/{version-D40Io1_9.js → version-BoH6YX7g.js} +1 -1
- package/package.json +1 -1
- package/dist/Select/Select-ByqucfXU.js +0 -770
package/dist/Select/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-BoH6YX7g.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import "../Icon/Icon-DrdQOEJE.js";
|
|
4
4
|
import "../vendors/LocaleContext-DXQoOKM2.js";
|
|
5
5
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
6
6
|
import "../vendors/useLocale-Be4e7Xfn.js";
|
|
7
7
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
8
|
-
import { n as e, r as t, t as n } from "./Select-
|
|
8
|
+
import { n as e, r as t, t as n } from "./Select-BdTsElGr.js";
|
|
9
9
|
import "./SelectInputSearch-MApQHnU9.js";
|
|
10
|
-
import "../vendors/Tree-
|
|
11
|
-
import "../CheckBox/CheckBox-
|
|
12
|
-
import "../CheckBox/CheckBox-
|
|
10
|
+
import "../vendors/Tree-BX1wWVS4.js";
|
|
11
|
+
import "../CheckBox/CheckBox-BzEWkFYf.js";
|
|
12
|
+
import "../CheckBox/CheckBox-DwM2Jof2.js";
|
|
13
13
|
import "../Radio/Radio-C0OAW-K-.js";
|
|
14
14
|
import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
15
15
|
import "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
package/dist/Table/index.js
CHANGED
|
@@ -17,14 +17,14 @@ var T = {
|
|
|
17
17
|
CARD: "card",
|
|
18
18
|
FILLED_CARD: "filled-card",
|
|
19
19
|
BADGE_CARD: "badge-card"
|
|
20
|
-
}, E = u({ type: T.LINE }), D = "
|
|
21
|
-
"bsy-tab": "_bsy-
|
|
22
|
-
"badge-card": "_badge-
|
|
20
|
+
}, E = u({ type: T.LINE }), D = "_active_rlu39_29", O = "_disabled_rlu39_34", k = "_line_rlu39_37", A = "_card_rlu39_46", j = {
|
|
21
|
+
"bsy-tab": "_bsy-tab_rlu39_1",
|
|
22
|
+
"badge-card": "_badge-card_rlu39_9",
|
|
23
23
|
active: D,
|
|
24
24
|
disabled: O,
|
|
25
25
|
line: k,
|
|
26
26
|
card: A,
|
|
27
|
-
"filled-card": "_filled-
|
|
27
|
+
"filled-card": "_filled-card_rlu39_70"
|
|
28
28
|
}, M = (e, t = 24) => e.length <= t ? e : e.slice(0, t) + "...", N = (e) => typeof e == "string" ? M(e) : e, P = ({ label: e, active: t = !1, onClick: n, tabKey: r }) => {
|
|
29
29
|
let { type: i = T.LINE, disabled: a } = f(E), o = s(e) ? e : "", l = () => {
|
|
30
30
|
a || n?.(r);
|
package/dist/Tabs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-BoH6YX7g.js";
|
|
2
2
|
import "../Icon/Icon-DrdQOEJE.js";
|
|
3
3
|
import "../vendors/LocaleContext-DXQoOKM2.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
5
5
|
import "../vendors/useLocale-Be4e7Xfn.js";
|
|
6
6
|
import "../vendors/useFloatingPortal-DJ1iKmW-.js";
|
|
7
|
-
import { i as e, n as t, r as n, t as r } from "./Tabs-
|
|
7
|
+
import { i as e, n as t, r as n, t as r } from "./Tabs-BXW_WHe7.js";
|
|
8
8
|
export { e as TABS_TYPE, n as TabPanel, r as TabSelect, t as default };
|
package/dist/Tooltip/index.js
CHANGED
package/dist/Tree/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-BoH6YX7g.js";
|
|
2
2
|
import "../Icon/Icon-DrdQOEJE.js";
|
|
3
|
-
import { t as e } from "../vendors/Tree-
|
|
4
|
-
import "../CheckBox/CheckBox-
|
|
3
|
+
import { t as e } from "../vendors/Tree-BX1wWVS4.js";
|
|
4
|
+
import "../CheckBox/CheckBox-BzEWkFYf.js";
|
|
5
5
|
import "../Radio/Radio-C0OAW-K-.js";
|
|
6
6
|
export { e as Tree };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CheckBoxTheme } from '../CheckBox/interface';
|
|
1
2
|
import { SelectType } from './constants';
|
|
2
3
|
export interface BaseOptionType {
|
|
3
4
|
/**
|
|
@@ -20,6 +21,10 @@ export interface DefaultOptionType extends BaseOptionType {
|
|
|
20
21
|
* @description 系统字段的颜色会比较突出,和其他字段仅文字样式的不同
|
|
21
22
|
*/
|
|
22
23
|
systemField?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @description 强调项:加粗并跟随 itemActiveColor,与多选「全选」同款。仍参与全选
|
|
26
|
+
*/
|
|
27
|
+
emphasized?: boolean;
|
|
23
28
|
}
|
|
24
29
|
export interface FieldNames {
|
|
25
30
|
label: string;
|
|
@@ -58,7 +63,7 @@ export interface SelectTheme {
|
|
|
58
63
|
itemHoverBg?: string;
|
|
59
64
|
/** 单选选中背景,默认 #f0f6ff。不要套到多选 li */
|
|
60
65
|
itemActiveBg?: string;
|
|
61
|
-
/**
|
|
66
|
+
/** 单选选中文字、多选「全选」与 emphasized 项文字,默认跟随 colorPrimary */
|
|
62
67
|
itemActiveColor?: string;
|
|
63
68
|
/** 禁用选项文字,默认 #999 */
|
|
64
69
|
itemColorDisabled?: string;
|
|
@@ -74,6 +79,8 @@ export interface SelectTheme {
|
|
|
74
79
|
tagBgDisabled?: string;
|
|
75
80
|
/** 禁用 Tag 文字,默认 #adadad */
|
|
76
81
|
tagColorDisabled?: string;
|
|
82
|
+
/** 多选面板内 CheckBox(含全选 / 半选),与 CheckBoxTheme 同形 */
|
|
83
|
+
checkbox?: CheckBoxTheme;
|
|
77
84
|
}
|
|
78
85
|
export interface BaseSelectProps {
|
|
79
86
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./vendors/version-
|
|
1
|
+
import "./vendors/version-BoH6YX7g.js";
|
|
2
2
|
import "./ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "./Icon/Icon-DrdQOEJE.js";
|
|
4
4
|
import "./vendors/LocaleContext-DXQoOKM2.js";
|
|
@@ -14,23 +14,23 @@ import "./vendors/useLocale-Be4e7Xfn.js";
|
|
|
14
14
|
import "./vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
15
15
|
import { t as _ } from "./Segmented/Segmented-B7QZjjZ_.js";
|
|
16
16
|
import { n as v, t as y } from "./Tooltip/Tooltip-DBrt3t2r.js";
|
|
17
|
-
import { t as b } from "./Select/Select-
|
|
17
|
+
import { t as b } from "./Select/Select-BdTsElGr.js";
|
|
18
18
|
import "./Select/SelectInputSearch-MApQHnU9.js";
|
|
19
|
-
import { t as x } from "./vendors/Tree-
|
|
20
|
-
import "./CheckBox/CheckBox-
|
|
21
|
-
import { t as S } from "./CheckBox/CheckBox-
|
|
19
|
+
import { t as x } from "./vendors/Tree-BX1wWVS4.js";
|
|
20
|
+
import "./CheckBox/CheckBox-BzEWkFYf.js";
|
|
21
|
+
import { t as S } from "./CheckBox/CheckBox-DwM2Jof2.js";
|
|
22
22
|
import { t as C } from "./Radio/Radio-C0OAW-K-.js";
|
|
23
23
|
import { t as w } from "./NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
24
24
|
import { t as T } from "./ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
25
25
|
import "./vendors/useFloatingPortal-DJ1iKmW-.js";
|
|
26
26
|
import "./Tree/index.js";
|
|
27
|
-
import { n as E, t as D } from "./Tabs/Tabs-
|
|
27
|
+
import { n as E, t as D } from "./Tabs/Tabs-BXW_WHe7.js";
|
|
28
28
|
import { t as O } from "./DropDown/DropDown-DuLxmeZL.js";
|
|
29
29
|
import { t as k } from "./Loading/Loading-Cherk9Ax.js";
|
|
30
30
|
import "./NotFoundContent/index.js";
|
|
31
31
|
import { t as A } from "./InputTag/InputTag-UTPj8g-b.js";
|
|
32
|
-
import { t as j } from "./Calendar/Calendar-
|
|
33
|
-
import { t as M } from "./DatePicker/DatePicker-
|
|
32
|
+
import { t as j } from "./Calendar/Calendar-Iyzwzp_2.js";
|
|
33
|
+
import { t as M } from "./DatePicker/DatePicker-B3AcIGVB.js";
|
|
34
34
|
import "./DatePicker/pickerLocale-Brf7_Tnd.js";
|
|
35
35
|
import { c as N, d as P, f as F, i as I, l as L, m as R, n as z, o as B, p as V, r as H, s as U, t as W, u as G } from "./Table/Table-8ac6xLZv.js";
|
|
36
36
|
import "overlayscrollbars/overlayscrollbars.css";
|