@fileverse-dev/dsheet 2.1.3-package-cleanup-100 → 2.1.3-package-cleanup-4
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.
- package/dist/editor/hooks/use-xlsx-import-impl.d.ts +1 -7
- package/dist/editor/utils/csv-import.d.ts +1 -3
- package/dist/{executeStringFunction-CIx20yEd.js → executeStringFunction-CheV8KGQ.js} +1792 -1773
- package/dist/formula.js +1 -1
- package/dist/{index-CMC8cMib.js → index-CSYZ42SH.js} +9555 -9607
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +29 -30
- package/dist/use-xlsx-import-impl-CQree-0S.js +1527 -0
- package/dist/{xlsx-export-impl-B-limoh7.js → xlsx-export-impl-2-R-Pc2y.js} +2 -2
- package/package.json +1 -1
- package/dist/editor/utils/spreadsheet-import.d.ts +0 -12
- package/dist/use-xlsx-import-impl-DRzWSx-K.js +0 -1537
|
@@ -2,8 +2,8 @@ import { utils as dt, write as Nt } from "xlsx-js-style";
|
|
|
2
2
|
import { Workbook as Pt } from "exceljs";
|
|
3
3
|
import { toast as Ut } from "@fileverse/ui";
|
|
4
4
|
import { addFortuneImagesToWorksheet as Lt } from "./xlsx-image-utils-Cvg0qxRA.js";
|
|
5
|
-
import { g as jt, c as xt } from "./executeStringFunction-
|
|
6
|
-
import { c as Ct } from "./index-
|
|
5
|
+
import { g as jt, c as xt } from "./executeStringFunction-CheV8KGQ.js";
|
|
6
|
+
import { c as Ct } from "./index-CSYZ42SH.js";
|
|
7
7
|
import { c as zt, g as Wt } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
8
8
|
const Mt = {
|
|
9
9
|
1: "thin",
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type SpreadsheetImportFileType = 'xlsx' | 'csv';
|
|
2
|
-
export type ImportSpreadsheetFileOptions = {
|
|
3
|
-
type: SpreadsheetImportFileType;
|
|
4
|
-
separator?: 'auto' | 'tab' | 'comma' | string;
|
|
5
|
-
dsheetId: string;
|
|
6
|
-
};
|
|
7
|
-
export type ImportSpreadsheetFileResult = {
|
|
8
|
-
encodedContent: string;
|
|
9
|
-
title?: string;
|
|
10
|
-
warnings?: string[];
|
|
11
|
-
};
|
|
12
|
-
export declare function importSpreadsheetFile(file: File, options: ImportSpreadsheetFileOptions): Promise<ImportSpreadsheetFileResult>;
|