diff --git a/packages/resize-rotate-node/example/App.vue b/packages/resize-rotate-node/example/App.vue index 62d88c93..23ec98a0 100644 --- a/packages/resize-rotate-node/example/App.vue +++ b/packages/resize-rotate-node/example/App.vue @@ -1,23 +1,58 @@ @@ -29,8 +64,9 @@ const onConnect = (params: Edge | Connection) => (elements.value = addEdge(param html, body, #root { - height: 100%; + height: 1024px; width: 100%; + margin: 0; font-family: 'JetBrains Mono', monospace; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; diff --git a/packages/resize-rotate-node/package.json b/packages/resize-rotate-node/package.json index 51341feb..c3b45987 100644 --- a/packages/resize-rotate-node/package.json +++ b/packages/resize-rotate-node/package.json @@ -38,13 +38,13 @@ "@vitejs/plugin-vue": "^2.3.3", "ts-patch": "^2.0.1", "typescript-transform-paths": "^3.3.1", - "unplugin-auto-import": "^0.7.2", + "unplugin-auto-import": "^0.11.2", "vite": "^2.9.14", - "vite-plugin-vue-type-imports": "^0.1.3", - "vue-tsc": "^0.35.2" + "vite-plugin-vue-type-imports": "^0.2.0", + "vue-tsc": "^0.40.1" }, "peerDependencies": { - "@braks/vue-flow": "^0.4.29", + "@braks/vue-flow": "^0.4.37", "vue": "^3.2.25" }, "publishConfig": { diff --git a/packages/resize-rotate-node/src/auto-imports.d.ts b/packages/resize-rotate-node/src/auto-imports.d.ts index 734b8548..7821e0e8 100644 --- a/packages/resize-rotate-node/src/auto-imports.d.ts +++ b/packages/resize-rotate-node/src/auto-imports.d.ts @@ -1,6 +1,7 @@ // Generated by 'unplugin-auto-import' -// We suggest you to commit this file into source control +export {} declare global { + const EffectScope: typeof import('vue')['EffectScope'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const computed: typeof import('vue')['computed'] @@ -24,7 +25,6 @@ declare global { const defineComponent: typeof import('vue')['defineComponent'] const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] const effectScope: typeof import('vue')['effectScope'] - const EffectScope: typeof import('vue')['EffectScope'] const extendRef: typeof import('@vueuse/core')['extendRef'] const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentScope: typeof import('vue')['getCurrentScope'] @@ -32,6 +32,8 @@ declare global { const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] const inject: typeof import('vue')['inject'] const isDefined: typeof import('@vueuse/core')['isDefined'] + const isProxy: typeof import('vue')['isProxy'] + const isReactive: typeof import('vue')['isReactive'] const isReadonly: typeof import('vue')['isReadonly'] const isRef: typeof import('vue')['isRef'] const logicAnd: typeof import('@vueuse/core')['logicAnd'] @@ -120,8 +122,8 @@ declare global { const useDark: typeof import('@vueuse/core')['useDark'] const useDateFormat: typeof import('@vueuse/core')['useDateFormat'] const useDebounce: typeof import('@vueuse/core')['useDebounce'] - const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn'] + const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion'] const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation'] const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio'] @@ -202,11 +204,11 @@ declare global { const useStyleTag: typeof import('@vueuse/core')['useStyleTag'] const useSwipe: typeof import('@vueuse/core')['useSwipe'] const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList'] - const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize'] const useTextSelection: typeof import('@vueuse/core')['useTextSelection'] + const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize'] const useThrottle: typeof import('@vueuse/core')['useThrottle'] - const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn'] + const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo'] const useTimeout: typeof import('@vueuse/core')['useTimeout'] const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn'] @@ -217,10 +219,10 @@ declare global { const useTransition: typeof import('@vueuse/core')['useTransition'] const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] const useUserMedia: typeof import('@vueuse/core')['useUserMedia'] - const useVibrate: typeof import('@vueuse/core')['useVibrate'] - const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] const useVModel: typeof import('@vueuse/core')['useVModel'] const useVModels: typeof import('@vueuse/core')['useVModels'] + const useVibrate: typeof import('@vueuse/core')['useVibrate'] + const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] const useWakeLock: typeof import('@vueuse/core')['useWakeLock'] const useWebNotification: typeof import('@vueuse/core')['useWebNotification'] const useWebSocket: typeof import('@vueuse/core')['useWebSocket'] @@ -237,9 +239,10 @@ declare global { const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable'] const watchOnce: typeof import('@vueuse/core')['watchOnce'] const watchPausable: typeof import('@vueuse/core')['watchPausable'] + const watchPostEffect: typeof import('vue')['watchPostEffect'] + const watchSyncEffect: typeof import('vue')['watchSyncEffect'] const watchThrottled: typeof import('@vueuse/core')['watchThrottled'] const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable'] const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] const whenever: typeof import('@vueuse/core')['whenever'] } -export {} diff --git a/packages/resize-rotate-node/src/node/ResizeRotateNode.vue b/packages/resize-rotate-node/src/node/ResizeRotateNode.vue index 62733a99..7d92ee5d 100644 --- a/packages/resize-rotate-node/src/node/ResizeRotateNode.vue +++ b/packages/resize-rotate-node/src/node/ResizeRotateNode.vue @@ -1,5 +1,5 @@