@logicflow/core 2.0.4 → 2.0.6
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.
- package/.turbo/turbo-build$colon$dev.log +2 -2
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +19 -0
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/algorithm/rotate.d.ts +31 -0
- package/es/algorithm/rotate.js +43 -0
- package/es/model/BaseModel.d.ts +9 -0
- package/es/model/GraphModel.d.ts +7 -1
- package/es/model/GraphModel.js +11 -1
- package/es/model/node/BaseNodeModel.d.ts +7 -0
- package/es/model/node/BaseNodeModel.js +54 -1
- package/es/util/graph.d.ts +1 -1
- package/es/util/resize.d.ts +23 -9
- package/es/util/resize.js +139 -16
- package/es/view/Control.d.ts +1 -0
- package/es/view/Control.js +6 -1
- package/lib/algorithm/rotate.d.ts +31 -0
- package/lib/algorithm/rotate.js +50 -0
- package/lib/model/BaseModel.d.ts +9 -0
- package/lib/model/GraphModel.d.ts +7 -1
- package/lib/model/GraphModel.js +11 -1
- package/lib/model/node/BaseNodeModel.d.ts +7 -0
- package/lib/model/node/BaseNodeModel.js +54 -1
- package/lib/util/graph.d.ts +1 -1
- package/lib/util/resize.d.ts +23 -9
- package/lib/util/resize.js +141 -17
- package/lib/view/Control.d.ts +1 -0
- package/lib/view/Control.js +6 -1
- package/package.json +1 -1
- package/src/algorithm/rotate.ts +55 -0
- package/src/model/BaseModel.ts +16 -0
- package/src/model/GraphModel.ts +13 -2
- package/src/model/node/BaseNodeModel.ts +48 -0
- package/src/util/graph.ts +1 -1
- package/src/util/resize.ts +244 -12
- package/src/view/Control.tsx +7 -1
- package/stats.html +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> @logicflow/core@2.0.
|
|
2
|
+
> @logicflow/core@2.0.6 build:dev /Users/r0ger1tlearn/WorkSpace/Github/DiDi/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.
|
|
7
|
+
> @logicflow/core@2.0.6 build:less /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/core
|
|
8
8
|
> rss
|
|
9
9
|
|
|
10
10
|
> [build:less] ./scripts/build-less
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
> @logicflow/core@2.0.
|
|
2
|
+
> @logicflow/core@2.0.6 prebuild /Users/r0ger1tlearn/WorkSpace/Github/DiDi/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.
|
|
8
|
+
> @logicflow/core@2.0.6 build /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/core
|
|
9
9
|
> rss
|
|
10
10
|
|
|
11
11
|
> [build] run-p -s build:dev build:umd
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
| [32m[1mBundle Format:[22m[39m [33mumd[39m |
|
|
21
21
|
| [32m[1mBundle Name:[22m[39m [33mCore[39m |
|
|
22
22
|
| [32m[1mDestination:[22m[39m [33mdist/index.min.js[39m |
|
|
23
|
-
| [32m[1mBundle Size:[22m[39m [
|
|
24
|
-
| [32m[1mMinified Size:[22m[39m [
|
|
25
|
-
| [32m[1mGZipped Size:[22m[39m [
|
|
23
|
+
| [32m[1mBundle Size:[22m[39m [33m378.13 KB[39m |
|
|
24
|
+
| [32m[1mMinified Size:[22m[39m [33m376.88 KB[39m |
|
|
25
|
+
| [32m[1mGZipped Size:[22m[39m [33m109.25 KB[39m |
|
|
26
26
|
| |
|
|
27
27
|
+------------------------------------+
|
|
28
28
|
[1m[33m(!) Circular dependencies[39m[22m
|
|
@@ -30,4 +30,4 @@ src/index.ts -> src/LogicFlow.tsx -> src/index.ts
|
|
|
30
30
|
src/util/index.ts -> src/util/edge.ts -> src/util/index.ts
|
|
31
31
|
src/util/index.ts -> src/util/edge.ts -> src/algorithm/index.ts -> src/algorithm/outline.ts -> src/util/index.ts
|
|
32
32
|
...and 18 more
|
|
33
|
-
[32mcreated [1mdist/index.min.js[22m in [
|
|
33
|
+
[32mcreated [1mdist/index.min.js[22m in [1m14.3s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat(core&extension): 解决 transform 相关问题 #1446
|
|
8
|
+
- fix(core&extension): 优化分组缩放时子元素是否缩放的逻辑,并解决元素缩放时出现的问题
|
|
9
|
+
- fix(extension): 解决动态分组 resize 时,建议增加参数控制子元素是否需要同时缩放的问题 close #1826
|
|
10
|
+
|
|
11
|
+
## 2.0.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- fix(core&extension): fix bugs from issues
|
|
16
|
+
- fix(core): update import path to relative path style to remove compile error in angular(修复angular中引用后编译报错问题)
|
|
17
|
+
- fix(core): 修复BaseNodeModel的getData()拿不到width和height的问题(#1826)
|
|
18
|
+
- fix(core): node => rotate+正常模式resize(#1428)
|
|
19
|
+
- fix(core): 外部调用handleResize()没有传入anchor坐标不触发recalcRotatedResizeInfo方法
|
|
20
|
+
- chore(core): rotate+正常模式resize的相关变量名称从anchor改为control
|
|
21
|
+
|
|
3
22
|
## 2.0.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|