ooxml.js 2.9.4 → 2.10.0
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 +7 -6
- package/dist/base64--HuymRl_.d.cts +5 -0
- package/dist/base64--HuymRl_.d.ts +5 -0
- package/dist/build-C0gS5QeG.d.ts +6 -0
- package/dist/build-CBL9scQK.d.cts +6 -0
- package/dist/build-XSm3I8LT.d.cts +5 -0
- package/dist/build-Z1KRkSEB.d.ts +5 -0
- package/dist/codec-B52c8v4h.d.ts +88 -0
- package/dist/codec-nIFHuTm-.d.cts +88 -0
- package/dist/codec.d.cts +2 -72
- package/dist/codec.d.ts +2 -72
- package/dist/color-fFIKAs-Y.d.cts +9 -0
- package/dist/color-fFIKAs-Y.d.ts +9 -0
- package/dist/compact-B1qg9oex.d.cts +70 -0
- package/dist/compact-f0TfhicN.d.ts +70 -0
- package/dist/compact.d.cts +1 -69
- package/dist/compact.d.ts +1 -69
- package/dist/content-UlQ-Nhgi.d.cts +6 -0
- package/dist/content-t6ZfmfQM.d.ts +6 -0
- package/dist/entities-6DuTszqf.d.cts +4 -0
- package/dist/entities-6DuTszqf.d.ts +4 -0
- package/dist/fragment-B1ZV7T5Z.d.ts +6 -0
- package/dist/fragment-B1og_8uA.d.cts +6 -0
- package/dist/image/sniff.d.cts +1 -4
- package/dist/image/sniff.d.ts +1 -4
- package/dist/index.d.cts +20 -21
- package/dist/index.d.ts +20 -21
- package/dist/metadata-D6o-kLpg.d.cts +16 -0
- package/dist/metadata-o_WH9V_I.d.ts +16 -0
- package/dist/numbering-C53LT-Jx.d.cts +23 -0
- package/dist/numbering-D0YfuiOO.d.ts +23 -0
- package/dist/package-io/read.d.cts +1 -4
- package/dist/package-io/read.d.ts +1 -4
- package/dist/package-io/write.d.cts +1 -4
- package/dist/package-io/write.d.ts +1 -4
- package/dist/parse-A8_8sdpX.d.ts +5 -0
- package/dist/parse-CP5FLZqv.d.cts +5 -0
- package/dist/read-B2-FFhqI.d.ts +60 -0
- package/dist/read-BLMpCzzG.d.ts +45 -0
- package/dist/read-CMDEXqGw.d.ts +5 -0
- package/dist/read-D_CpruL_.d.cts +60 -0
- package/dist/read-DymSS-X4.d.cts +45 -0
- package/dist/read-DzmMJPHd.d.cts +5 -0
- package/dist/sniff-DjpnUZRp.d.cts +5 -0
- package/dist/sniff-DjpnUZRp.d.ts +5 -0
- package/dist/typed/docx/numbering.d.cts +1 -22
- package/dist/typed/docx/numbering.d.ts +1 -22
- package/dist/typed/docx/read.d.cts +1 -59
- package/dist/typed/docx/read.d.ts +1 -59
- package/dist/typed/pptx/read.d.cts +1 -44
- package/dist/typed/pptx/read.d.ts +1 -44
- package/dist/typed/shared/color.d.cts +1 -8
- package/dist/typed/shared/color.d.ts +1 -8
- package/dist/typed/shared/metadata.d.cts +1 -15
- package/dist/typed/shared/metadata.d.ts +1 -15
- package/dist/typed/util.d.cts +1 -17
- package/dist/typed/util.d.ts +1 -17
- package/dist/typed/xlsx/build.d.cts +1 -5
- package/dist/typed/xlsx/build.d.ts +1 -5
- package/dist/typed/xlsx/content.d.cts +1 -5
- package/dist/typed/xlsx/content.d.ts +1 -5
- package/dist/typed/xlsx.d.cts +1 -42
- package/dist/typed/xlsx.d.ts +1 -42
- package/dist/util/base64.d.cts +1 -4
- package/dist/util/base64.d.ts +1 -4
- package/dist/util-DFe4UbvU.d.ts +18 -0
- package/dist/util-M3JJlDhF.d.cts +18 -0
- package/dist/write-6JmxvaK5.d.cts +5 -0
- package/dist/write-CT-EgVT7.d.ts +5 -0
- package/dist/xlsx-B97t4YE-.d.cts +43 -0
- package/dist/xlsx-BxKODiLX.d.ts +43 -0
- package/dist/xml/build.d.cts +1 -4
- package/dist/xml/build.d.ts +1 -4
- package/dist/xml/entities.d.cts +1 -3
- package/dist/xml/entities.d.ts +1 -3
- package/dist/xml/fragment.d.cts +1 -5
- package/dist/xml/fragment.d.ts +1 -5
- package/dist/xml/parse.d.cts +1 -4
- package/dist/xml/parse.d.ts +1 -4
- package/dist/zip-Ckbv-mtV.d.cts +5 -0
- package/dist/zip-Ckbv-mtV.d.ts +5 -0
- package/dist/zip.d.cts +1 -4
- package/dist/zip.d.ts +1 -4
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { r as Package } from "./package-BUojjTXf.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/typed/xlsx.d.ts
|
|
4
|
+
declare const XlsxCellSchema: z.ZodObject<{
|
|
5
|
+
reference: z.ZodString;
|
|
6
|
+
value: z.ZodString;
|
|
7
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
type XlsxCell = z.infer<typeof XlsxCellSchema>;
|
|
10
|
+
declare const XlsxSheetSchema: z.ZodObject<{
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
13
|
+
reference: z.ZodString;
|
|
14
|
+
value: z.ZodString;
|
|
15
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
mergedRanges: z.ZodArray<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
type XlsxSheet = z.infer<typeof XlsxSheetSchema>;
|
|
20
|
+
declare const DefinedNameSchema: z.ZodObject<{
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
refersTo: z.ZodString;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
type DefinedName = z.infer<typeof DefinedNameSchema>;
|
|
25
|
+
declare const XlsxWorkbookSchema: z.ZodObject<{
|
|
26
|
+
sheets: z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
29
|
+
reference: z.ZodString;
|
|
30
|
+
value: z.ZodString;
|
|
31
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
mergedRanges: z.ZodArray<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
definedNames: z.ZodArray<z.ZodObject<{
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
refersTo: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
type XlsxWorkbook = z.infer<typeof XlsxWorkbookSchema>;
|
|
41
|
+
declare function readXlsx(pkg: Package): XlsxWorkbook;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { XlsxSheet as a, XlsxWorkbookSchema as c, XlsxCellSchema as i, readXlsx as l, DefinedNameSchema as n, XlsxSheetSchema as o, XlsxCell as r, XlsxWorkbook as s, DefinedName as t };
|
package/dist/xml/build.d.cts
CHANGED
package/dist/xml/build.d.ts
CHANGED
package/dist/xml/entities.d.cts
CHANGED
package/dist/xml/entities.d.ts
CHANGED
package/dist/xml/fragment.d.cts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/xml/fragment.d.ts
|
|
3
|
-
declare function el(tag: string, attrs?: Record<string, string>, children?: XmlNode[]): XmlElement;
|
|
4
|
-
declare function txt(value: string): XmlText;
|
|
5
|
-
//#endregion
|
|
1
|
+
import { n as txt, t as el } from "../fragment-B1og_8uA.cjs";
|
|
6
2
|
export { el, txt };
|
package/dist/xml/fragment.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/xml/fragment.d.ts
|
|
3
|
-
declare function el(tag: string, attrs?: Record<string, string>, children?: XmlNode[]): XmlElement;
|
|
4
|
-
declare function txt(value: string): XmlText;
|
|
5
|
-
//#endregion
|
|
1
|
+
import { n as txt, t as el } from "../fragment-B1ZV7T5Z.js";
|
|
6
2
|
export { el, txt };
|
package/dist/xml/parse.d.cts
CHANGED
package/dist/xml/parse.d.ts
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
//#region src/zip.d.ts
|
|
2
|
+
declare function unzipPackage(bytes: Uint8Array<ArrayBuffer>): Record<string, Uint8Array<ArrayBuffer>>;
|
|
3
|
+
declare function zipPackage(parts: Record<string, Uint8Array<ArrayBuffer>>): Uint8Array<ArrayBuffer>;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { zipPackage as n, unzipPackage as t };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
//#region src/zip.d.ts
|
|
2
|
+
declare function unzipPackage(bytes: Uint8Array<ArrayBuffer>): Record<string, Uint8Array<ArrayBuffer>>;
|
|
3
|
+
declare function zipPackage(parts: Record<string, Uint8Array<ArrayBuffer>>): Uint8Array<ArrayBuffer>;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { zipPackage as n, unzipPackage as t };
|
package/dist/zip.d.cts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare function unzipPackage(bytes: Uint8Array<ArrayBuffer>): Record<string, Uint8Array<ArrayBuffer>>;
|
|
3
|
-
declare function zipPackage(parts: Record<string, Uint8Array<ArrayBuffer>>): Uint8Array<ArrayBuffer>;
|
|
4
|
-
//#endregion
|
|
1
|
+
import { n as zipPackage, t as unzipPackage } from "./zip-Ckbv-mtV.cjs";
|
|
5
2
|
export { unzipPackage, zipPackage };
|
package/dist/zip.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare function unzipPackage(bytes: Uint8Array<ArrayBuffer>): Record<string, Uint8Array<ArrayBuffer>>;
|
|
3
|
-
declare function zipPackage(parts: Record<string, Uint8Array<ArrayBuffer>>): Uint8Array<ArrayBuffer>;
|
|
4
|
-
//#endregion
|
|
1
|
+
import { n as zipPackage, t as unzipPackage } from "./zip-Ckbv-mtV.js";
|
|
5
2
|
export { unzipPackage, zipPackage };
|
package/package.json
CHANGED