@gravity-ui/dashkit 6.6.0 → 6.6.1
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.
|
@@ -38,6 +38,14 @@ interface OverlayControlsProps extends OverlayControlsDefaultProps {
|
|
|
38
38
|
items?: OverlayControlItem[];
|
|
39
39
|
overlayControls?: Record<string, OverlayControlItem[]>;
|
|
40
40
|
}
|
|
41
|
+
type PreparedCopyItemOptionsArg = Pick<ConfigItem, 'data' | 'type' | 'defaults' | 'namespace'> & {
|
|
42
|
+
timestamp: number;
|
|
43
|
+
layout: {
|
|
44
|
+
w: number;
|
|
45
|
+
h: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export type PreparedCopyItemOptions = PreparedCopyItemOptionsArg;
|
|
41
49
|
type DashKitCtx = React.Context<{
|
|
42
50
|
context: Record<string, any>;
|
|
43
51
|
registerManager: RegisterManager;
|
|
@@ -39,6 +39,14 @@ interface OverlayControlsProps extends OverlayControlsDefaultProps {
|
|
|
39
39
|
items?: OverlayControlItem[];
|
|
40
40
|
overlayControls?: Record<string, OverlayControlItem[]>;
|
|
41
41
|
}
|
|
42
|
+
type PreparedCopyItemOptionsArg = Pick<ConfigItem, 'data' | 'type' | 'defaults' | 'namespace'> & {
|
|
43
|
+
timestamp: number;
|
|
44
|
+
layout: {
|
|
45
|
+
w: number;
|
|
46
|
+
h: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export type PreparedCopyItemOptions = PreparedCopyItemOptionsArg;
|
|
42
50
|
type DashKitCtx = React.Context<{
|
|
43
51
|
context: Record<string, any>;
|
|
44
52
|
registerManager: RegisterManager;
|