Commit Graph
153 Commits
Author SHA1 Message Date
braks e24f436fc5 chore(core): cleanup type issues 2024-01-29 21:56:44 +01:00
braks 5e8001f7b0 chore(core,viewport): cleanup viewport helper 2024-01-29 21:56:44 +01:00
braks a5091b9b0c refactor(core,viewport): use useResizeHandler composable 2024-01-29 21:56:44 +01:00
braks e427e21c28 chore(core): cleanup 2024-01-29 21:56:44 +01:00
braks be9e58092a chore(core): cleanup condition 2024-01-25 08:57:52 +01:00
braks 2b82098fab fix(core,key-press): check if key or code exists before matching 2024-01-25 08:57:52 +01:00
braks 347715dd11 fix(core,key-filter): return false from bool key filter 2024-01-21 14:35:35 +01:00
braks 1012f2cae9 feat(core): add useConnection composable 2024-01-21 14:35:35 +01:00
braks 458b5d42ba fix(core): remove ts-transform-paths and use relative paths 2023-12-12 23:36:33 +01:00
braks 277979f72c fix(core): use correct prop value when watcher triggers 2023-11-10 15:19:16 +01:00
braks 6162389cc2 revert(core): cleanup imports from vueuse/core that exist in vue
This reverts commit 7cc798ad
2023-11-08 16:22:15 +01:00
braks 17e5966e4f revert(core): import toValue from vueuse/core to avoid ambiguous export 2023-11-08 15:12:28 +01:00
braks c1603b2d58 feat(core): add nodes to isValidConnection args 2023-11-08 08:27:12 +01:00
braks 75cb0c9b1e chore(core): cleanup 2023-11-08 08:27:12 +01:00
braks 7cc798adae chore(core): cleanup imports from vueuse/core that exist in vue 2023-11-08 08:27:12 +01:00
braks c30ddc61ed fix(core): properly cleanup handlers when drag is disabled 2023-11-04 19:25:49 +01:00
braks ac8dab30c7 fix(core): add immediate flag to prop watchers 2023-11-04 19:25:49 +01:00
braks 009e6faf0d chore(core): add comments 2023-10-30 13:36:07 +01:00
jayrchampandBraks 8651019eb6 fix(core): ensure events introduced by the watcher are released when no longer needed 2023-10-30 13:36:07 +01:00
braks 53be29de8a chore(core): cleanup 2023-10-30 13:36:07 +01:00
braks 3b175a553e refactor(core): remove primtive typeguards 2023-10-30 13:36:07 +01:00
braks 785f147236 perf(core): cleanup possible re-bindings of listeners in useKeyPress 2023-10-30 13:36:07 +01:00
braks 11138a6d9a fix(core): create predicate for string key filters 2023-10-30 13:36:07 +01:00
braks 2a407f59e3 refactor(core): add stub for addEventListener in useWindow 2023-10-30 13:36:07 +01:00
braks a32c81aaf3 refactor(core): add warning when viewport noop is triggered 2023-10-30 13:36:07 +01:00
braks b0ffe42007 chore(core): update d3 type deps 2023-10-07 11:39:48 +02:00
braks e71a2aa4ef feat(core): add nodeDragThreshold option 2023-10-06 18:00:01 +02:00
braks db894a5adb feat(core): add flowToScreenCoordinate & screenToFlowCoordinate to viewport actions 2023-10-06 18:00:01 +02:00
braks 505ecc4c21 fix(core): reset isPressed value when switching from boolean to other keyfilter 2023-08-21 17:44:20 +02:00
braks 65c3a05d84 chore(core): cleanup 2023-08-21 17:44:20 +02:00
braks f095917e97 fix(core): clear key on keyup so combinations work during simultaneous keypress 2023-08-21 17:44:20 +02:00
braks 0867637b50 fix(core): allow passing key combination as string 2023-08-21 17:44:20 +02:00
braks 45f18d5459 fix(core): use detached scope to dispose state and stop watcher 2023-07-24 23:46:59 +02:00
braks 620852b860 fix(core): watch applyDefault state in useVueFlow scope 2023-07-24 23:46:59 +02:00
braks 4412516476 chore(core): cleanup 2023-07-24 23:46:59 +02:00
braks 9f63252c62 feat(core): add setViewport and getViewport to viewport helper 2023-07-24 23:46:59 +02:00
braks a2e4d99f5b fix(core): dont wait for nodesInitialized to trigger for viewport helper 2023-07-24 23:46:59 +02:00
braks 42aa13e2a5 chore(core): cleanup useZoomPanHelper 2023-07-24 23:46:59 +02:00
braks 7df2bfa146 feat(core): resolve promise from viewport actions on transition end 2023-07-24 23:46:59 +02:00
braks 6bd442f844 fix(core): abort fit view when there's no nodes to fit around 2023-07-24 09:55:03 +02:00
braks 4d5bbab506 fix(core): use noop viewport operations instead of waiting for promise 2023-07-19 19:12:29 +02:00
braks 245dd82574 fix(core): prioritize handle below during handle lookup 2023-07-10 19:20:26 +02:00
Braks 55de815a39 chore(core): cleanup (#1003) 2023-07-10 19:20:26 +02:00
braks 435cb9b687 refactor(core): change nodeEl and edgeEl type to allow ref(null) 2023-07-10 19:20:26 +02:00
braks b350486db3 chore(core): cleanup 2023-06-15 22:35:25 +02:00
braks f3931a2c05 fix(core): consider handle dimensions when checking for closest handle 2023-06-15 22:35:25 +02:00
braks b386c8580f fix(core): trigger connect if end handle exist in state 2023-06-15 22:35:25 +02:00
braks e42897e3ed fix(core): filter closest handles by validity 2023-05-25 20:48:26 +02:00
braks 1690891804 fix(core): use all handles in radius and find closest valid one 2023-05-25 20:48:26 +02:00
braks 8466e85330 chore(core): lint 2023-05-25 20:48:26 +02:00