@extend-ai/react-docx 0.7.0-alpha.0 → 0.7.0-alpha.1
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/{chunk-ULEO2IBU.js → chunk-AWFSO3IU.js} +2 -2
- package/dist/chunk-AWFSO3IU.js.map +1 -0
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/{src-QLGK7AGO.js → src-JDYUD5TO.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ULEO2IBU.js.map +0 -1
- /package/dist/{src-QLGK7AGO.js.map → src-JDYUD5TO.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
wasmModelToDocumentXml,
|
|
9
9
|
wasmSerializeDocx,
|
|
10
10
|
withPart
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AWFSO3IU.js";
|
|
12
12
|
|
|
13
13
|
// src/index.tsx
|
|
14
14
|
import * as React2 from "react";
|
|
@@ -636,7 +636,7 @@ async function buildDocModel(pkg) {
|
|
|
636
636
|
return normalizeDocModel(model);
|
|
637
637
|
}
|
|
638
638
|
async function buildDocModelFromBytes(bytes) {
|
|
639
|
-
const { parseDocx: parseDocx2 } = await import("./src-
|
|
639
|
+
const { parseDocx: parseDocx2 } = await import("./src-JDYUD5TO.js");
|
|
640
640
|
const payload = bytes instanceof Uint8Array ? bytes : new Uint8Array(bytes);
|
|
641
641
|
const buffer = payload.buffer.slice(payload.byteOffset, payload.byteOffset + payload.byteLength);
|
|
642
642
|
const pkg = await parseDocx2(buffer);
|
|
@@ -2007,7 +2007,7 @@ async function serializeDocModel(model, basePackage) {
|
|
|
2007
2007
|
model,
|
|
2008
2008
|
basePackage ? mapsToWasmPackage(basePackage) : void 0
|
|
2009
2009
|
);
|
|
2010
|
-
const { parseDocx: parseDocx2 } = await import("./src-
|
|
2010
|
+
const { parseDocx: parseDocx2 } = await import("./src-JDYUD5TO.js");
|
|
2011
2011
|
return parseDocx2(bytes);
|
|
2012
2012
|
}
|
|
2013
2013
|
async function serializeDocx(model, basePackage) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
packageToArrayBuffer,
|
|
5
5
|
parseDocx,
|
|
6
6
|
withPart
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AWFSO3IU.js";
|
|
8
8
|
export {
|
|
9
9
|
createMinimalDocxPackage,
|
|
10
10
|
getPart,
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
parseDocx,
|
|
13
13
|
withPart
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=src-
|
|
15
|
+
//# sourceMappingURL=src-JDYUD5TO.js.map
|