@epam/ai-dial-ui-kit 0.4.0-rc.35 → 0.4.0-rc.36
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.
|
@@ -9,6 +9,10 @@ import { DialFileManagerBulkActionsToolbarProps } from './components/FileManager
|
|
|
9
9
|
import { DialFileManagerActions } from '../../types/file-manager';
|
|
10
10
|
import { FileManagerGridRow } from './FileManagerContext';
|
|
11
11
|
type GridRow = FileManagerGridRow;
|
|
12
|
+
interface CopiedItem {
|
|
13
|
+
from: string;
|
|
14
|
+
to: string;
|
|
15
|
+
}
|
|
12
16
|
export interface FileTreeOptions extends Omit<DialFoldersTreeProps, 'items' | 'selectedPath' | 'onItemClick'> {
|
|
13
17
|
width?: number;
|
|
14
18
|
title?: string;
|
|
@@ -40,8 +44,8 @@ export interface DialFileManagerProps {
|
|
|
40
44
|
bulkActionsToolbarOptions?: BulkActionsToolbarOptions;
|
|
41
45
|
onPathChange?: (nextPath?: string) => void;
|
|
42
46
|
onTableFileClick?: (file: GridRow) => void;
|
|
43
|
-
onCopyFiles?: (
|
|
44
|
-
onMoveToFiles?: (
|
|
47
|
+
onCopyFiles?: (items: CopiedItem[]) => void;
|
|
48
|
+
onMoveToFiles?: (items: CopiedItem[]) => void;
|
|
45
49
|
}
|
|
46
50
|
/**
|
|
47
51
|
* File Manager layout with a collapsible folders tree, breadcrumb/search header, and a data grid.
|