lew-ui 2.6.21 → 2.6.22
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/modal/src/LewModal.vue.d.ts +0 -22
- package/dist/components/modal/src/props.d.ts +0 -10
- package/dist/index.mjs +145 -146
- package/dist/index.umd.js +3 -3
- package/dist/locals/de.d.ts +11 -10
- package/dist/locals/en.d.ts +11 -10
- package/dist/locals/es.d.ts +11 -10
- package/dist/locals/fr.d.ts +11 -10
- package/dist/locals/it.d.ts +11 -10
- package/dist/locals/ja.d.ts +11 -10
- package/dist/locals/ko.d.ts +11 -10
- package/dist/locals/pt.d.ts +11 -10
- package/dist/locals/zh.d.ts +1 -0
- 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 许可证的开源软件。
|
|
@@ -42,16 +42,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
42
42
|
default: () => {};
|
|
43
43
|
description: string;
|
|
44
44
|
};
|
|
45
|
-
hideOkButton: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: boolean;
|
|
48
|
-
description: string;
|
|
49
|
-
};
|
|
50
|
-
hideCancelButton: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
description: string;
|
|
54
|
-
};
|
|
55
45
|
closeOnClickOverlay: {
|
|
56
46
|
type: BooleanConstructor;
|
|
57
47
|
default: boolean;
|
|
@@ -103,16 +93,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
103
93
|
default: () => {};
|
|
104
94
|
description: string;
|
|
105
95
|
};
|
|
106
|
-
hideOkButton: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: boolean;
|
|
109
|
-
description: string;
|
|
110
|
-
};
|
|
111
|
-
hideCancelButton: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
default: boolean;
|
|
114
|
-
description: string;
|
|
115
|
-
};
|
|
116
96
|
closeOnClickOverlay: {
|
|
117
97
|
type: BooleanConstructor;
|
|
118
98
|
default: boolean;
|
|
@@ -156,8 +136,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
156
136
|
dashed: boolean;
|
|
157
137
|
request: Function;
|
|
158
138
|
};
|
|
159
|
-
hideOkButton: boolean;
|
|
160
|
-
hideCancelButton: boolean;
|
|
161
139
|
closeOnClickOverlay: boolean;
|
|
162
140
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
163
141
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -46,16 +46,6 @@ export declare const modalProps: {
|
|
|
46
46
|
default: () => {};
|
|
47
47
|
description: string;
|
|
48
48
|
};
|
|
49
|
-
hideOkButton: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
description: string;
|
|
53
|
-
};
|
|
54
|
-
hideCancelButton: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
description: string;
|
|
58
|
-
};
|
|
59
49
|
closeOnClickOverlay: {
|
|
60
50
|
type: BooleanConstructor;
|
|
61
51
|
default: boolean;
|