lew-ui 2.6.19 → 2.6.22
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/drawer/src/LewDrawer.vue.d.ts +12 -28
- package/dist/components/drawer/src/props.d.ts +4 -11
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +2 -3
- package/dist/components/input-number/src/props.d.ts +1 -1
- package/dist/components/input-table/src/LewInputTable.vue.d.ts +21 -12
- package/dist/components/input-table/src/props.d.ts +5 -5
- package/dist/components/menu-tree/src/LewMenuTreeItem.vue.d.ts +6 -6
- package/dist/components/menu-tree/src/props.d.ts +2 -2
- package/dist/components/modal/src/LewModal.vue.d.ts +10 -50
- package/dist/components/modal/src/props.d.ts +4 -21
- package/dist/components/popok/src/LewPopok.vue.d.ts +44 -56
- package/dist/components/popok/src/props.d.ts +21 -12
- package/dist/components/table/src/LewTable.vue.d.ts +27 -3
- package/dist/components/table/src/props.d.ts +10 -0
- package/dist/index.mjs +1147 -627
- package/dist/index.umd.js +6 -6
- package/dist/locals/de.d.ts +35 -0
- package/dist/locals/en.d.ts +35 -0
- package/dist/locals/es.d.ts +35 -0
- package/dist/locals/fr.d.ts +35 -0
- package/dist/locals/it.d.ts +35 -0
- package/dist/locals/ja.d.ts +35 -0
- package/dist/locals/ko.d.ts +35 -0
- package/dist/locals/pt.d.ts +35 -0
- package/dist/locals/zh.d.ts +35 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +4 -19
- package/dist/methods/dialog/src/props.d.ts +2 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -43,21 +43,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
description: string;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
okButtonProps: {
|
|
47
47
|
type: PropType<import('../../..').ButtonProps>;
|
|
48
|
-
default: () => {
|
|
49
|
-
text: string;
|
|
50
|
-
color: string;
|
|
51
|
-
};
|
|
48
|
+
default: () => {};
|
|
52
49
|
description: string;
|
|
53
50
|
};
|
|
54
|
-
|
|
51
|
+
closeButtonProps: {
|
|
55
52
|
type: PropType<import('../../..').ButtonProps>;
|
|
56
|
-
default: () => {
|
|
57
|
-
type: string;
|
|
58
|
-
text: string;
|
|
59
|
-
color: string;
|
|
60
|
-
};
|
|
53
|
+
default: () => {};
|
|
61
54
|
description: string;
|
|
62
55
|
};
|
|
63
56
|
zIndex: {
|
|
@@ -66,8 +59,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
66
59
|
description: string;
|
|
67
60
|
};
|
|
68
61
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
-
|
|
70
|
-
ok: (...args: any[]) => void;
|
|
62
|
+
close: (...args: any[]) => void;
|
|
71
63
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
72
64
|
visible: import('vue').PropType<any>;
|
|
73
65
|
title: {
|
|
@@ -108,21 +100,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
108
100
|
default: boolean;
|
|
109
101
|
description: string;
|
|
110
102
|
};
|
|
111
|
-
|
|
103
|
+
okButtonProps: {
|
|
112
104
|
type: PropType<import('../../..').ButtonProps>;
|
|
113
|
-
default: () => {
|
|
114
|
-
text: string;
|
|
115
|
-
color: string;
|
|
116
|
-
};
|
|
105
|
+
default: () => {};
|
|
117
106
|
description: string;
|
|
118
107
|
};
|
|
119
|
-
|
|
108
|
+
closeButtonProps: {
|
|
120
109
|
type: PropType<import('../../..').ButtonProps>;
|
|
121
|
-
default: () => {
|
|
122
|
-
type: string;
|
|
123
|
-
text: string;
|
|
124
|
-
color: string;
|
|
125
|
-
};
|
|
110
|
+
default: () => {};
|
|
126
111
|
description: string;
|
|
127
112
|
};
|
|
128
113
|
zIndex: {
|
|
@@ -131,8 +116,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
131
116
|
description: string;
|
|
132
117
|
};
|
|
133
118
|
}>> & Readonly<{
|
|
134
|
-
|
|
135
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
136
120
|
}>, {
|
|
137
121
|
title: string;
|
|
138
122
|
width: string | number;
|
|
@@ -141,7 +125,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
141
125
|
zIndex: number;
|
|
142
126
|
hideFooter: boolean;
|
|
143
127
|
closeByEsc: boolean;
|
|
144
|
-
|
|
128
|
+
okButtonProps: {
|
|
145
129
|
type: import('../../..').ButtonType;
|
|
146
130
|
color: import('../../..').LewColor;
|
|
147
131
|
size: import('../../..').ButtonSize;
|
|
@@ -153,7 +137,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
153
137
|
dashed: boolean;
|
|
154
138
|
request: Function;
|
|
155
139
|
};
|
|
156
|
-
|
|
140
|
+
closeButtonProps: {
|
|
157
141
|
type: import('../../..').ButtonType;
|
|
158
142
|
color: import('../../..').LewColor;
|
|
159
143
|
size: import('../../..').ButtonSize;
|
|
@@ -47,21 +47,14 @@ export declare const drawerProps: {
|
|
|
47
47
|
default: boolean;
|
|
48
48
|
description: string;
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
okButtonProps: {
|
|
51
51
|
type: PropType<ButtonProps>;
|
|
52
|
-
default: () => {
|
|
53
|
-
text: string;
|
|
54
|
-
color: string;
|
|
55
|
-
};
|
|
52
|
+
default: () => {};
|
|
56
53
|
description: string;
|
|
57
54
|
};
|
|
58
|
-
|
|
55
|
+
closeButtonProps: {
|
|
59
56
|
type: PropType<ButtonProps>;
|
|
60
|
-
default: () => {
|
|
61
|
-
type: string;
|
|
62
|
-
text: string;
|
|
63
|
-
color: string;
|
|
64
|
-
};
|
|
57
|
+
default: () => {};
|
|
65
58
|
description: string;
|
|
66
59
|
};
|
|
67
60
|
zIndex: {
|
|
@@ -35,7 +35,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
35
35
|
};
|
|
36
36
|
placeholder: {
|
|
37
37
|
type: StringConstructor;
|
|
38
|
-
|
|
38
|
+
defaultLocale: boolean;
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
41
|
readonly: {
|
|
@@ -106,7 +106,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
106
106
|
};
|
|
107
107
|
placeholder: {
|
|
108
108
|
type: StringConstructor;
|
|
109
|
-
|
|
109
|
+
defaultLocale: boolean;
|
|
110
110
|
description: string;
|
|
111
111
|
};
|
|
112
112
|
readonly: {
|
|
@@ -145,7 +145,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
145
145
|
width: string | number;
|
|
146
146
|
disabled: boolean;
|
|
147
147
|
readonly: boolean;
|
|
148
|
-
placeholder: string;
|
|
149
148
|
align: import('../../..').InputNumberAlign;
|
|
150
149
|
selectByFocus: boolean;
|
|
151
150
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { InputTableColumn } from './props';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
"table-header"?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
7
|
modelValue: {
|
|
5
8
|
required: true;
|
|
6
9
|
type: import('vue').PropType<any>;
|
|
@@ -34,11 +37,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
34
37
|
description: string;
|
|
35
38
|
validator(value: string): boolean;
|
|
36
39
|
};
|
|
37
|
-
batchDeletable: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
40
|
addable: {
|
|
43
41
|
type: BooleanConstructor;
|
|
44
42
|
default: boolean;
|
|
@@ -76,6 +74,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
76
74
|
default: boolean;
|
|
77
75
|
description: string;
|
|
78
76
|
};
|
|
77
|
+
sortTooltipCustomRender: {
|
|
78
|
+
type: PropType<(row: Record<string, any>) => string>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
79
82
|
autoUniqueId: {
|
|
80
83
|
type: BooleanConstructor;
|
|
81
84
|
default: boolean;
|
|
@@ -120,11 +123,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
120
123
|
description: string;
|
|
121
124
|
validator(value: string): boolean;
|
|
122
125
|
};
|
|
123
|
-
batchDeletable: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
description: string;
|
|
127
|
-
};
|
|
128
126
|
addable: {
|
|
129
127
|
type: BooleanConstructor;
|
|
130
128
|
default: boolean;
|
|
@@ -162,6 +160,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
162
160
|
default: boolean;
|
|
163
161
|
description: string;
|
|
164
162
|
};
|
|
163
|
+
sortTooltipCustomRender: {
|
|
164
|
+
type: PropType<(row: Record<string, any>) => string>;
|
|
165
|
+
default: undefined;
|
|
166
|
+
description: string;
|
|
167
|
+
};
|
|
165
168
|
autoUniqueId: {
|
|
166
169
|
type: BooleanConstructor;
|
|
167
170
|
default: boolean;
|
|
@@ -178,14 +181,20 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
178
181
|
columns: InputTableColumn[];
|
|
179
182
|
clearable: boolean;
|
|
180
183
|
rowKey: string;
|
|
181
|
-
batchDeletable: boolean;
|
|
182
184
|
addable: boolean;
|
|
183
185
|
defaultForm: Record<string, any>;
|
|
184
186
|
deletable: boolean;
|
|
185
187
|
maxRows: number;
|
|
186
188
|
minRows: number;
|
|
187
189
|
sortable: boolean;
|
|
190
|
+
sortTooltipCustomRender: (row: Record<string, any>) => string;
|
|
188
191
|
autoUniqueId: boolean;
|
|
189
192
|
uniqueField: string;
|
|
190
193
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
194
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
191
195
|
export default _default;
|
|
196
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
197
|
+
new (): {
|
|
198
|
+
$slots: S;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
@@ -44,11 +44,6 @@ export declare const inputTableProps: {
|
|
|
44
44
|
description: string;
|
|
45
45
|
validator(value: string): boolean;
|
|
46
46
|
};
|
|
47
|
-
batchDeletable: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
47
|
addable: {
|
|
53
48
|
type: BooleanConstructor;
|
|
54
49
|
default: boolean;
|
|
@@ -86,6 +81,11 @@ export declare const inputTableProps: {
|
|
|
86
81
|
default: boolean;
|
|
87
82
|
description: string;
|
|
88
83
|
};
|
|
84
|
+
sortTooltipCustomRender: {
|
|
85
|
+
type: PropType<(row: Record<string, any>) => string>;
|
|
86
|
+
default: undefined;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
89
|
autoUniqueId: {
|
|
90
90
|
type: BooleanConstructor;
|
|
91
91
|
default: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
label?(_: {
|
|
3
3
|
props: {
|
|
4
|
-
readonly icon: Function;
|
|
5
4
|
readonly label: string | Function;
|
|
6
5
|
readonly disabled: boolean;
|
|
7
6
|
readonly level: number;
|
|
8
7
|
readonly isLeaf: boolean;
|
|
9
8
|
readonly value?: string | number | undefined;
|
|
9
|
+
readonly icon?: string | Function | undefined;
|
|
10
10
|
};
|
|
11
11
|
}): any;
|
|
12
12
|
default?(_: {}): any;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
24
24
|
validator(value: string | number): boolean;
|
|
25
25
|
};
|
|
26
26
|
icon: {
|
|
27
|
-
type: FunctionConstructor;
|
|
28
|
-
default:
|
|
27
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
28
|
+
default: undefined;
|
|
29
29
|
description: string;
|
|
30
30
|
};
|
|
31
31
|
disabled: {
|
|
@@ -58,8 +58,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
58
58
|
validator(value: string | number): boolean;
|
|
59
59
|
};
|
|
60
60
|
icon: {
|
|
61
|
-
type: FunctionConstructor;
|
|
62
|
-
default:
|
|
61
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
62
|
+
default: undefined;
|
|
63
63
|
description: string;
|
|
64
64
|
};
|
|
65
65
|
disabled: {
|
|
@@ -80,7 +80,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
80
80
|
}>> & Readonly<{
|
|
81
81
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
icon: Function;
|
|
83
|
+
icon: string | Function;
|
|
84
84
|
label: string | Function;
|
|
85
85
|
disabled: boolean;
|
|
86
86
|
level: number;
|
|
@@ -52,8 +52,8 @@ export declare const menuTreeItemProps: {
|
|
|
52
52
|
validator(value: string | number): boolean;
|
|
53
53
|
};
|
|
54
54
|
icon: {
|
|
55
|
-
type: FunctionConstructor;
|
|
56
|
-
default:
|
|
55
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
56
|
+
default: undefined;
|
|
57
57
|
description: string;
|
|
58
58
|
};
|
|
59
59
|
disabled: {
|
|
@@ -32,31 +32,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
32
32
|
default: boolean;
|
|
33
33
|
description: string;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
okButtonProps: {
|
|
36
36
|
type: PropType<import('../../..').ButtonProps>;
|
|
37
|
-
default: () => {
|
|
38
|
-
text: string;
|
|
39
|
-
color: string;
|
|
40
|
-
};
|
|
37
|
+
default: () => {};
|
|
41
38
|
description: string;
|
|
42
39
|
};
|
|
43
|
-
|
|
40
|
+
closeButtonProps: {
|
|
44
41
|
type: PropType<import('../../..').ButtonProps>;
|
|
45
|
-
default: () => {
|
|
46
|
-
type: string;
|
|
47
|
-
text: string;
|
|
48
|
-
color: string;
|
|
49
|
-
};
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
|
-
hideOkButton: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
hideCancelButton: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default: boolean;
|
|
42
|
+
default: () => {};
|
|
60
43
|
description: string;
|
|
61
44
|
};
|
|
62
45
|
closeOnClickOverlay: {
|
|
@@ -70,9 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
70
53
|
description: string;
|
|
71
54
|
};
|
|
72
55
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
73
|
-
cancel: (...args: any[]) => void;
|
|
74
56
|
close: (...args: any[]) => void;
|
|
75
|
-
ok: (...args: any[]) => void;
|
|
76
57
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
77
58
|
visible: import('vue').PropType<any>;
|
|
78
59
|
title: {
|
|
@@ -102,31 +83,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
102
83
|
default: boolean;
|
|
103
84
|
description: string;
|
|
104
85
|
};
|
|
105
|
-
|
|
86
|
+
okButtonProps: {
|
|
106
87
|
type: PropType<import('../../..').ButtonProps>;
|
|
107
|
-
default: () => {
|
|
108
|
-
text: string;
|
|
109
|
-
color: string;
|
|
110
|
-
};
|
|
88
|
+
default: () => {};
|
|
111
89
|
description: string;
|
|
112
90
|
};
|
|
113
|
-
|
|
91
|
+
closeButtonProps: {
|
|
114
92
|
type: PropType<import('../../..').ButtonProps>;
|
|
115
|
-
default: () => {
|
|
116
|
-
type: string;
|
|
117
|
-
text: string;
|
|
118
|
-
color: string;
|
|
119
|
-
};
|
|
120
|
-
description: string;
|
|
121
|
-
};
|
|
122
|
-
hideOkButton: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
default: boolean;
|
|
125
|
-
description: string;
|
|
126
|
-
};
|
|
127
|
-
hideCancelButton: {
|
|
128
|
-
type: BooleanConstructor;
|
|
129
|
-
default: boolean;
|
|
93
|
+
default: () => {};
|
|
130
94
|
description: string;
|
|
131
95
|
};
|
|
132
96
|
closeOnClickOverlay: {
|
|
@@ -140,9 +104,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
140
104
|
description: string;
|
|
141
105
|
};
|
|
142
106
|
}>> & Readonly<{
|
|
143
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
144
107
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
145
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
146
108
|
}>, {
|
|
147
109
|
title: string;
|
|
148
110
|
width: string | number;
|
|
@@ -150,7 +112,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
150
112
|
zIndex: number;
|
|
151
113
|
hideFooter: boolean;
|
|
152
114
|
closeByEsc: boolean;
|
|
153
|
-
|
|
115
|
+
okButtonProps: {
|
|
154
116
|
type: import('../../..').ButtonType;
|
|
155
117
|
color: import('../../..').LewColor;
|
|
156
118
|
size: import('../../..').ButtonSize;
|
|
@@ -162,7 +124,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
162
124
|
dashed: boolean;
|
|
163
125
|
request: Function;
|
|
164
126
|
};
|
|
165
|
-
|
|
127
|
+
closeButtonProps: {
|
|
166
128
|
type: import('../../..').ButtonType;
|
|
167
129
|
color: import('../../..').LewColor;
|
|
168
130
|
size: import('../../..').ButtonSize;
|
|
@@ -174,8 +136,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
174
136
|
dashed: boolean;
|
|
175
137
|
request: Function;
|
|
176
138
|
};
|
|
177
|
-
hideOkButton: boolean;
|
|
178
|
-
hideCancelButton: boolean;
|
|
179
139
|
closeOnClickOverlay: boolean;
|
|
180
140
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
181
141
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -36,31 +36,14 @@ export declare const modalProps: {
|
|
|
36
36
|
default: boolean;
|
|
37
37
|
description: string;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
okButtonProps: {
|
|
40
40
|
type: PropType<ButtonProps>;
|
|
41
|
-
default: () => {
|
|
42
|
-
text: string;
|
|
43
|
-
color: string;
|
|
44
|
-
};
|
|
41
|
+
default: () => {};
|
|
45
42
|
description: string;
|
|
46
43
|
};
|
|
47
|
-
|
|
44
|
+
closeButtonProps: {
|
|
48
45
|
type: PropType<ButtonProps>;
|
|
49
|
-
default: () => {
|
|
50
|
-
type: string;
|
|
51
|
-
text: string;
|
|
52
|
-
color: string;
|
|
53
|
-
};
|
|
54
|
-
description: string;
|
|
55
|
-
};
|
|
56
|
-
hideOkButton: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
hideCancelButton: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
46
|
+
default: () => {};
|
|
64
47
|
description: string;
|
|
65
48
|
};
|
|
66
49
|
closeOnClickOverlay: {
|
|
@@ -8,6 +8,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
8
8
|
description: string;
|
|
9
9
|
validator: (value: string) => boolean;
|
|
10
10
|
};
|
|
11
|
+
okText: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
defaultLocale: boolean;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
cancelText: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
defaultLocale: boolean;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
ok: {
|
|
22
|
+
type: FunctionConstructor;
|
|
23
|
+
default: () => boolean;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
cancel: {
|
|
27
|
+
type: FunctionConstructor;
|
|
28
|
+
default: () => boolean;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
11
31
|
width: {
|
|
12
32
|
type: (NumberConstructor | StringConstructor)[];
|
|
13
33
|
default: string;
|
|
@@ -25,16 +45,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
25
45
|
default: string;
|
|
26
46
|
description: string;
|
|
27
47
|
};
|
|
28
|
-
okProps: {
|
|
29
|
-
type: PropType<import('../../..').ButtonProps>;
|
|
30
|
-
default: () => {};
|
|
31
|
-
description: string;
|
|
32
|
-
};
|
|
33
|
-
cancelProps: {
|
|
34
|
-
type: PropType<import('../../..').ButtonProps>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
48
|
content: {
|
|
39
49
|
type: StringConstructor;
|
|
40
50
|
default: string;
|
|
@@ -46,19 +56,33 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
46
56
|
description: string;
|
|
47
57
|
validator: (value: string) => boolean;
|
|
48
58
|
};
|
|
49
|
-
}>, {
|
|
50
|
-
hide: () => void;
|
|
51
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
|
-
cancel: (...args: any[]) => void;
|
|
53
|
-
show: (...args: any[]) => void;
|
|
54
|
-
ok: (...args: any[]) => void;
|
|
55
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
59
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
56
60
|
type: {
|
|
57
61
|
type: StringConstructor;
|
|
58
62
|
default: string;
|
|
59
63
|
description: string;
|
|
60
64
|
validator: (value: string) => boolean;
|
|
61
65
|
};
|
|
66
|
+
okText: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
defaultLocale: boolean;
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
cancelText: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
defaultLocale: boolean;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
ok: {
|
|
77
|
+
type: FunctionConstructor;
|
|
78
|
+
default: () => boolean;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
cancel: {
|
|
82
|
+
type: FunctionConstructor;
|
|
83
|
+
default: () => boolean;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
62
86
|
width: {
|
|
63
87
|
type: (NumberConstructor | StringConstructor)[];
|
|
64
88
|
default: string;
|
|
@@ -76,16 +100,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
76
100
|
default: string;
|
|
77
101
|
description: string;
|
|
78
102
|
};
|
|
79
|
-
okProps: {
|
|
80
|
-
type: PropType<import('../../..').ButtonProps>;
|
|
81
|
-
default: () => {};
|
|
82
|
-
description: string;
|
|
83
|
-
};
|
|
84
|
-
cancelProps: {
|
|
85
|
-
type: PropType<import('../../..').ButtonProps>;
|
|
86
|
-
default: () => {};
|
|
87
|
-
description: string;
|
|
88
|
-
};
|
|
89
103
|
content: {
|
|
90
104
|
type: StringConstructor;
|
|
91
105
|
default: string;
|
|
@@ -97,41 +111,15 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
97
111
|
description: string;
|
|
98
112
|
validator: (value: string) => boolean;
|
|
99
113
|
};
|
|
100
|
-
}>> & Readonly<{
|
|
101
|
-
|
|
102
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
103
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
104
|
-
}>, {
|
|
114
|
+
}>> & Readonly<{}>, {
|
|
115
|
+
cancel: Function;
|
|
105
116
|
type: string;
|
|
106
117
|
title: string;
|
|
107
118
|
width: string | number;
|
|
108
119
|
placement: import('../../..').PopoverPlacement;
|
|
109
120
|
trigger: import('../../..').PopoverTrigger;
|
|
110
121
|
content: string;
|
|
111
|
-
|
|
112
|
-
type: import('../../..').ButtonType;
|
|
113
|
-
color: import('../../..').LewColor;
|
|
114
|
-
size: import('../../..').ButtonSize;
|
|
115
|
-
loading: boolean;
|
|
116
|
-
disabled: boolean;
|
|
117
|
-
text: string;
|
|
118
|
-
singleIcon: boolean;
|
|
119
|
-
round: boolean;
|
|
120
|
-
dashed: boolean;
|
|
121
|
-
request: Function;
|
|
122
|
-
};
|
|
123
|
-
cancelProps: {
|
|
124
|
-
type: import('../../..').ButtonType;
|
|
125
|
-
color: import('../../..').LewColor;
|
|
126
|
-
size: import('../../..').ButtonSize;
|
|
127
|
-
loading: boolean;
|
|
128
|
-
disabled: boolean;
|
|
129
|
-
text: string;
|
|
130
|
-
singleIcon: boolean;
|
|
131
|
-
round: boolean;
|
|
132
|
-
dashed: boolean;
|
|
133
|
-
request: Function;
|
|
134
|
-
};
|
|
122
|
+
ok: Function;
|
|
135
123
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
136
124
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
137
125
|
export default _default;
|
|
@@ -1,13 +1,32 @@
|
|
|
1
|
-
import { ButtonProps } from '../../button/index';
|
|
2
1
|
import { PopoverPlacement, PopoverTrigger } from '../../popover/index';
|
|
3
2
|
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const popokButtonProps: {
|
|
5
4
|
type: {
|
|
6
5
|
type: StringConstructor;
|
|
7
6
|
default: string;
|
|
8
7
|
description: string;
|
|
9
8
|
validator: (value: string) => boolean;
|
|
10
9
|
};
|
|
10
|
+
okText: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
defaultLocale: boolean;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
cancelText: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
defaultLocale: boolean;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
ok: {
|
|
21
|
+
type: FunctionConstructor;
|
|
22
|
+
default: () => boolean;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
cancel: {
|
|
26
|
+
type: FunctionConstructor;
|
|
27
|
+
default: () => boolean;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
11
30
|
width: {
|
|
12
31
|
type: (NumberConstructor | StringConstructor)[];
|
|
13
32
|
default: string;
|
|
@@ -25,16 +44,6 @@ export declare const popokProps: {
|
|
|
25
44
|
default: string;
|
|
26
45
|
description: string;
|
|
27
46
|
};
|
|
28
|
-
okProps: {
|
|
29
|
-
type: PropType<ButtonProps>;
|
|
30
|
-
default: () => {};
|
|
31
|
-
description: string;
|
|
32
|
-
};
|
|
33
|
-
cancelProps: {
|
|
34
|
-
type: PropType<ButtonProps>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
47
|
content: {
|
|
39
48
|
type: StringConstructor;
|
|
40
49
|
default: string;
|