lew-ui 2.2.3 → 2.2.4
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/src/LewExpand.vue.d.ts +0 -2
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +0 -15
- package/dist/components/input-number/src/props.d.ts +0 -5
- package/dist/components/pagination/src/LewPagination.vue.d.ts +7 -7
- package/dist/components/pagination/src/props.d.ts +3 -3
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +11 -0
- package/dist/components/radio/src/props.d.ts +5 -0
- package/dist/components/switch/src/LewSwitch.vue.d.ts +13 -2
- package/dist/components/switch/src/props.d.ts +6 -1
- package/dist/components/tabs/src/LewTabs.vue.d.ts +22 -0
- package/dist/components/tabs/src/props.d.ts +10 -0
- package/dist/components/upload/src/LewUpload.vue.d.ts +0 -11
- package/dist/components/upload/src/props.d.ts +0 -5
- package/dist/index.mjs +200 -244
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -2,14 +2,12 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
-
modelValue: import('vue').PropType<any>;
|
|
6
5
|
collapseHeight: {
|
|
7
6
|
type: (StringConstructor | NumberConstructor)[];
|
|
8
7
|
default: string;
|
|
9
8
|
description: string;
|
|
10
9
|
};
|
|
11
10
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
-
modelValue: import('vue').PropType<any>;
|
|
13
11
|
collapseHeight: {
|
|
14
12
|
type: (StringConstructor | NumberConstructor)[];
|
|
15
13
|
default: string;
|
|
@@ -38,11 +38,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
38
38
|
default: boolean;
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
|
-
clearable: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
41
|
placeholder: {
|
|
47
42
|
type: StringConstructor;
|
|
48
43
|
default: string;
|
|
@@ -64,9 +59,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
64
59
|
input: (...args: any[]) => void;
|
|
65
60
|
change: (...args: any[]) => void;
|
|
66
61
|
blur: (...args: any[]) => void;
|
|
67
|
-
clear: (...args: any[]) => void;
|
|
68
62
|
focus: (...args: any[]) => void;
|
|
69
|
-
ok: (...args: any[]) => void;
|
|
70
63
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
71
64
|
modelValue: {
|
|
72
65
|
required: true;
|
|
@@ -107,11 +100,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
107
100
|
default: boolean;
|
|
108
101
|
description: string;
|
|
109
102
|
};
|
|
110
|
-
clearable: {
|
|
111
|
-
type: BooleanConstructor;
|
|
112
|
-
default: boolean;
|
|
113
|
-
description: string;
|
|
114
|
-
};
|
|
115
103
|
placeholder: {
|
|
116
104
|
type: StringConstructor;
|
|
117
105
|
default: string;
|
|
@@ -132,13 +120,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
132
120
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
133
121
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
134
122
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
135
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
136
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
137
123
|
}, {
|
|
138
124
|
width: string | number;
|
|
139
125
|
size: string;
|
|
140
126
|
placeholder: string;
|
|
141
|
-
clearable: boolean;
|
|
142
127
|
readonly: boolean;
|
|
143
128
|
disabled: boolean;
|
|
144
129
|
align: string;
|
|
@@ -43,11 +43,6 @@ export declare const inputNumberProps: {
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
description: string;
|
|
45
45
|
};
|
|
46
|
-
clearable: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
description: string;
|
|
50
|
-
};
|
|
51
46
|
placeholder: {
|
|
52
47
|
type: StringConstructor;
|
|
53
48
|
default: string;
|
|
@@ -7,9 +7,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
7
7
|
currentPage: import('vue').PropType<any>;
|
|
8
8
|
pageSize: import('vue').PropType<any>;
|
|
9
9
|
pageSizeOptions: import('vue').PropType<any>;
|
|
10
|
-
|
|
11
|
-
type:
|
|
12
|
-
default:
|
|
10
|
+
size: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
13
|
description: string;
|
|
14
14
|
};
|
|
15
15
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -21,9 +21,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
21
21
|
currentPage: import('vue').PropType<any>;
|
|
22
22
|
pageSize: import('vue').PropType<any>;
|
|
23
23
|
pageSizeOptions: import('vue').PropType<any>;
|
|
24
|
-
|
|
25
|
-
type:
|
|
26
|
-
default:
|
|
24
|
+
size: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
27
|
description: string;
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
@@ -31,7 +31,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
31
31
|
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
|
|
34
|
+
size: string;
|
|
35
35
|
}, {}>;
|
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
37
|
export default _default;
|
|
@@ -29,9 +29,9 @@ export declare const paginationModel: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
export declare const paginationProps: {
|
|
32
|
-
|
|
33
|
-
type:
|
|
34
|
-
default:
|
|
32
|
+
size: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
35
|
description: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
@@ -22,6 +22,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
22
|
default: boolean;
|
|
23
23
|
description: string;
|
|
24
24
|
};
|
|
25
|
+
round: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
25
30
|
readonly: {
|
|
26
31
|
type: BooleanConstructor;
|
|
27
32
|
default: boolean;
|
|
@@ -61,6 +66,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
61
66
|
default: boolean;
|
|
62
67
|
description: string;
|
|
63
68
|
};
|
|
69
|
+
round: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
64
74
|
readonly: {
|
|
65
75
|
type: BooleanConstructor;
|
|
66
76
|
default: boolean;
|
|
@@ -80,6 +90,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
80
90
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
81
91
|
}, {
|
|
82
92
|
direction: string;
|
|
93
|
+
round: boolean;
|
|
83
94
|
size: import('./props').RadioSize;
|
|
84
95
|
options: RadioOptions[];
|
|
85
96
|
readonly: boolean;
|
|
@@ -5,9 +5,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
5
5
|
default: boolean;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
8
|
+
readonly: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: () => boolean;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
8
13
|
disabled: {
|
|
9
14
|
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
15
|
+
default: () => boolean;
|
|
11
16
|
description: string;
|
|
12
17
|
};
|
|
13
18
|
request: {
|
|
@@ -30,9 +35,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
30
35
|
default: boolean;
|
|
31
36
|
description: string;
|
|
32
37
|
};
|
|
38
|
+
readonly: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: () => boolean;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
33
43
|
disabled: {
|
|
34
44
|
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
45
|
+
default: () => boolean;
|
|
36
46
|
description: string;
|
|
37
47
|
};
|
|
38
48
|
request: {
|
|
@@ -50,6 +60,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
50
60
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
61
|
}, {
|
|
52
62
|
round: number | boolean;
|
|
63
|
+
readonly: boolean;
|
|
53
64
|
disabled: boolean;
|
|
54
65
|
loading: boolean;
|
|
55
66
|
request: Function;
|
|
@@ -16,9 +16,14 @@ export declare const switchProps: {
|
|
|
16
16
|
default: boolean;
|
|
17
17
|
description: string;
|
|
18
18
|
};
|
|
19
|
+
readonly: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: () => boolean;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
19
24
|
disabled: {
|
|
20
25
|
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
26
|
+
default: () => boolean;
|
|
22
27
|
description: string;
|
|
23
28
|
};
|
|
24
29
|
request: {
|
|
@@ -35,6 +35,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
35
35
|
default: string;
|
|
36
36
|
description: string;
|
|
37
37
|
};
|
|
38
|
+
readonly: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
38
48
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
49
|
change: (...args: any[]) => void;
|
|
40
50
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -72,6 +82,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
72
82
|
default: string;
|
|
73
83
|
description: string;
|
|
74
84
|
};
|
|
85
|
+
readonly: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
disabled: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
75
95
|
}>> & {
|
|
76
96
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
97
|
}, {
|
|
@@ -80,6 +100,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
80
100
|
round: boolean;
|
|
81
101
|
size: import('./props').TabsSize;
|
|
82
102
|
options: TabsOptions[];
|
|
103
|
+
readonly: boolean;
|
|
104
|
+
disabled: boolean;
|
|
83
105
|
itemWidth: string | number;
|
|
84
106
|
}, {}>;
|
|
85
107
|
export default _default;
|
|
@@ -45,5 +45,15 @@ export declare const tabsProps: {
|
|
|
45
45
|
default: string;
|
|
46
46
|
description: string;
|
|
47
47
|
};
|
|
48
|
+
readonly: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
disabled: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
48
58
|
};
|
|
49
59
|
export type TabsProps = ExtractPropTypes<typeof tabsProps>;
|
|
@@ -42,11 +42,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
42
42
|
default: number;
|
|
43
43
|
description: string;
|
|
44
44
|
};
|
|
45
|
-
listType: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
45
|
uploadHelper: {
|
|
51
46
|
type: FunctionConstructor;
|
|
52
47
|
default: () => void;
|
|
@@ -96,11 +91,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
96
91
|
default: number;
|
|
97
92
|
description: string;
|
|
98
93
|
};
|
|
99
|
-
listType: {
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
default: string;
|
|
102
|
-
description: string;
|
|
103
|
-
};
|
|
104
94
|
uploadHelper: {
|
|
105
95
|
type: FunctionConstructor;
|
|
106
96
|
default: () => void;
|
|
@@ -117,7 +107,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
117
107
|
accept: string;
|
|
118
108
|
maxFileSize: number;
|
|
119
109
|
limit: number;
|
|
120
|
-
listType: string;
|
|
121
110
|
uploadHelper: Function;
|
|
122
111
|
}, {}>;
|
|
123
112
|
export default _default;
|