lew-ui 2.1.11 → 2.1.13
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/badge/src/LewBadge.vue.d.ts +3 -3
- package/dist/components/badge/src/props.d.ts +2 -3
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +106 -9
- package/dist/components/drawer/src/props.d.ts +43 -5
- package/dist/components/form/src/LewForm.vue.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/menu-tree/index.d.ts +2 -0
- package/dist/components/menu-tree/src/LewMenuTree.vue.d.ts +35 -0
- package/dist/components/menu-tree/src/props.d.ts +27 -0
- package/dist/components/modal/src/LewModal.vue.d.ts +3 -14
- package/dist/components/modal/src/props.d.ts +1 -6
- package/dist/components/steps/index.d.ts +1 -1
- package/dist/components/steps/src/LewSteps.vue.d.ts +29 -0
- package/dist/components/steps/src/props.d.ts +16 -28
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +2 -2
- package/dist/components/text-trim/src/props.d.ts +1 -1
- package/dist/components/title/src/LewTitle.vue.d.ts +3 -3
- package/dist/index.mjs +746 -400
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
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
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# Lew-UI
|
|
4
|
-
|
|
5
|
-
A Component Library for Vue3.js. Doc address: https://lew.kamtao.com
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install lew-ui --save
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## How to use
|
|
14
|
-
|
|
15
|
-
引入 css
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
// main.ts
|
|
19
|
-
import 'lew-ui/style';
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
页面
|
|
23
|
-
|
|
24
|
-
```vue
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import { LewButton } from 'lew-ui';
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<template>
|
|
30
|
-
<lew-button text="发送" />
|
|
31
|
-
</template>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Todo List
|
|
35
|
-
|
|
36
|
-
- Step 步骤
|
|
37
|
-
- Upload 上传
|
|
38
|
-
- Card 卡片
|
|
39
|
-
- Progress 进度条
|
|
40
|
-
- Loading 加载
|
|
41
|
-
|
|
42
|
-
## Thanks
|
|
43
|
-
|
|
44
|
-
- https://github.com/atomiks/tippyjs
|
|
45
|
-
- https://fengyuanchen.github.io/vue-feather/
|
|
46
|
-
|
|
47
|
-
## License
|
|
48
|
-
|
|
49
|
-
Lew UI is open source software licensed as MIT.
|
|
50
|
-
|
|
51
|
-
## Demo
|
|
52
|
-
|
|
53
|
-
   
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Lew-UI
|
|
4
|
+
|
|
5
|
+
A Component Library for Vue3.js. Doc address: https://lew.kamtao.com
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui --save
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## How to use
|
|
14
|
+
|
|
15
|
+
引入 css
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
// main.ts
|
|
19
|
+
import 'lew-ui/style';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
页面
|
|
23
|
+
|
|
24
|
+
```vue
|
|
25
|
+
<script setup lang="ts">
|
|
26
|
+
import { LewButton } from 'lew-ui';
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<lew-button text="发送" />
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Todo List
|
|
35
|
+
|
|
36
|
+
- Step 步骤
|
|
37
|
+
- Upload 上传
|
|
38
|
+
- Card 卡片
|
|
39
|
+
- Progress 进度条
|
|
40
|
+
- Loading 加载
|
|
41
|
+
|
|
42
|
+
## Thanks
|
|
43
|
+
|
|
44
|
+
- https://github.com/atomiks/tippyjs
|
|
45
|
+
- https://fengyuanchen.github.io/vue-feather/
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
Lew UI is open source software licensed as MIT.
|
|
50
|
+
|
|
51
|
+
## Demo
|
|
52
|
+
|
|
53
|
+
   
|
|
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
5
5
|
description: string;
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
|
-
type: globalThis.PropType<
|
|
8
|
+
type: globalThis.PropType<import('./props').BadgeColor>;
|
|
9
9
|
default: string;
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
@@ -16,13 +16,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
16
16
|
description: string;
|
|
17
17
|
};
|
|
18
18
|
color: {
|
|
19
|
-
type: globalThis.PropType<
|
|
19
|
+
type: globalThis.PropType<import('./props').BadgeColor>;
|
|
20
20
|
default: string;
|
|
21
21
|
description: string;
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
24
|
value: string;
|
|
25
|
-
color:
|
|
25
|
+
color: import('./props').BadgeColor;
|
|
26
26
|
}, {}>, {
|
|
27
27
|
default?(_: {}): any;
|
|
28
28
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
|
|
3
|
-
type
|
|
3
|
+
export type BadgeColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
|
|
4
4
|
export declare const badgeProps: {
|
|
5
5
|
value: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -8,10 +8,9 @@ export declare const badgeProps: {
|
|
|
8
8
|
description: string;
|
|
9
9
|
};
|
|
10
10
|
color: {
|
|
11
|
-
type: PropType<
|
|
11
|
+
type: PropType<BadgeColor>;
|
|
12
12
|
default: string;
|
|
13
13
|
description: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
17
|
-
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
-
visible:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
visible: globalThis.PropType<any>;
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
5
6
|
description: string;
|
|
6
7
|
};
|
|
7
8
|
width: {
|
|
@@ -19,14 +20,48 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
19
20
|
default: string;
|
|
20
21
|
description: string;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
-
"update:visible": (...args: any[]) => void;
|
|
24
|
-
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
25
|
-
visible: {
|
|
23
|
+
hideFooter: {
|
|
26
24
|
type: BooleanConstructor;
|
|
27
25
|
default: boolean;
|
|
28
26
|
description: string;
|
|
29
27
|
};
|
|
28
|
+
closeByEsc: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
okProps: {
|
|
34
|
+
type: globalThis.PropType<import('../..').ButtonProps>;
|
|
35
|
+
default: () => {
|
|
36
|
+
text: string;
|
|
37
|
+
color: string;
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
cancelProps: {
|
|
42
|
+
type: globalThis.PropType<import('../..').ButtonProps>;
|
|
43
|
+
default: () => {
|
|
44
|
+
type: string;
|
|
45
|
+
text: string;
|
|
46
|
+
color: string;
|
|
47
|
+
};
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
closeOnClickOverlay: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
ok: (...args: any[]) => void;
|
|
57
|
+
cancel: (...args: any[]) => void;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
59
|
+
visible: globalThis.PropType<any>;
|
|
60
|
+
title: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
30
65
|
width: {
|
|
31
66
|
type: NumberConstructor;
|
|
32
67
|
default: number;
|
|
@@ -42,15 +77,77 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
42
77
|
default: string;
|
|
43
78
|
description: string;
|
|
44
79
|
};
|
|
80
|
+
hideFooter: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
closeByEsc: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
okProps: {
|
|
91
|
+
type: globalThis.PropType<import('../..').ButtonProps>;
|
|
92
|
+
default: () => {
|
|
93
|
+
text: string;
|
|
94
|
+
color: string;
|
|
95
|
+
};
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
cancelProps: {
|
|
99
|
+
type: globalThis.PropType<import('../..').ButtonProps>;
|
|
100
|
+
default: () => {
|
|
101
|
+
type: string;
|
|
102
|
+
text: string;
|
|
103
|
+
color: string;
|
|
104
|
+
};
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
closeOnClickOverlay: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
45
112
|
}>> & {
|
|
46
|
-
|
|
113
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
47
115
|
}, {
|
|
48
116
|
width: number;
|
|
49
|
-
|
|
117
|
+
title: string;
|
|
50
118
|
height: number;
|
|
119
|
+
hideFooter: boolean;
|
|
120
|
+
closeByEsc: boolean;
|
|
121
|
+
okProps: {
|
|
122
|
+
type: import('../..').ButtonType;
|
|
123
|
+
text: string;
|
|
124
|
+
color: import('../..').ButtonColor;
|
|
125
|
+
round: boolean;
|
|
126
|
+
size: import('../..').ButtonSize;
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
loading: boolean;
|
|
129
|
+
icon: string;
|
|
130
|
+
iconPosition: string;
|
|
131
|
+
request: Function;
|
|
132
|
+
};
|
|
133
|
+
cancelProps: {
|
|
134
|
+
type: import('../..').ButtonType;
|
|
135
|
+
text: string;
|
|
136
|
+
color: import('../..').ButtonColor;
|
|
137
|
+
round: boolean;
|
|
138
|
+
size: import('../..').ButtonSize;
|
|
139
|
+
disabled: boolean;
|
|
140
|
+
loading: boolean;
|
|
141
|
+
icon: string;
|
|
142
|
+
iconPosition: string;
|
|
143
|
+
request: Function;
|
|
144
|
+
};
|
|
145
|
+
closeOnClickOverlay: boolean;
|
|
51
146
|
position: string;
|
|
52
147
|
}, {}>, {
|
|
148
|
+
header?(_: {}): any;
|
|
53
149
|
default?(_: {}): any;
|
|
150
|
+
footer?(_: {}): any;
|
|
54
151
|
}>;
|
|
55
152
|
export default _default;
|
|
56
153
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { ButtonProps } from '../../button/index';
|
|
1
2
|
import { ExtractPropTypes } from 'vue';
|
|
2
3
|
|
|
3
|
-
export declare const
|
|
4
|
+
export declare const drawerModel: {
|
|
4
5
|
visible: {
|
|
5
|
-
type:
|
|
6
|
-
default:
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const drawerProps: {
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
7
15
|
description: string;
|
|
8
16
|
};
|
|
9
17
|
width: {
|
|
@@ -21,7 +29,37 @@ export declare const drawerProps: {
|
|
|
21
29
|
default: string;
|
|
22
30
|
description: string;
|
|
23
31
|
};
|
|
32
|
+
hideFooter: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
closeByEsc: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
okProps: {
|
|
43
|
+
type: globalThis.PropType<ButtonProps>;
|
|
44
|
+
default: () => {
|
|
45
|
+
text: string;
|
|
46
|
+
color: string;
|
|
47
|
+
};
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
cancelProps: {
|
|
51
|
+
type: globalThis.PropType<ButtonProps>;
|
|
52
|
+
default: () => {
|
|
53
|
+
type: string;
|
|
54
|
+
text: string;
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
closeOnClickOverlay: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
24
64
|
};
|
|
25
65
|
export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
|
|
26
|
-
export declare const getStyle: (position: string, width: number, height: number) => string | undefined;
|
|
27
|
-
export declare const getPosition: (position: string) => 1 | 0;
|
|
@@ -25,6 +25,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
25
25
|
validate: (field: string) => Promise<unknown>;
|
|
26
26
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
27
|
change: (...args: any[]) => void;
|
|
28
|
+
mounted: (...args: any[]) => void;
|
|
28
29
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
29
30
|
options: globalThis.PropType<any>;
|
|
30
31
|
size: {
|
|
@@ -48,6 +49,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
48
49
|
};
|
|
49
50
|
}>> & {
|
|
50
51
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
onMounted?: ((...args: any[]) => any) | undefined;
|
|
51
53
|
}, {
|
|
52
54
|
direction: string;
|
|
53
55
|
size: string;
|
|
@@ -7,6 +7,7 @@ export * from './tree-select';
|
|
|
7
7
|
export * from './tabs';
|
|
8
8
|
export * from './breadcrumb';
|
|
9
9
|
export * from './dropdown';
|
|
10
|
+
export * from './steps';
|
|
10
11
|
export * from './input';
|
|
11
12
|
export * from './textarea';
|
|
12
13
|
export * from './input-tag';
|
|
@@ -34,4 +35,5 @@ export * from './result';
|
|
|
34
35
|
export * from './backtop';
|
|
35
36
|
export * from './text-trim';
|
|
36
37
|
export * from './menu';
|
|
38
|
+
export * from './menu-tree';
|
|
37
39
|
export * from './empty';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MenuTreeOptions } from './props';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
options: {
|
|
5
|
+
type: globalThis.PropType<MenuTreeOptions[]>;
|
|
6
|
+
default: never[];
|
|
7
|
+
typeDesc: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
actived: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
change: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
|
+
options: {
|
|
19
|
+
type: globalThis.PropType<MenuTreeOptions[]>;
|
|
20
|
+
default: never[];
|
|
21
|
+
typeDesc: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
actived: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
options: MenuTreeOptions[];
|
|
33
|
+
actived: string;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TagColor } from '../../..';
|
|
2
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
export type MenuTreeOptions = {
|
|
5
|
+
label: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
children?: MenuTreeOptions[];
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
level?: number;
|
|
10
|
+
icon?: string;
|
|
11
|
+
tagText?: string;
|
|
12
|
+
tagColor?: TagColor;
|
|
13
|
+
};
|
|
14
|
+
export declare const menuTreeProps: {
|
|
15
|
+
options: {
|
|
16
|
+
type: PropType<MenuTreeOptions[]>;
|
|
17
|
+
default: never[];
|
|
18
|
+
typeDesc: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
actived: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type MenuTreeProps = ExtractPropTypes<typeof menuTreeProps>;
|
|
@@ -15,12 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
15
15
|
default: string;
|
|
16
16
|
description: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
customFooter: {
|
|
18
|
+
hideFooter: {
|
|
24
19
|
type: BooleanConstructor;
|
|
25
20
|
default: boolean;
|
|
26
21
|
description: string;
|
|
@@ -74,12 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
74
69
|
default: string;
|
|
75
70
|
description: string;
|
|
76
71
|
};
|
|
77
|
-
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
default: boolean;
|
|
80
|
-
description: string;
|
|
81
|
-
};
|
|
82
|
-
customFooter: {
|
|
72
|
+
hideFooter: {
|
|
83
73
|
type: BooleanConstructor;
|
|
84
74
|
default: boolean;
|
|
85
75
|
description: string;
|
|
@@ -120,8 +110,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
120
110
|
width: string | number;
|
|
121
111
|
title: string;
|
|
122
112
|
height: string | number;
|
|
123
|
-
|
|
124
|
-
customFooter: boolean;
|
|
113
|
+
hideFooter: boolean;
|
|
125
114
|
closeByEsc: boolean;
|
|
126
115
|
okProps: {
|
|
127
116
|
type: import('../../..').ButtonType;
|
|
@@ -24,12 +24,7 @@ export declare const modalProps: {
|
|
|
24
24
|
default: string;
|
|
25
25
|
description: string;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
customFooter: {
|
|
27
|
+
hideFooter: {
|
|
33
28
|
type: BooleanConstructor;
|
|
34
29
|
default: boolean;
|
|
35
30
|
description: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as LewSteps } from './src/LewSteps.vue';
|
|
2
2
|
export * from './src/props';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
|
+
options: {
|
|
4
|
+
type: globalThis.PropType<import('./props').StepsOptions[]>;
|
|
5
|
+
default: never[];
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
status: {
|
|
9
|
+
type: globalThis.PropType<import('./props').StepsStatus>;
|
|
10
|
+
default: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
14
|
+
modelValue: globalThis.PropType<any>;
|
|
15
|
+
options: {
|
|
16
|
+
type: globalThis.PropType<import('./props').StepsOptions[]>;
|
|
17
|
+
default: never[];
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
status: {
|
|
21
|
+
type: globalThis.PropType<import('./props').StepsStatus>;
|
|
22
|
+
default: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
options: import('./props').StepsOptions[];
|
|
27
|
+
status: import('./props').StepsStatus;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export default _default;
|
|
@@ -1,39 +1,27 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export type StepsOptions = {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
export type StepsStatus = 'pending' | 'done' | 'error' | 'warning';
|
|
8
|
+
export declare const stepsModel: {
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: (StringConstructor | NumberConstructor | undefined)[];
|
|
9
11
|
default: string;
|
|
10
12
|
description: string;
|
|
11
13
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
};
|
|
15
|
+
export declare const stepsProps: {
|
|
16
|
+
options: {
|
|
17
|
+
type: PropType<StepsOptions[]>;
|
|
18
|
+
default: never[];
|
|
15
19
|
description: string;
|
|
16
20
|
};
|
|
17
|
-
|
|
18
|
-
type: PropType<
|
|
21
|
+
status: {
|
|
22
|
+
type: PropType<StepsStatus>;
|
|
19
23
|
default: string;
|
|
20
24
|
description: string;
|
|
21
25
|
};
|
|
22
|
-
round: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
closable: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
disabled: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
description: string;
|
|
36
|
-
};
|
|
37
26
|
};
|
|
38
|
-
export type
|
|
39
|
-
export {};
|
|
27
|
+
export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
@@ -26,7 +26,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
26
26
|
};
|
|
27
27
|
delay: {
|
|
28
28
|
type: ArrayConstructor;
|
|
29
|
-
default:
|
|
29
|
+
default: number[];
|
|
30
30
|
description: string;
|
|
31
31
|
};
|
|
32
32
|
lineClamp: {
|
|
@@ -62,7 +62,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
62
62
|
};
|
|
63
63
|
delay: {
|
|
64
64
|
type: ArrayConstructor;
|
|
65
|
-
default:
|
|
65
|
+
default: number[];
|
|
66
66
|
description: string;
|
|
67
67
|
};
|
|
68
68
|
lineClamp: {
|