fix:卡片scheme修改与依赖修改

This commit is contained in:
lhj
2024-09-23 23:17:25 +08:00
parent 67aef1df33
commit 1bf75d3611
6 changed files with 78 additions and 15 deletions

8
components.d.ts vendored
View File

@ -7,19 +7,11 @@ export {}
/* prettier-ignore */ /* prettier-ignore */
declare module 'vue' { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
AButton: typeof import('@arco-design/web-vue')['Button']
AInput: typeof import('@arco-design/web-vue')['Input']
ARate: typeof import('@arco-design/web-vue')['Rate']
AScrollbar: typeof import('@arco-design/web-vue')['Scrollbar']
ASwitch: typeof import('@arco-design/web-vue')['Switch']
ATable: typeof import('@arco-design/web-vue')['Table']
DynamicComponent: typeof import('./src/components/DynamicComponent.vue')['default'] DynamicComponent: typeof import('./src/components/DynamicComponent.vue')['default']
ElTable: typeof import('./src/components/ElTable.vue')['default'] ElTable: typeof import('./src/components/ElTable.vue')['default']
FunctionalIcons: typeof import('./src/components/FunctionalIcons.vue')['default']
NestedDirective: typeof import('./src/components/NestedDirective.vue')['default'] NestedDirective: typeof import('./src/components/NestedDirective.vue')['default']
NestedFunction: typeof import('./src/components/NestedFunction.vue')['default'] NestedFunction: typeof import('./src/components/NestedFunction.vue')['default']
TestComponent: typeof import('./src/components/TestComponent.vue')['default'] TestComponent: typeof import('./src/components/TestComponent.vue')['default']
TestParentComponent: typeof import('./src/components/TestParentComponent.vue')['default']
VueDemo: typeof import('./src/components/VueDemo.vue')['default'] VueDemo: typeof import('./src/components/VueDemo.vue')['default']
} }
} }

19
package-lock.json generated
View File

@ -10,6 +10,7 @@
"dependencies": { "dependencies": {
"@arco-plugins/vite-vue": "^1.4.5", "@arco-plugins/vite-vue": "^1.4.5",
"@vueuse/core": "^10.11.0", "@vueuse/core": "^10.11.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lsp-uuid": "^3.2.0", "lsp-uuid": "^3.2.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
@ -1600,6 +1601,12 @@
"resolved": "https://registry.npmmirror.com/arg/-/arg-4.1.3.tgz", "resolved": "https://registry.npmmirror.com/arg/-/arg-4.1.3.tgz",
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
}, },
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://repo.bingosoft.net/repository/npm/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
"license": "Python-2.0"
},
"node_modules/b-tween": { "node_modules/b-tween": {
"version": "0.3.3", "version": "0.3.3",
"resolved": "https://registry.npmmirror.com/b-tween/-/b-tween-0.3.3.tgz", "resolved": "https://registry.npmmirror.com/b-tween/-/b-tween-0.3.3.tgz",
@ -2296,6 +2303,18 @@
"integrity": "sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==", "integrity": "sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==",
"dev": true "dev": true
}, },
"node_modules/js-yaml": {
"version": "4.1.0",
"resolved": "https://repo.bingosoft.net/repository/npm/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
"license": "MIT",
"dependencies": {
"argparse": "^2.0.1"
},
"bin": {
"js-yaml": "bin/js-yaml.js"
}
},
"node_modules/jsesc": { "node_modules/jsesc": {
"version": "2.5.2", "version": "2.5.2",
"resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz", "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz",

View File

@ -12,6 +12,7 @@
"dependencies": { "dependencies": {
"@arco-plugins/vite-vue": "^1.4.5", "@arco-plugins/vite-vue": "^1.4.5",
"@vueuse/core": "^10.11.0", "@vueuse/core": "^10.11.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lsp-uuid": "^3.2.0", "lsp-uuid": "^3.2.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",

View File

@ -4,15 +4,32 @@
"id": "card", "id": "card",
"designer": {}, "designer": {},
"text": "ByteDance's core product, Toutiao (\"Headlines\"), is a content platform in China and around the world. Toutiao started out as a news recommendation engine and gradually evolved into a platform delivering content in various formats.", "text": "ByteDance's core product, Toutiao (\"Headlines\"), is a content platform in China and around the world. Toutiao started out as a news recommendation engine and gradually evolved into a platform delivering content in various formats.",
"props": {"title":"Card"}, "props": {
"title": "Card"
},
"style": "width:360px", "style": "width:360px",
"class": "arco-card arco-card-size-medium arco-card-bordered", "class": "arco-card arco-card-size-medium arco-card-bordered",
"visible": "", "visible": "",
"slots": {}, "slots": {
"extra":{
"id": "avatar-9f8289a12910000",
"name": "avatar",
"type": "Avatar",
"props": {},
"class": "",
"designer": "",
"text": "",
"children": [],
"style": "",
"visible": "",
"slots": {},
"disable": "",
"events": {},
"loop": {}
}
},
"disable": "", "disable": "",
"events": {}, "events": {},
"loop": {}, "loop": {},
"children": [] "children": []
} }

View File

@ -238,7 +238,24 @@
"style": "width:360px", "style": "width:360px",
"class": "arco-card arco-card-size-medium arco-card-bordered", "class": "arco-card arco-card-size-medium arco-card-bordered",
"visible": "", "visible": "",
"slots": {}, "slots": {
"extra": {
"id": "avatar-9f8289a12910000",
"name": "avatar",
"type": "Avatar",
"props": {},
"class": "",
"designer": "",
"text": "",
"children": [],
"style": "",
"visible": "",
"slots": {},
"disable": "",
"events": {},
"loop": {}
}
},
"disable": "", "disable": "",
"events": {}, "events": {},
"loop": {}, "loop": {},

View File

@ -238,7 +238,24 @@ export const componentScheme = {
"style": "width:360px", "style": "width:360px",
"class": "arco-card arco-card-size-medium arco-card-bordered", "class": "arco-card arco-card-size-medium arco-card-bordered",
"visible": "", "visible": "",
"slots": {}, "slots": {
"extra": {
"id": "avatar-9f8289a12910000",
"name": "avatar",
"type": "Avatar",
"props": {},
"class": "",
"designer": "",
"text": "",
"children": [],
"style": "",
"visible": "",
"slots": {},
"disable": "",
"events": {},
"loop": {}
}
},
"disable": "", "disable": "",
"events": {}, "events": {},
"loop": {}, "loop": {},