befly-admin 3.4.7 → 3.4.8
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/package.json +3 -3
- package/src/types/components.d.ts +14 -0
- package/vite.config.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "befly-admin",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.8",
|
|
4
4
|
"description": "Befly Admin - 基于 Vue3 + OpenTiny Vue 的后台管理系统",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"vue-router": "^4.6.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@befly-addon/admin": "1.0.
|
|
39
|
+
"@befly-addon/admin": "1.0.12",
|
|
40
40
|
"@iconify-json/lucide": "^1.2.72",
|
|
41
41
|
"@opentiny/unplugin-tiny-vue": "^1.0.0",
|
|
42
42
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"node": ">=24.0.0",
|
|
57
57
|
"pnpm": ">=10.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "40b4c3e6591454ff060416a6275142792e7de66c"
|
|
60
60
|
}
|
|
@@ -27,9 +27,13 @@ declare module 'vue' {
|
|
|
27
27
|
'ILucide:logOut': typeof import('~icons/lucide/log-out')['default']
|
|
28
28
|
'ILucide:mail': typeof import('~icons/lucide/mail')['default']
|
|
29
29
|
'ILucide:menu': typeof import('~icons/lucide/menu')['default']
|
|
30
|
+
'ILucide:pencil': typeof import('~icons/lucide/pencil')['default']
|
|
31
|
+
'ILucide:plus': typeof import('~icons/lucide/plus')['default']
|
|
32
|
+
'ILucide:rotateCw': typeof import('~icons/lucide/rotate-cw')['default']
|
|
30
33
|
'ILucide:server': typeof import('~icons/lucide/server')['default']
|
|
31
34
|
'ILucide:settings': typeof import('~icons/lucide/settings')['default']
|
|
32
35
|
'ILucide:square': typeof import('~icons/lucide/square')['default']
|
|
36
|
+
'ILucide:trash2': typeof import('~icons/lucide/trash2')['default']
|
|
33
37
|
'ILucide:trendingUp': typeof import('~icons/lucide/trending-up')['default']
|
|
34
38
|
'ILucide:user': typeof import('~icons/lucide/user')['default']
|
|
35
39
|
'ILucide:users': typeof import('~icons/lucide/users')['default']
|
|
@@ -41,12 +45,22 @@ declare module 'vue' {
|
|
|
41
45
|
TinyAvatar: typeof import('@opentiny/vue-avatar')['default']
|
|
42
46
|
TinyButton: typeof import('@opentiny/vue-button')['default']
|
|
43
47
|
TinyCol: typeof import('@opentiny/vue-col')['default']
|
|
48
|
+
TinyDialogBox: typeof import('@opentiny/vue-dialog-box')['default']
|
|
44
49
|
TinyDivider: typeof import('@opentiny/vue-divider')['default']
|
|
45
50
|
TinyDropdown: typeof import('@opentiny/vue-dropdown')['default']
|
|
46
51
|
TinyDropdownItem: typeof import('@opentiny/vue-dropdown-item')['default']
|
|
47
52
|
TinyDropdownMenu: typeof import('@opentiny/vue-dropdown-menu')['default']
|
|
53
|
+
TinyForm: typeof import('@opentiny/vue-form')['default']
|
|
54
|
+
TinyFormItem: typeof import('@opentiny/vue-form-item')['default']
|
|
55
|
+
TinyGrid: typeof import('@opentiny/vue-grid')['default']
|
|
56
|
+
TinyGridColumn: typeof import('@opentiny/vue-grid-column')['default']
|
|
57
|
+
TinyInput: typeof import('@opentiny/vue-input')['default']
|
|
58
|
+
TinyNumeric: typeof import('@opentiny/vue-numeric')['default']
|
|
59
|
+
TinyPager: typeof import('@opentiny/vue-pager')['default']
|
|
48
60
|
TinyPopover: typeof import('@opentiny/vue-popover')['default']
|
|
49
61
|
TinyProgress: typeof import('@opentiny/vue-progress')['default']
|
|
62
|
+
TinyRadio: typeof import('@opentiny/vue-radio')['default']
|
|
63
|
+
TinyRadioGroup: typeof import('@opentiny/vue-radio-group')['default']
|
|
50
64
|
TinyRow: typeof import('@opentiny/vue-row')['default']
|
|
51
65
|
TinyTag: typeof import('@opentiny/vue-tag')['default']
|
|
52
66
|
TinyTreeMenu: typeof import('@opentiny/vue-tree-menu')['default']
|
package/vite.config.ts
CHANGED
|
@@ -169,6 +169,14 @@ export default defineConfig({
|
|
|
169
169
|
|
|
170
170
|
// 优化依赖预构建
|
|
171
171
|
optimizeDeps: {
|
|
172
|
-
include: [
|
|
172
|
+
include: [
|
|
173
|
+
'vue',
|
|
174
|
+
'vue-router',
|
|
175
|
+
'pinia',
|
|
176
|
+
'axios',
|
|
177
|
+
// OpenTiny Vue 组件(使用正则匹配所有子包)
|
|
178
|
+
'@opentiny/vue'
|
|
179
|
+
// 注意:unplugin-tiny-vue 会自动处理按需导入,无需手动列出所有组件
|
|
180
|
+
]
|
|
173
181
|
}
|
|
174
182
|
});
|