lew-ui 2.6.18 → 2.6.21
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 +46 -46
- package/README.zh-CN.md +48 -48
- package/dist/components/action-box/src/LewActionBox.vue.d.ts +18 -9
- package/dist/components/action-box/src/props.d.ts +7 -3
- package/dist/components/badge/src/LewBadge.vue.d.ts +5 -3
- package/dist/components/badge/src/props.d.ts +2 -1
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +12 -28
- package/dist/components/drawer/src/props.d.ts +4 -11
- package/dist/components/form/src/LewFormItem.vue.d.ts +1 -0
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +2 -3
- package/dist/components/input-number/src/props.d.ts +1 -1
- package/dist/components/input-table/src/LewInputTable.vue.d.ts +21 -12
- package/dist/components/input-table/src/props.d.ts +5 -5
- package/dist/components/menu-tree/src/LewMenuTreeItem.vue.d.ts +6 -6
- package/dist/components/menu-tree/src/props.d.ts +2 -2
- package/dist/components/modal/src/LewModal.vue.d.ts +10 -28
- package/dist/components/modal/src/props.d.ts +4 -11
- package/dist/components/popok/src/LewPopok.vue.d.ts +44 -56
- package/dist/components/popok/src/props.d.ts +21 -12
- package/dist/components/table/src/LewTable.vue.d.ts +27 -3
- package/dist/components/table/src/props.d.ts +10 -0
- package/dist/index.mjs +1295 -689
- package/dist/index.umd.js +6 -6
- package/dist/locals/de.d.ts +34 -0
- package/dist/locals/en.d.ts +34 -0
- package/dist/locals/es.d.ts +34 -0
- package/dist/locals/fr.d.ts +34 -0
- package/dist/locals/it.d.ts +34 -0
- package/dist/locals/ja.d.ts +34 -0
- package/dist/locals/ko.d.ts +34 -0
- package/dist/locals/pt.d.ts +34 -0
- package/dist/locals/zh.d.ts +34 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +4 -19
- package/dist/methods/dialog/src/props.d.ts +2 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
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,46 +1,46 @@
|
|
|
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
|
-
## Open Source Libraries
|
|
32
|
-
|
|
33
|
-
Lew UI uses the following open source libraries:
|
|
34
|
-
|
|
35
|
-
- [Tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
|
|
36
|
-
- [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
|
|
37
|
-
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
38
|
-
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
|
39
|
-
- [Yup](https://github.com/jquense/yup): Object schema validation library
|
|
40
|
-
- [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
|
|
41
|
-
|
|
42
|
-
We are grateful for the support these excellent open source projects provide to Lew UI.
|
|
43
|
-
|
|
44
|
-
## License
|
|
45
|
-
|
|
46
|
-
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
|
+
## Open Source Libraries
|
|
32
|
+
|
|
33
|
+
Lew UI uses the following open source libraries:
|
|
34
|
+
|
|
35
|
+
- [Tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
|
|
36
|
+
- [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
|
|
37
|
+
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
38
|
+
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
|
39
|
+
- [Yup](https://github.com/jquense/yup): Object schema validation library
|
|
40
|
+
- [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
|
|
41
|
+
|
|
42
|
+
We are grateful for the support these excellent open source projects provide to Lew UI.
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
Lew UI is open source software licensed as MIT.
|
package/README.zh-CN.md
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
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 使用了以下开源库:
|
|
36
|
-
|
|
37
|
-
- [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
|
|
38
|
-
- [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
|
|
39
|
-
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
40
|
-
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
41
|
-
- [Yup](https://github.com/jquense/yup): 对象模式验证库
|
|
42
|
-
- [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
|
|
43
|
-
|
|
44
|
-
我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
|
|
45
|
-
|
|
46
|
-
## 许可证
|
|
47
|
-
|
|
48
|
-
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 使用了以下开源库:
|
|
36
|
+
|
|
37
|
+
- [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
|
|
38
|
+
- [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
|
|
39
|
+
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
40
|
+
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
41
|
+
- [Yup](https://github.com/jquense/yup): 对象模式验证库
|
|
42
|
+
- [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
|
|
43
|
+
|
|
44
|
+
我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
|
|
45
|
+
|
|
46
|
+
## 许可证
|
|
47
|
+
|
|
48
|
+
Lew UI 是根据 MIT 许可证的开源软件。
|
|
@@ -4,47 +4,56 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
4
4
|
default: () => never[];
|
|
5
5
|
};
|
|
6
6
|
dropdownThreshold: {
|
|
7
|
-
type: NumberConstructor;
|
|
7
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
10
|
dropdownLabel: {
|
|
11
|
-
type: PropType<string | (() => any)>;
|
|
11
|
+
type: PropType<string | (() => any) | any>;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
dropdownIcon: {
|
|
15
|
-
type: PropType<() => any>;
|
|
15
|
+
type: PropType<(() => any) | any>;
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
divider: {
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
iconOnly: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
22
26
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
23
27
|
options: {
|
|
24
28
|
type: PropType<import('../../..').ActionBoxOption[]>;
|
|
25
29
|
default: () => never[];
|
|
26
30
|
};
|
|
27
31
|
dropdownThreshold: {
|
|
28
|
-
type: NumberConstructor;
|
|
32
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
29
33
|
default: number;
|
|
30
34
|
};
|
|
31
35
|
dropdownLabel: {
|
|
32
|
-
type: PropType<string | (() => any)>;
|
|
36
|
+
type: PropType<string | (() => any) | any>;
|
|
33
37
|
default: string;
|
|
34
38
|
};
|
|
35
39
|
dropdownIcon: {
|
|
36
|
-
type: PropType<() => any>;
|
|
40
|
+
type: PropType<(() => any) | any>;
|
|
37
41
|
default: undefined;
|
|
38
42
|
};
|
|
39
43
|
divider: {
|
|
40
44
|
type: BooleanConstructor;
|
|
41
45
|
default: boolean;
|
|
42
46
|
};
|
|
47
|
+
iconOnly: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
43
51
|
}>> & Readonly<{}>, {
|
|
44
52
|
options: import('../../..').ActionBoxOption[];
|
|
45
|
-
dropdownThreshold: number;
|
|
46
|
-
dropdownLabel:
|
|
47
|
-
dropdownIcon:
|
|
53
|
+
dropdownThreshold: string | number;
|
|
54
|
+
dropdownLabel: any;
|
|
55
|
+
dropdownIcon: any;
|
|
48
56
|
divider: boolean;
|
|
57
|
+
iconOnly: boolean;
|
|
49
58
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
59
|
export default _default;
|
|
@@ -12,20 +12,24 @@ export declare const actionBoxProps: {
|
|
|
12
12
|
default: () => never[];
|
|
13
13
|
};
|
|
14
14
|
dropdownThreshold: {
|
|
15
|
-
type: NumberConstructor;
|
|
15
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
16
16
|
default: number;
|
|
17
17
|
};
|
|
18
18
|
dropdownLabel: {
|
|
19
|
-
type: PropType<string | (() => any)>;
|
|
19
|
+
type: PropType<string | (() => any) | any>;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
dropdownIcon: {
|
|
23
|
-
type: PropType<() => any>;
|
|
23
|
+
type: PropType<(() => any) | any>;
|
|
24
24
|
default: undefined;
|
|
25
25
|
};
|
|
26
26
|
divider: {
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
iconOnly: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
30
34
|
};
|
|
31
35
|
export type ActionBoxProps = ExtractPropTypes<typeof actionBoxProps>;
|
|
@@ -18,9 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
18
18
|
description: string;
|
|
19
19
|
};
|
|
20
20
|
max: {
|
|
21
|
-
type: NumberConstructor;
|
|
21
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
22
22
|
default: number;
|
|
23
23
|
description: string;
|
|
24
|
+
validator: (value: string | number) => boolean;
|
|
24
25
|
};
|
|
25
26
|
color: {
|
|
26
27
|
type: StringConstructor;
|
|
@@ -51,9 +52,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
51
52
|
description: string;
|
|
52
53
|
};
|
|
53
54
|
max: {
|
|
54
|
-
type: NumberConstructor;
|
|
55
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
55
56
|
default: number;
|
|
56
57
|
description: string;
|
|
58
|
+
validator: (value: string | number) => boolean;
|
|
57
59
|
};
|
|
58
60
|
color: {
|
|
59
61
|
type: StringConstructor;
|
|
@@ -70,7 +72,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
70
72
|
}>> & Readonly<{}>, {
|
|
71
73
|
color: string;
|
|
72
74
|
value: string | number;
|
|
73
|
-
max: number;
|
|
75
|
+
max: string | number;
|
|
74
76
|
text: string;
|
|
75
77
|
processing: boolean;
|
|
76
78
|
offset: unknown[];
|
|
@@ -18,9 +18,10 @@ export declare const badgeProps: {
|
|
|
18
18
|
description: string;
|
|
19
19
|
};
|
|
20
20
|
max: {
|
|
21
|
-
type: NumberConstructor;
|
|
21
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
22
22
|
default: number;
|
|
23
23
|
description: string;
|
|
24
|
+
validator: (value: string | number) => boolean;
|
|
24
25
|
};
|
|
25
26
|
color: {
|
|
26
27
|
type: StringConstructor;
|
|
@@ -43,21 +43,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
description: string;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
okButtonProps: {
|
|
47
47
|
type: PropType<import('../../..').ButtonProps>;
|
|
48
|
-
default: () => {
|
|
49
|
-
text: string;
|
|
50
|
-
color: string;
|
|
51
|
-
};
|
|
48
|
+
default: () => {};
|
|
52
49
|
description: string;
|
|
53
50
|
};
|
|
54
|
-
|
|
51
|
+
closeButtonProps: {
|
|
55
52
|
type: PropType<import('../../..').ButtonProps>;
|
|
56
|
-
default: () => {
|
|
57
|
-
type: string;
|
|
58
|
-
text: string;
|
|
59
|
-
color: string;
|
|
60
|
-
};
|
|
53
|
+
default: () => {};
|
|
61
54
|
description: string;
|
|
62
55
|
};
|
|
63
56
|
zIndex: {
|
|
@@ -66,8 +59,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
66
59
|
description: string;
|
|
67
60
|
};
|
|
68
61
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
-
|
|
70
|
-
ok: (...args: any[]) => void;
|
|
62
|
+
close: (...args: any[]) => void;
|
|
71
63
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
72
64
|
visible: import('vue').PropType<any>;
|
|
73
65
|
title: {
|
|
@@ -108,21 +100,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
108
100
|
default: boolean;
|
|
109
101
|
description: string;
|
|
110
102
|
};
|
|
111
|
-
|
|
103
|
+
okButtonProps: {
|
|
112
104
|
type: PropType<import('../../..').ButtonProps>;
|
|
113
|
-
default: () => {
|
|
114
|
-
text: string;
|
|
115
|
-
color: string;
|
|
116
|
-
};
|
|
105
|
+
default: () => {};
|
|
117
106
|
description: string;
|
|
118
107
|
};
|
|
119
|
-
|
|
108
|
+
closeButtonProps: {
|
|
120
109
|
type: PropType<import('../../..').ButtonProps>;
|
|
121
|
-
default: () => {
|
|
122
|
-
type: string;
|
|
123
|
-
text: string;
|
|
124
|
-
color: string;
|
|
125
|
-
};
|
|
110
|
+
default: () => {};
|
|
126
111
|
description: string;
|
|
127
112
|
};
|
|
128
113
|
zIndex: {
|
|
@@ -131,8 +116,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
131
116
|
description: string;
|
|
132
117
|
};
|
|
133
118
|
}>> & Readonly<{
|
|
134
|
-
|
|
135
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
119
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
136
120
|
}>, {
|
|
137
121
|
title: string;
|
|
138
122
|
width: string | number;
|
|
@@ -141,7 +125,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
141
125
|
zIndex: number;
|
|
142
126
|
hideFooter: boolean;
|
|
143
127
|
closeByEsc: boolean;
|
|
144
|
-
|
|
128
|
+
okButtonProps: {
|
|
145
129
|
type: import('../../..').ButtonType;
|
|
146
130
|
color: import('../../..').LewColor;
|
|
147
131
|
size: import('../../..').ButtonSize;
|
|
@@ -153,7 +137,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
153
137
|
dashed: boolean;
|
|
154
138
|
request: Function;
|
|
155
139
|
};
|
|
156
|
-
|
|
140
|
+
closeButtonProps: {
|
|
157
141
|
type: import('../../..').ButtonType;
|
|
158
142
|
color: import('../../..').LewColor;
|
|
159
143
|
size: import('../../..').ButtonSize;
|
|
@@ -47,21 +47,14 @@ export declare const drawerProps: {
|
|
|
47
47
|
default: boolean;
|
|
48
48
|
description: string;
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
okButtonProps: {
|
|
51
51
|
type: PropType<ButtonProps>;
|
|
52
|
-
default: () => {
|
|
53
|
-
text: string;
|
|
54
|
-
color: string;
|
|
55
|
-
};
|
|
52
|
+
default: () => {};
|
|
56
53
|
description: string;
|
|
57
54
|
};
|
|
58
|
-
|
|
55
|
+
closeButtonProps: {
|
|
59
56
|
type: PropType<ButtonProps>;
|
|
60
|
-
default: () => {
|
|
61
|
-
type: string;
|
|
62
|
-
text: string;
|
|
63
|
-
color: string;
|
|
64
|
-
};
|
|
57
|
+
default: () => {};
|
|
65
58
|
description: string;
|
|
66
59
|
};
|
|
67
60
|
zIndex: {
|
|
@@ -111,6 +111,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
111
111
|
validate: () => void;
|
|
112
112
|
setError: (message: any) => void;
|
|
113
113
|
curRule: globalThis.ComputedRef<any>;
|
|
114
|
+
setIgnoreValidate: (value: boolean) => void;
|
|
114
115
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
115
116
|
change: (...args: any[]) => void;
|
|
116
117
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -35,7 +35,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
35
35
|
};
|
|
36
36
|
placeholder: {
|
|
37
37
|
type: StringConstructor;
|
|
38
|
-
|
|
38
|
+
defaultLocale: boolean;
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
41
41
|
readonly: {
|
|
@@ -106,7 +106,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
106
106
|
};
|
|
107
107
|
placeholder: {
|
|
108
108
|
type: StringConstructor;
|
|
109
|
-
|
|
109
|
+
defaultLocale: boolean;
|
|
110
110
|
description: string;
|
|
111
111
|
};
|
|
112
112
|
readonly: {
|
|
@@ -145,7 +145,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
145
145
|
width: string | number;
|
|
146
146
|
disabled: boolean;
|
|
147
147
|
readonly: boolean;
|
|
148
|
-
placeholder: string;
|
|
149
148
|
align: import('../../..').InputNumberAlign;
|
|
150
149
|
selectByFocus: boolean;
|
|
151
150
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { InputTableColumn } from './props';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
"table-header"?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
7
|
modelValue: {
|
|
5
8
|
required: true;
|
|
6
9
|
type: import('vue').PropType<any>;
|
|
@@ -34,11 +37,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
34
37
|
description: string;
|
|
35
38
|
validator(value: string): boolean;
|
|
36
39
|
};
|
|
37
|
-
batchDeletable: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
40
|
addable: {
|
|
43
41
|
type: BooleanConstructor;
|
|
44
42
|
default: boolean;
|
|
@@ -76,6 +74,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
76
74
|
default: boolean;
|
|
77
75
|
description: string;
|
|
78
76
|
};
|
|
77
|
+
sortTooltipCustomRender: {
|
|
78
|
+
type: PropType<(row: Record<string, any>) => string>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
79
82
|
autoUniqueId: {
|
|
80
83
|
type: BooleanConstructor;
|
|
81
84
|
default: boolean;
|
|
@@ -120,11 +123,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
120
123
|
description: string;
|
|
121
124
|
validator(value: string): boolean;
|
|
122
125
|
};
|
|
123
|
-
batchDeletable: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
description: string;
|
|
127
|
-
};
|
|
128
126
|
addable: {
|
|
129
127
|
type: BooleanConstructor;
|
|
130
128
|
default: boolean;
|
|
@@ -162,6 +160,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
162
160
|
default: boolean;
|
|
163
161
|
description: string;
|
|
164
162
|
};
|
|
163
|
+
sortTooltipCustomRender: {
|
|
164
|
+
type: PropType<(row: Record<string, any>) => string>;
|
|
165
|
+
default: undefined;
|
|
166
|
+
description: string;
|
|
167
|
+
};
|
|
165
168
|
autoUniqueId: {
|
|
166
169
|
type: BooleanConstructor;
|
|
167
170
|
default: boolean;
|
|
@@ -178,14 +181,20 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
178
181
|
columns: InputTableColumn[];
|
|
179
182
|
clearable: boolean;
|
|
180
183
|
rowKey: string;
|
|
181
|
-
batchDeletable: boolean;
|
|
182
184
|
addable: boolean;
|
|
183
185
|
defaultForm: Record<string, any>;
|
|
184
186
|
deletable: boolean;
|
|
185
187
|
maxRows: number;
|
|
186
188
|
minRows: number;
|
|
187
189
|
sortable: boolean;
|
|
190
|
+
sortTooltipCustomRender: (row: Record<string, any>) => string;
|
|
188
191
|
autoUniqueId: boolean;
|
|
189
192
|
uniqueField: string;
|
|
190
193
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
194
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
191
195
|
export default _default;
|
|
196
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
197
|
+
new (): {
|
|
198
|
+
$slots: S;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
@@ -44,11 +44,6 @@ export declare const inputTableProps: {
|
|
|
44
44
|
description: string;
|
|
45
45
|
validator(value: string): boolean;
|
|
46
46
|
};
|
|
47
|
-
batchDeletable: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
47
|
addable: {
|
|
53
48
|
type: BooleanConstructor;
|
|
54
49
|
default: boolean;
|
|
@@ -86,6 +81,11 @@ export declare const inputTableProps: {
|
|
|
86
81
|
default: boolean;
|
|
87
82
|
description: string;
|
|
88
83
|
};
|
|
84
|
+
sortTooltipCustomRender: {
|
|
85
|
+
type: PropType<(row: Record<string, any>) => string>;
|
|
86
|
+
default: undefined;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
89
|
autoUniqueId: {
|
|
90
90
|
type: BooleanConstructor;
|
|
91
91
|
default: boolean;
|