@bscomp/ep-ui 0.2.4 → 0.2.6
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/lib/components.d.ts +2 -0
- package/lib/config-provider/index.d.ts +41 -0
- package/lib/config-provider/src/config-provider.d.ts +16 -0
- package/lib/date-picker/index.d.ts +56 -3
- package/lib/date-picker/src/index.vue.d.ts +31 -1
- package/lib/ep-ui.js +2188 -2162
- package/lib/ep-ui.js.gz +0 -0
- package/lib/ep-ui.umd.cjs +11 -11
- package/lib/input/index.d.ts +6 -6
- package/lib/input/src/index.vue.d.ts +3 -3
- package/lib/select/index.d.ts +15 -0
- package/lib/select/src/index.vue.d.ts +9 -0
- package/lib/style.css +1 -1
- package/lib/table/index.d.ts +3 -15
- package/lib/table/src/index.vue.d.ts +2 -8
- package/lib/table/src/useHooks.d.ts +1 -1
- package/package.json +1 -1
package/lib/components.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import EPRadio from "./radio/src/index.vue"
|
|
|
7
7
|
import EPCheckbox from "./checkbox/src/index.vue"
|
|
8
8
|
import EPDialog from "./form-dialog/src/index.vue"
|
|
9
9
|
import EPForm from "./form/src/index.vue"
|
|
10
|
+
import EPConfigProvider from "./config-provider/src/config-provider"
|
|
10
11
|
|
|
11
12
|
declare module "vue" {
|
|
12
13
|
export interface GlobalComponents {
|
|
@@ -19,5 +20,6 @@ declare module "vue" {
|
|
|
19
20
|
EPCheckbox: typeof EPCheckbox
|
|
20
21
|
EPDialog: typeof EPDialog
|
|
21
22
|
EPForm: typeof EPForm
|
|
23
|
+
EPConfigProvider: typeof EPConfigProvider
|
|
22
24
|
}
|
|
23
25
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const EPConfigProvider: ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
table: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
10
|
+
table: Record<string, any>;
|
|
11
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
12
|
+
P: {};
|
|
13
|
+
B: {};
|
|
14
|
+
D: {};
|
|
15
|
+
C: {};
|
|
16
|
+
M: {};
|
|
17
|
+
Defaults: {};
|
|
18
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
table: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>, {}, {}, {}, {
|
|
26
|
+
table: Record<string, any>;
|
|
27
|
+
}>;
|
|
28
|
+
__isFragment?: undefined;
|
|
29
|
+
__isTeleport?: undefined;
|
|
30
|
+
__isSuspense?: undefined;
|
|
31
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
table: {
|
|
33
|
+
type: ObjectConstructor;
|
|
34
|
+
default: () => {};
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
39
|
+
table: Record<string, any>;
|
|
40
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin<any[]>) & Record<string, any>;
|
|
41
|
+
export default EPConfigProvider;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
table: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
table: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => {};
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
table: Record<string, any>;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default ConfigProvider;
|
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
declare const EPDatePicker: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<any>;
|
|
4
|
+
type: {
|
|
5
|
+
type: import('vue').PropType<"year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
formatNullValue: {
|
|
9
|
+
type: import('vue').PropType<any>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
shortcutsName: {
|
|
13
|
+
type: import('vue').PropType<string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
4
16
|
}>> & Readonly<{
|
|
17
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
5
18
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
6
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
change: (...args: any[]) => void;
|
|
7
21
|
getRef: (...args: any[]) => void;
|
|
8
|
-
}, import('vue').PublicProps, {
|
|
22
|
+
}, import('vue').PublicProps, {
|
|
23
|
+
type: "year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
|
24
|
+
formatNullValue: any;
|
|
25
|
+
shortcutsName: string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[];
|
|
26
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
27
|
P: {};
|
|
10
28
|
B: {};
|
|
11
29
|
D: {};
|
|
@@ -14,19 +32,54 @@ declare const EPDatePicker: ({
|
|
|
14
32
|
Defaults: {};
|
|
15
33
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
16
34
|
modelValue: import('vue').PropType<any>;
|
|
35
|
+
type: {
|
|
36
|
+
type: import('vue').PropType<"year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
formatNullValue: {
|
|
40
|
+
type: import('vue').PropType<any>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
shortcutsName: {
|
|
44
|
+
type: import('vue').PropType<string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[]>;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
17
47
|
}>> & Readonly<{
|
|
48
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
18
49
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, {
|
|
50
|
+
}>, {}, {}, {}, {}, {
|
|
51
|
+
type: "year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
|
52
|
+
formatNullValue: any;
|
|
53
|
+
shortcutsName: string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[];
|
|
54
|
+
}>;
|
|
20
55
|
__isFragment?: undefined;
|
|
21
56
|
__isTeleport?: undefined;
|
|
22
57
|
__isSuspense?: undefined;
|
|
23
58
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
24
59
|
modelValue: import('vue').PropType<any>;
|
|
60
|
+
type: {
|
|
61
|
+
type: import('vue').PropType<"year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
formatNullValue: {
|
|
65
|
+
type: import('vue').PropType<any>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
shortcutsName: {
|
|
69
|
+
type: import('vue').PropType<string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[]>;
|
|
70
|
+
default: () => never[];
|
|
71
|
+
};
|
|
25
72
|
}>> & Readonly<{
|
|
73
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
74
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
27
75
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
|
+
change: (...args: any[]) => void;
|
|
28
77
|
getRef: (...args: any[]) => void;
|
|
29
|
-
}, string, {
|
|
78
|
+
}, string, {
|
|
79
|
+
type: "year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
|
80
|
+
formatNullValue: any;
|
|
81
|
+
shortcutsName: string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[];
|
|
82
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
30
83
|
$slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
31
84
|
}) & import('vue').Plugin<any[]>) & Record<string, any>;
|
|
32
85
|
export default EPDatePicker;
|
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: import('vue').PropType<any>;
|
|
3
|
+
type: {
|
|
4
|
+
type: import('vue').PropType<"year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
formatNullValue: {
|
|
8
|
+
type: import('vue').PropType<any>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
shortcutsName: {
|
|
12
|
+
type: import('vue').PropType<string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
3
15
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (...args: any[]) => void;
|
|
4
17
|
getRef: (...args: any[]) => void;
|
|
5
18
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
19
|
modelValue: import('vue').PropType<any>;
|
|
20
|
+
type: {
|
|
21
|
+
type: import('vue').PropType<"year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
formatNullValue: {
|
|
25
|
+
type: import('vue').PropType<any>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
shortcutsName: {
|
|
29
|
+
type: import('vue').PropType<string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[]>;
|
|
30
|
+
default: () => never[];
|
|
31
|
+
};
|
|
7
32
|
}>> & Readonly<{
|
|
33
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
34
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
}>, {
|
|
35
|
+
}>, {
|
|
36
|
+
type: "year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
|
37
|
+
formatNullValue: any;
|
|
38
|
+
shortcutsName: string[] | ("今天" | "昨天" | "一周前" | "本日" | "本月" | "本年" | "近一日" | "近一周" | "近一月" | "近三月" | "近半年" | "近一年")[];
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
|
|
10
40
|
export default _default;
|
|
11
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
42
|
new (): {
|