pds-dev-kit-web 2.2.229 → 2.2.230
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.
|
@@ -267,7 +267,9 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
267
267
|
return Array.from(set);
|
|
268
268
|
});
|
|
269
269
|
setSelectedBlockId(null);
|
|
270
|
-
var
|
|
270
|
+
var newBulkIdsSet = new Set(__spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true));
|
|
271
|
+
var newBulkIdsArray = Array.from(newBulkIdsSet);
|
|
272
|
+
var newBulkCBIds = newBulkIdsArray
|
|
271
273
|
.map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
|
|
272
274
|
.filter(function (each) { return each !== null; });
|
|
273
275
|
var childrenCBIds = [];
|
|
@@ -278,7 +280,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
278
280
|
else {
|
|
279
281
|
childrenCBIds = newBulkCBIds;
|
|
280
282
|
}
|
|
281
|
-
var groupDisabled = getWorkDirDirectChildrenLength() ===
|
|
283
|
+
var groupDisabled = getWorkDirDirectChildrenLength() === newBulkIdsArray.length;
|
|
282
284
|
sectionActionHandler &&
|
|
283
285
|
sectionActionHandler({
|
|
284
286
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
|
@@ -286,7 +288,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
286
288
|
block: {
|
|
287
289
|
type: 'BULK',
|
|
288
290
|
blockId: 'BULK',
|
|
289
|
-
childrenBlockIds:
|
|
291
|
+
childrenBlockIds: newBulkIdsArray,
|
|
290
292
|
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
|
|
291
293
|
childrenCBIds: childrenCBIds,
|
|
292
294
|
groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
|
package/package.json
CHANGED
package/release-note.md
CHANGED