@logicflow/core 2.0.16 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.turbo/turbo-build$colon$dev.log +2 -2
  2. package/.turbo/turbo-build.log +5 -5
  3. package/CHANGELOG.md +22 -0
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/es/LogicFlow.js +4 -1
  7. package/es/constant/index.d.ts +3 -1
  8. package/es/constant/index.js +2 -0
  9. package/es/keyboard/shortcut.js +7 -0
  10. package/es/model/GraphModel.js +2 -0
  11. package/es/model/SnaplineModel.d.ts +2 -1
  12. package/es/model/SnaplineModel.js +26 -11
  13. package/es/options.d.ts +1 -0
  14. package/es/util/resize.d.ts +12 -10
  15. package/es/util/resize.js +160 -81
  16. package/es/view/Control.d.ts +5 -1
  17. package/es/view/Control.js +23 -2
  18. package/es/view/behavior/dnd.js +3 -0
  19. package/lib/LogicFlow.js +4 -1
  20. package/lib/constant/index.d.ts +3 -1
  21. package/lib/constant/index.js +2 -0
  22. package/lib/keyboard/shortcut.js +7 -0
  23. package/lib/model/GraphModel.js +2 -0
  24. package/lib/model/SnaplineModel.d.ts +2 -1
  25. package/lib/model/SnaplineModel.js +26 -11
  26. package/lib/options.d.ts +1 -0
  27. package/lib/util/resize.d.ts +12 -10
  28. package/lib/util/resize.js +162 -83
  29. package/lib/view/Control.d.ts +5 -1
  30. package/lib/view/Control.js +22 -1
  31. package/lib/view/behavior/dnd.js +3 -0
  32. package/package.json +1 -1
  33. package/src/LogicFlow.tsx +7 -2
  34. package/src/constant/index.ts +2 -0
  35. package/src/keyboard/shortcut.ts +6 -0
  36. package/src/model/GraphModel.ts +2 -0
  37. package/src/model/SnaplineModel.ts +29 -11
  38. package/src/options.ts +1 -0
  39. package/src/util/resize.ts +200 -112
  40. package/src/view/Control.tsx +29 -5
  41. package/src/view/behavior/dnd.ts +3 -0
  42. package/stats.html +1 -1
@@ -1,10 +1,10 @@
1
1
 
2
- > @logicflow/core@2.0.15 build:dev /Users/didi/Desktop/github/LogicFlow/packages/core
2
+ > @logicflow/core@2.1.0 build:dev /Users/didi/Desktop/github/LogicFlow/packages/core
3
3
  > rss
4
4
 
5
5
  > [build:dev] pnpm run --if-present build:less && run-p -s build:cjs build:esm
6
6
 
7
- > @logicflow/core@2.0.15 build:less /Users/didi/Desktop/github/LogicFlow/packages/core
7
+ > @logicflow/core@2.1.0 build:less /Users/didi/Desktop/github/LogicFlow/packages/core
8
8
  > rss
9
9
 
10
10
  > [build:less] ./scripts/build-less
@@ -1,11 +1,11 @@
1
1
 
2
- > @logicflow/core@2.0.15 prebuild /Users/didi/Desktop/github/LogicFlow/packages/core
2
+ > @logicflow/core@2.1.0 prebuild /Users/didi/Desktop/github/LogicFlow/packages/core
3
3
  > rss
4
4
 
5
5
  > [prebuild] run-s -s clean:build
6
6
  > [clean:build] rimraf dist es lib
7
7
 
8
- > @logicflow/core@2.0.15 build /Users/didi/Desktop/github/LogicFlow/packages/core
8
+ > @logicflow/core@2.1.0 build /Users/didi/Desktop/github/LogicFlow/packages/core
9
9
  > rss
10
10
 
11
11
  > [build] run-p -s build:dev build:umd
@@ -20,9 +20,9 @@
20
20
  | Bundle Format: umd |
21
21
  | Bundle Name: Core |
22
22
  | Destination: dist/index.min.js |
23
- | Bundle Size: 388.55 KB |
24
- | Minified Size: 387.32 KB |
25
- | GZipped Size: 112.19 KB |
23
+ | Bundle Size: 390.33 KB |
24
+ | Minified Size: 389.1 KB |
25
+ | GZipped Size: 112.68 KB |
26
26
  | |
27
27
  +------------------------------------+
28
28
  (!) Circular dependencies
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: 修复点击节点会触发多选的问题和vue-node-registry引入报错问题
8
+
9
+ ## 2.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - - [fix] 修复关闭网格吸附后点击节点时容易无法选中的问题
14
+ - [feature] 支持shift节点等比缩放
15
+ - [fix] 修复批量框选后,调整边起终点报错的 bug
16
+ - [fix] snapline cannot show when zoomed
17
+ - [feature] 画布增加blank:mousemove事件外发,并新增isDragging参数以区分鼠标是拖拽移动还是普通移动
18
+ - [feature] 邮件菜单某项的禁用能力
19
+ - 修复vue3项目中小地图插件不显示vue自定义节点问题 close #2200
20
+ - 修复渐进连线插件isInNode判定过于精确导致的偶现会连出两条线的问题 close #2210
21
+ - 修复带label的元素复制粘贴后label展示错位且不可拖拽的问题 close #2196
22
+ - 修复快照插件导出图片受浏览器对canvas限制 close #2187
23
+ - 优化文档中关于 OverlapMode 属性的说明
24
+
3
25
  ## 2.0.16
4
26
 
5
27
  ### Patch Changes