@blueking/date-picker 0.0.26 → 0.0.28
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/components/panel-wrapper.vue.d.ts +6 -0
- package/dist/date-picker.vue.d.ts +9 -0
- package/dist/typings/utils.d.ts +2 -0
- package/dist/vue2-full.es.js +3238 -3223
- package/dist/vue2-light.es.js +3019 -3004
- package/dist/vue3-full.es.js +2988 -2973
- package/dist/vue3-light.es.js +633 -618
- package/package.json +1 -1
|
@@ -5,6 +5,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
type: import("vue").PropType<DateValue>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
|
+
needTimezone: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
};
|
|
8
11
|
timezone: {
|
|
9
12
|
type: import("vue").PropType<string>;
|
|
10
13
|
};
|
|
@@ -16,6 +19,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
19
|
type: import("vue").PropType<DateValue>;
|
|
17
20
|
required: true;
|
|
18
21
|
};
|
|
22
|
+
needTimezone: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
};
|
|
19
25
|
timezone: {
|
|
20
26
|
type: import("vue").PropType<string>;
|
|
21
27
|
};
|
|
@@ -22,6 +22,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: import("vue").PropType<"normal" | "simplicity">;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
+
needTimezone: {
|
|
26
|
+
type: import("vue").PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
25
29
|
timezone: {
|
|
26
30
|
type: import("vue").PropType<string>;
|
|
27
31
|
};
|
|
@@ -55,6 +59,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
59
|
type: import("vue").PropType<"normal" | "simplicity">;
|
|
56
60
|
default: string;
|
|
57
61
|
};
|
|
62
|
+
needTimezone: {
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
58
66
|
timezone: {
|
|
59
67
|
type: import("vue").PropType<string>;
|
|
60
68
|
};
|
|
@@ -69,5 +77,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
77
|
version: string | number;
|
|
70
78
|
format: string;
|
|
71
79
|
behavior: "normal" | "simplicity";
|
|
80
|
+
needTimezone: boolean;
|
|
72
81
|
}, {}>;
|
|
73
82
|
export default _default;
|
package/dist/typings/utils.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ITimezoneItem } from './timezone';
|
|
|
5
5
|
import { DateMode, DateValue } from './types';
|
|
6
6
|
export declare const recentDateRegexp: RegExp;
|
|
7
7
|
export declare const naturalDateRegexp: RegExp;
|
|
8
|
+
export declare const commonDateRegexp: RegExp;
|
|
8
9
|
export interface IDatePickerProvider {
|
|
9
10
|
format: ComputedRef<string>;
|
|
10
11
|
storeKey: ComputedRef<string>;
|
|
@@ -34,6 +35,7 @@ export declare const getDateValueMode: (value: DateValue | undefined) => DateMod
|
|
|
34
35
|
* @returns 日期值对应 dayjs 对象
|
|
35
36
|
*/
|
|
36
37
|
export declare const transformDateValueToDayjs: (value: DateValue | string[] | undefined) => dayjs.Dayjs[];
|
|
38
|
+
export declare const transformDateToDayjs: (value: string, type?: 'end' | 'start') => dayjs.Dayjs | undefined;
|
|
37
39
|
/**
|
|
38
40
|
* @param val 日期值
|
|
39
41
|
* @returns 日期值是否有效
|