lew-ui 2.3.9 → 2.4.1
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/components/alert/src/LewAlert.vue.d.ts +71 -12
- package/dist/components/alert/src/props.d.ts +27 -10
- package/dist/components/button/src/LewButton.vue.d.ts +21 -45
- package/dist/components/button/src/props.d.ts +5 -16
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +2 -2
- package/dist/components/checkbox/src/LewCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +25 -3
- package/dist/components/empty/src/LewEmpty.vue.d.ts +6 -6
- package/dist/components/form/src/LewForm.vue.d.ts +1 -1
- package/dist/components/form/src/LewFormItem.vue.d.ts +4 -4
- package/dist/components/image/src/LewImage.vue.d.ts +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +2 -2
- package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +1 -1
- package/dist/components/mark/src/LewMark.vue.d.ts +1 -1
- package/dist/components/menu/src/LewMenu.vue.d.ts +2 -2
- package/dist/components/menu/src/props.d.ts +1 -1
- package/dist/components/menu-tree/src/LewMenuTree.vue.d.ts +2 -2
- package/dist/components/menu-tree/src/props.d.ts +1 -1
- package/dist/components/modal/src/LewModal.vue.d.ts +25 -3
- package/dist/components/popok/src/LewPopok.vue.d.ts +25 -3
- package/dist/components/radio/src/LewRadio.vue.d.ts +2 -2
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +1 -1
- package/dist/components/switch/src/LewSwitch.vue.d.ts +1 -1
- package/dist/components/table/src/LewTable.vue.d.ts +2 -0
- package/dist/components/table/src/props.d.ts +1 -0
- package/dist/components/tabs/src/LewTabs.vue.d.ts +1 -1
- package/dist/components/tag/src/LewTag.vue.d.ts +17 -6
- package/dist/components/tag/src/props.d.ts +5 -0
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +12 -5
- package/dist/components/text-trim/src/props.d.ts +1 -2
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +1 -1
- package/dist/components/title/src/LewTitle.vue.d.ts +2 -2
- package/dist/components/upload/src/LewUpload.vue.d.ts +1 -1
- package/dist/confetti.browser.min.js +456 -456
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +2 -2
- package/dist/directives/dialog/src/index.d.ts +2 -2
- package/dist/docs/docs/alert/demo/index.d.ts +5 -1
- package/dist/docs/docs/table/demo/index.d.ts +3 -1
- package/dist/docs/lib/data.d.ts +0 -90
- package/dist/index.mjs +1345 -3602
- package/dist/index.umd.js +32 -682
- package/dist/style.css +1 -1
- package/dist/utils/Icon.vue.d.ts +59 -0
- package/dist/utils/index.d.ts +3 -13
- package/package.json +4 -5
- package/dist/components/alert/__test__/alert.test.d.ts +0 -1
- package/dist/components/icon/index.d.ts +0 -3
- package/dist/docs/docs/icon/api/index.d.ts +0 -1
- package/dist/docs/docs/icon/api/props.d.ts +0 -11
- package/dist/docs/docs/icon/demo/index.d.ts +0 -6
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 lew
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 lew
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ import { LewButton } from 'lew-ui'
|
|
|
33
33
|
Lew UI uses the following open source libraries:
|
|
34
34
|
|
|
35
35
|
- [tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
|
|
36
|
-
- [
|
|
36
|
+
- [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
|
|
37
37
|
- [fancyapps](https://fancyapps.com/): For creating image galleries and carousels
|
|
38
38
|
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
39
39
|
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
package/README.zh-CN.md
CHANGED
|
@@ -35,7 +35,7 @@ import { LewButton } from 'lew-ui'
|
|
|
35
35
|
Lew UI 使用了以下开源库:
|
|
36
36
|
|
|
37
37
|
- [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
|
|
38
|
-
- [
|
|
38
|
+
- [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
|
|
39
39
|
- [fancyapps](https://fancyapps.com/): 用于创建图片画廊和轮播
|
|
40
40
|
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
41
41
|
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
@@ -1,24 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
title?(_: {}): any;
|
|
3
|
+
content?(_: {}): any;
|
|
4
|
+
footer?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
7
|
+
type: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
description: string;
|
|
11
|
+
validator: (value: import('../../..').LewStatusColor) => boolean;
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
typeGhost: string;
|
|
16
|
+
default: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
content: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
typeGhost: string;
|
|
22
|
+
default: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
closeable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
footer: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
typeGhost: string;
|
|
33
|
+
default: string;
|
|
7
34
|
description: string;
|
|
8
|
-
validator: (value: AlertItem[]) => boolean;
|
|
9
35
|
};
|
|
10
36
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
37
|
close: (...args: any[]) => void;
|
|
12
38
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
13
|
-
|
|
14
|
-
type:
|
|
15
|
-
default:
|
|
39
|
+
type: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
description: string;
|
|
43
|
+
validator: (value: import('../../..').LewStatusColor) => boolean;
|
|
44
|
+
};
|
|
45
|
+
title: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
typeGhost: string;
|
|
48
|
+
default: string;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
content: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
typeGhost: string;
|
|
54
|
+
default: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
closeable: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
description: string;
|
|
61
|
+
};
|
|
62
|
+
footer: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
typeGhost: string;
|
|
65
|
+
default: string;
|
|
16
66
|
description: string;
|
|
17
|
-
validator: (value: AlertItem[]) => boolean;
|
|
18
67
|
};
|
|
19
68
|
}>> & Readonly<{
|
|
20
69
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
21
70
|
}>, {
|
|
22
|
-
|
|
71
|
+
type: string;
|
|
72
|
+
footer: string;
|
|
73
|
+
title: string;
|
|
74
|
+
content: string;
|
|
75
|
+
closeable: boolean;
|
|
23
76
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
78
|
export default _default;
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { LewStatusColor } from '../../..';
|
|
3
3
|
|
|
4
|
-
export interface AlertItem {
|
|
5
|
-
type: LewStatusColor;
|
|
6
|
-
title: string;
|
|
7
|
-
content?: string;
|
|
8
|
-
closeable?: boolean;
|
|
9
|
-
}
|
|
10
4
|
export declare const alertProps: {
|
|
11
|
-
|
|
12
|
-
type:
|
|
13
|
-
default:
|
|
5
|
+
type: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
description: string;
|
|
9
|
+
validator: (value: LewStatusColor) => boolean;
|
|
10
|
+
};
|
|
11
|
+
title: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
typeGhost: string;
|
|
14
|
+
default: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
content: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
typeGhost: string;
|
|
20
|
+
default: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
closeable: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
footer: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
typeGhost: string;
|
|
31
|
+
default: string;
|
|
14
32
|
description: string;
|
|
15
|
-
validator: (value: AlertItem[]) => boolean;
|
|
16
33
|
};
|
|
17
34
|
};
|
|
18
35
|
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
icon?(_: {}): any;
|
|
3
2
|
default?(_: {}): any;
|
|
4
3
|
};
|
|
5
4
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
@@ -10,16 +9,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
10
9
|
validator(value: string): boolean;
|
|
11
10
|
};
|
|
12
11
|
type: {
|
|
13
|
-
type: PropType<import('
|
|
12
|
+
type: PropType<import('./props').ButtonType>;
|
|
14
13
|
default: string;
|
|
15
14
|
description: string;
|
|
16
|
-
validator(value: import('
|
|
15
|
+
validator(value: import('./props').ButtonType): boolean;
|
|
17
16
|
};
|
|
18
17
|
size: {
|
|
19
|
-
type: PropType<import('
|
|
18
|
+
type: PropType<import('./props').ButtonSize>;
|
|
20
19
|
default: string;
|
|
21
20
|
description: string;
|
|
22
|
-
validator(value: import('
|
|
21
|
+
validator(value: import('./props').ButtonSize): boolean;
|
|
22
|
+
};
|
|
23
|
+
singleIcon: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
description: string;
|
|
23
27
|
};
|
|
24
28
|
color: {
|
|
25
29
|
type: PropType<import('../../..').LewColor>;
|
|
@@ -27,22 +31,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
27
31
|
description: string;
|
|
28
32
|
validator(value: import('../../..').LewColor): boolean;
|
|
29
33
|
};
|
|
30
|
-
icon: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
description: string;
|
|
34
|
-
};
|
|
35
|
-
iconPosition: {
|
|
36
|
-
type: PropType<import('../../..').IconPosition>;
|
|
37
|
-
default: string;
|
|
38
|
-
description: string;
|
|
39
|
-
validator(value: import('../../..').IconPosition): boolean;
|
|
40
|
-
};
|
|
41
|
-
iconSize: {
|
|
42
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
43
|
-
description: string;
|
|
44
|
-
validator(value: number | string): boolean;
|
|
45
|
-
};
|
|
46
34
|
round: {
|
|
47
35
|
type: BooleanConstructor;
|
|
48
36
|
default: boolean;
|
|
@@ -80,16 +68,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
80
68
|
validator(value: string): boolean;
|
|
81
69
|
};
|
|
82
70
|
type: {
|
|
83
|
-
type: PropType<import('
|
|
71
|
+
type: PropType<import('./props').ButtonType>;
|
|
84
72
|
default: string;
|
|
85
73
|
description: string;
|
|
86
|
-
validator(value: import('
|
|
74
|
+
validator(value: import('./props').ButtonType): boolean;
|
|
87
75
|
};
|
|
88
76
|
size: {
|
|
89
|
-
type: PropType<import('
|
|
77
|
+
type: PropType<import('./props').ButtonSize>;
|
|
90
78
|
default: string;
|
|
91
79
|
description: string;
|
|
92
|
-
validator(value: import('
|
|
80
|
+
validator(value: import('./props').ButtonSize): boolean;
|
|
81
|
+
};
|
|
82
|
+
singleIcon: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
description: string;
|
|
93
86
|
};
|
|
94
87
|
color: {
|
|
95
88
|
type: PropType<import('../../..').LewColor>;
|
|
@@ -97,22 +90,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
97
90
|
description: string;
|
|
98
91
|
validator(value: import('../../..').LewColor): boolean;
|
|
99
92
|
};
|
|
100
|
-
icon: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
default: string;
|
|
103
|
-
description: string;
|
|
104
|
-
};
|
|
105
|
-
iconPosition: {
|
|
106
|
-
type: PropType<import('../../..').IconPosition>;
|
|
107
|
-
default: string;
|
|
108
|
-
description: string;
|
|
109
|
-
validator(value: import('../../..').IconPosition): boolean;
|
|
110
|
-
};
|
|
111
|
-
iconSize: {
|
|
112
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
113
|
-
description: string;
|
|
114
|
-
validator(value: number | string): boolean;
|
|
115
|
-
};
|
|
116
93
|
round: {
|
|
117
94
|
type: BooleanConstructor;
|
|
118
95
|
default: boolean;
|
|
@@ -141,15 +118,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
141
118
|
}>> & Readonly<{
|
|
142
119
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
143
120
|
}>, {
|
|
144
|
-
type: import('
|
|
145
|
-
|
|
121
|
+
type: import('./props').ButtonType;
|
|
122
|
+
size: import('./props').ButtonSize;
|
|
146
123
|
text: string;
|
|
147
124
|
color: import('../../..').LewColor;
|
|
148
125
|
round: boolean;
|
|
149
|
-
size: import('../../..').ButtonSize;
|
|
150
126
|
disabled: boolean;
|
|
151
127
|
loading: boolean;
|
|
152
|
-
|
|
128
|
+
singleIcon: boolean;
|
|
153
129
|
dashed: boolean;
|
|
154
130
|
request: Function;
|
|
155
131
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -23,28 +23,17 @@ export declare const buttonProps: {
|
|
|
23
23
|
description: string;
|
|
24
24
|
validator(value: ButtonSize): boolean;
|
|
25
25
|
};
|
|
26
|
+
singleIcon: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
26
31
|
color: {
|
|
27
32
|
type: PropType<LewColor>;
|
|
28
33
|
default: string;
|
|
29
34
|
description: string;
|
|
30
35
|
validator(value: LewColor): boolean;
|
|
31
36
|
};
|
|
32
|
-
icon: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
description: string;
|
|
36
|
-
};
|
|
37
|
-
iconPosition: {
|
|
38
|
-
type: PropType<IconPosition>;
|
|
39
|
-
default: string;
|
|
40
|
-
description: string;
|
|
41
|
-
validator(value: IconPosition): boolean;
|
|
42
|
-
};
|
|
43
|
-
iconSize: {
|
|
44
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
45
|
-
description: string;
|
|
46
|
-
validator(value: number | string): boolean;
|
|
47
|
-
};
|
|
48
37
|
round: {
|
|
49
38
|
type: BooleanConstructor;
|
|
50
39
|
default: boolean;
|
|
@@ -99,14 +99,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
99
99
|
}>> & Readonly<{
|
|
100
100
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
101
101
|
}>, {
|
|
102
|
+
size: import('../../..').LewSize;
|
|
102
103
|
label: string;
|
|
103
104
|
block: boolean;
|
|
104
105
|
round: boolean;
|
|
105
|
-
size: import('../../..').LewSize;
|
|
106
106
|
disabled: boolean;
|
|
107
107
|
readonly: boolean;
|
|
108
|
-
iconable: boolean;
|
|
109
108
|
checked: boolean;
|
|
110
109
|
certain: boolean;
|
|
110
|
+
iconable: boolean;
|
|
111
111
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
112
112
|
export default _default;
|
|
@@ -103,10 +103,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
103
103
|
}>> & Readonly<{
|
|
104
104
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
|
+
size: import('../../..').LewSize;
|
|
106
107
|
direction: string;
|
|
107
108
|
block: boolean;
|
|
108
109
|
round: boolean;
|
|
109
|
-
size: import('../../..').LewSize;
|
|
110
110
|
options: CheckboxOptions[];
|
|
111
111
|
disabled: boolean;
|
|
112
112
|
readonly: boolean;
|
|
@@ -124,13 +124,35 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
124
124
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
|
-
width: string | number;
|
|
128
127
|
title: string;
|
|
128
|
+
width: string | number;
|
|
129
129
|
height: string | number;
|
|
130
130
|
hideFooter: boolean;
|
|
131
131
|
closeByEsc: boolean;
|
|
132
|
-
okProps:
|
|
133
|
-
|
|
132
|
+
okProps: {
|
|
133
|
+
type: import('../..').ButtonType;
|
|
134
|
+
size: import('../..').ButtonSize;
|
|
135
|
+
text: string;
|
|
136
|
+
color: import('../../..').LewColor;
|
|
137
|
+
round: boolean;
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
loading: boolean;
|
|
140
|
+
singleIcon: boolean;
|
|
141
|
+
dashed: boolean;
|
|
142
|
+
request: Function;
|
|
143
|
+
};
|
|
144
|
+
cancelProps: {
|
|
145
|
+
type: import('../..').ButtonType;
|
|
146
|
+
size: import('../..').ButtonSize;
|
|
147
|
+
text: string;
|
|
148
|
+
color: import('../../..').LewColor;
|
|
149
|
+
round: boolean;
|
|
150
|
+
disabled: boolean;
|
|
151
|
+
loading: boolean;
|
|
152
|
+
singleIcon: boolean;
|
|
153
|
+
dashed: boolean;
|
|
154
|
+
request: Function;
|
|
155
|
+
};
|
|
134
156
|
closeOnClickOverlay: boolean;
|
|
135
157
|
position: string;
|
|
136
158
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
type: {
|
|
3
|
-
type: PropType<"
|
|
3
|
+
type: PropType<"search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comment" | "network" | "order">;
|
|
4
4
|
default: string;
|
|
5
|
-
validator: (value: "
|
|
5
|
+
validator: (value: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comment" | "network" | "order") => boolean;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
8
8
|
title: {
|
|
@@ -37,9 +37,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
};
|
|
38
38
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
39
39
|
type: {
|
|
40
|
-
type: PropType<"
|
|
40
|
+
type: PropType<"search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comment" | "network" | "order">;
|
|
41
41
|
default: string;
|
|
42
|
-
validator: (value: "
|
|
42
|
+
validator: (value: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comment" | "network" | "order") => boolean;
|
|
43
43
|
description: string;
|
|
44
44
|
};
|
|
45
45
|
title: {
|
|
@@ -73,9 +73,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
73
73
|
description: string;
|
|
74
74
|
};
|
|
75
75
|
}>> & Readonly<{}>, {
|
|
76
|
-
type: "
|
|
77
|
-
width: string;
|
|
76
|
+
type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comment" | "network" | "order";
|
|
78
77
|
title: string;
|
|
78
|
+
width: string;
|
|
79
79
|
height: string;
|
|
80
80
|
fontSize: string | number;
|
|
81
81
|
padding: string;
|
|
@@ -118,9 +118,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
118
118
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
119
119
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
|
+
size: import('../../..').LewSize;
|
|
121
122
|
direction: import('./props').FormDirection;
|
|
122
123
|
width: string | number;
|
|
123
|
-
size: import('../../..').LewSize;
|
|
124
124
|
options: Record<string, any>[];
|
|
125
125
|
disabled: boolean;
|
|
126
126
|
readonly: boolean;
|
|
@@ -188,12 +188,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
188
188
|
}>> & Readonly<{
|
|
189
189
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
|
+
size: import('../../..').LewSize;
|
|
192
|
+
props: Record<string, any>;
|
|
193
|
+
tips: string;
|
|
194
|
+
label: string;
|
|
191
195
|
between: boolean;
|
|
192
196
|
direction: import('../../..').FormDirection;
|
|
193
197
|
width: string | number;
|
|
194
|
-
props: Record<string, any>;
|
|
195
|
-
label: string;
|
|
196
|
-
size: import('../../..').LewSize;
|
|
197
198
|
disabled: boolean;
|
|
198
199
|
readonly: boolean;
|
|
199
200
|
required: boolean;
|
|
@@ -201,7 +202,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
201
202
|
id: string;
|
|
202
203
|
field: string;
|
|
203
204
|
as: string;
|
|
204
|
-
tips: string;
|
|
205
205
|
errMessage: string;
|
|
206
206
|
gridArea: string;
|
|
207
207
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -121,9 +121,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
121
121
|
validator: (value: string) => boolean;
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{}>, {
|
|
124
|
-
width: string | number;
|
|
125
124
|
lazy: boolean;
|
|
126
125
|
title: string;
|
|
126
|
+
width: string | number;
|
|
127
127
|
loading: boolean;
|
|
128
128
|
height: string | number;
|
|
129
129
|
alt: string;
|
|
@@ -134,15 +134,15 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
134
134
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
135
135
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
136
136
|
}>, {
|
|
137
|
-
width: string | number;
|
|
138
137
|
size: import('../../..').LewSize;
|
|
138
|
+
width: string | number;
|
|
139
139
|
placeholder: string;
|
|
140
140
|
disabled: boolean;
|
|
141
141
|
readonly: boolean;
|
|
142
|
+
max: string | number;
|
|
142
143
|
align: import('../../..').InputNumberAlign;
|
|
143
144
|
selectByFocus: boolean;
|
|
144
145
|
min: string | number;
|
|
145
|
-
max: string | number;
|
|
146
146
|
step: string | number;
|
|
147
147
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
148
148
|
export default _default;
|
|
@@ -31,8 +31,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
31
31
|
description: string;
|
|
32
32
|
};
|
|
33
33
|
}>> & Readonly<{}>, {
|
|
34
|
-
value: number;
|
|
35
34
|
size: string | number;
|
|
35
|
+
value: number;
|
|
36
36
|
sep: boolean;
|
|
37
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
export default _default;
|
|
@@ -54,8 +54,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
54
54
|
}>> & Readonly<{
|
|
55
55
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
|
-
color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
|
|
58
57
|
bold: string | (100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900);
|
|
58
|
+
color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
|
|
59
59
|
round: boolean;
|
|
60
60
|
cursor: "default" | "text" | "pointer" | "move" | "not-allowed";
|
|
61
61
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -5,7 +5,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
5
5
|
type: PropType<MenuOptions[]>;
|
|
6
6
|
default: never[];
|
|
7
7
|
description: string;
|
|
8
|
-
|
|
8
|
+
typeGhost: string;
|
|
9
9
|
validator: (value: unknown) => boolean;
|
|
10
10
|
};
|
|
11
11
|
active: {
|
|
@@ -21,7 +21,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
21
21
|
type: PropType<MenuOptions[]>;
|
|
22
22
|
default: never[];
|
|
23
23
|
description: string;
|
|
24
|
-
|
|
24
|
+
typeGhost: string;
|
|
25
25
|
validator: (value: unknown) => boolean;
|
|
26
26
|
};
|
|
27
27
|
active: {
|
|
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
4
4
|
options: {
|
|
5
5
|
type: PropType<MenuTreeOptions[]>;
|
|
6
6
|
default: never[];
|
|
7
|
-
|
|
7
|
+
typeGhost: string;
|
|
8
8
|
description: string;
|
|
9
9
|
};
|
|
10
10
|
active: {
|
|
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
18
18
|
options: {
|
|
19
19
|
type: PropType<MenuTreeOptions[]>;
|
|
20
20
|
default: never[];
|
|
21
|
-
|
|
21
|
+
typeGhost: string;
|
|
22
22
|
description: string;
|
|
23
23
|
};
|
|
24
24
|
active: {
|
|
@@ -136,13 +136,35 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
136
136
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
137
137
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
138
138
|
}>, {
|
|
139
|
-
width: string | number;
|
|
140
139
|
title: string;
|
|
140
|
+
width: string | number;
|
|
141
141
|
height: string | number;
|
|
142
142
|
hideFooter: boolean;
|
|
143
143
|
closeByEsc: boolean;
|
|
144
|
-
okProps:
|
|
145
|
-
|
|
144
|
+
okProps: {
|
|
145
|
+
type: import('../../..').ButtonType;
|
|
146
|
+
size: import('../../..').ButtonSize;
|
|
147
|
+
text: string;
|
|
148
|
+
color: import('../../..').LewColor;
|
|
149
|
+
round: boolean;
|
|
150
|
+
disabled: boolean;
|
|
151
|
+
loading: boolean;
|
|
152
|
+
singleIcon: boolean;
|
|
153
|
+
dashed: boolean;
|
|
154
|
+
request: Function;
|
|
155
|
+
};
|
|
156
|
+
cancelProps: {
|
|
157
|
+
type: import('../../..').ButtonType;
|
|
158
|
+
size: import('../../..').ButtonSize;
|
|
159
|
+
text: string;
|
|
160
|
+
color: import('../../..').LewColor;
|
|
161
|
+
round: boolean;
|
|
162
|
+
disabled: boolean;
|
|
163
|
+
loading: boolean;
|
|
164
|
+
singleIcon: boolean;
|
|
165
|
+
dashed: boolean;
|
|
166
|
+
request: Function;
|
|
167
|
+
};
|
|
146
168
|
hideOkButton: boolean;
|
|
147
169
|
hideCancelButton: boolean;
|
|
148
170
|
closeOnClickOverlay: boolean;
|