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.
- package/README.md +83 -43
- package/dist/{blr-types-CYYC3yYU.d.cts → blr-types-DVgO1DQ9.d.cts} +1 -1
- package/dist/{blr-types-CYYC3yYU.d.ts → blr-types-DVgO1DQ9.d.ts} +1 -1
- package/dist/convert/capability.cjs +1 -0
- package/dist/convert/capability.d.cts +1 -1
- package/dist/convert/capability.d.ts +1 -1
- package/dist/convert/capability.js +1 -0
- package/dist/convert/convert.cjs +29 -27
- package/dist/convert/convert.d.cts +9 -3
- package/dist/convert/convert.d.ts +9 -3
- package/dist/convert/convert.js +29 -27
- package/dist/edit/docx/content.cjs +75 -13
- package/dist/edit/docx/content.d.cts +8 -2
- package/dist/edit/docx/content.d.ts +8 -2
- package/dist/edit/docx/content.js +75 -13
- package/dist/edit/docx/paragraph.cjs +14 -0
- package/dist/edit/docx/paragraph.d.cts +5 -0
- package/dist/edit/docx/paragraph.d.ts +5 -0
- package/dist/edit/docx/paragraph.js +14 -0
- package/dist/edit/docx/run.cjs +1 -1
- package/dist/edit/docx/run.js +1 -1
- package/dist/edit/docx/table.cjs +41 -0
- package/dist/edit/docx/table.d.cts +7 -1
- package/dist/edit/docx/table.d.ts +7 -1
- package/dist/edit/docx/table.js +42 -1
- package/dist/edit/geometry.cjs +38 -0
- package/dist/edit/geometry.d.cts +7 -0
- package/dist/edit/geometry.d.ts +7 -0
- package/dist/edit/geometry.js +36 -0
- package/dist/edit/odg/content.cjs +15 -12
- package/dist/edit/odg/content.js +15 -12
- package/dist/edit/odg/editor.d.cts +1 -1
- package/dist/edit/odg/editor.d.ts +1 -1
- package/dist/edit/odg/page.d.cts +3 -3
- package/dist/edit/odg/page.d.ts +3 -3
- package/dist/edit/odg/vector.cjs +22 -13
- package/dist/edit/odg/vector.d.cts +1 -1
- package/dist/edit/odg/vector.d.ts +1 -1
- package/dist/edit/odg/vector.js +23 -14
- package/dist/edit/odp/content.cjs +15 -0
- package/dist/edit/odp/content.js +16 -1
- package/dist/edit/odp/editor.d.cts +1 -1
- package/dist/edit/odp/editor.d.ts +1 -1
- package/dist/edit/odp/image.d.cts +1 -1
- package/dist/edit/odp/image.d.ts +1 -1
- package/dist/edit/odp/shape.cjs +11 -30
- package/dist/edit/odp/shape.d.cts +2 -2
- package/dist/edit/odp/shape.d.ts +2 -2
- package/dist/edit/odp/shape.js +13 -33
- package/dist/edit/odp/slide.cjs +11 -0
- package/dist/edit/odp/slide.d.cts +14 -4
- package/dist/edit/odp/slide.d.ts +14 -4
- package/dist/edit/odp/slide.js +12 -1
- package/dist/edit/odt/content.cjs +56 -16
- package/dist/edit/odt/content.d.cts +4 -2
- package/dist/edit/odt/content.d.ts +4 -2
- package/dist/edit/odt/content.js +56 -17
- package/dist/edit/odt/editor.d.cts +1 -1
- package/dist/edit/odt/editor.d.ts +1 -1
- package/dist/edit/odt/table.cjs +36 -0
- package/dist/edit/odt/table.d.cts +1 -36
- package/dist/edit/odt/table.d.ts +1 -36
- package/dist/edit/odt/table.js +37 -1
- package/dist/edit/pptx/content.cjs +71 -3
- package/dist/edit/pptx/content.js +71 -3
- package/dist/edit/pptx/editor.d.cts +1 -1
- package/dist/edit/pptx/editor.d.ts +1 -1
- package/dist/edit/pptx/image.d.cts +1 -1
- package/dist/edit/pptx/image.d.ts +1 -1
- package/dist/edit/pptx/shape.cjs +23 -1
- package/dist/edit/pptx/shape.d.cts +2 -2
- package/dist/edit/pptx/shape.d.ts +2 -2
- package/dist/edit/pptx/shape.js +23 -3
- package/dist/edit/pptx/slide.cjs +10 -1
- package/dist/edit/pptx/slide.d.cts +11 -4
- package/dist/edit/pptx/slide.d.ts +11 -4
- package/dist/edit/pptx/slide.js +10 -1
- package/dist/edit/pptx/table.cjs +136 -0
- package/dist/edit/pptx/table.d.cts +2 -0
- package/dist/edit/pptx/table.d.ts +2 -0
- package/dist/edit/pptx/table.js +131 -0
- package/dist/firebird/backup.d.cts +1 -1
- package/dist/firebird/backup.d.ts +1 -1
- package/dist/firebird/blr-types.cjs +2 -2
- package/dist/firebird/blr-types.d.cts +1 -1
- package/dist/firebird/blr-types.d.ts +1 -1
- package/dist/firebird/blr-types.js +2 -2
- package/dist/firebird/data.cjs +68 -14
- package/dist/firebird/data.d.cts +1 -1
- package/dist/firebird/data.d.ts +1 -1
- package/dist/firebird/data.js +68 -14
- package/dist/firebird/schema.cjs +13 -1
- package/dist/firebird/schema.d.cts +1 -1
- package/dist/firebird/schema.d.ts +1 -1
- package/dist/firebird/schema.js +13 -1
- package/dist/{geometry-DvwdrIij.d.cts → geometry-DaJr8yQW.d.cts} +2 -2
- package/dist/{geometry-DvwdrIij.d.ts → geometry-DaJr8yQW.d.ts} +2 -2
- package/dist/hsqldb/binary-script.cjs +154 -0
- package/dist/hsqldb/binary-script.d.cts +15 -0
- package/dist/hsqldb/binary-script.d.ts +15 -0
- package/dist/hsqldb/binary-script.js +151 -0
- package/dist/hsqldb/cache.cjs +18 -11
- package/dist/hsqldb/cache.d.cts +9 -4
- package/dist/hsqldb/cache.d.ts +9 -4
- package/dist/hsqldb/cache.js +18 -11
- package/dist/hsqldb/rowformat.cjs +60 -16
- package/dist/hsqldb/rowformat.d.cts +2 -21
- package/dist/hsqldb/rowformat.d.ts +2 -21
- package/dist/hsqldb/rowformat.js +60 -17
- package/dist/{image-BZDy72Jb.d.cts → image-7snmKIxn.d.cts} +1 -1
- package/dist/{image-B-xQWYYS.d.ts → image-Cs8xF753.d.ts} +1 -1
- package/dist/{image-CeqwL-Qs.d.ts → image-DHcA9kaK.d.ts} +1 -1
- package/dist/{image-DWX6cNOD.d.cts → image-M5SezZVI.d.cts} +1 -1
- package/dist/index.cjs +54 -3
- package/dist/index.d.cts +28 -20
- package/dist/index.d.ts +27 -19
- package/dist/index.js +13 -4
- package/dist/layout/cell-typing.cjs +209 -0
- package/dist/layout/cell-typing.d.cts +22 -0
- package/dist/layout/cell-typing.d.ts +22 -0
- package/dist/layout/cell-typing.js +208 -0
- package/dist/layout/drawing.cjs +193 -17
- package/dist/layout/drawing.js +193 -17
- package/dist/layout/engine.cjs +46 -29
- package/dist/layout/engine.d.cts +0 -2
- package/dist/layout/engine.d.ts +0 -2
- package/dist/layout/engine.js +47 -30
- package/dist/layout/lattice.cjs +139 -0
- package/dist/layout/lattice.d.cts +20 -0
- package/dist/layout/lattice.d.ts +20 -0
- package/dist/layout/lattice.js +135 -0
- package/dist/layout/reconstruct.cjs +176 -113
- package/dist/layout/reconstruct.d.cts +2 -0
- package/dist/layout/reconstruct.d.ts +2 -0
- package/dist/layout/reconstruct.js +173 -110
- package/dist/layout/shared.cjs +52 -0
- package/dist/layout/shared.d.cts +4 -2
- package/dist/layout/shared.d.ts +4 -2
- package/dist/layout/shared.js +51 -1
- package/dist/layout/sheets.cjs +45 -11
- package/dist/layout/sheets.js +46 -12
- package/dist/layout/slides.cjs +7 -7
- package/dist/layout/slides.d.cts +0 -3
- package/dist/layout/slides.d.ts +0 -3
- package/dist/layout/slides.js +7 -7
- package/dist/markdown/write.cjs +19 -6
- package/dist/markdown/write.js +19 -6
- package/dist/mathml/layout.cjs +2 -2
- package/dist/mathml/layout.d.cts +1 -1
- package/dist/mathml/layout.d.ts +1 -1
- package/dist/mathml/layout.js +2 -2
- package/dist/model/embedded-drawing.cjs +32 -0
- package/dist/model/embedded-drawing.d.cts +8 -0
- package/dist/model/embedded-drawing.d.ts +8 -0
- package/dist/model/embedded-drawing.js +30 -0
- package/dist/model/formula.cjs +31 -0
- package/dist/model/formula.d.cts +6 -6
- package/dist/model/formula.d.ts +6 -6
- package/dist/model/formula.js +27 -0
- package/dist/model/geometry.d.cts +1 -1
- package/dist/model/geometry.d.ts +1 -1
- package/dist/model/paint-order.cjs +15 -0
- package/dist/model/paint-order.d.cts +14 -0
- package/dist/model/paint-order.d.ts +14 -0
- package/dist/model/paint-order.js +14 -0
- package/dist/odb/components.cjs +12 -0
- package/dist/odb/components.d.cts +6 -0
- package/dist/odb/components.d.ts +6 -0
- package/dist/odb/components.js +10 -0
- package/dist/odb/read.cjs +11 -7
- package/dist/odb/read.d.cts +3 -2
- package/dist/odb/read.d.ts +3 -2
- package/dist/odb/read.js +11 -7
- package/dist/odf/formula/detect.cjs +86 -18
- package/dist/odf/formula/detect.d.cts +10 -6
- package/dist/odf/formula/detect.d.ts +10 -6
- package/dist/odf/formula/detect.js +86 -19
- package/dist/odf/formula/read.cjs +4 -16
- package/dist/odf/formula/read.d.cts +4 -8
- package/dist/odf/formula/read.d.ts +4 -8
- package/dist/odf/formula/read.js +5 -17
- package/dist/odf/odp/read.cjs +9 -19
- package/dist/odf/odp/read.d.cts +2 -7
- package/dist/odf/odp/read.d.ts +2 -7
- package/dist/odf/odp/read.js +10 -20
- package/dist/odf/odt/read.cjs +63 -23
- package/dist/odf/odt/read.d.cts +2 -7
- package/dist/odf/odt/read.d.ts +2 -7
- package/dist/odf/odt/read.js +64 -24
- package/dist/omml/write.cjs +258 -0
- package/dist/omml/write.d.cts +2 -0
- package/dist/omml/write.d.ts +2 -0
- package/dist/omml/write.js +256 -0
- package/dist/rowformat-Cl2exlEh.d.cts +25 -0
- package/dist/rowformat-Cl2exlEh.d.ts +25 -0
- package/dist/{schema-Acco3Ezi.d.cts → schema-BeR_KJ0X.d.cts} +3 -1
- package/dist/{schema-VkAA6pF5.d.ts → schema-CSKwSb_v.d.ts} +3 -1
- package/dist/{shape-BUfjw5eZ.d.cts → shape-BhkP6HB8.d.cts} +6 -2
- package/dist/{shape-CTkl6kt8.d.ts → shape-BkVcwPcf.d.ts} +6 -2
- package/dist/{shape-BfN3m52m.d.ts → shape-CVXedeL7.d.ts} +3 -2
- package/dist/{shape-CN2ycxOo.d.cts → shape-CXZ6fejV.d.cts} +3 -2
- package/dist/table-C3CPZ--2.d.cts +35 -0
- package/dist/table-DjYcNOFm.d.cts +44 -0
- package/dist/table-DqfqMkVq.d.ts +44 -0
- package/dist/table-DvS_7UQS.d.ts +35 -0
- package/dist/{vector-ClohqsOe.d.cts → vector-Puuqu_IT.d.cts} +4 -0
- package/dist/{vector-ClohqsOe.d.ts → vector-Puuqu_IT.d.ts} +4 -0
- package/dist/write-DuyfnbL_.d.cts +16 -0
- package/dist/write-Zqwx6pka.d.ts +16 -0
- package/package.json +4 -4
- package/dist/odf/formula/placeholder.cjs +0 -36
- package/dist/odf/formula/placeholder.d.cts +0 -14
- package/dist/odf/formula/placeholder.d.ts +0 -14
- package/dist/odf/formula/placeholder.js +0 -36
package/dist/hsqldb/cache.d.cts
CHANGED
|
@@ -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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 };
|
package/dist/hsqldb/cache.d.ts
CHANGED
|
@@ -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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 };
|
package/dist/hsqldb/cache.js
CHANGED
|
@@ -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
|
|
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
|
|
37
|
-
if (!Number.isInteger(
|
|
38
|
-
roots.set(tableName,
|
|
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,
|
|
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(
|
|
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
|
|
75
|
-
if (
|
|
76
|
-
const rows = readHsqldbCachedTableRows(dataBytes,
|
|
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
|
-
|
|
141
|
-
|
|
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
|
|
144
|
-
const
|
|
145
|
-
|
|
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
|
|
148
|
-
const date =
|
|
149
|
-
|
|
150
|
-
|
|
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
|
|
153
|
-
|
|
154
|
-
|
|
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:
|
|
248
|
+
value: formatDate(cursor.readBigInt64(), options?.timeZone)
|
|
206
249
|
};
|
|
207
250
|
case 92: return {
|
|
208
251
|
kind: "time",
|
|
209
|
-
value:
|
|
252
|
+
value: formatTime(cursor.readBigInt64(), options?.timeZone)
|
|
210
253
|
};
|
|
211
254
|
case 93: return {
|
|
212
255
|
kind: "date",
|
|
213
|
-
value:
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 };
|
package/dist/hsqldb/rowformat.js
CHANGED
|
@@ -136,24 +136,67 @@ function decimalNumberFromUnscaled(unscaled, scale) {
|
|
|
136
136
|
function pad2(n) {
|
|
137
137
|
return String(n).padStart(2, "0");
|
|
138
138
|
}
|
|
139
|
-
|
|
140
|
-
|
|
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
|
|
143
|
-
const
|
|
144
|
-
|
|
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
|
|
147
|
-
const date =
|
|
148
|
-
|
|
149
|
-
|
|
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
|
|
152
|
-
|
|
153
|
-
|
|
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:
|
|
247
|
+
value: formatDate(cursor.readBigInt64(), options?.timeZone)
|
|
205
248
|
};
|
|
206
249
|
case 92: return {
|
|
207
250
|
kind: "time",
|
|
208
|
-
value:
|
|
251
|
+
value: formatTime(cursor.readBigInt64(), options?.timeZone)
|
|
209
252
|
};
|
|
210
253
|
case 93: return {
|
|
211
254
|
kind: "date",
|
|
212
|
-
value:
|
|
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 };
|
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() {
|