mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
chore: 更新依赖
This commit is contained in:
parent
0cd83825b7
commit
e1f8392261
@ -53,7 +53,7 @@
|
|||||||
"conventional-changelog-cli": "^4.1.0",
|
"conventional-changelog-cli": "^4.1.0",
|
||||||
"cosmiconfig": "^8.3.6",
|
"cosmiconfig": "^8.3.6",
|
||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"element-plus": "^2.6.1",
|
"element-plus": "^2.7.4",
|
||||||
"enquirer": "^2.3.6",
|
"enquirer": "^2.3.6",
|
||||||
"eslint": "^8.38.0",
|
"eslint": "^8.38.0",
|
||||||
"eslint-config-tencent": "^1.0.4",
|
"eslint-config-tencent": "^1.0.4",
|
||||||
@ -75,7 +75,7 @@
|
|||||||
"serialize-javascript": "^6.0.0",
|
"serialize-javascript": "^6.0.0",
|
||||||
"shx": "^0.3.4",
|
"shx": "^0.3.4",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vitepress": "1.2.2",
|
"vitepress": "1.2.2",
|
||||||
"vitest": "^1.6.0",
|
"vitest": "^1.6.0",
|
||||||
"vue": "^3.4.27"
|
"vue": "^3.4.27"
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
"@types/lodash-es": "^4.17.4",
|
"@types/lodash-es": "^4.17.4",
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/data-source": "workspace:*",
|
"@tmagic/data-source": "workspace:*",
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
"@types/lodash-es": "^4.17.4",
|
"@types/lodash-es": "^4.17.4",
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"tsc-alias": "^1.8.5",
|
"tsc-alias": "^1.8.5",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/schema": "workspace:*",
|
"@tmagic/schema": "workspace:*",
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/schema": "workspace:*",
|
"@tmagic/schema": "workspace:*",
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
"@vue/compiler-sfc": "^3.4.27",
|
"@vue/compiler-sfc": "^3.4.27",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vue-tsc": "^2.0.16"
|
"vue-tsc": "^2.0.19"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.4.27",
|
"vue": "^3.4.27",
|
||||||
|
@ -75,8 +75,8 @@
|
|||||||
"sass": "^1.77.0",
|
"sass": "^1.77.0",
|
||||||
"tsc-alias": "^1.8.5",
|
"tsc-alias": "^1.8.5",
|
||||||
"type-fest": "^4.10.3",
|
"type-fest": "^4.10.3",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vue-tsc": "^2.0.16"
|
"vue-tsc": "^2.0.19"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/core": "workspace:*",
|
"@tmagic/core": "workspace:*",
|
||||||
|
@ -56,9 +56,12 @@ export const useClick = (
|
|||||||
|
|
||||||
const throttleTime = 300;
|
const throttleTime = 300;
|
||||||
// 鼠标在组件树移动触发高亮
|
// 鼠标在组件树移动触发高亮
|
||||||
const highlightHandler = throttle((event: MouseEvent, data: TreeNodeData) => {
|
const highlightHandler: (event: MouseEvent, data: TreeNodeData) => void = throttle(
|
||||||
highlight(data);
|
(event: MouseEvent, data: TreeNodeData) => {
|
||||||
}, throttleTime);
|
highlight(data);
|
||||||
|
},
|
||||||
|
throttleTime,
|
||||||
|
);
|
||||||
|
|
||||||
// 触发画布高亮
|
// 触发画布高亮
|
||||||
const highlight = (data: TreeNodeData) => {
|
const highlight = (data: TreeNodeData) => {
|
||||||
@ -67,7 +70,7 @@ export const useClick = (
|
|||||||
services?.stageOverlayService?.get('stage')?.highlight(data.id);
|
services?.stageOverlayService?.get('stage')?.highlight(data.id);
|
||||||
};
|
};
|
||||||
|
|
||||||
const nodeClickHandler = (event: MouseEvent, data: TreeNodeData) => {
|
const nodeClickHandler = (event: MouseEvent, data: TreeNodeData): void => {
|
||||||
if (!nodeStatusMap?.value) return;
|
if (!nodeStatusMap?.value) return;
|
||||||
|
|
||||||
if (services?.uiService.get('uiSelectMode')) {
|
if (services?.uiService.get('uiSelectMode')) {
|
||||||
@ -94,7 +97,7 @@ export const useClick = (
|
|||||||
|
|
||||||
nodeClickHandler,
|
nodeClickHandler,
|
||||||
|
|
||||||
nodeContentMenuHandler(event: MouseEvent, data: TreeNodeData) {
|
nodeContentMenuHandler(event: MouseEvent, data: TreeNodeData): void {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
const nodes = services?.editorService.get('nodes') || [];
|
const nodes = services?.editorService.get('nodes') || [];
|
||||||
|
@ -44,11 +44,11 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/design": "workspace:*",
|
"@tmagic/design": "workspace:*",
|
||||||
"element-plus": "^2.6.1",
|
"element-plus": "^2.7.4",
|
||||||
"typescript": "*"
|
"typescript": "*"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
|
@ -54,8 +54,8 @@
|
|||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"sass": "^1.77.0",
|
"sass": "^1.77.0",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vue-tsc": "^2.0.16"
|
"vue-tsc": "^2.0.19"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/design": "workspace:*",
|
"@tmagic/design": "workspace:*",
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "*"
|
"typescript": "*"
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"sass": "^1.77.0",
|
"sass": "^1.77.0",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/core": "workspace:*",
|
"@tmagic/core": "workspace:*",
|
||||||
|
@ -49,8 +49,8 @@
|
|||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"sass": "^1.77.0",
|
"sass": "^1.77.0",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vue-tsc": "^2.0.16"
|
"vue-tsc": "^2.0.19"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/design": "workspace:*",
|
"@tmagic/design": "workspace:*",
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
"@vue/compiler-sfc": "^3.4.27",
|
"@vue/compiler-sfc": "^3.4.27",
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vue-tsc": "^2.0.16"
|
"vue-tsc": "^2.0.19"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/design": "workspace:*",
|
"@tmagic/design": "workspace:*",
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
"@types/lodash-es": "^4.17.4",
|
"@types/lodash-es": "^4.17.4",
|
||||||
"@types/node": "^18.19.0",
|
"@types/node": "^18.19.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@tmagic/schema": "workspace:*",
|
"@tmagic/schema": "workspace:*",
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"@tmagic/schema": "1.4.7",
|
"@tmagic/schema": "1.4.7",
|
||||||
"@tmagic/stage": "1.4.7",
|
"@tmagic/stage": "1.4.7",
|
||||||
"@tmagic/utils": "1.4.7",
|
"@tmagic/utils": "1.4.7",
|
||||||
"element-plus": "^2.6.1",
|
"element-plus": "^2.7.4",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"monaco-editor": "^0.48.0",
|
"monaco-editor": "^0.48.0",
|
||||||
"serialize-javascript": "^6.0.0",
|
"serialize-javascript": "^6.0.0",
|
||||||
@ -42,6 +42,6 @@
|
|||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5",
|
||||||
"unplugin-auto-import": "^0.12.0",
|
"unplugin-auto-import": "^0.12.0",
|
||||||
"unplugin-vue-components": "^0.22.11",
|
"unplugin-vue-components": "^0.22.11",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
6728
pnpm-lock.yaml
generated
6728
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -38,7 +38,7 @@
|
|||||||
"@tmagic/utils": "workspace:*",
|
"@tmagic/utils": "workspace:*",
|
||||||
"@tmagic/schema": "workspace:*",
|
"@tmagic/schema": "workspace:*",
|
||||||
"@tmagic/stage": "workspace:*",
|
"@tmagic/stage": "workspace:*",
|
||||||
"element-plus": "^2.6.1",
|
"element-plus": "^2.7.4",
|
||||||
"vue": "^3.4.27"
|
"vue": "^3.4.27"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -47,7 +47,7 @@
|
|||||||
"@vue/compiler-sfc": "^3.4.27",
|
"@vue/compiler-sfc": "^3.4.27",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"vue-tsc": "^2.0.16"
|
"vue-tsc": "^2.0.19"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"rollup": "^4.17.2",
|
"rollup": "^4.17.2",
|
||||||
"rollup-plugin-external-globals": "^0.10.0",
|
"rollup-plugin-external-globals": "^0.10.0",
|
||||||
"sass": "^1.77.0",
|
"sass": "^1.77.0",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.12",
|
||||||
"@vitejs/plugin-legacy": "^5.4.0",
|
"@vitejs/plugin-legacy": "^5.4.0",
|
||||||
"@vitejs/plugin-vue2": "^2.3.1",
|
"@vitejs/plugin-vue2": "^2.3.1",
|
||||||
"vue-template-compiler": "^2.7.4"
|
"vue-template-compiler": "^2.7.4"
|
||||||
|
@ -41,6 +41,6 @@
|
|||||||
"sass": "^1.77.0",
|
"sass": "^1.77.0",
|
||||||
"terser": "^5.31.0",
|
"terser": "^5.31.0",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5",
|
||||||
"vite": "^5.2.11"
|
"vite": "^5.2.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user