@bscomp/ep-ui 0.0.8-beta → 0.0.9-beta
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 +4 -0
- package/lib/ep-ui.js +3081 -2938
- package/lib/ep-ui.js.gz +0 -0
- package/lib/ep-ui.umd.cjs +16 -16
- package/lib/form/index.d.ts +51 -9
- package/lib/form/src/index.vue.d.ts +30 -4
- package/lib/form/src/useHooks.d.ts +3 -0
- package/lib/form-dialog/index.d.ts +156 -0
- package/lib/form-dialog/src/index.vue.d.ts +86 -0
- package/lib/index.d.ts +2 -1
- package/lib/style.css +1 -1
- package/package.json +2 -2
package/lib/form/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const EPForm: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
expand: import('vue').PropType<any>;
|
|
3
4
|
modelValue: import('vue').PropType<any>;
|
|
4
5
|
btnSlotName: {
|
|
5
6
|
type: import('vue').PropType<string>;
|
|
@@ -15,7 +16,6 @@ declare const EPForm: ({
|
|
|
15
16
|
};
|
|
16
17
|
labelWidth: {
|
|
17
18
|
type: import('vue').PropType<string>;
|
|
18
|
-
default: string;
|
|
19
19
|
};
|
|
20
20
|
isShowDefaultPlaceholder: {
|
|
21
21
|
type: import('vue').PropType<boolean>;
|
|
@@ -27,20 +27,34 @@ declare const EPForm: ({
|
|
|
27
27
|
required: true;
|
|
28
28
|
default: () => never[];
|
|
29
29
|
};
|
|
30
|
+
valueWidth: {
|
|
31
|
+
type: import('vue').PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
inline: {
|
|
35
|
+
type: import('vue').PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
colNum: {
|
|
39
|
+
type: import('vue').PropType<number>;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
30
42
|
}>> & Readonly<{
|
|
31
43
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
32
44
|
}>, {
|
|
33
45
|
resetFields: () => any;
|
|
34
|
-
validate: () => any;
|
|
46
|
+
validate: (fun: any) => any;
|
|
35
47
|
clearValidate: () => any;
|
|
36
48
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
49
|
getRef: (...args: any[]) => void;
|
|
38
50
|
}, import('vue').PublicProps, {
|
|
39
51
|
formItems: [] | Record<string, any>[];
|
|
40
52
|
labelPosition: "top" | "right" | "left";
|
|
41
|
-
labelWidth: string;
|
|
42
53
|
isShowDefaultPlaceholder: boolean;
|
|
43
54
|
operatorList: any[] | [];
|
|
55
|
+
valueWidth: string;
|
|
56
|
+
inline: boolean;
|
|
57
|
+
colNum: number;
|
|
44
58
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
45
59
|
P: {};
|
|
46
60
|
B: {};
|
|
@@ -49,6 +63,7 @@ declare const EPForm: ({
|
|
|
49
63
|
M: {};
|
|
50
64
|
Defaults: {};
|
|
51
65
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
+
expand: import('vue').PropType<any>;
|
|
52
67
|
modelValue: import('vue').PropType<any>;
|
|
53
68
|
btnSlotName: {
|
|
54
69
|
type: import('vue').PropType<string>;
|
|
@@ -64,7 +79,6 @@ declare const EPForm: ({
|
|
|
64
79
|
};
|
|
65
80
|
labelWidth: {
|
|
66
81
|
type: import('vue').PropType<string>;
|
|
67
|
-
default: string;
|
|
68
82
|
};
|
|
69
83
|
isShowDefaultPlaceholder: {
|
|
70
84
|
type: import('vue').PropType<boolean>;
|
|
@@ -76,23 +90,38 @@ declare const EPForm: ({
|
|
|
76
90
|
required: true;
|
|
77
91
|
default: () => never[];
|
|
78
92
|
};
|
|
93
|
+
valueWidth: {
|
|
94
|
+
type: import('vue').PropType<string>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
inline: {
|
|
98
|
+
type: import('vue').PropType<boolean>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
colNum: {
|
|
102
|
+
type: import('vue').PropType<number>;
|
|
103
|
+
default: number;
|
|
104
|
+
};
|
|
79
105
|
}>> & Readonly<{
|
|
80
106
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
81
107
|
}>, {
|
|
82
108
|
resetFields: () => any;
|
|
83
|
-
validate: () => any;
|
|
109
|
+
validate: (fun: any) => any;
|
|
84
110
|
clearValidate: () => any;
|
|
85
111
|
}, {}, {}, {}, {
|
|
86
112
|
formItems: [] | Record<string, any>[];
|
|
87
113
|
labelPosition: "top" | "right" | "left";
|
|
88
|
-
labelWidth: string;
|
|
89
114
|
isShowDefaultPlaceholder: boolean;
|
|
90
115
|
operatorList: any[] | [];
|
|
116
|
+
valueWidth: string;
|
|
117
|
+
inline: boolean;
|
|
118
|
+
colNum: number;
|
|
91
119
|
}>;
|
|
92
120
|
__isFragment?: undefined;
|
|
93
121
|
__isTeleport?: undefined;
|
|
94
122
|
__isSuspense?: undefined;
|
|
95
123
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
124
|
+
expand: import('vue').PropType<any>;
|
|
96
125
|
modelValue: import('vue').PropType<any>;
|
|
97
126
|
btnSlotName: {
|
|
98
127
|
type: import('vue').PropType<string>;
|
|
@@ -108,7 +137,6 @@ declare const EPForm: ({
|
|
|
108
137
|
};
|
|
109
138
|
labelWidth: {
|
|
110
139
|
type: import('vue').PropType<string>;
|
|
111
|
-
default: string;
|
|
112
140
|
};
|
|
113
141
|
isShowDefaultPlaceholder: {
|
|
114
142
|
type: import('vue').PropType<boolean>;
|
|
@@ -120,20 +148,34 @@ declare const EPForm: ({
|
|
|
120
148
|
required: true;
|
|
121
149
|
default: () => never[];
|
|
122
150
|
};
|
|
151
|
+
valueWidth: {
|
|
152
|
+
type: import('vue').PropType<string>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
inline: {
|
|
156
|
+
type: import('vue').PropType<boolean>;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
colNum: {
|
|
160
|
+
type: import('vue').PropType<number>;
|
|
161
|
+
default: number;
|
|
162
|
+
};
|
|
123
163
|
}>> & Readonly<{
|
|
124
164
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
125
165
|
}>, {
|
|
126
166
|
resetFields: () => any;
|
|
127
|
-
validate: () => any;
|
|
167
|
+
validate: (fun: any) => any;
|
|
128
168
|
clearValidate: () => any;
|
|
129
169
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
130
170
|
getRef: (...args: any[]) => void;
|
|
131
171
|
}, string, {
|
|
132
172
|
formItems: [] | Record<string, any>[];
|
|
133
173
|
labelPosition: "top" | "right" | "left";
|
|
134
|
-
labelWidth: string;
|
|
135
174
|
isShowDefaultPlaceholder: boolean;
|
|
136
175
|
operatorList: any[] | [];
|
|
176
|
+
valueWidth: string;
|
|
177
|
+
inline: boolean;
|
|
178
|
+
colNum: number;
|
|
137
179
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
138
180
|
$slots: Partial<Record<any, (_: {
|
|
139
181
|
scope: any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
expand: import('vue').PropType<any>;
|
|
2
3
|
modelValue: import('vue').PropType<any>;
|
|
3
4
|
btnSlotName: {
|
|
4
5
|
type: import('vue').PropType<string>;
|
|
@@ -14,7 +15,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
14
15
|
};
|
|
15
16
|
labelWidth: {
|
|
16
17
|
type: import('vue').PropType<string>;
|
|
17
|
-
default: string;
|
|
18
18
|
};
|
|
19
19
|
isShowDefaultPlaceholder: {
|
|
20
20
|
type: import('vue').PropType<boolean>;
|
|
@@ -26,13 +26,26 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
26
26
|
required: true;
|
|
27
27
|
default: () => never[];
|
|
28
28
|
};
|
|
29
|
+
valueWidth: {
|
|
30
|
+
type: import('vue').PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
inline: {
|
|
34
|
+
type: import('vue').PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
colNum: {
|
|
38
|
+
type: import('vue').PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
29
41
|
}>, {
|
|
30
42
|
resetFields: () => any;
|
|
31
|
-
validate: () => any;
|
|
43
|
+
validate: (fun: any) => any;
|
|
32
44
|
clearValidate: () => any;
|
|
33
45
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
46
|
getRef: (...args: any[]) => void;
|
|
35
47
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
expand: import('vue').PropType<any>;
|
|
36
49
|
modelValue: import('vue').PropType<any>;
|
|
37
50
|
btnSlotName: {
|
|
38
51
|
type: import('vue').PropType<string>;
|
|
@@ -48,7 +61,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
48
61
|
};
|
|
49
62
|
labelWidth: {
|
|
50
63
|
type: import('vue').PropType<string>;
|
|
51
|
-
default: string;
|
|
52
64
|
};
|
|
53
65
|
isShowDefaultPlaceholder: {
|
|
54
66
|
type: import('vue').PropType<boolean>;
|
|
@@ -60,14 +72,28 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
60
72
|
required: true;
|
|
61
73
|
default: () => never[];
|
|
62
74
|
};
|
|
75
|
+
valueWidth: {
|
|
76
|
+
type: import('vue').PropType<string>;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
inline: {
|
|
80
|
+
type: import('vue').PropType<boolean>;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
colNum: {
|
|
84
|
+
type: import('vue').PropType<number>;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
63
87
|
}>> & Readonly<{
|
|
64
88
|
onGetRef?: ((...args: any[]) => any) | undefined;
|
|
65
89
|
}>, {
|
|
66
90
|
formItems: [] | Record<string, any>[];
|
|
67
91
|
labelPosition: "top" | "right" | "left";
|
|
68
|
-
labelWidth: string;
|
|
69
92
|
isShowDefaultPlaceholder: boolean;
|
|
70
93
|
operatorList: any[] | [];
|
|
94
|
+
valueWidth: string;
|
|
95
|
+
inline: boolean;
|
|
96
|
+
colNum: number;
|
|
71
97
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<any, (_: {
|
|
72
98
|
scope: any;
|
|
73
99
|
}) => any>> & Partial<Record<any, (_: {
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
declare const EPDialog: ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: import('vue').PropType<any>;
|
|
4
|
+
params: import('vue').PropType<any>;
|
|
5
|
+
title: {
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
7
|
+
required: true;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
formProps: {
|
|
11
|
+
type: import('vue').PropType<{
|
|
12
|
+
btnSlotName?: string | undefined;
|
|
13
|
+
formItems: [] | Record<string, any>[];
|
|
14
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
15
|
+
labelWidth?: string | undefined;
|
|
16
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
17
|
+
operatorList?: any[] | [] | undefined;
|
|
18
|
+
valueWidth?: string | undefined;
|
|
19
|
+
inline?: boolean | undefined;
|
|
20
|
+
colNum?: number | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
required: true;
|
|
23
|
+
default: {};
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{
|
|
26
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
close: (...args: any[]) => void;
|
|
31
|
+
handleCancel: (...args: any[]) => void;
|
|
32
|
+
handleSubmit: (...args: any[]) => void;
|
|
33
|
+
}, import('vue').PublicProps, {
|
|
34
|
+
title: string;
|
|
35
|
+
formProps: {
|
|
36
|
+
btnSlotName?: string | undefined;
|
|
37
|
+
formItems: [] | Record<string, any>[];
|
|
38
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
39
|
+
labelWidth?: string | undefined;
|
|
40
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
41
|
+
operatorList?: any[] | [] | undefined;
|
|
42
|
+
valueWidth?: string | undefined;
|
|
43
|
+
inline?: boolean | undefined;
|
|
44
|
+
colNum?: number | undefined;
|
|
45
|
+
};
|
|
46
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
47
|
+
P: {};
|
|
48
|
+
B: {};
|
|
49
|
+
D: {};
|
|
50
|
+
C: {};
|
|
51
|
+
M: {};
|
|
52
|
+
Defaults: {};
|
|
53
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
54
|
+
modelValue: import('vue').PropType<any>;
|
|
55
|
+
params: import('vue').PropType<any>;
|
|
56
|
+
title: {
|
|
57
|
+
type: import('vue').PropType<string>;
|
|
58
|
+
required: true;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
formProps: {
|
|
62
|
+
type: import('vue').PropType<{
|
|
63
|
+
btnSlotName?: string | undefined;
|
|
64
|
+
formItems: [] | Record<string, any>[];
|
|
65
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
66
|
+
labelWidth?: string | undefined;
|
|
67
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
68
|
+
operatorList?: any[] | [] | undefined;
|
|
69
|
+
valueWidth?: string | undefined;
|
|
70
|
+
inline?: boolean | undefined;
|
|
71
|
+
colNum?: number | undefined;
|
|
72
|
+
}>;
|
|
73
|
+
required: true;
|
|
74
|
+
default: {};
|
|
75
|
+
};
|
|
76
|
+
}>> & Readonly<{
|
|
77
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}>, {}, {}, {}, {}, {
|
|
81
|
+
title: string;
|
|
82
|
+
formProps: {
|
|
83
|
+
btnSlotName?: string | undefined;
|
|
84
|
+
formItems: [] | Record<string, any>[];
|
|
85
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
86
|
+
labelWidth?: string | undefined;
|
|
87
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
88
|
+
operatorList?: any[] | [] | undefined;
|
|
89
|
+
valueWidth?: string | undefined;
|
|
90
|
+
inline?: boolean | undefined;
|
|
91
|
+
colNum?: number | undefined;
|
|
92
|
+
};
|
|
93
|
+
}>;
|
|
94
|
+
__isFragment?: undefined;
|
|
95
|
+
__isTeleport?: undefined;
|
|
96
|
+
__isSuspense?: undefined;
|
|
97
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
modelValue: import('vue').PropType<any>;
|
|
99
|
+
params: import('vue').PropType<any>;
|
|
100
|
+
title: {
|
|
101
|
+
type: import('vue').PropType<string>;
|
|
102
|
+
required: true;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
formProps: {
|
|
106
|
+
type: import('vue').PropType<{
|
|
107
|
+
btnSlotName?: string | undefined;
|
|
108
|
+
formItems: [] | Record<string, any>[];
|
|
109
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
110
|
+
labelWidth?: string | undefined;
|
|
111
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
112
|
+
operatorList?: any[] | [] | undefined;
|
|
113
|
+
valueWidth?: string | undefined;
|
|
114
|
+
inline?: boolean | undefined;
|
|
115
|
+
colNum?: number | undefined;
|
|
116
|
+
}>;
|
|
117
|
+
required: true;
|
|
118
|
+
default: {};
|
|
119
|
+
};
|
|
120
|
+
}>> & Readonly<{
|
|
121
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
125
|
+
close: (...args: any[]) => void;
|
|
126
|
+
handleCancel: (...args: any[]) => void;
|
|
127
|
+
handleSubmit: (...args: any[]) => void;
|
|
128
|
+
}, string, {
|
|
129
|
+
title: string;
|
|
130
|
+
formProps: {
|
|
131
|
+
btnSlotName?: string | undefined;
|
|
132
|
+
formItems: [] | Record<string, any>[];
|
|
133
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
134
|
+
labelWidth?: string | undefined;
|
|
135
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
136
|
+
operatorList?: any[] | [] | undefined;
|
|
137
|
+
valueWidth?: string | undefined;
|
|
138
|
+
inline?: boolean | undefined;
|
|
139
|
+
colNum?: number | undefined;
|
|
140
|
+
};
|
|
141
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
142
|
+
$slots: Partial<Record<string, (_: {}) => any>> & {
|
|
143
|
+
header?(_: {
|
|
144
|
+
scope: {
|
|
145
|
+
close: () => void;
|
|
146
|
+
titleId: string;
|
|
147
|
+
titleClass: string;
|
|
148
|
+
};
|
|
149
|
+
}): any;
|
|
150
|
+
top?(_: {}): any;
|
|
151
|
+
content?(_: {}): any;
|
|
152
|
+
bootom?(_: {}): any;
|
|
153
|
+
footer?(_: {}): any;
|
|
154
|
+
};
|
|
155
|
+
}) & import('vue').Plugin<any[]>) & Record<string, any>;
|
|
156
|
+
export default EPDialog;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: import('vue').PropType<any>;
|
|
3
|
+
params: import('vue').PropType<any>;
|
|
4
|
+
title: {
|
|
5
|
+
type: import('vue').PropType<string>;
|
|
6
|
+
required: true;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
formProps: {
|
|
10
|
+
type: import('vue').PropType<{
|
|
11
|
+
btnSlotName?: string | undefined;
|
|
12
|
+
formItems: [] | Record<string, any>[];
|
|
13
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
14
|
+
labelWidth?: string | undefined;
|
|
15
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
16
|
+
operatorList?: any[] | [] | undefined;
|
|
17
|
+
valueWidth?: string | undefined;
|
|
18
|
+
inline?: boolean | undefined;
|
|
19
|
+
colNum?: number | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
required: true;
|
|
22
|
+
default: {};
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
close: (...args: any[]) => void;
|
|
26
|
+
handleCancel: (...args: any[]) => void;
|
|
27
|
+
handleSubmit: (...args: any[]) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
modelValue: import('vue').PropType<any>;
|
|
30
|
+
params: import('vue').PropType<any>;
|
|
31
|
+
title: {
|
|
32
|
+
type: import('vue').PropType<string>;
|
|
33
|
+
required: true;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
formProps: {
|
|
37
|
+
type: import('vue').PropType<{
|
|
38
|
+
btnSlotName?: string | undefined;
|
|
39
|
+
formItems: [] | Record<string, any>[];
|
|
40
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
41
|
+
labelWidth?: string | undefined;
|
|
42
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
43
|
+
operatorList?: any[] | [] | undefined;
|
|
44
|
+
valueWidth?: string | undefined;
|
|
45
|
+
inline?: boolean | undefined;
|
|
46
|
+
colNum?: number | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
required: true;
|
|
49
|
+
default: {};
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onHandleCancel?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onHandleSubmit?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
title: string;
|
|
57
|
+
formProps: {
|
|
58
|
+
btnSlotName?: string | undefined;
|
|
59
|
+
formItems: [] | Record<string, any>[];
|
|
60
|
+
labelPosition?: "top" | "right" | "left" | undefined;
|
|
61
|
+
labelWidth?: string | undefined;
|
|
62
|
+
isShowDefaultPlaceholder?: boolean | undefined;
|
|
63
|
+
operatorList?: any[] | [] | undefined;
|
|
64
|
+
valueWidth?: string | undefined;
|
|
65
|
+
inline?: boolean | undefined;
|
|
66
|
+
colNum?: number | undefined;
|
|
67
|
+
};
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {}) => any>> & {
|
|
69
|
+
header?(_: {
|
|
70
|
+
scope: {
|
|
71
|
+
close: () => void;
|
|
72
|
+
titleId: string;
|
|
73
|
+
titleClass: string;
|
|
74
|
+
};
|
|
75
|
+
}): any;
|
|
76
|
+
top?(_: {}): any;
|
|
77
|
+
content?(_: {}): any;
|
|
78
|
+
bootom?(_: {}): any;
|
|
79
|
+
footer?(_: {}): any;
|
|
80
|
+
}>;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
package/lib/index.d.ts
CHANGED
|
@@ -6,9 +6,10 @@ import { default as EPTable } from './table';
|
|
|
6
6
|
import { default as EPForm } from './form';
|
|
7
7
|
import { default as EPDatePicker } from './date-picker';
|
|
8
8
|
import { default as EPRadio } from './radio';
|
|
9
|
+
import { default as EPDialog } from './form-dialog';
|
|
9
10
|
|
|
10
11
|
import * as tools from "./utils";
|
|
11
|
-
export { EPTable, EPForm, EPSelect, EPButton, EPDatePicker, EPRadio, EPCheckbox, EPInput, tools };
|
|
12
|
+
export { EPTable, EPForm, EPSelect, EPButton, EPDatePicker, EPRadio, EPCheckbox, EPInput, EPDialog, tools };
|
|
12
13
|
declare const _default: {
|
|
13
14
|
install: any;
|
|
14
15
|
};
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.e-p-select .
|
|
1
|
+
.e-p-select .all-checkbox[data-v-9042fa0a]{margin-left:20px}.column_set .el-dropdown-menu{padding:0;font-size:14px}.column_set .el-dropdown-menu .el-dropdown-menu__item{display:flex;flex-direction:column;align-items:flex-start}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown{display:flex;flex-direction:column;max-height:300px;overflow-y:auto;gap:10px}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label,.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown .el-checkbox .ep-checkbox__input.is-checked+.el-checkbox__label{cursor:move;color:var(--el-text-color-primary)}div[data-v-f89568d3]{box-sizing:border-box}.e-p-table[data-v-f89568d3]{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden}.e-p-table .table-content[data-v-f89568d3]{flex:1;display:flex;flex-direction:column;position:relative;box-sizing:border-box}.e-p-table .table-content .header-wapper[data-v-f89568d3]{display:flex;flex-direction:column}.e-p-table .table-content .extra[data-v-f89568d3],.e-p-table .table-content .header[data-v-f89568d3]{padding-bottom:16px}.e-p-table .el-pagination-com[data-v-f89568d3]{padding-top:16px;display:flex;justify-content:flex-end;align-items:center}.e-p-table .header[data-v-f89568d3]{display:flex;justify-content:space-between;align-items:center}.e-p-table .radioStyle[data-v-f89568d3] tbody .el-table__row{cursor:pointer}.e-p-form-wrapper:not(.inline-flex-form){display:flex;flex-direction:column;justify-content:space-between;height:100%}.e-p-form-wrapper:not(.inline-flex-form) .inline-flex{display:flex;flex-wrap:wrap}.e-p-form-wrapper:not(.inline-flex-form) .text_show{color:var(--el-text-color-primary)}.e-p-form-wrapper:not(.inline-flex-form) .slot_label .el-form-item__content label{color:var(--el-text-color-primary);margin-right:12px}.e-p-form-wrapper:not(.inline-flex-form) .footer{width:100%;display:flex;align-items:center;justify-content:center}.inline-flex-form{display:flex;justify-content:space-between}.inline-flex-form .e-p-form{flex:1}.inline-flex-form .inline-flex>div{display:inline-block}.inline-flex-form .footer{display:inline}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bscomp/ep-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9-beta",
|
|
4
4
|
"description": "Vue3 中基于Element-plus二次封装基础组件文档",
|
|
5
5
|
"author": "bishang",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"docs:preview": "vitepress preview docs"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@bscomp/ep-ui": "^0.0.
|
|
30
|
+
"@bscomp/ep-ui": "^0.0.8-beta",
|
|
31
31
|
"@element-plus/icons-vue": "^2.0.10",
|
|
32
32
|
"@rollup/plugin-replace": "^6.0.1",
|
|
33
33
|
"@rollup/plugin-terser": "^0.4.4",
|