pds-dev-kit-web-test 2.5.310 → 2.5.311

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.
@@ -851,9 +851,11 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
851
851
  var _a, _b, _c, _d, _e, _f, _g;
852
852
  e.stopPropagation();
853
853
  if (id === 'BULK') {
854
+ console.log('id is BULK SO RETURNED');
854
855
  return;
855
856
  }
856
857
  if (editingGroupBlock === id && shortcutKeyMode === 'BULK_SELECT') {
858
+ console.log('editingGroupBlock === id && shortcutKeyMode === BULK_SELECT');
857
859
  return;
858
860
  }
859
861
  if (bulkBlockIds.includes(id) && shortcutKeyMode === 'BULK_SELECT') {
@@ -1059,7 +1061,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
1059
1061
  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) {
1060
1062
  var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === each.i; });
1061
1063
  var isInBulk = bulkBlockIds.includes((0, group_1.formatCbIdToBlockId)(Number(each.i)));
1062
- console.log('id: isInBulk', each.i, isInBulk);
1063
1064
  if (!matchedCB) {
1064
1065
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
1065
1066
  }
@@ -1072,18 +1073,16 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
1072
1073
  height: '100%'
1073
1074
  }, onClick: function (e) {
1074
1075
  e.stopPropagation();
1076
+ if (isInBulk) {
1077
+ clickOneCBInBulk(matchedCB.id);
1078
+ return;
1079
+ }
1075
1080
  if (editingGroupBlock !== 'ROOT') {
1076
1081
  if (!editableCBIDs.includes(matchedCB.id)) {
1077
- console.log(each.i, 'e.preventDefault()');
1078
1082
  e.preventDefault();
1079
1083
  return;
1080
1084
  }
1081
1085
  }
1082
- if (isInBulk) {
1083
- console.log(each.i, 'isInBulk onclickCB');
1084
- clickOneCBInBulk(matchedCB.id);
1085
- return;
1086
- }
1087
1086
  onClickCB(matchedCB.id);
1088
1087
  }, onContextMenu: function (e) {
1089
1088
  e.stopPropagation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.310",
3
+ "version": "2.5.311",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",