luyoumin-ui 0.0.31 → 0.0.32
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/JsonExportExcel.vue.d.ts +32 -0
- package/dist/components/LymButton.vue.d.ts +162 -0
- package/dist/components/LymCheckBox.vue.d.ts +95 -0
- package/dist/components/LymCheckBoxGroup.vue.d.ts +62 -0
- package/dist/components/LymColorPicker.vue.d.ts +62 -0
- package/dist/components/LymDialog.vue.d.ts +140 -0
- package/dist/components/LymDrawer.vue.d.ts +133 -0
- package/dist/components/LymInput.vue.d.ts +188 -0
- package/dist/components/LymLink.vue.d.ts +106 -0
- package/dist/components/cascader/LymCascader.vue.d.ts +18 -0
- package/dist/components/generic-img/GenericImg.vue.d.ts +104 -0
- package/dist/components/generic-img/SvgIcons.vue.d.ts +2 -0
- package/dist/index.d.ts +15 -0
- package/dist/main.d.ts +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/utils/array_utils.d.ts +0 -0
- package/dist/utils/canvas_utils.d.ts +22 -0
- package/dist/utils/color_utils.d.ts +21 -0
- package/dist/utils/date_utils.d.ts +19 -0
- package/dist/utils/dom_utils.d.ts +32 -0
- package/dist/utils/event_utils.d.ts +6 -0
- package/dist/utils/file_utils.d.ts +1 -0
- package/dist/utils/img_deal.d.ts +7 -0
- package/dist/utils/number_utils.d.ts +0 -0
- package/dist/utils/object_utils.d.ts +0 -0
- package/dist/utils/string_utils.d.ts +27 -0
- package/dist/utils/url_utils.d.ts +30 -0
- package/package.json +5 -9
- package/lib/packages/button/index.d.ts +0 -113
- package/lib/packages/components.d.ts +0 -7
- package/lib/packages/index.d.ts +0 -15
- package/lib/packages/utils/directives/click-outside/index.d.ts +0 -4
- package/lib/packages/utils/index.d.ts +0 -33
- package/lib/packages/withInstall.d.ts +0 -5
- /package/{lib → dist}/luyoumin-ui.es.js +0 -0
- /package/{lib → dist}/luyoumin-ui.umd.js +0 -0
- /package/{lib → dist}/style.css +0 -0
- /package/{lib → dist}/vite.svg +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: () => string;
|
|
5
|
+
};
|
|
6
|
+
jsonData: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
fields: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => void;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
title: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: () => string;
|
|
18
|
+
};
|
|
19
|
+
jsonData: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
fields: {
|
|
24
|
+
type: ObjectConstructor;
|
|
25
|
+
default: () => void;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
title: string;
|
|
29
|
+
jsonData: unknown[];
|
|
30
|
+
fields: Record<string, any>;
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
fontSize: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
fontWeight: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
padding: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
borderRadius: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
round: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
circle: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
circlePadding: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
plain: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
icon: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
iconSize: {
|
|
47
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
loading: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
loadingIcon: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
iconSpace: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
loadingIconSpace: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
"update:modelValue": (val: any) => void;
|
|
68
|
+
click: () => void;
|
|
69
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
type: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
fontSize: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
fontWeight: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
padding: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
borderRadius: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
round: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
circle: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
circlePadding: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
plain: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
disabled: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
icon: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
iconSize: {
|
|
115
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
loading: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
loadingIcon: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
iconSpace: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
loadingIconSpace: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
}>> & {
|
|
135
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
136
|
+
onClick?: (() => any) | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
type: string;
|
|
139
|
+
circle: boolean;
|
|
140
|
+
fontSize: string;
|
|
141
|
+
fontWeight: string;
|
|
142
|
+
padding: string;
|
|
143
|
+
borderRadius: string;
|
|
144
|
+
round: boolean;
|
|
145
|
+
circlePadding: string;
|
|
146
|
+
plain: boolean;
|
|
147
|
+
disabled: boolean;
|
|
148
|
+
icon: string;
|
|
149
|
+
iconSize: string | number;
|
|
150
|
+
loading: boolean;
|
|
151
|
+
loadingIcon: string;
|
|
152
|
+
iconSpace: string;
|
|
153
|
+
loadingIconSpace: string;
|
|
154
|
+
}, {}>, {
|
|
155
|
+
default?(_: {}): any;
|
|
156
|
+
}>;
|
|
157
|
+
export default _default;
|
|
158
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
159
|
+
new (): {
|
|
160
|
+
$slots: S;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
declare function setCheck(checkList: Array<any>): void;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
labelSpace: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
labelFontSize: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isCircle: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
value: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
isIndeterminate: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
setCheck: typeof setCheck;
|
|
41
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
"update:modelValue": (val: any) => void;
|
|
43
|
+
"update:disabled": (val: any) => void;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
modelValue: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
label: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
labelSpace: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
labelFontSize: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
isCircle: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
value: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
isIndeterminate: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>> & {
|
|
82
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
83
|
+
"onUpdate:disabled"?: ((val: any) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
modelValue: boolean;
|
|
86
|
+
label: string;
|
|
87
|
+
disabled: boolean;
|
|
88
|
+
size: number;
|
|
89
|
+
labelSpace: string;
|
|
90
|
+
labelFontSize: string;
|
|
91
|
+
isCircle: boolean;
|
|
92
|
+
value: string;
|
|
93
|
+
isIndeterminate: boolean;
|
|
94
|
+
}, {}>;
|
|
95
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: {
|
|
4
|
+
(arrayLength: number): any[];
|
|
5
|
+
(...items: any[]): any[];
|
|
6
|
+
new (arrayLength: number): any[];
|
|
7
|
+
new (...items: any[]): any[];
|
|
8
|
+
isArray(arg: any): arg is any[];
|
|
9
|
+
readonly prototype: any[];
|
|
10
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
11
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
12
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
13
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
14
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
15
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
16
|
+
};
|
|
17
|
+
default(): never[];
|
|
18
|
+
};
|
|
19
|
+
max: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (val: any) => void;
|
|
25
|
+
change: (val: any) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: {
|
|
29
|
+
(arrayLength: number): any[];
|
|
30
|
+
(...items: any[]): any[];
|
|
31
|
+
new (arrayLength: number): any[];
|
|
32
|
+
new (...items: any[]): any[];
|
|
33
|
+
isArray(arg: any): arg is any[];
|
|
34
|
+
readonly prototype: any[];
|
|
35
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
36
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
37
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
38
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
39
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
40
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
41
|
+
};
|
|
42
|
+
default(): never[];
|
|
43
|
+
};
|
|
44
|
+
max: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
}>> & {
|
|
49
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
50
|
+
onChange?: ((val: any) => any) | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
modelValue: any[];
|
|
53
|
+
max: number;
|
|
54
|
+
}, {}>, {
|
|
55
|
+
default?(_: {}): any;
|
|
56
|
+
}>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
showAlpha: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
predefine: {
|
|
11
|
+
type: {
|
|
12
|
+
(arrayLength: number): string[];
|
|
13
|
+
(...items: string[]): string[];
|
|
14
|
+
new (arrayLength: number): string[];
|
|
15
|
+
new (...items: string[]): string[];
|
|
16
|
+
isArray(arg: any): arg is any[];
|
|
17
|
+
readonly prototype: any[];
|
|
18
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
19
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
20
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
21
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
22
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
23
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
24
|
+
};
|
|
25
|
+
default(): never[];
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (val: any) => void;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
showAlpha: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
predefine: {
|
|
39
|
+
type: {
|
|
40
|
+
(arrayLength: number): string[];
|
|
41
|
+
(...items: string[]): string[];
|
|
42
|
+
new (arrayLength: number): string[];
|
|
43
|
+
new (...items: string[]): string[];
|
|
44
|
+
isArray(arg: any): arg is any[];
|
|
45
|
+
readonly prototype: any[];
|
|
46
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
47
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
48
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
49
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
50
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
51
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
52
|
+
};
|
|
53
|
+
default(): never[];
|
|
54
|
+
};
|
|
55
|
+
}>> & {
|
|
56
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
modelValue: string;
|
|
59
|
+
showAlpha: boolean;
|
|
60
|
+
predefine: string[];
|
|
61
|
+
}, {}>;
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
declare function closeDialog(): void;
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
zIndex: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
width: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
padding: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
title: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
isTitleCenter: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isFooterCenter: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
canCloseByClickCover: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
showClose: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
bodyMaxH: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
alignTop: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
top: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
modal: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:modelValue": (val: any) => void;
|
|
57
|
+
close: () => void;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
zIndex: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
width: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
padding: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
title: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
isTitleCenter: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
isFooterCenter: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
canCloseByClickCover: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
showClose: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
bodyMaxH: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
alignTop: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
top: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
modal: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
}>> & {
|
|
112
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
113
|
+
onClose?: (() => any) | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
modelValue: boolean;
|
|
116
|
+
title: string;
|
|
117
|
+
padding: string;
|
|
118
|
+
width: string;
|
|
119
|
+
top: string;
|
|
120
|
+
zIndex: number;
|
|
121
|
+
isTitleCenter: boolean;
|
|
122
|
+
isFooterCenter: boolean;
|
|
123
|
+
canCloseByClickCover: boolean;
|
|
124
|
+
showClose: boolean;
|
|
125
|
+
bodyMaxH: string;
|
|
126
|
+
alignTop: boolean;
|
|
127
|
+
modal: boolean;
|
|
128
|
+
}, {}>, {
|
|
129
|
+
header?(_: {
|
|
130
|
+
closeFn: typeof closeDialog;
|
|
131
|
+
}): any;
|
|
132
|
+
default?(_: {}): any;
|
|
133
|
+
footer?(_: {}): any;
|
|
134
|
+
}>;
|
|
135
|
+
export default _default;
|
|
136
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
+
new (): {
|
|
138
|
+
$slots: S;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
declare function beforeClose(): void;
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
direction: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
zIndex: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
padding: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
title: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
isTitleCenter: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
isFooterCenter: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
canCloseByClickCover: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
showClose: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
modal: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
beforeClose: {
|
|
48
|
+
type: FunctionConstructor;
|
|
49
|
+
default: null;
|
|
50
|
+
};
|
|
51
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
|
+
"update:modelValue": (val: any) => void;
|
|
53
|
+
close: () => void;
|
|
54
|
+
beforeClose: (val: any) => void;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
modelValue: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
direction: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
zIndex: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
padding: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
title: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
isTitleCenter: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
isFooterCenter: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
canCloseByClickCover: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
showClose: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
modal: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
beforeClose: {
|
|
101
|
+
type: FunctionConstructor;
|
|
102
|
+
default: null;
|
|
103
|
+
};
|
|
104
|
+
}>> & {
|
|
105
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
106
|
+
onClose?: (() => any) | undefined;
|
|
107
|
+
onBeforeClose?: ((val: any) => any) | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
modelValue: boolean;
|
|
110
|
+
title: string;
|
|
111
|
+
padding: string;
|
|
112
|
+
size: string;
|
|
113
|
+
zIndex: number;
|
|
114
|
+
isTitleCenter: boolean;
|
|
115
|
+
isFooterCenter: boolean;
|
|
116
|
+
canCloseByClickCover: boolean;
|
|
117
|
+
showClose: boolean;
|
|
118
|
+
modal: boolean;
|
|
119
|
+
direction: string;
|
|
120
|
+
beforeClose: Function;
|
|
121
|
+
}, {}>, {
|
|
122
|
+
header?(_: {
|
|
123
|
+
closeFn: typeof beforeClose;
|
|
124
|
+
}): any;
|
|
125
|
+
default?(_: {}): any;
|
|
126
|
+
footer?(_: {}): any;
|
|
127
|
+
}>;
|
|
128
|
+
export default _default;
|
|
129
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
130
|
+
new (): {
|
|
131
|
+
$slots: S;
|
|
132
|
+
};
|
|
133
|
+
};
|