@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.
Files changed (38) hide show
  1. package/README.md +142 -22
  2. package/dist/cleaning/worker-loader.d.ts +4 -0
  3. package/dist/cleaning/worker-loader.js +9 -0
  4. package/dist/cleaning/xlsx-cleaning.worker.d.ts +2 -0
  5. package/dist/cleaning/xlsx-cleaning.worker.js +34694 -0
  6. package/dist/file/index.cjs +8289 -0
  7. package/dist/file/index.d.cts +60 -0
  8. package/dist/file/index.d.ts +60 -0
  9. package/dist/file/index.js +8259 -0
  10. package/dist/file/ooxml/index.cjs +8481 -0
  11. package/dist/file/ooxml/index.d.cts +16 -0
  12. package/dist/file/ooxml/index.d.ts +16 -0
  13. package/dist/file/ooxml/index.js +8442 -0
  14. package/dist/file/ooxml/node.cjs +8451 -0
  15. package/dist/file/ooxml/node.d.cts +16 -0
  16. package/dist/file/ooxml/node.d.ts +16 -0
  17. package/dist/file/ooxml/node.js +8412 -0
  18. package/dist/file/worker-loader.d.ts +4 -0
  19. package/dist/file/worker-loader.js +9 -0
  20. package/dist/file/xlsx-file.worker.d.ts +2 -0
  21. package/dist/file/xlsx-file.worker.js +41188 -0
  22. package/dist/file-DZPF-DHF.d.cts +22 -0
  23. package/dist/file-DZPF-DHF.d.ts +22 -0
  24. package/dist/index.cjs +22754 -11711
  25. package/dist/index.d.cts +1163 -326
  26. package/dist/index.d.ts +1163 -326
  27. package/dist/index.js +22599 -11601
  28. package/dist/native-parts/worker-loader.d.ts +87 -0
  29. package/dist/native-parts/worker-loader.js +9 -0
  30. package/dist/native-parts/xlsx-native-parts.worker.d.ts +2 -0
  31. package/dist/native-parts/xlsx-native-parts.worker.js +33766 -0
  32. package/dist/sheet-settings-Bv1KD6XD.d.cts +301 -0
  33. package/dist/sheet-settings-CRncG11p.d.ts +301 -0
  34. package/dist/sheet-settings-ClWkuEGB.d.ts +135 -0
  35. package/dist/sheet-settings-D8pfrp_9.d.cts +135 -0
  36. package/dist/source-initialization-tTsaT4GH.d.cts +6 -0
  37. package/dist/source-initialization-tTsaT4GH.d.ts +6 -0
  38. 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
+ /** Node18+标准包读取,只使用内置zlib解压。 */
9
+ declare function readXlsxPackage(bytes: Uint8Array, options?: XlsxPackageOptions): Promise<XlsxPackageEntry[]>;
10
+ /** Node18+标准包写出并逐字节核对。 */
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
+ /** Node18+标准包读取,只使用内置zlib解压。 */
9
+ declare function readXlsxPackage(bytes: Uint8Array, options?: XlsxPackageOptions): Promise<XlsxPackageEntry[]>;
10
+ /** Node18+标准包写出并逐字节核对。 */
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 };