@baishuyun/ui-base 6.8.2 → 6.9.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/AmapCircle/index.js +1 -1
- package/dist/Amap/AmapMarker/index.js +1 -1
- package/dist/Amap/AmapMarkerCluster/index.js +1 -1
- package/dist/Amap/AmapProvider/index.js +1 -1
- package/dist/Amap/hooks/index.js +1 -1
- package/dist/Amap/index.js +1 -1
- package/dist/Calendar/{Calendar-DnQrN8KB.js → Calendar-MghsGFZ0.js} +1 -1
- package/dist/Calendar/context/index.js +1 -1
- package/dist/Calendar/index.js +3 -3
- package/dist/Calendar/subcomponents/AllDaySection/index.js +1 -1
- package/dist/Calendar/subcomponents/CurrentTimeIndicator/index.js +1 -1
- package/dist/Calendar/subcomponents/EventCard/index.js +1 -1
- package/dist/Calendar/subcomponents/TimeAxis/index.js +1 -1
- package/dist/Calendar/subcomponents/TimeGrid/index.js +1 -1
- package/dist/Calendar/utils/index.js +1 -1
- package/dist/Calendar/utils/layout/index.js +1 -1
- package/dist/Calendar/utils/theme/index.js +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/CheckBox/index.js +1 -1
- package/dist/ColorPicker/{ColorPicker-CL57cSDG.js → ColorPicker-t1uBeATW.js} +14 -12
- package/dist/ColorPicker/index.js +2 -2
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/DatePicker/{DatePicker-C0XbZmrZ.js → DatePicker-uizefM92.js} +1 -1
- package/dist/DatePicker/{DatePickerPanel-BEn16cat.js → DatePickerPanel-bbGVwlo7.js} +1 -1
- package/dist/DatePicker/index.js +2 -2
- package/dist/DatePicker/style/index.js +1 -1
- package/dist/DropDown/index.js +1 -1
- package/dist/DropDown/style/index.js +1 -1
- package/dist/Editor/{Buttons-BivKInBV.js → Buttons-BhStZyIa.js} +2 -2
- package/dist/Editor/ToolbarPlugin/Buttons/index.js +3 -3
- package/dist/Editor/constants/index.js +1 -1
- package/dist/Editor/index.js +215 -187
- package/dist/Gantt/GanttChart/index.js +1 -1
- package/dist/Gantt/GanttTable/index.js +1 -1
- package/dist/Gantt/GanttToolBar/index.js +1 -1
- package/dist/Gantt/index.js +1 -1
- package/dist/Gantt/utils/index.js +1 -1
- package/dist/Gantt/utils/theme/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/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Table/hooks/index.js +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/Table/style/index.js +1 -1
- package/dist/Table/utils/index.js +1 -1
- package/dist/Tabs/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +1 -1
- package/dist/Tree/utils/index.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.type.d.ts +1 -1
- package/dist/components/Editor/ToolbarPlugin/ToolbarPlugin.d.ts +2 -3
- package/dist/components/Editor/context/EditorContainerContext.d.ts +1 -0
- package/dist/components/Editor/index.d.ts +1 -1
- package/dist/components/Editor/interface.d.ts +26 -8
- package/dist/components/Editor/utils/resolveFloatingToolbarStyle.d.ts +3 -0
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/vendors/{version-4HBYLKDL.js → version-D76DufO-.js} +1 -1
- package/package.json +1 -1
package/dist/Amap/hooks/index.js
CHANGED
package/dist/Amap/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { t } from "../vendors/useLocale-BKZX2_zw.js";
|
|
|
3
3
|
import { t as n } from "../Segmented/Segmented-BDz1hMDT.js";
|
|
4
4
|
import { t as r } from "../Tooltip/Tooltip-Ch9lti_7.js";
|
|
5
5
|
import { i, n as a, r as o, t as s } from "./context-4tCN5X33.js";
|
|
6
|
-
import { t as c } from "../DatePicker/DatePicker-
|
|
6
|
+
import { t as c } from "../DatePicker/DatePicker-uizefM92.js";
|
|
7
7
|
import { C as l, S as u, _ as d, a as f, b as p, d as m, i as h, o as g, p as _, r as v, s as y, t as b, x, y as S } from "./layout-Dz-grtu9.js";
|
|
8
8
|
import { formatCalendarDayNumber as C, formatFullDate as w, formatWeekEndDate as T, formatYearMonth as E, getCurrentTimeInTZ as D, getDynamicMonthViewDates as O, getTimeZoneLabel as k, getTotalHeight as A, getVisibleRangeByMode as ee, getWeekEnd as te, getWeekStart as j, getZoomConfig as M, isCurrentMonth as N, layoutTimedEventsForWeek as P, shiftDateByMode as ne } from "./utils/index.js";
|
|
9
9
|
import { t as F } from "./TimeAxis-C9e2BdYs.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../vendors/version-
|
|
1
|
+
import "../../vendors/version-D76DufO-.js";
|
|
2
2
|
import { i as e, n as t, r as n, t as r } from "../context-4tCN5X33.js";
|
|
3
3
|
export { n as CalendarDispatchContext, e as CalendarStateContext, r as useCalendarDispatchSelector, t as useCalendarStateSelector };
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-D76DufO-.js";
|
|
2
2
|
import "../Icon/Icon-BBDcb-yw.js";
|
|
3
3
|
import "../vendors/LocaleContext-Dcw6C1LX.js";
|
|
4
4
|
import "../vendors/useFloatingOverlay-BApqkHSu.js";
|
|
@@ -7,8 +7,8 @@ import "../vendors/useLatchedPopupPortalRoot-4fVhqVT4.js";
|
|
|
7
7
|
import "../Segmented/Segmented-BDz1hMDT.js";
|
|
8
8
|
import "../Tooltip/Tooltip-Ch9lti_7.js";
|
|
9
9
|
import "./context-4tCN5X33.js";
|
|
10
|
-
import { t as e } from "./Calendar-
|
|
11
|
-
import "../DatePicker/DatePicker-
|
|
10
|
+
import { t as e } from "./Calendar-MghsGFZ0.js";
|
|
11
|
+
import "../DatePicker/DatePicker-uizefM92.js";
|
|
12
12
|
import "../DatePicker/ensureDayjsPlugins-Cn9Bkjkj.js";
|
|
13
13
|
import "../DatePicker/pickerLocale-BRnNjLcv.js";
|
|
14
14
|
import "../DatePicker/style-CNtPPsZp.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../vendors/version-
|
|
1
|
+
import "../../vendors/version-D76DufO-.js";
|
|
2
2
|
import "../../DatePicker/ensureDayjsPlugins-Cn9Bkjkj.js";
|
|
3
3
|
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, x, y as S } from "../layout-Dz-grtu9.js";
|
|
4
4
|
import { n as C, t as w } from "../colorUtils-CBLTsDX0.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../vendors/version-
|
|
1
|
+
import "../../../vendors/version-D76DufO-.js";
|
|
2
2
|
import "../../../DatePicker/ensureDayjsPlugins-Cn9Bkjkj.js";
|
|
3
3
|
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../../layout-Dz-grtu9.js";
|
|
4
4
|
export { u as MONTH_LAYOUT_CONSTANTS, l as assignAllDayRows, t as assignColumns, o as assignGlobalRows, c as assignMonthEventRows, a as calculateExpansion, d as calculateHorizontalLayout, n as calculateLayout, i as calculateSegmentPosition, e as computeVisibility, s as computeWeekHiddenCounts, r as groupIntoClusters };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../../vendors/version-
|
|
1
|
+
import "../../../vendors/version-D76DufO-.js";
|
|
2
2
|
import { a as e, i as t, n, o as r, r as i, t as a } from "../../theme-xnrMsnkg.js";
|
|
3
3
|
export { a as CALENDAR_CURRENT_TIME_COLOR, e as resolveCalendarThemeVars, i as resolveDatePickerThemeFromCalendar, n as resolvePlatformCalendarTheme, r as resolveScheduleColorVars, t as resolveSegmentedThemeFromCalendar };
|
package/dist/Card/index.js
CHANGED
package/dist/CheckBox/index.js
CHANGED
|
@@ -98,7 +98,8 @@ var x = [
|
|
|
98
98
|
onChange: O,
|
|
99
99
|
onColorInput: e.onColorInput,
|
|
100
100
|
options: F,
|
|
101
|
-
list: I.current
|
|
101
|
+
list: I.current,
|
|
102
|
+
getPopupContainer: b
|
|
102
103
|
})]
|
|
103
104
|
})
|
|
104
105
|
})
|
|
@@ -106,37 +107,38 @@ var x = [
|
|
|
106
107
|
})
|
|
107
108
|
}, R)] });
|
|
108
109
|
}, D = (t) => {
|
|
109
|
-
let { list: r } = t, [
|
|
110
|
+
let { list: r, getPopupContainer: i } = t, [a, o] = p(), [s, u] = p(!1), { t: d } = n();
|
|
110
111
|
return /* @__PURE__ */ l("div", {
|
|
111
112
|
className: w["bsy-color-picker__custom-color"],
|
|
112
113
|
children: [/* @__PURE__ */ c("div", {
|
|
113
114
|
className: w["bsy-color-picker__custom-color-title"],
|
|
114
|
-
children:
|
|
115
|
+
children: d("customColor")
|
|
115
116
|
}), /* @__PURE__ */ l("div", {
|
|
116
117
|
className: w["bsy-color-picker__custom-color-content"],
|
|
117
118
|
children: [/* @__PURE__ */ c(m, {
|
|
118
|
-
|
|
119
|
+
getPopupContainer: i,
|
|
120
|
+
value: a,
|
|
119
121
|
onChange: (e) => {
|
|
120
122
|
let n = e.toRgbString();
|
|
121
|
-
|
|
123
|
+
o(n), t.onColorInput?.(n);
|
|
122
124
|
},
|
|
123
|
-
open:
|
|
125
|
+
open: s,
|
|
124
126
|
onOpenChange: (e) => {
|
|
125
|
-
|
|
127
|
+
u(e), !e && a && (r.includes(a) || r.unshift(a), t.onChange(a), o(void 0));
|
|
126
128
|
},
|
|
127
129
|
children: /* @__PURE__ */ c("div", {
|
|
128
130
|
className: h(w["bsy-color-picker__custom-color-btn"], {
|
|
129
|
-
[w["bsy-color-picker__custom-color-btn--active"]]:
|
|
130
|
-
[w["bsy-color-picker__custom-color-btn--preview"]]: !!
|
|
131
|
+
[w["bsy-color-picker__custom-color-btn--active"]]: s && !a,
|
|
132
|
+
[w["bsy-color-picker__custom-color-btn--preview"]]: !!a
|
|
131
133
|
}),
|
|
132
134
|
role: "button",
|
|
133
|
-
style: { backgroundColor:
|
|
135
|
+
style: { backgroundColor: a || void 0 },
|
|
134
136
|
onClick: () => {
|
|
135
|
-
|
|
137
|
+
u(!0);
|
|
136
138
|
},
|
|
137
139
|
children: /* @__PURE__ */ c(e, {
|
|
138
140
|
name: "add",
|
|
139
|
-
style: { visibility:
|
|
141
|
+
style: { visibility: a ? "hidden" : "visible" }
|
|
140
142
|
})
|
|
141
143
|
})
|
|
142
144
|
}), /* @__PURE__ */ c(T, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-D76DufO-.js";
|
|
2
2
|
import "../Icon/Icon-BBDcb-yw.js";
|
|
3
3
|
import "../vendors/LocaleContext-Dcw6C1LX.js";
|
|
4
|
-
import { n as e, t } from "./ColorPicker-
|
|
4
|
+
import { n as e, t } from "./ColorPicker-t1uBeATW.js";
|
|
5
5
|
import "../vendors/useFloatingOverlay-BApqkHSu.js";
|
|
6
6
|
import "../vendors/useLocale-BKZX2_zw.js";
|
|
7
7
|
import "../vendors/color-D6XBXROa.js";
|
|
@@ -37,7 +37,7 @@ var x = {
|
|
|
37
37
|
"bsy-date-picker__content": "_bsy-date-picker__content_legiv_33",
|
|
38
38
|
"bsy-date-picker__divider": "_bsy-date-picker__divider_legiv_43",
|
|
39
39
|
"bsy-date-picker__panel-loading": "_bsy-date-picker__panel-loading_legiv_49"
|
|
40
|
-
}, T = f(() => import("./DatePickerPanel-
|
|
40
|
+
}, T = f(() => import("./DatePickerPanel-bbGVwlo7.js")), E = (f) => {
|
|
41
41
|
let { children: x, picker: E = "date", theme: D, getPopupContainer: O, triggerActiveClassName: k } = f, { locale: A } = t(), [j, M] = g(f, {
|
|
42
42
|
defaultValuePropName: "defaultValue",
|
|
43
43
|
valuePropName: "value",
|
package/dist/DatePicker/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-D76DufO-.js";
|
|
2
2
|
import "../vendors/LocaleContext-Dcw6C1LX.js";
|
|
3
3
|
import "../vendors/useFloatingOverlay-BApqkHSu.js";
|
|
4
4
|
import "../vendors/useLocale-BKZX2_zw.js";
|
|
5
5
|
import "../vendors/useLatchedPopupPortalRoot-4fVhqVT4.js";
|
|
6
|
-
import { t as e } from "./DatePicker-
|
|
6
|
+
import { t as e } from "./DatePicker-uizefM92.js";
|
|
7
7
|
import "./ensureDayjsPlugins-Cn9Bkjkj.js";
|
|
8
8
|
import "./pickerLocale-BRnNjLcv.js";
|
|
9
9
|
import "./style-CNtPPsZp.js";
|
package/dist/DropDown/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../Icon/Icon-BBDcb-yw.js";
|
|
2
2
|
import { t } from "../Modal/Modal-LiztSF7x.js";
|
|
3
|
-
import { t as n } from "../ColorPicker/ColorPicker-
|
|
3
|
+
import { t as n } from "../ColorPicker/ColorPicker-t1uBeATW.js";
|
|
4
4
|
import { t as r } from "../vendors/useLocale-BKZX2_zw.js";
|
|
5
5
|
import { t as i } from "../CheckBox/CheckBox-nBm0u6zX.js";
|
|
6
6
|
import { t as a } from "../DropDown/DropDown-yDH9V_9Y.js";
|
|
@@ -617,4 +617,4 @@ Object.entries($).forEach(([e, t]) => {
|
|
|
617
617
|
Q(e, t);
|
|
618
618
|
});
|
|
619
619
|
//#endregion
|
|
620
|
-
export { ve as a,
|
|
620
|
+
export { ve as a, K as c, B as d, Q as i, U as l, ye as n, X as o, be as r, G as s, $ as t, ae as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../../vendors/version-
|
|
1
|
+
import "../../../vendors/version-D76DufO-.js";
|
|
2
2
|
import "../../../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import "../../../Icon/Icon-BBDcb-yw.js";
|
|
4
4
|
import "../../../vendors/LocaleContext-Dcw6C1LX.js";
|
|
5
5
|
import "../../../Modal/Modal-LiztSF7x.js";
|
|
6
|
-
import "../../../ColorPicker/ColorPicker-
|
|
6
|
+
import "../../../ColorPicker/ColorPicker-t1uBeATW.js";
|
|
7
7
|
import "../../../vendors/useFloatingOverlay-BApqkHSu.js";
|
|
8
8
|
import "../../../vendors/useLocale-BKZX2_zw.js";
|
|
9
9
|
import "../../../vendors/color-D6XBXROa.js";
|
|
@@ -16,5 +16,5 @@ import "../../../ScrollBar/ScrollBar-QhXVe8zd.js";
|
|
|
16
16
|
import "../../../vendors/useFloatingPortal-CmVJbuRm.js";
|
|
17
17
|
import "../../../DropDown/DropDown-yDH9V_9Y.js";
|
|
18
18
|
import "../../../DropDown/style-Fdp-U4md.js";
|
|
19
|
-
import { a as e, i as t, n, r, t as i } from "../../Buttons-
|
|
19
|
+
import { a as e, i as t, n, r, t as i } from "../../Buttons-BhStZyIa.js";
|
|
20
20
|
export { i as default, n as getToolbarButton, r as listRegisteredToolbarButtons, t as registerToolbarButton, e as unregisterToolbarButton };
|