kui-vue 5.3.0 → 5.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/README.md +25 -18
- package/README.zh-CN.md +40 -35
- package/dist/index.js +2 -2
- package/es/index.js +459 -172
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/de.js +1 -1
- package/lib/locale/el.js +1 -1
- package/lib/locale/en.js +1 -1
- package/lib/locale/fr.js +1 -1
- package/lib/locale/it.js +1 -1
- package/lib/locale/ja.js +1 -1
- package/lib/locale/ko.js +1 -1
- package/lib/locale/ru.js +1 -1
- package/lib/locale/th.js +1 -1
- package/lib/locale/uk.js +1 -1
- package/lib/locale/vi.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/package.json +9 -9
- package/style/index.css +2 -2
- package/types/cascader/index.d.ts +122 -0
- package/types/cascader/types.d.ts +63 -0
- package/types/components.d.ts +2 -0
- package/types/date-picker/index.d.ts +2 -2
- package/types/empty/index.d.ts +4 -1
- package/types/global.d.ts +2 -0
- package/types/message/index.d.ts +2 -0
- package/types/notice/content.d.ts +3 -0
- package/types/select/select.d.ts +2 -2
- package/types/tree-select/index.d.ts +2 -2
- package/types/utils/theme.d.ts +1 -1
- package/vetur/attributes.json +133 -45
- package/vetur/tags.json +33 -11
- package/vetur/web-types.json +205 -58
package/README.md
CHANGED
|
@@ -85,33 +85,40 @@ Using a script tag for global use:
|
|
|
85
85
|
</script>
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
## Local Development
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
```bash
|
|
91
|
+
git clone git@github.com:smallerqiu/kui-vue.git
|
|
92
|
+
cd kui-vue
|
|
93
|
+
pnpm install
|
|
94
|
+
pnpm dev
|
|
95
|
+
```
|
|
95
96
|
|
|
96
|
-
|
|
97
|
+
The documentation development server runs at [http://localhost:7005](http://localhost:7005) by default.
|
|
97
98
|
|
|
98
|
-
|
|
99
|
+
Common commands:
|
|
99
100
|
|
|
100
101
|
```bash
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
pnpm dev # Start the documentation development server
|
|
103
|
+
pnpm typecheck # Run TypeScript checks
|
|
104
|
+
pnpm build:docs # Build the documentation site
|
|
105
|
+
pnpm build # Build the component library and styles
|
|
105
106
|
```
|
|
106
107
|
|
|
107
|
-
|
|
108
|
+
## Browser Support
|
|
109
|
+
|
|
110
|
+
KUI Vue supports the latest two versions of major modern browsers, including Chrome, Edge, Firefox, and Safari. Internet Explorer is not supported.
|
|
111
|
+
|
|
112
|
+
## Contributing
|
|
108
113
|
|
|
109
|
-
|
|
114
|
+
Issues and pull requests are welcome. Before submitting code, please ensure that the type checks and relevant builds pass.
|
|
110
115
|
|
|
111
|
-
[
|
|
116
|
+
- [GitHub repository](https://github.com/smallerqiu/kui-vue)
|
|
117
|
+
- [Gitee repository](https://gitee.com/chuchur/kui-vue)
|
|
118
|
+
- [Issue tracker](https://gitee.com/chuchur/kui-vue/issues)
|
|
112
119
|
|
|
113
|
-
|
|
120
|
+
## License
|
|
114
121
|
|
|
115
|
-
[MIT](
|
|
122
|
+
[MIT](./LICENSE)
|
|
116
123
|
|
|
117
|
-
Copyright
|
|
124
|
+
Copyright © 2017-present Qiu
|
package/README.zh-CN.md
CHANGED
|
@@ -19,19 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|

|
|
21
21
|
|
|
22
|
-
[English](README.md)
|
|
22
|
+
[English](README.md) · 简体中文
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
-
# 文档
|
|
27
|
-
|
|
28
|
-
- [快速开始](https://k-ui.cn/guide/quick-started)
|
|
29
|
-
- [组件总览](https://k-ui.cn/guide/components)
|
|
30
|
-
- [暗色模式](https://k-ui.cn/guide/dark-mode)
|
|
31
|
-
- [Icons](https://k-ui.cn/components/icons)
|
|
32
|
-
- [国际化](https://k-ui.cn/guide/language)
|
|
33
|
-
- [更新日志](https://k-ui.cn/guide/change-log)
|
|
34
|
-
|
|
35
26
|
# 特性
|
|
36
27
|
|
|
37
28
|
- 50+高质量组件
|
|
@@ -42,21 +33,28 @@
|
|
|
42
33
|
- 支持 [Nuxt.js](https://nuxtjs.org/)
|
|
43
34
|
- 支持 Electron
|
|
44
35
|
|
|
36
|
+
# 文档
|
|
37
|
+
|
|
38
|
+
- [快速开始](https://k-ui.cn/guide/quick-started)
|
|
39
|
+
- [组件总览](https://k-ui.cn/guide/components)
|
|
40
|
+
- [暗色模式](https://k-ui.cn/guide/dark-mode)
|
|
41
|
+
- [Icons](https://k-ui.cn/components/icons)
|
|
42
|
+
- [国际化](https://k-ui.cn/guide/language)
|
|
43
|
+
- [更新日志](https://k-ui.cn/guide/change-log)
|
|
44
|
+
|
|
45
45
|
# 安装
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
npm install kui-vue --save
|
|
49
|
-
```
|
|
47
|
+
使用 pnpm:
|
|
50
48
|
|
|
51
49
|
```bash
|
|
52
|
-
|
|
50
|
+
pnpm add kui-vue
|
|
53
51
|
```
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
yarn add kui-vue
|
|
57
|
-
```
|
|
53
|
+
也可以使用 npm、Yarn 或 Bun:
|
|
58
54
|
|
|
59
55
|
```bash
|
|
56
|
+
npm install kui-vue
|
|
57
|
+
yarn add kui-vue
|
|
60
58
|
bun add kui-vue
|
|
61
59
|
```
|
|
62
60
|
|
|
@@ -85,33 +83,40 @@ bun add kui-vue
|
|
|
85
83
|
</script>
|
|
86
84
|
```
|
|
87
85
|
|
|
88
|
-
|
|
86
|
+
## 本地开发
|
|
89
87
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
```bash
|
|
89
|
+
git clone git@github.com:smallerqiu/kui-vue.git
|
|
90
|
+
cd kui-vue
|
|
91
|
+
pnpm install
|
|
92
|
+
pnpm dev
|
|
93
|
+
```
|
|
95
94
|
|
|
96
|
-
|
|
95
|
+
文档开发服务器默认运行在 [http://localhost:7005](http://localhost:7005)。
|
|
97
96
|
|
|
98
|
-
|
|
97
|
+
常用命令:
|
|
99
98
|
|
|
100
99
|
```bash
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
pnpm dev # 启动文档开发服务器
|
|
101
|
+
pnpm typecheck # TypeScript 类型检查
|
|
102
|
+
pnpm build:docs # 构建文档站
|
|
103
|
+
pnpm build # 构建组件库及样式
|
|
105
104
|
```
|
|
106
105
|
|
|
107
|
-
|
|
106
|
+
## 浏览器支持
|
|
107
|
+
|
|
108
|
+
支持主流现代浏览器的最近两个版本,包括 Chrome、Edge、Firefox 和 Safari;不支持 Internet Explorer。
|
|
109
|
+
|
|
110
|
+
## 参与贡献
|
|
108
111
|
|
|
109
|
-
|
|
112
|
+
欢迎提交 Issue 和 Pull Request。在提交代码前,请确保类型检查和相关构建能够通过。
|
|
110
113
|
|
|
111
|
-
[
|
|
114
|
+
- [GitHub 仓库](https://github.com/smallerqiu/kui-vue)
|
|
115
|
+
- [Gitee 仓库](https://gitee.com/chuchur/kui-vue)
|
|
116
|
+
- [问题反馈](https://gitee.com/chuchur/kui-vue/issues)
|
|
112
117
|
|
|
113
|
-
|
|
118
|
+
## 开源协议
|
|
114
119
|
|
|
115
|
-
[MIT](
|
|
120
|
+
[MIT](./LICENSE)
|
|
116
121
|
|
|
117
|
-
Copyright
|
|
122
|
+
Copyright © 2017-present Qiu
|