pds-dev-kit-web-test 0.3.30 → 0.3.31
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.
|
@@ -100,7 +100,6 @@ function CustomSection(props) {
|
|
|
100
100
|
(0, react_1.useEffect)(function () {
|
|
101
101
|
var _a = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : []), lg = _a.lg, sm = _a.sm;
|
|
102
102
|
setLayouts(function (prev) {
|
|
103
|
-
console.log('custom section EFFECT: componentBlocks setLayouts');
|
|
104
103
|
var groupInLG = (0, useGroupDrag_2.getGroupCB)(prev.lg);
|
|
105
104
|
var groupInSM = (0, useGroupDrag_2.getGroupCB)(prev.sm);
|
|
106
105
|
var groupedCBIdsInLG = (groupInLG === null || groupInLG === void 0 ? void 0 : groupInLG.childrenIds) || [];
|
|
@@ -215,7 +214,9 @@ function CustomSection(props) {
|
|
|
215
214
|
var isIdNumber = !Number.isNaN(numberId);
|
|
216
215
|
if (isIdNumber) {
|
|
217
216
|
if ((0, useGroupDrag_2.getGroupCB)(layouts[layoutByDevice])) {
|
|
218
|
-
|
|
217
|
+
setTimeout(function () {
|
|
218
|
+
breakGroupCB();
|
|
219
|
+
}, 100);
|
|
219
220
|
}
|
|
220
221
|
setSelectedCB(numberId);
|
|
221
222
|
}
|
|
@@ -335,6 +336,7 @@ function CustomSection(props) {
|
|
|
335
336
|
}
|
|
336
337
|
function keepSimilarOrderToPreventRerender(arr) {
|
|
337
338
|
var arrCopy = __spreadArray([], arr, true);
|
|
339
|
+
console.log('arrcopy', arrCopy);
|
|
338
340
|
var groupIdx = arrCopy.findIndex(function (each) { return each.i === 'group'; });
|
|
339
341
|
if (groupIdx >= 0) {
|
|
340
342
|
var group = arrCopy.splice(groupIdx, 1)[0];
|
package/package.json
CHANGED
package/release-note.md
CHANGED