pds-dev-kit-web-test 2.5.309 → 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.
@@ -777,7 +777,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
777
777
  return;
778
778
  }
779
779
  if (shortcutKeyMode === 'BULK_SELECT') {
780
- if (bulkBlockIds.length < 2) {
780
+ if (bulkBlockIds.length <= 2) {
781
781
  var oneLastBlockId = bulkBlockIds.filter(function (each) { return each !== blockId; })[0];
782
782
  setBulkBlockIds([]);
783
783
  if (!oneLastBlockId) {
@@ -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') {
@@ -1071,16 +1073,16 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
1071
1073
  height: '100%'
1072
1074
  }, onClick: function (e) {
1073
1075
  e.stopPropagation();
1076
+ if (isInBulk) {
1077
+ clickOneCBInBulk(matchedCB.id);
1078
+ return;
1079
+ }
1074
1080
  if (editingGroupBlock !== 'ROOT') {
1075
1081
  if (!editableCBIDs.includes(matchedCB.id)) {
1076
1082
  e.preventDefault();
1077
1083
  return;
1078
1084
  }
1079
1085
  }
1080
- if (isInBulk) {
1081
- clickOneCBInBulk(matchedCB.id);
1082
- return;
1083
- }
1084
1086
  onClickCB(matchedCB.id);
1085
1087
  }, onContextMenu: function (e) {
1086
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.309",
3
+ "version": "2.5.311",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",