onchain-uikit 3.9.4-alpha84 → 3.9.4-alpha85
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.
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { default as LuckyExcel } from '@zwight/luckyexcel';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
2
|
import { FRange } from '@univerjs/sheets/facade';
|
|
4
|
-
import { getExportExcel } from './plugins/controllers/menu/import';
|
|
3
|
+
import { getExportExcel, exportExcel } from './plugins/controllers/menu/import';
|
|
5
4
|
export interface OnChainUniverExcelProps {
|
|
6
5
|
dragDataRef?: any;
|
|
7
6
|
onDragEnd?: (range: FRange) => void;
|
|
8
7
|
onSaveDataBase?: (data: any) => void;
|
|
9
8
|
onGetInitData?: () => any;
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
export { getExportExcel, OnChainTransformUniverToExcel };
|
|
10
|
+
export { getExportExcel, exportExcel };
|
|
13
11
|
declare const OnChainUniverExcel: React.ForwardRefExoticComponent<OnChainUniverExcelProps & React.RefAttributes<any>>;
|
|
14
12
|
export default OnChainUniverExcel;
|
|
@@ -10,6 +10,10 @@ export declare const waitUserSelectExcelFile: (params: {
|
|
|
10
10
|
export declare const getExportExcel: ({ onCancel }: {
|
|
11
11
|
onCancel: any;
|
|
12
12
|
}) => Promise<unknown>;
|
|
13
|
+
export declare const exportExcel: ({ copyData, fileName }: {
|
|
14
|
+
copyData: any;
|
|
15
|
+
fileName: any;
|
|
16
|
+
}) => Promise<unknown>;
|
|
13
17
|
declare function CustomMenuItemImportButtonFactory(): IMenuButtonItem<string>;
|
|
14
18
|
declare const CustomImportMenu: (config?: ICustomMenuPulginParams) => {
|
|
15
19
|
operation: ICommand<object, boolean>;
|