@mingto/mt-ui 1.1.46 → 1.1.47

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 CHANGED
@@ -1,173 +1,173 @@
1
- # @mingto/mt-ui
2
-
3
- 基于 Vue 3 的企业级 UI 组件库,提供丰富的业务组件,帮助快速构建现代化应用界面。
4
-
5
- ## 特性
6
-
7
- - 🎨 **设计优雅**:简洁现代的视觉风格
8
- - 📦 **开箱即用**:无需复杂配置,直接引入使用
9
- - 🔧 **按需加载**:支持组件按需引入,优化打包体积
10
- - 🎯 **类型安全**:完整的 TypeScript 类型定义
11
- - 🌏 **国际化**:内置多语言支持
12
-
13
- ## 安装
14
-
15
- ```bash
16
- pnpm add @mingto/mt-ui
17
- ```
18
-
19
- ## 快速开始
20
-
21
- ### 全量引入
22
-
23
- ```typescript
24
- import MtUi from '@mingto/mt-ui'
25
- import { createApp } from 'vue'
26
- import App from './App.vue'
27
- import '@mingto/mt-ui/dist/style.css'
28
-
29
- const app = createApp(App)
30
- app.use(MtUi)
31
- app.mount('#app')
32
- ```
33
-
34
- ### 按需引入
35
-
36
- ```typescript
37
- import { MtButton, MtDialog, MtMessage } from '@mingto/mt-ui'
38
- import { createApp } from 'vue'
39
- import App from './App.vue'
40
- import '@mingto/mt-ui/dist/style.css'
41
-
42
- const app = createApp(App)
43
- app.use(MtButton)
44
- app.use(MtDialog)
45
- app.use(MtMessage)
46
- app.mount('#app')
47
- ```
48
-
49
- ## 基础组件
50
-
51
- | 组件 | 说明 |
52
- | --------- | -------- |
53
- | MtButton | 按钮 |
54
- | MtIcon | 图标 |
55
- | MtImage | 图片 |
56
- | MtLoading | 加载 |
57
- | MtBadge | 徽标 |
58
- | MtBacktop | 回到顶部 |
59
-
60
- ## 表单组件
61
-
62
- | 组件 | 说明 |
63
- | ---------- | -------- |
64
- | MtUpload | 文件上传 |
65
- | MtProgress | 进度条 |
66
-
67
- ## 展示组件
68
-
69
- | 组件 | 说明 |
70
- | ------------- | -------- |
71
- | MtAvatarImage | 图片头像 |
72
- | MtAvatarText | 文字头像 |
73
- | MtEmpty | 空状态 |
74
- | MtTag | 标签 |
75
- | MtQrcode | 二维码 |
76
- | MtTable | 表格 |
77
- | MtTableColumn | 表格列 |
78
- | MtPopover | 气泡卡片 |
79
- | MtTooltip | 文字提示 |
80
- | MtFilePreview | 文件预览 |
81
-
82
- ## 导航组件
83
-
84
- | 组件 | 说明 |
85
- | ---------------- | -------- |
86
- | MtTabs | 标签页 |
87
- | MtTab | 标签 |
88
- | MtInfiniteScroll | 无限滚动 |
89
-
90
- ## 反馈组件
91
-
92
- | 组件 | 说明 |
93
- | --------- | -------- |
94
- | MtDialog | 对话框 |
95
- | MtMessage | 消息提示 |
96
- | MtOverlay | 遮罩层 |
97
- | MtPoster | 海报 |
98
-
99
- ## 布局组件
100
-
101
- | 组件 | 说明 |
102
- | -------------------- | ------------ |
103
- | MtCell | 单元格 |
104
- | MtCellGroup | 单元格组 |
105
- | MtButtonGroup | 按钮组 |
106
- | MtCollapseTransition | 折叠过渡 |
107
- | MtFadeTransition | 淡入淡出过渡 |
108
- | MtTeleport | 传送门 |
109
- | MtConfigProvider | 全局配置 |
110
-
111
- ## 使用示例
112
-
113
- ### 按钮
114
-
115
- ```vue
116
- <mt-button type="primary">
117
- 主要按钮
118
- </mt-button>
119
-
120
- <mt-button type="success">
121
- 成功按钮
122
- </mt-button>
123
-
124
- <mt-button type="danger">
125
- 危险按钮
126
- </mt-button>
127
- ```
128
-
129
- ### 对话框
130
-
131
- ```vue
132
- <mt-dialog v-model="visible" title="标题">
133
- <p>对话框内容</p>
134
- <template #footer>
135
- <mt-button @click="visible = false">取消</mt-button>
136
- <mt-button type="primary" @click="visible = false">确定</mt-button>
137
- </template>
138
- </mt-dialog>
139
- ```
140
-
141
- ### 消息提示
142
-
143
- ```typescript
144
- import { MtMessage } from '@mingto/mt-ui'
145
-
146
- MtMessage.success('操作成功')
147
- MtMessage.error('操作失败')
148
- MtMessage.warning('警告提示')
149
- ```
150
-
151
- ### 文件上传
152
-
153
- ```vue
154
- <mt-upload v-model="fileList" :limit="9">
155
- <mt-button type="primary">点击上传</mt-button>
156
- </mt-upload>
157
- ```
158
-
159
- ## 全局配置
160
-
161
- ```vue
162
- <mt-config-provider :locale="{ lang: 'en' }">
163
- <app />
164
- </mt-config-provider>
165
- ```
166
-
167
- ## 完整文档
168
-
169
- 更多组件和详细用法请参考 [官方文档](https://mingto.github.io/mt-utils/ui/)
170
-
171
- ## 许可证
172
-
173
- MIT
1
+ # @mingto/mt-ui
2
+
3
+ 基于 Vue 3 的企业级 UI 组件库,提供丰富的业务组件,帮助快速构建现代化应用界面。
4
+
5
+ ## 特性
6
+
7
+ - 🎨 **设计优雅**:简洁现代的视觉风格
8
+ - 📦 **开箱即用**:无需复杂配置,直接引入使用
9
+ - 🔧 **按需加载**:支持组件按需引入,优化打包体积
10
+ - 🎯 **类型安全**:完整的 TypeScript 类型定义
11
+ - 🌏 **国际化**:内置多语言支持
12
+
13
+ ## 安装
14
+
15
+ ```bash
16
+ pnpm add @mingto/mt-ui
17
+ ```
18
+
19
+ ## 快速开始
20
+
21
+ ### 全量引入
22
+
23
+ ```typescript
24
+ import MtUi from '@mingto/mt-ui'
25
+ import { createApp } from 'vue'
26
+ import App from './App.vue'
27
+ import '@mingto/mt-ui/dist/style.css'
28
+
29
+ const app = createApp(App)
30
+ app.use(MtUi)
31
+ app.mount('#app')
32
+ ```
33
+
34
+ ### 按需引入
35
+
36
+ ```typescript
37
+ import { MtButton, MtDialog, MtMessage } from '@mingto/mt-ui'
38
+ import { createApp } from 'vue'
39
+ import App from './App.vue'
40
+ import '@mingto/mt-ui/dist/style.css'
41
+
42
+ const app = createApp(App)
43
+ app.use(MtButton)
44
+ app.use(MtDialog)
45
+ app.use(MtMessage)
46
+ app.mount('#app')
47
+ ```
48
+
49
+ ## 基础组件
50
+
51
+ | 组件 | 说明 |
52
+ | --------- | -------- |
53
+ | MtButton | 按钮 |
54
+ | MtIcon | 图标 |
55
+ | MtImage | 图片 |
56
+ | MtLoading | 加载 |
57
+ | MtBadge | 徽标 |
58
+ | MtBacktop | 回到顶部 |
59
+
60
+ ## 表单组件
61
+
62
+ | 组件 | 说明 |
63
+ | ---------- | -------- |
64
+ | MtUpload | 文件上传 |
65
+ | MtProgress | 进度条 |
66
+
67
+ ## 展示组件
68
+
69
+ | 组件 | 说明 |
70
+ | ------------- | -------- |
71
+ | MtAvatarImage | 图片头像 |
72
+ | MtAvatarText | 文字头像 |
73
+ | MtEmpty | 空状态 |
74
+ | MtTag | 标签 |
75
+ | MtQrcode | 二维码 |
76
+ | MtTable | 表格 |
77
+ | MtTableColumn | 表格列 |
78
+ | MtPopover | 气泡卡片 |
79
+ | MtTooltip | 文字提示 |
80
+ | MtFilePreview | 文件预览 |
81
+
82
+ ## 导航组件
83
+
84
+ | 组件 | 说明 |
85
+ | ---------------- | -------- |
86
+ | MtTabs | 标签页 |
87
+ | MtTab | 标签 |
88
+ | MtInfiniteScroll | 无限滚动 |
89
+
90
+ ## 反馈组件
91
+
92
+ | 组件 | 说明 |
93
+ | --------- | -------- |
94
+ | MtDialog | 对话框 |
95
+ | MtMessage | 消息提示 |
96
+ | MtOverlay | 遮罩层 |
97
+ | MtPoster | 海报 |
98
+
99
+ ## 布局组件
100
+
101
+ | 组件 | 说明 |
102
+ | -------------------- | ------------ |
103
+ | MtCell | 单元格 |
104
+ | MtCellGroup | 单元格组 |
105
+ | MtButtonGroup | 按钮组 |
106
+ | MtCollapseTransition | 折叠过渡 |
107
+ | MtFadeTransition | 淡入淡出过渡 |
108
+ | MtTeleport | 传送门 |
109
+ | MtConfigProvider | 全局配置 |
110
+
111
+ ## 使用示例
112
+
113
+ ### 按钮
114
+
115
+ ```vue
116
+ <mt-button type="primary">
117
+ 主要按钮
118
+ </mt-button>
119
+
120
+ <mt-button type="success">
121
+ 成功按钮
122
+ </mt-button>
123
+
124
+ <mt-button type="danger">
125
+ 危险按钮
126
+ </mt-button>
127
+ ```
128
+
129
+ ### 对话框
130
+
131
+ ```vue
132
+ <mt-dialog v-model="visible" title="标题">
133
+ <p>对话框内容</p>
134
+ <template #footer>
135
+ <mt-button @click="visible = false">取消</mt-button>
136
+ <mt-button type="primary" @click="visible = false">确定</mt-button>
137
+ </template>
138
+ </mt-dialog>
139
+ ```
140
+
141
+ ### 消息提示
142
+
143
+ ```typescript
144
+ import { MtMessage } from '@mingto/mt-ui'
145
+
146
+ MtMessage.success('操作成功')
147
+ MtMessage.error('操作失败')
148
+ MtMessage.warning('警告提示')
149
+ ```
150
+
151
+ ### 文件上传
152
+
153
+ ```vue
154
+ <mt-upload v-model="fileList" :limit="9">
155
+ <mt-button type="primary">点击上传</mt-button>
156
+ </mt-upload>
157
+ ```
158
+
159
+ ## 全局配置
160
+
161
+ ```vue
162
+ <mt-config-provider :locale="{ lang: 'en' }">
163
+ <app />
164
+ </mt-config-provider>
165
+ ```
166
+
167
+ ## 完整文档
168
+
169
+ 更多组件和详细用法请参考 [官方文档](https://mingto.github.io/mt-utils/ui/)
170
+
171
+ ## 许可证
172
+
173
+ MIT
@@ -3,7 +3,190 @@ declare const _default: {
3
3
  "name": "数字人融合web",
4
4
  "font_family": "iconfont",
5
5
  "css_prefix_text": "icon-",
6
+ "description": "",
6
7
  "glyphs": [
8
+ {
9
+ "icon_id": "47727481",
10
+ "name": "icon-gzjl",
11
+ "font_class": "icon-gzjl",
12
+ "unicode": "e608",
13
+ "unicode_decimal": 58888
14
+ },
15
+ {
16
+ "icon_id": "47727480",
17
+ "name": "icon-csgc",
18
+ "font_class": "icon-csgc",
19
+ "unicode": "e60a",
20
+ "unicode_decimal": 58890
21
+ },
22
+ {
23
+ "icon_id": "47727479",
24
+ "name": "icon-gwnl",
25
+ "font_class": "icon-gwnl",
26
+ "unicode": "e60b",
27
+ "unicode_decimal": 58891
28
+ },
29
+ {
30
+ "icon_id": "47601681",
31
+ "name": "key",
32
+ "font_class": "key-01",
33
+ "unicode": "e74f",
34
+ "unicode_decimal": 59215
35
+ },
36
+ {
37
+ "icon_id": "47480457",
38
+ "name": "任务对话",
39
+ "font_class": "renwuduihua",
40
+ "unicode": "e74e",
41
+ "unicode_decimal": 59214
42
+ },
43
+ {
44
+ "icon_id": "47478817",
45
+ "name": "任务循环时间",
46
+ "font_class": "renwuxunhuanshijian",
47
+ "unicode": "e74c",
48
+ "unicode_decimal": 59212
49
+ },
50
+ {
51
+ "icon_id": "47478815",
52
+ "name": "任务执行时间",
53
+ "font_class": "renwuzhihangshijian",
54
+ "unicode": "e74d",
55
+ "unicode_decimal": 59213
56
+ },
57
+ {
58
+ "icon_id": "47478832",
59
+ "name": "任务规划",
60
+ "font_class": "renwuguihua",
61
+ "unicode": "e749",
62
+ "unicode_decimal": 59209
63
+ },
64
+ {
65
+ "icon_id": "47478818",
66
+ "name": "执行记录",
67
+ "font_class": "zhihangjilu",
68
+ "unicode": "e74a",
69
+ "unicode_decimal": 59210
70
+ },
71
+ {
72
+ "icon_id": "47478816",
73
+ "name": "浏览记录",
74
+ "font_class": "liulanjilu",
75
+ "unicode": "e74b",
76
+ "unicode_decimal": 59211
77
+ },
78
+ {
79
+ "icon_id": "47476167",
80
+ "name": "沉浸对话",
81
+ "font_class": "chenjinduihua",
82
+ "unicode": "e744",
83
+ "unicode_decimal": 59204
84
+ },
85
+ {
86
+ "icon_id": "47476166",
87
+ "name": "使用技能",
88
+ "font_class": "shiyongjineng",
89
+ "unicode": "e745",
90
+ "unicode_decimal": 59205
91
+ },
92
+ {
93
+ "icon_id": "47476164",
94
+ "name": "关闭菜单",
95
+ "font_class": "guanbicaidan",
96
+ "unicode": "e746",
97
+ "unicode_decimal": 59206
98
+ },
99
+ {
100
+ "icon_id": "47476165",
101
+ "name": "自由浏览",
102
+ "font_class": "ziyouliulan",
103
+ "unicode": "e747",
104
+ "unicode_decimal": 59207
105
+ },
106
+ {
107
+ "icon_id": "47476163",
108
+ "name": "打开菜单",
109
+ "font_class": "dakaicaidan",
110
+ "unicode": "e748",
111
+ "unicode_decimal": 59208
112
+ },
113
+ {
114
+ "icon_id": "47299703",
115
+ "name": "空间",
116
+ "font_class": "kongjian",
117
+ "unicode": "e73f",
118
+ "unicode_decimal": 59199
119
+ },
120
+ {
121
+ "icon_id": "47288981",
122
+ "name": "云主机",
123
+ "font_class": "yunzhuji1",
124
+ "unicode": "e742",
125
+ "unicode_decimal": 59202
126
+ },
127
+ {
128
+ "icon_id": "47234409",
129
+ "name": "本地部署",
130
+ "font_class": "bendibushu",
131
+ "unicode": "e743",
132
+ "unicode_decimal": 59203
133
+ },
134
+ {
135
+ "icon_id": "47196573",
136
+ "name": "用户",
137
+ "font_class": "yonghu",
138
+ "unicode": "e741",
139
+ "unicode_decimal": 59201
140
+ },
141
+ {
142
+ "icon_id": "47094946",
143
+ "name": "gift-01",
144
+ "font_class": "gift-01",
145
+ "unicode": "e740",
146
+ "unicode_decimal": 59200
147
+ },
148
+ {
149
+ "icon_id": "47059841",
150
+ "name": "算力卡",
151
+ "font_class": "suanlika",
152
+ "unicode": "e73e",
153
+ "unicode_decimal": 59198
154
+ },
155
+ {
156
+ "icon_id": "47051679",
157
+ "name": "一体机",
158
+ "font_class": "server-03",
159
+ "unicode": "e73d",
160
+ "unicode_decimal": 59197
161
+ },
162
+ {
163
+ "icon_id": "47033552",
164
+ "name": "搜索",
165
+ "font_class": "ss-line-black",
166
+ "unicode": "e73c",
167
+ "unicode_decimal": 59196
168
+ },
169
+ {
170
+ "icon_id": "47014867",
171
+ "name": "workbot",
172
+ "font_class": "workbot",
173
+ "unicode": "e73b",
174
+ "unicode_decimal": 59195
175
+ },
176
+ {
177
+ "icon_id": "47014869",
178
+ "name": "智能体",
179
+ "font_class": "zhinengti",
180
+ "unicode": "e67a",
181
+ "unicode_decimal": 59002
182
+ },
183
+ {
184
+ "icon_id": "47014868",
185
+ "name": "技能",
186
+ "font_class": "jineng",
187
+ "unicode": "e73a",
188
+ "unicode_decimal": 59194
189
+ },
7
190
  {
8
191
  "icon_id": "46995621",
9
192
  "name": "播放",
@@ -1880,13 +2063,6 @@ declare const _default: {
1880
2063
  "unicode": "e679",
1881
2064
  "unicode_decimal": 59001
1882
2065
  },
1883
- {
1884
- "icon_id": "39830017",
1885
- "name": "general_gray_research",
1886
- "font_class": "general_gray_research",
1887
- "unicode": "e67a",
1888
- "unicode_decimal": 59002
1889
- },
1890
2066
  {
1891
2067
  "icon_id": "39830018",
1892
2068
  "name": "general_bold_video",