@next-core/editor-bricks-helper 0.42.2 → 0.42.5

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/CHANGELOG.md CHANGED
@@ -3,131 +3,89 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.42.2](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.1...@next-core/editor-bricks-helper@0.42.2) (2022-06-16)
7
-
8
-
9
- ### Bug Fixes
6
+ ## [0.42.5](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.4...@next-core/editor-bricks-helper@0.42.5) (2022-06-24)
10
7
 
11
- * **BuilderDataManager:** add node redirect parent error ([ac3e0cc](https://github.com/easyops-cn/next-core/commit/ac3e0cc2ab4115062eb057fce803de23bbd77cbf))
8
+ **Note:** Version bump only for package @next-core/editor-bricks-helper
12
9
 
13
10
 
14
11
 
15
12
 
16
13
 
17
- ## [0.42.1](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.0...@next-core/editor-bricks-helper@0.42.1) (2022-06-15)
14
+ ## [0.42.4](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.3...@next-core/editor-bricks-helper@0.42.4) (2022-06-23)
18
15
 
19
16
  **Note:** Version bump only for package @next-core/editor-bricks-helper
20
17
 
18
+ ## [0.42.3](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.2...@next-core/editor-bricks-helper@0.42.3) (2022-06-22)
21
19
 
20
+ ### Bug Fixes
22
21
 
22
+ - **BuilderDataManage:** sortUid incorrect after add node ([b7d2c1b](https://github.com/easyops-cn/next-core/commit/b7d2c1ba615f8242f46261218c3dbb7b36db2441))
23
23
 
24
+ ## [0.42.2](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.1...@next-core/editor-bricks-helper@0.42.2) (2022-06-16)
24
25
 
25
- # [0.42.0](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.41.1...@next-core/editor-bricks-helper@0.42.0) (2022-06-14)
26
-
26
+ ### Bug Fixes
27
27
 
28
- ### Features
28
+ - **BuilderDataManager:** add node redirect parent error ([ac3e0cc](https://github.com/easyops-cn/next-core/commit/ac3e0cc2ab4115062eb057fce803de23bbd77cbf))
29
29
 
30
- * **BuilderDataManager:** support preview snippet apply ([ef506d4](https://github.com/easyops-cn/next-core/commit/ef506d4ae83946665e1a30a125948ff5504ba4aa))
30
+ ## [0.42.1](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.42.0...@next-core/editor-bricks-helper@0.42.1) (2022-06-15)
31
31
 
32
+ **Note:** Version bump only for package @next-core/editor-bricks-helper
32
33
 
34
+ # [0.42.0](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.41.1...@next-core/editor-bricks-helper@0.42.0) (2022-06-14)
33
35
 
36
+ ### Features
34
37
 
38
+ - **BuilderDataManager:** support preview snippet apply ([ef506d4](https://github.com/easyops-cn/next-core/commit/ef506d4ae83946665e1a30a125948ff5504ba4aa))
35
39
 
36
40
  ## [0.41.1](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.41.0...@next-core/editor-bricks-helper@0.41.1) (2022-06-10)
37
41
 
38
42
  **Note:** Version bump only for package @next-core/editor-bricks-helper
39
43
 
40
-
41
-
42
-
43
-
44
44
  # [0.41.0](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.40.1...@next-core/editor-bricks-helper@0.41.0) (2022-06-10)
45
45
 
46
-
47
46
  ### Features
48
47
 
49
- * **BuilderDataManager:** support preview addNode ([b5b0ee7](https://github.com/easyops-cn/next-core/commit/b5b0ee7e55466486a6d31656ec384d0114111ce7))
50
-
51
-
52
-
53
-
48
+ - **BuilderDataManager:** support preview addNode ([b5b0ee7](https://github.com/easyops-cn/next-core/commit/b5b0ee7e55466486a6d31656ec384d0114111ce7))
54
49
 
55
50
  ## [0.40.1](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.40.0...@next-core/editor-bricks-helper@0.40.1) (2022-06-06)
56
51
 
57
52
  **Note:** Version bump only for package @next-core/editor-bricks-helper
58
53
 
59
-
60
-
61
-
62
-
63
54
  # [0.40.0](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.32...@next-core/editor-bricks-helper@0.40.0) (2022-06-02)
64
55
 
65
-
66
56
  ### Features
67
57
 
68
- * **BuilderDataManager:** support workbench move ([d6f892e](https://github.com/easyops-cn/next-core/commit/d6f892e684586873098fa1790001b4c8c8d690db))
69
- * **BuilderDataManager:** support workbench move ([e37f490](https://github.com/easyops-cn/next-core/commit/e37f490c5580182da3638ad9ffa81267b51638aa))
70
-
71
-
72
-
73
-
58
+ - **BuilderDataManager:** support workbench move ([d6f892e](https://github.com/easyops-cn/next-core/commit/d6f892e684586873098fa1790001b4c8c8d690db))
59
+ - **BuilderDataManager:** support workbench move ([e37f490](https://github.com/easyops-cn/next-core/commit/e37f490c5580182da3638ad9ffa81267b51638aa))
74
60
 
75
61
  ## [0.39.32](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.31...@next-core/editor-bricks-helper@0.39.32) (2022-06-01)
76
62
 
77
63
  **Note:** Version bump only for package @next-core/editor-bricks-helper
78
64
 
79
-
80
-
81
-
82
-
83
65
  ## [0.39.31](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.30...@next-core/editor-bricks-helper@0.39.31) (2022-05-27)
84
66
 
85
67
  **Note:** Version bump only for package @next-core/editor-bricks-helper
86
68
 
87
-
88
-
89
-
90
-
91
69
  ## [0.39.30](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.29...@next-core/editor-bricks-helper@0.39.30) (2022-05-26)
92
70
 
93
71
  **Note:** Version bump only for package @next-core/editor-bricks-helper
94
72
 
95
-
96
-
97
-
98
-
99
73
  ## [0.39.29](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.28...@next-core/editor-bricks-helper@0.39.29) (2022-05-13)
100
74
 
101
75
  **Note:** Version bump only for package @next-core/editor-bricks-helper
102
76
 
103
-
104
-
105
-
106
-
107
77
  ## [0.39.28](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.27...@next-core/editor-bricks-helper@0.39.28) (2022-05-11)
108
78
 
109
79
  **Note:** Version bump only for package @next-core/editor-bricks-helper
110
80
 
111
-
112
-
113
-
114
-
115
81
  ## [0.39.27](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.26...@next-core/editor-bricks-helper@0.39.27) (2022-05-10)
116
82
 
117
83
  **Note:** Version bump only for package @next-core/editor-bricks-helper
118
84
 
119
-
120
-
121
-
122
-
123
85
  ## [0.39.26](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.25...@next-core/editor-bricks-helper@0.39.26) (2022-05-09)
124
86
 
125
87
  **Note:** Version bump only for package @next-core/editor-bricks-helper
126
88
 
127
-
128
-
129
-
130
-
131
89
  ## [0.39.25](https://github.com/easyops-cn/next-core/compare/@next-core/editor-bricks-helper@0.39.24...@next-core/editor-bricks-helper@0.39.25) (2022-05-07)
132
90
 
133
91
  **Note:** Version bump only for package @next-core/editor-bricks-helper
@@ -1179,8 +1179,9 @@
1179
1179
  var overIndex = sortUids.findIndex(item => item === dragOverNodeUid);
1180
1180
  sortIndex = dragStatus === "top" ? overIndex : overIndex + 1; // 排序修正
1181
1181
 
1182
- sortNodeIds.splice(sortIndex, 0, nodeData.id);
1183
- sortUids.splice(sortIndex, 0, (_dragEdge$child = dragEdge === null || dragEdge === void 0 ? void 0 : dragEdge.child) !== null && _dragEdge$child !== void 0 ? _dragEdge$child : null);
1182
+ sortNodeIds.splice(sortIndex, 0, nodeData.id); // 如果是新增的情况下, 没有edge, 则取dragNodeUid(新创建的uid)
1183
+
1184
+ sortUids.splice(sortIndex, 0, (_dragEdge$child = dragEdge === null || dragEdge === void 0 ? void 0 : dragEdge.child) !== null && _dragEdge$child !== void 0 ? _dragEdge$child : dragNodeUid);
1184
1185
  }
1185
1186
 
1186
1187
  return {