pds-dev-kit-web-test 2.5.300 → 2.5.302
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.
@@ -258,8 +258,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
258
258
|
return;
|
259
259
|
}
|
260
260
|
var bulks_1 = getCollisionGroupIds(selectedCBId);
|
261
|
-
// const newBulksSet = new Set([...bulkBlockIds, ...bulks]);
|
262
|
-
// const newBulks = Array.from(newBulksSet);
|
263
261
|
if (selectedBlockId) {
|
264
262
|
bulks_1.push(selectedBlockId);
|
265
263
|
}
|
@@ -279,6 +277,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
279
277
|
else {
|
280
278
|
childrenCBIds = newBulkCBIds;
|
281
279
|
}
|
280
|
+
var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === bulks_1.length;
|
282
281
|
sectionActionHandler &&
|
283
282
|
sectionActionHandler({
|
284
283
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
@@ -288,7 +287,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
288
287
|
blockId: 'BULK',
|
289
288
|
childrenBlockIds: bulks_1,
|
290
289
|
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
|
291
|
-
childrenCBIds: childrenCBIds
|
290
|
+
childrenCBIds: childrenCBIds,
|
291
|
+
groupDisabled: groupDisabled
|
292
292
|
}
|
293
293
|
}
|
294
294
|
});
|
@@ -349,6 +349,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
349
349
|
else {
|
350
350
|
childrenCBIds = newBulkCBIds;
|
351
351
|
}
|
352
|
+
var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === allRootChildIds.length;
|
352
353
|
sectionActionHandler &&
|
353
354
|
sectionActionHandler({
|
354
355
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
@@ -358,7 +359,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
358
359
|
blockId: 'BULK',
|
359
360
|
childrenBlockIds: allRootChildIds,
|
360
361
|
workDir: (_e = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _e !== void 0 ? _e : 'NOT-FOUND',
|
361
|
-
childrenCBIds: childrenCBIds
|
362
|
+
childrenCBIds: childrenCBIds,
|
363
|
+
groupDisabled: groupDisabled
|
362
364
|
}
|
363
365
|
}
|
364
366
|
});
|
@@ -425,6 +427,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
425
427
|
else {
|
426
428
|
childrenCBIds = newBulkCBIds;
|
427
429
|
}
|
430
|
+
var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === newBulkBlockIds.length;
|
428
431
|
sectionActionHandler &&
|
429
432
|
sectionActionHandler({
|
430
433
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
@@ -434,7 +437,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
434
437
|
blockId: 'BULK',
|
435
438
|
childrenBlockIds: newBulkBlockIds,
|
436
439
|
childrenCBIds: childrenCBIds,
|
437
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
|
440
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
|
441
|
+
groupDisabled: groupDisabled
|
438
442
|
}
|
439
443
|
}
|
440
444
|
});
|
@@ -475,6 +479,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
475
479
|
else {
|
476
480
|
childrenCBIds = newBulkCBIds;
|
477
481
|
}
|
482
|
+
var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === newBulks.length;
|
478
483
|
sectionActionHandler &&
|
479
484
|
sectionActionHandler({
|
480
485
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
@@ -484,7 +489,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
484
489
|
blockId: 'BULK',
|
485
490
|
childrenBlockIds: newBulks,
|
486
491
|
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : 'NOT-FOUND',
|
487
|
-
childrenCBIds: childrenCBIds
|
492
|
+
childrenCBIds: childrenCBIds,
|
493
|
+
groupDisabled: groupDisabled
|
488
494
|
}
|
489
495
|
}
|
490
496
|
});
|
@@ -867,6 +873,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
867
873
|
childrenCBIds_1 = newBulkCBIds_1;
|
868
874
|
}
|
869
875
|
setBulkBlockIds(newBulkBlockIds_1);
|
876
|
+
var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === newBulkBlockIds_1.length;
|
870
877
|
sectionActionHandler &&
|
871
878
|
sectionActionHandler({
|
872
879
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
@@ -876,7 +883,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
876
883
|
type: 'BULK',
|
877
884
|
childrenBlockIds: newBulkBlockIds_1,
|
878
885
|
childrenCBIds: childrenCBIds_1,
|
879
|
-
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND'
|
886
|
+
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
|
887
|
+
groupDisabled: groupDisabled
|
880
888
|
}
|
881
889
|
}
|
882
890
|
});
|
@@ -921,6 +929,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
921
929
|
else {
|
922
930
|
childrenCBIds_2 = newBulkCBIds_2;
|
923
931
|
}
|
932
|
+
var groupDisabled = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).length === newBulkBlockIds_2.length;
|
924
933
|
sectionActionHandler &&
|
925
934
|
sectionActionHandler({
|
926
935
|
type: '@CUSTOMSECTION/BLOCK_CLICKED',
|
@@ -930,7 +939,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
930
939
|
type: 'BULK',
|
931
940
|
childrenBlockIds: newBulkBlockIds_2,
|
932
941
|
childrenCBIds: childrenCBIds_2,
|
933
|
-
workDir: (_f = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _f !== void 0 ? _f : 'NOT-FOUND'
|
942
|
+
workDir: (_f = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _f !== void 0 ? _f : 'NOT-FOUND',
|
943
|
+
groupDisabled: groupDisabled
|
934
944
|
}
|
935
945
|
}
|
936
946
|
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pds-dev-kit-web-test",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.302",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"i18next-intervalplural-postprocessor": "^3.0.0",
|
23
23
|
"lottie-react": "^2.3.1",
|
24
24
|
"nuka-carousel": "^4.8.4",
|
25
|
-
"publ-echo": "^0.0.
|
25
|
+
"publ-echo": "^0.0.114",
|
26
26
|
"react-hook-form": "^7.28.1",
|
27
27
|
"react-i18next": "^11.12.0",
|
28
28
|
"react-router-dom": "^5.2.0",
|