odf.js 5.5.2 → 6.1.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 +49 -43
- package/dist/{build-XSm3I8LT.d.cts → build--uPsivid.d.cts} +1 -1
- package/dist/{build-Z1KRkSEB.d.ts → build-DgBE0bmv.d.ts} +1 -1
- package/dist/{cascade-DWQfTwaM.d.cts → cascade-BDkyOmoo.d.cts} +5 -5
- package/dist/{cascade-BZ7zqXhL.d.ts → cascade-CaVinmvp.d.ts} +5 -5
- package/dist/{codec-CbPSWzQ2.d.ts → codec-CyJ4gSH2.d.ts} +39 -39
- package/dist/{codec-C3i7QbVt.d.cts → codec-lz3vgEos.d.cts} +39 -39
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{constructs-C1S8qlVv.d.ts → constructs-BntJjuvH.d.ts} +8 -8
- package/dist/{constructs-FLBse5UV.d.cts → constructs-BzLZy5YP.d.cts} +8 -8
- package/dist/{embedded-CBTvjVKb.cjs → embedded-BsO-SvtW.cjs} +2 -2
- package/dist/{embedded-Zv8KtFUo.d.ts → embedded-C8tiMCE_.d.ts} +3 -3
- package/dist/{embedded-D2MXjcFm.js → embedded-UQQNFd5U.js} +3 -3
- package/dist/{embedded-BzPTTzdf.d.cts → embedded-tlaHMady.d.cts} +3 -3
- package/dist/{form-RJTtSmwn.d.ts → form-D6XHM5SR.d.ts} +3 -3
- package/dist/{form-CWWCkG-r.d.cts → form-coDwVdjG.d.cts} +3 -3
- package/dist/{forms-Eh1N15Qy.d.cts → forms-Dc74fCtk.d.cts} +2 -2
- package/dist/{forms-CyLw7lpE.d.ts → forms-Eq2p1ss3.d.ts} +2 -2
- package/dist/{fragment-B1og_8uA.d.cts → fragment-9dNg-m46.d.cts} +1 -1
- package/dist/{fragment-B1ZV7T5Z.d.ts → fragment-ClgCV_if.d.ts} +1 -1
- package/dist/{geometry-lKWJ_ifA.d.cts → geometry-B7FZHSyD.d.cts} +1 -1
- package/dist/{geometry-DnhkIhAM.d.ts → geometry-BI33aJpv.d.ts} +1 -1
- package/dist/image/sniff.d.cts +1 -1
- package/dist/image/sniff.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +41 -41
- package/dist/index.d.ts +41 -41
- package/dist/index.js +1 -1
- package/dist/{list-KZeXA0mR.d.cts → list-DwTyo_B2.d.cts} +3 -3
- package/dist/{list-Qeuawtew.d.ts → list-X_GJY7P3.d.ts} +3 -3
- package/dist/{manifest-BALwu2JR.d.cts → manifest-BGs8Bbd_.d.cts} +1 -1
- package/dist/{manifest-CP1sqyGU.d.ts → manifest-Bju-_gTQ.d.ts} +1 -1
- package/dist/manifest.d.cts +1 -1
- package/dist/manifest.d.ts +1 -1
- package/dist/{masterpage-By_F05W4.d.ts → masterpage-BLK2OJ9q.d.ts} +2 -2
- package/dist/{masterpage-Bt6gxuoL.d.cts → masterpage-KqZshNGZ.d.cts} +2 -2
- package/dist/{metadata-1j1zm9Cx.d.cts → metadata-01SgHkRR.d.cts} +1 -1
- package/dist/{metadata-BXpjrAS-.d.ts → metadata-D1SOBTh8.d.ts} +1 -1
- package/dist/{mimetype-CPNMj04s.d.cts → mimetype-1BaQzNiS.d.cts} +1 -1
- package/dist/{mimetype-BfkwTeaW.d.ts → mimetype-DvMCOzmu.d.ts} +1 -1
- package/dist/mimetype.d.cts +1 -1
- package/dist/mimetype.d.ts +1 -1
- package/dist/model/node.d.cts +1 -1
- package/dist/model/node.d.ts +1 -1
- package/dist/model/package.d.cts +1 -1
- package/dist/model/package.d.ts +1 -1
- package/dist/{node-CkBWRjNR.d.cts → node-B6JX5CRX.d.cts} +1 -1
- package/dist/{node-CkBWRjNR.d.ts → node-B6JX5CRX.d.ts} +1 -1
- package/dist/{package-L24lkba-.d.cts → package-DMk9fuTI.d.cts} +1 -1
- package/dist/package-io/read.d.cts +1 -1
- package/dist/package-io/read.d.ts +1 -1
- package/dist/package-io/write.d.cts +1 -1
- package/dist/package-io/write.d.ts +1 -1
- package/dist/{package-BUojjTXf.d.ts → package-otZYrxiO.d.ts} +1 -1
- package/dist/{paragraph-hzoy-Wos.d.ts → paragraph-ByTzS8Li.d.ts} +4 -4
- package/dist/{paragraph-DaMqmhe3.d.cts → paragraph-CVULactG.d.cts} +4 -4
- package/dist/{parse-A8_8sdpX.d.ts → parse-BLukZ2z0.d.ts} +1 -1
- package/dist/{parse-CP5FLZqv.d.cts → parse-DcVtB3jT.d.cts} +1 -1
- package/dist/{path-DE7wkIcz.d.cts → path-CK0dIPgx.d.cts} +2 -2
- package/dist/{path-DE7wkIcz.d.ts → path-CK0dIPgx.d.ts} +2 -2
- package/dist/{properties-Rral02h1.d.ts → properties-CJyykyc_.d.ts} +1 -1
- package/dist/{properties-C-JKQZUD.d.cts → properties-CiIoNu2h.d.cts} +1 -1
- package/dist/{query-P-Y5DK0-.d.cts → query-C69wTkqg.d.cts} +1 -1
- package/dist/{query-sECN-7vU.d.ts → query-CbxD-WiQ.d.ts} +1 -1
- package/dist/{read-DYYxbvfo.d.ts → read-8s8AdaEd.d.ts} +2 -2
- package/dist/{read-CvjbdgH3.d.ts → read-B2jnd5eS.d.ts} +3 -3
- package/dist/{read-24g5eZw6.d.ts → read-BcxAWBB5.d.ts} +6 -6
- package/dist/read-Bo1GBjSE.d.ts +13 -0
- package/dist/{read-BnN7u9Y2.d.ts → read-C_oVZAnY.d.ts} +4 -4
- package/dist/{read-BV2an1ok.d.cts → read-D3V_MVAL.d.cts} +3 -3
- package/dist/read-D3wLfr-7.d.ts +12 -0
- package/dist/read-DHOQqjOZ.d.cts +12 -0
- package/dist/read-DSyz0YLj.d.cts +12 -0
- package/dist/read-DUOJ-1hX.d.ts +12 -0
- package/dist/{read-rwDsgR0d.d.cts → read-Dy5p1OMb.d.cts} +6 -6
- package/dist/{read-CMDEXqGw.d.ts → read-a0p7laV3.d.ts} +1 -1
- package/dist/{read-DUCm1nUv.d.cts → read-j9o0IoMq.d.cts} +4 -4
- package/dist/{read-ydLJ8bid.d.cts → read-jVX8DHs3.d.cts} +2 -2
- package/dist/{read-DzmMJPHd.d.cts → read-sawU0IWI.d.cts} +1 -1
- package/dist/read-tpfiT_n4.d.cts +13 -0
- package/dist/{registry-CphRYjDD.d.cts → registry-B-ZkdQv1.d.cts} +2 -2
- package/dist/{registry-D5RGBteE.d.ts → registry-Dajfxsbz.d.ts} +2 -2
- package/dist/{report-D6WNYaVn.d.cts → report-39DyUx5W.d.cts} +2 -2
- package/dist/{report-DbslT2OR.d.ts → report-x9RuNwmr.d.ts} +2 -2
- package/dist/{serialize-D1fti8C5.d.cts → serialize-BU7HZ8Qh.d.cts} +2 -2
- package/dist/{serialize-B-lq0LiG.d.ts → serialize-CWz84e0m.d.ts} +2 -2
- package/dist/{shapes-8o3NjBLU.d.cts → shapes-BCjeY90t.d.cts} +4 -4
- package/dist/{shapes-CCB8ydqD.d.ts → shapes-QkOsc-WT.d.ts} +4 -4
- package/dist/{sniff-DjpnUZRp.d.cts → sniff-DGOBHA0O.d.cts} +1 -1
- package/dist/{sniff-DjpnUZRp.d.ts → sniff-DGOBHA0O.d.ts} +1 -1
- package/dist/{span-KXroEGuH.d.ts → span-C3aJuEOM.d.ts} +1 -1
- package/dist/{span-BtmvlqZH.d.cts → span-DSM1SnHI.d.cts} +1 -1
- package/dist/styles/properties.d.cts +1 -1
- package/dist/styles/properties.d.ts +1 -1
- package/dist/styles/registry.d.cts +1 -1
- package/dist/styles/registry.d.ts +1 -1
- package/dist/styles/serialize.d.cts +1 -1
- package/dist/styles/serialize.d.ts +1 -1
- package/dist/styles/span.d.cts +1 -1
- package/dist/styles/span.d.ts +1 -1
- package/dist/{subdocument-BwW3FZC_.d.ts → subdocument-BhabEY9P.d.ts} +1 -1
- package/dist/{subdocument-yY8ASE4N.d.cts → subdocument-CQptFIQK.d.cts} +1 -1
- package/dist/{table-BH_Q2n_N.d.cts → table-CYvFMlP6.d.cts} +3 -3
- package/dist/{table-ByOoGcq_.d.ts → table-DclDgC5h.d.ts} +3 -3
- package/dist/{text-gJ5R0q3u.d.ts → text-Bn3C7lnm.d.ts} +1 -1
- package/dist/{text-BAi1tapc.d.cts → text-CDUCcwje.d.cts} +1 -1
- package/dist/{transform-C7GrZZdR.d.ts → transform-BFNc16LQ.d.ts} +3 -3
- package/dist/{transform-DKEjydnm.d.cts → transform-M1gbHp4j.d.cts} +3 -3
- package/dist/typed/draw/embedded.cjs +1 -1
- package/dist/typed/draw/embedded.d.cts +1 -1
- package/dist/typed/draw/embedded.d.ts +1 -1
- package/dist/typed/draw/embedded.js +1 -1
- package/dist/typed/draw/shapes.d.cts +1 -1
- package/dist/typed/draw/shapes.d.ts +1 -1
- package/dist/typed/formula/read.cjs +1 -1
- package/dist/typed/formula/read.d.cts +1 -1
- package/dist/typed/formula/read.d.ts +1 -1
- package/dist/typed/formula/read.js +2 -2
- package/dist/typed/odb/form.cjs +1 -1
- package/dist/typed/odb/form.d.cts +1 -1
- package/dist/typed/odb/form.d.ts +1 -1
- package/dist/typed/odb/form.js +1 -1
- package/dist/typed/odb/read.d.cts +1 -1
- package/dist/typed/odb/read.d.ts +1 -1
- package/dist/typed/odb/report.d.cts +1 -1
- package/dist/typed/odb/report.d.ts +1 -1
- package/dist/typed/odb/subdocument.d.cts +1 -1
- package/dist/typed/odb/subdocument.d.ts +1 -1
- package/dist/typed/odg/read.cjs +1 -1
- package/dist/typed/odg/read.d.cts +1 -1
- package/dist/typed/odg/read.d.ts +1 -1
- package/dist/typed/odg/read.js +2 -2
- package/dist/typed/odm/read.d.cts +1 -1
- package/dist/typed/odm/read.d.ts +1 -1
- package/dist/typed/odp/read.cjs +1 -1
- package/dist/typed/odp/read.d.cts +1 -1
- package/dist/typed/odp/read.d.ts +1 -1
- package/dist/typed/odp/read.js +2 -2
- package/dist/typed/ods/read.cjs +1 -1
- package/dist/typed/ods/read.d.cts +1 -1
- package/dist/typed/ods/read.d.ts +1 -1
- package/dist/typed/ods/read.js +1 -1
- package/dist/typed/odt/read.cjs +1 -1
- package/dist/typed/odt/read.d.cts +1 -1
- package/dist/typed/odt/read.d.ts +1 -1
- package/dist/typed/odt/read.js +1 -1
- package/dist/typed/shared/cascade.d.cts +1 -1
- package/dist/typed/shared/cascade.d.ts +1 -1
- package/dist/typed/shared/constructs.cjs +4 -3
- package/dist/typed/shared/constructs.d.cts +1 -1
- package/dist/typed/shared/constructs.d.ts +1 -1
- package/dist/typed/shared/constructs.js +4 -3
- package/dist/typed/shared/forms.d.cts +1 -1
- package/dist/typed/shared/forms.d.ts +1 -1
- package/dist/typed/shared/geometry.d.cts +1 -1
- package/dist/typed/shared/geometry.d.ts +1 -1
- package/dist/typed/shared/list.d.cts +1 -1
- package/dist/typed/shared/list.d.ts +1 -1
- package/dist/typed/shared/masterpage.d.cts +1 -1
- package/dist/typed/shared/masterpage.d.ts +1 -1
- package/dist/typed/shared/metadata.d.cts +1 -1
- package/dist/typed/shared/metadata.d.ts +1 -1
- package/dist/typed/shared/paragraph.cjs +1 -1
- package/dist/typed/shared/paragraph.d.cts +1 -1
- package/dist/typed/shared/paragraph.d.ts +1 -1
- package/dist/typed/shared/paragraph.js +1 -1
- package/dist/typed/shared/path.d.cts +1 -1
- package/dist/typed/shared/path.d.ts +1 -1
- package/dist/typed/shared/table.cjs +1 -1
- package/dist/typed/shared/table.d.cts +1 -1
- package/dist/typed/shared/table.d.ts +1 -1
- package/dist/typed/shared/table.js +1 -1
- package/dist/typed/shared/text.d.cts +1 -1
- package/dist/typed/shared/text.d.ts +1 -1
- package/dist/typed/shared/transform.d.cts +1 -1
- package/dist/typed/shared/transform.d.ts +1 -1
- package/dist/typed/shared/units.d.cts +1 -1
- package/dist/typed/shared/units.d.ts +1 -1
- package/dist/{units-7pCiECuP.d.cts → units-BQSNkTQZ.d.cts} +1 -1
- package/dist/{units-7pCiECuP.d.ts → units-BQSNkTQZ.d.ts} +1 -1
- package/dist/util/base64.cjs +4 -4
- package/dist/util/base64.js +4 -4
- package/dist/{write-D3kyj1Xw.d.cts → write-Crk-Yt_w.d.cts} +1 -1
- package/dist/{write-BxVkPZID.d.ts → write-R36XIZKx.d.ts} +1 -1
- package/dist/xml/build.d.cts +1 -1
- package/dist/xml/build.d.ts +1 -1
- package/dist/xml/fragment.d.cts +1 -1
- package/dist/xml/fragment.d.ts +1 -1
- package/dist/xml/parse.d.cts +1 -1
- package/dist/xml/parse.d.ts +1 -1
- package/dist/xml/query.d.cts +1 -1
- package/dist/xml/query.d.ts +1 -1
- package/package.json +2 -10
- package/dist/read-BLoaDxr_.d.ts +0 -12
- package/dist/read-C3Ei_MYc.d.cts +0 -13
- package/dist/read-CDSmR3qt.d.cts +0 -12
- package/dist/read-DJqvINGW.d.ts +0 -13
- package/dist/read-DfEHXwgn.d.ts +0 -12
- package/dist/read-IOYq80AA.d.cts +0 -12
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readEmbeddedObjectDocument, r as readOdfChartContent, t as readDrawObjectReference } from "../../embedded-
|
|
1
|
+
import { n as readEmbeddedObjectDocument, r as readOdfChartContent, t as readDrawObjectReference } from "../../embedded-UQQNFd5U.js";
|
|
2
2
|
export { readDrawObjectReference, readEmbeddedObjectDocument, readOdfChartContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as walkDrawShapes, i as readDrawPageContent, n as readDrawFrame, r as readDrawImageBlock, t as DrawPageContent } from "../../shapes-
|
|
1
|
+
import { a as walkDrawShapes, i as readDrawPageContent, n as readDrawFrame, r as readDrawImageBlock, t as DrawPageContent } from "../../shapes-BCjeY90t.cjs";
|
|
2
2
|
export { DrawPageContent, readDrawFrame, readDrawImageBlock, readDrawPageContent, walkDrawShapes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as walkDrawShapes, i as readDrawPageContent, n as readDrawFrame, r as readDrawImageBlock, t as DrawPageContent } from "../../shapes-
|
|
1
|
+
import { a as walkDrawShapes, i as readDrawPageContent, n as readDrawFrame, r as readDrawImageBlock, t as DrawPageContent } from "../../shapes-QkOsc-WT.js";
|
|
2
2
|
export { DrawPageContent, readDrawFrame, readDrawImageBlock, readDrawPageContent, walkDrawShapes };
|
|
@@ -57,7 +57,7 @@ function readOdfFormulaContent(pkg) {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function readOdfFormula(pkg) {
|
|
60
|
-
return (0, document_schema_js.
|
|
60
|
+
return (0, document_schema_js.assembleTree)(readOdfFormulaContent(pkg));
|
|
61
61
|
}
|
|
62
62
|
//#endregion
|
|
63
63
|
exports.findMathRoot = findMathRoot;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdfFormulaMathMl, i as readOdfFormulaContent, n as findMathRoot, r as readOdfFormula, t as OdfFormulaDocument } from "../../read-
|
|
1
|
+
import { a as readOdfFormulaMathMl, i as readOdfFormulaContent, n as findMathRoot, r as readOdfFormula, t as OdfFormulaDocument } from "../../read-j9o0IoMq.cjs";
|
|
2
2
|
export { OdfFormulaDocument, findMathRoot, readOdfFormula, readOdfFormulaContent, readOdfFormulaMathMl };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdfFormulaMathMl, i as readOdfFormulaContent, n as findMathRoot, r as readOdfFormula, t as OdfFormulaDocument } from "../../read-
|
|
1
|
+
import { a as readOdfFormulaMathMl, i as readOdfFormulaContent, n as findMathRoot, r as readOdfFormula, t as OdfFormulaDocument } from "../../read-C_oVZAnY.js";
|
|
2
2
|
export { OdfFormulaDocument, findMathRoot, readOdfFormula, readOdfFormulaContent, readOdfFormulaMathMl };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { decodeXmlText } from "../../xml/entities.js";
|
|
2
2
|
import { attrValue, elementsWithTag, rootElement } from "../../xml/query.js";
|
|
3
3
|
import { readOdfMetadata } from "../shared/metadata.js";
|
|
4
|
-
import {
|
|
4
|
+
import { assembleTree } from "document-schema.js";
|
|
5
5
|
//#region src/typed/formula/read.ts
|
|
6
6
|
const CONTENT_PART = "content.xml";
|
|
7
7
|
const MATH_ROOT_TAGS = ["math", "math:math"];
|
|
@@ -56,7 +56,7 @@ function readOdfFormulaContent(pkg) {
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
function readOdfFormula(pkg) {
|
|
59
|
-
return
|
|
59
|
+
return assembleTree(readOdfFormulaContent(pkg));
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
62
62
|
export { findMathRoot, readOdfFormula, readOdfFormulaContent, readOdfFormulaMathMl };
|
package/dist/typed/odb/form.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_xml_query = require("../../xml/query.cjs");
|
|
3
3
|
const require_typed_odb_subdocument = require("./subdocument.cjs");
|
|
4
|
-
const require_embedded = require("../../embedded-
|
|
4
|
+
const require_embedded = require("../../embedded-BsO-SvtW.cjs");
|
|
5
5
|
const require_typed_shared_forms = require("../shared/forms.cjs");
|
|
6
6
|
const require_typed_odb_read = require("./read.cjs");
|
|
7
7
|
//#region src/typed/odb/form.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdbForm, t as OdbForm } from "../../form-
|
|
1
|
+
import { n as readOdbForm, t as OdbForm } from "../../form-coDwVdjG.cjs";
|
|
2
2
|
export { OdbForm, readOdbForm };
|
package/dist/typed/odb/form.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdbForm, t as OdbForm } from "../../form-
|
|
1
|
+
import { n as readOdbForm, t as OdbForm } from "../../form-D6XHM5SR.js";
|
|
2
2
|
export { OdbForm, readOdbForm };
|
package/dist/typed/odb/form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { findChildElement, rootElement } from "../../xml/query.js";
|
|
2
2
|
import { subDocumentPackage } from "./subdocument.js";
|
|
3
|
-
import { a as readOdtContent } from "../../embedded-
|
|
3
|
+
import { a as readOdtContent } from "../../embedded-UQQNFd5U.js";
|
|
4
4
|
import { readOdfFormDefinitions } from "../shared/forms.js";
|
|
5
5
|
import { resolveOdbComponent } from "./read.js";
|
|
6
6
|
//#region src/typed/odb/form.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdbInventory, i as OdbQueryInfo, n as OdbConnectionInfo, o as resolveOdbComponent, r as OdbInventory, t as OdbComponentInfo } from "../../read-
|
|
1
|
+
import { a as readOdbInventory, i as OdbQueryInfo, n as OdbConnectionInfo, o as resolveOdbComponent, r as OdbInventory, t as OdbComponentInfo } from "../../read-D3V_MVAL.cjs";
|
|
2
2
|
export { OdbComponentInfo, OdbConnectionInfo, OdbInventory, OdbQueryInfo, readOdbInventory, resolveOdbComponent };
|
package/dist/typed/odb/read.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdbInventory, i as OdbQueryInfo, n as OdbConnectionInfo, o as resolveOdbComponent, r as OdbInventory, t as OdbComponentInfo } from "../../read-
|
|
1
|
+
import { a as readOdbInventory, i as OdbQueryInfo, n as OdbConnectionInfo, o as resolveOdbComponent, r as OdbInventory, t as OdbComponentInfo } from "../../read-B2jnd5eS.js";
|
|
2
2
|
export { OdbComponentInfo, OdbConnectionInfo, OdbInventory, OdbQueryInfo, readOdbInventory, resolveOdbComponent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OdbReportGroup, i as OdbReportFunction, n as OdbReportBand, o as readOdbReport, r as OdbReportElement, t as OdbReport } from "../../report-
|
|
1
|
+
import { a as OdbReportGroup, i as OdbReportFunction, n as OdbReportBand, o as readOdbReport, r as OdbReportElement, t as OdbReport } from "../../report-39DyUx5W.cjs";
|
|
2
2
|
export { OdbReport, OdbReportBand, OdbReportElement, OdbReportFunction, OdbReportGroup, readOdbReport };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OdbReportGroup, i as OdbReportFunction, n as OdbReportBand, o as readOdbReport, r as OdbReportElement, t as OdbReport } from "../../report-
|
|
1
|
+
import { a as OdbReportGroup, i as OdbReportFunction, n as OdbReportBand, o as readOdbReport, r as OdbReportElement, t as OdbReport } from "../../report-x9RuNwmr.js";
|
|
2
2
|
export { OdbReport, OdbReportBand, OdbReportElement, OdbReportFunction, OdbReportGroup, readOdbReport };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as subDocumentPackage, t as SubDocumentPackageOptions } from "../../subdocument-
|
|
1
|
+
import { n as subDocumentPackage, t as SubDocumentPackageOptions } from "../../subdocument-CQptFIQK.cjs";
|
|
2
2
|
export { SubDocumentPackageOptions, subDocumentPackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as subDocumentPackage, t as SubDocumentPackageOptions } from "../../subdocument-
|
|
1
|
+
import { n as subDocumentPackage, t as SubDocumentPackageOptions } from "../../subdocument-BhabEY9P.js";
|
|
2
2
|
export { SubDocumentPackageOptions, subDocumentPackage };
|
package/dist/typed/odg/read.cjs
CHANGED
|
@@ -36,7 +36,7 @@ function readOdgContent(pkg) {
|
|
|
36
36
|
}
|
|
37
37
|
function readOdg(pkg) {
|
|
38
38
|
const { metadata, pages, source } = readOdgContent(pkg);
|
|
39
|
-
const assembled = (0, document_schema_js.
|
|
39
|
+
const assembled = (0, document_schema_js.assembleTree)({
|
|
40
40
|
kind: "drawing",
|
|
41
41
|
metadata,
|
|
42
42
|
pages
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdg, r as readOdgContent, t as OdgDocument } from "../../read-
|
|
1
|
+
import { n as readOdg, r as readOdgContent, t as OdgDocument } from "../../read-DSyz0YLj.cjs";
|
|
2
2
|
export { OdgDocument, readOdg, readOdgContent };
|
package/dist/typed/odg/read.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdg, r as readOdgContent, t as OdgDocument } from "../../read-
|
|
1
|
+
import { n as readOdg, r as readOdgContent, t as OdgDocument } from "../../read-D3wLfr-7.js";
|
|
2
2
|
export { OdgDocument, readOdg, readOdgContent };
|
package/dist/typed/odg/read.js
CHANGED
|
@@ -3,7 +3,7 @@ import { readOdfMetadata } from "../shared/metadata.js";
|
|
|
3
3
|
import { collectOdfNonContentPartResidue, collectOdfUnmappedShapeResidue, odfResidue } from "../shared/constructs.js";
|
|
4
4
|
import { resolveDrawPageSize } from "../shared/masterpage.js";
|
|
5
5
|
import { readDrawPageContent } from "../draw/shapes.js";
|
|
6
|
-
import { PAGE_SIZE_A4,
|
|
6
|
+
import { PAGE_SIZE_A4, assembleTree } from "document-schema.js";
|
|
7
7
|
//#region src/typed/odg/read.ts
|
|
8
8
|
const CONTENT_PART = "content.xml";
|
|
9
9
|
function readPage(page, pkg) {
|
|
@@ -35,7 +35,7 @@ function readOdgContent(pkg) {
|
|
|
35
35
|
}
|
|
36
36
|
function readOdg(pkg) {
|
|
37
37
|
const { metadata, pages, source } = readOdgContent(pkg);
|
|
38
|
-
const assembled =
|
|
38
|
+
const assembled = assembleTree({
|
|
39
39
|
kind: "drawing",
|
|
40
40
|
metadata,
|
|
41
41
|
pages
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as OdmSection, r as readOdm, t as OdmDocument } from "../../read-
|
|
1
|
+
import { n as OdmSection, r as readOdm, t as OdmDocument } from "../../read-jVX8DHs3.cjs";
|
|
2
2
|
export { OdmDocument, OdmSection, readOdm };
|
package/dist/typed/odm/read.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as OdmSection, r as readOdm, t as OdmDocument } from "../../read-
|
|
1
|
+
import { n as OdmSection, r as readOdm, t as OdmDocument } from "../../read-8s8AdaEd.js";
|
|
2
2
|
export { OdmDocument, OdmSection, readOdm };
|
package/dist/typed/odp/read.cjs
CHANGED
|
@@ -83,7 +83,7 @@ function readOdpContent(pkg) {
|
|
|
83
83
|
}
|
|
84
84
|
function readOdp(pkg) {
|
|
85
85
|
const { metadata, slides, source } = readOdpContent(pkg);
|
|
86
|
-
const assembled = (0, document_schema_js.
|
|
86
|
+
const assembled = (0, document_schema_js.assembleTree)({
|
|
87
87
|
kind: "presentation",
|
|
88
88
|
metadata,
|
|
89
89
|
slides
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdp, r as readOdpContent, t as OdpDocument } from "../../read-
|
|
1
|
+
import { n as readOdp, r as readOdpContent, t as OdpDocument } from "../../read-DHOQqjOZ.cjs";
|
|
2
2
|
export { OdpDocument, readOdp, readOdpContent };
|
package/dist/typed/odp/read.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdp, r as readOdpContent, t as OdpDocument } from "../../read-
|
|
1
|
+
import { n as readOdp, r as readOdpContent, t as OdpDocument } from "../../read-DUOJ-1hX.js";
|
|
2
2
|
export { OdpDocument, readOdp, readOdpContent };
|
package/dist/typed/odp/read.js
CHANGED
|
@@ -4,7 +4,7 @@ import { readOdfMetadata } from "../shared/metadata.js";
|
|
|
4
4
|
import { collectOdfNonContentPartResidue, collectOdfUnmappedShapeResidue, odfAttributeElement, odfResidue } from "../shared/constructs.js";
|
|
5
5
|
import { resolveDrawPageSize } from "../shared/masterpage.js";
|
|
6
6
|
import { walkDrawShapes } from "../draw/shapes.js";
|
|
7
|
-
import { SLIDE_SIZE_WIDESCREEN,
|
|
7
|
+
import { SLIDE_SIZE_WIDESCREEN, assembleTree } from "document-schema.js";
|
|
8
8
|
//#region src/typed/odp/read.ts
|
|
9
9
|
const CONTENT_PART = "content.xml";
|
|
10
10
|
function readSlideSize(page, pkg) {
|
|
@@ -82,7 +82,7 @@ function readOdpContent(pkg) {
|
|
|
82
82
|
}
|
|
83
83
|
function readOdp(pkg) {
|
|
84
84
|
const { metadata, slides, source } = readOdpContent(pkg);
|
|
85
|
-
const assembled =
|
|
85
|
+
const assembled = assembleTree({
|
|
86
86
|
kind: "presentation",
|
|
87
87
|
metadata,
|
|
88
88
|
slides
|
package/dist/typed/ods/read.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_embedded = require("../../embedded-
|
|
2
|
+
const require_embedded = require("../../embedded-BsO-SvtW.cjs");
|
|
3
3
|
exports.readOds = require_embedded.readOds;
|
|
4
4
|
exports.readOdsContent = require_embedded.readOdsContent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOds, r as readOdsContent, t as OdsDocument } from "../../read-
|
|
1
|
+
import { n as readOds, r as readOdsContent, t as OdsDocument } from "../../read-tpfiT_n4.cjs";
|
|
2
2
|
export { OdsDocument, readOds, readOdsContent };
|
package/dist/typed/ods/read.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOds, r as readOdsContent, t as OdsDocument } from "../../read-
|
|
1
|
+
import { n as readOds, r as readOdsContent, t as OdsDocument } from "../../read-Bo1GBjSE.js";
|
|
2
2
|
export { OdsDocument, readOds, readOdsContent };
|
package/dist/typed/ods/read.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as readOds, s as readOdsContent } from "../../embedded-
|
|
1
|
+
import { o as readOds, s as readOdsContent } from "../../embedded-UQQNFd5U.js";
|
|
2
2
|
export { readOds, readOdsContent };
|
package/dist/typed/odt/read.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_embedded = require("../../embedded-
|
|
2
|
+
const require_embedded = require("../../embedded-BsO-SvtW.cjs");
|
|
3
3
|
exports.readOdt = require_embedded.readOdt;
|
|
4
4
|
exports.readOdtContent = require_embedded.readOdtContent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdt, i as OdtReadOptions, n as OdtHeaderFooterPart, o as readOdtContent, r as OdtHeaderFooterVariant, t as OdtDocument } from "../../read-
|
|
1
|
+
import { a as readOdt, i as OdtReadOptions, n as OdtHeaderFooterPart, o as readOdtContent, r as OdtHeaderFooterVariant, t as OdtDocument } from "../../read-Dy5p1OMb.cjs";
|
|
2
2
|
export { OdtDocument, OdtHeaderFooterPart, OdtHeaderFooterVariant, OdtReadOptions, readOdt, readOdtContent };
|
package/dist/typed/odt/read.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdt, i as OdtReadOptions, n as OdtHeaderFooterPart, o as readOdtContent, r as OdtHeaderFooterVariant, t as OdtDocument } from "../../read-
|
|
1
|
+
import { a as readOdt, i as OdtReadOptions, n as OdtHeaderFooterPart, o as readOdtContent, r as OdtHeaderFooterVariant, t as OdtDocument } from "../../read-BcxAWBB5.js";
|
|
2
2
|
export { OdtDocument, OdtHeaderFooterPart, OdtHeaderFooterVariant, OdtReadOptions, readOdt, readOdtContent };
|
package/dist/typed/odt/read.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readOdtContent, i as readOdt } from "../../embedded-
|
|
1
|
+
import { a as readOdtContent, i as readOdt } from "../../embedded-UQQNFd5U.js";
|
|
2
2
|
export { readOdt, readOdtContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveStyle, i as findStyleElement, n as StyleCascadeResult, o as resolveStyleElementChain, r as StyleElementChainResult, t as CascadeDiagnostic } from "../../cascade-
|
|
1
|
+
import { a as resolveStyle, i as findStyleElement, n as StyleCascadeResult, o as resolveStyleElementChain, r as StyleElementChainResult, t as CascadeDiagnostic } from "../../cascade-BDkyOmoo.cjs";
|
|
2
2
|
export { CascadeDiagnostic, StyleCascadeResult, StyleElementChainResult, findStyleElement, resolveStyle, resolveStyleElementChain };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveStyle, i as findStyleElement, n as StyleCascadeResult, o as resolveStyleElementChain, r as StyleElementChainResult, t as CascadeDiagnostic } from "../../cascade-
|
|
1
|
+
import { a as resolveStyle, i as findStyleElement, n as StyleCascadeResult, o as resolveStyleElementChain, r as StyleElementChainResult, t as CascadeDiagnostic } from "../../cascade-CaVinmvp.js";
|
|
2
2
|
export { CascadeDiagnostic, StyleCascadeResult, StyleElementChainResult, findStyleElement, resolveStyle, resolveStyleElementChain };
|
|
@@ -136,11 +136,12 @@ function odfDivisionDescriptor(sectionElement, pkg) {
|
|
|
136
136
|
if (sourceElement !== void 0) {
|
|
137
137
|
const href = require_xml_query.attrValue(sourceElement, "xlink:href");
|
|
138
138
|
if (href !== void 0) {
|
|
139
|
-
const
|
|
139
|
+
const linked = { href };
|
|
140
140
|
const sectionName = require_xml_query.attrValue(sourceElement, "text:section-name");
|
|
141
|
-
if (sectionName !== void 0)
|
|
142
|
-
descriptor.
|
|
141
|
+
if (sectionName !== void 0) linked.sectionName = sectionName;
|
|
142
|
+
descriptor.linked = linked;
|
|
143
143
|
}
|
|
144
|
+
if (require_xml_query.attrValue(sourceElement, "text:filter-name") !== void 0) descriptor.source = odfResidue("odt", odfAttributeElement(sourceElement, "text:filter-name"));
|
|
144
145
|
}
|
|
145
146
|
return descriptor;
|
|
146
147
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as pairOdfMarkerHalves, C as odfBookmarkAnchorDescriptor, D as odfIndexControlDescriptor, E as odfFieldDescriptor, O as odfMarkerHalfEventIndex, S as odfAttributeElement, T as odfDivisionDescriptor, _ as collectOdfUnmappedShapeResidue, a as OdfDefinitionsSink, b as isOdfExtensionElement, c as OdfMarkerKind, d as collectOdfDataStyleDefinitions, f as collectOdfFieldMasterDefinitions, g as collectOdfProvenanceRegions, h as collectOdfNonContentPartResidue, i as OdfConstructExtent, j as resolveOdfMarkerEvents, k as odfResidue, l as OdfResidueFormat, m as collectOdfNamedExpressions, n as ODF_INDEX_WRAPPER_TAGS, o as OdfMarkerEvent, p as collectOdfFontFaceDefinitions, r as ODF_UNMAPPED_SHAPE_TAGS, s as OdfMarkerHalf, t as ODF_CONSUMED_PART_PATHS, u as addOdfPackageResidue, v as insertOdfConstructMarkers, w as odfChangedRegionId, x as isOdfIndexWrapper, y as isOdfBlockScopedHalf } from "../../constructs-
|
|
1
|
+
import { A as pairOdfMarkerHalves, C as odfBookmarkAnchorDescriptor, D as odfIndexControlDescriptor, E as odfFieldDescriptor, O as odfMarkerHalfEventIndex, S as odfAttributeElement, T as odfDivisionDescriptor, _ as collectOdfUnmappedShapeResidue, a as OdfDefinitionsSink, b as isOdfExtensionElement, c as OdfMarkerKind, d as collectOdfDataStyleDefinitions, f as collectOdfFieldMasterDefinitions, g as collectOdfProvenanceRegions, h as collectOdfNonContentPartResidue, i as OdfConstructExtent, j as resolveOdfMarkerEvents, k as odfResidue, l as OdfResidueFormat, m as collectOdfNamedExpressions, n as ODF_INDEX_WRAPPER_TAGS, o as OdfMarkerEvent, p as collectOdfFontFaceDefinitions, r as ODF_UNMAPPED_SHAPE_TAGS, s as OdfMarkerHalf, t as ODF_CONSUMED_PART_PATHS, u as addOdfPackageResidue, v as insertOdfConstructMarkers, w as odfChangedRegionId, x as isOdfIndexWrapper, y as isOdfBlockScopedHalf } from "../../constructs-BzLZy5YP.cjs";
|
|
2
2
|
export { ODF_CONSUMED_PART_PATHS, ODF_INDEX_WRAPPER_TAGS, ODF_UNMAPPED_SHAPE_TAGS, OdfConstructExtent, OdfDefinitionsSink, OdfMarkerEvent, OdfMarkerHalf, OdfMarkerKind, OdfResidueFormat, addOdfPackageResidue, collectOdfDataStyleDefinitions, collectOdfFieldMasterDefinitions, collectOdfFontFaceDefinitions, collectOdfNamedExpressions, collectOdfNonContentPartResidue, collectOdfProvenanceRegions, collectOdfUnmappedShapeResidue, insertOdfConstructMarkers, isOdfBlockScopedHalf, isOdfExtensionElement, isOdfIndexWrapper, odfAttributeElement, odfBookmarkAnchorDescriptor, odfChangedRegionId, odfDivisionDescriptor, odfFieldDescriptor, odfIndexControlDescriptor, odfMarkerHalfEventIndex, odfResidue, pairOdfMarkerHalves, resolveOdfMarkerEvents };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as pairOdfMarkerHalves, C as odfBookmarkAnchorDescriptor, D as odfIndexControlDescriptor, E as odfFieldDescriptor, O as odfMarkerHalfEventIndex, S as odfAttributeElement, T as odfDivisionDescriptor, _ as collectOdfUnmappedShapeResidue, a as OdfDefinitionsSink, b as isOdfExtensionElement, c as OdfMarkerKind, d as collectOdfDataStyleDefinitions, f as collectOdfFieldMasterDefinitions, g as collectOdfProvenanceRegions, h as collectOdfNonContentPartResidue, i as OdfConstructExtent, j as resolveOdfMarkerEvents, k as odfResidue, l as OdfResidueFormat, m as collectOdfNamedExpressions, n as ODF_INDEX_WRAPPER_TAGS, o as OdfMarkerEvent, p as collectOdfFontFaceDefinitions, r as ODF_UNMAPPED_SHAPE_TAGS, s as OdfMarkerHalf, t as ODF_CONSUMED_PART_PATHS, u as addOdfPackageResidue, v as insertOdfConstructMarkers, w as odfChangedRegionId, x as isOdfIndexWrapper, y as isOdfBlockScopedHalf } from "../../constructs-
|
|
1
|
+
import { A as pairOdfMarkerHalves, C as odfBookmarkAnchorDescriptor, D as odfIndexControlDescriptor, E as odfFieldDescriptor, O as odfMarkerHalfEventIndex, S as odfAttributeElement, T as odfDivisionDescriptor, _ as collectOdfUnmappedShapeResidue, a as OdfDefinitionsSink, b as isOdfExtensionElement, c as OdfMarkerKind, d as collectOdfDataStyleDefinitions, f as collectOdfFieldMasterDefinitions, g as collectOdfProvenanceRegions, h as collectOdfNonContentPartResidue, i as OdfConstructExtent, j as resolveOdfMarkerEvents, k as odfResidue, l as OdfResidueFormat, m as collectOdfNamedExpressions, n as ODF_INDEX_WRAPPER_TAGS, o as OdfMarkerEvent, p as collectOdfFontFaceDefinitions, r as ODF_UNMAPPED_SHAPE_TAGS, s as OdfMarkerHalf, t as ODF_CONSUMED_PART_PATHS, u as addOdfPackageResidue, v as insertOdfConstructMarkers, w as odfChangedRegionId, x as isOdfIndexWrapper, y as isOdfBlockScopedHalf } from "../../constructs-BntJjuvH.js";
|
|
2
2
|
export { ODF_CONSUMED_PART_PATHS, ODF_INDEX_WRAPPER_TAGS, ODF_UNMAPPED_SHAPE_TAGS, OdfConstructExtent, OdfDefinitionsSink, OdfMarkerEvent, OdfMarkerHalf, OdfMarkerKind, OdfResidueFormat, addOdfPackageResidue, collectOdfDataStyleDefinitions, collectOdfFieldMasterDefinitions, collectOdfFontFaceDefinitions, collectOdfNamedExpressions, collectOdfNonContentPartResidue, collectOdfProvenanceRegions, collectOdfUnmappedShapeResidue, insertOdfConstructMarkers, isOdfBlockScopedHalf, isOdfExtensionElement, isOdfIndexWrapper, odfAttributeElement, odfBookmarkAnchorDescriptor, odfChangedRegionId, odfDivisionDescriptor, odfFieldDescriptor, odfIndexControlDescriptor, odfMarkerHalfEventIndex, odfResidue, pairOdfMarkerHalves, resolveOdfMarkerEvents };
|
|
@@ -135,11 +135,12 @@ function odfDivisionDescriptor(sectionElement, pkg) {
|
|
|
135
135
|
if (sourceElement !== void 0) {
|
|
136
136
|
const href = attrValue(sourceElement, "xlink:href");
|
|
137
137
|
if (href !== void 0) {
|
|
138
|
-
const
|
|
138
|
+
const linked = { href };
|
|
139
139
|
const sectionName = attrValue(sourceElement, "text:section-name");
|
|
140
|
-
if (sectionName !== void 0)
|
|
141
|
-
descriptor.
|
|
140
|
+
if (sectionName !== void 0) linked.sectionName = sectionName;
|
|
141
|
+
descriptor.linked = linked;
|
|
142
142
|
}
|
|
143
|
+
if (attrValue(sourceElement, "text:filter-name") !== void 0) descriptor.source = odfResidue("odt", odfAttributeElement(sourceElement, "text:filter-name"));
|
|
143
144
|
}
|
|
144
145
|
return descriptor;
|
|
145
146
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as readOdfFormDefinitions, n as OdbFormDefinition, r as readOdfFormControlConstructs, t as OdbFormControl } from "../../forms-
|
|
1
|
+
import { i as readOdfFormDefinitions, n as OdbFormDefinition, r as readOdfFormControlConstructs, t as OdbFormControl } from "../../forms-Dc74fCtk.cjs";
|
|
2
2
|
export { OdbFormControl, OdbFormDefinition, readOdfFormControlConstructs, readOdfFormDefinitions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as readOdfFormDefinitions, n as OdbFormDefinition, r as readOdfFormControlConstructs, t as OdbFormControl } from "../../forms-
|
|
1
|
+
import { i as readOdfFormDefinitions, n as OdbFormDefinition, r as readOdfFormControlConstructs, t as OdbFormControl } from "../../forms-Eq2p1ss3.js";
|
|
2
2
|
export { OdbFormControl, OdbFormDefinition, readOdfFormControlConstructs, readOdfFormDefinitions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as parsePageSize, n as parseLinePoints, r as parseMargins, t as parseBox } from "../../geometry-
|
|
1
|
+
import { i as parsePageSize, n as parseLinePoints, r as parseMargins, t as parseBox } from "../../geometry-B7FZHSyD.cjs";
|
|
2
2
|
export { parseBox, parseLinePoints, parseMargins, parsePageSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as parsePageSize, n as parseLinePoints, r as parseMargins, t as parseBox } from "../../geometry-
|
|
1
|
+
import { i as parsePageSize, n as parseLinePoints, r as parseMargins, t as parseBox } from "../../geometry-BI33aJpv.js";
|
|
2
2
|
export { parseBox, parseLinePoints, parseMargins, parsePageSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveOdfListKind, i as readOdfListParagraphs, n as OdfListParagraphReader, r as mintOdfListNumId, t as OdfListIdState } from "../../list-
|
|
1
|
+
import { a as resolveOdfListKind, i as readOdfListParagraphs, n as OdfListParagraphReader, r as mintOdfListNumId, t as OdfListIdState } from "../../list-DwTyo_B2.cjs";
|
|
2
2
|
export { OdfListIdState, OdfListParagraphReader, mintOdfListNumId, readOdfListParagraphs, resolveOdfListKind };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveOdfListKind, i as readOdfListParagraphs, n as OdfListParagraphReader, r as mintOdfListNumId, t as OdfListIdState } from "../../list-
|
|
1
|
+
import { a as resolveOdfListKind, i as readOdfListParagraphs, n as OdfListParagraphReader, r as mintOdfListNumId, t as OdfListIdState } from "../../list-X_GJY7P3.js";
|
|
2
2
|
export { OdfListIdState, OdfListParagraphReader, mintOdfListNumId, readOdfListParagraphs, resolveOdfListKind };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveDrawPageSize, r as resolvePageLayoutProperties, t as readOdfMasterPageElements } from "../../masterpage-
|
|
1
|
+
import { n as resolveDrawPageSize, r as resolvePageLayoutProperties, t as readOdfMasterPageElements } from "../../masterpage-KqZshNGZ.cjs";
|
|
2
2
|
export { readOdfMasterPageElements, resolveDrawPageSize, resolvePageLayoutProperties };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveDrawPageSize, r as resolvePageLayoutProperties, t as readOdfMasterPageElements } from "../../masterpage-
|
|
1
|
+
import { n as resolveDrawPageSize, r as resolvePageLayoutProperties, t as readOdfMasterPageElements } from "../../masterpage-BLK2OJ9q.js";
|
|
2
2
|
export { readOdfMasterPageElements, resolveDrawPageSize, resolvePageLayoutProperties };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdfMetadata, t as META_PART } from "../../metadata-
|
|
1
|
+
import { n as readOdfMetadata, t as META_PART } from "../../metadata-01SgHkRR.cjs";
|
|
2
2
|
export { META_PART, readOdfMetadata };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readOdfMetadata, t as META_PART } from "../../metadata-
|
|
1
|
+
import { n as readOdfMetadata, t as META_PART } from "../../metadata-D1SOBTh8.js";
|
|
2
2
|
export { META_PART, readOdfMetadata };
|
|
@@ -26,7 +26,7 @@ function readOdfConstructBodyBlocks(body, pkg, context, listIdState) {
|
|
|
26
26
|
}
|
|
27
27
|
return blocks;
|
|
28
28
|
}
|
|
29
|
-
function collectRuns(container, baseProperties, pkg, out, walk, hyperlinkTarget
|
|
29
|
+
function collectRuns(container, baseProperties, pkg, out, walk, hyperlinkTarget) {
|
|
30
30
|
for (const node of container.children) {
|
|
31
31
|
if (node.type === "text") {
|
|
32
32
|
if (node.value.length > 0) pushRun(out, runFromText(require_xml_entities.decodeXmlText(node.value), baseProperties), hyperlinkTarget);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as readParagraphOrHeading, n as readOdfConstructBodyBlocks, r as readOdfParagraph, t as OdfParagraphContext } from "../../paragraph-
|
|
1
|
+
import { i as readParagraphOrHeading, n as readOdfConstructBodyBlocks, r as readOdfParagraph, t as OdfParagraphContext } from "../../paragraph-CVULactG.cjs";
|
|
2
2
|
export { OdfParagraphContext, readOdfConstructBodyBlocks, readOdfParagraph, readParagraphOrHeading };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as readParagraphOrHeading, n as readOdfConstructBodyBlocks, r as readOdfParagraph, t as OdfParagraphContext } from "../../paragraph-
|
|
1
|
+
import { i as readParagraphOrHeading, n as readOdfConstructBodyBlocks, r as readOdfParagraph, t as OdfParagraphContext } from "../../paragraph-ByTzS8Li.js";
|
|
2
2
|
export { OdfParagraphContext, readOdfConstructBodyBlocks, readOdfParagraph, readParagraphOrHeading };
|
|
@@ -25,7 +25,7 @@ function readOdfConstructBodyBlocks(body, pkg, context, listIdState) {
|
|
|
25
25
|
}
|
|
26
26
|
return blocks;
|
|
27
27
|
}
|
|
28
|
-
function collectRuns(container, baseProperties, pkg, out, walk, hyperlinkTarget
|
|
28
|
+
function collectRuns(container, baseProperties, pkg, out, walk, hyperlinkTarget) {
|
|
29
29
|
for (const node of container.children) {
|
|
30
30
|
if (node.type === "text") {
|
|
31
31
|
if (node.value.length > 0) pushRun(out, runFromText(decodeXmlText(node.value), baseProperties), hyperlinkTarget);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildOdfSubpaths, c as parseOdfViewBox, i as OdfViewBox, l as rawSubpathFromPoints, n as OdfRawSegment, o as parseOdfPathData, r as OdfRawSubpath, s as parseOdfPointsList, t as OdfRawPoint, u as scaleOdfRawPoint } from "../../path-
|
|
1
|
+
import { a as buildOdfSubpaths, c as parseOdfViewBox, i as OdfViewBox, l as rawSubpathFromPoints, n as OdfRawSegment, o as parseOdfPathData, r as OdfRawSubpath, s as parseOdfPointsList, t as OdfRawPoint, u as scaleOdfRawPoint } from "../../path-CK0dIPgx.cjs";
|
|
2
2
|
export { OdfRawPoint, OdfRawSegment, OdfRawSubpath, OdfViewBox, buildOdfSubpaths, parseOdfPathData, parseOdfPointsList, parseOdfViewBox, rawSubpathFromPoints, scaleOdfRawPoint };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildOdfSubpaths, c as parseOdfViewBox, i as OdfViewBox, l as rawSubpathFromPoints, n as OdfRawSegment, o as parseOdfPathData, r as OdfRawSubpath, s as parseOdfPointsList, t as OdfRawPoint, u as scaleOdfRawPoint } from "../../path-
|
|
1
|
+
import { a as buildOdfSubpaths, c as parseOdfViewBox, i as OdfViewBox, l as rawSubpathFromPoints, n as OdfRawSegment, o as parseOdfPathData, r as OdfRawSubpath, s as parseOdfPointsList, t as OdfRawPoint, u as scaleOdfRawPoint } from "../../path-CK0dIPgx.js";
|
|
2
2
|
export { OdfRawPoint, OdfRawSegment, OdfRawSubpath, OdfViewBox, buildOdfSubpaths, parseOdfPathData, parseOdfPointsList, parseOdfViewBox, rawSubpathFromPoints, scaleOdfRawPoint };
|
|
@@ -76,7 +76,7 @@ function applyBorderEdgeUpdates(accumulated, cellProperties) {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
function applyBorderEdgeUpdate(accumulated, edge, update) {
|
|
79
|
-
if ("none" in update)
|
|
79
|
+
if ("none" in update) Reflect.deleteProperty(accumulated, edge);
|
|
80
80
|
else accumulated[edge] = update.border;
|
|
81
81
|
}
|
|
82
82
|
function bordersFromAccumulated(accumulated) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readCellStyleDecoration, r as readOdfTable, t as CellStyleDecoration } from "../../table-
|
|
1
|
+
import { n as readCellStyleDecoration, r as readOdfTable, t as CellStyleDecoration } from "../../table-CYvFMlP6.cjs";
|
|
2
2
|
export { CellStyleDecoration, readCellStyleDecoration, readOdfTable };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as readCellStyleDecoration, r as readOdfTable, t as CellStyleDecoration } from "../../table-
|
|
1
|
+
import { n as readCellStyleDecoration, r as readOdfTable, t as CellStyleDecoration } from "../../table-DclDgC5h.js";
|
|
2
2
|
export { CellStyleDecoration, readCellStyleDecoration, readOdfTable };
|
|
@@ -75,7 +75,7 @@ function applyBorderEdgeUpdates(accumulated, cellProperties) {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function applyBorderEdgeUpdate(accumulated, edge, update) {
|
|
78
|
-
if ("none" in update)
|
|
78
|
+
if ("none" in update) Reflect.deleteProperty(accumulated, edge);
|
|
79
79
|
else accumulated[edge] = update.border;
|
|
80
80
|
}
|
|
81
81
|
function bordersFromAccumulated(accumulated) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as measureOdfNodeLength, i as isOdfFieldElement, n as decodeOdfText, o as sumOdfNodeLength, r as getOdfSpaceCount, t as ODF_FIELD_TAGS } from "../../text-
|
|
1
|
+
import { a as measureOdfNodeLength, i as isOdfFieldElement, n as decodeOdfText, o as sumOdfNodeLength, r as getOdfSpaceCount, t as ODF_FIELD_TAGS } from "../../text-CDUCcwje.cjs";
|
|
2
2
|
export { ODF_FIELD_TAGS, decodeOdfText, getOdfSpaceCount, isOdfFieldElement, measureOdfNodeLength, sumOdfNodeLength };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as measureOdfNodeLength, i as isOdfFieldElement, n as decodeOdfText, o as sumOdfNodeLength, r as getOdfSpaceCount, t as ODF_FIELD_TAGS } from "../../text-
|
|
1
|
+
import { a as measureOdfNodeLength, i as isOdfFieldElement, n as decodeOdfText, o as sumOdfNodeLength, r as getOdfSpaceCount, t as ODF_FIELD_TAGS } from "../../text-Bn3C7lnm.js";
|
|
2
2
|
export { ODF_FIELD_TAGS, decodeOdfText, getOdfSpaceCount, isOdfFieldElement, measureOdfNodeLength, sumOdfNodeLength };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as composeOdfGroupTransform, c as resolveOdfShapeGeometry, i as applyOdfTransform, n as OdfShapeGeometry, o as netRotationDeg, r as OdfTransformFunction, s as parseOdfTransform, t as OdfPoint } from "../../transform-
|
|
1
|
+
import { a as composeOdfGroupTransform, c as resolveOdfShapeGeometry, i as applyOdfTransform, n as OdfShapeGeometry, o as netRotationDeg, r as OdfTransformFunction, s as parseOdfTransform, t as OdfPoint } from "../../transform-M1gbHp4j.cjs";
|
|
2
2
|
export { OdfPoint, OdfShapeGeometry, OdfTransformFunction, applyOdfTransform, composeOdfGroupTransform, netRotationDeg, parseOdfTransform, resolveOdfShapeGeometry };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as composeOdfGroupTransform, c as resolveOdfShapeGeometry, i as applyOdfTransform, n as OdfShapeGeometry, o as netRotationDeg, r as OdfTransformFunction, s as parseOdfTransform, t as OdfPoint } from "../../transform-
|
|
1
|
+
import { a as composeOdfGroupTransform, c as resolveOdfShapeGeometry, i as applyOdfTransform, n as OdfShapeGeometry, o as netRotationDeg, r as OdfTransformFunction, s as parseOdfTransform, t as OdfPoint } from "../../transform-BFNc16LQ.js";
|
|
2
2
|
export { OdfPoint, OdfShapeGeometry, OdfTransformFunction, applyOdfTransform, composeOdfGroupTransform, netRotationDeg, parseOdfTransform, resolveOdfShapeGeometry };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as formatOdfLength, r as parseOdfLength, t as LengthUnit } from "../../units-
|
|
1
|
+
import { n as formatOdfLength, r as parseOdfLength, t as LengthUnit } from "../../units-BQSNkTQZ.cjs";
|
|
2
2
|
export { LengthUnit, formatOdfLength, parseOdfLength };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as formatOdfLength, r as parseOdfLength, t as LengthUnit } from "../../units-
|
|
1
|
+
import { n as formatOdfLength, r as parseOdfLength, t as LengthUnit } from "../../units-BQSNkTQZ.js";
|
|
2
2
|
export { LengthUnit, formatOdfLength, parseOdfLength };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/typed/shared/units.d.ts
|
|
2
|
-
type LengthUnit =
|
|
2
|
+
type LengthUnit = "cm" | "mm" | "in" | "pt" | "pc" | "px";
|
|
3
3
|
declare function parseOdfLength(value: string): number | undefined;
|
|
4
4
|
declare function formatOdfLength(pt: number, unit?: LengthUnit): string;
|
|
5
5
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/typed/shared/units.d.ts
|
|
2
|
-
type LengthUnit =
|
|
2
|
+
type LengthUnit = "cm" | "mm" | "in" | "pt" | "pc" | "px";
|
|
3
3
|
declare function parseOdfLength(value: string): number | undefined;
|
|
4
4
|
declare function formatOdfLength(pt: number, unit?: LengthUnit): string;
|
|
5
5
|
//#endregion
|
package/dist/util/base64.cjs
CHANGED
|
@@ -13,10 +13,10 @@ function bytesToBase64(bytes) {
|
|
|
13
13
|
const b0 = bytes[i];
|
|
14
14
|
const b1 = i + 1 < len ? bytes[i + 1] : 0;
|
|
15
15
|
const b2 = i + 2 < len ? bytes[i + 2] : 0;
|
|
16
|
-
out += TABLE
|
|
17
|
-
out += TABLE
|
|
18
|
-
out += i + 1 < len ? TABLE
|
|
19
|
-
out += i + 2 < len ? TABLE
|
|
16
|
+
out += TABLE.charAt(b0 >> 2);
|
|
17
|
+
out += TABLE.charAt((b0 & 3) << 4 | b1 >> 4);
|
|
18
|
+
out += i + 1 < len ? TABLE.charAt((b1 & 15) << 2 | b2 >> 6) : "=";
|
|
19
|
+
out += i + 2 < len ? TABLE.charAt(b2 & 63) : "=";
|
|
20
20
|
}
|
|
21
21
|
return out;
|
|
22
22
|
}
|
package/dist/util/base64.js
CHANGED
|
@@ -12,10 +12,10 @@ function bytesToBase64(bytes) {
|
|
|
12
12
|
const b0 = bytes[i];
|
|
13
13
|
const b1 = i + 1 < len ? bytes[i + 1] : 0;
|
|
14
14
|
const b2 = i + 2 < len ? bytes[i + 2] : 0;
|
|
15
|
-
out += TABLE
|
|
16
|
-
out += TABLE
|
|
17
|
-
out += i + 1 < len ? TABLE
|
|
18
|
-
out += i + 2 < len ? TABLE
|
|
15
|
+
out += TABLE.charAt(b0 >> 2);
|
|
16
|
+
out += TABLE.charAt((b0 & 3) << 4 | b1 >> 4);
|
|
17
|
+
out += i + 1 < len ? TABLE.charAt((b1 & 15) << 2 | b2 >> 6) : "=";
|
|
18
|
+
out += i + 2 < len ? TABLE.charAt(b2 & 63) : "=";
|
|
19
19
|
}
|
|
20
20
|
return out;
|
|
21
21
|
}
|
package/dist/xml/build.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildXml } from "../build
|
|
1
|
+
import { t as buildXml } from "../build--uPsivid.cjs";
|
|
2
2
|
export { buildXml };
|
package/dist/xml/build.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildXml } from "../build-
|
|
1
|
+
import { t as buildXml } from "../build-DgBE0bmv.js";
|
|
2
2
|
export { buildXml };
|
package/dist/xml/fragment.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as txt, t as el } from "../fragment-
|
|
1
|
+
import { n as txt, t as el } from "../fragment-9dNg-m46.cjs";
|
|
2
2
|
export { el, txt };
|
package/dist/xml/fragment.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as txt, t as el } from "../fragment-
|
|
1
|
+
import { n as txt, t as el } from "../fragment-ClgCV_if.js";
|
|
2
2
|
export { el, txt };
|
package/dist/xml/parse.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as parseXml } from "../parse-
|
|
1
|
+
import { t as parseXml } from "../parse-DcVtB3jT.cjs";
|
|
2
2
|
export { parseXml };
|
package/dist/xml/parse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as parseXml } from "../parse-
|
|
1
|
+
import { t as parseXml } from "../parse-BLukZ2z0.js";
|
|
2
2
|
export { parseXml };
|