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
- declare const OnChainTransformUniverToExcel: typeof LuckyExcel.transformUniverToExcel;
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>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onchain-uikit",
3
3
  "private": false,
4
- "version": "3.9.4-alpha84",
4
+ "version": "3.9.4-alpha85",
5
5
  "scripts": {
6
6
  "dev": "vite",
7
7
  "build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build",