@canvas-components/xlsx-table 0.1.5 → 0.1.6
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/README.md +142 -22
- package/dist/cleaning/worker-loader.d.ts +4 -0
- package/dist/cleaning/worker-loader.js +9 -0
- package/dist/cleaning/xlsx-cleaning.worker.d.ts +2 -0
- package/dist/cleaning/xlsx-cleaning.worker.js +34694 -0
- package/dist/file/index.cjs +8289 -0
- package/dist/file/index.d.cts +60 -0
- package/dist/file/index.d.ts +60 -0
- package/dist/file/index.js +8259 -0
- package/dist/file/ooxml/index.cjs +8481 -0
- package/dist/file/ooxml/index.d.cts +16 -0
- package/dist/file/ooxml/index.d.ts +16 -0
- package/dist/file/ooxml/index.js +8442 -0
- package/dist/file/ooxml/node.cjs +8451 -0
- package/dist/file/ooxml/node.d.cts +16 -0
- package/dist/file/ooxml/node.d.ts +16 -0
- package/dist/file/ooxml/node.js +8412 -0
- package/dist/file/worker-loader.d.ts +4 -0
- package/dist/file/worker-loader.js +9 -0
- package/dist/file/xlsx-file.worker.d.ts +2 -0
- package/dist/file/xlsx-file.worker.js +41188 -0
- package/dist/file-DZPF-DHF.d.cts +22 -0
- package/dist/file-DZPF-DHF.d.ts +22 -0
- package/dist/index.cjs +22754 -11711
- package/dist/index.d.cts +1163 -326
- package/dist/index.d.ts +1163 -326
- package/dist/index.js +22599 -11601
- package/dist/native-parts/worker-loader.d.ts +87 -0
- package/dist/native-parts/worker-loader.js +9 -0
- package/dist/native-parts/xlsx-native-parts.worker.d.ts +2 -0
- package/dist/native-parts/xlsx-native-parts.worker.js +33766 -0
- package/dist/sheet-settings-Bv1KD6XD.d.cts +301 -0
- package/dist/sheet-settings-CRncG11p.d.ts +301 -0
- package/dist/sheet-settings-ClWkuEGB.d.ts +135 -0
- package/dist/sheet-settings-D8pfrp_9.d.cts +135 -0
- package/dist/source-initialization-tTsaT4GH.d.cts +6 -0
- package/dist/source-initialization-tTsaT4GH.d.ts +6 -0
- package/package.json +37 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as xlsx from 'xlsx';
|
|
2
|
+
import { X as XlsxPackageOptions, a as XlsxPackageEntry } from '../../sheet-settings-D8pfrp_9.cjs';
|
|
3
|
+
export { N as NativeComposition, O as OoxmlAttribute, b as OoxmlDocument, c as OoxmlNode, d as OoxmlPackageIndex, e as OoxmlRelationship, f as OoxmlXmlEdit, g as XlsxPackageLimits, h as allocateOoxmlPartPath, i as allocateOoxmlRelationshipId, j as buildNativeSheetSettingsTransaction, k as composeNativeXlsxParts, l as decodeOoxmlXml, m as decodeXmlText, n as defaultXlsxPackageLimits, o as editOoxmlXml, p as inspectOoxmlPackage, q as parseOoxmlXml, r as readNativeSheetSettings, s as readNativeXlsxParts, t as readWorkbookFromParts, u as resolveOoxmlTarget } from '../../sheet-settings-D8pfrp_9.cjs';
|
|
4
|
+
export { X as XlsxNativeSheetSettings, a as XlsxNativeSheetSettingsPatch, b as XlsxSavedPrintOptions } from '../../sheet-settings-Bv1KD6XD.cjs';
|
|
5
|
+
export { c as createNativeSourceWorkbook } from '../../source-initialization-tTsaT4GH.cjs';
|
|
6
|
+
import '../../file-DZPF-DHF.cjs';
|
|
7
|
+
|
|
8
|
+
/** 浏览器/Worker标准包读取;运行时缺少deflate-raw时明确拒绝。 */
|
|
9
|
+
declare function readXlsxPackage(bytes: Uint8Array, options?: XlsxPackageOptions): Promise<XlsxPackageEntry[]>;
|
|
10
|
+
/** 浏览器/Worker标准包写出;经原生解压验证后返回。 */
|
|
11
|
+
declare function writeXlsxPackage(entries: readonly XlsxPackageEntry[], options?: XlsxPackageOptions): Promise<Uint8Array<ArrayBufferLike>>;
|
|
12
|
+
|
|
13
|
+
/** 无源工作簿的最小包初始化;返回parts后仍须通过核心原子提交。 */
|
|
14
|
+
declare function createXlsxPackageParts(book: xlsx.WorkBook, options?: XlsxPackageOptions): Promise<XlsxPackageEntry[]>;
|
|
15
|
+
|
|
16
|
+
export { XlsxPackageEntry, XlsxPackageOptions, createXlsxPackageParts, readXlsxPackage, writeXlsxPackage };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as xlsx from 'xlsx';
|
|
2
|
+
import { X as XlsxPackageOptions, a as XlsxPackageEntry } from '../../sheet-settings-ClWkuEGB.js';
|
|
3
|
+
export { N as NativeComposition, O as OoxmlAttribute, b as OoxmlDocument, c as OoxmlNode, d as OoxmlPackageIndex, e as OoxmlRelationship, f as OoxmlXmlEdit, g as XlsxPackageLimits, h as allocateOoxmlPartPath, i as allocateOoxmlRelationshipId, j as buildNativeSheetSettingsTransaction, k as composeNativeXlsxParts, l as decodeOoxmlXml, m as decodeXmlText, n as defaultXlsxPackageLimits, o as editOoxmlXml, p as inspectOoxmlPackage, q as parseOoxmlXml, r as readNativeSheetSettings, s as readNativeXlsxParts, t as readWorkbookFromParts, u as resolveOoxmlTarget } from '../../sheet-settings-ClWkuEGB.js';
|
|
4
|
+
export { X as XlsxNativeSheetSettings, a as XlsxNativeSheetSettingsPatch, b as XlsxSavedPrintOptions } from '../../sheet-settings-CRncG11p.js';
|
|
5
|
+
export { c as createNativeSourceWorkbook } from '../../source-initialization-tTsaT4GH.js';
|
|
6
|
+
import '../../file-DZPF-DHF.js';
|
|
7
|
+
|
|
8
|
+
/** 浏览器/Worker标准包读取;运行时缺少deflate-raw时明确拒绝。 */
|
|
9
|
+
declare function readXlsxPackage(bytes: Uint8Array, options?: XlsxPackageOptions): Promise<XlsxPackageEntry[]>;
|
|
10
|
+
/** 浏览器/Worker标准包写出;经原生解压验证后返回。 */
|
|
11
|
+
declare function writeXlsxPackage(entries: readonly XlsxPackageEntry[], options?: XlsxPackageOptions): Promise<Uint8Array<ArrayBufferLike>>;
|
|
12
|
+
|
|
13
|
+
/** 无源工作簿的最小包初始化;返回parts后仍须通过核心原子提交。 */
|
|
14
|
+
declare function createXlsxPackageParts(book: xlsx.WorkBook, options?: XlsxPackageOptions): Promise<XlsxPackageEntry[]>;
|
|
15
|
+
|
|
16
|
+
export { XlsxPackageEntry, XlsxPackageOptions, createXlsxPackageParts, readXlsxPackage, writeXlsxPackage };
|