lew-ui 2.2.9 → 2.3.2
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 +33 -33
- package/README.zh-CN.md +35 -35
- package/dist/components/button/src/LewButton.vue.d.ts +2 -5
- package/dist/components/button/src/props.d.ts +1 -2
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +2 -2
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +2 -2
- package/dist/components/date-picker/src/props.d.ts +1 -1
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +2 -26
- package/dist/components/image/src/LewImage.vue.d.ts +8 -7
- package/dist/components/image/src/props.d.ts +3 -3
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +1 -0
- package/dist/components/input-table/index.d.ts +2 -0
- package/dist/components/input-table/src/FormModal.vue.d.ts +21 -0
- package/dist/components/input-table/src/LewInputTable.vue.d.ts +87 -0
- package/dist/components/input-table/src/props.d.ts +43 -0
- package/dist/components/input-tree/index.d.ts +2 -0
- package/dist/components/input-tree/src/LewInputTree.vue.d.ts +38 -0
- package/dist/components/input-tree/src/props.d.ts +17 -0
- package/dist/components/modal/src/LewModal.vue.d.ts +2 -28
- package/dist/components/popok/src/LewPopok.vue.d.ts +2 -26
- package/dist/components/radio/src/LewRadio.vue.d.ts +1 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +4 -4
- package/dist/components/select/src/props.d.ts +2 -2
- package/dist/components/table/src/LewTable.vue.d.ts +8 -1
- package/dist/index.mjs +4587 -1217
- package/dist/index.umd.js +162 -162
- package/dist/style.css +1 -1
- package/package.json +2 -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,33 +1,33 @@
|
|
|
1
|
-
# Lew UI
|
|
2
|
-
|
|
3
|
-
A Component Library for Vue3. Doc address: https://lew.kamtao.com
|
|
4
|
-
|
|
5
|
-
English | [中文](./README.zh-CN.md)
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install lew-ui
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## How to use
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
// main.ts
|
|
17
|
-
import 'lew-ui/style'
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
```vue
|
|
21
|
-
<script setup lang="ts">
|
|
22
|
-
// page.vue
|
|
23
|
-
import { LewButton } from 'lew-ui'
|
|
24
|
-
</script>
|
|
25
|
-
|
|
26
|
-
<template>
|
|
27
|
-
<lew-button text="Submit" />
|
|
28
|
-
</template>
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## License
|
|
32
|
-
|
|
33
|
-
Lew UI is open source software licensed as MIT.
|
|
1
|
+
# Lew UI
|
|
2
|
+
|
|
3
|
+
A Component Library for Vue3. Doc address: https://lew.kamtao.com
|
|
4
|
+
|
|
5
|
+
English | [中文](./README.zh-CN.md)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## How to use
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
// main.ts
|
|
17
|
+
import 'lew-ui/style'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```vue
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
// page.vue
|
|
23
|
+
import { LewButton } from 'lew-ui'
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<lew-button text="Submit" />
|
|
28
|
+
</template>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
Lew UI is open source software licensed as MIT.
|
package/README.zh-CN.md
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
# Lew UI
|
|
2
|
-
|
|
3
|
-
一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
|
|
4
|
-
|
|
5
|
-
[英文](./README.md) | 中文
|
|
6
|
-
|
|
7
|
-
## 安装
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install lew-ui
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## 如何使用
|
|
14
|
-
|
|
15
|
-
main.ts
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
// main.ts
|
|
19
|
-
import 'lew-ui/style'
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
```vue
|
|
23
|
-
<script setup lang="ts">
|
|
24
|
-
// page.vue
|
|
25
|
-
import { LewButton } from 'lew-ui'
|
|
26
|
-
</script>
|
|
27
|
-
|
|
28
|
-
<template>
|
|
29
|
-
<lew-button text="提交" />
|
|
30
|
-
</template>
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## 许可证
|
|
34
|
-
|
|
35
|
-
Lew UI 是根据 MIT 许可证的开源软件。
|
|
1
|
+
# Lew UI
|
|
2
|
+
|
|
3
|
+
一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
|
|
4
|
+
|
|
5
|
+
[英文](./README.md) | 中文
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 如何使用
|
|
14
|
+
|
|
15
|
+
main.ts
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
// main.ts
|
|
19
|
+
import 'lew-ui/style'
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```vue
|
|
23
|
+
<script setup lang="ts">
|
|
24
|
+
// page.vue
|
|
25
|
+
import { LewButton } from 'lew-ui'
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<lew-button text="提交" />
|
|
30
|
+
</template>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 许可证
|
|
34
|
+
|
|
35
|
+
Lew UI 是根据 MIT 许可证的开源软件。
|
|
@@ -33,8 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
33
33
|
description: string;
|
|
34
34
|
};
|
|
35
35
|
iconSize: {
|
|
36
|
-
type: NumberConstructor;
|
|
37
|
-
default: number;
|
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
38
37
|
description: string;
|
|
39
38
|
};
|
|
40
39
|
loading: {
|
|
@@ -91,8 +90,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
91
90
|
description: string;
|
|
92
91
|
};
|
|
93
92
|
iconSize: {
|
|
94
|
-
type: NumberConstructor;
|
|
95
|
-
default: number;
|
|
93
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
96
94
|
description: string;
|
|
97
95
|
};
|
|
98
96
|
loading: {
|
|
@@ -127,7 +125,6 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
127
125
|
disabled: boolean;
|
|
128
126
|
loading: boolean;
|
|
129
127
|
iconPosition: string;
|
|
130
|
-
iconSize: number;
|
|
131
128
|
request: Function;
|
|
132
129
|
}, {}>;
|
|
133
130
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -102,9 +102,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
102
102
|
size: import('./props').CheckboxSize;
|
|
103
103
|
readonly: boolean;
|
|
104
104
|
disabled: boolean;
|
|
105
|
-
checked: boolean | Function;
|
|
106
|
-
certain: boolean | Function;
|
|
107
105
|
block: boolean;
|
|
108
106
|
iconable: boolean;
|
|
107
|
+
checked: boolean | Function;
|
|
108
|
+
certain: boolean | Function;
|
|
109
109
|
}, {}>;
|
|
110
110
|
export default _default;
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
clearable: {
|
|
9
9
|
type: BooleanConstructor;
|
|
10
|
-
default:
|
|
10
|
+
default: boolean;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
13
|
readonly: {
|
|
@@ -50,7 +50,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
50
50
|
};
|
|
51
51
|
clearable: {
|
|
52
52
|
type: BooleanConstructor;
|
|
53
|
-
default:
|
|
53
|
+
default: boolean;
|
|
54
54
|
description: string;
|
|
55
55
|
};
|
|
56
56
|
readonly: {
|
|
@@ -123,32 +123,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
123
123
|
height: number;
|
|
124
124
|
hideFooter: boolean;
|
|
125
125
|
closeByEsc: boolean;
|
|
126
|
-
okProps:
|
|
127
|
-
|
|
128
|
-
icon: string;
|
|
129
|
-
text: string;
|
|
130
|
-
color: import('../..').ButtonColor;
|
|
131
|
-
round: boolean;
|
|
132
|
-
size: import('../..').ButtonSize;
|
|
133
|
-
disabled: boolean;
|
|
134
|
-
loading: boolean;
|
|
135
|
-
iconPosition: string;
|
|
136
|
-
iconSize: number;
|
|
137
|
-
request: Function;
|
|
138
|
-
};
|
|
139
|
-
cancelProps: {
|
|
140
|
-
type: import('../..').ButtonType;
|
|
141
|
-
icon: string;
|
|
142
|
-
text: string;
|
|
143
|
-
color: import('../..').ButtonColor;
|
|
144
|
-
round: boolean;
|
|
145
|
-
size: import('../..').ButtonSize;
|
|
146
|
-
disabled: boolean;
|
|
147
|
-
loading: boolean;
|
|
148
|
-
iconPosition: string;
|
|
149
|
-
iconSize: number;
|
|
150
|
-
request: Function;
|
|
151
|
-
};
|
|
126
|
+
okProps: import('../..').ButtonProps;
|
|
127
|
+
cancelProps: import('../..').ButtonProps;
|
|
152
128
|
closeOnClickOverlay: boolean;
|
|
153
129
|
position: string;
|
|
154
130
|
}, {}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
error?(_: {}): any;
|
|
3
4
|
};
|
|
@@ -32,9 +33,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
32
33
|
default: string;
|
|
33
34
|
description: string;
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
-
type:
|
|
37
|
-
default:
|
|
36
|
+
previewKey: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
38
39
|
description: string;
|
|
39
40
|
};
|
|
40
41
|
alt: {
|
|
@@ -83,9 +84,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
83
84
|
default: string;
|
|
84
85
|
description: string;
|
|
85
86
|
};
|
|
86
|
-
|
|
87
|
-
type:
|
|
88
|
-
default:
|
|
87
|
+
previewKey: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
89
90
|
description: string;
|
|
90
91
|
};
|
|
91
92
|
alt: {
|
|
@@ -113,7 +114,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
113
114
|
lazy: boolean;
|
|
114
115
|
objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
115
116
|
objectPosition: string;
|
|
116
|
-
|
|
117
|
+
previewKey: string;
|
|
117
118
|
}, {}>;
|
|
118
119
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
119
120
|
export default _default;
|
|
@@ -31,9 +31,9 @@ export declare const imageProps: {
|
|
|
31
31
|
default: string;
|
|
32
32
|
description: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
type:
|
|
36
|
-
default:
|
|
34
|
+
previewKey: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
37
|
description: string;
|
|
38
38
|
};
|
|
39
39
|
alt: {
|
|
@@ -55,6 +55,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
55
55
|
};
|
|
56
56
|
}, {
|
|
57
57
|
toFocus: () => void;
|
|
58
|
+
validCheck: () => boolean;
|
|
58
59
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
59
60
|
input: (...args: any[]) => void;
|
|
60
61
|
change: (...args: any[]) => void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
options: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
}, {
|
|
6
|
+
open: ({ row, index }: {
|
|
7
|
+
row: any;
|
|
8
|
+
index: number;
|
|
9
|
+
}) => void;
|
|
10
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
addSuccess: (...args: any[]) => void;
|
|
12
|
+
editSuccess: (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
14
|
+
options: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
}>> & {
|
|
18
|
+
onAddSuccess?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onEditSuccess?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import('vue').PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
width: {
|
|
12
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
+
default: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
batchDelete: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
rowKey: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
autoUniqueId: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
columns: {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
default: {
|
|
33
|
+
title: string;
|
|
34
|
+
width: number;
|
|
35
|
+
field: string;
|
|
36
|
+
as: string;
|
|
37
|
+
}[];
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
|
+
modelValue: {
|
|
42
|
+
required: true;
|
|
43
|
+
type: import('vue').PropType<any>;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
width: {
|
|
51
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
52
|
+
default: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
batchDelete: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
60
|
+
rowKey: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
autoUniqueId: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
columns: {
|
|
70
|
+
type: ArrayConstructor;
|
|
71
|
+
default: {
|
|
72
|
+
title: string;
|
|
73
|
+
width: number;
|
|
74
|
+
field: string;
|
|
75
|
+
as: string;
|
|
76
|
+
}[];
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
width: string | number;
|
|
81
|
+
size: string;
|
|
82
|
+
columns: unknown[];
|
|
83
|
+
rowKey: string;
|
|
84
|
+
batchDelete: boolean;
|
|
85
|
+
autoUniqueId: boolean;
|
|
86
|
+
}, {}>;
|
|
87
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const inputTableModel: {
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: PropType<any[]>;
|
|
4
|
+
default: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare const inputTableProps: {
|
|
9
|
+
size: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
width: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
batchDelete: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
rowKey: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
autoUniqueId: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
columns: {
|
|
34
|
+
type: ArrayConstructor;
|
|
35
|
+
default: {
|
|
36
|
+
title: string;
|
|
37
|
+
width: number;
|
|
38
|
+
field: string;
|
|
39
|
+
as: string;
|
|
40
|
+
}[];
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
content: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
18
|
+
type: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
title: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
content: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
type: string;
|
|
35
|
+
title: string;
|
|
36
|
+
content: string;
|
|
37
|
+
}, {}>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const inputTreeProps: {
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
content: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -63,7 +63,6 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
63
63
|
description: string;
|
|
64
64
|
};
|
|
65
65
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
-
show: (...args: any[]) => void;
|
|
67
66
|
ok: (...args: any[]) => void;
|
|
68
67
|
cancel: (...args: any[]) => void;
|
|
69
68
|
close: (...args: any[]) => void;
|
|
@@ -127,7 +126,6 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
127
126
|
description: string;
|
|
128
127
|
};
|
|
129
128
|
}>> & {
|
|
130
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
131
129
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
132
130
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
133
131
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
@@ -137,32 +135,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
137
135
|
height: string | number;
|
|
138
136
|
hideFooter: boolean;
|
|
139
137
|
closeByEsc: boolean;
|
|
140
|
-
okProps:
|
|
141
|
-
|
|
142
|
-
icon: string;
|
|
143
|
-
text: string;
|
|
144
|
-
color: import('../../..').ButtonColor;
|
|
145
|
-
round: boolean;
|
|
146
|
-
size: import('../../..').ButtonSize;
|
|
147
|
-
disabled: boolean;
|
|
148
|
-
loading: boolean;
|
|
149
|
-
iconPosition: string;
|
|
150
|
-
iconSize: number;
|
|
151
|
-
request: Function;
|
|
152
|
-
};
|
|
153
|
-
cancelProps: {
|
|
154
|
-
type: import('../../..').ButtonType;
|
|
155
|
-
icon: string;
|
|
156
|
-
text: string;
|
|
157
|
-
color: import('../../..').ButtonColor;
|
|
158
|
-
round: boolean;
|
|
159
|
-
size: import('../../..').ButtonSize;
|
|
160
|
-
disabled: boolean;
|
|
161
|
-
loading: boolean;
|
|
162
|
-
iconPosition: string;
|
|
163
|
-
iconSize: number;
|
|
164
|
-
request: Function;
|
|
165
|
-
};
|
|
138
|
+
okProps: import('../../..').ButtonProps;
|
|
139
|
+
cancelProps: import('../../..').ButtonProps;
|
|
166
140
|
hideOkButton: boolean;
|
|
167
141
|
hideCancelButton: boolean;
|
|
168
142
|
closeOnClickOverlay: boolean;
|
|
@@ -114,32 +114,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
114
114
|
trigger: string;
|
|
115
115
|
placement: string;
|
|
116
116
|
content: string;
|
|
117
|
-
okProps:
|
|
118
|
-
|
|
119
|
-
icon: string;
|
|
120
|
-
text: string;
|
|
121
|
-
color: import('../../..').ButtonColor;
|
|
122
|
-
round: boolean;
|
|
123
|
-
size: import('../../..').ButtonSize;
|
|
124
|
-
disabled: boolean;
|
|
125
|
-
loading: boolean;
|
|
126
|
-
iconPosition: string;
|
|
127
|
-
iconSize: number;
|
|
128
|
-
request: Function;
|
|
129
|
-
};
|
|
130
|
-
cancelProps: {
|
|
131
|
-
type: import('../../..').ButtonType;
|
|
132
|
-
icon: string;
|
|
133
|
-
text: string;
|
|
134
|
-
color: import('../../..').ButtonColor;
|
|
135
|
-
round: boolean;
|
|
136
|
-
size: import('../../..').ButtonSize;
|
|
137
|
-
disabled: boolean;
|
|
138
|
-
loading: boolean;
|
|
139
|
-
iconPosition: string;
|
|
140
|
-
iconSize: number;
|
|
141
|
-
request: Function;
|
|
142
|
-
};
|
|
117
|
+
okProps: import('../../..').ButtonProps;
|
|
118
|
+
cancelProps: import('../../..').ButtonProps;
|
|
143
119
|
}, {}>;
|
|
144
120
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
145
121
|
export default _default;
|