pds-dev-kit-web-test 2.5.139 → 2.5.141
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.
@@ -259,7 +259,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
259
259
|
type: 'BULK',
|
260
260
|
blockId: 'BULK',
|
261
261
|
childrenBlockIds: bulks,
|
262
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
262
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
|
263
263
|
childrenCBIds: bulks
|
264
264
|
.map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
|
265
265
|
.filter(function (each) { return each !== null; })
|
@@ -333,7 +333,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
333
333
|
blockId: 'BULK',
|
334
334
|
childrenBlockIds: newBulkBlockIds,
|
335
335
|
childrenCBIds: newBulkCBIds,
|
336
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
336
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
|
337
337
|
}
|
338
338
|
}
|
339
339
|
});
|
@@ -354,7 +354,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
354
354
|
type: 'BULK',
|
355
355
|
blockId: 'BULK',
|
356
356
|
childrenBlockIds: bulks,
|
357
|
-
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock,
|
357
|
+
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
|
358
358
|
childrenCBIds: bulks
|
359
359
|
.map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
|
360
360
|
.filter(function (each) { return each !== null; })
|
@@ -375,7 +375,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
375
375
|
blockId: blockId,
|
376
376
|
type: blockType,
|
377
377
|
cbId: id,
|
378
|
-
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock,
|
378
|
+
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : 'NOT-FOUND'
|
379
379
|
}
|
380
380
|
}
|
381
381
|
});
|
@@ -389,7 +389,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
389
389
|
block: {
|
390
390
|
blockId: blockId,
|
391
391
|
type: 'GROUP_BLOCK',
|
392
|
-
workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock,
|
392
|
+
workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _d !== void 0 ? _d : 'NOT-FOUND',
|
393
393
|
childrenBlockIds: (_e = (0, group_1.findDirectChildrenBlockIds)(newblock, blockId)) !== null && _e !== void 0 ? _e : [],
|
394
394
|
childrenCBIds: (_f = (0, group_1.findDirectChildrenCbIds)(newblock, blockId)) !== null && _f !== void 0 ? _f : []
|
395
395
|
}
|
@@ -418,7 +418,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
418
418
|
blockId: blockId,
|
419
419
|
cbId: id,
|
420
420
|
type: 'COMPONENT_BLOCK',
|
421
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
421
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
|
422
422
|
}
|
423
423
|
}
|
424
424
|
});
|
@@ -462,7 +462,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
462
462
|
sectionActionHandler &&
|
463
463
|
sectionActionHandler({
|
464
464
|
type: '@CUSTOMSECTION/BULK_DRAG_STOP',
|
465
|
-
payload: __assign(__assign({}, props), { outerBasedChildrenPositions: outerBasedChildrenPositions, workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
465
|
+
payload: __assign(__assign({}, props), { outerBasedChildrenPositions: outerBasedChildrenPositions, workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND' })
|
466
466
|
});
|
467
467
|
return;
|
468
468
|
}
|
@@ -487,7 +487,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
487
487
|
blockId: blockId,
|
488
488
|
cbId: numberId,
|
489
489
|
type: 'COMPONENT_BLOCK',
|
490
|
-
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock,
|
490
|
+
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : 'NOT-FOUND'
|
491
491
|
}
|
492
492
|
}
|
493
493
|
});
|
@@ -496,7 +496,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
496
496
|
if (sectionActionHandler && isIdNumber) {
|
497
497
|
sectionActionHandler({
|
498
498
|
type: '@CUSTOMSECTION/CB_DRAG_STOP',
|
499
|
-
payload: __assign(__assign({}, props), { blockId: blockId, workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock,
|
499
|
+
payload: __assign(__assign({}, props), { blockId: blockId, workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _d !== void 0 ? _d : 'NOT-FOUND' })
|
500
500
|
});
|
501
501
|
}
|
502
502
|
};
|
@@ -518,7 +518,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
518
518
|
if (sectionActionHandler && isIdNumber) {
|
519
519
|
sectionActionHandler({
|
520
520
|
type: '@CUSTOMSECTION/CB_RESIZE_STOP',
|
521
|
-
payload: __assign(__assign({}, props), { blockId: (0, group_1.formatCbIdToBlockId)(numberId), workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
521
|
+
payload: __assign(__assign({}, props), { blockId: (0, group_1.formatCbIdToBlockId)(numberId), workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND' })
|
522
522
|
});
|
523
523
|
}
|
524
524
|
};
|
@@ -540,7 +540,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
540
540
|
if (sectionActionHandler && isIdNumber) {
|
541
541
|
sectionActionHandler({
|
542
542
|
type: '@CUSTOMSECTION/CB_AUTO_FIT_CONTENT',
|
543
|
-
payload: __assign(__assign({}, props), { details: { hadPaddingChanged: props.hasPaddingChanged }, blockId: (0, group_1.formatCbIdToBlockId)(numberId), workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
543
|
+
payload: __assign(__assign({}, props), { details: { hadPaddingChanged: props.hasPaddingChanged }, blockId: (0, group_1.formatCbIdToBlockId)(numberId), workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND' })
|
544
544
|
});
|
545
545
|
}
|
546
546
|
};
|
@@ -572,7 +572,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
572
572
|
block: {
|
573
573
|
blockId: blockId,
|
574
574
|
type: 'GROUP_BLOCK',
|
575
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
575
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
|
576
576
|
childrenBlockIds: (_b = (0, group_1.findDirectChildrenBlockIds)(newblock, blockId)) !== null && _b !== void 0 ? _b : [],
|
577
577
|
childrenCBIds: (_c = (0, group_1.findDirectChildrenCbIds)(newblock, blockId)) !== null && _c !== void 0 ? _c : []
|
578
578
|
},
|
@@ -647,7 +647,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
647
647
|
blockId: oneLastBlockId,
|
648
648
|
cbId: cbId,
|
649
649
|
type: 'COMPONENT_BLOCK',
|
650
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
650
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
|
651
651
|
}
|
652
652
|
}
|
653
653
|
});
|
@@ -710,7 +710,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
710
710
|
blockId: oneLastBlockId,
|
711
711
|
type: 'COMPONENT_BLOCK',
|
712
712
|
cbId: cbId,
|
713
|
-
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock,
|
713
|
+
workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
|
714
714
|
}
|
715
715
|
}
|
716
716
|
});
|
@@ -730,7 +730,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
730
730
|
type: 'BULK',
|
731
731
|
childrenBlockIds: newBulkBlockIds_1,
|
732
732
|
childrenCBIds: newBulkCBIds_1,
|
733
|
-
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock,
|
733
|
+
workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND'
|
734
734
|
}
|
735
735
|
}
|
736
736
|
});
|
@@ -753,7 +753,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
753
753
|
block: {
|
754
754
|
blockId: id,
|
755
755
|
type: 'GROUP_BLOCK',
|
756
|
-
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock,
|
756
|
+
workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : 'NOT-FOUND',
|
757
757
|
childrenBlockIds: (_d = (0, group_1.findDirectChildrenBlockIds)(newblock, id)) !== null && _d !== void 0 ? _d : [],
|
758
758
|
childrenCBIds: (_e = (0, group_1.findDirectChildrenCbIds)(newblock, id)) !== null && _e !== void 0 ? _e : []
|
759
759
|
}
|
@@ -776,7 +776,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
776
776
|
type: 'BULK',
|
777
777
|
childrenBlockIds: newBulkBlockIds_2,
|
778
778
|
childrenCBIds: newBulkCBIds_2,
|
779
|
-
workDir: (_f = (0, group_1.getBlockWorkDirPath)(newblock,
|
779
|
+
workDir: (_f = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _f !== void 0 ? _f : 'NOT-FOUND'
|
780
780
|
}
|
781
781
|
}
|
782
782
|
});
|
@@ -795,7 +795,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
795
795
|
block: {
|
796
796
|
blockId: id,
|
797
797
|
type: 'GROUP_BLOCK',
|
798
|
-
workDir: (_g = (0, group_1.getBlockWorkDirPath)(newblock,
|
798
|
+
workDir: (_g = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _g !== void 0 ? _g : 'NOT-FOUND',
|
799
799
|
childrenBlockIds: newBulkBlockIds,
|
800
800
|
childrenCBIds: newBulkCBIds
|
801
801
|
}
|
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.141",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"lottie-react": "^2.3.1",
|
24
24
|
"nuka-carousel": "^4.8.4",
|
25
25
|
"publ-echo": "^0.0.99",
|
26
|
-
"publ-echo-test": "^0.0.
|
26
|
+
"publ-echo-test": "^0.0.140",
|
27
27
|
"react-hook-form": "^7.28.1",
|
28
28
|
"react-i18next": "^11.12.0",
|
29
29
|
"react-router-dom": "^5.2.0",
|