lew-ui 2.1.4 → 2.1.6
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/alert/__test__/alert.test.d.ts +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/src/LewAlert.vue.d.ts +22 -0
- package/dist/components/alert/src/props.d.ts +16 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/src/LewAvatar.vue.d.ts +93 -0
- package/dist/components/avatar/src/props.d.ts +48 -0
- package/dist/components/backtop/index.d.ts +2 -0
- package/dist/components/backtop/src/LewBackTop.vue.d.ts +60 -0
- package/dist/components/backtop/src/props.d.ts +25 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/src/LewBadge.vue.d.ts +34 -0
- package/dist/components/badge/src/props.d.ts +17 -0
- package/dist/components/breadcrumb/index.d.ts +2 -0
- package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +27 -0
- package/dist/components/breadcrumb/src/props.d.ts +21 -0
- package/dist/components/button/__test__/button.test.d.ts +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/src/LewButton.vue.d.ts +126 -0
- package/dist/components/button/src/props.d.ts +58 -0
- package/dist/components/cascader/index.d.ts +2 -0
- package/dist/components/cascader/src/LewCascader.vue.d.ts +148 -0
- package/dist/components/cascader/src/props.d.ts +80 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +110 -0
- package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +8 -0
- package/dist/components/checkbox/src/props.d.ts +116 -0
- package/dist/components/date-picker/index.d.ts +5 -0
- package/dist/components/date-picker/src/LewDate.vue.d.ts +12 -0
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +71 -0
- package/dist/components/date-picker/src/LewDateRange.vue.d.ts +35 -0
- package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +104 -0
- package/dist/components/date-picker/src/date.d.ts +9 -0
- package/dist/components/date-picker/src/props.d.ts +101 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +60 -0
- package/dist/components/drawer/src/props.d.ts +27 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +87 -0
- package/dist/components/dropdown/src/props.d.ts +39 -0
- package/dist/components/empty/index.d.ts +2 -0
- package/dist/components/empty/src/LewEmpty.vue.d.ts +51 -0
- package/dist/components/empty/src/props.d.ts +28 -0
- package/dist/components/flex/index.d.ts +2 -0
- package/dist/components/flex/src/LewFlex.vue.d.ts +95 -0
- package/dist/components/flex/src/props.d.ts +43 -0
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/src/LewForm.vue.d.ts +56 -0
- package/dist/components/form/src/props.d.ts +37 -0
- package/dist/components/icon/index.d.ts +3 -0
- package/dist/components/index.d.ts +37 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/src/LewInput.vue.d.ts +275 -0
- package/dist/components/input/src/props.d.ts +134 -0
- package/dist/components/input-tag/index.d.ts +2 -0
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +12 -0
- package/dist/components/input-tag/src/props.d.ts +10 -0
- package/dist/components/magic-number/index.d.ts +2 -0
- package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +38 -0
- package/dist/components/magic-number/src/props.d.ts +20 -0
- package/dist/components/mark/index.d.ts +2 -0
- package/dist/components/mark/src/LewMark.vue.d.ts +58 -0
- package/dist/components/mark/src/props.d.ts +28 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/src/LewMenu.vue.d.ts +35 -0
- package/dist/components/menu/src/props.d.ts +26 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/src/LewModal.vue.d.ts +161 -0
- package/dist/components/modal/src/props.d.ts +65 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/src/LewPagination.vue.d.ts +42 -0
- package/dist/components/pagination/src/props.d.ts +39 -0
- package/dist/components/popok/index.d.ts +2 -0
- package/dist/components/popok/src/LewPopok.vue.d.ts +146 -0
- package/dist/components/popok/src/props.d.ts +52 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/src/LewPopover.vue.d.ts +118 -0
- package/dist/components/popover/src/props.d.ts +47 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/src/LewRadio.vue.d.ts +97 -0
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +90 -0
- package/dist/components/radio/src/props.d.ts +96 -0
- package/dist/components/result/index.d.ts +2 -0
- package/dist/components/result/src/LewResult.vue.d.ts +45 -0
- package/dist/components/result/src/props.d.ts +17 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/src/LewSelect.vue.d.ts +186 -0
- package/dist/components/select/src/props.d.ts +90 -0
- package/dist/components/select-multiple/index.d.ts +2 -0
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +212 -0
- package/dist/components/select-multiple/src/props.d.ts +100 -0
- package/dist/components/steps/index.d.ts +2 -0
- package/dist/components/steps/src/props.d.ts +39 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/src/LewSwitch.vue.d.ts +57 -0
- package/dist/components/switch/src/props.d.ts +34 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/src/LewTable.vue.d.ts +88 -0
- package/dist/components/table/src/props.d.ts +43 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/src/LewTabs.vue.d.ts +85 -0
- package/dist/components/tabs/src/props.d.ts +49 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/src/LewTag.vue.d.ts +84 -0
- package/dist/components/tag/src/props.d.ts +39 -0
- package/dist/components/text-trim/index.d.ts +2 -0
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +82 -0
- package/dist/components/text-trim/src/props.d.ts +40 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +159 -0
- package/dist/components/textarea/src/props.d.ts +72 -0
- package/dist/components/title/index.d.ts +2 -0
- package/dist/components/title/src/LewTitle.vue.d.ts +45 -0
- package/dist/components/title/src/props.d.ts +23 -0
- package/dist/components/tree/index.d.ts +2 -0
- package/dist/components/tree/src/LewTree.vue.d.ts +189 -0
- package/dist/components/tree/src/props.d.ts +99 -0
- package/dist/components/tree/src/tree2list.d.ts +25 -0
- package/dist/components/tree-select/index.d.ts +2 -0
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +263 -0
- package/dist/components/tree-select/src/props.d.ts +136 -0
- package/dist/directives/backtop/index.d.ts +1 -0
- package/dist/directives/backtop/src/index.d.ts +6 -0
- package/dist/directives/dialog/index.d.ts +2 -0
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +118 -0
- package/dist/directives/dialog/src/index.d.ts +20 -0
- package/dist/directives/dialog/src/props.d.ts +50 -0
- package/dist/directives/index.d.ts +6 -0
- package/dist/directives/loading/index.d.ts +1 -0
- package/dist/directives/loading/src/index.d.ts +6 -0
- package/dist/directives/message/index.d.ts +1 -0
- package/dist/directives/message/src/index.d.ts +3 -0
- package/dist/directives/notification/index.d.ts +2 -0
- package/dist/directives/notification/src/index.d.ts +17 -0
- package/dist/directives/tooltip/index.d.ts +1 -0
- package/dist/directives/tooltip/src/index.d.ts +6 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/src/useDOMCreate.d.ts +1 -0
- package/dist/hooks/src/useEventListener.d.ts +1 -0
- package/dist/hooks/src/useLewTo.d.ts +3 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +3154 -7012
- package/dist/index.umd.js +243 -251
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +12 -0
- package/package.json +7 -5
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { SelectMultipleOptions } from './props';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
+
modelValue: globalThis.PropType<any[]>;
|
|
5
|
+
options: {
|
|
6
|
+
type: globalThis.PropType<SelectMultipleOptions[]>;
|
|
7
|
+
default: never[];
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
trigger: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
valueLayout: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
placeholder: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
itemHeight: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
searchable: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
searchPlaceholder: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
searchMethod: {
|
|
46
|
+
type: globalThis.PropType<(e: import('./props').SelectSearchMultipleMethodParams) => void>;
|
|
47
|
+
default: (params: import('./props').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
searchDelay: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
clearable: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
60
|
+
readonly: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
align: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
showCheckIcon: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
defaultValue: {
|
|
81
|
+
type: globalThis.PropType<string[] | number[]>;
|
|
82
|
+
default: never[];
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
show: () => void;
|
|
87
|
+
hide: () => void;
|
|
88
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
89
|
+
select: (...args: any[]) => void;
|
|
90
|
+
change: (...args: any[]) => void;
|
|
91
|
+
blur: (...args: any[]) => void;
|
|
92
|
+
clear: (...args: any[]) => void;
|
|
93
|
+
delete: (...args: any[]) => void;
|
|
94
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
95
|
+
modelValue: globalThis.PropType<any[]>;
|
|
96
|
+
options: {
|
|
97
|
+
type: globalThis.PropType<SelectMultipleOptions[]>;
|
|
98
|
+
default: never[];
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
trigger: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
valueLayout: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
description: string;
|
|
110
|
+
};
|
|
111
|
+
placeholder: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
size: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
description: string;
|
|
120
|
+
};
|
|
121
|
+
itemHeight: {
|
|
122
|
+
type: NumberConstructor;
|
|
123
|
+
default: number;
|
|
124
|
+
description: string;
|
|
125
|
+
};
|
|
126
|
+
searchable: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
description: string;
|
|
130
|
+
};
|
|
131
|
+
searchPlaceholder: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
description: string;
|
|
135
|
+
};
|
|
136
|
+
searchMethod: {
|
|
137
|
+
type: globalThis.PropType<(e: import('./props').SelectSearchMultipleMethodParams) => void>;
|
|
138
|
+
default: (params: import('./props').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
|
|
139
|
+
description: string;
|
|
140
|
+
};
|
|
141
|
+
searchDelay: {
|
|
142
|
+
type: NumberConstructor;
|
|
143
|
+
default: number;
|
|
144
|
+
description: string;
|
|
145
|
+
};
|
|
146
|
+
clearable: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
description: string;
|
|
150
|
+
};
|
|
151
|
+
readonly: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
description: string;
|
|
155
|
+
};
|
|
156
|
+
disabled: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
description: string;
|
|
160
|
+
};
|
|
161
|
+
align: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
description: string;
|
|
165
|
+
};
|
|
166
|
+
showCheckIcon: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
171
|
+
defaultValue: {
|
|
172
|
+
type: globalThis.PropType<string[] | number[]>;
|
|
173
|
+
default: never[];
|
|
174
|
+
description: string;
|
|
175
|
+
};
|
|
176
|
+
}>> & {
|
|
177
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
178
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
size: string;
|
|
184
|
+
options: SelectMultipleOptions[];
|
|
185
|
+
disabled: boolean;
|
|
186
|
+
trigger: string;
|
|
187
|
+
placeholder: string;
|
|
188
|
+
clearable: boolean;
|
|
189
|
+
readonly: boolean;
|
|
190
|
+
align: string;
|
|
191
|
+
showCheckIcon: boolean;
|
|
192
|
+
defaultValue: string[] | number[];
|
|
193
|
+
itemHeight: number;
|
|
194
|
+
searchable: boolean;
|
|
195
|
+
searchMethod: (e: import('./props').SelectSearchMultipleMethodParams) => void;
|
|
196
|
+
searchDelay: number;
|
|
197
|
+
valueLayout: string;
|
|
198
|
+
searchPlaceholder: string;
|
|
199
|
+
}, {}>, {
|
|
200
|
+
header?(_: {}): any;
|
|
201
|
+
empty?(_: {}): any;
|
|
202
|
+
item?(_: {
|
|
203
|
+
props: any;
|
|
204
|
+
}): any;
|
|
205
|
+
footer?(_: {}): any;
|
|
206
|
+
}>;
|
|
207
|
+
export default _default;
|
|
208
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
209
|
+
new (): {
|
|
210
|
+
$slots: S;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type SelectMultipleOptions = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type SelectSearchMultipleMethodParams = {
|
|
9
|
+
options?: SelectMultipleOptions[];
|
|
10
|
+
keyword?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const selectMultipleModel: {
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<string[] | number[]>;
|
|
15
|
+
default: never[];
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const selectMultipleProps: {
|
|
20
|
+
options: {
|
|
21
|
+
type: PropType<SelectMultipleOptions[]>;
|
|
22
|
+
default: never[];
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
trigger: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
valueLayout: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
placeholder: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
itemHeight: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
searchable: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
searchPlaceholder: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
60
|
+
searchMethod: {
|
|
61
|
+
type: PropType<(e: SelectSearchMultipleMethodParams) => void>;
|
|
62
|
+
default: (params: SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
searchDelay: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
clearable: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
readonly: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
disabled: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
align: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
showCheckIcon: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
defaultValue: {
|
|
96
|
+
type: PropType<string[] | number[]>;
|
|
97
|
+
default: never[];
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
type TagSize = 'small' | 'medium' | 'large';
|
|
4
|
+
type TagType = 'fill' | 'light' | 'ghost';
|
|
5
|
+
type TagColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
|
|
6
|
+
export declare const tagProps: {
|
|
7
|
+
type: {
|
|
8
|
+
type: PropType<TagType>;
|
|
9
|
+
default: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
color: {
|
|
13
|
+
type: PropType<TagColor>;
|
|
14
|
+
default: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: PropType<TagSize>;
|
|
19
|
+
default: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
round: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
closable: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export type TagProps = ExtractPropTypes<typeof tagProps>;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<boolean | undefined>;
|
|
3
|
+
round: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
request: {
|
|
14
|
+
type: FunctionConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
loading: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
click: (...args: any[]) => void;
|
|
25
|
+
change: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
27
|
+
modelValue: globalThis.PropType<boolean | undefined>;
|
|
28
|
+
round: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
request: {
|
|
39
|
+
type: FunctionConstructor;
|
|
40
|
+
default: null;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
loading: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
}>> & {
|
|
49
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
round: boolean;
|
|
53
|
+
loading: boolean;
|
|
54
|
+
request: Function;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
}, {}>;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const switchModel: {
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare const switchProps: {
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
round: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
request: {
|
|
25
|
+
type: FunctionConstructor;
|
|
26
|
+
default: null;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
loading: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
rowKey: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
dataSource: {
|
|
8
|
+
type: any;
|
|
9
|
+
default: never[];
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
columns: {
|
|
13
|
+
type: globalThis.PropType<import('./props').TableColumns[]>;
|
|
14
|
+
default: never[];
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
maxHeight: {
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
+
default: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
checkable: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
singleSelect: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
setSelectedKeys: (keys: any) => void;
|
|
34
|
+
getSelectedKeys: () => any;
|
|
35
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
36
|
+
rowKey: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
dataSource: {
|
|
42
|
+
type: any;
|
|
43
|
+
default: never[];
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
columns: {
|
|
47
|
+
type: globalThis.PropType<import('./props').TableColumns[]>;
|
|
48
|
+
default: never[];
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
maxHeight: {
|
|
52
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
53
|
+
default: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
checkable: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
singleSelect: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
}>>, {
|
|
67
|
+
maxHeight: string | number;
|
|
68
|
+
rowKey: string;
|
|
69
|
+
dataSource: any;
|
|
70
|
+
columns: import('./props').TableColumns[];
|
|
71
|
+
checkable: boolean;
|
|
72
|
+
singleSelect: boolean;
|
|
73
|
+
}, {}>, Partial<Record<string, (_: {
|
|
74
|
+
row: any;
|
|
75
|
+
column: import('./props').TableColumns;
|
|
76
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
77
|
+
row: any;
|
|
78
|
+
column: import('./props').TableColumns;
|
|
79
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
80
|
+
row: any;
|
|
81
|
+
column: import('./props').TableColumns;
|
|
82
|
+
}) => any>>>;
|
|
83
|
+
export default _default;
|
|
84
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
new (): {
|
|
86
|
+
$slots: S;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type TableColumns = {
|
|
4
|
+
title: string;
|
|
5
|
+
field: string;
|
|
6
|
+
fixed: string;
|
|
7
|
+
x: string;
|
|
8
|
+
y: string;
|
|
9
|
+
width: number;
|
|
10
|
+
columnStyle: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const tableProps: {
|
|
13
|
+
rowKey: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
dataSource: {
|
|
19
|
+
type: any;
|
|
20
|
+
default: never[];
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
columns: {
|
|
24
|
+
type: PropType<TableColumns[]>;
|
|
25
|
+
default: never[];
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
maxHeight: {
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
default: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
checkable: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
singleSelect: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { TabsOptions } from './props';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
required: true;
|
|
6
|
+
type: globalThis.PropType<string | number | undefined>;
|
|
7
|
+
};
|
|
8
|
+
options: {
|
|
9
|
+
type: globalThis.PropType<TabsOptions[]>;
|
|
10
|
+
default: never[];
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: globalThis.PropType<import('./props').TabsSize>;
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
width: {
|
|
19
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
20
|
+
default: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
itemWidth: {
|
|
24
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
25
|
+
default: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
round: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
type: {
|
|
34
|
+
type: globalThis.PropType<import('./props').TabsType>;
|
|
35
|
+
default: string;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
+
change: (...args: any[]) => void;
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
+
modelValue: {
|
|
42
|
+
required: true;
|
|
43
|
+
type: globalThis.PropType<string | number | undefined>;
|
|
44
|
+
};
|
|
45
|
+
options: {
|
|
46
|
+
type: globalThis.PropType<TabsOptions[]>;
|
|
47
|
+
default: never[];
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
type: globalThis.PropType<import('./props').TabsSize>;
|
|
52
|
+
default: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
width: {
|
|
56
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
57
|
+
default: string;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
60
|
+
itemWidth: {
|
|
61
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
62
|
+
default: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
round: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
type: {
|
|
71
|
+
type: globalThis.PropType<import('./props').TabsType>;
|
|
72
|
+
default: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
}>> & {
|
|
76
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
type: import('./props').TabsType;
|
|
79
|
+
size: import('./props').TabsSize;
|
|
80
|
+
round: boolean;
|
|
81
|
+
width: string | number;
|
|
82
|
+
options: TabsOptions[];
|
|
83
|
+
itemWidth: string | number;
|
|
84
|
+
}, {}>;
|
|
85
|
+
export default _default;
|