@baishuyun/ui-base 6.24.7 → 6.24.8
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-3Kv_WGxD.js → Calendar-CFa2J6jE.js} +300 -291
- package/dist/Calendar/index.js +3 -3
- package/dist/Card/index.js +1 -1
- package/dist/CheckBox/index.js +1 -1
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/DatePicker/{DatePicker-Dlw6OaT8.js → DatePicker-Digb83UQ.js} +1 -1
- package/dist/DatePicker/{DatePickerPanel-Ohx9pcvr.js → DatePickerPanel-hMDsc-qd.js} +1 -1
- package/dist/DatePicker/index.js +2 -2
- package/dist/DropDown/index.js +1 -1
- package/dist/Editor/index.js +1 -1
- 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/index.js +1 -1
- package/dist/Table/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/components/Calendar/utils/dateUtils.d.ts +10 -7
- package/dist/index.js +3 -3
- package/dist/vendors/{version-CxNabWr4.js → version-BmFHvNYa.js} +1 -1
- package/package.json +1 -1
package/dist/Calendar/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-BmFHvNYa.js";
|
|
2
2
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
3
3
|
import "../vendors/LocaleContext-DXQoOKM2.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
@@ -7,7 +7,7 @@ import "../vendors/useLocale-Be4e7Xfn.js";
|
|
|
7
7
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
8
8
|
import "../Segmented/Segmented-BMwjhsZw.js";
|
|
9
9
|
import "../Tooltip/Tooltip-N06Os8rG.js";
|
|
10
|
-
import { n as e, r as t, t as n } from "./Calendar-
|
|
11
|
-
import "../DatePicker/DatePicker-
|
|
10
|
+
import { n as e, r as t, t as n } from "./Calendar-CFa2J6jE.js";
|
|
11
|
+
import "../DatePicker/DatePicker-Digb83UQ.js";
|
|
12
12
|
import "../DatePicker/pickerLocale-Brf7_Tnd.js";
|
|
13
13
|
export { n as Calendar, n as default, t as resolveCalendarThemeVars, e as resolvePlatformCalendarTheme };
|
package/dist/Card/index.js
CHANGED
package/dist/CheckBox/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var w = {
|
|
|
48
48
|
"bsy-date-picker__content": "_bsy-date-picker__content_1i2le_33",
|
|
49
49
|
"bsy-date-picker__divider": "_bsy-date-picker__divider_1i2le_43",
|
|
50
50
|
"bsy-date-picker__panel-loading": "_bsy-date-picker__panel-loading_1i2le_49"
|
|
51
|
-
}, j = m(() => import("./DatePickerPanel-
|
|
51
|
+
}, j = m(() => import("./DatePickerPanel-hMDsc-qd.js")), M = (o) => {
|
|
52
52
|
let { children: m, picker: S = "date", theme: w, getPopupContainer: D, triggerActiveClassName: O, zIndex: M } = o, { locale: N } = r(), P = e(M), [F, I] = v(o, {
|
|
53
53
|
defaultValuePropName: "defaultValue",
|
|
54
54
|
valuePropName: "value",
|
package/dist/DatePicker/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-BmFHvNYa.js";
|
|
2
2
|
import "../vendors/LocaleContext-DXQoOKM2.js";
|
|
3
3
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
4
4
|
import "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
5
5
|
import "../vendors/useLocale-Be4e7Xfn.js";
|
|
6
6
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
7
|
-
import { t as e } from "./DatePicker-
|
|
7
|
+
import { t as e } from "./DatePicker-Digb83UQ.js";
|
|
8
8
|
import "./pickerLocale-Brf7_Tnd.js";
|
|
9
9
|
export { e as default };
|
package/dist/DropDown/index.js
CHANGED
package/dist/Editor/index.js
CHANGED
package/dist/Gantt/index.js
CHANGED
package/dist/Icon/index.js
CHANGED
package/dist/InputTag/index.js
CHANGED
package/dist/Loading/index.js
CHANGED
package/dist/Modal/index.js
CHANGED
package/dist/Overlay/index.js
CHANGED
package/dist/Radio/index.js
CHANGED
package/dist/ScrollBar/index.js
CHANGED
package/dist/Segmented/index.js
CHANGED
package/dist/Select/index.js
CHANGED
package/dist/Table/index.js
CHANGED
package/dist/Tabs/index.js
CHANGED
package/dist/Tooltip/index.js
CHANGED
package/dist/Tree/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
1
2
|
import { CalendarFormatMessage } from '../types.internal';
|
|
2
3
|
import { CalendarMode, CalendarTimeInput } from '../interface';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
4
|
+
/** 两个墙上日期的整数天差。不走 diff('day'),夏令时那一周不会少 1。 */
|
|
5
|
+
export declare const calendarDayDiff: (later: Dayjs, earlier: Dayjs) => number;
|
|
6
|
+
export declare const getWeekStart: (date: Date | CalendarTimeInput, timeZone?: string) => Dayjs;
|
|
7
|
+
export declare const getWeekEnd: (date: Date | CalendarTimeInput, timeZone?: string) => Dayjs;
|
|
5
8
|
export declare const formatYearMonth: (date: Date | CalendarTimeInput, timeZone: string | undefined, formatMessage: CalendarFormatMessage) => string;
|
|
6
9
|
export declare const formatFullDate: (date: Date | CalendarTimeInput, timeZone: string | undefined, formatMessage: CalendarFormatMessage) => string;
|
|
7
10
|
/** 月/周视图格子日数字:每月 1 号展示 monthDay,其余仅数字。 */
|
|
@@ -12,17 +15,17 @@ export declare const addWeeks: (date: Date, weeks: number, timeZone?: string) =>
|
|
|
12
15
|
export declare const addMonths: (date: Date, months: number, timeZone?: string) => Date;
|
|
13
16
|
export declare const shiftDateByMode: (date: Date, mode: CalendarMode, delta: -1 | 1, timeZone?: string) => Date;
|
|
14
17
|
export declare const getMonthWeekCount: (date: Date, timeZone?: string) => number;
|
|
15
|
-
export declare const getDynamicMonthViewDates: (date: Date, timeZone?: string) =>
|
|
18
|
+
export declare const getDynamicMonthViewDates: (date: Date, timeZone?: string) => Dayjs[];
|
|
16
19
|
export declare const getMonthViewRange: (date: Date, timeZone?: string) => {
|
|
17
|
-
start:
|
|
18
|
-
end:
|
|
20
|
+
start: Dayjs;
|
|
21
|
+
end: Dayjs;
|
|
19
22
|
};
|
|
20
23
|
/** 用于月视图单元格批量比较,避免在 render 中重复 parse 锚点日期。 */
|
|
21
24
|
export declare const getCalendarMonthKey: (date: Date | CalendarTimeInput, timeZone?: string) => number;
|
|
22
25
|
export declare const isCurrentMonth: (date: Date | CalendarTimeInput, currentMonth: Date, timeZone?: string) => boolean;
|
|
23
26
|
export declare const getVisibleRangeByMode: (currentDate: Date, viewMode: CalendarMode, timeZone?: string) => {
|
|
24
|
-
start:
|
|
25
|
-
end:
|
|
27
|
+
start: Dayjs;
|
|
28
|
+
end: Dayjs;
|
|
26
29
|
} | {
|
|
27
30
|
start: null;
|
|
28
31
|
end: null;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./vendors/version-
|
|
1
|
+
import "./vendors/version-BmFHvNYa.js";
|
|
2
2
|
import "./ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "./Icon/Icon-CcKDWNGy.js";
|
|
4
4
|
import "./vendors/LocaleContext-DXQoOKM2.js";
|
|
@@ -29,8 +29,8 @@ import { t as O } from "./DropDown/DropDown-Ds0X5fxe.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-BT-IXf5k.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-CFa2J6jE.js";
|
|
33
|
+
import { t as M } from "./DatePicker/DatePicker-Digb83UQ.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";
|