chore(deps): upgrade dependencies
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@animxyz/core": "^0.6.6",
|
||||
"@animxyz/vue3": "^0.6.6",
|
||||
"@animxyz/vue3": "^0.6.7",
|
||||
"@braks/vue-flow": "workspace:*",
|
||||
"@stackblitz/sdk": "^1.8.0",
|
||||
"@vue/repl": "1.1.2",
|
||||
@@ -18,24 +18,24 @@
|
||||
"canvas-confetti": "^1.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify/json": "^2.1.66",
|
||||
"@types/canvas-confetti": "^1.4.2",
|
||||
"@types/node": "^18.0.0",
|
||||
"@vuepress/bundler-vite": "^2.0.0-beta.48",
|
||||
"@vuepress/plugin-docsearch": "^2.0.0-beta.48",
|
||||
"@vuepress/plugin-pwa": "^2.0.0-beta.48",
|
||||
"@iconify/json": "^2.1.81",
|
||||
"@types/canvas-confetti": "^1.4.3",
|
||||
"@types/node": "^18.0.6",
|
||||
"@vuepress/bundler-vite": "^2.0.0-beta.49",
|
||||
"@vuepress/plugin-docsearch": "^2.0.0-beta.49",
|
||||
"@vuepress/plugin-pwa": "^2.0.0-beta.49",
|
||||
"@windicss/plugin-scrollbar": "^1.2.3",
|
||||
"dotenv": "^16.0.1",
|
||||
"ohmyfetch": "^0.4.18",
|
||||
"typedoc": "^0.22.18",
|
||||
"typedoc-plugin-markdown": "^3.12.1",
|
||||
"unplugin-auto-import": "^0.9.1",
|
||||
"unplugin-icons": "^0.14.5",
|
||||
"typedoc-plugin-markdown": "^3.13.4",
|
||||
"unplugin-auto-import": "^0.9.5",
|
||||
"unplugin-icons": "^0.14.7",
|
||||
"unplugin-vue-components": "^0.19.9",
|
||||
"vite-plugin-windicss": "^1.8.4",
|
||||
"vuepress": "2.0.0-beta.48",
|
||||
"vuepress-plugin-seo2": "2.0.0-beta.84",
|
||||
"vuepress-plugin-sitemap2": "2.0.0-beta.84",
|
||||
"windicss": "^3.5.5"
|
||||
"vite-plugin-windicss": "^1.8.7",
|
||||
"vuepress": "^2.0.0-beta.49",
|
||||
"vuepress-plugin-seo2": "^2.0.0-beta.84",
|
||||
"vuepress-plugin-sitemap2": "^2.0.0-beta.84",
|
||||
"windicss": "^3.5.6"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
"@braks/vue-flow": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cypress/vite-dev-server": "^2.2.1",
|
||||
"@cypress/vue": "^3.0.5",
|
||||
"@vitejs/plugin-vue": "^2.2.0",
|
||||
"@cypress/vite-dev-server": "^2.2.3",
|
||||
"@cypress/vue": "^3.1.2",
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"cypress": "8.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
"lint": "eslint --ext .js,.ts,.vue ./"
|
||||
},
|
||||
"dependencies": {
|
||||
"@braks/vue-flow": "workspace:*",
|
||||
"@quasar/extras": "^1.0.0",
|
||||
"quasar": "^2.6.0",
|
||||
"vue": "^3.2.15",
|
||||
"vue-router": "^4.0.0"
|
||||
"@braks/vue-flow": "workspace:0.4.30",
|
||||
"@quasar/extras": "^1.15.0",
|
||||
"quasar": "^2.7.5",
|
||||
"vue": "^3.2.37",
|
||||
"vue-router": "^4.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@quasar/app-vite": "^1.0.0",
|
||||
"@types/node": "^12.20.21",
|
||||
"autoprefixer": "^10.4.2"
|
||||
"@quasar/app-vite": "^1.0.5",
|
||||
"@types/node": "^12.20.55",
|
||||
"autoprefixer": "^10.4.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18 || ^16 || ^14.19",
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
"@braks/vue-flow": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/dagre": "^0.7.46",
|
||||
"@vitejs/plugin-vue": "^2.2.0",
|
||||
"@types/dagre": "^0.7.47",
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"dagre": "^0.8.5",
|
||||
"unplugin-auto-import": "^0.6.8",
|
||||
"vite": "2.5.x",
|
||||
"unplugin-auto-import": "^0.6.9",
|
||||
"vite": "2.5.10",
|
||||
"vite-plugin-vue-type-imports": "^0.1.3",
|
||||
"vite-svg-loader": "^3.1.2",
|
||||
"vue": "^3.2.25",
|
||||
"vue-router": "^4.0.12"
|
||||
"vite-svg-loader": "^3.4.0",
|
||||
"vue": "^3.2.37",
|
||||
"vue-router": "^4.1.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,11 +23,20 @@ const onDragOver = (event: DragEvent) => {
|
||||
}
|
||||
}
|
||||
|
||||
const wrapper = ref()
|
||||
|
||||
onConnect((params) => addEdges([params]))
|
||||
|
||||
const onDrop = (event: DragEvent) => {
|
||||
const type = event.dataTransfer?.getData('application/vueflow')
|
||||
const position = project({ x: event.clientX, y: event.clientY - 40 })
|
||||
|
||||
const flowbounds = wrapper.value.$el.getBoundingClientRect()
|
||||
|
||||
const position = project({
|
||||
x: event.clientX - flowbounds.left,
|
||||
y: event.clientY - flowbounds.top,
|
||||
})
|
||||
|
||||
const newNode = {
|
||||
id: getId(),
|
||||
type,
|
||||
@@ -40,7 +49,7 @@ const onDrop = (event: DragEvent) => {
|
||||
|
||||
<template>
|
||||
<div class="dndflow" @drop="onDrop">
|
||||
<VueFlow @dragover="onDragOver" />
|
||||
<VueFlow ref="wrapper" @dragover="onDragOver" />
|
||||
<Sidebar />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.25.2",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint": "^8.20.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-chai-friendly": "^0.7.2",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"prettier": "^2.7.1",
|
||||
"shx": "^0.3.4",
|
||||
"turbo": "^1.3.1",
|
||||
"turbo": "^1.3.4",
|
||||
"typescript": "^4.7.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"ts-patch": "^2.0.1",
|
||||
"typescript-transform-paths": "^3.3.1",
|
||||
"unplugin-auto-import": "^0.7.1",
|
||||
"vite": "^2.9.9",
|
||||
"unplugin-auto-import": "^0.7.2",
|
||||
"vite": "^2.9.14",
|
||||
"vite-plugin-vue-type-imports": "^0.2.0",
|
||||
"vue-tsc": "^0.35.0"
|
||||
"vue-tsc": "^0.35.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@braks/vue-flow": "^0.4.29",
|
||||
|
||||
@@ -30,18 +30,18 @@
|
||||
"release": "pnpm publish"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^8.4.2",
|
||||
"vue3-moveable": "^0.4.8"
|
||||
"@vueuse/core": "^8.9.4",
|
||||
"vue3-moveable": "^0.4.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@braks/vue-flow": "workspace:*",
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"ts-patch": "^2.0.1",
|
||||
"typescript-transform-paths": "^3.3.1",
|
||||
"unplugin-auto-import": "^0.7.1",
|
||||
"vite": "^2.9.9",
|
||||
"unplugin-auto-import": "^0.7.2",
|
||||
"vite": "^2.9.14",
|
||||
"vite-plugin-vue-type-imports": "^0.1.3",
|
||||
"vue-tsc": "^0.35.0"
|
||||
"vue-tsc": "^0.35.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@braks/vue-flow": "^0.4.29",
|
||||
|
||||
@@ -55,8 +55,8 @@
|
||||
"ts-patch": "^2.0.1",
|
||||
"typedoc": "^0.23.8",
|
||||
"typescript-transform-paths": "^3.3.1",
|
||||
"unplugin-auto-import": "^0.10.0",
|
||||
"vite": "^2.9.10",
|
||||
"unplugin-auto-import": "^0.10.1",
|
||||
"vite": "^2.9.14",
|
||||
"vite-plugin-vue-type-imports": "^0.2.0",
|
||||
"vite-svg-loader": "^3.4.0",
|
||||
"vue-tsc": "^0.38.9"
|
||||
|
||||
4702
pnpm-lock.yaml
generated
4702
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user