Skip to content

Commit

Permalink
chore: 更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed Jun 5, 2024
1 parent 0cd8382 commit e1f8392
Showing 19 changed files with 3,105 additions and 3,722 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@
"conventional-changelog-cli": "^4.1.0",
"cosmiconfig": "^8.3.6",
"cz-conventional-changelog": "^3.3.0",
"element-plus": "^2.6.1",
"element-plus": "^2.7.4",
"enquirer": "^2.3.6",
"eslint": "^8.38.0",
"eslint-config-tencent": "^1.0.4",
@@ -75,7 +75,7 @@
"serialize-javascript": "^6.0.0",
"shx": "^0.3.4",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite": "^5.2.12",
"vitepress": "1.2.2",
"vitest": "^1.6.0",
"vue": "^3.4.27"
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"@tmagic/data-source": "workspace:*",
2 changes: 1 addition & 1 deletion packages/data-source/package.json
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"tsc-alias": "^1.8.5",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"@tmagic/schema": "workspace:*",
2 changes: 1 addition & 1 deletion packages/dep/package.json
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
"devDependencies": {
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"@tmagic/schema": "workspace:*",
4 changes: 2 additions & 2 deletions packages/design/package.json
Original file line number Diff line number Diff line change
@@ -47,8 +47,8 @@
"@vue/compiler-sfc": "^3.4.27",
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
"vite": "^5.2.12",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"vue": "^3.4.27",
4 changes: 2 additions & 2 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -75,8 +75,8 @@
"sass": "^1.77.0",
"tsc-alias": "^1.8.5",
"type-fest": "^4.10.3",
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
"vite": "^5.2.12",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"@tmagic/core": "workspace:*",
13 changes: 8 additions & 5 deletions packages/editor/src/layouts/sidebar/layer/use-click.ts
Original file line number Diff line number Diff line change
@@ -56,9 +56,12 @@ export const useClick = (

const throttleTime = 300;
// 鼠标在组件树移动触发高亮
const highlightHandler = throttle((event: MouseEvent, data: TreeNodeData) => {
highlight(data);
}, throttleTime);
const highlightHandler: (event: MouseEvent, data: TreeNodeData) => void = throttle(
(event: MouseEvent, data: TreeNodeData) => {
highlight(data);
},
throttleTime,
);

// 触发画布高亮
const highlight = (data: TreeNodeData) => {
@@ -67,7 +70,7 @@ export const useClick = (
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 (services?.uiService.get('uiSelectMode')) {
@@ -94,7 +97,7 @@ export const useClick = (

nodeClickHandler,

nodeContentMenuHandler(event: MouseEvent, data: TreeNodeData) {
nodeContentMenuHandler(event: MouseEvent, data: TreeNodeData): void {
event.preventDefault();

const nodes = services?.editorService.get('nodes') || [];
4 changes: 2 additions & 2 deletions packages/element-plus-adapter/package.json
Original file line number Diff line number Diff line change
@@ -44,11 +44,11 @@
"devDependencies": {
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",
"element-plus": "^2.6.1",
"element-plus": "^2.7.4",
"typescript": "*"
},
"peerDependenciesMeta": {
4 changes: 2 additions & 2 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -54,8 +54,8 @@
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.77.0",
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
"vite": "^5.2.12",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@
"devDependencies": {
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"typescript": "*"
2 changes: 1 addition & 1 deletion packages/stage/package.json
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"sass": "^1.77.0",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"@tmagic/core": "workspace:*",
4 changes: 2 additions & 2 deletions packages/table/package.json
Original file line number Diff line number Diff line change
@@ -49,8 +49,8 @@
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.77.0",
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
"vite": "^5.2.12",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",
4 changes: 2 additions & 2 deletions packages/tdesign-vue-next-adapter/package.json
Original file line number Diff line number Diff line change
@@ -46,8 +46,8 @@
"@vue/compiler-sfc": "^3.4.27",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
"vite": "^5.2.12",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"@tmagic/design": "workspace:*",
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.2.11"
"vite": "^5.2.12"
},
"peerDependencies": {
"@tmagic/schema": "workspace:*",
4 changes: 2 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
"@tmagic/schema": "1.4.7",
"@tmagic/stage": "1.4.7",
"@tmagic/utils": "1.4.7",
"element-plus": "^2.6.1",
"element-plus": "^2.7.4",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.48.0",
"serialize-javascript": "^6.0.0",
@@ -42,6 +42,6 @@
"typescript": "^5.4.5",
"unplugin-auto-import": "^0.12.0",
"unplugin-vue-components": "^0.22.11",
"vite": "^5.2.11"
"vite": "^5.2.12"
}
}
Loading

0 comments on commit e1f8392

Please sign in to comment.