pds-dev-kit-web-test 2.5.163 → 2.5.165

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.
@@ -116,8 +116,8 @@ type ActionHandlerPayload = {
116
116
  updatedBlocks: UpdatedBlock[];
117
117
  };
118
118
  '@CUSTOMSECTION/GROUP_DRAG_STOP': {
119
- item: LayoutItem;
120
- e?: ResizeEventType;
119
+ updatedBlocks: UpdatedBlock[];
120
+ workDir: string;
121
121
  };
122
122
  };
123
123
  export type UpdatedBlock = {
@@ -811,7 +811,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
811
811
  });
812
812
  };
813
813
  var onBulkDragStop = function (_a) {
814
- var updatedItems = _a.updatedItems, item = _a.item, e = _a.e;
814
+ var _b;
815
+ var updatedItems = _a.updatedItems, item = _a.item;
815
816
  if ((item === null || item === void 0 ? void 0 : item.i) === 'BULK') {
816
817
  sectionActionHandler &&
817
818
  sectionActionHandler({
@@ -832,8 +833,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
832
833
  sectionActionHandler({
833
834
  type: '@CUSTOMSECTION/GROUP_DRAG_STOP',
834
835
  payload: {
835
- item: item,
836
- e: e
836
+ workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, item.i)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
837
+ updatedBlocks: updatedItems.map(function (i) { return ({
838
+ cbId: Number(i.id),
839
+ blockId: (0, group_1.formatCbIdToBlockId)(Number(i.id)),
840
+ x: i.x,
841
+ y: i.y
842
+ }); })
837
843
  }
838
844
  });
839
845
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.163",
3
+ "version": "2.5.165",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",