odf.js 6.0.0 → 6.1.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.
Files changed (174) hide show
  1. package/README.md +39 -33
  2. package/dist/{build-XSm3I8LT.d.cts → build--uPsivid.d.cts} +1 -1
  3. package/dist/{build-Z1KRkSEB.d.ts → build-DgBE0bmv.d.ts} +1 -1
  4. package/dist/{cascade-DWQfTwaM.d.cts → cascade-BDkyOmoo.d.cts} +5 -5
  5. package/dist/{cascade-BZ7zqXhL.d.ts → cascade-CaVinmvp.d.ts} +5 -5
  6. package/dist/{codec-DztlTBCo.d.ts → codec-CyJ4gSH2.d.ts} +37 -37
  7. package/dist/{codec-Eu8F9yg-.d.cts → codec-lz3vgEos.d.cts} +37 -37
  8. package/dist/codec.d.cts +1 -1
  9. package/dist/codec.d.ts +1 -1
  10. package/dist/{constructs-C1S8qlVv.d.ts → constructs-BntJjuvH.d.ts} +8 -8
  11. package/dist/{constructs-FLBse5UV.d.cts → constructs-BzLZy5YP.d.cts} +8 -8
  12. package/dist/{embedded-Zv8KtFUo.d.ts → embedded-C8tiMCE_.d.ts} +3 -3
  13. package/dist/{embedded-BzPTTzdf.d.cts → embedded-tlaHMady.d.cts} +3 -3
  14. package/dist/{form-D8QjulSp.d.ts → form-D6XHM5SR.d.ts} +3 -3
  15. package/dist/{form-DuOeV_ao.d.cts → form-coDwVdjG.d.cts} +3 -3
  16. package/dist/{forms-Eh1N15Qy.d.cts → forms-Dc74fCtk.d.cts} +2 -2
  17. package/dist/{forms-CyLw7lpE.d.ts → forms-Eq2p1ss3.d.ts} +2 -2
  18. package/dist/{fragment-B1og_8uA.d.cts → fragment-9dNg-m46.d.cts} +1 -1
  19. package/dist/{fragment-B1ZV7T5Z.d.ts → fragment-ClgCV_if.d.ts} +1 -1
  20. package/dist/{geometry-lKWJ_ifA.d.cts → geometry-B7FZHSyD.d.cts} +1 -1
  21. package/dist/{geometry-DnhkIhAM.d.ts → geometry-BI33aJpv.d.ts} +1 -1
  22. package/dist/image/sniff.d.cts +1 -1
  23. package/dist/image/sniff.d.ts +1 -1
  24. package/dist/index.d.cts +40 -40
  25. package/dist/index.d.ts +40 -40
  26. package/dist/{list-KZeXA0mR.d.cts → list-DwTyo_B2.d.cts} +3 -3
  27. package/dist/{list-Qeuawtew.d.ts → list-X_GJY7P3.d.ts} +3 -3
  28. package/dist/{manifest-BALwu2JR.d.cts → manifest-BGs8Bbd_.d.cts} +1 -1
  29. package/dist/{manifest-CP1sqyGU.d.ts → manifest-Bju-_gTQ.d.ts} +1 -1
  30. package/dist/manifest.d.cts +1 -1
  31. package/dist/manifest.d.ts +1 -1
  32. package/dist/{masterpage-By_F05W4.d.ts → masterpage-BLK2OJ9q.d.ts} +2 -2
  33. package/dist/{masterpage-Bt6gxuoL.d.cts → masterpage-KqZshNGZ.d.cts} +2 -2
  34. package/dist/{metadata-1j1zm9Cx.d.cts → metadata-01SgHkRR.d.cts} +1 -1
  35. package/dist/{metadata-BXpjrAS-.d.ts → metadata-D1SOBTh8.d.ts} +1 -1
  36. package/dist/{mimetype-CPNMj04s.d.cts → mimetype-1BaQzNiS.d.cts} +1 -1
  37. package/dist/{mimetype-BfkwTeaW.d.ts → mimetype-DvMCOzmu.d.ts} +1 -1
  38. package/dist/mimetype.d.cts +1 -1
  39. package/dist/mimetype.d.ts +1 -1
  40. package/dist/model/node.d.cts +1 -1
  41. package/dist/model/node.d.ts +1 -1
  42. package/dist/model/package.d.cts +1 -1
  43. package/dist/model/package.d.ts +1 -1
  44. package/dist/{node-CkBWRjNR.d.cts → node-B6JX5CRX.d.cts} +1 -1
  45. package/dist/{node-CkBWRjNR.d.ts → node-B6JX5CRX.d.ts} +1 -1
  46. package/dist/{package-L24lkba-.d.cts → package-DMk9fuTI.d.cts} +1 -1
  47. package/dist/package-io/read.d.cts +1 -1
  48. package/dist/package-io/read.d.ts +1 -1
  49. package/dist/package-io/write.d.cts +1 -1
  50. package/dist/package-io/write.d.ts +1 -1
  51. package/dist/{package-BUojjTXf.d.ts → package-otZYrxiO.d.ts} +1 -1
  52. package/dist/{paragraph-hzoy-Wos.d.ts → paragraph-ByTzS8Li.d.ts} +4 -4
  53. package/dist/{paragraph-DaMqmhe3.d.cts → paragraph-CVULactG.d.cts} +4 -4
  54. package/dist/{parse-A8_8sdpX.d.ts → parse-BLukZ2z0.d.ts} +1 -1
  55. package/dist/{parse-CP5FLZqv.d.cts → parse-DcVtB3jT.d.cts} +1 -1
  56. package/dist/{path-DE7wkIcz.d.cts → path-CK0dIPgx.d.cts} +2 -2
  57. package/dist/{path-DE7wkIcz.d.ts → path-CK0dIPgx.d.ts} +2 -2
  58. package/dist/{properties-Rral02h1.d.ts → properties-CJyykyc_.d.ts} +1 -1
  59. package/dist/{properties-C-JKQZUD.d.cts → properties-CiIoNu2h.d.cts} +1 -1
  60. package/dist/{query-P-Y5DK0-.d.cts → query-C69wTkqg.d.cts} +1 -1
  61. package/dist/{query-sECN-7vU.d.ts → query-CbxD-WiQ.d.ts} +1 -1
  62. package/dist/{read-DYYxbvfo.d.ts → read-8s8AdaEd.d.ts} +2 -2
  63. package/dist/{read-CvjbdgH3.d.ts → read-B2jnd5eS.d.ts} +3 -3
  64. package/dist/{read-CydREmpv.d.ts → read-BcxAWBB5.d.ts} +4 -4
  65. package/dist/{read-BeSqYhgO.d.ts → read-Bo1GBjSE.d.ts} +1 -1
  66. package/dist/{read-CnmgrUcT.d.ts → read-C_oVZAnY.d.ts} +2 -2
  67. package/dist/{read-BV2an1ok.d.cts → read-D3V_MVAL.d.cts} +3 -3
  68. package/dist/{read-M0Tx5gOi.d.ts → read-D3wLfr-7.d.ts} +1 -1
  69. package/dist/{read-1Pb4V339.d.cts → read-DHOQqjOZ.d.cts} +1 -1
  70. package/dist/{read-IuxtJHKB.d.cts → read-DSyz0YLj.d.cts} +1 -1
  71. package/dist/{read-sg7J23Kt.d.ts → read-DUOJ-1hX.d.ts} +1 -1
  72. package/dist/{read-CmA_zSSu.d.cts → read-Dy5p1OMb.d.cts} +4 -4
  73. package/dist/{read-CMDEXqGw.d.ts → read-a0p7laV3.d.ts} +1 -1
  74. package/dist/{read-DSm8V7pi.d.cts → read-j9o0IoMq.d.cts} +2 -2
  75. package/dist/{read-ydLJ8bid.d.cts → read-jVX8DHs3.d.cts} +2 -2
  76. package/dist/{read-DzmMJPHd.d.cts → read-sawU0IWI.d.cts} +1 -1
  77. package/dist/{read-iseHPpTG.d.cts → read-tpfiT_n4.d.cts} +1 -1
  78. package/dist/{registry-CphRYjDD.d.cts → registry-B-ZkdQv1.d.cts} +2 -2
  79. package/dist/{registry-D5RGBteE.d.ts → registry-Dajfxsbz.d.ts} +2 -2
  80. package/dist/{report-D6WNYaVn.d.cts → report-39DyUx5W.d.cts} +2 -2
  81. package/dist/{report-DbslT2OR.d.ts → report-x9RuNwmr.d.ts} +2 -2
  82. package/dist/{serialize-D1fti8C5.d.cts → serialize-BU7HZ8Qh.d.cts} +2 -2
  83. package/dist/{serialize-B-lq0LiG.d.ts → serialize-CWz84e0m.d.ts} +2 -2
  84. package/dist/{shapes-8o3NjBLU.d.cts → shapes-BCjeY90t.d.cts} +4 -4
  85. package/dist/{shapes-CCB8ydqD.d.ts → shapes-QkOsc-WT.d.ts} +4 -4
  86. package/dist/{sniff-DjpnUZRp.d.cts → sniff-DGOBHA0O.d.cts} +1 -1
  87. package/dist/{sniff-DjpnUZRp.d.ts → sniff-DGOBHA0O.d.ts} +1 -1
  88. package/dist/{span-KXroEGuH.d.ts → span-C3aJuEOM.d.ts} +1 -1
  89. package/dist/{span-BtmvlqZH.d.cts → span-DSM1SnHI.d.cts} +1 -1
  90. package/dist/styles/properties.d.cts +1 -1
  91. package/dist/styles/properties.d.ts +1 -1
  92. package/dist/styles/registry.d.cts +1 -1
  93. package/dist/styles/registry.d.ts +1 -1
  94. package/dist/styles/serialize.d.cts +1 -1
  95. package/dist/styles/serialize.d.ts +1 -1
  96. package/dist/styles/span.d.cts +1 -1
  97. package/dist/styles/span.d.ts +1 -1
  98. package/dist/{subdocument-BwW3FZC_.d.ts → subdocument-BhabEY9P.d.ts} +1 -1
  99. package/dist/{subdocument-yY8ASE4N.d.cts → subdocument-CQptFIQK.d.cts} +1 -1
  100. package/dist/{table-BH_Q2n_N.d.cts → table-CYvFMlP6.d.cts} +3 -3
  101. package/dist/{table-ByOoGcq_.d.ts → table-DclDgC5h.d.ts} +3 -3
  102. package/dist/{text-gJ5R0q3u.d.ts → text-Bn3C7lnm.d.ts} +1 -1
  103. package/dist/{text-BAi1tapc.d.cts → text-CDUCcwje.d.cts} +1 -1
  104. package/dist/{transform-C7GrZZdR.d.ts → transform-BFNc16LQ.d.ts} +3 -3
  105. package/dist/{transform-DKEjydnm.d.cts → transform-M1gbHp4j.d.cts} +3 -3
  106. package/dist/typed/draw/embedded.d.cts +1 -1
  107. package/dist/typed/draw/embedded.d.ts +1 -1
  108. package/dist/typed/draw/shapes.d.cts +1 -1
  109. package/dist/typed/draw/shapes.d.ts +1 -1
  110. package/dist/typed/formula/read.d.cts +1 -1
  111. package/dist/typed/formula/read.d.ts +1 -1
  112. package/dist/typed/odb/form.d.cts +1 -1
  113. package/dist/typed/odb/form.d.ts +1 -1
  114. package/dist/typed/odb/read.d.cts +1 -1
  115. package/dist/typed/odb/read.d.ts +1 -1
  116. package/dist/typed/odb/report.d.cts +1 -1
  117. package/dist/typed/odb/report.d.ts +1 -1
  118. package/dist/typed/odb/subdocument.d.cts +1 -1
  119. package/dist/typed/odb/subdocument.d.ts +1 -1
  120. package/dist/typed/odg/read.d.cts +1 -1
  121. package/dist/typed/odg/read.d.ts +1 -1
  122. package/dist/typed/odm/read.d.cts +1 -1
  123. package/dist/typed/odm/read.d.ts +1 -1
  124. package/dist/typed/odp/read.d.cts +1 -1
  125. package/dist/typed/odp/read.d.ts +1 -1
  126. package/dist/typed/ods/read.d.cts +1 -1
  127. package/dist/typed/ods/read.d.ts +1 -1
  128. package/dist/typed/odt/read.d.cts +1 -1
  129. package/dist/typed/odt/read.d.ts +1 -1
  130. package/dist/typed/shared/cascade.d.cts +1 -1
  131. package/dist/typed/shared/cascade.d.ts +1 -1
  132. package/dist/typed/shared/constructs.d.cts +1 -1
  133. package/dist/typed/shared/constructs.d.ts +1 -1
  134. package/dist/typed/shared/forms.d.cts +1 -1
  135. package/dist/typed/shared/forms.d.ts +1 -1
  136. package/dist/typed/shared/geometry.d.cts +1 -1
  137. package/dist/typed/shared/geometry.d.ts +1 -1
  138. package/dist/typed/shared/list.d.cts +1 -1
  139. package/dist/typed/shared/list.d.ts +1 -1
  140. package/dist/typed/shared/masterpage.d.cts +1 -1
  141. package/dist/typed/shared/masterpage.d.ts +1 -1
  142. package/dist/typed/shared/metadata.d.cts +1 -1
  143. package/dist/typed/shared/metadata.d.ts +1 -1
  144. package/dist/typed/shared/paragraph.cjs +1 -1
  145. package/dist/typed/shared/paragraph.d.cts +1 -1
  146. package/dist/typed/shared/paragraph.d.ts +1 -1
  147. package/dist/typed/shared/paragraph.js +1 -1
  148. package/dist/typed/shared/path.d.cts +1 -1
  149. package/dist/typed/shared/path.d.ts +1 -1
  150. package/dist/typed/shared/table.cjs +1 -1
  151. package/dist/typed/shared/table.d.cts +1 -1
  152. package/dist/typed/shared/table.d.ts +1 -1
  153. package/dist/typed/shared/table.js +1 -1
  154. package/dist/typed/shared/text.d.cts +1 -1
  155. package/dist/typed/shared/text.d.ts +1 -1
  156. package/dist/typed/shared/transform.d.cts +1 -1
  157. package/dist/typed/shared/transform.d.ts +1 -1
  158. package/dist/typed/shared/units.d.cts +1 -1
  159. package/dist/typed/shared/units.d.ts +1 -1
  160. package/dist/{units-7pCiECuP.d.cts → units-BQSNkTQZ.d.cts} +1 -1
  161. package/dist/{units-7pCiECuP.d.ts → units-BQSNkTQZ.d.ts} +1 -1
  162. package/dist/util/base64.cjs +4 -4
  163. package/dist/util/base64.js +4 -4
  164. package/dist/{write-D3kyj1Xw.d.cts → write-Crk-Yt_w.d.cts} +1 -1
  165. package/dist/{write-BxVkPZID.d.ts → write-R36XIZKx.d.ts} +1 -1
  166. package/dist/xml/build.d.cts +1 -1
  167. package/dist/xml/build.d.ts +1 -1
  168. package/dist/xml/fragment.d.cts +1 -1
  169. package/dist/xml/fragment.d.ts +1 -1
  170. package/dist/xml/parse.d.cts +1 -1
  171. package/dist/xml/parse.d.ts +1 -1
  172. package/dist/xml/query.d.cts +1 -1
  173. package/dist/xml/query.d.ts +1 -1
  174. package/package.json +2 -10
@@ -1,2 +1,2 @@
1
- import { n as resolveDrawPageSize, r as resolvePageLayoutProperties, t as readOdfMasterPageElements } from "../../masterpage-Bt6gxuoL.cjs";
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-By_F05W4.js";
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-1j1zm9Cx.cjs";
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-BXpjrAS-.js";
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 = void 0) {
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-DaMqmhe3.cjs";
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-hzoy-Wos.js";
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 = void 0) {
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-DE7wkIcz.cjs";
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-DE7wkIcz.js";
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) delete accumulated[edge];
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-BH_Q2n_N.cjs";
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-ByOoGcq_.js";
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) delete accumulated[edge];
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-BAi1tapc.cjs";
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-gJ5R0q3u.js";
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-DKEjydnm.cjs";
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-C7GrZZdR.js";
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-7pCiECuP.cjs";
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-7pCiECuP.js";
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 = 'cm' | 'mm' | 'in' | 'pt' | 'pc' | 'px';
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 = 'cm' | 'mm' | 'in' | 'pt' | 'pc' | 'px';
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
@@ -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[b0 >> 2];
17
- out += TABLE[(b0 & 3) << 4 | b1 >> 4];
18
- out += i + 1 < len ? TABLE[(b1 & 15) << 2 | b2 >> 6] : "=";
19
- out += i + 2 < len ? TABLE[b2 & 63] : "=";
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
  }
@@ -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[b0 >> 2];
16
- out += TABLE[(b0 & 3) << 4 | b1 >> 4];
17
- out += i + 1 < len ? TABLE[(b1 & 15) << 2 | b2 >> 6] : "=";
18
- out += i + 2 < len ? TABLE[b2 & 63] : "=";
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
  }
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-L24lkba-.cjs";
1
+ import { r as Package } from "./package-DMk9fuTI.cjs";
2
2
  //#region src/package-io/write.d.ts
3
3
  declare const MIMETYPE_PART = "mimetype";
4
4
  declare const MANIFEST_PART = "META-INF/manifest.xml";
@@ -1,4 +1,4 @@
1
- import { r as Package } from "./package-BUojjTXf.js";
1
+ import { r as Package } from "./package-otZYrxiO.js";
2
2
  //#region src/package-io/write.d.ts
3
3
  declare const MIMETYPE_PART = "mimetype";
4
4
  declare const MANIFEST_PART = "META-INF/manifest.xml";
@@ -1,2 +1,2 @@
1
- import { t as buildXml } from "../build-XSm3I8LT.cjs";
1
+ import { t as buildXml } from "../build--uPsivid.cjs";
2
2
  export { buildXml };
@@ -1,2 +1,2 @@
1
- import { t as buildXml } from "../build-Z1KRkSEB.js";
1
+ import { t as buildXml } from "../build-DgBE0bmv.js";
2
2
  export { buildXml };
@@ -1,2 +1,2 @@
1
- import { n as txt, t as el } from "../fragment-B1og_8uA.cjs";
1
+ import { n as txt, t as el } from "../fragment-9dNg-m46.cjs";
2
2
  export { el, txt };
@@ -1,2 +1,2 @@
1
- import { n as txt, t as el } from "../fragment-B1ZV7T5Z.js";
1
+ import { n as txt, t as el } from "../fragment-ClgCV_if.js";
2
2
  export { el, txt };
@@ -1,2 +1,2 @@
1
- import { t as parseXml } from "../parse-CP5FLZqv.cjs";
1
+ import { t as parseXml } from "../parse-DcVtB3jT.cjs";
2
2
  export { parseXml };
@@ -1,2 +1,2 @@
1
- import { t as parseXml } from "../parse-A8_8sdpX.js";
1
+ import { t as parseXml } from "../parse-BLukZ2z0.js";
2
2
  export { parseXml };
@@ -1,2 +1,2 @@
1
- import { a as rootElement, i as findChildElement, n as childrenWithTag, r as elementsWithTag, t as attrValue } from "../query-P-Y5DK0-.cjs";
1
+ import { a as rootElement, i as findChildElement, n as childrenWithTag, r as elementsWithTag, t as attrValue } from "../query-C69wTkqg.cjs";
2
2
  export { attrValue, childrenWithTag, elementsWithTag, findChildElement, rootElement };
@@ -1,2 +1,2 @@
1
- import { a as rootElement, i as findChildElement, n as childrenWithTag, r as elementsWithTag, t as attrValue } from "../query-sECN-7vU.js";
1
+ import { a as rootElement, i as findChildElement, n as childrenWithTag, r as elementsWithTag, t as attrValue } from "../query-CbxD-WiQ.js";
2
2
  export { attrValue, childrenWithTag, elementsWithTag, findChildElement, rootElement };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "odf.js",
3
- "version": "6.0.0",
3
+ "version": "6.1.1",
4
4
  "description": "Type-safe, lossless round-trip conversion between OpenDocument Format packages (odt, ods, odp) and JSON, hand-written and dependency-minimal, built on Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -79,7 +79,7 @@
79
79
  "license": "MIT",
80
80
  "packageManager": "pnpm@11.6.0",
81
81
  "dependencies": {
82
- "document-schema.js": "^5.0.0",
82
+ "document-schema.js": "^5.2.0",
83
83
  "fast-xml-parser": "^5.10.1",
84
84
  "fflate": "^0.8.3",
85
85
  "zod": "^4.4.3"
@@ -87,18 +87,10 @@
87
87
  "devDependencies": {
88
88
  "@arethetypeswrong/cli": "^0.18.5",
89
89
  "@cloudflare/vitest-pool-workers": "^0.20.2",
90
- "@commitlint/cli": "^21.2.1",
91
- "@commitlint/config-conventional": "^21.2.0",
92
- "@eslint/js": "^10.0.1",
93
- "@exadev/eslint-config": "^2.1.0",
94
- "@semantic-release/changelog": "^7.0.0",
95
- "@semantic-release/git": "^11.0.1",
96
90
  "@types/node": "^26.1.1",
97
91
  "@vitest/coverage-v8": "^4.1.10",
98
92
  "eslint": "^10.8.0",
99
- "globals": "^17.8.0",
100
93
  "husky": "^9.1.7",
101
- "lint-staged": "^17.2.0",
102
94
  "publint": "^0.3.21",
103
95
  "semantic-release": "^25.0.8",
104
96
  "tsdown": "^0.22.13",