pds-dev-kit-web-test 2.7.420 → 2.7.422

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.
@@ -583,19 +583,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
583
583
  if (!props.item) {
584
584
  return;
585
585
  }
586
- var blockKind = (0, group_1.getBlockIdKind)(props.item.i);
587
- if (!blockKind) {
588
- if (props.item.i === 'BULK') {
589
- // do bulk
590
- }
591
- return;
592
- }
593
- if (blockKind.type === 'CB') {
586
+ var blockType = props.item.i.startsWith('GB_') ? 'GROUP_BLOCK' : 'COMPONENT_BLOCK';
587
+ if (blockType === 'COMPONENT_BLOCK') {
594
588
  onClickCB(Number(props.item.i));
595
589
  }
596
- if (blockKind.type === 'GB' && props.e) {
590
+ if (blockType === 'GROUP_BLOCK' && props.e) {
597
591
  var e = props.e;
598
- onClickGroup(e, blockKind.blockId);
592
+ onClickGroup(e, props.item.i);
599
593
  }
600
594
  sectionActionHandler &&
601
595
  sectionActionHandler({
@@ -608,7 +602,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
608
602
  if (!isEditMode || !props.item) {
609
603
  return;
610
604
  }
611
- console.log('------ onDragStop -------', props);
612
605
  var item = props.item, prev = props.prev;
613
606
  var isShiftOn = shortcutKeyMode === 'BULK_SELECT' || shortcutKeyMode === 'COLLISION_SELECT';
614
607
  if (isLayoutPlacementSame(item, prev) && isShiftOn) {
@@ -1041,7 +1034,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
1041
1034
  var editableCBIDs = (0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock);
1042
1035
  var t = (0, react_i18next_1.useTranslation)('translation').t;
1043
1036
  var a = t('str_grid_height_variable');
1044
- console.log('here', a);
1045
1037
  return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(gleStyles_1.S_gleStyles, __assign({ isBulkMode: shortcutKeyMode === 'BULK_SELECT', strKeys: { str_grid_height_variable: a } }, { children: [showSectionHiddenCover && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, onContextMenu: function (e) {
1046
1038
  e.stopPropagation();
1047
1039
  e.preventDefault();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.420",
3
+ "version": "2.7.422",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "lottie-react": "^2.3.1",
26
26
  "nuka-carousel": "^4.8.4",
27
27
  "publ-echo": "^0.0.120",
28
- "publ-echo-test": "^0.0.394",
28
+ "publ-echo-test": "^0.0.395",
29
29
  "react-hook-form": "^7.28.1",
30
30
  "react-i18next": "^11.12.0",
31
31
  "react-router-dom": "^5.2.0",