lew-ui 2.3.6 → 2.3.8
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/LICENSE +21 -21
- package/README.md +33 -33
- package/README.zh-CN.md +35 -35
- package/dist/components/alert/src/LewAlert.vue.d.ts +9 -7
- package/dist/components/alert/src/props.d.ts +8 -6
- package/dist/components/avatar/src/LewAvatar.vue.d.ts +37 -38
- package/dist/components/avatar/src/props.d.ts +22 -20
- package/dist/components/backtop/src/LewBackTop.vue.d.ts +9 -1
- package/dist/components/backtop/src/props.d.ts +4 -0
- package/dist/components/badge/src/LewBadge.vue.d.ts +12 -8
- package/dist/components/badge/src/props.d.ts +7 -5
- package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +14 -10
- package/dist/components/breadcrumb/src/props.d.ts +10 -8
- package/dist/components/button/src/LewButton.vue.d.ts +60 -36
- package/dist/components/button/src/props.d.ts +31 -19
- package/dist/components/cascader/src/LewCascader.vue.d.ts +51 -48
- package/dist/components/cascader/src/props.d.ts +29 -21
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +41 -39
- package/dist/components/checkbox/src/props.d.ts +43 -38
- package/dist/components/collapse/src/LewCollapse.vue.d.ts +4 -0
- package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +10 -4
- package/dist/components/collapse/src/props.d.ts +8 -2
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +31 -27
- package/dist/components/date-picker/src/props.d.ts +21 -18
- package/dist/components/date-range-picker/src/LewDateRange.vue.d.ts +4 -0
- package/dist/components/date-range-picker/src/LewDateRangePicker.vue.d.ts +41 -35
- package/dist/components/date-range-picker/src/props.d.ts +24 -19
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +36 -30
- package/dist/components/drawer/src/props.d.ts +18 -15
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +24 -16
- package/dist/components/dropdown/src/props.d.ts +14 -12
- package/dist/components/empty/src/LewEmpty.vue.d.ts +15 -5
- package/dist/components/empty/src/props.d.ts +7 -2
- package/dist/components/flex/src/LewFlex.vue.d.ts +32 -26
- package/dist/components/flex/src/props.d.ts +18 -12
- package/dist/components/form/src/LewForm.vue.d.ts +35 -23
- package/dist/components/form/src/LewFormItem.vue.d.ts +70 -62
- package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +5 -3
- package/dist/components/form/src/props.d.ts +47 -36
- package/dist/components/image/src/LewImage.vue.d.ts +48 -33
- package/dist/components/image/src/props.d.ts +25 -16
- package/dist/components/input/src/LewInput.vue.d.ts +67 -64
- package/dist/components/input/src/props.d.ts +33 -29
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +52 -40
- package/dist/components/input-number/src/props.d.ts +28 -20
- package/dist/components/input-table/src/props.d.ts +62 -15
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
- package/dist/components/input-tag/src/props.d.ts +6 -4
- package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +3 -3
- package/dist/components/magic-number/src/props.d.ts +1 -1
- package/dist/components/mark/src/LewMark.vue.d.ts +20 -16
- package/dist/components/mark/src/props.d.ts +13 -9
- package/dist/components/menu/src/LewMenu.vue.d.ts +11 -7
- package/dist/components/menu/src/props.d.ts +7 -5
- package/dist/components/menu-tree/src/LewMenuTree.vue.d.ts +3 -3
- package/dist/components/menu-tree/src/props.d.ts +3 -3
- package/dist/components/modal/src/LewModal.vue.d.ts +10 -4
- package/dist/components/modal/src/props.d.ts +4 -1
- package/dist/components/pagination/src/LewPagination.vue.d.ts +7 -3
- package/dist/components/pagination/src/props.d.ts +10 -5
- package/dist/components/popok/src/LewPopok.vue.d.ts +18 -10
- package/dist/components/popok/src/props.d.ts +7 -3
- package/dist/components/popover/src/LewPopover.vue.d.ts +38 -34
- package/dist/components/popover/src/props.d.ts +20 -16
- package/dist/components/radio/src/LewRadio.vue.d.ts +33 -31
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +27 -23
- package/dist/components/radio/src/props.d.ts +32 -28
- package/dist/components/result/src/LewResult.vue.d.ts +9 -3
- package/dist/components/result/src/props.d.ts +7 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +20 -20
- package/dist/components/select/src/props.d.ts +10 -8
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +29 -23
- package/dist/components/select-multiple/src/props.d.ts +13 -10
- package/dist/components/steps/src/LewSteps.vue.d.ts +10 -6
- package/dist/components/steps/src/props.d.ts +7 -4
- package/dist/components/switch/src/LewSwitch.vue.d.ts +12 -8
- package/dist/components/switch/src/props.d.ts +9 -3
- package/dist/components/table/src/LewTable.vue.d.ts +30 -23
- package/dist/components/table/src/props.d.ts +23 -11
- package/dist/components/tabs/src/LewTabs.vue.d.ts +27 -17
- package/dist/components/tabs/src/props.d.ts +16 -11
- package/dist/components/tag/src/LewTag.vue.d.ts +12 -6
- package/dist/components/tag/src/props.d.ts +6 -3
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +42 -30
- package/dist/components/text-trim/src/props.d.ts +21 -13
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +37 -42
- package/dist/components/textarea/src/props.d.ts +17 -18
- package/dist/components/title/src/LewTitle.vue.d.ts +17 -11
- package/dist/components/title/src/props.d.ts +10 -10
- package/dist/components/tree/src/LewTree.vue.d.ts +11 -9
- package/dist/components/tree/src/props.d.ts +5 -4
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +100 -90
- package/dist/components/tree-select/src/props.d.ts +56 -44
- package/dist/components/upload/src/LewUpload.vue.d.ts +49 -39
- package/dist/components/upload/src/props.d.ts +26 -21
- package/dist/directives/backtop/src/index.d.ts +2 -2
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +16 -12
- package/dist/directives/dialog/src/index.d.ts +5 -5
- package/dist/directives/dialog/src/props.d.ts +8 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2732 -1333
- package/dist/index.umd.js +46 -46
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/input-table/src/LewInputTable.vue.d.ts +0 -87
|
@@ -1,132 +1,156 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
icon?(_: {}): any;
|
|
2
3
|
default?(_: {}): any;
|
|
3
4
|
};
|
|
4
5
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
-
color: {
|
|
6
|
-
type: globalThis.PropType<import('../../..').ButtonColor>;
|
|
7
|
-
default: string;
|
|
8
|
-
description: string;
|
|
9
|
-
};
|
|
10
6
|
text: {
|
|
11
7
|
type: StringConstructor;
|
|
12
8
|
default: string;
|
|
13
9
|
description: string;
|
|
10
|
+
validator(value: string): boolean;
|
|
14
11
|
};
|
|
15
12
|
type: {
|
|
16
|
-
type:
|
|
13
|
+
type: PropType<import('../../..').ButtonType>;
|
|
17
14
|
default: string;
|
|
18
15
|
description: string;
|
|
16
|
+
validator(value: import('../../..').ButtonType): boolean;
|
|
19
17
|
};
|
|
20
|
-
|
|
21
|
-
type:
|
|
18
|
+
size: {
|
|
19
|
+
type: PropType<import('../../..').ButtonSize>;
|
|
22
20
|
default: string;
|
|
23
21
|
description: string;
|
|
22
|
+
validator(value: import('../../..').ButtonSize): boolean;
|
|
24
23
|
};
|
|
25
|
-
|
|
24
|
+
color: {
|
|
25
|
+
type: PropType<import('../../..').LewColor>;
|
|
26
|
+
default: string;
|
|
27
|
+
description: string;
|
|
28
|
+
validator(value: import('../../..').LewColor): boolean;
|
|
29
|
+
};
|
|
30
|
+
icon: {
|
|
26
31
|
type: StringConstructor;
|
|
27
32
|
default: string;
|
|
28
33
|
description: string;
|
|
29
34
|
};
|
|
30
|
-
|
|
31
|
-
type:
|
|
35
|
+
iconPosition: {
|
|
36
|
+
type: PropType<import('../../..').IconPosition>;
|
|
32
37
|
default: string;
|
|
33
38
|
description: string;
|
|
39
|
+
validator(value: import('../../..').IconPosition): boolean;
|
|
34
40
|
};
|
|
35
41
|
iconSize: {
|
|
36
42
|
type: (StringConstructor | NumberConstructor)[];
|
|
37
43
|
description: string;
|
|
44
|
+
validator(value: number | string): boolean;
|
|
38
45
|
};
|
|
39
|
-
|
|
46
|
+
round: {
|
|
40
47
|
type: BooleanConstructor;
|
|
41
48
|
default: boolean;
|
|
42
49
|
description: string;
|
|
43
50
|
};
|
|
44
|
-
|
|
45
|
-
type:
|
|
46
|
-
default:
|
|
51
|
+
dashed: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
47
54
|
description: string;
|
|
48
55
|
};
|
|
49
|
-
|
|
56
|
+
loading: {
|
|
50
57
|
type: BooleanConstructor;
|
|
51
58
|
default: boolean;
|
|
52
59
|
description: string;
|
|
53
60
|
};
|
|
54
|
-
|
|
61
|
+
disabled: {
|
|
55
62
|
type: BooleanConstructor;
|
|
56
63
|
default: boolean;
|
|
57
64
|
description: string;
|
|
58
65
|
};
|
|
66
|
+
request: {
|
|
67
|
+
type: FunctionConstructor;
|
|
68
|
+
default: null;
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
59
71
|
}, {
|
|
60
72
|
focus: () => void;
|
|
61
73
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
74
|
click: (...args: any[]) => void;
|
|
63
75
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
64
|
-
color: {
|
|
65
|
-
type: globalThis.PropType<import('../../..').ButtonColor>;
|
|
66
|
-
default: string;
|
|
67
|
-
description: string;
|
|
68
|
-
};
|
|
69
76
|
text: {
|
|
70
77
|
type: StringConstructor;
|
|
71
78
|
default: string;
|
|
72
79
|
description: string;
|
|
80
|
+
validator(value: string): boolean;
|
|
73
81
|
};
|
|
74
82
|
type: {
|
|
75
|
-
type:
|
|
83
|
+
type: PropType<import('../../..').ButtonType>;
|
|
76
84
|
default: string;
|
|
77
85
|
description: string;
|
|
86
|
+
validator(value: import('../../..').ButtonType): boolean;
|
|
78
87
|
};
|
|
79
|
-
|
|
80
|
-
type:
|
|
88
|
+
size: {
|
|
89
|
+
type: PropType<import('../../..').ButtonSize>;
|
|
81
90
|
default: string;
|
|
82
91
|
description: string;
|
|
92
|
+
validator(value: import('../../..').ButtonSize): boolean;
|
|
83
93
|
};
|
|
84
|
-
|
|
94
|
+
color: {
|
|
95
|
+
type: PropType<import('../../..').LewColor>;
|
|
96
|
+
default: string;
|
|
97
|
+
description: string;
|
|
98
|
+
validator(value: import('../../..').LewColor): boolean;
|
|
99
|
+
};
|
|
100
|
+
icon: {
|
|
85
101
|
type: StringConstructor;
|
|
86
102
|
default: string;
|
|
87
103
|
description: string;
|
|
88
104
|
};
|
|
89
|
-
|
|
90
|
-
type:
|
|
105
|
+
iconPosition: {
|
|
106
|
+
type: PropType<import('../../..').IconPosition>;
|
|
91
107
|
default: string;
|
|
92
108
|
description: string;
|
|
109
|
+
validator(value: import('../../..').IconPosition): boolean;
|
|
93
110
|
};
|
|
94
111
|
iconSize: {
|
|
95
112
|
type: (StringConstructor | NumberConstructor)[];
|
|
96
113
|
description: string;
|
|
114
|
+
validator(value: number | string): boolean;
|
|
97
115
|
};
|
|
98
|
-
|
|
116
|
+
round: {
|
|
99
117
|
type: BooleanConstructor;
|
|
100
118
|
default: boolean;
|
|
101
119
|
description: string;
|
|
102
120
|
};
|
|
103
|
-
|
|
104
|
-
type:
|
|
105
|
-
default:
|
|
121
|
+
dashed: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
106
124
|
description: string;
|
|
107
125
|
};
|
|
108
|
-
|
|
126
|
+
loading: {
|
|
109
127
|
type: BooleanConstructor;
|
|
110
128
|
default: boolean;
|
|
111
129
|
description: string;
|
|
112
130
|
};
|
|
113
|
-
|
|
131
|
+
disabled: {
|
|
114
132
|
type: BooleanConstructor;
|
|
115
133
|
default: boolean;
|
|
116
134
|
description: string;
|
|
117
135
|
};
|
|
136
|
+
request: {
|
|
137
|
+
type: FunctionConstructor;
|
|
138
|
+
default: null;
|
|
139
|
+
description: string;
|
|
140
|
+
};
|
|
118
141
|
}>> & {
|
|
119
142
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
120
143
|
}, {
|
|
121
144
|
type: import('../../..').ButtonType;
|
|
122
145
|
icon: string;
|
|
123
146
|
text: string;
|
|
124
|
-
color: import('../../..').
|
|
147
|
+
color: import('../../..').LewColor;
|
|
125
148
|
round: boolean;
|
|
126
149
|
size: import('../../..').ButtonSize;
|
|
127
150
|
disabled: boolean;
|
|
128
151
|
loading: boolean;
|
|
129
|
-
iconPosition:
|
|
152
|
+
iconPosition: import('../../..').IconPosition;
|
|
153
|
+
dashed: boolean;
|
|
130
154
|
request: Function;
|
|
131
155
|
}, {}>;
|
|
132
156
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,62 +1,74 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { LewColor, LewSize } from '../../..';
|
|
2
3
|
|
|
3
|
-
export type
|
|
4
|
-
export type ButtonSize = 'mini' | 'small' | 'medium' | 'large';
|
|
4
|
+
export type ButtonSize = 'mini' | LewSize;
|
|
5
5
|
export type ButtonType = 'fill' | 'light' | 'ghost' | 'text';
|
|
6
|
+
export type IconPosition = 'left' | 'right';
|
|
6
7
|
export declare const buttonProps: {
|
|
7
|
-
color: {
|
|
8
|
-
type: PropType<ButtonColor>;
|
|
9
|
-
default: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
8
|
text: {
|
|
13
9
|
type: StringConstructor;
|
|
14
10
|
default: string;
|
|
15
11
|
description: string;
|
|
12
|
+
validator(value: string): boolean;
|
|
16
13
|
};
|
|
17
14
|
type: {
|
|
18
15
|
type: PropType<ButtonType>;
|
|
19
16
|
default: string;
|
|
20
17
|
description: string;
|
|
18
|
+
validator(value: ButtonType): boolean;
|
|
21
19
|
};
|
|
22
|
-
|
|
23
|
-
type:
|
|
20
|
+
size: {
|
|
21
|
+
type: PropType<ButtonSize>;
|
|
24
22
|
default: string;
|
|
25
23
|
description: string;
|
|
24
|
+
validator(value: ButtonSize): boolean;
|
|
26
25
|
};
|
|
27
|
-
|
|
26
|
+
color: {
|
|
27
|
+
type: PropType<LewColor>;
|
|
28
|
+
default: string;
|
|
29
|
+
description: string;
|
|
30
|
+
validator(value: LewColor): boolean;
|
|
31
|
+
};
|
|
32
|
+
icon: {
|
|
28
33
|
type: StringConstructor;
|
|
29
34
|
default: string;
|
|
30
35
|
description: string;
|
|
31
36
|
};
|
|
32
|
-
|
|
33
|
-
type: PropType<
|
|
37
|
+
iconPosition: {
|
|
38
|
+
type: PropType<IconPosition>;
|
|
34
39
|
default: string;
|
|
35
40
|
description: string;
|
|
41
|
+
validator(value: IconPosition): boolean;
|
|
36
42
|
};
|
|
37
43
|
iconSize: {
|
|
38
44
|
type: (StringConstructor | NumberConstructor)[];
|
|
39
45
|
description: string;
|
|
46
|
+
validator(value: number | string): boolean;
|
|
40
47
|
};
|
|
41
|
-
|
|
48
|
+
round: {
|
|
42
49
|
type: BooleanConstructor;
|
|
43
50
|
default: boolean;
|
|
44
51
|
description: string;
|
|
45
52
|
};
|
|
46
|
-
|
|
47
|
-
type:
|
|
48
|
-
default:
|
|
53
|
+
dashed: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
49
56
|
description: string;
|
|
50
57
|
};
|
|
51
|
-
|
|
58
|
+
loading: {
|
|
52
59
|
type: BooleanConstructor;
|
|
53
60
|
default: boolean;
|
|
54
61
|
description: string;
|
|
55
62
|
};
|
|
56
|
-
|
|
63
|
+
disabled: {
|
|
57
64
|
type: BooleanConstructor;
|
|
58
65
|
default: boolean;
|
|
59
66
|
description: string;
|
|
60
67
|
};
|
|
68
|
+
request: {
|
|
69
|
+
type: FunctionConstructor;
|
|
70
|
+
default: null;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
61
73
|
};
|
|
62
74
|
export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
@@ -7,10 +7,21 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
7
7
|
modelValue: import('vue').PropType<any>;
|
|
8
8
|
options: {
|
|
9
9
|
type: globalThis.PropType<CascaderOptions[]>;
|
|
10
|
-
default: never[];
|
|
10
|
+
default: () => never[];
|
|
11
11
|
description: string;
|
|
12
|
+
validator: (value: CascaderOptions[]) => boolean;
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
+
placeholder: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
clearable: {
|
|
14
25
|
type: BooleanConstructor;
|
|
15
26
|
default: boolean;
|
|
16
27
|
description: string;
|
|
@@ -20,34 +31,30 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
20
31
|
default: boolean;
|
|
21
32
|
description: string;
|
|
22
33
|
};
|
|
23
|
-
|
|
34
|
+
multiple: {
|
|
24
35
|
type: BooleanConstructor;
|
|
25
36
|
default: boolean;
|
|
26
37
|
description: string;
|
|
27
38
|
};
|
|
28
|
-
|
|
29
|
-
type:
|
|
30
|
-
default:
|
|
39
|
+
free: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
31
42
|
description: string;
|
|
32
43
|
};
|
|
33
|
-
|
|
34
|
-
type:
|
|
44
|
+
size: {
|
|
45
|
+
type: globalThis.PropType<import('../../..').LewSize>;
|
|
35
46
|
default: string;
|
|
36
47
|
description: string;
|
|
48
|
+
validator: (value: string) => boolean;
|
|
37
49
|
};
|
|
38
|
-
|
|
39
|
-
type:
|
|
50
|
+
trigger: {
|
|
51
|
+
type: globalThis.PropType<import('../../..').CascaderTriggerType>;
|
|
40
52
|
default: string;
|
|
41
53
|
description: string;
|
|
54
|
+
validator: (value: string) => boolean;
|
|
42
55
|
};
|
|
43
56
|
onload: {
|
|
44
57
|
type: FunctionConstructor;
|
|
45
|
-
default: undefined;
|
|
46
|
-
description: string;
|
|
47
|
-
};
|
|
48
|
-
clearable: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
58
|
description: string;
|
|
52
59
|
};
|
|
53
60
|
readonly: {
|
|
@@ -55,11 +62,6 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
55
62
|
default: boolean;
|
|
56
63
|
description: string;
|
|
57
64
|
};
|
|
58
|
-
disabled: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default: boolean;
|
|
61
|
-
description: string;
|
|
62
|
-
};
|
|
63
65
|
}, {
|
|
64
66
|
show: () => Promise<void>;
|
|
65
67
|
hide: () => void;
|
|
@@ -71,10 +73,21 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
71
73
|
modelValue: import('vue').PropType<any>;
|
|
72
74
|
options: {
|
|
73
75
|
type: globalThis.PropType<CascaderOptions[]>;
|
|
74
|
-
default: never[];
|
|
76
|
+
default: () => never[];
|
|
75
77
|
description: string;
|
|
78
|
+
validator: (value: CascaderOptions[]) => boolean;
|
|
76
79
|
};
|
|
77
|
-
|
|
80
|
+
placeholder: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
disabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
clearable: {
|
|
78
91
|
type: BooleanConstructor;
|
|
79
92
|
default: boolean;
|
|
80
93
|
description: string;
|
|
@@ -84,34 +97,30 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
84
97
|
default: boolean;
|
|
85
98
|
description: string;
|
|
86
99
|
};
|
|
87
|
-
|
|
100
|
+
multiple: {
|
|
88
101
|
type: BooleanConstructor;
|
|
89
102
|
default: boolean;
|
|
90
103
|
description: string;
|
|
91
104
|
};
|
|
92
|
-
|
|
93
|
-
type:
|
|
94
|
-
default:
|
|
105
|
+
free: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
95
108
|
description: string;
|
|
96
109
|
};
|
|
97
|
-
|
|
98
|
-
type:
|
|
110
|
+
size: {
|
|
111
|
+
type: globalThis.PropType<import('../../..').LewSize>;
|
|
99
112
|
default: string;
|
|
100
113
|
description: string;
|
|
114
|
+
validator: (value: string) => boolean;
|
|
101
115
|
};
|
|
102
|
-
|
|
103
|
-
type:
|
|
116
|
+
trigger: {
|
|
117
|
+
type: globalThis.PropType<import('../../..').CascaderTriggerType>;
|
|
104
118
|
default: string;
|
|
105
119
|
description: string;
|
|
120
|
+
validator: (value: string) => boolean;
|
|
106
121
|
};
|
|
107
122
|
onload: {
|
|
108
123
|
type: FunctionConstructor;
|
|
109
|
-
default: undefined;
|
|
110
|
-
description: string;
|
|
111
|
-
};
|
|
112
|
-
clearable: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
default: boolean;
|
|
115
124
|
description: string;
|
|
116
125
|
};
|
|
117
126
|
readonly: {
|
|
@@ -119,27 +128,21 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
119
128
|
default: boolean;
|
|
120
129
|
description: string;
|
|
121
130
|
};
|
|
122
|
-
disabled: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
default: boolean;
|
|
125
|
-
description: string;
|
|
126
|
-
};
|
|
127
131
|
}>> & {
|
|
128
132
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
129
133
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
130
134
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
131
135
|
}, {
|
|
132
|
-
size:
|
|
136
|
+
size: import('../../..').LewSize;
|
|
133
137
|
options: CascaderOptions[];
|
|
134
|
-
|
|
138
|
+
placeholder: string;
|
|
139
|
+
disabled: boolean;
|
|
140
|
+
clearable: boolean;
|
|
135
141
|
showAllLevels: boolean;
|
|
142
|
+
multiple: boolean;
|
|
136
143
|
free: boolean;
|
|
137
144
|
trigger: import('../../..').CascaderTriggerType;
|
|
138
|
-
placeholder: string;
|
|
139
|
-
onload: Function;
|
|
140
|
-
clearable: boolean;
|
|
141
145
|
readonly: boolean;
|
|
142
|
-
disabled: boolean;
|
|
143
146
|
}, {}>;
|
|
144
147
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
145
148
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { LewSize } from '../../..';
|
|
2
3
|
|
|
3
4
|
export type CascaderOptions = {
|
|
4
5
|
label: string;
|
|
@@ -22,12 +23,28 @@ export declare const cascaderModel: {
|
|
|
22
23
|
};
|
|
23
24
|
};
|
|
24
25
|
export declare const cascaderProps: {
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
25
31
|
options: {
|
|
26
32
|
type: PropType<CascaderOptions[]>;
|
|
27
|
-
default: never[];
|
|
33
|
+
default: () => never[];
|
|
28
34
|
description: string;
|
|
35
|
+
validator: (value: CascaderOptions[]) => boolean;
|
|
29
36
|
};
|
|
30
|
-
|
|
37
|
+
placeholder: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
clearable: {
|
|
31
48
|
type: BooleanConstructor;
|
|
32
49
|
default: boolean;
|
|
33
50
|
description: string;
|
|
@@ -37,34 +54,30 @@ export declare const cascaderProps: {
|
|
|
37
54
|
default: boolean;
|
|
38
55
|
description: string;
|
|
39
56
|
};
|
|
40
|
-
|
|
57
|
+
multiple: {
|
|
41
58
|
type: BooleanConstructor;
|
|
42
59
|
default: boolean;
|
|
43
60
|
description: string;
|
|
44
61
|
};
|
|
45
|
-
|
|
46
|
-
type:
|
|
47
|
-
default:
|
|
62
|
+
free: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
48
65
|
description: string;
|
|
49
66
|
};
|
|
50
|
-
|
|
51
|
-
type:
|
|
67
|
+
size: {
|
|
68
|
+
type: PropType<LewSize>;
|
|
52
69
|
default: string;
|
|
53
70
|
description: string;
|
|
71
|
+
validator: (value: string) => boolean;
|
|
54
72
|
};
|
|
55
|
-
|
|
56
|
-
type:
|
|
73
|
+
trigger: {
|
|
74
|
+
type: PropType<CascaderTriggerType>;
|
|
57
75
|
default: string;
|
|
58
76
|
description: string;
|
|
77
|
+
validator: (value: string) => boolean;
|
|
59
78
|
};
|
|
60
79
|
onload: {
|
|
61
80
|
type: FunctionConstructor;
|
|
62
|
-
default: undefined;
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
clearable: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
81
|
description: string;
|
|
69
82
|
};
|
|
70
83
|
readonly: {
|
|
@@ -72,9 +85,4 @@ export declare const cascaderProps: {
|
|
|
72
85
|
default: boolean;
|
|
73
86
|
description: string;
|
|
74
87
|
};
|
|
75
|
-
disabled: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
description: string;
|
|
79
|
-
};
|
|
80
88
|
};
|
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: import('vue').PropType<any>;
|
|
3
|
-
|
|
4
|
-
type:
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
5
10
|
default: boolean;
|
|
6
11
|
description: string;
|
|
7
12
|
};
|
|
8
|
-
|
|
9
|
-
type:
|
|
13
|
+
readonly: {
|
|
14
|
+
type: BooleanConstructor;
|
|
10
15
|
default: boolean;
|
|
11
16
|
description: string;
|
|
12
17
|
};
|
|
13
|
-
|
|
14
|
-
type:
|
|
18
|
+
checked: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: globalThis.PropType<import('../../..').LewSize>;
|
|
15
25
|
default: string;
|
|
16
26
|
description: string;
|
|
27
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
17
28
|
};
|
|
18
29
|
block: {
|
|
19
30
|
type: BooleanConstructor;
|
|
@@ -30,39 +41,40 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
30
41
|
default: boolean;
|
|
31
42
|
description: string;
|
|
32
43
|
};
|
|
33
|
-
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
readonly: {
|
|
44
|
+
certain: {
|
|
39
45
|
type: BooleanConstructor;
|
|
40
46
|
default: boolean;
|
|
41
47
|
description: string;
|
|
42
48
|
};
|
|
43
|
-
size: {
|
|
44
|
-
type: globalThis.PropType<import('./props').CheckboxSize>;
|
|
45
|
-
default: string;
|
|
46
|
-
description: string;
|
|
47
|
-
};
|
|
48
49
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
50
|
change: (...args: any[]) => void;
|
|
50
51
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
51
52
|
modelValue: import('vue').PropType<any>;
|
|
52
|
-
|
|
53
|
-
type:
|
|
53
|
+
label: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
disabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
54
60
|
default: boolean;
|
|
55
61
|
description: string;
|
|
56
62
|
};
|
|
57
|
-
|
|
58
|
-
type:
|
|
63
|
+
readonly: {
|
|
64
|
+
type: BooleanConstructor;
|
|
59
65
|
default: boolean;
|
|
60
66
|
description: string;
|
|
61
67
|
};
|
|
62
|
-
|
|
63
|
-
type:
|
|
68
|
+
checked: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
73
|
+
size: {
|
|
74
|
+
type: globalThis.PropType<import('../../..').LewSize>;
|
|
64
75
|
default: string;
|
|
65
76
|
description: string;
|
|
77
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
66
78
|
};
|
|
67
79
|
block: {
|
|
68
80
|
type: BooleanConstructor;
|
|
@@ -79,32 +91,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
79
91
|
default: boolean;
|
|
80
92
|
description: string;
|
|
81
93
|
};
|
|
82
|
-
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
description: string;
|
|
86
|
-
};
|
|
87
|
-
readonly: {
|
|
94
|
+
certain: {
|
|
88
95
|
type: BooleanConstructor;
|
|
89
96
|
default: boolean;
|
|
90
97
|
description: string;
|
|
91
98
|
};
|
|
92
|
-
size: {
|
|
93
|
-
type: globalThis.PropType<import('./props').CheckboxSize>;
|
|
94
|
-
default: string;
|
|
95
|
-
description: string;
|
|
96
|
-
};
|
|
97
99
|
}>> & {
|
|
98
100
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
99
101
|
}, {
|
|
100
102
|
label: string;
|
|
103
|
+
block: boolean;
|
|
101
104
|
round: boolean;
|
|
102
|
-
size: import('
|
|
103
|
-
readonly: boolean;
|
|
105
|
+
size: import('../../..').LewSize;
|
|
104
106
|
disabled: boolean;
|
|
105
|
-
|
|
107
|
+
readonly: boolean;
|
|
106
108
|
iconable: boolean;
|
|
107
|
-
checked: boolean
|
|
108
|
-
certain: boolean
|
|
109
|
+
checked: boolean;
|
|
110
|
+
certain: boolean;
|
|
109
111
|
}, {}>;
|
|
110
112
|
export default _default;
|