pds-dev-kit-web-test 2.5.284 → 2.5.286
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.
@@ -1025,6 +1025,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
1025
1025
|
selectedGroupBlock: (_d = selectedBlockId === null || selectedBlockId === void 0 ? void 0 : selectedBlockId.toString()) !== null && _d !== void 0 ? _d : 'ROOT', editingGroupBlock: editingGroupBlock, blockStructure: newblock, bulkIds: bulkBlockIds, onDoubleClickGroup: onDoubleClickGroup, onClickGroup: onClickGroup, onDoubleClickOutsideGroup: onDoubleClickOutsideGroup, onContextGroup: onContextGroup }, { children: layouts[layoutByDevice].map(function (each, index) {
|
1026
1026
|
var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === each.i; });
|
1027
1027
|
var isInBulk = bulkBlockIds.includes((0, group_1.formatCbIdToBlockId)(Number(each.i)));
|
1028
|
+
console.log(each.i, index);
|
1028
1029
|
if (!matchedCB) {
|
1029
1030
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
1030
1031
|
}
|
@@ -33,7 +33,7 @@ function FlexGridItem(_a) {
|
|
33
33
|
// : cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT[
|
34
34
|
// 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE'
|
35
35
|
// ];
|
36
|
-
return ((0, jsx_runtime_1.jsx)(GridItem, __assign({ style: {
|
36
|
+
return ((0, jsx_runtime_1.jsx)(GridItem, __assign({ "data-cb-id": cb.id, style: {
|
37
37
|
zIndex: zIndex,
|
38
38
|
gridArea: gridArea
|
39
39
|
// maxHeight: cb.componentBlockCode !== CB_ALL_CODES.CB_TEXT ? defaultHeight : undefined
|
@@ -197,6 +197,7 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
|
|
197
197
|
fontSize: "".concat(baseFontSize, "px")
|
198
198
|
} }, { children: (_a = props.componentBlocks) === null || _a === void 0 ? void 0 : _a.map(function (cb, index) {
|
199
199
|
var _a;
|
200
|
+
console.log(cb.id, index);
|
200
201
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItem_1.default, { cb: cb, index: index, device: device, rowHeight: rowHeight, zIndex: (_a = zOrders === null || zOrders === void 0 ? void 0 : zOrders[device === 'DESKTOP' ? 'desktop' : 'mobile'][cb.id]) !== null && _a !== void 0 ? _a : 0 }) }, cb.id));
|
201
202
|
}) })) })) })) }) }));
|
202
203
|
});
|