documents.js 1.61.0 → 1.62.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.
Files changed (214) hide show
  1. package/README.md +83 -43
  2. package/dist/{blr-types-CYYC3yYU.d.cts → blr-types-DVgO1DQ9.d.cts} +1 -1
  3. package/dist/{blr-types-CYYC3yYU.d.ts → blr-types-DVgO1DQ9.d.ts} +1 -1
  4. package/dist/convert/capability.cjs +1 -0
  5. package/dist/convert/capability.d.cts +1 -1
  6. package/dist/convert/capability.d.ts +1 -1
  7. package/dist/convert/capability.js +1 -0
  8. package/dist/convert/convert.cjs +29 -27
  9. package/dist/convert/convert.d.cts +9 -3
  10. package/dist/convert/convert.d.ts +9 -3
  11. package/dist/convert/convert.js +29 -27
  12. package/dist/edit/docx/content.cjs +75 -13
  13. package/dist/edit/docx/content.d.cts +8 -2
  14. package/dist/edit/docx/content.d.ts +8 -2
  15. package/dist/edit/docx/content.js +75 -13
  16. package/dist/edit/docx/paragraph.cjs +14 -0
  17. package/dist/edit/docx/paragraph.d.cts +5 -0
  18. package/dist/edit/docx/paragraph.d.ts +5 -0
  19. package/dist/edit/docx/paragraph.js +14 -0
  20. package/dist/edit/docx/run.cjs +1 -1
  21. package/dist/edit/docx/run.js +1 -1
  22. package/dist/edit/docx/table.cjs +41 -0
  23. package/dist/edit/docx/table.d.cts +7 -1
  24. package/dist/edit/docx/table.d.ts +7 -1
  25. package/dist/edit/docx/table.js +42 -1
  26. package/dist/edit/geometry.cjs +38 -0
  27. package/dist/edit/geometry.d.cts +7 -0
  28. package/dist/edit/geometry.d.ts +7 -0
  29. package/dist/edit/geometry.js +36 -0
  30. package/dist/edit/odg/content.cjs +15 -12
  31. package/dist/edit/odg/content.js +15 -12
  32. package/dist/edit/odg/editor.d.cts +1 -1
  33. package/dist/edit/odg/editor.d.ts +1 -1
  34. package/dist/edit/odg/page.d.cts +3 -3
  35. package/dist/edit/odg/page.d.ts +3 -3
  36. package/dist/edit/odg/vector.cjs +22 -13
  37. package/dist/edit/odg/vector.d.cts +1 -1
  38. package/dist/edit/odg/vector.d.ts +1 -1
  39. package/dist/edit/odg/vector.js +23 -14
  40. package/dist/edit/odp/content.cjs +15 -0
  41. package/dist/edit/odp/content.js +16 -1
  42. package/dist/edit/odp/editor.d.cts +1 -1
  43. package/dist/edit/odp/editor.d.ts +1 -1
  44. package/dist/edit/odp/image.d.cts +1 -1
  45. package/dist/edit/odp/image.d.ts +1 -1
  46. package/dist/edit/odp/shape.cjs +11 -30
  47. package/dist/edit/odp/shape.d.cts +2 -2
  48. package/dist/edit/odp/shape.d.ts +2 -2
  49. package/dist/edit/odp/shape.js +13 -33
  50. package/dist/edit/odp/slide.cjs +11 -0
  51. package/dist/edit/odp/slide.d.cts +14 -4
  52. package/dist/edit/odp/slide.d.ts +14 -4
  53. package/dist/edit/odp/slide.js +12 -1
  54. package/dist/edit/odt/content.cjs +56 -16
  55. package/dist/edit/odt/content.d.cts +4 -2
  56. package/dist/edit/odt/content.d.ts +4 -2
  57. package/dist/edit/odt/content.js +56 -17
  58. package/dist/edit/odt/editor.d.cts +1 -1
  59. package/dist/edit/odt/editor.d.ts +1 -1
  60. package/dist/edit/odt/table.cjs +36 -0
  61. package/dist/edit/odt/table.d.cts +1 -36
  62. package/dist/edit/odt/table.d.ts +1 -36
  63. package/dist/edit/odt/table.js +37 -1
  64. package/dist/edit/pptx/content.cjs +71 -3
  65. package/dist/edit/pptx/content.js +71 -3
  66. package/dist/edit/pptx/editor.d.cts +1 -1
  67. package/dist/edit/pptx/editor.d.ts +1 -1
  68. package/dist/edit/pptx/image.d.cts +1 -1
  69. package/dist/edit/pptx/image.d.ts +1 -1
  70. package/dist/edit/pptx/shape.cjs +23 -1
  71. package/dist/edit/pptx/shape.d.cts +2 -2
  72. package/dist/edit/pptx/shape.d.ts +2 -2
  73. package/dist/edit/pptx/shape.js +23 -3
  74. package/dist/edit/pptx/slide.cjs +10 -1
  75. package/dist/edit/pptx/slide.d.cts +11 -4
  76. package/dist/edit/pptx/slide.d.ts +11 -4
  77. package/dist/edit/pptx/slide.js +10 -1
  78. package/dist/edit/pptx/table.cjs +136 -0
  79. package/dist/edit/pptx/table.d.cts +2 -0
  80. package/dist/edit/pptx/table.d.ts +2 -0
  81. package/dist/edit/pptx/table.js +131 -0
  82. package/dist/firebird/backup.d.cts +1 -1
  83. package/dist/firebird/backup.d.ts +1 -1
  84. package/dist/firebird/blr-types.cjs +2 -2
  85. package/dist/firebird/blr-types.d.cts +1 -1
  86. package/dist/firebird/blr-types.d.ts +1 -1
  87. package/dist/firebird/blr-types.js +2 -2
  88. package/dist/firebird/data.cjs +68 -14
  89. package/dist/firebird/data.d.cts +1 -1
  90. package/dist/firebird/data.d.ts +1 -1
  91. package/dist/firebird/data.js +68 -14
  92. package/dist/firebird/schema.cjs +13 -1
  93. package/dist/firebird/schema.d.cts +1 -1
  94. package/dist/firebird/schema.d.ts +1 -1
  95. package/dist/firebird/schema.js +13 -1
  96. package/dist/{geometry-DvwdrIij.d.cts → geometry-DaJr8yQW.d.cts} +2 -2
  97. package/dist/{geometry-DvwdrIij.d.ts → geometry-DaJr8yQW.d.ts} +2 -2
  98. package/dist/hsqldb/binary-script.cjs +154 -0
  99. package/dist/hsqldb/binary-script.d.cts +15 -0
  100. package/dist/hsqldb/binary-script.d.ts +15 -0
  101. package/dist/hsqldb/binary-script.js +151 -0
  102. package/dist/hsqldb/cache.cjs +18 -11
  103. package/dist/hsqldb/cache.d.cts +9 -4
  104. package/dist/hsqldb/cache.d.ts +9 -4
  105. package/dist/hsqldb/cache.js +18 -11
  106. package/dist/hsqldb/rowformat.cjs +60 -16
  107. package/dist/hsqldb/rowformat.d.cts +2 -21
  108. package/dist/hsqldb/rowformat.d.ts +2 -21
  109. package/dist/hsqldb/rowformat.js +60 -17
  110. package/dist/{image-BZDy72Jb.d.cts → image-7snmKIxn.d.cts} +1 -1
  111. package/dist/{image-B-xQWYYS.d.ts → image-Cs8xF753.d.ts} +1 -1
  112. package/dist/{image-CeqwL-Qs.d.ts → image-DHcA9kaK.d.ts} +1 -1
  113. package/dist/{image-DWX6cNOD.d.cts → image-M5SezZVI.d.cts} +1 -1
  114. package/dist/index.cjs +54 -3
  115. package/dist/index.d.cts +28 -20
  116. package/dist/index.d.ts +27 -19
  117. package/dist/index.js +13 -4
  118. package/dist/layout/cell-typing.cjs +209 -0
  119. package/dist/layout/cell-typing.d.cts +22 -0
  120. package/dist/layout/cell-typing.d.ts +22 -0
  121. package/dist/layout/cell-typing.js +208 -0
  122. package/dist/layout/drawing.cjs +193 -17
  123. package/dist/layout/drawing.js +193 -17
  124. package/dist/layout/engine.cjs +46 -29
  125. package/dist/layout/engine.d.cts +0 -2
  126. package/dist/layout/engine.d.ts +0 -2
  127. package/dist/layout/engine.js +47 -30
  128. package/dist/layout/lattice.cjs +139 -0
  129. package/dist/layout/lattice.d.cts +20 -0
  130. package/dist/layout/lattice.d.ts +20 -0
  131. package/dist/layout/lattice.js +135 -0
  132. package/dist/layout/reconstruct.cjs +176 -113
  133. package/dist/layout/reconstruct.d.cts +2 -0
  134. package/dist/layout/reconstruct.d.ts +2 -0
  135. package/dist/layout/reconstruct.js +173 -110
  136. package/dist/layout/shared.cjs +52 -0
  137. package/dist/layout/shared.d.cts +4 -2
  138. package/dist/layout/shared.d.ts +4 -2
  139. package/dist/layout/shared.js +51 -1
  140. package/dist/layout/sheets.cjs +45 -11
  141. package/dist/layout/sheets.js +46 -12
  142. package/dist/layout/slides.cjs +7 -7
  143. package/dist/layout/slides.d.cts +0 -3
  144. package/dist/layout/slides.d.ts +0 -3
  145. package/dist/layout/slides.js +7 -7
  146. package/dist/markdown/write.cjs +19 -6
  147. package/dist/markdown/write.js +19 -6
  148. package/dist/mathml/layout.cjs +2 -2
  149. package/dist/mathml/layout.d.cts +1 -1
  150. package/dist/mathml/layout.d.ts +1 -1
  151. package/dist/mathml/layout.js +2 -2
  152. package/dist/model/embedded-drawing.cjs +32 -0
  153. package/dist/model/embedded-drawing.d.cts +8 -0
  154. package/dist/model/embedded-drawing.d.ts +8 -0
  155. package/dist/model/embedded-drawing.js +30 -0
  156. package/dist/model/formula.cjs +31 -0
  157. package/dist/model/formula.d.cts +6 -6
  158. package/dist/model/formula.d.ts +6 -6
  159. package/dist/model/formula.js +27 -0
  160. package/dist/model/geometry.d.cts +1 -1
  161. package/dist/model/geometry.d.ts +1 -1
  162. package/dist/model/paint-order.cjs +15 -0
  163. package/dist/model/paint-order.d.cts +14 -0
  164. package/dist/model/paint-order.d.ts +14 -0
  165. package/dist/model/paint-order.js +14 -0
  166. package/dist/odb/components.cjs +12 -0
  167. package/dist/odb/components.d.cts +6 -0
  168. package/dist/odb/components.d.ts +6 -0
  169. package/dist/odb/components.js +10 -0
  170. package/dist/odb/read.cjs +11 -7
  171. package/dist/odb/read.d.cts +3 -2
  172. package/dist/odb/read.d.ts +3 -2
  173. package/dist/odb/read.js +11 -7
  174. package/dist/odf/formula/detect.cjs +86 -18
  175. package/dist/odf/formula/detect.d.cts +10 -6
  176. package/dist/odf/formula/detect.d.ts +10 -6
  177. package/dist/odf/formula/detect.js +86 -19
  178. package/dist/odf/formula/read.cjs +4 -16
  179. package/dist/odf/formula/read.d.cts +4 -8
  180. package/dist/odf/formula/read.d.ts +4 -8
  181. package/dist/odf/formula/read.js +5 -17
  182. package/dist/odf/odp/read.cjs +9 -19
  183. package/dist/odf/odp/read.d.cts +2 -7
  184. package/dist/odf/odp/read.d.ts +2 -7
  185. package/dist/odf/odp/read.js +10 -20
  186. package/dist/odf/odt/read.cjs +63 -23
  187. package/dist/odf/odt/read.d.cts +2 -7
  188. package/dist/odf/odt/read.d.ts +2 -7
  189. package/dist/odf/odt/read.js +64 -24
  190. package/dist/omml/write.cjs +258 -0
  191. package/dist/omml/write.d.cts +2 -0
  192. package/dist/omml/write.d.ts +2 -0
  193. package/dist/omml/write.js +256 -0
  194. package/dist/rowformat-Cl2exlEh.d.cts +25 -0
  195. package/dist/rowformat-Cl2exlEh.d.ts +25 -0
  196. package/dist/{schema-Acco3Ezi.d.cts → schema-BeR_KJ0X.d.cts} +3 -1
  197. package/dist/{schema-VkAA6pF5.d.ts → schema-CSKwSb_v.d.ts} +3 -1
  198. package/dist/{shape-BUfjw5eZ.d.cts → shape-BhkP6HB8.d.cts} +6 -2
  199. package/dist/{shape-CTkl6kt8.d.ts → shape-BkVcwPcf.d.ts} +6 -2
  200. package/dist/{shape-BfN3m52m.d.ts → shape-CVXedeL7.d.ts} +3 -2
  201. package/dist/{shape-CN2ycxOo.d.cts → shape-CXZ6fejV.d.cts} +3 -2
  202. package/dist/table-C3CPZ--2.d.cts +35 -0
  203. package/dist/table-DjYcNOFm.d.cts +44 -0
  204. package/dist/table-DqfqMkVq.d.ts +44 -0
  205. package/dist/table-DvS_7UQS.d.ts +35 -0
  206. package/dist/{vector-ClohqsOe.d.cts → vector-Puuqu_IT.d.cts} +4 -0
  207. package/dist/{vector-ClohqsOe.d.ts → vector-Puuqu_IT.d.ts} +4 -0
  208. package/dist/write-DuyfnbL_.d.cts +16 -0
  209. package/dist/write-Zqwx6pka.d.ts +16 -0
  210. package/package.json +4 -4
  211. package/dist/odf/formula/placeholder.cjs +0 -36
  212. package/dist/odf/formula/placeholder.d.cts +0 -14
  213. package/dist/odf/formula/placeholder.d.ts +0 -14
  214. package/dist/odf/formula/placeholder.js +0 -36
@@ -1,3 +1,4 @@
1
+ import { n as HsqldbDecodeOptions } from "../rowformat-Cl2exlEh.cjs";
1
2
  import { HsqldbColumn, HsqldbTable } from "./script.cjs";
2
3
  import { ContentCellValue } from "document-schema.js";
3
4
  //#region src/hsqldb/cache.d.ts
@@ -6,8 +7,12 @@ interface HsqldbCacheFileInfo {
6
7
  readonly compatibleVersion: string | undefined;
7
8
  }
8
9
  declare function parseHsqldbProperties(text: string): HsqldbCacheFileInfo;
9
- declare function parseHsqldbIndexRoots(scriptText: string): ReadonlyMap<string, number>;
10
- declare function readHsqldbCachedTableRows(dataBytes: Uint8Array<ArrayBuffer>, rootPos: number, cacheFileScale: number, columns: readonly HsqldbColumn[]): (readonly ContentCellValue[])[];
11
- declare function decodeHsqldbCachedTables(tables: readonly HsqldbTable[], scriptText: string, dataBytes: Uint8Array<ArrayBuffer>, propertiesText: string): readonly HsqldbTable[];
10
+ interface HsqldbTableIndexRoots {
11
+ readonly rootPosition: number;
12
+ readonly indexCount: number;
13
+ }
14
+ declare function parseHsqldbIndexRoots(scriptText: string): ReadonlyMap<string, HsqldbTableIndexRoots>;
15
+ declare function readHsqldbCachedTableRows(dataBytes: Uint8Array<ArrayBuffer>, roots: HsqldbTableIndexRoots, cacheFileScale: number, columns: readonly HsqldbColumn[], options?: HsqldbDecodeOptions): (readonly ContentCellValue[])[];
16
+ declare function decodeHsqldbCachedTables(tables: readonly HsqldbTable[], scriptText: string, dataBytes: Uint8Array<ArrayBuffer>, propertiesText: string, options?: HsqldbDecodeOptions): readonly HsqldbTable[];
12
17
  //#endregion
13
- export { HsqldbCacheFileInfo, decodeHsqldbCachedTables, parseHsqldbIndexRoots, parseHsqldbProperties, readHsqldbCachedTableRows };
18
+ export { HsqldbCacheFileInfo, HsqldbTableIndexRoots, decodeHsqldbCachedTables, parseHsqldbIndexRoots, parseHsqldbProperties, readHsqldbCachedTableRows };
@@ -1,3 +1,4 @@
1
+ import { n as HsqldbDecodeOptions } from "../rowformat-Cl2exlEh.js";
1
2
  import { HsqldbColumn, HsqldbTable } from "./script.js";
2
3
  import { ContentCellValue } from "document-schema.js";
3
4
  //#region src/hsqldb/cache.d.ts
@@ -6,8 +7,12 @@ interface HsqldbCacheFileInfo {
6
7
  readonly compatibleVersion: string | undefined;
7
8
  }
8
9
  declare function parseHsqldbProperties(text: string): HsqldbCacheFileInfo;
9
- declare function parseHsqldbIndexRoots(scriptText: string): ReadonlyMap<string, number>;
10
- declare function readHsqldbCachedTableRows(dataBytes: Uint8Array<ArrayBuffer>, rootPos: number, cacheFileScale: number, columns: readonly HsqldbColumn[]): (readonly ContentCellValue[])[];
11
- declare function decodeHsqldbCachedTables(tables: readonly HsqldbTable[], scriptText: string, dataBytes: Uint8Array<ArrayBuffer>, propertiesText: string): readonly HsqldbTable[];
10
+ interface HsqldbTableIndexRoots {
11
+ readonly rootPosition: number;
12
+ readonly indexCount: number;
13
+ }
14
+ declare function parseHsqldbIndexRoots(scriptText: string): ReadonlyMap<string, HsqldbTableIndexRoots>;
15
+ declare function readHsqldbCachedTableRows(dataBytes: Uint8Array<ArrayBuffer>, roots: HsqldbTableIndexRoots, cacheFileScale: number, columns: readonly HsqldbColumn[], options?: HsqldbDecodeOptions): (readonly ContentCellValue[])[];
16
+ declare function decodeHsqldbCachedTables(tables: readonly HsqldbTable[], scriptText: string, dataBytes: Uint8Array<ArrayBuffer>, propertiesText: string, options?: HsqldbDecodeOptions): readonly HsqldbTable[];
12
17
  //#endregion
13
- export { HsqldbCacheFileInfo, decodeHsqldbCachedTables, parseHsqldbIndexRoots, parseHsqldbProperties, readHsqldbCachedTableRows };
18
+ export { HsqldbCacheFileInfo, HsqldbTableIndexRoots, decodeHsqldbCachedTables, parseHsqldbIndexRoots, parseHsqldbProperties, readHsqldbCachedTableRows };
@@ -1,6 +1,7 @@
1
1
  import { HsqldbDataCursor, HsqldbRowFormatError, readHsqldbColumnValue, resolveHsqldbTypeCode } from "./rowformat.js";
2
2
  //#region src/hsqldb/cache.ts
3
3
  const SUPPORTED_COMPATIBLE_VERSION_PREFIXES = ["1.7.", "1.8."];
4
+ const DISK_NODE_SIZE_BYTES = 16;
4
5
  function parseHsqldbProperties(text) {
5
6
  const props = /* @__PURE__ */ new Map();
6
7
  for (const rawLine of text.split("\n")) {
@@ -31,17 +32,22 @@ function parseHsqldbIndexRoots(scriptText) {
31
32
  const tokensText = match[2] ?? "";
32
33
  const tableName = unquoteIdentifier(rawName).toUpperCase();
33
34
  const tokens = tokensText.trim().length === 0 ? [] : tokensText.trim().split(/\s+/);
34
- if (tokens.length !== 2) throw new HsqldbRowFormatError(`table "${tableName}" declares ${Math.max(tokens.length - 1, 0)} index root(s) in its SET TABLE...INDEX line -- only a single-index (primary-key-only) CACHED table is supported`);
35
+ if (tokens.length < 2) throw new HsqldbRowFormatError(`table "${tableName}"'s SET TABLE...INDEX line has ${tokens.length} token(s) -- every such line carries at least one index root position followed by the table's own identity-sequence value`);
36
+ const indexCount = tokens.length - 1;
35
37
  const rootToken = tokens[0] ?? "";
36
- const rootPos = Number(rootToken);
37
- if (!Number.isInteger(rootPos)) throw new HsqldbRowFormatError(`table "${tableName}"'s SET TABLE...INDEX line has a non-integer root position "${rootToken}"`);
38
- roots.set(tableName, rootPos);
38
+ const rootPosition = Number(rootToken);
39
+ if (!Number.isInteger(rootPosition)) throw new HsqldbRowFormatError(`table "${tableName}"'s SET TABLE...INDEX line has a non-integer root position "${rootToken}"`);
40
+ roots.set(tableName, {
41
+ rootPosition,
42
+ indexCount
43
+ });
39
44
  }
40
45
  return roots;
41
46
  }
42
- function readHsqldbCachedTableRows(dataBytes, rootPos, cacheFileScale, columns) {
47
+ function readHsqldbCachedTableRows(dataBytes, roots, cacheFileScale, columns, options) {
43
48
  const typeCodes = columns.map((column) => resolveHsqldbTypeCode(column.type));
44
49
  const results = [];
50
+ const trailingNodeBytes = (roots.indexCount - 1) * DISK_NODE_SIZE_BYTES;
45
51
  function visit(pos) {
46
52
  if (pos <= 0) return;
47
53
  const byteOffset = pos * cacheFileScale;
@@ -54,26 +60,27 @@ function readHsqldbCachedTableRows(dataBytes, rootPos, cacheFileScale, columns)
54
60
  const iLeft = cursor.readInt32();
55
61
  const iRight = cursor.readInt32();
56
62
  cursor.readInt32();
63
+ cursor.position += trailingNodeBytes;
57
64
  const values = columns.map((_column, index) => {
58
65
  const typeCode = typeCodes[index];
59
66
  if (typeCode === void 0) throw new HsqldbRowFormatError("internal error: column/type-code alignment failure");
60
- return readHsqldbColumnValue(cursor, typeCode);
67
+ return readHsqldbColumnValue(cursor, typeCode, options);
61
68
  });
62
69
  if (cursor.position > rowEnd) throw new HsqldbRowFormatError(`row at position ${pos} overran its own declared storage size (consumed ${cursor.position - byteOffset} bytes, declared ${storageSize})`);
63
70
  visit(iLeft);
64
71
  results.push(values);
65
72
  visit(iRight);
66
73
  }
67
- visit(rootPos);
74
+ visit(roots.rootPosition);
68
75
  return results;
69
76
  }
70
- function decodeHsqldbCachedTables(tables, scriptText, dataBytes, propertiesText) {
77
+ function decodeHsqldbCachedTables(tables, scriptText, dataBytes, propertiesText, options) {
71
78
  const { cacheFileScale } = parseHsqldbProperties(propertiesText);
72
79
  const roots = parseHsqldbIndexRoots(scriptText);
73
80
  return tables.map((table) => {
74
- const rootPos = roots.get(table.tableName.toUpperCase());
75
- if (rootPos === void 0) return table;
76
- const rows = readHsqldbCachedTableRows(dataBytes, rootPos, cacheFileScale, table.columns);
81
+ const tableRoots = roots.get(table.tableName.toUpperCase());
82
+ if (tableRoots === void 0) return table;
83
+ const rows = readHsqldbCachedTableRows(dataBytes, tableRoots, cacheFileScale, table.columns, options);
77
84
  return {
78
85
  ...table,
79
86
  rows
@@ -137,24 +137,67 @@ function decimalNumberFromUnscaled(unscaled, scale) {
137
137
  function pad2(n) {
138
138
  return String(n).padStart(2, "0");
139
139
  }
140
- function epochMillisToLocalDate(epochMillis) {
141
- return new Date(Number(epochMillis));
140
+ const ZONED_FORMATTERS = /* @__PURE__ */ new Map();
141
+ function zonedFormatter(timeZone) {
142
+ const cached = ZONED_FORMATTERS.get(timeZone);
143
+ if (cached !== void 0) return cached;
144
+ const formatter = new Intl.DateTimeFormat("en-US-u-ca-iso8601", {
145
+ timeZone,
146
+ hourCycle: "h23",
147
+ year: "numeric",
148
+ month: "2-digit",
149
+ day: "2-digit",
150
+ hour: "2-digit",
151
+ minute: "2-digit",
152
+ second: "2-digit"
153
+ });
154
+ ZONED_FORMATTERS.set(timeZone, formatter);
155
+ return formatter;
142
156
  }
143
- function formatLocalDate(epochMillis) {
144
- const date = epochMillisToLocalDate(epochMillis);
145
- return `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())}`;
157
+ function requiredPart(parts, type, timeZone) {
158
+ const raw = parts.get(type);
159
+ if (raw === void 0) throw new HsqldbRowFormatError(`Intl.DateTimeFormat produced no "${type}" part for time zone "${timeZone}"`);
160
+ return Number(raw);
146
161
  }
147
- function formatLocalTime(epochMillis) {
148
- const date = epochMillisToLocalDate(epochMillis);
149
- const base = `${pad2(date.getHours())}:${pad2(date.getMinutes())}:${pad2(date.getSeconds())}`;
150
- return date.getMilliseconds() === 0 ? base : `${base}.${String(date.getMilliseconds()).padStart(3, "0")}`;
162
+ function calendarFieldsAt(epochMillis, timeZone) {
163
+ const date = new Date(Number(epochMillis));
164
+ if (timeZone === void 0) return {
165
+ year: date.getFullYear(),
166
+ month: date.getMonth() + 1,
167
+ day: date.getDate(),
168
+ hours: date.getHours(),
169
+ minutes: date.getMinutes(),
170
+ seconds: date.getSeconds()
171
+ };
172
+ const parts = new Map(zonedFormatter(timeZone).formatToParts(date).map((part) => [part.type, part.value]));
173
+ return {
174
+ year: requiredPart(parts, "year", timeZone),
175
+ month: requiredPart(parts, "month", timeZone),
176
+ day: requiredPart(parts, "day", timeZone),
177
+ hours: requiredPart(parts, "hour", timeZone),
178
+ minutes: requiredPart(parts, "minute", timeZone),
179
+ seconds: requiredPart(parts, "second", timeZone)
180
+ };
151
181
  }
152
- function formatLocalTimestamp(epochMillis, nanos) {
153
- const date = epochMillisToLocalDate(epochMillis);
154
- const base = `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())} ${pad2(date.getHours())}:${pad2(date.getMinutes())}:${pad2(date.getSeconds())}`;
182
+ function millisOfSecond(epochMillis) {
183
+ return Number((epochMillis % 1000n + 1000n) % 1000n);
184
+ }
185
+ function formatDate(epochMillis, timeZone) {
186
+ const { year, month, day } = calendarFieldsAt(epochMillis, timeZone);
187
+ return `${year}-${pad2(month)}-${pad2(day)}`;
188
+ }
189
+ function formatTime(epochMillis, timeZone) {
190
+ const { hours, minutes, seconds } = calendarFieldsAt(epochMillis, timeZone);
191
+ const base = `${pad2(hours)}:${pad2(minutes)}:${pad2(seconds)}`;
192
+ const millis = millisOfSecond(epochMillis);
193
+ return millis === 0 ? base : `${base}.${String(millis).padStart(3, "0")}`;
194
+ }
195
+ function formatTimestamp(epochMillis, nanos, timeZone) {
196
+ const { year, month, day, hours, minutes, seconds } = calendarFieldsAt(epochMillis, timeZone);
197
+ const base = `${year}-${pad2(month)}-${pad2(day)} ${pad2(hours)}:${pad2(minutes)}:${pad2(seconds)}`;
155
198
  return nanos === 0 ? base : `${base}.${String(nanos).padStart(9, "0")}`;
156
199
  }
157
- function readHsqldbColumnValue(cursor, typeCode) {
200
+ function readHsqldbColumnValue(cursor, typeCode, options) {
158
201
  if (cursor.readUint8() === 0) return { kind: "empty" };
159
202
  switch (typeCode) {
160
203
  case 1:
@@ -202,15 +245,15 @@ function readHsqldbColumnValue(cursor, typeCode) {
202
245
  };
203
246
  case 91: return {
204
247
  kind: "date",
205
- value: formatLocalDate(cursor.readBigInt64())
248
+ value: formatDate(cursor.readBigInt64(), options?.timeZone)
206
249
  };
207
250
  case 92: return {
208
251
  kind: "time",
209
- value: formatLocalTime(cursor.readBigInt64())
252
+ value: formatTime(cursor.readBigInt64(), options?.timeZone)
210
253
  };
211
254
  case 93: return {
212
255
  kind: "date",
213
- value: formatLocalTimestamp(cursor.readBigInt64(), cursor.readInt32())
256
+ value: formatTimestamp(cursor.readBigInt64(), cursor.readInt32(), options?.timeZone)
214
257
  };
215
258
  default: throw new HsqldbRowFormatError(`unsupported SQL type code ${typeCode} while decoding a row value`);
216
259
  }
@@ -219,4 +262,5 @@ function readHsqldbColumnValue(cursor, typeCode) {
219
262
  exports.HsqldbDataCursor = HsqldbDataCursor;
220
263
  exports.HsqldbRowFormatError = HsqldbRowFormatError;
221
264
  exports.readHsqldbColumnValue = readHsqldbColumnValue;
265
+ exports.readModifiedUtf8 = readModifiedUtf8;
222
266
  exports.resolveHsqldbTypeCode = resolveHsqldbTypeCode;
@@ -1,21 +1,2 @@
1
- import { ContentCellValue } from "document-schema.js";
2
- //#region src/hsqldb/rowformat.d.ts
3
- declare class HsqldbRowFormatError extends Error {
4
- constructor(message: string);
5
- }
6
- declare function resolveHsqldbTypeCode(declaredType: string): number;
7
- declare class HsqldbDataCursor {
8
- private readonly bytes;
9
- private readonly view;
10
- position: number;
11
- constructor(bytes: Uint8Array<ArrayBuffer>, offset?: number);
12
- readUint8(): number;
13
- readInt16(): number;
14
- readInt32(): number;
15
- readBigInt64(): bigint;
16
- readFloat64(): number;
17
- readBytes(length: number): Uint8Array<ArrayBuffer>;
18
- }
19
- declare function readHsqldbColumnValue(cursor: HsqldbDataCursor, typeCode: number): ContentCellValue;
20
- //#endregion
21
- export { HsqldbDataCursor, HsqldbRowFormatError, readHsqldbColumnValue, resolveHsqldbTypeCode };
1
+ import { a as readModifiedUtf8, i as readHsqldbColumnValue, n as HsqldbDecodeOptions, o as resolveHsqldbTypeCode, r as HsqldbRowFormatError, t as HsqldbDataCursor } from "../rowformat-Cl2exlEh.cjs";
2
+ export { HsqldbDataCursor, HsqldbDecodeOptions, HsqldbRowFormatError, readHsqldbColumnValue, readModifiedUtf8, resolveHsqldbTypeCode };
@@ -1,21 +1,2 @@
1
- import { ContentCellValue } from "document-schema.js";
2
- //#region src/hsqldb/rowformat.d.ts
3
- declare class HsqldbRowFormatError extends Error {
4
- constructor(message: string);
5
- }
6
- declare function resolveHsqldbTypeCode(declaredType: string): number;
7
- declare class HsqldbDataCursor {
8
- private readonly bytes;
9
- private readonly view;
10
- position: number;
11
- constructor(bytes: Uint8Array<ArrayBuffer>, offset?: number);
12
- readUint8(): number;
13
- readInt16(): number;
14
- readInt32(): number;
15
- readBigInt64(): bigint;
16
- readFloat64(): number;
17
- readBytes(length: number): Uint8Array<ArrayBuffer>;
18
- }
19
- declare function readHsqldbColumnValue(cursor: HsqldbDataCursor, typeCode: number): ContentCellValue;
20
- //#endregion
21
- export { HsqldbDataCursor, HsqldbRowFormatError, readHsqldbColumnValue, resolveHsqldbTypeCode };
1
+ import { a as readModifiedUtf8, i as readHsqldbColumnValue, n as HsqldbDecodeOptions, o as resolveHsqldbTypeCode, r as HsqldbRowFormatError, t as HsqldbDataCursor } from "../rowformat-Cl2exlEh.js";
2
+ export { HsqldbDataCursor, HsqldbDecodeOptions, HsqldbRowFormatError, readHsqldbColumnValue, readModifiedUtf8, resolveHsqldbTypeCode };
@@ -136,24 +136,67 @@ function decimalNumberFromUnscaled(unscaled, scale) {
136
136
  function pad2(n) {
137
137
  return String(n).padStart(2, "0");
138
138
  }
139
- function epochMillisToLocalDate(epochMillis) {
140
- return new Date(Number(epochMillis));
139
+ const ZONED_FORMATTERS = /* @__PURE__ */ new Map();
140
+ function zonedFormatter(timeZone) {
141
+ const cached = ZONED_FORMATTERS.get(timeZone);
142
+ if (cached !== void 0) return cached;
143
+ const formatter = new Intl.DateTimeFormat("en-US-u-ca-iso8601", {
144
+ timeZone,
145
+ hourCycle: "h23",
146
+ year: "numeric",
147
+ month: "2-digit",
148
+ day: "2-digit",
149
+ hour: "2-digit",
150
+ minute: "2-digit",
151
+ second: "2-digit"
152
+ });
153
+ ZONED_FORMATTERS.set(timeZone, formatter);
154
+ return formatter;
141
155
  }
142
- function formatLocalDate(epochMillis) {
143
- const date = epochMillisToLocalDate(epochMillis);
144
- return `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())}`;
156
+ function requiredPart(parts, type, timeZone) {
157
+ const raw = parts.get(type);
158
+ if (raw === void 0) throw new HsqldbRowFormatError(`Intl.DateTimeFormat produced no "${type}" part for time zone "${timeZone}"`);
159
+ return Number(raw);
145
160
  }
146
- function formatLocalTime(epochMillis) {
147
- const date = epochMillisToLocalDate(epochMillis);
148
- const base = `${pad2(date.getHours())}:${pad2(date.getMinutes())}:${pad2(date.getSeconds())}`;
149
- return date.getMilliseconds() === 0 ? base : `${base}.${String(date.getMilliseconds()).padStart(3, "0")}`;
161
+ function calendarFieldsAt(epochMillis, timeZone) {
162
+ const date = new Date(Number(epochMillis));
163
+ if (timeZone === void 0) return {
164
+ year: date.getFullYear(),
165
+ month: date.getMonth() + 1,
166
+ day: date.getDate(),
167
+ hours: date.getHours(),
168
+ minutes: date.getMinutes(),
169
+ seconds: date.getSeconds()
170
+ };
171
+ const parts = new Map(zonedFormatter(timeZone).formatToParts(date).map((part) => [part.type, part.value]));
172
+ return {
173
+ year: requiredPart(parts, "year", timeZone),
174
+ month: requiredPart(parts, "month", timeZone),
175
+ day: requiredPart(parts, "day", timeZone),
176
+ hours: requiredPart(parts, "hour", timeZone),
177
+ minutes: requiredPart(parts, "minute", timeZone),
178
+ seconds: requiredPart(parts, "second", timeZone)
179
+ };
150
180
  }
151
- function formatLocalTimestamp(epochMillis, nanos) {
152
- const date = epochMillisToLocalDate(epochMillis);
153
- const base = `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())} ${pad2(date.getHours())}:${pad2(date.getMinutes())}:${pad2(date.getSeconds())}`;
181
+ function millisOfSecond(epochMillis) {
182
+ return Number((epochMillis % 1000n + 1000n) % 1000n);
183
+ }
184
+ function formatDate(epochMillis, timeZone) {
185
+ const { year, month, day } = calendarFieldsAt(epochMillis, timeZone);
186
+ return `${year}-${pad2(month)}-${pad2(day)}`;
187
+ }
188
+ function formatTime(epochMillis, timeZone) {
189
+ const { hours, minutes, seconds } = calendarFieldsAt(epochMillis, timeZone);
190
+ const base = `${pad2(hours)}:${pad2(minutes)}:${pad2(seconds)}`;
191
+ const millis = millisOfSecond(epochMillis);
192
+ return millis === 0 ? base : `${base}.${String(millis).padStart(3, "0")}`;
193
+ }
194
+ function formatTimestamp(epochMillis, nanos, timeZone) {
195
+ const { year, month, day, hours, minutes, seconds } = calendarFieldsAt(epochMillis, timeZone);
196
+ const base = `${year}-${pad2(month)}-${pad2(day)} ${pad2(hours)}:${pad2(minutes)}:${pad2(seconds)}`;
154
197
  return nanos === 0 ? base : `${base}.${String(nanos).padStart(9, "0")}`;
155
198
  }
156
- function readHsqldbColumnValue(cursor, typeCode) {
199
+ function readHsqldbColumnValue(cursor, typeCode, options) {
157
200
  if (cursor.readUint8() === 0) return { kind: "empty" };
158
201
  switch (typeCode) {
159
202
  case 1:
@@ -201,18 +244,18 @@ function readHsqldbColumnValue(cursor, typeCode) {
201
244
  };
202
245
  case 91: return {
203
246
  kind: "date",
204
- value: formatLocalDate(cursor.readBigInt64())
247
+ value: formatDate(cursor.readBigInt64(), options?.timeZone)
205
248
  };
206
249
  case 92: return {
207
250
  kind: "time",
208
- value: formatLocalTime(cursor.readBigInt64())
251
+ value: formatTime(cursor.readBigInt64(), options?.timeZone)
209
252
  };
210
253
  case 93: return {
211
254
  kind: "date",
212
- value: formatLocalTimestamp(cursor.readBigInt64(), cursor.readInt32())
255
+ value: formatTimestamp(cursor.readBigInt64(), cursor.readInt32(), options?.timeZone)
213
256
  };
214
257
  default: throw new HsqldbRowFormatError(`unsupported SQL type code ${typeCode} while decoding a row value`);
215
258
  }
216
259
  }
217
260
  //#endregion
218
- export { HsqldbDataCursor, HsqldbRowFormatError, readHsqldbColumnValue, resolveHsqldbTypeCode };
261
+ export { HsqldbDataCursor, HsqldbRowFormatError, readHsqldbColumnValue, readModifiedUtf8, resolveHsqldbTypeCode };
@@ -1,4 +1,4 @@
1
- import { t as Box } from "./geometry-DvwdrIij.cjs";
1
+ import { t as Box } from "./geometry-DaJr8yQW.cjs";
2
2
  import { Package, XmlElement } from "ooxml.js";
3
3
  //#region src/edit/pptx/image.d.ts
4
4
  interface ImageInit {
@@ -1,4 +1,4 @@
1
- import { t as Box } from "./geometry-DvwdrIij.js";
1
+ import { t as Box } from "./geometry-DaJr8yQW.js";
2
2
  import { Package, XmlElement } from "ooxml.js";
3
3
  //#region src/edit/pptx/image.d.ts
4
4
  interface ImageInit {
@@ -1,4 +1,4 @@
1
- import { t as Box } from "./geometry-DvwdrIij.js";
1
+ import { t as Box } from "./geometry-DaJr8yQW.js";
2
2
  import { Package, XmlElement } from "odf.js";
3
3
  //#region src/edit/odp/image.d.ts
4
4
  interface ImageInit {
@@ -1,4 +1,4 @@
1
- import { t as Box } from "./geometry-DvwdrIij.cjs";
1
+ import { t as Box } from "./geometry-DaJr8yQW.cjs";
2
2
  import { Package, XmlElement } from "odf.js";
3
3
  //#region src/edit/odp/image.d.ts
4
4
  interface ImageInit {
package/dist/index.cjs CHANGED
@@ -1,14 +1,21 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_model_geometry = require("./model/geometry.cjs");
3
3
  const require_model_bytes = require("./model/bytes.cjs");
4
+ const require_mathml_nodes = require("./mathml/nodes.cjs");
5
+ const require_mathml_operators = require("./mathml/operators.cjs");
6
+ const require_mathml_variant = require("./mathml/variant.cjs");
7
+ const require_omml_write = require("./omml/write.cjs");
4
8
  const require_edit_docx_run = require("./edit/docx/run.cjs");
5
9
  const require_edit_docx_paragraph = require("./edit/docx/paragraph.cjs");
6
10
  const require_edit_docx_table = require("./edit/docx/table.cjs");
7
11
  const require_edit_docx_editor = require("./edit/docx/editor.cjs");
12
+ const require_model_formula = require("./model/formula.cjs");
8
13
  const require_edit_docx_content = require("./edit/docx/content.cjs");
9
14
  const require_edit_pptx_shape = require("./edit/pptx/shape.cjs");
15
+ const require_edit_pptx_table = require("./edit/pptx/table.cjs");
10
16
  const require_edit_pptx_slide = require("./edit/pptx/slide.cjs");
11
17
  const require_edit_pptx_editor = require("./edit/pptx/editor.cjs");
18
+ const require_model_embedded_drawing = require("./model/embedded-drawing.cjs");
12
19
  const require_edit_pptx_content = require("./edit/pptx/content.cjs");
13
20
  const require_edit_odt_run = require("./edit/odt/run.cjs");
14
21
  const require_edit_odt_paragraph = require("./edit/odt/paragraph.cjs");
@@ -28,9 +35,6 @@ const require_edit_odg_vector = require("./edit/odg/vector.cjs");
28
35
  const require_edit_odg_page = require("./edit/odg/page.cjs");
29
36
  const require_edit_odg_editor = require("./edit/odg/editor.cjs");
30
37
  const require_edit_odg_content = require("./edit/odg/content.cjs");
31
- const require_mathml_nodes = require("./mathml/nodes.cjs");
32
- const require_mathml_operators = require("./mathml/operators.cjs");
33
- const require_mathml_variant = require("./mathml/variant.cjs");
34
38
  const require_mathml_layout = require("./mathml/layout.cjs");
35
39
  const require_ooxml_docx_read = require("./ooxml/docx/read.cjs");
36
40
  const require_ooxml_pptx_read = require("./ooxml/pptx/read.cjs");
@@ -47,10 +51,13 @@ const require_layout_slides = require("./layout/slides.cjs");
47
51
  const require_ports_abort = require("./ports/abort.cjs");
48
52
  const require_layout_sheets = require("./layout/sheets.cjs");
49
53
  const require_layout_drawing = require("./layout/drawing.cjs");
54
+ const require_layout_cell_typing = require("./layout/cell-typing.cjs");
55
+ const require_layout_lattice = require("./layout/lattice.cjs");
50
56
  const require_layout_reconstruct = require("./layout/reconstruct.cjs");
51
57
  const require_hsqldb_script = require("./hsqldb/script.cjs");
52
58
  const require_odb_csv = require("./odb/csv.cjs");
53
59
  const require_hsqldb_rowformat = require("./hsqldb/rowformat.cjs");
60
+ const require_hsqldb_binary_script = require("./hsqldb/binary-script.cjs");
54
61
  const require_hsqldb_cache = require("./hsqldb/cache.cjs");
55
62
  const require_firebird_reader = require("./firebird/reader.cjs");
56
63
  const require_firebird_blr_types = require("./firebird/blr-types.cjs");
@@ -61,10 +68,12 @@ const require_odb_read = require("./odb/read.cjs");
61
68
  const require_odb_spreadsheet = require("./odb/spreadsheet.cjs");
62
69
  const require_convert_convert = require("./convert/convert.cjs");
63
70
  const require_convert_codec = require("./convert/codec.cjs");
71
+ const require_odb_components = require("./odb/components.cjs");
64
72
  const require_convert_local = require("./convert/local.cjs");
65
73
  const require_ports_clock = require("./ports/clock.cjs");
66
74
  let ooxml_js = require("ooxml.js");
67
75
  let document_schema_js = require("document-schema.js");
76
+ let odf_js = require("odf.js");
68
77
  let pdf_codec = require("pdf-codec");
69
78
  Object.defineProperty(exports, "AttributeSchema", {
70
79
  enumerable: true,
@@ -302,6 +311,7 @@ exports.FirebirdCompositeRecordUnsupportedError = require_firebird_data.Firebird
302
311
  exports.FirebirdDataParseError = require_firebird_data.FirebirdDataParseError;
303
312
  exports.FirebirdSchemaParseError = require_firebird_schema.FirebirdSchemaParseError;
304
313
  exports.FirebirdUnsupportedFieldTypeError = require_firebird_blr_types.FirebirdUnsupportedFieldTypeError;
314
+ exports.HsqldbBinaryScriptParseError = require_hsqldb_binary_script.HsqldbBinaryScriptParseError;
305
315
  exports.HsqldbRowFormatError = require_hsqldb_rowformat.HsqldbRowFormatError;
306
316
  exports.HsqldbScriptParseError = require_hsqldb_script.HsqldbScriptParseError;
307
317
  Object.defineProperty(exports, "LAYOUT_FORMAT_VERSION", {
@@ -392,6 +402,9 @@ exports.PptxBytesSchema = require_model_bytes.PptxBytesSchema;
392
402
  exports.PptxEditor = require_edit_pptx_editor.PptxEditor;
393
403
  exports.PptxShape = require_edit_pptx_shape.PptxShape;
394
404
  exports.PptxSlide = require_edit_pptx_slide.PptxSlide;
405
+ exports.PptxTable = require_edit_pptx_table.PptxTable;
406
+ exports.PptxTableCell = require_edit_pptx_table.PptxTableCell;
407
+ exports.PptxTableRow = require_edit_pptx_table.PptxTableRow;
395
408
  Object.defineProperty(exports, "SLIDE_SIZE_STANDARD", {
396
409
  enumerable: true,
397
410
  get: function() {
@@ -473,11 +486,15 @@ Object.defineProperty(exports, "base64ToBytes", {
473
486
  }
474
487
  });
475
488
  exports.buildDocxPackage = require_edit_docx_content.buildDocxPackage;
489
+ exports.buildDrawingBlock = require_model_embedded_drawing.buildDrawingBlock;
490
+ exports.buildFormulaBlock = require_model_formula.buildFormulaBlock;
476
491
  exports.buildMarkdownText = require_markdown_write.buildMarkdownText;
477
492
  exports.buildOdgPackage = require_edit_odg_content.buildOdgPackage;
478
493
  exports.buildOdpPackage = require_edit_odp_content.buildOdpPackage;
479
494
  exports.buildOdsPackage = require_edit_ods_content.buildOdsPackage;
480
495
  exports.buildOdtPackage = require_edit_odt_content.buildOdtPackage;
496
+ exports.buildOfficeMath = require_omml_write.buildOfficeMath;
497
+ exports.buildOfficeMathParagraph = require_omml_write.buildOfficeMathParagraph;
481
498
  exports.buildPptxPackage = require_edit_pptx_content.buildPptxPackage;
482
499
  Object.defineProperty(exports, "buildXml", {
483
500
  enumerable: true,
@@ -546,6 +563,7 @@ Object.defineProperty(exports, "decodePackage", {
546
563
  return ooxml_js.decodePackage;
547
564
  }
548
565
  });
566
+ exports.detectGridLattice = require_layout_lattice.detectGridLattice;
549
567
  Object.defineProperty(exports, "documentFromJson", {
550
568
  enumerable: true,
551
569
  get: function() {
@@ -568,6 +586,7 @@ exports.docxPdfCodec = require_convert_codec.docxPdfCodec;
568
586
  exports.docxToMarkdown = require_convert_convert.docxToMarkdown;
569
587
  exports.docxToOdt = require_convert_convert.docxToOdt;
570
588
  exports.docxToPdf = require_convert_convert.docxToPdf;
589
+ exports.drawingOfBlock = require_model_embedded_drawing.drawingOfBlock;
571
590
  exports.elementChildren = require_mathml_nodes.elementChildren;
572
591
  exports.elementLocalName = require_mathml_nodes.elementLocalName;
573
592
  Object.defineProperty(exports, "elementsWithTag", {
@@ -592,6 +611,9 @@ Object.defineProperty(exports, "encodePackage", {
592
611
  exports.firstChildByLocalName = require_mathml_nodes.firstChildByLocalName;
593
612
  exports.fixedClock = require_ports_clock.fixedClock;
594
613
  exports.flipY = require_model_geometry.flipY;
614
+ exports.formulaDocument = require_model_formula.formulaDocument;
615
+ exports.formulaOfBlock = require_model_formula.formulaOfBlock;
616
+ exports.formulaPlaceholderText = require_model_formula.formulaPlaceholderText;
595
617
  Object.defineProperty(exports, "fromCompact", {
596
618
  enumerable: true,
597
619
  get: function() {
@@ -599,6 +621,8 @@ Object.defineProperty(exports, "fromCompact", {
599
621
  }
600
622
  });
601
623
  exports.hsqldbCellDisplayText = require_hsqldb_script.displayTextFor;
624
+ exports.inferCellValue = require_layout_cell_typing.inferCellValue;
625
+ exports.inflateHsqldbCompressedScript = require_hsqldb_binary_script.inflateHsqldbCompressedScript;
602
626
  Object.defineProperty(exports, "isCompactXmlNode", {
603
627
  enumerable: true,
604
628
  get: function() {
@@ -674,6 +698,7 @@ Object.defineProperty(exports, "packageCodec", {
674
698
  return ooxml_js.packageCodec;
675
699
  }
676
700
  });
701
+ exports.parseHsqldbBinaryScript = require_hsqldb_binary_script.parseHsqldbBinaryScript;
677
702
  exports.parseHsqldbScript = require_hsqldb_script.parseHsqldbScript;
678
703
  Object.defineProperty(exports, "parsePackage", {
679
704
  enumerable: true,
@@ -707,6 +732,26 @@ exports.pptxToPdf = require_convert_convert.pptxToPdf;
707
732
  exports.readDocxContent = require_ooxml_docx_read.readDocxContent;
708
733
  exports.readFirebirdBackup = require_firebird_backup.readFirebirdBackup;
709
734
  exports.readMarkdownContent = require_markdown_read.readMarkdownContent;
735
+ Object.defineProperty(exports, "readOdbForm", {
736
+ enumerable: true,
737
+ get: function() {
738
+ return odf_js.readOdbForm;
739
+ }
740
+ });
741
+ exports.readOdbForms = require_odb_components.readOdbForms;
742
+ Object.defineProperty(exports, "readOdbInventory", {
743
+ enumerable: true,
744
+ get: function() {
745
+ return odf_js.readOdbInventory;
746
+ }
747
+ });
748
+ Object.defineProperty(exports, "readOdbReport", {
749
+ enumerable: true,
750
+ get: function() {
751
+ return odf_js.readOdbReport;
752
+ }
753
+ });
754
+ exports.readOdbReports = require_odb_components.readOdbReports;
710
755
  exports.readOdbTables = require_odb_read.readOdbTables;
711
756
  exports.readOdfEmbeddedFormula = require_odf_formula_read.readOdfEmbeddedFormula;
712
757
  exports.readOdfFormulaContent = require_odf_formula_read.readOdfFormulaContent;
@@ -725,6 +770,12 @@ exports.reconstructDrawing = require_layout_reconstruct.reconstructDrawing;
725
770
  exports.reconstructPresentation = require_layout_reconstruct.reconstructPresentation;
726
771
  exports.reconstructSpreadsheet = require_layout_reconstruct.reconstructSpreadsheet;
727
772
  exports.reconstructWordprocessing = require_layout_reconstruct.reconstructWordprocessing;
773
+ Object.defineProperty(exports, "resolveOdbComponent", {
774
+ enumerable: true,
775
+ get: function() {
776
+ return odf_js.resolveOdbComponent;
777
+ }
778
+ });
728
779
  Object.defineProperty(exports, "resolveRelationships", {
729
780
  enumerable: true,
730
781
  get: function() {