lew-ui 2.3.5 → 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,4 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { LewSize } from '../../..';
|
|
2
3
|
|
|
3
4
|
export declare const textareaModel: {
|
|
4
5
|
modelValue: {
|
|
@@ -8,17 +9,17 @@ export declare const textareaModel: {
|
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
11
|
export declare const textareaProps: {
|
|
11
|
-
|
|
12
|
+
placeholder: {
|
|
12
13
|
type: StringConstructor;
|
|
13
14
|
default: string;
|
|
14
15
|
description: string;
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
+
disabled: {
|
|
17
18
|
type: BooleanConstructor;
|
|
18
19
|
default: boolean;
|
|
19
20
|
description: string;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
readonly: {
|
|
22
23
|
type: BooleanConstructor;
|
|
23
24
|
default: boolean;
|
|
24
25
|
description: string;
|
|
@@ -28,12 +29,7 @@ export declare const textareaProps: {
|
|
|
28
29
|
default: boolean;
|
|
29
30
|
description: string;
|
|
30
31
|
};
|
|
31
|
-
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
readonly: {
|
|
32
|
+
showCount: {
|
|
37
33
|
type: BooleanConstructor;
|
|
38
34
|
default: boolean;
|
|
39
35
|
description: string;
|
|
@@ -42,16 +38,19 @@ export declare const textareaProps: {
|
|
|
42
38
|
type: (StringConstructor | NumberConstructor)[];
|
|
43
39
|
default: string;
|
|
44
40
|
description: string;
|
|
41
|
+
validator: (value: number | string) => boolean;
|
|
45
42
|
};
|
|
46
|
-
|
|
47
|
-
type:
|
|
48
|
-
default:
|
|
43
|
+
size: {
|
|
44
|
+
type: PropType<LewSize>;
|
|
45
|
+
default: string;
|
|
49
46
|
description: string;
|
|
47
|
+
validator: (value: LewSize) => boolean;
|
|
50
48
|
};
|
|
51
|
-
|
|
52
|
-
type:
|
|
53
|
-
default:
|
|
49
|
+
resize: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
54
52
|
description: string;
|
|
53
|
+
validator: (value: string) => boolean;
|
|
55
54
|
};
|
|
56
55
|
width: {
|
|
57
56
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -83,9 +82,9 @@ export declare const textareaProps: {
|
|
|
83
82
|
default: string;
|
|
84
83
|
description: string;
|
|
85
84
|
};
|
|
86
|
-
|
|
87
|
-
type:
|
|
88
|
-
default:
|
|
85
|
+
selectByFocus: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
89
88
|
description: string;
|
|
90
89
|
};
|
|
91
90
|
okByEnter: {
|
|
@@ -2,40 +2,46 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
-
bold: {
|
|
6
|
-
type: globalThis.PropType<400 | 200 | 500 | 100 | 300 | 600 | 700 | 800 | 900>;
|
|
7
|
-
default: number;
|
|
8
|
-
description: string;
|
|
9
|
-
};
|
|
10
5
|
size: {
|
|
11
6
|
type: (StringConstructor | NumberConstructor)[];
|
|
12
7
|
default: number;
|
|
13
8
|
description: string;
|
|
9
|
+
validator: (value: number | string) => boolean;
|
|
14
10
|
};
|
|
15
11
|
color: {
|
|
16
|
-
type:
|
|
12
|
+
type: StringConstructor;
|
|
17
13
|
default: string;
|
|
18
14
|
description: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
19
16
|
};
|
|
20
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
21
17
|
bold: {
|
|
22
|
-
type:
|
|
18
|
+
type: NumberConstructor;
|
|
23
19
|
default: number;
|
|
24
20
|
description: string;
|
|
21
|
+
validator: (value: number) => boolean;
|
|
25
22
|
};
|
|
23
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
26
24
|
size: {
|
|
27
25
|
type: (StringConstructor | NumberConstructor)[];
|
|
28
26
|
default: number;
|
|
29
27
|
description: string;
|
|
28
|
+
validator: (value: number | string) => boolean;
|
|
30
29
|
};
|
|
31
30
|
color: {
|
|
32
|
-
type:
|
|
31
|
+
type: StringConstructor;
|
|
33
32
|
default: string;
|
|
34
33
|
description: string;
|
|
34
|
+
validator: (value: string) => boolean;
|
|
35
|
+
};
|
|
36
|
+
bold: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
description: string;
|
|
40
|
+
validator: (value: number) => boolean;
|
|
35
41
|
};
|
|
36
42
|
}>>, {
|
|
37
|
-
bold:
|
|
38
|
-
color:
|
|
43
|
+
bold: number;
|
|
44
|
+
color: string;
|
|
39
45
|
size: string | number;
|
|
40
46
|
}, {}>;
|
|
41
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ExtractPropTypes
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
|
|
3
|
-
type BoldType = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
4
|
-
type TitleColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
|
|
5
3
|
export declare const titleProps: {
|
|
6
|
-
bold: {
|
|
7
|
-
type: PropType<BoldType>;
|
|
8
|
-
default: number;
|
|
9
|
-
description: string;
|
|
10
|
-
};
|
|
11
4
|
size: {
|
|
12
5
|
type: (StringConstructor | NumberConstructor)[];
|
|
13
6
|
default: number;
|
|
14
7
|
description: string;
|
|
8
|
+
validator: (value: number | string) => boolean;
|
|
15
9
|
};
|
|
16
10
|
color: {
|
|
17
|
-
type:
|
|
11
|
+
type: StringConstructor;
|
|
18
12
|
default: string;
|
|
19
13
|
description: string;
|
|
14
|
+
validator: (value: string) => boolean;
|
|
15
|
+
};
|
|
16
|
+
bold: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
description: string;
|
|
20
|
+
validator: (value: number) => boolean;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
export type TitleProps = ExtractPropTypes<typeof titleProps>;
|
|
23
|
-
export {};
|
|
@@ -11,8 +11,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
11
11
|
expandedKeys: import('vue').PropType<any>;
|
|
12
12
|
dataSource: {
|
|
13
13
|
type: globalThis.PropType<TreeDataSource[]>;
|
|
14
|
-
default: never[];
|
|
14
|
+
default: () => never[];
|
|
15
15
|
description: string;
|
|
16
|
+
validator: (value: TreeDataSource[]) => boolean;
|
|
16
17
|
};
|
|
17
18
|
multiple: {
|
|
18
19
|
type: BooleanConstructor;
|
|
@@ -43,6 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
43
44
|
type: globalThis.PropType<import('../../..').TreeTriggerType>;
|
|
44
45
|
default: string;
|
|
45
46
|
description: string;
|
|
47
|
+
validator: (value: import('../../..').TreeTriggerType) => boolean;
|
|
46
48
|
};
|
|
47
49
|
placeholder: {
|
|
48
50
|
type: StringConstructor;
|
|
@@ -65,19 +67,18 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
65
67
|
description: string;
|
|
66
68
|
};
|
|
67
69
|
initTree: {
|
|
68
|
-
type: globalThis.PropType<() => void
|
|
70
|
+
type: globalThis.PropType<() => void>;
|
|
69
71
|
default: undefined;
|
|
70
72
|
description: string;
|
|
71
73
|
};
|
|
72
74
|
onload: {
|
|
73
|
-
type: globalThis.PropType<(item: TreeDataSource) => void
|
|
75
|
+
type: globalThis.PropType<(item: TreeDataSource) => void>;
|
|
74
76
|
default: undefined;
|
|
75
77
|
description: string;
|
|
76
78
|
};
|
|
77
79
|
isSelect: {
|
|
78
80
|
type: BooleanConstructor;
|
|
79
81
|
default: boolean;
|
|
80
|
-
hidden: boolean;
|
|
81
82
|
description: string;
|
|
82
83
|
};
|
|
83
84
|
}, {
|
|
@@ -92,8 +93,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
92
93
|
expandedKeys: import('vue').PropType<any>;
|
|
93
94
|
dataSource: {
|
|
94
95
|
type: globalThis.PropType<TreeDataSource[]>;
|
|
95
|
-
default: never[];
|
|
96
|
+
default: () => never[];
|
|
96
97
|
description: string;
|
|
98
|
+
validator: (value: TreeDataSource[]) => boolean;
|
|
97
99
|
};
|
|
98
100
|
multiple: {
|
|
99
101
|
type: BooleanConstructor;
|
|
@@ -124,6 +126,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
124
126
|
type: globalThis.PropType<import('../../..').TreeTriggerType>;
|
|
125
127
|
default: string;
|
|
126
128
|
description: string;
|
|
129
|
+
validator: (value: import('../../..').TreeTriggerType) => boolean;
|
|
127
130
|
};
|
|
128
131
|
placeholder: {
|
|
129
132
|
type: StringConstructor;
|
|
@@ -146,19 +149,18 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
146
149
|
description: string;
|
|
147
150
|
};
|
|
148
151
|
initTree: {
|
|
149
|
-
type: globalThis.PropType<() => void
|
|
152
|
+
type: globalThis.PropType<() => void>;
|
|
150
153
|
default: undefined;
|
|
151
154
|
description: string;
|
|
152
155
|
};
|
|
153
156
|
onload: {
|
|
154
|
-
type: globalThis.PropType<(item: TreeDataSource) => void
|
|
157
|
+
type: globalThis.PropType<(item: TreeDataSource) => void>;
|
|
155
158
|
default: undefined;
|
|
156
159
|
description: string;
|
|
157
160
|
};
|
|
158
161
|
isSelect: {
|
|
159
162
|
type: BooleanConstructor;
|
|
160
163
|
default: boolean;
|
|
161
|
-
hidden: boolean;
|
|
162
164
|
description: string;
|
|
163
165
|
};
|
|
164
166
|
}>> & {
|
|
@@ -166,10 +168,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
166
168
|
onInitStart?: ((...args: any[]) => any) | undefined;
|
|
167
169
|
onInitEnd?: ((...args: any[]) => any) | undefined;
|
|
168
170
|
}, {
|
|
171
|
+
placeholder: string;
|
|
169
172
|
multiple: boolean;
|
|
170
173
|
free: boolean;
|
|
171
174
|
trigger: import('../../..').TreeTriggerType;
|
|
172
|
-
placeholder: string;
|
|
173
175
|
onload: (item: TreeDataSource) => void;
|
|
174
176
|
dataSource: TreeDataSource[];
|
|
175
177
|
keyField: string;
|
|
@@ -33,8 +33,9 @@ export declare const treeModel: {
|
|
|
33
33
|
export declare const treeProps: {
|
|
34
34
|
dataSource: {
|
|
35
35
|
type: PropType<TreeDataSource[]>;
|
|
36
|
-
default: never[];
|
|
36
|
+
default: () => never[];
|
|
37
37
|
description: string;
|
|
38
|
+
validator: (value: TreeDataSource[]) => boolean;
|
|
38
39
|
};
|
|
39
40
|
multiple: {
|
|
40
41
|
type: BooleanConstructor;
|
|
@@ -65,6 +66,7 @@ export declare const treeProps: {
|
|
|
65
66
|
type: PropType<TreeTriggerType>;
|
|
66
67
|
default: string;
|
|
67
68
|
description: string;
|
|
69
|
+
validator: (value: TreeTriggerType) => boolean;
|
|
68
70
|
};
|
|
69
71
|
placeholder: {
|
|
70
72
|
type: StringConstructor;
|
|
@@ -87,19 +89,18 @@ export declare const treeProps: {
|
|
|
87
89
|
description: string;
|
|
88
90
|
};
|
|
89
91
|
initTree: {
|
|
90
|
-
type: PropType<() => void
|
|
92
|
+
type: PropType<() => void>;
|
|
91
93
|
default: undefined;
|
|
92
94
|
description: string;
|
|
93
95
|
};
|
|
94
96
|
onload: {
|
|
95
|
-
type: PropType<(item: TreeDataSource) => void
|
|
97
|
+
type: PropType<(item: TreeDataSource) => void>;
|
|
96
98
|
default: undefined;
|
|
97
99
|
description: string;
|
|
98
100
|
};
|
|
99
101
|
isSelect: {
|
|
100
102
|
type: BooleanConstructor;
|
|
101
103
|
default: boolean;
|
|
102
|
-
hidden: boolean;
|
|
103
104
|
description: string;
|
|
104
105
|
};
|
|
105
106
|
};
|
|
@@ -12,11 +12,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
12
12
|
modelValue: import('vue').PropType<any>;
|
|
13
13
|
dataSource: {
|
|
14
14
|
type: globalThis.PropType<TreeDataSource[]>;
|
|
15
|
-
default: never[];
|
|
15
|
+
default: () => never[];
|
|
16
16
|
description: string;
|
|
17
|
+
validator: (value: TreeDataSource[]) => boolean;
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
-
type: StringConstructor;
|
|
19
|
+
defaultValue: {
|
|
20
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
20
21
|
default: string;
|
|
21
22
|
description: string;
|
|
22
23
|
};
|
|
@@ -26,49 +27,78 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
26
27
|
description: string;
|
|
27
28
|
};
|
|
28
29
|
size: {
|
|
29
|
-
type:
|
|
30
|
+
type: globalThis.PropType<import('../../..').LewSize>;
|
|
30
31
|
default: string;
|
|
31
32
|
description: string;
|
|
33
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
clearable: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
showCheckbox: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
description: string;
|
|
32
49
|
};
|
|
33
50
|
showAllLevels: {
|
|
34
51
|
type: BooleanConstructor;
|
|
35
52
|
default: boolean;
|
|
36
53
|
description: string;
|
|
37
54
|
};
|
|
38
|
-
|
|
55
|
+
showCheckIcon: {
|
|
39
56
|
type: BooleanConstructor;
|
|
40
57
|
default: boolean;
|
|
41
58
|
description: string;
|
|
42
59
|
};
|
|
43
|
-
|
|
44
|
-
type:
|
|
45
|
-
default:
|
|
60
|
+
showLine: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
46
63
|
description: string;
|
|
47
64
|
};
|
|
48
|
-
|
|
65
|
+
expandAll: {
|
|
49
66
|
type: BooleanConstructor;
|
|
50
67
|
default: boolean;
|
|
51
68
|
description: string;
|
|
52
69
|
};
|
|
70
|
+
searchable: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
searchDelay: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
description: string;
|
|
79
|
+
validator: (value: number) => boolean;
|
|
80
|
+
};
|
|
53
81
|
readonly: {
|
|
54
82
|
type: BooleanConstructor;
|
|
55
83
|
default: boolean;
|
|
56
84
|
description: string;
|
|
57
85
|
};
|
|
58
|
-
|
|
86
|
+
free: {
|
|
59
87
|
type: BooleanConstructor;
|
|
60
88
|
default: boolean;
|
|
61
89
|
description: string;
|
|
62
90
|
};
|
|
63
91
|
align: {
|
|
64
|
-
type:
|
|
92
|
+
type: globalThis.PropType<import('../../..').TreeSelectAlign>;
|
|
65
93
|
default: string;
|
|
66
94
|
description: string;
|
|
95
|
+
validator: (value: import('../../..').TreeSelectAlign) => boolean;
|
|
67
96
|
};
|
|
68
|
-
|
|
69
|
-
type:
|
|
70
|
-
default:
|
|
97
|
+
trigger: {
|
|
98
|
+
type: globalThis.PropType<import('../../..').TreeSelectTriggerType>;
|
|
99
|
+
default: string;
|
|
71
100
|
description: string;
|
|
101
|
+
validator: (value: import('../../..').TreeSelectTriggerType) => boolean;
|
|
72
102
|
};
|
|
73
103
|
keyField: {
|
|
74
104
|
type: StringConstructor;
|
|
@@ -85,41 +115,16 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
85
115
|
default: string;
|
|
86
116
|
description: string;
|
|
87
117
|
};
|
|
88
|
-
defaultValue: {
|
|
89
|
-
type: StringConstructor;
|
|
90
|
-
default: string;
|
|
91
|
-
description: string;
|
|
92
|
-
};
|
|
93
|
-
showCheckbox: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
description: string;
|
|
97
|
-
};
|
|
98
118
|
initTree: {
|
|
99
|
-
type: globalThis.PropType<() => void
|
|
119
|
+
type: globalThis.PropType<() => void>;
|
|
100
120
|
default: undefined;
|
|
101
121
|
description: string;
|
|
102
122
|
};
|
|
103
123
|
onload: {
|
|
104
|
-
type: globalThis.PropType<() => void
|
|
124
|
+
type: globalThis.PropType<() => void>;
|
|
105
125
|
default: undefined;
|
|
106
126
|
description: string;
|
|
107
127
|
};
|
|
108
|
-
showLine: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
description: string;
|
|
112
|
-
};
|
|
113
|
-
expandAll: {
|
|
114
|
-
type: BooleanConstructor;
|
|
115
|
-
default: boolean;
|
|
116
|
-
description: string;
|
|
117
|
-
};
|
|
118
|
-
free: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: boolean;
|
|
121
|
-
description: string;
|
|
122
|
-
};
|
|
123
128
|
}, {
|
|
124
129
|
show: () => void;
|
|
125
130
|
hide: () => void;
|
|
@@ -131,11 +136,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
131
136
|
modelValue: import('vue').PropType<any>;
|
|
132
137
|
dataSource: {
|
|
133
138
|
type: globalThis.PropType<TreeDataSource[]>;
|
|
134
|
-
default: never[];
|
|
139
|
+
default: () => never[];
|
|
135
140
|
description: string;
|
|
141
|
+
validator: (value: TreeDataSource[]) => boolean;
|
|
136
142
|
};
|
|
137
|
-
|
|
138
|
-
type: StringConstructor;
|
|
143
|
+
defaultValue: {
|
|
144
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
139
145
|
default: string;
|
|
140
146
|
description: string;
|
|
141
147
|
};
|
|
@@ -145,49 +151,78 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
145
151
|
description: string;
|
|
146
152
|
};
|
|
147
153
|
size: {
|
|
148
|
-
type:
|
|
154
|
+
type: globalThis.PropType<import('../../..').LewSize>;
|
|
149
155
|
default: string;
|
|
150
156
|
description: string;
|
|
157
|
+
validator: (value: import('../../..').LewSize) => boolean;
|
|
158
|
+
};
|
|
159
|
+
disabled: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
description: string;
|
|
163
|
+
};
|
|
164
|
+
clearable: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
description: string;
|
|
168
|
+
};
|
|
169
|
+
showCheckbox: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
description: string;
|
|
151
173
|
};
|
|
152
174
|
showAllLevels: {
|
|
153
175
|
type: BooleanConstructor;
|
|
154
176
|
default: boolean;
|
|
155
177
|
description: string;
|
|
156
178
|
};
|
|
157
|
-
|
|
179
|
+
showCheckIcon: {
|
|
158
180
|
type: BooleanConstructor;
|
|
159
181
|
default: boolean;
|
|
160
182
|
description: string;
|
|
161
183
|
};
|
|
162
|
-
|
|
163
|
-
type:
|
|
164
|
-
default:
|
|
184
|
+
showLine: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
165
187
|
description: string;
|
|
166
188
|
};
|
|
167
|
-
|
|
189
|
+
expandAll: {
|
|
168
190
|
type: BooleanConstructor;
|
|
169
191
|
default: boolean;
|
|
170
192
|
description: string;
|
|
171
193
|
};
|
|
194
|
+
searchable: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
description: string;
|
|
198
|
+
};
|
|
199
|
+
searchDelay: {
|
|
200
|
+
type: NumberConstructor;
|
|
201
|
+
default: number;
|
|
202
|
+
description: string;
|
|
203
|
+
validator: (value: number) => boolean;
|
|
204
|
+
};
|
|
172
205
|
readonly: {
|
|
173
206
|
type: BooleanConstructor;
|
|
174
207
|
default: boolean;
|
|
175
208
|
description: string;
|
|
176
209
|
};
|
|
177
|
-
|
|
210
|
+
free: {
|
|
178
211
|
type: BooleanConstructor;
|
|
179
212
|
default: boolean;
|
|
180
213
|
description: string;
|
|
181
214
|
};
|
|
182
215
|
align: {
|
|
183
|
-
type:
|
|
216
|
+
type: globalThis.PropType<import('../../..').TreeSelectAlign>;
|
|
184
217
|
default: string;
|
|
185
218
|
description: string;
|
|
219
|
+
validator: (value: import('../../..').TreeSelectAlign) => boolean;
|
|
186
220
|
};
|
|
187
|
-
|
|
188
|
-
type:
|
|
189
|
-
default:
|
|
221
|
+
trigger: {
|
|
222
|
+
type: globalThis.PropType<import('../../..').TreeSelectTriggerType>;
|
|
223
|
+
default: string;
|
|
190
224
|
description: string;
|
|
225
|
+
validator: (value: import('../../..').TreeSelectTriggerType) => boolean;
|
|
191
226
|
};
|
|
192
227
|
keyField: {
|
|
193
228
|
type: StringConstructor;
|
|
@@ -204,55 +239,30 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
204
239
|
default: string;
|
|
205
240
|
description: string;
|
|
206
241
|
};
|
|
207
|
-
defaultValue: {
|
|
208
|
-
type: StringConstructor;
|
|
209
|
-
default: string;
|
|
210
|
-
description: string;
|
|
211
|
-
};
|
|
212
|
-
showCheckbox: {
|
|
213
|
-
type: BooleanConstructor;
|
|
214
|
-
default: boolean;
|
|
215
|
-
description: string;
|
|
216
|
-
};
|
|
217
242
|
initTree: {
|
|
218
|
-
type: globalThis.PropType<() => void
|
|
243
|
+
type: globalThis.PropType<() => void>;
|
|
219
244
|
default: undefined;
|
|
220
245
|
description: string;
|
|
221
246
|
};
|
|
222
247
|
onload: {
|
|
223
|
-
type: globalThis.PropType<() => void
|
|
248
|
+
type: globalThis.PropType<() => void>;
|
|
224
249
|
default: undefined;
|
|
225
250
|
description: string;
|
|
226
251
|
};
|
|
227
|
-
showLine: {
|
|
228
|
-
type: BooleanConstructor;
|
|
229
|
-
default: boolean;
|
|
230
|
-
description: string;
|
|
231
|
-
};
|
|
232
|
-
expandAll: {
|
|
233
|
-
type: BooleanConstructor;
|
|
234
|
-
default: boolean;
|
|
235
|
-
description: string;
|
|
236
|
-
};
|
|
237
|
-
free: {
|
|
238
|
-
type: BooleanConstructor;
|
|
239
|
-
default: boolean;
|
|
240
|
-
description: string;
|
|
241
|
-
};
|
|
242
252
|
}>> & {
|
|
243
253
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
244
254
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
245
255
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
246
256
|
}, {
|
|
247
|
-
size:
|
|
257
|
+
size: import('../../..').LewSize;
|
|
258
|
+
placeholder: string;
|
|
259
|
+
disabled: boolean;
|
|
260
|
+
clearable: boolean;
|
|
248
261
|
showAllLevels: boolean;
|
|
249
262
|
free: boolean;
|
|
250
|
-
trigger:
|
|
251
|
-
placeholder: string;
|
|
263
|
+
trigger: import('../../..').TreeSelectTriggerType;
|
|
252
264
|
onload: () => void;
|
|
253
|
-
clearable: boolean;
|
|
254
265
|
readonly: boolean;
|
|
255
|
-
disabled: boolean;
|
|
256
266
|
dataSource: TreeDataSource[];
|
|
257
267
|
keyField: string;
|
|
258
268
|
labelField: string;
|
|
@@ -261,11 +271,11 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
261
271
|
expandAll: boolean;
|
|
262
272
|
showLine: boolean;
|
|
263
273
|
disabledField: string;
|
|
274
|
+
defaultValue: string | number;
|
|
275
|
+
showCheckIcon: boolean;
|
|
264
276
|
searchable: boolean;
|
|
265
277
|
searchDelay: number;
|
|
266
|
-
align:
|
|
267
|
-
showCheckIcon: boolean;
|
|
268
|
-
defaultValue: string;
|
|
278
|
+
align: import('../../..').TreeSelectAlign;
|
|
269
279
|
}, {}>;
|
|
270
280
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
271
281
|
export default _default;
|