lew-ui 2.2.1 → 2.2.2
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/expand/index.d.ts +2 -0
- package/dist/components/expand/src/LewExpand.vue.d.ts +27 -0
- package/dist/components/expand/src/props.d.ts +10 -0
- package/dist/components/form/src/LewFormItem.vue.d.ts +11 -0
- package/dist/components/form/src/props.d.ts +5 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +4 -4
- package/dist/components/input-number/src/props.d.ts +2 -2
- package/dist/components/table/src/LewTable.vue.d.ts +1 -1
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +55 -0
- package/dist/components/textarea/src/props.d.ts +25 -0
- package/dist/components/upload/src/LewUpload.vue.d.ts +2 -2
- package/dist/components/upload/src/props.d.ts +1 -1
- package/dist/index.mjs +538 -472
- package/dist/index.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
+
modelValue: import('vue').PropType<any>;
|
|
6
|
+
collapseHeight: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
modelValue: import('vue').PropType<any>;
|
|
13
|
+
collapseHeight: {
|
|
14
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
|
+
collapseHeight: string | number;
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const expandProps: {
|
|
4
|
+
collapseHeight: {
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
+
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type ExpandProps = ExtractPropTypes<typeof expandProps>;
|
|
@@ -80,6 +80,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
80
80
|
default: {};
|
|
81
81
|
description: string;
|
|
82
82
|
};
|
|
83
|
+
between: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
83
88
|
}, {
|
|
84
89
|
validate: () => void;
|
|
85
90
|
setError: (message: any) => void;
|
|
@@ -167,6 +172,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
167
172
|
default: {};
|
|
168
173
|
description: string;
|
|
169
174
|
};
|
|
175
|
+
between: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
description: string;
|
|
179
|
+
};
|
|
170
180
|
}>> & {
|
|
171
181
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
172
182
|
}, {
|
|
@@ -185,5 +195,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
185
195
|
gridArea: string;
|
|
186
196
|
errMessage: string;
|
|
187
197
|
as: string;
|
|
198
|
+
between: boolean;
|
|
188
199
|
}, {}>;
|
|
189
200
|
export default _default;
|
|
@@ -131,6 +131,11 @@ export declare const formItemProps: {
|
|
|
131
131
|
default: {};
|
|
132
132
|
description: string;
|
|
133
133
|
};
|
|
134
|
+
between: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
description: string;
|
|
138
|
+
};
|
|
134
139
|
};
|
|
135
140
|
export declare const requiredIconSizeMap: Record<string, number>;
|
|
136
141
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
@@ -15,12 +15,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
min: {
|
|
17
17
|
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
-
default:
|
|
18
|
+
default: string;
|
|
19
19
|
description: string;
|
|
20
20
|
};
|
|
21
21
|
max: {
|
|
22
22
|
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
-
default:
|
|
23
|
+
default: string;
|
|
24
24
|
description: string;
|
|
25
25
|
};
|
|
26
26
|
selectByFocus: {
|
|
@@ -84,12 +84,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
84
84
|
};
|
|
85
85
|
min: {
|
|
86
86
|
type: (StringConstructor | NumberConstructor)[];
|
|
87
|
-
default:
|
|
87
|
+
default: string;
|
|
88
88
|
description: string;
|
|
89
89
|
};
|
|
90
90
|
max: {
|
|
91
91
|
type: (StringConstructor | NumberConstructor)[];
|
|
92
|
-
default:
|
|
92
|
+
default: string;
|
|
93
93
|
description: string;
|
|
94
94
|
};
|
|
95
95
|
selectByFocus: {
|
|
@@ -20,12 +20,12 @@ export declare const inputNumberProps: {
|
|
|
20
20
|
};
|
|
21
21
|
min: {
|
|
22
22
|
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
-
default:
|
|
23
|
+
default: string;
|
|
24
24
|
description: string;
|
|
25
25
|
};
|
|
26
26
|
max: {
|
|
27
27
|
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
-
default:
|
|
28
|
+
default: string;
|
|
29
29
|
description: string;
|
|
30
30
|
};
|
|
31
31
|
selectByFocus: {
|
|
@@ -75,9 +75,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
75
75
|
};
|
|
76
76
|
}>>, {
|
|
77
77
|
dataSource: any;
|
|
78
|
+
maxHeight: string | number;
|
|
78
79
|
columns: import('../../..').TableColumns[];
|
|
79
80
|
rowKey: string;
|
|
80
|
-
maxHeight: string | number;
|
|
81
81
|
checkable: boolean;
|
|
82
82
|
singleSelect: boolean;
|
|
83
83
|
}, {}>;
|
|
@@ -55,6 +55,31 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
55
55
|
default: string;
|
|
56
56
|
description: string;
|
|
57
57
|
};
|
|
58
|
+
minWidth: {
|
|
59
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
60
|
+
default: string;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
minHeight: {
|
|
64
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
65
|
+
default: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
maxWidth: {
|
|
69
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
70
|
+
default: string;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
maxHeight: {
|
|
74
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
75
|
+
default: string;
|
|
76
|
+
description: string;
|
|
77
|
+
};
|
|
78
|
+
resize: {
|
|
79
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
80
|
+
default: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
58
83
|
okByEnter: {
|
|
59
84
|
type: BooleanConstructor;
|
|
60
85
|
default: boolean;
|
|
@@ -128,6 +153,31 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
128
153
|
default: string;
|
|
129
154
|
description: string;
|
|
130
155
|
};
|
|
156
|
+
minWidth: {
|
|
157
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
158
|
+
default: string;
|
|
159
|
+
description: string;
|
|
160
|
+
};
|
|
161
|
+
minHeight: {
|
|
162
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
163
|
+
default: string;
|
|
164
|
+
description: string;
|
|
165
|
+
};
|
|
166
|
+
maxWidth: {
|
|
167
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
168
|
+
default: string;
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
171
|
+
maxHeight: {
|
|
172
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
173
|
+
default: string;
|
|
174
|
+
description: string;
|
|
175
|
+
};
|
|
176
|
+
resize: {
|
|
177
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
178
|
+
default: string;
|
|
179
|
+
description: string;
|
|
180
|
+
};
|
|
131
181
|
okByEnter: {
|
|
132
182
|
type: BooleanConstructor;
|
|
133
183
|
default: boolean;
|
|
@@ -150,10 +200,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
150
200
|
readonly: boolean;
|
|
151
201
|
disabled: boolean;
|
|
152
202
|
height: string | number;
|
|
203
|
+
minHeight: string | number;
|
|
204
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
153
205
|
selectByFocus: boolean;
|
|
206
|
+
minWidth: string | number;
|
|
154
207
|
maxLength: string | number;
|
|
155
208
|
showCount: boolean;
|
|
156
209
|
renderCount: Function;
|
|
157
210
|
okByEnter: boolean;
|
|
211
|
+
maxWidth: string | number;
|
|
212
|
+
maxHeight: string | number;
|
|
158
213
|
}, {}>;
|
|
159
214
|
export default _default;
|
|
@@ -63,6 +63,31 @@ export declare const textareaProps: {
|
|
|
63
63
|
default: string;
|
|
64
64
|
description: string;
|
|
65
65
|
};
|
|
66
|
+
minWidth: {
|
|
67
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
68
|
+
default: string;
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
minHeight: {
|
|
72
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
73
|
+
default: string;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
maxWidth: {
|
|
77
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
78
|
+
default: string;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
maxHeight: {
|
|
82
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
83
|
+
default: string;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
resize: {
|
|
87
|
+
type: PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
88
|
+
default: string;
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
66
91
|
okByEnter: {
|
|
67
92
|
type: BooleanConstructor;
|
|
68
93
|
default: boolean;
|
|
@@ -49,7 +49,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
49
49
|
};
|
|
50
50
|
uploadHelper: {
|
|
51
51
|
type: FunctionConstructor;
|
|
52
|
-
default:
|
|
52
|
+
default: () => void;
|
|
53
53
|
description: string;
|
|
54
54
|
};
|
|
55
55
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -103,7 +103,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
103
103
|
};
|
|
104
104
|
uploadHelper: {
|
|
105
105
|
type: FunctionConstructor;
|
|
106
|
-
default:
|
|
106
|
+
default: () => void;
|
|
107
107
|
description: string;
|
|
108
108
|
};
|
|
109
109
|
}>> & {
|