@umbsoft/avue 3.8.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 +20 -0
- package/README.md +86 -0
- package/lib/avue.js +35880 -0
- package/lib/avue.js.map +1 -0
- package/lib/avue.min.js +6 -0
- package/lib/index.css +1 -0
- package/lib/locale/format.js +44 -0
- package/lib/locale/index.js +47 -0
- package/lib/locale/lang/en.js +100 -0
- package/lib/locale/lang/zh.js +100 -0
- package/package.json +79 -0
- package/types/index.d.ts +49 -0
- package/types/shims-vue.d.ts +6 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Smallwei
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
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, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<p align="center"><a href="https://avuejs.com" target="_blank" rel="noopener noreferrer"><img width="100" src="https://avuejs.com/images/logo.png" alt="Avue logo"></a></p>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://gitee.com/smallweigit/avue/stargazers"><img src="https://gitee.com/smallweigit/avue/badge/star.svg?theme=dark" alt="star"></a>
|
|
5
|
+
<a href="https://gitee.com/smallweigit/avue/members"><img src="https://gitee.com/smallweigit/avue/badge/fork.svg?theme=dark" alt="fork"></a>
|
|
6
|
+
<a href="https://gitee.com/smallweigit/avue"><img src="https://img.shields.io/badge/license-MIT-brightgreen.svg" alt="license"></a>
|
|
7
|
+
<a href="https://gitee.com/smallweigit/avue"><img src="https://img.shields.io/badge/version-3.0.0-blue.svg" alt="version"></a>
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
# Avue.js
|
|
11
|
+
|
|
12
|
+
Avue.js 是基于现有的 element-plus 库进行的二次封装,从而简化一些繁琐的操作,核心理念为**数据驱动视图**。主要的组件库针对 table 表格和 form 表单场景,同时衍生出更多企业常用的组件,达到高复用,容易维护和扩展的框架,同时内置了丰富的数据展示组件,让开发变得更加容易。
|
|
13
|
+
|
|
14
|
+
## ✨ 特性
|
|
15
|
+
|
|
16
|
+
- 🚀 **高效开发**:基于数据驱动视图的理念,大大减少了代码量
|
|
17
|
+
- 📦 **开箱即用**:丰富的表格、表单配置及多种常用组件
|
|
18
|
+
- 🛠️ **强大定制**:高度灵活的配置项,满足各种复杂场景需求
|
|
19
|
+
- 🔌 **扩展性强**:支持自定义组件和多种交互方式
|
|
20
|
+
- 📚 **详尽文档**:完善的文档和示例,快速上手无烦恼
|
|
21
|
+
|
|
22
|
+
## 🔧 安装
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# 使用 pnpm 安装(推荐)
|
|
26
|
+
pnpm add @smallwei/avue
|
|
27
|
+
|
|
28
|
+
# 或使用 npm 安装
|
|
29
|
+
npm install @smallwei/avue
|
|
30
|
+
|
|
31
|
+
# 或使用 yarn 安装
|
|
32
|
+
yarn add @smallwei/avue
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## 📦 使用
|
|
36
|
+
|
|
37
|
+
```js
|
|
38
|
+
// 完整引入
|
|
39
|
+
import { createApp } from 'vue'
|
|
40
|
+
import Avue from '@smallwei/avue'
|
|
41
|
+
import '@smallwei/avue/dist/avue.css'
|
|
42
|
+
import App from './App.vue'
|
|
43
|
+
|
|
44
|
+
const app = createApp(App)
|
|
45
|
+
app.use(Avue)
|
|
46
|
+
app.mount('#app')
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## 📄 文件说明
|
|
50
|
+
|
|
51
|
+
| 文件名 | 用途 | 说明 |
|
|
52
|
+
| ----------- | -------- | ---- |
|
|
53
|
+
| avue.min.js | 生产环境 | 压缩优化版本,体积更小 |
|
|
54
|
+
| avue.js | 开发环境 | 包含完整的调试信息 |
|
|
55
|
+
|
|
56
|
+
## 📚 文档与示例
|
|
57
|
+
|
|
58
|
+
要查看详细文档和在线示例,请访问:[官方文档](https://avuejs.com)
|
|
59
|
+
|
|
60
|
+
## 🌈 相关产品
|
|
61
|
+
|
|
62
|
+
除了核心框架外,我们还提供以下解决方案:
|
|
63
|
+
|
|
64
|
+
- **[数据大屏](https://data.avuejs.com)** - 专业的可视化数据大屏解决方案
|
|
65
|
+
- **[数据组态](http://iot.avuejs.com)** - 工业物联网数据组态平台
|
|
66
|
+
- **[AI大模型](http://ai.avuejs.com)** - 智能AI应用解决方案
|
|
67
|
+
|
|
68
|
+
## 🤝 参与贡献
|
|
69
|
+
|
|
70
|
+
1. Fork 本仓库
|
|
71
|
+
2. 新建 Feature 分支
|
|
72
|
+
3. 提交代码
|
|
73
|
+
4. 创建 Pull Request
|
|
74
|
+
|
|
75
|
+
## ❓ 问答与支持
|
|
76
|
+
|
|
77
|
+
有关问题和支持,请使用[issues](https://gitee.com/smallweigit/avue/issues)。我们会尽快为您解答。
|
|
78
|
+
|
|
79
|
+
> **注意**:提交问题前,请务必提供详细的问题过程和截图,不符合准则的问题将会被拒绝。
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## 📄 开源协议
|
|
83
|
+
|
|
84
|
+
[MIT](http://opensource.org/licenses/MIT)
|
|
85
|
+
|
|
86
|
+
Copyright (c) 2017-present, Smallwei
|