lew-ui 2.1.6 → 2.1.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 +53 -53
- package/dist/components/avatar/src/LewAvatar.vue.d.ts +5 -5
- package/dist/components/backtop/src/LewBackTop.vue.d.ts +1 -1
- package/dist/components/badge/src/LewBadge.vue.d.ts +3 -3
- package/dist/components/button/src/LewButton.vue.d.ts +11 -11
- package/dist/components/button/src/props.d.ts +1 -1
- package/dist/components/cascader/src/LewCascader.vue.d.ts +6 -6
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
- package/dist/components/date-picker/src/LewDate.vue.d.ts +2 -2
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +6 -6
- package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +1 -1
- package/dist/components/date-picker/src/props.d.ts +2 -2
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +1 -1
- package/dist/components/drawer/src/props.d.ts +1 -1
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +1 -1
- package/dist/components/empty/src/LewEmpty.vue.d.ts +2 -2
- package/dist/components/flex/src/LewFlex.vue.d.ts +4 -4
- package/dist/components/form/src/LewForm.vue.d.ts +1 -1
- package/dist/components/input/src/LewInput.vue.d.ts +20 -20
- package/dist/components/input/src/props.d.ts +3 -2
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
- package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +1 -1
- package/dist/components/mark/src/LewMark.vue.d.ts +3 -3
- package/dist/components/menu/src/props.d.ts +2 -1
- package/dist/components/modal/src/LewModal.vue.d.ts +19 -19
- package/dist/components/pagination/src/LewPagination.vue.d.ts +8 -10
- package/dist/components/pagination/src/props.d.ts +3 -5
- package/dist/components/popok/src/LewPopok.vue.d.ts +17 -17
- package/dist/components/popover/src/LewPopover.vue.d.ts +8 -8
- package/dist/components/popover/src/props.d.ts +2 -2
- package/dist/components/radio/src/LewRadio.vue.d.ts +2 -2
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +4 -4
- package/dist/components/result/src/LewResult.vue.d.ts +1 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +10 -10
- package/dist/components/select/src/props.d.ts +1 -1
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +10 -10
- package/dist/components/switch/src/LewSwitch.vue.d.ts +3 -3
- package/dist/components/table/src/LewTable.vue.d.ts +7 -7
- package/dist/components/tabs/src/LewTabs.vue.d.ts +4 -4
- package/dist/components/tag/src/LewTag.vue.d.ts +9 -9
- package/dist/components/tag/src/props.d.ts +3 -4
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
- package/dist/components/text-trim/src/props.d.ts +1 -1
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +6 -6
- package/dist/components/title/src/LewTitle.vue.d.ts +6 -6
- package/dist/components/tree/src/LewTree.vue.d.ts +8 -25
- package/dist/components/tree/src/props.d.ts +2 -2
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +22 -11
- package/dist/components/tree-select/src/props.d.ts +6 -1
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +5 -5
- package/dist/directives/dialog/src/props.d.ts +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +357 -370
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +101 -101
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
required: true;
|
|
4
|
-
type: globalThis.PropType<
|
|
4
|
+
type: globalThis.PropType<any>;
|
|
5
5
|
};
|
|
6
|
-
prefixesValue: globalThis.PropType<
|
|
7
|
-
suffixValue: globalThis.PropType<
|
|
6
|
+
prefixesValue: globalThis.PropType<any>;
|
|
7
|
+
suffixValue: globalThis.PropType<any>;
|
|
8
8
|
type: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
default: string;
|
|
@@ -76,12 +76,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
76
76
|
description: string;
|
|
77
77
|
};
|
|
78
78
|
prefixes: {
|
|
79
|
-
type: globalThis.PropType<import('
|
|
79
|
+
type: globalThis.PropType<import('../../..').InputPrefixesType>;
|
|
80
80
|
default: string;
|
|
81
81
|
description: string;
|
|
82
82
|
};
|
|
83
83
|
prefixesOptions: {
|
|
84
|
-
type:
|
|
84
|
+
type: globalThis.PropType<import('../../..').SelectOptions[]>;
|
|
85
85
|
default: () => never[];
|
|
86
86
|
description: string;
|
|
87
87
|
};
|
|
@@ -91,12 +91,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
91
91
|
description: string;
|
|
92
92
|
};
|
|
93
93
|
suffix: {
|
|
94
|
-
type: globalThis.PropType<import('
|
|
94
|
+
type: globalThis.PropType<import('../../..').InputSuffixType>;
|
|
95
95
|
default: string;
|
|
96
96
|
description: string;
|
|
97
97
|
};
|
|
98
98
|
suffixOptions: {
|
|
99
|
-
type:
|
|
99
|
+
type: globalThis.PropType<import('../../..').SelectOptions[]>;
|
|
100
100
|
default: () => never[];
|
|
101
101
|
description: string;
|
|
102
102
|
};
|
|
@@ -122,15 +122,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
122
122
|
change: (...args: any[]) => void;
|
|
123
123
|
blur: (...args: any[]) => void;
|
|
124
124
|
clear: (...args: any[]) => void;
|
|
125
|
-
ok: (...args: any[]) => void;
|
|
126
125
|
focus: (...args: any[]) => void;
|
|
126
|
+
ok: (...args: any[]) => void;
|
|
127
127
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
128
128
|
modelValue: {
|
|
129
129
|
required: true;
|
|
130
|
-
type: globalThis.PropType<
|
|
130
|
+
type: globalThis.PropType<any>;
|
|
131
131
|
};
|
|
132
|
-
prefixesValue: globalThis.PropType<
|
|
133
|
-
suffixValue: globalThis.PropType<
|
|
132
|
+
prefixesValue: globalThis.PropType<any>;
|
|
133
|
+
suffixValue: globalThis.PropType<any>;
|
|
134
134
|
type: {
|
|
135
135
|
type: StringConstructor;
|
|
136
136
|
default: string;
|
|
@@ -202,12 +202,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
202
202
|
description: string;
|
|
203
203
|
};
|
|
204
204
|
prefixes: {
|
|
205
|
-
type: globalThis.PropType<import('
|
|
205
|
+
type: globalThis.PropType<import('../../..').InputPrefixesType>;
|
|
206
206
|
default: string;
|
|
207
207
|
description: string;
|
|
208
208
|
};
|
|
209
209
|
prefixesOptions: {
|
|
210
|
-
type:
|
|
210
|
+
type: globalThis.PropType<import('../../..').SelectOptions[]>;
|
|
211
211
|
default: () => never[];
|
|
212
212
|
description: string;
|
|
213
213
|
};
|
|
@@ -217,12 +217,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
217
217
|
description: string;
|
|
218
218
|
};
|
|
219
219
|
suffix: {
|
|
220
|
-
type: globalThis.PropType<import('
|
|
220
|
+
type: globalThis.PropType<import('../../..').InputSuffixType>;
|
|
221
221
|
default: string;
|
|
222
222
|
description: string;
|
|
223
223
|
};
|
|
224
224
|
suffixOptions: {
|
|
225
|
-
type:
|
|
225
|
+
type: globalThis.PropType<import('../../..').SelectOptions[]>;
|
|
226
226
|
default: () => never[];
|
|
227
227
|
description: string;
|
|
228
228
|
};
|
|
@@ -251,10 +251,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
251
251
|
}, {
|
|
252
252
|
type: string;
|
|
253
253
|
size: string;
|
|
254
|
-
disabled: boolean;
|
|
255
254
|
placeholder: string;
|
|
256
255
|
clearable: boolean;
|
|
257
256
|
readonly: boolean;
|
|
257
|
+
disabled: boolean;
|
|
258
258
|
align: string;
|
|
259
259
|
focusSelect: boolean;
|
|
260
260
|
copyable: boolean;
|
|
@@ -263,11 +263,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
263
263
|
maxLength: string | number;
|
|
264
264
|
showCount: boolean;
|
|
265
265
|
renderCount: Function;
|
|
266
|
-
prefixes: import('
|
|
267
|
-
prefixesOptions:
|
|
266
|
+
prefixes: import('../../..').InputPrefixesType;
|
|
267
|
+
prefixesOptions: import('../../..').SelectOptions[];
|
|
268
268
|
prefixesTooltip: string;
|
|
269
|
-
suffix: import('
|
|
270
|
-
suffixOptions:
|
|
269
|
+
suffix: import('../../..').InputSuffixType;
|
|
270
|
+
suffixOptions: import('../../..').SelectOptions[];
|
|
271
271
|
suffixTooltip: string;
|
|
272
272
|
okByEnter: boolean;
|
|
273
273
|
regular: (value: string) => boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectOptions } from '../../..';
|
|
1
2
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
4
|
export type InputPrefixesType = 'icon' | 'select' | 'text';
|
|
@@ -96,7 +97,7 @@ export declare const inputProps: {
|
|
|
96
97
|
description: string;
|
|
97
98
|
};
|
|
98
99
|
prefixesOptions: {
|
|
99
|
-
type:
|
|
100
|
+
type: PropType<SelectOptions[]>;
|
|
100
101
|
default: () => never[];
|
|
101
102
|
description: string;
|
|
102
103
|
};
|
|
@@ -111,7 +112,7 @@ export declare const inputProps: {
|
|
|
111
112
|
description: string;
|
|
112
113
|
};
|
|
113
114
|
suffixOptions: {
|
|
114
|
-
type:
|
|
115
|
+
type: PropType<SelectOptions[]>;
|
|
115
116
|
default: () => never[];
|
|
116
117
|
description: string;
|
|
117
118
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue: globalThis.PropType<
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
3
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
-
close: (...args: any[]) => void;
|
|
5
4
|
change: (...args: any[]) => void;
|
|
5
|
+
close: (...args: any[]) => void;
|
|
6
6
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
-
modelValue: globalThis.PropType<
|
|
7
|
+
modelValue: globalThis.PropType<any>;
|
|
8
8
|
}>> & {
|
|
9
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
9
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
2
|
color: {
|
|
3
|
-
type: globalThis.PropType<"
|
|
3
|
+
type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
|
|
4
4
|
default: string;
|
|
5
5
|
typeDesc: string;
|
|
6
6
|
description: string;
|
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
24
|
color: {
|
|
25
|
-
type: globalThis.PropType<"
|
|
25
|
+
type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
|
|
26
26
|
default: string;
|
|
27
27
|
typeDesc: string;
|
|
28
28
|
description: string;
|
|
@@ -44,8 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
44
44
|
};
|
|
45
45
|
}>>, {
|
|
46
46
|
bold: number;
|
|
47
|
+
color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
|
|
47
48
|
round: boolean;
|
|
48
|
-
color: "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "gray" | "brown";
|
|
49
49
|
to: string;
|
|
50
50
|
}, {}>, {
|
|
51
51
|
default?(_: {}): any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TagColor } from '../../..';
|
|
1
2
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
4
|
export type MenuOptions = {
|
|
@@ -8,7 +9,7 @@ export type MenuOptions = {
|
|
|
8
9
|
level?: number;
|
|
9
10
|
icon?: string;
|
|
10
11
|
tagText?: string;
|
|
11
|
-
tagColor?:
|
|
12
|
+
tagColor?: TagColor;
|
|
12
13
|
};
|
|
13
14
|
export declare const menuProps: {
|
|
14
15
|
options: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
-
visible: globalThis.PropType<
|
|
2
|
+
visible: globalThis.PropType<any>;
|
|
3
3
|
title: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
31
31
|
description: string;
|
|
32
32
|
};
|
|
33
33
|
okProps: {
|
|
34
|
-
type: globalThis.PropType<import('
|
|
34
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
35
35
|
default: () => {
|
|
36
36
|
text: string;
|
|
37
37
|
color: string;
|
|
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
41
|
cancelProps: {
|
|
42
|
-
type: globalThis.PropType<import('
|
|
42
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
43
43
|
default: () => {
|
|
44
44
|
type: string;
|
|
45
45
|
text: string;
|
|
@@ -53,12 +53,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
53
53
|
description: string;
|
|
54
54
|
};
|
|
55
55
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
-
close: (...args: any[]) => void;
|
|
57
56
|
show: (...args: any[]) => void;
|
|
58
57
|
ok: (...args: any[]) => void;
|
|
59
58
|
cancel: (...args: any[]) => void;
|
|
59
|
+
close: (...args: any[]) => void;
|
|
60
60
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
61
|
-
visible: globalThis.PropType<
|
|
61
|
+
visible: globalThis.PropType<any>;
|
|
62
62
|
title: {
|
|
63
63
|
type: StringConstructor;
|
|
64
64
|
default: string;
|
|
@@ -90,7 +90,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
90
90
|
description: string;
|
|
91
91
|
};
|
|
92
92
|
okProps: {
|
|
93
|
-
type: globalThis.PropType<import('
|
|
93
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
94
94
|
default: () => {
|
|
95
95
|
text: string;
|
|
96
96
|
color: string;
|
|
@@ -98,7 +98,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
98
98
|
description: string;
|
|
99
99
|
};
|
|
100
100
|
cancelProps: {
|
|
101
|
-
type: globalThis.PropType<import('
|
|
101
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
102
102
|
default: () => {
|
|
103
103
|
type: string;
|
|
104
104
|
text: string;
|
|
@@ -112,40 +112,40 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
112
112
|
description: string;
|
|
113
113
|
};
|
|
114
114
|
}>> & {
|
|
115
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
116
115
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
117
116
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
117
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
118
118
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
119
119
|
}, {
|
|
120
|
-
title: string;
|
|
121
120
|
width: string | number;
|
|
121
|
+
title: string;
|
|
122
122
|
height: string | number;
|
|
123
123
|
customHeader: boolean;
|
|
124
124
|
customFooter: boolean;
|
|
125
125
|
closeByEsc: boolean;
|
|
126
126
|
okProps: {
|
|
127
|
+
type: import('../../..').ButtonType;
|
|
127
128
|
text: string;
|
|
128
|
-
|
|
129
|
-
size: import('../..').ButtonSize;
|
|
129
|
+
color: import('../../..').ButtonColor;
|
|
130
130
|
round: boolean;
|
|
131
|
-
|
|
131
|
+
size: import('../../..').ButtonSize;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
loading: boolean;
|
|
132
134
|
icon: string;
|
|
133
135
|
iconPosition: string;
|
|
134
|
-
loading: boolean;
|
|
135
136
|
request: Function;
|
|
136
|
-
disabled: boolean;
|
|
137
137
|
};
|
|
138
138
|
cancelProps: {
|
|
139
|
+
type: import('../../..').ButtonType;
|
|
139
140
|
text: string;
|
|
140
|
-
|
|
141
|
-
size: import('../..').ButtonSize;
|
|
141
|
+
color: import('../../..').ButtonColor;
|
|
142
142
|
round: boolean;
|
|
143
|
-
|
|
143
|
+
size: import('../../..').ButtonSize;
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
loading: boolean;
|
|
144
146
|
icon: string;
|
|
145
147
|
iconPosition: string;
|
|
146
|
-
loading: boolean;
|
|
147
148
|
request: Function;
|
|
148
|
-
disabled: boolean;
|
|
149
149
|
};
|
|
150
150
|
closeOnClickOverlay: boolean;
|
|
151
151
|
}, {}>, {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { PaginationOptions } from './props';
|
|
2
|
-
|
|
3
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
-
total: globalThis.PropType<
|
|
5
|
-
currentPage: globalThis.PropType<
|
|
6
|
-
pageSize: globalThis.PropType<
|
|
7
|
-
pageSizeOptions: globalThis.PropType<
|
|
2
|
+
total: globalThis.PropType<any>;
|
|
3
|
+
currentPage: globalThis.PropType<any>;
|
|
4
|
+
pageSize: globalThis.PropType<any>;
|
|
5
|
+
pageSizeOptions: globalThis.PropType<any>;
|
|
8
6
|
visiblePagesCount: {
|
|
9
7
|
type: NumberConstructor;
|
|
10
8
|
default: number;
|
|
@@ -15,10 +13,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
15
13
|
"update:currentPage": (...args: any[]) => void;
|
|
16
14
|
"update:pageSize": (...args: any[]) => void;
|
|
17
15
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
|
-
total: globalThis.PropType<
|
|
19
|
-
currentPage: globalThis.PropType<
|
|
20
|
-
pageSize: globalThis.PropType<
|
|
21
|
-
pageSizeOptions: globalThis.PropType<
|
|
16
|
+
total: globalThis.PropType<any>;
|
|
17
|
+
currentPage: globalThis.PropType<any>;
|
|
18
|
+
pageSize: globalThis.PropType<any>;
|
|
19
|
+
pageSizeOptions: globalThis.PropType<any>;
|
|
22
20
|
visiblePagesCount: {
|
|
23
21
|
type: NumberConstructor;
|
|
24
22
|
default: number;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import { SelectOptions } from '../../..';
|
|
1
2
|
import { PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
export type PaginationOptions =
|
|
4
|
-
label: number | string;
|
|
5
|
-
value: number | string;
|
|
6
|
-
};
|
|
4
|
+
export type PaginationOptions = SelectOptions;
|
|
7
5
|
export declare const paginationModel: {
|
|
8
6
|
total: {
|
|
9
7
|
type: NumberConstructor;
|
|
@@ -22,7 +20,7 @@ export declare const paginationModel: {
|
|
|
22
20
|
description: string;
|
|
23
21
|
};
|
|
24
22
|
pageSizeOptions: {
|
|
25
|
-
type: PropType<
|
|
23
|
+
type: PropType<SelectOptions[]>;
|
|
26
24
|
default: {
|
|
27
25
|
label: string;
|
|
28
26
|
value: number;
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
20
20
|
description: string;
|
|
21
21
|
};
|
|
22
22
|
okProps: {
|
|
23
|
-
type: globalThis.PropType<import('
|
|
23
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
24
24
|
default: () => {
|
|
25
25
|
text: string;
|
|
26
26
|
color: string;
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
28
28
|
description: string;
|
|
29
29
|
};
|
|
30
30
|
cancelProps: {
|
|
31
|
-
type: globalThis.PropType<import('
|
|
31
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
32
32
|
default: () => {
|
|
33
33
|
type: string;
|
|
34
34
|
text: string;
|
|
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
74
74
|
description: string;
|
|
75
75
|
};
|
|
76
76
|
okProps: {
|
|
77
|
-
type: globalThis.PropType<import('
|
|
77
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
78
78
|
default: () => {
|
|
79
79
|
text: string;
|
|
80
80
|
color: string;
|
|
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
82
82
|
description: string;
|
|
83
83
|
};
|
|
84
84
|
cancelProps: {
|
|
85
|
-
type: globalThis.PropType<import('
|
|
85
|
+
type: globalThis.PropType<import('../../..').ButtonProps>;
|
|
86
86
|
default: () => {
|
|
87
87
|
type: string;
|
|
88
88
|
text: string;
|
|
@@ -105,35 +105,35 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
105
105
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
106
106
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
}, {
|
|
108
|
-
title: string;
|
|
109
|
-
content: string;
|
|
110
|
-
type: string;
|
|
111
108
|
width: string | number;
|
|
109
|
+
type: string;
|
|
110
|
+
title: string;
|
|
112
111
|
trigger: string;
|
|
113
112
|
placement: string;
|
|
113
|
+
content: string;
|
|
114
114
|
okProps: {
|
|
115
|
+
type: import('../../..').ButtonType;
|
|
115
116
|
text: string;
|
|
116
|
-
|
|
117
|
-
size: import('../..').ButtonSize;
|
|
117
|
+
color: import('../../..').ButtonColor;
|
|
118
118
|
round: boolean;
|
|
119
|
-
|
|
119
|
+
size: import('../../..').ButtonSize;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
loading: boolean;
|
|
120
122
|
icon: string;
|
|
121
123
|
iconPosition: string;
|
|
122
|
-
loading: boolean;
|
|
123
124
|
request: Function;
|
|
124
|
-
disabled: boolean;
|
|
125
125
|
};
|
|
126
126
|
cancelProps: {
|
|
127
|
+
type: import('../../..').ButtonType;
|
|
127
128
|
text: string;
|
|
128
|
-
|
|
129
|
-
size: import('../..').ButtonSize;
|
|
129
|
+
color: import('../../..').ButtonColor;
|
|
130
130
|
round: boolean;
|
|
131
|
-
|
|
131
|
+
size: import('../../..').ButtonSize;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
loading: boolean;
|
|
132
134
|
icon: string;
|
|
133
135
|
iconPosition: string;
|
|
134
|
-
loading: boolean;
|
|
135
136
|
request: Function;
|
|
136
|
-
disabled: boolean;
|
|
137
137
|
};
|
|
138
138
|
}, {}>, {
|
|
139
139
|
default?(_: {}): any;
|
|
@@ -33,12 +33,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
33
33
|
description: string;
|
|
34
34
|
};
|
|
35
35
|
offset: {
|
|
36
|
-
type:
|
|
36
|
+
type: globalThis.PropType<number[]>;
|
|
37
37
|
default: number[];
|
|
38
38
|
description: string;
|
|
39
39
|
};
|
|
40
40
|
hideOnClick: {
|
|
41
|
-
type: (
|
|
41
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
44
|
}, {
|
|
@@ -83,26 +83,26 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
83
83
|
description: string;
|
|
84
84
|
};
|
|
85
85
|
offset: {
|
|
86
|
-
type:
|
|
86
|
+
type: globalThis.PropType<number[]>;
|
|
87
87
|
default: number[];
|
|
88
88
|
description: string;
|
|
89
89
|
};
|
|
90
90
|
hideOnClick: {
|
|
91
|
-
type: (
|
|
91
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
92
92
|
default: boolean;
|
|
93
93
|
};
|
|
94
94
|
}>> & {
|
|
95
95
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
96
96
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
97
97
|
}, {
|
|
98
|
-
loading: boolean;
|
|
99
|
-
disabled: boolean;
|
|
100
98
|
trigger: string;
|
|
99
|
+
disabled: boolean;
|
|
100
|
+
loading: boolean;
|
|
101
101
|
placement: string;
|
|
102
|
-
offset: unknown[];
|
|
103
102
|
popoverBodyClassName: string;
|
|
104
|
-
hideOnClick: string | boolean;
|
|
105
103
|
triggerTarget: Element;
|
|
104
|
+
offset: number[];
|
|
105
|
+
hideOnClick: string | boolean;
|
|
106
106
|
}, {}>, {
|
|
107
107
|
trigger?(_: {}): any;
|
|
108
108
|
"popover-body"?(_: {
|
|
@@ -35,12 +35,12 @@ export declare const popoverProps: {
|
|
|
35
35
|
description: string;
|
|
36
36
|
};
|
|
37
37
|
offset: {
|
|
38
|
-
type:
|
|
38
|
+
type: globalThis.PropType<number[]>;
|
|
39
39
|
default: number[];
|
|
40
40
|
description: string;
|
|
41
41
|
};
|
|
42
42
|
hideOnClick: {
|
|
43
|
-
type: (
|
|
43
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -86,10 +86,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
86
86
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
label: string;
|
|
89
|
-
size: import('./props').RadioSize;
|
|
90
89
|
round: boolean;
|
|
91
|
-
|
|
90
|
+
size: import('./props').RadioSize;
|
|
92
91
|
readonly: boolean;
|
|
92
|
+
disabled: boolean;
|
|
93
93
|
checked: boolean;
|
|
94
94
|
block: boolean;
|
|
95
95
|
iconable: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioOptions } from './props';
|
|
2
2
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
|
-
modelValue: globalThis.PropType<
|
|
4
|
+
modelValue: globalThis.PropType<any>;
|
|
5
5
|
block: {
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: boolean;
|
|
@@ -40,7 +40,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
40
40
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
41
|
change: (...args: any[]) => void;
|
|
42
42
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
43
|
-
modelValue: globalThis.PropType<
|
|
43
|
+
modelValue: globalThis.PropType<any>;
|
|
44
44
|
block: {
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
@@ -79,12 +79,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
79
79
|
}>> & {
|
|
80
80
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
}, {
|
|
82
|
+
direction: string;
|
|
82
83
|
size: import('./props').RadioSize;
|
|
83
84
|
options: RadioOptions[];
|
|
84
|
-
disabled: boolean;
|
|
85
85
|
readonly: boolean;
|
|
86
|
+
disabled: boolean;
|
|
86
87
|
block: boolean;
|
|
87
88
|
iconable: boolean;
|
|
88
|
-
direction: string;
|
|
89
89
|
}, {}>;
|
|
90
90
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectOptions } from './props';
|
|
2
2
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
-
modelValue: globalThis.PropType<
|
|
4
|
+
modelValue: globalThis.PropType<any>;
|
|
5
5
|
defaultValue: {
|
|
6
6
|
type: (StringConstructor | NumberConstructor)[];
|
|
7
7
|
default: string;
|
|
@@ -38,8 +38,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
38
38
|
description: string;
|
|
39
39
|
};
|
|
40
40
|
searchMethod: {
|
|
41
|
-
type: globalThis.PropType<(e: import('
|
|
42
|
-
default: (params: import('
|
|
41
|
+
type: globalThis.PropType<(e: import('../../..').SelectSearchMethodParams) => SelectOptions[]>;
|
|
42
|
+
default: (params: import('../../..').SelectSearchMethodParams) => SelectOptions[];
|
|
43
43
|
description: string;
|
|
44
44
|
};
|
|
45
45
|
searchDelay: {
|
|
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
80
80
|
blur: (...args: any[]) => void;
|
|
81
81
|
clear: (...args: any[]) => void;
|
|
82
82
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
83
|
-
modelValue: globalThis.PropType<
|
|
83
|
+
modelValue: globalThis.PropType<any>;
|
|
84
84
|
defaultValue: {
|
|
85
85
|
type: (StringConstructor | NumberConstructor)[];
|
|
86
86
|
default: string;
|
|
@@ -117,8 +117,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
117
117
|
description: string;
|
|
118
118
|
};
|
|
119
119
|
searchMethod: {
|
|
120
|
-
type: globalThis.PropType<(e: import('
|
|
121
|
-
default: (params: import('
|
|
120
|
+
type: globalThis.PropType<(e: import('../../..').SelectSearchMethodParams) => SelectOptions[]>;
|
|
121
|
+
default: (params: import('../../..').SelectSearchMethodParams) => SelectOptions[];
|
|
122
122
|
description: string;
|
|
123
123
|
};
|
|
124
124
|
searchDelay: {
|
|
@@ -158,18 +158,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
158
158
|
}, {
|
|
159
159
|
size: string;
|
|
160
160
|
options: SelectOptions[];
|
|
161
|
-
disabled: boolean;
|
|
162
161
|
trigger: string;
|
|
163
162
|
placeholder: string;
|
|
164
163
|
clearable: boolean;
|
|
165
164
|
readonly: boolean;
|
|
165
|
+
disabled: boolean;
|
|
166
|
+
searchable: boolean;
|
|
167
|
+
searchDelay: number;
|
|
166
168
|
align: string;
|
|
167
169
|
showCheckIcon: boolean;
|
|
168
170
|
defaultValue: string | number;
|
|
169
171
|
itemHeight: number;
|
|
170
|
-
|
|
171
|
-
searchMethod: (e: import('./props').SelectSearchMethodParams) => void;
|
|
172
|
-
searchDelay: number;
|
|
172
|
+
searchMethod: (e: import('../../..').SelectSearchMethodParams) => SelectOptions[];
|
|
173
173
|
}, {}>, {
|
|
174
174
|
header?(_: {}): any;
|
|
175
175
|
empty?(_: {}): any;
|
|
@@ -53,7 +53,7 @@ export declare const selectProps: {
|
|
|
53
53
|
description: string;
|
|
54
54
|
};
|
|
55
55
|
searchMethod: {
|
|
56
|
-
type: PropType<(e: SelectSearchMethodParams) =>
|
|
56
|
+
type: PropType<(e: SelectSearchMethodParams) => SelectOptions[]>;
|
|
57
57
|
default: (params: SelectSearchMethodParams) => SelectOptions[];
|
|
58
58
|
description: string;
|
|
59
59
|
};
|