@gravity-ui/dashkit 8.15.0 → 8.15.2
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.
|
@@ -320,6 +320,7 @@ class GridLayout extends react_1.default.PureComponent {
|
|
|
320
320
|
}
|
|
321
321
|
_onResizeStop(group, layout, oldItem, newItem, placeholder, e, element) {
|
|
322
322
|
var _a;
|
|
323
|
+
this._onStop(group, layout);
|
|
323
324
|
(_a = this.context.onResizeStop) === null || _a === void 0 ? void 0 : _a.call(this, this.prepareDefaultArguments(group, layout, oldItem, newItem, placeholder, e, element));
|
|
324
325
|
}
|
|
325
326
|
_onTargetRestore() {
|
|
@@ -29,6 +29,7 @@ export interface DashkitGroupRenderProps {
|
|
|
29
29
|
editMode: boolean;
|
|
30
30
|
items: ConfigItem[];
|
|
31
31
|
layout: ConfigLayout[];
|
|
32
|
+
context: any;
|
|
32
33
|
}
|
|
33
34
|
export type ReactGridLayoutProps = Omit<ReactGridLayout.ReactGridLayoutProps, 'children' | 'compactType' | 'innerRef' | 'key' | 'layout' | 'isDraggable' | 'isResizable' | 'onDragStart' | 'onDragStop' | 'onResizeStart' | 'onResizeStop' | 'draggableHandle' | 'isDroppable' | 'onDropDragOver' | 'onDrop' | 'draggableCancel'> & {
|
|
34
35
|
compactType?: CompactType;
|
|
@@ -317,6 +317,7 @@ class GridLayout extends React.PureComponent {
|
|
|
317
317
|
}
|
|
318
318
|
_onResizeStop(group, layout, oldItem, newItem, placeholder, e, element) {
|
|
319
319
|
var _a;
|
|
320
|
+
this._onStop(group, layout);
|
|
320
321
|
(_a = this.context.onResizeStop) === null || _a === void 0 ? void 0 : _a.call(this, this.prepareDefaultArguments(group, layout, oldItem, newItem, placeholder, e, element));
|
|
321
322
|
}
|
|
322
323
|
_onTargetRestore() {
|
|
@@ -29,6 +29,7 @@ export interface DashkitGroupRenderProps {
|
|
|
29
29
|
editMode: boolean;
|
|
30
30
|
items: ConfigItem[];
|
|
31
31
|
layout: ConfigLayout[];
|
|
32
|
+
context: any;
|
|
32
33
|
}
|
|
33
34
|
export type ReactGridLayoutProps = Omit<ReactGridLayout.ReactGridLayoutProps, 'children' | 'compactType' | 'innerRef' | 'key' | 'layout' | 'isDraggable' | 'isResizable' | 'onDragStart' | 'onDragStop' | 'onResizeStart' | 'onResizeStop' | 'draggableHandle' | 'isDroppable' | 'onDropDragOver' | 'onDrop' | 'draggableCancel'> & {
|
|
34
35
|
compactType?: CompactType;
|